@wix/auto_sdk_restaurants_operations 1.0.105 → 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 +64 -190
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +341 -333
- package/build/cjs/index.typings.js +64 -181
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +223 -223
- package/build/cjs/meta.js +64 -168
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +81 -74
- package/build/es/index.mjs +64 -189
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +341 -333
- package/build/es/index.typings.mjs +64 -180
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +223 -223
- package/build/es/meta.mjs +64 -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 +360 -351
- package/build/internal/cjs/meta.d.ts +239 -237
- package/build/internal/es/index.d.mts +81 -74
- package/build/internal/es/index.typings.d.mts +360 -351
- package/build/internal/es/meta.d.mts +239 -237
- 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,13 +35,12 @@ interface Operation extends OperationOnlineOrderingStatusOptionsOneOf {
|
|
|
34
35
|
/** Operation name. */
|
|
35
36
|
name?: string | null;
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
+
* Whether the operation is enabled.
|
|
38
39
|
* @internal
|
|
39
40
|
*/
|
|
40
41
|
enabled?: boolean | null;
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
-
* Scheduling specifies when an order can be placed for.
|
|
43
|
+
* Information about when an order can be placed for.
|
|
44
44
|
* @internal
|
|
45
45
|
* @deprecated
|
|
46
46
|
* @replacedBy order_scheduling
|
|
@@ -48,14 +48,15 @@ interface Operation extends OperationOnlineOrderingStatusOptionsOneOf {
|
|
|
48
48
|
*/
|
|
49
49
|
scheduling?: Scheduling;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* ID of the delivery profile associated with the operation.
|
|
52
52
|
* @internal
|
|
53
53
|
* @format GUID
|
|
54
54
|
*/
|
|
55
55
|
profileId?: string | null;
|
|
56
56
|
/**
|
|
57
|
-
* Whether the operation is the default operation.
|
|
58
|
-
*
|
|
57
|
+
* Whether the operation is the default operation.
|
|
58
|
+
*
|
|
59
|
+
* Default: `false`
|
|
59
60
|
*/
|
|
60
61
|
default?: boolean | null;
|
|
61
62
|
/**
|
|
@@ -64,14 +65,14 @@ interface Operation extends OperationOnlineOrderingStatusOptionsOneOf {
|
|
|
64
65
|
* @maxSize 500
|
|
65
66
|
*/
|
|
66
67
|
fulfillmentIds?: string[] | null;
|
|
67
|
-
/** Online ordering status of the operation.
|
|
68
|
+
/** Online ordering status of the operation. */
|
|
68
69
|
onlineOrderingStatus?: OnlineOrderingStatusTypeWithLiterals;
|
|
69
70
|
/** Default fulfillment type of the operation. */
|
|
70
71
|
defaultFulfillmentType?: FulfillmentTypeWithLiterals;
|
|
71
72
|
/** Information about when an order can be placed for. */
|
|
72
73
|
orderScheduling?: OrderScheduling;
|
|
73
74
|
/**
|
|
74
|
-
* ID of the operation group this operation belongs to.
|
|
75
|
+
* ID of the operation group this operation belongs to. Set automatically when the operation is created.
|
|
75
76
|
* @format GUID
|
|
76
77
|
* @immutable
|
|
77
78
|
*/
|
|
@@ -88,7 +89,11 @@ interface Operation extends OperationOnlineOrderingStatusOptionsOneOf {
|
|
|
88
89
|
* @internal
|
|
89
90
|
*/
|
|
90
91
|
businessLocationDetails?: BusinessLocationDetails;
|
|
91
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Custom field data for the operation object.
|
|
94
|
+
*
|
|
95
|
+
* [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.
|
|
96
|
+
*/
|
|
92
97
|
extendedFields?: ExtendedFields;
|
|
93
98
|
/** 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. */
|
|
94
99
|
tags?: Tags;
|
|
@@ -104,11 +109,7 @@ interface Scheduling extends SchedulingSchedulingOptionsOneOf {
|
|
|
104
109
|
asapOptions?: AsapScheduling;
|
|
105
110
|
/** Options for scheduling. Required when `type` is `PREORDER`. */
|
|
106
111
|
preorderOptions?: PreorderScheduling;
|
|
107
|
-
/**
|
|
108
|
-
* Scheduling type. <br />
|
|
109
|
-
* - When `ASAP`, `asapOptions` is a required field.
|
|
110
|
-
* - When `PREORDER`, `preorderOptions` is a required field.
|
|
111
|
-
*/
|
|
112
|
+
/** Scheduling type. */
|
|
112
113
|
type?: SchedulingTypeWithLiterals;
|
|
113
114
|
}
|
|
114
115
|
/** @oneof */
|
|
@@ -120,9 +121,9 @@ interface SchedulingSchedulingOptionsOneOf {
|
|
|
120
121
|
}
|
|
121
122
|
/** Scheduling type enum. */
|
|
122
123
|
declare enum SchedulingType {
|
|
123
|
-
/** Orders
|
|
124
|
+
/** Orders are handled as soon as possible. Depending on the configuration, orders can also be scheduled for a later time. */
|
|
124
125
|
ASAP = "ASAP",
|
|
125
|
-
/** Orders
|
|
126
|
+
/** Orders must be scheduled in advance. */
|
|
126
127
|
PREORDER = "PREORDER"
|
|
127
128
|
}
|
|
128
129
|
/** @enumType */
|
|
@@ -138,16 +139,16 @@ interface AsapScheduling extends AsapSchedulingPreparationTimeOneOf, AsapSchedul
|
|
|
138
139
|
/** How to define the time needed to prepare an order. */
|
|
139
140
|
type?: PreparationTimeTypeWithLiterals;
|
|
140
141
|
/**
|
|
141
|
-
*
|
|
142
|
-
* @deprecated
|
|
142
|
+
* Whether an order can be placed for a later time on the same day.
|
|
143
|
+
* @deprecated Whether an order can be placed for a later time on the same day.
|
|
143
144
|
* @replacedBy asap_preorder_type
|
|
144
145
|
* @targetRemovalDate 2023-12-28
|
|
145
146
|
*/
|
|
146
147
|
allowSameDayPreorder?: boolean | null;
|
|
147
|
-
/**
|
|
148
|
+
/** Type of preorder allowed for `ASAP` scheduling. */
|
|
148
149
|
asapPreorderType?: AsapPreorderTypeWithLiterals;
|
|
149
150
|
/**
|
|
150
|
-
*
|
|
151
|
+
* Order pacing configuration for `ASAP` orders.
|
|
151
152
|
* @internal
|
|
152
153
|
*/
|
|
153
154
|
orderPacing?: AsapOrderPacing;
|
|
@@ -208,7 +209,7 @@ interface TimeDurationRange {
|
|
|
208
209
|
}
|
|
209
210
|
/** Asap preorder type enum. */
|
|
210
211
|
declare enum AsapPreorderType {
|
|
211
|
-
/**
|
|
212
|
+
/** Preorders aren't allowed. */
|
|
212
213
|
NO_PREORDER = "NO_PREORDER",
|
|
213
214
|
/** Allows preorder for a maximum specified number of business days in advance. */
|
|
214
215
|
BUSINESS_DAYS_PREORDER = "BUSINESS_DAYS_PREORDER"
|
|
@@ -226,40 +227,40 @@ interface BusinessDaysPreorder {
|
|
|
226
227
|
*/
|
|
227
228
|
businessDays?: number | null;
|
|
228
229
|
}
|
|
229
|
-
/** Order pacing configuration for ASAP scheduling */
|
|
230
|
+
/** Order pacing configuration for ASAP scheduling. */
|
|
230
231
|
interface AsapOrderPacing extends AsapOrderPacingPacingAvailabilityOneOf {
|
|
231
|
-
/** Custom availability pattern for when pacing should be active */
|
|
232
|
+
/** Custom availability pattern for when pacing should be active. */
|
|
232
233
|
scheduleOptions?: WeeklyActivePeriods;
|
|
233
|
-
/** Whether order pacing is enabled for ASAP orders */
|
|
234
|
+
/** Whether order pacing is enabled for ASAP orders. */
|
|
234
235
|
enabled?: boolean | null;
|
|
235
236
|
/**
|
|
236
|
-
* Maximum number of orders allowed within the pacing window
|
|
237
|
+
* Maximum number of orders allowed within the pacing window.
|
|
237
238
|
* @min 1
|
|
238
239
|
* @max 1000
|
|
239
240
|
*/
|
|
240
241
|
maxOrdersInWindow?: number | null;
|
|
241
|
-
/** Type of pacing window duration (currently only 15-minute supported) */
|
|
242
|
+
/** Type of pacing window duration (currently only 15-minute supported). */
|
|
242
243
|
windowType?: AsapPacingWindowTypeWithLiterals;
|
|
243
|
-
/** When the pacing should be active */
|
|
244
|
+
/** When the pacing should be active. */
|
|
244
245
|
activationType?: ActivationTypeWithLiterals;
|
|
245
246
|
}
|
|
246
247
|
/** @oneof */
|
|
247
248
|
interface AsapOrderPacingPacingAvailabilityOneOf {
|
|
248
|
-
/** Custom availability pattern for when pacing should be active */
|
|
249
|
+
/** Custom availability pattern for when pacing should be active. */
|
|
249
250
|
scheduleOptions?: WeeklyActivePeriods;
|
|
250
251
|
}
|
|
251
|
-
/** ASAP pacing duration type enum */
|
|
252
|
+
/** ASAP pacing duration type enum. */
|
|
252
253
|
declare enum AsapPacingWindowType {
|
|
253
|
-
/** Fixed 15-minute window */
|
|
254
|
+
/** Fixed 15-minute window. */
|
|
254
255
|
FIXED_15_MINUTE = "FIXED_15_MINUTE"
|
|
255
256
|
}
|
|
256
257
|
/** @enumType */
|
|
257
258
|
type AsapPacingWindowTypeWithLiterals = AsapPacingWindowType | 'FIXED_15_MINUTE';
|
|
258
|
-
/** Defines when pacing should be active */
|
|
259
|
+
/** Defines when pacing should be active. */
|
|
259
260
|
declare enum ActivationType {
|
|
260
|
-
/** Pacing is active 24/7 */
|
|
261
|
+
/** Pacing is active 24/7. */
|
|
261
262
|
ALWAYS_ACTIVE = "ALWAYS_ACTIVE",
|
|
262
|
-
/** Pacing follows custom availability pattern */
|
|
263
|
+
/** Pacing follows custom availability pattern. */
|
|
263
264
|
SCHEDULE = "SCHEDULE"
|
|
264
265
|
}
|
|
265
266
|
/** @enumType */
|
|
@@ -322,8 +323,7 @@ interface TimeOfDay {
|
|
|
322
323
|
interface PreorderScheduling {
|
|
323
324
|
method?: PreorderMethod;
|
|
324
325
|
/**
|
|
325
|
-
*
|
|
326
|
-
* Currently, only `TIME_WINDOWS` is supported.
|
|
326
|
+
* How fulfillment times are displayed.
|
|
327
327
|
* @internal
|
|
328
328
|
* @deprecated
|
|
329
329
|
* @replacedBy fulfillment_times_display
|
|
@@ -331,12 +331,13 @@ interface PreorderScheduling {
|
|
|
331
331
|
*/
|
|
332
332
|
fulfillmentTimesDisplayConfig?: FulfillmentTimesDisplayConfig;
|
|
333
333
|
/**
|
|
334
|
-
*
|
|
335
|
-
*
|
|
334
|
+
* How fulfillment times are displayed.
|
|
335
|
+
*
|
|
336
|
+
* Currently supports `TIME_WINDOWS`.
|
|
336
337
|
*/
|
|
337
338
|
fulfillmentTimesDisplay?: FulfillmentTimesDisplayConfig;
|
|
338
339
|
/**
|
|
339
|
-
*
|
|
340
|
+
* Order pacing configuration for preorders.
|
|
340
341
|
* @internal
|
|
341
342
|
*/
|
|
342
343
|
orderPacing?: PreOrderPacing;
|
|
@@ -347,11 +348,7 @@ interface PreorderMethod extends PreorderMethodMethodOptionsOneOf {
|
|
|
347
348
|
timeBoundedOptions?: TimeBounded;
|
|
348
349
|
/** Options for the method. Required when `type` is `WEEKLY_SCHEDULE`. */
|
|
349
350
|
weeklyScheduleOptions?: WeeklySchedule;
|
|
350
|
-
/**
|
|
351
|
-
* Type of time frame for how long in advance preorders can be made. <br />
|
|
352
|
-
* - When `TIME_BOUNDED`, `timeBoundedOptions` is a required field.
|
|
353
|
-
* - When `WEEKLY_SCHEDULE`, `weeklyScheduleOptions` is a required field.
|
|
354
|
-
*/
|
|
351
|
+
/** Type of time frame for how long in advance preorders can be made. */
|
|
355
352
|
type?: MethodTypeWithLiterals;
|
|
356
353
|
}
|
|
357
354
|
/** @oneof */
|
|
@@ -403,34 +400,31 @@ interface TimeBounded {
|
|
|
403
400
|
/** Options for the method. Required when `type` is `WEEKLY_SCHEDULE`. */
|
|
404
401
|
interface WeeklySchedule {
|
|
405
402
|
/**
|
|
406
|
-
*
|
|
407
|
-
*
|
|
403
|
+
* Weekly cutoff time.
|
|
404
|
+
*
|
|
405
|
+
* Orders placed before the cutoff time are scheduled for the current week.
|
|
408
406
|
* Orders placed after the cutoff time are scheduled for the next week.
|
|
409
407
|
*/
|
|
410
408
|
cutOffTime?: DayAndTime;
|
|
411
409
|
}
|
|
412
410
|
/** Way by which fulfillment times should be displayed. */
|
|
413
411
|
interface FulfillmentTimesDisplayConfig extends FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf {
|
|
414
|
-
/**
|
|
412
|
+
/** Duration of each time window. Required when `type` is `TIME_WINDOWS`. */
|
|
415
413
|
timeWindowsOptions?: TimeDuration;
|
|
416
414
|
/**
|
|
417
|
-
*
|
|
418
|
-
* When `TIME_WINDOWS`, `timeWindowsOptions` is a required field.
|
|
415
|
+
* Fulfillment times type.
|
|
419
416
|
* @internal
|
|
420
417
|
* @deprecated
|
|
421
418
|
* @replacedBy type
|
|
422
419
|
* @targetRemovalDate 2023-11-11
|
|
423
420
|
*/
|
|
424
421
|
fulfillmentTimesType?: FulfillmentTimesTypeWithLiterals;
|
|
425
|
-
/**
|
|
426
|
-
* Type of the fulfillment times. <br />
|
|
427
|
-
* When `TIME_WINDOWS`, `timeWindowsOptions` is a required field.
|
|
428
|
-
*/
|
|
422
|
+
/** Fulfillment times type. */
|
|
429
423
|
type?: FulfillmentTimesTypeWithLiterals;
|
|
430
424
|
}
|
|
431
425
|
/** @oneof */
|
|
432
426
|
interface FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf {
|
|
433
|
-
/**
|
|
427
|
+
/** Duration of each time window. Required when `type` is `TIME_WINDOWS`. */
|
|
434
428
|
timeWindowsOptions?: TimeDuration;
|
|
435
429
|
}
|
|
436
430
|
/** The fulfillment times type enum. */
|
|
@@ -440,31 +434,31 @@ declare enum FulfillmentTimesType {
|
|
|
440
434
|
}
|
|
441
435
|
/** @enumType */
|
|
442
436
|
type FulfillmentTimesTypeWithLiterals = FulfillmentTimesType | 'TIME_WINDOWS';
|
|
443
|
-
/** Order pacing configuration for preorder scheduling */
|
|
437
|
+
/** Order pacing configuration for preorder scheduling. */
|
|
444
438
|
interface PreOrderPacing extends PreOrderPacingPacingAvailabilityOneOf {
|
|
445
|
-
/** Custom availability pattern for when pacing should be active */
|
|
439
|
+
/** Custom availability pattern for when pacing should be active. */
|
|
446
440
|
scheduleOptions?: WeeklyActiveDays;
|
|
447
|
-
/** Whether order pacing is enabled for preorder */
|
|
441
|
+
/** Whether order pacing is enabled for preorder. */
|
|
448
442
|
enabled?: boolean | null;
|
|
449
443
|
/**
|
|
450
|
-
* Maximum number of orders allowed within the pacing window
|
|
444
|
+
* Maximum number of orders allowed within the pacing window.
|
|
451
445
|
* @min 1
|
|
452
446
|
* @max 1000
|
|
453
447
|
*/
|
|
454
448
|
maxOrdersInWindow?: number | null;
|
|
455
|
-
/** Type of pacing window (currently only daily supported) */
|
|
449
|
+
/** Type of pacing window (currently only daily supported). */
|
|
456
450
|
windowType?: PreorderPacingWindowTypeWithLiterals;
|
|
457
|
-
/** When the pacing should be active */
|
|
451
|
+
/** When the pacing should be active. */
|
|
458
452
|
activationType?: ActivationTypeWithLiterals;
|
|
459
453
|
}
|
|
460
454
|
/** @oneof */
|
|
461
455
|
interface PreOrderPacingPacingAvailabilityOneOf {
|
|
462
|
-
/** Custom availability pattern for when pacing should be active */
|
|
456
|
+
/** Custom availability pattern for when pacing should be active. */
|
|
463
457
|
scheduleOptions?: WeeklyActiveDays;
|
|
464
458
|
}
|
|
465
|
-
/** Preorder pacing window type enum */
|
|
459
|
+
/** Preorder pacing window type enum. */
|
|
466
460
|
declare enum PreorderPacingWindowType {
|
|
467
|
-
/** Daily pacing window */
|
|
461
|
+
/** Daily pacing window. */
|
|
468
462
|
DAILY = "DAILY"
|
|
469
463
|
}
|
|
470
464
|
/** @enumType */
|
|
@@ -484,7 +478,7 @@ declare enum OnlineOrderingStatusType {
|
|
|
484
478
|
ENABLED = "ENABLED",
|
|
485
479
|
/** Operation currently does not accept online orders. */
|
|
486
480
|
DISABLED = "DISABLED",
|
|
487
|
-
/** Operation currently does not accept online orders, but will accept online orders from a specified
|
|
481
|
+
/** 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. */
|
|
488
482
|
PAUSED_UNTIL = "PAUSED_UNTIL"
|
|
489
483
|
}
|
|
490
484
|
/** @enumType */
|
|
@@ -492,13 +486,12 @@ type OnlineOrderingStatusTypeWithLiterals = OnlineOrderingStatusType | 'UNDEFINE
|
|
|
492
486
|
/** Options for online ordering status. Required when `onlineOrderingStatus` is `PAUSED_UNTIL`. */
|
|
493
487
|
interface OnlineOrderingPausedUntilOptions {
|
|
494
488
|
/**
|
|
495
|
-
* Date and time until which online ordering is paused.
|
|
489
|
+
* Date and time until which online ordering is paused.
|
|
496
490
|
*
|
|
497
|
-
* Before
|
|
491
|
+
* Before this time, the operation behaves as if `onlineOrderingStatus` is `DISABLED`.
|
|
492
|
+
* After this time, the operation behaves as if `onlineOrderingStatus` is `ENABLED`.
|
|
498
493
|
*
|
|
499
|
-
*
|
|
500
|
-
*
|
|
501
|
-
* Passing the time does not trigger any changes to value of any properties.
|
|
494
|
+
* When this time passes, `onlineOrderingStatus` doesn't change.
|
|
502
495
|
*/
|
|
503
496
|
time?: Date | null;
|
|
504
497
|
}
|
|
@@ -522,11 +515,7 @@ interface OrderScheduling extends OrderSchedulingOrderSchedulingOptionsOneOf {
|
|
|
522
515
|
asapOptions?: AsapOrderScheduling;
|
|
523
516
|
/** Options for scheduling. Required if `type` is `PREORDER`. */
|
|
524
517
|
preorderOptions?: PreorderScheduling;
|
|
525
|
-
/**
|
|
526
|
-
* Scheduling type. <br />
|
|
527
|
-
* - When `ASAP`, `asapOptions` is a required field.
|
|
528
|
-
* - When `PREORDER`, `preorderOptions` is a required field.
|
|
529
|
-
*/
|
|
518
|
+
/** Order scheduling type. */
|
|
530
519
|
type?: SchedulingTypeWithLiterals;
|
|
531
520
|
}
|
|
532
521
|
/** @oneof */
|
|
@@ -539,19 +528,16 @@ interface OrderSchedulingOrderSchedulingOptionsOneOf {
|
|
|
539
528
|
interface AsapOrderScheduling extends AsapOrderSchedulingAsapFutureHandlingOptionsOneOf {
|
|
540
529
|
/** Options for future handling. Required when `asapFutureHandlingType` is `BUSINESS_DAYS_AHEAD_HANDLING`. */
|
|
541
530
|
businessDaysAheadHandlingOptions?: BusinessDaysAheadHandling;
|
|
542
|
-
/**
|
|
543
|
-
* Amount of time needed to prepare the order. <br />
|
|
544
|
-
* - When `MAX_TIME`, `maxTimeOptions` is a required field.
|
|
545
|
-
* - When `MAX_RANGE`, `timeRangeOptions` is a required field.
|
|
546
|
-
*/
|
|
531
|
+
/** Time needed to prepare the order. */
|
|
547
532
|
preparationTime?: PreparationTime;
|
|
548
533
|
/**
|
|
549
|
-
*
|
|
550
|
-
*
|
|
534
|
+
* Whether and how orders can be placed for a later time.
|
|
535
|
+
*
|
|
536
|
+
* When `BUSINESS_DAYS_AHEAD_HANDLING`, `businessDaysAheadHandlingOptions` is required.
|
|
551
537
|
*/
|
|
552
538
|
asapFutureHandlingType?: AsapFutureHandlingTypeWithLiterals;
|
|
553
539
|
/**
|
|
554
|
-
*
|
|
540
|
+
* Order pacing configuration for `ASAP` orders.
|
|
555
541
|
* @internal
|
|
556
542
|
*/
|
|
557
543
|
orderPacing?: AsapOrderPacing;
|
|
@@ -561,6 +547,7 @@ interface AsapOrderSchedulingAsapFutureHandlingOptionsOneOf {
|
|
|
561
547
|
/** Options for future handling. Required when `asapFutureHandlingType` is `BUSINESS_DAYS_AHEAD_HANDLING`. */
|
|
562
548
|
businessDaysAheadHandlingOptions?: BusinessDaysAheadHandling;
|
|
563
549
|
}
|
|
550
|
+
/** Time needed to prepare an order. */
|
|
564
551
|
interface PreparationTime extends PreparationTimeTimeSpecificationOneOf {
|
|
565
552
|
/** Options for preparation time. Required when `type` is `MAX_TIME`. */
|
|
566
553
|
maxTimeOptions?: TimeDuration;
|
|
@@ -578,13 +565,15 @@ interface PreparationTimeTimeSpecificationOneOf {
|
|
|
578
565
|
}
|
|
579
566
|
/** Preparation time type enum. */
|
|
580
567
|
declare enum PreparationTimePreparationTimeType {
|
|
568
|
+
/** Preparation time has a maximum. */
|
|
581
569
|
MAX_TIME = "MAX_TIME",
|
|
570
|
+
/** Preparation time has a minimum and a maximum. */
|
|
582
571
|
TIME_RANGE = "TIME_RANGE"
|
|
583
572
|
}
|
|
584
573
|
/** @enumType */
|
|
585
574
|
type PreparationTimePreparationTimeTypeWithLiterals = PreparationTimePreparationTimeType | 'MAX_TIME' | 'TIME_RANGE';
|
|
586
575
|
declare enum AsapFutureHandlingType {
|
|
587
|
-
/**
|
|
576
|
+
/** Orders can't be placed for a later time. */
|
|
588
577
|
NO_FUTURE_HANDLING = "NO_FUTURE_HANDLING",
|
|
589
578
|
/** Allows future orders for up to a specified number of business days ahead. */
|
|
590
579
|
BUSINESS_DAYS_AHEAD_HANDLING = "BUSINESS_DAYS_AHEAD_HANDLING"
|
|
@@ -593,8 +582,9 @@ declare enum AsapFutureHandlingType {
|
|
|
593
582
|
type AsapFutureHandlingTypeWithLiterals = AsapFutureHandlingType | 'NO_FUTURE_HANDLING' | 'BUSINESS_DAYS_AHEAD_HANDLING';
|
|
594
583
|
interface BusinessDaysAheadHandling {
|
|
595
584
|
/**
|
|
596
|
-
* Number of business days ahead for which orders can be scheduled.
|
|
597
|
-
*
|
|
585
|
+
* Number of business days ahead for which orders can be scheduled.
|
|
586
|
+
*
|
|
587
|
+
* When `0`, orders can be scheduled until the end of the current business day.
|
|
598
588
|
*/
|
|
599
589
|
daysCount?: number | null;
|
|
600
590
|
}
|
|
@@ -658,7 +648,7 @@ interface V1Address {
|
|
|
658
648
|
*/
|
|
659
649
|
formatted?: string | null;
|
|
660
650
|
/**
|
|
661
|
-
* Extra information that helps
|
|
651
|
+
* Extra information that helps find the location.
|
|
662
652
|
* @maxLength 500
|
|
663
653
|
*/
|
|
664
654
|
hint?: string | null;
|
|
@@ -683,7 +673,7 @@ interface V1StreetAddress {
|
|
|
683
673
|
*/
|
|
684
674
|
apt?: string;
|
|
685
675
|
}
|
|
686
|
-
/**
|
|
676
|
+
/** Geographic coordinates of the address. */
|
|
687
677
|
interface V1AddressLocation {
|
|
688
678
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
689
679
|
latitude?: number | null;
|
|
@@ -730,7 +720,7 @@ interface Tags {
|
|
|
730
720
|
}
|
|
731
721
|
interface TagList {
|
|
732
722
|
/**
|
|
733
|
-
* List of tag IDs
|
|
723
|
+
* List of tag IDs.
|
|
734
724
|
* @maxSize 100
|
|
735
725
|
* @maxLength 5
|
|
736
726
|
*/
|
|
@@ -805,11 +795,11 @@ interface ListBlockedPeriodsRequest {
|
|
|
805
795
|
* ID of the restaurant operation this blocked period is associated with. (See the Restaurants Operations API for more information.)
|
|
806
796
|
* @format GUID
|
|
807
797
|
*/
|
|
808
|
-
operationId
|
|
798
|
+
operationId?: string | null;
|
|
809
799
|
/** Start time of the desired window. If not specified, the current time is used. */
|
|
810
800
|
from?: Date | null;
|
|
811
801
|
/** End time of the desired window. */
|
|
812
|
-
until
|
|
802
|
+
until?: Date | null;
|
|
813
803
|
}
|
|
814
804
|
interface ListBlockedPeriodsResponse {
|
|
815
805
|
/**
|
|
@@ -1058,7 +1048,7 @@ interface URIs {
|
|
|
1058
1048
|
uriPaths?: string[];
|
|
1059
1049
|
}
|
|
1060
1050
|
interface DeliveryProfileConfiguredForOperation {
|
|
1061
|
-
/** Operation */
|
|
1051
|
+
/** Operation whose delivery profile was configured. */
|
|
1062
1052
|
operation?: Operation;
|
|
1063
1053
|
}
|
|
1064
1054
|
interface OperationsDataCloningCompleted {
|
|
@@ -1197,39 +1187,39 @@ interface ListOperationsResponse {
|
|
|
1197
1187
|
}
|
|
1198
1188
|
interface ListOperationIdsRequest {
|
|
1199
1189
|
/**
|
|
1200
|
-
*
|
|
1190
|
+
* Site ID.
|
|
1201
1191
|
* @format GUID
|
|
1202
1192
|
*/
|
|
1203
1193
|
metasiteId?: string;
|
|
1204
1194
|
}
|
|
1205
1195
|
interface ListOperationIdsResponse {
|
|
1206
1196
|
/**
|
|
1207
|
-
*
|
|
1197
|
+
* Operation IDs.
|
|
1208
1198
|
* @format GUID
|
|
1209
1199
|
*/
|
|
1210
1200
|
operationIds?: string[];
|
|
1211
1201
|
}
|
|
1212
1202
|
interface ListOperationsInternalRequest {
|
|
1213
1203
|
/**
|
|
1214
|
-
*
|
|
1204
|
+
* Site ID.
|
|
1215
1205
|
* @format GUID
|
|
1216
1206
|
*/
|
|
1217
1207
|
metasiteId?: string;
|
|
1218
1208
|
}
|
|
1219
1209
|
interface ListOperationsInternalResponse {
|
|
1220
|
-
/**
|
|
1210
|
+
/** Retrieved operations. */
|
|
1221
1211
|
operations?: Operation[];
|
|
1222
1212
|
}
|
|
1223
1213
|
interface ListAvailableFulfillmentOptionsRequest {
|
|
1224
1214
|
/**
|
|
1225
|
-
*
|
|
1215
|
+
* ID of the operation to retrieve fulfillment options for.
|
|
1226
1216
|
* @format GUID
|
|
1227
1217
|
*/
|
|
1228
1218
|
operationId: string;
|
|
1229
1219
|
/**
|
|
1230
|
-
* Delivery address.
|
|
1220
|
+
* Delivery address.
|
|
1231
1221
|
*
|
|
1232
|
-
*
|
|
1222
|
+
* When specified, the response includes only the delivery fulfillment options that deliver to this address.
|
|
1233
1223
|
*/
|
|
1234
1224
|
deliveryAddress?: CommonAddress;
|
|
1235
1225
|
}
|
|
@@ -1325,37 +1315,37 @@ declare enum SubdivisionType {
|
|
|
1325
1315
|
/** @enumType */
|
|
1326
1316
|
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';
|
|
1327
1317
|
interface ListAvailableFulfillmentOptionsResponse {
|
|
1328
|
-
/** Whether pickup fulfillment method is configured for the
|
|
1318
|
+
/** Whether a pickup fulfillment method is configured for the operation. */
|
|
1329
1319
|
pickupConfigured?: boolean;
|
|
1330
|
-
/** Whether delivery fulfillment method is configured for the
|
|
1320
|
+
/** Whether a delivery fulfillment method is configured for the operation. */
|
|
1331
1321
|
deliveryConfigured?: boolean;
|
|
1332
|
-
/**
|
|
1322
|
+
/** Available fulfillment options. */
|
|
1333
1323
|
fulfillmentOptions?: FulfillmentOption[];
|
|
1334
|
-
/** Whether availability exceptions block the
|
|
1324
|
+
/** Whether availability exceptions currently block ordering for the operation. */
|
|
1335
1325
|
blockedByAvailabilityExceptions?: boolean | null;
|
|
1336
|
-
/** Whether availability
|
|
1326
|
+
/** Whether an ordering-paused availability exception currently blocks ordering for the operation. */
|
|
1337
1327
|
blockedByPausedOrdering?: boolean | null;
|
|
1338
1328
|
}
|
|
1339
|
-
/** Fulfillment method that is currently available to fulfill orders, given its availability and the operation's scheduling
|
|
1329
|
+
/** Fulfillment method that is currently available to fulfill orders, given its availability and the operation's order scheduling. */
|
|
1340
1330
|
interface FulfillmentOption extends FulfillmentOptionFulfillmentTimeOptionsOneOf, FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf, FulfillmentOptionFulfillmentTypeOptionsOneOf {
|
|
1341
|
-
/**
|
|
1331
|
+
/** Maximum fulfillment time in minutes. */
|
|
1342
1332
|
maxTimeOptions?: number;
|
|
1343
|
-
/**
|
|
1333
|
+
/** Range of the fulfillment time in minutes. */
|
|
1344
1334
|
durationRangeOptions?: DurationRange;
|
|
1345
|
-
/** Options for fulfillment
|
|
1335
|
+
/** Options for displaying fulfillment times. Required when `fulfillmentTimesDisplayType` is `TIME_WINDOWS`. */
|
|
1346
1336
|
timeWindowsOptions?: TimeWindowDisplayConfig;
|
|
1347
|
-
/** Information about
|
|
1337
|
+
/** Information about the `PICKUP` fulfillment type. */
|
|
1348
1338
|
pickupOptions?: PickupDetails;
|
|
1349
|
-
/** Information about
|
|
1339
|
+
/** Information about the `DELIVERY` fulfillment type. */
|
|
1350
1340
|
deliveryOptions?: DeliveryDetails;
|
|
1351
|
-
/** Information about
|
|
1341
|
+
/** Information about the `DINE_IN` fulfillment type. */
|
|
1352
1342
|
dineInOptions?: DineInDetails;
|
|
1353
1343
|
/**
|
|
1354
1344
|
* Fulfillment method ID.
|
|
1355
1345
|
* @format GUID
|
|
1356
1346
|
*/
|
|
1357
1347
|
_id?: string | null;
|
|
1358
|
-
/** Fulfillment
|
|
1348
|
+
/** Fulfillment type. */
|
|
1359
1349
|
type?: FulfillmentTypeWithLiterals;
|
|
1360
1350
|
/**
|
|
1361
1351
|
* Minimum order price to qualify for the fulfillment option.
|
|
@@ -1369,46 +1359,46 @@ interface FulfillmentOption extends FulfillmentOptionFulfillmentTimeOptionsOneOf
|
|
|
1369
1359
|
fee?: string | null;
|
|
1370
1360
|
/** Availability of the fulfillment option. */
|
|
1371
1361
|
availability?: FulfillmentOptionAvailability;
|
|
1372
|
-
/**
|
|
1373
|
-
* Fulfillment time type.
|
|
1374
|
-
* Relevant only to ASAP operations.
|
|
1375
|
-
*/
|
|
1362
|
+
/** Fulfillment time type. Relevant only when `orderScheduling.type` is `ASAP`. */
|
|
1376
1363
|
fulfillmentTimeType?: FulfillmentTimeTypeWithLiterals;
|
|
1377
|
-
/** Fulfillment times display type. Relevant
|
|
1364
|
+
/** Fulfillment times display type. Relevant only when `orderScheduling.type` is `PREORDER`. */
|
|
1378
1365
|
fulfillmentTimesDisplayType?: FulfillmentTimesDisplayTypeWithLiterals;
|
|
1379
1366
|
/**
|
|
1380
|
-
* Minimum order price for free fulfillment.
|
|
1381
|
-
* If order price exceeds this amount, the
|
|
1367
|
+
* Minimum order price to qualify for free fulfillment.
|
|
1368
|
+
* If the order price exceeds this amount, the `fee` is waived.
|
|
1382
1369
|
* @decimalValue options { gte:0.00, maxScale:3 }
|
|
1383
1370
|
*/
|
|
1384
1371
|
freeFulfillmentPriceThreshold?: string | null;
|
|
1385
1372
|
/**
|
|
1386
|
-
*
|
|
1373
|
+
* Fulfillment instructions for the customer.
|
|
1387
1374
|
* @maxLength 250
|
|
1388
1375
|
*/
|
|
1389
1376
|
instructions?: string | null;
|
|
1390
|
-
/**
|
|
1377
|
+
/**
|
|
1378
|
+
* ID of the business location of the fulfillment option.
|
|
1379
|
+
* @format GUID
|
|
1380
|
+
*/
|
|
1391
1381
|
businessLocationId?: string | null;
|
|
1392
1382
|
}
|
|
1393
1383
|
/** @oneof */
|
|
1394
1384
|
interface FulfillmentOptionFulfillmentTimeOptionsOneOf {
|
|
1395
|
-
/**
|
|
1385
|
+
/** Maximum fulfillment time in minutes. */
|
|
1396
1386
|
maxTimeOptions?: number;
|
|
1397
|
-
/**
|
|
1387
|
+
/** Range of the fulfillment time in minutes. */
|
|
1398
1388
|
durationRangeOptions?: DurationRange;
|
|
1399
1389
|
}
|
|
1400
1390
|
/** @oneof */
|
|
1401
1391
|
interface FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf {
|
|
1402
|
-
/** Options for fulfillment
|
|
1392
|
+
/** Options for displaying fulfillment times. Required when `fulfillmentTimesDisplayType` is `TIME_WINDOWS`. */
|
|
1403
1393
|
timeWindowsOptions?: TimeWindowDisplayConfig;
|
|
1404
1394
|
}
|
|
1405
1395
|
/** @oneof */
|
|
1406
1396
|
interface FulfillmentOptionFulfillmentTypeOptionsOneOf {
|
|
1407
|
-
/** Information about
|
|
1397
|
+
/** Information about the `PICKUP` fulfillment type. */
|
|
1408
1398
|
pickupOptions?: PickupDetails;
|
|
1409
|
-
/** Information about
|
|
1399
|
+
/** Information about the `DELIVERY` fulfillment type. */
|
|
1410
1400
|
deliveryOptions?: DeliveryDetails;
|
|
1411
|
-
/** Information about
|
|
1401
|
+
/** Information about the `DINE_IN` fulfillment type. */
|
|
1412
1402
|
dineInOptions?: DineInDetails;
|
|
1413
1403
|
}
|
|
1414
1404
|
/** Availability of the fulfillment option. */
|
|
@@ -1479,15 +1469,15 @@ interface TimeWindowDisplayConfig {
|
|
|
1479
1469
|
/** Time window duration in minutes. */
|
|
1480
1470
|
durationInMinutes?: number;
|
|
1481
1471
|
}
|
|
1482
|
-
/** Information about
|
|
1472
|
+
/** Information about the `PICKUP` fulfillment type. */
|
|
1483
1473
|
interface PickupDetails {
|
|
1484
1474
|
/** Pickup address. This is the restaurant's address. */
|
|
1485
1475
|
address?: CommonAddress;
|
|
1486
1476
|
}
|
|
1487
|
-
/** Information about
|
|
1477
|
+
/** Information about the `DELIVERY` fulfillment type. */
|
|
1488
1478
|
interface DeliveryDetails {
|
|
1489
1479
|
/**
|
|
1490
|
-
*
|
|
1480
|
+
* ID of the app that provides the delivery.
|
|
1491
1481
|
* @format GUID
|
|
1492
1482
|
*/
|
|
1493
1483
|
deliveryProviderAppId?: string | null;
|
|
@@ -1496,10 +1486,10 @@ interface DeliveryDetails {
|
|
|
1496
1486
|
* @maxLength 250
|
|
1497
1487
|
*/
|
|
1498
1488
|
courierPickupInstructions?: string | null;
|
|
1499
|
-
/**
|
|
1489
|
+
/** Time it takes to deliver the order in minutes. */
|
|
1500
1490
|
deliveryTimeInMinutes?: number | null;
|
|
1501
1491
|
}
|
|
1502
|
-
/** Information about
|
|
1492
|
+
/** Information about the `DINE_IN` fulfillment type. */
|
|
1503
1493
|
interface DineInDetails {
|
|
1504
1494
|
/** Dine-in address. This is the restaurant's address. */
|
|
1505
1495
|
address?: CommonAddress;
|
|
@@ -1507,54 +1497,55 @@ interface DineInDetails {
|
|
|
1507
1497
|
interface ListFirstAvailableTimeSlotForFulfillmentTypesRequest {
|
|
1508
1498
|
/**
|
|
1509
1499
|
* Operation ID.
|
|
1510
|
-
* Returned fulfillment options will belong to this operation.
|
|
1511
1500
|
* @format GUID
|
|
1512
1501
|
*/
|
|
1513
1502
|
operationId: string;
|
|
1514
1503
|
/**
|
|
1515
|
-
* Delivery address.
|
|
1504
|
+
* Delivery address.
|
|
1516
1505
|
*
|
|
1517
|
-
*
|
|
1506
|
+
* 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.
|
|
1518
1507
|
*/
|
|
1519
1508
|
deliveryAddress?: CommonAddress;
|
|
1520
1509
|
}
|
|
1521
1510
|
interface ListFirstAvailableTimeSlotForFulfillmentTypesResponse {
|
|
1522
1511
|
/**
|
|
1523
|
-
*
|
|
1512
|
+
* First available time slot of each fulfillment type.
|
|
1524
1513
|
*
|
|
1525
|
-
*
|
|
1526
|
-
* A delivery fulfillment type is returned only if the delivery address is provided.
|
|
1514
|
+
* Delivery time slots are limited to the delivery area only when a delivery address was specified.
|
|
1527
1515
|
*/
|
|
1528
1516
|
timeSlots?: FulfillmentTimeSlot[];
|
|
1529
1517
|
}
|
|
1530
1518
|
interface FulfillmentTimeSlot {
|
|
1531
|
-
/** Start
|
|
1519
|
+
/** Start date and time of the time slot. */
|
|
1532
1520
|
startTime?: Date | null;
|
|
1533
|
-
/** End
|
|
1521
|
+
/** End date and time of the time slot. */
|
|
1534
1522
|
endTime?: Date | null;
|
|
1535
1523
|
/**
|
|
1536
1524
|
* Status of the time slot.
|
|
1537
1525
|
* @internal
|
|
1538
1526
|
*/
|
|
1539
1527
|
timeSlotStatus?: TimeSlotStatusWithLiterals;
|
|
1540
|
-
/**
|
|
1528
|
+
/**
|
|
1529
|
+
* Delay in minutes added to the original time slot. Relevant only when `orderScheduling.type` is `ASAP`.
|
|
1530
|
+
* @internal
|
|
1531
|
+
*/
|
|
1541
1532
|
includedDelayInMinutes?: number | null;
|
|
1542
|
-
/**
|
|
1533
|
+
/** Fulfillment type. */
|
|
1543
1534
|
fulfilmentType?: FulfillmentTypeWithLiterals;
|
|
1544
1535
|
/** Whether the time slot starts now. */
|
|
1545
1536
|
startsNow?: boolean;
|
|
1546
1537
|
/**
|
|
1547
|
-
* Details
|
|
1538
|
+
* Details of each fulfillment option available in the time slot.
|
|
1548
1539
|
* @maxSize 500
|
|
1549
1540
|
*/
|
|
1550
1541
|
fulfillmentDetails?: FulfillmentDetails[];
|
|
1551
|
-
/**
|
|
1542
|
+
/** Fulfillment address. Currently not returned. */
|
|
1552
1543
|
fulfillmentAddress?: FulfillmentAddress;
|
|
1553
1544
|
}
|
|
1554
1545
|
declare enum TimeSlotStatus {
|
|
1555
1546
|
/** The time slot is available for ordering. */
|
|
1556
1547
|
AVAILABLE = "AVAILABLE",
|
|
1557
|
-
/** The time slot is blocked by pacing.
|
|
1548
|
+
/** The time slot is blocked by order pacing. */
|
|
1558
1549
|
BLOCKED = "BLOCKED"
|
|
1559
1550
|
}
|
|
1560
1551
|
/** @enumType */
|
|
@@ -1566,20 +1557,20 @@ interface FulfillmentDetails extends FulfillmentDetailsFulfillmentTimeOptionsOne
|
|
|
1566
1557
|
/** Fulfillment time has a minimum and a maximum. */
|
|
1567
1558
|
durationRangeOptions?: DurationRange;
|
|
1568
1559
|
/**
|
|
1569
|
-
* Fee for using this fulfillment.
|
|
1560
|
+
* Fee for using this fulfillment option.
|
|
1570
1561
|
* @decimalValue options { gte:0.00, maxScale:3 }
|
|
1571
1562
|
*/
|
|
1572
1563
|
fee?: string | null;
|
|
1573
1564
|
/**
|
|
1574
|
-
* Minimum order price to qualify for using this fulfillment.
|
|
1565
|
+
* Minimum order price to qualify for using this fulfillment option.
|
|
1575
1566
|
* @decimalValue options { gte:0.00, maxScale:3 }
|
|
1576
1567
|
*/
|
|
1577
1568
|
minOrderPrice?: string | null;
|
|
1578
|
-
/** Fulfillment time type.
|
|
1569
|
+
/** Fulfillment time type. Relevant only when `orderScheduling.type` is `ASAP`. */
|
|
1579
1570
|
fulfillmentTimeType?: FulfillmentTimeTypeWithLiterals;
|
|
1580
1571
|
/**
|
|
1581
|
-
* Minimum order price for free fulfillment.
|
|
1582
|
-
* If order price exceeds this amount, the
|
|
1572
|
+
* Minimum order price to qualify for free fulfillment.
|
|
1573
|
+
* If the order price exceeds this amount, the `fee` is waived.
|
|
1583
1574
|
* @decimalValue options { gte:0.00, maxScale:3 }
|
|
1584
1575
|
*/
|
|
1585
1576
|
freeFulfillmentPriceThreshold?: string | null;
|
|
@@ -1592,12 +1583,12 @@ interface FulfillmentDetailsFulfillmentTimeOptionsOneOf {
|
|
|
1592
1583
|
durationRangeOptions?: DurationRange;
|
|
1593
1584
|
}
|
|
1594
1585
|
/**
|
|
1595
|
-
*
|
|
1596
|
-
* For pickup
|
|
1597
|
-
* For delivery
|
|
1586
|
+
* Fulfillment address.
|
|
1587
|
+
* For pickup, this is the address to pick the order up from.
|
|
1588
|
+
* For delivery, this is the address to deliver the order to.
|
|
1598
1589
|
*/
|
|
1599
1590
|
interface FulfillmentAddress {
|
|
1600
|
-
/**
|
|
1591
|
+
/** Fulfillment address. */
|
|
1601
1592
|
address?: CommonAddress;
|
|
1602
1593
|
}
|
|
1603
1594
|
interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest {
|
|
@@ -1609,21 +1600,21 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest {
|
|
|
1609
1600
|
/**
|
|
1610
1601
|
* Delivery address.
|
|
1611
1602
|
*
|
|
1612
|
-
*
|
|
1603
|
+
* 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.
|
|
1613
1604
|
*/
|
|
1614
1605
|
deliveryAddress?: CommonAddress;
|
|
1615
1606
|
}
|
|
1616
1607
|
interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse {
|
|
1617
1608
|
/**
|
|
1618
|
-
* First available time slot
|
|
1609
|
+
* First available time slot of each fulfillment type.
|
|
1619
1610
|
*
|
|
1620
|
-
*
|
|
1611
|
+
* Delivery time slots are limited to the delivery area only when a delivery address was specified.
|
|
1621
1612
|
* @maxSize 2
|
|
1622
1613
|
*/
|
|
1623
1614
|
timeslotsPerFulfillmentType?: TimeSlotForFulfillment[];
|
|
1624
1615
|
}
|
|
1625
1616
|
interface TimeSlotForFulfillment {
|
|
1626
|
-
/** Time
|
|
1617
|
+
/** Time slot details. */
|
|
1627
1618
|
timeSlot?: TimeSlot;
|
|
1628
1619
|
/**
|
|
1629
1620
|
* Status of the time slot.
|
|
@@ -1639,14 +1630,14 @@ interface TimeSlotForFulfillment {
|
|
|
1639
1630
|
fulfilmentType?: FulfillmentTypeWithLiterals;
|
|
1640
1631
|
}
|
|
1641
1632
|
interface TimeSlot {
|
|
1642
|
-
/** Start
|
|
1633
|
+
/** Start date and time of the time slot in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format. */
|
|
1643
1634
|
startTime?: Date | null;
|
|
1644
|
-
/** End
|
|
1635
|
+
/** End date and time of the time slot in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format. */
|
|
1645
1636
|
endTime?: Date | null;
|
|
1646
1637
|
/** Order scheduling type used by the operation. */
|
|
1647
1638
|
orderSchedulingType?: OrderSchedulingTypeWithLiterals;
|
|
1648
1639
|
/**
|
|
1649
|
-
* Delay in minutes
|
|
1640
|
+
* Delay in minutes added to the original time slot. Relevant only when `orderScheduling.type` is `ASAP`.
|
|
1650
1641
|
* @internal
|
|
1651
1642
|
*/
|
|
1652
1643
|
includedDelayInMinutes?: number | null;
|
|
@@ -1662,7 +1653,7 @@ type OrderSchedulingTypeWithLiterals = OrderSchedulingType | 'ASAP' | 'PREORDER'
|
|
|
1662
1653
|
declare enum TimeSlotForFulfillmentTimeSlotStatus {
|
|
1663
1654
|
/** The time slot is available for ordering. */
|
|
1664
1655
|
AVAILABLE = "AVAILABLE",
|
|
1665
|
-
/** The time slot is blocked by pacing
|
|
1656
|
+
/** The time slot is blocked by order pacing. */
|
|
1666
1657
|
BLOCKED = "BLOCKED"
|
|
1667
1658
|
}
|
|
1668
1659
|
/** @enumType */
|
|
@@ -1691,8 +1682,8 @@ interface FulfillmentInfo extends FulfillmentInfoFulfillmentTimeOneOf {
|
|
|
1691
1682
|
freeFulfillmentPriceThreshold?: string | null;
|
|
1692
1683
|
/**
|
|
1693
1684
|
* Details on the address of the fulfillment.
|
|
1694
|
-
* For pickup
|
|
1695
|
-
* For delivery
|
|
1685
|
+
* For pickup, this is the address to pick the order up from.
|
|
1686
|
+
* For delivery, this is the address to deliver the order to.
|
|
1696
1687
|
*/
|
|
1697
1688
|
address?: CommonAddress;
|
|
1698
1689
|
}
|
|
@@ -1705,22 +1696,21 @@ interface FulfillmentInfoFulfillmentTimeOneOf {
|
|
|
1705
1696
|
}
|
|
1706
1697
|
interface ListFirstAvailableTimeSlotsForOperationsRequest {
|
|
1707
1698
|
/**
|
|
1708
|
-
* Operation
|
|
1709
|
-
* Returned fulfillment options will belong to this operation.
|
|
1699
|
+
* Operation IDs.
|
|
1710
1700
|
* @format GUID
|
|
1711
1701
|
* @maxSize 100
|
|
1712
1702
|
*/
|
|
1713
1703
|
operationIds: string[];
|
|
1714
1704
|
/**
|
|
1715
|
-
* Delivery address.
|
|
1705
|
+
* Delivery address.
|
|
1716
1706
|
*
|
|
1717
|
-
*
|
|
1707
|
+
* 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.
|
|
1718
1708
|
*/
|
|
1719
1709
|
deliveryAddress?: CommonAddress;
|
|
1720
1710
|
}
|
|
1721
1711
|
interface ListFirstAvailableTimeSlotsForOperationsResponse {
|
|
1722
1712
|
/**
|
|
1723
|
-
*
|
|
1713
|
+
* First available time slot of each fulfillment type for each operation.
|
|
1724
1714
|
* @maxSize 100
|
|
1725
1715
|
*/
|
|
1726
1716
|
timeSlots?: OperationTimeSlot[];
|
|
@@ -1732,7 +1722,7 @@ interface OperationTimeSlot {
|
|
|
1732
1722
|
*/
|
|
1733
1723
|
operationId?: string;
|
|
1734
1724
|
/**
|
|
1735
|
-
*
|
|
1725
|
+
* First available time slot of each fulfillment type for this operation.
|
|
1736
1726
|
* @maxSize 100
|
|
1737
1727
|
*/
|
|
1738
1728
|
timeSlots?: FulfillmentTimeSlot[];
|
|
@@ -1747,7 +1737,7 @@ interface CalculateFirstAvailableTimeSlotsPerOperationRequest {
|
|
|
1747
1737
|
/**
|
|
1748
1738
|
* Delivery address.
|
|
1749
1739
|
*
|
|
1750
|
-
*
|
|
1740
|
+
* 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.
|
|
1751
1741
|
*/
|
|
1752
1742
|
deliveryAddress?: CommonAddress;
|
|
1753
1743
|
}
|
|
@@ -1755,7 +1745,7 @@ interface CalculateFirstAvailableTimeSlotsPerOperationResponse {
|
|
|
1755
1745
|
/**
|
|
1756
1746
|
* First available time slot of each fulfillment type for each operation.
|
|
1757
1747
|
*
|
|
1758
|
-
*
|
|
1748
|
+
* Delivery time slots are limited to the delivery area only when a delivery address was specified.
|
|
1759
1749
|
* @maxSize 100
|
|
1760
1750
|
*/
|
|
1761
1751
|
timeSlotsPerOperation?: TimeSlotForOperation[];
|
|
@@ -1775,28 +1765,26 @@ interface TimeSlotForOperation {
|
|
|
1775
1765
|
interface ListFirstAvailableTimeSlotsForMenusRequest {
|
|
1776
1766
|
/**
|
|
1777
1767
|
* Operation ID.
|
|
1778
|
-
* Returned timeslots that are belong to this operation.
|
|
1779
1768
|
* @format GUID
|
|
1780
1769
|
*/
|
|
1781
1770
|
operationId: string | null;
|
|
1782
1771
|
/**
|
|
1783
|
-
* Delivery address.
|
|
1772
|
+
* Delivery address.
|
|
1784
1773
|
*
|
|
1785
|
-
*
|
|
1774
|
+
* 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.
|
|
1786
1775
|
*/
|
|
1787
1776
|
deliveryAddress?: CommonAddress;
|
|
1788
|
-
/** Cursor paging */
|
|
1777
|
+
/** Cursor paging. */
|
|
1789
1778
|
cursorPaging?: CommonCursorPaging;
|
|
1790
1779
|
}
|
|
1791
1780
|
interface ListFirstAvailableTimeSlotsForMenusResponse {
|
|
1792
1781
|
/**
|
|
1793
|
-
*
|
|
1794
|
-
* For each menu will be returned the first available time slot for each fulfillment type.
|
|
1782
|
+
* First available time slot of each fulfillment type for each menu.
|
|
1795
1783
|
* @maxSize 100
|
|
1796
1784
|
*/
|
|
1797
1785
|
timeSlotsPerMenu?: FirstFulfillmentTimeSlotsPerMenu[];
|
|
1798
1786
|
/**
|
|
1799
|
-
* Cursor to next request.
|
|
1787
|
+
* Cursor pointing to the next page of results. Pass it in `cursorPaging.cursor` in the next request.
|
|
1800
1788
|
* @maxLength 16000
|
|
1801
1789
|
*/
|
|
1802
1790
|
cursor?: string | null;
|
|
@@ -1808,7 +1796,7 @@ interface FirstFulfillmentTimeSlotsPerMenu {
|
|
|
1808
1796
|
*/
|
|
1809
1797
|
menuId?: string | null;
|
|
1810
1798
|
/**
|
|
1811
|
-
*
|
|
1799
|
+
* First available time slot of each fulfillment type for this menu.
|
|
1812
1800
|
* @maxSize 2
|
|
1813
1801
|
*/
|
|
1814
1802
|
timeslotsPerFulfillmentType?: FulfillmentTimeSlot[];
|
|
@@ -1822,19 +1810,23 @@ interface CalculateFirstAvailableTimeSlotsPerMenuRequest {
|
|
|
1822
1810
|
/**
|
|
1823
1811
|
* Delivery address.
|
|
1824
1812
|
*
|
|
1825
|
-
*
|
|
1813
|
+
* 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.
|
|
1826
1814
|
*/
|
|
1827
1815
|
deliveryAddress?: CommonAddress;
|
|
1828
1816
|
/** Cursor paging. */
|
|
1829
1817
|
cursorPaging?: CommonCursorPaging;
|
|
1830
|
-
/**
|
|
1818
|
+
/**
|
|
1819
|
+
* Whether to retrieve time slots only for menus that have online ordering enabled.
|
|
1820
|
+
*
|
|
1821
|
+
* Default: `false`
|
|
1822
|
+
*/
|
|
1831
1823
|
onlyOnlineOrderingEnabled?: boolean | null;
|
|
1832
1824
|
}
|
|
1833
1825
|
interface CalculateFirstAvailableTimeSlotsPerMenuResponse {
|
|
1834
1826
|
/**
|
|
1835
1827
|
* First available time slot of each fulfillment type for each menu.
|
|
1836
1828
|
*
|
|
1837
|
-
*
|
|
1829
|
+
* Delivery time slots are limited to the delivery area only when a delivery address was specified.
|
|
1838
1830
|
* @maxSize 100
|
|
1839
1831
|
*/
|
|
1840
1832
|
timeSlotsPerMenu?: FulfillmentTimeSlotsPerMenu[];
|
|
@@ -1877,27 +1869,30 @@ interface PagingMetadata {
|
|
|
1877
1869
|
hasNext?: boolean | null;
|
|
1878
1870
|
}
|
|
1879
1871
|
interface CalculateFirstAvailableTimeSlotsForItemRequest {
|
|
1880
|
-
/**
|
|
1872
|
+
/**
|
|
1873
|
+
* Operation ID.
|
|
1874
|
+
* @format GUID
|
|
1875
|
+
*/
|
|
1881
1876
|
operationId: string | null;
|
|
1882
1877
|
/**
|
|
1883
|
-
*
|
|
1878
|
+
* ID of the menu that contains the item.
|
|
1884
1879
|
* @format GUID
|
|
1885
1880
|
*/
|
|
1886
1881
|
menuId: string | null;
|
|
1887
1882
|
/**
|
|
1888
|
-
*
|
|
1883
|
+
* ID of the menu section that contains the item.
|
|
1889
1884
|
* @format GUID
|
|
1890
1885
|
*/
|
|
1891
1886
|
sectionId: string | null;
|
|
1892
1887
|
/**
|
|
1893
|
-
*
|
|
1888
|
+
* ID of the item to retrieve the first available time slots for.
|
|
1894
1889
|
* @format GUID
|
|
1895
1890
|
*/
|
|
1896
1891
|
itemId: string | null;
|
|
1897
1892
|
/**
|
|
1898
|
-
* Delivery address.
|
|
1893
|
+
* Delivery address.
|
|
1899
1894
|
*
|
|
1900
|
-
*
|
|
1895
|
+
* 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.
|
|
1901
1896
|
*/
|
|
1902
1897
|
deliveryAddress?: CommonAddress;
|
|
1903
1898
|
}
|
|
@@ -1905,7 +1900,7 @@ interface CalculateFirstAvailableTimeSlotsForItemResponse {
|
|
|
1905
1900
|
/**
|
|
1906
1901
|
* First available time slot of each fulfillment type.
|
|
1907
1902
|
*
|
|
1908
|
-
*
|
|
1903
|
+
* Delivery time slots are limited to the delivery area only when a delivery address was specified.
|
|
1909
1904
|
*/
|
|
1910
1905
|
timeslotsPerFulfillmentType?: TimeSlotForFulfillment[];
|
|
1911
1906
|
/** Metadata for the paginated results. */
|
|
@@ -1914,17 +1909,16 @@ interface CalculateFirstAvailableTimeSlotsForItemResponse {
|
|
|
1914
1909
|
interface ListAvailableTimeSlotsForDateRequest {
|
|
1915
1910
|
/**
|
|
1916
1911
|
* Operation ID.
|
|
1917
|
-
* The returned fulfillment options will belong to this operation.
|
|
1918
1912
|
* @format GUID
|
|
1919
1913
|
*/
|
|
1920
1914
|
operationId: string;
|
|
1921
1915
|
/**
|
|
1922
|
-
* Delivery address.
|
|
1916
|
+
* Delivery address.
|
|
1923
1917
|
*
|
|
1924
|
-
*
|
|
1918
|
+
* 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.
|
|
1925
1919
|
*/
|
|
1926
1920
|
deliveryAddress?: CommonAddress;
|
|
1927
|
-
/** Date
|
|
1921
|
+
/** Date to retrieve the available time slots for. */
|
|
1928
1922
|
date: _Date;
|
|
1929
1923
|
}
|
|
1930
1924
|
interface _Date {
|
|
@@ -1948,7 +1942,7 @@ interface _Date {
|
|
|
1948
1942
|
year?: number;
|
|
1949
1943
|
}
|
|
1950
1944
|
interface ListAvailableTimeSlotsForDateResponse {
|
|
1951
|
-
/**
|
|
1945
|
+
/** Available time slots of each fulfillment type for the specified date. */
|
|
1952
1946
|
timeSlots?: FulfillmentTimeSlot[];
|
|
1953
1947
|
}
|
|
1954
1948
|
interface CalculateAvailableTimeSlotsForDateRequest {
|
|
@@ -1960,13 +1954,15 @@ interface CalculateAvailableTimeSlotsForDateRequest {
|
|
|
1960
1954
|
/**
|
|
1961
1955
|
* Delivery address.
|
|
1962
1956
|
*
|
|
1963
|
-
*
|
|
1957
|
+
* 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.
|
|
1964
1958
|
*/
|
|
1965
1959
|
deliveryAddress?: CommonAddress;
|
|
1966
|
-
/** Date
|
|
1960
|
+
/** Date to retrieve the available time slots for. */
|
|
1967
1961
|
date: _Date;
|
|
1968
1962
|
/**
|
|
1969
|
-
*
|
|
1963
|
+
* Whether to include time slots that order pacing blocks.
|
|
1964
|
+
*
|
|
1965
|
+
* Default: `false`
|
|
1970
1966
|
* @internal
|
|
1971
1967
|
*/
|
|
1972
1968
|
includeBlockedTimeslots?: boolean;
|
|
@@ -1975,7 +1971,7 @@ interface CalculateAvailableTimeSlotsForDateResponse {
|
|
|
1975
1971
|
/**
|
|
1976
1972
|
* Available time slots of each fulfillment type for the specified date.
|
|
1977
1973
|
*
|
|
1978
|
-
*
|
|
1974
|
+
* Delivery time slots are limited to the delivery area only when a delivery address was specified.
|
|
1979
1975
|
* @maxSize 2
|
|
1980
1976
|
*/
|
|
1981
1977
|
timeslotsPerFulfillmentType?: TimeSlotForFulfillment[];
|
|
@@ -1983,14 +1979,13 @@ interface CalculateAvailableTimeSlotsForDateResponse {
|
|
|
1983
1979
|
interface ListAvailableDatesInRangeRequest {
|
|
1984
1980
|
/**
|
|
1985
1981
|
* Operation ID.
|
|
1986
|
-
* The returned fulfillment options will belong to this operation.
|
|
1987
1982
|
* @format GUID
|
|
1988
1983
|
*/
|
|
1989
1984
|
operationId: string;
|
|
1990
1985
|
/**
|
|
1991
|
-
* Delivery address.
|
|
1986
|
+
* Delivery address.
|
|
1992
1987
|
*
|
|
1993
|
-
*
|
|
1988
|
+
* 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.
|
|
1994
1989
|
*/
|
|
1995
1990
|
deliveryAddress?: CommonAddress;
|
|
1996
1991
|
/** Start date and time of the range. */
|
|
@@ -1999,7 +1994,7 @@ interface ListAvailableDatesInRangeRequest {
|
|
|
1999
1994
|
until: _Date;
|
|
2000
1995
|
}
|
|
2001
1996
|
interface ListAvailableDatesInRangeResponse {
|
|
2002
|
-
/**
|
|
1997
|
+
/** Available dates of each fulfillment type, in descending order. */
|
|
2003
1998
|
availableDates?: FulfillmentTypeAvailableDates[];
|
|
2004
1999
|
}
|
|
2005
2000
|
/** Available dates for a given fulfillment type. */
|
|
@@ -2007,7 +2002,7 @@ interface FulfillmentTypeAvailableDates {
|
|
|
2007
2002
|
/** Fulfillment type. */
|
|
2008
2003
|
fulfilmentType?: FulfillmentTypeWithLiterals;
|
|
2009
2004
|
/**
|
|
2010
|
-
* Available dates in descending order
|
|
2005
|
+
* Available dates in descending order, latest first.
|
|
2011
2006
|
*
|
|
2012
2007
|
* Contains all dates that have at least one available time slot for this fulfillment type.
|
|
2013
2008
|
* @minSize 1
|
|
@@ -2024,7 +2019,7 @@ interface CalculateAvailableDatesInRangeRequest {
|
|
|
2024
2019
|
/**
|
|
2025
2020
|
* Delivery address.
|
|
2026
2021
|
*
|
|
2027
|
-
*
|
|
2022
|
+
* 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.
|
|
2028
2023
|
*/
|
|
2029
2024
|
deliveryAddress?: CommonAddress;
|
|
2030
2025
|
/** Start date and time of the range. */
|
|
@@ -2042,27 +2037,27 @@ interface CalculateAvailableDatesInRangeResponse {
|
|
|
2042
2037
|
}
|
|
2043
2038
|
interface GetExpectedFulfillmentSelectionRequest {
|
|
2044
2039
|
/**
|
|
2045
|
-
* Operation ID.
|
|
2040
|
+
* Operation ID.
|
|
2046
2041
|
* @format GUID
|
|
2047
2042
|
*/
|
|
2048
2043
|
operationId?: string;
|
|
2049
2044
|
/**
|
|
2050
|
-
* Delivery address.
|
|
2045
|
+
* Delivery address.
|
|
2051
2046
|
*
|
|
2052
|
-
*
|
|
2047
|
+
* When specified, only delivery fulfillment options that deliver to this address are returned.
|
|
2053
2048
|
*/
|
|
2054
2049
|
deliveryAddress?: CommonAddress;
|
|
2055
|
-
/** Start
|
|
2050
|
+
/** Start date and time of the time slot. */
|
|
2056
2051
|
timeslotStartTime?: Date | null;
|
|
2057
|
-
/** End
|
|
2052
|
+
/** End date and time of the time slot. */
|
|
2058
2053
|
timeslotEndTime?: Date | null;
|
|
2059
|
-
/**
|
|
2054
|
+
/** Fulfillment type. */
|
|
2060
2055
|
fulfilmentType?: FulfillmentTypeWithLiterals;
|
|
2061
|
-
/** Whether
|
|
2056
|
+
/** Whether an order can be submitted for immediate handling. */
|
|
2062
2057
|
canSubmitOrderForNow?: boolean | null;
|
|
2063
2058
|
}
|
|
2064
2059
|
interface GetExpectedFulfillmentSelectionResponse {
|
|
2065
|
-
/** Expected fulfillment
|
|
2060
|
+
/** Expected fulfillment options. */
|
|
2066
2061
|
expectedFulfillmentSelections?: FulfillmentOption[];
|
|
2067
2062
|
}
|
|
2068
2063
|
interface UpdateImmutableFieldsRequest {
|
|
@@ -2071,17 +2066,17 @@ interface UpdateImmutableFieldsRequest {
|
|
|
2071
2066
|
}
|
|
2072
2067
|
interface ImmutableFields {
|
|
2073
2068
|
/**
|
|
2074
|
-
*
|
|
2069
|
+
* Operation ID.
|
|
2075
2070
|
* @format GUID
|
|
2076
2071
|
*/
|
|
2077
2072
|
_id?: string;
|
|
2078
2073
|
/**
|
|
2079
|
-
*
|
|
2074
|
+
* Operation group ID.
|
|
2080
2075
|
* @format GUID
|
|
2081
2076
|
*/
|
|
2082
2077
|
operationGroupId?: string | null;
|
|
2083
2078
|
/**
|
|
2084
|
-
*
|
|
2079
|
+
* Business location ID.
|
|
2085
2080
|
* @format GUID
|
|
2086
2081
|
*/
|
|
2087
2082
|
businessLocationId?: string | null;
|
|
@@ -2092,51 +2087,50 @@ interface UpdateImmutableFieldsResponse {
|
|
|
2092
2087
|
}
|
|
2093
2088
|
interface ValidateOperationAddressRequest {
|
|
2094
2089
|
/**
|
|
2095
|
-
*
|
|
2090
|
+
* ID of the operation whose business location address to validate.
|
|
2096
2091
|
* @format GUID
|
|
2097
2092
|
*/
|
|
2098
2093
|
operationId: string;
|
|
2099
2094
|
}
|
|
2100
|
-
/** Response message for address validation */
|
|
2101
2095
|
interface ValidateOperationAddressResponse {
|
|
2102
2096
|
/** Whether the address is valid. */
|
|
2103
2097
|
valid?: boolean;
|
|
2104
2098
|
/**
|
|
2105
|
-
* List of violations. Empty if the address is
|
|
2099
|
+
* List of violations. Empty if the address is valid.
|
|
2106
2100
|
* @maxSize 5
|
|
2107
2101
|
*/
|
|
2108
2102
|
violations?: AddressViolation[];
|
|
2109
2103
|
}
|
|
2110
|
-
/**
|
|
2104
|
+
/** Address violation. */
|
|
2111
2105
|
interface AddressViolation {
|
|
2112
2106
|
/** Type of violation in the address. */
|
|
2113
2107
|
type?: ViolationTypeWithLiterals;
|
|
2114
2108
|
}
|
|
2115
2109
|
/** Type of violation in the address. */
|
|
2116
2110
|
declare enum ViolationType {
|
|
2117
|
-
/**
|
|
2111
|
+
/** Unknown violation type. */
|
|
2118
2112
|
UNKNOWN = "UNKNOWN",
|
|
2119
|
-
/** The
|
|
2113
|
+
/** The business location has no address. */
|
|
2120
2114
|
NO_ADDRESS = "NO_ADDRESS",
|
|
2121
|
-
/** The address
|
|
2115
|
+
/** The address has no formatted address. */
|
|
2122
2116
|
MISSING_FORMATTED_ADDRESS = "MISSING_FORMATTED_ADDRESS",
|
|
2123
|
-
/** The address has
|
|
2117
|
+
/** The address has no geocode coordinates, or the coordinates are 0,0. */
|
|
2124
2118
|
INVALID_GEOCODE = "INVALID_GEOCODE",
|
|
2125
|
-
/** The address
|
|
2119
|
+
/** The address has no country. */
|
|
2126
2120
|
MISSING_COUNTRY = "MISSING_COUNTRY",
|
|
2127
|
-
/** The address
|
|
2121
|
+
/** The address has no subdivision, and its country requires one. */
|
|
2128
2122
|
MISSING_SUBDIVISION = "MISSING_SUBDIVISION"
|
|
2129
2123
|
}
|
|
2130
2124
|
/** @enumType */
|
|
2131
2125
|
type ViolationTypeWithLiterals = ViolationType | 'UNKNOWN' | 'NO_ADDRESS' | 'MISSING_FORMATTED_ADDRESS' | 'INVALID_GEOCODE' | 'MISSING_COUNTRY' | 'MISSING_SUBDIVISION';
|
|
2132
2126
|
interface UpdateDeliveryRegionsRequest {
|
|
2133
2127
|
/**
|
|
2134
|
-
* Country code for delivery destinations
|
|
2128
|
+
* Country code for delivery destinations. For example, `US`.
|
|
2135
2129
|
* @maxLength 150
|
|
2136
2130
|
*/
|
|
2137
2131
|
countryCode?: string;
|
|
2138
2132
|
/**
|
|
2139
|
-
*
|
|
2133
|
+
* Subdivision for delivery destinations, such as a state or province.
|
|
2140
2134
|
* @maxLength 150
|
|
2141
2135
|
*/
|
|
2142
2136
|
subdivision?: string | null;
|
|
@@ -2200,7 +2194,11 @@ interface BulkActionMetadata {
|
|
|
2200
2194
|
undetailedFailures?: number;
|
|
2201
2195
|
}
|
|
2202
2196
|
interface BulkUpdateOperationTagsByFilterRequest {
|
|
2203
|
-
/**
|
|
2197
|
+
/**
|
|
2198
|
+
* Filter that determines which operations to update tags for. Specify an empty filter to update all operations.
|
|
2199
|
+
*
|
|
2200
|
+
* 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.
|
|
2201
|
+
*/
|
|
2204
2202
|
filter: Record<string, any> | null;
|
|
2205
2203
|
/** Tags to assign to the operations. */
|
|
2206
2204
|
assignTags?: Tags;
|
|
@@ -2209,7 +2207,7 @@ interface BulkUpdateOperationTagsByFilterRequest {
|
|
|
2209
2207
|
}
|
|
2210
2208
|
interface BulkUpdateOperationTagsByFilterResponse {
|
|
2211
2209
|
/**
|
|
2212
|
-
* Job ID. Pass this ID to Get Async Job
|
|
2210
|
+
* 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.
|
|
2213
2211
|
* @format GUID
|
|
2214
2212
|
*/
|
|
2215
2213
|
jobId?: string;
|
|
@@ -2838,10 +2836,15 @@ declare enum Namespace {
|
|
|
2838
2836
|
* Dev-center development sites (com.wixpress.devcenter.dsm).
|
|
2839
2837
|
* DEPRECATED: replaced by Flag.DEV_CENTER_DEV_SITE_FLAG (a dev site is orthogonal to the namespace). Do not use for new sites.
|
|
2840
2838
|
*/
|
|
2841
|
-
DEV_CENTER_DEV_SITE = "DEV_CENTER_DEV_SITE"
|
|
2839
|
+
DEV_CENTER_DEV_SITE = "DEV_CENTER_DEV_SITE",
|
|
2840
|
+
/**
|
|
2841
|
+
* KidOS (Tuned): a siteless site representing one kid in a Tuned family, owned by the parent's account. Holds the kid's data.
|
|
2842
|
+
* MetaSites with this namespace will *not* be shown in a user's site list by default.
|
|
2843
|
+
*/
|
|
2844
|
+
KIDOS = "KIDOS"
|
|
2842
2845
|
}
|
|
2843
2846
|
/** @enumType */
|
|
2844
|
-
type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44' | 'CHANNELS' | 'NAUTILUS' | 'SYMPHONY' | 'NAUTILUS_APPS' | 'VIBU' | 'ENTERPRISE_BRAND_KIT' | 'DEV_CENTER_DEV_SITE';
|
|
2847
|
+
type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44' | 'CHANNELS' | 'NAUTILUS' | 'SYMPHONY' | 'NAUTILUS_APPS' | 'VIBU' | 'ENTERPRISE_BRAND_KIT' | 'DEV_CENTER_DEV_SITE' | 'KIDOS';
|
|
2845
2848
|
/** Site transferred to another user. */
|
|
2846
2849
|
interface SiteTransferred {
|
|
2847
2850
|
/**
|
|
@@ -3245,24 +3248,6 @@ interface OperationUpdatedEnvelope {
|
|
|
3245
3248
|
* @slug updated
|
|
3246
3249
|
*/
|
|
3247
3250
|
declare function onOperationUpdated(handler: (event: OperationUpdatedEnvelope) => void | Promise<void>): void;
|
|
3248
|
-
/**
|
|
3249
|
-
* List Blocked Periods.
|
|
3250
|
-
* @param operationId - ID of the restaurant operation this blocked period is associated with. (See the Restaurants Operations API for more information.)
|
|
3251
|
-
* @public
|
|
3252
|
-
* @documentationMaturity preview
|
|
3253
|
-
* @requiredField operationId
|
|
3254
|
-
* @requiredField options.until
|
|
3255
|
-
* @permissionId RESTAURANTS.OPERATION_PACING_READ
|
|
3256
|
-
* @applicableIdentity APP
|
|
3257
|
-
* @fqn wix.restaurants.operation.pacing.v1.OperationPacingService.ListBlockedPeriods
|
|
3258
|
-
*/
|
|
3259
|
-
declare function listBlockedPeriods(operationId: string, options?: NonNullablePaths<ListBlockedPeriodsOptions, `until`, 0>): Promise<NonNullablePaths<ListBlockedPeriodsResponse, `blockPeriods`, 0>>;
|
|
3260
|
-
interface ListBlockedPeriodsOptions {
|
|
3261
|
-
/** Start time of the desired window. If not specified, the current time is used. */
|
|
3262
|
-
from?: Date | null;
|
|
3263
|
-
/** End time of the desired window. */
|
|
3264
|
-
until: Date | null;
|
|
3265
|
-
}
|
|
3266
3251
|
/**
|
|
3267
3252
|
* Retrieves an operation.
|
|
3268
3253
|
* @param operationId - ID of the operation to retrieve.
|
|
@@ -3277,14 +3262,12 @@ declare function getOperation(operationId: string): Promise<NonNullablePaths<Ope
|
|
|
3277
3262
|
/**
|
|
3278
3263
|
* Updates an operation.
|
|
3279
3264
|
*
|
|
3280
|
-
*
|
|
3281
|
-
* so you must include the entire object unless you are not updating `orderScheduling` at all. <br />
|
|
3282
|
-
*
|
|
3283
|
-
* Each time the operation is updated,
|
|
3284
|
-
* `revision` increments by 1.
|
|
3265
|
+
* Each time the operation is updated, `revision` increments by 1.
|
|
3285
3266
|
* The current `revision` must be passed when updating the operation.
|
|
3286
|
-
* This ensures you're working with the latest operation
|
|
3287
|
-
*
|
|
3267
|
+
* This ensures you're working with the latest operation and prevents unintended overwrites.
|
|
3268
|
+
*
|
|
3269
|
+
* When you update `orderScheduling`, the whole object is overwritten.
|
|
3270
|
+
* Specify the complete `orderScheduling` object, including the values you aren't changing.
|
|
3288
3271
|
* @param _id - Operation ID.
|
|
3289
3272
|
* @public
|
|
3290
3273
|
* @requiredField _id
|
|
@@ -3306,9 +3289,9 @@ interface UpdateOperation {
|
|
|
3306
3289
|
*/
|
|
3307
3290
|
_id?: string | null;
|
|
3308
3291
|
/**
|
|
3309
|
-
* Revision number
|
|
3292
|
+
* Revision number, which increments by 1 each time the operation is updated.
|
|
3310
3293
|
* To prevent conflicting changes,
|
|
3311
|
-
* the
|
|
3294
|
+
* the current revision must be passed when updating the operation.
|
|
3312
3295
|
* @readonly
|
|
3313
3296
|
*/
|
|
3314
3297
|
revision?: string | null;
|
|
@@ -3325,13 +3308,12 @@ interface UpdateOperation {
|
|
|
3325
3308
|
/** Operation name. */
|
|
3326
3309
|
name?: string | null;
|
|
3327
3310
|
/**
|
|
3328
|
-
*
|
|
3311
|
+
* Whether the operation is enabled.
|
|
3329
3312
|
* @internal
|
|
3330
3313
|
*/
|
|
3331
3314
|
enabled?: boolean | null;
|
|
3332
3315
|
/**
|
|
3333
|
-
*
|
|
3334
|
-
* Scheduling specifies when an order can be placed for.
|
|
3316
|
+
* Information about when an order can be placed for.
|
|
3335
3317
|
* @internal
|
|
3336
3318
|
* @deprecated
|
|
3337
3319
|
* @replacedBy order_scheduling
|
|
@@ -3339,14 +3321,15 @@ interface UpdateOperation {
|
|
|
3339
3321
|
*/
|
|
3340
3322
|
scheduling?: Scheduling;
|
|
3341
3323
|
/**
|
|
3342
|
-
*
|
|
3324
|
+
* ID of the delivery profile associated with the operation.
|
|
3343
3325
|
* @internal
|
|
3344
3326
|
* @format GUID
|
|
3345
3327
|
*/
|
|
3346
3328
|
profileId?: string | null;
|
|
3347
3329
|
/**
|
|
3348
|
-
* Whether the operation is the default operation.
|
|
3349
|
-
*
|
|
3330
|
+
* Whether the operation is the default operation.
|
|
3331
|
+
*
|
|
3332
|
+
* Default: `false`
|
|
3350
3333
|
*/
|
|
3351
3334
|
default?: boolean | null;
|
|
3352
3335
|
/**
|
|
@@ -3355,14 +3338,14 @@ interface UpdateOperation {
|
|
|
3355
3338
|
* @maxSize 500
|
|
3356
3339
|
*/
|
|
3357
3340
|
fulfillmentIds?: string[] | null;
|
|
3358
|
-
/** Online ordering status of the operation.
|
|
3341
|
+
/** Online ordering status of the operation. */
|
|
3359
3342
|
onlineOrderingStatus?: OnlineOrderingStatusTypeWithLiterals;
|
|
3360
3343
|
/** Default fulfillment type of the operation. */
|
|
3361
3344
|
defaultFulfillmentType?: FulfillmentTypeWithLiterals;
|
|
3362
3345
|
/** Information about when an order can be placed for. */
|
|
3363
3346
|
orderScheduling?: OrderScheduling;
|
|
3364
3347
|
/**
|
|
3365
|
-
* ID of the operation group this operation belongs to.
|
|
3348
|
+
* ID of the operation group this operation belongs to. Set automatically when the operation is created.
|
|
3366
3349
|
* @format GUID
|
|
3367
3350
|
* @immutable
|
|
3368
3351
|
*/
|
|
@@ -3379,13 +3362,20 @@ interface UpdateOperation {
|
|
|
3379
3362
|
* @internal
|
|
3380
3363
|
*/
|
|
3381
3364
|
businessLocationDetails?: BusinessLocationDetails;
|
|
3382
|
-
/**
|
|
3365
|
+
/**
|
|
3366
|
+
* Custom field data for the operation object.
|
|
3367
|
+
*
|
|
3368
|
+
* [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.
|
|
3369
|
+
*/
|
|
3383
3370
|
extendedFields?: ExtendedFields;
|
|
3384
3371
|
/** 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. */
|
|
3385
3372
|
tags?: Tags;
|
|
3386
3373
|
}
|
|
3387
3374
|
/**
|
|
3388
3375
|
* Deletes an operation.
|
|
3376
|
+
*
|
|
3377
|
+
* Operations are deleted automatically when their operation group is deleted, so you don't need to delete them yourself.
|
|
3378
|
+
* Note that Delete Operation Group deletes the whole operation group, including its operations at all business locations.
|
|
3389
3379
|
* @param operationId - ID of the operation to delete.
|
|
3390
3380
|
* @public
|
|
3391
3381
|
* @requiredField operationId
|
|
@@ -3563,8 +3553,11 @@ declare const utils: {
|
|
|
3563
3553
|
query: _wix_sdk_types.QueryHelpers<Operation, OperationQuerySpec, OperationQuery>;
|
|
3564
3554
|
};
|
|
3565
3555
|
/**
|
|
3566
|
-
* Retrieves a list of operations.
|
|
3567
|
-
*
|
|
3556
|
+
* Retrieves a list of up to 50 operations.
|
|
3557
|
+
*
|
|
3558
|
+
* Operations are sorted by `createdDate` in ascending order.
|
|
3559
|
+
*
|
|
3560
|
+
* 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.
|
|
3568
3561
|
* @public
|
|
3569
3562
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3570
3563
|
* @applicableIdentity APP
|
|
@@ -3572,12 +3565,15 @@ declare const utils: {
|
|
|
3572
3565
|
*/
|
|
3573
3566
|
declare function listOperations(): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`, 4>>;
|
|
3574
3567
|
/**
|
|
3575
|
-
* Retrieves a list of
|
|
3568
|
+
* Retrieves a list of the fulfillment options currently available for an operation.
|
|
3569
|
+
*
|
|
3570
|
+
* 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.
|
|
3576
3571
|
*
|
|
3577
|
-
*
|
|
3578
|
-
*
|
|
3579
|
-
*
|
|
3580
|
-
*
|
|
3572
|
+
* If you don't specify `deliveryAddress`, the response includes fulfillment options of every fulfillment type.
|
|
3573
|
+
* If you specify `deliveryAddress`, the response includes the non-delivery fulfillment options and only the delivery fulfillment options whose delivery area contains the address.
|
|
3574
|
+
*
|
|
3575
|
+
* The response also indicates whether pickup and delivery are configured for the operation, and whether availability exceptions currently block ordering.
|
|
3576
|
+
* @param operationId - ID of the operation to retrieve fulfillment options for.
|
|
3581
3577
|
* @public
|
|
3582
3578
|
* @requiredField operationId
|
|
3583
3579
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
@@ -3587,18 +3583,17 @@ declare function listOperations(): Promise<NonNullablePaths<ListOperationsRespon
|
|
|
3587
3583
|
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>>;
|
|
3588
3584
|
interface ListAvailableFulfillmentOptions {
|
|
3589
3585
|
/**
|
|
3590
|
-
* Delivery address.
|
|
3586
|
+
* Delivery address.
|
|
3591
3587
|
*
|
|
3592
|
-
*
|
|
3588
|
+
* When specified, the response includes only the delivery fulfillment options that deliver to this address.
|
|
3593
3589
|
*/
|
|
3594
3590
|
deliveryAddress?: CommonAddress;
|
|
3595
3591
|
}
|
|
3596
3592
|
/**
|
|
3597
|
-
* Retrieves
|
|
3593
|
+
* Retrieves the first available time slot of each fulfillment type for an operation.
|
|
3598
3594
|
*
|
|
3599
|
-
*
|
|
3595
|
+
* 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.
|
|
3600
3596
|
* @param operationId - Operation ID.
|
|
3601
|
-
* Returned fulfillment options will belong to this operation.
|
|
3602
3597
|
* @public
|
|
3603
3598
|
* @requiredField operationId
|
|
3604
3599
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
@@ -3611,17 +3606,16 @@ interface ListAvailableFulfillmentOptions {
|
|
|
3611
3606
|
declare function listFirstAvailableTimeSlotForFulfillmentTypes(operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 2>>;
|
|
3612
3607
|
interface ListFirstAvailableTimeSlotForFulfillmentTypesOptions {
|
|
3613
3608
|
/**
|
|
3614
|
-
* Delivery address.
|
|
3609
|
+
* Delivery address.
|
|
3615
3610
|
*
|
|
3616
|
-
*
|
|
3611
|
+
* 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.
|
|
3617
3612
|
*/
|
|
3618
3613
|
deliveryAddress?: CommonAddress;
|
|
3619
3614
|
}
|
|
3620
3615
|
/**
|
|
3621
|
-
*
|
|
3616
|
+
* Calculates the first available time slot of each fulfillment type for a specified operation.
|
|
3622
3617
|
*
|
|
3623
|
-
*
|
|
3624
|
-
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3618
|
+
* 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.
|
|
3625
3619
|
* @param operationId - Operation ID.
|
|
3626
3620
|
* @public
|
|
3627
3621
|
* @requiredField operationId
|
|
@@ -3634,16 +3628,15 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
|
|
|
3634
3628
|
/**
|
|
3635
3629
|
* Delivery address.
|
|
3636
3630
|
*
|
|
3637
|
-
*
|
|
3631
|
+
* 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.
|
|
3638
3632
|
*/
|
|
3639
3633
|
deliveryAddress?: CommonAddress;
|
|
3640
3634
|
}
|
|
3641
3635
|
/**
|
|
3642
|
-
* Retrieves
|
|
3636
|
+
* Retrieves the first available time slot of each fulfillment type for each specified operation.
|
|
3643
3637
|
*
|
|
3644
|
-
*
|
|
3645
|
-
* @param operationIds - Operation
|
|
3646
|
-
* Returned fulfillment options will belong to this operation.
|
|
3638
|
+
* 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.
|
|
3639
|
+
* @param operationIds - Operation IDs.
|
|
3647
3640
|
* @public
|
|
3648
3641
|
* @requiredField operationIds
|
|
3649
3642
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
@@ -3656,17 +3649,16 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
|
|
|
3656
3649
|
declare function listFirstAvailableTimeSlotsForOperations(operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`, 2>>;
|
|
3657
3650
|
interface ListFirstAvailableTimeSlotsForOperationsOptions {
|
|
3658
3651
|
/**
|
|
3659
|
-
* Delivery address.
|
|
3652
|
+
* Delivery address.
|
|
3660
3653
|
*
|
|
3661
|
-
*
|
|
3654
|
+
* 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.
|
|
3662
3655
|
*/
|
|
3663
3656
|
deliveryAddress?: CommonAddress;
|
|
3664
3657
|
}
|
|
3665
3658
|
/**
|
|
3666
|
-
*
|
|
3659
|
+
* Calculates the first available time slot of each fulfillment type for each specified operation.
|
|
3667
3660
|
*
|
|
3668
|
-
*
|
|
3669
|
-
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3661
|
+
* 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.
|
|
3670
3662
|
* @param operationIds - Operation IDs.
|
|
3671
3663
|
* @public
|
|
3672
3664
|
* @requiredField operationIds
|
|
@@ -3679,14 +3671,15 @@ interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
|
|
|
3679
3671
|
/**
|
|
3680
3672
|
* Delivery address.
|
|
3681
3673
|
*
|
|
3682
|
-
*
|
|
3674
|
+
* 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.
|
|
3683
3675
|
*/
|
|
3684
3676
|
deliveryAddress?: CommonAddress;
|
|
3685
3677
|
}
|
|
3686
3678
|
/**
|
|
3687
|
-
*
|
|
3679
|
+
* Retrieves the first available time slot of each fulfillment type for each menu of an operation.
|
|
3680
|
+
*
|
|
3681
|
+
* 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.
|
|
3688
3682
|
* @param operationId - Operation ID.
|
|
3689
|
-
* Returned timeslots that are belong to this operation.
|
|
3690
3683
|
* @public
|
|
3691
3684
|
* @requiredField operationId
|
|
3692
3685
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
@@ -3699,19 +3692,18 @@ interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
|
|
|
3699
3692
|
declare function listFirstAvailableTimeSlotsForMenus(operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`, 0>>;
|
|
3700
3693
|
interface ListFirstAvailableTimeSlotsForMenusOptions {
|
|
3701
3694
|
/**
|
|
3702
|
-
* Delivery address.
|
|
3695
|
+
* Delivery address.
|
|
3703
3696
|
*
|
|
3704
|
-
*
|
|
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.
|
|
3705
3698
|
*/
|
|
3706
3699
|
deliveryAddress?: CommonAddress;
|
|
3707
|
-
/** Cursor paging */
|
|
3700
|
+
/** Cursor paging. */
|
|
3708
3701
|
cursorPaging?: CommonCursorPaging;
|
|
3709
3702
|
}
|
|
3710
3703
|
/**
|
|
3711
|
-
*
|
|
3704
|
+
* Calculates the first available time slot of each fulfillment type for each specified menu.
|
|
3712
3705
|
*
|
|
3713
|
-
*
|
|
3714
|
-
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3706
|
+
* 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.
|
|
3715
3707
|
* @param operationId - Operation ID.
|
|
3716
3708
|
* @public
|
|
3717
3709
|
* @requiredField operationId
|
|
@@ -3724,20 +3716,27 @@ interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
|
|
|
3724
3716
|
/**
|
|
3725
3717
|
* Delivery address.
|
|
3726
3718
|
*
|
|
3727
|
-
*
|
|
3719
|
+
* 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.
|
|
3728
3720
|
*/
|
|
3729
3721
|
deliveryAddress?: CommonAddress;
|
|
3730
3722
|
/** Cursor paging. */
|
|
3731
3723
|
cursorPaging?: CommonCursorPaging;
|
|
3732
|
-
/**
|
|
3724
|
+
/**
|
|
3725
|
+
* Whether to retrieve time slots only for menus that have online ordering enabled.
|
|
3726
|
+
*
|
|
3727
|
+
* Default: `false`
|
|
3728
|
+
*/
|
|
3733
3729
|
onlyOnlineOrderingEnabled?: boolean | null;
|
|
3734
3730
|
}
|
|
3735
3731
|
/**
|
|
3736
|
-
*
|
|
3732
|
+
* Calculates the first available time slot of each fulfillment type for a specific menu item.
|
|
3737
3733
|
*
|
|
3738
|
-
* The
|
|
3739
|
-
*
|
|
3740
|
-
*
|
|
3734
|
+
* 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.
|
|
3735
|
+
* A time slot when the item can't be ordered isn't returned.
|
|
3736
|
+
*
|
|
3737
|
+
* 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.
|
|
3738
|
+
* @param operationId - Operation ID.
|
|
3739
|
+
* @param menuId - ID of the menu that contains the item.
|
|
3741
3740
|
* @public
|
|
3742
3741
|
* @requiredField menuId
|
|
3743
3742
|
* @requiredField operationId
|
|
@@ -3750,26 +3749,27 @@ interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
|
|
|
3750
3749
|
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>>;
|
|
3751
3750
|
interface CalculateFirstAvailableTimeSlotsForItemOptions {
|
|
3752
3751
|
/**
|
|
3753
|
-
*
|
|
3752
|
+
* ID of the menu section that contains the item.
|
|
3754
3753
|
* @format GUID
|
|
3755
3754
|
*/
|
|
3756
3755
|
sectionId: string | null;
|
|
3757
3756
|
/**
|
|
3758
|
-
*
|
|
3757
|
+
* ID of the item to retrieve the first available time slots for.
|
|
3759
3758
|
* @format GUID
|
|
3760
3759
|
*/
|
|
3761
3760
|
itemId: string | null;
|
|
3762
3761
|
/**
|
|
3763
|
-
* Delivery address.
|
|
3762
|
+
* Delivery address.
|
|
3764
3763
|
*
|
|
3765
|
-
*
|
|
3764
|
+
* 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.
|
|
3766
3765
|
*/
|
|
3767
3766
|
deliveryAddress?: CommonAddress;
|
|
3768
3767
|
}
|
|
3769
3768
|
/**
|
|
3770
|
-
* Retrieves
|
|
3769
|
+
* Retrieves the available time slots of each fulfillment type for the specified date.
|
|
3770
|
+
*
|
|
3771
|
+
* 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.
|
|
3771
3772
|
* @param operationId - Operation ID.
|
|
3772
|
-
* The returned fulfillment options will belong to this operation.
|
|
3773
3773
|
* @public
|
|
3774
3774
|
* @requiredField operationId
|
|
3775
3775
|
* @requiredField options.date
|
|
@@ -3786,19 +3786,20 @@ interface CalculateFirstAvailableTimeSlotsForItemOptions {
|
|
|
3786
3786
|
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>>;
|
|
3787
3787
|
interface ListAvailableTimeSlotsForDateOptions {
|
|
3788
3788
|
/**
|
|
3789
|
-
* Delivery address.
|
|
3789
|
+
* Delivery address.
|
|
3790
3790
|
*
|
|
3791
|
-
*
|
|
3791
|
+
* 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.
|
|
3792
3792
|
*/
|
|
3793
3793
|
deliveryAddress?: CommonAddress;
|
|
3794
|
-
/** Date
|
|
3794
|
+
/** Date to retrieve the available time slots for. */
|
|
3795
3795
|
date: _Date;
|
|
3796
3796
|
}
|
|
3797
3797
|
/**
|
|
3798
|
-
*
|
|
3798
|
+
* Calculates all available time slots of each fulfillment type for the specified date.
|
|
3799
|
+
*
|
|
3800
|
+
* Time slots are returned in descending order, latest first.
|
|
3799
3801
|
*
|
|
3800
|
-
*
|
|
3801
|
-
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3802
|
+
* 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.
|
|
3802
3803
|
* @param operationId - Operation ID.
|
|
3803
3804
|
* @public
|
|
3804
3805
|
* @requiredField operationId
|
|
@@ -3815,18 +3816,17 @@ interface CalculateAvailableTimeSlotsForDateOptions {
|
|
|
3815
3816
|
/**
|
|
3816
3817
|
* Delivery address.
|
|
3817
3818
|
*
|
|
3818
|
-
*
|
|
3819
|
+
* 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.
|
|
3819
3820
|
*/
|
|
3820
3821
|
deliveryAddress?: CommonAddress;
|
|
3821
|
-
/** Date
|
|
3822
|
+
/** Date to retrieve the available time slots for. */
|
|
3822
3823
|
date: _Date;
|
|
3823
3824
|
}
|
|
3824
3825
|
/**
|
|
3825
|
-
* Retrieves
|
|
3826
|
+
* Retrieves the available dates of each fulfillment type within the specified time range.
|
|
3826
3827
|
*
|
|
3827
3828
|
* A date is considered available if it has at least one available time slot.
|
|
3828
3829
|
* @param operationId - Operation ID.
|
|
3829
|
-
* The returned fulfillment options will belong to this operation.
|
|
3830
3830
|
* @public
|
|
3831
3831
|
* @requiredField operationId
|
|
3832
3832
|
* @requiredField options.from
|
|
@@ -3841,9 +3841,9 @@ interface CalculateAvailableTimeSlotsForDateOptions {
|
|
|
3841
3841
|
declare function listAvailableDatesInRange(operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`, 0>): Promise<NonNullablePaths<ListAvailableDatesInRangeResponse, `availableDates` | `availableDates.${number}.fulfilmentType`, 2>>;
|
|
3842
3842
|
interface ListAvailableDatesInRangeOptions {
|
|
3843
3843
|
/**
|
|
3844
|
-
* Delivery address.
|
|
3844
|
+
* Delivery address.
|
|
3845
3845
|
*
|
|
3846
|
-
*
|
|
3846
|
+
* 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.
|
|
3847
3847
|
*/
|
|
3848
3848
|
deliveryAddress?: CommonAddress;
|
|
3849
3849
|
/** Start date and time of the range. */
|
|
@@ -3852,12 +3852,12 @@ interface ListAvailableDatesInRangeOptions {
|
|
|
3852
3852
|
until: _Date;
|
|
3853
3853
|
}
|
|
3854
3854
|
/**
|
|
3855
|
-
*
|
|
3855
|
+
* Calculates all available dates of each fulfillment type within the specified time range.
|
|
3856
3856
|
*
|
|
3857
3857
|
* A date is considered available if it has at least one available time slot.
|
|
3858
|
+
* Dates are returned in descending order, latest first.
|
|
3858
3859
|
*
|
|
3859
|
-
*
|
|
3860
|
-
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3860
|
+
* 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.
|
|
3861
3861
|
* @param operationId - Operation ID.
|
|
3862
3862
|
* @public
|
|
3863
3863
|
* @requiredField operationId
|
|
@@ -3872,7 +3872,7 @@ interface CalculateAvailableDatesInRangeOptions {
|
|
|
3872
3872
|
/**
|
|
3873
3873
|
* Delivery address.
|
|
3874
3874
|
*
|
|
3875
|
-
*
|
|
3875
|
+
* 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.
|
|
3876
3876
|
*/
|
|
3877
3877
|
deliveryAddress?: CommonAddress;
|
|
3878
3878
|
/** Start date and time of the range. */
|
|
@@ -3881,29 +3881,31 @@ interface CalculateAvailableDatesInRangeOptions {
|
|
|
3881
3881
|
until: _Date;
|
|
3882
3882
|
}
|
|
3883
3883
|
/**
|
|
3884
|
-
* Validates an operation's
|
|
3884
|
+
* Validates the address of an operation's business location.
|
|
3885
3885
|
*
|
|
3886
|
-
*
|
|
3886
|
+
* An address is valid if it has:
|
|
3887
3887
|
*
|
|
3888
|
-
*
|
|
3888
|
+
* 1. A formatted address.
|
|
3889
|
+
* 2. Geocode coordinates other than 0,0.
|
|
3890
|
+
* 3. A country.
|
|
3891
|
+
* 4. A subdivision, for countries where a subdivision is required.
|
|
3889
3892
|
*
|
|
3890
|
-
*
|
|
3891
|
-
*
|
|
3892
|
-
*
|
|
3893
|
-
*
|
|
3894
|
-
* If the address is invalid, the response includes specific violations.
|
|
3895
|
-
* @param operationId - The ID of the operation whose address should be validated.
|
|
3893
|
+
* If the address isn't valid, the response lists each violation.
|
|
3894
|
+
* If the business location has no address, the response includes a single `NO_ADDRESS` violation.
|
|
3895
|
+
* @param operationId - ID of the operation whose business location address to validate.
|
|
3896
3896
|
* @public
|
|
3897
3897
|
* @requiredField operationId
|
|
3898
3898
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3899
3899
|
* @applicableIdentity APP
|
|
3900
|
-
* @returns Response message for address validation
|
|
3901
3900
|
* @fqn wix.restaurants.operations.v1.OperationsService.ValidateOperationAddress
|
|
3902
3901
|
*/
|
|
3903
3902
|
declare function validateOperationAddress(operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`, 2>>;
|
|
3904
3903
|
/**
|
|
3905
|
-
*
|
|
3906
|
-
*
|
|
3904
|
+
* Adds or removes tags on multiple operations.
|
|
3905
|
+
*
|
|
3906
|
+
* 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.
|
|
3907
|
+
*
|
|
3908
|
+
* 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).
|
|
3907
3909
|
* @param operationIds - IDs of the operations to update tags for.
|
|
3908
3910
|
* @public
|
|
3909
3911
|
* @requiredField operationIds
|
|
@@ -3921,10 +3923,17 @@ interface BulkUpdateOperationTagsOptions {
|
|
|
3921
3923
|
unassignTags?: Tags;
|
|
3922
3924
|
}
|
|
3923
3925
|
/**
|
|
3924
|
-
* Asynchronously
|
|
3925
|
-
*
|
|
3926
|
-
* If you specify
|
|
3927
|
-
*
|
|
3926
|
+
* Asynchronously updates tags on multiple operations that match the provided filter criteria.
|
|
3927
|
+
*
|
|
3928
|
+
* If you specify an empty filter, all operations are updated.
|
|
3929
|
+
* A tag that appears in both the list to assign and the list to unassign will be assigned.
|
|
3930
|
+
*
|
|
3931
|
+
* 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).
|
|
3932
|
+
*
|
|
3933
|
+
* 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).
|
|
3934
|
+
* @param filter - Filter that determines which operations to update tags for. Specify an empty filter to update all operations.
|
|
3935
|
+
*
|
|
3936
|
+
* 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.
|
|
3928
3937
|
* @public
|
|
3929
3938
|
* @requiredField filter
|
|
3930
3939
|
* @permissionId RESTAURANTS.OPERATION_UPDATE_TAGS
|
|
@@ -3941,4 +3950,4 @@ interface BulkUpdateOperationTagsByFilterOptions {
|
|
|
3941
3950
|
unassignTags?: Tags;
|
|
3942
3951
|
}
|
|
3943
3952
|
|
|
3944
|
-
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
|
|
3953
|
+
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 };
|