@compassdigital/sdk.typescript 4.5.0 → 4.6.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.js.map +1 -1
- package/lib/index.d.ts +8 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -0
- 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 +3 -3
- 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 +75 -15
- 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 +3 -3
- 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 +1 -1
- 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 +10 -10
- package/lib/interface/location.d.ts.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 +240 -240
- package/lib/interface/menu.d.ts.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 +16 -16
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +12 -4
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +4 -4
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/report.d.ts +1 -1
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +7 -7
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/task.d.ts +5 -5
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/user.d.ts +4 -4
- package/lib/interface/user.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 +2 -2
- package/src/index.ts +22 -0
- 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 +3 -3
- package/src/interface/compassconnect.ts +1 -1
- package/src/interface/config.ts +81 -15
- package/src/interface/datalake.ts +2 -2
- package/src/interface/delivery.ts +3 -3
- package/src/interface/email.ts +2 -2
- package/src/interface/file.ts +1 -1
- package/src/interface/frictionless.ts +1 -1
- package/src/interface/kds.ts +1 -1
- package/src/interface/location.ts +10 -10
- package/src/interface/mealplan.ts +1 -1
- package/src/interface/menu.ts +240 -240
- package/src/interface/notification.ts +2 -2
- package/src/interface/order.ts +3 -3
- package/src/interface/partner.ts +16 -16
- package/src/interface/payment.ts +17 -4
- package/src/interface/promo.ts +4 -4
- package/src/interface/report.ts +1 -1
- package/src/interface/shoppingcart.ts +7 -7
- package/src/interface/task.ts +5 -5
- package/src/interface/user.ts +4 -4
- 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?: any[];
|
|
73
|
+
ingredients?: Record<string, any>[];
|
|
74
74
|
amount_off_exclusions?: AmountOffExclusionTypes[];
|
|
75
75
|
nutrition?: {
|
|
76
76
|
kcal?: number;
|
|
@@ -280,7 +280,7 @@ export interface Success {
|
|
|
280
280
|
export interface Error {
|
|
281
281
|
error?: string;
|
|
282
282
|
code?: number;
|
|
283
|
-
data?: any
|
|
283
|
+
data?: Record<string, any>;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
export type AmountOffExclusionTypes = "loyalty" | "discount" | "promo";
|
|
@@ -314,7 +314,7 @@ export interface GlobalMenuGroupDTO {
|
|
|
314
314
|
is_active?: boolean;
|
|
315
315
|
posid_segment?: string;
|
|
316
316
|
id?: string;
|
|
317
|
-
permissions?: any
|
|
317
|
+
permissions?: Record<string, any>;
|
|
318
318
|
[index: string]: any;
|
|
319
319
|
}
|
|
320
320
|
|
|
@@ -328,7 +328,7 @@ export interface DraftBrandDTO {
|
|
|
328
328
|
local_menu_group_id?: string;
|
|
329
329
|
global_menu_group_id?: string;
|
|
330
330
|
posid_segment?: string;
|
|
331
|
-
permissions?: any
|
|
331
|
+
permissions?: Record<string, any>;
|
|
332
332
|
[index: string]: any;
|
|
333
333
|
}
|
|
334
334
|
|
|
@@ -342,7 +342,7 @@ export interface PublishedBrandDTO {
|
|
|
342
342
|
local_menu_group_id?: string;
|
|
343
343
|
global_menu_group_id?: string;
|
|
344
344
|
posid_segment?: string;
|
|
345
|
-
permissions?: any
|
|
345
|
+
permissions?: Record<string, any>;
|
|
346
346
|
[index: string]: any;
|
|
347
347
|
}
|
|
348
348
|
|
|
@@ -362,7 +362,7 @@ export interface VendorMetadataDTO {
|
|
|
362
362
|
modifier_group_id?: string;
|
|
363
363
|
modifier_group_to_modifier_relationship_id?: string;
|
|
364
364
|
modifier_id?: string;
|
|
365
|
-
permissions?: any
|
|
365
|
+
permissions?: Record<string, any>;
|
|
366
366
|
[index: string]: any;
|
|
367
367
|
}
|
|
368
368
|
|
|
@@ -461,7 +461,7 @@ export interface LocalMenuGroupDTO {
|
|
|
461
461
|
deleted_at?: string;
|
|
462
462
|
version?: number;
|
|
463
463
|
vendor_metadata?: VendorMetadataDTO[];
|
|
464
|
-
permissions?: any
|
|
464
|
+
permissions?: Record<string, any>;
|
|
465
465
|
[index: string]: any;
|
|
466
466
|
}
|
|
467
467
|
|
|
@@ -479,22 +479,22 @@ export interface DraftBrandDraftBrandDTO {
|
|
|
479
479
|
created_at?: FilterFieldDTO;
|
|
480
480
|
updated_at?: FilterFieldDTO;
|
|
481
481
|
deleted_at?: FilterFieldDTO;
|
|
482
|
-
parent?: any
|
|
483
|
-
children?: any[];
|
|
482
|
+
parent?: Record<string, any>;
|
|
483
|
+
children?: Record<string, any>[];
|
|
484
484
|
changes?: BrandChangeDTO[];
|
|
485
485
|
local_menu_group?: LocalMenuGroupDTO;
|
|
486
486
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
487
487
|
menus?: DraftMenuDTO[];
|
|
488
|
-
categories?: any[];
|
|
489
|
-
category_to_item_relationships?: any[];
|
|
490
|
-
items?: any[];
|
|
491
|
-
item_to_modifier_group_relationships?: any[];
|
|
492
|
-
modifier_groups?: any[];
|
|
493
|
-
modifier_group_to_modifier_relationships?: any[];
|
|
494
|
-
modifiers?: any[];
|
|
488
|
+
categories?: Record<string, any>[];
|
|
489
|
+
category_to_item_relationships?: Record<string, any>[];
|
|
490
|
+
items?: Record<string, any>[];
|
|
491
|
+
item_to_modifier_group_relationships?: Record<string, any>[];
|
|
492
|
+
modifier_groups?: Record<string, any>[];
|
|
493
|
+
modifier_group_to_modifier_relationships?: Record<string, any>[];
|
|
494
|
+
modifiers?: Record<string, any>[];
|
|
495
495
|
statuses?: BrandStatusDTO[];
|
|
496
496
|
vendor_metadata?: VendorMetadataDTO[];
|
|
497
|
-
attachments?: any
|
|
497
|
+
attachments?: Record<string, any>;
|
|
498
498
|
permissions?: FilterFieldDTO;
|
|
499
499
|
[index: string]: any;
|
|
500
500
|
}
|
|
@@ -504,21 +504,21 @@ export interface BrandChangeDTO {
|
|
|
504
504
|
insert?: FilterFieldDTO;
|
|
505
505
|
delete?: FilterFieldDTO;
|
|
506
506
|
snapshot_entity_id?: FilterFieldDTO;
|
|
507
|
-
snapshot_entity?: any
|
|
507
|
+
snapshot_entity?: Record<string, any>;
|
|
508
508
|
permissions?: FilterFieldDTO;
|
|
509
509
|
[index: string]: any;
|
|
510
510
|
}
|
|
511
511
|
|
|
512
512
|
export interface DraftMenuDTO {
|
|
513
|
-
parent?: any
|
|
514
|
-
children?: any[];
|
|
513
|
+
parent?: Record<string, any>;
|
|
514
|
+
children?: Record<string, any>[];
|
|
515
515
|
categories?: DraftCategoryDTO[];
|
|
516
516
|
id?: string;
|
|
517
517
|
parent_id?: string;
|
|
518
518
|
name?: string;
|
|
519
519
|
brand_id?: string;
|
|
520
520
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
521
|
-
brand?: any
|
|
521
|
+
brand?: Record<string, any>;
|
|
522
522
|
changes?: MenuChangeDTO[];
|
|
523
523
|
vendor_metadata?: VendorMetadataDTO[];
|
|
524
524
|
permissions?: FilterFieldDTO;
|
|
@@ -526,8 +526,8 @@ export interface DraftMenuDTO {
|
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
export interface DraftCategoryDTO {
|
|
529
|
-
parent?: any
|
|
530
|
-
children?: any[];
|
|
529
|
+
parent?: Record<string, any>;
|
|
530
|
+
children?: Record<string, any>[];
|
|
531
531
|
id?: string;
|
|
532
532
|
parent_id?: string;
|
|
533
533
|
name?: string;
|
|
@@ -537,9 +537,9 @@ export interface DraftCategoryDTO {
|
|
|
537
537
|
brand_id?: string;
|
|
538
538
|
menu_id?: string;
|
|
539
539
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
540
|
-
menu?: any
|
|
540
|
+
menu?: Record<string, any>;
|
|
541
541
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
542
|
-
brand?: any
|
|
542
|
+
brand?: Record<string, any>;
|
|
543
543
|
changes?: CategoryChangeDTO[];
|
|
544
544
|
vendor_metadata?: VendorMetadataDTO[];
|
|
545
545
|
permissions?: FilterFieldDTO;
|
|
@@ -547,8 +547,8 @@ export interface DraftCategoryDTO {
|
|
|
547
547
|
}
|
|
548
548
|
|
|
549
549
|
export interface DraftCategoryToItemRelationshipDTO {
|
|
550
|
-
parent?: any
|
|
551
|
-
children?: any[];
|
|
550
|
+
parent?: Record<string, any>;
|
|
551
|
+
children?: Record<string, any>[];
|
|
552
552
|
id?: string;
|
|
553
553
|
parent_id?: string;
|
|
554
554
|
item_id?: string;
|
|
@@ -556,9 +556,9 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
556
556
|
brand_id?: FilterFieldDTO;
|
|
557
557
|
sequence?: number;
|
|
558
558
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
559
|
-
category?: any
|
|
559
|
+
category?: Record<string, any>;
|
|
560
560
|
item?: DraftItemDTO;
|
|
561
|
-
brand?: any
|
|
561
|
+
brand?: Record<string, any>;
|
|
562
562
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
563
563
|
vendor_metadata?: VendorMetadataDTO[];
|
|
564
564
|
permissions?: FilterFieldDTO;
|
|
@@ -566,15 +566,15 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
566
566
|
}
|
|
567
567
|
|
|
568
568
|
export interface DraftItemDTO {
|
|
569
|
-
parent?: any
|
|
570
|
-
children?: any[];
|
|
569
|
+
parent?: Record<string, any>;
|
|
570
|
+
children?: Record<string, any>[];
|
|
571
571
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
572
572
|
id?: string;
|
|
573
573
|
parent_id?: string;
|
|
574
574
|
name?: string;
|
|
575
575
|
label?: string;
|
|
576
576
|
description?: string;
|
|
577
|
-
reporting?: any
|
|
577
|
+
reporting?: Record<string, any>;
|
|
578
578
|
price?: number;
|
|
579
579
|
barcode?: string;
|
|
580
580
|
calories?: number;
|
|
@@ -585,19 +585,19 @@ export interface DraftItemDTO {
|
|
|
585
585
|
line_route?: FilterFieldDTO;
|
|
586
586
|
posid_segment?: FilterFieldDTO;
|
|
587
587
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
588
|
-
brand?: any
|
|
589
|
-
categories?: any[];
|
|
588
|
+
brand?: Record<string, any>;
|
|
589
|
+
categories?: Record<string, any>[];
|
|
590
590
|
changes?: ItemChangeDTO[];
|
|
591
591
|
vendor_metadata?: VendorMetadataDTO[];
|
|
592
592
|
attachments?: FileAttachmentsDTO;
|
|
593
|
-
weight?: any
|
|
593
|
+
weight?: Record<string, any>;
|
|
594
594
|
permissions?: FilterFieldDTO;
|
|
595
595
|
[index: string]: any;
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
export interface DraftItemToModifierGroupRelationshipDTO {
|
|
599
|
-
parent?: any
|
|
600
|
-
children?: any[];
|
|
599
|
+
parent?: Record<string, any>;
|
|
600
|
+
children?: Record<string, any>[];
|
|
601
601
|
id?: string;
|
|
602
602
|
parent_id?: string;
|
|
603
603
|
modifier_group_id?: string;
|
|
@@ -605,9 +605,9 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
605
605
|
brand_id?: FilterFieldDTO;
|
|
606
606
|
sequence?: number;
|
|
607
607
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
608
|
-
item?: any
|
|
608
|
+
item?: Record<string, any>;
|
|
609
609
|
modifier_group?: DraftModifierGroupDTO;
|
|
610
|
-
brand?: any
|
|
610
|
+
brand?: Record<string, any>;
|
|
611
611
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
612
612
|
vendor_metadata?: VendorMetadataDTO[];
|
|
613
613
|
permissions?: FilterFieldDTO;
|
|
@@ -615,10 +615,10 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
615
615
|
}
|
|
616
616
|
|
|
617
617
|
export interface DraftModifierGroupDTO {
|
|
618
|
-
parent?: any
|
|
619
|
-
children?: any[];
|
|
618
|
+
parent?: Record<string, any>;
|
|
619
|
+
children?: Record<string, any>[];
|
|
620
620
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
621
|
-
items?: any[];
|
|
621
|
+
items?: Record<string, any>[];
|
|
622
622
|
id?: string;
|
|
623
623
|
parent_id?: string;
|
|
624
624
|
name?: string;
|
|
@@ -628,7 +628,7 @@ export interface DraftModifierGroupDTO {
|
|
|
628
628
|
is_active?: boolean;
|
|
629
629
|
brand_id?: string;
|
|
630
630
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
631
|
-
brand?: any
|
|
631
|
+
brand?: Record<string, any>;
|
|
632
632
|
changes?: ModifierGroupChangeDTO[];
|
|
633
633
|
vendor_metadata?: VendorMetadataDTO[];
|
|
634
634
|
permissions?: FilterFieldDTO;
|
|
@@ -636,8 +636,8 @@ export interface DraftModifierGroupDTO {
|
|
|
636
636
|
}
|
|
637
637
|
|
|
638
638
|
export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
639
|
-
parent?: any
|
|
640
|
-
children?: any[];
|
|
639
|
+
parent?: Record<string, any>;
|
|
640
|
+
children?: Record<string, any>[];
|
|
641
641
|
id?: string;
|
|
642
642
|
parent_id?: string;
|
|
643
643
|
modifier_id?: string;
|
|
@@ -646,8 +646,8 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
646
646
|
sequence?: number;
|
|
647
647
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
648
648
|
modifier?: DraftModifierDTO;
|
|
649
|
-
modifier_group?: any
|
|
650
|
-
brand?: any
|
|
649
|
+
modifier_group?: Record<string, any>;
|
|
650
|
+
brand?: Record<string, any>;
|
|
651
651
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
652
652
|
vendor_metadata?: VendorMetadataDTO[];
|
|
653
653
|
permissions?: FilterFieldDTO;
|
|
@@ -655,9 +655,9 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
655
655
|
}
|
|
656
656
|
|
|
657
657
|
export interface DraftModifierDTO {
|
|
658
|
-
parent?: any
|
|
659
|
-
children?: any[];
|
|
660
|
-
modifier_groups?: any[];
|
|
658
|
+
parent?: Record<string, any>;
|
|
659
|
+
children?: Record<string, any>[];
|
|
660
|
+
modifier_groups?: Record<string, any>[];
|
|
661
661
|
id?: string;
|
|
662
662
|
parent_id?: string;
|
|
663
663
|
name?: string;
|
|
@@ -672,7 +672,7 @@ export interface DraftModifierDTO {
|
|
|
672
672
|
posid_segment?: FilterFieldDTO;
|
|
673
673
|
brand_id?: string;
|
|
674
674
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
675
|
-
brand?: any
|
|
675
|
+
brand?: Record<string, any>;
|
|
676
676
|
changes?: ModifierChangeDTO[];
|
|
677
677
|
vendor_metadata?: VendorMetadataDTO[];
|
|
678
678
|
weight?: WeightDTO;
|
|
@@ -685,28 +685,28 @@ export interface ModifierChangeDTO {
|
|
|
685
685
|
insert?: FilterFieldDTO;
|
|
686
686
|
delete?: FilterFieldDTO;
|
|
687
687
|
snapshot_entity_id?: FilterFieldDTO;
|
|
688
|
-
snapshot_entity?: any
|
|
688
|
+
snapshot_entity?: Record<string, any>;
|
|
689
689
|
permissions?: FilterFieldDTO;
|
|
690
690
|
[index: string]: any;
|
|
691
691
|
}
|
|
692
692
|
|
|
693
693
|
export interface ReportingMetadataDTO {
|
|
694
694
|
category?: ReportingCategoryMetadataDTO;
|
|
695
|
-
id?: any
|
|
695
|
+
id?: Record<string, any>;
|
|
696
696
|
[index: string]: any;
|
|
697
697
|
}
|
|
698
698
|
|
|
699
699
|
export interface ReportingCategoryMetadataDTO {
|
|
700
700
|
primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
|
|
701
701
|
secondary?: FilterFieldDTO;
|
|
702
|
-
id?: any
|
|
702
|
+
id?: Record<string, any>;
|
|
703
703
|
[index: string]: any;
|
|
704
704
|
}
|
|
705
705
|
|
|
706
706
|
export interface WeightDTO {
|
|
707
707
|
unit?: FilterFieldDTO;
|
|
708
708
|
amount?: FilterFieldDTO;
|
|
709
|
-
id?: any
|
|
709
|
+
id?: Record<string, any>;
|
|
710
710
|
[index: string]: any;
|
|
711
711
|
}
|
|
712
712
|
|
|
@@ -715,7 +715,7 @@ export interface ModifierGroupToModifierRelationshipChangeDTO {
|
|
|
715
715
|
insert?: FilterFieldDTO;
|
|
716
716
|
delete?: FilterFieldDTO;
|
|
717
717
|
snapshot_entity_id?: FilterFieldDTO;
|
|
718
|
-
snapshot_entity?: any
|
|
718
|
+
snapshot_entity?: Record<string, any>;
|
|
719
719
|
permissions?: FilterFieldDTO;
|
|
720
720
|
[index: string]: any;
|
|
721
721
|
}
|
|
@@ -725,7 +725,7 @@ export interface ModifierGroupChangeDTO {
|
|
|
725
725
|
insert?: FilterFieldDTO;
|
|
726
726
|
delete?: FilterFieldDTO;
|
|
727
727
|
snapshot_entity_id?: FilterFieldDTO;
|
|
728
|
-
snapshot_entity?: any
|
|
728
|
+
snapshot_entity?: Record<string, any>;
|
|
729
729
|
permissions?: FilterFieldDTO;
|
|
730
730
|
[index: string]: any;
|
|
731
731
|
}
|
|
@@ -735,7 +735,7 @@ export interface ItemToModifierGroupRelationshipChangeDTO {
|
|
|
735
735
|
insert?: FilterFieldDTO;
|
|
736
736
|
delete?: FilterFieldDTO;
|
|
737
737
|
snapshot_entity_id?: FilterFieldDTO;
|
|
738
|
-
snapshot_entity?: any
|
|
738
|
+
snapshot_entity?: Record<string, any>;
|
|
739
739
|
permissions?: FilterFieldDTO;
|
|
740
740
|
[index: string]: any;
|
|
741
741
|
}
|
|
@@ -745,14 +745,14 @@ export interface ItemChangeDTO {
|
|
|
745
745
|
insert?: FilterFieldDTO;
|
|
746
746
|
delete?: FilterFieldDTO;
|
|
747
747
|
snapshot_entity_id?: FilterFieldDTO;
|
|
748
|
-
snapshot_entity?: any
|
|
748
|
+
snapshot_entity?: Record<string, any>;
|
|
749
749
|
permissions?: FilterFieldDTO;
|
|
750
750
|
[index: string]: any;
|
|
751
751
|
}
|
|
752
752
|
|
|
753
753
|
export interface FileAttachmentsDTO {
|
|
754
754
|
thumbnail?: FilterFieldDTO;
|
|
755
|
-
id?: any
|
|
755
|
+
id?: Record<string, any>;
|
|
756
756
|
[index: string]: any;
|
|
757
757
|
}
|
|
758
758
|
|
|
@@ -761,7 +761,7 @@ export interface CategoryToItemRelationshipChangeDTO {
|
|
|
761
761
|
insert?: FilterFieldDTO;
|
|
762
762
|
delete?: FilterFieldDTO;
|
|
763
763
|
snapshot_entity_id?: FilterFieldDTO;
|
|
764
|
-
snapshot_entity?: any
|
|
764
|
+
snapshot_entity?: Record<string, any>;
|
|
765
765
|
permissions?: FilterFieldDTO;
|
|
766
766
|
[index: string]: any;
|
|
767
767
|
}
|
|
@@ -771,7 +771,7 @@ export interface CategoryChangeDTO {
|
|
|
771
771
|
insert?: FilterFieldDTO;
|
|
772
772
|
delete?: FilterFieldDTO;
|
|
773
773
|
snapshot_entity_id?: FilterFieldDTO;
|
|
774
|
-
snapshot_entity?: any
|
|
774
|
+
snapshot_entity?: Record<string, any>;
|
|
775
775
|
permissions?: FilterFieldDTO;
|
|
776
776
|
[index: string]: any;
|
|
777
777
|
}
|
|
@@ -781,7 +781,7 @@ export interface MenuChangeDTO {
|
|
|
781
781
|
insert?: FilterFieldDTO;
|
|
782
782
|
delete?: FilterFieldDTO;
|
|
783
783
|
snapshot_entity_id?: FilterFieldDTO;
|
|
784
|
-
snapshot_entity?: any
|
|
784
|
+
snapshot_entity?: Record<string, any>;
|
|
785
785
|
permissions?: FilterFieldDTO;
|
|
786
786
|
[index: string]: any;
|
|
787
787
|
}
|
|
@@ -792,7 +792,7 @@ export interface BrandStatusDTO {
|
|
|
792
792
|
status?: string;
|
|
793
793
|
metadata?: FilterFieldDTO;
|
|
794
794
|
id?: string;
|
|
795
|
-
brand?: any
|
|
795
|
+
brand?: Record<string, any>;
|
|
796
796
|
permissions?: FilterFieldDTO;
|
|
797
797
|
[index: string]: any;
|
|
798
798
|
}
|
|
@@ -807,8 +807,8 @@ export interface DraftMenuDraftMenuDTO {
|
|
|
807
807
|
created_at?: FilterFieldDTO;
|
|
808
808
|
updated_at?: FilterFieldDTO;
|
|
809
809
|
deleted_at?: FilterFieldDTO;
|
|
810
|
-
parent?: any
|
|
811
|
-
children?: any[];
|
|
810
|
+
parent?: Record<string, any>;
|
|
811
|
+
children?: Record<string, any>[];
|
|
812
812
|
categories?: DraftCategoryDTO[];
|
|
813
813
|
brand?: DraftBrandDTO;
|
|
814
814
|
changes?: MenuChangeDTO[];
|
|
@@ -835,8 +835,8 @@ export interface DraftModifierDraftModifierDTO {
|
|
|
835
835
|
created_at?: FilterFieldDTO;
|
|
836
836
|
updated_at?: FilterFieldDTO;
|
|
837
837
|
deleted_at?: FilterFieldDTO;
|
|
838
|
-
parent?: any
|
|
839
|
-
children?: any[];
|
|
838
|
+
parent?: Record<string, any>;
|
|
839
|
+
children?: Record<string, any>[];
|
|
840
840
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
841
841
|
brand?: DraftBrandDTO;
|
|
842
842
|
changes?: ModifierChangeDTO[];
|
|
@@ -861,8 +861,8 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
|
861
861
|
created_at?: FilterFieldDTO;
|
|
862
862
|
updated_at?: FilterFieldDTO;
|
|
863
863
|
deleted_at?: FilterFieldDTO;
|
|
864
|
-
parent?: any
|
|
865
|
-
children?: any[];
|
|
864
|
+
parent?: Record<string, any>;
|
|
865
|
+
children?: Record<string, any>[];
|
|
866
866
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
867
867
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
868
868
|
brand?: DraftBrandDTO;
|
|
@@ -892,8 +892,8 @@ export interface DraftItemDraftItemDTO {
|
|
|
892
892
|
created_at?: FilterFieldDTO;
|
|
893
893
|
updated_at?: FilterFieldDTO;
|
|
894
894
|
deleted_at?: FilterFieldDTO;
|
|
895
|
-
parent?: any
|
|
896
|
-
children?: any[];
|
|
895
|
+
parent?: Record<string, any>;
|
|
896
|
+
children?: Record<string, any>[];
|
|
897
897
|
brand?: DraftBrandDTO;
|
|
898
898
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
899
899
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -916,7 +916,7 @@ export interface GlobalDiffDependencyDTO {
|
|
|
916
916
|
is_depended_by_id?: string;
|
|
917
917
|
id?: string;
|
|
918
918
|
depends_on?: GlobalDiffGlobalDiffDTO;
|
|
919
|
-
is_depended_by?: any
|
|
919
|
+
is_depended_by?: Record<string, any>;
|
|
920
920
|
permissions?: FilterFieldDTO;
|
|
921
921
|
[index: string]: any;
|
|
922
922
|
}
|
|
@@ -936,8 +936,8 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
936
936
|
created_at?: FilterFieldDTO;
|
|
937
937
|
updated_at?: FilterFieldDTO;
|
|
938
938
|
deleted_at?: FilterFieldDTO;
|
|
939
|
-
depends_on?: any[];
|
|
940
|
-
is_depended_by?: any[];
|
|
939
|
+
depends_on?: Record<string, any>[];
|
|
940
|
+
is_depended_by?: Record<string, any>[];
|
|
941
941
|
brand?: DraftBrandDTO;
|
|
942
942
|
permissions?: FilterFieldDTO;
|
|
943
943
|
[index: string]: any;
|
|
@@ -949,21 +949,21 @@ export interface DiffDTO {
|
|
|
949
949
|
created_at?: string;
|
|
950
950
|
updated_at?: string;
|
|
951
951
|
deleted_at?: string;
|
|
952
|
-
child_nodes?: any[];
|
|
952
|
+
child_nodes?: Record<string, any>[];
|
|
953
953
|
name?: string;
|
|
954
954
|
entity_type?: string;
|
|
955
955
|
local_id?: string;
|
|
956
|
-
changes?: any
|
|
957
|
-
local_changes?: any
|
|
958
|
-
local_snapshot?: any
|
|
956
|
+
changes?: Record<string, any>;
|
|
957
|
+
local_changes?: Record<string, any>;
|
|
958
|
+
local_snapshot?: Record<string, any>;
|
|
959
959
|
global_id?: string;
|
|
960
|
-
global_snapshot?: any
|
|
960
|
+
global_snapshot?: Record<string, any>;
|
|
961
961
|
brand_id?: string;
|
|
962
962
|
version?: number;
|
|
963
963
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
964
964
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
965
965
|
brand?: DraftBrandDTO;
|
|
966
|
-
permissions?: any
|
|
966
|
+
permissions?: Record<string, any>;
|
|
967
967
|
[index: string]: any;
|
|
968
968
|
}
|
|
969
969
|
|
|
@@ -978,7 +978,7 @@ export interface PublishedMenuDTO {
|
|
|
978
978
|
parent_id?: string;
|
|
979
979
|
name?: string;
|
|
980
980
|
brand_id?: string;
|
|
981
|
-
permissions?: any
|
|
981
|
+
permissions?: Record<string, any>;
|
|
982
982
|
[index: string]: any;
|
|
983
983
|
}
|
|
984
984
|
|
|
@@ -991,7 +991,7 @@ export interface PublishedCategoryDTO {
|
|
|
991
991
|
is_active?: boolean;
|
|
992
992
|
brand_id?: string;
|
|
993
993
|
menu_id?: string;
|
|
994
|
-
permissions?: any
|
|
994
|
+
permissions?: Record<string, any>;
|
|
995
995
|
[index: string]: any;
|
|
996
996
|
}
|
|
997
997
|
|
|
@@ -1002,7 +1002,7 @@ export interface PublishedCategoryToItemRelationshipDTO {
|
|
|
1002
1002
|
category_id?: string;
|
|
1003
1003
|
brand_id?: string;
|
|
1004
1004
|
sequence?: number;
|
|
1005
|
-
permissions?: any
|
|
1005
|
+
permissions?: Record<string, any>;
|
|
1006
1006
|
[index: string]: any;
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
@@ -1017,11 +1017,11 @@ export interface PublishedItemDTO {
|
|
|
1017
1017
|
calories?: number;
|
|
1018
1018
|
is_active?: boolean;
|
|
1019
1019
|
posid?: string;
|
|
1020
|
-
tax_tags?: any[];
|
|
1020
|
+
tax_tags?: Record<string, any>[];
|
|
1021
1021
|
brand_id?: string;
|
|
1022
1022
|
line_route?: string;
|
|
1023
1023
|
posid_segment?: string;
|
|
1024
|
-
permissions?: any
|
|
1024
|
+
permissions?: Record<string, any>;
|
|
1025
1025
|
[index: string]: any;
|
|
1026
1026
|
}
|
|
1027
1027
|
|
|
@@ -1032,7 +1032,7 @@ export interface PublishedItemToModifierGroupRelationshipDTO {
|
|
|
1032
1032
|
item_id?: string;
|
|
1033
1033
|
brand_id?: string;
|
|
1034
1034
|
sequence?: number;
|
|
1035
|
-
permissions?: any
|
|
1035
|
+
permissions?: Record<string, any>;
|
|
1036
1036
|
[index: string]: any;
|
|
1037
1037
|
}
|
|
1038
1038
|
|
|
@@ -1045,7 +1045,7 @@ export interface PublishedModifierGroupDTO {
|
|
|
1045
1045
|
max?: number;
|
|
1046
1046
|
is_active?: boolean;
|
|
1047
1047
|
brand_id?: string;
|
|
1048
|
-
permissions?: any
|
|
1048
|
+
permissions?: Record<string, any>;
|
|
1049
1049
|
[index: string]: any;
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
@@ -1056,7 +1056,7 @@ export interface PublishedModifierGroupToModifierRelationshipDTO {
|
|
|
1056
1056
|
modifier_group_id?: string;
|
|
1057
1057
|
brand_id?: string;
|
|
1058
1058
|
sequence?: number;
|
|
1059
|
-
permissions?: any
|
|
1059
|
+
permissions?: Record<string, any>;
|
|
1060
1060
|
[index: string]: any;
|
|
1061
1061
|
}
|
|
1062
1062
|
|
|
@@ -1068,12 +1068,12 @@ export interface PublishedModifierDTO {
|
|
|
1068
1068
|
description?: string;
|
|
1069
1069
|
price?: number;
|
|
1070
1070
|
calories?: number;
|
|
1071
|
-
tax_tags?: any[];
|
|
1071
|
+
tax_tags?: Record<string, any>[];
|
|
1072
1072
|
is_active?: boolean;
|
|
1073
1073
|
posid?: string;
|
|
1074
1074
|
posid_segment?: string;
|
|
1075
1075
|
brand_id?: string;
|
|
1076
|
-
permissions?: any
|
|
1076
|
+
permissions?: Record<string, any>;
|
|
1077
1077
|
[index: string]: any;
|
|
1078
1078
|
}
|
|
1079
1079
|
|
|
@@ -1091,8 +1091,8 @@ export interface PublishedBrandPublishedBrandDTO {
|
|
|
1091
1091
|
created_at?: FilterFieldDTO;
|
|
1092
1092
|
updated_at?: FilterFieldDTO;
|
|
1093
1093
|
deleted_at?: FilterFieldDTO;
|
|
1094
|
-
parent?: any
|
|
1095
|
-
children?: any[];
|
|
1094
|
+
parent?: Record<string, any>;
|
|
1095
|
+
children?: Record<string, any>[];
|
|
1096
1096
|
local_menu_group?: LocalMenuGroupDTO;
|
|
1097
1097
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
1098
1098
|
menus?: PublishedMenuDTO[];
|
|
@@ -1122,8 +1122,8 @@ export interface DraftCategoryDraftCategoryDTO {
|
|
|
1122
1122
|
created_at?: FilterFieldDTO;
|
|
1123
1123
|
updated_at?: FilterFieldDTO;
|
|
1124
1124
|
deleted_at?: FilterFieldDTO;
|
|
1125
|
-
parent?: any
|
|
1126
|
-
children?: any[];
|
|
1125
|
+
parent?: Record<string, any>;
|
|
1126
|
+
children?: Record<string, any>[];
|
|
1127
1127
|
menu?: DraftMenuDTO;
|
|
1128
1128
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
1129
1129
|
brand?: DraftBrandDTO;
|
|
@@ -1142,8 +1142,8 @@ export interface PublishedMenuPublishedMenuDTO {
|
|
|
1142
1142
|
created_at?: FilterFieldDTO;
|
|
1143
1143
|
updated_at?: FilterFieldDTO;
|
|
1144
1144
|
deleted_at?: FilterFieldDTO;
|
|
1145
|
-
parent?: any
|
|
1146
|
-
children?: any[];
|
|
1145
|
+
parent?: Record<string, any>;
|
|
1146
|
+
children?: Record<string, any>[];
|
|
1147
1147
|
categories?: PublishedCategoryDTO[];
|
|
1148
1148
|
brand?: PublishedBrandDTO;
|
|
1149
1149
|
permissions?: FilterFieldDTO;
|
|
@@ -1163,8 +1163,8 @@ export interface PublishedCategoryPublishedCategoryDTO {
|
|
|
1163
1163
|
created_at?: FilterFieldDTO;
|
|
1164
1164
|
updated_at?: FilterFieldDTO;
|
|
1165
1165
|
deleted_at?: FilterFieldDTO;
|
|
1166
|
-
parent?: any
|
|
1167
|
-
children?: any[];
|
|
1166
|
+
parent?: Record<string, any>;
|
|
1167
|
+
children?: Record<string, any>[];
|
|
1168
1168
|
menu?: PublishedMenuDTO;
|
|
1169
1169
|
items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1170
1170
|
brand?: PublishedBrandDTO;
|
|
@@ -1184,8 +1184,8 @@ export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipD
|
|
|
1184
1184
|
version?: FilterFieldDTO;
|
|
1185
1185
|
created_at?: FilterFieldDTO;
|
|
1186
1186
|
updated_at?: FilterFieldDTO;
|
|
1187
|
-
parent?: any
|
|
1188
|
-
children?: any[];
|
|
1187
|
+
parent?: Record<string, any>;
|
|
1188
|
+
children?: Record<string, any>[];
|
|
1189
1189
|
category?: DraftCategoryDTO;
|
|
1190
1190
|
item?: DraftItemDTO;
|
|
1191
1191
|
brand?: DraftBrandDTO;
|
|
@@ -1206,8 +1206,8 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
|
|
|
1206
1206
|
version?: FilterFieldDTO;
|
|
1207
1207
|
created_at?: FilterFieldDTO;
|
|
1208
1208
|
updated_at?: FilterFieldDTO;
|
|
1209
|
-
parent?: any
|
|
1210
|
-
children?: any[];
|
|
1209
|
+
parent?: Record<string, any>;
|
|
1210
|
+
children?: Record<string, any>[];
|
|
1211
1211
|
category?: PublishedCategoryDTO;
|
|
1212
1212
|
item?: PublishedItemDTO;
|
|
1213
1213
|
brand?: PublishedBrandDTO;
|
|
@@ -1233,11 +1233,11 @@ export interface DraftItemEntityDTO {
|
|
|
1233
1233
|
calories?: number;
|
|
1234
1234
|
is_active?: boolean;
|
|
1235
1235
|
posid?: string;
|
|
1236
|
-
tax_tags?: any[];
|
|
1236
|
+
tax_tags?: Record<string, any>[];
|
|
1237
1237
|
brand_id: string;
|
|
1238
1238
|
line_route?: string;
|
|
1239
1239
|
posid_segment?: string;
|
|
1240
|
-
applied_diff_snapshot?: any
|
|
1240
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1241
1241
|
version?: number;
|
|
1242
1242
|
brand?: DraftBrandDTO;
|
|
1243
1243
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -1245,7 +1245,7 @@ export interface DraftItemEntityDTO {
|
|
|
1245
1245
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1246
1246
|
attachments?: FileAttachmentsDTO;
|
|
1247
1247
|
weight?: WeightDTO;
|
|
1248
|
-
permissions?: any
|
|
1248
|
+
permissions?: Record<string, any>;
|
|
1249
1249
|
[index: string]: any;
|
|
1250
1250
|
}
|
|
1251
1251
|
|
|
@@ -1268,8 +1268,8 @@ export interface PublishedItemPublishedItemDTO {
|
|
|
1268
1268
|
created_at?: FilterFieldDTO;
|
|
1269
1269
|
updated_at?: FilterFieldDTO;
|
|
1270
1270
|
deleted_at?: FilterFieldDTO;
|
|
1271
|
-
parent?: any
|
|
1272
|
-
children?: any[];
|
|
1271
|
+
parent?: Record<string, any>;
|
|
1272
|
+
children?: Record<string, any>[];
|
|
1273
1273
|
brand?: PublishedBrandDTO;
|
|
1274
1274
|
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
1275
1275
|
modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
@@ -1292,8 +1292,8 @@ export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRel
|
|
|
1292
1292
|
version?: FilterFieldDTO;
|
|
1293
1293
|
created_at?: FilterFieldDTO;
|
|
1294
1294
|
updated_at?: FilterFieldDTO;
|
|
1295
|
-
parent?: any
|
|
1296
|
-
children?: any[];
|
|
1295
|
+
parent?: Record<string, any>;
|
|
1296
|
+
children?: Record<string, any>[];
|
|
1297
1297
|
item?: DraftItemDTO;
|
|
1298
1298
|
modifier_group?: DraftModifierGroupDTO;
|
|
1299
1299
|
brand?: DraftBrandDTO;
|
|
@@ -1314,8 +1314,8 @@ export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifier
|
|
|
1314
1314
|
version?: FilterFieldDTO;
|
|
1315
1315
|
created_at?: FilterFieldDTO;
|
|
1316
1316
|
updated_at?: FilterFieldDTO;
|
|
1317
|
-
parent?: any
|
|
1318
|
-
children?: any[];
|
|
1317
|
+
parent?: Record<string, any>;
|
|
1318
|
+
children?: Record<string, any>[];
|
|
1319
1319
|
item?: PublishedItemDTO;
|
|
1320
1320
|
modifier_group?: PublishedModifierGroupDTO;
|
|
1321
1321
|
brand?: PublishedBrandDTO;
|
|
@@ -1336,8 +1336,8 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
|
|
|
1336
1336
|
created_at?: FilterFieldDTO;
|
|
1337
1337
|
updated_at?: FilterFieldDTO;
|
|
1338
1338
|
deleted_at?: FilterFieldDTO;
|
|
1339
|
-
parent?: any
|
|
1340
|
-
children?: any[];
|
|
1339
|
+
parent?: Record<string, any>;
|
|
1340
|
+
children?: Record<string, any>[];
|
|
1341
1341
|
modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1342
1342
|
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1343
1343
|
brand?: PublishedBrandDTO;
|
|
@@ -1357,8 +1357,8 @@ export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToMod
|
|
|
1357
1357
|
version?: FilterFieldDTO;
|
|
1358
1358
|
created_at?: FilterFieldDTO;
|
|
1359
1359
|
updated_at?: FilterFieldDTO;
|
|
1360
|
-
parent?: any
|
|
1361
|
-
children?: any[];
|
|
1360
|
+
parent?: Record<string, any>;
|
|
1361
|
+
children?: Record<string, any>[];
|
|
1362
1362
|
modifier?: DraftModifierDTO;
|
|
1363
1363
|
modifier_group?: DraftModifierGroupDTO;
|
|
1364
1364
|
brand?: DraftBrandDTO;
|
|
@@ -1379,8 +1379,8 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
|
|
|
1379
1379
|
version?: FilterFieldDTO;
|
|
1380
1380
|
created_at?: FilterFieldDTO;
|
|
1381
1381
|
updated_at?: FilterFieldDTO;
|
|
1382
|
-
parent?: any
|
|
1383
|
-
children?: any[];
|
|
1382
|
+
parent?: Record<string, any>;
|
|
1383
|
+
children?: Record<string, any>[];
|
|
1384
1384
|
modifier_group?: PublishedModifierGroupDTO;
|
|
1385
1385
|
modifier?: PublishedModifierDTO;
|
|
1386
1386
|
brand?: PublishedBrandDTO;
|
|
@@ -1402,19 +1402,19 @@ export interface DraftModifierEntityDTO {
|
|
|
1402
1402
|
description?: string;
|
|
1403
1403
|
price: number;
|
|
1404
1404
|
calories?: number;
|
|
1405
|
-
tax_tags?: any[];
|
|
1405
|
+
tax_tags?: Record<string, any>[];
|
|
1406
1406
|
is_active?: boolean;
|
|
1407
1407
|
posid?: string;
|
|
1408
1408
|
reporting: ReportingMetadataDTO;
|
|
1409
1409
|
posid_segment?: string;
|
|
1410
1410
|
brand_id: string;
|
|
1411
|
-
applied_diff_snapshot?: any
|
|
1411
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1412
1412
|
version?: number;
|
|
1413
1413
|
brand?: DraftBrandDTO;
|
|
1414
1414
|
changes?: ModifierChangeDTO[];
|
|
1415
1415
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1416
1416
|
weight?: WeightDTO;
|
|
1417
|
-
permissions?: any
|
|
1417
|
+
permissions?: Record<string, any>;
|
|
1418
1418
|
[index: string]: any;
|
|
1419
1419
|
}
|
|
1420
1420
|
|
|
@@ -1435,8 +1435,8 @@ export interface PublishedModifierPublishedModifierDTO {
|
|
|
1435
1435
|
created_at?: FilterFieldDTO;
|
|
1436
1436
|
updated_at?: FilterFieldDTO;
|
|
1437
1437
|
deleted_at?: FilterFieldDTO;
|
|
1438
|
-
parent?: any
|
|
1439
|
-
children?: any[];
|
|
1438
|
+
parent?: Record<string, any>;
|
|
1439
|
+
children?: Record<string, any>[];
|
|
1440
1440
|
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1441
1441
|
brand?: PublishedBrandDTO;
|
|
1442
1442
|
reporting?: ReportingMetadataDTO;
|
|
@@ -1453,17 +1453,17 @@ export interface GlobalDiffDTO {
|
|
|
1453
1453
|
deleted_at?: string;
|
|
1454
1454
|
entity_type?: string;
|
|
1455
1455
|
local_id?: string;
|
|
1456
|
-
changes?: any
|
|
1457
|
-
local_changes?: any
|
|
1458
|
-
local_snapshot?: any
|
|
1456
|
+
changes?: Record<string, any>;
|
|
1457
|
+
local_changes?: Record<string, any>;
|
|
1458
|
+
local_snapshot?: Record<string, any>;
|
|
1459
1459
|
global_id?: string;
|
|
1460
|
-
global_snapshot?: any
|
|
1460
|
+
global_snapshot?: Record<string, any>;
|
|
1461
1461
|
brand_id?: string;
|
|
1462
1462
|
version?: number;
|
|
1463
1463
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
1464
1464
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
1465
1465
|
brand?: DraftBrandDTO;
|
|
1466
|
-
permissions?: any
|
|
1466
|
+
permissions?: Record<string, any>;
|
|
1467
1467
|
[index: string]: any;
|
|
1468
1468
|
}
|
|
1469
1469
|
|
|
@@ -1519,7 +1519,7 @@ export interface GetMenuHeadersQuery {
|
|
|
1519
1519
|
_query?: string;
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
1522
|
-
export type GetMenuHeadersResponse = any
|
|
1522
|
+
export type GetMenuHeadersResponse = Record<string, any>;
|
|
1523
1523
|
|
|
1524
1524
|
export interface GetMenuHeadersRequest
|
|
1525
1525
|
extends BaseRequest,
|
|
@@ -1990,7 +1990,7 @@ export interface PostMenuV3LocalMenuGroupBody {
|
|
|
1990
1990
|
draft_brands?: DraftBrandDTO[];
|
|
1991
1991
|
published_brands?: PublishedBrandDTO[];
|
|
1992
1992
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1993
|
-
permissions?: any
|
|
1993
|
+
permissions?: Record<string, any>;
|
|
1994
1994
|
[index: string]: any;
|
|
1995
1995
|
}
|
|
1996
1996
|
|
|
@@ -2006,7 +2006,7 @@ export interface PostMenuV3LocalMenuGroupResponse {
|
|
|
2006
2006
|
deleted_at?: string;
|
|
2007
2007
|
version?: number;
|
|
2008
2008
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2009
|
-
permissions?: any
|
|
2009
|
+
permissions?: Record<string, any>;
|
|
2010
2010
|
[index: string]: any;
|
|
2011
2011
|
}
|
|
2012
2012
|
|
|
@@ -2041,7 +2041,7 @@ export interface GetMenuV3LocalMenuGroupResponse {
|
|
|
2041
2041
|
deleted_at?: string;
|
|
2042
2042
|
version?: number;
|
|
2043
2043
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2044
|
-
permissions?: any
|
|
2044
|
+
permissions?: Record<string, any>;
|
|
2045
2045
|
[index: string]: any;
|
|
2046
2046
|
}
|
|
2047
2047
|
|
|
@@ -2065,7 +2065,7 @@ export interface PatchMenuV3LocalMenuGroupBody {
|
|
|
2065
2065
|
id?: string;
|
|
2066
2066
|
version?: number;
|
|
2067
2067
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2068
|
-
permissions?: any
|
|
2068
|
+
permissions?: Record<string, any>;
|
|
2069
2069
|
[index: string]: any;
|
|
2070
2070
|
}
|
|
2071
2071
|
|
|
@@ -2081,7 +2081,7 @@ export interface PatchMenuV3LocalMenuGroupResponse {
|
|
|
2081
2081
|
deleted_at?: string;
|
|
2082
2082
|
version?: number;
|
|
2083
2083
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2084
|
-
permissions?: any
|
|
2084
|
+
permissions?: Record<string, any>;
|
|
2085
2085
|
[index: string]: any;
|
|
2086
2086
|
}
|
|
2087
2087
|
|
|
@@ -2109,7 +2109,7 @@ export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
|
2109
2109
|
deleted_at?: string;
|
|
2110
2110
|
version?: number;
|
|
2111
2111
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2112
|
-
permissions?: any
|
|
2112
|
+
permissions?: Record<string, any>;
|
|
2113
2113
|
[index: string]: any;
|
|
2114
2114
|
}
|
|
2115
2115
|
|
|
@@ -2158,9 +2158,9 @@ export type PostMenuV3LocalMenuGroupsBody = {
|
|
|
2158
2158
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2159
2159
|
draft_brands?: DraftBrandDTO[];
|
|
2160
2160
|
published_brands?: PublishedBrandDTO[];
|
|
2161
|
-
id?: any
|
|
2161
|
+
id?: Record<string, any>;
|
|
2162
2162
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2163
|
-
permissions?: any
|
|
2163
|
+
permissions?: Record<string, any>;
|
|
2164
2164
|
[index: string]: any;
|
|
2165
2165
|
}[];
|
|
2166
2166
|
|
|
@@ -2355,7 +2355,7 @@ export interface PostMenuV3GlobalMenuGroupBody {
|
|
|
2355
2355
|
published_brands?: PublishedBrandDTO[];
|
|
2356
2356
|
posid_segment: string;
|
|
2357
2357
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2358
|
-
permissions?: any
|
|
2358
|
+
permissions?: Record<string, any>;
|
|
2359
2359
|
[index: string]: any;
|
|
2360
2360
|
}
|
|
2361
2361
|
|
|
@@ -2403,7 +2403,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
|
|
|
2403
2403
|
id?: string;
|
|
2404
2404
|
version?: number;
|
|
2405
2405
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2406
|
-
permissions?: any
|
|
2406
|
+
permissions?: Record<string, any>;
|
|
2407
2407
|
[index: string]: any;
|
|
2408
2408
|
}
|
|
2409
2409
|
|
|
@@ -2438,7 +2438,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
|
|
|
2438
2438
|
deleted_at?: string;
|
|
2439
2439
|
version?: number;
|
|
2440
2440
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2441
|
-
permissions?: any
|
|
2441
|
+
permissions?: Record<string, any>;
|
|
2442
2442
|
[index: string]: any;
|
|
2443
2443
|
}
|
|
2444
2444
|
|
|
@@ -2489,9 +2489,9 @@ export type PostMenuV3GlobalMenuGroupsBody = {
|
|
|
2489
2489
|
draft_brands?: DraftBrandDTO[];
|
|
2490
2490
|
published_brands?: PublishedBrandDTO[];
|
|
2491
2491
|
posid_segment: string;
|
|
2492
|
-
id?: any
|
|
2492
|
+
id?: Record<string, any>;
|
|
2493
2493
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2494
|
-
permissions?: any
|
|
2494
|
+
permissions?: Record<string, any>;
|
|
2495
2495
|
[index: string]: any;
|
|
2496
2496
|
}[];
|
|
2497
2497
|
|
|
@@ -2623,13 +2623,13 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
2623
2623
|
local_menu_group_id?: string;
|
|
2624
2624
|
global_menu_group_id?: string;
|
|
2625
2625
|
posid_segment?: string;
|
|
2626
|
-
id?: any
|
|
2626
|
+
id?: Record<string, any>;
|
|
2627
2627
|
changes?: BrandChangeDTO[];
|
|
2628
2628
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2629
2629
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2630
2630
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2631
2631
|
attachments?: FileAttachmentsDTO;
|
|
2632
|
-
permissions?: any
|
|
2632
|
+
permissions?: Record<string, any>;
|
|
2633
2633
|
[index: string]: any;
|
|
2634
2634
|
}
|
|
2635
2635
|
|
|
@@ -2694,7 +2694,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2694
2694
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2695
2695
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2696
2696
|
attachments?: FileAttachmentsDTO;
|
|
2697
|
-
permissions?: any
|
|
2697
|
+
permissions?: Record<string, any>;
|
|
2698
2698
|
[index: string]: any;
|
|
2699
2699
|
}
|
|
2700
2700
|
|
|
@@ -2769,13 +2769,13 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2769
2769
|
local_menu_group_id?: string;
|
|
2770
2770
|
global_menu_group_id?: string;
|
|
2771
2771
|
posid_segment?: string;
|
|
2772
|
-
id?: any
|
|
2772
|
+
id?: Record<string, any>;
|
|
2773
2773
|
changes?: BrandChangeDTO[];
|
|
2774
2774
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2775
2775
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2776
2776
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2777
2777
|
attachments?: FileAttachmentsDTO;
|
|
2778
|
-
permissions?: any
|
|
2778
|
+
permissions?: Record<string, any>;
|
|
2779
2779
|
[index: string]: any;
|
|
2780
2780
|
}[];
|
|
2781
2781
|
|
|
@@ -3131,11 +3131,11 @@ export interface PostMenuV3BrandBody {
|
|
|
3131
3131
|
local_menu_group_id?: string;
|
|
3132
3132
|
global_menu_group_id?: string;
|
|
3133
3133
|
posid_segment?: string;
|
|
3134
|
-
id?: any
|
|
3134
|
+
id?: Record<string, any>;
|
|
3135
3135
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3136
3136
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3137
3137
|
attachments?: FileAttachmentsDTO;
|
|
3138
|
-
permissions?: any
|
|
3138
|
+
permissions?: Record<string, any>;
|
|
3139
3139
|
[index: string]: any;
|
|
3140
3140
|
}
|
|
3141
3141
|
|
|
@@ -3202,7 +3202,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
3202
3202
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3203
3203
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3204
3204
|
attachments?: FileAttachmentsDTO;
|
|
3205
|
-
permissions?: any
|
|
3205
|
+
permissions?: Record<string, any>;
|
|
3206
3206
|
[index: string]: any;
|
|
3207
3207
|
}
|
|
3208
3208
|
|
|
@@ -3289,11 +3289,11 @@ export type PostMenuV3BrandsBody = {
|
|
|
3289
3289
|
local_menu_group_id?: string;
|
|
3290
3290
|
global_menu_group_id?: string;
|
|
3291
3291
|
posid_segment?: string;
|
|
3292
|
-
id?: any
|
|
3292
|
+
id?: Record<string, any>;
|
|
3293
3293
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3294
3294
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3295
3295
|
attachments?: FileAttachmentsDTO;
|
|
3296
|
-
permissions?: any
|
|
3296
|
+
permissions?: Record<string, any>;
|
|
3297
3297
|
[index: string]: any;
|
|
3298
3298
|
}[];
|
|
3299
3299
|
|
|
@@ -3524,7 +3524,7 @@ export interface PostMenuV3BrandLocalResponse {
|
|
|
3524
3524
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3525
3525
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3526
3526
|
attachments?: FileAttachmentsDTO;
|
|
3527
|
-
permissions?: any
|
|
3527
|
+
permissions?: Record<string, any>;
|
|
3528
3528
|
[index: string]: any;
|
|
3529
3529
|
}
|
|
3530
3530
|
|
|
@@ -3542,12 +3542,12 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
3542
3542
|
parent_id?: string;
|
|
3543
3543
|
name: string;
|
|
3544
3544
|
brand_id: string;
|
|
3545
|
-
id?: any
|
|
3546
|
-
applied_diff_snapshot?: any
|
|
3545
|
+
id?: Record<string, any>;
|
|
3546
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3547
3547
|
brand?: DraftBrandDTO;
|
|
3548
3548
|
changes?: MenuChangeDTO[];
|
|
3549
3549
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3550
|
-
permissions?: any
|
|
3550
|
+
permissions?: Record<string, any>;
|
|
3551
3551
|
[index: string]: any;
|
|
3552
3552
|
}
|
|
3553
3553
|
|
|
@@ -3593,12 +3593,12 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
3593
3593
|
parent_id?: string;
|
|
3594
3594
|
name?: string;
|
|
3595
3595
|
brand_id?: string;
|
|
3596
|
-
applied_diff_snapshot?: any
|
|
3596
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3597
3597
|
version?: number;
|
|
3598
3598
|
brand?: DraftBrandDTO;
|
|
3599
3599
|
changes?: MenuChangeDTO[];
|
|
3600
3600
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3601
|
-
permissions?: any
|
|
3601
|
+
permissions?: Record<string, any>;
|
|
3602
3602
|
[index: string]: any;
|
|
3603
3603
|
}
|
|
3604
3604
|
|
|
@@ -3660,12 +3660,12 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
3660
3660
|
parent_id?: string;
|
|
3661
3661
|
name: string;
|
|
3662
3662
|
brand_id: string;
|
|
3663
|
-
id?: any
|
|
3664
|
-
applied_diff_snapshot?: any
|
|
3663
|
+
id?: Record<string, any>;
|
|
3664
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3665
3665
|
brand?: DraftBrandDTO;
|
|
3666
3666
|
changes?: MenuChangeDTO[];
|
|
3667
3667
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3668
|
-
permissions?: any
|
|
3668
|
+
permissions?: Record<string, any>;
|
|
3669
3669
|
[index: string]: any;
|
|
3670
3670
|
}[];
|
|
3671
3671
|
|
|
@@ -3878,14 +3878,14 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
3878
3878
|
is_active?: boolean;
|
|
3879
3879
|
brand_id: string;
|
|
3880
3880
|
menu_id: string;
|
|
3881
|
-
id?: any
|
|
3882
|
-
applied_diff_snapshot?: any
|
|
3881
|
+
id?: Record<string, any>;
|
|
3882
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3883
3883
|
menu?: DraftMenuDTO;
|
|
3884
3884
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
3885
3885
|
brand?: DraftBrandDTO;
|
|
3886
3886
|
changes?: CategoryChangeDTO[];
|
|
3887
3887
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3888
|
-
permissions?: any
|
|
3888
|
+
permissions?: Record<string, any>;
|
|
3889
3889
|
[index: string]: any;
|
|
3890
3890
|
}
|
|
3891
3891
|
|
|
@@ -3934,14 +3934,14 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
3934
3934
|
is_active?: boolean;
|
|
3935
3935
|
brand_id?: string;
|
|
3936
3936
|
menu_id?: string;
|
|
3937
|
-
applied_diff_snapshot?: any
|
|
3937
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3938
3938
|
version?: number;
|
|
3939
3939
|
menu?: DraftMenuDTO;
|
|
3940
3940
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
3941
3941
|
brand?: DraftBrandDTO;
|
|
3942
3942
|
changes?: CategoryChangeDTO[];
|
|
3943
3943
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3944
|
-
permissions?: any
|
|
3944
|
+
permissions?: Record<string, any>;
|
|
3945
3945
|
[index: string]: any;
|
|
3946
3946
|
}
|
|
3947
3947
|
|
|
@@ -3995,14 +3995,14 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
3995
3995
|
is_active?: boolean;
|
|
3996
3996
|
brand_id: string;
|
|
3997
3997
|
menu_id: string;
|
|
3998
|
-
id?: any
|
|
3999
|
-
applied_diff_snapshot?: any
|
|
3998
|
+
id?: Record<string, any>;
|
|
3999
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4000
4000
|
menu?: DraftMenuDTO;
|
|
4001
4001
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
4002
4002
|
brand?: DraftBrandDTO;
|
|
4003
4003
|
changes?: CategoryChangeDTO[];
|
|
4004
4004
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4005
|
-
permissions?: any
|
|
4005
|
+
permissions?: Record<string, any>;
|
|
4006
4006
|
[index: string]: any;
|
|
4007
4007
|
}[];
|
|
4008
4008
|
|
|
@@ -4070,14 +4070,14 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
4070
4070
|
category_id: string;
|
|
4071
4071
|
brand_id: string;
|
|
4072
4072
|
sequence?: number;
|
|
4073
|
-
id?: any
|
|
4074
|
-
applied_diff_snapshot?: any
|
|
4073
|
+
id?: Record<string, any>;
|
|
4074
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4075
4075
|
category?: DraftCategoryDTO;
|
|
4076
4076
|
item?: DraftItemDTO;
|
|
4077
4077
|
brand?: DraftBrandDTO;
|
|
4078
4078
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4079
4079
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4080
|
-
permissions?: any
|
|
4080
|
+
permissions?: Record<string, any>;
|
|
4081
4081
|
[index: string]: any;
|
|
4082
4082
|
}
|
|
4083
4083
|
|
|
@@ -4124,14 +4124,14 @@ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
4124
4124
|
category_id?: string;
|
|
4125
4125
|
brand_id?: string;
|
|
4126
4126
|
sequence?: number;
|
|
4127
|
-
applied_diff_snapshot?: any
|
|
4127
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4128
4128
|
version?: number;
|
|
4129
4129
|
category?: DraftCategoryDTO;
|
|
4130
4130
|
item?: DraftItemDTO;
|
|
4131
4131
|
brand?: DraftBrandDTO;
|
|
4132
4132
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4133
4133
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4134
|
-
permissions?: any
|
|
4134
|
+
permissions?: Record<string, any>;
|
|
4135
4135
|
[index: string]: any;
|
|
4136
4136
|
}
|
|
4137
4137
|
|
|
@@ -4198,14 +4198,14 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
|
|
|
4198
4198
|
category_id: string;
|
|
4199
4199
|
brand_id: string;
|
|
4200
4200
|
sequence?: number;
|
|
4201
|
-
id?: any
|
|
4202
|
-
applied_diff_snapshot?: any
|
|
4201
|
+
id?: Record<string, any>;
|
|
4202
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4203
4203
|
category?: DraftCategoryDTO;
|
|
4204
4204
|
item?: DraftItemDTO;
|
|
4205
4205
|
brand?: DraftBrandDTO;
|
|
4206
4206
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4207
4207
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4208
|
-
permissions?: any
|
|
4208
|
+
permissions?: Record<string, any>;
|
|
4209
4209
|
[index: string]: any;
|
|
4210
4210
|
}[];
|
|
4211
4211
|
|
|
@@ -4333,19 +4333,19 @@ export interface PostMenuV3DraftItemBody {
|
|
|
4333
4333
|
calories?: number;
|
|
4334
4334
|
is_active?: boolean;
|
|
4335
4335
|
posid?: string;
|
|
4336
|
-
tax_tags?: any[];
|
|
4336
|
+
tax_tags?: Record<string, any>[];
|
|
4337
4337
|
brand_id: string;
|
|
4338
4338
|
line_route?: string;
|
|
4339
4339
|
posid_segment?: string;
|
|
4340
|
-
id?: any
|
|
4341
|
-
applied_diff_snapshot?: any
|
|
4340
|
+
id?: Record<string, any>;
|
|
4341
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4342
4342
|
brand?: DraftBrandDTO;
|
|
4343
4343
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4344
4344
|
changes?: ItemChangeDTO[];
|
|
4345
4345
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4346
4346
|
attachments?: FileAttachmentsDTO;
|
|
4347
4347
|
weight?: WeightDTO;
|
|
4348
|
-
permissions?: any
|
|
4348
|
+
permissions?: Record<string, any>;
|
|
4349
4349
|
[index: string]: any;
|
|
4350
4350
|
}
|
|
4351
4351
|
|
|
@@ -4398,11 +4398,11 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4398
4398
|
calories?: number;
|
|
4399
4399
|
is_active?: boolean;
|
|
4400
4400
|
posid?: string;
|
|
4401
|
-
tax_tags?: any[];
|
|
4401
|
+
tax_tags?: Record<string, any>[];
|
|
4402
4402
|
brand_id?: string;
|
|
4403
4403
|
line_route?: string;
|
|
4404
4404
|
posid_segment?: string;
|
|
4405
|
-
applied_diff_snapshot?: any
|
|
4405
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4406
4406
|
version?: number;
|
|
4407
4407
|
brand?: DraftBrandDTO;
|
|
4408
4408
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -4410,7 +4410,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4410
4410
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4411
4411
|
attachments?: FileAttachmentsDTO;
|
|
4412
4412
|
weight?: WeightDTO;
|
|
4413
|
-
permissions?: any
|
|
4413
|
+
permissions?: Record<string, any>;
|
|
4414
4414
|
[index: string]: any;
|
|
4415
4415
|
}
|
|
4416
4416
|
|
|
@@ -4479,19 +4479,19 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
4479
4479
|
calories?: number;
|
|
4480
4480
|
is_active?: boolean;
|
|
4481
4481
|
posid?: string;
|
|
4482
|
-
tax_tags?: any[];
|
|
4482
|
+
tax_tags?: Record<string, any>[];
|
|
4483
4483
|
brand_id: string;
|
|
4484
4484
|
line_route?: string;
|
|
4485
4485
|
posid_segment?: string;
|
|
4486
|
-
id?: any
|
|
4487
|
-
applied_diff_snapshot?: any
|
|
4486
|
+
id?: Record<string, any>;
|
|
4487
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4488
4488
|
brand?: DraftBrandDTO;
|
|
4489
4489
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4490
4490
|
changes?: ItemChangeDTO[];
|
|
4491
4491
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4492
4492
|
attachments?: FileAttachmentsDTO;
|
|
4493
4493
|
weight?: WeightDTO;
|
|
4494
|
-
permissions?: any
|
|
4494
|
+
permissions?: Record<string, any>;
|
|
4495
4495
|
[index: string]: any;
|
|
4496
4496
|
}[];
|
|
4497
4497
|
|
|
@@ -4528,7 +4528,7 @@ export interface GetMenuV3DraftItemsCountRequest
|
|
|
4528
4528
|
// PATCH /menu/v3/draft/items/bulk-update
|
|
4529
4529
|
|
|
4530
4530
|
export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
4531
|
-
id_list: any[];
|
|
4531
|
+
id_list: Record<string, any>[];
|
|
4532
4532
|
parent?: DraftItemDTO;
|
|
4533
4533
|
children?: DraftItemDTO[];
|
|
4534
4534
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -4543,18 +4543,18 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
4543
4543
|
calories?: number;
|
|
4544
4544
|
is_active?: boolean;
|
|
4545
4545
|
posid?: string;
|
|
4546
|
-
tax_tags?: any[];
|
|
4546
|
+
tax_tags?: Record<string, any>[];
|
|
4547
4547
|
brand_id?: string;
|
|
4548
4548
|
line_route?: string;
|
|
4549
4549
|
posid_segment?: string;
|
|
4550
|
-
applied_diff_snapshot?: any
|
|
4550
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4551
4551
|
brand?: DraftBrandDTO;
|
|
4552
4552
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4553
4553
|
changes?: ItemChangeDTO[];
|
|
4554
4554
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4555
4555
|
attachments?: FileAttachmentsDTO;
|
|
4556
4556
|
weight?: WeightDTO;
|
|
4557
|
-
permissions?: any
|
|
4557
|
+
permissions?: Record<string, any>;
|
|
4558
4558
|
[index: string]: any;
|
|
4559
4559
|
}
|
|
4560
4560
|
|
|
@@ -4722,14 +4722,14 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
4722
4722
|
item_id: string;
|
|
4723
4723
|
brand_id: string;
|
|
4724
4724
|
sequence?: number;
|
|
4725
|
-
id?: any
|
|
4726
|
-
applied_diff_snapshot?: any
|
|
4725
|
+
id?: Record<string, any>;
|
|
4726
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4727
4727
|
item?: DraftItemDTO;
|
|
4728
4728
|
modifier_group?: DraftModifierGroupDTO;
|
|
4729
4729
|
brand?: DraftBrandDTO;
|
|
4730
4730
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4731
4731
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4732
|
-
permissions?: any
|
|
4732
|
+
permissions?: Record<string, any>;
|
|
4733
4733
|
[index: string]: any;
|
|
4734
4734
|
}
|
|
4735
4735
|
|
|
@@ -4778,14 +4778,14 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
4778
4778
|
item_id?: string;
|
|
4779
4779
|
brand_id?: string;
|
|
4780
4780
|
sequence?: number;
|
|
4781
|
-
applied_diff_snapshot?: any
|
|
4781
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4782
4782
|
version?: number;
|
|
4783
4783
|
item?: DraftItemDTO;
|
|
4784
4784
|
modifier_group?: DraftModifierGroupDTO;
|
|
4785
4785
|
brand?: DraftBrandDTO;
|
|
4786
4786
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4787
4787
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4788
|
-
permissions?: any
|
|
4788
|
+
permissions?: Record<string, any>;
|
|
4789
4789
|
[index: string]: any;
|
|
4790
4790
|
}
|
|
4791
4791
|
|
|
@@ -4854,14 +4854,14 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
|
4854
4854
|
item_id: string;
|
|
4855
4855
|
brand_id: string;
|
|
4856
4856
|
sequence?: number;
|
|
4857
|
-
id?: any
|
|
4858
|
-
applied_diff_snapshot?: any
|
|
4857
|
+
id?: Record<string, any>;
|
|
4858
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4859
4859
|
item?: DraftItemDTO;
|
|
4860
4860
|
modifier_group?: DraftModifierGroupDTO;
|
|
4861
4861
|
brand?: DraftBrandDTO;
|
|
4862
4862
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4863
4863
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4864
|
-
permissions?: any
|
|
4864
|
+
permissions?: Record<string, any>;
|
|
4865
4865
|
[index: string]: any;
|
|
4866
4866
|
}[];
|
|
4867
4867
|
|
|
@@ -4988,12 +4988,12 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
4988
4988
|
max?: number;
|
|
4989
4989
|
is_active?: boolean;
|
|
4990
4990
|
brand_id: string;
|
|
4991
|
-
id?: any
|
|
4992
|
-
applied_diff_snapshot?: any
|
|
4991
|
+
id?: Record<string, any>;
|
|
4992
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4993
4993
|
brand?: DraftBrandDTO;
|
|
4994
4994
|
changes?: ModifierGroupChangeDTO[];
|
|
4995
4995
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4996
|
-
permissions?: any
|
|
4996
|
+
permissions?: Record<string, any>;
|
|
4997
4997
|
[index: string]: any;
|
|
4998
4998
|
}
|
|
4999
4999
|
|
|
@@ -5044,12 +5044,12 @@ export interface PatchMenuV3DraftModifierGroupBody {
|
|
|
5044
5044
|
max?: number;
|
|
5045
5045
|
is_active?: boolean;
|
|
5046
5046
|
brand_id?: string;
|
|
5047
|
-
applied_diff_snapshot?: any
|
|
5047
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5048
5048
|
version?: number;
|
|
5049
5049
|
brand?: DraftBrandDTO;
|
|
5050
5050
|
changes?: ModifierGroupChangeDTO[];
|
|
5051
5051
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5052
|
-
permissions?: any
|
|
5052
|
+
permissions?: Record<string, any>;
|
|
5053
5053
|
[index: string]: any;
|
|
5054
5054
|
}
|
|
5055
5055
|
|
|
@@ -5120,12 +5120,12 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
5120
5120
|
max?: number;
|
|
5121
5121
|
is_active?: boolean;
|
|
5122
5122
|
brand_id: string;
|
|
5123
|
-
id?: any
|
|
5124
|
-
applied_diff_snapshot?: any
|
|
5123
|
+
id?: Record<string, any>;
|
|
5124
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5125
5125
|
brand?: DraftBrandDTO;
|
|
5126
5126
|
changes?: ModifierGroupChangeDTO[];
|
|
5127
5127
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5128
|
-
permissions?: any
|
|
5128
|
+
permissions?: Record<string, any>;
|
|
5129
5129
|
[index: string]: any;
|
|
5130
5130
|
}[];
|
|
5131
5131
|
|
|
@@ -5181,12 +5181,12 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
5181
5181
|
max?: number;
|
|
5182
5182
|
is_active?: boolean;
|
|
5183
5183
|
brand_id: string;
|
|
5184
|
-
applied_diff_snapshot?: any
|
|
5184
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5185
5185
|
version?: number;
|
|
5186
5186
|
brand?: DraftBrandDTO;
|
|
5187
5187
|
changes?: ModifierGroupChangeDTO[];
|
|
5188
5188
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5189
|
-
permissions?: any
|
|
5189
|
+
permissions?: Record<string, any>;
|
|
5190
5190
|
[index: string]: any;
|
|
5191
5191
|
}
|
|
5192
5192
|
|
|
@@ -5282,14 +5282,14 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
5282
5282
|
modifier_group_id: string;
|
|
5283
5283
|
brand_id: string;
|
|
5284
5284
|
sequence?: number;
|
|
5285
|
-
id?: any
|
|
5286
|
-
applied_diff_snapshot?: any
|
|
5285
|
+
id?: Record<string, any>;
|
|
5286
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5287
5287
|
modifier?: DraftModifierDTO;
|
|
5288
5288
|
modifier_group?: DraftModifierGroupDTO;
|
|
5289
5289
|
brand?: DraftBrandDTO;
|
|
5290
5290
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5291
5291
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5292
|
-
permissions?: any
|
|
5292
|
+
permissions?: Record<string, any>;
|
|
5293
5293
|
[index: string]: any;
|
|
5294
5294
|
}
|
|
5295
5295
|
|
|
@@ -5338,14 +5338,14 @@ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
5338
5338
|
modifier_group_id?: string;
|
|
5339
5339
|
brand_id?: string;
|
|
5340
5340
|
sequence?: number;
|
|
5341
|
-
applied_diff_snapshot?: any
|
|
5341
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5342
5342
|
version?: number;
|
|
5343
5343
|
modifier?: DraftModifierDTO;
|
|
5344
5344
|
modifier_group?: DraftModifierGroupDTO;
|
|
5345
5345
|
brand?: DraftBrandDTO;
|
|
5346
5346
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5347
5347
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5348
|
-
permissions?: any
|
|
5348
|
+
permissions?: Record<string, any>;
|
|
5349
5349
|
[index: string]: any;
|
|
5350
5350
|
}
|
|
5351
5351
|
|
|
@@ -5414,14 +5414,14 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
|
|
|
5414
5414
|
modifier_group_id: string;
|
|
5415
5415
|
brand_id: string;
|
|
5416
5416
|
sequence?: number;
|
|
5417
|
-
id?: any
|
|
5418
|
-
applied_diff_snapshot?: any
|
|
5417
|
+
id?: Record<string, any>;
|
|
5418
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5419
5419
|
modifier?: DraftModifierDTO;
|
|
5420
5420
|
modifier_group?: DraftModifierGroupDTO;
|
|
5421
5421
|
brand?: DraftBrandDTO;
|
|
5422
5422
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5423
5423
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5424
|
-
permissions?: any
|
|
5424
|
+
permissions?: Record<string, any>;
|
|
5425
5425
|
[index: string]: any;
|
|
5426
5426
|
}[];
|
|
5427
5427
|
|
|
@@ -5546,19 +5546,19 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
5546
5546
|
description?: string;
|
|
5547
5547
|
price: number;
|
|
5548
5548
|
calories?: number;
|
|
5549
|
-
tax_tags?: any[];
|
|
5549
|
+
tax_tags?: Record<string, any>[];
|
|
5550
5550
|
is_active?: boolean;
|
|
5551
5551
|
posid?: string;
|
|
5552
5552
|
reporting: ReportingMetadataDTO;
|
|
5553
5553
|
posid_segment?: string;
|
|
5554
5554
|
brand_id: string;
|
|
5555
|
-
id?: any
|
|
5556
|
-
applied_diff_snapshot?: any
|
|
5555
|
+
id?: Record<string, any>;
|
|
5556
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5557
5557
|
brand?: DraftBrandDTO;
|
|
5558
5558
|
changes?: ModifierChangeDTO[];
|
|
5559
5559
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5560
5560
|
weight?: WeightDTO;
|
|
5561
|
-
permissions?: any
|
|
5561
|
+
permissions?: Record<string, any>;
|
|
5562
5562
|
[index: string]: any;
|
|
5563
5563
|
}
|
|
5564
5564
|
|
|
@@ -5607,19 +5607,19 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
5607
5607
|
description?: string;
|
|
5608
5608
|
price?: number;
|
|
5609
5609
|
calories?: number;
|
|
5610
|
-
tax_tags?: any[];
|
|
5610
|
+
tax_tags?: Record<string, any>[];
|
|
5611
5611
|
is_active?: boolean;
|
|
5612
5612
|
posid?: string;
|
|
5613
5613
|
reporting?: ReportingMetadataDTO;
|
|
5614
5614
|
posid_segment?: string;
|
|
5615
5615
|
brand_id?: string;
|
|
5616
|
-
applied_diff_snapshot?: any
|
|
5616
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5617
5617
|
version?: number;
|
|
5618
5618
|
brand?: DraftBrandDTO;
|
|
5619
5619
|
changes?: ModifierChangeDTO[];
|
|
5620
5620
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5621
5621
|
weight?: WeightDTO;
|
|
5622
|
-
permissions?: any
|
|
5622
|
+
permissions?: Record<string, any>;
|
|
5623
5623
|
[index: string]: any;
|
|
5624
5624
|
}
|
|
5625
5625
|
|
|
@@ -5686,19 +5686,19 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
5686
5686
|
description?: string;
|
|
5687
5687
|
price: number;
|
|
5688
5688
|
calories?: number;
|
|
5689
|
-
tax_tags?: any[];
|
|
5689
|
+
tax_tags?: Record<string, any>[];
|
|
5690
5690
|
is_active?: boolean;
|
|
5691
5691
|
posid?: string;
|
|
5692
5692
|
reporting: ReportingMetadataDTO;
|
|
5693
5693
|
posid_segment?: string;
|
|
5694
5694
|
brand_id: string;
|
|
5695
|
-
id?: any
|
|
5696
|
-
applied_diff_snapshot?: any
|
|
5695
|
+
id?: Record<string, any>;
|
|
5696
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5697
5697
|
brand?: DraftBrandDTO;
|
|
5698
5698
|
changes?: ModifierChangeDTO[];
|
|
5699
5699
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5700
5700
|
weight?: WeightDTO;
|
|
5701
|
-
permissions?: any
|
|
5701
|
+
permissions?: Record<string, any>;
|
|
5702
5702
|
[index: string]: any;
|
|
5703
5703
|
}[];
|
|
5704
5704
|
|
|
@@ -5735,7 +5735,7 @@ export interface GetMenuV3DraftModifiersCountRequest
|
|
|
5735
5735
|
// PATCH /menu/v3/draft/modifiers/bulk-update
|
|
5736
5736
|
|
|
5737
5737
|
export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
5738
|
-
id_list: any[];
|
|
5738
|
+
id_list: Record<string, any>[];
|
|
5739
5739
|
parent?: DraftModifierDTO;
|
|
5740
5740
|
children?: DraftModifierDTO[];
|
|
5741
5741
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
@@ -5746,18 +5746,18 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
5746
5746
|
description?: string;
|
|
5747
5747
|
price?: number;
|
|
5748
5748
|
calories?: number;
|
|
5749
|
-
tax_tags?: any[];
|
|
5749
|
+
tax_tags?: Record<string, any>[];
|
|
5750
5750
|
is_active?: boolean;
|
|
5751
5751
|
posid?: string;
|
|
5752
5752
|
reporting?: ReportingMetadataDTO;
|
|
5753
5753
|
posid_segment?: string;
|
|
5754
5754
|
brand_id?: string;
|
|
5755
|
-
applied_diff_snapshot?: any
|
|
5755
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5756
5756
|
brand?: DraftBrandDTO;
|
|
5757
5757
|
changes?: ModifierChangeDTO[];
|
|
5758
5758
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5759
5759
|
weight?: WeightDTO;
|
|
5760
|
-
permissions?: any
|
|
5760
|
+
permissions?: Record<string, any>;
|
|
5761
5761
|
[index: string]: any;
|
|
5762
5762
|
}
|
|
5763
5763
|
|
|
@@ -5854,8 +5854,8 @@ export interface PostMenuV3IntegrationsTransltrImportQuery {
|
|
|
5854
5854
|
}
|
|
5855
5855
|
|
|
5856
5856
|
export interface PostMenuV3IntegrationsTransltrImportResponse {
|
|
5857
|
-
errors?: any
|
|
5858
|
-
results?: any
|
|
5857
|
+
errors?: Record<string, any>;
|
|
5858
|
+
results?: Record<string, any>;
|
|
5859
5859
|
}
|
|
5860
5860
|
|
|
5861
5861
|
export interface PostMenuV3IntegrationsTransltrImportRequest
|
|
@@ -5885,17 +5885,17 @@ export interface GetMenuV3GlobalDiffResponse {
|
|
|
5885
5885
|
deleted_at?: string;
|
|
5886
5886
|
entity_type?: string;
|
|
5887
5887
|
local_id?: string;
|
|
5888
|
-
changes?: any
|
|
5889
|
-
local_changes?: any
|
|
5890
|
-
local_snapshot?: any
|
|
5888
|
+
changes?: Record<string, any>;
|
|
5889
|
+
local_changes?: Record<string, any>;
|
|
5890
|
+
local_snapshot?: Record<string, any>;
|
|
5891
5891
|
global_id?: string;
|
|
5892
|
-
global_snapshot?: any
|
|
5892
|
+
global_snapshot?: Record<string, any>;
|
|
5893
5893
|
brand_id?: string;
|
|
5894
5894
|
version?: number;
|
|
5895
5895
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
5896
5896
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
5897
5897
|
brand?: DraftBrandDTO;
|
|
5898
|
-
permissions?: any
|
|
5898
|
+
permissions?: Record<string, any>;
|
|
5899
5899
|
[index: string]: any;
|
|
5900
5900
|
}
|
|
5901
5901
|
|