@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/src/interface/menu.ts
CHANGED
|
@@ -754,6 +754,7 @@ export interface DraftMenuDTO {
|
|
|
754
754
|
updated_at?: string;
|
|
755
755
|
deleted_at?: string;
|
|
756
756
|
parent_id?: string;
|
|
757
|
+
draft_parent_id?: string;
|
|
757
758
|
name?: string;
|
|
758
759
|
brand_id?: string;
|
|
759
760
|
translation?: NameTranslation;
|
|
@@ -780,6 +781,7 @@ export interface DraftCategoryDTO {
|
|
|
780
781
|
updated_at?: string;
|
|
781
782
|
deleted_at?: string;
|
|
782
783
|
parent_id?: string;
|
|
784
|
+
draft_parent_id?: string;
|
|
783
785
|
name?: string;
|
|
784
786
|
label?: string;
|
|
785
787
|
sequence?: number;
|
|
@@ -835,6 +837,7 @@ export interface DraftItemDTO {
|
|
|
835
837
|
updated_at?: string;
|
|
836
838
|
deleted_at?: string;
|
|
837
839
|
parent_id?: string;
|
|
840
|
+
draft_parent_id?: string;
|
|
838
841
|
name?: string;
|
|
839
842
|
name_on_receipt?: string;
|
|
840
843
|
name_on_kds?: string;
|
|
@@ -910,6 +913,7 @@ export interface DraftModifierGroupDTO {
|
|
|
910
913
|
updated_at?: string;
|
|
911
914
|
deleted_at?: string;
|
|
912
915
|
parent_id?: string;
|
|
916
|
+
draft_parent_id?: string;
|
|
913
917
|
name?: string;
|
|
914
918
|
label?: string;
|
|
915
919
|
min?: number;
|
|
@@ -963,6 +967,7 @@ export interface DraftModifierDTO {
|
|
|
963
967
|
updated_at?: string;
|
|
964
968
|
deleted_at?: string;
|
|
965
969
|
parent_id?: string;
|
|
970
|
+
draft_parent_id?: string;
|
|
966
971
|
name?: string;
|
|
967
972
|
name_on_receipt?: string;
|
|
968
973
|
name_on_kds?: string;
|
|
@@ -1411,6 +1416,7 @@ export interface PublishedMenuDTO {
|
|
|
1411
1416
|
updated_at?: string;
|
|
1412
1417
|
deleted_at?: string;
|
|
1413
1418
|
parent_id?: string;
|
|
1419
|
+
draft_parent_id?: string;
|
|
1414
1420
|
name?: string;
|
|
1415
1421
|
brand_id?: string;
|
|
1416
1422
|
translation?: NameTranslation;
|
|
@@ -1425,6 +1431,7 @@ export interface PublishedCategoryDTO {
|
|
|
1425
1431
|
updated_at?: string;
|
|
1426
1432
|
deleted_at?: string;
|
|
1427
1433
|
parent_id?: string;
|
|
1434
|
+
draft_parent_id?: string;
|
|
1428
1435
|
name?: string;
|
|
1429
1436
|
label?: string;
|
|
1430
1437
|
sequence?: number;
|
|
@@ -1459,6 +1466,7 @@ export interface PublishedItemDTO {
|
|
|
1459
1466
|
updated_at?: string;
|
|
1460
1467
|
deleted_at?: string;
|
|
1461
1468
|
parent_id?: string;
|
|
1469
|
+
draft_parent_id?: string;
|
|
1462
1470
|
name?: string;
|
|
1463
1471
|
name_on_receipt?: string;
|
|
1464
1472
|
name_on_kds?: string;
|
|
@@ -1511,6 +1519,7 @@ export interface PublishedModifierGroupDTO {
|
|
|
1511
1519
|
updated_at?: string;
|
|
1512
1520
|
deleted_at?: string;
|
|
1513
1521
|
parent_id?: string;
|
|
1522
|
+
draft_parent_id?: string;
|
|
1514
1523
|
name?: string;
|
|
1515
1524
|
label?: string;
|
|
1516
1525
|
min?: number;
|
|
@@ -1550,6 +1559,7 @@ export interface PublishedModifierDTO {
|
|
|
1550
1559
|
updated_at?: string;
|
|
1551
1560
|
deleted_at?: string;
|
|
1552
1561
|
parent_id?: string;
|
|
1562
|
+
draft_parent_id?: string;
|
|
1553
1563
|
name?: string;
|
|
1554
1564
|
name_on_receipt?: string;
|
|
1555
1565
|
name_on_kds?: string;
|
|
@@ -1833,6 +1843,7 @@ export interface DraftItemEntityDTO {
|
|
|
1833
1843
|
updated_at?: string;
|
|
1834
1844
|
deleted_at?: string;
|
|
1835
1845
|
parent_id?: string;
|
|
1846
|
+
draft_parent_id?: string;
|
|
1836
1847
|
name: string;
|
|
1837
1848
|
name_on_receipt?: string;
|
|
1838
1849
|
name_on_kds?: string;
|
|
@@ -1889,6 +1900,7 @@ export interface DraftModifierEntityDTO {
|
|
|
1889
1900
|
updated_at?: string;
|
|
1890
1901
|
deleted_at?: string;
|
|
1891
1902
|
parent_id?: string;
|
|
1903
|
+
draft_parent_id?: string;
|
|
1892
1904
|
name: string;
|
|
1893
1905
|
name_on_receipt?: string;
|
|
1894
1906
|
name_on_kds?: string;
|
|
@@ -1991,6 +2003,7 @@ export interface DraftModifierGroupEntityDTO {
|
|
|
1991
2003
|
updated_at?: string;
|
|
1992
2004
|
deleted_at?: string;
|
|
1993
2005
|
parent_id?: string;
|
|
2006
|
+
draft_parent_id?: string;
|
|
1994
2007
|
name: string;
|
|
1995
2008
|
label?: string;
|
|
1996
2009
|
min?: number;
|
|
@@ -2061,6 +2074,26 @@ export interface FetchCategoryDTO {
|
|
|
2061
2074
|
name?: string;
|
|
2062
2075
|
}
|
|
2063
2076
|
|
|
2077
|
+
export interface FetchBrandItemsMenuBrandRequestDTO {
|
|
2078
|
+
id: string;
|
|
2079
|
+
name: string;
|
|
2080
|
+
menus?: FetchBrandItemsMenuRequestDTO[];
|
|
2081
|
+
[index: string]: any;
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
export interface FetchBrandItemsMenuRequestDTO {
|
|
2085
|
+
id: string;
|
|
2086
|
+
name: string;
|
|
2087
|
+
categories?: FetchBrandItemsCategoryRequestDTO[];
|
|
2088
|
+
[index: string]: any;
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
export interface FetchBrandItemsCategoryRequestDTO {
|
|
2092
|
+
id: string;
|
|
2093
|
+
name: string;
|
|
2094
|
+
[index: string]: any;
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2064
2097
|
export interface FetchEntityWithMenusAndItemsDTO {
|
|
2065
2098
|
id?: string;
|
|
2066
2099
|
name?: string;
|
|
@@ -2093,6 +2126,7 @@ export interface PartialItemDTO {
|
|
|
2093
2126
|
cpg_item?: UniversalItemDTO;
|
|
2094
2127
|
stocks?: StockDTO[];
|
|
2095
2128
|
parent_id?: string;
|
|
2129
|
+
draft_parent_id?: string;
|
|
2096
2130
|
name?: string;
|
|
2097
2131
|
name_on_receipt?: string;
|
|
2098
2132
|
name_on_kds?: string;
|
|
@@ -2139,6 +2173,7 @@ export interface PartialModifierDTO {
|
|
|
2139
2173
|
children?: DraftModifierDTO[];
|
|
2140
2174
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
2141
2175
|
parent_id?: string;
|
|
2176
|
+
draft_parent_id?: string;
|
|
2142
2177
|
name?: string;
|
|
2143
2178
|
name_on_receipt?: string;
|
|
2144
2179
|
name_on_kds?: string;
|
|
@@ -2204,6 +2239,33 @@ export interface FetchStationCategoryDTO {
|
|
|
2204
2239
|
[index: string]: any;
|
|
2205
2240
|
}
|
|
2206
2241
|
|
|
2242
|
+
export interface FetchStationItemsSearchSiteRequestDTO {
|
|
2243
|
+
id: string;
|
|
2244
|
+
name: string;
|
|
2245
|
+
stations: FetchStationItemsSearchStationRequestDTO[];
|
|
2246
|
+
[index: string]: any;
|
|
2247
|
+
}
|
|
2248
|
+
|
|
2249
|
+
export interface FetchStationItemsSearchStationRequestDTO {
|
|
2250
|
+
id: string;
|
|
2251
|
+
name: string;
|
|
2252
|
+
menus: FetchStationItemsSearchMenuRequestDTO[];
|
|
2253
|
+
[index: string]: any;
|
|
2254
|
+
}
|
|
2255
|
+
|
|
2256
|
+
export interface FetchStationItemsSearchMenuRequestDTO {
|
|
2257
|
+
id: string;
|
|
2258
|
+
name: string;
|
|
2259
|
+
categories?: FetchStationItemsSearchCategoryRequestDTO[];
|
|
2260
|
+
[index: string]: any;
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
export interface FetchStationItemsSearchCategoryRequestDTO {
|
|
2264
|
+
id: string;
|
|
2265
|
+
name: string;
|
|
2266
|
+
[index: string]: any;
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2207
2269
|
export interface FetchSiteWithStationsDTO {
|
|
2208
2270
|
id?: string;
|
|
2209
2271
|
name?: string;
|
|
@@ -4650,6 +4712,7 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
4650
4712
|
station_id?: string;
|
|
4651
4713
|
price_level_id?: string;
|
|
4652
4714
|
parent_id?: string;
|
|
4715
|
+
draft_parent_id?: string;
|
|
4653
4716
|
name: string;
|
|
4654
4717
|
brand_id: string;
|
|
4655
4718
|
translation?: NameTranslation;
|
|
@@ -4704,6 +4767,7 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
4704
4767
|
price_level_id?: string;
|
|
4705
4768
|
id?: string;
|
|
4706
4769
|
parent_id?: string;
|
|
4770
|
+
draft_parent_id?: string;
|
|
4707
4771
|
name?: string;
|
|
4708
4772
|
brand_id?: string;
|
|
4709
4773
|
translation?: NameTranslation;
|
|
@@ -4780,6 +4844,7 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
4780
4844
|
station_id?: string;
|
|
4781
4845
|
price_level_id?: string;
|
|
4782
4846
|
parent_id?: string;
|
|
4847
|
+
draft_parent_id?: string;
|
|
4783
4848
|
name: string;
|
|
4784
4849
|
brand_id: string;
|
|
4785
4850
|
translation?: NameTranslation;
|
|
@@ -4917,6 +4982,7 @@ export interface PostMenuV3DraftMenuDuplicateResponse {
|
|
|
4917
4982
|
updated_at?: string;
|
|
4918
4983
|
deleted_at?: string;
|
|
4919
4984
|
parent_id?: string;
|
|
4985
|
+
draft_parent_id?: string;
|
|
4920
4986
|
name: string;
|
|
4921
4987
|
brand_id: string;
|
|
4922
4988
|
translation?: NameTranslation;
|
|
@@ -5111,6 +5177,7 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
5111
5177
|
parent?: DraftCategoryDTO;
|
|
5112
5178
|
children?: DraftCategoryDTO[];
|
|
5113
5179
|
parent_id?: string;
|
|
5180
|
+
draft_parent_id?: string;
|
|
5114
5181
|
name: string;
|
|
5115
5182
|
label?: string;
|
|
5116
5183
|
sequence?: number;
|
|
@@ -5167,6 +5234,7 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
5167
5234
|
children?: DraftCategoryDTO[];
|
|
5168
5235
|
id?: string;
|
|
5169
5236
|
parent_id?: string;
|
|
5237
|
+
draft_parent_id?: string;
|
|
5170
5238
|
name?: string;
|
|
5171
5239
|
label?: string;
|
|
5172
5240
|
sequence?: number;
|
|
@@ -5232,6 +5300,7 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
5232
5300
|
parent?: DraftCategoryDTO;
|
|
5233
5301
|
children?: DraftCategoryDTO[];
|
|
5234
5302
|
parent_id?: string;
|
|
5303
|
+
draft_parent_id?: string;
|
|
5235
5304
|
name: string;
|
|
5236
5305
|
label?: string;
|
|
5237
5306
|
sequence?: number;
|
|
@@ -5317,6 +5386,7 @@ export interface PostMenuV3DraftCategoryDuplicateResponse {
|
|
|
5317
5386
|
updated_at?: string;
|
|
5318
5387
|
deleted_at?: string;
|
|
5319
5388
|
parent_id?: string;
|
|
5389
|
+
draft_parent_id?: string;
|
|
5320
5390
|
name: string;
|
|
5321
5391
|
label?: string;
|
|
5322
5392
|
sequence?: number;
|
|
@@ -5712,6 +5782,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
5712
5782
|
cpg_item?: UniversalItemDTO;
|
|
5713
5783
|
stocks?: StockDTO[];
|
|
5714
5784
|
parent_id?: string;
|
|
5785
|
+
draft_parent_id?: string;
|
|
5715
5786
|
name: string;
|
|
5716
5787
|
name_on_receipt?: string;
|
|
5717
5788
|
name_on_kds?: string;
|
|
@@ -5794,6 +5865,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
5794
5865
|
stocks?: StockDTO[];
|
|
5795
5866
|
id?: string;
|
|
5796
5867
|
parent_id?: string;
|
|
5868
|
+
draft_parent_id?: string;
|
|
5797
5869
|
name?: string;
|
|
5798
5870
|
name_on_receipt?: string;
|
|
5799
5871
|
name_on_kds?: string;
|
|
@@ -5915,6 +5987,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
5915
5987
|
cpg_item?: UniversalItemDTO;
|
|
5916
5988
|
stocks?: StockDTO[];
|
|
5917
5989
|
parent_id?: string;
|
|
5990
|
+
draft_parent_id?: string;
|
|
5918
5991
|
name: string;
|
|
5919
5992
|
name_on_receipt?: string;
|
|
5920
5993
|
name_on_kds?: string;
|
|
@@ -6025,6 +6098,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
6025
6098
|
stocks?: StockDTO[];
|
|
6026
6099
|
id?: string;
|
|
6027
6100
|
parent_id?: string;
|
|
6101
|
+
draft_parent_id?: string;
|
|
6028
6102
|
name?: string;
|
|
6029
6103
|
name_on_receipt?: string;
|
|
6030
6104
|
name_on_kds?: string;
|
|
@@ -6512,6 +6586,7 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
6512
6586
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
6513
6587
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
6514
6588
|
parent_id?: string;
|
|
6589
|
+
draft_parent_id?: string;
|
|
6515
6590
|
name: string;
|
|
6516
6591
|
label?: string;
|
|
6517
6592
|
min?: number;
|
|
@@ -6571,6 +6646,7 @@ export interface PatchMenuV3DraftModifierGroupBody {
|
|
|
6571
6646
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
6572
6647
|
id?: string;
|
|
6573
6648
|
parent_id?: string;
|
|
6649
|
+
draft_parent_id?: string;
|
|
6574
6650
|
name?: string;
|
|
6575
6651
|
label?: string;
|
|
6576
6652
|
min?: number;
|
|
@@ -6654,6 +6730,7 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
6654
6730
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
6655
6731
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
6656
6732
|
parent_id?: string;
|
|
6733
|
+
draft_parent_id?: string;
|
|
6657
6734
|
name: string;
|
|
6658
6735
|
label?: string;
|
|
6659
6736
|
min?: number;
|
|
@@ -6732,6 +6809,7 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
6732
6809
|
updated_at?: string;
|
|
6733
6810
|
deleted_at?: string;
|
|
6734
6811
|
parent_id?: string;
|
|
6812
|
+
draft_parent_id?: string;
|
|
6735
6813
|
name: string;
|
|
6736
6814
|
label?: string;
|
|
6737
6815
|
min?: number;
|
|
@@ -7126,6 +7204,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
7126
7204
|
children?: DraftModifierDTO[];
|
|
7127
7205
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
7128
7206
|
parent_id?: string;
|
|
7207
|
+
draft_parent_id?: string;
|
|
7129
7208
|
name: string;
|
|
7130
7209
|
name_on_receipt?: string;
|
|
7131
7210
|
name_on_kds?: string;
|
|
@@ -7203,6 +7282,7 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
7203
7282
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
7204
7283
|
id?: string;
|
|
7205
7284
|
parent_id?: string;
|
|
7285
|
+
draft_parent_id?: string;
|
|
7206
7286
|
name?: string;
|
|
7207
7287
|
name_on_receipt?: string;
|
|
7208
7288
|
name_on_kds?: string;
|
|
@@ -7319,6 +7399,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
7319
7399
|
children?: DraftModifierDTO[];
|
|
7320
7400
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
7321
7401
|
parent_id?: string;
|
|
7402
|
+
draft_parent_id?: string;
|
|
7322
7403
|
name: string;
|
|
7323
7404
|
name_on_receipt?: string;
|
|
7324
7405
|
name_on_kds?: string;
|
|
@@ -7424,6 +7505,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
7424
7505
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
7425
7506
|
id?: string;
|
|
7426
7507
|
parent_id?: string;
|
|
7508
|
+
draft_parent_id?: string;
|
|
7427
7509
|
name?: string;
|
|
7428
7510
|
name_on_receipt?: string;
|
|
7429
7511
|
name_on_kds?: string;
|
|
@@ -8169,6 +8251,7 @@ export interface PostMenuV4BrandMenuBody {
|
|
|
8169
8251
|
station_id?: string;
|
|
8170
8252
|
price_level_id?: string;
|
|
8171
8253
|
parent_id?: string;
|
|
8254
|
+
draft_parent_id?: string;
|
|
8172
8255
|
name: string;
|
|
8173
8256
|
brand_id: string;
|
|
8174
8257
|
translation?: NameTranslation;
|
|
@@ -8194,6 +8277,7 @@ export interface PostMenuV4BrandMenuResponse {
|
|
|
8194
8277
|
updated_at?: string;
|
|
8195
8278
|
deleted_at?: string;
|
|
8196
8279
|
parent_id?: string;
|
|
8280
|
+
draft_parent_id?: string;
|
|
8197
8281
|
name: string;
|
|
8198
8282
|
brand_id: string;
|
|
8199
8283
|
translation?: NameTranslation;
|
|
@@ -8228,6 +8312,7 @@ export interface PatchMenuV4BrandMenuBody {
|
|
|
8228
8312
|
price_level_id?: string;
|
|
8229
8313
|
id?: string;
|
|
8230
8314
|
parent_id?: string;
|
|
8315
|
+
draft_parent_id?: string;
|
|
8231
8316
|
name?: string;
|
|
8232
8317
|
brand_id?: string;
|
|
8233
8318
|
translation?: NameTranslation;
|
|
@@ -8254,6 +8339,7 @@ export interface PatchMenuV4BrandMenuResponse {
|
|
|
8254
8339
|
updated_at?: string;
|
|
8255
8340
|
deleted_at?: string;
|
|
8256
8341
|
parent_id?: string;
|
|
8342
|
+
draft_parent_id?: string;
|
|
8257
8343
|
name: string;
|
|
8258
8344
|
brand_id: string;
|
|
8259
8345
|
translation?: NameTranslation;
|
|
@@ -8291,6 +8377,7 @@ export interface DeleteMenuV4BrandMenuResponse {
|
|
|
8291
8377
|
updated_at?: string;
|
|
8292
8378
|
deleted_at?: string;
|
|
8293
8379
|
parent_id?: string;
|
|
8380
|
+
draft_parent_id?: string;
|
|
8294
8381
|
name: string;
|
|
8295
8382
|
brand_id: string;
|
|
8296
8383
|
translation?: NameTranslation;
|
|
@@ -8450,6 +8537,7 @@ export interface PostMenuV4BrandCategoryBody {
|
|
|
8450
8537
|
parent?: DraftCategoryDTO;
|
|
8451
8538
|
children?: DraftCategoryDTO[];
|
|
8452
8539
|
parent_id?: string;
|
|
8540
|
+
draft_parent_id?: string;
|
|
8453
8541
|
name: string;
|
|
8454
8542
|
label?: string;
|
|
8455
8543
|
sequence?: number;
|
|
@@ -8477,6 +8565,7 @@ export interface PostMenuV4BrandCategoryResponse {
|
|
|
8477
8565
|
updated_at?: string;
|
|
8478
8566
|
deleted_at?: string;
|
|
8479
8567
|
parent_id?: string;
|
|
8568
|
+
draft_parent_id?: string;
|
|
8480
8569
|
name: string;
|
|
8481
8570
|
label?: string;
|
|
8482
8571
|
sequence?: number;
|
|
@@ -8513,6 +8602,7 @@ export interface PatchMenuV4BrandCategoryBody {
|
|
|
8513
8602
|
children?: DraftCategoryDTO[];
|
|
8514
8603
|
id?: string;
|
|
8515
8604
|
parent_id?: string;
|
|
8605
|
+
draft_parent_id?: string;
|
|
8516
8606
|
name?: string;
|
|
8517
8607
|
label?: string;
|
|
8518
8608
|
sequence?: number;
|
|
@@ -8541,6 +8631,7 @@ export interface PatchMenuV4BrandCategoryResponse {
|
|
|
8541
8631
|
updated_at?: string;
|
|
8542
8632
|
deleted_at?: string;
|
|
8543
8633
|
parent_id?: string;
|
|
8634
|
+
draft_parent_id?: string;
|
|
8544
8635
|
name: string;
|
|
8545
8636
|
label?: string;
|
|
8546
8637
|
sequence?: number;
|
|
@@ -8580,6 +8671,7 @@ export interface DeleteMenuV4BrandCategoryResponse {
|
|
|
8580
8671
|
updated_at?: string;
|
|
8581
8672
|
deleted_at?: string;
|
|
8582
8673
|
parent_id?: string;
|
|
8674
|
+
draft_parent_id?: string;
|
|
8583
8675
|
name: string;
|
|
8584
8676
|
label?: string;
|
|
8585
8677
|
sequence?: number;
|
|
@@ -8706,6 +8798,7 @@ export interface PostMenuV4BrandCategoryDuplicateBody {
|
|
|
8706
8798
|
children?: DraftCategoryDTO[];
|
|
8707
8799
|
id?: string;
|
|
8708
8800
|
parent_id?: string;
|
|
8801
|
+
draft_parent_id?: string;
|
|
8709
8802
|
name?: string;
|
|
8710
8803
|
label?: string;
|
|
8711
8804
|
sequence?: number;
|
|
@@ -8734,6 +8827,7 @@ export interface PostMenuV4BrandCategoryDuplicateResponse {
|
|
|
8734
8827
|
updated_at?: string;
|
|
8735
8828
|
deleted_at?: string;
|
|
8736
8829
|
parent_id?: string;
|
|
8830
|
+
draft_parent_id?: string;
|
|
8737
8831
|
name: string;
|
|
8738
8832
|
label?: string;
|
|
8739
8833
|
sequence?: number;
|
|
@@ -8776,6 +8870,7 @@ export interface PostMenuV4BrandMenuDuplicateBody {
|
|
|
8776
8870
|
price_level_id?: string;
|
|
8777
8871
|
id?: string;
|
|
8778
8872
|
parent_id?: string;
|
|
8873
|
+
draft_parent_id?: string;
|
|
8779
8874
|
name?: string;
|
|
8780
8875
|
brand_id?: string;
|
|
8781
8876
|
translation?: NameTranslation;
|
|
@@ -8802,6 +8897,7 @@ export interface PostMenuV4BrandMenuDuplicateResponse {
|
|
|
8802
8897
|
updated_at?: string;
|
|
8803
8898
|
deleted_at?: string;
|
|
8804
8899
|
parent_id?: string;
|
|
8900
|
+
draft_parent_id?: string;
|
|
8805
8901
|
name: string;
|
|
8806
8902
|
brand_id: string;
|
|
8807
8903
|
translation?: NameTranslation;
|
|
@@ -8844,8 +8940,9 @@ export interface GetMenuV4BrandExportRequest
|
|
|
8844
8940
|
|
|
8845
8941
|
// POST /menu/v4/brands/fetch
|
|
8846
8942
|
|
|
8847
|
-
export interface
|
|
8848
|
-
|
|
8943
|
+
export interface PostMenuV4BrandsFetchBody {
|
|
8944
|
+
brand_ids: string[];
|
|
8945
|
+
[index: string]: any;
|
|
8849
8946
|
}
|
|
8850
8947
|
|
|
8851
8948
|
export interface PostMenuV4BrandsFetchResponse {
|
|
@@ -8853,14 +8950,16 @@ export interface PostMenuV4BrandsFetchResponse {
|
|
|
8853
8950
|
results?: FetchEntityWithMenusDTO[];
|
|
8854
8951
|
}
|
|
8855
8952
|
|
|
8856
|
-
export interface PostMenuV4BrandsFetchRequest
|
|
8857
|
-
|
|
8858
|
-
|
|
8953
|
+
export interface PostMenuV4BrandsFetchRequest extends BaseRequest {
|
|
8954
|
+
body: PostMenuV4BrandsFetchBody;
|
|
8955
|
+
}
|
|
8859
8956
|
|
|
8860
8957
|
// POST /menu/v4/brand/items/search
|
|
8861
8958
|
|
|
8862
|
-
export interface
|
|
8863
|
-
|
|
8959
|
+
export interface PostMenuV4BrandItemsSearchBody {
|
|
8960
|
+
menuBrands: FetchBrandItemsMenuBrandRequestDTO[];
|
|
8961
|
+
searchTerm?: string;
|
|
8962
|
+
[index: string]: any;
|
|
8864
8963
|
}
|
|
8865
8964
|
|
|
8866
8965
|
export interface PostMenuV4BrandItemsSearchResponse {
|
|
@@ -8868,9 +8967,9 @@ export interface PostMenuV4BrandItemsSearchResponse {
|
|
|
8868
8967
|
results?: FetchEntityWithMenusAndItemsDTO[];
|
|
8869
8968
|
}
|
|
8870
8969
|
|
|
8871
|
-
export interface PostMenuV4BrandItemsSearchRequest
|
|
8872
|
-
|
|
8873
|
-
|
|
8970
|
+
export interface PostMenuV4BrandItemsSearchRequest extends BaseRequest {
|
|
8971
|
+
body: PostMenuV4BrandItemsSearchBody;
|
|
8972
|
+
}
|
|
8874
8973
|
|
|
8875
8974
|
// POST /menu/v4/item/{id}/attachment/{name}
|
|
8876
8975
|
|
|
@@ -8902,6 +9001,7 @@ export interface PostMenuV4ItemBody {
|
|
|
8902
9001
|
cpg_item?: UniversalItemDTO;
|
|
8903
9002
|
stocks?: StockDTO[];
|
|
8904
9003
|
parent_id?: string;
|
|
9004
|
+
draft_parent_id?: string;
|
|
8905
9005
|
name: string;
|
|
8906
9006
|
name_on_receipt?: string;
|
|
8907
9007
|
name_on_kds?: string;
|
|
@@ -8956,6 +9056,7 @@ export interface PostMenuV4ItemResponse {
|
|
|
8956
9056
|
updated_at?: string;
|
|
8957
9057
|
deleted_at?: string;
|
|
8958
9058
|
parent_id?: string;
|
|
9059
|
+
draft_parent_id?: string;
|
|
8959
9060
|
name: string;
|
|
8960
9061
|
name_on_receipt?: string;
|
|
8961
9062
|
name_on_kds?: string;
|
|
@@ -9012,6 +9113,7 @@ export type PostMenuV4ItemsBulkCreateBody = {
|
|
|
9012
9113
|
cpg_item?: UniversalItemDTO;
|
|
9013
9114
|
stocks?: StockDTO[];
|
|
9014
9115
|
parent_id?: string;
|
|
9116
|
+
draft_parent_id?: string;
|
|
9015
9117
|
name: string;
|
|
9016
9118
|
name_on_receipt?: string;
|
|
9017
9119
|
name_on_kds?: string;
|
|
@@ -9085,6 +9187,7 @@ export interface GetMenuV4ItemResponse {
|
|
|
9085
9187
|
updated_at?: string;
|
|
9086
9188
|
deleted_at?: string;
|
|
9087
9189
|
parent_id?: string;
|
|
9190
|
+
draft_parent_id?: string;
|
|
9088
9191
|
name: string;
|
|
9089
9192
|
name_on_receipt?: string;
|
|
9090
9193
|
name_on_kds?: string;
|
|
@@ -9147,6 +9250,7 @@ export interface PatchMenuV4ItemBody {
|
|
|
9147
9250
|
cpg_item?: UniversalItemDTO;
|
|
9148
9251
|
stocks?: StockDTO[];
|
|
9149
9252
|
parent_id?: string;
|
|
9253
|
+
draft_parent_id?: string;
|
|
9150
9254
|
name?: string;
|
|
9151
9255
|
name_on_receipt?: string;
|
|
9152
9256
|
name_on_kds?: string;
|
|
@@ -9200,6 +9304,7 @@ export interface PatchMenuV4ItemResponse {
|
|
|
9200
9304
|
updated_at?: string;
|
|
9201
9305
|
deleted_at?: string;
|
|
9202
9306
|
parent_id?: string;
|
|
9307
|
+
draft_parent_id?: string;
|
|
9203
9308
|
name: string;
|
|
9204
9309
|
name_on_receipt?: string;
|
|
9205
9310
|
name_on_kds?: string;
|
|
@@ -9264,6 +9369,7 @@ export interface DeleteMenuV4ItemResponse {
|
|
|
9264
9369
|
updated_at?: string;
|
|
9265
9370
|
deleted_at?: string;
|
|
9266
9371
|
parent_id?: string;
|
|
9372
|
+
draft_parent_id?: string;
|
|
9267
9373
|
name: string;
|
|
9268
9374
|
name_on_receipt?: string;
|
|
9269
9375
|
name_on_kds?: string;
|
|
@@ -9320,6 +9426,7 @@ export interface PatchMenuV4ItemsBulkUpdateBody {
|
|
|
9320
9426
|
stocks?: StockDTO[];
|
|
9321
9427
|
id?: string;
|
|
9322
9428
|
parent_id?: string;
|
|
9429
|
+
draft_parent_id?: string;
|
|
9323
9430
|
name?: string;
|
|
9324
9431
|
name_on_receipt?: string;
|
|
9325
9432
|
name_on_kds?: string;
|
|
@@ -9383,6 +9490,7 @@ export interface PatchMenuV4ItemsBulkPriceUpdateBody {
|
|
|
9383
9490
|
stocks?: StockDTO[];
|
|
9384
9491
|
id?: string;
|
|
9385
9492
|
parent_id?: string;
|
|
9493
|
+
draft_parent_id?: string;
|
|
9386
9494
|
name?: string;
|
|
9387
9495
|
name_on_receipt?: string;
|
|
9388
9496
|
name_on_kds?: string;
|
|
@@ -9456,6 +9564,7 @@ export interface PostMenuV4ItemDuplicateResponse {
|
|
|
9456
9564
|
updated_at?: string;
|
|
9457
9565
|
deleted_at?: string;
|
|
9458
9566
|
parent_id?: string;
|
|
9567
|
+
draft_parent_id?: string;
|
|
9459
9568
|
name: string;
|
|
9460
9569
|
name_on_receipt?: string;
|
|
9461
9570
|
name_on_kds?: string;
|
|
@@ -9599,6 +9708,7 @@ export interface PostMenuV4ModifierBody {
|
|
|
9599
9708
|
children?: DraftModifierDTO[];
|
|
9600
9709
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
9601
9710
|
parent_id?: string;
|
|
9711
|
+
draft_parent_id?: string;
|
|
9602
9712
|
name: string;
|
|
9603
9713
|
name_on_receipt?: string;
|
|
9604
9714
|
name_on_kds?: string;
|
|
@@ -9647,6 +9757,7 @@ export interface PostMenuV4ModifierResponse {
|
|
|
9647
9757
|
updated_at?: string;
|
|
9648
9758
|
deleted_at?: string;
|
|
9649
9759
|
parent_id?: string;
|
|
9760
|
+
draft_parent_id?: string;
|
|
9650
9761
|
name: string;
|
|
9651
9762
|
name_on_receipt?: string;
|
|
9652
9763
|
name_on_kds?: string;
|
|
@@ -9710,6 +9821,7 @@ export interface GetMenuV4ModifierResponse {
|
|
|
9710
9821
|
updated_at?: string;
|
|
9711
9822
|
deleted_at?: string;
|
|
9712
9823
|
parent_id?: string;
|
|
9824
|
+
draft_parent_id?: string;
|
|
9713
9825
|
name: string;
|
|
9714
9826
|
name_on_receipt?: string;
|
|
9715
9827
|
name_on_kds?: string;
|
|
@@ -9766,6 +9878,7 @@ export interface PatchMenuV4ModifierBody {
|
|
|
9766
9878
|
children?: DraftModifierDTO[];
|
|
9767
9879
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
9768
9880
|
parent_id?: string;
|
|
9881
|
+
draft_parent_id?: string;
|
|
9769
9882
|
name?: string;
|
|
9770
9883
|
name_on_receipt?: string;
|
|
9771
9884
|
name_on_kds?: string;
|
|
@@ -9814,6 +9927,7 @@ export interface PatchMenuV4ModifierResponse {
|
|
|
9814
9927
|
updated_at?: string;
|
|
9815
9928
|
deleted_at?: string;
|
|
9816
9929
|
parent_id?: string;
|
|
9930
|
+
draft_parent_id?: string;
|
|
9817
9931
|
name: string;
|
|
9818
9932
|
name_on_receipt?: string;
|
|
9819
9933
|
name_on_kds?: string;
|
|
@@ -9873,6 +9987,7 @@ export interface DeleteMenuV4ModifierResponse {
|
|
|
9873
9987
|
updated_at?: string;
|
|
9874
9988
|
deleted_at?: string;
|
|
9875
9989
|
parent_id?: string;
|
|
9990
|
+
draft_parent_id?: string;
|
|
9876
9991
|
name: string;
|
|
9877
9992
|
name_on_receipt?: string;
|
|
9878
9993
|
name_on_kds?: string;
|
|
@@ -9936,6 +10051,7 @@ export interface PostMenuV4ModifierDuplicateResponse {
|
|
|
9936
10051
|
updated_at?: string;
|
|
9937
10052
|
deleted_at?: string;
|
|
9938
10053
|
parent_id?: string;
|
|
10054
|
+
draft_parent_id?: string;
|
|
9939
10055
|
name: string;
|
|
9940
10056
|
name_on_receipt?: string;
|
|
9941
10057
|
name_on_kds?: string;
|
|
@@ -9991,6 +10107,7 @@ export interface PatchMenuV4ModifiersBulkUpdateBody {
|
|
|
9991
10107
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
9992
10108
|
id?: string;
|
|
9993
10109
|
parent_id?: string;
|
|
10110
|
+
draft_parent_id?: string;
|
|
9994
10111
|
name?: string;
|
|
9995
10112
|
name_on_receipt?: string;
|
|
9996
10113
|
name_on_kds?: string;
|
|
@@ -10082,6 +10199,7 @@ export interface PostMenuV4ModifierGroupBody {
|
|
|
10082
10199
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
10083
10200
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
10084
10201
|
parent_id?: string;
|
|
10202
|
+
draft_parent_id?: string;
|
|
10085
10203
|
name: string;
|
|
10086
10204
|
label?: string;
|
|
10087
10205
|
min?: number;
|
|
@@ -10112,6 +10230,7 @@ export interface PostMenuV4ModifierGroupResponse {
|
|
|
10112
10230
|
updated_at?: string;
|
|
10113
10231
|
deleted_at?: string;
|
|
10114
10232
|
parent_id?: string;
|
|
10233
|
+
draft_parent_id?: string;
|
|
10115
10234
|
name: string;
|
|
10116
10235
|
label?: string;
|
|
10117
10236
|
min?: number;
|
|
@@ -10157,6 +10276,7 @@ export interface GetMenuV4ModifierGroupResponse {
|
|
|
10157
10276
|
updated_at?: string;
|
|
10158
10277
|
deleted_at?: string;
|
|
10159
10278
|
parent_id?: string;
|
|
10279
|
+
draft_parent_id?: string;
|
|
10160
10280
|
name: string;
|
|
10161
10281
|
label?: string;
|
|
10162
10282
|
min?: number;
|
|
@@ -10195,6 +10315,7 @@ export interface PatchMenuV4ModifierGroupBody {
|
|
|
10195
10315
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
10196
10316
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
10197
10317
|
parent_id?: string;
|
|
10318
|
+
draft_parent_id?: string;
|
|
10198
10319
|
name?: string;
|
|
10199
10320
|
label?: string;
|
|
10200
10321
|
min?: number;
|
|
@@ -10225,6 +10346,7 @@ export interface PatchMenuV4ModifierGroupResponse {
|
|
|
10225
10346
|
updated_at?: string;
|
|
10226
10347
|
deleted_at?: string;
|
|
10227
10348
|
parent_id?: string;
|
|
10349
|
+
draft_parent_id?: string;
|
|
10228
10350
|
name: string;
|
|
10229
10351
|
label?: string;
|
|
10230
10352
|
min?: number;
|
|
@@ -10266,6 +10388,7 @@ export interface DeleteMenuV4ModifierGroupResponse {
|
|
|
10266
10388
|
updated_at?: string;
|
|
10267
10389
|
deleted_at?: string;
|
|
10268
10390
|
parent_id?: string;
|
|
10391
|
+
draft_parent_id?: string;
|
|
10269
10392
|
name: string;
|
|
10270
10393
|
label?: string;
|
|
10271
10394
|
min?: number;
|
|
@@ -10341,6 +10464,7 @@ export interface PostMenuV4ModifierGroupDuplicateBody {
|
|
|
10341
10464
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
10342
10465
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
10343
10466
|
parent_id?: string;
|
|
10467
|
+
draft_parent_id?: string;
|
|
10344
10468
|
name?: string;
|
|
10345
10469
|
label?: string;
|
|
10346
10470
|
min?: number;
|
|
@@ -10371,6 +10495,7 @@ export interface PostMenuV4ModifierGroupDuplicateResponse {
|
|
|
10371
10495
|
updated_at?: string;
|
|
10372
10496
|
deleted_at?: string;
|
|
10373
10497
|
parent_id?: string;
|
|
10498
|
+
draft_parent_id?: string;
|
|
10374
10499
|
name: string;
|
|
10375
10500
|
label?: string;
|
|
10376
10501
|
min?: number;
|
|
@@ -10653,6 +10778,7 @@ export interface PostMenuV4ScheduleMenuResponse {
|
|
|
10653
10778
|
updated_at?: string;
|
|
10654
10779
|
deleted_at?: string;
|
|
10655
10780
|
parent_id?: string;
|
|
10781
|
+
draft_parent_id?: string;
|
|
10656
10782
|
name: string;
|
|
10657
10783
|
brand_id: string;
|
|
10658
10784
|
translation?: NameTranslation;
|
|
@@ -10691,6 +10817,7 @@ export interface PostMenuV4UnscheduleMenuResponse {
|
|
|
10691
10817
|
updated_at?: string;
|
|
10692
10818
|
deleted_at?: string;
|
|
10693
10819
|
parent_id?: string;
|
|
10820
|
+
draft_parent_id?: string;
|
|
10694
10821
|
name: string;
|
|
10695
10822
|
brand_id: string;
|
|
10696
10823
|
translation?: NameTranslation;
|
|
@@ -10731,6 +10858,7 @@ export interface GetMenuV4MenuResponse {
|
|
|
10731
10858
|
updated_at?: string;
|
|
10732
10859
|
deleted_at?: string;
|
|
10733
10860
|
parent_id?: string;
|
|
10861
|
+
draft_parent_id?: string;
|
|
10734
10862
|
name: string;
|
|
10735
10863
|
brand_id?: string;
|
|
10736
10864
|
translation?: NameTranslation;
|
|
@@ -10811,6 +10939,7 @@ export interface GetMenuV4CategoryResponse {
|
|
|
10811
10939
|
updated_at?: string;
|
|
10812
10940
|
deleted_at?: string;
|
|
10813
10941
|
parent_id?: string;
|
|
10942
|
+
draft_parent_id?: string;
|
|
10814
10943
|
name: string;
|
|
10815
10944
|
label?: string;
|
|
10816
10945
|
sequence?: number;
|
|
@@ -10931,8 +11060,9 @@ export interface GetMenuV4CategoryAttachableItemsRequest
|
|
|
10931
11060
|
|
|
10932
11061
|
// POST /menu/v4/stations/menus/fetch
|
|
10933
11062
|
|
|
10934
|
-
export interface
|
|
10935
|
-
|
|
11063
|
+
export interface PostMenuV4StationsMenusFetchBody {
|
|
11064
|
+
station_ids: string[];
|
|
11065
|
+
[index: string]: any;
|
|
10936
11066
|
}
|
|
10937
11067
|
|
|
10938
11068
|
export interface PostMenuV4StationsMenusFetchResponse {
|
|
@@ -10940,14 +11070,16 @@ export interface PostMenuV4StationsMenusFetchResponse {
|
|
|
10940
11070
|
results?: FetchStationWithMenusDTO[];
|
|
10941
11071
|
}
|
|
10942
11072
|
|
|
10943
|
-
export interface PostMenuV4StationsMenusFetchRequest
|
|
10944
|
-
|
|
10945
|
-
|
|
11073
|
+
export interface PostMenuV4StationsMenusFetchRequest extends BaseRequest {
|
|
11074
|
+
body: PostMenuV4StationsMenusFetchBody;
|
|
11075
|
+
}
|
|
10946
11076
|
|
|
10947
11077
|
// POST /menu/v4/station/items/search
|
|
10948
11078
|
|
|
10949
|
-
export interface
|
|
10950
|
-
|
|
11079
|
+
export interface PostMenuV4StationItemsSearchBody {
|
|
11080
|
+
sites: FetchStationItemsSearchSiteRequestDTO[];
|
|
11081
|
+
searchTerm?: string;
|
|
11082
|
+
[index: string]: any;
|
|
10951
11083
|
}
|
|
10952
11084
|
|
|
10953
11085
|
export interface PostMenuV4StationItemsSearchResponse {
|
|
@@ -10955,9 +11087,9 @@ export interface PostMenuV4StationItemsSearchResponse {
|
|
|
10955
11087
|
results?: FetchSiteWithStationsDTO[];
|
|
10956
11088
|
}
|
|
10957
11089
|
|
|
10958
|
-
export interface PostMenuV4StationItemsSearchRequest
|
|
10959
|
-
|
|
10960
|
-
|
|
11090
|
+
export interface PostMenuV4StationItemsSearchRequest extends BaseRequest {
|
|
11091
|
+
body: PostMenuV4StationItemsSearchBody;
|
|
11092
|
+
}
|
|
10961
11093
|
|
|
10962
11094
|
// GET /menu/v3/ping
|
|
10963
11095
|
|