@wix/auto_sdk_bookings_services 1.0.322 → 1.0.324

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.
@@ -1,4 +1,4 @@
1
- import { d6 as CreateServiceRequest$1, d7 as CreateServiceResponse$1, db as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, dg as GetServiceRequest$1, dh as GetServiceResponse$1, dm as UpdateServiceRequest$1, dn as UpdateServiceResponse$1, dp as BulkUpdateServicesRequest$1, e as BulkUpdateServicesResponse$1, dr as BulkUpdateServicesByFilterRequest$1, h as BulkUpdateServicesByFilterResponse$1, ds as DeleteServiceRequest$1, du as DeleteServiceResponse$1, dv as BulkDeleteServicesRequest$1, j as BulkDeleteServicesResponse$1, dw as BulkDeleteServicesByFilterRequest$1, l as BulkDeleteServicesByFilterResponse$1, dx as QueryServicesRequest$1, dD as QueryServicesResponse$1, dG as SearchServicesRequest$1, n as SearchServicesResponse$1, ek as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, en as QueryBookingFormsRequest$1, q as QueryBookingFormsResponse$1, er as CountServicesRequest$1, t as CountServicesResponse$1, es as QueryLocationsRequest$1, v as QueryLocationsResponse$1, ex as QueryCategoriesRequest$1, x as QueryCategoriesResponse$1, eB as SetServiceLocationsRequest$1, z as SetServiceLocationsResponse$1, eF as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, eI as DisablePricingPlansForServiceRequest$1, H as DisablePricingPlansForServiceResponse$1, eJ as SetCustomSlugRequest$1, K as SetCustomSlugResponse$1, eK as ValidateSlugRequest$1, N as ValidateSlugResponse$1, eL as CloneServiceRequest$1, O as CloneServiceResponse$1, fa as CreateAddOnGroupRequest$1, T as CreateAddOnGroupResponse$1, fb as DeleteAddOnGroupRequest$1, fc as DeleteAddOnGroupResponse$1, fd as UpdateAddOnGroupRequest$1, _ as UpdateAddOnGroupResponse$1, fe as ListAddOnGroupsByServiceIdRequest$1, a1 as ListAddOnGroupsByServiceIdResponse$1, fi as SetAddOnsForGroupRequest$1, a3 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-DbYXx4Hq.mjs';
1
+ import { d6 as CreateServiceRequest$1, d7 as CreateServiceResponse$1, db as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, dg as GetServiceRequest$1, dh as GetServiceResponse$1, dm as UpdateServiceRequest$1, dn as UpdateServiceResponse$1, dp as BulkUpdateServicesRequest$1, e as BulkUpdateServicesResponse$1, dr as BulkUpdateServicesByFilterRequest$1, h as BulkUpdateServicesByFilterResponse$1, ds as DeleteServiceRequest$1, du as DeleteServiceResponse$1, dv as BulkDeleteServicesRequest$1, j as BulkDeleteServicesResponse$1, dw as BulkDeleteServicesByFilterRequest$1, l as BulkDeleteServicesByFilterResponse$1, dx as QueryServicesRequest$1, dD as QueryServicesResponse$1, dG as SearchServicesRequest$1, n as SearchServicesResponse$1, ek as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, en as QueryBookingFormsRequest$1, q as QueryBookingFormsResponse$1, er as CountServicesRequest$1, t as CountServicesResponse$1, es as QueryLocationsRequest$1, v as QueryLocationsResponse$1, ex as QueryCategoriesRequest$1, x as QueryCategoriesResponse$1, eB as SetServiceLocationsRequest$1, z as SetServiceLocationsResponse$1, eF as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, eI as DisablePricingPlansForServiceRequest$1, H as DisablePricingPlansForServiceResponse$1, eJ as SetCustomSlugRequest$1, K as SetCustomSlugResponse$1, eK as ValidateSlugRequest$1, N as ValidateSlugResponse$1, eL as CloneServiceRequest$1, O as CloneServiceResponse$1, fa as CreateAddOnGroupRequest$1, T as CreateAddOnGroupResponse$1, fb as DeleteAddOnGroupRequest$1, fc as DeleteAddOnGroupResponse$1, fd as UpdateAddOnGroupRequest$1, _ as UpdateAddOnGroupResponse$1, fe as ListAddOnGroupsByServiceIdRequest$1, a1 as ListAddOnGroupsByServiceIdResponse$1, fi as SetAddOnsForGroupRequest$1, a3 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-Cq1O-KLC.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** The `service` object represents an offering that a business provides to its customers. */
@@ -338,6 +338,17 @@ interface Payment extends PaymentRateOneOf {
338
338
  * @readonly
339
339
  */
340
340
  discountInfo?: DiscountInfo;
341
+ /**
342
+ * Mandatory fees the customer pays in addition to the service price, for example a cleaning fee.
343
+ * Fees aren't part of the deposit.
344
+ *
345
+ * When you update `additionalFees`, the list you send replaces the existing fees. Fees you leave out are removed.
346
+ * To keep a fee, including when you rename it, send it with its existing `id`.
347
+ *
348
+ * Each fee's `amount.currency` is set to the service currency.
349
+ * @maxSize 5
350
+ */
351
+ additionalFees?: AdditionalFee[];
341
352
  }
342
353
  /** @oneof */
343
354
  interface PaymentRateOneOf {
@@ -1549,20 +1560,39 @@ interface DailyConfig {
1549
1560
  * @max 40
1550
1561
  */
1551
1562
  maxDurationInDays?: number;
1563
+ /**
1564
+ * Times of day at which each bookable day starts and ends.
1565
+ * For example, check-in at `15:00` and check-out at `11:00` for a vacation house.
1566
+ *
1567
+ * When not set, each bookable day runs from midnight to midnight, the same as `FULL_DAY`.
1568
+ */
1569
+ timeBoundaries?: TimeBoundaries;
1552
1570
  }
1553
1571
  /** Times of day at which each bookable day of a daily service starts and ends. */
1554
1572
  interface TimeBoundaries extends TimeBoundariesOptionsOneOf {
1573
+ /** Check-in and check-out times, applied to every day of the week. Required when `type` is `OVERNIGHT`. */
1574
+ overnightTimes?: OvernightTimes;
1575
+ /** How the start and end times of each bookable day are set. */
1576
+ type?: TimeBoundariesTypeWithLiterals;
1555
1577
  }
1556
1578
  /** @oneof */
1557
1579
  interface TimeBoundariesOptionsOneOf {
1580
+ /** Check-in and check-out times, applied to every day of the week. Required when `type` is `OVERNIGHT`. */
1581
+ overnightTimes?: OvernightTimes;
1558
1582
  }
1559
1583
  /** How the start and end times of each bookable day are set. */
1560
1584
  declare enum TimeBoundariesType {
1561
1585
  /** Each bookable day runs from midnight to midnight. */
1562
- FULL_DAY = "FULL_DAY"
1586
+ FULL_DAY = "FULL_DAY",
1587
+ /**
1588
+ * Each booking checks in at `overnightTimes.checkInTime` and checks out on a later day
1589
+ * at `overnightTimes.checkOutTime`. Each day counts as 1 night, from the check-in time to the check-out time on the next day.
1590
+ * @documentationMaturity preview
1591
+ */
1592
+ OVERNIGHT = "OVERNIGHT"
1563
1593
  }
1564
1594
  /** @enumType */
1565
- type TimeBoundariesTypeWithLiterals = TimeBoundariesType | 'FULL_DAY';
1595
+ type TimeBoundariesTypeWithLiterals = TimeBoundariesType | 'FULL_DAY' | 'OVERNIGHT';
1566
1596
  /**
1567
1597
  * Check-in and check-out times of a daily service whose bookings run overnight.
1568
1598
  *
@@ -1570,6 +1600,18 @@ type TimeBoundariesTypeWithLiterals = TimeBoundariesType | 'FULL_DAY';
1570
1600
  * If they're the same, each night lasts 24 hours. If a time breaks these rules, the call fails with `INVALID_OVERNIGHT_TIMES`.
1571
1601
  */
1572
1602
  interface OvernightTimes {
1603
+ /**
1604
+ * Check-in time in `HH:mm` format, on the hour or half hour.
1605
+ * Evaluated in the business time zone. For example, `15:00`.
1606
+ * @format LOCAL_TIME
1607
+ */
1608
+ checkInTime?: string;
1609
+ /**
1610
+ * Check-out time on the day after the last booked night, in `HH:mm` format, on the hour or half hour.
1611
+ * Evaluated in the business time zone. For example, `11:00`.
1612
+ * @format LOCAL_TIME
1613
+ */
1614
+ checkOutTime?: string;
1573
1615
  }
1574
1616
  /**
1575
1617
  * Controls how a service's own working hours combine with the working hours of its assigned