@wix/auto_sdk_restaurants_operations 1.0.106 → 1.0.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 service a restaurant offers that includes various aspects of its online ordering.
6
- * You can define default fulfillments, service fees, and scheduling requirements for each operation.
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. Increments by 1 each time the operation is updated.
19
+ * Revision number, which increments by 1 each time the operation is updated.
19
20
  * To prevent conflicting changes,
20
- * the existing `revision` must be specified when updating an operation.
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
- * Currently INTERNAL. Whether the operation is enabled.
38
+ * Whether the operation is enabled.
38
39
  * @internal
39
40
  */
40
41
  enabled?: boolean | null;
41
42
  /**
42
- * The scheduling data for this operation.
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
- * INTERNAL. Profile ID associated with the operation.
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. <br />
58
- * Default: `false`.
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. <br /> */
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
- /** Extended fields. */
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 can be scheduled for the future and to be handled immediately. */
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 can be scheduled only for the future. */
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
- * Indication of whether it is possible to place an order for a later time on the same day.
142
- * @deprecated Indication of whether it is possible to place an order for a later time on the same day.
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
- /** The type of preorder allowed for the ASAP scheduling. */
148
+ /** Type of preorder allowed for `ASAP` scheduling. */
148
149
  asapPreorderType?: AsapPreorderTypeWithLiterals;
149
150
  /**
150
- * Asap pacing configuration
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
- /** Doesn't allow preorder. */
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
- * Configuration of the fulfillment times. <br />
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
- * Configuration of the fulfillment times. <br />
335
- * Currently, only `TIME_WINDOWS` is supported.
334
+ * How fulfillment times are displayed.
335
+ *
336
+ * Currently supports `TIME_WINDOWS`.
336
337
  */
337
338
  fulfillmentTimesDisplay?: FulfillmentTimesDisplayConfig;
338
339
  /**
339
- * Preorder pacing configuration
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
- * The weekly schedule cutoff time. <br />
407
- * Orders placed before the cutoff time are scheduled for the current week. <br />
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
- /** Options for fulfillment time. Required when `fulfillmentTimesType` is `TIME_WINDOWS`. */
412
+ /** Duration of each time window. Required when `type` is `TIME_WINDOWS`. */
415
413
  timeWindowsOptions?: TimeDuration;
416
414
  /**
417
- * Type of the fulfillment times.<br />
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
- /** Options for fulfillment time. Required when `fulfillmentTimesType` is `TIME_WINDOWS`. */
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 time and date. When applied, `pausedUntilOptions` is a required field. */
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. <br />
489
+ * Date and time until which online ordering is paused.
496
490
  *
497
- * Before the specified time, behavior is the same as when `onlineOrderingStatus` is `DISABLED`. <br />
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
- * After the specified time, behavior is the same as when `onlineOrderingStatus` is `ENABLED`. <br />
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
- * Defines if and how non-immediate orders should be handled. <br />
550
- * When this value is `BUSINESS_DAYS_AHEAD_HANDLING`, `businessDaysAheadHandlingOptions` is a required field.
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
- * ASAP pacing configuration
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
- /** No future handling. */
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. <br />
597
- * Setting the `daysCount` to 0 means that orders can be scheduled until the end of the current business day.
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 finding the location.
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
- /** Address Geolocation */
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: string | null;
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: Date | null;
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
- * metasite id
1190
+ * Site ID.
1201
1191
  * @format GUID
1202
1192
  */
1203
1193
  metasiteId?: string;
1204
1194
  }
1205
1195
  interface ListOperationIdsResponse {
1206
1196
  /**
1207
- * List of operation ids
1197
+ * Operation IDs.
1208
1198
  * @format GUID
1209
1199
  */
1210
1200
  operationIds?: string[];
1211
1201
  }
1212
1202
  interface ListOperationsInternalRequest {
1213
1203
  /**
1214
- * metasite id
1204
+ * Site ID.
1215
1205
  * @format GUID
1216
1206
  */
1217
1207
  metasiteId?: string;
1218
1208
  }
1219
1209
  interface ListOperationsInternalResponse {
1220
- /** List of operations */
1210
+ /** Retrieved operations. */
1221
1211
  operations?: Operation[];
1222
1212
  }
1223
1213
  interface ListAvailableFulfillmentOptionsRequest {
1224
1214
  /**
1225
- * Operation ID. Returned fulfillment options will belong to this operation.
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. Optional.
1220
+ * Delivery address.
1231
1221
  *
1232
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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 requested operation. */
1318
+ /** Whether a pickup fulfillment method is configured for the operation. */
1329
1319
  pickupConfigured?: boolean;
1330
- /** Whether delivery fulfillment method is configured for the requested operation. */
1320
+ /** Whether a delivery fulfillment method is configured for the operation. */
1331
1321
  deliveryConfigured?: boolean;
1332
- /** List of the available fulfillment options. */
1322
+ /** Available fulfillment options. */
1333
1323
  fulfillmentOptions?: FulfillmentOption[];
1334
- /** Whether availability exceptions block the fulfillment options. */
1324
+ /** Whether availability exceptions currently block ordering for the operation. */
1335
1325
  blockedByAvailabilityExceptions?: boolean | null;
1336
- /** Whether availability exceptions from type = PAUSED_ORDERING block the fulfillment options. */
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 configurations. */
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
- /** Fulfillment time has a maximum time. */
1331
+ /** Maximum fulfillment time in minutes. */
1342
1332
  maxTimeOptions?: number;
1343
- /** Fulfillment time is limited by a range. */
1333
+ /** Range of the fulfillment time in minutes. */
1344
1334
  durationRangeOptions?: DurationRange;
1345
- /** Options for fulfillment time. Required when `type` is `TIME_WINDOWS`. */
1335
+ /** Options for displaying fulfillment times. Required when `fulfillmentTimesDisplayType` is `TIME_WINDOWS`. */
1346
1336
  timeWindowsOptions?: TimeWindowDisplayConfig;
1347
- /** Information about pickup fulfillment types. */
1337
+ /** Information about the `PICKUP` fulfillment type. */
1348
1338
  pickupOptions?: PickupDetails;
1349
- /** Information about delivery fulfillment types. */
1339
+ /** Information about the `DELIVERY` fulfillment type. */
1350
1340
  deliveryOptions?: DeliveryDetails;
1351
- /** Information about dine-in fulfillment types. */
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 option type. */
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 to preorder operations. */
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 given `fee` is waived.
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
- * Instructions for the fulfillment.
1373
+ * Fulfillment instructions for the customer.
1387
1374
  * @maxLength 250
1388
1375
  */
1389
1376
  instructions?: string | null;
1390
- /** @format GUID */
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
- /** Fulfillment time has a maximum time. */
1385
+ /** Maximum fulfillment time in minutes. */
1396
1386
  maxTimeOptions?: number;
1397
- /** Fulfillment time is limited by a range. */
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 time. Required when `type` is `TIME_WINDOWS`. */
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 pickup fulfillment types. */
1397
+ /** Information about the `PICKUP` fulfillment type. */
1408
1398
  pickupOptions?: PickupDetails;
1409
- /** Information about delivery fulfillment types. */
1399
+ /** Information about the `DELIVERY` fulfillment type. */
1410
1400
  deliveryOptions?: DeliveryDetails;
1411
- /** Information about dine-in fulfillment types. */
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 pickup fulfillment types. */
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 delivery fulfillment types. */
1477
+ /** Information about the `DELIVERY` fulfillment type. */
1488
1478
  interface DeliveryDetails {
1489
1479
  /**
1490
- * Delivery provider app id.
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
- /** how much time it takes to deliver the order in minutes. */
1489
+ /** Time it takes to deliver the order in minutes. */
1500
1490
  deliveryTimeInMinutes?: number | null;
1501
1491
  }
1502
- /** Information about dine-in fulfillment types. */
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. Optional.
1504
+ * Delivery address.
1516
1505
  *
1517
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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
- * List of available time slots for each fulfillment type.
1512
+ * First available time slot of each fulfillment type.
1524
1513
  *
1525
- * Each time slot is the first available time slot for the given fulfillment type.
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 time and date of the time slot. */
1519
+ /** Start date and time of the time slot. */
1532
1520
  startTime?: Date | null;
1533
- /** End time and date of the time slot. */
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
- /** @internal */
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
- /** Type of the fulfillment. */
1533
+ /** Fulfillment type. */
1543
1534
  fulfilmentType?: FulfillmentTypeWithLiterals;
1544
1535
  /** Whether the time slot starts now. */
1545
1536
  startsNow?: boolean;
1546
1537
  /**
1547
- * Details for each fulfillment option of the time slot.
1538
+ * Details of each fulfillment option available in the time slot.
1548
1539
  * @maxSize 500
1549
1540
  */
1550
1541
  fulfillmentDetails?: FulfillmentDetails[];
1551
- /** Address of the fulfillment. */
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. applicable for Preorder */
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. Only be relevant to `ASAP` operations. */
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 given `fee` is waived.
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
- * Details on the address of the fulfillment.
1596
- * For pickup it will the address to take the order from.
1597
- * For delivery it will be the address to deliver the order to.
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
- /** Pickup address. This is the address of the restaurant. */
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
- * The response includes a time slot with the delivery fulfillment type only if you specify a delivery address.
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 for each fulfillment type.
1609
+ * First available time slot of each fulfillment type.
1619
1610
  *
1620
- * Each time slot is the first available time slot for the given fulfillment type.
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 Slot details. */
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 time and date of the time slot in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format. */
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 time and date of the time slot in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format. */
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 from the original time slot. Only applicable for `ASAP` orders.
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 restrictions. Applicable only for `PREORDER` scheduling. */
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 fulfillment types, this is the address to take the order from.
1695
- * For delivery fulfillment types, this is the address to deliver the order to.
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 ID.
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. Optional.
1705
+ * Delivery address.
1716
1706
  *
1717
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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
- * List of available time slots for each operation.
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
- * List of available time slots for each fulfillment type.
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
- * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
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
- * A time slot with the delivery fulfillment type is returned only if a delivery address was specified.
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. Optional.
1772
+ * Delivery address.
1784
1773
  *
1785
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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
- * List of available time slots for each menu.
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
- * List of available time slots for each fulfillment type.
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
- * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
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
- /** Only retrieve time slots for menus with online ordering enabled. */
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
- * A time slot with the delivery fulfillment type is returned only if a delivery address was specified.
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
- /** @format GUID */
1872
+ /**
1873
+ * Operation ID.
1874
+ * @format GUID
1875
+ */
1881
1876
  operationId: string | null;
1882
1877
  /**
1883
- * Menu ID to get the first available time slots for.
1878
+ * ID of the menu that contains the item.
1884
1879
  * @format GUID
1885
1880
  */
1886
1881
  menuId: string | null;
1887
1882
  /**
1888
- * Section ID to get the first available time slots for.
1883
+ * ID of the menu section that contains the item.
1889
1884
  * @format GUID
1890
1885
  */
1891
1886
  sectionId: string | null;
1892
1887
  /**
1893
- * Item ID to get the first available time slots for.
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. Optional.
1893
+ * Delivery address.
1899
1894
  *
1900
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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
- * A time slot with the delivery fulfillment type is returned only if a delivery address was specified.
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. Optional.
1916
+ * Delivery address.
1923
1917
  *
1924
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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 and time to get the available time slots for. */
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
- /** List of the available time slots in the requested date. */
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
- * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
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 and time to get the available time slots for. */
1960
+ /** Date to retrieve the available time slots for. */
1967
1961
  date: _Date;
1968
1962
  /**
1969
- * in include in the response blocked timeslot. applicable for Preorder. default is false.
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
- * A time slot with the delivery fulfillment type is returned only if a delivery address was specified.
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. Optional.
1986
+ * Delivery address.
1992
1987
  *
1993
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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
- /** List of the available dates in descending order for each fulfillment type. */
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 (most recent first).
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
- * Delivery fulfillment methods are only considered when calculating date availability if a delivery address is specified.
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. The returned fulfillment will belong to this operation.
2040
+ * Operation ID.
2046
2041
  * @format GUID
2047
2042
  */
2048
2043
  operationId?: string;
2049
2044
  /**
2050
- * Delivery address. Optional.
2045
+ * Delivery address.
2051
2046
  *
2052
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
2047
+ * When specified, only delivery fulfillment options that deliver to this address are returned.
2053
2048
  */
2054
2049
  deliveryAddress?: CommonAddress;
2055
- /** Start time and date of the time slot. */
2050
+ /** Start date and time of the time slot. */
2056
2051
  timeslotStartTime?: Date | null;
2057
- /** End time and date of the time slot. */
2052
+ /** End date and time of the time slot. */
2058
2053
  timeslotEndTime?: Date | null;
2059
- /** Type of fulfillment. */
2054
+ /** Fulfillment type. */
2060
2055
  fulfilmentType?: FulfillmentTypeWithLiterals;
2061
- /** Whether it is possible to submit an order to be prepared asap. */
2056
+ /** Whether an order can be submitted for immediate handling. */
2062
2057
  canSubmitOrderForNow?: boolean | null;
2063
2058
  }
2064
2059
  interface GetExpectedFulfillmentSelectionResponse {
2065
- /** Expected fulfillment option. */
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
- * operation id
2069
+ * Operation ID.
2075
2070
  * @format GUID
2076
2071
  */
2077
2072
  _id?: string;
2078
2073
  /**
2079
- * operation group id
2074
+ * Operation group ID.
2080
2075
  * @format GUID
2081
2076
  */
2082
2077
  operationGroupId?: string | null;
2083
2078
  /**
2084
- * business location id
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
- * The ID of the operation whose address should be validated.
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 invalid.
2099
+ * List of violations. Empty if the address is valid.
2106
2100
  * @maxSize 5
2107
2101
  */
2108
2102
  violations?: AddressViolation[];
2109
2103
  }
2110
- /** Represents a specific violation in the address */
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
- /** Default value. */
2111
+ /** Unknown violation type. */
2118
2112
  UNKNOWN = "UNKNOWN",
2119
- /** The operation has no address configured. */
2113
+ /** The business location has no address. */
2120
2114
  NO_ADDRESS = "NO_ADDRESS",
2121
- /** The address exists but is missing a formatted address string. */
2115
+ /** The address has no formatted address. */
2122
2116
  MISSING_FORMATTED_ADDRESS = "MISSING_FORMATTED_ADDRESS",
2123
- /** The address has invalid or missing geocoding information. */
2117
+ /** The address has no geocode coordinates, or the coordinates are 0,0. */
2124
2118
  INVALID_GEOCODE = "INVALID_GEOCODE",
2125
- /** The address is missing country information. */
2119
+ /** The address has no country. */
2126
2120
  MISSING_COUNTRY = "MISSING_COUNTRY",
2127
- /** The address is missing subdivision information. */
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 (e.g., "US", "CA")
2128
+ * Country code for delivery destinations. For example, `US`.
2135
2129
  * @maxLength 150
2136
2130
  */
2137
2131
  countryCode?: string;
2138
2132
  /**
2139
- * Optional subdivision for delivery destinations (e.g., state, province)
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
- /** Filter that determines which operations to update tags for. */
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 ([SDK](https://dev.wix.com/docs/sdk/backend-modules/async-jobs/get-async-job) | [REST](https://dev.wix.com/docs/rest/business-management/async-job/get-async-job)) to track the job's status.
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;
@@ -3250,24 +3248,6 @@ interface OperationUpdatedEnvelope {
3250
3248
  * @slug updated
3251
3249
  */
3252
3250
  declare function onOperationUpdated(handler: (event: OperationUpdatedEnvelope) => void | Promise<void>): void;
3253
- /**
3254
- * List Blocked Periods.
3255
- * @param operationId - ID of the restaurant operation this blocked period is associated with. (See the Restaurants Operations API for more information.)
3256
- * @public
3257
- * @documentationMaturity preview
3258
- * @requiredField operationId
3259
- * @requiredField options.until
3260
- * @permissionId RESTAURANTS.OPERATION_PACING_READ
3261
- * @applicableIdentity APP
3262
- * @fqn wix.restaurants.operation.pacing.v1.OperationPacingService.ListBlockedPeriods
3263
- */
3264
- declare function listBlockedPeriods(operationId: string, options?: NonNullablePaths<ListBlockedPeriodsOptions, `until`, 0>): Promise<NonNullablePaths<ListBlockedPeriodsResponse, `blockPeriods`, 0>>;
3265
- interface ListBlockedPeriodsOptions {
3266
- /** Start time of the desired window. If not specified, the current time is used. */
3267
- from?: Date | null;
3268
- /** End time of the desired window. */
3269
- until: Date | null;
3270
- }
3271
3251
  /**
3272
3252
  * Retrieves an operation.
3273
3253
  * @param operationId - ID of the operation to retrieve.
@@ -3282,14 +3262,12 @@ declare function getOperation(operationId: string): Promise<NonNullablePaths<Ope
3282
3262
  /**
3283
3263
  * Updates an operation.
3284
3264
  *
3285
- * If you update part of the `orderScheduling` property, the whole object is overwritten,
3286
- * so you must include the entire object unless you are not updating `orderScheduling` at all. <br />
3287
- *
3288
- * Each time the operation is updated,
3289
- * `revision` increments by 1.
3265
+ * Each time the operation is updated, `revision` increments by 1.
3290
3266
  * The current `revision` must be passed when updating the operation.
3291
- * This ensures you're working with the latest operation
3292
- * and prevents unintended overwrites.
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.
3293
3271
  * @param _id - Operation ID.
3294
3272
  * @public
3295
3273
  * @requiredField _id
@@ -3311,9 +3289,9 @@ interface UpdateOperation {
3311
3289
  */
3312
3290
  _id?: string | null;
3313
3291
  /**
3314
- * Revision number. Increments by 1 each time the operation is updated.
3292
+ * Revision number, which increments by 1 each time the operation is updated.
3315
3293
  * To prevent conflicting changes,
3316
- * the existing `revision` must be specified when updating an operation.
3294
+ * the current revision must be passed when updating the operation.
3317
3295
  * @readonly
3318
3296
  */
3319
3297
  revision?: string | null;
@@ -3330,13 +3308,12 @@ interface UpdateOperation {
3330
3308
  /** Operation name. */
3331
3309
  name?: string | null;
3332
3310
  /**
3333
- * Currently INTERNAL. Whether the operation is enabled.
3311
+ * Whether the operation is enabled.
3334
3312
  * @internal
3335
3313
  */
3336
3314
  enabled?: boolean | null;
3337
3315
  /**
3338
- * The scheduling data for this operation.
3339
- * Scheduling specifies when an order can be placed for.
3316
+ * Information about when an order can be placed for.
3340
3317
  * @internal
3341
3318
  * @deprecated
3342
3319
  * @replacedBy order_scheduling
@@ -3344,14 +3321,15 @@ interface UpdateOperation {
3344
3321
  */
3345
3322
  scheduling?: Scheduling;
3346
3323
  /**
3347
- * INTERNAL. Profile ID associated with the operation.
3324
+ * ID of the delivery profile associated with the operation.
3348
3325
  * @internal
3349
3326
  * @format GUID
3350
3327
  */
3351
3328
  profileId?: string | null;
3352
3329
  /**
3353
- * Whether the operation is the default operation. <br />
3354
- * Default: `false`.
3330
+ * Whether the operation is the default operation.
3331
+ *
3332
+ * Default: `false`
3355
3333
  */
3356
3334
  default?: boolean | null;
3357
3335
  /**
@@ -3360,14 +3338,14 @@ interface UpdateOperation {
3360
3338
  * @maxSize 500
3361
3339
  */
3362
3340
  fulfillmentIds?: string[] | null;
3363
- /** Online ordering status of the operation. <br /> */
3341
+ /** Online ordering status of the operation. */
3364
3342
  onlineOrderingStatus?: OnlineOrderingStatusTypeWithLiterals;
3365
3343
  /** Default fulfillment type of the operation. */
3366
3344
  defaultFulfillmentType?: FulfillmentTypeWithLiterals;
3367
3345
  /** Information about when an order can be placed for. */
3368
3346
  orderScheduling?: OrderScheduling;
3369
3347
  /**
3370
- * 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.
3371
3349
  * @format GUID
3372
3350
  * @immutable
3373
3351
  */
@@ -3384,13 +3362,20 @@ interface UpdateOperation {
3384
3362
  * @internal
3385
3363
  */
3386
3364
  businessLocationDetails?: BusinessLocationDetails;
3387
- /** Extended fields. */
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
+ */
3388
3370
  extendedFields?: ExtendedFields;
3389
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. */
3390
3372
  tags?: Tags;
3391
3373
  }
3392
3374
  /**
3393
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.
3394
3379
  * @param operationId - ID of the operation to delete.
3395
3380
  * @public
3396
3381
  * @requiredField operationId
@@ -3568,8 +3553,11 @@ declare const utils: {
3568
3553
  query: _wix_sdk_types.QueryHelpers<Operation, OperationQuerySpec, OperationQuery>;
3569
3554
  };
3570
3555
  /**
3571
- * Retrieves a list of operations.
3572
- * The result will be sorted by created date in ascending order.
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.
3573
3561
  * @public
3574
3562
  * @permissionId RESTAURANTS.OPERATION_READ
3575
3563
  * @applicableIdentity APP
@@ -3577,12 +3565,15 @@ declare const utils: {
3577
3565
  */
3578
3566
  declare function listOperations(): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`, 4>>;
3579
3567
  /**
3580
- * Retrieves a list of available fulfillment options.
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.
3581
3571
  *
3582
- * What makes a fulfillment option available is whether you can submit an order given the scheduling configurations and the fulfillment method's availability.
3583
- * When a delivery address is not provided in the input, our system retrieves a list encompassing all types of fulfillment methods.
3584
- * Conversely, if a delivery address` is given, the response may includes non-delivery fulfillment options along with delivery fulfillment methods that are applicable to the given address, ensuring the address falls within the defined delivery area of these methods.
3585
- * @param operationId - Operation ID. Returned fulfillment options will belong to this operation.
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.
3586
3577
  * @public
3587
3578
  * @requiredField operationId
3588
3579
  * @permissionId RESTAURANTS.OPERATION_READ
@@ -3592,18 +3583,17 @@ declare function listOperations(): Promise<NonNullablePaths<ListOperationsRespon
3592
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>>;
3593
3584
  interface ListAvailableFulfillmentOptions {
3594
3585
  /**
3595
- * Delivery address. Optional.
3586
+ * Delivery address.
3596
3587
  *
3597
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
3588
+ * When specified, the response includes only the delivery fulfillment options that deliver to this address.
3598
3589
  */
3599
3590
  deliveryAddress?: CommonAddress;
3600
3591
  }
3601
3592
  /**
3602
- * Retrieves a list of available time slots for each fulfillment type.
3593
+ * Retrieves the first available time slot of each fulfillment type for an operation.
3603
3594
  *
3604
- * Each time slot is the first available time slot for the given fulfillment type.
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.
3605
3596
  * @param operationId - Operation ID.
3606
- * Returned fulfillment options will belong to this operation.
3607
3597
  * @public
3608
3598
  * @requiredField operationId
3609
3599
  * @permissionId RESTAURANTS.OPERATION_READ
@@ -3616,17 +3606,16 @@ interface ListAvailableFulfillmentOptions {
3616
3606
  declare function listFirstAvailableTimeSlotForFulfillmentTypes(operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 2>>;
3617
3607
  interface ListFirstAvailableTimeSlotForFulfillmentTypesOptions {
3618
3608
  /**
3619
- * Delivery address. Optional.
3609
+ * Delivery address.
3620
3610
  *
3621
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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.
3622
3612
  */
3623
3613
  deliveryAddress?: CommonAddress;
3624
3614
  }
3625
3615
  /**
3626
- * Retrieves the first available time slot of each fulfillment type for a specified operation.
3616
+ * Calculates the first available time slot of each fulfillment type for a specified operation.
3627
3617
  *
3628
- * The response includes a time slot with the delivery fulfillment type only if you specify a delivery address.
3629
- * 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.
3630
3619
  * @param operationId - Operation ID.
3631
3620
  * @public
3632
3621
  * @requiredField operationId
@@ -3639,16 +3628,15 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
3639
3628
  /**
3640
3629
  * Delivery address.
3641
3630
  *
3642
- * The response includes a time slot with the delivery fulfillment type only if you specify a delivery address.
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.
3643
3632
  */
3644
3633
  deliveryAddress?: CommonAddress;
3645
3634
  }
3646
3635
  /**
3647
- * Retrieves a list of available time slots for each fulfillment type.
3636
+ * Retrieves the first available time slot of each fulfillment type for each specified operation.
3648
3637
  *
3649
- * Each time slot is the first available time slot for the given fulfillment type.
3650
- * @param operationIds - Operation ID.
3651
- * 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.
3652
3640
  * @public
3653
3641
  * @requiredField operationIds
3654
3642
  * @permissionId RESTAURANTS.OPERATION_READ
@@ -3661,17 +3649,16 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
3661
3649
  declare function listFirstAvailableTimeSlotsForOperations(operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`, 2>>;
3662
3650
  interface ListFirstAvailableTimeSlotsForOperationsOptions {
3663
3651
  /**
3664
- * Delivery address. Optional.
3652
+ * Delivery address.
3665
3653
  *
3666
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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.
3667
3655
  */
3668
3656
  deliveryAddress?: CommonAddress;
3669
3657
  }
3670
3658
  /**
3671
- * Retrieves the first available time slot of each fulfillment type for each specified operation.
3659
+ * Calculates the first available time slot of each fulfillment type for each specified operation.
3672
3660
  *
3673
- * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
3674
- * 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.
3675
3662
  * @param operationIds - Operation IDs.
3676
3663
  * @public
3677
3664
  * @requiredField operationIds
@@ -3684,14 +3671,15 @@ interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
3684
3671
  /**
3685
3672
  * Delivery address.
3686
3673
  *
3687
- * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
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.
3688
3675
  */
3689
3676
  deliveryAddress?: CommonAddress;
3690
3677
  }
3691
3678
  /**
3692
- * For each menu, retrieves the first available time slots for each fulfillment type.
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.
3693
3682
  * @param operationId - Operation ID.
3694
- * Returned timeslots that are belong to this operation.
3695
3683
  * @public
3696
3684
  * @requiredField operationId
3697
3685
  * @permissionId RESTAURANTS.OPERATION_READ
@@ -3704,19 +3692,18 @@ interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
3704
3692
  declare function listFirstAvailableTimeSlotsForMenus(operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`, 0>>;
3705
3693
  interface ListFirstAvailableTimeSlotsForMenusOptions {
3706
3694
  /**
3707
- * Delivery address. Optional.
3695
+ * Delivery address.
3708
3696
  *
3709
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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.
3710
3698
  */
3711
3699
  deliveryAddress?: CommonAddress;
3712
- /** Cursor paging */
3700
+ /** Cursor paging. */
3713
3701
  cursorPaging?: CommonCursorPaging;
3714
3702
  }
3715
3703
  /**
3716
- * Retrieves the first available time slot of each fulfillment type for each specified menu.
3704
+ * Calculates the first available time slot of each fulfillment type for each specified menu.
3717
3705
  *
3718
- * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
3719
- * 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.
3720
3707
  * @param operationId - Operation ID.
3721
3708
  * @public
3722
3709
  * @requiredField operationId
@@ -3729,20 +3716,27 @@ interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
3729
3716
  /**
3730
3717
  * Delivery address.
3731
3718
  *
3732
- * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
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.
3733
3720
  */
3734
3721
  deliveryAddress?: CommonAddress;
3735
3722
  /** Cursor paging. */
3736
3723
  cursorPaging?: CommonCursorPaging;
3737
- /** Only retrieve time slots for menus with online ordering enabled. */
3724
+ /**
3725
+ * Whether to retrieve time slots only for menus that have online ordering enabled.
3726
+ *
3727
+ * Default: `false`
3728
+ */
3738
3729
  onlyOnlineOrderingEnabled?: boolean | null;
3739
3730
  }
3740
3731
  /**
3741
- * Retrieves the first available time slot of each fulfillment type for a spastic Item.
3732
+ * Calculates the first available time slot of each fulfillment type for a specific menu item.
3742
3733
  *
3743
- * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
3744
- * Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
3745
- * @param menuId - Menu ID to get the first available time slots for.
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.
3746
3740
  * @public
3747
3741
  * @requiredField menuId
3748
3742
  * @requiredField operationId
@@ -3755,26 +3749,27 @@ interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
3755
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>>;
3756
3750
  interface CalculateFirstAvailableTimeSlotsForItemOptions {
3757
3751
  /**
3758
- * Section ID to get the first available time slots for.
3752
+ * ID of the menu section that contains the item.
3759
3753
  * @format GUID
3760
3754
  */
3761
3755
  sectionId: string | null;
3762
3756
  /**
3763
- * Item ID to get the first available time slots for.
3757
+ * ID of the item to retrieve the first available time slots for.
3764
3758
  * @format GUID
3765
3759
  */
3766
3760
  itemId: string | null;
3767
3761
  /**
3768
- * Delivery address. Optional.
3762
+ * Delivery address.
3769
3763
  *
3770
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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.
3771
3765
  */
3772
3766
  deliveryAddress?: CommonAddress;
3773
3767
  }
3774
3768
  /**
3775
- * Retrieves a list of the available time slots for a given date.
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.
3776
3772
  * @param operationId - Operation ID.
3777
- * The returned fulfillment options will belong to this operation.
3778
3773
  * @public
3779
3774
  * @requiredField operationId
3780
3775
  * @requiredField options.date
@@ -3791,19 +3786,20 @@ interface CalculateFirstAvailableTimeSlotsForItemOptions {
3791
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>>;
3792
3787
  interface ListAvailableTimeSlotsForDateOptions {
3793
3788
  /**
3794
- * Delivery address. Optional.
3789
+ * Delivery address.
3795
3790
  *
3796
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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.
3797
3792
  */
3798
3793
  deliveryAddress?: CommonAddress;
3799
- /** Date and time to get the available time slots for. */
3794
+ /** Date to retrieve the available time slots for. */
3800
3795
  date: _Date;
3801
3796
  }
3802
3797
  /**
3803
- * Retrieves all available time slots of each fulfillment type for the specified date.
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.
3804
3801
  *
3805
- * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
3806
- * 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.
3807
3803
  * @param operationId - Operation ID.
3808
3804
  * @public
3809
3805
  * @requiredField operationId
@@ -3820,18 +3816,17 @@ interface CalculateAvailableTimeSlotsForDateOptions {
3820
3816
  /**
3821
3817
  * Delivery address.
3822
3818
  *
3823
- * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
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.
3824
3820
  */
3825
3821
  deliveryAddress?: CommonAddress;
3826
- /** Date and time to get the available time slots for. */
3822
+ /** Date to retrieve the available time slots for. */
3827
3823
  date: _Date;
3828
3824
  }
3829
3825
  /**
3830
- * Retrieves a list of the available dates in a given time range.
3826
+ * Retrieves the available dates of each fulfillment type within the specified time range.
3831
3827
  *
3832
3828
  * A date is considered available if it has at least one available time slot.
3833
3829
  * @param operationId - Operation ID.
3834
- * The returned fulfillment options will belong to this operation.
3835
3830
  * @public
3836
3831
  * @requiredField operationId
3837
3832
  * @requiredField options.from
@@ -3846,9 +3841,9 @@ interface CalculateAvailableTimeSlotsForDateOptions {
3846
3841
  declare function listAvailableDatesInRange(operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`, 0>): Promise<NonNullablePaths<ListAvailableDatesInRangeResponse, `availableDates` | `availableDates.${number}.fulfilmentType`, 2>>;
3847
3842
  interface ListAvailableDatesInRangeOptions {
3848
3843
  /**
3849
- * Delivery address. Optional.
3844
+ * Delivery address.
3850
3845
  *
3851
- * If provided, the returned delivery fulfillment options will be able to deliver to this address.
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.
3852
3847
  */
3853
3848
  deliveryAddress?: CommonAddress;
3854
3849
  /** Start date and time of the range. */
@@ -3857,12 +3852,12 @@ interface ListAvailableDatesInRangeOptions {
3857
3852
  until: _Date;
3858
3853
  }
3859
3854
  /**
3860
- * Retrieves all available dates of each fulfillment type within the specified time range.
3855
+ * Calculates all available dates of each fulfillment type within the specified time range.
3861
3856
  *
3862
3857
  * A date is considered available if it has at least one available time slot.
3858
+ * Dates are returned in descending order, latest first.
3863
3859
  *
3864
- * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
3865
- * 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.
3866
3861
  * @param operationId - Operation ID.
3867
3862
  * @public
3868
3863
  * @requiredField operationId
@@ -3877,7 +3872,7 @@ interface CalculateAvailableDatesInRangeOptions {
3877
3872
  /**
3878
3873
  * Delivery address.
3879
3874
  *
3880
- * Delivery fulfillment methods are only considered when calculating date availability if a delivery address is specified.
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.
3881
3876
  */
3882
3877
  deliveryAddress?: CommonAddress;
3883
3878
  /** Start date and time of the range. */
@@ -3886,29 +3881,31 @@ interface CalculateAvailableDatesInRangeOptions {
3886
3881
  until: _Date;
3887
3882
  }
3888
3883
  /**
3889
- * Validates an operation's address.
3884
+ * Validates the address of an operation's business location.
3890
3885
  *
3891
- * The method checks if the operation's address stored in `businessLocationDetails.address` is valid.
3886
+ * An address is valid if it has:
3892
3887
  *
3893
- * An address is considered valid if it has:
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.
3894
3892
  *
3895
- * 1. A non-empty, formatted address.
3896
- * 2. Valid geocode coordinates (not 0,0).
3897
- * 3. A non-empty country field.
3898
- *
3899
- * If the address is invalid, the response includes specific violations.
3900
- * @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.
3901
3896
  * @public
3902
3897
  * @requiredField operationId
3903
3898
  * @permissionId RESTAURANTS.OPERATION_READ
3904
3899
  * @applicableIdentity APP
3905
- * @returns Response message for address validation
3906
3900
  * @fqn wix.restaurants.operations.v1.OperationsService.ValidateOperationAddress
3907
3901
  */
3908
3902
  declare function validateOperationAddress(operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`, 2>>;
3909
3903
  /**
3910
- * Synchronously update tags on multiple operations.
3911
- * If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
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).
3912
3909
  * @param operationIds - IDs of the operations to update tags for.
3913
3910
  * @public
3914
3911
  * @requiredField operationIds
@@ -3926,10 +3923,17 @@ interface BulkUpdateOperationTagsOptions {
3926
3923
  unassignTags?: Tags;
3927
3924
  }
3928
3925
  /**
3929
- * Asynchronously update tags on multiple operations according to the specified filter.
3930
- * If a filter isn't specified, this method updates all operations.
3931
- * If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
3932
- * @param filter - Filter that determines which operations to update tags for.
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.
3933
3937
  * @public
3934
3938
  * @requiredField filter
3935
3939
  * @permissionId RESTAURANTS.OPERATION_UPDATE_TAGS
@@ -3946,4 +3950,4 @@ interface BulkUpdateOperationTagsByFilterOptions {
3946
3950
  unassignTags?: Tags;
3947
3951
  }
3948
3952
 
3949
- 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 ListBlockedPeriodsOptions, 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, listBlockedPeriods, listFirstAvailableTimeSlotForFulfillmentTypes, listFirstAvailableTimeSlotsForMenus, listFirstAvailableTimeSlotsForOperations, listOperations, onOperationDeleted, onOperationUpdated, queryOperation, typedQueryOperation, updateOperation, utils, validateOperationAddress };
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 };