@wix/auto_sdk_bookings_booking-policies 1.0.63 → 1.0.64
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 +1 -1
- package/build/cjs/index.js +17 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +74 -1
- package/build/cjs/index.typings.js +17 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +15 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +74 -1
- package/build/es/index.typings.mjs +15 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +17 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +74 -1
- package/build/internal/cjs/index.typings.js +17 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +15 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +74 -1
- package/build/internal/es/index.typings.mjs +15 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { BookingPolicy, CreateBookingPolicyValidationErrors, GetStrictestBookingPolicyResponse, UpdateBookingPolicy, UpdateBookingPolicyValidationErrors, SetDefaultBookingPolicyResponse, DeleteBookingPolicyApplicationErrors, BookingPoliciesQueryBuilder, CountBookingPoliciesOptions, CountBookingPoliciesResponse, BookingPolicyCreatedEnvelope, BookingPolicyDefaultBookingPolicySetEnvelope, BookingPolicyDeletedEnvelope, BookingPolicyUpdatedEnvelope } from './index.typings.js';
|
|
3
|
-
export { ActionEvent, Address, AddressHint, Asset, BaseEventMetadata, BookAfterStartPolicy, BookingPoliciesQueryResult, BusinessSchedule, CancellationFeePolicy, CancellationPolicy, CancellationWindow, CancellationWindowFeeOneOf, Categories, ChangeContext, ChangeContextPayloadOneOf, ConsentPolicy, CountBookingPoliciesRequest, CreateBookingPolicyRequest, CreateBookingPolicyResponse, CreateMissingDefaultPolicyRequest, CreateMissingDefaultPolicyResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DayOfWeek, DayOfWeekWithLiterals, DefaultBookingPolicySet, DeleteBookingPolicyRequest, DeleteBookingPolicyResponse, DeleteContext, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GeoCoordinates, GetBookingPolicyRequest, GetBookingPolicyResponse, GetStrictestBookingPolicyRequest, IdentificationData, IdentificationDataIdOneOf, LimitEarlyBookingPolicy, LimitLateBookingPolicy, Locale, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Money, Multilingual, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, ParticipantsPolicy, PicassoAssigned, PicassoUnassigned, PlacementType, PlacementTypeWithLiterals, PolicyDescription, Properties, PropertiesChange, QueryBookingPoliciesRequest, QueryBookingPoliciesResponse, ReschedulePolicy, ResolutionMethod, ResolutionMethodWithLiterals, ResourcesPolicy, RestoreInfo, SaveCreditCardPolicy, ServiceProvisioned, ServiceRemoved, SetDefaultBookingPolicyRequest, SiteCloned, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePropertiesEvent, SitePropertiesNotification, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, SpecialHourPeriod, State, StateWithLiterals, StudioAssigned, StudioUnassigned, SupportedLanguage, TimePeriod, Translation, UpdateAllPoliciesRequest, UpdateAllPoliciesResponse, UpdateBookingPolicyRequest, UpdateBookingPolicyResponse, V4SiteCreated, WaitlistPolicy, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, Address, AddressHint, Asset, BaseEventMetadata, BookAfterStartPolicy, BookingPoliciesQueryResult, BusinessSchedule, CancellationFeePolicy, CancellationPolicy, CancellationWindow, CancellationWindowFeeOneOf, Categories, ChangeContext, ChangeContextPayloadOneOf, ConsentPolicy, CountBookingPoliciesRequest, CreateBookingPolicyRequest, CreateBookingPolicyResponse, CreateMissingDefaultPolicyRequest, CreateMissingDefaultPolicyResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomOptions, DayOfWeek, DayOfWeekWithLiterals, DefaultBookingPolicySet, DeleteBookingPolicyRequest, DeleteBookingPolicyResponse, DeleteContext, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GeoCoordinates, GetBookingPolicyRequest, GetBookingPolicyResponse, GetStrictestBookingPolicyRequest, IdentificationData, IdentificationDataIdOneOf, LimitEarlyBookingPolicy, LimitLateBookingPolicy, Locale, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Money, Multilingual, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, ParticipantsPolicy, PicassoAssigned, PicassoUnassigned, PlacementType, PlacementTypeWithLiterals, PolicyDescription, Properties, PropertiesChange, QueryBookingPoliciesRequest, QueryBookingPoliciesResponse, RankingOptions, RankingOrder, RankingOrderWithLiterals, ReschedulePolicy, ResolutionMethod, ResolutionMethodWithLiterals, ResourcesPolicy, RestoreInfo, SaveCreditCardPolicy, ServiceProvisioned, ServiceRemoved, SetDefaultBookingPolicyRequest, SiteCloned, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePropertiesEvent, SitePropertiesNotification, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, SortingMethodType, SortingMethodTypeWithLiterals, SpecialHourPeriod, StaffSortingPolicy, StaffSortingPolicyOptionsOneOf, State, StateWithLiterals, StudioAssigned, StudioUnassigned, SupportedLanguage, TimePeriod, Translation, UpdateAllPoliciesRequest, UpdateAllPoliciesResponse, UpdateBookingPolicyRequest, UpdateBookingPolicyResponse, V4SiteCreated, WaitlistPolicy, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createBookingPolicy$1(httpClient: HttpClient): CreateBookingPolicySignature;
|
|
6
6
|
interface CreateBookingPolicySignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -24,9 +24,11 @@ __export(index_exports, {
|
|
|
24
24
|
DeleteStatus: () => DeleteStatus,
|
|
25
25
|
Namespace: () => Namespace,
|
|
26
26
|
PlacementType: () => PlacementType,
|
|
27
|
+
RankingOrder: () => RankingOrder,
|
|
27
28
|
ResolutionMethod: () => ResolutionMethod,
|
|
28
29
|
SiteCreatedContext: () => SiteCreatedContext,
|
|
29
30
|
SortOrder: () => SortOrder,
|
|
31
|
+
SortingMethodType: () => SortingMethodType,
|
|
30
32
|
State: () => State,
|
|
31
33
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
32
34
|
countBookingPolicies: () => countBookingPolicies4,
|
|
@@ -319,6 +321,19 @@ function countBookingPolicies(payload) {
|
|
|
319
321
|
|
|
320
322
|
// src/bookings-v1-booking-policy-booking-policies.universal.ts
|
|
321
323
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
324
|
+
var RankingOrder = /* @__PURE__ */ ((RankingOrder2) => {
|
|
325
|
+
RankingOrder2["UNKNOWN_RANKING_ORDER"] = "UNKNOWN_RANKING_ORDER";
|
|
326
|
+
RankingOrder2["LOWEST_TO_HIGHEST"] = "LOWEST_TO_HIGHEST";
|
|
327
|
+
RankingOrder2["HIGHEST_TO_LOWEST"] = "HIGHEST_TO_LOWEST";
|
|
328
|
+
return RankingOrder2;
|
|
329
|
+
})(RankingOrder || {});
|
|
330
|
+
var SortingMethodType = /* @__PURE__ */ ((SortingMethodType2) => {
|
|
331
|
+
SortingMethodType2["UNKNOWN_SORTING_METHOD_TYPE"] = "UNKNOWN_SORTING_METHOD_TYPE";
|
|
332
|
+
SortingMethodType2["RANDOM"] = "RANDOM";
|
|
333
|
+
SortingMethodType2["RANKING"] = "RANKING";
|
|
334
|
+
SortingMethodType2["CUSTOM"] = "CUSTOM";
|
|
335
|
+
return SortingMethodType2;
|
|
336
|
+
})(SortingMethodType || {});
|
|
322
337
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
323
338
|
SortOrder2["ASC"] = "ASC";
|
|
324
339
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -788,9 +803,11 @@ var onBookingPolicyUpdated2 = (0, import_event_definition_modules.createEventMod
|
|
|
788
803
|
DeleteStatus,
|
|
789
804
|
Namespace,
|
|
790
805
|
PlacementType,
|
|
806
|
+
RankingOrder,
|
|
791
807
|
ResolutionMethod,
|
|
792
808
|
SiteCreatedContext,
|
|
793
809
|
SortOrder,
|
|
810
|
+
SortingMethodType,
|
|
794
811
|
State,
|
|
795
812
|
WebhookIdentityType,
|
|
796
813
|
countBookingPolicies,
|