ultracart_rest_api_v2_typescript 3.11.30 → 3.11.32

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## ultracart_rest_api_v2_typescript@3.11.30
1
+ ## ultracart_rest_api_v2_typescript@3.11.32
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.30 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.11.32 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
54
54
 
55
55
  | Version | Date | Comments |
56
56
  | --: | :-: | --- |
57
+ | 3.11.32 | 11/20/2025 | conversion api bug fix on incorrect signature |
58
+ | 3.11.31 | 11/20/2025 | conversation - AI agent mcp server tools function |
57
59
  | 3.11.30 | 11/19/2025 | conversation - AI agent MCP server configuration methods |
58
60
  | 3.11.29 | 11/13/2025 | conversations - AI capabilities flag for generate coupon |
59
61
  | 3.11.28 | 11/07/2025 | OrderApi.assignToAffiliate |
package/api.ts CHANGED
@@ -8709,6 +8709,44 @@ export interface ConversationMcpServerResponse {
8709
8709
  warning?: Warning;
8710
8710
  }
8711
8711
 
8712
+ /**
8713
+ *
8714
+ * @export
8715
+ * @interface ConversationMcpServerToolsResponse
8716
+ */
8717
+ export interface ConversationMcpServerToolsResponse {
8718
+ /**
8719
+ *
8720
+ * @type {ModelError}
8721
+ * @memberof ConversationMcpServerToolsResponse
8722
+ */
8723
+ error?: ModelError;
8724
+ /**
8725
+ *
8726
+ * @type {ResponseMetadata}
8727
+ * @memberof ConversationMcpServerToolsResponse
8728
+ */
8729
+ metadata?: ResponseMetadata;
8730
+ /**
8731
+ * Indicates if API call was successful
8732
+ * @type {boolean}
8733
+ * @memberof ConversationMcpServerToolsResponse
8734
+ */
8735
+ success?: boolean;
8736
+ /**
8737
+ *
8738
+ * @type {string}
8739
+ * @memberof ConversationMcpServerToolsResponse
8740
+ */
8741
+ tools_json?: string;
8742
+ /**
8743
+ *
8744
+ * @type {Warning}
8745
+ * @memberof ConversationMcpServerToolsResponse
8746
+ */
8747
+ warning?: Warning;
8748
+ }
8749
+
8712
8750
  /**
8713
8751
  *
8714
8752
  * @export
@@ -53110,6 +53148,64 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
53110
53148
 
53111
53149
 
53112
53150
 
53151
+ // authentication ultraCartOauth required
53152
+ // oauth required
53153
+ if (configuration && configuration.accessToken) {
53154
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
53155
+ ? configuration.accessToken("ultraCartOauth", ["conversation_write"])
53156
+ : configuration.accessToken;
53157
+ localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
53158
+ }
53159
+
53160
+ // authentication ultraCartSimpleApiKey required
53161
+ if (configuration && configuration.apiKey) {
53162
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
53163
+ ? configuration.apiKey("x-ultracart-simple-key")
53164
+ : configuration.apiKey;
53165
+ localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
53166
+ }
53167
+
53168
+ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
53169
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
53170
+ delete localVarUrlObj.search;
53171
+ localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
53172
+
53173
+ return {
53174
+ url: url.format(localVarUrlObj),
53175
+ options: localVarRequestOptions,
53176
+ };
53177
+ },
53178
+ /**
53179
+ * Delete an agent MCP server
53180
+ * @summary Delete an agent MCP server
53181
+ * @param {number} user_id
53182
+ * @param {string} mcp_server_uuid
53183
+ * @param {*} [options] Override http request option.
53184
+ * @throws {RequiredError}
53185
+ */
53186
+ deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options: any = {}): FetchArgs {
53187
+ // verify required parameter 'user_id' is not null or undefined
53188
+ if (user_id === null || user_id === undefined) {
53189
+ throw new RequiredError('user_id','Required parameter user_id was null or undefined when calling deleteAgentProfileMcp.');
53190
+ }
53191
+ // verify required parameter 'mcp_server_uuid' is not null or undefined
53192
+ if (mcp_server_uuid === null || mcp_server_uuid === undefined) {
53193
+ throw new RequiredError('mcp_server_uuid','Required parameter mcp_server_uuid was null or undefined when calling deleteAgentProfileMcp.');
53194
+ }
53195
+ const localVarPath = `/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}`
53196
+ .replace(`{${"user_id"}}`, encodeURIComponent(String(user_id)))
53197
+ .replace(`{${"mcp_server_uuid"}}`, encodeURIComponent(String(mcp_server_uuid)));
53198
+ const localVarUrlObj = url.parse(localVarPath, true);
53199
+ const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
53200
+ const localVarHeaderParameter = {} as any;
53201
+ const localVarQueryParameter = {} as any;
53202
+
53203
+ if(configuration && configuration.apiVersion) {
53204
+ localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
53205
+ }
53206
+
53207
+
53208
+
53113
53209
  // authentication ultraCartOauth required
53114
53210
  // oauth required
53115
53211
  if (configuration && configuration.accessToken) {
@@ -53890,6 +53986,64 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
53890
53986
 
53891
53987
 
53892
53988
 
53989
+ // authentication ultraCartOauth required
53990
+ // oauth required
53991
+ if (configuration && configuration.accessToken) {
53992
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
53993
+ ? configuration.accessToken("ultraCartOauth", ["conversation_read"])
53994
+ : configuration.accessToken;
53995
+ localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
53996
+ }
53997
+
53998
+ // authentication ultraCartSimpleApiKey required
53999
+ if (configuration && configuration.apiKey) {
54000
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
54001
+ ? configuration.apiKey("x-ultracart-simple-key")
54002
+ : configuration.apiKey;
54003
+ localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
54004
+ }
54005
+
54006
+ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
54007
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
54008
+ delete localVarUrlObj.search;
54009
+ localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
54010
+
54011
+ return {
54012
+ url: url.format(localVarUrlObj),
54013
+ options: localVarRequestOptions,
54014
+ };
54015
+ },
54016
+ /**
54017
+ * Get the tools available from the MCP server
54018
+ * @summary Get the tools available from the MCP server
54019
+ * @param {number} user_id
54020
+ * @param {string} mcp_server_uuid
54021
+ * @param {*} [options] Override http request option.
54022
+ * @throws {RequiredError}
54023
+ */
54024
+ getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options: any = {}): FetchArgs {
54025
+ // verify required parameter 'user_id' is not null or undefined
54026
+ if (user_id === null || user_id === undefined) {
54027
+ throw new RequiredError('user_id','Required parameter user_id was null or undefined when calling getAgentProfileMcpTools.');
54028
+ }
54029
+ // verify required parameter 'mcp_server_uuid' is not null or undefined
54030
+ if (mcp_server_uuid === null || mcp_server_uuid === undefined) {
54031
+ throw new RequiredError('mcp_server_uuid','Required parameter mcp_server_uuid was null or undefined when calling getAgentProfileMcpTools.');
54032
+ }
54033
+ const localVarPath = `/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}/tools`
54034
+ .replace(`{${"user_id"}}`, encodeURIComponent(String(user_id)))
54035
+ .replace(`{${"mcp_server_uuid"}}`, encodeURIComponent(String(mcp_server_uuid)));
54036
+ const localVarUrlObj = url.parse(localVarPath, true);
54037
+ const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
54038
+ const localVarHeaderParameter = {} as any;
54039
+ const localVarQueryParameter = {} as any;
54040
+
54041
+ if(configuration && configuration.apiVersion) {
54042
+ localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
54043
+ }
54044
+
54045
+
54046
+
53893
54047
  // authentication ultraCartOauth required
53894
54048
  // oauth required
53895
54049
  if (configuration && configuration.accessToken) {
@@ -58233,6 +58387,28 @@ export const ConversationApiFp = function(configuration?: Configuration) {
58233
58387
  });
58234
58388
  };
58235
58389
  },
58390
+ /**
58391
+ * Delete an agent MCP server
58392
+ * @summary Delete an agent MCP server
58393
+ * @param {number} user_id
58394
+ * @param {string} mcp_server_uuid
58395
+ * @param {*} [options] Override http request option.
58396
+ * @throws {RequiredError}
58397
+ */
58398
+ deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response> {
58399
+ const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).deleteAgentProfileMcp(user_id, mcp_server_uuid, options);
58400
+ return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
58401
+ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
58402
+
58403
+ if (response.status >= 200 && response.status < 300) {
58404
+ return response;
58405
+
58406
+ } else {
58407
+ throw response;
58408
+ }
58409
+ });
58410
+ };
58411
+ },
58236
58412
  /**
58237
58413
  * Delete a conversation canned message
58238
58414
  * @summary Delete a conversation canned message
@@ -58548,6 +58724,28 @@ export const ConversationApiFp = function(configuration?: Configuration) {
58548
58724
  });
58549
58725
  };
58550
58726
  },
58727
+ /**
58728
+ * Get the tools available from the MCP server
58729
+ * @summary Get the tools available from the MCP server
58730
+ * @param {number} user_id
58731
+ * @param {string} mcp_server_uuid
58732
+ * @param {*} [options] Override http request option.
58733
+ * @throws {RequiredError}
58734
+ */
58735
+ getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationMcpServerToolsResponse> {
58736
+ const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).getAgentProfileMcpTools(user_id, mcp_server_uuid, options);
58737
+ return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
58738
+ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
58739
+
58740
+ if (response.status >= 200 && response.status < 300) {
58741
+ return response.json();
58742
+
58743
+ } else {
58744
+ throw response;
58745
+ }
58746
+ });
58747
+ };
58748
+ },
58551
58749
  /**
58552
58750
  * Retrieve MCP servers associated with this agent
58553
58751
  * @summary Get the list of MCP servers associated with this agent
@@ -60254,6 +60452,17 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
60254
60452
  deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any) {
60255
60453
  return ConversationApiFp(configuration).deleteAgentProfileKnowledgeBaseDocument(user_id, document_uuid, options)(fetch, basePath);
60256
60454
  },
60455
+ /**
60456
+ * Delete an agent MCP server
60457
+ * @summary Delete an agent MCP server
60458
+ * @param {number} user_id
60459
+ * @param {string} mcp_server_uuid
60460
+ * @param {*} [options] Override http request option.
60461
+ * @throws {RequiredError}
60462
+ */
60463
+ deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any) {
60464
+ return ConversationApiFp(configuration).deleteAgentProfileMcp(user_id, mcp_server_uuid, options)(fetch, basePath);
60465
+ },
60257
60466
  /**
60258
60467
  * Delete a conversation canned message
60259
60468
  * @summary Delete a conversation canned message
@@ -60404,6 +60613,17 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
60404
60613
  getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any) {
60405
60614
  return ConversationApiFp(configuration).getAgentProfileMcp(user_id, mcp_server_uuid, options)(fetch, basePath);
60406
60615
  },
60616
+ /**
60617
+ * Get the tools available from the MCP server
60618
+ * @summary Get the tools available from the MCP server
60619
+ * @param {number} user_id
60620
+ * @param {string} mcp_server_uuid
60621
+ * @param {*} [options] Override http request option.
60622
+ * @throws {RequiredError}
60623
+ */
60624
+ getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any) {
60625
+ return ConversationApiFp(configuration).getAgentProfileMcpTools(user_id, mcp_server_uuid, options)(fetch, basePath);
60626
+ },
60407
60627
  /**
60408
60628
  * Retrieve MCP servers associated with this agent
60409
60629
  * @summary Get the list of MCP servers associated with this agent
@@ -61230,6 +61450,17 @@ export interface ConversationApiInterface {
61230
61450
  */
61231
61451
  deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any): Promise<ConversationDeleteKnowledgeBaseDocumentResponse>;
61232
61452
 
61453
+ /**
61454
+ * Delete an agent MCP server
61455
+ * @summary Delete an agent MCP server
61456
+ * @param {number} user_id
61457
+ * @param {string} mcp_server_uuid
61458
+ * @param {*} [options] Override http request option.
61459
+ * @throws {RequiredError}
61460
+ * @memberof ConversationApiInterface
61461
+ */
61462
+ deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<{}>;
61463
+
61233
61464
  /**
61234
61465
  * Delete a conversation canned message
61235
61466
  * @summary Delete a conversation canned message
@@ -61380,6 +61611,17 @@ export interface ConversationApiInterface {
61380
61611
  */
61381
61612
  getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerResponse>;
61382
61613
 
61614
+ /**
61615
+ * Get the tools available from the MCP server
61616
+ * @summary Get the tools available from the MCP server
61617
+ * @param {number} user_id
61618
+ * @param {string} mcp_server_uuid
61619
+ * @param {*} [options] Override http request option.
61620
+ * @throws {RequiredError}
61621
+ * @memberof ConversationApiInterface
61622
+ */
61623
+ getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerToolsResponse>;
61624
+
61383
61625
  /**
61384
61626
  * Retrieve MCP servers associated with this agent
61385
61627
  * @summary Get the list of MCP servers associated with this agent
@@ -62208,6 +62450,19 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
62208
62450
  return ConversationApiFp(this.configuration).deleteAgentProfileKnowledgeBaseDocument(user_id, document_uuid, options)(this.fetch, this.basePath);
62209
62451
  }
62210
62452
 
62453
+ /**
62454
+ * Delete an agent MCP server
62455
+ * @summary Delete an agent MCP server
62456
+ * @param {number} user_id
62457
+ * @param {string} mcp_server_uuid
62458
+ * @param {*} [options] Override http request option.
62459
+ * @throws {RequiredError}
62460
+ * @memberof ConversationApi
62461
+ */
62462
+ public deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any) {
62463
+ return ConversationApiFp(this.configuration).deleteAgentProfileMcp(user_id, mcp_server_uuid, options)(this.fetch, this.basePath);
62464
+ }
62465
+
62211
62466
  /**
62212
62467
  * Delete a conversation canned message
62213
62468
  * @summary Delete a conversation canned message
@@ -62388,6 +62643,19 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
62388
62643
  return ConversationApiFp(this.configuration).getAgentProfileMcp(user_id, mcp_server_uuid, options)(this.fetch, this.basePath);
62389
62644
  }
62390
62645
 
62646
+ /**
62647
+ * Get the tools available from the MCP server
62648
+ * @summary Get the tools available from the MCP server
62649
+ * @param {number} user_id
62650
+ * @param {string} mcp_server_uuid
62651
+ * @param {*} [options] Override http request option.
62652
+ * @throws {RequiredError}
62653
+ * @memberof ConversationApi
62654
+ */
62655
+ public getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any) {
62656
+ return ConversationApiFp(this.configuration).getAgentProfileMcpTools(user_id, mcp_server_uuid, options)(this.fetch, this.basePath);
62657
+ }
62658
+
62391
62659
  /**
62392
62660
  * Retrieve MCP servers associated with this agent
62393
62661
  * @summary Get the list of MCP servers associated with this agent
package/dist/api.d.ts CHANGED
@@ -8501,6 +8501,43 @@ export interface ConversationMcpServerResponse {
8501
8501
  */
8502
8502
  warning?: Warning;
8503
8503
  }
8504
+ /**
8505
+ *
8506
+ * @export
8507
+ * @interface ConversationMcpServerToolsResponse
8508
+ */
8509
+ export interface ConversationMcpServerToolsResponse {
8510
+ /**
8511
+ *
8512
+ * @type {ModelError}
8513
+ * @memberof ConversationMcpServerToolsResponse
8514
+ */
8515
+ error?: ModelError;
8516
+ /**
8517
+ *
8518
+ * @type {ResponseMetadata}
8519
+ * @memberof ConversationMcpServerToolsResponse
8520
+ */
8521
+ metadata?: ResponseMetadata;
8522
+ /**
8523
+ * Indicates if API call was successful
8524
+ * @type {boolean}
8525
+ * @memberof ConversationMcpServerToolsResponse
8526
+ */
8527
+ success?: boolean;
8528
+ /**
8529
+ *
8530
+ * @type {string}
8531
+ * @memberof ConversationMcpServerToolsResponse
8532
+ */
8533
+ tools_json?: string;
8534
+ /**
8535
+ *
8536
+ * @type {Warning}
8537
+ * @memberof ConversationMcpServerToolsResponse
8538
+ */
8539
+ warning?: Warning;
8540
+ }
8504
8541
  /**
8505
8542
  *
8506
8543
  * @export
@@ -48564,6 +48601,15 @@ export declare const ConversationApiFetchParamCreator: (configuration?: Configur
48564
48601
  * @throws {RequiredError}
48565
48602
  */
48566
48603
  deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any): FetchArgs;
48604
+ /**
48605
+ * Delete an agent MCP server
48606
+ * @summary Delete an agent MCP server
48607
+ * @param {number} user_id
48608
+ * @param {string} mcp_server_uuid
48609
+ * @param {*} [options] Override http request option.
48610
+ * @throws {RequiredError}
48611
+ */
48612
+ deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): FetchArgs;
48567
48613
  /**
48568
48614
  * Delete a conversation canned message
48569
48615
  * @summary Delete a conversation canned message
@@ -48684,6 +48730,15 @@ export declare const ConversationApiFetchParamCreator: (configuration?: Configur
48684
48730
  * @throws {RequiredError}
48685
48731
  */
48686
48732
  getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): FetchArgs;
48733
+ /**
48734
+ * Get the tools available from the MCP server
48735
+ * @summary Get the tools available from the MCP server
48736
+ * @param {number} user_id
48737
+ * @param {string} mcp_server_uuid
48738
+ * @param {*} [options] Override http request option.
48739
+ * @throws {RequiredError}
48740
+ */
48741
+ getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): FetchArgs;
48687
48742
  /**
48688
48743
  * Retrieve MCP servers associated with this agent
48689
48744
  * @summary Get the list of MCP servers associated with this agent
@@ -49345,6 +49400,15 @@ export declare const ConversationApiFp: (configuration?: Configuration) => {
49345
49400
  * @throws {RequiredError}
49346
49401
  */
49347
49402
  deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationDeleteKnowledgeBaseDocumentResponse>;
49403
+ /**
49404
+ * Delete an agent MCP server
49405
+ * @summary Delete an agent MCP server
49406
+ * @param {number} user_id
49407
+ * @param {string} mcp_server_uuid
49408
+ * @param {*} [options] Override http request option.
49409
+ * @throws {RequiredError}
49410
+ */
49411
+ deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
49348
49412
  /**
49349
49413
  * Delete a conversation canned message
49350
49414
  * @summary Delete a conversation canned message
@@ -49465,6 +49529,15 @@ export declare const ConversationApiFp: (configuration?: Configuration) => {
49465
49529
  * @throws {RequiredError}
49466
49530
  */
49467
49531
  getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationMcpServerResponse>;
49532
+ /**
49533
+ * Get the tools available from the MCP server
49534
+ * @summary Get the tools available from the MCP server
49535
+ * @param {number} user_id
49536
+ * @param {string} mcp_server_uuid
49537
+ * @param {*} [options] Override http request option.
49538
+ * @throws {RequiredError}
49539
+ */
49540
+ getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationMcpServerToolsResponse>;
49468
49541
  /**
49469
49542
  * Retrieve MCP servers associated with this agent
49470
49543
  * @summary Get the list of MCP servers associated with this agent
@@ -50126,6 +50199,15 @@ export declare const ConversationApiFactory: (configuration?: Configuration, fet
50126
50199
  * @throws {RequiredError}
50127
50200
  */
50128
50201
  deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any): Promise<ConversationDeleteKnowledgeBaseDocumentResponse>;
50202
+ /**
50203
+ * Delete an agent MCP server
50204
+ * @summary Delete an agent MCP server
50205
+ * @param {number} user_id
50206
+ * @param {string} mcp_server_uuid
50207
+ * @param {*} [options] Override http request option.
50208
+ * @throws {RequiredError}
50209
+ */
50210
+ deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<Response>;
50129
50211
  /**
50130
50212
  * Delete a conversation canned message
50131
50213
  * @summary Delete a conversation canned message
@@ -50246,6 +50328,15 @@ export declare const ConversationApiFactory: (configuration?: Configuration, fet
50246
50328
  * @throws {RequiredError}
50247
50329
  */
50248
50330
  getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerResponse>;
50331
+ /**
50332
+ * Get the tools available from the MCP server
50333
+ * @summary Get the tools available from the MCP server
50334
+ * @param {number} user_id
50335
+ * @param {string} mcp_server_uuid
50336
+ * @param {*} [options] Override http request option.
50337
+ * @throws {RequiredError}
50338
+ */
50339
+ getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerToolsResponse>;
50249
50340
  /**
50250
50341
  * Retrieve MCP servers associated with this agent
50251
50342
  * @summary Get the list of MCP servers associated with this agent
@@ -50909,6 +51000,16 @@ export interface ConversationApiInterface {
50909
51000
  * @memberof ConversationApiInterface
50910
51001
  */
50911
51002
  deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any): Promise<ConversationDeleteKnowledgeBaseDocumentResponse>;
51003
+ /**
51004
+ * Delete an agent MCP server
51005
+ * @summary Delete an agent MCP server
51006
+ * @param {number} user_id
51007
+ * @param {string} mcp_server_uuid
51008
+ * @param {*} [options] Override http request option.
51009
+ * @throws {RequiredError}
51010
+ * @memberof ConversationApiInterface
51011
+ */
51012
+ deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<{}>;
50912
51013
  /**
50913
51014
  * Delete a conversation canned message
50914
51015
  * @summary Delete a conversation canned message
@@ -51044,6 +51145,16 @@ export interface ConversationApiInterface {
51044
51145
  * @memberof ConversationApiInterface
51045
51146
  */
51046
51147
  getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerResponse>;
51148
+ /**
51149
+ * Get the tools available from the MCP server
51150
+ * @summary Get the tools available from the MCP server
51151
+ * @param {number} user_id
51152
+ * @param {string} mcp_server_uuid
51153
+ * @param {*} [options] Override http request option.
51154
+ * @throws {RequiredError}
51155
+ * @memberof ConversationApiInterface
51156
+ */
51157
+ getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerToolsResponse>;
51047
51158
  /**
51048
51159
  * Retrieve MCP servers associated with this agent
51049
51160
  * @summary Get the list of MCP servers associated with this agent
@@ -51788,6 +51899,16 @@ export declare class ConversationApi extends BaseAPI implements ConversationApiI
51788
51899
  * @memberof ConversationApi
51789
51900
  */
51790
51901
  deleteAgentProfileKnowledgeBaseDocument(user_id: number, document_uuid: string, options?: any): Promise<ConversationDeleteKnowledgeBaseDocumentResponse>;
51902
+ /**
51903
+ * Delete an agent MCP server
51904
+ * @summary Delete an agent MCP server
51905
+ * @param {number} user_id
51906
+ * @param {string} mcp_server_uuid
51907
+ * @param {*} [options] Override http request option.
51908
+ * @throws {RequiredError}
51909
+ * @memberof ConversationApi
51910
+ */
51911
+ deleteAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<Response>;
51791
51912
  /**
51792
51913
  * Delete a conversation canned message
51793
51914
  * @summary Delete a conversation canned message
@@ -51923,6 +52044,16 @@ export declare class ConversationApi extends BaseAPI implements ConversationApiI
51923
52044
  * @memberof ConversationApi
51924
52045
  */
51925
52046
  getAgentProfileMcp(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerResponse>;
52047
+ /**
52048
+ * Get the tools available from the MCP server
52049
+ * @summary Get the tools available from the MCP server
52050
+ * @param {number} user_id
52051
+ * @param {string} mcp_server_uuid
52052
+ * @param {*} [options] Override http request option.
52053
+ * @throws {RequiredError}
52054
+ * @memberof ConversationApi
52055
+ */
52056
+ getAgentProfileMcpTools(user_id: number, mcp_server_uuid: string, options?: any): Promise<ConversationMcpServerToolsResponse>;
51926
52057
  /**
51927
52058
  * Retrieve MCP servers associated with this agent
51928
52059
  * @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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "3.11.30",
3
+ "version": "3.11.32",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "keywords": [