@compassdigital/sdk.typescript 4.565.0 → 4.566.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 +8 -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 +14 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -952,6 +952,7 @@ import {
|
|
|
952
952
|
PostMenuV4BrandCatalogBackupRestoreBody,
|
|
953
953
|
PostMenuV4BrandCatalogBackupRestoreResponse,
|
|
954
954
|
PostMenuV4BrandPublishResponse,
|
|
955
|
+
PostMenuV4BrandIntegrationSyncResponse,
|
|
955
956
|
PostMenuV4BrandV3ToV4Query,
|
|
956
957
|
PostMenuV4BrandV3ToV4Response,
|
|
957
958
|
PostMenuV4BrandCategoryDuplicateBody,
|
|
@@ -11066,6 +11067,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
11066
11067
|
);
|
|
11067
11068
|
}
|
|
11068
11069
|
|
|
11070
|
+
/**
|
|
11071
|
+
* POST /menu/v4/brand/{id}/integration-sync
|
|
11072
|
+
*
|
|
11073
|
+
* @param id
|
|
11074
|
+
* @param options - additional request options
|
|
11075
|
+
*/
|
|
11076
|
+
post_menu_v4_brand_integration_sync(
|
|
11077
|
+
id: string,
|
|
11078
|
+
options?: RequestOptions,
|
|
11079
|
+
): ResponsePromise<PostMenuV4BrandIntegrationSyncResponse> {
|
|
11080
|
+
return this.request(
|
|
11081
|
+
'menu',
|
|
11082
|
+
'/menu/v4/brand/{id}/integration-sync',
|
|
11083
|
+
'POST',
|
|
11084
|
+
`/menu/v4/brand/${id}/integration-sync`,
|
|
11085
|
+
null,
|
|
11086
|
+
options,
|
|
11087
|
+
);
|
|
11088
|
+
}
|
|
11089
|
+
|
|
11069
11090
|
/**
|
|
11070
11091
|
* POST /menu/v4/brand/{id}/v3-to-v4
|
|
11071
11092
|
*
|
package/src/interface/menu.ts
CHANGED
|
@@ -8946,6 +8946,20 @@ export interface PostMenuV4BrandPublishResponse {
|
|
|
8946
8946
|
|
|
8947
8947
|
export interface PostMenuV4BrandPublishRequest extends BaseRequest, PostMenuV4BrandPublishPath {}
|
|
8948
8948
|
|
|
8949
|
+
// POST /menu/v4/brand/{id}/integration-sync
|
|
8950
|
+
|
|
8951
|
+
export interface PostMenuV4BrandIntegrationSyncPath {
|
|
8952
|
+
id: string;
|
|
8953
|
+
}
|
|
8954
|
+
|
|
8955
|
+
export interface PostMenuV4BrandIntegrationSyncResponse {
|
|
8956
|
+
status?: string;
|
|
8957
|
+
}
|
|
8958
|
+
|
|
8959
|
+
export interface PostMenuV4BrandIntegrationSyncRequest
|
|
8960
|
+
extends BaseRequest,
|
|
8961
|
+
PostMenuV4BrandIntegrationSyncPath {}
|
|
8962
|
+
|
|
8949
8963
|
// POST /menu/v4/brand/{id}/v3-to-v4
|
|
8950
8964
|
|
|
8951
8965
|
export interface PostMenuV4BrandV3ToV4Path {
|