@wix/bookings 1.0.486 → 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"
@@ -11893,6 +11896,9 @@ declare function deleteResourceType$1(httpClient: HttpClient): DeleteResourceTyp
11893
11896
  interface DeleteResourceTypeSignature {
11894
11897
  /**
11895
11898
  * Deletes a ResourceType.
11899
+ *
11900
+ *
11901
+ * Deleting a resource type will also delete all resources of this type.
11896
11902
  * @param - ID of the resource type to delete.
11897
11903
  */
11898
11904
  (resourceTypeId: string): Promise<void>;
@@ -12143,14 +12149,7 @@ interface Payment extends PaymentRateOneOf {
12143
12149
  * Required when: `rateType` is `VARIED`
12144
12150
  */
12145
12151
  varied?: VariedPayment;
12146
- /**
12147
- * The rate the customer is expected to pay for the service.
12148
- * Can be:
12149
- * - `FIXED`: The service has a fixed price.
12150
- * - `CUSTOM`: The service has a custom price, expressed as a price description.
12151
- * - `VARIED`: This service is offered with a set of different prices based on different terms.
12152
- * - `NO_FEE`: This service is offered free of charge.
12153
- */
12152
+ /** The rate the customer is expected to pay for the service. */
12154
12153
  rateType?: RateType;
12155
12154
  /** The payment options a customer can use to pay for the service. */
12156
12155
  options?: PaymentOptions;
@@ -12183,6 +12182,7 @@ interface PaymentRateOneOf {
12183
12182
  varied?: VariedPayment;
12184
12183
  }
12185
12184
  declare enum RateType {
12185
+ /** Unknown rate type. */
12186
12186
  UNKNOWN_RATE_TYPE = "UNKNOWN_RATE_TYPE",
12187
12187
  /** The service has a fixed price. */
12188
12188
  FIXED = "FIXED",
@@ -12294,9 +12294,7 @@ interface V2Location extends V2LocationOptionsOneOf {
12294
12294
  _id?: string;
12295
12295
  /**
12296
12296
  * The type of location:
12297
- * - `CUSTOM`: The location is specific to this service, and is not derived from the business location.
12298
- * - `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).
12299
- * - `CUSTOMER`: Will be determined by the customer. For appointments only.
12297
+ * Default: `CUSTOM`
12300
12298
  */
12301
12299
  type?: LocationTypeEnumLocationType;
12302
12300
  /**
@@ -12316,9 +12314,9 @@ declare enum LocationTypeEnumLocationType {
12316
12314
  UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
12317
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). */
12318
12316
  CUSTOM = "CUSTOM",
12319
- /** 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). */
12320
12318
  BUSINESS = "BUSINESS",
12321
- /** 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. */
12322
12320
  CUSTOMER = "CUSTOMER"
12323
12321
  }
12324
12322
  interface CommonAddress extends CommonAddressStreetOneOf {
@@ -13149,8 +13147,9 @@ interface GetServiceRequest {
13149
13147
  serviceId: string;
13150
13148
  }
13151
13149
  declare enum RequestedFields$1 {
13150
+ /** Unknown requested field. */
13152
13151
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
13153
- /** When passed, `service.staff_members` is returned */
13152
+ /** When passed, `service.staff_members` is returned. */
13154
13153
  STAFF_MEMBER_DETAILS = "STAFF_MEMBER_DETAILS",
13155
13154
  /** When passed, `service.service_resources.resource_type.name` is */
13156
13155
  RESOURCE_TYPE_DETAILS = "RESOURCE_TYPE_DETAILS"
@@ -13545,20 +13544,21 @@ interface DateHistogramAggregation {
13545
13544
  interval?: DateHistogramAggregationInterval;
13546
13545
  }
13547
13546
  declare enum DateHistogramAggregationInterval {
13547
+ /** Unknown interval. */
13548
13548
  UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
13549
- /** Yearly interval */
13549
+ /** Yearly interval. */
13550
13550
  YEAR = "YEAR",
13551
- /** Monthly interval */
13551
+ /** Monthly interval. */
13552
13552
  MONTH = "MONTH",
13553
- /** Weekly interval */
13553
+ /** Weekly interval. */
13554
13554
  WEEK = "WEEK",
13555
- /** Daily interval */
13555
+ /** Daily interval. */
13556
13556
  DAY = "DAY",
13557
- /** Hourly interval */
13557
+ /** Hourly interval. */
13558
13558
  HOUR = "HOUR",
13559
- /** Minute interval */
13559
+ /** Minute interval. */
13560
13560
  MINUTE = "MINUTE",
13561
- /** Second interval */
13561
+ /** Second interval. */
13562
13562
  SECOND = "SECOND"
13563
13563
  }
13564
13564
  interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
@@ -14047,12 +14047,12 @@ interface ValidateSlugResponse {
14047
14047
  * be set as a slug for the service and is populated with the requested
14048
14048
  * slug. Otherwise, `slugName` is empty.
14049
14049
  * If the slug is invalid, this field is populated with the reasons why the
14050
- * slug is invalid. Validation errors may include `SLUG_IS_TOO_LONG`,
14051
- * `SLUG_CONTAIN_ILLEGAL_CHARACTERS`, and `SLUG_ALREADY_EXISTS`.
14050
+ * slug is invalid.
14052
14051
  */
14053
14052
  errors?: InvalidSlugError[];
14054
14053
  }
14055
14054
  declare enum InvalidSlugError {
14055
+ /** Unknown invalid slug error. */
14056
14056
  UNKNOWN_SLUG_ERROR = "UNKNOWN_SLUG_ERROR",
14057
14057
  /** The provided slug name contains illegal characters. */
14058
14058
  SLUG_CONTAINS_ILLEGAL_CHARACTERS = "SLUG_CONTAINS_ILLEGAL_CHARACTERS",
@@ -14076,20 +14076,24 @@ interface CloneServiceRequest {
14076
14076
  cloneServiceName?: string | null;
14077
14077
  }
14078
14078
  interface CloneServiceResponse {
14079
- /** Cloned service */
14079
+ /**
14080
+ * Cloned service.
14081
+ * Source form is used when booking the cloned service.
14082
+ */
14080
14083
  service?: Service;
14081
- /** List of entity types that we failed to clone */
14084
+ /** List of entity types that failed to clone. */
14082
14085
  errors?: CloneErrors[];
14083
14086
  }
14084
14087
  declare enum CloneErrors {
14088
+ /** Unknown clone error. */
14085
14089
  UNKNOWN_CLONE_ERROR = "UNKNOWN_CLONE_ERROR",
14086
- /** Failed to clone sessions of active service's schedule */
14090
+ /** Failed to clone sessions of active service's schedule. */
14087
14091
  SESSIONS = "SESSIONS",
14088
- /** 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. */
14089
14093
  OPTIONS_AND_VARIANTS = "OPTIONS_AND_VARIANTS",
14090
- /** Failed to clone service's form */
14094
+ /** Failed to clone service's form. */
14091
14095
  FORM = "FORM",
14092
- /** Failed to clone pricing plans connected to the source service */
14096
+ /** Failed to clone pricing plans connected to the source service. */
14093
14097
  PRICING_PLANS = "PRICING_PLANS"
14094
14098
  }
14095
14099
  /** An event sent every time a category entity is changed. */
@@ -14109,10 +14113,6 @@ interface Category$1 {
14109
14113
  /**
14110
14114
  * Category status.
14111
14115
  *
14112
- * Supported values:
14113
- * - `"CREATED"`: The category is created.
14114
- * - `"DELETED"`: The category is deleted.
14115
- *
14116
14116
  * Default: `"CREATED"`
14117
14117
  * @readonly
14118
14118
  */
@@ -14121,9 +14121,9 @@ interface Category$1 {
14121
14121
  sortOrder?: number | null;
14122
14122
  }
14123
14123
  declare enum CategoryStatus {
14124
- /** The category is created. */
14124
+ /** The category was created. */
14125
14125
  CREATED = "CREATED",
14126
- /** The category is deleted. */
14126
+ /** The category was deleted. */
14127
14127
  DELETED = "DELETED"
14128
14128
  }
14129
14129
  declare enum CategoryNotificationEvent {
@@ -14240,7 +14240,7 @@ interface Schedule$1 {
14240
14240
  */
14241
14241
  externalCalendarOverrides?: ExternalCalendarOverrides$1;
14242
14242
  /**
14243
- * Schedule status.
14243
+ * Schedule status. Default: Created
14244
14244
  * @readonly
14245
14245
  */
14246
14246
  status?: ScheduleStatus$1;
@@ -14296,11 +14296,11 @@ interface RecurringInterval$1 {
14296
14296
  intervalType?: RecurringIntervalType$1;
14297
14297
  }
14298
14298
  interface Interval$1 {
14299
- /** 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. */
14300
14300
  daysOfWeek?: Day$1;
14301
- /** 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. */
14302
14302
  hourOfDay?: number | null;
14303
- /** 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. */
14304
14304
  minuteOfHour?: number | null;
14305
14305
  /** The duration of the interval in minutes. Required. Part of the session end time calculation. */
14306
14306
  duration?: number;
@@ -14330,11 +14330,7 @@ interface Frequency$1 {
14330
14330
  interface LinkedSchedule$1 {
14331
14331
  /** Schedule ID. */
14332
14332
  scheduleId?: string;
14333
- /**
14334
- * Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`.
14335
- * If set to `"BUSY"`, this schedule cannot have any available slots during the linked schedule's sessions.
14336
- * If set to `"FREE"`, this schedule can have available slots during the linked schedule's sessions.
14337
- */
14333
+ /** Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`. */
14338
14334
  transparency?: Transparency$1;
14339
14335
  /**
14340
14336
  * Owner ID, of the linked schedule.
@@ -14344,19 +14340,19 @@ interface LinkedSchedule$1 {
14344
14340
  }
14345
14341
  declare enum Transparency$1 {
14346
14342
  UNDEFINED = "UNDEFINED",
14347
- /** The schedule can have available slots during the session. */
14343
+ /** The schedule can have available slots during the linked schedule's sessions. */
14348
14344
  FREE = "FREE",
14349
- /** 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. */
14350
14346
  BUSY = "BUSY"
14351
14347
  }
14352
14348
  declare enum RecurringIntervalType$1 {
14353
14349
  /** The default value. Sessions for this interval will be of type EVENT. */
14354
14350
  UNDEFINED = "UNDEFINED",
14355
- /** A recurring interval of events */
14351
+ /** A recurring interval of events. */
14356
14352
  EVENT = "EVENT",
14357
- /** Deprecated */
14353
+ /** Deprecated. */
14358
14354
  TIME_AVAILABILITY = "TIME_AVAILABILITY",
14359
- /** A recurring interval for availability */
14355
+ /** A recurring interval for availability. */
14360
14356
  AVAILABILITY = "AVAILABILITY"
14361
14357
  }
14362
14358
  interface Location$3 {
@@ -14707,10 +14703,11 @@ interface ExternalCalendarOverrides$1 {
14707
14703
  description?: string | null;
14708
14704
  }
14709
14705
  declare enum ScheduleStatus$1 {
14706
+ /** Undefined schedule status. */
14710
14707
  UNDEFINED = "UNDEFINED",
14711
- /** The default value when the schedule is created. */
14708
+ /** The schedule was created. */
14712
14709
  CREATED = "CREATED",
14713
- /** The schedule has been canceled. */
14710
+ /** The schedule was cancelled. */
14714
14711
  CANCELLED = "CANCELLED"
14715
14712
  }
14716
14713
  interface Version$1 {
@@ -14744,6 +14741,7 @@ interface CalendarConference$1 {
14744
14741
  accountOwnerId?: string | null;
14745
14742
  }
14746
14743
  declare enum ConferenceType$1 {
14744
+ /** Undefined conference type. */
14747
14745
  UNDEFINED = "UNDEFINED",
14748
14746
  /** API-generated online meeting. */
14749
14747
  ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
@@ -14984,11 +14982,12 @@ declare enum CalendarType$1 {
14984
14982
  OTHER = "OTHER"
14985
14983
  }
14986
14984
  declare enum Status$2 {
14985
+ /** Undefined status. */
14987
14986
  UNDEFINED = "UNDEFINED",
14988
- /** The session is confirmed. Default status. */
14987
+ /** Session is confirmed. Default status. */
14989
14988
  CONFIRMED = "CONFIRMED",
14990
14989
  /**
14991
- * The session is cancelled.
14990
+ * Session is cancelled.
14992
14991
  * A cancelled session can be the cancellation of a recurring session that should no longer be displayed or a deleted single session.
14993
14992
  * The ListSessions returns cancelled sessions only if 'includeDelete' flag is set to true.
14994
14993
  */
@@ -14997,15 +14996,15 @@ declare enum Status$2 {
14997
14996
  declare enum SessionType$1 {
14998
14997
  UNDEFINED = "UNDEFINED",
14999
14998
  /**
15000
- * 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.
15001
15000
  * Default type.
15002
15001
  */
15003
15002
  EVENT = "EVENT",
15004
- /** The session represents a resource's available working hours. */
15003
+ /** Represents a resource's available working hours. */
15005
15004
  WORKING_HOURS = "WORKING_HOURS",
15006
- /** Deprecated. please use WORKING_HOURS */
15005
+ /** Deprecated. Please use WORKING_HOURS. */
15007
15006
  TIME_AVAILABILITY = "TIME_AVAILABILITY",
15008
- /** 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. */
15009
15008
  AVAILABILITY = "AVAILABILITY"
15010
15009
  }
15011
15010
  interface SessionVersion$1 {
@@ -15144,7 +15143,7 @@ interface Resource$1 {
15144
15143
  */
15145
15144
  scheduleIds?: string[] | null;
15146
15145
  /**
15147
- * Resource status.
15146
+ * Resource status. Default: `CREATED`.
15148
15147
  * @readonly
15149
15148
  */
15150
15149
  status?: ResourceStatus;
@@ -15156,8 +15155,9 @@ interface Resource$1 {
15156
15155
  wixUserId?: string | null;
15157
15156
  }
15158
15157
  declare enum ResourceStatus {
15158
+ /** Undefined resource status. */
15159
15159
  UNDEFINED = "UNDEFINED",
15160
- /** Default status. */
15160
+ /** The resource was created. */
15161
15161
  CREATED = "CREATED",
15162
15162
  /** The resource was deleted. */
15163
15163
  DELETED = "DELETED",
@@ -15169,10 +15169,15 @@ interface BusinessLocation {
15169
15169
  locationId?: string;
15170
15170
  }
15171
15171
  declare enum ResourceNotificationEvent {
15172
+ /** Undefined resource event. */
15172
15173
  UNDEFINED = "UNDEFINED",
15174
+ /** The resource was updated. */
15173
15175
  Updated = "Updated",
15176
+ /** The resource was deleted. */
15174
15177
  Deleted = "Deleted",
15178
+ /** The resource was created. */
15175
15179
  Created = "Created",
15180
+ /** The schedule was updated. */
15176
15181
  Schedule_Updated = "Schedule_Updated"
15177
15182
  }
15178
15183
  interface BenefitNotification {
@@ -21690,12 +21695,7 @@ interface Booking$1 extends BookingParticipantsInfoOneOf$1 {
21690
21695
  status?: BookingStatus$1;
21691
21696
  /**
21692
21697
  * Payment status.
21693
- * One of:
21694
- * - `"NOT_PAID"` The booking is not paid for.
21695
- * - `"PAID"` The booking is fully paid.
21696
- * - `"PARTIALLY_PAID"` The booking is partially paid.
21697
- * - `"REFUNDED"` The booking is refunded.
21698
- * - `"EXEMPT"` The booking is free of charge.
21698
+ * `PAID` and `PARTIALLY_PAID` are currently not supported.
21699
21699
  */
21700
21700
  paymentStatus?: PaymentStatus$1;
21701
21701
  /**
@@ -21752,19 +21752,15 @@ interface BookingParticipantsInfoOneOf$1 {
21752
21752
  */
21753
21753
  participantsChoices?: ParticipantChoices$1;
21754
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
+ */
21755
21761
  declare enum MultiServiceBookingType$1 {
21756
- /**
21757
- * Multi service booking will be considered available if its bookings are
21758
- * available as returned from ListMultiServiceAvailabilityTimeSlots API.
21759
- * See [List Multi Service Availability Time Slots] (url) documentation // todo: complete url
21760
- */
21761
21762
  SEQUENTIAL_BOOKINGS = "SEQUENTIAL_BOOKINGS",
21762
- /**
21763
- * Multi service booking will be considered available if each of its bookings is available separately.
21764
- * Not supported yet
21765
- */
21766
21763
  SEPARATE_BOOKINGS = "SEPARATE_BOOKINGS",
21767
- /** Not supported yet */
21768
21764
  PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
21769
21765
  }
21770
21766
  interface BookedEntity$1 extends BookedEntityItemOneOf$1 {
@@ -21986,18 +21982,24 @@ interface CustomFormField$1 {
21986
21982
  declare enum ValueType$1 {
21987
21983
  /** Short text. This is the default value type. */
21988
21984
  SHORT_TEXT = "SHORT_TEXT",
21989
- /** Long text */
21985
+ /** Long text. */
21990
21986
  LONG_TEXT = "LONG_TEXT",
21991
- /** 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`. */
21992
21988
  CHECK_BOX = "CHECK_BOX"
21993
21989
  }
21994
21990
  /** Booking status. */
21995
21991
  declare enum BookingStatus$1 {
21992
+ /** The booking was created. */
21996
21993
  CREATED = "CREATED",
21994
+ /** The booking was confirmed. */
21997
21995
  CONFIRMED = "CONFIRMED",
21996
+ /** The booking was canceled. */
21998
21997
  CANCELED = "CANCELED",
21998
+ /** The booking is waiting to be confirmed or declined by the business owner. */
21999
21999
  PENDING = "PENDING",
22000
+ /** The booking was declined by the business owner. */
22000
22001
  DECLINED = "DECLINED",
22002
+ /** The booking is on a wait list. */
22001
22003
  WAITING_LIST = "WAITING_LIST"
22002
22004
  }
22003
22005
  /**
@@ -22005,13 +22007,17 @@ declare enum BookingStatus$1 {
22005
22007
  * Automatically updated when using eCom checkout APIs.
22006
22008
  */
22007
22009
  declare enum PaymentStatus$1 {
22010
+ /** Undefined payment status. */
22008
22011
  UNDEFINED = "UNDEFINED",
22012
+ /** The booking is not paid for. */
22009
22013
  NOT_PAID = "NOT_PAID",
22014
+ /** The booking is fully paid. */
22010
22015
  PAID = "PAID",
22011
- /** not supported yet. */
22016
+ /** The booking is partially paid. */
22012
22017
  PARTIALLY_PAID = "PARTIALLY_PAID",
22013
- /** not supported yet */
22018
+ /** The booking is refunded. */
22014
22019
  REFUNDED = "REFUNDED",
22020
+ /** The booking is free of charge. */
22015
22021
  EXEMPT = "EXEMPT"
22016
22022
  }
22017
22023
  /**
@@ -22021,9 +22027,13 @@ declare enum PaymentStatus$1 {
22021
22027
  * If left undefined, the payment option is resolved by the service configuration on checkout.
22022
22028
  */
22023
22029
  declare enum SelectedPaymentOption$1 {
22030
+ /** Undefined payment option. */
22024
22031
  UNDEFINED = "UNDEFINED",
22032
+ /** Offline payment. */
22025
22033
  OFFLINE = "OFFLINE",
22034
+ /** Online payment. */
22026
22035
  ONLINE = "ONLINE",
22036
+ /** Payment using a membership. */
22027
22037
  MEMBERSHIP = "MEMBERSHIP",
22028
22038
  /** Payment can only be done using a membership and must be manually redeemed in the dashboard by the site owner. */
22029
22039
  MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
@@ -22283,9 +22293,13 @@ interface V2Slot {
22283
22293
  location?: SlotLocation;
22284
22294
  }
22285
22295
  declare enum LocationLocationType {
22296
+ /** Undefined location type. */
22286
22297
  UNDEFINED = "UNDEFINED",
22298
+ /** The business address as set in the site’s general settings. */
22287
22299
  OWNER_BUSINESS = "OWNER_BUSINESS",
22300
+ /** The address as set when creating the service. */
22288
22301
  OWNER_CUSTOM = "OWNER_CUSTOM",
22302
+ /** The address set for the individual session. */
22289
22303
  CUSTOM = "CUSTOM"
22290
22304
  }
22291
22305
  interface SlotSlotResource {
@@ -22304,13 +22318,7 @@ interface SlotLocation {
22304
22318
  name?: string | null;
22305
22319
  /** A string containing the full address of this location. */
22306
22320
  formattedAddress?: string | null;
22307
- /**
22308
- * Location type.
22309
- * One of:
22310
- * - `"OWNER_BUSINESS"` The business address as set in the site’s general settings.
22311
- * - `"OWNER_CUSTOM"` The address as set when creating the service.
22312
- * - `"CUSTOM"` The address set for the individual session.
22313
- */
22321
+ /** Location type. */
22314
22322
  locationType?: LocationLocationType;
22315
22323
  }
22316
22324
  interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOneOf {
@@ -25393,12 +25401,7 @@ interface Booking extends BookingParticipantsInfoOneOf {
25393
25401
  status?: BookingStatus;
25394
25402
  /**
25395
25403
  * Payment status.
25396
- * One of:
25397
- * - `"NOT_PAID"` The booking is not paid for.
25398
- * - `"PAID"` The booking is fully paid.
25399
- * - `"PARTIALLY_PAID"` The booking is partially paid.
25400
- * - `"REFUNDED"` The booking is refunded.
25401
- * - `"EXEMPT"` The booking is free of charge.
25404
+ * `PAID` and `PARTIALLY_PAID` are currently not supported.
25402
25405
  */
25403
25406
  paymentStatus?: PaymentStatus;
25404
25407
  /**
@@ -25458,19 +25461,15 @@ interface BookingParticipantsInfoOneOf {
25458
25461
  */
25459
25462
  participantsChoices?: ParticipantChoices;
25460
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
+ */
25461
25470
  declare enum MultiServiceBookingType {
25462
- /**
25463
- * Multi service booking will be considered available if its bookings are
25464
- * available as returned from ListMultiServiceAvailabilityTimeSlots API.
25465
- * See [List Multi Service Availability Time Slots] (url) documentation // todo: complete url
25466
- */
25467
25471
  SEQUENTIAL_BOOKINGS = "SEQUENTIAL_BOOKINGS",
25468
- /**
25469
- * Multi service booking will be considered available if each of its bookings is available separately.
25470
- * Not supported yet
25471
- */
25472
25472
  SEPARATE_BOOKINGS = "SEPARATE_BOOKINGS",
25473
- /** Not supported yet */
25474
25473
  PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
25475
25474
  }
25476
25475
  interface BookedEntity extends BookedEntityItemOneOf {
@@ -25697,18 +25696,24 @@ interface CustomFormField {
25697
25696
  declare enum ValueType {
25698
25697
  /** Short text. This is the default value type. */
25699
25698
  SHORT_TEXT = "SHORT_TEXT",
25700
- /** Long text */
25699
+ /** Long text. */
25701
25700
  LONG_TEXT = "LONG_TEXT",
25702
- /** 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`. */
25703
25702
  CHECK_BOX = "CHECK_BOX"
25704
25703
  }
25705
25704
  /** Booking status. */
25706
25705
  declare enum BookingStatus {
25706
+ /** The booking was created. */
25707
25707
  CREATED = "CREATED",
25708
+ /** The booking was confirmed. */
25708
25709
  CONFIRMED = "CONFIRMED",
25710
+ /** The booking was canceled. */
25709
25711
  CANCELED = "CANCELED",
25712
+ /** The booking is waiting to be confirmed or declined by the business owner. */
25710
25713
  PENDING = "PENDING",
25714
+ /** The booking was declined by the business owner. */
25711
25715
  DECLINED = "DECLINED",
25716
+ /** The booking is on a wait list. */
25712
25717
  WAITING_LIST = "WAITING_LIST"
25713
25718
  }
25714
25719
  /**
@@ -25716,13 +25721,17 @@ declare enum BookingStatus {
25716
25721
  * Automatically updated when using eCom checkout APIs.
25717
25722
  */
25718
25723
  declare enum PaymentStatus {
25724
+ /** Undefined payment status. */
25719
25725
  UNDEFINED = "UNDEFINED",
25726
+ /** The booking is not paid for. */
25720
25727
  NOT_PAID = "NOT_PAID",
25728
+ /** The booking is fully paid. */
25721
25729
  PAID = "PAID",
25722
- /** not supported yet. */
25730
+ /** The booking is partially paid. */
25723
25731
  PARTIALLY_PAID = "PARTIALLY_PAID",
25724
- /** not supported yet */
25732
+ /** The booking is refunded. */
25725
25733
  REFUNDED = "REFUNDED",
25734
+ /** The booking is free of charge. */
25726
25735
  EXEMPT = "EXEMPT"
25727
25736
  }
25728
25737
  /**
@@ -25732,9 +25741,13 @@ declare enum PaymentStatus {
25732
25741
  * If left undefined, the payment option is resolved by the service configuration on checkout.
25733
25742
  */
25734
25743
  declare enum SelectedPaymentOption {
25744
+ /** Undefined payment option. */
25735
25745
  UNDEFINED = "UNDEFINED",
25746
+ /** Offline payment. */
25736
25747
  OFFLINE = "OFFLINE",
25748
+ /** Online payment. */
25737
25749
  ONLINE = "ONLINE",
25750
+ /** Payment using a membership. */
25738
25751
  MEMBERSHIP = "MEMBERSHIP",
25739
25752
  /** Payment can only be done using a membership and must be manually redeemed in the dashboard by the site owner. */
25740
25753
  MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"