@wix/auto_sdk_restaurants_operations 1.0.84 → 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 +0 -12
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +12 -35
- package/build/cjs/index.typings.js +0 -12
- 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 +0 -12
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +12 -35
- package/build/es/index.typings.mjs +0 -12
- 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 +0 -12
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +12 -35
- package/build/internal/cjs/index.typings.js +0 -12
- 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 +0 -12
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +12 -35
- package/build/internal/es/index.typings.mjs +0 -12
- 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
package/build/cjs/meta.d.ts
CHANGED
|
@@ -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 />
|
package/build/cjs/meta.js
CHANGED
|
@@ -1172,37 +1172,31 @@ function bulkUpdateOperationTagsByFilter(payload) {
|
|
|
1172
1172
|
|
|
1173
1173
|
// src/restaurants-operations-v1-operation-operations.types.ts
|
|
1174
1174
|
var SchedulingType = /* @__PURE__ */ ((SchedulingType2) => {
|
|
1175
|
-
SchedulingType2["UNKNOWN_SCHEDULING"] = "UNKNOWN_SCHEDULING";
|
|
1176
1175
|
SchedulingType2["ASAP"] = "ASAP";
|
|
1177
1176
|
SchedulingType2["PREORDER"] = "PREORDER";
|
|
1178
1177
|
return SchedulingType2;
|
|
1179
1178
|
})(SchedulingType || {});
|
|
1180
1179
|
var PreparationTimeType = /* @__PURE__ */ ((PreparationTimeType2) => {
|
|
1181
|
-
PreparationTimeType2["UNKNOWN_PREPARATION_TIME"] = "UNKNOWN_PREPARATION_TIME";
|
|
1182
1180
|
PreparationTimeType2["MAX"] = "MAX";
|
|
1183
1181
|
PreparationTimeType2["RANGE"] = "RANGE";
|
|
1184
1182
|
return PreparationTimeType2;
|
|
1185
1183
|
})(PreparationTimeType || {});
|
|
1186
1184
|
var TimeUnit = /* @__PURE__ */ ((TimeUnit2) => {
|
|
1187
|
-
TimeUnit2["UNKNOWN_TIME_UNIT"] = "UNKNOWN_TIME_UNIT";
|
|
1188
1185
|
TimeUnit2["MINUTES"] = "MINUTES";
|
|
1189
1186
|
TimeUnit2["HOURS"] = "HOURS";
|
|
1190
1187
|
TimeUnit2["DAYS"] = "DAYS";
|
|
1191
1188
|
return TimeUnit2;
|
|
1192
1189
|
})(TimeUnit || {});
|
|
1193
1190
|
var AsapPreorderType = /* @__PURE__ */ ((AsapPreorderType2) => {
|
|
1194
|
-
AsapPreorderType2["UNKNOWN_ASAP_PREORDER"] = "UNKNOWN_ASAP_PREORDER";
|
|
1195
1191
|
AsapPreorderType2["NO_PREORDER"] = "NO_PREORDER";
|
|
1196
1192
|
AsapPreorderType2["BUSINESS_DAYS_PREORDER"] = "BUSINESS_DAYS_PREORDER";
|
|
1197
1193
|
return AsapPreorderType2;
|
|
1198
1194
|
})(AsapPreorderType || {});
|
|
1199
1195
|
var AsapPacingWindowType = /* @__PURE__ */ ((AsapPacingWindowType2) => {
|
|
1200
|
-
AsapPacingWindowType2["UNKNOWN_ASAP_PACING_DURATION"] = "UNKNOWN_ASAP_PACING_DURATION";
|
|
1201
1196
|
AsapPacingWindowType2["FIXED_15_MINUTE"] = "FIXED_15_MINUTE";
|
|
1202
1197
|
return AsapPacingWindowType2;
|
|
1203
1198
|
})(AsapPacingWindowType || {});
|
|
1204
1199
|
var ActivationType = /* @__PURE__ */ ((ActivationType2) => {
|
|
1205
|
-
ActivationType2["UNKNOWN_SCHEDULE"] = "UNKNOWN_SCHEDULE";
|
|
1206
1200
|
ActivationType2["ALWAYS_ACTIVE"] = "ALWAYS_ACTIVE";
|
|
1207
1201
|
ActivationType2["SCHEDULE"] = "SCHEDULE";
|
|
1208
1202
|
return ActivationType2;
|
|
@@ -1218,18 +1212,15 @@ var EntitiesDayOfWeek = /* @__PURE__ */ ((EntitiesDayOfWeek2) => {
|
|
|
1218
1212
|
return EntitiesDayOfWeek2;
|
|
1219
1213
|
})(EntitiesDayOfWeek || {});
|
|
1220
1214
|
var MethodType = /* @__PURE__ */ ((MethodType2) => {
|
|
1221
|
-
MethodType2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
1222
1215
|
MethodType2["TIME_BOUNDED"] = "TIME_BOUNDED";
|
|
1223
1216
|
MethodType2["WEEKLY_SCHEDULE"] = "WEEKLY_SCHEDULE";
|
|
1224
1217
|
return MethodType2;
|
|
1225
1218
|
})(MethodType || {});
|
|
1226
1219
|
var FulfillmentTimesType = /* @__PURE__ */ ((FulfillmentTimesType2) => {
|
|
1227
|
-
FulfillmentTimesType2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
1228
1220
|
FulfillmentTimesType2["TIME_WINDOWS"] = "TIME_WINDOWS";
|
|
1229
1221
|
return FulfillmentTimesType2;
|
|
1230
1222
|
})(FulfillmentTimesType || {});
|
|
1231
1223
|
var PreorderPacingWindowType = /* @__PURE__ */ ((PreorderPacingWindowType2) => {
|
|
1232
|
-
PreorderPacingWindowType2["UNKNOWN_PREORDER_PACING_WINDOW"] = "UNKNOWN_PREORDER_PACING_WINDOW";
|
|
1233
1224
|
PreorderPacingWindowType2["DAILY"] = "DAILY";
|
|
1234
1225
|
return PreorderPacingWindowType2;
|
|
1235
1226
|
})(PreorderPacingWindowType || {});
|
|
@@ -1241,19 +1232,16 @@ var OnlineOrderingStatusType = /* @__PURE__ */ ((OnlineOrderingStatusType2) => {
|
|
|
1241
1232
|
return OnlineOrderingStatusType2;
|
|
1242
1233
|
})(OnlineOrderingStatusType || {});
|
|
1243
1234
|
var FulfillmentType = /* @__PURE__ */ ((FulfillmentType2) => {
|
|
1244
|
-
FulfillmentType2["UNDEFINED_FULFILLMENT_TYPE"] = "UNDEFINED_FULFILLMENT_TYPE";
|
|
1245
1235
|
FulfillmentType2["PICKUP"] = "PICKUP";
|
|
1246
1236
|
FulfillmentType2["DELIVERY"] = "DELIVERY";
|
|
1247
1237
|
return FulfillmentType2;
|
|
1248
1238
|
})(FulfillmentType || {});
|
|
1249
1239
|
var PreparationTimePreparationTimeType = /* @__PURE__ */ ((PreparationTimePreparationTimeType2) => {
|
|
1250
|
-
PreparationTimePreparationTimeType2["UNKNOWN_PREPARATION_TIME"] = "UNKNOWN_PREPARATION_TIME";
|
|
1251
1240
|
PreparationTimePreparationTimeType2["MAX_TIME"] = "MAX_TIME";
|
|
1252
1241
|
PreparationTimePreparationTimeType2["TIME_RANGE"] = "TIME_RANGE";
|
|
1253
1242
|
return PreparationTimePreparationTimeType2;
|
|
1254
1243
|
})(PreparationTimePreparationTimeType || {});
|
|
1255
1244
|
var AsapFutureHandlingType = /* @__PURE__ */ ((AsapFutureHandlingType2) => {
|
|
1256
|
-
AsapFutureHandlingType2["UNKNOWN_ASAP_FUTURE_HANDLING"] = "UNKNOWN_ASAP_FUTURE_HANDLING";
|
|
1257
1245
|
AsapFutureHandlingType2["NO_FUTURE_HANDLING"] = "NO_FUTURE_HANDLING";
|
|
1258
1246
|
AsapFutureHandlingType2["BUSINESS_DAYS_AHEAD_HANDLING"] = "BUSINESS_DAYS_AHEAD_HANDLING";
|
|
1259
1247
|
return AsapFutureHandlingType2;
|