@compassdigital/sdk.typescript 4.629.0 → 4.631.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.631.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
  *
@@ -1954,6 +1954,33 @@ export interface BusinessUnitDTO {
1954
1954
  export interface MenuWorksMenuCollectionItemDTO {
1955
1955
  menu_collection_id: number;
1956
1956
  menu_collection_name: string;
1957
+ menu_collection_start_date?: string;
1958
+ menu_collection_end_date?: string;
1959
+ meal_periods: MenuWorksMenuCollectionMealPeriodDTO[];
1960
+ [index: string]: any;
1961
+ }
1962
+
1963
+ export interface MenuWorksMenuCollectionMealPeriodDTO {
1964
+ id: number;
1965
+ name: string;
1966
+ display_order?: number;
1967
+ stations: MenuWorksMenuCollectionStationDTO[];
1968
+ [index: string]: any;
1969
+ }
1970
+
1971
+ export interface MenuWorksMenuCollectionStationDTO {
1972
+ id: number;
1973
+ name: string;
1974
+ display_order?: number;
1975
+ is_main?: boolean;
1976
+ [index: string]: any;
1977
+ }
1978
+
1979
+ export interface MenuWorksMenuBoardItemDTO {
1980
+ mrn?: string;
1981
+ name?: string;
1982
+ price?: number;
1983
+ description?: string;
1957
1984
  [index: string]: any;
1958
1985
  }
1959
1986
 
@@ -7894,6 +7921,29 @@ export interface GetMenuV3MenuworksBusinessUnitsMenuCollectionsRequest
7894
7921
  extends BaseRequest,
7895
7922
  GetMenuV3MenuworksBusinessUnitsMenuCollectionsPath {}
7896
7923
 
7924
+ // GET /menu/v3/menuworks/business_units/{unit_id}/menu_board
7925
+
7926
+ export interface GetMenuV3MenuworksBusinessUnitsMenuBoardPath {
7927
+ unit_id: string;
7928
+ }
7929
+
7930
+ export interface GetMenuV3MenuworksBusinessUnitsMenuBoardQuery {
7931
+ menu_collection_id?: number;
7932
+ menu_collection_start_date?: string;
7933
+ meal_period_id?: number;
7934
+ station_id?: number;
7935
+ }
7936
+
7937
+ export interface GetMenuV3MenuworksBusinessUnitsMenuBoardResponse {
7938
+ menu_items: MenuWorksMenuBoardItemDTO[];
7939
+ [index: string]: any;
7940
+ }
7941
+
7942
+ export interface GetMenuV3MenuworksBusinessUnitsMenuBoardRequest
7943
+ extends BaseRequest,
7944
+ RequestQuery<GetMenuV3MenuworksBusinessUnitsMenuBoardQuery>,
7945
+ GetMenuV3MenuworksBusinessUnitsMenuBoardPath {}
7946
+
7897
7947
  // GET /menu/v3/menuworks/business_units/{unit_id}/products
7898
7948
 
7899
7949
  export interface GetMenuV3MenuworksBusinessUnitsProductsPath {