@compassdigital/sdk.typescript 4.14.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 +54 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +55 -1
- 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 +2 -2
- 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 +3 -5
- 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 +27 -16
- 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 +264 -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 +51 -19
- 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 +20 -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 +19 -11
- 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 +140 -1
- package/src/interface/ai.ts +3 -3
- package/src/interface/announcement.ts +2 -2
- package/src/interface/calendar.ts +2 -2
- package/src/interface/centricos.ts +76 -4
- package/src/interface/compassconnect.ts +1 -1
- package/src/interface/config.ts +3 -5
- 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 +26 -16
- package/src/interface/mealplan.ts +1 -1
- package/src/interface/menu.ts +263 -249
- package/src/interface/notification.ts +2 -2
- package/src/interface/order.ts +3 -3
- package/src/interface/partner.ts +53 -19
- package/src/interface/payment.ts +1 -1
- package/src/interface/promo.ts +11 -5
- package/src/interface/report.ts +34 -6
- package/src/interface/shoppingcart.ts +11 -8
- package/src/interface/task.ts +18 -17
- 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,18 +573,19 @@ 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;
|
|
588
|
+
meal_value?: number;
|
|
584
589
|
is_active?: boolean;
|
|
585
590
|
posid?: FilterFieldDTO;
|
|
586
591
|
tax_tags?: FilterFieldDTO[];
|
|
@@ -588,19 +593,19 @@ export interface DraftItemDTO {
|
|
|
588
593
|
line_route?: FilterFieldDTO;
|
|
589
594
|
posid_segment?: FilterFieldDTO;
|
|
590
595
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
591
|
-
brand?:
|
|
592
|
-
categories?:
|
|
596
|
+
brand?: any;
|
|
597
|
+
categories?: any[];
|
|
593
598
|
changes?: ItemChangeDTO[];
|
|
594
599
|
vendor_metadata?: VendorMetadataDTO[];
|
|
595
|
-
attachments?:
|
|
596
|
-
weight?:
|
|
600
|
+
attachments?: any;
|
|
601
|
+
weight?: any;
|
|
597
602
|
permissions?: FilterFieldDTO;
|
|
598
603
|
[index: string]: any;
|
|
599
604
|
}
|
|
600
605
|
|
|
601
606
|
export interface DraftItemToModifierGroupRelationshipDTO {
|
|
602
|
-
parent?:
|
|
603
|
-
children?:
|
|
607
|
+
parent?: any;
|
|
608
|
+
children?: any[];
|
|
604
609
|
id?: string;
|
|
605
610
|
parent_id?: string;
|
|
606
611
|
modifier_group_id?: string;
|
|
@@ -608,9 +613,9 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
608
613
|
brand_id?: FilterFieldDTO;
|
|
609
614
|
sequence?: number;
|
|
610
615
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
611
|
-
item?:
|
|
616
|
+
item?: any;
|
|
612
617
|
modifier_group?: DraftModifierGroupDTO;
|
|
613
|
-
brand?:
|
|
618
|
+
brand?: any;
|
|
614
619
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
615
620
|
vendor_metadata?: VendorMetadataDTO[];
|
|
616
621
|
permissions?: FilterFieldDTO;
|
|
@@ -618,10 +623,10 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
618
623
|
}
|
|
619
624
|
|
|
620
625
|
export interface DraftModifierGroupDTO {
|
|
621
|
-
parent?:
|
|
622
|
-
children?:
|
|
626
|
+
parent?: any;
|
|
627
|
+
children?: any[];
|
|
623
628
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
624
|
-
items?:
|
|
629
|
+
items?: any[];
|
|
625
630
|
id?: string;
|
|
626
631
|
parent_id?: string;
|
|
627
632
|
name?: string;
|
|
@@ -632,7 +637,7 @@ export interface DraftModifierGroupDTO {
|
|
|
632
637
|
limit?: number;
|
|
633
638
|
brand_id?: string;
|
|
634
639
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
635
|
-
brand?:
|
|
640
|
+
brand?: any;
|
|
636
641
|
changes?: ModifierGroupChangeDTO[];
|
|
637
642
|
vendor_metadata?: VendorMetadataDTO[];
|
|
638
643
|
permissions?: FilterFieldDTO;
|
|
@@ -640,8 +645,8 @@ export interface DraftModifierGroupDTO {
|
|
|
640
645
|
}
|
|
641
646
|
|
|
642
647
|
export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
643
|
-
parent?:
|
|
644
|
-
children?:
|
|
648
|
+
parent?: any;
|
|
649
|
+
children?: any[];
|
|
645
650
|
id?: string;
|
|
646
651
|
parent_id?: string;
|
|
647
652
|
modifier_id?: string;
|
|
@@ -650,8 +655,8 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
650
655
|
sequence?: number;
|
|
651
656
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
652
657
|
modifier?: DraftModifierDTO;
|
|
653
|
-
modifier_group?:
|
|
654
|
-
brand?:
|
|
658
|
+
modifier_group?: any;
|
|
659
|
+
brand?: any;
|
|
655
660
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
656
661
|
vendor_metadata?: VendorMetadataDTO[];
|
|
657
662
|
permissions?: FilterFieldDTO;
|
|
@@ -659,9 +664,9 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
659
664
|
}
|
|
660
665
|
|
|
661
666
|
export interface DraftModifierDTO {
|
|
662
|
-
parent?:
|
|
663
|
-
children?:
|
|
664
|
-
modifier_groups?:
|
|
667
|
+
parent?: any;
|
|
668
|
+
children?: any[];
|
|
669
|
+
modifier_groups?: any[];
|
|
665
670
|
id?: string;
|
|
666
671
|
parent_id?: string;
|
|
667
672
|
name?: string;
|
|
@@ -677,7 +682,7 @@ export interface DraftModifierDTO {
|
|
|
677
682
|
brand_id?: string;
|
|
678
683
|
sizing?: FilterFieldDTO[];
|
|
679
684
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
680
|
-
brand?:
|
|
685
|
+
brand?: any;
|
|
681
686
|
changes?: ModifierChangeDTO[];
|
|
682
687
|
vendor_metadata?: VendorMetadataDTO[];
|
|
683
688
|
weight?: WeightDTO;
|
|
@@ -691,34 +696,34 @@ export interface ModifierChangeDTO {
|
|
|
691
696
|
insert?: FilterFieldDTO;
|
|
692
697
|
delete?: FilterFieldDTO;
|
|
693
698
|
snapshot_entity_id?: FilterFieldDTO;
|
|
694
|
-
snapshot_entity?:
|
|
699
|
+
snapshot_entity?: any;
|
|
695
700
|
permissions?: FilterFieldDTO;
|
|
696
701
|
[index: string]: any;
|
|
697
702
|
}
|
|
698
703
|
|
|
699
704
|
export interface ReportingMetadataDTO {
|
|
700
705
|
category?: ReportingCategoryMetadataDTO;
|
|
701
|
-
id?:
|
|
706
|
+
id?: any;
|
|
702
707
|
[index: string]: any;
|
|
703
708
|
}
|
|
704
709
|
|
|
705
710
|
export interface ReportingCategoryMetadataDTO {
|
|
706
711
|
primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
|
|
707
712
|
secondary?: FilterFieldDTO;
|
|
708
|
-
id?:
|
|
713
|
+
id?: any;
|
|
709
714
|
[index: string]: any;
|
|
710
715
|
}
|
|
711
716
|
|
|
712
717
|
export interface WeightDTO {
|
|
713
718
|
unit?: FilterFieldDTO;
|
|
714
719
|
amount?: FilterFieldDTO;
|
|
715
|
-
id?:
|
|
720
|
+
id?: any;
|
|
716
721
|
[index: string]: any;
|
|
717
722
|
}
|
|
718
723
|
|
|
719
724
|
export interface FileAttachmentsDTO {
|
|
720
725
|
thumbnail?: FilterFieldDTO;
|
|
721
|
-
id?:
|
|
726
|
+
id?: any;
|
|
722
727
|
[index: string]: any;
|
|
723
728
|
}
|
|
724
729
|
|
|
@@ -727,7 +732,7 @@ export interface ModifierGroupToModifierRelationshipChangeDTO {
|
|
|
727
732
|
insert?: FilterFieldDTO;
|
|
728
733
|
delete?: FilterFieldDTO;
|
|
729
734
|
snapshot_entity_id?: FilterFieldDTO;
|
|
730
|
-
snapshot_entity?:
|
|
735
|
+
snapshot_entity?: any;
|
|
731
736
|
permissions?: FilterFieldDTO;
|
|
732
737
|
[index: string]: any;
|
|
733
738
|
}
|
|
@@ -737,7 +742,7 @@ export interface ModifierGroupChangeDTO {
|
|
|
737
742
|
insert?: FilterFieldDTO;
|
|
738
743
|
delete?: FilterFieldDTO;
|
|
739
744
|
snapshot_entity_id?: FilterFieldDTO;
|
|
740
|
-
snapshot_entity?:
|
|
745
|
+
snapshot_entity?: any;
|
|
741
746
|
permissions?: FilterFieldDTO;
|
|
742
747
|
[index: string]: any;
|
|
743
748
|
}
|
|
@@ -747,7 +752,7 @@ export interface ItemToModifierGroupRelationshipChangeDTO {
|
|
|
747
752
|
insert?: FilterFieldDTO;
|
|
748
753
|
delete?: FilterFieldDTO;
|
|
749
754
|
snapshot_entity_id?: FilterFieldDTO;
|
|
750
|
-
snapshot_entity?:
|
|
755
|
+
snapshot_entity?: any;
|
|
751
756
|
permissions?: FilterFieldDTO;
|
|
752
757
|
[index: string]: any;
|
|
753
758
|
}
|
|
@@ -757,7 +762,7 @@ export interface ItemChangeDTO {
|
|
|
757
762
|
insert?: FilterFieldDTO;
|
|
758
763
|
delete?: FilterFieldDTO;
|
|
759
764
|
snapshot_entity_id?: FilterFieldDTO;
|
|
760
|
-
snapshot_entity?:
|
|
765
|
+
snapshot_entity?: any;
|
|
761
766
|
permissions?: FilterFieldDTO;
|
|
762
767
|
[index: string]: any;
|
|
763
768
|
}
|
|
@@ -767,7 +772,7 @@ export interface CategoryToItemRelationshipChangeDTO {
|
|
|
767
772
|
insert?: FilterFieldDTO;
|
|
768
773
|
delete?: FilterFieldDTO;
|
|
769
774
|
snapshot_entity_id?: FilterFieldDTO;
|
|
770
|
-
snapshot_entity?:
|
|
775
|
+
snapshot_entity?: any;
|
|
771
776
|
permissions?: FilterFieldDTO;
|
|
772
777
|
[index: string]: any;
|
|
773
778
|
}
|
|
@@ -777,7 +782,7 @@ export interface CategoryChangeDTO {
|
|
|
777
782
|
insert?: FilterFieldDTO;
|
|
778
783
|
delete?: FilterFieldDTO;
|
|
779
784
|
snapshot_entity_id?: FilterFieldDTO;
|
|
780
|
-
snapshot_entity?:
|
|
785
|
+
snapshot_entity?: any;
|
|
781
786
|
permissions?: FilterFieldDTO;
|
|
782
787
|
[index: string]: any;
|
|
783
788
|
}
|
|
@@ -787,7 +792,7 @@ export interface MenuChangeDTO {
|
|
|
787
792
|
insert?: FilterFieldDTO;
|
|
788
793
|
delete?: FilterFieldDTO;
|
|
789
794
|
snapshot_entity_id?: FilterFieldDTO;
|
|
790
|
-
snapshot_entity?:
|
|
795
|
+
snapshot_entity?: any;
|
|
791
796
|
permissions?: FilterFieldDTO;
|
|
792
797
|
[index: string]: any;
|
|
793
798
|
}
|
|
@@ -798,7 +803,7 @@ export interface BrandStatusDTO {
|
|
|
798
803
|
status?: string;
|
|
799
804
|
metadata?: FilterFieldDTO;
|
|
800
805
|
id?: string;
|
|
801
|
-
brand?:
|
|
806
|
+
brand?: any;
|
|
802
807
|
permissions?: FilterFieldDTO;
|
|
803
808
|
[index: string]: any;
|
|
804
809
|
}
|
|
@@ -814,8 +819,8 @@ export interface DraftMenuDraftMenuDTO {
|
|
|
814
819
|
created_at?: FilterFieldDTO;
|
|
815
820
|
updated_at?: FilterFieldDTO;
|
|
816
821
|
deleted_at?: FilterFieldDTO;
|
|
817
|
-
parent?:
|
|
818
|
-
children?:
|
|
822
|
+
parent?: any;
|
|
823
|
+
children?: any[];
|
|
819
824
|
categories?: DraftCategoryDTO[];
|
|
820
825
|
brand?: DraftBrandDTO;
|
|
821
826
|
changes?: MenuChangeDTO[];
|
|
@@ -843,8 +848,8 @@ export interface DraftModifierDraftModifierDTO {
|
|
|
843
848
|
created_at?: FilterFieldDTO;
|
|
844
849
|
updated_at?: FilterFieldDTO;
|
|
845
850
|
deleted_at?: FilterFieldDTO;
|
|
846
|
-
parent?:
|
|
847
|
-
children?:
|
|
851
|
+
parent?: any;
|
|
852
|
+
children?: any[];
|
|
848
853
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
849
854
|
brand?: DraftBrandDTO;
|
|
850
855
|
changes?: ModifierChangeDTO[];
|
|
@@ -871,8 +876,8 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
|
871
876
|
created_at?: FilterFieldDTO;
|
|
872
877
|
updated_at?: FilterFieldDTO;
|
|
873
878
|
deleted_at?: FilterFieldDTO;
|
|
874
|
-
parent?:
|
|
875
|
-
children?:
|
|
879
|
+
parent?: any;
|
|
880
|
+
children?: any[];
|
|
876
881
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
877
882
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
878
883
|
brand?: DraftBrandDTO;
|
|
@@ -891,6 +896,7 @@ export interface DraftItemDraftItemDTO {
|
|
|
891
896
|
price?: FilterFieldDTO;
|
|
892
897
|
barcode?: FilterFieldDTO;
|
|
893
898
|
calories?: FilterFieldDTO;
|
|
899
|
+
meal_value?: FilterFieldDTO;
|
|
894
900
|
is_active?: FilterFieldDTO;
|
|
895
901
|
posid?: FilterFieldDTO;
|
|
896
902
|
tax_tags?: FilterFieldDTO[];
|
|
@@ -902,8 +908,8 @@ export interface DraftItemDraftItemDTO {
|
|
|
902
908
|
created_at?: FilterFieldDTO;
|
|
903
909
|
updated_at?: FilterFieldDTO;
|
|
904
910
|
deleted_at?: FilterFieldDTO;
|
|
905
|
-
parent?:
|
|
906
|
-
children?:
|
|
911
|
+
parent?: any;
|
|
912
|
+
children?: any[];
|
|
907
913
|
brand?: DraftBrandDTO;
|
|
908
914
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
909
915
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -926,7 +932,7 @@ export interface GlobalDiffDependencyDTO {
|
|
|
926
932
|
is_depended_by_id?: string;
|
|
927
933
|
id?: string;
|
|
928
934
|
depends_on?: GlobalDiffGlobalDiffDTO;
|
|
929
|
-
is_depended_by?:
|
|
935
|
+
is_depended_by?: any;
|
|
930
936
|
permissions?: FilterFieldDTO;
|
|
931
937
|
[index: string]: any;
|
|
932
938
|
}
|
|
@@ -946,8 +952,8 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
946
952
|
created_at?: FilterFieldDTO;
|
|
947
953
|
updated_at?: FilterFieldDTO;
|
|
948
954
|
deleted_at?: FilterFieldDTO;
|
|
949
|
-
depends_on?:
|
|
950
|
-
is_depended_by?:
|
|
955
|
+
depends_on?: any[];
|
|
956
|
+
is_depended_by?: any[];
|
|
951
957
|
brand?: DraftBrandDTO;
|
|
952
958
|
permissions?: FilterFieldDTO;
|
|
953
959
|
[index: string]: any;
|
|
@@ -959,21 +965,21 @@ export interface DiffDTO {
|
|
|
959
965
|
created_at?: string;
|
|
960
966
|
updated_at?: string;
|
|
961
967
|
deleted_at?: string;
|
|
962
|
-
child_nodes?:
|
|
968
|
+
child_nodes?: any[];
|
|
963
969
|
name?: string;
|
|
964
970
|
entity_type?: string;
|
|
965
971
|
local_id?: string;
|
|
966
|
-
changes?:
|
|
967
|
-
local_changes?:
|
|
968
|
-
local_snapshot?:
|
|
972
|
+
changes?: any;
|
|
973
|
+
local_changes?: any;
|
|
974
|
+
local_snapshot?: any;
|
|
969
975
|
global_id?: string;
|
|
970
|
-
global_snapshot?:
|
|
976
|
+
global_snapshot?: any;
|
|
971
977
|
brand_id?: string;
|
|
972
978
|
version?: number;
|
|
973
979
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
974
980
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
975
981
|
brand?: DraftBrandDTO;
|
|
976
|
-
permissions?:
|
|
982
|
+
permissions?: any;
|
|
977
983
|
[index: string]: any;
|
|
978
984
|
}
|
|
979
985
|
|
|
@@ -989,7 +995,7 @@ export interface PublishedMenuDTO {
|
|
|
989
995
|
name?: string;
|
|
990
996
|
brand_id?: string;
|
|
991
997
|
category_images_enabled?: boolean;
|
|
992
|
-
permissions?:
|
|
998
|
+
permissions?: any;
|
|
993
999
|
[index: string]: any;
|
|
994
1000
|
}
|
|
995
1001
|
|
|
@@ -1003,7 +1009,7 @@ export interface PublishedCategoryDTO {
|
|
|
1003
1009
|
brand_id?: string;
|
|
1004
1010
|
menu_id?: string;
|
|
1005
1011
|
item_images_enabled?: boolean;
|
|
1006
|
-
permissions?:
|
|
1012
|
+
permissions?: any;
|
|
1007
1013
|
[index: string]: any;
|
|
1008
1014
|
}
|
|
1009
1015
|
|
|
@@ -1014,7 +1020,7 @@ export interface PublishedCategoryToItemRelationshipDTO {
|
|
|
1014
1020
|
category_id?: string;
|
|
1015
1021
|
brand_id?: string;
|
|
1016
1022
|
sequence?: number;
|
|
1017
|
-
permissions?:
|
|
1023
|
+
permissions?: any;
|
|
1018
1024
|
[index: string]: any;
|
|
1019
1025
|
}
|
|
1020
1026
|
|
|
@@ -1027,13 +1033,14 @@ export interface PublishedItemDTO {
|
|
|
1027
1033
|
price?: number;
|
|
1028
1034
|
barcode?: string;
|
|
1029
1035
|
calories?: number;
|
|
1036
|
+
meal_value?: number;
|
|
1030
1037
|
is_active?: boolean;
|
|
1031
1038
|
posid?: string;
|
|
1032
|
-
tax_tags?:
|
|
1039
|
+
tax_tags?: any[];
|
|
1033
1040
|
brand_id?: string;
|
|
1034
1041
|
line_route?: string;
|
|
1035
1042
|
posid_segment?: string;
|
|
1036
|
-
permissions?:
|
|
1043
|
+
permissions?: any;
|
|
1037
1044
|
[index: string]: any;
|
|
1038
1045
|
}
|
|
1039
1046
|
|
|
@@ -1044,7 +1051,7 @@ export interface PublishedItemToModifierGroupRelationshipDTO {
|
|
|
1044
1051
|
item_id?: string;
|
|
1045
1052
|
brand_id?: string;
|
|
1046
1053
|
sequence?: number;
|
|
1047
|
-
permissions?:
|
|
1054
|
+
permissions?: any;
|
|
1048
1055
|
[index: string]: any;
|
|
1049
1056
|
}
|
|
1050
1057
|
|
|
@@ -1058,7 +1065,7 @@ export interface PublishedModifierGroupDTO {
|
|
|
1058
1065
|
is_active?: boolean;
|
|
1059
1066
|
limit?: number;
|
|
1060
1067
|
brand_id?: string;
|
|
1061
|
-
permissions?:
|
|
1068
|
+
permissions?: any;
|
|
1062
1069
|
[index: string]: any;
|
|
1063
1070
|
}
|
|
1064
1071
|
|
|
@@ -1069,7 +1076,7 @@ export interface PublishedModifierGroupToModifierRelationshipDTO {
|
|
|
1069
1076
|
modifier_group_id?: string;
|
|
1070
1077
|
brand_id?: string;
|
|
1071
1078
|
sequence?: number;
|
|
1072
|
-
permissions?:
|
|
1079
|
+
permissions?: any;
|
|
1073
1080
|
[index: string]: any;
|
|
1074
1081
|
}
|
|
1075
1082
|
|
|
@@ -1081,13 +1088,13 @@ export interface PublishedModifierDTO {
|
|
|
1081
1088
|
description?: string;
|
|
1082
1089
|
price?: number;
|
|
1083
1090
|
calories?: number;
|
|
1084
|
-
tax_tags?:
|
|
1091
|
+
tax_tags?: any[];
|
|
1085
1092
|
is_active?: boolean;
|
|
1086
1093
|
posid?: string;
|
|
1087
1094
|
posid_segment?: string;
|
|
1088
1095
|
brand_id?: string;
|
|
1089
|
-
sizing?:
|
|
1090
|
-
permissions?:
|
|
1096
|
+
sizing?: any[];
|
|
1097
|
+
permissions?: any;
|
|
1091
1098
|
[index: string]: any;
|
|
1092
1099
|
}
|
|
1093
1100
|
|
|
@@ -1105,8 +1112,8 @@ export interface PublishedBrandPublishedBrandDTO {
|
|
|
1105
1112
|
created_at?: FilterFieldDTO;
|
|
1106
1113
|
updated_at?: FilterFieldDTO;
|
|
1107
1114
|
deleted_at?: FilterFieldDTO;
|
|
1108
|
-
parent?:
|
|
1109
|
-
children?:
|
|
1115
|
+
parent?: any;
|
|
1116
|
+
children?: any[];
|
|
1110
1117
|
local_menu_group?: LocalMenuGroupDTO;
|
|
1111
1118
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
1112
1119
|
menus?: PublishedMenuDTO[];
|
|
@@ -1137,8 +1144,8 @@ export interface DraftCategoryDraftCategoryDTO {
|
|
|
1137
1144
|
created_at?: FilterFieldDTO;
|
|
1138
1145
|
updated_at?: FilterFieldDTO;
|
|
1139
1146
|
deleted_at?: FilterFieldDTO;
|
|
1140
|
-
parent?:
|
|
1141
|
-
children?:
|
|
1147
|
+
parent?: any;
|
|
1148
|
+
children?: any[];
|
|
1142
1149
|
menu?: DraftMenuDTO;
|
|
1143
1150
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
1144
1151
|
brand?: DraftBrandDTO;
|
|
@@ -1159,8 +1166,8 @@ export interface PublishedMenuPublishedMenuDTO {
|
|
|
1159
1166
|
created_at?: FilterFieldDTO;
|
|
1160
1167
|
updated_at?: FilterFieldDTO;
|
|
1161
1168
|
deleted_at?: FilterFieldDTO;
|
|
1162
|
-
parent?:
|
|
1163
|
-
children?:
|
|
1169
|
+
parent?: any;
|
|
1170
|
+
children?: any[];
|
|
1164
1171
|
categories?: PublishedCategoryDTO[];
|
|
1165
1172
|
brand?: PublishedBrandDTO;
|
|
1166
1173
|
permissions?: FilterFieldDTO;
|
|
@@ -1181,8 +1188,8 @@ export interface PublishedCategoryPublishedCategoryDTO {
|
|
|
1181
1188
|
created_at?: FilterFieldDTO;
|
|
1182
1189
|
updated_at?: FilterFieldDTO;
|
|
1183
1190
|
deleted_at?: FilterFieldDTO;
|
|
1184
|
-
parent?:
|
|
1185
|
-
children?:
|
|
1191
|
+
parent?: any;
|
|
1192
|
+
children?: any[];
|
|
1186
1193
|
menu?: PublishedMenuDTO;
|
|
1187
1194
|
items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1188
1195
|
brand?: PublishedBrandDTO;
|
|
@@ -1203,8 +1210,8 @@ export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipD
|
|
|
1203
1210
|
version?: FilterFieldDTO;
|
|
1204
1211
|
created_at?: FilterFieldDTO;
|
|
1205
1212
|
updated_at?: FilterFieldDTO;
|
|
1206
|
-
parent?:
|
|
1207
|
-
children?:
|
|
1213
|
+
parent?: any;
|
|
1214
|
+
children?: any[];
|
|
1208
1215
|
category?: DraftCategoryDTO;
|
|
1209
1216
|
item?: DraftItemDTO;
|
|
1210
1217
|
brand?: DraftBrandDTO;
|
|
@@ -1225,8 +1232,8 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
|
|
|
1225
1232
|
version?: FilterFieldDTO;
|
|
1226
1233
|
created_at?: FilterFieldDTO;
|
|
1227
1234
|
updated_at?: FilterFieldDTO;
|
|
1228
|
-
parent?:
|
|
1229
|
-
children?:
|
|
1235
|
+
parent?: any;
|
|
1236
|
+
children?: any[];
|
|
1230
1237
|
category?: PublishedCategoryDTO;
|
|
1231
1238
|
item?: PublishedItemDTO;
|
|
1232
1239
|
brand?: PublishedBrandDTO;
|
|
@@ -1255,13 +1262,14 @@ export interface DraftItemEntityDTO {
|
|
|
1255
1262
|
price: number;
|
|
1256
1263
|
barcode?: string;
|
|
1257
1264
|
calories?: number;
|
|
1265
|
+
meal_value?: number;
|
|
1258
1266
|
is_active?: boolean;
|
|
1259
1267
|
posid?: string;
|
|
1260
|
-
tax_tags?:
|
|
1268
|
+
tax_tags?: any[];
|
|
1261
1269
|
brand_id: string;
|
|
1262
1270
|
line_route?: string;
|
|
1263
1271
|
posid_segment?: string;
|
|
1264
|
-
applied_diff_snapshot?:
|
|
1272
|
+
applied_diff_snapshot?: any;
|
|
1265
1273
|
version?: number;
|
|
1266
1274
|
brand?: DraftBrandDTO;
|
|
1267
1275
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -1269,7 +1277,7 @@ export interface DraftItemEntityDTO {
|
|
|
1269
1277
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1270
1278
|
attachments?: FileAttachmentsDTO;
|
|
1271
1279
|
weight?: WeightDTO;
|
|
1272
|
-
permissions?:
|
|
1280
|
+
permissions?: any;
|
|
1273
1281
|
[index: string]: any;
|
|
1274
1282
|
}
|
|
1275
1283
|
|
|
@@ -1281,6 +1289,7 @@ export interface PublishedItemPublishedItemDTO {
|
|
|
1281
1289
|
price?: FilterFieldDTO;
|
|
1282
1290
|
barcode?: FilterFieldDTO;
|
|
1283
1291
|
calories?: FilterFieldDTO;
|
|
1292
|
+
meal_value?: FilterFieldDTO;
|
|
1284
1293
|
is_active?: FilterFieldDTO;
|
|
1285
1294
|
posid?: FilterFieldDTO;
|
|
1286
1295
|
tax_tags?: FilterFieldDTO[];
|
|
@@ -1292,8 +1301,8 @@ export interface PublishedItemPublishedItemDTO {
|
|
|
1292
1301
|
created_at?: FilterFieldDTO;
|
|
1293
1302
|
updated_at?: FilterFieldDTO;
|
|
1294
1303
|
deleted_at?: FilterFieldDTO;
|
|
1295
|
-
parent?:
|
|
1296
|
-
children?:
|
|
1304
|
+
parent?: any;
|
|
1305
|
+
children?: any[];
|
|
1297
1306
|
brand?: PublishedBrandDTO;
|
|
1298
1307
|
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
1299
1308
|
modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
@@ -1316,8 +1325,8 @@ export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRel
|
|
|
1316
1325
|
version?: FilterFieldDTO;
|
|
1317
1326
|
created_at?: FilterFieldDTO;
|
|
1318
1327
|
updated_at?: FilterFieldDTO;
|
|
1319
|
-
parent?:
|
|
1320
|
-
children?:
|
|
1328
|
+
parent?: any;
|
|
1329
|
+
children?: any[];
|
|
1321
1330
|
item?: DraftItemDTO;
|
|
1322
1331
|
modifier_group?: DraftModifierGroupDTO;
|
|
1323
1332
|
brand?: DraftBrandDTO;
|
|
@@ -1338,8 +1347,8 @@ export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifier
|
|
|
1338
1347
|
version?: FilterFieldDTO;
|
|
1339
1348
|
created_at?: FilterFieldDTO;
|
|
1340
1349
|
updated_at?: FilterFieldDTO;
|
|
1341
|
-
parent?:
|
|
1342
|
-
children?:
|
|
1350
|
+
parent?: any;
|
|
1351
|
+
children?: any[];
|
|
1343
1352
|
item?: PublishedItemDTO;
|
|
1344
1353
|
modifier_group?: PublishedModifierGroupDTO;
|
|
1345
1354
|
brand?: PublishedBrandDTO;
|
|
@@ -1361,8 +1370,8 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
|
|
|
1361
1370
|
created_at?: FilterFieldDTO;
|
|
1362
1371
|
updated_at?: FilterFieldDTO;
|
|
1363
1372
|
deleted_at?: FilterFieldDTO;
|
|
1364
|
-
parent?:
|
|
1365
|
-
children?:
|
|
1373
|
+
parent?: any;
|
|
1374
|
+
children?: any[];
|
|
1366
1375
|
modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1367
1376
|
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1368
1377
|
brand?: PublishedBrandDTO;
|
|
@@ -1382,8 +1391,8 @@ export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToMod
|
|
|
1382
1391
|
version?: FilterFieldDTO;
|
|
1383
1392
|
created_at?: FilterFieldDTO;
|
|
1384
1393
|
updated_at?: FilterFieldDTO;
|
|
1385
|
-
parent?:
|
|
1386
|
-
children?:
|
|
1394
|
+
parent?: any;
|
|
1395
|
+
children?: any[];
|
|
1387
1396
|
modifier?: DraftModifierDTO;
|
|
1388
1397
|
modifier_group?: DraftModifierGroupDTO;
|
|
1389
1398
|
brand?: DraftBrandDTO;
|
|
@@ -1404,8 +1413,8 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
|
|
|
1404
1413
|
version?: FilterFieldDTO;
|
|
1405
1414
|
created_at?: FilterFieldDTO;
|
|
1406
1415
|
updated_at?: FilterFieldDTO;
|
|
1407
|
-
parent?:
|
|
1408
|
-
children?:
|
|
1416
|
+
parent?: any;
|
|
1417
|
+
children?: any[];
|
|
1409
1418
|
modifier_group?: PublishedModifierGroupDTO;
|
|
1410
1419
|
modifier?: PublishedModifierDTO;
|
|
1411
1420
|
brand?: PublishedBrandDTO;
|
|
@@ -1427,21 +1436,21 @@ export interface DraftModifierEntityDTO {
|
|
|
1427
1436
|
description?: string;
|
|
1428
1437
|
price: number;
|
|
1429
1438
|
calories?: number;
|
|
1430
|
-
tax_tags?:
|
|
1439
|
+
tax_tags?: any[];
|
|
1431
1440
|
is_active?: boolean;
|
|
1432
1441
|
posid?: string;
|
|
1433
1442
|
reporting: ReportingMetadataDTO;
|
|
1434
1443
|
posid_segment?: string;
|
|
1435
1444
|
brand_id: string;
|
|
1436
|
-
sizing?:
|
|
1437
|
-
applied_diff_snapshot?:
|
|
1445
|
+
sizing?: any[];
|
|
1446
|
+
applied_diff_snapshot?: any;
|
|
1438
1447
|
version?: number;
|
|
1439
1448
|
brand?: DraftBrandDTO;
|
|
1440
1449
|
changes?: ModifierChangeDTO[];
|
|
1441
1450
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1442
1451
|
weight?: WeightDTO;
|
|
1443
1452
|
attachments?: FileAttachmentsDTO;
|
|
1444
|
-
permissions?:
|
|
1453
|
+
permissions?: any;
|
|
1445
1454
|
[index: string]: any;
|
|
1446
1455
|
}
|
|
1447
1456
|
|
|
@@ -1463,8 +1472,8 @@ export interface PublishedModifierPublishedModifierDTO {
|
|
|
1463
1472
|
created_at?: FilterFieldDTO;
|
|
1464
1473
|
updated_at?: FilterFieldDTO;
|
|
1465
1474
|
deleted_at?: FilterFieldDTO;
|
|
1466
|
-
parent?:
|
|
1467
|
-
children?:
|
|
1475
|
+
parent?: any;
|
|
1476
|
+
children?: any[];
|
|
1468
1477
|
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1469
1478
|
brand?: PublishedBrandDTO;
|
|
1470
1479
|
reporting?: ReportingMetadataDTO;
|
|
@@ -1482,17 +1491,17 @@ export interface GlobalDiffDTO {
|
|
|
1482
1491
|
deleted_at?: string;
|
|
1483
1492
|
entity_type?: string;
|
|
1484
1493
|
local_id?: string;
|
|
1485
|
-
changes?:
|
|
1486
|
-
local_changes?:
|
|
1487
|
-
local_snapshot?:
|
|
1494
|
+
changes?: any;
|
|
1495
|
+
local_changes?: any;
|
|
1496
|
+
local_snapshot?: any;
|
|
1488
1497
|
global_id?: string;
|
|
1489
|
-
global_snapshot?:
|
|
1498
|
+
global_snapshot?: any;
|
|
1490
1499
|
brand_id?: string;
|
|
1491
1500
|
version?: number;
|
|
1492
1501
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
1493
1502
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
1494
1503
|
brand?: DraftBrandDTO;
|
|
1495
|
-
permissions?:
|
|
1504
|
+
permissions?: any;
|
|
1496
1505
|
[index: string]: any;
|
|
1497
1506
|
}
|
|
1498
1507
|
|
|
@@ -1548,7 +1557,7 @@ export interface GetMenuHeadersQuery {
|
|
|
1548
1557
|
_query?: string;
|
|
1549
1558
|
}
|
|
1550
1559
|
|
|
1551
|
-
export type GetMenuHeadersResponse =
|
|
1560
|
+
export type GetMenuHeadersResponse = any;
|
|
1552
1561
|
|
|
1553
1562
|
export interface GetMenuHeadersRequest
|
|
1554
1563
|
extends BaseRequest,
|
|
@@ -2019,7 +2028,7 @@ export interface PostMenuV3LocalMenuGroupBody {
|
|
|
2019
2028
|
draft_brands?: DraftBrandDTO[];
|
|
2020
2029
|
published_brands?: PublishedBrandDTO[];
|
|
2021
2030
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2022
|
-
permissions?:
|
|
2031
|
+
permissions?: any;
|
|
2023
2032
|
[index: string]: any;
|
|
2024
2033
|
}
|
|
2025
2034
|
|
|
@@ -2035,7 +2044,7 @@ export interface PostMenuV3LocalMenuGroupResponse {
|
|
|
2035
2044
|
deleted_at?: string;
|
|
2036
2045
|
version?: number;
|
|
2037
2046
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2038
|
-
permissions?:
|
|
2047
|
+
permissions?: any;
|
|
2039
2048
|
[index: string]: any;
|
|
2040
2049
|
}
|
|
2041
2050
|
|
|
@@ -2070,7 +2079,7 @@ export interface GetMenuV3LocalMenuGroupResponse {
|
|
|
2070
2079
|
deleted_at?: string;
|
|
2071
2080
|
version?: number;
|
|
2072
2081
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2073
|
-
permissions?:
|
|
2082
|
+
permissions?: any;
|
|
2074
2083
|
[index: string]: any;
|
|
2075
2084
|
}
|
|
2076
2085
|
|
|
@@ -2094,7 +2103,7 @@ export interface PatchMenuV3LocalMenuGroupBody {
|
|
|
2094
2103
|
id?: string;
|
|
2095
2104
|
version?: number;
|
|
2096
2105
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2097
|
-
permissions?:
|
|
2106
|
+
permissions?: any;
|
|
2098
2107
|
[index: string]: any;
|
|
2099
2108
|
}
|
|
2100
2109
|
|
|
@@ -2110,7 +2119,7 @@ export interface PatchMenuV3LocalMenuGroupResponse {
|
|
|
2110
2119
|
deleted_at?: string;
|
|
2111
2120
|
version?: number;
|
|
2112
2121
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2113
|
-
permissions?:
|
|
2122
|
+
permissions?: any;
|
|
2114
2123
|
[index: string]: any;
|
|
2115
2124
|
}
|
|
2116
2125
|
|
|
@@ -2138,7 +2147,7 @@ export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
|
2138
2147
|
deleted_at?: string;
|
|
2139
2148
|
version?: number;
|
|
2140
2149
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2141
|
-
permissions?:
|
|
2150
|
+
permissions?: any;
|
|
2142
2151
|
[index: string]: any;
|
|
2143
2152
|
}
|
|
2144
2153
|
|
|
@@ -2187,9 +2196,9 @@ export type PostMenuV3LocalMenuGroupsBody = {
|
|
|
2187
2196
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2188
2197
|
draft_brands?: DraftBrandDTO[];
|
|
2189
2198
|
published_brands?: PublishedBrandDTO[];
|
|
2190
|
-
id?:
|
|
2199
|
+
id?: any;
|
|
2191
2200
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2192
|
-
permissions?:
|
|
2201
|
+
permissions?: any;
|
|
2193
2202
|
[index: string]: any;
|
|
2194
2203
|
}[];
|
|
2195
2204
|
|
|
@@ -2384,7 +2393,7 @@ export interface PostMenuV3GlobalMenuGroupBody {
|
|
|
2384
2393
|
published_brands?: PublishedBrandDTO[];
|
|
2385
2394
|
posid_segment: string;
|
|
2386
2395
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2387
|
-
permissions?:
|
|
2396
|
+
permissions?: any;
|
|
2388
2397
|
[index: string]: any;
|
|
2389
2398
|
}
|
|
2390
2399
|
|
|
@@ -2432,7 +2441,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
|
|
|
2432
2441
|
id?: string;
|
|
2433
2442
|
version?: number;
|
|
2434
2443
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2435
|
-
permissions?:
|
|
2444
|
+
permissions?: any;
|
|
2436
2445
|
[index: string]: any;
|
|
2437
2446
|
}
|
|
2438
2447
|
|
|
@@ -2467,7 +2476,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
|
|
|
2467
2476
|
deleted_at?: string;
|
|
2468
2477
|
version?: number;
|
|
2469
2478
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2470
|
-
permissions?:
|
|
2479
|
+
permissions?: any;
|
|
2471
2480
|
[index: string]: any;
|
|
2472
2481
|
}
|
|
2473
2482
|
|
|
@@ -2518,9 +2527,9 @@ export type PostMenuV3GlobalMenuGroupsBody = {
|
|
|
2518
2527
|
draft_brands?: DraftBrandDTO[];
|
|
2519
2528
|
published_brands?: PublishedBrandDTO[];
|
|
2520
2529
|
posid_segment: string;
|
|
2521
|
-
id?:
|
|
2530
|
+
id?: any;
|
|
2522
2531
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2523
|
-
permissions?:
|
|
2532
|
+
permissions?: any;
|
|
2524
2533
|
[index: string]: any;
|
|
2525
2534
|
}[];
|
|
2526
2535
|
|
|
@@ -2652,13 +2661,13 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
2652
2661
|
local_menu_group_id?: string;
|
|
2653
2662
|
global_menu_group_id?: string;
|
|
2654
2663
|
posid_segment?: string;
|
|
2655
|
-
id?:
|
|
2664
|
+
id?: any;
|
|
2656
2665
|
changes?: BrandChangeDTO[];
|
|
2657
2666
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2658
2667
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2659
2668
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2660
2669
|
attachments?: FileAttachmentsDTO;
|
|
2661
|
-
permissions?:
|
|
2670
|
+
permissions?: any;
|
|
2662
2671
|
[index: string]: any;
|
|
2663
2672
|
}
|
|
2664
2673
|
|
|
@@ -2723,7 +2732,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2723
2732
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2724
2733
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2725
2734
|
attachments?: FileAttachmentsDTO;
|
|
2726
|
-
permissions?:
|
|
2735
|
+
permissions?: any;
|
|
2727
2736
|
[index: string]: any;
|
|
2728
2737
|
}
|
|
2729
2738
|
|
|
@@ -2798,13 +2807,13 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2798
2807
|
local_menu_group_id?: string;
|
|
2799
2808
|
global_menu_group_id?: string;
|
|
2800
2809
|
posid_segment?: string;
|
|
2801
|
-
id?:
|
|
2810
|
+
id?: any;
|
|
2802
2811
|
changes?: BrandChangeDTO[];
|
|
2803
2812
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2804
2813
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2805
2814
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2806
2815
|
attachments?: FileAttachmentsDTO;
|
|
2807
|
-
permissions?:
|
|
2816
|
+
permissions?: any;
|
|
2808
2817
|
[index: string]: any;
|
|
2809
2818
|
}[];
|
|
2810
2819
|
|
|
@@ -3160,11 +3169,11 @@ export interface PostMenuV3BrandBody {
|
|
|
3160
3169
|
local_menu_group_id?: string;
|
|
3161
3170
|
global_menu_group_id?: string;
|
|
3162
3171
|
posid_segment?: string;
|
|
3163
|
-
id?:
|
|
3172
|
+
id?: any;
|
|
3164
3173
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3165
3174
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3166
3175
|
attachments?: FileAttachmentsDTO;
|
|
3167
|
-
permissions?:
|
|
3176
|
+
permissions?: any;
|
|
3168
3177
|
[index: string]: any;
|
|
3169
3178
|
}
|
|
3170
3179
|
|
|
@@ -3231,7 +3240,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
3231
3240
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3232
3241
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3233
3242
|
attachments?: FileAttachmentsDTO;
|
|
3234
|
-
permissions?:
|
|
3243
|
+
permissions?: any;
|
|
3235
3244
|
[index: string]: any;
|
|
3236
3245
|
}
|
|
3237
3246
|
|
|
@@ -3318,11 +3327,11 @@ export type PostMenuV3BrandsBody = {
|
|
|
3318
3327
|
local_menu_group_id?: string;
|
|
3319
3328
|
global_menu_group_id?: string;
|
|
3320
3329
|
posid_segment?: string;
|
|
3321
|
-
id?:
|
|
3330
|
+
id?: any;
|
|
3322
3331
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3323
3332
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3324
3333
|
attachments?: FileAttachmentsDTO;
|
|
3325
|
-
permissions?:
|
|
3334
|
+
permissions?: any;
|
|
3326
3335
|
[index: string]: any;
|
|
3327
3336
|
}[];
|
|
3328
3337
|
|
|
@@ -3553,7 +3562,7 @@ export interface PostMenuV3BrandLocalResponse {
|
|
|
3553
3562
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3554
3563
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3555
3564
|
attachments?: FileAttachmentsDTO;
|
|
3556
|
-
permissions?:
|
|
3565
|
+
permissions?: any;
|
|
3557
3566
|
[index: string]: any;
|
|
3558
3567
|
}
|
|
3559
3568
|
|
|
@@ -3572,12 +3581,12 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
3572
3581
|
name: string;
|
|
3573
3582
|
brand_id: string;
|
|
3574
3583
|
category_images_enabled?: boolean;
|
|
3575
|
-
id?:
|
|
3576
|
-
applied_diff_snapshot?:
|
|
3584
|
+
id?: any;
|
|
3585
|
+
applied_diff_snapshot?: any;
|
|
3577
3586
|
brand?: DraftBrandDTO;
|
|
3578
3587
|
changes?: MenuChangeDTO[];
|
|
3579
3588
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3580
|
-
permissions?:
|
|
3589
|
+
permissions?: any;
|
|
3581
3590
|
[index: string]: any;
|
|
3582
3591
|
}
|
|
3583
3592
|
|
|
@@ -3624,12 +3633,12 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
3624
3633
|
name?: string;
|
|
3625
3634
|
brand_id?: string;
|
|
3626
3635
|
category_images_enabled?: boolean;
|
|
3627
|
-
applied_diff_snapshot?:
|
|
3636
|
+
applied_diff_snapshot?: any;
|
|
3628
3637
|
version?: number;
|
|
3629
3638
|
brand?: DraftBrandDTO;
|
|
3630
3639
|
changes?: MenuChangeDTO[];
|
|
3631
3640
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3632
|
-
permissions?:
|
|
3641
|
+
permissions?: any;
|
|
3633
3642
|
[index: string]: any;
|
|
3634
3643
|
}
|
|
3635
3644
|
|
|
@@ -3692,12 +3701,12 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
3692
3701
|
name: string;
|
|
3693
3702
|
brand_id: string;
|
|
3694
3703
|
category_images_enabled?: boolean;
|
|
3695
|
-
id?:
|
|
3696
|
-
applied_diff_snapshot?:
|
|
3704
|
+
id?: any;
|
|
3705
|
+
applied_diff_snapshot?: any;
|
|
3697
3706
|
brand?: DraftBrandDTO;
|
|
3698
3707
|
changes?: MenuChangeDTO[];
|
|
3699
3708
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3700
|
-
permissions?:
|
|
3709
|
+
permissions?: any;
|
|
3701
3710
|
[index: string]: any;
|
|
3702
3711
|
}[];
|
|
3703
3712
|
|
|
@@ -3911,15 +3920,15 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
3911
3920
|
brand_id: string;
|
|
3912
3921
|
menu_id: string;
|
|
3913
3922
|
item_images_enabled?: boolean;
|
|
3914
|
-
id?:
|
|
3915
|
-
applied_diff_snapshot?:
|
|
3923
|
+
id?: any;
|
|
3924
|
+
applied_diff_snapshot?: any;
|
|
3916
3925
|
menu?: DraftMenuDTO;
|
|
3917
3926
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
3918
3927
|
brand?: DraftBrandDTO;
|
|
3919
3928
|
changes?: CategoryChangeDTO[];
|
|
3920
3929
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3921
3930
|
attachments?: FileAttachmentsDTO;
|
|
3922
|
-
permissions?:
|
|
3931
|
+
permissions?: any;
|
|
3923
3932
|
[index: string]: any;
|
|
3924
3933
|
}
|
|
3925
3934
|
|
|
@@ -3969,7 +3978,7 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
3969
3978
|
brand_id?: string;
|
|
3970
3979
|
menu_id?: string;
|
|
3971
3980
|
item_images_enabled?: boolean;
|
|
3972
|
-
applied_diff_snapshot?:
|
|
3981
|
+
applied_diff_snapshot?: any;
|
|
3973
3982
|
version?: number;
|
|
3974
3983
|
menu?: DraftMenuDTO;
|
|
3975
3984
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3977,7 +3986,7 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
3977
3986
|
changes?: CategoryChangeDTO[];
|
|
3978
3987
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3979
3988
|
attachments?: FileAttachmentsDTO;
|
|
3980
|
-
permissions?:
|
|
3989
|
+
permissions?: any;
|
|
3981
3990
|
[index: string]: any;
|
|
3982
3991
|
}
|
|
3983
3992
|
|
|
@@ -4032,15 +4041,15 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
4032
4041
|
brand_id: string;
|
|
4033
4042
|
menu_id: string;
|
|
4034
4043
|
item_images_enabled?: boolean;
|
|
4035
|
-
id?:
|
|
4036
|
-
applied_diff_snapshot?:
|
|
4044
|
+
id?: any;
|
|
4045
|
+
applied_diff_snapshot?: any;
|
|
4037
4046
|
menu?: DraftMenuDTO;
|
|
4038
4047
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
4039
4048
|
brand?: DraftBrandDTO;
|
|
4040
4049
|
changes?: CategoryChangeDTO[];
|
|
4041
4050
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4042
4051
|
attachments?: FileAttachmentsDTO;
|
|
4043
|
-
permissions?:
|
|
4052
|
+
permissions?: any;
|
|
4044
4053
|
[index: string]: any;
|
|
4045
4054
|
}[];
|
|
4046
4055
|
|
|
@@ -4128,14 +4137,14 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
4128
4137
|
category_id: string;
|
|
4129
4138
|
brand_id: string;
|
|
4130
4139
|
sequence?: number;
|
|
4131
|
-
id?:
|
|
4132
|
-
applied_diff_snapshot?:
|
|
4140
|
+
id?: any;
|
|
4141
|
+
applied_diff_snapshot?: any;
|
|
4133
4142
|
category?: DraftCategoryDTO;
|
|
4134
4143
|
item?: DraftItemDTO;
|
|
4135
4144
|
brand?: DraftBrandDTO;
|
|
4136
4145
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4137
4146
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4138
|
-
permissions?:
|
|
4147
|
+
permissions?: any;
|
|
4139
4148
|
[index: string]: any;
|
|
4140
4149
|
}
|
|
4141
4150
|
|
|
@@ -4182,14 +4191,14 @@ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
4182
4191
|
category_id?: string;
|
|
4183
4192
|
brand_id?: string;
|
|
4184
4193
|
sequence?: number;
|
|
4185
|
-
applied_diff_snapshot?:
|
|
4194
|
+
applied_diff_snapshot?: any;
|
|
4186
4195
|
version?: number;
|
|
4187
4196
|
category?: DraftCategoryDTO;
|
|
4188
4197
|
item?: DraftItemDTO;
|
|
4189
4198
|
brand?: DraftBrandDTO;
|
|
4190
4199
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4191
4200
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4192
|
-
permissions?:
|
|
4201
|
+
permissions?: any;
|
|
4193
4202
|
[index: string]: any;
|
|
4194
4203
|
}
|
|
4195
4204
|
|
|
@@ -4256,14 +4265,14 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
|
|
|
4256
4265
|
category_id: string;
|
|
4257
4266
|
brand_id: string;
|
|
4258
4267
|
sequence?: number;
|
|
4259
|
-
id?:
|
|
4260
|
-
applied_diff_snapshot?:
|
|
4268
|
+
id?: any;
|
|
4269
|
+
applied_diff_snapshot?: any;
|
|
4261
4270
|
category?: DraftCategoryDTO;
|
|
4262
4271
|
item?: DraftItemDTO;
|
|
4263
4272
|
brand?: DraftBrandDTO;
|
|
4264
4273
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4265
4274
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4266
|
-
permissions?:
|
|
4275
|
+
permissions?: any;
|
|
4267
4276
|
[index: string]: any;
|
|
4268
4277
|
}[];
|
|
4269
4278
|
|
|
@@ -4389,21 +4398,22 @@ export interface PostMenuV3DraftItemBody {
|
|
|
4389
4398
|
price: number;
|
|
4390
4399
|
barcode?: string;
|
|
4391
4400
|
calories?: number;
|
|
4401
|
+
meal_value?: number;
|
|
4392
4402
|
is_active?: boolean;
|
|
4393
4403
|
posid?: string;
|
|
4394
|
-
tax_tags?:
|
|
4404
|
+
tax_tags?: any[];
|
|
4395
4405
|
brand_id: string;
|
|
4396
4406
|
line_route?: string;
|
|
4397
4407
|
posid_segment?: string;
|
|
4398
|
-
id?:
|
|
4399
|
-
applied_diff_snapshot?:
|
|
4408
|
+
id?: any;
|
|
4409
|
+
applied_diff_snapshot?: any;
|
|
4400
4410
|
brand?: DraftBrandDTO;
|
|
4401
4411
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4402
4412
|
changes?: ItemChangeDTO[];
|
|
4403
4413
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4404
4414
|
attachments?: FileAttachmentsDTO;
|
|
4405
4415
|
weight?: WeightDTO;
|
|
4406
|
-
permissions?:
|
|
4416
|
+
permissions?: any;
|
|
4407
4417
|
[index: string]: any;
|
|
4408
4418
|
}
|
|
4409
4419
|
|
|
@@ -4454,13 +4464,14 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4454
4464
|
price?: number;
|
|
4455
4465
|
barcode?: string;
|
|
4456
4466
|
calories?: number;
|
|
4467
|
+
meal_value?: number;
|
|
4457
4468
|
is_active?: boolean;
|
|
4458
4469
|
posid?: string;
|
|
4459
|
-
tax_tags?:
|
|
4470
|
+
tax_tags?: any[];
|
|
4460
4471
|
brand_id?: string;
|
|
4461
4472
|
line_route?: string;
|
|
4462
4473
|
posid_segment?: string;
|
|
4463
|
-
applied_diff_snapshot?:
|
|
4474
|
+
applied_diff_snapshot?: any;
|
|
4464
4475
|
version?: number;
|
|
4465
4476
|
brand?: DraftBrandDTO;
|
|
4466
4477
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -4468,7 +4479,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4468
4479
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4469
4480
|
attachments?: FileAttachmentsDTO;
|
|
4470
4481
|
weight?: WeightDTO;
|
|
4471
|
-
permissions?:
|
|
4482
|
+
permissions?: any;
|
|
4472
4483
|
[index: string]: any;
|
|
4473
4484
|
}
|
|
4474
4485
|
|
|
@@ -4535,21 +4546,22 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
4535
4546
|
price: number;
|
|
4536
4547
|
barcode?: string;
|
|
4537
4548
|
calories?: number;
|
|
4549
|
+
meal_value?: number;
|
|
4538
4550
|
is_active?: boolean;
|
|
4539
4551
|
posid?: string;
|
|
4540
|
-
tax_tags?:
|
|
4552
|
+
tax_tags?: any[];
|
|
4541
4553
|
brand_id: string;
|
|
4542
4554
|
line_route?: string;
|
|
4543
4555
|
posid_segment?: string;
|
|
4544
|
-
id?:
|
|
4545
|
-
applied_diff_snapshot?:
|
|
4556
|
+
id?: any;
|
|
4557
|
+
applied_diff_snapshot?: any;
|
|
4546
4558
|
brand?: DraftBrandDTO;
|
|
4547
4559
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4548
4560
|
changes?: ItemChangeDTO[];
|
|
4549
4561
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4550
4562
|
attachments?: FileAttachmentsDTO;
|
|
4551
4563
|
weight?: WeightDTO;
|
|
4552
|
-
permissions?:
|
|
4564
|
+
permissions?: any;
|
|
4553
4565
|
[index: string]: any;
|
|
4554
4566
|
}[];
|
|
4555
4567
|
|
|
@@ -4607,7 +4619,7 @@ export interface GetMenuV3DraftItemLineRoutesRequest
|
|
|
4607
4619
|
// PATCH /menu/v3/draft/items/bulk-update
|
|
4608
4620
|
|
|
4609
4621
|
export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
4610
|
-
id_list:
|
|
4622
|
+
id_list: any[];
|
|
4611
4623
|
parent?: DraftItemDTO;
|
|
4612
4624
|
children?: DraftItemDTO[];
|
|
4613
4625
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -4620,20 +4632,21 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
4620
4632
|
price?: number;
|
|
4621
4633
|
barcode?: string;
|
|
4622
4634
|
calories?: number;
|
|
4635
|
+
meal_value?: number;
|
|
4623
4636
|
is_active?: boolean;
|
|
4624
4637
|
posid?: string;
|
|
4625
|
-
tax_tags?:
|
|
4638
|
+
tax_tags?: any[];
|
|
4626
4639
|
brand_id?: string;
|
|
4627
4640
|
line_route?: string;
|
|
4628
4641
|
posid_segment?: string;
|
|
4629
|
-
applied_diff_snapshot?:
|
|
4642
|
+
applied_diff_snapshot?: any;
|
|
4630
4643
|
brand?: DraftBrandDTO;
|
|
4631
4644
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4632
4645
|
changes?: ItemChangeDTO[];
|
|
4633
4646
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4634
4647
|
attachments?: FileAttachmentsDTO;
|
|
4635
4648
|
weight?: WeightDTO;
|
|
4636
|
-
permissions?:
|
|
4649
|
+
permissions?: any;
|
|
4637
4650
|
[index: string]: any;
|
|
4638
4651
|
}
|
|
4639
4652
|
|
|
@@ -4703,6 +4716,7 @@ export interface PostMenuV3DraftItemsImportRequest extends BaseRequest {
|
|
|
4703
4716
|
|
|
4704
4717
|
export interface PostMenuV3DraftItemsExportBody {
|
|
4705
4718
|
brand_id: string;
|
|
4719
|
+
menu_id?: string;
|
|
4706
4720
|
category_id?: string;
|
|
4707
4721
|
[index: string]: any;
|
|
4708
4722
|
}
|
|
@@ -4801,14 +4815,14 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
4801
4815
|
item_id: string;
|
|
4802
4816
|
brand_id: string;
|
|
4803
4817
|
sequence?: number;
|
|
4804
|
-
id?:
|
|
4805
|
-
applied_diff_snapshot?:
|
|
4818
|
+
id?: any;
|
|
4819
|
+
applied_diff_snapshot?: any;
|
|
4806
4820
|
item?: DraftItemDTO;
|
|
4807
4821
|
modifier_group?: DraftModifierGroupDTO;
|
|
4808
4822
|
brand?: DraftBrandDTO;
|
|
4809
4823
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4810
4824
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4811
|
-
permissions?:
|
|
4825
|
+
permissions?: any;
|
|
4812
4826
|
[index: string]: any;
|
|
4813
4827
|
}
|
|
4814
4828
|
|
|
@@ -4857,14 +4871,14 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
4857
4871
|
item_id?: string;
|
|
4858
4872
|
brand_id?: string;
|
|
4859
4873
|
sequence?: number;
|
|
4860
|
-
applied_diff_snapshot?:
|
|
4874
|
+
applied_diff_snapshot?: any;
|
|
4861
4875
|
version?: number;
|
|
4862
4876
|
item?: DraftItemDTO;
|
|
4863
4877
|
modifier_group?: DraftModifierGroupDTO;
|
|
4864
4878
|
brand?: DraftBrandDTO;
|
|
4865
4879
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4866
4880
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4867
|
-
permissions?:
|
|
4881
|
+
permissions?: any;
|
|
4868
4882
|
[index: string]: any;
|
|
4869
4883
|
}
|
|
4870
4884
|
|
|
@@ -4933,14 +4947,14 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
|
4933
4947
|
item_id: string;
|
|
4934
4948
|
brand_id: string;
|
|
4935
4949
|
sequence?: number;
|
|
4936
|
-
id?:
|
|
4937
|
-
applied_diff_snapshot?:
|
|
4950
|
+
id?: any;
|
|
4951
|
+
applied_diff_snapshot?: any;
|
|
4938
4952
|
item?: DraftItemDTO;
|
|
4939
4953
|
modifier_group?: DraftModifierGroupDTO;
|
|
4940
4954
|
brand?: DraftBrandDTO;
|
|
4941
4955
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4942
4956
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4943
|
-
permissions?:
|
|
4957
|
+
permissions?: any;
|
|
4944
4958
|
[index: string]: any;
|
|
4945
4959
|
}[];
|
|
4946
4960
|
|
|
@@ -5068,12 +5082,12 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
5068
5082
|
is_active?: boolean;
|
|
5069
5083
|
limit?: number;
|
|
5070
5084
|
brand_id: string;
|
|
5071
|
-
id?:
|
|
5072
|
-
applied_diff_snapshot?:
|
|
5085
|
+
id?: any;
|
|
5086
|
+
applied_diff_snapshot?: any;
|
|
5073
5087
|
brand?: DraftBrandDTO;
|
|
5074
5088
|
changes?: ModifierGroupChangeDTO[];
|
|
5075
5089
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5076
|
-
permissions?:
|
|
5090
|
+
permissions?: any;
|
|
5077
5091
|
[index: string]: any;
|
|
5078
5092
|
}
|
|
5079
5093
|
|
|
@@ -5125,12 +5139,12 @@ export interface PatchMenuV3DraftModifierGroupBody {
|
|
|
5125
5139
|
is_active?: boolean;
|
|
5126
5140
|
limit?: number;
|
|
5127
5141
|
brand_id?: string;
|
|
5128
|
-
applied_diff_snapshot?:
|
|
5142
|
+
applied_diff_snapshot?: any;
|
|
5129
5143
|
version?: number;
|
|
5130
5144
|
brand?: DraftBrandDTO;
|
|
5131
5145
|
changes?: ModifierGroupChangeDTO[];
|
|
5132
5146
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5133
|
-
permissions?:
|
|
5147
|
+
permissions?: any;
|
|
5134
5148
|
[index: string]: any;
|
|
5135
5149
|
}
|
|
5136
5150
|
|
|
@@ -5202,12 +5216,12 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
5202
5216
|
is_active?: boolean;
|
|
5203
5217
|
limit?: number;
|
|
5204
5218
|
brand_id: string;
|
|
5205
|
-
id?:
|
|
5206
|
-
applied_diff_snapshot?:
|
|
5219
|
+
id?: any;
|
|
5220
|
+
applied_diff_snapshot?: any;
|
|
5207
5221
|
brand?: DraftBrandDTO;
|
|
5208
5222
|
changes?: ModifierGroupChangeDTO[];
|
|
5209
5223
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5210
|
-
permissions?:
|
|
5224
|
+
permissions?: any;
|
|
5211
5225
|
[index: string]: any;
|
|
5212
5226
|
}[];
|
|
5213
5227
|
|
|
@@ -5264,12 +5278,12 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
5264
5278
|
is_active?: boolean;
|
|
5265
5279
|
limit?: number;
|
|
5266
5280
|
brand_id: string;
|
|
5267
|
-
applied_diff_snapshot?:
|
|
5281
|
+
applied_diff_snapshot?: any;
|
|
5268
5282
|
version?: number;
|
|
5269
5283
|
brand?: DraftBrandDTO;
|
|
5270
5284
|
changes?: ModifierGroupChangeDTO[];
|
|
5271
5285
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5272
|
-
permissions?:
|
|
5286
|
+
permissions?: any;
|
|
5273
5287
|
[index: string]: any;
|
|
5274
5288
|
}
|
|
5275
5289
|
|
|
@@ -5365,14 +5379,14 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
5365
5379
|
modifier_group_id: string;
|
|
5366
5380
|
brand_id: string;
|
|
5367
5381
|
sequence?: number;
|
|
5368
|
-
id?:
|
|
5369
|
-
applied_diff_snapshot?:
|
|
5382
|
+
id?: any;
|
|
5383
|
+
applied_diff_snapshot?: any;
|
|
5370
5384
|
modifier?: DraftModifierDTO;
|
|
5371
5385
|
modifier_group?: DraftModifierGroupDTO;
|
|
5372
5386
|
brand?: DraftBrandDTO;
|
|
5373
5387
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5374
5388
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5375
|
-
permissions?:
|
|
5389
|
+
permissions?: any;
|
|
5376
5390
|
[index: string]: any;
|
|
5377
5391
|
}
|
|
5378
5392
|
|
|
@@ -5421,14 +5435,14 @@ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
5421
5435
|
modifier_group_id?: string;
|
|
5422
5436
|
brand_id?: string;
|
|
5423
5437
|
sequence?: number;
|
|
5424
|
-
applied_diff_snapshot?:
|
|
5438
|
+
applied_diff_snapshot?: any;
|
|
5425
5439
|
version?: number;
|
|
5426
5440
|
modifier?: DraftModifierDTO;
|
|
5427
5441
|
modifier_group?: DraftModifierGroupDTO;
|
|
5428
5442
|
brand?: DraftBrandDTO;
|
|
5429
5443
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5430
5444
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5431
|
-
permissions?:
|
|
5445
|
+
permissions?: any;
|
|
5432
5446
|
[index: string]: any;
|
|
5433
5447
|
}
|
|
5434
5448
|
|
|
@@ -5497,14 +5511,14 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
|
|
|
5497
5511
|
modifier_group_id: string;
|
|
5498
5512
|
brand_id: string;
|
|
5499
5513
|
sequence?: number;
|
|
5500
|
-
id?:
|
|
5501
|
-
applied_diff_snapshot?:
|
|
5514
|
+
id?: any;
|
|
5515
|
+
applied_diff_snapshot?: any;
|
|
5502
5516
|
modifier?: DraftModifierDTO;
|
|
5503
5517
|
modifier_group?: DraftModifierGroupDTO;
|
|
5504
5518
|
brand?: DraftBrandDTO;
|
|
5505
5519
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5506
5520
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5507
|
-
permissions?:
|
|
5521
|
+
permissions?: any;
|
|
5508
5522
|
[index: string]: any;
|
|
5509
5523
|
}[];
|
|
5510
5524
|
|
|
@@ -5629,21 +5643,21 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
5629
5643
|
description?: string;
|
|
5630
5644
|
price: number;
|
|
5631
5645
|
calories?: number;
|
|
5632
|
-
tax_tags?:
|
|
5646
|
+
tax_tags?: any[];
|
|
5633
5647
|
is_active?: boolean;
|
|
5634
5648
|
posid?: string;
|
|
5635
5649
|
reporting: ReportingMetadataDTO;
|
|
5636
5650
|
posid_segment?: string;
|
|
5637
5651
|
brand_id: string;
|
|
5638
|
-
sizing?:
|
|
5639
|
-
id?:
|
|
5640
|
-
applied_diff_snapshot?:
|
|
5652
|
+
sizing?: any[];
|
|
5653
|
+
id?: any;
|
|
5654
|
+
applied_diff_snapshot?: any;
|
|
5641
5655
|
brand?: DraftBrandDTO;
|
|
5642
5656
|
changes?: ModifierChangeDTO[];
|
|
5643
5657
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5644
5658
|
weight?: WeightDTO;
|
|
5645
5659
|
attachments?: FileAttachmentsDTO;
|
|
5646
|
-
permissions?:
|
|
5660
|
+
permissions?: any;
|
|
5647
5661
|
[index: string]: any;
|
|
5648
5662
|
}
|
|
5649
5663
|
|
|
@@ -5692,21 +5706,21 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
5692
5706
|
description?: string;
|
|
5693
5707
|
price?: number;
|
|
5694
5708
|
calories?: number;
|
|
5695
|
-
tax_tags?:
|
|
5709
|
+
tax_tags?: any[];
|
|
5696
5710
|
is_active?: boolean;
|
|
5697
5711
|
posid?: string;
|
|
5698
5712
|
reporting?: ReportingMetadataDTO;
|
|
5699
5713
|
posid_segment?: string;
|
|
5700
5714
|
brand_id?: string;
|
|
5701
|
-
sizing?:
|
|
5702
|
-
applied_diff_snapshot?:
|
|
5715
|
+
sizing?: any[];
|
|
5716
|
+
applied_diff_snapshot?: any;
|
|
5703
5717
|
version?: number;
|
|
5704
5718
|
brand?: DraftBrandDTO;
|
|
5705
5719
|
changes?: ModifierChangeDTO[];
|
|
5706
5720
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5707
5721
|
weight?: WeightDTO;
|
|
5708
5722
|
attachments?: FileAttachmentsDTO;
|
|
5709
|
-
permissions?:
|
|
5723
|
+
permissions?: any;
|
|
5710
5724
|
[index: string]: any;
|
|
5711
5725
|
}
|
|
5712
5726
|
|
|
@@ -5773,21 +5787,21 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
5773
5787
|
description?: string;
|
|
5774
5788
|
price: number;
|
|
5775
5789
|
calories?: number;
|
|
5776
|
-
tax_tags?:
|
|
5790
|
+
tax_tags?: any[];
|
|
5777
5791
|
is_active?: boolean;
|
|
5778
5792
|
posid?: string;
|
|
5779
5793
|
reporting: ReportingMetadataDTO;
|
|
5780
5794
|
posid_segment?: string;
|
|
5781
5795
|
brand_id: string;
|
|
5782
|
-
sizing?:
|
|
5783
|
-
id?:
|
|
5784
|
-
applied_diff_snapshot?:
|
|
5796
|
+
sizing?: any[];
|
|
5797
|
+
id?: any;
|
|
5798
|
+
applied_diff_snapshot?: any;
|
|
5785
5799
|
brand?: DraftBrandDTO;
|
|
5786
5800
|
changes?: ModifierChangeDTO[];
|
|
5787
5801
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5788
5802
|
weight?: WeightDTO;
|
|
5789
5803
|
attachments?: FileAttachmentsDTO;
|
|
5790
|
-
permissions?:
|
|
5804
|
+
permissions?: any;
|
|
5791
5805
|
[index: string]: any;
|
|
5792
5806
|
}[];
|
|
5793
5807
|
|
|
@@ -5824,7 +5838,7 @@ export interface GetMenuV3DraftModifiersCountRequest
|
|
|
5824
5838
|
// PATCH /menu/v3/draft/modifiers/bulk-update
|
|
5825
5839
|
|
|
5826
5840
|
export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
5827
|
-
id_list:
|
|
5841
|
+
id_list: any[];
|
|
5828
5842
|
parent?: DraftModifierDTO;
|
|
5829
5843
|
children?: DraftModifierDTO[];
|
|
5830
5844
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
@@ -5835,20 +5849,20 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
5835
5849
|
description?: string;
|
|
5836
5850
|
price?: number;
|
|
5837
5851
|
calories?: number;
|
|
5838
|
-
tax_tags?:
|
|
5852
|
+
tax_tags?: any[];
|
|
5839
5853
|
is_active?: boolean;
|
|
5840
5854
|
posid?: string;
|
|
5841
5855
|
reporting?: ReportingMetadataDTO;
|
|
5842
5856
|
posid_segment?: string;
|
|
5843
5857
|
brand_id?: string;
|
|
5844
|
-
sizing?:
|
|
5845
|
-
applied_diff_snapshot?:
|
|
5858
|
+
sizing?: any[];
|
|
5859
|
+
applied_diff_snapshot?: any;
|
|
5846
5860
|
brand?: DraftBrandDTO;
|
|
5847
5861
|
changes?: ModifierChangeDTO[];
|
|
5848
5862
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5849
5863
|
weight?: WeightDTO;
|
|
5850
5864
|
attachments?: FileAttachmentsDTO;
|
|
5851
|
-
permissions?:
|
|
5865
|
+
permissions?: any;
|
|
5852
5866
|
[index: string]: any;
|
|
5853
5867
|
}
|
|
5854
5868
|
|
|
@@ -5965,8 +5979,8 @@ export interface PostMenuV3IntegrationsTransltrImportQuery {
|
|
|
5965
5979
|
}
|
|
5966
5980
|
|
|
5967
5981
|
export interface PostMenuV3IntegrationsTransltrImportResponse {
|
|
5968
|
-
errors?:
|
|
5969
|
-
results?:
|
|
5982
|
+
errors?: any;
|
|
5983
|
+
results?: any;
|
|
5970
5984
|
}
|
|
5971
5985
|
|
|
5972
5986
|
export interface PostMenuV3IntegrationsTransltrImportRequest
|
|
@@ -5996,17 +6010,17 @@ export interface GetMenuV3GlobalDiffResponse {
|
|
|
5996
6010
|
deleted_at?: string;
|
|
5997
6011
|
entity_type?: string;
|
|
5998
6012
|
local_id?: string;
|
|
5999
|
-
changes?:
|
|
6000
|
-
local_changes?:
|
|
6001
|
-
local_snapshot?:
|
|
6013
|
+
changes?: any;
|
|
6014
|
+
local_changes?: any;
|
|
6015
|
+
local_snapshot?: any;
|
|
6002
6016
|
global_id?: string;
|
|
6003
|
-
global_snapshot?:
|
|
6017
|
+
global_snapshot?: any;
|
|
6004
6018
|
brand_id?: string;
|
|
6005
6019
|
version?: number;
|
|
6006
6020
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
6007
6021
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
6008
6022
|
brand?: DraftBrandDTO;
|
|
6009
|
-
permissions?:
|
|
6023
|
+
permissions?: any;
|
|
6010
6024
|
[index: string]: any;
|
|
6011
6025
|
}
|
|
6012
6026
|
|