/// <summary>
 /// Updates the package versions for the given releases to the latest
 /// available.
 /// </summary>
 /// <remarks>
 /// Required permissions: Processes.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='updateToLatestBulk'>
 /// </param>
 public static BulkOperationResponseDtoInt64 UpdateToLatestPackageVersionBulk(this IReleases operations, UpdateToLatestBulk updateToLatestBulk)
 {
     return(operations.UpdateToLatestPackageVersionBulkAsync(updateToLatestBulk).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Updates the package versions for the given releases to the latest
 /// available.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Execution or Execution.Write.
 ///
 /// Required permissions: Processes.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='updateToLatestBulk'>
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static BulkOperationResponseDtoInt64 UpdateToLatestPackageVersionBulk(this IReleases operations, UpdateToLatestBulk updateToLatestBulk, long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.UpdateToLatestPackageVersionBulkAsync(updateToLatestBulk, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Updates the package versions for the given releases to the latest
 /// available.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Execution or Execution.Write.
 ///
 /// Required permissions: Processes.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static BulkOperationResponseDtoOfInt64 UpdateToLatestPackageVersionBulk(this IReleases operations, ReleasesUpdateToLatestPackageVersionBulkParameters body = default(ReleasesUpdateToLatestPackageVersionBulkParameters), string expand = default(string), string select = default(string), long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.UpdateToLatestPackageVersionBulkAsync(body, expand, select, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }