@compassdigital/sdk.typescript 4.755.0 → 4.756.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.755.0",
3
+ "version": "4.756.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -962,6 +962,8 @@ import {
962
962
  PatchMenuV4BrandMenusReorderBody,
963
963
  PatchMenuV4BrandMenusReorderResponse,
964
964
  GetMenuV4BrandGenerateBarcodeResponse,
965
+ PostMenuV4BrandGenerateBarcodesBody,
966
+ PostMenuV4BrandGenerateBarcodesResponse,
965
967
  GetMenuV4BrandItemsQuery,
966
968
  GetMenuV4BrandItemsResponse,
967
969
  GetMenuV4BrandModifierGroupsQuery,
@@ -11387,6 +11389,28 @@ export class ServiceClient extends BaseServiceClient {
11387
11389
  );
11388
11390
  }
11389
11391
 
11392
+ /**
11393
+ * POST /menu/v4/brand/{id}/generate-barcodes
11394
+ *
11395
+ * @param id
11396
+ * @param body
11397
+ * @param options - additional request options
11398
+ */
11399
+ post_menu_v4_brand_generate_barcodes(
11400
+ id: string,
11401
+ body: PostMenuV4BrandGenerateBarcodesBody,
11402
+ options?: RequestOptions,
11403
+ ): ResponsePromise<PostMenuV4BrandGenerateBarcodesResponse> {
11404
+ return this.request(
11405
+ 'menu',
11406
+ '/menu/v4/brand/{id}/generate-barcodes',
11407
+ 'POST',
11408
+ `/menu/v4/brand/${id}/generate-barcodes`,
11409
+ body,
11410
+ options,
11411
+ );
11412
+ }
11413
+
11390
11414
  /**
11391
11415
  * GET /menu/v4/brand/{id}/items
11392
11416
  *
@@ -8731,6 +8731,27 @@ export interface GetMenuV4BrandGenerateBarcodeRequest
8731
8731
  extends BaseRequest,
8732
8732
  GetMenuV4BrandGenerateBarcodePath {}
8733
8733
 
8734
+ // POST /menu/v4/brand/{id}/generate-barcodes
8735
+
8736
+ export interface PostMenuV4BrandGenerateBarcodesPath {
8737
+ id: string;
8738
+ }
8739
+
8740
+ export interface PostMenuV4BrandGenerateBarcodesBody {
8741
+ item_ids: string[];
8742
+ [index: string]: any;
8743
+ }
8744
+
8745
+ export interface PostMenuV4BrandGenerateBarcodesResponse {
8746
+ generated?: number;
8747
+ }
8748
+
8749
+ export interface PostMenuV4BrandGenerateBarcodesRequest
8750
+ extends BaseRequest,
8751
+ PostMenuV4BrandGenerateBarcodesPath {
8752
+ body: PostMenuV4BrandGenerateBarcodesBody;
8753
+ }
8754
+
8734
8755
  // GET /menu/v4/brand/{id}/items
8735
8756
 
8736
8757
  export interface GetMenuV4BrandItemsPath {