@compassdigital/sdk.typescript 4.410.0 → 4.412.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.410.0",
3
+ "version": "4.412.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -713,6 +713,8 @@ import {
713
713
  GetMenuV3DraftMenusVerifyPublishResponse,
714
714
  PostMenuV3DraftMenuDuplicateBody,
715
715
  PostMenuV3DraftMenuDuplicateResponse,
716
+ PostMenuV3DraftMenuAttachmentQuery,
717
+ PostMenuV3DraftMenuAttachmentResponse,
716
718
  GetMenuV3MenuQuery,
717
719
  GetMenuV3MenuResponse,
718
720
  GetMenuV3MenusQuery,
@@ -8075,6 +8077,30 @@ export class ServiceClient extends BaseServiceClient {
8075
8077
  );
8076
8078
  }
8077
8079
 
8080
+ /**
8081
+ * POST /menu/v3/draft/menu/{id}/attachment/{name}
8082
+ *
8083
+ * @param id
8084
+ * @param name
8085
+ * @param options - additional request options
8086
+ */
8087
+ post_menu_v3_draft_menu_attachment(
8088
+ id: string,
8089
+ name: 'thumbnail',
8090
+ options?: {
8091
+ query?: PostMenuV3DraftMenuAttachmentQuery;
8092
+ } & RequestOptions,
8093
+ ): ResponsePromise<PostMenuV3DraftMenuAttachmentResponse> {
8094
+ return this.request(
8095
+ 'menu',
8096
+ '/menu/v3/draft/menu/{id}/attachment/{name}',
8097
+ 'POST',
8098
+ `/menu/v3/draft/menu/${id}/attachment/${name}`,
8099
+ null,
8100
+ options,
8101
+ );
8102
+ }
8103
+
8078
8104
  /**
8079
8105
  * GET /menu/v3/menu/{id}
8080
8106
  *
@@ -4901,6 +4901,26 @@ export interface PostMenuV3DraftMenuDuplicateRequest
4901
4901
  body: PostMenuV3DraftMenuDuplicateBody;
4902
4902
  }
4903
4903
 
4904
+ // POST /menu/v3/draft/menu/{id}/attachment/{name}
4905
+
4906
+ export interface PostMenuV3DraftMenuAttachmentPath {
4907
+ id: string;
4908
+ name: 'thumbnail';
4909
+ }
4910
+
4911
+ export interface PostMenuV3DraftMenuAttachmentQuery {
4912
+ 'body.data'?: string;
4913
+ }
4914
+
4915
+ export interface PostMenuV3DraftMenuAttachmentResponse {
4916
+ status?: string;
4917
+ }
4918
+
4919
+ export interface PostMenuV3DraftMenuAttachmentRequest
4920
+ extends BaseRequest,
4921
+ RequestQuery<PostMenuV3DraftMenuAttachmentQuery>,
4922
+ PostMenuV3DraftMenuAttachmentPath {}
4923
+
4904
4924
  // GET /menu/v3/menu/{id}
4905
4925
 
4906
4926
  export interface GetMenuV3MenuPath {
@@ -7699,7 +7719,7 @@ export interface PostMenuV3GlobalDiffRecoverRequest
7699
7719
  // GET /menu/v3/menuworks
7700
7720
 
7701
7721
  export interface GetMenuV3MenuworksQuery {
7702
- unit_id?: string;
7722
+ unit_ids?: string[];
7703
7723
  MRN?: string;
7704
7724
  // Graphql query string
7705
7725
  _query?: string;