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