@wix/bookings 1.0.487 → 1.0.488

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.
@@ -3395,28 +3395,25 @@ declare enum ConnectMethod {
3395
3395
  CREDENTIALS = "CREDENTIALS"
3396
3396
  }
3397
3397
  declare enum ListEventFromCalendars {
3398
- /** Dont use. */
3398
+ /** Don't use. */
3399
3399
  UNDEFINED = "UNDEFINED",
3400
- /** Listing events from the external calendar is not supported. */
3400
+ /** Importing events from the external calendar is not supported. */
3401
3401
  NOT_SUPPORTED = "NOT_SUPPORTED",
3402
- /** Listing events from the primary external calendar only. */
3402
+ /** Events can be imported only from an external calendar designated as primary. */
3403
3403
  PRIMARY_CALENDAR_ONLY = "PRIMARY_CALENDAR_ONLY",
3404
- /**
3405
- * Listing events from specific external calendars.
3406
- * The external calendars can be listed using the `ExternalCalendarService.ListCalendars` API.
3407
- */
3404
+ /** Events can be imported from specific external calendars. Use [List Calendars](#list-calendars) to get a list of calendars for a connected external calendar account. */
3408
3405
  SPECIFIC_CALENDARS = "SPECIFIC_CALENDARS"
3409
3406
  }
3410
3407
  declare enum SyncToCalendar {
3411
- /** Dont use. */
3408
+ /** Don't use. */
3412
3409
  UNDEFINED = "UNDEFINED",
3413
- /** Syncing Wix calendar sessions to the external calendar is not supported. */
3410
+ /** Exporting events to an external calendar is not supported. */
3414
3411
  NOT_SUPPORTED = "NOT_SUPPORTED",
3415
- /** Syncing Wix calendar sessions to the primary external calendar only. */
3412
+ /** Events can only be exported to an external calendar designated as primary. */
3416
3413
  PRIMARY_CALENDAR_ONLY = "PRIMARY_CALENDAR_ONLY",
3417
- /** Syncing Wix calendar sessions to a specific external calendar. */
3414
+ /** Events can be exported to specific external calendars. Use [List Calendars](#list-calendars) to get a list of calendars for a connected external calendar account. */
3418
3415
  SPECIFIC_CALENDAR = "SPECIFIC_CALENDAR",
3419
- /** Syncing Wix calendar sessions to a new external calendar. */
3416
+ /** Events can be exported to a newly created, dedicated external calendar in the connected external calendar account. */
3420
3417
  DEDICATED_CALENDAR = "DEDICATED_CALENDAR"
3421
3418
  }
3422
3419
  interface GetConnectionRequest {
@@ -3912,7 +3909,7 @@ interface Schedule$4 {
3912
3909
  */
3913
3910
  externalCalendarOverrides?: ExternalCalendarOverrides$3;
3914
3911
  /**
3915
- * Schedule status.
3912
+ * Schedule status. Default: Created
3916
3913
  * @readonly
3917
3914
  */
3918
3915
  status?: ScheduleStatus$3;
@@ -3968,11 +3965,11 @@ interface RecurringInterval$3 {
3968
3965
  intervalType?: RecurringIntervalType$3;
3969
3966
  }
3970
3967
  interface Interval$4 {
3971
- /** The day the interval accrue. Optional. The default is the day of the recurring interval's start time. */
3968
+ /** The day the interval occurs. Optional. The default is the day of the recurring interval's start time. */
3972
3969
  daysOfWeek?: Day$3;
3973
- /** The hour of the day the interval accrue. must be consistent with the Interval start time. Options. The default is 0. minimum: 0, maximum: 23. */
3970
+ /** The hour of the day the interval occurs. Must be consistent with the interval start time. Optional. The default is 0. Minimum: 0, maximum: 23. */
3974
3971
  hourOfDay?: number | null;
3975
- /** The minutes of hour the interval accrue. must be consistent with the Interval end time. Options. The default is 0. minimum: 0, maximum: 59. */
3972
+ /** The minutes of the hour the interval accrues. Must be consistent with the interval end time. Optional. The default is 0. Minimum: 0, maximum: 59. */
3976
3973
  minuteOfHour?: number | null;
3977
3974
  /** The duration of the interval in minutes. Required. Part of the session end time calculation. */
3978
3975
  duration?: number;
@@ -4002,11 +3999,7 @@ interface Frequency$3 {
4002
3999
  interface LinkedSchedule$3 {
4003
4000
  /** Schedule ID. */
4004
4001
  scheduleId?: string;
4005
- /**
4006
- * Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`.
4007
- * If set to `"BUSY"`, this schedule cannot have any available slots during the linked schedule's sessions.
4008
- * If set to `"FREE"`, this schedule can have available slots during the linked schedule's sessions.
4009
- */
4002
+ /** Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`. */
4010
4003
  transparency?: Transparency$3;
4011
4004
  /**
4012
4005
  * Owner ID, of the linked schedule.
@@ -4016,19 +4009,19 @@ interface LinkedSchedule$3 {
4016
4009
  }
4017
4010
  declare enum Transparency$3 {
4018
4011
  UNDEFINED = "UNDEFINED",
4019
- /** The schedule can have available slots during the session. */
4012
+ /** The schedule can have available slots during the linked schedule's sessions. */
4020
4013
  FREE = "FREE",
4021
- /** The schedule cannot have available slots during the session. Default value. */
4014
+ /** The schedule can't have available slots during the linked schedule's sessions. */
4022
4015
  BUSY = "BUSY"
4023
4016
  }
4024
4017
  declare enum RecurringIntervalType$3 {
4025
4018
  /** The default value. Sessions for this interval will be of type EVENT. */
4026
4019
  UNDEFINED = "UNDEFINED",
4027
- /** A recurring interval of events */
4020
+ /** A recurring interval of events. */
4028
4021
  EVENT = "EVENT",
4029
- /** Deprecated */
4022
+ /** Deprecated. */
4030
4023
  TIME_AVAILABILITY = "TIME_AVAILABILITY",
4031
- /** A recurring interval for availability */
4024
+ /** A recurring interval for availability. */
4032
4025
  AVAILABILITY = "AVAILABILITY"
4033
4026
  }
4034
4027
  interface Location$6 {
@@ -4377,10 +4370,11 @@ interface ExternalCalendarOverrides$3 {
4377
4370
  description?: string | null;
4378
4371
  }
4379
4372
  declare enum ScheduleStatus$3 {
4373
+ /** Undefined schedule status. */
4380
4374
  UNDEFINED = "UNDEFINED",
4381
- /** The default value when the schedule is created. */
4375
+ /** The schedule was created. */
4382
4376
  CREATED = "CREATED",
4383
- /** The schedule has been canceled. */
4377
+ /** The schedule was cancelled. */
4384
4378
  CANCELLED = "CANCELLED"
4385
4379
  }
4386
4380
  interface Version$3 {
@@ -4414,6 +4408,7 @@ interface CalendarConference$3 {
4414
4408
  accountOwnerId?: string | null;
4415
4409
  }
4416
4410
  declare enum ConferenceType$3 {
4411
+ /** Undefined conference type. */
4417
4412
  UNDEFINED = "UNDEFINED",
4418
4413
  /** API-generated online meeting. */
4419
4414
  ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
@@ -4643,11 +4638,12 @@ interface ExternalCalendarInfo$3 {
4643
4638
  calendarType?: CalendarType$3;
4644
4639
  }
4645
4640
  declare enum SessionStatus {
4641
+ /** Undefined status. */
4646
4642
  UNDEFINED = "UNDEFINED",
4647
- /** The session is confirmed. Default status. */
4643
+ /** Session is confirmed. Default status. */
4648
4644
  CONFIRMED = "CONFIRMED",
4649
4645
  /**
4650
- * The session is cancelled.
4646
+ * Session is cancelled.
4651
4647
  * A cancelled session can be the cancellation of a recurring session that should no longer be displayed or a deleted single session.
4652
4648
  * The ListSessions returns cancelled sessions only if 'includeDelete' flag is set to true.
4653
4649
  */
@@ -4656,15 +4652,15 @@ declare enum SessionStatus {
4656
4652
  declare enum SessionType$3 {
4657
4653
  UNDEFINED = "UNDEFINED",
4658
4654
  /**
4659
- * The session creates an event on the calendar for the owner of the schedule that the session belongs to.
4655
+ * Creates an event on the calendar for the owner of the schedule that the session belongs to.
4660
4656
  * Default type.
4661
4657
  */
4662
4658
  EVENT = "EVENT",
4663
- /** The session represents a resource's available working hours. */
4659
+ /** Represents a resource's available working hours. */
4664
4660
  WORKING_HOURS = "WORKING_HOURS",
4665
- /** Deprecated. please use WORKING_HOURS */
4661
+ /** Deprecated. Please use WORKING_HOURS. */
4666
4662
  TIME_AVAILABILITY = "TIME_AVAILABILITY",
4667
- /** Deprecated. The session represents a resource's available hours. please use WORKING_HOURS */
4663
+ /** Deprecated. Represents a resource's available hours. Please use WORKING_HOURS. */
4668
4664
  AVAILABILITY = "AVAILABILITY"
4669
4665
  }
4670
4666
  interface SessionVersion$3 {
@@ -5441,7 +5437,7 @@ interface Resource$3 {
5441
5437
  */
5442
5438
  scheduleIds?: string[] | null;
5443
5439
  /**
5444
- * Resource status.
5440
+ * Resource status. Default: `CREATED`.
5445
5441
  * @readonly
5446
5442
  */
5447
5443
  status?: ResourceStatus$1;
@@ -5512,7 +5508,7 @@ interface Schedule$3 {
5512
5508
  */
5513
5509
  externalCalendarOverrides?: ExternalCalendarOverrides$2;
5514
5510
  /**
5515
- * Schedule status.
5511
+ * Schedule status. Default: Created
5516
5512
  * @readonly
5517
5513
  */
5518
5514
  status?: ScheduleStatus$2;
@@ -5568,11 +5564,11 @@ interface RecurringInterval$2 {
5568
5564
  intervalType?: RecurringIntervalType$2;
5569
5565
  }
5570
5566
  interface Interval$3 {
5571
- /** The day the interval accrue. Optional. The default is the day of the recurring interval's start time. */
5567
+ /** The day the interval occurs. Optional. The default is the day of the recurring interval's start time. */
5572
5568
  daysOfWeek?: Day$2;
5573
- /** The hour of the day the interval accrue. must be consistent with the Interval start time. Options. The default is 0. minimum: 0, maximum: 23. */
5569
+ /** The hour of the day the interval occurs. Must be consistent with the interval start time. Optional. The default is 0. Minimum: 0, maximum: 23. */
5574
5570
  hourOfDay?: number | null;
5575
- /** The minutes of hour the interval accrue. must be consistent with the Interval end time. Options. The default is 0. minimum: 0, maximum: 59. */
5571
+ /** The minutes of the hour the interval accrues. Must be consistent with the interval end time. Optional. The default is 0. Minimum: 0, maximum: 59. */
5576
5572
  minuteOfHour?: number | null;
5577
5573
  /** The duration of the interval in minutes. Required. Part of the session end time calculation. */
5578
5574
  duration?: number;
@@ -5602,11 +5598,7 @@ interface Frequency$2 {
5602
5598
  interface LinkedSchedule$2 {
5603
5599
  /** Schedule ID. */
5604
5600
  scheduleId?: string;
5605
- /**
5606
- * Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`.
5607
- * If set to `"BUSY"`, this schedule cannot have any available slots during the linked schedule's sessions.
5608
- * If set to `"FREE"`, this schedule can have available slots during the linked schedule's sessions.
5609
- */
5601
+ /** Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`. */
5610
5602
  transparency?: Transparency$2;
5611
5603
  /**
5612
5604
  * Owner ID, of the linked schedule.
@@ -5616,19 +5608,19 @@ interface LinkedSchedule$2 {
5616
5608
  }
5617
5609
  declare enum Transparency$2 {
5618
5610
  UNDEFINED = "UNDEFINED",
5619
- /** The schedule can have available slots during the session. */
5611
+ /** The schedule can have available slots during the linked schedule's sessions. */
5620
5612
  FREE = "FREE",
5621
- /** The schedule cannot have available slots during the session. Default value. */
5613
+ /** The schedule can't have available slots during the linked schedule's sessions. */
5622
5614
  BUSY = "BUSY"
5623
5615
  }
5624
5616
  declare enum RecurringIntervalType$2 {
5625
5617
  /** The default value. Sessions for this interval will be of type EVENT. */
5626
5618
  UNDEFINED = "UNDEFINED",
5627
- /** A recurring interval of events */
5619
+ /** A recurring interval of events. */
5628
5620
  EVENT = "EVENT",
5629
- /** Deprecated */
5621
+ /** Deprecated. */
5630
5622
  TIME_AVAILABILITY = "TIME_AVAILABILITY",
5631
- /** A recurring interval for availability */
5623
+ /** A recurring interval for availability. */
5632
5624
  AVAILABILITY = "AVAILABILITY"
5633
5625
  }
5634
5626
  interface Location$5 {
@@ -5979,10 +5971,11 @@ interface ExternalCalendarOverrides$2 {
5979
5971
  description?: string | null;
5980
5972
  }
5981
5973
  declare enum ScheduleStatus$2 {
5974
+ /** Undefined schedule status. */
5982
5975
  UNDEFINED = "UNDEFINED",
5983
- /** The default value when the schedule is created. */
5976
+ /** The schedule was created. */
5984
5977
  CREATED = "CREATED",
5985
- /** The schedule has been canceled. */
5978
+ /** The schedule was cancelled. */
5986
5979
  CANCELLED = "CANCELLED"
5987
5980
  }
5988
5981
  interface Version$2 {
@@ -6016,6 +6009,7 @@ interface CalendarConference$2 {
6016
6009
  accountOwnerId?: string | null;
6017
6010
  }
6018
6011
  declare enum ConferenceType$2 {
6012
+ /** Undefined conference type. */
6019
6013
  UNDEFINED = "UNDEFINED",
6020
6014
  /** API-generated online meeting. */
6021
6015
  ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
@@ -6023,8 +6017,9 @@ declare enum ConferenceType$2 {
6023
6017
  CUSTOM = "CUSTOM"
6024
6018
  }
6025
6019
  declare enum ResourceStatus$1 {
6020
+ /** Undefined resource status. */
6026
6021
  UNDEFINED = "UNDEFINED",
6027
- /** Default status. */
6022
+ /** The resource was created. */
6028
6023
  CREATED = "CREATED",
6029
6024
  /** The resource was deleted. */
6030
6025
  DELETED = "DELETED",
@@ -6036,10 +6031,15 @@ interface BusinessLocation$3 {
6036
6031
  locationId?: string;
6037
6032
  }
6038
6033
  declare enum Event$2 {
6034
+ /** Undefined resource event. */
6039
6035
  UNDEFINED = "UNDEFINED",
6036
+ /** The resource was updated. */
6040
6037
  Updated = "Updated",
6038
+ /** The resource was deleted. */
6041
6039
  Deleted = "Deleted",
6040
+ /** The resource was created. */
6042
6041
  Created = "Created",
6042
+ /** The schedule was updated. */
6043
6043
  Schedule_Updated = "Schedule_Updated"
6044
6044
  }
6045
6045
  interface Empty$6 {
@@ -6325,11 +6325,12 @@ declare enum CalendarType$2 {
6325
6325
  OTHER = "OTHER"
6326
6326
  }
6327
6327
  declare enum Status$3 {
6328
+ /** Undefined status. */
6328
6329
  UNDEFINED = "UNDEFINED",
6329
- /** The session is confirmed. Default status. */
6330
+ /** Session is confirmed. Default status. */
6330
6331
  CONFIRMED = "CONFIRMED",
6331
6332
  /**
6332
- * The session is cancelled.
6333
+ * Session is cancelled.
6333
6334
  * A cancelled session can be the cancellation of a recurring session that should no longer be displayed or a deleted single session.
6334
6335
  * The ListSessions returns cancelled sessions only if 'includeDelete' flag is set to true.
6335
6336
  */
@@ -6338,15 +6339,15 @@ declare enum Status$3 {
6338
6339
  declare enum SessionType$2 {
6339
6340
  UNDEFINED = "UNDEFINED",
6340
6341
  /**
6341
- * The session creates an event on the calendar for the owner of the schedule that the session belongs to.
6342
+ * Creates an event on the calendar for the owner of the schedule that the session belongs to.
6342
6343
  * Default type.
6343
6344
  */
6344
6345
  EVENT = "EVENT",
6345
- /** The session represents a resource's available working hours. */
6346
+ /** Represents a resource's available working hours. */
6346
6347
  WORKING_HOURS = "WORKING_HOURS",
6347
- /** Deprecated. please use WORKING_HOURS */
6348
+ /** Deprecated. Please use WORKING_HOURS. */
6348
6349
  TIME_AVAILABILITY = "TIME_AVAILABILITY",
6349
- /** Deprecated. The session represents a resource's available hours. please use WORKING_HOURS */
6350
+ /** Deprecated. Represents a resource's available hours. Please use WORKING_HOURS. */
6350
6351
  AVAILABILITY = "AVAILABILITY"
6351
6352
  }
6352
6353
  interface SessionVersion$2 {
@@ -8731,8 +8732,11 @@ interface ExtendedBooking {
8731
8732
  conferencingDetails?: ConferencingDetails;
8732
8733
  }
8733
8734
  declare enum AttendanceStatus$1 {
8735
+ /** There is no available attendance information. */
8734
8736
  NOT_SET = "NOT_SET",
8737
+ /** At least a single participant attended the session. */
8735
8738
  ATTENDED = "ATTENDED",
8739
+ /** No participants attended the session. */
8736
8740
  NOT_ATTENDED = "NOT_ATTENDED"
8737
8741
  }
8738
8742
  /** The booking object, version 2. */
@@ -8758,24 +8762,13 @@ interface Booking$2 extends BookingParticipantsInfoOneOf$2 {
8758
8762
  /**
8759
8763
  * Booking status.
8760
8764
  *
8761
- * Supported values:
8762
- * - `CREATED`: The booking was created.
8763
- * - `UPDATED`: The booking was updated.
8764
- * - `PENDING`: The booking is waiting to be confirmed or declined by the business owner. A booking is automatically set as `PENDING` if the service is configured to require manual business onwer confirmation and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created.
8765
- * - `CONFIRMED`: The booking was confirmed. A booking is automatically confirmed if the service is configured to automatically confirm bookings and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created. If the service isn't configured to automatically confirm bookings, you can use [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/bookings-v2/bookings-v2-and-confirmation/confirm-or-decline-booking).
8766
- * - `DECLINED`: The booking was declined by the business owner. A booking is also declined if an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created that resulted in a double booking.
8767
- * - `CANCELED`: The booking was canceled.
8768
- * - `WAITING_LIST`: The booking is on a wait list.
8765
+ * - A booking is automatically confirmed if the service is configured to automatically confirm bookings and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created. If the service isn't configured to automatically confirm bookings, you can use [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/bookings-v2/bookings-v2-and-confirmation/confirm-or-decline-booking).
8766
+ * - A booking is also declined if an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created that resulted in a double booking.
8769
8767
  */
8770
8768
  status?: BookingStatus$2;
8771
8769
  /**
8772
8770
  * Payment status.
8773
- * One of:
8774
- * - `"NOT_PAID"` The booking is not paid for.
8775
- * - `"PAID"` The booking is fully paid.
8776
- * - `"PARTIALLY_PAID"` The booking is partially paid.
8777
- * - `"REFUNDED"` The booking is refunded.
8778
- * - `"EXEMPT"` The booking is free of charge.
8771
+ * `PAID` and `PARTIALLY_PAID` are currently not supported.
8779
8772
  */
8780
8773
  paymentStatus?: PaymentStatus$2;
8781
8774
  /**
@@ -8832,19 +8825,15 @@ interface BookingParticipantsInfoOneOf$2 {
8832
8825
  */
8833
8826
  participantsChoices?: ParticipantChoices$2;
8834
8827
  }
8828
+ /**
8829
+ * Multi service booking will be considered available if its bookings are available as returned from ListMultiServiceAvailabilityTimeSlots API.
8830
+ * Currently, `SEPERATE_BOOKINGS` and `PARALLEL_BOOKINGS` are not supported.
8831
+ * Multi service booking will be considered available if each of its bookings is available separately.
8832
+ * For `SEQUENTIAL_BOOKINGS`, see [List Multi Service Availability Time Slots] (url) documentation // todo: complete url
8833
+ */
8835
8834
  declare enum MultiServiceBookingType$2 {
8836
- /**
8837
- * Multi service booking will be considered available if its bookings are
8838
- * available as returned from ListMultiServiceAvailabilityTimeSlots API.
8839
- * See [List Multi Service Availability Time Slots] (url) documentation // todo: complete url
8840
- */
8841
8835
  SEQUENTIAL_BOOKINGS = "SEQUENTIAL_BOOKINGS",
8842
- /**
8843
- * Multi service booking will be considered available if each of its bookings is available separately.
8844
- * Not supported yet
8845
- */
8846
8836
  SEPARATE_BOOKINGS = "SEPARATE_BOOKINGS",
8847
- /** Not supported yet */
8848
8837
  PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
8849
8838
  }
8850
8839
  interface BookedEntity$2 extends BookedEntityItemOneOf$2 {
@@ -9066,18 +9055,24 @@ interface CustomFormField$2 {
9066
9055
  declare enum ValueType$2 {
9067
9056
  /** Short text. This is the default value type. */
9068
9057
  SHORT_TEXT = "SHORT_TEXT",
9069
- /** Long text */
9058
+ /** Long text. */
9070
9059
  LONG_TEXT = "LONG_TEXT",
9071
- /** a text that represent the check box value: if selected the value is "true", otherwise "false". */
9060
+ /** A text that represents the check box value. If selected the value is `true`, otherwise `false`. */
9072
9061
  CHECK_BOX = "CHECK_BOX"
9073
9062
  }
9074
9063
  /** Booking status. */
9075
9064
  declare enum BookingStatus$2 {
9065
+ /** The booking was created. */
9076
9066
  CREATED = "CREATED",
9067
+ /** The booking was confirmed. */
9077
9068
  CONFIRMED = "CONFIRMED",
9069
+ /** The booking was canceled. */
9078
9070
  CANCELED = "CANCELED",
9071
+ /** The booking is waiting to be confirmed or declined by the business owner. */
9079
9072
  PENDING = "PENDING",
9073
+ /** The booking was declined by the business owner. */
9080
9074
  DECLINED = "DECLINED",
9075
+ /** The booking is on a wait list. */
9081
9076
  WAITING_LIST = "WAITING_LIST"
9082
9077
  }
9083
9078
  /**
@@ -9085,13 +9080,17 @@ declare enum BookingStatus$2 {
9085
9080
  * Automatically updated when using eCom checkout APIs.
9086
9081
  */
9087
9082
  declare enum PaymentStatus$2 {
9083
+ /** Undefined payment status. */
9088
9084
  UNDEFINED = "UNDEFINED",
9085
+ /** The booking is not paid for. */
9089
9086
  NOT_PAID = "NOT_PAID",
9087
+ /** The booking is fully paid. */
9090
9088
  PAID = "PAID",
9091
- /** not supported yet. */
9089
+ /** The booking is partially paid. */
9092
9090
  PARTIALLY_PAID = "PARTIALLY_PAID",
9093
- /** not supported yet */
9091
+ /** The booking is refunded. */
9094
9092
  REFUNDED = "REFUNDED",
9093
+ /** The booking is free of charge. */
9095
9094
  EXEMPT = "EXEMPT"
9096
9095
  }
9097
9096
  /**
@@ -9101,9 +9100,13 @@ declare enum PaymentStatus$2 {
9101
9100
  * If left undefined, the payment option is resolved by the service configuration on checkout.
9102
9101
  */
9103
9102
  declare enum SelectedPaymentOption$2 {
9103
+ /** Undefined payment option. */
9104
9104
  UNDEFINED = "UNDEFINED",
9105
+ /** Offline payment. */
9105
9106
  OFFLINE = "OFFLINE",
9107
+ /** Online payment. */
9106
9108
  ONLINE = "ONLINE",
9109
+ /** Payment using a membership. */
9107
9110
  MEMBERSHIP = "MEMBERSHIP",
9108
9111
  /** Payment can only be done using a membership and must be manually redeemed in the dashboard by the site owner. */
9109
9112
  MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
@@ -12146,14 +12149,7 @@ interface Payment extends PaymentRateOneOf {
12146
12149
  * Required when: `rateType` is `VARIED`
12147
12150
  */
12148
12151
  varied?: VariedPayment;
12149
- /**
12150
- * The rate the customer is expected to pay for the service.
12151
- * Can be:
12152
- * - `FIXED`: The service has a fixed price.
12153
- * - `CUSTOM`: The service has a custom price, expressed as a price description.
12154
- * - `VARIED`: This service is offered with a set of different prices based on different terms.
12155
- * - `NO_FEE`: This service is offered free of charge.
12156
- */
12152
+ /** The rate the customer is expected to pay for the service. */
12157
12153
  rateType?: RateType;
12158
12154
  /** The payment options a customer can use to pay for the service. */
12159
12155
  options?: PaymentOptions;
@@ -12186,6 +12182,7 @@ interface PaymentRateOneOf {
12186
12182
  varied?: VariedPayment;
12187
12183
  }
12188
12184
  declare enum RateType {
12185
+ /** Unknown rate type. */
12189
12186
  UNKNOWN_RATE_TYPE = "UNKNOWN_RATE_TYPE",
12190
12187
  /** The service has a fixed price. */
12191
12188
  FIXED = "FIXED",
@@ -12297,9 +12294,7 @@ interface V2Location extends V2LocationOptionsOneOf {
12297
12294
  _id?: string;
12298
12295
  /**
12299
12296
  * The type of location:
12300
- * - `CUSTOM`: The location is specific to this service, and is not derived from the business location.
12301
- * - `BUSINESS`: A business location, either the default business address, or locations defined for the business by the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations).
12302
- * - `CUSTOMER`: Will be determined by the customer. For appointments only.
12297
+ * Default: `CUSTOM`
12303
12298
  */
12304
12299
  type?: LocationTypeEnumLocationType;
12305
12300
  /**
@@ -12319,9 +12314,9 @@ declare enum LocationTypeEnumLocationType {
12319
12314
  UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
12320
12315
  /** The location is unique to this service and isn't defined as one of the business locations. `CUSTOM` is the equivalent of the `OWNER_CUSTOM` location type in [Schedules & Sessions API](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions). */
12321
12316
  CUSTOM = "CUSTOM",
12322
- /** The location is one of the business locations available using the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations). */
12317
+ /** A business location, either the default business address, or locations defined for the business by the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations). */
12323
12318
  BUSINESS = "BUSINESS",
12324
- /** The location can be determined by the customer and is not set up beforehand. This is applicable to services of type `APPOINTMENT` only. */
12319
+ /** Will be determined by the customer. For appointments only. */
12325
12320
  CUSTOMER = "CUSTOMER"
12326
12321
  }
12327
12322
  interface CommonAddress extends CommonAddressStreetOneOf {
@@ -13152,8 +13147,9 @@ interface GetServiceRequest {
13152
13147
  serviceId: string;
13153
13148
  }
13154
13149
  declare enum RequestedFields$1 {
13150
+ /** Unknown requested field. */
13155
13151
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
13156
- /** When passed, `service.staff_members` is returned */
13152
+ /** When passed, `service.staff_members` is returned. */
13157
13153
  STAFF_MEMBER_DETAILS = "STAFF_MEMBER_DETAILS",
13158
13154
  /** When passed, `service.service_resources.resource_type.name` is */
13159
13155
  RESOURCE_TYPE_DETAILS = "RESOURCE_TYPE_DETAILS"
@@ -13548,20 +13544,21 @@ interface DateHistogramAggregation {
13548
13544
  interval?: DateHistogramAggregationInterval;
13549
13545
  }
13550
13546
  declare enum DateHistogramAggregationInterval {
13547
+ /** Unknown interval. */
13551
13548
  UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
13552
- /** Yearly interval */
13549
+ /** Yearly interval. */
13553
13550
  YEAR = "YEAR",
13554
- /** Monthly interval */
13551
+ /** Monthly interval. */
13555
13552
  MONTH = "MONTH",
13556
- /** Weekly interval */
13553
+ /** Weekly interval. */
13557
13554
  WEEK = "WEEK",
13558
- /** Daily interval */
13555
+ /** Daily interval. */
13559
13556
  DAY = "DAY",
13560
- /** Hourly interval */
13557
+ /** Hourly interval. */
13561
13558
  HOUR = "HOUR",
13562
- /** Minute interval */
13559
+ /** Minute interval. */
13563
13560
  MINUTE = "MINUTE",
13564
- /** Second interval */
13561
+ /** Second interval. */
13565
13562
  SECOND = "SECOND"
13566
13563
  }
13567
13564
  interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
@@ -14050,12 +14047,12 @@ interface ValidateSlugResponse {
14050
14047
  * be set as a slug for the service and is populated with the requested
14051
14048
  * slug. Otherwise, `slugName` is empty.
14052
14049
  * If the slug is invalid, this field is populated with the reasons why the
14053
- * slug is invalid. Validation errors may include `SLUG_IS_TOO_LONG`,
14054
- * `SLUG_CONTAIN_ILLEGAL_CHARACTERS`, and `SLUG_ALREADY_EXISTS`.
14050
+ * slug is invalid.
14055
14051
  */
14056
14052
  errors?: InvalidSlugError[];
14057
14053
  }
14058
14054
  declare enum InvalidSlugError {
14055
+ /** Unknown invalid slug error. */
14059
14056
  UNKNOWN_SLUG_ERROR = "UNKNOWN_SLUG_ERROR",
14060
14057
  /** The provided slug name contains illegal characters. */
14061
14058
  SLUG_CONTAINS_ILLEGAL_CHARACTERS = "SLUG_CONTAINS_ILLEGAL_CHARACTERS",
@@ -14079,20 +14076,24 @@ interface CloneServiceRequest {
14079
14076
  cloneServiceName?: string | null;
14080
14077
  }
14081
14078
  interface CloneServiceResponse {
14082
- /** Cloned service */
14079
+ /**
14080
+ * Cloned service.
14081
+ * Source form is used when booking the cloned service.
14082
+ */
14083
14083
  service?: Service;
14084
- /** List of entity types that we failed to clone */
14084
+ /** List of entity types that failed to clone. */
14085
14085
  errors?: CloneErrors[];
14086
14086
  }
14087
14087
  declare enum CloneErrors {
14088
+ /** Unknown clone error. */
14088
14089
  UNKNOWN_CLONE_ERROR = "UNKNOWN_CLONE_ERROR",
14089
- /** Failed to clone sessions of active service's schedule */
14090
+ /** Failed to clone sessions of active service's schedule. */
14090
14091
  SESSIONS = "SESSIONS",
14091
- /** Failed to clone service's options and variants even though source service have them */
14092
+ /** Failed to clone service's options and variants even though source service has them. */
14092
14093
  OPTIONS_AND_VARIANTS = "OPTIONS_AND_VARIANTS",
14093
- /** Failed to clone service's form */
14094
+ /** Failed to clone service's form. */
14094
14095
  FORM = "FORM",
14095
- /** Failed to clone pricing plans connected to the source service */
14096
+ /** Failed to clone pricing plans connected to the source service. */
14096
14097
  PRICING_PLANS = "PRICING_PLANS"
14097
14098
  }
14098
14099
  /** An event sent every time a category entity is changed. */
@@ -14112,10 +14113,6 @@ interface Category$1 {
14112
14113
  /**
14113
14114
  * Category status.
14114
14115
  *
14115
- * Supported values:
14116
- * - `"CREATED"`: The category is created.
14117
- * - `"DELETED"`: The category is deleted.
14118
- *
14119
14116
  * Default: `"CREATED"`
14120
14117
  * @readonly
14121
14118
  */
@@ -14124,9 +14121,9 @@ interface Category$1 {
14124
14121
  sortOrder?: number | null;
14125
14122
  }
14126
14123
  declare enum CategoryStatus {
14127
- /** The category is created. */
14124
+ /** The category was created. */
14128
14125
  CREATED = "CREATED",
14129
- /** The category is deleted. */
14126
+ /** The category was deleted. */
14130
14127
  DELETED = "DELETED"
14131
14128
  }
14132
14129
  declare enum CategoryNotificationEvent {
@@ -14243,7 +14240,7 @@ interface Schedule$1 {
14243
14240
  */
14244
14241
  externalCalendarOverrides?: ExternalCalendarOverrides$1;
14245
14242
  /**
14246
- * Schedule status.
14243
+ * Schedule status. Default: Created
14247
14244
  * @readonly
14248
14245
  */
14249
14246
  status?: ScheduleStatus$1;
@@ -14299,11 +14296,11 @@ interface RecurringInterval$1 {
14299
14296
  intervalType?: RecurringIntervalType$1;
14300
14297
  }
14301
14298
  interface Interval$1 {
14302
- /** The day the interval accrue. Optional. The default is the day of the recurring interval's start time. */
14299
+ /** The day the interval occurs. Optional. The default is the day of the recurring interval's start time. */
14303
14300
  daysOfWeek?: Day$1;
14304
- /** The hour of the day the interval accrue. must be consistent with the Interval start time. Options. The default is 0. minimum: 0, maximum: 23. */
14301
+ /** The hour of the day the interval occurs. Must be consistent with the interval start time. Optional. The default is 0. Minimum: 0, maximum: 23. */
14305
14302
  hourOfDay?: number | null;
14306
- /** The minutes of hour the interval accrue. must be consistent with the Interval end time. Options. The default is 0. minimum: 0, maximum: 59. */
14303
+ /** The minutes of the hour the interval accrues. Must be consistent with the interval end time. Optional. The default is 0. Minimum: 0, maximum: 59. */
14307
14304
  minuteOfHour?: number | null;
14308
14305
  /** The duration of the interval in minutes. Required. Part of the session end time calculation. */
14309
14306
  duration?: number;
@@ -14333,11 +14330,7 @@ interface Frequency$1 {
14333
14330
  interface LinkedSchedule$1 {
14334
14331
  /** Schedule ID. */
14335
14332
  scheduleId?: string;
14336
- /**
14337
- * Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`.
14338
- * If set to `"BUSY"`, this schedule cannot have any available slots during the linked schedule's sessions.
14339
- * If set to `"FREE"`, this schedule can have available slots during the linked schedule's sessions.
14340
- */
14333
+ /** Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`. */
14341
14334
  transparency?: Transparency$1;
14342
14335
  /**
14343
14336
  * Owner ID, of the linked schedule.
@@ -14347,19 +14340,19 @@ interface LinkedSchedule$1 {
14347
14340
  }
14348
14341
  declare enum Transparency$1 {
14349
14342
  UNDEFINED = "UNDEFINED",
14350
- /** The schedule can have available slots during the session. */
14343
+ /** The schedule can have available slots during the linked schedule's sessions. */
14351
14344
  FREE = "FREE",
14352
- /** The schedule cannot have available slots during the session. Default value. */
14345
+ /** The schedule can't have available slots during the linked schedule's sessions. */
14353
14346
  BUSY = "BUSY"
14354
14347
  }
14355
14348
  declare enum RecurringIntervalType$1 {
14356
14349
  /** The default value. Sessions for this interval will be of type EVENT. */
14357
14350
  UNDEFINED = "UNDEFINED",
14358
- /** A recurring interval of events */
14351
+ /** A recurring interval of events. */
14359
14352
  EVENT = "EVENT",
14360
- /** Deprecated */
14353
+ /** Deprecated. */
14361
14354
  TIME_AVAILABILITY = "TIME_AVAILABILITY",
14362
- /** A recurring interval for availability */
14355
+ /** A recurring interval for availability. */
14363
14356
  AVAILABILITY = "AVAILABILITY"
14364
14357
  }
14365
14358
  interface Location$3 {
@@ -14710,10 +14703,11 @@ interface ExternalCalendarOverrides$1 {
14710
14703
  description?: string | null;
14711
14704
  }
14712
14705
  declare enum ScheduleStatus$1 {
14706
+ /** Undefined schedule status. */
14713
14707
  UNDEFINED = "UNDEFINED",
14714
- /** The default value when the schedule is created. */
14708
+ /** The schedule was created. */
14715
14709
  CREATED = "CREATED",
14716
- /** The schedule has been canceled. */
14710
+ /** The schedule was cancelled. */
14717
14711
  CANCELLED = "CANCELLED"
14718
14712
  }
14719
14713
  interface Version$1 {
@@ -14747,6 +14741,7 @@ interface CalendarConference$1 {
14747
14741
  accountOwnerId?: string | null;
14748
14742
  }
14749
14743
  declare enum ConferenceType$1 {
14744
+ /** Undefined conference type. */
14750
14745
  UNDEFINED = "UNDEFINED",
14751
14746
  /** API-generated online meeting. */
14752
14747
  ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
@@ -14987,11 +14982,12 @@ declare enum CalendarType$1 {
14987
14982
  OTHER = "OTHER"
14988
14983
  }
14989
14984
  declare enum Status$2 {
14985
+ /** Undefined status. */
14990
14986
  UNDEFINED = "UNDEFINED",
14991
- /** The session is confirmed. Default status. */
14987
+ /** Session is confirmed. Default status. */
14992
14988
  CONFIRMED = "CONFIRMED",
14993
14989
  /**
14994
- * The session is cancelled.
14990
+ * Session is cancelled.
14995
14991
  * A cancelled session can be the cancellation of a recurring session that should no longer be displayed or a deleted single session.
14996
14992
  * The ListSessions returns cancelled sessions only if 'includeDelete' flag is set to true.
14997
14993
  */
@@ -15000,15 +14996,15 @@ declare enum Status$2 {
15000
14996
  declare enum SessionType$1 {
15001
14997
  UNDEFINED = "UNDEFINED",
15002
14998
  /**
15003
- * The session creates an event on the calendar for the owner of the schedule that the session belongs to.
14999
+ * Creates an event on the calendar for the owner of the schedule that the session belongs to.
15004
15000
  * Default type.
15005
15001
  */
15006
15002
  EVENT = "EVENT",
15007
- /** The session represents a resource's available working hours. */
15003
+ /** Represents a resource's available working hours. */
15008
15004
  WORKING_HOURS = "WORKING_HOURS",
15009
- /** Deprecated. please use WORKING_HOURS */
15005
+ /** Deprecated. Please use WORKING_HOURS. */
15010
15006
  TIME_AVAILABILITY = "TIME_AVAILABILITY",
15011
- /** Deprecated. The session represents a resource's available hours. please use WORKING_HOURS */
15007
+ /** Deprecated. Represents a resource's available hours. Please use WORKING_HOURS. */
15012
15008
  AVAILABILITY = "AVAILABILITY"
15013
15009
  }
15014
15010
  interface SessionVersion$1 {
@@ -15147,7 +15143,7 @@ interface Resource$1 {
15147
15143
  */
15148
15144
  scheduleIds?: string[] | null;
15149
15145
  /**
15150
- * Resource status.
15146
+ * Resource status. Default: `CREATED`.
15151
15147
  * @readonly
15152
15148
  */
15153
15149
  status?: ResourceStatus;
@@ -15159,8 +15155,9 @@ interface Resource$1 {
15159
15155
  wixUserId?: string | null;
15160
15156
  }
15161
15157
  declare enum ResourceStatus {
15158
+ /** Undefined resource status. */
15162
15159
  UNDEFINED = "UNDEFINED",
15163
- /** Default status. */
15160
+ /** The resource was created. */
15164
15161
  CREATED = "CREATED",
15165
15162
  /** The resource was deleted. */
15166
15163
  DELETED = "DELETED",
@@ -15172,10 +15169,15 @@ interface BusinessLocation {
15172
15169
  locationId?: string;
15173
15170
  }
15174
15171
  declare enum ResourceNotificationEvent {
15172
+ /** Undefined resource event. */
15175
15173
  UNDEFINED = "UNDEFINED",
15174
+ /** The resource was updated. */
15176
15175
  Updated = "Updated",
15176
+ /** The resource was deleted. */
15177
15177
  Deleted = "Deleted",
15178
+ /** The resource was created. */
15178
15179
  Created = "Created",
15180
+ /** The schedule was updated. */
15179
15181
  Schedule_Updated = "Schedule_Updated"
15180
15182
  }
15181
15183
  interface BenefitNotification {
@@ -21693,12 +21695,7 @@ interface Booking$1 extends BookingParticipantsInfoOneOf$1 {
21693
21695
  status?: BookingStatus$1;
21694
21696
  /**
21695
21697
  * Payment status.
21696
- * One of:
21697
- * - `"NOT_PAID"` The booking is not paid for.
21698
- * - `"PAID"` The booking is fully paid.
21699
- * - `"PARTIALLY_PAID"` The booking is partially paid.
21700
- * - `"REFUNDED"` The booking is refunded.
21701
- * - `"EXEMPT"` The booking is free of charge.
21698
+ * `PAID` and `PARTIALLY_PAID` are currently not supported.
21702
21699
  */
21703
21700
  paymentStatus?: PaymentStatus$1;
21704
21701
  /**
@@ -21755,19 +21752,15 @@ interface BookingParticipantsInfoOneOf$1 {
21755
21752
  */
21756
21753
  participantsChoices?: ParticipantChoices$1;
21757
21754
  }
21755
+ /**
21756
+ * Multi service booking will be considered available if its bookings are available as returned from ListMultiServiceAvailabilityTimeSlots API.
21757
+ * Currently, `SEPERATE_BOOKINGS` and `PARALLEL_BOOKINGS` are not supported.
21758
+ * Multi service booking will be considered available if each of its bookings is available separately.
21759
+ * For `SEQUENTIAL_BOOKINGS`, see [List Multi Service Availability Time Slots] (url) documentation // todo: complete url
21760
+ */
21758
21761
  declare enum MultiServiceBookingType$1 {
21759
- /**
21760
- * Multi service booking will be considered available if its bookings are
21761
- * available as returned from ListMultiServiceAvailabilityTimeSlots API.
21762
- * See [List Multi Service Availability Time Slots] (url) documentation // todo: complete url
21763
- */
21764
21762
  SEQUENTIAL_BOOKINGS = "SEQUENTIAL_BOOKINGS",
21765
- /**
21766
- * Multi service booking will be considered available if each of its bookings is available separately.
21767
- * Not supported yet
21768
- */
21769
21763
  SEPARATE_BOOKINGS = "SEPARATE_BOOKINGS",
21770
- /** Not supported yet */
21771
21764
  PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
21772
21765
  }
21773
21766
  interface BookedEntity$1 extends BookedEntityItemOneOf$1 {
@@ -21989,18 +21982,24 @@ interface CustomFormField$1 {
21989
21982
  declare enum ValueType$1 {
21990
21983
  /** Short text. This is the default value type. */
21991
21984
  SHORT_TEXT = "SHORT_TEXT",
21992
- /** Long text */
21985
+ /** Long text. */
21993
21986
  LONG_TEXT = "LONG_TEXT",
21994
- /** a text that represent the check box value: if selected the value is "true", otherwise "false". */
21987
+ /** A text that represents the check box value. If selected the value is `true`, otherwise `false`. */
21995
21988
  CHECK_BOX = "CHECK_BOX"
21996
21989
  }
21997
21990
  /** Booking status. */
21998
21991
  declare enum BookingStatus$1 {
21992
+ /** The booking was created. */
21999
21993
  CREATED = "CREATED",
21994
+ /** The booking was confirmed. */
22000
21995
  CONFIRMED = "CONFIRMED",
21996
+ /** The booking was canceled. */
22001
21997
  CANCELED = "CANCELED",
21998
+ /** The booking is waiting to be confirmed or declined by the business owner. */
22002
21999
  PENDING = "PENDING",
22000
+ /** The booking was declined by the business owner. */
22003
22001
  DECLINED = "DECLINED",
22002
+ /** The booking is on a wait list. */
22004
22003
  WAITING_LIST = "WAITING_LIST"
22005
22004
  }
22006
22005
  /**
@@ -22008,13 +22007,17 @@ declare enum BookingStatus$1 {
22008
22007
  * Automatically updated when using eCom checkout APIs.
22009
22008
  */
22010
22009
  declare enum PaymentStatus$1 {
22010
+ /** Undefined payment status. */
22011
22011
  UNDEFINED = "UNDEFINED",
22012
+ /** The booking is not paid for. */
22012
22013
  NOT_PAID = "NOT_PAID",
22014
+ /** The booking is fully paid. */
22013
22015
  PAID = "PAID",
22014
- /** not supported yet. */
22016
+ /** The booking is partially paid. */
22015
22017
  PARTIALLY_PAID = "PARTIALLY_PAID",
22016
- /** not supported yet */
22018
+ /** The booking is refunded. */
22017
22019
  REFUNDED = "REFUNDED",
22020
+ /** The booking is free of charge. */
22018
22021
  EXEMPT = "EXEMPT"
22019
22022
  }
22020
22023
  /**
@@ -22024,9 +22027,13 @@ declare enum PaymentStatus$1 {
22024
22027
  * If left undefined, the payment option is resolved by the service configuration on checkout.
22025
22028
  */
22026
22029
  declare enum SelectedPaymentOption$1 {
22030
+ /** Undefined payment option. */
22027
22031
  UNDEFINED = "UNDEFINED",
22032
+ /** Offline payment. */
22028
22033
  OFFLINE = "OFFLINE",
22034
+ /** Online payment. */
22029
22035
  ONLINE = "ONLINE",
22036
+ /** Payment using a membership. */
22030
22037
  MEMBERSHIP = "MEMBERSHIP",
22031
22038
  /** Payment can only be done using a membership and must be manually redeemed in the dashboard by the site owner. */
22032
22039
  MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
@@ -22286,9 +22293,13 @@ interface V2Slot {
22286
22293
  location?: SlotLocation;
22287
22294
  }
22288
22295
  declare enum LocationLocationType {
22296
+ /** Undefined location type. */
22289
22297
  UNDEFINED = "UNDEFINED",
22298
+ /** The business address as set in the site’s general settings. */
22290
22299
  OWNER_BUSINESS = "OWNER_BUSINESS",
22300
+ /** The address as set when creating the service. */
22291
22301
  OWNER_CUSTOM = "OWNER_CUSTOM",
22302
+ /** The address set for the individual session. */
22292
22303
  CUSTOM = "CUSTOM"
22293
22304
  }
22294
22305
  interface SlotSlotResource {
@@ -22307,13 +22318,7 @@ interface SlotLocation {
22307
22318
  name?: string | null;
22308
22319
  /** A string containing the full address of this location. */
22309
22320
  formattedAddress?: string | null;
22310
- /**
22311
- * Location type.
22312
- * One of:
22313
- * - `"OWNER_BUSINESS"` The business address as set in the site’s general settings.
22314
- * - `"OWNER_CUSTOM"` The address as set when creating the service.
22315
- * - `"CUSTOM"` The address set for the individual session.
22316
- */
22321
+ /** Location type. */
22317
22322
  locationType?: LocationLocationType;
22318
22323
  }
22319
22324
  interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOneOf {
@@ -25396,12 +25401,7 @@ interface Booking extends BookingParticipantsInfoOneOf {
25396
25401
  status?: BookingStatus;
25397
25402
  /**
25398
25403
  * Payment status.
25399
- * One of:
25400
- * - `"NOT_PAID"` The booking is not paid for.
25401
- * - `"PAID"` The booking is fully paid.
25402
- * - `"PARTIALLY_PAID"` The booking is partially paid.
25403
- * - `"REFUNDED"` The booking is refunded.
25404
- * - `"EXEMPT"` The booking is free of charge.
25404
+ * `PAID` and `PARTIALLY_PAID` are currently not supported.
25405
25405
  */
25406
25406
  paymentStatus?: PaymentStatus;
25407
25407
  /**
@@ -25461,19 +25461,15 @@ interface BookingParticipantsInfoOneOf {
25461
25461
  */
25462
25462
  participantsChoices?: ParticipantChoices;
25463
25463
  }
25464
+ /**
25465
+ * Multi service booking will be considered available if its bookings are available as returned from ListMultiServiceAvailabilityTimeSlots API.
25466
+ * Currently, `SEPERATE_BOOKINGS` and `PARALLEL_BOOKINGS` are not supported.
25467
+ * Multi service booking will be considered available if each of its bookings is available separately.
25468
+ * For `SEQUENTIAL_BOOKINGS`, see [List Multi Service Availability Time Slots] (url) documentation // todo: complete url
25469
+ */
25464
25470
  declare enum MultiServiceBookingType {
25465
- /**
25466
- * Multi service booking will be considered available if its bookings are
25467
- * available as returned from ListMultiServiceAvailabilityTimeSlots API.
25468
- * See [List Multi Service Availability Time Slots] (url) documentation // todo: complete url
25469
- */
25470
25471
  SEQUENTIAL_BOOKINGS = "SEQUENTIAL_BOOKINGS",
25471
- /**
25472
- * Multi service booking will be considered available if each of its bookings is available separately.
25473
- * Not supported yet
25474
- */
25475
25472
  SEPARATE_BOOKINGS = "SEPARATE_BOOKINGS",
25476
- /** Not supported yet */
25477
25473
  PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
25478
25474
  }
25479
25475
  interface BookedEntity extends BookedEntityItemOneOf {
@@ -25700,18 +25696,24 @@ interface CustomFormField {
25700
25696
  declare enum ValueType {
25701
25697
  /** Short text. This is the default value type. */
25702
25698
  SHORT_TEXT = "SHORT_TEXT",
25703
- /** Long text */
25699
+ /** Long text. */
25704
25700
  LONG_TEXT = "LONG_TEXT",
25705
- /** a text that represent the check box value: if selected the value is "true", otherwise "false". */
25701
+ /** A text that represents the check box value. If selected the value is `true`, otherwise `false`. */
25706
25702
  CHECK_BOX = "CHECK_BOX"
25707
25703
  }
25708
25704
  /** Booking status. */
25709
25705
  declare enum BookingStatus {
25706
+ /** The booking was created. */
25710
25707
  CREATED = "CREATED",
25708
+ /** The booking was confirmed. */
25711
25709
  CONFIRMED = "CONFIRMED",
25710
+ /** The booking was canceled. */
25712
25711
  CANCELED = "CANCELED",
25712
+ /** The booking is waiting to be confirmed or declined by the business owner. */
25713
25713
  PENDING = "PENDING",
25714
+ /** The booking was declined by the business owner. */
25714
25715
  DECLINED = "DECLINED",
25716
+ /** The booking is on a wait list. */
25715
25717
  WAITING_LIST = "WAITING_LIST"
25716
25718
  }
25717
25719
  /**
@@ -25719,13 +25721,17 @@ declare enum BookingStatus {
25719
25721
  * Automatically updated when using eCom checkout APIs.
25720
25722
  */
25721
25723
  declare enum PaymentStatus {
25724
+ /** Undefined payment status. */
25722
25725
  UNDEFINED = "UNDEFINED",
25726
+ /** The booking is not paid for. */
25723
25727
  NOT_PAID = "NOT_PAID",
25728
+ /** The booking is fully paid. */
25724
25729
  PAID = "PAID",
25725
- /** not supported yet. */
25730
+ /** The booking is partially paid. */
25726
25731
  PARTIALLY_PAID = "PARTIALLY_PAID",
25727
- /** not supported yet */
25732
+ /** The booking is refunded. */
25728
25733
  REFUNDED = "REFUNDED",
25734
+ /** The booking is free of charge. */
25729
25735
  EXEMPT = "EXEMPT"
25730
25736
  }
25731
25737
  /**
@@ -25735,9 +25741,13 @@ declare enum PaymentStatus {
25735
25741
  * If left undefined, the payment option is resolved by the service configuration on checkout.
25736
25742
  */
25737
25743
  declare enum SelectedPaymentOption {
25744
+ /** Undefined payment option. */
25738
25745
  UNDEFINED = "UNDEFINED",
25746
+ /** Offline payment. */
25739
25747
  OFFLINE = "OFFLINE",
25748
+ /** Online payment. */
25740
25749
  ONLINE = "ONLINE",
25750
+ /** Payment using a membership. */
25741
25751
  MEMBERSHIP = "MEMBERSHIP",
25742
25752
  /** Payment can only be done using a membership and must be manually redeemed in the dashboard by the site owner. */
25743
25753
  MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"