ultracart_rest_api_v2_typescript 3.11.30 → 3.11.33
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/README.md +5 -2
- package/api.ts +286 -0
- package/dist/api.d.ts +149 -0
- package/dist/api.js +196 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@3.11.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@3.11.33
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@3.11.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@3.11.33 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,9 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.11.33 | 11/26/2025 | conversation - AI agent profile fields |
|
|
58
|
+
| 3.11.32 | 11/20/2025 | conversion api bug fix on incorrect signature |
|
|
59
|
+
| 3.11.31 | 11/20/2025 | conversation - AI agent mcp server tools function |
|
|
57
60
|
| 3.11.30 | 11/19/2025 | conversation - AI agent MCP server configuration methods |
|
|
58
61
|
| 3.11.29 | 11/13/2025 | conversations - AI capabilities flag for generate coupon |
|
|
59
62
|
| 3.11.28 | 11/07/2025 | OrderApi.assignToAffiliate |
|
package/api.ts
CHANGED
|
@@ -7129,6 +7129,12 @@ export interface ConversationAgentProfile {
|
|
|
7129
7129
|
* @memberof ConversationAgentProfile
|
|
7130
7130
|
*/
|
|
7131
7131
|
ai_sms_instructions?: string;
|
|
7132
|
+
/**
|
|
7133
|
+
* Additional instructions for this AI when handling ticket draft replies
|
|
7134
|
+
* @type {string}
|
|
7135
|
+
* @memberof ConversationAgentProfile
|
|
7136
|
+
*/
|
|
7137
|
+
ai_ticket_instructions?: string;
|
|
7132
7138
|
/**
|
|
7133
7139
|
* The number of engagement chats that can be pushed on them at any given time.
|
|
7134
7140
|
* @type {number}
|
|
@@ -7177,6 +7183,18 @@ export interface ConversationAgentProfile {
|
|
|
7177
7183
|
* @memberof ConversationAgentProfile
|
|
7178
7184
|
*/
|
|
7179
7185
|
user_id?: number;
|
|
7186
|
+
/**
|
|
7187
|
+
* Restrict this agent to drafting replies only to tickets with these classifications
|
|
7188
|
+
* @type {Array<string>}
|
|
7189
|
+
* @memberof ConversationAgentProfile
|
|
7190
|
+
*/
|
|
7191
|
+
zohodesk_classifications?: Array<string>;
|
|
7192
|
+
/**
|
|
7193
|
+
* Restrict this agent to drafting replies only to these department ids
|
|
7194
|
+
* @type {Array<string>}
|
|
7195
|
+
* @memberof ConversationAgentProfile
|
|
7196
|
+
*/
|
|
7197
|
+
zohodesk_departments?: Array<string>;
|
|
7180
7198
|
}
|
|
7181
7199
|
|
|
7182
7200
|
/**
|
|
@@ -8709,6 +8727,44 @@ export interface ConversationMcpServerResponse {
|
|
|
8709
8727
|
warning?: Warning;
|
|
8710
8728
|
}
|
|
8711
8729
|
|
|
8730
|
+
/**
|
|
8731
|
+
*
|
|
8732
|
+
* @export
|
|
8733
|
+
* @interface ConversationMcpServerToolsResponse
|
|
8734
|
+
*/
|
|
8735
|
+
export interface ConversationMcpServerToolsResponse {
|
|
8736
|
+
/**
|
|
8737
|
+
*
|
|
8738
|
+
* @type {ModelError}
|
|
8739
|
+
* @memberof ConversationMcpServerToolsResponse
|
|
8740
|
+
*/
|
|
8741
|
+
error?: ModelError;
|
|
8742
|
+
/**
|
|
8743
|
+
*
|
|
8744
|
+
* @type {ResponseMetadata}
|
|
8745
|
+
* @memberof ConversationMcpServerToolsResponse
|
|
8746
|
+
*/
|
|
8747
|
+
metadata?: ResponseMetadata;
|
|
8748
|
+
/**
|
|
8749
|
+
* Indicates if API call was successful
|
|
8750
|
+
* @type {boolean}
|
|
8751
|
+
* @memberof ConversationMcpServerToolsResponse
|
|
8752
|
+
*/
|
|
8753
|
+
success?: boolean;
|
|
8754
|
+
/**
|
|
8755
|
+
*
|
|
8756
|
+
* @type {string}
|
|
8757
|
+
* @memberof ConversationMcpServerToolsResponse
|
|
8758
|
+
*/
|
|
8759
|
+
tools_json?: string;
|
|
8760
|
+
/**
|
|
8761
|
+
*
|
|
8762
|
+
* @type {Warning}
|
|
8763
|
+
* @memberof ConversationMcpServerToolsResponse
|
|
8764
|
+
*/
|
|
8765
|
+
warning?: Warning;
|
|
8766
|
+
}
|
|
8767
|
+
|
|
8712
8768
|
/**
|
|
8713
8769
|
*
|
|
8714
8770
|
* @export
|
|
@@ -53110,6 +53166,64 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
53110
53166
|
|
|
53111
53167
|
|
|
53112
53168
|
|
|
53169
|
+
// authentication ultraCartOauth required
|
|
53170
|
+
// oauth required
|
|
53171
|
+
if (configuration && configuration.accessToken) {
|
|
53172
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
53173
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_write"])
|
|
53174
|
+
: configuration.accessToken;
|
|
53175
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
53176
|
+
}
|
|
53177
|
+
|
|
53178
|
+
// authentication ultraCartSimpleApiKey required
|
|
53179
|
+
if (configuration && configuration.apiKey) {
|
|
53180
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
53181
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
53182
|
+
: configuration.apiKey;
|
|
53183
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
53184
|
+
}
|
|
53185
|
+
|
|
53186
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
53187
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
53188
|
+
delete localVarUrlObj.search;
|
|
53189
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
53190
|
+
|
|
53191
|
+
return {
|
|
53192
|
+
url: url.format(localVarUrlObj),
|
|
53193
|
+
options: localVarRequestOptions,
|
|
53194
|
+
};
|
|
53195
|
+
},
|
|
53196
|
+
/**
|
|
53197
|
+
* Delete an agent MCP server
|
|
53198
|
+
* @summary Delete an agent MCP server
|
|
53199
|
+
* @param {number} user_id
|
|
53200
|
+
* @param {string} mcp_server_uuid
|
|
53201
|
+
* @param {*} [options] Override http request option.
|
|
53202
|
+
* @throws {RequiredError}
|
|
53203
|
+
*/
|
|
53204
|
+
deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options: any = {}): FetchArgs {
|
|
53205
|
+
// verify required parameter 'user_id' is not null or undefined
|
|
53206
|
+
if (user_id === null || user_id === undefined) {
|
|
53207
|
+
throw new RequiredError('user_id','Required parameter user_id was null or undefined when calling deleteAgentProfileMcp.');
|
|
53208
|
+
}
|
|
53209
|
+
// verify required parameter 'mcp_server_uuid' is not null or undefined
|
|
53210
|
+
if (mcp_server_uuid === null || mcp_server_uuid === undefined) {
|
|
53211
|
+
throw new RequiredError('mcp_server_uuid','Required parameter mcp_server_uuid was null or undefined when calling deleteAgentProfileMcp.');
|
|
53212
|
+
}
|
|
53213
|
+
const localVarPath = `/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}`
|
|
53214
|
+
.replace(`{${"user_id"}}`, encodeURIComponent(String(user_id)))
|
|
53215
|
+
.replace(`{${"mcp_server_uuid"}}`, encodeURIComponent(String(mcp_server_uuid)));
|
|
53216
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
53217
|
+
const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
53218
|
+
const localVarHeaderParameter = {} as any;
|
|
53219
|
+
const localVarQueryParameter = {} as any;
|
|
53220
|
+
|
|
53221
|
+
if(configuration && configuration.apiVersion) {
|
|
53222
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
53223
|
+
}
|
|
53224
|
+
|
|
53225
|
+
|
|
53226
|
+
|
|
53113
53227
|
// authentication ultraCartOauth required
|
|
53114
53228
|
// oauth required
|
|
53115
53229
|
if (configuration && configuration.accessToken) {
|
|
@@ -53890,6 +54004,64 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
53890
54004
|
|
|
53891
54005
|
|
|
53892
54006
|
|
|
54007
|
+
// authentication ultraCartOauth required
|
|
54008
|
+
// oauth required
|
|
54009
|
+
if (configuration && configuration.accessToken) {
|
|
54010
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
54011
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_read"])
|
|
54012
|
+
: configuration.accessToken;
|
|
54013
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
54014
|
+
}
|
|
54015
|
+
|
|
54016
|
+
// authentication ultraCartSimpleApiKey required
|
|
54017
|
+
if (configuration && configuration.apiKey) {
|
|
54018
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
54019
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
54020
|
+
: configuration.apiKey;
|
|
54021
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
54022
|
+
}
|
|
54023
|
+
|
|
54024
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
54025
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
54026
|
+
delete localVarUrlObj.search;
|
|
54027
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
54028
|
+
|
|
54029
|
+
return {
|
|
54030
|
+
url: url.format(localVarUrlObj),
|
|
54031
|
+
options: localVarRequestOptions,
|
|
54032
|
+
};
|
|
54033
|
+
},
|
|
54034
|
+
/**
|
|
54035
|
+
* Get the tools available from the MCP server
|
|
54036
|
+
* @summary Get the tools available from the MCP server
|
|
54037
|
+
* @param {number} user_id
|
|
54038
|
+
* @param {string} mcp_server_uuid
|
|
54039
|
+
* @param {*} [options] Override http request option.
|
|
54040
|
+
* @throws {RequiredError}
|
|
54041
|
+
*/
|
|
54042
|
+
getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options: any = {}): FetchArgs {
|
|
54043
|
+
// verify required parameter 'user_id' is not null or undefined
|
|
54044
|
+
if (user_id === null || user_id === undefined) {
|
|
54045
|
+
throw new RequiredError('user_id','Required parameter user_id was null or undefined when calling getAgentProfileMcpTools.');
|
|
54046
|
+
}
|
|
54047
|
+
// verify required parameter 'mcp_server_uuid' is not null or undefined
|
|
54048
|
+
if (mcp_server_uuid === null || mcp_server_uuid === undefined) {
|
|
54049
|
+
throw new RequiredError('mcp_server_uuid','Required parameter mcp_server_uuid was null or undefined when calling getAgentProfileMcpTools.');
|
|
54050
|
+
}
|
|
54051
|
+
const localVarPath = `/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}/tools`
|
|
54052
|
+
.replace(`{${"user_id"}}`, encodeURIComponent(String(user_id)))
|
|
54053
|
+
.replace(`{${"mcp_server_uuid"}}`, encodeURIComponent(String(mcp_server_uuid)));
|
|
54054
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
54055
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
54056
|
+
const localVarHeaderParameter = {} as any;
|
|
54057
|
+
const localVarQueryParameter = {} as any;
|
|
54058
|
+
|
|
54059
|
+
if(configuration && configuration.apiVersion) {
|
|
54060
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
54061
|
+
}
|
|
54062
|
+
|
|
54063
|
+
|
|
54064
|
+
|
|
53893
54065
|
// authentication ultraCartOauth required
|
|
53894
54066
|
// oauth required
|
|
53895
54067
|
if (configuration && configuration.accessToken) {
|
|
@@ -58233,6 +58405,28 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
58233
58405
|
});
|
|
58234
58406
|
};
|
|
58235
58407
|
},
|
|
58408
|
+
/**
|
|
58409
|
+
* Delete an agent MCP server
|
|
58410
|
+
* @summary Delete an agent MCP server
|
|
58411
|
+
* @param {number} user_id
|
|
58412
|
+
* @param {string} mcp_server_uuid
|
|
58413
|
+
* @param {*} [options] Override http request option.
|
|
58414
|
+
* @throws {RequiredError}
|
|
58415
|
+
*/
|
|
58416
|
+
deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response> {
|
|
58417
|
+
const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).deleteAgentProfileMcp(user_id, mcp_server_uuid, options);
|
|
58418
|
+
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
58419
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
58420
|
+
|
|
58421
|
+
if (response.status >= 200 && response.status < 300) {
|
|
58422
|
+
return response;
|
|
58423
|
+
|
|
58424
|
+
} else {
|
|
58425
|
+
throw response;
|
|
58426
|
+
}
|
|
58427
|
+
});
|
|
58428
|
+
};
|
|
58429
|
+
},
|
|
58236
58430
|
/**
|
|
58237
58431
|
* Delete a conversation canned message
|
|
58238
58432
|
* @summary Delete a conversation canned message
|
|
@@ -58548,6 +58742,28 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
58548
58742
|
});
|
|
58549
58743
|
};
|
|
58550
58744
|
},
|
|
58745
|
+
/**
|
|
58746
|
+
* Get the tools available from the MCP server
|
|
58747
|
+
* @summary Get the tools available from the MCP server
|
|
58748
|
+
* @param {number} user_id
|
|
58749
|
+
* @param {string} mcp_server_uuid
|
|
58750
|
+
* @param {*} [options] Override http request option.
|
|
58751
|
+
* @throws {RequiredError}
|
|
58752
|
+
*/
|
|
58753
|
+
getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationMcpServerToolsResponse> {
|
|
58754
|
+
const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).getAgentProfileMcpTools(user_id, mcp_server_uuid, options);
|
|
58755
|
+
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
58756
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
58757
|
+
|
|
58758
|
+
if (response.status >= 200 && response.status < 300) {
|
|
58759
|
+
return response.json();
|
|
58760
|
+
|
|
58761
|
+
} else {
|
|
58762
|
+
throw response;
|
|
58763
|
+
}
|
|
58764
|
+
});
|
|
58765
|
+
};
|
|
58766
|
+
},
|
|
58551
58767
|
/**
|
|
58552
58768
|
* Retrieve MCP servers associated with this agent
|
|
58553
58769
|
* @summary Get the list of MCP servers associated with this agent
|
|
@@ -60254,6 +60470,17 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
60254
60470
|
deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any) {
|
|
60255
60471
|
return ConversationApiFp(configuration).deleteAgentProfileKnowledgeBaseDocument(user_id, document_uuid, options)(fetch, basePath);
|
|
60256
60472
|
},
|
|
60473
|
+
/**
|
|
60474
|
+
* Delete an agent MCP server
|
|
60475
|
+
* @summary Delete an agent MCP server
|
|
60476
|
+
* @param {number} user_id
|
|
60477
|
+
* @param {string} mcp_server_uuid
|
|
60478
|
+
* @param {*} [options] Override http request option.
|
|
60479
|
+
* @throws {RequiredError}
|
|
60480
|
+
*/
|
|
60481
|
+
deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any) {
|
|
60482
|
+
return ConversationApiFp(configuration).deleteAgentProfileMcp(user_id, mcp_server_uuid, options)(fetch, basePath);
|
|
60483
|
+
},
|
|
60257
60484
|
/**
|
|
60258
60485
|
* Delete a conversation canned message
|
|
60259
60486
|
* @summary Delete a conversation canned message
|
|
@@ -60404,6 +60631,17 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
60404
60631
|
getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any) {
|
|
60405
60632
|
return ConversationApiFp(configuration).getAgentProfileMcp(user_id, mcp_server_uuid, options)(fetch, basePath);
|
|
60406
60633
|
},
|
|
60634
|
+
/**
|
|
60635
|
+
* Get the tools available from the MCP server
|
|
60636
|
+
* @summary Get the tools available from the MCP server
|
|
60637
|
+
* @param {number} user_id
|
|
60638
|
+
* @param {string} mcp_server_uuid
|
|
60639
|
+
* @param {*} [options] Override http request option.
|
|
60640
|
+
* @throws {RequiredError}
|
|
60641
|
+
*/
|
|
60642
|
+
getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any) {
|
|
60643
|
+
return ConversationApiFp(configuration).getAgentProfileMcpTools(user_id, mcp_server_uuid, options)(fetch, basePath);
|
|
60644
|
+
},
|
|
60407
60645
|
/**
|
|
60408
60646
|
* Retrieve MCP servers associated with this agent
|
|
60409
60647
|
* @summary Get the list of MCP servers associated with this agent
|
|
@@ -61230,6 +61468,17 @@ export interface ConversationApiInterface {
|
|
|
61230
61468
|
*/
|
|
61231
61469
|
deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any): Promise<ConversationDeleteKnowledgeBaseDocumentResponse>;
|
|
61232
61470
|
|
|
61471
|
+
/**
|
|
61472
|
+
* Delete an agent MCP server
|
|
61473
|
+
* @summary Delete an agent MCP server
|
|
61474
|
+
* @param {number} user_id
|
|
61475
|
+
* @param {string} mcp_server_uuid
|
|
61476
|
+
* @param {*} [options] Override http request option.
|
|
61477
|
+
* @throws {RequiredError}
|
|
61478
|
+
* @memberof ConversationApiInterface
|
|
61479
|
+
*/
|
|
61480
|
+
deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<{}>;
|
|
61481
|
+
|
|
61233
61482
|
/**
|
|
61234
61483
|
* Delete a conversation canned message
|
|
61235
61484
|
* @summary Delete a conversation canned message
|
|
@@ -61380,6 +61629,17 @@ export interface ConversationApiInterface {
|
|
|
61380
61629
|
*/
|
|
61381
61630
|
getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerResponse>;
|
|
61382
61631
|
|
|
61632
|
+
/**
|
|
61633
|
+
* Get the tools available from the MCP server
|
|
61634
|
+
* @summary Get the tools available from the MCP server
|
|
61635
|
+
* @param {number} user_id
|
|
61636
|
+
* @param {string} mcp_server_uuid
|
|
61637
|
+
* @param {*} [options] Override http request option.
|
|
61638
|
+
* @throws {RequiredError}
|
|
61639
|
+
* @memberof ConversationApiInterface
|
|
61640
|
+
*/
|
|
61641
|
+
getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerToolsResponse>;
|
|
61642
|
+
|
|
61383
61643
|
/**
|
|
61384
61644
|
* Retrieve MCP servers associated with this agent
|
|
61385
61645
|
* @summary Get the list of MCP servers associated with this agent
|
|
@@ -62208,6 +62468,19 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
62208
62468
|
return ConversationApiFp(this.configuration).deleteAgentProfileKnowledgeBaseDocument(user_id, document_uuid, options)(this.fetch, this.basePath);
|
|
62209
62469
|
}
|
|
62210
62470
|
|
|
62471
|
+
/**
|
|
62472
|
+
* Delete an agent MCP server
|
|
62473
|
+
* @summary Delete an agent MCP server
|
|
62474
|
+
* @param {number} user_id
|
|
62475
|
+
* @param {string} mcp_server_uuid
|
|
62476
|
+
* @param {*} [options] Override http request option.
|
|
62477
|
+
* @throws {RequiredError}
|
|
62478
|
+
* @memberof ConversationApi
|
|
62479
|
+
*/
|
|
62480
|
+
public deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any) {
|
|
62481
|
+
return ConversationApiFp(this.configuration).deleteAgentProfileMcp(user_id, mcp_server_uuid, options)(this.fetch, this.basePath);
|
|
62482
|
+
}
|
|
62483
|
+
|
|
62211
62484
|
/**
|
|
62212
62485
|
* Delete a conversation canned message
|
|
62213
62486
|
* @summary Delete a conversation canned message
|
|
@@ -62388,6 +62661,19 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
62388
62661
|
return ConversationApiFp(this.configuration).getAgentProfileMcp(user_id, mcp_server_uuid, options)(this.fetch, this.basePath);
|
|
62389
62662
|
}
|
|
62390
62663
|
|
|
62664
|
+
/**
|
|
62665
|
+
* Get the tools available from the MCP server
|
|
62666
|
+
* @summary Get the tools available from the MCP server
|
|
62667
|
+
* @param {number} user_id
|
|
62668
|
+
* @param {string} mcp_server_uuid
|
|
62669
|
+
* @param {*} [options] Override http request option.
|
|
62670
|
+
* @throws {RequiredError}
|
|
62671
|
+
* @memberof ConversationApi
|
|
62672
|
+
*/
|
|
62673
|
+
public getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any) {
|
|
62674
|
+
return ConversationApiFp(this.configuration).getAgentProfileMcpTools(user_id, mcp_server_uuid, options)(this.fetch, this.basePath);
|
|
62675
|
+
}
|
|
62676
|
+
|
|
62391
62677
|
/**
|
|
62392
62678
|
* Retrieve MCP servers associated with this agent
|
|
62393
62679
|
* @summary Get the list of MCP servers associated with this agent
|
package/dist/api.d.ts
CHANGED
|
@@ -6968,6 +6968,12 @@ export interface ConversationAgentProfile {
|
|
|
6968
6968
|
* @memberof ConversationAgentProfile
|
|
6969
6969
|
*/
|
|
6970
6970
|
ai_sms_instructions?: string;
|
|
6971
|
+
/**
|
|
6972
|
+
* Additional instructions for this AI when handling ticket draft replies
|
|
6973
|
+
* @type {string}
|
|
6974
|
+
* @memberof ConversationAgentProfile
|
|
6975
|
+
*/
|
|
6976
|
+
ai_ticket_instructions?: string;
|
|
6971
6977
|
/**
|
|
6972
6978
|
* The number of engagement chats that can be pushed on them at any given time.
|
|
6973
6979
|
* @type {number}
|
|
@@ -7016,6 +7022,18 @@ export interface ConversationAgentProfile {
|
|
|
7016
7022
|
* @memberof ConversationAgentProfile
|
|
7017
7023
|
*/
|
|
7018
7024
|
user_id?: number;
|
|
7025
|
+
/**
|
|
7026
|
+
* Restrict this agent to drafting replies only to tickets with these classifications
|
|
7027
|
+
* @type {Array<string>}
|
|
7028
|
+
* @memberof ConversationAgentProfile
|
|
7029
|
+
*/
|
|
7030
|
+
zohodesk_classifications?: Array<string>;
|
|
7031
|
+
/**
|
|
7032
|
+
* Restrict this agent to drafting replies only to these department ids
|
|
7033
|
+
* @type {Array<string>}
|
|
7034
|
+
* @memberof ConversationAgentProfile
|
|
7035
|
+
*/
|
|
7036
|
+
zohodesk_departments?: Array<string>;
|
|
7019
7037
|
}
|
|
7020
7038
|
/**
|
|
7021
7039
|
* @export
|
|
@@ -8501,6 +8519,43 @@ export interface ConversationMcpServerResponse {
|
|
|
8501
8519
|
*/
|
|
8502
8520
|
warning?: Warning;
|
|
8503
8521
|
}
|
|
8522
|
+
/**
|
|
8523
|
+
*
|
|
8524
|
+
* @export
|
|
8525
|
+
* @interface ConversationMcpServerToolsResponse
|
|
8526
|
+
*/
|
|
8527
|
+
export interface ConversationMcpServerToolsResponse {
|
|
8528
|
+
/**
|
|
8529
|
+
*
|
|
8530
|
+
* @type {ModelError}
|
|
8531
|
+
* @memberof ConversationMcpServerToolsResponse
|
|
8532
|
+
*/
|
|
8533
|
+
error?: ModelError;
|
|
8534
|
+
/**
|
|
8535
|
+
*
|
|
8536
|
+
* @type {ResponseMetadata}
|
|
8537
|
+
* @memberof ConversationMcpServerToolsResponse
|
|
8538
|
+
*/
|
|
8539
|
+
metadata?: ResponseMetadata;
|
|
8540
|
+
/**
|
|
8541
|
+
* Indicates if API call was successful
|
|
8542
|
+
* @type {boolean}
|
|
8543
|
+
* @memberof ConversationMcpServerToolsResponse
|
|
8544
|
+
*/
|
|
8545
|
+
success?: boolean;
|
|
8546
|
+
/**
|
|
8547
|
+
*
|
|
8548
|
+
* @type {string}
|
|
8549
|
+
* @memberof ConversationMcpServerToolsResponse
|
|
8550
|
+
*/
|
|
8551
|
+
tools_json?: string;
|
|
8552
|
+
/**
|
|
8553
|
+
*
|
|
8554
|
+
* @type {Warning}
|
|
8555
|
+
* @memberof ConversationMcpServerToolsResponse
|
|
8556
|
+
*/
|
|
8557
|
+
warning?: Warning;
|
|
8558
|
+
}
|
|
8504
8559
|
/**
|
|
8505
8560
|
*
|
|
8506
8561
|
* @export
|
|
@@ -48564,6 +48619,15 @@ export declare const ConversationApiFetchParamCreator: (configuration?: Configur
|
|
|
48564
48619
|
* @throws {RequiredError}
|
|
48565
48620
|
*/
|
|
48566
48621
|
deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any): FetchArgs;
|
|
48622
|
+
/**
|
|
48623
|
+
* Delete an agent MCP server
|
|
48624
|
+
* @summary Delete an agent MCP server
|
|
48625
|
+
* @param {number} user_id
|
|
48626
|
+
* @param {string} mcp_server_uuid
|
|
48627
|
+
* @param {*} [options] Override http request option.
|
|
48628
|
+
* @throws {RequiredError}
|
|
48629
|
+
*/
|
|
48630
|
+
deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): FetchArgs;
|
|
48567
48631
|
/**
|
|
48568
48632
|
* Delete a conversation canned message
|
|
48569
48633
|
* @summary Delete a conversation canned message
|
|
@@ -48684,6 +48748,15 @@ export declare const ConversationApiFetchParamCreator: (configuration?: Configur
|
|
|
48684
48748
|
* @throws {RequiredError}
|
|
48685
48749
|
*/
|
|
48686
48750
|
getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): FetchArgs;
|
|
48751
|
+
/**
|
|
48752
|
+
* Get the tools available from the MCP server
|
|
48753
|
+
* @summary Get the tools available from the MCP server
|
|
48754
|
+
* @param {number} user_id
|
|
48755
|
+
* @param {string} mcp_server_uuid
|
|
48756
|
+
* @param {*} [options] Override http request option.
|
|
48757
|
+
* @throws {RequiredError}
|
|
48758
|
+
*/
|
|
48759
|
+
getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): FetchArgs;
|
|
48687
48760
|
/**
|
|
48688
48761
|
* Retrieve MCP servers associated with this agent
|
|
48689
48762
|
* @summary Get the list of MCP servers associated with this agent
|
|
@@ -49345,6 +49418,15 @@ export declare const ConversationApiFp: (configuration?: Configuration) => {
|
|
|
49345
49418
|
* @throws {RequiredError}
|
|
49346
49419
|
*/
|
|
49347
49420
|
deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationDeleteKnowledgeBaseDocumentResponse>;
|
|
49421
|
+
/**
|
|
49422
|
+
* Delete an agent MCP server
|
|
49423
|
+
* @summary Delete an agent MCP server
|
|
49424
|
+
* @param {number} user_id
|
|
49425
|
+
* @param {string} mcp_server_uuid
|
|
49426
|
+
* @param {*} [options] Override http request option.
|
|
49427
|
+
* @throws {RequiredError}
|
|
49428
|
+
*/
|
|
49429
|
+
deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
49348
49430
|
/**
|
|
49349
49431
|
* Delete a conversation canned message
|
|
49350
49432
|
* @summary Delete a conversation canned message
|
|
@@ -49465,6 +49547,15 @@ export declare const ConversationApiFp: (configuration?: Configuration) => {
|
|
|
49465
49547
|
* @throws {RequiredError}
|
|
49466
49548
|
*/
|
|
49467
49549
|
getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationMcpServerResponse>;
|
|
49550
|
+
/**
|
|
49551
|
+
* Get the tools available from the MCP server
|
|
49552
|
+
* @summary Get the tools available from the MCP server
|
|
49553
|
+
* @param {number} user_id
|
|
49554
|
+
* @param {string} mcp_server_uuid
|
|
49555
|
+
* @param {*} [options] Override http request option.
|
|
49556
|
+
* @throws {RequiredError}
|
|
49557
|
+
*/
|
|
49558
|
+
getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationMcpServerToolsResponse>;
|
|
49468
49559
|
/**
|
|
49469
49560
|
* Retrieve MCP servers associated with this agent
|
|
49470
49561
|
* @summary Get the list of MCP servers associated with this agent
|
|
@@ -50126,6 +50217,15 @@ export declare const ConversationApiFactory: (configuration?: Configuration, fet
|
|
|
50126
50217
|
* @throws {RequiredError}
|
|
50127
50218
|
*/
|
|
50128
50219
|
deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any): Promise<ConversationDeleteKnowledgeBaseDocumentResponse>;
|
|
50220
|
+
/**
|
|
50221
|
+
* Delete an agent MCP server
|
|
50222
|
+
* @summary Delete an agent MCP server
|
|
50223
|
+
* @param {number} user_id
|
|
50224
|
+
* @param {string} mcp_server_uuid
|
|
50225
|
+
* @param {*} [options] Override http request option.
|
|
50226
|
+
* @throws {RequiredError}
|
|
50227
|
+
*/
|
|
50228
|
+
deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<Response>;
|
|
50129
50229
|
/**
|
|
50130
50230
|
* Delete a conversation canned message
|
|
50131
50231
|
* @summary Delete a conversation canned message
|
|
@@ -50246,6 +50346,15 @@ export declare const ConversationApiFactory: (configuration?: Configuration, fet
|
|
|
50246
50346
|
* @throws {RequiredError}
|
|
50247
50347
|
*/
|
|
50248
50348
|
getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerResponse>;
|
|
50349
|
+
/**
|
|
50350
|
+
* Get the tools available from the MCP server
|
|
50351
|
+
* @summary Get the tools available from the MCP server
|
|
50352
|
+
* @param {number} user_id
|
|
50353
|
+
* @param {string} mcp_server_uuid
|
|
50354
|
+
* @param {*} [options] Override http request option.
|
|
50355
|
+
* @throws {RequiredError}
|
|
50356
|
+
*/
|
|
50357
|
+
getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerToolsResponse>;
|
|
50249
50358
|
/**
|
|
50250
50359
|
* Retrieve MCP servers associated with this agent
|
|
50251
50360
|
* @summary Get the list of MCP servers associated with this agent
|
|
@@ -50909,6 +51018,16 @@ export interface ConversationApiInterface {
|
|
|
50909
51018
|
* @memberof ConversationApiInterface
|
|
50910
51019
|
*/
|
|
50911
51020
|
deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any): Promise<ConversationDeleteKnowledgeBaseDocumentResponse>;
|
|
51021
|
+
/**
|
|
51022
|
+
* Delete an agent MCP server
|
|
51023
|
+
* @summary Delete an agent MCP server
|
|
51024
|
+
* @param {number} user_id
|
|
51025
|
+
* @param {string} mcp_server_uuid
|
|
51026
|
+
* @param {*} [options] Override http request option.
|
|
51027
|
+
* @throws {RequiredError}
|
|
51028
|
+
* @memberof ConversationApiInterface
|
|
51029
|
+
*/
|
|
51030
|
+
deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<{}>;
|
|
50912
51031
|
/**
|
|
50913
51032
|
* Delete a conversation canned message
|
|
50914
51033
|
* @summary Delete a conversation canned message
|
|
@@ -51044,6 +51163,16 @@ export interface ConversationApiInterface {
|
|
|
51044
51163
|
* @memberof ConversationApiInterface
|
|
51045
51164
|
*/
|
|
51046
51165
|
getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerResponse>;
|
|
51166
|
+
/**
|
|
51167
|
+
* Get the tools available from the MCP server
|
|
51168
|
+
* @summary Get the tools available from the MCP server
|
|
51169
|
+
* @param {number} user_id
|
|
51170
|
+
* @param {string} mcp_server_uuid
|
|
51171
|
+
* @param {*} [options] Override http request option.
|
|
51172
|
+
* @throws {RequiredError}
|
|
51173
|
+
* @memberof ConversationApiInterface
|
|
51174
|
+
*/
|
|
51175
|
+
getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerToolsResponse>;
|
|
51047
51176
|
/**
|
|
51048
51177
|
* Retrieve MCP servers associated with this agent
|
|
51049
51178
|
* @summary Get the list of MCP servers associated with this agent
|
|
@@ -51788,6 +51917,16 @@ export declare class ConversationApi extends BaseAPI implements ConversationApiI
|
|
|
51788
51917
|
* @memberof ConversationApi
|
|
51789
51918
|
*/
|
|
51790
51919
|
deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any): Promise<ConversationDeleteKnowledgeBaseDocumentResponse>;
|
|
51920
|
+
/**
|
|
51921
|
+
* Delete an agent MCP server
|
|
51922
|
+
* @summary Delete an agent MCP server
|
|
51923
|
+
* @param {number} user_id
|
|
51924
|
+
* @param {string} mcp_server_uuid
|
|
51925
|
+
* @param {*} [options] Override http request option.
|
|
51926
|
+
* @throws {RequiredError}
|
|
51927
|
+
* @memberof ConversationApi
|
|
51928
|
+
*/
|
|
51929
|
+
deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<Response>;
|
|
51791
51930
|
/**
|
|
51792
51931
|
* Delete a conversation canned message
|
|
51793
51932
|
* @summary Delete a conversation canned message
|
|
@@ -51923,6 +52062,16 @@ export declare class ConversationApi extends BaseAPI implements ConversationApiI
|
|
|
51923
52062
|
* @memberof ConversationApi
|
|
51924
52063
|
*/
|
|
51925
52064
|
getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerResponse>;
|
|
52065
|
+
/**
|
|
52066
|
+
* Get the tools available from the MCP server
|
|
52067
|
+
* @summary Get the tools available from the MCP server
|
|
52068
|
+
* @param {number} user_id
|
|
52069
|
+
* @param {string} mcp_server_uuid
|
|
52070
|
+
* @param {*} [options] Override http request option.
|
|
52071
|
+
* @throws {RequiredError}
|
|
52072
|
+
* @memberof ConversationApi
|
|
52073
|
+
*/
|
|
52074
|
+
getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerToolsResponse>;
|
|
51926
52075
|
/**
|
|
51927
52076
|
* Retrieve MCP servers associated with this agent
|
|
51928
52077
|
* @summary Get the list of MCP servers associated with this agent
|
package/dist/api.js
CHANGED
|
@@ -7055,6 +7055,58 @@ var ConversationApiFetchParamCreator = function (configuration) {
|
|
|
7055
7055
|
options: localVarRequestOptions,
|
|
7056
7056
|
};
|
|
7057
7057
|
},
|
|
7058
|
+
/**
|
|
7059
|
+
* Delete an agent MCP server
|
|
7060
|
+
* @summary Delete an agent MCP server
|
|
7061
|
+
* @param {number} user_id
|
|
7062
|
+
* @param {string} mcp_server_uuid
|
|
7063
|
+
* @param {*} [options] Override http request option.
|
|
7064
|
+
* @throws {RequiredError}
|
|
7065
|
+
*/
|
|
7066
|
+
deleteAgentProfileMcp: function (user_id, mcp_server_uuid, options) {
|
|
7067
|
+
if (options === void 0) { options = {}; }
|
|
7068
|
+
// verify required parameter 'user_id' is not null or undefined
|
|
7069
|
+
if (user_id === null || user_id === undefined) {
|
|
7070
|
+
throw new RequiredError('user_id', 'Required parameter user_id was null or undefined when calling deleteAgentProfileMcp.');
|
|
7071
|
+
}
|
|
7072
|
+
// verify required parameter 'mcp_server_uuid' is not null or undefined
|
|
7073
|
+
if (mcp_server_uuid === null || mcp_server_uuid === undefined) {
|
|
7074
|
+
throw new RequiredError('mcp_server_uuid', 'Required parameter mcp_server_uuid was null or undefined when calling deleteAgentProfileMcp.');
|
|
7075
|
+
}
|
|
7076
|
+
var localVarPath = "/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}"
|
|
7077
|
+
.replace("{".concat("user_id", "}"), encodeURIComponent(String(user_id)))
|
|
7078
|
+
.replace("{".concat("mcp_server_uuid", "}"), encodeURIComponent(String(mcp_server_uuid)));
|
|
7079
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
7080
|
+
var localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
7081
|
+
var localVarHeaderParameter = {};
|
|
7082
|
+
var localVarQueryParameter = {};
|
|
7083
|
+
if (configuration && configuration.apiVersion) {
|
|
7084
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
7085
|
+
}
|
|
7086
|
+
// authentication ultraCartOauth required
|
|
7087
|
+
// oauth required
|
|
7088
|
+
if (configuration && configuration.accessToken) {
|
|
7089
|
+
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
7090
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_write"])
|
|
7091
|
+
: configuration.accessToken;
|
|
7092
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
7093
|
+
}
|
|
7094
|
+
// authentication ultraCartSimpleApiKey required
|
|
7095
|
+
if (configuration && configuration.apiKey) {
|
|
7096
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
7097
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
7098
|
+
: configuration.apiKey;
|
|
7099
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
7100
|
+
}
|
|
7101
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
7102
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
7103
|
+
delete localVarUrlObj.search;
|
|
7104
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
7105
|
+
return {
|
|
7106
|
+
url: url.format(localVarUrlObj),
|
|
7107
|
+
options: localVarRequestOptions,
|
|
7108
|
+
};
|
|
7109
|
+
},
|
|
7058
7110
|
/**
|
|
7059
7111
|
* Delete a conversation canned message
|
|
7060
7112
|
* @summary Delete a conversation canned message
|
|
@@ -7745,6 +7797,58 @@ var ConversationApiFetchParamCreator = function (configuration) {
|
|
|
7745
7797
|
options: localVarRequestOptions,
|
|
7746
7798
|
};
|
|
7747
7799
|
},
|
|
7800
|
+
/**
|
|
7801
|
+
* Get the tools available from the MCP server
|
|
7802
|
+
* @summary Get the tools available from the MCP server
|
|
7803
|
+
* @param {number} user_id
|
|
7804
|
+
* @param {string} mcp_server_uuid
|
|
7805
|
+
* @param {*} [options] Override http request option.
|
|
7806
|
+
* @throws {RequiredError}
|
|
7807
|
+
*/
|
|
7808
|
+
getAgentProfileMcpTools: function (user_id, mcp_server_uuid, options) {
|
|
7809
|
+
if (options === void 0) { options = {}; }
|
|
7810
|
+
// verify required parameter 'user_id' is not null or undefined
|
|
7811
|
+
if (user_id === null || user_id === undefined) {
|
|
7812
|
+
throw new RequiredError('user_id', 'Required parameter user_id was null or undefined when calling getAgentProfileMcpTools.');
|
|
7813
|
+
}
|
|
7814
|
+
// verify required parameter 'mcp_server_uuid' is not null or undefined
|
|
7815
|
+
if (mcp_server_uuid === null || mcp_server_uuid === undefined) {
|
|
7816
|
+
throw new RequiredError('mcp_server_uuid', 'Required parameter mcp_server_uuid was null or undefined when calling getAgentProfileMcpTools.');
|
|
7817
|
+
}
|
|
7818
|
+
var localVarPath = "/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}/tools"
|
|
7819
|
+
.replace("{".concat("user_id", "}"), encodeURIComponent(String(user_id)))
|
|
7820
|
+
.replace("{".concat("mcp_server_uuid", "}"), encodeURIComponent(String(mcp_server_uuid)));
|
|
7821
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
7822
|
+
var localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
7823
|
+
var localVarHeaderParameter = {};
|
|
7824
|
+
var localVarQueryParameter = {};
|
|
7825
|
+
if (configuration && configuration.apiVersion) {
|
|
7826
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
7827
|
+
}
|
|
7828
|
+
// authentication ultraCartOauth required
|
|
7829
|
+
// oauth required
|
|
7830
|
+
if (configuration && configuration.accessToken) {
|
|
7831
|
+
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
7832
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_read"])
|
|
7833
|
+
: configuration.accessToken;
|
|
7834
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
7835
|
+
}
|
|
7836
|
+
// authentication ultraCartSimpleApiKey required
|
|
7837
|
+
if (configuration && configuration.apiKey) {
|
|
7838
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
7839
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
7840
|
+
: configuration.apiKey;
|
|
7841
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
7842
|
+
}
|
|
7843
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
7844
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
7845
|
+
delete localVarUrlObj.search;
|
|
7846
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
7847
|
+
return {
|
|
7848
|
+
url: url.format(localVarUrlObj),
|
|
7849
|
+
options: localVarRequestOptions,
|
|
7850
|
+
};
|
|
7851
|
+
},
|
|
7748
7852
|
/**
|
|
7749
7853
|
* Retrieve MCP servers associated with this agent
|
|
7750
7854
|
* @summary Get the list of MCP servers associated with this agent
|
|
@@ -11543,6 +11647,29 @@ var ConversationApiFp = function (configuration) {
|
|
|
11543
11647
|
});
|
|
11544
11648
|
};
|
|
11545
11649
|
},
|
|
11650
|
+
/**
|
|
11651
|
+
* Delete an agent MCP server
|
|
11652
|
+
* @summary Delete an agent MCP server
|
|
11653
|
+
* @param {number} user_id
|
|
11654
|
+
* @param {string} mcp_server_uuid
|
|
11655
|
+
* @param {*} [options] Override http request option.
|
|
11656
|
+
* @throws {RequiredError}
|
|
11657
|
+
*/
|
|
11658
|
+
deleteAgentProfileMcp: function (user_id, mcp_server_uuid, options) {
|
|
11659
|
+
var localVarFetchArgs = (0, exports.ConversationApiFetchParamCreator)(configuration).deleteAgentProfileMcp(user_id, mcp_server_uuid, options);
|
|
11660
|
+
return function (fetch, basePath) {
|
|
11661
|
+
if (fetch === void 0) { fetch = portableFetch; }
|
|
11662
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
11663
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
11664
|
+
if (response.status >= 200 && response.status < 300) {
|
|
11665
|
+
return response;
|
|
11666
|
+
}
|
|
11667
|
+
else {
|
|
11668
|
+
throw response;
|
|
11669
|
+
}
|
|
11670
|
+
});
|
|
11671
|
+
};
|
|
11672
|
+
},
|
|
11546
11673
|
/**
|
|
11547
11674
|
* Delete a conversation canned message
|
|
11548
11675
|
* @summary Delete a conversation canned message
|
|
@@ -11873,6 +12000,29 @@ var ConversationApiFp = function (configuration) {
|
|
|
11873
12000
|
});
|
|
11874
12001
|
};
|
|
11875
12002
|
},
|
|
12003
|
+
/**
|
|
12004
|
+
* Get the tools available from the MCP server
|
|
12005
|
+
* @summary Get the tools available from the MCP server
|
|
12006
|
+
* @param {number} user_id
|
|
12007
|
+
* @param {string} mcp_server_uuid
|
|
12008
|
+
* @param {*} [options] Override http request option.
|
|
12009
|
+
* @throws {RequiredError}
|
|
12010
|
+
*/
|
|
12011
|
+
getAgentProfileMcpTools: function (user_id, mcp_server_uuid, options) {
|
|
12012
|
+
var localVarFetchArgs = (0, exports.ConversationApiFetchParamCreator)(configuration).getAgentProfileMcpTools(user_id, mcp_server_uuid, options);
|
|
12013
|
+
return function (fetch, basePath) {
|
|
12014
|
+
if (fetch === void 0) { fetch = portableFetch; }
|
|
12015
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
12016
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
12017
|
+
if (response.status >= 200 && response.status < 300) {
|
|
12018
|
+
return response.json();
|
|
12019
|
+
}
|
|
12020
|
+
else {
|
|
12021
|
+
throw response;
|
|
12022
|
+
}
|
|
12023
|
+
});
|
|
12024
|
+
};
|
|
12025
|
+
},
|
|
11876
12026
|
/**
|
|
11877
12027
|
* Retrieve MCP servers associated with this agent
|
|
11878
12028
|
* @summary Get the list of MCP servers associated with this agent
|
|
@@ -13659,6 +13809,17 @@ var ConversationApiFactory = function (configuration, fetch, basePath) {
|
|
|
13659
13809
|
deleteAgentProfileKnowledgeBaseDocument: function (user_id, document_uuid, options) {
|
|
13660
13810
|
return (0, exports.ConversationApiFp)(configuration).deleteAgentProfileKnowledgeBaseDocument(user_id, document_uuid, options)(fetch, basePath);
|
|
13661
13811
|
},
|
|
13812
|
+
/**
|
|
13813
|
+
* Delete an agent MCP server
|
|
13814
|
+
* @summary Delete an agent MCP server
|
|
13815
|
+
* @param {number} user_id
|
|
13816
|
+
* @param {string} mcp_server_uuid
|
|
13817
|
+
* @param {*} [options] Override http request option.
|
|
13818
|
+
* @throws {RequiredError}
|
|
13819
|
+
*/
|
|
13820
|
+
deleteAgentProfileMcp: function (user_id, mcp_server_uuid, options) {
|
|
13821
|
+
return (0, exports.ConversationApiFp)(configuration).deleteAgentProfileMcp(user_id, mcp_server_uuid, options)(fetch, basePath);
|
|
13822
|
+
},
|
|
13662
13823
|
/**
|
|
13663
13824
|
* Delete a conversation canned message
|
|
13664
13825
|
* @summary Delete a conversation canned message
|
|
@@ -13809,6 +13970,17 @@ var ConversationApiFactory = function (configuration, fetch, basePath) {
|
|
|
13809
13970
|
getAgentProfileMcp: function (user_id, mcp_server_uuid, options) {
|
|
13810
13971
|
return (0, exports.ConversationApiFp)(configuration).getAgentProfileMcp(user_id, mcp_server_uuid, options)(fetch, basePath);
|
|
13811
13972
|
},
|
|
13973
|
+
/**
|
|
13974
|
+
* Get the tools available from the MCP server
|
|
13975
|
+
* @summary Get the tools available from the MCP server
|
|
13976
|
+
* @param {number} user_id
|
|
13977
|
+
* @param {string} mcp_server_uuid
|
|
13978
|
+
* @param {*} [options] Override http request option.
|
|
13979
|
+
* @throws {RequiredError}
|
|
13980
|
+
*/
|
|
13981
|
+
getAgentProfileMcpTools: function (user_id, mcp_server_uuid, options) {
|
|
13982
|
+
return (0, exports.ConversationApiFp)(configuration).getAgentProfileMcpTools(user_id, mcp_server_uuid, options)(fetch, basePath);
|
|
13983
|
+
},
|
|
13812
13984
|
/**
|
|
13813
13985
|
* Retrieve MCP servers associated with this agent
|
|
13814
13986
|
* @summary Get the list of MCP servers associated with this agent
|
|
@@ -14641,6 +14813,18 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
14641
14813
|
ConversationApi.prototype.deleteAgentProfileKnowledgeBaseDocument = function (user_id, document_uuid, options) {
|
|
14642
14814
|
return (0, exports.ConversationApiFp)(this.configuration).deleteAgentProfileKnowledgeBaseDocument(user_id, document_uuid, options)(this.fetch, this.basePath);
|
|
14643
14815
|
};
|
|
14816
|
+
/**
|
|
14817
|
+
* Delete an agent MCP server
|
|
14818
|
+
* @summary Delete an agent MCP server
|
|
14819
|
+
* @param {number} user_id
|
|
14820
|
+
* @param {string} mcp_server_uuid
|
|
14821
|
+
* @param {*} [options] Override http request option.
|
|
14822
|
+
* @throws {RequiredError}
|
|
14823
|
+
* @memberof ConversationApi
|
|
14824
|
+
*/
|
|
14825
|
+
ConversationApi.prototype.deleteAgentProfileMcp = function (user_id, mcp_server_uuid, options) {
|
|
14826
|
+
return (0, exports.ConversationApiFp)(this.configuration).deleteAgentProfileMcp(user_id, mcp_server_uuid, options)(this.fetch, this.basePath);
|
|
14827
|
+
};
|
|
14644
14828
|
/**
|
|
14645
14829
|
* Delete a conversation canned message
|
|
14646
14830
|
* @summary Delete a conversation canned message
|
|
@@ -14806,6 +14990,18 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
14806
14990
|
ConversationApi.prototype.getAgentProfileMcp = function (user_id, mcp_server_uuid, options) {
|
|
14807
14991
|
return (0, exports.ConversationApiFp)(this.configuration).getAgentProfileMcp(user_id, mcp_server_uuid, options)(this.fetch, this.basePath);
|
|
14808
14992
|
};
|
|
14993
|
+
/**
|
|
14994
|
+
* Get the tools available from the MCP server
|
|
14995
|
+
* @summary Get the tools available from the MCP server
|
|
14996
|
+
* @param {number} user_id
|
|
14997
|
+
* @param {string} mcp_server_uuid
|
|
14998
|
+
* @param {*} [options] Override http request option.
|
|
14999
|
+
* @throws {RequiredError}
|
|
15000
|
+
* @memberof ConversationApi
|
|
15001
|
+
*/
|
|
15002
|
+
ConversationApi.prototype.getAgentProfileMcpTools = function (user_id, mcp_server_uuid, options) {
|
|
15003
|
+
return (0, exports.ConversationApiFp)(this.configuration).getAgentProfileMcpTools(user_id, mcp_server_uuid, options)(this.fetch, this.basePath);
|
|
15004
|
+
};
|
|
14809
15005
|
/**
|
|
14810
15006
|
* Retrieve MCP servers associated with this agent
|
|
14811
15007
|
* @summary Get the list of MCP servers associated with this agent
|