@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/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 +16 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/pipeline.yml +0 -1
- package/src/index.ts +21 -0
- package/src/interface/menu.ts +20 -0
package/package.json
CHANGED
package/pipeline.yml
CHANGED
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
|
*
|
package/src/interface/menu.ts
CHANGED
|
@@ -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 {
|