@compassdigital/sdk.typescript 4.527.0 → 4.528.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.
@@ -1725,6 +1725,28 @@ export interface BusinessUnitDTO {
1725
1725
  sector_name: string;
1726
1726
  [index: string]: any;
1727
1727
  }
1728
+ export interface MenuWorksProductDTO {
1729
+ mrn: string;
1730
+ product_type?: string;
1731
+ name?: string;
1732
+ short_name?: string;
1733
+ [index: string]: any;
1734
+ }
1735
+ export interface ProductsSyncStatusResponseDTO {
1736
+ status: string;
1737
+ items_ingested_count: number;
1738
+ total_available?: number;
1739
+ last_success_at?: string | string;
1740
+ last_failure_at?: string | string;
1741
+ started_at?: string | string;
1742
+ message?: string;
1743
+ [index: string]: any;
1744
+ }
1745
+ export interface ConflictErrorDTO {
1746
+ number: number;
1747
+ message: string;
1748
+ [index: string]: any;
1749
+ }
1728
1750
  export interface UniversalItemWithoutIdDTO {
1729
1751
  barcode: string;
1730
1752
  name: string;
@@ -5728,6 +5750,35 @@ export interface GetMenuV3MenuworksBusinessUnitsResponse {
5728
5750
  }
5729
5751
  export interface GetMenuV3MenuworksBusinessUnitsRequest extends BaseRequest {
5730
5752
  }
5753
+ export interface GetMenuV3MenuworksBusinessUnitsProductsPath {
5754
+ unit_id: string;
5755
+ }
5756
+ export interface GetMenuV3MenuworksBusinessUnitsProductsQuery {
5757
+ q?: string;
5758
+ limit?: number;
5759
+ page?: number;
5760
+ select?: string[];
5761
+ relationships?: string[];
5762
+ sort_by?: string;
5763
+ sort_order?: 'DESC' | 'ASC';
5764
+ soft_deleted?: 'include' | 'exclude' | 'only';
5765
+ }
5766
+ export interface GetMenuV3MenuworksBusinessUnitsProductsResponse {
5767
+ results: MenuWorksProductDTO[];
5768
+ sync_status?: ProductsSyncStatusResponseDTO;
5769
+ meta?: ListResponseMetadataDTO;
5770
+ [index: string]: any;
5771
+ }
5772
+ export interface GetMenuV3MenuworksBusinessUnitsProductsRequest extends BaseRequest, RequestQuery<GetMenuV3MenuworksBusinessUnitsProductsQuery>, GetMenuV3MenuworksBusinessUnitsProductsPath {
5773
+ }
5774
+ export interface PostMenuV3MenuworksBusinessUnitsProductsSyncPath {
5775
+ unit_id: string;
5776
+ }
5777
+ export interface PostMenuV3MenuworksBusinessUnitsProductsSyncResponse {
5778
+ triggered?: boolean;
5779
+ }
5780
+ export interface PostMenuV3MenuworksBusinessUnitsProductsSyncRequest extends BaseRequest, PostMenuV3MenuworksBusinessUnitsProductsSyncPath {
5781
+ }
5731
5782
  export interface GetMenuV3UniversalItemsQuery {
5732
5783
  filter?: string;
5733
5784
  select?: string[];