@wix/auto_sdk_bookings_services 1.0.294 → 1.0.296
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-aMyEKaUz.d.ts → bookings-services-v2-service-services.universal-Bf4TC5aj.d.ts} +44 -44
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +5 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +5 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +44 -44
- package/build/cjs/meta.js +5 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-aMyEKaUz.d.mts → bookings-services-v2-service-services.universal-Bf4TC5aj.d.mts} +44 -44
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +5 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +44 -44
- package/build/es/meta.mjs +5 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-Ck3JypxT.d.ts → bookings-services-v2-service-services.universal-cXube6nf.d.ts} +45 -45
- 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 +45 -45
- package/build/internal/es/{bookings-services-v2-service-services.universal-Ck3JypxT.d.mts → bookings-services-v2-service-services.universal-cXube6nf.d.mts} +45 -45
- 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 +45 -45
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c_ as CreateServiceRequest$1, c$ as CreateServiceResponse$1, d3 as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d8 as GetServiceRequest$1, d9 as GetServiceResponse$1, de as UpdateServiceRequest$1, df as UpdateServiceResponse$1, dg as BulkUpdateServicesRequest$1, e as BulkUpdateServicesResponse$1, di as BulkUpdateServicesByFilterRequest$1, h as BulkUpdateServicesByFilterResponse$1, dj as DeleteServiceRequest$1, dl as DeleteServiceResponse$1, dm as BulkDeleteServicesRequest$1, j as BulkDeleteServicesResponse$1, dn as BulkDeleteServicesByFilterRequest$1, l as BulkDeleteServicesByFilterResponse$1, dp as QueryServicesRequest$1, dv as QueryServicesResponse$1, dy as SearchServicesRequest$1, n as SearchServicesResponse$1, ec as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, ef as QueryBookingFormsRequest$1, q as QueryBookingFormsResponse$1, ej as CountServicesRequest$1, t as CountServicesResponse$1, ek as QueryLocationsRequest$1, v as QueryLocationsResponse$1, ep as QueryCategoriesRequest$1, x as QueryCategoriesResponse$1, et as SetServiceLocationsRequest$1, z as SetServiceLocationsResponse$1, ex as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, eA as DisablePricingPlansForServiceRequest$1, H as DisablePricingPlansForServiceResponse$1, eB as SetCustomSlugRequest$1, K as SetCustomSlugResponse$1, eC as ValidateSlugRequest$1, N as ValidateSlugResponse$1, eD as CloneServiceRequest$1, O as CloneServiceResponse$1, f2 as CreateAddOnGroupRequest$1, T as CreateAddOnGroupResponse$1, f3 as DeleteAddOnGroupRequest$1, f4 as DeleteAddOnGroupResponse$1, f5 as UpdateAddOnGroupRequest$1, _ as UpdateAddOnGroupResponse$1, f6 as ListAddOnGroupsByServiceIdRequest$1, a1 as ListAddOnGroupsByServiceIdResponse$1, fa as SetAddOnsForGroupRequest$1, a3 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-
|
|
1
|
+
import { c_ as CreateServiceRequest$1, c$ as CreateServiceResponse$1, d3 as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d8 as GetServiceRequest$1, d9 as GetServiceResponse$1, de as UpdateServiceRequest$1, df as UpdateServiceResponse$1, dg as BulkUpdateServicesRequest$1, e as BulkUpdateServicesResponse$1, di as BulkUpdateServicesByFilterRequest$1, h as BulkUpdateServicesByFilterResponse$1, dj as DeleteServiceRequest$1, dl as DeleteServiceResponse$1, dm as BulkDeleteServicesRequest$1, j as BulkDeleteServicesResponse$1, dn as BulkDeleteServicesByFilterRequest$1, l as BulkDeleteServicesByFilterResponse$1, dp as QueryServicesRequest$1, dv as QueryServicesResponse$1, dy as SearchServicesRequest$1, n as SearchServicesResponse$1, ec as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, ef as QueryBookingFormsRequest$1, q as QueryBookingFormsResponse$1, ej as CountServicesRequest$1, t as CountServicesResponse$1, ek as QueryLocationsRequest$1, v as QueryLocationsResponse$1, ep as QueryCategoriesRequest$1, x as QueryCategoriesResponse$1, et as SetServiceLocationsRequest$1, z as SetServiceLocationsResponse$1, ex as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, eA as DisablePricingPlansForServiceRequest$1, H as DisablePricingPlansForServiceResponse$1, eB as SetCustomSlugRequest$1, K as SetCustomSlugResponse$1, eC as ValidateSlugRequest$1, N as ValidateSlugResponse$1, eD as CloneServiceRequest$1, O as CloneServiceResponse$1, f2 as CreateAddOnGroupRequest$1, T as CreateAddOnGroupResponse$1, f3 as DeleteAddOnGroupRequest$1, f4 as DeleteAddOnGroupResponse$1, f5 as UpdateAddOnGroupRequest$1, _ as UpdateAddOnGroupResponse$1, f6 as ListAddOnGroupsByServiceIdRequest$1, a1 as ListAddOnGroupsByServiceIdResponse$1, fa as SetAddOnsForGroupRequest$1, a3 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-Bf4TC5aj.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -626,6 +626,49 @@ interface DiscountInfo {
|
|
|
626
626
|
*/
|
|
627
627
|
priceAfterDiscount?: Money;
|
|
628
628
|
}
|
|
629
|
+
/** A mandatory fee the customer pays in addition to the service price. */
|
|
630
|
+
interface AdditionalFee {
|
|
631
|
+
/**
|
|
632
|
+
* Fee ID.
|
|
633
|
+
* Wix Bookings assigns it when the fee is created.
|
|
634
|
+
* To keep a fee's ID when updating the service, pass the existing ID. A fee sent without an ID, or with an ID that isn't on the service, gets a new ID.
|
|
635
|
+
* @format GUID
|
|
636
|
+
* @readonly
|
|
637
|
+
*/
|
|
638
|
+
id?: string;
|
|
639
|
+
/**
|
|
640
|
+
* Fee name, shown to the customer.
|
|
641
|
+
*
|
|
642
|
+
* Required for each fee you send.
|
|
643
|
+
* @minLength 1
|
|
644
|
+
* @maxLength 50
|
|
645
|
+
*/
|
|
646
|
+
name?: string;
|
|
647
|
+
/**
|
|
648
|
+
* Fee amount in the service currency. For a `PER_UNIT` fee, the amount charged for each unit.
|
|
649
|
+
*
|
|
650
|
+
* Required for each fee you send.
|
|
651
|
+
*/
|
|
652
|
+
amount?: Money;
|
|
653
|
+
/**
|
|
654
|
+
* Whether the fee is charged once per reservation or for each unit of the reservation's duration.
|
|
655
|
+
*
|
|
656
|
+
* Required for each fee you send.
|
|
657
|
+
*/
|
|
658
|
+
chargeType?: ChargeTypeWithLiterals;
|
|
659
|
+
}
|
|
660
|
+
declare enum ChargeType {
|
|
661
|
+
/** Charged once for the whole reservation. */
|
|
662
|
+
PER_RESERVATION = "PER_RESERVATION",
|
|
663
|
+
/**
|
|
664
|
+
* Charged for each duration unit of the reservation, as set in `schedule.availabilityConstraints.durationRange.unitType`.
|
|
665
|
+
* For example, for each day or hour.
|
|
666
|
+
* Charged once when the service has no duration range.
|
|
667
|
+
*/
|
|
668
|
+
PER_UNIT = "PER_UNIT"
|
|
669
|
+
}
|
|
670
|
+
/** @enumType */
|
|
671
|
+
type ChargeTypeWithLiterals = ChargeType | 'PER_RESERVATION' | 'PER_UNIT';
|
|
629
672
|
interface OnlineBooking {
|
|
630
673
|
/**
|
|
631
674
|
* Whether the service can be booked online.
|
|
@@ -3066,49 +3109,6 @@ interface AccountInfo {
|
|
|
3066
3109
|
*/
|
|
3067
3110
|
siteId?: string | null;
|
|
3068
3111
|
}
|
|
3069
|
-
/** A mandatory fee the customer pays in addition to the service price. */
|
|
3070
|
-
interface AdditionalFee {
|
|
3071
|
-
/**
|
|
3072
|
-
* Fee ID.
|
|
3073
|
-
* Wix Bookings assigns it when the fee is created.
|
|
3074
|
-
* To keep a fee's ID when updating the service, pass the existing ID. A fee sent without an ID, or with an ID that isn't on the service, gets a new ID.
|
|
3075
|
-
* @format GUID
|
|
3076
|
-
* @readonly
|
|
3077
|
-
*/
|
|
3078
|
-
id?: string;
|
|
3079
|
-
/**
|
|
3080
|
-
* Fee name, shown to the customer.
|
|
3081
|
-
*
|
|
3082
|
-
* Required for each fee you send.
|
|
3083
|
-
* @minLength 1
|
|
3084
|
-
* @maxLength 50
|
|
3085
|
-
*/
|
|
3086
|
-
name?: string;
|
|
3087
|
-
/**
|
|
3088
|
-
* Fee amount in the service currency. For a `PER_UNIT` fee, the amount charged for each unit.
|
|
3089
|
-
*
|
|
3090
|
-
* Required for each fee you send.
|
|
3091
|
-
*/
|
|
3092
|
-
amount?: Money;
|
|
3093
|
-
/**
|
|
3094
|
-
* Whether the fee is charged once per reservation or for each unit of the reservation's duration.
|
|
3095
|
-
*
|
|
3096
|
-
* Required for each fee you send.
|
|
3097
|
-
*/
|
|
3098
|
-
chargeType?: ChargeTypeWithLiterals;
|
|
3099
|
-
}
|
|
3100
|
-
declare enum ChargeType {
|
|
3101
|
-
/** Charged once for the whole reservation. */
|
|
3102
|
-
PER_RESERVATION = "PER_RESERVATION",
|
|
3103
|
-
/**
|
|
3104
|
-
* Charged for each duration unit of the reservation, as set in `schedule.availabilityConstraints.durationRange.unitType`.
|
|
3105
|
-
* For example, for each day or hour.
|
|
3106
|
-
* Charged once when the service has no duration range.
|
|
3107
|
-
*/
|
|
3108
|
-
PER_UNIT = "PER_UNIT"
|
|
3109
|
-
}
|
|
3110
|
-
/** @enumType */
|
|
3111
|
-
type ChargeTypeWithLiterals = ChargeType | 'PER_RESERVATION' | 'PER_UNIT';
|
|
3112
3112
|
interface CreateServiceRequest {
|
|
3113
3113
|
/** Service to create. */
|
|
3114
3114
|
service: Service;
|
package/build/es/meta.mjs
CHANGED
|
@@ -1344,6 +1344,11 @@ var AddOnPaymentOptions = /* @__PURE__ */ ((AddOnPaymentOptions2) => {
|
|
|
1344
1344
|
AddOnPaymentOptions2["IN_PERSON"] = "IN_PERSON";
|
|
1345
1345
|
return AddOnPaymentOptions2;
|
|
1346
1346
|
})(AddOnPaymentOptions || {});
|
|
1347
|
+
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
1348
|
+
ChargeType2["PER_RESERVATION"] = "PER_RESERVATION";
|
|
1349
|
+
ChargeType2["PER_UNIT"] = "PER_UNIT";
|
|
1350
|
+
return ChargeType2;
|
|
1351
|
+
})(ChargeType || {});
|
|
1347
1352
|
var LocationTypeEnumLocationType = /* @__PURE__ */ ((LocationTypeEnumLocationType2) => {
|
|
1348
1353
|
LocationTypeEnumLocationType2["CUSTOM"] = "CUSTOM";
|
|
1349
1354
|
LocationTypeEnumLocationType2["BUSINESS"] = "BUSINESS";
|
|
@@ -1481,11 +1486,6 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1481
1486
|
WebhookIdentityType2["APP"] = "APP";
|
|
1482
1487
|
return WebhookIdentityType2;
|
|
1483
1488
|
})(WebhookIdentityType || {});
|
|
1484
|
-
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
1485
|
-
ChargeType2["PER_RESERVATION"] = "PER_RESERVATION";
|
|
1486
|
-
ChargeType2["PER_UNIT"] = "PER_UNIT";
|
|
1487
|
-
return ChargeType2;
|
|
1488
|
-
})(ChargeType || {});
|
|
1489
1489
|
var V2RequestedFields = /* @__PURE__ */ ((V2RequestedFields2) => {
|
|
1490
1490
|
V2RequestedFields2["STAFF_MEMBER_DETAILS"] = "STAFF_MEMBER_DETAILS";
|
|
1491
1491
|
V2RequestedFields2["RESOURCE_TYPE_DETAILS"] = "RESOURCE_TYPE_DETAILS";
|