@compassdigital/sdk.typescript 4.468.0 → 4.470.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 -13
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +12 -8
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +141 -12
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +20 -20
- package/src/interface/menu.ts +152 -20
package/lib/interface/menu.d.ts
CHANGED
|
@@ -628,6 +628,7 @@ export interface DraftMenuDTO {
|
|
|
628
628
|
updated_at?: string;
|
|
629
629
|
deleted_at?: string;
|
|
630
630
|
parent_id?: string;
|
|
631
|
+
draft_parent_id?: string;
|
|
631
632
|
name?: string;
|
|
632
633
|
brand_id?: string;
|
|
633
634
|
translation?: NameTranslation;
|
|
@@ -652,6 +653,7 @@ export interface DraftCategoryDTO {
|
|
|
652
653
|
updated_at?: string;
|
|
653
654
|
deleted_at?: string;
|
|
654
655
|
parent_id?: string;
|
|
656
|
+
draft_parent_id?: string;
|
|
655
657
|
name?: string;
|
|
656
658
|
label?: string;
|
|
657
659
|
sequence?: number;
|
|
@@ -705,6 +707,7 @@ export interface DraftItemDTO {
|
|
|
705
707
|
updated_at?: string;
|
|
706
708
|
deleted_at?: string;
|
|
707
709
|
parent_id?: string;
|
|
710
|
+
draft_parent_id?: string;
|
|
708
711
|
name?: string;
|
|
709
712
|
name_on_receipt?: string;
|
|
710
713
|
name_on_kds?: string;
|
|
@@ -778,6 +781,7 @@ export interface DraftModifierGroupDTO {
|
|
|
778
781
|
updated_at?: string;
|
|
779
782
|
deleted_at?: string;
|
|
780
783
|
parent_id?: string;
|
|
784
|
+
draft_parent_id?: string;
|
|
781
785
|
name?: string;
|
|
782
786
|
label?: string;
|
|
783
787
|
min?: number;
|
|
@@ -829,6 +833,7 @@ export interface DraftModifierDTO {
|
|
|
829
833
|
updated_at?: string;
|
|
830
834
|
deleted_at?: string;
|
|
831
835
|
parent_id?: string;
|
|
836
|
+
draft_parent_id?: string;
|
|
832
837
|
name?: string;
|
|
833
838
|
name_on_receipt?: string;
|
|
834
839
|
name_on_kds?: string;
|
|
@@ -1240,6 +1245,7 @@ export interface PublishedMenuDTO {
|
|
|
1240
1245
|
updated_at?: string;
|
|
1241
1246
|
deleted_at?: string;
|
|
1242
1247
|
parent_id?: string;
|
|
1248
|
+
draft_parent_id?: string;
|
|
1243
1249
|
name?: string;
|
|
1244
1250
|
brand_id?: string;
|
|
1245
1251
|
translation?: NameTranslation;
|
|
@@ -1253,6 +1259,7 @@ export interface PublishedCategoryDTO {
|
|
|
1253
1259
|
updated_at?: string;
|
|
1254
1260
|
deleted_at?: string;
|
|
1255
1261
|
parent_id?: string;
|
|
1262
|
+
draft_parent_id?: string;
|
|
1256
1263
|
name?: string;
|
|
1257
1264
|
label?: string;
|
|
1258
1265
|
sequence?: number;
|
|
@@ -1285,6 +1292,7 @@ export interface PublishedItemDTO {
|
|
|
1285
1292
|
updated_at?: string;
|
|
1286
1293
|
deleted_at?: string;
|
|
1287
1294
|
parent_id?: string;
|
|
1295
|
+
draft_parent_id?: string;
|
|
1288
1296
|
name?: string;
|
|
1289
1297
|
name_on_receipt?: string;
|
|
1290
1298
|
name_on_kds?: string;
|
|
@@ -1335,6 +1343,7 @@ export interface PublishedModifierGroupDTO {
|
|
|
1335
1343
|
updated_at?: string;
|
|
1336
1344
|
deleted_at?: string;
|
|
1337
1345
|
parent_id?: string;
|
|
1346
|
+
draft_parent_id?: string;
|
|
1338
1347
|
name?: string;
|
|
1339
1348
|
label?: string;
|
|
1340
1349
|
min?: number;
|
|
@@ -1372,6 +1381,7 @@ export interface PublishedModifierDTO {
|
|
|
1372
1381
|
updated_at?: string;
|
|
1373
1382
|
deleted_at?: string;
|
|
1374
1383
|
parent_id?: string;
|
|
1384
|
+
draft_parent_id?: string;
|
|
1375
1385
|
name?: string;
|
|
1376
1386
|
name_on_receipt?: string;
|
|
1377
1387
|
name_on_kds?: string;
|
|
@@ -1625,6 +1635,7 @@ export interface DraftItemEntityDTO {
|
|
|
1625
1635
|
updated_at?: string;
|
|
1626
1636
|
deleted_at?: string;
|
|
1627
1637
|
parent_id?: string;
|
|
1638
|
+
draft_parent_id?: string;
|
|
1628
1639
|
name: string;
|
|
1629
1640
|
name_on_receipt?: string;
|
|
1630
1641
|
name_on_kds?: string;
|
|
@@ -1679,6 +1690,7 @@ export interface DraftModifierEntityDTO {
|
|
|
1679
1690
|
updated_at?: string;
|
|
1680
1691
|
deleted_at?: string;
|
|
1681
1692
|
parent_id?: string;
|
|
1693
|
+
draft_parent_id?: string;
|
|
1682
1694
|
name: string;
|
|
1683
1695
|
name_on_receipt?: string;
|
|
1684
1696
|
name_on_kds?: string;
|
|
@@ -1776,6 +1788,7 @@ export interface DraftModifierGroupEntityDTO {
|
|
|
1776
1788
|
updated_at?: string;
|
|
1777
1789
|
deleted_at?: string;
|
|
1778
1790
|
parent_id?: string;
|
|
1791
|
+
draft_parent_id?: string;
|
|
1779
1792
|
name: string;
|
|
1780
1793
|
label?: string;
|
|
1781
1794
|
min?: number;
|
|
@@ -1839,6 +1852,23 @@ export interface FetchCategoryDTO {
|
|
|
1839
1852
|
id?: string;
|
|
1840
1853
|
name?: string;
|
|
1841
1854
|
}
|
|
1855
|
+
export interface FetchBrandItemsMenuBrandRequestDTO {
|
|
1856
|
+
id: string;
|
|
1857
|
+
name: string;
|
|
1858
|
+
menus?: FetchBrandItemsMenuRequestDTO[];
|
|
1859
|
+
[index: string]: any;
|
|
1860
|
+
}
|
|
1861
|
+
export interface FetchBrandItemsMenuRequestDTO {
|
|
1862
|
+
id: string;
|
|
1863
|
+
name: string;
|
|
1864
|
+
categories?: FetchBrandItemsCategoryRequestDTO[];
|
|
1865
|
+
[index: string]: any;
|
|
1866
|
+
}
|
|
1867
|
+
export interface FetchBrandItemsCategoryRequestDTO {
|
|
1868
|
+
id: string;
|
|
1869
|
+
name: string;
|
|
1870
|
+
[index: string]: any;
|
|
1871
|
+
}
|
|
1842
1872
|
export interface FetchEntityWithMenusAndItemsDTO {
|
|
1843
1873
|
id?: string;
|
|
1844
1874
|
name?: string;
|
|
@@ -1867,6 +1897,7 @@ export interface PartialItemDTO {
|
|
|
1867
1897
|
cpg_item?: UniversalItemDTO;
|
|
1868
1898
|
stocks?: StockDTO[];
|
|
1869
1899
|
parent_id?: string;
|
|
1900
|
+
draft_parent_id?: string;
|
|
1870
1901
|
name?: string;
|
|
1871
1902
|
name_on_receipt?: string;
|
|
1872
1903
|
name_on_kds?: string;
|
|
@@ -1912,6 +1943,7 @@ export interface PartialModifierDTO {
|
|
|
1912
1943
|
children?: DraftModifierDTO[];
|
|
1913
1944
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1914
1945
|
parent_id?: string;
|
|
1946
|
+
draft_parent_id?: string;
|
|
1915
1947
|
name?: string;
|
|
1916
1948
|
name_on_receipt?: string;
|
|
1917
1949
|
name_on_kds?: string;
|
|
@@ -1972,6 +2004,29 @@ export interface FetchStationCategoryDTO {
|
|
|
1972
2004
|
name?: string;
|
|
1973
2005
|
[index: string]: any;
|
|
1974
2006
|
}
|
|
2007
|
+
export interface FetchStationItemsSearchSiteRequestDTO {
|
|
2008
|
+
id: string;
|
|
2009
|
+
name: string;
|
|
2010
|
+
stations: FetchStationItemsSearchStationRequestDTO[];
|
|
2011
|
+
[index: string]: any;
|
|
2012
|
+
}
|
|
2013
|
+
export interface FetchStationItemsSearchStationRequestDTO {
|
|
2014
|
+
id: string;
|
|
2015
|
+
name: string;
|
|
2016
|
+
menus: FetchStationItemsSearchMenuRequestDTO[];
|
|
2017
|
+
[index: string]: any;
|
|
2018
|
+
}
|
|
2019
|
+
export interface FetchStationItemsSearchMenuRequestDTO {
|
|
2020
|
+
id: string;
|
|
2021
|
+
name: string;
|
|
2022
|
+
categories?: FetchStationItemsSearchCategoryRequestDTO[];
|
|
2023
|
+
[index: string]: any;
|
|
2024
|
+
}
|
|
2025
|
+
export interface FetchStationItemsSearchCategoryRequestDTO {
|
|
2026
|
+
id: string;
|
|
2027
|
+
name: string;
|
|
2028
|
+
[index: string]: any;
|
|
2029
|
+
}
|
|
1975
2030
|
export interface FetchSiteWithStationsDTO {
|
|
1976
2031
|
id?: string;
|
|
1977
2032
|
name?: string;
|
|
@@ -3576,6 +3631,7 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
3576
3631
|
station_id?: string;
|
|
3577
3632
|
price_level_id?: string;
|
|
3578
3633
|
parent_id?: string;
|
|
3634
|
+
draft_parent_id?: string;
|
|
3579
3635
|
name: string;
|
|
3580
3636
|
brand_id: string;
|
|
3581
3637
|
translation?: NameTranslation;
|
|
@@ -3614,6 +3670,7 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
3614
3670
|
price_level_id?: string;
|
|
3615
3671
|
id?: string;
|
|
3616
3672
|
parent_id?: string;
|
|
3673
|
+
draft_parent_id?: string;
|
|
3617
3674
|
name?: string;
|
|
3618
3675
|
brand_id?: string;
|
|
3619
3676
|
translation?: NameTranslation;
|
|
@@ -3665,6 +3722,7 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
3665
3722
|
station_id?: string;
|
|
3666
3723
|
price_level_id?: string;
|
|
3667
3724
|
parent_id?: string;
|
|
3725
|
+
draft_parent_id?: string;
|
|
3668
3726
|
name: string;
|
|
3669
3727
|
brand_id: string;
|
|
3670
3728
|
translation?: NameTranslation;
|
|
@@ -3756,6 +3814,7 @@ export interface PostMenuV3DraftMenuDuplicateResponse {
|
|
|
3756
3814
|
updated_at?: string;
|
|
3757
3815
|
deleted_at?: string;
|
|
3758
3816
|
parent_id?: string;
|
|
3817
|
+
draft_parent_id?: string;
|
|
3759
3818
|
name: string;
|
|
3760
3819
|
brand_id: string;
|
|
3761
3820
|
translation?: NameTranslation;
|
|
@@ -3881,6 +3940,7 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
3881
3940
|
parent?: DraftCategoryDTO;
|
|
3882
3941
|
children?: DraftCategoryDTO[];
|
|
3883
3942
|
parent_id?: string;
|
|
3943
|
+
draft_parent_id?: string;
|
|
3884
3944
|
name: string;
|
|
3885
3945
|
label?: string;
|
|
3886
3946
|
sequence?: number;
|
|
@@ -3921,6 +3981,7 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
3921
3981
|
children?: DraftCategoryDTO[];
|
|
3922
3982
|
id?: string;
|
|
3923
3983
|
parent_id?: string;
|
|
3984
|
+
draft_parent_id?: string;
|
|
3924
3985
|
name?: string;
|
|
3925
3986
|
label?: string;
|
|
3926
3987
|
sequence?: number;
|
|
@@ -3966,6 +4027,7 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
3966
4027
|
parent?: DraftCategoryDTO;
|
|
3967
4028
|
children?: DraftCategoryDTO[];
|
|
3968
4029
|
parent_id?: string;
|
|
4030
|
+
draft_parent_id?: string;
|
|
3969
4031
|
name: string;
|
|
3970
4032
|
label?: string;
|
|
3971
4033
|
sequence?: number;
|
|
@@ -4030,6 +4092,7 @@ export interface PostMenuV3DraftCategoryDuplicateResponse {
|
|
|
4030
4092
|
updated_at?: string;
|
|
4031
4093
|
deleted_at?: string;
|
|
4032
4094
|
parent_id?: string;
|
|
4095
|
+
draft_parent_id?: string;
|
|
4033
4096
|
name: string;
|
|
4034
4097
|
label?: string;
|
|
4035
4098
|
sequence?: number;
|
|
@@ -4281,6 +4344,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
4281
4344
|
cpg_item?: UniversalItemDTO;
|
|
4282
4345
|
stocks?: StockDTO[];
|
|
4283
4346
|
parent_id?: string;
|
|
4347
|
+
draft_parent_id?: string;
|
|
4284
4348
|
name: string;
|
|
4285
4349
|
name_on_receipt?: string;
|
|
4286
4350
|
name_on_kds?: string;
|
|
@@ -4347,6 +4411,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4347
4411
|
stocks?: StockDTO[];
|
|
4348
4412
|
id?: string;
|
|
4349
4413
|
parent_id?: string;
|
|
4414
|
+
draft_parent_id?: string;
|
|
4350
4415
|
name?: string;
|
|
4351
4416
|
name_on_receipt?: string;
|
|
4352
4417
|
name_on_kds?: string;
|
|
@@ -4438,6 +4503,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
4438
4503
|
cpg_item?: UniversalItemDTO;
|
|
4439
4504
|
stocks?: StockDTO[];
|
|
4440
4505
|
parent_id?: string;
|
|
4506
|
+
draft_parent_id?: string;
|
|
4441
4507
|
name: string;
|
|
4442
4508
|
name_on_receipt?: string;
|
|
4443
4509
|
name_on_kds?: string;
|
|
@@ -4522,6 +4588,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
4522
4588
|
stocks?: StockDTO[];
|
|
4523
4589
|
id?: string;
|
|
4524
4590
|
parent_id?: string;
|
|
4591
|
+
draft_parent_id?: string;
|
|
4525
4592
|
name?: string;
|
|
4526
4593
|
name_on_receipt?: string;
|
|
4527
4594
|
name_on_kds?: string;
|
|
@@ -4841,6 +4908,7 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
4841
4908
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
4842
4909
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
4843
4910
|
parent_id?: string;
|
|
4911
|
+
draft_parent_id?: string;
|
|
4844
4912
|
name: string;
|
|
4845
4913
|
label?: string;
|
|
4846
4914
|
min?: number;
|
|
@@ -4884,6 +4952,7 @@ export interface PatchMenuV3DraftModifierGroupBody {
|
|
|
4884
4952
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
4885
4953
|
id?: string;
|
|
4886
4954
|
parent_id?: string;
|
|
4955
|
+
draft_parent_id?: string;
|
|
4887
4956
|
name?: string;
|
|
4888
4957
|
label?: string;
|
|
4889
4958
|
min?: number;
|
|
@@ -4940,6 +5009,7 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
4940
5009
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
4941
5010
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
4942
5011
|
parent_id?: string;
|
|
5012
|
+
draft_parent_id?: string;
|
|
4943
5013
|
name: string;
|
|
4944
5014
|
label?: string;
|
|
4945
5015
|
min?: number;
|
|
@@ -4998,6 +5068,7 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
4998
5068
|
updated_at?: string;
|
|
4999
5069
|
deleted_at?: string;
|
|
5000
5070
|
parent_id?: string;
|
|
5071
|
+
draft_parent_id?: string;
|
|
5001
5072
|
name: string;
|
|
5002
5073
|
label?: string;
|
|
5003
5074
|
min?: number;
|
|
@@ -5244,6 +5315,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
5244
5315
|
children?: DraftModifierDTO[];
|
|
5245
5316
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5246
5317
|
parent_id?: string;
|
|
5318
|
+
draft_parent_id?: string;
|
|
5247
5319
|
name: string;
|
|
5248
5320
|
name_on_receipt?: string;
|
|
5249
5321
|
name_on_kds?: string;
|
|
@@ -5305,6 +5377,7 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
5305
5377
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5306
5378
|
id?: string;
|
|
5307
5379
|
parent_id?: string;
|
|
5380
|
+
draft_parent_id?: string;
|
|
5308
5381
|
name?: string;
|
|
5309
5382
|
name_on_receipt?: string;
|
|
5310
5383
|
name_on_kds?: string;
|
|
@@ -5391,6 +5464,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
5391
5464
|
children?: DraftModifierDTO[];
|
|
5392
5465
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5393
5466
|
parent_id?: string;
|
|
5467
|
+
draft_parent_id?: string;
|
|
5394
5468
|
name: string;
|
|
5395
5469
|
name_on_receipt?: string;
|
|
5396
5470
|
name_on_kds?: string;
|
|
@@ -5470,6 +5544,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
5470
5544
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5471
5545
|
id?: string;
|
|
5472
5546
|
parent_id?: string;
|
|
5547
|
+
draft_parent_id?: string;
|
|
5473
5548
|
name?: string;
|
|
5474
5549
|
name_on_receipt?: string;
|
|
5475
5550
|
name_on_kds?: string;
|
|
@@ -6048,6 +6123,7 @@ export interface PostMenuV4BrandMenuBody {
|
|
|
6048
6123
|
station_id?: string;
|
|
6049
6124
|
price_level_id?: string;
|
|
6050
6125
|
parent_id?: string;
|
|
6126
|
+
draft_parent_id?: string;
|
|
6051
6127
|
name: string;
|
|
6052
6128
|
brand_id: string;
|
|
6053
6129
|
translation?: NameTranslation;
|
|
@@ -6072,6 +6148,7 @@ export interface PostMenuV4BrandMenuResponse {
|
|
|
6072
6148
|
updated_at?: string;
|
|
6073
6149
|
deleted_at?: string;
|
|
6074
6150
|
parent_id?: string;
|
|
6151
|
+
draft_parent_id?: string;
|
|
6075
6152
|
name: string;
|
|
6076
6153
|
brand_id: string;
|
|
6077
6154
|
translation?: NameTranslation;
|
|
@@ -6101,6 +6178,7 @@ export interface PatchMenuV4BrandMenuBody {
|
|
|
6101
6178
|
price_level_id?: string;
|
|
6102
6179
|
id?: string;
|
|
6103
6180
|
parent_id?: string;
|
|
6181
|
+
draft_parent_id?: string;
|
|
6104
6182
|
name?: string;
|
|
6105
6183
|
brand_id?: string;
|
|
6106
6184
|
translation?: NameTranslation;
|
|
@@ -6126,6 +6204,7 @@ export interface PatchMenuV4BrandMenuResponse {
|
|
|
6126
6204
|
updated_at?: string;
|
|
6127
6205
|
deleted_at?: string;
|
|
6128
6206
|
parent_id?: string;
|
|
6207
|
+
draft_parent_id?: string;
|
|
6129
6208
|
name: string;
|
|
6130
6209
|
brand_id: string;
|
|
6131
6210
|
translation?: NameTranslation;
|
|
@@ -6158,6 +6237,7 @@ export interface DeleteMenuV4BrandMenuResponse {
|
|
|
6158
6237
|
updated_at?: string;
|
|
6159
6238
|
deleted_at?: string;
|
|
6160
6239
|
parent_id?: string;
|
|
6240
|
+
draft_parent_id?: string;
|
|
6161
6241
|
name: string;
|
|
6162
6242
|
brand_id: string;
|
|
6163
6243
|
translation?: NameTranslation;
|
|
@@ -6261,6 +6341,7 @@ export interface PostMenuV4BrandCategoryBody {
|
|
|
6261
6341
|
parent?: DraftCategoryDTO;
|
|
6262
6342
|
children?: DraftCategoryDTO[];
|
|
6263
6343
|
parent_id?: string;
|
|
6344
|
+
draft_parent_id?: string;
|
|
6264
6345
|
name: string;
|
|
6265
6346
|
label?: string;
|
|
6266
6347
|
sequence?: number;
|
|
@@ -6287,6 +6368,7 @@ export interface PostMenuV4BrandCategoryResponse {
|
|
|
6287
6368
|
updated_at?: string;
|
|
6288
6369
|
deleted_at?: string;
|
|
6289
6370
|
parent_id?: string;
|
|
6371
|
+
draft_parent_id?: string;
|
|
6290
6372
|
name: string;
|
|
6291
6373
|
label?: string;
|
|
6292
6374
|
sequence?: number;
|
|
@@ -6318,6 +6400,7 @@ export interface PatchMenuV4BrandCategoryBody {
|
|
|
6318
6400
|
children?: DraftCategoryDTO[];
|
|
6319
6401
|
id?: string;
|
|
6320
6402
|
parent_id?: string;
|
|
6403
|
+
draft_parent_id?: string;
|
|
6321
6404
|
name?: string;
|
|
6322
6405
|
label?: string;
|
|
6323
6406
|
sequence?: number;
|
|
@@ -6345,6 +6428,7 @@ export interface PatchMenuV4BrandCategoryResponse {
|
|
|
6345
6428
|
updated_at?: string;
|
|
6346
6429
|
deleted_at?: string;
|
|
6347
6430
|
parent_id?: string;
|
|
6431
|
+
draft_parent_id?: string;
|
|
6348
6432
|
name: string;
|
|
6349
6433
|
label?: string;
|
|
6350
6434
|
sequence?: number;
|
|
@@ -6379,6 +6463,7 @@ export interface DeleteMenuV4BrandCategoryResponse {
|
|
|
6379
6463
|
updated_at?: string;
|
|
6380
6464
|
deleted_at?: string;
|
|
6381
6465
|
parent_id?: string;
|
|
6466
|
+
draft_parent_id?: string;
|
|
6382
6467
|
name: string;
|
|
6383
6468
|
label?: string;
|
|
6384
6469
|
sequence?: number;
|
|
@@ -6471,6 +6556,7 @@ export interface PostMenuV4BrandCategoryDuplicateBody {
|
|
|
6471
6556
|
children?: DraftCategoryDTO[];
|
|
6472
6557
|
id?: string;
|
|
6473
6558
|
parent_id?: string;
|
|
6559
|
+
draft_parent_id?: string;
|
|
6474
6560
|
name?: string;
|
|
6475
6561
|
label?: string;
|
|
6476
6562
|
sequence?: number;
|
|
@@ -6498,6 +6584,7 @@ export interface PostMenuV4BrandCategoryDuplicateResponse {
|
|
|
6498
6584
|
updated_at?: string;
|
|
6499
6585
|
deleted_at?: string;
|
|
6500
6586
|
parent_id?: string;
|
|
6587
|
+
draft_parent_id?: string;
|
|
6501
6588
|
name: string;
|
|
6502
6589
|
label?: string;
|
|
6503
6590
|
sequence?: number;
|
|
@@ -6533,6 +6620,7 @@ export interface PostMenuV4BrandMenuDuplicateBody {
|
|
|
6533
6620
|
price_level_id?: string;
|
|
6534
6621
|
id?: string;
|
|
6535
6622
|
parent_id?: string;
|
|
6623
|
+
draft_parent_id?: string;
|
|
6536
6624
|
name?: string;
|
|
6537
6625
|
brand_id?: string;
|
|
6538
6626
|
translation?: NameTranslation;
|
|
@@ -6558,6 +6646,7 @@ export interface PostMenuV4BrandMenuDuplicateResponse {
|
|
|
6558
6646
|
updated_at?: string;
|
|
6559
6647
|
deleted_at?: string;
|
|
6560
6648
|
parent_id?: string;
|
|
6649
|
+
draft_parent_id?: string;
|
|
6561
6650
|
name: string;
|
|
6562
6651
|
brand_id: string;
|
|
6563
6652
|
translation?: NameTranslation;
|
|
@@ -6586,23 +6675,28 @@ export interface GetMenuV4BrandExportResponse {
|
|
|
6586
6675
|
}
|
|
6587
6676
|
export interface GetMenuV4BrandExportRequest extends BaseRequest, RequestQuery<GetMenuV4BrandExportQuery>, GetMenuV4BrandExportPath {
|
|
6588
6677
|
}
|
|
6589
|
-
export interface
|
|
6590
|
-
|
|
6678
|
+
export interface PostMenuV4BrandsFetchBody {
|
|
6679
|
+
brand_ids: string[];
|
|
6680
|
+
[index: string]: any;
|
|
6591
6681
|
}
|
|
6592
6682
|
export interface PostMenuV4BrandsFetchResponse {
|
|
6593
6683
|
meta?: FetchMetaDTO;
|
|
6594
6684
|
results?: FetchEntityWithMenusDTO[];
|
|
6595
6685
|
}
|
|
6596
|
-
export interface PostMenuV4BrandsFetchRequest extends BaseRequest
|
|
6686
|
+
export interface PostMenuV4BrandsFetchRequest extends BaseRequest {
|
|
6687
|
+
body: PostMenuV4BrandsFetchBody;
|
|
6597
6688
|
}
|
|
6598
|
-
export interface
|
|
6599
|
-
|
|
6689
|
+
export interface PostMenuV4BrandItemsSearchBody {
|
|
6690
|
+
menuBrands: FetchBrandItemsMenuBrandRequestDTO[];
|
|
6691
|
+
searchTerm?: string;
|
|
6692
|
+
[index: string]: any;
|
|
6600
6693
|
}
|
|
6601
6694
|
export interface PostMenuV4BrandItemsSearchResponse {
|
|
6602
6695
|
meta?: FetchMetaDTO;
|
|
6603
6696
|
results?: FetchEntityWithMenusAndItemsDTO[];
|
|
6604
6697
|
}
|
|
6605
|
-
export interface PostMenuV4BrandItemsSearchRequest extends BaseRequest
|
|
6698
|
+
export interface PostMenuV4BrandItemsSearchRequest extends BaseRequest {
|
|
6699
|
+
body: PostMenuV4BrandItemsSearchBody;
|
|
6606
6700
|
}
|
|
6607
6701
|
export interface PostMenuV4ItemAttachmentPath {
|
|
6608
6702
|
id: string;
|
|
@@ -6624,6 +6718,7 @@ export interface PostMenuV4ItemBody {
|
|
|
6624
6718
|
cpg_item?: UniversalItemDTO;
|
|
6625
6719
|
stocks?: StockDTO[];
|
|
6626
6720
|
parent_id?: string;
|
|
6721
|
+
draft_parent_id?: string;
|
|
6627
6722
|
name: string;
|
|
6628
6723
|
name_on_receipt?: string;
|
|
6629
6724
|
name_on_kds?: string;
|
|
@@ -6677,6 +6772,7 @@ export interface PostMenuV4ItemResponse {
|
|
|
6677
6772
|
updated_at?: string;
|
|
6678
6773
|
deleted_at?: string;
|
|
6679
6774
|
parent_id?: string;
|
|
6775
|
+
draft_parent_id?: string;
|
|
6680
6776
|
name: string;
|
|
6681
6777
|
name_on_receipt?: string;
|
|
6682
6778
|
name_on_kds?: string;
|
|
@@ -6729,6 +6825,7 @@ export type PostMenuV4ItemsBulkCreateBody = {
|
|
|
6729
6825
|
cpg_item?: UniversalItemDTO;
|
|
6730
6826
|
stocks?: StockDTO[];
|
|
6731
6827
|
parent_id?: string;
|
|
6828
|
+
draft_parent_id?: string;
|
|
6732
6829
|
name: string;
|
|
6733
6830
|
name_on_receipt?: string;
|
|
6734
6831
|
name_on_kds?: string;
|
|
@@ -6795,6 +6892,7 @@ export interface GetMenuV4ItemResponse {
|
|
|
6795
6892
|
updated_at?: string;
|
|
6796
6893
|
deleted_at?: string;
|
|
6797
6894
|
parent_id?: string;
|
|
6895
|
+
draft_parent_id?: string;
|
|
6798
6896
|
name: string;
|
|
6799
6897
|
name_on_receipt?: string;
|
|
6800
6898
|
name_on_kds?: string;
|
|
@@ -6850,6 +6948,7 @@ export interface PatchMenuV4ItemBody {
|
|
|
6850
6948
|
cpg_item?: UniversalItemDTO;
|
|
6851
6949
|
stocks?: StockDTO[];
|
|
6852
6950
|
parent_id?: string;
|
|
6951
|
+
draft_parent_id?: string;
|
|
6853
6952
|
name?: string;
|
|
6854
6953
|
name_on_receipt?: string;
|
|
6855
6954
|
name_on_kds?: string;
|
|
@@ -6902,6 +7001,7 @@ export interface PatchMenuV4ItemResponse {
|
|
|
6902
7001
|
updated_at?: string;
|
|
6903
7002
|
deleted_at?: string;
|
|
6904
7003
|
parent_id?: string;
|
|
7004
|
+
draft_parent_id?: string;
|
|
6905
7005
|
name: string;
|
|
6906
7006
|
name_on_receipt?: string;
|
|
6907
7007
|
name_on_kds?: string;
|
|
@@ -6961,6 +7061,7 @@ export interface DeleteMenuV4ItemResponse {
|
|
|
6961
7061
|
updated_at?: string;
|
|
6962
7062
|
deleted_at?: string;
|
|
6963
7063
|
parent_id?: string;
|
|
7064
|
+
draft_parent_id?: string;
|
|
6964
7065
|
name: string;
|
|
6965
7066
|
name_on_receipt?: string;
|
|
6966
7067
|
name_on_kds?: string;
|
|
@@ -7014,6 +7115,7 @@ export interface PatchMenuV4ItemsBulkUpdateBody {
|
|
|
7014
7115
|
stocks?: StockDTO[];
|
|
7015
7116
|
id?: string;
|
|
7016
7117
|
parent_id?: string;
|
|
7118
|
+
draft_parent_id?: string;
|
|
7017
7119
|
name?: string;
|
|
7018
7120
|
name_on_receipt?: string;
|
|
7019
7121
|
name_on_kds?: string;
|
|
@@ -7072,6 +7174,7 @@ export interface PatchMenuV4ItemsBulkPriceUpdateBody {
|
|
|
7072
7174
|
stocks?: StockDTO[];
|
|
7073
7175
|
id?: string;
|
|
7074
7176
|
parent_id?: string;
|
|
7177
|
+
draft_parent_id?: string;
|
|
7075
7178
|
name?: string;
|
|
7076
7179
|
name_on_receipt?: string;
|
|
7077
7180
|
name_on_kds?: string;
|
|
@@ -7138,6 +7241,7 @@ export interface PostMenuV4ItemDuplicateResponse {
|
|
|
7138
7241
|
updated_at?: string;
|
|
7139
7242
|
deleted_at?: string;
|
|
7140
7243
|
parent_id?: string;
|
|
7244
|
+
draft_parent_id?: string;
|
|
7141
7245
|
name: string;
|
|
7142
7246
|
name_on_receipt?: string;
|
|
7143
7247
|
name_on_kds?: string;
|
|
@@ -7256,6 +7360,7 @@ export interface PostMenuV4ModifierBody {
|
|
|
7256
7360
|
children?: DraftModifierDTO[];
|
|
7257
7361
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
7258
7362
|
parent_id?: string;
|
|
7363
|
+
draft_parent_id?: string;
|
|
7259
7364
|
name: string;
|
|
7260
7365
|
name_on_receipt?: string;
|
|
7261
7366
|
name_on_kds?: string;
|
|
@@ -7303,6 +7408,7 @@ export interface PostMenuV4ModifierResponse {
|
|
|
7303
7408
|
updated_at?: string;
|
|
7304
7409
|
deleted_at?: string;
|
|
7305
7410
|
parent_id?: string;
|
|
7411
|
+
draft_parent_id?: string;
|
|
7306
7412
|
name: string;
|
|
7307
7413
|
name_on_receipt?: string;
|
|
7308
7414
|
name_on_kds?: string;
|
|
@@ -7360,6 +7466,7 @@ export interface GetMenuV4ModifierResponse {
|
|
|
7360
7466
|
updated_at?: string;
|
|
7361
7467
|
deleted_at?: string;
|
|
7362
7468
|
parent_id?: string;
|
|
7469
|
+
draft_parent_id?: string;
|
|
7363
7470
|
name: string;
|
|
7364
7471
|
name_on_receipt?: string;
|
|
7365
7472
|
name_on_kds?: string;
|
|
@@ -7409,6 +7516,7 @@ export interface PatchMenuV4ModifierBody {
|
|
|
7409
7516
|
children?: DraftModifierDTO[];
|
|
7410
7517
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
7411
7518
|
parent_id?: string;
|
|
7519
|
+
draft_parent_id?: string;
|
|
7412
7520
|
name?: string;
|
|
7413
7521
|
name_on_receipt?: string;
|
|
7414
7522
|
name_on_kds?: string;
|
|
@@ -7456,6 +7564,7 @@ export interface PatchMenuV4ModifierResponse {
|
|
|
7456
7564
|
updated_at?: string;
|
|
7457
7565
|
deleted_at?: string;
|
|
7458
7566
|
parent_id?: string;
|
|
7567
|
+
draft_parent_id?: string;
|
|
7459
7568
|
name: string;
|
|
7460
7569
|
name_on_receipt?: string;
|
|
7461
7570
|
name_on_kds?: string;
|
|
@@ -7510,6 +7619,7 @@ export interface DeleteMenuV4ModifierResponse {
|
|
|
7510
7619
|
updated_at?: string;
|
|
7511
7620
|
deleted_at?: string;
|
|
7512
7621
|
parent_id?: string;
|
|
7622
|
+
draft_parent_id?: string;
|
|
7513
7623
|
name: string;
|
|
7514
7624
|
name_on_receipt?: string;
|
|
7515
7625
|
name_on_kds?: string;
|
|
@@ -7568,6 +7678,7 @@ export interface PostMenuV4ModifierDuplicateResponse {
|
|
|
7568
7678
|
updated_at?: string;
|
|
7569
7679
|
deleted_at?: string;
|
|
7570
7680
|
parent_id?: string;
|
|
7681
|
+
draft_parent_id?: string;
|
|
7571
7682
|
name: string;
|
|
7572
7683
|
name_on_receipt?: string;
|
|
7573
7684
|
name_on_kds?: string;
|
|
@@ -7617,6 +7728,7 @@ export interface PatchMenuV4ModifiersBulkUpdateBody {
|
|
|
7617
7728
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
7618
7729
|
id?: string;
|
|
7619
7730
|
parent_id?: string;
|
|
7731
|
+
draft_parent_id?: string;
|
|
7620
7732
|
name?: string;
|
|
7621
7733
|
name_on_receipt?: string;
|
|
7622
7734
|
name_on_kds?: string;
|
|
@@ -7690,6 +7802,7 @@ export interface PostMenuV4ModifierGroupBody {
|
|
|
7690
7802
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
7691
7803
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
7692
7804
|
parent_id?: string;
|
|
7805
|
+
draft_parent_id?: string;
|
|
7693
7806
|
name: string;
|
|
7694
7807
|
label?: string;
|
|
7695
7808
|
min?: number;
|
|
@@ -7719,6 +7832,7 @@ export interface PostMenuV4ModifierGroupResponse {
|
|
|
7719
7832
|
updated_at?: string;
|
|
7720
7833
|
deleted_at?: string;
|
|
7721
7834
|
parent_id?: string;
|
|
7835
|
+
draft_parent_id?: string;
|
|
7722
7836
|
name: string;
|
|
7723
7837
|
label?: string;
|
|
7724
7838
|
min?: number;
|
|
@@ -7758,6 +7872,7 @@ export interface GetMenuV4ModifierGroupResponse {
|
|
|
7758
7872
|
updated_at?: string;
|
|
7759
7873
|
deleted_at?: string;
|
|
7760
7874
|
parent_id?: string;
|
|
7875
|
+
draft_parent_id?: string;
|
|
7761
7876
|
name: string;
|
|
7762
7877
|
label?: string;
|
|
7763
7878
|
min?: number;
|
|
@@ -7789,6 +7904,7 @@ export interface PatchMenuV4ModifierGroupBody {
|
|
|
7789
7904
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
7790
7905
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
7791
7906
|
parent_id?: string;
|
|
7907
|
+
draft_parent_id?: string;
|
|
7792
7908
|
name?: string;
|
|
7793
7909
|
label?: string;
|
|
7794
7910
|
min?: number;
|
|
@@ -7818,6 +7934,7 @@ export interface PatchMenuV4ModifierGroupResponse {
|
|
|
7818
7934
|
updated_at?: string;
|
|
7819
7935
|
deleted_at?: string;
|
|
7820
7936
|
parent_id?: string;
|
|
7937
|
+
draft_parent_id?: string;
|
|
7821
7938
|
name: string;
|
|
7822
7939
|
label?: string;
|
|
7823
7940
|
min?: number;
|
|
@@ -7854,6 +7971,7 @@ export interface DeleteMenuV4ModifierGroupResponse {
|
|
|
7854
7971
|
updated_at?: string;
|
|
7855
7972
|
deleted_at?: string;
|
|
7856
7973
|
parent_id?: string;
|
|
7974
|
+
draft_parent_id?: string;
|
|
7857
7975
|
name: string;
|
|
7858
7976
|
label?: string;
|
|
7859
7977
|
min?: number;
|
|
@@ -7914,6 +8032,7 @@ export interface PostMenuV4ModifierGroupDuplicateBody {
|
|
|
7914
8032
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
7915
8033
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
7916
8034
|
parent_id?: string;
|
|
8035
|
+
draft_parent_id?: string;
|
|
7917
8036
|
name?: string;
|
|
7918
8037
|
label?: string;
|
|
7919
8038
|
min?: number;
|
|
@@ -7943,6 +8062,7 @@ export interface PostMenuV4ModifierGroupDuplicateResponse {
|
|
|
7943
8062
|
updated_at?: string;
|
|
7944
8063
|
deleted_at?: string;
|
|
7945
8064
|
parent_id?: string;
|
|
8065
|
+
draft_parent_id?: string;
|
|
7946
8066
|
name: string;
|
|
7947
8067
|
label?: string;
|
|
7948
8068
|
min?: number;
|
|
@@ -8144,6 +8264,7 @@ export interface PostMenuV4ScheduleMenuResponse {
|
|
|
8144
8264
|
updated_at?: string;
|
|
8145
8265
|
deleted_at?: string;
|
|
8146
8266
|
parent_id?: string;
|
|
8267
|
+
draft_parent_id?: string;
|
|
8147
8268
|
name: string;
|
|
8148
8269
|
brand_id: string;
|
|
8149
8270
|
translation?: NameTranslation;
|
|
@@ -8177,6 +8298,7 @@ export interface PostMenuV4UnscheduleMenuResponse {
|
|
|
8177
8298
|
updated_at?: string;
|
|
8178
8299
|
deleted_at?: string;
|
|
8179
8300
|
parent_id?: string;
|
|
8301
|
+
draft_parent_id?: string;
|
|
8180
8302
|
name: string;
|
|
8181
8303
|
brand_id: string;
|
|
8182
8304
|
translation?: NameTranslation;
|
|
@@ -8211,6 +8333,7 @@ export interface GetMenuV4MenuResponse {
|
|
|
8211
8333
|
updated_at?: string;
|
|
8212
8334
|
deleted_at?: string;
|
|
8213
8335
|
parent_id?: string;
|
|
8336
|
+
draft_parent_id?: string;
|
|
8214
8337
|
name: string;
|
|
8215
8338
|
brand_id?: string;
|
|
8216
8339
|
translation?: NameTranslation;
|
|
@@ -8267,6 +8390,7 @@ export interface GetMenuV4CategoryResponse {
|
|
|
8267
8390
|
updated_at?: string;
|
|
8268
8391
|
deleted_at?: string;
|
|
8269
8392
|
parent_id?: string;
|
|
8393
|
+
draft_parent_id?: string;
|
|
8270
8394
|
name: string;
|
|
8271
8395
|
label?: string;
|
|
8272
8396
|
sequence?: number;
|
|
@@ -8352,23 +8476,28 @@ export interface GetMenuV4CategoryAttachableItemsResponse {
|
|
|
8352
8476
|
}
|
|
8353
8477
|
export interface GetMenuV4CategoryAttachableItemsRequest extends BaseRequest, RequestQuery<GetMenuV4CategoryAttachableItemsQuery>, GetMenuV4CategoryAttachableItemsPath {
|
|
8354
8478
|
}
|
|
8355
|
-
export interface
|
|
8356
|
-
|
|
8479
|
+
export interface PostMenuV4StationsMenusFetchBody {
|
|
8480
|
+
station_ids: string[];
|
|
8481
|
+
[index: string]: any;
|
|
8357
8482
|
}
|
|
8358
8483
|
export interface PostMenuV4StationsMenusFetchResponse {
|
|
8359
8484
|
meta?: FetchMetaDTO;
|
|
8360
8485
|
results?: FetchStationWithMenusDTO[];
|
|
8361
8486
|
}
|
|
8362
|
-
export interface PostMenuV4StationsMenusFetchRequest extends BaseRequest
|
|
8487
|
+
export interface PostMenuV4StationsMenusFetchRequest extends BaseRequest {
|
|
8488
|
+
body: PostMenuV4StationsMenusFetchBody;
|
|
8363
8489
|
}
|
|
8364
|
-
export interface
|
|
8365
|
-
|
|
8490
|
+
export interface PostMenuV4StationItemsSearchBody {
|
|
8491
|
+
sites: FetchStationItemsSearchSiteRequestDTO[];
|
|
8492
|
+
searchTerm?: string;
|
|
8493
|
+
[index: string]: any;
|
|
8366
8494
|
}
|
|
8367
8495
|
export interface PostMenuV4StationItemsSearchResponse {
|
|
8368
8496
|
meta?: FetchMetaDTO;
|
|
8369
8497
|
results?: FetchSiteWithStationsDTO[];
|
|
8370
8498
|
}
|
|
8371
|
-
export interface PostMenuV4StationItemsSearchRequest extends BaseRequest
|
|
8499
|
+
export interface PostMenuV4StationItemsSearchRequest extends BaseRequest {
|
|
8500
|
+
body: PostMenuV4StationItemsSearchBody;
|
|
8372
8501
|
}
|
|
8373
8502
|
export interface GetMenuV3PingResponse {
|
|
8374
8503
|
status: string;
|