@compassdigital/sdk.typescript 4.41.1 → 4.42.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.
@@ -483,11 +483,11 @@ export interface LocalMenuGroupDTO {
483
483
 
484
484
  export interface BrandChangeDTO {
485
485
  id?: string;
486
- insert?: FilterFieldDTO;
487
- delete?: FilterFieldDTO;
488
- snapshot_entity_id?: FilterFieldDTO;
486
+ insert?: Record<string, any>;
487
+ delete?: Record<string, any>;
488
+ snapshot_entity_id?: string;
489
489
  snapshot_entity?: DraftBrandDTO;
490
- permissions?: FilterFieldDTO;
490
+ permissions?: Record<string, any>;
491
491
  [index: string]: any;
492
492
  }
493
493
 
@@ -499,11 +499,11 @@ export interface DraftMenuDTO {
499
499
  parent_id?: string;
500
500
  name?: string;
501
501
  brand_id?: string;
502
- applied_diff_snapshot?: FilterFieldDTO;
502
+ applied_diff_snapshot?: Record<string, any>;
503
503
  brand?: DraftBrandDTO;
504
504
  changes?: MenuChangeDTO[];
505
505
  vendor_metadata?: VendorMetadataDTO[];
506
- permissions?: FilterFieldDTO;
506
+ permissions?: Record<string, any>;
507
507
  [index: string]: any;
508
508
  }
509
509
 
@@ -518,14 +518,14 @@ export interface DraftCategoryDTO {
518
518
  is_active?: boolean;
519
519
  brand_id?: string;
520
520
  menu_id?: string;
521
- applied_diff_snapshot?: FilterFieldDTO;
521
+ applied_diff_snapshot?: Record<string, any>;
522
522
  menu?: Record<string, any>;
523
523
  items?: DraftCategoryToItemRelationshipDTO[];
524
524
  brand?: DraftBrandDTO;
525
525
  changes?: CategoryChangeDTO[];
526
526
  vendor_metadata?: VendorMetadataDTO[];
527
527
  attachments?: Record<string, any>;
528
- permissions?: FilterFieldDTO;
528
+ permissions?: Record<string, any>;
529
529
  [index: string]: any;
530
530
  }
531
531
 
@@ -536,15 +536,15 @@ export interface DraftCategoryToItemRelationshipDTO {
536
536
  parent_id?: string;
537
537
  item_id?: string;
538
538
  category_id?: string;
539
- brand_id?: FilterFieldDTO;
539
+ brand_id?: string;
540
540
  sequence?: number;
541
- applied_diff_snapshot?: FilterFieldDTO;
541
+ applied_diff_snapshot?: Record<string, any>;
542
542
  category?: Record<string, any>;
543
543
  item?: DraftItemDTO;
544
544
  brand?: DraftBrandDTO;
545
545
  changes?: CategoryToItemRelationshipChangeDTO[];
546
546
  vendor_metadata?: VendorMetadataDTO[];
547
- permissions?: FilterFieldDTO;
547
+ permissions?: Record<string, any>;
548
548
  [index: string]: any;
549
549
  }
550
550
 
@@ -563,22 +563,22 @@ export interface DraftItemDTO {
563
563
  calories?: number;
564
564
  meal_value?: number;
565
565
  is_active?: boolean;
566
- posid?: FilterFieldDTO;
567
- tax_tags?: FilterFieldDTO[];
566
+ posid?: string;
567
+ tax_tags?: string[];
568
568
  brand_id?: string;
569
- line_route?: FilterFieldDTO;
570
- posid_segment?: FilterFieldDTO;
569
+ line_route?: string;
570
+ posid_segment?: string;
571
571
  menu_works?: Record<string, any>;
572
- is_out_of_stock?: FilterFieldDTO;
573
- tax_tag_code?: FilterFieldDTO;
574
- applied_diff_snapshot?: FilterFieldDTO;
572
+ is_out_of_stock?: boolean;
573
+ tax_tag_code?: string;
574
+ applied_diff_snapshot?: Record<string, any>;
575
575
  brand?: DraftBrandDTO;
576
576
  categories?: Record<string, any>[];
577
577
  changes?: ItemChangeDTO[];
578
578
  vendor_metadata?: VendorMetadataDTO[];
579
579
  attachments?: Record<string, any>;
580
580
  weight?: Record<string, any>;
581
- permissions?: FilterFieldDTO;
581
+ permissions?: Record<string, any>;
582
582
  [index: string]: any;
583
583
  }
584
584
 
@@ -589,15 +589,15 @@ export interface DraftItemToModifierGroupRelationshipDTO {
589
589
  parent_id?: string;
590
590
  modifier_group_id?: string;
591
591
  item_id?: string;
592
- brand_id?: FilterFieldDTO;
592
+ brand_id?: string;
593
593
  sequence?: number;
594
- applied_diff_snapshot?: FilterFieldDTO;
594
+ applied_diff_snapshot?: Record<string, any>;
595
595
  item?: Record<string, any>;
596
596
  modifier_group?: DraftModifierGroupDTO;
597
597
  brand?: DraftBrandDTO;
598
598
  changes?: ItemToModifierGroupRelationshipChangeDTO[];
599
599
  vendor_metadata?: VendorMetadataDTO[];
600
- permissions?: FilterFieldDTO;
600
+ permissions?: Record<string, any>;
601
601
  [index: string]: any;
602
602
  }
603
603
 
@@ -617,13 +617,13 @@ export interface DraftModifierGroupDTO {
617
617
  brand_id?: string;
618
618
  order_type?: "selection" | "option" | "quantity";
619
619
  sizing?: string;
620
- is_out_of_stock?: FilterFieldDTO;
621
- is_incremental?: FilterFieldDTO;
622
- applied_diff_snapshot?: FilterFieldDTO;
620
+ is_out_of_stock?: boolean;
621
+ is_incremental?: boolean;
622
+ applied_diff_snapshot?: Record<string, any>;
623
623
  brand?: DraftBrandDTO;
624
624
  changes?: ModifierGroupChangeDTO[];
625
625
  vendor_metadata?: VendorMetadataDTO[];
626
- permissions?: FilterFieldDTO;
626
+ permissions?: Record<string, any>;
627
627
  [index: string]: any;
628
628
  }
629
629
 
@@ -634,15 +634,15 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
634
634
  parent_id?: string;
635
635
  modifier_id?: string;
636
636
  modifier_group_id?: string;
637
- brand_id?: FilterFieldDTO;
637
+ brand_id?: string;
638
638
  sequence?: number;
639
- applied_diff_snapshot?: FilterFieldDTO;
639
+ applied_diff_snapshot?: Record<string, any>;
640
640
  modifier?: DraftModifierDTO;
641
641
  modifier_group?: Record<string, any>;
642
642
  brand?: DraftBrandDTO;
643
643
  changes?: ModifierGroupToModifierRelationshipChangeDTO[];
644
644
  vendor_metadata?: VendorMetadataDTO[];
645
- permissions?: FilterFieldDTO;
645
+ permissions?: Record<string, any>;
646
646
  [index: string]: any;
647
647
  }
648
648
 
@@ -657,37 +657,37 @@ export interface DraftModifierDTO {
657
657
  description?: string;
658
658
  price?: number;
659
659
  calories?: number;
660
- tax_tags?: FilterFieldDTO[];
660
+ tax_tags?: string[];
661
661
  is_active?: boolean;
662
- posid?: FilterFieldDTO;
662
+ posid?: string;
663
663
  reporting?: ReportingMetadataDTO;
664
- posid_segment?: FilterFieldDTO;
664
+ posid_segment?: string;
665
665
  brand_id?: string;
666
666
  menu_works?: MenuWorksDTO;
667
- is_out_of_stock?: FilterFieldDTO;
667
+ is_out_of_stock?: boolean;
668
668
  price_for_none?: number;
669
669
  price_for_less?: number;
670
670
  price_for_more?: number;
671
671
  pre_surcharge?: number;
672
672
  post_surcharge?: number;
673
- tax_tag_code?: FilterFieldDTO;
674
- applied_diff_snapshot?: FilterFieldDTO;
673
+ tax_tag_code?: string;
674
+ applied_diff_snapshot?: Record<string, any>;
675
675
  brand?: DraftBrandDTO;
676
676
  changes?: ModifierChangeDTO[];
677
677
  vendor_metadata?: VendorMetadataDTO[];
678
678
  weight?: WeightDTO;
679
679
  attachments?: FileAttachmentsDTO;
680
- permissions?: FilterFieldDTO;
680
+ permissions?: Record<string, any>;
681
681
  [index: string]: any;
682
682
  }
683
683
 
684
684
  export interface ModifierChangeDTO {
685
685
  id?: string;
686
- insert?: FilterFieldDTO;
687
- delete?: FilterFieldDTO;
688
- snapshot_entity_id?: FilterFieldDTO;
686
+ insert?: Record<string, any>;
687
+ delete?: Record<string, any>;
688
+ snapshot_entity_id?: string;
689
689
  snapshot_entity?: Record<string, any>;
690
- permissions?: FilterFieldDTO;
690
+ permissions?: Record<string, any>;
691
691
  [index: string]: any;
692
692
  }
693
693
 
@@ -699,29 +699,29 @@ export interface ReportingMetadataDTO {
699
699
 
700
700
  export interface ReportingCategoryMetadataDTO {
701
701
  primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
702
- secondary?: FilterFieldDTO;
702
+ secondary?: string;
703
703
  id?: Record<string, any>;
704
704
  [index: string]: any;
705
705
  }
706
706
 
707
707
  export interface WeightDTO {
708
- unit?: FilterFieldDTO;
709
- amount?: FilterFieldDTO;
708
+ unit?: string;
709
+ amount?: number;
710
710
  id?: Record<string, any>;
711
711
  [index: string]: any;
712
712
  }
713
713
 
714
714
  export interface FileAttachmentsDTO {
715
- thumbnail?: FilterFieldDTO;
715
+ thumbnail?: string;
716
716
  id?: Record<string, any>;
717
717
  [index: string]: any;
718
718
  }
719
719
 
720
720
  export interface MenuWorksDTO {
721
- MRN?: FilterFieldDTO;
722
- unit_id?: FilterFieldDTO;
721
+ MRN?: string;
722
+ unit_id?: string;
723
723
  portion_quantity?: number;
724
- portion_unit_name?: FilterFieldDTO;
724
+ portion_unit_name?: string;
725
725
  grams?: number;
726
726
  cost?: number;
727
727
  id?: Record<string, any>;
@@ -730,82 +730,82 @@ export interface MenuWorksDTO {
730
730
 
731
731
  export interface ModifierGroupToModifierRelationshipChangeDTO {
732
732
  id?: string;
733
- insert?: FilterFieldDTO;
734
- delete?: FilterFieldDTO;
735
- snapshot_entity_id?: FilterFieldDTO;
733
+ insert?: Record<string, any>;
734
+ delete?: Record<string, any>;
735
+ snapshot_entity_id?: string;
736
736
  snapshot_entity?: Record<string, any>;
737
- permissions?: FilterFieldDTO;
737
+ permissions?: Record<string, any>;
738
738
  [index: string]: any;
739
739
  }
740
740
 
741
741
  export interface ModifierGroupChangeDTO {
742
742
  id?: string;
743
- insert?: FilterFieldDTO;
744
- delete?: FilterFieldDTO;
745
- snapshot_entity_id?: FilterFieldDTO;
743
+ insert?: Record<string, any>;
744
+ delete?: Record<string, any>;
745
+ snapshot_entity_id?: string;
746
746
  snapshot_entity?: Record<string, any>;
747
- permissions?: FilterFieldDTO;
747
+ permissions?: Record<string, any>;
748
748
  [index: string]: any;
749
749
  }
750
750
 
751
751
  export interface ItemToModifierGroupRelationshipChangeDTO {
752
752
  id?: string;
753
- insert?: FilterFieldDTO;
754
- delete?: FilterFieldDTO;
755
- snapshot_entity_id?: FilterFieldDTO;
753
+ insert?: Record<string, any>;
754
+ delete?: Record<string, any>;
755
+ snapshot_entity_id?: string;
756
756
  snapshot_entity?: Record<string, any>;
757
- permissions?: FilterFieldDTO;
757
+ permissions?: Record<string, any>;
758
758
  [index: string]: any;
759
759
  }
760
760
 
761
761
  export interface ItemChangeDTO {
762
762
  id?: string;
763
- insert?: FilterFieldDTO;
764
- delete?: FilterFieldDTO;
765
- snapshot_entity_id?: FilterFieldDTO;
763
+ insert?: Record<string, any>;
764
+ delete?: Record<string, any>;
765
+ snapshot_entity_id?: string;
766
766
  snapshot_entity?: Record<string, any>;
767
- permissions?: FilterFieldDTO;
767
+ permissions?: Record<string, any>;
768
768
  [index: string]: any;
769
769
  }
770
770
 
771
771
  export interface CategoryToItemRelationshipChangeDTO {
772
772
  id?: string;
773
- insert?: FilterFieldDTO;
774
- delete?: FilterFieldDTO;
775
- snapshot_entity_id?: FilterFieldDTO;
773
+ insert?: Record<string, any>;
774
+ delete?: Record<string, any>;
775
+ snapshot_entity_id?: string;
776
776
  snapshot_entity?: Record<string, any>;
777
- permissions?: FilterFieldDTO;
777
+ permissions?: Record<string, any>;
778
778
  [index: string]: any;
779
779
  }
780
780
 
781
781
  export interface CategoryChangeDTO {
782
782
  id?: string;
783
- insert?: FilterFieldDTO;
784
- delete?: FilterFieldDTO;
785
- snapshot_entity_id?: FilterFieldDTO;
783
+ insert?: Record<string, any>;
784
+ delete?: Record<string, any>;
785
+ snapshot_entity_id?: string;
786
786
  snapshot_entity?: Record<string, any>;
787
- permissions?: FilterFieldDTO;
787
+ permissions?: Record<string, any>;
788
788
  [index: string]: any;
789
789
  }
790
790
 
791
791
  export interface MenuChangeDTO {
792
792
  id?: string;
793
- insert?: FilterFieldDTO;
794
- delete?: FilterFieldDTO;
795
- snapshot_entity_id?: FilterFieldDTO;
793
+ insert?: Record<string, any>;
794
+ delete?: Record<string, any>;
795
+ snapshot_entity_id?: string;
796
796
  snapshot_entity?: Record<string, any>;
797
- permissions?: FilterFieldDTO;
797
+ permissions?: Record<string, any>;
798
798
  [index: string]: any;
799
799
  }
800
800
 
801
801
  export interface BrandStatusDTO {
802
- brand_id?: FilterFieldDTO;
802
+ brand_id?: string;
803
803
  type?: string;
804
804
  status?: string;
805
- metadata?: FilterFieldDTO;
805
+ metadata?: Record<string, any>;
806
806
  id?: string;
807
807
  brand?: DraftBrandDTO;
808
- permissions?: FilterFieldDTO;
808
+ permissions?: Record<string, any>;
809
809
  [index: string]: any;
810
810
  }
811
811
 
@@ -837,25 +837,25 @@ export interface GlobalDiffDependencyDTO {
837
837
  id?: string;
838
838
  depends_on?: GlobalDiffDTO;
839
839
  is_depended_by?: Record<string, any>;
840
- permissions?: FilterFieldDTO;
840
+ permissions?: Record<string, any>;
841
841
  [index: string]: any;
842
842
  }
843
843
 
844
844
  export interface GlobalDiffDTO {
845
845
  action?: "create" | "update" | "delete";
846
846
  id?: string;
847
- entity_type?: FilterFieldDTO;
848
- local_id?: FilterFieldDTO;
849
- changes?: FilterFieldDTO;
850
- local_changes?: FilterFieldDTO;
851
- local_snapshot?: FilterFieldDTO;
852
- global_id?: FilterFieldDTO;
853
- global_snapshot?: FilterFieldDTO;
854
- brand_id?: FilterFieldDTO;
847
+ entity_type?: string;
848
+ local_id?: string;
849
+ changes?: Record<string, any>;
850
+ local_changes?: Record<string, any>;
851
+ local_snapshot?: Record<string, any>;
852
+ global_id?: string;
853
+ global_snapshot?: Record<string, any>;
854
+ brand_id?: string;
855
855
  depends_on?: Record<string, any>[];
856
856
  is_depended_by?: Record<string, any>[];
857
857
  brand?: DraftBrandDTO;
858
- permissions?: FilterFieldDTO;
858
+ permissions?: Record<string, any>;
859
859
  [index: string]: any;
860
860
  }
861
861
 
@@ -934,7 +934,7 @@ export interface PublishedItemDTO {
934
934
  meal_value?: number;
935
935
  is_active?: boolean;
936
936
  posid?: string;
937
- tax_tags?: Record<string, any>[];
937
+ tax_tags?: string[];
938
938
  brand_id?: string;
939
939
  line_route?: string;
940
940
  posid_segment?: string;
@@ -992,7 +992,7 @@ export interface PublishedModifierDTO {
992
992
  description?: string;
993
993
  price?: number;
994
994
  calories?: number;
995
- tax_tags?: Record<string, any>[];
995
+ tax_tags?: string[];
996
996
  is_active?: boolean;
997
997
  posid?: string;
998
998
  posid_segment?: string;
@@ -1285,7 +1285,7 @@ export interface DraftItemEntityDTO {
1285
1285
  meal_value?: number;
1286
1286
  is_active?: boolean;
1287
1287
  posid?: string;
1288
- tax_tags?: Record<string, any>[];
1288
+ tax_tags?: string[];
1289
1289
  brand_id: string;
1290
1290
  line_route?: string;
1291
1291
  posid_segment?: string;
@@ -1318,7 +1318,7 @@ export interface DraftModifierEntityDTO {
1318
1318
  description?: string;
1319
1319
  price: number;
1320
1320
  calories?: number;
1321
- tax_tags?: Record<string, any>[];
1321
+ tax_tags?: string[];
1322
1322
  is_active?: boolean;
1323
1323
  posid?: string;
1324
1324
  reporting: ReportingMetadataDTO;
@@ -1987,6 +1987,7 @@ export interface DeleteMenuV3LocalMenuGroupPath {
1987
1987
 
1988
1988
  export interface DeleteMenuV3LocalMenuGroupQuery {
1989
1989
  delete_posid?: boolean;
1990
+ hard_delete?: boolean;
1990
1991
  }
1991
1992
 
1992
1993
  export interface DeleteMenuV3LocalMenuGroupResponse {
@@ -2385,6 +2386,7 @@ export interface DeleteMenuV3GlobalMenuGroupPath {
2385
2386
 
2386
2387
  export interface DeleteMenuV3GlobalMenuGroupQuery {
2387
2388
  delete_posid?: boolean;
2389
+ hard_delete?: boolean;
2388
2390
  }
2389
2391
 
2390
2392
  export interface DeleteMenuV3GlobalMenuGroupResponse {
@@ -2672,9 +2674,16 @@ export interface DeleteMenuV3DraftBrandPath {
2672
2674
  id: string;
2673
2675
  }
2674
2676
 
2677
+ export interface DeleteMenuV3DraftBrandQuery {
2678
+ hard_delete?: boolean;
2679
+ }
2680
+
2675
2681
  export type DeleteMenuV3DraftBrandResponse = DraftBrandDTO;
2676
2682
 
2677
- export interface DeleteMenuV3DraftBrandRequest extends BaseRequest, DeleteMenuV3DraftBrandPath {}
2683
+ export interface DeleteMenuV3DraftBrandRequest
2684
+ extends BaseRequest,
2685
+ RequestQuery<DeleteMenuV3DraftBrandQuery>,
2686
+ DeleteMenuV3DraftBrandPath {}
2678
2687
 
2679
2688
  // GET /menu/v3/draft/brands
2680
2689
 
@@ -3185,6 +3194,7 @@ export interface DeleteMenuV3BrandPath {
3185
3194
  }
3186
3195
 
3187
3196
  export interface DeleteMenuV3BrandQuery {
3197
+ hard_delete?: boolean;
3188
3198
  nocache?: boolean;
3189
3199
  }
3190
3200
 
@@ -3527,9 +3537,16 @@ export interface DeleteMenuV3DraftMenuPath {
3527
3537
  id: string;
3528
3538
  }
3529
3539
 
3540
+ export interface DeleteMenuV3DraftMenuQuery {
3541
+ hard_delete?: boolean;
3542
+ }
3543
+
3530
3544
  export type DeleteMenuV3DraftMenuResponse = DraftMenuDTO;
3531
3545
 
3532
- export interface DeleteMenuV3DraftMenuRequest extends BaseRequest, DeleteMenuV3DraftMenuPath {}
3546
+ export interface DeleteMenuV3DraftMenuRequest
3547
+ extends BaseRequest,
3548
+ RequestQuery<DeleteMenuV3DraftMenuQuery>,
3549
+ DeleteMenuV3DraftMenuPath {}
3533
3550
 
3534
3551
  // GET /menu/v3/draft/menus
3535
3552
 
@@ -3899,10 +3916,15 @@ export interface DeleteMenuV3DraftCategoryPath {
3899
3916
  id: string;
3900
3917
  }
3901
3918
 
3919
+ export interface DeleteMenuV3DraftCategoryQuery {
3920
+ hard_delete?: boolean;
3921
+ }
3922
+
3902
3923
  export type DeleteMenuV3DraftCategoryResponse = DraftCategoryDTO;
3903
3924
 
3904
3925
  export interface DeleteMenuV3DraftCategoryRequest
3905
3926
  extends BaseRequest,
3927
+ RequestQuery<DeleteMenuV3DraftCategoryQuery>,
3906
3928
  DeleteMenuV3DraftCategoryPath {}
3907
3929
 
3908
3930
  // GET /menu/v3/draft/categories/count
@@ -4110,10 +4132,15 @@ export interface DeleteMenuV3DraftCategoryRelationshipsItemPath {
4110
4132
  id: string;
4111
4133
  }
4112
4134
 
4135
+ export interface DeleteMenuV3DraftCategoryRelationshipsItemQuery {
4136
+ hard_delete?: boolean;
4137
+ }
4138
+
4113
4139
  export type DeleteMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
4114
4140
 
4115
4141
  export interface DeleteMenuV3DraftCategoryRelationshipsItemRequest
4116
4142
  extends BaseRequest,
4143
+ RequestQuery<DeleteMenuV3DraftCategoryRelationshipsItemQuery>,
4117
4144
  DeleteMenuV3DraftCategoryRelationshipsItemPath {}
4118
4145
 
4119
4146
  // GET /menu/v3/draft/category/relationships/items
@@ -4294,7 +4321,7 @@ export interface PostMenuV3DraftItemBody {
4294
4321
  meal_value?: number;
4295
4322
  is_active?: boolean;
4296
4323
  posid?: string;
4297
- tax_tags?: Record<string, any>[];
4324
+ tax_tags?: string[];
4298
4325
  brand_id: string;
4299
4326
  line_route?: string;
4300
4327
  posid_segment?: string;
@@ -4362,7 +4389,7 @@ export interface PatchMenuV3DraftItemBody {
4362
4389
  meal_value?: number;
4363
4390
  is_active?: boolean;
4364
4391
  posid?: string;
4365
- tax_tags?: Record<string, any>[];
4392
+ tax_tags?: string[];
4366
4393
  brand_id?: string;
4367
4394
  line_route?: string;
4368
4395
  posid_segment?: string;
@@ -4393,9 +4420,16 @@ export interface DeleteMenuV3DraftItemPath {
4393
4420
  id: string;
4394
4421
  }
4395
4422
 
4423
+ export interface DeleteMenuV3DraftItemQuery {
4424
+ hard_delete?: boolean;
4425
+ }
4426
+
4396
4427
  export type DeleteMenuV3DraftItemResponse = DraftItemDTO;
4397
4428
 
4398
- export interface DeleteMenuV3DraftItemRequest extends BaseRequest, DeleteMenuV3DraftItemPath {}
4429
+ export interface DeleteMenuV3DraftItemRequest
4430
+ extends BaseRequest,
4431
+ RequestQuery<DeleteMenuV3DraftItemQuery>,
4432
+ DeleteMenuV3DraftItemPath {}
4399
4433
 
4400
4434
  // GET /menu/v3/draft/items
4401
4435
 
@@ -4447,7 +4481,7 @@ export type PostMenuV3DraftItemsBody = {
4447
4481
  meal_value?: number;
4448
4482
  is_active?: boolean;
4449
4483
  posid?: string;
4450
- tax_tags?: Record<string, any>[];
4484
+ tax_tags?: string[];
4451
4485
  brand_id: string;
4452
4486
  line_route?: string;
4453
4487
  posid_segment?: string;
@@ -4519,7 +4553,7 @@ export interface GetMenuV3DraftItemLineRoutesRequest
4519
4553
  // PATCH /menu/v3/draft/items/bulk-update
4520
4554
 
4521
4555
  export interface PatchMenuV3DraftItemsBulkUpdateBody {
4522
- id_list: Record<string, any>[];
4556
+ id_list: string[];
4523
4557
  parent?: DraftItemDTO;
4524
4558
  children?: DraftItemDTO[];
4525
4559
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
@@ -4535,7 +4569,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
4535
4569
  meal_value?: number;
4536
4570
  is_active?: boolean;
4537
4571
  posid?: string;
4538
- tax_tags?: Record<string, any>[];
4572
+ tax_tags?: string[];
4539
4573
  brand_id?: string;
4540
4574
  line_route?: string;
4541
4575
  posid_segment?: string;
@@ -4799,11 +4833,16 @@ export interface DeleteMenuV3DraftItemRelationshipsModifierGroupPath {
4799
4833
  id: string;
4800
4834
  }
4801
4835
 
4836
+ export interface DeleteMenuV3DraftItemRelationshipsModifierGroupQuery {
4837
+ hard_delete?: boolean;
4838
+ }
4839
+
4802
4840
  export type DeleteMenuV3DraftItemRelationshipsModifierGroupResponse =
4803
4841
  DraftItemToModifierGroupRelationshipDTO;
4804
4842
 
4805
4843
  export interface DeleteMenuV3DraftItemRelationshipsModifierGroupRequest
4806
4844
  extends BaseRequest,
4845
+ RequestQuery<DeleteMenuV3DraftItemRelationshipsModifierGroupQuery>,
4807
4846
  DeleteMenuV3DraftItemRelationshipsModifierGroupPath {}
4808
4847
 
4809
4848
  // GET /menu/v3/draft/item/relationships/modifier-groups
@@ -5070,10 +5109,15 @@ export interface DeleteMenuV3DraftModifierGroupPath {
5070
5109
  id: string;
5071
5110
  }
5072
5111
 
5112
+ export interface DeleteMenuV3DraftModifierGroupQuery {
5113
+ hard_delete?: boolean;
5114
+ }
5115
+
5073
5116
  export type DeleteMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
5074
5117
 
5075
5118
  export interface DeleteMenuV3DraftModifierGroupRequest
5076
5119
  extends BaseRequest,
5120
+ RequestQuery<DeleteMenuV3DraftModifierGroupQuery>,
5077
5121
  DeleteMenuV3DraftModifierGroupPath {}
5078
5122
 
5079
5123
  // GET /menu/v3/draft/modifier-groups
@@ -5375,11 +5419,16 @@ export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierPath {
5375
5419
  id: string;
5376
5420
  }
5377
5421
 
5422
+ export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierQuery {
5423
+ hard_delete?: boolean;
5424
+ }
5425
+
5378
5426
  export type DeleteMenuV3DraftModifierGroupRelationshipsModifierResponse =
5379
5427
  DraftModifierGroupToModifierRelationshipDTO;
5380
5428
 
5381
5429
  export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierRequest
5382
5430
  extends BaseRequest,
5431
+ RequestQuery<DeleteMenuV3DraftModifierGroupRelationshipsModifierQuery>,
5383
5432
  DeleteMenuV3DraftModifierGroupRelationshipsModifierPath {}
5384
5433
 
5385
5434
  // GET /menu/v3/draft/modifier-group/relationships/modifiers
@@ -5556,7 +5605,7 @@ export interface PostMenuV3DraftModifierBody {
5556
5605
  description?: string;
5557
5606
  price: number;
5558
5607
  calories?: number;
5559
- tax_tags?: Record<string, any>[];
5608
+ tax_tags?: string[];
5560
5609
  is_active?: boolean;
5561
5610
  posid?: string;
5562
5611
  reporting: ReportingMetadataDTO;
@@ -5625,7 +5674,7 @@ export interface PatchMenuV3DraftModifierBody {
5625
5674
  description?: string;
5626
5675
  price?: number;
5627
5676
  calories?: number;
5628
- tax_tags?: Record<string, any>[];
5677
+ tax_tags?: string[];
5629
5678
  is_active?: boolean;
5630
5679
  posid?: string;
5631
5680
  reporting?: ReportingMetadataDTO;
@@ -5662,10 +5711,15 @@ export interface DeleteMenuV3DraftModifierPath {
5662
5711
  id: string;
5663
5712
  }
5664
5713
 
5714
+ export interface DeleteMenuV3DraftModifierQuery {
5715
+ hard_delete?: boolean;
5716
+ }
5717
+
5665
5718
  export type DeleteMenuV3DraftModifierResponse = DraftModifierDTO;
5666
5719
 
5667
5720
  export interface DeleteMenuV3DraftModifierRequest
5668
5721
  extends BaseRequest,
5722
+ RequestQuery<DeleteMenuV3DraftModifierQuery>,
5669
5723
  DeleteMenuV3DraftModifierPath {}
5670
5724
 
5671
5725
  // GET /menu/v3/draft/modifiers
@@ -5713,7 +5767,7 @@ export type PostMenuV3DraftModifiersBody = {
5713
5767
  description?: string;
5714
5768
  price: number;
5715
5769
  calories?: number;
5716
- tax_tags?: Record<string, any>[];
5770
+ tax_tags?: string[];
5717
5771
  is_active?: boolean;
5718
5772
  posid?: string;
5719
5773
  reporting: ReportingMetadataDTO;
@@ -5770,7 +5824,7 @@ export interface GetMenuV3DraftModifiersCountRequest
5770
5824
  // PATCH /menu/v3/draft/modifiers/bulk-update
5771
5825
 
5772
5826
  export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5773
- id_list: Record<string, any>[];
5827
+ id_list: string[];
5774
5828
  parent?: DraftModifierDTO;
5775
5829
  children?: DraftModifierDTO[];
5776
5830
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
@@ -5781,7 +5835,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5781
5835
  description?: string;
5782
5836
  price?: number;
5783
5837
  calories?: number;
5784
- tax_tags?: Record<string, any>[];
5838
+ tax_tags?: string[];
5785
5839
  is_active?: boolean;
5786
5840
  posid?: string;
5787
5841
  reporting?: ReportingMetadataDTO;
@@ -30,6 +30,8 @@ export interface CreateOrder {
30
30
  meta?: {
31
31
  // which ui the order was placed on
32
32
  source?: "web" | "mobile";
33
+ // Override for meta.active for testing purposes
34
+ active_override?: boolean;
33
35
  [index: string]: any;
34
36
  };
35
37
  //@deprecated
@@ -195,6 +197,8 @@ export interface Order {
195
197
  };
196
198
  // Indicate whether the order is active or inactive
197
199
  active?: boolean;
200
+ // Override for meta.active for testing purposes
201
+ active_override?: boolean;
198
202
  // Delivery details
199
203
  delivery?: {
200
204
  // provider