@compassdigital/sdk.typescript 4.15.0 → 4.16.0
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/base.d.ts +1 -11
- package/lib/base.d.ts.map +1 -1
- package/lib/base.js +3 -21
- package/lib/base.js.map +1 -1
- package/lib/index.d.ts +46 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +47 -2
- package/lib/index.js.map +1 -1
- package/lib/interface/ai.d.ts +3 -3
- package/lib/interface/ai.d.ts.map +1 -1
- package/lib/interface/announcement.d.ts +2 -2
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/calendar.d.ts +1 -1
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/centricos.d.ts +46 -4
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/compassconnect.d.ts +1 -1
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/config.d.ts +2 -2
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/datalake.d.ts +2 -2
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/delivery.d.ts +1 -1
- package/lib/interface/delivery.d.ts.map +1 -1
- package/lib/interface/email.d.ts +2 -2
- package/lib/interface/email.d.ts.map +1 -1
- package/lib/interface/file.d.ts +1 -1
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +26 -7
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/kds.d.ts +1 -1
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/location.d.ts +21 -12
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/location.js +12 -0
- package/lib/interface/location.js.map +1 -1
- package/lib/interface/mealplan.d.ts +1 -1
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +255 -249
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/menu.js +6 -0
- package/lib/interface/menu.js.map +1 -1
- package/lib/interface/notification.d.ts +2 -2
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/order.d.ts +3 -3
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +26 -18
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/partner.js +11 -0
- package/lib/interface/partner.js.map +1 -1
- package/lib/interface/payment.d.ts +1 -1
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +12 -5
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/promo.js +8 -0
- package/lib/interface/promo.js.map +1 -1
- package/lib/interface/report.d.ts +11 -5
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +12 -8
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/shoppingcart.js +5 -0
- package/lib/interface/shoppingcart.js.map +1 -1
- package/lib/interface/task.d.ts +14 -6
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/task.js +9 -0
- package/lib/interface/task.js.map +1 -1
- package/lib/interface/user.d.ts +4 -4
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/util.d.ts +19 -0
- package/lib/interface/util.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +1 -1
- package/lib/interface/vendor.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/base.ts +6 -25
- package/src/index.ts +117 -2
- package/src/interface/ai.ts +3 -3
- package/src/interface/announcement.ts +2 -2
- package/src/interface/calendar.ts +1 -1
- package/src/interface/centricos.ts +76 -4
- package/src/interface/compassconnect.ts +1 -1
- package/src/interface/config.ts +2 -2
- package/src/interface/datalake.ts +2 -2
- package/src/interface/delivery.ts +1 -1
- package/src/interface/email.ts +2 -2
- package/src/interface/file.ts +1 -1
- package/src/interface/frictionless.ts +49 -7
- package/src/interface/kds.ts +1 -1
- package/src/interface/location.ts +20 -12
- package/src/interface/mealplan.ts +1 -1
- package/src/interface/menu.ts +254 -249
- package/src/interface/notification.ts +2 -2
- package/src/interface/order.ts +3 -3
- package/src/interface/partner.ts +25 -18
- package/src/interface/payment.ts +1 -1
- package/src/interface/promo.ts +11 -5
- package/src/interface/report.ts +17 -7
- package/src/interface/shoppingcart.ts +11 -8
- package/src/interface/task.ts +13 -12
- package/src/interface/user.ts +4 -4
- package/src/interface/util.ts +21 -0
- package/src/interface/vendor.ts +1 -1
package/src/interface/menu.ts
CHANGED
|
@@ -70,7 +70,7 @@ export interface Item {
|
|
|
70
70
|
};
|
|
71
71
|
// The number of units that belong to this item. For example, a dozen doughnuts should have a unit value of 12
|
|
72
72
|
unit?: number;
|
|
73
|
-
ingredients?:
|
|
73
|
+
ingredients?: any[];
|
|
74
74
|
amount_off_exclusions?: AmountOffExclusionTypes[];
|
|
75
75
|
nutrition?: {
|
|
76
76
|
kcal?: number;
|
|
@@ -280,10 +280,14 @@ export interface Success {
|
|
|
280
280
|
export interface Error {
|
|
281
281
|
error?: string;
|
|
282
282
|
code?: number;
|
|
283
|
-
data?:
|
|
283
|
+
data?: any;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
|
|
286
|
+
enum AmountOffExclusionTypes {
|
|
287
|
+
LOYALTY = "loyalty",
|
|
288
|
+
DISCOUNT = "discount",
|
|
289
|
+
PROMO = "promo",
|
|
290
|
+
}
|
|
287
291
|
|
|
288
292
|
export interface Menus {
|
|
289
293
|
menus?: Menu[];
|
|
@@ -314,7 +318,7 @@ export interface GlobalMenuGroupDTO {
|
|
|
314
318
|
is_active?: boolean;
|
|
315
319
|
posid_segment?: string;
|
|
316
320
|
id?: string;
|
|
317
|
-
permissions?:
|
|
321
|
+
permissions?: any;
|
|
318
322
|
[index: string]: any;
|
|
319
323
|
}
|
|
320
324
|
|
|
@@ -328,7 +332,7 @@ export interface DraftBrandDTO {
|
|
|
328
332
|
local_menu_group_id?: string;
|
|
329
333
|
global_menu_group_id?: string;
|
|
330
334
|
posid_segment?: string;
|
|
331
|
-
permissions?:
|
|
335
|
+
permissions?: any;
|
|
332
336
|
[index: string]: any;
|
|
333
337
|
}
|
|
334
338
|
|
|
@@ -342,7 +346,7 @@ export interface PublishedBrandDTO {
|
|
|
342
346
|
local_menu_group_id?: string;
|
|
343
347
|
global_menu_group_id?: string;
|
|
344
348
|
posid_segment?: string;
|
|
345
|
-
permissions?:
|
|
349
|
+
permissions?: any;
|
|
346
350
|
[index: string]: any;
|
|
347
351
|
}
|
|
348
352
|
|
|
@@ -362,7 +366,7 @@ export interface VendorMetadataDTO {
|
|
|
362
366
|
modifier_group_id?: string;
|
|
363
367
|
modifier_group_to_modifier_relationship_id?: string;
|
|
364
368
|
modifier_id?: string;
|
|
365
|
-
permissions?:
|
|
369
|
+
permissions?: any;
|
|
366
370
|
[index: string]: any;
|
|
367
371
|
}
|
|
368
372
|
|
|
@@ -461,7 +465,7 @@ export interface LocalMenuGroupDTO {
|
|
|
461
465
|
deleted_at?: string;
|
|
462
466
|
version?: number;
|
|
463
467
|
vendor_metadata?: VendorMetadataDTO[];
|
|
464
|
-
permissions?:
|
|
468
|
+
permissions?: any;
|
|
465
469
|
[index: string]: any;
|
|
466
470
|
}
|
|
467
471
|
|
|
@@ -479,22 +483,22 @@ export interface DraftBrandDraftBrandDTO {
|
|
|
479
483
|
created_at?: FilterFieldDTO;
|
|
480
484
|
updated_at?: FilterFieldDTO;
|
|
481
485
|
deleted_at?: FilterFieldDTO;
|
|
482
|
-
parent?:
|
|
483
|
-
children?:
|
|
486
|
+
parent?: any;
|
|
487
|
+
children?: any[];
|
|
484
488
|
changes?: BrandChangeDTO[];
|
|
485
489
|
local_menu_group?: LocalMenuGroupDTO;
|
|
486
490
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
487
491
|
menus?: DraftMenuDTO[];
|
|
488
|
-
categories?:
|
|
489
|
-
category_to_item_relationships?:
|
|
490
|
-
items?:
|
|
491
|
-
item_to_modifier_group_relationships?:
|
|
492
|
-
modifier_groups?:
|
|
493
|
-
modifier_group_to_modifier_relationships?:
|
|
494
|
-
modifiers?:
|
|
492
|
+
categories?: any[];
|
|
493
|
+
category_to_item_relationships?: any[];
|
|
494
|
+
items?: any[];
|
|
495
|
+
item_to_modifier_group_relationships?: any[];
|
|
496
|
+
modifier_groups?: any[];
|
|
497
|
+
modifier_group_to_modifier_relationships?: any[];
|
|
498
|
+
modifiers?: any[];
|
|
495
499
|
statuses?: BrandStatusDTO[];
|
|
496
500
|
vendor_metadata?: VendorMetadataDTO[];
|
|
497
|
-
attachments?:
|
|
501
|
+
attachments?: any;
|
|
498
502
|
permissions?: FilterFieldDTO;
|
|
499
503
|
[index: string]: any;
|
|
500
504
|
}
|
|
@@ -504,14 +508,14 @@ export interface BrandChangeDTO {
|
|
|
504
508
|
insert?: FilterFieldDTO;
|
|
505
509
|
delete?: FilterFieldDTO;
|
|
506
510
|
snapshot_entity_id?: FilterFieldDTO;
|
|
507
|
-
snapshot_entity?:
|
|
511
|
+
snapshot_entity?: any;
|
|
508
512
|
permissions?: FilterFieldDTO;
|
|
509
513
|
[index: string]: any;
|
|
510
514
|
}
|
|
511
515
|
|
|
512
516
|
export interface DraftMenuDTO {
|
|
513
|
-
parent?:
|
|
514
|
-
children?:
|
|
517
|
+
parent?: any;
|
|
518
|
+
children?: any[];
|
|
515
519
|
categories?: DraftCategoryDTO[];
|
|
516
520
|
id?: string;
|
|
517
521
|
parent_id?: string;
|
|
@@ -519,7 +523,7 @@ export interface DraftMenuDTO {
|
|
|
519
523
|
brand_id?: string;
|
|
520
524
|
category_images_enabled?: boolean;
|
|
521
525
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
522
|
-
brand?:
|
|
526
|
+
brand?: any;
|
|
523
527
|
changes?: MenuChangeDTO[];
|
|
524
528
|
vendor_metadata?: VendorMetadataDTO[];
|
|
525
529
|
permissions?: FilterFieldDTO;
|
|
@@ -527,8 +531,8 @@ export interface DraftMenuDTO {
|
|
|
527
531
|
}
|
|
528
532
|
|
|
529
533
|
export interface DraftCategoryDTO {
|
|
530
|
-
parent?:
|
|
531
|
-
children?:
|
|
534
|
+
parent?: any;
|
|
535
|
+
children?: any[];
|
|
532
536
|
id?: string;
|
|
533
537
|
parent_id?: string;
|
|
534
538
|
name?: string;
|
|
@@ -539,19 +543,19 @@ export interface DraftCategoryDTO {
|
|
|
539
543
|
menu_id?: string;
|
|
540
544
|
item_images_enabled?: boolean;
|
|
541
545
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
542
|
-
menu?:
|
|
546
|
+
menu?: any;
|
|
543
547
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
544
|
-
brand?:
|
|
548
|
+
brand?: any;
|
|
545
549
|
changes?: CategoryChangeDTO[];
|
|
546
550
|
vendor_metadata?: VendorMetadataDTO[];
|
|
547
|
-
attachments?:
|
|
551
|
+
attachments?: any;
|
|
548
552
|
permissions?: FilterFieldDTO;
|
|
549
553
|
[index: string]: any;
|
|
550
554
|
}
|
|
551
555
|
|
|
552
556
|
export interface DraftCategoryToItemRelationshipDTO {
|
|
553
|
-
parent?:
|
|
554
|
-
children?:
|
|
557
|
+
parent?: any;
|
|
558
|
+
children?: any[];
|
|
555
559
|
id?: string;
|
|
556
560
|
parent_id?: string;
|
|
557
561
|
item_id?: string;
|
|
@@ -559,9 +563,9 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
559
563
|
brand_id?: FilterFieldDTO;
|
|
560
564
|
sequence?: number;
|
|
561
565
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
562
|
-
category?:
|
|
566
|
+
category?: any;
|
|
563
567
|
item?: DraftItemDTO;
|
|
564
|
-
brand?:
|
|
568
|
+
brand?: any;
|
|
565
569
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
566
570
|
vendor_metadata?: VendorMetadataDTO[];
|
|
567
571
|
permissions?: FilterFieldDTO;
|
|
@@ -569,15 +573,15 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
569
573
|
}
|
|
570
574
|
|
|
571
575
|
export interface DraftItemDTO {
|
|
572
|
-
parent?:
|
|
573
|
-
children?:
|
|
576
|
+
parent?: any;
|
|
577
|
+
children?: any[];
|
|
574
578
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
575
579
|
id?: string;
|
|
576
580
|
parent_id?: string;
|
|
577
581
|
name?: string;
|
|
578
582
|
label?: string;
|
|
579
583
|
description?: string;
|
|
580
|
-
reporting?:
|
|
584
|
+
reporting?: any;
|
|
581
585
|
price?: number;
|
|
582
586
|
barcode?: string;
|
|
583
587
|
calories?: number;
|
|
@@ -589,19 +593,19 @@ export interface DraftItemDTO {
|
|
|
589
593
|
line_route?: FilterFieldDTO;
|
|
590
594
|
posid_segment?: FilterFieldDTO;
|
|
591
595
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
592
|
-
brand?:
|
|
593
|
-
categories?:
|
|
596
|
+
brand?: any;
|
|
597
|
+
categories?: any[];
|
|
594
598
|
changes?: ItemChangeDTO[];
|
|
595
599
|
vendor_metadata?: VendorMetadataDTO[];
|
|
596
|
-
attachments?:
|
|
597
|
-
weight?:
|
|
600
|
+
attachments?: any;
|
|
601
|
+
weight?: any;
|
|
598
602
|
permissions?: FilterFieldDTO;
|
|
599
603
|
[index: string]: any;
|
|
600
604
|
}
|
|
601
605
|
|
|
602
606
|
export interface DraftItemToModifierGroupRelationshipDTO {
|
|
603
|
-
parent?:
|
|
604
|
-
children?:
|
|
607
|
+
parent?: any;
|
|
608
|
+
children?: any[];
|
|
605
609
|
id?: string;
|
|
606
610
|
parent_id?: string;
|
|
607
611
|
modifier_group_id?: string;
|
|
@@ -609,9 +613,9 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
609
613
|
brand_id?: FilterFieldDTO;
|
|
610
614
|
sequence?: number;
|
|
611
615
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
612
|
-
item?:
|
|
616
|
+
item?: any;
|
|
613
617
|
modifier_group?: DraftModifierGroupDTO;
|
|
614
|
-
brand?:
|
|
618
|
+
brand?: any;
|
|
615
619
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
616
620
|
vendor_metadata?: VendorMetadataDTO[];
|
|
617
621
|
permissions?: FilterFieldDTO;
|
|
@@ -619,10 +623,10 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
619
623
|
}
|
|
620
624
|
|
|
621
625
|
export interface DraftModifierGroupDTO {
|
|
622
|
-
parent?:
|
|
623
|
-
children?:
|
|
626
|
+
parent?: any;
|
|
627
|
+
children?: any[];
|
|
624
628
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
625
|
-
items?:
|
|
629
|
+
items?: any[];
|
|
626
630
|
id?: string;
|
|
627
631
|
parent_id?: string;
|
|
628
632
|
name?: string;
|
|
@@ -633,7 +637,7 @@ export interface DraftModifierGroupDTO {
|
|
|
633
637
|
limit?: number;
|
|
634
638
|
brand_id?: string;
|
|
635
639
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
636
|
-
brand?:
|
|
640
|
+
brand?: any;
|
|
637
641
|
changes?: ModifierGroupChangeDTO[];
|
|
638
642
|
vendor_metadata?: VendorMetadataDTO[];
|
|
639
643
|
permissions?: FilterFieldDTO;
|
|
@@ -641,8 +645,8 @@ export interface DraftModifierGroupDTO {
|
|
|
641
645
|
}
|
|
642
646
|
|
|
643
647
|
export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
644
|
-
parent?:
|
|
645
|
-
children?:
|
|
648
|
+
parent?: any;
|
|
649
|
+
children?: any[];
|
|
646
650
|
id?: string;
|
|
647
651
|
parent_id?: string;
|
|
648
652
|
modifier_id?: string;
|
|
@@ -651,8 +655,8 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
651
655
|
sequence?: number;
|
|
652
656
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
653
657
|
modifier?: DraftModifierDTO;
|
|
654
|
-
modifier_group?:
|
|
655
|
-
brand?:
|
|
658
|
+
modifier_group?: any;
|
|
659
|
+
brand?: any;
|
|
656
660
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
657
661
|
vendor_metadata?: VendorMetadataDTO[];
|
|
658
662
|
permissions?: FilterFieldDTO;
|
|
@@ -660,9 +664,9 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
660
664
|
}
|
|
661
665
|
|
|
662
666
|
export interface DraftModifierDTO {
|
|
663
|
-
parent?:
|
|
664
|
-
children?:
|
|
665
|
-
modifier_groups?:
|
|
667
|
+
parent?: any;
|
|
668
|
+
children?: any[];
|
|
669
|
+
modifier_groups?: any[];
|
|
666
670
|
id?: string;
|
|
667
671
|
parent_id?: string;
|
|
668
672
|
name?: string;
|
|
@@ -678,7 +682,7 @@ export interface DraftModifierDTO {
|
|
|
678
682
|
brand_id?: string;
|
|
679
683
|
sizing?: FilterFieldDTO[];
|
|
680
684
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
681
|
-
brand?:
|
|
685
|
+
brand?: any;
|
|
682
686
|
changes?: ModifierChangeDTO[];
|
|
683
687
|
vendor_metadata?: VendorMetadataDTO[];
|
|
684
688
|
weight?: WeightDTO;
|
|
@@ -692,34 +696,34 @@ export interface ModifierChangeDTO {
|
|
|
692
696
|
insert?: FilterFieldDTO;
|
|
693
697
|
delete?: FilterFieldDTO;
|
|
694
698
|
snapshot_entity_id?: FilterFieldDTO;
|
|
695
|
-
snapshot_entity?:
|
|
699
|
+
snapshot_entity?: any;
|
|
696
700
|
permissions?: FilterFieldDTO;
|
|
697
701
|
[index: string]: any;
|
|
698
702
|
}
|
|
699
703
|
|
|
700
704
|
export interface ReportingMetadataDTO {
|
|
701
705
|
category?: ReportingCategoryMetadataDTO;
|
|
702
|
-
id?:
|
|
706
|
+
id?: any;
|
|
703
707
|
[index: string]: any;
|
|
704
708
|
}
|
|
705
709
|
|
|
706
710
|
export interface ReportingCategoryMetadataDTO {
|
|
707
711
|
primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
|
|
708
712
|
secondary?: FilterFieldDTO;
|
|
709
|
-
id?:
|
|
713
|
+
id?: any;
|
|
710
714
|
[index: string]: any;
|
|
711
715
|
}
|
|
712
716
|
|
|
713
717
|
export interface WeightDTO {
|
|
714
718
|
unit?: FilterFieldDTO;
|
|
715
719
|
amount?: FilterFieldDTO;
|
|
716
|
-
id?:
|
|
720
|
+
id?: any;
|
|
717
721
|
[index: string]: any;
|
|
718
722
|
}
|
|
719
723
|
|
|
720
724
|
export interface FileAttachmentsDTO {
|
|
721
725
|
thumbnail?: FilterFieldDTO;
|
|
722
|
-
id?:
|
|
726
|
+
id?: any;
|
|
723
727
|
[index: string]: any;
|
|
724
728
|
}
|
|
725
729
|
|
|
@@ -728,7 +732,7 @@ export interface ModifierGroupToModifierRelationshipChangeDTO {
|
|
|
728
732
|
insert?: FilterFieldDTO;
|
|
729
733
|
delete?: FilterFieldDTO;
|
|
730
734
|
snapshot_entity_id?: FilterFieldDTO;
|
|
731
|
-
snapshot_entity?:
|
|
735
|
+
snapshot_entity?: any;
|
|
732
736
|
permissions?: FilterFieldDTO;
|
|
733
737
|
[index: string]: any;
|
|
734
738
|
}
|
|
@@ -738,7 +742,7 @@ export interface ModifierGroupChangeDTO {
|
|
|
738
742
|
insert?: FilterFieldDTO;
|
|
739
743
|
delete?: FilterFieldDTO;
|
|
740
744
|
snapshot_entity_id?: FilterFieldDTO;
|
|
741
|
-
snapshot_entity?:
|
|
745
|
+
snapshot_entity?: any;
|
|
742
746
|
permissions?: FilterFieldDTO;
|
|
743
747
|
[index: string]: any;
|
|
744
748
|
}
|
|
@@ -748,7 +752,7 @@ export interface ItemToModifierGroupRelationshipChangeDTO {
|
|
|
748
752
|
insert?: FilterFieldDTO;
|
|
749
753
|
delete?: FilterFieldDTO;
|
|
750
754
|
snapshot_entity_id?: FilterFieldDTO;
|
|
751
|
-
snapshot_entity?:
|
|
755
|
+
snapshot_entity?: any;
|
|
752
756
|
permissions?: FilterFieldDTO;
|
|
753
757
|
[index: string]: any;
|
|
754
758
|
}
|
|
@@ -758,7 +762,7 @@ export interface ItemChangeDTO {
|
|
|
758
762
|
insert?: FilterFieldDTO;
|
|
759
763
|
delete?: FilterFieldDTO;
|
|
760
764
|
snapshot_entity_id?: FilterFieldDTO;
|
|
761
|
-
snapshot_entity?:
|
|
765
|
+
snapshot_entity?: any;
|
|
762
766
|
permissions?: FilterFieldDTO;
|
|
763
767
|
[index: string]: any;
|
|
764
768
|
}
|
|
@@ -768,7 +772,7 @@ export interface CategoryToItemRelationshipChangeDTO {
|
|
|
768
772
|
insert?: FilterFieldDTO;
|
|
769
773
|
delete?: FilterFieldDTO;
|
|
770
774
|
snapshot_entity_id?: FilterFieldDTO;
|
|
771
|
-
snapshot_entity?:
|
|
775
|
+
snapshot_entity?: any;
|
|
772
776
|
permissions?: FilterFieldDTO;
|
|
773
777
|
[index: string]: any;
|
|
774
778
|
}
|
|
@@ -778,7 +782,7 @@ export interface CategoryChangeDTO {
|
|
|
778
782
|
insert?: FilterFieldDTO;
|
|
779
783
|
delete?: FilterFieldDTO;
|
|
780
784
|
snapshot_entity_id?: FilterFieldDTO;
|
|
781
|
-
snapshot_entity?:
|
|
785
|
+
snapshot_entity?: any;
|
|
782
786
|
permissions?: FilterFieldDTO;
|
|
783
787
|
[index: string]: any;
|
|
784
788
|
}
|
|
@@ -788,7 +792,7 @@ export interface MenuChangeDTO {
|
|
|
788
792
|
insert?: FilterFieldDTO;
|
|
789
793
|
delete?: FilterFieldDTO;
|
|
790
794
|
snapshot_entity_id?: FilterFieldDTO;
|
|
791
|
-
snapshot_entity?:
|
|
795
|
+
snapshot_entity?: any;
|
|
792
796
|
permissions?: FilterFieldDTO;
|
|
793
797
|
[index: string]: any;
|
|
794
798
|
}
|
|
@@ -799,7 +803,7 @@ export interface BrandStatusDTO {
|
|
|
799
803
|
status?: string;
|
|
800
804
|
metadata?: FilterFieldDTO;
|
|
801
805
|
id?: string;
|
|
802
|
-
brand?:
|
|
806
|
+
brand?: any;
|
|
803
807
|
permissions?: FilterFieldDTO;
|
|
804
808
|
[index: string]: any;
|
|
805
809
|
}
|
|
@@ -815,8 +819,8 @@ export interface DraftMenuDraftMenuDTO {
|
|
|
815
819
|
created_at?: FilterFieldDTO;
|
|
816
820
|
updated_at?: FilterFieldDTO;
|
|
817
821
|
deleted_at?: FilterFieldDTO;
|
|
818
|
-
parent?:
|
|
819
|
-
children?:
|
|
822
|
+
parent?: any;
|
|
823
|
+
children?: any[];
|
|
820
824
|
categories?: DraftCategoryDTO[];
|
|
821
825
|
brand?: DraftBrandDTO;
|
|
822
826
|
changes?: MenuChangeDTO[];
|
|
@@ -844,8 +848,8 @@ export interface DraftModifierDraftModifierDTO {
|
|
|
844
848
|
created_at?: FilterFieldDTO;
|
|
845
849
|
updated_at?: FilterFieldDTO;
|
|
846
850
|
deleted_at?: FilterFieldDTO;
|
|
847
|
-
parent?:
|
|
848
|
-
children?:
|
|
851
|
+
parent?: any;
|
|
852
|
+
children?: any[];
|
|
849
853
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
850
854
|
brand?: DraftBrandDTO;
|
|
851
855
|
changes?: ModifierChangeDTO[];
|
|
@@ -872,8 +876,8 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
|
872
876
|
created_at?: FilterFieldDTO;
|
|
873
877
|
updated_at?: FilterFieldDTO;
|
|
874
878
|
deleted_at?: FilterFieldDTO;
|
|
875
|
-
parent?:
|
|
876
|
-
children?:
|
|
879
|
+
parent?: any;
|
|
880
|
+
children?: any[];
|
|
877
881
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
878
882
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
879
883
|
brand?: DraftBrandDTO;
|
|
@@ -904,8 +908,8 @@ export interface DraftItemDraftItemDTO {
|
|
|
904
908
|
created_at?: FilterFieldDTO;
|
|
905
909
|
updated_at?: FilterFieldDTO;
|
|
906
910
|
deleted_at?: FilterFieldDTO;
|
|
907
|
-
parent?:
|
|
908
|
-
children?:
|
|
911
|
+
parent?: any;
|
|
912
|
+
children?: any[];
|
|
909
913
|
brand?: DraftBrandDTO;
|
|
910
914
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
911
915
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -928,7 +932,7 @@ export interface GlobalDiffDependencyDTO {
|
|
|
928
932
|
is_depended_by_id?: string;
|
|
929
933
|
id?: string;
|
|
930
934
|
depends_on?: GlobalDiffGlobalDiffDTO;
|
|
931
|
-
is_depended_by?:
|
|
935
|
+
is_depended_by?: any;
|
|
932
936
|
permissions?: FilterFieldDTO;
|
|
933
937
|
[index: string]: any;
|
|
934
938
|
}
|
|
@@ -948,8 +952,8 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
948
952
|
created_at?: FilterFieldDTO;
|
|
949
953
|
updated_at?: FilterFieldDTO;
|
|
950
954
|
deleted_at?: FilterFieldDTO;
|
|
951
|
-
depends_on?:
|
|
952
|
-
is_depended_by?:
|
|
955
|
+
depends_on?: any[];
|
|
956
|
+
is_depended_by?: any[];
|
|
953
957
|
brand?: DraftBrandDTO;
|
|
954
958
|
permissions?: FilterFieldDTO;
|
|
955
959
|
[index: string]: any;
|
|
@@ -961,21 +965,21 @@ export interface DiffDTO {
|
|
|
961
965
|
created_at?: string;
|
|
962
966
|
updated_at?: string;
|
|
963
967
|
deleted_at?: string;
|
|
964
|
-
child_nodes?:
|
|
968
|
+
child_nodes?: any[];
|
|
965
969
|
name?: string;
|
|
966
970
|
entity_type?: string;
|
|
967
971
|
local_id?: string;
|
|
968
|
-
changes?:
|
|
969
|
-
local_changes?:
|
|
970
|
-
local_snapshot?:
|
|
972
|
+
changes?: any;
|
|
973
|
+
local_changes?: any;
|
|
974
|
+
local_snapshot?: any;
|
|
971
975
|
global_id?: string;
|
|
972
|
-
global_snapshot?:
|
|
976
|
+
global_snapshot?: any;
|
|
973
977
|
brand_id?: string;
|
|
974
978
|
version?: number;
|
|
975
979
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
976
980
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
977
981
|
brand?: DraftBrandDTO;
|
|
978
|
-
permissions?:
|
|
982
|
+
permissions?: any;
|
|
979
983
|
[index: string]: any;
|
|
980
984
|
}
|
|
981
985
|
|
|
@@ -991,7 +995,7 @@ export interface PublishedMenuDTO {
|
|
|
991
995
|
name?: string;
|
|
992
996
|
brand_id?: string;
|
|
993
997
|
category_images_enabled?: boolean;
|
|
994
|
-
permissions?:
|
|
998
|
+
permissions?: any;
|
|
995
999
|
[index: string]: any;
|
|
996
1000
|
}
|
|
997
1001
|
|
|
@@ -1005,7 +1009,7 @@ export interface PublishedCategoryDTO {
|
|
|
1005
1009
|
brand_id?: string;
|
|
1006
1010
|
menu_id?: string;
|
|
1007
1011
|
item_images_enabled?: boolean;
|
|
1008
|
-
permissions?:
|
|
1012
|
+
permissions?: any;
|
|
1009
1013
|
[index: string]: any;
|
|
1010
1014
|
}
|
|
1011
1015
|
|
|
@@ -1016,7 +1020,7 @@ export interface PublishedCategoryToItemRelationshipDTO {
|
|
|
1016
1020
|
category_id?: string;
|
|
1017
1021
|
brand_id?: string;
|
|
1018
1022
|
sequence?: number;
|
|
1019
|
-
permissions?:
|
|
1023
|
+
permissions?: any;
|
|
1020
1024
|
[index: string]: any;
|
|
1021
1025
|
}
|
|
1022
1026
|
|
|
@@ -1032,11 +1036,11 @@ export interface PublishedItemDTO {
|
|
|
1032
1036
|
meal_value?: number;
|
|
1033
1037
|
is_active?: boolean;
|
|
1034
1038
|
posid?: string;
|
|
1035
|
-
tax_tags?:
|
|
1039
|
+
tax_tags?: any[];
|
|
1036
1040
|
brand_id?: string;
|
|
1037
1041
|
line_route?: string;
|
|
1038
1042
|
posid_segment?: string;
|
|
1039
|
-
permissions?:
|
|
1043
|
+
permissions?: any;
|
|
1040
1044
|
[index: string]: any;
|
|
1041
1045
|
}
|
|
1042
1046
|
|
|
@@ -1047,7 +1051,7 @@ export interface PublishedItemToModifierGroupRelationshipDTO {
|
|
|
1047
1051
|
item_id?: string;
|
|
1048
1052
|
brand_id?: string;
|
|
1049
1053
|
sequence?: number;
|
|
1050
|
-
permissions?:
|
|
1054
|
+
permissions?: any;
|
|
1051
1055
|
[index: string]: any;
|
|
1052
1056
|
}
|
|
1053
1057
|
|
|
@@ -1061,7 +1065,7 @@ export interface PublishedModifierGroupDTO {
|
|
|
1061
1065
|
is_active?: boolean;
|
|
1062
1066
|
limit?: number;
|
|
1063
1067
|
brand_id?: string;
|
|
1064
|
-
permissions?:
|
|
1068
|
+
permissions?: any;
|
|
1065
1069
|
[index: string]: any;
|
|
1066
1070
|
}
|
|
1067
1071
|
|
|
@@ -1072,7 +1076,7 @@ export interface PublishedModifierGroupToModifierRelationshipDTO {
|
|
|
1072
1076
|
modifier_group_id?: string;
|
|
1073
1077
|
brand_id?: string;
|
|
1074
1078
|
sequence?: number;
|
|
1075
|
-
permissions?:
|
|
1079
|
+
permissions?: any;
|
|
1076
1080
|
[index: string]: any;
|
|
1077
1081
|
}
|
|
1078
1082
|
|
|
@@ -1084,13 +1088,13 @@ export interface PublishedModifierDTO {
|
|
|
1084
1088
|
description?: string;
|
|
1085
1089
|
price?: number;
|
|
1086
1090
|
calories?: number;
|
|
1087
|
-
tax_tags?:
|
|
1091
|
+
tax_tags?: any[];
|
|
1088
1092
|
is_active?: boolean;
|
|
1089
1093
|
posid?: string;
|
|
1090
1094
|
posid_segment?: string;
|
|
1091
1095
|
brand_id?: string;
|
|
1092
|
-
sizing?:
|
|
1093
|
-
permissions?:
|
|
1096
|
+
sizing?: any[];
|
|
1097
|
+
permissions?: any;
|
|
1094
1098
|
[index: string]: any;
|
|
1095
1099
|
}
|
|
1096
1100
|
|
|
@@ -1108,8 +1112,8 @@ export interface PublishedBrandPublishedBrandDTO {
|
|
|
1108
1112
|
created_at?: FilterFieldDTO;
|
|
1109
1113
|
updated_at?: FilterFieldDTO;
|
|
1110
1114
|
deleted_at?: FilterFieldDTO;
|
|
1111
|
-
parent?:
|
|
1112
|
-
children?:
|
|
1115
|
+
parent?: any;
|
|
1116
|
+
children?: any[];
|
|
1113
1117
|
local_menu_group?: LocalMenuGroupDTO;
|
|
1114
1118
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
1115
1119
|
menus?: PublishedMenuDTO[];
|
|
@@ -1140,8 +1144,8 @@ export interface DraftCategoryDraftCategoryDTO {
|
|
|
1140
1144
|
created_at?: FilterFieldDTO;
|
|
1141
1145
|
updated_at?: FilterFieldDTO;
|
|
1142
1146
|
deleted_at?: FilterFieldDTO;
|
|
1143
|
-
parent?:
|
|
1144
|
-
children?:
|
|
1147
|
+
parent?: any;
|
|
1148
|
+
children?: any[];
|
|
1145
1149
|
menu?: DraftMenuDTO;
|
|
1146
1150
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
1147
1151
|
brand?: DraftBrandDTO;
|
|
@@ -1162,8 +1166,8 @@ export interface PublishedMenuPublishedMenuDTO {
|
|
|
1162
1166
|
created_at?: FilterFieldDTO;
|
|
1163
1167
|
updated_at?: FilterFieldDTO;
|
|
1164
1168
|
deleted_at?: FilterFieldDTO;
|
|
1165
|
-
parent?:
|
|
1166
|
-
children?:
|
|
1169
|
+
parent?: any;
|
|
1170
|
+
children?: any[];
|
|
1167
1171
|
categories?: PublishedCategoryDTO[];
|
|
1168
1172
|
brand?: PublishedBrandDTO;
|
|
1169
1173
|
permissions?: FilterFieldDTO;
|
|
@@ -1184,8 +1188,8 @@ export interface PublishedCategoryPublishedCategoryDTO {
|
|
|
1184
1188
|
created_at?: FilterFieldDTO;
|
|
1185
1189
|
updated_at?: FilterFieldDTO;
|
|
1186
1190
|
deleted_at?: FilterFieldDTO;
|
|
1187
|
-
parent?:
|
|
1188
|
-
children?:
|
|
1191
|
+
parent?: any;
|
|
1192
|
+
children?: any[];
|
|
1189
1193
|
menu?: PublishedMenuDTO;
|
|
1190
1194
|
items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1191
1195
|
brand?: PublishedBrandDTO;
|
|
@@ -1206,8 +1210,8 @@ export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipD
|
|
|
1206
1210
|
version?: FilterFieldDTO;
|
|
1207
1211
|
created_at?: FilterFieldDTO;
|
|
1208
1212
|
updated_at?: FilterFieldDTO;
|
|
1209
|
-
parent?:
|
|
1210
|
-
children?:
|
|
1213
|
+
parent?: any;
|
|
1214
|
+
children?: any[];
|
|
1211
1215
|
category?: DraftCategoryDTO;
|
|
1212
1216
|
item?: DraftItemDTO;
|
|
1213
1217
|
brand?: DraftBrandDTO;
|
|
@@ -1228,8 +1232,8 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
|
|
|
1228
1232
|
version?: FilterFieldDTO;
|
|
1229
1233
|
created_at?: FilterFieldDTO;
|
|
1230
1234
|
updated_at?: FilterFieldDTO;
|
|
1231
|
-
parent?:
|
|
1232
|
-
children?:
|
|
1235
|
+
parent?: any;
|
|
1236
|
+
children?: any[];
|
|
1233
1237
|
category?: PublishedCategoryDTO;
|
|
1234
1238
|
item?: PublishedItemDTO;
|
|
1235
1239
|
brand?: PublishedBrandDTO;
|
|
@@ -1261,11 +1265,11 @@ export interface DraftItemEntityDTO {
|
|
|
1261
1265
|
meal_value?: number;
|
|
1262
1266
|
is_active?: boolean;
|
|
1263
1267
|
posid?: string;
|
|
1264
|
-
tax_tags?:
|
|
1268
|
+
tax_tags?: any[];
|
|
1265
1269
|
brand_id: string;
|
|
1266
1270
|
line_route?: string;
|
|
1267
1271
|
posid_segment?: string;
|
|
1268
|
-
applied_diff_snapshot?:
|
|
1272
|
+
applied_diff_snapshot?: any;
|
|
1269
1273
|
version?: number;
|
|
1270
1274
|
brand?: DraftBrandDTO;
|
|
1271
1275
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -1273,7 +1277,7 @@ export interface DraftItemEntityDTO {
|
|
|
1273
1277
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1274
1278
|
attachments?: FileAttachmentsDTO;
|
|
1275
1279
|
weight?: WeightDTO;
|
|
1276
|
-
permissions?:
|
|
1280
|
+
permissions?: any;
|
|
1277
1281
|
[index: string]: any;
|
|
1278
1282
|
}
|
|
1279
1283
|
|
|
@@ -1297,8 +1301,8 @@ export interface PublishedItemPublishedItemDTO {
|
|
|
1297
1301
|
created_at?: FilterFieldDTO;
|
|
1298
1302
|
updated_at?: FilterFieldDTO;
|
|
1299
1303
|
deleted_at?: FilterFieldDTO;
|
|
1300
|
-
parent?:
|
|
1301
|
-
children?:
|
|
1304
|
+
parent?: any;
|
|
1305
|
+
children?: any[];
|
|
1302
1306
|
brand?: PublishedBrandDTO;
|
|
1303
1307
|
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
1304
1308
|
modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
@@ -1321,8 +1325,8 @@ export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRel
|
|
|
1321
1325
|
version?: FilterFieldDTO;
|
|
1322
1326
|
created_at?: FilterFieldDTO;
|
|
1323
1327
|
updated_at?: FilterFieldDTO;
|
|
1324
|
-
parent?:
|
|
1325
|
-
children?:
|
|
1328
|
+
parent?: any;
|
|
1329
|
+
children?: any[];
|
|
1326
1330
|
item?: DraftItemDTO;
|
|
1327
1331
|
modifier_group?: DraftModifierGroupDTO;
|
|
1328
1332
|
brand?: DraftBrandDTO;
|
|
@@ -1343,8 +1347,8 @@ export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifier
|
|
|
1343
1347
|
version?: FilterFieldDTO;
|
|
1344
1348
|
created_at?: FilterFieldDTO;
|
|
1345
1349
|
updated_at?: FilterFieldDTO;
|
|
1346
|
-
parent?:
|
|
1347
|
-
children?:
|
|
1350
|
+
parent?: any;
|
|
1351
|
+
children?: any[];
|
|
1348
1352
|
item?: PublishedItemDTO;
|
|
1349
1353
|
modifier_group?: PublishedModifierGroupDTO;
|
|
1350
1354
|
brand?: PublishedBrandDTO;
|
|
@@ -1366,8 +1370,8 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
|
|
|
1366
1370
|
created_at?: FilterFieldDTO;
|
|
1367
1371
|
updated_at?: FilterFieldDTO;
|
|
1368
1372
|
deleted_at?: FilterFieldDTO;
|
|
1369
|
-
parent?:
|
|
1370
|
-
children?:
|
|
1373
|
+
parent?: any;
|
|
1374
|
+
children?: any[];
|
|
1371
1375
|
modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1372
1376
|
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1373
1377
|
brand?: PublishedBrandDTO;
|
|
@@ -1387,8 +1391,8 @@ export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToMod
|
|
|
1387
1391
|
version?: FilterFieldDTO;
|
|
1388
1392
|
created_at?: FilterFieldDTO;
|
|
1389
1393
|
updated_at?: FilterFieldDTO;
|
|
1390
|
-
parent?:
|
|
1391
|
-
children?:
|
|
1394
|
+
parent?: any;
|
|
1395
|
+
children?: any[];
|
|
1392
1396
|
modifier?: DraftModifierDTO;
|
|
1393
1397
|
modifier_group?: DraftModifierGroupDTO;
|
|
1394
1398
|
brand?: DraftBrandDTO;
|
|
@@ -1409,8 +1413,8 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
|
|
|
1409
1413
|
version?: FilterFieldDTO;
|
|
1410
1414
|
created_at?: FilterFieldDTO;
|
|
1411
1415
|
updated_at?: FilterFieldDTO;
|
|
1412
|
-
parent?:
|
|
1413
|
-
children?:
|
|
1416
|
+
parent?: any;
|
|
1417
|
+
children?: any[];
|
|
1414
1418
|
modifier_group?: PublishedModifierGroupDTO;
|
|
1415
1419
|
modifier?: PublishedModifierDTO;
|
|
1416
1420
|
brand?: PublishedBrandDTO;
|
|
@@ -1432,21 +1436,21 @@ export interface DraftModifierEntityDTO {
|
|
|
1432
1436
|
description?: string;
|
|
1433
1437
|
price: number;
|
|
1434
1438
|
calories?: number;
|
|
1435
|
-
tax_tags?:
|
|
1439
|
+
tax_tags?: any[];
|
|
1436
1440
|
is_active?: boolean;
|
|
1437
1441
|
posid?: string;
|
|
1438
1442
|
reporting: ReportingMetadataDTO;
|
|
1439
1443
|
posid_segment?: string;
|
|
1440
1444
|
brand_id: string;
|
|
1441
|
-
sizing?:
|
|
1442
|
-
applied_diff_snapshot?:
|
|
1445
|
+
sizing?: any[];
|
|
1446
|
+
applied_diff_snapshot?: any;
|
|
1443
1447
|
version?: number;
|
|
1444
1448
|
brand?: DraftBrandDTO;
|
|
1445
1449
|
changes?: ModifierChangeDTO[];
|
|
1446
1450
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1447
1451
|
weight?: WeightDTO;
|
|
1448
1452
|
attachments?: FileAttachmentsDTO;
|
|
1449
|
-
permissions?:
|
|
1453
|
+
permissions?: any;
|
|
1450
1454
|
[index: string]: any;
|
|
1451
1455
|
}
|
|
1452
1456
|
|
|
@@ -1468,8 +1472,8 @@ export interface PublishedModifierPublishedModifierDTO {
|
|
|
1468
1472
|
created_at?: FilterFieldDTO;
|
|
1469
1473
|
updated_at?: FilterFieldDTO;
|
|
1470
1474
|
deleted_at?: FilterFieldDTO;
|
|
1471
|
-
parent?:
|
|
1472
|
-
children?:
|
|
1475
|
+
parent?: any;
|
|
1476
|
+
children?: any[];
|
|
1473
1477
|
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1474
1478
|
brand?: PublishedBrandDTO;
|
|
1475
1479
|
reporting?: ReportingMetadataDTO;
|
|
@@ -1487,17 +1491,17 @@ export interface GlobalDiffDTO {
|
|
|
1487
1491
|
deleted_at?: string;
|
|
1488
1492
|
entity_type?: string;
|
|
1489
1493
|
local_id?: string;
|
|
1490
|
-
changes?:
|
|
1491
|
-
local_changes?:
|
|
1492
|
-
local_snapshot?:
|
|
1494
|
+
changes?: any;
|
|
1495
|
+
local_changes?: any;
|
|
1496
|
+
local_snapshot?: any;
|
|
1493
1497
|
global_id?: string;
|
|
1494
|
-
global_snapshot?:
|
|
1498
|
+
global_snapshot?: any;
|
|
1495
1499
|
brand_id?: string;
|
|
1496
1500
|
version?: number;
|
|
1497
1501
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
1498
1502
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
1499
1503
|
brand?: DraftBrandDTO;
|
|
1500
|
-
permissions?:
|
|
1504
|
+
permissions?: any;
|
|
1501
1505
|
[index: string]: any;
|
|
1502
1506
|
}
|
|
1503
1507
|
|
|
@@ -1553,7 +1557,7 @@ export interface GetMenuHeadersQuery {
|
|
|
1553
1557
|
_query?: string;
|
|
1554
1558
|
}
|
|
1555
1559
|
|
|
1556
|
-
export type GetMenuHeadersResponse =
|
|
1560
|
+
export type GetMenuHeadersResponse = any;
|
|
1557
1561
|
|
|
1558
1562
|
export interface GetMenuHeadersRequest
|
|
1559
1563
|
extends BaseRequest,
|
|
@@ -2024,7 +2028,7 @@ export interface PostMenuV3LocalMenuGroupBody {
|
|
|
2024
2028
|
draft_brands?: DraftBrandDTO[];
|
|
2025
2029
|
published_brands?: PublishedBrandDTO[];
|
|
2026
2030
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2027
|
-
permissions?:
|
|
2031
|
+
permissions?: any;
|
|
2028
2032
|
[index: string]: any;
|
|
2029
2033
|
}
|
|
2030
2034
|
|
|
@@ -2040,7 +2044,7 @@ export interface PostMenuV3LocalMenuGroupResponse {
|
|
|
2040
2044
|
deleted_at?: string;
|
|
2041
2045
|
version?: number;
|
|
2042
2046
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2043
|
-
permissions?:
|
|
2047
|
+
permissions?: any;
|
|
2044
2048
|
[index: string]: any;
|
|
2045
2049
|
}
|
|
2046
2050
|
|
|
@@ -2075,7 +2079,7 @@ export interface GetMenuV3LocalMenuGroupResponse {
|
|
|
2075
2079
|
deleted_at?: string;
|
|
2076
2080
|
version?: number;
|
|
2077
2081
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2078
|
-
permissions?:
|
|
2082
|
+
permissions?: any;
|
|
2079
2083
|
[index: string]: any;
|
|
2080
2084
|
}
|
|
2081
2085
|
|
|
@@ -2099,7 +2103,7 @@ export interface PatchMenuV3LocalMenuGroupBody {
|
|
|
2099
2103
|
id?: string;
|
|
2100
2104
|
version?: number;
|
|
2101
2105
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2102
|
-
permissions?:
|
|
2106
|
+
permissions?: any;
|
|
2103
2107
|
[index: string]: any;
|
|
2104
2108
|
}
|
|
2105
2109
|
|
|
@@ -2115,7 +2119,7 @@ export interface PatchMenuV3LocalMenuGroupResponse {
|
|
|
2115
2119
|
deleted_at?: string;
|
|
2116
2120
|
version?: number;
|
|
2117
2121
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2118
|
-
permissions?:
|
|
2122
|
+
permissions?: any;
|
|
2119
2123
|
[index: string]: any;
|
|
2120
2124
|
}
|
|
2121
2125
|
|
|
@@ -2143,7 +2147,7 @@ export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
|
2143
2147
|
deleted_at?: string;
|
|
2144
2148
|
version?: number;
|
|
2145
2149
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2146
|
-
permissions?:
|
|
2150
|
+
permissions?: any;
|
|
2147
2151
|
[index: string]: any;
|
|
2148
2152
|
}
|
|
2149
2153
|
|
|
@@ -2192,9 +2196,9 @@ export type PostMenuV3LocalMenuGroupsBody = {
|
|
|
2192
2196
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2193
2197
|
draft_brands?: DraftBrandDTO[];
|
|
2194
2198
|
published_brands?: PublishedBrandDTO[];
|
|
2195
|
-
id?:
|
|
2199
|
+
id?: any;
|
|
2196
2200
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2197
|
-
permissions?:
|
|
2201
|
+
permissions?: any;
|
|
2198
2202
|
[index: string]: any;
|
|
2199
2203
|
}[];
|
|
2200
2204
|
|
|
@@ -2389,7 +2393,7 @@ export interface PostMenuV3GlobalMenuGroupBody {
|
|
|
2389
2393
|
published_brands?: PublishedBrandDTO[];
|
|
2390
2394
|
posid_segment: string;
|
|
2391
2395
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2392
|
-
permissions?:
|
|
2396
|
+
permissions?: any;
|
|
2393
2397
|
[index: string]: any;
|
|
2394
2398
|
}
|
|
2395
2399
|
|
|
@@ -2437,7 +2441,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
|
|
|
2437
2441
|
id?: string;
|
|
2438
2442
|
version?: number;
|
|
2439
2443
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2440
|
-
permissions?:
|
|
2444
|
+
permissions?: any;
|
|
2441
2445
|
[index: string]: any;
|
|
2442
2446
|
}
|
|
2443
2447
|
|
|
@@ -2472,7 +2476,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
|
|
|
2472
2476
|
deleted_at?: string;
|
|
2473
2477
|
version?: number;
|
|
2474
2478
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2475
|
-
permissions?:
|
|
2479
|
+
permissions?: any;
|
|
2476
2480
|
[index: string]: any;
|
|
2477
2481
|
}
|
|
2478
2482
|
|
|
@@ -2523,9 +2527,9 @@ export type PostMenuV3GlobalMenuGroupsBody = {
|
|
|
2523
2527
|
draft_brands?: DraftBrandDTO[];
|
|
2524
2528
|
published_brands?: PublishedBrandDTO[];
|
|
2525
2529
|
posid_segment: string;
|
|
2526
|
-
id?:
|
|
2530
|
+
id?: any;
|
|
2527
2531
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2528
|
-
permissions?:
|
|
2532
|
+
permissions?: any;
|
|
2529
2533
|
[index: string]: any;
|
|
2530
2534
|
}[];
|
|
2531
2535
|
|
|
@@ -2657,13 +2661,13 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
2657
2661
|
local_menu_group_id?: string;
|
|
2658
2662
|
global_menu_group_id?: string;
|
|
2659
2663
|
posid_segment?: string;
|
|
2660
|
-
id?:
|
|
2664
|
+
id?: any;
|
|
2661
2665
|
changes?: BrandChangeDTO[];
|
|
2662
2666
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2663
2667
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2664
2668
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2665
2669
|
attachments?: FileAttachmentsDTO;
|
|
2666
|
-
permissions?:
|
|
2670
|
+
permissions?: any;
|
|
2667
2671
|
[index: string]: any;
|
|
2668
2672
|
}
|
|
2669
2673
|
|
|
@@ -2728,7 +2732,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2728
2732
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2729
2733
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2730
2734
|
attachments?: FileAttachmentsDTO;
|
|
2731
|
-
permissions?:
|
|
2735
|
+
permissions?: any;
|
|
2732
2736
|
[index: string]: any;
|
|
2733
2737
|
}
|
|
2734
2738
|
|
|
@@ -2803,13 +2807,13 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2803
2807
|
local_menu_group_id?: string;
|
|
2804
2808
|
global_menu_group_id?: string;
|
|
2805
2809
|
posid_segment?: string;
|
|
2806
|
-
id?:
|
|
2810
|
+
id?: any;
|
|
2807
2811
|
changes?: BrandChangeDTO[];
|
|
2808
2812
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2809
2813
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2810
2814
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2811
2815
|
attachments?: FileAttachmentsDTO;
|
|
2812
|
-
permissions?:
|
|
2816
|
+
permissions?: any;
|
|
2813
2817
|
[index: string]: any;
|
|
2814
2818
|
}[];
|
|
2815
2819
|
|
|
@@ -3165,11 +3169,11 @@ export interface PostMenuV3BrandBody {
|
|
|
3165
3169
|
local_menu_group_id?: string;
|
|
3166
3170
|
global_menu_group_id?: string;
|
|
3167
3171
|
posid_segment?: string;
|
|
3168
|
-
id?:
|
|
3172
|
+
id?: any;
|
|
3169
3173
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3170
3174
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3171
3175
|
attachments?: FileAttachmentsDTO;
|
|
3172
|
-
permissions?:
|
|
3176
|
+
permissions?: any;
|
|
3173
3177
|
[index: string]: any;
|
|
3174
3178
|
}
|
|
3175
3179
|
|
|
@@ -3236,7 +3240,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
3236
3240
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3237
3241
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3238
3242
|
attachments?: FileAttachmentsDTO;
|
|
3239
|
-
permissions?:
|
|
3243
|
+
permissions?: any;
|
|
3240
3244
|
[index: string]: any;
|
|
3241
3245
|
}
|
|
3242
3246
|
|
|
@@ -3323,11 +3327,11 @@ export type PostMenuV3BrandsBody = {
|
|
|
3323
3327
|
local_menu_group_id?: string;
|
|
3324
3328
|
global_menu_group_id?: string;
|
|
3325
3329
|
posid_segment?: string;
|
|
3326
|
-
id?:
|
|
3330
|
+
id?: any;
|
|
3327
3331
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3328
3332
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3329
3333
|
attachments?: FileAttachmentsDTO;
|
|
3330
|
-
permissions?:
|
|
3334
|
+
permissions?: any;
|
|
3331
3335
|
[index: string]: any;
|
|
3332
3336
|
}[];
|
|
3333
3337
|
|
|
@@ -3558,7 +3562,7 @@ export interface PostMenuV3BrandLocalResponse {
|
|
|
3558
3562
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3559
3563
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3560
3564
|
attachments?: FileAttachmentsDTO;
|
|
3561
|
-
permissions?:
|
|
3565
|
+
permissions?: any;
|
|
3562
3566
|
[index: string]: any;
|
|
3563
3567
|
}
|
|
3564
3568
|
|
|
@@ -3577,12 +3581,12 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
3577
3581
|
name: string;
|
|
3578
3582
|
brand_id: string;
|
|
3579
3583
|
category_images_enabled?: boolean;
|
|
3580
|
-
id?:
|
|
3581
|
-
applied_diff_snapshot?:
|
|
3584
|
+
id?: any;
|
|
3585
|
+
applied_diff_snapshot?: any;
|
|
3582
3586
|
brand?: DraftBrandDTO;
|
|
3583
3587
|
changes?: MenuChangeDTO[];
|
|
3584
3588
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3585
|
-
permissions?:
|
|
3589
|
+
permissions?: any;
|
|
3586
3590
|
[index: string]: any;
|
|
3587
3591
|
}
|
|
3588
3592
|
|
|
@@ -3629,12 +3633,12 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
3629
3633
|
name?: string;
|
|
3630
3634
|
brand_id?: string;
|
|
3631
3635
|
category_images_enabled?: boolean;
|
|
3632
|
-
applied_diff_snapshot?:
|
|
3636
|
+
applied_diff_snapshot?: any;
|
|
3633
3637
|
version?: number;
|
|
3634
3638
|
brand?: DraftBrandDTO;
|
|
3635
3639
|
changes?: MenuChangeDTO[];
|
|
3636
3640
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3637
|
-
permissions?:
|
|
3641
|
+
permissions?: any;
|
|
3638
3642
|
[index: string]: any;
|
|
3639
3643
|
}
|
|
3640
3644
|
|
|
@@ -3697,12 +3701,12 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
3697
3701
|
name: string;
|
|
3698
3702
|
brand_id: string;
|
|
3699
3703
|
category_images_enabled?: boolean;
|
|
3700
|
-
id?:
|
|
3701
|
-
applied_diff_snapshot?:
|
|
3704
|
+
id?: any;
|
|
3705
|
+
applied_diff_snapshot?: any;
|
|
3702
3706
|
brand?: DraftBrandDTO;
|
|
3703
3707
|
changes?: MenuChangeDTO[];
|
|
3704
3708
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3705
|
-
permissions?:
|
|
3709
|
+
permissions?: any;
|
|
3706
3710
|
[index: string]: any;
|
|
3707
3711
|
}[];
|
|
3708
3712
|
|
|
@@ -3916,15 +3920,15 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
3916
3920
|
brand_id: string;
|
|
3917
3921
|
menu_id: string;
|
|
3918
3922
|
item_images_enabled?: boolean;
|
|
3919
|
-
id?:
|
|
3920
|
-
applied_diff_snapshot?:
|
|
3923
|
+
id?: any;
|
|
3924
|
+
applied_diff_snapshot?: any;
|
|
3921
3925
|
menu?: DraftMenuDTO;
|
|
3922
3926
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
3923
3927
|
brand?: DraftBrandDTO;
|
|
3924
3928
|
changes?: CategoryChangeDTO[];
|
|
3925
3929
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3926
3930
|
attachments?: FileAttachmentsDTO;
|
|
3927
|
-
permissions?:
|
|
3931
|
+
permissions?: any;
|
|
3928
3932
|
[index: string]: any;
|
|
3929
3933
|
}
|
|
3930
3934
|
|
|
@@ -3974,7 +3978,7 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
3974
3978
|
brand_id?: string;
|
|
3975
3979
|
menu_id?: string;
|
|
3976
3980
|
item_images_enabled?: boolean;
|
|
3977
|
-
applied_diff_snapshot?:
|
|
3981
|
+
applied_diff_snapshot?: any;
|
|
3978
3982
|
version?: number;
|
|
3979
3983
|
menu?: DraftMenuDTO;
|
|
3980
3984
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3982,7 +3986,7 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
3982
3986
|
changes?: CategoryChangeDTO[];
|
|
3983
3987
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3984
3988
|
attachments?: FileAttachmentsDTO;
|
|
3985
|
-
permissions?:
|
|
3989
|
+
permissions?: any;
|
|
3986
3990
|
[index: string]: any;
|
|
3987
3991
|
}
|
|
3988
3992
|
|
|
@@ -4037,15 +4041,15 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
4037
4041
|
brand_id: string;
|
|
4038
4042
|
menu_id: string;
|
|
4039
4043
|
item_images_enabled?: boolean;
|
|
4040
|
-
id?:
|
|
4041
|
-
applied_diff_snapshot?:
|
|
4044
|
+
id?: any;
|
|
4045
|
+
applied_diff_snapshot?: any;
|
|
4042
4046
|
menu?: DraftMenuDTO;
|
|
4043
4047
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
4044
4048
|
brand?: DraftBrandDTO;
|
|
4045
4049
|
changes?: CategoryChangeDTO[];
|
|
4046
4050
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4047
4051
|
attachments?: FileAttachmentsDTO;
|
|
4048
|
-
permissions?:
|
|
4052
|
+
permissions?: any;
|
|
4049
4053
|
[index: string]: any;
|
|
4050
4054
|
}[];
|
|
4051
4055
|
|
|
@@ -4133,14 +4137,14 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
4133
4137
|
category_id: string;
|
|
4134
4138
|
brand_id: string;
|
|
4135
4139
|
sequence?: number;
|
|
4136
|
-
id?:
|
|
4137
|
-
applied_diff_snapshot?:
|
|
4140
|
+
id?: any;
|
|
4141
|
+
applied_diff_snapshot?: any;
|
|
4138
4142
|
category?: DraftCategoryDTO;
|
|
4139
4143
|
item?: DraftItemDTO;
|
|
4140
4144
|
brand?: DraftBrandDTO;
|
|
4141
4145
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4142
4146
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4143
|
-
permissions?:
|
|
4147
|
+
permissions?: any;
|
|
4144
4148
|
[index: string]: any;
|
|
4145
4149
|
}
|
|
4146
4150
|
|
|
@@ -4187,14 +4191,14 @@ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
4187
4191
|
category_id?: string;
|
|
4188
4192
|
brand_id?: string;
|
|
4189
4193
|
sequence?: number;
|
|
4190
|
-
applied_diff_snapshot?:
|
|
4194
|
+
applied_diff_snapshot?: any;
|
|
4191
4195
|
version?: number;
|
|
4192
4196
|
category?: DraftCategoryDTO;
|
|
4193
4197
|
item?: DraftItemDTO;
|
|
4194
4198
|
brand?: DraftBrandDTO;
|
|
4195
4199
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4196
4200
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4197
|
-
permissions?:
|
|
4201
|
+
permissions?: any;
|
|
4198
4202
|
[index: string]: any;
|
|
4199
4203
|
}
|
|
4200
4204
|
|
|
@@ -4261,14 +4265,14 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
|
|
|
4261
4265
|
category_id: string;
|
|
4262
4266
|
brand_id: string;
|
|
4263
4267
|
sequence?: number;
|
|
4264
|
-
id?:
|
|
4265
|
-
applied_diff_snapshot?:
|
|
4268
|
+
id?: any;
|
|
4269
|
+
applied_diff_snapshot?: any;
|
|
4266
4270
|
category?: DraftCategoryDTO;
|
|
4267
4271
|
item?: DraftItemDTO;
|
|
4268
4272
|
brand?: DraftBrandDTO;
|
|
4269
4273
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4270
4274
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4271
|
-
permissions?:
|
|
4275
|
+
permissions?: any;
|
|
4272
4276
|
[index: string]: any;
|
|
4273
4277
|
}[];
|
|
4274
4278
|
|
|
@@ -4397,19 +4401,19 @@ export interface PostMenuV3DraftItemBody {
|
|
|
4397
4401
|
meal_value?: number;
|
|
4398
4402
|
is_active?: boolean;
|
|
4399
4403
|
posid?: string;
|
|
4400
|
-
tax_tags?:
|
|
4404
|
+
tax_tags?: any[];
|
|
4401
4405
|
brand_id: string;
|
|
4402
4406
|
line_route?: string;
|
|
4403
4407
|
posid_segment?: string;
|
|
4404
|
-
id?:
|
|
4405
|
-
applied_diff_snapshot?:
|
|
4408
|
+
id?: any;
|
|
4409
|
+
applied_diff_snapshot?: any;
|
|
4406
4410
|
brand?: DraftBrandDTO;
|
|
4407
4411
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4408
4412
|
changes?: ItemChangeDTO[];
|
|
4409
4413
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4410
4414
|
attachments?: FileAttachmentsDTO;
|
|
4411
4415
|
weight?: WeightDTO;
|
|
4412
|
-
permissions?:
|
|
4416
|
+
permissions?: any;
|
|
4413
4417
|
[index: string]: any;
|
|
4414
4418
|
}
|
|
4415
4419
|
|
|
@@ -4463,11 +4467,11 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4463
4467
|
meal_value?: number;
|
|
4464
4468
|
is_active?: boolean;
|
|
4465
4469
|
posid?: string;
|
|
4466
|
-
tax_tags?:
|
|
4470
|
+
tax_tags?: any[];
|
|
4467
4471
|
brand_id?: string;
|
|
4468
4472
|
line_route?: string;
|
|
4469
4473
|
posid_segment?: string;
|
|
4470
|
-
applied_diff_snapshot?:
|
|
4474
|
+
applied_diff_snapshot?: any;
|
|
4471
4475
|
version?: number;
|
|
4472
4476
|
brand?: DraftBrandDTO;
|
|
4473
4477
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -4475,7 +4479,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4475
4479
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4476
4480
|
attachments?: FileAttachmentsDTO;
|
|
4477
4481
|
weight?: WeightDTO;
|
|
4478
|
-
permissions?:
|
|
4482
|
+
permissions?: any;
|
|
4479
4483
|
[index: string]: any;
|
|
4480
4484
|
}
|
|
4481
4485
|
|
|
@@ -4545,19 +4549,19 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
4545
4549
|
meal_value?: number;
|
|
4546
4550
|
is_active?: boolean;
|
|
4547
4551
|
posid?: string;
|
|
4548
|
-
tax_tags?:
|
|
4552
|
+
tax_tags?: any[];
|
|
4549
4553
|
brand_id: string;
|
|
4550
4554
|
line_route?: string;
|
|
4551
4555
|
posid_segment?: string;
|
|
4552
|
-
id?:
|
|
4553
|
-
applied_diff_snapshot?:
|
|
4556
|
+
id?: any;
|
|
4557
|
+
applied_diff_snapshot?: any;
|
|
4554
4558
|
brand?: DraftBrandDTO;
|
|
4555
4559
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4556
4560
|
changes?: ItemChangeDTO[];
|
|
4557
4561
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4558
4562
|
attachments?: FileAttachmentsDTO;
|
|
4559
4563
|
weight?: WeightDTO;
|
|
4560
|
-
permissions?:
|
|
4564
|
+
permissions?: any;
|
|
4561
4565
|
[index: string]: any;
|
|
4562
4566
|
}[];
|
|
4563
4567
|
|
|
@@ -4615,7 +4619,7 @@ export interface GetMenuV3DraftItemLineRoutesRequest
|
|
|
4615
4619
|
// PATCH /menu/v3/draft/items/bulk-update
|
|
4616
4620
|
|
|
4617
4621
|
export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
4618
|
-
id_list:
|
|
4622
|
+
id_list: any[];
|
|
4619
4623
|
parent?: DraftItemDTO;
|
|
4620
4624
|
children?: DraftItemDTO[];
|
|
4621
4625
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -4631,18 +4635,18 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
4631
4635
|
meal_value?: number;
|
|
4632
4636
|
is_active?: boolean;
|
|
4633
4637
|
posid?: string;
|
|
4634
|
-
tax_tags?:
|
|
4638
|
+
tax_tags?: any[];
|
|
4635
4639
|
brand_id?: string;
|
|
4636
4640
|
line_route?: string;
|
|
4637
4641
|
posid_segment?: string;
|
|
4638
|
-
applied_diff_snapshot?:
|
|
4642
|
+
applied_diff_snapshot?: any;
|
|
4639
4643
|
brand?: DraftBrandDTO;
|
|
4640
4644
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4641
4645
|
changes?: ItemChangeDTO[];
|
|
4642
4646
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4643
4647
|
attachments?: FileAttachmentsDTO;
|
|
4644
4648
|
weight?: WeightDTO;
|
|
4645
|
-
permissions?:
|
|
4649
|
+
permissions?: any;
|
|
4646
4650
|
[index: string]: any;
|
|
4647
4651
|
}
|
|
4648
4652
|
|
|
@@ -4712,6 +4716,7 @@ export interface PostMenuV3DraftItemsImportRequest extends BaseRequest {
|
|
|
4712
4716
|
|
|
4713
4717
|
export interface PostMenuV3DraftItemsExportBody {
|
|
4714
4718
|
brand_id: string;
|
|
4719
|
+
menu_id?: string;
|
|
4715
4720
|
category_id?: string;
|
|
4716
4721
|
[index: string]: any;
|
|
4717
4722
|
}
|
|
@@ -4810,14 +4815,14 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
4810
4815
|
item_id: string;
|
|
4811
4816
|
brand_id: string;
|
|
4812
4817
|
sequence?: number;
|
|
4813
|
-
id?:
|
|
4814
|
-
applied_diff_snapshot?:
|
|
4818
|
+
id?: any;
|
|
4819
|
+
applied_diff_snapshot?: any;
|
|
4815
4820
|
item?: DraftItemDTO;
|
|
4816
4821
|
modifier_group?: DraftModifierGroupDTO;
|
|
4817
4822
|
brand?: DraftBrandDTO;
|
|
4818
4823
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4819
4824
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4820
|
-
permissions?:
|
|
4825
|
+
permissions?: any;
|
|
4821
4826
|
[index: string]: any;
|
|
4822
4827
|
}
|
|
4823
4828
|
|
|
@@ -4866,14 +4871,14 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
4866
4871
|
item_id?: string;
|
|
4867
4872
|
brand_id?: string;
|
|
4868
4873
|
sequence?: number;
|
|
4869
|
-
applied_diff_snapshot?:
|
|
4874
|
+
applied_diff_snapshot?: any;
|
|
4870
4875
|
version?: number;
|
|
4871
4876
|
item?: DraftItemDTO;
|
|
4872
4877
|
modifier_group?: DraftModifierGroupDTO;
|
|
4873
4878
|
brand?: DraftBrandDTO;
|
|
4874
4879
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4875
4880
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4876
|
-
permissions?:
|
|
4881
|
+
permissions?: any;
|
|
4877
4882
|
[index: string]: any;
|
|
4878
4883
|
}
|
|
4879
4884
|
|
|
@@ -4942,14 +4947,14 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
|
4942
4947
|
item_id: string;
|
|
4943
4948
|
brand_id: string;
|
|
4944
4949
|
sequence?: number;
|
|
4945
|
-
id?:
|
|
4946
|
-
applied_diff_snapshot?:
|
|
4950
|
+
id?: any;
|
|
4951
|
+
applied_diff_snapshot?: any;
|
|
4947
4952
|
item?: DraftItemDTO;
|
|
4948
4953
|
modifier_group?: DraftModifierGroupDTO;
|
|
4949
4954
|
brand?: DraftBrandDTO;
|
|
4950
4955
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4951
4956
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4952
|
-
permissions?:
|
|
4957
|
+
permissions?: any;
|
|
4953
4958
|
[index: string]: any;
|
|
4954
4959
|
}[];
|
|
4955
4960
|
|
|
@@ -5077,12 +5082,12 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
5077
5082
|
is_active?: boolean;
|
|
5078
5083
|
limit?: number;
|
|
5079
5084
|
brand_id: string;
|
|
5080
|
-
id?:
|
|
5081
|
-
applied_diff_snapshot?:
|
|
5085
|
+
id?: any;
|
|
5086
|
+
applied_diff_snapshot?: any;
|
|
5082
5087
|
brand?: DraftBrandDTO;
|
|
5083
5088
|
changes?: ModifierGroupChangeDTO[];
|
|
5084
5089
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5085
|
-
permissions?:
|
|
5090
|
+
permissions?: any;
|
|
5086
5091
|
[index: string]: any;
|
|
5087
5092
|
}
|
|
5088
5093
|
|
|
@@ -5134,12 +5139,12 @@ export interface PatchMenuV3DraftModifierGroupBody {
|
|
|
5134
5139
|
is_active?: boolean;
|
|
5135
5140
|
limit?: number;
|
|
5136
5141
|
brand_id?: string;
|
|
5137
|
-
applied_diff_snapshot?:
|
|
5142
|
+
applied_diff_snapshot?: any;
|
|
5138
5143
|
version?: number;
|
|
5139
5144
|
brand?: DraftBrandDTO;
|
|
5140
5145
|
changes?: ModifierGroupChangeDTO[];
|
|
5141
5146
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5142
|
-
permissions?:
|
|
5147
|
+
permissions?: any;
|
|
5143
5148
|
[index: string]: any;
|
|
5144
5149
|
}
|
|
5145
5150
|
|
|
@@ -5211,12 +5216,12 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
5211
5216
|
is_active?: boolean;
|
|
5212
5217
|
limit?: number;
|
|
5213
5218
|
brand_id: string;
|
|
5214
|
-
id?:
|
|
5215
|
-
applied_diff_snapshot?:
|
|
5219
|
+
id?: any;
|
|
5220
|
+
applied_diff_snapshot?: any;
|
|
5216
5221
|
brand?: DraftBrandDTO;
|
|
5217
5222
|
changes?: ModifierGroupChangeDTO[];
|
|
5218
5223
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5219
|
-
permissions?:
|
|
5224
|
+
permissions?: any;
|
|
5220
5225
|
[index: string]: any;
|
|
5221
5226
|
}[];
|
|
5222
5227
|
|
|
@@ -5273,12 +5278,12 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
5273
5278
|
is_active?: boolean;
|
|
5274
5279
|
limit?: number;
|
|
5275
5280
|
brand_id: string;
|
|
5276
|
-
applied_diff_snapshot?:
|
|
5281
|
+
applied_diff_snapshot?: any;
|
|
5277
5282
|
version?: number;
|
|
5278
5283
|
brand?: DraftBrandDTO;
|
|
5279
5284
|
changes?: ModifierGroupChangeDTO[];
|
|
5280
5285
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5281
|
-
permissions?:
|
|
5286
|
+
permissions?: any;
|
|
5282
5287
|
[index: string]: any;
|
|
5283
5288
|
}
|
|
5284
5289
|
|
|
@@ -5374,14 +5379,14 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
5374
5379
|
modifier_group_id: string;
|
|
5375
5380
|
brand_id: string;
|
|
5376
5381
|
sequence?: number;
|
|
5377
|
-
id?:
|
|
5378
|
-
applied_diff_snapshot?:
|
|
5382
|
+
id?: any;
|
|
5383
|
+
applied_diff_snapshot?: any;
|
|
5379
5384
|
modifier?: DraftModifierDTO;
|
|
5380
5385
|
modifier_group?: DraftModifierGroupDTO;
|
|
5381
5386
|
brand?: DraftBrandDTO;
|
|
5382
5387
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5383
5388
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5384
|
-
permissions?:
|
|
5389
|
+
permissions?: any;
|
|
5385
5390
|
[index: string]: any;
|
|
5386
5391
|
}
|
|
5387
5392
|
|
|
@@ -5430,14 +5435,14 @@ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
5430
5435
|
modifier_group_id?: string;
|
|
5431
5436
|
brand_id?: string;
|
|
5432
5437
|
sequence?: number;
|
|
5433
|
-
applied_diff_snapshot?:
|
|
5438
|
+
applied_diff_snapshot?: any;
|
|
5434
5439
|
version?: number;
|
|
5435
5440
|
modifier?: DraftModifierDTO;
|
|
5436
5441
|
modifier_group?: DraftModifierGroupDTO;
|
|
5437
5442
|
brand?: DraftBrandDTO;
|
|
5438
5443
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5439
5444
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5440
|
-
permissions?:
|
|
5445
|
+
permissions?: any;
|
|
5441
5446
|
[index: string]: any;
|
|
5442
5447
|
}
|
|
5443
5448
|
|
|
@@ -5506,14 +5511,14 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
|
|
|
5506
5511
|
modifier_group_id: string;
|
|
5507
5512
|
brand_id: string;
|
|
5508
5513
|
sequence?: number;
|
|
5509
|
-
id?:
|
|
5510
|
-
applied_diff_snapshot?:
|
|
5514
|
+
id?: any;
|
|
5515
|
+
applied_diff_snapshot?: any;
|
|
5511
5516
|
modifier?: DraftModifierDTO;
|
|
5512
5517
|
modifier_group?: DraftModifierGroupDTO;
|
|
5513
5518
|
brand?: DraftBrandDTO;
|
|
5514
5519
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5515
5520
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5516
|
-
permissions?:
|
|
5521
|
+
permissions?: any;
|
|
5517
5522
|
[index: string]: any;
|
|
5518
5523
|
}[];
|
|
5519
5524
|
|
|
@@ -5638,21 +5643,21 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
5638
5643
|
description?: string;
|
|
5639
5644
|
price: number;
|
|
5640
5645
|
calories?: number;
|
|
5641
|
-
tax_tags?:
|
|
5646
|
+
tax_tags?: any[];
|
|
5642
5647
|
is_active?: boolean;
|
|
5643
5648
|
posid?: string;
|
|
5644
5649
|
reporting: ReportingMetadataDTO;
|
|
5645
5650
|
posid_segment?: string;
|
|
5646
5651
|
brand_id: string;
|
|
5647
|
-
sizing?:
|
|
5648
|
-
id?:
|
|
5649
|
-
applied_diff_snapshot?:
|
|
5652
|
+
sizing?: any[];
|
|
5653
|
+
id?: any;
|
|
5654
|
+
applied_diff_snapshot?: any;
|
|
5650
5655
|
brand?: DraftBrandDTO;
|
|
5651
5656
|
changes?: ModifierChangeDTO[];
|
|
5652
5657
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5653
5658
|
weight?: WeightDTO;
|
|
5654
5659
|
attachments?: FileAttachmentsDTO;
|
|
5655
|
-
permissions?:
|
|
5660
|
+
permissions?: any;
|
|
5656
5661
|
[index: string]: any;
|
|
5657
5662
|
}
|
|
5658
5663
|
|
|
@@ -5701,21 +5706,21 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
5701
5706
|
description?: string;
|
|
5702
5707
|
price?: number;
|
|
5703
5708
|
calories?: number;
|
|
5704
|
-
tax_tags?:
|
|
5709
|
+
tax_tags?: any[];
|
|
5705
5710
|
is_active?: boolean;
|
|
5706
5711
|
posid?: string;
|
|
5707
5712
|
reporting?: ReportingMetadataDTO;
|
|
5708
5713
|
posid_segment?: string;
|
|
5709
5714
|
brand_id?: string;
|
|
5710
|
-
sizing?:
|
|
5711
|
-
applied_diff_snapshot?:
|
|
5715
|
+
sizing?: any[];
|
|
5716
|
+
applied_diff_snapshot?: any;
|
|
5712
5717
|
version?: number;
|
|
5713
5718
|
brand?: DraftBrandDTO;
|
|
5714
5719
|
changes?: ModifierChangeDTO[];
|
|
5715
5720
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5716
5721
|
weight?: WeightDTO;
|
|
5717
5722
|
attachments?: FileAttachmentsDTO;
|
|
5718
|
-
permissions?:
|
|
5723
|
+
permissions?: any;
|
|
5719
5724
|
[index: string]: any;
|
|
5720
5725
|
}
|
|
5721
5726
|
|
|
@@ -5782,21 +5787,21 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
5782
5787
|
description?: string;
|
|
5783
5788
|
price: number;
|
|
5784
5789
|
calories?: number;
|
|
5785
|
-
tax_tags?:
|
|
5790
|
+
tax_tags?: any[];
|
|
5786
5791
|
is_active?: boolean;
|
|
5787
5792
|
posid?: string;
|
|
5788
5793
|
reporting: ReportingMetadataDTO;
|
|
5789
5794
|
posid_segment?: string;
|
|
5790
5795
|
brand_id: string;
|
|
5791
|
-
sizing?:
|
|
5792
|
-
id?:
|
|
5793
|
-
applied_diff_snapshot?:
|
|
5796
|
+
sizing?: any[];
|
|
5797
|
+
id?: any;
|
|
5798
|
+
applied_diff_snapshot?: any;
|
|
5794
5799
|
brand?: DraftBrandDTO;
|
|
5795
5800
|
changes?: ModifierChangeDTO[];
|
|
5796
5801
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5797
5802
|
weight?: WeightDTO;
|
|
5798
5803
|
attachments?: FileAttachmentsDTO;
|
|
5799
|
-
permissions?:
|
|
5804
|
+
permissions?: any;
|
|
5800
5805
|
[index: string]: any;
|
|
5801
5806
|
}[];
|
|
5802
5807
|
|
|
@@ -5833,7 +5838,7 @@ export interface GetMenuV3DraftModifiersCountRequest
|
|
|
5833
5838
|
// PATCH /menu/v3/draft/modifiers/bulk-update
|
|
5834
5839
|
|
|
5835
5840
|
export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
5836
|
-
id_list:
|
|
5841
|
+
id_list: any[];
|
|
5837
5842
|
parent?: DraftModifierDTO;
|
|
5838
5843
|
children?: DraftModifierDTO[];
|
|
5839
5844
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
@@ -5844,20 +5849,20 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
5844
5849
|
description?: string;
|
|
5845
5850
|
price?: number;
|
|
5846
5851
|
calories?: number;
|
|
5847
|
-
tax_tags?:
|
|
5852
|
+
tax_tags?: any[];
|
|
5848
5853
|
is_active?: boolean;
|
|
5849
5854
|
posid?: string;
|
|
5850
5855
|
reporting?: ReportingMetadataDTO;
|
|
5851
5856
|
posid_segment?: string;
|
|
5852
5857
|
brand_id?: string;
|
|
5853
|
-
sizing?:
|
|
5854
|
-
applied_diff_snapshot?:
|
|
5858
|
+
sizing?: any[];
|
|
5859
|
+
applied_diff_snapshot?: any;
|
|
5855
5860
|
brand?: DraftBrandDTO;
|
|
5856
5861
|
changes?: ModifierChangeDTO[];
|
|
5857
5862
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5858
5863
|
weight?: WeightDTO;
|
|
5859
5864
|
attachments?: FileAttachmentsDTO;
|
|
5860
|
-
permissions?:
|
|
5865
|
+
permissions?: any;
|
|
5861
5866
|
[index: string]: any;
|
|
5862
5867
|
}
|
|
5863
5868
|
|
|
@@ -5974,8 +5979,8 @@ export interface PostMenuV3IntegrationsTransltrImportQuery {
|
|
|
5974
5979
|
}
|
|
5975
5980
|
|
|
5976
5981
|
export interface PostMenuV3IntegrationsTransltrImportResponse {
|
|
5977
|
-
errors?:
|
|
5978
|
-
results?:
|
|
5982
|
+
errors?: any;
|
|
5983
|
+
results?: any;
|
|
5979
5984
|
}
|
|
5980
5985
|
|
|
5981
5986
|
export interface PostMenuV3IntegrationsTransltrImportRequest
|
|
@@ -6005,17 +6010,17 @@ export interface GetMenuV3GlobalDiffResponse {
|
|
|
6005
6010
|
deleted_at?: string;
|
|
6006
6011
|
entity_type?: string;
|
|
6007
6012
|
local_id?: string;
|
|
6008
|
-
changes?:
|
|
6009
|
-
local_changes?:
|
|
6010
|
-
local_snapshot?:
|
|
6013
|
+
changes?: any;
|
|
6014
|
+
local_changes?: any;
|
|
6015
|
+
local_snapshot?: any;
|
|
6011
6016
|
global_id?: string;
|
|
6012
|
-
global_snapshot?:
|
|
6017
|
+
global_snapshot?: any;
|
|
6013
6018
|
brand_id?: string;
|
|
6014
6019
|
version?: number;
|
|
6015
6020
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
6016
6021
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
6017
6022
|
brand?: DraftBrandDTO;
|
|
6018
|
-
permissions?:
|
|
6023
|
+
permissions?: any;
|
|
6019
6024
|
[index: string]: any;
|
|
6020
6025
|
}
|
|
6021
6026
|
|