@wix/auto_sdk_bookings_event-time-slots 1.0.8 → 1.0.9

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 (133) hide show
  1. package/build/{internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.universal.d.ts → bookings-availability-v2-time-slot-event-time-slots.universal-szGrVRY3.d.mts} +35 -106
  2. package/build/{cjs/src/bookings-availability-v2-time-slot-event-time-slots.universal.d.ts → bookings-availability-v2-time-slot-event-time-slots.universal-szGrVRY3.d.ts} +35 -106
  3. package/build/index.d.mts +35 -0
  4. package/build/index.d.ts +35 -0
  5. package/build/index.js +331 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +305 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{es/src/bookings-availability-v2-time-slot-event-time-slots.universal.d.ts → bookings-availability-v2-time-slot-event-time-slots.universal-szGrVRY3.d.mts} +35 -106
  10. package/build/{es/src/bookings-availability-v2-time-slot-event-time-slots.universal.d.ts → internal/bookings-availability-v2-time-slot-event-time-slots.universal-szGrVRY3.d.ts} +35 -106
  11. package/build/internal/index.d.mts +35 -0
  12. package/build/internal/index.d.ts +35 -0
  13. package/build/internal/index.js +331 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +305 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +382 -0
  18. package/build/internal/meta.d.ts +382 -0
  19. package/build/internal/meta.js +260 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +232 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +382 -0
  24. package/build/meta.d.ts +382 -0
  25. package/build/meta.js +260 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +232 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.context.d.ts +0 -6
  40. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.context.js +0 -10
  41. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.context.js.map +0 -1
  42. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.http.d.ts +0 -18
  43. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.http.js +0 -209
  44. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.http.js.map +0 -1
  45. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.meta.d.ts +0 -16
  46. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.meta.js +0 -66
  47. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.meta.js.map +0 -1
  48. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.public.d.ts +0 -32
  49. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.public.js +0 -20
  50. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.public.js.map +0 -1
  51. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.types.d.ts +0 -911
  52. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.types.js +0 -14
  53. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.types.js.map +0 -1
  54. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.universal.js +0 -174
  55. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.context.d.ts +0 -6
  66. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.context.js +0 -6
  67. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.context.js.map +0 -1
  68. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.http.d.ts +0 -18
  69. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.http.js +0 -204
  70. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.http.js.map +0 -1
  71. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.meta.d.ts +0 -16
  72. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.meta.js +0 -38
  73. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.meta.js.map +0 -1
  74. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.public.d.ts +0 -32
  75. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.public.js +0 -14
  76. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.public.js.map +0 -1
  77. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.types.d.ts +0 -911
  78. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.types.js +0 -11
  79. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.types.js.map +0 -1
  80. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.universal.js +0 -146
  81. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.universal.js.map +0 -1
  82. package/build/internal/cjs/index.d.ts +0 -1
  83. package/build/internal/cjs/index.js +0 -18
  84. package/build/internal/cjs/index.js.map +0 -1
  85. package/build/internal/cjs/index.typings.d.ts +0 -1
  86. package/build/internal/cjs/index.typings.js +0 -18
  87. package/build/internal/cjs/index.typings.js.map +0 -1
  88. package/build/internal/cjs/meta.d.ts +0 -1
  89. package/build/internal/cjs/meta.js +0 -18
  90. package/build/internal/cjs/meta.js.map +0 -1
  91. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.context.d.ts +0 -6
  92. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.context.js +0 -10
  93. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.context.js.map +0 -1
  94. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.http.d.ts +0 -18
  95. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.http.js +0 -209
  96. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.http.js.map +0 -1
  97. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.meta.d.ts +0 -16
  98. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.meta.js +0 -66
  99. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.meta.js.map +0 -1
  100. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.public.d.ts +0 -32
  101. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.public.js +0 -20
  102. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.public.js.map +0 -1
  103. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.types.d.ts +0 -911
  104. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.types.js +0 -14
  105. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.types.js.map +0 -1
  106. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.universal.js +0 -174
  107. package/build/internal/cjs/src/bookings-availability-v2-time-slot-event-time-slots.universal.js.map +0 -1
  108. package/build/internal/es/index.d.ts +0 -1
  109. package/build/internal/es/index.js +0 -2
  110. package/build/internal/es/index.js.map +0 -1
  111. package/build/internal/es/index.typings.d.ts +0 -1
  112. package/build/internal/es/index.typings.js +0 -2
  113. package/build/internal/es/index.typings.js.map +0 -1
  114. package/build/internal/es/meta.d.ts +0 -1
  115. package/build/internal/es/meta.js +0 -2
  116. package/build/internal/es/meta.js.map +0 -1
  117. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.context.d.ts +0 -6
  118. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.context.js +0 -6
  119. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.context.js.map +0 -1
  120. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.http.d.ts +0 -18
  121. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.http.js +0 -204
  122. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.http.js.map +0 -1
  123. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.meta.d.ts +0 -16
  124. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.meta.js +0 -38
  125. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.meta.js.map +0 -1
  126. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.public.d.ts +0 -32
  127. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.public.js +0 -14
  128. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.public.js.map +0 -1
  129. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.types.d.ts +0 -911
  130. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.types.js +0 -11
  131. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.types.js.map +0 -1
  132. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.universal.js +0 -146
  133. package/build/internal/es/src/bookings-availability-v2-time-slot-event-time-slots.universal.js.map +0 -1
@@ -1,4 +1,3 @@
1
- import { NonNullablePaths } from '@wix/sdk-types';
2
1
  /**
3
2
  * The `TimeSlot` object represents the availability information
4
3
  * for an `Appointment` service's specific slot, including:
@@ -17,7 +16,7 @@ import { NonNullablePaths } from '@wix/sdk-types';
17
16
  * > When the `TimeSlot` has a non empty `NestedTimeSlots`, it represents the availability information
18
17
  * > for a given list of `Appointment` services within a specific time slot.
19
18
  */
20
- export interface TimeSlot {
19
+ interface TimeSlot {
21
20
  /**
22
21
  * Service ID.
23
22
  *
@@ -90,7 +89,7 @@ export interface TimeSlot {
90
89
  /** Reasons why the time slot is not available for booking. */
91
90
  nonBookableReasons?: NonBookableReasons;
92
91
  }
93
- export interface Location {
92
+ interface Location {
94
93
  /**
95
94
  * Business Location ID. Present only if the location is a business location.
96
95
  * @format GUID
@@ -108,7 +107,7 @@ export interface Location {
108
107
  */
109
108
  locationType?: LocationTypeWithLiterals;
110
109
  }
111
- export declare enum LocationType {
110
+ declare enum LocationType {
112
111
  UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
113
112
  /** A business location, either the default business address, or locations defined for the business by the Business Info. */
114
113
  BUSINESS = "BUSINESS",
@@ -118,9 +117,9 @@ export declare enum LocationType {
118
117
  CUSTOMER = "CUSTOMER"
119
118
  }
120
119
  /** @enumType */
121
- export type LocationTypeWithLiterals = LocationType | 'UNKNOWN_LOCATION_TYPE' | 'BUSINESS' | 'CUSTOM' | 'CUSTOMER';
120
+ type LocationTypeWithLiterals = LocationType | 'UNKNOWN_LOCATION_TYPE' | 'BUSINESS' | 'CUSTOM' | 'CUSTOMER';
122
121
  /** relevant for event based slots, and not for availability based slots */
123
- export interface EventInfo {
122
+ interface EventInfo {
124
123
  /**
125
124
  * The event ID.
126
125
  * @minLength 36
@@ -130,7 +129,7 @@ export interface EventInfo {
130
129
  /** Waiting list details for the event, if enabled in the service's booking policy. */
131
130
  waitingList?: WaitingList;
132
131
  }
133
- export interface WaitingList {
132
+ interface WaitingList {
134
133
  /**
135
134
  * Total number of spots in the waiting list.
136
135
  * @min 1
@@ -142,7 +141,7 @@ export interface WaitingList {
142
141
  */
143
142
  remainingCapacity?: number | null;
144
143
  }
145
- export interface BookingPolicyViolations {
144
+ interface BookingPolicyViolations {
146
145
  /** Bookings policy violation. Too early to book this slot. */
147
146
  tooEarlyToBook?: boolean | null;
148
147
  /** The earliest time at which booking for this slot is allowed, in UTC format (`YYYY-MM-DDThh:mm:ss.sssZ`). */
@@ -152,7 +151,7 @@ export interface BookingPolicyViolations {
152
151
  /** Bookings policy violation. Online booking is disabled for the `TimeSlot` service. */
153
152
  bookOnlineDisabled?: boolean | null;
154
153
  }
155
- export interface AvailableResources {
154
+ interface AvailableResources {
156
155
  /**
157
156
  * Resource type ID.
158
157
  * @format GUID
@@ -185,7 +184,7 @@ export interface AvailableResources {
185
184
  */
186
185
  hasMoreAvailableResources?: boolean | null;
187
186
  }
188
- export interface Resource {
187
+ interface Resource {
189
188
  /**
190
189
  * Resource ID.
191
190
  * @format GUID
@@ -197,7 +196,7 @@ export interface Resource {
197
196
  */
198
197
  name?: string | null;
199
198
  }
200
- export interface NestedTimeSlot {
199
+ interface NestedTimeSlot {
201
200
  /**
202
201
  * Service ID of the nested time slot.
203
202
  * @format GUID
@@ -222,7 +221,7 @@ export interface NestedTimeSlot {
222
221
  */
223
222
  availableResources?: AvailableResources[];
224
223
  }
225
- export interface NonBookableReasons {
224
+ interface NonBookableReasons {
226
225
  /** The slot is fully booked with no remaining capacity. */
227
226
  noRemainingCapacity?: boolean | null;
228
227
  /** Booking this slot would violate the service's booking policy. */
@@ -230,7 +229,7 @@ export interface NonBookableReasons {
230
229
  /** The slot is reserved for the waiting list and not available for direct booking. */
231
230
  reservedForWaitingList?: boolean | null;
232
231
  }
233
- export interface ListMultiServiceAvailabilityTimeSlotsRequest {
232
+ interface ListMultiServiceAvailabilityTimeSlotsRequest {
234
233
  /**
235
234
  * Services for which the multiService time slots are being returned for.
236
235
  * Each service contains its own resources filters within.
@@ -349,7 +348,7 @@ export interface ListMultiServiceAvailabilityTimeSlotsRequest {
349
348
  */
350
349
  cursorPaging?: CursorPaging;
351
350
  }
352
- export interface Service {
351
+ interface Service {
353
352
  /**
354
353
  * Service ID.
355
354
  * @format GUID
@@ -385,7 +384,7 @@ export interface Service {
385
384
  * Selected customer choices.
386
385
  * These choices are selected by the customer during the booking flow and can be utilized to calculate the corresponding service's configuration properties.
387
386
  */
388
- export interface V2CustomerChoices {
387
+ interface V2CustomerChoices {
389
388
  /**
390
389
  * The selected customer duration in minutes.
391
390
  * Min: `1 minute`
@@ -407,7 +406,7 @@ export interface V2CustomerChoices {
407
406
  */
408
407
  durationChoiceId?: string | null;
409
408
  }
410
- export interface CursorPaging {
409
+ interface CursorPaging {
411
410
  /**
412
411
  * Number of results to load.
413
412
  *
@@ -425,7 +424,7 @@ export interface CursorPaging {
425
424
  */
426
425
  cursor?: string | null;
427
426
  }
428
- export interface ListMultiServiceAvailabilityTimeSlotsResponse {
427
+ interface ListMultiServiceAvailabilityTimeSlotsResponse {
429
428
  /**
430
429
  * Time slots.
431
430
  * @maxSize 1000
@@ -453,7 +452,7 @@ export interface ListMultiServiceAvailabilityTimeSlotsResponse {
453
452
  */
454
453
  cursorPagingMetadata?: CursorPagingMetadata;
455
454
  }
456
- export interface CursorPagingMetadata {
455
+ interface CursorPagingMetadata {
457
456
  /** Offset that was requested. */
458
457
  cursors?: Cursors;
459
458
  /**
@@ -463,13 +462,13 @@ export interface CursorPagingMetadata {
463
462
  */
464
463
  hasNext?: boolean | null;
465
464
  }
466
- export interface Cursors {
465
+ interface Cursors {
467
466
  /** Cursor pointing to next page in the list of results. */
468
467
  next?: string | null;
469
468
  /** Cursor pointing to previous page in the list of results. */
470
469
  prev?: string | null;
471
470
  }
472
- export interface GetMultiServiceAvailabilityTimeSlotRequest {
471
+ interface GetMultiServiceAvailabilityTimeSlotRequest {
473
472
  /**
474
473
  * Services for which the multiService TimeSlots are being returned for.
475
474
  * Each service contains its own resources filters within.
@@ -511,7 +510,7 @@ export interface GetMultiServiceAvailabilityTimeSlotRequest {
511
510
  */
512
511
  location?: Location;
513
512
  }
514
- export interface GetMultiServiceAvailabilityTimeSlotResponse {
513
+ interface GetMultiServiceAvailabilityTimeSlotResponse {
515
514
  /** Time slot. */
516
515
  timeSlot?: TimeSlot;
517
516
  /**
@@ -521,7 +520,7 @@ export interface GetMultiServiceAvailabilityTimeSlotResponse {
521
520
  */
522
521
  timeZone?: string | null;
523
522
  }
524
- export interface ListAvailabilityTimeSlotsRequest {
523
+ interface ListAvailabilityTimeSlotsRequest {
525
524
  /**
526
525
  * Service ID for which the time slots are being returned for.
527
526
  * Currently supported only for services of type `APPOINTMENT`.
@@ -666,7 +665,7 @@ export interface ListAvailabilityTimeSlotsRequest {
666
665
  * Selected customer choices.
667
666
  * These choices are selected by the customer during the booking flow and can be utilized to calculate the corresponding service's configuration properties.
668
667
  */
669
- export interface CustomerChoices {
668
+ interface CustomerChoices {
670
669
  /**
671
670
  * The selected customer duration in minutes.
672
671
  * Min: `1 minute`
@@ -688,7 +687,7 @@ export interface CustomerChoices {
688
687
  */
689
688
  durationChoiceId?: string | null;
690
689
  }
691
- export interface ResourceType {
690
+ interface ResourceType {
692
691
  /**
693
692
  * Resource type ID.
694
693
  * @format GUID
@@ -703,7 +702,7 @@ export interface ResourceType {
703
702
  */
704
703
  resourceIds?: string[] | null;
705
704
  }
706
- export interface ListAvailabilityTimeSlotsResponse {
705
+ interface ListAvailabilityTimeSlotsResponse {
707
706
  /**
708
707
  * Time slots.
709
708
  * @maxSize 1000
@@ -731,7 +730,7 @@ export interface ListAvailabilityTimeSlotsResponse {
731
730
  */
732
731
  cursorPagingMetadata?: CursorPagingMetadata;
733
732
  }
734
- export interface GetAvailabilityTimeSlotRequest {
733
+ interface GetAvailabilityTimeSlotRequest {
735
734
  /**
736
735
  * Service ID of the time slot.
737
736
  * Currently supported only for services of type `APPOINTMENT`.
@@ -788,7 +787,7 @@ export interface GetAvailabilityTimeSlotRequest {
788
787
  */
789
788
  includeResourceTypeIds?: string[];
790
789
  }
791
- export interface GetAvailabilityTimeSlotRequestCustomerChoices {
790
+ interface GetAvailabilityTimeSlotRequestCustomerChoices {
792
791
  /**
793
792
  * The selected add-ons IDs.
794
793
  * Max: Derived from max amount of Add-On groups * max amount of Add-Ons per group.
@@ -802,7 +801,7 @@ export interface GetAvailabilityTimeSlotRequestCustomerChoices {
802
801
  */
803
802
  durationChoiceId?: string | null;
804
803
  }
805
- export interface GetAvailabilityTimeSlotResponse {
804
+ interface GetAvailabilityTimeSlotResponse {
806
805
  /** Time slot. */
807
806
  timeSlot?: TimeSlot;
808
807
  /**
@@ -812,7 +811,7 @@ export interface GetAvailabilityTimeSlotResponse {
812
811
  */
813
812
  timeZone?: string | null;
814
813
  }
815
- export interface ListEventTimeSlotsRequest {
814
+ interface ListEventTimeSlotsRequest {
816
815
  /**
817
816
  * Local start date for which event time slots are returned, in ISO-8601 format.
818
817
  * E.g., "2024-01-30T13:30:00".
@@ -870,7 +869,7 @@ export interface ListEventTimeSlotsRequest {
870
869
  /** Cursor to retrieve the next page of results. */
871
870
  cursorPaging?: CursorPaging;
872
871
  }
873
- export interface ListEventTimeSlotsResponse {
872
+ interface ListEventTimeSlotsResponse {
874
873
  /** Retrieved time slots matching the specified filters. */
875
874
  timeSlots?: TimeSlot[];
876
875
  /**
@@ -883,7 +882,7 @@ export interface ListEventTimeSlotsResponse {
883
882
  /** Paging metadata. */
884
883
  pagingMetadata?: CursorPagingMetadata;
885
884
  }
886
- export interface GetEventTimeSlotRequest {
885
+ interface GetEventTimeSlotRequest {
887
886
  /**
888
887
  * The event ID.
889
888
  * @minLength 36
@@ -899,7 +898,7 @@ export interface GetEventTimeSlotRequest {
899
898
  */
900
899
  timeZone?: string | null;
901
900
  }
902
- export interface GetEventTimeSlotResponse {
901
+ interface GetEventTimeSlotResponse {
903
902
  /** The time slot. */
904
903
  timeSlot?: TimeSlot;
905
904
  /**
@@ -910,48 +909,7 @@ export interface GetEventTimeSlotResponse {
910
909
  */
911
910
  timeZone?: string | null;
912
911
  }
913
- type TimeSlotNonNullablePaths = `location.locationType` | `availableResources` | `nestedTimeSlots` | `nestedTimeSlots.${number}.serviceId` | `nestedTimeSlots.${number}.localStartDate` | `nestedTimeSlots.${number}.localEndDate`;
914
- /**
915
- * Retrieves event time slots based on specified filters.
916
- *
917
- * Event time slots are predefined events that customers can book, subject to capacity and booking policies.
918
- * By default, the Bookings app provides the events (classes) and the bookings policy.
919
- *
920
- * `ListEventTimeSlots` runs with these defaults, which you can override:
921
- * - `providerId` is the Bookings app ID.
922
- * - `timeZone` is the business time zone.
923
- * - `cursorPaging.limit` is `50`.
924
- * - Both bookable and non-bookable time slots are returned.
925
- *
926
- * Time slots are always sorted by their start time in ascending order.
927
- * @public
928
- * @documentationMaturity preview
929
- * @requiredField options.fromLocalDate
930
- * @permissionId BOOKINGS.AVAILABILITY_READ
931
- * @permissionScope Manage Stores
932
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
933
- * @permissionScope Read Bookings - Public Data
934
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
935
- * @permissionScope Manage Bookings Services and Settings
936
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
937
- * @permissionScope Manage Bookings
938
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
939
- * @permissionScope Read Bookings - Including Participants
940
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
941
- * @permissionScope Read Bookings - all read permissions
942
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
943
- * @permissionScope Read Bookings Calendar Availability
944
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-CALENDAR
945
- * @permissionScope Manage Bookings - all permissions
946
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
947
- * @applicableIdentity APP
948
- * @applicableIdentity VISITOR
949
- * @fqn com.wixpress.bookings.availability.v2.EventTimeSlots.ListEventTimeSlots
950
- */
951
- export declare function listEventTimeSlots(options?: NonNullablePaths<ListEventTimeSlotsOptions, `fromLocalDate`>): Promise<NonNullablePaths<ListEventTimeSlotsResponse, {
952
- [P in TimeSlotNonNullablePaths]: `timeSlots.${number}.${P}`;
953
- }[TimeSlotNonNullablePaths]>>;
954
- export interface ListEventTimeSlotsOptions {
912
+ interface ListEventTimeSlotsOptions {
955
913
  /**
956
914
  * Local start date for which event time slots are returned, in ISO-8601 format.
957
915
  * E.g., "2024-01-30T13:30:00".
@@ -1009,37 +967,7 @@ export interface ListEventTimeSlotsOptions {
1009
967
  /** Cursor to retrieve the next page of results. */
1010
968
  cursorPaging?: CursorPaging;
1011
969
  }
1012
- /**
1013
- * Retrieves the details of a specific event time slot based on the provided event ID.
1014
- * @param eventId - The event ID.
1015
- * @public
1016
- * @documentationMaturity preview
1017
- * @requiredField eventId
1018
- * @permissionId BOOKINGS.AVAILABILITY_READ
1019
- * @permissionScope Manage Stores
1020
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1021
- * @permissionScope Read Bookings - Public Data
1022
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1023
- * @permissionScope Manage Bookings Services and Settings
1024
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
1025
- * @permissionScope Manage Bookings
1026
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
1027
- * @permissionScope Read Bookings - Including Participants
1028
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
1029
- * @permissionScope Read Bookings - all read permissions
1030
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
1031
- * @permissionScope Read Bookings Calendar Availability
1032
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-CALENDAR
1033
- * @permissionScope Manage Bookings - all permissions
1034
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1035
- * @applicableIdentity APP
1036
- * @applicableIdentity VISITOR
1037
- * @fqn com.wixpress.bookings.availability.v2.EventTimeSlots.GetEventTimeSlot
1038
- */
1039
- export declare function getEventTimeSlot(eventId: string, options?: GetEventTimeSlotOptions): Promise<NonNullablePaths<GetEventTimeSlotResponse, {
1040
- [P in TimeSlotNonNullablePaths]: `timeSlot.${P}`;
1041
- }[TimeSlotNonNullablePaths]>>;
1042
- export interface GetEventTimeSlotOptions {
970
+ interface GetEventTimeSlotOptions {
1043
971
  /**
1044
972
  * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).
1045
973
  * For example, `America/New_York`.
@@ -1049,4 +977,5 @@ export interface GetEventTimeSlotOptions {
1049
977
  */
1050
978
  timeZone?: string | null;
1051
979
  }
1052
- export {};
980
+
981
+ export { type AvailableResources as A, type BookingPolicyViolations as B, type CursorPaging as C, type EventInfo as E, type GetEventTimeSlotOptions as G, type ListEventTimeSlotsOptions as L, type NestedTimeSlot as N, type Resource as R, type Service as S, type TimeSlot as T, type V2CustomerChoices as V, type WaitingList as W, type ListEventTimeSlotsResponse as a, type GetEventTimeSlotResponse as b, LocationType as c, type Location as d, type NonBookableReasons as e, type ListMultiServiceAvailabilityTimeSlotsRequest as f, type ListMultiServiceAvailabilityTimeSlotsResponse as g, type CursorPagingMetadata as h, type Cursors as i, type GetMultiServiceAvailabilityTimeSlotRequest as j, type GetMultiServiceAvailabilityTimeSlotResponse as k, type ListAvailabilityTimeSlotsRequest as l, type CustomerChoices as m, type ResourceType as n, type ListAvailabilityTimeSlotsResponse as o, type GetAvailabilityTimeSlotRequest as p, type GetAvailabilityTimeSlotRequestCustomerChoices as q, type GetAvailabilityTimeSlotResponse as r, type ListEventTimeSlotsRequest as s, type GetEventTimeSlotRequest as t };