@wix/bookings 1.0.433 → 1.0.435

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/bookings",
3
- "version": "1.0.433",
3
+ "version": "1.0.435",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -24,15 +24,15 @@
24
24
  "@wix/bookings_booking-policies": "1.0.0",
25
25
  "@wix/bookings_bookings": "1.0.49",
26
26
  "@wix/bookings_categories": "1.0.34",
27
- "@wix/bookings_extended-bookings": "1.0.41",
27
+ "@wix/bookings_extended-bookings": "1.0.42",
28
28
  "@wix/bookings_external-calendars": "1.0.31",
29
29
  "@wix/bookings_multi-service-availability-time-slots": "1.0.28",
30
30
  "@wix/bookings_pricing": "1.0.32",
31
31
  "@wix/bookings_resource-types": "1.0.0",
32
32
  "@wix/bookings_resources": "1.0.34",
33
33
  "@wix/bookings_service-options-and-variants": "1.0.43",
34
- "@wix/bookings_services": "1.0.65",
35
- "@wix/bookings_staff-members": "1.0.0"
34
+ "@wix/bookings_services": "1.0.66",
35
+ "@wix/bookings_staff-members": "1.0.1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "glob": "^10.4.1",
@@ -57,5 +57,5 @@
57
57
  "fqdn": ""
58
58
  }
59
59
  },
60
- "falconPackageHash": "0a87a0abe338c85d9c254c51742382d031cdb3af571d6729391c7fe0"
60
+ "falconPackageHash": "70fe6069b9f97c46628fe70a928393507e0414e41db38d6b6634c83a"
61
61
  }
@@ -6966,19 +6966,10 @@ interface ExtendedBooking {
6966
6966
  */
6967
6967
  attendance?: Attendance$1;
6968
6968
  /**
6969
- * Information about the booking's policy settings according to the relevant
6970
- * [booking policy snapshot](https://dev.wix.com/docs/rest/business-solutions/bookings/services/booking-policy-snapshots/introduction).
6971
- * Available only when passing `withBookingPolicySettings` as `true`.
6969
+ * Information about the online conferencing details. Available only when passing
6970
+ * `withBookingConferencingDetails` as `true`.
6972
6971
  */
6973
- bookingPolicySettings?: BookingPolicySettings$1;
6974
- /**
6975
- * Information about the booking fee statuses. Available only when passing
6976
- * `withBookingFeeDetailsBooking` as `true`. No details are returned when there
6977
- * is no booking fee for the booking. For example, when a booking was canceled
6978
- * before the start of the earliest cancellation window or the customer hasn't
6979
- * canceled the booking yet.
6980
- */
6981
- bookingFeeDetails?: BookingFeeDetails;
6972
+ conferencingDetails?: ConferencingDetails;
6982
6973
  }
6983
6974
  declare enum AttendanceStatus$1 {
6984
6975
  NOT_SET = "NOT_SET",
@@ -7665,25 +7656,8 @@ interface QueryExtendedBookingsRequest {
7665
7656
  withBookingAllowedActions?: boolean;
7666
7657
  /** Whether information about the attendance for the bookings is returned. */
7667
7658
  withBookingAttendanceInfo?: boolean;
7668
- /**
7669
- * Whether to retrieve information about booking policy settings.
7670
- * You must have the `BOOKINGS.BOOKING_POLICY_SNAPSHOT_READ` permission scope
7671
- * when passing `true`.
7672
- *
7673
- * Default: `false`.
7674
- */
7675
- withBookingPolicySettings?: boolean;
7676
- /**
7677
- * Whether to retrieve information about the booking fee statuses.
7678
- * Information about booking fees with a status of `PREVIEW` isn't returned.
7679
- * You must have the `BOOKINGS.BOOKING_FEES_READ` permission scope when passing
7680
- * `true`. In order to retrieve complete booking fee objects or to get information
7681
- * about `PREVIEW` fees, use [List Booking Fees By Booking Ids](https://dev.wix.com/docs/rest/business-solutions/bookings/booking-fees/list-booking-fees-by-booking-ids)
7682
- * instead.
7683
- *
7684
- * Default: `false`.
7685
- */
7686
- withBookingFeeDetails?: boolean;
7659
+ /** Whether information about the online conferencing details for the bookings is returned. */
7660
+ withBookingConferencingDetails?: boolean;
7687
7661
  }
7688
7662
  interface CommonQueryV2 extends CommonQueryV2PagingMethodOneOf {
7689
7663
  /** Paging options to limit and skip the number of items. */
@@ -7849,25 +7823,8 @@ interface QueryExtendedBookingsOptions {
7849
7823
  withBookingAllowedActions?: boolean;
7850
7824
  /** Whether information about the attendance for the bookings is returned. */
7851
7825
  withBookingAttendanceInfo?: boolean;
7852
- /**
7853
- * Whether to retrieve information about booking policy settings.
7854
- * You must have the `BOOKINGS.BOOKING_POLICY_SNAPSHOT_READ` permission scope
7855
- * when passing `true`.
7856
- *
7857
- * Default: `false`.
7858
- */
7859
- withBookingPolicySettings?: boolean;
7860
- /**
7861
- * Whether to retrieve information about the booking fee statuses.
7862
- * Information about booking fees with a status of `PREVIEW` isn't returned.
7863
- * You must have the `BOOKINGS.BOOKING_FEES_READ` permission scope when passing
7864
- * `true`. In order to retrieve complete booking fee objects or to get information
7865
- * about `PREVIEW` fees, use [List Booking Fees By Booking Ids](https://dev.wix.com/docs/rest/business-solutions/bookings/booking-fees/list-booking-fees-by-booking-ids)
7866
- * instead.
7867
- *
7868
- * Default: `false`.
7869
- */
7870
- withBookingFeeDetails?: boolean;
7826
+ /** Whether information about the online conferencing details for the bookings is returned. */
7827
+ withBookingConferencingDetails?: boolean;
7871
7828
  }
7872
7829
 
7873
7830
  declare function queryExtendedBookings$1(httpClient: HttpClient): QueryExtendedBookingsSignature;
@@ -14854,22 +14811,15 @@ declare const validateSlug: BuildRESTFunction<typeof validateSlug$1> & typeof va
14854
14811
  declare const cloneService: BuildRESTFunction<typeof cloneService$1> & typeof cloneService$1;
14855
14812
 
14856
14813
  type _publicOnServiceCreatedType = typeof onServiceCreated$1;
14857
- /**
14858
- * Triggered when a booking policy is created.
14859
- */
14814
+ /** */
14860
14815
  declare const onServiceCreated: ReturnType<typeof createEventModule$4<_publicOnServiceCreatedType>>;
14861
14816
 
14862
14817
  type _publicOnServiceUpdatedType = typeof onServiceUpdated$1;
14863
- /**
14864
- * Triggered when a booking policy is updated, including when a policy's
14865
- * `default` attribute changes.
14866
- */
14818
+ /** */
14867
14819
  declare const onServiceUpdated: ReturnType<typeof createEventModule$4<_publicOnServiceUpdatedType>>;
14868
14820
 
14869
14821
  type _publicOnServiceDeletedType = typeof onServiceDeleted$1;
14870
- /**
14871
- * Triggered when a booking policy is deleted.
14872
- */
14822
+ /** */
14873
14823
  declare const onServiceDeleted: ReturnType<typeof createEventModule$4<_publicOnServiceDeletedType>>;
14874
14824
 
14875
14825
  type _publicOnServiceDefaultBookingPolicySetType = typeof onServiceDefaultBookingPolicySet$1;
@@ -16997,7 +16947,12 @@ declare enum Namespace {
16997
16947
  */
16998
16948
  BRANDED_FIRST = "BRANDED_FIRST",
16999
16949
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
17000
- NOWNIA = "NOWNIA"
16950
+ NOWNIA = "NOWNIA",
16951
+ /**
16952
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
16953
+ * The Partners company owns this namespace.
16954
+ */
16955
+ UGC_TEMPLATE = "UGC_TEMPLATE"
17001
16956
  }
17002
16957
  /** Site transferred to another user. */
17003
16958
  interface SiteTransferred {
@@ -6966,19 +6966,10 @@ interface ExtendedBooking {
6966
6966
  */
6967
6967
  attendance?: Attendance$1;
6968
6968
  /**
6969
- * Information about the booking's policy settings according to the relevant
6970
- * [booking policy snapshot](https://dev.wix.com/docs/rest/business-solutions/bookings/services/booking-policy-snapshots/introduction).
6971
- * Available only when passing `withBookingPolicySettings` as `true`.
6969
+ * Information about the online conferencing details. Available only when passing
6970
+ * `withBookingConferencingDetails` as `true`.
6972
6971
  */
6973
- bookingPolicySettings?: BookingPolicySettings$1;
6974
- /**
6975
- * Information about the booking fee statuses. Available only when passing
6976
- * `withBookingFeeDetailsBooking` as `true`. No details are returned when there
6977
- * is no booking fee for the booking. For example, when a booking was canceled
6978
- * before the start of the earliest cancellation window or the customer hasn't
6979
- * canceled the booking yet.
6980
- */
6981
- bookingFeeDetails?: BookingFeeDetails;
6972
+ conferencingDetails?: ConferencingDetails;
6982
6973
  }
6983
6974
  declare enum AttendanceStatus$1 {
6984
6975
  NOT_SET = "NOT_SET",
@@ -7665,25 +7656,8 @@ interface QueryExtendedBookingsRequest {
7665
7656
  withBookingAllowedActions?: boolean;
7666
7657
  /** Whether information about the attendance for the bookings is returned. */
7667
7658
  withBookingAttendanceInfo?: boolean;
7668
- /**
7669
- * Whether to retrieve information about booking policy settings.
7670
- * You must have the `BOOKINGS.BOOKING_POLICY_SNAPSHOT_READ` permission scope
7671
- * when passing `true`.
7672
- *
7673
- * Default: `false`.
7674
- */
7675
- withBookingPolicySettings?: boolean;
7676
- /**
7677
- * Whether to retrieve information about the booking fee statuses.
7678
- * Information about booking fees with a status of `PREVIEW` isn't returned.
7679
- * You must have the `BOOKINGS.BOOKING_FEES_READ` permission scope when passing
7680
- * `true`. In order to retrieve complete booking fee objects or to get information
7681
- * about `PREVIEW` fees, use [List Booking Fees By Booking Ids](https://dev.wix.com/docs/rest/business-solutions/bookings/booking-fees/list-booking-fees-by-booking-ids)
7682
- * instead.
7683
- *
7684
- * Default: `false`.
7685
- */
7686
- withBookingFeeDetails?: boolean;
7659
+ /** Whether information about the online conferencing details for the bookings is returned. */
7660
+ withBookingConferencingDetails?: boolean;
7687
7661
  }
7688
7662
  interface CommonQueryV2 extends CommonQueryV2PagingMethodOneOf {
7689
7663
  /** Paging options to limit and skip the number of items. */
@@ -7849,25 +7823,8 @@ interface QueryExtendedBookingsOptions {
7849
7823
  withBookingAllowedActions?: boolean;
7850
7824
  /** Whether information about the attendance for the bookings is returned. */
7851
7825
  withBookingAttendanceInfo?: boolean;
7852
- /**
7853
- * Whether to retrieve information about booking policy settings.
7854
- * You must have the `BOOKINGS.BOOKING_POLICY_SNAPSHOT_READ` permission scope
7855
- * when passing `true`.
7856
- *
7857
- * Default: `false`.
7858
- */
7859
- withBookingPolicySettings?: boolean;
7860
- /**
7861
- * Whether to retrieve information about the booking fee statuses.
7862
- * Information about booking fees with a status of `PREVIEW` isn't returned.
7863
- * You must have the `BOOKINGS.BOOKING_FEES_READ` permission scope when passing
7864
- * `true`. In order to retrieve complete booking fee objects or to get information
7865
- * about `PREVIEW` fees, use [List Booking Fees By Booking Ids](https://dev.wix.com/docs/rest/business-solutions/bookings/booking-fees/list-booking-fees-by-booking-ids)
7866
- * instead.
7867
- *
7868
- * Default: `false`.
7869
- */
7870
- withBookingFeeDetails?: boolean;
7826
+ /** Whether information about the online conferencing details for the bookings is returned. */
7827
+ withBookingConferencingDetails?: boolean;
7871
7828
  }
7872
7829
 
7873
7830
  declare function queryExtendedBookings$1(httpClient: HttpClient): QueryExtendedBookingsSignature;
@@ -14854,22 +14811,15 @@ declare const validateSlug: BuildRESTFunction<typeof validateSlug$1> & typeof va
14854
14811
  declare const cloneService: BuildRESTFunction<typeof cloneService$1> & typeof cloneService$1;
14855
14812
 
14856
14813
  type _publicOnServiceCreatedType = typeof onServiceCreated$1;
14857
- /**
14858
- * Triggered when a booking policy is created.
14859
- */
14814
+ /** */
14860
14815
  declare const onServiceCreated: ReturnType<typeof createEventModule$4<_publicOnServiceCreatedType>>;
14861
14816
 
14862
14817
  type _publicOnServiceUpdatedType = typeof onServiceUpdated$1;
14863
- /**
14864
- * Triggered when a booking policy is updated, including when a policy's
14865
- * `default` attribute changes.
14866
- */
14818
+ /** */
14867
14819
  declare const onServiceUpdated: ReturnType<typeof createEventModule$4<_publicOnServiceUpdatedType>>;
14868
14820
 
14869
14821
  type _publicOnServiceDeletedType = typeof onServiceDeleted$1;
14870
- /**
14871
- * Triggered when a booking policy is deleted.
14872
- */
14822
+ /** */
14873
14823
  declare const onServiceDeleted: ReturnType<typeof createEventModule$4<_publicOnServiceDeletedType>>;
14874
14824
 
14875
14825
  type _publicOnServiceDefaultBookingPolicySetType = typeof onServiceDefaultBookingPolicySet$1;
@@ -16997,7 +16947,12 @@ declare enum Namespace {
16997
16947
  */
16998
16948
  BRANDED_FIRST = "BRANDED_FIRST",
16999
16949
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
17000
- NOWNIA = "NOWNIA"
16950
+ NOWNIA = "NOWNIA",
16951
+ /**
16952
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
16953
+ * The Partners company owns this namespace.
16954
+ */
16955
+ UGC_TEMPLATE = "UGC_TEMPLATE"
17001
16956
  }
17002
16957
  /** Site transferred to another user. */
17003
16958
  interface SiteTransferred {
@@ -196,7 +196,7 @@ interface Cursors$n {
196
196
  /** Cursor pointing to the previous page in the list of results. */
197
197
  prev?: string | null;
198
198
  }
199
- interface BookingPolicySettings$3 {
199
+ interface BookingPolicySettings$1 {
200
200
  /**
201
201
  * The policy defining the maximum number of participants that can
202
202
  * be booked for a slot or a schedule.
@@ -209,7 +209,7 @@ interface GetScheduleAvailabilityRequest$1 {
209
209
  }
210
210
  interface GetScheduleAvailabilityResponse$1 {
211
211
  availability?: ScheduleAvailability$1;
212
- bookingPolicySettings?: BookingPolicySettings$3;
212
+ bookingPolicySettings?: BookingPolicySettings$1;
213
213
  }
214
214
  interface ScheduleAvailability$1 {
215
215
  /**
@@ -489,7 +489,7 @@ interface Cursors$m {
489
489
  /** Cursor pointing to the previous page in the list of results. */
490
490
  prev?: string | null;
491
491
  }
492
- interface BookingPolicySettings$2 {
492
+ interface BookingPolicySettings {
493
493
  /**
494
494
  * The policy defining the maximum number of participants that can
495
495
  * be booked for a slot or a schedule.
@@ -502,7 +502,7 @@ interface GetScheduleAvailabilityRequest {
502
502
  }
503
503
  interface GetScheduleAvailabilityResponse {
504
504
  availability?: ScheduleAvailability;
505
- bookingPolicySettings?: BookingPolicySettings$2;
505
+ bookingPolicySettings?: BookingPolicySettings;
506
506
  }
507
507
  interface ScheduleAvailability {
508
508
  /**
@@ -4087,19 +4087,10 @@ interface ExtendedBooking$1 {
4087
4087
  */
4088
4088
  attendance?: Attendance$3;
4089
4089
  /**
4090
- * Information about the booking's policy settings according to the relevant
4091
- * [booking policy snapshot](https://dev.wix.com/docs/rest/business-solutions/bookings/services/booking-policy-snapshots/introduction).
4092
- * Available only when passing `withBookingPolicySettings` as `true`.
4090
+ * Information about the online conferencing details. Available only when passing
4091
+ * `withBookingConferencingDetails` as `true`.
4093
4092
  */
4094
- bookingPolicySettings?: BookingPolicySettings$1;
4095
- /**
4096
- * Information about the booking fee statuses. Available only when passing
4097
- * `withBookingFeeDetailsBooking` as `true`. No details are returned when there
4098
- * is no booking fee for the booking. For example, when a booking was canceled
4099
- * before the start of the earliest cancellation window or the customer hasn't
4100
- * canceled the booking yet.
4101
- */
4102
- bookingFeeDetails?: BookingFeeDetails$1;
4093
+ conferencingDetails?: ConferencingDetails$1;
4103
4094
  }
4104
4095
  declare enum AttendanceStatus$3 {
4105
4096
  NOT_SET = "NOT_SET",
@@ -4597,13 +4588,11 @@ interface Attendance$3 {
4597
4588
  */
4598
4589
  numberOfAttendees?: number;
4599
4590
  }
4600
- interface BookingPolicySettings$1 {
4601
- /** Whether the booking has an active cancellation fee policy. */
4602
- cancellationFeeEnabled?: boolean | null;
4603
- }
4604
- interface BookingFeeDetails$1 {
4605
- /** The cancellation fee status. */
4606
- cancellationFeeStatus?: BookingFeeStatus$1;
4591
+ interface ConferencingDetails$1 {
4592
+ /** URL used by a guest to join the conference. */
4593
+ guestUrl?: string | null;
4594
+ /** Optional conference password. */
4595
+ password?: string | null;
4607
4596
  }
4608
4597
  declare enum BookingFeeStatus$1 {
4609
4598
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
@@ -4662,25 +4651,8 @@ interface QueryExtendedBookingsRequest$1 {
4662
4651
  withBookingAllowedActions?: boolean;
4663
4652
  /** Whether information about the attendance for the bookings is returned. */
4664
4653
  withBookingAttendanceInfo?: boolean;
4665
- /**
4666
- * Whether to retrieve information about booking policy settings.
4667
- * You must have the `BOOKINGS.BOOKING_POLICY_SNAPSHOT_READ` permission scope
4668
- * when passing `true`.
4669
- *
4670
- * Default: `false`.
4671
- */
4672
- withBookingPolicySettings?: boolean;
4673
- /**
4674
- * Whether to retrieve information about the booking fee statuses.
4675
- * Information about booking fees with a status of `PREVIEW` isn't returned.
4676
- * You must have the `BOOKINGS.BOOKING_FEES_READ` permission scope when passing
4677
- * `true`. In order to retrieve complete booking fee objects or to get information
4678
- * about `PREVIEW` fees, use [List Booking Fees By Booking Ids](https://dev.wix.com/docs/rest/business-solutions/bookings/booking-fees/list-booking-fees-by-booking-ids)
4679
- * instead.
4680
- *
4681
- * Default: `false`.
4682
- */
4683
- withBookingFeeDetails?: boolean;
4654
+ /** Whether information about the online conferencing details for the bookings is returned. */
4655
+ withBookingConferencingDetails?: boolean;
4684
4656
  }
4685
4657
  interface CommonQueryV2$1 extends CommonQueryV2PagingMethodOneOf$1 {
4686
4658
  /** Paging options to limit and skip the number of items. */
@@ -4854,19 +4826,10 @@ interface ExtendedBooking {
4854
4826
  */
4855
4827
  attendance?: Attendance$2;
4856
4828
  /**
4857
- * Information about the booking's policy settings according to the relevant
4858
- * [booking policy snapshot](https://dev.wix.com/docs/rest/business-solutions/bookings/services/booking-policy-snapshots/introduction).
4859
- * Available only when passing `withBookingPolicySettings` as `true`.
4860
- */
4861
- bookingPolicySettings?: BookingPolicySettings;
4862
- /**
4863
- * Information about the booking fee statuses. Available only when passing
4864
- * `withBookingFeeDetailsBooking` as `true`. No details are returned when there
4865
- * is no booking fee for the booking. For example, when a booking was canceled
4866
- * before the start of the earliest cancellation window or the customer hasn't
4867
- * canceled the booking yet.
4829
+ * Information about the online conferencing details. Available only when passing
4830
+ * `withBookingConferencingDetails` as `true`.
4868
4831
  */
4869
- bookingFeeDetails?: BookingFeeDetails;
4832
+ conferencingDetails?: ConferencingDetails;
4870
4833
  }
4871
4834
  declare enum AttendanceStatus$2 {
4872
4835
  NOT_SET = "NOT_SET",
@@ -5361,13 +5324,11 @@ interface Attendance$2 {
5361
5324
  /** Total number of participants that attended the session. */
5362
5325
  numberOfAttendees?: number;
5363
5326
  }
5364
- interface BookingPolicySettings {
5365
- /** Whether the booking has an active cancellation fee policy. */
5366
- cancellationFeeEnabled?: boolean | null;
5367
- }
5368
- interface BookingFeeDetails {
5369
- /** The cancellation fee status. */
5370
- cancellationFeeStatus?: BookingFeeStatus;
5327
+ interface ConferencingDetails {
5328
+ /** URL used by a guest to join the conference. */
5329
+ guestUrl?: string | null;
5330
+ /** Optional conference password. */
5331
+ password?: string | null;
5371
5332
  }
5372
5333
  declare enum BookingFeeStatus {
5373
5334
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
@@ -5423,25 +5384,8 @@ interface QueryExtendedBookingsRequest {
5423
5384
  withBookingAllowedActions?: boolean;
5424
5385
  /** Whether information about the attendance for the bookings is returned. */
5425
5386
  withBookingAttendanceInfo?: boolean;
5426
- /**
5427
- * Whether to retrieve information about booking policy settings.
5428
- * You must have the `BOOKINGS.BOOKING_POLICY_SNAPSHOT_READ` permission scope
5429
- * when passing `true`.
5430
- *
5431
- * Default: `false`.
5432
- */
5433
- withBookingPolicySettings?: boolean;
5434
- /**
5435
- * Whether to retrieve information about the booking fee statuses.
5436
- * Information about booking fees with a status of `PREVIEW` isn't returned.
5437
- * You must have the `BOOKINGS.BOOKING_FEES_READ` permission scope when passing
5438
- * `true`. In order to retrieve complete booking fee objects or to get information
5439
- * about `PREVIEW` fees, use [List Booking Fees By Booking Ids](https://dev.wix.com/docs/rest/business-solutions/bookings/booking-fees/list-booking-fees-by-booking-ids)
5440
- * instead.
5441
- *
5442
- * Default: `false`.
5443
- */
5444
- withBookingFeeDetails?: boolean;
5387
+ /** Whether information about the online conferencing details for the bookings is returned. */
5388
+ withBookingConferencingDetails?: boolean;
5445
5389
  }
5446
5390
  interface CommonQueryV2 extends CommonQueryV2PagingMethodOneOf {
5447
5391
  /** Paging options to limit and skip the number of items. */