@wix/auto_sdk_bookings_services 1.0.276 → 1.0.278
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-fqkwbSWP.d.ts → bookings-services-v2-service-services.universal-BrvPU5Ag.d.ts} +12 -4
- 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 +13 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +7701 -7334
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-fqkwbSWP.d.mts → bookings-services-v2-service-services.universal-BrvPU5Ag.d.mts} +12 -4
- 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 +13 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +7701 -7334
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-CP7peadD.d.ts → bookings-services-v2-service-services.universal-DrBzl1x9.d.ts} +8 -20
- 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 +9 -21
- package/build/internal/es/{bookings-services-v2-service-services.universal-CP7peadD.d.mts → bookings-services-v2-service-services.universal-DrBzl1x9.d.mts} +8 -20
- 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 +9 -21
- package/package.json +2 -2
- package/build/internal/cjs/index.js +0 -4135
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.js +0 -3684
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.js +0 -2698
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/schemas.js +0 -17303
- package/build/internal/cjs/schemas.js.map +0 -1
- package/build/internal/es/index.mjs +0 -4034
- package/build/internal/es/index.mjs.map +0 -1
- package/build/internal/es/index.typings.mjs +0 -3585
- package/build/internal/es/index.typings.mjs.map +0 -1
- package/build/internal/es/meta.mjs +0 -2598
- package/build/internal/es/meta.mjs.map +0 -1
- package/build/internal/es/schemas.mjs +0 -17213
- package/build/internal/es/schemas.mjs.map +0 -1
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cT as CreateServiceRequest$1, cU as CreateServiceResponse$1, cY as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d1 as GetServiceRequest$1, d2 as GetServiceResponse$1, d7 as UpdateServiceRequest$1, d8 as UpdateServiceResponse$1, d9 as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, db as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, dc as DeleteServiceRequest$1, de as DeleteServiceResponse$1, df as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, dg as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, dh as QueryServicesRequest$1, dn as QueryServicesResponse$1, dr as SearchServicesRequest$1, l as SearchServicesResponse$1, e5 as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, e8 as QueryBookingFormsRequest$1, o as QueryBookingFormsResponse$1, ec as CountServicesRequest$1, r as CountServicesResponse$1, ed as QueryLocationsRequest$1, t as QueryLocationsResponse$1, ei as QueryCategoriesRequest$1, v as QueryCategoriesResponse$1, em as SetServiceLocationsRequest$1, x as SetServiceLocationsResponse$1, eq as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, et as DisablePricingPlansForServiceRequest$1, A as DisablePricingPlansForServiceResponse$1, eu as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, ev as ValidateSlugRequest$1, L as ValidateSlugResponse$1, ew as CloneServiceRequest$1, M as CloneServiceResponse$1, eX as CreateAddOnGroupRequest$1, P as CreateAddOnGroupResponse$1, eY as DeleteAddOnGroupRequest$1, eZ as DeleteAddOnGroupResponse$1, e_ as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, e$ as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, f3 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-
|
|
1
|
+
import { cT as CreateServiceRequest$1, cU as CreateServiceResponse$1, cY as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d1 as GetServiceRequest$1, d2 as GetServiceResponse$1, d7 as UpdateServiceRequest$1, d8 as UpdateServiceResponse$1, d9 as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, db as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, dc as DeleteServiceRequest$1, de as DeleteServiceResponse$1, df as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, dg as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, dh as QueryServicesRequest$1, dn as QueryServicesResponse$1, dr as SearchServicesRequest$1, l as SearchServicesResponse$1, e5 as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, e8 as QueryBookingFormsRequest$1, o as QueryBookingFormsResponse$1, ec as CountServicesRequest$1, r as CountServicesResponse$1, ed as QueryLocationsRequest$1, t as QueryLocationsResponse$1, ei as QueryCategoriesRequest$1, v as QueryCategoriesResponse$1, em as SetServiceLocationsRequest$1, x as SetServiceLocationsResponse$1, eq as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, et as DisablePricingPlansForServiceRequest$1, A as DisablePricingPlansForServiceResponse$1, eu as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, ev as ValidateSlugRequest$1, L as ValidateSlugResponse$1, ew as CloneServiceRequest$1, M as CloneServiceResponse$1, eX as CreateAddOnGroupRequest$1, P as CreateAddOnGroupResponse$1, eY as DeleteAddOnGroupRequest$1, eZ as DeleteAddOnGroupResponse$1, e_ as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, e$ as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, f3 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-BrvPU5Ag.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -1325,7 +1325,7 @@ interface AvailabilityConstraints {
|
|
|
1325
1325
|
* - For appointment-based services with varied pricing by session length, you must still specify `sessionDurations`, but the values are ignored. Actual durations are taken from the [service variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
1326
1326
|
* - For classes or courses, don't specify `sessionDurations` when creating a service.
|
|
1327
1327
|
* @min 1
|
|
1328
|
-
* @max
|
|
1328
|
+
* @max 86400
|
|
1329
1329
|
* @maxSize 50
|
|
1330
1330
|
*/
|
|
1331
1331
|
sessionDurations?: number[];
|
|
@@ -1350,7 +1350,7 @@ interface V2Duration {
|
|
|
1350
1350
|
/**
|
|
1351
1351
|
* The duration of the service in minutes.
|
|
1352
1352
|
* @min 1
|
|
1353
|
-
* @max
|
|
1353
|
+
* @max 86400
|
|
1354
1354
|
*/
|
|
1355
1355
|
minutes?: number;
|
|
1356
1356
|
}
|
|
@@ -1407,7 +1407,7 @@ interface DailyConfig {
|
|
|
1407
1407
|
/**
|
|
1408
1408
|
* Minimum bookable duration in days. The customer can't book for less than this number of days.
|
|
1409
1409
|
* @min 1
|
|
1410
|
-
* @max
|
|
1410
|
+
* @max 60
|
|
1411
1411
|
*/
|
|
1412
1412
|
minDurationInDays?: number;
|
|
1413
1413
|
/**
|
|
@@ -1415,7 +1415,7 @@ interface DailyConfig {
|
|
|
1415
1415
|
*
|
|
1416
1416
|
* Must be greater than or equal to `minDurationInDays`.
|
|
1417
1417
|
* @min 1
|
|
1418
|
-
* @max
|
|
1418
|
+
* @max 60
|
|
1419
1419
|
*/
|
|
1420
1420
|
maxDurationInDays?: number;
|
|
1421
1421
|
}
|
|
@@ -2718,6 +2718,10 @@ interface ServiceChoice extends ServiceChoiceChoiceOneOf {
|
|
|
2718
2718
|
*/
|
|
2719
2719
|
custom?: string;
|
|
2720
2720
|
duration?: Duration;
|
|
2721
|
+
/** The matched date-time pricing rule. Available only for `DATE_TIME` options. */
|
|
2722
|
+
dateTime?: DateTimeRule;
|
|
2723
|
+
/** The matched participants pricing rule. Available only for `NUMBER_OF_PARTICIPANTS` options. */
|
|
2724
|
+
participantRange?: ParticipantsRange;
|
|
2721
2725
|
/**
|
|
2722
2726
|
* ID of the corresponding option for the choice. For example, the choice `child`
|
|
2723
2727
|
* could correspond to the option `ageGroup`. In this case, `optionId` is the ID
|
|
@@ -2741,6 +2745,10 @@ interface ServiceChoiceChoiceOneOf {
|
|
|
2741
2745
|
*/
|
|
2742
2746
|
custom?: string;
|
|
2743
2747
|
duration?: Duration;
|
|
2748
|
+
/** The matched date-time pricing rule. Available only for `DATE_TIME` options. */
|
|
2749
|
+
dateTime?: DateTimeRule;
|
|
2750
|
+
/** The matched participants pricing rule. Available only for `NUMBER_OF_PARTICIPANTS` options. */
|
|
2751
|
+
participantRange?: ParticipantsRange;
|
|
2744
2752
|
}
|
|
2745
2753
|
interface Duration {
|
|
2746
2754
|
/**
|