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