@compassdigital/sdk.typescript 4.34.0 → 4.36.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/centricos.d.ts +1 -0
- package/lib/interface/centricos.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 +53 -559
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/search.d.ts +1 -1
- package/lib/interface/search.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/centricos.ts +2 -0
- package/src/interface/location.ts +4 -0
- package/src/interface/menu.ts +53 -578
- package/src/interface/search.ts +1 -1
- package/src/interface/user.ts +29 -0
package/src/interface/menu.ts
CHANGED
|
@@ -137,6 +137,9 @@ export interface Item {
|
|
|
137
137
|
menu_sort_number?: number;
|
|
138
138
|
// barcodes of the item
|
|
139
139
|
barcodes?: string[];
|
|
140
|
+
tax?: {
|
|
141
|
+
tax_tag_code?: string;
|
|
142
|
+
};
|
|
140
143
|
[index: string]: any;
|
|
141
144
|
};
|
|
142
145
|
category?: {
|
|
@@ -221,6 +224,9 @@ export interface Option {
|
|
|
221
224
|
sort_number?: number;
|
|
222
225
|
// menu sort order
|
|
223
226
|
menu_sort_number?: number;
|
|
227
|
+
tax?: {
|
|
228
|
+
tax_tag_code?: string;
|
|
229
|
+
};
|
|
224
230
|
[index: string]: any;
|
|
225
231
|
};
|
|
226
232
|
is?: {
|
|
@@ -335,6 +341,7 @@ export interface DraftBrandDTO {
|
|
|
335
341
|
local_menu_group_id?: string;
|
|
336
342
|
global_menu_group_id?: string;
|
|
337
343
|
posid_segment?: string;
|
|
344
|
+
is_simplified_view?: boolean;
|
|
338
345
|
permissions?: Record<string, any>;
|
|
339
346
|
[index: string]: any;
|
|
340
347
|
}
|
|
@@ -349,6 +356,7 @@ export interface PublishedBrandDTO {
|
|
|
349
356
|
local_menu_group_id?: string;
|
|
350
357
|
global_menu_group_id?: string;
|
|
351
358
|
posid_segment?: string;
|
|
359
|
+
is_simplified_view?: boolean;
|
|
352
360
|
permissions?: Record<string, any>;
|
|
353
361
|
[index: string]: any;
|
|
354
362
|
}
|
|
@@ -462,7 +470,7 @@ export interface LocalMenuGroupDTO {
|
|
|
462
470
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
463
471
|
draft_brands?: DraftBrandDTO[];
|
|
464
472
|
published_brands?: PublishedBrandDTO[];
|
|
465
|
-
id
|
|
473
|
+
id: string;
|
|
466
474
|
created_at?: string;
|
|
467
475
|
updated_at?: string;
|
|
468
476
|
deleted_at?: string;
|
|
@@ -472,46 +480,12 @@ export interface LocalMenuGroupDTO {
|
|
|
472
480
|
[index: string]: any;
|
|
473
481
|
}
|
|
474
482
|
|
|
475
|
-
export interface DraftBrandDraftBrandDTO {
|
|
476
|
-
name?: FilterFieldDTO;
|
|
477
|
-
description?: FilterFieldDTO;
|
|
478
|
-
is_active?: FilterFieldDTO;
|
|
479
|
-
type?: FilterFieldDTO;
|
|
480
|
-
parent_id?: FilterFieldDTO;
|
|
481
|
-
local_menu_group_id?: FilterFieldDTO;
|
|
482
|
-
global_menu_group_id?: FilterFieldDTO;
|
|
483
|
-
posid_segment?: FilterFieldDTO;
|
|
484
|
-
id?: FilterFieldDTO;
|
|
485
|
-
version?: FilterFieldDTO;
|
|
486
|
-
created_at?: FilterFieldDTO;
|
|
487
|
-
updated_at?: FilterFieldDTO;
|
|
488
|
-
deleted_at?: FilterFieldDTO;
|
|
489
|
-
parent?: Record<string, any>;
|
|
490
|
-
children?: Record<string, any>[];
|
|
491
|
-
changes?: BrandChangeDTO[];
|
|
492
|
-
local_menu_group?: LocalMenuGroupDTO;
|
|
493
|
-
global_menu_group?: GlobalMenuGroupDTO;
|
|
494
|
-
menus?: DraftMenuDTO[];
|
|
495
|
-
categories?: Record<string, any>[];
|
|
496
|
-
category_to_item_relationships?: Record<string, any>[];
|
|
497
|
-
items?: Record<string, any>[];
|
|
498
|
-
item_to_modifier_group_relationships?: Record<string, any>[];
|
|
499
|
-
modifier_groups?: Record<string, any>[];
|
|
500
|
-
modifier_group_to_modifier_relationships?: Record<string, any>[];
|
|
501
|
-
modifiers?: Record<string, any>[];
|
|
502
|
-
statuses?: BrandStatusDTO[];
|
|
503
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
504
|
-
attachments?: Record<string, any>;
|
|
505
|
-
permissions?: FilterFieldDTO;
|
|
506
|
-
[index: string]: any;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
483
|
export interface BrandChangeDTO {
|
|
510
484
|
id?: string;
|
|
511
485
|
insert?: FilterFieldDTO;
|
|
512
486
|
delete?: FilterFieldDTO;
|
|
513
487
|
snapshot_entity_id?: FilterFieldDTO;
|
|
514
|
-
snapshot_entity?:
|
|
488
|
+
snapshot_entity?: DraftBrandDTO;
|
|
515
489
|
permissions?: FilterFieldDTO;
|
|
516
490
|
[index: string]: any;
|
|
517
491
|
}
|
|
@@ -526,7 +500,7 @@ export interface DraftMenuDTO {
|
|
|
526
500
|
brand_id?: string;
|
|
527
501
|
category_images_enabled?: boolean;
|
|
528
502
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
529
|
-
brand?:
|
|
503
|
+
brand?: DraftBrandDTO;
|
|
530
504
|
changes?: MenuChangeDTO[];
|
|
531
505
|
vendor_metadata?: VendorMetadataDTO[];
|
|
532
506
|
permissions?: FilterFieldDTO;
|
|
@@ -548,7 +522,7 @@ export interface DraftCategoryDTO {
|
|
|
548
522
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
549
523
|
menu?: Record<string, any>;
|
|
550
524
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
551
|
-
brand?:
|
|
525
|
+
brand?: DraftBrandDTO;
|
|
552
526
|
changes?: CategoryChangeDTO[];
|
|
553
527
|
vendor_metadata?: VendorMetadataDTO[];
|
|
554
528
|
attachments?: Record<string, any>;
|
|
@@ -568,7 +542,7 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
568
542
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
569
543
|
category?: Record<string, any>;
|
|
570
544
|
item?: DraftItemDTO;
|
|
571
|
-
brand?:
|
|
545
|
+
brand?: DraftBrandDTO;
|
|
572
546
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
573
547
|
vendor_metadata?: VendorMetadataDTO[];
|
|
574
548
|
permissions?: FilterFieldDTO;
|
|
@@ -597,8 +571,9 @@ export interface DraftItemDTO {
|
|
|
597
571
|
posid_segment?: FilterFieldDTO;
|
|
598
572
|
menu_works?: Record<string, any>;
|
|
599
573
|
is_out_of_stock?: FilterFieldDTO;
|
|
574
|
+
tax_tag_code?: FilterFieldDTO;
|
|
600
575
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
601
|
-
brand?:
|
|
576
|
+
brand?: DraftBrandDTO;
|
|
602
577
|
categories?: Record<string, any>[];
|
|
603
578
|
changes?: ItemChangeDTO[];
|
|
604
579
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -620,7 +595,7 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
620
595
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
621
596
|
item?: Record<string, any>;
|
|
622
597
|
modifier_group?: DraftModifierGroupDTO;
|
|
623
|
-
brand?:
|
|
598
|
+
brand?: DraftBrandDTO;
|
|
624
599
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
625
600
|
vendor_metadata?: VendorMetadataDTO[];
|
|
626
601
|
permissions?: FilterFieldDTO;
|
|
@@ -646,7 +621,7 @@ export interface DraftModifierGroupDTO {
|
|
|
646
621
|
is_out_of_stock?: FilterFieldDTO;
|
|
647
622
|
is_incremental?: FilterFieldDTO;
|
|
648
623
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
649
|
-
brand?:
|
|
624
|
+
brand?: DraftBrandDTO;
|
|
650
625
|
changes?: ModifierGroupChangeDTO[];
|
|
651
626
|
vendor_metadata?: VendorMetadataDTO[];
|
|
652
627
|
permissions?: FilterFieldDTO;
|
|
@@ -665,7 +640,7 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
665
640
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
666
641
|
modifier?: DraftModifierDTO;
|
|
667
642
|
modifier_group?: Record<string, any>;
|
|
668
|
-
brand?:
|
|
643
|
+
brand?: DraftBrandDTO;
|
|
669
644
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
670
645
|
vendor_metadata?: VendorMetadataDTO[];
|
|
671
646
|
permissions?: FilterFieldDTO;
|
|
@@ -696,8 +671,9 @@ export interface DraftModifierDTO {
|
|
|
696
671
|
price_for_more?: number;
|
|
697
672
|
pre_surcharge?: number;
|
|
698
673
|
post_surcharge?: number;
|
|
674
|
+
tax_tag_code?: FilterFieldDTO;
|
|
699
675
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
700
|
-
brand?:
|
|
676
|
+
brand?: DraftBrandDTO;
|
|
701
677
|
changes?: ModifierChangeDTO[];
|
|
702
678
|
vendor_metadata?: VendorMetadataDTO[];
|
|
703
679
|
weight?: WeightDTO;
|
|
@@ -829,7 +805,7 @@ export interface BrandStatusDTO {
|
|
|
829
805
|
status?: string;
|
|
830
806
|
metadata?: FilterFieldDTO;
|
|
831
807
|
id?: string;
|
|
832
|
-
brand?:
|
|
808
|
+
brand?: DraftBrandDTO;
|
|
833
809
|
permissions?: FilterFieldDTO;
|
|
834
810
|
[index: string]: any;
|
|
835
811
|
}
|
|
@@ -851,132 +827,6 @@ export interface SiteGroupDTO {
|
|
|
851
827
|
[index: string]: any;
|
|
852
828
|
}
|
|
853
829
|
|
|
854
|
-
export interface DraftMenuDraftMenuDTO {
|
|
855
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
856
|
-
parent_id?: FilterFieldDTO;
|
|
857
|
-
name?: FilterFieldDTO;
|
|
858
|
-
brand_id?: FilterFieldDTO;
|
|
859
|
-
category_images_enabled?: FilterFieldDTO;
|
|
860
|
-
id?: FilterFieldDTO;
|
|
861
|
-
version?: FilterFieldDTO;
|
|
862
|
-
created_at?: FilterFieldDTO;
|
|
863
|
-
updated_at?: FilterFieldDTO;
|
|
864
|
-
deleted_at?: FilterFieldDTO;
|
|
865
|
-
parent?: Record<string, any>;
|
|
866
|
-
children?: Record<string, any>[];
|
|
867
|
-
categories?: DraftCategoryDTO[];
|
|
868
|
-
brand?: DraftBrandDTO;
|
|
869
|
-
changes?: MenuChangeDTO[];
|
|
870
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
871
|
-
permissions?: FilterFieldDTO;
|
|
872
|
-
[index: string]: any;
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
export interface DraftModifierDraftModifierDTO {
|
|
876
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
877
|
-
parent_id?: FilterFieldDTO;
|
|
878
|
-
name?: FilterFieldDTO;
|
|
879
|
-
label?: FilterFieldDTO;
|
|
880
|
-
description?: FilterFieldDTO;
|
|
881
|
-
price?: FilterFieldDTO;
|
|
882
|
-
calories?: FilterFieldDTO;
|
|
883
|
-
tax_tags?: FilterFieldDTO[];
|
|
884
|
-
is_active?: FilterFieldDTO;
|
|
885
|
-
posid?: FilterFieldDTO;
|
|
886
|
-
posid_segment?: FilterFieldDTO;
|
|
887
|
-
brand_id?: FilterFieldDTO;
|
|
888
|
-
is_out_of_stock?: FilterFieldDTO;
|
|
889
|
-
price_for_none?: FilterFieldDTO;
|
|
890
|
-
price_for_less?: FilterFieldDTO;
|
|
891
|
-
price_for_more?: FilterFieldDTO;
|
|
892
|
-
pre_surcharge?: FilterFieldDTO;
|
|
893
|
-
post_surcharge?: FilterFieldDTO;
|
|
894
|
-
id?: FilterFieldDTO;
|
|
895
|
-
version?: FilterFieldDTO;
|
|
896
|
-
created_at?: FilterFieldDTO;
|
|
897
|
-
updated_at?: FilterFieldDTO;
|
|
898
|
-
deleted_at?: FilterFieldDTO;
|
|
899
|
-
parent?: Record<string, any>;
|
|
900
|
-
children?: Record<string, any>[];
|
|
901
|
-
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
902
|
-
brand?: DraftBrandDTO;
|
|
903
|
-
changes?: ModifierChangeDTO[];
|
|
904
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
905
|
-
reporting?: ReportingMetadataDTO;
|
|
906
|
-
weight?: WeightDTO;
|
|
907
|
-
attachments?: FileAttachmentsDTO;
|
|
908
|
-
menu_works?: MenuWorksDTO;
|
|
909
|
-
permissions?: FilterFieldDTO;
|
|
910
|
-
[index: string]: any;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
914
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
915
|
-
parent_id?: FilterFieldDTO;
|
|
916
|
-
name?: FilterFieldDTO;
|
|
917
|
-
label?: FilterFieldDTO;
|
|
918
|
-
min?: FilterFieldDTO;
|
|
919
|
-
max?: FilterFieldDTO;
|
|
920
|
-
is_active?: FilterFieldDTO;
|
|
921
|
-
limit?: FilterFieldDTO;
|
|
922
|
-
brand_id?: FilterFieldDTO;
|
|
923
|
-
order_type?: FilterFieldDTO;
|
|
924
|
-
sizing?: FilterFieldDTO;
|
|
925
|
-
is_out_of_stock?: FilterFieldDTO;
|
|
926
|
-
is_incremental?: FilterFieldDTO;
|
|
927
|
-
id?: FilterFieldDTO;
|
|
928
|
-
version?: FilterFieldDTO;
|
|
929
|
-
created_at?: FilterFieldDTO;
|
|
930
|
-
updated_at?: FilterFieldDTO;
|
|
931
|
-
deleted_at?: FilterFieldDTO;
|
|
932
|
-
parent?: Record<string, any>;
|
|
933
|
-
children?: Record<string, any>[];
|
|
934
|
-
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
935
|
-
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
936
|
-
brand?: DraftBrandDTO;
|
|
937
|
-
changes?: ModifierGroupChangeDTO[];
|
|
938
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
939
|
-
permissions?: FilterFieldDTO;
|
|
940
|
-
[index: string]: any;
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
export interface DraftItemDraftItemDTO {
|
|
944
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
945
|
-
parent_id?: FilterFieldDTO;
|
|
946
|
-
name?: FilterFieldDTO;
|
|
947
|
-
label?: FilterFieldDTO;
|
|
948
|
-
description?: FilterFieldDTO;
|
|
949
|
-
price?: FilterFieldDTO;
|
|
950
|
-
barcode?: FilterFieldDTO;
|
|
951
|
-
calories?: FilterFieldDTO;
|
|
952
|
-
meal_value?: FilterFieldDTO;
|
|
953
|
-
is_active?: FilterFieldDTO;
|
|
954
|
-
posid?: FilterFieldDTO;
|
|
955
|
-
tax_tags?: FilterFieldDTO[];
|
|
956
|
-
brand_id?: FilterFieldDTO;
|
|
957
|
-
line_route?: FilterFieldDTO;
|
|
958
|
-
posid_segment?: FilterFieldDTO;
|
|
959
|
-
is_out_of_stock?: FilterFieldDTO;
|
|
960
|
-
id?: FilterFieldDTO;
|
|
961
|
-
version?: FilterFieldDTO;
|
|
962
|
-
created_at?: FilterFieldDTO;
|
|
963
|
-
updated_at?: FilterFieldDTO;
|
|
964
|
-
deleted_at?: FilterFieldDTO;
|
|
965
|
-
parent?: Record<string, any>;
|
|
966
|
-
children?: Record<string, any>[];
|
|
967
|
-
brand?: DraftBrandDTO;
|
|
968
|
-
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
969
|
-
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
970
|
-
changes?: ItemChangeDTO[];
|
|
971
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
972
|
-
reporting?: ReportingMetadataDTO;
|
|
973
|
-
attachments?: FileAttachmentsDTO;
|
|
974
|
-
weight?: WeightDTO;
|
|
975
|
-
menu_works?: MenuWorksDTO;
|
|
976
|
-
permissions?: FilterFieldDTO;
|
|
977
|
-
[index: string]: any;
|
|
978
|
-
}
|
|
979
|
-
|
|
980
830
|
export interface ReportingCategorySuggestion {
|
|
981
831
|
category?: string;
|
|
982
832
|
occurrences?: number;
|
|
@@ -986,14 +836,15 @@ export interface GlobalDiffDependencyDTO {
|
|
|
986
836
|
depends_on_id?: string;
|
|
987
837
|
is_depended_by_id?: string;
|
|
988
838
|
id?: string;
|
|
989
|
-
depends_on?:
|
|
839
|
+
depends_on?: GlobalDiffDTO;
|
|
990
840
|
is_depended_by?: Record<string, any>;
|
|
991
841
|
permissions?: FilterFieldDTO;
|
|
992
842
|
[index: string]: any;
|
|
993
843
|
}
|
|
994
844
|
|
|
995
|
-
export interface
|
|
996
|
-
action?:
|
|
845
|
+
export interface GlobalDiffDTO {
|
|
846
|
+
action?: "create" | "update" | "delete";
|
|
847
|
+
id?: string;
|
|
997
848
|
entity_type?: FilterFieldDTO;
|
|
998
849
|
local_id?: FilterFieldDTO;
|
|
999
850
|
changes?: FilterFieldDTO;
|
|
@@ -1002,11 +853,6 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
1002
853
|
global_id?: FilterFieldDTO;
|
|
1003
854
|
global_snapshot?: FilterFieldDTO;
|
|
1004
855
|
brand_id?: FilterFieldDTO;
|
|
1005
|
-
id?: FilterFieldDTO;
|
|
1006
|
-
version?: FilterFieldDTO;
|
|
1007
|
-
created_at?: FilterFieldDTO;
|
|
1008
|
-
updated_at?: FilterFieldDTO;
|
|
1009
|
-
deleted_at?: FilterFieldDTO;
|
|
1010
856
|
depends_on?: Record<string, any>[];
|
|
1011
857
|
is_depended_by?: Record<string, any>[];
|
|
1012
858
|
brand?: DraftBrandDTO;
|
|
@@ -1016,7 +862,7 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
1016
862
|
|
|
1017
863
|
export interface DiffDTO {
|
|
1018
864
|
action: "create" | "update" | "delete";
|
|
1019
|
-
id
|
|
865
|
+
id: string;
|
|
1020
866
|
created_at?: string;
|
|
1021
867
|
updated_at?: string;
|
|
1022
868
|
deleted_at?: string;
|
|
@@ -1096,6 +942,7 @@ export interface PublishedItemDTO {
|
|
|
1096
942
|
line_route?: string;
|
|
1097
943
|
posid_segment?: string;
|
|
1098
944
|
is_out_of_stock?: boolean;
|
|
945
|
+
tax_tag_code?: string;
|
|
1099
946
|
permissions?: Record<string, any>;
|
|
1100
947
|
[index: string]: any;
|
|
1101
948
|
}
|
|
@@ -1159,86 +1006,11 @@ export interface PublishedModifierDTO {
|
|
|
1159
1006
|
price_for_more?: number;
|
|
1160
1007
|
pre_surcharge?: number;
|
|
1161
1008
|
post_surcharge?: number;
|
|
1009
|
+
tax_tag_code?: string;
|
|
1162
1010
|
permissions?: Record<string, any>;
|
|
1163
1011
|
[index: string]: any;
|
|
1164
1012
|
}
|
|
1165
1013
|
|
|
1166
|
-
export interface PublishedBrandPublishedBrandDTO {
|
|
1167
|
-
name?: FilterFieldDTO;
|
|
1168
|
-
description?: FilterFieldDTO;
|
|
1169
|
-
is_active?: FilterFieldDTO;
|
|
1170
|
-
type?: FilterFieldDTO;
|
|
1171
|
-
parent_id?: FilterFieldDTO;
|
|
1172
|
-
local_menu_group_id?: FilterFieldDTO;
|
|
1173
|
-
global_menu_group_id?: FilterFieldDTO;
|
|
1174
|
-
posid_segment?: FilterFieldDTO;
|
|
1175
|
-
id?: FilterFieldDTO;
|
|
1176
|
-
version?: FilterFieldDTO;
|
|
1177
|
-
created_at?: FilterFieldDTO;
|
|
1178
|
-
updated_at?: FilterFieldDTO;
|
|
1179
|
-
deleted_at?: FilterFieldDTO;
|
|
1180
|
-
parent?: Record<string, any>;
|
|
1181
|
-
children?: Record<string, any>[];
|
|
1182
|
-
local_menu_group?: LocalMenuGroupDTO;
|
|
1183
|
-
global_menu_group?: GlobalMenuGroupDTO;
|
|
1184
|
-
menus?: PublishedMenuDTO[];
|
|
1185
|
-
categories?: PublishedCategoryDTO[];
|
|
1186
|
-
category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
|
|
1187
|
-
items?: PublishedItemDTO[];
|
|
1188
|
-
item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1189
|
-
modifier_groups?: PublishedModifierGroupDTO[];
|
|
1190
|
-
modifier_group_to_modifier_relationships?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1191
|
-
modifiers?: PublishedModifierDTO[];
|
|
1192
|
-
attachments?: FileAttachmentsDTO;
|
|
1193
|
-
permissions?: FilterFieldDTO;
|
|
1194
|
-
[index: string]: any;
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
export interface DraftCategoryDraftCategoryDTO {
|
|
1198
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
1199
|
-
parent_id?: FilterFieldDTO;
|
|
1200
|
-
name?: FilterFieldDTO;
|
|
1201
|
-
label?: FilterFieldDTO;
|
|
1202
|
-
sequence?: FilterFieldDTO;
|
|
1203
|
-
is_active?: FilterFieldDTO;
|
|
1204
|
-
brand_id?: FilterFieldDTO;
|
|
1205
|
-
menu_id?: FilterFieldDTO;
|
|
1206
|
-
item_images_enabled?: FilterFieldDTO;
|
|
1207
|
-
id?: FilterFieldDTO;
|
|
1208
|
-
version?: FilterFieldDTO;
|
|
1209
|
-
created_at?: FilterFieldDTO;
|
|
1210
|
-
updated_at?: FilterFieldDTO;
|
|
1211
|
-
deleted_at?: FilterFieldDTO;
|
|
1212
|
-
parent?: Record<string, any>;
|
|
1213
|
-
children?: Record<string, any>[];
|
|
1214
|
-
menu?: DraftMenuDTO;
|
|
1215
|
-
items?: DraftCategoryToItemRelationshipDTO[];
|
|
1216
|
-
brand?: DraftBrandDTO;
|
|
1217
|
-
changes?: CategoryChangeDTO[];
|
|
1218
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
1219
|
-
attachments?: FileAttachmentsDTO;
|
|
1220
|
-
permissions?: FilterFieldDTO;
|
|
1221
|
-
[index: string]: any;
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
export interface PublishedMenuPublishedMenuDTO {
|
|
1225
|
-
parent_id?: FilterFieldDTO;
|
|
1226
|
-
name?: FilterFieldDTO;
|
|
1227
|
-
brand_id?: FilterFieldDTO;
|
|
1228
|
-
category_images_enabled?: FilterFieldDTO;
|
|
1229
|
-
id?: FilterFieldDTO;
|
|
1230
|
-
version?: FilterFieldDTO;
|
|
1231
|
-
created_at?: FilterFieldDTO;
|
|
1232
|
-
updated_at?: FilterFieldDTO;
|
|
1233
|
-
deleted_at?: FilterFieldDTO;
|
|
1234
|
-
parent?: Record<string, any>;
|
|
1235
|
-
children?: Record<string, any>[];
|
|
1236
|
-
categories?: PublishedCategoryDTO[];
|
|
1237
|
-
brand?: PublishedBrandDTO;
|
|
1238
|
-
permissions?: FilterFieldDTO;
|
|
1239
|
-
[index: string]: any;
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
1014
|
export interface GroupStockUpdate {
|
|
1243
1015
|
id: string;
|
|
1244
1016
|
items?: ItemStockUpdate[];
|
|
@@ -1491,73 +1263,6 @@ export interface V2MetaDTO {
|
|
|
1491
1263
|
version?: number;
|
|
1492
1264
|
}
|
|
1493
1265
|
|
|
1494
|
-
export interface PublishedCategoryPublishedCategoryDTO {
|
|
1495
|
-
parent_id?: FilterFieldDTO;
|
|
1496
|
-
name?: FilterFieldDTO;
|
|
1497
|
-
label?: FilterFieldDTO;
|
|
1498
|
-
sequence?: FilterFieldDTO;
|
|
1499
|
-
is_active?: FilterFieldDTO;
|
|
1500
|
-
brand_id?: FilterFieldDTO;
|
|
1501
|
-
menu_id?: FilterFieldDTO;
|
|
1502
|
-
item_images_enabled?: FilterFieldDTO;
|
|
1503
|
-
id?: FilterFieldDTO;
|
|
1504
|
-
version?: FilterFieldDTO;
|
|
1505
|
-
created_at?: FilterFieldDTO;
|
|
1506
|
-
updated_at?: FilterFieldDTO;
|
|
1507
|
-
deleted_at?: FilterFieldDTO;
|
|
1508
|
-
parent?: Record<string, any>;
|
|
1509
|
-
children?: Record<string, any>[];
|
|
1510
|
-
menu?: PublishedMenuDTO;
|
|
1511
|
-
items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1512
|
-
brand?: PublishedBrandDTO;
|
|
1513
|
-
attachments?: FileAttachmentsDTO;
|
|
1514
|
-
permissions?: FilterFieldDTO;
|
|
1515
|
-
[index: string]: any;
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDTO {
|
|
1519
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
1520
|
-
parent_id?: FilterFieldDTO;
|
|
1521
|
-
deleted_at?: FilterFieldDTO;
|
|
1522
|
-
item_id?: FilterFieldDTO;
|
|
1523
|
-
category_id?: FilterFieldDTO;
|
|
1524
|
-
brand_id?: FilterFieldDTO;
|
|
1525
|
-
sequence?: FilterFieldDTO;
|
|
1526
|
-
id?: FilterFieldDTO;
|
|
1527
|
-
version?: FilterFieldDTO;
|
|
1528
|
-
created_at?: FilterFieldDTO;
|
|
1529
|
-
updated_at?: FilterFieldDTO;
|
|
1530
|
-
parent?: Record<string, any>;
|
|
1531
|
-
children?: Record<string, any>[];
|
|
1532
|
-
category?: DraftCategoryDTO;
|
|
1533
|
-
item?: DraftItemDTO;
|
|
1534
|
-
brand?: DraftBrandDTO;
|
|
1535
|
-
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
1536
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
1537
|
-
permissions?: FilterFieldDTO;
|
|
1538
|
-
[index: string]: any;
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
|
-
export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelationshipDTO {
|
|
1542
|
-
parent_id?: FilterFieldDTO;
|
|
1543
|
-
deleted_at?: FilterFieldDTO;
|
|
1544
|
-
item_id?: FilterFieldDTO;
|
|
1545
|
-
category_id?: FilterFieldDTO;
|
|
1546
|
-
brand_id?: FilterFieldDTO;
|
|
1547
|
-
sequence?: FilterFieldDTO;
|
|
1548
|
-
id?: FilterFieldDTO;
|
|
1549
|
-
version?: FilterFieldDTO;
|
|
1550
|
-
created_at?: FilterFieldDTO;
|
|
1551
|
-
updated_at?: FilterFieldDTO;
|
|
1552
|
-
parent?: Record<string, any>;
|
|
1553
|
-
children?: Record<string, any>[];
|
|
1554
|
-
category?: PublishedCategoryDTO;
|
|
1555
|
-
item?: PublishedItemDTO;
|
|
1556
|
-
brand?: PublishedBrandDTO;
|
|
1557
|
-
permissions?: FilterFieldDTO;
|
|
1558
|
-
[index: string]: any;
|
|
1559
|
-
}
|
|
1560
|
-
|
|
1561
1266
|
export interface LineRouteSuggestion {
|
|
1562
1267
|
line_route?: string;
|
|
1563
1268
|
occurrences?: number;
|
|
@@ -1567,7 +1272,7 @@ export interface DraftItemEntityDTO {
|
|
|
1567
1272
|
parent?: DraftItemDTO;
|
|
1568
1273
|
children?: DraftItemDTO[];
|
|
1569
1274
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1570
|
-
id
|
|
1275
|
+
id: string;
|
|
1571
1276
|
created_at?: string;
|
|
1572
1277
|
updated_at?: string;
|
|
1573
1278
|
deleted_at?: string;
|
|
@@ -1588,6 +1293,7 @@ export interface DraftItemEntityDTO {
|
|
|
1588
1293
|
posid_segment?: string;
|
|
1589
1294
|
menu_works?: MenuWorksDTO;
|
|
1590
1295
|
is_out_of_stock?: boolean;
|
|
1296
|
+
tax_tag_code?: string;
|
|
1591
1297
|
applied_diff_snapshot?: Record<string, any>;
|
|
1592
1298
|
version?: number;
|
|
1593
1299
|
brand?: DraftBrandDTO;
|
|
@@ -1600,158 +1306,11 @@ export interface DraftItemEntityDTO {
|
|
|
1600
1306
|
[index: string]: any;
|
|
1601
1307
|
}
|
|
1602
1308
|
|
|
1603
|
-
export interface PublishedItemPublishedItemDTO {
|
|
1604
|
-
parent_id?: FilterFieldDTO;
|
|
1605
|
-
name?: FilterFieldDTO;
|
|
1606
|
-
label?: FilterFieldDTO;
|
|
1607
|
-
description?: FilterFieldDTO;
|
|
1608
|
-
price?: FilterFieldDTO;
|
|
1609
|
-
barcode?: FilterFieldDTO;
|
|
1610
|
-
calories?: FilterFieldDTO;
|
|
1611
|
-
meal_value?: FilterFieldDTO;
|
|
1612
|
-
is_active?: FilterFieldDTO;
|
|
1613
|
-
posid?: FilterFieldDTO;
|
|
1614
|
-
tax_tags?: FilterFieldDTO[];
|
|
1615
|
-
brand_id?: FilterFieldDTO;
|
|
1616
|
-
line_route?: FilterFieldDTO;
|
|
1617
|
-
posid_segment?: FilterFieldDTO;
|
|
1618
|
-
is_out_of_stock?: FilterFieldDTO;
|
|
1619
|
-
id?: FilterFieldDTO;
|
|
1620
|
-
version?: FilterFieldDTO;
|
|
1621
|
-
created_at?: FilterFieldDTO;
|
|
1622
|
-
updated_at?: FilterFieldDTO;
|
|
1623
|
-
deleted_at?: FilterFieldDTO;
|
|
1624
|
-
parent?: Record<string, any>;
|
|
1625
|
-
children?: Record<string, any>[];
|
|
1626
|
-
brand?: PublishedBrandDTO;
|
|
1627
|
-
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
1628
|
-
modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1629
|
-
reporting?: ReportingMetadataDTO;
|
|
1630
|
-
attachments?: FileAttachmentsDTO;
|
|
1631
|
-
weight?: WeightDTO;
|
|
1632
|
-
menu_works?: MenuWorksDTO;
|
|
1633
|
-
permissions?: FilterFieldDTO;
|
|
1634
|
-
[index: string]: any;
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
|
-
export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDTO {
|
|
1638
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
1639
|
-
parent_id?: FilterFieldDTO;
|
|
1640
|
-
deleted_at?: FilterFieldDTO;
|
|
1641
|
-
modifier_group_id?: FilterFieldDTO;
|
|
1642
|
-
item_id?: FilterFieldDTO;
|
|
1643
|
-
brand_id?: FilterFieldDTO;
|
|
1644
|
-
sequence?: FilterFieldDTO;
|
|
1645
|
-
id?: FilterFieldDTO;
|
|
1646
|
-
version?: FilterFieldDTO;
|
|
1647
|
-
created_at?: FilterFieldDTO;
|
|
1648
|
-
updated_at?: FilterFieldDTO;
|
|
1649
|
-
parent?: Record<string, any>;
|
|
1650
|
-
children?: Record<string, any>[];
|
|
1651
|
-
item?: DraftItemDTO;
|
|
1652
|
-
modifier_group?: DraftModifierGroupDTO;
|
|
1653
|
-
brand?: DraftBrandDTO;
|
|
1654
|
-
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
1655
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
1656
|
-
permissions?: FilterFieldDTO;
|
|
1657
|
-
[index: string]: any;
|
|
1658
|
-
}
|
|
1659
|
-
|
|
1660
|
-
export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifierGroupRelationshipDTO {
|
|
1661
|
-
parent_id?: FilterFieldDTO;
|
|
1662
|
-
deleted_at?: FilterFieldDTO;
|
|
1663
|
-
modifier_group_id?: FilterFieldDTO;
|
|
1664
|
-
item_id?: FilterFieldDTO;
|
|
1665
|
-
brand_id?: FilterFieldDTO;
|
|
1666
|
-
sequence?: FilterFieldDTO;
|
|
1667
|
-
id?: FilterFieldDTO;
|
|
1668
|
-
version?: FilterFieldDTO;
|
|
1669
|
-
created_at?: FilterFieldDTO;
|
|
1670
|
-
updated_at?: FilterFieldDTO;
|
|
1671
|
-
parent?: Record<string, any>;
|
|
1672
|
-
children?: Record<string, any>[];
|
|
1673
|
-
item?: PublishedItemDTO;
|
|
1674
|
-
modifier_group?: PublishedModifierGroupDTO;
|
|
1675
|
-
brand?: PublishedBrandDTO;
|
|
1676
|
-
permissions?: FilterFieldDTO;
|
|
1677
|
-
[index: string]: any;
|
|
1678
|
-
}
|
|
1679
|
-
|
|
1680
|
-
export interface PublishedModifierGroupPublishedModifierGroupDTO {
|
|
1681
|
-
parent_id?: FilterFieldDTO;
|
|
1682
|
-
name?: FilterFieldDTO;
|
|
1683
|
-
label?: FilterFieldDTO;
|
|
1684
|
-
min?: FilterFieldDTO;
|
|
1685
|
-
max?: FilterFieldDTO;
|
|
1686
|
-
is_active?: FilterFieldDTO;
|
|
1687
|
-
limit?: FilterFieldDTO;
|
|
1688
|
-
brand_id?: FilterFieldDTO;
|
|
1689
|
-
order_type?: FilterFieldDTO;
|
|
1690
|
-
sizing?: FilterFieldDTO;
|
|
1691
|
-
is_out_of_stock?: FilterFieldDTO;
|
|
1692
|
-
is_incremental?: FilterFieldDTO;
|
|
1693
|
-
id?: FilterFieldDTO;
|
|
1694
|
-
version?: FilterFieldDTO;
|
|
1695
|
-
created_at?: FilterFieldDTO;
|
|
1696
|
-
updated_at?: FilterFieldDTO;
|
|
1697
|
-
deleted_at?: FilterFieldDTO;
|
|
1698
|
-
parent?: Record<string, any>;
|
|
1699
|
-
children?: Record<string, any>[];
|
|
1700
|
-
modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1701
|
-
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1702
|
-
brand?: PublishedBrandDTO;
|
|
1703
|
-
permissions?: FilterFieldDTO;
|
|
1704
|
-
[index: string]: any;
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDTO {
|
|
1708
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
1709
|
-
parent_id?: FilterFieldDTO;
|
|
1710
|
-
deleted_at?: FilterFieldDTO;
|
|
1711
|
-
modifier_id?: FilterFieldDTO;
|
|
1712
|
-
modifier_group_id?: FilterFieldDTO;
|
|
1713
|
-
brand_id?: FilterFieldDTO;
|
|
1714
|
-
sequence?: FilterFieldDTO;
|
|
1715
|
-
id?: FilterFieldDTO;
|
|
1716
|
-
version?: FilterFieldDTO;
|
|
1717
|
-
created_at?: FilterFieldDTO;
|
|
1718
|
-
updated_at?: FilterFieldDTO;
|
|
1719
|
-
parent?: Record<string, any>;
|
|
1720
|
-
children?: Record<string, any>[];
|
|
1721
|
-
modifier?: DraftModifierDTO;
|
|
1722
|
-
modifier_group?: DraftModifierGroupDTO;
|
|
1723
|
-
brand?: DraftBrandDTO;
|
|
1724
|
-
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
1725
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
1726
|
-
permissions?: FilterFieldDTO;
|
|
1727
|
-
[index: string]: any;
|
|
1728
|
-
}
|
|
1729
|
-
|
|
1730
|
-
export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGroupToModifierRelationshipDTO {
|
|
1731
|
-
parent_id?: FilterFieldDTO;
|
|
1732
|
-
deleted_at?: FilterFieldDTO;
|
|
1733
|
-
modifier_id?: FilterFieldDTO;
|
|
1734
|
-
modifier_group_id?: FilterFieldDTO;
|
|
1735
|
-
brand_id?: FilterFieldDTO;
|
|
1736
|
-
sequence?: FilterFieldDTO;
|
|
1737
|
-
id?: FilterFieldDTO;
|
|
1738
|
-
version?: FilterFieldDTO;
|
|
1739
|
-
created_at?: FilterFieldDTO;
|
|
1740
|
-
updated_at?: FilterFieldDTO;
|
|
1741
|
-
parent?: Record<string, any>;
|
|
1742
|
-
children?: Record<string, any>[];
|
|
1743
|
-
modifier_group?: PublishedModifierGroupDTO;
|
|
1744
|
-
modifier?: PublishedModifierDTO;
|
|
1745
|
-
brand?: PublishedBrandDTO;
|
|
1746
|
-
permissions?: FilterFieldDTO;
|
|
1747
|
-
[index: string]: any;
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
1309
|
export interface DraftModifierEntityDTO {
|
|
1751
1310
|
parent?: DraftModifierDTO;
|
|
1752
1311
|
children?: DraftModifierDTO[];
|
|
1753
1312
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1754
|
-
id
|
|
1313
|
+
id: string;
|
|
1755
1314
|
created_at?: string;
|
|
1756
1315
|
updated_at?: string;
|
|
1757
1316
|
deleted_at?: string;
|
|
@@ -1774,6 +1333,7 @@ export interface DraftModifierEntityDTO {
|
|
|
1774
1333
|
price_for_more?: number;
|
|
1775
1334
|
pre_surcharge?: number;
|
|
1776
1335
|
post_surcharge?: number;
|
|
1336
|
+
tax_tag_code?: string;
|
|
1777
1337
|
applied_diff_snapshot?: Record<string, any>;
|
|
1778
1338
|
version?: number;
|
|
1779
1339
|
brand?: DraftBrandDTO;
|
|
@@ -1785,63 +1345,6 @@ export interface DraftModifierEntityDTO {
|
|
|
1785
1345
|
[index: string]: any;
|
|
1786
1346
|
}
|
|
1787
1347
|
|
|
1788
|
-
export interface PublishedModifierPublishedModifierDTO {
|
|
1789
|
-
parent_id?: FilterFieldDTO;
|
|
1790
|
-
name?: FilterFieldDTO;
|
|
1791
|
-
label?: FilterFieldDTO;
|
|
1792
|
-
description?: FilterFieldDTO;
|
|
1793
|
-
price?: FilterFieldDTO;
|
|
1794
|
-
calories?: FilterFieldDTO;
|
|
1795
|
-
tax_tags?: FilterFieldDTO[];
|
|
1796
|
-
is_active?: FilterFieldDTO;
|
|
1797
|
-
posid?: FilterFieldDTO;
|
|
1798
|
-
posid_segment?: FilterFieldDTO;
|
|
1799
|
-
brand_id?: FilterFieldDTO;
|
|
1800
|
-
is_out_of_stock?: FilterFieldDTO;
|
|
1801
|
-
price_for_none?: FilterFieldDTO;
|
|
1802
|
-
price_for_less?: FilterFieldDTO;
|
|
1803
|
-
price_for_more?: FilterFieldDTO;
|
|
1804
|
-
pre_surcharge?: FilterFieldDTO;
|
|
1805
|
-
post_surcharge?: FilterFieldDTO;
|
|
1806
|
-
id?: FilterFieldDTO;
|
|
1807
|
-
version?: FilterFieldDTO;
|
|
1808
|
-
created_at?: FilterFieldDTO;
|
|
1809
|
-
updated_at?: FilterFieldDTO;
|
|
1810
|
-
deleted_at?: FilterFieldDTO;
|
|
1811
|
-
parent?: Record<string, any>;
|
|
1812
|
-
children?: Record<string, any>[];
|
|
1813
|
-
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1814
|
-
brand?: PublishedBrandDTO;
|
|
1815
|
-
reporting?: ReportingMetadataDTO;
|
|
1816
|
-
weight?: WeightDTO;
|
|
1817
|
-
attachments?: FileAttachmentsDTO;
|
|
1818
|
-
menu_works?: MenuWorksDTO;
|
|
1819
|
-
permissions?: FilterFieldDTO;
|
|
1820
|
-
[index: string]: any;
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
|
-
export interface GlobalDiffDTO {
|
|
1824
|
-
action: "create" | "update" | "delete";
|
|
1825
|
-
id?: string;
|
|
1826
|
-
created_at?: string;
|
|
1827
|
-
updated_at?: string;
|
|
1828
|
-
deleted_at?: string;
|
|
1829
|
-
entity_type?: string;
|
|
1830
|
-
local_id?: string;
|
|
1831
|
-
changes?: Record<string, any>;
|
|
1832
|
-
local_changes?: Record<string, any>;
|
|
1833
|
-
local_snapshot?: Record<string, any>;
|
|
1834
|
-
global_id?: string;
|
|
1835
|
-
global_snapshot?: Record<string, any>;
|
|
1836
|
-
brand_id?: string;
|
|
1837
|
-
version?: number;
|
|
1838
|
-
depends_on?: GlobalDiffDependencyDTO[];
|
|
1839
|
-
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
1840
|
-
brand?: DraftBrandDTO;
|
|
1841
|
-
permissions?: Record<string, any>;
|
|
1842
|
-
[index: string]: any;
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
1348
|
// GET /menu/client/{client_id} - Get menu client
|
|
1846
1349
|
|
|
1847
1350
|
export interface GetMenuClientPath {
|
|
@@ -2377,7 +1880,7 @@ export interface PostMenuV3LocalMenuGroupResponse {
|
|
|
2377
1880
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2378
1881
|
draft_brands?: DraftBrandDTO[];
|
|
2379
1882
|
published_brands?: PublishedBrandDTO[];
|
|
2380
|
-
id
|
|
1883
|
+
id: string;
|
|
2381
1884
|
created_at?: string;
|
|
2382
1885
|
updated_at?: string;
|
|
2383
1886
|
deleted_at?: string;
|
|
@@ -2412,7 +1915,7 @@ export interface GetMenuV3LocalMenuGroupResponse {
|
|
|
2412
1915
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2413
1916
|
draft_brands?: DraftBrandDTO[];
|
|
2414
1917
|
published_brands?: PublishedBrandDTO[];
|
|
2415
|
-
id
|
|
1918
|
+
id: string;
|
|
2416
1919
|
created_at?: string;
|
|
2417
1920
|
updated_at?: string;
|
|
2418
1921
|
deleted_at?: string;
|
|
@@ -2452,7 +1955,7 @@ export interface PatchMenuV3LocalMenuGroupResponse {
|
|
|
2452
1955
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2453
1956
|
draft_brands?: DraftBrandDTO[];
|
|
2454
1957
|
published_brands?: PublishedBrandDTO[];
|
|
2455
|
-
id
|
|
1958
|
+
id: string;
|
|
2456
1959
|
created_at?: string;
|
|
2457
1960
|
updated_at?: string;
|
|
2458
1961
|
deleted_at?: string;
|
|
@@ -2484,7 +1987,7 @@ export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
|
2484
1987
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2485
1988
|
draft_brands?: DraftBrandDTO[];
|
|
2486
1989
|
published_brands?: PublishedBrandDTO[];
|
|
2487
|
-
id
|
|
1990
|
+
id: string;
|
|
2488
1991
|
created_at?: string;
|
|
2489
1992
|
updated_at?: string;
|
|
2490
1993
|
deleted_at?: string;
|
|
@@ -2540,7 +2043,6 @@ export type PostMenuV3LocalMenuGroupsBody = {
|
|
|
2540
2043
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2541
2044
|
draft_brands?: DraftBrandDTO[];
|
|
2542
2045
|
published_brands?: PublishedBrandDTO[];
|
|
2543
|
-
id?: Record<string, any>;
|
|
2544
2046
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2545
2047
|
permissions?: Record<string, any>;
|
|
2546
2048
|
[index: string]: any;
|
|
@@ -2884,7 +2386,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
|
|
|
2884
2386
|
draft_brands?: DraftBrandDTO[];
|
|
2885
2387
|
published_brands?: PublishedBrandDTO[];
|
|
2886
2388
|
posid_segment: string;
|
|
2887
|
-
id
|
|
2389
|
+
id: string;
|
|
2888
2390
|
created_at?: string;
|
|
2889
2391
|
updated_at?: string;
|
|
2890
2392
|
deleted_at?: string;
|
|
@@ -2941,7 +2443,6 @@ export type PostMenuV3GlobalMenuGroupsBody = {
|
|
|
2941
2443
|
draft_brands?: DraftBrandDTO[];
|
|
2942
2444
|
published_brands?: PublishedBrandDTO[];
|
|
2943
2445
|
posid_segment: string;
|
|
2944
|
-
id?: Record<string, any>;
|
|
2945
2446
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2946
2447
|
permissions?: Record<string, any>;
|
|
2947
2448
|
[index: string]: any;
|
|
@@ -3075,7 +2576,7 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
3075
2576
|
local_menu_group_id?: string;
|
|
3076
2577
|
global_menu_group_id?: string;
|
|
3077
2578
|
posid_segment?: string;
|
|
3078
|
-
|
|
2579
|
+
is_simplified_view?: boolean;
|
|
3079
2580
|
changes?: BrandChangeDTO[];
|
|
3080
2581
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3081
2582
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -3140,6 +2641,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
3140
2641
|
local_menu_group_id?: string;
|
|
3141
2642
|
global_menu_group_id?: string;
|
|
3142
2643
|
posid_segment?: string;
|
|
2644
|
+
is_simplified_view?: boolean;
|
|
3143
2645
|
version?: number;
|
|
3144
2646
|
changes?: BrandChangeDTO[];
|
|
3145
2647
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -3221,7 +2723,7 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
3221
2723
|
local_menu_group_id?: string;
|
|
3222
2724
|
global_menu_group_id?: string;
|
|
3223
2725
|
posid_segment?: string;
|
|
3224
|
-
|
|
2726
|
+
is_simplified_view?: boolean;
|
|
3225
2727
|
changes?: BrandChangeDTO[];
|
|
3226
2728
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3227
2729
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -3583,7 +3085,7 @@ export interface PostMenuV3BrandBody {
|
|
|
3583
3085
|
local_menu_group_id?: string;
|
|
3584
3086
|
global_menu_group_id?: string;
|
|
3585
3087
|
posid_segment?: string;
|
|
3586
|
-
|
|
3088
|
+
is_simplified_view?: boolean;
|
|
3587
3089
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3588
3090
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3589
3091
|
attachments?: FileAttachmentsDTO;
|
|
@@ -3650,6 +3152,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
3650
3152
|
local_menu_group_id?: string;
|
|
3651
3153
|
global_menu_group_id?: string;
|
|
3652
3154
|
posid_segment?: string;
|
|
3155
|
+
is_simplified_view?: boolean;
|
|
3653
3156
|
version?: number;
|
|
3654
3157
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3655
3158
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -3741,7 +3244,7 @@ export type PostMenuV3BrandsBody = {
|
|
|
3741
3244
|
local_menu_group_id?: string;
|
|
3742
3245
|
global_menu_group_id?: string;
|
|
3743
3246
|
posid_segment?: string;
|
|
3744
|
-
|
|
3247
|
+
is_simplified_view?: boolean;
|
|
3745
3248
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3746
3249
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3747
3250
|
attachments?: FileAttachmentsDTO;
|
|
@@ -3946,7 +3449,6 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
3946
3449
|
name: string;
|
|
3947
3450
|
brand_id: string;
|
|
3948
3451
|
category_images_enabled?: boolean;
|
|
3949
|
-
id?: Record<string, any>;
|
|
3950
3452
|
applied_diff_snapshot?: Record<string, any>;
|
|
3951
3453
|
brand?: DraftBrandDTO;
|
|
3952
3454
|
changes?: MenuChangeDTO[];
|
|
@@ -4066,7 +3568,6 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
4066
3568
|
name: string;
|
|
4067
3569
|
brand_id: string;
|
|
4068
3570
|
category_images_enabled?: boolean;
|
|
4069
|
-
id?: Record<string, any>;
|
|
4070
3571
|
applied_diff_snapshot?: Record<string, any>;
|
|
4071
3572
|
brand?: DraftBrandDTO;
|
|
4072
3573
|
changes?: MenuChangeDTO[];
|
|
@@ -4314,7 +3815,6 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
4314
3815
|
brand_id: string;
|
|
4315
3816
|
menu_id: string;
|
|
4316
3817
|
item_images_enabled?: boolean;
|
|
4317
|
-
id?: Record<string, any>;
|
|
4318
3818
|
applied_diff_snapshot?: Record<string, any>;
|
|
4319
3819
|
menu?: DraftMenuDTO;
|
|
4320
3820
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -4435,7 +3935,6 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
4435
3935
|
brand_id: string;
|
|
4436
3936
|
menu_id: string;
|
|
4437
3937
|
item_images_enabled?: boolean;
|
|
4438
|
-
id?: Record<string, any>;
|
|
4439
3938
|
applied_diff_snapshot?: Record<string, any>;
|
|
4440
3939
|
menu?: DraftMenuDTO;
|
|
4441
3940
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -4531,7 +4030,6 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
4531
4030
|
category_id: string;
|
|
4532
4031
|
brand_id: string;
|
|
4533
4032
|
sequence?: number;
|
|
4534
|
-
id?: Record<string, any>;
|
|
4535
4033
|
applied_diff_snapshot?: Record<string, any>;
|
|
4536
4034
|
category?: DraftCategoryDTO;
|
|
4537
4035
|
item?: DraftItemDTO;
|
|
@@ -4659,7 +4157,6 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
|
|
|
4659
4157
|
category_id: string;
|
|
4660
4158
|
brand_id: string;
|
|
4661
4159
|
sequence?: number;
|
|
4662
|
-
id?: Record<string, any>;
|
|
4663
4160
|
applied_diff_snapshot?: Record<string, any>;
|
|
4664
4161
|
category?: DraftCategoryDTO;
|
|
4665
4162
|
item?: DraftItemDTO;
|
|
@@ -4801,7 +4298,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
4801
4298
|
posid_segment?: string;
|
|
4802
4299
|
menu_works?: MenuWorksDTO;
|
|
4803
4300
|
is_out_of_stock?: boolean;
|
|
4804
|
-
|
|
4301
|
+
tax_tag_code?: string;
|
|
4805
4302
|
applied_diff_snapshot?: Record<string, any>;
|
|
4806
4303
|
brand?: DraftBrandDTO;
|
|
4807
4304
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -4869,6 +4366,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4869
4366
|
posid_segment?: string;
|
|
4870
4367
|
menu_works?: MenuWorksDTO;
|
|
4871
4368
|
is_out_of_stock?: boolean;
|
|
4369
|
+
tax_tag_code?: string;
|
|
4872
4370
|
applied_diff_snapshot?: Record<string, any>;
|
|
4873
4371
|
version?: number;
|
|
4874
4372
|
brand?: DraftBrandDTO;
|
|
@@ -4953,7 +4451,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
4953
4451
|
posid_segment?: string;
|
|
4954
4452
|
menu_works?: MenuWorksDTO;
|
|
4955
4453
|
is_out_of_stock?: boolean;
|
|
4956
|
-
|
|
4454
|
+
tax_tag_code?: string;
|
|
4957
4455
|
applied_diff_snapshot?: Record<string, any>;
|
|
4958
4456
|
brand?: DraftBrandDTO;
|
|
4959
4457
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -5041,6 +4539,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
5041
4539
|
posid_segment?: string;
|
|
5042
4540
|
menu_works?: MenuWorksDTO;
|
|
5043
4541
|
is_out_of_stock?: boolean;
|
|
4542
|
+
tax_tag_code?: string;
|
|
5044
4543
|
applied_diff_snapshot?: Record<string, any>;
|
|
5045
4544
|
brand?: DraftBrandDTO;
|
|
5046
4545
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -5217,7 +4716,6 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
5217
4716
|
item_id: string;
|
|
5218
4717
|
brand_id: string;
|
|
5219
4718
|
sequence?: number;
|
|
5220
|
-
id?: Record<string, any>;
|
|
5221
4719
|
applied_diff_snapshot?: Record<string, any>;
|
|
5222
4720
|
item?: DraftItemDTO;
|
|
5223
4721
|
modifier_group?: DraftModifierGroupDTO;
|
|
@@ -5349,7 +4847,6 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
|
5349
4847
|
item_id: string;
|
|
5350
4848
|
brand_id: string;
|
|
5351
4849
|
sequence?: number;
|
|
5352
|
-
id?: Record<string, any>;
|
|
5353
4850
|
applied_diff_snapshot?: Record<string, any>;
|
|
5354
4851
|
item?: DraftItemDTO;
|
|
5355
4852
|
modifier_group?: DraftModifierGroupDTO;
|
|
@@ -5488,7 +4985,6 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
5488
4985
|
sizing?: string;
|
|
5489
4986
|
is_out_of_stock?: boolean;
|
|
5490
4987
|
is_incremental?: boolean;
|
|
5491
|
-
id?: Record<string, any>;
|
|
5492
4988
|
applied_diff_snapshot?: Record<string, any>;
|
|
5493
4989
|
brand?: DraftBrandDTO;
|
|
5494
4990
|
changes?: ModifierGroupChangeDTO[];
|
|
@@ -5630,7 +5126,6 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
5630
5126
|
sizing?: string;
|
|
5631
5127
|
is_out_of_stock?: boolean;
|
|
5632
5128
|
is_incremental?: boolean;
|
|
5633
|
-
id?: Record<string, any>;
|
|
5634
5129
|
applied_diff_snapshot?: Record<string, any>;
|
|
5635
5130
|
brand?: DraftBrandDTO;
|
|
5636
5131
|
changes?: ModifierGroupChangeDTO[];
|
|
@@ -5680,7 +5175,7 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
5680
5175
|
children?: DraftModifierGroupDTO[];
|
|
5681
5176
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5682
5177
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
5683
|
-
id
|
|
5178
|
+
id: string;
|
|
5684
5179
|
created_at?: string;
|
|
5685
5180
|
updated_at?: string;
|
|
5686
5181
|
deleted_at?: string;
|
|
@@ -5797,7 +5292,6 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
5797
5292
|
modifier_group_id: string;
|
|
5798
5293
|
brand_id: string;
|
|
5799
5294
|
sequence?: number;
|
|
5800
|
-
id?: Record<string, any>;
|
|
5801
5295
|
applied_diff_snapshot?: Record<string, any>;
|
|
5802
5296
|
modifier?: DraftModifierDTO;
|
|
5803
5297
|
modifier_group?: DraftModifierGroupDTO;
|
|
@@ -5929,7 +5423,6 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
|
|
|
5929
5423
|
modifier_group_id: string;
|
|
5930
5424
|
brand_id: string;
|
|
5931
5425
|
sequence?: number;
|
|
5932
|
-
id?: Record<string, any>;
|
|
5933
5426
|
applied_diff_snapshot?: Record<string, any>;
|
|
5934
5427
|
modifier?: DraftModifierDTO;
|
|
5935
5428
|
modifier_group?: DraftModifierGroupDTO;
|
|
@@ -6074,7 +5567,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
6074
5567
|
price_for_more?: number;
|
|
6075
5568
|
pre_surcharge?: number;
|
|
6076
5569
|
post_surcharge?: number;
|
|
6077
|
-
|
|
5570
|
+
tax_tag_code?: string;
|
|
6078
5571
|
applied_diff_snapshot?: Record<string, any>;
|
|
6079
5572
|
brand?: DraftBrandDTO;
|
|
6080
5573
|
changes?: ModifierChangeDTO[];
|
|
@@ -6143,6 +5636,7 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
6143
5636
|
price_for_more?: number;
|
|
6144
5637
|
pre_surcharge?: number;
|
|
6145
5638
|
post_surcharge?: number;
|
|
5639
|
+
tax_tag_code?: string;
|
|
6146
5640
|
applied_diff_snapshot?: Record<string, any>;
|
|
6147
5641
|
version?: number;
|
|
6148
5642
|
brand?: DraftBrandDTO;
|
|
@@ -6230,7 +5724,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
6230
5724
|
price_for_more?: number;
|
|
6231
5725
|
pre_surcharge?: number;
|
|
6232
5726
|
post_surcharge?: number;
|
|
6233
|
-
|
|
5727
|
+
tax_tag_code?: string;
|
|
6234
5728
|
applied_diff_snapshot?: Record<string, any>;
|
|
6235
5729
|
brand?: DraftBrandDTO;
|
|
6236
5730
|
changes?: ModifierChangeDTO[];
|
|
@@ -6298,6 +5792,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
6298
5792
|
price_for_more?: number;
|
|
6299
5793
|
pre_surcharge?: number;
|
|
6300
5794
|
post_surcharge?: number;
|
|
5795
|
+
tax_tag_code?: string;
|
|
6301
5796
|
applied_diff_snapshot?: Record<string, any>;
|
|
6302
5797
|
brand?: DraftBrandDTO;
|
|
6303
5798
|
changes?: ModifierChangeDTO[];
|
|
@@ -6444,27 +5939,7 @@ export interface GetMenuV3GlobalDiffQuery {
|
|
|
6444
5939
|
_query?: string;
|
|
6445
5940
|
}
|
|
6446
5941
|
|
|
6447
|
-
export
|
|
6448
|
-
action: "create" | "update" | "delete";
|
|
6449
|
-
id?: string;
|
|
6450
|
-
created_at?: string;
|
|
6451
|
-
updated_at?: string;
|
|
6452
|
-
deleted_at?: string;
|
|
6453
|
-
entity_type?: string;
|
|
6454
|
-
local_id?: string;
|
|
6455
|
-
changes?: Record<string, any>;
|
|
6456
|
-
local_changes?: Record<string, any>;
|
|
6457
|
-
local_snapshot?: Record<string, any>;
|
|
6458
|
-
global_id?: string;
|
|
6459
|
-
global_snapshot?: Record<string, any>;
|
|
6460
|
-
brand_id?: string;
|
|
6461
|
-
version?: number;
|
|
6462
|
-
depends_on?: GlobalDiffDependencyDTO[];
|
|
6463
|
-
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
6464
|
-
brand?: DraftBrandDTO;
|
|
6465
|
-
permissions?: Record<string, any>;
|
|
6466
|
-
[index: string]: any;
|
|
6467
|
-
}
|
|
5942
|
+
export type GetMenuV3GlobalDiffResponse = GlobalDiffDTO;
|
|
6468
5943
|
|
|
6469
5944
|
export interface GetMenuV3GlobalDiffRequest
|
|
6470
5945
|
extends BaseRequest,
|