@compassdigital/sdk.typescript 4.281.0 → 4.282.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.281.0",
3
+ "version": "4.282.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -655,6 +655,7 @@ import {
655
655
  GetMenuV3DraftBrandVerifyPublishQuery,
656
656
  GetMenuV3DraftBrandVerifyPublishResponse,
657
657
  PostMenuV3DraftBrandArchiveResponse,
658
+ PostMenuV3DraftBrandUnarchiveResponse,
658
659
  PostMenuV3BrandQuery,
659
660
  PostMenuV3BrandBody,
660
661
  PostMenuV3BrandResponse,
@@ -7252,6 +7253,26 @@ export class ServiceClient extends BaseServiceClient {
7252
7253
  );
7253
7254
  }
7254
7255
 
7256
+ /**
7257
+ * POST /menu/v3/draft/brand/{id}/unarchive
7258
+ *
7259
+ * @param id
7260
+ * @param options - additional request options
7261
+ */
7262
+ post_menu_v3_draft_brand_unarchive(
7263
+ id: string,
7264
+ options?: RequestOptions,
7265
+ ): ResponsePromise<PostMenuV3DraftBrandUnarchiveResponse> {
7266
+ return this.request(
7267
+ 'menu',
7268
+ '/menu/v3/draft/brand/{id}/unarchive',
7269
+ 'POST',
7270
+ `/menu/v3/draft/brand/${id}/unarchive`,
7271
+ null,
7272
+ options,
7273
+ );
7274
+ }
7275
+
7255
7276
  /**
7256
7277
  * POST /menu/v3/brand
7257
7278
  *
@@ -4043,6 +4043,21 @@ export interface PostMenuV3DraftBrandArchiveRequest
4043
4043
  extends BaseRequest,
4044
4044
  PostMenuV3DraftBrandArchivePath {}
4045
4045
 
4046
+ // POST /menu/v3/draft/brand/{id}/unarchive
4047
+
4048
+ export interface PostMenuV3DraftBrandUnarchivePath {
4049
+ id: string;
4050
+ }
4051
+
4052
+ export interface PostMenuV3DraftBrandUnarchiveResponse {
4053
+ brand: Record<string, any>;
4054
+ [index: string]: any;
4055
+ }
4056
+
4057
+ export interface PostMenuV3DraftBrandUnarchiveRequest
4058
+ extends BaseRequest,
4059
+ PostMenuV3DraftBrandUnarchivePath {}
4060
+
4046
4061
  // POST /menu/v3/brand
4047
4062
 
4048
4063
  export interface PostMenuV3BrandQuery {