@wix/auto_sdk_bookings_booking-policies 1.0.79 → 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;
@@ -1689,8 +1685,7 @@ interface BookingPolicyDefaultBookingPolicySetEnvelope {
1689
1685
  }
1690
1686
  /**
1691
1687
  * Triggered when the site's default policy changes. Then,
1692
- * _Booking Policy Updated_
1693
- * ([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)
1694
1689
  * is also triggered both for the new and the previous default policy.
1695
1690
  * @permissionScope Manage Stores
1696
1691
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
@@ -1796,8 +1791,7 @@ declare function getBookingPolicy(bookingPolicyId: string): Promise<NonNullableP
1796
1791
  * Returns a hypothetical `bookingPolicy` object that combines the strictest
1797
1792
  * version of each rule. The `id` of the returned policy is `null` and no
1798
1793
  * corresponding `bookingPolicy` object is created. To create a new policy, you
1799
- * can call *Create Booking Policy*
1800
- * ([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).
1801
1795
  * @param bookingPolicyIds - IDs of the booking policies for which to retrieve the strictest rules for.
1802
1796
  * @public
1803
1797
  * @requiredField bookingPolicyIds
@@ -1911,8 +1905,7 @@ declare function setDefaultBookingPolicy(bookingPolicyId: string): Promise<NonNu
1911
1905
  * Deletes a booking policy.
1912
1906
  *
1913
1907
  *
1914
- * You can't delete the default policy without first *setting a different policy as default*
1915
- * ([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).
1916
1909
  * @param bookingPolicyId - ID of the booking policy to delete.
1917
1910
  * @public
1918
1911
  * @requiredField bookingPolicyId
@@ -2003,8 +1996,7 @@ interface BookingPoliciesQueryBuilder {
2003
1996
  * Counts booking policies, given the provided filtering.
2004
1997
  *
2005
1998
  *
2006
- * See *supported filters*
2007
- * ([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)
2008
2000
  * for a complete list of supported filters.
2009
2001
  * @public
2010
2002
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
@@ -2015,8 +2007,7 @@ declare function countBookingPolicies(options?: CountBookingPoliciesOptions): Pr
2015
2007
  interface CountBookingPoliciesOptions {
2016
2008
  /**
2017
2009
  * Filter to base the count on. See
2018
- * supported filters*
2019
- * ([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)
2020
2011
  * for details.
2021
2012
  */
2022
2013
  filter?: Record<string, any> | null;