@wix/auto_sdk_restaurants_operations 1.0.0
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 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.context.d.ts +32 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.context.js +54 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.context.js.map +1 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.http.d.ts +72 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.http.js +682 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.http.js.map +1 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.meta.d.ts +40 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.meta.js +256 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.meta.js.map +1 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.public.d.ts +144 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.public.js +148 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.public.js.map +1 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.types.d.ts +1614 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.types.js +190 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.types.js.map +1 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.universal.d.ts +2091 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.universal.js +848 -0
- package/build/cjs/src/restaurants-operations-v1-operation-operations.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.context.d.ts +32 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.context.js +32 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.context.js.map +1 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.http.d.ts +72 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.http.js +667 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.http.js.map +1 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.meta.d.ts +40 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.meta.js +218 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.meta.js.map +1 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.public.d.ts +144 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.public.js +114 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.public.js.map +1 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.types.d.ts +1614 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.types.js +187 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.types.js.map +1 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.universal.d.ts +2091 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.universal.js +810 -0
- package/build/es/src/restaurants-operations-v1-operation-operations.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.context.d.ts +32 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.context.js +54 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.context.js.map +1 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.http.d.ts +72 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.http.js +682 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.http.js.map +1 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.meta.d.ts +40 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.meta.js +256 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.meta.js.map +1 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.public.d.ts +144 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.public.js +148 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.public.js.map +1 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.types.d.ts +1614 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.types.js +190 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.types.js.map +1 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.universal.d.ts +2091 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.universal.js +848 -0
- package/build/internal/cjs/src/restaurants-operations-v1-operation-operations.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.context.d.ts +32 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.context.js +32 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.context.js.map +1 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.http.d.ts +72 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.http.js +667 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.http.js.map +1 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.meta.d.ts +40 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.meta.js +218 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.meta.js.map +1 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.public.d.ts +144 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.public.js +114 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.public.js.map +1 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.types.d.ts +1614 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.types.js +187 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.types.js.map +1 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.universal.d.ts +2091 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.universal.js +810 -0
- package/build/internal/es/src/restaurants-operations-v1-operation-operations.universal.js.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/restaurants-operations-v1-operation-operations.context.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/restaurants-operations-v1-operation-operations.context.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kGAAgF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/restaurants-operations-v1-operation-operations.universal.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/restaurants-operations-v1-operation-operations.universal.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.typings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oGAAkF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/restaurants-operations-v1-operation-operations.meta.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/restaurants-operations-v1-operation-operations.meta.js"), exports);
|
|
18
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+FAA6E"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createOperation as publicCreateOperation, getOperation as publicGetOperation, updateOperation as publicUpdateOperation, deleteOperation as publicDeleteOperation, queryOperation as publicQueryOperation, listOperations as publicListOperations, listAvailableFulfillmentOptions as publicListAvailableFulfillmentOptions, listFirstAvailableTimeSlotForFulfillmentTypes as publicListFirstAvailableTimeSlotForFulfillmentTypes, listFirstAvailableTimeSlotsForOperations as publicListFirstAvailableTimeSlotsForOperations, listFirstAvailableTimeSlotsForMenus as publicListFirstAvailableTimeSlotsForMenus, listAvailableTimeSlotsForDate as publicListAvailableTimeSlotsForDate, listAvailableDatesInRange as publicListAvailableDatesInRange } from './restaurants-operations-v1-operation-operations.public.js';
|
|
2
|
+
import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
|
|
3
|
+
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
4
|
+
import { onOperationCreated as publicOnOperationCreated } from './restaurants-operations-v1-operation-operations.public.js';
|
|
5
|
+
import { onOperationDeleted as publicOnOperationDeleted } from './restaurants-operations-v1-operation-operations.public.js';
|
|
6
|
+
import { onOperationUpdated as publicOnOperationUpdated } from './restaurants-operations-v1-operation-operations.public.js';
|
|
7
|
+
export declare const createOperation: MaybeContext<BuildRESTFunction<typeof publicCreateOperation> & typeof publicCreateOperation>;
|
|
8
|
+
export declare const getOperation: MaybeContext<BuildRESTFunction<typeof publicGetOperation> & typeof publicGetOperation>;
|
|
9
|
+
export declare const updateOperation: MaybeContext<BuildRESTFunction<typeof publicUpdateOperation> & typeof publicUpdateOperation>;
|
|
10
|
+
export declare const deleteOperation: MaybeContext<BuildRESTFunction<typeof publicDeleteOperation> & typeof publicDeleteOperation>;
|
|
11
|
+
export declare const queryOperation: MaybeContext<BuildRESTFunction<typeof publicQueryOperation> & typeof publicQueryOperation>;
|
|
12
|
+
export declare const listOperations: MaybeContext<BuildRESTFunction<typeof publicListOperations> & typeof publicListOperations>;
|
|
13
|
+
export declare const listAvailableFulfillmentOptions: MaybeContext<BuildRESTFunction<typeof publicListAvailableFulfillmentOptions> & typeof publicListAvailableFulfillmentOptions>;
|
|
14
|
+
export declare const listFirstAvailableTimeSlotForFulfillmentTypes: MaybeContext<BuildRESTFunction<typeof publicListFirstAvailableTimeSlotForFulfillmentTypes> & typeof publicListFirstAvailableTimeSlotForFulfillmentTypes>;
|
|
15
|
+
export declare const listFirstAvailableTimeSlotsForOperations: MaybeContext<BuildRESTFunction<typeof publicListFirstAvailableTimeSlotsForOperations> & typeof publicListFirstAvailableTimeSlotsForOperations>;
|
|
16
|
+
export declare const listFirstAvailableTimeSlotsForMenus: MaybeContext<BuildRESTFunction<typeof publicListFirstAvailableTimeSlotsForMenus> & typeof publicListFirstAvailableTimeSlotsForMenus>;
|
|
17
|
+
export declare const listAvailableTimeSlotsForDate: MaybeContext<BuildRESTFunction<typeof publicListAvailableTimeSlotsForDate> & typeof publicListAvailableTimeSlotsForDate>;
|
|
18
|
+
export declare const listAvailableDatesInRange: MaybeContext<BuildRESTFunction<typeof publicListAvailableDatesInRange> & typeof publicListAvailableDatesInRange>;
|
|
19
|
+
/**
|
|
20
|
+
* Triggered when an operation is created.
|
|
21
|
+
*/
|
|
22
|
+
export declare const onOperationCreated: ReturnType<typeof createEventModule<typeof publicOnOperationCreated>>;
|
|
23
|
+
/**
|
|
24
|
+
* Triggered when an operation is deleted.
|
|
25
|
+
*/
|
|
26
|
+
export declare const onOperationDeleted: ReturnType<typeof createEventModule<typeof publicOnOperationDeleted>>;
|
|
27
|
+
/**
|
|
28
|
+
* Triggered when an operation is updated.
|
|
29
|
+
*/
|
|
30
|
+
export declare const onOperationUpdated: ReturnType<typeof createEventModule<typeof publicOnOperationUpdated>>;
|
|
31
|
+
export { SchedulingType, PreparationTimeType, TimeUnit, AsapPreorderType, EntitiesDayOfWeek, MethodType, FulfillmentTimesType, OnlineOrderingStatusType, FulfillmentType, PreparationTimePreparationTimeType, AsapFutureHandlingType, SortOrder, SubdivisionType, FulfillmentTimeType, FulfillmentTimesDisplayType, PlacementType, DayOfWeek, ResolutionMethod, WebhookIdentityType, } from './restaurants-operations-v1-operation-operations.universal.js';
|
|
32
|
+
export { Operation, OperationOnlineOrderingStatusOptionsOneOf, Scheduling, SchedulingSchedulingOptionsOneOf, AsapScheduling, AsapSchedulingPreparationTimeOneOf, AsapSchedulingAsapPreorderOneOf, TimeDuration, TimeDurationRange, BusinessDaysPreorder, PreorderScheduling, PreorderMethod, PreorderMethodMethodOptionsOneOf, DayAndTime, TimeOfDay, TimeBounded, WeeklySchedule, FulfillmentTimesDisplayConfig, FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf, OnlineOrderingPausedUntilOptions, OrderScheduling, OrderSchedulingOrderSchedulingOptionsOneOf, AsapOrderScheduling, AsapOrderSchedulingAsapFutureHandlingOptionsOneOf, PreparationTime, PreparationTimeTimeSpecificationOneOf, BusinessDaysAheadHandling, BusinessLocationDetails, V1Address, V1StreetAddress, V1AddressLocation, InvalidateCache, InvalidateCacheGetByOneOf, App, Page, URI, File, DeliveryProfileConfiguredForOperation, OperationsDataCloningCompleted, CreateOperationRequest, CreateOperationResponse, GetOperationRequest, GetOperationResponse, UpdateOperationRequest, UpdateOperationResponse, DeleteOperationRequest, DeleteOperationResponse, QueryOperationRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryOperationResponse, CursorPagingMetadata, Cursors, ListOperationsRequest, ListOperationsResponse, ListOperationIdsRequest, ListOperationIdsResponse, ListOperationsInternalRequest, ListOperationsInternalResponse, ListAvailableFulfillmentOptionsRequest, CommonAddress, CommonAddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, ListAvailableFulfillmentOptionsResponse, FulfillmentOption, FulfillmentOptionFulfillmentTimeOptionsOneOf, FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf, FulfillmentOptionFulfillmentTypeOptionsOneOf, FulfillmentOptionAvailability, DayOfWeekAvailability, TimeOfDayRange, AvailabilityException, DurationRange, TimeWindowDisplayConfig, PickupDetails, DeliveryDetails, ListFirstAvailableTimeSlotForFulfillmentTypesRequest, ListFirstAvailableTimeSlotForFulfillmentTypesResponse, FulfillmentTimeSlot, FulfillmentDetails, FulfillmentDetailsFulfillmentTimeOptionsOneOf, FulfillmentAddress, ListFirstAvailableTimeSlotsForOperationsRequest, ListFirstAvailableTimeSlotsForOperationsResponse, OperationTimeSlot, ListFirstAvailableTimeSlotsForMenusRequest, ListFirstAvailableTimeSlotsForMenusResponse, FirstFulfillmentTimeSlotsPerMenu, ListAvailableTimeSlotsForDateRequest, _Date, ListAvailableTimeSlotsForDateResponse, ListAvailableDatesInRangeRequest, ListAvailableDatesInRangeResponse, FulfillmentTypeAvailableDates, GetExpectedFulfillmentSelectionRequest, GetExpectedFulfillmentSelectionResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, SitePropertiesNotification, SitePropertiesEvent, Properties, Categories, Locale, Address, AddressHint, GeoCoordinates, BusinessSchedule, TimePeriod, SpecialHourPeriod, Multilingual, SupportedLanguage, ConsentPolicy, Translation, ChangeContext, ChangeContextPayloadOneOf, PropertiesChange, SiteCreated, SiteCloned, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, OperationNonNullableFields, CreateOperationResponseNonNullableFields, GetOperationResponseNonNullableFields, UpdateOperationResponseNonNullableFields, QueryOperationResponseNonNullableFields, ListOperationsResponseNonNullableFields, ListAvailableFulfillmentOptionsResponseNonNullableFields, ListFirstAvailableTimeSlotForFulfillmentTypesResponseNonNullableFields, ListFirstAvailableTimeSlotsForOperationsResponseNonNullableFields, ListFirstAvailableTimeSlotsForMenusResponseNonNullableFields, ListAvailableTimeSlotsForDateResponseNonNullableFields, ListAvailableDatesInRangeResponseNonNullableFields, BaseEventMetadata, EventMetadata, OperationCreatedEnvelope, OperationDeletedEnvelope, OperationUpdatedEnvelope, UpdateOperation, OperationsQueryResult, OperationsQueryBuilder, ListAvailableFulfillmentOptions, ListFirstAvailableTimeSlotForFulfillmentTypesOptions, ListFirstAvailableTimeSlotsForOperationsOptions, ListFirstAvailableTimeSlotsForMenusOptions, ListAvailableTimeSlotsForDateOptions, ListAvailableDatesInRangeOptions, } from './restaurants-operations-v1-operation-operations.universal.js';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhookIdentityType = exports.ResolutionMethod = exports.DayOfWeek = exports.PlacementType = exports.FulfillmentTimesDisplayType = exports.FulfillmentTimeType = exports.SubdivisionType = exports.SortOrder = exports.AsapFutureHandlingType = exports.PreparationTimePreparationTimeType = exports.FulfillmentType = exports.OnlineOrderingStatusType = exports.FulfillmentTimesType = exports.MethodType = exports.EntitiesDayOfWeek = exports.AsapPreorderType = exports.TimeUnit = exports.PreparationTimeType = exports.SchedulingType = exports.onOperationUpdated = exports.onOperationDeleted = exports.onOperationCreated = exports.listAvailableDatesInRange = exports.listAvailableTimeSlotsForDate = exports.listFirstAvailableTimeSlotsForMenus = exports.listFirstAvailableTimeSlotsForOperations = exports.listFirstAvailableTimeSlotForFulfillmentTypes = exports.listAvailableFulfillmentOptions = exports.listOperations = exports.queryOperation = exports.deleteOperation = exports.updateOperation = exports.getOperation = exports.createOperation = void 0;
|
|
4
|
+
const restaurants_operations_v1_operation_operations_public_js_1 = require("./restaurants-operations-v1-operation-operations.public.js");
|
|
5
|
+
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
|
+
const event_definition_modules_1 = require("@wix/sdk-runtime/event-definition-modules");
|
|
7
|
+
const restaurants_operations_v1_operation_operations_public_js_2 = require("./restaurants-operations-v1-operation-operations.public.js");
|
|
8
|
+
const restaurants_operations_v1_operation_operations_public_js_3 = require("./restaurants-operations-v1-operation-operations.public.js");
|
|
9
|
+
const restaurants_operations_v1_operation_operations_public_js_4 = require("./restaurants-operations-v1-operation-operations.public.js");
|
|
10
|
+
exports.createOperation = (0, rest_modules_1.createRESTModule)(restaurants_operations_v1_operation_operations_public_js_1.createOperation);
|
|
11
|
+
exports.getOperation = (0, rest_modules_1.createRESTModule)(restaurants_operations_v1_operation_operations_public_js_1.getOperation);
|
|
12
|
+
exports.updateOperation = (0, rest_modules_1.createRESTModule)(restaurants_operations_v1_operation_operations_public_js_1.updateOperation);
|
|
13
|
+
exports.deleteOperation = (0, rest_modules_1.createRESTModule)(restaurants_operations_v1_operation_operations_public_js_1.deleteOperation);
|
|
14
|
+
exports.queryOperation = (0, rest_modules_1.createRESTModule)(restaurants_operations_v1_operation_operations_public_js_1.queryOperation);
|
|
15
|
+
exports.listOperations = (0, rest_modules_1.createRESTModule)(restaurants_operations_v1_operation_operations_public_js_1.listOperations);
|
|
16
|
+
exports.listAvailableFulfillmentOptions = (0, rest_modules_1.createRESTModule)(restaurants_operations_v1_operation_operations_public_js_1.listAvailableFulfillmentOptions);
|
|
17
|
+
exports.listFirstAvailableTimeSlotForFulfillmentTypes = (0, rest_modules_1.createRESTModule)(restaurants_operations_v1_operation_operations_public_js_1.listFirstAvailableTimeSlotForFulfillmentTypes);
|
|
18
|
+
exports.listFirstAvailableTimeSlotsForOperations = (0, rest_modules_1.createRESTModule)(restaurants_operations_v1_operation_operations_public_js_1.listFirstAvailableTimeSlotsForOperations);
|
|
19
|
+
exports.listFirstAvailableTimeSlotsForMenus = (0, rest_modules_1.createRESTModule)(restaurants_operations_v1_operation_operations_public_js_1.listFirstAvailableTimeSlotsForMenus);
|
|
20
|
+
exports.listAvailableTimeSlotsForDate = (0, rest_modules_1.createRESTModule)(restaurants_operations_v1_operation_operations_public_js_1.listAvailableTimeSlotsForDate);
|
|
21
|
+
exports.listAvailableDatesInRange = (0, rest_modules_1.createRESTModule)(restaurants_operations_v1_operation_operations_public_js_1.listAvailableDatesInRange);
|
|
22
|
+
/**
|
|
23
|
+
* Triggered when an operation is created.
|
|
24
|
+
*/
|
|
25
|
+
exports.onOperationCreated = (0, event_definition_modules_1.createEventModule)(restaurants_operations_v1_operation_operations_public_js_2.onOperationCreated);
|
|
26
|
+
/**
|
|
27
|
+
* Triggered when an operation is deleted.
|
|
28
|
+
*/
|
|
29
|
+
exports.onOperationDeleted = (0, event_definition_modules_1.createEventModule)(restaurants_operations_v1_operation_operations_public_js_3.onOperationDeleted);
|
|
30
|
+
/**
|
|
31
|
+
* Triggered when an operation is updated.
|
|
32
|
+
*/
|
|
33
|
+
exports.onOperationUpdated = (0, event_definition_modules_1.createEventModule)(restaurants_operations_v1_operation_operations_public_js_4.onOperationUpdated);
|
|
34
|
+
var restaurants_operations_v1_operation_operations_universal_js_1 = require("./restaurants-operations-v1-operation-operations.universal.js");
|
|
35
|
+
Object.defineProperty(exports, "SchedulingType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.SchedulingType; } });
|
|
36
|
+
Object.defineProperty(exports, "PreparationTimeType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.PreparationTimeType; } });
|
|
37
|
+
Object.defineProperty(exports, "TimeUnit", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.TimeUnit; } });
|
|
38
|
+
Object.defineProperty(exports, "AsapPreorderType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.AsapPreorderType; } });
|
|
39
|
+
Object.defineProperty(exports, "EntitiesDayOfWeek", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.EntitiesDayOfWeek; } });
|
|
40
|
+
Object.defineProperty(exports, "MethodType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.MethodType; } });
|
|
41
|
+
Object.defineProperty(exports, "FulfillmentTimesType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.FulfillmentTimesType; } });
|
|
42
|
+
Object.defineProperty(exports, "OnlineOrderingStatusType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.OnlineOrderingStatusType; } });
|
|
43
|
+
Object.defineProperty(exports, "FulfillmentType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.FulfillmentType; } });
|
|
44
|
+
Object.defineProperty(exports, "PreparationTimePreparationTimeType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.PreparationTimePreparationTimeType; } });
|
|
45
|
+
Object.defineProperty(exports, "AsapFutureHandlingType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.AsapFutureHandlingType; } });
|
|
46
|
+
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.SortOrder; } });
|
|
47
|
+
Object.defineProperty(exports, "SubdivisionType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.SubdivisionType; } });
|
|
48
|
+
Object.defineProperty(exports, "FulfillmentTimeType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.FulfillmentTimeType; } });
|
|
49
|
+
Object.defineProperty(exports, "FulfillmentTimesDisplayType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.FulfillmentTimesDisplayType; } });
|
|
50
|
+
Object.defineProperty(exports, "PlacementType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.PlacementType; } });
|
|
51
|
+
Object.defineProperty(exports, "DayOfWeek", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.DayOfWeek; } });
|
|
52
|
+
Object.defineProperty(exports, "ResolutionMethod", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.ResolutionMethod; } });
|
|
53
|
+
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return restaurants_operations_v1_operation_operations_universal_js_1.WebhookIdentityType; } });
|
|
54
|
+
//# sourceMappingURL=restaurants-operations-v1-operation-operations.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restaurants-operations-v1-operation-operations.context.js","sourceRoot":"","sources":["../../../src/restaurants-operations-v1-operation-operations.context.ts"],"names":[],"mappings":";;;AAAA,yIAaoE;AACpE,gEAAiE;AACjE,wFAA8E;AAE9E,yIAA4H;AAC5H,yIAA4H;AAC5H,yIAA4H;AAE/G,QAAA,eAAe,GAEV,IAAA,+BAAgB,EAAC,0EAAqB,CAAC,CAAC;AAC7C,QAAA,YAAY,GAEP,IAAA,+BAAgB,EAAC,uEAAkB,CAAC,CAAC;AAC1C,QAAA,eAAe,GAEV,IAAA,+BAAgB,EAAC,0EAAqB,CAAC,CAAC;AAC7C,QAAA,eAAe,GAEV,IAAA,+BAAgB,EAAC,0EAAqB,CAAC,CAAC;AAC7C,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,yEAAoB,CAAC,CAAC;AAC5C,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,yEAAoB,CAAC,CAAC;AAC5C,QAAA,+BAA+B,GAG1B,IAAA,+BAAgB,EAAC,0FAAqC,CAAC,CAAC;AAC7D,QAAA,6CAA6C,GAKxC,IAAA,+BAAgB,EAChC,wGAAmD,CACpD,CAAC;AACW,QAAA,wCAAwC,GAGnC,IAAA,+BAAgB,EAChC,mGAA8C,CAC/C,CAAC;AACW,QAAA,mCAAmC,GAG9B,IAAA,+BAAgB,EAAC,8FAAyC,CAAC,CAAC;AACjE,QAAA,6BAA6B,GAGxB,IAAA,+BAAgB,EAAC,wFAAmC,CAAC,CAAC;AAC3D,QAAA,yBAAyB,GAGpB,IAAA,+BAAgB,EAAC,oFAA+B,CAAC,CAAC;AACpE;;GAEG;AACU,QAAA,kBAAkB,GAE3B,IAAA,4CAAiB,EAAC,6EAAwB,CAAC,CAAC;AAChD;;GAEG;AACU,QAAA,kBAAkB,GAE3B,IAAA,4CAAiB,EAAC,6EAAwB,CAAC,CAAC;AAChD;;GAEG;AACU,QAAA,kBAAkB,GAE3B,IAAA,4CAAiB,EAAC,6EAAwB,CAAC,CAAC;AAEhD,6IAoBuE;AAnBrE,6JAAA,cAAc,OAAA;AACd,kKAAA,mBAAmB,OAAA;AACnB,uJAAA,QAAQ,OAAA;AACR,+JAAA,gBAAgB,OAAA;AAChB,gKAAA,iBAAiB,OAAA;AACjB,yJAAA,UAAU,OAAA;AACV,mKAAA,oBAAoB,OAAA;AACpB,uKAAA,wBAAwB,OAAA;AACxB,8JAAA,eAAe,OAAA;AACf,iLAAA,kCAAkC,OAAA;AAClC,qKAAA,sBAAsB,OAAA;AACtB,wJAAA,SAAS,OAAA;AACT,8JAAA,eAAe,OAAA;AACf,kKAAA,mBAAmB,OAAA;AACnB,0KAAA,2BAA2B,OAAA;AAC3B,4JAAA,aAAa,OAAA;AACb,wJAAA,SAAS,OAAA;AACT,+JAAA,gBAAgB,OAAA;AAChB,kKAAA,mBAAmB,OAAA"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
+
/** Creates a new operation. */
|
|
3
|
+
export declare function createOperation(payload: object): RequestOptionsFactory<any>;
|
|
4
|
+
/** Retrieves an operation. */
|
|
5
|
+
export declare function getOperation(payload: object): RequestOptionsFactory<any>;
|
|
6
|
+
/**
|
|
7
|
+
* Updates an operation.
|
|
8
|
+
*
|
|
9
|
+
* If you update part of the `orderScheduling` property, the whole object is overwritten,
|
|
10
|
+
* so you must include the entire object unless you are not updating `orderScheduling` at all. <br />
|
|
11
|
+
*
|
|
12
|
+
* Each time the operation is updated,
|
|
13
|
+
* `revision` increments by 1.
|
|
14
|
+
* The current `revision` must be passed when updating the operation.
|
|
15
|
+
* This ensures you're working with the latest operation
|
|
16
|
+
* and prevents unintended overwrites.
|
|
17
|
+
*/
|
|
18
|
+
export declare function updateOperation(payload: object): RequestOptionsFactory<any>;
|
|
19
|
+
/** Deletes an operation. */
|
|
20
|
+
export declare function deleteOperation(payload: object): RequestOptionsFactory<any>;
|
|
21
|
+
/**
|
|
22
|
+
* Creates a query to retrieve a list of operations.
|
|
23
|
+
*
|
|
24
|
+
* The `queryOperations()` function builds a query to retrieve a list of operations and returns an `OperationsQueryBuilder` object.
|
|
25
|
+
*
|
|
26
|
+
* The returned object contains the query definition, which is used to run the query using the [`find()`](/operations/operations-query-builder/find) function.
|
|
27
|
+
*
|
|
28
|
+
* You can refine the query by chaining `OperationsQueryBuilder` functions onto the query. `OperationsQueryBuilder` functions enable you to filter, sort, and control the results that `queryOperations()` returns.
|
|
29
|
+
*
|
|
30
|
+
* `queryOperations()` runs with the following `OperationsQueryBuilder` defaults, which you can override:
|
|
31
|
+
*
|
|
32
|
+
* * [`limit(50)`](/operations/operations-query-builder/limit)
|
|
33
|
+
* * [`ascending('entityId')`](/operations/operations-methods-query-builder/ascending)
|
|
34
|
+
*
|
|
35
|
+
* The following `OperationsQueryBuilder` functions are supported for `queryOperations()`. For a full description of the operations object, see the object returned for the [`items`](/operations/operations-query-result/items) property in `OperationsQueryResult`.
|
|
36
|
+
*/
|
|
37
|
+
export declare function queryOperation(payload: object): RequestOptionsFactory<any>;
|
|
38
|
+
/**
|
|
39
|
+
* Retrieves a list of operations.
|
|
40
|
+
* The result will be sorted by created date in ascending order.
|
|
41
|
+
*/
|
|
42
|
+
export declare function listOperations(payload: object): RequestOptionsFactory<any>;
|
|
43
|
+
/**
|
|
44
|
+
* Retrieves a list of available fulfillment options.
|
|
45
|
+
*
|
|
46
|
+
* What makes a fulfillment option available is whether you can submit an order given the scheduling configurations and the fulfillment method's availability.
|
|
47
|
+
* When a delivery address is not provided in the input, our system retrieves a list encompassing all types of fulfillment methods.
|
|
48
|
+
* Conversely, if a delivery address` is given, the response may includes non-delivery fulfillment options along with delivery fulfillment methods that are applicable to the given address, ensuring the address falls within the defined delivery area of these methods.
|
|
49
|
+
*/
|
|
50
|
+
export declare function listAvailableFulfillmentOptions(payload: object): RequestOptionsFactory<any>;
|
|
51
|
+
/**
|
|
52
|
+
* Retrieves a list of available time slots for each fulfillment type.
|
|
53
|
+
*
|
|
54
|
+
* Each time slot is the first available time slot for the given fulfillment type.
|
|
55
|
+
*/
|
|
56
|
+
export declare function listFirstAvailableTimeSlotForFulfillmentTypes(payload: object): RequestOptionsFactory<any>;
|
|
57
|
+
/**
|
|
58
|
+
* Retrieves a list of available time slots for each fulfillment type.
|
|
59
|
+
*
|
|
60
|
+
* Each time slot is the first available time slot for the given fulfillment type.
|
|
61
|
+
*/
|
|
62
|
+
export declare function listFirstAvailableTimeSlotsForOperations(payload: object): RequestOptionsFactory<any>;
|
|
63
|
+
/** For each menu, retrieves the first available time slots for each fulfillment type. */
|
|
64
|
+
export declare function listFirstAvailableTimeSlotsForMenus(payload: object): RequestOptionsFactory<any>;
|
|
65
|
+
/** Retrieves a list of the available time slots for a given date. */
|
|
66
|
+
export declare function listAvailableTimeSlotsForDate(payload: object): RequestOptionsFactory<any>;
|
|
67
|
+
/**
|
|
68
|
+
* Retrieves a list of the available dates in a given time range.
|
|
69
|
+
*
|
|
70
|
+
* A date is considered available if it has at least one available time slot.
|
|
71
|
+
*/
|
|
72
|
+
export declare function listAvailableDatesInRange(payload: object): RequestOptionsFactory<any>;
|