@compassdigital/sdk.typescript 4.23.0 → 4.23.1
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/lib/index.d.ts +18 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +20 -2
- package/lib/index.js.map +1 -1
- package/lib/interface/mealplan.d.ts +0 -2
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +300 -11
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +41 -2
- package/src/interface/mealplan.ts +0 -2
- package/src/interface/menu.ts +345 -11
- package/src/interface/task.ts +1 -1
package/lib/interface/menu.d.ts
CHANGED
|
@@ -116,6 +116,7 @@ export interface Item {
|
|
|
116
116
|
};
|
|
117
117
|
sort_number?: number;
|
|
118
118
|
menu_sort_number?: number;
|
|
119
|
+
barcodes?: string[];
|
|
119
120
|
[index: string]: any;
|
|
120
121
|
};
|
|
121
122
|
category?: {
|
|
@@ -513,6 +514,7 @@ export interface DraftItemDTO {
|
|
|
513
514
|
line_route?: FilterFieldDTO;
|
|
514
515
|
posid_segment?: FilterFieldDTO;
|
|
515
516
|
menu_works?: Record<string, any>;
|
|
517
|
+
is_out_of_stock?: FilterFieldDTO;
|
|
516
518
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
517
519
|
brand?: Record<string, any>;
|
|
518
520
|
categories?: Record<string, any>[];
|
|
@@ -555,7 +557,8 @@ export interface DraftModifierGroupDTO {
|
|
|
555
557
|
is_active?: boolean;
|
|
556
558
|
limit?: number;
|
|
557
559
|
brand_id?: string;
|
|
558
|
-
|
|
560
|
+
order_type?: "selection" | "option" | "quantity";
|
|
561
|
+
is_out_of_stock?: FilterFieldDTO;
|
|
559
562
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
560
563
|
brand?: Record<string, any>;
|
|
561
564
|
changes?: ModifierGroupChangeDTO[];
|
|
@@ -600,6 +603,7 @@ export interface DraftModifierDTO {
|
|
|
600
603
|
brand_id?: string;
|
|
601
604
|
sizing?: FilterFieldDTO[];
|
|
602
605
|
menu_works?: MenuWorksDTO;
|
|
606
|
+
is_out_of_stock?: FilterFieldDTO;
|
|
603
607
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
604
608
|
brand?: Record<string, any>;
|
|
605
609
|
changes?: ModifierChangeDTO[];
|
|
@@ -643,10 +647,11 @@ export interface FileAttachmentsDTO {
|
|
|
643
647
|
export interface MenuWorksDTO {
|
|
644
648
|
MRN?: FilterFieldDTO;
|
|
645
649
|
unit_id?: FilterFieldDTO;
|
|
646
|
-
|
|
650
|
+
portion_quantity?: number;
|
|
651
|
+
portion_unit_name?: FilterFieldDTO;
|
|
652
|
+
grams?: number;
|
|
647
653
|
cost?: number;
|
|
648
|
-
|
|
649
|
-
smart_tags?: FilterFieldDTO[];
|
|
654
|
+
calories?: number;
|
|
650
655
|
id?: Record<string, any>;
|
|
651
656
|
[index: string]: any;
|
|
652
657
|
}
|
|
@@ -757,6 +762,7 @@ export interface DraftModifierDraftModifierDTO {
|
|
|
757
762
|
posid_segment?: FilterFieldDTO;
|
|
758
763
|
brand_id?: FilterFieldDTO;
|
|
759
764
|
sizing?: FilterFieldDTO[];
|
|
765
|
+
is_out_of_stock?: FilterFieldDTO;
|
|
760
766
|
id?: FilterFieldDTO;
|
|
761
767
|
version?: FilterFieldDTO;
|
|
762
768
|
created_at?: FilterFieldDTO;
|
|
@@ -785,7 +791,8 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
|
785
791
|
is_active?: FilterFieldDTO;
|
|
786
792
|
limit?: FilterFieldDTO;
|
|
787
793
|
brand_id?: FilterFieldDTO;
|
|
788
|
-
|
|
794
|
+
order_type?: FilterFieldDTO;
|
|
795
|
+
is_out_of_stock?: FilterFieldDTO;
|
|
789
796
|
id?: FilterFieldDTO;
|
|
790
797
|
version?: FilterFieldDTO;
|
|
791
798
|
created_at?: FilterFieldDTO;
|
|
@@ -817,6 +824,7 @@ export interface DraftItemDraftItemDTO {
|
|
|
817
824
|
brand_id?: FilterFieldDTO;
|
|
818
825
|
line_route?: FilterFieldDTO;
|
|
819
826
|
posid_segment?: FilterFieldDTO;
|
|
827
|
+
is_out_of_stock?: FilterFieldDTO;
|
|
820
828
|
id?: FilterFieldDTO;
|
|
821
829
|
version?: FilterFieldDTO;
|
|
822
830
|
created_at?: FilterFieldDTO;
|
|
@@ -946,6 +954,7 @@ export interface PublishedItemDTO {
|
|
|
946
954
|
brand_id?: string;
|
|
947
955
|
line_route?: string;
|
|
948
956
|
posid_segment?: string;
|
|
957
|
+
is_out_of_stock?: boolean;
|
|
949
958
|
permissions?: Record<string, any>;
|
|
950
959
|
[index: string]: any;
|
|
951
960
|
}
|
|
@@ -969,7 +978,8 @@ export interface PublishedModifierGroupDTO {
|
|
|
969
978
|
is_active?: boolean;
|
|
970
979
|
limit?: number;
|
|
971
980
|
brand_id?: string;
|
|
972
|
-
|
|
981
|
+
order_type?: "selection" | "option" | "quantity";
|
|
982
|
+
is_out_of_stock?: boolean;
|
|
973
983
|
permissions?: Record<string, any>;
|
|
974
984
|
[index: string]: any;
|
|
975
985
|
}
|
|
@@ -997,6 +1007,7 @@ export interface PublishedModifierDTO {
|
|
|
997
1007
|
posid_segment?: string;
|
|
998
1008
|
brand_id?: string;
|
|
999
1009
|
sizing?: Record<string, any>[];
|
|
1010
|
+
is_out_of_stock?: boolean;
|
|
1000
1011
|
permissions?: Record<string, any>;
|
|
1001
1012
|
[index: string]: any;
|
|
1002
1013
|
}
|
|
@@ -1073,6 +1084,227 @@ export interface PublishedMenuPublishedMenuDTO {
|
|
|
1073
1084
|
permissions?: FilterFieldDTO;
|
|
1074
1085
|
[index: string]: any;
|
|
1075
1086
|
}
|
|
1087
|
+
export interface GroupStockUpdate {
|
|
1088
|
+
id: string;
|
|
1089
|
+
items?: ItemStockUpdate[];
|
|
1090
|
+
[index: string]: any;
|
|
1091
|
+
}
|
|
1092
|
+
export interface ItemStockUpdate {
|
|
1093
|
+
id: string;
|
|
1094
|
+
is?: IsStockUpdate;
|
|
1095
|
+
options?: ModifierGroupStockUpdate[];
|
|
1096
|
+
[index: string]: any;
|
|
1097
|
+
}
|
|
1098
|
+
export interface IsStockUpdate {
|
|
1099
|
+
out_of_stock?: boolean;
|
|
1100
|
+
}
|
|
1101
|
+
export interface ModifierGroupStockUpdate {
|
|
1102
|
+
id: string;
|
|
1103
|
+
is?: Record<string, any>;
|
|
1104
|
+
items?: ModifierStockUpdate[];
|
|
1105
|
+
[index: string]: any;
|
|
1106
|
+
}
|
|
1107
|
+
export interface ModifierStockUpdate {
|
|
1108
|
+
id: string;
|
|
1109
|
+
is?: Record<string, any>;
|
|
1110
|
+
[index: string]: any;
|
|
1111
|
+
}
|
|
1112
|
+
export interface V2MenuDateDTO {
|
|
1113
|
+
created?: string;
|
|
1114
|
+
modified?: string;
|
|
1115
|
+
published?: string;
|
|
1116
|
+
}
|
|
1117
|
+
export interface V2MenuLabelDTO {
|
|
1118
|
+
en?: string;
|
|
1119
|
+
}
|
|
1120
|
+
export interface V2CategoryDTO {
|
|
1121
|
+
id?: string;
|
|
1122
|
+
label?: V2CategoryLabelDTO;
|
|
1123
|
+
items?: V2ItemDTO[];
|
|
1124
|
+
is_disabled?: boolean;
|
|
1125
|
+
name?: string;
|
|
1126
|
+
is?: V2CategoryIsDTO;
|
|
1127
|
+
meta?: V2CategoryMetaDTO;
|
|
1128
|
+
}
|
|
1129
|
+
export interface V2CategoryLabelDTO {
|
|
1130
|
+
fr?: string;
|
|
1131
|
+
en?: string;
|
|
1132
|
+
}
|
|
1133
|
+
export interface V2ItemDTO {
|
|
1134
|
+
id?: string;
|
|
1135
|
+
label?: Record<string, any>;
|
|
1136
|
+
description?: Record<string, any>;
|
|
1137
|
+
price?: V2PriceDTO;
|
|
1138
|
+
meal_value?: number;
|
|
1139
|
+
sale_price?: Record<string, any>;
|
|
1140
|
+
unit?: number;
|
|
1141
|
+
ingredients?: Record<string, any>;
|
|
1142
|
+
amount_off_exclusions?: string[];
|
|
1143
|
+
nutrition?: V2ItemNutritionDTO;
|
|
1144
|
+
certified?: V2ItemCertifiedDTO;
|
|
1145
|
+
meta?: V2ItemMetaDTO;
|
|
1146
|
+
options?: V2ModifierGroupDTO[];
|
|
1147
|
+
required?: boolean;
|
|
1148
|
+
special?: boolean;
|
|
1149
|
+
category?: Record<string, any>;
|
|
1150
|
+
location?: string;
|
|
1151
|
+
sku?: number;
|
|
1152
|
+
item_number?: number;
|
|
1153
|
+
image?: V2ItemImageDTO;
|
|
1154
|
+
weight?: Record<string, any>;
|
|
1155
|
+
is_deleted?: boolean;
|
|
1156
|
+
is?: V2ItemIsDTO;
|
|
1157
|
+
}
|
|
1158
|
+
export interface V2PriceDTO {
|
|
1159
|
+
amount?: number;
|
|
1160
|
+
currency?: string;
|
|
1161
|
+
}
|
|
1162
|
+
export interface V2ItemNutritionDTO {
|
|
1163
|
+
kcal?: number;
|
|
1164
|
+
calories?: number;
|
|
1165
|
+
serving_size?: number;
|
|
1166
|
+
total_fat?: number;
|
|
1167
|
+
saturated_fat?: number;
|
|
1168
|
+
trans_fat?: number;
|
|
1169
|
+
cholesterol?: number;
|
|
1170
|
+
sodium?: number;
|
|
1171
|
+
total_carbohydrate?: number;
|
|
1172
|
+
dietary_fiber?: number;
|
|
1173
|
+
sugars?: number;
|
|
1174
|
+
protein?: number;
|
|
1175
|
+
well_being?: number;
|
|
1176
|
+
}
|
|
1177
|
+
export interface V2ItemCertifiedDTO {
|
|
1178
|
+
vegan?: boolean;
|
|
1179
|
+
vegetarian?: boolean;
|
|
1180
|
+
seafood_watch?: boolean;
|
|
1181
|
+
wellbeing?: boolean;
|
|
1182
|
+
farm_to_fork?: boolean;
|
|
1183
|
+
in_balance?: boolean;
|
|
1184
|
+
organic?: boolean;
|
|
1185
|
+
no_gluten_ingredients?: boolean;
|
|
1186
|
+
halal?: boolean;
|
|
1187
|
+
kosher?: boolean;
|
|
1188
|
+
humane?: boolean;
|
|
1189
|
+
locally_crafted?: boolean;
|
|
1190
|
+
nuts?: boolean;
|
|
1191
|
+
oracle_garden_grown?: boolean;
|
|
1192
|
+
oracle_oyes?: boolean;
|
|
1193
|
+
peanut_free?: boolean;
|
|
1194
|
+
tree_nut_free?: boolean;
|
|
1195
|
+
wheat_free?: boolean;
|
|
1196
|
+
egg_free?: boolean;
|
|
1197
|
+
soy_free?: boolean;
|
|
1198
|
+
fair_trade?: boolean;
|
|
1199
|
+
rainforest_alliance?: boolean;
|
|
1200
|
+
salt_free?: boolean;
|
|
1201
|
+
}
|
|
1202
|
+
export interface V2ItemMetaDTO {
|
|
1203
|
+
superplate?: V2ItemMetaSuperplateDTO;
|
|
1204
|
+
featured?: V2ItemMetaFeaturedDTO;
|
|
1205
|
+
taxes?: Record<string, any>;
|
|
1206
|
+
sort_number?: number;
|
|
1207
|
+
menu_sort_number?: V2AmountDTO;
|
|
1208
|
+
}
|
|
1209
|
+
export interface V2ItemMetaSuperplateDTO {
|
|
1210
|
+
type_id?: number;
|
|
1211
|
+
type?: string;
|
|
1212
|
+
}
|
|
1213
|
+
export interface V2ItemMetaFeaturedDTO {
|
|
1214
|
+
sort_number?: number;
|
|
1215
|
+
dates?: V2DatesDTO;
|
|
1216
|
+
}
|
|
1217
|
+
export interface V2DatesDTO {
|
|
1218
|
+
start?: string;
|
|
1219
|
+
end?: string;
|
|
1220
|
+
}
|
|
1221
|
+
export interface V2AmountDTO {
|
|
1222
|
+
unit?: number;
|
|
1223
|
+
amount?: string;
|
|
1224
|
+
}
|
|
1225
|
+
export interface V2ModifierGroupDTO {
|
|
1226
|
+
id?: string;
|
|
1227
|
+
label?: Record<string, any>;
|
|
1228
|
+
unique_name?: string;
|
|
1229
|
+
items?: V2ModifierDTO[];
|
|
1230
|
+
min?: number;
|
|
1231
|
+
max?: number;
|
|
1232
|
+
is?: Record<string, any>;
|
|
1233
|
+
meta?: {
|
|
1234
|
+
[index: string]: any;
|
|
1235
|
+
};
|
|
1236
|
+
}
|
|
1237
|
+
export interface V2ModifierDTO {
|
|
1238
|
+
id?: string;
|
|
1239
|
+
label?: Record<string, any>;
|
|
1240
|
+
price?: Record<string, any>;
|
|
1241
|
+
weight?: Record<string, any>;
|
|
1242
|
+
sku?: string;
|
|
1243
|
+
nutrition?: V2ModifierNutritionDTO;
|
|
1244
|
+
certified?: V2CertifiedDTO;
|
|
1245
|
+
modifier_sets?: V2ModifierSetsDTO;
|
|
1246
|
+
meta?: V2ModifierMetaDTO;
|
|
1247
|
+
is?: V2ModifierIsDTO;
|
|
1248
|
+
amount_off_exclusions?: string[];
|
|
1249
|
+
}
|
|
1250
|
+
export interface V2ModifierNutritionDTO {
|
|
1251
|
+
kcal?: number;
|
|
1252
|
+
calories?: Record<string, any>;
|
|
1253
|
+
}
|
|
1254
|
+
export interface V2CertifiedDTO {
|
|
1255
|
+
vegan?: boolean;
|
|
1256
|
+
}
|
|
1257
|
+
export interface V2ModifierSetsDTO {
|
|
1258
|
+
category?: string;
|
|
1259
|
+
list?: string[];
|
|
1260
|
+
}
|
|
1261
|
+
export interface V2ModifierMetaDTO {
|
|
1262
|
+
sort_number?: number;
|
|
1263
|
+
menu_sort_number?: Record<string, any>;
|
|
1264
|
+
}
|
|
1265
|
+
export interface V2ModifierIsDTO {
|
|
1266
|
+
disabled?: boolean;
|
|
1267
|
+
hidden?: boolean;
|
|
1268
|
+
out_of_stock?: boolean;
|
|
1269
|
+
}
|
|
1270
|
+
export interface V2ItemImageDTO {
|
|
1271
|
+
src?: string;
|
|
1272
|
+
}
|
|
1273
|
+
export interface V2ItemIsDTO {
|
|
1274
|
+
meq_eligible?: boolean;
|
|
1275
|
+
deleted?: boolean;
|
|
1276
|
+
featured?: boolean;
|
|
1277
|
+
disabled?: boolean;
|
|
1278
|
+
hidden?: boolean;
|
|
1279
|
+
out_of_stock?: boolean;
|
|
1280
|
+
}
|
|
1281
|
+
export interface V2CategoryIsDTO {
|
|
1282
|
+
disabled?: boolean;
|
|
1283
|
+
hidden?: boolean;
|
|
1284
|
+
linked?: boolean;
|
|
1285
|
+
}
|
|
1286
|
+
export interface V2CategoryMetaDTO {
|
|
1287
|
+
original_label?: Record<string, any>;
|
|
1288
|
+
sort_number?: number;
|
|
1289
|
+
menu_sort_number?: Record<string, any>;
|
|
1290
|
+
}
|
|
1291
|
+
export interface V2MenuIsDTO {
|
|
1292
|
+
disabled?: boolean;
|
|
1293
|
+
hidden?: boolean;
|
|
1294
|
+
linked?: boolean;
|
|
1295
|
+
promo_exemptions_enabled?: boolean;
|
|
1296
|
+
plu_enabled?: boolean;
|
|
1297
|
+
item_images_enabled?: boolean;
|
|
1298
|
+
item_showcase_enabled?: boolean;
|
|
1299
|
+
item_desc_edit_enabled?: boolean;
|
|
1300
|
+
calories_edit_enabled?: boolean;
|
|
1301
|
+
item_label_edit_enabled?: boolean;
|
|
1302
|
+
}
|
|
1303
|
+
export interface V2MetaDTO {
|
|
1304
|
+
locked_by_user?: string;
|
|
1305
|
+
last_modified_user?: string;
|
|
1306
|
+
version?: number;
|
|
1307
|
+
}
|
|
1076
1308
|
export interface PublishedCategoryPublishedCategoryDTO {
|
|
1077
1309
|
parent_id?: FilterFieldDTO;
|
|
1078
1310
|
name?: FilterFieldDTO;
|
|
@@ -1165,6 +1397,7 @@ export interface DraftItemEntityDTO {
|
|
|
1165
1397
|
line_route?: string;
|
|
1166
1398
|
posid_segment?: string;
|
|
1167
1399
|
menu_works?: MenuWorksDTO;
|
|
1400
|
+
is_out_of_stock?: boolean;
|
|
1168
1401
|
applied_diff_snapshot?: Record<string, any>;
|
|
1169
1402
|
version?: number;
|
|
1170
1403
|
brand?: DraftBrandDTO;
|
|
@@ -1191,6 +1424,7 @@ export interface PublishedItemPublishedItemDTO {
|
|
|
1191
1424
|
brand_id?: FilterFieldDTO;
|
|
1192
1425
|
line_route?: FilterFieldDTO;
|
|
1193
1426
|
posid_segment?: FilterFieldDTO;
|
|
1427
|
+
is_out_of_stock?: FilterFieldDTO;
|
|
1194
1428
|
id?: FilterFieldDTO;
|
|
1195
1429
|
version?: FilterFieldDTO;
|
|
1196
1430
|
created_at?: FilterFieldDTO;
|
|
@@ -1258,7 +1492,8 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
|
|
|
1258
1492
|
is_active?: FilterFieldDTO;
|
|
1259
1493
|
limit?: FilterFieldDTO;
|
|
1260
1494
|
brand_id?: FilterFieldDTO;
|
|
1261
|
-
|
|
1495
|
+
order_type?: FilterFieldDTO;
|
|
1496
|
+
is_out_of_stock?: FilterFieldDTO;
|
|
1262
1497
|
id?: FilterFieldDTO;
|
|
1263
1498
|
version?: FilterFieldDTO;
|
|
1264
1499
|
created_at?: FilterFieldDTO;
|
|
@@ -1335,6 +1570,7 @@ export interface DraftModifierEntityDTO {
|
|
|
1335
1570
|
brand_id: string;
|
|
1336
1571
|
sizing?: Record<string, any>[];
|
|
1337
1572
|
menu_works?: MenuWorksDTO;
|
|
1573
|
+
is_out_of_stock?: boolean;
|
|
1338
1574
|
applied_diff_snapshot?: Record<string, any>;
|
|
1339
1575
|
version?: number;
|
|
1340
1576
|
brand?: DraftBrandDTO;
|
|
@@ -1358,6 +1594,7 @@ export interface PublishedModifierPublishedModifierDTO {
|
|
|
1358
1594
|
posid_segment?: FilterFieldDTO;
|
|
1359
1595
|
brand_id?: FilterFieldDTO;
|
|
1360
1596
|
sizing?: FilterFieldDTO[];
|
|
1597
|
+
is_out_of_stock?: FilterFieldDTO;
|
|
1361
1598
|
id?: FilterFieldDTO;
|
|
1362
1599
|
version?: FilterFieldDTO;
|
|
1363
1600
|
created_at?: FilterFieldDTO;
|
|
@@ -2882,6 +3119,29 @@ export interface GetMenuV3MenuCategoriesResponse {
|
|
|
2882
3119
|
}
|
|
2883
3120
|
export interface GetMenuV3MenuCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3MenuCategoriesQuery>, GetMenuV3MenuCategoriesPath {
|
|
2884
3121
|
}
|
|
3122
|
+
export interface PatchMenuV3StockPath {
|
|
3123
|
+
id: string;
|
|
3124
|
+
}
|
|
3125
|
+
export interface PatchMenuV3StockBody {
|
|
3126
|
+
id: string;
|
|
3127
|
+
groups?: GroupStockUpdate[];
|
|
3128
|
+
[index: string]: any;
|
|
3129
|
+
}
|
|
3130
|
+
export interface PatchMenuV3StockResponse {
|
|
3131
|
+
id?: string;
|
|
3132
|
+
date?: V2MenuDateDTO;
|
|
3133
|
+
label?: V2MenuLabelDTO;
|
|
3134
|
+
groups?: V2CategoryDTO[];
|
|
3135
|
+
parent_id?: string;
|
|
3136
|
+
location_brand?: string;
|
|
3137
|
+
company?: string;
|
|
3138
|
+
sector?: string;
|
|
3139
|
+
is?: V2MenuIsDTO;
|
|
3140
|
+
meta?: V2MetaDTO;
|
|
3141
|
+
}
|
|
3142
|
+
export interface PatchMenuV3StockRequest extends BaseRequest, PatchMenuV3StockPath {
|
|
3143
|
+
body: PatchMenuV3StockBody;
|
|
3144
|
+
}
|
|
2885
3145
|
export interface PostMenuV3DraftCategoryBody {
|
|
2886
3146
|
parent?: DraftCategoryDTO;
|
|
2887
3147
|
children?: DraftCategoryDTO[];
|
|
@@ -3223,6 +3483,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
3223
3483
|
line_route?: string;
|
|
3224
3484
|
posid_segment?: string;
|
|
3225
3485
|
menu_works?: MenuWorksDTO;
|
|
3486
|
+
is_out_of_stock?: boolean;
|
|
3226
3487
|
id?: Record<string, any>;
|
|
3227
3488
|
applied_diff_snapshot?: Record<string, any>;
|
|
3228
3489
|
brand?: DraftBrandDTO;
|
|
@@ -3273,6 +3534,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
3273
3534
|
line_route?: string;
|
|
3274
3535
|
posid_segment?: string;
|
|
3275
3536
|
menu_works?: MenuWorksDTO;
|
|
3537
|
+
is_out_of_stock?: boolean;
|
|
3276
3538
|
applied_diff_snapshot?: Record<string, any>;
|
|
3277
3539
|
version?: number;
|
|
3278
3540
|
brand?: DraftBrandDTO;
|
|
@@ -3334,6 +3596,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
3334
3596
|
line_route?: string;
|
|
3335
3597
|
posid_segment?: string;
|
|
3336
3598
|
menu_works?: MenuWorksDTO;
|
|
3599
|
+
is_out_of_stock?: boolean;
|
|
3337
3600
|
id?: Record<string, any>;
|
|
3338
3601
|
applied_diff_snapshot?: Record<string, any>;
|
|
3339
3602
|
brand?: DraftBrandDTO;
|
|
@@ -3399,6 +3662,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
3399
3662
|
line_route?: string;
|
|
3400
3663
|
posid_segment?: string;
|
|
3401
3664
|
menu_works?: MenuWorksDTO;
|
|
3665
|
+
is_out_of_stock?: boolean;
|
|
3402
3666
|
applied_diff_snapshot?: Record<string, any>;
|
|
3403
3667
|
brand?: DraftBrandDTO;
|
|
3404
3668
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3691,7 +3955,8 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
3691
3955
|
is_active?: boolean;
|
|
3692
3956
|
limit?: number;
|
|
3693
3957
|
brand_id: string;
|
|
3694
|
-
|
|
3958
|
+
order_type?: "selection" | "option" | "quantity";
|
|
3959
|
+
is_out_of_stock?: boolean;
|
|
3695
3960
|
id?: Record<string, any>;
|
|
3696
3961
|
applied_diff_snapshot?: Record<string, any>;
|
|
3697
3962
|
brand?: DraftBrandDTO;
|
|
@@ -3732,7 +3997,8 @@ export interface PatchMenuV3DraftModifierGroupBody {
|
|
|
3732
3997
|
is_active?: boolean;
|
|
3733
3998
|
limit?: number;
|
|
3734
3999
|
brand_id?: string;
|
|
3735
|
-
|
|
4000
|
+
order_type?: "selection" | "option" | "quantity";
|
|
4001
|
+
is_out_of_stock?: boolean;
|
|
3736
4002
|
applied_diff_snapshot?: Record<string, any>;
|
|
3737
4003
|
version?: number;
|
|
3738
4004
|
brand?: DraftBrandDTO;
|
|
@@ -3784,7 +4050,8 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
3784
4050
|
is_active?: boolean;
|
|
3785
4051
|
limit?: number;
|
|
3786
4052
|
brand_id: string;
|
|
3787
|
-
|
|
4053
|
+
order_type?: "selection" | "option" | "quantity";
|
|
4054
|
+
is_out_of_stock?: boolean;
|
|
3788
4055
|
id?: Record<string, any>;
|
|
3789
4056
|
applied_diff_snapshot?: Record<string, any>;
|
|
3790
4057
|
brand?: DraftBrandDTO;
|
|
@@ -3833,7 +4100,8 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
3833
4100
|
is_active?: boolean;
|
|
3834
4101
|
limit?: number;
|
|
3835
4102
|
brand_id: string;
|
|
3836
|
-
|
|
4103
|
+
order_type?: "selection" | "option" | "quantity";
|
|
4104
|
+
is_out_of_stock?: boolean;
|
|
3837
4105
|
applied_diff_snapshot?: Record<string, any>;
|
|
3838
4106
|
version?: number;
|
|
3839
4107
|
brand?: DraftBrandDTO;
|
|
@@ -4077,6 +4345,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
4077
4345
|
brand_id: string;
|
|
4078
4346
|
sizing?: Record<string, any>[];
|
|
4079
4347
|
menu_works?: MenuWorksDTO;
|
|
4348
|
+
is_out_of_stock?: boolean;
|
|
4080
4349
|
id?: Record<string, any>;
|
|
4081
4350
|
applied_diff_snapshot?: Record<string, any>;
|
|
4082
4351
|
brand?: DraftBrandDTO;
|
|
@@ -4124,6 +4393,7 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
4124
4393
|
brand_id?: string;
|
|
4125
4394
|
sizing?: Record<string, any>[];
|
|
4126
4395
|
menu_works?: MenuWorksDTO;
|
|
4396
|
+
is_out_of_stock?: boolean;
|
|
4127
4397
|
applied_diff_snapshot?: Record<string, any>;
|
|
4128
4398
|
version?: number;
|
|
4129
4399
|
brand?: DraftBrandDTO;
|
|
@@ -4182,6 +4452,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
4182
4452
|
brand_id: string;
|
|
4183
4453
|
sizing?: Record<string, any>[];
|
|
4184
4454
|
menu_works?: MenuWorksDTO;
|
|
4455
|
+
is_out_of_stock?: boolean;
|
|
4185
4456
|
id?: Record<string, any>;
|
|
4186
4457
|
applied_diff_snapshot?: Record<string, any>;
|
|
4187
4458
|
brand?: DraftBrandDTO;
|
|
@@ -4232,6 +4503,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
4232
4503
|
brand_id?: string;
|
|
4233
4504
|
sizing?: Record<string, any>[];
|
|
4234
4505
|
menu_works?: MenuWorksDTO;
|
|
4506
|
+
is_out_of_stock?: boolean;
|
|
4235
4507
|
applied_diff_snapshot?: Record<string, any>;
|
|
4236
4508
|
brand?: DraftBrandDTO;
|
|
4237
4509
|
changes?: ModifierChangeDTO[];
|
|
@@ -4377,4 +4649,21 @@ export interface GetMenuV3GlobalDiffsCountResponse {
|
|
|
4377
4649
|
}
|
|
4378
4650
|
export interface GetMenuV3GlobalDiffsCountRequest extends BaseRequest, RequestQuery<GetMenuV3GlobalDiffsCountQuery> {
|
|
4379
4651
|
}
|
|
4652
|
+
export interface GetMenuV3MenuworksQuery {
|
|
4653
|
+
unit_id?: string;
|
|
4654
|
+
MRN?: string;
|
|
4655
|
+
_query?: string;
|
|
4656
|
+
}
|
|
4657
|
+
export interface GetMenuV3MenuworksResponse {
|
|
4658
|
+
MRN?: string;
|
|
4659
|
+
unit_id?: string;
|
|
4660
|
+
portion_quantity?: number;
|
|
4661
|
+
portion_unit_name?: string;
|
|
4662
|
+
grams?: number;
|
|
4663
|
+
cost?: number;
|
|
4664
|
+
calories?: number;
|
|
4665
|
+
[index: string]: any;
|
|
4666
|
+
}
|
|
4667
|
+
export interface GetMenuV3MenuworksRequest extends BaseRequest, RequestQuery<GetMenuV3MenuworksQuery> {
|
|
4668
|
+
}
|
|
4380
4669
|
//# sourceMappingURL=menu.d.ts.map
|