@wix/auto_sdk_bookings_services 1.0.320 → 1.0.322
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/build/cjs/{bookings-services-v2-service-services.universal-BOiUvdZR.d.ts → bookings-services-v2-service-services.universal-DbYXx4Hq.d.ts} +10 -3
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-BOiUvdZR.d.mts → bookings-services-v2-service-services.universal-DbYXx4Hq.d.mts} +10 -3
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -4
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-CDxEfqj0.d.ts → bookings-services-v2-service-services.universal-BiT248kA.d.ts} +13 -12
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +14 -13
- package/build/internal/es/{bookings-services-v2-service-services.universal-CDxEfqj0.d.mts → bookings-services-v2-service-services.universal-BiT248kA.d.mts} +13 -12
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +14 -13
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -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-
|
|
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.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -658,7 +658,7 @@ interface AdditionalFee {
|
|
|
658
658
|
*/
|
|
659
659
|
name?: string;
|
|
660
660
|
/**
|
|
661
|
-
* Fee amount in the service currency. For a `PER_UNIT` fee, the amount charged for each unit.
|
|
661
|
+
* Fee amount in the service currency. Must be greater than `0`. For a `PER_UNIT` fee, the amount charged for each unit.
|
|
662
662
|
*
|
|
663
663
|
* Required for each fee you send.
|
|
664
664
|
*/
|
|
@@ -675,7 +675,7 @@ declare enum ChargeType {
|
|
|
675
675
|
PER_RESERVATION = "PER_RESERVATION",
|
|
676
676
|
/**
|
|
677
677
|
* Charged for each duration unit of the reservation, as set in `schedule.availabilityConstraints.durationRange.unitType`.
|
|
678
|
-
* For example, for each
|
|
678
|
+
* For example, for each hour or day. For an overnight service, each day counts as 1 night, from the check-in time to the check-out time on the next day.
|
|
679
679
|
* Charged once when the service has no duration range.
|
|
680
680
|
*/
|
|
681
681
|
PER_UNIT = "PER_UNIT"
|
|
@@ -1535,12 +1535,14 @@ interface HourlyConfig {
|
|
|
1535
1535
|
interface DailyConfig {
|
|
1536
1536
|
/**
|
|
1537
1537
|
* Minimum bookable duration in days. The customer can't book for less than this number of days.
|
|
1538
|
+
* For an overnight service, each day counts as 1 night, from the check-in time to the check-out time on the next day.
|
|
1538
1539
|
* @min 1
|
|
1539
1540
|
* @max 40
|
|
1540
1541
|
*/
|
|
1541
1542
|
minDurationInDays?: number;
|
|
1542
1543
|
/**
|
|
1543
1544
|
* Maximum bookable duration in days. The customer can't book for more than this number of days.
|
|
1545
|
+
* For an overnight service, each day counts as 1 night, from the check-in time to the check-out time on the next day.
|
|
1544
1546
|
*
|
|
1545
1547
|
* Must be greater than or equal to `minDurationInDays`.
|
|
1546
1548
|
* @min 1
|
|
@@ -1561,7 +1563,12 @@ declare enum TimeBoundariesType {
|
|
|
1561
1563
|
}
|
|
1562
1564
|
/** @enumType */
|
|
1563
1565
|
type TimeBoundariesTypeWithLiterals = TimeBoundariesType | 'FULL_DAY';
|
|
1564
|
-
/**
|
|
1566
|
+
/**
|
|
1567
|
+
* Check-in and check-out times of a daily service whose bookings run overnight.
|
|
1568
|
+
*
|
|
1569
|
+
* Neither time can be `00:00`. `checkOutTime` must be earlier than or the same as `checkInTime`.
|
|
1570
|
+
* If they're the same, each night lasts 24 hours. If a time breaks these rules, the call fails with `INVALID_OVERNIGHT_TIMES`.
|
|
1571
|
+
*/
|
|
1565
1572
|
interface OvernightTimes {
|
|
1566
1573
|
}
|
|
1567
1574
|
/**
|