@compassdigital/sdk.typescript 4.274.0 → 4.275.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.274.0",
3
+ "version": "4.275.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
@@ -1899,6 +1899,53 @@ export interface CategoryItemRelationshipDTO {
1899
1899
  [index: string]: any;
1900
1900
  }
1901
1901
 
1902
+ export interface PartialItemDTO {
1903
+ base_item_id?: string;
1904
+ is_published?: boolean;
1905
+ parent?: DraftItemDTO;
1906
+ children?: DraftItemDTO[];
1907
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1908
+ cpg_item?: UniversalItemDTO;
1909
+ stocks?: StockDTO[];
1910
+ parent_id?: string;
1911
+ name?: string;
1912
+ name_on_receipt?: string;
1913
+ name_on_kds?: string;
1914
+ name_on_pos?: string;
1915
+ label?: string;
1916
+ description?: string;
1917
+ reporting?: ReportingMetadataDTO;
1918
+ price?: number;
1919
+ barcode?: string;
1920
+ calories?: number;
1921
+ meal_value?: number;
1922
+ is_active?: boolean;
1923
+ posid?: string;
1924
+ tax_tags?: string[];
1925
+ brand_id?: string;
1926
+ line_route?: string;
1927
+ posid_segment?: number;
1928
+ menu_works?: MenuWorksDTO;
1929
+ is_out_of_stock?: boolean;
1930
+ tax_tag_code?: string;
1931
+ tags?: string[];
1932
+ is_featured?: boolean;
1933
+ tax_jwo_code?: string;
1934
+ unique_id?: number;
1935
+ cpg_item_id?: string;
1936
+ price_levels?: Record<string, any>;
1937
+ translation?: Record<string, any>;
1938
+ applied_diff_snapshot?: Record<string, any>;
1939
+ brand?: DraftBrandDTO;
1940
+ categories?: DraftCategoryToItemRelationshipDTO[];
1941
+ changes?: ItemChangeDTO[];
1942
+ vendor_metadata?: VendorMetadataDTO[];
1943
+ attachments?: FileAttachmentsDTO;
1944
+ weight?: WeightDTO;
1945
+ permissions?: Record<string, any>;
1946
+ [index: string]: any;
1947
+ }
1948
+
1902
1949
  export interface HealthDependencyDTO {
1903
1950
  name: string;
1904
1951
  status: string;
@@ -9086,49 +9133,8 @@ export interface PostMenuV4ItemDuplicatePath {
9086
9133
  }
9087
9134
 
9088
9135
  export interface PostMenuV4ItemDuplicateBody {
9089
- base_item_id?: string;
9090
- is_published?: boolean;
9091
- parent?: DraftItemDTO;
9092
- children?: DraftItemDTO[];
9093
- modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
9094
- cpg_item?: UniversalItemDTO;
9095
- stocks?: StockDTO[];
9096
- parent_id?: string;
9097
- name?: string;
9098
- name_on_receipt?: string;
9099
- name_on_kds?: string;
9100
- name_on_pos?: string;
9101
- label?: string;
9102
- description?: string;
9103
- reporting?: ReportingMetadataDTO;
9104
- price?: number;
9105
- barcode?: string;
9106
- calories?: number;
9107
- meal_value?: number;
9108
- is_active?: boolean;
9109
- posid?: string;
9110
- tax_tags?: string[];
9111
- brand_id?: string;
9112
- line_route?: string;
9113
- posid_segment?: number;
9114
- menu_works?: MenuWorksDTO;
9115
- is_out_of_stock?: boolean;
9116
- tax_tag_code?: string;
9117
- tags?: string[];
9118
- is_featured?: boolean;
9119
- tax_jwo_code?: string;
9120
- unique_id?: number;
9121
- cpg_item_id?: string;
9122
- price_levels?: Record<string, any>;
9123
- translation?: Record<string, any>;
9124
- applied_diff_snapshot?: Record<string, any>;
9125
- brand?: DraftBrandDTO;
9126
- categories?: DraftCategoryToItemRelationshipDTO[];
9127
- changes?: ItemChangeDTO[];
9128
- vendor_metadata?: VendorMetadataDTO[];
9129
- attachments?: FileAttachmentsDTO;
9130
- weight?: WeightDTO;
9131
- permissions?: Record<string, any>;
9136
+ category_ids?: string[];
9137
+ item?: PartialItemDTO;
9132
9138
  [index: string]: any;
9133
9139
  }
9134
9140