@wix/auto_sdk_bookings_booking-policies 1.0.78 → 1.0.80

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.
@@ -249,8 +249,7 @@ interface ResourcesPolicy {
249
249
  */
250
250
  enabled?: boolean;
251
251
  /**
252
- * Whether Wix Bookings automatically assigns a resource, for example a *staff member*
253
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)),
252
+ * Whether Wix Bookings automatically assigns a resource, for example a [staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction),
254
253
  * to the booking. `false` means the customer must select the resource
255
254
  * themselves and Wix Bookings doesn't assign it automatically.
256
255
  *
@@ -338,8 +337,7 @@ interface CancellationWindowFeeOneOf {
338
337
  interface SaveCreditCardPolicy {
339
338
  /**
340
339
  * Whether Wix stores credit card details of the customer. Storing the details
341
- * allows Wix to prefill the *eCommerce checkout*
342
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction))
340
+ * allows Wix to prefill the [eCommerce checkout](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/checkout/introduction)
343
341
  * and thus increases the likelihood that the customer completes the booking
344
342
  * process.
345
343
  *
@@ -510,8 +508,7 @@ interface GetStrictestBookingPolicyResponse {
510
508
  /**
511
509
  * Hypothetical `bookingPolicy` object that combines the strictest version of
512
510
  * each rule. `bookingPolicy.id` is `null` and the returned object isn't actually
513
- * created. To create a new policy, you can call *Create Booking Policy*
514
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/create-booking-policy) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/create-booking-policy)).
511
+ * created. To create a new policy, you can call [Create Booking Policy](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/create-booking-policy).
515
512
  */
516
513
  bookingPolicy?: BookingPolicy;
517
514
  }
@@ -644,8 +641,7 @@ interface Cursors {
644
641
  interface CountBookingPoliciesRequest {
645
642
  /**
646
643
  * Filter to base the count on. See
647
- * supported filters*
648
- * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters))
644
+ * [supported filters](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters)
649
645
  * for details.
650
646
  */
651
647
  filter?: Record<string, any> | null;
@@ -1663,6 +1659,8 @@ interface BookingPolicyCreatedEnvelope {
1663
1659
  }
1664
1660
  /**
1665
1661
  * Triggered when a booking policy is created.
1662
+ * @permissionScope Manage Stores
1663
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1666
1664
  * @permissionScope Read Bookings - Public Data
1667
1665
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1668
1666
  * @permissionScope Manage Bookings Services and Settings
@@ -1687,9 +1685,10 @@ interface BookingPolicyDefaultBookingPolicySetEnvelope {
1687
1685
  }
1688
1686
  /**
1689
1687
  * Triggered when the site's default policy changes. Then,
1690
- * _Booking Policy Updated_
1691
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/on-booking-policy-updated) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/booking-policy-updated))
1688
+ * [Booking Policy Updated](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/booking-policy-updated)
1692
1689
  * is also triggered both for the new and the previous default policy.
1690
+ * @permissionScope Manage Stores
1691
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1693
1692
  * @permissionScope Read Bookings - Public Data
1694
1693
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1695
1694
  * @permissionScope Manage Bookings Services and Settings
@@ -1713,6 +1712,8 @@ interface BookingPolicyDeletedEnvelope {
1713
1712
  }
1714
1713
  /**
1715
1714
  * Triggered when a booking policy is deleted.
1715
+ * @permissionScope Manage Stores
1716
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1716
1717
  * @permissionScope Read Bookings - Public Data
1717
1718
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1718
1719
  * @permissionScope Manage Bookings Services and Settings
@@ -1738,6 +1739,8 @@ interface BookingPolicyUpdatedEnvelope {
1738
1739
  /**
1739
1740
  * Triggered when a booking policy is updated, including when a policy's
1740
1741
  * `default` attribute changes.
1742
+ * @permissionScope Manage Stores
1743
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1741
1744
  * @permissionScope Read Bookings - Public Data
1742
1745
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1743
1746
  * @permissionScope Manage Bookings Services and Settings
@@ -1788,8 +1791,7 @@ declare function getBookingPolicy(bookingPolicyId: string): Promise<NonNullableP
1788
1791
  * Returns a hypothetical `bookingPolicy` object that combines the strictest
1789
1792
  * version of each rule. The `id` of the returned policy is `null` and no
1790
1793
  * corresponding `bookingPolicy` object is created. To create a new policy, you
1791
- * can call *Create Booking Policy*
1792
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/create-booking-policy) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/create-booking-policy)).
1794
+ * can call [Create Booking Policy](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/create-booking-policy).
1793
1795
  * @param bookingPolicyIds - IDs of the booking policies for which to retrieve the strictest rules for.
1794
1796
  * @public
1795
1797
  * @requiredField bookingPolicyIds
@@ -1903,8 +1905,7 @@ declare function setDefaultBookingPolicy(bookingPolicyId: string): Promise<NonNu
1903
1905
  * Deletes a booking policy.
1904
1906
  *
1905
1907
  *
1906
- * You can't delete the default policy without first *setting a different policy as default*
1907
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/set-default-booking-policy) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/set-default-booking-policy)).
1908
+ * You can't delete the default policy without first [setting a different policy as default](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/set-default-booking-policy).
1908
1909
  * @param bookingPolicyId - ID of the booking policy to delete.
1909
1910
  * @public
1910
1911
  * @requiredField bookingPolicyId
@@ -1995,8 +1996,7 @@ interface BookingPoliciesQueryBuilder {
1995
1996
  * Counts booking policies, given the provided filtering.
1996
1997
  *
1997
1998
  *
1998
- * See *supported filters*
1999
- * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters))
1999
+ * See [supported filters](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters)
2000
2000
  * for a complete list of supported filters.
2001
2001
  * @public
2002
2002
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
@@ -2007,8 +2007,7 @@ declare function countBookingPolicies(options?: CountBookingPoliciesOptions): Pr
2007
2007
  interface CountBookingPoliciesOptions {
2008
2008
  /**
2009
2009
  * Filter to base the count on. See
2010
- * supported filters*
2011
- * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters))
2010
+ * [supported filters](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters)
2012
2011
  * for details.
2013
2012
  */
2014
2013
  filter?: Record<string, any> | null;