@compassdigital/sdk.typescript 4.421.0 → 4.422.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.421.0",
3
+ "version": "4.422.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -623,7 +623,6 @@ import {
623
623
  GetMenuV3DraftBrandVerifyPublishResponse,
624
624
  PostMenuV3DraftBrandArchiveResponse,
625
625
  PostMenuV3DraftBrandUnarchiveResponse,
626
- PostMenuV3DraftBrandSyncMenuworksQuery,
627
626
  PostMenuV3DraftBrandSyncMenuworksResponse,
628
627
  PostMenuV3BrandQuery,
629
628
  PostMenuV3BrandBody,
@@ -7411,22 +7410,20 @@ export class ServiceClient extends BaseServiceClient {
7411
7410
  }
7412
7411
 
7413
7412
  /**
7414
- * POST /menu/v3/draft/brand/{id}/sync-menuworks
7413
+ * POST /menu/v3/draft/brand/{brand_id}/sync-menuworks
7415
7414
  *
7416
- * @param id - TODO: add parameter to swagger.json
7415
+ * @param brand_id
7417
7416
  * @param options - additional request options
7418
7417
  */
7419
7418
  post_menu_v3_draft_brand_sync_menuworks(
7420
- id: string,
7421
- options?: {
7422
- query?: PostMenuV3DraftBrandSyncMenuworksQuery;
7423
- } & RequestOptions,
7419
+ brand_id: string,
7420
+ options?: RequestOptions,
7424
7421
  ): ResponsePromise<PostMenuV3DraftBrandSyncMenuworksResponse> {
7425
7422
  return this.request(
7426
7423
  'menu',
7427
- '/menu/v3/draft/brand/{id}/sync-menuworks',
7424
+ '/menu/v3/draft/brand/{brand_id}/sync-menuworks',
7428
7425
  'POST',
7429
- `/menu/v3/draft/brand/${id}/sync-menuworks`,
7426
+ `/menu/v3/draft/brand/${brand_id}/sync-menuworks`,
7430
7427
  null,
7431
7428
  options,
7432
7429
  );
@@ -2821,7 +2821,7 @@ export interface ConsumerPublicMealplanConfig {
2821
2821
  // The mealplan valid email domains
2822
2822
  valid_email_domains?: string[];
2823
2823
  // The mealplan note
2824
- note?: string;
2824
+ note?: Record<string, any>;
2825
2825
  }
2826
2826
 
2827
2827
  export interface GetConsumerConfigPublicResponse {
@@ -3302,7 +3302,7 @@ export interface OpenAiChatBody {
3302
3302
  // The messages to send to the chat completion
3303
3303
  messages: OpenAiChatMessage[];
3304
3304
  // The tools to use for the chat completion
3305
- tools: string[];
3305
+ tools: Record<string, any>[];
3306
3306
  // The tool choices to use for the chat completion
3307
3307
  tool_choice: Record<string, any>;
3308
3308
  // The temperature to use for the chat completion
@@ -4086,15 +4086,10 @@ export interface PostMenuV3DraftBrandUnarchiveRequest
4086
4086
  extends BaseRequest,
4087
4087
  PostMenuV3DraftBrandUnarchivePath {}
4088
4088
 
4089
- // POST /menu/v3/draft/brand/{id}/sync-menuworks
4089
+ // POST /menu/v3/draft/brand/{brand_id}/sync-menuworks
4090
4090
 
4091
4091
  export interface PostMenuV3DraftBrandSyncMenuworksPath {
4092
- // TODO: add parameter to swagger.json
4093
- id: string;
4094
- }
4095
-
4096
- export interface PostMenuV3DraftBrandSyncMenuworksQuery {
4097
- brand_id?: string;
4092
+ brand_id: string;
4098
4093
  }
4099
4094
 
4100
4095
  export interface PostMenuV3DraftBrandSyncMenuworksResponse {
@@ -4105,7 +4100,6 @@ export interface PostMenuV3DraftBrandSyncMenuworksResponse {
4105
4100
 
4106
4101
  export interface PostMenuV3DraftBrandSyncMenuworksRequest
4107
4102
  extends BaseRequest,
4108
- RequestQuery<PostMenuV3DraftBrandSyncMenuworksQuery>,
4109
4103
  PostMenuV3DraftBrandSyncMenuworksPath {}
4110
4104
 
4111
4105
  // POST /menu/v3/brand