@compassdigital/sdk.typescript 4.527.0 → 4.528.1-beta.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.
@@ -1937,6 +1937,31 @@ export interface BusinessUnitDTO {
1937
1937
  [index: string]: any;
1938
1938
  }
1939
1939
 
1940
+ export interface MenuWorksProductDTO {
1941
+ mrn: string;
1942
+ product_type?: string;
1943
+ name?: string;
1944
+ short_name?: string;
1945
+ [index: string]: any;
1946
+ }
1947
+
1948
+ export interface ProductsSyncStatusResponseDTO {
1949
+ status: string;
1950
+ items_ingested_count: number;
1951
+ total_available?: number;
1952
+ last_success_at?: string | string;
1953
+ last_failure_at?: string | string;
1954
+ started_at?: string | string;
1955
+ message?: string;
1956
+ [index: string]: any;
1957
+ }
1958
+
1959
+ export interface ConflictErrorDTO {
1960
+ number: number;
1961
+ message: string;
1962
+ [index: string]: any;
1963
+ }
1964
+
1940
1965
  export interface UniversalItemWithoutIdDTO {
1941
1966
  barcode: string;
1942
1967
  name: string;
@@ -7790,6 +7815,54 @@ export interface GetMenuV3MenuworksBusinessUnitsResponse {
7790
7815
 
7791
7816
  export interface GetMenuV3MenuworksBusinessUnitsRequest extends BaseRequest {}
7792
7817
 
7818
+ // GET /menu/v3/menuworks/business_units/{unit_id}/products
7819
+
7820
+ export interface GetMenuV3MenuworksBusinessUnitsProductsPath {
7821
+ unit_id: string;
7822
+ }
7823
+
7824
+ export interface GetMenuV3MenuworksBusinessUnitsProductsQuery {
7825
+ q?: string;
7826
+ // Number of records to load per page
7827
+ limit?: number;
7828
+ page?: number;
7829
+ // If specified, only the selected fields will be returned
7830
+ select?: string[];
7831
+ // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
7832
+ relationships?: string[];
7833
+ // A field to sort the results based on
7834
+ sort_by?: string;
7835
+ sort_order?: 'DESC' | 'ASC';
7836
+ // How soft deleted records should be shown in the list
7837
+ soft_deleted?: 'include' | 'exclude' | 'only';
7838
+ }
7839
+
7840
+ export interface GetMenuV3MenuworksBusinessUnitsProductsResponse {
7841
+ results: MenuWorksProductDTO[];
7842
+ sync_status?: ProductsSyncStatusResponseDTO;
7843
+ meta?: ListResponseMetadataDTO;
7844
+ [index: string]: any;
7845
+ }
7846
+
7847
+ export interface GetMenuV3MenuworksBusinessUnitsProductsRequest
7848
+ extends BaseRequest,
7849
+ RequestQuery<GetMenuV3MenuworksBusinessUnitsProductsQuery>,
7850
+ GetMenuV3MenuworksBusinessUnitsProductsPath {}
7851
+
7852
+ // POST /menu/v3/menuworks/business_units/{unit_id}/products/sync
7853
+
7854
+ export interface PostMenuV3MenuworksBusinessUnitsProductsSyncPath {
7855
+ unit_id: string;
7856
+ }
7857
+
7858
+ export interface PostMenuV3MenuworksBusinessUnitsProductsSyncResponse {
7859
+ triggered?: boolean;
7860
+ }
7861
+
7862
+ export interface PostMenuV3MenuworksBusinessUnitsProductsSyncRequest
7863
+ extends BaseRequest,
7864
+ PostMenuV3MenuworksBusinessUnitsProductsSyncPath {}
7865
+
7793
7866
  // GET /menu/v3/universal-items
7794
7867
 
7795
7868
  export interface GetMenuV3UniversalItemsQuery {