@compassdigital/sdk.typescript 4.35.0 → 4.37.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/index.d.ts +9 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +8 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/calendar.d.ts +4 -1
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/location.d.ts +4 -0
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +55 -559
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +10 -1
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/user.d.ts +20 -0
- package/lib/interface/user.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +15 -0
- package/src/interface/calendar.ts +5 -2
- package/src/interface/location.ts +4 -0
- package/src/interface/menu.ts +55 -578
- package/src/interface/partner.ts +10 -1
- package/src/interface/user.ts +29 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export interface Menu {
|
|
|
25
25
|
item_desc_edit_enabled?: boolean;
|
|
26
26
|
calories_edit_enabled?: boolean;
|
|
27
27
|
item_label_edit_enabled?: boolean;
|
|
28
|
+
frictionless?: boolean;
|
|
28
29
|
};
|
|
29
30
|
meta?: {
|
|
30
31
|
locked_by_user?: string;
|
|
@@ -117,6 +118,9 @@ export interface Item {
|
|
|
117
118
|
sort_number?: number;
|
|
118
119
|
menu_sort_number?: number;
|
|
119
120
|
barcodes?: string[];
|
|
121
|
+
tax?: {
|
|
122
|
+
tax_tag_code?: string;
|
|
123
|
+
};
|
|
120
124
|
[index: string]: any;
|
|
121
125
|
};
|
|
122
126
|
category?: {
|
|
@@ -189,6 +193,9 @@ export interface Option {
|
|
|
189
193
|
meta?: {
|
|
190
194
|
sort_number?: number;
|
|
191
195
|
menu_sort_number?: number;
|
|
196
|
+
tax?: {
|
|
197
|
+
tax_tag_code?: string;
|
|
198
|
+
};
|
|
192
199
|
[index: string]: any;
|
|
193
200
|
};
|
|
194
201
|
is?: {
|
|
@@ -284,6 +291,7 @@ export interface DraftBrandDTO {
|
|
|
284
291
|
local_menu_group_id?: string;
|
|
285
292
|
global_menu_group_id?: string;
|
|
286
293
|
posid_segment?: string;
|
|
294
|
+
is_simplified_view?: boolean;
|
|
287
295
|
permissions?: Record<string, any>;
|
|
288
296
|
[index: string]: any;
|
|
289
297
|
}
|
|
@@ -297,6 +305,7 @@ export interface PublishedBrandDTO {
|
|
|
297
305
|
local_menu_group_id?: string;
|
|
298
306
|
global_menu_group_id?: string;
|
|
299
307
|
posid_segment?: string;
|
|
308
|
+
is_simplified_view?: boolean;
|
|
300
309
|
permissions?: Record<string, any>;
|
|
301
310
|
[index: string]: any;
|
|
302
311
|
}
|
|
@@ -386,7 +395,7 @@ export interface LocalMenuGroupDTO {
|
|
|
386
395
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
387
396
|
draft_brands?: DraftBrandDTO[];
|
|
388
397
|
published_brands?: PublishedBrandDTO[];
|
|
389
|
-
id
|
|
398
|
+
id: string;
|
|
390
399
|
created_at?: string;
|
|
391
400
|
updated_at?: string;
|
|
392
401
|
deleted_at?: string;
|
|
@@ -395,45 +404,12 @@ export interface LocalMenuGroupDTO {
|
|
|
395
404
|
permissions?: Record<string, any>;
|
|
396
405
|
[index: string]: any;
|
|
397
406
|
}
|
|
398
|
-
export interface DraftBrandDraftBrandDTO {
|
|
399
|
-
name?: FilterFieldDTO;
|
|
400
|
-
description?: FilterFieldDTO;
|
|
401
|
-
is_active?: FilterFieldDTO;
|
|
402
|
-
type?: FilterFieldDTO;
|
|
403
|
-
parent_id?: FilterFieldDTO;
|
|
404
|
-
local_menu_group_id?: FilterFieldDTO;
|
|
405
|
-
global_menu_group_id?: FilterFieldDTO;
|
|
406
|
-
posid_segment?: FilterFieldDTO;
|
|
407
|
-
id?: FilterFieldDTO;
|
|
408
|
-
version?: FilterFieldDTO;
|
|
409
|
-
created_at?: FilterFieldDTO;
|
|
410
|
-
updated_at?: FilterFieldDTO;
|
|
411
|
-
deleted_at?: FilterFieldDTO;
|
|
412
|
-
parent?: Record<string, any>;
|
|
413
|
-
children?: Record<string, any>[];
|
|
414
|
-
changes?: BrandChangeDTO[];
|
|
415
|
-
local_menu_group?: LocalMenuGroupDTO;
|
|
416
|
-
global_menu_group?: GlobalMenuGroupDTO;
|
|
417
|
-
menus?: DraftMenuDTO[];
|
|
418
|
-
categories?: Record<string, any>[];
|
|
419
|
-
category_to_item_relationships?: Record<string, any>[];
|
|
420
|
-
items?: Record<string, any>[];
|
|
421
|
-
item_to_modifier_group_relationships?: Record<string, any>[];
|
|
422
|
-
modifier_groups?: Record<string, any>[];
|
|
423
|
-
modifier_group_to_modifier_relationships?: Record<string, any>[];
|
|
424
|
-
modifiers?: Record<string, any>[];
|
|
425
|
-
statuses?: BrandStatusDTO[];
|
|
426
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
427
|
-
attachments?: Record<string, any>;
|
|
428
|
-
permissions?: FilterFieldDTO;
|
|
429
|
-
[index: string]: any;
|
|
430
|
-
}
|
|
431
407
|
export interface BrandChangeDTO {
|
|
432
408
|
id?: string;
|
|
433
409
|
insert?: FilterFieldDTO;
|
|
434
410
|
delete?: FilterFieldDTO;
|
|
435
411
|
snapshot_entity_id?: FilterFieldDTO;
|
|
436
|
-
snapshot_entity?:
|
|
412
|
+
snapshot_entity?: DraftBrandDTO;
|
|
437
413
|
permissions?: FilterFieldDTO;
|
|
438
414
|
[index: string]: any;
|
|
439
415
|
}
|
|
@@ -447,7 +423,7 @@ export interface DraftMenuDTO {
|
|
|
447
423
|
brand_id?: string;
|
|
448
424
|
category_images_enabled?: boolean;
|
|
449
425
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
450
|
-
brand?:
|
|
426
|
+
brand?: DraftBrandDTO;
|
|
451
427
|
changes?: MenuChangeDTO[];
|
|
452
428
|
vendor_metadata?: VendorMetadataDTO[];
|
|
453
429
|
permissions?: FilterFieldDTO;
|
|
@@ -468,7 +444,7 @@ export interface DraftCategoryDTO {
|
|
|
468
444
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
469
445
|
menu?: Record<string, any>;
|
|
470
446
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
471
|
-
brand?:
|
|
447
|
+
brand?: DraftBrandDTO;
|
|
472
448
|
changes?: CategoryChangeDTO[];
|
|
473
449
|
vendor_metadata?: VendorMetadataDTO[];
|
|
474
450
|
attachments?: Record<string, any>;
|
|
@@ -487,7 +463,7 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
487
463
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
488
464
|
category?: Record<string, any>;
|
|
489
465
|
item?: DraftItemDTO;
|
|
490
|
-
brand?:
|
|
466
|
+
brand?: DraftBrandDTO;
|
|
491
467
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
492
468
|
vendor_metadata?: VendorMetadataDTO[];
|
|
493
469
|
permissions?: FilterFieldDTO;
|
|
@@ -515,8 +491,9 @@ export interface DraftItemDTO {
|
|
|
515
491
|
posid_segment?: FilterFieldDTO;
|
|
516
492
|
menu_works?: Record<string, any>;
|
|
517
493
|
is_out_of_stock?: FilterFieldDTO;
|
|
494
|
+
tax_tag_code?: FilterFieldDTO;
|
|
518
495
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
519
|
-
brand?:
|
|
496
|
+
brand?: DraftBrandDTO;
|
|
520
497
|
categories?: Record<string, any>[];
|
|
521
498
|
changes?: ItemChangeDTO[];
|
|
522
499
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -537,7 +514,7 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
537
514
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
538
515
|
item?: Record<string, any>;
|
|
539
516
|
modifier_group?: DraftModifierGroupDTO;
|
|
540
|
-
brand?:
|
|
517
|
+
brand?: DraftBrandDTO;
|
|
541
518
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
542
519
|
vendor_metadata?: VendorMetadataDTO[];
|
|
543
520
|
permissions?: FilterFieldDTO;
|
|
@@ -562,7 +539,7 @@ export interface DraftModifierGroupDTO {
|
|
|
562
539
|
is_out_of_stock?: FilterFieldDTO;
|
|
563
540
|
is_incremental?: FilterFieldDTO;
|
|
564
541
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
565
|
-
brand?:
|
|
542
|
+
brand?: DraftBrandDTO;
|
|
566
543
|
changes?: ModifierGroupChangeDTO[];
|
|
567
544
|
vendor_metadata?: VendorMetadataDTO[];
|
|
568
545
|
permissions?: FilterFieldDTO;
|
|
@@ -580,7 +557,7 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
580
557
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
581
558
|
modifier?: DraftModifierDTO;
|
|
582
559
|
modifier_group?: Record<string, any>;
|
|
583
|
-
brand?:
|
|
560
|
+
brand?: DraftBrandDTO;
|
|
584
561
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
585
562
|
vendor_metadata?: VendorMetadataDTO[];
|
|
586
563
|
permissions?: FilterFieldDTO;
|
|
@@ -610,8 +587,9 @@ export interface DraftModifierDTO {
|
|
|
610
587
|
price_for_more?: number;
|
|
611
588
|
pre_surcharge?: number;
|
|
612
589
|
post_surcharge?: number;
|
|
590
|
+
tax_tag_code?: FilterFieldDTO;
|
|
613
591
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
614
|
-
brand?:
|
|
592
|
+
brand?: DraftBrandDTO;
|
|
615
593
|
changes?: ModifierChangeDTO[];
|
|
616
594
|
vendor_metadata?: VendorMetadataDTO[];
|
|
617
595
|
weight?: WeightDTO;
|
|
@@ -729,7 +707,7 @@ export interface BrandStatusDTO {
|
|
|
729
707
|
status?: string;
|
|
730
708
|
metadata?: FilterFieldDTO;
|
|
731
709
|
id?: string;
|
|
732
|
-
brand?:
|
|
710
|
+
brand?: DraftBrandDTO;
|
|
733
711
|
permissions?: FilterFieldDTO;
|
|
734
712
|
[index: string]: any;
|
|
735
713
|
}
|
|
@@ -748,128 +726,6 @@ export interface SiteGroupDTO {
|
|
|
748
726
|
updated_at?: string;
|
|
749
727
|
[index: string]: any;
|
|
750
728
|
}
|
|
751
|
-
export interface DraftMenuDraftMenuDTO {
|
|
752
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
753
|
-
parent_id?: FilterFieldDTO;
|
|
754
|
-
name?: FilterFieldDTO;
|
|
755
|
-
brand_id?: FilterFieldDTO;
|
|
756
|
-
category_images_enabled?: FilterFieldDTO;
|
|
757
|
-
id?: FilterFieldDTO;
|
|
758
|
-
version?: FilterFieldDTO;
|
|
759
|
-
created_at?: FilterFieldDTO;
|
|
760
|
-
updated_at?: FilterFieldDTO;
|
|
761
|
-
deleted_at?: FilterFieldDTO;
|
|
762
|
-
parent?: Record<string, any>;
|
|
763
|
-
children?: Record<string, any>[];
|
|
764
|
-
categories?: DraftCategoryDTO[];
|
|
765
|
-
brand?: DraftBrandDTO;
|
|
766
|
-
changes?: MenuChangeDTO[];
|
|
767
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
768
|
-
permissions?: FilterFieldDTO;
|
|
769
|
-
[index: string]: any;
|
|
770
|
-
}
|
|
771
|
-
export interface DraftModifierDraftModifierDTO {
|
|
772
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
773
|
-
parent_id?: FilterFieldDTO;
|
|
774
|
-
name?: FilterFieldDTO;
|
|
775
|
-
label?: FilterFieldDTO;
|
|
776
|
-
description?: FilterFieldDTO;
|
|
777
|
-
price?: FilterFieldDTO;
|
|
778
|
-
calories?: FilterFieldDTO;
|
|
779
|
-
tax_tags?: FilterFieldDTO[];
|
|
780
|
-
is_active?: FilterFieldDTO;
|
|
781
|
-
posid?: FilterFieldDTO;
|
|
782
|
-
posid_segment?: FilterFieldDTO;
|
|
783
|
-
brand_id?: FilterFieldDTO;
|
|
784
|
-
is_out_of_stock?: FilterFieldDTO;
|
|
785
|
-
price_for_none?: FilterFieldDTO;
|
|
786
|
-
price_for_less?: FilterFieldDTO;
|
|
787
|
-
price_for_more?: FilterFieldDTO;
|
|
788
|
-
pre_surcharge?: FilterFieldDTO;
|
|
789
|
-
post_surcharge?: FilterFieldDTO;
|
|
790
|
-
id?: FilterFieldDTO;
|
|
791
|
-
version?: FilterFieldDTO;
|
|
792
|
-
created_at?: FilterFieldDTO;
|
|
793
|
-
updated_at?: FilterFieldDTO;
|
|
794
|
-
deleted_at?: FilterFieldDTO;
|
|
795
|
-
parent?: Record<string, any>;
|
|
796
|
-
children?: Record<string, any>[];
|
|
797
|
-
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
798
|
-
brand?: DraftBrandDTO;
|
|
799
|
-
changes?: ModifierChangeDTO[];
|
|
800
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
801
|
-
reporting?: ReportingMetadataDTO;
|
|
802
|
-
weight?: WeightDTO;
|
|
803
|
-
attachments?: FileAttachmentsDTO;
|
|
804
|
-
menu_works?: MenuWorksDTO;
|
|
805
|
-
permissions?: FilterFieldDTO;
|
|
806
|
-
[index: string]: any;
|
|
807
|
-
}
|
|
808
|
-
export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
809
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
810
|
-
parent_id?: FilterFieldDTO;
|
|
811
|
-
name?: FilterFieldDTO;
|
|
812
|
-
label?: FilterFieldDTO;
|
|
813
|
-
min?: FilterFieldDTO;
|
|
814
|
-
max?: FilterFieldDTO;
|
|
815
|
-
is_active?: FilterFieldDTO;
|
|
816
|
-
limit?: FilterFieldDTO;
|
|
817
|
-
brand_id?: FilterFieldDTO;
|
|
818
|
-
order_type?: FilterFieldDTO;
|
|
819
|
-
sizing?: FilterFieldDTO;
|
|
820
|
-
is_out_of_stock?: FilterFieldDTO;
|
|
821
|
-
is_incremental?: FilterFieldDTO;
|
|
822
|
-
id?: FilterFieldDTO;
|
|
823
|
-
version?: FilterFieldDTO;
|
|
824
|
-
created_at?: FilterFieldDTO;
|
|
825
|
-
updated_at?: FilterFieldDTO;
|
|
826
|
-
deleted_at?: FilterFieldDTO;
|
|
827
|
-
parent?: Record<string, any>;
|
|
828
|
-
children?: Record<string, any>[];
|
|
829
|
-
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
830
|
-
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
831
|
-
brand?: DraftBrandDTO;
|
|
832
|
-
changes?: ModifierGroupChangeDTO[];
|
|
833
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
834
|
-
permissions?: FilterFieldDTO;
|
|
835
|
-
[index: string]: any;
|
|
836
|
-
}
|
|
837
|
-
export interface DraftItemDraftItemDTO {
|
|
838
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
839
|
-
parent_id?: FilterFieldDTO;
|
|
840
|
-
name?: FilterFieldDTO;
|
|
841
|
-
label?: FilterFieldDTO;
|
|
842
|
-
description?: FilterFieldDTO;
|
|
843
|
-
price?: FilterFieldDTO;
|
|
844
|
-
barcode?: FilterFieldDTO;
|
|
845
|
-
calories?: FilterFieldDTO;
|
|
846
|
-
meal_value?: FilterFieldDTO;
|
|
847
|
-
is_active?: FilterFieldDTO;
|
|
848
|
-
posid?: FilterFieldDTO;
|
|
849
|
-
tax_tags?: FilterFieldDTO[];
|
|
850
|
-
brand_id?: FilterFieldDTO;
|
|
851
|
-
line_route?: FilterFieldDTO;
|
|
852
|
-
posid_segment?: FilterFieldDTO;
|
|
853
|
-
is_out_of_stock?: FilterFieldDTO;
|
|
854
|
-
id?: FilterFieldDTO;
|
|
855
|
-
version?: FilterFieldDTO;
|
|
856
|
-
created_at?: FilterFieldDTO;
|
|
857
|
-
updated_at?: FilterFieldDTO;
|
|
858
|
-
deleted_at?: FilterFieldDTO;
|
|
859
|
-
parent?: Record<string, any>;
|
|
860
|
-
children?: Record<string, any>[];
|
|
861
|
-
brand?: DraftBrandDTO;
|
|
862
|
-
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
863
|
-
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
864
|
-
changes?: ItemChangeDTO[];
|
|
865
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
866
|
-
reporting?: ReportingMetadataDTO;
|
|
867
|
-
attachments?: FileAttachmentsDTO;
|
|
868
|
-
weight?: WeightDTO;
|
|
869
|
-
menu_works?: MenuWorksDTO;
|
|
870
|
-
permissions?: FilterFieldDTO;
|
|
871
|
-
[index: string]: any;
|
|
872
|
-
}
|
|
873
729
|
export interface ReportingCategorySuggestion {
|
|
874
730
|
category?: string;
|
|
875
731
|
occurrences?: number;
|
|
@@ -878,13 +734,14 @@ export interface GlobalDiffDependencyDTO {
|
|
|
878
734
|
depends_on_id?: string;
|
|
879
735
|
is_depended_by_id?: string;
|
|
880
736
|
id?: string;
|
|
881
|
-
depends_on?:
|
|
737
|
+
depends_on?: GlobalDiffDTO;
|
|
882
738
|
is_depended_by?: Record<string, any>;
|
|
883
739
|
permissions?: FilterFieldDTO;
|
|
884
740
|
[index: string]: any;
|
|
885
741
|
}
|
|
886
|
-
export interface
|
|
887
|
-
action?:
|
|
742
|
+
export interface GlobalDiffDTO {
|
|
743
|
+
action?: "create" | "update" | "delete";
|
|
744
|
+
id?: string;
|
|
888
745
|
entity_type?: FilterFieldDTO;
|
|
889
746
|
local_id?: FilterFieldDTO;
|
|
890
747
|
changes?: FilterFieldDTO;
|
|
@@ -893,11 +750,6 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
893
750
|
global_id?: FilterFieldDTO;
|
|
894
751
|
global_snapshot?: FilterFieldDTO;
|
|
895
752
|
brand_id?: FilterFieldDTO;
|
|
896
|
-
id?: FilterFieldDTO;
|
|
897
|
-
version?: FilterFieldDTO;
|
|
898
|
-
created_at?: FilterFieldDTO;
|
|
899
|
-
updated_at?: FilterFieldDTO;
|
|
900
|
-
deleted_at?: FilterFieldDTO;
|
|
901
753
|
depends_on?: Record<string, any>[];
|
|
902
754
|
is_depended_by?: Record<string, any>[];
|
|
903
755
|
brand?: DraftBrandDTO;
|
|
@@ -906,7 +758,7 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
906
758
|
}
|
|
907
759
|
export interface DiffDTO {
|
|
908
760
|
action: "create" | "update" | "delete";
|
|
909
|
-
id
|
|
761
|
+
id: string;
|
|
910
762
|
created_at?: string;
|
|
911
763
|
updated_at?: string;
|
|
912
764
|
deleted_at?: string;
|
|
@@ -981,6 +833,7 @@ export interface PublishedItemDTO {
|
|
|
981
833
|
line_route?: string;
|
|
982
834
|
posid_segment?: string;
|
|
983
835
|
is_out_of_stock?: boolean;
|
|
836
|
+
tax_tag_code?: string;
|
|
984
837
|
permissions?: Record<string, any>;
|
|
985
838
|
[index: string]: any;
|
|
986
839
|
}
|
|
@@ -1040,82 +893,10 @@ export interface PublishedModifierDTO {
|
|
|
1040
893
|
price_for_more?: number;
|
|
1041
894
|
pre_surcharge?: number;
|
|
1042
895
|
post_surcharge?: number;
|
|
896
|
+
tax_tag_code?: string;
|
|
1043
897
|
permissions?: Record<string, any>;
|
|
1044
898
|
[index: string]: any;
|
|
1045
899
|
}
|
|
1046
|
-
export interface PublishedBrandPublishedBrandDTO {
|
|
1047
|
-
name?: FilterFieldDTO;
|
|
1048
|
-
description?: FilterFieldDTO;
|
|
1049
|
-
is_active?: FilterFieldDTO;
|
|
1050
|
-
type?: FilterFieldDTO;
|
|
1051
|
-
parent_id?: FilterFieldDTO;
|
|
1052
|
-
local_menu_group_id?: FilterFieldDTO;
|
|
1053
|
-
global_menu_group_id?: FilterFieldDTO;
|
|
1054
|
-
posid_segment?: FilterFieldDTO;
|
|
1055
|
-
id?: FilterFieldDTO;
|
|
1056
|
-
version?: FilterFieldDTO;
|
|
1057
|
-
created_at?: FilterFieldDTO;
|
|
1058
|
-
updated_at?: FilterFieldDTO;
|
|
1059
|
-
deleted_at?: FilterFieldDTO;
|
|
1060
|
-
parent?: Record<string, any>;
|
|
1061
|
-
children?: Record<string, any>[];
|
|
1062
|
-
local_menu_group?: LocalMenuGroupDTO;
|
|
1063
|
-
global_menu_group?: GlobalMenuGroupDTO;
|
|
1064
|
-
menus?: PublishedMenuDTO[];
|
|
1065
|
-
categories?: PublishedCategoryDTO[];
|
|
1066
|
-
category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
|
|
1067
|
-
items?: PublishedItemDTO[];
|
|
1068
|
-
item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1069
|
-
modifier_groups?: PublishedModifierGroupDTO[];
|
|
1070
|
-
modifier_group_to_modifier_relationships?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1071
|
-
modifiers?: PublishedModifierDTO[];
|
|
1072
|
-
attachments?: FileAttachmentsDTO;
|
|
1073
|
-
permissions?: FilterFieldDTO;
|
|
1074
|
-
[index: string]: any;
|
|
1075
|
-
}
|
|
1076
|
-
export interface DraftCategoryDraftCategoryDTO {
|
|
1077
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
1078
|
-
parent_id?: FilterFieldDTO;
|
|
1079
|
-
name?: FilterFieldDTO;
|
|
1080
|
-
label?: FilterFieldDTO;
|
|
1081
|
-
sequence?: FilterFieldDTO;
|
|
1082
|
-
is_active?: FilterFieldDTO;
|
|
1083
|
-
brand_id?: FilterFieldDTO;
|
|
1084
|
-
menu_id?: FilterFieldDTO;
|
|
1085
|
-
item_images_enabled?: FilterFieldDTO;
|
|
1086
|
-
id?: FilterFieldDTO;
|
|
1087
|
-
version?: FilterFieldDTO;
|
|
1088
|
-
created_at?: FilterFieldDTO;
|
|
1089
|
-
updated_at?: FilterFieldDTO;
|
|
1090
|
-
deleted_at?: FilterFieldDTO;
|
|
1091
|
-
parent?: Record<string, any>;
|
|
1092
|
-
children?: Record<string, any>[];
|
|
1093
|
-
menu?: DraftMenuDTO;
|
|
1094
|
-
items?: DraftCategoryToItemRelationshipDTO[];
|
|
1095
|
-
brand?: DraftBrandDTO;
|
|
1096
|
-
changes?: CategoryChangeDTO[];
|
|
1097
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
1098
|
-
attachments?: FileAttachmentsDTO;
|
|
1099
|
-
permissions?: FilterFieldDTO;
|
|
1100
|
-
[index: string]: any;
|
|
1101
|
-
}
|
|
1102
|
-
export interface PublishedMenuPublishedMenuDTO {
|
|
1103
|
-
parent_id?: FilterFieldDTO;
|
|
1104
|
-
name?: FilterFieldDTO;
|
|
1105
|
-
brand_id?: FilterFieldDTO;
|
|
1106
|
-
category_images_enabled?: FilterFieldDTO;
|
|
1107
|
-
id?: FilterFieldDTO;
|
|
1108
|
-
version?: FilterFieldDTO;
|
|
1109
|
-
created_at?: FilterFieldDTO;
|
|
1110
|
-
updated_at?: FilterFieldDTO;
|
|
1111
|
-
deleted_at?: FilterFieldDTO;
|
|
1112
|
-
parent?: Record<string, any>;
|
|
1113
|
-
children?: Record<string, any>[];
|
|
1114
|
-
categories?: PublishedCategoryDTO[];
|
|
1115
|
-
brand?: PublishedBrandDTO;
|
|
1116
|
-
permissions?: FilterFieldDTO;
|
|
1117
|
-
[index: string]: any;
|
|
1118
|
-
}
|
|
1119
900
|
export interface GroupStockUpdate {
|
|
1120
901
|
id: string;
|
|
1121
902
|
items?: ItemStockUpdate[];
|
|
@@ -1331,76 +1112,13 @@ export interface V2MenuIsDTO {
|
|
|
1331
1112
|
item_desc_edit_enabled?: boolean;
|
|
1332
1113
|
calories_edit_enabled?: boolean;
|
|
1333
1114
|
item_label_edit_enabled?: boolean;
|
|
1115
|
+
frictionless?: boolean;
|
|
1334
1116
|
}
|
|
1335
1117
|
export interface V2MetaDTO {
|
|
1336
1118
|
locked_by_user?: string;
|
|
1337
1119
|
last_modified_user?: string;
|
|
1338
1120
|
version?: number;
|
|
1339
1121
|
}
|
|
1340
|
-
export interface PublishedCategoryPublishedCategoryDTO {
|
|
1341
|
-
parent_id?: FilterFieldDTO;
|
|
1342
|
-
name?: FilterFieldDTO;
|
|
1343
|
-
label?: FilterFieldDTO;
|
|
1344
|
-
sequence?: FilterFieldDTO;
|
|
1345
|
-
is_active?: FilterFieldDTO;
|
|
1346
|
-
brand_id?: FilterFieldDTO;
|
|
1347
|
-
menu_id?: FilterFieldDTO;
|
|
1348
|
-
item_images_enabled?: FilterFieldDTO;
|
|
1349
|
-
id?: FilterFieldDTO;
|
|
1350
|
-
version?: FilterFieldDTO;
|
|
1351
|
-
created_at?: FilterFieldDTO;
|
|
1352
|
-
updated_at?: FilterFieldDTO;
|
|
1353
|
-
deleted_at?: FilterFieldDTO;
|
|
1354
|
-
parent?: Record<string, any>;
|
|
1355
|
-
children?: Record<string, any>[];
|
|
1356
|
-
menu?: PublishedMenuDTO;
|
|
1357
|
-
items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1358
|
-
brand?: PublishedBrandDTO;
|
|
1359
|
-
attachments?: FileAttachmentsDTO;
|
|
1360
|
-
permissions?: FilterFieldDTO;
|
|
1361
|
-
[index: string]: any;
|
|
1362
|
-
}
|
|
1363
|
-
export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDTO {
|
|
1364
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
1365
|
-
parent_id?: FilterFieldDTO;
|
|
1366
|
-
deleted_at?: FilterFieldDTO;
|
|
1367
|
-
item_id?: FilterFieldDTO;
|
|
1368
|
-
category_id?: FilterFieldDTO;
|
|
1369
|
-
brand_id?: FilterFieldDTO;
|
|
1370
|
-
sequence?: FilterFieldDTO;
|
|
1371
|
-
id?: FilterFieldDTO;
|
|
1372
|
-
version?: FilterFieldDTO;
|
|
1373
|
-
created_at?: FilterFieldDTO;
|
|
1374
|
-
updated_at?: FilterFieldDTO;
|
|
1375
|
-
parent?: Record<string, any>;
|
|
1376
|
-
children?: Record<string, any>[];
|
|
1377
|
-
category?: DraftCategoryDTO;
|
|
1378
|
-
item?: DraftItemDTO;
|
|
1379
|
-
brand?: DraftBrandDTO;
|
|
1380
|
-
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
1381
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
1382
|
-
permissions?: FilterFieldDTO;
|
|
1383
|
-
[index: string]: any;
|
|
1384
|
-
}
|
|
1385
|
-
export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelationshipDTO {
|
|
1386
|
-
parent_id?: FilterFieldDTO;
|
|
1387
|
-
deleted_at?: FilterFieldDTO;
|
|
1388
|
-
item_id?: FilterFieldDTO;
|
|
1389
|
-
category_id?: FilterFieldDTO;
|
|
1390
|
-
brand_id?: FilterFieldDTO;
|
|
1391
|
-
sequence?: FilterFieldDTO;
|
|
1392
|
-
id?: FilterFieldDTO;
|
|
1393
|
-
version?: FilterFieldDTO;
|
|
1394
|
-
created_at?: FilterFieldDTO;
|
|
1395
|
-
updated_at?: FilterFieldDTO;
|
|
1396
|
-
parent?: Record<string, any>;
|
|
1397
|
-
children?: Record<string, any>[];
|
|
1398
|
-
category?: PublishedCategoryDTO;
|
|
1399
|
-
item?: PublishedItemDTO;
|
|
1400
|
-
brand?: PublishedBrandDTO;
|
|
1401
|
-
permissions?: FilterFieldDTO;
|
|
1402
|
-
[index: string]: any;
|
|
1403
|
-
}
|
|
1404
1122
|
export interface LineRouteSuggestion {
|
|
1405
1123
|
line_route?: string;
|
|
1406
1124
|
occurrences?: number;
|
|
@@ -1409,7 +1127,7 @@ export interface DraftItemEntityDTO {
|
|
|
1409
1127
|
parent?: DraftItemDTO;
|
|
1410
1128
|
children?: DraftItemDTO[];
|
|
1411
1129
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1412
|
-
id
|
|
1130
|
+
id: string;
|
|
1413
1131
|
created_at?: string;
|
|
1414
1132
|
updated_at?: string;
|
|
1415
1133
|
deleted_at?: string;
|
|
@@ -1430,6 +1148,7 @@ export interface DraftItemEntityDTO {
|
|
|
1430
1148
|
posid_segment?: string;
|
|
1431
1149
|
menu_works?: MenuWorksDTO;
|
|
1432
1150
|
is_out_of_stock?: boolean;
|
|
1151
|
+
tax_tag_code?: string;
|
|
1433
1152
|
applied_diff_snapshot?: Record<string, any>;
|
|
1434
1153
|
version?: number;
|
|
1435
1154
|
brand?: DraftBrandDTO;
|
|
@@ -1441,152 +1160,11 @@ export interface DraftItemEntityDTO {
|
|
|
1441
1160
|
permissions?: Record<string, any>;
|
|
1442
1161
|
[index: string]: any;
|
|
1443
1162
|
}
|
|
1444
|
-
export interface PublishedItemPublishedItemDTO {
|
|
1445
|
-
parent_id?: FilterFieldDTO;
|
|
1446
|
-
name?: FilterFieldDTO;
|
|
1447
|
-
label?: FilterFieldDTO;
|
|
1448
|
-
description?: FilterFieldDTO;
|
|
1449
|
-
price?: FilterFieldDTO;
|
|
1450
|
-
barcode?: FilterFieldDTO;
|
|
1451
|
-
calories?: FilterFieldDTO;
|
|
1452
|
-
meal_value?: FilterFieldDTO;
|
|
1453
|
-
is_active?: FilterFieldDTO;
|
|
1454
|
-
posid?: FilterFieldDTO;
|
|
1455
|
-
tax_tags?: FilterFieldDTO[];
|
|
1456
|
-
brand_id?: FilterFieldDTO;
|
|
1457
|
-
line_route?: FilterFieldDTO;
|
|
1458
|
-
posid_segment?: FilterFieldDTO;
|
|
1459
|
-
is_out_of_stock?: FilterFieldDTO;
|
|
1460
|
-
id?: FilterFieldDTO;
|
|
1461
|
-
version?: FilterFieldDTO;
|
|
1462
|
-
created_at?: FilterFieldDTO;
|
|
1463
|
-
updated_at?: FilterFieldDTO;
|
|
1464
|
-
deleted_at?: FilterFieldDTO;
|
|
1465
|
-
parent?: Record<string, any>;
|
|
1466
|
-
children?: Record<string, any>[];
|
|
1467
|
-
brand?: PublishedBrandDTO;
|
|
1468
|
-
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
1469
|
-
modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1470
|
-
reporting?: ReportingMetadataDTO;
|
|
1471
|
-
attachments?: FileAttachmentsDTO;
|
|
1472
|
-
weight?: WeightDTO;
|
|
1473
|
-
menu_works?: MenuWorksDTO;
|
|
1474
|
-
permissions?: FilterFieldDTO;
|
|
1475
|
-
[index: string]: any;
|
|
1476
|
-
}
|
|
1477
|
-
export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDTO {
|
|
1478
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
1479
|
-
parent_id?: FilterFieldDTO;
|
|
1480
|
-
deleted_at?: FilterFieldDTO;
|
|
1481
|
-
modifier_group_id?: FilterFieldDTO;
|
|
1482
|
-
item_id?: FilterFieldDTO;
|
|
1483
|
-
brand_id?: FilterFieldDTO;
|
|
1484
|
-
sequence?: FilterFieldDTO;
|
|
1485
|
-
id?: FilterFieldDTO;
|
|
1486
|
-
version?: FilterFieldDTO;
|
|
1487
|
-
created_at?: FilterFieldDTO;
|
|
1488
|
-
updated_at?: FilterFieldDTO;
|
|
1489
|
-
parent?: Record<string, any>;
|
|
1490
|
-
children?: Record<string, any>[];
|
|
1491
|
-
item?: DraftItemDTO;
|
|
1492
|
-
modifier_group?: DraftModifierGroupDTO;
|
|
1493
|
-
brand?: DraftBrandDTO;
|
|
1494
|
-
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
1495
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
1496
|
-
permissions?: FilterFieldDTO;
|
|
1497
|
-
[index: string]: any;
|
|
1498
|
-
}
|
|
1499
|
-
export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifierGroupRelationshipDTO {
|
|
1500
|
-
parent_id?: FilterFieldDTO;
|
|
1501
|
-
deleted_at?: FilterFieldDTO;
|
|
1502
|
-
modifier_group_id?: FilterFieldDTO;
|
|
1503
|
-
item_id?: FilterFieldDTO;
|
|
1504
|
-
brand_id?: FilterFieldDTO;
|
|
1505
|
-
sequence?: FilterFieldDTO;
|
|
1506
|
-
id?: FilterFieldDTO;
|
|
1507
|
-
version?: FilterFieldDTO;
|
|
1508
|
-
created_at?: FilterFieldDTO;
|
|
1509
|
-
updated_at?: FilterFieldDTO;
|
|
1510
|
-
parent?: Record<string, any>;
|
|
1511
|
-
children?: Record<string, any>[];
|
|
1512
|
-
item?: PublishedItemDTO;
|
|
1513
|
-
modifier_group?: PublishedModifierGroupDTO;
|
|
1514
|
-
brand?: PublishedBrandDTO;
|
|
1515
|
-
permissions?: FilterFieldDTO;
|
|
1516
|
-
[index: string]: any;
|
|
1517
|
-
}
|
|
1518
|
-
export interface PublishedModifierGroupPublishedModifierGroupDTO {
|
|
1519
|
-
parent_id?: FilterFieldDTO;
|
|
1520
|
-
name?: FilterFieldDTO;
|
|
1521
|
-
label?: FilterFieldDTO;
|
|
1522
|
-
min?: FilterFieldDTO;
|
|
1523
|
-
max?: FilterFieldDTO;
|
|
1524
|
-
is_active?: FilterFieldDTO;
|
|
1525
|
-
limit?: FilterFieldDTO;
|
|
1526
|
-
brand_id?: FilterFieldDTO;
|
|
1527
|
-
order_type?: FilterFieldDTO;
|
|
1528
|
-
sizing?: FilterFieldDTO;
|
|
1529
|
-
is_out_of_stock?: FilterFieldDTO;
|
|
1530
|
-
is_incremental?: FilterFieldDTO;
|
|
1531
|
-
id?: FilterFieldDTO;
|
|
1532
|
-
version?: FilterFieldDTO;
|
|
1533
|
-
created_at?: FilterFieldDTO;
|
|
1534
|
-
updated_at?: FilterFieldDTO;
|
|
1535
|
-
deleted_at?: FilterFieldDTO;
|
|
1536
|
-
parent?: Record<string, any>;
|
|
1537
|
-
children?: Record<string, any>[];
|
|
1538
|
-
modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1539
|
-
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1540
|
-
brand?: PublishedBrandDTO;
|
|
1541
|
-
permissions?: FilterFieldDTO;
|
|
1542
|
-
[index: string]: any;
|
|
1543
|
-
}
|
|
1544
|
-
export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDTO {
|
|
1545
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
1546
|
-
parent_id?: FilterFieldDTO;
|
|
1547
|
-
deleted_at?: FilterFieldDTO;
|
|
1548
|
-
modifier_id?: FilterFieldDTO;
|
|
1549
|
-
modifier_group_id?: FilterFieldDTO;
|
|
1550
|
-
brand_id?: FilterFieldDTO;
|
|
1551
|
-
sequence?: FilterFieldDTO;
|
|
1552
|
-
id?: FilterFieldDTO;
|
|
1553
|
-
version?: FilterFieldDTO;
|
|
1554
|
-
created_at?: FilterFieldDTO;
|
|
1555
|
-
updated_at?: FilterFieldDTO;
|
|
1556
|
-
parent?: Record<string, any>;
|
|
1557
|
-
children?: Record<string, any>[];
|
|
1558
|
-
modifier?: DraftModifierDTO;
|
|
1559
|
-
modifier_group?: DraftModifierGroupDTO;
|
|
1560
|
-
brand?: DraftBrandDTO;
|
|
1561
|
-
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
1562
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
1563
|
-
permissions?: FilterFieldDTO;
|
|
1564
|
-
[index: string]: any;
|
|
1565
|
-
}
|
|
1566
|
-
export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGroupToModifierRelationshipDTO {
|
|
1567
|
-
parent_id?: FilterFieldDTO;
|
|
1568
|
-
deleted_at?: FilterFieldDTO;
|
|
1569
|
-
modifier_id?: FilterFieldDTO;
|
|
1570
|
-
modifier_group_id?: FilterFieldDTO;
|
|
1571
|
-
brand_id?: FilterFieldDTO;
|
|
1572
|
-
sequence?: FilterFieldDTO;
|
|
1573
|
-
id?: FilterFieldDTO;
|
|
1574
|
-
version?: FilterFieldDTO;
|
|
1575
|
-
created_at?: FilterFieldDTO;
|
|
1576
|
-
updated_at?: FilterFieldDTO;
|
|
1577
|
-
parent?: Record<string, any>;
|
|
1578
|
-
children?: Record<string, any>[];
|
|
1579
|
-
modifier_group?: PublishedModifierGroupDTO;
|
|
1580
|
-
modifier?: PublishedModifierDTO;
|
|
1581
|
-
brand?: PublishedBrandDTO;
|
|
1582
|
-
permissions?: FilterFieldDTO;
|
|
1583
|
-
[index: string]: any;
|
|
1584
|
-
}
|
|
1585
1163
|
export interface DraftModifierEntityDTO {
|
|
1586
1164
|
parent?: DraftModifierDTO;
|
|
1587
1165
|
children?: DraftModifierDTO[];
|
|
1588
1166
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1589
|
-
id
|
|
1167
|
+
id: string;
|
|
1590
1168
|
created_at?: string;
|
|
1591
1169
|
updated_at?: string;
|
|
1592
1170
|
deleted_at?: string;
|
|
@@ -1609,6 +1187,7 @@ export interface DraftModifierEntityDTO {
|
|
|
1609
1187
|
price_for_more?: number;
|
|
1610
1188
|
pre_surcharge?: number;
|
|
1611
1189
|
post_surcharge?: number;
|
|
1190
|
+
tax_tag_code?: string;
|
|
1612
1191
|
applied_diff_snapshot?: Record<string, any>;
|
|
1613
1192
|
version?: number;
|
|
1614
1193
|
brand?: DraftBrandDTO;
|
|
@@ -1619,61 +1198,6 @@ export interface DraftModifierEntityDTO {
|
|
|
1619
1198
|
permissions?: Record<string, any>;
|
|
1620
1199
|
[index: string]: any;
|
|
1621
1200
|
}
|
|
1622
|
-
export interface PublishedModifierPublishedModifierDTO {
|
|
1623
|
-
parent_id?: FilterFieldDTO;
|
|
1624
|
-
name?: FilterFieldDTO;
|
|
1625
|
-
label?: FilterFieldDTO;
|
|
1626
|
-
description?: FilterFieldDTO;
|
|
1627
|
-
price?: FilterFieldDTO;
|
|
1628
|
-
calories?: FilterFieldDTO;
|
|
1629
|
-
tax_tags?: FilterFieldDTO[];
|
|
1630
|
-
is_active?: FilterFieldDTO;
|
|
1631
|
-
posid?: FilterFieldDTO;
|
|
1632
|
-
posid_segment?: FilterFieldDTO;
|
|
1633
|
-
brand_id?: FilterFieldDTO;
|
|
1634
|
-
is_out_of_stock?: FilterFieldDTO;
|
|
1635
|
-
price_for_none?: FilterFieldDTO;
|
|
1636
|
-
price_for_less?: FilterFieldDTO;
|
|
1637
|
-
price_for_more?: FilterFieldDTO;
|
|
1638
|
-
pre_surcharge?: FilterFieldDTO;
|
|
1639
|
-
post_surcharge?: FilterFieldDTO;
|
|
1640
|
-
id?: FilterFieldDTO;
|
|
1641
|
-
version?: FilterFieldDTO;
|
|
1642
|
-
created_at?: FilterFieldDTO;
|
|
1643
|
-
updated_at?: FilterFieldDTO;
|
|
1644
|
-
deleted_at?: FilterFieldDTO;
|
|
1645
|
-
parent?: Record<string, any>;
|
|
1646
|
-
children?: Record<string, any>[];
|
|
1647
|
-
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1648
|
-
brand?: PublishedBrandDTO;
|
|
1649
|
-
reporting?: ReportingMetadataDTO;
|
|
1650
|
-
weight?: WeightDTO;
|
|
1651
|
-
attachments?: FileAttachmentsDTO;
|
|
1652
|
-
menu_works?: MenuWorksDTO;
|
|
1653
|
-
permissions?: FilterFieldDTO;
|
|
1654
|
-
[index: string]: any;
|
|
1655
|
-
}
|
|
1656
|
-
export interface GlobalDiffDTO {
|
|
1657
|
-
action: "create" | "update" | "delete";
|
|
1658
|
-
id?: string;
|
|
1659
|
-
created_at?: string;
|
|
1660
|
-
updated_at?: string;
|
|
1661
|
-
deleted_at?: string;
|
|
1662
|
-
entity_type?: string;
|
|
1663
|
-
local_id?: string;
|
|
1664
|
-
changes?: Record<string, any>;
|
|
1665
|
-
local_changes?: Record<string, any>;
|
|
1666
|
-
local_snapshot?: Record<string, any>;
|
|
1667
|
-
global_id?: string;
|
|
1668
|
-
global_snapshot?: Record<string, any>;
|
|
1669
|
-
brand_id?: string;
|
|
1670
|
-
version?: number;
|
|
1671
|
-
depends_on?: GlobalDiffDependencyDTO[];
|
|
1672
|
-
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
1673
|
-
brand?: DraftBrandDTO;
|
|
1674
|
-
permissions?: Record<string, any>;
|
|
1675
|
-
[index: string]: any;
|
|
1676
|
-
}
|
|
1677
1201
|
export interface GetMenuClientPath {
|
|
1678
1202
|
client_id: string;
|
|
1679
1203
|
}
|
|
@@ -1950,7 +1474,7 @@ export interface PostMenuV3LocalMenuGroupResponse {
|
|
|
1950
1474
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
1951
1475
|
draft_brands?: DraftBrandDTO[];
|
|
1952
1476
|
published_brands?: PublishedBrandDTO[];
|
|
1953
|
-
id
|
|
1477
|
+
id: string;
|
|
1954
1478
|
created_at?: string;
|
|
1955
1479
|
updated_at?: string;
|
|
1956
1480
|
deleted_at?: string;
|
|
@@ -1976,7 +1500,7 @@ export interface GetMenuV3LocalMenuGroupResponse {
|
|
|
1976
1500
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
1977
1501
|
draft_brands?: DraftBrandDTO[];
|
|
1978
1502
|
published_brands?: PublishedBrandDTO[];
|
|
1979
|
-
id
|
|
1503
|
+
id: string;
|
|
1980
1504
|
created_at?: string;
|
|
1981
1505
|
updated_at?: string;
|
|
1982
1506
|
deleted_at?: string;
|
|
@@ -2008,7 +1532,7 @@ export interface PatchMenuV3LocalMenuGroupResponse {
|
|
|
2008
1532
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2009
1533
|
draft_brands?: DraftBrandDTO[];
|
|
2010
1534
|
published_brands?: PublishedBrandDTO[];
|
|
2011
|
-
id
|
|
1535
|
+
id: string;
|
|
2012
1536
|
created_at?: string;
|
|
2013
1537
|
updated_at?: string;
|
|
2014
1538
|
deleted_at?: string;
|
|
@@ -2032,7 +1556,7 @@ export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
|
2032
1556
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2033
1557
|
draft_brands?: DraftBrandDTO[];
|
|
2034
1558
|
published_brands?: PublishedBrandDTO[];
|
|
2035
|
-
id
|
|
1559
|
+
id: string;
|
|
2036
1560
|
created_at?: string;
|
|
2037
1561
|
updated_at?: string;
|
|
2038
1562
|
deleted_at?: string;
|
|
@@ -2069,7 +1593,6 @@ export type PostMenuV3LocalMenuGroupsBody = {
|
|
|
2069
1593
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2070
1594
|
draft_brands?: DraftBrandDTO[];
|
|
2071
1595
|
published_brands?: PublishedBrandDTO[];
|
|
2072
|
-
id?: Record<string, any>;
|
|
2073
1596
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2074
1597
|
permissions?: Record<string, any>;
|
|
2075
1598
|
[index: string]: any;
|
|
@@ -2287,7 +1810,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
|
|
|
2287
1810
|
draft_brands?: DraftBrandDTO[];
|
|
2288
1811
|
published_brands?: PublishedBrandDTO[];
|
|
2289
1812
|
posid_segment: string;
|
|
2290
|
-
id
|
|
1813
|
+
id: string;
|
|
2291
1814
|
created_at?: string;
|
|
2292
1815
|
updated_at?: string;
|
|
2293
1816
|
deleted_at?: string;
|
|
@@ -2325,7 +1848,6 @@ export type PostMenuV3GlobalMenuGroupsBody = {
|
|
|
2325
1848
|
draft_brands?: DraftBrandDTO[];
|
|
2326
1849
|
published_brands?: PublishedBrandDTO[];
|
|
2327
1850
|
posid_segment: string;
|
|
2328
|
-
id?: Record<string, any>;
|
|
2329
1851
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2330
1852
|
permissions?: Record<string, any>;
|
|
2331
1853
|
[index: string]: any;
|
|
@@ -2416,7 +1938,7 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
2416
1938
|
local_menu_group_id?: string;
|
|
2417
1939
|
global_menu_group_id?: string;
|
|
2418
1940
|
posid_segment?: string;
|
|
2419
|
-
|
|
1941
|
+
is_simplified_view?: boolean;
|
|
2420
1942
|
changes?: BrandChangeDTO[];
|
|
2421
1943
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2422
1944
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -2464,6 +1986,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2464
1986
|
local_menu_group_id?: string;
|
|
2465
1987
|
global_menu_group_id?: string;
|
|
2466
1988
|
posid_segment?: string;
|
|
1989
|
+
is_simplified_view?: boolean;
|
|
2467
1990
|
version?: number;
|
|
2468
1991
|
changes?: BrandChangeDTO[];
|
|
2469
1992
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -2523,7 +2046,7 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2523
2046
|
local_menu_group_id?: string;
|
|
2524
2047
|
global_menu_group_id?: string;
|
|
2525
2048
|
posid_segment?: string;
|
|
2526
|
-
|
|
2049
|
+
is_simplified_view?: boolean;
|
|
2527
2050
|
changes?: BrandChangeDTO[];
|
|
2528
2051
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2529
2052
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -2750,7 +2273,7 @@ export interface PostMenuV3BrandBody {
|
|
|
2750
2273
|
local_menu_group_id?: string;
|
|
2751
2274
|
global_menu_group_id?: string;
|
|
2752
2275
|
posid_segment?: string;
|
|
2753
|
-
|
|
2276
|
+
is_simplified_view?: boolean;
|
|
2754
2277
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2755
2278
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2756
2279
|
attachments?: FileAttachmentsDTO;
|
|
@@ -2799,6 +2322,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
2799
2322
|
local_menu_group_id?: string;
|
|
2800
2323
|
global_menu_group_id?: string;
|
|
2801
2324
|
posid_segment?: string;
|
|
2325
|
+
is_simplified_view?: boolean;
|
|
2802
2326
|
version?: number;
|
|
2803
2327
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2804
2328
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -2862,7 +2386,7 @@ export type PostMenuV3BrandsBody = {
|
|
|
2862
2386
|
local_menu_group_id?: string;
|
|
2863
2387
|
global_menu_group_id?: string;
|
|
2864
2388
|
posid_segment?: string;
|
|
2865
|
-
|
|
2389
|
+
is_simplified_view?: boolean;
|
|
2866
2390
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2867
2391
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2868
2392
|
attachments?: FileAttachmentsDTO;
|
|
@@ -2994,7 +2518,6 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
2994
2518
|
name: string;
|
|
2995
2519
|
brand_id: string;
|
|
2996
2520
|
category_images_enabled?: boolean;
|
|
2997
|
-
id?: Record<string, any>;
|
|
2998
2521
|
applied_diff_snapshot?: Record<string, any>;
|
|
2999
2522
|
brand?: DraftBrandDTO;
|
|
3000
2523
|
changes?: MenuChangeDTO[];
|
|
@@ -3075,7 +2598,6 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
3075
2598
|
name: string;
|
|
3076
2599
|
brand_id: string;
|
|
3077
2600
|
category_images_enabled?: boolean;
|
|
3078
|
-
id?: Record<string, any>;
|
|
3079
2601
|
applied_diff_snapshot?: Record<string, any>;
|
|
3080
2602
|
brand?: DraftBrandDTO;
|
|
3081
2603
|
changes?: MenuChangeDTO[];
|
|
@@ -3238,7 +2760,6 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
3238
2760
|
brand_id: string;
|
|
3239
2761
|
menu_id: string;
|
|
3240
2762
|
item_images_enabled?: boolean;
|
|
3241
|
-
id?: Record<string, any>;
|
|
3242
2763
|
applied_diff_snapshot?: Record<string, any>;
|
|
3243
2764
|
menu?: DraftMenuDTO;
|
|
3244
2765
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3323,7 +2844,6 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
3323
2844
|
brand_id: string;
|
|
3324
2845
|
menu_id: string;
|
|
3325
2846
|
item_images_enabled?: boolean;
|
|
3326
|
-
id?: Record<string, any>;
|
|
3327
2847
|
applied_diff_snapshot?: Record<string, any>;
|
|
3328
2848
|
menu?: DraftMenuDTO;
|
|
3329
2849
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3387,7 +2907,6 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
3387
2907
|
category_id: string;
|
|
3388
2908
|
brand_id: string;
|
|
3389
2909
|
sequence?: number;
|
|
3390
|
-
id?: Record<string, any>;
|
|
3391
2910
|
applied_diff_snapshot?: Record<string, any>;
|
|
3392
2911
|
category?: DraftCategoryDTO;
|
|
3393
2912
|
item?: DraftItemDTO;
|
|
@@ -3472,7 +2991,6 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
|
|
|
3472
2991
|
category_id: string;
|
|
3473
2992
|
brand_id: string;
|
|
3474
2993
|
sequence?: number;
|
|
3475
|
-
id?: Record<string, any>;
|
|
3476
2994
|
applied_diff_snapshot?: Record<string, any>;
|
|
3477
2995
|
category?: DraftCategoryDTO;
|
|
3478
2996
|
item?: DraftItemDTO;
|
|
@@ -3569,7 +3087,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
3569
3087
|
posid_segment?: string;
|
|
3570
3088
|
menu_works?: MenuWorksDTO;
|
|
3571
3089
|
is_out_of_stock?: boolean;
|
|
3572
|
-
|
|
3090
|
+
tax_tag_code?: string;
|
|
3573
3091
|
applied_diff_snapshot?: Record<string, any>;
|
|
3574
3092
|
brand?: DraftBrandDTO;
|
|
3575
3093
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3620,6 +3138,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
3620
3138
|
posid_segment?: string;
|
|
3621
3139
|
menu_works?: MenuWorksDTO;
|
|
3622
3140
|
is_out_of_stock?: boolean;
|
|
3141
|
+
tax_tag_code?: string;
|
|
3623
3142
|
applied_diff_snapshot?: Record<string, any>;
|
|
3624
3143
|
version?: number;
|
|
3625
3144
|
brand?: DraftBrandDTO;
|
|
@@ -3682,7 +3201,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
3682
3201
|
posid_segment?: string;
|
|
3683
3202
|
menu_works?: MenuWorksDTO;
|
|
3684
3203
|
is_out_of_stock?: boolean;
|
|
3685
|
-
|
|
3204
|
+
tax_tag_code?: string;
|
|
3686
3205
|
applied_diff_snapshot?: Record<string, any>;
|
|
3687
3206
|
brand?: DraftBrandDTO;
|
|
3688
3207
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3748,6 +3267,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
3748
3267
|
posid_segment?: string;
|
|
3749
3268
|
menu_works?: MenuWorksDTO;
|
|
3750
3269
|
is_out_of_stock?: boolean;
|
|
3270
|
+
tax_tag_code?: string;
|
|
3751
3271
|
applied_diff_snapshot?: Record<string, any>;
|
|
3752
3272
|
brand?: DraftBrandDTO;
|
|
3753
3273
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3866,7 +3386,6 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
3866
3386
|
item_id: string;
|
|
3867
3387
|
brand_id: string;
|
|
3868
3388
|
sequence?: number;
|
|
3869
|
-
id?: Record<string, any>;
|
|
3870
3389
|
applied_diff_snapshot?: Record<string, any>;
|
|
3871
3390
|
item?: DraftItemDTO;
|
|
3872
3391
|
modifier_group?: DraftModifierGroupDTO;
|
|
@@ -3951,7 +3470,6 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
|
3951
3470
|
item_id: string;
|
|
3952
3471
|
brand_id: string;
|
|
3953
3472
|
sequence?: number;
|
|
3954
|
-
id?: Record<string, any>;
|
|
3955
3473
|
applied_diff_snapshot?: Record<string, any>;
|
|
3956
3474
|
item?: DraftItemDTO;
|
|
3957
3475
|
modifier_group?: DraftModifierGroupDTO;
|
|
@@ -4044,7 +3562,6 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
4044
3562
|
sizing?: string;
|
|
4045
3563
|
is_out_of_stock?: boolean;
|
|
4046
3564
|
is_incremental?: boolean;
|
|
4047
|
-
id?: Record<string, any>;
|
|
4048
3565
|
applied_diff_snapshot?: Record<string, any>;
|
|
4049
3566
|
brand?: DraftBrandDTO;
|
|
4050
3567
|
changes?: ModifierGroupChangeDTO[];
|
|
@@ -4143,7 +3660,6 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
4143
3660
|
sizing?: string;
|
|
4144
3661
|
is_out_of_stock?: boolean;
|
|
4145
3662
|
is_incremental?: boolean;
|
|
4146
|
-
id?: Record<string, any>;
|
|
4147
3663
|
applied_diff_snapshot?: Record<string, any>;
|
|
4148
3664
|
brand?: DraftBrandDTO;
|
|
4149
3665
|
changes?: ModifierGroupChangeDTO[];
|
|
@@ -4179,7 +3695,7 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
4179
3695
|
children?: DraftModifierGroupDTO[];
|
|
4180
3696
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
4181
3697
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
4182
|
-
id
|
|
3698
|
+
id: string;
|
|
4183
3699
|
created_at?: string;
|
|
4184
3700
|
updated_at?: string;
|
|
4185
3701
|
deleted_at?: string;
|
|
@@ -4259,7 +3775,6 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
4259
3775
|
modifier_group_id: string;
|
|
4260
3776
|
brand_id: string;
|
|
4261
3777
|
sequence?: number;
|
|
4262
|
-
id?: Record<string, any>;
|
|
4263
3778
|
applied_diff_snapshot?: Record<string, any>;
|
|
4264
3779
|
modifier?: DraftModifierDTO;
|
|
4265
3780
|
modifier_group?: DraftModifierGroupDTO;
|
|
@@ -4344,7 +3859,6 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
|
|
|
4344
3859
|
modifier_group_id: string;
|
|
4345
3860
|
brand_id: string;
|
|
4346
3861
|
sequence?: number;
|
|
4347
|
-
id?: Record<string, any>;
|
|
4348
3862
|
applied_diff_snapshot?: Record<string, any>;
|
|
4349
3863
|
modifier?: DraftModifierDTO;
|
|
4350
3864
|
modifier_group?: DraftModifierGroupDTO;
|
|
@@ -4443,7 +3957,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
4443
3957
|
price_for_more?: number;
|
|
4444
3958
|
pre_surcharge?: number;
|
|
4445
3959
|
post_surcharge?: number;
|
|
4446
|
-
|
|
3960
|
+
tax_tag_code?: string;
|
|
4447
3961
|
applied_diff_snapshot?: Record<string, any>;
|
|
4448
3962
|
brand?: DraftBrandDTO;
|
|
4449
3963
|
changes?: ModifierChangeDTO[];
|
|
@@ -4495,6 +4009,7 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
4495
4009
|
price_for_more?: number;
|
|
4496
4010
|
pre_surcharge?: number;
|
|
4497
4011
|
post_surcharge?: number;
|
|
4012
|
+
tax_tag_code?: string;
|
|
4498
4013
|
applied_diff_snapshot?: Record<string, any>;
|
|
4499
4014
|
version?: number;
|
|
4500
4015
|
brand?: DraftBrandDTO;
|
|
@@ -4558,7 +4073,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
4558
4073
|
price_for_more?: number;
|
|
4559
4074
|
pre_surcharge?: number;
|
|
4560
4075
|
post_surcharge?: number;
|
|
4561
|
-
|
|
4076
|
+
tax_tag_code?: string;
|
|
4562
4077
|
applied_diff_snapshot?: Record<string, any>;
|
|
4563
4078
|
brand?: DraftBrandDTO;
|
|
4564
4079
|
changes?: ModifierChangeDTO[];
|
|
@@ -4613,6 +4128,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
4613
4128
|
price_for_more?: number;
|
|
4614
4129
|
pre_surcharge?: number;
|
|
4615
4130
|
post_surcharge?: number;
|
|
4131
|
+
tax_tag_code?: string;
|
|
4616
4132
|
applied_diff_snapshot?: Record<string, any>;
|
|
4617
4133
|
brand?: DraftBrandDTO;
|
|
4618
4134
|
changes?: ModifierChangeDTO[];
|
|
@@ -4703,27 +4219,7 @@ export interface GetMenuV3GlobalDiffQuery {
|
|
|
4703
4219
|
relationships?: string[];
|
|
4704
4220
|
_query?: string;
|
|
4705
4221
|
}
|
|
4706
|
-
export
|
|
4707
|
-
action: "create" | "update" | "delete";
|
|
4708
|
-
id?: string;
|
|
4709
|
-
created_at?: string;
|
|
4710
|
-
updated_at?: string;
|
|
4711
|
-
deleted_at?: string;
|
|
4712
|
-
entity_type?: string;
|
|
4713
|
-
local_id?: string;
|
|
4714
|
-
changes?: Record<string, any>;
|
|
4715
|
-
local_changes?: Record<string, any>;
|
|
4716
|
-
local_snapshot?: Record<string, any>;
|
|
4717
|
-
global_id?: string;
|
|
4718
|
-
global_snapshot?: Record<string, any>;
|
|
4719
|
-
brand_id?: string;
|
|
4720
|
-
version?: number;
|
|
4721
|
-
depends_on?: GlobalDiffDependencyDTO[];
|
|
4722
|
-
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
4723
|
-
brand?: DraftBrandDTO;
|
|
4724
|
-
permissions?: Record<string, any>;
|
|
4725
|
-
[index: string]: any;
|
|
4726
|
-
}
|
|
4222
|
+
export type GetMenuV3GlobalDiffResponse = GlobalDiffDTO;
|
|
4727
4223
|
export interface GetMenuV3GlobalDiffRequest extends BaseRequest, RequestQuery<GetMenuV3GlobalDiffQuery>, GetMenuV3GlobalDiffPath {
|
|
4728
4224
|
}
|
|
4729
4225
|
export interface GetMenuV3GlobalDiffsQuery {
|