@wix/auto_sdk_bookings_services 1.0.291 → 1.0.292
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-Cyf3-oLm.d.ts → bookings-services-v2-service-services.universal-DBI-qTBc.d.ts} +17 -17
- 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 +17 -17
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-Cyf3-oLm.d.mts → bookings-services-v2-service-services.universal-DBI-qTBc.d.mts} +17 -17
- 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 +17 -17
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-BmS6BUt-.d.ts → bookings-services-v2-service-services.universal-DIJR-4tw.d.ts} +17 -17
- 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 +17 -17
- package/build/internal/es/{bookings-services-v2-service-services.universal-BmS6BUt-.d.mts → bookings-services-v2-service-services.universal-DIJR-4tw.d.mts} +17 -17
- 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 +17 -17
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cW as CreateServiceRequest$1, cX as CreateServiceResponse$1, c$ as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d4 as GetServiceRequest$1, d5 as GetServiceResponse$1, da as UpdateServiceRequest$1, db as UpdateServiceResponse$1, dc as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, de as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, df as DeleteServiceRequest$1, dh as DeleteServiceResponse$1, di as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, dj as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, dk as QueryServicesRequest$1, dr as QueryServicesResponse$1, du as SearchServicesRequest$1, l as SearchServicesResponse$1, e8 as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, eb as QueryBookingFormsRequest$1, o as QueryBookingFormsResponse$1, ef as CountServicesRequest$1, r as CountServicesResponse$1, eg as QueryLocationsRequest$1, t as QueryLocationsResponse$1, el as QueryCategoriesRequest$1, v as QueryCategoriesResponse$1, ep as SetServiceLocationsRequest$1, x as SetServiceLocationsResponse$1, et as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, ew as DisablePricingPlansForServiceRequest$1, A as DisablePricingPlansForServiceResponse$1, ex as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, ey as ValidateSlugRequest$1, L as ValidateSlugResponse$1, ez as CloneServiceRequest$1, M as CloneServiceResponse$1, e_ as CreateAddOnGroupRequest$1, P as CreateAddOnGroupResponse$1, e$ as DeleteAddOnGroupRequest$1, f0 as DeleteAddOnGroupResponse$1, f1 as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, f2 as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, f6 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-
|
|
1
|
+
import { cW as CreateServiceRequest$1, cX as CreateServiceResponse$1, c$ as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d4 as GetServiceRequest$1, d5 as GetServiceResponse$1, da as UpdateServiceRequest$1, db as UpdateServiceResponse$1, dc as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, de as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, df as DeleteServiceRequest$1, dh as DeleteServiceResponse$1, di as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, dj as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, dk as QueryServicesRequest$1, dr as QueryServicesResponse$1, du as SearchServicesRequest$1, l as SearchServicesResponse$1, e8 as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, eb as QueryBookingFormsRequest$1, o as QueryBookingFormsResponse$1, ef as CountServicesRequest$1, r as CountServicesResponse$1, eg as QueryLocationsRequest$1, t as QueryLocationsResponse$1, el as QueryCategoriesRequest$1, v as QueryCategoriesResponse$1, ep as SetServiceLocationsRequest$1, x as SetServiceLocationsResponse$1, et as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, ew as DisablePricingPlansForServiceRequest$1, A as DisablePricingPlansForServiceResponse$1, ex as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, ey as ValidateSlugRequest$1, L as ValidateSlugResponse$1, ez as CloneServiceRequest$1, M as CloneServiceResponse$1, e_ as CreateAddOnGroupRequest$1, P as CreateAddOnGroupResponse$1, e$ as DeleteAddOnGroupRequest$1, f0 as DeleteAddOnGroupResponse$1, f1 as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, f2 as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, f6 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-DBI-qTBc.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -1315,6 +1315,22 @@ interface RefundWindow {
|
|
|
1315
1315
|
*/
|
|
1316
1316
|
refundEnabled?: boolean | null;
|
|
1317
1317
|
}
|
|
1318
|
+
interface ProrationPolicy {
|
|
1319
|
+
/**
|
|
1320
|
+
* Whether a customer who books a course after its first session started pays only for the sessions that are left.
|
|
1321
|
+
*
|
|
1322
|
+
* For a course whose service `payment.rateType` is `FIXED` or `VARIED`, the price is reduced in proportion to the sessions left out of all the course's sessions.
|
|
1323
|
+
* For a course whose service `payment.rateType` is `SUBSCRIPTION`, only the customer's first payment is reduced, in proportion to the sessions left out of all the sessions in the billing cycle that this payment covers. Later payments are the regular `payment.subscription.amountPerBillingCycle`. When the customer pays for all billing cycles upfront, the upfront price is the reduced first payment plus the regular price of the remaining cycles.
|
|
1324
|
+
* Canceled sessions aren't counted, either as sessions left or in the total.
|
|
1325
|
+
* A deposit set as a percentage is taken from the reduced price. A deposit set as a fixed amount stays the same but is never more than the reduced price.
|
|
1326
|
+
* Doesn't apply to courses whose service `payment.rateType` is `CUSTOM` or `NO_FEE`, to bookings paid with a pricing plan, or when the site uses a pricing integration service plugin.
|
|
1327
|
+
*
|
|
1328
|
+
* While `bookAfterStartPolicy.enabled` is `false`, customers can't book a course after it started, so this setting affects only bookings that the business creates for a customer after the course started, for example in the dashboard or the Wix app.
|
|
1329
|
+
*
|
|
1330
|
+
* Default: `false`
|
|
1331
|
+
*/
|
|
1332
|
+
enabled?: boolean;
|
|
1333
|
+
}
|
|
1318
1334
|
interface Schedule {
|
|
1319
1335
|
/**
|
|
1320
1336
|
* ID of the [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)
|
|
@@ -3048,22 +3064,6 @@ interface AccountInfo {
|
|
|
3048
3064
|
*/
|
|
3049
3065
|
siteId?: string | null;
|
|
3050
3066
|
}
|
|
3051
|
-
interface ProrationPolicy {
|
|
3052
|
-
/**
|
|
3053
|
-
* Whether a customer who books a course after its first session started pays only for the sessions that are left.
|
|
3054
|
-
*
|
|
3055
|
-
* For a course whose service `payment.rateType` is `FIXED` or `VARIED`, the price is reduced in proportion to the sessions left out of all the course's sessions.
|
|
3056
|
-
* For a course whose service `payment.rateType` is `SUBSCRIPTION`, only the customer's first payment is reduced, in proportion to the sessions left out of all the sessions in the billing cycle that this payment covers. Later payments are the regular `payment.subscription.amountPerBillingCycle`. When the customer pays for all billing cycles upfront, the upfront price is the reduced first payment plus the regular price of the remaining cycles.
|
|
3057
|
-
* Canceled sessions aren't counted, either as sessions left or in the total.
|
|
3058
|
-
* A deposit set as a percentage is taken from the reduced price. A deposit set as a fixed amount stays the same but is never more than the reduced price.
|
|
3059
|
-
* Doesn't apply to courses whose service `payment.rateType` is `CUSTOM` or `NO_FEE`, to bookings paid with a pricing plan, or when the site uses a pricing integration service plugin.
|
|
3060
|
-
*
|
|
3061
|
-
* While `bookAfterStartPolicy.enabled` is `false`, customers can't book a course after it started, so this setting affects only bookings that the business creates for a customer after the course started, for example in the dashboard or the Wix app.
|
|
3062
|
-
*
|
|
3063
|
-
* Default: `false`
|
|
3064
|
-
*/
|
|
3065
|
-
enabled?: boolean;
|
|
3066
|
-
}
|
|
3067
3067
|
interface CreateServiceRequest {
|
|
3068
3068
|
/** Service to create. */
|
|
3069
3069
|
service: Service;
|