@wix/auto_sdk_bookings_booking-policies 1.0.52 → 1.0.54
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.d.ts +4 -4
- package/build/cjs/index.js +13 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -2
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs +13 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -2
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -4
- package/build/internal/cjs/index.js +13 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -2
- package/build/internal/cjs/index.typings.js +1 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +4 -4
- package/build/internal/es/index.mjs +13 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +4 -2
- package/build/internal/es/index.typings.mjs +1 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/index.d.mts
CHANGED
|
@@ -131,22 +131,22 @@ declare const countBookingPolicies: MaybeContext<BuildRESTFunction<typeof countB
|
|
|
131
131
|
/**
|
|
132
132
|
* Triggered when a booking policy is created.
|
|
133
133
|
*/
|
|
134
|
-
declare const onBookingPolicyCreated: BuildEventDefinition<typeof onBookingPolicyCreated$1
|
|
134
|
+
declare const onBookingPolicyCreated: BuildEventDefinition<typeof onBookingPolicyCreated$1> & typeof onBookingPolicyCreated$1;
|
|
135
135
|
/**
|
|
136
136
|
* Triggered when the site's default policy changes. Then,
|
|
137
137
|
* _Booking Policy Updated_
|
|
138
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))
|
|
139
139
|
* is also triggered both for the new and the previous default policy.
|
|
140
140
|
*/
|
|
141
|
-
declare const onBookingPolicyDefaultBookingPolicySet: BuildEventDefinition<typeof onBookingPolicyDefaultBookingPolicySet$1
|
|
141
|
+
declare const onBookingPolicyDefaultBookingPolicySet: BuildEventDefinition<typeof onBookingPolicyDefaultBookingPolicySet$1> & typeof onBookingPolicyDefaultBookingPolicySet$1;
|
|
142
142
|
/**
|
|
143
143
|
* Triggered when a booking policy is deleted.
|
|
144
144
|
*/
|
|
145
|
-
declare const onBookingPolicyDeleted: BuildEventDefinition<typeof onBookingPolicyDeleted$1
|
|
145
|
+
declare const onBookingPolicyDeleted: BuildEventDefinition<typeof onBookingPolicyDeleted$1> & typeof onBookingPolicyDeleted$1;
|
|
146
146
|
/**
|
|
147
147
|
* Triggered when a booking policy is updated, including when a policy's
|
|
148
148
|
* `default` attribute changes.
|
|
149
149
|
*/
|
|
150
|
-
declare const onBookingPolicyUpdated: BuildEventDefinition<typeof onBookingPolicyUpdated$1
|
|
150
|
+
declare const onBookingPolicyUpdated: BuildEventDefinition<typeof onBookingPolicyUpdated$1> & typeof onBookingPolicyUpdated$1;
|
|
151
151
|
|
|
152
152
|
export { BookingPoliciesQueryBuilder, BookingPolicy, BookingPolicyCreatedEnvelope, BookingPolicyDefaultBookingPolicySetEnvelope, BookingPolicyDeletedEnvelope, BookingPolicyUpdatedEnvelope, CountBookingPoliciesOptions, CountBookingPoliciesResponse, CreateBookingPolicyValidationErrors, DeleteBookingPolicyApplicationErrors, GetStrictestBookingPolicyResponse, SetDefaultBookingPolicyResponse, UpdateBookingPolicy, UpdateBookingPolicyValidationErrors, countBookingPolicies, createBookingPolicy, deleteBookingPolicy, getBookingPolicy, getStrictestBookingPolicy, onBookingPolicyCreated, onBookingPolicyDefaultBookingPolicySet, onBookingPolicyDeleted, onBookingPolicyUpdated, queryBookingPolicies, setDefaultBookingPolicy, updateBookingPolicy };
|
package/build/es/index.mjs
CHANGED
|
@@ -351,6 +351,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
351
351
|
Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
352
352
|
Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
353
353
|
Namespace2["MIMIR"] = "MIMIR";
|
|
354
|
+
Namespace2["TWINS"] = "TWINS";
|
|
354
355
|
return Namespace2;
|
|
355
356
|
})(Namespace || {});
|
|
356
357
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
@@ -725,10 +726,18 @@ var setDefaultBookingPolicy4 = /* @__PURE__ */ createRESTModule(setDefaultBookin
|
|
|
725
726
|
var deleteBookingPolicy4 = /* @__PURE__ */ createRESTModule(deleteBookingPolicy3);
|
|
726
727
|
var queryBookingPolicies4 = /* @__PURE__ */ createRESTModule(queryBookingPolicies3);
|
|
727
728
|
var countBookingPolicies4 = /* @__PURE__ */ createRESTModule(countBookingPolicies3);
|
|
728
|
-
var onBookingPolicyCreated2 = createEventModule(
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
var
|
|
729
|
+
var onBookingPolicyCreated2 = createEventModule(
|
|
730
|
+
onBookingPolicyCreated
|
|
731
|
+
);
|
|
732
|
+
var onBookingPolicyDefaultBookingPolicySet2 = createEventModule(
|
|
733
|
+
onBookingPolicyDefaultBookingPolicySet
|
|
734
|
+
);
|
|
735
|
+
var onBookingPolicyDeleted2 = createEventModule(
|
|
736
|
+
onBookingPolicyDeleted
|
|
737
|
+
);
|
|
738
|
+
var onBookingPolicyUpdated2 = createEventModule(
|
|
739
|
+
onBookingPolicyUpdated
|
|
740
|
+
);
|
|
732
741
|
export {
|
|
733
742
|
DayOfWeek,
|
|
734
743
|
DeleteStatus,
|