mavenagi 1.2.60 → 1.2.62
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.d.ts +12 -0
- package/BaseClient.js +5 -3
- package/Client.d.ts +9 -0
- package/Client.js +43 -28
- package/api/resources/actions/client/Client.d.ts +26 -0
- package/api/resources/actions/client/Client.js +30 -3
- package/api/resources/agents/client/Client.d.ts +12 -0
- package/api/resources/agents/client/Client.js +16 -3
- package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +3 -3
- package/api/resources/agents/types/AgentPrompting.d.ts +3 -3
- package/api/resources/analytics/client/Client.d.ts +14 -0
- package/api/resources/analytics/client/Client.js +22 -7
- package/api/resources/analytics/types/ConversationMedian.d.ts +4 -0
- package/api/resources/analytics/types/ConversationPercentile.d.ts +4 -0
- package/api/resources/analytics/types/RowBase.d.ts +5 -1
- package/api/resources/analytics/types/Series.d.ts +4 -1
- package/api/resources/analytics/types/TimeSeries.d.ts +5 -1
- package/api/resources/appDirectory/client/Client.d.ts +12 -0
- package/api/resources/appDirectory/client/Client.js +16 -3
- package/api/resources/appSettings/client/Client.d.ts +6 -0
- package/api/resources/appSettings/client/Client.js +8 -1
- package/api/resources/assets/client/Client.d.ts +4 -0
- package/api/resources/assets/client/Client.js +7 -2
- package/api/resources/capabilities/client/Client.d.ts +118 -0
- package/api/resources/capabilities/client/Client.js +521 -0
- package/api/resources/capabilities/client/index.d.ts +1 -0
- package/api/resources/capabilities/client/index.js +17 -0
- package/api/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +36 -0
- package/api/resources/capabilities/client/requests/CapabilitiesSearchRequest.js +3 -0
- package/api/resources/capabilities/client/requests/DeleteCapabilityByTypeRequest.d.ts +18 -0
- package/api/resources/capabilities/client/requests/DeleteCapabilityByTypeRequest.js +3 -0
- package/api/resources/capabilities/client/requests/GetCapabilityByTypeRequest.d.ts +22 -0
- package/api/resources/capabilities/client/requests/GetCapabilityByTypeRequest.js +3 -0
- package/api/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.d.ts +24 -0
- package/api/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.js +3 -0
- package/api/resources/capabilities/client/requests/index.d.ts +4 -0
- package/api/resources/capabilities/client/requests/index.js +2 -0
- package/api/resources/capabilities/exports.d.ts +2 -0
- package/api/resources/capabilities/exports.js +21 -0
- package/api/resources/capabilities/index.d.ts +2 -0
- package/api/resources/capabilities/index.js +18 -0
- package/api/resources/capabilities/types/CapabilitiesSearchResponse.d.ts +43 -0
- package/api/resources/capabilities/types/CapabilitiesSearchResponse.js +3 -0
- package/api/resources/capabilities/types/CapabilityResponse.d.ts +23 -0
- package/api/resources/capabilities/types/CapabilityResponse.js +3 -0
- package/api/resources/capabilities/types/CapabilitySortField.d.ts +7 -0
- package/api/resources/capabilities/types/CapabilitySortField.js +10 -0
- package/api/resources/capabilities/types/CapabilitySummary.d.ts +28 -0
- package/api/resources/capabilities/types/CapabilitySummary.js +3 -0
- package/api/resources/capabilities/types/index.d.ts +4 -0
- package/api/resources/capabilities/types/index.js +20 -0
- package/api/resources/charters/client/Client.d.ts +245 -0
- package/api/resources/charters/client/Client.js +884 -0
- package/api/resources/charters/client/index.d.ts +1 -0
- package/api/resources/charters/client/index.js +17 -0
- package/api/resources/charters/client/requests/CharterDeleteRequest.d.ts +20 -0
- package/api/resources/charters/client/requests/CharterDeleteRequest.js +3 -0
- package/api/resources/charters/client/requests/CharterGetAncestorsRequest.d.ts +8 -0
- package/api/resources/charters/client/requests/CharterGetAncestorsRequest.js +3 -0
- package/api/resources/charters/client/requests/CharterGetRequest.d.ts +8 -0
- package/api/resources/charters/client/requests/CharterGetRequest.js +3 -0
- package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +67 -0
- package/api/resources/charters/client/requests/CharterPatchRequest.js +3 -0
- package/api/resources/charters/client/requests/index.d.ts +4 -0
- package/api/resources/charters/client/requests/index.js +2 -0
- package/api/resources/charters/exports.d.ts +2 -0
- package/api/resources/charters/exports.js +21 -0
- package/api/resources/charters/index.d.ts +1 -0
- package/api/resources/charters/index.js +1 -0
- package/api/resources/charters/types/CharterAncestorsResponse.d.ts +8 -0
- package/api/resources/charters/types/CharterAncestorsResponse.js +3 -0
- package/api/resources/charters/types/CharterBase.d.ts +14 -0
- package/api/resources/charters/types/CharterBase.js +3 -0
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +1 -1
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +1 -1
- package/api/resources/charters/types/CharterChildrenGroup.d.ts +18 -0
- package/api/resources/charters/types/CharterChildrenGroup.js +3 -0
- package/api/resources/charters/types/CharterContent.d.ts +60 -0
- package/api/resources/charters/types/CharterContent.js +3 -0
- package/api/resources/charters/types/CharterKnowledgeBaseReference.d.ts +16 -0
- package/api/resources/charters/types/CharterKnowledgeBaseReference.js +3 -0
- package/api/resources/charters/types/CharterListChildrenRequest.d.ts +18 -0
- package/api/resources/charters/types/CharterListChildrenRequest.js +3 -0
- package/api/resources/charters/types/CharterListChildrenResponse.d.ts +55 -0
- package/api/resources/charters/types/CharterListChildrenResponse.js +3 -0
- package/api/resources/charters/types/CharterPatchReferences.d.ts +22 -0
- package/api/resources/charters/types/CharterPatchReferences.js +3 -0
- package/api/resources/charters/types/CharterReferences.d.ts +21 -0
- package/api/resources/charters/types/CharterReferences.js +3 -0
- package/api/resources/charters/types/CharterRequest.d.ts +36 -0
- package/api/resources/charters/types/CharterRequest.js +3 -0
- package/api/resources/charters/types/CharterResponse.d.ts +66 -0
- package/api/resources/charters/types/CharterResponse.js +3 -0
- package/api/resources/charters/types/CharterSearchField.d.ts +5 -0
- package/api/resources/charters/types/CharterSearchField.js +8 -0
- package/api/resources/charters/types/CharterSearchFilter.d.ts +18 -0
- package/api/resources/charters/types/CharterSearchFilter.js +3 -0
- package/api/resources/charters/types/CharterSearchRequest.d.ts +5 -0
- package/api/resources/charters/types/CharterSearchRequest.js +3 -0
- package/api/resources/charters/types/CharterSearchResponse.d.ts +36 -0
- package/api/resources/charters/types/CharterSearchResponse.js +3 -0
- package/api/resources/charters/types/CharterStatus.d.ts +2 -2
- package/api/resources/charters/types/CharterStatus.js +2 -2
- package/api/resources/charters/types/CharterSummary.d.ts +1 -9
- package/api/resources/charters/types/CharterType.d.ts +4 -4
- package/api/resources/charters/types/CharterType.js +4 -4
- package/api/resources/charters/types/index.d.ts +15 -0
- package/api/resources/charters/types/index.js +15 -0
- package/api/resources/commons/errors/BadRequestError.d.ts +1 -0
- package/api/resources/commons/errors/BadRequestError.js +1 -1
- package/api/resources/commons/errors/NotFoundError.d.ts +1 -0
- package/api/resources/commons/errors/NotFoundError.js +1 -1
- package/api/resources/commons/errors/PayloadTooLargeError.d.ts +1 -0
- package/api/resources/commons/errors/PayloadTooLargeError.js +1 -1
- package/api/resources/commons/errors/ServerError.d.ts +1 -0
- package/api/resources/commons/errors/ServerError.js +1 -1
- package/api/resources/commons/errors/TooManyRequestsError.d.ts +1 -0
- package/api/resources/commons/errors/TooManyRequestsError.js +1 -1
- package/api/resources/commons/types/ActionResponse.d.ts +11 -2
- package/api/resources/commons/types/AskType.d.ts +2 -2
- package/api/resources/commons/types/AskType.js +2 -2
- package/api/resources/commons/types/BaseConversationResponse.d.ts +6 -0
- package/api/resources/commons/types/BotObjectResponse.d.ts +1 -1
- package/api/resources/commons/types/CapabilityBase.d.ts +23 -0
- package/api/resources/commons/types/CapabilityBase.js +3 -0
- package/api/resources/commons/types/CapabilityStatus.d.ts +17 -0
- package/api/resources/commons/types/CapabilityStatus.js +20 -0
- package/api/resources/commons/types/CapabilityType.d.ts +8 -0
- package/api/resources/commons/types/CapabilityType.js +11 -0
- package/api/resources/commons/types/ConversationRound.d.ts +1 -1
- package/api/resources/commons/types/ConversationRound.js +1 -1
- package/api/resources/commons/types/EntityType.d.ts +5 -1
- package/api/resources/commons/types/EntityType.js +5 -1
- package/api/resources/commons/types/ErrorMessage.d.ts +3 -0
- package/api/resources/commons/types/ErrorReason.d.ts +31 -0
- package/api/resources/commons/types/ErrorReason.js +34 -0
- package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +0 -4
- package/api/resources/commons/types/LlmPersona.d.ts +1 -1
- package/api/resources/commons/types/LlmPersona.js +1 -1
- package/api/resources/commons/types/MetadataComparisonCondition.d.ts +10 -0
- package/api/resources/commons/types/MetadataComparisonCondition.js +3 -0
- package/api/resources/commons/types/MetadataComparisonOperator.d.ts +22 -0
- package/api/resources/commons/types/MetadataComparisonOperator.js +25 -0
- package/api/resources/commons/types/MetadataCondition.d.ts +21 -0
- package/api/resources/commons/types/MetadataCondition.js +3 -0
- package/api/resources/commons/types/MetadataEntryCondition.d.ts +10 -0
- package/api/resources/commons/types/MetadataEntryCondition.js +3 -0
- package/api/resources/commons/types/MetadataFilter.d.ts +41 -0
- package/api/resources/commons/types/MetadataFilter.js +3 -0
- package/api/resources/commons/types/MetadataFilterGroup.d.ts +14 -0
- package/api/resources/commons/types/MetadataFilterGroup.js +3 -0
- package/api/resources/commons/types/SimulationContext.d.ts +2 -2
- package/api/resources/commons/types/SystemEventName.d.ts +3 -0
- package/api/resources/commons/types/SystemEventName.js +3 -0
- package/api/resources/commons/types/index.d.ts +10 -0
- package/api/resources/commons/types/index.js +10 -0
- package/api/resources/conversation/client/Client.d.ts +33 -0
- package/api/resources/conversation/client/Client.js +49 -17
- package/api/resources/conversation/types/AskRequest.d.ts +10 -10
- package/api/resources/conversation/types/ConversationFilter.d.ts +6 -1
- package/api/resources/conversationKickoffs/client/Client.d.ts +45 -0
- package/api/resources/conversationKickoffs/client/Client.js +175 -0
- package/api/resources/conversationKickoffs/client/index.d.ts +1 -0
- package/api/resources/conversationKickoffs/client/index.js +17 -0
- package/api/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +22 -0
- package/api/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.js +3 -0
- package/api/resources/conversationKickoffs/client/requests/index.d.ts +1 -0
- package/api/resources/conversationKickoffs/client/requests/index.js +2 -0
- package/api/resources/conversationKickoffs/exports.d.ts +2 -0
- package/api/resources/conversationKickoffs/exports.js +21 -0
- package/api/resources/conversationKickoffs/index.d.ts +2 -0
- package/api/resources/conversationKickoffs/index.js +18 -0
- package/api/resources/conversationKickoffs/types/ConversationKickoff.d.ts +27 -0
- package/api/resources/conversationKickoffs/types/ConversationKickoff.js +3 -0
- package/api/resources/conversationKickoffs/types/index.d.ts +1 -0
- package/api/resources/conversationKickoffs/types/index.js +17 -0
- package/api/resources/customers/client/Client.d.ts +8 -0
- package/api/resources/customers/client/Client.js +12 -3
- package/api/resources/events/client/Client.d.ts +8 -0
- package/api/resources/events/client/Client.js +12 -3
- package/api/resources/inbox/client/Client.d.ts +16 -0
- package/api/resources/inbox/client/Client.js +22 -5
- package/api/resources/index.d.ts +7 -0
- package/api/resources/index.js +8 -1
- package/api/resources/integrations/client/Client.d.ts +2 -0
- package/api/resources/integrations/client/Client.js +4 -1
- package/api/resources/intelligentFields/client/Client.d.ts +41 -4
- package/api/resources/intelligentFields/client/Client.js +49 -9
- package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.d.ts +1 -1
- package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +4 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +14 -5
- package/api/resources/intelligentFields/types/EnumOption.d.ts +8 -1
- package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +12 -15
- package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +5 -2
- package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +10 -2
- package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +2 -8
- package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +10 -0
- package/api/resources/intelligentFields/types/IntelligentFieldType.js +10 -0
- package/api/resources/intelligentFields/types/index.d.ts +0 -1
- package/api/resources/intelligentFields/types/index.js +0 -1
- package/api/resources/knowledge/client/Client.d.ts +35 -0
- package/api/resources/knowledge/client/Client.js +50 -16
- package/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +13 -0
- package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +4 -2
- package/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +33 -9
- package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +7 -1
- package/api/resources/organizations/client/Client.d.ts +12 -0
- package/api/resources/organizations/client/Client.js +17 -4
- package/api/resources/segments/client/Client.d.ts +10 -0
- package/api/resources/segments/client/Client.js +14 -3
- package/api/resources/translations/client/Client.d.ts +2 -0
- package/api/resources/translations/client/Client.js +4 -1
- package/api/resources/triggers/client/Client.d.ts +31 -0
- package/api/resources/triggers/client/Client.js +35 -3
- package/api/resources/triggers/types/EventTriggerBase.d.ts +0 -4
- package/api/resources/triggers/types/EventTriggerRequest.d.ts +4 -0
- package/api/resources/triggers/types/EventTriggerResponse.d.ts +11 -3
- package/api/resources/users/client/Client.d.ts +10 -0
- package/api/resources/users/client/Client.js +13 -2
- package/api/resources/voice/client/Client.d.ts +2 -0
- package/api/resources/voice/client/Client.js +4 -1
- package/api/resources/voiceConversations/client/Client.d.ts +4 -1
- package/api/resources/voiceConversations/client/Client.js +2 -1
- package/api/resources/voiceConversations/client/Socket.d.ts +11 -0
- package/api/resources/voiceConversations/client/Socket.js +15 -0
- package/core/fetcher/Fetcher.js +9 -92
- package/core/fetcher/getResponseBody.js +11 -0
- package/core/fetcher/makePassthroughRequest.js +26 -4
- package/core/fetcher/redactUrl.d.ts +2 -0
- package/core/fetcher/redactUrl.js +88 -0
- package/core/fetcher/signals.js +9 -1
- package/core/file/file.js +3 -0
- package/core/form-data-utils/FormDataWrapper.js +3 -0
- package/core/requestBody.d.ts +12 -0
- package/core/requestBody.js +26 -0
- package/core/runtime/index.d.ts +1 -1
- package/core/runtime/index.js +2 -1
- package/core/runtime/runtime.d.ts +19 -0
- package/core/runtime/runtime.js +74 -2
- package/core/schemas/builders/schema-utils/JsonError.js +2 -2
- package/core/schemas/builders/schema-utils/ParseError.js +2 -2
- package/core/stream/Stream.d.ts +45 -1
- package/core/stream/Stream.js +323 -84
- package/core/stream/index.d.ts +1 -0
- package/core/url/qs.js +2 -2
- package/core/websocket/ws.d.ts +6 -0
- package/core/websocket/ws.js +14 -1
- package/errors/MavenAGIError.d.ts +1 -0
- package/errors/MavenAGIError.js +5 -1
- package/errors/MavenAGITimeoutError.d.ts +2 -2
- package/errors/MavenAGITimeoutError.js +40 -6
- package/package.json +2 -2
- package/reference.md +1170 -126
- package/serialization/resources/capabilities/client/index.d.ts +1 -0
- package/serialization/resources/capabilities/client/index.js +17 -0
- package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +21 -0
- package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.js +55 -0
- package/serialization/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.d.ts +10 -0
- package/serialization/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.js +42 -0
- package/serialization/resources/capabilities/client/requests/index.d.ts +2 -0
- package/serialization/resources/capabilities/client/requests/index.js +7 -0
- package/serialization/resources/capabilities/index.d.ts +2 -0
- package/serialization/resources/capabilities/index.js +18 -0
- package/serialization/resources/capabilities/types/CapabilitiesSearchResponse.d.ts +11 -0
- package/serialization/resources/capabilities/types/CapabilitiesSearchResponse.js +45 -0
- package/serialization/resources/capabilities/types/CapabilityResponse.d.ts +23 -0
- package/serialization/resources/capabilities/types/CapabilityResponse.js +53 -0
- package/serialization/resources/capabilities/types/CapabilitySortField.d.ts +7 -0
- package/serialization/resources/{intelligentFields/types/IntelligentFieldStatus.js → capabilities/types/CapabilitySortField.js} +2 -2
- package/serialization/resources/capabilities/types/CapabilitySummary.d.ts +13 -0
- package/serialization/resources/capabilities/types/CapabilitySummary.js +47 -0
- package/serialization/resources/capabilities/types/index.d.ts +4 -0
- package/serialization/resources/capabilities/types/index.js +20 -0
- package/serialization/resources/charters/client/index.d.ts +1 -0
- package/serialization/resources/charters/client/index.js +17 -0
- package/serialization/resources/charters/client/requests/CharterPatchRequest.d.ts +24 -0
- package/serialization/resources/charters/client/requests/CharterPatchRequest.js +57 -0
- package/serialization/resources/charters/client/requests/index.d.ts +1 -0
- package/serialization/resources/charters/client/requests/index.js +5 -0
- package/serialization/resources/charters/index.d.ts +1 -0
- package/serialization/resources/charters/index.js +1 -0
- package/serialization/resources/charters/types/CharterAncestorsResponse.d.ts +10 -0
- package/serialization/resources/charters/types/CharterAncestorsResponse.js +42 -0
- package/serialization/resources/charters/types/CharterBase.d.ts +11 -0
- package/serialization/resources/charters/types/CharterBase.js +43 -0
- package/serialization/resources/charters/types/CharterChildrenGroup.d.ts +13 -0
- package/serialization/resources/charters/types/CharterChildrenGroup.js +45 -0
- package/serialization/resources/charters/types/CharterContent.d.ts +19 -0
- package/serialization/resources/charters/types/CharterContent.js +54 -0
- package/serialization/resources/charters/types/CharterKnowledgeBaseReference.d.ts +11 -0
- package/serialization/resources/charters/types/CharterKnowledgeBaseReference.js +44 -0
- package/serialization/resources/charters/types/CharterListChildrenRequest.d.ts +11 -0
- package/serialization/resources/charters/types/CharterListChildrenRequest.js +45 -0
- package/serialization/resources/charters/types/CharterListChildrenResponse.d.ts +11 -0
- package/serialization/resources/charters/types/CharterListChildrenResponse.js +45 -0
- package/serialization/resources/charters/types/CharterPatchReferences.d.ts +12 -0
- package/serialization/resources/charters/types/CharterPatchReferences.js +44 -0
- package/serialization/resources/charters/types/CharterReferences.d.ts +12 -0
- package/serialization/resources/charters/types/CharterReferences.js +44 -0
- package/serialization/resources/charters/types/CharterRequest.d.ts +13 -0
- package/serialization/resources/charters/types/CharterRequest.js +47 -0
- package/serialization/resources/charters/types/CharterResponse.d.ts +25 -0
- package/serialization/resources/charters/types/CharterResponse.js +60 -0
- package/serialization/resources/charters/types/CharterSearchField.d.ts +7 -0
- package/serialization/resources/charters/types/CharterSearchField.js +39 -0
- package/serialization/resources/charters/types/CharterSearchFilter.d.ts +12 -0
- package/serialization/resources/charters/types/CharterSearchFilter.js +44 -0
- package/serialization/resources/charters/types/CharterSearchRequest.d.ts +13 -0
- package/serialization/resources/charters/types/CharterSearchRequest.js +47 -0
- package/serialization/resources/charters/types/CharterSearchResponse.d.ts +11 -0
- package/serialization/resources/charters/types/CharterSearchResponse.js +45 -0
- package/serialization/resources/charters/types/CharterSummary.d.ts +0 -2
- package/serialization/resources/charters/types/CharterSummary.js +0 -2
- package/serialization/resources/charters/types/index.d.ts +15 -0
- package/serialization/resources/charters/types/index.js +15 -0
- package/serialization/resources/commons/types/ActionResponse.d.ts +3 -2
- package/serialization/resources/commons/types/ActionResponse.js +4 -2
- package/serialization/resources/commons/types/BaseConversationResponse.d.ts +1 -0
- package/serialization/resources/commons/types/BaseConversationResponse.js +1 -0
- package/serialization/resources/commons/types/CapabilityBase.d.ts +14 -0
- package/serialization/resources/commons/types/CapabilityBase.js +46 -0
- package/serialization/resources/{intelligentFields/types/IntelligentFieldStatus.d.ts → commons/types/CapabilityStatus.d.ts} +2 -2
- package/serialization/resources/commons/types/CapabilityStatus.js +39 -0
- package/serialization/resources/commons/types/CapabilityType.d.ts +7 -0
- package/serialization/resources/commons/types/CapabilityType.js +39 -0
- package/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +1 -1
- package/serialization/resources/commons/types/ErrorMessage.d.ts +2 -0
- package/serialization/resources/commons/types/ErrorMessage.js +2 -0
- package/serialization/resources/commons/types/ErrorReason.d.ts +7 -0
- package/serialization/resources/commons/types/ErrorReason.js +49 -0
- package/serialization/resources/commons/types/MetadataComparisonCondition.d.ts +11 -0
- package/serialization/resources/commons/types/MetadataComparisonCondition.js +43 -0
- package/serialization/resources/commons/types/MetadataComparisonOperator.d.ts +7 -0
- package/serialization/resources/commons/types/MetadataComparisonOperator.js +39 -0
- package/serialization/resources/commons/types/MetadataCondition.d.ts +19 -0
- package/serialization/resources/commons/types/MetadataCondition.js +51 -0
- package/serialization/resources/commons/types/MetadataEntryCondition.d.ts +11 -0
- package/serialization/resources/commons/types/MetadataEntryCondition.js +43 -0
- package/serialization/resources/commons/types/MetadataFilter.d.ts +14 -0
- package/serialization/resources/commons/types/MetadataFilter.js +49 -0
- package/serialization/resources/commons/types/MetadataFilterGroup.d.ts +11 -0
- package/serialization/resources/commons/types/MetadataFilterGroup.js +44 -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 +10 -0
- package/serialization/resources/commons/types/index.js +10 -0
- package/serialization/resources/conversationKickoffs/client/index.d.ts +1 -0
- package/serialization/resources/conversationKickoffs/client/index.js +17 -0
- package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +12 -0
- package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.js +44 -0
- package/serialization/resources/conversationKickoffs/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationKickoffs/client/requests/index.js +5 -0
- package/serialization/resources/conversationKickoffs/index.d.ts +2 -0
- package/serialization/resources/conversationKickoffs/index.js +18 -0
- package/serialization/resources/conversationKickoffs/types/ConversationKickoff.d.ts +11 -0
- package/serialization/resources/conversationKickoffs/types/ConversationKickoff.js +45 -0
- package/serialization/resources/conversationKickoffs/types/index.d.ts +1 -0
- package/serialization/resources/conversationKickoffs/types/index.js +17 -0
- package/serialization/resources/index.d.ts +7 -0
- package/serialization/resources/index.js +8 -1
- package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +3 -2
- package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +3 -2
- package/serialization/resources/intelligentFields/types/EnumOption.d.ts +1 -0
- package/serialization/resources/intelligentFields/types/EnumOption.js +1 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldCore.d.ts +0 -2
- package/serialization/resources/intelligentFields/types/IntelligentFieldCore.js +0 -2
- package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +2 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.js +2 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +2 -5
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -5
- package/serialization/resources/intelligentFields/types/index.d.ts +0 -1
- package/serialization/resources/intelligentFields/types/index.js +0 -1
- package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.js +2 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +0 -2
- package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +0 -2
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +2 -0
- package/serialization/resources/triggers/types/EventTriggerBase.d.ts +0 -2
- package/serialization/resources/triggers/types/EventTriggerBase.js +0 -2
- package/serialization/resources/triggers/types/EventTriggerRequest.d.ts +2 -0
- package/serialization/resources/triggers/types/EventTriggerRequest.js +2 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -1
- package/serialization/resources/triggers/types/EventTriggerResponse.js +3 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +0 -7
- package/api/resources/intelligentFields/types/IntelligentFieldStatus.js +0 -10
|
@@ -0,0 +1,21 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ConversationKickoffsClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "ConversationKickoffsClient", { enumerable: true, get: function () { return Client_1.ConversationKickoffsClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./client"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* A Conversation Kickoff installed on an agent: code that runs when a conversation is created,
|
|
4
|
+
* before the agent produces its first reply.
|
|
5
|
+
*
|
|
6
|
+
* A kickoff has no settings of its own beyond the fields every capability has.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* {
|
|
10
|
+
* kickoffId: {
|
|
11
|
+
* referenceId: "greet-returning-customer",
|
|
12
|
+
* appId: "my-billing-system",
|
|
13
|
+
* organizationId: "acme",
|
|
14
|
+
* agentId: "support",
|
|
15
|
+
* type: MavenAGI.EntityType.ConversationKickoff
|
|
16
|
+
* },
|
|
17
|
+
* name: "Greet returning customer",
|
|
18
|
+
* description: "Looks the customer up and welcomes them back by name",
|
|
19
|
+
* status: MavenAGI.CapabilityStatus.Inactive,
|
|
20
|
+
* createdAt: new Date("2026-01-15T10:30:00.000Z"),
|
|
21
|
+
* updatedAt: new Date("2026-01-15T10:30:00.000Z")
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
export interface ConversationKickoff extends MavenAGI.CapabilityBase {
|
|
25
|
+
/** ID that uniquely identifies this Conversation Kickoff. */
|
|
26
|
+
kickoffId: MavenAGI.EntityId;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ConversationKickoff";
|
|
@@ -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("./ConversationKickoff"), exports);
|
|
@@ -19,6 +19,8 @@ export declare class CustomersClient {
|
|
|
19
19
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
20
20
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
21
21
|
* @throws {@link MavenAGI.ServerError}
|
|
22
|
+
* @throws {@link errors.MavenAGIError}
|
|
23
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* await client.customers.search({})
|
|
@@ -36,6 +38,8 @@ export declare class CustomersClient {
|
|
|
36
38
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
37
39
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
38
40
|
* @throws {@link MavenAGI.ServerError}
|
|
41
|
+
* @throws {@link errors.MavenAGIError}
|
|
42
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
39
43
|
*
|
|
40
44
|
* @example
|
|
41
45
|
* await client.customers.createOrUpdate({
|
|
@@ -59,6 +63,8 @@ export declare class CustomersClient {
|
|
|
59
63
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
60
64
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
61
65
|
* @throws {@link MavenAGI.ServerError}
|
|
66
|
+
* @throws {@link errors.MavenAGIError}
|
|
67
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
62
68
|
*
|
|
63
69
|
* @example
|
|
64
70
|
* await client.customers.get("acme")
|
|
@@ -80,6 +86,8 @@ export declare class CustomersClient {
|
|
|
80
86
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
81
87
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
82
88
|
* @throws {@link MavenAGI.ServerError}
|
|
89
|
+
* @throws {@link errors.MavenAGIError}
|
|
90
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
83
91
|
*
|
|
84
92
|
* @example
|
|
85
93
|
* await client.customers.patch("customerReferenceId", {})
|
|
@@ -47,6 +47,7 @@ exports.CustomersClient = void 0;
|
|
|
47
47
|
const BaseClient_1 = require("../../../../BaseClient");
|
|
48
48
|
const core = __importStar(require("../../../../core"));
|
|
49
49
|
const headers_1 = require("../../../../core/headers");
|
|
50
|
+
const requestBody_1 = require("../../../../core/requestBody");
|
|
50
51
|
const environments = __importStar(require("../../../../environments"));
|
|
51
52
|
const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
|
|
52
53
|
const errors = __importStar(require("../../../../errors/index"));
|
|
@@ -65,6 +66,8 @@ class CustomersClient {
|
|
|
65
66
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
66
67
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
67
68
|
* @throws {@link MavenAGI.ServerError}
|
|
69
|
+
* @throws {@link errors.MavenAGIError}
|
|
70
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
68
71
|
*
|
|
69
72
|
* @example
|
|
70
73
|
* await client.customers.search({})
|
|
@@ -87,7 +90,7 @@ class CustomersClient {
|
|
|
87
90
|
contentType: "application/json",
|
|
88
91
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
89
92
|
requestType: "json",
|
|
90
|
-
body: serializers.CustomersSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
93
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.CustomersSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
91
94
|
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
92
95
|
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
93
96
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -164,6 +167,8 @@ class CustomersClient {
|
|
|
164
167
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
165
168
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
166
169
|
* @throws {@link MavenAGI.ServerError}
|
|
170
|
+
* @throws {@link errors.MavenAGIError}
|
|
171
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
167
172
|
*
|
|
168
173
|
* @example
|
|
169
174
|
* await client.customers.createOrUpdate({
|
|
@@ -191,7 +196,7 @@ class CustomersClient {
|
|
|
191
196
|
contentType: "application/json",
|
|
192
197
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
193
198
|
requestType: "json",
|
|
194
|
-
body: serializers.CustomerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
199
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.CustomerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
195
200
|
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
196
201
|
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
197
202
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -269,6 +274,8 @@ class CustomersClient {
|
|
|
269
274
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
270
275
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
271
276
|
* @throws {@link MavenAGI.ServerError}
|
|
277
|
+
* @throws {@link errors.MavenAGIError}
|
|
278
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
272
279
|
*
|
|
273
280
|
* @example
|
|
274
281
|
* await client.customers.get("acme")
|
|
@@ -377,6 +384,8 @@ class CustomersClient {
|
|
|
377
384
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
378
385
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
379
386
|
* @throws {@link MavenAGI.ServerError}
|
|
387
|
+
* @throws {@link errors.MavenAGIError}
|
|
388
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
380
389
|
*
|
|
381
390
|
* @example
|
|
382
391
|
* await client.customers.patch("customerReferenceId", {})
|
|
@@ -399,7 +408,7 @@ class CustomersClient {
|
|
|
399
408
|
contentType: "application/merge-patch+json",
|
|
400
409
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
401
410
|
requestType: "json",
|
|
402
|
-
body: serializers.CustomerPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
411
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.CustomerPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
403
412
|
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
404
413
|
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
405
414
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -21,6 +21,8 @@ export declare class EventsClient {
|
|
|
21
21
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
22
22
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
23
23
|
* @throws {@link MavenAGI.ServerError}
|
|
24
|
+
* @throws {@link errors.MavenAGIError}
|
|
25
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
24
26
|
*
|
|
25
27
|
* @example
|
|
26
28
|
* await client.events.create({
|
|
@@ -49,6 +51,8 @@ export declare class EventsClient {
|
|
|
49
51
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
50
52
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
51
53
|
* @throws {@link MavenAGI.ServerError}
|
|
54
|
+
* @throws {@link errors.MavenAGIError}
|
|
55
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
52
56
|
*
|
|
53
57
|
* @example
|
|
54
58
|
* await client.events.search({})
|
|
@@ -67,6 +71,8 @@ export declare class EventsClient {
|
|
|
67
71
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
68
72
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
69
73
|
* @throws {@link MavenAGI.ServerError}
|
|
74
|
+
* @throws {@link errors.MavenAGIError}
|
|
75
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
70
76
|
*
|
|
71
77
|
* @example
|
|
72
78
|
* await client.events.get("eventId", {
|
|
@@ -85,6 +91,8 @@ export declare class EventsClient {
|
|
|
85
91
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
86
92
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
87
93
|
* @throws {@link MavenAGI.ServerError}
|
|
94
|
+
* @throws {@link errors.MavenAGIError}
|
|
95
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
88
96
|
*/
|
|
89
97
|
export(request: MavenAGI.EventsSearchRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
|
|
90
98
|
private __export;
|
|
@@ -47,6 +47,7 @@ exports.EventsClient = void 0;
|
|
|
47
47
|
const BaseClient_1 = require("../../../../BaseClient");
|
|
48
48
|
const core = __importStar(require("../../../../core"));
|
|
49
49
|
const headers_1 = require("../../../../core/headers");
|
|
50
|
+
const requestBody_1 = require("../../../../core/requestBody");
|
|
50
51
|
const environments = __importStar(require("../../../../environments"));
|
|
51
52
|
const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
|
|
52
53
|
const errors = __importStar(require("../../../../errors/index"));
|
|
@@ -67,6 +68,8 @@ class EventsClient {
|
|
|
67
68
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
68
69
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
69
70
|
* @throws {@link MavenAGI.ServerError}
|
|
71
|
+
* @throws {@link errors.MavenAGIError}
|
|
72
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
70
73
|
*
|
|
71
74
|
* @example
|
|
72
75
|
* await client.events.create({
|
|
@@ -100,7 +103,7 @@ class EventsClient {
|
|
|
100
103
|
contentType: "application/json",
|
|
101
104
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
102
105
|
requestType: "json",
|
|
103
|
-
body: serializers.EventRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
106
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.EventRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
104
107
|
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
105
108
|
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
106
109
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -177,6 +180,8 @@ class EventsClient {
|
|
|
177
180
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
178
181
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
179
182
|
* @throws {@link MavenAGI.ServerError}
|
|
183
|
+
* @throws {@link errors.MavenAGIError}
|
|
184
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
180
185
|
*
|
|
181
186
|
* @example
|
|
182
187
|
* await client.events.search({})
|
|
@@ -199,7 +204,7 @@ class EventsClient {
|
|
|
199
204
|
contentType: "application/json",
|
|
200
205
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
201
206
|
requestType: "json",
|
|
202
|
-
body: serializers.EventsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
207
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.EventsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
203
208
|
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
204
209
|
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
205
210
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -277,6 +282,8 @@ class EventsClient {
|
|
|
277
282
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
278
283
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
279
284
|
* @throws {@link MavenAGI.ServerError}
|
|
285
|
+
* @throws {@link errors.MavenAGIError}
|
|
286
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
280
287
|
*
|
|
281
288
|
* @example
|
|
282
289
|
* await client.events.get("eventId", {
|
|
@@ -382,6 +389,8 @@ class EventsClient {
|
|
|
382
389
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
383
390
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
384
391
|
* @throws {@link MavenAGI.ServerError}
|
|
392
|
+
* @throws {@link errors.MavenAGIError}
|
|
393
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
385
394
|
*/
|
|
386
395
|
export(request, requestOptions) {
|
|
387
396
|
return core.HttpResponsePromise.fromPromise(this.__export(request, requestOptions));
|
|
@@ -401,7 +410,7 @@ class EventsClient {
|
|
|
401
410
|
contentType: "application/json",
|
|
402
411
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
403
412
|
requestType: "json",
|
|
404
|
-
body: serializers.EventsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
413
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.EventsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
405
414
|
responseType: "binary-response",
|
|
406
415
|
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
407
416
|
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
@@ -21,6 +21,8 @@ export declare class InboxClient {
|
|
|
21
21
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
22
22
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
23
23
|
* @throws {@link MavenAGI.ServerError}
|
|
24
|
+
* @throws {@link errors.MavenAGIError}
|
|
25
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
24
26
|
*
|
|
25
27
|
* @example
|
|
26
28
|
* await client.inbox.search({})
|
|
@@ -38,6 +40,8 @@ export declare class InboxClient {
|
|
|
38
40
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
39
41
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
40
42
|
* @throws {@link MavenAGI.ServerError}
|
|
43
|
+
* @throws {@link errors.MavenAGIError}
|
|
44
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
41
45
|
*
|
|
42
46
|
* @example
|
|
43
47
|
* await client.inbox.createOrUpdate({
|
|
@@ -87,6 +91,8 @@ export declare class InboxClient {
|
|
|
87
91
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
88
92
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
89
93
|
* @throws {@link MavenAGI.ServerError}
|
|
94
|
+
* @throws {@link errors.MavenAGIError}
|
|
95
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
90
96
|
*
|
|
91
97
|
* @example
|
|
92
98
|
* await client.inbox.patch("custom-item-1", {
|
|
@@ -112,6 +118,8 @@ export declare class InboxClient {
|
|
|
112
118
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
113
119
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
114
120
|
* @throws {@link MavenAGI.ServerError}
|
|
121
|
+
* @throws {@link errors.MavenAGIError}
|
|
122
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
115
123
|
*
|
|
116
124
|
* @example
|
|
117
125
|
* await client.inbox.applyTags("custom-item-1", {
|
|
@@ -132,6 +140,8 @@ export declare class InboxClient {
|
|
|
132
140
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
133
141
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
134
142
|
* @throws {@link MavenAGI.ServerError}
|
|
143
|
+
* @throws {@link errors.MavenAGIError}
|
|
144
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
135
145
|
*
|
|
136
146
|
* @example
|
|
137
147
|
* await client.inbox.get("inboxItemId", {
|
|
@@ -152,6 +162,8 @@ export declare class InboxClient {
|
|
|
152
162
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
153
163
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
154
164
|
* @throws {@link MavenAGI.ServerError}
|
|
165
|
+
* @throws {@link errors.MavenAGIError}
|
|
166
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
155
167
|
*
|
|
156
168
|
* @example
|
|
157
169
|
* await client.inbox.getFix("inboxItemFixId", {
|
|
@@ -172,6 +184,8 @@ export declare class InboxClient {
|
|
|
172
184
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
173
185
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
174
186
|
* @throws {@link MavenAGI.ServerError}
|
|
187
|
+
* @throws {@link errors.MavenAGIError}
|
|
188
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
175
189
|
*
|
|
176
190
|
* @example
|
|
177
191
|
* await client.inbox.applyFixes("inboxItemId", {
|
|
@@ -193,6 +207,8 @@ export declare class InboxClient {
|
|
|
193
207
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
194
208
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
195
209
|
* @throws {@link MavenAGI.ServerError}
|
|
210
|
+
* @throws {@link errors.MavenAGIError}
|
|
211
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
196
212
|
*
|
|
197
213
|
* @example
|
|
198
214
|
* await client.inbox.ignore("inboxItemId", {
|
|
@@ -47,6 +47,7 @@ exports.InboxClient = void 0;
|
|
|
47
47
|
const BaseClient_1 = require("../../../../BaseClient");
|
|
48
48
|
const core = __importStar(require("../../../../core"));
|
|
49
49
|
const headers_1 = require("../../../../core/headers");
|
|
50
|
+
const requestBody_1 = require("../../../../core/requestBody");
|
|
50
51
|
const environments = __importStar(require("../../../../environments"));
|
|
51
52
|
const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
|
|
52
53
|
const errors = __importStar(require("../../../../errors/index"));
|
|
@@ -67,6 +68,8 @@ class InboxClient {
|
|
|
67
68
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
68
69
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
69
70
|
* @throws {@link MavenAGI.ServerError}
|
|
71
|
+
* @throws {@link errors.MavenAGIError}
|
|
72
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
70
73
|
*
|
|
71
74
|
* @example
|
|
72
75
|
* await client.inbox.search({})
|
|
@@ -89,7 +92,7 @@ class InboxClient {
|
|
|
89
92
|
contentType: "application/json",
|
|
90
93
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
91
94
|
requestType: "json",
|
|
92
|
-
body: serializers.InboxSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
95
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.InboxSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
93
96
|
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
94
97
|
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
95
98
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -166,6 +169,8 @@ class InboxClient {
|
|
|
166
169
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
167
170
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
168
171
|
* @throws {@link MavenAGI.ServerError}
|
|
172
|
+
* @throws {@link errors.MavenAGIError}
|
|
173
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
169
174
|
*
|
|
170
175
|
* @example
|
|
171
176
|
* await client.inbox.createOrUpdate({
|
|
@@ -216,7 +221,7 @@ class InboxClient {
|
|
|
216
221
|
contentType: "application/json",
|
|
217
222
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
218
223
|
requestType: "json",
|
|
219
|
-
body: serializers.InboxItemCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
224
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.InboxItemCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
220
225
|
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
221
226
|
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
222
227
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -297,6 +302,8 @@ class InboxClient {
|
|
|
297
302
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
298
303
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
299
304
|
* @throws {@link MavenAGI.ServerError}
|
|
305
|
+
* @throws {@link errors.MavenAGIError}
|
|
306
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
300
307
|
*
|
|
301
308
|
* @example
|
|
302
309
|
* await client.inbox.patch("custom-item-1", {
|
|
@@ -324,7 +331,7 @@ class InboxClient {
|
|
|
324
331
|
contentType: "application/json",
|
|
325
332
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
326
333
|
requestType: "json",
|
|
327
|
-
body: serializers.InboxItemPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
334
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.InboxItemPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
328
335
|
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
329
336
|
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
330
337
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -404,6 +411,8 @@ class InboxClient {
|
|
|
404
411
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
405
412
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
406
413
|
* @throws {@link MavenAGI.ServerError}
|
|
414
|
+
* @throws {@link errors.MavenAGIError}
|
|
415
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
407
416
|
*
|
|
408
417
|
* @example
|
|
409
418
|
* await client.inbox.applyTags("custom-item-1", {
|
|
@@ -428,7 +437,7 @@ class InboxClient {
|
|
|
428
437
|
contentType: "application/json",
|
|
429
438
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
430
439
|
requestType: "json",
|
|
431
|
-
body: serializers.InboxItemApplyTagsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
440
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.InboxItemApplyTagsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
432
441
|
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
433
442
|
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
434
443
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -506,6 +515,8 @@ class InboxClient {
|
|
|
506
515
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
507
516
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
508
517
|
* @throws {@link MavenAGI.ServerError}
|
|
518
|
+
* @throws {@link errors.MavenAGIError}
|
|
519
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
509
520
|
*
|
|
510
521
|
* @example
|
|
511
522
|
* await client.inbox.get("inboxItemId", {
|
|
@@ -613,6 +624,8 @@ class InboxClient {
|
|
|
613
624
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
614
625
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
615
626
|
* @throws {@link MavenAGI.ServerError}
|
|
627
|
+
* @throws {@link errors.MavenAGIError}
|
|
628
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
616
629
|
*
|
|
617
630
|
* @example
|
|
618
631
|
* await client.inbox.getFix("inboxItemFixId", {
|
|
@@ -720,6 +733,8 @@ class InboxClient {
|
|
|
720
733
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
721
734
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
722
735
|
* @throws {@link MavenAGI.ServerError}
|
|
736
|
+
* @throws {@link errors.MavenAGIError}
|
|
737
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
723
738
|
*
|
|
724
739
|
* @example
|
|
725
740
|
* await client.inbox.applyFixes("inboxItemId", {
|
|
@@ -745,7 +760,7 @@ class InboxClient {
|
|
|
745
760
|
contentType: "application/json",
|
|
746
761
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
747
762
|
requestType: "json",
|
|
748
|
-
body: serializers.ApplyFixesRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
763
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.ApplyFixesRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
749
764
|
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
750
765
|
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
751
766
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -815,6 +830,8 @@ class InboxClient {
|
|
|
815
830
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
816
831
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
817
832
|
* @throws {@link MavenAGI.ServerError}
|
|
833
|
+
* @throws {@link errors.MavenAGIError}
|
|
834
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
818
835
|
*
|
|
819
836
|
* @example
|
|
820
837
|
* await client.inbox.ignore("inboxItemId", {
|
package/api/resources/index.d.ts
CHANGED
|
@@ -14,7 +14,11 @@ export * from "./appSettings/client/requests";
|
|
|
14
14
|
export * from "./appSettings/types";
|
|
15
15
|
export * as assets from "./assets";
|
|
16
16
|
export * from "./assets/types";
|
|
17
|
+
export * as capabilities from "./capabilities";
|
|
18
|
+
export * from "./capabilities/client/requests";
|
|
19
|
+
export * from "./capabilities/types";
|
|
17
20
|
export * as charters from "./charters";
|
|
21
|
+
export * from "./charters/client/requests";
|
|
18
22
|
export * from "./charters/types";
|
|
19
23
|
export * as commons from "./commons";
|
|
20
24
|
export * from "./commons/errors";
|
|
@@ -22,6 +26,9 @@ export * from "./commons/types";
|
|
|
22
26
|
export * as conversation from "./conversation";
|
|
23
27
|
export * from "./conversation/client/requests";
|
|
24
28
|
export * from "./conversation/types";
|
|
29
|
+
export * as conversationKickoffs from "./conversationKickoffs";
|
|
30
|
+
export * from "./conversationKickoffs/client/requests";
|
|
31
|
+
export * from "./conversationKickoffs/types";
|
|
25
32
|
export * as customers from "./customers";
|
|
26
33
|
export * from "./customers/client/requests";
|
|
27
34
|
export * from "./customers/types";
|
package/api/resources/index.js
CHANGED
|
@@ -36,7 +36,7 @@ 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.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.intelligentFields = exports.integrations = exports.inbox = exports.events = exports.developersCommons = exports.customers = exports.conversation = exports.commons = exports.charters = exports.assets = exports.appSettings = exports.appDirectory = exports.analytics = exports.agents = exports.actions = void 0;
|
|
39
|
+
exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.intelligentFields = exports.integrations = exports.inbox = exports.events = exports.developersCommons = exports.customers = exports.conversationKickoffs = exports.conversation = exports.commons = exports.charters = exports.capabilities = exports.assets = exports.appSettings = exports.appDirectory = exports.analytics = exports.agents = exports.actions = void 0;
|
|
40
40
|
exports.actions = __importStar(require("./actions"));
|
|
41
41
|
__exportStar(require("./actions/client/requests"), exports);
|
|
42
42
|
__exportStar(require("./actions/types"), exports);
|
|
@@ -53,7 +53,11 @@ __exportStar(require("./appSettings/client/requests"), exports);
|
|
|
53
53
|
__exportStar(require("./appSettings/types"), exports);
|
|
54
54
|
exports.assets = __importStar(require("./assets"));
|
|
55
55
|
__exportStar(require("./assets/types"), exports);
|
|
56
|
+
exports.capabilities = __importStar(require("./capabilities"));
|
|
57
|
+
__exportStar(require("./capabilities/client/requests"), exports);
|
|
58
|
+
__exportStar(require("./capabilities/types"), exports);
|
|
56
59
|
exports.charters = __importStar(require("./charters"));
|
|
60
|
+
__exportStar(require("./charters/client/requests"), exports);
|
|
57
61
|
__exportStar(require("./charters/types"), exports);
|
|
58
62
|
exports.commons = __importStar(require("./commons"));
|
|
59
63
|
__exportStar(require("./commons/errors"), exports);
|
|
@@ -61,6 +65,9 @@ __exportStar(require("./commons/types"), exports);
|
|
|
61
65
|
exports.conversation = __importStar(require("./conversation"));
|
|
62
66
|
__exportStar(require("./conversation/client/requests"), exports);
|
|
63
67
|
__exportStar(require("./conversation/types"), exports);
|
|
68
|
+
exports.conversationKickoffs = __importStar(require("./conversationKickoffs"));
|
|
69
|
+
__exportStar(require("./conversationKickoffs/client/requests"), exports);
|
|
70
|
+
__exportStar(require("./conversationKickoffs/types"), exports);
|
|
64
71
|
exports.customers = __importStar(require("./customers"));
|
|
65
72
|
__exportStar(require("./customers/client/requests"), exports);
|
|
66
73
|
__exportStar(require("./customers/types"), exports);
|
|
@@ -23,6 +23,8 @@ export declare class IntegrationsClient {
|
|
|
23
23
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
24
24
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
25
25
|
* @throws {@link MavenAGI.ServerError}
|
|
26
|
+
* @throws {@link errors.MavenAGIError}
|
|
27
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
26
28
|
*
|
|
27
29
|
* @example
|
|
28
30
|
* await client.integrations.update("organizationId", "integrationId", {})
|
|
@@ -47,6 +47,7 @@ exports.IntegrationsClient = void 0;
|
|
|
47
47
|
const BaseClient_1 = require("../../../../BaseClient");
|
|
48
48
|
const core = __importStar(require("../../../../core"));
|
|
49
49
|
const headers_1 = require("../../../../core/headers");
|
|
50
|
+
const requestBody_1 = require("../../../../core/requestBody");
|
|
50
51
|
const environments = __importStar(require("../../../../environments"));
|
|
51
52
|
const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
|
|
52
53
|
const errors = __importStar(require("../../../../errors/index"));
|
|
@@ -69,6 +70,8 @@ class IntegrationsClient {
|
|
|
69
70
|
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
70
71
|
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
71
72
|
* @throws {@link MavenAGI.ServerError}
|
|
73
|
+
* @throws {@link errors.MavenAGIError}
|
|
74
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
72
75
|
*
|
|
73
76
|
* @example
|
|
74
77
|
* await client.integrations.update("organizationId", "integrationId", {})
|
|
@@ -91,7 +94,7 @@ class IntegrationsClient {
|
|
|
91
94
|
contentType: "application/json",
|
|
92
95
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
93
96
|
requestType: "json",
|
|
94
|
-
body: serializers.UpdateIntegrationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
97
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.UpdateIntegrationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
95
98
|
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
96
99
|
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
97
100
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|