@compassdigital/sdk.typescript 4.631.0 → 4.632.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.631.0",
3
+ "version": "4.632.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -1065,6 +1065,7 @@ import {
1065
1065
  PostMenuV4StationsMenusFetchResponse,
1066
1066
  PostMenuV4StationItemsSearchBody,
1067
1067
  PostMenuV4StationItemsSearchResponse,
1068
+ GetMenuV4MenuGraphResponse,
1068
1069
  GetMenuV3PingResponse,
1069
1070
  GetMenuV3HealthResponse,
1070
1071
  } from './interface/menu';
@@ -12443,6 +12444,26 @@ export class ServiceClient extends BaseServiceClient {
12443
12444
  );
12444
12445
  }
12445
12446
 
12447
+ /**
12448
+ * GET /menu/v4/menu-graph/{menu_id}
12449
+ *
12450
+ * @param menu_id
12451
+ * @param options - additional request options
12452
+ */
12453
+ get_menu_v4_menu_graph(
12454
+ menu_id: string,
12455
+ options?: RequestOptions,
12456
+ ): ResponsePromise<GetMenuV4MenuGraphResponse> {
12457
+ return this.request(
12458
+ 'menu',
12459
+ '/menu/v4/menu-graph/{menu_id}',
12460
+ 'GET',
12461
+ `/menu/v4/menu-graph/${menu_id}`,
12462
+ null,
12463
+ options,
12464
+ );
12465
+ }
12466
+
12446
12467
  /**
12447
12468
  * GET /menu/v3/ping
12448
12469
  *
@@ -11389,6 +11389,27 @@ export interface PostMenuV4StationItemsSearchRequest extends BaseRequest {
11389
11389
  body: PostMenuV4StationItemsSearchBody;
11390
11390
  }
11391
11391
 
11392
+ // GET /menu/v4/menu-graph/{menu_id}
11393
+
11394
+ export interface GetMenuV4MenuGraphPath {
11395
+ menu_id: string;
11396
+ }
11397
+
11398
+ export interface GetMenuV4MenuGraphResponse {
11399
+ menu_id: string;
11400
+ brand_id: string;
11401
+ revision: string;
11402
+ updated_at: string;
11403
+ menu?: Record<string, any>;
11404
+ categories?: Record<string, any>[];
11405
+ items?: Record<string, any>[];
11406
+ modifier_groups?: Record<string, any>[];
11407
+ modifiers?: Record<string, any>[];
11408
+ [index: string]: any;
11409
+ }
11410
+
11411
+ export interface GetMenuV4MenuGraphRequest extends BaseRequest, GetMenuV4MenuGraphPath {}
11412
+
11392
11413
  // GET /menu/v3/ping
11393
11414
 
11394
11415
  export interface GetMenuV3PingResponse {