@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.
@@ -32,8 +32,7 @@ interface GetStrictestBookingPolicySignature {
32
32
  * Returns a hypothetical `bookingPolicy` object that combines the strictest
33
33
  * version of each rule. The `id` of the returned policy is `null` and no
34
34
  * corresponding `bookingPolicy` object is created. To create a new policy, you
35
- * can call *Create Booking Policy*
36
- * ([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)).
35
+ * can call [Create Booking Policy](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/create-booking-policy).
37
36
  * @param - IDs of the booking policies for which to retrieve the strictest rules for.
38
37
  */
39
38
  (bookingPolicyIds: string[]): Promise<NonNullablePaths<GetStrictestBookingPolicyResponse, `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.value` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.currency` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled`, 7>>;
@@ -73,8 +72,7 @@ interface DeleteBookingPolicySignature {
73
72
  * Deletes a booking policy.
74
73
  *
75
74
  *
76
- * You can't delete the default policy without first *setting a different policy as default*
77
- * ([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)).
75
+ * 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).
78
76
  * @param - ID of the booking policy to delete.
79
77
  */
80
78
  (bookingPolicyId: string): Promise<void & {
@@ -109,8 +107,7 @@ interface CountBookingPoliciesSignature {
109
107
  * Counts booking policies, given the provided filtering.
110
108
  *
111
109
  *
112
- * See *supported filters*
113
- * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters))
110
+ * See [supported filters](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters)
114
111
  * for a complete list of supported filters.
115
112
  */
116
113
  (options?: CountBookingPoliciesOptions): Promise<NonNullablePaths<CountBookingPoliciesResponse, `count`, 2>>;
@@ -134,8 +131,7 @@ declare const countBookingPolicies: MaybeContext<BuildRESTFunction<typeof countB
134
131
  declare const onBookingPolicyCreated: BuildEventDefinition<typeof onBookingPolicyCreated$1> & typeof onBookingPolicyCreated$1;
135
132
  /**
136
133
  * Triggered when the site's default policy changes. Then,
137
- * _Booking Policy Updated_
138
- * ([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))
134
+ * [Booking Policy Updated](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/booking-policy-updated)
139
135
  * is also triggered both for the new and the previous default policy.
140
136
  */
141
137
  declare const onBookingPolicyDefaultBookingPolicySet: BuildEventDefinition<typeof onBookingPolicyDefaultBookingPolicySet$1> & typeof onBookingPolicyDefaultBookingPolicySet$1;