@wix/auto_sdk_bookings_booking-policies 1.0.50 → 1.0.52
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.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +3 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +3 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +3 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +3 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1436,6 +1436,7 @@ declare enum WebhookIdentityType {
|
|
|
1436
1436
|
}
|
|
1437
1437
|
/** @enumType */
|
|
1438
1438
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1439
|
+
/** @docsIgnore */
|
|
1439
1440
|
type CreateBookingPolicyValidationErrors = {
|
|
1440
1441
|
ruleName?: 'BOTH_LATE_AND_AFTER_START_POLICIES_NOT_ALLOWED';
|
|
1441
1442
|
} | {
|
|
@@ -1449,6 +1450,7 @@ type CreateBookingPolicyValidationErrors = {
|
|
|
1449
1450
|
} | {
|
|
1450
1451
|
ruleName?: 'EMPTY_CANCELLATION_WINDOWS_LIST';
|
|
1451
1452
|
};
|
|
1453
|
+
/** @docsIgnore */
|
|
1452
1454
|
type UpdateBookingPolicyValidationErrors = {
|
|
1453
1455
|
ruleName?: 'BOTH_LATE_AND_AFTER_START_POLICIES_NOT_ALLOWED';
|
|
1454
1456
|
} | {
|
|
@@ -1462,6 +1464,7 @@ type UpdateBookingPolicyValidationErrors = {
|
|
|
1462
1464
|
} | {
|
|
1463
1465
|
ruleName?: 'EMPTY_CANCELLATION_WINDOWS_LIST';
|
|
1464
1466
|
};
|
|
1467
|
+
/** @docsIgnore */
|
|
1465
1468
|
type DeleteBookingPolicyApplicationErrors = {
|
|
1466
1469
|
code?: 'DEFAULT_POLICY_CANNOT_BE_DELETED';
|
|
1467
1470
|
description?: string;
|
|
@@ -1638,7 +1641,6 @@ declare function createBookingPolicy(bookingPolicy: BookingPolicy): Promise<NonN
|
|
|
1638
1641
|
* @requiredField bookingPolicyId
|
|
1639
1642
|
* @permissionId BOOKINGS.BOOKING_POLICY_READ
|
|
1640
1643
|
* @applicableIdentity APP
|
|
1641
|
-
* @applicableIdentity VISITOR
|
|
1642
1644
|
* @returns Retrieved booking policy.
|
|
1643
1645
|
* @fqn wix.bookings.v1.BookingPoliciesService.GetBookingPolicy
|
|
1644
1646
|
*/
|
|
@@ -1658,7 +1660,6 @@ declare function getBookingPolicy(bookingPolicyId: string): Promise<NonNullableP
|
|
|
1658
1660
|
* @requiredField bookingPolicyIds
|
|
1659
1661
|
* @permissionId BOOKINGS.BOOKING_POLICY_READ
|
|
1660
1662
|
* @applicableIdentity APP
|
|
1661
|
-
* @applicableIdentity VISITOR
|
|
1662
1663
|
* @fqn wix.bookings.v1.BookingPoliciesService.GetStrictestBookingPolicy
|
|
1663
1664
|
*/
|
|
1664
1665
|
declare function getStrictestBookingPolicy(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>>;
|
|
@@ -1799,7 +1800,6 @@ declare function deleteBookingPolicy(bookingPolicyId: string): Promise<void & {
|
|
|
1799
1800
|
* @public
|
|
1800
1801
|
* @permissionId BOOKINGS.BOOKING_POLICY_READ
|
|
1801
1802
|
* @applicableIdentity APP
|
|
1802
|
-
* @applicableIdentity VISITOR
|
|
1803
1803
|
* @fqn wix.bookings.v1.BookingPoliciesService.QueryBookingPolicies
|
|
1804
1804
|
*/
|
|
1805
1805
|
declare function queryBookingPolicies(): BookingPoliciesQueryBuilder;
|
|
@@ -1866,7 +1866,6 @@ interface BookingPoliciesQueryBuilder {
|
|
|
1866
1866
|
* @public
|
|
1867
1867
|
* @permissionId BOOKINGS.BOOKING_POLICY_READ
|
|
1868
1868
|
* @applicableIdentity APP
|
|
1869
|
-
* @applicableIdentity VISITOR
|
|
1870
1869
|
* @fqn wix.bookings.v1.BookingPoliciesService.CountBookingPolicies
|
|
1871
1870
|
*/
|
|
1872
1871
|
declare function countBookingPolicies(options?: CountBookingPoliciesOptions): Promise<NonNullablePaths<CountBookingPoliciesResponse, `count`, 2>>;
|