@compassdigital/sdk.typescript 4.92.0 → 4.94.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.
@@ -134,14 +134,15 @@ export interface Item {
134
134
  recipe?: {
135
135
  mrn?: string;
136
136
  unit_id?: string;
137
- portion_quantity?: string;
137
+ portion_quantity?: number;
138
138
  portion_unit_name?: string;
139
- grams?: string;
140
- cost?: string;
139
+ grams?: number;
140
+ cost?: number;
141
141
  ingredients?: string[];
142
142
  smart_tags?: string[];
143
143
  allergen_tags?: string[];
144
144
  };
145
+ unique_id?: number;
145
146
  [index: string]: any;
146
147
  };
147
148
  category?: {
@@ -261,14 +262,15 @@ export interface Option {
261
262
  recipe?: {
262
263
  mrn?: string;
263
264
  unit_id?: string;
264
- portion_quantity?: string;
265
+ portion_quantity?: number;
265
266
  portion_unit_name?: string;
266
- grams?: string;
267
- cost?: string;
267
+ grams?: number;
268
+ cost?: number;
268
269
  ingredients?: string[];
269
270
  smart_tags?: string[];
270
271
  allergen_tags?: string[];
271
272
  };
273
+ unique_id?: number;
272
274
  [index: string]: any;
273
275
  };
274
276
  is?: {
@@ -294,9 +296,12 @@ export interface OptionsGroup {
294
296
  hidden?: boolean;
295
297
  out_of_stock?: boolean;
296
298
  incremental?: boolean;
299
+ surcharge_limit?: boolean;
297
300
  };
298
301
  meta?: {
299
302
  sort_number?: number;
303
+ order_type?: 'selection' | 'option' | 'quantity';
304
+ surcharge_limit_value?: number;
300
305
  menu_sort_number?: number;
301
306
  [index: string]: any;
302
307
  };
@@ -372,10 +377,15 @@ export interface DraftBrandDTO {
372
377
  posid_segment?: string;
373
378
  is_simplified_view?: boolean;
374
379
  frictionless_partner?: string;
380
+ catalog_id?: number;
381
+ meta?: BrandMeta;
375
382
  applied_diff_snapshot?: Record<string, any>;
376
383
  permissions?: Record<string, any>;
377
384
  [index: string]: any;
378
385
  }
386
+ export interface BrandMeta {
387
+ jde_category?: string;
388
+ }
379
389
  export interface PublishedBrandDTO {
380
390
  id?: string;
381
391
  name?: string;
@@ -388,6 +398,8 @@ export interface PublishedBrandDTO {
388
398
  posid_segment?: string;
389
399
  is_simplified_view?: boolean;
390
400
  frictionless_partner?: string;
401
+ catalog_id?: number;
402
+ meta?: Record<string, any>;
391
403
  permissions?: Record<string, any>;
392
404
  [index: string]: any;
393
405
  }
@@ -578,6 +590,7 @@ export interface DraftItemDTO {
578
590
  tags?: string[];
579
591
  is_featured?: boolean;
580
592
  tax_jwo_code?: string;
593
+ unique_id?: number;
581
594
  applied_diff_snapshot?: Record<string, any>;
582
595
  brand?: DraftBrandDTO;
583
596
  categories?: Record<string, any>[];
@@ -678,6 +691,7 @@ export interface DraftModifierDTO {
678
691
  post_surcharge?: number;
679
692
  tax_tag_code?: string;
680
693
  tags?: string[];
694
+ unique_id?: number;
681
695
  applied_diff_snapshot?: Record<string, any>;
682
696
  brand?: DraftBrandDTO;
683
697
  changes?: ModifierChangeDTO[];
@@ -941,6 +955,7 @@ export interface PublishedCategoryToItemRelationshipDTO {
941
955
  [index: string]: any;
942
956
  }
943
957
  export interface PublishedItemDTO {
958
+ unique_id?: number;
944
959
  id?: string;
945
960
  parent_id?: string;
946
961
  name?: string;
@@ -1004,6 +1019,7 @@ export interface PublishedModifierGroupToModifierRelationshipDTO {
1004
1019
  [index: string]: any;
1005
1020
  }
1006
1021
  export interface PublishedModifierDTO {
1022
+ unique_id?: number;
1007
1023
  id?: string;
1008
1024
  parent_id?: string;
1009
1025
  name?: string;
@@ -1289,6 +1305,7 @@ export interface DraftItemEntityDTO {
1289
1305
  tags?: string[];
1290
1306
  is_featured?: boolean;
1291
1307
  tax_jwo_code?: string;
1308
+ unique_id?: number;
1292
1309
  applied_diff_snapshot?: Record<string, any>;
1293
1310
  version?: number;
1294
1311
  brand?: DraftBrandDTO;
@@ -1332,6 +1349,7 @@ export interface DraftModifierEntityDTO {
1332
1349
  post_surcharge?: number;
1333
1350
  tax_tag_code?: string;
1334
1351
  tags?: string[];
1352
+ unique_id?: number;
1335
1353
  applied_diff_snapshot?: Record<string, any>;
1336
1354
  version?: number;
1337
1355
  brand?: DraftBrandDTO;
@@ -1384,6 +1402,57 @@ export interface PutUniversalItemEntity {
1384
1402
  metadata?: Record<string, any>;
1385
1403
  price?: number;
1386
1404
  }
1405
+ export interface DraftModifierGroupEntityDTO {
1406
+ parent?: DraftModifierGroupDTO;
1407
+ children?: DraftModifierGroupDTO[];
1408
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
1409
+ items?: DraftItemToModifierGroupRelationshipDTO[];
1410
+ id: string;
1411
+ created_at?: string;
1412
+ updated_at?: string;
1413
+ deleted_at?: string;
1414
+ parent_id?: string;
1415
+ name: string;
1416
+ label?: string;
1417
+ min?: number;
1418
+ max?: number;
1419
+ is_active?: boolean;
1420
+ limit?: number;
1421
+ brand_id: string;
1422
+ order_type?: 'selection' | 'option' | 'quantity';
1423
+ sizing?: string;
1424
+ is_out_of_stock?: boolean;
1425
+ is_incremental?: boolean;
1426
+ applied_diff_snapshot?: Record<string, any>;
1427
+ version?: number;
1428
+ brand?: DraftBrandDTO;
1429
+ changes?: ModifierGroupChangeDTO[];
1430
+ vendor_metadata?: VendorMetadataDTO[];
1431
+ permissions?: Record<string, any>;
1432
+ [index: string]: any;
1433
+ }
1434
+ export interface CategoryItemRelationshipDTO {
1435
+ parent?: DraftCategoryToItemRelationshipDTO;
1436
+ children?: DraftCategoryToItemRelationshipDTO[];
1437
+ id: string;
1438
+ created_at?: string;
1439
+ updated_at?: string;
1440
+ deleted_at?: string;
1441
+ parent_id?: string;
1442
+ item_id: string;
1443
+ category_id: string;
1444
+ brand_id: string;
1445
+ sequence?: number;
1446
+ applied_diff_snapshot?: Record<string, any>;
1447
+ version?: number;
1448
+ category?: DraftCategoryDTO;
1449
+ item?: DraftItemDTO;
1450
+ brand?: DraftBrandDTO;
1451
+ changes?: CategoryToItemRelationshipChangeDTO[];
1452
+ vendor_metadata?: VendorMetadataDTO[];
1453
+ permissions?: Record<string, any>;
1454
+ [index: string]: any;
1455
+ }
1387
1456
  export interface GetMenusQuery {
1388
1457
  query: string;
1389
1458
  _query?: string;
@@ -2111,6 +2180,8 @@ export interface PostMenuV3DraftBrandBody {
2111
2180
  posid_segment?: string;
2112
2181
  is_simplified_view?: boolean;
2113
2182
  frictionless_partner?: string;
2183
+ catalog_id?: number;
2184
+ meta?: BrandMeta;
2114
2185
  applied_diff_snapshot?: Record<string, any>;
2115
2186
  changes?: BrandChangeDTO[];
2116
2187
  local_menu_group?: LocalMenuGroupDTO;
@@ -2162,6 +2233,8 @@ export interface PatchMenuV3DraftBrandBody {
2162
2233
  posid_segment?: string;
2163
2234
  is_simplified_view?: boolean;
2164
2235
  frictionless_partner?: string;
2236
+ catalog_id?: number;
2237
+ meta?: BrandMeta;
2165
2238
  applied_diff_snapshot?: Record<string, any>;
2166
2239
  version?: number;
2167
2240
  changes?: BrandChangeDTO[];
@@ -2226,6 +2299,8 @@ export type PostMenuV3DraftBrandsBody = {
2226
2299
  posid_segment?: string;
2227
2300
  is_simplified_view?: boolean;
2228
2301
  frictionless_partner?: string;
2302
+ catalog_id?: number;
2303
+ meta?: BrandMeta;
2229
2304
  applied_diff_snapshot?: Record<string, any>;
2230
2305
  changes?: BrandChangeDTO[];
2231
2306
  local_menu_group?: LocalMenuGroupDTO;
@@ -2496,6 +2571,8 @@ export interface PostMenuV3BrandBody {
2496
2571
  posid_segment?: string;
2497
2572
  is_simplified_view?: boolean;
2498
2573
  frictionless_partner?: string;
2574
+ catalog_id?: number;
2575
+ meta?: BrandMeta;
2499
2576
  local_menu_group?: LocalMenuGroupDTO;
2500
2577
  global_menu_group?: GlobalMenuGroupDTO;
2501
2578
  attachments?: FileAttachmentsDTO;
@@ -2546,6 +2623,8 @@ export interface PatchMenuV3BrandBody {
2546
2623
  posid_segment?: string;
2547
2624
  is_simplified_view?: boolean;
2548
2625
  frictionless_partner?: string;
2626
+ catalog_id?: number;
2627
+ meta?: BrandMeta;
2549
2628
  version?: number;
2550
2629
  local_menu_group?: LocalMenuGroupDTO;
2551
2630
  global_menu_group?: GlobalMenuGroupDTO;
@@ -2610,6 +2689,8 @@ export type PostMenuV3BrandsBody = {
2610
2689
  posid_segment?: string;
2611
2690
  is_simplified_view?: boolean;
2612
2691
  frictionless_partner?: string;
2692
+ catalog_id?: number;
2693
+ meta?: BrandMeta;
2613
2694
  local_menu_group?: LocalMenuGroupDTO;
2614
2695
  global_menu_group?: GlobalMenuGroupDTO;
2615
2696
  attachments?: FileAttachmentsDTO;
@@ -2887,6 +2968,35 @@ export interface GetMenuV3DraftMenusVerifyPublishResponse {
2887
2968
  }
2888
2969
  export interface GetMenuV3DraftMenusVerifyPublishRequest extends BaseRequest, RequestQuery<GetMenuV3DraftMenusVerifyPublishQuery> {
2889
2970
  }
2971
+ export interface PostMenuV3DraftMenuDuplicatePath {
2972
+ id: string;
2973
+ }
2974
+ export interface PostMenuV3DraftMenuDuplicateBody {
2975
+ name?: string;
2976
+ [index: string]: any;
2977
+ }
2978
+ export interface PostMenuV3DraftMenuDuplicateResponse {
2979
+ parent?: DraftMenuDTO;
2980
+ children?: DraftMenuDTO[];
2981
+ categories?: DraftCategoryDTO[];
2982
+ id: string;
2983
+ created_at?: string;
2984
+ updated_at?: string;
2985
+ deleted_at?: string;
2986
+ parent_id?: string;
2987
+ name: string;
2988
+ brand_id: string;
2989
+ applied_diff_snapshot?: Record<string, any>;
2990
+ version?: number;
2991
+ brand?: DraftBrandDTO;
2992
+ changes?: MenuChangeDTO[];
2993
+ vendor_metadata?: VendorMetadataDTO[];
2994
+ permissions?: Record<string, any>;
2995
+ [index: string]: any;
2996
+ }
2997
+ export interface PostMenuV3DraftMenuDuplicateRequest extends BaseRequest, PostMenuV3DraftMenuDuplicatePath {
2998
+ body: PostMenuV3DraftMenuDuplicateBody;
2999
+ }
2890
3000
  export interface GetMenuV3MenuPath {
2891
3001
  id: string;
2892
3002
  }
@@ -3113,6 +3223,45 @@ export interface PostMenuV3DraftCategoryAttachmentResponse {
3113
3223
  }
3114
3224
  export interface PostMenuV3DraftCategoryAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV3DraftCategoryAttachmentQuery>, PostMenuV3DraftCategoryAttachmentPath {
3115
3225
  }
3226
+ export interface PostMenuV3DraftCategoryDuplicatePath {
3227
+ id: string;
3228
+ }
3229
+ export interface PostMenuV3DraftCategoryDuplicateBody {
3230
+ name?: string;
3231
+ label?: string;
3232
+ sequence?: number;
3233
+ is_active?: boolean;
3234
+ menu_id?: string;
3235
+ [index: string]: any;
3236
+ }
3237
+ export interface PostMenuV3DraftCategoryDuplicateResponse {
3238
+ parent?: DraftCategoryDTO;
3239
+ children?: DraftCategoryDTO[];
3240
+ id: string;
3241
+ created_at?: string;
3242
+ updated_at?: string;
3243
+ deleted_at?: string;
3244
+ parent_id?: string;
3245
+ name: string;
3246
+ label?: string;
3247
+ sequence?: number;
3248
+ is_active?: boolean;
3249
+ brand_id: string;
3250
+ menu_id: string;
3251
+ applied_diff_snapshot?: Record<string, any>;
3252
+ version?: number;
3253
+ menu?: DraftMenuDTO;
3254
+ items?: DraftCategoryToItemRelationshipDTO[];
3255
+ brand?: DraftBrandDTO;
3256
+ changes?: CategoryChangeDTO[];
3257
+ vendor_metadata?: VendorMetadataDTO[];
3258
+ attachments?: FileAttachmentsDTO;
3259
+ permissions?: Record<string, any>;
3260
+ [index: string]: any;
3261
+ }
3262
+ export interface PostMenuV3DraftCategoryDuplicateRequest extends BaseRequest, PostMenuV3DraftCategoryDuplicatePath {
3263
+ body: PostMenuV3DraftCategoryDuplicateBody;
3264
+ }
3116
3265
  export interface GetMenuV3CategoryPath {
3117
3266
  id: string;
3118
3267
  }
@@ -3349,6 +3498,7 @@ export interface PostMenuV3DraftItemBody {
3349
3498
  tags?: string[];
3350
3499
  is_featured?: boolean;
3351
3500
  tax_jwo_code?: string;
3501
+ unique_id?: number;
3352
3502
  applied_diff_snapshot?: Record<string, any>;
3353
3503
  brand?: DraftBrandDTO;
3354
3504
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -3405,6 +3555,7 @@ export interface PatchMenuV3DraftItemBody {
3405
3555
  tags?: string[];
3406
3556
  is_featured?: boolean;
3407
3557
  tax_jwo_code?: string;
3558
+ unique_id?: number;
3408
3559
  applied_diff_snapshot?: Record<string, any>;
3409
3560
  version?: number;
3410
3561
  brand?: DraftBrandDTO;
@@ -3486,6 +3637,7 @@ export type PostMenuV3DraftItemsBody = {
3486
3637
  tags?: string[];
3487
3638
  is_featured?: boolean;
3488
3639
  tax_jwo_code?: string;
3640
+ unique_id?: number;
3489
3641
  applied_diff_snapshot?: Record<string, any>;
3490
3642
  brand?: DraftBrandDTO;
3491
3643
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -3561,6 +3713,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
3561
3713
  tags?: string[];
3562
3714
  is_featured?: boolean;
3563
3715
  tax_jwo_code?: string;
3716
+ unique_id?: number;
3564
3717
  applied_diff_snapshot?: Record<string, any>;
3565
3718
  brand?: DraftBrandDTO;
3566
3719
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -4293,6 +4446,7 @@ export interface PostMenuV3DraftModifierBody {
4293
4446
  post_surcharge?: number;
4294
4447
  tax_tag_code?: string;
4295
4448
  tags?: string[];
4449
+ unique_id?: number;
4296
4450
  applied_diff_snapshot?: Record<string, any>;
4297
4451
  brand?: DraftBrandDTO;
4298
4452
  changes?: ModifierChangeDTO[];
@@ -4349,6 +4503,7 @@ export interface PatchMenuV3DraftModifierBody {
4349
4503
  post_surcharge?: number;
4350
4504
  tax_tag_code?: string;
4351
4505
  tags?: string[];
4506
+ unique_id?: number;
4352
4507
  applied_diff_snapshot?: Record<string, any>;
4353
4508
  version?: number;
4354
4509
  brand?: DraftBrandDTO;
@@ -4430,6 +4585,7 @@ export type PostMenuV3DraftModifiersBody = {
4430
4585
  post_surcharge?: number;
4431
4586
  tax_tag_code?: string;
4432
4587
  tags?: string[];
4588
+ unique_id?: number;
4433
4589
  applied_diff_snapshot?: Record<string, any>;
4434
4590
  brand?: DraftBrandDTO;
4435
4591
  changes?: ModifierChangeDTO[];
@@ -4505,6 +4661,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
4505
4661
  post_surcharge?: number;
4506
4662
  tax_tag_code?: string;
4507
4663
  tags?: string[];
4664
+ unique_id?: number;
4508
4665
  applied_diff_snapshot?: Record<string, any>;
4509
4666
  brand?: DraftBrandDTO;
4510
4667
  changes?: ModifierChangeDTO[];
@@ -4754,7 +4911,38 @@ export interface PostMenuV3TriggerUpdateResponse {
4754
4911
  export interface PostMenuV3TriggerUpdateRequest extends BaseRequest {
4755
4912
  }
4756
4913
  export interface PostMenuV4BrandBody {
4757
- name?: string;
4914
+ parent?: DraftBrandDTO;
4915
+ children?: DraftBrandDTO[];
4916
+ menus?: DraftMenuDTO[];
4917
+ categories?: DraftCategoryDTO[];
4918
+ category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
4919
+ items?: DraftItemDTO[];
4920
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
4921
+ modifier_groups?: DraftModifierGroupDTO[];
4922
+ modifier_group_to_modifier_relationships?: DraftModifierGroupToModifierRelationshipDTO[];
4923
+ modifiers?: DraftModifierDTO[];
4924
+ statuses?: BrandStatusDTO[];
4925
+ audit_logs?: AuditDTO[];
4926
+ name: string;
4927
+ description?: string;
4928
+ is_active?: boolean;
4929
+ type?: 'global' | 'local';
4930
+ parent_id?: string;
4931
+ local_menu_group_id?: string;
4932
+ global_menu_group_id?: string;
4933
+ posid_segment?: string;
4934
+ is_simplified_view?: boolean;
4935
+ frictionless_partner?: string;
4936
+ catalog_id?: number;
4937
+ meta?: BrandMeta;
4938
+ applied_diff_snapshot?: Record<string, any>;
4939
+ changes?: BrandChangeDTO[];
4940
+ local_menu_group?: LocalMenuGroupDTO;
4941
+ global_menu_group?: GlobalMenuGroupDTO;
4942
+ vendor_metadata?: VendorMetadataDTO[];
4943
+ attachments?: FileAttachmentsDTO;
4944
+ permissions?: Record<string, any>;
4945
+ [index: string]: any;
4758
4946
  }
4759
4947
  export interface PostMenuV4BrandResponse {
4760
4948
  parent?: DraftBrandDTO;
@@ -4783,6 +4971,8 @@ export interface PostMenuV4BrandResponse {
4783
4971
  posid_segment?: string;
4784
4972
  is_simplified_view?: boolean;
4785
4973
  frictionless_partner?: string;
4974
+ catalog_id?: number;
4975
+ meta?: BrandMeta;
4786
4976
  applied_diff_snapshot?: Record<string, any>;
4787
4977
  version?: number;
4788
4978
  changes?: BrandChangeDTO[];
@@ -4829,6 +5019,8 @@ export interface GetMenuV4BrandResponse {
4829
5019
  posid_segment?: string;
4830
5020
  is_simplified_view?: boolean;
4831
5021
  frictionless_partner?: string;
5022
+ catalog_id?: number;
5023
+ meta?: BrandMeta;
4832
5024
  applied_diff_snapshot?: Record<string, any>;
4833
5025
  version?: number;
4834
5026
  changes?: BrandChangeDTO[];
@@ -4841,4 +5033,895 @@ export interface GetMenuV4BrandResponse {
4841
5033
  }
4842
5034
  export interface GetMenuV4BrandRequest extends BaseRequest, RequestQuery<GetMenuV4BrandQuery>, GetMenuV4BrandPath {
4843
5035
  }
5036
+ export interface PostMenuV4BrandMenuPath {
5037
+ id: string;
5038
+ }
5039
+ export interface PostMenuV4BrandMenuBody {
5040
+ parent?: DraftMenuDTO;
5041
+ children?: DraftMenuDTO[];
5042
+ categories?: DraftCategoryDTO[];
5043
+ parent_id?: string;
5044
+ name: string;
5045
+ brand_id: string;
5046
+ applied_diff_snapshot?: Record<string, any>;
5047
+ brand?: DraftBrandDTO;
5048
+ changes?: MenuChangeDTO[];
5049
+ vendor_metadata?: VendorMetadataDTO[];
5050
+ permissions?: Record<string, any>;
5051
+ [index: string]: any;
5052
+ }
5053
+ export interface PostMenuV4BrandMenuResponse {
5054
+ parent?: DraftMenuDTO;
5055
+ children?: DraftMenuDTO[];
5056
+ categories?: DraftCategoryDTO[];
5057
+ id: string;
5058
+ created_at?: string;
5059
+ updated_at?: string;
5060
+ deleted_at?: string;
5061
+ parent_id?: string;
5062
+ name: string;
5063
+ brand_id: string;
5064
+ applied_diff_snapshot?: Record<string, any>;
5065
+ version?: number;
5066
+ brand?: DraftBrandDTO;
5067
+ changes?: MenuChangeDTO[];
5068
+ vendor_metadata?: VendorMetadataDTO[];
5069
+ permissions?: Record<string, any>;
5070
+ [index: string]: any;
5071
+ }
5072
+ export interface PostMenuV4BrandMenuRequest extends BaseRequest, PostMenuV4BrandMenuPath {
5073
+ body: PostMenuV4BrandMenuBody;
5074
+ }
5075
+ export interface GetMenuV4BrandItemsPath {
5076
+ id: string;
5077
+ }
5078
+ export interface GetMenuV4BrandItemsQuery {
5079
+ filter?: string;
5080
+ select?: string[];
5081
+ relationships?: string[];
5082
+ limit?: number;
5083
+ page?: number;
5084
+ sort_by?: string;
5085
+ sort_order?: 'DESC' | 'ASC';
5086
+ soft_deleted?: 'include' | 'exclude' | 'only';
5087
+ _query?: string;
5088
+ }
5089
+ export interface GetMenuV4BrandItemsResponse {
5090
+ results: DraftItemEntityDTO[];
5091
+ meta?: ListResponseMetadataDTO;
5092
+ [index: string]: any;
5093
+ }
5094
+ export interface GetMenuV4BrandItemsRequest extends BaseRequest, RequestQuery<GetMenuV4BrandItemsQuery>, GetMenuV4BrandItemsPath {
5095
+ }
5096
+ export interface GetMenuV4BrandModifierGroupsPath {
5097
+ id: string;
5098
+ }
5099
+ export interface GetMenuV4BrandModifierGroupsQuery {
5100
+ filter?: string;
5101
+ select?: string[];
5102
+ relationships?: string[];
5103
+ limit?: number;
5104
+ page?: number;
5105
+ sort_by?: string;
5106
+ sort_order?: 'DESC' | 'ASC';
5107
+ soft_deleted?: 'include' | 'exclude' | 'only';
5108
+ _query?: string;
5109
+ }
5110
+ export interface GetMenuV4BrandModifierGroupsResponse {
5111
+ results: DraftModifierGroupEntityDTO[];
5112
+ meta?: ListResponseMetadataDTO;
5113
+ [index: string]: any;
5114
+ }
5115
+ export interface GetMenuV4BrandModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV4BrandModifierGroupsQuery>, GetMenuV4BrandModifierGroupsPath {
5116
+ }
5117
+ export interface GetMenuV4BrandModifiersPath {
5118
+ id: string;
5119
+ }
5120
+ export interface GetMenuV4BrandModifiersQuery {
5121
+ filter?: string;
5122
+ select?: string[];
5123
+ relationships?: string[];
5124
+ limit?: number;
5125
+ page?: number;
5126
+ sort_by?: string;
5127
+ sort_order?: 'DESC' | 'ASC';
5128
+ soft_deleted?: 'include' | 'exclude' | 'only';
5129
+ _query?: string;
5130
+ }
5131
+ export interface GetMenuV4BrandModifiersResponse {
5132
+ results: DraftModifierEntityDTO[];
5133
+ meta?: ListResponseMetadataDTO;
5134
+ [index: string]: any;
5135
+ }
5136
+ export interface GetMenuV4BrandModifiersRequest extends BaseRequest, RequestQuery<GetMenuV4BrandModifiersQuery>, GetMenuV4BrandModifiersPath {
5137
+ }
5138
+ export interface GetMenuV4BrandCategoryItemsPath {
5139
+ id: string;
5140
+ category_id: string;
5141
+ }
5142
+ export interface GetMenuV4BrandCategoryItemsQuery {
5143
+ filter?: string;
5144
+ select?: string[];
5145
+ relationships?: string[];
5146
+ limit?: number;
5147
+ page?: number;
5148
+ sort_by?: string;
5149
+ sort_order?: 'DESC' | 'ASC';
5150
+ soft_deleted?: 'include' | 'exclude' | 'only';
5151
+ _query?: string;
5152
+ }
5153
+ export interface GetMenuV4BrandCategoryItemsResponse {
5154
+ results: CategoryItemRelationshipDTO[];
5155
+ meta?: ListResponseMetadataDTO;
5156
+ [index: string]: any;
5157
+ }
5158
+ export interface GetMenuV4BrandCategoryItemsRequest extends BaseRequest, RequestQuery<GetMenuV4BrandCategoryItemsQuery>, GetMenuV4BrandCategoryItemsPath {
5159
+ }
5160
+ export interface PostMenuV4BrandCategoryPath {
5161
+ id: string;
5162
+ }
5163
+ export interface PostMenuV4BrandCategoryBody {
5164
+ parent?: DraftCategoryDTO;
5165
+ children?: DraftCategoryDTO[];
5166
+ parent_id?: string;
5167
+ name: string;
5168
+ label?: string;
5169
+ sequence?: number;
5170
+ is_active?: boolean;
5171
+ brand_id: string;
5172
+ menu_id: string;
5173
+ applied_diff_snapshot?: Record<string, any>;
5174
+ menu?: DraftMenuDTO;
5175
+ items?: DraftCategoryToItemRelationshipDTO[];
5176
+ brand?: DraftBrandDTO;
5177
+ changes?: CategoryChangeDTO[];
5178
+ vendor_metadata?: VendorMetadataDTO[];
5179
+ attachments?: FileAttachmentsDTO;
5180
+ permissions?: Record<string, any>;
5181
+ [index: string]: any;
5182
+ }
5183
+ export interface PostMenuV4BrandCategoryResponse {
5184
+ parent?: DraftCategoryDTO;
5185
+ children?: DraftCategoryDTO[];
5186
+ id: string;
5187
+ created_at?: string;
5188
+ updated_at?: string;
5189
+ deleted_at?: string;
5190
+ parent_id?: string;
5191
+ name: string;
5192
+ label?: string;
5193
+ sequence?: number;
5194
+ is_active?: boolean;
5195
+ brand_id: string;
5196
+ menu_id: string;
5197
+ applied_diff_snapshot?: Record<string, any>;
5198
+ version?: number;
5199
+ menu?: DraftMenuDTO;
5200
+ items?: DraftCategoryToItemRelationshipDTO[];
5201
+ brand?: DraftBrandDTO;
5202
+ changes?: CategoryChangeDTO[];
5203
+ vendor_metadata?: VendorMetadataDTO[];
5204
+ attachments?: FileAttachmentsDTO;
5205
+ permissions?: Record<string, any>;
5206
+ [index: string]: any;
5207
+ }
5208
+ export interface PostMenuV4BrandCategoryRequest extends BaseRequest, PostMenuV4BrandCategoryPath {
5209
+ body: PostMenuV4BrandCategoryBody;
5210
+ }
5211
+ export interface PatchMenuV4BrandCategoryPath {
5212
+ brand_id: string;
5213
+ category_id: string;
5214
+ }
5215
+ export interface PatchMenuV4BrandCategoryBody {
5216
+ parent?: DraftCategoryDTO;
5217
+ children?: DraftCategoryDTO[];
5218
+ id?: string;
5219
+ parent_id?: string;
5220
+ name?: string;
5221
+ label?: string;
5222
+ sequence?: number;
5223
+ is_active?: boolean;
5224
+ brand_id?: string;
5225
+ menu_id?: string;
5226
+ applied_diff_snapshot?: Record<string, any>;
5227
+ version?: number;
5228
+ menu?: DraftMenuDTO;
5229
+ items?: DraftCategoryToItemRelationshipDTO[];
5230
+ brand?: DraftBrandDTO;
5231
+ changes?: CategoryChangeDTO[];
5232
+ vendor_metadata?: VendorMetadataDTO[];
5233
+ attachments?: FileAttachmentsDTO;
5234
+ permissions?: Record<string, any>;
5235
+ [index: string]: any;
5236
+ }
5237
+ export interface PatchMenuV4BrandCategoryResponse {
5238
+ parent?: DraftCategoryDTO;
5239
+ children?: DraftCategoryDTO[];
5240
+ parent_id?: string;
5241
+ name: string;
5242
+ label?: string;
5243
+ sequence?: number;
5244
+ is_active?: boolean;
5245
+ brand_id: string;
5246
+ menu_id: string;
5247
+ applied_diff_snapshot?: Record<string, any>;
5248
+ menu?: DraftMenuDTO;
5249
+ items?: DraftCategoryToItemRelationshipDTO[];
5250
+ brand?: DraftBrandDTO;
5251
+ changes?: CategoryChangeDTO[];
5252
+ vendor_metadata?: VendorMetadataDTO[];
5253
+ attachments?: FileAttachmentsDTO;
5254
+ permissions?: Record<string, any>;
5255
+ [index: string]: any;
5256
+ }
5257
+ export interface PatchMenuV4BrandCategoryRequest extends BaseRequest, PatchMenuV4BrandCategoryPath {
5258
+ body: PatchMenuV4BrandCategoryBody;
5259
+ }
5260
+ export interface PostMenuV4BrandCategoryAttachItemsPath {
5261
+ id: string;
5262
+ }
5263
+ export type PostMenuV4BrandCategoryAttachItemsBody = {
5264
+ parent?: DraftCategoryToItemRelationshipDTO;
5265
+ children?: DraftCategoryToItemRelationshipDTO[];
5266
+ parent_id?: string;
5267
+ item_id: string;
5268
+ category_id: string;
5269
+ brand_id: string;
5270
+ sequence?: number;
5271
+ applied_diff_snapshot?: Record<string, any>;
5272
+ category?: DraftCategoryDTO;
5273
+ item?: DraftItemDTO;
5274
+ brand?: DraftBrandDTO;
5275
+ changes?: CategoryToItemRelationshipChangeDTO[];
5276
+ vendor_metadata?: VendorMetadataDTO[];
5277
+ permissions?: Record<string, any>;
5278
+ [index: string]: any;
5279
+ }[];
5280
+ export interface PostMenuV4BrandCategoryAttachItemsResponse {
5281
+ status?: string;
5282
+ }
5283
+ export interface PostMenuV4BrandCategoryAttachItemsRequest extends BaseRequest, PostMenuV4BrandCategoryAttachItemsPath {
5284
+ body: PostMenuV4BrandCategoryAttachItemsBody;
5285
+ }
5286
+ export interface PostMenuV4BrandPublishPath {
5287
+ id: string;
5288
+ }
5289
+ export interface PostMenuV4BrandPublishResponse {
5290
+ status?: string;
5291
+ }
5292
+ export interface PostMenuV4BrandPublishRequest extends BaseRequest, PostMenuV4BrandPublishPath {
5293
+ }
5294
+ export interface PostMenuV4BrandV3ToV4Path {
5295
+ id: string;
5296
+ }
5297
+ export interface PostMenuV4BrandV3ToV4Response {
5298
+ status?: string;
5299
+ }
5300
+ export interface PostMenuV4BrandV3ToV4Request extends BaseRequest, PostMenuV4BrandV3ToV4Path {
5301
+ }
5302
+ export interface PostMenuV4ItemBody {
5303
+ parent?: DraftItemDTO;
5304
+ children?: DraftItemDTO[];
5305
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
5306
+ parent_id?: string;
5307
+ name: string;
5308
+ name_on_receipt?: string;
5309
+ name_on_kds?: string;
5310
+ label?: string;
5311
+ description?: string;
5312
+ reporting: ReportingMetadataDTO;
5313
+ price: number;
5314
+ barcode?: string;
5315
+ calories?: number;
5316
+ meal_value?: number;
5317
+ is_active?: boolean;
5318
+ posid?: string;
5319
+ tax_tags?: string[];
5320
+ brand_id: string;
5321
+ line_route?: string;
5322
+ posid_segment?: number;
5323
+ menu_works?: MenuWorksDTO;
5324
+ is_out_of_stock?: boolean;
5325
+ tax_tag_code?: string;
5326
+ tags?: string[];
5327
+ is_featured?: boolean;
5328
+ tax_jwo_code?: string;
5329
+ unique_id?: number;
5330
+ base_item_id?: string;
5331
+ applied_diff_snapshot?: Record<string, any>;
5332
+ brand?: DraftBrandDTO;
5333
+ categories?: DraftCategoryToItemRelationshipDTO[];
5334
+ changes?: ItemChangeDTO[];
5335
+ vendor_metadata?: VendorMetadataDTO[];
5336
+ attachments?: FileAttachmentsDTO;
5337
+ weight?: WeightDTO;
5338
+ permissions?: Record<string, any>;
5339
+ [index: string]: any;
5340
+ }
5341
+ export interface PostMenuV4ItemResponse {
5342
+ parent?: DraftItemDTO;
5343
+ children?: DraftItemDTO[];
5344
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
5345
+ id: string;
5346
+ created_at?: string;
5347
+ updated_at?: string;
5348
+ deleted_at?: string;
5349
+ parent_id?: string;
5350
+ name: string;
5351
+ name_on_receipt?: string;
5352
+ name_on_kds?: string;
5353
+ label?: string;
5354
+ description?: string;
5355
+ reporting: ReportingMetadataDTO;
5356
+ price: number;
5357
+ barcode?: string;
5358
+ calories?: number;
5359
+ meal_value?: number;
5360
+ is_active?: boolean;
5361
+ posid?: string;
5362
+ tax_tags?: string[];
5363
+ brand_id: string;
5364
+ line_route?: string;
5365
+ posid_segment?: number;
5366
+ menu_works?: MenuWorksDTO;
5367
+ is_out_of_stock?: boolean;
5368
+ tax_tag_code?: string;
5369
+ tags?: string[];
5370
+ is_featured?: boolean;
5371
+ tax_jwo_code?: string;
5372
+ unique_id?: number;
5373
+ applied_diff_snapshot?: Record<string, any>;
5374
+ version?: number;
5375
+ brand?: DraftBrandDTO;
5376
+ categories?: DraftCategoryToItemRelationshipDTO[];
5377
+ changes?: ItemChangeDTO[];
5378
+ vendor_metadata?: VendorMetadataDTO[];
5379
+ attachments?: FileAttachmentsDTO;
5380
+ weight?: WeightDTO;
5381
+ permissions?: Record<string, any>;
5382
+ [index: string]: any;
5383
+ }
5384
+ export interface PostMenuV4ItemRequest extends BaseRequest {
5385
+ body: PostMenuV4ItemBody;
5386
+ }
5387
+ export interface GetMenuV4ItemPath {
5388
+ id: string;
5389
+ }
5390
+ export interface GetMenuV4ItemQuery {
5391
+ _query?: string;
5392
+ }
5393
+ export interface GetMenuV4ItemResponse {
5394
+ parent?: DraftItemDTO;
5395
+ children?: DraftItemDTO[];
5396
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
5397
+ id: string;
5398
+ created_at?: string;
5399
+ updated_at?: string;
5400
+ deleted_at?: string;
5401
+ parent_id?: string;
5402
+ name: string;
5403
+ name_on_receipt?: string;
5404
+ name_on_kds?: string;
5405
+ label?: string;
5406
+ description?: string;
5407
+ reporting: ReportingMetadataDTO;
5408
+ price: number;
5409
+ barcode?: string;
5410
+ calories?: number;
5411
+ meal_value?: number;
5412
+ is_active?: boolean;
5413
+ posid?: string;
5414
+ tax_tags?: string[];
5415
+ brand_id: string;
5416
+ line_route?: string;
5417
+ posid_segment?: number;
5418
+ menu_works?: MenuWorksDTO;
5419
+ is_out_of_stock?: boolean;
5420
+ tax_tag_code?: string;
5421
+ tags?: string[];
5422
+ is_featured?: boolean;
5423
+ tax_jwo_code?: string;
5424
+ unique_id?: number;
5425
+ applied_diff_snapshot?: Record<string, any>;
5426
+ version?: number;
5427
+ brand?: DraftBrandDTO;
5428
+ categories?: DraftCategoryToItemRelationshipDTO[];
5429
+ changes?: ItemChangeDTO[];
5430
+ vendor_metadata?: VendorMetadataDTO[];
5431
+ attachments?: FileAttachmentsDTO;
5432
+ weight?: WeightDTO;
5433
+ permissions?: Record<string, any>;
5434
+ [index: string]: any;
5435
+ }
5436
+ export interface GetMenuV4ItemRequest extends BaseRequest, RequestQuery<GetMenuV4ItemQuery>, GetMenuV4ItemPath {
5437
+ }
5438
+ export interface PatchMenuV4ItemPath {
5439
+ id: string;
5440
+ }
5441
+ export interface PatchMenuV4ItemBody {
5442
+ base_item_id?: string;
5443
+ parent?: DraftItemDTO;
5444
+ children?: DraftItemDTO[];
5445
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
5446
+ parent_id?: string;
5447
+ name?: string;
5448
+ name_on_receipt?: string;
5449
+ name_on_kds?: string;
5450
+ label?: string;
5451
+ description?: string;
5452
+ reporting?: ReportingMetadataDTO;
5453
+ price?: number;
5454
+ barcode?: string;
5455
+ calories?: number;
5456
+ meal_value?: number;
5457
+ is_active?: boolean;
5458
+ posid?: string;
5459
+ tax_tags?: string[];
5460
+ brand_id?: string;
5461
+ line_route?: string;
5462
+ posid_segment?: number;
5463
+ menu_works?: MenuWorksDTO;
5464
+ is_out_of_stock?: boolean;
5465
+ tax_tag_code?: string;
5466
+ tags?: string[];
5467
+ is_featured?: boolean;
5468
+ tax_jwo_code?: string;
5469
+ unique_id?: number;
5470
+ applied_diff_snapshot?: Record<string, any>;
5471
+ brand?: DraftBrandDTO;
5472
+ categories?: DraftCategoryToItemRelationshipDTO[];
5473
+ changes?: ItemChangeDTO[];
5474
+ vendor_metadata?: VendorMetadataDTO[];
5475
+ attachments?: FileAttachmentsDTO;
5476
+ weight?: WeightDTO;
5477
+ permissions?: Record<string, any>;
5478
+ [index: string]: any;
5479
+ }
5480
+ export interface PatchMenuV4ItemResponse {
5481
+ parent?: DraftItemDTO;
5482
+ children?: DraftItemDTO[];
5483
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
5484
+ id: string;
5485
+ created_at?: string;
5486
+ updated_at?: string;
5487
+ deleted_at?: string;
5488
+ parent_id?: string;
5489
+ name: string;
5490
+ name_on_receipt?: string;
5491
+ name_on_kds?: string;
5492
+ label?: string;
5493
+ description?: string;
5494
+ reporting: ReportingMetadataDTO;
5495
+ price: number;
5496
+ barcode?: string;
5497
+ calories?: number;
5498
+ meal_value?: number;
5499
+ is_active?: boolean;
5500
+ posid?: string;
5501
+ tax_tags?: string[];
5502
+ brand_id: string;
5503
+ line_route?: string;
5504
+ posid_segment?: number;
5505
+ menu_works?: MenuWorksDTO;
5506
+ is_out_of_stock?: boolean;
5507
+ tax_tag_code?: string;
5508
+ tags?: string[];
5509
+ is_featured?: boolean;
5510
+ tax_jwo_code?: string;
5511
+ unique_id?: number;
5512
+ applied_diff_snapshot?: Record<string, any>;
5513
+ version?: number;
5514
+ brand?: DraftBrandDTO;
5515
+ categories?: DraftCategoryToItemRelationshipDTO[];
5516
+ changes?: ItemChangeDTO[];
5517
+ vendor_metadata?: VendorMetadataDTO[];
5518
+ attachments?: FileAttachmentsDTO;
5519
+ weight?: WeightDTO;
5520
+ permissions?: Record<string, any>;
5521
+ [index: string]: any;
5522
+ }
5523
+ export interface PatchMenuV4ItemRequest extends BaseRequest, PatchMenuV4ItemPath {
5524
+ body: PatchMenuV4ItemBody;
5525
+ }
5526
+ export interface PostMenuV4ModifierBody {
5527
+ base_item_id: string;
5528
+ parent?: DraftModifierDTO;
5529
+ children?: DraftModifierDTO[];
5530
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5531
+ parent_id?: string;
5532
+ name: string;
5533
+ name_on_receipt?: string;
5534
+ name_on_kds?: string;
5535
+ label?: string;
5536
+ description?: string;
5537
+ price: number;
5538
+ calories?: number;
5539
+ tax_tags?: string[];
5540
+ is_active?: boolean;
5541
+ posid?: string;
5542
+ reporting: ReportingMetadataDTO;
5543
+ posid_segment?: number;
5544
+ brand_id: string;
5545
+ line_route?: string;
5546
+ menu_works?: MenuWorksDTO;
5547
+ is_out_of_stock?: boolean;
5548
+ price_for_none?: number;
5549
+ price_for_less?: number;
5550
+ price_for_more?: number;
5551
+ pre_surcharge?: number;
5552
+ post_surcharge?: number;
5553
+ tax_tag_code?: string;
5554
+ tags?: string[];
5555
+ unique_id?: number;
5556
+ applied_diff_snapshot?: Record<string, any>;
5557
+ brand?: DraftBrandDTO;
5558
+ changes?: ModifierChangeDTO[];
5559
+ vendor_metadata?: VendorMetadataDTO[];
5560
+ weight?: WeightDTO;
5561
+ attachments?: FileAttachmentsDTO;
5562
+ permissions?: Record<string, any>;
5563
+ [index: string]: any;
5564
+ }
5565
+ export interface PostMenuV4ModifierResponse {
5566
+ parent?: DraftModifierDTO;
5567
+ children?: DraftModifierDTO[];
5568
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5569
+ id: string;
5570
+ created_at?: string;
5571
+ updated_at?: string;
5572
+ deleted_at?: string;
5573
+ parent_id?: string;
5574
+ name: string;
5575
+ name_on_receipt?: string;
5576
+ name_on_kds?: string;
5577
+ label?: string;
5578
+ description?: string;
5579
+ price: number;
5580
+ calories?: number;
5581
+ tax_tags?: string[];
5582
+ is_active?: boolean;
5583
+ posid?: string;
5584
+ reporting: ReportingMetadataDTO;
5585
+ posid_segment?: number;
5586
+ brand_id: string;
5587
+ line_route?: string;
5588
+ menu_works?: MenuWorksDTO;
5589
+ is_out_of_stock?: boolean;
5590
+ price_for_none?: number;
5591
+ price_for_less?: number;
5592
+ price_for_more?: number;
5593
+ pre_surcharge?: number;
5594
+ post_surcharge?: number;
5595
+ tax_tag_code?: string;
5596
+ tags?: string[];
5597
+ unique_id?: number;
5598
+ applied_diff_snapshot?: Record<string, any>;
5599
+ version?: number;
5600
+ brand?: DraftBrandDTO;
5601
+ changes?: ModifierChangeDTO[];
5602
+ vendor_metadata?: VendorMetadataDTO[];
5603
+ weight?: WeightDTO;
5604
+ attachments?: FileAttachmentsDTO;
5605
+ permissions?: Record<string, any>;
5606
+ [index: string]: any;
5607
+ }
5608
+ export interface PostMenuV4ModifierRequest extends BaseRequest {
5609
+ body: PostMenuV4ModifierBody;
5610
+ }
5611
+ export interface GetMenuV4ModifierPath {
5612
+ id: string;
5613
+ }
5614
+ export interface GetMenuV4ModifierQuery {
5615
+ _query?: string;
5616
+ }
5617
+ export interface GetMenuV4ModifierResponse {
5618
+ parent?: DraftModifierDTO;
5619
+ children?: DraftModifierDTO[];
5620
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5621
+ id: string;
5622
+ created_at?: string;
5623
+ updated_at?: string;
5624
+ deleted_at?: string;
5625
+ parent_id?: string;
5626
+ name: string;
5627
+ name_on_receipt?: string;
5628
+ name_on_kds?: string;
5629
+ label?: string;
5630
+ description?: string;
5631
+ price: number;
5632
+ calories?: number;
5633
+ tax_tags?: string[];
5634
+ is_active?: boolean;
5635
+ posid?: string;
5636
+ reporting: ReportingMetadataDTO;
5637
+ posid_segment?: number;
5638
+ brand_id: string;
5639
+ line_route?: string;
5640
+ menu_works?: MenuWorksDTO;
5641
+ is_out_of_stock?: boolean;
5642
+ price_for_none?: number;
5643
+ price_for_less?: number;
5644
+ price_for_more?: number;
5645
+ pre_surcharge?: number;
5646
+ post_surcharge?: number;
5647
+ tax_tag_code?: string;
5648
+ tags?: string[];
5649
+ unique_id?: number;
5650
+ applied_diff_snapshot?: Record<string, any>;
5651
+ version?: number;
5652
+ brand?: DraftBrandDTO;
5653
+ changes?: ModifierChangeDTO[];
5654
+ vendor_metadata?: VendorMetadataDTO[];
5655
+ weight?: WeightDTO;
5656
+ attachments?: FileAttachmentsDTO;
5657
+ permissions?: Record<string, any>;
5658
+ [index: string]: any;
5659
+ }
5660
+ export interface GetMenuV4ModifierRequest extends BaseRequest, RequestQuery<GetMenuV4ModifierQuery>, GetMenuV4ModifierPath {
5661
+ }
5662
+ export interface PatchMenuV4ModifierPath {
5663
+ id: string;
5664
+ }
5665
+ export interface PatchMenuV4ModifierBody {
5666
+ parent?: DraftModifierDTO;
5667
+ children?: DraftModifierDTO[];
5668
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5669
+ parent_id?: string;
5670
+ name?: string;
5671
+ name_on_receipt?: string;
5672
+ name_on_kds?: string;
5673
+ label?: string;
5674
+ description?: string;
5675
+ price?: number;
5676
+ calories?: number;
5677
+ tax_tags?: string[];
5678
+ is_active?: boolean;
5679
+ posid?: string;
5680
+ reporting?: ReportingMetadataDTO;
5681
+ posid_segment?: number;
5682
+ brand_id?: string;
5683
+ line_route?: string;
5684
+ menu_works?: MenuWorksDTO;
5685
+ is_out_of_stock?: boolean;
5686
+ price_for_none?: number;
5687
+ price_for_less?: number;
5688
+ price_for_more?: number;
5689
+ pre_surcharge?: number;
5690
+ post_surcharge?: number;
5691
+ tax_tag_code?: string;
5692
+ tags?: string[];
5693
+ unique_id?: number;
5694
+ applied_diff_snapshot?: Record<string, any>;
5695
+ brand?: DraftBrandDTO;
5696
+ changes?: ModifierChangeDTO[];
5697
+ vendor_metadata?: VendorMetadataDTO[];
5698
+ weight?: WeightDTO;
5699
+ attachments?: FileAttachmentsDTO;
5700
+ permissions?: Record<string, any>;
5701
+ [index: string]: any;
5702
+ }
5703
+ export interface PatchMenuV4ModifierResponse {
5704
+ parent?: DraftModifierDTO;
5705
+ children?: DraftModifierDTO[];
5706
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5707
+ id: string;
5708
+ created_at?: string;
5709
+ updated_at?: string;
5710
+ deleted_at?: string;
5711
+ parent_id?: string;
5712
+ name: string;
5713
+ name_on_receipt?: string;
5714
+ name_on_kds?: string;
5715
+ label?: string;
5716
+ description?: string;
5717
+ price: number;
5718
+ calories?: number;
5719
+ tax_tags?: string[];
5720
+ is_active?: boolean;
5721
+ posid?: string;
5722
+ reporting: ReportingMetadataDTO;
5723
+ posid_segment?: number;
5724
+ brand_id: string;
5725
+ line_route?: string;
5726
+ menu_works?: MenuWorksDTO;
5727
+ is_out_of_stock?: boolean;
5728
+ price_for_none?: number;
5729
+ price_for_less?: number;
5730
+ price_for_more?: number;
5731
+ pre_surcharge?: number;
5732
+ post_surcharge?: number;
5733
+ tax_tag_code?: string;
5734
+ tags?: string[];
5735
+ unique_id?: number;
5736
+ applied_diff_snapshot?: Record<string, any>;
5737
+ version?: number;
5738
+ brand?: DraftBrandDTO;
5739
+ changes?: ModifierChangeDTO[];
5740
+ vendor_metadata?: VendorMetadataDTO[];
5741
+ weight?: WeightDTO;
5742
+ attachments?: FileAttachmentsDTO;
5743
+ permissions?: Record<string, any>;
5744
+ [index: string]: any;
5745
+ }
5746
+ export interface PatchMenuV4ModifierRequest extends BaseRequest, PatchMenuV4ModifierPath {
5747
+ body: PatchMenuV4ModifierBody;
5748
+ }
5749
+ export interface PostMenuV4ModifierGroupBody {
5750
+ parent?: DraftModifierGroupDTO;
5751
+ children?: DraftModifierGroupDTO[];
5752
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
5753
+ items?: DraftItemToModifierGroupRelationshipDTO[];
5754
+ parent_id?: string;
5755
+ name: string;
5756
+ label?: string;
5757
+ min?: number;
5758
+ max?: number;
5759
+ is_active?: boolean;
5760
+ limit?: number;
5761
+ brand_id: string;
5762
+ order_type?: 'selection' | 'option' | 'quantity';
5763
+ sizing?: string;
5764
+ is_out_of_stock?: boolean;
5765
+ is_incremental?: boolean;
5766
+ applied_diff_snapshot?: Record<string, any>;
5767
+ brand?: DraftBrandDTO;
5768
+ changes?: ModifierGroupChangeDTO[];
5769
+ vendor_metadata?: VendorMetadataDTO[];
5770
+ permissions?: Record<string, any>;
5771
+ [index: string]: any;
5772
+ }
5773
+ export interface PostMenuV4ModifierGroupResponse {
5774
+ parent?: DraftModifierGroupDTO;
5775
+ children?: DraftModifierGroupDTO[];
5776
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
5777
+ items?: DraftItemToModifierGroupRelationshipDTO[];
5778
+ id: string;
5779
+ created_at?: string;
5780
+ updated_at?: string;
5781
+ deleted_at?: string;
5782
+ parent_id?: string;
5783
+ name: string;
5784
+ label?: string;
5785
+ min?: number;
5786
+ max?: number;
5787
+ is_active?: boolean;
5788
+ limit?: number;
5789
+ brand_id: string;
5790
+ order_type?: 'selection' | 'option' | 'quantity';
5791
+ sizing?: string;
5792
+ is_out_of_stock?: boolean;
5793
+ is_incremental?: boolean;
5794
+ applied_diff_snapshot?: Record<string, any>;
5795
+ version?: number;
5796
+ brand?: DraftBrandDTO;
5797
+ changes?: ModifierGroupChangeDTO[];
5798
+ vendor_metadata?: VendorMetadataDTO[];
5799
+ permissions?: Record<string, any>;
5800
+ [index: string]: any;
5801
+ }
5802
+ export interface PostMenuV4ModifierGroupRequest extends BaseRequest {
5803
+ body: PostMenuV4ModifierGroupBody;
5804
+ }
5805
+ export interface GetMenuV4ModifierGroupPath {
5806
+ id: string;
5807
+ }
5808
+ export interface GetMenuV4ModifierGroupQuery {
5809
+ _query?: string;
5810
+ }
5811
+ export interface GetMenuV4ModifierGroupResponse {
5812
+ parent?: DraftModifierGroupDTO;
5813
+ children?: DraftModifierGroupDTO[];
5814
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
5815
+ items?: DraftItemToModifierGroupRelationshipDTO[];
5816
+ id: string;
5817
+ created_at?: string;
5818
+ updated_at?: string;
5819
+ deleted_at?: string;
5820
+ parent_id?: string;
5821
+ name: string;
5822
+ label?: string;
5823
+ min?: number;
5824
+ max?: number;
5825
+ is_active?: boolean;
5826
+ limit?: number;
5827
+ brand_id: string;
5828
+ order_type?: 'selection' | 'option' | 'quantity';
5829
+ sizing?: string;
5830
+ is_out_of_stock?: boolean;
5831
+ is_incremental?: boolean;
5832
+ applied_diff_snapshot?: Record<string, any>;
5833
+ version?: number;
5834
+ brand?: DraftBrandDTO;
5835
+ changes?: ModifierGroupChangeDTO[];
5836
+ vendor_metadata?: VendorMetadataDTO[];
5837
+ permissions?: Record<string, any>;
5838
+ [index: string]: any;
5839
+ }
5840
+ export interface GetMenuV4ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV4ModifierGroupQuery>, GetMenuV4ModifierGroupPath {
5841
+ }
5842
+ export interface PatchMenuV4ModifierGroupPath {
5843
+ id: string;
5844
+ }
5845
+ export interface PatchMenuV4ModifierGroupBody {
5846
+ parent?: DraftModifierGroupDTO;
5847
+ children?: DraftModifierGroupDTO[];
5848
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
5849
+ items?: DraftItemToModifierGroupRelationshipDTO[];
5850
+ parent_id?: string;
5851
+ name?: string;
5852
+ label?: string;
5853
+ min?: number;
5854
+ max?: number;
5855
+ is_active?: boolean;
5856
+ limit?: number;
5857
+ brand_id?: string;
5858
+ order_type?: 'selection' | 'option' | 'quantity';
5859
+ sizing?: string;
5860
+ is_out_of_stock?: boolean;
5861
+ is_incremental?: boolean;
5862
+ applied_diff_snapshot?: Record<string, any>;
5863
+ brand?: DraftBrandDTO;
5864
+ changes?: ModifierGroupChangeDTO[];
5865
+ vendor_metadata?: VendorMetadataDTO[];
5866
+ permissions?: Record<string, any>;
5867
+ [index: string]: any;
5868
+ }
5869
+ export interface PatchMenuV4ModifierGroupResponse {
5870
+ parent?: DraftModifierGroupDTO;
5871
+ children?: DraftModifierGroupDTO[];
5872
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
5873
+ items?: DraftItemToModifierGroupRelationshipDTO[];
5874
+ id: string;
5875
+ created_at?: string;
5876
+ updated_at?: string;
5877
+ deleted_at?: string;
5878
+ parent_id?: string;
5879
+ name: string;
5880
+ label?: string;
5881
+ min?: number;
5882
+ max?: number;
5883
+ is_active?: boolean;
5884
+ limit?: number;
5885
+ brand_id: string;
5886
+ order_type?: 'selection' | 'option' | 'quantity';
5887
+ sizing?: string;
5888
+ is_out_of_stock?: boolean;
5889
+ is_incremental?: boolean;
5890
+ applied_diff_snapshot?: Record<string, any>;
5891
+ version?: number;
5892
+ brand?: DraftBrandDTO;
5893
+ changes?: ModifierGroupChangeDTO[];
5894
+ vendor_metadata?: VendorMetadataDTO[];
5895
+ permissions?: Record<string, any>;
5896
+ [index: string]: any;
5897
+ }
5898
+ export interface PatchMenuV4ModifierGroupRequest extends BaseRequest, PatchMenuV4ModifierGroupPath {
5899
+ body: PatchMenuV4ModifierGroupBody;
5900
+ }
5901
+ export interface PostMenuV4ModifierGroupAttachModifiersPath {
5902
+ id: string;
5903
+ }
5904
+ export type PostMenuV4ModifierGroupAttachModifiersBody = {
5905
+ parent?: DraftModifierGroupToModifierRelationshipDTO;
5906
+ children?: DraftModifierGroupToModifierRelationshipDTO[];
5907
+ parent_id?: string;
5908
+ modifier_id: string;
5909
+ modifier_group_id: string;
5910
+ brand_id: string;
5911
+ sequence?: number;
5912
+ applied_diff_snapshot?: Record<string, any>;
5913
+ modifier?: DraftModifierDTO;
5914
+ modifier_group?: DraftModifierGroupDTO;
5915
+ brand?: DraftBrandDTO;
5916
+ changes?: ModifierGroupToModifierRelationshipChangeDTO[];
5917
+ vendor_metadata?: VendorMetadataDTO[];
5918
+ permissions?: Record<string, any>;
5919
+ [index: string]: any;
5920
+ }[];
5921
+ export interface PostMenuV4ModifierGroupAttachModifiersResponse {
5922
+ status?: string;
5923
+ }
5924
+ export interface PostMenuV4ModifierGroupAttachModifiersRequest extends BaseRequest, PostMenuV4ModifierGroupAttachModifiersPath {
5925
+ body: PostMenuV4ModifierGroupAttachModifiersBody;
5926
+ }
4844
5927
  //# sourceMappingURL=menu.d.ts.map