@compassdigital/sdk.typescript 4.143.0 → 4.144.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 +10 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +3 -6
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +82 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/timeslots.d.ts +34 -0
- package/lib/interface/timeslots.d.ts.map +1 -0
- package/lib/interface/timeslots.js +5 -0
- package/lib/interface/timeslots.js.map +1 -0
- package/manifest.json +7 -0
- package/package.json +1 -1
- package/src/index.ts +24 -0
- package/src/interface/consumer.ts +3 -7
- package/src/interface/menu.ts +83 -0
- package/src/interface/timeslots.ts +62 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -403,6 +403,7 @@ export interface BrandMeta {
|
|
|
403
403
|
export interface SupportedLanguages {
|
|
404
404
|
fr?: string;
|
|
405
405
|
kvi?: string;
|
|
406
|
+
es?: string;
|
|
406
407
|
}
|
|
407
408
|
export interface PublishedBrandDTO {
|
|
408
409
|
published_catalog_id?: number;
|
|
@@ -556,6 +557,7 @@ export interface DraftMenuDTO {
|
|
|
556
557
|
parent_id?: string;
|
|
557
558
|
name?: string;
|
|
558
559
|
brand_id?: string;
|
|
560
|
+
translation?: NameTranslation;
|
|
559
561
|
applied_diff_snapshot?: Record<string, any>;
|
|
560
562
|
version?: number;
|
|
561
563
|
brand?: DraftBrandDTO;
|
|
@@ -564,6 +566,9 @@ export interface DraftMenuDTO {
|
|
|
564
566
|
permissions?: Record<string, any>;
|
|
565
567
|
[index: string]: any;
|
|
566
568
|
}
|
|
569
|
+
export interface NameTranslation {
|
|
570
|
+
name?: SupportedLanguages;
|
|
571
|
+
}
|
|
567
572
|
export interface DraftCategoryDTO {
|
|
568
573
|
parent?: Record<string, any>;
|
|
569
574
|
children?: Record<string, any>[];
|
|
@@ -578,6 +583,7 @@ export interface DraftCategoryDTO {
|
|
|
578
583
|
is_active?: boolean;
|
|
579
584
|
brand_id?: string;
|
|
580
585
|
menu_id?: string;
|
|
586
|
+
translation?: Record<string, any>;
|
|
581
587
|
applied_diff_snapshot?: Record<string, any>;
|
|
582
588
|
version?: number;
|
|
583
589
|
menu?: Record<string, any>;
|
|
@@ -648,6 +654,7 @@ export interface DraftItemDTO {
|
|
|
648
654
|
unique_id?: number;
|
|
649
655
|
cpg_item_id?: string;
|
|
650
656
|
price_levels?: Record<string, any>;
|
|
657
|
+
translation?: Record<string, any>;
|
|
651
658
|
applied_diff_snapshot?: Record<string, any>;
|
|
652
659
|
version?: number;
|
|
653
660
|
brand?: DraftBrandDTO;
|
|
@@ -702,6 +709,7 @@ export interface DraftModifierGroupDTO {
|
|
|
702
709
|
sizing?: string;
|
|
703
710
|
is_out_of_stock?: boolean;
|
|
704
711
|
is_incremental?: boolean;
|
|
712
|
+
translation?: Record<string, any>;
|
|
705
713
|
applied_diff_snapshot?: Record<string, any>;
|
|
706
714
|
version?: number;
|
|
707
715
|
brand?: DraftBrandDTO;
|
|
@@ -766,6 +774,7 @@ export interface DraftModifierDTO {
|
|
|
766
774
|
tags?: string[];
|
|
767
775
|
unique_id?: number;
|
|
768
776
|
price_levels?: Record<string, any>;
|
|
777
|
+
translation?: Record<string, any>;
|
|
769
778
|
applied_diff_snapshot?: Record<string, any>;
|
|
770
779
|
version?: number;
|
|
771
780
|
brand?: DraftBrandDTO;
|
|
@@ -1100,6 +1109,7 @@ export interface PublishedMenuDTO {
|
|
|
1100
1109
|
parent_id?: string;
|
|
1101
1110
|
name?: string;
|
|
1102
1111
|
brand_id?: string;
|
|
1112
|
+
translation?: NameTranslation;
|
|
1103
1113
|
version?: number;
|
|
1104
1114
|
permissions?: Record<string, any>;
|
|
1105
1115
|
[index: string]: any;
|
|
@@ -1116,6 +1126,7 @@ export interface PublishedCategoryDTO {
|
|
|
1116
1126
|
is_active?: boolean;
|
|
1117
1127
|
brand_id?: string;
|
|
1118
1128
|
menu_id?: string;
|
|
1129
|
+
translation?: NameTranslation;
|
|
1119
1130
|
version?: number;
|
|
1120
1131
|
permissions?: Record<string, any>;
|
|
1121
1132
|
[index: string]: any;
|
|
@@ -1163,6 +1174,7 @@ export interface PublishedItemDTO {
|
|
|
1163
1174
|
tax_jwo_code?: string;
|
|
1164
1175
|
cpg_item_id?: string;
|
|
1165
1176
|
price_levels?: Record<string, any>;
|
|
1177
|
+
translation?: Record<string, any>;
|
|
1166
1178
|
version?: number;
|
|
1167
1179
|
permissions?: Record<string, any>;
|
|
1168
1180
|
[index: string]: any;
|
|
@@ -1198,6 +1210,7 @@ export interface PublishedModifierGroupDTO {
|
|
|
1198
1210
|
sizing?: string;
|
|
1199
1211
|
is_out_of_stock?: boolean;
|
|
1200
1212
|
is_incremental?: boolean;
|
|
1213
|
+
translation?: NameTranslation;
|
|
1201
1214
|
version?: number;
|
|
1202
1215
|
permissions?: Record<string, any>;
|
|
1203
1216
|
[index: string]: any;
|
|
@@ -1245,6 +1258,7 @@ export interface PublishedModifierDTO {
|
|
|
1245
1258
|
tax_tag_code?: string;
|
|
1246
1259
|
tags?: string[];
|
|
1247
1260
|
price_levels?: Record<string, any>;
|
|
1261
|
+
translation?: Record<string, any>;
|
|
1248
1262
|
version?: number;
|
|
1249
1263
|
permissions?: Record<string, any>;
|
|
1250
1264
|
[index: string]: any;
|
|
@@ -1497,6 +1511,7 @@ export interface DraftItemEntityDTO {
|
|
|
1497
1511
|
unique_id?: number;
|
|
1498
1512
|
cpg_item_id?: string;
|
|
1499
1513
|
price_levels?: Record<string, any>;
|
|
1514
|
+
translation?: Record<string, any>;
|
|
1500
1515
|
applied_diff_snapshot?: Record<string, any>;
|
|
1501
1516
|
version?: number;
|
|
1502
1517
|
brand?: DraftBrandDTO;
|
|
@@ -1546,6 +1561,7 @@ export interface DraftModifierEntityDTO {
|
|
|
1546
1561
|
tags?: string[];
|
|
1547
1562
|
unique_id?: number;
|
|
1548
1563
|
price_levels?: Record<string, any>;
|
|
1564
|
+
translation?: Record<string, any>;
|
|
1549
1565
|
applied_diff_snapshot?: Record<string, any>;
|
|
1550
1566
|
version?: number;
|
|
1551
1567
|
brand?: DraftBrandDTO;
|
|
@@ -1619,6 +1635,7 @@ export interface DraftModifierGroupEntityDTO {
|
|
|
1619
1635
|
sizing?: string;
|
|
1620
1636
|
is_out_of_stock?: boolean;
|
|
1621
1637
|
is_incremental?: boolean;
|
|
1638
|
+
translation?: NameTranslation;
|
|
1622
1639
|
applied_diff_snapshot?: Record<string, any>;
|
|
1623
1640
|
version?: number;
|
|
1624
1641
|
brand?: DraftBrandDTO;
|
|
@@ -3130,6 +3147,7 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
3130
3147
|
parent_id?: string;
|
|
3131
3148
|
name: string;
|
|
3132
3149
|
brand_id: string;
|
|
3150
|
+
translation?: NameTranslation;
|
|
3133
3151
|
applied_diff_snapshot?: Record<string, any>;
|
|
3134
3152
|
brand?: DraftBrandDTO;
|
|
3135
3153
|
changes?: MenuChangeDTO[];
|
|
@@ -3166,6 +3184,7 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
3166
3184
|
parent_id?: string;
|
|
3167
3185
|
name?: string;
|
|
3168
3186
|
brand_id?: string;
|
|
3187
|
+
translation?: NameTranslation;
|
|
3169
3188
|
applied_diff_snapshot?: Record<string, any>;
|
|
3170
3189
|
version?: number;
|
|
3171
3190
|
brand?: DraftBrandDTO;
|
|
@@ -3215,6 +3234,7 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
3215
3234
|
parent_id?: string;
|
|
3216
3235
|
name: string;
|
|
3217
3236
|
brand_id: string;
|
|
3237
|
+
translation?: NameTranslation;
|
|
3218
3238
|
applied_diff_snapshot?: Record<string, any>;
|
|
3219
3239
|
brand?: DraftBrandDTO;
|
|
3220
3240
|
changes?: MenuChangeDTO[];
|
|
@@ -3305,6 +3325,7 @@ export interface PostMenuV3DraftMenuDuplicateResponse {
|
|
|
3305
3325
|
parent_id?: string;
|
|
3306
3326
|
name: string;
|
|
3307
3327
|
brand_id: string;
|
|
3328
|
+
translation?: NameTranslation;
|
|
3308
3329
|
applied_diff_snapshot?: Record<string, any>;
|
|
3309
3330
|
version?: number;
|
|
3310
3331
|
brand?: DraftBrandDTO;
|
|
@@ -3423,6 +3444,7 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
3423
3444
|
is_active?: boolean;
|
|
3424
3445
|
brand_id: string;
|
|
3425
3446
|
menu_id: string;
|
|
3447
|
+
translation?: NameTranslation;
|
|
3426
3448
|
applied_diff_snapshot?: Record<string, any>;
|
|
3427
3449
|
menu?: DraftMenuDTO;
|
|
3428
3450
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3462,6 +3484,7 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
3462
3484
|
is_active?: boolean;
|
|
3463
3485
|
brand_id?: string;
|
|
3464
3486
|
menu_id?: string;
|
|
3487
|
+
translation?: NameTranslation;
|
|
3465
3488
|
applied_diff_snapshot?: Record<string, any>;
|
|
3466
3489
|
version?: number;
|
|
3467
3490
|
menu?: DraftMenuDTO;
|
|
@@ -3506,6 +3529,7 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
3506
3529
|
is_active?: boolean;
|
|
3507
3530
|
brand_id: string;
|
|
3508
3531
|
menu_id: string;
|
|
3532
|
+
translation?: NameTranslation;
|
|
3509
3533
|
applied_diff_snapshot?: Record<string, any>;
|
|
3510
3534
|
menu?: DraftMenuDTO;
|
|
3511
3535
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3567,6 +3591,7 @@ export interface PostMenuV3DraftCategoryDuplicateResponse {
|
|
|
3567
3591
|
is_active?: boolean;
|
|
3568
3592
|
brand_id: string;
|
|
3569
3593
|
menu_id: string;
|
|
3594
|
+
translation?: NameTranslation;
|
|
3570
3595
|
applied_diff_snapshot?: Record<string, any>;
|
|
3571
3596
|
version?: number;
|
|
3572
3597
|
menu?: DraftMenuDTO;
|
|
@@ -3844,6 +3869,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
3844
3869
|
unique_id?: number;
|
|
3845
3870
|
cpg_item_id?: string;
|
|
3846
3871
|
price_levels?: Record<string, any>;
|
|
3872
|
+
translation?: Record<string, any>;
|
|
3847
3873
|
applied_diff_snapshot?: Record<string, any>;
|
|
3848
3874
|
brand?: DraftBrandDTO;
|
|
3849
3875
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3906,6 +3932,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
3906
3932
|
unique_id?: number;
|
|
3907
3933
|
cpg_item_id?: string;
|
|
3908
3934
|
price_levels?: Record<string, any>;
|
|
3935
|
+
translation?: Record<string, any>;
|
|
3909
3936
|
applied_diff_snapshot?: Record<string, any>;
|
|
3910
3937
|
version?: number;
|
|
3911
3938
|
brand?: DraftBrandDTO;
|
|
@@ -3993,6 +4020,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
3993
4020
|
unique_id?: number;
|
|
3994
4021
|
cpg_item_id?: string;
|
|
3995
4022
|
price_levels?: Record<string, any>;
|
|
4023
|
+
translation?: Record<string, any>;
|
|
3996
4024
|
applied_diff_snapshot?: Record<string, any>;
|
|
3997
4025
|
brand?: DraftBrandDTO;
|
|
3998
4026
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -4074,6 +4102,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
4074
4102
|
unique_id?: number;
|
|
4075
4103
|
cpg_item_id?: string;
|
|
4076
4104
|
price_levels?: Record<string, any>;
|
|
4105
|
+
translation?: Record<string, any>;
|
|
4077
4106
|
applied_diff_snapshot?: Record<string, any>;
|
|
4078
4107
|
brand?: DraftBrandDTO;
|
|
4079
4108
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -4383,6 +4412,7 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
4383
4412
|
sizing?: string;
|
|
4384
4413
|
is_out_of_stock?: boolean;
|
|
4385
4414
|
is_incremental?: boolean;
|
|
4415
|
+
translation?: NameTranslation;
|
|
4386
4416
|
applied_diff_snapshot?: Record<string, any>;
|
|
4387
4417
|
brand?: DraftBrandDTO;
|
|
4388
4418
|
changes?: ModifierGroupChangeDTO[];
|
|
@@ -4426,6 +4456,7 @@ export interface PatchMenuV3DraftModifierGroupBody {
|
|
|
4426
4456
|
sizing?: string;
|
|
4427
4457
|
is_out_of_stock?: boolean;
|
|
4428
4458
|
is_incremental?: boolean;
|
|
4459
|
+
translation?: NameTranslation;
|
|
4429
4460
|
applied_diff_snapshot?: Record<string, any>;
|
|
4430
4461
|
version?: number;
|
|
4431
4462
|
brand?: DraftBrandDTO;
|
|
@@ -4482,6 +4513,7 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
4482
4513
|
sizing?: string;
|
|
4483
4514
|
is_out_of_stock?: boolean;
|
|
4484
4515
|
is_incremental?: boolean;
|
|
4516
|
+
translation?: NameTranslation;
|
|
4485
4517
|
applied_diff_snapshot?: Record<string, any>;
|
|
4486
4518
|
brand?: DraftBrandDTO;
|
|
4487
4519
|
changes?: ModifierGroupChangeDTO[];
|
|
@@ -4540,6 +4572,7 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
4540
4572
|
sizing?: string;
|
|
4541
4573
|
is_out_of_stock?: boolean;
|
|
4542
4574
|
is_incremental?: boolean;
|
|
4575
|
+
translation?: NameTranslation;
|
|
4543
4576
|
applied_diff_snapshot?: Record<string, any>;
|
|
4544
4577
|
version?: number;
|
|
4545
4578
|
brand?: DraftBrandDTO;
|
|
@@ -4808,6 +4841,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
4808
4841
|
tags?: string[];
|
|
4809
4842
|
unique_id?: number;
|
|
4810
4843
|
price_levels?: Record<string, any>;
|
|
4844
|
+
translation?: Record<string, any>;
|
|
4811
4845
|
applied_diff_snapshot?: Record<string, any>;
|
|
4812
4846
|
brand?: DraftBrandDTO;
|
|
4813
4847
|
changes?: ModifierChangeDTO[];
|
|
@@ -4866,6 +4900,7 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
4866
4900
|
tags?: string[];
|
|
4867
4901
|
unique_id?: number;
|
|
4868
4902
|
price_levels?: Record<string, any>;
|
|
4903
|
+
translation?: Record<string, any>;
|
|
4869
4904
|
applied_diff_snapshot?: Record<string, any>;
|
|
4870
4905
|
version?: number;
|
|
4871
4906
|
brand?: DraftBrandDTO;
|
|
@@ -4949,6 +4984,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
4949
4984
|
tags?: string[];
|
|
4950
4985
|
unique_id?: number;
|
|
4951
4986
|
price_levels?: Record<string, any>;
|
|
4987
|
+
translation?: Record<string, any>;
|
|
4952
4988
|
applied_diff_snapshot?: Record<string, any>;
|
|
4953
4989
|
brand?: DraftBrandDTO;
|
|
4954
4990
|
changes?: ModifierChangeDTO[];
|
|
@@ -5026,6 +5062,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
5026
5062
|
tags?: string[];
|
|
5027
5063
|
unique_id?: number;
|
|
5028
5064
|
price_levels?: Record<string, any>;
|
|
5065
|
+
translation?: Record<string, any>;
|
|
5029
5066
|
applied_diff_snapshot?: Record<string, any>;
|
|
5030
5067
|
brand?: DraftBrandDTO;
|
|
5031
5068
|
changes?: ModifierChangeDTO[];
|
|
@@ -5473,6 +5510,7 @@ export interface PostMenuV4BrandMenuBody {
|
|
|
5473
5510
|
parent_id?: string;
|
|
5474
5511
|
name: string;
|
|
5475
5512
|
brand_id: string;
|
|
5513
|
+
translation?: NameTranslation;
|
|
5476
5514
|
applied_diff_snapshot?: Record<string, any>;
|
|
5477
5515
|
brand?: DraftBrandDTO;
|
|
5478
5516
|
changes?: MenuChangeDTO[];
|
|
@@ -5494,6 +5532,7 @@ export interface PostMenuV4BrandMenuResponse {
|
|
|
5494
5532
|
parent_id?: string;
|
|
5495
5533
|
name: string;
|
|
5496
5534
|
brand_id: string;
|
|
5535
|
+
translation?: NameTranslation;
|
|
5497
5536
|
applied_diff_snapshot?: Record<string, any>;
|
|
5498
5537
|
version?: number;
|
|
5499
5538
|
brand?: DraftBrandDTO;
|
|
@@ -5520,6 +5559,7 @@ export interface PatchMenuV4BrandMenuBody {
|
|
|
5520
5559
|
parent_id?: string;
|
|
5521
5560
|
name?: string;
|
|
5522
5561
|
brand_id?: string;
|
|
5562
|
+
translation?: NameTranslation;
|
|
5523
5563
|
applied_diff_snapshot?: Record<string, any>;
|
|
5524
5564
|
version?: number;
|
|
5525
5565
|
brand?: DraftBrandDTO;
|
|
@@ -5542,6 +5582,7 @@ export interface PatchMenuV4BrandMenuResponse {
|
|
|
5542
5582
|
parent_id?: string;
|
|
5543
5583
|
name: string;
|
|
5544
5584
|
brand_id: string;
|
|
5585
|
+
translation?: NameTranslation;
|
|
5545
5586
|
applied_diff_snapshot?: Record<string, any>;
|
|
5546
5587
|
version?: number;
|
|
5547
5588
|
brand?: DraftBrandDTO;
|
|
@@ -5571,6 +5612,7 @@ export interface DeleteMenuV4BrandMenuResponse {
|
|
|
5571
5612
|
parent_id?: string;
|
|
5572
5613
|
name: string;
|
|
5573
5614
|
brand_id: string;
|
|
5615
|
+
translation?: NameTranslation;
|
|
5574
5616
|
applied_diff_snapshot?: Record<string, any>;
|
|
5575
5617
|
version?: number;
|
|
5576
5618
|
brand?: DraftBrandDTO;
|
|
@@ -5679,6 +5721,7 @@ export interface PostMenuV4BrandCategoryBody {
|
|
|
5679
5721
|
is_active?: boolean;
|
|
5680
5722
|
brand_id: string;
|
|
5681
5723
|
menu_id: string;
|
|
5724
|
+
translation?: NameTranslation;
|
|
5682
5725
|
applied_diff_snapshot?: Record<string, any>;
|
|
5683
5726
|
menu?: DraftMenuDTO;
|
|
5684
5727
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -5703,6 +5746,7 @@ export interface PostMenuV4BrandCategoryResponse {
|
|
|
5703
5746
|
is_active?: boolean;
|
|
5704
5747
|
brand_id: string;
|
|
5705
5748
|
menu_id: string;
|
|
5749
|
+
translation?: NameTranslation;
|
|
5706
5750
|
applied_diff_snapshot?: Record<string, any>;
|
|
5707
5751
|
version?: number;
|
|
5708
5752
|
menu?: DraftMenuDTO;
|
|
@@ -5732,6 +5776,7 @@ export interface PatchMenuV4BrandCategoryBody {
|
|
|
5732
5776
|
is_active?: boolean;
|
|
5733
5777
|
brand_id?: string;
|
|
5734
5778
|
menu_id?: string;
|
|
5779
|
+
translation?: NameTranslation;
|
|
5735
5780
|
applied_diff_snapshot?: Record<string, any>;
|
|
5736
5781
|
version?: number;
|
|
5737
5782
|
menu?: DraftMenuDTO;
|
|
@@ -5753,6 +5798,7 @@ export interface PatchMenuV4BrandCategoryResponse {
|
|
|
5753
5798
|
is_active?: boolean;
|
|
5754
5799
|
brand_id: string;
|
|
5755
5800
|
menu_id: string;
|
|
5801
|
+
translation?: NameTranslation;
|
|
5756
5802
|
applied_diff_snapshot?: Record<string, any>;
|
|
5757
5803
|
menu?: DraftMenuDTO;
|
|
5758
5804
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -5784,6 +5830,7 @@ export interface DeleteMenuV4BrandCategoryResponse {
|
|
|
5784
5830
|
is_active?: boolean;
|
|
5785
5831
|
brand_id: string;
|
|
5786
5832
|
menu_id: string;
|
|
5833
|
+
translation?: NameTranslation;
|
|
5787
5834
|
applied_diff_snapshot?: Record<string, any>;
|
|
5788
5835
|
version?: number;
|
|
5789
5836
|
menu?: DraftMenuDTO;
|
|
@@ -5857,6 +5904,7 @@ export interface PostMenuV4BrandCategoryDuplicateBody {
|
|
|
5857
5904
|
is_active?: boolean;
|
|
5858
5905
|
brand_id?: string;
|
|
5859
5906
|
menu_id?: string;
|
|
5907
|
+
translation?: NameTranslation;
|
|
5860
5908
|
applied_diff_snapshot?: Record<string, any>;
|
|
5861
5909
|
version?: number;
|
|
5862
5910
|
menu?: DraftMenuDTO;
|
|
@@ -5882,6 +5930,7 @@ export interface PostMenuV4BrandCategoryDuplicateResponse {
|
|
|
5882
5930
|
is_active?: boolean;
|
|
5883
5931
|
brand_id: string;
|
|
5884
5932
|
menu_id: string;
|
|
5933
|
+
translation?: NameTranslation;
|
|
5885
5934
|
applied_diff_snapshot?: Record<string, any>;
|
|
5886
5935
|
version?: number;
|
|
5887
5936
|
menu?: DraftMenuDTO;
|
|
@@ -5911,6 +5960,7 @@ export interface PostMenuV4BrandMenuDuplicateBody {
|
|
|
5911
5960
|
parent_id?: string;
|
|
5912
5961
|
name?: string;
|
|
5913
5962
|
brand_id?: string;
|
|
5963
|
+
translation?: NameTranslation;
|
|
5914
5964
|
applied_diff_snapshot?: Record<string, any>;
|
|
5915
5965
|
version?: number;
|
|
5916
5966
|
brand?: DraftBrandDTO;
|
|
@@ -5933,6 +5983,7 @@ export interface PostMenuV4BrandMenuDuplicateResponse {
|
|
|
5933
5983
|
parent_id?: string;
|
|
5934
5984
|
name: string;
|
|
5935
5985
|
brand_id: string;
|
|
5986
|
+
translation?: NameTranslation;
|
|
5936
5987
|
applied_diff_snapshot?: Record<string, any>;
|
|
5937
5988
|
version?: number;
|
|
5938
5989
|
brand?: DraftBrandDTO;
|
|
@@ -5989,6 +6040,7 @@ export interface PostMenuV4ItemBody {
|
|
|
5989
6040
|
unique_id?: number;
|
|
5990
6041
|
cpg_item_id?: string;
|
|
5991
6042
|
price_levels?: Record<string, any>;
|
|
6043
|
+
translation?: Record<string, any>;
|
|
5992
6044
|
base_item_id?: string;
|
|
5993
6045
|
applied_diff_snapshot?: Record<string, any>;
|
|
5994
6046
|
brand?: DraftBrandDTO;
|
|
@@ -6037,6 +6089,7 @@ export interface PostMenuV4ItemResponse {
|
|
|
6037
6089
|
unique_id?: number;
|
|
6038
6090
|
cpg_item_id?: string;
|
|
6039
6091
|
price_levels?: Record<string, any>;
|
|
6092
|
+
translation?: Record<string, any>;
|
|
6040
6093
|
applied_diff_snapshot?: Record<string, any>;
|
|
6041
6094
|
version?: number;
|
|
6042
6095
|
brand?: DraftBrandDTO;
|
|
@@ -6084,6 +6137,7 @@ export type PostMenuV4ItemsBulkCreateBody = {
|
|
|
6084
6137
|
unique_id?: number;
|
|
6085
6138
|
cpg_item_id?: string;
|
|
6086
6139
|
price_levels?: Record<string, any>;
|
|
6140
|
+
translation?: Record<string, any>;
|
|
6087
6141
|
base_item_id?: string;
|
|
6088
6142
|
applied_diff_snapshot?: Record<string, any>;
|
|
6089
6143
|
brand?: DraftBrandDTO;
|
|
@@ -6146,6 +6200,7 @@ export interface GetMenuV4ItemResponse {
|
|
|
6146
6200
|
unique_id?: number;
|
|
6147
6201
|
cpg_item_id?: string;
|
|
6148
6202
|
price_levels?: Record<string, any>;
|
|
6203
|
+
translation?: Record<string, any>;
|
|
6149
6204
|
applied_diff_snapshot?: Record<string, any>;
|
|
6150
6205
|
version?: number;
|
|
6151
6206
|
brand?: DraftBrandDTO;
|
|
@@ -6196,6 +6251,7 @@ export interface PatchMenuV4ItemBody {
|
|
|
6196
6251
|
unique_id?: number;
|
|
6197
6252
|
cpg_item_id?: string;
|
|
6198
6253
|
price_levels?: Record<string, any>;
|
|
6254
|
+
translation?: Record<string, any>;
|
|
6199
6255
|
applied_diff_snapshot?: Record<string, any>;
|
|
6200
6256
|
brand?: DraftBrandDTO;
|
|
6201
6257
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -6243,6 +6299,7 @@ export interface PatchMenuV4ItemResponse {
|
|
|
6243
6299
|
unique_id?: number;
|
|
6244
6300
|
cpg_item_id?: string;
|
|
6245
6301
|
price_levels?: Record<string, any>;
|
|
6302
|
+
translation?: Record<string, any>;
|
|
6246
6303
|
applied_diff_snapshot?: Record<string, any>;
|
|
6247
6304
|
version?: number;
|
|
6248
6305
|
brand?: DraftBrandDTO;
|
|
@@ -6297,6 +6354,7 @@ export interface DeleteMenuV4ItemResponse {
|
|
|
6297
6354
|
unique_id?: number;
|
|
6298
6355
|
cpg_item_id?: string;
|
|
6299
6356
|
price_levels?: Record<string, any>;
|
|
6357
|
+
translation?: Record<string, any>;
|
|
6300
6358
|
applied_diff_snapshot?: Record<string, any>;
|
|
6301
6359
|
version?: number;
|
|
6302
6360
|
brand?: DraftBrandDTO;
|
|
@@ -6345,6 +6403,7 @@ export interface PatchMenuV4ItemsBulkUpdateBody {
|
|
|
6345
6403
|
unique_id?: number;
|
|
6346
6404
|
cpg_item_id?: string;
|
|
6347
6405
|
price_levels?: Record<string, any>;
|
|
6406
|
+
translation?: Record<string, any>;
|
|
6348
6407
|
applied_diff_snapshot?: Record<string, any>;
|
|
6349
6408
|
brand?: DraftBrandDTO;
|
|
6350
6409
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -6398,6 +6457,7 @@ export interface PostMenuV4ItemDuplicateBody {
|
|
|
6398
6457
|
unique_id?: number;
|
|
6399
6458
|
cpg_item_id?: string;
|
|
6400
6459
|
price_levels?: Record<string, any>;
|
|
6460
|
+
translation?: Record<string, any>;
|
|
6401
6461
|
applied_diff_snapshot?: Record<string, any>;
|
|
6402
6462
|
brand?: DraftBrandDTO;
|
|
6403
6463
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -6445,6 +6505,7 @@ export interface PostMenuV4ItemDuplicateResponse {
|
|
|
6445
6505
|
unique_id?: number;
|
|
6446
6506
|
cpg_item_id?: string;
|
|
6447
6507
|
price_levels?: Record<string, any>;
|
|
6508
|
+
translation?: Record<string, any>;
|
|
6448
6509
|
applied_diff_snapshot?: Record<string, any>;
|
|
6449
6510
|
version?: number;
|
|
6450
6511
|
brand?: DraftBrandDTO;
|
|
@@ -6547,6 +6608,7 @@ export interface PostMenuV4ModifierBody {
|
|
|
6547
6608
|
tags?: string[];
|
|
6548
6609
|
unique_id?: number;
|
|
6549
6610
|
price_levels?: Record<string, any>;
|
|
6611
|
+
translation?: Record<string, any>;
|
|
6550
6612
|
applied_diff_snapshot?: Record<string, any>;
|
|
6551
6613
|
brand?: DraftBrandDTO;
|
|
6552
6614
|
changes?: ModifierChangeDTO[];
|
|
@@ -6590,6 +6652,7 @@ export interface PostMenuV4ModifierResponse {
|
|
|
6590
6652
|
tags?: string[];
|
|
6591
6653
|
unique_id?: number;
|
|
6592
6654
|
price_levels?: Record<string, any>;
|
|
6655
|
+
translation?: Record<string, any>;
|
|
6593
6656
|
applied_diff_snapshot?: Record<string, any>;
|
|
6594
6657
|
version?: number;
|
|
6595
6658
|
brand?: DraftBrandDTO;
|
|
@@ -6644,6 +6707,7 @@ export interface GetMenuV4ModifierResponse {
|
|
|
6644
6707
|
tags?: string[];
|
|
6645
6708
|
unique_id?: number;
|
|
6646
6709
|
price_levels?: Record<string, any>;
|
|
6710
|
+
translation?: Record<string, any>;
|
|
6647
6711
|
applied_diff_snapshot?: Record<string, any>;
|
|
6648
6712
|
version?: number;
|
|
6649
6713
|
brand?: DraftBrandDTO;
|
|
@@ -6689,6 +6753,7 @@ export interface PatchMenuV4ModifierBody {
|
|
|
6689
6753
|
tags?: string[];
|
|
6690
6754
|
unique_id?: number;
|
|
6691
6755
|
price_levels?: Record<string, any>;
|
|
6756
|
+
translation?: Record<string, any>;
|
|
6692
6757
|
applied_diff_snapshot?: Record<string, any>;
|
|
6693
6758
|
brand?: DraftBrandDTO;
|
|
6694
6759
|
changes?: ModifierChangeDTO[];
|
|
@@ -6732,6 +6797,7 @@ export interface PatchMenuV4ModifierResponse {
|
|
|
6732
6797
|
tags?: string[];
|
|
6733
6798
|
unique_id?: number;
|
|
6734
6799
|
price_levels?: Record<string, any>;
|
|
6800
|
+
translation?: Record<string, any>;
|
|
6735
6801
|
applied_diff_snapshot?: Record<string, any>;
|
|
6736
6802
|
version?: number;
|
|
6737
6803
|
brand?: DraftBrandDTO;
|
|
@@ -6782,6 +6848,7 @@ export interface DeleteMenuV4ModifierResponse {
|
|
|
6782
6848
|
tags?: string[];
|
|
6783
6849
|
unique_id?: number;
|
|
6784
6850
|
price_levels?: Record<string, any>;
|
|
6851
|
+
translation?: Record<string, any>;
|
|
6785
6852
|
applied_diff_snapshot?: Record<string, any>;
|
|
6786
6853
|
version?: number;
|
|
6787
6854
|
brand?: DraftBrandDTO;
|
|
@@ -6827,6 +6894,7 @@ export interface PostMenuV4ModifierDuplicateBody {
|
|
|
6827
6894
|
tags?: string[];
|
|
6828
6895
|
unique_id?: number;
|
|
6829
6896
|
price_levels?: Record<string, any>;
|
|
6897
|
+
translation?: Record<string, any>;
|
|
6830
6898
|
applied_diff_snapshot?: Record<string, any>;
|
|
6831
6899
|
brand?: DraftBrandDTO;
|
|
6832
6900
|
changes?: ModifierChangeDTO[];
|
|
@@ -6870,6 +6938,7 @@ export interface PostMenuV4ModifierDuplicateResponse {
|
|
|
6870
6938
|
tags?: string[];
|
|
6871
6939
|
unique_id?: number;
|
|
6872
6940
|
price_levels?: Record<string, any>;
|
|
6941
|
+
translation?: Record<string, any>;
|
|
6873
6942
|
applied_diff_snapshot?: Record<string, any>;
|
|
6874
6943
|
version?: number;
|
|
6875
6944
|
brand?: DraftBrandDTO;
|
|
@@ -6915,6 +6984,7 @@ export interface PatchMenuV4ModifiersBulkUpdateBody {
|
|
|
6915
6984
|
tags?: string[];
|
|
6916
6985
|
unique_id?: number;
|
|
6917
6986
|
price_levels?: Record<string, any>;
|
|
6987
|
+
translation?: Record<string, any>;
|
|
6918
6988
|
applied_diff_snapshot?: Record<string, any>;
|
|
6919
6989
|
brand?: DraftBrandDTO;
|
|
6920
6990
|
changes?: ModifierChangeDTO[];
|
|
@@ -6959,6 +7029,7 @@ export interface PostMenuV4ModifierGroupBody {
|
|
|
6959
7029
|
sizing?: string;
|
|
6960
7030
|
is_out_of_stock?: boolean;
|
|
6961
7031
|
is_incremental?: boolean;
|
|
7032
|
+
translation?: NameTranslation;
|
|
6962
7033
|
applied_diff_snapshot?: Record<string, any>;
|
|
6963
7034
|
brand?: DraftBrandDTO;
|
|
6964
7035
|
changes?: ModifierGroupChangeDTO[];
|
|
@@ -6987,6 +7058,7 @@ export interface PostMenuV4ModifierGroupResponse {
|
|
|
6987
7058
|
sizing?: string;
|
|
6988
7059
|
is_out_of_stock?: boolean;
|
|
6989
7060
|
is_incremental?: boolean;
|
|
7061
|
+
translation?: NameTranslation;
|
|
6990
7062
|
applied_diff_snapshot?: Record<string, any>;
|
|
6991
7063
|
version?: number;
|
|
6992
7064
|
brand?: DraftBrandDTO;
|
|
@@ -7026,6 +7098,7 @@ export interface GetMenuV4ModifierGroupResponse {
|
|
|
7026
7098
|
sizing?: string;
|
|
7027
7099
|
is_out_of_stock?: boolean;
|
|
7028
7100
|
is_incremental?: boolean;
|
|
7101
|
+
translation?: NameTranslation;
|
|
7029
7102
|
applied_diff_snapshot?: Record<string, any>;
|
|
7030
7103
|
version?: number;
|
|
7031
7104
|
brand?: DraftBrandDTO;
|
|
@@ -7056,6 +7129,7 @@ export interface PatchMenuV4ModifierGroupBody {
|
|
|
7056
7129
|
sizing?: string;
|
|
7057
7130
|
is_out_of_stock?: boolean;
|
|
7058
7131
|
is_incremental?: boolean;
|
|
7132
|
+
translation?: NameTranslation;
|
|
7059
7133
|
applied_diff_snapshot?: Record<string, any>;
|
|
7060
7134
|
brand?: DraftBrandDTO;
|
|
7061
7135
|
changes?: ModifierGroupChangeDTO[];
|
|
@@ -7084,6 +7158,7 @@ export interface PatchMenuV4ModifierGroupResponse {
|
|
|
7084
7158
|
sizing?: string;
|
|
7085
7159
|
is_out_of_stock?: boolean;
|
|
7086
7160
|
is_incremental?: boolean;
|
|
7161
|
+
translation?: NameTranslation;
|
|
7087
7162
|
applied_diff_snapshot?: Record<string, any>;
|
|
7088
7163
|
version?: number;
|
|
7089
7164
|
brand?: DraftBrandDTO;
|
|
@@ -7119,6 +7194,7 @@ export interface DeleteMenuV4ModifierGroupResponse {
|
|
|
7119
7194
|
sizing?: string;
|
|
7120
7195
|
is_out_of_stock?: boolean;
|
|
7121
7196
|
is_incremental?: boolean;
|
|
7197
|
+
translation?: NameTranslation;
|
|
7122
7198
|
applied_diff_snapshot?: Record<string, any>;
|
|
7123
7199
|
version?: number;
|
|
7124
7200
|
brand?: DraftBrandDTO;
|
|
@@ -7178,6 +7254,7 @@ export interface PostMenuV4ModifierGroupDuplicateBody {
|
|
|
7178
7254
|
sizing?: string;
|
|
7179
7255
|
is_out_of_stock?: boolean;
|
|
7180
7256
|
is_incremental?: boolean;
|
|
7257
|
+
translation?: NameTranslation;
|
|
7181
7258
|
applied_diff_snapshot?: Record<string, any>;
|
|
7182
7259
|
brand?: DraftBrandDTO;
|
|
7183
7260
|
changes?: ModifierGroupChangeDTO[];
|
|
@@ -7206,6 +7283,7 @@ export interface PostMenuV4ModifierGroupDuplicateResponse {
|
|
|
7206
7283
|
sizing?: string;
|
|
7207
7284
|
is_out_of_stock?: boolean;
|
|
7208
7285
|
is_incremental?: boolean;
|
|
7286
|
+
translation?: NameTranslation;
|
|
7209
7287
|
applied_diff_snapshot?: Record<string, any>;
|
|
7210
7288
|
version?: number;
|
|
7211
7289
|
brand?: DraftBrandDTO;
|
|
@@ -7379,6 +7457,7 @@ export interface PostMenuV4ScheduleMenuResponse {
|
|
|
7379
7457
|
parent_id?: string;
|
|
7380
7458
|
name: string;
|
|
7381
7459
|
brand_id: string;
|
|
7460
|
+
translation?: NameTranslation;
|
|
7382
7461
|
applied_diff_snapshot?: Record<string, any>;
|
|
7383
7462
|
version?: number;
|
|
7384
7463
|
brand?: DraftBrandDTO;
|
|
@@ -7409,6 +7488,7 @@ export interface PostMenuV4UnscheduleMenuResponse {
|
|
|
7409
7488
|
parent_id?: string;
|
|
7410
7489
|
name: string;
|
|
7411
7490
|
brand_id: string;
|
|
7491
|
+
translation?: NameTranslation;
|
|
7412
7492
|
applied_diff_snapshot?: Record<string, any>;
|
|
7413
7493
|
version?: number;
|
|
7414
7494
|
brand?: DraftBrandDTO;
|
|
@@ -7441,6 +7521,7 @@ export interface GetMenuV4MenuResponse {
|
|
|
7441
7521
|
parent_id?: string;
|
|
7442
7522
|
name: string;
|
|
7443
7523
|
brand_id?: string;
|
|
7524
|
+
translation?: NameTranslation;
|
|
7444
7525
|
applied_diff_snapshot?: Record<string, any>;
|
|
7445
7526
|
version?: number;
|
|
7446
7527
|
brand?: DraftBrandDTO;
|
|
@@ -7472,6 +7553,7 @@ export interface GetMenuV4CategoryResponse {
|
|
|
7472
7553
|
is_active?: boolean;
|
|
7473
7554
|
brand_id?: string;
|
|
7474
7555
|
menu_id: string;
|
|
7556
|
+
translation?: NameTranslation;
|
|
7475
7557
|
applied_diff_snapshot?: Record<string, any>;
|
|
7476
7558
|
version?: number;
|
|
7477
7559
|
menu?: DraftMenuDTO;
|