@compassdigital/sdk.typescript 4.622.0 → 4.623.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/lib/index.d.ts +8 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +14 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +21 -0
- package/src/interface/menu.ts +21 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -908,6 +908,7 @@ import {
|
|
|
908
908
|
GetMenuV3MenuworksQuery,
|
|
909
909
|
GetMenuV3MenuworksResponse,
|
|
910
910
|
GetMenuV3MenuworksBusinessUnitsResponse,
|
|
911
|
+
GetMenuV3MenuworksBusinessUnitsMenuTemplatesResponse,
|
|
911
912
|
GetMenuV3MenuworksBusinessUnitsProductsQuery,
|
|
912
913
|
GetMenuV3MenuworksBusinessUnitsProductsResponse,
|
|
913
914
|
PostMenuV3MenuworksBusinessUnitsProductsSyncResponse,
|
|
@@ -10632,6 +10633,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10632
10633
|
);
|
|
10633
10634
|
}
|
|
10634
10635
|
|
|
10636
|
+
/**
|
|
10637
|
+
* GET /menu/v3/menuworks/business_units/{unit_id}/menu_templates
|
|
10638
|
+
*
|
|
10639
|
+
* @param unit_id
|
|
10640
|
+
* @param options - additional request options
|
|
10641
|
+
*/
|
|
10642
|
+
get_menu_v3_menuworks_business_units_menu_templates(
|
|
10643
|
+
unit_id: string,
|
|
10644
|
+
options?: RequestOptions,
|
|
10645
|
+
): ResponsePromise<GetMenuV3MenuworksBusinessUnitsMenuTemplatesResponse> {
|
|
10646
|
+
return this.request(
|
|
10647
|
+
'menu',
|
|
10648
|
+
'/menu/v3/menuworks/business_units/{unit_id}/menu_templates',
|
|
10649
|
+
'GET',
|
|
10650
|
+
`/menu/v3/menuworks/business_units/${unit_id}/menu_templates`,
|
|
10651
|
+
null,
|
|
10652
|
+
options,
|
|
10653
|
+
);
|
|
10654
|
+
}
|
|
10655
|
+
|
|
10635
10656
|
/**
|
|
10636
10657
|
* GET /menu/v3/menuworks/business_units/{unit_id}/products
|
|
10637
10658
|
*
|
package/src/interface/menu.ts
CHANGED
|
@@ -1951,6 +1951,12 @@ export interface BusinessUnitDTO {
|
|
|
1951
1951
|
[index: string]: any;
|
|
1952
1952
|
}
|
|
1953
1953
|
|
|
1954
|
+
export interface MenuWorksMenuTemplateCollectionItemDTO {
|
|
1955
|
+
menu_collection_id: number;
|
|
1956
|
+
menu_collection_name: string;
|
|
1957
|
+
[index: string]: any;
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1954
1960
|
export interface MenuWorksProductDTO {
|
|
1955
1961
|
mrn: string;
|
|
1956
1962
|
product_type?: string;
|
|
@@ -7873,6 +7879,21 @@ export interface GetMenuV3MenuworksBusinessUnitsResponse {
|
|
|
7873
7879
|
|
|
7874
7880
|
export interface GetMenuV3MenuworksBusinessUnitsRequest extends BaseRequest {}
|
|
7875
7881
|
|
|
7882
|
+
// GET /menu/v3/menuworks/business_units/{unit_id}/menu_templates
|
|
7883
|
+
|
|
7884
|
+
export interface GetMenuV3MenuworksBusinessUnitsMenuTemplatesPath {
|
|
7885
|
+
unit_id: string;
|
|
7886
|
+
}
|
|
7887
|
+
|
|
7888
|
+
export interface GetMenuV3MenuworksBusinessUnitsMenuTemplatesResponse {
|
|
7889
|
+
results: MenuWorksMenuTemplateCollectionItemDTO[];
|
|
7890
|
+
[index: string]: any;
|
|
7891
|
+
}
|
|
7892
|
+
|
|
7893
|
+
export interface GetMenuV3MenuworksBusinessUnitsMenuTemplatesRequest
|
|
7894
|
+
extends BaseRequest,
|
|
7895
|
+
GetMenuV3MenuworksBusinessUnitsMenuTemplatesPath {}
|
|
7896
|
+
|
|
7876
7897
|
// GET /menu/v3/menuworks/business_units/{unit_id}/products
|
|
7877
7898
|
|
|
7878
7899
|
export interface GetMenuV3MenuworksBusinessUnitsProductsPath {
|