@wix/auto_sdk_restaurants_operations 1.0.83 → 1.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +3 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +17 -38
- package/build/cjs/index.typings.js +3 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +12 -35
- package/build/cjs/meta.js +0 -12
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +2457 -0
- package/build/cjs/schemas.js +3703 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.mjs +3 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +17 -38
- package/build/es/index.typings.mjs +3 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +12 -35
- package/build/es/meta.mjs +0 -12
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +2457 -0
- package/build/es/schemas.mjs +3623 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.js +3 -13
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +17 -38
- package/build/internal/cjs/index.typings.js +3 -13
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +12 -35
- package/build/internal/cjs/meta.js +0 -12
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +2457 -0
- package/build/internal/cjs/schemas.js +3703 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.mjs +3 -13
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +17 -38
- package/build/internal/es/index.typings.mjs +3 -13
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +12 -35
- package/build/internal/es/meta.mjs +0 -12
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +2457 -0
- package/build/internal/es/schemas.mjs +3623 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +12 -5
- package/schemas/package.json +3 -0
|
@@ -95,15 +95,13 @@ interface SchedulingSchedulingOptionsOneOf {
|
|
|
95
95
|
}
|
|
96
96
|
/** Scheduling type enum. */
|
|
97
97
|
declare enum SchedulingType {
|
|
98
|
-
/** Unknown scheduling type. */
|
|
99
|
-
UNKNOWN_SCHEDULING = "UNKNOWN_SCHEDULING",
|
|
100
98
|
/** Orders can be scheduled for the future and to be handled immediately. */
|
|
101
99
|
ASAP = "ASAP",
|
|
102
100
|
/** Orders can be scheduled only for the future. */
|
|
103
101
|
PREORDER = "PREORDER"
|
|
104
102
|
}
|
|
105
103
|
/** @enumType */
|
|
106
|
-
type SchedulingTypeWithLiterals = SchedulingType | '
|
|
104
|
+
type SchedulingTypeWithLiterals = SchedulingType | 'ASAP' | 'PREORDER';
|
|
107
105
|
/** Options for scheduling. Required if `type` is `ASAP`. */
|
|
108
106
|
interface AsapScheduling extends AsapSchedulingPreparationTimeOneOf, AsapSchedulingAsapPreorderOneOf {
|
|
109
107
|
/** Options for preparation time. Required when `type` is `MAX_TIME`. */
|
|
@@ -138,15 +136,13 @@ interface AsapSchedulingAsapPreorderOneOf {
|
|
|
138
136
|
}
|
|
139
137
|
/** Preparation time type enum. */
|
|
140
138
|
declare enum PreparationTimeType {
|
|
141
|
-
/** Unknown preparation time type. */
|
|
142
|
-
UNKNOWN_PREPARATION_TIME = "UNKNOWN_PREPARATION_TIME",
|
|
143
139
|
/** Preparation time that is bounded by a maximum time. */
|
|
144
140
|
MAX = "MAX",
|
|
145
141
|
/** Preparation time that is bounded by a range of times. */
|
|
146
142
|
RANGE = "RANGE"
|
|
147
143
|
}
|
|
148
144
|
/** @enumType */
|
|
149
|
-
type PreparationTimeTypeWithLiterals = PreparationTimeType | '
|
|
145
|
+
type PreparationTimeTypeWithLiterals = PreparationTimeType | 'MAX' | 'RANGE';
|
|
150
146
|
/** Time duration. */
|
|
151
147
|
interface TimeDuration {
|
|
152
148
|
/** Unit of time for the duration. */
|
|
@@ -156,8 +152,6 @@ interface TimeDuration {
|
|
|
156
152
|
}
|
|
157
153
|
/** Time unit enum. */
|
|
158
154
|
declare enum TimeUnit {
|
|
159
|
-
/** Unknown time unit. */
|
|
160
|
-
UNKNOWN_TIME_UNIT = "UNKNOWN_TIME_UNIT",
|
|
161
155
|
/** Minutes time unit. */
|
|
162
156
|
MINUTES = "MINUTES",
|
|
163
157
|
/** Hours time unit. */
|
|
@@ -166,7 +160,7 @@ declare enum TimeUnit {
|
|
|
166
160
|
DAYS = "DAYS"
|
|
167
161
|
}
|
|
168
162
|
/** @enumType */
|
|
169
|
-
type TimeUnitWithLiterals = TimeUnit | '
|
|
163
|
+
type TimeUnitWithLiterals = TimeUnit | 'MINUTES' | 'HOURS' | 'DAYS';
|
|
170
164
|
/** Time range for preparation. */
|
|
171
165
|
interface TimeDurationRange {
|
|
172
166
|
/** Time unit for the time range. */
|
|
@@ -184,15 +178,13 @@ interface TimeDurationRange {
|
|
|
184
178
|
}
|
|
185
179
|
/** Asap preorder type enum. */
|
|
186
180
|
declare enum AsapPreorderType {
|
|
187
|
-
/** Unknown ASAP preorder type. */
|
|
188
|
-
UNKNOWN_ASAP_PREORDER = "UNKNOWN_ASAP_PREORDER",
|
|
189
181
|
/** Doesn't allow preorder. */
|
|
190
182
|
NO_PREORDER = "NO_PREORDER",
|
|
191
183
|
/** Allows preorder for a maximum specified number of business days in advance. */
|
|
192
184
|
BUSINESS_DAYS_PREORDER = "BUSINESS_DAYS_PREORDER"
|
|
193
185
|
}
|
|
194
186
|
/** @enumType */
|
|
195
|
-
type AsapPreorderTypeWithLiterals = AsapPreorderType | '
|
|
187
|
+
type AsapPreorderTypeWithLiterals = AsapPreorderType | 'NO_PREORDER' | 'BUSINESS_DAYS_PREORDER';
|
|
196
188
|
/** Information for when orders must be made a set number of business days in advance. */
|
|
197
189
|
interface BusinessDaysPreorder {
|
|
198
190
|
/**
|
|
@@ -228,24 +220,20 @@ interface AsapOrderPacingPacingAvailabilityOneOf {
|
|
|
228
220
|
}
|
|
229
221
|
/** ASAP pacing duration type enum */
|
|
230
222
|
declare enum AsapPacingWindowType {
|
|
231
|
-
/** Unknown ASAP pacing duration type */
|
|
232
|
-
UNKNOWN_ASAP_PACING_DURATION = "UNKNOWN_ASAP_PACING_DURATION",
|
|
233
223
|
/** Fixed 15-minute window */
|
|
234
224
|
FIXED_15_MINUTE = "FIXED_15_MINUTE"
|
|
235
225
|
}
|
|
236
226
|
/** @enumType */
|
|
237
|
-
type AsapPacingWindowTypeWithLiterals = AsapPacingWindowType | '
|
|
227
|
+
type AsapPacingWindowTypeWithLiterals = AsapPacingWindowType | 'FIXED_15_MINUTE';
|
|
238
228
|
/** Defines when pacing should be active */
|
|
239
229
|
declare enum ActivationType {
|
|
240
|
-
/** Unknown pacing schedule type */
|
|
241
|
-
UNKNOWN_SCHEDULE = "UNKNOWN_SCHEDULE",
|
|
242
230
|
/** Pacing is active 24/7 */
|
|
243
231
|
ALWAYS_ACTIVE = "ALWAYS_ACTIVE",
|
|
244
232
|
/** Pacing follows custom availability pattern */
|
|
245
233
|
SCHEDULE = "SCHEDULE"
|
|
246
234
|
}
|
|
247
235
|
/** @enumType */
|
|
248
|
-
type ActivationTypeWithLiterals = ActivationType | '
|
|
236
|
+
type ActivationTypeWithLiterals = ActivationType | 'ALWAYS_ACTIVE' | 'SCHEDULE';
|
|
249
237
|
interface WeeklyActivePeriods {
|
|
250
238
|
/**
|
|
251
239
|
* A list of active periods for the days of the week.
|
|
@@ -338,15 +326,13 @@ interface DayAndTime {
|
|
|
338
326
|
}
|
|
339
327
|
/** Preorder method type enum. */
|
|
340
328
|
declare enum MethodType {
|
|
341
|
-
/** Unknown preorder method type. */
|
|
342
|
-
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
343
329
|
/** Preorder time has a minimum and a maximum. */
|
|
344
330
|
TIME_BOUNDED = "TIME_BOUNDED",
|
|
345
331
|
/** Preorders have a weekly schedule with a weekly cutoff time. */
|
|
346
332
|
WEEKLY_SCHEDULE = "WEEKLY_SCHEDULE"
|
|
347
333
|
}
|
|
348
334
|
/** @enumType */
|
|
349
|
-
type MethodTypeWithLiterals = MethodType | '
|
|
335
|
+
type MethodTypeWithLiterals = MethodType | 'TIME_BOUNDED' | 'WEEKLY_SCHEDULE';
|
|
350
336
|
/** Information about the time range when preorders are time bounded. */
|
|
351
337
|
interface TimeBounded {
|
|
352
338
|
/** Minimum time required to schedule the order. */
|
|
@@ -380,13 +366,11 @@ interface FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf {
|
|
|
380
366
|
}
|
|
381
367
|
/** The fulfillment times type enum. */
|
|
382
368
|
declare enum FulfillmentTimesType {
|
|
383
|
-
/** Unknown fulfillment times type. */
|
|
384
|
-
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
385
369
|
/** Display fulfillment times as time windows. */
|
|
386
370
|
TIME_WINDOWS = "TIME_WINDOWS"
|
|
387
371
|
}
|
|
388
372
|
/** @enumType */
|
|
389
|
-
type FulfillmentTimesTypeWithLiterals = FulfillmentTimesType | '
|
|
373
|
+
type FulfillmentTimesTypeWithLiterals = FulfillmentTimesType | 'TIME_WINDOWS';
|
|
390
374
|
/** Order pacing configuration for preorder scheduling */
|
|
391
375
|
interface PreOrderPacing extends PreOrderPacingPacingAvailabilityOneOf {
|
|
392
376
|
/** Custom availability pattern for when pacing should be active */
|
|
@@ -411,13 +395,11 @@ interface PreOrderPacingPacingAvailabilityOneOf {
|
|
|
411
395
|
}
|
|
412
396
|
/** Preorder pacing window type enum */
|
|
413
397
|
declare enum PreorderPacingWindowType {
|
|
414
|
-
/** Unknown preorder pacing window type */
|
|
415
|
-
UNKNOWN_PREORDER_PACING_WINDOW = "UNKNOWN_PREORDER_PACING_WINDOW",
|
|
416
398
|
/** Daily pacing window */
|
|
417
399
|
DAILY = "DAILY"
|
|
418
400
|
}
|
|
419
401
|
/** @enumType */
|
|
420
|
-
type PreorderPacingWindowTypeWithLiterals = PreorderPacingWindowType | '
|
|
402
|
+
type PreorderPacingWindowTypeWithLiterals = PreorderPacingWindowType | 'DAILY';
|
|
421
403
|
interface WeeklyActiveDays {
|
|
422
404
|
/**
|
|
423
405
|
* A list of active days of the week.
|
|
@@ -453,15 +435,13 @@ interface OnlineOrderingPausedUntilOptions {
|
|
|
453
435
|
}
|
|
454
436
|
/** Fulfillment type enum. */
|
|
455
437
|
declare enum FulfillmentType {
|
|
456
|
-
/** Undefined fulfillment type. */
|
|
457
|
-
UNDEFINED_FULFILLMENT_TYPE = "UNDEFINED_FULFILLMENT_TYPE",
|
|
458
438
|
/** Pickup fulfillment. The customer picks up the order from the restaurant. */
|
|
459
439
|
PICKUP = "PICKUP",
|
|
460
440
|
/** Delivery fulfillment. The restaurant, or a representative, delivers the order to the customer. */
|
|
461
441
|
DELIVERY = "DELIVERY"
|
|
462
442
|
}
|
|
463
443
|
/** @enumType */
|
|
464
|
-
type FulfillmentTypeWithLiterals = FulfillmentType | '
|
|
444
|
+
type FulfillmentTypeWithLiterals = FulfillmentType | 'PICKUP' | 'DELIVERY';
|
|
465
445
|
/** Information about when an order can be placed for. */
|
|
466
446
|
interface OrderScheduling extends OrderSchedulingOrderSchedulingOptionsOneOf {
|
|
467
447
|
/** Options for scheduling. Required if `type` is `ASAP`. */
|
|
@@ -519,22 +499,19 @@ interface PreparationTimeTimeSpecificationOneOf {
|
|
|
519
499
|
}
|
|
520
500
|
/** Preparation time type enum. */
|
|
521
501
|
declare enum PreparationTimePreparationTimeType {
|
|
522
|
-
UNKNOWN_PREPARATION_TIME = "UNKNOWN_PREPARATION_TIME",
|
|
523
502
|
MAX_TIME = "MAX_TIME",
|
|
524
503
|
TIME_RANGE = "TIME_RANGE"
|
|
525
504
|
}
|
|
526
505
|
/** @enumType */
|
|
527
|
-
type PreparationTimePreparationTimeTypeWithLiterals = PreparationTimePreparationTimeType | '
|
|
506
|
+
type PreparationTimePreparationTimeTypeWithLiterals = PreparationTimePreparationTimeType | 'MAX_TIME' | 'TIME_RANGE';
|
|
528
507
|
declare enum AsapFutureHandlingType {
|
|
529
|
-
/** Unknown asap future handling type. */
|
|
530
|
-
UNKNOWN_ASAP_FUTURE_HANDLING = "UNKNOWN_ASAP_FUTURE_HANDLING",
|
|
531
508
|
/** No future handling. */
|
|
532
509
|
NO_FUTURE_HANDLING = "NO_FUTURE_HANDLING",
|
|
533
510
|
/** Allows future orders for up to a specified number of business days ahead. */
|
|
534
511
|
BUSINESS_DAYS_AHEAD_HANDLING = "BUSINESS_DAYS_AHEAD_HANDLING"
|
|
535
512
|
}
|
|
536
513
|
/** @enumType */
|
|
537
|
-
type AsapFutureHandlingTypeWithLiterals = AsapFutureHandlingType | '
|
|
514
|
+
type AsapFutureHandlingTypeWithLiterals = AsapFutureHandlingType | 'NO_FUTURE_HANDLING' | 'BUSINESS_DAYS_AHEAD_HANDLING';
|
|
538
515
|
interface BusinessDaysAheadHandling {
|
|
539
516
|
/**
|
|
540
517
|
* Number of business days ahead for which orders can be scheduled. <br />
|
|
@@ -1095,37 +1095,31 @@ function bulkUpdateOperationTagsByFilter(payload) {
|
|
|
1095
1095
|
|
|
1096
1096
|
// src/restaurants-operations-v1-operation-operations.types.ts
|
|
1097
1097
|
var SchedulingType = /* @__PURE__ */ ((SchedulingType2) => {
|
|
1098
|
-
SchedulingType2["UNKNOWN_SCHEDULING"] = "UNKNOWN_SCHEDULING";
|
|
1099
1098
|
SchedulingType2["ASAP"] = "ASAP";
|
|
1100
1099
|
SchedulingType2["PREORDER"] = "PREORDER";
|
|
1101
1100
|
return SchedulingType2;
|
|
1102
1101
|
})(SchedulingType || {});
|
|
1103
1102
|
var PreparationTimeType = /* @__PURE__ */ ((PreparationTimeType2) => {
|
|
1104
|
-
PreparationTimeType2["UNKNOWN_PREPARATION_TIME"] = "UNKNOWN_PREPARATION_TIME";
|
|
1105
1103
|
PreparationTimeType2["MAX"] = "MAX";
|
|
1106
1104
|
PreparationTimeType2["RANGE"] = "RANGE";
|
|
1107
1105
|
return PreparationTimeType2;
|
|
1108
1106
|
})(PreparationTimeType || {});
|
|
1109
1107
|
var TimeUnit = /* @__PURE__ */ ((TimeUnit2) => {
|
|
1110
|
-
TimeUnit2["UNKNOWN_TIME_UNIT"] = "UNKNOWN_TIME_UNIT";
|
|
1111
1108
|
TimeUnit2["MINUTES"] = "MINUTES";
|
|
1112
1109
|
TimeUnit2["HOURS"] = "HOURS";
|
|
1113
1110
|
TimeUnit2["DAYS"] = "DAYS";
|
|
1114
1111
|
return TimeUnit2;
|
|
1115
1112
|
})(TimeUnit || {});
|
|
1116
1113
|
var AsapPreorderType = /* @__PURE__ */ ((AsapPreorderType2) => {
|
|
1117
|
-
AsapPreorderType2["UNKNOWN_ASAP_PREORDER"] = "UNKNOWN_ASAP_PREORDER";
|
|
1118
1114
|
AsapPreorderType2["NO_PREORDER"] = "NO_PREORDER";
|
|
1119
1115
|
AsapPreorderType2["BUSINESS_DAYS_PREORDER"] = "BUSINESS_DAYS_PREORDER";
|
|
1120
1116
|
return AsapPreorderType2;
|
|
1121
1117
|
})(AsapPreorderType || {});
|
|
1122
1118
|
var AsapPacingWindowType = /* @__PURE__ */ ((AsapPacingWindowType2) => {
|
|
1123
|
-
AsapPacingWindowType2["UNKNOWN_ASAP_PACING_DURATION"] = "UNKNOWN_ASAP_PACING_DURATION";
|
|
1124
1119
|
AsapPacingWindowType2["FIXED_15_MINUTE"] = "FIXED_15_MINUTE";
|
|
1125
1120
|
return AsapPacingWindowType2;
|
|
1126
1121
|
})(AsapPacingWindowType || {});
|
|
1127
1122
|
var ActivationType = /* @__PURE__ */ ((ActivationType2) => {
|
|
1128
|
-
ActivationType2["UNKNOWN_SCHEDULE"] = "UNKNOWN_SCHEDULE";
|
|
1129
1123
|
ActivationType2["ALWAYS_ACTIVE"] = "ALWAYS_ACTIVE";
|
|
1130
1124
|
ActivationType2["SCHEDULE"] = "SCHEDULE";
|
|
1131
1125
|
return ActivationType2;
|
|
@@ -1141,18 +1135,15 @@ var EntitiesDayOfWeek = /* @__PURE__ */ ((EntitiesDayOfWeek2) => {
|
|
|
1141
1135
|
return EntitiesDayOfWeek2;
|
|
1142
1136
|
})(EntitiesDayOfWeek || {});
|
|
1143
1137
|
var MethodType = /* @__PURE__ */ ((MethodType2) => {
|
|
1144
|
-
MethodType2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
1145
1138
|
MethodType2["TIME_BOUNDED"] = "TIME_BOUNDED";
|
|
1146
1139
|
MethodType2["WEEKLY_SCHEDULE"] = "WEEKLY_SCHEDULE";
|
|
1147
1140
|
return MethodType2;
|
|
1148
1141
|
})(MethodType || {});
|
|
1149
1142
|
var FulfillmentTimesType = /* @__PURE__ */ ((FulfillmentTimesType2) => {
|
|
1150
|
-
FulfillmentTimesType2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
1151
1143
|
FulfillmentTimesType2["TIME_WINDOWS"] = "TIME_WINDOWS";
|
|
1152
1144
|
return FulfillmentTimesType2;
|
|
1153
1145
|
})(FulfillmentTimesType || {});
|
|
1154
1146
|
var PreorderPacingWindowType = /* @__PURE__ */ ((PreorderPacingWindowType2) => {
|
|
1155
|
-
PreorderPacingWindowType2["UNKNOWN_PREORDER_PACING_WINDOW"] = "UNKNOWN_PREORDER_PACING_WINDOW";
|
|
1156
1147
|
PreorderPacingWindowType2["DAILY"] = "DAILY";
|
|
1157
1148
|
return PreorderPacingWindowType2;
|
|
1158
1149
|
})(PreorderPacingWindowType || {});
|
|
@@ -1164,19 +1155,16 @@ var OnlineOrderingStatusType = /* @__PURE__ */ ((OnlineOrderingStatusType2) => {
|
|
|
1164
1155
|
return OnlineOrderingStatusType2;
|
|
1165
1156
|
})(OnlineOrderingStatusType || {});
|
|
1166
1157
|
var FulfillmentType = /* @__PURE__ */ ((FulfillmentType2) => {
|
|
1167
|
-
FulfillmentType2["UNDEFINED_FULFILLMENT_TYPE"] = "UNDEFINED_FULFILLMENT_TYPE";
|
|
1168
1158
|
FulfillmentType2["PICKUP"] = "PICKUP";
|
|
1169
1159
|
FulfillmentType2["DELIVERY"] = "DELIVERY";
|
|
1170
1160
|
return FulfillmentType2;
|
|
1171
1161
|
})(FulfillmentType || {});
|
|
1172
1162
|
var PreparationTimePreparationTimeType = /* @__PURE__ */ ((PreparationTimePreparationTimeType2) => {
|
|
1173
|
-
PreparationTimePreparationTimeType2["UNKNOWN_PREPARATION_TIME"] = "UNKNOWN_PREPARATION_TIME";
|
|
1174
1163
|
PreparationTimePreparationTimeType2["MAX_TIME"] = "MAX_TIME";
|
|
1175
1164
|
PreparationTimePreparationTimeType2["TIME_RANGE"] = "TIME_RANGE";
|
|
1176
1165
|
return PreparationTimePreparationTimeType2;
|
|
1177
1166
|
})(PreparationTimePreparationTimeType || {});
|
|
1178
1167
|
var AsapFutureHandlingType = /* @__PURE__ */ ((AsapFutureHandlingType2) => {
|
|
1179
|
-
AsapFutureHandlingType2["UNKNOWN_ASAP_FUTURE_HANDLING"] = "UNKNOWN_ASAP_FUTURE_HANDLING";
|
|
1180
1168
|
AsapFutureHandlingType2["NO_FUTURE_HANDLING"] = "NO_FUTURE_HANDLING";
|
|
1181
1169
|
AsapFutureHandlingType2["BUSINESS_DAYS_AHEAD_HANDLING"] = "BUSINESS_DAYS_AHEAD_HANDLING";
|
|
1182
1170
|
return AsapFutureHandlingType2;
|