@wix/auto_sdk_restaurants_operations 1.0.99 → 1.0.100
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.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +2 -2
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +2 -2
- package/package.json +4 -11
- package/build/cjs/schemas.d.ts +0 -2137
- package/build/cjs/schemas.js +0 -3233
- package/build/cjs/schemas.js.map +0 -1
- package/build/es/schemas.d.mts +0 -2137
- package/build/es/schemas.mjs +0 -3155
- package/build/es/schemas.mjs.map +0 -1
- package/build/internal/cjs/index.js +0 -2598
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.js +0 -2315
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.js +0 -1798
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/schemas.d.ts +0 -2137
- package/build/internal/cjs/schemas.js +0 -3233
- package/build/internal/cjs/schemas.js.map +0 -1
- package/build/internal/es/index.mjs +0 -2521
- package/build/internal/es/index.mjs.map +0 -1
- package/build/internal/es/index.typings.mjs +0 -2239
- package/build/internal/es/index.typings.mjs.map +0 -1
- package/build/internal/es/meta.mjs +0 -1721
- package/build/internal/es/meta.mjs.map +0 -1
- package/build/internal/es/schemas.d.mts +0 -2137
- package/build/internal/es/schemas.mjs +0 -3155
- package/build/internal/es/schemas.mjs.map +0 -1
- package/schemas/package.json +0 -3
|
@@ -1,1798 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// meta.ts
|
|
21
|
-
var meta_exports = {};
|
|
22
|
-
__export(meta_exports, {
|
|
23
|
-
ActivationTypeOriginal: () => ActivationType,
|
|
24
|
-
AsapFutureHandlingTypeOriginal: () => AsapFutureHandlingType,
|
|
25
|
-
AsapPacingWindowTypeOriginal: () => AsapPacingWindowType,
|
|
26
|
-
AsapPreorderTypeOriginal: () => AsapPreorderType,
|
|
27
|
-
DayOfWeekOriginal: () => DayOfWeek,
|
|
28
|
-
DeleteStatusOriginal: () => DeleteStatus,
|
|
29
|
-
EntitiesDayOfWeekOriginal: () => EntitiesDayOfWeek,
|
|
30
|
-
FulfillmentTimeTypeOriginal: () => FulfillmentTimeType,
|
|
31
|
-
FulfillmentTimesDisplayTypeOriginal: () => FulfillmentTimesDisplayType,
|
|
32
|
-
FulfillmentTimesTypeOriginal: () => FulfillmentTimesType,
|
|
33
|
-
FulfillmentTypeOriginal: () => FulfillmentType,
|
|
34
|
-
MethodTypeOriginal: () => MethodType,
|
|
35
|
-
NamespaceOriginal: () => Namespace,
|
|
36
|
-
OnlineOrderingStatusTypeOriginal: () => OnlineOrderingStatusType,
|
|
37
|
-
OrderSchedulingTypeOriginal: () => OrderSchedulingType,
|
|
38
|
-
PlacementTypeOriginal: () => PlacementType,
|
|
39
|
-
PreorderPacingWindowTypeOriginal: () => PreorderPacingWindowType,
|
|
40
|
-
PreparationTimePreparationTimeTypeOriginal: () => PreparationTimePreparationTimeType,
|
|
41
|
-
PreparationTimeTypeOriginal: () => PreparationTimeType,
|
|
42
|
-
ResolutionMethodOriginal: () => ResolutionMethod,
|
|
43
|
-
SchedulingTypeOriginal: () => SchedulingType,
|
|
44
|
-
SiteCreatedContextOriginal: () => SiteCreatedContext,
|
|
45
|
-
SortOrderOriginal: () => SortOrder,
|
|
46
|
-
StateOriginal: () => State,
|
|
47
|
-
SubdivisionTypeOriginal: () => SubdivisionType,
|
|
48
|
-
TimeSlotForFulfillmentTimeSlotStatusOriginal: () => TimeSlotForFulfillmentTimeSlotStatus,
|
|
49
|
-
TimeSlotStatusOriginal: () => TimeSlotStatus,
|
|
50
|
-
TimeUnitOriginal: () => TimeUnit,
|
|
51
|
-
ViolationTypeOriginal: () => ViolationType,
|
|
52
|
-
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
53
|
-
bulkUpdateOperationTags: () => bulkUpdateOperationTags2,
|
|
54
|
-
bulkUpdateOperationTagsByFilter: () => bulkUpdateOperationTagsByFilter2,
|
|
55
|
-
calculateAvailableDatesInRange: () => calculateAvailableDatesInRange2,
|
|
56
|
-
calculateAvailableTimeSlotsForDate: () => calculateAvailableTimeSlotsForDate2,
|
|
57
|
-
calculateFirstAvailableTimeSlotPerFulfillmentType: () => calculateFirstAvailableTimeSlotPerFulfillmentType2,
|
|
58
|
-
calculateFirstAvailableTimeSlotsForItem: () => calculateFirstAvailableTimeSlotsForItem2,
|
|
59
|
-
calculateFirstAvailableTimeSlotsPerMenu: () => calculateFirstAvailableTimeSlotsPerMenu2,
|
|
60
|
-
calculateFirstAvailableTimeSlotsPerOperation: () => calculateFirstAvailableTimeSlotsPerOperation2,
|
|
61
|
-
deleteOperation: () => deleteOperation2,
|
|
62
|
-
getOperation: () => getOperation2,
|
|
63
|
-
listAvailableDatesInRange: () => listAvailableDatesInRange2,
|
|
64
|
-
listAvailableFulfillmentOptions: () => listAvailableFulfillmentOptions2,
|
|
65
|
-
listAvailableTimeSlotsForDate: () => listAvailableTimeSlotsForDate2,
|
|
66
|
-
listBlockedPeriods: () => listBlockedPeriods2,
|
|
67
|
-
listFirstAvailableTimeSlotForFulfillmentTypes: () => listFirstAvailableTimeSlotForFulfillmentTypes2,
|
|
68
|
-
listFirstAvailableTimeSlotsForMenus: () => listFirstAvailableTimeSlotsForMenus2,
|
|
69
|
-
listFirstAvailableTimeSlotsForOperations: () => listFirstAvailableTimeSlotsForOperations2,
|
|
70
|
-
listOperations: () => listOperations2,
|
|
71
|
-
queryOperation: () => queryOperation2,
|
|
72
|
-
updateOperation: () => updateOperation2,
|
|
73
|
-
validateOperationAddress: () => validateOperationAddress2
|
|
74
|
-
});
|
|
75
|
-
module.exports = __toCommonJS(meta_exports);
|
|
76
|
-
|
|
77
|
-
// src/restaurants-operations-v1-operation-operations.http.ts
|
|
78
|
-
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
79
|
-
var import_float = require("@wix/sdk-runtime/transformations/float");
|
|
80
|
-
var import_float2 = require("@wix/sdk-runtime/transformations/float");
|
|
81
|
-
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
82
|
-
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
83
|
-
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
84
|
-
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
85
|
-
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
86
|
-
function resolveWixRestaurantsOperationsV1OperationsServiceUrl(opts) {
|
|
87
|
-
const domainToMappings = {
|
|
88
|
-
"manage._base_domain_": [
|
|
89
|
-
{
|
|
90
|
-
srcPath: "/_api/restaurants-operations/v1",
|
|
91
|
-
destPath: "/v1"
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
"www._base_domain_": [
|
|
95
|
-
{
|
|
96
|
-
srcPath: "/_api/restaurants-operations/v1",
|
|
97
|
-
destPath: "/v1"
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"editor.wixapps.net": [
|
|
101
|
-
{
|
|
102
|
-
srcPath: "/_api/restaurants-operations/v1",
|
|
103
|
-
destPath: "/v1"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"*.dev.wix-code.com": [
|
|
107
|
-
{
|
|
108
|
-
srcPath: "/_api/restaurants-operations/v1",
|
|
109
|
-
destPath: "/v1"
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
"www.wixapis.com": [
|
|
113
|
-
{
|
|
114
|
-
srcPath: "/restaurants-operations/v1",
|
|
115
|
-
destPath: "/v1"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
srcPath: "/restaurants/operations/v1/operations",
|
|
119
|
-
destPath: "/v1/operations"
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
_: [
|
|
123
|
-
{
|
|
124
|
-
srcPath: "/_api/restaurants-operations/v1",
|
|
125
|
-
destPath: "/v1"
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
_base_domain_: [
|
|
129
|
-
{
|
|
130
|
-
srcPath: "/_api/restaurants-operations/v1",
|
|
131
|
-
destPath: "/v1"
|
|
132
|
-
}
|
|
133
|
-
],
|
|
134
|
-
"editor._base_domain_": [
|
|
135
|
-
{
|
|
136
|
-
srcPath: "/_api/restaurants-operations/v1",
|
|
137
|
-
destPath: "/v1"
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
"blocks._base_domain_": [
|
|
141
|
-
{
|
|
142
|
-
srcPath: "/_api/restaurants-operations/v1",
|
|
143
|
-
destPath: "/v1"
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"create.editorx": [
|
|
147
|
-
{
|
|
148
|
-
srcPath: "/_api/restaurants-operations/v1",
|
|
149
|
-
destPath: "/v1"
|
|
150
|
-
}
|
|
151
|
-
],
|
|
152
|
-
"users._base_domain_": [
|
|
153
|
-
{
|
|
154
|
-
srcPath: "/_api/restaurants-operations/v1",
|
|
155
|
-
destPath: "/v1"
|
|
156
|
-
}
|
|
157
|
-
],
|
|
158
|
-
"api._api_base_domain_": [
|
|
159
|
-
{
|
|
160
|
-
srcPath: "/restaurants-operations",
|
|
161
|
-
destPath: ""
|
|
162
|
-
}
|
|
163
|
-
],
|
|
164
|
-
"apps._base_domain_": [
|
|
165
|
-
{
|
|
166
|
-
srcPath: "/_api/restaurants-operations",
|
|
167
|
-
destPath: ""
|
|
168
|
-
}
|
|
169
|
-
]
|
|
170
|
-
};
|
|
171
|
-
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
172
|
-
}
|
|
173
|
-
function resolveWixRestaurantsOperationPacingV1OperationPacingServiceUrl(opts) {
|
|
174
|
-
const domainToMappings = {
|
|
175
|
-
_: [
|
|
176
|
-
{
|
|
177
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
178
|
-
destPath: ""
|
|
179
|
-
}
|
|
180
|
-
],
|
|
181
|
-
"manage._base_domain_": [
|
|
182
|
-
{
|
|
183
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
184
|
-
destPath: ""
|
|
185
|
-
}
|
|
186
|
-
],
|
|
187
|
-
"editor._base_domain_": [
|
|
188
|
-
{
|
|
189
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
190
|
-
destPath: ""
|
|
191
|
-
}
|
|
192
|
-
],
|
|
193
|
-
"blocks._base_domain_": [
|
|
194
|
-
{
|
|
195
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
196
|
-
destPath: ""
|
|
197
|
-
}
|
|
198
|
-
],
|
|
199
|
-
"create.editorx": [
|
|
200
|
-
{
|
|
201
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
202
|
-
destPath: ""
|
|
203
|
-
}
|
|
204
|
-
],
|
|
205
|
-
"www.wixapis.com": [
|
|
206
|
-
{
|
|
207
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
208
|
-
destPath: ""
|
|
209
|
-
}
|
|
210
|
-
],
|
|
211
|
-
"*.dev.wix-code.com": [
|
|
212
|
-
{
|
|
213
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
214
|
-
destPath: ""
|
|
215
|
-
}
|
|
216
|
-
]
|
|
217
|
-
};
|
|
218
|
-
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
219
|
-
}
|
|
220
|
-
var PACKAGE_NAME = "@wix/auto_sdk_restaurants_operations";
|
|
221
|
-
function listBlockedPeriods(payload) {
|
|
222
|
-
function __listBlockedPeriods({ host }) {
|
|
223
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
224
|
-
{
|
|
225
|
-
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
226
|
-
paths: [{ path: "from" }, { path: "until" }]
|
|
227
|
-
}
|
|
228
|
-
]);
|
|
229
|
-
const metadata = {
|
|
230
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
231
|
-
method: "GET",
|
|
232
|
-
methodFqn: "wix.restaurants.operation.pacing.v1.OperationPacingService.ListBlockedPeriods",
|
|
233
|
-
packageName: PACKAGE_NAME,
|
|
234
|
-
migrationOptions: {
|
|
235
|
-
optInTransformResponse: true
|
|
236
|
-
},
|
|
237
|
-
url: resolveWixRestaurantsOperationPacingV1OperationPacingServiceUrl({
|
|
238
|
-
protoPath: "/v1/operation-pacing/blocked-periods",
|
|
239
|
-
data: serializedData,
|
|
240
|
-
host
|
|
241
|
-
}),
|
|
242
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData),
|
|
243
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
244
|
-
{
|
|
245
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
246
|
-
paths: [
|
|
247
|
-
{ path: "blockPeriods.from" },
|
|
248
|
-
{ path: "blockPeriods.until" }
|
|
249
|
-
]
|
|
250
|
-
}
|
|
251
|
-
])
|
|
252
|
-
};
|
|
253
|
-
return metadata;
|
|
254
|
-
}
|
|
255
|
-
return __listBlockedPeriods;
|
|
256
|
-
}
|
|
257
|
-
function getOperation(payload) {
|
|
258
|
-
function __getOperation({ host }) {
|
|
259
|
-
const metadata = {
|
|
260
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
261
|
-
method: "GET",
|
|
262
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.GetOperation",
|
|
263
|
-
packageName: PACKAGE_NAME,
|
|
264
|
-
migrationOptions: {
|
|
265
|
-
optInTransformResponse: true
|
|
266
|
-
},
|
|
267
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
268
|
-
protoPath: "/v1/operations/{operationId}",
|
|
269
|
-
data: payload,
|
|
270
|
-
host
|
|
271
|
-
}),
|
|
272
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
273
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
274
|
-
{
|
|
275
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
276
|
-
paths: [
|
|
277
|
-
{ path: "operation.createdDate" },
|
|
278
|
-
{ path: "operation.updatedDate" },
|
|
279
|
-
{ path: "operation.pausedUntilOptions.time" }
|
|
280
|
-
]
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
284
|
-
paths: [
|
|
285
|
-
{
|
|
286
|
-
path: "operation.businessLocationDetails.address.geocode.latitude"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
path: "operation.businessLocationDetails.address.geocode.longitude"
|
|
290
|
-
}
|
|
291
|
-
]
|
|
292
|
-
}
|
|
293
|
-
])
|
|
294
|
-
};
|
|
295
|
-
return metadata;
|
|
296
|
-
}
|
|
297
|
-
return __getOperation;
|
|
298
|
-
}
|
|
299
|
-
function updateOperation(payload) {
|
|
300
|
-
function __updateOperation({ host }) {
|
|
301
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
302
|
-
{
|
|
303
|
-
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
304
|
-
paths: [{ path: "mask" }]
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
308
|
-
paths: [
|
|
309
|
-
{ path: "operation.createdDate" },
|
|
310
|
-
{ path: "operation.updatedDate" },
|
|
311
|
-
{ path: "operation.pausedUntilOptions.time" }
|
|
312
|
-
]
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
316
|
-
paths: [
|
|
317
|
-
{
|
|
318
|
-
path: "operation.businessLocationDetails.address.geocode.latitude"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
path: "operation.businessLocationDetails.address.geocode.longitude"
|
|
322
|
-
}
|
|
323
|
-
]
|
|
324
|
-
}
|
|
325
|
-
]);
|
|
326
|
-
const metadata = {
|
|
327
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
328
|
-
method: "PATCH",
|
|
329
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.UpdateOperation",
|
|
330
|
-
packageName: PACKAGE_NAME,
|
|
331
|
-
migrationOptions: {
|
|
332
|
-
optInTransformResponse: true
|
|
333
|
-
},
|
|
334
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
335
|
-
protoPath: "/v1/operations/{operation.id}",
|
|
336
|
-
data: serializedData,
|
|
337
|
-
host
|
|
338
|
-
}),
|
|
339
|
-
data: serializedData,
|
|
340
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
341
|
-
{
|
|
342
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
343
|
-
paths: [
|
|
344
|
-
{ path: "operation.createdDate" },
|
|
345
|
-
{ path: "operation.updatedDate" },
|
|
346
|
-
{ path: "operation.pausedUntilOptions.time" }
|
|
347
|
-
]
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
351
|
-
paths: [
|
|
352
|
-
{
|
|
353
|
-
path: "operation.businessLocationDetails.address.geocode.latitude"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
path: "operation.businessLocationDetails.address.geocode.longitude"
|
|
357
|
-
}
|
|
358
|
-
]
|
|
359
|
-
}
|
|
360
|
-
])
|
|
361
|
-
};
|
|
362
|
-
return metadata;
|
|
363
|
-
}
|
|
364
|
-
return __updateOperation;
|
|
365
|
-
}
|
|
366
|
-
function deleteOperation(payload) {
|
|
367
|
-
function __deleteOperation({ host }) {
|
|
368
|
-
const metadata = {
|
|
369
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
370
|
-
method: "DELETE",
|
|
371
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.DeleteOperation",
|
|
372
|
-
packageName: PACKAGE_NAME,
|
|
373
|
-
migrationOptions: {
|
|
374
|
-
optInTransformResponse: true
|
|
375
|
-
},
|
|
376
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
377
|
-
protoPath: "/v1/operations/{operationId}",
|
|
378
|
-
data: payload,
|
|
379
|
-
host
|
|
380
|
-
}),
|
|
381
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
382
|
-
};
|
|
383
|
-
return metadata;
|
|
384
|
-
}
|
|
385
|
-
return __deleteOperation;
|
|
386
|
-
}
|
|
387
|
-
function queryOperation(payload) {
|
|
388
|
-
function __queryOperation({ host }) {
|
|
389
|
-
const metadata = {
|
|
390
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
391
|
-
method: "POST",
|
|
392
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.QueryOperation",
|
|
393
|
-
packageName: PACKAGE_NAME,
|
|
394
|
-
migrationOptions: {
|
|
395
|
-
optInTransformResponse: true
|
|
396
|
-
},
|
|
397
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
398
|
-
protoPath: "/v1/operations/query",
|
|
399
|
-
data: payload,
|
|
400
|
-
host
|
|
401
|
-
}),
|
|
402
|
-
data: payload,
|
|
403
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
404
|
-
{
|
|
405
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
406
|
-
paths: [
|
|
407
|
-
{ path: "operations.createdDate" },
|
|
408
|
-
{ path: "operations.updatedDate" },
|
|
409
|
-
{ path: "operations.pausedUntilOptions.time" }
|
|
410
|
-
]
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
414
|
-
paths: [
|
|
415
|
-
{
|
|
416
|
-
path: "operations.businessLocationDetails.address.geocode.latitude"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
path: "operations.businessLocationDetails.address.geocode.longitude"
|
|
420
|
-
}
|
|
421
|
-
]
|
|
422
|
-
}
|
|
423
|
-
])
|
|
424
|
-
};
|
|
425
|
-
return metadata;
|
|
426
|
-
}
|
|
427
|
-
return __queryOperation;
|
|
428
|
-
}
|
|
429
|
-
function listOperations(payload) {
|
|
430
|
-
function __listOperations({ host }) {
|
|
431
|
-
const metadata = {
|
|
432
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
433
|
-
method: "GET",
|
|
434
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.ListOperations",
|
|
435
|
-
packageName: PACKAGE_NAME,
|
|
436
|
-
migrationOptions: {
|
|
437
|
-
optInTransformResponse: true
|
|
438
|
-
},
|
|
439
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
440
|
-
protoPath: "/v1/operations",
|
|
441
|
-
data: payload,
|
|
442
|
-
host
|
|
443
|
-
}),
|
|
444
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
445
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
446
|
-
{
|
|
447
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
448
|
-
paths: [
|
|
449
|
-
{ path: "operations.createdDate" },
|
|
450
|
-
{ path: "operations.updatedDate" },
|
|
451
|
-
{ path: "operations.pausedUntilOptions.time" }
|
|
452
|
-
]
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
456
|
-
paths: [
|
|
457
|
-
{
|
|
458
|
-
path: "operations.businessLocationDetails.address.geocode.latitude"
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
path: "operations.businessLocationDetails.address.geocode.longitude"
|
|
462
|
-
}
|
|
463
|
-
]
|
|
464
|
-
}
|
|
465
|
-
])
|
|
466
|
-
};
|
|
467
|
-
return metadata;
|
|
468
|
-
}
|
|
469
|
-
return __listOperations;
|
|
470
|
-
}
|
|
471
|
-
function listAvailableFulfillmentOptions(payload) {
|
|
472
|
-
function __listAvailableFulfillmentOptions({ host }) {
|
|
473
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
474
|
-
{
|
|
475
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
476
|
-
paths: [
|
|
477
|
-
{ path: "deliveryAddress.geocode.latitude" },
|
|
478
|
-
{ path: "deliveryAddress.geocode.longitude" }
|
|
479
|
-
]
|
|
480
|
-
}
|
|
481
|
-
]);
|
|
482
|
-
const metadata = {
|
|
483
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
484
|
-
method: "GET",
|
|
485
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.ListAvailableFulfillmentOptions",
|
|
486
|
-
packageName: PACKAGE_NAME,
|
|
487
|
-
migrationOptions: {
|
|
488
|
-
optInTransformResponse: true
|
|
489
|
-
},
|
|
490
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
491
|
-
protoPath: "/v1/operations/{operationId}/available-fulfillment-options",
|
|
492
|
-
data: serializedData,
|
|
493
|
-
host
|
|
494
|
-
}),
|
|
495
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData),
|
|
496
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
497
|
-
{
|
|
498
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
499
|
-
paths: [
|
|
500
|
-
{
|
|
501
|
-
path: "fulfillmentOptions.pickupOptions.address.geocode.latitude"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
path: "fulfillmentOptions.pickupOptions.address.geocode.longitude"
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
path: "fulfillmentOptions.dineInOptions.address.geocode.latitude"
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
path: "fulfillmentOptions.dineInOptions.address.geocode.longitude"
|
|
511
|
-
}
|
|
512
|
-
]
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
516
|
-
paths: [
|
|
517
|
-
{ path: "fulfillmentOptions.availability.startTime" },
|
|
518
|
-
{ path: "fulfillmentOptions.availability.endTime" },
|
|
519
|
-
{ path: "fulfillmentOptions.availability.exceptions.startTime" },
|
|
520
|
-
{ path: "fulfillmentOptions.availability.exceptions.endTime" }
|
|
521
|
-
]
|
|
522
|
-
}
|
|
523
|
-
])
|
|
524
|
-
};
|
|
525
|
-
return metadata;
|
|
526
|
-
}
|
|
527
|
-
return __listAvailableFulfillmentOptions;
|
|
528
|
-
}
|
|
529
|
-
function listFirstAvailableTimeSlotForFulfillmentTypes(payload) {
|
|
530
|
-
function __listFirstAvailableTimeSlotForFulfillmentTypes({ host }) {
|
|
531
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
532
|
-
{
|
|
533
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
534
|
-
paths: [
|
|
535
|
-
{ path: "deliveryAddress.geocode.latitude" },
|
|
536
|
-
{ path: "deliveryAddress.geocode.longitude" }
|
|
537
|
-
]
|
|
538
|
-
}
|
|
539
|
-
]);
|
|
540
|
-
const metadata = {
|
|
541
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
542
|
-
method: "GET",
|
|
543
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.ListFirstAvailableTimeSlotForFulfillmentTypes",
|
|
544
|
-
packageName: PACKAGE_NAME,
|
|
545
|
-
migrationOptions: {
|
|
546
|
-
optInTransformResponse: true
|
|
547
|
-
},
|
|
548
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
549
|
-
protoPath: "/v1/operations/{operationId}/first-available-time-slot-for-fulfillment-types",
|
|
550
|
-
data: serializedData,
|
|
551
|
-
host
|
|
552
|
-
}),
|
|
553
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData),
|
|
554
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
555
|
-
{
|
|
556
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
557
|
-
paths: [
|
|
558
|
-
{ path: "timeSlots.startTime" },
|
|
559
|
-
{ path: "timeSlots.endTime" }
|
|
560
|
-
]
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
564
|
-
paths: [
|
|
565
|
-
{ path: "timeSlots.fulfillmentAddress.address.geocode.latitude" },
|
|
566
|
-
{
|
|
567
|
-
path: "timeSlots.fulfillmentAddress.address.geocode.longitude"
|
|
568
|
-
}
|
|
569
|
-
]
|
|
570
|
-
}
|
|
571
|
-
])
|
|
572
|
-
};
|
|
573
|
-
return metadata;
|
|
574
|
-
}
|
|
575
|
-
return __listFirstAvailableTimeSlotForFulfillmentTypes;
|
|
576
|
-
}
|
|
577
|
-
function calculateFirstAvailableTimeSlotPerFulfillmentType(payload) {
|
|
578
|
-
function __calculateFirstAvailableTimeSlotPerFulfillmentType({ host }) {
|
|
579
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
580
|
-
{
|
|
581
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
582
|
-
paths: [
|
|
583
|
-
{ path: "deliveryAddress.geocode.latitude" },
|
|
584
|
-
{ path: "deliveryAddress.geocode.longitude" }
|
|
585
|
-
]
|
|
586
|
-
}
|
|
587
|
-
]);
|
|
588
|
-
const metadata = {
|
|
589
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
590
|
-
method: "GET",
|
|
591
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotPerFulfillmentType",
|
|
592
|
-
packageName: PACKAGE_NAME,
|
|
593
|
-
migrationOptions: {
|
|
594
|
-
optInTransformResponse: true
|
|
595
|
-
},
|
|
596
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
597
|
-
protoPath: "/v1/operations/{operationId}/first-available-time-slot-per-fulfillment-type",
|
|
598
|
-
data: serializedData,
|
|
599
|
-
host
|
|
600
|
-
}),
|
|
601
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData),
|
|
602
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
603
|
-
{
|
|
604
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
605
|
-
paths: [
|
|
606
|
-
{ path: "timeslotsPerFulfillmentType.timeSlot.startTime" },
|
|
607
|
-
{ path: "timeslotsPerFulfillmentType.timeSlot.endTime" }
|
|
608
|
-
]
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
612
|
-
paths: [
|
|
613
|
-
{
|
|
614
|
-
path: "timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.latitude"
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
path: "timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.longitude"
|
|
618
|
-
}
|
|
619
|
-
]
|
|
620
|
-
}
|
|
621
|
-
])
|
|
622
|
-
};
|
|
623
|
-
return metadata;
|
|
624
|
-
}
|
|
625
|
-
return __calculateFirstAvailableTimeSlotPerFulfillmentType;
|
|
626
|
-
}
|
|
627
|
-
function listFirstAvailableTimeSlotsForOperations(payload) {
|
|
628
|
-
function __listFirstAvailableTimeSlotsForOperations({ host }) {
|
|
629
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
630
|
-
{
|
|
631
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
632
|
-
paths: [
|
|
633
|
-
{ path: "deliveryAddress.geocode.latitude" },
|
|
634
|
-
{ path: "deliveryAddress.geocode.longitude" }
|
|
635
|
-
]
|
|
636
|
-
}
|
|
637
|
-
]);
|
|
638
|
-
const metadata = {
|
|
639
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
640
|
-
method: "POST",
|
|
641
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.ListFirstAvailableTimeSlotsForOperations",
|
|
642
|
-
packageName: PACKAGE_NAME,
|
|
643
|
-
migrationOptions: {
|
|
644
|
-
optInTransformResponse: true
|
|
645
|
-
},
|
|
646
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
647
|
-
protoPath: "/v1/operations/first-available-time-slots-for-operations",
|
|
648
|
-
data: serializedData,
|
|
649
|
-
host
|
|
650
|
-
}),
|
|
651
|
-
data: serializedData,
|
|
652
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
653
|
-
{
|
|
654
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
655
|
-
paths: [
|
|
656
|
-
{ path: "timeSlots.timeSlots.startTime" },
|
|
657
|
-
{ path: "timeSlots.timeSlots.endTime" }
|
|
658
|
-
]
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
662
|
-
paths: [
|
|
663
|
-
{
|
|
664
|
-
path: "timeSlots.timeSlots.fulfillmentAddress.address.geocode.latitude"
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
path: "timeSlots.timeSlots.fulfillmentAddress.address.geocode.longitude"
|
|
668
|
-
}
|
|
669
|
-
]
|
|
670
|
-
}
|
|
671
|
-
])
|
|
672
|
-
};
|
|
673
|
-
return metadata;
|
|
674
|
-
}
|
|
675
|
-
return __listFirstAvailableTimeSlotsForOperations;
|
|
676
|
-
}
|
|
677
|
-
function calculateFirstAvailableTimeSlotsPerOperation(payload) {
|
|
678
|
-
function __calculateFirstAvailableTimeSlotsPerOperation({ host }) {
|
|
679
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
680
|
-
{
|
|
681
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
682
|
-
paths: [
|
|
683
|
-
{ path: "deliveryAddress.geocode.latitude" },
|
|
684
|
-
{ path: "deliveryAddress.geocode.longitude" }
|
|
685
|
-
]
|
|
686
|
-
}
|
|
687
|
-
]);
|
|
688
|
-
const metadata = {
|
|
689
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
690
|
-
method: "POST",
|
|
691
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsPerOperation",
|
|
692
|
-
packageName: PACKAGE_NAME,
|
|
693
|
-
migrationOptions: {
|
|
694
|
-
optInTransformResponse: true
|
|
695
|
-
},
|
|
696
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
697
|
-
protoPath: "/v1/operations/first-available-time-slots-per-operations",
|
|
698
|
-
data: serializedData,
|
|
699
|
-
host
|
|
700
|
-
}),
|
|
701
|
-
data: serializedData,
|
|
702
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
703
|
-
{
|
|
704
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
705
|
-
paths: [
|
|
706
|
-
{
|
|
707
|
-
path: "timeSlotsPerOperation.timeslotsPerFulfillmentType.timeSlot.startTime"
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
path: "timeSlotsPerOperation.timeslotsPerFulfillmentType.timeSlot.endTime"
|
|
711
|
-
}
|
|
712
|
-
]
|
|
713
|
-
},
|
|
714
|
-
{
|
|
715
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
716
|
-
paths: [
|
|
717
|
-
{
|
|
718
|
-
path: "timeSlotsPerOperation.timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.latitude"
|
|
719
|
-
},
|
|
720
|
-
{
|
|
721
|
-
path: "timeSlotsPerOperation.timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.longitude"
|
|
722
|
-
}
|
|
723
|
-
]
|
|
724
|
-
}
|
|
725
|
-
])
|
|
726
|
-
};
|
|
727
|
-
return metadata;
|
|
728
|
-
}
|
|
729
|
-
return __calculateFirstAvailableTimeSlotsPerOperation;
|
|
730
|
-
}
|
|
731
|
-
function listFirstAvailableTimeSlotsForMenus(payload) {
|
|
732
|
-
function __listFirstAvailableTimeSlotsForMenus({ host }) {
|
|
733
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
734
|
-
{
|
|
735
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
736
|
-
paths: [
|
|
737
|
-
{ path: "deliveryAddress.geocode.latitude" },
|
|
738
|
-
{ path: "deliveryAddress.geocode.longitude" }
|
|
739
|
-
]
|
|
740
|
-
}
|
|
741
|
-
]);
|
|
742
|
-
const metadata = {
|
|
743
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
744
|
-
method: "GET",
|
|
745
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.ListFirstAvailableTimeSlotsForMenus",
|
|
746
|
-
packageName: PACKAGE_NAME,
|
|
747
|
-
migrationOptions: {
|
|
748
|
-
optInTransformResponse: true
|
|
749
|
-
},
|
|
750
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
751
|
-
protoPath: "/v1/operations/{operationId}/first-available-time-slots-for-menus",
|
|
752
|
-
data: serializedData,
|
|
753
|
-
host
|
|
754
|
-
}),
|
|
755
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData),
|
|
756
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
757
|
-
{
|
|
758
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
759
|
-
paths: [
|
|
760
|
-
{
|
|
761
|
-
path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.startTime"
|
|
762
|
-
},
|
|
763
|
-
{ path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.endTime" }
|
|
764
|
-
]
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
768
|
-
paths: [
|
|
769
|
-
{
|
|
770
|
-
path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.fulfillmentAddress.address.geocode.latitude"
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.fulfillmentAddress.address.geocode.longitude"
|
|
774
|
-
}
|
|
775
|
-
]
|
|
776
|
-
}
|
|
777
|
-
])
|
|
778
|
-
};
|
|
779
|
-
return metadata;
|
|
780
|
-
}
|
|
781
|
-
return __listFirstAvailableTimeSlotsForMenus;
|
|
782
|
-
}
|
|
783
|
-
function calculateFirstAvailableTimeSlotsPerMenu(payload) {
|
|
784
|
-
function __calculateFirstAvailableTimeSlotsPerMenu({ host }) {
|
|
785
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
786
|
-
{
|
|
787
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
788
|
-
paths: [
|
|
789
|
-
{ path: "deliveryAddress.geocode.latitude" },
|
|
790
|
-
{ path: "deliveryAddress.geocode.longitude" }
|
|
791
|
-
]
|
|
792
|
-
}
|
|
793
|
-
]);
|
|
794
|
-
const metadata = {
|
|
795
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
796
|
-
method: "GET",
|
|
797
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsPerMenu",
|
|
798
|
-
packageName: PACKAGE_NAME,
|
|
799
|
-
migrationOptions: {
|
|
800
|
-
optInTransformResponse: true
|
|
801
|
-
},
|
|
802
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
803
|
-
protoPath: "/v1/operations/{operationId}/first-available-time-slots-per-menus",
|
|
804
|
-
data: serializedData,
|
|
805
|
-
host
|
|
806
|
-
}),
|
|
807
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData),
|
|
808
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
809
|
-
{
|
|
810
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
811
|
-
paths: [
|
|
812
|
-
{
|
|
813
|
-
path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.timeSlot.startTime"
|
|
814
|
-
},
|
|
815
|
-
{
|
|
816
|
-
path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.timeSlot.endTime"
|
|
817
|
-
}
|
|
818
|
-
]
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
822
|
-
paths: [
|
|
823
|
-
{
|
|
824
|
-
path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.latitude"
|
|
825
|
-
},
|
|
826
|
-
{
|
|
827
|
-
path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.longitude"
|
|
828
|
-
}
|
|
829
|
-
]
|
|
830
|
-
}
|
|
831
|
-
])
|
|
832
|
-
};
|
|
833
|
-
return metadata;
|
|
834
|
-
}
|
|
835
|
-
return __calculateFirstAvailableTimeSlotsPerMenu;
|
|
836
|
-
}
|
|
837
|
-
function calculateFirstAvailableTimeSlotsForItem(payload) {
|
|
838
|
-
function __calculateFirstAvailableTimeSlotsForItem({ host }) {
|
|
839
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
840
|
-
{
|
|
841
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
842
|
-
paths: [
|
|
843
|
-
{ path: "deliveryAddress.geocode.latitude" },
|
|
844
|
-
{ path: "deliveryAddress.geocode.longitude" }
|
|
845
|
-
]
|
|
846
|
-
}
|
|
847
|
-
]);
|
|
848
|
-
const metadata = {
|
|
849
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
850
|
-
method: "GET",
|
|
851
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsForItem",
|
|
852
|
-
packageName: PACKAGE_NAME,
|
|
853
|
-
migrationOptions: {
|
|
854
|
-
optInTransformResponse: true
|
|
855
|
-
},
|
|
856
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
857
|
-
protoPath: "/v1/operations/{operationId}/first-available-time-slots-per-item",
|
|
858
|
-
data: serializedData,
|
|
859
|
-
host
|
|
860
|
-
}),
|
|
861
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData),
|
|
862
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
863
|
-
{
|
|
864
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
865
|
-
paths: [
|
|
866
|
-
{ path: "timeslotsPerFulfillmentType.timeSlot.startTime" },
|
|
867
|
-
{ path: "timeslotsPerFulfillmentType.timeSlot.endTime" }
|
|
868
|
-
]
|
|
869
|
-
},
|
|
870
|
-
{
|
|
871
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
872
|
-
paths: [
|
|
873
|
-
{
|
|
874
|
-
path: "timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.latitude"
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
path: "timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.longitude"
|
|
878
|
-
}
|
|
879
|
-
]
|
|
880
|
-
}
|
|
881
|
-
])
|
|
882
|
-
};
|
|
883
|
-
return metadata;
|
|
884
|
-
}
|
|
885
|
-
return __calculateFirstAvailableTimeSlotsForItem;
|
|
886
|
-
}
|
|
887
|
-
function listAvailableTimeSlotsForDate(payload) {
|
|
888
|
-
function __listAvailableTimeSlotsForDate({ host }) {
|
|
889
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
890
|
-
{
|
|
891
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
892
|
-
paths: [
|
|
893
|
-
{ path: "deliveryAddress.geocode.latitude" },
|
|
894
|
-
{ path: "deliveryAddress.geocode.longitude" }
|
|
895
|
-
]
|
|
896
|
-
}
|
|
897
|
-
]);
|
|
898
|
-
const metadata = {
|
|
899
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
900
|
-
method: "GET",
|
|
901
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.ListAvailableTimeSlotsForDate",
|
|
902
|
-
packageName: PACKAGE_NAME,
|
|
903
|
-
migrationOptions: {
|
|
904
|
-
optInTransformResponse: true
|
|
905
|
-
},
|
|
906
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
907
|
-
protoPath: "/v1/operations/{operationId}/available-time-slots-for-date",
|
|
908
|
-
data: serializedData,
|
|
909
|
-
host
|
|
910
|
-
}),
|
|
911
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData),
|
|
912
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
913
|
-
{
|
|
914
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
915
|
-
paths: [
|
|
916
|
-
{ path: "timeSlots.startTime" },
|
|
917
|
-
{ path: "timeSlots.endTime" }
|
|
918
|
-
]
|
|
919
|
-
},
|
|
920
|
-
{
|
|
921
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
922
|
-
paths: [
|
|
923
|
-
{ path: "timeSlots.fulfillmentAddress.address.geocode.latitude" },
|
|
924
|
-
{
|
|
925
|
-
path: "timeSlots.fulfillmentAddress.address.geocode.longitude"
|
|
926
|
-
}
|
|
927
|
-
]
|
|
928
|
-
}
|
|
929
|
-
])
|
|
930
|
-
};
|
|
931
|
-
return metadata;
|
|
932
|
-
}
|
|
933
|
-
return __listAvailableTimeSlotsForDate;
|
|
934
|
-
}
|
|
935
|
-
function calculateAvailableTimeSlotsForDate(payload) {
|
|
936
|
-
function __calculateAvailableTimeSlotsForDate({ host }) {
|
|
937
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
938
|
-
{
|
|
939
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
940
|
-
paths: [
|
|
941
|
-
{ path: "deliveryAddress.geocode.latitude" },
|
|
942
|
-
{ path: "deliveryAddress.geocode.longitude" }
|
|
943
|
-
]
|
|
944
|
-
}
|
|
945
|
-
]);
|
|
946
|
-
const metadata = {
|
|
947
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
948
|
-
method: "GET",
|
|
949
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.CalculateAvailableTimeSlotsForDate",
|
|
950
|
-
packageName: PACKAGE_NAME,
|
|
951
|
-
migrationOptions: {
|
|
952
|
-
optInTransformResponse: true
|
|
953
|
-
},
|
|
954
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
955
|
-
protoPath: "/v1/operations/{operationId}/available-time-slots-per-date",
|
|
956
|
-
data: serializedData,
|
|
957
|
-
host
|
|
958
|
-
}),
|
|
959
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData),
|
|
960
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
961
|
-
{
|
|
962
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
963
|
-
paths: [
|
|
964
|
-
{ path: "timeslotsPerFulfillmentType.timeSlot.startTime" },
|
|
965
|
-
{ path: "timeslotsPerFulfillmentType.timeSlot.endTime" }
|
|
966
|
-
]
|
|
967
|
-
},
|
|
968
|
-
{
|
|
969
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
970
|
-
paths: [
|
|
971
|
-
{
|
|
972
|
-
path: "timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.latitude"
|
|
973
|
-
},
|
|
974
|
-
{
|
|
975
|
-
path: "timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.longitude"
|
|
976
|
-
}
|
|
977
|
-
]
|
|
978
|
-
}
|
|
979
|
-
])
|
|
980
|
-
};
|
|
981
|
-
return metadata;
|
|
982
|
-
}
|
|
983
|
-
return __calculateAvailableTimeSlotsForDate;
|
|
984
|
-
}
|
|
985
|
-
function listAvailableDatesInRange(payload) {
|
|
986
|
-
function __listAvailableDatesInRange({ host }) {
|
|
987
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
988
|
-
{
|
|
989
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
990
|
-
paths: [
|
|
991
|
-
{ path: "deliveryAddress.geocode.latitude" },
|
|
992
|
-
{ path: "deliveryAddress.geocode.longitude" }
|
|
993
|
-
]
|
|
994
|
-
}
|
|
995
|
-
]);
|
|
996
|
-
const metadata = {
|
|
997
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
998
|
-
method: "GET",
|
|
999
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.ListAvailableDatesInRange",
|
|
1000
|
-
packageName: PACKAGE_NAME,
|
|
1001
|
-
migrationOptions: {
|
|
1002
|
-
optInTransformResponse: true
|
|
1003
|
-
},
|
|
1004
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
1005
|
-
protoPath: "/v1/operations/{operationId}/available-dates-in-range",
|
|
1006
|
-
data: serializedData,
|
|
1007
|
-
host
|
|
1008
|
-
}),
|
|
1009
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData)
|
|
1010
|
-
};
|
|
1011
|
-
return metadata;
|
|
1012
|
-
}
|
|
1013
|
-
return __listAvailableDatesInRange;
|
|
1014
|
-
}
|
|
1015
|
-
function calculateAvailableDatesInRange(payload) {
|
|
1016
|
-
function __calculateAvailableDatesInRange({ host }) {
|
|
1017
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
1018
|
-
{
|
|
1019
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
1020
|
-
paths: [
|
|
1021
|
-
{ path: "deliveryAddress.geocode.latitude" },
|
|
1022
|
-
{ path: "deliveryAddress.geocode.longitude" }
|
|
1023
|
-
]
|
|
1024
|
-
}
|
|
1025
|
-
]);
|
|
1026
|
-
const metadata = {
|
|
1027
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
1028
|
-
method: "GET",
|
|
1029
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.CalculateAvailableDatesInRange",
|
|
1030
|
-
packageName: PACKAGE_NAME,
|
|
1031
|
-
migrationOptions: {
|
|
1032
|
-
optInTransformResponse: true
|
|
1033
|
-
},
|
|
1034
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
1035
|
-
protoPath: "/v1/operations/{operationId}/available-dates",
|
|
1036
|
-
data: serializedData,
|
|
1037
|
-
host
|
|
1038
|
-
}),
|
|
1039
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData)
|
|
1040
|
-
};
|
|
1041
|
-
return metadata;
|
|
1042
|
-
}
|
|
1043
|
-
return __calculateAvailableDatesInRange;
|
|
1044
|
-
}
|
|
1045
|
-
function validateOperationAddress(payload) {
|
|
1046
|
-
function __validateOperationAddress({ host }) {
|
|
1047
|
-
const metadata = {
|
|
1048
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
1049
|
-
method: "GET",
|
|
1050
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.ValidateOperationAddress",
|
|
1051
|
-
packageName: PACKAGE_NAME,
|
|
1052
|
-
migrationOptions: {
|
|
1053
|
-
optInTransformResponse: true
|
|
1054
|
-
},
|
|
1055
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
1056
|
-
protoPath: "/v1/operations/{operationId}/validate-address",
|
|
1057
|
-
data: payload,
|
|
1058
|
-
host
|
|
1059
|
-
}),
|
|
1060
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
1061
|
-
};
|
|
1062
|
-
return metadata;
|
|
1063
|
-
}
|
|
1064
|
-
return __validateOperationAddress;
|
|
1065
|
-
}
|
|
1066
|
-
function bulkUpdateOperationTags(payload) {
|
|
1067
|
-
function __bulkUpdateOperationTags({ host }) {
|
|
1068
|
-
const metadata = {
|
|
1069
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
1070
|
-
method: "POST",
|
|
1071
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.BulkUpdateOperationTags",
|
|
1072
|
-
packageName: PACKAGE_NAME,
|
|
1073
|
-
migrationOptions: {
|
|
1074
|
-
optInTransformResponse: true
|
|
1075
|
-
},
|
|
1076
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
1077
|
-
protoPath: "/v1/bulk/operations/update-tags",
|
|
1078
|
-
data: payload,
|
|
1079
|
-
host
|
|
1080
|
-
}),
|
|
1081
|
-
data: payload
|
|
1082
|
-
};
|
|
1083
|
-
return metadata;
|
|
1084
|
-
}
|
|
1085
|
-
return __bulkUpdateOperationTags;
|
|
1086
|
-
}
|
|
1087
|
-
function bulkUpdateOperationTagsByFilter(payload) {
|
|
1088
|
-
function __bulkUpdateOperationTagsByFilter({ host }) {
|
|
1089
|
-
const metadata = {
|
|
1090
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
1091
|
-
method: "POST",
|
|
1092
|
-
methodFqn: "wix.restaurants.operations.v1.OperationsService.BulkUpdateOperationTagsByFilter",
|
|
1093
|
-
packageName: PACKAGE_NAME,
|
|
1094
|
-
migrationOptions: {
|
|
1095
|
-
optInTransformResponse: true
|
|
1096
|
-
},
|
|
1097
|
-
url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
|
|
1098
|
-
protoPath: "/v1/bulk/operations/update-tags-by-filter",
|
|
1099
|
-
data: payload,
|
|
1100
|
-
host
|
|
1101
|
-
}),
|
|
1102
|
-
data: payload
|
|
1103
|
-
};
|
|
1104
|
-
return metadata;
|
|
1105
|
-
}
|
|
1106
|
-
return __bulkUpdateOperationTagsByFilter;
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
// src/restaurants-operations-v1-operation-operations.types.ts
|
|
1110
|
-
var SchedulingType = /* @__PURE__ */ ((SchedulingType2) => {
|
|
1111
|
-
SchedulingType2["ASAP"] = "ASAP";
|
|
1112
|
-
SchedulingType2["PREORDER"] = "PREORDER";
|
|
1113
|
-
return SchedulingType2;
|
|
1114
|
-
})(SchedulingType || {});
|
|
1115
|
-
var PreparationTimeType = /* @__PURE__ */ ((PreparationTimeType2) => {
|
|
1116
|
-
PreparationTimeType2["MAX"] = "MAX";
|
|
1117
|
-
PreparationTimeType2["RANGE"] = "RANGE";
|
|
1118
|
-
return PreparationTimeType2;
|
|
1119
|
-
})(PreparationTimeType || {});
|
|
1120
|
-
var TimeUnit = /* @__PURE__ */ ((TimeUnit2) => {
|
|
1121
|
-
TimeUnit2["MINUTES"] = "MINUTES";
|
|
1122
|
-
TimeUnit2["HOURS"] = "HOURS";
|
|
1123
|
-
TimeUnit2["DAYS"] = "DAYS";
|
|
1124
|
-
return TimeUnit2;
|
|
1125
|
-
})(TimeUnit || {});
|
|
1126
|
-
var AsapPreorderType = /* @__PURE__ */ ((AsapPreorderType2) => {
|
|
1127
|
-
AsapPreorderType2["NO_PREORDER"] = "NO_PREORDER";
|
|
1128
|
-
AsapPreorderType2["BUSINESS_DAYS_PREORDER"] = "BUSINESS_DAYS_PREORDER";
|
|
1129
|
-
return AsapPreorderType2;
|
|
1130
|
-
})(AsapPreorderType || {});
|
|
1131
|
-
var AsapPacingWindowType = /* @__PURE__ */ ((AsapPacingWindowType2) => {
|
|
1132
|
-
AsapPacingWindowType2["FIXED_15_MINUTE"] = "FIXED_15_MINUTE";
|
|
1133
|
-
return AsapPacingWindowType2;
|
|
1134
|
-
})(AsapPacingWindowType || {});
|
|
1135
|
-
var ActivationType = /* @__PURE__ */ ((ActivationType2) => {
|
|
1136
|
-
ActivationType2["ALWAYS_ACTIVE"] = "ALWAYS_ACTIVE";
|
|
1137
|
-
ActivationType2["SCHEDULE"] = "SCHEDULE";
|
|
1138
|
-
return ActivationType2;
|
|
1139
|
-
})(ActivationType || {});
|
|
1140
|
-
var EntitiesDayOfWeek = /* @__PURE__ */ ((EntitiesDayOfWeek2) => {
|
|
1141
|
-
EntitiesDayOfWeek2["MON"] = "MON";
|
|
1142
|
-
EntitiesDayOfWeek2["TUE"] = "TUE";
|
|
1143
|
-
EntitiesDayOfWeek2["WED"] = "WED";
|
|
1144
|
-
EntitiesDayOfWeek2["THU"] = "THU";
|
|
1145
|
-
EntitiesDayOfWeek2["FRI"] = "FRI";
|
|
1146
|
-
EntitiesDayOfWeek2["SAT"] = "SAT";
|
|
1147
|
-
EntitiesDayOfWeek2["SUN"] = "SUN";
|
|
1148
|
-
return EntitiesDayOfWeek2;
|
|
1149
|
-
})(EntitiesDayOfWeek || {});
|
|
1150
|
-
var MethodType = /* @__PURE__ */ ((MethodType2) => {
|
|
1151
|
-
MethodType2["TIME_BOUNDED"] = "TIME_BOUNDED";
|
|
1152
|
-
MethodType2["WEEKLY_SCHEDULE"] = "WEEKLY_SCHEDULE";
|
|
1153
|
-
return MethodType2;
|
|
1154
|
-
})(MethodType || {});
|
|
1155
|
-
var FulfillmentTimesType = /* @__PURE__ */ ((FulfillmentTimesType2) => {
|
|
1156
|
-
FulfillmentTimesType2["TIME_WINDOWS"] = "TIME_WINDOWS";
|
|
1157
|
-
return FulfillmentTimesType2;
|
|
1158
|
-
})(FulfillmentTimesType || {});
|
|
1159
|
-
var PreorderPacingWindowType = /* @__PURE__ */ ((PreorderPacingWindowType2) => {
|
|
1160
|
-
PreorderPacingWindowType2["DAILY"] = "DAILY";
|
|
1161
|
-
return PreorderPacingWindowType2;
|
|
1162
|
-
})(PreorderPacingWindowType || {});
|
|
1163
|
-
var OnlineOrderingStatusType = /* @__PURE__ */ ((OnlineOrderingStatusType2) => {
|
|
1164
|
-
OnlineOrderingStatusType2["UNDEFINED_ONLINE_ORDERING_STATUS"] = "UNDEFINED_ONLINE_ORDERING_STATUS";
|
|
1165
|
-
OnlineOrderingStatusType2["ENABLED"] = "ENABLED";
|
|
1166
|
-
OnlineOrderingStatusType2["DISABLED"] = "DISABLED";
|
|
1167
|
-
OnlineOrderingStatusType2["PAUSED_UNTIL"] = "PAUSED_UNTIL";
|
|
1168
|
-
return OnlineOrderingStatusType2;
|
|
1169
|
-
})(OnlineOrderingStatusType || {});
|
|
1170
|
-
var FulfillmentType = /* @__PURE__ */ ((FulfillmentType2) => {
|
|
1171
|
-
FulfillmentType2["PICKUP"] = "PICKUP";
|
|
1172
|
-
FulfillmentType2["DELIVERY"] = "DELIVERY";
|
|
1173
|
-
FulfillmentType2["DINE_IN"] = "DINE_IN";
|
|
1174
|
-
return FulfillmentType2;
|
|
1175
|
-
})(FulfillmentType || {});
|
|
1176
|
-
var PreparationTimePreparationTimeType = /* @__PURE__ */ ((PreparationTimePreparationTimeType2) => {
|
|
1177
|
-
PreparationTimePreparationTimeType2["MAX_TIME"] = "MAX_TIME";
|
|
1178
|
-
PreparationTimePreparationTimeType2["TIME_RANGE"] = "TIME_RANGE";
|
|
1179
|
-
return PreparationTimePreparationTimeType2;
|
|
1180
|
-
})(PreparationTimePreparationTimeType || {});
|
|
1181
|
-
var AsapFutureHandlingType = /* @__PURE__ */ ((AsapFutureHandlingType2) => {
|
|
1182
|
-
AsapFutureHandlingType2["NO_FUTURE_HANDLING"] = "NO_FUTURE_HANDLING";
|
|
1183
|
-
AsapFutureHandlingType2["BUSINESS_DAYS_AHEAD_HANDLING"] = "BUSINESS_DAYS_AHEAD_HANDLING";
|
|
1184
|
-
return AsapFutureHandlingType2;
|
|
1185
|
-
})(AsapFutureHandlingType || {});
|
|
1186
|
-
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1187
|
-
SortOrder2["ASC"] = "ASC";
|
|
1188
|
-
SortOrder2["DESC"] = "DESC";
|
|
1189
|
-
return SortOrder2;
|
|
1190
|
-
})(SortOrder || {});
|
|
1191
|
-
var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
|
|
1192
|
-
SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
|
|
1193
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
|
|
1194
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
|
|
1195
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
|
|
1196
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
|
|
1197
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
|
|
1198
|
-
SubdivisionType2["COUNTRY"] = "COUNTRY";
|
|
1199
|
-
return SubdivisionType2;
|
|
1200
|
-
})(SubdivisionType || {});
|
|
1201
|
-
var FulfillmentTimeType = /* @__PURE__ */ ((FulfillmentTimeType2) => {
|
|
1202
|
-
FulfillmentTimeType2["UNDEFINED_FULFILLMENT_TIME"] = "UNDEFINED_FULFILLMENT_TIME";
|
|
1203
|
-
FulfillmentTimeType2["MAX_TIME"] = "MAX_TIME";
|
|
1204
|
-
FulfillmentTimeType2["DURATION_RANGE"] = "DURATION_RANGE";
|
|
1205
|
-
return FulfillmentTimeType2;
|
|
1206
|
-
})(FulfillmentTimeType || {});
|
|
1207
|
-
var FulfillmentTimesDisplayType = /* @__PURE__ */ ((FulfillmentTimesDisplayType2) => {
|
|
1208
|
-
FulfillmentTimesDisplayType2["UNDEFINED_FULFILLMENT_TIMES_DISPLAY"] = "UNDEFINED_FULFILLMENT_TIMES_DISPLAY";
|
|
1209
|
-
FulfillmentTimesDisplayType2["TIME_WINDOWS"] = "TIME_WINDOWS";
|
|
1210
|
-
return FulfillmentTimesDisplayType2;
|
|
1211
|
-
})(FulfillmentTimesDisplayType || {});
|
|
1212
|
-
var TimeSlotStatus = /* @__PURE__ */ ((TimeSlotStatus2) => {
|
|
1213
|
-
TimeSlotStatus2["AVAILABLE"] = "AVAILABLE";
|
|
1214
|
-
TimeSlotStatus2["BLOCKED"] = "BLOCKED";
|
|
1215
|
-
return TimeSlotStatus2;
|
|
1216
|
-
})(TimeSlotStatus || {});
|
|
1217
|
-
var OrderSchedulingType = /* @__PURE__ */ ((OrderSchedulingType2) => {
|
|
1218
|
-
OrderSchedulingType2["ASAP"] = "ASAP";
|
|
1219
|
-
OrderSchedulingType2["PREORDER"] = "PREORDER";
|
|
1220
|
-
return OrderSchedulingType2;
|
|
1221
|
-
})(OrderSchedulingType || {});
|
|
1222
|
-
var TimeSlotForFulfillmentTimeSlotStatus = /* @__PURE__ */ ((TimeSlotForFulfillmentTimeSlotStatus2) => {
|
|
1223
|
-
TimeSlotForFulfillmentTimeSlotStatus2["AVAILABLE"] = "AVAILABLE";
|
|
1224
|
-
TimeSlotForFulfillmentTimeSlotStatus2["BLOCKED"] = "BLOCKED";
|
|
1225
|
-
return TimeSlotForFulfillmentTimeSlotStatus2;
|
|
1226
|
-
})(TimeSlotForFulfillmentTimeSlotStatus || {});
|
|
1227
|
-
var ViolationType = /* @__PURE__ */ ((ViolationType2) => {
|
|
1228
|
-
ViolationType2["UNKNOWN"] = "UNKNOWN";
|
|
1229
|
-
ViolationType2["NO_ADDRESS"] = "NO_ADDRESS";
|
|
1230
|
-
ViolationType2["MISSING_FORMATTED_ADDRESS"] = "MISSING_FORMATTED_ADDRESS";
|
|
1231
|
-
ViolationType2["INVALID_GEOCODE"] = "INVALID_GEOCODE";
|
|
1232
|
-
ViolationType2["MISSING_COUNTRY"] = "MISSING_COUNTRY";
|
|
1233
|
-
ViolationType2["MISSING_SUBDIVISION"] = "MISSING_SUBDIVISION";
|
|
1234
|
-
return ViolationType2;
|
|
1235
|
-
})(ViolationType || {});
|
|
1236
|
-
var PlacementType = /* @__PURE__ */ ((PlacementType2) => {
|
|
1237
|
-
PlacementType2["BEFORE"] = "BEFORE";
|
|
1238
|
-
PlacementType2["AFTER"] = "AFTER";
|
|
1239
|
-
PlacementType2["REPLACE"] = "REPLACE";
|
|
1240
|
-
return PlacementType2;
|
|
1241
|
-
})(PlacementType || {});
|
|
1242
|
-
var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
|
|
1243
|
-
DayOfWeek2["MONDAY"] = "MONDAY";
|
|
1244
|
-
DayOfWeek2["TUESDAY"] = "TUESDAY";
|
|
1245
|
-
DayOfWeek2["WEDNESDAY"] = "WEDNESDAY";
|
|
1246
|
-
DayOfWeek2["THURSDAY"] = "THURSDAY";
|
|
1247
|
-
DayOfWeek2["FRIDAY"] = "FRIDAY";
|
|
1248
|
-
DayOfWeek2["SATURDAY"] = "SATURDAY";
|
|
1249
|
-
DayOfWeek2["SUNDAY"] = "SUNDAY";
|
|
1250
|
-
return DayOfWeek2;
|
|
1251
|
-
})(DayOfWeek || {});
|
|
1252
|
-
var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
|
|
1253
|
-
ResolutionMethod2["QUERY_PARAM"] = "QUERY_PARAM";
|
|
1254
|
-
ResolutionMethod2["SUBDOMAIN"] = "SUBDOMAIN";
|
|
1255
|
-
ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
|
|
1256
|
-
return ResolutionMethod2;
|
|
1257
|
-
})(ResolutionMethod || {});
|
|
1258
|
-
var State = /* @__PURE__ */ ((State2) => {
|
|
1259
|
-
State2["UNKNOWN"] = "UNKNOWN";
|
|
1260
|
-
State2["ENABLED"] = "ENABLED";
|
|
1261
|
-
State2["DISABLED"] = "DISABLED";
|
|
1262
|
-
State2["PENDING"] = "PENDING";
|
|
1263
|
-
State2["DEMO"] = "DEMO";
|
|
1264
|
-
return State2;
|
|
1265
|
-
})(State || {});
|
|
1266
|
-
var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
|
|
1267
|
-
SiteCreatedContext2["OTHER"] = "OTHER";
|
|
1268
|
-
SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
|
|
1269
|
-
SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
|
|
1270
|
-
SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
|
|
1271
|
-
SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
|
|
1272
|
-
SiteCreatedContext2["FLASH"] = "FLASH";
|
|
1273
|
-
return SiteCreatedContext2;
|
|
1274
|
-
})(SiteCreatedContext || {});
|
|
1275
|
-
var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
1276
|
-
Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
|
|
1277
|
-
Namespace2["WIX"] = "WIX";
|
|
1278
|
-
Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
|
|
1279
|
-
Namespace2["ALBUMS"] = "ALBUMS";
|
|
1280
|
-
Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
|
|
1281
|
-
Namespace2["HOTELS"] = "HOTELS";
|
|
1282
|
-
Namespace2["CLUBS"] = "CLUBS";
|
|
1283
|
-
Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
|
|
1284
|
-
Namespace2["DEV_SITE"] = "DEV_SITE";
|
|
1285
|
-
Namespace2["LOGOS"] = "LOGOS";
|
|
1286
|
-
Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
|
|
1287
|
-
Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
|
|
1288
|
-
Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
|
|
1289
|
-
Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
|
|
1290
|
-
Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
|
|
1291
|
-
Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
|
|
1292
|
-
Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
|
|
1293
|
-
Namespace2["ANYWHERE"] = "ANYWHERE";
|
|
1294
|
-
Namespace2["HEADLESS"] = "HEADLESS";
|
|
1295
|
-
Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
|
|
1296
|
-
Namespace2["RISE"] = "RISE";
|
|
1297
|
-
Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
|
|
1298
|
-
Namespace2["NOWNIA"] = "NOWNIA";
|
|
1299
|
-
Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
|
|
1300
|
-
Namespace2["CODUX"] = "CODUX";
|
|
1301
|
-
Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
|
|
1302
|
-
Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
1303
|
-
Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
1304
|
-
Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
1305
|
-
Namespace2["MIMIR"] = "MIMIR";
|
|
1306
|
-
Namespace2["TWINS"] = "TWINS";
|
|
1307
|
-
Namespace2["NANO"] = "NANO";
|
|
1308
|
-
Namespace2["BASE44"] = "BASE44";
|
|
1309
|
-
Namespace2["CHANNELS"] = "CHANNELS";
|
|
1310
|
-
Namespace2["NAUTILUS"] = "NAUTILUS";
|
|
1311
|
-
Namespace2["SYMPHONY"] = "SYMPHONY";
|
|
1312
|
-
Namespace2["NAUTILUS_APPS"] = "NAUTILUS_APPS";
|
|
1313
|
-
Namespace2["VIBU"] = "VIBU";
|
|
1314
|
-
Namespace2["ENTERPRISE_BRAND_KIT"] = "ENTERPRISE_BRAND_KIT";
|
|
1315
|
-
Namespace2["DEV_CENTER_DEV_SITE"] = "DEV_CENTER_DEV_SITE";
|
|
1316
|
-
return Namespace2;
|
|
1317
|
-
})(Namespace || {});
|
|
1318
|
-
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
1319
|
-
DeleteStatus2["UNKNOWN"] = "UNKNOWN";
|
|
1320
|
-
DeleteStatus2["TRASH"] = "TRASH";
|
|
1321
|
-
DeleteStatus2["DELETED"] = "DELETED";
|
|
1322
|
-
DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
|
|
1323
|
-
DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
|
|
1324
|
-
return DeleteStatus2;
|
|
1325
|
-
})(DeleteStatus || {});
|
|
1326
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1327
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1328
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1329
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1330
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1331
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
1332
|
-
return WebhookIdentityType2;
|
|
1333
|
-
})(WebhookIdentityType || {});
|
|
1334
|
-
|
|
1335
|
-
// src/restaurants-operations-v1-operation-operations.meta.ts
|
|
1336
|
-
function listBlockedPeriods2() {
|
|
1337
|
-
const payload = {};
|
|
1338
|
-
const getRequestOptions = listBlockedPeriods(payload);
|
|
1339
|
-
const getUrl = (context) => {
|
|
1340
|
-
const { url } = getRequestOptions(context);
|
|
1341
|
-
return url;
|
|
1342
|
-
};
|
|
1343
|
-
return {
|
|
1344
|
-
getUrl,
|
|
1345
|
-
httpMethod: "GET",
|
|
1346
|
-
path: "/v1/operation-pacing/blocked-periods",
|
|
1347
|
-
pathParams: {},
|
|
1348
|
-
__requestType: null,
|
|
1349
|
-
__originalRequestType: null,
|
|
1350
|
-
__responseType: null,
|
|
1351
|
-
__originalResponseType: null
|
|
1352
|
-
};
|
|
1353
|
-
}
|
|
1354
|
-
function getOperation2() {
|
|
1355
|
-
const payload = { operationId: ":operationId" };
|
|
1356
|
-
const getRequestOptions = getOperation(payload);
|
|
1357
|
-
const getUrl = (context) => {
|
|
1358
|
-
const { url } = getRequestOptions(context);
|
|
1359
|
-
return url;
|
|
1360
|
-
};
|
|
1361
|
-
return {
|
|
1362
|
-
getUrl,
|
|
1363
|
-
httpMethod: "GET",
|
|
1364
|
-
path: "/v1/operations/{operationId}",
|
|
1365
|
-
pathParams: { operationId: "operationId" },
|
|
1366
|
-
__requestType: null,
|
|
1367
|
-
__originalRequestType: null,
|
|
1368
|
-
__responseType: null,
|
|
1369
|
-
__originalResponseType: null
|
|
1370
|
-
};
|
|
1371
|
-
}
|
|
1372
|
-
function updateOperation2() {
|
|
1373
|
-
const payload = { operation: { id: ":operationId" } };
|
|
1374
|
-
const getRequestOptions = updateOperation(payload);
|
|
1375
|
-
const getUrl = (context) => {
|
|
1376
|
-
const { url } = getRequestOptions(context);
|
|
1377
|
-
return url;
|
|
1378
|
-
};
|
|
1379
|
-
return {
|
|
1380
|
-
getUrl,
|
|
1381
|
-
httpMethod: "PATCH",
|
|
1382
|
-
path: "/v1/operations/{operation.id}",
|
|
1383
|
-
pathParams: { operationId: "operationId" },
|
|
1384
|
-
__requestType: null,
|
|
1385
|
-
__originalRequestType: null,
|
|
1386
|
-
__responseType: null,
|
|
1387
|
-
__originalResponseType: null
|
|
1388
|
-
};
|
|
1389
|
-
}
|
|
1390
|
-
function deleteOperation2() {
|
|
1391
|
-
const payload = { operationId: ":operationId" };
|
|
1392
|
-
const getRequestOptions = deleteOperation(payload);
|
|
1393
|
-
const getUrl = (context) => {
|
|
1394
|
-
const { url } = getRequestOptions(context);
|
|
1395
|
-
return url;
|
|
1396
|
-
};
|
|
1397
|
-
return {
|
|
1398
|
-
getUrl,
|
|
1399
|
-
httpMethod: "DELETE",
|
|
1400
|
-
path: "/v1/operations/{operationId}",
|
|
1401
|
-
pathParams: { operationId: "operationId" },
|
|
1402
|
-
__requestType: null,
|
|
1403
|
-
__originalRequestType: null,
|
|
1404
|
-
__responseType: null,
|
|
1405
|
-
__originalResponseType: null
|
|
1406
|
-
};
|
|
1407
|
-
}
|
|
1408
|
-
function queryOperation2() {
|
|
1409
|
-
const payload = {};
|
|
1410
|
-
const getRequestOptions = queryOperation(payload);
|
|
1411
|
-
const getUrl = (context) => {
|
|
1412
|
-
const { url } = getRequestOptions(context);
|
|
1413
|
-
return url;
|
|
1414
|
-
};
|
|
1415
|
-
return {
|
|
1416
|
-
getUrl,
|
|
1417
|
-
httpMethod: "POST",
|
|
1418
|
-
path: "/v1/operations/query",
|
|
1419
|
-
pathParams: {},
|
|
1420
|
-
__requestType: null,
|
|
1421
|
-
__originalRequestType: null,
|
|
1422
|
-
__responseType: null,
|
|
1423
|
-
__originalResponseType: null
|
|
1424
|
-
};
|
|
1425
|
-
}
|
|
1426
|
-
function listOperations2() {
|
|
1427
|
-
const payload = {};
|
|
1428
|
-
const getRequestOptions = listOperations(payload);
|
|
1429
|
-
const getUrl = (context) => {
|
|
1430
|
-
const { url } = getRequestOptions(context);
|
|
1431
|
-
return url;
|
|
1432
|
-
};
|
|
1433
|
-
return {
|
|
1434
|
-
getUrl,
|
|
1435
|
-
httpMethod: "GET",
|
|
1436
|
-
path: "/v1/operations",
|
|
1437
|
-
pathParams: {},
|
|
1438
|
-
__requestType: null,
|
|
1439
|
-
__originalRequestType: null,
|
|
1440
|
-
__responseType: null,
|
|
1441
|
-
__originalResponseType: null
|
|
1442
|
-
};
|
|
1443
|
-
}
|
|
1444
|
-
function listAvailableFulfillmentOptions2() {
|
|
1445
|
-
const payload = { operationId: ":operationId" };
|
|
1446
|
-
const getRequestOptions = listAvailableFulfillmentOptions(
|
|
1447
|
-
payload
|
|
1448
|
-
);
|
|
1449
|
-
const getUrl = (context) => {
|
|
1450
|
-
const { url } = getRequestOptions(context);
|
|
1451
|
-
return url;
|
|
1452
|
-
};
|
|
1453
|
-
return {
|
|
1454
|
-
getUrl,
|
|
1455
|
-
httpMethod: "GET",
|
|
1456
|
-
path: "/v1/operations/{operationId}/available-fulfillment-options",
|
|
1457
|
-
pathParams: { operationId: "operationId" },
|
|
1458
|
-
__requestType: null,
|
|
1459
|
-
__originalRequestType: null,
|
|
1460
|
-
__responseType: null,
|
|
1461
|
-
__originalResponseType: null
|
|
1462
|
-
};
|
|
1463
|
-
}
|
|
1464
|
-
function listFirstAvailableTimeSlotForFulfillmentTypes2() {
|
|
1465
|
-
const payload = { operationId: ":operationId" };
|
|
1466
|
-
const getRequestOptions = listFirstAvailableTimeSlotForFulfillmentTypes(
|
|
1467
|
-
payload
|
|
1468
|
-
);
|
|
1469
|
-
const getUrl = (context) => {
|
|
1470
|
-
const { url } = getRequestOptions(context);
|
|
1471
|
-
return url;
|
|
1472
|
-
};
|
|
1473
|
-
return {
|
|
1474
|
-
getUrl,
|
|
1475
|
-
httpMethod: "GET",
|
|
1476
|
-
path: "/v1/operations/{operationId}/first-available-time-slot-for-fulfillment-types",
|
|
1477
|
-
pathParams: { operationId: "operationId" },
|
|
1478
|
-
__requestType: null,
|
|
1479
|
-
__originalRequestType: null,
|
|
1480
|
-
__responseType: null,
|
|
1481
|
-
__originalResponseType: null
|
|
1482
|
-
};
|
|
1483
|
-
}
|
|
1484
|
-
function calculateFirstAvailableTimeSlotPerFulfillmentType2() {
|
|
1485
|
-
const payload = { operationId: ":operationId" };
|
|
1486
|
-
const getRequestOptions = calculateFirstAvailableTimeSlotPerFulfillmentType(
|
|
1487
|
-
payload
|
|
1488
|
-
);
|
|
1489
|
-
const getUrl = (context) => {
|
|
1490
|
-
const { url } = getRequestOptions(context);
|
|
1491
|
-
return url;
|
|
1492
|
-
};
|
|
1493
|
-
return {
|
|
1494
|
-
getUrl,
|
|
1495
|
-
httpMethod: "GET",
|
|
1496
|
-
path: "/v1/operations/{operationId}/first-available-time-slot-per-fulfillment-type",
|
|
1497
|
-
pathParams: { operationId: "operationId" },
|
|
1498
|
-
__requestType: null,
|
|
1499
|
-
__originalRequestType: null,
|
|
1500
|
-
__responseType: null,
|
|
1501
|
-
__originalResponseType: null
|
|
1502
|
-
};
|
|
1503
|
-
}
|
|
1504
|
-
function listFirstAvailableTimeSlotsForOperations2() {
|
|
1505
|
-
const payload = {};
|
|
1506
|
-
const getRequestOptions = listFirstAvailableTimeSlotsForOperations(
|
|
1507
|
-
payload
|
|
1508
|
-
);
|
|
1509
|
-
const getUrl = (context) => {
|
|
1510
|
-
const { url } = getRequestOptions(context);
|
|
1511
|
-
return url;
|
|
1512
|
-
};
|
|
1513
|
-
return {
|
|
1514
|
-
getUrl,
|
|
1515
|
-
httpMethod: "POST",
|
|
1516
|
-
path: "/v1/operations/first-available-time-slots-for-operations",
|
|
1517
|
-
pathParams: {},
|
|
1518
|
-
__requestType: null,
|
|
1519
|
-
__originalRequestType: null,
|
|
1520
|
-
__responseType: null,
|
|
1521
|
-
__originalResponseType: null
|
|
1522
|
-
};
|
|
1523
|
-
}
|
|
1524
|
-
function calculateFirstAvailableTimeSlotsPerOperation2() {
|
|
1525
|
-
const payload = {};
|
|
1526
|
-
const getRequestOptions = calculateFirstAvailableTimeSlotsPerOperation(
|
|
1527
|
-
payload
|
|
1528
|
-
);
|
|
1529
|
-
const getUrl = (context) => {
|
|
1530
|
-
const { url } = getRequestOptions(context);
|
|
1531
|
-
return url;
|
|
1532
|
-
};
|
|
1533
|
-
return {
|
|
1534
|
-
getUrl,
|
|
1535
|
-
httpMethod: "POST",
|
|
1536
|
-
path: "/v1/operations/first-available-time-slots-per-operations",
|
|
1537
|
-
pathParams: {},
|
|
1538
|
-
__requestType: null,
|
|
1539
|
-
__originalRequestType: null,
|
|
1540
|
-
__responseType: null,
|
|
1541
|
-
__originalResponseType: null
|
|
1542
|
-
};
|
|
1543
|
-
}
|
|
1544
|
-
function listFirstAvailableTimeSlotsForMenus2() {
|
|
1545
|
-
const payload = { operationId: ":operationId" };
|
|
1546
|
-
const getRequestOptions = listFirstAvailableTimeSlotsForMenus(
|
|
1547
|
-
payload
|
|
1548
|
-
);
|
|
1549
|
-
const getUrl = (context) => {
|
|
1550
|
-
const { url } = getRequestOptions(context);
|
|
1551
|
-
return url;
|
|
1552
|
-
};
|
|
1553
|
-
return {
|
|
1554
|
-
getUrl,
|
|
1555
|
-
httpMethod: "GET",
|
|
1556
|
-
path: "/v1/operations/{operationId}/first-available-time-slots-for-menus",
|
|
1557
|
-
pathParams: { operationId: "operationId" },
|
|
1558
|
-
__requestType: null,
|
|
1559
|
-
__originalRequestType: null,
|
|
1560
|
-
__responseType: null,
|
|
1561
|
-
__originalResponseType: null
|
|
1562
|
-
};
|
|
1563
|
-
}
|
|
1564
|
-
function calculateFirstAvailableTimeSlotsPerMenu2() {
|
|
1565
|
-
const payload = { operationId: ":operationId" };
|
|
1566
|
-
const getRequestOptions = calculateFirstAvailableTimeSlotsPerMenu(
|
|
1567
|
-
payload
|
|
1568
|
-
);
|
|
1569
|
-
const getUrl = (context) => {
|
|
1570
|
-
const { url } = getRequestOptions(context);
|
|
1571
|
-
return url;
|
|
1572
|
-
};
|
|
1573
|
-
return {
|
|
1574
|
-
getUrl,
|
|
1575
|
-
httpMethod: "GET",
|
|
1576
|
-
path: "/v1/operations/{operationId}/first-available-time-slots-per-menus",
|
|
1577
|
-
pathParams: { operationId: "operationId" },
|
|
1578
|
-
__requestType: null,
|
|
1579
|
-
__originalRequestType: null,
|
|
1580
|
-
__responseType: null,
|
|
1581
|
-
__originalResponseType: null
|
|
1582
|
-
};
|
|
1583
|
-
}
|
|
1584
|
-
function calculateFirstAvailableTimeSlotsForItem2() {
|
|
1585
|
-
const payload = { operationId: ":operationId" };
|
|
1586
|
-
const getRequestOptions = calculateFirstAvailableTimeSlotsForItem(
|
|
1587
|
-
payload
|
|
1588
|
-
);
|
|
1589
|
-
const getUrl = (context) => {
|
|
1590
|
-
const { url } = getRequestOptions(context);
|
|
1591
|
-
return url;
|
|
1592
|
-
};
|
|
1593
|
-
return {
|
|
1594
|
-
getUrl,
|
|
1595
|
-
httpMethod: "GET",
|
|
1596
|
-
path: "/v1/operations/{operationId}/first-available-time-slots-per-item",
|
|
1597
|
-
pathParams: { operationId: "operationId" },
|
|
1598
|
-
__requestType: null,
|
|
1599
|
-
__originalRequestType: null,
|
|
1600
|
-
__responseType: null,
|
|
1601
|
-
__originalResponseType: null
|
|
1602
|
-
};
|
|
1603
|
-
}
|
|
1604
|
-
function listAvailableTimeSlotsForDate2() {
|
|
1605
|
-
const payload = { operationId: ":operationId" };
|
|
1606
|
-
const getRequestOptions = listAvailableTimeSlotsForDate(
|
|
1607
|
-
payload
|
|
1608
|
-
);
|
|
1609
|
-
const getUrl = (context) => {
|
|
1610
|
-
const { url } = getRequestOptions(context);
|
|
1611
|
-
return url;
|
|
1612
|
-
};
|
|
1613
|
-
return {
|
|
1614
|
-
getUrl,
|
|
1615
|
-
httpMethod: "GET",
|
|
1616
|
-
path: "/v1/operations/{operationId}/available-time-slots-for-date",
|
|
1617
|
-
pathParams: { operationId: "operationId" },
|
|
1618
|
-
__requestType: null,
|
|
1619
|
-
__originalRequestType: null,
|
|
1620
|
-
__responseType: null,
|
|
1621
|
-
__originalResponseType: null
|
|
1622
|
-
};
|
|
1623
|
-
}
|
|
1624
|
-
function calculateAvailableTimeSlotsForDate2() {
|
|
1625
|
-
const payload = { operationId: ":operationId" };
|
|
1626
|
-
const getRequestOptions = calculateAvailableTimeSlotsForDate(
|
|
1627
|
-
payload
|
|
1628
|
-
);
|
|
1629
|
-
const getUrl = (context) => {
|
|
1630
|
-
const { url } = getRequestOptions(context);
|
|
1631
|
-
return url;
|
|
1632
|
-
};
|
|
1633
|
-
return {
|
|
1634
|
-
getUrl,
|
|
1635
|
-
httpMethod: "GET",
|
|
1636
|
-
path: "/v1/operations/{operationId}/available-time-slots-per-date",
|
|
1637
|
-
pathParams: { operationId: "operationId" },
|
|
1638
|
-
__requestType: null,
|
|
1639
|
-
__originalRequestType: null,
|
|
1640
|
-
__responseType: null,
|
|
1641
|
-
__originalResponseType: null
|
|
1642
|
-
};
|
|
1643
|
-
}
|
|
1644
|
-
function listAvailableDatesInRange2() {
|
|
1645
|
-
const payload = { operationId: ":operationId" };
|
|
1646
|
-
const getRequestOptions = listAvailableDatesInRange(
|
|
1647
|
-
payload
|
|
1648
|
-
);
|
|
1649
|
-
const getUrl = (context) => {
|
|
1650
|
-
const { url } = getRequestOptions(context);
|
|
1651
|
-
return url;
|
|
1652
|
-
};
|
|
1653
|
-
return {
|
|
1654
|
-
getUrl,
|
|
1655
|
-
httpMethod: "GET",
|
|
1656
|
-
path: "/v1/operations/{operationId}/available-dates-in-range",
|
|
1657
|
-
pathParams: { operationId: "operationId" },
|
|
1658
|
-
__requestType: null,
|
|
1659
|
-
__originalRequestType: null,
|
|
1660
|
-
__responseType: null,
|
|
1661
|
-
__originalResponseType: null
|
|
1662
|
-
};
|
|
1663
|
-
}
|
|
1664
|
-
function calculateAvailableDatesInRange2() {
|
|
1665
|
-
const payload = { operationId: ":operationId" };
|
|
1666
|
-
const getRequestOptions = calculateAvailableDatesInRange(
|
|
1667
|
-
payload
|
|
1668
|
-
);
|
|
1669
|
-
const getUrl = (context) => {
|
|
1670
|
-
const { url } = getRequestOptions(context);
|
|
1671
|
-
return url;
|
|
1672
|
-
};
|
|
1673
|
-
return {
|
|
1674
|
-
getUrl,
|
|
1675
|
-
httpMethod: "GET",
|
|
1676
|
-
path: "/v1/operations/{operationId}/available-dates",
|
|
1677
|
-
pathParams: { operationId: "operationId" },
|
|
1678
|
-
__requestType: null,
|
|
1679
|
-
__originalRequestType: null,
|
|
1680
|
-
__responseType: null,
|
|
1681
|
-
__originalResponseType: null
|
|
1682
|
-
};
|
|
1683
|
-
}
|
|
1684
|
-
function validateOperationAddress2() {
|
|
1685
|
-
const payload = { operationId: ":operationId" };
|
|
1686
|
-
const getRequestOptions = validateOperationAddress(
|
|
1687
|
-
payload
|
|
1688
|
-
);
|
|
1689
|
-
const getUrl = (context) => {
|
|
1690
|
-
const { url } = getRequestOptions(context);
|
|
1691
|
-
return url;
|
|
1692
|
-
};
|
|
1693
|
-
return {
|
|
1694
|
-
getUrl,
|
|
1695
|
-
httpMethod: "GET",
|
|
1696
|
-
path: "/v1/operations/{operationId}/validate-address",
|
|
1697
|
-
pathParams: { operationId: "operationId" },
|
|
1698
|
-
__requestType: null,
|
|
1699
|
-
__originalRequestType: null,
|
|
1700
|
-
__responseType: null,
|
|
1701
|
-
__originalResponseType: null
|
|
1702
|
-
};
|
|
1703
|
-
}
|
|
1704
|
-
function bulkUpdateOperationTags2() {
|
|
1705
|
-
const payload = {};
|
|
1706
|
-
const getRequestOptions = bulkUpdateOperationTags(
|
|
1707
|
-
payload
|
|
1708
|
-
);
|
|
1709
|
-
const getUrl = (context) => {
|
|
1710
|
-
const { url } = getRequestOptions(context);
|
|
1711
|
-
return url;
|
|
1712
|
-
};
|
|
1713
|
-
return {
|
|
1714
|
-
getUrl,
|
|
1715
|
-
httpMethod: "POST",
|
|
1716
|
-
path: "/v1/bulk/operations/update-tags",
|
|
1717
|
-
pathParams: {},
|
|
1718
|
-
__requestType: null,
|
|
1719
|
-
__originalRequestType: null,
|
|
1720
|
-
__responseType: null,
|
|
1721
|
-
__originalResponseType: null
|
|
1722
|
-
};
|
|
1723
|
-
}
|
|
1724
|
-
function bulkUpdateOperationTagsByFilter2() {
|
|
1725
|
-
const payload = {};
|
|
1726
|
-
const getRequestOptions = bulkUpdateOperationTagsByFilter(
|
|
1727
|
-
payload
|
|
1728
|
-
);
|
|
1729
|
-
const getUrl = (context) => {
|
|
1730
|
-
const { url } = getRequestOptions(context);
|
|
1731
|
-
return url;
|
|
1732
|
-
};
|
|
1733
|
-
return {
|
|
1734
|
-
getUrl,
|
|
1735
|
-
httpMethod: "POST",
|
|
1736
|
-
path: "/v1/bulk/operations/update-tags-by-filter",
|
|
1737
|
-
pathParams: {},
|
|
1738
|
-
__requestType: null,
|
|
1739
|
-
__originalRequestType: null,
|
|
1740
|
-
__responseType: null,
|
|
1741
|
-
__originalResponseType: null
|
|
1742
|
-
};
|
|
1743
|
-
}
|
|
1744
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1745
|
-
0 && (module.exports = {
|
|
1746
|
-
ActivationTypeOriginal,
|
|
1747
|
-
AsapFutureHandlingTypeOriginal,
|
|
1748
|
-
AsapPacingWindowTypeOriginal,
|
|
1749
|
-
AsapPreorderTypeOriginal,
|
|
1750
|
-
DayOfWeekOriginal,
|
|
1751
|
-
DeleteStatusOriginal,
|
|
1752
|
-
EntitiesDayOfWeekOriginal,
|
|
1753
|
-
FulfillmentTimeTypeOriginal,
|
|
1754
|
-
FulfillmentTimesDisplayTypeOriginal,
|
|
1755
|
-
FulfillmentTimesTypeOriginal,
|
|
1756
|
-
FulfillmentTypeOriginal,
|
|
1757
|
-
MethodTypeOriginal,
|
|
1758
|
-
NamespaceOriginal,
|
|
1759
|
-
OnlineOrderingStatusTypeOriginal,
|
|
1760
|
-
OrderSchedulingTypeOriginal,
|
|
1761
|
-
PlacementTypeOriginal,
|
|
1762
|
-
PreorderPacingWindowTypeOriginal,
|
|
1763
|
-
PreparationTimePreparationTimeTypeOriginal,
|
|
1764
|
-
PreparationTimeTypeOriginal,
|
|
1765
|
-
ResolutionMethodOriginal,
|
|
1766
|
-
SchedulingTypeOriginal,
|
|
1767
|
-
SiteCreatedContextOriginal,
|
|
1768
|
-
SortOrderOriginal,
|
|
1769
|
-
StateOriginal,
|
|
1770
|
-
SubdivisionTypeOriginal,
|
|
1771
|
-
TimeSlotForFulfillmentTimeSlotStatusOriginal,
|
|
1772
|
-
TimeSlotStatusOriginal,
|
|
1773
|
-
TimeUnitOriginal,
|
|
1774
|
-
ViolationTypeOriginal,
|
|
1775
|
-
WebhookIdentityTypeOriginal,
|
|
1776
|
-
bulkUpdateOperationTags,
|
|
1777
|
-
bulkUpdateOperationTagsByFilter,
|
|
1778
|
-
calculateAvailableDatesInRange,
|
|
1779
|
-
calculateAvailableTimeSlotsForDate,
|
|
1780
|
-
calculateFirstAvailableTimeSlotPerFulfillmentType,
|
|
1781
|
-
calculateFirstAvailableTimeSlotsForItem,
|
|
1782
|
-
calculateFirstAvailableTimeSlotsPerMenu,
|
|
1783
|
-
calculateFirstAvailableTimeSlotsPerOperation,
|
|
1784
|
-
deleteOperation,
|
|
1785
|
-
getOperation,
|
|
1786
|
-
listAvailableDatesInRange,
|
|
1787
|
-
listAvailableFulfillmentOptions,
|
|
1788
|
-
listAvailableTimeSlotsForDate,
|
|
1789
|
-
listBlockedPeriods,
|
|
1790
|
-
listFirstAvailableTimeSlotForFulfillmentTypes,
|
|
1791
|
-
listFirstAvailableTimeSlotsForMenus,
|
|
1792
|
-
listFirstAvailableTimeSlotsForOperations,
|
|
1793
|
-
listOperations,
|
|
1794
|
-
queryOperation,
|
|
1795
|
-
updateOperation,
|
|
1796
|
-
validateOperationAddress
|
|
1797
|
-
});
|
|
1798
|
-
//# sourceMappingURL=meta.js.map
|