@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/src/interface/menu.ts
CHANGED
|
@@ -283,6 +283,7 @@ export interface Option {
|
|
|
283
283
|
out_of_stock?: boolean;
|
|
284
284
|
};
|
|
285
285
|
amount_off_exclusions?: AmountOffExclusionTypes[];
|
|
286
|
+
line_route?: string;
|
|
286
287
|
}
|
|
287
288
|
|
|
288
289
|
export interface OptionsGroup {
|
|
@@ -489,6 +490,7 @@ export interface FilterFieldDTO {
|
|
|
489
490
|
// Can be combined with other operators (such as '{ key : { $not : { $more_than: 2 } } }')
|
|
490
491
|
$not?: string;
|
|
491
492
|
$in?: string[];
|
|
493
|
+
$and?: Record<string, any>[];
|
|
492
494
|
$array_contains?: string[];
|
|
493
495
|
$contains?: string;
|
|
494
496
|
}
|
|
@@ -727,6 +729,7 @@ export interface DraftModifierDTO {
|
|
|
727
729
|
reporting?: ReportingMetadataDTO;
|
|
728
730
|
posid_segment?: string;
|
|
729
731
|
brand_id?: string;
|
|
732
|
+
line_route?: string;
|
|
730
733
|
menu_works?: MenuWorksDTO;
|
|
731
734
|
is_out_of_stock?: boolean;
|
|
732
735
|
price_for_none?: number;
|
|
@@ -900,6 +903,16 @@ export interface SiteGroupDTO {
|
|
|
900
903
|
[index: string]: any;
|
|
901
904
|
}
|
|
902
905
|
|
|
906
|
+
export interface ExportSolutionDTO {
|
|
907
|
+
// Id of the solution
|
|
908
|
+
id: string;
|
|
909
|
+
// Human readable name of the solution
|
|
910
|
+
name: string;
|
|
911
|
+
// List of export types solution supports. Possible values: "csv", "xlsx", "json", "txt"
|
|
912
|
+
format: string[];
|
|
913
|
+
[index: string]: any;
|
|
914
|
+
}
|
|
915
|
+
|
|
903
916
|
export interface AuditListDraftItemDTO {
|
|
904
917
|
process_id: string;
|
|
905
918
|
brand_id: string;
|
|
@@ -1096,6 +1109,7 @@ export interface PublishedModifierDTO {
|
|
|
1096
1109
|
posid?: string;
|
|
1097
1110
|
posid_segment?: string;
|
|
1098
1111
|
brand_id?: string;
|
|
1112
|
+
line_route?: string;
|
|
1099
1113
|
is_out_of_stock?: boolean;
|
|
1100
1114
|
price_for_none?: number;
|
|
1101
1115
|
price_for_less?: number;
|
|
@@ -1420,6 +1434,7 @@ export interface DraftModifierEntityDTO {
|
|
|
1420
1434
|
reporting: ReportingMetadataDTO;
|
|
1421
1435
|
posid_segment?: string;
|
|
1422
1436
|
brand_id: string;
|
|
1437
|
+
line_route?: string;
|
|
1423
1438
|
menu_works?: MenuWorksDTO;
|
|
1424
1439
|
is_out_of_stock?: boolean;
|
|
1425
1440
|
price_for_none?: number;
|
|
@@ -1440,6 +1455,46 @@ export interface DraftModifierEntityDTO {
|
|
|
1440
1455
|
[index: string]: any;
|
|
1441
1456
|
}
|
|
1442
1457
|
|
|
1458
|
+
export interface UniversalItemWithoutIdDTO {
|
|
1459
|
+
barcode: string;
|
|
1460
|
+
name: string;
|
|
1461
|
+
description?: string;
|
|
1462
|
+
created_at?: string;
|
|
1463
|
+
updated_at?: string;
|
|
1464
|
+
is_verified: boolean;
|
|
1465
|
+
verified_at?: string;
|
|
1466
|
+
verified_by?: string;
|
|
1467
|
+
images?: Record<string, any>;
|
|
1468
|
+
metadata?: Record<string, any>;
|
|
1469
|
+
[index: string]: any;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
export interface UniversalItemResponseDTO {
|
|
1473
|
+
barcode: string;
|
|
1474
|
+
name: string;
|
|
1475
|
+
description?: string;
|
|
1476
|
+
created_at?: string;
|
|
1477
|
+
updated_at?: string;
|
|
1478
|
+
is_verified: boolean;
|
|
1479
|
+
verified_at?: string;
|
|
1480
|
+
verified_by?: string;
|
|
1481
|
+
images?: Record<string, any>;
|
|
1482
|
+
metadata?: Record<string, any>;
|
|
1483
|
+
[index: string]: any;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
export interface PutUniversalItemEntity {
|
|
1487
|
+
id?: string;
|
|
1488
|
+
barcode?: string;
|
|
1489
|
+
is_verified?: boolean;
|
|
1490
|
+
verified_at?: Record<string, any>;
|
|
1491
|
+
verified_by?: Record<string, any>;
|
|
1492
|
+
name?: string;
|
|
1493
|
+
description?: string;
|
|
1494
|
+
images?: Record<string, any>;
|
|
1495
|
+
metadata?: Record<string, any>;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1443
1498
|
// GET /menu/client/{client_id} - Get menu client
|
|
1444
1499
|
|
|
1445
1500
|
export interface GetMenuClientPath {
|
|
@@ -2132,12 +2187,12 @@ export interface DeleteMenuV3LocalMenuGroupRequest
|
|
|
2132
2187
|
// GET /menu/v3/local-menu-groups
|
|
2133
2188
|
|
|
2134
2189
|
export interface GetMenuV3LocalMenuGroupsQuery {
|
|
2190
|
+
// The fields that filtering is allowed on
|
|
2191
|
+
filter?: string;
|
|
2135
2192
|
// If specified, only the selected fields will be returned
|
|
2136
2193
|
select?: string[];
|
|
2137
2194
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2138
2195
|
relationships?: string[];
|
|
2139
|
-
// The fields that filtering is allowed on
|
|
2140
|
-
filter?: string;
|
|
2141
2196
|
// Number of records to load per page
|
|
2142
2197
|
limit?: number;
|
|
2143
2198
|
page?: number;
|
|
@@ -2201,6 +2256,18 @@ export interface GetMenuV3LocalMenuGroupsCountRequest
|
|
|
2201
2256
|
extends BaseRequest,
|
|
2202
2257
|
RequestQuery<GetMenuV3LocalMenuGroupsCountQuery> {}
|
|
2203
2258
|
|
|
2259
|
+
// POST /menu/v3/local-menu-group/{id}/recover
|
|
2260
|
+
|
|
2261
|
+
export interface PostMenuV3LocalMenuGroupRecoverPath {
|
|
2262
|
+
id: string;
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2265
|
+
export type PostMenuV3LocalMenuGroupRecoverResponse = LocalMenuGroupDTO;
|
|
2266
|
+
|
|
2267
|
+
export interface PostMenuV3LocalMenuGroupRecoverRequest
|
|
2268
|
+
extends BaseRequest,
|
|
2269
|
+
PostMenuV3LocalMenuGroupRecoverPath {}
|
|
2270
|
+
|
|
2204
2271
|
// GET /menu/v3/draft/local-menu-group/{id}/brands
|
|
2205
2272
|
|
|
2206
2273
|
export interface GetMenuV3DraftLocalMenuGroupBrandsPath {
|
|
@@ -2320,9 +2387,9 @@ export interface PostMenuV3LocalMenuGroupImportBrandsQuery {
|
|
|
2320
2387
|
select?: string[];
|
|
2321
2388
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2322
2389
|
relationships?: string[];
|
|
2323
|
-
"body.brand_ids"?: string[];
|
|
2324
2390
|
// The fields that filtering is allowed on
|
|
2325
2391
|
filter?: string;
|
|
2392
|
+
"body.brand_ids"?: string[];
|
|
2326
2393
|
// Number of records to load per page
|
|
2327
2394
|
limit?: number;
|
|
2328
2395
|
page?: number;
|
|
@@ -2414,6 +2481,21 @@ export interface DeleteMenuV3LocalMenuGroupsSiteGroupsRequest extends BaseReques
|
|
|
2414
2481
|
body: DeleteMenuV3LocalMenuGroupsSiteGroupsBody;
|
|
2415
2482
|
}
|
|
2416
2483
|
|
|
2484
|
+
// GET /menu/v3/local-menu-group/export/solutions
|
|
2485
|
+
|
|
2486
|
+
export interface GetMenuV3LocalMenuGroupExportSolutionsQuery {
|
|
2487
|
+
// Graphql query string
|
|
2488
|
+
_query?: string;
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2491
|
+
export interface GetMenuV3LocalMenuGroupExportSolutionsResponse {
|
|
2492
|
+
results?: ExportSolutionDTO[];
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
export interface GetMenuV3LocalMenuGroupExportSolutionsRequest
|
|
2496
|
+
extends BaseRequest,
|
|
2497
|
+
RequestQuery<GetMenuV3LocalMenuGroupExportSolutionsQuery> {}
|
|
2498
|
+
|
|
2417
2499
|
// POST /menu/v3/global-menu-group
|
|
2418
2500
|
|
|
2419
2501
|
export interface PostMenuV3GlobalMenuGroupBody {
|
|
@@ -2520,12 +2602,12 @@ export interface DeleteMenuV3GlobalMenuGroupRequest
|
|
|
2520
2602
|
// GET /menu/v3/global-menu-groups
|
|
2521
2603
|
|
|
2522
2604
|
export interface GetMenuV3GlobalMenuGroupsQuery {
|
|
2605
|
+
// The fields that filtering is allowed on
|
|
2606
|
+
filter?: string;
|
|
2523
2607
|
// If specified, only the selected fields will be returned
|
|
2524
2608
|
select?: string[];
|
|
2525
2609
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2526
2610
|
relationships?: string[];
|
|
2527
|
-
// The fields that filtering is allowed on
|
|
2528
|
-
filter?: string;
|
|
2529
2611
|
// Number of records to load per page
|
|
2530
2612
|
limit?: number;
|
|
2531
2613
|
page?: number;
|
|
@@ -2590,6 +2672,18 @@ export interface GetMenuV3GlobalMenuGroupsCountRequest
|
|
|
2590
2672
|
extends BaseRequest,
|
|
2591
2673
|
RequestQuery<GetMenuV3GlobalMenuGroupsCountQuery> {}
|
|
2592
2674
|
|
|
2675
|
+
// POST /menu/v3/global-menu-group/{id}/recover
|
|
2676
|
+
|
|
2677
|
+
export interface PostMenuV3GlobalMenuGroupRecoverPath {
|
|
2678
|
+
id: string;
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2681
|
+
export type PostMenuV3GlobalMenuGroupRecoverResponse = GlobalMenuGroupDTO;
|
|
2682
|
+
|
|
2683
|
+
export interface PostMenuV3GlobalMenuGroupRecoverRequest
|
|
2684
|
+
extends BaseRequest,
|
|
2685
|
+
PostMenuV3GlobalMenuGroupRecoverPath {}
|
|
2686
|
+
|
|
2593
2687
|
// GET /menu/v3/draft/global-menu-group/{id}/brands
|
|
2594
2688
|
|
|
2595
2689
|
export interface GetMenuV3DraftGlobalMenuGroupBrandsPath {
|
|
@@ -2792,12 +2886,12 @@ export interface DeleteMenuV3DraftBrandRequest
|
|
|
2792
2886
|
// GET /menu/v3/draft/brands
|
|
2793
2887
|
|
|
2794
2888
|
export interface GetMenuV3DraftBrandsQuery {
|
|
2889
|
+
// The fields that filtering is allowed on
|
|
2890
|
+
filter?: string;
|
|
2795
2891
|
// If specified, only the selected fields will be returned
|
|
2796
2892
|
select?: string[];
|
|
2797
2893
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2798
2894
|
relationships?: string[];
|
|
2799
|
-
// The fields that filtering is allowed on
|
|
2800
|
-
filter?: string;
|
|
2801
2895
|
// Number of records to load per page
|
|
2802
2896
|
limit?: number;
|
|
2803
2897
|
page?: number;
|
|
@@ -2883,6 +2977,18 @@ export interface GetMenuV3DraftBrandsCountRequest
|
|
|
2883
2977
|
extends BaseRequest,
|
|
2884
2978
|
RequestQuery<GetMenuV3DraftBrandsCountQuery> {}
|
|
2885
2979
|
|
|
2980
|
+
// POST /menu/v3/draft/brand/{id}/recover
|
|
2981
|
+
|
|
2982
|
+
export interface PostMenuV3DraftBrandRecoverPath {
|
|
2983
|
+
id: string;
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2986
|
+
export type PostMenuV3DraftBrandRecoverResponse = DraftBrandDTO;
|
|
2987
|
+
|
|
2988
|
+
export interface PostMenuV3DraftBrandRecoverRequest
|
|
2989
|
+
extends BaseRequest,
|
|
2990
|
+
PostMenuV3DraftBrandRecoverPath {}
|
|
2991
|
+
|
|
2886
2992
|
// GET /menu/v3/draft/brand/{id}/audits
|
|
2887
2993
|
|
|
2888
2994
|
export interface GetMenuV3DraftBrandAuditsPath {
|
|
@@ -2890,11 +2996,11 @@ export interface GetMenuV3DraftBrandAuditsPath {
|
|
|
2890
2996
|
}
|
|
2891
2997
|
|
|
2892
2998
|
export interface GetMenuV3DraftBrandAuditsQuery {
|
|
2999
|
+
filter?: string;
|
|
2893
3000
|
// If specified, only the selected fields will be returned
|
|
2894
3001
|
select?: string[];
|
|
2895
3002
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2896
3003
|
relationships?: string[];
|
|
2897
|
-
filter?: string;
|
|
2898
3004
|
// Number of records to load per page
|
|
2899
3005
|
limit?: number;
|
|
2900
3006
|
page?: number;
|
|
@@ -3379,12 +3485,12 @@ export interface DeleteMenuV3BrandRequest
|
|
|
3379
3485
|
// GET /menu/v3/brands
|
|
3380
3486
|
|
|
3381
3487
|
export interface GetMenuV3BrandsQuery {
|
|
3488
|
+
// The fields that filtering is allowed on
|
|
3489
|
+
filter?: string;
|
|
3382
3490
|
// If specified, only the selected fields will be returned
|
|
3383
3491
|
select?: string[];
|
|
3384
3492
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3385
3493
|
relationships?: string[];
|
|
3386
|
-
// The fields that filtering is allowed on
|
|
3387
|
-
filter?: string;
|
|
3388
3494
|
// Number of records to load per page
|
|
3389
3495
|
limit?: number;
|
|
3390
3496
|
page?: number;
|
|
@@ -3469,6 +3575,23 @@ export interface GetMenuV3BrandsCountRequest
|
|
|
3469
3575
|
extends BaseRequest,
|
|
3470
3576
|
RequestQuery<GetMenuV3BrandsCountQuery> {}
|
|
3471
3577
|
|
|
3578
|
+
// POST /menu/v3/brand/{id}/recover
|
|
3579
|
+
|
|
3580
|
+
export interface PostMenuV3BrandRecoverPath {
|
|
3581
|
+
id: string;
|
|
3582
|
+
}
|
|
3583
|
+
|
|
3584
|
+
export interface PostMenuV3BrandRecoverQuery {
|
|
3585
|
+
nocache?: boolean;
|
|
3586
|
+
}
|
|
3587
|
+
|
|
3588
|
+
export type PostMenuV3BrandRecoverResponse = PublishedBrandDTO;
|
|
3589
|
+
|
|
3590
|
+
export interface PostMenuV3BrandRecoverRequest
|
|
3591
|
+
extends BaseRequest,
|
|
3592
|
+
RequestQuery<PostMenuV3BrandRecoverQuery>,
|
|
3593
|
+
PostMenuV3BrandRecoverPath {}
|
|
3594
|
+
|
|
3472
3595
|
// GET /menu/v3/brand/{id}/menus
|
|
3473
3596
|
|
|
3474
3597
|
export interface GetMenuV3BrandMenusPath {
|
|
@@ -3711,12 +3834,12 @@ export interface DeleteMenuV3DraftMenuRequest
|
|
|
3711
3834
|
// GET /menu/v3/draft/menus
|
|
3712
3835
|
|
|
3713
3836
|
export interface GetMenuV3DraftMenusQuery {
|
|
3837
|
+
// The fields that filtering is allowed on
|
|
3838
|
+
filter?: string;
|
|
3714
3839
|
// If specified, only the selected fields will be returned
|
|
3715
3840
|
select?: string[];
|
|
3716
3841
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3717
3842
|
relationships?: string[];
|
|
3718
|
-
// The fields that filtering is allowed on
|
|
3719
|
-
filter?: string;
|
|
3720
3843
|
// Number of records to load per page
|
|
3721
3844
|
limit?: number;
|
|
3722
3845
|
page?: number;
|
|
@@ -3784,6 +3907,18 @@ export interface GetMenuV3DraftMenusCountRequest
|
|
|
3784
3907
|
extends BaseRequest,
|
|
3785
3908
|
RequestQuery<GetMenuV3DraftMenusCountQuery> {}
|
|
3786
3909
|
|
|
3910
|
+
// POST /menu/v3/draft/menu/{id}/recover
|
|
3911
|
+
|
|
3912
|
+
export interface PostMenuV3DraftMenuRecoverPath {
|
|
3913
|
+
id: string;
|
|
3914
|
+
}
|
|
3915
|
+
|
|
3916
|
+
export type PostMenuV3DraftMenuRecoverResponse = DraftMenuDTO;
|
|
3917
|
+
|
|
3918
|
+
export interface PostMenuV3DraftMenuRecoverRequest
|
|
3919
|
+
extends BaseRequest,
|
|
3920
|
+
PostMenuV3DraftMenuRecoverPath {}
|
|
3921
|
+
|
|
3787
3922
|
// GET /menu/v3/draft/menu/{id}/categories
|
|
3788
3923
|
|
|
3789
3924
|
export interface GetMenuV3DraftMenuCategoriesPath {
|
|
@@ -3860,12 +3995,12 @@ export interface GetMenuV3MenuRequest
|
|
|
3860
3995
|
// GET /menu/v3/menus
|
|
3861
3996
|
|
|
3862
3997
|
export interface GetMenuV3MenusQuery {
|
|
3998
|
+
// The fields that filtering is allowed on
|
|
3999
|
+
filter?: string;
|
|
3863
4000
|
// If specified, only the selected fields will be returned
|
|
3864
4001
|
select?: string[];
|
|
3865
4002
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3866
4003
|
relationships?: string[];
|
|
3867
|
-
// The fields that filtering is allowed on
|
|
3868
|
-
filter?: string;
|
|
3869
4004
|
// Number of records to load per page
|
|
3870
4005
|
limit?: number;
|
|
3871
4006
|
page?: number;
|
|
@@ -3906,6 +4041,23 @@ export interface GetMenuV3MenusCountRequest
|
|
|
3906
4041
|
extends BaseRequest,
|
|
3907
4042
|
RequestQuery<GetMenuV3MenusCountQuery> {}
|
|
3908
4043
|
|
|
4044
|
+
// POST /menu/v3/menu/{id}/recover
|
|
4045
|
+
|
|
4046
|
+
export interface PostMenuV3MenuRecoverPath {
|
|
4047
|
+
id: string;
|
|
4048
|
+
}
|
|
4049
|
+
|
|
4050
|
+
export interface PostMenuV3MenuRecoverQuery {
|
|
4051
|
+
nocache?: boolean;
|
|
4052
|
+
}
|
|
4053
|
+
|
|
4054
|
+
export type PostMenuV3MenuRecoverResponse = PublishedMenuDTO;
|
|
4055
|
+
|
|
4056
|
+
export interface PostMenuV3MenuRecoverRequest
|
|
4057
|
+
extends BaseRequest,
|
|
4058
|
+
RequestQuery<PostMenuV3MenuRecoverQuery>,
|
|
4059
|
+
PostMenuV3MenuRecoverPath {}
|
|
4060
|
+
|
|
3909
4061
|
// GET /menu/v3/menu/{id}/categories
|
|
3910
4062
|
|
|
3911
4063
|
export interface GetMenuV3MenuCategoriesPath {
|
|
@@ -3951,6 +4103,7 @@ export interface PatchMenuV3StockPath {
|
|
|
3951
4103
|
|
|
3952
4104
|
export interface PatchMenuV3StockBody {
|
|
3953
4105
|
id: string;
|
|
4106
|
+
reset_time?: string;
|
|
3954
4107
|
groups?: GroupStockUpdate[];
|
|
3955
4108
|
[index: string]: any;
|
|
3956
4109
|
}
|
|
@@ -4126,6 +4279,18 @@ export interface PostMenuV3DraftCategoriesRequest extends BaseRequest {
|
|
|
4126
4279
|
body: PostMenuV3DraftCategoriesBody;
|
|
4127
4280
|
}
|
|
4128
4281
|
|
|
4282
|
+
// POST /menu/v3/draft/category/{id}/recover
|
|
4283
|
+
|
|
4284
|
+
export interface PostMenuV3DraftCategoryRecoverPath {
|
|
4285
|
+
id: string;
|
|
4286
|
+
}
|
|
4287
|
+
|
|
4288
|
+
export type PostMenuV3DraftCategoryRecoverResponse = DraftCategoryDTO;
|
|
4289
|
+
|
|
4290
|
+
export interface PostMenuV3DraftCategoryRecoverRequest
|
|
4291
|
+
extends BaseRequest,
|
|
4292
|
+
PostMenuV3DraftCategoryRecoverPath {}
|
|
4293
|
+
|
|
4129
4294
|
// POST /menu/v3/draft/category/{id}/attachment/{name}
|
|
4130
4295
|
|
|
4131
4296
|
export interface PostMenuV3DraftCategoryAttachmentPath {
|
|
@@ -4188,6 +4353,23 @@ export interface GetMenuV3CategorysCountRequest
|
|
|
4188
4353
|
extends BaseRequest,
|
|
4189
4354
|
RequestQuery<GetMenuV3CategorysCountQuery> {}
|
|
4190
4355
|
|
|
4356
|
+
// POST /menu/v3/category/{id}/recover
|
|
4357
|
+
|
|
4358
|
+
export interface PostMenuV3CategoryRecoverPath {
|
|
4359
|
+
id: string;
|
|
4360
|
+
}
|
|
4361
|
+
|
|
4362
|
+
export interface PostMenuV3CategoryRecoverQuery {
|
|
4363
|
+
nocache?: boolean;
|
|
4364
|
+
}
|
|
4365
|
+
|
|
4366
|
+
export type PostMenuV3CategoryRecoverResponse = PublishedCategoryDTO;
|
|
4367
|
+
|
|
4368
|
+
export interface PostMenuV3CategoryRecoverRequest
|
|
4369
|
+
extends BaseRequest,
|
|
4370
|
+
RequestQuery<PostMenuV3CategoryRecoverQuery>,
|
|
4371
|
+
PostMenuV3CategoryRecoverPath {}
|
|
4372
|
+
|
|
4191
4373
|
// POST /menu/v3/draft/category/relationships/item
|
|
4192
4374
|
|
|
4193
4375
|
export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
@@ -4290,12 +4472,12 @@ export interface DeleteMenuV3DraftCategoryRelationshipsItemRequest
|
|
|
4290
4472
|
// GET /menu/v3/draft/category/relationships/items
|
|
4291
4473
|
|
|
4292
4474
|
export interface GetMenuV3DraftCategoryRelationshipsItemsQuery {
|
|
4475
|
+
// The fields that filtering is allowed on
|
|
4476
|
+
filter?: string;
|
|
4293
4477
|
// If specified, only the selected fields will be returned
|
|
4294
4478
|
select?: string[];
|
|
4295
4479
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
4296
4480
|
relationships?: string[];
|
|
4297
|
-
// The fields that filtering is allowed on
|
|
4298
|
-
filter?: string;
|
|
4299
4481
|
// Number of records to load per page
|
|
4300
4482
|
limit?: number;
|
|
4301
4483
|
page?: number;
|
|
@@ -4366,6 +4548,19 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsCountRequest
|
|
|
4366
4548
|
extends BaseRequest,
|
|
4367
4549
|
RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsCountQuery> {}
|
|
4368
4550
|
|
|
4551
|
+
// POST /menu/v3/draft/category/relationships/item/{id}/recover
|
|
4552
|
+
|
|
4553
|
+
export interface PostMenuV3DraftCategoryRelationshipsItemRecoverPath {
|
|
4554
|
+
id: string;
|
|
4555
|
+
}
|
|
4556
|
+
|
|
4557
|
+
export type PostMenuV3DraftCategoryRelationshipsItemRecoverResponse =
|
|
4558
|
+
DraftCategoryToItemRelationshipDTO;
|
|
4559
|
+
|
|
4560
|
+
export interface PostMenuV3DraftCategoryRelationshipsItemRecoverRequest
|
|
4561
|
+
extends BaseRequest,
|
|
4562
|
+
PostMenuV3DraftCategoryRelationshipsItemRecoverPath {}
|
|
4563
|
+
|
|
4369
4564
|
// GET /menu/v3/category/relationships/item/{id}
|
|
4370
4565
|
|
|
4371
4566
|
export interface GetMenuV3CategoryRelationshipsItemPath {
|
|
@@ -4392,12 +4587,12 @@ export interface GetMenuV3CategoryRelationshipsItemRequest
|
|
|
4392
4587
|
// GET /menu/v3/category/relationships/items
|
|
4393
4588
|
|
|
4394
4589
|
export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
4590
|
+
// The fields that filtering is allowed on
|
|
4591
|
+
filter?: string;
|
|
4395
4592
|
// If specified, only the selected fields will be returned
|
|
4396
4593
|
select?: string[];
|
|
4397
4594
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
4398
4595
|
relationships?: string[];
|
|
4399
|
-
// The fields that filtering is allowed on
|
|
4400
|
-
filter?: string;
|
|
4401
4596
|
// Number of records to load per page
|
|
4402
4597
|
limit?: number;
|
|
4403
4598
|
page?: number;
|
|
@@ -4440,6 +4635,24 @@ export interface GetMenuV3CategoryRelationshipsItemsCountRequest
|
|
|
4440
4635
|
extends BaseRequest,
|
|
4441
4636
|
RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {}
|
|
4442
4637
|
|
|
4638
|
+
// POST /menu/v3/category/relationships/item/{id}/recover
|
|
4639
|
+
|
|
4640
|
+
export interface PostMenuV3CategoryRelationshipsItemRecoverPath {
|
|
4641
|
+
id: string;
|
|
4642
|
+
}
|
|
4643
|
+
|
|
4644
|
+
export interface PostMenuV3CategoryRelationshipsItemRecoverQuery {
|
|
4645
|
+
nocache?: boolean;
|
|
4646
|
+
}
|
|
4647
|
+
|
|
4648
|
+
export type PostMenuV3CategoryRelationshipsItemRecoverResponse =
|
|
4649
|
+
PublishedCategoryToItemRelationshipDTO;
|
|
4650
|
+
|
|
4651
|
+
export interface PostMenuV3CategoryRelationshipsItemRecoverRequest
|
|
4652
|
+
extends BaseRequest,
|
|
4653
|
+
RequestQuery<PostMenuV3CategoryRelationshipsItemRecoverQuery>,
|
|
4654
|
+
PostMenuV3CategoryRelationshipsItemRecoverPath {}
|
|
4655
|
+
|
|
4443
4656
|
// POST /menu/v3/draft/item
|
|
4444
4657
|
|
|
4445
4658
|
export interface PostMenuV3DraftItemBody {
|
|
@@ -4597,12 +4810,12 @@ export interface DeleteMenuV3DraftItemsRequest extends BaseRequest {
|
|
|
4597
4810
|
// GET /menu/v3/draft/items
|
|
4598
4811
|
|
|
4599
4812
|
export interface GetMenuV3DraftItemsQuery {
|
|
4813
|
+
// The fields that filtering is allowed on
|
|
4814
|
+
filter?: string;
|
|
4600
4815
|
// If specified, only the selected fields will be returned
|
|
4601
4816
|
select?: string[];
|
|
4602
4817
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
4603
4818
|
relationships?: string[];
|
|
4604
|
-
// The fields that filtering is allowed on
|
|
4605
|
-
filter?: string;
|
|
4606
4819
|
// Number of records to load per page
|
|
4607
4820
|
limit?: number;
|
|
4608
4821
|
page?: number;
|
|
@@ -4693,6 +4906,18 @@ export interface GetMenuV3DraftItemsCountRequest
|
|
|
4693
4906
|
extends BaseRequest,
|
|
4694
4907
|
RequestQuery<GetMenuV3DraftItemsCountQuery> {}
|
|
4695
4908
|
|
|
4909
|
+
// POST /menu/v3/draft/item/{id}/recover
|
|
4910
|
+
|
|
4911
|
+
export interface PostMenuV3DraftItemRecoverPath {
|
|
4912
|
+
id: string;
|
|
4913
|
+
}
|
|
4914
|
+
|
|
4915
|
+
export type PostMenuV3DraftItemRecoverResponse = DraftItemDTO;
|
|
4916
|
+
|
|
4917
|
+
export interface PostMenuV3DraftItemRecoverRequest
|
|
4918
|
+
extends BaseRequest,
|
|
4919
|
+
PostMenuV3DraftItemRecoverPath {}
|
|
4920
|
+
|
|
4696
4921
|
// GET /menu/v3/draft/item/{id}/line-routes
|
|
4697
4922
|
|
|
4698
4923
|
export interface GetMenuV3DraftItemLineRoutesPath {
|
|
@@ -4861,12 +5086,12 @@ export interface GetMenuV3ItemRequest
|
|
|
4861
5086
|
// GET /menu/v3/items
|
|
4862
5087
|
|
|
4863
5088
|
export interface GetMenuV3ItemsQuery {
|
|
5089
|
+
// The fields that filtering is allowed on
|
|
5090
|
+
filter?: string;
|
|
4864
5091
|
// If specified, only the selected fields will be returned
|
|
4865
5092
|
select?: string[];
|
|
4866
5093
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
4867
5094
|
relationships?: string[];
|
|
4868
|
-
// The fields that filtering is allowed on
|
|
4869
|
-
filter?: string;
|
|
4870
5095
|
// Number of records to load per page
|
|
4871
5096
|
limit?: number;
|
|
4872
5097
|
page?: number;
|
|
@@ -4907,6 +5132,23 @@ export interface GetMenuV3ItemsCountRequest
|
|
|
4907
5132
|
extends BaseRequest,
|
|
4908
5133
|
RequestQuery<GetMenuV3ItemsCountQuery> {}
|
|
4909
5134
|
|
|
5135
|
+
// POST /menu/v3/item/{id}/recover
|
|
5136
|
+
|
|
5137
|
+
export interface PostMenuV3ItemRecoverPath {
|
|
5138
|
+
id: string;
|
|
5139
|
+
}
|
|
5140
|
+
|
|
5141
|
+
export interface PostMenuV3ItemRecoverQuery {
|
|
5142
|
+
nocache?: boolean;
|
|
5143
|
+
}
|
|
5144
|
+
|
|
5145
|
+
export type PostMenuV3ItemRecoverResponse = PublishedItemDTO;
|
|
5146
|
+
|
|
5147
|
+
export interface PostMenuV3ItemRecoverRequest
|
|
5148
|
+
extends BaseRequest,
|
|
5149
|
+
RequestQuery<PostMenuV3ItemRecoverQuery>,
|
|
5150
|
+
PostMenuV3ItemRecoverPath {}
|
|
5151
|
+
|
|
4910
5152
|
// POST /menu/v3/draft/item/relationships/modifier-group
|
|
4911
5153
|
|
|
4912
5154
|
export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
@@ -5013,12 +5255,12 @@ export interface DeleteMenuV3DraftItemRelationshipsModifierGroupRequest
|
|
|
5013
5255
|
// GET /menu/v3/draft/item/relationships/modifier-groups
|
|
5014
5256
|
|
|
5015
5257
|
export interface GetMenuV3DraftItemRelationshipsModifierGroupsQuery {
|
|
5258
|
+
// The fields that filtering is allowed on
|
|
5259
|
+
filter?: string;
|
|
5016
5260
|
// If specified, only the selected fields will be returned
|
|
5017
5261
|
select?: string[];
|
|
5018
5262
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5019
5263
|
relationships?: string[];
|
|
5020
|
-
// The fields that filtering is allowed on
|
|
5021
|
-
filter?: string;
|
|
5022
5264
|
// Number of records to load per page
|
|
5023
5265
|
limit?: number;
|
|
5024
5266
|
page?: number;
|
|
@@ -5089,6 +5331,19 @@ export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountRequest
|
|
|
5089
5331
|
extends BaseRequest,
|
|
5090
5332
|
RequestQuery<GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery> {}
|
|
5091
5333
|
|
|
5334
|
+
// POST /menu/v3/draft/item/relationships/modifier-group/{id}/recover
|
|
5335
|
+
|
|
5336
|
+
export interface PostMenuV3DraftItemRelationshipsModifierGroupRecoverPath {
|
|
5337
|
+
id: string;
|
|
5338
|
+
}
|
|
5339
|
+
|
|
5340
|
+
export type PostMenuV3DraftItemRelationshipsModifierGroupRecoverResponse =
|
|
5341
|
+
DraftItemToModifierGroupRelationshipDTO;
|
|
5342
|
+
|
|
5343
|
+
export interface PostMenuV3DraftItemRelationshipsModifierGroupRecoverRequest
|
|
5344
|
+
extends BaseRequest,
|
|
5345
|
+
PostMenuV3DraftItemRelationshipsModifierGroupRecoverPath {}
|
|
5346
|
+
|
|
5092
5347
|
// GET /menu/v3/item/relationships/modifier-group/{id}
|
|
5093
5348
|
|
|
5094
5349
|
export interface GetMenuV3ItemRelationshipsModifierGroupPath {
|
|
@@ -5116,12 +5371,12 @@ export interface GetMenuV3ItemRelationshipsModifierGroupRequest
|
|
|
5116
5371
|
// GET /menu/v3/item/relationships/modifier-groups
|
|
5117
5372
|
|
|
5118
5373
|
export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
|
|
5374
|
+
// The fields that filtering is allowed on
|
|
5375
|
+
filter?: string;
|
|
5119
5376
|
// If specified, only the selected fields will be returned
|
|
5120
5377
|
select?: string[];
|
|
5121
5378
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5122
5379
|
relationships?: string[];
|
|
5123
|
-
// The fields that filtering is allowed on
|
|
5124
|
-
filter?: string;
|
|
5125
5380
|
// Number of records to load per page
|
|
5126
5381
|
limit?: number;
|
|
5127
5382
|
page?: number;
|
|
@@ -5164,6 +5419,24 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsCountRequest
|
|
|
5164
5419
|
extends BaseRequest,
|
|
5165
5420
|
RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsCountQuery> {}
|
|
5166
5421
|
|
|
5422
|
+
// POST /menu/v3/item/relationships/modifier-group/{id}/recover
|
|
5423
|
+
|
|
5424
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupRecoverPath {
|
|
5425
|
+
id: string;
|
|
5426
|
+
}
|
|
5427
|
+
|
|
5428
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupRecoverQuery {
|
|
5429
|
+
nocache?: boolean;
|
|
5430
|
+
}
|
|
5431
|
+
|
|
5432
|
+
export type PostMenuV3ItemRelationshipsModifierGroupRecoverResponse =
|
|
5433
|
+
PublishedItemToModifierGroupRelationshipDTO;
|
|
5434
|
+
|
|
5435
|
+
export interface PostMenuV3ItemRelationshipsModifierGroupRecoverRequest
|
|
5436
|
+
extends BaseRequest,
|
|
5437
|
+
RequestQuery<PostMenuV3ItemRelationshipsModifierGroupRecoverQuery>,
|
|
5438
|
+
PostMenuV3ItemRelationshipsModifierGroupRecoverPath {}
|
|
5439
|
+
|
|
5167
5440
|
// POST /menu/v3/draft/modifier-group
|
|
5168
5441
|
|
|
5169
5442
|
export interface PostMenuV3DraftModifierGroupBody {
|
|
@@ -5280,12 +5553,12 @@ export interface DeleteMenuV3DraftModifierGroupRequest
|
|
|
5280
5553
|
// GET /menu/v3/draft/modifier-groups
|
|
5281
5554
|
|
|
5282
5555
|
export interface GetMenuV3DraftModifierGroupsQuery {
|
|
5556
|
+
// The fields that filtering is allowed on
|
|
5557
|
+
filter?: string;
|
|
5283
5558
|
// If specified, only the selected fields will be returned
|
|
5284
5559
|
select?: string[];
|
|
5285
5560
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5286
5561
|
relationships?: string[];
|
|
5287
|
-
// The fields that filtering is allowed on
|
|
5288
|
-
filter?: string;
|
|
5289
5562
|
// Number of records to load per page
|
|
5290
5563
|
limit?: number;
|
|
5291
5564
|
page?: number;
|
|
@@ -5363,12 +5636,28 @@ export interface GetMenuV3DraftModifierGroupsCountRequest
|
|
|
5363
5636
|
extends BaseRequest,
|
|
5364
5637
|
RequestQuery<GetMenuV3DraftModifierGroupsCountQuery> {}
|
|
5365
5638
|
|
|
5639
|
+
// POST /menu/v3/draft/modifier-group/{id}/recover
|
|
5640
|
+
|
|
5641
|
+
export interface PostMenuV3DraftModifierGroupRecoverPath {
|
|
5642
|
+
id: string;
|
|
5643
|
+
}
|
|
5644
|
+
|
|
5645
|
+
export type PostMenuV3DraftModifierGroupRecoverResponse = DraftModifierGroupDTO;
|
|
5646
|
+
|
|
5647
|
+
export interface PostMenuV3DraftModifierGroupRecoverRequest
|
|
5648
|
+
extends BaseRequest,
|
|
5649
|
+
PostMenuV3DraftModifierGroupRecoverPath {}
|
|
5650
|
+
|
|
5366
5651
|
// POST /menu/v3/draft/modifier-group/{id}/duplicate
|
|
5367
5652
|
|
|
5368
5653
|
export interface PostMenuV3DraftModifierGroupDuplicatePath {
|
|
5369
5654
|
id: string;
|
|
5370
5655
|
}
|
|
5371
5656
|
|
|
5657
|
+
export interface PostMenuV3DraftModifierGroupDuplicateQuery {
|
|
5658
|
+
duplicate_modifiers?: boolean;
|
|
5659
|
+
}
|
|
5660
|
+
|
|
5372
5661
|
export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
5373
5662
|
parent?: DraftModifierGroupDTO;
|
|
5374
5663
|
children?: DraftModifierGroupDTO[];
|
|
@@ -5401,6 +5690,7 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
5401
5690
|
|
|
5402
5691
|
export interface PostMenuV3DraftModifierGroupDuplicateRequest
|
|
5403
5692
|
extends BaseRequest,
|
|
5693
|
+
RequestQuery<PostMenuV3DraftModifierGroupDuplicateQuery>,
|
|
5404
5694
|
PostMenuV3DraftModifierGroupDuplicatePath {}
|
|
5405
5695
|
|
|
5406
5696
|
// GET /menu/v3/modifier-group/{id}
|
|
@@ -5429,12 +5719,12 @@ export interface GetMenuV3ModifierGroupRequest
|
|
|
5429
5719
|
// GET /menu/v3/modifier-groups
|
|
5430
5720
|
|
|
5431
5721
|
export interface GetMenuV3ModifierGroupsQuery {
|
|
5722
|
+
// The fields that filtering is allowed on
|
|
5723
|
+
filter?: string;
|
|
5432
5724
|
// If specified, only the selected fields will be returned
|
|
5433
5725
|
select?: string[];
|
|
5434
5726
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5435
5727
|
relationships?: string[];
|
|
5436
|
-
// The fields that filtering is allowed on
|
|
5437
|
-
filter?: string;
|
|
5438
5728
|
// Number of records to load per page
|
|
5439
5729
|
limit?: number;
|
|
5440
5730
|
page?: number;
|
|
@@ -5477,6 +5767,23 @@ export interface GetMenuV3ModifierGroupsCountRequest
|
|
|
5477
5767
|
extends BaseRequest,
|
|
5478
5768
|
RequestQuery<GetMenuV3ModifierGroupsCountQuery> {}
|
|
5479
5769
|
|
|
5770
|
+
// POST /menu/v3/modifier-group/{id}/recover
|
|
5771
|
+
|
|
5772
|
+
export interface PostMenuV3ModifierGroupRecoverPath {
|
|
5773
|
+
id: string;
|
|
5774
|
+
}
|
|
5775
|
+
|
|
5776
|
+
export interface PostMenuV3ModifierGroupRecoverQuery {
|
|
5777
|
+
nocache?: boolean;
|
|
5778
|
+
}
|
|
5779
|
+
|
|
5780
|
+
export type PostMenuV3ModifierGroupRecoverResponse = PublishedModifierGroupDTO;
|
|
5781
|
+
|
|
5782
|
+
export interface PostMenuV3ModifierGroupRecoverRequest
|
|
5783
|
+
extends BaseRequest,
|
|
5784
|
+
RequestQuery<PostMenuV3ModifierGroupRecoverQuery>,
|
|
5785
|
+
PostMenuV3ModifierGroupRecoverPath {}
|
|
5786
|
+
|
|
5480
5787
|
// POST /menu/v3/draft/modifier-group/relationships/modifier
|
|
5481
5788
|
|
|
5482
5789
|
export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
@@ -5583,12 +5890,12 @@ export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierRequest
|
|
|
5583
5890
|
// GET /menu/v3/draft/modifier-group/relationships/modifiers
|
|
5584
5891
|
|
|
5585
5892
|
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersQuery {
|
|
5893
|
+
// The fields that filtering is allowed on
|
|
5894
|
+
filter?: string;
|
|
5586
5895
|
// If specified, only the selected fields will be returned
|
|
5587
5896
|
select?: string[];
|
|
5588
5897
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5589
5898
|
relationships?: string[];
|
|
5590
|
-
// The fields that filtering is allowed on
|
|
5591
|
-
filter?: string;
|
|
5592
5899
|
// Number of records to load per page
|
|
5593
5900
|
limit?: number;
|
|
5594
5901
|
page?: number;
|
|
@@ -5659,6 +5966,19 @@ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountRequest
|
|
|
5659
5966
|
extends BaseRequest,
|
|
5660
5967
|
RequestQuery<GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery> {}
|
|
5661
5968
|
|
|
5969
|
+
// POST /menu/v3/draft/modifier-group/relationships/modifier/{id}/recover
|
|
5970
|
+
|
|
5971
|
+
export interface PostMenuV3DraftModifierGroupRelationshipsModifierRecoverPath {
|
|
5972
|
+
id: string;
|
|
5973
|
+
}
|
|
5974
|
+
|
|
5975
|
+
export type PostMenuV3DraftModifierGroupRelationshipsModifierRecoverResponse =
|
|
5976
|
+
DraftModifierGroupToModifierRelationshipDTO;
|
|
5977
|
+
|
|
5978
|
+
export interface PostMenuV3DraftModifierGroupRelationshipsModifierRecoverRequest
|
|
5979
|
+
extends BaseRequest,
|
|
5980
|
+
PostMenuV3DraftModifierGroupRelationshipsModifierRecoverPath {}
|
|
5981
|
+
|
|
5662
5982
|
// GET /menu/v3/modifier-group/relationships/modifier/{id}
|
|
5663
5983
|
|
|
5664
5984
|
export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
|
|
@@ -5686,12 +6006,12 @@ export interface GetMenuV3ModifierGroupRelationshipsModifierRequest
|
|
|
5686
6006
|
// GET /menu/v3/modifier-group/relationships/modifiers
|
|
5687
6007
|
|
|
5688
6008
|
export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
|
|
6009
|
+
// The fields that filtering is allowed on
|
|
6010
|
+
filter?: string;
|
|
5689
6011
|
// If specified, only the selected fields will be returned
|
|
5690
6012
|
select?: string[];
|
|
5691
6013
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5692
6014
|
relationships?: string[];
|
|
5693
|
-
// The fields that filtering is allowed on
|
|
5694
|
-
filter?: string;
|
|
5695
6015
|
// Number of records to load per page
|
|
5696
6016
|
limit?: number;
|
|
5697
6017
|
page?: number;
|
|
@@ -5734,6 +6054,24 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest
|
|
|
5734
6054
|
extends BaseRequest,
|
|
5735
6055
|
RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersCountQuery> {}
|
|
5736
6056
|
|
|
6057
|
+
// POST /menu/v3/modifier-group/relationships/modifier/{id}/recover
|
|
6058
|
+
|
|
6059
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierRecoverPath {
|
|
6060
|
+
id: string;
|
|
6061
|
+
}
|
|
6062
|
+
|
|
6063
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierRecoverQuery {
|
|
6064
|
+
nocache?: boolean;
|
|
6065
|
+
}
|
|
6066
|
+
|
|
6067
|
+
export type PostMenuV3ModifierGroupRelationshipsModifierRecoverResponse =
|
|
6068
|
+
PublishedModifierGroupToModifierRelationshipDTO;
|
|
6069
|
+
|
|
6070
|
+
export interface PostMenuV3ModifierGroupRelationshipsModifierRecoverRequest
|
|
6071
|
+
extends BaseRequest,
|
|
6072
|
+
RequestQuery<PostMenuV3ModifierGroupRelationshipsModifierRecoverQuery>,
|
|
6073
|
+
PostMenuV3ModifierGroupRelationshipsModifierRecoverPath {}
|
|
6074
|
+
|
|
5737
6075
|
// POST /menu/v3/draft/modifier
|
|
5738
6076
|
|
|
5739
6077
|
export interface PostMenuV3DraftModifierBody {
|
|
@@ -5754,6 +6092,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
5754
6092
|
reporting: ReportingMetadataDTO;
|
|
5755
6093
|
posid_segment?: string;
|
|
5756
6094
|
brand_id: string;
|
|
6095
|
+
line_route?: string;
|
|
5757
6096
|
menu_works?: MenuWorksDTO;
|
|
5758
6097
|
is_out_of_stock?: boolean;
|
|
5759
6098
|
price_for_none?: number;
|
|
@@ -5826,6 +6165,7 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
5826
6165
|
reporting?: ReportingMetadataDTO;
|
|
5827
6166
|
posid_segment?: string;
|
|
5828
6167
|
brand_id?: string;
|
|
6168
|
+
line_route?: string;
|
|
5829
6169
|
menu_works?: MenuWorksDTO;
|
|
5830
6170
|
is_out_of_stock?: boolean;
|
|
5831
6171
|
price_for_none?: number;
|
|
@@ -5889,12 +6229,12 @@ export interface DeleteMenuV3DraftModifiersRequest extends BaseRequest {
|
|
|
5889
6229
|
// GET /menu/v3/draft/modifiers
|
|
5890
6230
|
|
|
5891
6231
|
export interface GetMenuV3DraftModifiersQuery {
|
|
6232
|
+
// The fields that filtering is allowed on
|
|
6233
|
+
filter?: string;
|
|
5892
6234
|
// If specified, only the selected fields will be returned
|
|
5893
6235
|
select?: string[];
|
|
5894
6236
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5895
6237
|
relationships?: string[];
|
|
5896
|
-
// The fields that filtering is allowed on
|
|
5897
|
-
filter?: string;
|
|
5898
6238
|
// Number of records to load per page
|
|
5899
6239
|
limit?: number;
|
|
5900
6240
|
page?: number;
|
|
@@ -5937,6 +6277,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
5937
6277
|
reporting: ReportingMetadataDTO;
|
|
5938
6278
|
posid_segment?: string;
|
|
5939
6279
|
brand_id: string;
|
|
6280
|
+
line_route?: string;
|
|
5940
6281
|
menu_works?: MenuWorksDTO;
|
|
5941
6282
|
is_out_of_stock?: boolean;
|
|
5942
6283
|
price_for_none?: number;
|
|
@@ -5984,6 +6325,39 @@ export interface GetMenuV3DraftModifiersCountRequest
|
|
|
5984
6325
|
extends BaseRequest,
|
|
5985
6326
|
RequestQuery<GetMenuV3DraftModifiersCountQuery> {}
|
|
5986
6327
|
|
|
6328
|
+
// POST /menu/v3/draft/modifier/{id}/recover
|
|
6329
|
+
|
|
6330
|
+
export interface PostMenuV3DraftModifierRecoverPath {
|
|
6331
|
+
id: string;
|
|
6332
|
+
}
|
|
6333
|
+
|
|
6334
|
+
export type PostMenuV3DraftModifierRecoverResponse = DraftModifierDTO;
|
|
6335
|
+
|
|
6336
|
+
export interface PostMenuV3DraftModifierRecoverRequest
|
|
6337
|
+
extends BaseRequest,
|
|
6338
|
+
PostMenuV3DraftModifierRecoverPath {}
|
|
6339
|
+
|
|
6340
|
+
// GET /menu/v3/draft/modifier/{id}/line-routes
|
|
6341
|
+
|
|
6342
|
+
export interface GetMenuV3DraftModifierLineRoutesPath {
|
|
6343
|
+
id: string;
|
|
6344
|
+
}
|
|
6345
|
+
|
|
6346
|
+
export interface GetMenuV3DraftModifierLineRoutesQuery {
|
|
6347
|
+
search?: string;
|
|
6348
|
+
// Graphql query string
|
|
6349
|
+
_query?: string;
|
|
6350
|
+
}
|
|
6351
|
+
|
|
6352
|
+
export interface GetMenuV3DraftModifierLineRoutesResponse {
|
|
6353
|
+
results?: LineRouteSuggestion[];
|
|
6354
|
+
}
|
|
6355
|
+
|
|
6356
|
+
export interface GetMenuV3DraftModifierLineRoutesRequest
|
|
6357
|
+
extends BaseRequest,
|
|
6358
|
+
RequestQuery<GetMenuV3DraftModifierLineRoutesQuery>,
|
|
6359
|
+
GetMenuV3DraftModifierLineRoutesPath {}
|
|
6360
|
+
|
|
5987
6361
|
// PATCH /menu/v3/draft/modifiers/bulk-update
|
|
5988
6362
|
|
|
5989
6363
|
export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
@@ -6006,6 +6380,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
6006
6380
|
reporting?: ReportingMetadataDTO;
|
|
6007
6381
|
posid_segment?: string;
|
|
6008
6382
|
brand_id?: string;
|
|
6383
|
+
line_route?: string;
|
|
6009
6384
|
menu_works?: MenuWorksDTO;
|
|
6010
6385
|
is_out_of_stock?: boolean;
|
|
6011
6386
|
price_for_none?: number;
|
|
@@ -6079,12 +6454,12 @@ export interface GetMenuV3ModifierRequest
|
|
|
6079
6454
|
// GET /menu/v3/modifiers
|
|
6080
6455
|
|
|
6081
6456
|
export interface GetMenuV3ModifiersQuery {
|
|
6457
|
+
// The fields that filtering is allowed on
|
|
6458
|
+
filter?: string;
|
|
6082
6459
|
// If specified, only the selected fields will be returned
|
|
6083
6460
|
select?: string[];
|
|
6084
6461
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
6085
6462
|
relationships?: string[];
|
|
6086
|
-
// The fields that filtering is allowed on
|
|
6087
|
-
filter?: string;
|
|
6088
6463
|
// Number of records to load per page
|
|
6089
6464
|
limit?: number;
|
|
6090
6465
|
page?: number;
|
|
@@ -6127,6 +6502,23 @@ export interface GetMenuV3ModifiersCountRequest
|
|
|
6127
6502
|
extends BaseRequest,
|
|
6128
6503
|
RequestQuery<GetMenuV3ModifiersCountQuery> {}
|
|
6129
6504
|
|
|
6505
|
+
// POST /menu/v3/modifier/{id}/recover
|
|
6506
|
+
|
|
6507
|
+
export interface PostMenuV3ModifierRecoverPath {
|
|
6508
|
+
id: string;
|
|
6509
|
+
}
|
|
6510
|
+
|
|
6511
|
+
export interface PostMenuV3ModifierRecoverQuery {
|
|
6512
|
+
nocache?: boolean;
|
|
6513
|
+
}
|
|
6514
|
+
|
|
6515
|
+
export type PostMenuV3ModifierRecoverResponse = PublishedModifierDTO;
|
|
6516
|
+
|
|
6517
|
+
export interface PostMenuV3ModifierRecoverRequest
|
|
6518
|
+
extends BaseRequest,
|
|
6519
|
+
RequestQuery<PostMenuV3ModifierRecoverQuery>,
|
|
6520
|
+
PostMenuV3ModifierRecoverPath {}
|
|
6521
|
+
|
|
6130
6522
|
// POST /menu/v3/integrations/transltr/import
|
|
6131
6523
|
|
|
6132
6524
|
export interface PostMenuV3IntegrationsTransltrImportQuery {
|
|
@@ -6167,12 +6559,12 @@ export interface GetMenuV3GlobalDiffRequest
|
|
|
6167
6559
|
// GET /menu/v3/global-diffs
|
|
6168
6560
|
|
|
6169
6561
|
export interface GetMenuV3GlobalDiffsQuery {
|
|
6562
|
+
// The fields that filtering is allowed on
|
|
6563
|
+
filter?: string;
|
|
6170
6564
|
// If specified, only the selected fields will be returned
|
|
6171
6565
|
select?: string[];
|
|
6172
6566
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
6173
6567
|
relationships?: string[];
|
|
6174
|
-
// The fields that filtering is allowed on
|
|
6175
|
-
filter?: string;
|
|
6176
6568
|
// Number of records to load per page
|
|
6177
6569
|
limit?: number;
|
|
6178
6570
|
page?: number;
|
|
@@ -6213,6 +6605,18 @@ export interface GetMenuV3GlobalDiffsCountRequest
|
|
|
6213
6605
|
extends BaseRequest,
|
|
6214
6606
|
RequestQuery<GetMenuV3GlobalDiffsCountQuery> {}
|
|
6215
6607
|
|
|
6608
|
+
// POST /menu/v3/global-diff/{id}/recover
|
|
6609
|
+
|
|
6610
|
+
export interface PostMenuV3GlobalDiffRecoverPath {
|
|
6611
|
+
id: string;
|
|
6612
|
+
}
|
|
6613
|
+
|
|
6614
|
+
export type PostMenuV3GlobalDiffRecoverResponse = GlobalDiffDTO;
|
|
6615
|
+
|
|
6616
|
+
export interface PostMenuV3GlobalDiffRecoverRequest
|
|
6617
|
+
extends BaseRequest,
|
|
6618
|
+
PostMenuV3GlobalDiffRecoverPath {}
|
|
6619
|
+
|
|
6216
6620
|
// GET /menu/v3/menuworks
|
|
6217
6621
|
|
|
6218
6622
|
export interface GetMenuV3MenuworksQuery {
|
|
@@ -6236,3 +6640,133 @@ export interface GetMenuV3MenuworksResponse {
|
|
|
6236
6640
|
export interface GetMenuV3MenuworksRequest
|
|
6237
6641
|
extends BaseRequest,
|
|
6238
6642
|
RequestQuery<GetMenuV3MenuworksQuery> {}
|
|
6643
|
+
|
|
6644
|
+
// GET /menu/v3/universal-items
|
|
6645
|
+
|
|
6646
|
+
export interface GetMenuV3UniversalItemsQuery {
|
|
6647
|
+
// The fields that filtering is allowed on
|
|
6648
|
+
filter?: string;
|
|
6649
|
+
// If specified, only the selected fields will be returned
|
|
6650
|
+
select?: string[];
|
|
6651
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
6652
|
+
relationships?: string[];
|
|
6653
|
+
// Number of records to load per page
|
|
6654
|
+
limit?: number;
|
|
6655
|
+
page?: number;
|
|
6656
|
+
// A field to sort the results based on
|
|
6657
|
+
sort_by?: string;
|
|
6658
|
+
sort_order?: "DESC" | "ASC";
|
|
6659
|
+
// How soft deleted records should be shown in the list
|
|
6660
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
6661
|
+
// Graphql query string
|
|
6662
|
+
_query?: string;
|
|
6663
|
+
}
|
|
6664
|
+
|
|
6665
|
+
export interface GetMenuV3UniversalItemsResponse {
|
|
6666
|
+
results: UniversalItemWithoutIdDTO[];
|
|
6667
|
+
meta?: ListResponseMetadataDTO;
|
|
6668
|
+
[index: string]: any;
|
|
6669
|
+
}
|
|
6670
|
+
|
|
6671
|
+
export interface GetMenuV3UniversalItemsRequest
|
|
6672
|
+
extends BaseRequest,
|
|
6673
|
+
RequestQuery<GetMenuV3UniversalItemsQuery> {}
|
|
6674
|
+
|
|
6675
|
+
// PUT /menu/v3/universal-items
|
|
6676
|
+
|
|
6677
|
+
export interface PutMenuV3UniversalItemsBody {
|
|
6678
|
+
items?: PutUniversalItemEntity[];
|
|
6679
|
+
}
|
|
6680
|
+
|
|
6681
|
+
export interface PutMenuV3UniversalItemsResponse {
|
|
6682
|
+
results?: UniversalItemResponseDTO[];
|
|
6683
|
+
}
|
|
6684
|
+
|
|
6685
|
+
export interface PutMenuV3UniversalItemsRequest extends BaseRequest {
|
|
6686
|
+
body: PutMenuV3UniversalItemsBody;
|
|
6687
|
+
}
|
|
6688
|
+
|
|
6689
|
+
// GET /menu/v3/universal-item/{barcode}
|
|
6690
|
+
|
|
6691
|
+
export interface GetMenuV3UniversalItemPath {
|
|
6692
|
+
barcode: string;
|
|
6693
|
+
}
|
|
6694
|
+
|
|
6695
|
+
export interface GetMenuV3UniversalItemQuery {
|
|
6696
|
+
// Graphql query string
|
|
6697
|
+
_query?: string;
|
|
6698
|
+
}
|
|
6699
|
+
|
|
6700
|
+
export interface GetMenuV3UniversalItemResponse {
|
|
6701
|
+
barcode: string;
|
|
6702
|
+
name: string;
|
|
6703
|
+
description?: string;
|
|
6704
|
+
created_at?: string;
|
|
6705
|
+
updated_at?: string;
|
|
6706
|
+
is_verified: boolean;
|
|
6707
|
+
verified_at?: string;
|
|
6708
|
+
verified_by?: string;
|
|
6709
|
+
images?: Record<string, any>;
|
|
6710
|
+
metadata?: Record<string, any>;
|
|
6711
|
+
[index: string]: any;
|
|
6712
|
+
}
|
|
6713
|
+
|
|
6714
|
+
export interface GetMenuV3UniversalItemRequest
|
|
6715
|
+
extends BaseRequest,
|
|
6716
|
+
RequestQuery<GetMenuV3UniversalItemQuery>,
|
|
6717
|
+
GetMenuV3UniversalItemPath {}
|
|
6718
|
+
|
|
6719
|
+
// PATCH /menu/v3/universal-item/{barcode}
|
|
6720
|
+
|
|
6721
|
+
export interface PatchMenuV3UniversalItemPath {
|
|
6722
|
+
barcode: string;
|
|
6723
|
+
}
|
|
6724
|
+
|
|
6725
|
+
export interface PatchMenuV3UniversalItemBody {
|
|
6726
|
+
name?: string;
|
|
6727
|
+
description?: string;
|
|
6728
|
+
images?: Record<string, any>;
|
|
6729
|
+
metadata?: Record<string, any>;
|
|
6730
|
+
}
|
|
6731
|
+
|
|
6732
|
+
export interface PatchMenuV3UniversalItemResponse {
|
|
6733
|
+
barcode: string;
|
|
6734
|
+
name: string;
|
|
6735
|
+
description?: string;
|
|
6736
|
+
created_at?: string;
|
|
6737
|
+
updated_at?: string;
|
|
6738
|
+
is_verified: boolean;
|
|
6739
|
+
verified_at?: string;
|
|
6740
|
+
verified_by?: string;
|
|
6741
|
+
images?: Record<string, any>;
|
|
6742
|
+
metadata?: Record<string, any>;
|
|
6743
|
+
[index: string]: any;
|
|
6744
|
+
}
|
|
6745
|
+
|
|
6746
|
+
export interface PatchMenuV3UniversalItemRequest extends BaseRequest, PatchMenuV3UniversalItemPath {
|
|
6747
|
+
body: PatchMenuV3UniversalItemBody;
|
|
6748
|
+
}
|
|
6749
|
+
|
|
6750
|
+
// POST /menu/v3/universal-items/verify
|
|
6751
|
+
|
|
6752
|
+
export interface PostMenuV3UniversalItemsVerifyBody {
|
|
6753
|
+
barcodes: string[];
|
|
6754
|
+
verified_by: string;
|
|
6755
|
+
[index: string]: any;
|
|
6756
|
+
}
|
|
6757
|
+
|
|
6758
|
+
export interface PostMenuV3UniversalItemsVerifyResponse {
|
|
6759
|
+
items?: UniversalItemResponseDTO[];
|
|
6760
|
+
}
|
|
6761
|
+
|
|
6762
|
+
export interface PostMenuV3UniversalItemsVerifyRequest extends BaseRequest {
|
|
6763
|
+
body: PostMenuV3UniversalItemsVerifyBody;
|
|
6764
|
+
}
|
|
6765
|
+
|
|
6766
|
+
// POST /menu/v3/trigger-update
|
|
6767
|
+
|
|
6768
|
+
export interface PostMenuV3TriggerUpdateResponse {
|
|
6769
|
+
status?: string;
|
|
6770
|
+
}
|
|
6771
|
+
|
|
6772
|
+
export interface PostMenuV3TriggerUpdateRequest extends BaseRequest {}
|