@compassdigital/sdk.typescript 4.419.0 → 4.420.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 +10 -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 +13 -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 +22 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -623,6 +623,8 @@ import {
|
|
|
623
623
|
GetMenuV3DraftBrandVerifyPublishResponse,
|
|
624
624
|
PostMenuV3DraftBrandArchiveResponse,
|
|
625
625
|
PostMenuV3DraftBrandUnarchiveResponse,
|
|
626
|
+
PostMenuV3DraftBrandSyncMenuworksQuery,
|
|
627
|
+
PostMenuV3DraftBrandSyncMenuworksResponse,
|
|
626
628
|
PostMenuV3BrandQuery,
|
|
627
629
|
PostMenuV3BrandBody,
|
|
628
630
|
PostMenuV3BrandResponse,
|
|
@@ -7404,6 +7406,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7404
7406
|
);
|
|
7405
7407
|
}
|
|
7406
7408
|
|
|
7409
|
+
/**
|
|
7410
|
+
* POST /menu/v3/draft/brand/{id}/sync-menuworks
|
|
7411
|
+
*
|
|
7412
|
+
* @param id - TODO: add parameter to swagger.json
|
|
7413
|
+
* @param options - additional request options
|
|
7414
|
+
*/
|
|
7415
|
+
post_menu_v3_draft_brand_sync_menuworks(
|
|
7416
|
+
id: string,
|
|
7417
|
+
options?: {
|
|
7418
|
+
query?: PostMenuV3DraftBrandSyncMenuworksQuery;
|
|
7419
|
+
} & RequestOptions,
|
|
7420
|
+
): ResponsePromise<PostMenuV3DraftBrandSyncMenuworksResponse> {
|
|
7421
|
+
return this.request(
|
|
7422
|
+
'menu',
|
|
7423
|
+
'/menu/v3/draft/brand/{id}/sync-menuworks',
|
|
7424
|
+
'POST',
|
|
7425
|
+
`/menu/v3/draft/brand/${id}/sync-menuworks`,
|
|
7426
|
+
null,
|
|
7427
|
+
options,
|
|
7428
|
+
);
|
|
7429
|
+
}
|
|
7430
|
+
|
|
7407
7431
|
/**
|
|
7408
7432
|
* POST /menu/v3/brand
|
|
7409
7433
|
*
|
package/src/interface/menu.ts
CHANGED
|
@@ -4086,6 +4086,28 @@ export interface PostMenuV3DraftBrandUnarchiveRequest
|
|
|
4086
4086
|
extends BaseRequest,
|
|
4087
4087
|
PostMenuV3DraftBrandUnarchivePath {}
|
|
4088
4088
|
|
|
4089
|
+
// POST /menu/v3/draft/brand/{id}/sync-menuworks
|
|
4090
|
+
|
|
4091
|
+
export interface PostMenuV3DraftBrandSyncMenuworksPath {
|
|
4092
|
+
// TODO: add parameter to swagger.json
|
|
4093
|
+
id: string;
|
|
4094
|
+
}
|
|
4095
|
+
|
|
4096
|
+
export interface PostMenuV3DraftBrandSyncMenuworksQuery {
|
|
4097
|
+
brand_id?: string;
|
|
4098
|
+
}
|
|
4099
|
+
|
|
4100
|
+
export interface PostMenuV3DraftBrandSyncMenuworksResponse {
|
|
4101
|
+
process_id: string;
|
|
4102
|
+
status: string;
|
|
4103
|
+
[index: string]: any;
|
|
4104
|
+
}
|
|
4105
|
+
|
|
4106
|
+
export interface PostMenuV3DraftBrandSyncMenuworksRequest
|
|
4107
|
+
extends BaseRequest,
|
|
4108
|
+
RequestQuery<PostMenuV3DraftBrandSyncMenuworksQuery>,
|
|
4109
|
+
PostMenuV3DraftBrandSyncMenuworksPath {}
|
|
4110
|
+
|
|
4089
4111
|
// POST /menu/v3/brand
|
|
4090
4112
|
|
|
4091
4113
|
export interface PostMenuV3BrandQuery {
|