@wix/auto_sdk_bookings_services 1.0.288 → 1.0.289

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 { cV as CreateServiceRequest$1, cW as CreateServiceResponse$1, c_ as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d3 as GetServiceRequest$1, d4 as GetServiceResponse$1, d9 as UpdateServiceRequest$1, da as UpdateServiceResponse$1, db as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, dd as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, de as DeleteServiceRequest$1, dg as DeleteServiceResponse$1, dh as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, di as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, dj as QueryServicesRequest$1, dq as QueryServicesResponse$1, dt as SearchServicesRequest$1, l as SearchServicesResponse$1, e7 as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, ea as QueryBookingFormsRequest$1, o as QueryBookingFormsResponse$1, ee as CountServicesRequest$1, r as CountServicesResponse$1, ef as QueryLocationsRequest$1, t as QueryLocationsResponse$1, ek as QueryCategoriesRequest$1, v as QueryCategoriesResponse$1, eo as SetServiceLocationsRequest$1, x as SetServiceLocationsResponse$1, es as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, ev as DisablePricingPlansForServiceRequest$1, A as DisablePricingPlansForServiceResponse$1, ew as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, ex as ValidateSlugRequest$1, L as ValidateSlugResponse$1, ey as CloneServiceRequest$1, M as CloneServiceResponse$1, eZ as CreateAddOnGroupRequest$1, P as CreateAddOnGroupResponse$1, e_ as DeleteAddOnGroupRequest$1, e$ as DeleteAddOnGroupResponse$1, f0 as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, f1 as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, f5 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-CJZU8UkN.js';
1
+ import { cV as CreateServiceRequest$1, cW as CreateServiceResponse$1, c_ as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d3 as GetServiceRequest$1, d4 as GetServiceResponse$1, d9 as UpdateServiceRequest$1, da as UpdateServiceResponse$1, db as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, dd as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, de as DeleteServiceRequest$1, dg as DeleteServiceResponse$1, dh as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, di as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, dj as QueryServicesRequest$1, dq as QueryServicesResponse$1, dt as SearchServicesRequest$1, l as SearchServicesResponse$1, e7 as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, ea as QueryBookingFormsRequest$1, o as QueryBookingFormsResponse$1, ee as CountServicesRequest$1, r as CountServicesResponse$1, ef as QueryLocationsRequest$1, t as QueryLocationsResponse$1, ek as QueryCategoriesRequest$1, v as QueryCategoriesResponse$1, eo as SetServiceLocationsRequest$1, x as SetServiceLocationsResponse$1, es as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, ev as DisablePricingPlansForServiceRequest$1, A as DisablePricingPlansForServiceResponse$1, ew as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, ex as ValidateSlugRequest$1, L as ValidateSlugResponse$1, ey as CloneServiceRequest$1, M as CloneServiceResponse$1, eZ as CreateAddOnGroupRequest$1, P as CreateAddOnGroupResponse$1, e_ as DeleteAddOnGroupRequest$1, e$ as DeleteAddOnGroupResponse$1, f0 as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, f1 as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, f5 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-C8fV-5oa.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** The `service` object represents an offering that a business provides to its customers. */
@@ -1283,6 +1283,32 @@ interface LimitRebookingPolicy {
1283
1283
  */
1284
1284
  windowInMinutes?: number | null;
1285
1285
  }
1286
+ interface PricingPlanRefundPolicy {
1287
+ /**
1288
+ * Whether the refund windows apply. When `false`, the pricing plan session always goes back to the customer's plan when they cancel.
1289
+ *
1290
+ * Default: `false`
1291
+ */
1292
+ enabled?: boolean;
1293
+ /**
1294
+ * Refund windows. A cancellation earlier than every window always returns the session to the plan.
1295
+ * @maxSize 2
1296
+ */
1297
+ refundWindows?: RefundWindow[];
1298
+ }
1299
+ interface RefundWindow {
1300
+ /**
1301
+ * Start of the refund window in minutes before the session start. For courses, this refers to the start of the first course session.
1302
+ * @min 1
1303
+ */
1304
+ startInMinutes?: number | null;
1305
+ /**
1306
+ * Whether the pricing plan session goes back to the customer's plan when they cancel within this window.
1307
+ *
1308
+ * Default: `true`
1309
+ */
1310
+ refundEnabled?: boolean | null;
1311
+ }
1286
1312
  interface Schedule {
1287
1313
  /**
1288
1314
  * ID of the [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)
@@ -3016,32 +3042,6 @@ interface AccountInfo {
3016
3042
  */
3017
3043
  siteId?: string | null;
3018
3044
  }
3019
- interface PricingPlanRefundPolicy {
3020
- /**
3021
- * Whether the refund windows apply. When `false`, the pricing plan session always goes back to the customer's plan when they cancel.
3022
- *
3023
- * Default: `false`
3024
- */
3025
- enabled?: boolean;
3026
- /**
3027
- * Refund windows. A cancellation earlier than every window always returns the session to the plan.
3028
- * @maxSize 2
3029
- */
3030
- refundWindows?: RefundWindow[];
3031
- }
3032
- interface RefundWindow {
3033
- /**
3034
- * Start of the refund window in minutes before the session start. For courses, this refers to the start of the first course session.
3035
- * @min 1
3036
- */
3037
- startInMinutes?: number | null;
3038
- /**
3039
- * Whether the pricing plan session goes back to the customer's plan when they cancel within this window.
3040
- *
3041
- * Default: `true`
3042
- */
3043
- refundEnabled?: boolean | null;
3044
- }
3045
3045
  interface CreateServiceRequest {
3046
3046
  /** Service to create. */
3047
3047
  service: Service;