@compassdigital/sdk.typescript 4.634.0 → 4.635.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.634.0",
3
+ "version": "4.635.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -963,6 +963,9 @@ import {
963
963
  PostMenuV4BrandCatalogBackupRestoreResponse,
964
964
  PostMenuV4BrandPublishResponse,
965
965
  PostMenuV4BrandIntegrationSyncResponse,
966
+ PostMenuV4BrandSyncMenuworksResponse,
967
+ PostMenuV4BrandImportMenuworksCycleBody,
968
+ PostMenuV4BrandImportMenuworksCycleResponse,
966
969
  PostMenuV4BrandV3ToV4Query,
967
970
  PostMenuV4BrandV3ToV4Response,
968
971
  PostMenuV4BrandCategoryDuplicateBody,
@@ -11341,6 +11344,48 @@ export class ServiceClient extends BaseServiceClient {
11341
11344
  );
11342
11345
  }
11343
11346
 
11347
+ /**
11348
+ * POST /menu/v4/brand/{id}/sync-menuworks
11349
+ *
11350
+ * @param id
11351
+ * @param options - additional request options
11352
+ */
11353
+ post_menu_v4_brand_sync_menuworks(
11354
+ id: string,
11355
+ options?: RequestOptions,
11356
+ ): ResponsePromise<PostMenuV4BrandSyncMenuworksResponse> {
11357
+ return this.request(
11358
+ 'menu',
11359
+ '/menu/v4/brand/{id}/sync-menuworks',
11360
+ 'POST',
11361
+ `/menu/v4/brand/${id}/sync-menuworks`,
11362
+ null,
11363
+ options,
11364
+ );
11365
+ }
11366
+
11367
+ /**
11368
+ * POST /menu/v4/brand/{id}/import-menuworks-cycle
11369
+ *
11370
+ * @param id
11371
+ * @param body
11372
+ * @param options - additional request options
11373
+ */
11374
+ post_menu_v4_brand_import_menuworks_cycle(
11375
+ id: string,
11376
+ body: PostMenuV4BrandImportMenuworksCycleBody,
11377
+ options?: RequestOptions,
11378
+ ): ResponsePromise<PostMenuV4BrandImportMenuworksCycleResponse> {
11379
+ return this.request(
11380
+ 'menu',
11381
+ '/menu/v4/brand/{id}/import-menuworks-cycle',
11382
+ 'POST',
11383
+ `/menu/v4/brand/${id}/import-menuworks-cycle`,
11384
+ body,
11385
+ options,
11386
+ );
11387
+ }
11388
+
11344
11389
  /**
11345
11390
  * POST /menu/v4/brand/{id}/v3-to-v4
11346
11391
  *
@@ -9095,6 +9095,49 @@ export interface PostMenuV4BrandIntegrationSyncRequest
9095
9095
  extends BaseRequest,
9096
9096
  PostMenuV4BrandIntegrationSyncPath {}
9097
9097
 
9098
+ // POST /menu/v4/brand/{id}/sync-menuworks
9099
+
9100
+ export interface PostMenuV4BrandSyncMenuworksPath {
9101
+ id: string;
9102
+ }
9103
+
9104
+ export interface PostMenuV4BrandSyncMenuworksResponse {
9105
+ process_id: string;
9106
+ status: string;
9107
+ [index: string]: any;
9108
+ }
9109
+
9110
+ export interface PostMenuV4BrandSyncMenuworksRequest
9111
+ extends BaseRequest,
9112
+ PostMenuV4BrandSyncMenuworksPath {}
9113
+
9114
+ // POST /menu/v4/brand/{id}/import-menuworks-cycle
9115
+
9116
+ export interface PostMenuV4BrandImportMenuworksCyclePath {
9117
+ id: string;
9118
+ }
9119
+
9120
+ export interface PostMenuV4BrandImportMenuworksCycleBody {
9121
+ menuworks_unit_id: string;
9122
+ menu_collection_id: number;
9123
+ menu_collection_start_date?: string;
9124
+ import_selections?: ImportMenuWorksSelectionDTO[];
9125
+ [index: string]: any;
9126
+ }
9127
+
9128
+ export interface PostMenuV4BrandImportMenuworksCycleResponse {
9129
+ process_id: string;
9130
+ status: string;
9131
+ message?: string;
9132
+ [index: string]: any;
9133
+ }
9134
+
9135
+ export interface PostMenuV4BrandImportMenuworksCycleRequest
9136
+ extends BaseRequest,
9137
+ PostMenuV4BrandImportMenuworksCyclePath {
9138
+ body: PostMenuV4BrandImportMenuworksCycleBody;
9139
+ }
9140
+
9098
9141
  // POST /menu/v4/brand/{id}/v3-to-v4
9099
9142
 
9100
9143
  export interface PostMenuV4BrandV3ToV4Path {