mavenagi 1.2.6 → 1.2.8
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/Client.d.ts +0 -3
- package/Client.js +28 -33
- package/README.md +21 -1
- package/api/resources/commons/types/ConversationResponse.d.ts +2 -1
- package/api/resources/commons/types/ConversationSummary.d.ts +2 -0
- package/api/resources/commons/types/EntityIdBase.d.ts +12 -1
- package/api/resources/commons/types/InboxItem.d.ts +24 -1
- package/api/resources/commons/types/InboxItemCustom.d.ts +5 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/conversation/client/Client.d.ts +31 -12
- package/api/resources/conversation/client/Client.js +106 -12
- package/api/resources/conversation/client/requests/SimulationImportRequest.d.ts +5 -0
- package/api/resources/conversation/client/requests/index.d.ts +1 -0
- package/api/resources/events/client/Client.d.ts +2 -2
- package/api/resources/events/client/Client.js +2 -2
- package/api/resources/index.d.ts +0 -2
- package/api/resources/index.js +1 -3
- package/api/resources/knowledge/client/Client.d.ts +24 -0
- package/api/resources/knowledge/client/Client.js +104 -0
- package/api/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts +13 -0
- package/api/resources/knowledge/client/requests/index.d.ts +1 -0
- package/api/resources/knowledge/types/BaseKnowledgeDocument.d.ts +0 -4
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +7 -1
- package/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +4 -0
- package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +9 -2
- package/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +8 -1
- package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +30 -0
- package/api/resources/knowledge/types/KnowledgeDocumentStatus.d.ts +6 -0
- package/api/resources/knowledge/types/KnowledgeDocumentStatus.js +9 -0
- package/api/resources/knowledge/types/index.d.ts +1 -0
- package/api/resources/knowledge/types/index.js +1 -0
- package/api/resources/users/types/AgentUserFilter.d.ts +5 -0
- package/core/exports.d.ts +1 -0
- package/{api/resources/agentCapabilities/index.js → core/exports.js} +1 -2
- package/core/file/exports.d.ts +1 -0
- package/core/file/file.d.ts +5 -0
- package/core/file/file.js +203 -0
- package/{dist/serialization/resources/agentCapabilities → core/file}/index.d.ts +1 -0
- package/{dist/serialization/resources/agentCapabilities → core/file}/index.js +1 -0
- package/core/file/types.d.ts +66 -0
- package/core/form-data-utils/FormDataWrapper.d.ts +16 -0
- package/core/form-data-utils/FormDataWrapper.js +208 -0
- package/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
- package/core/form-data-utils/encodeAsFormParameter.js +12 -0
- package/core/form-data-utils/index.d.ts +2 -0
- package/core/form-data-utils/index.js +20 -0
- package/core/index.d.ts +2 -0
- package/core/index.js +3 -1
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +28 -33
- package/dist/api/resources/commons/types/ConversationResponse.d.ts +2 -1
- package/dist/api/resources/commons/types/ConversationSummary.d.ts +2 -0
- package/dist/api/resources/commons/types/EntityIdBase.d.ts +12 -1
- package/dist/api/resources/commons/types/InboxItem.d.ts +24 -1
- package/dist/api/resources/commons/types/InboxItemCustom.d.ts +5 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/conversation/client/Client.d.ts +31 -12
- package/dist/api/resources/conversation/client/Client.js +106 -12
- package/dist/api/resources/conversation/client/requests/SimulationImportRequest.d.ts +5 -0
- package/dist/api/resources/conversation/client/requests/index.d.ts +1 -0
- package/dist/api/resources/events/client/Client.d.ts +2 -2
- package/dist/api/resources/events/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +0 -2
- package/dist/api/resources/index.js +1 -3
- package/dist/api/resources/knowledge/client/Client.d.ts +24 -0
- package/dist/api/resources/knowledge/client/Client.js +104 -0
- package/dist/api/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts +13 -0
- package/dist/api/resources/knowledge/client/requests/index.d.ts +1 -0
- package/dist/api/resources/knowledge/types/BaseKnowledgeDocument.d.ts +0 -4
- package/dist/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +7 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +4 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +9 -2
- package/dist/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +8 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +30 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentStatus.d.ts +6 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentStatus.js +9 -0
- package/dist/api/resources/knowledge/types/index.d.ts +1 -0
- package/dist/api/resources/knowledge/types/index.js +1 -0
- package/dist/api/resources/users/types/AgentUserFilter.d.ts +5 -0
- package/dist/core/exports.d.ts +1 -0
- package/dist/{api/resources/agentCapabilities/index.js → core/exports.js} +1 -2
- package/dist/core/file/exports.d.ts +1 -0
- package/dist/core/file/exports.js +2 -0
- package/dist/core/file/file.d.ts +5 -0
- package/dist/core/file/file.js +203 -0
- package/{serialization/resources/agentCapabilities → dist/core/file}/index.d.ts +1 -0
- package/{serialization/resources/agentCapabilities → dist/core/file}/index.js +1 -0
- package/dist/core/file/types.d.ts +66 -0
- package/dist/core/file/types.js +2 -0
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +16 -0
- package/dist/core/form-data-utils/FormDataWrapper.js +208 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.js +12 -0
- package/dist/core/form-data-utils/index.d.ts +2 -0
- package/dist/core/form-data-utils/index.js +20 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +3 -1
- package/dist/exports.d.ts +1 -0
- package/dist/exports.js +17 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -0
- package/dist/serialization/resources/commons/types/ConversationSummary.d.ts +1 -0
- package/dist/serialization/resources/commons/types/ConversationSummary.js +1 -0
- package/dist/serialization/resources/commons/types/InboxItem.d.ts +5 -1
- package/dist/serialization/resources/commons/types/InboxItem.js +2 -0
- package/dist/serialization/resources/commons/types/InboxItemCustom.d.ts +10 -0
- package/dist/serialization/resources/{agentCapabilities/types/ExecuteCapabilityRequest.js → commons/types/InboxItemCustom.js} +7 -4
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +0 -2
- package/dist/serialization/resources/index.js +1 -3
- package/dist/serialization/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts +11 -0
- package/dist/serialization/resources/{agentCapabilities/types/PatchAgentCapabilityRequest.js → knowledge/client/requests/KnowledgeDocumentPatchRequest.js} +6 -6
- package/dist/serialization/resources/knowledge/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/knowledge/client/requests/index.js +3 -1
- package/dist/serialization/resources/knowledge/types/BaseKnowledgeDocument.d.ts +0 -2
- package/dist/serialization/resources/knowledge/types/BaseKnowledgeDocument.js +0 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +1 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +2 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +3 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentFilter.js +3 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +4 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +4 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +4 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +4 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +4 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +4 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentStatus.d.ts +7 -0
- package/{serialization/resources/agentCapabilities/types/AgentCapabilityType.js → dist/serialization/resources/knowledge/types/KnowledgeDocumentStatus.js} +2 -2
- package/dist/serialization/resources/knowledge/types/index.d.ts +1 -0
- package/dist/serialization/resources/knowledge/types/index.js +1 -0
- package/dist/serialization/resources/users/types/AgentUserFilter.d.ts +1 -0
- package/dist/serialization/resources/users/types/AgentUserFilter.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/exports.d.ts +1 -0
- package/exports.js +17 -0
- package/index.d.ts +1 -0
- package/index.js +4 -0
- package/package.json +1 -1
- package/reference.md +102 -280
- package/serialization/resources/commons/types/ConversationSummary.d.ts +1 -0
- package/serialization/resources/commons/types/ConversationSummary.js +1 -0
- package/serialization/resources/commons/types/InboxItem.d.ts +5 -1
- package/serialization/resources/commons/types/InboxItem.js +2 -0
- package/serialization/resources/commons/types/InboxItemCustom.d.ts +10 -0
- package/{dist/serialization/resources/agentCapabilities/types/AgentCapabilityField.js → serialization/resources/commons/types/InboxItemCustom.js} +7 -2
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/index.d.ts +0 -2
- package/serialization/resources/index.js +1 -3
- package/serialization/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts +11 -0
- package/serialization/resources/{agentCapabilities/types/ExecuteCapabilityRequest.js → knowledge/client/requests/KnowledgeDocumentPatchRequest.js} +6 -4
- package/serialization/resources/knowledge/client/requests/index.d.ts +1 -0
- package/serialization/resources/knowledge/client/requests/index.js +3 -1
- package/serialization/resources/knowledge/types/BaseKnowledgeDocument.d.ts +0 -2
- package/serialization/resources/knowledge/types/BaseKnowledgeDocument.js +0 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +2 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +3 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.js +3 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +4 -1
- package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +4 -1
- package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +4 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +4 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +4 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +4 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentStatus.d.ts +7 -0
- package/{dist/serialization/resources/agentCapabilities/types/AgentCapabilityType.js → serialization/resources/knowledge/types/KnowledgeDocumentStatus.js} +2 -2
- package/serialization/resources/knowledge/types/index.d.ts +1 -0
- package/serialization/resources/knowledge/types/index.js +1 -0
- package/serialization/resources/users/types/AgentUserFilter.d.ts +1 -0
- package/serialization/resources/users/types/AgentUserFilter.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/agentCapabilities/client/Client.d.ts +0 -101
- package/api/resources/agentCapabilities/client/Client.js +0 -450
- package/api/resources/agentCapabilities/client/index.d.ts +0 -1
- package/api/resources/agentCapabilities/index.d.ts +0 -2
- package/api/resources/agentCapabilities/types/ActionCapability.d.ts +0 -13
- package/api/resources/agentCapabilities/types/AgentCapability.d.ts +0 -10
- package/api/resources/agentCapabilities/types/AgentCapabilityBase.d.ts +0 -12
- package/api/resources/agentCapabilities/types/AgentCapabilityField.d.ts +0 -8
- package/api/resources/agentCapabilities/types/AgentCapabilityField.js +0 -11
- package/api/resources/agentCapabilities/types/AgentCapabilityListRequest.d.ts +0 -11
- package/api/resources/agentCapabilities/types/AgentCapabilityType.d.ts +0 -5
- package/api/resources/agentCapabilities/types/AgentCapabilityType.js +0 -8
- package/api/resources/agentCapabilities/types/ExecuteCapabilityRequest.d.ts +0 -4
- package/api/resources/agentCapabilities/types/ExecuteCapabilityResponse.d.ts +0 -4
- package/api/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.d.ts +0 -5
- package/api/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.js +0 -3
- package/api/resources/agentCapabilities/types/PatchAgentCapabilityRequest.d.ts +0 -8
- package/api/resources/agentCapabilities/types/PatchAgentCapabilityRequest.js +0 -3
- package/api/resources/agentCapabilities/types/TriggerCapability.d.ts +0 -4
- package/api/resources/agentCapabilities/types/TriggerCapability.js +0 -3
- package/api/resources/agentCapabilities/types/TriggerType.d.ts +0 -7
- package/api/resources/agentCapabilities/types/TriggerType.js +0 -10
- package/api/resources/agentCapabilities/types/index.d.ts +0 -12
- package/api/resources/agentCapabilities/types/index.js +0 -28
- package/dist/api/resources/agentCapabilities/client/Client.d.ts +0 -101
- package/dist/api/resources/agentCapabilities/client/Client.js +0 -450
- package/dist/api/resources/agentCapabilities/client/index.d.ts +0 -1
- package/dist/api/resources/agentCapabilities/index.d.ts +0 -2
- package/dist/api/resources/agentCapabilities/types/ActionCapability.d.ts +0 -13
- package/dist/api/resources/agentCapabilities/types/ActionCapability.js +0 -3
- package/dist/api/resources/agentCapabilities/types/AgentCapability.d.ts +0 -10
- package/dist/api/resources/agentCapabilities/types/AgentCapability.js +0 -3
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityBase.d.ts +0 -12
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityBase.js +0 -3
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityField.d.ts +0 -8
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityField.js +0 -11
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityListRequest.d.ts +0 -11
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityListRequest.js +0 -3
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityType.d.ts +0 -5
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityType.js +0 -8
- package/dist/api/resources/agentCapabilities/types/ExecuteCapabilityRequest.d.ts +0 -4
- package/dist/api/resources/agentCapabilities/types/ExecuteCapabilityRequest.js +0 -3
- package/dist/api/resources/agentCapabilities/types/ExecuteCapabilityResponse.d.ts +0 -4
- package/dist/api/resources/agentCapabilities/types/ExecuteCapabilityResponse.js +0 -3
- package/dist/api/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.d.ts +0 -5
- package/dist/api/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.js +0 -3
- package/dist/api/resources/agentCapabilities/types/PatchAgentCapabilityRequest.d.ts +0 -8
- package/dist/api/resources/agentCapabilities/types/PatchAgentCapabilityRequest.js +0 -3
- package/dist/api/resources/agentCapabilities/types/TriggerCapability.d.ts +0 -4
- package/dist/api/resources/agentCapabilities/types/TriggerCapability.js +0 -3
- package/dist/api/resources/agentCapabilities/types/TriggerType.d.ts +0 -7
- package/dist/api/resources/agentCapabilities/types/TriggerType.js +0 -10
- package/dist/api/resources/agentCapabilities/types/index.d.ts +0 -12
- package/dist/api/resources/agentCapabilities/types/index.js +0 -28
- package/dist/serialization/resources/agentCapabilities/types/ActionCapability.d.ts +0 -17
- package/dist/serialization/resources/agentCapabilities/types/ActionCapability.js +0 -52
- package/dist/serialization/resources/agentCapabilities/types/AgentCapability.d.ts +0 -15
- package/dist/serialization/resources/agentCapabilities/types/AgentCapability.js +0 -49
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityBase.d.ts +0 -15
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityBase.js +0 -47
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityField.d.ts +0 -7
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityListRequest.d.ts +0 -18
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityListRequest.js +0 -52
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityType.d.ts +0 -7
- package/dist/serialization/resources/agentCapabilities/types/ExecuteCapabilityRequest.d.ts +0 -9
- package/dist/serialization/resources/agentCapabilities/types/ExecuteCapabilityResponse.d.ts +0 -10
- package/dist/serialization/resources/agentCapabilities/types/ExecuteCapabilityResponse.js +0 -42
- package/dist/serialization/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.d.ts +0 -12
- package/dist/serialization/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.js +0 -46
- package/dist/serialization/resources/agentCapabilities/types/PatchAgentCapabilityRequest.d.ts +0 -11
- package/dist/serialization/resources/agentCapabilities/types/TriggerCapability.d.ts +0 -11
- package/dist/serialization/resources/agentCapabilities/types/TriggerCapability.js +0 -45
- package/dist/serialization/resources/agentCapabilities/types/TriggerType.d.ts +0 -7
- package/dist/serialization/resources/agentCapabilities/types/TriggerType.js +0 -39
- package/dist/serialization/resources/agentCapabilities/types/index.d.ts +0 -12
- package/dist/serialization/resources/agentCapabilities/types/index.js +0 -28
- package/serialization/resources/agentCapabilities/types/ActionCapability.d.ts +0 -17
- package/serialization/resources/agentCapabilities/types/ActionCapability.js +0 -52
- package/serialization/resources/agentCapabilities/types/AgentCapability.d.ts +0 -15
- package/serialization/resources/agentCapabilities/types/AgentCapability.js +0 -49
- package/serialization/resources/agentCapabilities/types/AgentCapabilityBase.d.ts +0 -15
- package/serialization/resources/agentCapabilities/types/AgentCapabilityBase.js +0 -47
- package/serialization/resources/agentCapabilities/types/AgentCapabilityField.d.ts +0 -7
- package/serialization/resources/agentCapabilities/types/AgentCapabilityField.js +0 -39
- package/serialization/resources/agentCapabilities/types/AgentCapabilityListRequest.d.ts +0 -18
- package/serialization/resources/agentCapabilities/types/AgentCapabilityListRequest.js +0 -52
- package/serialization/resources/agentCapabilities/types/AgentCapabilityType.d.ts +0 -7
- package/serialization/resources/agentCapabilities/types/ExecuteCapabilityRequest.d.ts +0 -9
- package/serialization/resources/agentCapabilities/types/ExecuteCapabilityResponse.d.ts +0 -10
- package/serialization/resources/agentCapabilities/types/ExecuteCapabilityResponse.js +0 -42
- package/serialization/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.d.ts +0 -12
- package/serialization/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.js +0 -46
- package/serialization/resources/agentCapabilities/types/PatchAgentCapabilityRequest.d.ts +0 -11
- package/serialization/resources/agentCapabilities/types/PatchAgentCapabilityRequest.js +0 -43
- package/serialization/resources/agentCapabilities/types/TriggerCapability.d.ts +0 -11
- package/serialization/resources/agentCapabilities/types/TriggerCapability.js +0 -45
- package/serialization/resources/agentCapabilities/types/TriggerType.d.ts +0 -7
- package/serialization/resources/agentCapabilities/types/TriggerType.js +0 -39
- package/serialization/resources/agentCapabilities/types/index.d.ts +0 -12
- package/serialization/resources/agentCapabilities/types/index.js +0 -28
- /package/api/resources/{agentCapabilities/types/ActionCapability.js → commons/types/InboxItemCustom.js} +0 -0
- /package/api/resources/{agentCapabilities/types/AgentCapability.js → conversation/client/requests/SimulationImportRequest.js} +0 -0
- /package/api/resources/{agentCapabilities/types/AgentCapabilityBase.js → knowledge/client/requests/KnowledgeDocumentPatchRequest.js} +0 -0
- /package/{api/resources/agentCapabilities/client/index.js → core/file/exports.js} +0 -0
- /package/{dist/api/resources/agentCapabilities/client/index.js → core/file/types.js} +0 -0
- /package/{api/resources/agentCapabilities/types/AgentCapabilityListRequest.js → dist/api/resources/commons/types/InboxItemCustom.js} +0 -0
- /package/{api/resources/agentCapabilities/types/ExecuteCapabilityRequest.js → dist/api/resources/conversation/client/requests/SimulationImportRequest.js} +0 -0
- /package/{api/resources/agentCapabilities/types/ExecuteCapabilityResponse.js → dist/api/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.js} +0 -0
package/reference.md
CHANGED
|
@@ -354,270 +354,6 @@ await client.actions.delete("get-balance");
|
|
|
354
354
|
</dl>
|
|
355
355
|
</details>
|
|
356
356
|
|
|
357
|
-
## AgentCapabilities
|
|
358
|
-
|
|
359
|
-
<details><summary><code>client.agentCapabilities.<a href="/src/api/resources/agentCapabilities/client/Client.ts">list</a>({ ...params }) -> MavenAGI.ListAgentCapabilitiesResponse</code></summary>
|
|
360
|
-
<dl>
|
|
361
|
-
<dd>
|
|
362
|
-
|
|
363
|
-
#### 📝 Description
|
|
364
|
-
|
|
365
|
-
<dl>
|
|
366
|
-
<dd>
|
|
367
|
-
|
|
368
|
-
<dl>
|
|
369
|
-
<dd>
|
|
370
|
-
|
|
371
|
-
List all capabilities for an agent.
|
|
372
|
-
|
|
373
|
-
</dd>
|
|
374
|
-
</dl>
|
|
375
|
-
</dd>
|
|
376
|
-
</dl>
|
|
377
|
-
|
|
378
|
-
#### 🔌 Usage
|
|
379
|
-
|
|
380
|
-
<dl>
|
|
381
|
-
<dd>
|
|
382
|
-
|
|
383
|
-
<dl>
|
|
384
|
-
<dd>
|
|
385
|
-
|
|
386
|
-
```typescript
|
|
387
|
-
await client.agentCapabilities.list({});
|
|
388
|
-
```
|
|
389
|
-
|
|
390
|
-
</dd>
|
|
391
|
-
</dl>
|
|
392
|
-
</dd>
|
|
393
|
-
</dl>
|
|
394
|
-
|
|
395
|
-
#### ⚙️ Parameters
|
|
396
|
-
|
|
397
|
-
<dl>
|
|
398
|
-
<dd>
|
|
399
|
-
|
|
400
|
-
<dl>
|
|
401
|
-
<dd>
|
|
402
|
-
|
|
403
|
-
**request:** `MavenAGI.AgentCapabilityListRequest`
|
|
404
|
-
|
|
405
|
-
</dd>
|
|
406
|
-
</dl>
|
|
407
|
-
|
|
408
|
-
<dl>
|
|
409
|
-
<dd>
|
|
410
|
-
|
|
411
|
-
**requestOptions:** `AgentCapabilities.RequestOptions`
|
|
412
|
-
|
|
413
|
-
</dd>
|
|
414
|
-
</dl>
|
|
415
|
-
</dd>
|
|
416
|
-
</dl>
|
|
417
|
-
|
|
418
|
-
</dd>
|
|
419
|
-
</dl>
|
|
420
|
-
</details>
|
|
421
|
-
|
|
422
|
-
<details><summary><code>client.agentCapabilities.<a href="/src/api/resources/agentCapabilities/client/Client.ts">get</a>(integrationId, capabilityId) -> MavenAGI.AgentCapability</code></summary>
|
|
423
|
-
<dl>
|
|
424
|
-
<dd>
|
|
425
|
-
|
|
426
|
-
#### 🔌 Usage
|
|
427
|
-
|
|
428
|
-
<dl>
|
|
429
|
-
<dd>
|
|
430
|
-
|
|
431
|
-
<dl>
|
|
432
|
-
<dd>
|
|
433
|
-
|
|
434
|
-
```typescript
|
|
435
|
-
await client.agentCapabilities.get("integrationId", "capabilityId");
|
|
436
|
-
```
|
|
437
|
-
|
|
438
|
-
</dd>
|
|
439
|
-
</dl>
|
|
440
|
-
</dd>
|
|
441
|
-
</dl>
|
|
442
|
-
|
|
443
|
-
#### ⚙️ Parameters
|
|
444
|
-
|
|
445
|
-
<dl>
|
|
446
|
-
<dd>
|
|
447
|
-
|
|
448
|
-
<dl>
|
|
449
|
-
<dd>
|
|
450
|
-
|
|
451
|
-
**integrationId:** `string`
|
|
452
|
-
|
|
453
|
-
</dd>
|
|
454
|
-
</dl>
|
|
455
|
-
|
|
456
|
-
<dl>
|
|
457
|
-
<dd>
|
|
458
|
-
|
|
459
|
-
**capabilityId:** `string`
|
|
460
|
-
|
|
461
|
-
</dd>
|
|
462
|
-
</dl>
|
|
463
|
-
|
|
464
|
-
<dl>
|
|
465
|
-
<dd>
|
|
466
|
-
|
|
467
|
-
**requestOptions:** `AgentCapabilities.RequestOptions`
|
|
468
|
-
|
|
469
|
-
</dd>
|
|
470
|
-
</dl>
|
|
471
|
-
</dd>
|
|
472
|
-
</dl>
|
|
473
|
-
|
|
474
|
-
</dd>
|
|
475
|
-
</dl>
|
|
476
|
-
</details>
|
|
477
|
-
|
|
478
|
-
<details><summary><code>client.agentCapabilities.<a href="/src/api/resources/agentCapabilities/client/Client.ts">patch</a>(integrationId, capabilityId, { ...params }) -> MavenAGI.AgentCapability</code></summary>
|
|
479
|
-
<dl>
|
|
480
|
-
<dd>
|
|
481
|
-
|
|
482
|
-
#### 🔌 Usage
|
|
483
|
-
|
|
484
|
-
<dl>
|
|
485
|
-
<dd>
|
|
486
|
-
|
|
487
|
-
<dl>
|
|
488
|
-
<dd>
|
|
489
|
-
|
|
490
|
-
```typescript
|
|
491
|
-
await client.agentCapabilities.patch("integrationId", "capabilityId", {});
|
|
492
|
-
```
|
|
493
|
-
|
|
494
|
-
</dd>
|
|
495
|
-
</dl>
|
|
496
|
-
</dd>
|
|
497
|
-
</dl>
|
|
498
|
-
|
|
499
|
-
#### ⚙️ Parameters
|
|
500
|
-
|
|
501
|
-
<dl>
|
|
502
|
-
<dd>
|
|
503
|
-
|
|
504
|
-
<dl>
|
|
505
|
-
<dd>
|
|
506
|
-
|
|
507
|
-
**integrationId:** `string`
|
|
508
|
-
|
|
509
|
-
</dd>
|
|
510
|
-
</dl>
|
|
511
|
-
|
|
512
|
-
<dl>
|
|
513
|
-
<dd>
|
|
514
|
-
|
|
515
|
-
**capabilityId:** `string`
|
|
516
|
-
|
|
517
|
-
</dd>
|
|
518
|
-
</dl>
|
|
519
|
-
|
|
520
|
-
<dl>
|
|
521
|
-
<dd>
|
|
522
|
-
|
|
523
|
-
**request:** `MavenAGI.PatchAgentCapabilityRequest`
|
|
524
|
-
|
|
525
|
-
</dd>
|
|
526
|
-
</dl>
|
|
527
|
-
|
|
528
|
-
<dl>
|
|
529
|
-
<dd>
|
|
530
|
-
|
|
531
|
-
**requestOptions:** `AgentCapabilities.RequestOptions`
|
|
532
|
-
|
|
533
|
-
</dd>
|
|
534
|
-
</dl>
|
|
535
|
-
</dd>
|
|
536
|
-
</dl>
|
|
537
|
-
|
|
538
|
-
</dd>
|
|
539
|
-
</dl>
|
|
540
|
-
</details>
|
|
541
|
-
|
|
542
|
-
<details><summary><code>client.agentCapabilities.<a href="/src/api/resources/agentCapabilities/client/Client.ts">execute</a>(integrationId, capabilityId, { ...params }) -> MavenAGI.ExecuteCapabilityResponse</code></summary>
|
|
543
|
-
<dl>
|
|
544
|
-
<dd>
|
|
545
|
-
|
|
546
|
-
#### 📝 Description
|
|
547
|
-
|
|
548
|
-
<dl>
|
|
549
|
-
<dd>
|
|
550
|
-
|
|
551
|
-
<dl>
|
|
552
|
-
<dd>
|
|
553
|
-
|
|
554
|
-
Execute an action capability.
|
|
555
|
-
|
|
556
|
-
</dd>
|
|
557
|
-
</dl>
|
|
558
|
-
</dd>
|
|
559
|
-
</dl>
|
|
560
|
-
|
|
561
|
-
#### 🔌 Usage
|
|
562
|
-
|
|
563
|
-
<dl>
|
|
564
|
-
<dd>
|
|
565
|
-
|
|
566
|
-
<dl>
|
|
567
|
-
<dd>
|
|
568
|
-
|
|
569
|
-
```typescript
|
|
570
|
-
await client.agentCapabilities.execute("integrationId", "capabilityId", {});
|
|
571
|
-
```
|
|
572
|
-
|
|
573
|
-
</dd>
|
|
574
|
-
</dl>
|
|
575
|
-
</dd>
|
|
576
|
-
</dl>
|
|
577
|
-
|
|
578
|
-
#### ⚙️ Parameters
|
|
579
|
-
|
|
580
|
-
<dl>
|
|
581
|
-
<dd>
|
|
582
|
-
|
|
583
|
-
<dl>
|
|
584
|
-
<dd>
|
|
585
|
-
|
|
586
|
-
**integrationId:** `string`
|
|
587
|
-
|
|
588
|
-
</dd>
|
|
589
|
-
</dl>
|
|
590
|
-
|
|
591
|
-
<dl>
|
|
592
|
-
<dd>
|
|
593
|
-
|
|
594
|
-
**capabilityId:** `string`
|
|
595
|
-
|
|
596
|
-
</dd>
|
|
597
|
-
</dl>
|
|
598
|
-
|
|
599
|
-
<dl>
|
|
600
|
-
<dd>
|
|
601
|
-
|
|
602
|
-
**request:** `MavenAGI.ExecuteCapabilityRequest`
|
|
603
|
-
|
|
604
|
-
</dd>
|
|
605
|
-
</dl>
|
|
606
|
-
|
|
607
|
-
<dl>
|
|
608
|
-
<dd>
|
|
609
|
-
|
|
610
|
-
**requestOptions:** `AgentCapabilities.RequestOptions`
|
|
611
|
-
|
|
612
|
-
</dd>
|
|
613
|
-
</dl>
|
|
614
|
-
</dd>
|
|
615
|
-
</dl>
|
|
616
|
-
|
|
617
|
-
</dd>
|
|
618
|
-
</dl>
|
|
619
|
-
</details>
|
|
620
|
-
|
|
621
357
|
## Agents
|
|
622
358
|
|
|
623
359
|
<details><summary><code>client.agents.<a href="/src/api/resources/agents/client/Client.ts">search</a>({ ...params }) -> MavenAGI.AgentsSearchResponse</code></summary>
|
|
@@ -1855,25 +1591,25 @@ After initialization,
|
|
|
1855
1591
|
```typescript
|
|
1856
1592
|
await client.conversation.initialize({
|
|
1857
1593
|
conversationId: {
|
|
1858
|
-
referenceId: "
|
|
1594
|
+
referenceId: "x",
|
|
1859
1595
|
},
|
|
1860
1596
|
messages: [
|
|
1861
1597
|
{
|
|
1862
1598
|
conversationMessageId: {
|
|
1863
|
-
referenceId: "
|
|
1599
|
+
referenceId: "x",
|
|
1864
1600
|
},
|
|
1865
1601
|
userId: {
|
|
1866
|
-
referenceId: "
|
|
1602
|
+
referenceId: "x",
|
|
1867
1603
|
},
|
|
1868
1604
|
text: "text",
|
|
1869
1605
|
userMessageType: "USER",
|
|
1870
1606
|
},
|
|
1871
1607
|
{
|
|
1872
1608
|
conversationMessageId: {
|
|
1873
|
-
referenceId: "
|
|
1609
|
+
referenceId: "x",
|
|
1874
1610
|
},
|
|
1875
1611
|
userId: {
|
|
1876
|
-
referenceId: "
|
|
1612
|
+
referenceId: "x",
|
|
1877
1613
|
},
|
|
1878
1614
|
text: "text",
|
|
1879
1615
|
userMessageType: "USER",
|
|
@@ -2174,20 +1910,20 @@ Append messages to an existing conversation. The conversation must be initialize
|
|
|
2174
1910
|
await client.conversation.appendNewMessages("conversationId", [
|
|
2175
1911
|
{
|
|
2176
1912
|
conversationMessageId: {
|
|
2177
|
-
referenceId: "
|
|
1913
|
+
referenceId: "x",
|
|
2178
1914
|
},
|
|
2179
1915
|
userId: {
|
|
2180
|
-
referenceId: "
|
|
1916
|
+
referenceId: "x",
|
|
2181
1917
|
},
|
|
2182
1918
|
text: "text",
|
|
2183
1919
|
userMessageType: "USER",
|
|
2184
1920
|
},
|
|
2185
1921
|
{
|
|
2186
1922
|
conversationMessageId: {
|
|
2187
|
-
referenceId: "
|
|
1923
|
+
referenceId: "x",
|
|
2188
1924
|
},
|
|
2189
1925
|
userId: {
|
|
2190
|
-
referenceId: "
|
|
1926
|
+
referenceId: "x",
|
|
2191
1927
|
},
|
|
2192
1928
|
text: "text",
|
|
2193
1929
|
userMessageType: "USER",
|
|
@@ -2484,10 +2220,10 @@ Known Limitations:
|
|
|
2484
2220
|
const response = await client.conversation.askObjectStream("conversationId", {
|
|
2485
2221
|
schema: "schema",
|
|
2486
2222
|
conversationMessageId: {
|
|
2487
|
-
referenceId: "
|
|
2223
|
+
referenceId: "x",
|
|
2488
2224
|
},
|
|
2489
2225
|
userId: {
|
|
2490
|
-
referenceId: "
|
|
2226
|
+
referenceId: "x",
|
|
2491
2227
|
},
|
|
2492
2228
|
text: "text",
|
|
2493
2229
|
});
|
|
@@ -3084,14 +2820,14 @@ await client.conversation.deliverMessage({
|
|
|
3084
2820
|
userId: {
|
|
3085
2821
|
type: "AGENT",
|
|
3086
2822
|
appId: "appId",
|
|
3087
|
-
referenceId: "
|
|
2823
|
+
referenceId: "x",
|
|
3088
2824
|
},
|
|
3089
2825
|
message: {
|
|
3090
2826
|
conversationMessageId: {
|
|
3091
|
-
referenceId: "
|
|
2827
|
+
referenceId: "x",
|
|
3092
2828
|
},
|
|
3093
2829
|
userId: {
|
|
3094
|
-
referenceId: "
|
|
2830
|
+
referenceId: "x",
|
|
3095
2831
|
},
|
|
3096
2832
|
text: "text",
|
|
3097
2833
|
userMessageType: "USER",
|
|
@@ -3164,12 +2900,12 @@ Create a new event
|
|
|
3164
2900
|
await client.events.create({
|
|
3165
2901
|
eventType: "userEvent",
|
|
3166
2902
|
id: {
|
|
3167
|
-
referenceId: "
|
|
2903
|
+
referenceId: "x",
|
|
3168
2904
|
},
|
|
3169
2905
|
eventName: "BUTTON_CLICKED",
|
|
3170
2906
|
userInfo: {
|
|
3171
2907
|
id: {
|
|
3172
|
-
referenceId: "
|
|
2908
|
+
referenceId: "x",
|
|
3173
2909
|
},
|
|
3174
2910
|
},
|
|
3175
2911
|
});
|
|
@@ -4675,6 +4411,92 @@ await client.knowledge.getKnowledgeDocument("knowledgeBaseVersionReferenceId", "
|
|
|
4675
4411
|
</dl>
|
|
4676
4412
|
</details>
|
|
4677
4413
|
|
|
4414
|
+
<details><summary><code>client.knowledge.<a href="/src/api/resources/knowledge/client/Client.ts">patchKnowledgeDocument</a>(knowledgeBaseReferenceId, knowledgeDocumentReferenceId, { ...params }) -> MavenAGI.KnowledgeDocumentResponse</code></summary>
|
|
4415
|
+
<dl>
|
|
4416
|
+
<dd>
|
|
4417
|
+
|
|
4418
|
+
#### 📝 Description
|
|
4419
|
+
|
|
4420
|
+
<dl>
|
|
4421
|
+
<dd>
|
|
4422
|
+
|
|
4423
|
+
<dl>
|
|
4424
|
+
<dd>
|
|
4425
|
+
|
|
4426
|
+
Update mutable knowledge document fields that can be set independently of a knowledge base version.
|
|
4427
|
+
|
|
4428
|
+
For any changes in document content see the `createKnowledgeBaseVersion` and `createKnowledgeDocument` endpoints.
|
|
4429
|
+
|
|
4430
|
+
The `knowledgeBaseAppId` field can be provided to update a knowledge document in a knowledge base owned by a different app.
|
|
4431
|
+
All other fields will overwrite the existing value on the knowledge document only if provided.
|
|
4432
|
+
|
|
4433
|
+
</dd>
|
|
4434
|
+
</dl>
|
|
4435
|
+
</dd>
|
|
4436
|
+
</dl>
|
|
4437
|
+
|
|
4438
|
+
#### 🔌 Usage
|
|
4439
|
+
|
|
4440
|
+
<dl>
|
|
4441
|
+
<dd>
|
|
4442
|
+
|
|
4443
|
+
<dl>
|
|
4444
|
+
<dd>
|
|
4445
|
+
|
|
4446
|
+
```typescript
|
|
4447
|
+
await client.knowledge.patchKnowledgeDocument("help-center", "how-it-works", {
|
|
4448
|
+
llmInclusionStatus: "ALWAYS",
|
|
4449
|
+
});
|
|
4450
|
+
```
|
|
4451
|
+
|
|
4452
|
+
</dd>
|
|
4453
|
+
</dl>
|
|
4454
|
+
</dd>
|
|
4455
|
+
</dl>
|
|
4456
|
+
|
|
4457
|
+
#### ⚙️ Parameters
|
|
4458
|
+
|
|
4459
|
+
<dl>
|
|
4460
|
+
<dd>
|
|
4461
|
+
|
|
4462
|
+
<dl>
|
|
4463
|
+
<dd>
|
|
4464
|
+
|
|
4465
|
+
**knowledgeBaseReferenceId:** `string` — The reference ID of the knowledge base to patch.
|
|
4466
|
+
|
|
4467
|
+
</dd>
|
|
4468
|
+
</dl>
|
|
4469
|
+
|
|
4470
|
+
<dl>
|
|
4471
|
+
<dd>
|
|
4472
|
+
|
|
4473
|
+
**knowledgeDocumentReferenceId:** `string` — The reference ID of the knowledge document to patch.
|
|
4474
|
+
|
|
4475
|
+
</dd>
|
|
4476
|
+
</dl>
|
|
4477
|
+
|
|
4478
|
+
<dl>
|
|
4479
|
+
<dd>
|
|
4480
|
+
|
|
4481
|
+
**request:** `MavenAGI.KnowledgeDocumentPatchRequest`
|
|
4482
|
+
|
|
4483
|
+
</dd>
|
|
4484
|
+
</dl>
|
|
4485
|
+
|
|
4486
|
+
<dl>
|
|
4487
|
+
<dd>
|
|
4488
|
+
|
|
4489
|
+
**requestOptions:** `Knowledge.RequestOptions`
|
|
4490
|
+
|
|
4491
|
+
</dd>
|
|
4492
|
+
</dl>
|
|
4493
|
+
</dd>
|
|
4494
|
+
</dl>
|
|
4495
|
+
|
|
4496
|
+
</dd>
|
|
4497
|
+
</dl>
|
|
4498
|
+
</details>
|
|
4499
|
+
|
|
4678
4500
|
## Organizations
|
|
4679
4501
|
|
|
4680
4502
|
<details><summary><code>client.organizations.<a href="/src/api/resources/organizations/client/Client.ts">create</a>(organizationReferenceId, { ...params }) -> MavenAGI.Organization</code></summary>
|
|
@@ -50,6 +50,7 @@ exports.ConversationSummary = core.serialization.object({
|
|
|
50
50
|
humanAgents: core.serialization.list(core.serialization.string()),
|
|
51
51
|
humanAgentsWithInserts: core.serialization.list(core.serialization.string()),
|
|
52
52
|
users: core.serialization.list(core.serialization.string()),
|
|
53
|
+
userIdentifiers: core.serialization.list(core.serialization.string()),
|
|
53
54
|
lastUserMessage: core.serialization.string().optional(),
|
|
54
55
|
lastBotMessage: core.serialization.string().optional(),
|
|
55
56
|
});
|
|
@@ -3,13 +3,17 @@ import * as MavenAGI from "../../../../api/index";
|
|
|
3
3
|
import * as core from "../../../../core";
|
|
4
4
|
import { InboxItemDuplicateDocuments } from "./InboxItemDuplicateDocuments";
|
|
5
5
|
import { InboxItemMissingKnowledge } from "./InboxItemMissingKnowledge";
|
|
6
|
+
import { InboxItemCustom } from "./InboxItemCustom";
|
|
6
7
|
export declare const InboxItem: core.serialization.Schema<serializers.InboxItem.Raw, MavenAGI.InboxItem>;
|
|
7
8
|
export declare namespace InboxItem {
|
|
8
|
-
type Raw = InboxItem.DuplicateDocuments | InboxItem.MissingKnowledge;
|
|
9
|
+
type Raw = InboxItem.DuplicateDocuments | InboxItem.MissingKnowledge | InboxItem.Custom;
|
|
9
10
|
interface DuplicateDocuments extends InboxItemDuplicateDocuments.Raw {
|
|
10
11
|
type: "duplicateDocuments";
|
|
11
12
|
}
|
|
12
13
|
interface MissingKnowledge extends InboxItemMissingKnowledge.Raw {
|
|
13
14
|
type: "missingKnowledge";
|
|
14
15
|
}
|
|
16
|
+
interface Custom extends InboxItemCustom.Raw {
|
|
17
|
+
type: "custom";
|
|
18
|
+
}
|
|
15
19
|
}
|
|
@@ -38,10 +38,12 @@ exports.InboxItem = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const InboxItemDuplicateDocuments_1 = require("./InboxItemDuplicateDocuments");
|
|
40
40
|
const InboxItemMissingKnowledge_1 = require("./InboxItemMissingKnowledge");
|
|
41
|
+
const InboxItemCustom_1 = require("./InboxItemCustom");
|
|
41
42
|
exports.InboxItem = core.serialization
|
|
42
43
|
.union("type", {
|
|
43
44
|
duplicateDocuments: InboxItemDuplicateDocuments_1.InboxItemDuplicateDocuments,
|
|
44
45
|
missingKnowledge: InboxItemMissingKnowledge_1.InboxItemMissingKnowledge,
|
|
46
|
+
custom: InboxItemCustom_1.InboxItemCustom,
|
|
45
47
|
})
|
|
46
48
|
.transform({
|
|
47
49
|
transform: (value) => value,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as serializers from "../../../index";
|
|
2
|
+
import * as MavenAGI from "../../../../api/index";
|
|
3
|
+
import * as core from "../../../../core";
|
|
4
|
+
import { InboxItemBase } from "./InboxItemBase";
|
|
5
|
+
export declare const InboxItemCustom: core.serialization.ObjectSchema<serializers.InboxItemCustom.Raw, MavenAGI.InboxItemCustom>;
|
|
6
|
+
export declare namespace InboxItemCustom {
|
|
7
|
+
interface Raw extends InboxItemBase.Raw {
|
|
8
|
+
metadata: Record<string, string>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -34,6 +34,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.InboxItemCustom = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
|
|
39
|
+
const InboxItemBase_1 = require("./InboxItemBase");
|
|
40
|
+
exports.InboxItemCustom = core.serialization
|
|
41
|
+
.object({
|
|
42
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
43
|
+
})
|
|
44
|
+
.extend(InboxItemBase_1.InboxItemBase);
|
|
@@ -125,6 +125,7 @@ export * from "./InboxItemType";
|
|
|
125
125
|
export * from "./InboxItemSeverity";
|
|
126
126
|
export * from "./InboxItem";
|
|
127
127
|
export * from "./InboxItemBase";
|
|
128
|
+
export * from "./InboxItemCustom";
|
|
128
129
|
export * from "./InboxItemDuplicateDocuments";
|
|
129
130
|
export * from "./InboxItemMissingKnowledge";
|
|
130
131
|
export * from "./InboxItemFix";
|
|
@@ -141,6 +141,7 @@ __exportStar(require("./InboxItemType"), exports);
|
|
|
141
141
|
__exportStar(require("./InboxItemSeverity"), exports);
|
|
142
142
|
__exportStar(require("./InboxItem"), exports);
|
|
143
143
|
__exportStar(require("./InboxItemBase"), exports);
|
|
144
|
+
__exportStar(require("./InboxItemCustom"), exports);
|
|
144
145
|
__exportStar(require("./InboxItemDuplicateDocuments"), exports);
|
|
145
146
|
__exportStar(require("./InboxItemMissingKnowledge"), exports);
|
|
146
147
|
__exportStar(require("./InboxItemFix"), exports);
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export * as actions from "./actions";
|
|
2
2
|
export * from "./actions/types";
|
|
3
|
-
export * as agentCapabilities from "./agentCapabilities";
|
|
4
|
-
export * from "./agentCapabilities/types";
|
|
5
3
|
export * as agents from "./agents";
|
|
6
4
|
export * from "./agents/types";
|
|
7
5
|
export * as analytics from "./analytics";
|
|
@@ -36,11 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.inbox = exports.conversation = exports.commons = exports.assets = exports.appSettings = exports.analytics = exports.agents = exports.
|
|
39
|
+
exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.inbox = exports.conversation = exports.commons = exports.assets = exports.appSettings = exports.analytics = exports.agents = exports.actions = void 0;
|
|
40
40
|
exports.actions = __importStar(require("./actions"));
|
|
41
41
|
__exportStar(require("./actions/types"), exports);
|
|
42
|
-
exports.agentCapabilities = __importStar(require("./agentCapabilities"));
|
|
43
|
-
__exportStar(require("./agentCapabilities/types"), exports);
|
|
44
42
|
exports.agents = __importStar(require("./agents"));
|
|
45
43
|
__exportStar(require("./agents/types"), exports);
|
|
46
44
|
exports.analytics = __importStar(require("./analytics"));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as serializers from "../../../../index";
|
|
2
|
+
import * as MavenAGI from "../../../../../api/index";
|
|
3
|
+
import * as core from "../../../../../core";
|
|
4
|
+
import { LlmInclusionStatus } from "../../../commons/types/LlmInclusionStatus";
|
|
5
|
+
export declare const KnowledgeDocumentPatchRequest: core.serialization.Schema<serializers.KnowledgeDocumentPatchRequest.Raw, MavenAGI.KnowledgeDocumentPatchRequest>;
|
|
6
|
+
export declare namespace KnowledgeDocumentPatchRequest {
|
|
7
|
+
interface Raw {
|
|
8
|
+
knowledgeBaseAppId?: string | null;
|
|
9
|
+
llmInclusionStatus?: LlmInclusionStatus.Raw | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -34,8 +34,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
38
|
-
const core = __importStar(require("
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
exports.KnowledgeDocumentPatchRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../core"));
|
|
39
|
+
const LlmInclusionStatus_1 = require("../../../commons/types/LlmInclusionStatus");
|
|
40
|
+
exports.KnowledgeDocumentPatchRequest = core.serialization.object({
|
|
41
|
+
knowledgeBaseAppId: core.serialization.string().optional(),
|
|
42
|
+
llmInclusionStatus: LlmInclusionStatus_1.LlmInclusionStatus.optional(),
|
|
41
43
|
});
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KnowledgeBasePatchRequest = void 0;
|
|
3
|
+
exports.KnowledgeDocumentPatchRequest = exports.KnowledgeBasePatchRequest = void 0;
|
|
4
4
|
var KnowledgeBasePatchRequest_1 = require("./KnowledgeBasePatchRequest");
|
|
5
5
|
Object.defineProperty(exports, "KnowledgeBasePatchRequest", { enumerable: true, get: function () { return KnowledgeBasePatchRequest_1.KnowledgeBasePatchRequest; } });
|
|
6
|
+
var KnowledgeDocumentPatchRequest_1 = require("./KnowledgeDocumentPatchRequest");
|
|
7
|
+
Object.defineProperty(exports, "KnowledgeDocumentPatchRequest", { enumerable: true, get: function () { return KnowledgeDocumentPatchRequest_1.KnowledgeDocumentPatchRequest; } });
|
|
@@ -39,7 +39,5 @@ const core = __importStar(require("../../../../core"));
|
|
|
39
39
|
exports.BaseKnowledgeDocument = core.serialization.object({
|
|
40
40
|
url: core.serialization.string().optional(),
|
|
41
41
|
language: core.serialization.string().optional(),
|
|
42
|
-
createdAt: core.serialization.date().optional(),
|
|
43
|
-
updatedAt: core.serialization.date().optional(),
|
|
44
42
|
author: core.serialization.string().optional(),
|
|
45
43
|
});
|
|
@@ -18,7 +18,7 @@ export declare namespace KnowledgeBaseResponse {
|
|
|
18
18
|
type: KnowledgeBaseType.Raw;
|
|
19
19
|
metadata: Record<string, string>;
|
|
20
20
|
tags: string[];
|
|
21
|
-
llmInclusionStatus
|
|
21
|
+
llmInclusionStatus: LlmInclusionStatus.Raw;
|
|
22
22
|
refreshFrequency: KnowledgeBaseRefreshFrequency.Raw;
|
|
23
23
|
segmentId?: EntityId.Raw | null;
|
|
24
24
|
}
|
|
@@ -52,7 +52,7 @@ exports.KnowledgeBaseResponse = core.serialization
|
|
|
52
52
|
type: KnowledgeBaseType_1.KnowledgeBaseType,
|
|
53
53
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
54
54
|
tags: core.serialization.set(core.serialization.string()),
|
|
55
|
-
llmInclusionStatus: LlmInclusionStatus_1.LlmInclusionStatus
|
|
55
|
+
llmInclusionStatus: LlmInclusionStatus_1.LlmInclusionStatus,
|
|
56
56
|
refreshFrequency: KnowledgeBaseRefreshFrequency_1.KnowledgeBaseRefreshFrequency,
|
|
57
57
|
segmentId: EntityId_1.EntityId.optional(),
|
|
58
58
|
})
|
|
@@ -44,5 +44,7 @@ exports.KnowledgeBaseVersion = core.serialization
|
|
|
44
44
|
versionId: EntityId_1.EntityId,
|
|
45
45
|
status: KnowledgeBaseVersionStatus_1.KnowledgeBaseVersionStatus,
|
|
46
46
|
errorMessage: core.serialization.string().optional(),
|
|
47
|
+
createdAt: core.serialization.date(),
|
|
48
|
+
updatedAt: core.serialization.date(),
|
|
47
49
|
})
|
|
48
50
|
.extend(KnowledgeBaseVersionRequest_1.KnowledgeBaseVersionRequest);
|