@compassdigital/sdk.typescript 4.421.0 → 4.423.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/lib/index.d.ts +8 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +7 -7
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +2 -2
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +6 -9
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +14 -17
- package/src/interface/consumer.ts +2 -2
- package/src/interface/menu.ts +9 -15
package/package.json
CHANGED
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,
|
|
@@ -1010,8 +1009,8 @@ import {
|
|
|
1010
1009
|
GetMenuV4MenuResponse,
|
|
1011
1010
|
PostMenuV4MenuAttachmentQuery,
|
|
1012
1011
|
PostMenuV4MenuAttachmentResponse,
|
|
1013
|
-
|
|
1014
|
-
|
|
1012
|
+
GetMenuV4MenuSizeQuery,
|
|
1013
|
+
GetMenuV4MenuSizeResponse,
|
|
1015
1014
|
GetMenuV4CategoryQuery,
|
|
1016
1015
|
GetMenuV4CategoryResponse,
|
|
1017
1016
|
PostMenuV4CategoryAttachmentQuery,
|
|
@@ -7411,22 +7410,20 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7411
7410
|
}
|
|
7412
7411
|
|
|
7413
7412
|
/**
|
|
7414
|
-
* POST /menu/v3/draft/brand/{
|
|
7413
|
+
* POST /menu/v3/draft/brand/{brand_id}/sync-menuworks
|
|
7415
7414
|
*
|
|
7416
|
-
* @param
|
|
7415
|
+
* @param brand_id
|
|
7417
7416
|
* @param options - additional request options
|
|
7418
7417
|
*/
|
|
7419
7418
|
post_menu_v3_draft_brand_sync_menuworks(
|
|
7420
|
-
|
|
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/{
|
|
7424
|
+
'/menu/v3/draft/brand/{brand_id}/sync-menuworks',
|
|
7428
7425
|
'POST',
|
|
7429
|
-
`/menu/v3/draft/brand/${
|
|
7426
|
+
`/menu/v3/draft/brand/${brand_id}/sync-menuworks`,
|
|
7430
7427
|
null,
|
|
7431
7428
|
options,
|
|
7432
7429
|
);
|
|
@@ -11620,22 +11617,22 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
11620
11617
|
}
|
|
11621
11618
|
|
|
11622
11619
|
/**
|
|
11623
|
-
* GET /menu/v4/{id}/size
|
|
11620
|
+
* GET /menu/v4/menu/{id}/size
|
|
11624
11621
|
*
|
|
11625
11622
|
* @param id
|
|
11626
11623
|
* @param options - additional request options
|
|
11627
11624
|
*/
|
|
11628
|
-
|
|
11625
|
+
get_menu_v4_menu_size(
|
|
11629
11626
|
id: string,
|
|
11630
11627
|
options?: {
|
|
11631
|
-
query?:
|
|
11628
|
+
query?: GetMenuV4MenuSizeQuery;
|
|
11632
11629
|
} & RequestOptions,
|
|
11633
|
-
): ResponsePromise<
|
|
11630
|
+
): ResponsePromise<GetMenuV4MenuSizeResponse> {
|
|
11634
11631
|
return this.request(
|
|
11635
11632
|
'menu',
|
|
11636
|
-
'/menu/v4/{id}/size',
|
|
11633
|
+
'/menu/v4/menu/{id}/size',
|
|
11637
11634
|
'GET',
|
|
11638
|
-
`/menu/v4/${id}/size`,
|
|
11635
|
+
`/menu/v4/menu/${id}/size`,
|
|
11639
11636
|
null,
|
|
11640
11637
|
options,
|
|
11641
11638
|
);
|
|
@@ -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
|
package/src/interface/menu.ts
CHANGED
|
@@ -4086,15 +4086,10 @@ export interface PostMenuV3DraftBrandUnarchiveRequest
|
|
|
4086
4086
|
extends BaseRequest,
|
|
4087
4087
|
PostMenuV3DraftBrandUnarchivePath {}
|
|
4088
4088
|
|
|
4089
|
-
// POST /menu/v3/draft/brand/{
|
|
4089
|
+
// POST /menu/v3/draft/brand/{brand_id}/sync-menuworks
|
|
4090
4090
|
|
|
4091
4091
|
export interface PostMenuV3DraftBrandSyncMenuworksPath {
|
|
4092
|
-
|
|
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
|
|
@@ -10489,27 +10483,27 @@ export interface PostMenuV4MenuAttachmentRequest
|
|
|
10489
10483
|
RequestQuery<PostMenuV4MenuAttachmentQuery>,
|
|
10490
10484
|
PostMenuV4MenuAttachmentPath {}
|
|
10491
10485
|
|
|
10492
|
-
// GET /menu/v4/{id}/size
|
|
10486
|
+
// GET /menu/v4/menu/{id}/size
|
|
10493
10487
|
|
|
10494
|
-
export interface
|
|
10488
|
+
export interface GetMenuV4MenuSizePath {
|
|
10495
10489
|
id: string;
|
|
10496
10490
|
}
|
|
10497
10491
|
|
|
10498
|
-
export interface
|
|
10492
|
+
export interface GetMenuV4MenuSizeQuery {
|
|
10499
10493
|
with_parent?: boolean;
|
|
10500
10494
|
}
|
|
10501
10495
|
|
|
10502
|
-
export interface
|
|
10496
|
+
export interface GetMenuV4MenuSizeResponse {
|
|
10503
10497
|
id: string;
|
|
10504
10498
|
name: string;
|
|
10505
10499
|
size: MenuSizeDTO;
|
|
10506
10500
|
[index: string]: any;
|
|
10507
10501
|
}
|
|
10508
10502
|
|
|
10509
|
-
export interface
|
|
10503
|
+
export interface GetMenuV4MenuSizeRequest
|
|
10510
10504
|
extends BaseRequest,
|
|
10511
|
-
RequestQuery<
|
|
10512
|
-
|
|
10505
|
+
RequestQuery<GetMenuV4MenuSizeQuery>,
|
|
10506
|
+
GetMenuV4MenuSizePath {}
|
|
10513
10507
|
|
|
10514
10508
|
// GET /menu/v4/category/{id}
|
|
10515
10509
|
|