@wix/auto_sdk_restaurants_operations 1.0.43 → 1.0.44
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 +18 -11
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +101 -93
- package/build/cjs/index.typings.js +18 -11
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +38 -38
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +17 -11
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +101 -93
- package/build/es/index.typings.mjs +17 -11
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +38 -38
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +18 -11
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +101 -93
- package/build/internal/cjs/index.typings.js +18 -11
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +38 -38
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +17 -11
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +101 -93
- package/build/internal/es/index.typings.mjs +17 -11
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +38 -38
- 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 { Operation, UpdateOperation, OperationsQueryBuilder, ListOperationsResponse, ListAvailableFulfillmentOptions, ListAvailableFulfillmentOptionsResponse, ListFirstAvailableTimeSlotForFulfillmentTypesOptions, ListFirstAvailableTimeSlotForFulfillmentTypesResponse, CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions, CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, ListFirstAvailableTimeSlotsForOperationsOptions, ListFirstAvailableTimeSlotsForOperationsResponse, CalculateFirstAvailableTimeSlotsPerOperationOptions, CalculateFirstAvailableTimeSlotsPerOperationResponse, ListFirstAvailableTimeSlotsForMenusOptions, ListFirstAvailableTimeSlotsForMenusResponse, CalculateFirstAvailableTimeSlotsPerMenuOptions, CalculateFirstAvailableTimeSlotsPerMenuResponse, ListAvailableTimeSlotsForDateOptions, ListAvailableTimeSlotsForDateResponse, CalculateAvailableTimeSlotsForDateOptions, CalculateAvailableTimeSlotsForDateResponse, ListAvailableDatesInRangeOptions, ListAvailableDatesInRangeResponse, CalculateAvailableDatesInRangeOptions, CalculateAvailableDatesInRangeResponse, ValidateOperationAddressResponse, BulkUpdateOperationTagsOptions, BulkUpdateOperationTagsResponse, BulkUpdateOperationTagsApplicationErrors, BulkUpdateOperationTagsByFilterOptions, BulkUpdateOperationTagsByFilterResponse, BulkUpdateOperationTagsByFilterApplicationErrors, OperationCreatedEnvelope, OperationDeletedEnvelope, OperationUpdatedEnvelope } from './index.typings.js';
|
|
3
|
-
export { ActionEvent, ActivationType, ActivePeriod, Address, AddressHint, AddressLocation, AddressViolation, App, ApplicationError, AsapFutureHandlingType, AsapOrderPacing, AsapOrderPacingPacingAvailabilityOneOf, AsapOrderScheduling, AsapOrderSchedulingAsapFutureHandlingOptionsOneOf, AsapPacingWindowType, AsapPreorderType, AsapScheduling, AsapSchedulingAsapPreorderOneOf, AsapSchedulingPreparationTimeOneOf, Asset, AvailabilityException, BaseEventMetadata, BulkActionMetadata, BulkUpdateOperationTagsByFilterRequest, BulkUpdateOperationTagsRequest, BulkUpdateOperationTagsResult, BusinessDaysAheadHandling, BusinessDaysPreorder, BusinessLocationDetails, BusinessSchedule, CalculateAvailableDatesInRangeRequest, CalculateAvailableTimeSlotsForDateRequest, CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest, CalculateFirstAvailableTimeSlotsPerMenuRequest, CalculateFirstAvailableTimeSlotsPerOperationRequest, Categories, ChangeContext, ChangeContextPayloadOneOf, CommonAddress, CommonAddressStreetOneOf, ConsentPolicy, CreateOperationRequest, CreateOperationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DayAndTime, DayOfWeek, DayOfWeekAvailability, DeleteContext, DeleteOperationRequest, DeleteOperationResponse, DeleteStatus, DeliveryDetails, DeliveryProfileConfiguredForOperation, DomainEvent, DomainEventBodyOneOf, DurationRange, Empty, EntitiesDayOfWeek, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, FirstFulfillmentTimeSlotsPerMenu, FulfillmentAddress, FulfillmentDetails, FulfillmentDetailsFulfillmentTimeOptionsOneOf, FulfillmentInfo, FulfillmentInfoFulfillmentTimeOneOf, FulfillmentOption, FulfillmentOptionAvailability, FulfillmentOptionFulfillmentTimeOptionsOneOf, FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf, FulfillmentOptionFulfillmentTypeOptionsOneOf, FulfillmentTimeSlot, FulfillmentTimeSlotsPerMenu, FulfillmentTimeType, FulfillmentTimesDisplayConfig, FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf, FulfillmentTimesDisplayType, FulfillmentTimesType, FulfillmentType, FulfillmentTypeAvailableDates, GeoCoordinates, GetExpectedFulfillmentSelectionRequest, GetExpectedFulfillmentSelectionResponse, GetOperationRequest, GetOperationResponse, IdentificationData, IdentificationDataIdOneOf, ImmutableFields, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListAvailableDatesInRangeRequest, ListAvailableFulfillmentOptionsRequest, ListAvailableTimeSlotsForDateRequest, ListFirstAvailableTimeSlotForFulfillmentTypesRequest, ListFirstAvailableTimeSlotsForMenusRequest, ListFirstAvailableTimeSlotsForOperationsRequest, ListOperationIdsRequest, ListOperationIdsResponse, ListOperationsInternalRequest, ListOperationsInternalResponse, ListOperationsRequest, Locale, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, MethodType, Multilingual, Namespace, NamespaceChanged, OdeditorAssigned, OdeditorUnassigned, OnlineOrderingPausedUntilOptions, OnlineOrderingStatusType, OperationOnlineOrderingStatusOptionsOneOf, OperationTimeSlot, OperationsDataCloningCompleted, OperationsQueryResult, OrderScheduling, OrderSchedulingOrderSchedulingOptionsOneOf, OrderSchedulingType, Page, PagingMetadata, PicassoAssigned, PicassoUnassigned, PickupDetails, PlacementType, PreOrderPacing, PreOrderPacingPacingAvailabilityOneOf, PreorderMethod, PreorderMethodMethodOptionsOneOf, PreorderPacingWindowType, PreorderScheduling, PreparationTime, PreparationTimePreparationTimeType, PreparationTimeTimeSpecificationOneOf, PreparationTimeType, Properties, PropertiesChange, QueryOperationRequest, QueryOperationResponse, ResolutionMethod, RestoreInfo, Scheduling, SchedulingSchedulingOptionsOneOf, SchedulingType, ServiceProvisioned, ServiceRemoved, SiteCloned, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePropertiesEvent, SitePropertiesNotification, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, Sorting, SpecialHourPeriod, State, StreetAddress, StudioAssigned, StudioUnassigned, Subdivision, SubdivisionType, SupportedLanguage, TagList, Tags, TimeBounded, TimeDuration, TimeDurationRange, TimeOfDay, TimeOfDayRange, TimePeriod, TimeSlot, TimeSlotForFulfillment, TimeSlotForOperation, TimeUnit, TimeWindowDisplayConfig, Translation, URI, UpdateDeliveryRegionsRequest, UpdateDeliveryRegionsResponse, UpdateImmutableFieldsRequest, UpdateImmutableFieldsResponse, UpdateOperationRequest, UpdateOperationResponse, V1Address, V1AddressLocation, V1StreetAddress, V4SiteCreated, ValidateOperationAddressRequest, ViolationType, WebhookIdentityType, WeeklyActiveDays, WeeklyActivePeriods, WeeklySchedule, _Date } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, ActivationType, ActivePeriod, Address, AddressHint, AddressLocation, AddressViolation, App, ApplicationError, AsapFutureHandlingType, AsapOrderPacing, AsapOrderPacingPacingAvailabilityOneOf, AsapOrderScheduling, AsapOrderSchedulingAsapFutureHandlingOptionsOneOf, AsapPacingWindowType, AsapPreorderType, AsapScheduling, AsapSchedulingAsapPreorderOneOf, AsapSchedulingPreparationTimeOneOf, Asset, AvailabilityException, BaseEventMetadata, BulkActionMetadata, BulkUpdateOperationTagsByFilterRequest, BulkUpdateOperationTagsRequest, BulkUpdateOperationTagsResult, BusinessDaysAheadHandling, BusinessDaysPreorder, BusinessLocationDetails, BusinessSchedule, CalculateAvailableDatesInRangeRequest, CalculateAvailableTimeSlotsForDateRequest, CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest, CalculateFirstAvailableTimeSlotsPerMenuRequest, CalculateFirstAvailableTimeSlotsPerOperationRequest, Categories, ChangeContext, ChangeContextPayloadOneOf, CommonAddress, CommonAddressStreetOneOf, ConsentPolicy, CreateOperationRequest, CreateOperationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DayAndTime, DayOfWeek, DayOfWeekAvailability, DeleteContext, DeleteOperationRequest, DeleteOperationResponse, DeleteStatus, DeliveryDetails, DeliveryProfileConfiguredForOperation, DomainEvent, DomainEventBodyOneOf, DurationRange, Empty, EntitiesDayOfWeek, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, FirstFulfillmentTimeSlotsPerMenu, FulfillmentAddress, FulfillmentDetails, FulfillmentDetailsFulfillmentTimeOptionsOneOf, FulfillmentInfo, FulfillmentInfoFulfillmentTimeOneOf, FulfillmentOption, FulfillmentOptionAvailability, FulfillmentOptionFulfillmentTimeOptionsOneOf, FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf, FulfillmentOptionFulfillmentTypeOptionsOneOf, FulfillmentTimeSlot, FulfillmentTimeSlotsPerMenu, FulfillmentTimeType, FulfillmentTimesDisplayConfig, FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf, FulfillmentTimesDisplayType, FulfillmentTimesType, FulfillmentType, FulfillmentTypeAvailableDates, GeoCoordinates, GetExpectedFulfillmentSelectionRequest, GetExpectedFulfillmentSelectionResponse, GetOperationRequest, GetOperationResponse, IdentificationData, IdentificationDataIdOneOf, ImmutableFields, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListAvailableDatesInRangeRequest, ListAvailableFulfillmentOptionsRequest, ListAvailableTimeSlotsForDateRequest, ListFirstAvailableTimeSlotForFulfillmentTypesRequest, ListFirstAvailableTimeSlotsForMenusRequest, ListFirstAvailableTimeSlotsForOperationsRequest, ListOperationIdsRequest, ListOperationIdsResponse, ListOperationsInternalRequest, ListOperationsInternalResponse, ListOperationsRequest, Locale, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, MethodType, Multilingual, Namespace, NamespaceChanged, OdeditorAssigned, OdeditorUnassigned, OnlineOrderingPausedUntilOptions, OnlineOrderingStatusType, OperationOnlineOrderingStatusOptionsOneOf, OperationTimeSlot, OperationsDataCloningCompleted, OperationsQueryResult, OrderScheduling, OrderSchedulingOrderSchedulingOptionsOneOf, OrderSchedulingType, Page, PagingMetadata, PicassoAssigned, PicassoUnassigned, PickupDetails, PlacementType, PreOrderPacing, PreOrderPacingPacingAvailabilityOneOf, PreorderMethod, PreorderMethodMethodOptionsOneOf, PreorderPacingWindowType, PreorderScheduling, PreparationTime, PreparationTimePreparationTimeType, PreparationTimeTimeSpecificationOneOf, PreparationTimeType, Properties, PropertiesChange, QueryOperationRequest, QueryOperationResponse, ResolutionMethod, RestoreInfo, Scheduling, SchedulingSchedulingOptionsOneOf, SchedulingType, ServiceProvisioned, ServiceRemoved, SiteCloned, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePropertiesEvent, SitePropertiesNotification, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, Sorting, SpecialHourPeriod, State, StreetAddress, StudioAssigned, StudioUnassigned, Subdivision, SubdivisionType, SupportedLanguage, TagList, Tags, TimeBounded, TimeDuration, TimeDurationRange, TimeOfDay, TimeOfDayRange, TimePeriod, TimeSlot, TimeSlotForFulfillment, TimeSlotForOperation, TimeSlotStatus, TimeUnit, TimeWindowDisplayConfig, Translation, URI, UpdateDeliveryRegionsRequest, UpdateDeliveryRegionsResponse, UpdateImmutableFieldsRequest, UpdateImmutableFieldsResponse, UpdateOperationRequest, UpdateOperationResponse, V1Address, V1AddressLocation, V1StreetAddress, V4SiteCreated, ValidateOperationAddressRequest, ViolationType, WebhookIdentityType, WeeklyActiveDays, WeeklyActivePeriods, WeeklySchedule, _Date } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
type OperationNonNullablePaths = `fulfillmentIds` | `onlineOrderingStatus` | `defaultFulfillmentType` | `orderScheduling.asapOptions.preparationTime.maxTimeOptions.timeUnit` | `orderScheduling.asapOptions.preparationTime.timeRangeOptions.timeUnit` | `orderScheduling.asapOptions.preparationTime.type` | `orderScheduling.asapOptions.asapFutureHandlingType` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.dayOfWeek` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.timeOfDay.hours` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.timeOfDay.minutes` | `orderScheduling.preorderOptions.method.type` | `orderScheduling.preorderOptions.fulfillmentTimesDisplay.type` | `orderScheduling.type` | `tags.privateTags.tagIds`;
|
|
6
6
|
declare function createOperation$1(httpClient: HttpClient): CreateOperationSignature;
|
package/build/cjs/index.js
CHANGED
|
@@ -45,6 +45,7 @@ __export(index_exports, {
|
|
|
45
45
|
SortOrder: () => SortOrder,
|
|
46
46
|
State: () => State,
|
|
47
47
|
SubdivisionType: () => SubdivisionType,
|
|
48
|
+
TimeSlotStatus: () => TimeSlotStatus,
|
|
48
49
|
TimeUnit: () => TimeUnit,
|
|
49
50
|
ViolationType: () => ViolationType,
|
|
50
51
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
@@ -1011,6 +1012,17 @@ var AsapPreorderType = /* @__PURE__ */ ((AsapPreorderType2) => {
|
|
|
1011
1012
|
AsapPreorderType2["BUSINESS_DAYS_PREORDER"] = "BUSINESS_DAYS_PREORDER";
|
|
1012
1013
|
return AsapPreorderType2;
|
|
1013
1014
|
})(AsapPreorderType || {});
|
|
1015
|
+
var AsapPacingWindowType = /* @__PURE__ */ ((AsapPacingWindowType2) => {
|
|
1016
|
+
AsapPacingWindowType2["UNKNOWN_ASAP_PACING_DURATION"] = "UNKNOWN_ASAP_PACING_DURATION";
|
|
1017
|
+
AsapPacingWindowType2["FIXED_15_MINUTE"] = "FIXED_15_MINUTE";
|
|
1018
|
+
return AsapPacingWindowType2;
|
|
1019
|
+
})(AsapPacingWindowType || {});
|
|
1020
|
+
var ActivationType = /* @__PURE__ */ ((ActivationType2) => {
|
|
1021
|
+
ActivationType2["UNKNOWN_SCHEDULE"] = "UNKNOWN_SCHEDULE";
|
|
1022
|
+
ActivationType2["ALWAYS_ACTIVE"] = "ALWAYS_ACTIVE";
|
|
1023
|
+
ActivationType2["SCHEDULE"] = "SCHEDULE";
|
|
1024
|
+
return ActivationType2;
|
|
1025
|
+
})(ActivationType || {});
|
|
1014
1026
|
var EntitiesDayOfWeek = /* @__PURE__ */ ((EntitiesDayOfWeek2) => {
|
|
1015
1027
|
EntitiesDayOfWeek2["MON"] = "MON";
|
|
1016
1028
|
EntitiesDayOfWeek2["TUE"] = "TUE";
|
|
@@ -1037,12 +1049,6 @@ var PreorderPacingWindowType = /* @__PURE__ */ ((PreorderPacingWindowType2) => {
|
|
|
1037
1049
|
PreorderPacingWindowType2["DAILY"] = "DAILY";
|
|
1038
1050
|
return PreorderPacingWindowType2;
|
|
1039
1051
|
})(PreorderPacingWindowType || {});
|
|
1040
|
-
var ActivationType = /* @__PURE__ */ ((ActivationType2) => {
|
|
1041
|
-
ActivationType2["UNKNOWN_SCHEDULE"] = "UNKNOWN_SCHEDULE";
|
|
1042
|
-
ActivationType2["ALWAYS_ACTIVE"] = "ALWAYS_ACTIVE";
|
|
1043
|
-
ActivationType2["SCHEDULE"] = "SCHEDULE";
|
|
1044
|
-
return ActivationType2;
|
|
1045
|
-
})(ActivationType || {});
|
|
1046
1052
|
var OnlineOrderingStatusType = /* @__PURE__ */ ((OnlineOrderingStatusType2) => {
|
|
1047
1053
|
OnlineOrderingStatusType2["UNDEFINED_ONLINE_ORDERING_STATUS"] = "UNDEFINED_ONLINE_ORDERING_STATUS";
|
|
1048
1054
|
OnlineOrderingStatusType2["ENABLED"] = "ENABLED";
|
|
@@ -1068,11 +1074,6 @@ var AsapFutureHandlingType = /* @__PURE__ */ ((AsapFutureHandlingType2) => {
|
|
|
1068
1074
|
AsapFutureHandlingType2["BUSINESS_DAYS_AHEAD_HANDLING"] = "BUSINESS_DAYS_AHEAD_HANDLING";
|
|
1069
1075
|
return AsapFutureHandlingType2;
|
|
1070
1076
|
})(AsapFutureHandlingType || {});
|
|
1071
|
-
var AsapPacingWindowType = /* @__PURE__ */ ((AsapPacingWindowType2) => {
|
|
1072
|
-
AsapPacingWindowType2["UNKNOWN_ASAP_PACING_DURATION"] = "UNKNOWN_ASAP_PACING_DURATION";
|
|
1073
|
-
AsapPacingWindowType2["FIXED_15_MINUTE"] = "FIXED_15_MINUTE";
|
|
1074
|
-
return AsapPacingWindowType2;
|
|
1075
|
-
})(AsapPacingWindowType || {});
|
|
1076
1077
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1077
1078
|
SortOrder2["ASC"] = "ASC";
|
|
1078
1079
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -1104,6 +1105,11 @@ var OrderSchedulingType = /* @__PURE__ */ ((OrderSchedulingType2) => {
|
|
|
1104
1105
|
OrderSchedulingType2["PREORDER"] = "PREORDER";
|
|
1105
1106
|
return OrderSchedulingType2;
|
|
1106
1107
|
})(OrderSchedulingType || {});
|
|
1108
|
+
var TimeSlotStatus = /* @__PURE__ */ ((TimeSlotStatus2) => {
|
|
1109
|
+
TimeSlotStatus2["AVAILABLE"] = "AVAILABLE";
|
|
1110
|
+
TimeSlotStatus2["BLOCKED"] = "BLOCKED";
|
|
1111
|
+
return TimeSlotStatus2;
|
|
1112
|
+
})(TimeSlotStatus || {});
|
|
1107
1113
|
var ViolationType = /* @__PURE__ */ ((ViolationType2) => {
|
|
1108
1114
|
ViolationType2["UNKNOWN"] = "UNKNOWN";
|
|
1109
1115
|
ViolationType2["NO_ADDRESS"] = "NO_ADDRESS";
|
|
@@ -2311,6 +2317,7 @@ var onOperationUpdated2 = (0, import_event_definition_modules.createEventModule)
|
|
|
2311
2317
|
SortOrder,
|
|
2312
2318
|
State,
|
|
2313
2319
|
SubdivisionType,
|
|
2320
|
+
TimeSlotStatus,
|
|
2314
2321
|
TimeUnit,
|
|
2315
2322
|
ViolationType,
|
|
2316
2323
|
WebhookIdentityType,
|