@wix/auto_sdk_restaurants_operations 1.0.89 → 1.0.91
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 +23 -81
- package/build/cjs/index.js +65 -3883
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -40
- package/build/cjs/index.typings.js +21 -3807
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -11
- package/build/cjs/meta.js +0 -83
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +3 -323
- package/build/cjs/schemas.js +0 -478
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +23 -81
- package/build/es/index.mjs +65 -3871
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -40
- package/build/es/index.typings.mjs +21 -3796
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -11
- package/build/es/meta.mjs +0 -82
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +3 -323
- package/build/es/schemas.mjs +0 -476
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +23 -81
- package/build/internal/cjs/index.js +65 -3883
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -40
- package/build/internal/cjs/index.typings.js +21 -3807
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -11
- package/build/internal/cjs/meta.js +0 -83
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +3 -323
- package/build/internal/cjs/schemas.js +0 -478
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +23 -81
- package/build/internal/es/index.mjs +65 -3871
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -40
- package/build/internal/es/index.typings.mjs +21 -3796
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -11
- package/build/internal/es/meta.mjs +0 -82
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +3 -323
- package/build/internal/es/schemas.mjs +0 -476
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { ListBlockedPeriodsOptions, ListBlockedPeriodsResponse, Operation, UpdateOperation, ListOperationsResponse, ListAvailableFulfillmentOptions, ListAvailableFulfillmentOptionsResponse, ListFirstAvailableTimeSlotForFulfillmentTypesOptions, ListFirstAvailableTimeSlotForFulfillmentTypesResponse, CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions, CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, ListFirstAvailableTimeSlotsForOperationsOptions, ListFirstAvailableTimeSlotsForOperationsResponse, CalculateFirstAvailableTimeSlotsPerOperationOptions, CalculateFirstAvailableTimeSlotsPerOperationResponse, ListFirstAvailableTimeSlotsForMenusOptions, ListFirstAvailableTimeSlotsForMenusResponse, CalculateFirstAvailableTimeSlotsPerMenuOptions, CalculateFirstAvailableTimeSlotsPerMenuResponse, CalculateFirstAvailableTimeSlotsForItemOptions, CalculateFirstAvailableTimeSlotsForItemResponse, ListAvailableTimeSlotsForDateOptions, ListAvailableTimeSlotsForDateResponse, CalculateAvailableTimeSlotsForDateOptions, CalculateAvailableTimeSlotsForDateResponse, ListAvailableDatesInRangeOptions, ListAvailableDatesInRangeResponse, CalculateAvailableDatesInRangeOptions, CalculateAvailableDatesInRangeResponse, ValidateOperationAddressResponse, BulkUpdateOperationTagsOptions, BulkUpdateOperationTagsResponse, BulkUpdateOperationTagsApplicationErrors, BulkUpdateOperationTagsByFilterOptions, BulkUpdateOperationTagsByFilterResponse, BulkUpdateOperationTagsByFilterApplicationErrors,
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, ActivationType, ActivationTypeWithLiterals, ActivePeriod, Address, AddressHint, AddressLocation, AddressViolation, App, ApplicationError, AsapFutureHandlingType, AsapFutureHandlingTypeWithLiterals, AsapOrderPacing, AsapOrderPacingPacingAvailabilityOneOf, AsapOrderScheduling, AsapOrderSchedulingAsapFutureHandlingOptionsOneOf, AsapPacingWindowType, AsapPacingWindowTypeWithLiterals, AsapPreorderType, AsapPreorderTypeWithLiterals, AsapScheduling, AsapSchedulingAsapPreorderOneOf, AsapSchedulingPreparationTimeOneOf, Asset, AvailabilityException, BaseEventMetadata, BlockedPeriod, BulkActionMetadata, BulkUpdateOperationTagsByFilterRequest, BulkUpdateOperationTagsRequest, BulkUpdateOperationTagsResult, BusinessDaysAheadHandling, BusinessDaysPreorder, BusinessLocationDetails, BusinessSchedule, CalculateAvailableDatesInRangeRequest, CalculateAvailableTimeSlotsForDateRequest, CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest, CalculateFirstAvailableTimeSlotsForItemRequest, CalculateFirstAvailableTimeSlotsPerMenuRequest, CalculateFirstAvailableTimeSlotsPerOperationRequest, Categories, ChangeContext, ChangeContextPayloadOneOf, CommonAddress, CommonAddressStreetOneOf, CommonCursorPaging, CommonCursorPagingMetadata, CommonCursors, CommonQueryWithEntityContext, ConsentPolicy,
|
|
2
|
+
import { ListBlockedPeriodsOptions, ListBlockedPeriodsResponse, Operation, UpdateOperation, ListOperationsResponse, ListAvailableFulfillmentOptions, ListAvailableFulfillmentOptionsResponse, ListFirstAvailableTimeSlotForFulfillmentTypesOptions, ListFirstAvailableTimeSlotForFulfillmentTypesResponse, CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions, CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, ListFirstAvailableTimeSlotsForOperationsOptions, ListFirstAvailableTimeSlotsForOperationsResponse, CalculateFirstAvailableTimeSlotsPerOperationOptions, CalculateFirstAvailableTimeSlotsPerOperationResponse, ListFirstAvailableTimeSlotsForMenusOptions, ListFirstAvailableTimeSlotsForMenusResponse, CalculateFirstAvailableTimeSlotsPerMenuOptions, CalculateFirstAvailableTimeSlotsPerMenuResponse, CalculateFirstAvailableTimeSlotsForItemOptions, CalculateFirstAvailableTimeSlotsForItemResponse, ListAvailableTimeSlotsForDateOptions, ListAvailableTimeSlotsForDateResponse, CalculateAvailableTimeSlotsForDateOptions, CalculateAvailableTimeSlotsForDateResponse, ListAvailableDatesInRangeOptions, ListAvailableDatesInRangeResponse, CalculateAvailableDatesInRangeOptions, CalculateAvailableDatesInRangeResponse, ValidateOperationAddressResponse, BulkUpdateOperationTagsOptions, BulkUpdateOperationTagsResponse, BulkUpdateOperationTagsApplicationErrors, BulkUpdateOperationTagsByFilterOptions, BulkUpdateOperationTagsByFilterResponse, BulkUpdateOperationTagsByFilterApplicationErrors, OperationDeletedEnvelope, OperationUpdatedEnvelope, OperationsQueryBuilder, OperationQuery, typedQueryOperation } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, ActivationType, ActivationTypeWithLiterals, ActivePeriod, Address, AddressHint, AddressLocation, AddressViolation, App, ApplicationError, AsapFutureHandlingType, AsapFutureHandlingTypeWithLiterals, AsapOrderPacing, AsapOrderPacingPacingAvailabilityOneOf, AsapOrderScheduling, AsapOrderSchedulingAsapFutureHandlingOptionsOneOf, AsapPacingWindowType, AsapPacingWindowTypeWithLiterals, AsapPreorderType, AsapPreorderTypeWithLiterals, AsapScheduling, AsapSchedulingAsapPreorderOneOf, AsapSchedulingPreparationTimeOneOf, Asset, AvailabilityException, BaseEventMetadata, BlockedPeriod, BulkActionMetadata, BulkUpdateOperationTagsByFilterRequest, BulkUpdateOperationTagsRequest, BulkUpdateOperationTagsResult, BusinessDaysAheadHandling, BusinessDaysPreorder, BusinessLocationDetails, BusinessSchedule, CalculateAvailableDatesInRangeRequest, CalculateAvailableTimeSlotsForDateRequest, CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest, CalculateFirstAvailableTimeSlotsForItemRequest, CalculateFirstAvailableTimeSlotsPerMenuRequest, CalculateFirstAvailableTimeSlotsPerOperationRequest, Categories, ChangeContext, ChangeContextPayloadOneOf, CommonAddress, CommonAddressStreetOneOf, CommonCursorPaging, CommonCursorPagingMetadata, CommonCursors, CommonQueryWithEntityContext, ConsentPolicy, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DayAndTime, DayOfWeek, DayOfWeekAvailability, DayOfWeekWithLiterals, DeleteContext, DeleteOperationRequest, DeleteOperationResponse, DeleteStatus, DeleteStatusWithLiterals, DeliveryDetails, DeliveryProfileConfiguredForOperation, DineInDetails, DomainEvent, DomainEventBodyOneOf, DurationRange, EditorlessAssigned, EditorlessUnassigned, Empty, EntitiesDayOfWeek, EntitiesDayOfWeekWithLiterals, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, FirstFulfillmentTimeSlotsPerMenu, FulfillmentAddress, FulfillmentDetails, FulfillmentDetailsFulfillmentTimeOptionsOneOf, FulfillmentInfo, FulfillmentInfoFulfillmentTimeOneOf, FulfillmentOption, FulfillmentOptionAvailability, FulfillmentOptionFulfillmentTimeOptionsOneOf, FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf, FulfillmentOptionFulfillmentTypeOptionsOneOf, FulfillmentTimeSlot, FulfillmentTimeSlotsPerMenu, FulfillmentTimeType, FulfillmentTimeTypeWithLiterals, FulfillmentTimesDisplayConfig, FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf, FulfillmentTimesDisplayType, FulfillmentTimesDisplayTypeWithLiterals, FulfillmentTimesType, FulfillmentTimesTypeWithLiterals, FulfillmentType, FulfillmentTypeAvailableDates, FulfillmentTypeWithLiterals, GeoCoordinates, GetExpectedFulfillmentSelectionRequest, GetExpectedFulfillmentSelectionResponse, GetOperationRequest, GetOperationResponse, IdentificationData, IdentificationDataIdOneOf, ImmutableFields, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListAvailableDatesInRangeRequest, ListAvailableFulfillmentOptionsRequest, ListAvailableTimeSlotsForDateRequest, ListBlockedPeriodsRequest, ListFirstAvailableTimeSlotForFulfillmentTypesRequest, ListFirstAvailableTimeSlotsForMenusRequest, ListFirstAvailableTimeSlotsForOperationsRequest, ListOperationIdsRequest, ListOperationIdsResponse, ListOperationsInternalRequest, ListOperationsInternalResponse, ListOperationsRequest, ListOrdersForOperationRequest, ListOrdersForOperationResponse, Locale, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, MethodType, MethodTypeWithLiterals, Multilingual, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, OnlineOrderingPausedUntilOptions, OnlineOrderingStatusType, OnlineOrderingStatusTypeWithLiterals, OperationOnlineOrderingStatusOptionsOneOf, OperationQuerySpec, OperationTimeSlot, OperationsDataCloningCompleted, OperationsQueryResult, OrderScheduling, OrderSchedulingOrderSchedulingOptionsOneOf, OrderSchedulingType, OrderSchedulingTypeWithLiterals, PacingOrder, Page, Pages, PagingMetadata, PicassoAssigned, PicassoUnassigned, PickupDetails, PlacementType, PlacementTypeWithLiterals, PreOrderPacing, PreOrderPacingPacingAvailabilityOneOf, PreorderMethod, PreorderMethodMethodOptionsOneOf, PreorderPacingWindowType, PreorderPacingWindowTypeWithLiterals, PreorderScheduling, PreparationTime, PreparationTimePreparationTimeType, PreparationTimePreparationTimeTypeWithLiterals, PreparationTimeTimeSpecificationOneOf, PreparationTimeType, PreparationTimeTypeWithLiterals, Properties, PropertiesChange, QueryOperationRequest, QueryOperationResponse, ResolutionMethod, ResolutionMethodWithLiterals, RestoreInfo, Scheduling, SchedulingSchedulingOptionsOneOf, SchedulingType, SchedulingTypeWithLiterals, ServiceProvisioned, ServiceRemoved, SiteCloned, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePropertiesEvent, SitePropertiesNotification, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, SpecialHourPeriod, State, StateWithLiterals, StreetAddress, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, SupportedLanguage, TagList, Tags, TimeBounded, TimeDuration, TimeDurationRange, TimeOfDay, TimeOfDayRange, TimePeriod, TimeSlot, TimeSlotForFulfillment, TimeSlotForFulfillmentTimeSlotStatus, TimeSlotForFulfillmentTimeSlotStatusWithLiterals, TimeSlotForOperation, TimeSlotStatus, TimeSlotStatusWithLiterals, TimeUnit, TimeUnitWithLiterals, TimeWindowDisplayConfig, Translation, URI, URIs, UpdateDeliveryRegionsRequest, UpdateDeliveryRegionsResponse, UpdateImmutableFieldsRequest, UpdateImmutableFieldsResponse, UpdateOperationRequest, UpdateOperationResponse, UserDomainMediaDisabled, UserDomainMediaEnabled, V1Address, V1AddressLocation, V1StreetAddress, V4SiteCreated, ValidateOperationAddressRequest, ViolationType, ViolationTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeeklyActiveDays, WeeklyActivePeriods, WeeklySchedule, WixelAssigned, WixelUnassigned, _Date, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
|
-
declare function listBlockedPeriods$1(httpClient: HttpClient
|
|
6
|
-
validateRequestSchema?: boolean;
|
|
7
|
-
}): ListBlockedPeriodsSignature;
|
|
5
|
+
declare function listBlockedPeriods$1(httpClient: HttpClient): ListBlockedPeriodsSignature;
|
|
8
6
|
interface ListBlockedPeriodsSignature {
|
|
9
7
|
/**
|
|
10
8
|
* List Blocked Periods.
|
|
@@ -12,21 +10,7 @@ interface ListBlockedPeriodsSignature {
|
|
|
12
10
|
*/
|
|
13
11
|
(operationId: string, options?: NonNullablePaths<ListBlockedPeriodsOptions, `until`, 2>): Promise<NonNullablePaths<ListBlockedPeriodsResponse, `blockPeriods`, 2>>;
|
|
14
12
|
}
|
|
15
|
-
declare function
|
|
16
|
-
validateRequestSchema?: boolean;
|
|
17
|
-
}): CreateOperationSignature;
|
|
18
|
-
interface CreateOperationSignature {
|
|
19
|
-
/**
|
|
20
|
-
* Creates a new operation.
|
|
21
|
-
* @param - Operation to create.
|
|
22
|
-
* @returns Created operation.
|
|
23
|
-
* @deprecated
|
|
24
|
-
*/
|
|
25
|
-
(operation: Operation): Promise<NonNullablePaths<Operation, `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`, 8>>;
|
|
26
|
-
}
|
|
27
|
-
declare function getOperation$1(httpClient: HttpClient, __options?: {
|
|
28
|
-
validateRequestSchema?: boolean;
|
|
29
|
-
}): GetOperationSignature;
|
|
13
|
+
declare function getOperation$1(httpClient: HttpClient): GetOperationSignature;
|
|
30
14
|
interface GetOperationSignature {
|
|
31
15
|
/**
|
|
32
16
|
* Retrieves an operation.
|
|
@@ -35,9 +19,7 @@ interface GetOperationSignature {
|
|
|
35
19
|
*/
|
|
36
20
|
(operationId: string): Promise<NonNullablePaths<Operation, `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`, 8>>;
|
|
37
21
|
}
|
|
38
|
-
declare function updateOperation$1(httpClient: HttpClient
|
|
39
|
-
validateRequestSchema?: boolean;
|
|
40
|
-
}): UpdateOperationSignature;
|
|
22
|
+
declare function updateOperation$1(httpClient: HttpClient): UpdateOperationSignature;
|
|
41
23
|
interface UpdateOperationSignature {
|
|
42
24
|
/**
|
|
43
25
|
* Updates an operation.
|
|
@@ -55,9 +37,7 @@ interface UpdateOperationSignature {
|
|
|
55
37
|
*/
|
|
56
38
|
(_id: string, operation: NonNullablePaths<UpdateOperation, `revision`, 2>): Promise<NonNullablePaths<Operation, `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`, 8>>;
|
|
57
39
|
}
|
|
58
|
-
declare function deleteOperation$1(httpClient: HttpClient
|
|
59
|
-
validateRequestSchema?: boolean;
|
|
60
|
-
}): DeleteOperationSignature;
|
|
40
|
+
declare function deleteOperation$1(httpClient: HttpClient): DeleteOperationSignature;
|
|
61
41
|
interface DeleteOperationSignature {
|
|
62
42
|
/**
|
|
63
43
|
* Deletes an operation.
|
|
@@ -66,9 +46,7 @@ interface DeleteOperationSignature {
|
|
|
66
46
|
*/
|
|
67
47
|
(operationId: string): Promise<void>;
|
|
68
48
|
}
|
|
69
|
-
declare function listOperations$1(httpClient: HttpClient
|
|
70
|
-
validateRequestSchema?: boolean;
|
|
71
|
-
}): ListOperationsSignature;
|
|
49
|
+
declare function listOperations$1(httpClient: HttpClient): ListOperationsSignature;
|
|
72
50
|
interface ListOperationsSignature {
|
|
73
51
|
/**
|
|
74
52
|
* Retrieves a list of operations.
|
|
@@ -76,9 +54,7 @@ interface ListOperationsSignature {
|
|
|
76
54
|
*/
|
|
77
55
|
(): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`, 6>>;
|
|
78
56
|
}
|
|
79
|
-
declare function listAvailableFulfillmentOptions$1(httpClient: HttpClient
|
|
80
|
-
validateRequestSchema?: boolean;
|
|
81
|
-
}): ListAvailableFulfillmentOptionsSignature;
|
|
57
|
+
declare function listAvailableFulfillmentOptions$1(httpClient: HttpClient): ListAvailableFulfillmentOptionsSignature;
|
|
82
58
|
interface ListAvailableFulfillmentOptionsSignature {
|
|
83
59
|
/**
|
|
84
60
|
* Retrieves a list of available fulfillment options.
|
|
@@ -90,9 +66,7 @@ interface ListAvailableFulfillmentOptionsSignature {
|
|
|
90
66
|
*/
|
|
91
67
|
(operationId: string, options?: ListAvailableFulfillmentOptions): Promise<NonNullablePaths<ListAvailableFulfillmentOptionsResponse, `pickupConfigured` | `deliveryConfigured` | `fulfillmentOptions` | `fulfillmentOptions.${number}.maxTimeOptions` | `fulfillmentOptions.${number}.durationRangeOptions.minDuration` | `fulfillmentOptions.${number}.durationRangeOptions.maxDuration` | `fulfillmentOptions.${number}.timeWindowsOptions.durationInMinutes` | `fulfillmentOptions.${number}.type` | `fulfillmentOptions.${number}.availability.asapHandlingAvailable` | `fulfillmentOptions.${number}.fulfillmentTimeType` | `fulfillmentOptions.${number}.fulfillmentTimesDisplayType`, 5>>;
|
|
92
68
|
}
|
|
93
|
-
declare function listFirstAvailableTimeSlotForFulfillmentTypes$1(httpClient: HttpClient
|
|
94
|
-
validateRequestSchema?: boolean;
|
|
95
|
-
}): ListFirstAvailableTimeSlotForFulfillmentTypesSignature;
|
|
69
|
+
declare function listFirstAvailableTimeSlotForFulfillmentTypes$1(httpClient: HttpClient): ListFirstAvailableTimeSlotForFulfillmentTypesSignature;
|
|
96
70
|
interface ListFirstAvailableTimeSlotForFulfillmentTypesSignature {
|
|
97
71
|
/**
|
|
98
72
|
* Retrieves a list of available time slots for each fulfillment type.
|
|
@@ -104,9 +78,7 @@ interface ListFirstAvailableTimeSlotForFulfillmentTypesSignature {
|
|
|
104
78
|
*/
|
|
105
79
|
(operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 4>>;
|
|
106
80
|
}
|
|
107
|
-
declare function calculateFirstAvailableTimeSlotPerFulfillmentType$1(httpClient: HttpClient
|
|
108
|
-
validateRequestSchema?: boolean;
|
|
109
|
-
}): CalculateFirstAvailableTimeSlotPerFulfillmentTypeSignature;
|
|
81
|
+
declare function calculateFirstAvailableTimeSlotPerFulfillmentType$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotPerFulfillmentTypeSignature;
|
|
110
82
|
interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeSignature {
|
|
111
83
|
/**
|
|
112
84
|
* Retrieves the first available time slot of each fulfillment type for a specified operation.
|
|
@@ -117,9 +89,7 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeSignature {
|
|
|
117
89
|
*/
|
|
118
90
|
(operationId: string, options?: CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 5>>;
|
|
119
91
|
}
|
|
120
|
-
declare function listFirstAvailableTimeSlotsForOperations$1(httpClient: HttpClient
|
|
121
|
-
validateRequestSchema?: boolean;
|
|
122
|
-
}): ListFirstAvailableTimeSlotsForOperationsSignature;
|
|
92
|
+
declare function listFirstAvailableTimeSlotsForOperations$1(httpClient: HttpClient): ListFirstAvailableTimeSlotsForOperationsSignature;
|
|
123
93
|
interface ListFirstAvailableTimeSlotsForOperationsSignature {
|
|
124
94
|
/**
|
|
125
95
|
* Retrieves a list of available time slots for each fulfillment type.
|
|
@@ -131,9 +101,7 @@ interface ListFirstAvailableTimeSlotsForOperationsSignature {
|
|
|
131
101
|
*/
|
|
132
102
|
(operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`, 4>>;
|
|
133
103
|
}
|
|
134
|
-
declare function calculateFirstAvailableTimeSlotsPerOperation$1(httpClient: HttpClient
|
|
135
|
-
validateRequestSchema?: boolean;
|
|
136
|
-
}): CalculateFirstAvailableTimeSlotsPerOperationSignature;
|
|
104
|
+
declare function calculateFirstAvailableTimeSlotsPerOperation$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotsPerOperationSignature;
|
|
137
105
|
interface CalculateFirstAvailableTimeSlotsPerOperationSignature {
|
|
138
106
|
/**
|
|
139
107
|
* Retrieves the first available time slot of each fulfillment type for each specified operation.
|
|
@@ -144,9 +112,7 @@ interface CalculateFirstAvailableTimeSlotsPerOperationSignature {
|
|
|
144
112
|
*/
|
|
145
113
|
(operationIds: string[], options?: CalculateFirstAvailableTimeSlotsPerOperationOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerOperationResponse, `timeSlotsPerOperation` | `timeSlotsPerOperation.${number}.operationId`, 4>>;
|
|
146
114
|
}
|
|
147
|
-
declare function listFirstAvailableTimeSlotsForMenus$1(httpClient: HttpClient
|
|
148
|
-
validateRequestSchema?: boolean;
|
|
149
|
-
}): ListFirstAvailableTimeSlotsForMenusSignature;
|
|
115
|
+
declare function listFirstAvailableTimeSlotsForMenus$1(httpClient: HttpClient): ListFirstAvailableTimeSlotsForMenusSignature;
|
|
150
116
|
interface ListFirstAvailableTimeSlotsForMenusSignature {
|
|
151
117
|
/**
|
|
152
118
|
* For each menu, retrieves the first available time slots for each fulfillment type.
|
|
@@ -156,9 +122,7 @@ interface ListFirstAvailableTimeSlotsForMenusSignature {
|
|
|
156
122
|
*/
|
|
157
123
|
(operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`, 2>>;
|
|
158
124
|
}
|
|
159
|
-
declare function calculateFirstAvailableTimeSlotsPerMenu$1(httpClient: HttpClient
|
|
160
|
-
validateRequestSchema?: boolean;
|
|
161
|
-
}): CalculateFirstAvailableTimeSlotsPerMenuSignature;
|
|
125
|
+
declare function calculateFirstAvailableTimeSlotsPerMenu$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotsPerMenuSignature;
|
|
162
126
|
interface CalculateFirstAvailableTimeSlotsPerMenuSignature {
|
|
163
127
|
/**
|
|
164
128
|
* Retrieves the first available time slot of each fulfillment type for each specified menu.
|
|
@@ -169,9 +133,7 @@ interface CalculateFirstAvailableTimeSlotsPerMenuSignature {
|
|
|
169
133
|
*/
|
|
170
134
|
(operationId: string, options?: CalculateFirstAvailableTimeSlotsPerMenuOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerMenuResponse, `timeSlotsPerMenu`, 2>>;
|
|
171
135
|
}
|
|
172
|
-
declare function calculateFirstAvailableTimeSlotsForItem$1(httpClient: HttpClient
|
|
173
|
-
validateRequestSchema?: boolean;
|
|
174
|
-
}): CalculateFirstAvailableTimeSlotsForItemSignature;
|
|
136
|
+
declare function calculateFirstAvailableTimeSlotsForItem$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotsForItemSignature;
|
|
175
137
|
interface CalculateFirstAvailableTimeSlotsForItemSignature {
|
|
176
138
|
/**
|
|
177
139
|
* Retrieves the first available time slot of each fulfillment type for a spastic Item.
|
|
@@ -182,9 +144,7 @@ interface CalculateFirstAvailableTimeSlotsForItemSignature {
|
|
|
182
144
|
*/
|
|
183
145
|
(operationId: string, menuId: string, options?: NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemOptions, `itemId` | `sectionId`, 2>): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 5>>;
|
|
184
146
|
}
|
|
185
|
-
declare function listAvailableTimeSlotsForDate$1(httpClient: HttpClient
|
|
186
|
-
validateRequestSchema?: boolean;
|
|
187
|
-
}): ListAvailableTimeSlotsForDateSignature;
|
|
147
|
+
declare function listAvailableTimeSlotsForDate$1(httpClient: HttpClient): ListAvailableTimeSlotsForDateSignature;
|
|
188
148
|
interface ListAvailableTimeSlotsForDateSignature {
|
|
189
149
|
/**
|
|
190
150
|
* Retrieves a list of the available time slots for a given date.
|
|
@@ -194,9 +154,7 @@ interface ListAvailableTimeSlotsForDateSignature {
|
|
|
194
154
|
*/
|
|
195
155
|
(operationId: string, options?: NonNullablePaths<ListAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`, 3>): Promise<NonNullablePaths<ListAvailableTimeSlotsForDateResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 4>>;
|
|
196
156
|
}
|
|
197
|
-
declare function calculateAvailableTimeSlotsForDate$1(httpClient: HttpClient
|
|
198
|
-
validateRequestSchema?: boolean;
|
|
199
|
-
}): CalculateAvailableTimeSlotsForDateSignature;
|
|
157
|
+
declare function calculateAvailableTimeSlotsForDate$1(httpClient: HttpClient): CalculateAvailableTimeSlotsForDateSignature;
|
|
200
158
|
interface CalculateAvailableTimeSlotsForDateSignature {
|
|
201
159
|
/**
|
|
202
160
|
* Retrieves all available time slots of each fulfillment type for the specified date.
|
|
@@ -207,9 +165,7 @@ interface CalculateAvailableTimeSlotsForDateSignature {
|
|
|
207
165
|
*/
|
|
208
166
|
(operationId: string, options?: NonNullablePaths<CalculateAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`, 3>): Promise<NonNullablePaths<CalculateAvailableTimeSlotsForDateResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 5>>;
|
|
209
167
|
}
|
|
210
|
-
declare function listAvailableDatesInRange$1(httpClient: HttpClient
|
|
211
|
-
validateRequestSchema?: boolean;
|
|
212
|
-
}): ListAvailableDatesInRangeSignature;
|
|
168
|
+
declare function listAvailableDatesInRange$1(httpClient: HttpClient): ListAvailableDatesInRangeSignature;
|
|
213
169
|
interface ListAvailableDatesInRangeSignature {
|
|
214
170
|
/**
|
|
215
171
|
* Retrieves a list of the available dates in a given time range.
|
|
@@ -221,9 +177,7 @@ interface ListAvailableDatesInRangeSignature {
|
|
|
221
177
|
*/
|
|
222
178
|
(operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`, 2>): Promise<NonNullablePaths<ListAvailableDatesInRangeResponse, `availableDates` | `availableDates.${number}.fulfilmentType`, 4>>;
|
|
223
179
|
}
|
|
224
|
-
declare function calculateAvailableDatesInRange$1(httpClient: HttpClient
|
|
225
|
-
validateRequestSchema?: boolean;
|
|
226
|
-
}): CalculateAvailableDatesInRangeSignature;
|
|
180
|
+
declare function calculateAvailableDatesInRange$1(httpClient: HttpClient): CalculateAvailableDatesInRangeSignature;
|
|
227
181
|
interface CalculateAvailableDatesInRangeSignature {
|
|
228
182
|
/**
|
|
229
183
|
* Retrieves all available dates of each fulfillment type within the specified time range.
|
|
@@ -236,9 +190,7 @@ interface CalculateAvailableDatesInRangeSignature {
|
|
|
236
190
|
*/
|
|
237
191
|
(operationId: string, options?: NonNullablePaths<CalculateAvailableDatesInRangeOptions, `from` | `until`, 2>): Promise<NonNullablePaths<CalculateAvailableDatesInRangeResponse, `availableDatesPerFulfillmentType` | `availableDatesPerFulfillmentType.${number}.fulfilmentType`, 4>>;
|
|
238
192
|
}
|
|
239
|
-
declare function validateOperationAddress$1(httpClient: HttpClient
|
|
240
|
-
validateRequestSchema?: boolean;
|
|
241
|
-
}): ValidateOperationAddressSignature;
|
|
193
|
+
declare function validateOperationAddress$1(httpClient: HttpClient): ValidateOperationAddressSignature;
|
|
242
194
|
interface ValidateOperationAddressSignature {
|
|
243
195
|
/**
|
|
244
196
|
* Validates an operation's address.
|
|
@@ -257,9 +209,7 @@ interface ValidateOperationAddressSignature {
|
|
|
257
209
|
*/
|
|
258
210
|
(operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`, 4>>;
|
|
259
211
|
}
|
|
260
|
-
declare function bulkUpdateOperationTags$1(httpClient: HttpClient
|
|
261
|
-
validateRequestSchema?: boolean;
|
|
262
|
-
}): BulkUpdateOperationTagsSignature;
|
|
212
|
+
declare function bulkUpdateOperationTags$1(httpClient: HttpClient): BulkUpdateOperationTagsSignature;
|
|
263
213
|
interface BulkUpdateOperationTagsSignature {
|
|
264
214
|
/**
|
|
265
215
|
* Synchronously update tags on multiple operations.
|
|
@@ -270,9 +220,7 @@ interface BulkUpdateOperationTagsSignature {
|
|
|
270
220
|
__applicationErrorsType?: BulkUpdateOperationTagsApplicationErrors;
|
|
271
221
|
}>;
|
|
272
222
|
}
|
|
273
|
-
declare function bulkUpdateOperationTagsByFilter$1(httpClient: HttpClient
|
|
274
|
-
validateRequestSchema?: boolean;
|
|
275
|
-
}): BulkUpdateOperationTagsByFilterSignature;
|
|
223
|
+
declare function bulkUpdateOperationTagsByFilter$1(httpClient: HttpClient): BulkUpdateOperationTagsByFilterSignature;
|
|
276
224
|
interface BulkUpdateOperationTagsByFilterSignature {
|
|
277
225
|
/**
|
|
278
226
|
* Asynchronously update tags on multiple operations according to the specified filter.
|
|
@@ -284,7 +232,6 @@ interface BulkUpdateOperationTagsByFilterSignature {
|
|
|
284
232
|
__applicationErrorsType?: BulkUpdateOperationTagsByFilterApplicationErrors;
|
|
285
233
|
}>;
|
|
286
234
|
}
|
|
287
|
-
declare const onOperationCreated$1: EventDefinition<OperationCreatedEnvelope, "wix.restaurants.operations.v1.operation_created">;
|
|
288
235
|
declare const onOperationDeleted$1: EventDefinition<OperationDeletedEnvelope, "wix.restaurants.operations.v1.operation_deleted">;
|
|
289
236
|
declare const onOperationUpdated$1: EventDefinition<OperationUpdatedEnvelope, "wix.restaurants.operations.v1.operation_updated">;
|
|
290
237
|
|
|
@@ -293,7 +240,6 @@ declare function customQueryOperation(httpClient: HttpClient): {
|
|
|
293
240
|
(query: OperationQuery): ReturnType<typeof typedQueryOperation>;
|
|
294
241
|
};
|
|
295
242
|
declare const listBlockedPeriods: MaybeContext<BuildRESTFunction<typeof listBlockedPeriods$1> & typeof listBlockedPeriods$1>;
|
|
296
|
-
declare const createOperation: MaybeContext<BuildRESTFunction<typeof createOperation$1> & typeof createOperation$1>;
|
|
297
243
|
declare const getOperation: MaybeContext<BuildRESTFunction<typeof getOperation$1> & typeof getOperation$1>;
|
|
298
244
|
declare const updateOperation: MaybeContext<BuildRESTFunction<typeof updateOperation$1> & typeof updateOperation$1>;
|
|
299
245
|
declare const deleteOperation: MaybeContext<BuildRESTFunction<typeof deleteOperation$1> & typeof deleteOperation$1>;
|
|
@@ -314,10 +260,6 @@ declare const validateOperationAddress: MaybeContext<BuildRESTFunction<typeof va
|
|
|
314
260
|
declare const bulkUpdateOperationTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateOperationTags$1> & typeof bulkUpdateOperationTags$1>;
|
|
315
261
|
declare const bulkUpdateOperationTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateOperationTagsByFilter$1> & typeof bulkUpdateOperationTagsByFilter$1>;
|
|
316
262
|
declare const queryOperation: MaybeContext<BuildRESTFunction<typeof customQueryOperation> & typeof customQueryOperation>;
|
|
317
|
-
/**
|
|
318
|
-
* Triggered when an operation is created.
|
|
319
|
-
*/
|
|
320
|
-
declare const onOperationCreated: BuildEventDefinition<typeof onOperationCreated$1> & typeof onOperationCreated$1;
|
|
321
263
|
/**
|
|
322
264
|
* Triggered when an operation is deleted.
|
|
323
265
|
*/
|
|
@@ -327,4 +269,4 @@ declare const onOperationDeleted: BuildEventDefinition<typeof onOperationDeleted
|
|
|
327
269
|
*/
|
|
328
270
|
declare const onOperationUpdated: BuildEventDefinition<typeof onOperationUpdated$1> & typeof onOperationUpdated$1;
|
|
329
271
|
|
|
330
|
-
export { BulkUpdateOperationTagsApplicationErrors, BulkUpdateOperationTagsByFilterApplicationErrors, BulkUpdateOperationTagsByFilterOptions, BulkUpdateOperationTagsByFilterResponse, BulkUpdateOperationTagsOptions, BulkUpdateOperationTagsResponse, CalculateAvailableDatesInRangeOptions, CalculateAvailableDatesInRangeResponse, CalculateAvailableTimeSlotsForDateOptions, CalculateAvailableTimeSlotsForDateResponse, CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions, CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, CalculateFirstAvailableTimeSlotsForItemOptions, CalculateFirstAvailableTimeSlotsForItemResponse, CalculateFirstAvailableTimeSlotsPerMenuOptions, CalculateFirstAvailableTimeSlotsPerMenuResponse, CalculateFirstAvailableTimeSlotsPerOperationOptions, CalculateFirstAvailableTimeSlotsPerOperationResponse, ListAvailableDatesInRangeOptions, ListAvailableDatesInRangeResponse, ListAvailableFulfillmentOptions, ListAvailableFulfillmentOptionsResponse, ListAvailableTimeSlotsForDateOptions, ListAvailableTimeSlotsForDateResponse, ListBlockedPeriodsOptions, ListBlockedPeriodsResponse, ListFirstAvailableTimeSlotForFulfillmentTypesOptions, ListFirstAvailableTimeSlotForFulfillmentTypesResponse, ListFirstAvailableTimeSlotsForMenusOptions, ListFirstAvailableTimeSlotsForMenusResponse, ListFirstAvailableTimeSlotsForOperationsOptions, ListFirstAvailableTimeSlotsForOperationsResponse, ListOperationsResponse, Operation,
|
|
272
|
+
export { BulkUpdateOperationTagsApplicationErrors, BulkUpdateOperationTagsByFilterApplicationErrors, BulkUpdateOperationTagsByFilterOptions, BulkUpdateOperationTagsByFilterResponse, BulkUpdateOperationTagsOptions, BulkUpdateOperationTagsResponse, CalculateAvailableDatesInRangeOptions, CalculateAvailableDatesInRangeResponse, CalculateAvailableTimeSlotsForDateOptions, CalculateAvailableTimeSlotsForDateResponse, CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions, CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, CalculateFirstAvailableTimeSlotsForItemOptions, CalculateFirstAvailableTimeSlotsForItemResponse, CalculateFirstAvailableTimeSlotsPerMenuOptions, CalculateFirstAvailableTimeSlotsPerMenuResponse, CalculateFirstAvailableTimeSlotsPerOperationOptions, CalculateFirstAvailableTimeSlotsPerOperationResponse, ListAvailableDatesInRangeOptions, ListAvailableDatesInRangeResponse, ListAvailableFulfillmentOptions, ListAvailableFulfillmentOptionsResponse, ListAvailableTimeSlotsForDateOptions, ListAvailableTimeSlotsForDateResponse, ListBlockedPeriodsOptions, ListBlockedPeriodsResponse, ListFirstAvailableTimeSlotForFulfillmentTypesOptions, ListFirstAvailableTimeSlotForFulfillmentTypesResponse, ListFirstAvailableTimeSlotsForMenusOptions, ListFirstAvailableTimeSlotsForMenusResponse, ListFirstAvailableTimeSlotsForOperationsOptions, ListFirstAvailableTimeSlotsForOperationsResponse, ListOperationsResponse, Operation, OperationDeletedEnvelope, OperationQuery, OperationUpdatedEnvelope, OperationsQueryBuilder, UpdateOperation, ValidateOperationAddressResponse, bulkUpdateOperationTags, bulkUpdateOperationTagsByFilter, calculateAvailableDatesInRange, calculateAvailableTimeSlotsForDate, calculateFirstAvailableTimeSlotPerFulfillmentType, calculateFirstAvailableTimeSlotsForItem, calculateFirstAvailableTimeSlotsPerMenu, calculateFirstAvailableTimeSlotsPerOperation, deleteOperation, getOperation, listAvailableDatesInRange, listAvailableFulfillmentOptions, listAvailableTimeSlotsForDate, listBlockedPeriods, listFirstAvailableTimeSlotForFulfillmentTypes, listFirstAvailableTimeSlotsForMenus, listFirstAvailableTimeSlotsForOperations, listOperations, onOperationDeleted, onOperationUpdated, queryOperation, updateOperation, validateOperationAddress };
|