@wix/auto_sdk_restaurants_operations 1.0.106 → 1.0.107
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 +81 -74
- package/build/cjs/index.js +63 -190
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +334 -331
- package/build/cjs/index.typings.js +63 -181
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +216 -221
- package/build/cjs/meta.js +63 -168
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +81 -74
- package/build/es/index.mjs +63 -189
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +334 -331
- package/build/es/index.typings.mjs +63 -180
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +216 -221
- package/build/es/meta.mjs +63 -167
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +81 -74
- package/build/internal/cjs/index.typings.d.ts +353 -349
- package/build/internal/cjs/meta.d.ts +232 -235
- package/build/internal/es/index.d.mts +81 -74
- package/build/internal/es/index.typings.d.mts +353 -349
- package/build/internal/es/meta.d.mts +232 -235
- package/package.json +2 -2
|
@@ -2,8 +2,9 @@ import * as _wix_sdk_types from '@wix/sdk-types';
|
|
|
2
2
|
import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* An operation is a
|
|
6
|
-
*
|
|
5
|
+
* An operation is a restaurant's online ordering service at a business location, such as takeaway or catering.
|
|
6
|
+
* It defines when customers can place orders, which fulfillment methods are offered, and whether online ordering is currently accepted.
|
|
7
|
+
* Operations are created automatically for each operation group and business location.
|
|
7
8
|
*/
|
|
8
9
|
interface Operation extends OperationOnlineOrderingStatusOptionsOneOf {
|
|
9
10
|
/** Options for online ordering status. Required when `onlineOrderingStatus` is `PAUSED_UNTIL`. */
|
|
@@ -15,9 +16,9 @@ interface Operation extends OperationOnlineOrderingStatusOptionsOneOf {
|
|
|
15
16
|
*/
|
|
16
17
|
_id?: string | null;
|
|
17
18
|
/**
|
|
18
|
-
* Revision number
|
|
19
|
+
* Revision number, which increments by 1 each time the operation is updated.
|
|
19
20
|
* To prevent conflicting changes,
|
|
20
|
-
* the
|
|
21
|
+
* the current revision must be passed when updating the operation.
|
|
21
22
|
* @readonly
|
|
22
23
|
*/
|
|
23
24
|
revision?: string | null;
|
|
@@ -34,8 +35,9 @@ interface Operation extends OperationOnlineOrderingStatusOptionsOneOf {
|
|
|
34
35
|
/** Operation name. */
|
|
35
36
|
name?: string | null;
|
|
36
37
|
/**
|
|
37
|
-
* Whether the operation is the default operation.
|
|
38
|
-
*
|
|
38
|
+
* Whether the operation is the default operation.
|
|
39
|
+
*
|
|
40
|
+
* Default: `false`
|
|
39
41
|
*/
|
|
40
42
|
default?: boolean | null;
|
|
41
43
|
/**
|
|
@@ -44,14 +46,14 @@ interface Operation extends OperationOnlineOrderingStatusOptionsOneOf {
|
|
|
44
46
|
* @maxSize 500
|
|
45
47
|
*/
|
|
46
48
|
fulfillmentIds?: string[] | null;
|
|
47
|
-
/** Online ordering status of the operation.
|
|
49
|
+
/** Online ordering status of the operation. */
|
|
48
50
|
onlineOrderingStatus?: OnlineOrderingStatusTypeWithLiterals;
|
|
49
51
|
/** Default fulfillment type of the operation. */
|
|
50
52
|
defaultFulfillmentType?: FulfillmentTypeWithLiterals;
|
|
51
53
|
/** Information about when an order can be placed for. */
|
|
52
54
|
orderScheduling?: OrderScheduling;
|
|
53
55
|
/**
|
|
54
|
-
* ID of the operation group this operation belongs to.
|
|
56
|
+
* ID of the operation group this operation belongs to. Set automatically when the operation is created.
|
|
55
57
|
* @format GUID
|
|
56
58
|
* @immutable
|
|
57
59
|
*/
|
|
@@ -63,7 +65,11 @@ interface Operation extends OperationOnlineOrderingStatusOptionsOneOf {
|
|
|
63
65
|
* @readonly
|
|
64
66
|
*/
|
|
65
67
|
businessLocationId?: string | null;
|
|
66
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* Custom field data for the operation object.
|
|
70
|
+
*
|
|
71
|
+
* [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.
|
|
72
|
+
*/
|
|
67
73
|
extendedFields?: ExtendedFields;
|
|
68
74
|
/** Tags ([SDK](https://dev.wix.com/docs/sdk/backend-modules/tags/tags/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/tags/introduction)) used to classify and sort different types of operations. */
|
|
69
75
|
tags?: Tags;
|
|
@@ -79,11 +85,7 @@ interface Scheduling extends SchedulingSchedulingOptionsOneOf {
|
|
|
79
85
|
asapOptions?: AsapScheduling;
|
|
80
86
|
/** Options for scheduling. Required when `type` is `PREORDER`. */
|
|
81
87
|
preorderOptions?: PreorderScheduling;
|
|
82
|
-
/**
|
|
83
|
-
* Scheduling type. <br />
|
|
84
|
-
* - When `ASAP`, `asapOptions` is a required field.
|
|
85
|
-
* - When `PREORDER`, `preorderOptions` is a required field.
|
|
86
|
-
*/
|
|
88
|
+
/** Scheduling type. */
|
|
87
89
|
type?: SchedulingTypeWithLiterals;
|
|
88
90
|
}
|
|
89
91
|
/** @oneof */
|
|
@@ -95,9 +97,9 @@ interface SchedulingSchedulingOptionsOneOf {
|
|
|
95
97
|
}
|
|
96
98
|
/** Scheduling type enum. */
|
|
97
99
|
declare enum SchedulingType {
|
|
98
|
-
/** Orders
|
|
100
|
+
/** Orders are handled as soon as possible. Depending on the configuration, orders can also be scheduled for a later time. */
|
|
99
101
|
ASAP = "ASAP",
|
|
100
|
-
/** Orders
|
|
102
|
+
/** Orders must be scheduled in advance. */
|
|
101
103
|
PREORDER = "PREORDER"
|
|
102
104
|
}
|
|
103
105
|
/** @enumType */
|
|
@@ -113,13 +115,13 @@ interface AsapScheduling extends AsapSchedulingPreparationTimeOneOf, AsapSchedul
|
|
|
113
115
|
/** How to define the time needed to prepare an order. */
|
|
114
116
|
type?: PreparationTimeTypeWithLiterals;
|
|
115
117
|
/**
|
|
116
|
-
*
|
|
117
|
-
* @deprecated
|
|
118
|
+
* Whether an order can be placed for a later time on the same day.
|
|
119
|
+
* @deprecated Whether an order can be placed for a later time on the same day.
|
|
118
120
|
* @replacedBy asap_preorder_type
|
|
119
121
|
* @targetRemovalDate 2023-12-28
|
|
120
122
|
*/
|
|
121
123
|
allowSameDayPreorder?: boolean | null;
|
|
122
|
-
/**
|
|
124
|
+
/** Type of preorder allowed for `ASAP` scheduling. */
|
|
123
125
|
asapPreorderType?: AsapPreorderTypeWithLiterals;
|
|
124
126
|
}
|
|
125
127
|
/** @oneof */
|
|
@@ -178,7 +180,7 @@ interface TimeDurationRange {
|
|
|
178
180
|
}
|
|
179
181
|
/** Asap preorder type enum. */
|
|
180
182
|
declare enum AsapPreorderType {
|
|
181
|
-
/**
|
|
183
|
+
/** Preorders aren't allowed. */
|
|
182
184
|
NO_PREORDER = "NO_PREORDER",
|
|
183
185
|
/** Allows preorder for a maximum specified number of business days in advance. */
|
|
184
186
|
BUSINESS_DAYS_PREORDER = "BUSINESS_DAYS_PREORDER"
|
|
@@ -196,40 +198,40 @@ interface BusinessDaysPreorder {
|
|
|
196
198
|
*/
|
|
197
199
|
businessDays?: number | null;
|
|
198
200
|
}
|
|
199
|
-
/** Order pacing configuration for ASAP scheduling */
|
|
201
|
+
/** Order pacing configuration for ASAP scheduling. */
|
|
200
202
|
interface AsapOrderPacing extends AsapOrderPacingPacingAvailabilityOneOf {
|
|
201
|
-
/** Custom availability pattern for when pacing should be active */
|
|
203
|
+
/** Custom availability pattern for when pacing should be active. */
|
|
202
204
|
scheduleOptions?: WeeklyActivePeriods;
|
|
203
|
-
/** Whether order pacing is enabled for ASAP orders */
|
|
205
|
+
/** Whether order pacing is enabled for ASAP orders. */
|
|
204
206
|
enabled?: boolean | null;
|
|
205
207
|
/**
|
|
206
|
-
* Maximum number of orders allowed within the pacing window
|
|
208
|
+
* Maximum number of orders allowed within the pacing window.
|
|
207
209
|
* @min 1
|
|
208
210
|
* @max 1000
|
|
209
211
|
*/
|
|
210
212
|
maxOrdersInWindow?: number | null;
|
|
211
|
-
/** Type of pacing window duration (currently only 15-minute supported) */
|
|
213
|
+
/** Type of pacing window duration (currently only 15-minute supported). */
|
|
212
214
|
windowType?: AsapPacingWindowTypeWithLiterals;
|
|
213
|
-
/** When the pacing should be active */
|
|
215
|
+
/** When the pacing should be active. */
|
|
214
216
|
activationType?: ActivationTypeWithLiterals;
|
|
215
217
|
}
|
|
216
218
|
/** @oneof */
|
|
217
219
|
interface AsapOrderPacingPacingAvailabilityOneOf {
|
|
218
|
-
/** Custom availability pattern for when pacing should be active */
|
|
220
|
+
/** Custom availability pattern for when pacing should be active. */
|
|
219
221
|
scheduleOptions?: WeeklyActivePeriods;
|
|
220
222
|
}
|
|
221
|
-
/** ASAP pacing duration type enum */
|
|
223
|
+
/** ASAP pacing duration type enum. */
|
|
222
224
|
declare enum AsapPacingWindowType {
|
|
223
|
-
/** Fixed 15-minute window */
|
|
225
|
+
/** Fixed 15-minute window. */
|
|
224
226
|
FIXED_15_MINUTE = "FIXED_15_MINUTE"
|
|
225
227
|
}
|
|
226
228
|
/** @enumType */
|
|
227
229
|
type AsapPacingWindowTypeWithLiterals = AsapPacingWindowType | 'FIXED_15_MINUTE';
|
|
228
|
-
/** Defines when pacing should be active */
|
|
230
|
+
/** Defines when pacing should be active. */
|
|
229
231
|
declare enum ActivationType {
|
|
230
|
-
/** Pacing is active 24/7 */
|
|
232
|
+
/** Pacing is active 24/7. */
|
|
231
233
|
ALWAYS_ACTIVE = "ALWAYS_ACTIVE",
|
|
232
|
-
/** Pacing follows custom availability pattern */
|
|
234
|
+
/** Pacing follows custom availability pattern. */
|
|
233
235
|
SCHEDULE = "SCHEDULE"
|
|
234
236
|
}
|
|
235
237
|
/** @enumType */
|
|
@@ -292,8 +294,9 @@ interface TimeOfDay {
|
|
|
292
294
|
interface PreorderScheduling {
|
|
293
295
|
method?: PreorderMethod;
|
|
294
296
|
/**
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
+
* How fulfillment times are displayed.
|
|
298
|
+
*
|
|
299
|
+
* Currently supports `TIME_WINDOWS`.
|
|
297
300
|
*/
|
|
298
301
|
fulfillmentTimesDisplay?: FulfillmentTimesDisplayConfig;
|
|
299
302
|
}
|
|
@@ -303,11 +306,7 @@ interface PreorderMethod extends PreorderMethodMethodOptionsOneOf {
|
|
|
303
306
|
timeBoundedOptions?: TimeBounded;
|
|
304
307
|
/** Options for the method. Required when `type` is `WEEKLY_SCHEDULE`. */
|
|
305
308
|
weeklyScheduleOptions?: WeeklySchedule;
|
|
306
|
-
/**
|
|
307
|
-
* Type of time frame for how long in advance preorders can be made. <br />
|
|
308
|
-
* - When `TIME_BOUNDED`, `timeBoundedOptions` is a required field.
|
|
309
|
-
* - When `WEEKLY_SCHEDULE`, `weeklyScheduleOptions` is a required field.
|
|
310
|
-
*/
|
|
309
|
+
/** Type of time frame for how long in advance preorders can be made. */
|
|
311
310
|
type?: MethodTypeWithLiterals;
|
|
312
311
|
}
|
|
313
312
|
/** @oneof */
|
|
@@ -343,25 +342,23 @@ interface TimeBounded {
|
|
|
343
342
|
/** Options for the method. Required when `type` is `WEEKLY_SCHEDULE`. */
|
|
344
343
|
interface WeeklySchedule {
|
|
345
344
|
/**
|
|
346
|
-
*
|
|
347
|
-
*
|
|
345
|
+
* Weekly cutoff time.
|
|
346
|
+
*
|
|
347
|
+
* Orders placed before the cutoff time are scheduled for the current week.
|
|
348
348
|
* Orders placed after the cutoff time are scheduled for the next week.
|
|
349
349
|
*/
|
|
350
350
|
cutOffTime?: DayAndTime;
|
|
351
351
|
}
|
|
352
352
|
/** Way by which fulfillment times should be displayed. */
|
|
353
353
|
interface FulfillmentTimesDisplayConfig extends FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf {
|
|
354
|
-
/**
|
|
354
|
+
/** Duration of each time window. Required when `type` is `TIME_WINDOWS`. */
|
|
355
355
|
timeWindowsOptions?: TimeDuration;
|
|
356
|
-
/**
|
|
357
|
-
* Type of the fulfillment times. <br />
|
|
358
|
-
* When `TIME_WINDOWS`, `timeWindowsOptions` is a required field.
|
|
359
|
-
*/
|
|
356
|
+
/** Fulfillment times type. */
|
|
360
357
|
type?: FulfillmentTimesTypeWithLiterals;
|
|
361
358
|
}
|
|
362
359
|
/** @oneof */
|
|
363
360
|
interface FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf {
|
|
364
|
-
/**
|
|
361
|
+
/** Duration of each time window. Required when `type` is `TIME_WINDOWS`. */
|
|
365
362
|
timeWindowsOptions?: TimeDuration;
|
|
366
363
|
}
|
|
367
364
|
/** The fulfillment times type enum. */
|
|
@@ -371,31 +368,31 @@ declare enum FulfillmentTimesType {
|
|
|
371
368
|
}
|
|
372
369
|
/** @enumType */
|
|
373
370
|
type FulfillmentTimesTypeWithLiterals = FulfillmentTimesType | 'TIME_WINDOWS';
|
|
374
|
-
/** Order pacing configuration for preorder scheduling */
|
|
371
|
+
/** Order pacing configuration for preorder scheduling. */
|
|
375
372
|
interface PreOrderPacing extends PreOrderPacingPacingAvailabilityOneOf {
|
|
376
|
-
/** Custom availability pattern for when pacing should be active */
|
|
373
|
+
/** Custom availability pattern for when pacing should be active. */
|
|
377
374
|
scheduleOptions?: WeeklyActiveDays;
|
|
378
|
-
/** Whether order pacing is enabled for preorder */
|
|
375
|
+
/** Whether order pacing is enabled for preorder. */
|
|
379
376
|
enabled?: boolean | null;
|
|
380
377
|
/**
|
|
381
|
-
* Maximum number of orders allowed within the pacing window
|
|
378
|
+
* Maximum number of orders allowed within the pacing window.
|
|
382
379
|
* @min 1
|
|
383
380
|
* @max 1000
|
|
384
381
|
*/
|
|
385
382
|
maxOrdersInWindow?: number | null;
|
|
386
|
-
/** Type of pacing window (currently only daily supported) */
|
|
383
|
+
/** Type of pacing window (currently only daily supported). */
|
|
387
384
|
windowType?: PreorderPacingWindowTypeWithLiterals;
|
|
388
|
-
/** When the pacing should be active */
|
|
385
|
+
/** When the pacing should be active. */
|
|
389
386
|
activationType?: ActivationTypeWithLiterals;
|
|
390
387
|
}
|
|
391
388
|
/** @oneof */
|
|
392
389
|
interface PreOrderPacingPacingAvailabilityOneOf {
|
|
393
|
-
/** Custom availability pattern for when pacing should be active */
|
|
390
|
+
/** Custom availability pattern for when pacing should be active. */
|
|
394
391
|
scheduleOptions?: WeeklyActiveDays;
|
|
395
392
|
}
|
|
396
|
-
/** Preorder pacing window type enum */
|
|
393
|
+
/** Preorder pacing window type enum. */
|
|
397
394
|
declare enum PreorderPacingWindowType {
|
|
398
|
-
/** Daily pacing window */
|
|
395
|
+
/** Daily pacing window. */
|
|
399
396
|
DAILY = "DAILY"
|
|
400
397
|
}
|
|
401
398
|
/** @enumType */
|
|
@@ -415,7 +412,7 @@ declare enum OnlineOrderingStatusType {
|
|
|
415
412
|
ENABLED = "ENABLED",
|
|
416
413
|
/** Operation currently does not accept online orders. */
|
|
417
414
|
DISABLED = "DISABLED",
|
|
418
|
-
/** Operation currently does not accept online orders, but will accept online orders from a specified
|
|
415
|
+
/** Operation currently does not accept online orders, but will accept online orders from a specified date and time. When applied, `pausedUntilOptions` is a required field. */
|
|
419
416
|
PAUSED_UNTIL = "PAUSED_UNTIL"
|
|
420
417
|
}
|
|
421
418
|
/** @enumType */
|
|
@@ -423,13 +420,12 @@ type OnlineOrderingStatusTypeWithLiterals = OnlineOrderingStatusType | 'UNDEFINE
|
|
|
423
420
|
/** Options for online ordering status. Required when `onlineOrderingStatus` is `PAUSED_UNTIL`. */
|
|
424
421
|
interface OnlineOrderingPausedUntilOptions {
|
|
425
422
|
/**
|
|
426
|
-
* Date and time until which online ordering is paused.
|
|
427
|
-
*
|
|
428
|
-
* Before the specified time, behavior is the same as when `onlineOrderingStatus` is `DISABLED`. <br />
|
|
423
|
+
* Date and time until which online ordering is paused.
|
|
429
424
|
*
|
|
430
|
-
*
|
|
425
|
+
* Before this time, the operation behaves as if `onlineOrderingStatus` is `DISABLED`.
|
|
426
|
+
* After this time, the operation behaves as if `onlineOrderingStatus` is `ENABLED`.
|
|
431
427
|
*
|
|
432
|
-
*
|
|
428
|
+
* When this time passes, `onlineOrderingStatus` doesn't change.
|
|
433
429
|
*/
|
|
434
430
|
time?: Date | null;
|
|
435
431
|
}
|
|
@@ -448,11 +444,7 @@ interface OrderScheduling extends OrderSchedulingOrderSchedulingOptionsOneOf {
|
|
|
448
444
|
asapOptions?: AsapOrderScheduling;
|
|
449
445
|
/** Options for scheduling. Required if `type` is `PREORDER`. */
|
|
450
446
|
preorderOptions?: PreorderScheduling;
|
|
451
|
-
/**
|
|
452
|
-
* Scheduling type. <br />
|
|
453
|
-
* - When `ASAP`, `asapOptions` is a required field.
|
|
454
|
-
* - When `PREORDER`, `preorderOptions` is a required field.
|
|
455
|
-
*/
|
|
447
|
+
/** Order scheduling type. */
|
|
456
448
|
type?: SchedulingTypeWithLiterals;
|
|
457
449
|
}
|
|
458
450
|
/** @oneof */
|
|
@@ -465,15 +457,12 @@ interface OrderSchedulingOrderSchedulingOptionsOneOf {
|
|
|
465
457
|
interface AsapOrderScheduling extends AsapOrderSchedulingAsapFutureHandlingOptionsOneOf {
|
|
466
458
|
/** Options for future handling. Required when `asapFutureHandlingType` is `BUSINESS_DAYS_AHEAD_HANDLING`. */
|
|
467
459
|
businessDaysAheadHandlingOptions?: BusinessDaysAheadHandling;
|
|
468
|
-
/**
|
|
469
|
-
* Amount of time needed to prepare the order. <br />
|
|
470
|
-
* - When `MAX_TIME`, `maxTimeOptions` is a required field.
|
|
471
|
-
* - When `MAX_RANGE`, `timeRangeOptions` is a required field.
|
|
472
|
-
*/
|
|
460
|
+
/** Time needed to prepare the order. */
|
|
473
461
|
preparationTime?: PreparationTime;
|
|
474
462
|
/**
|
|
475
|
-
*
|
|
476
|
-
*
|
|
463
|
+
* Whether and how orders can be placed for a later time.
|
|
464
|
+
*
|
|
465
|
+
* When `BUSINESS_DAYS_AHEAD_HANDLING`, `businessDaysAheadHandlingOptions` is required.
|
|
477
466
|
*/
|
|
478
467
|
asapFutureHandlingType?: AsapFutureHandlingTypeWithLiterals;
|
|
479
468
|
}
|
|
@@ -482,6 +471,7 @@ interface AsapOrderSchedulingAsapFutureHandlingOptionsOneOf {
|
|
|
482
471
|
/** Options for future handling. Required when `asapFutureHandlingType` is `BUSINESS_DAYS_AHEAD_HANDLING`. */
|
|
483
472
|
businessDaysAheadHandlingOptions?: BusinessDaysAheadHandling;
|
|
484
473
|
}
|
|
474
|
+
/** Time needed to prepare an order. */
|
|
485
475
|
interface PreparationTime extends PreparationTimeTimeSpecificationOneOf {
|
|
486
476
|
/** Options for preparation time. Required when `type` is `MAX_TIME`. */
|
|
487
477
|
maxTimeOptions?: TimeDuration;
|
|
@@ -499,13 +489,15 @@ interface PreparationTimeTimeSpecificationOneOf {
|
|
|
499
489
|
}
|
|
500
490
|
/** Preparation time type enum. */
|
|
501
491
|
declare enum PreparationTimePreparationTimeType {
|
|
492
|
+
/** Preparation time has a maximum. */
|
|
502
493
|
MAX_TIME = "MAX_TIME",
|
|
494
|
+
/** Preparation time has a minimum and a maximum. */
|
|
503
495
|
TIME_RANGE = "TIME_RANGE"
|
|
504
496
|
}
|
|
505
497
|
/** @enumType */
|
|
506
498
|
type PreparationTimePreparationTimeTypeWithLiterals = PreparationTimePreparationTimeType | 'MAX_TIME' | 'TIME_RANGE';
|
|
507
499
|
declare enum AsapFutureHandlingType {
|
|
508
|
-
/**
|
|
500
|
+
/** Orders can't be placed for a later time. */
|
|
509
501
|
NO_FUTURE_HANDLING = "NO_FUTURE_HANDLING",
|
|
510
502
|
/** Allows future orders for up to a specified number of business days ahead. */
|
|
511
503
|
BUSINESS_DAYS_AHEAD_HANDLING = "BUSINESS_DAYS_AHEAD_HANDLING"
|
|
@@ -514,8 +506,9 @@ declare enum AsapFutureHandlingType {
|
|
|
514
506
|
type AsapFutureHandlingTypeWithLiterals = AsapFutureHandlingType | 'NO_FUTURE_HANDLING' | 'BUSINESS_DAYS_AHEAD_HANDLING';
|
|
515
507
|
interface BusinessDaysAheadHandling {
|
|
516
508
|
/**
|
|
517
|
-
* Number of business days ahead for which orders can be scheduled.
|
|
518
|
-
*
|
|
509
|
+
* Number of business days ahead for which orders can be scheduled.
|
|
510
|
+
*
|
|
511
|
+
* When `0`, orders can be scheduled until the end of the current business day.
|
|
519
512
|
*/
|
|
520
513
|
daysCount?: number | null;
|
|
521
514
|
}
|
|
@@ -579,7 +572,7 @@ interface V1Address {
|
|
|
579
572
|
*/
|
|
580
573
|
formatted?: string | null;
|
|
581
574
|
/**
|
|
582
|
-
* Extra information that helps
|
|
575
|
+
* Extra information that helps find the location.
|
|
583
576
|
* @maxLength 500
|
|
584
577
|
*/
|
|
585
578
|
hint?: string | null;
|
|
@@ -604,7 +597,7 @@ interface V1StreetAddress {
|
|
|
604
597
|
*/
|
|
605
598
|
apt?: string;
|
|
606
599
|
}
|
|
607
|
-
/**
|
|
600
|
+
/** Geographic coordinates of the address. */
|
|
608
601
|
interface V1AddressLocation {
|
|
609
602
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
610
603
|
latitude?: number | null;
|
|
@@ -651,7 +644,7 @@ interface Tags {
|
|
|
651
644
|
}
|
|
652
645
|
interface TagList {
|
|
653
646
|
/**
|
|
654
|
-
* List of tag IDs
|
|
647
|
+
* List of tag IDs.
|
|
655
648
|
* @maxSize 100
|
|
656
649
|
* @maxLength 5
|
|
657
650
|
*/
|
|
@@ -726,11 +719,11 @@ interface ListBlockedPeriodsRequest {
|
|
|
726
719
|
* ID of the restaurant operation this blocked period is associated with. (See the Restaurants Operations API for more information.)
|
|
727
720
|
* @format GUID
|
|
728
721
|
*/
|
|
729
|
-
operationId
|
|
722
|
+
operationId?: string | null;
|
|
730
723
|
/** Start time of the desired window. If not specified, the current time is used. */
|
|
731
724
|
from?: Date | null;
|
|
732
725
|
/** End time of the desired window. */
|
|
733
|
-
until
|
|
726
|
+
until?: Date | null;
|
|
734
727
|
}
|
|
735
728
|
interface ListBlockedPeriodsResponse {
|
|
736
729
|
/**
|
|
@@ -979,7 +972,7 @@ interface URIs {
|
|
|
979
972
|
uriPaths?: string[];
|
|
980
973
|
}
|
|
981
974
|
interface DeliveryProfileConfiguredForOperation {
|
|
982
|
-
/** Operation */
|
|
975
|
+
/** Operation whose delivery profile was configured. */
|
|
983
976
|
operation?: Operation;
|
|
984
977
|
}
|
|
985
978
|
interface OperationsDataCloningCompleted {
|
|
@@ -1113,39 +1106,39 @@ interface ListOperationsResponse {
|
|
|
1113
1106
|
}
|
|
1114
1107
|
interface ListOperationIdsRequest {
|
|
1115
1108
|
/**
|
|
1116
|
-
*
|
|
1109
|
+
* Site ID.
|
|
1117
1110
|
* @format GUID
|
|
1118
1111
|
*/
|
|
1119
1112
|
metasiteId?: string;
|
|
1120
1113
|
}
|
|
1121
1114
|
interface ListOperationIdsResponse {
|
|
1122
1115
|
/**
|
|
1123
|
-
*
|
|
1116
|
+
* Operation IDs.
|
|
1124
1117
|
* @format GUID
|
|
1125
1118
|
*/
|
|
1126
1119
|
operationIds?: string[];
|
|
1127
1120
|
}
|
|
1128
1121
|
interface ListOperationsInternalRequest {
|
|
1129
1122
|
/**
|
|
1130
|
-
*
|
|
1123
|
+
* Site ID.
|
|
1131
1124
|
* @format GUID
|
|
1132
1125
|
*/
|
|
1133
1126
|
metasiteId?: string;
|
|
1134
1127
|
}
|
|
1135
1128
|
interface ListOperationsInternalResponse {
|
|
1136
|
-
/**
|
|
1129
|
+
/** Retrieved operations. */
|
|
1137
1130
|
operations?: Operation[];
|
|
1138
1131
|
}
|
|
1139
1132
|
interface ListAvailableFulfillmentOptionsRequest {
|
|
1140
1133
|
/**
|
|
1141
|
-
*
|
|
1134
|
+
* ID of the operation to retrieve fulfillment options for.
|
|
1142
1135
|
* @format GUID
|
|
1143
1136
|
*/
|
|
1144
1137
|
operationId: string;
|
|
1145
1138
|
/**
|
|
1146
|
-
* Delivery address.
|
|
1139
|
+
* Delivery address.
|
|
1147
1140
|
*
|
|
1148
|
-
*
|
|
1141
|
+
* When specified, the response includes only the delivery fulfillment options that deliver to this address.
|
|
1149
1142
|
*/
|
|
1150
1143
|
deliveryAddress?: CommonAddress;
|
|
1151
1144
|
}
|
|
@@ -1231,37 +1224,37 @@ declare enum SubdivisionType {
|
|
|
1231
1224
|
/** @enumType */
|
|
1232
1225
|
type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
|
|
1233
1226
|
interface ListAvailableFulfillmentOptionsResponse {
|
|
1234
|
-
/** Whether pickup fulfillment method is configured for the
|
|
1227
|
+
/** Whether a pickup fulfillment method is configured for the operation. */
|
|
1235
1228
|
pickupConfigured?: boolean;
|
|
1236
|
-
/** Whether delivery fulfillment method is configured for the
|
|
1229
|
+
/** Whether a delivery fulfillment method is configured for the operation. */
|
|
1237
1230
|
deliveryConfigured?: boolean;
|
|
1238
|
-
/**
|
|
1231
|
+
/** Available fulfillment options. */
|
|
1239
1232
|
fulfillmentOptions?: FulfillmentOption[];
|
|
1240
|
-
/** Whether availability exceptions block the
|
|
1233
|
+
/** Whether availability exceptions currently block ordering for the operation. */
|
|
1241
1234
|
blockedByAvailabilityExceptions?: boolean | null;
|
|
1242
|
-
/** Whether availability
|
|
1235
|
+
/** Whether an ordering-paused availability exception currently blocks ordering for the operation. */
|
|
1243
1236
|
blockedByPausedOrdering?: boolean | null;
|
|
1244
1237
|
}
|
|
1245
|
-
/** Fulfillment method that is currently available to fulfill orders, given its availability and the operation's scheduling
|
|
1238
|
+
/** Fulfillment method that is currently available to fulfill orders, given its availability and the operation's order scheduling. */
|
|
1246
1239
|
interface FulfillmentOption extends FulfillmentOptionFulfillmentTimeOptionsOneOf, FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf, FulfillmentOptionFulfillmentTypeOptionsOneOf {
|
|
1247
|
-
/**
|
|
1240
|
+
/** Maximum fulfillment time in minutes. */
|
|
1248
1241
|
maxTimeOptions?: number;
|
|
1249
|
-
/**
|
|
1242
|
+
/** Range of the fulfillment time in minutes. */
|
|
1250
1243
|
durationRangeOptions?: DurationRange;
|
|
1251
|
-
/** Options for fulfillment
|
|
1244
|
+
/** Options for displaying fulfillment times. Required when `fulfillmentTimesDisplayType` is `TIME_WINDOWS`. */
|
|
1252
1245
|
timeWindowsOptions?: TimeWindowDisplayConfig;
|
|
1253
|
-
/** Information about
|
|
1246
|
+
/** Information about the `PICKUP` fulfillment type. */
|
|
1254
1247
|
pickupOptions?: PickupDetails;
|
|
1255
|
-
/** Information about
|
|
1248
|
+
/** Information about the `DELIVERY` fulfillment type. */
|
|
1256
1249
|
deliveryOptions?: DeliveryDetails;
|
|
1257
|
-
/** Information about
|
|
1250
|
+
/** Information about the `DINE_IN` fulfillment type. */
|
|
1258
1251
|
dineInOptions?: DineInDetails;
|
|
1259
1252
|
/**
|
|
1260
1253
|
* Fulfillment method ID.
|
|
1261
1254
|
* @format GUID
|
|
1262
1255
|
*/
|
|
1263
1256
|
_id?: string | null;
|
|
1264
|
-
/** Fulfillment
|
|
1257
|
+
/** Fulfillment type. */
|
|
1265
1258
|
type?: FulfillmentTypeWithLiterals;
|
|
1266
1259
|
/**
|
|
1267
1260
|
* Minimum order price to qualify for the fulfillment option.
|
|
@@ -1275,46 +1268,46 @@ interface FulfillmentOption extends FulfillmentOptionFulfillmentTimeOptionsOneOf
|
|
|
1275
1268
|
fee?: string | null;
|
|
1276
1269
|
/** Availability of the fulfillment option. */
|
|
1277
1270
|
availability?: FulfillmentOptionAvailability;
|
|
1278
|
-
/**
|
|
1279
|
-
* Fulfillment time type.
|
|
1280
|
-
* Relevant only to ASAP operations.
|
|
1281
|
-
*/
|
|
1271
|
+
/** Fulfillment time type. Relevant only when `orderScheduling.type` is `ASAP`. */
|
|
1282
1272
|
fulfillmentTimeType?: FulfillmentTimeTypeWithLiterals;
|
|
1283
|
-
/** Fulfillment times display type. Relevant
|
|
1273
|
+
/** Fulfillment times display type. Relevant only when `orderScheduling.type` is `PREORDER`. */
|
|
1284
1274
|
fulfillmentTimesDisplayType?: FulfillmentTimesDisplayTypeWithLiterals;
|
|
1285
1275
|
/**
|
|
1286
|
-
* Minimum order price for free fulfillment.
|
|
1287
|
-
* If order price exceeds this amount, the
|
|
1276
|
+
* Minimum order price to qualify for free fulfillment.
|
|
1277
|
+
* If the order price exceeds this amount, the `fee` is waived.
|
|
1288
1278
|
* @decimalValue options { gte:0.00, maxScale:3 }
|
|
1289
1279
|
*/
|
|
1290
1280
|
freeFulfillmentPriceThreshold?: string | null;
|
|
1291
1281
|
/**
|
|
1292
|
-
*
|
|
1282
|
+
* Fulfillment instructions for the customer.
|
|
1293
1283
|
* @maxLength 250
|
|
1294
1284
|
*/
|
|
1295
1285
|
instructions?: string | null;
|
|
1296
|
-
/**
|
|
1286
|
+
/**
|
|
1287
|
+
* ID of the business location of the fulfillment option.
|
|
1288
|
+
* @format GUID
|
|
1289
|
+
*/
|
|
1297
1290
|
businessLocationId?: string | null;
|
|
1298
1291
|
}
|
|
1299
1292
|
/** @oneof */
|
|
1300
1293
|
interface FulfillmentOptionFulfillmentTimeOptionsOneOf {
|
|
1301
|
-
/**
|
|
1294
|
+
/** Maximum fulfillment time in minutes. */
|
|
1302
1295
|
maxTimeOptions?: number;
|
|
1303
|
-
/**
|
|
1296
|
+
/** Range of the fulfillment time in minutes. */
|
|
1304
1297
|
durationRangeOptions?: DurationRange;
|
|
1305
1298
|
}
|
|
1306
1299
|
/** @oneof */
|
|
1307
1300
|
interface FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf {
|
|
1308
|
-
/** Options for fulfillment
|
|
1301
|
+
/** Options for displaying fulfillment times. Required when `fulfillmentTimesDisplayType` is `TIME_WINDOWS`. */
|
|
1309
1302
|
timeWindowsOptions?: TimeWindowDisplayConfig;
|
|
1310
1303
|
}
|
|
1311
1304
|
/** @oneof */
|
|
1312
1305
|
interface FulfillmentOptionFulfillmentTypeOptionsOneOf {
|
|
1313
|
-
/** Information about
|
|
1306
|
+
/** Information about the `PICKUP` fulfillment type. */
|
|
1314
1307
|
pickupOptions?: PickupDetails;
|
|
1315
|
-
/** Information about
|
|
1308
|
+
/** Information about the `DELIVERY` fulfillment type. */
|
|
1316
1309
|
deliveryOptions?: DeliveryDetails;
|
|
1317
|
-
/** Information about
|
|
1310
|
+
/** Information about the `DINE_IN` fulfillment type. */
|
|
1318
1311
|
dineInOptions?: DineInDetails;
|
|
1319
1312
|
}
|
|
1320
1313
|
/** Availability of the fulfillment option. */
|
|
@@ -1385,15 +1378,15 @@ interface TimeWindowDisplayConfig {
|
|
|
1385
1378
|
/** Time window duration in minutes. */
|
|
1386
1379
|
durationInMinutes?: number;
|
|
1387
1380
|
}
|
|
1388
|
-
/** Information about
|
|
1381
|
+
/** Information about the `PICKUP` fulfillment type. */
|
|
1389
1382
|
interface PickupDetails {
|
|
1390
1383
|
/** Pickup address. This is the restaurant's address. */
|
|
1391
1384
|
address?: CommonAddress;
|
|
1392
1385
|
}
|
|
1393
|
-
/** Information about
|
|
1386
|
+
/** Information about the `DELIVERY` fulfillment type. */
|
|
1394
1387
|
interface DeliveryDetails {
|
|
1395
1388
|
/**
|
|
1396
|
-
*
|
|
1389
|
+
* ID of the app that provides the delivery.
|
|
1397
1390
|
* @format GUID
|
|
1398
1391
|
*/
|
|
1399
1392
|
deliveryProviderAppId?: string | null;
|
|
@@ -1402,10 +1395,10 @@ interface DeliveryDetails {
|
|
|
1402
1395
|
* @maxLength 250
|
|
1403
1396
|
*/
|
|
1404
1397
|
courierPickupInstructions?: string | null;
|
|
1405
|
-
/**
|
|
1398
|
+
/** Time it takes to deliver the order in minutes. */
|
|
1406
1399
|
deliveryTimeInMinutes?: number | null;
|
|
1407
1400
|
}
|
|
1408
|
-
/** Information about
|
|
1401
|
+
/** Information about the `DINE_IN` fulfillment type. */
|
|
1409
1402
|
interface DineInDetails {
|
|
1410
1403
|
/** Dine-in address. This is the restaurant's address. */
|
|
1411
1404
|
address?: CommonAddress;
|
|
@@ -1413,47 +1406,45 @@ interface DineInDetails {
|
|
|
1413
1406
|
interface ListFirstAvailableTimeSlotForFulfillmentTypesRequest {
|
|
1414
1407
|
/**
|
|
1415
1408
|
* Operation ID.
|
|
1416
|
-
* Returned fulfillment options will belong to this operation.
|
|
1417
1409
|
* @format GUID
|
|
1418
1410
|
*/
|
|
1419
1411
|
operationId: string;
|
|
1420
1412
|
/**
|
|
1421
|
-
* Delivery address.
|
|
1413
|
+
* Delivery address.
|
|
1422
1414
|
*
|
|
1423
|
-
*
|
|
1415
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
1424
1416
|
*/
|
|
1425
1417
|
deliveryAddress?: CommonAddress;
|
|
1426
1418
|
}
|
|
1427
1419
|
interface ListFirstAvailableTimeSlotForFulfillmentTypesResponse {
|
|
1428
1420
|
/**
|
|
1429
|
-
*
|
|
1421
|
+
* First available time slot of each fulfillment type.
|
|
1430
1422
|
*
|
|
1431
|
-
*
|
|
1432
|
-
* A delivery fulfillment type is returned only if the delivery address is provided.
|
|
1423
|
+
* Delivery time slots are limited to the delivery area only when a delivery address was specified.
|
|
1433
1424
|
*/
|
|
1434
1425
|
timeSlots?: FulfillmentTimeSlot[];
|
|
1435
1426
|
}
|
|
1436
1427
|
interface FulfillmentTimeSlot {
|
|
1437
|
-
/** Start
|
|
1428
|
+
/** Start date and time of the time slot. */
|
|
1438
1429
|
startTime?: Date | null;
|
|
1439
|
-
/** End
|
|
1430
|
+
/** End date and time of the time slot. */
|
|
1440
1431
|
endTime?: Date | null;
|
|
1441
|
-
/**
|
|
1432
|
+
/** Fulfillment type. */
|
|
1442
1433
|
fulfilmentType?: FulfillmentTypeWithLiterals;
|
|
1443
1434
|
/** Whether the time slot starts now. */
|
|
1444
1435
|
startsNow?: boolean;
|
|
1445
1436
|
/**
|
|
1446
|
-
* Details
|
|
1437
|
+
* Details of each fulfillment option available in the time slot.
|
|
1447
1438
|
* @maxSize 500
|
|
1448
1439
|
*/
|
|
1449
1440
|
fulfillmentDetails?: FulfillmentDetails[];
|
|
1450
|
-
/**
|
|
1441
|
+
/** Fulfillment address. Currently not returned. */
|
|
1451
1442
|
fulfillmentAddress?: FulfillmentAddress;
|
|
1452
1443
|
}
|
|
1453
1444
|
declare enum TimeSlotStatus {
|
|
1454
1445
|
/** The time slot is available for ordering. */
|
|
1455
1446
|
AVAILABLE = "AVAILABLE",
|
|
1456
|
-
/** The time slot is blocked by pacing.
|
|
1447
|
+
/** The time slot is blocked by order pacing. */
|
|
1457
1448
|
BLOCKED = "BLOCKED"
|
|
1458
1449
|
}
|
|
1459
1450
|
/** @enumType */
|
|
@@ -1465,20 +1456,20 @@ interface FulfillmentDetails extends FulfillmentDetailsFulfillmentTimeOptionsOne
|
|
|
1465
1456
|
/** Fulfillment time has a minimum and a maximum. */
|
|
1466
1457
|
durationRangeOptions?: DurationRange;
|
|
1467
1458
|
/**
|
|
1468
|
-
* Fee for using this fulfillment.
|
|
1459
|
+
* Fee for using this fulfillment option.
|
|
1469
1460
|
* @decimalValue options { gte:0.00, maxScale:3 }
|
|
1470
1461
|
*/
|
|
1471
1462
|
fee?: string | null;
|
|
1472
1463
|
/**
|
|
1473
|
-
* Minimum order price to qualify for using this fulfillment.
|
|
1464
|
+
* Minimum order price to qualify for using this fulfillment option.
|
|
1474
1465
|
* @decimalValue options { gte:0.00, maxScale:3 }
|
|
1475
1466
|
*/
|
|
1476
1467
|
minOrderPrice?: string | null;
|
|
1477
|
-
/** Fulfillment time type.
|
|
1468
|
+
/** Fulfillment time type. Relevant only when `orderScheduling.type` is `ASAP`. */
|
|
1478
1469
|
fulfillmentTimeType?: FulfillmentTimeTypeWithLiterals;
|
|
1479
1470
|
/**
|
|
1480
|
-
* Minimum order price for free fulfillment.
|
|
1481
|
-
* If order price exceeds this amount, the
|
|
1471
|
+
* Minimum order price to qualify for free fulfillment.
|
|
1472
|
+
* If the order price exceeds this amount, the `fee` is waived.
|
|
1482
1473
|
* @decimalValue options { gte:0.00, maxScale:3 }
|
|
1483
1474
|
*/
|
|
1484
1475
|
freeFulfillmentPriceThreshold?: string | null;
|
|
@@ -1491,12 +1482,12 @@ interface FulfillmentDetailsFulfillmentTimeOptionsOneOf {
|
|
|
1491
1482
|
durationRangeOptions?: DurationRange;
|
|
1492
1483
|
}
|
|
1493
1484
|
/**
|
|
1494
|
-
*
|
|
1495
|
-
* For pickup
|
|
1496
|
-
* For delivery
|
|
1485
|
+
* Fulfillment address.
|
|
1486
|
+
* For pickup, this is the address to pick the order up from.
|
|
1487
|
+
* For delivery, this is the address to deliver the order to.
|
|
1497
1488
|
*/
|
|
1498
1489
|
interface FulfillmentAddress {
|
|
1499
|
-
/**
|
|
1490
|
+
/** Fulfillment address. */
|
|
1500
1491
|
address?: CommonAddress;
|
|
1501
1492
|
}
|
|
1502
1493
|
interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest {
|
|
@@ -1508,21 +1499,21 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest {
|
|
|
1508
1499
|
/**
|
|
1509
1500
|
* Delivery address.
|
|
1510
1501
|
*
|
|
1511
|
-
*
|
|
1502
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
1512
1503
|
*/
|
|
1513
1504
|
deliveryAddress?: CommonAddress;
|
|
1514
1505
|
}
|
|
1515
1506
|
interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse {
|
|
1516
1507
|
/**
|
|
1517
|
-
* First available time slot
|
|
1508
|
+
* First available time slot of each fulfillment type.
|
|
1518
1509
|
*
|
|
1519
|
-
*
|
|
1510
|
+
* Delivery time slots are limited to the delivery area only when a delivery address was specified.
|
|
1520
1511
|
* @maxSize 2
|
|
1521
1512
|
*/
|
|
1522
1513
|
timeslotsPerFulfillmentType?: TimeSlotForFulfillment[];
|
|
1523
1514
|
}
|
|
1524
1515
|
interface TimeSlotForFulfillment {
|
|
1525
|
-
/** Time
|
|
1516
|
+
/** Time slot details. */
|
|
1526
1517
|
timeSlot?: TimeSlot;
|
|
1527
1518
|
/**
|
|
1528
1519
|
* Details for each available fulfillment option in the time slot.
|
|
@@ -1533,9 +1524,9 @@ interface TimeSlotForFulfillment {
|
|
|
1533
1524
|
fulfilmentType?: FulfillmentTypeWithLiterals;
|
|
1534
1525
|
}
|
|
1535
1526
|
interface TimeSlot {
|
|
1536
|
-
/** Start
|
|
1527
|
+
/** Start date and time of the time slot in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format. */
|
|
1537
1528
|
startTime?: Date | null;
|
|
1538
|
-
/** End
|
|
1529
|
+
/** End date and time of the time slot in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format. */
|
|
1539
1530
|
endTime?: Date | null;
|
|
1540
1531
|
/** Order scheduling type used by the operation. */
|
|
1541
1532
|
orderSchedulingType?: OrderSchedulingTypeWithLiterals;
|
|
@@ -1551,7 +1542,7 @@ type OrderSchedulingTypeWithLiterals = OrderSchedulingType | 'ASAP' | 'PREORDER'
|
|
|
1551
1542
|
declare enum TimeSlotForFulfillmentTimeSlotStatus {
|
|
1552
1543
|
/** The time slot is available for ordering. */
|
|
1553
1544
|
AVAILABLE = "AVAILABLE",
|
|
1554
|
-
/** The time slot is blocked by pacing
|
|
1545
|
+
/** The time slot is blocked by order pacing. */
|
|
1555
1546
|
BLOCKED = "BLOCKED"
|
|
1556
1547
|
}
|
|
1557
1548
|
/** @enumType */
|
|
@@ -1580,8 +1571,8 @@ interface FulfillmentInfo extends FulfillmentInfoFulfillmentTimeOneOf {
|
|
|
1580
1571
|
freeFulfillmentPriceThreshold?: string | null;
|
|
1581
1572
|
/**
|
|
1582
1573
|
* Details on the address of the fulfillment.
|
|
1583
|
-
* For pickup
|
|
1584
|
-
* For delivery
|
|
1574
|
+
* For pickup, this is the address to pick the order up from.
|
|
1575
|
+
* For delivery, this is the address to deliver the order to.
|
|
1585
1576
|
*/
|
|
1586
1577
|
address?: CommonAddress;
|
|
1587
1578
|
}
|
|
@@ -1594,22 +1585,21 @@ interface FulfillmentInfoFulfillmentTimeOneOf {
|
|
|
1594
1585
|
}
|
|
1595
1586
|
interface ListFirstAvailableTimeSlotsForOperationsRequest {
|
|
1596
1587
|
/**
|
|
1597
|
-
* Operation
|
|
1598
|
-
* Returned fulfillment options will belong to this operation.
|
|
1588
|
+
* Operation IDs.
|
|
1599
1589
|
* @format GUID
|
|
1600
1590
|
* @maxSize 100
|
|
1601
1591
|
*/
|
|
1602
1592
|
operationIds: string[];
|
|
1603
1593
|
/**
|
|
1604
|
-
* Delivery address.
|
|
1594
|
+
* Delivery address.
|
|
1605
1595
|
*
|
|
1606
|
-
*
|
|
1596
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
1607
1597
|
*/
|
|
1608
1598
|
deliveryAddress?: CommonAddress;
|
|
1609
1599
|
}
|
|
1610
1600
|
interface ListFirstAvailableTimeSlotsForOperationsResponse {
|
|
1611
1601
|
/**
|
|
1612
|
-
*
|
|
1602
|
+
* First available time slot of each fulfillment type for each operation.
|
|
1613
1603
|
* @maxSize 100
|
|
1614
1604
|
*/
|
|
1615
1605
|
timeSlots?: OperationTimeSlot[];
|
|
@@ -1621,7 +1611,7 @@ interface OperationTimeSlot {
|
|
|
1621
1611
|
*/
|
|
1622
1612
|
operationId?: string;
|
|
1623
1613
|
/**
|
|
1624
|
-
*
|
|
1614
|
+
* First available time slot of each fulfillment type for this operation.
|
|
1625
1615
|
* @maxSize 100
|
|
1626
1616
|
*/
|
|
1627
1617
|
timeSlots?: FulfillmentTimeSlot[];
|
|
@@ -1636,7 +1626,7 @@ interface CalculateFirstAvailableTimeSlotsPerOperationRequest {
|
|
|
1636
1626
|
/**
|
|
1637
1627
|
* Delivery address.
|
|
1638
1628
|
*
|
|
1639
|
-
*
|
|
1629
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
1640
1630
|
*/
|
|
1641
1631
|
deliveryAddress?: CommonAddress;
|
|
1642
1632
|
}
|
|
@@ -1644,7 +1634,7 @@ interface CalculateFirstAvailableTimeSlotsPerOperationResponse {
|
|
|
1644
1634
|
/**
|
|
1645
1635
|
* First available time slot of each fulfillment type for each operation.
|
|
1646
1636
|
*
|
|
1647
|
-
*
|
|
1637
|
+
* Delivery time slots are limited to the delivery area only when a delivery address was specified.
|
|
1648
1638
|
* @maxSize 100
|
|
1649
1639
|
*/
|
|
1650
1640
|
timeSlotsPerOperation?: TimeSlotForOperation[];
|
|
@@ -1664,28 +1654,26 @@ interface TimeSlotForOperation {
|
|
|
1664
1654
|
interface ListFirstAvailableTimeSlotsForMenusRequest {
|
|
1665
1655
|
/**
|
|
1666
1656
|
* Operation ID.
|
|
1667
|
-
* Returned timeslots that are belong to this operation.
|
|
1668
1657
|
* @format GUID
|
|
1669
1658
|
*/
|
|
1670
1659
|
operationId: string | null;
|
|
1671
1660
|
/**
|
|
1672
|
-
* Delivery address.
|
|
1661
|
+
* Delivery address.
|
|
1673
1662
|
*
|
|
1674
|
-
*
|
|
1663
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
1675
1664
|
*/
|
|
1676
1665
|
deliveryAddress?: CommonAddress;
|
|
1677
|
-
/** Cursor paging */
|
|
1666
|
+
/** Cursor paging. */
|
|
1678
1667
|
cursorPaging?: CommonCursorPaging;
|
|
1679
1668
|
}
|
|
1680
1669
|
interface ListFirstAvailableTimeSlotsForMenusResponse {
|
|
1681
1670
|
/**
|
|
1682
|
-
*
|
|
1683
|
-
* For each menu will be returned the first available time slot for each fulfillment type.
|
|
1671
|
+
* First available time slot of each fulfillment type for each menu.
|
|
1684
1672
|
* @maxSize 100
|
|
1685
1673
|
*/
|
|
1686
1674
|
timeSlotsPerMenu?: FirstFulfillmentTimeSlotsPerMenu[];
|
|
1687
1675
|
/**
|
|
1688
|
-
* Cursor to next request.
|
|
1676
|
+
* Cursor pointing to the next page of results. Pass it in `cursorPaging.cursor` in the next request.
|
|
1689
1677
|
* @maxLength 16000
|
|
1690
1678
|
*/
|
|
1691
1679
|
cursor?: string | null;
|
|
@@ -1697,7 +1685,7 @@ interface FirstFulfillmentTimeSlotsPerMenu {
|
|
|
1697
1685
|
*/
|
|
1698
1686
|
menuId?: string | null;
|
|
1699
1687
|
/**
|
|
1700
|
-
*
|
|
1688
|
+
* First available time slot of each fulfillment type for this menu.
|
|
1701
1689
|
* @maxSize 2
|
|
1702
1690
|
*/
|
|
1703
1691
|
timeslotsPerFulfillmentType?: FulfillmentTimeSlot[];
|
|
@@ -1711,19 +1699,23 @@ interface CalculateFirstAvailableTimeSlotsPerMenuRequest {
|
|
|
1711
1699
|
/**
|
|
1712
1700
|
* Delivery address.
|
|
1713
1701
|
*
|
|
1714
|
-
*
|
|
1702
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
1715
1703
|
*/
|
|
1716
1704
|
deliveryAddress?: CommonAddress;
|
|
1717
1705
|
/** Cursor paging. */
|
|
1718
1706
|
cursorPaging?: CommonCursorPaging;
|
|
1719
|
-
/**
|
|
1707
|
+
/**
|
|
1708
|
+
* Whether to retrieve time slots only for menus that have online ordering enabled.
|
|
1709
|
+
*
|
|
1710
|
+
* Default: `false`
|
|
1711
|
+
*/
|
|
1720
1712
|
onlyOnlineOrderingEnabled?: boolean | null;
|
|
1721
1713
|
}
|
|
1722
1714
|
interface CalculateFirstAvailableTimeSlotsPerMenuResponse {
|
|
1723
1715
|
/**
|
|
1724
1716
|
* First available time slot of each fulfillment type for each menu.
|
|
1725
1717
|
*
|
|
1726
|
-
*
|
|
1718
|
+
* Delivery time slots are limited to the delivery area only when a delivery address was specified.
|
|
1727
1719
|
* @maxSize 100
|
|
1728
1720
|
*/
|
|
1729
1721
|
timeSlotsPerMenu?: FulfillmentTimeSlotsPerMenu[];
|
|
@@ -1759,27 +1751,30 @@ interface PagingMetadata {
|
|
|
1759
1751
|
tooManyToCount?: boolean | null;
|
|
1760
1752
|
}
|
|
1761
1753
|
interface CalculateFirstAvailableTimeSlotsForItemRequest {
|
|
1762
|
-
/**
|
|
1754
|
+
/**
|
|
1755
|
+
* Operation ID.
|
|
1756
|
+
* @format GUID
|
|
1757
|
+
*/
|
|
1763
1758
|
operationId: string | null;
|
|
1764
1759
|
/**
|
|
1765
|
-
*
|
|
1760
|
+
* ID of the menu that contains the item.
|
|
1766
1761
|
* @format GUID
|
|
1767
1762
|
*/
|
|
1768
1763
|
menuId: string | null;
|
|
1769
1764
|
/**
|
|
1770
|
-
*
|
|
1765
|
+
* ID of the menu section that contains the item.
|
|
1771
1766
|
* @format GUID
|
|
1772
1767
|
*/
|
|
1773
1768
|
sectionId: string | null;
|
|
1774
1769
|
/**
|
|
1775
|
-
*
|
|
1770
|
+
* ID of the item to retrieve the first available time slots for.
|
|
1776
1771
|
* @format GUID
|
|
1777
1772
|
*/
|
|
1778
1773
|
itemId: string | null;
|
|
1779
1774
|
/**
|
|
1780
|
-
* Delivery address.
|
|
1775
|
+
* Delivery address.
|
|
1781
1776
|
*
|
|
1782
|
-
*
|
|
1777
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
1783
1778
|
*/
|
|
1784
1779
|
deliveryAddress?: CommonAddress;
|
|
1785
1780
|
}
|
|
@@ -1787,7 +1782,7 @@ interface CalculateFirstAvailableTimeSlotsForItemResponse {
|
|
|
1787
1782
|
/**
|
|
1788
1783
|
* First available time slot of each fulfillment type.
|
|
1789
1784
|
*
|
|
1790
|
-
*
|
|
1785
|
+
* Delivery time slots are limited to the delivery area only when a delivery address was specified.
|
|
1791
1786
|
*/
|
|
1792
1787
|
timeslotsPerFulfillmentType?: TimeSlotForFulfillment[];
|
|
1793
1788
|
/** Metadata for the paginated results. */
|
|
@@ -1796,17 +1791,16 @@ interface CalculateFirstAvailableTimeSlotsForItemResponse {
|
|
|
1796
1791
|
interface ListAvailableTimeSlotsForDateRequest {
|
|
1797
1792
|
/**
|
|
1798
1793
|
* Operation ID.
|
|
1799
|
-
* The returned fulfillment options will belong to this operation.
|
|
1800
1794
|
* @format GUID
|
|
1801
1795
|
*/
|
|
1802
1796
|
operationId: string;
|
|
1803
1797
|
/**
|
|
1804
|
-
* Delivery address.
|
|
1798
|
+
* Delivery address.
|
|
1805
1799
|
*
|
|
1806
|
-
*
|
|
1800
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
1807
1801
|
*/
|
|
1808
1802
|
deliveryAddress?: CommonAddress;
|
|
1809
|
-
/** Date
|
|
1803
|
+
/** Date to retrieve the available time slots for. */
|
|
1810
1804
|
date: _Date;
|
|
1811
1805
|
}
|
|
1812
1806
|
interface _Date {
|
|
@@ -1830,7 +1824,7 @@ interface _Date {
|
|
|
1830
1824
|
year?: number;
|
|
1831
1825
|
}
|
|
1832
1826
|
interface ListAvailableTimeSlotsForDateResponse {
|
|
1833
|
-
/**
|
|
1827
|
+
/** Available time slots of each fulfillment type for the specified date. */
|
|
1834
1828
|
timeSlots?: FulfillmentTimeSlot[];
|
|
1835
1829
|
}
|
|
1836
1830
|
interface CalculateAvailableTimeSlotsForDateRequest {
|
|
@@ -1842,17 +1836,17 @@ interface CalculateAvailableTimeSlotsForDateRequest {
|
|
|
1842
1836
|
/**
|
|
1843
1837
|
* Delivery address.
|
|
1844
1838
|
*
|
|
1845
|
-
*
|
|
1839
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
1846
1840
|
*/
|
|
1847
1841
|
deliveryAddress?: CommonAddress;
|
|
1848
|
-
/** Date
|
|
1842
|
+
/** Date to retrieve the available time slots for. */
|
|
1849
1843
|
date: _Date;
|
|
1850
1844
|
}
|
|
1851
1845
|
interface CalculateAvailableTimeSlotsForDateResponse {
|
|
1852
1846
|
/**
|
|
1853
1847
|
* Available time slots of each fulfillment type for the specified date.
|
|
1854
1848
|
*
|
|
1855
|
-
*
|
|
1849
|
+
* Delivery time slots are limited to the delivery area only when a delivery address was specified.
|
|
1856
1850
|
* @maxSize 2
|
|
1857
1851
|
*/
|
|
1858
1852
|
timeslotsPerFulfillmentType?: TimeSlotForFulfillment[];
|
|
@@ -1860,14 +1854,13 @@ interface CalculateAvailableTimeSlotsForDateResponse {
|
|
|
1860
1854
|
interface ListAvailableDatesInRangeRequest {
|
|
1861
1855
|
/**
|
|
1862
1856
|
* Operation ID.
|
|
1863
|
-
* The returned fulfillment options will belong to this operation.
|
|
1864
1857
|
* @format GUID
|
|
1865
1858
|
*/
|
|
1866
1859
|
operationId: string;
|
|
1867
1860
|
/**
|
|
1868
|
-
* Delivery address.
|
|
1861
|
+
* Delivery address.
|
|
1869
1862
|
*
|
|
1870
|
-
*
|
|
1863
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
1871
1864
|
*/
|
|
1872
1865
|
deliveryAddress?: CommonAddress;
|
|
1873
1866
|
/** Start date and time of the range. */
|
|
@@ -1876,7 +1869,7 @@ interface ListAvailableDatesInRangeRequest {
|
|
|
1876
1869
|
until: _Date;
|
|
1877
1870
|
}
|
|
1878
1871
|
interface ListAvailableDatesInRangeResponse {
|
|
1879
|
-
/**
|
|
1872
|
+
/** Available dates of each fulfillment type, in descending order. */
|
|
1880
1873
|
availableDates?: FulfillmentTypeAvailableDates[];
|
|
1881
1874
|
}
|
|
1882
1875
|
/** Available dates for a given fulfillment type. */
|
|
@@ -1884,7 +1877,7 @@ interface FulfillmentTypeAvailableDates {
|
|
|
1884
1877
|
/** Fulfillment type. */
|
|
1885
1878
|
fulfilmentType?: FulfillmentTypeWithLiterals;
|
|
1886
1879
|
/**
|
|
1887
|
-
* Available dates in descending order
|
|
1880
|
+
* Available dates in descending order, latest first.
|
|
1888
1881
|
*
|
|
1889
1882
|
* Contains all dates that have at least one available time slot for this fulfillment type.
|
|
1890
1883
|
* @minSize 1
|
|
@@ -1901,7 +1894,7 @@ interface CalculateAvailableDatesInRangeRequest {
|
|
|
1901
1894
|
/**
|
|
1902
1895
|
* Delivery address.
|
|
1903
1896
|
*
|
|
1904
|
-
*
|
|
1897
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
1905
1898
|
*/
|
|
1906
1899
|
deliveryAddress?: CommonAddress;
|
|
1907
1900
|
/** Start date and time of the range. */
|
|
@@ -1919,27 +1912,27 @@ interface CalculateAvailableDatesInRangeResponse {
|
|
|
1919
1912
|
}
|
|
1920
1913
|
interface GetExpectedFulfillmentSelectionRequest {
|
|
1921
1914
|
/**
|
|
1922
|
-
* Operation ID.
|
|
1915
|
+
* Operation ID.
|
|
1923
1916
|
* @format GUID
|
|
1924
1917
|
*/
|
|
1925
1918
|
operationId?: string;
|
|
1926
1919
|
/**
|
|
1927
|
-
* Delivery address.
|
|
1920
|
+
* Delivery address.
|
|
1928
1921
|
*
|
|
1929
|
-
*
|
|
1922
|
+
* When specified, only delivery fulfillment options that deliver to this address are returned.
|
|
1930
1923
|
*/
|
|
1931
1924
|
deliveryAddress?: CommonAddress;
|
|
1932
|
-
/** Start
|
|
1925
|
+
/** Start date and time of the time slot. */
|
|
1933
1926
|
timeslotStartTime?: Date | null;
|
|
1934
|
-
/** End
|
|
1927
|
+
/** End date and time of the time slot. */
|
|
1935
1928
|
timeslotEndTime?: Date | null;
|
|
1936
|
-
/**
|
|
1929
|
+
/** Fulfillment type. */
|
|
1937
1930
|
fulfilmentType?: FulfillmentTypeWithLiterals;
|
|
1938
|
-
/** Whether
|
|
1931
|
+
/** Whether an order can be submitted for immediate handling. */
|
|
1939
1932
|
canSubmitOrderForNow?: boolean | null;
|
|
1940
1933
|
}
|
|
1941
1934
|
interface GetExpectedFulfillmentSelectionResponse {
|
|
1942
|
-
/** Expected fulfillment
|
|
1935
|
+
/** Expected fulfillment options. */
|
|
1943
1936
|
expectedFulfillmentSelections?: FulfillmentOption[];
|
|
1944
1937
|
}
|
|
1945
1938
|
interface UpdateImmutableFieldsRequest {
|
|
@@ -1948,17 +1941,17 @@ interface UpdateImmutableFieldsRequest {
|
|
|
1948
1941
|
}
|
|
1949
1942
|
interface ImmutableFields {
|
|
1950
1943
|
/**
|
|
1951
|
-
*
|
|
1944
|
+
* Operation ID.
|
|
1952
1945
|
* @format GUID
|
|
1953
1946
|
*/
|
|
1954
1947
|
_id?: string;
|
|
1955
1948
|
/**
|
|
1956
|
-
*
|
|
1949
|
+
* Operation group ID.
|
|
1957
1950
|
* @format GUID
|
|
1958
1951
|
*/
|
|
1959
1952
|
operationGroupId?: string | null;
|
|
1960
1953
|
/**
|
|
1961
|
-
*
|
|
1954
|
+
* Business location ID.
|
|
1962
1955
|
* @format GUID
|
|
1963
1956
|
*/
|
|
1964
1957
|
businessLocationId?: string | null;
|
|
@@ -1969,51 +1962,50 @@ interface UpdateImmutableFieldsResponse {
|
|
|
1969
1962
|
}
|
|
1970
1963
|
interface ValidateOperationAddressRequest {
|
|
1971
1964
|
/**
|
|
1972
|
-
*
|
|
1965
|
+
* ID of the operation whose business location address to validate.
|
|
1973
1966
|
* @format GUID
|
|
1974
1967
|
*/
|
|
1975
1968
|
operationId: string;
|
|
1976
1969
|
}
|
|
1977
|
-
/** Response message for address validation */
|
|
1978
1970
|
interface ValidateOperationAddressResponse {
|
|
1979
1971
|
/** Whether the address is valid. */
|
|
1980
1972
|
valid?: boolean;
|
|
1981
1973
|
/**
|
|
1982
|
-
* List of violations. Empty if the address is
|
|
1974
|
+
* List of violations. Empty if the address is valid.
|
|
1983
1975
|
* @maxSize 5
|
|
1984
1976
|
*/
|
|
1985
1977
|
violations?: AddressViolation[];
|
|
1986
1978
|
}
|
|
1987
|
-
/**
|
|
1979
|
+
/** Address violation. */
|
|
1988
1980
|
interface AddressViolation {
|
|
1989
1981
|
/** Type of violation in the address. */
|
|
1990
1982
|
type?: ViolationTypeWithLiterals;
|
|
1991
1983
|
}
|
|
1992
1984
|
/** Type of violation in the address. */
|
|
1993
1985
|
declare enum ViolationType {
|
|
1994
|
-
/**
|
|
1986
|
+
/** Unknown violation type. */
|
|
1995
1987
|
UNKNOWN = "UNKNOWN",
|
|
1996
|
-
/** The
|
|
1988
|
+
/** The business location has no address. */
|
|
1997
1989
|
NO_ADDRESS = "NO_ADDRESS",
|
|
1998
|
-
/** The address
|
|
1990
|
+
/** The address has no formatted address. */
|
|
1999
1991
|
MISSING_FORMATTED_ADDRESS = "MISSING_FORMATTED_ADDRESS",
|
|
2000
|
-
/** The address has
|
|
1992
|
+
/** The address has no geocode coordinates, or the coordinates are 0,0. */
|
|
2001
1993
|
INVALID_GEOCODE = "INVALID_GEOCODE",
|
|
2002
|
-
/** The address
|
|
1994
|
+
/** The address has no country. */
|
|
2003
1995
|
MISSING_COUNTRY = "MISSING_COUNTRY",
|
|
2004
|
-
/** The address
|
|
1996
|
+
/** The address has no subdivision, and its country requires one. */
|
|
2005
1997
|
MISSING_SUBDIVISION = "MISSING_SUBDIVISION"
|
|
2006
1998
|
}
|
|
2007
1999
|
/** @enumType */
|
|
2008
2000
|
type ViolationTypeWithLiterals = ViolationType | 'UNKNOWN' | 'NO_ADDRESS' | 'MISSING_FORMATTED_ADDRESS' | 'INVALID_GEOCODE' | 'MISSING_COUNTRY' | 'MISSING_SUBDIVISION';
|
|
2009
2001
|
interface UpdateDeliveryRegionsRequest {
|
|
2010
2002
|
/**
|
|
2011
|
-
* Country code for delivery destinations
|
|
2003
|
+
* Country code for delivery destinations. For example, `US`.
|
|
2012
2004
|
* @maxLength 150
|
|
2013
2005
|
*/
|
|
2014
2006
|
countryCode?: string;
|
|
2015
2007
|
/**
|
|
2016
|
-
*
|
|
2008
|
+
* Subdivision for delivery destinations, such as a state or province.
|
|
2017
2009
|
* @maxLength 150
|
|
2018
2010
|
*/
|
|
2019
2011
|
subdivision?: string | null;
|
|
@@ -2077,7 +2069,11 @@ interface BulkActionMetadata {
|
|
|
2077
2069
|
undetailedFailures?: number;
|
|
2078
2070
|
}
|
|
2079
2071
|
interface BulkUpdateOperationTagsByFilterRequest {
|
|
2080
|
-
/**
|
|
2072
|
+
/**
|
|
2073
|
+
* Filter that determines which operations to update tags for. Specify an empty filter to update all operations.
|
|
2074
|
+
*
|
|
2075
|
+
* See [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) for more information.
|
|
2076
|
+
*/
|
|
2081
2077
|
filter: Record<string, any> | null;
|
|
2082
2078
|
/** Tags to assign to the operations. */
|
|
2083
2079
|
assignTags?: Tags;
|
|
@@ -2086,7 +2082,7 @@ interface BulkUpdateOperationTagsByFilterRequest {
|
|
|
2086
2082
|
}
|
|
2087
2083
|
interface BulkUpdateOperationTagsByFilterResponse {
|
|
2088
2084
|
/**
|
|
2089
|
-
* Job ID. Pass this ID to Get Async Job
|
|
2085
|
+
* Job ID. Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job) to retrieve the status of the asynchronous operation.
|
|
2090
2086
|
* @format GUID
|
|
2091
2087
|
*/
|
|
2092
2088
|
jobId?: string;
|
|
@@ -3127,24 +3123,6 @@ interface OperationUpdatedEnvelope {
|
|
|
3127
3123
|
* @slug updated
|
|
3128
3124
|
*/
|
|
3129
3125
|
declare function onOperationUpdated(handler: (event: OperationUpdatedEnvelope) => void | Promise<void>): void;
|
|
3130
|
-
/**
|
|
3131
|
-
* List Blocked Periods.
|
|
3132
|
-
* @param operationId - ID of the restaurant operation this blocked period is associated with. (See the Restaurants Operations API for more information.)
|
|
3133
|
-
* @public
|
|
3134
|
-
* @documentationMaturity preview
|
|
3135
|
-
* @requiredField operationId
|
|
3136
|
-
* @requiredField options.until
|
|
3137
|
-
* @permissionId RESTAURANTS.OPERATION_PACING_READ
|
|
3138
|
-
* @applicableIdentity APP
|
|
3139
|
-
* @fqn wix.restaurants.operation.pacing.v1.OperationPacingService.ListBlockedPeriods
|
|
3140
|
-
*/
|
|
3141
|
-
declare function listBlockedPeriods(operationId: string, options?: NonNullablePaths<ListBlockedPeriodsOptions, `until`, 0>): Promise<NonNullablePaths<ListBlockedPeriodsResponse, `blockPeriods`, 0>>;
|
|
3142
|
-
interface ListBlockedPeriodsOptions {
|
|
3143
|
-
/** Start time of the desired window. If not specified, the current time is used. */
|
|
3144
|
-
from?: Date | null;
|
|
3145
|
-
/** End time of the desired window. */
|
|
3146
|
-
until: Date | null;
|
|
3147
|
-
}
|
|
3148
3126
|
/**
|
|
3149
3127
|
* Retrieves an operation.
|
|
3150
3128
|
* @param operationId - ID of the operation to retrieve.
|
|
@@ -3159,14 +3137,12 @@ declare function getOperation(operationId: string): Promise<NonNullablePaths<Ope
|
|
|
3159
3137
|
/**
|
|
3160
3138
|
* Updates an operation.
|
|
3161
3139
|
*
|
|
3162
|
-
*
|
|
3163
|
-
* so you must include the entire object unless you are not updating `orderScheduling` at all. <br />
|
|
3164
|
-
*
|
|
3165
|
-
* Each time the operation is updated,
|
|
3166
|
-
* `revision` increments by 1.
|
|
3140
|
+
* Each time the operation is updated, `revision` increments by 1.
|
|
3167
3141
|
* The current `revision` must be passed when updating the operation.
|
|
3168
|
-
* This ensures you're working with the latest operation
|
|
3169
|
-
*
|
|
3142
|
+
* This ensures you're working with the latest operation and prevents unintended overwrites.
|
|
3143
|
+
*
|
|
3144
|
+
* When you update `orderScheduling`, the whole object is overwritten.
|
|
3145
|
+
* Specify the complete `orderScheduling` object, including the values you aren't changing.
|
|
3170
3146
|
* @param _id - Operation ID.
|
|
3171
3147
|
* @public
|
|
3172
3148
|
* @requiredField _id
|
|
@@ -3188,9 +3164,9 @@ interface UpdateOperation {
|
|
|
3188
3164
|
*/
|
|
3189
3165
|
_id?: string | null;
|
|
3190
3166
|
/**
|
|
3191
|
-
* Revision number
|
|
3167
|
+
* Revision number, which increments by 1 each time the operation is updated.
|
|
3192
3168
|
* To prevent conflicting changes,
|
|
3193
|
-
* the
|
|
3169
|
+
* the current revision must be passed when updating the operation.
|
|
3194
3170
|
* @readonly
|
|
3195
3171
|
*/
|
|
3196
3172
|
revision?: string | null;
|
|
@@ -3207,8 +3183,9 @@ interface UpdateOperation {
|
|
|
3207
3183
|
/** Operation name. */
|
|
3208
3184
|
name?: string | null;
|
|
3209
3185
|
/**
|
|
3210
|
-
* Whether the operation is the default operation.
|
|
3211
|
-
*
|
|
3186
|
+
* Whether the operation is the default operation.
|
|
3187
|
+
*
|
|
3188
|
+
* Default: `false`
|
|
3212
3189
|
*/
|
|
3213
3190
|
default?: boolean | null;
|
|
3214
3191
|
/**
|
|
@@ -3217,14 +3194,14 @@ interface UpdateOperation {
|
|
|
3217
3194
|
* @maxSize 500
|
|
3218
3195
|
*/
|
|
3219
3196
|
fulfillmentIds?: string[] | null;
|
|
3220
|
-
/** Online ordering status of the operation.
|
|
3197
|
+
/** Online ordering status of the operation. */
|
|
3221
3198
|
onlineOrderingStatus?: OnlineOrderingStatusTypeWithLiterals;
|
|
3222
3199
|
/** Default fulfillment type of the operation. */
|
|
3223
3200
|
defaultFulfillmentType?: FulfillmentTypeWithLiterals;
|
|
3224
3201
|
/** Information about when an order can be placed for. */
|
|
3225
3202
|
orderScheduling?: OrderScheduling;
|
|
3226
3203
|
/**
|
|
3227
|
-
* ID of the operation group this operation belongs to.
|
|
3204
|
+
* ID of the operation group this operation belongs to. Set automatically when the operation is created.
|
|
3228
3205
|
* @format GUID
|
|
3229
3206
|
* @immutable
|
|
3230
3207
|
*/
|
|
@@ -3236,13 +3213,20 @@ interface UpdateOperation {
|
|
|
3236
3213
|
* @readonly
|
|
3237
3214
|
*/
|
|
3238
3215
|
businessLocationId?: string | null;
|
|
3239
|
-
/**
|
|
3216
|
+
/**
|
|
3217
|
+
* Custom field data for the operation object.
|
|
3218
|
+
*
|
|
3219
|
+
* [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.
|
|
3220
|
+
*/
|
|
3240
3221
|
extendedFields?: ExtendedFields;
|
|
3241
3222
|
/** Tags ([SDK](https://dev.wix.com/docs/sdk/backend-modules/tags/tags/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/tags/introduction)) used to classify and sort different types of operations. */
|
|
3242
3223
|
tags?: Tags;
|
|
3243
3224
|
}
|
|
3244
3225
|
/**
|
|
3245
3226
|
* Deletes an operation.
|
|
3227
|
+
*
|
|
3228
|
+
* Operations are deleted automatically when their operation group is deleted, so you don't need to delete them yourself.
|
|
3229
|
+
* Note that Delete Operation Group deletes the whole operation group, including its operations at all business locations.
|
|
3246
3230
|
* @param operationId - ID of the operation to delete.
|
|
3247
3231
|
* @public
|
|
3248
3232
|
* @requiredField operationId
|
|
@@ -3420,8 +3404,11 @@ declare const utils: {
|
|
|
3420
3404
|
query: _wix_sdk_types.QueryHelpers<Operation, OperationQuerySpec, OperationQuery>;
|
|
3421
3405
|
};
|
|
3422
3406
|
/**
|
|
3423
|
-
* Retrieves a list of operations.
|
|
3424
|
-
*
|
|
3407
|
+
* Retrieves a list of up to 50 operations.
|
|
3408
|
+
*
|
|
3409
|
+
* Operations are sorted by `createdDate` in ascending order.
|
|
3410
|
+
*
|
|
3411
|
+
* To retrieve more than 50 operations, call [Query Operation](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/operations/query-operation) and page through the results.
|
|
3425
3412
|
* @public
|
|
3426
3413
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3427
3414
|
* @applicableIdentity APP
|
|
@@ -3429,12 +3416,15 @@ declare const utils: {
|
|
|
3429
3416
|
*/
|
|
3430
3417
|
declare function listOperations(): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`, 4>>;
|
|
3431
3418
|
/**
|
|
3432
|
-
* Retrieves a list of
|
|
3419
|
+
* Retrieves a list of the fulfillment options currently available for an operation.
|
|
3433
3420
|
*
|
|
3434
|
-
*
|
|
3435
|
-
*
|
|
3436
|
-
*
|
|
3437
|
-
*
|
|
3421
|
+
* A fulfillment option is available when an order can be submitted for it, given the operation's order scheduling and the fulfillment method's availability.
|
|
3422
|
+
*
|
|
3423
|
+
* If you don't specify `deliveryAddress`, the response includes fulfillment options of every fulfillment type.
|
|
3424
|
+
* If you specify `deliveryAddress`, the response includes the non-delivery fulfillment options and only the delivery fulfillment options whose delivery area contains the address.
|
|
3425
|
+
*
|
|
3426
|
+
* The response also indicates whether pickup and delivery are configured for the operation, and whether availability exceptions currently block ordering.
|
|
3427
|
+
* @param operationId - ID of the operation to retrieve fulfillment options for.
|
|
3438
3428
|
* @public
|
|
3439
3429
|
* @requiredField operationId
|
|
3440
3430
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
@@ -3444,18 +3434,17 @@ declare function listOperations(): Promise<NonNullablePaths<ListOperationsRespon
|
|
|
3444
3434
|
declare function listAvailableFulfillmentOptions(operationId: string, options?: ListAvailableFulfillmentOptions): Promise<NonNullablePaths<ListAvailableFulfillmentOptionsResponse, `pickupConfigured` | `deliveryConfigured` | `fulfillmentOptions` | `fulfillmentOptions.${number}.maxTimeOptions` | `fulfillmentOptions.${number}.durationRangeOptions.minDuration` | `fulfillmentOptions.${number}.durationRangeOptions.maxDuration` | `fulfillmentOptions.${number}.timeWindowsOptions.durationInMinutes` | `fulfillmentOptions.${number}.type` | `fulfillmentOptions.${number}.availability.asapHandlingAvailable` | `fulfillmentOptions.${number}.fulfillmentTimeType` | `fulfillmentOptions.${number}.fulfillmentTimesDisplayType`, 3>>;
|
|
3445
3435
|
interface ListAvailableFulfillmentOptions {
|
|
3446
3436
|
/**
|
|
3447
|
-
* Delivery address.
|
|
3437
|
+
* Delivery address.
|
|
3448
3438
|
*
|
|
3449
|
-
*
|
|
3439
|
+
* When specified, the response includes only the delivery fulfillment options that deliver to this address.
|
|
3450
3440
|
*/
|
|
3451
3441
|
deliveryAddress?: CommonAddress;
|
|
3452
3442
|
}
|
|
3453
3443
|
/**
|
|
3454
|
-
* Retrieves
|
|
3444
|
+
* Retrieves the first available time slot of each fulfillment type for an operation.
|
|
3455
3445
|
*
|
|
3456
|
-
*
|
|
3446
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3457
3447
|
* @param operationId - Operation ID.
|
|
3458
|
-
* Returned fulfillment options will belong to this operation.
|
|
3459
3448
|
* @public
|
|
3460
3449
|
* @requiredField operationId
|
|
3461
3450
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
@@ -3468,17 +3457,16 @@ interface ListAvailableFulfillmentOptions {
|
|
|
3468
3457
|
declare function listFirstAvailableTimeSlotForFulfillmentTypes(operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 2>>;
|
|
3469
3458
|
interface ListFirstAvailableTimeSlotForFulfillmentTypesOptions {
|
|
3470
3459
|
/**
|
|
3471
|
-
* Delivery address.
|
|
3460
|
+
* Delivery address.
|
|
3472
3461
|
*
|
|
3473
|
-
*
|
|
3462
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3474
3463
|
*/
|
|
3475
3464
|
deliveryAddress?: CommonAddress;
|
|
3476
3465
|
}
|
|
3477
3466
|
/**
|
|
3478
|
-
*
|
|
3467
|
+
* Calculates the first available time slot of each fulfillment type for a specified operation.
|
|
3479
3468
|
*
|
|
3480
|
-
*
|
|
3481
|
-
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3469
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3482
3470
|
* @param operationId - Operation ID.
|
|
3483
3471
|
* @public
|
|
3484
3472
|
* @requiredField operationId
|
|
@@ -3491,16 +3479,15 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
|
|
|
3491
3479
|
/**
|
|
3492
3480
|
* Delivery address.
|
|
3493
3481
|
*
|
|
3494
|
-
*
|
|
3482
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3495
3483
|
*/
|
|
3496
3484
|
deliveryAddress?: CommonAddress;
|
|
3497
3485
|
}
|
|
3498
3486
|
/**
|
|
3499
|
-
* Retrieves
|
|
3487
|
+
* Retrieves the first available time slot of each fulfillment type for each specified operation.
|
|
3500
3488
|
*
|
|
3501
|
-
*
|
|
3502
|
-
* @param operationIds - Operation
|
|
3503
|
-
* Returned fulfillment options will belong to this operation.
|
|
3489
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3490
|
+
* @param operationIds - Operation IDs.
|
|
3504
3491
|
* @public
|
|
3505
3492
|
* @requiredField operationIds
|
|
3506
3493
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
@@ -3513,17 +3500,16 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
|
|
|
3513
3500
|
declare function listFirstAvailableTimeSlotsForOperations(operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`, 2>>;
|
|
3514
3501
|
interface ListFirstAvailableTimeSlotsForOperationsOptions {
|
|
3515
3502
|
/**
|
|
3516
|
-
* Delivery address.
|
|
3503
|
+
* Delivery address.
|
|
3517
3504
|
*
|
|
3518
|
-
*
|
|
3505
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3519
3506
|
*/
|
|
3520
3507
|
deliveryAddress?: CommonAddress;
|
|
3521
3508
|
}
|
|
3522
3509
|
/**
|
|
3523
|
-
*
|
|
3510
|
+
* Calculates the first available time slot of each fulfillment type for each specified operation.
|
|
3524
3511
|
*
|
|
3525
|
-
*
|
|
3526
|
-
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3512
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3527
3513
|
* @param operationIds - Operation IDs.
|
|
3528
3514
|
* @public
|
|
3529
3515
|
* @requiredField operationIds
|
|
@@ -3536,14 +3522,15 @@ interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
|
|
|
3536
3522
|
/**
|
|
3537
3523
|
* Delivery address.
|
|
3538
3524
|
*
|
|
3539
|
-
*
|
|
3525
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3540
3526
|
*/
|
|
3541
3527
|
deliveryAddress?: CommonAddress;
|
|
3542
3528
|
}
|
|
3543
3529
|
/**
|
|
3544
|
-
*
|
|
3530
|
+
* Retrieves the first available time slot of each fulfillment type for each menu of an operation.
|
|
3531
|
+
*
|
|
3532
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3545
3533
|
* @param operationId - Operation ID.
|
|
3546
|
-
* Returned timeslots that are belong to this operation.
|
|
3547
3534
|
* @public
|
|
3548
3535
|
* @requiredField operationId
|
|
3549
3536
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
@@ -3556,19 +3543,18 @@ interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
|
|
|
3556
3543
|
declare function listFirstAvailableTimeSlotsForMenus(operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`, 0>>;
|
|
3557
3544
|
interface ListFirstAvailableTimeSlotsForMenusOptions {
|
|
3558
3545
|
/**
|
|
3559
|
-
* Delivery address.
|
|
3546
|
+
* Delivery address.
|
|
3560
3547
|
*
|
|
3561
|
-
*
|
|
3548
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3562
3549
|
*/
|
|
3563
3550
|
deliveryAddress?: CommonAddress;
|
|
3564
|
-
/** Cursor paging */
|
|
3551
|
+
/** Cursor paging. */
|
|
3565
3552
|
cursorPaging?: CommonCursorPaging;
|
|
3566
3553
|
}
|
|
3567
3554
|
/**
|
|
3568
|
-
*
|
|
3555
|
+
* Calculates the first available time slot of each fulfillment type for each specified menu.
|
|
3569
3556
|
*
|
|
3570
|
-
*
|
|
3571
|
-
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3557
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3572
3558
|
* @param operationId - Operation ID.
|
|
3573
3559
|
* @public
|
|
3574
3560
|
* @requiredField operationId
|
|
@@ -3581,20 +3567,27 @@ interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
|
|
|
3581
3567
|
/**
|
|
3582
3568
|
* Delivery address.
|
|
3583
3569
|
*
|
|
3584
|
-
*
|
|
3570
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3585
3571
|
*/
|
|
3586
3572
|
deliveryAddress?: CommonAddress;
|
|
3587
3573
|
/** Cursor paging. */
|
|
3588
3574
|
cursorPaging?: CommonCursorPaging;
|
|
3589
|
-
/**
|
|
3575
|
+
/**
|
|
3576
|
+
* Whether to retrieve time slots only for menus that have online ordering enabled.
|
|
3577
|
+
*
|
|
3578
|
+
* Default: `false`
|
|
3579
|
+
*/
|
|
3590
3580
|
onlyOnlineOrderingEnabled?: boolean | null;
|
|
3591
3581
|
}
|
|
3592
3582
|
/**
|
|
3593
|
-
*
|
|
3583
|
+
* Calculates the first available time slot of each fulfillment type for a specific menu item.
|
|
3594
3584
|
*
|
|
3595
|
-
* The
|
|
3596
|
-
*
|
|
3597
|
-
*
|
|
3585
|
+
* The time slots reflect the operation's order scheduling and fulfillment methods, as well as the availability of the item, its section, and its menu.
|
|
3586
|
+
* A time slot when the item can't be ordered isn't returned.
|
|
3587
|
+
*
|
|
3588
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3589
|
+
* @param operationId - Operation ID.
|
|
3590
|
+
* @param menuId - ID of the menu that contains the item.
|
|
3598
3591
|
* @public
|
|
3599
3592
|
* @requiredField menuId
|
|
3600
3593
|
* @requiredField operationId
|
|
@@ -3607,26 +3600,27 @@ interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
|
|
|
3607
3600
|
declare function calculateFirstAvailableTimeSlotsForItem(operationId: string, menuId: string, options?: NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemOptions, `itemId` | `sectionId`, 0>): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 3>>;
|
|
3608
3601
|
interface CalculateFirstAvailableTimeSlotsForItemOptions {
|
|
3609
3602
|
/**
|
|
3610
|
-
*
|
|
3603
|
+
* ID of the menu section that contains the item.
|
|
3611
3604
|
* @format GUID
|
|
3612
3605
|
*/
|
|
3613
3606
|
sectionId: string | null;
|
|
3614
3607
|
/**
|
|
3615
|
-
*
|
|
3608
|
+
* ID of the item to retrieve the first available time slots for.
|
|
3616
3609
|
* @format GUID
|
|
3617
3610
|
*/
|
|
3618
3611
|
itemId: string | null;
|
|
3619
3612
|
/**
|
|
3620
|
-
* Delivery address.
|
|
3613
|
+
* Delivery address.
|
|
3621
3614
|
*
|
|
3622
|
-
*
|
|
3615
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3623
3616
|
*/
|
|
3624
3617
|
deliveryAddress?: CommonAddress;
|
|
3625
3618
|
}
|
|
3626
3619
|
/**
|
|
3627
|
-
* Retrieves
|
|
3620
|
+
* Retrieves the available time slots of each fulfillment type for the specified date.
|
|
3621
|
+
*
|
|
3622
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3628
3623
|
* @param operationId - Operation ID.
|
|
3629
|
-
* The returned fulfillment options will belong to this operation.
|
|
3630
3624
|
* @public
|
|
3631
3625
|
* @requiredField operationId
|
|
3632
3626
|
* @requiredField options.date
|
|
@@ -3643,19 +3637,20 @@ interface CalculateFirstAvailableTimeSlotsForItemOptions {
|
|
|
3643
3637
|
declare function listAvailableTimeSlotsForDate(operationId: string, options?: NonNullablePaths<ListAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`, 1>): Promise<NonNullablePaths<ListAvailableTimeSlotsForDateResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 2>>;
|
|
3644
3638
|
interface ListAvailableTimeSlotsForDateOptions {
|
|
3645
3639
|
/**
|
|
3646
|
-
* Delivery address.
|
|
3640
|
+
* Delivery address.
|
|
3647
3641
|
*
|
|
3648
|
-
*
|
|
3642
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3649
3643
|
*/
|
|
3650
3644
|
deliveryAddress?: CommonAddress;
|
|
3651
|
-
/** Date
|
|
3645
|
+
/** Date to retrieve the available time slots for. */
|
|
3652
3646
|
date: _Date;
|
|
3653
3647
|
}
|
|
3654
3648
|
/**
|
|
3655
|
-
*
|
|
3649
|
+
* Calculates all available time slots of each fulfillment type for the specified date.
|
|
3650
|
+
*
|
|
3651
|
+
* Time slots are returned in descending order, latest first.
|
|
3656
3652
|
*
|
|
3657
|
-
*
|
|
3658
|
-
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3653
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3659
3654
|
* @param operationId - Operation ID.
|
|
3660
3655
|
* @public
|
|
3661
3656
|
* @requiredField operationId
|
|
@@ -3672,18 +3667,17 @@ interface CalculateAvailableTimeSlotsForDateOptions {
|
|
|
3672
3667
|
/**
|
|
3673
3668
|
* Delivery address.
|
|
3674
3669
|
*
|
|
3675
|
-
*
|
|
3670
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3676
3671
|
*/
|
|
3677
3672
|
deliveryAddress?: CommonAddress;
|
|
3678
|
-
/** Date
|
|
3673
|
+
/** Date to retrieve the available time slots for. */
|
|
3679
3674
|
date: _Date;
|
|
3680
3675
|
}
|
|
3681
3676
|
/**
|
|
3682
|
-
* Retrieves
|
|
3677
|
+
* Retrieves the available dates of each fulfillment type within the specified time range.
|
|
3683
3678
|
*
|
|
3684
3679
|
* A date is considered available if it has at least one available time slot.
|
|
3685
3680
|
* @param operationId - Operation ID.
|
|
3686
|
-
* The returned fulfillment options will belong to this operation.
|
|
3687
3681
|
* @public
|
|
3688
3682
|
* @requiredField operationId
|
|
3689
3683
|
* @requiredField options.from
|
|
@@ -3698,9 +3692,9 @@ interface CalculateAvailableTimeSlotsForDateOptions {
|
|
|
3698
3692
|
declare function listAvailableDatesInRange(operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`, 0>): Promise<NonNullablePaths<ListAvailableDatesInRangeResponse, `availableDates` | `availableDates.${number}.fulfilmentType`, 2>>;
|
|
3699
3693
|
interface ListAvailableDatesInRangeOptions {
|
|
3700
3694
|
/**
|
|
3701
|
-
* Delivery address.
|
|
3695
|
+
* Delivery address.
|
|
3702
3696
|
*
|
|
3703
|
-
*
|
|
3697
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3704
3698
|
*/
|
|
3705
3699
|
deliveryAddress?: CommonAddress;
|
|
3706
3700
|
/** Start date and time of the range. */
|
|
@@ -3709,12 +3703,12 @@ interface ListAvailableDatesInRangeOptions {
|
|
|
3709
3703
|
until: _Date;
|
|
3710
3704
|
}
|
|
3711
3705
|
/**
|
|
3712
|
-
*
|
|
3706
|
+
* Calculates all available dates of each fulfillment type within the specified time range.
|
|
3713
3707
|
*
|
|
3714
3708
|
* A date is considered available if it has at least one available time slot.
|
|
3709
|
+
* Dates are returned in descending order, latest first.
|
|
3715
3710
|
*
|
|
3716
|
-
*
|
|
3717
|
-
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3711
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3718
3712
|
* @param operationId - Operation ID.
|
|
3719
3713
|
* @public
|
|
3720
3714
|
* @requiredField operationId
|
|
@@ -3729,7 +3723,7 @@ interface CalculateAvailableDatesInRangeOptions {
|
|
|
3729
3723
|
/**
|
|
3730
3724
|
* Delivery address.
|
|
3731
3725
|
*
|
|
3732
|
-
*
|
|
3726
|
+
* When you specify a delivery address, only delivery fulfillment methods whose delivery area contains the address are considered. Without an address, all delivery fulfillment methods are considered, regardless of their delivery area.
|
|
3733
3727
|
*/
|
|
3734
3728
|
deliveryAddress?: CommonAddress;
|
|
3735
3729
|
/** Start date and time of the range. */
|
|
@@ -3738,29 +3732,31 @@ interface CalculateAvailableDatesInRangeOptions {
|
|
|
3738
3732
|
until: _Date;
|
|
3739
3733
|
}
|
|
3740
3734
|
/**
|
|
3741
|
-
* Validates an operation's
|
|
3735
|
+
* Validates the address of an operation's business location.
|
|
3742
3736
|
*
|
|
3743
|
-
*
|
|
3737
|
+
* An address is valid if it has:
|
|
3744
3738
|
*
|
|
3745
|
-
*
|
|
3739
|
+
* 1. A formatted address.
|
|
3740
|
+
* 2. Geocode coordinates other than 0,0.
|
|
3741
|
+
* 3. A country.
|
|
3742
|
+
* 4. A subdivision, for countries where a subdivision is required.
|
|
3746
3743
|
*
|
|
3747
|
-
*
|
|
3748
|
-
*
|
|
3749
|
-
*
|
|
3750
|
-
*
|
|
3751
|
-
* If the address is invalid, the response includes specific violations.
|
|
3752
|
-
* @param operationId - The ID of the operation whose address should be validated.
|
|
3744
|
+
* If the address isn't valid, the response lists each violation.
|
|
3745
|
+
* If the business location has no address, the response includes a single `NO_ADDRESS` violation.
|
|
3746
|
+
* @param operationId - ID of the operation whose business location address to validate.
|
|
3753
3747
|
* @public
|
|
3754
3748
|
* @requiredField operationId
|
|
3755
3749
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3756
3750
|
* @applicableIdentity APP
|
|
3757
|
-
* @returns Response message for address validation
|
|
3758
3751
|
* @fqn wix.restaurants.operations.v1.OperationsService.ValidateOperationAddress
|
|
3759
3752
|
*/
|
|
3760
3753
|
declare function validateOperationAddress(operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`, 2>>;
|
|
3761
3754
|
/**
|
|
3762
|
-
*
|
|
3763
|
-
*
|
|
3755
|
+
* Adds or removes tags on multiple operations.
|
|
3756
|
+
*
|
|
3757
|
+
* Specify which tags to assign and which tags to unassign. A tag that appears in both the list to assign and the list to unassign will be assigned.
|
|
3758
|
+
*
|
|
3759
|
+
* To update tags for a single operation, call [Update Operation](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/operations/update-operation).
|
|
3764
3760
|
* @param operationIds - IDs of the operations to update tags for.
|
|
3765
3761
|
* @public
|
|
3766
3762
|
* @requiredField operationIds
|
|
@@ -3778,10 +3774,17 @@ interface BulkUpdateOperationTagsOptions {
|
|
|
3778
3774
|
unassignTags?: Tags;
|
|
3779
3775
|
}
|
|
3780
3776
|
/**
|
|
3781
|
-
* Asynchronously
|
|
3782
|
-
*
|
|
3783
|
-
* If you specify
|
|
3784
|
-
*
|
|
3777
|
+
* Asynchronously updates tags on multiple operations that match the provided filter criteria.
|
|
3778
|
+
*
|
|
3779
|
+
* If you specify an empty filter, all operations are updated.
|
|
3780
|
+
* A tag that appears in both the list to assign and the list to unassign will be assigned.
|
|
3781
|
+
*
|
|
3782
|
+
* To check the status of the bulk update, pass the returned `jobId` to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job).
|
|
3783
|
+
*
|
|
3784
|
+
* To update tags for a single operation, call [Update Operation](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/operations/update-operation).
|
|
3785
|
+
* @param filter - Filter that determines which operations to update tags for. Specify an empty filter to update all operations.
|
|
3786
|
+
*
|
|
3787
|
+
* See [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) for more information.
|
|
3785
3788
|
* @public
|
|
3786
3789
|
* @requiredField filter
|
|
3787
3790
|
* @permissionId RESTAURANTS.OPERATION_UPDATE_TAGS
|
|
@@ -3798,4 +3801,4 @@ interface BulkUpdateOperationTagsByFilterOptions {
|
|
|
3798
3801
|
unassignTags?: Tags;
|
|
3799
3802
|
}
|
|
3800
3803
|
|
|
3801
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActivationType, type ActivationTypeWithLiterals, type ActivePeriod, type Address, type AddressHint, type AddressLocation, type AddressViolation, type App, type ApplicationError, AsapFutureHandlingType, type AsapFutureHandlingTypeWithLiterals, type AsapOrderPacing, type AsapOrderPacingPacingAvailabilityOneOf, type AsapOrderScheduling, type AsapOrderSchedulingAsapFutureHandlingOptionsOneOf, AsapPacingWindowType, type AsapPacingWindowTypeWithLiterals, AsapPreorderType, type AsapPreorderTypeWithLiterals, type AsapScheduling, type AsapSchedulingAsapPreorderOneOf, type AsapSchedulingPreparationTimeOneOf, type Asset, type AvailabilityException, type BaseEventMetadata, type BlockedPeriod, type BulkActionMetadata, type BulkUpdateOperationTagsApplicationErrors, type BulkUpdateOperationTagsByFilterApplicationErrors, type BulkUpdateOperationTagsByFilterOptions, type BulkUpdateOperationTagsByFilterRequest, type BulkUpdateOperationTagsByFilterResponse, type BulkUpdateOperationTagsOptions, type BulkUpdateOperationTagsRequest, type BulkUpdateOperationTagsResponse, type BulkUpdateOperationTagsResult, type BusinessDaysAheadHandling, type BusinessDaysPreorder, type BusinessLocationDetails, type BusinessSchedule, type CalculateAvailableDatesInRangeOptions, type CalculateAvailableDatesInRangeRequest, type CalculateAvailableDatesInRangeResponse, type CalculateAvailableTimeSlotsForDateOptions, type CalculateAvailableTimeSlotsForDateRequest, type CalculateAvailableTimeSlotsForDateResponse, type CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions, type CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest, type CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, type CalculateFirstAvailableTimeSlotsForItemOptions, type CalculateFirstAvailableTimeSlotsForItemRequest, type CalculateFirstAvailableTimeSlotsForItemResponse, type CalculateFirstAvailableTimeSlotsPerMenuOptions, type CalculateFirstAvailableTimeSlotsPerMenuRequest, type CalculateFirstAvailableTimeSlotsPerMenuResponse, type CalculateFirstAvailableTimeSlotsPerOperationOptions, type CalculateFirstAvailableTimeSlotsPerOperationRequest, type CalculateFirstAvailableTimeSlotsPerOperationResponse, type Categories, type ChangeContext, type ChangeContextPayloadOneOf, type CommonAddress, type CommonAddressStreetOneOf, type CommonCursorPaging, type CommonCursorPagingMetadata, type CommonCursors, type CommonQueryWithEntityContext, type ConsentPolicy, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type DayAndTime, DayOfWeek, type DayOfWeekAvailability, type DayOfWeekWithLiterals, type DeleteContext, type DeleteOperationRequest, type DeleteOperationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeliveryDetails, type DeliveryProfileConfiguredForOperation, type DineInDetails, type DomainEvent, type DomainEventBodyOneOf, type DurationRange, type EditorlessAssigned, type EditorlessUnassigned, type Empty, EntitiesDayOfWeek, type EntitiesDayOfWeekWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type File, type FirstFulfillmentTimeSlotsPerMenu, type FulfillmentAddress, type FulfillmentDetails, type FulfillmentDetailsFulfillmentTimeOptionsOneOf, type FulfillmentInfo, type FulfillmentInfoFulfillmentTimeOneOf, type FulfillmentOption, type FulfillmentOptionAvailability, type FulfillmentOptionFulfillmentTimeOptionsOneOf, type FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf, type FulfillmentOptionFulfillmentTypeOptionsOneOf, type FulfillmentTimeSlot, type FulfillmentTimeSlotsPerMenu, FulfillmentTimeType, type FulfillmentTimeTypeWithLiterals, type FulfillmentTimesDisplayConfig, type FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf, FulfillmentTimesDisplayType, type FulfillmentTimesDisplayTypeWithLiterals, FulfillmentTimesType, type FulfillmentTimesTypeWithLiterals, FulfillmentType, type FulfillmentTypeAvailableDates, type FulfillmentTypeWithLiterals, type GeoCoordinates, type GetExpectedFulfillmentSelectionRequest, type GetExpectedFulfillmentSelectionResponse, type GetOperationRequest, type GetOperationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ImmutableFields, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type ListAvailableDatesInRangeOptions, type ListAvailableDatesInRangeRequest, type ListAvailableDatesInRangeResponse, type ListAvailableFulfillmentOptions, type ListAvailableFulfillmentOptionsRequest, type ListAvailableFulfillmentOptionsResponse, type ListAvailableTimeSlotsForDateOptions, type ListAvailableTimeSlotsForDateRequest, type ListAvailableTimeSlotsForDateResponse, type
|
|
3804
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActivationType, type ActivationTypeWithLiterals, type ActivePeriod, type Address, type AddressHint, type AddressLocation, type AddressViolation, type App, type ApplicationError, AsapFutureHandlingType, type AsapFutureHandlingTypeWithLiterals, type AsapOrderPacing, type AsapOrderPacingPacingAvailabilityOneOf, type AsapOrderScheduling, type AsapOrderSchedulingAsapFutureHandlingOptionsOneOf, AsapPacingWindowType, type AsapPacingWindowTypeWithLiterals, AsapPreorderType, type AsapPreorderTypeWithLiterals, type AsapScheduling, type AsapSchedulingAsapPreorderOneOf, type AsapSchedulingPreparationTimeOneOf, type Asset, type AvailabilityException, type BaseEventMetadata, type BlockedPeriod, type BulkActionMetadata, type BulkUpdateOperationTagsApplicationErrors, type BulkUpdateOperationTagsByFilterApplicationErrors, type BulkUpdateOperationTagsByFilterOptions, type BulkUpdateOperationTagsByFilterRequest, type BulkUpdateOperationTagsByFilterResponse, type BulkUpdateOperationTagsOptions, type BulkUpdateOperationTagsRequest, type BulkUpdateOperationTagsResponse, type BulkUpdateOperationTagsResult, type BusinessDaysAheadHandling, type BusinessDaysPreorder, type BusinessLocationDetails, type BusinessSchedule, type CalculateAvailableDatesInRangeOptions, type CalculateAvailableDatesInRangeRequest, type CalculateAvailableDatesInRangeResponse, type CalculateAvailableTimeSlotsForDateOptions, type CalculateAvailableTimeSlotsForDateRequest, type CalculateAvailableTimeSlotsForDateResponse, type CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions, type CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest, type CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, type CalculateFirstAvailableTimeSlotsForItemOptions, type CalculateFirstAvailableTimeSlotsForItemRequest, type CalculateFirstAvailableTimeSlotsForItemResponse, type CalculateFirstAvailableTimeSlotsPerMenuOptions, type CalculateFirstAvailableTimeSlotsPerMenuRequest, type CalculateFirstAvailableTimeSlotsPerMenuResponse, type CalculateFirstAvailableTimeSlotsPerOperationOptions, type CalculateFirstAvailableTimeSlotsPerOperationRequest, type CalculateFirstAvailableTimeSlotsPerOperationResponse, type Categories, type ChangeContext, type ChangeContextPayloadOneOf, type CommonAddress, type CommonAddressStreetOneOf, type CommonCursorPaging, type CommonCursorPagingMetadata, type CommonCursors, type CommonQueryWithEntityContext, type ConsentPolicy, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type DayAndTime, DayOfWeek, type DayOfWeekAvailability, type DayOfWeekWithLiterals, type DeleteContext, type DeleteOperationRequest, type DeleteOperationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeliveryDetails, type DeliveryProfileConfiguredForOperation, type DineInDetails, type DomainEvent, type DomainEventBodyOneOf, type DurationRange, type EditorlessAssigned, type EditorlessUnassigned, type Empty, EntitiesDayOfWeek, type EntitiesDayOfWeekWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type File, type FirstFulfillmentTimeSlotsPerMenu, type FulfillmentAddress, type FulfillmentDetails, type FulfillmentDetailsFulfillmentTimeOptionsOneOf, type FulfillmentInfo, type FulfillmentInfoFulfillmentTimeOneOf, type FulfillmentOption, type FulfillmentOptionAvailability, type FulfillmentOptionFulfillmentTimeOptionsOneOf, type FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf, type FulfillmentOptionFulfillmentTypeOptionsOneOf, type FulfillmentTimeSlot, type FulfillmentTimeSlotsPerMenu, FulfillmentTimeType, type FulfillmentTimeTypeWithLiterals, type FulfillmentTimesDisplayConfig, type FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf, FulfillmentTimesDisplayType, type FulfillmentTimesDisplayTypeWithLiterals, FulfillmentTimesType, type FulfillmentTimesTypeWithLiterals, FulfillmentType, type FulfillmentTypeAvailableDates, type FulfillmentTypeWithLiterals, type GeoCoordinates, type GetExpectedFulfillmentSelectionRequest, type GetExpectedFulfillmentSelectionResponse, type GetOperationRequest, type GetOperationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ImmutableFields, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type ListAvailableDatesInRangeOptions, type ListAvailableDatesInRangeRequest, type ListAvailableDatesInRangeResponse, type ListAvailableFulfillmentOptions, type ListAvailableFulfillmentOptionsRequest, type ListAvailableFulfillmentOptionsResponse, type ListAvailableTimeSlotsForDateOptions, type ListAvailableTimeSlotsForDateRequest, type ListAvailableTimeSlotsForDateResponse, type ListBlockedPeriodsRequest, type ListBlockedPeriodsResponse, type ListFirstAvailableTimeSlotForFulfillmentTypesOptions, type ListFirstAvailableTimeSlotForFulfillmentTypesRequest, type ListFirstAvailableTimeSlotForFulfillmentTypesResponse, type ListFirstAvailableTimeSlotsForMenusOptions, type ListFirstAvailableTimeSlotsForMenusRequest, type ListFirstAvailableTimeSlotsForMenusResponse, type ListFirstAvailableTimeSlotsForOperationsOptions, type ListFirstAvailableTimeSlotsForOperationsRequest, type ListFirstAvailableTimeSlotsForOperationsResponse, type ListOperationIdsRequest, type ListOperationIdsResponse, type ListOperationsInternalRequest, type ListOperationsInternalResponse, type ListOperationsRequest, type ListOperationsResponse, type ListOrdersForOperationRequest, type ListOrdersForOperationResponse, type Locale, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, MethodType, type MethodTypeWithLiterals, type Multilingual, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type OnlineOrderingPausedUntilOptions, OnlineOrderingStatusType, type OnlineOrderingStatusTypeWithLiterals, type Operation, type OperationDeletedEnvelope, type OperationOnlineOrderingStatusOptionsOneOf, type OperationQuery, type OperationQuerySpec, type OperationTimeSlot, type OperationUpdatedEnvelope, type OperationsDataCloningCompleted, type OperationsQueryBuilder, type OperationsQueryResult, type OrderScheduling, type OrderSchedulingOrderSchedulingOptionsOneOf, OrderSchedulingType, type OrderSchedulingTypeWithLiterals, type PacingOrder, type Page, type Pages, type PagingMetadata, type PicassoAssigned, type PicassoUnassigned, type PickupDetails, PlacementType, type PlacementTypeWithLiterals, type PreOrderPacing, type PreOrderPacingPacingAvailabilityOneOf, type PreorderMethod, type PreorderMethodMethodOptionsOneOf, PreorderPacingWindowType, type PreorderPacingWindowTypeWithLiterals, type PreorderScheduling, type PreparationTime, PreparationTimePreparationTimeType, type PreparationTimePreparationTimeTypeWithLiterals, type PreparationTimeTimeSpecificationOneOf, PreparationTimeType, type PreparationTimeTypeWithLiterals, type Properties, type PropertiesChange, type QueryOperationRequest, type QueryOperationResponse, ResolutionMethod, type ResolutionMethodWithLiterals, type RestoreInfo, type Scheduling, type SchedulingSchedulingOptionsOneOf, SchedulingType, type SchedulingTypeWithLiterals, type ServiceProvisioned, type ServiceRemoved, type SiteCloned, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePropertiesEvent, type SitePropertiesNotification, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SpecialHourPeriod, State, type StateWithLiterals, type StreetAddress, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type SupportedLanguage, type TagList, type Tags, type TimeBounded, type TimeDuration, type TimeDurationRange, type TimeOfDay, type TimeOfDayRange, type TimePeriod, type TimeSlot, type TimeSlotForFulfillment, TimeSlotForFulfillmentTimeSlotStatus, type TimeSlotForFulfillmentTimeSlotStatusWithLiterals, type TimeSlotForOperation, TimeSlotStatus, type TimeSlotStatusWithLiterals, TimeUnit, type TimeUnitWithLiterals, type TimeWindowDisplayConfig, type Translation, type URI, type URIs, type UpdateDeliveryRegionsRequest, type UpdateDeliveryRegionsResponse, type UpdateImmutableFieldsRequest, type UpdateImmutableFieldsResponse, type UpdateOperation, type UpdateOperationRequest, type UpdateOperationResponse, type UserDomainMediaDisabled, type UserDomainMediaEnabled, type V1Address, type V1AddressLocation, type V1StreetAddress, type V4SiteCreated, type ValidateOperationAddressRequest, type ValidateOperationAddressResponse, ViolationType, type ViolationTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WeeklyActiveDays, type WeeklyActivePeriods, type WeeklySchedule, type WixelAssigned, type WixelUnassigned, type _Date, bulkUpdateOperationTags, bulkUpdateOperationTagsByFilter, calculateAvailableDatesInRange, calculateAvailableTimeSlotsForDate, calculateFirstAvailableTimeSlotPerFulfillmentType, calculateFirstAvailableTimeSlotsForItem, calculateFirstAvailableTimeSlotsPerMenu, calculateFirstAvailableTimeSlotsPerOperation, deleteOperation, getOperation, listAvailableDatesInRange, listAvailableFulfillmentOptions, listAvailableTimeSlotsForDate, listFirstAvailableTimeSlotForFulfillmentTypes, listFirstAvailableTimeSlotsForMenus, listFirstAvailableTimeSlotsForOperations, listOperations, onOperationDeleted, onOperationUpdated, queryOperation, typedQueryOperation, updateOperation, utils, validateOperationAddress };
|