@compassdigital/sdk.typescript 4.346.0 → 4.347.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.346.0",
3
+ "version": "4.347.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -1043,6 +1043,8 @@ import {
1043
1043
  PostMenuV4UnscheduleMenuResponse,
1044
1044
  GetMenuV4MenuQuery,
1045
1045
  GetMenuV4MenuResponse,
1046
+ GetMenuV4SizeQuery,
1047
+ GetMenuV4SizeResponse,
1046
1048
  GetMenuV4CategoryQuery,
1047
1049
  GetMenuV4CategoryResponse,
1048
1050
  PostMenuV4CategoryAttachmentQuery,
@@ -11645,6 +11647,28 @@ export class ServiceClient extends BaseServiceClient {
11645
11647
  );
11646
11648
  }
11647
11649
 
11650
+ /**
11651
+ * GET /menu/v4/{id}/size
11652
+ *
11653
+ * @param id
11654
+ * @param options - additional request options
11655
+ */
11656
+ get_menu_v4_size(
11657
+ id: string,
11658
+ options?: {
11659
+ query?: GetMenuV4SizeQuery;
11660
+ } & RequestOptions,
11661
+ ): ResponsePromise<GetMenuV4SizeResponse> {
11662
+ return this.request(
11663
+ 'menu',
11664
+ '/menu/v4/{id}/size',
11665
+ 'GET',
11666
+ `/menu/v4/${id}/size`,
11667
+ null,
11668
+ options,
11669
+ );
11670
+ }
11671
+
11648
11672
  /**
11649
11673
  * GET /menu/v4/category/{id}
11650
11674
  *
@@ -2023,6 +2023,13 @@ export interface PartialModifierDTO {
2023
2023
  [index: string]: any;
2024
2024
  }
2025
2025
 
2026
+ export interface MenuSizeDTO {
2027
+ format: string;
2028
+ raw: number;
2029
+ compressed: number;
2030
+ [index: string]: any;
2031
+ }
2032
+
2026
2033
  export interface HealthDependencyDTO {
2027
2034
  name: string;
2028
2035
  status: string;
@@ -10661,6 +10668,30 @@ export interface GetMenuV4MenuRequest
10661
10668
  RequestQuery<GetMenuV4MenuQuery>,
10662
10669
  GetMenuV4MenuPath {}
10663
10670
 
10671
+ // GET /menu/v4/{id}/size
10672
+
10673
+ export interface GetMenuV4SizePath {
10674
+ id: string;
10675
+ }
10676
+
10677
+ export interface GetMenuV4SizeQuery {
10678
+ with_parent?: boolean;
10679
+ // Graphql query string
10680
+ _query?: string;
10681
+ }
10682
+
10683
+ export interface GetMenuV4SizeResponse {
10684
+ id: string;
10685
+ name: string;
10686
+ size: MenuSizeDTO;
10687
+ [index: string]: any;
10688
+ }
10689
+
10690
+ export interface GetMenuV4SizeRequest
10691
+ extends BaseRequest,
10692
+ RequestQuery<GetMenuV4SizeQuery>,
10693
+ GetMenuV4SizePath {}
10694
+
10664
10695
  // GET /menu/v4/category/{id}
10665
10696
 
10666
10697
  export interface GetMenuV4CategoryPath {