@wix/auto_sdk_bookings_pricing 1.0.18 → 1.0.19

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 (129) hide show
  1. package/build/{cjs/src/bookings-v2-price-info-pricing.types.d.ts → bookings-v2-price-info-pricing.universal-Bg2-I7Zy.d.mts} +63 -63
  2. package/build/{internal/cjs/src/bookings-v2-price-info-pricing.types.d.ts → bookings-v2-price-info-pricing.universal-Bg2-I7Zy.d.ts} +63 -63
  3. package/build/{internal/es/src/bookings-v2-price-info-pricing.public.d.ts → index.d.mts} +11 -8
  4. package/build/{internal/cjs/src/bookings-v2-price-info-pricing.public.d.ts → index.d.ts} +11 -8
  5. package/build/index.js +314 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +280 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/{es/src/bookings-v2-price-info-pricing.types.d.ts → internal/bookings-v2-price-info-pricing.universal-Bg2-I7Zy.d.mts} +63 -63
  10. package/build/internal/{es/src/bookings-v2-price-info-pricing.types.d.ts → bookings-v2-price-info-pricing.universal-Bg2-I7Zy.d.ts} +63 -63
  11. package/build/{cjs/src/bookings-v2-price-info-pricing.public.d.ts → internal/index.d.mts} +11 -8
  12. package/build/{es/src/bookings-v2-price-info-pricing.public.d.ts → internal/index.d.ts} +11 -8
  13. package/build/internal/index.js +314 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +280 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +803 -0
  18. package/build/internal/meta.d.ts +803 -0
  19. package/build/internal/meta.js +194 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +166 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +803 -0
  24. package/build/meta.d.ts +803 -0
  25. package/build/meta.js +194 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +166 -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-v2-price-info-pricing.context.d.ts +0 -6
  40. package/build/cjs/src/bookings-v2-price-info-pricing.context.js +0 -18
  41. package/build/cjs/src/bookings-v2-price-info-pricing.context.js.map +0 -1
  42. package/build/cjs/src/bookings-v2-price-info-pricing.http.d.ts +0 -59
  43. package/build/cjs/src/bookings-v2-price-info-pricing.http.js +0 -184
  44. package/build/cjs/src/bookings-v2-price-info-pricing.http.js.map +0 -1
  45. package/build/cjs/src/bookings-v2-price-info-pricing.meta.d.ts +0 -14
  46. package/build/cjs/src/bookings-v2-price-info-pricing.meta.js +0 -66
  47. package/build/cjs/src/bookings-v2-price-info-pricing.meta.js.map +0 -1
  48. package/build/cjs/src/bookings-v2-price-info-pricing.public.js +0 -28
  49. package/build/cjs/src/bookings-v2-price-info-pricing.public.js.map +0 -1
  50. package/build/cjs/src/bookings-v2-price-info-pricing.types.js +0 -133
  51. package/build/cjs/src/bookings-v2-price-info-pricing.types.js.map +0 -1
  52. package/build/cjs/src/bookings-v2-price-info-pricing.universal.d.ts +0 -1025
  53. package/build/cjs/src/bookings-v2-price-info-pricing.universal.js +0 -303
  54. package/build/cjs/src/bookings-v2-price-info-pricing.universal.js.map +0 -1
  55. package/build/es/index.d.ts +0 -1
  56. package/build/es/index.js +0 -2
  57. package/build/es/index.js.map +0 -1
  58. package/build/es/index.typings.d.ts +0 -1
  59. package/build/es/index.typings.js +0 -2
  60. package/build/es/index.typings.js.map +0 -1
  61. package/build/es/meta.d.ts +0 -1
  62. package/build/es/meta.js +0 -2
  63. package/build/es/meta.js.map +0 -1
  64. package/build/es/src/bookings-v2-price-info-pricing.context.d.ts +0 -6
  65. package/build/es/src/bookings-v2-price-info-pricing.context.js +0 -6
  66. package/build/es/src/bookings-v2-price-info-pricing.context.js.map +0 -1
  67. package/build/es/src/bookings-v2-price-info-pricing.http.d.ts +0 -59
  68. package/build/es/src/bookings-v2-price-info-pricing.http.js +0 -179
  69. package/build/es/src/bookings-v2-price-info-pricing.http.js.map +0 -1
  70. package/build/es/src/bookings-v2-price-info-pricing.meta.d.ts +0 -14
  71. package/build/es/src/bookings-v2-price-info-pricing.meta.js +0 -38
  72. package/build/es/src/bookings-v2-price-info-pricing.meta.js.map +0 -1
  73. package/build/es/src/bookings-v2-price-info-pricing.public.js +0 -14
  74. package/build/es/src/bookings-v2-price-info-pricing.public.js.map +0 -1
  75. package/build/es/src/bookings-v2-price-info-pricing.types.js +0 -130
  76. package/build/es/src/bookings-v2-price-info-pricing.types.js.map +0 -1
  77. package/build/es/src/bookings-v2-price-info-pricing.universal.d.ts +0 -1025
  78. package/build/es/src/bookings-v2-price-info-pricing.universal.js +0 -275
  79. package/build/es/src/bookings-v2-price-info-pricing.universal.js.map +0 -1
  80. package/build/internal/cjs/index.d.ts +0 -1
  81. package/build/internal/cjs/index.js +0 -18
  82. package/build/internal/cjs/index.js.map +0 -1
  83. package/build/internal/cjs/index.typings.d.ts +0 -1
  84. package/build/internal/cjs/index.typings.js +0 -18
  85. package/build/internal/cjs/index.typings.js.map +0 -1
  86. package/build/internal/cjs/meta.d.ts +0 -1
  87. package/build/internal/cjs/meta.js +0 -18
  88. package/build/internal/cjs/meta.js.map +0 -1
  89. package/build/internal/cjs/src/bookings-v2-price-info-pricing.context.d.ts +0 -6
  90. package/build/internal/cjs/src/bookings-v2-price-info-pricing.context.js +0 -18
  91. package/build/internal/cjs/src/bookings-v2-price-info-pricing.context.js.map +0 -1
  92. package/build/internal/cjs/src/bookings-v2-price-info-pricing.http.d.ts +0 -59
  93. package/build/internal/cjs/src/bookings-v2-price-info-pricing.http.js +0 -184
  94. package/build/internal/cjs/src/bookings-v2-price-info-pricing.http.js.map +0 -1
  95. package/build/internal/cjs/src/bookings-v2-price-info-pricing.meta.d.ts +0 -14
  96. package/build/internal/cjs/src/bookings-v2-price-info-pricing.meta.js +0 -66
  97. package/build/internal/cjs/src/bookings-v2-price-info-pricing.meta.js.map +0 -1
  98. package/build/internal/cjs/src/bookings-v2-price-info-pricing.public.js +0 -28
  99. package/build/internal/cjs/src/bookings-v2-price-info-pricing.public.js.map +0 -1
  100. package/build/internal/cjs/src/bookings-v2-price-info-pricing.types.js +0 -133
  101. package/build/internal/cjs/src/bookings-v2-price-info-pricing.types.js.map +0 -1
  102. package/build/internal/cjs/src/bookings-v2-price-info-pricing.universal.d.ts +0 -1025
  103. package/build/internal/cjs/src/bookings-v2-price-info-pricing.universal.js +0 -303
  104. package/build/internal/cjs/src/bookings-v2-price-info-pricing.universal.js.map +0 -1
  105. package/build/internal/es/index.d.ts +0 -1
  106. package/build/internal/es/index.js +0 -2
  107. package/build/internal/es/index.js.map +0 -1
  108. package/build/internal/es/index.typings.d.ts +0 -1
  109. package/build/internal/es/index.typings.js +0 -2
  110. package/build/internal/es/index.typings.js.map +0 -1
  111. package/build/internal/es/meta.d.ts +0 -1
  112. package/build/internal/es/meta.js +0 -2
  113. package/build/internal/es/meta.js.map +0 -1
  114. package/build/internal/es/src/bookings-v2-price-info-pricing.context.d.ts +0 -6
  115. package/build/internal/es/src/bookings-v2-price-info-pricing.context.js +0 -6
  116. package/build/internal/es/src/bookings-v2-price-info-pricing.context.js.map +0 -1
  117. package/build/internal/es/src/bookings-v2-price-info-pricing.http.d.ts +0 -59
  118. package/build/internal/es/src/bookings-v2-price-info-pricing.http.js +0 -179
  119. package/build/internal/es/src/bookings-v2-price-info-pricing.http.js.map +0 -1
  120. package/build/internal/es/src/bookings-v2-price-info-pricing.meta.d.ts +0 -14
  121. package/build/internal/es/src/bookings-v2-price-info-pricing.meta.js +0 -38
  122. package/build/internal/es/src/bookings-v2-price-info-pricing.meta.js.map +0 -1
  123. package/build/internal/es/src/bookings-v2-price-info-pricing.public.js +0 -14
  124. package/build/internal/es/src/bookings-v2-price-info-pricing.public.js.map +0 -1
  125. package/build/internal/es/src/bookings-v2-price-info-pricing.types.js +0 -130
  126. package/build/internal/es/src/bookings-v2-price-info-pricing.types.js.map +0 -1
  127. package/build/internal/es/src/bookings-v2-price-info-pricing.universal.d.ts +0 -1025
  128. package/build/internal/es/src/bookings-v2-price-info-pricing.universal.js +0 -275
  129. package/build/internal/es/src/bookings-v2-price-info-pricing.universal.js.map +0 -1
@@ -1,4 +1,4 @@
1
- export interface PriceInfo extends PriceInfoTotalPriceOneOf {
1
+ interface PriceInfo extends PriceInfoTotalPriceOneOf {
2
2
  /**
3
3
  * Calculated total price. Available if the _service's_
4
4
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
@@ -36,7 +36,7 @@ export interface PriceInfo extends PriceInfoTotalPriceOneOf {
36
36
  deposit?: number | null;
37
37
  }
38
38
  /** @oneof */
39
- export interface PriceInfoTotalPriceOneOf {
39
+ interface PriceInfoTotalPriceOneOf {
40
40
  /**
41
41
  * Calculated total price. Available if the _service's_
42
42
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
@@ -61,7 +61,7 @@ export interface PriceInfoTotalPriceOneOf {
61
61
  */
62
62
  priceDescriptionInfo?: PriceDescriptionInfo;
63
63
  }
64
- export interface BookingLineItem {
64
+ interface BookingLineItem {
65
65
  /**
66
66
  * _Service ID_
67
67
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction)).
@@ -109,7 +109,7 @@ export interface BookingLineItem {
109
109
  */
110
110
  pricePerParticipant?: number | null;
111
111
  }
112
- export interface ServiceChoice extends ServiceChoiceChoiceOneOf {
112
+ interface ServiceChoice extends ServiceChoiceChoiceOneOf {
113
113
  /**
114
114
  * Value for one of the choices in the [`CustomServiceOption.choices`](https://example.com) list.
115
115
  * Choices are specific values for an option the customer can choose to book. For example,
@@ -127,7 +127,7 @@ export interface ServiceChoice extends ServiceChoiceChoiceOneOf {
127
127
  optionId?: string;
128
128
  }
129
129
  /** @oneof */
130
- export interface ServiceChoiceChoiceOneOf {
130
+ interface ServiceChoiceChoiceOneOf {
131
131
  /**
132
132
  * Value for one of the choices in the [`CustomServiceOption.choices`](https://example.com) list.
133
133
  * Choices are specific values for an option the customer can choose to book. For example,
@@ -137,7 +137,7 @@ export interface ServiceChoiceChoiceOneOf {
137
137
  custom?: string;
138
138
  duration?: Duration;
139
139
  }
140
- export interface Duration {
140
+ interface Duration {
141
141
  /**
142
142
  * Duration of the service in minutes.
143
143
  * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
@@ -152,7 +152,7 @@ export interface Duration {
152
152
  */
153
153
  name?: string | null;
154
154
  }
155
- export interface PriceDescriptionInfo {
155
+ interface PriceDescriptionInfo {
156
156
  /**
157
157
  * Price description in the site's main language. Refer to the *Site Properties API*
158
158
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/site-properties/properties/introduction))
@@ -167,7 +167,7 @@ export interface PriceDescriptionInfo {
167
167
  */
168
168
  translated?: string | null;
169
169
  }
170
- export interface PreviewPriceRequest {
170
+ interface PreviewPriceRequest {
171
171
  /**
172
172
  * List of line items to preview the price for.
173
173
  * @minSize 1
@@ -175,11 +175,11 @@ export interface PreviewPriceRequest {
175
175
  */
176
176
  bookingLineItems: BookingLineItem[];
177
177
  }
178
- export interface PreviewPriceResponse {
178
+ interface PreviewPriceResponse {
179
179
  /** Information about each line item's price and the estimated total price based on the line items. */
180
180
  priceInfo?: PriceInfo;
181
181
  }
182
- export interface CalculatePriceRequest {
182
+ interface CalculatePriceRequest {
183
183
  /**
184
184
  * _Booking_
185
185
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/introduction))
@@ -188,7 +188,7 @@ export interface CalculatePriceRequest {
188
188
  booking: Booking;
189
189
  }
190
190
  /** An entity representing a scheduled appointment, class session, or course. */
191
- export interface Booking extends BookingParticipantsInfoOneOf {
191
+ interface Booking extends BookingParticipantsInfoOneOf {
192
192
  /**
193
193
  * Total number of participants. Available only when the relevant service
194
194
  * doesn't have _variants and options_
@@ -207,7 +207,7 @@ export interface Booking extends BookingParticipantsInfoOneOf {
207
207
  * @format GUID
208
208
  * @readonly
209
209
  */
210
- id?: string | null;
210
+ _id?: string | null;
211
211
  /**
212
212
  * An object describing the *slot*
213
213
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability))
@@ -252,7 +252,7 @@ export interface Booking extends BookingParticipantsInfoOneOf {
252
252
  * Date and time the booking was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
253
253
  * @readonly
254
254
  */
255
- createdDate?: Date | null;
255
+ _createdDate?: Date | null;
256
256
  /** External user ID that you can provide. */
257
257
  externalUserId?: string | null;
258
258
  /**
@@ -284,7 +284,7 @@ export interface Booking extends BookingParticipantsInfoOneOf {
284
284
  * Date and time the booking was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
285
285
  * @readonly
286
286
  */
287
- updatedDate?: Date | null;
287
+ _updatedDate?: Date | null;
288
288
  /**
289
289
  * Custom field data for this object.
290
290
  * Extended fields must be configured in the app dashboard before they can be accessed with API calls.
@@ -298,7 +298,7 @@ export interface Booking extends BookingParticipantsInfoOneOf {
298
298
  doubleBooked?: boolean | null;
299
299
  }
300
300
  /** @oneof */
301
- export interface BookingParticipantsInfoOneOf {
301
+ interface BookingParticipantsInfoOneOf {
302
302
  /**
303
303
  * Total number of participants. Available only when the relevant service
304
304
  * doesn't have _variants and options_
@@ -319,14 +319,14 @@ export interface BookingParticipantsInfoOneOf {
319
319
  * Multi-service booking is available if each of its bookings is available separately.
320
320
  * For `SEQUENTIAL_BOOKINGS`, see `List Multi Service Availability Time Slots` documentation.
321
321
  */
322
- export declare enum MultiServiceBookingType {
322
+ declare enum MultiServiceBookingType {
323
323
  SEQUENTIAL_BOOKINGS = "SEQUENTIAL_BOOKINGS",
324
324
  SEPARATE_BOOKINGS = "SEPARATE_BOOKINGS",
325
325
  PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
326
326
  }
327
327
  /** @enumType */
328
- export type MultiServiceBookingTypeWithLiterals = MultiServiceBookingType | 'SEQUENTIAL_BOOKINGS' | 'SEPARATE_BOOKINGS' | 'PARALLEL_BOOKINGS';
329
- export interface BookedEntity extends BookedEntityItemOneOf {
328
+ type MultiServiceBookingTypeWithLiterals = MultiServiceBookingType | 'SEQUENTIAL_BOOKINGS' | 'SEPARATE_BOOKINGS' | 'PARALLEL_BOOKINGS';
329
+ interface BookedEntity extends BookedEntityItemOneOf {
330
330
  /**
331
331
  * Booked *slot*
332
332
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability)).
@@ -358,7 +358,7 @@ export interface BookedEntity extends BookedEntityItemOneOf {
358
358
  tags?: string[] | null;
359
359
  }
360
360
  /** @oneof */
361
- export interface BookedEntityItemOneOf {
361
+ interface BookedEntityItemOneOf {
362
362
  /**
363
363
  * Booked *slot*
364
364
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability)).
@@ -374,7 +374,7 @@ export interface BookedEntityItemOneOf {
374
374
  */
375
375
  schedule?: BookedSchedule;
376
376
  }
377
- export interface BookedSlot {
377
+ interface BookedSlot {
378
378
  /** Session ID. */
379
379
  sessionId?: string | null;
380
380
  /** Service ID. */
@@ -416,12 +416,12 @@ export interface BookedSlot {
416
416
  /** Location where the session takes place. */
417
417
  location?: Location;
418
418
  }
419
- export interface BookedResource {
419
+ interface BookedResource {
420
420
  /**
421
421
  * ID of the booking's primary resource.
422
422
  * @format GUID
423
423
  */
424
- id?: string;
424
+ _id?: string;
425
425
  /**
426
426
  * Resource's name at the time of booking.
427
427
  * @maxLength 40
@@ -438,13 +438,13 @@ export interface BookedResource {
438
438
  */
439
439
  scheduleId?: string | null;
440
440
  }
441
- export interface Location {
441
+ interface Location {
442
442
  /**
443
443
  * Business location ID. Available only for locations that are business locations,
444
444
  * meaning the `location_type` is `"OWNER_BUSINESS"`.
445
445
  * @format GUID
446
446
  */
447
- id?: string | null;
447
+ _id?: string | null;
448
448
  /** Location name. */
449
449
  name?: string | null;
450
450
  /** The full address of this location. */
@@ -463,15 +463,15 @@ export interface Location {
463
463
  */
464
464
  locationType?: LocationTypeWithLiterals;
465
465
  }
466
- export declare enum LocationType {
466
+ declare enum LocationType {
467
467
  UNDEFINED = "UNDEFINED",
468
468
  OWNER_BUSINESS = "OWNER_BUSINESS",
469
469
  OWNER_CUSTOM = "OWNER_CUSTOM",
470
470
  CUSTOM = "CUSTOM"
471
471
  }
472
472
  /** @enumType */
473
- export type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
474
- export interface BookedSchedule {
473
+ type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
474
+ interface BookedSchedule {
475
475
  /**
476
476
  * _Schedule ID_
477
477
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
@@ -507,7 +507,7 @@ export interface BookedSchedule {
507
507
  */
508
508
  lastSessionEnd?: string | null;
509
509
  }
510
- export interface ContactDetails {
510
+ interface ContactDetails {
511
511
  /**
512
512
  * Contact ID.
513
513
  * @format GUID
@@ -546,7 +546,7 @@ export interface ContactDetails {
546
546
  countryCode?: string | null;
547
547
  }
548
548
  /** Physical address */
549
- export interface Address extends AddressStreetOneOf {
549
+ interface Address extends AddressStreetOneOf {
550
550
  /** Street name, number and apartment number. */
551
551
  streetAddress?: StreetAddress;
552
552
  /** Main address line, usually street and number, as free text. */
@@ -576,13 +576,13 @@ export interface Address extends AddressStreetOneOf {
576
576
  subdivisions?: Subdivision[];
577
577
  }
578
578
  /** @oneof */
579
- export interface AddressStreetOneOf {
579
+ interface AddressStreetOneOf {
580
580
  /** Street name, number and apartment number. */
581
581
  streetAddress?: StreetAddress;
582
582
  /** Main address line, usually street and number, as free text. */
583
583
  addressLine?: string | null;
584
584
  }
585
- export interface StreetAddress {
585
+ interface StreetAddress {
586
586
  /** Street number. */
587
587
  number?: string;
588
588
  /** Street name. */
@@ -590,24 +590,24 @@ export interface StreetAddress {
590
590
  /** Apartment number. */
591
591
  apt?: string;
592
592
  }
593
- export interface AddressLocation {
593
+ interface AddressLocation {
594
594
  /** Address latitude. */
595
595
  latitude?: number | null;
596
596
  /** Address longitude. */
597
597
  longitude?: number | null;
598
598
  }
599
- export interface Subdivision {
599
+ interface Subdivision {
600
600
  /** Subdivision code. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
601
601
  code?: string;
602
602
  /** Subdivision full name. */
603
603
  name?: string;
604
604
  }
605
- export interface CustomFormField {
605
+ interface CustomFormField {
606
606
  /**
607
607
  * ID of the form field as defined in the form.
608
608
  * @format GUID
609
609
  */
610
- id?: string;
610
+ _id?: string;
611
611
  /** Value that was submitted for this field. */
612
612
  value?: string | null;
613
613
  /**
@@ -617,7 +617,7 @@ export interface CustomFormField {
617
617
  label?: string | null;
618
618
  valueType?: ValueTypeWithLiterals;
619
619
  }
620
- export declare enum ValueType {
620
+ declare enum ValueType {
621
621
  /** Short text. This is the default value type. */
622
622
  SHORT_TEXT = "SHORT_TEXT",
623
623
  /** Long text. */
@@ -626,9 +626,9 @@ export declare enum ValueType {
626
626
  CHECK_BOX = "CHECK_BOX"
627
627
  }
628
628
  /** @enumType */
629
- export type ValueTypeWithLiterals = ValueType | 'SHORT_TEXT' | 'LONG_TEXT' | 'CHECK_BOX';
629
+ type ValueTypeWithLiterals = ValueType | 'SHORT_TEXT' | 'LONG_TEXT' | 'CHECK_BOX';
630
630
  /** Booking status. */
631
- export declare enum BookingStatus {
631
+ declare enum BookingStatus {
632
632
  /**
633
633
  * The booking was created, but the customer hasn't completed the related
634
634
  * eCommerce order yet.
@@ -666,12 +666,12 @@ export declare enum BookingStatus {
666
666
  WAITING_LIST = "WAITING_LIST"
667
667
  }
668
668
  /** @enumType */
669
- export type BookingStatusWithLiterals = BookingStatus | 'CREATED' | 'CONFIRMED' | 'CANCELED' | 'PENDING' | 'DECLINED' | 'WAITING_LIST';
669
+ type BookingStatusWithLiterals = BookingStatus | 'CREATED' | 'CONFIRMED' | 'CANCELED' | 'PENDING' | 'DECLINED' | 'WAITING_LIST';
670
670
  /**
671
671
  * Payment status.
672
672
  * Automatically updated when using eCommerce checkout APIs.
673
673
  */
674
- export declare enum PaymentStatus {
674
+ declare enum PaymentStatus {
675
675
  /** Undefined payment status. */
676
676
  UNDEFINED = "UNDEFINED",
677
677
  /** The booking isn't paid. */
@@ -686,7 +686,7 @@ export declare enum PaymentStatus {
686
686
  EXEMPT = "EXEMPT"
687
687
  }
688
688
  /** @enumType */
689
- export type PaymentStatusWithLiterals = PaymentStatus | 'UNDEFINED' | 'NOT_PAID' | 'PAID' | 'PARTIALLY_PAID' | 'REFUNDED' | 'EXEMPT';
689
+ type PaymentStatusWithLiterals = PaymentStatus | 'UNDEFINED' | 'NOT_PAID' | 'PAID' | 'PARTIALLY_PAID' | 'REFUNDED' | 'EXEMPT';
690
690
  /**
691
691
  * Selected payment option.
692
692
  *
@@ -694,7 +694,7 @@ export type PaymentStatusWithLiterals = PaymentStatus | 'UNDEFINED' | 'NOT_PAID'
694
694
  * This field is set when the user selects an option during booking.
695
695
  * If left undefined, the payment option is resolved by the service configuration on checkout.
696
696
  */
697
- export declare enum SelectedPaymentOption {
697
+ declare enum SelectedPaymentOption {
698
698
  /** Undefined payment option. */
699
699
  UNDEFINED = "UNDEFINED",
700
700
  /** Offline payment. */
@@ -710,8 +710,8 @@ export declare enum SelectedPaymentOption {
710
710
  MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
711
711
  }
712
712
  /** @enumType */
713
- export type SelectedPaymentOptionWithLiterals = SelectedPaymentOption | 'UNDEFINED' | 'OFFLINE' | 'ONLINE' | 'MEMBERSHIP' | 'MEMBERSHIP_OFFLINE';
714
- export interface BookingSource {
713
+ type SelectedPaymentOptionWithLiterals = SelectedPaymentOption | 'UNDEFINED' | 'OFFLINE' | 'ONLINE' | 'MEMBERSHIP' | 'MEMBERSHIP_OFFLINE';
714
+ interface BookingSource {
715
715
  /** Platform from which a booking was created. */
716
716
  platform?: PlatformWithLiterals;
717
717
  /** Actor that created this booking. */
@@ -728,21 +728,21 @@ export interface BookingSource {
728
728
  */
729
729
  appName?: string | null;
730
730
  }
731
- export declare enum Platform {
731
+ declare enum Platform {
732
732
  UNDEFINED_PLATFORM = "UNDEFINED_PLATFORM",
733
733
  WEB = "WEB",
734
734
  MOBILE_APP = "MOBILE_APP"
735
735
  }
736
736
  /** @enumType */
737
- export type PlatformWithLiterals = Platform | 'UNDEFINED_PLATFORM' | 'WEB' | 'MOBILE_APP';
738
- export declare enum Actor {
737
+ type PlatformWithLiterals = Platform | 'UNDEFINED_PLATFORM' | 'WEB' | 'MOBILE_APP';
738
+ declare enum Actor {
739
739
  UNDEFINED_ACTOR = "UNDEFINED_ACTOR",
740
740
  BUSINESS = "BUSINESS",
741
741
  CUSTOMER = "CUSTOMER"
742
742
  }
743
743
  /** @enumType */
744
- export type ActorWithLiterals = Actor | 'UNDEFINED_ACTOR' | 'BUSINESS' | 'CUSTOMER';
745
- export interface ParticipantNotification {
744
+ type ActorWithLiterals = Actor | 'UNDEFINED_ACTOR' | 'BUSINESS' | 'CUSTOMER';
745
+ interface ParticipantNotification {
746
746
  /**
747
747
  * Whether to send the message about the changes to the customer.
748
748
  *
@@ -752,7 +752,7 @@ export interface ParticipantNotification {
752
752
  /** Custom message to send to the participants about the changes to the booking. */
753
753
  message?: string | null;
754
754
  }
755
- export interface IdentificationData extends IdentificationDataIdOneOf {
755
+ interface IdentificationData extends IdentificationDataIdOneOf {
756
756
  /**
757
757
  * ID of a site visitor that has not logged in to the site.
758
758
  * @format GUID
@@ -780,7 +780,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
780
780
  contactId?: string | null;
781
781
  }
782
782
  /** @oneof */
783
- export interface IdentificationDataIdOneOf {
783
+ interface IdentificationDataIdOneOf {
784
784
  /**
785
785
  * ID of a site visitor that has not logged in to the site.
786
786
  * @format GUID
@@ -802,16 +802,14 @@ export interface IdentificationDataIdOneOf {
802
802
  */
803
803
  appId?: string;
804
804
  }
805
- export declare enum IdentityType {
805
+ declare enum IdentityType {
806
806
  UNKNOWN = "UNKNOWN",
807
807
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
808
808
  MEMBER = "MEMBER",
809
809
  WIX_USER = "WIX_USER",
810
810
  APP = "APP"
811
811
  }
812
- /** @enumType */
813
- export type IdentityTypeWithLiterals = IdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
814
- export interface FlowControlSettings {
812
+ interface FlowControlSettings {
815
813
  /** Whether availability is checked when creating or confirming the booking. */
816
814
  skipAvailabilityValidation?: boolean;
817
815
  /**
@@ -833,7 +831,7 @@ export interface FlowControlSettings {
833
831
  */
834
832
  withRefund?: boolean | null;
835
833
  }
836
- export interface ExtendedFields {
834
+ interface ExtendedFields {
837
835
  /**
838
836
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
839
837
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -844,7 +842,7 @@ export interface ExtendedFields {
844
842
  */
845
843
  namespaces?: Record<string, Record<string, any>>;
846
844
  }
847
- export interface ParticipantChoices {
845
+ interface ParticipantChoices {
848
846
  /**
849
847
  * Information about the booked service choices. Includes the number of participants.
850
848
  * @minSize 1
@@ -852,7 +850,7 @@ export interface ParticipantChoices {
852
850
  */
853
851
  serviceChoices?: ServiceChoices[];
854
852
  }
855
- export interface ServiceChoices {
853
+ interface ServiceChoices {
856
854
  /**
857
855
  * Number of participants for this _variant_
858
856
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
@@ -865,22 +863,22 @@ export interface ServiceChoices {
865
863
  */
866
864
  choices?: ServiceChoice[];
867
865
  }
868
- export interface MultiServiceBookingInfo {
866
+ interface MultiServiceBookingInfo {
869
867
  /**
870
868
  * Multi-service booking ID.
871
869
  * @format GUID
872
870
  * @readonly
873
871
  */
874
- id?: string | null;
872
+ _id?: string | null;
875
873
  /** Type of the multi-service booking. */
876
874
  type?: MultiServiceBookingTypeWithLiterals;
877
875
  }
878
- export interface BookedAddOn {
876
+ interface BookedAddOn {
879
877
  /**
880
878
  * The ID of the Add-On.
881
879
  * @format GUID
882
880
  */
883
- id?: string;
881
+ _id?: string;
884
882
  /**
885
883
  * The ID of the Add-Ons group.
886
884
  * @format GUID
@@ -912,7 +910,9 @@ export interface BookedAddOn {
912
910
  */
913
911
  nameTranslated?: string | null;
914
912
  }
915
- export interface CalculatePriceResponse {
913
+ interface CalculatePriceResponse {
916
914
  /** Information about each line item's base price and the total base price. */
917
915
  priceInfo?: PriceInfo;
918
916
  }
917
+
918
+ export { Actor as A, type BookingLineItem as B, type CalculatePriceResponse as C, type Duration as D, type ParticipantNotification as E, type IdentificationData as F, type IdentificationDataIdOneOf as G, type FlowControlSettings as H, IdentityType as I, type ExtendedFields as J, type ParticipantChoices as K, LocationType as L, MultiServiceBookingType as M, type ServiceChoices as N, type MultiServiceBookingInfo as O, type PreviewPriceResponse as P, type BookedAddOn as Q, SelectedPaymentOption as S, ValueType as V, type Booking as a, BookingStatus as b, PaymentStatus as c, Platform as d, type PriceInfo as e, type PriceInfoTotalPriceOneOf as f, type ServiceChoice as g, type ServiceChoiceChoiceOneOf as h, type PriceDescriptionInfo as i, type PreviewPriceRequest as j, type CalculatePriceRequest as k, type BookingParticipantsInfoOneOf as l, type BookedEntity as m, type BookedEntityItemOneOf as n, type BookedSlot as o, type BookedResource as p, type Location as q, type BookedSchedule as r, type ContactDetails as s, type Address as t, type AddressStreetOneOf as u, type StreetAddress as v, type AddressLocation as w, type Subdivision as x, type CustomFormField as y, type BookingSource as z };