@compassdigital/sdk.typescript 4.681.0 → 4.683.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,8 +483,8 @@ export interface PublishedBrandDTO {
483
483
  posid_segment?: string;
484
484
  auto_push_to_local?: boolean;
485
485
  frictionless_partner?: string;
486
- meta?: Record<string, any>;
487
- supported_languages?: Record<string, any>;
486
+ meta?: BrandMeta;
487
+ supported_languages?: SupportedLanguages;
488
488
  archived_at?: string;
489
489
  version?: number;
490
490
  permissions?: Record<string, any>;
@@ -565,7 +565,7 @@ export interface FilterFieldDTO {
565
565
  $between?: string[];
566
566
  $not?: string;
567
567
  $in?: string[];
568
- $and?: Record<string, any>[];
568
+ $and?: FilterFieldDTO[];
569
569
  $array_contains?: string[];
570
570
  $contains?: string;
571
571
  }
@@ -630,10 +630,10 @@ export interface BrandChangeDTO {
630
630
  [index: string]: any;
631
631
  }
632
632
  export interface DraftMenuDTO {
633
- parent?: Record<string, any>;
634
- children?: Record<string, any>[];
633
+ parent?: DraftMenuDTO;
634
+ children?: DraftMenuDTO[];
635
635
  categories?: DraftCategoryDTO[];
636
- stocks?: Record<string, any>[];
636
+ stocks?: StockDTO[];
637
637
  station_id?: string;
638
638
  price_level_id?: string;
639
639
  id?: string;
@@ -649,8 +649,8 @@ export interface DraftMenuDTO {
649
649
  brand?: DraftBrandDTO;
650
650
  changes?: MenuChangeDTO[];
651
651
  vendor_metadata?: VendorMetadataDTO[];
652
- menu_category_items?: Record<string, any>[];
653
- attachments?: Record<string, any>;
652
+ menu_category_items?: MenuCategoryItemsDTO[];
653
+ attachments?: FileAttachmentsDTO;
654
654
  permissions?: Record<string, any>;
655
655
  [index: string]: any;
656
656
  }
@@ -658,8 +658,8 @@ export interface NameTranslation {
658
658
  name?: SupportedLanguages;
659
659
  }
660
660
  export interface DraftCategoryDTO {
661
- parent?: Record<string, any>;
662
- children?: Record<string, any>[];
661
+ parent?: DraftCategoryDTO;
662
+ children?: DraftCategoryDTO[];
663
663
  id?: string;
664
664
  created_at?: string;
665
665
  updated_at?: string;
@@ -671,22 +671,22 @@ export interface DraftCategoryDTO {
671
671
  is_active?: boolean;
672
672
  brand_id?: string;
673
673
  menu_id?: string;
674
- translation?: Record<string, any>;
674
+ translation?: NameTranslation;
675
675
  applied_diff_snapshot?: Record<string, any>;
676
676
  version?: number;
677
- menu?: Record<string, any>;
677
+ menu?: DraftMenuDTO;
678
678
  items?: DraftCategoryToItemRelationshipDTO[];
679
679
  brand?: DraftBrandDTO;
680
680
  changes?: CategoryChangeDTO[];
681
681
  vendor_metadata?: VendorMetadataDTO[];
682
- menu_category_items?: Record<string, any>[];
683
- attachments?: Record<string, any>;
682
+ menu_category_items?: MenuCategoryItemsDTO[];
683
+ attachments?: FileAttachmentsDTO;
684
684
  permissions?: Record<string, any>;
685
685
  [index: string]: any;
686
686
  }
687
687
  export interface DraftCategoryToItemRelationshipDTO {
688
- parent?: Record<string, any>;
689
- children?: Record<string, any>[];
688
+ parent?: DraftCategoryToItemRelationshipDTO;
689
+ children?: DraftCategoryToItemRelationshipDTO[];
690
690
  id?: string;
691
691
  created_at?: string;
692
692
  updated_at?: string;
@@ -698,7 +698,7 @@ export interface DraftCategoryToItemRelationshipDTO {
698
698
  sequence?: number;
699
699
  applied_diff_snapshot?: Record<string, any>;
700
700
  version?: number;
701
- category?: Record<string, any>;
701
+ category?: DraftCategoryDTO;
702
702
  item?: DraftItemDTO;
703
703
  brand?: DraftBrandDTO;
704
704
  changes?: CategoryToItemRelationshipChangeDTO[];
@@ -708,8 +708,8 @@ export interface DraftCategoryToItemRelationshipDTO {
708
708
  }
709
709
  export interface DraftItemDTO {
710
710
  is_published?: boolean;
711
- parent?: Record<string, any>;
712
- children?: Record<string, any>[];
711
+ parent?: DraftItemDTO;
712
+ children?: DraftItemDTO[];
713
713
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
714
714
  cpg_item?: UniversalItemDTO;
715
715
  stocks?: StockDTO[];
@@ -724,7 +724,7 @@ export interface DraftItemDTO {
724
724
  name_on_pos?: string;
725
725
  label?: string;
726
726
  description?: string;
727
- reporting?: Record<string, any>;
727
+ reporting?: ReportingMetadataDTO;
728
728
  price?: number;
729
729
  barcode?: string;
730
730
  calories?: number;
@@ -737,7 +737,7 @@ export interface DraftItemDTO {
737
737
  brand_id?: string;
738
738
  line_route?: string;
739
739
  posid_segment?: number;
740
- menu_works?: Record<string, any>;
740
+ menu_works?: MenuWorksDTO;
741
741
  is_out_of_stock?: boolean;
742
742
  tax_tag_code?: string;
743
743
  tags?: string[];
@@ -751,18 +751,18 @@ export interface DraftItemDTO {
751
751
  applied_diff_snapshot?: Record<string, any>;
752
752
  version?: number;
753
753
  brand?: DraftBrandDTO;
754
- categories?: Record<string, any>[];
754
+ categories?: DraftCategoryToItemRelationshipDTO[];
755
755
  changes?: ItemChangeDTO[];
756
756
  vendor_metadata?: VendorMetadataDTO[];
757
757
  menu_category_items?: MenuCategoryItemsDTO[];
758
- attachments?: Record<string, any>;
759
- weight?: Record<string, any>;
758
+ attachments?: FileAttachmentsDTO;
759
+ weight?: WeightDTO;
760
760
  permissions?: Record<string, any>;
761
761
  [index: string]: any;
762
762
  }
763
763
  export interface DraftItemToModifierGroupRelationshipDTO {
764
- parent?: Record<string, any>;
765
- children?: Record<string, any>[];
764
+ parent?: DraftItemToModifierGroupRelationshipDTO;
765
+ children?: DraftItemToModifierGroupRelationshipDTO[];
766
766
  id?: string;
767
767
  created_at?: string;
768
768
  updated_at?: string;
@@ -774,7 +774,7 @@ export interface DraftItemToModifierGroupRelationshipDTO {
774
774
  sequence?: number;
775
775
  applied_diff_snapshot?: Record<string, any>;
776
776
  version?: number;
777
- item?: Record<string, any>;
777
+ item?: DraftItemDTO;
778
778
  modifier_group?: DraftModifierGroupDTO;
779
779
  brand?: DraftBrandDTO;
780
780
  changes?: ItemToModifierGroupRelationshipChangeDTO[];
@@ -783,10 +783,10 @@ export interface DraftItemToModifierGroupRelationshipDTO {
783
783
  [index: string]: any;
784
784
  }
785
785
  export interface DraftModifierGroupDTO {
786
- parent?: Record<string, any>;
787
- children?: Record<string, any>[];
786
+ parent?: DraftModifierGroupDTO;
787
+ children?: DraftModifierGroupDTO[];
788
788
  modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
789
- items?: Record<string, any>[];
789
+ items?: DraftItemToModifierGroupRelationshipDTO[];
790
790
  id?: string;
791
791
  created_at?: string;
792
792
  updated_at?: string;
@@ -803,7 +803,7 @@ export interface DraftModifierGroupDTO {
803
803
  sizing?: string;
804
804
  is_out_of_stock?: boolean;
805
805
  is_incremental?: boolean;
806
- translation?: Record<string, any>;
806
+ translation?: NameTranslation;
807
807
  applied_diff_snapshot?: Record<string, any>;
808
808
  version?: number;
809
809
  brand?: DraftBrandDTO;
@@ -813,8 +813,8 @@ export interface DraftModifierGroupDTO {
813
813
  [index: string]: any;
814
814
  }
815
815
  export interface DraftModifierGroupToModifierRelationshipDTO {
816
- parent?: Record<string, any>;
817
- children?: Record<string, any>[];
816
+ parent?: DraftModifierGroupToModifierRelationshipDTO;
817
+ children?: DraftModifierGroupToModifierRelationshipDTO[];
818
818
  id?: string;
819
819
  created_at?: string;
820
820
  updated_at?: string;
@@ -827,7 +827,7 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
827
827
  applied_diff_snapshot?: Record<string, any>;
828
828
  version?: number;
829
829
  modifier?: DraftModifierDTO;
830
- modifier_group?: Record<string, any>;
830
+ modifier_group?: DraftModifierGroupDTO;
831
831
  brand?: DraftBrandDTO;
832
832
  changes?: ModifierGroupToModifierRelationshipChangeDTO[];
833
833
  vendor_metadata?: VendorMetadataDTO[];
@@ -835,9 +835,9 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
835
835
  [index: string]: any;
836
836
  }
837
837
  export interface DraftModifierDTO {
838
- parent?: Record<string, any>;
839
- children?: Record<string, any>[];
840
- modifier_groups?: Record<string, any>[];
838
+ parent?: DraftModifierDTO;
839
+ children?: DraftModifierDTO[];
840
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
841
841
  id?: string;
842
842
  created_at?: string;
843
843
  updated_at?: string;
@@ -892,7 +892,7 @@ export interface ModifierChangeDTO {
892
892
  delete?: Record<string, any>;
893
893
  snapshot_entity_id?: string;
894
894
  version?: number;
895
- snapshot_entity?: Record<string, any>;
895
+ snapshot_entity?: DraftModifierDTO;
896
896
  permissions?: Record<string, any>;
897
897
  [index: string]: any;
898
898
  }
@@ -938,16 +938,16 @@ export interface AllergenDTO {
938
938
  }
939
939
  export interface NutritionDTO {
940
940
  calories?: NutritionValueDTO;
941
- total_fat?: Record<string, any>;
942
- saturated_fat?: Record<string, any>;
943
- total_carbohydrate?: Record<string, any>;
944
- total_sugars?: Record<string, any>;
945
- protein?: Record<string, any>;
946
- dietary_fiber?: Record<string, any>;
947
- sodium?: Record<string, any>;
948
- trans_fat?: Record<string, any>;
949
- cholesterol?: Record<string, any>;
950
- added_sugars?: Record<string, any>;
941
+ total_fat?: NutritionValueDTO;
942
+ saturated_fat?: NutritionValueDTO;
943
+ total_carbohydrate?: NutritionValueDTO;
944
+ total_sugars?: NutritionValueDTO;
945
+ protein?: NutritionValueDTO;
946
+ dietary_fiber?: NutritionValueDTO;
947
+ sodium?: NutritionValueDTO;
948
+ trans_fat?: NutritionValueDTO;
949
+ cholesterol?: NutritionValueDTO;
950
+ added_sugars?: NutritionValueDTO;
951
951
  [index: string]: any;
952
952
  }
953
953
  export interface NutritionValueDTO {
@@ -971,7 +971,7 @@ export interface ModifierGroupToModifierRelationshipChangeDTO {
971
971
  delete?: Record<string, any>;
972
972
  snapshot_entity_id?: string;
973
973
  version?: number;
974
- snapshot_entity?: Record<string, any>;
974
+ snapshot_entity?: DraftModifierGroupToModifierRelationshipDTO;
975
975
  permissions?: Record<string, any>;
976
976
  [index: string]: any;
977
977
  }
@@ -984,7 +984,7 @@ export interface ModifierGroupChangeDTO {
984
984
  delete?: Record<string, any>;
985
985
  snapshot_entity_id?: string;
986
986
  version?: number;
987
- snapshot_entity?: Record<string, any>;
987
+ snapshot_entity?: DraftModifierGroupDTO;
988
988
  permissions?: Record<string, any>;
989
989
  [index: string]: any;
990
990
  }
@@ -997,7 +997,7 @@ export interface ItemToModifierGroupRelationshipChangeDTO {
997
997
  delete?: Record<string, any>;
998
998
  snapshot_entity_id?: string;
999
999
  version?: number;
1000
- snapshot_entity?: Record<string, any>;
1000
+ snapshot_entity?: DraftItemToModifierGroupRelationshipDTO;
1001
1001
  permissions?: Record<string, any>;
1002
1002
  [index: string]: any;
1003
1003
  }
@@ -1010,7 +1010,7 @@ export interface ItemChangeDTO {
1010
1010
  delete?: Record<string, any>;
1011
1011
  snapshot_entity_id?: string;
1012
1012
  version?: number;
1013
- snapshot_entity?: Record<string, any>;
1013
+ snapshot_entity?: DraftItemDTO;
1014
1014
  permissions?: Record<string, any>;
1015
1015
  [index: string]: any;
1016
1016
  }
@@ -1042,7 +1042,7 @@ export interface StockDTO {
1042
1042
  deleted_at?: string;
1043
1043
  business_unit_id?: string;
1044
1044
  version?: number;
1045
- menu?: Record<string, any>;
1045
+ menu?: DraftMenuDTO;
1046
1046
  brand?: DraftBrandDTO;
1047
1047
  permissions?: Record<string, any>;
1048
1048
  [index: string]: any;
@@ -1057,9 +1057,9 @@ export interface MenuCategoryItemsDTO {
1057
1057
  updated_at?: string;
1058
1058
  deleted_at?: string;
1059
1059
  version?: number;
1060
- item?: Record<string, any>;
1061
- menu?: Record<string, any>;
1062
- category?: Record<string, any>;
1060
+ item?: DraftItemDTO;
1061
+ menu?: DraftMenuDTO;
1062
+ category?: DraftCategoryDTO;
1063
1063
  brand?: DraftBrandDTO;
1064
1064
  permissions?: Record<string, any>;
1065
1065
  [index: string]: any;
@@ -1073,7 +1073,7 @@ export interface CategoryToItemRelationshipChangeDTO {
1073
1073
  delete?: Record<string, any>;
1074
1074
  snapshot_entity_id?: string;
1075
1075
  version?: number;
1076
- snapshot_entity?: Record<string, any>;
1076
+ snapshot_entity?: DraftCategoryToItemRelationshipDTO;
1077
1077
  permissions?: Record<string, any>;
1078
1078
  [index: string]: any;
1079
1079
  }
@@ -1086,7 +1086,7 @@ export interface CategoryChangeDTO {
1086
1086
  delete?: Record<string, any>;
1087
1087
  snapshot_entity_id?: string;
1088
1088
  version?: number;
1089
- snapshot_entity?: Record<string, any>;
1089
+ snapshot_entity?: DraftCategoryDTO;
1090
1090
  permissions?: Record<string, any>;
1091
1091
  [index: string]: any;
1092
1092
  }
@@ -1099,7 +1099,7 @@ export interface MenuChangeDTO {
1099
1099
  delete?: Record<string, any>;
1100
1100
  snapshot_entity_id?: string;
1101
1101
  version?: number;
1102
- snapshot_entity?: Record<string, any>;
1102
+ snapshot_entity?: DraftMenuDTO;
1103
1103
  permissions?: Record<string, any>;
1104
1104
  [index: string]: any;
1105
1105
  }
@@ -1184,7 +1184,7 @@ export interface GlobalDiffDependencyDTO {
1184
1184
  deleted_at?: string;
1185
1185
  version?: number;
1186
1186
  depends_on?: GlobalDiffDTO;
1187
- is_depended_by?: Record<string, any>;
1187
+ is_depended_by?: GlobalDiffDTO;
1188
1188
  permissions?: Record<string, any>;
1189
1189
  [index: string]: any;
1190
1190
  }
@@ -1203,8 +1203,8 @@ export interface GlobalDiffDTO {
1203
1203
  global_snapshot?: Record<string, any>;
1204
1204
  brand_id?: string;
1205
1205
  version?: number;
1206
- depends_on?: Record<string, any>[];
1207
- is_depended_by?: Record<string, any>[];
1206
+ depends_on?: GlobalDiffDependencyDTO[];
1207
+ is_depended_by?: GlobalDiffDependencyDTO[];
1208
1208
  brand?: DraftBrandDTO;
1209
1209
  permissions?: Record<string, any>;
1210
1210
  [index: string]: any;
@@ -1215,7 +1215,7 @@ export interface DiffDTO {
1215
1215
  created_at?: string;
1216
1216
  updated_at?: string;
1217
1217
  deleted_at?: string;
1218
- child_nodes?: Record<string, any>[];
1218
+ child_nodes?: DiffDTO[];
1219
1219
  name?: string;
1220
1220
  entity_type?: string;
1221
1221
  local_id?: string;
@@ -1435,13 +1435,13 @@ export interface IsStockUpdate {
1435
1435
  }
1436
1436
  export interface ModifierGroupStockUpdate {
1437
1437
  id: string;
1438
- is?: Record<string, any>;
1438
+ is?: IsStockUpdate;
1439
1439
  items?: ModifierStockUpdate[];
1440
1440
  [index: string]: any;
1441
1441
  }
1442
1442
  export interface ModifierStockUpdate {
1443
1443
  id: string;
1444
- is?: Record<string, any>;
1444
+ is?: IsStockUpdate;
1445
1445
  [index: string]: any;
1446
1446
  }
1447
1447
  export interface V2MenuDateDTO {
@@ -1467,11 +1467,11 @@ export interface V2CategoryLabelDTO {
1467
1467
  }
1468
1468
  export interface V2ItemDTO {
1469
1469
  id?: string;
1470
- label?: Record<string, any>;
1471
- description?: Record<string, any>;
1470
+ label?: V2MenuLabelDTO;
1471
+ description?: V2MenuLabelDTO;
1472
1472
  price?: V2PriceDTO;
1473
1473
  meal_value?: number;
1474
- sale_price?: Record<string, any>;
1474
+ sale_price?: V2PriceDTO;
1475
1475
  unit?: number;
1476
1476
  ingredients?: Record<string, any>;
1477
1477
  amount_off_exclusions?: string[];
@@ -1481,12 +1481,12 @@ export interface V2ItemDTO {
1481
1481
  options?: V2ModifierGroupDTO[];
1482
1482
  required?: boolean;
1483
1483
  special?: boolean;
1484
- category?: Record<string, any>;
1484
+ category?: V2MenuLabelDTO;
1485
1485
  location?: string;
1486
1486
  sku?: number;
1487
1487
  item_number?: number;
1488
1488
  image?: V2ItemImageDTO;
1489
- weight?: Record<string, any>;
1489
+ weight?: V2AmountDTO;
1490
1490
  is_deleted?: boolean;
1491
1491
  is?: V2ItemIsDTO;
1492
1492
  }
@@ -1550,19 +1550,19 @@ export interface V2AmountDTO {
1550
1550
  }
1551
1551
  export interface V2ModifierGroupDTO {
1552
1552
  id?: string;
1553
- label?: Record<string, any>;
1553
+ label?: V2MenuLabelDTO;
1554
1554
  unique_name?: string;
1555
1555
  items?: V2ModifierDTO[];
1556
1556
  min?: number;
1557
1557
  max?: number;
1558
- is?: Record<string, any>;
1559
- meta?: Record<string, any>;
1558
+ is?: V2ModifierIsDTO;
1559
+ meta?: V2ModifierMetaDTO;
1560
1560
  }
1561
1561
  export interface V2ModifierDTO {
1562
1562
  id?: string;
1563
- label?: Record<string, any>;
1564
- price?: Record<string, any>;
1565
- weight?: Record<string, any>;
1563
+ label?: V2MenuLabelDTO;
1564
+ price?: V2PriceDTO;
1565
+ weight?: V2AmountDTO;
1566
1566
  sku?: string;
1567
1567
  nutrition?: V2ModifierNutritionDTO;
1568
1568
  certified?: V2CertifiedDTO;
@@ -1573,7 +1573,7 @@ export interface V2ModifierDTO {
1573
1573
  }
1574
1574
  export interface V2ModifierNutritionDTO {
1575
1575
  kcal?: number;
1576
- calories?: Record<string, any>;
1576
+ calories?: V2AmountDTO;
1577
1577
  }
1578
1578
  export interface V2CertifiedDTO {
1579
1579
  vegan?: boolean;
@@ -1584,7 +1584,7 @@ export interface V2ModifierSetsDTO {
1584
1584
  }
1585
1585
  export interface V2ModifierMetaDTO {
1586
1586
  sort_number?: number;
1587
- menu_sort_number?: Record<string, any>;
1587
+ menu_sort_number?: V2AmountDTO;
1588
1588
  }
1589
1589
  export interface V2ModifierIsDTO {
1590
1590
  disabled?: boolean;
@@ -1608,9 +1608,9 @@ export interface V2CategoryIsDTO {
1608
1608
  linked?: boolean;
1609
1609
  }
1610
1610
  export interface V2CategoryMetaDTO {
1611
- original_label?: Record<string, any>;
1611
+ original_label?: V2MenuLabelDTO;
1612
1612
  sort_number?: number;
1613
- menu_sort_number?: Record<string, any>;
1613
+ menu_sort_number?: V2AmountDTO;
1614
1614
  }
1615
1615
  export interface V2MenuIsDTO {
1616
1616
  disabled?: boolean;