mavenagi 1.2.63 → 1.2.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.js +2 -2
- package/api/resources/actions/client/Client.js +3 -3
- package/api/resources/agents/client/Client.js +5 -5
- package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +23 -3
- package/api/resources/agents/types/Agent.d.ts +9 -1
- package/api/resources/agents/types/AgentPrompting.d.ts +14 -2
- package/api/resources/appDirectory/client/Client.js +5 -5
- package/api/resources/assets/client/Client.js +1 -1
- package/api/resources/capabilities/client/Client.d.ts +68 -0
- package/api/resources/capabilities/client/Client.js +243 -3
- package/api/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +4 -1
- package/api/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +36 -0
- package/api/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.js +3 -0
- package/api/resources/capabilities/client/requests/GetCapabilityByTypeRequest.d.ts +4 -1
- package/api/resources/capabilities/client/requests/SimulateCapabilityByTypeRequest.d.ts +14 -0
- package/api/resources/capabilities/client/requests/SimulateCapabilityByTypeRequest.js +3 -0
- package/api/resources/capabilities/client/requests/index.d.ts +2 -0
- package/api/resources/capabilities/types/ActionSimulationInput.d.ts +5 -0
- package/api/resources/capabilities/types/ActionSimulationInput.js +3 -0
- package/api/resources/capabilities/types/CapabilityExecution.d.ts +14 -0
- package/api/resources/capabilities/types/CapabilityExecution.js +3 -0
- package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +32 -0
- package/api/resources/capabilities/types/CapabilityExecutionBase.js +3 -0
- package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +36 -0
- package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.js +39 -0
- package/api/resources/capabilities/types/CapabilityExecutionRetryability.d.ts +17 -0
- package/api/resources/capabilities/types/CapabilityExecutionRetryability.js +20 -0
- package/api/resources/capabilities/types/CapabilityExecutionStatus.d.ts +10 -0
- package/api/resources/capabilities/types/CapabilityExecutionStatus.js +13 -0
- package/api/resources/capabilities/types/CapabilityExecutionsSearchResponse.d.ts +62 -0
- package/api/resources/capabilities/types/CapabilityExecutionsSearchResponse.js +3 -0
- package/api/resources/capabilities/types/CapabilitySimulationInput.d.ts +11 -0
- package/api/resources/capabilities/types/CapabilitySimulationInput.js +3 -0
- package/api/resources/capabilities/types/CapabilitySimulationResult.d.ts +10 -0
- package/api/resources/capabilities/types/CapabilitySimulationResult.js +3 -0
- package/api/resources/capabilities/types/ConversationContextSimulationInput.d.ts +14 -0
- package/api/resources/capabilities/types/ConversationContextSimulationInput.js +3 -0
- package/api/resources/capabilities/types/ConversationKickoffCapabilityExecution.d.ts +7 -0
- package/api/resources/capabilities/types/ConversationKickoffCapabilityExecution.js +3 -0
- package/api/resources/capabilities/types/SimulatedUser.d.ts +9 -0
- package/api/resources/capabilities/types/SimulatedUser.js +3 -0
- package/api/resources/capabilities/types/SimulatedUserData.d.ts +6 -0
- package/api/resources/capabilities/types/SimulatedUserData.js +3 -0
- package/api/resources/capabilities/types/TriggerCapabilityExecution.d.ts +19 -0
- package/api/resources/capabilities/types/TriggerCapabilityExecution.js +3 -0
- package/api/resources/capabilities/types/index.d.ts +14 -0
- package/api/resources/capabilities/types/index.js +14 -0
- package/api/resources/charters/client/Client.js +7 -5
- package/api/resources/charters/client/requests/CharterDeleteRequest.d.ts +6 -6
- package/api/resources/charters/client/requests/CharterGetAncestorsRequest.d.ts +12 -0
- package/api/resources/charters/client/requests/CharterGetRequest.d.ts +9 -1
- package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +5 -6
- package/api/resources/charters/types/CharterBase.d.ts +9 -4
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +2 -0
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +2 -0
- package/api/resources/charters/types/CharterContent.d.ts +2 -0
- package/api/resources/charters/types/CharterListChildrenRequest.d.ts +10 -0
- package/api/resources/charters/types/CharterPatchReferences.d.ts +2 -0
- package/api/resources/charters/types/CharterReferences.d.ts +2 -0
- package/api/resources/charters/types/CharterResponse.d.ts +5 -1
- package/api/resources/charters/types/CharterSearchFilter.d.ts +9 -1
- package/api/resources/charters/types/CharterStatus.d.ts +4 -0
- package/api/resources/charters/types/CharterStatus.js +4 -0
- package/api/resources/charters/types/CharterSummary.d.ts +5 -1
- package/api/resources/charters/types/index.d.ts +0 -1
- package/api/resources/charters/types/index.js +0 -1
- package/api/resources/commons/types/ActionExecutionStatus.d.ts +6 -0
- package/api/resources/commons/types/ActionExecutionStatus.js +9 -0
- package/api/resources/commons/types/ActionProperties.d.ts +1 -1
- package/api/resources/commons/types/AdditionalDataKey.d.ts +3 -0
- package/api/resources/commons/types/AdditionalDataKey.js +3 -0
- package/api/resources/commons/types/AppUserRequest.d.ts +11 -0
- package/api/resources/commons/types/BotLogicCharterDetail.d.ts +3 -1
- package/api/resources/commons/types/BotLogicSegmentsItem.d.ts +3 -0
- package/api/resources/commons/types/BotMessage.d.ts +5 -0
- package/api/resources/commons/types/BotMessageStatusReason.d.ts +13 -0
- package/api/resources/commons/types/BotMessageStatusReason.js +16 -0
- package/api/resources/commons/types/Capability.d.ts +4 -0
- package/api/resources/commons/types/Capability.js +4 -0
- package/api/resources/commons/types/CapabilityStatus.d.ts +2 -2
- package/api/resources/commons/types/CapabilityStatus.js +2 -2
- package/api/resources/commons/types/ConversationAnalysis.d.ts +2 -2
- package/api/resources/commons/types/ConversationMetadataValueSource.d.ts +7 -0
- package/api/resources/commons/types/ConversationMetadataValueSource.js +3 -0
- package/api/resources/commons/types/ConversationSummary.d.ts +5 -3
- package/api/resources/commons/types/ConversationValueSource.d.ts +10 -0
- package/api/resources/commons/types/ConversationValueSource.js +3 -0
- package/api/resources/commons/types/EntityType.d.ts +5 -0
- package/api/resources/commons/types/EntityType.js +5 -0
- package/api/resources/commons/types/ErrorReason.d.ts +6 -0
- package/api/resources/commons/types/ErrorReason.js +6 -0
- package/api/resources/commons/types/EventFilter.d.ts +1 -0
- package/api/resources/commons/types/ExecuteActionResponse.d.ts +14 -0
- package/api/resources/commons/types/ExecuteActionResponse.js +3 -0
- package/api/resources/commons/types/ExecutionMode.d.ts +10 -0
- package/api/resources/commons/types/ExecutionMode.js +13 -0
- package/api/resources/commons/types/FunctionVersionBinding.d.ts +11 -0
- package/api/resources/commons/types/FunctionVersionBinding.js +3 -0
- package/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
- package/api/resources/commons/types/InboxItemStatus.d.ts +1 -1
- package/api/resources/commons/types/InboxItemStatus.js +1 -1
- package/api/resources/commons/types/LlmInclusionStatus.d.ts +3 -0
- package/api/resources/commons/types/LlmInclusionStatus.js +3 -0
- package/api/resources/commons/types/MetadataConversationValueFilter.d.ts +15 -0
- package/api/resources/commons/types/MetadataConversationValueFilter.js +3 -0
- package/api/resources/commons/types/MetadataFilter.d.ts +33 -6
- package/api/resources/commons/types/Quality.d.ts +2 -0
- package/api/resources/commons/types/Quality.js +2 -0
- package/api/resources/commons/types/QualityReason.d.ts +4 -0
- package/api/resources/commons/types/QualityReason.js +4 -0
- package/api/resources/commons/types/RelationshipType.d.ts +2 -2
- package/api/resources/commons/types/RelationshipType.js +2 -2
- package/api/resources/commons/types/ResolutionStatus.d.ts +2 -0
- package/api/resources/commons/types/ResolutionStatus.js +2 -0
- package/api/resources/commons/types/ResponseConfig.d.ts +2 -0
- package/api/resources/commons/types/SimulationActionBehavior.d.ts +18 -0
- package/api/resources/commons/types/SimulationActionBehavior.js +3 -0
- package/api/resources/commons/types/SimulationActionCallApp.d.ts +1 -0
- package/api/resources/commons/types/SimulationActionCallApp.js +3 -0
- package/api/resources/commons/types/SimulationActionMock.d.ts +6 -0
- package/api/resources/commons/types/SimulationActionMock.js +3 -0
- package/api/resources/commons/types/SimulationContext.d.ts +19 -0
- package/api/resources/commons/types/SystemEventName.d.ts +5 -2
- package/api/resources/commons/types/SystemEventName.js +5 -2
- package/api/resources/commons/types/UserEvent.d.ts +1 -1
- package/api/resources/commons/types/UserEventName.d.ts +1 -1
- package/api/resources/commons/types/UserEventName.js +1 -1
- package/api/resources/commons/types/index.d.ts +12 -0
- package/api/resources/commons/types/index.js +12 -0
- package/api/resources/conversation/client/Client.d.ts +17 -9
- package/api/resources/conversation/client/Client.js +27 -19
- package/api/resources/conversation/client/requests/ConversationDeleteRequest.d.ts +1 -1
- package/api/resources/conversation/types/BillableFilterField.d.ts +3 -3
- package/api/resources/conversation/types/BillableFilterField.js +3 -3
- package/api/resources/conversation/types/ConversationField.d.ts +8 -0
- package/api/resources/conversation/types/ConversationField.js +8 -0
- package/api/resources/conversation/types/ConversationFilter.d.ts +7 -1
- package/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
- package/api/resources/customers/client/Client.js +2 -2
- package/api/resources/customers/types/CustomerFilter.d.ts +16 -1
- package/api/resources/customers/types/CustomerResponse.d.ts +2 -2
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/inbox/client/Client.js +6 -6
- package/api/resources/integrations/client/Client.js +1 -1
- package/api/resources/intelligentFields/client/Client.d.ts +4 -3
- package/api/resources/intelligentFields/client/Client.js +7 -6
- package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +9 -1
- package/api/resources/intelligentFields/types/EnumOption.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +5 -1
- package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldType.js +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +5 -4
- package/api/resources/knowledge/client/Client.js +13 -13
- package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.js +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +3 -1
- package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseType.js +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +4 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.js +4 -0
- package/api/resources/organizations/client/Client.js +4 -4
- package/api/resources/segments/client/Client.d.ts +1 -1
- package/api/resources/segments/client/Client.js +4 -4
- package/api/resources/segments/types/SegmentStatus.d.ts +4 -0
- package/api/resources/segments/types/SegmentStatus.js +4 -0
- package/api/resources/triggers/client/Client.js +3 -3
- package/api/resources/triggers/types/EventTriggerBase.d.ts +2 -0
- package/api/resources/users/client/Client.d.ts +42 -1
- package/api/resources/users/client/Client.js +116 -4
- package/api/resources/users/types/AgentUser.d.ts +3 -0
- package/api/resources/users/types/AgentUserFilter.d.ts +4 -0
- package/api/resources/voiceConversations/client/Client.d.ts +1 -1
- package/api/resources/voiceConversations/client/Socket.d.ts +2 -2
- package/api/resources/voiceConversations/client/Socket.js +16 -17
- package/core/fetcher/Fetcher.js +33 -3
- package/core/fetcher/getErrorResponseBody.js +20 -7
- package/core/fetcher/getResponseBody.d.ts +16 -0
- package/core/fetcher/getResponseBody.js +27 -22
- package/core/fetcher/makePassthroughRequest.js +20 -4
- package/core/fetcher/makeRequest.d.ts +6 -1
- package/core/fetcher/makeRequest.js +38 -5
- package/core/fetcher/requestWithRetries.d.ts +1 -1
- package/core/fetcher/requestWithRetries.js +23 -2
- package/core/fetcher/signals.d.ts +1 -0
- package/core/fetcher/signals.js +3 -2
- package/core/stream/Stream.d.ts +3 -0
- package/core/stream/Stream.js +5 -0
- package/core/url/encodePathParam.d.ts +3 -1
- package/core/url/encodePathParam.js +8 -2
- package/core/websocket/ws.d.ts +16 -2
- package/core/websocket/ws.js +110 -20
- package/errors/MavenAGIError.js +16 -2
- package/package.json +1 -1
- package/reference.md +273 -13
- package/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +2 -0
- package/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -0
- package/serialization/resources/agents/types/Agent.d.ts +2 -0
- package/serialization/resources/agents/types/Agent.js +2 -0
- package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +16 -0
- package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.js +50 -0
- package/serialization/resources/capabilities/client/requests/index.d.ts +1 -0
- package/serialization/resources/capabilities/client/requests/index.js +3 -1
- package/serialization/resources/capabilities/types/ActionSimulationInput.d.ts +10 -0
- package/serialization/resources/capabilities/types/ActionSimulationInput.js +44 -0
- package/serialization/resources/capabilities/types/CapabilityExecution.d.ts +15 -0
- package/serialization/resources/capabilities/types/CapabilityExecution.js +49 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +20 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +52 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +7 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.js +50 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionRetryability.d.ts +7 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionRetryability.js +39 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionStatus.d.ts +7 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionStatus.js +39 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionsSearchResponse.d.ts +11 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionsSearchResponse.js +45 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationInput.d.ts +11 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationInput.js +47 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationResult.d.ts +11 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationResult.js +47 -0
- package/serialization/resources/capabilities/types/ConversationContextSimulationInput.d.ts +12 -0
- package/serialization/resources/capabilities/types/ConversationContextSimulationInput.js +46 -0
- package/serialization/resources/capabilities/types/ConversationKickoffCapabilityExecution.d.ts +9 -0
- package/serialization/resources/capabilities/types/ConversationKickoffCapabilityExecution.js +40 -0
- package/serialization/resources/capabilities/types/SimulatedUser.d.ts +10 -0
- package/serialization/resources/capabilities/types/SimulatedUser.js +44 -0
- package/serialization/resources/capabilities/types/SimulatedUserData.d.ts +10 -0
- package/serialization/resources/capabilities/types/SimulatedUserData.js +42 -0
- package/serialization/resources/capabilities/types/TriggerCapabilityExecution.d.ts +15 -0
- package/serialization/resources/capabilities/types/TriggerCapabilityExecution.js +49 -0
- package/serialization/resources/capabilities/types/index.d.ts +14 -0
- package/serialization/resources/capabilities/types/index.js +14 -0
- package/serialization/resources/charters/types/CharterContent.d.ts +1 -1
- package/serialization/resources/charters/types/CharterContent.js +1 -1
- package/serialization/resources/charters/types/CharterListChildrenRequest.d.ts +2 -0
- package/serialization/resources/charters/types/CharterListChildrenRequest.js +2 -0
- package/serialization/resources/charters/types/CharterResponse.d.ts +1 -1
- package/serialization/resources/charters/types/CharterResponse.js +1 -1
- package/serialization/resources/charters/types/CharterSummary.d.ts +1 -1
- package/serialization/resources/charters/types/CharterSummary.js +1 -1
- package/serialization/resources/charters/types/index.d.ts +0 -1
- package/serialization/resources/charters/types/index.js +0 -1
- package/serialization/resources/commons/types/ActionExecutionStatus.d.ts +7 -0
- package/serialization/resources/commons/types/ActionExecutionStatus.js +39 -0
- package/serialization/resources/commons/types/AdditionalDataKey.d.ts +1 -1
- package/serialization/resources/commons/types/AdditionalDataKey.js +1 -0
- package/serialization/resources/commons/types/AppUserRequest.d.ts +2 -0
- package/serialization/resources/commons/types/AppUserRequest.js +2 -0
- package/serialization/resources/commons/types/BotLogicCharterDetail.d.ts +2 -0
- package/serialization/resources/commons/types/BotLogicCharterDetail.js +2 -0
- package/serialization/resources/commons/types/BotMessage.d.ts +2 -0
- package/serialization/resources/commons/types/BotMessage.js +2 -0
- package/serialization/resources/commons/types/BotMessageStatusReason.d.ts +7 -0
- package/serialization/resources/commons/types/BotMessageStatusReason.js +43 -0
- package/serialization/resources/commons/types/ConversationMetadataValueSource.d.ts +9 -0
- package/serialization/resources/commons/types/ConversationMetadataValueSource.js +41 -0
- package/serialization/resources/commons/types/ConversationValueSource.d.ts +11 -0
- package/serialization/resources/commons/types/ConversationValueSource.js +47 -0
- package/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +5 -0
- package/serialization/resources/commons/types/ErrorReason.d.ts +1 -1
- package/serialization/resources/commons/types/ErrorReason.js +2 -0
- package/serialization/resources/commons/types/ExecuteActionResponse.d.ts +13 -0
- package/serialization/resources/commons/types/ExecuteActionResponse.js +45 -0
- package/serialization/resources/commons/types/ExecutionMode.d.ts +7 -0
- package/serialization/resources/commons/types/ExecutionMode.js +39 -0
- package/serialization/resources/commons/types/FunctionVersionBinding.d.ts +11 -0
- package/serialization/resources/commons/types/FunctionVersionBinding.js +43 -0
- package/serialization/resources/commons/types/MetadataConversationValueFilter.d.ts +11 -0
- package/serialization/resources/commons/types/MetadataConversationValueFilter.js +43 -0
- package/serialization/resources/commons/types/MetadataFilter.d.ts +5 -1
- package/serialization/resources/commons/types/MetadataFilter.js +2 -0
- package/serialization/resources/commons/types/SimulationActionBehavior.d.ts +15 -0
- package/serialization/resources/commons/types/SimulationActionBehavior.js +49 -0
- package/serialization/resources/commons/types/SimulationActionCallApp.d.ts +7 -0
- package/serialization/resources/commons/types/SimulationActionCallApp.js +39 -0
- package/serialization/resources/commons/types/SimulationActionMock.d.ts +12 -0
- package/serialization/resources/commons/types/SimulationActionMock.js +44 -0
- package/serialization/resources/commons/types/SimulationContext.d.ts +4 -0
- package/serialization/resources/commons/types/SimulationContext.js +4 -0
- package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
- package/serialization/resources/commons/types/SystemEventName.js +1 -0
- package/serialization/resources/commons/types/index.d.ts +12 -0
- package/serialization/resources/commons/types/index.js +12 -0
- package/serialization/resources/users/types/AgentUser.d.ts +2 -0
- package/serialization/resources/users/types/AgentUser.js +2 -0
- package/serialization/resources/users/types/AgentUserFilter.d.ts +2 -0
- package/serialization/resources/users/types/AgentUserFilter.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/{charters → commons}/types/CharterType.d.ts +0 -0
- /package/api/resources/{charters → commons}/types/CharterType.js +0 -0
- /package/serialization/resources/{charters → commons}/types/CharterType.d.ts +0 -0
- /package/serialization/resources/{charters → commons}/types/CharterType.js +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConversationContextSimulationInput = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const SimulatedUser_1 = require("./SimulatedUser");
|
|
40
|
+
exports.ConversationContextSimulationInput = core.serialization.object({
|
|
41
|
+
conversationMetadata: core.serialization
|
|
42
|
+
.record(core.serialization.string(), core.serialization.string())
|
|
43
|
+
.optional(),
|
|
44
|
+
user: SimulatedUser_1.SimulatedUser.optional(),
|
|
45
|
+
transientData: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
46
|
+
});
|
package/serialization/resources/capabilities/types/ConversationKickoffCapabilityExecution.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CapabilityExecutionBase } from "./CapabilityExecutionBase";
|
|
5
|
+
export declare const ConversationKickoffCapabilityExecution: core.serialization.ObjectSchema<serializers.ConversationKickoffCapabilityExecution.Raw, MavenAGI.ConversationKickoffCapabilityExecution>;
|
|
6
|
+
export declare namespace ConversationKickoffCapabilityExecution {
|
|
7
|
+
interface Raw extends CapabilityExecutionBase.Raw {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConversationKickoffCapabilityExecution = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const CapabilityExecutionBase_1 = require("./CapabilityExecutionBase");
|
|
40
|
+
exports.ConversationKickoffCapabilityExecution = core.serialization.object({}).extend(CapabilityExecutionBase_1.CapabilityExecutionBase);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { SimulatedUserData } from "./SimulatedUserData";
|
|
5
|
+
export declare const SimulatedUser: core.serialization.ObjectSchema<serializers.SimulatedUser.Raw, MavenAGI.SimulatedUser>;
|
|
6
|
+
export declare namespace SimulatedUser {
|
|
7
|
+
interface Raw {
|
|
8
|
+
agentUserData?: Record<string, SimulatedUserData.Raw[]> | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SimulatedUser = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const SimulatedUserData_1 = require("./SimulatedUserData");
|
|
40
|
+
exports.SimulatedUser = core.serialization.object({
|
|
41
|
+
agentUserData: core.serialization
|
|
42
|
+
.record(core.serialization.string(), core.serialization.list(SimulatedUserData_1.SimulatedUserData))
|
|
43
|
+
.optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const SimulatedUserData: core.serialization.ObjectSchema<serializers.SimulatedUserData.Raw, MavenAGI.SimulatedUserData>;
|
|
5
|
+
export declare namespace SimulatedUserData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
appId: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SimulatedUserData = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.SimulatedUserData = core.serialization.object({
|
|
40
|
+
appId: core.serialization.string(),
|
|
41
|
+
value: core.serialization.string(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { EventTriggerType } from "../../commons/types/EventTriggerType";
|
|
5
|
+
import { CapabilityExecutionBase } from "./CapabilityExecutionBase";
|
|
6
|
+
import { CapabilityExecutionRetryability } from "./CapabilityExecutionRetryability";
|
|
7
|
+
export declare const TriggerCapabilityExecution: core.serialization.ObjectSchema<serializers.TriggerCapabilityExecution.Raw, MavenAGI.TriggerCapabilityExecution>;
|
|
8
|
+
export declare namespace TriggerCapabilityExecution {
|
|
9
|
+
interface Raw extends CapabilityExecutionBase.Raw {
|
|
10
|
+
eventType: EventTriggerType.Raw;
|
|
11
|
+
attempt: number;
|
|
12
|
+
retryability?: CapabilityExecutionRetryability.Raw | null;
|
|
13
|
+
httpStatus?: number | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TriggerCapabilityExecution = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EventTriggerType_1 = require("../../commons/types/EventTriggerType");
|
|
40
|
+
const CapabilityExecutionBase_1 = require("./CapabilityExecutionBase");
|
|
41
|
+
const CapabilityExecutionRetryability_1 = require("./CapabilityExecutionRetryability");
|
|
42
|
+
exports.TriggerCapabilityExecution = core.serialization
|
|
43
|
+
.object({
|
|
44
|
+
eventType: EventTriggerType_1.EventTriggerType,
|
|
45
|
+
attempt: core.serialization.number(),
|
|
46
|
+
retryability: CapabilityExecutionRetryability_1.CapabilityExecutionRetryability.optional(),
|
|
47
|
+
httpStatus: core.serialization.number().optional(),
|
|
48
|
+
})
|
|
49
|
+
.extend(CapabilityExecutionBase_1.CapabilityExecutionBase);
|
|
@@ -1,4 +1,18 @@
|
|
|
1
|
+
export * from "./ActionSimulationInput";
|
|
1
2
|
export * from "./CapabilitiesSearchResponse";
|
|
3
|
+
export * from "./CapabilityExecution";
|
|
4
|
+
export * from "./CapabilityExecutionBase";
|
|
5
|
+
export * from "./CapabilityExecutionCompletionReason";
|
|
6
|
+
export * from "./CapabilityExecutionRetryability";
|
|
7
|
+
export * from "./CapabilityExecutionStatus";
|
|
8
|
+
export * from "./CapabilityExecutionsSearchResponse";
|
|
2
9
|
export * from "./CapabilityResponse";
|
|
10
|
+
export * from "./CapabilitySimulationInput";
|
|
11
|
+
export * from "./CapabilitySimulationResult";
|
|
3
12
|
export * from "./CapabilitySortField";
|
|
4
13
|
export * from "./CapabilitySummary";
|
|
14
|
+
export * from "./ConversationContextSimulationInput";
|
|
15
|
+
export * from "./ConversationKickoffCapabilityExecution";
|
|
16
|
+
export * from "./SimulatedUser";
|
|
17
|
+
export * from "./SimulatedUserData";
|
|
18
|
+
export * from "./TriggerCapabilityExecution";
|
|
@@ -14,7 +14,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ActionSimulationInput"), exports);
|
|
17
18
|
__exportStar(require("./CapabilitiesSearchResponse"), exports);
|
|
19
|
+
__exportStar(require("./CapabilityExecution"), exports);
|
|
20
|
+
__exportStar(require("./CapabilityExecutionBase"), exports);
|
|
21
|
+
__exportStar(require("./CapabilityExecutionCompletionReason"), exports);
|
|
22
|
+
__exportStar(require("./CapabilityExecutionRetryability"), exports);
|
|
23
|
+
__exportStar(require("./CapabilityExecutionStatus"), exports);
|
|
24
|
+
__exportStar(require("./CapabilityExecutionsSearchResponse"), exports);
|
|
18
25
|
__exportStar(require("./CapabilityResponse"), exports);
|
|
26
|
+
__exportStar(require("./CapabilitySimulationInput"), exports);
|
|
27
|
+
__exportStar(require("./CapabilitySimulationResult"), exports);
|
|
19
28
|
__exportStar(require("./CapabilitySortField"), exports);
|
|
20
29
|
__exportStar(require("./CapabilitySummary"), exports);
|
|
30
|
+
__exportStar(require("./ConversationContextSimulationInput"), exports);
|
|
31
|
+
__exportStar(require("./ConversationKickoffCapabilityExecution"), exports);
|
|
32
|
+
__exportStar(require("./SimulatedUser"), exports);
|
|
33
|
+
__exportStar(require("./SimulatedUserData"), exports);
|
|
34
|
+
__exportStar(require("./TriggerCapabilityExecution"), exports);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as serializers from "../../../index";
|
|
4
|
+
import { CharterType } from "../../commons/types/CharterType";
|
|
4
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
6
|
import { CharterBase } from "./CharterBase";
|
|
6
7
|
import { CharterReferences } from "./CharterReferences";
|
|
7
8
|
import { CharterStatus } from "./CharterStatus";
|
|
8
|
-
import { CharterType } from "./CharterType";
|
|
9
9
|
export declare const CharterContent: core.serialization.ObjectSchema<serializers.CharterContent.Raw, MavenAGI.CharterContent>;
|
|
10
10
|
export declare namespace CharterContent {
|
|
11
11
|
interface Raw extends CharterBase.Raw {
|
|
@@ -37,11 +37,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CharterContent = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const serializers = __importStar(require("../../../index"));
|
|
40
|
+
const CharterType_1 = require("../../commons/types/CharterType");
|
|
40
41
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
41
42
|
const CharterBase_1 = require("./CharterBase");
|
|
42
43
|
const CharterReferences_1 = require("./CharterReferences");
|
|
43
44
|
const CharterStatus_1 = require("./CharterStatus");
|
|
44
|
-
const CharterType_1 = require("./CharterType");
|
|
45
45
|
exports.CharterContent = core.serialization
|
|
46
46
|
.object({
|
|
47
47
|
parentCharterId: EntityId_1.EntityId.nullable(),
|
|
@@ -3,9 +3,11 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { BaseCappedPaginatedRequest } from "../../commons/types/BaseCappedPaginatedRequest";
|
|
5
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
6
|
+
import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
|
|
6
7
|
export declare const CharterListChildrenRequest: core.serialization.ObjectSchema<serializers.CharterListChildrenRequest.Raw, MavenAGI.CharterListChildrenRequest>;
|
|
7
8
|
export declare namespace CharterListChildrenRequest {
|
|
8
9
|
interface Raw extends BaseCappedPaginatedRequest.Raw {
|
|
9
10
|
parentIds: EntityId.Raw[];
|
|
11
|
+
variantId?: EntityIdWithoutAgent.Raw | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -38,8 +38,10 @@ exports.CharterListChildrenRequest = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const BaseCappedPaginatedRequest_1 = require("../../commons/types/BaseCappedPaginatedRequest");
|
|
40
40
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
41
|
+
const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
|
|
41
42
|
exports.CharterListChildrenRequest = core.serialization
|
|
42
43
|
.object({
|
|
43
44
|
parentIds: core.serialization.list(EntityId_1.EntityId),
|
|
45
|
+
variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
44
46
|
})
|
|
45
47
|
.extend(BaseCappedPaginatedRequest_1.BaseCappedPaginatedRequest);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as serializers from "../../../index";
|
|
4
|
+
import { CharterType } from "../../commons/types/CharterType";
|
|
4
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
6
|
import { CharterBase } from "./CharterBase";
|
|
6
7
|
import { CharterChildrenExclusionPolicy } from "./CharterChildrenExclusionPolicy";
|
|
7
8
|
import { CharterReferences } from "./CharterReferences";
|
|
8
9
|
import { CharterStatus } from "./CharterStatus";
|
|
9
|
-
import { CharterType } from "./CharterType";
|
|
10
10
|
export declare const CharterResponse: core.serialization.ObjectSchema<serializers.CharterResponse.Raw, MavenAGI.CharterResponse>;
|
|
11
11
|
export declare namespace CharterResponse {
|
|
12
12
|
interface Raw extends CharterBase.Raw {
|
|
@@ -37,12 +37,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CharterResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const serializers = __importStar(require("../../../index"));
|
|
40
|
+
const CharterType_1 = require("../../commons/types/CharterType");
|
|
40
41
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
41
42
|
const CharterBase_1 = require("./CharterBase");
|
|
42
43
|
const CharterChildrenExclusionPolicy_1 = require("./CharterChildrenExclusionPolicy");
|
|
43
44
|
const CharterReferences_1 = require("./CharterReferences");
|
|
44
45
|
const CharterStatus_1 = require("./CharterStatus");
|
|
45
|
-
const CharterType_1 = require("./CharterType");
|
|
46
46
|
exports.CharterResponse = core.serialization
|
|
47
47
|
.object({
|
|
48
48
|
charterId: EntityId_1.EntityId,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as serializers from "../../../index";
|
|
4
|
+
import { CharterType } from "../../commons/types/CharterType";
|
|
4
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
6
|
import { CharterChildrenExclusionPolicy } from "./CharterChildrenExclusionPolicy";
|
|
6
7
|
import { CharterStatus } from "./CharterStatus";
|
|
7
|
-
import { CharterType } from "./CharterType";
|
|
8
8
|
export declare const CharterSummary: core.serialization.ObjectSchema<serializers.CharterSummary.Raw, MavenAGI.CharterSummary>;
|
|
9
9
|
export declare namespace CharterSummary {
|
|
10
10
|
interface Raw {
|
|
@@ -37,10 +37,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CharterSummary = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const serializers = __importStar(require("../../../index"));
|
|
40
|
+
const CharterType_1 = require("../../commons/types/CharterType");
|
|
40
41
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
41
42
|
const CharterChildrenExclusionPolicy_1 = require("./CharterChildrenExclusionPolicy");
|
|
42
43
|
const CharterStatus_1 = require("./CharterStatus");
|
|
43
|
-
const CharterType_1 = require("./CharterType");
|
|
44
44
|
exports.CharterSummary = core.serialization.object({
|
|
45
45
|
charterId: EntityId_1.EntityId,
|
|
46
46
|
name: core.serialization.string(),
|
|
@@ -32,4 +32,3 @@ __exportStar(require("./CharterSearchRequest"), exports);
|
|
|
32
32
|
__exportStar(require("./CharterSearchResponse"), exports);
|
|
33
33
|
__exportStar(require("./CharterStatus"), exports);
|
|
34
34
|
__exportStar(require("./CharterSummary"), exports);
|
|
35
|
-
__exportStar(require("./CharterType"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const ActionExecutionStatus: core.serialization.Schema<serializers.ActionExecutionStatus.Raw, MavenAGI.ActionExecutionStatus>;
|
|
5
|
+
export declare namespace ActionExecutionStatus {
|
|
6
|
+
type Raw = "SUCCESS" | "ERROR";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ActionExecutionStatus = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.ActionExecutionStatus = core.serialization.forwardCompatibleEnum_(["SUCCESS", "ERROR"]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const AdditionalDataKey: core.serialization.Schema<serializers.AdditionalDataKey.Raw, MavenAGI.AdditionalDataKey>;
|
|
5
5
|
export declare namespace AdditionalDataKey {
|
|
6
|
-
type Raw = "value" | "previousValue" | "name" | "step" | "reason" | "errorCode" | "errorMessage" | "url" | "query" | "position" | "amount" | "currency" | "channel" | "sourceLanguage" | "targetLanguage" | "mimeType" | "sizeBytes";
|
|
6
|
+
type Raw = "value" | "previousValue" | "name" | "step" | "reason" | "errorCode" | "errorMessage" | "url" | "query" | "position" | "botMessageType" | "amount" | "currency" | "channel" | "sourceLanguage" | "targetLanguage" | "mimeType" | "sizeBytes";
|
|
7
7
|
}
|
|
@@ -3,9 +3,11 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { AppUser } from "./AppUser";
|
|
5
5
|
import { EntityIdBase } from "./EntityIdBase";
|
|
6
|
+
import { ExecutionMode } from "./ExecutionMode";
|
|
6
7
|
export declare const AppUserRequest: core.serialization.ObjectSchema<serializers.AppUserRequest.Raw, MavenAGI.AppUserRequest>;
|
|
7
8
|
export declare namespace AppUserRequest {
|
|
8
9
|
interface Raw extends AppUser.Raw {
|
|
9
10
|
userId: EntityIdBase.Raw;
|
|
11
|
+
executionMode?: ExecutionMode.Raw | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -38,8 +38,10 @@ exports.AppUserRequest = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const AppUser_1 = require("./AppUser");
|
|
40
40
|
const EntityIdBase_1 = require("./EntityIdBase");
|
|
41
|
+
const ExecutionMode_1 = require("./ExecutionMode");
|
|
41
42
|
exports.AppUserRequest = core.serialization
|
|
42
43
|
.object({
|
|
43
44
|
userId: EntityIdBase_1.EntityIdBase,
|
|
45
|
+
executionMode: ExecutionMode_1.ExecutionMode.optional(),
|
|
44
46
|
})
|
|
45
47
|
.extend(AppUser_1.AppUser);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
+
import { CharterType } from "./CharterType";
|
|
4
5
|
import { EntityIdWithoutAgent } from "./EntityIdWithoutAgent";
|
|
5
6
|
export declare const BotLogicCharterDetail: core.serialization.ObjectSchema<serializers.BotLogicCharterDetail.Raw, MavenAGI.BotLogicCharterDetail>;
|
|
6
7
|
export declare namespace BotLogicCharterDetail {
|
|
@@ -9,5 +10,6 @@ export declare namespace BotLogicCharterDetail {
|
|
|
9
10
|
name: string;
|
|
10
11
|
segmentId?: EntityIdWithoutAgent.Raw | null;
|
|
11
12
|
parentId?: EntityIdWithoutAgent.Raw | null;
|
|
13
|
+
type?: CharterType.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.BotLogicCharterDetail = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const CharterType_1 = require("./CharterType");
|
|
39
40
|
const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
|
|
40
41
|
exports.BotLogicCharterDetail = core.serialization.object({
|
|
41
42
|
charterId: EntityIdWithoutAgent_1.EntityIdWithoutAgent,
|
|
42
43
|
name: core.serialization.string(),
|
|
43
44
|
segmentId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
44
45
|
parentId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
46
|
+
type: CharterType_1.CharterType.optional(),
|
|
45
47
|
});
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { BotConversationMessageType } from "./BotConversationMessageType";
|
|
5
5
|
import { BotLogic } from "./BotLogic";
|
|
6
|
+
import { BotMessageStatusReason } from "./BotMessageStatusReason";
|
|
6
7
|
import { BotResponse } from "./BotResponse";
|
|
7
8
|
import { BotResponseMetadata } from "./BotResponseMetadata";
|
|
8
9
|
import { ConversationMessageBase } from "./ConversationMessageBase";
|
|
@@ -17,5 +18,6 @@ export declare namespace BotMessage {
|
|
|
17
18
|
metadata: BotResponseMetadata.Raw;
|
|
18
19
|
status: MessageStatus.Raw;
|
|
19
20
|
logic?: BotLogic.Raw | null;
|
|
21
|
+
statusReason?: BotMessageStatusReason.Raw | null;
|
|
20
22
|
}
|
|
21
23
|
}
|
|
@@ -38,6 +38,7 @@ exports.BotMessage = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const BotConversationMessageType_1 = require("./BotConversationMessageType");
|
|
40
40
|
const BotLogic_1 = require("./BotLogic");
|
|
41
|
+
const BotMessageStatusReason_1 = require("./BotMessageStatusReason");
|
|
41
42
|
const BotResponse_1 = require("./BotResponse");
|
|
42
43
|
const BotResponseMetadata_1 = require("./BotResponseMetadata");
|
|
43
44
|
const ConversationMessageBase_1 = require("./ConversationMessageBase");
|
|
@@ -51,5 +52,6 @@ exports.BotMessage = core.serialization
|
|
|
51
52
|
metadata: BotResponseMetadata_1.BotResponseMetadata,
|
|
52
53
|
status: MessageStatus_1.MessageStatus,
|
|
53
54
|
logic: BotLogic_1.BotLogic.optional(),
|
|
55
|
+
statusReason: BotMessageStatusReason_1.BotMessageStatusReason.optional(),
|
|
54
56
|
})
|
|
55
57
|
.extend(ConversationMessageBase_1.ConversationMessageBase);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const BotMessageStatusReason: core.serialization.Schema<serializers.BotMessageStatusReason.Raw, MavenAGI.BotMessageStatusReason>;
|
|
5
|
+
export declare namespace BotMessageStatusReason {
|
|
6
|
+
type Raw = "CONTENT_SAFETY_ISSUE" | "FAILED_TO_RETRIEVE_KNOWLEDGE" | "FAILED_TO_RETRIEVE_ACTIONS";
|
|
7
|
+
}
|