@compassdigital/sdk.typescript 4.629.0 → 4.630.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.629.0",
3
+ "version": "4.630.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -909,6 +909,8 @@ import {
909
909
  GetMenuV3MenuworksResponse,
910
910
  GetMenuV3MenuworksBusinessUnitsResponse,
911
911
  GetMenuV3MenuworksBusinessUnitsMenuCollectionsResponse,
912
+ GetMenuV3MenuworksBusinessUnitsMenuBoardQuery,
913
+ GetMenuV3MenuworksBusinessUnitsMenuBoardResponse,
912
914
  GetMenuV3MenuworksBusinessUnitsProductsQuery,
913
915
  GetMenuV3MenuworksBusinessUnitsProductsResponse,
914
916
  PostMenuV3MenuworksBusinessUnitsProductsSyncResponse,
@@ -10655,6 +10657,28 @@ export class ServiceClient extends BaseServiceClient {
10655
10657
  );
10656
10658
  }
10657
10659
 
10660
+ /**
10661
+ * GET /menu/v3/menuworks/business_units/{unit_id}/menu_board
10662
+ *
10663
+ * @param unit_id
10664
+ * @param options - additional request options
10665
+ */
10666
+ get_menu_v3_menuworks_business_units_menu_board(
10667
+ unit_id: string,
10668
+ options?: {
10669
+ query?: GetMenuV3MenuworksBusinessUnitsMenuBoardQuery;
10670
+ } & RequestOptions,
10671
+ ): ResponsePromise<GetMenuV3MenuworksBusinessUnitsMenuBoardResponse> {
10672
+ return this.request(
10673
+ 'menu',
10674
+ '/menu/v3/menuworks/business_units/{unit_id}/menu_board',
10675
+ 'GET',
10676
+ `/menu/v3/menuworks/business_units/${unit_id}/menu_board`,
10677
+ null,
10678
+ options,
10679
+ );
10680
+ }
10681
+
10658
10682
  /**
10659
10683
  * GET /menu/v3/menuworks/business_units/{unit_id}/products
10660
10684
  *
@@ -1957,6 +1957,14 @@ export interface MenuWorksMenuCollectionItemDTO {
1957
1957
  [index: string]: any;
1958
1958
  }
1959
1959
 
1960
+ export interface MenuWorksMenuBoardItemDTO {
1961
+ mrn?: string;
1962
+ name?: string;
1963
+ price?: number;
1964
+ description?: string;
1965
+ [index: string]: any;
1966
+ }
1967
+
1960
1968
  export interface MenuWorksProductDTO {
1961
1969
  mrn: string;
1962
1970
  product_type?: string;
@@ -7894,6 +7902,29 @@ export interface GetMenuV3MenuworksBusinessUnitsMenuCollectionsRequest
7894
7902
  extends BaseRequest,
7895
7903
  GetMenuV3MenuworksBusinessUnitsMenuCollectionsPath {}
7896
7904
 
7905
+ // GET /menu/v3/menuworks/business_units/{unit_id}/menu_board
7906
+
7907
+ export interface GetMenuV3MenuworksBusinessUnitsMenuBoardPath {
7908
+ unit_id: string;
7909
+ }
7910
+
7911
+ export interface GetMenuV3MenuworksBusinessUnitsMenuBoardQuery {
7912
+ menu_collection_id?: number;
7913
+ menu_collection_start_date?: string;
7914
+ meal_period_id?: number;
7915
+ station_id?: number;
7916
+ }
7917
+
7918
+ export interface GetMenuV3MenuworksBusinessUnitsMenuBoardResponse {
7919
+ menu_items: MenuWorksMenuBoardItemDTO[];
7920
+ [index: string]: any;
7921
+ }
7922
+
7923
+ export interface GetMenuV3MenuworksBusinessUnitsMenuBoardRequest
7924
+ extends BaseRequest,
7925
+ RequestQuery<GetMenuV3MenuworksBusinessUnitsMenuBoardQuery>,
7926
+ GetMenuV3MenuworksBusinessUnitsMenuBoardPath {}
7927
+
7897
7928
  // GET /menu/v3/menuworks/business_units/{unit_id}/products
7898
7929
 
7899
7930
  export interface GetMenuV3MenuworksBusinessUnitsProductsPath {