@compassdigital/sdk.typescript 4.96.0 → 4.98.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.
@@ -1271,10 +1271,6 @@ export interface V2MetaDTO {
1271
1271
  last_modified_user?: string;
1272
1272
  version?: number;
1273
1273
  }
1274
- export interface LineRouteSuggestion {
1275
- line_route?: string;
1276
- occurrences?: number;
1277
- }
1278
1274
  export interface DraftItemEntityDTO {
1279
1275
  is_published?: boolean;
1280
1276
  parent?: DraftItemDTO;
@@ -1319,6 +1315,10 @@ export interface DraftItemEntityDTO {
1319
1315
  permissions?: Record<string, any>;
1320
1316
  [index: string]: any;
1321
1317
  }
1318
+ export interface LineRouteSuggestion {
1319
+ line_route?: string;
1320
+ occurrences?: number;
1321
+ }
1322
1322
  export interface DraftModifierEntityDTO {
1323
1323
  parent?: DraftModifierDTO;
1324
1324
  children?: DraftModifierDTO[];
@@ -3310,6 +3310,27 @@ export interface PostMenuV3DraftCategoryDuplicateResponse {
3310
3310
  export interface PostMenuV3DraftCategoryDuplicateRequest extends BaseRequest, PostMenuV3DraftCategoryDuplicatePath {
3311
3311
  body: PostMenuV3DraftCategoryDuplicateBody;
3312
3312
  }
3313
+ export interface GetMenuV3DraftCategoryUnattachedItemsPath {
3314
+ id: string;
3315
+ }
3316
+ export interface GetMenuV3DraftCategoryUnattachedItemsQuery {
3317
+ filter?: string;
3318
+ select?: string[];
3319
+ relationships?: string[];
3320
+ limit?: number;
3321
+ page?: number;
3322
+ sort_by?: string;
3323
+ sort_order?: 'DESC' | 'ASC';
3324
+ soft_deleted?: 'include' | 'exclude' | 'only';
3325
+ _query?: string;
3326
+ }
3327
+ export interface GetMenuV3DraftCategoryUnattachedItemsResponse {
3328
+ results: DraftItemEntityDTO[];
3329
+ meta?: ListResponseMetadataDTO;
3330
+ [index: string]: any;
3331
+ }
3332
+ export interface GetMenuV3DraftCategoryUnattachedItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryUnattachedItemsQuery>, GetMenuV3DraftCategoryUnattachedItemsPath {
3333
+ }
3313
3334
  export interface GetMenuV3CategoryPath {
3314
3335
  id: string;
3315
3336
  }
@@ -5085,6 +5106,50 @@ export interface GetMenuV4BrandResponse {
5085
5106
  }
5086
5107
  export interface GetMenuV4BrandRequest extends BaseRequest, RequestQuery<GetMenuV4BrandQuery>, GetMenuV4BrandPath {
5087
5108
  }
5109
+ export interface DeleteMenuV4BrandPath {
5110
+ id: string;
5111
+ }
5112
+ export interface DeleteMenuV4BrandResponse {
5113
+ parent?: DraftBrandDTO;
5114
+ children?: DraftBrandDTO[];
5115
+ menus?: DraftMenuDTO[];
5116
+ categories?: DraftCategoryDTO[];
5117
+ category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
5118
+ items?: DraftItemDTO[];
5119
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
5120
+ modifier_groups?: DraftModifierGroupDTO[];
5121
+ modifier_group_to_modifier_relationships?: DraftModifierGroupToModifierRelationshipDTO[];
5122
+ modifiers?: DraftModifierDTO[];
5123
+ statuses?: BrandStatusDTO[];
5124
+ audit_logs?: AuditDTO[];
5125
+ id: string;
5126
+ created_at?: string;
5127
+ updated_at?: string;
5128
+ deleted_at?: string;
5129
+ name: string;
5130
+ description?: string;
5131
+ is_active?: boolean;
5132
+ type?: 'global' | 'local';
5133
+ parent_id?: string;
5134
+ local_menu_group_id?: string;
5135
+ global_menu_group_id?: string;
5136
+ posid_segment?: string;
5137
+ is_simplified_view?: boolean;
5138
+ frictionless_partner?: string;
5139
+ catalog_id?: number;
5140
+ meta?: BrandMeta;
5141
+ applied_diff_snapshot?: Record<string, any>;
5142
+ version?: number;
5143
+ changes?: BrandChangeDTO[];
5144
+ local_menu_group?: LocalMenuGroupDTO;
5145
+ global_menu_group?: GlobalMenuGroupDTO;
5146
+ vendor_metadata?: VendorMetadataDTO[];
5147
+ attachments?: FileAttachmentsDTO;
5148
+ permissions?: Record<string, any>;
5149
+ [index: string]: any;
5150
+ }
5151
+ export interface DeleteMenuV4BrandRequest extends BaseRequest, DeleteMenuV4BrandPath {
5152
+ }
5088
5153
  export interface PostMenuV4BrandMenuPath {
5089
5154
  id: string;
5090
5155
  }
@@ -5166,6 +5231,31 @@ export interface PatchMenuV4BrandMenuResponse {
5166
5231
  export interface PatchMenuV4BrandMenuRequest extends BaseRequest, PatchMenuV4BrandMenuPath {
5167
5232
  body: PatchMenuV4BrandMenuBody;
5168
5233
  }
5234
+ export interface DeleteMenuV4BrandMenuPath {
5235
+ brand_id: string;
5236
+ menu_id: string;
5237
+ }
5238
+ export interface DeleteMenuV4BrandMenuResponse {
5239
+ parent?: DraftMenuDTO;
5240
+ children?: DraftMenuDTO[];
5241
+ categories?: DraftCategoryDTO[];
5242
+ id: string;
5243
+ created_at?: string;
5244
+ updated_at?: string;
5245
+ deleted_at?: string;
5246
+ parent_id?: string;
5247
+ name: string;
5248
+ brand_id: string;
5249
+ applied_diff_snapshot?: Record<string, any>;
5250
+ version?: number;
5251
+ brand?: DraftBrandDTO;
5252
+ changes?: MenuChangeDTO[];
5253
+ vendor_metadata?: VendorMetadataDTO[];
5254
+ permissions?: Record<string, any>;
5255
+ [index: string]: any;
5256
+ }
5257
+ export interface DeleteMenuV4BrandMenuRequest extends BaseRequest, DeleteMenuV4BrandMenuPath {
5258
+ }
5169
5259
  export interface GetMenuV4BrandItemsPath {
5170
5260
  id: string;
5171
5261
  }
@@ -5351,6 +5441,37 @@ export interface PatchMenuV4BrandCategoryResponse {
5351
5441
  export interface PatchMenuV4BrandCategoryRequest extends BaseRequest, PatchMenuV4BrandCategoryPath {
5352
5442
  body: PatchMenuV4BrandCategoryBody;
5353
5443
  }
5444
+ export interface DeleteMenuV4BrandCategoryPath {
5445
+ brand_id: string;
5446
+ category_id: string;
5447
+ }
5448
+ export interface DeleteMenuV4BrandCategoryResponse {
5449
+ parent?: DraftCategoryDTO;
5450
+ children?: DraftCategoryDTO[];
5451
+ id: string;
5452
+ created_at?: string;
5453
+ updated_at?: string;
5454
+ deleted_at?: string;
5455
+ parent_id?: string;
5456
+ name: string;
5457
+ label?: string;
5458
+ sequence?: number;
5459
+ is_active?: boolean;
5460
+ brand_id: string;
5461
+ menu_id: string;
5462
+ applied_diff_snapshot?: Record<string, any>;
5463
+ version?: number;
5464
+ menu?: DraftMenuDTO;
5465
+ items?: DraftCategoryToItemRelationshipDTO[];
5466
+ brand?: DraftBrandDTO;
5467
+ changes?: CategoryChangeDTO[];
5468
+ vendor_metadata?: VendorMetadataDTO[];
5469
+ attachments?: FileAttachmentsDTO;
5470
+ permissions?: Record<string, any>;
5471
+ [index: string]: any;
5472
+ }
5473
+ export interface DeleteMenuV4BrandCategoryRequest extends BaseRequest, DeleteMenuV4BrandCategoryPath {
5474
+ }
5354
5475
  export interface PostMenuV4BrandCategoryAttachItemsPath {
5355
5476
  id: string;
5356
5477
  }
@@ -5393,65 +5514,72 @@ export interface PostMenuV4BrandV3ToV4Response {
5393
5514
  }
5394
5515
  export interface PostMenuV4BrandV3ToV4Request extends BaseRequest, PostMenuV4BrandV3ToV4Path {
5395
5516
  }
5396
- export interface DeleteMenuV4BrandPath {
5397
- id: string;
5517
+ export interface PostMenuV4BrandCategoryDuplicatePath {
5518
+ brand_id: string;
5519
+ category_id: string;
5398
5520
  }
5399
- export interface DeleteMenuV4BrandResponse {
5400
- parent?: DraftBrandDTO;
5401
- children?: DraftBrandDTO[];
5402
- menus?: DraftMenuDTO[];
5403
- categories?: DraftCategoryDTO[];
5404
- category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
5405
- items?: DraftItemDTO[];
5406
- item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
5407
- modifier_groups?: DraftModifierGroupDTO[];
5408
- modifier_group_to_modifier_relationships?: DraftModifierGroupToModifierRelationshipDTO[];
5409
- modifiers?: DraftModifierDTO[];
5410
- statuses?: BrandStatusDTO[];
5411
- audit_logs?: AuditDTO[];
5521
+ export interface PostMenuV4BrandCategoryDuplicateBody {
5522
+ parent?: DraftCategoryDTO;
5523
+ children?: DraftCategoryDTO[];
5524
+ id?: string;
5525
+ parent_id?: string;
5526
+ name?: string;
5527
+ label?: string;
5528
+ sequence?: number;
5529
+ is_active?: boolean;
5530
+ brand_id?: string;
5531
+ menu_id?: string;
5532
+ applied_diff_snapshot?: Record<string, any>;
5533
+ version?: number;
5534
+ menu?: DraftMenuDTO;
5535
+ items?: DraftCategoryToItemRelationshipDTO[];
5536
+ brand?: DraftBrandDTO;
5537
+ changes?: CategoryChangeDTO[];
5538
+ vendor_metadata?: VendorMetadataDTO[];
5539
+ attachments?: FileAttachmentsDTO;
5540
+ permissions?: Record<string, any>;
5541
+ [index: string]: any;
5542
+ }
5543
+ export interface PostMenuV4BrandCategoryDuplicateResponse {
5544
+ parent?: DraftCategoryDTO;
5545
+ children?: DraftCategoryDTO[];
5412
5546
  id: string;
5413
5547
  created_at?: string;
5414
5548
  updated_at?: string;
5415
5549
  deleted_at?: string;
5550
+ parent_id?: string;
5416
5551
  name: string;
5417
- description?: string;
5552
+ label?: string;
5553
+ sequence?: number;
5418
5554
  is_active?: boolean;
5419
- type?: 'global' | 'local';
5420
- parent_id?: string;
5421
- local_menu_group_id?: string;
5422
- global_menu_group_id?: string;
5423
- posid_segment?: string;
5424
- is_simplified_view?: boolean;
5425
- frictionless_partner?: string;
5426
- catalog_id?: number;
5427
- meta?: BrandMeta;
5555
+ brand_id: string;
5556
+ menu_id: string;
5428
5557
  applied_diff_snapshot?: Record<string, any>;
5429
5558
  version?: number;
5430
- changes?: BrandChangeDTO[];
5431
- local_menu_group?: LocalMenuGroupDTO;
5432
- global_menu_group?: GlobalMenuGroupDTO;
5559
+ menu?: DraftMenuDTO;
5560
+ items?: DraftCategoryToItemRelationshipDTO[];
5561
+ brand?: DraftBrandDTO;
5562
+ changes?: CategoryChangeDTO[];
5433
5563
  vendor_metadata?: VendorMetadataDTO[];
5434
5564
  attachments?: FileAttachmentsDTO;
5435
5565
  permissions?: Record<string, any>;
5436
5566
  [index: string]: any;
5437
5567
  }
5438
- export interface DeleteMenuV4BrandRequest extends BaseRequest, DeleteMenuV4BrandPath {
5568
+ export interface PostMenuV4BrandCategoryDuplicateRequest extends BaseRequest, PostMenuV4BrandCategoryDuplicatePath {
5569
+ body: PostMenuV4BrandCategoryDuplicateBody;
5439
5570
  }
5440
- export interface DeleteMenuV4BrandMenuPath {
5571
+ export interface PostMenuV4BrandMenuDuplicatePath {
5441
5572
  brand_id: string;
5442
5573
  menu_id: string;
5443
5574
  }
5444
- export interface DeleteMenuV4BrandMenuResponse {
5575
+ export interface PostMenuV4BrandMenuDuplicateBody {
5445
5576
  parent?: DraftMenuDTO;
5446
5577
  children?: DraftMenuDTO[];
5447
5578
  categories?: DraftCategoryDTO[];
5448
- id: string;
5449
- created_at?: string;
5450
- updated_at?: string;
5451
- deleted_at?: string;
5579
+ id?: string;
5452
5580
  parent_id?: string;
5453
- name: string;
5454
- brand_id: string;
5581
+ name?: string;
5582
+ brand_id?: string;
5455
5583
  applied_diff_snapshot?: Record<string, any>;
5456
5584
  version?: number;
5457
5585
  brand?: DraftBrandDTO;
@@ -5460,38 +5588,52 @@ export interface DeleteMenuV4BrandMenuResponse {
5460
5588
  permissions?: Record<string, any>;
5461
5589
  [index: string]: any;
5462
5590
  }
5463
- export interface DeleteMenuV4BrandMenuRequest extends BaseRequest, DeleteMenuV4BrandMenuPath {
5464
- }
5465
- export interface DeleteMenuV4BrandCategoryPath {
5466
- brand_id: string;
5467
- category_id: string;
5468
- }
5469
- export interface DeleteMenuV4BrandCategoryResponse {
5470
- parent?: DraftCategoryDTO;
5471
- children?: DraftCategoryDTO[];
5591
+ export interface PostMenuV4BrandMenuDuplicateResponse {
5592
+ parent?: DraftMenuDTO;
5593
+ children?: DraftMenuDTO[];
5594
+ categories?: DraftCategoryDTO[];
5472
5595
  id: string;
5473
5596
  created_at?: string;
5474
5597
  updated_at?: string;
5475
5598
  deleted_at?: string;
5476
5599
  parent_id?: string;
5477
5600
  name: string;
5478
- label?: string;
5479
- sequence?: number;
5480
- is_active?: boolean;
5481
5601
  brand_id: string;
5482
- menu_id: string;
5483
5602
  applied_diff_snapshot?: Record<string, any>;
5484
5603
  version?: number;
5485
- menu?: DraftMenuDTO;
5486
- items?: DraftCategoryToItemRelationshipDTO[];
5487
5604
  brand?: DraftBrandDTO;
5488
- changes?: CategoryChangeDTO[];
5605
+ changes?: MenuChangeDTO[];
5489
5606
  vendor_metadata?: VendorMetadataDTO[];
5490
- attachments?: FileAttachmentsDTO;
5491
5607
  permissions?: Record<string, any>;
5492
5608
  [index: string]: any;
5493
5609
  }
5494
- export interface DeleteMenuV4BrandCategoryRequest extends BaseRequest, DeleteMenuV4BrandCategoryPath {
5610
+ export interface PostMenuV4BrandMenuDuplicateRequest extends BaseRequest, PostMenuV4BrandMenuDuplicatePath {
5611
+ body: PostMenuV4BrandMenuDuplicateBody;
5612
+ }
5613
+ export interface PostMenuV4CategoryAttachmentPath {
5614
+ id: string;
5615
+ name: 'thumbnail';
5616
+ }
5617
+ export interface PostMenuV4CategoryAttachmentQuery {
5618
+ 'body.data'?: string;
5619
+ 'body.brand_id'?: string;
5620
+ }
5621
+ export interface PostMenuV4CategoryAttachmentResponse {
5622
+ status?: string;
5623
+ }
5624
+ export interface PostMenuV4CategoryAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV4CategoryAttachmentQuery>, PostMenuV4CategoryAttachmentPath {
5625
+ }
5626
+ export interface PostMenuV4ItemAttachmentPath {
5627
+ id: string;
5628
+ name: 'thumbnail';
5629
+ }
5630
+ export interface PostMenuV4ItemAttachmentQuery {
5631
+ 'body.data'?: string;
5632
+ }
5633
+ export interface PostMenuV4ItemAttachmentResponse {
5634
+ status?: string;
5635
+ }
5636
+ export interface PostMenuV4ItemAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV4ItemAttachmentQuery>, PostMenuV4ItemAttachmentPath {
5495
5637
  }
5496
5638
  export interface PostMenuV4ItemBody {
5497
5639
  is_published?: boolean;
@@ -5726,6 +5868,7 @@ export interface DeleteMenuV4ItemPath {
5726
5868
  id: string;
5727
5869
  }
5728
5870
  export interface DeleteMenuV4ItemResponse {
5871
+ is_published?: boolean;
5729
5872
  parent?: DraftItemDTO;
5730
5873
  children?: DraftItemDTO[];
5731
5874
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
@@ -5770,20 +5913,157 @@ export interface DeleteMenuV4ItemResponse {
5770
5913
  }
5771
5914
  export interface DeleteMenuV4ItemRequest extends BaseRequest, DeleteMenuV4ItemPath {
5772
5915
  }
5773
- export interface PostMenuV4ModifierBody {
5774
- base_item_id: string;
5775
- parent?: DraftModifierDTO;
5776
- children?: DraftModifierDTO[];
5777
- modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5916
+ export interface PatchMenuV4ItemsBulkUpdateBody {
5917
+ id_list: string[];
5918
+ is_published?: boolean;
5919
+ parent?: DraftItemDTO;
5920
+ children?: DraftItemDTO[];
5921
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
5922
+ id?: string;
5778
5923
  parent_id?: string;
5779
- name: string;
5924
+ name?: string;
5780
5925
  name_on_receipt?: string;
5781
5926
  name_on_kds?: string;
5782
5927
  label?: string;
5783
5928
  description?: string;
5784
- price: number;
5929
+ reporting?: ReportingMetadataDTO;
5930
+ price?: number;
5931
+ barcode?: string;
5785
5932
  calories?: number;
5786
- tax_tags?: string[];
5933
+ meal_value?: number;
5934
+ is_active?: boolean;
5935
+ posid?: string;
5936
+ tax_tags?: string[];
5937
+ brand_id?: string;
5938
+ line_route?: string;
5939
+ posid_segment?: number;
5940
+ menu_works?: MenuWorksDTO;
5941
+ is_out_of_stock?: boolean;
5942
+ tax_tag_code?: string;
5943
+ tags?: string[];
5944
+ is_featured?: boolean;
5945
+ tax_jwo_code?: string;
5946
+ unique_id?: number;
5947
+ applied_diff_snapshot?: Record<string, any>;
5948
+ brand?: DraftBrandDTO;
5949
+ categories?: DraftCategoryToItemRelationshipDTO[];
5950
+ changes?: ItemChangeDTO[];
5951
+ vendor_metadata?: VendorMetadataDTO[];
5952
+ attachments?: FileAttachmentsDTO;
5953
+ weight?: WeightDTO;
5954
+ permissions?: Record<string, any>;
5955
+ [index: string]: any;
5956
+ }
5957
+ export interface PatchMenuV4ItemsBulkUpdateResponse {
5958
+ results?: DraftItemEntityDTO[];
5959
+ }
5960
+ export interface PatchMenuV4ItemsBulkUpdateRequest extends BaseRequest {
5961
+ body: PatchMenuV4ItemsBulkUpdateBody;
5962
+ }
5963
+ export interface PostMenuV4ItemDuplicatePath {
5964
+ id: string;
5965
+ }
5966
+ export interface PostMenuV4ItemDuplicateBody {
5967
+ base_item_id?: string;
5968
+ is_published?: boolean;
5969
+ parent?: DraftItemDTO;
5970
+ children?: DraftItemDTO[];
5971
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
5972
+ parent_id?: string;
5973
+ name?: string;
5974
+ name_on_receipt?: string;
5975
+ name_on_kds?: string;
5976
+ label?: string;
5977
+ description?: string;
5978
+ reporting?: ReportingMetadataDTO;
5979
+ price?: number;
5980
+ barcode?: string;
5981
+ calories?: number;
5982
+ meal_value?: number;
5983
+ is_active?: boolean;
5984
+ posid?: string;
5985
+ tax_tags?: string[];
5986
+ brand_id?: string;
5987
+ line_route?: string;
5988
+ posid_segment?: number;
5989
+ menu_works?: MenuWorksDTO;
5990
+ is_out_of_stock?: boolean;
5991
+ tax_tag_code?: string;
5992
+ tags?: string[];
5993
+ is_featured?: boolean;
5994
+ tax_jwo_code?: string;
5995
+ unique_id?: number;
5996
+ applied_diff_snapshot?: Record<string, any>;
5997
+ brand?: DraftBrandDTO;
5998
+ categories?: DraftCategoryToItemRelationshipDTO[];
5999
+ changes?: ItemChangeDTO[];
6000
+ vendor_metadata?: VendorMetadataDTO[];
6001
+ attachments?: FileAttachmentsDTO;
6002
+ weight?: WeightDTO;
6003
+ permissions?: Record<string, any>;
6004
+ [index: string]: any;
6005
+ }
6006
+ export interface PostMenuV4ItemDuplicateResponse {
6007
+ is_published?: boolean;
6008
+ parent?: DraftItemDTO;
6009
+ children?: DraftItemDTO[];
6010
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
6011
+ id: string;
6012
+ created_at?: string;
6013
+ updated_at?: string;
6014
+ deleted_at?: string;
6015
+ parent_id?: string;
6016
+ name: string;
6017
+ name_on_receipt?: string;
6018
+ name_on_kds?: string;
6019
+ label?: string;
6020
+ description?: string;
6021
+ reporting: ReportingMetadataDTO;
6022
+ price: number;
6023
+ barcode?: string;
6024
+ calories?: number;
6025
+ meal_value?: number;
6026
+ is_active?: boolean;
6027
+ posid?: string;
6028
+ tax_tags?: string[];
6029
+ brand_id: string;
6030
+ line_route?: string;
6031
+ posid_segment?: number;
6032
+ menu_works?: MenuWorksDTO;
6033
+ is_out_of_stock?: boolean;
6034
+ tax_tag_code?: string;
6035
+ tags?: string[];
6036
+ is_featured?: boolean;
6037
+ tax_jwo_code?: string;
6038
+ unique_id?: number;
6039
+ applied_diff_snapshot?: Record<string, any>;
6040
+ version?: number;
6041
+ brand?: DraftBrandDTO;
6042
+ categories?: DraftCategoryToItemRelationshipDTO[];
6043
+ changes?: ItemChangeDTO[];
6044
+ vendor_metadata?: VendorMetadataDTO[];
6045
+ attachments?: FileAttachmentsDTO;
6046
+ weight?: WeightDTO;
6047
+ permissions?: Record<string, any>;
6048
+ [index: string]: any;
6049
+ }
6050
+ export interface PostMenuV4ItemDuplicateRequest extends BaseRequest, PostMenuV4ItemDuplicatePath {
6051
+ body: PostMenuV4ItemDuplicateBody;
6052
+ }
6053
+ export interface PostMenuV4ModifierBody {
6054
+ base_item_id?: string;
6055
+ parent?: DraftModifierDTO;
6056
+ children?: DraftModifierDTO[];
6057
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
6058
+ parent_id?: string;
6059
+ name: string;
6060
+ name_on_receipt?: string;
6061
+ name_on_kds?: string;
6062
+ label?: string;
6063
+ description?: string;
6064
+ price: number;
6065
+ calories?: number;
6066
+ tax_tags?: string[];
5787
6067
  is_active?: boolean;
5788
6068
  posid?: string;
5789
6069
  reporting: ReportingMetadataDTO;
@@ -6041,6 +6321,151 @@ export interface DeleteMenuV4ModifierResponse {
6041
6321
  }
6042
6322
  export interface DeleteMenuV4ModifierRequest extends BaseRequest, DeleteMenuV4ModifierPath {
6043
6323
  }
6324
+ export interface PostMenuV4ModifierDuplicatePath {
6325
+ id: string;
6326
+ }
6327
+ export interface PostMenuV4ModifierDuplicateBody {
6328
+ parent?: DraftModifierDTO;
6329
+ children?: DraftModifierDTO[];
6330
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
6331
+ parent_id?: string;
6332
+ name?: string;
6333
+ name_on_receipt?: string;
6334
+ name_on_kds?: string;
6335
+ label?: string;
6336
+ description?: string;
6337
+ price?: number;
6338
+ calories?: number;
6339
+ tax_tags?: string[];
6340
+ is_active?: boolean;
6341
+ posid?: string;
6342
+ reporting?: ReportingMetadataDTO;
6343
+ posid_segment?: number;
6344
+ brand_id?: string;
6345
+ line_route?: string;
6346
+ menu_works?: MenuWorksDTO;
6347
+ is_out_of_stock?: boolean;
6348
+ price_for_none?: number;
6349
+ price_for_less?: number;
6350
+ price_for_more?: number;
6351
+ pre_surcharge?: number;
6352
+ post_surcharge?: number;
6353
+ tax_tag_code?: string;
6354
+ tags?: string[];
6355
+ unique_id?: number;
6356
+ applied_diff_snapshot?: Record<string, any>;
6357
+ brand?: DraftBrandDTO;
6358
+ changes?: ModifierChangeDTO[];
6359
+ vendor_metadata?: VendorMetadataDTO[];
6360
+ weight?: WeightDTO;
6361
+ attachments?: FileAttachmentsDTO;
6362
+ permissions?: Record<string, any>;
6363
+ [index: string]: any;
6364
+ }
6365
+ export interface PostMenuV4ModifierDuplicateResponse {
6366
+ parent?: DraftModifierDTO;
6367
+ children?: DraftModifierDTO[];
6368
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
6369
+ id: string;
6370
+ created_at?: string;
6371
+ updated_at?: string;
6372
+ deleted_at?: string;
6373
+ parent_id?: string;
6374
+ name: string;
6375
+ name_on_receipt?: string;
6376
+ name_on_kds?: string;
6377
+ label?: string;
6378
+ description?: string;
6379
+ price: number;
6380
+ calories?: number;
6381
+ tax_tags?: string[];
6382
+ is_active?: boolean;
6383
+ posid?: string;
6384
+ reporting: ReportingMetadataDTO;
6385
+ posid_segment?: number;
6386
+ brand_id: string;
6387
+ line_route?: string;
6388
+ menu_works?: MenuWorksDTO;
6389
+ is_out_of_stock?: boolean;
6390
+ price_for_none?: number;
6391
+ price_for_less?: number;
6392
+ price_for_more?: number;
6393
+ pre_surcharge?: number;
6394
+ post_surcharge?: number;
6395
+ tax_tag_code?: string;
6396
+ tags?: string[];
6397
+ unique_id?: number;
6398
+ applied_diff_snapshot?: Record<string, any>;
6399
+ version?: number;
6400
+ brand?: DraftBrandDTO;
6401
+ changes?: ModifierChangeDTO[];
6402
+ vendor_metadata?: VendorMetadataDTO[];
6403
+ weight?: WeightDTO;
6404
+ attachments?: FileAttachmentsDTO;
6405
+ permissions?: Record<string, any>;
6406
+ [index: string]: any;
6407
+ }
6408
+ export interface PostMenuV4ModifierDuplicateRequest extends BaseRequest, PostMenuV4ModifierDuplicatePath {
6409
+ body: PostMenuV4ModifierDuplicateBody;
6410
+ }
6411
+ export interface PatchMenuV4ModifiersBulkUpdateBody {
6412
+ id_list: string[];
6413
+ parent?: DraftModifierDTO;
6414
+ children?: DraftModifierDTO[];
6415
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
6416
+ id?: string;
6417
+ parent_id?: string;
6418
+ name?: string;
6419
+ name_on_receipt?: string;
6420
+ name_on_kds?: string;
6421
+ label?: string;
6422
+ description?: string;
6423
+ price?: number;
6424
+ calories?: number;
6425
+ tax_tags?: string[];
6426
+ is_active?: boolean;
6427
+ posid?: string;
6428
+ reporting?: ReportingMetadataDTO;
6429
+ posid_segment?: number;
6430
+ brand_id?: string;
6431
+ line_route?: string;
6432
+ menu_works?: MenuWorksDTO;
6433
+ is_out_of_stock?: boolean;
6434
+ price_for_none?: number;
6435
+ price_for_less?: number;
6436
+ price_for_more?: number;
6437
+ pre_surcharge?: number;
6438
+ post_surcharge?: number;
6439
+ tax_tag_code?: string;
6440
+ tags?: string[];
6441
+ unique_id?: number;
6442
+ applied_diff_snapshot?: Record<string, any>;
6443
+ brand?: DraftBrandDTO;
6444
+ changes?: ModifierChangeDTO[];
6445
+ vendor_metadata?: VendorMetadataDTO[];
6446
+ weight?: WeightDTO;
6447
+ attachments?: FileAttachmentsDTO;
6448
+ permissions?: Record<string, any>;
6449
+ [index: string]: any;
6450
+ }
6451
+ export interface PatchMenuV4ModifiersBulkUpdateResponse {
6452
+ results?: DraftModifierEntityDTO[];
6453
+ }
6454
+ export interface PatchMenuV4ModifiersBulkUpdateRequest extends BaseRequest {
6455
+ body: PatchMenuV4ModifiersBulkUpdateBody;
6456
+ }
6457
+ export interface PostMenuV4ModifierAttachmentPath {
6458
+ id: string;
6459
+ name: 'thumbnail';
6460
+ }
6461
+ export interface PostMenuV4ModifierAttachmentQuery {
6462
+ 'body.data'?: string;
6463
+ }
6464
+ export interface PostMenuV4ModifierAttachmentResponse {
6465
+ status?: string;
6466
+ }
6467
+ export interface PostMenuV4ModifierAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV4ModifierAttachmentQuery>, PostMenuV4ModifierAttachmentPath {
6468
+ }
6044
6469
  export interface PostMenuV4ModifierGroupBody {
6045
6470
  parent?: DraftModifierGroupDTO;
6046
6471
  children?: DraftModifierGroupDTO[];
@@ -6253,4 +6678,66 @@ export interface PostMenuV4ModifierGroupAttachModifiersResponse {
6253
6678
  export interface PostMenuV4ModifierGroupAttachModifiersRequest extends BaseRequest, PostMenuV4ModifierGroupAttachModifiersPath {
6254
6679
  body: PostMenuV4ModifierGroupAttachModifiersBody;
6255
6680
  }
6681
+ export interface PostMenuV4ModifierGroupDuplicatePath {
6682
+ id: string;
6683
+ }
6684
+ export interface PostMenuV4ModifierGroupDuplicateQuery {
6685
+ duplicate_modifiers?: boolean;
6686
+ }
6687
+ export interface PostMenuV4ModifierGroupDuplicateBody {
6688
+ parent?: DraftModifierGroupDTO;
6689
+ children?: DraftModifierGroupDTO[];
6690
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
6691
+ items?: DraftItemToModifierGroupRelationshipDTO[];
6692
+ parent_id?: string;
6693
+ name?: string;
6694
+ label?: string;
6695
+ min?: number;
6696
+ max?: number;
6697
+ is_active?: boolean;
6698
+ limit?: number;
6699
+ brand_id?: string;
6700
+ order_type?: 'selection' | 'option' | 'quantity';
6701
+ sizing?: string;
6702
+ is_out_of_stock?: boolean;
6703
+ is_incremental?: boolean;
6704
+ applied_diff_snapshot?: Record<string, any>;
6705
+ brand?: DraftBrandDTO;
6706
+ changes?: ModifierGroupChangeDTO[];
6707
+ vendor_metadata?: VendorMetadataDTO[];
6708
+ permissions?: Record<string, any>;
6709
+ [index: string]: any;
6710
+ }
6711
+ export interface PostMenuV4ModifierGroupDuplicateResponse {
6712
+ parent?: DraftModifierGroupDTO;
6713
+ children?: DraftModifierGroupDTO[];
6714
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
6715
+ items?: DraftItemToModifierGroupRelationshipDTO[];
6716
+ id: string;
6717
+ created_at?: string;
6718
+ updated_at?: string;
6719
+ deleted_at?: string;
6720
+ parent_id?: string;
6721
+ name: string;
6722
+ label?: string;
6723
+ min?: number;
6724
+ max?: number;
6725
+ is_active?: boolean;
6726
+ limit?: number;
6727
+ brand_id: string;
6728
+ order_type?: 'selection' | 'option' | 'quantity';
6729
+ sizing?: string;
6730
+ is_out_of_stock?: boolean;
6731
+ is_incremental?: boolean;
6732
+ applied_diff_snapshot?: Record<string, any>;
6733
+ version?: number;
6734
+ brand?: DraftBrandDTO;
6735
+ changes?: ModifierGroupChangeDTO[];
6736
+ vendor_metadata?: VendorMetadataDTO[];
6737
+ permissions?: Record<string, any>;
6738
+ [index: string]: any;
6739
+ }
6740
+ export interface PostMenuV4ModifierGroupDuplicateRequest extends BaseRequest, RequestQuery<PostMenuV4ModifierGroupDuplicateQuery>, PostMenuV4ModifierGroupDuplicatePath {
6741
+ body: PostMenuV4ModifierGroupDuplicateBody;
6742
+ }
6256
6743
  //# sourceMappingURL=menu.d.ts.map