@compassdigital/sdk.typescript 4.4.1 → 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.d.ts.map +1 -1
- package/lib/base.js +2 -1
- 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 +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 +241 -246
- 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 +17 -22
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/partner.js +0 -6
- package/lib/interface/partner.js.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 +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 +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/base.ts +2 -1
- 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 +12 -20
- package/src/interface/mealplan.ts +1 -1
- package/src/interface/menu.ts +241 -245
- package/src/interface/notification.ts +2 -2
- package/src/interface/order.ts +3 -3
- package/src/interface/partner.ts +17 -21
- package/src/interface/payment.ts +17 -4
- 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 +5 -5
- package/src/interface/user.ts +4 -4
- package/src/interface/vendor.ts +1 -1
- package/test/client.test.ts +2 -0
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,21 +504,21 @@ 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;
|
|
522
518
|
name?: string;
|
|
523
519
|
brand_id?: string;
|
|
524
520
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
525
|
-
brand?: any
|
|
521
|
+
brand?: Record<string, any>;
|
|
526
522
|
changes?: MenuChangeDTO[];
|
|
527
523
|
vendor_metadata?: VendorMetadataDTO[];
|
|
528
524
|
permissions?: FilterFieldDTO;
|
|
@@ -530,8 +526,8 @@ export interface DraftMenuDTO {
|
|
|
530
526
|
}
|
|
531
527
|
|
|
532
528
|
export interface DraftCategoryDTO {
|
|
533
|
-
parent?: any
|
|
534
|
-
children?: any[];
|
|
529
|
+
parent?: Record<string, any>;
|
|
530
|
+
children?: Record<string, any>[];
|
|
535
531
|
id?: string;
|
|
536
532
|
parent_id?: string;
|
|
537
533
|
name?: string;
|
|
@@ -541,9 +537,9 @@ export interface DraftCategoryDTO {
|
|
|
541
537
|
brand_id?: string;
|
|
542
538
|
menu_id?: string;
|
|
543
539
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
544
|
-
menu?: any
|
|
540
|
+
menu?: Record<string, any>;
|
|
545
541
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
546
|
-
brand?: any
|
|
542
|
+
brand?: Record<string, any>;
|
|
547
543
|
changes?: CategoryChangeDTO[];
|
|
548
544
|
vendor_metadata?: VendorMetadataDTO[];
|
|
549
545
|
permissions?: FilterFieldDTO;
|
|
@@ -551,8 +547,8 @@ export interface DraftCategoryDTO {
|
|
|
551
547
|
}
|
|
552
548
|
|
|
553
549
|
export interface DraftCategoryToItemRelationshipDTO {
|
|
554
|
-
parent?: any
|
|
555
|
-
children?: any[];
|
|
550
|
+
parent?: Record<string, any>;
|
|
551
|
+
children?: Record<string, any>[];
|
|
556
552
|
id?: string;
|
|
557
553
|
parent_id?: string;
|
|
558
554
|
item_id?: string;
|
|
@@ -560,9 +556,9 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
560
556
|
brand_id?: FilterFieldDTO;
|
|
561
557
|
sequence?: number;
|
|
562
558
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
563
|
-
category?: any
|
|
559
|
+
category?: Record<string, any>;
|
|
564
560
|
item?: DraftItemDTO;
|
|
565
|
-
brand?: any
|
|
561
|
+
brand?: Record<string, any>;
|
|
566
562
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
567
563
|
vendor_metadata?: VendorMetadataDTO[];
|
|
568
564
|
permissions?: FilterFieldDTO;
|
|
@@ -570,15 +566,15 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
570
566
|
}
|
|
571
567
|
|
|
572
568
|
export interface DraftItemDTO {
|
|
573
|
-
parent?: any
|
|
574
|
-
children?: any[];
|
|
569
|
+
parent?: Record<string, any>;
|
|
570
|
+
children?: Record<string, any>[];
|
|
575
571
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
576
572
|
id?: string;
|
|
577
573
|
parent_id?: string;
|
|
578
574
|
name?: string;
|
|
579
575
|
label?: string;
|
|
580
576
|
description?: string;
|
|
581
|
-
reporting?: any
|
|
577
|
+
reporting?: Record<string, any>;
|
|
582
578
|
price?: number;
|
|
583
579
|
barcode?: string;
|
|
584
580
|
calories?: number;
|
|
@@ -589,19 +585,19 @@ export interface DraftItemDTO {
|
|
|
589
585
|
line_route?: FilterFieldDTO;
|
|
590
586
|
posid_segment?: FilterFieldDTO;
|
|
591
587
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
592
|
-
brand?: any
|
|
593
|
-
categories?: any[];
|
|
588
|
+
brand?: Record<string, any>;
|
|
589
|
+
categories?: Record<string, any>[];
|
|
594
590
|
changes?: ItemChangeDTO[];
|
|
595
591
|
vendor_metadata?: VendorMetadataDTO[];
|
|
596
592
|
attachments?: FileAttachmentsDTO;
|
|
597
|
-
weight?: any
|
|
593
|
+
weight?: Record<string, any>;
|
|
598
594
|
permissions?: FilterFieldDTO;
|
|
599
595
|
[index: string]: any;
|
|
600
596
|
}
|
|
601
597
|
|
|
602
598
|
export interface DraftItemToModifierGroupRelationshipDTO {
|
|
603
|
-
parent?: any
|
|
604
|
-
children?: any[];
|
|
599
|
+
parent?: Record<string, any>;
|
|
600
|
+
children?: Record<string, any>[];
|
|
605
601
|
id?: string;
|
|
606
602
|
parent_id?: string;
|
|
607
603
|
modifier_group_id?: string;
|
|
@@ -609,9 +605,9 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
609
605
|
brand_id?: FilterFieldDTO;
|
|
610
606
|
sequence?: number;
|
|
611
607
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
612
|
-
item?: any
|
|
608
|
+
item?: Record<string, any>;
|
|
613
609
|
modifier_group?: DraftModifierGroupDTO;
|
|
614
|
-
brand?: any
|
|
610
|
+
brand?: Record<string, any>;
|
|
615
611
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
616
612
|
vendor_metadata?: VendorMetadataDTO[];
|
|
617
613
|
permissions?: FilterFieldDTO;
|
|
@@ -619,10 +615,10 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
619
615
|
}
|
|
620
616
|
|
|
621
617
|
export interface DraftModifierGroupDTO {
|
|
622
|
-
parent?: any
|
|
623
|
-
children?: any[];
|
|
618
|
+
parent?: Record<string, any>;
|
|
619
|
+
children?: Record<string, any>[];
|
|
624
620
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
625
|
-
items?: any[];
|
|
621
|
+
items?: Record<string, any>[];
|
|
626
622
|
id?: string;
|
|
627
623
|
parent_id?: string;
|
|
628
624
|
name?: string;
|
|
@@ -632,7 +628,7 @@ export interface DraftModifierGroupDTO {
|
|
|
632
628
|
is_active?: boolean;
|
|
633
629
|
brand_id?: string;
|
|
634
630
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
635
|
-
brand?: any
|
|
631
|
+
brand?: Record<string, any>;
|
|
636
632
|
changes?: ModifierGroupChangeDTO[];
|
|
637
633
|
vendor_metadata?: VendorMetadataDTO[];
|
|
638
634
|
permissions?: FilterFieldDTO;
|
|
@@ -640,8 +636,8 @@ export interface DraftModifierGroupDTO {
|
|
|
640
636
|
}
|
|
641
637
|
|
|
642
638
|
export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
643
|
-
parent?: any
|
|
644
|
-
children?: any[];
|
|
639
|
+
parent?: Record<string, any>;
|
|
640
|
+
children?: Record<string, any>[];
|
|
645
641
|
id?: string;
|
|
646
642
|
parent_id?: string;
|
|
647
643
|
modifier_id?: string;
|
|
@@ -650,8 +646,8 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
650
646
|
sequence?: number;
|
|
651
647
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
652
648
|
modifier?: DraftModifierDTO;
|
|
653
|
-
modifier_group?: any
|
|
654
|
-
brand?: any
|
|
649
|
+
modifier_group?: Record<string, any>;
|
|
650
|
+
brand?: Record<string, any>;
|
|
655
651
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
656
652
|
vendor_metadata?: VendorMetadataDTO[];
|
|
657
653
|
permissions?: FilterFieldDTO;
|
|
@@ -659,9 +655,9 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
659
655
|
}
|
|
660
656
|
|
|
661
657
|
export interface DraftModifierDTO {
|
|
662
|
-
parent?: any
|
|
663
|
-
children?: any[];
|
|
664
|
-
modifier_groups?: any[];
|
|
658
|
+
parent?: Record<string, any>;
|
|
659
|
+
children?: Record<string, any>[];
|
|
660
|
+
modifier_groups?: Record<string, any>[];
|
|
665
661
|
id?: string;
|
|
666
662
|
parent_id?: string;
|
|
667
663
|
name?: string;
|
|
@@ -676,7 +672,7 @@ export interface DraftModifierDTO {
|
|
|
676
672
|
posid_segment?: FilterFieldDTO;
|
|
677
673
|
brand_id?: string;
|
|
678
674
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
679
|
-
brand?: any
|
|
675
|
+
brand?: Record<string, any>;
|
|
680
676
|
changes?: ModifierChangeDTO[];
|
|
681
677
|
vendor_metadata?: VendorMetadataDTO[];
|
|
682
678
|
weight?: WeightDTO;
|
|
@@ -689,28 +685,28 @@ export interface ModifierChangeDTO {
|
|
|
689
685
|
insert?: FilterFieldDTO;
|
|
690
686
|
delete?: FilterFieldDTO;
|
|
691
687
|
snapshot_entity_id?: FilterFieldDTO;
|
|
692
|
-
snapshot_entity?: any
|
|
688
|
+
snapshot_entity?: Record<string, any>;
|
|
693
689
|
permissions?: FilterFieldDTO;
|
|
694
690
|
[index: string]: any;
|
|
695
691
|
}
|
|
696
692
|
|
|
697
693
|
export interface ReportingMetadataDTO {
|
|
698
694
|
category?: ReportingCategoryMetadataDTO;
|
|
699
|
-
id?: any
|
|
695
|
+
id?: Record<string, any>;
|
|
700
696
|
[index: string]: any;
|
|
701
697
|
}
|
|
702
698
|
|
|
703
699
|
export interface ReportingCategoryMetadataDTO {
|
|
704
700
|
primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
|
|
705
701
|
secondary?: FilterFieldDTO;
|
|
706
|
-
id?: any
|
|
702
|
+
id?: Record<string, any>;
|
|
707
703
|
[index: string]: any;
|
|
708
704
|
}
|
|
709
705
|
|
|
710
706
|
export interface WeightDTO {
|
|
711
707
|
unit?: FilterFieldDTO;
|
|
712
708
|
amount?: FilterFieldDTO;
|
|
713
|
-
id?: any
|
|
709
|
+
id?: Record<string, any>;
|
|
714
710
|
[index: string]: any;
|
|
715
711
|
}
|
|
716
712
|
|
|
@@ -719,7 +715,7 @@ export interface ModifierGroupToModifierRelationshipChangeDTO {
|
|
|
719
715
|
insert?: FilterFieldDTO;
|
|
720
716
|
delete?: FilterFieldDTO;
|
|
721
717
|
snapshot_entity_id?: FilterFieldDTO;
|
|
722
|
-
snapshot_entity?: any
|
|
718
|
+
snapshot_entity?: Record<string, any>;
|
|
723
719
|
permissions?: FilterFieldDTO;
|
|
724
720
|
[index: string]: any;
|
|
725
721
|
}
|
|
@@ -729,7 +725,7 @@ export interface ModifierGroupChangeDTO {
|
|
|
729
725
|
insert?: FilterFieldDTO;
|
|
730
726
|
delete?: FilterFieldDTO;
|
|
731
727
|
snapshot_entity_id?: FilterFieldDTO;
|
|
732
|
-
snapshot_entity?: any
|
|
728
|
+
snapshot_entity?: Record<string, any>;
|
|
733
729
|
permissions?: FilterFieldDTO;
|
|
734
730
|
[index: string]: any;
|
|
735
731
|
}
|
|
@@ -739,7 +735,7 @@ export interface ItemToModifierGroupRelationshipChangeDTO {
|
|
|
739
735
|
insert?: FilterFieldDTO;
|
|
740
736
|
delete?: FilterFieldDTO;
|
|
741
737
|
snapshot_entity_id?: FilterFieldDTO;
|
|
742
|
-
snapshot_entity?: any
|
|
738
|
+
snapshot_entity?: Record<string, any>;
|
|
743
739
|
permissions?: FilterFieldDTO;
|
|
744
740
|
[index: string]: any;
|
|
745
741
|
}
|
|
@@ -749,14 +745,14 @@ export interface ItemChangeDTO {
|
|
|
749
745
|
insert?: FilterFieldDTO;
|
|
750
746
|
delete?: FilterFieldDTO;
|
|
751
747
|
snapshot_entity_id?: FilterFieldDTO;
|
|
752
|
-
snapshot_entity?: any
|
|
748
|
+
snapshot_entity?: Record<string, any>;
|
|
753
749
|
permissions?: FilterFieldDTO;
|
|
754
750
|
[index: string]: any;
|
|
755
751
|
}
|
|
756
752
|
|
|
757
753
|
export interface FileAttachmentsDTO {
|
|
758
754
|
thumbnail?: FilterFieldDTO;
|
|
759
|
-
id?: any
|
|
755
|
+
id?: Record<string, any>;
|
|
760
756
|
[index: string]: any;
|
|
761
757
|
}
|
|
762
758
|
|
|
@@ -765,7 +761,7 @@ export interface CategoryToItemRelationshipChangeDTO {
|
|
|
765
761
|
insert?: FilterFieldDTO;
|
|
766
762
|
delete?: FilterFieldDTO;
|
|
767
763
|
snapshot_entity_id?: FilterFieldDTO;
|
|
768
|
-
snapshot_entity?: any
|
|
764
|
+
snapshot_entity?: Record<string, any>;
|
|
769
765
|
permissions?: FilterFieldDTO;
|
|
770
766
|
[index: string]: any;
|
|
771
767
|
}
|
|
@@ -775,7 +771,7 @@ export interface CategoryChangeDTO {
|
|
|
775
771
|
insert?: FilterFieldDTO;
|
|
776
772
|
delete?: FilterFieldDTO;
|
|
777
773
|
snapshot_entity_id?: FilterFieldDTO;
|
|
778
|
-
snapshot_entity?: any
|
|
774
|
+
snapshot_entity?: Record<string, any>;
|
|
779
775
|
permissions?: FilterFieldDTO;
|
|
780
776
|
[index: string]: any;
|
|
781
777
|
}
|
|
@@ -785,7 +781,7 @@ export interface MenuChangeDTO {
|
|
|
785
781
|
insert?: FilterFieldDTO;
|
|
786
782
|
delete?: FilterFieldDTO;
|
|
787
783
|
snapshot_entity_id?: FilterFieldDTO;
|
|
788
|
-
snapshot_entity?: any
|
|
784
|
+
snapshot_entity?: Record<string, any>;
|
|
789
785
|
permissions?: FilterFieldDTO;
|
|
790
786
|
[index: string]: any;
|
|
791
787
|
}
|
|
@@ -796,7 +792,7 @@ export interface BrandStatusDTO {
|
|
|
796
792
|
status?: string;
|
|
797
793
|
metadata?: FilterFieldDTO;
|
|
798
794
|
id?: string;
|
|
799
|
-
brand?: any
|
|
795
|
+
brand?: Record<string, any>;
|
|
800
796
|
permissions?: FilterFieldDTO;
|
|
801
797
|
[index: string]: any;
|
|
802
798
|
}
|
|
@@ -811,8 +807,8 @@ export interface DraftMenuDraftMenuDTO {
|
|
|
811
807
|
created_at?: FilterFieldDTO;
|
|
812
808
|
updated_at?: FilterFieldDTO;
|
|
813
809
|
deleted_at?: FilterFieldDTO;
|
|
814
|
-
parent?: any
|
|
815
|
-
children?: any[];
|
|
810
|
+
parent?: Record<string, any>;
|
|
811
|
+
children?: Record<string, any>[];
|
|
816
812
|
categories?: DraftCategoryDTO[];
|
|
817
813
|
brand?: DraftBrandDTO;
|
|
818
814
|
changes?: MenuChangeDTO[];
|
|
@@ -839,8 +835,8 @@ export interface DraftModifierDraftModifierDTO {
|
|
|
839
835
|
created_at?: FilterFieldDTO;
|
|
840
836
|
updated_at?: FilterFieldDTO;
|
|
841
837
|
deleted_at?: FilterFieldDTO;
|
|
842
|
-
parent?: any
|
|
843
|
-
children?: any[];
|
|
838
|
+
parent?: Record<string, any>;
|
|
839
|
+
children?: Record<string, any>[];
|
|
844
840
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
845
841
|
brand?: DraftBrandDTO;
|
|
846
842
|
changes?: ModifierChangeDTO[];
|
|
@@ -865,8 +861,8 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
|
865
861
|
created_at?: FilterFieldDTO;
|
|
866
862
|
updated_at?: FilterFieldDTO;
|
|
867
863
|
deleted_at?: FilterFieldDTO;
|
|
868
|
-
parent?: any
|
|
869
|
-
children?: any[];
|
|
864
|
+
parent?: Record<string, any>;
|
|
865
|
+
children?: Record<string, any>[];
|
|
870
866
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
871
867
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
872
868
|
brand?: DraftBrandDTO;
|
|
@@ -896,8 +892,8 @@ export interface DraftItemDraftItemDTO {
|
|
|
896
892
|
created_at?: FilterFieldDTO;
|
|
897
893
|
updated_at?: FilterFieldDTO;
|
|
898
894
|
deleted_at?: FilterFieldDTO;
|
|
899
|
-
parent?: any
|
|
900
|
-
children?: any[];
|
|
895
|
+
parent?: Record<string, any>;
|
|
896
|
+
children?: Record<string, any>[];
|
|
901
897
|
brand?: DraftBrandDTO;
|
|
902
898
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
903
899
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -920,7 +916,7 @@ export interface GlobalDiffDependencyDTO {
|
|
|
920
916
|
is_depended_by_id?: string;
|
|
921
917
|
id?: string;
|
|
922
918
|
depends_on?: GlobalDiffGlobalDiffDTO;
|
|
923
|
-
is_depended_by?: any
|
|
919
|
+
is_depended_by?: Record<string, any>;
|
|
924
920
|
permissions?: FilterFieldDTO;
|
|
925
921
|
[index: string]: any;
|
|
926
922
|
}
|
|
@@ -940,8 +936,8 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
940
936
|
created_at?: FilterFieldDTO;
|
|
941
937
|
updated_at?: FilterFieldDTO;
|
|
942
938
|
deleted_at?: FilterFieldDTO;
|
|
943
|
-
depends_on?: any[];
|
|
944
|
-
is_depended_by?: any[];
|
|
939
|
+
depends_on?: Record<string, any>[];
|
|
940
|
+
is_depended_by?: Record<string, any>[];
|
|
945
941
|
brand?: DraftBrandDTO;
|
|
946
942
|
permissions?: FilterFieldDTO;
|
|
947
943
|
[index: string]: any;
|
|
@@ -953,21 +949,21 @@ export interface DiffDTO {
|
|
|
953
949
|
created_at?: string;
|
|
954
950
|
updated_at?: string;
|
|
955
951
|
deleted_at?: string;
|
|
956
|
-
child_nodes?: any[];
|
|
952
|
+
child_nodes?: Record<string, any>[];
|
|
957
953
|
name?: string;
|
|
958
954
|
entity_type?: string;
|
|
959
955
|
local_id?: string;
|
|
960
|
-
changes?: any
|
|
961
|
-
local_changes?: any
|
|
962
|
-
local_snapshot?: any
|
|
956
|
+
changes?: Record<string, any>;
|
|
957
|
+
local_changes?: Record<string, any>;
|
|
958
|
+
local_snapshot?: Record<string, any>;
|
|
963
959
|
global_id?: string;
|
|
964
|
-
global_snapshot?: any
|
|
960
|
+
global_snapshot?: Record<string, any>;
|
|
965
961
|
brand_id?: string;
|
|
966
962
|
version?: number;
|
|
967
963
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
968
964
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
969
965
|
brand?: DraftBrandDTO;
|
|
970
|
-
permissions?: any
|
|
966
|
+
permissions?: Record<string, any>;
|
|
971
967
|
[index: string]: any;
|
|
972
968
|
}
|
|
973
969
|
|
|
@@ -982,7 +978,7 @@ export interface PublishedMenuDTO {
|
|
|
982
978
|
parent_id?: string;
|
|
983
979
|
name?: string;
|
|
984
980
|
brand_id?: string;
|
|
985
|
-
permissions?: any
|
|
981
|
+
permissions?: Record<string, any>;
|
|
986
982
|
[index: string]: any;
|
|
987
983
|
}
|
|
988
984
|
|
|
@@ -995,7 +991,7 @@ export interface PublishedCategoryDTO {
|
|
|
995
991
|
is_active?: boolean;
|
|
996
992
|
brand_id?: string;
|
|
997
993
|
menu_id?: string;
|
|
998
|
-
permissions?: any
|
|
994
|
+
permissions?: Record<string, any>;
|
|
999
995
|
[index: string]: any;
|
|
1000
996
|
}
|
|
1001
997
|
|
|
@@ -1006,7 +1002,7 @@ export interface PublishedCategoryToItemRelationshipDTO {
|
|
|
1006
1002
|
category_id?: string;
|
|
1007
1003
|
brand_id?: string;
|
|
1008
1004
|
sequence?: number;
|
|
1009
|
-
permissions?: any
|
|
1005
|
+
permissions?: Record<string, any>;
|
|
1010
1006
|
[index: string]: any;
|
|
1011
1007
|
}
|
|
1012
1008
|
|
|
@@ -1021,11 +1017,11 @@ export interface PublishedItemDTO {
|
|
|
1021
1017
|
calories?: number;
|
|
1022
1018
|
is_active?: boolean;
|
|
1023
1019
|
posid?: string;
|
|
1024
|
-
tax_tags?: any[];
|
|
1020
|
+
tax_tags?: Record<string, any>[];
|
|
1025
1021
|
brand_id?: string;
|
|
1026
1022
|
line_route?: string;
|
|
1027
1023
|
posid_segment?: string;
|
|
1028
|
-
permissions?: any
|
|
1024
|
+
permissions?: Record<string, any>;
|
|
1029
1025
|
[index: string]: any;
|
|
1030
1026
|
}
|
|
1031
1027
|
|
|
@@ -1036,7 +1032,7 @@ export interface PublishedItemToModifierGroupRelationshipDTO {
|
|
|
1036
1032
|
item_id?: string;
|
|
1037
1033
|
brand_id?: string;
|
|
1038
1034
|
sequence?: number;
|
|
1039
|
-
permissions?: any
|
|
1035
|
+
permissions?: Record<string, any>;
|
|
1040
1036
|
[index: string]: any;
|
|
1041
1037
|
}
|
|
1042
1038
|
|
|
@@ -1049,7 +1045,7 @@ export interface PublishedModifierGroupDTO {
|
|
|
1049
1045
|
max?: number;
|
|
1050
1046
|
is_active?: boolean;
|
|
1051
1047
|
brand_id?: string;
|
|
1052
|
-
permissions?: any
|
|
1048
|
+
permissions?: Record<string, any>;
|
|
1053
1049
|
[index: string]: any;
|
|
1054
1050
|
}
|
|
1055
1051
|
|
|
@@ -1060,7 +1056,7 @@ export interface PublishedModifierGroupToModifierRelationshipDTO {
|
|
|
1060
1056
|
modifier_group_id?: string;
|
|
1061
1057
|
brand_id?: string;
|
|
1062
1058
|
sequence?: number;
|
|
1063
|
-
permissions?: any
|
|
1059
|
+
permissions?: Record<string, any>;
|
|
1064
1060
|
[index: string]: any;
|
|
1065
1061
|
}
|
|
1066
1062
|
|
|
@@ -1072,12 +1068,12 @@ export interface PublishedModifierDTO {
|
|
|
1072
1068
|
description?: string;
|
|
1073
1069
|
price?: number;
|
|
1074
1070
|
calories?: number;
|
|
1075
|
-
tax_tags?: any[];
|
|
1071
|
+
tax_tags?: Record<string, any>[];
|
|
1076
1072
|
is_active?: boolean;
|
|
1077
1073
|
posid?: string;
|
|
1078
1074
|
posid_segment?: string;
|
|
1079
1075
|
brand_id?: string;
|
|
1080
|
-
permissions?: any
|
|
1076
|
+
permissions?: Record<string, any>;
|
|
1081
1077
|
[index: string]: any;
|
|
1082
1078
|
}
|
|
1083
1079
|
|
|
@@ -1095,8 +1091,8 @@ export interface PublishedBrandPublishedBrandDTO {
|
|
|
1095
1091
|
created_at?: FilterFieldDTO;
|
|
1096
1092
|
updated_at?: FilterFieldDTO;
|
|
1097
1093
|
deleted_at?: FilterFieldDTO;
|
|
1098
|
-
parent?: any
|
|
1099
|
-
children?: any[];
|
|
1094
|
+
parent?: Record<string, any>;
|
|
1095
|
+
children?: Record<string, any>[];
|
|
1100
1096
|
local_menu_group?: LocalMenuGroupDTO;
|
|
1101
1097
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
1102
1098
|
menus?: PublishedMenuDTO[];
|
|
@@ -1126,8 +1122,8 @@ export interface DraftCategoryDraftCategoryDTO {
|
|
|
1126
1122
|
created_at?: FilterFieldDTO;
|
|
1127
1123
|
updated_at?: FilterFieldDTO;
|
|
1128
1124
|
deleted_at?: FilterFieldDTO;
|
|
1129
|
-
parent?: any
|
|
1130
|
-
children?: any[];
|
|
1125
|
+
parent?: Record<string, any>;
|
|
1126
|
+
children?: Record<string, any>[];
|
|
1131
1127
|
menu?: DraftMenuDTO;
|
|
1132
1128
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
1133
1129
|
brand?: DraftBrandDTO;
|
|
@@ -1146,8 +1142,8 @@ export interface PublishedMenuPublishedMenuDTO {
|
|
|
1146
1142
|
created_at?: FilterFieldDTO;
|
|
1147
1143
|
updated_at?: FilterFieldDTO;
|
|
1148
1144
|
deleted_at?: FilterFieldDTO;
|
|
1149
|
-
parent?: any
|
|
1150
|
-
children?: any[];
|
|
1145
|
+
parent?: Record<string, any>;
|
|
1146
|
+
children?: Record<string, any>[];
|
|
1151
1147
|
categories?: PublishedCategoryDTO[];
|
|
1152
1148
|
brand?: PublishedBrandDTO;
|
|
1153
1149
|
permissions?: FilterFieldDTO;
|
|
@@ -1167,8 +1163,8 @@ export interface PublishedCategoryPublishedCategoryDTO {
|
|
|
1167
1163
|
created_at?: FilterFieldDTO;
|
|
1168
1164
|
updated_at?: FilterFieldDTO;
|
|
1169
1165
|
deleted_at?: FilterFieldDTO;
|
|
1170
|
-
parent?: any
|
|
1171
|
-
children?: any[];
|
|
1166
|
+
parent?: Record<string, any>;
|
|
1167
|
+
children?: Record<string, any>[];
|
|
1172
1168
|
menu?: PublishedMenuDTO;
|
|
1173
1169
|
items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1174
1170
|
brand?: PublishedBrandDTO;
|
|
@@ -1188,8 +1184,8 @@ export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipD
|
|
|
1188
1184
|
version?: FilterFieldDTO;
|
|
1189
1185
|
created_at?: FilterFieldDTO;
|
|
1190
1186
|
updated_at?: FilterFieldDTO;
|
|
1191
|
-
parent?: any
|
|
1192
|
-
children?: any[];
|
|
1187
|
+
parent?: Record<string, any>;
|
|
1188
|
+
children?: Record<string, any>[];
|
|
1193
1189
|
category?: DraftCategoryDTO;
|
|
1194
1190
|
item?: DraftItemDTO;
|
|
1195
1191
|
brand?: DraftBrandDTO;
|
|
@@ -1210,8 +1206,8 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
|
|
|
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?: PublishedCategoryDTO;
|
|
1216
1212
|
item?: PublishedItemDTO;
|
|
1217
1213
|
brand?: PublishedBrandDTO;
|
|
@@ -1237,11 +1233,11 @@ export interface DraftItemEntityDTO {
|
|
|
1237
1233
|
calories?: number;
|
|
1238
1234
|
is_active?: boolean;
|
|
1239
1235
|
posid?: string;
|
|
1240
|
-
tax_tags?: any[];
|
|
1236
|
+
tax_tags?: Record<string, any>[];
|
|
1241
1237
|
brand_id: string;
|
|
1242
1238
|
line_route?: string;
|
|
1243
1239
|
posid_segment?: string;
|
|
1244
|
-
applied_diff_snapshot?: any
|
|
1240
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1245
1241
|
version?: number;
|
|
1246
1242
|
brand?: DraftBrandDTO;
|
|
1247
1243
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -1249,7 +1245,7 @@ export interface DraftItemEntityDTO {
|
|
|
1249
1245
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1250
1246
|
attachments?: FileAttachmentsDTO;
|
|
1251
1247
|
weight?: WeightDTO;
|
|
1252
|
-
permissions?: any
|
|
1248
|
+
permissions?: Record<string, any>;
|
|
1253
1249
|
[index: string]: any;
|
|
1254
1250
|
}
|
|
1255
1251
|
|
|
@@ -1272,8 +1268,8 @@ export interface PublishedItemPublishedItemDTO {
|
|
|
1272
1268
|
created_at?: FilterFieldDTO;
|
|
1273
1269
|
updated_at?: FilterFieldDTO;
|
|
1274
1270
|
deleted_at?: FilterFieldDTO;
|
|
1275
|
-
parent?: any
|
|
1276
|
-
children?: any[];
|
|
1271
|
+
parent?: Record<string, any>;
|
|
1272
|
+
children?: Record<string, any>[];
|
|
1277
1273
|
brand?: PublishedBrandDTO;
|
|
1278
1274
|
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
1279
1275
|
modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
@@ -1296,8 +1292,8 @@ export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRel
|
|
|
1296
1292
|
version?: FilterFieldDTO;
|
|
1297
1293
|
created_at?: FilterFieldDTO;
|
|
1298
1294
|
updated_at?: FilterFieldDTO;
|
|
1299
|
-
parent?: any
|
|
1300
|
-
children?: any[];
|
|
1295
|
+
parent?: Record<string, any>;
|
|
1296
|
+
children?: Record<string, any>[];
|
|
1301
1297
|
item?: DraftItemDTO;
|
|
1302
1298
|
modifier_group?: DraftModifierGroupDTO;
|
|
1303
1299
|
brand?: DraftBrandDTO;
|
|
@@ -1318,8 +1314,8 @@ export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifier
|
|
|
1318
1314
|
version?: FilterFieldDTO;
|
|
1319
1315
|
created_at?: FilterFieldDTO;
|
|
1320
1316
|
updated_at?: FilterFieldDTO;
|
|
1321
|
-
parent?: any
|
|
1322
|
-
children?: any[];
|
|
1317
|
+
parent?: Record<string, any>;
|
|
1318
|
+
children?: Record<string, any>[];
|
|
1323
1319
|
item?: PublishedItemDTO;
|
|
1324
1320
|
modifier_group?: PublishedModifierGroupDTO;
|
|
1325
1321
|
brand?: PublishedBrandDTO;
|
|
@@ -1340,8 +1336,8 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
|
|
|
1340
1336
|
created_at?: FilterFieldDTO;
|
|
1341
1337
|
updated_at?: FilterFieldDTO;
|
|
1342
1338
|
deleted_at?: FilterFieldDTO;
|
|
1343
|
-
parent?: any
|
|
1344
|
-
children?: any[];
|
|
1339
|
+
parent?: Record<string, any>;
|
|
1340
|
+
children?: Record<string, any>[];
|
|
1345
1341
|
modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1346
1342
|
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1347
1343
|
brand?: PublishedBrandDTO;
|
|
@@ -1361,8 +1357,8 @@ export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToMod
|
|
|
1361
1357
|
version?: FilterFieldDTO;
|
|
1362
1358
|
created_at?: FilterFieldDTO;
|
|
1363
1359
|
updated_at?: FilterFieldDTO;
|
|
1364
|
-
parent?: any
|
|
1365
|
-
children?: any[];
|
|
1360
|
+
parent?: Record<string, any>;
|
|
1361
|
+
children?: Record<string, any>[];
|
|
1366
1362
|
modifier?: DraftModifierDTO;
|
|
1367
1363
|
modifier_group?: DraftModifierGroupDTO;
|
|
1368
1364
|
brand?: DraftBrandDTO;
|
|
@@ -1383,8 +1379,8 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
|
|
|
1383
1379
|
version?: FilterFieldDTO;
|
|
1384
1380
|
created_at?: FilterFieldDTO;
|
|
1385
1381
|
updated_at?: FilterFieldDTO;
|
|
1386
|
-
parent?: any
|
|
1387
|
-
children?: any[];
|
|
1382
|
+
parent?: Record<string, any>;
|
|
1383
|
+
children?: Record<string, any>[];
|
|
1388
1384
|
modifier_group?: PublishedModifierGroupDTO;
|
|
1389
1385
|
modifier?: PublishedModifierDTO;
|
|
1390
1386
|
brand?: PublishedBrandDTO;
|
|
@@ -1406,19 +1402,19 @@ export interface DraftModifierEntityDTO {
|
|
|
1406
1402
|
description?: string;
|
|
1407
1403
|
price: number;
|
|
1408
1404
|
calories?: number;
|
|
1409
|
-
tax_tags?: any[];
|
|
1405
|
+
tax_tags?: Record<string, any>[];
|
|
1410
1406
|
is_active?: boolean;
|
|
1411
1407
|
posid?: string;
|
|
1412
1408
|
reporting: ReportingMetadataDTO;
|
|
1413
1409
|
posid_segment?: string;
|
|
1414
1410
|
brand_id: string;
|
|
1415
|
-
applied_diff_snapshot?: any
|
|
1411
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1416
1412
|
version?: number;
|
|
1417
1413
|
brand?: DraftBrandDTO;
|
|
1418
1414
|
changes?: ModifierChangeDTO[];
|
|
1419
1415
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1420
1416
|
weight?: WeightDTO;
|
|
1421
|
-
permissions?: any
|
|
1417
|
+
permissions?: Record<string, any>;
|
|
1422
1418
|
[index: string]: any;
|
|
1423
1419
|
}
|
|
1424
1420
|
|
|
@@ -1439,8 +1435,8 @@ export interface PublishedModifierPublishedModifierDTO {
|
|
|
1439
1435
|
created_at?: FilterFieldDTO;
|
|
1440
1436
|
updated_at?: FilterFieldDTO;
|
|
1441
1437
|
deleted_at?: FilterFieldDTO;
|
|
1442
|
-
parent?: any
|
|
1443
|
-
children?: any[];
|
|
1438
|
+
parent?: Record<string, any>;
|
|
1439
|
+
children?: Record<string, any>[];
|
|
1444
1440
|
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1445
1441
|
brand?: PublishedBrandDTO;
|
|
1446
1442
|
reporting?: ReportingMetadataDTO;
|
|
@@ -1457,17 +1453,17 @@ export interface GlobalDiffDTO {
|
|
|
1457
1453
|
deleted_at?: string;
|
|
1458
1454
|
entity_type?: string;
|
|
1459
1455
|
local_id?: string;
|
|
1460
|
-
changes?: any
|
|
1461
|
-
local_changes?: any
|
|
1462
|
-
local_snapshot?: any
|
|
1456
|
+
changes?: Record<string, any>;
|
|
1457
|
+
local_changes?: Record<string, any>;
|
|
1458
|
+
local_snapshot?: Record<string, any>;
|
|
1463
1459
|
global_id?: string;
|
|
1464
|
-
global_snapshot?: any
|
|
1460
|
+
global_snapshot?: Record<string, any>;
|
|
1465
1461
|
brand_id?: string;
|
|
1466
1462
|
version?: number;
|
|
1467
1463
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
1468
1464
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
1469
1465
|
brand?: DraftBrandDTO;
|
|
1470
|
-
permissions?: any
|
|
1466
|
+
permissions?: Record<string, any>;
|
|
1471
1467
|
[index: string]: any;
|
|
1472
1468
|
}
|
|
1473
1469
|
|
|
@@ -1523,7 +1519,7 @@ export interface GetMenuHeadersQuery {
|
|
|
1523
1519
|
_query?: string;
|
|
1524
1520
|
}
|
|
1525
1521
|
|
|
1526
|
-
export type GetMenuHeadersResponse = any
|
|
1522
|
+
export type GetMenuHeadersResponse = Record<string, any>;
|
|
1527
1523
|
|
|
1528
1524
|
export interface GetMenuHeadersRequest
|
|
1529
1525
|
extends BaseRequest,
|
|
@@ -1994,7 +1990,7 @@ export interface PostMenuV3LocalMenuGroupBody {
|
|
|
1994
1990
|
draft_brands?: DraftBrandDTO[];
|
|
1995
1991
|
published_brands?: PublishedBrandDTO[];
|
|
1996
1992
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1997
|
-
permissions?: any
|
|
1993
|
+
permissions?: Record<string, any>;
|
|
1998
1994
|
[index: string]: any;
|
|
1999
1995
|
}
|
|
2000
1996
|
|
|
@@ -2010,7 +2006,7 @@ export interface PostMenuV3LocalMenuGroupResponse {
|
|
|
2010
2006
|
deleted_at?: string;
|
|
2011
2007
|
version?: number;
|
|
2012
2008
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2013
|
-
permissions?: any
|
|
2009
|
+
permissions?: Record<string, any>;
|
|
2014
2010
|
[index: string]: any;
|
|
2015
2011
|
}
|
|
2016
2012
|
|
|
@@ -2045,7 +2041,7 @@ export interface GetMenuV3LocalMenuGroupResponse {
|
|
|
2045
2041
|
deleted_at?: string;
|
|
2046
2042
|
version?: number;
|
|
2047
2043
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2048
|
-
permissions?: any
|
|
2044
|
+
permissions?: Record<string, any>;
|
|
2049
2045
|
[index: string]: any;
|
|
2050
2046
|
}
|
|
2051
2047
|
|
|
@@ -2069,7 +2065,7 @@ export interface PatchMenuV3LocalMenuGroupBody {
|
|
|
2069
2065
|
id?: string;
|
|
2070
2066
|
version?: number;
|
|
2071
2067
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2072
|
-
permissions?: any
|
|
2068
|
+
permissions?: Record<string, any>;
|
|
2073
2069
|
[index: string]: any;
|
|
2074
2070
|
}
|
|
2075
2071
|
|
|
@@ -2085,7 +2081,7 @@ export interface PatchMenuV3LocalMenuGroupResponse {
|
|
|
2085
2081
|
deleted_at?: string;
|
|
2086
2082
|
version?: number;
|
|
2087
2083
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2088
|
-
permissions?: any
|
|
2084
|
+
permissions?: Record<string, any>;
|
|
2089
2085
|
[index: string]: any;
|
|
2090
2086
|
}
|
|
2091
2087
|
|
|
@@ -2113,7 +2109,7 @@ export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
|
2113
2109
|
deleted_at?: string;
|
|
2114
2110
|
version?: number;
|
|
2115
2111
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2116
|
-
permissions?: any
|
|
2112
|
+
permissions?: Record<string, any>;
|
|
2117
2113
|
[index: string]: any;
|
|
2118
2114
|
}
|
|
2119
2115
|
|
|
@@ -2162,9 +2158,9 @@ export type PostMenuV3LocalMenuGroupsBody = {
|
|
|
2162
2158
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2163
2159
|
draft_brands?: DraftBrandDTO[];
|
|
2164
2160
|
published_brands?: PublishedBrandDTO[];
|
|
2165
|
-
id?: any
|
|
2161
|
+
id?: Record<string, any>;
|
|
2166
2162
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2167
|
-
permissions?: any
|
|
2163
|
+
permissions?: Record<string, any>;
|
|
2168
2164
|
[index: string]: any;
|
|
2169
2165
|
}[];
|
|
2170
2166
|
|
|
@@ -2359,7 +2355,7 @@ export interface PostMenuV3GlobalMenuGroupBody {
|
|
|
2359
2355
|
published_brands?: PublishedBrandDTO[];
|
|
2360
2356
|
posid_segment: string;
|
|
2361
2357
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2362
|
-
permissions?: any
|
|
2358
|
+
permissions?: Record<string, any>;
|
|
2363
2359
|
[index: string]: any;
|
|
2364
2360
|
}
|
|
2365
2361
|
|
|
@@ -2407,7 +2403,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
|
|
|
2407
2403
|
id?: string;
|
|
2408
2404
|
version?: number;
|
|
2409
2405
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2410
|
-
permissions?: any
|
|
2406
|
+
permissions?: Record<string, any>;
|
|
2411
2407
|
[index: string]: any;
|
|
2412
2408
|
}
|
|
2413
2409
|
|
|
@@ -2442,7 +2438,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
|
|
|
2442
2438
|
deleted_at?: string;
|
|
2443
2439
|
version?: number;
|
|
2444
2440
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2445
|
-
permissions?: any
|
|
2441
|
+
permissions?: Record<string, any>;
|
|
2446
2442
|
[index: string]: any;
|
|
2447
2443
|
}
|
|
2448
2444
|
|
|
@@ -2493,9 +2489,9 @@ export type PostMenuV3GlobalMenuGroupsBody = {
|
|
|
2493
2489
|
draft_brands?: DraftBrandDTO[];
|
|
2494
2490
|
published_brands?: PublishedBrandDTO[];
|
|
2495
2491
|
posid_segment: string;
|
|
2496
|
-
id?: any
|
|
2492
|
+
id?: Record<string, any>;
|
|
2497
2493
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2498
|
-
permissions?: any
|
|
2494
|
+
permissions?: Record<string, any>;
|
|
2499
2495
|
[index: string]: any;
|
|
2500
2496
|
}[];
|
|
2501
2497
|
|
|
@@ -2627,13 +2623,13 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
2627
2623
|
local_menu_group_id?: string;
|
|
2628
2624
|
global_menu_group_id?: string;
|
|
2629
2625
|
posid_segment?: string;
|
|
2630
|
-
id?: any
|
|
2626
|
+
id?: Record<string, any>;
|
|
2631
2627
|
changes?: BrandChangeDTO[];
|
|
2632
2628
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2633
2629
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2634
2630
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2635
2631
|
attachments?: FileAttachmentsDTO;
|
|
2636
|
-
permissions?: any
|
|
2632
|
+
permissions?: Record<string, any>;
|
|
2637
2633
|
[index: string]: any;
|
|
2638
2634
|
}
|
|
2639
2635
|
|
|
@@ -2698,7 +2694,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2698
2694
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2699
2695
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2700
2696
|
attachments?: FileAttachmentsDTO;
|
|
2701
|
-
permissions?: any
|
|
2697
|
+
permissions?: Record<string, any>;
|
|
2702
2698
|
[index: string]: any;
|
|
2703
2699
|
}
|
|
2704
2700
|
|
|
@@ -2773,13 +2769,13 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2773
2769
|
local_menu_group_id?: string;
|
|
2774
2770
|
global_menu_group_id?: string;
|
|
2775
2771
|
posid_segment?: string;
|
|
2776
|
-
id?: any
|
|
2772
|
+
id?: Record<string, any>;
|
|
2777
2773
|
changes?: BrandChangeDTO[];
|
|
2778
2774
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2779
2775
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2780
2776
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2781
2777
|
attachments?: FileAttachmentsDTO;
|
|
2782
|
-
permissions?: any
|
|
2778
|
+
permissions?: Record<string, any>;
|
|
2783
2779
|
[index: string]: any;
|
|
2784
2780
|
}[];
|
|
2785
2781
|
|
|
@@ -3135,11 +3131,11 @@ export interface PostMenuV3BrandBody {
|
|
|
3135
3131
|
local_menu_group_id?: string;
|
|
3136
3132
|
global_menu_group_id?: string;
|
|
3137
3133
|
posid_segment?: string;
|
|
3138
|
-
id?: any
|
|
3134
|
+
id?: Record<string, any>;
|
|
3139
3135
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3140
3136
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3141
3137
|
attachments?: FileAttachmentsDTO;
|
|
3142
|
-
permissions?: any
|
|
3138
|
+
permissions?: Record<string, any>;
|
|
3143
3139
|
[index: string]: any;
|
|
3144
3140
|
}
|
|
3145
3141
|
|
|
@@ -3206,7 +3202,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
3206
3202
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3207
3203
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3208
3204
|
attachments?: FileAttachmentsDTO;
|
|
3209
|
-
permissions?: any
|
|
3205
|
+
permissions?: Record<string, any>;
|
|
3210
3206
|
[index: string]: any;
|
|
3211
3207
|
}
|
|
3212
3208
|
|
|
@@ -3293,11 +3289,11 @@ export type PostMenuV3BrandsBody = {
|
|
|
3293
3289
|
local_menu_group_id?: string;
|
|
3294
3290
|
global_menu_group_id?: string;
|
|
3295
3291
|
posid_segment?: string;
|
|
3296
|
-
id?: any
|
|
3292
|
+
id?: Record<string, any>;
|
|
3297
3293
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3298
3294
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3299
3295
|
attachments?: FileAttachmentsDTO;
|
|
3300
|
-
permissions?: any
|
|
3296
|
+
permissions?: Record<string, any>;
|
|
3301
3297
|
[index: string]: any;
|
|
3302
3298
|
}[];
|
|
3303
3299
|
|
|
@@ -3528,7 +3524,7 @@ export interface PostMenuV3BrandLocalResponse {
|
|
|
3528
3524
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3529
3525
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3530
3526
|
attachments?: FileAttachmentsDTO;
|
|
3531
|
-
permissions?: any
|
|
3527
|
+
permissions?: Record<string, any>;
|
|
3532
3528
|
[index: string]: any;
|
|
3533
3529
|
}
|
|
3534
3530
|
|
|
@@ -3546,12 +3542,12 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
3546
3542
|
parent_id?: string;
|
|
3547
3543
|
name: string;
|
|
3548
3544
|
brand_id: string;
|
|
3549
|
-
id?: any
|
|
3550
|
-
applied_diff_snapshot?: any
|
|
3545
|
+
id?: Record<string, any>;
|
|
3546
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3551
3547
|
brand?: DraftBrandDTO;
|
|
3552
3548
|
changes?: MenuChangeDTO[];
|
|
3553
3549
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3554
|
-
permissions?: any
|
|
3550
|
+
permissions?: Record<string, any>;
|
|
3555
3551
|
[index: string]: any;
|
|
3556
3552
|
}
|
|
3557
3553
|
|
|
@@ -3597,12 +3593,12 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
3597
3593
|
parent_id?: string;
|
|
3598
3594
|
name?: string;
|
|
3599
3595
|
brand_id?: string;
|
|
3600
|
-
applied_diff_snapshot?: any
|
|
3596
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3601
3597
|
version?: number;
|
|
3602
3598
|
brand?: DraftBrandDTO;
|
|
3603
3599
|
changes?: MenuChangeDTO[];
|
|
3604
3600
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3605
|
-
permissions?: any
|
|
3601
|
+
permissions?: Record<string, any>;
|
|
3606
3602
|
[index: string]: any;
|
|
3607
3603
|
}
|
|
3608
3604
|
|
|
@@ -3664,12 +3660,12 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
3664
3660
|
parent_id?: string;
|
|
3665
3661
|
name: string;
|
|
3666
3662
|
brand_id: string;
|
|
3667
|
-
id?: any
|
|
3668
|
-
applied_diff_snapshot?: any
|
|
3663
|
+
id?: Record<string, any>;
|
|
3664
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3669
3665
|
brand?: DraftBrandDTO;
|
|
3670
3666
|
changes?: MenuChangeDTO[];
|
|
3671
3667
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3672
|
-
permissions?: any
|
|
3668
|
+
permissions?: Record<string, any>;
|
|
3673
3669
|
[index: string]: any;
|
|
3674
3670
|
}[];
|
|
3675
3671
|
|
|
@@ -3882,14 +3878,14 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
3882
3878
|
is_active?: boolean;
|
|
3883
3879
|
brand_id: string;
|
|
3884
3880
|
menu_id: string;
|
|
3885
|
-
id?: any
|
|
3886
|
-
applied_diff_snapshot?: any
|
|
3881
|
+
id?: Record<string, any>;
|
|
3882
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3887
3883
|
menu?: DraftMenuDTO;
|
|
3888
3884
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
3889
3885
|
brand?: DraftBrandDTO;
|
|
3890
3886
|
changes?: CategoryChangeDTO[];
|
|
3891
3887
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3892
|
-
permissions?: any
|
|
3888
|
+
permissions?: Record<string, any>;
|
|
3893
3889
|
[index: string]: any;
|
|
3894
3890
|
}
|
|
3895
3891
|
|
|
@@ -3938,14 +3934,14 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
3938
3934
|
is_active?: boolean;
|
|
3939
3935
|
brand_id?: string;
|
|
3940
3936
|
menu_id?: string;
|
|
3941
|
-
applied_diff_snapshot?: any
|
|
3937
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3942
3938
|
version?: number;
|
|
3943
3939
|
menu?: DraftMenuDTO;
|
|
3944
3940
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
3945
3941
|
brand?: DraftBrandDTO;
|
|
3946
3942
|
changes?: CategoryChangeDTO[];
|
|
3947
3943
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3948
|
-
permissions?: any
|
|
3944
|
+
permissions?: Record<string, any>;
|
|
3949
3945
|
[index: string]: any;
|
|
3950
3946
|
}
|
|
3951
3947
|
|
|
@@ -3999,14 +3995,14 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
3999
3995
|
is_active?: boolean;
|
|
4000
3996
|
brand_id: string;
|
|
4001
3997
|
menu_id: string;
|
|
4002
|
-
id?: any
|
|
4003
|
-
applied_diff_snapshot?: any
|
|
3998
|
+
id?: Record<string, any>;
|
|
3999
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4004
4000
|
menu?: DraftMenuDTO;
|
|
4005
4001
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
4006
4002
|
brand?: DraftBrandDTO;
|
|
4007
4003
|
changes?: CategoryChangeDTO[];
|
|
4008
4004
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4009
|
-
permissions?: any
|
|
4005
|
+
permissions?: Record<string, any>;
|
|
4010
4006
|
[index: string]: any;
|
|
4011
4007
|
}[];
|
|
4012
4008
|
|
|
@@ -4074,14 +4070,14 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
4074
4070
|
category_id: string;
|
|
4075
4071
|
brand_id: string;
|
|
4076
4072
|
sequence?: number;
|
|
4077
|
-
id?: any
|
|
4078
|
-
applied_diff_snapshot?: any
|
|
4073
|
+
id?: Record<string, any>;
|
|
4074
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4079
4075
|
category?: DraftCategoryDTO;
|
|
4080
4076
|
item?: DraftItemDTO;
|
|
4081
4077
|
brand?: DraftBrandDTO;
|
|
4082
4078
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4083
4079
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4084
|
-
permissions?: any
|
|
4080
|
+
permissions?: Record<string, any>;
|
|
4085
4081
|
[index: string]: any;
|
|
4086
4082
|
}
|
|
4087
4083
|
|
|
@@ -4128,14 +4124,14 @@ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
4128
4124
|
category_id?: string;
|
|
4129
4125
|
brand_id?: string;
|
|
4130
4126
|
sequence?: number;
|
|
4131
|
-
applied_diff_snapshot?: any
|
|
4127
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4132
4128
|
version?: number;
|
|
4133
4129
|
category?: DraftCategoryDTO;
|
|
4134
4130
|
item?: DraftItemDTO;
|
|
4135
4131
|
brand?: DraftBrandDTO;
|
|
4136
4132
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4137
4133
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4138
|
-
permissions?: any
|
|
4134
|
+
permissions?: Record<string, any>;
|
|
4139
4135
|
[index: string]: any;
|
|
4140
4136
|
}
|
|
4141
4137
|
|
|
@@ -4202,14 +4198,14 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
|
|
|
4202
4198
|
category_id: string;
|
|
4203
4199
|
brand_id: string;
|
|
4204
4200
|
sequence?: number;
|
|
4205
|
-
id?: any
|
|
4206
|
-
applied_diff_snapshot?: any
|
|
4201
|
+
id?: Record<string, any>;
|
|
4202
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4207
4203
|
category?: DraftCategoryDTO;
|
|
4208
4204
|
item?: DraftItemDTO;
|
|
4209
4205
|
brand?: DraftBrandDTO;
|
|
4210
4206
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4211
4207
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4212
|
-
permissions?: any
|
|
4208
|
+
permissions?: Record<string, any>;
|
|
4213
4209
|
[index: string]: any;
|
|
4214
4210
|
}[];
|
|
4215
4211
|
|
|
@@ -4337,19 +4333,19 @@ export interface PostMenuV3DraftItemBody {
|
|
|
4337
4333
|
calories?: number;
|
|
4338
4334
|
is_active?: boolean;
|
|
4339
4335
|
posid?: string;
|
|
4340
|
-
tax_tags?: any[];
|
|
4336
|
+
tax_tags?: Record<string, any>[];
|
|
4341
4337
|
brand_id: string;
|
|
4342
4338
|
line_route?: string;
|
|
4343
4339
|
posid_segment?: string;
|
|
4344
|
-
id?: any
|
|
4345
|
-
applied_diff_snapshot?: any
|
|
4340
|
+
id?: Record<string, any>;
|
|
4341
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4346
4342
|
brand?: DraftBrandDTO;
|
|
4347
4343
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4348
4344
|
changes?: ItemChangeDTO[];
|
|
4349
4345
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4350
4346
|
attachments?: FileAttachmentsDTO;
|
|
4351
4347
|
weight?: WeightDTO;
|
|
4352
|
-
permissions?: any
|
|
4348
|
+
permissions?: Record<string, any>;
|
|
4353
4349
|
[index: string]: any;
|
|
4354
4350
|
}
|
|
4355
4351
|
|
|
@@ -4402,11 +4398,11 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4402
4398
|
calories?: number;
|
|
4403
4399
|
is_active?: boolean;
|
|
4404
4400
|
posid?: string;
|
|
4405
|
-
tax_tags?: any[];
|
|
4401
|
+
tax_tags?: Record<string, any>[];
|
|
4406
4402
|
brand_id?: string;
|
|
4407
4403
|
line_route?: string;
|
|
4408
4404
|
posid_segment?: string;
|
|
4409
|
-
applied_diff_snapshot?: any
|
|
4405
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4410
4406
|
version?: number;
|
|
4411
4407
|
brand?: DraftBrandDTO;
|
|
4412
4408
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -4414,7 +4410,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4414
4410
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4415
4411
|
attachments?: FileAttachmentsDTO;
|
|
4416
4412
|
weight?: WeightDTO;
|
|
4417
|
-
permissions?: any
|
|
4413
|
+
permissions?: Record<string, any>;
|
|
4418
4414
|
[index: string]: any;
|
|
4419
4415
|
}
|
|
4420
4416
|
|
|
@@ -4483,19 +4479,19 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
4483
4479
|
calories?: number;
|
|
4484
4480
|
is_active?: boolean;
|
|
4485
4481
|
posid?: string;
|
|
4486
|
-
tax_tags?: any[];
|
|
4482
|
+
tax_tags?: Record<string, any>[];
|
|
4487
4483
|
brand_id: string;
|
|
4488
4484
|
line_route?: string;
|
|
4489
4485
|
posid_segment?: string;
|
|
4490
|
-
id?: any
|
|
4491
|
-
applied_diff_snapshot?: any
|
|
4486
|
+
id?: Record<string, any>;
|
|
4487
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4492
4488
|
brand?: DraftBrandDTO;
|
|
4493
4489
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4494
4490
|
changes?: ItemChangeDTO[];
|
|
4495
4491
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4496
4492
|
attachments?: FileAttachmentsDTO;
|
|
4497
4493
|
weight?: WeightDTO;
|
|
4498
|
-
permissions?: any
|
|
4494
|
+
permissions?: Record<string, any>;
|
|
4499
4495
|
[index: string]: any;
|
|
4500
4496
|
}[];
|
|
4501
4497
|
|
|
@@ -4532,7 +4528,7 @@ export interface GetMenuV3DraftItemsCountRequest
|
|
|
4532
4528
|
// PATCH /menu/v3/draft/items/bulk-update
|
|
4533
4529
|
|
|
4534
4530
|
export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
4535
|
-
id_list: any[];
|
|
4531
|
+
id_list: Record<string, any>[];
|
|
4536
4532
|
parent?: DraftItemDTO;
|
|
4537
4533
|
children?: DraftItemDTO[];
|
|
4538
4534
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -4547,18 +4543,18 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
4547
4543
|
calories?: number;
|
|
4548
4544
|
is_active?: boolean;
|
|
4549
4545
|
posid?: string;
|
|
4550
|
-
tax_tags?: any[];
|
|
4546
|
+
tax_tags?: Record<string, any>[];
|
|
4551
4547
|
brand_id?: string;
|
|
4552
4548
|
line_route?: string;
|
|
4553
4549
|
posid_segment?: string;
|
|
4554
|
-
applied_diff_snapshot?: any
|
|
4550
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4555
4551
|
brand?: DraftBrandDTO;
|
|
4556
4552
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4557
4553
|
changes?: ItemChangeDTO[];
|
|
4558
4554
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4559
4555
|
attachments?: FileAttachmentsDTO;
|
|
4560
4556
|
weight?: WeightDTO;
|
|
4561
|
-
permissions?: any
|
|
4557
|
+
permissions?: Record<string, any>;
|
|
4562
4558
|
[index: string]: any;
|
|
4563
4559
|
}
|
|
4564
4560
|
|
|
@@ -4726,14 +4722,14 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
4726
4722
|
item_id: string;
|
|
4727
4723
|
brand_id: string;
|
|
4728
4724
|
sequence?: number;
|
|
4729
|
-
id?: any
|
|
4730
|
-
applied_diff_snapshot?: any
|
|
4725
|
+
id?: Record<string, any>;
|
|
4726
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4731
4727
|
item?: DraftItemDTO;
|
|
4732
4728
|
modifier_group?: DraftModifierGroupDTO;
|
|
4733
4729
|
brand?: DraftBrandDTO;
|
|
4734
4730
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4735
4731
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4736
|
-
permissions?: any
|
|
4732
|
+
permissions?: Record<string, any>;
|
|
4737
4733
|
[index: string]: any;
|
|
4738
4734
|
}
|
|
4739
4735
|
|
|
@@ -4782,14 +4778,14 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
4782
4778
|
item_id?: string;
|
|
4783
4779
|
brand_id?: string;
|
|
4784
4780
|
sequence?: number;
|
|
4785
|
-
applied_diff_snapshot?: any
|
|
4781
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4786
4782
|
version?: number;
|
|
4787
4783
|
item?: DraftItemDTO;
|
|
4788
4784
|
modifier_group?: DraftModifierGroupDTO;
|
|
4789
4785
|
brand?: DraftBrandDTO;
|
|
4790
4786
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4791
4787
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4792
|
-
permissions?: any
|
|
4788
|
+
permissions?: Record<string, any>;
|
|
4793
4789
|
[index: string]: any;
|
|
4794
4790
|
}
|
|
4795
4791
|
|
|
@@ -4858,14 +4854,14 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
|
4858
4854
|
item_id: string;
|
|
4859
4855
|
brand_id: string;
|
|
4860
4856
|
sequence?: number;
|
|
4861
|
-
id?: any
|
|
4862
|
-
applied_diff_snapshot?: any
|
|
4857
|
+
id?: Record<string, any>;
|
|
4858
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4863
4859
|
item?: DraftItemDTO;
|
|
4864
4860
|
modifier_group?: DraftModifierGroupDTO;
|
|
4865
4861
|
brand?: DraftBrandDTO;
|
|
4866
4862
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4867
4863
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4868
|
-
permissions?: any
|
|
4864
|
+
permissions?: Record<string, any>;
|
|
4869
4865
|
[index: string]: any;
|
|
4870
4866
|
}[];
|
|
4871
4867
|
|
|
@@ -4992,12 +4988,12 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
4992
4988
|
max?: number;
|
|
4993
4989
|
is_active?: boolean;
|
|
4994
4990
|
brand_id: string;
|
|
4995
|
-
id?: any
|
|
4996
|
-
applied_diff_snapshot?: any
|
|
4991
|
+
id?: Record<string, any>;
|
|
4992
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4997
4993
|
brand?: DraftBrandDTO;
|
|
4998
4994
|
changes?: ModifierGroupChangeDTO[];
|
|
4999
4995
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5000
|
-
permissions?: any
|
|
4996
|
+
permissions?: Record<string, any>;
|
|
5001
4997
|
[index: string]: any;
|
|
5002
4998
|
}
|
|
5003
4999
|
|
|
@@ -5048,12 +5044,12 @@ export interface PatchMenuV3DraftModifierGroupBody {
|
|
|
5048
5044
|
max?: number;
|
|
5049
5045
|
is_active?: boolean;
|
|
5050
5046
|
brand_id?: string;
|
|
5051
|
-
applied_diff_snapshot?: any
|
|
5047
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5052
5048
|
version?: number;
|
|
5053
5049
|
brand?: DraftBrandDTO;
|
|
5054
5050
|
changes?: ModifierGroupChangeDTO[];
|
|
5055
5051
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5056
|
-
permissions?: any
|
|
5052
|
+
permissions?: Record<string, any>;
|
|
5057
5053
|
[index: string]: any;
|
|
5058
5054
|
}
|
|
5059
5055
|
|
|
@@ -5124,12 +5120,12 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
5124
5120
|
max?: number;
|
|
5125
5121
|
is_active?: boolean;
|
|
5126
5122
|
brand_id: string;
|
|
5127
|
-
id?: any
|
|
5128
|
-
applied_diff_snapshot?: any
|
|
5123
|
+
id?: Record<string, any>;
|
|
5124
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5129
5125
|
brand?: DraftBrandDTO;
|
|
5130
5126
|
changes?: ModifierGroupChangeDTO[];
|
|
5131
5127
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5132
|
-
permissions?: any
|
|
5128
|
+
permissions?: Record<string, any>;
|
|
5133
5129
|
[index: string]: any;
|
|
5134
5130
|
}[];
|
|
5135
5131
|
|
|
@@ -5185,12 +5181,12 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
5185
5181
|
max?: number;
|
|
5186
5182
|
is_active?: boolean;
|
|
5187
5183
|
brand_id: string;
|
|
5188
|
-
applied_diff_snapshot?: any
|
|
5184
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5189
5185
|
version?: number;
|
|
5190
5186
|
brand?: DraftBrandDTO;
|
|
5191
5187
|
changes?: ModifierGroupChangeDTO[];
|
|
5192
5188
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5193
|
-
permissions?: any
|
|
5189
|
+
permissions?: Record<string, any>;
|
|
5194
5190
|
[index: string]: any;
|
|
5195
5191
|
}
|
|
5196
5192
|
|
|
@@ -5286,14 +5282,14 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
5286
5282
|
modifier_group_id: string;
|
|
5287
5283
|
brand_id: string;
|
|
5288
5284
|
sequence?: number;
|
|
5289
|
-
id?: any
|
|
5290
|
-
applied_diff_snapshot?: any
|
|
5285
|
+
id?: Record<string, any>;
|
|
5286
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5291
5287
|
modifier?: DraftModifierDTO;
|
|
5292
5288
|
modifier_group?: DraftModifierGroupDTO;
|
|
5293
5289
|
brand?: DraftBrandDTO;
|
|
5294
5290
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5295
5291
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5296
|
-
permissions?: any
|
|
5292
|
+
permissions?: Record<string, any>;
|
|
5297
5293
|
[index: string]: any;
|
|
5298
5294
|
}
|
|
5299
5295
|
|
|
@@ -5342,14 +5338,14 @@ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
5342
5338
|
modifier_group_id?: string;
|
|
5343
5339
|
brand_id?: string;
|
|
5344
5340
|
sequence?: number;
|
|
5345
|
-
applied_diff_snapshot?: any
|
|
5341
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5346
5342
|
version?: number;
|
|
5347
5343
|
modifier?: DraftModifierDTO;
|
|
5348
5344
|
modifier_group?: DraftModifierGroupDTO;
|
|
5349
5345
|
brand?: DraftBrandDTO;
|
|
5350
5346
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5351
5347
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5352
|
-
permissions?: any
|
|
5348
|
+
permissions?: Record<string, any>;
|
|
5353
5349
|
[index: string]: any;
|
|
5354
5350
|
}
|
|
5355
5351
|
|
|
@@ -5418,14 +5414,14 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
|
|
|
5418
5414
|
modifier_group_id: string;
|
|
5419
5415
|
brand_id: string;
|
|
5420
5416
|
sequence?: number;
|
|
5421
|
-
id?: any
|
|
5422
|
-
applied_diff_snapshot?: any
|
|
5417
|
+
id?: Record<string, any>;
|
|
5418
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5423
5419
|
modifier?: DraftModifierDTO;
|
|
5424
5420
|
modifier_group?: DraftModifierGroupDTO;
|
|
5425
5421
|
brand?: DraftBrandDTO;
|
|
5426
5422
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5427
5423
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5428
|
-
permissions?: any
|
|
5424
|
+
permissions?: Record<string, any>;
|
|
5429
5425
|
[index: string]: any;
|
|
5430
5426
|
}[];
|
|
5431
5427
|
|
|
@@ -5550,19 +5546,19 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
5550
5546
|
description?: string;
|
|
5551
5547
|
price: number;
|
|
5552
5548
|
calories?: number;
|
|
5553
|
-
tax_tags?: any[];
|
|
5549
|
+
tax_tags?: Record<string, any>[];
|
|
5554
5550
|
is_active?: boolean;
|
|
5555
5551
|
posid?: string;
|
|
5556
5552
|
reporting: ReportingMetadataDTO;
|
|
5557
5553
|
posid_segment?: string;
|
|
5558
5554
|
brand_id: string;
|
|
5559
|
-
id?: any
|
|
5560
|
-
applied_diff_snapshot?: any
|
|
5555
|
+
id?: Record<string, any>;
|
|
5556
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5561
5557
|
brand?: DraftBrandDTO;
|
|
5562
5558
|
changes?: ModifierChangeDTO[];
|
|
5563
5559
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5564
5560
|
weight?: WeightDTO;
|
|
5565
|
-
permissions?: any
|
|
5561
|
+
permissions?: Record<string, any>;
|
|
5566
5562
|
[index: string]: any;
|
|
5567
5563
|
}
|
|
5568
5564
|
|
|
@@ -5611,19 +5607,19 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
5611
5607
|
description?: string;
|
|
5612
5608
|
price?: number;
|
|
5613
5609
|
calories?: number;
|
|
5614
|
-
tax_tags?: any[];
|
|
5610
|
+
tax_tags?: Record<string, any>[];
|
|
5615
5611
|
is_active?: boolean;
|
|
5616
5612
|
posid?: string;
|
|
5617
5613
|
reporting?: ReportingMetadataDTO;
|
|
5618
5614
|
posid_segment?: string;
|
|
5619
5615
|
brand_id?: string;
|
|
5620
|
-
applied_diff_snapshot?: any
|
|
5616
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5621
5617
|
version?: number;
|
|
5622
5618
|
brand?: DraftBrandDTO;
|
|
5623
5619
|
changes?: ModifierChangeDTO[];
|
|
5624
5620
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5625
5621
|
weight?: WeightDTO;
|
|
5626
|
-
permissions?: any
|
|
5622
|
+
permissions?: Record<string, any>;
|
|
5627
5623
|
[index: string]: any;
|
|
5628
5624
|
}
|
|
5629
5625
|
|
|
@@ -5690,19 +5686,19 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
5690
5686
|
description?: string;
|
|
5691
5687
|
price: number;
|
|
5692
5688
|
calories?: number;
|
|
5693
|
-
tax_tags?: any[];
|
|
5689
|
+
tax_tags?: Record<string, any>[];
|
|
5694
5690
|
is_active?: boolean;
|
|
5695
5691
|
posid?: string;
|
|
5696
5692
|
reporting: ReportingMetadataDTO;
|
|
5697
5693
|
posid_segment?: string;
|
|
5698
5694
|
brand_id: string;
|
|
5699
|
-
id?: any
|
|
5700
|
-
applied_diff_snapshot?: any
|
|
5695
|
+
id?: Record<string, any>;
|
|
5696
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5701
5697
|
brand?: DraftBrandDTO;
|
|
5702
5698
|
changes?: ModifierChangeDTO[];
|
|
5703
5699
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5704
5700
|
weight?: WeightDTO;
|
|
5705
|
-
permissions?: any
|
|
5701
|
+
permissions?: Record<string, any>;
|
|
5706
5702
|
[index: string]: any;
|
|
5707
5703
|
}[];
|
|
5708
5704
|
|
|
@@ -5739,7 +5735,7 @@ export interface GetMenuV3DraftModifiersCountRequest
|
|
|
5739
5735
|
// PATCH /menu/v3/draft/modifiers/bulk-update
|
|
5740
5736
|
|
|
5741
5737
|
export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
5742
|
-
id_list: any[];
|
|
5738
|
+
id_list: Record<string, any>[];
|
|
5743
5739
|
parent?: DraftModifierDTO;
|
|
5744
5740
|
children?: DraftModifierDTO[];
|
|
5745
5741
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
@@ -5750,18 +5746,18 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
5750
5746
|
description?: string;
|
|
5751
5747
|
price?: number;
|
|
5752
5748
|
calories?: number;
|
|
5753
|
-
tax_tags?: any[];
|
|
5749
|
+
tax_tags?: Record<string, any>[];
|
|
5754
5750
|
is_active?: boolean;
|
|
5755
5751
|
posid?: string;
|
|
5756
5752
|
reporting?: ReportingMetadataDTO;
|
|
5757
5753
|
posid_segment?: string;
|
|
5758
5754
|
brand_id?: string;
|
|
5759
|
-
applied_diff_snapshot?: any
|
|
5755
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
5760
5756
|
brand?: DraftBrandDTO;
|
|
5761
5757
|
changes?: ModifierChangeDTO[];
|
|
5762
5758
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5763
5759
|
weight?: WeightDTO;
|
|
5764
|
-
permissions?: any
|
|
5760
|
+
permissions?: Record<string, any>;
|
|
5765
5761
|
[index: string]: any;
|
|
5766
5762
|
}
|
|
5767
5763
|
|
|
@@ -5858,8 +5854,8 @@ export interface PostMenuV3IntegrationsTransltrImportQuery {
|
|
|
5858
5854
|
}
|
|
5859
5855
|
|
|
5860
5856
|
export interface PostMenuV3IntegrationsTransltrImportResponse {
|
|
5861
|
-
errors?: any
|
|
5862
|
-
results?: any
|
|
5857
|
+
errors?: Record<string, any>;
|
|
5858
|
+
results?: Record<string, any>;
|
|
5863
5859
|
}
|
|
5864
5860
|
|
|
5865
5861
|
export interface PostMenuV3IntegrationsTransltrImportRequest
|
|
@@ -5889,17 +5885,17 @@ export interface GetMenuV3GlobalDiffResponse {
|
|
|
5889
5885
|
deleted_at?: string;
|
|
5890
5886
|
entity_type?: string;
|
|
5891
5887
|
local_id?: string;
|
|
5892
|
-
changes?: any
|
|
5893
|
-
local_changes?: any
|
|
5894
|
-
local_snapshot?: any
|
|
5888
|
+
changes?: Record<string, any>;
|
|
5889
|
+
local_changes?: Record<string, any>;
|
|
5890
|
+
local_snapshot?: Record<string, any>;
|
|
5895
5891
|
global_id?: string;
|
|
5896
|
-
global_snapshot?: any
|
|
5892
|
+
global_snapshot?: Record<string, any>;
|
|
5897
5893
|
brand_id?: string;
|
|
5898
5894
|
version?: number;
|
|
5899
5895
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
5900
5896
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
5901
5897
|
brand?: DraftBrandDTO;
|
|
5902
|
-
permissions?: any
|
|
5898
|
+
permissions?: Record<string, any>;
|
|
5903
5899
|
[index: string]: any;
|
|
5904
5900
|
}
|
|
5905
5901
|
|