@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/src/interface/menu.ts
CHANGED
|
@@ -34,6 +34,7 @@ export interface Menu {
|
|
|
34
34
|
item_desc_edit_enabled?: boolean;
|
|
35
35
|
calories_edit_enabled?: boolean;
|
|
36
36
|
item_label_edit_enabled?: boolean;
|
|
37
|
+
frictionless?: boolean;
|
|
37
38
|
};
|
|
38
39
|
meta?: {
|
|
39
40
|
// User ID
|
|
@@ -137,6 +138,9 @@ export interface Item {
|
|
|
137
138
|
menu_sort_number?: number;
|
|
138
139
|
// barcodes of the item
|
|
139
140
|
barcodes?: string[];
|
|
141
|
+
tax?: {
|
|
142
|
+
tax_tag_code?: string;
|
|
143
|
+
};
|
|
140
144
|
[index: string]: any;
|
|
141
145
|
};
|
|
142
146
|
category?: {
|
|
@@ -221,6 +225,9 @@ export interface Option {
|
|
|
221
225
|
sort_number?: number;
|
|
222
226
|
// menu sort order
|
|
223
227
|
menu_sort_number?: number;
|
|
228
|
+
tax?: {
|
|
229
|
+
tax_tag_code?: string;
|
|
230
|
+
};
|
|
224
231
|
[index: string]: any;
|
|
225
232
|
};
|
|
226
233
|
is?: {
|
|
@@ -335,6 +342,7 @@ export interface DraftBrandDTO {
|
|
|
335
342
|
local_menu_group_id?: string;
|
|
336
343
|
global_menu_group_id?: string;
|
|
337
344
|
posid_segment?: string;
|
|
345
|
+
is_simplified_view?: boolean;
|
|
338
346
|
permissions?: Record<string, any>;
|
|
339
347
|
[index: string]: any;
|
|
340
348
|
}
|
|
@@ -349,6 +357,7 @@ export interface PublishedBrandDTO {
|
|
|
349
357
|
local_menu_group_id?: string;
|
|
350
358
|
global_menu_group_id?: string;
|
|
351
359
|
posid_segment?: string;
|
|
360
|
+
is_simplified_view?: boolean;
|
|
352
361
|
permissions?: Record<string, any>;
|
|
353
362
|
[index: string]: any;
|
|
354
363
|
}
|
|
@@ -462,7 +471,7 @@ export interface LocalMenuGroupDTO {
|
|
|
462
471
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
463
472
|
draft_brands?: DraftBrandDTO[];
|
|
464
473
|
published_brands?: PublishedBrandDTO[];
|
|
465
|
-
id
|
|
474
|
+
id: string;
|
|
466
475
|
created_at?: string;
|
|
467
476
|
updated_at?: string;
|
|
468
477
|
deleted_at?: string;
|
|
@@ -472,46 +481,12 @@ export interface LocalMenuGroupDTO {
|
|
|
472
481
|
[index: string]: any;
|
|
473
482
|
}
|
|
474
483
|
|
|
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
484
|
export interface BrandChangeDTO {
|
|
510
485
|
id?: string;
|
|
511
486
|
insert?: FilterFieldDTO;
|
|
512
487
|
delete?: FilterFieldDTO;
|
|
513
488
|
snapshot_entity_id?: FilterFieldDTO;
|
|
514
|
-
snapshot_entity?:
|
|
489
|
+
snapshot_entity?: DraftBrandDTO;
|
|
515
490
|
permissions?: FilterFieldDTO;
|
|
516
491
|
[index: string]: any;
|
|
517
492
|
}
|
|
@@ -526,7 +501,7 @@ export interface DraftMenuDTO {
|
|
|
526
501
|
brand_id?: string;
|
|
527
502
|
category_images_enabled?: boolean;
|
|
528
503
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
529
|
-
brand?:
|
|
504
|
+
brand?: DraftBrandDTO;
|
|
530
505
|
changes?: MenuChangeDTO[];
|
|
531
506
|
vendor_metadata?: VendorMetadataDTO[];
|
|
532
507
|
permissions?: FilterFieldDTO;
|
|
@@ -548,7 +523,7 @@ export interface DraftCategoryDTO {
|
|
|
548
523
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
549
524
|
menu?: Record<string, any>;
|
|
550
525
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
551
|
-
brand?:
|
|
526
|
+
brand?: DraftBrandDTO;
|
|
552
527
|
changes?: CategoryChangeDTO[];
|
|
553
528
|
vendor_metadata?: VendorMetadataDTO[];
|
|
554
529
|
attachments?: Record<string, any>;
|
|
@@ -568,7 +543,7 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
568
543
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
569
544
|
category?: Record<string, any>;
|
|
570
545
|
item?: DraftItemDTO;
|
|
571
|
-
brand?:
|
|
546
|
+
brand?: DraftBrandDTO;
|
|
572
547
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
573
548
|
vendor_metadata?: VendorMetadataDTO[];
|
|
574
549
|
permissions?: FilterFieldDTO;
|
|
@@ -597,8 +572,9 @@ export interface DraftItemDTO {
|
|
|
597
572
|
posid_segment?: FilterFieldDTO;
|
|
598
573
|
menu_works?: Record<string, any>;
|
|
599
574
|
is_out_of_stock?: FilterFieldDTO;
|
|
575
|
+
tax_tag_code?: FilterFieldDTO;
|
|
600
576
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
601
|
-
brand?:
|
|
577
|
+
brand?: DraftBrandDTO;
|
|
602
578
|
categories?: Record<string, any>[];
|
|
603
579
|
changes?: ItemChangeDTO[];
|
|
604
580
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -620,7 +596,7 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
620
596
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
621
597
|
item?: Record<string, any>;
|
|
622
598
|
modifier_group?: DraftModifierGroupDTO;
|
|
623
|
-
brand?:
|
|
599
|
+
brand?: DraftBrandDTO;
|
|
624
600
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
625
601
|
vendor_metadata?: VendorMetadataDTO[];
|
|
626
602
|
permissions?: FilterFieldDTO;
|
|
@@ -646,7 +622,7 @@ export interface DraftModifierGroupDTO {
|
|
|
646
622
|
is_out_of_stock?: FilterFieldDTO;
|
|
647
623
|
is_incremental?: FilterFieldDTO;
|
|
648
624
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
649
|
-
brand?:
|
|
625
|
+
brand?: DraftBrandDTO;
|
|
650
626
|
changes?: ModifierGroupChangeDTO[];
|
|
651
627
|
vendor_metadata?: VendorMetadataDTO[];
|
|
652
628
|
permissions?: FilterFieldDTO;
|
|
@@ -665,7 +641,7 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
665
641
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
666
642
|
modifier?: DraftModifierDTO;
|
|
667
643
|
modifier_group?: Record<string, any>;
|
|
668
|
-
brand?:
|
|
644
|
+
brand?: DraftBrandDTO;
|
|
669
645
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
670
646
|
vendor_metadata?: VendorMetadataDTO[];
|
|
671
647
|
permissions?: FilterFieldDTO;
|
|
@@ -696,8 +672,9 @@ export interface DraftModifierDTO {
|
|
|
696
672
|
price_for_more?: number;
|
|
697
673
|
pre_surcharge?: number;
|
|
698
674
|
post_surcharge?: number;
|
|
675
|
+
tax_tag_code?: FilterFieldDTO;
|
|
699
676
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
700
|
-
brand?:
|
|
677
|
+
brand?: DraftBrandDTO;
|
|
701
678
|
changes?: ModifierChangeDTO[];
|
|
702
679
|
vendor_metadata?: VendorMetadataDTO[];
|
|
703
680
|
weight?: WeightDTO;
|
|
@@ -829,7 +806,7 @@ export interface BrandStatusDTO {
|
|
|
829
806
|
status?: string;
|
|
830
807
|
metadata?: FilterFieldDTO;
|
|
831
808
|
id?: string;
|
|
832
|
-
brand?:
|
|
809
|
+
brand?: DraftBrandDTO;
|
|
833
810
|
permissions?: FilterFieldDTO;
|
|
834
811
|
[index: string]: any;
|
|
835
812
|
}
|
|
@@ -851,132 +828,6 @@ export interface SiteGroupDTO {
|
|
|
851
828
|
[index: string]: any;
|
|
852
829
|
}
|
|
853
830
|
|
|
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
831
|
export interface ReportingCategorySuggestion {
|
|
981
832
|
category?: string;
|
|
982
833
|
occurrences?: number;
|
|
@@ -986,14 +837,15 @@ export interface GlobalDiffDependencyDTO {
|
|
|
986
837
|
depends_on_id?: string;
|
|
987
838
|
is_depended_by_id?: string;
|
|
988
839
|
id?: string;
|
|
989
|
-
depends_on?:
|
|
840
|
+
depends_on?: GlobalDiffDTO;
|
|
990
841
|
is_depended_by?: Record<string, any>;
|
|
991
842
|
permissions?: FilterFieldDTO;
|
|
992
843
|
[index: string]: any;
|
|
993
844
|
}
|
|
994
845
|
|
|
995
|
-
export interface
|
|
996
|
-
action?:
|
|
846
|
+
export interface GlobalDiffDTO {
|
|
847
|
+
action?: "create" | "update" | "delete";
|
|
848
|
+
id?: string;
|
|
997
849
|
entity_type?: FilterFieldDTO;
|
|
998
850
|
local_id?: FilterFieldDTO;
|
|
999
851
|
changes?: FilterFieldDTO;
|
|
@@ -1002,11 +854,6 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
1002
854
|
global_id?: FilterFieldDTO;
|
|
1003
855
|
global_snapshot?: FilterFieldDTO;
|
|
1004
856
|
brand_id?: FilterFieldDTO;
|
|
1005
|
-
id?: FilterFieldDTO;
|
|
1006
|
-
version?: FilterFieldDTO;
|
|
1007
|
-
created_at?: FilterFieldDTO;
|
|
1008
|
-
updated_at?: FilterFieldDTO;
|
|
1009
|
-
deleted_at?: FilterFieldDTO;
|
|
1010
857
|
depends_on?: Record<string, any>[];
|
|
1011
858
|
is_depended_by?: Record<string, any>[];
|
|
1012
859
|
brand?: DraftBrandDTO;
|
|
@@ -1016,7 +863,7 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
1016
863
|
|
|
1017
864
|
export interface DiffDTO {
|
|
1018
865
|
action: "create" | "update" | "delete";
|
|
1019
|
-
id
|
|
866
|
+
id: string;
|
|
1020
867
|
created_at?: string;
|
|
1021
868
|
updated_at?: string;
|
|
1022
869
|
deleted_at?: string;
|
|
@@ -1096,6 +943,7 @@ export interface PublishedItemDTO {
|
|
|
1096
943
|
line_route?: string;
|
|
1097
944
|
posid_segment?: string;
|
|
1098
945
|
is_out_of_stock?: boolean;
|
|
946
|
+
tax_tag_code?: string;
|
|
1099
947
|
permissions?: Record<string, any>;
|
|
1100
948
|
[index: string]: any;
|
|
1101
949
|
}
|
|
@@ -1159,86 +1007,11 @@ export interface PublishedModifierDTO {
|
|
|
1159
1007
|
price_for_more?: number;
|
|
1160
1008
|
pre_surcharge?: number;
|
|
1161
1009
|
post_surcharge?: number;
|
|
1010
|
+
tax_tag_code?: string;
|
|
1162
1011
|
permissions?: Record<string, any>;
|
|
1163
1012
|
[index: string]: any;
|
|
1164
1013
|
}
|
|
1165
1014
|
|
|
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
1015
|
export interface GroupStockUpdate {
|
|
1243
1016
|
id: string;
|
|
1244
1017
|
items?: ItemStockUpdate[];
|
|
@@ -1483,6 +1256,7 @@ export interface V2MenuIsDTO {
|
|
|
1483
1256
|
item_desc_edit_enabled?: boolean;
|
|
1484
1257
|
calories_edit_enabled?: boolean;
|
|
1485
1258
|
item_label_edit_enabled?: boolean;
|
|
1259
|
+
frictionless?: boolean;
|
|
1486
1260
|
}
|
|
1487
1261
|
|
|
1488
1262
|
export interface V2MetaDTO {
|
|
@@ -1491,73 +1265,6 @@ export interface V2MetaDTO {
|
|
|
1491
1265
|
version?: number;
|
|
1492
1266
|
}
|
|
1493
1267
|
|
|
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
1268
|
export interface LineRouteSuggestion {
|
|
1562
1269
|
line_route?: string;
|
|
1563
1270
|
occurrences?: number;
|
|
@@ -1567,7 +1274,7 @@ export interface DraftItemEntityDTO {
|
|
|
1567
1274
|
parent?: DraftItemDTO;
|
|
1568
1275
|
children?: DraftItemDTO[];
|
|
1569
1276
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1570
|
-
id
|
|
1277
|
+
id: string;
|
|
1571
1278
|
created_at?: string;
|
|
1572
1279
|
updated_at?: string;
|
|
1573
1280
|
deleted_at?: string;
|
|
@@ -1588,6 +1295,7 @@ export interface DraftItemEntityDTO {
|
|
|
1588
1295
|
posid_segment?: string;
|
|
1589
1296
|
menu_works?: MenuWorksDTO;
|
|
1590
1297
|
is_out_of_stock?: boolean;
|
|
1298
|
+
tax_tag_code?: string;
|
|
1591
1299
|
applied_diff_snapshot?: Record<string, any>;
|
|
1592
1300
|
version?: number;
|
|
1593
1301
|
brand?: DraftBrandDTO;
|
|
@@ -1600,158 +1308,11 @@ export interface DraftItemEntityDTO {
|
|
|
1600
1308
|
[index: string]: any;
|
|
1601
1309
|
}
|
|
1602
1310
|
|
|
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
1311
|
export interface DraftModifierEntityDTO {
|
|
1751
1312
|
parent?: DraftModifierDTO;
|
|
1752
1313
|
children?: DraftModifierDTO[];
|
|
1753
1314
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1754
|
-
id
|
|
1315
|
+
id: string;
|
|
1755
1316
|
created_at?: string;
|
|
1756
1317
|
updated_at?: string;
|
|
1757
1318
|
deleted_at?: string;
|
|
@@ -1774,6 +1335,7 @@ export interface DraftModifierEntityDTO {
|
|
|
1774
1335
|
price_for_more?: number;
|
|
1775
1336
|
pre_surcharge?: number;
|
|
1776
1337
|
post_surcharge?: number;
|
|
1338
|
+
tax_tag_code?: string;
|
|
1777
1339
|
applied_diff_snapshot?: Record<string, any>;
|
|
1778
1340
|
version?: number;
|
|
1779
1341
|
brand?: DraftBrandDTO;
|
|
@@ -1785,63 +1347,6 @@ export interface DraftModifierEntityDTO {
|
|
|
1785
1347
|
[index: string]: any;
|
|
1786
1348
|
}
|
|
1787
1349
|
|
|
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
1350
|
// GET /menu/client/{client_id} - Get menu client
|
|
1846
1351
|
|
|
1847
1352
|
export interface GetMenuClientPath {
|
|
@@ -2377,7 +1882,7 @@ export interface PostMenuV3LocalMenuGroupResponse {
|
|
|
2377
1882
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2378
1883
|
draft_brands?: DraftBrandDTO[];
|
|
2379
1884
|
published_brands?: PublishedBrandDTO[];
|
|
2380
|
-
id
|
|
1885
|
+
id: string;
|
|
2381
1886
|
created_at?: string;
|
|
2382
1887
|
updated_at?: string;
|
|
2383
1888
|
deleted_at?: string;
|
|
@@ -2412,7 +1917,7 @@ export interface GetMenuV3LocalMenuGroupResponse {
|
|
|
2412
1917
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2413
1918
|
draft_brands?: DraftBrandDTO[];
|
|
2414
1919
|
published_brands?: PublishedBrandDTO[];
|
|
2415
|
-
id
|
|
1920
|
+
id: string;
|
|
2416
1921
|
created_at?: string;
|
|
2417
1922
|
updated_at?: string;
|
|
2418
1923
|
deleted_at?: string;
|
|
@@ -2452,7 +1957,7 @@ export interface PatchMenuV3LocalMenuGroupResponse {
|
|
|
2452
1957
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2453
1958
|
draft_brands?: DraftBrandDTO[];
|
|
2454
1959
|
published_brands?: PublishedBrandDTO[];
|
|
2455
|
-
id
|
|
1960
|
+
id: string;
|
|
2456
1961
|
created_at?: string;
|
|
2457
1962
|
updated_at?: string;
|
|
2458
1963
|
deleted_at?: string;
|
|
@@ -2484,7 +1989,7 @@ export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
|
2484
1989
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2485
1990
|
draft_brands?: DraftBrandDTO[];
|
|
2486
1991
|
published_brands?: PublishedBrandDTO[];
|
|
2487
|
-
id
|
|
1992
|
+
id: string;
|
|
2488
1993
|
created_at?: string;
|
|
2489
1994
|
updated_at?: string;
|
|
2490
1995
|
deleted_at?: string;
|
|
@@ -2540,7 +2045,6 @@ export type PostMenuV3LocalMenuGroupsBody = {
|
|
|
2540
2045
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
2541
2046
|
draft_brands?: DraftBrandDTO[];
|
|
2542
2047
|
published_brands?: PublishedBrandDTO[];
|
|
2543
|
-
id?: Record<string, any>;
|
|
2544
2048
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2545
2049
|
permissions?: Record<string, any>;
|
|
2546
2050
|
[index: string]: any;
|
|
@@ -2884,7 +2388,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
|
|
|
2884
2388
|
draft_brands?: DraftBrandDTO[];
|
|
2885
2389
|
published_brands?: PublishedBrandDTO[];
|
|
2886
2390
|
posid_segment: string;
|
|
2887
|
-
id
|
|
2391
|
+
id: string;
|
|
2888
2392
|
created_at?: string;
|
|
2889
2393
|
updated_at?: string;
|
|
2890
2394
|
deleted_at?: string;
|
|
@@ -2941,7 +2445,6 @@ export type PostMenuV3GlobalMenuGroupsBody = {
|
|
|
2941
2445
|
draft_brands?: DraftBrandDTO[];
|
|
2942
2446
|
published_brands?: PublishedBrandDTO[];
|
|
2943
2447
|
posid_segment: string;
|
|
2944
|
-
id?: Record<string, any>;
|
|
2945
2448
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2946
2449
|
permissions?: Record<string, any>;
|
|
2947
2450
|
[index: string]: any;
|
|
@@ -3075,7 +2578,7 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
3075
2578
|
local_menu_group_id?: string;
|
|
3076
2579
|
global_menu_group_id?: string;
|
|
3077
2580
|
posid_segment?: string;
|
|
3078
|
-
|
|
2581
|
+
is_simplified_view?: boolean;
|
|
3079
2582
|
changes?: BrandChangeDTO[];
|
|
3080
2583
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3081
2584
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -3140,6 +2643,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
3140
2643
|
local_menu_group_id?: string;
|
|
3141
2644
|
global_menu_group_id?: string;
|
|
3142
2645
|
posid_segment?: string;
|
|
2646
|
+
is_simplified_view?: boolean;
|
|
3143
2647
|
version?: number;
|
|
3144
2648
|
changes?: BrandChangeDTO[];
|
|
3145
2649
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -3221,7 +2725,7 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
3221
2725
|
local_menu_group_id?: string;
|
|
3222
2726
|
global_menu_group_id?: string;
|
|
3223
2727
|
posid_segment?: string;
|
|
3224
|
-
|
|
2728
|
+
is_simplified_view?: boolean;
|
|
3225
2729
|
changes?: BrandChangeDTO[];
|
|
3226
2730
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3227
2731
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -3583,7 +3087,7 @@ export interface PostMenuV3BrandBody {
|
|
|
3583
3087
|
local_menu_group_id?: string;
|
|
3584
3088
|
global_menu_group_id?: string;
|
|
3585
3089
|
posid_segment?: string;
|
|
3586
|
-
|
|
3090
|
+
is_simplified_view?: boolean;
|
|
3587
3091
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3588
3092
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3589
3093
|
attachments?: FileAttachmentsDTO;
|
|
@@ -3650,6 +3154,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
3650
3154
|
local_menu_group_id?: string;
|
|
3651
3155
|
global_menu_group_id?: string;
|
|
3652
3156
|
posid_segment?: string;
|
|
3157
|
+
is_simplified_view?: boolean;
|
|
3653
3158
|
version?: number;
|
|
3654
3159
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3655
3160
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -3741,7 +3246,7 @@ export type PostMenuV3BrandsBody = {
|
|
|
3741
3246
|
local_menu_group_id?: string;
|
|
3742
3247
|
global_menu_group_id?: string;
|
|
3743
3248
|
posid_segment?: string;
|
|
3744
|
-
|
|
3249
|
+
is_simplified_view?: boolean;
|
|
3745
3250
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3746
3251
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3747
3252
|
attachments?: FileAttachmentsDTO;
|
|
@@ -3946,7 +3451,6 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
3946
3451
|
name: string;
|
|
3947
3452
|
brand_id: string;
|
|
3948
3453
|
category_images_enabled?: boolean;
|
|
3949
|
-
id?: Record<string, any>;
|
|
3950
3454
|
applied_diff_snapshot?: Record<string, any>;
|
|
3951
3455
|
brand?: DraftBrandDTO;
|
|
3952
3456
|
changes?: MenuChangeDTO[];
|
|
@@ -4066,7 +3570,6 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
4066
3570
|
name: string;
|
|
4067
3571
|
brand_id: string;
|
|
4068
3572
|
category_images_enabled?: boolean;
|
|
4069
|
-
id?: Record<string, any>;
|
|
4070
3573
|
applied_diff_snapshot?: Record<string, any>;
|
|
4071
3574
|
brand?: DraftBrandDTO;
|
|
4072
3575
|
changes?: MenuChangeDTO[];
|
|
@@ -4314,7 +3817,6 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
4314
3817
|
brand_id: string;
|
|
4315
3818
|
menu_id: string;
|
|
4316
3819
|
item_images_enabled?: boolean;
|
|
4317
|
-
id?: Record<string, any>;
|
|
4318
3820
|
applied_diff_snapshot?: Record<string, any>;
|
|
4319
3821
|
menu?: DraftMenuDTO;
|
|
4320
3822
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -4435,7 +3937,6 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
4435
3937
|
brand_id: string;
|
|
4436
3938
|
menu_id: string;
|
|
4437
3939
|
item_images_enabled?: boolean;
|
|
4438
|
-
id?: Record<string, any>;
|
|
4439
3940
|
applied_diff_snapshot?: Record<string, any>;
|
|
4440
3941
|
menu?: DraftMenuDTO;
|
|
4441
3942
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -4531,7 +4032,6 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
4531
4032
|
category_id: string;
|
|
4532
4033
|
brand_id: string;
|
|
4533
4034
|
sequence?: number;
|
|
4534
|
-
id?: Record<string, any>;
|
|
4535
4035
|
applied_diff_snapshot?: Record<string, any>;
|
|
4536
4036
|
category?: DraftCategoryDTO;
|
|
4537
4037
|
item?: DraftItemDTO;
|
|
@@ -4659,7 +4159,6 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
|
|
|
4659
4159
|
category_id: string;
|
|
4660
4160
|
brand_id: string;
|
|
4661
4161
|
sequence?: number;
|
|
4662
|
-
id?: Record<string, any>;
|
|
4663
4162
|
applied_diff_snapshot?: Record<string, any>;
|
|
4664
4163
|
category?: DraftCategoryDTO;
|
|
4665
4164
|
item?: DraftItemDTO;
|
|
@@ -4801,7 +4300,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
4801
4300
|
posid_segment?: string;
|
|
4802
4301
|
menu_works?: MenuWorksDTO;
|
|
4803
4302
|
is_out_of_stock?: boolean;
|
|
4804
|
-
|
|
4303
|
+
tax_tag_code?: string;
|
|
4805
4304
|
applied_diff_snapshot?: Record<string, any>;
|
|
4806
4305
|
brand?: DraftBrandDTO;
|
|
4807
4306
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -4869,6 +4368,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4869
4368
|
posid_segment?: string;
|
|
4870
4369
|
menu_works?: MenuWorksDTO;
|
|
4871
4370
|
is_out_of_stock?: boolean;
|
|
4371
|
+
tax_tag_code?: string;
|
|
4872
4372
|
applied_diff_snapshot?: Record<string, any>;
|
|
4873
4373
|
version?: number;
|
|
4874
4374
|
brand?: DraftBrandDTO;
|
|
@@ -4953,7 +4453,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
4953
4453
|
posid_segment?: string;
|
|
4954
4454
|
menu_works?: MenuWorksDTO;
|
|
4955
4455
|
is_out_of_stock?: boolean;
|
|
4956
|
-
|
|
4456
|
+
tax_tag_code?: string;
|
|
4957
4457
|
applied_diff_snapshot?: Record<string, any>;
|
|
4958
4458
|
brand?: DraftBrandDTO;
|
|
4959
4459
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -5041,6 +4541,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
5041
4541
|
posid_segment?: string;
|
|
5042
4542
|
menu_works?: MenuWorksDTO;
|
|
5043
4543
|
is_out_of_stock?: boolean;
|
|
4544
|
+
tax_tag_code?: string;
|
|
5044
4545
|
applied_diff_snapshot?: Record<string, any>;
|
|
5045
4546
|
brand?: DraftBrandDTO;
|
|
5046
4547
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -5217,7 +4718,6 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
5217
4718
|
item_id: string;
|
|
5218
4719
|
brand_id: string;
|
|
5219
4720
|
sequence?: number;
|
|
5220
|
-
id?: Record<string, any>;
|
|
5221
4721
|
applied_diff_snapshot?: Record<string, any>;
|
|
5222
4722
|
item?: DraftItemDTO;
|
|
5223
4723
|
modifier_group?: DraftModifierGroupDTO;
|
|
@@ -5349,7 +4849,6 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
|
5349
4849
|
item_id: string;
|
|
5350
4850
|
brand_id: string;
|
|
5351
4851
|
sequence?: number;
|
|
5352
|
-
id?: Record<string, any>;
|
|
5353
4852
|
applied_diff_snapshot?: Record<string, any>;
|
|
5354
4853
|
item?: DraftItemDTO;
|
|
5355
4854
|
modifier_group?: DraftModifierGroupDTO;
|
|
@@ -5488,7 +4987,6 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
5488
4987
|
sizing?: string;
|
|
5489
4988
|
is_out_of_stock?: boolean;
|
|
5490
4989
|
is_incremental?: boolean;
|
|
5491
|
-
id?: Record<string, any>;
|
|
5492
4990
|
applied_diff_snapshot?: Record<string, any>;
|
|
5493
4991
|
brand?: DraftBrandDTO;
|
|
5494
4992
|
changes?: ModifierGroupChangeDTO[];
|
|
@@ -5630,7 +5128,6 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
5630
5128
|
sizing?: string;
|
|
5631
5129
|
is_out_of_stock?: boolean;
|
|
5632
5130
|
is_incremental?: boolean;
|
|
5633
|
-
id?: Record<string, any>;
|
|
5634
5131
|
applied_diff_snapshot?: Record<string, any>;
|
|
5635
5132
|
brand?: DraftBrandDTO;
|
|
5636
5133
|
changes?: ModifierGroupChangeDTO[];
|
|
@@ -5680,7 +5177,7 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
5680
5177
|
children?: DraftModifierGroupDTO[];
|
|
5681
5178
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5682
5179
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
5683
|
-
id
|
|
5180
|
+
id: string;
|
|
5684
5181
|
created_at?: string;
|
|
5685
5182
|
updated_at?: string;
|
|
5686
5183
|
deleted_at?: string;
|
|
@@ -5797,7 +5294,6 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
5797
5294
|
modifier_group_id: string;
|
|
5798
5295
|
brand_id: string;
|
|
5799
5296
|
sequence?: number;
|
|
5800
|
-
id?: Record<string, any>;
|
|
5801
5297
|
applied_diff_snapshot?: Record<string, any>;
|
|
5802
5298
|
modifier?: DraftModifierDTO;
|
|
5803
5299
|
modifier_group?: DraftModifierGroupDTO;
|
|
@@ -5929,7 +5425,6 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
|
|
|
5929
5425
|
modifier_group_id: string;
|
|
5930
5426
|
brand_id: string;
|
|
5931
5427
|
sequence?: number;
|
|
5932
|
-
id?: Record<string, any>;
|
|
5933
5428
|
applied_diff_snapshot?: Record<string, any>;
|
|
5934
5429
|
modifier?: DraftModifierDTO;
|
|
5935
5430
|
modifier_group?: DraftModifierGroupDTO;
|
|
@@ -6074,7 +5569,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
6074
5569
|
price_for_more?: number;
|
|
6075
5570
|
pre_surcharge?: number;
|
|
6076
5571
|
post_surcharge?: number;
|
|
6077
|
-
|
|
5572
|
+
tax_tag_code?: string;
|
|
6078
5573
|
applied_diff_snapshot?: Record<string, any>;
|
|
6079
5574
|
brand?: DraftBrandDTO;
|
|
6080
5575
|
changes?: ModifierChangeDTO[];
|
|
@@ -6143,6 +5638,7 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
6143
5638
|
price_for_more?: number;
|
|
6144
5639
|
pre_surcharge?: number;
|
|
6145
5640
|
post_surcharge?: number;
|
|
5641
|
+
tax_tag_code?: string;
|
|
6146
5642
|
applied_diff_snapshot?: Record<string, any>;
|
|
6147
5643
|
version?: number;
|
|
6148
5644
|
brand?: DraftBrandDTO;
|
|
@@ -6230,7 +5726,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
6230
5726
|
price_for_more?: number;
|
|
6231
5727
|
pre_surcharge?: number;
|
|
6232
5728
|
post_surcharge?: number;
|
|
6233
|
-
|
|
5729
|
+
tax_tag_code?: string;
|
|
6234
5730
|
applied_diff_snapshot?: Record<string, any>;
|
|
6235
5731
|
brand?: DraftBrandDTO;
|
|
6236
5732
|
changes?: ModifierChangeDTO[];
|
|
@@ -6298,6 +5794,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
6298
5794
|
price_for_more?: number;
|
|
6299
5795
|
pre_surcharge?: number;
|
|
6300
5796
|
post_surcharge?: number;
|
|
5797
|
+
tax_tag_code?: string;
|
|
6301
5798
|
applied_diff_snapshot?: Record<string, any>;
|
|
6302
5799
|
brand?: DraftBrandDTO;
|
|
6303
5800
|
changes?: ModifierChangeDTO[];
|
|
@@ -6444,27 +5941,7 @@ export interface GetMenuV3GlobalDiffQuery {
|
|
|
6444
5941
|
_query?: string;
|
|
6445
5942
|
}
|
|
6446
5943
|
|
|
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
|
-
}
|
|
5944
|
+
export type GetMenuV3GlobalDiffResponse = GlobalDiffDTO;
|
|
6468
5945
|
|
|
6469
5946
|
export interface GetMenuV3GlobalDiffRequest
|
|
6470
5947
|
extends BaseRequest,
|