@compassdigital/sdk.typescript 4.279.0 → 4.280.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 +9 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +21 -0
- package/src/interface/menu.ts +15 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -654,6 +654,7 @@ import {
|
|
|
654
654
|
PostMenuV3DraftBrandImportResponse,
|
|
655
655
|
GetMenuV3DraftBrandVerifyPublishQuery,
|
|
656
656
|
GetMenuV3DraftBrandVerifyPublishResponse,
|
|
657
|
+
PostMenuV3DraftBrandArchiveResponse,
|
|
657
658
|
PostMenuV3BrandQuery,
|
|
658
659
|
PostMenuV3BrandBody,
|
|
659
660
|
PostMenuV3BrandResponse,
|
|
@@ -7231,6 +7232,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7231
7232
|
);
|
|
7232
7233
|
}
|
|
7233
7234
|
|
|
7235
|
+
/**
|
|
7236
|
+
* POST /menu/v3/draft/brand/{id}/archive
|
|
7237
|
+
*
|
|
7238
|
+
* @param id
|
|
7239
|
+
* @param options - additional request options
|
|
7240
|
+
*/
|
|
7241
|
+
post_menu_v3_draft_brand_archive(
|
|
7242
|
+
id: string,
|
|
7243
|
+
options?: RequestOptions,
|
|
7244
|
+
): ResponsePromise<PostMenuV3DraftBrandArchiveResponse> {
|
|
7245
|
+
return this.request(
|
|
7246
|
+
'menu',
|
|
7247
|
+
'/menu/v3/draft/brand/{id}/archive',
|
|
7248
|
+
'POST',
|
|
7249
|
+
`/menu/v3/draft/brand/${id}/archive`,
|
|
7250
|
+
null,
|
|
7251
|
+
options,
|
|
7252
|
+
);
|
|
7253
|
+
}
|
|
7254
|
+
|
|
7234
7255
|
/**
|
|
7235
7256
|
* POST /menu/v3/brand
|
|
7236
7257
|
*
|
package/src/interface/menu.ts
CHANGED
|
@@ -4028,6 +4028,21 @@ export interface GetMenuV3DraftBrandVerifyPublishRequest
|
|
|
4028
4028
|
RequestQuery<GetMenuV3DraftBrandVerifyPublishQuery>,
|
|
4029
4029
|
GetMenuV3DraftBrandVerifyPublishPath {}
|
|
4030
4030
|
|
|
4031
|
+
// POST /menu/v3/draft/brand/{id}/archive
|
|
4032
|
+
|
|
4033
|
+
export interface PostMenuV3DraftBrandArchivePath {
|
|
4034
|
+
id: string;
|
|
4035
|
+
}
|
|
4036
|
+
|
|
4037
|
+
export interface PostMenuV3DraftBrandArchiveResponse {
|
|
4038
|
+
brand: Record<string, any>;
|
|
4039
|
+
[index: string]: any;
|
|
4040
|
+
}
|
|
4041
|
+
|
|
4042
|
+
export interface PostMenuV3DraftBrandArchiveRequest
|
|
4043
|
+
extends BaseRequest,
|
|
4044
|
+
PostMenuV3DraftBrandArchivePath {}
|
|
4045
|
+
|
|
4031
4046
|
// POST /menu/v3/brand
|
|
4032
4047
|
|
|
4033
4048
|
export interface PostMenuV3BrandQuery {
|