@compassdigital/sdk.typescript 4.463.0 → 4.465.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 +1 -7
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -8
- package/lib/index.js.map +1 -1
- package/lib/interface/discount.d.ts +0 -24
- package/lib/interface/discount.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +73 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +0 -10
- package/src/interface/discount.ts +0 -34
- package/src/interface/menu.ts +74 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1353,7 +1353,6 @@ import {
|
|
|
1353
1353
|
GetDiscountsResponse,
|
|
1354
1354
|
PostDiscountBody,
|
|
1355
1355
|
PostDiscountResponse,
|
|
1356
|
-
GetDiscountsAllResponse,
|
|
1357
1356
|
PostDiscountEventBody,
|
|
1358
1357
|
PostDiscountEventResponse,
|
|
1359
1358
|
PostRewardsQuery,
|
|
@@ -15218,15 +15217,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
15218
15217
|
return this.request('discount', '/discount', 'POST', `/discount`, body, options);
|
|
15219
15218
|
}
|
|
15220
15219
|
|
|
15221
|
-
/**
|
|
15222
|
-
* GET /discount/all - Get all discounts
|
|
15223
|
-
*
|
|
15224
|
-
* @param options - additional request options
|
|
15225
|
-
*/
|
|
15226
|
-
get_discounts_all(options?: RequestOptions): ResponsePromise<GetDiscountsAllResponse> {
|
|
15227
|
-
return this.request('discount', '/discount/all', 'GET', `/discount/all`, null, options);
|
|
15228
|
-
}
|
|
15229
|
-
|
|
15230
15220
|
/**
|
|
15231
15221
|
* POST /discount/event - Handle discount event
|
|
15232
15222
|
*
|
|
@@ -225,36 +225,6 @@ export interface GetDiscountsResponseDTO {
|
|
|
225
225
|
discounts: DiscountDTO[];
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
export interface DiscountWithEntities {
|
|
229
|
-
// discount id
|
|
230
|
-
id: string;
|
|
231
|
-
// user id of discount creator
|
|
232
|
-
createdBy: string;
|
|
233
|
-
// user id of most recent update
|
|
234
|
-
updatedBy: string;
|
|
235
|
-
// What the discount applies to
|
|
236
|
-
appliesTo: 'order' | 'items';
|
|
237
|
-
// What the discount type is
|
|
238
|
-
type: 'Total Order' | 'Single Items' | 'Bundle';
|
|
239
|
-
createdAt: string;
|
|
240
|
-
updatedAt: string;
|
|
241
|
-
name: string;
|
|
242
|
-
status: DiscountStatus;
|
|
243
|
-
is?: DiscountIs;
|
|
244
|
-
meta?: DiscountMeta;
|
|
245
|
-
schedule?: DiscountSchedule;
|
|
246
|
-
channelConfig: DiscountChannelConfig;
|
|
247
|
-
itemLevelConfig?: ItemLevelConfig;
|
|
248
|
-
siteCount: number;
|
|
249
|
-
brandCount: number;
|
|
250
|
-
sites?: DiscountSite[];
|
|
251
|
-
brands?: DiscountBrand[];
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
export interface GetAllDiscountsResponseDTO {
|
|
255
|
-
discounts: DiscountWithEntities[];
|
|
256
|
-
}
|
|
257
|
-
|
|
258
228
|
export interface PatchDiscountRequestDTO {
|
|
259
229
|
// What the discount applies to
|
|
260
230
|
appliesTo?: 'order' | 'items';
|
|
@@ -573,10 +543,6 @@ export type PostDiscountBody = PostDiscountRequestDTO;
|
|
|
573
543
|
|
|
574
544
|
export type PostDiscountResponse = PostDiscountResponseDTO;
|
|
575
545
|
|
|
576
|
-
// GET /discount/all - Get all discounts
|
|
577
|
-
|
|
578
|
-
export type GetDiscountsAllResponse = GetAllDiscountsResponseDTO;
|
|
579
|
-
|
|
580
546
|
// POST /discount/event - Handle discount event
|
|
581
547
|
|
|
582
548
|
export type PostDiscountEventBody = PostDiscountEventRequestDTO;
|
package/src/interface/menu.ts
CHANGED
|
@@ -762,6 +762,7 @@ export interface DraftMenuDTO {
|
|
|
762
762
|
brand?: DraftBrandDTO;
|
|
763
763
|
changes?: MenuChangeDTO[];
|
|
764
764
|
vendor_metadata?: VendorMetadataDTO[];
|
|
765
|
+
menu_category_items?: Record<string, any>[];
|
|
765
766
|
attachments?: Record<string, any>;
|
|
766
767
|
permissions?: Record<string, any>;
|
|
767
768
|
[index: string]: any;
|
|
@@ -793,6 +794,7 @@ export interface DraftCategoryDTO {
|
|
|
793
794
|
brand?: DraftBrandDTO;
|
|
794
795
|
changes?: CategoryChangeDTO[];
|
|
795
796
|
vendor_metadata?: VendorMetadataDTO[];
|
|
797
|
+
menu_category_items?: Record<string, any>[];
|
|
796
798
|
attachments?: Record<string, any>;
|
|
797
799
|
permissions?: Record<string, any>;
|
|
798
800
|
[index: string]: any;
|
|
@@ -868,6 +870,7 @@ export interface DraftItemDTO {
|
|
|
868
870
|
categories?: Record<string, any>[];
|
|
869
871
|
changes?: ItemChangeDTO[];
|
|
870
872
|
vendor_metadata?: VendorMetadataDTO[];
|
|
873
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
871
874
|
attachments?: Record<string, any>;
|
|
872
875
|
weight?: Record<string, any>;
|
|
873
876
|
permissions?: Record<string, any>;
|
|
@@ -1171,6 +1174,24 @@ export interface StockDTO {
|
|
|
1171
1174
|
[index: string]: any;
|
|
1172
1175
|
}
|
|
1173
1176
|
|
|
1177
|
+
export interface MenuCategoryItemsDTO {
|
|
1178
|
+
item_id?: string;
|
|
1179
|
+
menu_id?: string;
|
|
1180
|
+
category_id?: string;
|
|
1181
|
+
brand_id?: string;
|
|
1182
|
+
id?: string;
|
|
1183
|
+
created_at?: string;
|
|
1184
|
+
updated_at?: string;
|
|
1185
|
+
deleted_at?: string;
|
|
1186
|
+
version?: number;
|
|
1187
|
+
item?: Record<string, any>;
|
|
1188
|
+
menu?: Record<string, any>;
|
|
1189
|
+
category?: Record<string, any>;
|
|
1190
|
+
brand?: DraftBrandDTO;
|
|
1191
|
+
permissions?: Record<string, any>;
|
|
1192
|
+
[index: string]: any;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1174
1195
|
export interface CategoryToItemRelationshipChangeDTO {
|
|
1175
1196
|
id?: string;
|
|
1176
1197
|
created_at?: string;
|
|
@@ -1847,6 +1868,7 @@ export interface DraftItemEntityDTO {
|
|
|
1847
1868
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
1848
1869
|
changes?: ItemChangeDTO[];
|
|
1849
1870
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1871
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
1850
1872
|
attachments?: FileAttachmentsDTO;
|
|
1851
1873
|
weight?: WeightDTO;
|
|
1852
1874
|
permissions?: Record<string, any>;
|
|
@@ -2061,6 +2083,7 @@ export interface PartialItemDTO {
|
|
|
2061
2083
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
2062
2084
|
changes?: ItemChangeDTO[];
|
|
2063
2085
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2086
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
2064
2087
|
attachments?: FileAttachmentsDTO;
|
|
2065
2088
|
weight?: WeightDTO;
|
|
2066
2089
|
permissions?: Record<string, any>;
|
|
@@ -3386,6 +3409,7 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
3386
3409
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3387
3410
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3388
3411
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3412
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
3389
3413
|
attachments?: FileAttachmentsDTO;
|
|
3390
3414
|
permissions?: Record<string, any>;
|
|
3391
3415
|
[index: string]: any;
|
|
@@ -3459,6 +3483,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
3459
3483
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3460
3484
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3461
3485
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3486
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
3462
3487
|
attachments?: FileAttachmentsDTO;
|
|
3463
3488
|
permissions?: Record<string, any>;
|
|
3464
3489
|
[index: string]: any;
|
|
@@ -3552,6 +3577,7 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
3552
3577
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3553
3578
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3554
3579
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3580
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
3555
3581
|
attachments?: FileAttachmentsDTO;
|
|
3556
3582
|
permissions?: Record<string, any>;
|
|
3557
3583
|
[index: string]: any;
|
|
@@ -4066,6 +4092,7 @@ export interface PostMenuV3DraftBrandArchiveResponse {
|
|
|
4066
4092
|
local_menu_group?: LocalMenuGroupDTO;
|
|
4067
4093
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
4068
4094
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4095
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
4069
4096
|
attachments?: FileAttachmentsDTO;
|
|
4070
4097
|
permissions?: Record<string, any>;
|
|
4071
4098
|
[index: string]: any;
|
|
@@ -4120,6 +4147,7 @@ export interface PostMenuV3DraftBrandUnarchiveResponse {
|
|
|
4120
4147
|
local_menu_group?: LocalMenuGroupDTO;
|
|
4121
4148
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
4122
4149
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4150
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
4123
4151
|
attachments?: FileAttachmentsDTO;
|
|
4124
4152
|
permissions?: Record<string, any>;
|
|
4125
4153
|
[index: string]: any;
|
|
@@ -4548,6 +4576,7 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
4548
4576
|
brand?: DraftBrandDTO;
|
|
4549
4577
|
changes?: MenuChangeDTO[];
|
|
4550
4578
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4579
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
4551
4580
|
attachments?: FileAttachmentsDTO;
|
|
4552
4581
|
permissions?: Record<string, any>;
|
|
4553
4582
|
[index: string]: any;
|
|
@@ -4602,6 +4631,7 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
4602
4631
|
brand?: DraftBrandDTO;
|
|
4603
4632
|
changes?: MenuChangeDTO[];
|
|
4604
4633
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4634
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
4605
4635
|
attachments?: FileAttachmentsDTO;
|
|
4606
4636
|
permissions?: Record<string, any>;
|
|
4607
4637
|
[index: string]: any;
|
|
@@ -4676,6 +4706,7 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
4676
4706
|
brand?: DraftBrandDTO;
|
|
4677
4707
|
changes?: MenuChangeDTO[];
|
|
4678
4708
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4709
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
4679
4710
|
attachments?: FileAttachmentsDTO;
|
|
4680
4711
|
permissions?: Record<string, any>;
|
|
4681
4712
|
[index: string]: any;
|
|
@@ -4813,6 +4844,7 @@ export interface PostMenuV3DraftMenuDuplicateResponse {
|
|
|
4813
4844
|
brand?: DraftBrandDTO;
|
|
4814
4845
|
changes?: MenuChangeDTO[];
|
|
4815
4846
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4847
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
4816
4848
|
attachments?: FileAttachmentsDTO;
|
|
4817
4849
|
permissions?: Record<string, any>;
|
|
4818
4850
|
[index: string]: any;
|
|
@@ -5011,6 +5043,7 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
5011
5043
|
brand?: DraftBrandDTO;
|
|
5012
5044
|
changes?: CategoryChangeDTO[];
|
|
5013
5045
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5046
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
5014
5047
|
attachments?: FileAttachmentsDTO;
|
|
5015
5048
|
permissions?: Record<string, any>;
|
|
5016
5049
|
[index: string]: any;
|
|
@@ -5067,6 +5100,7 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
5067
5100
|
brand?: DraftBrandDTO;
|
|
5068
5101
|
changes?: CategoryChangeDTO[];
|
|
5069
5102
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5103
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
5070
5104
|
attachments?: FileAttachmentsDTO;
|
|
5071
5105
|
permissions?: Record<string, any>;
|
|
5072
5106
|
[index: string]: any;
|
|
@@ -5130,6 +5164,7 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
5130
5164
|
brand?: DraftBrandDTO;
|
|
5131
5165
|
changes?: CategoryChangeDTO[];
|
|
5132
5166
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5167
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
5133
5168
|
attachments?: FileAttachmentsDTO;
|
|
5134
5169
|
permissions?: Record<string, any>;
|
|
5135
5170
|
[index: string]: any;
|
|
@@ -5215,6 +5250,7 @@ export interface PostMenuV3DraftCategoryDuplicateResponse {
|
|
|
5215
5250
|
brand?: DraftBrandDTO;
|
|
5216
5251
|
changes?: CategoryChangeDTO[];
|
|
5217
5252
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5253
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
5218
5254
|
attachments?: FileAttachmentsDTO;
|
|
5219
5255
|
permissions?: Record<string, any>;
|
|
5220
5256
|
[index: string]: any;
|
|
@@ -5629,6 +5665,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
5629
5665
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
5630
5666
|
changes?: ItemChangeDTO[];
|
|
5631
5667
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5668
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
5632
5669
|
attachments?: FileAttachmentsDTO;
|
|
5633
5670
|
weight?: WeightDTO;
|
|
5634
5671
|
permissions?: Record<string, any>;
|
|
@@ -5711,6 +5748,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
5711
5748
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
5712
5749
|
changes?: ItemChangeDTO[];
|
|
5713
5750
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5751
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
5714
5752
|
attachments?: FileAttachmentsDTO;
|
|
5715
5753
|
weight?: WeightDTO;
|
|
5716
5754
|
permissions?: Record<string, any>;
|
|
@@ -5830,6 +5868,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
5830
5868
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
5831
5869
|
changes?: ItemChangeDTO[];
|
|
5832
5870
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5871
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
5833
5872
|
attachments?: FileAttachmentsDTO;
|
|
5834
5873
|
weight?: WeightDTO;
|
|
5835
5874
|
permissions?: Record<string, any>;
|
|
@@ -5939,6 +5978,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
5939
5978
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
5940
5979
|
changes?: ItemChangeDTO[];
|
|
5941
5980
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5981
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
5942
5982
|
attachments?: FileAttachmentsDTO;
|
|
5943
5983
|
weight?: WeightDTO;
|
|
5944
5984
|
permissions?: Record<string, any>;
|
|
@@ -7749,6 +7789,7 @@ export interface PostMenuV4BrandBody {
|
|
|
7749
7789
|
local_menu_group?: LocalMenuGroupDTO;
|
|
7750
7790
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
7751
7791
|
vendor_metadata?: VendorMetadataDTO[];
|
|
7792
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
7752
7793
|
attachments?: FileAttachmentsDTO;
|
|
7753
7794
|
permissions?: Record<string, any>;
|
|
7754
7795
|
[index: string]: any;
|
|
@@ -7793,6 +7834,7 @@ export interface PostMenuV4BrandResponse {
|
|
|
7793
7834
|
local_menu_group?: LocalMenuGroupDTO;
|
|
7794
7835
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
7795
7836
|
vendor_metadata?: VendorMetadataDTO[];
|
|
7837
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
7796
7838
|
attachments?: FileAttachmentsDTO;
|
|
7797
7839
|
permissions?: Record<string, any>;
|
|
7798
7840
|
[index: string]: any;
|
|
@@ -7853,6 +7895,7 @@ export interface GetMenuV4BrandResponse {
|
|
|
7853
7895
|
local_menu_group?: LocalMenuGroupDTO;
|
|
7854
7896
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
7855
7897
|
vendor_metadata?: VendorMetadataDTO[];
|
|
7898
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
7856
7899
|
attachments?: FileAttachmentsDTO;
|
|
7857
7900
|
permissions?: Record<string, any>;
|
|
7858
7901
|
[index: string]: any;
|
|
@@ -7903,6 +7946,7 @@ export interface PatchMenuV4BrandBody {
|
|
|
7903
7946
|
local_menu_group?: LocalMenuGroupDTO;
|
|
7904
7947
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
7905
7948
|
vendor_metadata?: VendorMetadataDTO[];
|
|
7949
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
7906
7950
|
attachments?: FileAttachmentsDTO;
|
|
7907
7951
|
permissions?: Record<string, any>;
|
|
7908
7952
|
[index: string]: any;
|
|
@@ -7947,6 +7991,7 @@ export interface PatchMenuV4BrandResponse {
|
|
|
7947
7991
|
local_menu_group?: LocalMenuGroupDTO;
|
|
7948
7992
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
7949
7993
|
vendor_metadata?: VendorMetadataDTO[];
|
|
7994
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
7950
7995
|
attachments?: FileAttachmentsDTO;
|
|
7951
7996
|
permissions?: Record<string, any>;
|
|
7952
7997
|
[index: string]: any;
|
|
@@ -8001,6 +8046,7 @@ export interface DeleteMenuV4BrandResponse {
|
|
|
8001
8046
|
local_menu_group?: LocalMenuGroupDTO;
|
|
8002
8047
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
8003
8048
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8049
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8004
8050
|
attachments?: FileAttachmentsDTO;
|
|
8005
8051
|
permissions?: Record<string, any>;
|
|
8006
8052
|
[index: string]: any;
|
|
@@ -8049,6 +8095,7 @@ export interface PostMenuV4BrandMenuBody {
|
|
|
8049
8095
|
brand?: DraftBrandDTO;
|
|
8050
8096
|
changes?: MenuChangeDTO[];
|
|
8051
8097
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8098
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8052
8099
|
attachments?: FileAttachmentsDTO;
|
|
8053
8100
|
permissions?: Record<string, any>;
|
|
8054
8101
|
[index: string]: any;
|
|
@@ -8074,6 +8121,7 @@ export interface PostMenuV4BrandMenuResponse {
|
|
|
8074
8121
|
brand?: DraftBrandDTO;
|
|
8075
8122
|
changes?: MenuChangeDTO[];
|
|
8076
8123
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8124
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8077
8125
|
attachments?: FileAttachmentsDTO;
|
|
8078
8126
|
permissions?: Record<string, any>;
|
|
8079
8127
|
[index: string]: any;
|
|
@@ -8107,6 +8155,7 @@ export interface PatchMenuV4BrandMenuBody {
|
|
|
8107
8155
|
brand?: DraftBrandDTO;
|
|
8108
8156
|
changes?: MenuChangeDTO[];
|
|
8109
8157
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8158
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8110
8159
|
attachments?: FileAttachmentsDTO;
|
|
8111
8160
|
permissions?: Record<string, any>;
|
|
8112
8161
|
[index: string]: any;
|
|
@@ -8132,6 +8181,7 @@ export interface PatchMenuV4BrandMenuResponse {
|
|
|
8132
8181
|
brand?: DraftBrandDTO;
|
|
8133
8182
|
changes?: MenuChangeDTO[];
|
|
8134
8183
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8184
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8135
8185
|
attachments?: FileAttachmentsDTO;
|
|
8136
8186
|
permissions?: Record<string, any>;
|
|
8137
8187
|
[index: string]: any;
|
|
@@ -8168,6 +8218,7 @@ export interface DeleteMenuV4BrandMenuResponse {
|
|
|
8168
8218
|
brand?: DraftBrandDTO;
|
|
8169
8219
|
changes?: MenuChangeDTO[];
|
|
8170
8220
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8221
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8171
8222
|
attachments?: FileAttachmentsDTO;
|
|
8172
8223
|
permissions?: Record<string, any>;
|
|
8173
8224
|
[index: string]: any;
|
|
@@ -8331,6 +8382,7 @@ export interface PostMenuV4BrandCategoryBody {
|
|
|
8331
8382
|
brand?: DraftBrandDTO;
|
|
8332
8383
|
changes?: CategoryChangeDTO[];
|
|
8333
8384
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8385
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8334
8386
|
attachments?: FileAttachmentsDTO;
|
|
8335
8387
|
permissions?: Record<string, any>;
|
|
8336
8388
|
[index: string]: any;
|
|
@@ -8358,6 +8410,7 @@ export interface PostMenuV4BrandCategoryResponse {
|
|
|
8358
8410
|
brand?: DraftBrandDTO;
|
|
8359
8411
|
changes?: CategoryChangeDTO[];
|
|
8360
8412
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8413
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8361
8414
|
attachments?: FileAttachmentsDTO;
|
|
8362
8415
|
permissions?: Record<string, any>;
|
|
8363
8416
|
[index: string]: any;
|
|
@@ -8393,6 +8446,7 @@ export interface PatchMenuV4BrandCategoryBody {
|
|
|
8393
8446
|
brand?: DraftBrandDTO;
|
|
8394
8447
|
changes?: CategoryChangeDTO[];
|
|
8395
8448
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8449
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8396
8450
|
attachments?: FileAttachmentsDTO;
|
|
8397
8451
|
permissions?: Record<string, any>;
|
|
8398
8452
|
[index: string]: any;
|
|
@@ -8420,6 +8474,7 @@ export interface PatchMenuV4BrandCategoryResponse {
|
|
|
8420
8474
|
brand?: DraftBrandDTO;
|
|
8421
8475
|
changes?: CategoryChangeDTO[];
|
|
8422
8476
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8477
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8423
8478
|
attachments?: FileAttachmentsDTO;
|
|
8424
8479
|
permissions?: Record<string, any>;
|
|
8425
8480
|
[index: string]: any;
|
|
@@ -8458,6 +8513,7 @@ export interface DeleteMenuV4BrandCategoryResponse {
|
|
|
8458
8513
|
brand?: DraftBrandDTO;
|
|
8459
8514
|
changes?: CategoryChangeDTO[];
|
|
8460
8515
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8516
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8461
8517
|
attachments?: FileAttachmentsDTO;
|
|
8462
8518
|
permissions?: Record<string, any>;
|
|
8463
8519
|
[index: string]: any;
|
|
@@ -8583,6 +8639,7 @@ export interface PostMenuV4BrandCategoryDuplicateBody {
|
|
|
8583
8639
|
brand?: DraftBrandDTO;
|
|
8584
8640
|
changes?: CategoryChangeDTO[];
|
|
8585
8641
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8642
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8586
8643
|
attachments?: FileAttachmentsDTO;
|
|
8587
8644
|
permissions?: Record<string, any>;
|
|
8588
8645
|
[index: string]: any;
|
|
@@ -8610,6 +8667,7 @@ export interface PostMenuV4BrandCategoryDuplicateResponse {
|
|
|
8610
8667
|
brand?: DraftBrandDTO;
|
|
8611
8668
|
changes?: CategoryChangeDTO[];
|
|
8612
8669
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8670
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8613
8671
|
attachments?: FileAttachmentsDTO;
|
|
8614
8672
|
permissions?: Record<string, any>;
|
|
8615
8673
|
[index: string]: any;
|
|
@@ -8645,6 +8703,7 @@ export interface PostMenuV4BrandMenuDuplicateBody {
|
|
|
8645
8703
|
brand?: DraftBrandDTO;
|
|
8646
8704
|
changes?: MenuChangeDTO[];
|
|
8647
8705
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8706
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8648
8707
|
attachments?: FileAttachmentsDTO;
|
|
8649
8708
|
permissions?: Record<string, any>;
|
|
8650
8709
|
[index: string]: any;
|
|
@@ -8670,6 +8729,7 @@ export interface PostMenuV4BrandMenuDuplicateResponse {
|
|
|
8670
8729
|
brand?: DraftBrandDTO;
|
|
8671
8730
|
changes?: MenuChangeDTO[];
|
|
8672
8731
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8732
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8673
8733
|
attachments?: FileAttachmentsDTO;
|
|
8674
8734
|
permissions?: Record<string, any>;
|
|
8675
8735
|
[index: string]: any;
|
|
@@ -8766,6 +8826,7 @@ export interface PostMenuV4ItemBody {
|
|
|
8766
8826
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
8767
8827
|
changes?: ItemChangeDTO[];
|
|
8768
8828
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8829
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8769
8830
|
attachments?: FileAttachmentsDTO;
|
|
8770
8831
|
weight?: WeightDTO;
|
|
8771
8832
|
permissions?: Record<string, any>;
|
|
@@ -8819,6 +8880,7 @@ export interface PostMenuV4ItemResponse {
|
|
|
8819
8880
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
8820
8881
|
changes?: ItemChangeDTO[];
|
|
8821
8882
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8883
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8822
8884
|
attachments?: FileAttachmentsDTO;
|
|
8823
8885
|
weight?: WeightDTO;
|
|
8824
8886
|
permissions?: Record<string, any>;
|
|
@@ -8874,6 +8936,7 @@ export type PostMenuV4ItemsBulkCreateBody = {
|
|
|
8874
8936
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
8875
8937
|
changes?: ItemChangeDTO[];
|
|
8876
8938
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8939
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8877
8940
|
attachments?: FileAttachmentsDTO;
|
|
8878
8941
|
weight?: WeightDTO;
|
|
8879
8942
|
permissions?: Record<string, any>;
|
|
@@ -8946,6 +9009,7 @@ export interface GetMenuV4ItemResponse {
|
|
|
8946
9009
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
8947
9010
|
changes?: ItemChangeDTO[];
|
|
8948
9011
|
vendor_metadata?: VendorMetadataDTO[];
|
|
9012
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
8949
9013
|
attachments?: FileAttachmentsDTO;
|
|
8950
9014
|
weight?: WeightDTO;
|
|
8951
9015
|
permissions?: Record<string, any>;
|
|
@@ -9006,6 +9070,7 @@ export interface PatchMenuV4ItemBody {
|
|
|
9006
9070
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
9007
9071
|
changes?: ItemChangeDTO[];
|
|
9008
9072
|
vendor_metadata?: VendorMetadataDTO[];
|
|
9073
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
9009
9074
|
attachments?: FileAttachmentsDTO;
|
|
9010
9075
|
weight?: WeightDTO;
|
|
9011
9076
|
permissions?: Record<string, any>;
|
|
@@ -9059,6 +9124,7 @@ export interface PatchMenuV4ItemResponse {
|
|
|
9059
9124
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
9060
9125
|
changes?: ItemChangeDTO[];
|
|
9061
9126
|
vendor_metadata?: VendorMetadataDTO[];
|
|
9127
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
9062
9128
|
attachments?: FileAttachmentsDTO;
|
|
9063
9129
|
weight?: WeightDTO;
|
|
9064
9130
|
permissions?: Record<string, any>;
|
|
@@ -9122,6 +9188,7 @@ export interface DeleteMenuV4ItemResponse {
|
|
|
9122
9188
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
9123
9189
|
changes?: ItemChangeDTO[];
|
|
9124
9190
|
vendor_metadata?: VendorMetadataDTO[];
|
|
9191
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
9125
9192
|
attachments?: FileAttachmentsDTO;
|
|
9126
9193
|
weight?: WeightDTO;
|
|
9127
9194
|
permissions?: Record<string, any>;
|
|
@@ -9176,6 +9243,7 @@ export interface PatchMenuV4ItemsBulkUpdateBody {
|
|
|
9176
9243
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
9177
9244
|
changes?: ItemChangeDTO[];
|
|
9178
9245
|
vendor_metadata?: VendorMetadataDTO[];
|
|
9246
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
9179
9247
|
attachments?: FileAttachmentsDTO;
|
|
9180
9248
|
weight?: WeightDTO;
|
|
9181
9249
|
permissions?: Record<string, any>;
|
|
@@ -9238,6 +9306,7 @@ export interface PatchMenuV4ItemsBulkPriceUpdateBody {
|
|
|
9238
9306
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
9239
9307
|
changes?: ItemChangeDTO[];
|
|
9240
9308
|
vendor_metadata?: VendorMetadataDTO[];
|
|
9309
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
9241
9310
|
attachments?: FileAttachmentsDTO;
|
|
9242
9311
|
weight?: WeightDTO;
|
|
9243
9312
|
permissions?: Record<string, any>;
|
|
@@ -9311,6 +9380,7 @@ export interface PostMenuV4ItemDuplicateResponse {
|
|
|
9311
9380
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
9312
9381
|
changes?: ItemChangeDTO[];
|
|
9313
9382
|
vendor_metadata?: VendorMetadataDTO[];
|
|
9383
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
9314
9384
|
attachments?: FileAttachmentsDTO;
|
|
9315
9385
|
weight?: WeightDTO;
|
|
9316
9386
|
permissions?: Record<string, any>;
|
|
@@ -10480,6 +10550,7 @@ export interface PostMenuV4ScheduleMenuResponse {
|
|
|
10480
10550
|
brand?: DraftBrandDTO;
|
|
10481
10551
|
changes?: MenuChangeDTO[];
|
|
10482
10552
|
vendor_metadata?: VendorMetadataDTO[];
|
|
10553
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
10483
10554
|
attachments?: FileAttachmentsDTO;
|
|
10484
10555
|
permissions?: Record<string, any>;
|
|
10485
10556
|
[index: string]: any;
|
|
@@ -10517,6 +10588,7 @@ export interface PostMenuV4UnscheduleMenuResponse {
|
|
|
10517
10588
|
brand?: DraftBrandDTO;
|
|
10518
10589
|
changes?: MenuChangeDTO[];
|
|
10519
10590
|
vendor_metadata?: VendorMetadataDTO[];
|
|
10591
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
10520
10592
|
attachments?: FileAttachmentsDTO;
|
|
10521
10593
|
permissions?: Record<string, any>;
|
|
10522
10594
|
[index: string]: any;
|
|
@@ -10556,6 +10628,7 @@ export interface GetMenuV4MenuResponse {
|
|
|
10556
10628
|
brand?: DraftBrandDTO;
|
|
10557
10629
|
changes?: MenuChangeDTO[];
|
|
10558
10630
|
vendor_metadata?: VendorMetadataDTO[];
|
|
10631
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
10559
10632
|
attachments?: FileAttachmentsDTO;
|
|
10560
10633
|
permissions?: Record<string, any>;
|
|
10561
10634
|
[index: string]: any;
|
|
@@ -10641,6 +10714,7 @@ export interface GetMenuV4CategoryResponse {
|
|
|
10641
10714
|
brand?: DraftBrandDTO;
|
|
10642
10715
|
changes?: CategoryChangeDTO[];
|
|
10643
10716
|
vendor_metadata?: VendorMetadataDTO[];
|
|
10717
|
+
menu_category_items?: MenuCategoryItemsDTO[];
|
|
10644
10718
|
attachments?: FileAttachmentsDTO;
|
|
10645
10719
|
permissions?: Record<string, any>;
|
|
10646
10720
|
[index: string]: any;
|