mavenagi 1.2.64 → 1.2.65
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/BaseClient.js +2 -2
- package/api/resources/actions/client/Client.js +3 -3
- package/api/resources/agents/client/Client.js +5 -5
- package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +10 -2
- package/api/resources/agents/types/Agent.d.ts +3 -1
- package/api/resources/agents/types/AgentPrompting.d.ts +12 -2
- package/api/resources/appDirectory/client/Client.js +5 -5
- package/api/resources/assets/client/Client.js +1 -1
- package/api/resources/capabilities/client/Client.d.ts +33 -0
- package/api/resources/capabilities/client/Client.js +126 -3
- package/api/resources/capabilities/client/requests/SimulateCapabilityByTypeRequest.d.ts +14 -0
- package/api/resources/capabilities/client/requests/SimulateCapabilityByTypeRequest.js +3 -0
- package/api/resources/capabilities/client/requests/index.d.ts +1 -0
- package/api/resources/capabilities/types/ActionSimulationInput.d.ts +5 -0
- package/api/resources/capabilities/types/ActionSimulationInput.js +3 -0
- package/api/resources/capabilities/types/CapabilitySimulationInput.d.ts +11 -0
- package/api/resources/capabilities/types/CapabilitySimulationInput.js +3 -0
- package/api/resources/capabilities/types/CapabilitySimulationResult.d.ts +10 -0
- package/api/resources/capabilities/types/CapabilitySimulationResult.js +3 -0
- package/api/resources/capabilities/types/ConversationContextSimulationInput.d.ts +14 -0
- package/api/resources/capabilities/types/ConversationContextSimulationInput.js +3 -0
- package/api/resources/capabilities/types/SimulatedUser.d.ts +9 -0
- package/api/resources/capabilities/types/SimulatedUser.js +3 -0
- package/api/resources/capabilities/types/SimulatedUserData.d.ts +6 -0
- package/api/resources/capabilities/types/SimulatedUserData.js +3 -0
- package/api/resources/capabilities/types/index.d.ts +6 -0
- package/api/resources/capabilities/types/index.js +6 -0
- package/api/resources/charters/client/Client.js +4 -4
- package/api/resources/charters/types/CharterBase.d.ts +5 -1
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +2 -0
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +2 -0
- package/api/resources/charters/types/CharterContent.d.ts +2 -0
- package/api/resources/charters/types/CharterPatchReferences.d.ts +2 -0
- package/api/resources/charters/types/CharterReferences.d.ts +2 -0
- package/api/resources/charters/types/CharterResponse.d.ts +5 -1
- package/api/resources/charters/types/CharterStatus.d.ts +4 -0
- package/api/resources/charters/types/CharterStatus.js +4 -0
- package/api/resources/charters/types/CharterSummary.d.ts +5 -1
- package/api/resources/charters/types/index.d.ts +0 -1
- package/api/resources/charters/types/index.js +0 -1
- package/api/resources/commons/types/ActionExecutionStatus.d.ts +6 -0
- package/api/resources/commons/types/ActionExecutionStatus.js +9 -0
- package/api/resources/commons/types/ActionProperties.d.ts +1 -1
- package/api/resources/commons/types/AdditionalDataKey.d.ts +3 -0
- package/api/resources/commons/types/AdditionalDataKey.js +3 -0
- package/api/resources/commons/types/AppUserRequest.d.ts +11 -0
- package/api/resources/commons/types/BotLogicCharterDetail.d.ts +2 -0
- package/api/resources/commons/types/BotMessage.d.ts +5 -0
- package/api/resources/commons/types/BotMessageStatusReason.d.ts +13 -0
- package/api/resources/commons/types/BotMessageStatusReason.js +16 -0
- package/api/resources/commons/types/Capability.d.ts +4 -0
- package/api/resources/commons/types/Capability.js +4 -0
- package/api/resources/commons/types/CapabilityStatus.d.ts +2 -2
- package/api/resources/commons/types/CapabilityStatus.js +2 -2
- package/api/resources/commons/types/ConversationAnalysis.d.ts +1 -1
- package/api/resources/commons/types/ConversationMetadataValueSource.d.ts +7 -0
- package/api/resources/commons/types/ConversationMetadataValueSource.js +3 -0
- package/api/resources/commons/types/ConversationSummary.d.ts +5 -3
- package/api/resources/commons/types/ConversationValueSource.d.ts +10 -0
- package/api/resources/commons/types/ConversationValueSource.js +3 -0
- package/api/resources/commons/types/EntityType.d.ts +5 -0
- package/api/resources/commons/types/EntityType.js +5 -0
- package/api/resources/commons/types/ErrorReason.d.ts +4 -1
- package/api/resources/commons/types/ErrorReason.js +4 -1
- package/api/resources/commons/types/EventFilter.d.ts +1 -0
- package/api/resources/commons/types/ExecuteActionResponse.d.ts +14 -0
- package/api/resources/commons/types/ExecuteActionResponse.js +3 -0
- package/api/resources/commons/types/ExecutionMode.d.ts +10 -0
- package/api/resources/commons/types/ExecutionMode.js +13 -0
- package/api/resources/commons/types/FunctionVersionBinding.d.ts +11 -0
- package/api/resources/commons/types/FunctionVersionBinding.js +3 -0
- package/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
- package/api/resources/commons/types/InboxItemStatus.d.ts +1 -1
- package/api/resources/commons/types/InboxItemStatus.js +1 -1
- package/api/resources/commons/types/LlmInclusionStatus.d.ts +3 -0
- package/api/resources/commons/types/LlmInclusionStatus.js +3 -0
- package/api/resources/commons/types/MetadataConversationValueFilter.d.ts +15 -0
- package/api/resources/commons/types/MetadataConversationValueFilter.js +3 -0
- package/api/resources/commons/types/MetadataFilter.d.ts +33 -6
- package/api/resources/commons/types/Quality.d.ts +2 -0
- package/api/resources/commons/types/Quality.js +2 -0
- package/api/resources/commons/types/QualityReason.d.ts +4 -0
- package/api/resources/commons/types/QualityReason.js +4 -0
- package/api/resources/commons/types/RelationshipType.d.ts +2 -2
- package/api/resources/commons/types/RelationshipType.js +2 -2
- package/api/resources/commons/types/ResolutionStatus.d.ts +2 -0
- package/api/resources/commons/types/ResolutionStatus.js +2 -0
- package/api/resources/commons/types/ResponseConfig.d.ts +2 -0
- package/api/resources/commons/types/SimulationActionBehavior.d.ts +18 -0
- package/api/resources/commons/types/SimulationActionBehavior.js +3 -0
- package/api/resources/commons/types/SimulationActionCallApp.d.ts +1 -0
- package/api/resources/commons/types/SimulationActionCallApp.js +3 -0
- package/api/resources/commons/types/SimulationActionMock.d.ts +6 -0
- package/api/resources/commons/types/SimulationActionMock.js +3 -0
- package/api/resources/commons/types/SimulationContext.d.ts +19 -0
- package/api/resources/commons/types/SystemEventName.d.ts +5 -2
- package/api/resources/commons/types/SystemEventName.js +5 -2
- package/api/resources/commons/types/UserEvent.d.ts +1 -1
- package/api/resources/commons/types/UserEventName.d.ts +1 -1
- package/api/resources/commons/types/UserEventName.js +1 -1
- package/api/resources/commons/types/index.d.ts +12 -0
- package/api/resources/commons/types/index.js +12 -0
- package/api/resources/conversation/client/Client.d.ts +11 -7
- package/api/resources/conversation/client/Client.js +21 -17
- package/api/resources/conversation/client/requests/ConversationDeleteRequest.d.ts +1 -1
- package/api/resources/conversation/types/BillableFilterField.d.ts +3 -3
- package/api/resources/conversation/types/BillableFilterField.js +3 -3
- package/api/resources/conversation/types/ConversationField.d.ts +8 -0
- package/api/resources/conversation/types/ConversationField.js +8 -0
- package/api/resources/conversation/types/ConversationFilter.d.ts +7 -1
- package/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
- package/api/resources/customers/client/Client.js +2 -2
- package/api/resources/customers/types/CustomerFilter.d.ts +2 -0
- package/api/resources/customers/types/CustomerResponse.d.ts +2 -2
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/inbox/client/Client.js +6 -6
- package/api/resources/integrations/client/Client.js +1 -1
- package/api/resources/intelligentFields/client/Client.d.ts +3 -2
- package/api/resources/intelligentFields/client/Client.js +6 -5
- package/api/resources/intelligentFields/types/EnumOption.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +5 -1
- package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldType.js +1 -1
- package/api/resources/knowledge/client/Client.js +13 -13
- package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.js +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +3 -1
- package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseType.js +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +4 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.js +4 -0
- package/api/resources/organizations/client/Client.js +4 -4
- package/api/resources/segments/client/Client.d.ts +1 -1
- package/api/resources/segments/client/Client.js +4 -4
- package/api/resources/segments/types/SegmentStatus.d.ts +4 -0
- package/api/resources/segments/types/SegmentStatus.js +4 -0
- package/api/resources/triggers/client/Client.js +3 -3
- package/api/resources/triggers/types/EventTriggerBase.d.ts +2 -0
- package/api/resources/users/client/Client.d.ts +42 -1
- package/api/resources/users/client/Client.js +116 -4
- package/api/resources/users/types/AgentUser.d.ts +3 -0
- package/api/resources/users/types/AgentUserFilter.d.ts +4 -0
- package/api/resources/voiceConversations/client/Client.d.ts +1 -1
- package/api/resources/voiceConversations/client/Socket.d.ts +2 -2
- package/api/resources/voiceConversations/client/Socket.js +16 -17
- package/core/fetcher/Fetcher.js +33 -3
- package/core/fetcher/getErrorResponseBody.js +20 -7
- package/core/fetcher/getResponseBody.d.ts +16 -0
- package/core/fetcher/getResponseBody.js +27 -22
- package/core/fetcher/makePassthroughRequest.js +20 -4
- package/core/fetcher/makeRequest.d.ts +6 -1
- package/core/fetcher/makeRequest.js +38 -5
- package/core/fetcher/requestWithRetries.d.ts +1 -1
- package/core/fetcher/requestWithRetries.js +23 -2
- package/core/fetcher/signals.d.ts +1 -0
- package/core/fetcher/signals.js +3 -2
- package/core/stream/Stream.d.ts +3 -0
- package/core/stream/Stream.js +5 -0
- package/core/url/encodePathParam.d.ts +3 -1
- package/core/url/encodePathParam.js +8 -2
- package/core/websocket/ws.d.ts +16 -2
- package/core/websocket/ws.js +110 -20
- package/errors/MavenAGIError.js +16 -2
- package/package.json +1 -1
- package/reference.md +188 -11
- package/serialization/resources/capabilities/types/ActionSimulationInput.d.ts +10 -0
- package/serialization/resources/capabilities/types/ActionSimulationInput.js +44 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationInput.d.ts +11 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationInput.js +47 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationResult.d.ts +11 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationResult.js +47 -0
- package/serialization/resources/capabilities/types/ConversationContextSimulationInput.d.ts +12 -0
- package/serialization/resources/capabilities/types/ConversationContextSimulationInput.js +46 -0
- package/serialization/resources/capabilities/types/SimulatedUser.d.ts +10 -0
- package/serialization/resources/capabilities/types/SimulatedUser.js +44 -0
- package/serialization/resources/capabilities/types/SimulatedUserData.d.ts +10 -0
- package/serialization/resources/capabilities/types/SimulatedUserData.js +42 -0
- package/serialization/resources/capabilities/types/index.d.ts +6 -0
- package/serialization/resources/capabilities/types/index.js +6 -0
- package/serialization/resources/charters/types/CharterContent.d.ts +1 -1
- package/serialization/resources/charters/types/CharterContent.js +1 -1
- package/serialization/resources/charters/types/CharterResponse.d.ts +1 -1
- package/serialization/resources/charters/types/CharterResponse.js +1 -1
- package/serialization/resources/charters/types/CharterSummary.d.ts +1 -1
- package/serialization/resources/charters/types/CharterSummary.js +1 -1
- package/serialization/resources/charters/types/index.d.ts +0 -1
- package/serialization/resources/charters/types/index.js +0 -1
- package/serialization/resources/commons/types/ActionExecutionStatus.d.ts +7 -0
- package/serialization/resources/commons/types/ActionExecutionStatus.js +39 -0
- package/serialization/resources/commons/types/AdditionalDataKey.d.ts +1 -1
- package/serialization/resources/commons/types/AdditionalDataKey.js +1 -0
- package/serialization/resources/commons/types/AppUserRequest.d.ts +2 -0
- package/serialization/resources/commons/types/AppUserRequest.js +2 -0
- package/serialization/resources/commons/types/BotLogicCharterDetail.d.ts +2 -0
- package/serialization/resources/commons/types/BotLogicCharterDetail.js +2 -0
- package/serialization/resources/commons/types/BotMessage.d.ts +2 -0
- package/serialization/resources/commons/types/BotMessage.js +2 -0
- package/serialization/resources/commons/types/BotMessageStatusReason.d.ts +7 -0
- package/serialization/resources/commons/types/BotMessageStatusReason.js +43 -0
- package/serialization/resources/commons/types/ConversationMetadataValueSource.d.ts +9 -0
- package/serialization/resources/commons/types/ConversationMetadataValueSource.js +41 -0
- package/serialization/resources/commons/types/ConversationValueSource.d.ts +11 -0
- package/serialization/resources/commons/types/ConversationValueSource.js +47 -0
- package/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +5 -0
- package/serialization/resources/commons/types/ErrorReason.d.ts +1 -1
- package/serialization/resources/commons/types/ErrorReason.js +1 -0
- package/serialization/resources/commons/types/ExecuteActionResponse.d.ts +13 -0
- package/serialization/resources/commons/types/ExecuteActionResponse.js +45 -0
- package/serialization/resources/commons/types/ExecutionMode.d.ts +7 -0
- package/serialization/resources/commons/types/ExecutionMode.js +39 -0
- package/serialization/resources/commons/types/FunctionVersionBinding.d.ts +11 -0
- package/serialization/resources/commons/types/FunctionVersionBinding.js +43 -0
- package/serialization/resources/commons/types/MetadataConversationValueFilter.d.ts +11 -0
- package/serialization/resources/commons/types/MetadataConversationValueFilter.js +43 -0
- package/serialization/resources/commons/types/MetadataFilter.d.ts +5 -1
- package/serialization/resources/commons/types/MetadataFilter.js +2 -0
- package/serialization/resources/commons/types/SimulationActionBehavior.d.ts +15 -0
- package/serialization/resources/commons/types/SimulationActionBehavior.js +49 -0
- package/serialization/resources/commons/types/SimulationActionCallApp.d.ts +7 -0
- package/serialization/resources/commons/types/SimulationActionCallApp.js +39 -0
- package/serialization/resources/commons/types/SimulationActionMock.d.ts +12 -0
- package/serialization/resources/commons/types/SimulationActionMock.js +44 -0
- package/serialization/resources/commons/types/SimulationContext.d.ts +4 -0
- package/serialization/resources/commons/types/SimulationContext.js +4 -0
- package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
- package/serialization/resources/commons/types/SystemEventName.js +1 -0
- package/serialization/resources/commons/types/index.d.ts +12 -0
- package/serialization/resources/commons/types/index.js +12 -0
- package/serialization/resources/users/types/AgentUser.d.ts +2 -0
- package/serialization/resources/users/types/AgentUser.js +2 -0
- package/serialization/resources/users/types/AgentUserFilter.d.ts +2 -0
- package/serialization/resources/users/types/AgentUserFilter.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/{charters → commons}/types/CharterType.d.ts +0 -0
- /package/api/resources/{charters → commons}/types/CharterType.js +0 -0
- /package/serialization/resources/{charters → commons}/types/CharterType.d.ts +0 -0
- /package/serialization/resources/{charters → commons}/types/CharterType.js +0 -0
|
@@ -227,7 +227,7 @@ class ConversationClient {
|
|
|
227
227
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
228
228
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
229
229
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
230
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId)}`),
|
|
230
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId, errors.MavenAGIError)}`),
|
|
231
231
|
method: "PATCH",
|
|
232
232
|
headers: _headers,
|
|
233
233
|
contentType: "application/json",
|
|
@@ -334,7 +334,7 @@ class ConversationClient {
|
|
|
334
334
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
335
335
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
336
336
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
337
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId)}`),
|
|
337
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId, errors.MavenAGIError)}`),
|
|
338
338
|
method: "GET",
|
|
339
339
|
headers: _headers,
|
|
340
340
|
queryString: core.url
|
|
@@ -408,17 +408,19 @@ class ConversationClient {
|
|
|
408
408
|
});
|
|
409
409
|
}
|
|
410
410
|
/**
|
|
411
|
-
* Wipes
|
|
412
|
-
* The conversation ID
|
|
413
|
-
*
|
|
414
|
-
*
|
|
411
|
+
* Wipes the user content from a conversation.
|
|
412
|
+
* The conversation and its ID still exist afterwards, and so does its non-content data, so it still counts in metrics.
|
|
413
|
+
* The conversation is sealed against further writes as soon as this call returns: adding or changing messages fails with `409 Conflict`, and so does deleting it again once the wipe has finished.
|
|
414
|
+
* A `202 Accepted` response means the wipe is still completing and will finish on its own.
|
|
415
415
|
*
|
|
416
416
|
* Simulation conversations will no longer be visible in search results nor metrics.
|
|
417
|
-
* Non-simulation conversations
|
|
417
|
+
* Non-simulation conversations remain visible; they cannot be fully removed from the system.
|
|
418
418
|
*
|
|
419
419
|
* <Warning>This is a destructive operation and cannot be undone. <br/><br/>
|
|
420
|
-
*
|
|
421
|
-
*
|
|
420
|
+
* What is wiped: the conversation's `subject` and `analysis.agentResponse` are cleared, and `analysis.userRequest` is replaced with `reason`.
|
|
421
|
+
* Every message's text, from the user and the agent alike, is replaced with `reason`, and its attachments, follow-up questions, backend LLM prompt and history, the data actions returned, and action arguments are cleared.
|
|
422
|
+
* Evaluation results for the conversation are deleted, and the payloads recorded on its trigger and action executions are cleared. <br/><br/>
|
|
423
|
+
* What is kept: the conversation's metadata, each message's charts, structured answer and app-supplied metadata, the conversation's intelligent field values, its feedback and events, and the users who took part. To wipe a user's data, use `DELETE /users/{userId}` or `DELETE /agentusers/{agentUserId}`.</Warning>
|
|
422
424
|
*
|
|
423
425
|
* @param {string} conversationId - The ID of the conversation to delete
|
|
424
426
|
* @param {MavenAGI.ConversationDeleteRequest} request
|
|
@@ -454,7 +456,7 @@ class ConversationClient {
|
|
|
454
456
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
455
457
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
456
458
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
457
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId)}`),
|
|
459
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId, errors.MavenAGIError)}`),
|
|
458
460
|
method: "DELETE",
|
|
459
461
|
headers: _headers,
|
|
460
462
|
queryString: core.url
|
|
@@ -569,7 +571,7 @@ class ConversationClient {
|
|
|
569
571
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
570
572
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
571
573
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
572
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId)}/messages`),
|
|
574
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId, errors.MavenAGIError)}/messages`),
|
|
573
575
|
method: "POST",
|
|
574
576
|
headers: _headers,
|
|
575
577
|
contentType: "application/json",
|
|
@@ -700,7 +702,7 @@ class ConversationClient {
|
|
|
700
702
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
701
703
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
702
704
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
703
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId)}/ask`),
|
|
705
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId, errors.MavenAGIError)}/ask`),
|
|
704
706
|
method: "POST",
|
|
705
707
|
headers: _headers,
|
|
706
708
|
contentType: "application/json",
|
|
@@ -801,7 +803,7 @@ class ConversationClient {
|
|
|
801
803
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
802
804
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
803
805
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
804
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId)}/ask_stream`),
|
|
806
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId, errors.MavenAGIError)}/ask_stream`),
|
|
805
807
|
method: "POST",
|
|
806
808
|
headers: _headers,
|
|
807
809
|
contentType: "application/json",
|
|
@@ -918,7 +920,7 @@ class ConversationClient {
|
|
|
918
920
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
919
921
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
920
922
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
921
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId)}/categorize`),
|
|
923
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId, errors.MavenAGIError)}/categorize`),
|
|
922
924
|
method: "POST",
|
|
923
925
|
headers: _headers,
|
|
924
926
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -1152,7 +1154,7 @@ class ConversationClient {
|
|
|
1152
1154
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
1153
1155
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1154
1156
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
1155
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId)}/submit-form`),
|
|
1157
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId, errors.MavenAGIError)}/submit-form`),
|
|
1156
1158
|
method: "POST",
|
|
1157
1159
|
headers: _headers,
|
|
1158
1160
|
contentType: "application/json",
|
|
@@ -1262,7 +1264,7 @@ class ConversationClient {
|
|
|
1262
1264
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
1263
1265
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1264
1266
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
1265
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId)}/metadata`),
|
|
1267
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId, errors.MavenAGIError)}/metadata`),
|
|
1266
1268
|
method: "POST",
|
|
1267
1269
|
headers: _headers,
|
|
1268
1270
|
contentType: "application/json",
|
|
@@ -1379,7 +1381,7 @@ class ConversationClient {
|
|
|
1379
1381
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
1380
1382
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1381
1383
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
1382
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId)}/metadata`),
|
|
1384
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/conversations/${core.url.encodePathParam(conversationId, errors.MavenAGIError)}/metadata`),
|
|
1383
1385
|
method: "PUT",
|
|
1384
1386
|
headers: _headers,
|
|
1385
1387
|
contentType: "application/json",
|
|
@@ -1765,6 +1767,8 @@ class ConversationClient {
|
|
|
1765
1767
|
* This API is offered for backwards compatibility.
|
|
1766
1768
|
* Most API callers should create simulations programmatically to allow for more flexibility.
|
|
1767
1769
|
*
|
|
1770
|
+
* Shown in Agent Designer as "Import questions".
|
|
1771
|
+
*
|
|
1768
1772
|
* @param {core.file.Uploadable} file
|
|
1769
1773
|
* @param {MavenAGI.SimulationImportRequest} request
|
|
1770
1774
|
* @param {ConversationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
export interface ConversationDeleteRequest {
|
|
8
8
|
/** The App ID of the conversation to delete. If not provided the ID of the calling app will be used. */
|
|
9
9
|
appId?: string;
|
|
10
|
-
/** The reason for deleting the conversation.
|
|
10
|
+
/** The reason for deleting the conversation. It replaces the text of every message in the conversation, and the conversation's `analysis.userRequest`. */
|
|
11
11
|
reason: string;
|
|
12
12
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Fields used to filter conversations by billing status:
|
|
3
|
-
* - ELIGIBLE_AND_BILLABLE: Billable conversations with a RESOLVED resolution status.
|
|
4
|
-
* - ELIGIBLE_AND_NOT_BILLABLE: Conversations eligible for billing consideration but not currently billable. Includes ERROR, IN_PROGRESS, ESCALATED, INCOMPLETE, and NEGATIVE_FEEDBACK.
|
|
5
|
-
* - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN.
|
|
3
|
+
* - ELIGIBLE_AND_BILLABLE: Billable conversations with a RESOLVED resolution status. Shown in Agent Designer as "Billable".
|
|
4
|
+
* - ELIGIBLE_AND_NOT_BILLABLE: Conversations eligible for billing consideration but not currently billable. Shown in Agent Designer as "Not billable". Includes ERROR, IN_PROGRESS, ESCALATED, INCOMPLETE, and NEGATIVE_FEEDBACK.
|
|
5
|
+
* - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN. Shown in Agent Designer as "Not eligible".
|
|
6
6
|
*/
|
|
7
7
|
export declare const BillableFilterField: {
|
|
8
8
|
readonly EligibleAndBillable: "ELIGIBLE_AND_BILLABLE";
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.BillableFilterField = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* Fields used to filter conversations by billing status:
|
|
7
|
-
* - ELIGIBLE_AND_BILLABLE: Billable conversations with a RESOLVED resolution status.
|
|
8
|
-
* - ELIGIBLE_AND_NOT_BILLABLE: Conversations eligible for billing consideration but not currently billable. Includes ERROR, IN_PROGRESS, ESCALATED, INCOMPLETE, and NEGATIVE_FEEDBACK.
|
|
9
|
-
* - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN.
|
|
7
|
+
* - ELIGIBLE_AND_BILLABLE: Billable conversations with a RESOLVED resolution status. Shown in Agent Designer as "Billable".
|
|
8
|
+
* - ELIGIBLE_AND_NOT_BILLABLE: Conversations eligible for billing consideration but not currently billable. Shown in Agent Designer as "Not billable". Includes ERROR, IN_PROGRESS, ESCALATED, INCOMPLETE, and NEGATIVE_FEEDBACK.
|
|
9
|
+
* - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN. Shown in Agent Designer as "Not eligible".
|
|
10
10
|
*/
|
|
11
11
|
exports.BillableFilterField = {
|
|
12
12
|
EligibleAndBillable: "ELIGIBLE_AND_BILLABLE",
|
|
@@ -2,6 +2,8 @@ export declare const ConversationField: {
|
|
|
2
2
|
readonly Category: "Category";
|
|
3
3
|
readonly FirstResponseTime: "FirstResponseTime";
|
|
4
4
|
readonly HandleTime: "HandleTime";
|
|
5
|
+
/**
|
|
6
|
+
* Shown in Agent Designer Insights as the "Top agents" table. */
|
|
5
7
|
readonly HumanAgents: "HumanAgents";
|
|
6
8
|
readonly HumanAgentsWithInserts: "HumanAgentsWithInserts";
|
|
7
9
|
readonly App: "App";
|
|
@@ -10,12 +12,16 @@ export declare const ConversationField: {
|
|
|
10
12
|
readonly ResolutionStatus: "ResolutionStatus";
|
|
11
13
|
readonly ResolvedByMaven: "ResolvedByMaven";
|
|
12
14
|
readonly Quality: "Quality";
|
|
15
|
+
/**
|
|
16
|
+
* Shown in Agent Designer as "Active users" when counted distinctly. */
|
|
13
17
|
readonly Users: "Users";
|
|
14
18
|
readonly ResponseLength: "ResponseLength";
|
|
15
19
|
readonly ThumbsUpCount: "ThumbsUpCount";
|
|
16
20
|
readonly ThumbsDownCount: "ThumbsDownCount";
|
|
17
21
|
readonly InsertCount: "InsertCount";
|
|
18
22
|
readonly Tags: "Tags";
|
|
23
|
+
/**
|
|
24
|
+
* Shown in Agent Designer as "Customer interactions". */
|
|
19
25
|
readonly UserMessageCount: "UserMessageCount";
|
|
20
26
|
readonly BotMessageCount: "BotMessageCount";
|
|
21
27
|
readonly Languages: "Languages";
|
|
@@ -25,6 +31,8 @@ export declare const ConversationField: {
|
|
|
25
31
|
readonly ActionExecutionCount: "ActionExecutionCount";
|
|
26
32
|
readonly ActionErrorCount: "ActionErrorCount";
|
|
27
33
|
readonly Charters: "Charters";
|
|
34
|
+
/**
|
|
35
|
+
* Shown in Agent Designer Insights as the "Top knowledge documents" table. */
|
|
28
36
|
readonly Sources: "Sources";
|
|
29
37
|
readonly CreatedAt: "CreatedAt";
|
|
30
38
|
readonly PredictedNps: "PredictedNPS";
|
|
@@ -6,6 +6,8 @@ exports.ConversationField = {
|
|
|
6
6
|
Category: "Category",
|
|
7
7
|
FirstResponseTime: "FirstResponseTime",
|
|
8
8
|
HandleTime: "HandleTime",
|
|
9
|
+
/**
|
|
10
|
+
* Shown in Agent Designer Insights as the "Top agents" table. */
|
|
9
11
|
HumanAgents: "HumanAgents",
|
|
10
12
|
HumanAgentsWithInserts: "HumanAgentsWithInserts",
|
|
11
13
|
App: "App",
|
|
@@ -14,12 +16,16 @@ exports.ConversationField = {
|
|
|
14
16
|
ResolutionStatus: "ResolutionStatus",
|
|
15
17
|
ResolvedByMaven: "ResolvedByMaven",
|
|
16
18
|
Quality: "Quality",
|
|
19
|
+
/**
|
|
20
|
+
* Shown in Agent Designer as "Active users" when counted distinctly. */
|
|
17
21
|
Users: "Users",
|
|
18
22
|
ResponseLength: "ResponseLength",
|
|
19
23
|
ThumbsUpCount: "ThumbsUpCount",
|
|
20
24
|
ThumbsDownCount: "ThumbsDownCount",
|
|
21
25
|
InsertCount: "InsertCount",
|
|
22
26
|
Tags: "Tags",
|
|
27
|
+
/**
|
|
28
|
+
* Shown in Agent Designer as "Customer interactions". */
|
|
23
29
|
UserMessageCount: "UserMessageCount",
|
|
24
30
|
BotMessageCount: "BotMessageCount",
|
|
25
31
|
Languages: "Languages",
|
|
@@ -29,6 +35,8 @@ exports.ConversationField = {
|
|
|
29
35
|
ActionExecutionCount: "ActionExecutionCount",
|
|
30
36
|
ActionErrorCount: "ActionErrorCount",
|
|
31
37
|
Charters: "Charters",
|
|
38
|
+
/**
|
|
39
|
+
* Shown in Agent Designer Insights as the "Top knowledge documents" table. */
|
|
32
40
|
Sources: "Sources",
|
|
33
41
|
CreatedAt: "CreatedAt",
|
|
34
42
|
PredictedNps: "PredictedNPS",
|
|
@@ -20,6 +20,8 @@ export interface ConversationFilter {
|
|
|
20
20
|
* - `tags:myvalue OR anothervalue` - matches conversations with a tag of `myvalue` or `anothervalue`
|
|
21
21
|
* - `-tags:myvalue` - matches conversations that do not have the tag `myvalue`
|
|
22
22
|
* - `_exists_:tags` - matches conversations that have any tags field set
|
|
23
|
+
*
|
|
24
|
+
* Shown in Agent Designer as "Content includes".
|
|
23
25
|
*/
|
|
24
26
|
search?: string;
|
|
25
27
|
/** Filter conversations created on or after this timestamp */
|
|
@@ -41,6 +43,8 @@ export interface ConversationFilter {
|
|
|
41
43
|
* `BUTTON_CLICKED` events by their `feedbackInfo.thumbUp` value, and `Insert` matches
|
|
42
44
|
* `TEXT_INSERTED` events. `Handoff` matches bot responses that returned the system fallback
|
|
43
45
|
* message.
|
|
46
|
+
*
|
|
47
|
+
* Shown in Agent Designer as "Event".
|
|
44
48
|
*/
|
|
45
49
|
feedback?: MavenAGI.FeedbackType[];
|
|
46
50
|
/** Filter by human agents who participated in the conversation */
|
|
@@ -72,7 +76,7 @@ export interface ConversationFilter {
|
|
|
72
76
|
deleted?: boolean;
|
|
73
77
|
/** Filter by tags applied to the conversation */
|
|
74
78
|
tags?: string[];
|
|
75
|
-
/** Filter by agent user IDs associated with the conversation */
|
|
79
|
+
/** Filter by agent user IDs associated with the conversation. Shown in Agent Designer as "Users", where the user enters identifiers such as an email. */
|
|
76
80
|
agentUserIds?: string[];
|
|
77
81
|
/**
|
|
78
82
|
* Filter by conversation resolution status which is determined by AI based on the conversation content.
|
|
@@ -138,6 +142,8 @@ export interface ConversationFilter {
|
|
|
138
142
|
*
|
|
139
143
|
* If billable is `null` or `[]` then defaults to all eligible conversations,
|
|
140
144
|
* which means ELIGIBLE_AND_BILLABLE and ELIGIBLE_AND_NOT_BILLABLE.
|
|
145
|
+
*
|
|
146
|
+
* Shown in Agent Designer as "Billing status".
|
|
141
147
|
*/
|
|
142
148
|
billable?: MavenAGI.BillableFilterField[];
|
|
143
149
|
}
|
|
@@ -8,7 +8,7 @@ import type * as MavenAGI from "../../../index";
|
|
|
8
8
|
export interface ConversationPatchRequest {
|
|
9
9
|
/** The App ID of the conversation to patch. If not provided the ID of the calling app will be used. */
|
|
10
10
|
appId?: string;
|
|
11
|
-
/** Whether the conversation is open. Set it to false to close the conversation, which records a `CONVERSATION_CLOSED` system event. Closing is final: a closed conversation cannot be reopened and takes no new questions, form submissions, messages or metadata. It can still be read, deleted, and patched otherwise, for example to add attachments. For a conversation with the `ASYNC` capability, only an open conversation can receive asynchronous messages. */
|
|
11
|
+
/** Whether the conversation is open. Set it to false to close the conversation, which records a `CONVERSATION_CLOSED` system event. Closing is final: a closed conversation cannot be reopened and takes no new questions, form submissions, messages or metadata. It can still be read, deleted, and patched otherwise, for example to add attachments. For a conversation with the `ASYNC` capability, only an open conversation can receive asynchronous messages. Close a conversation only after its ask calls have returned. An answer still being generated when the conversation closes is saved anyway, and the `CONVERSATION_CLOSED` event can then go out before that answer is in the conversation's data. */
|
|
12
12
|
open?: boolean;
|
|
13
13
|
/** Whether the LLM is enabled for this conversation. */
|
|
14
14
|
llmEnabled?: boolean;
|
|
@@ -296,7 +296,7 @@ class CustomersClient {
|
|
|
296
296
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
297
297
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
298
298
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
299
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/customers/${core.url.encodePathParam(customerReferenceId)}`),
|
|
299
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/customers/${core.url.encodePathParam(customerReferenceId, errors.MavenAGIError)}`),
|
|
300
300
|
method: "GET",
|
|
301
301
|
headers: _headers,
|
|
302
302
|
queryString: core.url
|
|
@@ -402,7 +402,7 @@ class CustomersClient {
|
|
|
402
402
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
403
403
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
404
404
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
405
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/customers/${core.url.encodePathParam(customerReferenceId)}`),
|
|
405
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/customers/${core.url.encodePathParam(customerReferenceId, errors.MavenAGIError)}`),
|
|
406
406
|
method: "PATCH",
|
|
407
407
|
headers: _headers,
|
|
408
408
|
contentType: "application/merge-patch+json",
|
|
@@ -13,6 +13,8 @@ export interface CustomerFilter {
|
|
|
13
13
|
* - `metadata.mykey:*` - matches customers with a metadata field `mykey`
|
|
14
14
|
* - `-metadata:myvalue` - matches customers that do not have any metadata field set to `myvalue`
|
|
15
15
|
* - `_exists_:metadata` - matches customers that have any metadata field set
|
|
16
|
+
*
|
|
17
|
+
* Shown in Agent Designer as "Name or description".
|
|
16
18
|
*/
|
|
17
19
|
search?: string;
|
|
18
20
|
/** The statuses to filter the customers by. */
|
|
@@ -23,8 +23,8 @@ import type * as MavenAGI from "../../../index";
|
|
|
23
23
|
export interface CustomerResponse extends MavenAGI.CustomerBase {
|
|
24
24
|
/** ID that uniquely identifies this customer */
|
|
25
25
|
customerId: MavenAGI.EntityId;
|
|
26
|
-
/** Set of agent user IDs assigned to this customer */
|
|
26
|
+
/** Set of agent user IDs assigned to this customer. Shown in Agent Designer under "People", together with `members`. */
|
|
27
27
|
assignees: Set<string>;
|
|
28
|
-
/** Set of agent user IDs who are members of this customer */
|
|
28
|
+
/** Set of agent user IDs who are members of this customer. Shown in Agent Designer under "People", together with `assignees`. */
|
|
29
29
|
members: Set<string>;
|
|
30
30
|
}
|
|
@@ -306,7 +306,7 @@ class EventsClient {
|
|
|
306
306
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
307
307
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
308
308
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
309
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/events/${core.url.encodePathParam(eventId)}`),
|
|
309
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/events/${core.url.encodePathParam(eventId, errors.MavenAGIError)}`),
|
|
310
310
|
method: "GET",
|
|
311
311
|
headers: _headers,
|
|
312
312
|
queryString: core.url
|
|
@@ -325,7 +325,7 @@ class InboxClient {
|
|
|
325
325
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
326
326
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
327
327
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
328
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}`),
|
|
328
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId, errors.MavenAGIError)}`),
|
|
329
329
|
method: "PATCH",
|
|
330
330
|
headers: _headers,
|
|
331
331
|
contentType: "application/json",
|
|
@@ -431,7 +431,7 @@ class InboxClient {
|
|
|
431
431
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
432
432
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
433
433
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
434
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}/tags`),
|
|
434
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId, errors.MavenAGIError)}/tags`),
|
|
435
435
|
method: "PATCH",
|
|
436
436
|
headers: _headers,
|
|
437
437
|
contentType: "application/json",
|
|
@@ -539,7 +539,7 @@ class InboxClient {
|
|
|
539
539
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
540
540
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
541
541
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
542
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}`),
|
|
542
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId, errors.MavenAGIError)}`),
|
|
543
543
|
method: "GET",
|
|
544
544
|
headers: _headers,
|
|
545
545
|
queryString: core.url
|
|
@@ -648,7 +648,7 @@ class InboxClient {
|
|
|
648
648
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
649
649
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
650
650
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
651
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/fix/${core.url.encodePathParam(inboxItemFixId)}`),
|
|
651
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/fix/${core.url.encodePathParam(inboxItemFixId, errors.MavenAGIError)}`),
|
|
652
652
|
method: "GET",
|
|
653
653
|
headers: _headers,
|
|
654
654
|
queryString: core.url
|
|
@@ -754,7 +754,7 @@ class InboxClient {
|
|
|
754
754
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
755
755
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
756
756
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
757
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}/applyfixes`),
|
|
757
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId, errors.MavenAGIError)}/applyfixes`),
|
|
758
758
|
method: "POST",
|
|
759
759
|
headers: _headers,
|
|
760
760
|
contentType: "application/json",
|
|
@@ -854,7 +854,7 @@ class InboxClient {
|
|
|
854
854
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
855
855
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
856
856
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
857
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}/ignore`),
|
|
857
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId, errors.MavenAGIError)}/ignore`),
|
|
858
858
|
method: "POST",
|
|
859
859
|
headers: _headers,
|
|
860
860
|
queryString: core.url
|
|
@@ -88,7 +88,7 @@ class IntegrationsClient {
|
|
|
88
88
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
89
89
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
90
90
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
91
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `v1/organizations/${core.url.encodePathParam(organizationId)}/integrations/${core.url.encodePathParam(integrationId)}`),
|
|
91
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `v1/organizations/${core.url.encodePathParam(organizationId, errors.MavenAGIError)}/integrations/${core.url.encodePathParam(integrationId, errors.MavenAGIError)}`),
|
|
92
92
|
method: "PATCH",
|
|
93
93
|
headers: _headers,
|
|
94
94
|
contentType: "application/json",
|
|
@@ -129,8 +129,9 @@ export declare class IntelligentFieldsClient {
|
|
|
129
129
|
* Soft delete an intelligent field. Only INACTIVE fields can be deleted.
|
|
130
130
|
*
|
|
131
131
|
* Deleted fields are excluded from search results, and getting one by ID returns 404.
|
|
132
|
-
* Creating a
|
|
133
|
-
*
|
|
132
|
+
* Creating a field with the same referenceId as a deleted field reclaims it: the field keeps
|
|
133
|
+
* its identity and entityType, every other setting comes from the request, and it gets the
|
|
134
|
+
* status a new field gets.
|
|
134
135
|
*
|
|
135
136
|
* Deleted fields cannot be modified.
|
|
136
137
|
*
|
|
@@ -233,7 +233,7 @@ class IntelligentFieldsClient {
|
|
|
233
233
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
234
234
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
235
235
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
236
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/intelligent-fields/${core.url.encodePathParam(fieldReferenceId)}`),
|
|
236
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/intelligent-fields/${core.url.encodePathParam(fieldReferenceId, errors.MavenAGIError)}`),
|
|
237
237
|
method: "GET",
|
|
238
238
|
headers: _headers,
|
|
239
239
|
queryString: core.url
|
|
@@ -348,7 +348,7 @@ class IntelligentFieldsClient {
|
|
|
348
348
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
349
349
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
350
350
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
351
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/intelligent-fields/${core.url.encodePathParam(fieldReferenceId)}`),
|
|
351
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/intelligent-fields/${core.url.encodePathParam(fieldReferenceId, errors.MavenAGIError)}`),
|
|
352
352
|
method: "PATCH",
|
|
353
353
|
headers: _headers,
|
|
354
354
|
contentType: "application/merge-patch+json",
|
|
@@ -429,8 +429,9 @@ class IntelligentFieldsClient {
|
|
|
429
429
|
* Soft delete an intelligent field. Only INACTIVE fields can be deleted.
|
|
430
430
|
*
|
|
431
431
|
* Deleted fields are excluded from search results, and getting one by ID returns 404.
|
|
432
|
-
* Creating a
|
|
433
|
-
*
|
|
432
|
+
* Creating a field with the same referenceId as a deleted field reclaims it: the field keeps
|
|
433
|
+
* its identity and entityType, every other setting comes from the request, and it gets the
|
|
434
|
+
* status a new field gets.
|
|
434
435
|
*
|
|
435
436
|
* Deleted fields cannot be modified.
|
|
436
437
|
*
|
|
@@ -467,7 +468,7 @@ class IntelligentFieldsClient {
|
|
|
467
468
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
468
469
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
469
470
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
470
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/intelligent-fields/${core.url.encodePathParam(fieldReferenceId)}`),
|
|
471
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/intelligent-fields/${core.url.encodePathParam(fieldReferenceId, errors.MavenAGIError)}`),
|
|
471
472
|
method: "DELETE",
|
|
472
473
|
headers: _headers,
|
|
473
474
|
queryString: core.url
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
export interface EnumOption {
|
|
7
7
|
/** The value of the option */
|
|
8
8
|
value: string;
|
|
9
|
-
/** Display label for the option */
|
|
9
|
+
/** Display label for the option. Shown in Agent Designer as "Option Name". */
|
|
10
10
|
label?: string;
|
|
11
11
|
/**
|
|
12
12
|
* Instructions that tell the LLM when to pick this option. Up to 1200 characters. On a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
export interface IntelligentFieldBase extends MavenAGI.IntelligentFieldCore {
|
|
3
|
-
/** Target entity type for evaluation. CONVERSATION is supported, and AGENT_USER is supported for agents with user-level intelligent fields enabled. The backend will return an error for other types. */
|
|
3
|
+
/** Target entity type for evaluation. CONVERSATION is supported, and AGENT_USER is supported for agents with user-level intelligent fields enabled. The backend will return an error for other types. Shown in Agent Designer as "Target", with `CONVERSATION` as "On conversations" and `AGENT_USER` as "On users". */
|
|
4
4
|
entityType: MavenAGI.EntityType;
|
|
5
5
|
/** On a request, the agent variant to stage the write in. On a response, the variant the request named, if any; absent when it named none. */
|
|
6
6
|
variantId?: MavenAGI.EntityIdWithoutAgent;
|
|
@@ -13,13 +13,17 @@ export interface IntelligentFieldCore {
|
|
|
13
13
|
* - NUMBER: a number
|
|
14
14
|
*
|
|
15
15
|
* For a single select, use STRING or NUMBER together with `enumOptions`.
|
|
16
|
+
*
|
|
17
|
+
* Shown in Agent Designer as "Value format" or "Field type".
|
|
16
18
|
*/
|
|
17
19
|
validationType: MavenAGI.IntelligentFieldType;
|
|
18
|
-
/** Definition used by the LLM when generating this field's value */
|
|
20
|
+
/** Definition used by the LLM when generating this field's value. Shown in Agent Designer as "Define this field" (the evaluation instructions). */
|
|
19
21
|
definition: string;
|
|
20
22
|
/**
|
|
21
23
|
* The finite set of values this field may take. Omit to let the LLM produce any value of
|
|
22
24
|
* the `validationType`. Options may be added later with the patch endpoint, but not removed.
|
|
25
|
+
*
|
|
26
|
+
* Shown in Agent Designer as "Select Options".
|
|
23
27
|
*/
|
|
24
28
|
enumOptions?: MavenAGI.EnumOption[];
|
|
25
29
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Result type hint used for schema generation, UI, and validation */
|
|
1
|
+
/** Result type hint used for schema generation, UI, and validation. In Agent Designer, "Text" saves as `MULTILINE`, "Select" is `STRING` (or `NUMBER` when every option is numeric) with `enumOptions`, and "Multi-Select" is `MULTI_SELECT`. */
|
|
2
2
|
export declare const IntelligentFieldType: {
|
|
3
3
|
/**
|
|
4
4
|
* A single short string value. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.IntelligentFieldType = void 0;
|
|
5
|
-
/** Result type hint used for schema generation, UI, and validation */
|
|
5
|
+
/** Result type hint used for schema generation, UI, and validation. In Agent Designer, "Text" saves as `MULTILINE`, "Select" is `STRING` (or `NUMBER` when every option is numeric) with `enumOptions`, and "Multi-Select" is `MULTI_SELECT`. */
|
|
6
6
|
exports.IntelligentFieldType = {
|
|
7
7
|
/**
|
|
8
8
|
* A single short string value. */
|