@gooddata/api-client-tiger 11.41.0-alpha.1 → 11.41.0-alpha.3
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +652 -106
- package/esm/endpoints/genAI/index.d.ts +2 -2
- package/esm/endpoints/genAI/index.js +3 -3
- package/esm/genAI.d.ts +3 -1
- package/esm/genAI.js +21 -5
- package/esm/generated/afm-rest-api/api.d.ts +334 -0
- package/esm/generated/afm-rest-api/api.js +347 -0
- package/esm/generated/ai-json-api/api.d.ts +243 -2
- package/esm/generated/ai-json-api/api.js +235 -2
- package/esm/generated/auth-json-api/api.d.ts +0 -511
- package/esm/generated/auth-json-api/api.js +0 -650
- package/esm/generated/automation-json-api/api.d.ts +4 -0
- package/esm/generated/metadata-json-api/api.d.ts +103 -92
- package/esm/index.d.ts +3 -3
- package/esm/tsdoc-metadata.json +1 -1
- package/package.json +4 -4
|
@@ -44,6 +44,23 @@ export interface AiAfmObjectIdentifierBody {
|
|
|
44
44
|
'id': string;
|
|
45
45
|
'type': string;
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* A single agent visible to the calling user in the workspace.
|
|
49
|
+
*/
|
|
50
|
+
export interface AiAgentListItemResponse {
|
|
51
|
+
'id': string;
|
|
52
|
+
'name': string;
|
|
53
|
+
'description'?: string | null;
|
|
54
|
+
'isAvailableToAll': boolean;
|
|
55
|
+
'modifiedAt'?: string | null;
|
|
56
|
+
'lastUsedAt'?: string | null;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* List of agents accessible to the calling user.
|
|
60
|
+
*/
|
|
61
|
+
export interface AiAgentListResponse {
|
|
62
|
+
'agents': Array<AiAgentListItemResponse>;
|
|
63
|
+
}
|
|
47
64
|
export interface AiAllTimeDateFilterBodyInput {
|
|
48
65
|
'dataset': AiAfmObjectIdentifier;
|
|
49
66
|
'granularity'?: AiDateGranularityInput | null;
|
|
@@ -246,8 +263,14 @@ export interface AiConversationItemResponse {
|
|
|
246
263
|
'responseId'?: string | null;
|
|
247
264
|
'replyTo'?: string | null;
|
|
248
265
|
'taskId'?: string | null;
|
|
266
|
+
'agentId'?: string | null;
|
|
267
|
+
'oldAgentId'?: string | null;
|
|
268
|
+
'newAgentId'?: string | null;
|
|
269
|
+
'actorUserId'?: string | null;
|
|
270
|
+
'trigger'?: AiConversationItemResponseTriggerEnum | null;
|
|
249
271
|
}
|
|
250
|
-
export type AiConversationItemResponseRoleEnum = 'user' | 'assistant' | 'tool';
|
|
272
|
+
export type AiConversationItemResponseRoleEnum = 'user' | 'assistant' | 'tool' | 'system';
|
|
273
|
+
export type AiConversationItemResponseTriggerEnum = 'agent_switched' | 'agent_updated';
|
|
251
274
|
export interface AiConversationListMeta {
|
|
252
275
|
'page': AiConversationListPageMeta;
|
|
253
276
|
}
|
|
@@ -336,6 +359,12 @@ export interface AiConversationUpdateRequest {
|
|
|
336
359
|
'title'?: string | null;
|
|
337
360
|
'pinned'?: boolean | null;
|
|
338
361
|
}
|
|
362
|
+
/**
|
|
363
|
+
* POST /conversations body.
|
|
364
|
+
*/
|
|
365
|
+
export interface AiCreateConversationRequest {
|
|
366
|
+
'agentId'?: string | null;
|
|
367
|
+
}
|
|
339
368
|
export interface AiDateFilterAbsolute {
|
|
340
369
|
'type': AiDateFilterAbsoluteTypeEnum;
|
|
341
370
|
'using': string;
|
|
@@ -622,6 +651,12 @@ export interface AiMetricSortLocatorItem {
|
|
|
622
651
|
'element'?: string;
|
|
623
652
|
'function'?: string;
|
|
624
653
|
}
|
|
654
|
+
export interface AiMetricUsageResponse {
|
|
655
|
+
'type': AiObservabilityMetricType;
|
|
656
|
+
'currentValue': number;
|
|
657
|
+
'previousValue': number;
|
|
658
|
+
'total'?: number | null;
|
|
659
|
+
}
|
|
625
660
|
export declare const AiMetricValueFilterConditionComparison: {
|
|
626
661
|
readonly GREATER_THAN: "GREATER_THAN";
|
|
627
662
|
readonly GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO";
|
|
@@ -688,6 +723,18 @@ export declare const AiObjectType: {
|
|
|
688
723
|
readonly PARAMETER: "parameter";
|
|
689
724
|
};
|
|
690
725
|
export type AiObjectType = typeof AiObjectType[keyof typeof AiObjectType];
|
|
726
|
+
/**
|
|
727
|
+
* Metrics exposed by the AI observability endpoint.
|
|
728
|
+
*/
|
|
729
|
+
export declare const AiObservabilityMetricType: {
|
|
730
|
+
readonly AI_QUERIES: "AI_QUERIES";
|
|
731
|
+
readonly AI_WORKSPACES: "AI_WORKSPACES";
|
|
732
|
+
readonly AI_USERS: "AI_USERS";
|
|
733
|
+
};
|
|
734
|
+
export type AiObservabilityMetricType = typeof AiObservabilityMetricType[keyof typeof AiObservabilityMetricType];
|
|
735
|
+
export interface AiObservabilityOverviewResponse {
|
|
736
|
+
'metrics': Array<AiMetricUsageResponse>;
|
|
737
|
+
}
|
|
691
738
|
/**
|
|
692
739
|
* Request body for PATCH /documents/{documentId}.
|
|
693
740
|
*/
|
|
@@ -1014,6 +1061,12 @@ export interface AiSummarizeResponse {
|
|
|
1014
1061
|
* @type AiSummarizeResponseFilterContextInner
|
|
1015
1062
|
*/
|
|
1016
1063
|
export type AiSummarizeResponseFilterContextInner = AiAbsoluteDateFilter | AiAllTimeDateFilterOutput | AiAppApplicationDtosAfmFilterDefinitionRankingFilter | AiComparisonMeasureValueFilter | AiCompoundMeasureValueFilter | AiInlineFilterDefinition | AiMatchAttributeFilter | AiNegativeAttributeFilter | AiPositiveAttributeFilter | AiRangeMeasureValueFilter | AiRelativeDateFilterOutput;
|
|
1064
|
+
/**
|
|
1065
|
+
* POST /conversations/{conversationId}/switchAgent body.
|
|
1066
|
+
*/
|
|
1067
|
+
export interface AiSwitchAgentRequest {
|
|
1068
|
+
'agentId': string;
|
|
1069
|
+
}
|
|
1017
1070
|
export interface AiTextFilterValue {
|
|
1018
1071
|
'type': AiTextFilterValueTypeEnum;
|
|
1019
1072
|
'using': string;
|
|
@@ -1076,6 +1129,7 @@ export interface AiUserContext {
|
|
|
1076
1129
|
export interface AiUserContextDashboard {
|
|
1077
1130
|
'id': string;
|
|
1078
1131
|
'widgets'?: Array<AiUserContextWidgetDescriptor>;
|
|
1132
|
+
'filters'?: Array<AiVisualizationFilter> | null;
|
|
1079
1133
|
}
|
|
1080
1134
|
export interface AiUserContextInsightWidgetDescriptor {
|
|
1081
1135
|
'widgetId': string;
|
|
@@ -1297,6 +1351,55 @@ export interface AiWhatIfScenarioVariant {
|
|
|
1297
1351
|
*/
|
|
1298
1352
|
'adjustments': Array<AiWhatIfMeasureAdjustment>;
|
|
1299
1353
|
}
|
|
1354
|
+
/**
|
|
1355
|
+
* Returns AI usage stats for the caller\'s organization for the current calendar month, alongside the previous month\'s value. Backed by the ai_usage_counters table populated by the metering pipeline.
|
|
1356
|
+
* @summary (EXPERIMENTAL) AI observability overview for the caller\'s organization
|
|
1357
|
+
* @param {*} [options] Override http request option.
|
|
1358
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1359
|
+
* @throws {RequiredError}
|
|
1360
|
+
*/
|
|
1361
|
+
export declare function AIObservabilityAiAxiosParamCreator_GetObservabilityOverview(options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
|
|
1362
|
+
/**
|
|
1363
|
+
* Returns AI usage stats for the caller\'s organization for the current calendar month, alongside the previous month\'s value. Backed by the ai_usage_counters table populated by the metering pipeline.
|
|
1364
|
+
* @summary (EXPERIMENTAL) AI observability overview for the caller\'s organization
|
|
1365
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1366
|
+
* @param {string} basePath Base path.
|
|
1367
|
+
* @param {*} [options] Override http request option.
|
|
1368
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1369
|
+
* @throws {RequiredError}
|
|
1370
|
+
*/
|
|
1371
|
+
export declare function AIObservabilityAi_GetObservabilityOverview(axios: AxiosInstance, basePath: string, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiObservabilityOverviewResponse>;
|
|
1372
|
+
/**
|
|
1373
|
+
* AIObservabilityAi - interface
|
|
1374
|
+
* @export
|
|
1375
|
+
* @interface AIObservabilityAi
|
|
1376
|
+
*/
|
|
1377
|
+
export interface AIObservabilityAiInterface {
|
|
1378
|
+
/**
|
|
1379
|
+
* Returns AI usage stats for the caller\'s organization for the current calendar month, alongside the previous month\'s value. Backed by the ai_usage_counters table populated by the metering pipeline.
|
|
1380
|
+
* @summary (EXPERIMENTAL) AI observability overview for the caller\'s organization
|
|
1381
|
+
* @param {*} [options] Override http request option.
|
|
1382
|
+
* @throws {RequiredError}
|
|
1383
|
+
* @memberof AIObservabilityAiInterface
|
|
1384
|
+
*/
|
|
1385
|
+
getObservabilityOverview(options?: AxiosRequestConfig): AxiosPromise<AiObservabilityOverviewResponse>;
|
|
1386
|
+
}
|
|
1387
|
+
/**
|
|
1388
|
+
* AIObservabilityAi - object-oriented interface
|
|
1389
|
+
* @export
|
|
1390
|
+
* @class AIObservabilityAi
|
|
1391
|
+
* @extends {BaseAPI}
|
|
1392
|
+
*/
|
|
1393
|
+
export declare class AIObservabilityAi extends BaseAPI implements AIObservabilityAiInterface {
|
|
1394
|
+
/**
|
|
1395
|
+
* Returns AI usage stats for the caller\'s organization for the current calendar month, alongside the previous month\'s value. Backed by the ai_usage_counters table populated by the metering pipeline.
|
|
1396
|
+
* @summary (EXPERIMENTAL) AI observability overview for the caller\'s organization
|
|
1397
|
+
* @param {*} [options] Override http request option.
|
|
1398
|
+
* @throws {RequiredError}
|
|
1399
|
+
* @memberof AIObservabilityAi
|
|
1400
|
+
*/
|
|
1401
|
+
getObservabilityOverview(options?: AxiosRequestConfig): AxiosPromise<AiObservabilityOverviewResponse>;
|
|
1402
|
+
}
|
|
1300
1403
|
/**
|
|
1301
1404
|
*
|
|
1302
1405
|
* @summary Get Skills
|
|
@@ -1346,6 +1449,72 @@ export declare class AgentAi extends BaseAPI implements AgentAiInterface {
|
|
|
1346
1449
|
*/
|
|
1347
1450
|
listAvailableSkills(options?: AxiosRequestConfig): AxiosPromise<AiSkillResponse[]>;
|
|
1348
1451
|
}
|
|
1452
|
+
/**
|
|
1453
|
+
* List agents the calling user can use in this workspace, sorted A-Z. This is the personalized \"usable here\" view for the agent switcher -- access-filtered to the caller, enabled, non-preview, with per-agent lastUsedAt. For agent CRUD/management use the metadata entity endpoint GET /api/v1/entities/agents instead.
|
|
1454
|
+
* @summary List agents available to the current user in a workspace
|
|
1455
|
+
* @param {string} workspaceId
|
|
1456
|
+
* @param {*} [options] Override http request option.
|
|
1457
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1458
|
+
* @throws {RequiredError}
|
|
1459
|
+
*/
|
|
1460
|
+
export declare function AgentsAiAxiosParamCreator_ListAgents(workspaceId: string, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
|
|
1461
|
+
/**
|
|
1462
|
+
* List agents the calling user can use in this workspace, sorted A-Z. This is the personalized \"usable here\" view for the agent switcher -- access-filtered to the caller, enabled, non-preview, with per-agent lastUsedAt. For agent CRUD/management use the metadata entity endpoint GET /api/v1/entities/agents instead.
|
|
1463
|
+
* @summary List agents available to the current user in a workspace
|
|
1464
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1465
|
+
* @param {string} basePath Base path.
|
|
1466
|
+
* @param {AgentsAiListAgentsRequest} requestParameters Request parameters.
|
|
1467
|
+
* @param {*} [options] Override http request option.
|
|
1468
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1469
|
+
* @throws {RequiredError}
|
|
1470
|
+
*/
|
|
1471
|
+
export declare function AgentsAi_ListAgents(axios: AxiosInstance, basePath: string, requestParameters: AgentsAiListAgentsRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiAgentListResponse>;
|
|
1472
|
+
/**
|
|
1473
|
+
* AgentsAi - interface
|
|
1474
|
+
* @export
|
|
1475
|
+
* @interface AgentsAi
|
|
1476
|
+
*/
|
|
1477
|
+
export interface AgentsAiInterface {
|
|
1478
|
+
/**
|
|
1479
|
+
* List agents the calling user can use in this workspace, sorted A-Z. This is the personalized \"usable here\" view for the agent switcher -- access-filtered to the caller, enabled, non-preview, with per-agent lastUsedAt. For agent CRUD/management use the metadata entity endpoint GET /api/v1/entities/agents instead.
|
|
1480
|
+
* @summary List agents available to the current user in a workspace
|
|
1481
|
+
* @param {AgentsAiListAgentsRequest} requestParameters Request parameters.
|
|
1482
|
+
* @param {*} [options] Override http request option.
|
|
1483
|
+
* @throws {RequiredError}
|
|
1484
|
+
* @memberof AgentsAiInterface
|
|
1485
|
+
*/
|
|
1486
|
+
listAgents(requestParameters: AgentsAiListAgentsRequest, options?: AxiosRequestConfig): AxiosPromise<AiAgentListResponse>;
|
|
1487
|
+
}
|
|
1488
|
+
/**
|
|
1489
|
+
* Request parameters for listAgents operation in AgentsAi.
|
|
1490
|
+
* @export
|
|
1491
|
+
* @interface AgentsAiListAgentsRequest
|
|
1492
|
+
*/
|
|
1493
|
+
export interface AgentsAiListAgentsRequest {
|
|
1494
|
+
/**
|
|
1495
|
+
*
|
|
1496
|
+
* @type {string}
|
|
1497
|
+
* @memberof AgentsAiListAgents
|
|
1498
|
+
*/
|
|
1499
|
+
readonly workspaceId: string;
|
|
1500
|
+
}
|
|
1501
|
+
/**
|
|
1502
|
+
* AgentsAi - object-oriented interface
|
|
1503
|
+
* @export
|
|
1504
|
+
* @class AgentsAi
|
|
1505
|
+
* @extends {BaseAPI}
|
|
1506
|
+
*/
|
|
1507
|
+
export declare class AgentsAi extends BaseAPI implements AgentsAiInterface {
|
|
1508
|
+
/**
|
|
1509
|
+
* List agents the calling user can use in this workspace, sorted A-Z. This is the personalized \"usable here\" view for the agent switcher -- access-filtered to the caller, enabled, non-preview, with per-agent lastUsedAt. For agent CRUD/management use the metadata entity endpoint GET /api/v1/entities/agents instead.
|
|
1510
|
+
* @summary List agents available to the current user in a workspace
|
|
1511
|
+
* @param {AgentsAiListAgentsRequest} requestParameters Request parameters.
|
|
1512
|
+
* @param {*} [options] Override http request option.
|
|
1513
|
+
* @throws {RequiredError}
|
|
1514
|
+
* @memberof AgentsAi
|
|
1515
|
+
*/
|
|
1516
|
+
listAgents(requestParameters: AgentsAiListAgentsRequest, options?: AxiosRequestConfig): AxiosPromise<AiAgentListResponse>;
|
|
1517
|
+
}
|
|
1349
1518
|
/**
|
|
1350
1519
|
*
|
|
1351
1520
|
* @summary Delete Conversation
|
|
@@ -1394,11 +1563,12 @@ export declare function ConversationsAiAxiosParamCreator_PatchConversationApiV1A
|
|
|
1394
1563
|
* @summary Post Conversations
|
|
1395
1564
|
* @param {string} workspaceId
|
|
1396
1565
|
* @param {boolean} [isPreview]
|
|
1566
|
+
* @param {AiCreateConversationRequest} [aiCreateConversationRequest]
|
|
1397
1567
|
* @param {*} [options] Override http request option.
|
|
1398
1568
|
* @param {Configuration} [configuration] Optional configuration.
|
|
1399
1569
|
* @throws {RequiredError}
|
|
1400
1570
|
*/
|
|
1401
|
-
export declare function ConversationsAiAxiosParamCreator_PostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost(workspaceId: string, isPreview?: boolean, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
|
|
1571
|
+
export declare function ConversationsAiAxiosParamCreator_PostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost(workspaceId: string, isPreview?: boolean, aiCreateConversationRequest?: AiCreateConversationRequest, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
|
|
1402
1572
|
/**
|
|
1403
1573
|
*
|
|
1404
1574
|
* @summary Post Generate Conversation Title
|
|
@@ -1409,6 +1579,17 @@ export declare function ConversationsAiAxiosParamCreator_PostConversationsApiV1A
|
|
|
1409
1579
|
* @throws {RequiredError}
|
|
1410
1580
|
*/
|
|
1411
1581
|
export declare function ConversationsAiAxiosParamCreator_PostGenerateConversationTitleApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGenerateTitlePost(workspaceId: string, conversationId: string, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
|
|
1582
|
+
/**
|
|
1583
|
+
*
|
|
1584
|
+
* @summary Switch the active agent on an existing conversation
|
|
1585
|
+
* @param {string} workspaceId
|
|
1586
|
+
* @param {string} conversationId
|
|
1587
|
+
* @param {AiSwitchAgentRequest} aiSwitchAgentRequest
|
|
1588
|
+
* @param {*} [options] Override http request option.
|
|
1589
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1590
|
+
* @throws {RequiredError}
|
|
1591
|
+
*/
|
|
1592
|
+
export declare function ConversationsAiAxiosParamCreator_SwitchAgent(workspaceId: string, conversationId: string, aiSwitchAgentRequest: AiSwitchAgentRequest, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
|
|
1412
1593
|
/**
|
|
1413
1594
|
*
|
|
1414
1595
|
* @summary Delete Conversation
|
|
@@ -1475,6 +1656,17 @@ export declare function ConversationsAi_PostConversationsApiV1AiWorkspacesWorksp
|
|
|
1475
1656
|
* @throws {RequiredError}
|
|
1476
1657
|
*/
|
|
1477
1658
|
export declare function ConversationsAi_PostGenerateConversationTitleApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGenerateTitlePost(axios: AxiosInstance, basePath: string, requestParameters: ConversationsAiPostGenerateConversationTitleApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGenerateTitlePostRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiConversationResponse>;
|
|
1659
|
+
/**
|
|
1660
|
+
*
|
|
1661
|
+
* @summary Switch the active agent on an existing conversation
|
|
1662
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1663
|
+
* @param {string} basePath Base path.
|
|
1664
|
+
* @param {ConversationsAiSwitchAgentRequest} requestParameters Request parameters.
|
|
1665
|
+
* @param {*} [options] Override http request option.
|
|
1666
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1667
|
+
* @throws {RequiredError}
|
|
1668
|
+
*/
|
|
1669
|
+
export declare function ConversationsAi_SwitchAgent(axios: AxiosInstance, basePath: string, requestParameters: ConversationsAiSwitchAgentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiConversationResponse>;
|
|
1478
1670
|
/**
|
|
1479
1671
|
* ConversationsAi - interface
|
|
1480
1672
|
* @export
|
|
@@ -1535,6 +1727,15 @@ export interface ConversationsAiInterface {
|
|
|
1535
1727
|
* @memberof ConversationsAiInterface
|
|
1536
1728
|
*/
|
|
1537
1729
|
postGenerateConversationTitleApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGenerateTitlePost(requestParameters: ConversationsAiPostGenerateConversationTitleApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGenerateTitlePostRequest, options?: AxiosRequestConfig): AxiosPromise<AiConversationResponse>;
|
|
1730
|
+
/**
|
|
1731
|
+
*
|
|
1732
|
+
* @summary Switch the active agent on an existing conversation
|
|
1733
|
+
* @param {ConversationsAiSwitchAgentRequest} requestParameters Request parameters.
|
|
1734
|
+
* @param {*} [options] Override http request option.
|
|
1735
|
+
* @throws {RequiredError}
|
|
1736
|
+
* @memberof ConversationsAiInterface
|
|
1737
|
+
*/
|
|
1738
|
+
switchAgent(requestParameters: ConversationsAiSwitchAgentRequest, options?: AxiosRequestConfig): AxiosPromise<AiConversationResponse>;
|
|
1538
1739
|
}
|
|
1539
1740
|
/**
|
|
1540
1741
|
* Request parameters for deleteConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDelete operation in ConversationsAi.
|
|
@@ -1648,6 +1849,12 @@ export interface ConversationsAiPostConversationsApiV1AiWorkspacesWorkspaceIdCha
|
|
|
1648
1849
|
* @memberof ConversationsAiPostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost
|
|
1649
1850
|
*/
|
|
1650
1851
|
readonly isPreview?: boolean;
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @type {AiCreateConversationRequest}
|
|
1855
|
+
* @memberof ConversationsAiPostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost
|
|
1856
|
+
*/
|
|
1857
|
+
readonly aiCreateConversationRequest?: AiCreateConversationRequest;
|
|
1651
1858
|
}
|
|
1652
1859
|
/**
|
|
1653
1860
|
* Request parameters for postGenerateConversationTitleApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGenerateTitlePost operation in ConversationsAi.
|
|
@@ -1668,6 +1875,31 @@ export interface ConversationsAiPostGenerateConversationTitleApiV1AiWorkspacesWo
|
|
|
1668
1875
|
*/
|
|
1669
1876
|
readonly conversationId: string;
|
|
1670
1877
|
}
|
|
1878
|
+
/**
|
|
1879
|
+
* Request parameters for switchAgent operation in ConversationsAi.
|
|
1880
|
+
* @export
|
|
1881
|
+
* @interface ConversationsAiSwitchAgentRequest
|
|
1882
|
+
*/
|
|
1883
|
+
export interface ConversationsAiSwitchAgentRequest {
|
|
1884
|
+
/**
|
|
1885
|
+
*
|
|
1886
|
+
* @type {string}
|
|
1887
|
+
* @memberof ConversationsAiSwitchAgent
|
|
1888
|
+
*/
|
|
1889
|
+
readonly workspaceId: string;
|
|
1890
|
+
/**
|
|
1891
|
+
*
|
|
1892
|
+
* @type {string}
|
|
1893
|
+
* @memberof ConversationsAiSwitchAgent
|
|
1894
|
+
*/
|
|
1895
|
+
readonly conversationId: string;
|
|
1896
|
+
/**
|
|
1897
|
+
*
|
|
1898
|
+
* @type {AiSwitchAgentRequest}
|
|
1899
|
+
* @memberof ConversationsAiSwitchAgent
|
|
1900
|
+
*/
|
|
1901
|
+
readonly aiSwitchAgentRequest: AiSwitchAgentRequest;
|
|
1902
|
+
}
|
|
1671
1903
|
/**
|
|
1672
1904
|
* ConversationsAi - object-oriented interface
|
|
1673
1905
|
* @export
|
|
@@ -1729,6 +1961,15 @@ export declare class ConversationsAi extends BaseAPI implements ConversationsAiI
|
|
|
1729
1961
|
* @memberof ConversationsAi
|
|
1730
1962
|
*/
|
|
1731
1963
|
postGenerateConversationTitleApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGenerateTitlePost(requestParameters: ConversationsAiPostGenerateConversationTitleApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGenerateTitlePostRequest, options?: AxiosRequestConfig): AxiosPromise<AiConversationResponse>;
|
|
1964
|
+
/**
|
|
1965
|
+
*
|
|
1966
|
+
* @summary Switch the active agent on an existing conversation
|
|
1967
|
+
* @param {ConversationsAiSwitchAgentRequest} requestParameters Request parameters.
|
|
1968
|
+
* @param {*} [options] Override http request option.
|
|
1969
|
+
* @throws {RequiredError}
|
|
1970
|
+
* @memberof ConversationsAi
|
|
1971
|
+
*/
|
|
1972
|
+
switchAgent(requestParameters: ConversationsAiSwitchAgentRequest, options?: AxiosRequestConfig): AxiosPromise<AiConversationResponse>;
|
|
1732
1973
|
}
|
|
1733
1974
|
/**
|
|
1734
1975
|
*
|
|
@@ -118,6 +118,14 @@ export const AiObjectType = {
|
|
|
118
118
|
FILTER_CONTEXT: 'filter_context',
|
|
119
119
|
PARAMETER: 'parameter'
|
|
120
120
|
};
|
|
121
|
+
/**
|
|
122
|
+
* Metrics exposed by the AI observability endpoint.
|
|
123
|
+
*/
|
|
124
|
+
export const AiObservabilityMetricType = {
|
|
125
|
+
AI_QUERIES: 'AI_QUERIES',
|
|
126
|
+
AI_WORKSPACES: 'AI_WORKSPACES',
|
|
127
|
+
AI_USERS: 'AI_USERS'
|
|
128
|
+
};
|
|
121
129
|
export const AiRangeMeasureValueOperator = {
|
|
122
130
|
BETWEEN: 'BETWEEN',
|
|
123
131
|
NOT_BETWEEN: 'NOT_BETWEEN'
|
|
@@ -126,6 +134,69 @@ export const AiRankingOperator = {
|
|
|
126
134
|
TOP: 'TOP',
|
|
127
135
|
BOTTOM: 'BOTTOM'
|
|
128
136
|
};
|
|
137
|
+
// AIObservabilityAi FP - AIObservabilityAiAxiosParamCreator
|
|
138
|
+
/**
|
|
139
|
+
* Returns AI usage stats for the caller\'s organization for the current calendar month, alongside the previous month\'s value. Backed by the ai_usage_counters table populated by the metering pipeline.
|
|
140
|
+
* @summary (EXPERIMENTAL) AI observability overview for the caller\'s organization
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
export async function AIObservabilityAiAxiosParamCreator_GetObservabilityOverview(options = {}, configuration) {
|
|
146
|
+
const localVarPath = `/api/v1/ai/organization/observability`;
|
|
147
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
148
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
149
|
+
let baseOptions;
|
|
150
|
+
if (configuration) {
|
|
151
|
+
baseOptions = configuration.baseOptions;
|
|
152
|
+
}
|
|
153
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
154
|
+
const localVarHeaderParameter = {};
|
|
155
|
+
const localVarQueryParameter = {};
|
|
156
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
157
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
158
|
+
localVarRequestOptions.headers = {
|
|
159
|
+
...localVarHeaderParameter,
|
|
160
|
+
...headersFromBaseOptions,
|
|
161
|
+
...options.headers,
|
|
162
|
+
};
|
|
163
|
+
return {
|
|
164
|
+
url: toPathString(localVarUrlObj),
|
|
165
|
+
options: localVarRequestOptions,
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
// AIObservabilityAi Api FP
|
|
169
|
+
/**
|
|
170
|
+
* Returns AI usage stats for the caller\'s organization for the current calendar month, alongside the previous month\'s value. Backed by the ai_usage_counters table populated by the metering pipeline.
|
|
171
|
+
* @summary (EXPERIMENTAL) AI observability overview for the caller\'s organization
|
|
172
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
173
|
+
* @param {string} basePath Base path.
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
export async function AIObservabilityAi_GetObservabilityOverview(axios, basePath, options, configuration) {
|
|
179
|
+
const localVarAxiosArgs = await AIObservabilityAiAxiosParamCreator_GetObservabilityOverview(options || {}, configuration);
|
|
180
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* AIObservabilityAi - object-oriented interface
|
|
184
|
+
* @export
|
|
185
|
+
* @class AIObservabilityAi
|
|
186
|
+
* @extends {BaseAPI}
|
|
187
|
+
*/
|
|
188
|
+
export class AIObservabilityAi extends BaseAPI {
|
|
189
|
+
/**
|
|
190
|
+
* Returns AI usage stats for the caller\'s organization for the current calendar month, alongside the previous month\'s value. Backed by the ai_usage_counters table populated by the metering pipeline.
|
|
191
|
+
* @summary (EXPERIMENTAL) AI observability overview for the caller\'s organization
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
* @memberof AIObservabilityAi
|
|
195
|
+
*/
|
|
196
|
+
getObservabilityOverview(options) {
|
|
197
|
+
return AIObservabilityAi_GetObservabilityOverview(this.axios, this.basePath, options, this.configuration);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
129
200
|
// AgentAi FP - AgentAiAxiosParamCreator
|
|
130
201
|
/**
|
|
131
202
|
*
|
|
@@ -189,6 +260,75 @@ export class AgentAi extends BaseAPI {
|
|
|
189
260
|
return AgentAi_ListAvailableSkills(this.axios, this.basePath, options, this.configuration);
|
|
190
261
|
}
|
|
191
262
|
}
|
|
263
|
+
// AgentsAi FP - AgentsAiAxiosParamCreator
|
|
264
|
+
/**
|
|
265
|
+
* List agents the calling user can use in this workspace, sorted A-Z. This is the personalized \"usable here\" view for the agent switcher -- access-filtered to the caller, enabled, non-preview, with per-agent lastUsedAt. For agent CRUD/management use the metadata entity endpoint GET /api/v1/entities/agents instead.
|
|
266
|
+
* @summary List agents available to the current user in a workspace
|
|
267
|
+
* @param {string} workspaceId
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
270
|
+
* @throws {RequiredError}
|
|
271
|
+
*/
|
|
272
|
+
export async function AgentsAiAxiosParamCreator_ListAgents(workspaceId, options = {}, configuration) {
|
|
273
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
274
|
+
assertParamExists('listAgents', 'workspaceId', workspaceId);
|
|
275
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/agents`
|
|
276
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)));
|
|
277
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
278
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
279
|
+
let baseOptions;
|
|
280
|
+
if (configuration) {
|
|
281
|
+
baseOptions = configuration.baseOptions;
|
|
282
|
+
}
|
|
283
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
284
|
+
const localVarHeaderParameter = {};
|
|
285
|
+
const localVarQueryParameter = {};
|
|
286
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
287
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
288
|
+
localVarRequestOptions.headers = {
|
|
289
|
+
...localVarHeaderParameter,
|
|
290
|
+
...headersFromBaseOptions,
|
|
291
|
+
...options.headers,
|
|
292
|
+
};
|
|
293
|
+
return {
|
|
294
|
+
url: toPathString(localVarUrlObj),
|
|
295
|
+
options: localVarRequestOptions,
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
// AgentsAi Api FP
|
|
299
|
+
/**
|
|
300
|
+
* List agents the calling user can use in this workspace, sorted A-Z. This is the personalized \"usable here\" view for the agent switcher -- access-filtered to the caller, enabled, non-preview, with per-agent lastUsedAt. For agent CRUD/management use the metadata entity endpoint GET /api/v1/entities/agents instead.
|
|
301
|
+
* @summary List agents available to the current user in a workspace
|
|
302
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
303
|
+
* @param {string} basePath Base path.
|
|
304
|
+
* @param {AgentsAiListAgentsRequest} requestParameters Request parameters.
|
|
305
|
+
* @param {*} [options] Override http request option.
|
|
306
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
307
|
+
* @throws {RequiredError}
|
|
308
|
+
*/
|
|
309
|
+
export async function AgentsAi_ListAgents(axios, basePath, requestParameters, options, configuration) {
|
|
310
|
+
const localVarAxiosArgs = await AgentsAiAxiosParamCreator_ListAgents(requestParameters.workspaceId, options || {}, configuration);
|
|
311
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* AgentsAi - object-oriented interface
|
|
315
|
+
* @export
|
|
316
|
+
* @class AgentsAi
|
|
317
|
+
* @extends {BaseAPI}
|
|
318
|
+
*/
|
|
319
|
+
export class AgentsAi extends BaseAPI {
|
|
320
|
+
/**
|
|
321
|
+
* List agents the calling user can use in this workspace, sorted A-Z. This is the personalized \"usable here\" view for the agent switcher -- access-filtered to the caller, enabled, non-preview, with per-agent lastUsedAt. For agent CRUD/management use the metadata entity endpoint GET /api/v1/entities/agents instead.
|
|
322
|
+
* @summary List agents available to the current user in a workspace
|
|
323
|
+
* @param {AgentsAiListAgentsRequest} requestParameters Request parameters.
|
|
324
|
+
* @param {*} [options] Override http request option.
|
|
325
|
+
* @throws {RequiredError}
|
|
326
|
+
* @memberof AgentsAi
|
|
327
|
+
*/
|
|
328
|
+
listAgents(requestParameters, options) {
|
|
329
|
+
return AgentsAi_ListAgents(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
192
332
|
// ConversationsAi FP - ConversationsAiAxiosParamCreator
|
|
193
333
|
/**
|
|
194
334
|
*
|
|
@@ -374,11 +514,12 @@ export async function ConversationsAiAxiosParamCreator_PatchConversationApiV1AiW
|
|
|
374
514
|
* @summary Post Conversations
|
|
375
515
|
* @param {string} workspaceId
|
|
376
516
|
* @param {boolean} [isPreview]
|
|
517
|
+
* @param {AiCreateConversationRequest} [aiCreateConversationRequest]
|
|
377
518
|
* @param {*} [options] Override http request option.
|
|
378
519
|
* @param {Configuration} [configuration] Optional configuration.
|
|
379
520
|
* @throws {RequiredError}
|
|
380
521
|
*/
|
|
381
|
-
export async function ConversationsAiAxiosParamCreator_PostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost(workspaceId, isPreview, options = {}, configuration) {
|
|
522
|
+
export async function ConversationsAiAxiosParamCreator_PostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost(workspaceId, isPreview, aiCreateConversationRequest, options = {}, configuration) {
|
|
382
523
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
383
524
|
assertParamExists('postConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost', 'workspaceId', workspaceId);
|
|
384
525
|
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/chat/conversations`
|
|
@@ -395,6 +536,13 @@ export async function ConversationsAiAxiosParamCreator_PostConversationsApiV1AiW
|
|
|
395
536
|
if (isPreview !== undefined) {
|
|
396
537
|
localVarQueryParameter['isPreview'] = isPreview;
|
|
397
538
|
}
|
|
539
|
+
const consumes = [
|
|
540
|
+
'application/json'
|
|
541
|
+
];
|
|
542
|
+
// use application/json if present, otherwise fallback to the first one
|
|
543
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
544
|
+
? 'application/json'
|
|
545
|
+
: consumes[0];
|
|
398
546
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
399
547
|
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
400
548
|
localVarRequestOptions.headers = {
|
|
@@ -402,6 +550,11 @@ export async function ConversationsAiAxiosParamCreator_PostConversationsApiV1AiW
|
|
|
402
550
|
...headersFromBaseOptions,
|
|
403
551
|
...options.headers,
|
|
404
552
|
};
|
|
553
|
+
const needsSerialization = typeof aiCreateConversationRequest !== "string" ||
|
|
554
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
555
|
+
localVarRequestOptions.data = needsSerialization
|
|
556
|
+
? JSON.stringify(aiCreateConversationRequest !== undefined ? aiCreateConversationRequest : {})
|
|
557
|
+
: aiCreateConversationRequest || "";
|
|
405
558
|
return {
|
|
406
559
|
url: toPathString(localVarUrlObj),
|
|
407
560
|
options: localVarRequestOptions,
|
|
@@ -446,6 +599,60 @@ export async function ConversationsAiAxiosParamCreator_PostGenerateConversationT
|
|
|
446
599
|
options: localVarRequestOptions,
|
|
447
600
|
};
|
|
448
601
|
}
|
|
602
|
+
// ConversationsAi FP - ConversationsAiAxiosParamCreator
|
|
603
|
+
/**
|
|
604
|
+
*
|
|
605
|
+
* @summary Switch the active agent on an existing conversation
|
|
606
|
+
* @param {string} workspaceId
|
|
607
|
+
* @param {string} conversationId
|
|
608
|
+
* @param {AiSwitchAgentRequest} aiSwitchAgentRequest
|
|
609
|
+
* @param {*} [options] Override http request option.
|
|
610
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
611
|
+
* @throws {RequiredError}
|
|
612
|
+
*/
|
|
613
|
+
export async function ConversationsAiAxiosParamCreator_SwitchAgent(workspaceId, conversationId, aiSwitchAgentRequest, options = {}, configuration) {
|
|
614
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
615
|
+
assertParamExists('switchAgent', 'workspaceId', workspaceId);
|
|
616
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
617
|
+
assertParamExists('switchAgent', 'conversationId', conversationId);
|
|
618
|
+
// verify required parameter 'aiSwitchAgentRequest' is not null or undefined
|
|
619
|
+
assertParamExists('switchAgent', 'aiSwitchAgentRequest', aiSwitchAgentRequest);
|
|
620
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/chat/conversations/{conversation_id}/switchAgent`
|
|
621
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
622
|
+
.replace(`{${"conversation_id"}}`, encodeURIComponent(String(conversationId)));
|
|
623
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
624
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
625
|
+
let baseOptions;
|
|
626
|
+
if (configuration) {
|
|
627
|
+
baseOptions = configuration.baseOptions;
|
|
628
|
+
}
|
|
629
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
630
|
+
const localVarHeaderParameter = {};
|
|
631
|
+
const localVarQueryParameter = {};
|
|
632
|
+
const consumes = [
|
|
633
|
+
'application/json'
|
|
634
|
+
];
|
|
635
|
+
// use application/json if present, otherwise fallback to the first one
|
|
636
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
637
|
+
? 'application/json'
|
|
638
|
+
: consumes[0];
|
|
639
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
640
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
641
|
+
localVarRequestOptions.headers = {
|
|
642
|
+
...localVarHeaderParameter,
|
|
643
|
+
...headersFromBaseOptions,
|
|
644
|
+
...options.headers,
|
|
645
|
+
};
|
|
646
|
+
const needsSerialization = typeof aiSwitchAgentRequest !== "string" ||
|
|
647
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
648
|
+
localVarRequestOptions.data = needsSerialization
|
|
649
|
+
? JSON.stringify(aiSwitchAgentRequest !== undefined ? aiSwitchAgentRequest : {})
|
|
650
|
+
: aiSwitchAgentRequest || "";
|
|
651
|
+
return {
|
|
652
|
+
url: toPathString(localVarUrlObj),
|
|
653
|
+
options: localVarRequestOptions,
|
|
654
|
+
};
|
|
655
|
+
}
|
|
449
656
|
// ConversationsAi Api FP
|
|
450
657
|
/**
|
|
451
658
|
*
|
|
@@ -518,7 +725,7 @@ export async function ConversationsAi_PatchConversationApiV1AiWorkspacesWorkspac
|
|
|
518
725
|
* @throws {RequiredError}
|
|
519
726
|
*/
|
|
520
727
|
export async function ConversationsAi_PostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost(axios, basePath, requestParameters, options, configuration) {
|
|
521
|
-
const localVarAxiosArgs = await ConversationsAiAxiosParamCreator_PostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost(requestParameters.workspaceId, requestParameters.isPreview, options || {}, configuration);
|
|
728
|
+
const localVarAxiosArgs = await ConversationsAiAxiosParamCreator_PostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost(requestParameters.workspaceId, requestParameters.isPreview, requestParameters.aiCreateConversationRequest, options || {}, configuration);
|
|
522
729
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
523
730
|
}
|
|
524
731
|
// ConversationsAi Api FP
|
|
@@ -536,6 +743,21 @@ export async function ConversationsAi_PostGenerateConversationTitleApiV1AiWorksp
|
|
|
536
743
|
const localVarAxiosArgs = await ConversationsAiAxiosParamCreator_PostGenerateConversationTitleApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGenerateTitlePost(requestParameters.workspaceId, requestParameters.conversationId, options || {}, configuration);
|
|
537
744
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
538
745
|
}
|
|
746
|
+
// ConversationsAi Api FP
|
|
747
|
+
/**
|
|
748
|
+
*
|
|
749
|
+
* @summary Switch the active agent on an existing conversation
|
|
750
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
751
|
+
* @param {string} basePath Base path.
|
|
752
|
+
* @param {ConversationsAiSwitchAgentRequest} requestParameters Request parameters.
|
|
753
|
+
* @param {*} [options] Override http request option.
|
|
754
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
755
|
+
* @throws {RequiredError}
|
|
756
|
+
*/
|
|
757
|
+
export async function ConversationsAi_SwitchAgent(axios, basePath, requestParameters, options, configuration) {
|
|
758
|
+
const localVarAxiosArgs = await ConversationsAiAxiosParamCreator_SwitchAgent(requestParameters.workspaceId, requestParameters.conversationId, requestParameters.aiSwitchAgentRequest, options || {}, configuration);
|
|
759
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
760
|
+
}
|
|
539
761
|
/**
|
|
540
762
|
* ConversationsAi - object-oriented interface
|
|
541
763
|
* @export
|
|
@@ -609,6 +831,17 @@ export class ConversationsAi extends BaseAPI {
|
|
|
609
831
|
postGenerateConversationTitleApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGenerateTitlePost(requestParameters, options) {
|
|
610
832
|
return ConversationsAi_PostGenerateConversationTitleApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGenerateTitlePost(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
611
833
|
}
|
|
834
|
+
/**
|
|
835
|
+
*
|
|
836
|
+
* @summary Switch the active agent on an existing conversation
|
|
837
|
+
* @param {ConversationsAiSwitchAgentRequest} requestParameters Request parameters.
|
|
838
|
+
* @param {*} [options] Override http request option.
|
|
839
|
+
* @throws {RequiredError}
|
|
840
|
+
* @memberof ConversationsAi
|
|
841
|
+
*/
|
|
842
|
+
switchAgent(requestParameters, options) {
|
|
843
|
+
return ConversationsAi_SwitchAgent(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
844
|
+
}
|
|
612
845
|
}
|
|
613
846
|
// ItemsAi FP - ItemsAiAxiosParamCreator
|
|
614
847
|
/**
|