@wix/auto_sdk_bookings_booking-policies 1.0.53 → 1.0.55

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.
@@ -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 };
@@ -395,6 +395,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
395
395
  Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
396
396
  Namespace2["MIMIR"] = "MIMIR";
397
397
  Namespace2["TWINS"] = "TWINS";
398
+ Namespace2["NANO"] = "NANO";
398
399
  return Namespace2;
399
400
  })(Namespace || {});
400
401
  var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
@@ -769,10 +770,18 @@ var setDefaultBookingPolicy4 = /* @__PURE__ */ (0, import_rest_modules3.createRE
769
770
  var deleteBookingPolicy4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteBookingPolicy3);
770
771
  var queryBookingPolicies4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryBookingPolicies3);
771
772
  var countBookingPolicies4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(countBookingPolicies3);
772
- var onBookingPolicyCreated2 = (0, import_event_definition_modules.createEventModule)(onBookingPolicyCreated);
773
- var onBookingPolicyDefaultBookingPolicySet2 = (0, import_event_definition_modules.createEventModule)(onBookingPolicyDefaultBookingPolicySet);
774
- var onBookingPolicyDeleted2 = (0, import_event_definition_modules.createEventModule)(onBookingPolicyDeleted);
775
- var onBookingPolicyUpdated2 = (0, import_event_definition_modules.createEventModule)(onBookingPolicyUpdated);
773
+ var onBookingPolicyCreated2 = (0, import_event_definition_modules.createEventModule)(
774
+ onBookingPolicyCreated
775
+ );
776
+ var onBookingPolicyDefaultBookingPolicySet2 = (0, import_event_definition_modules.createEventModule)(
777
+ onBookingPolicyDefaultBookingPolicySet
778
+ );
779
+ var onBookingPolicyDeleted2 = (0, import_event_definition_modules.createEventModule)(
780
+ onBookingPolicyDeleted
781
+ );
782
+ var onBookingPolicyUpdated2 = (0, import_event_definition_modules.createEventModule)(
783
+ onBookingPolicyUpdated
784
+ );
776
785
  // Annotate the CommonJS export names for ESM import in node:
777
786
  0 && (module.exports = {
778
787
  DayOfWeek,