tickera-angular-components 0.0.1-dev.198 → 0.0.1-dev.199

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -538,6 +538,7 @@ const PERFORMANCES_API_ROUTES = {
538
538
  update: (id) => `/performances/${id}`,
539
539
  delete: (id) => `/performances/${id}`,
540
540
  deleteMany: '/performances/bulk',
541
+ bulkPublished: '/performances/bulk-published',
541
542
  cancel: (id) => `/performances/${id}/cancel`,
542
543
  publishInventory: (id) => `/performances/${id}/publish-inventory`,
543
544
  reserve: (id) => `/performances/${id}/reserve`,
@@ -3101,6 +3102,10 @@ class PerformanceService {
3101
3102
  deleteMany(ids) {
3102
3103
  return this.apiService.delete(PERFORMANCES_API_ROUTES.deleteMany, { ids });
3103
3104
  }
3105
+ updatePublishedBulk(ids, published) {
3106
+ const apiRoute = PERFORMANCES_API_ROUTES.bulkPublished;
3107
+ return this.apiService.patch(apiRoute, { ids, published });
3108
+ }
3104
3109
  cancelPerformance(id, notifyUsers) {
3105
3110
  return this.apiService.patch(PERFORMANCES_API_ROUTES.cancel(id), { notify_users: notifyUsers });
3106
3111
  }