@wix/auto_sdk_bookings_services 1.0.237 → 1.0.239

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.
Files changed (45) hide show
  1. package/build/cjs/{bookings-services-v2-service-services.universal-BKoqsyEO.d.ts → bookings-services-v2-service-services.universal-Dorio3C3.d.ts} +30 -28
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +12 -6
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +2 -2
  6. package/build/cjs/index.typings.js +12 -6
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +30 -28
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.js +40 -40
  11. package/build/cjs/schemas.js.map +1 -1
  12. package/build/es/{bookings-services-v2-service-services.universal-BKoqsyEO.d.mts → bookings-services-v2-service-services.universal-Dorio3C3.d.mts} +30 -28
  13. package/build/es/index.d.mts +2 -2
  14. package/build/es/index.mjs +12 -6
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +2 -2
  17. package/build/es/index.typings.mjs +12 -6
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +30 -28
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/es/schemas.mjs +40 -40
  22. package/build/es/schemas.mjs.map +1 -1
  23. package/build/internal/cjs/{bookings-services-v2-service-services.universal-D98H2-yO.d.ts → bookings-services-v2-service-services.universal-mc9Kk_qi.d.ts} +72 -28
  24. package/build/internal/cjs/index.d.ts +2 -2
  25. package/build/internal/cjs/index.js +12 -6
  26. package/build/internal/cjs/index.js.map +1 -1
  27. package/build/internal/cjs/index.typings.d.ts +2 -2
  28. package/build/internal/cjs/index.typings.js +12 -6
  29. package/build/internal/cjs/index.typings.js.map +1 -1
  30. package/build/internal/cjs/meta.d.ts +30 -28
  31. package/build/internal/cjs/meta.js.map +1 -1
  32. package/build/internal/cjs/schemas.js +40 -40
  33. package/build/internal/cjs/schemas.js.map +1 -1
  34. package/build/internal/es/{bookings-services-v2-service-services.universal-D98H2-yO.d.mts → bookings-services-v2-service-services.universal-mc9Kk_qi.d.mts} +72 -28
  35. package/build/internal/es/index.d.mts +2 -2
  36. package/build/internal/es/index.mjs +12 -6
  37. package/build/internal/es/index.mjs.map +1 -1
  38. package/build/internal/es/index.typings.d.mts +2 -2
  39. package/build/internal/es/index.typings.mjs +12 -6
  40. package/build/internal/es/index.typings.mjs.map +1 -1
  41. package/build/internal/es/meta.d.mts +30 -28
  42. package/build/internal/es/meta.mjs.map +1 -1
  43. package/build/internal/es/schemas.mjs +40 -40
  44. package/build/internal/es/schemas.mjs.map +1 -1
  45. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { cK as CreateServiceRequest$1, cL as CreateServiceResponse$1, cP as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, cU as GetServiceRequest$1, cV as GetServiceResponse$1, c_ as UpdateServiceRequest$1, c$ as UpdateServiceResponse$1, d0 as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, d2 as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, d3 as DeleteServiceRequest$1, d5 as DeleteServiceResponse$1, d6 as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, d7 as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, d8 as QueryServicesRequest$1, de as QueryServicesResponse$1, dh as SearchServicesRequest$1, l as SearchServicesResponse$1, dY as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, d$ as QueryBookingFormsRequest$1, o as QueryBookingFormsResponse$1, e3 as CountServicesRequest$1, r as CountServicesResponse$1, e4 as QueryLocationsRequest$1, t as QueryLocationsResponse$1, e9 as QueryCategoriesRequest$1, v as QueryCategoriesResponse$1, ed as SetServiceLocationsRequest$1, x as SetServiceLocationsResponse$1, eh as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, ek as DisablePricingPlansForServiceRequest$1, A as DisablePricingPlansForServiceResponse$1, el as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, em as ValidateSlugRequest$1, L as ValidateSlugResponse$1, en as CloneServiceRequest$1, M as CloneServiceResponse$1, eV as CreateAddOnGroupRequest$1, P as CreateAddOnGroupResponse$1, eW as DeleteAddOnGroupRequest$1, eX as DeleteAddOnGroupResponse$1, eY as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, eZ as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, f1 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-D98H2-yO.mjs';
1
+ import { cK as CreateServiceRequest$1, cL as CreateServiceResponse$1, cP as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, cU as GetServiceRequest$1, cV as GetServiceResponse$1, c_ as UpdateServiceRequest$1, c$ as UpdateServiceResponse$1, d0 as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, d2 as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, d3 as DeleteServiceRequest$1, d5 as DeleteServiceResponse$1, d6 as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, d7 as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, d8 as QueryServicesRequest$1, de as QueryServicesResponse$1, dh as SearchServicesRequest$1, l as SearchServicesResponse$1, dY as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, d$ as QueryBookingFormsRequest$1, o as QueryBookingFormsResponse$1, e3 as CountServicesRequest$1, r as CountServicesResponse$1, e4 as QueryLocationsRequest$1, t as QueryLocationsResponse$1, e9 as QueryCategoriesRequest$1, v as QueryCategoriesResponse$1, ed as SetServiceLocationsRequest$1, x as SetServiceLocationsResponse$1, eh as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, ek as DisablePricingPlansForServiceRequest$1, A as DisablePricingPlansForServiceResponse$1, el as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, em as ValidateSlugRequest$1, L as ValidateSlugResponse$1, en as CloneServiceRequest$1, M as CloneServiceResponse$1, eV as CreateAddOnGroupRequest$1, P as CreateAddOnGroupResponse$1, eW as DeleteAddOnGroupRequest$1, eX as DeleteAddOnGroupResponse$1, eY as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, eZ as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, f1 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-mc9Kk_qi.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** The `service` object represents an offering that a business provides to its customers. */
@@ -920,9 +920,10 @@ interface CancellationPolicy {
920
920
  * policy itself is disabled (`enabled` = `false`), anonymous users cannot cancel
921
921
  * regardless of this flag's value.
922
922
  *
923
- * When not set (null), defaults to disabled.
923
+ * When not set (null), defaults to enabled. Anonymous cancellations are allowed by default
924
+ * so that customers aren't required to be site members to cancel their bookings.
924
925
  *
925
- * Default: `null` (treated as disabled)
926
+ * Default: `null` (treated as `true`)
926
927
  */
927
928
  allowAnonymous?: boolean | null;
928
929
  }
@@ -957,9 +958,10 @@ interface ReschedulePolicy {
957
958
  * policy itself is disabled (`enabled` = `false`), anonymous users cannot reschedule
958
959
  * regardless of this flag's value.
959
960
  *
960
- * When not set (null), defaults to disabled.
961
+ * When not set (null), defaults to enabled. Anonymous rescheduling is allowed by default
962
+ * so that customers aren't required to be site members to reschedule their bookings.
961
963
  *
962
- * Default: `null` (treated as disabled)
964
+ * Default: `null` (treated as `true`)
963
965
  */
964
966
  allowAnonymous?: boolean | null;
965
967
  }
@@ -1394,6 +1396,29 @@ interface ResourceType {
1394
1396
  */
1395
1397
  name?: string | null;
1396
1398
  }
1399
+ /** Details about the individual resources assigned to a service resource. */
1400
+ interface ResourceDetails {
1401
+ /**
1402
+ * List of resources assigned to this service resource.
1403
+ * @maxSize 100
1404
+ */
1405
+ resources?: ResourceInfo[];
1406
+ }
1407
+ /** A resource assigned to a service resource. */
1408
+ interface ResourceInfo {
1409
+ /**
1410
+ * ID of the resource.
1411
+ * @format GUID
1412
+ * @readonly
1413
+ */
1414
+ id?: string;
1415
+ /**
1416
+ * Display name of the resource (for example, `"John Smith"` or `"Room A"`).
1417
+ * @readonly
1418
+ * @maxLength 100
1419
+ */
1420
+ name?: string | null;
1421
+ }
1397
1422
  interface Slug {
1398
1423
  /**
1399
1424
  * The unique part of service's URL that identifies the service's information page. For example, `service-1` in `https:/example.com/services/service-1`.
@@ -2669,29 +2694,6 @@ interface AccountInfo {
2669
2694
  */
2670
2695
  siteId?: string | null;
2671
2696
  }
2672
- /** Details about the individual resources assigned to a service resource. */
2673
- interface ResourceDetails {
2674
- /**
2675
- * List of resources assigned to this service resource.
2676
- * @maxSize 100
2677
- */
2678
- resources?: ResourceInfo[];
2679
- }
2680
- /** A resource assigned to a service resource. */
2681
- interface ResourceInfo {
2682
- /**
2683
- * ID of the resource.
2684
- * @format GUID
2685
- * @readonly
2686
- */
2687
- id?: string;
2688
- /**
2689
- * Display name of the resource (for example, `"John Smith"` or `"Room A"`).
2690
- * @readonly
2691
- * @maxLength 100
2692
- */
2693
- name?: string | null;
2694
- }
2695
2697
  interface CreateServiceRequest {
2696
2698
  /** Service to create. */
2697
2699
  service: Service;