@compassdigital/sdk.typescript 4.686.0 → 4.687.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.686.0",
3
+ "version": "4.687.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/pipeline.yml CHANGED
@@ -2,7 +2,6 @@ name: npm-typescript-sdk
2
2
 
3
3
  flags:
4
4
  - DEPENDABOT
5
- - P4_V2_TOOLS
6
5
 
7
6
  test:
8
7
  commands:
package/src/index.ts CHANGED
@@ -941,6 +941,7 @@ import {
941
941
  PatchMenuV4BrandResponse,
942
942
  DeleteMenuV4BrandResponse,
943
943
  GetMenuV4BrandStatusesResponse,
944
+ GetMenuV4BrandParentResponse,
944
945
  PostMenuV4BrandAttachmentQuery,
945
946
  PostMenuV4BrandAttachmentResponse,
946
947
  PostMenuV4BrandMenuBody,
@@ -11046,6 +11047,26 @@ export class ServiceClient extends BaseServiceClient {
11046
11047
  );
11047
11048
  }
11048
11049
 
11050
+ /**
11051
+ * GET /menu/v4/brand/{id}/parent
11052
+ *
11053
+ * @param id
11054
+ * @param options - additional request options
11055
+ */
11056
+ get_menu_v4_brand_parent(
11057
+ id: string,
11058
+ options?: RequestOptions,
11059
+ ): ResponsePromise<GetMenuV4BrandParentResponse> {
11060
+ return this.request(
11061
+ 'menu',
11062
+ '/menu/v4/brand/{id}/parent',
11063
+ 'GET',
11064
+ `/menu/v4/brand/${id}/parent`,
11065
+ null,
11066
+ options,
11067
+ );
11068
+ }
11069
+
11049
11070
  /**
11050
11071
  * POST /menu/v4/brand/{id}/attachment/{name}
11051
11072
  *
@@ -8464,6 +8464,26 @@ export interface GetMenuV4BrandStatusesResponse {
8464
8464
 
8465
8465
  export interface GetMenuV4BrandStatusesRequest extends BaseRequest, GetMenuV4BrandStatusesPath {}
8466
8466
 
8467
+ // GET /menu/v4/brand/{id}/parent
8468
+
8469
+ export interface GetMenuV4BrandParentPath {
8470
+ id: string;
8471
+ }
8472
+
8473
+ export interface GetMenuV4BrandParentResponse {
8474
+ id: string;
8475
+ name: string;
8476
+ parent_id?: string;
8477
+ global_menu_group_id?: string;
8478
+ frictionless_partner?: string;
8479
+ meta?: BrandMeta;
8480
+ archived_at?: string;
8481
+ attachments?: FileAttachmentsDTO;
8482
+ [index: string]: any;
8483
+ }
8484
+
8485
+ export interface GetMenuV4BrandParentRequest extends BaseRequest, GetMenuV4BrandParentPath {}
8486
+
8467
8487
  // POST /menu/v4/brand/{id}/attachment/{name}
8468
8488
 
8469
8489
  export interface PostMenuV4BrandAttachmentPath {