@compassdigital/sdk.typescript 4.802.0 → 4.803.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 +9 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -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/src/index.ts +24 -0
- package/src/interface/menu.ts +24 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1113,6 +1113,8 @@ import {
|
|
|
1113
1113
|
PostMenuV4StationItemsSearchBody,
|
|
1114
1114
|
PostMenuV4StationItemsSearchResponse,
|
|
1115
1115
|
GetMenuV4MenuGraphResponse,
|
|
1116
|
+
PostMenuV4GlobalMenuGroupCloneBody,
|
|
1117
|
+
PostMenuV4GlobalMenuGroupCloneResponse,
|
|
1116
1118
|
GetMenuV3PingResponse,
|
|
1117
1119
|
GetMenuV3HealthResponse,
|
|
1118
1120
|
} from './interface/menu';
|
|
@@ -13234,6 +13236,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
13234
13236
|
);
|
|
13235
13237
|
}
|
|
13236
13238
|
|
|
13239
|
+
/**
|
|
13240
|
+
* POST /menu/v4/global-menu-group/{id}/clone
|
|
13241
|
+
*
|
|
13242
|
+
* @param id
|
|
13243
|
+
* @param body
|
|
13244
|
+
* @param options - additional request options
|
|
13245
|
+
*/
|
|
13246
|
+
post_menu_v4_global_menu_group_clone(
|
|
13247
|
+
id: string,
|
|
13248
|
+
body: PostMenuV4GlobalMenuGroupCloneBody,
|
|
13249
|
+
options?: RequestOptions,
|
|
13250
|
+
): ResponsePromise<PostMenuV4GlobalMenuGroupCloneResponse> {
|
|
13251
|
+
return this.request(
|
|
13252
|
+
'menu',
|
|
13253
|
+
'/menu/v4/global-menu-group/{id}/clone',
|
|
13254
|
+
'POST',
|
|
13255
|
+
`/menu/v4/global-menu-group/${id}/clone`,
|
|
13256
|
+
body,
|
|
13257
|
+
options,
|
|
13258
|
+
);
|
|
13259
|
+
}
|
|
13260
|
+
|
|
13237
13261
|
/**
|
|
13238
13262
|
* GET /menu/v3/ping
|
|
13239
13263
|
*
|
package/src/interface/menu.ts
CHANGED
|
@@ -11631,6 +11631,30 @@ export interface GetMenuV4MenuGraphResponse {
|
|
|
11631
11631
|
|
|
11632
11632
|
export interface GetMenuV4MenuGraphRequest extends BaseRequest, GetMenuV4MenuGraphPath {}
|
|
11633
11633
|
|
|
11634
|
+
// POST /menu/v4/global-menu-group/{id}/clone
|
|
11635
|
+
|
|
11636
|
+
export interface PostMenuV4GlobalMenuGroupClonePath {
|
|
11637
|
+
id: string;
|
|
11638
|
+
}
|
|
11639
|
+
|
|
11640
|
+
export interface PostMenuV4GlobalMenuGroupCloneBody {
|
|
11641
|
+
name: string;
|
|
11642
|
+
posid_segment: string;
|
|
11643
|
+
[index: string]: any;
|
|
11644
|
+
}
|
|
11645
|
+
|
|
11646
|
+
export interface PostMenuV4GlobalMenuGroupCloneResponse {
|
|
11647
|
+
status?: string;
|
|
11648
|
+
process_id?: string;
|
|
11649
|
+
new_global_menu_group_id?: string;
|
|
11650
|
+
}
|
|
11651
|
+
|
|
11652
|
+
export interface PostMenuV4GlobalMenuGroupCloneRequest
|
|
11653
|
+
extends BaseRequest,
|
|
11654
|
+
PostMenuV4GlobalMenuGroupClonePath {
|
|
11655
|
+
body: PostMenuV4GlobalMenuGroupCloneBody;
|
|
11656
|
+
}
|
|
11657
|
+
|
|
11634
11658
|
// GET /menu/v3/ping
|
|
11635
11659
|
|
|
11636
11660
|
export interface GetMenuV3PingResponse {
|