@compassdigital/sdk.typescript 3.76.0 → 3.77.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 +141 -118
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +139 -116
- package/lib/index.js.map +1 -1
- package/lib/interface/ai.d.ts +50 -0
- package/lib/interface/ai.d.ts.map +1 -0
- package/lib/interface/ai.js +5 -0
- package/lib/interface/ai.js.map +1 -0
- package/lib/interface/datalake.d.ts +3 -3
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +97 -0
- package/lib/interface/frictionless.d.ts.map +1 -0
- package/lib/interface/frictionless.js +5 -0
- package/lib/interface/frictionless.js.map +1 -0
- package/lib/interface/location.d.ts +29 -86
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +228 -100
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +30 -0
- package/lib/interface/payment.d.ts.map +1 -1
- package/manifest.json +9 -1
- package/package.json +2 -2
- package/sonar-project.properties +3 -1
- package/src/index.ts +367 -311
- package/src/interface/ai.ts +72 -0
- package/src/interface/datalake.ts +5 -3
- package/src/interface/frictionless.ts +155 -0
- package/src/interface/location.ts +55 -155
- package/src/interface/menu.ts +261 -129
- package/src/interface/payment.ts +31 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -340,6 +340,11 @@ export interface NotFoundErrorDTO {
|
|
|
340
340
|
message: string;
|
|
341
341
|
[index: string]: any;
|
|
342
342
|
}
|
|
343
|
+
export interface VersionMismatchErrorDTO {
|
|
344
|
+
number: number;
|
|
345
|
+
message: string;
|
|
346
|
+
[index: string]: any;
|
|
347
|
+
}
|
|
343
348
|
export interface FilterFieldDTO {
|
|
344
349
|
$equals?: string;
|
|
345
350
|
$more_than?: string;
|
|
@@ -601,7 +606,7 @@ export interface FileAttachmentsDTO {
|
|
|
601
606
|
[index: string]: any;
|
|
602
607
|
}
|
|
603
608
|
export interface WeightDTO {
|
|
604
|
-
unit?:
|
|
609
|
+
unit?: FilterFieldDTO;
|
|
605
610
|
amount?: FilterFieldDTO;
|
|
606
611
|
id?: any;
|
|
607
612
|
[index: string]: any;
|
|
@@ -623,6 +628,7 @@ export interface DraftModifierDTO {
|
|
|
623
628
|
posid?: FilterFieldDTO;
|
|
624
629
|
reporting?: any;
|
|
625
630
|
brand_id?: string;
|
|
631
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
626
632
|
brand?: any;
|
|
627
633
|
changes?: ModifierChangeDTO[];
|
|
628
634
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -639,6 +645,7 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
639
645
|
modifier_group_id?: string;
|
|
640
646
|
brand_id?: FilterFieldDTO;
|
|
641
647
|
sequence?: number;
|
|
648
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
642
649
|
modifier?: any;
|
|
643
650
|
modifier_group?: DraftModifierGroupDTO;
|
|
644
651
|
brand?: any;
|
|
@@ -660,6 +667,7 @@ export interface DraftModifierGroupDTO {
|
|
|
660
667
|
max?: number;
|
|
661
668
|
is_active?: boolean;
|
|
662
669
|
brand_id?: string;
|
|
670
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
663
671
|
brand?: any;
|
|
664
672
|
changes?: ModifierGroupChangeDTO[];
|
|
665
673
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -675,6 +683,7 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
675
683
|
item_id?: string;
|
|
676
684
|
brand_id?: FilterFieldDTO;
|
|
677
685
|
sequence?: number;
|
|
686
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
678
687
|
item?: DraftItemDTO;
|
|
679
688
|
modifier_group?: any;
|
|
680
689
|
brand?: any;
|
|
@@ -702,6 +711,7 @@ export interface DraftItemDTO {
|
|
|
702
711
|
tax_tags?: FilterFieldDTO[];
|
|
703
712
|
brand_id?: string;
|
|
704
713
|
line_route?: FilterFieldDTO;
|
|
714
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
705
715
|
brand?: any;
|
|
706
716
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
707
717
|
changes?: ItemChangeDTO[];
|
|
@@ -720,6 +730,7 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
720
730
|
category_id?: string;
|
|
721
731
|
brand_id?: FilterFieldDTO;
|
|
722
732
|
sequence?: number;
|
|
733
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
723
734
|
category?: DraftCategoryDTO;
|
|
724
735
|
item?: any;
|
|
725
736
|
brand?: any;
|
|
@@ -739,6 +750,7 @@ export interface DraftCategoryDTO {
|
|
|
739
750
|
is_active?: boolean;
|
|
740
751
|
brand_id?: string;
|
|
741
752
|
menu_id?: string;
|
|
753
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
742
754
|
menu?: DraftMenuDTO;
|
|
743
755
|
items?: any[];
|
|
744
756
|
brand?: any;
|
|
@@ -755,6 +767,7 @@ export interface DraftMenuDTO {
|
|
|
755
767
|
parent_id?: string;
|
|
756
768
|
name?: string;
|
|
757
769
|
brand_id?: string;
|
|
770
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
758
771
|
brand?: any;
|
|
759
772
|
changes?: MenuChangeDTO[];
|
|
760
773
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -843,6 +856,7 @@ export interface BrandStatusDTO {
|
|
|
843
856
|
[index: string]: any;
|
|
844
857
|
}
|
|
845
858
|
export interface DraftMenuDraftMenuDTO {
|
|
859
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
846
860
|
parent_id?: FilterFieldDTO;
|
|
847
861
|
name?: FilterFieldDTO;
|
|
848
862
|
brand_id?: FilterFieldDTO;
|
|
@@ -861,6 +875,7 @@ export interface DraftMenuDraftMenuDTO {
|
|
|
861
875
|
[index: string]: any;
|
|
862
876
|
}
|
|
863
877
|
export interface DraftModifierDraftModifierDTO {
|
|
878
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
864
879
|
parent_id?: FilterFieldDTO;
|
|
865
880
|
name?: FilterFieldDTO;
|
|
866
881
|
label?: FilterFieldDTO;
|
|
@@ -889,6 +904,7 @@ export interface DraftModifierDraftModifierDTO {
|
|
|
889
904
|
[index: string]: any;
|
|
890
905
|
}
|
|
891
906
|
export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
907
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
892
908
|
parent_id?: FilterFieldDTO;
|
|
893
909
|
name?: FilterFieldDTO;
|
|
894
910
|
label?: FilterFieldDTO;
|
|
@@ -912,6 +928,7 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
|
912
928
|
[index: string]: any;
|
|
913
929
|
}
|
|
914
930
|
export interface DraftItemDraftItemDTO {
|
|
931
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
915
932
|
parent_id?: FilterFieldDTO;
|
|
916
933
|
name?: FilterFieldDTO;
|
|
917
934
|
label?: FilterFieldDTO;
|
|
@@ -961,6 +978,7 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
961
978
|
entity_type?: FilterFieldDTO;
|
|
962
979
|
local_id?: FilterFieldDTO;
|
|
963
980
|
changes?: FilterFieldDTO;
|
|
981
|
+
local_changes?: FilterFieldDTO;
|
|
964
982
|
local_snapshot?: FilterFieldDTO;
|
|
965
983
|
global_id?: FilterFieldDTO;
|
|
966
984
|
global_snapshot?: FilterFieldDTO;
|
|
@@ -987,6 +1005,7 @@ export interface DiffDTO {
|
|
|
987
1005
|
entity_type?: string;
|
|
988
1006
|
local_id?: string;
|
|
989
1007
|
changes?: any;
|
|
1008
|
+
local_changes?: any;
|
|
990
1009
|
local_snapshot?: any;
|
|
991
1010
|
global_id?: string;
|
|
992
1011
|
global_snapshot?: any;
|
|
@@ -998,6 +1017,11 @@ export interface DiffDTO {
|
|
|
998
1017
|
permissions?: any;
|
|
999
1018
|
[index: string]: any;
|
|
1000
1019
|
}
|
|
1020
|
+
export interface ApplyDiffDTO {
|
|
1021
|
+
overwrite?: boolean;
|
|
1022
|
+
id: string;
|
|
1023
|
+
[index: string]: any;
|
|
1024
|
+
}
|
|
1001
1025
|
export interface PublishedBrandPublishedBrandDTO {
|
|
1002
1026
|
name?: FilterFieldDTO;
|
|
1003
1027
|
description?: FilterFieldDTO;
|
|
@@ -1029,6 +1053,7 @@ export interface PublishedBrandPublishedBrandDTO {
|
|
|
1029
1053
|
[index: string]: any;
|
|
1030
1054
|
}
|
|
1031
1055
|
export interface DraftCategoryDraftCategoryDTO {
|
|
1056
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
1032
1057
|
parent_id?: FilterFieldDTO;
|
|
1033
1058
|
name?: FilterFieldDTO;
|
|
1034
1059
|
label?: FilterFieldDTO;
|
|
@@ -1089,6 +1114,7 @@ export interface PublishedCategoryPublishedCategoryDTO {
|
|
|
1089
1114
|
[index: string]: any;
|
|
1090
1115
|
}
|
|
1091
1116
|
export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDTO {
|
|
1117
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
1092
1118
|
parent_id?: FilterFieldDTO;
|
|
1093
1119
|
deleted_at?: FilterFieldDTO;
|
|
1094
1120
|
item_id?: FilterFieldDTO;
|
|
@@ -1128,6 +1154,39 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
|
|
|
1128
1154
|
permissions?: FilterFieldDTO;
|
|
1129
1155
|
[index: string]: any;
|
|
1130
1156
|
}
|
|
1157
|
+
export interface DraftItemEntityDTO {
|
|
1158
|
+
parent?: DraftItemDTO;
|
|
1159
|
+
children?: DraftItemDTO[];
|
|
1160
|
+
posid_segment?: POSIDSegmentDTO;
|
|
1161
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1162
|
+
id?: string;
|
|
1163
|
+
created_at?: string;
|
|
1164
|
+
updated_at?: string;
|
|
1165
|
+
deleted_at?: string;
|
|
1166
|
+
parent_id?: string;
|
|
1167
|
+
name: string;
|
|
1168
|
+
label?: string;
|
|
1169
|
+
description?: string;
|
|
1170
|
+
reporting: ReportingMetadataDTO;
|
|
1171
|
+
price: number;
|
|
1172
|
+
barcode?: string;
|
|
1173
|
+
calories?: number;
|
|
1174
|
+
is_active?: boolean;
|
|
1175
|
+
posid?: string;
|
|
1176
|
+
tax_tags?: any[];
|
|
1177
|
+
brand_id: string;
|
|
1178
|
+
line_route?: string;
|
|
1179
|
+
applied_diff_snapshot?: any;
|
|
1180
|
+
version?: number;
|
|
1181
|
+
brand?: DraftBrandDTO;
|
|
1182
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
1183
|
+
changes?: ItemChangeDTO[];
|
|
1184
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1185
|
+
attachments?: FileAttachmentsDTO;
|
|
1186
|
+
weight?: WeightDTO;
|
|
1187
|
+
permissions?: any;
|
|
1188
|
+
[index: string]: any;
|
|
1189
|
+
}
|
|
1131
1190
|
export interface PublishedItemPublishedItemDTO {
|
|
1132
1191
|
parent_id?: FilterFieldDTO;
|
|
1133
1192
|
name?: FilterFieldDTO;
|
|
@@ -1159,6 +1218,7 @@ export interface PublishedItemPublishedItemDTO {
|
|
|
1159
1218
|
[index: string]: any;
|
|
1160
1219
|
}
|
|
1161
1220
|
export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDTO {
|
|
1221
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
1162
1222
|
parent_id?: FilterFieldDTO;
|
|
1163
1223
|
deleted_at?: FilterFieldDTO;
|
|
1164
1224
|
modifier_group_id?: FilterFieldDTO;
|
|
@@ -1220,6 +1280,7 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
|
|
|
1220
1280
|
[index: string]: any;
|
|
1221
1281
|
}
|
|
1222
1282
|
export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDTO {
|
|
1283
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
1223
1284
|
parent_id?: FilterFieldDTO;
|
|
1224
1285
|
deleted_at?: FilterFieldDTO;
|
|
1225
1286
|
modifier_id?: FilterFieldDTO;
|
|
@@ -1259,6 +1320,35 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
|
|
|
1259
1320
|
permissions?: FilterFieldDTO;
|
|
1260
1321
|
[index: string]: any;
|
|
1261
1322
|
}
|
|
1323
|
+
export interface DraftModifierEntityDTO {
|
|
1324
|
+
parent?: DraftModifierDTO;
|
|
1325
|
+
children?: DraftModifierDTO[];
|
|
1326
|
+
posid_segment?: POSIDSegmentDTO;
|
|
1327
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1328
|
+
id?: string;
|
|
1329
|
+
created_at?: string;
|
|
1330
|
+
updated_at?: string;
|
|
1331
|
+
deleted_at?: string;
|
|
1332
|
+
parent_id?: string;
|
|
1333
|
+
name: string;
|
|
1334
|
+
label?: string;
|
|
1335
|
+
description?: string;
|
|
1336
|
+
price: number;
|
|
1337
|
+
calories?: number;
|
|
1338
|
+
tax_tags?: any[];
|
|
1339
|
+
is_active?: boolean;
|
|
1340
|
+
posid?: string;
|
|
1341
|
+
reporting: ReportingMetadataDTO;
|
|
1342
|
+
brand_id: string;
|
|
1343
|
+
applied_diff_snapshot?: any;
|
|
1344
|
+
version?: number;
|
|
1345
|
+
brand?: DraftBrandDTO;
|
|
1346
|
+
changes?: ModifierChangeDTO[];
|
|
1347
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1348
|
+
weight?: WeightDTO;
|
|
1349
|
+
permissions?: any;
|
|
1350
|
+
[index: string]: any;
|
|
1351
|
+
}
|
|
1262
1352
|
export interface PublishedModifierPublishedModifierDTO {
|
|
1263
1353
|
parent_id?: FilterFieldDTO;
|
|
1264
1354
|
name?: FilterFieldDTO;
|
|
@@ -1294,6 +1384,7 @@ export interface GlobalDiffDTO {
|
|
|
1294
1384
|
entity_type?: string;
|
|
1295
1385
|
local_id?: string;
|
|
1296
1386
|
changes?: any;
|
|
1387
|
+
local_changes?: any;
|
|
1297
1388
|
local_snapshot?: any;
|
|
1298
1389
|
global_id?: string;
|
|
1299
1390
|
global_snapshot?: any;
|
|
@@ -1321,19 +1412,19 @@ export interface GetMenusQuery {
|
|
|
1321
1412
|
export type GetMenusResponse = Menus;
|
|
1322
1413
|
export interface GetMenusRequest extends BaseRequest, RequestQuery<GetMenusQuery> {
|
|
1323
1414
|
}
|
|
1324
|
-
export type
|
|
1325
|
-
export type
|
|
1326
|
-
export interface
|
|
1327
|
-
body:
|
|
1415
|
+
export type CreateMenuBody = Menu;
|
|
1416
|
+
export type CreateMenuResponse = Menu;
|
|
1417
|
+
export interface CreateMenuRequest extends BaseRequest {
|
|
1418
|
+
body: CreateMenuBody;
|
|
1328
1419
|
}
|
|
1329
|
-
export interface
|
|
1420
|
+
export interface GetMenuHeadersPath {
|
|
1330
1421
|
id: string;
|
|
1331
1422
|
}
|
|
1332
|
-
export interface
|
|
1423
|
+
export interface GetMenuHeadersQuery {
|
|
1333
1424
|
_query?: string;
|
|
1334
1425
|
}
|
|
1335
|
-
export type
|
|
1336
|
-
export interface
|
|
1426
|
+
export type GetMenuHeadersResponse = any;
|
|
1427
|
+
export interface GetMenuHeadersRequest extends BaseRequest, RequestQuery<GetMenuHeadersQuery>, GetMenuHeadersPath {
|
|
1337
1428
|
}
|
|
1338
1429
|
export interface GetMenuPath {
|
|
1339
1430
|
id: string;
|
|
@@ -1348,16 +1439,16 @@ export interface GetMenuQuery {
|
|
|
1348
1439
|
export type GetMenuResponse = Menu;
|
|
1349
1440
|
export interface GetMenuRequest extends BaseRequest, RequestQuery<GetMenuQuery>, GetMenuPath {
|
|
1350
1441
|
}
|
|
1351
|
-
export interface
|
|
1442
|
+
export interface UpdateMenuPath {
|
|
1352
1443
|
id: string;
|
|
1353
1444
|
}
|
|
1354
|
-
export interface
|
|
1445
|
+
export interface UpdateMenuQuery {
|
|
1355
1446
|
_query?: string;
|
|
1356
1447
|
}
|
|
1357
|
-
export type
|
|
1358
|
-
export type
|
|
1359
|
-
export interface
|
|
1360
|
-
body:
|
|
1448
|
+
export type UpdateMenuBody = Menu;
|
|
1449
|
+
export type UpdateMenuResponse = Menu;
|
|
1450
|
+
export interface UpdateMenuRequest extends BaseRequest, RequestQuery<UpdateMenuQuery>, UpdateMenuPath {
|
|
1451
|
+
body: UpdateMenuBody;
|
|
1361
1452
|
}
|
|
1362
1453
|
export interface DeleteMenuPath {
|
|
1363
1454
|
id: string;
|
|
@@ -1379,33 +1470,33 @@ export type PatchMenuResponse = Menu;
|
|
|
1379
1470
|
export interface PatchMenuRequest extends BaseRequest, RequestQuery<PatchMenuQuery>, PatchMenuPath {
|
|
1380
1471
|
body: PatchMenuBody;
|
|
1381
1472
|
}
|
|
1382
|
-
export interface
|
|
1473
|
+
export interface ImportMenuBody {
|
|
1383
1474
|
menu?: string;
|
|
1384
1475
|
}
|
|
1385
|
-
export type
|
|
1386
|
-
export interface
|
|
1387
|
-
body:
|
|
1476
|
+
export type ImportMenuResponse = Menu;
|
|
1477
|
+
export interface ImportMenuRequest extends BaseRequest {
|
|
1478
|
+
body: ImportMenuBody;
|
|
1388
1479
|
}
|
|
1389
|
-
export interface
|
|
1480
|
+
export interface GetItemPath {
|
|
1390
1481
|
id: string;
|
|
1391
1482
|
}
|
|
1392
|
-
export interface
|
|
1483
|
+
export interface GetItemQuery {
|
|
1393
1484
|
_query?: string;
|
|
1394
1485
|
nocache?: boolean;
|
|
1395
1486
|
}
|
|
1396
|
-
export type
|
|
1397
|
-
export interface
|
|
1487
|
+
export type GetItemResponse = Item;
|
|
1488
|
+
export interface GetItemRequest extends BaseRequest, RequestQuery<GetItemQuery>, GetItemPath {
|
|
1398
1489
|
}
|
|
1399
|
-
export interface
|
|
1490
|
+
export interface DeleteItemPath {
|
|
1400
1491
|
id: string;
|
|
1401
1492
|
}
|
|
1402
|
-
export type
|
|
1403
|
-
export interface
|
|
1493
|
+
export type DeleteItemResponse = Success;
|
|
1494
|
+
export interface DeleteItemRequest extends BaseRequest, DeleteItemPath {
|
|
1404
1495
|
}
|
|
1405
|
-
export type
|
|
1406
|
-
export type
|
|
1407
|
-
export interface
|
|
1408
|
-
body:
|
|
1496
|
+
export type CreateItemBody = Item;
|
|
1497
|
+
export type CreateItemResponse = Item;
|
|
1498
|
+
export interface CreateItemRequest extends BaseRequest {
|
|
1499
|
+
body: CreateItemBody;
|
|
1409
1500
|
}
|
|
1410
1501
|
export interface GetMenuItemsQuery {
|
|
1411
1502
|
query: string;
|
|
@@ -1414,109 +1505,109 @@ export interface GetMenuItemsQuery {
|
|
|
1414
1505
|
export type GetMenuItemsResponse = Items;
|
|
1415
1506
|
export interface GetMenuItemsRequest extends BaseRequest, RequestQuery<GetMenuItemsQuery> {
|
|
1416
1507
|
}
|
|
1417
|
-
export interface
|
|
1508
|
+
export interface ImportItemsCanteenPath {
|
|
1418
1509
|
location: string;
|
|
1419
1510
|
}
|
|
1420
|
-
export type
|
|
1421
|
-
export interface
|
|
1511
|
+
export type ImportItemsCanteenResponse = Success;
|
|
1512
|
+
export interface ImportItemsCanteenRequest extends BaseRequest, ImportItemsCanteenPath {
|
|
1422
1513
|
}
|
|
1423
|
-
export interface
|
|
1514
|
+
export interface GetLocationItemsPath {
|
|
1424
1515
|
location: string;
|
|
1425
1516
|
}
|
|
1426
|
-
export interface
|
|
1517
|
+
export interface GetLocationItemsQuery {
|
|
1427
1518
|
_query?: string;
|
|
1428
1519
|
}
|
|
1429
|
-
export type
|
|
1430
|
-
export interface
|
|
1520
|
+
export type GetLocationItemsResponse = Items;
|
|
1521
|
+
export interface GetLocationItemsRequest extends BaseRequest, RequestQuery<GetLocationItemsQuery>, GetLocationItemsPath {
|
|
1431
1522
|
}
|
|
1432
|
-
export interface
|
|
1523
|
+
export interface GetLocationItemRandomPath {
|
|
1433
1524
|
location: string;
|
|
1434
1525
|
}
|
|
1435
|
-
export interface
|
|
1526
|
+
export interface GetLocationItemRandomQuery {
|
|
1436
1527
|
idfa?: string;
|
|
1437
1528
|
is_public?: boolean;
|
|
1438
1529
|
start_time?: number;
|
|
1439
1530
|
_query?: string;
|
|
1440
1531
|
}
|
|
1441
|
-
export type
|
|
1442
|
-
export interface
|
|
1532
|
+
export type GetLocationItemRandomResponse = Item;
|
|
1533
|
+
export interface GetLocationItemRandomRequest extends BaseRequest, RequestQuery<GetLocationItemRandomQuery>, GetLocationItemRandomPath {
|
|
1443
1534
|
}
|
|
1444
|
-
export interface
|
|
1535
|
+
export interface GetLocationItemsRandomPath {
|
|
1445
1536
|
location: string;
|
|
1446
1537
|
}
|
|
1447
|
-
export interface
|
|
1538
|
+
export interface GetLocationItemsRandomQuery {
|
|
1448
1539
|
idfa?: string;
|
|
1449
1540
|
is_public?: boolean;
|
|
1450
1541
|
count?: number;
|
|
1451
1542
|
start_time?: number;
|
|
1452
1543
|
_query?: string;
|
|
1453
1544
|
}
|
|
1454
|
-
export type
|
|
1455
|
-
export interface
|
|
1545
|
+
export type GetLocationItemsRandomResponse = Items;
|
|
1546
|
+
export interface GetLocationItemsRandomRequest extends BaseRequest, RequestQuery<GetLocationItemsRandomQuery>, GetLocationItemsRandomPath {
|
|
1456
1547
|
}
|
|
1457
|
-
export interface
|
|
1548
|
+
export interface GetSectorMenusPath {
|
|
1458
1549
|
sector: string;
|
|
1459
1550
|
}
|
|
1460
|
-
export interface
|
|
1551
|
+
export interface GetSectorMenusQuery {
|
|
1461
1552
|
_query?: string;
|
|
1462
1553
|
}
|
|
1463
|
-
export type
|
|
1464
|
-
export interface
|
|
1554
|
+
export type GetSectorMenusResponse = Menus;
|
|
1555
|
+
export interface GetSectorMenusRequest extends BaseRequest, RequestQuery<GetSectorMenusQuery>, GetSectorMenusPath {
|
|
1465
1556
|
}
|
|
1466
|
-
export interface
|
|
1557
|
+
export interface GetCompanyMenusPath {
|
|
1467
1558
|
company: string;
|
|
1468
1559
|
}
|
|
1469
|
-
export interface
|
|
1560
|
+
export interface GetCompanyMenusQuery {
|
|
1470
1561
|
_query?: string;
|
|
1471
1562
|
}
|
|
1472
|
-
export type
|
|
1473
|
-
export interface
|
|
1563
|
+
export type GetCompanyMenusResponse = Menus;
|
|
1564
|
+
export interface GetCompanyMenusRequest extends BaseRequest, RequestQuery<GetCompanyMenusQuery>, GetCompanyMenusPath {
|
|
1474
1565
|
}
|
|
1475
|
-
export type
|
|
1476
|
-
export type
|
|
1477
|
-
export interface
|
|
1478
|
-
body:
|
|
1566
|
+
export type CreateModifierGroupBody = CreateOptionsGroup;
|
|
1567
|
+
export type CreateModifierGroupResponse = OptionsGroup;
|
|
1568
|
+
export interface CreateModifierGroupRequest extends BaseRequest {
|
|
1569
|
+
body: CreateModifierGroupBody;
|
|
1479
1570
|
}
|
|
1480
|
-
export interface
|
|
1571
|
+
export interface GetModifierGroupPath {
|
|
1481
1572
|
id: string;
|
|
1482
1573
|
}
|
|
1483
|
-
export interface
|
|
1574
|
+
export interface GetModifierGroupQuery {
|
|
1484
1575
|
_query?: string;
|
|
1485
1576
|
}
|
|
1486
|
-
export type
|
|
1487
|
-
export interface
|
|
1577
|
+
export type GetModifierGroupResponse = OptionsGroup;
|
|
1578
|
+
export interface GetModifierGroupRequest extends BaseRequest, RequestQuery<GetModifierGroupQuery>, GetModifierGroupPath {
|
|
1488
1579
|
}
|
|
1489
|
-
export interface
|
|
1580
|
+
export interface UpdateModifierGroupPath {
|
|
1490
1581
|
id: string;
|
|
1491
1582
|
}
|
|
1492
|
-
export type
|
|
1493
|
-
export type
|
|
1494
|
-
export interface
|
|
1495
|
-
body:
|
|
1583
|
+
export type UpdateModifierGroupBody = OptionsGroup;
|
|
1584
|
+
export type UpdateModifierGroupResponse = OptionsGroup;
|
|
1585
|
+
export interface UpdateModifierGroupRequest extends BaseRequest, UpdateModifierGroupPath {
|
|
1586
|
+
body: UpdateModifierGroupBody;
|
|
1496
1587
|
}
|
|
1497
|
-
export interface
|
|
1588
|
+
export interface DeleteModifierGroupPath {
|
|
1498
1589
|
id: string;
|
|
1499
1590
|
}
|
|
1500
|
-
export type
|
|
1501
|
-
export interface
|
|
1591
|
+
export type DeleteModifierGroupResponse = Success;
|
|
1592
|
+
export interface DeleteModifierGroupRequest extends BaseRequest, DeleteModifierGroupPath {
|
|
1502
1593
|
}
|
|
1503
|
-
export interface
|
|
1594
|
+
export interface GetCompanyModifierGroupsPath {
|
|
1504
1595
|
company: string;
|
|
1505
1596
|
}
|
|
1506
|
-
export interface
|
|
1597
|
+
export interface GetCompanyModifierGroupsQuery {
|
|
1507
1598
|
_query?: string;
|
|
1508
1599
|
}
|
|
1509
|
-
export type
|
|
1510
|
-
export interface
|
|
1600
|
+
export type GetCompanyModifierGroupsResponse = OptionsGroupList;
|
|
1601
|
+
export interface GetCompanyModifierGroupsRequest extends BaseRequest, RequestQuery<GetCompanyModifierGroupsQuery>, GetCompanyModifierGroupsPath {
|
|
1511
1602
|
}
|
|
1512
|
-
export interface
|
|
1603
|
+
export interface GetCompanyModifierGroupsExportPath {
|
|
1513
1604
|
company: string;
|
|
1514
1605
|
}
|
|
1515
|
-
export interface
|
|
1606
|
+
export interface GetCompanyModifierGroupsExportQuery {
|
|
1516
1607
|
_query?: string;
|
|
1517
1608
|
}
|
|
1518
|
-
export type
|
|
1519
|
-
export interface
|
|
1609
|
+
export type GetCompanyModifierGroupsExportResponse = ZippedExcelExport;
|
|
1610
|
+
export interface GetCompanyModifierGroupsExportRequest extends BaseRequest, RequestQuery<GetCompanyModifierGroupsExportQuery>, GetCompanyModifierGroupsExportPath {
|
|
1520
1611
|
}
|
|
1521
1612
|
export interface GetMenuExportPath {
|
|
1522
1613
|
id: string;
|
|
@@ -1627,6 +1718,7 @@ export interface PatchMenuV3LocalMenuGroupBody {
|
|
|
1627
1718
|
draft_brands?: DraftBrandDTO[];
|
|
1628
1719
|
published_brands?: PublishedBrandDTO[];
|
|
1629
1720
|
id?: string;
|
|
1721
|
+
version?: number;
|
|
1630
1722
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1631
1723
|
permissions?: any;
|
|
1632
1724
|
[index: string]: any;
|
|
@@ -1837,6 +1929,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
|
|
|
1837
1929
|
published_brands?: PublishedBrandDTO[];
|
|
1838
1930
|
posid_segment?: POSIDSegmentDTO;
|
|
1839
1931
|
id?: string;
|
|
1932
|
+
version?: number;
|
|
1840
1933
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1841
1934
|
permissions?: any;
|
|
1842
1935
|
[index: string]: any;
|
|
@@ -2027,6 +2120,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2027
2120
|
parent_id?: string;
|
|
2028
2121
|
local_menu_group_id?: string;
|
|
2029
2122
|
global_menu_group_id?: string;
|
|
2123
|
+
version?: number;
|
|
2030
2124
|
changes?: BrandChangeDTO[];
|
|
2031
2125
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2032
2126
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -2247,6 +2341,7 @@ export interface GetMenuV3DraftBrandDiffsQuery {
|
|
|
2247
2341
|
sort_order?: string;
|
|
2248
2342
|
soft_deleted?: string;
|
|
2249
2343
|
_query?: string;
|
|
2344
|
+
nocache?: boolean;
|
|
2250
2345
|
}
|
|
2251
2346
|
export interface GetMenuV3DraftBrandDiffsResponse {
|
|
2252
2347
|
results?: DiffDTO[];
|
|
@@ -2257,7 +2352,7 @@ export interface PostMenuV3DraftBrandGlobalDiffsApplyPath {
|
|
|
2257
2352
|
id: string;
|
|
2258
2353
|
}
|
|
2259
2354
|
export interface PostMenuV3DraftBrandGlobalDiffsApplyQuery {
|
|
2260
|
-
"body.
|
|
2355
|
+
"body.diffs"?: ApplyDiffDTO[];
|
|
2261
2356
|
}
|
|
2262
2357
|
export interface PostMenuV3DraftBrandGlobalDiffsApplyResponse {
|
|
2263
2358
|
status?: string;
|
|
@@ -2347,6 +2442,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
2347
2442
|
parent_id?: string;
|
|
2348
2443
|
local_menu_group_id?: string;
|
|
2349
2444
|
global_menu_group_id?: string;
|
|
2445
|
+
version?: number;
|
|
2350
2446
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2351
2447
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2352
2448
|
attachments?: FileAttachmentsDTO;
|
|
@@ -2570,6 +2666,7 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
2570
2666
|
name: string;
|
|
2571
2667
|
brand_id: string;
|
|
2572
2668
|
id?: any;
|
|
2669
|
+
applied_diff_snapshot?: any;
|
|
2573
2670
|
brand?: DraftBrandDTO;
|
|
2574
2671
|
changes?: MenuChangeDTO[];
|
|
2575
2672
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -2602,6 +2699,8 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
2602
2699
|
parent_id?: string;
|
|
2603
2700
|
name?: string;
|
|
2604
2701
|
brand_id?: string;
|
|
2702
|
+
applied_diff_snapshot?: any;
|
|
2703
|
+
version?: number;
|
|
2605
2704
|
brand?: DraftBrandDTO;
|
|
2606
2705
|
changes?: MenuChangeDTO[];
|
|
2607
2706
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -2644,6 +2743,7 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
2644
2743
|
name: string;
|
|
2645
2744
|
brand_id: string;
|
|
2646
2745
|
id?: any;
|
|
2746
|
+
applied_diff_snapshot?: any;
|
|
2647
2747
|
brand?: DraftBrandDTO;
|
|
2648
2748
|
changes?: MenuChangeDTO[];
|
|
2649
2749
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -2772,6 +2872,7 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
2772
2872
|
brand_id: string;
|
|
2773
2873
|
menu_id: string;
|
|
2774
2874
|
id?: any;
|
|
2875
|
+
applied_diff_snapshot?: any;
|
|
2775
2876
|
menu?: DraftMenuDTO;
|
|
2776
2877
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
2777
2878
|
brand?: DraftBrandDTO;
|
|
@@ -2809,6 +2910,8 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
2809
2910
|
is_active?: boolean;
|
|
2810
2911
|
brand_id?: string;
|
|
2811
2912
|
menu_id?: string;
|
|
2913
|
+
applied_diff_snapshot?: any;
|
|
2914
|
+
version?: number;
|
|
2812
2915
|
menu?: DraftMenuDTO;
|
|
2813
2916
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
2814
2917
|
brand?: DraftBrandDTO;
|
|
@@ -2848,6 +2951,7 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
2848
2951
|
brand_id: string;
|
|
2849
2952
|
menu_id: string;
|
|
2850
2953
|
id?: any;
|
|
2954
|
+
applied_diff_snapshot?: any;
|
|
2851
2955
|
menu?: DraftMenuDTO;
|
|
2852
2956
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
2853
2957
|
brand?: DraftBrandDTO;
|
|
@@ -2893,9 +2997,10 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
2893
2997
|
parent_id?: string;
|
|
2894
2998
|
item_id: string;
|
|
2895
2999
|
category_id: string;
|
|
2896
|
-
brand_id
|
|
3000
|
+
brand_id: string;
|
|
2897
3001
|
sequence?: number;
|
|
2898
3002
|
id?: any;
|
|
3003
|
+
applied_diff_snapshot?: any;
|
|
2899
3004
|
category?: DraftCategoryDTO;
|
|
2900
3005
|
item?: DraftItemDTO;
|
|
2901
3006
|
brand?: DraftBrandDTO;
|
|
@@ -2931,6 +3036,8 @@ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
2931
3036
|
category_id?: string;
|
|
2932
3037
|
brand_id?: string;
|
|
2933
3038
|
sequence?: number;
|
|
3039
|
+
applied_diff_snapshot?: any;
|
|
3040
|
+
version?: number;
|
|
2934
3041
|
category?: DraftCategoryDTO;
|
|
2935
3042
|
item?: DraftItemDTO;
|
|
2936
3043
|
brand?: DraftBrandDTO;
|
|
@@ -2973,9 +3080,10 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
|
|
|
2973
3080
|
parent_id?: string;
|
|
2974
3081
|
item_id: string;
|
|
2975
3082
|
category_id: string;
|
|
2976
|
-
brand_id
|
|
3083
|
+
brand_id: string;
|
|
2977
3084
|
sequence?: number;
|
|
2978
3085
|
id?: any;
|
|
3086
|
+
applied_diff_snapshot?: any;
|
|
2979
3087
|
category?: DraftCategoryDTO;
|
|
2980
3088
|
item?: DraftItemDTO;
|
|
2981
3089
|
brand?: DraftBrandDTO;
|
|
@@ -3002,19 +3110,19 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsCountResponse {
|
|
|
3002
3110
|
}
|
|
3003
3111
|
export interface GetMenuV3DraftCategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsCountQuery> {
|
|
3004
3112
|
}
|
|
3005
|
-
export interface
|
|
3113
|
+
export interface GetMenuV3CategoryRelationshipsItemPath {
|
|
3006
3114
|
id: string;
|
|
3007
3115
|
}
|
|
3008
|
-
export interface
|
|
3116
|
+
export interface GetMenuV3CategoryRelationshipsItemQuery {
|
|
3009
3117
|
select?: string[];
|
|
3010
3118
|
relationships?: string[];
|
|
3011
3119
|
_query?: string;
|
|
3012
3120
|
nocache?: boolean;
|
|
3013
3121
|
}
|
|
3014
|
-
export type
|
|
3015
|
-
export interface
|
|
3122
|
+
export type GetMenuV3CategoryRelationshipsItemResponse = PublishedCategoryToItemRelationshipDTO;
|
|
3123
|
+
export interface GetMenuV3CategoryRelationshipsItemRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemQuery>, GetMenuV3CategoryRelationshipsItemPath {
|
|
3016
3124
|
}
|
|
3017
|
-
export interface
|
|
3125
|
+
export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
3018
3126
|
select?: string[];
|
|
3019
3127
|
relationships?: string[];
|
|
3020
3128
|
filter?: any;
|
|
@@ -3026,23 +3134,23 @@ export interface GetMenuV3CategoryRelationshipsModifierGroupsQuery {
|
|
|
3026
3134
|
_query?: string;
|
|
3027
3135
|
nocache?: boolean;
|
|
3028
3136
|
}
|
|
3029
|
-
export interface
|
|
3137
|
+
export interface GetMenuV3CategoryRelationshipsItemsResponse {
|
|
3030
3138
|
results: PublishedCategoryToItemRelationshipDTO[];
|
|
3031
3139
|
meta?: ListResponseMetadataDTO;
|
|
3032
3140
|
[index: string]: any;
|
|
3033
3141
|
}
|
|
3034
|
-
export interface
|
|
3142
|
+
export interface GetMenuV3CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {
|
|
3035
3143
|
}
|
|
3036
|
-
export interface
|
|
3144
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
|
|
3037
3145
|
filter?: any;
|
|
3038
3146
|
_query?: string;
|
|
3039
3147
|
nocache?: boolean;
|
|
3040
3148
|
}
|
|
3041
|
-
export interface
|
|
3149
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
|
|
3042
3150
|
count: number;
|
|
3043
3151
|
[index: string]: any;
|
|
3044
3152
|
}
|
|
3045
|
-
export interface
|
|
3153
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {
|
|
3046
3154
|
}
|
|
3047
3155
|
export interface PostMenuV3DraftItemBody {
|
|
3048
3156
|
parent?: DraftItemDTO;
|
|
@@ -3063,6 +3171,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
3063
3171
|
brand_id: string;
|
|
3064
3172
|
line_route?: string;
|
|
3065
3173
|
id?: any;
|
|
3174
|
+
applied_diff_snapshot?: any;
|
|
3066
3175
|
brand?: DraftBrandDTO;
|
|
3067
3176
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3068
3177
|
changes?: ItemChangeDTO[];
|
|
@@ -3109,6 +3218,8 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
3109
3218
|
tax_tags?: any[];
|
|
3110
3219
|
brand_id?: string;
|
|
3111
3220
|
line_route?: string;
|
|
3221
|
+
applied_diff_snapshot?: any;
|
|
3222
|
+
version?: number;
|
|
3112
3223
|
brand?: DraftBrandDTO;
|
|
3113
3224
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3114
3225
|
changes?: ItemChangeDTO[];
|
|
@@ -3165,6 +3276,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
3165
3276
|
brand_id: string;
|
|
3166
3277
|
line_route?: string;
|
|
3167
3278
|
id?: any;
|
|
3279
|
+
applied_diff_snapshot?: any;
|
|
3168
3280
|
brand?: DraftBrandDTO;
|
|
3169
3281
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3170
3282
|
changes?: ItemChangeDTO[];
|
|
@@ -3212,6 +3324,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
3212
3324
|
tax_tags?: any[];
|
|
3213
3325
|
brand_id?: string;
|
|
3214
3326
|
line_route?: string;
|
|
3327
|
+
applied_diff_snapshot?: any;
|
|
3215
3328
|
brand?: DraftBrandDTO;
|
|
3216
3329
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3217
3330
|
changes?: ItemChangeDTO[];
|
|
@@ -3222,8 +3335,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
3222
3335
|
[index: string]: any;
|
|
3223
3336
|
}
|
|
3224
3337
|
export interface PatchMenuV3DraftItemsBulkUpdateResponse {
|
|
3225
|
-
results
|
|
3226
|
-
[index: string]: any;
|
|
3338
|
+
results?: DraftItemEntityDTO[];
|
|
3227
3339
|
}
|
|
3228
3340
|
export interface PatchMenuV3DraftItemsBulkUpdateRequest extends BaseRequest {
|
|
3229
3341
|
body: PatchMenuV3DraftItemsBulkUpdateBody;
|
|
@@ -3245,8 +3357,7 @@ export interface PostMenuV3ItemsImportQuery {
|
|
|
3245
3357
|
"body.data"?: string;
|
|
3246
3358
|
}
|
|
3247
3359
|
export interface PostMenuV3ItemsImportResponse {
|
|
3248
|
-
results
|
|
3249
|
-
[index: string]: any;
|
|
3360
|
+
results?: DraftItemEntityDTO[];
|
|
3250
3361
|
}
|
|
3251
3362
|
export interface PostMenuV3ItemsImportRequest extends BaseRequest, RequestQuery<PostMenuV3ItemsImportQuery> {
|
|
3252
3363
|
}
|
|
@@ -3298,9 +3409,10 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
3298
3409
|
parent_id?: string;
|
|
3299
3410
|
modifier_group_id: string;
|
|
3300
3411
|
item_id: string;
|
|
3301
|
-
brand_id
|
|
3412
|
+
brand_id: string;
|
|
3302
3413
|
sequence?: number;
|
|
3303
3414
|
id?: any;
|
|
3415
|
+
applied_diff_snapshot?: any;
|
|
3304
3416
|
item?: DraftItemDTO;
|
|
3305
3417
|
modifier_group?: DraftModifierGroupDTO;
|
|
3306
3418
|
brand?: DraftBrandDTO;
|
|
@@ -3336,6 +3448,8 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
3336
3448
|
item_id?: string;
|
|
3337
3449
|
brand_id?: string;
|
|
3338
3450
|
sequence?: number;
|
|
3451
|
+
applied_diff_snapshot?: any;
|
|
3452
|
+
version?: number;
|
|
3339
3453
|
item?: DraftItemDTO;
|
|
3340
3454
|
modifier_group?: DraftModifierGroupDTO;
|
|
3341
3455
|
brand?: DraftBrandDTO;
|
|
@@ -3378,9 +3492,10 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
|
3378
3492
|
parent_id?: string;
|
|
3379
3493
|
modifier_group_id: string;
|
|
3380
3494
|
item_id: string;
|
|
3381
|
-
brand_id
|
|
3495
|
+
brand_id: string;
|
|
3382
3496
|
sequence?: number;
|
|
3383
3497
|
id?: any;
|
|
3498
|
+
applied_diff_snapshot?: any;
|
|
3384
3499
|
item?: DraftItemDTO;
|
|
3385
3500
|
modifier_group?: DraftModifierGroupDTO;
|
|
3386
3501
|
brand?: DraftBrandDTO;
|
|
@@ -3462,6 +3577,7 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
3462
3577
|
is_active?: boolean;
|
|
3463
3578
|
brand_id: string;
|
|
3464
3579
|
id?: any;
|
|
3580
|
+
applied_diff_snapshot?: any;
|
|
3465
3581
|
brand?: DraftBrandDTO;
|
|
3466
3582
|
changes?: ModifierGroupChangeDTO[];
|
|
3467
3583
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -3499,6 +3615,8 @@ export interface PatchMenuV3DraftModifierGroupBody {
|
|
|
3499
3615
|
max?: number;
|
|
3500
3616
|
is_active?: boolean;
|
|
3501
3617
|
brand_id?: string;
|
|
3618
|
+
applied_diff_snapshot?: any;
|
|
3619
|
+
version?: number;
|
|
3502
3620
|
brand?: DraftBrandDTO;
|
|
3503
3621
|
changes?: ModifierGroupChangeDTO[];
|
|
3504
3622
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -3546,6 +3664,7 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
3546
3664
|
is_active?: boolean;
|
|
3547
3665
|
brand_id: string;
|
|
3548
3666
|
id?: any;
|
|
3667
|
+
applied_diff_snapshot?: any;
|
|
3549
3668
|
brand?: DraftBrandDTO;
|
|
3550
3669
|
changes?: ModifierGroupChangeDTO[];
|
|
3551
3670
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -3618,9 +3737,10 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
3618
3737
|
parent_id?: string;
|
|
3619
3738
|
modifier_id: string;
|
|
3620
3739
|
modifier_group_id: string;
|
|
3621
|
-
brand_id
|
|
3740
|
+
brand_id: string;
|
|
3622
3741
|
sequence?: number;
|
|
3623
3742
|
id?: any;
|
|
3743
|
+
applied_diff_snapshot?: any;
|
|
3624
3744
|
modifier?: DraftModifierDTO;
|
|
3625
3745
|
modifier_group?: DraftModifierGroupDTO;
|
|
3626
3746
|
brand?: DraftBrandDTO;
|
|
@@ -3656,6 +3776,8 @@ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
3656
3776
|
modifier_group_id?: string;
|
|
3657
3777
|
brand_id?: string;
|
|
3658
3778
|
sequence?: number;
|
|
3779
|
+
applied_diff_snapshot?: any;
|
|
3780
|
+
version?: number;
|
|
3659
3781
|
modifier?: DraftModifierDTO;
|
|
3660
3782
|
modifier_group?: DraftModifierGroupDTO;
|
|
3661
3783
|
brand?: DraftBrandDTO;
|
|
@@ -3698,9 +3820,10 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
|
|
|
3698
3820
|
parent_id?: string;
|
|
3699
3821
|
modifier_id: string;
|
|
3700
3822
|
modifier_group_id: string;
|
|
3701
|
-
brand_id
|
|
3823
|
+
brand_id: string;
|
|
3702
3824
|
sequence?: number;
|
|
3703
3825
|
id?: any;
|
|
3826
|
+
applied_diff_snapshot?: any;
|
|
3704
3827
|
modifier?: DraftModifierDTO;
|
|
3705
3828
|
modifier_group?: DraftModifierGroupDTO;
|
|
3706
3829
|
brand?: DraftBrandDTO;
|
|
@@ -3786,6 +3909,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
3786
3909
|
reporting: ReportingMetadataDTO;
|
|
3787
3910
|
brand_id: string;
|
|
3788
3911
|
id?: any;
|
|
3912
|
+
applied_diff_snapshot?: any;
|
|
3789
3913
|
brand?: DraftBrandDTO;
|
|
3790
3914
|
changes?: ModifierChangeDTO[];
|
|
3791
3915
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -3828,6 +3952,8 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
3828
3952
|
posid?: string;
|
|
3829
3953
|
reporting?: ReportingMetadataDTO;
|
|
3830
3954
|
brand_id?: string;
|
|
3955
|
+
applied_diff_snapshot?: any;
|
|
3956
|
+
version?: number;
|
|
3831
3957
|
brand?: DraftBrandDTO;
|
|
3832
3958
|
changes?: ModifierChangeDTO[];
|
|
3833
3959
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -3880,6 +4006,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
3880
4006
|
reporting: ReportingMetadataDTO;
|
|
3881
4007
|
brand_id: string;
|
|
3882
4008
|
id?: any;
|
|
4009
|
+
applied_diff_snapshot?: any;
|
|
3883
4010
|
brand?: DraftBrandDTO;
|
|
3884
4011
|
changes?: ModifierChangeDTO[];
|
|
3885
4012
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -3923,6 +4050,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
3923
4050
|
posid?: string;
|
|
3924
4051
|
reporting?: ReportingMetadataDTO;
|
|
3925
4052
|
brand_id?: string;
|
|
4053
|
+
applied_diff_snapshot?: any;
|
|
3926
4054
|
brand?: DraftBrandDTO;
|
|
3927
4055
|
changes?: ModifierChangeDTO[];
|
|
3928
4056
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -3931,8 +4059,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
3931
4059
|
[index: string]: any;
|
|
3932
4060
|
}
|
|
3933
4061
|
export interface PatchMenuV3DraftModifiersBulkUpdateResponse {
|
|
3934
|
-
results
|
|
3935
|
-
[index: string]: any;
|
|
4062
|
+
results?: DraftModifierEntityDTO[];
|
|
3936
4063
|
}
|
|
3937
4064
|
export interface PatchMenuV3DraftModifiersBulkUpdateRequest extends BaseRequest {
|
|
3938
4065
|
body: PatchMenuV3DraftModifiersBulkUpdateBody;
|
|
@@ -4005,6 +4132,7 @@ export interface GetMenuV3GlobalDiffResponse {
|
|
|
4005
4132
|
entity_type?: string;
|
|
4006
4133
|
local_id?: string;
|
|
4007
4134
|
changes?: any;
|
|
4135
|
+
local_changes?: any;
|
|
4008
4136
|
local_snapshot?: any;
|
|
4009
4137
|
global_id?: string;
|
|
4010
4138
|
global_snapshot?: any;
|