@compassdigital/sdk.typescript 4.102.0 → 4.104.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.
@@ -389,6 +389,7 @@ export interface BrandMeta {
389
389
  jde_category?: string;
390
390
  }
391
391
  export interface PublishedBrandDTO {
392
+ published_catalog_id?: number;
392
393
  id?: string;
393
394
  name?: string;
394
395
  description?: string;
@@ -513,6 +514,9 @@ export interface DraftMenuDTO {
513
514
  parent?: Record<string, any>;
514
515
  children?: Record<string, any>[];
515
516
  categories?: DraftCategoryDTO[];
517
+ stocks?: Record<string, any>[];
518
+ station_id?: string;
519
+ price_level_id?: string;
516
520
  id?: string;
517
521
  parent_id?: string;
518
522
  name?: string;
@@ -568,6 +572,8 @@ export interface DraftItemDTO {
568
572
  parent?: Record<string, any>;
569
573
  children?: Record<string, any>[];
570
574
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
575
+ cpg_item?: UniversalItemDTO;
576
+ stocks?: StockDTO[];
571
577
  id?: string;
572
578
  parent_id?: string;
573
579
  name?: string;
@@ -593,6 +599,7 @@ export interface DraftItemDTO {
593
599
  is_featured?: boolean;
594
600
  tax_jwo_code?: string;
595
601
  unique_id?: number;
602
+ cpg_item_id?: string;
596
603
  applied_diff_snapshot?: Record<string, any>;
597
604
  brand?: DraftBrandDTO;
598
605
  categories?: Record<string, any>[];
@@ -778,6 +785,34 @@ export interface ItemChangeDTO {
778
785
  permissions?: Record<string, any>;
779
786
  [index: string]: any;
780
787
  }
788
+ export interface UniversalItemDTO {
789
+ id?: string;
790
+ barcode?: string;
791
+ name?: string;
792
+ description?: string;
793
+ is_verified?: boolean;
794
+ verified_at?: string;
795
+ verified_by?: string;
796
+ price?: number;
797
+ product_number?: number;
798
+ images?: Record<string, any>;
799
+ metadata?: Record<string, any>;
800
+ [index: string]: any;
801
+ }
802
+ export interface StockDTO {
803
+ is_in_stock?: boolean;
804
+ draft_is_in_stock?: boolean;
805
+ item_id?: string;
806
+ menu_id?: string;
807
+ brand_id?: string;
808
+ id?: string;
809
+ business_unit_id?: string;
810
+ item?: Record<string, any>;
811
+ menu?: Record<string, any>;
812
+ brand?: DraftBrandDTO;
813
+ permissions?: Record<string, any>;
814
+ [index: string]: any;
815
+ }
781
816
  export interface CategoryToItemRelationshipChangeDTO {
782
817
  id?: string;
783
818
  insert?: Record<string, any>;
@@ -980,6 +1015,7 @@ export interface PublishedItemDTO {
980
1015
  tags?: string[];
981
1016
  is_featured?: boolean;
982
1017
  tax_jwo_code?: string;
1018
+ cpg_item_id?: string;
983
1019
  permissions?: Record<string, any>;
984
1020
  [index: string]: any;
985
1021
  }
@@ -1277,6 +1313,8 @@ export interface DraftItemEntityDTO {
1277
1313
  parent?: DraftItemDTO;
1278
1314
  children?: DraftItemDTO[];
1279
1315
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1316
+ cpg_item?: UniversalItemDTO;
1317
+ stocks?: StockDTO[];
1280
1318
  id: string;
1281
1319
  created_at?: string;
1282
1320
  updated_at?: string;
@@ -1305,6 +1343,7 @@ export interface DraftItemEntityDTO {
1305
1343
  is_featured?: boolean;
1306
1344
  tax_jwo_code?: string;
1307
1345
  unique_id?: number;
1346
+ cpg_item_id?: string;
1308
1347
  applied_diff_snapshot?: Record<string, any>;
1309
1348
  version?: number;
1310
1349
  brand?: DraftBrandDTO;
@@ -2200,6 +2239,7 @@ export interface PostMenuV3DraftBrandBody {
2200
2239
  audit_logs?: AuditDTO[];
2201
2240
  catalog_id?: number;
2202
2241
  published_catalog_id?: number;
2242
+ stocks?: StockDTO[];
2203
2243
  name: string;
2204
2244
  description?: string;
2205
2245
  is_active?: boolean;
@@ -2253,6 +2293,7 @@ export interface PatchMenuV3DraftBrandBody {
2253
2293
  audit_logs?: AuditDTO[];
2254
2294
  catalog_id?: number;
2255
2295
  published_catalog_id?: number;
2296
+ stocks?: StockDTO[];
2256
2297
  id?: string;
2257
2298
  name?: string;
2258
2299
  description?: string;
@@ -2321,6 +2362,7 @@ export type PostMenuV3DraftBrandsBody = {
2321
2362
  audit_logs?: AuditDTO[];
2322
2363
  catalog_id?: number;
2323
2364
  published_catalog_id?: number;
2365
+ stocks?: StockDTO[];
2324
2366
  name: string;
2325
2367
  description?: string;
2326
2368
  is_active?: boolean;
@@ -2603,6 +2645,16 @@ export interface GetMenuV3DraftBrandImportLinkResponse {
2603
2645
  }
2604
2646
  export interface GetMenuV3DraftBrandImportLinkRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandImportLinkQuery>, GetMenuV3DraftBrandImportLinkPath {
2605
2647
  }
2648
+ export interface PostMenuV3DraftBrandImportPath {
2649
+ id: string;
2650
+ }
2651
+ export interface PostMenuV3DraftBrandImportResponse {
2652
+ success: boolean;
2653
+ errors_report_link?: string;
2654
+ [index: string]: any;
2655
+ }
2656
+ export interface PostMenuV3DraftBrandImportRequest extends BaseRequest, PostMenuV3DraftBrandImportPath {
2657
+ }
2606
2658
  export interface PostMenuV3BrandQuery {
2607
2659
  nocache?: boolean;
2608
2660
  }
@@ -2617,6 +2669,7 @@ export interface PostMenuV3BrandBody {
2617
2669
  modifier_groups?: PublishedModifierGroupDTO[];
2618
2670
  modifier_group_to_modifier_relationships?: PublishedModifierGroupToModifierRelationshipDTO[];
2619
2671
  modifiers?: PublishedModifierDTO[];
2672
+ published_catalog_id?: number;
2620
2673
  name: string;
2621
2674
  description?: string;
2622
2675
  is_active?: boolean;
@@ -2667,6 +2720,7 @@ export interface PatchMenuV3BrandBody {
2667
2720
  modifier_groups?: PublishedModifierGroupDTO[];
2668
2721
  modifier_group_to_modifier_relationships?: PublishedModifierGroupToModifierRelationshipDTO[];
2669
2722
  modifiers?: PublishedModifierDTO[];
2723
+ published_catalog_id?: number;
2670
2724
  id?: string;
2671
2725
  name?: string;
2672
2726
  description?: string;
@@ -2733,6 +2787,7 @@ export type PostMenuV3BrandsBody = {
2733
2787
  modifier_groups?: PublishedModifierGroupDTO[];
2734
2788
  modifier_group_to_modifier_relationships?: PublishedModifierGroupToModifierRelationshipDTO[];
2735
2789
  modifiers?: PublishedModifierDTO[];
2790
+ published_catalog_id?: number;
2736
2791
  name: string;
2737
2792
  description?: string;
2738
2793
  is_active?: boolean;
@@ -2870,6 +2925,9 @@ export interface PostMenuV3DraftMenuBody {
2870
2925
  parent?: DraftMenuDTO;
2871
2926
  children?: DraftMenuDTO[];
2872
2927
  categories?: DraftCategoryDTO[];
2928
+ stocks?: StockDTO[];
2929
+ station_id?: string;
2930
+ price_level_id?: string;
2873
2931
  parent_id?: string;
2874
2932
  name: string;
2875
2933
  brand_id: string;
@@ -2902,6 +2960,9 @@ export interface PatchMenuV3DraftMenuBody {
2902
2960
  parent?: DraftMenuDTO;
2903
2961
  children?: DraftMenuDTO[];
2904
2962
  categories?: DraftCategoryDTO[];
2963
+ stocks?: StockDTO[];
2964
+ station_id?: string;
2965
+ price_level_id?: string;
2905
2966
  id?: string;
2906
2967
  parent_id?: string;
2907
2968
  name?: string;
@@ -2949,6 +3010,9 @@ export type PostMenuV3DraftMenusBody = {
2949
3010
  parent?: DraftMenuDTO;
2950
3011
  children?: DraftMenuDTO[];
2951
3012
  categories?: DraftCategoryDTO[];
3013
+ stocks?: StockDTO[];
3014
+ station_id?: string;
3015
+ price_level_id?: string;
2952
3016
  parent_id?: string;
2953
3017
  name: string;
2954
3018
  brand_id: string;
@@ -3032,6 +3096,9 @@ export interface PostMenuV3DraftMenuDuplicateResponse {
3032
3096
  parent?: DraftMenuDTO;
3033
3097
  children?: DraftMenuDTO[];
3034
3098
  categories?: DraftCategoryDTO[];
3099
+ stocks?: StockDTO[];
3100
+ station_id?: string;
3101
+ price_level_id?: string;
3035
3102
  id: string;
3036
3103
  created_at?: string;
3037
3104
  updated_at?: string;
@@ -3550,6 +3617,8 @@ export interface PostMenuV3DraftItemBody {
3550
3617
  parent?: DraftItemDTO;
3551
3618
  children?: DraftItemDTO[];
3552
3619
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3620
+ cpg_item?: UniversalItemDTO;
3621
+ stocks?: StockDTO[];
3553
3622
  parent_id?: string;
3554
3623
  name: string;
3555
3624
  name_on_receipt?: string;
@@ -3574,6 +3643,7 @@ export interface PostMenuV3DraftItemBody {
3574
3643
  is_featured?: boolean;
3575
3644
  tax_jwo_code?: string;
3576
3645
  unique_id?: number;
3646
+ cpg_item_id?: string;
3577
3647
  applied_diff_snapshot?: Record<string, any>;
3578
3648
  brand?: DraftBrandDTO;
3579
3649
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -3607,6 +3677,8 @@ export interface PatchMenuV3DraftItemBody {
3607
3677
  parent?: DraftItemDTO;
3608
3678
  children?: DraftItemDTO[];
3609
3679
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3680
+ cpg_item?: UniversalItemDTO;
3681
+ stocks?: StockDTO[];
3610
3682
  id?: string;
3611
3683
  parent_id?: string;
3612
3684
  name?: string;
@@ -3632,6 +3704,7 @@ export interface PatchMenuV3DraftItemBody {
3632
3704
  is_featured?: boolean;
3633
3705
  tax_jwo_code?: string;
3634
3706
  unique_id?: number;
3707
+ cpg_item_id?: string;
3635
3708
  applied_diff_snapshot?: Record<string, any>;
3636
3709
  version?: number;
3637
3710
  brand?: DraftBrandDTO;
@@ -3691,6 +3764,8 @@ export type PostMenuV3DraftItemsBody = {
3691
3764
  parent?: DraftItemDTO;
3692
3765
  children?: DraftItemDTO[];
3693
3766
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3767
+ cpg_item?: UniversalItemDTO;
3768
+ stocks?: StockDTO[];
3694
3769
  parent_id?: string;
3695
3770
  name: string;
3696
3771
  name_on_receipt?: string;
@@ -3715,6 +3790,7 @@ export type PostMenuV3DraftItemsBody = {
3715
3790
  is_featured?: boolean;
3716
3791
  tax_jwo_code?: string;
3717
3792
  unique_id?: number;
3793
+ cpg_item_id?: string;
3718
3794
  applied_diff_snapshot?: Record<string, any>;
3719
3795
  brand?: DraftBrandDTO;
3720
3796
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -3767,6 +3843,8 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
3767
3843
  parent?: DraftItemDTO;
3768
3844
  children?: DraftItemDTO[];
3769
3845
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3846
+ cpg_item?: UniversalItemDTO;
3847
+ stocks?: StockDTO[];
3770
3848
  id?: string;
3771
3849
  parent_id?: string;
3772
3850
  name?: string;
@@ -3792,6 +3870,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
3792
3870
  is_featured?: boolean;
3793
3871
  tax_jwo_code?: string;
3794
3872
  unique_id?: number;
3873
+ cpg_item_id?: string;
3795
3874
  applied_diff_snapshot?: Record<string, any>;
3796
3875
  brand?: DraftBrandDTO;
3797
3876
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -4881,6 +4960,7 @@ export interface GetMenuV3MenuworksResponse {
4881
4960
  calories?: number;
4882
4961
  unit_id?: string;
4883
4962
  name?: string;
4963
+ short_name?: string;
4884
4964
  description?: string;
4885
4965
  MRN?: string;
4886
4966
  portion_quantity?: number;
@@ -5003,6 +5083,7 @@ export interface PostMenuV4BrandBody {
5003
5083
  audit_logs?: AuditDTO[];
5004
5084
  catalog_id?: number;
5005
5085
  published_catalog_id?: number;
5086
+ stocks?: StockDTO[];
5006
5087
  name: string;
5007
5088
  description?: string;
5008
5089
  is_active?: boolean;
@@ -5038,6 +5119,7 @@ export interface PostMenuV4BrandResponse {
5038
5119
  audit_logs?: AuditDTO[];
5039
5120
  catalog_id?: number;
5040
5121
  published_catalog_id?: number;
5122
+ stocks?: StockDTO[];
5041
5123
  id: string;
5042
5124
  created_at?: string;
5043
5125
  updated_at?: string;
@@ -5087,6 +5169,7 @@ export interface GetMenuV4BrandResponse {
5087
5169
  audit_logs?: AuditDTO[];
5088
5170
  catalog_id?: number;
5089
5171
  published_catalog_id?: number;
5172
+ stocks?: StockDTO[];
5090
5173
  id: string;
5091
5174
  created_at?: string;
5092
5175
  updated_at?: string;
@@ -5132,6 +5215,7 @@ export interface DeleteMenuV4BrandResponse {
5132
5215
  audit_logs?: AuditDTO[];
5133
5216
  catalog_id?: number;
5134
5217
  published_catalog_id?: number;
5218
+ stocks?: StockDTO[];
5135
5219
  id: string;
5136
5220
  created_at?: string;
5137
5221
  updated_at?: string;
@@ -5166,6 +5250,9 @@ export interface PostMenuV4BrandMenuBody {
5166
5250
  parent?: DraftMenuDTO;
5167
5251
  children?: DraftMenuDTO[];
5168
5252
  categories?: DraftCategoryDTO[];
5253
+ stocks?: StockDTO[];
5254
+ station_id?: string;
5255
+ price_level_id?: string;
5169
5256
  parent_id?: string;
5170
5257
  name: string;
5171
5258
  brand_id: string;
@@ -5180,6 +5267,9 @@ export interface PostMenuV4BrandMenuResponse {
5180
5267
  parent?: DraftMenuDTO;
5181
5268
  children?: DraftMenuDTO[];
5182
5269
  categories?: DraftCategoryDTO[];
5270
+ stocks?: StockDTO[];
5271
+ station_id?: string;
5272
+ price_level_id?: string;
5183
5273
  id: string;
5184
5274
  created_at?: string;
5185
5275
  updated_at?: string;
@@ -5206,6 +5296,9 @@ export interface PatchMenuV4BrandMenuBody {
5206
5296
  parent?: DraftMenuDTO;
5207
5297
  children?: DraftMenuDTO[];
5208
5298
  categories?: DraftCategoryDTO[];
5299
+ stocks?: StockDTO[];
5300
+ station_id?: string;
5301
+ price_level_id?: string;
5209
5302
  id?: string;
5210
5303
  parent_id?: string;
5211
5304
  name?: string;
@@ -5222,6 +5315,9 @@ export interface PatchMenuV4BrandMenuResponse {
5222
5315
  parent?: DraftMenuDTO;
5223
5316
  children?: DraftMenuDTO[];
5224
5317
  categories?: DraftCategoryDTO[];
5318
+ stocks?: StockDTO[];
5319
+ station_id?: string;
5320
+ price_level_id?: string;
5225
5321
  id: string;
5226
5322
  created_at?: string;
5227
5323
  updated_at?: string;
@@ -5248,6 +5344,9 @@ export interface DeleteMenuV4BrandMenuResponse {
5248
5344
  parent?: DraftMenuDTO;
5249
5345
  children?: DraftMenuDTO[];
5250
5346
  categories?: DraftCategoryDTO[];
5347
+ stocks?: StockDTO[];
5348
+ station_id?: string;
5349
+ price_level_id?: string;
5251
5350
  id: string;
5252
5351
  created_at?: string;
5253
5352
  updated_at?: string;
@@ -5585,6 +5684,9 @@ export interface PostMenuV4BrandMenuDuplicateBody {
5585
5684
  parent?: DraftMenuDTO;
5586
5685
  children?: DraftMenuDTO[];
5587
5686
  categories?: DraftCategoryDTO[];
5687
+ stocks?: StockDTO[];
5688
+ station_id?: string;
5689
+ price_level_id?: string;
5588
5690
  id?: string;
5589
5691
  parent_id?: string;
5590
5692
  name?: string;
@@ -5601,6 +5703,9 @@ export interface PostMenuV4BrandMenuDuplicateResponse {
5601
5703
  parent?: DraftMenuDTO;
5602
5704
  children?: DraftMenuDTO[];
5603
5705
  categories?: DraftCategoryDTO[];
5706
+ stocks?: StockDTO[];
5707
+ station_id?: string;
5708
+ price_level_id?: string;
5604
5709
  id: string;
5605
5710
  created_at?: string;
5606
5711
  updated_at?: string;
@@ -5649,6 +5754,8 @@ export interface PostMenuV4ItemBody {
5649
5754
  parent?: DraftItemDTO;
5650
5755
  children?: DraftItemDTO[];
5651
5756
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
5757
+ cpg_item?: UniversalItemDTO;
5758
+ stocks?: StockDTO[];
5652
5759
  parent_id?: string;
5653
5760
  name: string;
5654
5761
  name_on_receipt?: string;
@@ -5673,6 +5780,7 @@ export interface PostMenuV4ItemBody {
5673
5780
  is_featured?: boolean;
5674
5781
  tax_jwo_code?: string;
5675
5782
  unique_id?: number;
5783
+ cpg_item_id?: string;
5676
5784
  base_item_id?: string;
5677
5785
  applied_diff_snapshot?: Record<string, any>;
5678
5786
  brand?: DraftBrandDTO;
@@ -5689,6 +5797,8 @@ export interface PostMenuV4ItemResponse {
5689
5797
  parent?: DraftItemDTO;
5690
5798
  children?: DraftItemDTO[];
5691
5799
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
5800
+ cpg_item?: UniversalItemDTO;
5801
+ stocks?: StockDTO[];
5692
5802
  id: string;
5693
5803
  created_at?: string;
5694
5804
  updated_at?: string;
@@ -5717,6 +5827,7 @@ export interface PostMenuV4ItemResponse {
5717
5827
  is_featured?: boolean;
5718
5828
  tax_jwo_code?: string;
5719
5829
  unique_id?: number;
5830
+ cpg_item_id?: string;
5720
5831
  applied_diff_snapshot?: Record<string, any>;
5721
5832
  version?: number;
5722
5833
  brand?: DraftBrandDTO;
@@ -5731,6 +5842,56 @@ export interface PostMenuV4ItemResponse {
5731
5842
  export interface PostMenuV4ItemRequest extends BaseRequest {
5732
5843
  body: PostMenuV4ItemBody;
5733
5844
  }
5845
+ export type PostMenuV4ItemsBulkCreateBody = {
5846
+ is_published?: boolean;
5847
+ parent?: DraftItemDTO;
5848
+ children?: DraftItemDTO[];
5849
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
5850
+ cpg_item?: UniversalItemDTO;
5851
+ stocks?: StockDTO[];
5852
+ parent_id?: string;
5853
+ name: string;
5854
+ name_on_receipt?: string;
5855
+ name_on_kds?: string;
5856
+ label?: string;
5857
+ description?: string;
5858
+ reporting: ReportingMetadataDTO;
5859
+ price: number;
5860
+ barcode?: string;
5861
+ calories?: number;
5862
+ meal_value?: number;
5863
+ is_active?: boolean;
5864
+ posid?: string;
5865
+ tax_tags?: string[];
5866
+ brand_id: string;
5867
+ line_route?: string;
5868
+ posid_segment?: number;
5869
+ menu_works?: MenuWorksDTO;
5870
+ is_out_of_stock?: boolean;
5871
+ tax_tag_code?: string;
5872
+ tags?: string[];
5873
+ is_featured?: boolean;
5874
+ tax_jwo_code?: string;
5875
+ unique_id?: number;
5876
+ cpg_item_id?: string;
5877
+ base_item_id?: string;
5878
+ applied_diff_snapshot?: Record<string, any>;
5879
+ brand?: DraftBrandDTO;
5880
+ categories?: DraftCategoryToItemRelationshipDTO[];
5881
+ changes?: ItemChangeDTO[];
5882
+ vendor_metadata?: VendorMetadataDTO[];
5883
+ attachments?: FileAttachmentsDTO;
5884
+ weight?: WeightDTO;
5885
+ permissions?: Record<string, any>;
5886
+ [index: string]: any;
5887
+ }[];
5888
+ export interface PostMenuV4ItemsBulkCreateResponse {
5889
+ meta?: Record<string, any>;
5890
+ results?: DraftItemEntityDTO[];
5891
+ }
5892
+ export interface PostMenuV4ItemsBulkCreateRequest extends BaseRequest {
5893
+ body: PostMenuV4ItemsBulkCreateBody;
5894
+ }
5734
5895
  export interface GetMenuV4ItemPath {
5735
5896
  id: string;
5736
5897
  }
@@ -5742,6 +5903,8 @@ export interface GetMenuV4ItemResponse {
5742
5903
  parent?: DraftItemDTO;
5743
5904
  children?: DraftItemDTO[];
5744
5905
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
5906
+ cpg_item?: UniversalItemDTO;
5907
+ stocks?: StockDTO[];
5745
5908
  id: string;
5746
5909
  created_at?: string;
5747
5910
  updated_at?: string;
@@ -5770,6 +5933,7 @@ export interface GetMenuV4ItemResponse {
5770
5933
  is_featured?: boolean;
5771
5934
  tax_jwo_code?: string;
5772
5935
  unique_id?: number;
5936
+ cpg_item_id?: string;
5773
5937
  applied_diff_snapshot?: Record<string, any>;
5774
5938
  version?: number;
5775
5939
  brand?: DraftBrandDTO;
@@ -5792,6 +5956,8 @@ export interface PatchMenuV4ItemBody {
5792
5956
  parent?: DraftItemDTO;
5793
5957
  children?: DraftItemDTO[];
5794
5958
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
5959
+ cpg_item?: UniversalItemDTO;
5960
+ stocks?: StockDTO[];
5795
5961
  parent_id?: string;
5796
5962
  name?: string;
5797
5963
  name_on_receipt?: string;
@@ -5816,6 +5982,7 @@ export interface PatchMenuV4ItemBody {
5816
5982
  is_featured?: boolean;
5817
5983
  tax_jwo_code?: string;
5818
5984
  unique_id?: number;
5985
+ cpg_item_id?: string;
5819
5986
  applied_diff_snapshot?: Record<string, any>;
5820
5987
  brand?: DraftBrandDTO;
5821
5988
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -5831,6 +5998,8 @@ export interface PatchMenuV4ItemResponse {
5831
5998
  parent?: DraftItemDTO;
5832
5999
  children?: DraftItemDTO[];
5833
6000
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
6001
+ cpg_item?: UniversalItemDTO;
6002
+ stocks?: StockDTO[];
5834
6003
  id: string;
5835
6004
  created_at?: string;
5836
6005
  updated_at?: string;
@@ -5859,6 +6028,7 @@ export interface PatchMenuV4ItemResponse {
5859
6028
  is_featured?: boolean;
5860
6029
  tax_jwo_code?: string;
5861
6030
  unique_id?: number;
6031
+ cpg_item_id?: string;
5862
6032
  applied_diff_snapshot?: Record<string, any>;
5863
6033
  version?: number;
5864
6034
  brand?: DraftBrandDTO;
@@ -5881,6 +6051,8 @@ export interface DeleteMenuV4ItemResponse {
5881
6051
  parent?: DraftItemDTO;
5882
6052
  children?: DraftItemDTO[];
5883
6053
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
6054
+ cpg_item?: UniversalItemDTO;
6055
+ stocks?: StockDTO[];
5884
6056
  id: string;
5885
6057
  created_at?: string;
5886
6058
  updated_at?: string;
@@ -5909,6 +6081,7 @@ export interface DeleteMenuV4ItemResponse {
5909
6081
  is_featured?: boolean;
5910
6082
  tax_jwo_code?: string;
5911
6083
  unique_id?: number;
6084
+ cpg_item_id?: string;
5912
6085
  applied_diff_snapshot?: Record<string, any>;
5913
6086
  version?: number;
5914
6087
  brand?: DraftBrandDTO;
@@ -5928,6 +6101,8 @@ export interface PatchMenuV4ItemsBulkUpdateBody {
5928
6101
  parent?: DraftItemDTO;
5929
6102
  children?: DraftItemDTO[];
5930
6103
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
6104
+ cpg_item?: UniversalItemDTO;
6105
+ stocks?: StockDTO[];
5931
6106
  id?: string;
5932
6107
  parent_id?: string;
5933
6108
  name?: string;
@@ -5953,6 +6128,7 @@ export interface PatchMenuV4ItemsBulkUpdateBody {
5953
6128
  is_featured?: boolean;
5954
6129
  tax_jwo_code?: string;
5955
6130
  unique_id?: number;
6131
+ cpg_item_id?: string;
5956
6132
  applied_diff_snapshot?: Record<string, any>;
5957
6133
  brand?: DraftBrandDTO;
5958
6134
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -5978,6 +6154,8 @@ export interface PostMenuV4ItemDuplicateBody {
5978
6154
  parent?: DraftItemDTO;
5979
6155
  children?: DraftItemDTO[];
5980
6156
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
6157
+ cpg_item?: UniversalItemDTO;
6158
+ stocks?: StockDTO[];
5981
6159
  parent_id?: string;
5982
6160
  name?: string;
5983
6161
  name_on_receipt?: string;
@@ -6002,6 +6180,7 @@ export interface PostMenuV4ItemDuplicateBody {
6002
6180
  is_featured?: boolean;
6003
6181
  tax_jwo_code?: string;
6004
6182
  unique_id?: number;
6183
+ cpg_item_id?: string;
6005
6184
  applied_diff_snapshot?: Record<string, any>;
6006
6185
  brand?: DraftBrandDTO;
6007
6186
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -6017,6 +6196,8 @@ export interface PostMenuV4ItemDuplicateResponse {
6017
6196
  parent?: DraftItemDTO;
6018
6197
  children?: DraftItemDTO[];
6019
6198
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
6199
+ cpg_item?: UniversalItemDTO;
6200
+ stocks?: StockDTO[];
6020
6201
  id: string;
6021
6202
  created_at?: string;
6022
6203
  updated_at?: string;
@@ -6045,6 +6226,7 @@ export interface PostMenuV4ItemDuplicateResponse {
6045
6226
  is_featured?: boolean;
6046
6227
  tax_jwo_code?: string;
6047
6228
  unique_id?: number;
6229
+ cpg_item_id?: string;
6048
6230
  applied_diff_snapshot?: Record<string, any>;
6049
6231
  version?: number;
6050
6232
  brand?: DraftBrandDTO;
@@ -6749,4 +6931,155 @@ export interface PostMenuV4ModifierGroupDuplicateResponse {
6749
6931
  export interface PostMenuV4ModifierGroupDuplicateRequest extends BaseRequest, RequestQuery<PostMenuV4ModifierGroupDuplicateQuery>, PostMenuV4ModifierGroupDuplicatePath {
6750
6932
  body: PostMenuV4ModifierGroupDuplicateBody;
6751
6933
  }
6934
+ export interface PatchMenuV4StockBusinessUnitBody {
6935
+ draft_is_in_stock: boolean;
6936
+ business_unit_id: string;
6937
+ item_ids: string[];
6938
+ [index: string]: any;
6939
+ }
6940
+ export interface PatchMenuV4StockBusinessUnitResponse {
6941
+ results?: StockDTO[];
6942
+ }
6943
+ export interface PatchMenuV4StockBusinessUnitRequest extends BaseRequest {
6944
+ body: PatchMenuV4StockBusinessUnitBody;
6945
+ }
6946
+ export interface PatchMenuV4StockPath {
6947
+ id: string;
6948
+ }
6949
+ export interface PatchMenuV4StockBody {
6950
+ draft_is_in_stock?: boolean;
6951
+ }
6952
+ export interface PatchMenuV4StockResponse {
6953
+ is_in_stock: boolean;
6954
+ draft_is_in_stock: boolean;
6955
+ item_id: string;
6956
+ menu_id: string;
6957
+ brand_id: string;
6958
+ id: string;
6959
+ created_at?: string;
6960
+ updated_at?: string;
6961
+ deleted_at?: string;
6962
+ business_unit_id?: string;
6963
+ version?: number;
6964
+ item?: DraftItemDTO;
6965
+ menu?: DraftMenuDTO;
6966
+ brand?: DraftBrandDTO;
6967
+ permissions?: Record<string, any>;
6968
+ [index: string]: any;
6969
+ }
6970
+ export interface PatchMenuV4StockRequest extends BaseRequest, PatchMenuV4StockPath {
6971
+ body: PatchMenuV4StockBody;
6972
+ }
6973
+ export interface PostMenuV4StockMenuBusinessUnitBody {
6974
+ menu_id?: string;
6975
+ business_unit_id?: string;
6976
+ }
6977
+ export interface PostMenuV4StockMenuBusinessUnitResponse {
6978
+ status?: string;
6979
+ }
6980
+ export interface PostMenuV4StockMenuBusinessUnitRequest extends BaseRequest {
6981
+ body: PostMenuV4StockMenuBusinessUnitBody;
6982
+ }
6983
+ export interface DeleteMenuV4StockMenuBusinessUnitBody {
6984
+ menu_id?: string;
6985
+ business_unit_id?: string;
6986
+ }
6987
+ export interface DeleteMenuV4StockMenuBusinessUnitResponse {
6988
+ status?: string;
6989
+ }
6990
+ export interface DeleteMenuV4StockMenuBusinessUnitRequest extends BaseRequest {
6991
+ body: DeleteMenuV4StockMenuBusinessUnitBody;
6992
+ }
6993
+ export interface GetMenuV4StockBusinessUnitPath {
6994
+ business_unit_id: string;
6995
+ }
6996
+ export interface GetMenuV4StockBusinessUnitQuery {
6997
+ filter?: string;
6998
+ select?: string[];
6999
+ relationships?: string[];
7000
+ limit?: number;
7001
+ page?: number;
7002
+ sort_by?: string;
7003
+ sort_order?: 'DESC' | 'ASC';
7004
+ soft_deleted?: 'include' | 'exclude' | 'only';
7005
+ _query?: string;
7006
+ }
7007
+ export interface GetMenuV4StockBusinessUnitResponse {
7008
+ results: StockDTO[];
7009
+ meta?: ListResponseMetadataDTO;
7010
+ [index: string]: any;
7011
+ }
7012
+ export interface GetMenuV4StockBusinessUnitRequest extends BaseRequest, RequestQuery<GetMenuV4StockBusinessUnitQuery>, GetMenuV4StockBusinessUnitPath {
7013
+ }
7014
+ export interface PostMenuV4StockPublishBody {
7015
+ reset_time?: string;
7016
+ business_unit_id?: string;
7017
+ [index: string]: any;
7018
+ }
7019
+ export interface PostMenuV4StockPublishResponse {
7020
+ status?: string;
7021
+ }
7022
+ export interface PostMenuV4StockPublishRequest extends BaseRequest {
7023
+ body: PostMenuV4StockPublishBody;
7024
+ }
7025
+ export interface PostMenuV4ScheduleMenuBody {
7026
+ station_id: string;
7027
+ menu_id: string;
7028
+ price_level_id: string;
7029
+ [index: string]: any;
7030
+ }
7031
+ export interface PostMenuV4ScheduleMenuResponse {
7032
+ parent?: DraftMenuDTO;
7033
+ children?: DraftMenuDTO[];
7034
+ categories?: DraftCategoryDTO[];
7035
+ stocks?: StockDTO[];
7036
+ station_id?: string;
7037
+ price_level_id?: string;
7038
+ id: string;
7039
+ created_at?: string;
7040
+ updated_at?: string;
7041
+ deleted_at?: string;
7042
+ parent_id?: string;
7043
+ name: string;
7044
+ brand_id: string;
7045
+ applied_diff_snapshot?: Record<string, any>;
7046
+ version?: number;
7047
+ brand?: DraftBrandDTO;
7048
+ changes?: MenuChangeDTO[];
7049
+ vendor_metadata?: VendorMetadataDTO[];
7050
+ permissions?: Record<string, any>;
7051
+ [index: string]: any;
7052
+ }
7053
+ export interface PostMenuV4ScheduleMenuRequest extends BaseRequest {
7054
+ body: PostMenuV4ScheduleMenuBody;
7055
+ }
7056
+ export interface PostMenuV4UnscheduleMenuBody {
7057
+ menu_id: string;
7058
+ [index: string]: any;
7059
+ }
7060
+ export interface PostMenuV4UnscheduleMenuResponse {
7061
+ parent?: DraftMenuDTO;
7062
+ children?: DraftMenuDTO[];
7063
+ categories?: DraftCategoryDTO[];
7064
+ stocks?: StockDTO[];
7065
+ station_id?: string;
7066
+ price_level_id?: string;
7067
+ id: string;
7068
+ created_at?: string;
7069
+ updated_at?: string;
7070
+ deleted_at?: string;
7071
+ parent_id?: string;
7072
+ name: string;
7073
+ brand_id: string;
7074
+ applied_diff_snapshot?: Record<string, any>;
7075
+ version?: number;
7076
+ brand?: DraftBrandDTO;
7077
+ changes?: MenuChangeDTO[];
7078
+ vendor_metadata?: VendorMetadataDTO[];
7079
+ permissions?: Record<string, any>;
7080
+ [index: string]: any;
7081
+ }
7082
+ export interface PostMenuV4UnscheduleMenuRequest extends BaseRequest {
7083
+ body: PostMenuV4UnscheduleMenuBody;
7084
+ }
6752
7085
  //# sourceMappingURL=menu.d.ts.map