@compassdigital/sdk.typescript 4.274.0 → 4.276.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.
@@ -1703,6 +1703,93 @@ export interface CategoryItemRelationshipDTO {
1703
1703
  permissions?: Record<string, any>;
1704
1704
  [index: string]: any;
1705
1705
  }
1706
+ export interface PartialItemDTO {
1707
+ base_item_id?: string;
1708
+ is_published?: boolean;
1709
+ parent?: DraftItemDTO;
1710
+ children?: DraftItemDTO[];
1711
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1712
+ cpg_item?: UniversalItemDTO;
1713
+ stocks?: StockDTO[];
1714
+ parent_id?: string;
1715
+ name?: string;
1716
+ name_on_receipt?: string;
1717
+ name_on_kds?: string;
1718
+ name_on_pos?: string;
1719
+ label?: string;
1720
+ description?: string;
1721
+ reporting?: ReportingMetadataDTO;
1722
+ price?: number;
1723
+ barcode?: string;
1724
+ calories?: number;
1725
+ meal_value?: number;
1726
+ is_active?: boolean;
1727
+ posid?: string;
1728
+ tax_tags?: string[];
1729
+ brand_id?: string;
1730
+ line_route?: string;
1731
+ posid_segment?: number;
1732
+ menu_works?: MenuWorksDTO;
1733
+ is_out_of_stock?: boolean;
1734
+ tax_tag_code?: string;
1735
+ tags?: string[];
1736
+ is_featured?: boolean;
1737
+ tax_jwo_code?: string;
1738
+ unique_id?: number;
1739
+ cpg_item_id?: string;
1740
+ price_levels?: Record<string, any>;
1741
+ translation?: Record<string, any>;
1742
+ applied_diff_snapshot?: Record<string, any>;
1743
+ brand?: DraftBrandDTO;
1744
+ categories?: DraftCategoryToItemRelationshipDTO[];
1745
+ changes?: ItemChangeDTO[];
1746
+ vendor_metadata?: VendorMetadataDTO[];
1747
+ attachments?: FileAttachmentsDTO;
1748
+ weight?: WeightDTO;
1749
+ permissions?: Record<string, any>;
1750
+ [index: string]: any;
1751
+ }
1752
+ export interface PartialModifierDTO {
1753
+ parent?: DraftModifierDTO;
1754
+ children?: DraftModifierDTO[];
1755
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1756
+ parent_id?: string;
1757
+ name?: string;
1758
+ name_on_receipt?: string;
1759
+ name_on_kds?: string;
1760
+ name_on_pos?: string;
1761
+ label?: string;
1762
+ description?: string;
1763
+ price?: number;
1764
+ calories?: number;
1765
+ tax_tags?: string[];
1766
+ is_active?: boolean;
1767
+ posid?: string;
1768
+ reporting?: ReportingMetadataDTO;
1769
+ posid_segment?: number;
1770
+ brand_id?: string;
1771
+ line_route?: string;
1772
+ menu_works?: MenuWorksDTO;
1773
+ is_out_of_stock?: boolean;
1774
+ price_for_none?: number;
1775
+ price_for_less?: number;
1776
+ price_for_more?: number;
1777
+ pre_surcharge?: number;
1778
+ post_surcharge?: number;
1779
+ tax_tag_code?: string;
1780
+ tags?: string[];
1781
+ unique_id?: number;
1782
+ price_levels?: Record<string, any>;
1783
+ translation?: Record<string, any>;
1784
+ applied_diff_snapshot?: Record<string, any>;
1785
+ brand?: DraftBrandDTO;
1786
+ changes?: ModifierChangeDTO[];
1787
+ vendor_metadata?: VendorMetadataDTO[];
1788
+ weight?: WeightDTO;
1789
+ attachments?: FileAttachmentsDTO;
1790
+ permissions?: Record<string, any>;
1791
+ [index: string]: any;
1792
+ }
1706
1793
  export interface HealthDependencyDTO {
1707
1794
  name: string;
1708
1795
  status: string;
@@ -6699,49 +6786,8 @@ export interface PostMenuV4ItemDuplicatePath {
6699
6786
  id: string;
6700
6787
  }
6701
6788
  export interface PostMenuV4ItemDuplicateBody {
6702
- base_item_id?: string;
6703
- is_published?: boolean;
6704
- parent?: DraftItemDTO;
6705
- children?: DraftItemDTO[];
6706
- modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
6707
- cpg_item?: UniversalItemDTO;
6708
- stocks?: StockDTO[];
6709
- parent_id?: string;
6710
- name?: string;
6711
- name_on_receipt?: string;
6712
- name_on_kds?: string;
6713
- name_on_pos?: string;
6714
- label?: string;
6715
- description?: string;
6716
- reporting?: ReportingMetadataDTO;
6717
- price?: number;
6718
- barcode?: string;
6719
- calories?: number;
6720
- meal_value?: number;
6721
- is_active?: boolean;
6722
- posid?: string;
6723
- tax_tags?: string[];
6724
- brand_id?: string;
6725
- line_route?: string;
6726
- posid_segment?: number;
6727
- menu_works?: MenuWorksDTO;
6728
- is_out_of_stock?: boolean;
6729
- tax_tag_code?: string;
6730
- tags?: string[];
6731
- is_featured?: boolean;
6732
- tax_jwo_code?: string;
6733
- unique_id?: number;
6734
- cpg_item_id?: string;
6735
- price_levels?: Record<string, any>;
6736
- translation?: Record<string, any>;
6737
- applied_diff_snapshot?: Record<string, any>;
6738
- brand?: DraftBrandDTO;
6739
- categories?: DraftCategoryToItemRelationshipDTO[];
6740
- changes?: ItemChangeDTO[];
6741
- vendor_metadata?: VendorMetadataDTO[];
6742
- attachments?: FileAttachmentsDTO;
6743
- weight?: WeightDTO;
6744
- permissions?: Record<string, any>;
6789
+ category_ids?: string[];
6790
+ item?: PartialItemDTO;
6745
6791
  [index: string]: any;
6746
6792
  }
6747
6793
  export interface PostMenuV4ItemDuplicateResponse {
@@ -7159,44 +7205,8 @@ export interface PostMenuV4ModifierDuplicatePath {
7159
7205
  id: string;
7160
7206
  }
7161
7207
  export interface PostMenuV4ModifierDuplicateBody {
7162
- parent?: DraftModifierDTO;
7163
- children?: DraftModifierDTO[];
7164
- modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
7165
- parent_id?: string;
7166
- name?: string;
7167
- name_on_receipt?: string;
7168
- name_on_kds?: string;
7169
- name_on_pos?: string;
7170
- label?: string;
7171
- description?: string;
7172
- price?: number;
7173
- calories?: number;
7174
- tax_tags?: string[];
7175
- is_active?: boolean;
7176
- posid?: string;
7177
- reporting?: ReportingMetadataDTO;
7178
- posid_segment?: number;
7179
- brand_id?: string;
7180
- line_route?: string;
7181
- menu_works?: MenuWorksDTO;
7182
- is_out_of_stock?: boolean;
7183
- price_for_none?: number;
7184
- price_for_less?: number;
7185
- price_for_more?: number;
7186
- pre_surcharge?: number;
7187
- post_surcharge?: number;
7188
- tax_tag_code?: string;
7189
- tags?: string[];
7190
- unique_id?: number;
7191
- price_levels?: Record<string, any>;
7192
- translation?: Record<string, any>;
7193
- applied_diff_snapshot?: Record<string, any>;
7194
- brand?: DraftBrandDTO;
7195
- changes?: ModifierChangeDTO[];
7196
- vendor_metadata?: VendorMetadataDTO[];
7197
- weight?: WeightDTO;
7198
- attachments?: FileAttachmentsDTO;
7199
- permissions?: Record<string, any>;
7208
+ modifier_group_ids?: string[];
7209
+ modifier?: PartialModifierDTO;
7200
7210
  [index: string]: any;
7201
7211
  }
7202
7212
  export interface PostMenuV4ModifierDuplicateResponse {