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/dist/core/index.d.ts
CHANGED
package/dist/core/index.js
CHANGED
|
@@ -36,11 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.serialization = exports.url = void 0;
|
|
39
|
+
exports.serialization = exports.file = exports.url = void 0;
|
|
40
40
|
__exportStar(require("./fetcher"), exports);
|
|
41
41
|
__exportStar(require("./runtime"), exports);
|
|
42
42
|
exports.url = __importStar(require("./url"));
|
|
43
43
|
__exportStar(require("./auth"), exports);
|
|
44
44
|
__exportStar(require("./base64"), exports);
|
|
45
45
|
__exportStar(require("./stream"), exports);
|
|
46
|
+
exports.file = __importStar(require("./file"));
|
|
47
|
+
__exportStar(require("./form-data-utils"), exports);
|
|
46
48
|
exports.serialization = __importStar(require("./schemas"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./core/exports";
|
package/dist/exports.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./core/exports"), exports);
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -32,6 +32,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
39
|
exports.MavenAGIEnvironment = exports.MavenAGIClient = exports.serialization = exports.MavenAGITimeoutError = exports.MavenAGIError = exports.MavenAGI = void 0;
|
|
37
40
|
exports.MavenAGI = __importStar(require("./api"));
|
|
@@ -43,3 +46,4 @@ var Client_1 = require("./Client");
|
|
|
43
46
|
Object.defineProperty(exports, "MavenAGIClient", { enumerable: true, get: function () { return Client_1.MavenAGIClient; } });
|
|
44
47
|
var environments_1 = require("./environments");
|
|
45
48
|
Object.defineProperty(exports, "MavenAGIEnvironment", { enumerable: true, get: function () { return environments_1.MavenAGIEnvironment; } });
|
|
49
|
+
__exportStar(require("./exports"), exports);
|
|
@@ -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,8 +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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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"));
|
package/dist/serialization/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts
ADDED
|
@@ -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,10 +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
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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(),
|
|
43
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);
|
|
@@ -2,14 +2,17 @@ import * as serializers from "../../../index";
|
|
|
2
2
|
import * as MavenAGI from "../../../../api/index";
|
|
3
3
|
import * as core from "../../../../core";
|
|
4
4
|
import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
|
|
5
|
+
import { LlmInclusionStatus } from "../../commons/types/LlmInclusionStatus";
|
|
5
6
|
export declare const KnowledgeDocumentFilter: core.serialization.ObjectSchema<serializers.KnowledgeDocumentFilter.Raw, MavenAGI.KnowledgeDocumentFilter>;
|
|
6
7
|
export declare namespace KnowledgeDocumentFilter {
|
|
7
8
|
interface Raw {
|
|
8
9
|
search?: string | null;
|
|
9
10
|
title?: string | null;
|
|
11
|
+
url?: string | null;
|
|
10
12
|
createdAfter?: string | null;
|
|
11
13
|
createdBefore?: string | null;
|
|
12
14
|
appIds?: string[] | null;
|
|
13
15
|
knowledgeBaseVersionId?: EntityIdWithoutAgent.Raw | null;
|
|
16
|
+
llmInclusionStatus?: LlmInclusionStatus.Raw[] | null;
|
|
14
17
|
}
|
|
15
18
|
}
|
|
@@ -37,11 +37,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.KnowledgeDocumentFilter = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
|
|
40
|
+
const LlmInclusionStatus_1 = require("../../commons/types/LlmInclusionStatus");
|
|
40
41
|
exports.KnowledgeDocumentFilter = core.serialization.object({
|
|
41
42
|
search: core.serialization.string().optional(),
|
|
42
43
|
title: core.serialization.string().optional(),
|
|
44
|
+
url: core.serialization.string().optional(),
|
|
43
45
|
createdAfter: core.serialization.date().optional(),
|
|
44
46
|
createdBefore: core.serialization.date().optional(),
|
|
45
47
|
appIds: core.serialization.list(core.serialization.string()).optional(),
|
|
46
48
|
knowledgeBaseVersionId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
49
|
+
llmInclusionStatus: core.serialization.list(LlmInclusionStatus_1.LlmInclusionStatus).optional(),
|
|
47
50
|
});
|
|
@@ -12,7 +12,10 @@ export declare namespace KnowledgeDocumentRequest {
|
|
|
12
12
|
versionId?: EntityIdWithoutAgent.Raw | null;
|
|
13
13
|
contentType: KnowledgeDocumentContentType.Raw;
|
|
14
14
|
title: string;
|
|
15
|
-
|
|
15
|
+
assetId?: EntityIdBase.Raw | null;
|
|
16
|
+
content?: string | null;
|
|
16
17
|
metadata?: Record<string, string> | null;
|
|
18
|
+
createdAt?: string | null;
|
|
19
|
+
updatedAt?: string | null;
|
|
17
20
|
}
|
|
18
21
|
}
|
|
@@ -46,7 +46,10 @@ exports.KnowledgeDocumentRequest = core.serialization
|
|
|
46
46
|
versionId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
47
47
|
contentType: KnowledgeDocumentContentType_1.KnowledgeDocumentContentType,
|
|
48
48
|
title: core.serialization.string(),
|
|
49
|
-
|
|
49
|
+
assetId: EntityIdBase_1.EntityIdBase.optional(),
|
|
50
|
+
content: core.serialization.string().optional(),
|
|
50
51
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
52
|
+
createdAt: core.serialization.date().optional(),
|
|
53
|
+
updatedAt: core.serialization.date().optional(),
|
|
51
54
|
})
|
|
52
55
|
.extend(BaseKnowledgeDocument_1.BaseKnowledgeDocument);
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import * as serializers from "../../../index";
|
|
2
2
|
import * as MavenAGI from "../../../../api/index";
|
|
3
3
|
import * as core from "../../../../core";
|
|
4
|
+
import { KnowledgeDocumentStatus } from "./KnowledgeDocumentStatus";
|
|
5
|
+
import { AttachmentResponse } from "../../commons/types/AttachmentResponse";
|
|
4
6
|
import { KnowledgeDocumentSearchResponse } from "./KnowledgeDocumentSearchResponse";
|
|
5
7
|
export declare const KnowledgeDocumentResponse: core.serialization.ObjectSchema<serializers.KnowledgeDocumentResponse.Raw, MavenAGI.KnowledgeDocumentResponse>;
|
|
6
8
|
export declare namespace KnowledgeDocumentResponse {
|
|
7
9
|
interface Raw extends KnowledgeDocumentSearchResponse.Raw {
|
|
10
|
+
processingStatus?: KnowledgeDocumentStatus.Raw | null;
|
|
8
11
|
content: string;
|
|
12
|
+
asset?: AttachmentResponse.Raw | null;
|
|
9
13
|
metadata: Record<string, string>;
|
|
10
14
|
}
|
|
11
15
|
}
|
|
@@ -36,10 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.KnowledgeDocumentResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const KnowledgeDocumentStatus_1 = require("./KnowledgeDocumentStatus");
|
|
40
|
+
const AttachmentResponse_1 = require("../../commons/types/AttachmentResponse");
|
|
39
41
|
const KnowledgeDocumentSearchResponse_1 = require("./KnowledgeDocumentSearchResponse");
|
|
40
42
|
exports.KnowledgeDocumentResponse = core.serialization
|
|
41
43
|
.object({
|
|
44
|
+
processingStatus: KnowledgeDocumentStatus_1.KnowledgeDocumentStatus.optional(),
|
|
42
45
|
content: core.serialization.string(),
|
|
46
|
+
asset: AttachmentResponse_1.AttachmentResponse.optional(),
|
|
43
47
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
44
48
|
})
|
|
45
49
|
.extend(KnowledgeDocumentSearchResponse_1.KnowledgeDocumentSearchResponse);
|
|
@@ -2,6 +2,7 @@ import * as serializers from "../../../index";
|
|
|
2
2
|
import * as MavenAGI from "../../../../api/index";
|
|
3
3
|
import * as core from "../../../../core";
|
|
4
4
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
|
+
import { LlmInclusionStatus } from "../../commons/types/LlmInclusionStatus";
|
|
5
6
|
import { BaseKnowledgeDocument } from "./BaseKnowledgeDocument";
|
|
6
7
|
export declare const KnowledgeDocumentSearchResponse: core.serialization.ObjectSchema<serializers.KnowledgeDocumentSearchResponse.Raw, MavenAGI.KnowledgeDocumentSearchResponse>;
|
|
7
8
|
export declare namespace KnowledgeDocumentSearchResponse {
|
|
@@ -9,5 +10,8 @@ export declare namespace KnowledgeDocumentSearchResponse {
|
|
|
9
10
|
knowledgeDocumentId: EntityId.Raw;
|
|
10
11
|
knowledgeBaseVersionId?: EntityId.Raw | null;
|
|
11
12
|
title?: string | null;
|
|
13
|
+
llmInclusionStatus: LlmInclusionStatus.Raw;
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
12
16
|
}
|
|
13
17
|
}
|
|
@@ -37,11 +37,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.KnowledgeDocumentSearchResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
|
+
const LlmInclusionStatus_1 = require("../../commons/types/LlmInclusionStatus");
|
|
40
41
|
const BaseKnowledgeDocument_1 = require("./BaseKnowledgeDocument");
|
|
41
42
|
exports.KnowledgeDocumentSearchResponse = core.serialization
|
|
42
43
|
.object({
|
|
43
44
|
knowledgeDocumentId: EntityId_1.EntityId,
|
|
44
45
|
knowledgeBaseVersionId: EntityId_1.EntityId.optional(),
|
|
45
46
|
title: core.serialization.string().optional(),
|
|
47
|
+
llmInclusionStatus: LlmInclusionStatus_1.LlmInclusionStatus,
|
|
48
|
+
createdAt: core.serialization.date(),
|
|
49
|
+
updatedAt: core.serialization.date(),
|
|
46
50
|
})
|
|
47
51
|
.extend(BaseKnowledgeDocument_1.BaseKnowledgeDocument);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as serializers from "../../../index";
|
|
2
|
+
import * as MavenAGI from "../../../../api/index";
|
|
3
|
+
import * as core from "../../../../core";
|
|
4
|
+
export declare const KnowledgeDocumentStatus: core.serialization.Schema<serializers.KnowledgeDocumentStatus.Raw, MavenAGI.KnowledgeDocumentStatus>;
|
|
5
|
+
export declare namespace KnowledgeDocumentStatus {
|
|
6
|
+
type Raw = "SUCCEEDED" | "IN_PROGRESS";
|
|
7
|
+
}
|
|
@@ -34,6 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.KnowledgeDocumentStatus = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
exports.
|
|
39
|
+
exports.KnowledgeDocumentStatus = core.serialization.enum_(["SUCCEEDED", "IN_PROGRESS"]);
|
|
@@ -14,6 +14,7 @@ export * from "./KnowledgeDocumentContentType";
|
|
|
14
14
|
export * from "./KnowledgeDeleteRequest";
|
|
15
15
|
export * from "./KnowledgeDocumentRequest";
|
|
16
16
|
export * from "./KnowledgeDocumentResponse";
|
|
17
|
+
export * from "./KnowledgeDocumentStatus";
|
|
17
18
|
export * from "./KnowledgeBaseField";
|
|
18
19
|
export * from "./KnowledgeDocumentField";
|
|
19
20
|
export * from "./KnowledgeBaseFilter";
|
|
@@ -30,6 +30,7 @@ __exportStar(require("./KnowledgeDocumentContentType"), exports);
|
|
|
30
30
|
__exportStar(require("./KnowledgeDeleteRequest"), exports);
|
|
31
31
|
__exportStar(require("./KnowledgeDocumentRequest"), exports);
|
|
32
32
|
__exportStar(require("./KnowledgeDocumentResponse"), exports);
|
|
33
|
+
__exportStar(require("./KnowledgeDocumentStatus"), exports);
|
|
33
34
|
__exportStar(require("./KnowledgeBaseField"), exports);
|
|
34
35
|
__exportStar(require("./KnowledgeDocumentField"), exports);
|
|
35
36
|
__exportStar(require("./KnowledgeBaseFilter"), exports);
|
|
@@ -39,5 +39,6 @@ const core = __importStar(require("../../../../core"));
|
|
|
39
39
|
exports.AgentUserFilter = core.serialization.object({
|
|
40
40
|
search: core.serialization.string().optional(),
|
|
41
41
|
identifiers: core.serialization.list(core.serialization.string()).optional(),
|
|
42
|
+
displayName: core.serialization.string().optional(),
|
|
42
43
|
isAnonymous: core.serialization.boolean().optional(),
|
|
43
44
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.8";
|
package/dist/version.js
CHANGED
package/exports.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./core/exports";
|
package/exports.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./core/exports"), exports);
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -32,6 +32,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
39
|
exports.MavenAGIEnvironment = exports.MavenAGIClient = exports.serialization = exports.MavenAGITimeoutError = exports.MavenAGIError = exports.MavenAGI = void 0;
|
|
37
40
|
exports.MavenAGI = __importStar(require("./api"));
|
|
@@ -43,3 +46,4 @@ var Client_1 = require("./Client");
|
|
|
43
46
|
Object.defineProperty(exports, "MavenAGIClient", { enumerable: true, get: function () { return Client_1.MavenAGIClient; } });
|
|
44
47
|
var environments_1 = require("./environments");
|
|
45
48
|
Object.defineProperty(exports, "MavenAGIEnvironment", { enumerable: true, get: function () { return environments_1.MavenAGIEnvironment; } });
|
|
49
|
+
__exportStar(require("./exports"), exports);
|