@wix/bookings 1.0.144 → 1.0.145

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.
Files changed (67) hide show
  1. package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +5 -16
  2. package/build/cjs/src/bookings-calendar-v1-session.types.js.map +1 -1
  3. package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +11 -27
  4. package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
  5. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.d.ts +20 -32
  6. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js.map +1 -1
  7. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.d.ts +20 -32
  8. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
  9. package/build/cjs/src/bookings-calendar-v2-session-view.types.d.ts +20 -32
  10. package/build/cjs/src/bookings-calendar-v2-session-view.types.js.map +1 -1
  11. package/build/cjs/src/bookings-calendar-v2-session-view.universal.d.ts +20 -32
  12. package/build/cjs/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
  13. package/build/cjs/src/bookings-catalog-v1-resource.http.js +12 -0
  14. package/build/cjs/src/bookings-catalog-v1-resource.http.js.map +1 -1
  15. package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +3 -0
  16. package/build/cjs/src/bookings-catalog-v1-resource.public.js +2 -1
  17. package/build/cjs/src/bookings-catalog-v1-resource.public.js.map +1 -1
  18. package/build/cjs/src/bookings-catalog-v1-resource.types.d.ts +23 -30
  19. package/build/cjs/src/bookings-catalog-v1-resource.types.js.map +1 -1
  20. package/build/cjs/src/bookings-catalog-v1-resource.universal.d.ts +33 -30
  21. package/build/cjs/src/bookings-catalog-v1-resource.universal.js +10 -0
  22. package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +1 -1
  23. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.d.ts +1 -1
  24. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.js +1 -1
  25. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +20 -32
  26. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
  27. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +24 -33
  28. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +4 -1
  29. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
  30. package/build/cjs/src/bookings-services-v2-service.types.d.ts +20 -32
  31. package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
  32. package/build/cjs/src/bookings-services-v2-service.universal.d.ts +20 -32
  33. package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
  34. package/build/es/src/bookings-calendar-v1-session.types.d.ts +5 -16
  35. package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -1
  36. package/build/es/src/bookings-calendar-v1-session.universal.d.ts +11 -27
  37. package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
  38. package/build/es/src/bookings-calendar-v2-external-calendar.types.d.ts +20 -32
  39. package/build/es/src/bookings-calendar-v2-external-calendar.types.js.map +1 -1
  40. package/build/es/src/bookings-calendar-v2-external-calendar.universal.d.ts +20 -32
  41. package/build/es/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
  42. package/build/es/src/bookings-calendar-v2-session-view.types.d.ts +20 -32
  43. package/build/es/src/bookings-calendar-v2-session-view.types.js.map +1 -1
  44. package/build/es/src/bookings-calendar-v2-session-view.universal.d.ts +20 -32
  45. package/build/es/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
  46. package/build/es/src/bookings-catalog-v1-resource.http.js +12 -0
  47. package/build/es/src/bookings-catalog-v1-resource.http.js.map +1 -1
  48. package/build/es/src/bookings-catalog-v1-resource.public.d.ts +3 -0
  49. package/build/es/src/bookings-catalog-v1-resource.public.js +1 -0
  50. package/build/es/src/bookings-catalog-v1-resource.public.js.map +1 -1
  51. package/build/es/src/bookings-catalog-v1-resource.types.d.ts +23 -30
  52. package/build/es/src/bookings-catalog-v1-resource.types.js.map +1 -1
  53. package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +33 -30
  54. package/build/es/src/bookings-catalog-v1-resource.universal.js +10 -0
  55. package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -1
  56. package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.d.ts +1 -1
  57. package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.js +1 -1
  58. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +20 -32
  59. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
  60. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +24 -33
  61. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +4 -1
  62. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
  63. package/build/es/src/bookings-services-v2-service.types.d.ts +20 -32
  64. package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
  65. package/build/es/src/bookings-services-v2-service.universal.d.ts +20 -32
  66. package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
  67. package/package.json +2 -2
@@ -78,10 +78,7 @@ export interface Session {
78
78
  * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
79
79
  */
80
80
  capacity?: number | null;
81
- /**
82
- * The price options offered for the session. Defaults to the schedule rate.
83
- * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
84
- */
81
+ /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
85
82
  rate?: Rate;
86
83
  /**
87
84
  * Time reserved after the session end time, derived from the schedule availability constraints and the time between slots. Read-only.
@@ -100,9 +97,10 @@ export interface Session {
100
97
  */
101
98
  totalNumberOfParticipants?: number;
102
99
  /**
103
- * List of participants booked for the session.
100
+ * *Partial list** list of participants booked for the session.
104
101
  * The list includes participants who have registered for this specific session, and participants who have registered for a schedule that includes this session.
105
102
  * If the session is a recurring session, this field must be empty.
103
+ * To retrieve the full list of session participants please use the [Query Extended Bookings API](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings).
106
104
  */
107
105
  participants?: Participant[];
108
106
  /**
@@ -111,11 +109,7 @@ export interface Session {
111
109
  * @readonly
112
110
  */
113
111
  inheritedFields?: string[];
114
- /**
115
- * Title and description values to override session defaults when syncing to an external calendar.
116
- * Learn more about [syncing calendars](https://support.wix.com/en/article/wix-bookings-important-information-about-syncing-google-calendars-with-wix-bookings).
117
- * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
118
- */
112
+ /** Deprecated and will be removed soon. */
119
113
  externalCalendarOverrides?: ExternalCalendarOverrides;
120
114
  /**
121
115
  * Session status.
@@ -153,6 +147,7 @@ export interface Session {
153
147
  /**
154
148
  * A conference created for the session according to the details set in the schedule's conference provider information.
155
149
  * If the session is a recurring session, this field is inherited from the schedule.
150
+ * **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
156
151
  */
157
152
  calendarConference?: CalendarConference;
158
153
  /**
@@ -270,12 +265,6 @@ export interface Location {
270
265
  address?: string | null;
271
266
  /** Custom address, used when locationType is `"OWNER_CUSTOM"`. Might be used when locationType is `"CUSTOM"` in case the owner sets a custom address for the session which is different from the default. */
272
267
  customAddress?: Address;
273
- /**
274
- * Valid when `locationType` is `OWNER_BUSINESS`. Defaults to the business's location.
275
- *
276
- * `businessSchedule` is not supported by Wix Bookings
277
- */
278
- businessLocation?: LocationsLocation;
279
268
  }
280
269
  export declare enum LocationType {
281
270
  UNDEFINED = "UNDEFINED",
@@ -774,12 +763,13 @@ export interface Schedule {
774
763
  _id?: string;
775
764
  /** ID of the schedule's owner entity. This may be a resource ID or a service ID. */
776
765
  scheduleOwnerId?: string | null;
777
- timeZone?: string | null;
778
766
  /**
779
- * Specifies the intervals for the sessions calculation. Optional. e.g. when creating class service you can add
780
- * pattern for recurring intervals, these intervals can be returned as schedule's sessions or available slots if
781
- * there are no other availability calculation constraints and the capacity is bigger then the current total number of sessions' participants.
767
+ * Schedule's time zone in [Area/Location](https://en.wikipedia.org/wiki/Tz_database) format. Read-only.
768
+ * Derived from the Wix Business time zone.
769
+ * @readonly
782
770
  */
771
+ timeZone?: string | null;
772
+ /** Deprecated. Please use the [Sessions API](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/session) instead. */
783
773
  intervals?: RecurringInterval[];
784
774
  /** Default title for the schedule's sessions. Maximum length: 6000 characters. */
785
775
  title?: string | null;
@@ -795,12 +785,9 @@ export interface Schedule {
795
785
  * Must be at most `1` for schedule whose availability is affected by another schedule. E.g, appointment schedules of the Wix Bookings app.
796
786
  */
797
787
  capacity?: number | null;
798
- /** Price options offered when booking this schedule's slots. Default is no rate. */
788
+ /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
799
789
  rate?: Rate;
800
- /**
801
- * An object describing how to calculate the schedule's availability.
802
- * An empty object indicates that the schedule is not available for booking.
803
- */
790
+ /** Deprecated and will be removed soon. */
804
791
  availability?: Availability;
805
792
  /**
806
793
  * Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
@@ -808,15 +795,13 @@ export interface Schedule {
808
795
  */
809
796
  totalNumberOfParticipants?: number;
810
797
  /**
811
- * Participants currently registered to sessions in this schedule.
798
+ * *Partial list** of participants which are registered to sessions in this schedule.
812
799
  * Participants who are registered in the schedule are automatically registered to any session that is created for the schedule.
800
+ * To retrieve the full list of schedule participants please use the [Query Extended Bookings API](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings).
813
801
  * @readonly
814
802
  */
815
803
  participants?: Participant[];
816
- /**
817
- * Title and description values to override session defaults when syncing to an external calendar.
818
- * Learn more about [syncing calendars](https://support.wix.com/en/article/wix-bookings-important-information-about-syncing-google-calendars-with-wix-bookings).
819
- */
804
+ /** Deprecated and will be removed soon. */
820
805
  externalCalendarOverrides?: ExternalCalendarOverrides;
821
806
  /**
822
807
  * Schedule status.
@@ -843,9 +828,12 @@ export interface Schedule {
843
828
  * @readonly
844
829
  */
845
830
  inheritedFields?: string[];
846
- /** Conferencing Provider. A schedule with a conferencing provider will use to provider information to create a conference on the provider's system when a session is created on the schedule or on one of its linked schedule's. */
831
+ /** Deprecated and will be removed soon. */
847
832
  conferenceProvider?: ConferenceProvider;
848
- /** A conference created for the schedule. This is used when a participant is added to a schedule. */
833
+ /**
834
+ * A conference created for the schedule. This is used when a participant is added to a schedule.
835
+ * **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
836
+ */
849
837
  calendarConference?: CalendarConference;
850
838
  }
851
839
  export interface RecurringInterval {
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-calendar-v2-session-view.universal.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v2-session-view.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,0CAA0C,MAAM,0CAA0C,CAAC;AAEvG,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAgQ5B,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,C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AAC,EAAE,CAAC,CAAC;QAEtE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE,EAAE,CAAC,CAAC;YACxE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF"}
1
+ {"version":3,"file":"bookings-calendar-v2-session-view.universal.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v2-session-view.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,0CAA0C,MAAM,0CAA0C,CAAC;AAEvG,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CA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mB,CAAC,EAAE,CAAC,CAAC;QAExC,MAAM,OAAO,GACX,0CAA0C,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAErE,KAAK,CAAC,0CAA0C,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAEtE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE,EAAE,CAAC,CAAC;YACxE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF"}
@@ -208,7 +208,9 @@ export function list(payload) {
208
208
  function __list({ host }) {
209
209
  const serializedData = toReq(payload);
210
210
  const metadata = {
211
+ entityFqdn: 'wix.bookings.catalog.v1.resource',
211
212
  method: 'GET',
213
+ methodFqn: 'com.wixpress.bookings.resources.core.api.v1.resource.ResourcesService.List',
212
214
  url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources', data: serializedData, host }),
213
215
  params: toURLSearchParams(serializedData),
214
216
  transformResponse: fromRes,
@@ -258,7 +260,9 @@ export function query(payload) {
258
260
  function __query({ host }) {
259
261
  const serializedData = toReq(payload);
260
262
  const metadata = {
263
+ entityFqdn: 'wix.bookings.catalog.v1.resource',
261
264
  method: 'POST',
265
+ methodFqn: 'com.wixpress.bookings.resources.core.api.v1.resource.ResourcesService.Query',
262
266
  url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources/query', data: serializedData, host }),
263
267
  data: serializedData,
264
268
  transformResponse: fromRes,
@@ -340,7 +344,9 @@ export function create(payload) {
340
344
  function __create({ host }) {
341
345
  const serializedData = toReq(payload);
342
346
  const metadata = {
347
+ entityFqdn: 'wix.bookings.catalog.v1.resource',
343
348
  method: 'POST',
349
+ methodFqn: 'com.wixpress.bookings.resources.core.api.v1.resource.ResourcesService.Create',
344
350
  url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources', data: serializedData, host }),
345
351
  data: serializedData,
346
352
  transformResponse: fromRes,
@@ -408,7 +414,9 @@ export function update(payload) {
408
414
  function __update({ host }) {
409
415
  const serializedData = toReq(payload);
410
416
  const metadata = {
417
+ entityFqdn: 'wix.bookings.catalog.v1.resource',
411
418
  method: 'PATCH',
419
+ methodFqn: 'com.wixpress.bookings.resources.core.api.v1.resource.ResourcesService.Update',
412
420
  url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources/{resource.id}', data: serializedData, host }),
413
421
  data: serializedData,
414
422
  transformResponse: fromRes,
@@ -497,7 +505,9 @@ export function updateSchedule(payload) {
497
505
  function __updateSchedule({ host }) {
498
506
  const serializedData = toReq(payload);
499
507
  const metadata = {
508
+ entityFqdn: 'wix.bookings.catalog.v1.resource',
500
509
  method: 'PATCH',
510
+ methodFqn: 'com.wixpress.bookings.resources.core.api.v1.resource.ResourcesService.UpdateSchedule',
501
511
  url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({
502
512
  protoPath: '/v1/resources/{resourceId}/updateSchedule',
503
513
  data: serializedData,
@@ -542,7 +552,9 @@ export function _delete(payload) {
542
552
  function ___delete({ host }) {
543
553
  const serializedData = toReq(payload);
544
554
  const metadata = {
555
+ entityFqdn: 'wix.bookings.catalog.v1.resource',
545
556
  method: 'DELETE',
557
+ methodFqn: 'com.wixpress.bookings.resources.core.api.v1.resource.ResourcesService._delete',
546
558
  url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources/{id}', data: serializedData, host }),
547
559
  params: toURLSearchParams(serializedData),
548
560
  transformResponse: fromRes,
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-catalog-v1-resource.http.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAkBhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,aAAa,GAAG;IACpB,KAAK,EAAE,2BAA2B;IAClC,GAAG,EAAE,2BAA2B;IAChC,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,aAAa,GAAG;IACpB,cAAc,EAAE,wBAAwB;IACxC,cAAc,EAAE,wBAAwB;IACxC,cAAc,EAAE,wBAAwB;CACzC,CAAC;AACF,MAAM,cAAc,GAAG;IACrB,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,sBAAsB,GAAG,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;AACrE,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,uBAAuB,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC;AAC1D,MAAM,sBAAsB,GAAG,EAAE,QAAQ,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{ Resource, CreateOptions, ListOptions, QueryOptions, UpdateOptions, UpdateScheduleOptions } from './bookings-catalog-v1-resource.universal';
3
+ export declare const __metadata: {
4
+ PACKAGE_NAME: string;
5
+ };
3
6
  export declare function list(httpClient: HttpClient): (options?: ListOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").ListResourcesResponse>;
4
7
  export declare function query(httpClient: HttpClient): (options?: QueryOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").QueryResourcesResponse>;
5
8
  export declare function create(httpClient: HttpClient): (resource: Resource, options?: CreateOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").CreateResourceResponse>;
@@ -1,4 +1,5 @@
1
1
  import { list as universalList, query as universalQuery, create as universalCreate, update as universalUpdate, updateSchedule as universalUpdateSchedule, _delete as universal_delete, } from './bookings-catalog-v1-resource.universal';
2
+ export const __metadata = { PACKAGE_NAME: '@wix/bookings' };
2
3
  export function list(httpClient) {
3
4
  return (options) => universalList(options,
4
5
  // @ts-ignore
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-catalog-v1-resource.public.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,IAAI,aAAa,EACrB,KAAK,IAAI,cAAc,EACvB,MAAM,IAAI,eAAe,EACzB,MAAM,IAAI,eAAe,EACzB,cAAc,IAAI,uBAAuB,EACzC,OAAO,IAAI,gBAAgB,GAO5B,MAAM,0CAA0C,CAAC;AAElD,MAAM,UAAU,IAAI,CAAC,UAAsB;IACzC,OAAO,CAAC,OAAqB,EAAE,EAAE,CAC/B,aAAa,CACX,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,KAAK,CAAC,UAAsB;IAC1C,OAAO,CAAC,OAAsB,EAAE,EAAE,CAChC,cAAc,CACZ,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,QAAkB,EAAE,OAAuB,EAAE,EAAE,CACrD,eAAe,CACb,QAAQ,EACR,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,GAAkB,EAAE,OAAuB,EAAE,EAAE,CACrD,eAAe,CACb,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,UAAyB,EAAE,OAA+B,EAAE,EAAE,CACpE,uBAAuB,CACrB,UAAU,EACV,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,OAAO,CAAC,UAAsB;IAC5C,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,gBAAgB,CACd,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,OAAO,EACL,GAAG,EACH,YAAY,EACZ,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,qBAAqB,EACrB,SAAS,EACT,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,SAAS,EACT,KAAK,GACN,MAAM,0CAA0C,CAAC"}
1
+ {"version":3,"file":"bookings-catalog-v1-resource.public.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,IAAI,aAAa,EACrB,KAAK,IAAI,cAAc,EACvB,MAAM,IAAI,eAAe,EACzB,MAAM,IAAI,eAAe,EACzB,cAAc,IAAI,uBAAuB,EACzC,OAAO,IAAI,gBAAgB,GAO5B,MAAM,0CAA0C,CAAC;AAElD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE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/** ID of the schedule's owner entity. This may be a resource ID or a service ID. */
76
76
  scheduleOwnerId?: string | null;
77
- timeZone?: string | null;
78
77
  /**
79
- * Specifies the intervals for the sessions calculation. Optional. e.g. when creating class service you can add
80
- * pattern for recurring intervals, these intervals can be returned as schedule's sessions or available slots if
81
- * there are no other availability calculation constraints and the capacity is bigger then the current total number of sessions' participants.
78
+ * Schedule's time zone in [Area/Location](https://en.wikipedia.org/wiki/Tz_database) format. Read-only.
79
+ * Derived from the Wix Business time zone.
80
+ * @readonly
82
81
  */
82
+ timeZone?: string | null;
83
+ /** Deprecated. Please use the [Sessions API](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/session) instead. */
83
84
  intervals?: RecurringInterval[];
84
85
  /** Default title for the schedule's sessions. Maximum length: 6000 characters. */
85
86
  title?: string | null;
@@ -95,12 +96,9 @@ export interface Schedule {
95
96
  * Must be at most `1` for schedule whose availability is affected by another schedule. E.g, appointment schedules of the Wix Bookings app.
96
97
  */
97
98
  capacity?: number | null;
98
- /** Price options offered when booking this schedule's slots. Default is no rate. */
99
+ /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
99
100
  rate?: Rate;
100
- /**
101
- * An object describing how to calculate the schedule's availability.
102
- * An empty object indicates that the schedule is not available for booking.
103
- */
101
+ /** Deprecated and will be removed soon. */
104
102
  availability?: Availability;
105
103
  /**
106
104
  * Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
@@ -108,15 +106,13 @@ export interface Schedule {
108
106
  */
109
107
  totalNumberOfParticipants?: number;
110
108
  /**
111
- * Participants currently registered to sessions in this schedule.
109
+ * *Partial list** of participants which are registered to sessions in this schedule.
112
110
  * Participants who are registered in the schedule are automatically registered to any session that is created for the schedule.
111
+ * To retrieve the full list of schedule participants please use the [Query Extended Bookings API](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings).
113
112
  * @readonly
114
113
  */
115
114
  participants?: Participant[];
116
- /**
117
- * Title and description values to override session defaults when syncing to an external calendar.
118
- * Learn more about [syncing calendars](https://support.wix.com/en/article/wix-bookings-important-information-about-syncing-google-calendars-with-wix-bookings).
119
- */
115
+ /** Deprecated and will be removed soon. */
120
116
  externalCalendarOverrides?: ExternalCalendarOverrides;
121
117
  /**
122
118
  * Schedule status.
@@ -143,9 +139,12 @@ export interface Schedule {
143
139
  * @readonly
144
140
  */
145
141
  inheritedFields?: string[];
146
- /** Conferencing Provider. A schedule with a conferencing provider will use to provider information to create a conference on the provider's system when a session is created on the schedule or on one of its linked schedule's. */
142
+ /** Deprecated and will be removed soon. */
147
143
  conferenceProvider?: ConferenceProvider;
148
- /** A conference created for the schedule. This is used when a participant is added to a schedule. */
144
+ /**
145
+ * A conference created for the schedule. This is used when a participant is added to a schedule.
146
+ * **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
147
+ */
149
148
  calendarConference?: CalendarConference;
150
149
  }
151
150
  export interface RecurringInterval {
@@ -260,12 +259,6 @@ export interface Location {
260
259
  address?: string | null;
261
260
  /** Custom address, used when locationType is `"OWNER_CUSTOM"`. Might be used when locationType is `"CUSTOM"` in case the owner sets a custom address for the session which is different from the default. */
262
261
  customAddress?: Address;
263
- /**
264
- * Valid when `locationType` is `OWNER_BUSINESS`. Defaults to the business's location.
265
- *
266
- * `businessSchedule` is not supported by Wix Bookings
267
- */
268
- businessLocation?: LocationsLocation;
269
262
  }
270
263
  export declare enum LocationType {
271
264
  UNDEFINED = "UNDEFINED",
@@ -275,6 +268,10 @@ export declare enum LocationType {
275
268
  }
276
269
  /** Physical address */
277
270
  export interface Address extends AddressStreetOneOf {
271
+ /** Street name, number and apartment number. */
272
+ streetAddress?: StreetAddress;
273
+ /** Main address line, usually street and number, as free text. */
274
+ addressLine?: string | null;
278
275
  /** Country code. */
279
276
  country?: string | null;
280
277
  /** Subdivision. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
@@ -295,10 +292,6 @@ export interface Address extends AddressStreetOneOf {
295
292
  countryFullname?: string | null;
296
293
  /** Multi-level subdivisions from top to bottom. */
297
294
  subdivisions?: Subdivision[];
298
- /** Street name, number and apartment number. */
299
- streetAddress?: StreetAddress;
300
- /** Main address line, usually street and number, as free text. */
301
- addressLine?: string | null;
302
295
  }
303
296
  /** @oneof */
304
297
  export interface AddressStreetOneOf {
@@ -728,6 +721,10 @@ export interface QueryResourcesRequest {
728
721
  query?: QueryV2;
729
722
  }
730
723
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
724
+ /** Paging options to limit and skip the number of items. */
725
+ paging?: Paging;
726
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
727
+ cursorPaging?: CursorPaging;
731
728
  /**
732
729
  * Filter object in the following format:
733
730
  * `"filter" : {
@@ -746,10 +743,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
746
743
  fields?: string[];
747
744
  /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
748
745
  fieldsets?: string[];
749
- /** Paging options to limit and skip the number of items. */
750
- paging?: Paging;
751
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
752
- cursorPaging?: CursorPaging;
753
746
  }
754
747
  /** @oneof */
755
748
  export interface QueryV2PagingMethodOneOf {
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-catalog-v1-resource.types.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.types.ts"],"names":[],"mappings":"AAgMA,MAAM,CAAN,IAAY,GAiBX;AAjBD,WAAY,GAAG;IACb,iBAAiB;IACjB,8BAAuB,CAAA;IACvB,cAAc;IACd,kBAAW,CAAA;IACX,eAAe;IACf,kBAAW,CAAA;IACX,iBAAiB;IACjB,kBAAW,CAAA;IACX,gBAAgB;IAChB,kBAAW,CAAA;IACX,cAAc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og-v1-resource.types.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.types.ts"],"names":[],"mappings":"AA+LA,MAAM,CAAN,IAAY,GAiBX;AAjBD,WAAY,GAAG;IACb,iBAAiB;IACjB,8BAAuB,CAAA;IACvB,cAAc;IACd,kBAAW,CAAA;IACX,eAAe;IACf,kBAAW,CAAA;IACX,iBAAiB;IACjB,kBAAW,CAAA;IACX,gBAAgB;IAChB,kBAAW,CAAA;IACX,cAAc;IACd,kBAAW,CAAA;IACX,gBAAgB;IAChB,kBAAW,CAAA;IACX,cAAc;IACd,kBAAW,CAAA;AACb,CAAC,EAjBW,GAAG,KAAH,GAAG,QAiBd;AA+BD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,gEAAgE;IAChE,6BAAa,CAAA;IACb,kFAAkF;IAClF,6BAAa,CAAA;AACf,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAED,MAAM,CAAN,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,2EAA2E;IAC3E,gDAAuB,CAAA;IACvB,qCAAqC;IACrC,wCAAe,CAAA;IACf,iBAAiB;IACjB,gEAAuC,CAAA;IACvC,4CAA4C;IAC5C,sDAA6B,CAAA;AAC/B,CAAC,EATW,qBAAqB,KAArB,qBAAqB,QAShC;AAiBD,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB;AAkHD,qBAAqB;AACrB,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;AACvB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AAED,qBAAqB;AACrB,MAAM,CAAN,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,4CAAmB,C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,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA2HD,MAAM,CAAN,IAAY,KAMX;AAND,WAAY,KAAK;IACf,gCAAuB,CAAA;IACvB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,8CAAqC,CAAA;AACvC,CAAC,EANW,KAAK,KAAL,KAAK,QAMhB"}
@@ -57,12 +57,13 @@ export interface Schedule {
57
57
  _id?: string;
58
58
  /** ID of the schedule's owner entity. This may be a resource ID or a service ID. */
59
59
  scheduleOwnerId?: string | null;
60
- timeZone?: string | null;
61
60
  /**
62
- * Specifies the intervals for the sessions calculation. Optional. e.g. when creating class service you can add
63
- * pattern for recurring intervals, these intervals can be returned as schedule's sessions or available slots if
64
- * there are no other availability calculation constraints and the capacity is bigger then the current total number of sessions' participants.
61
+ * Schedule's time zone in [Area/Location](https://en.wikipedia.org/wiki/Tz_database) format. Read-only.
62
+ * Derived from the Wix Business time zone.
63
+ * @readonly
65
64
  */
65
+ timeZone?: string | null;
66
+ /** Deprecated. Please use the [Sessions API](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/session) instead. */
66
67
  intervals?: RecurringInterval[];
67
68
  /** Default title for the schedule's sessions. Maximum length: 6000 characters. */
68
69
  title?: string | null;
@@ -78,12 +79,9 @@ export interface Schedule {
78
79
  * Must be at most `1` for schedule whose availability is affected by another schedule. E.g, appointment schedules of the Wix Bookings app.
79
80
  */
80
81
  capacity?: number | null;
81
- /** Price options offered when booking this schedule's slots. Default is no rate. */
82
+ /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
82
83
  rate?: Rate;
83
- /**
84
- * An object describing how to calculate the schedule's availability.
85
- * An empty object indicates that the schedule is not available for booking.
86
- */
84
+ /** Deprecated and will be removed soon. */
87
85
  availability?: Availability;
88
86
  /**
89
87
  * Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
@@ -91,15 +89,13 @@ export interface Schedule {
91
89
  */
92
90
  totalNumberOfParticipants?: number;
93
91
  /**
94
- * Participants currently registered to sessions in this schedule.
92
+ * *Partial list** of participants which are registered to sessions in this schedule.
95
93
  * Participants who are registered in the schedule are automatically registered to any session that is created for the schedule.
94
+ * To retrieve the full list of schedule participants please use the [Query Extended Bookings API](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings).
96
95
  * @readonly
97
96
  */
98
97
  participants?: Participant[];
99
- /**
100
- * Title and description values to override session defaults when syncing to an external calendar.
101
- * Learn more about [syncing calendars](https://support.wix.com/en/article/wix-bookings-important-information-about-syncing-google-calendars-with-wix-bookings).
102
- */
98
+ /** Deprecated and will be removed soon. */
103
99
  externalCalendarOverrides?: ExternalCalendarOverrides;
104
100
  /**
105
101
  * Schedule status.
@@ -126,9 +122,12 @@ export interface Schedule {
126
122
  * @readonly
127
123
  */
128
124
  inheritedFields?: string[];
129
- /** Conferencing Provider. A schedule with a conferencing provider will use to provider information to create a conference on the provider's system when a session is created on the schedule or on one of its linked schedule's. */
125
+ /** Deprecated and will be removed soon. */
130
126
  conferenceProvider?: ConferenceProvider;
131
- /** A conference created for the schedule. This is used when a participant is added to a schedule. */
127
+ /**
128
+ * A conference created for the schedule. This is used when a participant is added to a schedule.
129
+ * **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
130
+ */
132
131
  calendarConference?: CalendarConference;
133
132
  }
134
133
  export interface RecurringInterval {
@@ -243,12 +242,6 @@ export interface Location {
243
242
  address?: string | null;
244
243
  /** Custom address, used when locationType is `"OWNER_CUSTOM"`. Might be used when locationType is `"CUSTOM"` in case the owner sets a custom address for the session which is different from the default. */
245
244
  customAddress?: Address;
246
- /**
247
- * Valid when `locationType` is `OWNER_BUSINESS`. Defaults to the business's location.
248
- *
249
- * `businessSchedule` is not supported by Wix Bookings
250
- */
251
- businessLocation?: LocationsLocation;
252
245
  }
253
246
  export declare enum LocationType {
254
247
  UNDEFINED = "UNDEFINED",
@@ -258,6 +251,10 @@ export declare enum LocationType {
258
251
  }
259
252
  /** Physical address */
260
253
  export interface Address extends AddressStreetOneOf {
254
+ /** Street name, number and apartment number. */
255
+ streetAddress?: StreetAddress;
256
+ /** Main address line, usually street and number, as free text. */
257
+ addressLine?: string | null;
261
258
  /** Country code. */
262
259
  country?: string | null;
263
260
  /** Subdivision. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
@@ -278,10 +275,6 @@ export interface Address extends AddressStreetOneOf {
278
275
  countryFullname?: string | null;
279
276
  /** Multi-level subdivisions from top to bottom. */
280
277
  subdivisions?: Subdivision[];
281
- /** Street name, number and apartment number. */
282
- streetAddress?: StreetAddress;
283
- /** Main address line, usually street and number, as free text. */
284
- addressLine?: string | null;
285
278
  }
286
279
  /** @oneof */
287
280
  export interface AddressStreetOneOf {
@@ -705,6 +698,10 @@ export interface QueryResourcesRequest {
705
698
  query?: QueryV2;
706
699
  }
707
700
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
701
+ /** Paging options to limit and skip the number of items. */
702
+ paging?: Paging;
703
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
704
+ cursorPaging?: CursorPaging;
708
705
  /**
709
706
  * Filter object in the following format:
710
707
  * `"filter" : {
@@ -723,10 +720,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
723
720
  fields?: string[];
724
721
  /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
725
722
  fieldsets?: string[];
726
- /** Paging options to limit and skip the number of items. */
727
- paging?: Paging;
728
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
729
- cursorPaging?: CursorPaging;
730
723
  }
731
724
  /** @oneof */
732
725
  export interface QueryV2PagingMethodOneOf {
@@ -929,6 +922,9 @@ export interface UnLinkResourceFromOwnerResponse {
929
922
  * <!--END:ONLY:REST-->
930
923
  * @public
931
924
  * @documentationMaturity preview
925
+ * @permissionScope Read Bookings - Public Data
926
+ * @permissionScope Read bookings calendar - including participants
927
+ * @permissionScope Read Bookings Calendar
932
928
  */
933
929
  export declare function list(options?: ListOptions): Promise<ListResourcesResponse>;
934
930
  export interface ListOptions {
@@ -957,6 +953,9 @@ export interface ListOptions {
957
953
  * > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
958
954
  * @public
959
955
  * @documentationMaturity preview
956
+ * @permissionScope Read Bookings - Public Data
957
+ * @permissionScope Read bookings calendar - including participants
958
+ * @permissionScope Read Bookings Calendar
960
959
  */
961
960
  export declare function query(options?: QueryOptions): Promise<QueryResourcesResponse>;
962
961
  export interface QueryOptions {
@@ -1010,6 +1009,7 @@ export interface QueryOptions {
1010
1009
  * @requiredField options.schedules.intervals.start
1011
1010
  * @requiredField resource
1012
1011
  * @requiredField resource.name
1012
+ * @permissionScope Manage Bookings
1013
1013
  */
1014
1014
  export declare function create(resource: Resource, options?: CreateOptions): Promise<CreateResourceResponse>;
1015
1015
  export interface CreateOptions {
@@ -1050,6 +1050,7 @@ export interface CreateOptions {
1050
1050
  * @requiredField scheduleActions.createRequests.schedule.intervals.start
1051
1051
  * @requiredField scheduleActions.createRequests.schedule.scheduleOwnerId
1052
1052
  * @requiredField scheduleActions.updateRequests.schedule._id
1053
+ * @permissionScope Manage Bookings
1053
1054
  */
1054
1055
  export declare function update(_id: string | null, options?: UpdateOptions): Promise<UpdateResourceResponse>;
1055
1056
  export interface UpdateOptions {
@@ -1161,6 +1162,7 @@ export interface UpdateOptions {
1161
1162
  * @documentationMaturity preview
1162
1163
  * @requiredField options.schedule._id
1163
1164
  * @requiredField resourceId
1165
+ * @permissionScope Manage Bookings
1164
1166
  */
1165
1167
  export declare function updateSchedule(resourceId: string | null, options?: UpdateScheduleOptions): Promise<UpdateScheduleResponse>;
1166
1168
  export interface UpdateScheduleOptions {
@@ -1197,5 +1199,6 @@ export interface UpdateScheduleOptions {
1197
1199
  * @public
1198
1200
  * @documentationMaturity preview
1199
1201
  * @requiredField _id
1202
+ * @permissionScope Manage Bookings
1200
1203
  */
1201
1204
  export declare function _delete(_id: string): Promise<DeleteResourceResponse>;
@@ -205,6 +205,9 @@ const _updateScheduleResponse = { schedule: '_schedule' };
205
205
  * <!--END:ONLY:REST-->
206
206
  * @public
207
207
  * @documentationMaturity preview
208
+ * @permissionScope Read Bookings - Public Data
209
+ * @permissionScope Read bookings calendar - including participants
210
+ * @permissionScope Read Bookings Calendar
208
211
  */
209
212
  export function list(options) {
210
213
  var _a, _b, _c;
@@ -278,6 +281,9 @@ export function list(options) {
278
281
  * > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
279
282
  * @public
280
283
  * @documentationMaturity preview
284
+ * @permissionScope Read Bookings - Public Data
285
+ * @permissionScope Read bookings calendar - including participants
286
+ * @permissionScope Read Bookings Calendar
281
287
  */
282
288
  export function query(options) {
283
289
  var _a, _b, _c;
@@ -376,6 +382,7 @@ export function query(options) {
376
382
  * @requiredField options.schedules.intervals.start
377
383
  * @requiredField resource
378
384
  * @requiredField resource.name
385
+ * @permissionScope Manage Bookings
379
386
  */
380
387
  export function create(resource, options) {
381
388
  var _a, _b, _c;
@@ -467,6 +474,7 @@ export function create(resource, options) {
467
474
  * @requiredField scheduleActions.createRequests.schedule.intervals.start
468
475
  * @requiredField scheduleActions.createRequests.schedule.scheduleOwnerId
469
476
  * @requiredField scheduleActions.updateRequests.schedule._id
477
+ * @permissionScope Manage Bookings
470
478
  */
471
479
  export function update(_id, options) {
472
480
  var _a, _b, _c;
@@ -588,6 +596,7 @@ export function update(_id, options) {
588
596
  * @documentationMaturity preview
589
597
  * @requiredField options.schedule._id
590
598
  * @requiredField resourceId
599
+ * @permissionScope Manage Bookings
591
600
  */
592
601
  export function updateSchedule(resourceId, options) {
593
602
  var _a, _b, _c;
@@ -665,6 +674,7 @@ export function updateSchedule(resourceId, options) {
665
674
  * @public
666
675
  * @documentationMaturity preview
667
676
  * @requiredField _id
677
+ * @permissionScope Manage Bookings
668
678
  */
669
679
  export function _delete(_id) {
670
680
  var _a, _b, _c;