@compassdigital/sdk.typescript 4.59.0 → 4.61.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 +231 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +259 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/mealplan.d.ts +1 -0
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +340 -22
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +2 -0
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +651 -1
- package/src/interface/mealplan.ts +2 -0
- package/src/interface/menu.ts +574 -40
- package/src/interface/shoppingcart.ts +2 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -251,6 +251,7 @@ export interface Option {
|
|
|
251
251
|
out_of_stock?: boolean;
|
|
252
252
|
};
|
|
253
253
|
amount_off_exclusions?: AmountOffExclusionTypes[];
|
|
254
|
+
line_route?: string;
|
|
254
255
|
}
|
|
255
256
|
export interface OptionsGroup {
|
|
256
257
|
id?: string;
|
|
@@ -424,6 +425,7 @@ export interface FilterFieldDTO {
|
|
|
424
425
|
$between?: string[];
|
|
425
426
|
$not?: string;
|
|
426
427
|
$in?: string[];
|
|
428
|
+
$and?: Record<string, any>[];
|
|
427
429
|
$array_contains?: string[];
|
|
428
430
|
$contains?: string;
|
|
429
431
|
}
|
|
@@ -642,6 +644,7 @@ export interface DraftModifierDTO {
|
|
|
642
644
|
reporting?: ReportingMetadataDTO;
|
|
643
645
|
posid_segment?: string;
|
|
644
646
|
brand_id?: string;
|
|
647
|
+
line_route?: string;
|
|
645
648
|
menu_works?: MenuWorksDTO;
|
|
646
649
|
is_out_of_stock?: boolean;
|
|
647
650
|
price_for_none?: number;
|
|
@@ -797,6 +800,12 @@ export interface SiteGroupDTO {
|
|
|
797
800
|
updated_at?: string;
|
|
798
801
|
[index: string]: any;
|
|
799
802
|
}
|
|
803
|
+
export interface ExportSolutionDTO {
|
|
804
|
+
id: string;
|
|
805
|
+
name: string;
|
|
806
|
+
format: string[];
|
|
807
|
+
[index: string]: any;
|
|
808
|
+
}
|
|
800
809
|
export interface AuditListDraftItemDTO {
|
|
801
810
|
process_id: string;
|
|
802
811
|
brand_id: string;
|
|
@@ -980,6 +989,7 @@ export interface PublishedModifierDTO {
|
|
|
980
989
|
posid?: string;
|
|
981
990
|
posid_segment?: string;
|
|
982
991
|
brand_id?: string;
|
|
992
|
+
line_route?: string;
|
|
983
993
|
is_out_of_stock?: boolean;
|
|
984
994
|
price_for_none?: number;
|
|
985
995
|
price_for_less?: number;
|
|
@@ -1272,6 +1282,7 @@ export interface DraftModifierEntityDTO {
|
|
|
1272
1282
|
reporting: ReportingMetadataDTO;
|
|
1273
1283
|
posid_segment?: string;
|
|
1274
1284
|
brand_id: string;
|
|
1285
|
+
line_route?: string;
|
|
1275
1286
|
menu_works?: MenuWorksDTO;
|
|
1276
1287
|
is_out_of_stock?: boolean;
|
|
1277
1288
|
price_for_none?: number;
|
|
@@ -1291,6 +1302,43 @@ export interface DraftModifierEntityDTO {
|
|
|
1291
1302
|
permissions?: Record<string, any>;
|
|
1292
1303
|
[index: string]: any;
|
|
1293
1304
|
}
|
|
1305
|
+
export interface UniversalItemWithoutIdDTO {
|
|
1306
|
+
barcode: string;
|
|
1307
|
+
name: string;
|
|
1308
|
+
description?: string;
|
|
1309
|
+
created_at?: string;
|
|
1310
|
+
updated_at?: string;
|
|
1311
|
+
is_verified: boolean;
|
|
1312
|
+
verified_at?: string;
|
|
1313
|
+
verified_by?: string;
|
|
1314
|
+
images?: Record<string, any>;
|
|
1315
|
+
metadata?: Record<string, any>;
|
|
1316
|
+
[index: string]: any;
|
|
1317
|
+
}
|
|
1318
|
+
export interface UniversalItemResponseDTO {
|
|
1319
|
+
barcode: string;
|
|
1320
|
+
name: string;
|
|
1321
|
+
description?: string;
|
|
1322
|
+
created_at?: string;
|
|
1323
|
+
updated_at?: string;
|
|
1324
|
+
is_verified: boolean;
|
|
1325
|
+
verified_at?: string;
|
|
1326
|
+
verified_by?: string;
|
|
1327
|
+
images?: Record<string, any>;
|
|
1328
|
+
metadata?: Record<string, any>;
|
|
1329
|
+
[index: string]: any;
|
|
1330
|
+
}
|
|
1331
|
+
export interface PutUniversalItemEntity {
|
|
1332
|
+
id?: string;
|
|
1333
|
+
barcode?: string;
|
|
1334
|
+
is_verified?: boolean;
|
|
1335
|
+
verified_at?: Record<string, any>;
|
|
1336
|
+
verified_by?: Record<string, any>;
|
|
1337
|
+
name?: string;
|
|
1338
|
+
description?: string;
|
|
1339
|
+
images?: Record<string, any>;
|
|
1340
|
+
metadata?: Record<string, any>;
|
|
1341
|
+
}
|
|
1294
1342
|
export interface GetMenuClientPath {
|
|
1295
1343
|
client_id: string;
|
|
1296
1344
|
}
|
|
@@ -1679,9 +1727,9 @@ export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
|
1679
1727
|
export interface DeleteMenuV3LocalMenuGroupRequest extends BaseRequest, RequestQuery<DeleteMenuV3LocalMenuGroupQuery>, DeleteMenuV3LocalMenuGroupPath {
|
|
1680
1728
|
}
|
|
1681
1729
|
export interface GetMenuV3LocalMenuGroupsQuery {
|
|
1730
|
+
filter?: string;
|
|
1682
1731
|
select?: string[];
|
|
1683
1732
|
relationships?: string[];
|
|
1684
|
-
filter?: string;
|
|
1685
1733
|
limit?: number;
|
|
1686
1734
|
page?: number;
|
|
1687
1735
|
sort_by?: string;
|
|
@@ -1724,6 +1772,12 @@ export interface GetMenuV3LocalMenuGroupsCountResponse {
|
|
|
1724
1772
|
}
|
|
1725
1773
|
export interface GetMenuV3LocalMenuGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3LocalMenuGroupsCountQuery> {
|
|
1726
1774
|
}
|
|
1775
|
+
export interface PostMenuV3LocalMenuGroupRecoverPath {
|
|
1776
|
+
id: string;
|
|
1777
|
+
}
|
|
1778
|
+
export type PostMenuV3LocalMenuGroupRecoverResponse = LocalMenuGroupDTO;
|
|
1779
|
+
export interface PostMenuV3LocalMenuGroupRecoverRequest extends BaseRequest, PostMenuV3LocalMenuGroupRecoverPath {
|
|
1780
|
+
}
|
|
1727
1781
|
export interface GetMenuV3DraftLocalMenuGroupBrandsPath {
|
|
1728
1782
|
id: string;
|
|
1729
1783
|
}
|
|
@@ -1793,8 +1847,8 @@ export interface PostMenuV3LocalMenuGroupImportBrandsPath {
|
|
|
1793
1847
|
export interface PostMenuV3LocalMenuGroupImportBrandsQuery {
|
|
1794
1848
|
select?: string[];
|
|
1795
1849
|
relationships?: string[];
|
|
1796
|
-
"body.brand_ids"?: string[];
|
|
1797
1850
|
filter?: string;
|
|
1851
|
+
"body.brand_ids"?: string[];
|
|
1798
1852
|
limit?: number;
|
|
1799
1853
|
page?: number;
|
|
1800
1854
|
sort_by?: string;
|
|
@@ -1850,6 +1904,14 @@ export interface DeleteMenuV3LocalMenuGroupsSiteGroupsResponse {
|
|
|
1850
1904
|
export interface DeleteMenuV3LocalMenuGroupsSiteGroupsRequest extends BaseRequest {
|
|
1851
1905
|
body: DeleteMenuV3LocalMenuGroupsSiteGroupsBody;
|
|
1852
1906
|
}
|
|
1907
|
+
export interface GetMenuV3LocalMenuGroupExportSolutionsQuery {
|
|
1908
|
+
_query?: string;
|
|
1909
|
+
}
|
|
1910
|
+
export interface GetMenuV3LocalMenuGroupExportSolutionsResponse {
|
|
1911
|
+
results?: ExportSolutionDTO[];
|
|
1912
|
+
}
|
|
1913
|
+
export interface GetMenuV3LocalMenuGroupExportSolutionsRequest extends BaseRequest, RequestQuery<GetMenuV3LocalMenuGroupExportSolutionsQuery> {
|
|
1914
|
+
}
|
|
1853
1915
|
export interface PostMenuV3GlobalMenuGroupBody {
|
|
1854
1916
|
name: string;
|
|
1855
1917
|
is_active?: boolean;
|
|
@@ -1922,9 +1984,9 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
|
|
|
1922
1984
|
export interface DeleteMenuV3GlobalMenuGroupRequest extends BaseRequest, RequestQuery<DeleteMenuV3GlobalMenuGroupQuery>, DeleteMenuV3GlobalMenuGroupPath {
|
|
1923
1985
|
}
|
|
1924
1986
|
export interface GetMenuV3GlobalMenuGroupsQuery {
|
|
1987
|
+
filter?: string;
|
|
1925
1988
|
select?: string[];
|
|
1926
1989
|
relationships?: string[];
|
|
1927
|
-
filter?: string;
|
|
1928
1990
|
limit?: number;
|
|
1929
1991
|
page?: number;
|
|
1930
1992
|
sort_by?: string;
|
|
@@ -1968,6 +2030,12 @@ export interface GetMenuV3GlobalMenuGroupsCountResponse {
|
|
|
1968
2030
|
}
|
|
1969
2031
|
export interface GetMenuV3GlobalMenuGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3GlobalMenuGroupsCountQuery> {
|
|
1970
2032
|
}
|
|
2033
|
+
export interface PostMenuV3GlobalMenuGroupRecoverPath {
|
|
2034
|
+
id: string;
|
|
2035
|
+
}
|
|
2036
|
+
export type PostMenuV3GlobalMenuGroupRecoverResponse = GlobalMenuGroupDTO;
|
|
2037
|
+
export interface PostMenuV3GlobalMenuGroupRecoverRequest extends BaseRequest, PostMenuV3GlobalMenuGroupRecoverPath {
|
|
2038
|
+
}
|
|
1971
2039
|
export interface GetMenuV3DraftGlobalMenuGroupBrandsPath {
|
|
1972
2040
|
id: string;
|
|
1973
2041
|
}
|
|
@@ -2108,9 +2176,9 @@ export type DeleteMenuV3DraftBrandResponse = DraftBrandDTO;
|
|
|
2108
2176
|
export interface DeleteMenuV3DraftBrandRequest extends BaseRequest, RequestQuery<DeleteMenuV3DraftBrandQuery>, DeleteMenuV3DraftBrandPath {
|
|
2109
2177
|
}
|
|
2110
2178
|
export interface GetMenuV3DraftBrandsQuery {
|
|
2179
|
+
filter?: string;
|
|
2111
2180
|
select?: string[];
|
|
2112
2181
|
relationships?: string[];
|
|
2113
|
-
filter?: string;
|
|
2114
2182
|
limit?: number;
|
|
2115
2183
|
page?: number;
|
|
2116
2184
|
sort_by?: string;
|
|
@@ -2175,13 +2243,19 @@ export interface GetMenuV3DraftBrandsCountResponse {
|
|
|
2175
2243
|
}
|
|
2176
2244
|
export interface GetMenuV3DraftBrandsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandsCountQuery> {
|
|
2177
2245
|
}
|
|
2246
|
+
export interface PostMenuV3DraftBrandRecoverPath {
|
|
2247
|
+
id: string;
|
|
2248
|
+
}
|
|
2249
|
+
export type PostMenuV3DraftBrandRecoverResponse = DraftBrandDTO;
|
|
2250
|
+
export interface PostMenuV3DraftBrandRecoverRequest extends BaseRequest, PostMenuV3DraftBrandRecoverPath {
|
|
2251
|
+
}
|
|
2178
2252
|
export interface GetMenuV3DraftBrandAuditsPath {
|
|
2179
2253
|
id: string;
|
|
2180
2254
|
}
|
|
2181
2255
|
export interface GetMenuV3DraftBrandAuditsQuery {
|
|
2256
|
+
filter?: string;
|
|
2182
2257
|
select?: string[];
|
|
2183
2258
|
relationships?: string[];
|
|
2184
|
-
filter?: string;
|
|
2185
2259
|
limit?: number;
|
|
2186
2260
|
page?: number;
|
|
2187
2261
|
sort_by?: string;
|
|
@@ -2481,9 +2555,9 @@ export type DeleteMenuV3BrandResponse = PublishedBrandDTO;
|
|
|
2481
2555
|
export interface DeleteMenuV3BrandRequest extends BaseRequest, RequestQuery<DeleteMenuV3BrandQuery>, DeleteMenuV3BrandPath {
|
|
2482
2556
|
}
|
|
2483
2557
|
export interface GetMenuV3BrandsQuery {
|
|
2558
|
+
filter?: string;
|
|
2484
2559
|
select?: string[];
|
|
2485
2560
|
relationships?: string[];
|
|
2486
|
-
filter?: string;
|
|
2487
2561
|
limit?: number;
|
|
2488
2562
|
page?: number;
|
|
2489
2563
|
sort_by?: string;
|
|
@@ -2548,6 +2622,15 @@ export interface GetMenuV3BrandsCountResponse {
|
|
|
2548
2622
|
}
|
|
2549
2623
|
export interface GetMenuV3BrandsCountRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsCountQuery> {
|
|
2550
2624
|
}
|
|
2625
|
+
export interface PostMenuV3BrandRecoverPath {
|
|
2626
|
+
id: string;
|
|
2627
|
+
}
|
|
2628
|
+
export interface PostMenuV3BrandRecoverQuery {
|
|
2629
|
+
nocache?: boolean;
|
|
2630
|
+
}
|
|
2631
|
+
export type PostMenuV3BrandRecoverResponse = PublishedBrandDTO;
|
|
2632
|
+
export interface PostMenuV3BrandRecoverRequest extends BaseRequest, RequestQuery<PostMenuV3BrandRecoverQuery>, PostMenuV3BrandRecoverPath {
|
|
2633
|
+
}
|
|
2551
2634
|
export interface GetMenuV3BrandMenusPath {
|
|
2552
2635
|
id: string;
|
|
2553
2636
|
}
|
|
@@ -2698,9 +2781,9 @@ export type DeleteMenuV3DraftMenuResponse = DraftMenuDTO;
|
|
|
2698
2781
|
export interface DeleteMenuV3DraftMenuRequest extends BaseRequest, RequestQuery<DeleteMenuV3DraftMenuQuery>, DeleteMenuV3DraftMenuPath {
|
|
2699
2782
|
}
|
|
2700
2783
|
export interface GetMenuV3DraftMenusQuery {
|
|
2784
|
+
filter?: string;
|
|
2701
2785
|
select?: string[];
|
|
2702
2786
|
relationships?: string[];
|
|
2703
|
-
filter?: string;
|
|
2704
2787
|
limit?: number;
|
|
2705
2788
|
page?: number;
|
|
2706
2789
|
sort_by?: string;
|
|
@@ -2747,6 +2830,12 @@ export interface GetMenuV3DraftMenusCountResponse {
|
|
|
2747
2830
|
}
|
|
2748
2831
|
export interface GetMenuV3DraftMenusCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftMenusCountQuery> {
|
|
2749
2832
|
}
|
|
2833
|
+
export interface PostMenuV3DraftMenuRecoverPath {
|
|
2834
|
+
id: string;
|
|
2835
|
+
}
|
|
2836
|
+
export type PostMenuV3DraftMenuRecoverResponse = DraftMenuDTO;
|
|
2837
|
+
export interface PostMenuV3DraftMenuRecoverRequest extends BaseRequest, PostMenuV3DraftMenuRecoverPath {
|
|
2838
|
+
}
|
|
2750
2839
|
export interface GetMenuV3DraftMenuCategoriesPath {
|
|
2751
2840
|
id: string;
|
|
2752
2841
|
}
|
|
@@ -2789,9 +2878,9 @@ export type GetMenuV3MenuResponse = PublishedMenuDTO;
|
|
|
2789
2878
|
export interface GetMenuV3MenuRequest extends BaseRequest, RequestQuery<GetMenuV3MenuQuery>, GetMenuV3MenuPath {
|
|
2790
2879
|
}
|
|
2791
2880
|
export interface GetMenuV3MenusQuery {
|
|
2881
|
+
filter?: string;
|
|
2792
2882
|
select?: string[];
|
|
2793
2883
|
relationships?: string[];
|
|
2794
|
-
filter?: string;
|
|
2795
2884
|
limit?: number;
|
|
2796
2885
|
page?: number;
|
|
2797
2886
|
sort_by?: string;
|
|
@@ -2818,6 +2907,15 @@ export interface GetMenuV3MenusCountResponse {
|
|
|
2818
2907
|
}
|
|
2819
2908
|
export interface GetMenuV3MenusCountRequest extends BaseRequest, RequestQuery<GetMenuV3MenusCountQuery> {
|
|
2820
2909
|
}
|
|
2910
|
+
export interface PostMenuV3MenuRecoverPath {
|
|
2911
|
+
id: string;
|
|
2912
|
+
}
|
|
2913
|
+
export interface PostMenuV3MenuRecoverQuery {
|
|
2914
|
+
nocache?: boolean;
|
|
2915
|
+
}
|
|
2916
|
+
export type PostMenuV3MenuRecoverResponse = PublishedMenuDTO;
|
|
2917
|
+
export interface PostMenuV3MenuRecoverRequest extends BaseRequest, RequestQuery<PostMenuV3MenuRecoverQuery>, PostMenuV3MenuRecoverPath {
|
|
2918
|
+
}
|
|
2821
2919
|
export interface GetMenuV3MenuCategoriesPath {
|
|
2822
2920
|
id: string;
|
|
2823
2921
|
}
|
|
@@ -2845,6 +2943,7 @@ export interface PatchMenuV3StockPath {
|
|
|
2845
2943
|
}
|
|
2846
2944
|
export interface PatchMenuV3StockBody {
|
|
2847
2945
|
id: string;
|
|
2946
|
+
reset_time?: string;
|
|
2848
2947
|
groups?: GroupStockUpdate[];
|
|
2849
2948
|
[index: string]: any;
|
|
2850
2949
|
}
|
|
@@ -2974,6 +3073,12 @@ export interface PostMenuV3DraftCategoriesResponse {
|
|
|
2974
3073
|
export interface PostMenuV3DraftCategoriesRequest extends BaseRequest {
|
|
2975
3074
|
body: PostMenuV3DraftCategoriesBody;
|
|
2976
3075
|
}
|
|
3076
|
+
export interface PostMenuV3DraftCategoryRecoverPath {
|
|
3077
|
+
id: string;
|
|
3078
|
+
}
|
|
3079
|
+
export type PostMenuV3DraftCategoryRecoverResponse = DraftCategoryDTO;
|
|
3080
|
+
export interface PostMenuV3DraftCategoryRecoverRequest extends BaseRequest, PostMenuV3DraftCategoryRecoverPath {
|
|
3081
|
+
}
|
|
2977
3082
|
export interface PostMenuV3DraftCategoryAttachmentPath {
|
|
2978
3083
|
id: string;
|
|
2979
3084
|
name: "thumbnail";
|
|
@@ -3009,6 +3114,15 @@ export interface GetMenuV3CategorysCountResponse {
|
|
|
3009
3114
|
}
|
|
3010
3115
|
export interface GetMenuV3CategorysCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategorysCountQuery> {
|
|
3011
3116
|
}
|
|
3117
|
+
export interface PostMenuV3CategoryRecoverPath {
|
|
3118
|
+
id: string;
|
|
3119
|
+
}
|
|
3120
|
+
export interface PostMenuV3CategoryRecoverQuery {
|
|
3121
|
+
nocache?: boolean;
|
|
3122
|
+
}
|
|
3123
|
+
export type PostMenuV3CategoryRecoverResponse = PublishedCategoryDTO;
|
|
3124
|
+
export interface PostMenuV3CategoryRecoverRequest extends BaseRequest, RequestQuery<PostMenuV3CategoryRecoverQuery>, PostMenuV3CategoryRecoverPath {
|
|
3125
|
+
}
|
|
3012
3126
|
export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
3013
3127
|
parent?: DraftCategoryToItemRelationshipDTO;
|
|
3014
3128
|
children?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3077,9 +3191,9 @@ export type DeleteMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryTo
|
|
|
3077
3191
|
export interface DeleteMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest, RequestQuery<DeleteMenuV3DraftCategoryRelationshipsItemQuery>, DeleteMenuV3DraftCategoryRelationshipsItemPath {
|
|
3078
3192
|
}
|
|
3079
3193
|
export interface GetMenuV3DraftCategoryRelationshipsItemsQuery {
|
|
3194
|
+
filter?: string;
|
|
3080
3195
|
select?: string[];
|
|
3081
3196
|
relationships?: string[];
|
|
3082
|
-
filter?: string;
|
|
3083
3197
|
limit?: number;
|
|
3084
3198
|
page?: number;
|
|
3085
3199
|
sort_by?: string;
|
|
@@ -3129,6 +3243,12 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsCountResponse {
|
|
|
3129
3243
|
}
|
|
3130
3244
|
export interface GetMenuV3DraftCategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsCountQuery> {
|
|
3131
3245
|
}
|
|
3246
|
+
export interface PostMenuV3DraftCategoryRelationshipsItemRecoverPath {
|
|
3247
|
+
id: string;
|
|
3248
|
+
}
|
|
3249
|
+
export type PostMenuV3DraftCategoryRelationshipsItemRecoverResponse = DraftCategoryToItemRelationshipDTO;
|
|
3250
|
+
export interface PostMenuV3DraftCategoryRelationshipsItemRecoverRequest extends BaseRequest, PostMenuV3DraftCategoryRelationshipsItemRecoverPath {
|
|
3251
|
+
}
|
|
3132
3252
|
export interface GetMenuV3CategoryRelationshipsItemPath {
|
|
3133
3253
|
id: string;
|
|
3134
3254
|
}
|
|
@@ -3142,9 +3262,9 @@ export type GetMenuV3CategoryRelationshipsItemResponse = PublishedCategoryToItem
|
|
|
3142
3262
|
export interface GetMenuV3CategoryRelationshipsItemRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemQuery>, GetMenuV3CategoryRelationshipsItemPath {
|
|
3143
3263
|
}
|
|
3144
3264
|
export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
3265
|
+
filter?: string;
|
|
3145
3266
|
select?: string[];
|
|
3146
3267
|
relationships?: string[];
|
|
3147
|
-
filter?: string;
|
|
3148
3268
|
limit?: number;
|
|
3149
3269
|
page?: number;
|
|
3150
3270
|
sort_by?: string;
|
|
@@ -3171,6 +3291,15 @@ export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
|
|
|
3171
3291
|
}
|
|
3172
3292
|
export interface GetMenuV3CategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {
|
|
3173
3293
|
}
|
|
3294
|
+
export interface PostMenuV3CategoryRelationshipsItemRecoverPath {
|
|
3295
|
+
id: string;
|
|
3296
|
+
}
|
|
3297
|
+
export interface PostMenuV3CategoryRelationshipsItemRecoverQuery {
|
|
3298
|
+
nocache?: boolean;
|
|
3299
|
+
}
|
|
3300
|
+
export type PostMenuV3CategoryRelationshipsItemRecoverResponse = PublishedCategoryToItemRelationshipDTO;
|
|
3301
|
+
export interface PostMenuV3CategoryRelationshipsItemRecoverRequest extends BaseRequest, RequestQuery<PostMenuV3CategoryRelationshipsItemRecoverQuery>, PostMenuV3CategoryRelationshipsItemRecoverPath {
|
|
3302
|
+
}
|
|
3174
3303
|
export interface PostMenuV3DraftItemBody {
|
|
3175
3304
|
parent?: DraftItemDTO;
|
|
3176
3305
|
children?: DraftItemDTO[];
|
|
@@ -3291,9 +3420,9 @@ export interface DeleteMenuV3DraftItemsRequest extends BaseRequest {
|
|
|
3291
3420
|
body: DeleteMenuV3DraftItemsBody;
|
|
3292
3421
|
}
|
|
3293
3422
|
export interface GetMenuV3DraftItemsQuery {
|
|
3423
|
+
filter?: string;
|
|
3294
3424
|
select?: string[];
|
|
3295
3425
|
relationships?: string[];
|
|
3296
|
-
filter?: string;
|
|
3297
3426
|
limit?: number;
|
|
3298
3427
|
page?: number;
|
|
3299
3428
|
sort_by?: string;
|
|
@@ -3363,6 +3492,12 @@ export interface GetMenuV3DraftItemsCountResponse {
|
|
|
3363
3492
|
}
|
|
3364
3493
|
export interface GetMenuV3DraftItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemsCountQuery> {
|
|
3365
3494
|
}
|
|
3495
|
+
export interface PostMenuV3DraftItemRecoverPath {
|
|
3496
|
+
id: string;
|
|
3497
|
+
}
|
|
3498
|
+
export type PostMenuV3DraftItemRecoverResponse = DraftItemDTO;
|
|
3499
|
+
export interface PostMenuV3DraftItemRecoverRequest extends BaseRequest, PostMenuV3DraftItemRecoverPath {
|
|
3500
|
+
}
|
|
3366
3501
|
export interface GetMenuV3DraftItemLineRoutesPath {
|
|
3367
3502
|
id: string;
|
|
3368
3503
|
}
|
|
@@ -3481,9 +3616,9 @@ export type GetMenuV3ItemResponse = PublishedItemDTO;
|
|
|
3481
3616
|
export interface GetMenuV3ItemRequest extends BaseRequest, RequestQuery<GetMenuV3ItemQuery>, GetMenuV3ItemPath {
|
|
3482
3617
|
}
|
|
3483
3618
|
export interface GetMenuV3ItemsQuery {
|
|
3619
|
+
filter?: string;
|
|
3484
3620
|
select?: string[];
|
|
3485
3621
|
relationships?: string[];
|
|
3486
|
-
filter?: string;
|
|
3487
3622
|
limit?: number;
|
|
3488
3623
|
page?: number;
|
|
3489
3624
|
sort_by?: string;
|
|
@@ -3510,6 +3645,15 @@ export interface GetMenuV3ItemsCountResponse {
|
|
|
3510
3645
|
}
|
|
3511
3646
|
export interface GetMenuV3ItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsCountQuery> {
|
|
3512
3647
|
}
|
|
3648
|
+
export interface PostMenuV3ItemRecoverPath {
|
|
3649
|
+
id: string;
|
|
3650
|
+
}
|
|
3651
|
+
export interface PostMenuV3ItemRecoverQuery {
|
|
3652
|
+
nocache?: boolean;
|
|
3653
|
+
}
|
|
3654
|
+
export type PostMenuV3ItemRecoverResponse = PublishedItemDTO;
|
|
3655
|
+
export interface PostMenuV3ItemRecoverRequest extends BaseRequest, RequestQuery<PostMenuV3ItemRecoverQuery>, PostMenuV3ItemRecoverPath {
|
|
3656
|
+
}
|
|
3513
3657
|
export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
3514
3658
|
parent?: DraftItemToModifierGroupRelationshipDTO;
|
|
3515
3659
|
children?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -3578,9 +3722,9 @@ export type DeleteMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemT
|
|
|
3578
3722
|
export interface DeleteMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest, RequestQuery<DeleteMenuV3DraftItemRelationshipsModifierGroupQuery>, DeleteMenuV3DraftItemRelationshipsModifierGroupPath {
|
|
3579
3723
|
}
|
|
3580
3724
|
export interface GetMenuV3DraftItemRelationshipsModifierGroupsQuery {
|
|
3725
|
+
filter?: string;
|
|
3581
3726
|
select?: string[];
|
|
3582
3727
|
relationships?: string[];
|
|
3583
|
-
filter?: string;
|
|
3584
3728
|
limit?: number;
|
|
3585
3729
|
page?: number;
|
|
3586
3730
|
sort_by?: string;
|
|
@@ -3630,6 +3774,12 @@ export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse {
|
|
|
3630
3774
|
}
|
|
3631
3775
|
export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery> {
|
|
3632
3776
|
}
|
|
3777
|
+
export interface PostMenuV3DraftItemRelationshipsModifierGroupRecoverPath {
|
|
3778
|
+
id: string;
|
|
3779
|
+
}
|
|
3780
|
+
export type PostMenuV3DraftItemRelationshipsModifierGroupRecoverResponse = DraftItemToModifierGroupRelationshipDTO;
|
|
3781
|
+
export interface PostMenuV3DraftItemRelationshipsModifierGroupRecoverRequest extends BaseRequest, PostMenuV3DraftItemRelationshipsModifierGroupRecoverPath {
|
|
3782
|
+
}
|
|
3633
3783
|
export interface GetMenuV3ItemRelationshipsModifierGroupPath {
|
|
3634
3784
|
id: string;
|
|
3635
3785
|
}
|
|
@@ -3643,9 +3793,9 @@ export type GetMenuV3ItemRelationshipsModifierGroupResponse = PublishedItemToMod
|
|
|
3643
3793
|
export interface GetMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupQuery>, GetMenuV3ItemRelationshipsModifierGroupPath {
|
|
3644
3794
|
}
|
|
3645
3795
|
export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
|
|
3796
|
+
filter?: string;
|
|
3646
3797
|
select?: string[];
|
|
3647
3798
|
relationships?: string[];
|
|
3648
|
-
filter?: string;
|
|
3649
3799
|
limit?: number;
|
|
3650
3800
|
page?: number;
|
|
3651
3801
|
sort_by?: string;
|
|
@@ -3672,6 +3822,15 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsCountResponse {
|
|
|
3672
3822
|
}
|
|
3673
3823
|
export interface GetMenuV3ItemRelationshipsModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsCountQuery> {
|
|
3674
3824
|
}
|
|
3825
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupRecoverPath {
|
|
3826
|
+
id: string;
|
|
3827
|
+
}
|
|
3828
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupRecoverQuery {
|
|
3829
|
+
nocache?: boolean;
|
|
3830
|
+
}
|
|
3831
|
+
export type PostMenuV3ItemRelationshipsModifierGroupRecoverResponse = PublishedItemToModifierGroupRelationshipDTO;
|
|
3832
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupRecoverRequest extends BaseRequest, RequestQuery<PostMenuV3ItemRelationshipsModifierGroupRecoverQuery>, PostMenuV3ItemRelationshipsModifierGroupRecoverPath {
|
|
3833
|
+
}
|
|
3675
3834
|
export interface PostMenuV3DraftModifierGroupBody {
|
|
3676
3835
|
parent?: DraftModifierGroupDTO;
|
|
3677
3836
|
children?: DraftModifierGroupDTO[];
|
|
@@ -3754,9 +3913,9 @@ export type DeleteMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
|
|
|
3754
3913
|
export interface DeleteMenuV3DraftModifierGroupRequest extends BaseRequest, RequestQuery<DeleteMenuV3DraftModifierGroupQuery>, DeleteMenuV3DraftModifierGroupPath {
|
|
3755
3914
|
}
|
|
3756
3915
|
export interface GetMenuV3DraftModifierGroupsQuery {
|
|
3916
|
+
filter?: string;
|
|
3757
3917
|
select?: string[];
|
|
3758
3918
|
relationships?: string[];
|
|
3759
|
-
filter?: string;
|
|
3760
3919
|
limit?: number;
|
|
3761
3920
|
page?: number;
|
|
3762
3921
|
sort_by?: string;
|
|
@@ -3813,9 +3972,18 @@ export interface GetMenuV3DraftModifierGroupsCountResponse {
|
|
|
3813
3972
|
}
|
|
3814
3973
|
export interface GetMenuV3DraftModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupsCountQuery> {
|
|
3815
3974
|
}
|
|
3975
|
+
export interface PostMenuV3DraftModifierGroupRecoverPath {
|
|
3976
|
+
id: string;
|
|
3977
|
+
}
|
|
3978
|
+
export type PostMenuV3DraftModifierGroupRecoverResponse = DraftModifierGroupDTO;
|
|
3979
|
+
export interface PostMenuV3DraftModifierGroupRecoverRequest extends BaseRequest, PostMenuV3DraftModifierGroupRecoverPath {
|
|
3980
|
+
}
|
|
3816
3981
|
export interface PostMenuV3DraftModifierGroupDuplicatePath {
|
|
3817
3982
|
id: string;
|
|
3818
3983
|
}
|
|
3984
|
+
export interface PostMenuV3DraftModifierGroupDuplicateQuery {
|
|
3985
|
+
duplicate_modifiers?: boolean;
|
|
3986
|
+
}
|
|
3819
3987
|
export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
3820
3988
|
parent?: DraftModifierGroupDTO;
|
|
3821
3989
|
children?: DraftModifierGroupDTO[];
|
|
@@ -3845,7 +4013,7 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
3845
4013
|
permissions?: Record<string, any>;
|
|
3846
4014
|
[index: string]: any;
|
|
3847
4015
|
}
|
|
3848
|
-
export interface PostMenuV3DraftModifierGroupDuplicateRequest extends BaseRequest, PostMenuV3DraftModifierGroupDuplicatePath {
|
|
4016
|
+
export interface PostMenuV3DraftModifierGroupDuplicateRequest extends BaseRequest, RequestQuery<PostMenuV3DraftModifierGroupDuplicateQuery>, PostMenuV3DraftModifierGroupDuplicatePath {
|
|
3849
4017
|
}
|
|
3850
4018
|
export interface GetMenuV3ModifierGroupPath {
|
|
3851
4019
|
id: string;
|
|
@@ -3860,9 +4028,9 @@ export type GetMenuV3ModifierGroupResponse = PublishedModifierGroupDTO;
|
|
|
3860
4028
|
export interface GetMenuV3ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupQuery>, GetMenuV3ModifierGroupPath {
|
|
3861
4029
|
}
|
|
3862
4030
|
export interface GetMenuV3ModifierGroupsQuery {
|
|
4031
|
+
filter?: string;
|
|
3863
4032
|
select?: string[];
|
|
3864
4033
|
relationships?: string[];
|
|
3865
|
-
filter?: string;
|
|
3866
4034
|
limit?: number;
|
|
3867
4035
|
page?: number;
|
|
3868
4036
|
sort_by?: string;
|
|
@@ -3889,6 +4057,15 @@ export interface GetMenuV3ModifierGroupsCountResponse {
|
|
|
3889
4057
|
}
|
|
3890
4058
|
export interface GetMenuV3ModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsCountQuery> {
|
|
3891
4059
|
}
|
|
4060
|
+
export interface PostMenuV3ModifierGroupRecoverPath {
|
|
4061
|
+
id: string;
|
|
4062
|
+
}
|
|
4063
|
+
export interface PostMenuV3ModifierGroupRecoverQuery {
|
|
4064
|
+
nocache?: boolean;
|
|
4065
|
+
}
|
|
4066
|
+
export type PostMenuV3ModifierGroupRecoverResponse = PublishedModifierGroupDTO;
|
|
4067
|
+
export interface PostMenuV3ModifierGroupRecoverRequest extends BaseRequest, RequestQuery<PostMenuV3ModifierGroupRecoverQuery>, PostMenuV3ModifierGroupRecoverPath {
|
|
4068
|
+
}
|
|
3892
4069
|
export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
3893
4070
|
parent?: DraftModifierGroupToModifierRelationshipDTO;
|
|
3894
4071
|
children?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
@@ -3957,9 +4134,9 @@ export type DeleteMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftM
|
|
|
3957
4134
|
export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<DeleteMenuV3DraftModifierGroupRelationshipsModifierQuery>, DeleteMenuV3DraftModifierGroupRelationshipsModifierPath {
|
|
3958
4135
|
}
|
|
3959
4136
|
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersQuery {
|
|
4137
|
+
filter?: string;
|
|
3960
4138
|
select?: string[];
|
|
3961
4139
|
relationships?: string[];
|
|
3962
|
-
filter?: string;
|
|
3963
4140
|
limit?: number;
|
|
3964
4141
|
page?: number;
|
|
3965
4142
|
sort_by?: string;
|
|
@@ -4009,6 +4186,12 @@ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse
|
|
|
4009
4186
|
}
|
|
4010
4187
|
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery> {
|
|
4011
4188
|
}
|
|
4189
|
+
export interface PostMenuV3DraftModifierGroupRelationshipsModifierRecoverPath {
|
|
4190
|
+
id: string;
|
|
4191
|
+
}
|
|
4192
|
+
export type PostMenuV3DraftModifierGroupRelationshipsModifierRecoverResponse = DraftModifierGroupToModifierRelationshipDTO;
|
|
4193
|
+
export interface PostMenuV3DraftModifierGroupRelationshipsModifierRecoverRequest extends BaseRequest, PostMenuV3DraftModifierGroupRelationshipsModifierRecoverPath {
|
|
4194
|
+
}
|
|
4012
4195
|
export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
4013
4196
|
id: string;
|
|
4014
4197
|
}
|
|
@@ -4022,9 +4205,9 @@ export type GetMenuV3ModifierGroupRelationshipsModifierResponse = PublishedModif
|
|
|
4022
4205
|
export interface GetMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>, GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
4023
4206
|
}
|
|
4024
4207
|
export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
|
|
4208
|
+
filter?: string;
|
|
4025
4209
|
select?: string[];
|
|
4026
4210
|
relationships?: string[];
|
|
4027
|
-
filter?: string;
|
|
4028
4211
|
limit?: number;
|
|
4029
4212
|
page?: number;
|
|
4030
4213
|
sort_by?: string;
|
|
@@ -4051,6 +4234,15 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersCountResponse {
|
|
|
4051
4234
|
}
|
|
4052
4235
|
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersCountQuery> {
|
|
4053
4236
|
}
|
|
4237
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierRecoverPath {
|
|
4238
|
+
id: string;
|
|
4239
|
+
}
|
|
4240
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierRecoverQuery {
|
|
4241
|
+
nocache?: boolean;
|
|
4242
|
+
}
|
|
4243
|
+
export type PostMenuV3ModifierGroupRelationshipsModifierRecoverResponse = PublishedModifierGroupToModifierRelationshipDTO;
|
|
4244
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierRecoverRequest extends BaseRequest, RequestQuery<PostMenuV3ModifierGroupRelationshipsModifierRecoverQuery>, PostMenuV3ModifierGroupRelationshipsModifierRecoverPath {
|
|
4245
|
+
}
|
|
4054
4246
|
export interface PostMenuV3DraftModifierBody {
|
|
4055
4247
|
parent?: DraftModifierDTO;
|
|
4056
4248
|
children?: DraftModifierDTO[];
|
|
@@ -4069,6 +4261,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
4069
4261
|
reporting: ReportingMetadataDTO;
|
|
4070
4262
|
posid_segment?: string;
|
|
4071
4263
|
brand_id: string;
|
|
4264
|
+
line_route?: string;
|
|
4072
4265
|
menu_works?: MenuWorksDTO;
|
|
4073
4266
|
is_out_of_stock?: boolean;
|
|
4074
4267
|
price_for_none?: number;
|
|
@@ -4124,6 +4317,7 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
4124
4317
|
reporting?: ReportingMetadataDTO;
|
|
4125
4318
|
posid_segment?: string;
|
|
4126
4319
|
brand_id?: string;
|
|
4320
|
+
line_route?: string;
|
|
4127
4321
|
menu_works?: MenuWorksDTO;
|
|
4128
4322
|
is_out_of_stock?: boolean;
|
|
4129
4323
|
price_for_none?: number;
|
|
@@ -4169,9 +4363,9 @@ export interface DeleteMenuV3DraftModifiersRequest extends BaseRequest {
|
|
|
4169
4363
|
body: DeleteMenuV3DraftModifiersBody;
|
|
4170
4364
|
}
|
|
4171
4365
|
export interface GetMenuV3DraftModifiersQuery {
|
|
4366
|
+
filter?: string;
|
|
4172
4367
|
select?: string[];
|
|
4173
4368
|
relationships?: string[];
|
|
4174
|
-
filter?: string;
|
|
4175
4369
|
limit?: number;
|
|
4176
4370
|
page?: number;
|
|
4177
4371
|
sort_by?: string;
|
|
@@ -4204,6 +4398,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
4204
4398
|
reporting: ReportingMetadataDTO;
|
|
4205
4399
|
posid_segment?: string;
|
|
4206
4400
|
brand_id: string;
|
|
4401
|
+
line_route?: string;
|
|
4207
4402
|
menu_works?: MenuWorksDTO;
|
|
4208
4403
|
is_out_of_stock?: boolean;
|
|
4209
4404
|
price_for_none?: number;
|
|
@@ -4240,6 +4435,24 @@ export interface GetMenuV3DraftModifiersCountResponse {
|
|
|
4240
4435
|
}
|
|
4241
4436
|
export interface GetMenuV3DraftModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifiersCountQuery> {
|
|
4242
4437
|
}
|
|
4438
|
+
export interface PostMenuV3DraftModifierRecoverPath {
|
|
4439
|
+
id: string;
|
|
4440
|
+
}
|
|
4441
|
+
export type PostMenuV3DraftModifierRecoverResponse = DraftModifierDTO;
|
|
4442
|
+
export interface PostMenuV3DraftModifierRecoverRequest extends BaseRequest, PostMenuV3DraftModifierRecoverPath {
|
|
4443
|
+
}
|
|
4444
|
+
export interface GetMenuV3DraftModifierLineRoutesPath {
|
|
4445
|
+
id: string;
|
|
4446
|
+
}
|
|
4447
|
+
export interface GetMenuV3DraftModifierLineRoutesQuery {
|
|
4448
|
+
search?: string;
|
|
4449
|
+
_query?: string;
|
|
4450
|
+
}
|
|
4451
|
+
export interface GetMenuV3DraftModifierLineRoutesResponse {
|
|
4452
|
+
results?: LineRouteSuggestion[];
|
|
4453
|
+
}
|
|
4454
|
+
export interface GetMenuV3DraftModifierLineRoutesRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierLineRoutesQuery>, GetMenuV3DraftModifierLineRoutesPath {
|
|
4455
|
+
}
|
|
4243
4456
|
export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
4244
4457
|
id_list: string[];
|
|
4245
4458
|
parent?: DraftModifierDTO;
|
|
@@ -4260,6 +4473,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
4260
4473
|
reporting?: ReportingMetadataDTO;
|
|
4261
4474
|
posid_segment?: string;
|
|
4262
4475
|
brand_id?: string;
|
|
4476
|
+
line_route?: string;
|
|
4263
4477
|
menu_works?: MenuWorksDTO;
|
|
4264
4478
|
is_out_of_stock?: boolean;
|
|
4265
4479
|
price_for_none?: number;
|
|
@@ -4309,9 +4523,9 @@ export type GetMenuV3ModifierResponse = PublishedModifierDTO;
|
|
|
4309
4523
|
export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierQuery>, GetMenuV3ModifierPath {
|
|
4310
4524
|
}
|
|
4311
4525
|
export interface GetMenuV3ModifiersQuery {
|
|
4526
|
+
filter?: string;
|
|
4312
4527
|
select?: string[];
|
|
4313
4528
|
relationships?: string[];
|
|
4314
|
-
filter?: string;
|
|
4315
4529
|
limit?: number;
|
|
4316
4530
|
page?: number;
|
|
4317
4531
|
sort_by?: string;
|
|
@@ -4338,6 +4552,15 @@ export interface GetMenuV3ModifiersCountResponse {
|
|
|
4338
4552
|
}
|
|
4339
4553
|
export interface GetMenuV3ModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersCountQuery> {
|
|
4340
4554
|
}
|
|
4555
|
+
export interface PostMenuV3ModifierRecoverPath {
|
|
4556
|
+
id: string;
|
|
4557
|
+
}
|
|
4558
|
+
export interface PostMenuV3ModifierRecoverQuery {
|
|
4559
|
+
nocache?: boolean;
|
|
4560
|
+
}
|
|
4561
|
+
export type PostMenuV3ModifierRecoverResponse = PublishedModifierDTO;
|
|
4562
|
+
export interface PostMenuV3ModifierRecoverRequest extends BaseRequest, RequestQuery<PostMenuV3ModifierRecoverQuery>, PostMenuV3ModifierRecoverPath {
|
|
4563
|
+
}
|
|
4341
4564
|
export interface PostMenuV3IntegrationsTransltrImportQuery {
|
|
4342
4565
|
"body.data"?: string;
|
|
4343
4566
|
}
|
|
@@ -4359,9 +4582,9 @@ export type GetMenuV3GlobalDiffResponse = GlobalDiffDTO;
|
|
|
4359
4582
|
export interface GetMenuV3GlobalDiffRequest extends BaseRequest, RequestQuery<GetMenuV3GlobalDiffQuery>, GetMenuV3GlobalDiffPath {
|
|
4360
4583
|
}
|
|
4361
4584
|
export interface GetMenuV3GlobalDiffsQuery {
|
|
4585
|
+
filter?: string;
|
|
4362
4586
|
select?: string[];
|
|
4363
4587
|
relationships?: string[];
|
|
4364
|
-
filter?: string;
|
|
4365
4588
|
limit?: number;
|
|
4366
4589
|
page?: number;
|
|
4367
4590
|
sort_by?: string;
|
|
@@ -4386,6 +4609,12 @@ export interface GetMenuV3GlobalDiffsCountResponse {
|
|
|
4386
4609
|
}
|
|
4387
4610
|
export interface GetMenuV3GlobalDiffsCountRequest extends BaseRequest, RequestQuery<GetMenuV3GlobalDiffsCountQuery> {
|
|
4388
4611
|
}
|
|
4612
|
+
export interface PostMenuV3GlobalDiffRecoverPath {
|
|
4613
|
+
id: string;
|
|
4614
|
+
}
|
|
4615
|
+
export type PostMenuV3GlobalDiffRecoverResponse = GlobalDiffDTO;
|
|
4616
|
+
export interface PostMenuV3GlobalDiffRecoverRequest extends BaseRequest, PostMenuV3GlobalDiffRecoverPath {
|
|
4617
|
+
}
|
|
4389
4618
|
export interface GetMenuV3MenuworksQuery {
|
|
4390
4619
|
unit_id?: string;
|
|
4391
4620
|
MRN?: number;
|
|
@@ -4403,4 +4632,93 @@ export interface GetMenuV3MenuworksResponse {
|
|
|
4403
4632
|
}
|
|
4404
4633
|
export interface GetMenuV3MenuworksRequest extends BaseRequest, RequestQuery<GetMenuV3MenuworksQuery> {
|
|
4405
4634
|
}
|
|
4635
|
+
export interface GetMenuV3UniversalItemsQuery {
|
|
4636
|
+
filter?: string;
|
|
4637
|
+
select?: string[];
|
|
4638
|
+
relationships?: string[];
|
|
4639
|
+
limit?: number;
|
|
4640
|
+
page?: number;
|
|
4641
|
+
sort_by?: string;
|
|
4642
|
+
sort_order?: "DESC" | "ASC";
|
|
4643
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
4644
|
+
_query?: string;
|
|
4645
|
+
}
|
|
4646
|
+
export interface GetMenuV3UniversalItemsResponse {
|
|
4647
|
+
results: UniversalItemWithoutIdDTO[];
|
|
4648
|
+
meta?: ListResponseMetadataDTO;
|
|
4649
|
+
[index: string]: any;
|
|
4650
|
+
}
|
|
4651
|
+
export interface GetMenuV3UniversalItemsRequest extends BaseRequest, RequestQuery<GetMenuV3UniversalItemsQuery> {
|
|
4652
|
+
}
|
|
4653
|
+
export interface PutMenuV3UniversalItemsBody {
|
|
4654
|
+
items?: PutUniversalItemEntity[];
|
|
4655
|
+
}
|
|
4656
|
+
export interface PutMenuV3UniversalItemsResponse {
|
|
4657
|
+
results?: UniversalItemResponseDTO[];
|
|
4658
|
+
}
|
|
4659
|
+
export interface PutMenuV3UniversalItemsRequest extends BaseRequest {
|
|
4660
|
+
body: PutMenuV3UniversalItemsBody;
|
|
4661
|
+
}
|
|
4662
|
+
export interface GetMenuV3UniversalItemPath {
|
|
4663
|
+
barcode: string;
|
|
4664
|
+
}
|
|
4665
|
+
export interface GetMenuV3UniversalItemQuery {
|
|
4666
|
+
_query?: string;
|
|
4667
|
+
}
|
|
4668
|
+
export interface GetMenuV3UniversalItemResponse {
|
|
4669
|
+
barcode: string;
|
|
4670
|
+
name: string;
|
|
4671
|
+
description?: string;
|
|
4672
|
+
created_at?: string;
|
|
4673
|
+
updated_at?: string;
|
|
4674
|
+
is_verified: boolean;
|
|
4675
|
+
verified_at?: string;
|
|
4676
|
+
verified_by?: string;
|
|
4677
|
+
images?: Record<string, any>;
|
|
4678
|
+
metadata?: Record<string, any>;
|
|
4679
|
+
[index: string]: any;
|
|
4680
|
+
}
|
|
4681
|
+
export interface GetMenuV3UniversalItemRequest extends BaseRequest, RequestQuery<GetMenuV3UniversalItemQuery>, GetMenuV3UniversalItemPath {
|
|
4682
|
+
}
|
|
4683
|
+
export interface PatchMenuV3UniversalItemPath {
|
|
4684
|
+
barcode: string;
|
|
4685
|
+
}
|
|
4686
|
+
export interface PatchMenuV3UniversalItemBody {
|
|
4687
|
+
name?: string;
|
|
4688
|
+
description?: string;
|
|
4689
|
+
images?: Record<string, any>;
|
|
4690
|
+
metadata?: Record<string, any>;
|
|
4691
|
+
}
|
|
4692
|
+
export interface PatchMenuV3UniversalItemResponse {
|
|
4693
|
+
barcode: string;
|
|
4694
|
+
name: string;
|
|
4695
|
+
description?: string;
|
|
4696
|
+
created_at?: string;
|
|
4697
|
+
updated_at?: string;
|
|
4698
|
+
is_verified: boolean;
|
|
4699
|
+
verified_at?: string;
|
|
4700
|
+
verified_by?: string;
|
|
4701
|
+
images?: Record<string, any>;
|
|
4702
|
+
metadata?: Record<string, any>;
|
|
4703
|
+
[index: string]: any;
|
|
4704
|
+
}
|
|
4705
|
+
export interface PatchMenuV3UniversalItemRequest extends BaseRequest, PatchMenuV3UniversalItemPath {
|
|
4706
|
+
body: PatchMenuV3UniversalItemBody;
|
|
4707
|
+
}
|
|
4708
|
+
export interface PostMenuV3UniversalItemsVerifyBody {
|
|
4709
|
+
barcodes: string[];
|
|
4710
|
+
verified_by: string;
|
|
4711
|
+
[index: string]: any;
|
|
4712
|
+
}
|
|
4713
|
+
export interface PostMenuV3UniversalItemsVerifyResponse {
|
|
4714
|
+
items?: UniversalItemResponseDTO[];
|
|
4715
|
+
}
|
|
4716
|
+
export interface PostMenuV3UniversalItemsVerifyRequest extends BaseRequest {
|
|
4717
|
+
body: PostMenuV3UniversalItemsVerifyBody;
|
|
4718
|
+
}
|
|
4719
|
+
export interface PostMenuV3TriggerUpdateResponse {
|
|
4720
|
+
status?: string;
|
|
4721
|
+
}
|
|
4722
|
+
export interface PostMenuV3TriggerUpdateRequest extends BaseRequest {
|
|
4723
|
+
}
|
|
4406
4724
|
//# sourceMappingURL=menu.d.ts.map
|