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