@compassdigital/sdk.typescript 4.42.0 → 4.44.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 +21 -22
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +20 -21
- package/lib/index.js.map +1 -1
- package/lib/interface/centricos.d.ts +14 -0
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/location.d.ts +1 -0
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +61 -179
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +1 -0
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/user.d.ts +0 -9
- package/lib/interface/user.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +44 -39
- package/src/interface/centricos.ts +25 -0
- package/src/interface/location.ts +1 -0
- package/src/interface/menu.ts +69 -187
- package/src/interface/partner.ts +1 -0
- package/src/interface/user.ts +0 -17
package/src/interface/menu.ts
CHANGED
|
@@ -693,27 +693,23 @@ export interface ModifierChangeDTO {
|
|
|
693
693
|
|
|
694
694
|
export interface ReportingMetadataDTO {
|
|
695
695
|
category?: ReportingCategoryMetadataDTO;
|
|
696
|
-
id?: Record<string, any>;
|
|
697
696
|
[index: string]: any;
|
|
698
697
|
}
|
|
699
698
|
|
|
700
699
|
export interface ReportingCategoryMetadataDTO {
|
|
701
700
|
primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
|
|
702
701
|
secondary?: string;
|
|
703
|
-
id?: Record<string, any>;
|
|
704
702
|
[index: string]: any;
|
|
705
703
|
}
|
|
706
704
|
|
|
707
705
|
export interface WeightDTO {
|
|
708
706
|
unit?: string;
|
|
709
707
|
amount?: number;
|
|
710
|
-
id?: Record<string, any>;
|
|
711
708
|
[index: string]: any;
|
|
712
709
|
}
|
|
713
710
|
|
|
714
711
|
export interface FileAttachmentsDTO {
|
|
715
712
|
thumbnail?: string;
|
|
716
|
-
id?: Record<string, any>;
|
|
717
713
|
[index: string]: any;
|
|
718
714
|
}
|
|
719
715
|
|
|
@@ -724,7 +720,6 @@ export interface MenuWorksDTO {
|
|
|
724
720
|
portion_unit_name?: string;
|
|
725
721
|
grams?: number;
|
|
726
722
|
cost?: number;
|
|
727
|
-
id?: Record<string, any>;
|
|
728
723
|
[index: string]: any;
|
|
729
724
|
}
|
|
730
725
|
|
|
@@ -1778,7 +1773,7 @@ export interface GetCompanyModifierGroupsExportRequest
|
|
|
1778
1773
|
// GET /menu/{id}/export - Export menu set to zipped excel file.
|
|
1779
1774
|
|
|
1780
1775
|
export interface GetMenuExportPath {
|
|
1781
|
-
// menu
|
|
1776
|
+
// menu
|
|
1782
1777
|
id: string;
|
|
1783
1778
|
}
|
|
1784
1779
|
|
|
@@ -1797,7 +1792,7 @@ export interface GetMenuExportRequest
|
|
|
1797
1792
|
// GET /menu/partial/{id}/groups - Get an individual menu with its categories only partially loaded. (No items)
|
|
1798
1793
|
|
|
1799
1794
|
export interface GetMenuPartialGroupsPath {
|
|
1800
|
-
// menu
|
|
1795
|
+
// menu
|
|
1801
1796
|
id: string;
|
|
1802
1797
|
}
|
|
1803
1798
|
|
|
@@ -1822,9 +1817,9 @@ export interface GetMenuPartialGroupsRequest
|
|
|
1822
1817
|
// GET /menu/partial/{id}/group/{group_id}/items - Get an individual menu with its categories only partially loaded. (No items)
|
|
1823
1818
|
|
|
1824
1819
|
export interface GetMenuPartialGroupItemsPath {
|
|
1825
|
-
// menu
|
|
1820
|
+
// menu
|
|
1826
1821
|
id: string;
|
|
1827
|
-
// group
|
|
1822
|
+
// group
|
|
1828
1823
|
group_id: string;
|
|
1829
1824
|
}
|
|
1830
1825
|
|
|
@@ -1845,9 +1840,9 @@ export interface GetMenuPartialGroupItemsRequest
|
|
|
1845
1840
|
// POST /menu/partial/{id}/group/{group_id}/item/options - Get menu items's options
|
|
1846
1841
|
|
|
1847
1842
|
export interface PostMenuPartialGroupItemOptionsPath {
|
|
1848
|
-
// menu
|
|
1843
|
+
// menu
|
|
1849
1844
|
id: string;
|
|
1850
|
-
// group
|
|
1845
|
+
// group
|
|
1851
1846
|
group_id: string;
|
|
1852
1847
|
}
|
|
1853
1848
|
|
|
@@ -2019,9 +2014,7 @@ export interface GetMenuV3LocalMenuGroupsQuery {
|
|
|
2019
2014
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2020
2015
|
relationships?: string[];
|
|
2021
2016
|
// The fields that filtering is allowed on
|
|
2022
|
-
filter?:
|
|
2023
|
-
[index: string]: any;
|
|
2024
|
-
};
|
|
2017
|
+
filter?: string;
|
|
2025
2018
|
// Number of records to load per page
|
|
2026
2019
|
limit?: number;
|
|
2027
2020
|
page?: number;
|
|
@@ -2071,9 +2064,7 @@ export interface PostMenuV3LocalMenuGroupsRequest extends BaseRequest {
|
|
|
2071
2064
|
|
|
2072
2065
|
export interface GetMenuV3LocalMenuGroupsCountQuery {
|
|
2073
2066
|
// The fields that filtering is allowed on
|
|
2074
|
-
filter?:
|
|
2075
|
-
[index: string]: any;
|
|
2076
|
-
};
|
|
2067
|
+
filter?: string;
|
|
2077
2068
|
// Graphql query string
|
|
2078
2069
|
_query?: string;
|
|
2079
2070
|
}
|
|
@@ -2099,9 +2090,7 @@ export interface GetMenuV3DraftLocalMenuGroupBrandsQuery {
|
|
|
2099
2090
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2100
2091
|
relationships?: string[];
|
|
2101
2092
|
// The fields that filtering is allowed on
|
|
2102
|
-
filter?:
|
|
2103
|
-
[index: string]: any;
|
|
2104
|
-
};
|
|
2093
|
+
filter?: string;
|
|
2105
2094
|
// Number of records to load per page
|
|
2106
2095
|
limit?: number;
|
|
2107
2096
|
page?: number;
|
|
@@ -2137,9 +2126,7 @@ export interface GetMenuV3LocalMenuGroupBrandsQuery {
|
|
|
2137
2126
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2138
2127
|
relationships?: string[];
|
|
2139
2128
|
// The fields that filtering is allowed on
|
|
2140
|
-
filter?:
|
|
2141
|
-
[index: string]: any;
|
|
2142
|
-
};
|
|
2129
|
+
filter?: string;
|
|
2143
2130
|
// Number of records to load per page
|
|
2144
2131
|
limit?: number;
|
|
2145
2132
|
page?: number;
|
|
@@ -2175,9 +2162,7 @@ export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsQuery {
|
|
|
2175
2162
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2176
2163
|
relationships?: string[];
|
|
2177
2164
|
// The fields that filtering is allowed on
|
|
2178
|
-
filter?:
|
|
2179
|
-
[index: string]: any;
|
|
2180
|
-
};
|
|
2165
|
+
filter?: string;
|
|
2181
2166
|
// Number of records to load per page
|
|
2182
2167
|
limit?: number;
|
|
2183
2168
|
page?: number;
|
|
@@ -2214,9 +2199,7 @@ export interface PostMenuV3LocalMenuGroupImportBrandsQuery {
|
|
|
2214
2199
|
relationships?: string[];
|
|
2215
2200
|
"body.brand_ids"?: string[];
|
|
2216
2201
|
// The fields that filtering is allowed on
|
|
2217
|
-
filter?:
|
|
2218
|
-
[index: string]: any;
|
|
2219
|
-
};
|
|
2202
|
+
filter?: string;
|
|
2220
2203
|
// Number of records to load per page
|
|
2221
2204
|
limit?: number;
|
|
2222
2205
|
page?: number;
|
|
@@ -2419,9 +2402,7 @@ export interface GetMenuV3GlobalMenuGroupsQuery {
|
|
|
2419
2402
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2420
2403
|
relationships?: string[];
|
|
2421
2404
|
// The fields that filtering is allowed on
|
|
2422
|
-
filter?:
|
|
2423
|
-
[index: string]: any;
|
|
2424
|
-
};
|
|
2405
|
+
filter?: string;
|
|
2425
2406
|
// Number of records to load per page
|
|
2426
2407
|
limit?: number;
|
|
2427
2408
|
page?: number;
|
|
@@ -2472,9 +2453,7 @@ export interface PostMenuV3GlobalMenuGroupsRequest extends BaseRequest {
|
|
|
2472
2453
|
|
|
2473
2454
|
export interface GetMenuV3GlobalMenuGroupsCountQuery {
|
|
2474
2455
|
// The fields that filtering is allowed on
|
|
2475
|
-
filter?:
|
|
2476
|
-
[index: string]: any;
|
|
2477
|
-
};
|
|
2456
|
+
filter?: string;
|
|
2478
2457
|
// Graphql query string
|
|
2479
2458
|
_query?: string;
|
|
2480
2459
|
}
|
|
@@ -2500,9 +2479,7 @@ export interface GetMenuV3DraftGlobalMenuGroupBrandsQuery {
|
|
|
2500
2479
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2501
2480
|
relationships?: string[];
|
|
2502
2481
|
// The fields that filtering is allowed on
|
|
2503
|
-
filter?:
|
|
2504
|
-
[index: string]: any;
|
|
2505
|
-
};
|
|
2482
|
+
filter?: string;
|
|
2506
2483
|
// Number of records to load per page
|
|
2507
2484
|
limit?: number;
|
|
2508
2485
|
page?: number;
|
|
@@ -2538,9 +2515,7 @@ export interface GetMenuV3GlobalMenuGroupBrandsQuery {
|
|
|
2538
2515
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2539
2516
|
relationships?: string[];
|
|
2540
2517
|
// The fields that filtering is allowed on
|
|
2541
|
-
filter?:
|
|
2542
|
-
[index: string]: any;
|
|
2543
|
-
};
|
|
2518
|
+
filter?: string;
|
|
2544
2519
|
// Number of records to load per page
|
|
2545
2520
|
limit?: number;
|
|
2546
2521
|
page?: number;
|
|
@@ -2693,9 +2668,7 @@ export interface GetMenuV3DraftBrandsQuery {
|
|
|
2693
2668
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2694
2669
|
relationships?: string[];
|
|
2695
2670
|
// The fields that filtering is allowed on
|
|
2696
|
-
filter?:
|
|
2697
|
-
[index: string]: any;
|
|
2698
|
-
};
|
|
2671
|
+
filter?: string;
|
|
2699
2672
|
// Number of records to load per page
|
|
2700
2673
|
limit?: number;
|
|
2701
2674
|
page?: number;
|
|
@@ -2764,9 +2737,7 @@ export interface PostMenuV3DraftBrandsRequest extends BaseRequest {
|
|
|
2764
2737
|
|
|
2765
2738
|
export interface GetMenuV3DraftBrandsCountQuery {
|
|
2766
2739
|
// The fields that filtering is allowed on
|
|
2767
|
-
filter?:
|
|
2768
|
-
[index: string]: any;
|
|
2769
|
-
};
|
|
2740
|
+
filter?: string;
|
|
2770
2741
|
// Graphql query string
|
|
2771
2742
|
_query?: string;
|
|
2772
2743
|
}
|
|
@@ -2792,9 +2763,7 @@ export interface GetMenuV3DraftBrandMenusQuery {
|
|
|
2792
2763
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2793
2764
|
relationships?: string[];
|
|
2794
2765
|
// The fields that filtering is allowed on
|
|
2795
|
-
filter?:
|
|
2796
|
-
[index: string]: any;
|
|
2797
|
-
};
|
|
2766
|
+
filter?: string;
|
|
2798
2767
|
// Number of records to load per page
|
|
2799
2768
|
limit?: number;
|
|
2800
2769
|
page?: number;
|
|
@@ -2830,9 +2799,7 @@ export interface GetMenuV3DraftBrandModifiersQuery {
|
|
|
2830
2799
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2831
2800
|
relationships?: string[];
|
|
2832
2801
|
// The fields that filtering is allowed on
|
|
2833
|
-
filter?:
|
|
2834
|
-
[index: string]: any;
|
|
2835
|
-
};
|
|
2802
|
+
filter?: string;
|
|
2836
2803
|
// Number of records to load per page
|
|
2837
2804
|
limit?: number;
|
|
2838
2805
|
page?: number;
|
|
@@ -2868,9 +2835,7 @@ export interface GetMenuV3DraftBrandModifierGroupsQuery {
|
|
|
2868
2835
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2869
2836
|
relationships?: string[];
|
|
2870
2837
|
// The fields that filtering is allowed on
|
|
2871
|
-
filter?:
|
|
2872
|
-
[index: string]: any;
|
|
2873
|
-
};
|
|
2838
|
+
filter?: string;
|
|
2874
2839
|
// Number of records to load per page
|
|
2875
2840
|
limit?: number;
|
|
2876
2841
|
page?: number;
|
|
@@ -2906,9 +2871,7 @@ export interface GetMenuV3DraftBrandItemsQuery {
|
|
|
2906
2871
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2907
2872
|
relationships?: string[];
|
|
2908
2873
|
// The fields that filtering is allowed on
|
|
2909
|
-
filter?:
|
|
2910
|
-
[index: string]: any;
|
|
2911
|
-
};
|
|
2874
|
+
filter?: string;
|
|
2912
2875
|
// Number of records to load per page
|
|
2913
2876
|
limit?: number;
|
|
2914
2877
|
page?: number;
|
|
@@ -3014,9 +2977,7 @@ export interface GetMenuV3DraftBrandDiffsQuery {
|
|
|
3014
2977
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3015
2978
|
relationships?: string[];
|
|
3016
2979
|
// The fields that filtering is allowed on
|
|
3017
|
-
filter?:
|
|
3018
|
-
[index: string]: any;
|
|
3019
|
-
};
|
|
2980
|
+
filter?: string;
|
|
3020
2981
|
// Number of records to load per page
|
|
3021
2982
|
limit?: number;
|
|
3022
2983
|
page?: number;
|
|
@@ -3044,8 +3005,8 @@ export interface PostMenuV3DraftBrandGlobalDiffsApplyPath {
|
|
|
3044
3005
|
id: string;
|
|
3045
3006
|
}
|
|
3046
3007
|
|
|
3047
|
-
export interface
|
|
3048
|
-
|
|
3008
|
+
export interface PostMenuV3DraftBrandGlobalDiffsApplyBody {
|
|
3009
|
+
diffs?: ApplyDiffDTO[];
|
|
3049
3010
|
}
|
|
3050
3011
|
|
|
3051
3012
|
export interface PostMenuV3DraftBrandGlobalDiffsApplyResponse {
|
|
@@ -3054,8 +3015,9 @@ export interface PostMenuV3DraftBrandGlobalDiffsApplyResponse {
|
|
|
3054
3015
|
|
|
3055
3016
|
export interface PostMenuV3DraftBrandGlobalDiffsApplyRequest
|
|
3056
3017
|
extends BaseRequest,
|
|
3057
|
-
|
|
3058
|
-
|
|
3018
|
+
PostMenuV3DraftBrandGlobalDiffsApplyPath {
|
|
3019
|
+
body: PostMenuV3DraftBrandGlobalDiffsApplyBody;
|
|
3020
|
+
}
|
|
3059
3021
|
|
|
3060
3022
|
// POST /menu/v3/draft/brand/{id}/attachment/{name}
|
|
3061
3023
|
|
|
@@ -3213,9 +3175,7 @@ export interface GetMenuV3BrandsQuery {
|
|
|
3213
3175
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3214
3176
|
relationships?: string[];
|
|
3215
3177
|
// The fields that filtering is allowed on
|
|
3216
|
-
filter?:
|
|
3217
|
-
[index: string]: any;
|
|
3218
|
-
};
|
|
3178
|
+
filter?: string;
|
|
3219
3179
|
// Number of records to load per page
|
|
3220
3180
|
limit?: number;
|
|
3221
3181
|
page?: number;
|
|
@@ -3284,9 +3244,7 @@ export interface PostMenuV3BrandsRequest extends BaseRequest, RequestQuery<PostM
|
|
|
3284
3244
|
|
|
3285
3245
|
export interface GetMenuV3BrandsCountQuery {
|
|
3286
3246
|
// The fields that filtering is allowed on
|
|
3287
|
-
filter?:
|
|
3288
|
-
[index: string]: any;
|
|
3289
|
-
};
|
|
3247
|
+
filter?: string;
|
|
3290
3248
|
// Graphql query string
|
|
3291
3249
|
_query?: string;
|
|
3292
3250
|
nocache?: boolean;
|
|
@@ -3313,9 +3271,7 @@ export interface GetMenuV3BrandMenusQuery {
|
|
|
3313
3271
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3314
3272
|
relationships?: string[];
|
|
3315
3273
|
// The fields that filtering is allowed on
|
|
3316
|
-
filter?:
|
|
3317
|
-
[index: string]: any;
|
|
3318
|
-
};
|
|
3274
|
+
filter?: string;
|
|
3319
3275
|
// Number of records to load per page
|
|
3320
3276
|
limit?: number;
|
|
3321
3277
|
page?: number;
|
|
@@ -3352,9 +3308,7 @@ export interface GetMenuV3BrandModifiersQuery {
|
|
|
3352
3308
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3353
3309
|
relationships?: string[];
|
|
3354
3310
|
// The fields that filtering is allowed on
|
|
3355
|
-
filter?:
|
|
3356
|
-
[index: string]: any;
|
|
3357
|
-
};
|
|
3311
|
+
filter?: string;
|
|
3358
3312
|
// Number of records to load per page
|
|
3359
3313
|
limit?: number;
|
|
3360
3314
|
page?: number;
|
|
@@ -3391,9 +3345,7 @@ export interface GetMenuV3BrandModifierGroupsQuery {
|
|
|
3391
3345
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3392
3346
|
relationships?: string[];
|
|
3393
3347
|
// The fields that filtering is allowed on
|
|
3394
|
-
filter?:
|
|
3395
|
-
[index: string]: any;
|
|
3396
|
-
};
|
|
3348
|
+
filter?: string;
|
|
3397
3349
|
// Number of records to load per page
|
|
3398
3350
|
limit?: number;
|
|
3399
3351
|
page?: number;
|
|
@@ -3430,9 +3382,7 @@ export interface GetMenuV3BrandItemsQuery {
|
|
|
3430
3382
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3431
3383
|
relationships?: string[];
|
|
3432
3384
|
// The fields that filtering is allowed on
|
|
3433
|
-
filter?:
|
|
3434
|
-
[index: string]: any;
|
|
3435
|
-
};
|
|
3385
|
+
filter?: string;
|
|
3436
3386
|
// Number of records to load per page
|
|
3437
3387
|
limit?: number;
|
|
3438
3388
|
page?: number;
|
|
@@ -3556,9 +3506,7 @@ export interface GetMenuV3DraftMenusQuery {
|
|
|
3556
3506
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3557
3507
|
relationships?: string[];
|
|
3558
3508
|
// The fields that filtering is allowed on
|
|
3559
|
-
filter?:
|
|
3560
|
-
[index: string]: any;
|
|
3561
|
-
};
|
|
3509
|
+
filter?: string;
|
|
3562
3510
|
// Number of records to load per page
|
|
3563
3511
|
limit?: number;
|
|
3564
3512
|
page?: number;
|
|
@@ -3612,9 +3560,7 @@ export interface PostMenuV3DraftMenusRequest extends BaseRequest {
|
|
|
3612
3560
|
|
|
3613
3561
|
export interface GetMenuV3DraftMenusCountQuery {
|
|
3614
3562
|
// The fields that filtering is allowed on
|
|
3615
|
-
filter?:
|
|
3616
|
-
[index: string]: any;
|
|
3617
|
-
};
|
|
3563
|
+
filter?: string;
|
|
3618
3564
|
// Graphql query string
|
|
3619
3565
|
_query?: string;
|
|
3620
3566
|
}
|
|
@@ -3640,9 +3586,7 @@ export interface GetMenuV3DraftMenuCategoriesQuery {
|
|
|
3640
3586
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3641
3587
|
relationships?: string[];
|
|
3642
3588
|
// The fields that filtering is allowed on
|
|
3643
|
-
filter?:
|
|
3644
|
-
[index: string]: any;
|
|
3645
|
-
};
|
|
3589
|
+
filter?: string;
|
|
3646
3590
|
// Number of records to load per page
|
|
3647
3591
|
limit?: number;
|
|
3648
3592
|
page?: number;
|
|
@@ -3711,9 +3655,7 @@ export interface GetMenuV3MenusQuery {
|
|
|
3711
3655
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3712
3656
|
relationships?: string[];
|
|
3713
3657
|
// The fields that filtering is allowed on
|
|
3714
|
-
filter?:
|
|
3715
|
-
[index: string]: any;
|
|
3716
|
-
};
|
|
3658
|
+
filter?: string;
|
|
3717
3659
|
// Number of records to load per page
|
|
3718
3660
|
limit?: number;
|
|
3719
3661
|
page?: number;
|
|
@@ -3739,9 +3681,7 @@ export interface GetMenuV3MenusRequest extends BaseRequest, RequestQuery<GetMenu
|
|
|
3739
3681
|
|
|
3740
3682
|
export interface GetMenuV3MenusCountQuery {
|
|
3741
3683
|
// The fields that filtering is allowed on
|
|
3742
|
-
filter?:
|
|
3743
|
-
[index: string]: any;
|
|
3744
|
-
};
|
|
3684
|
+
filter?: string;
|
|
3745
3685
|
// Graphql query string
|
|
3746
3686
|
_query?: string;
|
|
3747
3687
|
nocache?: boolean;
|
|
@@ -3768,9 +3708,7 @@ export interface GetMenuV3MenuCategoriesQuery {
|
|
|
3768
3708
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
3769
3709
|
relationships?: string[];
|
|
3770
3710
|
// The fields that filtering is allowed on
|
|
3771
|
-
filter?:
|
|
3772
|
-
[index: string]: any;
|
|
3773
|
-
};
|
|
3711
|
+
filter?: string;
|
|
3774
3712
|
// Number of records to load per page
|
|
3775
3713
|
limit?: number;
|
|
3776
3714
|
page?: number;
|
|
@@ -3931,9 +3869,7 @@ export interface DeleteMenuV3DraftCategoryRequest
|
|
|
3931
3869
|
|
|
3932
3870
|
export interface GetMenuV3DraftCategoriesCountQuery {
|
|
3933
3871
|
// The fields that filtering is allowed on
|
|
3934
|
-
filter?:
|
|
3935
|
-
[index: string]: any;
|
|
3936
|
-
};
|
|
3872
|
+
filter?: string;
|
|
3937
3873
|
// Graphql query string
|
|
3938
3874
|
_query?: string;
|
|
3939
3875
|
}
|
|
@@ -4027,9 +3963,7 @@ export interface GetMenuV3CategoryRequest
|
|
|
4027
3963
|
|
|
4028
3964
|
export interface GetMenuV3CategorysCountQuery {
|
|
4029
3965
|
// The fields that filtering is allowed on
|
|
4030
|
-
filter?:
|
|
4031
|
-
[index: string]: any;
|
|
4032
|
-
};
|
|
3966
|
+
filter?: string;
|
|
4033
3967
|
// Graphql query string
|
|
4034
3968
|
_query?: string;
|
|
4035
3969
|
nocache?: boolean;
|
|
@@ -4151,9 +4085,7 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsQuery {
|
|
|
4151
4085
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
4152
4086
|
relationships?: string[];
|
|
4153
4087
|
// The fields that filtering is allowed on
|
|
4154
|
-
filter?:
|
|
4155
|
-
[index: string]: any;
|
|
4156
|
-
};
|
|
4088
|
+
filter?: string;
|
|
4157
4089
|
// Number of records to load per page
|
|
4158
4090
|
limit?: number;
|
|
4159
4091
|
page?: number;
|
|
@@ -4210,9 +4142,7 @@ export interface PostMenuV3DraftCategoryRelationshipsItemsRequest extends BaseRe
|
|
|
4210
4142
|
|
|
4211
4143
|
export interface GetMenuV3DraftCategoryRelationshipsItemsCountQuery {
|
|
4212
4144
|
// The fields that filtering is allowed on
|
|
4213
|
-
filter?:
|
|
4214
|
-
[index: string]: any;
|
|
4215
|
-
};
|
|
4145
|
+
filter?: string;
|
|
4216
4146
|
// Graphql query string
|
|
4217
4147
|
_query?: string;
|
|
4218
4148
|
}
|
|
@@ -4257,9 +4187,7 @@ export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
|
4257
4187
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
4258
4188
|
relationships?: string[];
|
|
4259
4189
|
// The fields that filtering is allowed on
|
|
4260
|
-
filter?:
|
|
4261
|
-
[index: string]: any;
|
|
4262
|
-
};
|
|
4190
|
+
filter?: string;
|
|
4263
4191
|
// Number of records to load per page
|
|
4264
4192
|
limit?: number;
|
|
4265
4193
|
page?: number;
|
|
@@ -4287,9 +4215,7 @@ export interface GetMenuV3CategoryRelationshipsItemsRequest
|
|
|
4287
4215
|
|
|
4288
4216
|
export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
|
|
4289
4217
|
// The fields that filtering is allowed on
|
|
4290
|
-
filter?:
|
|
4291
|
-
[index: string]: any;
|
|
4292
|
-
};
|
|
4218
|
+
filter?: string;
|
|
4293
4219
|
// Graphql query string
|
|
4294
4220
|
_query?: string;
|
|
4295
4221
|
nocache?: boolean;
|
|
@@ -4439,9 +4365,7 @@ export interface GetMenuV3DraftItemsQuery {
|
|
|
4439
4365
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
4440
4366
|
relationships?: string[];
|
|
4441
4367
|
// The fields that filtering is allowed on
|
|
4442
|
-
filter?:
|
|
4443
|
-
[index: string]: any;
|
|
4444
|
-
};
|
|
4368
|
+
filter?: string;
|
|
4445
4369
|
// Number of records to load per page
|
|
4446
4370
|
limit?: number;
|
|
4447
4371
|
page?: number;
|
|
@@ -4513,9 +4437,7 @@ export interface PostMenuV3DraftItemsRequest extends BaseRequest {
|
|
|
4513
4437
|
|
|
4514
4438
|
export interface GetMenuV3DraftItemsCountQuery {
|
|
4515
4439
|
// The fields that filtering is allowed on
|
|
4516
|
-
filter?:
|
|
4517
|
-
[index: string]: any;
|
|
4518
|
-
};
|
|
4440
|
+
filter?: string;
|
|
4519
4441
|
// Graphql query string
|
|
4520
4442
|
_query?: string;
|
|
4521
4443
|
}
|
|
@@ -4697,9 +4619,7 @@ export interface GetMenuV3ItemsQuery {
|
|
|
4697
4619
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
4698
4620
|
relationships?: string[];
|
|
4699
4621
|
// The fields that filtering is allowed on
|
|
4700
|
-
filter?:
|
|
4701
|
-
[index: string]: any;
|
|
4702
|
-
};
|
|
4622
|
+
filter?: string;
|
|
4703
4623
|
// Number of records to load per page
|
|
4704
4624
|
limit?: number;
|
|
4705
4625
|
page?: number;
|
|
@@ -4725,9 +4645,7 @@ export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenu
|
|
|
4725
4645
|
|
|
4726
4646
|
export interface GetMenuV3ItemsCountQuery {
|
|
4727
4647
|
// The fields that filtering is allowed on
|
|
4728
|
-
filter?:
|
|
4729
|
-
[index: string]: any;
|
|
4730
|
-
};
|
|
4648
|
+
filter?: string;
|
|
4731
4649
|
// Graphql query string
|
|
4732
4650
|
_query?: string;
|
|
4733
4651
|
nocache?: boolean;
|
|
@@ -4853,9 +4771,7 @@ export interface GetMenuV3DraftItemRelationshipsModifierGroupsQuery {
|
|
|
4853
4771
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
4854
4772
|
relationships?: string[];
|
|
4855
4773
|
// The fields that filtering is allowed on
|
|
4856
|
-
filter?:
|
|
4857
|
-
[index: string]: any;
|
|
4858
|
-
};
|
|
4774
|
+
filter?: string;
|
|
4859
4775
|
// Number of records to load per page
|
|
4860
4776
|
limit?: number;
|
|
4861
4777
|
page?: number;
|
|
@@ -4912,9 +4828,7 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupsRequest extends B
|
|
|
4912
4828
|
|
|
4913
4829
|
export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery {
|
|
4914
4830
|
// The fields that filtering is allowed on
|
|
4915
|
-
filter?:
|
|
4916
|
-
[index: string]: any;
|
|
4917
|
-
};
|
|
4831
|
+
filter?: string;
|
|
4918
4832
|
// Graphql query string
|
|
4919
4833
|
_query?: string;
|
|
4920
4834
|
}
|
|
@@ -4960,9 +4874,7 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
|
|
|
4960
4874
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
4961
4875
|
relationships?: string[];
|
|
4962
4876
|
// The fields that filtering is allowed on
|
|
4963
|
-
filter?:
|
|
4964
|
-
[index: string]: any;
|
|
4965
|
-
};
|
|
4877
|
+
filter?: string;
|
|
4966
4878
|
// Number of records to load per page
|
|
4967
4879
|
limit?: number;
|
|
4968
4880
|
page?: number;
|
|
@@ -4990,9 +4902,7 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsRequest
|
|
|
4990
4902
|
|
|
4991
4903
|
export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
|
|
4992
4904
|
// The fields that filtering is allowed on
|
|
4993
|
-
filter?:
|
|
4994
|
-
[index: string]: any;
|
|
4995
|
-
};
|
|
4905
|
+
filter?: string;
|
|
4996
4906
|
// Graphql query string
|
|
4997
4907
|
_query?: string;
|
|
4998
4908
|
nocache?: boolean;
|
|
@@ -5128,9 +5038,7 @@ export interface GetMenuV3DraftModifierGroupsQuery {
|
|
|
5128
5038
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5129
5039
|
relationships?: string[];
|
|
5130
5040
|
// The fields that filtering is allowed on
|
|
5131
|
-
filter?:
|
|
5132
|
-
[index: string]: any;
|
|
5133
|
-
};
|
|
5041
|
+
filter?: string;
|
|
5134
5042
|
// Number of records to load per page
|
|
5135
5043
|
limit?: number;
|
|
5136
5044
|
page?: number;
|
|
@@ -5194,9 +5102,7 @@ export interface PostMenuV3DraftModifierGroupsRequest extends BaseRequest {
|
|
|
5194
5102
|
|
|
5195
5103
|
export interface GetMenuV3DraftModifierGroupsCountQuery {
|
|
5196
5104
|
// The fields that filtering is allowed on
|
|
5197
|
-
filter?:
|
|
5198
|
-
[index: string]: any;
|
|
5199
|
-
};
|
|
5105
|
+
filter?: string;
|
|
5200
5106
|
// Graphql query string
|
|
5201
5107
|
_query?: string;
|
|
5202
5108
|
}
|
|
@@ -5281,9 +5187,7 @@ export interface GetMenuV3ModifierGroupsQuery {
|
|
|
5281
5187
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5282
5188
|
relationships?: string[];
|
|
5283
5189
|
// The fields that filtering is allowed on
|
|
5284
|
-
filter?:
|
|
5285
|
-
[index: string]: any;
|
|
5286
|
-
};
|
|
5190
|
+
filter?: string;
|
|
5287
5191
|
// Number of records to load per page
|
|
5288
5192
|
limit?: number;
|
|
5289
5193
|
page?: number;
|
|
@@ -5311,9 +5215,7 @@ export interface GetMenuV3ModifierGroupsRequest
|
|
|
5311
5215
|
|
|
5312
5216
|
export interface GetMenuV3ModifierGroupsCountQuery {
|
|
5313
5217
|
// The fields that filtering is allowed on
|
|
5314
|
-
filter?:
|
|
5315
|
-
[index: string]: any;
|
|
5316
|
-
};
|
|
5218
|
+
filter?: string;
|
|
5317
5219
|
// Graphql query string
|
|
5318
5220
|
_query?: string;
|
|
5319
5221
|
nocache?: boolean;
|
|
@@ -5439,9 +5341,7 @@ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersQuery {
|
|
|
5439
5341
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5440
5342
|
relationships?: string[];
|
|
5441
5343
|
// The fields that filtering is allowed on
|
|
5442
|
-
filter?:
|
|
5443
|
-
[index: string]: any;
|
|
5444
|
-
};
|
|
5344
|
+
filter?: string;
|
|
5445
5345
|
// Number of records to load per page
|
|
5446
5346
|
limit?: number;
|
|
5447
5347
|
page?: number;
|
|
@@ -5498,9 +5398,7 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifiersRequest exten
|
|
|
5498
5398
|
|
|
5499
5399
|
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery {
|
|
5500
5400
|
// The fields that filtering is allowed on
|
|
5501
|
-
filter?:
|
|
5502
|
-
[index: string]: any;
|
|
5503
|
-
};
|
|
5401
|
+
filter?: string;
|
|
5504
5402
|
// Graphql query string
|
|
5505
5403
|
_query?: string;
|
|
5506
5404
|
}
|
|
@@ -5546,9 +5444,7 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
|
|
|
5546
5444
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5547
5445
|
relationships?: string[];
|
|
5548
5446
|
// The fields that filtering is allowed on
|
|
5549
|
-
filter?:
|
|
5550
|
-
[index: string]: any;
|
|
5551
|
-
};
|
|
5447
|
+
filter?: string;
|
|
5552
5448
|
// Number of records to load per page
|
|
5553
5449
|
limit?: number;
|
|
5554
5450
|
page?: number;
|
|
@@ -5576,9 +5472,7 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest
|
|
|
5576
5472
|
|
|
5577
5473
|
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
|
|
5578
5474
|
// The fields that filtering is allowed on
|
|
5579
|
-
filter?:
|
|
5580
|
-
[index: string]: any;
|
|
5581
|
-
};
|
|
5475
|
+
filter?: string;
|
|
5582
5476
|
// Graphql query string
|
|
5583
5477
|
_query?: string;
|
|
5584
5478
|
nocache?: boolean;
|
|
@@ -5730,9 +5624,7 @@ export interface GetMenuV3DraftModifiersQuery {
|
|
|
5730
5624
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5731
5625
|
relationships?: string[];
|
|
5732
5626
|
// The fields that filtering is allowed on
|
|
5733
|
-
filter?:
|
|
5734
|
-
[index: string]: any;
|
|
5735
|
-
};
|
|
5627
|
+
filter?: string;
|
|
5736
5628
|
// Number of records to load per page
|
|
5737
5629
|
limit?: number;
|
|
5738
5630
|
page?: number;
|
|
@@ -5805,9 +5697,7 @@ export interface PostMenuV3DraftModifiersRequest extends BaseRequest {
|
|
|
5805
5697
|
|
|
5806
5698
|
export interface GetMenuV3DraftModifiersCountQuery {
|
|
5807
5699
|
// The fields that filtering is allowed on
|
|
5808
|
-
filter?:
|
|
5809
|
-
[index: string]: any;
|
|
5810
|
-
};
|
|
5700
|
+
filter?: string;
|
|
5811
5701
|
// Graphql query string
|
|
5812
5702
|
_query?: string;
|
|
5813
5703
|
}
|
|
@@ -5918,9 +5808,7 @@ export interface GetMenuV3ModifiersQuery {
|
|
|
5918
5808
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5919
5809
|
relationships?: string[];
|
|
5920
5810
|
// The fields that filtering is allowed on
|
|
5921
|
-
filter?:
|
|
5922
|
-
[index: string]: any;
|
|
5923
|
-
};
|
|
5811
|
+
filter?: string;
|
|
5924
5812
|
// Number of records to load per page
|
|
5925
5813
|
limit?: number;
|
|
5926
5814
|
page?: number;
|
|
@@ -5948,9 +5836,7 @@ export interface GetMenuV3ModifiersRequest
|
|
|
5948
5836
|
|
|
5949
5837
|
export interface GetMenuV3ModifiersCountQuery {
|
|
5950
5838
|
// The fields that filtering is allowed on
|
|
5951
|
-
filter?:
|
|
5952
|
-
[index: string]: any;
|
|
5953
|
-
};
|
|
5839
|
+
filter?: string;
|
|
5954
5840
|
// Graphql query string
|
|
5955
5841
|
_query?: string;
|
|
5956
5842
|
nocache?: boolean;
|
|
@@ -6010,9 +5896,7 @@ export interface GetMenuV3GlobalDiffsQuery {
|
|
|
6010
5896
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
6011
5897
|
relationships?: string[];
|
|
6012
5898
|
// The fields that filtering is allowed on
|
|
6013
|
-
filter?:
|
|
6014
|
-
[index: string]: any;
|
|
6015
|
-
};
|
|
5899
|
+
filter?: string;
|
|
6016
5900
|
// Number of records to load per page
|
|
6017
5901
|
limit?: number;
|
|
6018
5902
|
page?: number;
|
|
@@ -6039,9 +5923,7 @@ export interface GetMenuV3GlobalDiffsRequest
|
|
|
6039
5923
|
|
|
6040
5924
|
export interface GetMenuV3GlobalDiffsCountQuery {
|
|
6041
5925
|
// The fields that filtering is allowed on
|
|
6042
|
-
filter?:
|
|
6043
|
-
[index: string]: any;
|
|
6044
|
-
};
|
|
5926
|
+
filter?: string;
|
|
6045
5927
|
// Graphql query string
|
|
6046
5928
|
_query?: string;
|
|
6047
5929
|
}
|
|
@@ -6055,7 +5937,7 @@ export interface GetMenuV3GlobalDiffsCountRequest
|
|
|
6055
5937
|
extends BaseRequest,
|
|
6056
5938
|
RequestQuery<GetMenuV3GlobalDiffsCountQuery> {}
|
|
6057
5939
|
|
|
6058
|
-
// GET menu/v3/menuworks
|
|
5940
|
+
// GET /menu/v3/menuworks
|
|
6059
5941
|
|
|
6060
5942
|
export interface GetMenuV3MenuworksQuery {
|
|
6061
5943
|
unit_id?: string;
|