mavenagi 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +6 -0
- package/Client.js +28 -18
- package/README.md +8 -8
- package/api/resources/actions/client/Client.d.ts +34 -1
- package/api/resources/actions/client/Client.js +199 -4
- package/api/resources/actions/client/index.d.ts +1 -0
- package/api/resources/actions/client/index.js +15 -0
- package/api/resources/actions/client/requests/ActionGetRequest.d.ts +13 -0
- package/api/resources/actions/client/requests/index.d.ts +1 -0
- package/api/resources/actions/client/requests/index.js +2 -0
- package/api/resources/actions/types/ActionField.d.ts +11 -0
- package/api/resources/actions/types/ActionField.js +13 -0
- package/api/resources/actions/types/ActionFilter.d.ts +14 -0
- package/api/resources/actions/types/ActionPatchRequest.d.ts +12 -0
- package/api/resources/actions/types/ActionsResponse.d.ts +8 -0
- package/api/resources/actions/types/ActionsSearchRequest.d.ts +8 -0
- package/api/resources/actions/types/index.d.ts +5 -0
- package/api/resources/actions/types/index.js +5 -0
- package/api/resources/agents/client/Client.d.ts +66 -0
- package/api/resources/agents/client/Client.js +289 -0
- package/api/resources/agents/types/Agent.d.ts +10 -0
- package/api/resources/agents/types/AgentPatchRequest.d.ts +12 -0
- package/api/resources/agents/types/CreateAgentRequest.d.ts +10 -0
- package/api/resources/agents/types/PiiCategory.d.ts +63 -0
- package/api/resources/agents/types/PiiCategory.js +65 -0
- package/api/resources/agents/types/index.d.ts +3 -0
- package/api/resources/agents/types/index.js +3 -0
- package/api/resources/assets/client/Client.d.ts +76 -0
- package/api/resources/assets/client/Client.js +257 -0
- package/api/resources/assets/client/index.d.ts +1 -0
- package/api/resources/assets/client/index.js +2 -0
- package/api/resources/assets/index.d.ts +2 -0
- package/api/resources/assets/index.js +18 -0
- package/api/resources/assets/types/CommitAssetUploadRequest.d.ts +7 -0
- package/api/resources/assets/types/InitiateAssetUploadRequest.d.ts +6 -0
- package/api/resources/assets/types/InitiateAssetUploadResponse.d.ts +12 -0
- package/api/resources/assets/types/index.d.ts +3 -0
- package/api/resources/assets/types/index.js +19 -0
- package/api/resources/commons/types/ActionResponse.d.ts +27 -1
- package/api/resources/commons/types/AttachmentRequest.d.ts +22 -0
- package/api/resources/commons/types/AttachmentResponse.d.ts +12 -0
- package/api/resources/commons/types/AttachmentStatus.d.ts +10 -0
- package/api/resources/commons/types/AttachmentStatus.js +12 -0
- package/api/resources/commons/types/BaseAttachment.d.ts +32 -0
- package/api/resources/commons/types/BaseConversationResponse.d.ts +11 -0
- package/api/resources/commons/types/BotLogic.d.ts +7 -0
- package/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +9 -0
- package/api/resources/commons/types/BotLogicActionItem.d.ts +8 -0
- package/api/resources/commons/types/BotLogicActionReviewedDetail.d.ts +8 -0
- package/api/resources/commons/types/BotLogicActionReviewedDetail.js +5 -0
- package/api/resources/commons/types/BotLogicFormSubmissionItem.d.ts +6 -0
- package/api/resources/commons/types/BotLogicFormSubmissionItem.js +5 -0
- package/api/resources/commons/types/BotLogicItem.d.ts +25 -0
- package/api/resources/commons/types/BotLogicItem.js +5 -0
- package/api/resources/commons/types/{KnowledgeBaseInformation.d.ts → BotLogicKnowledgeDetail.d.ts} +4 -2
- package/api/resources/commons/types/BotLogicKnowledgeDetail.js +5 -0
- package/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +8 -0
- package/api/resources/commons/types/BotLogicKnowledgeItem.js +5 -0
- package/api/resources/commons/types/BotLogicSafetyItem.d.ts +6 -0
- package/api/resources/commons/types/BotLogicSafetyItem.js +5 -0
- package/api/resources/commons/types/BotLogicSegmentsItem.d.ts +7 -0
- package/api/resources/commons/types/BotLogicSegmentsItem.js +5 -0
- package/api/resources/commons/types/BotLogicUserItem.d.ts +6 -0
- package/api/resources/commons/types/BotLogicUserItem.js +5 -0
- package/api/resources/commons/types/BotMessage.d.ts +3 -1
- package/api/resources/commons/types/Capability.d.ts +2 -1
- package/api/resources/commons/types/Capability.js +1 -0
- package/api/resources/commons/types/ConversationResponse.d.ts +14 -2
- package/api/resources/commons/types/DocumentInformation.d.ts +2 -0
- package/api/resources/commons/types/EntityType.d.ts +2 -1
- package/api/resources/commons/types/EntityType.js +1 -0
- package/api/resources/commons/types/InboxItem.d.ts +1 -7
- package/api/resources/commons/types/InboxItemBase.d.ts +2 -0
- package/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
- package/api/resources/commons/types/InboxItemFix.d.ts +1 -4
- package/api/resources/commons/types/InboxItemSeverity.d.ts +9 -0
- package/api/resources/commons/types/InboxItemSeverity.js +11 -0
- package/api/resources/commons/types/InboxItemType.d.ts +1 -9
- package/api/resources/commons/types/InboxItemType.js +0 -2
- package/api/resources/commons/types/LlmInclusionStatus.d.ts +9 -0
- package/api/resources/commons/types/LlmInclusionStatus.js +11 -0
- package/api/resources/commons/types/{BotMessageStatus.d.ts → MessageStatus.d.ts} +3 -3
- package/{dist/api/resources/commons/types/BotMessageStatus.js → api/resources/commons/types/MessageStatus.js} +2 -2
- package/api/resources/commons/types/ResponseConfig.d.ts +6 -8
- package/api/resources/commons/types/UserMessage.d.ts +21 -1
- package/api/resources/commons/types/UserMessageResponseState.d.ts +9 -0
- package/api/resources/commons/types/UserMessageResponseState.js +11 -0
- package/api/resources/commons/types/index.d.ts +19 -7
- package/api/resources/commons/types/index.js +19 -7
- package/api/resources/conversation/client/Client.d.ts +75 -0
- package/api/resources/conversation/client/Client.js +320 -0
- package/api/resources/conversation/types/AskObjectRequest.d.ts +8 -0
- package/api/resources/conversation/types/AskObjectRequest.js +5 -0
- package/api/resources/conversation/types/AskRequest.d.ts +5 -2
- package/api/resources/conversation/types/ConversationField.d.ts +5 -1
- package/api/resources/conversation/types/ConversationField.js +4 -0
- package/api/resources/conversation/types/ConversationFilter.d.ts +23 -1
- package/api/resources/conversation/types/ConversationMessageRequest.d.ts +1 -1
- package/api/resources/conversation/types/ConversationPatchRequest.d.ts +20 -0
- package/api/resources/conversation/types/ConversationPatchRequest.js +5 -0
- package/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +10 -0
- package/api/resources/conversation/types/DeliverConversationMessageRequest.js +5 -0
- package/api/resources/conversation/types/DeliverMessageRequest.d.ts +13 -0
- package/api/resources/conversation/types/DeliverMessageRequest.js +5 -0
- package/api/resources/conversation/types/DeliverMessageResponse.d.ts +7 -0
- package/api/resources/conversation/types/DeliverMessageResponse.js +5 -0
- package/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +10 -0
- package/api/resources/conversation/types/DeliverUserMessageRequest.js +5 -0
- package/api/resources/conversation/types/DeliveryStatus.d.ts +9 -0
- package/api/resources/{commons/types/InboxItemFixType.js → conversation/types/DeliveryStatus.js} +5 -4
- package/api/resources/conversation/types/NumericConversationField.d.ts +2 -1
- package/api/resources/conversation/types/NumericConversationField.js +1 -0
- package/api/resources/conversation/types/ObjectStreamResponse.d.ts +16 -0
- package/api/resources/conversation/types/ObjectStreamResponse.js +5 -0
- package/api/resources/conversation/types/index.d.ts +8 -1
- package/api/resources/conversation/types/index.js +8 -1
- package/api/resources/inbox/client/Client.d.ts +10 -13
- package/api/resources/inbox/client/Client.js +17 -25
- package/api/resources/inbox/client/requests/InboxItemFixRequest.d.ts +1 -7
- package/api/resources/inbox/client/requests/InboxItemIgnoreRequest.d.ts +1 -7
- package/api/resources/inbox/client/requests/InboxItemRequest.d.ts +1 -7
- package/api/resources/inbox/types/AddDocumentFixRequest.d.ts +4 -1
- package/api/resources/inbox/types/ApplyFixesRequest.d.ts +12 -0
- package/api/resources/inbox/types/ApplyFixesRequest.js +5 -0
- package/api/resources/inbox/types/InboxFilter.d.ts +14 -0
- package/api/resources/inbox/types/InboxFilter.js +5 -0
- package/api/resources/inbox/types/InboxSearchRequest.d.ts +2 -13
- package/api/resources/inbox/types/InboxSearchResponse.d.ts +1 -1
- package/api/resources/inbox/types/index.d.ts +2 -2
- package/api/resources/inbox/types/index.js +2 -2
- package/api/resources/index.d.ts +9 -1
- package/api/resources/index.js +10 -2
- package/api/resources/knowledge/client/Client.d.ts +51 -1
- package/api/resources/knowledge/client/Client.js +294 -4
- package/api/resources/knowledge/client/index.d.ts +1 -0
- package/api/resources/knowledge/client/index.js +15 -0
- package/api/resources/knowledge/client/requests/KnowledgeBaseGetRequest.d.ts +13 -0
- package/api/resources/knowledge/client/requests/KnowledgeBaseGetRequest.js +5 -0
- package/api/resources/knowledge/client/requests/index.d.ts +1 -0
- package/api/resources/knowledge/client/requests/index.js +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseField.d.ts +8 -0
- package/api/resources/knowledge/types/KnowledgeBaseField.js +10 -0
- package/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +26 -0
- package/api/resources/knowledge/types/KnowledgeBaseFilter.js +5 -0
- package/api/resources/knowledge/types/KnowledgeBasePatchRequest.d.ts +16 -0
- package/api/resources/knowledge/types/KnowledgeBasePatchRequest.js +5 -0
- package/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +10 -0
- package/api/resources/knowledge/types/KnowledgeBaseRefreshFrequency.js +12 -0
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +15 -1
- package/api/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +8 -0
- package/api/resources/knowledge/types/KnowledgeBaseSearchRequest.js +5 -0
- package/api/resources/knowledge/types/KnowledgeBasesResponse.d.ts +8 -0
- package/api/resources/knowledge/types/KnowledgeBasesResponse.js +5 -0
- package/api/resources/knowledge/types/KnowledgeDocumentField.d.ts +10 -0
- package/api/resources/knowledge/types/KnowledgeDocumentField.js +12 -0
- package/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +26 -0
- package/api/resources/knowledge/types/KnowledgeDocumentFilter.js +5 -0
- package/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +8 -0
- package/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.js +5 -0
- package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +10 -0
- package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +5 -0
- package/api/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +8 -0
- package/api/resources/knowledge/types/KnowledgeDocumentsResponse.js +5 -0
- package/api/resources/knowledge/types/index.d.ts +11 -0
- package/api/resources/knowledge/types/index.js +11 -0
- package/api/resources/segments/client/Client.d.ts +120 -0
- package/api/resources/segments/client/Client.js +468 -0
- package/api/resources/segments/client/index.d.ts +2 -0
- package/api/resources/segments/client/index.js +17 -0
- package/api/resources/segments/client/requests/SegmentGetRequest.d.ts +13 -0
- package/api/resources/segments/client/requests/SegmentGetRequest.js +5 -0
- package/api/resources/segments/client/requests/index.d.ts +1 -0
- package/api/resources/segments/client/requests/index.js +2 -0
- package/api/resources/segments/index.d.ts +2 -0
- package/api/resources/segments/index.js +18 -0
- package/api/resources/segments/types/SegmentBase.d.ts +10 -0
- package/api/resources/segments/types/SegmentBase.js +5 -0
- package/api/resources/segments/types/SegmentField.d.ts +8 -0
- package/api/resources/segments/types/SegmentField.js +10 -0
- package/api/resources/segments/types/SegmentPatchRequest.d.ts +14 -0
- package/api/resources/segments/types/SegmentPatchRequest.js +5 -0
- package/api/resources/segments/types/SegmentRequest.d.ts +28 -0
- package/api/resources/segments/types/SegmentRequest.js +5 -0
- package/api/resources/segments/types/SegmentResponse.d.ts +39 -0
- package/api/resources/segments/types/SegmentResponse.js +5 -0
- package/api/resources/segments/types/SegmentStatus.d.ts +8 -0
- package/api/resources/segments/types/SegmentStatus.js +10 -0
- package/api/resources/segments/types/SegmentsSearchRequest.d.ts +8 -0
- package/api/resources/segments/types/SegmentsSearchRequest.js +5 -0
- package/api/resources/segments/types/SegmentsSearchResponse.d.ts +7 -0
- package/api/resources/segments/types/SegmentsSearchResponse.js +5 -0
- package/api/resources/segments/types/index.d.ts +8 -0
- package/api/resources/segments/types/index.js +24 -0
- package/api/resources/users/client/Client.d.ts +38 -4
- package/api/resources/users/client/Client.js +191 -4
- package/api/resources/users/client/requests/UserDeleteRequest.d.ts +1 -1
- package/api/resources/users/client/requests/UserGetRequest.d.ts +1 -1
- package/api/resources/users/index.d.ts +1 -0
- package/api/resources/users/index.js +1 -0
- package/api/resources/users/types/AgentUser.d.ts +24 -0
- package/api/resources/users/types/AgentUser.js +5 -0
- package/api/resources/users/types/AgentUserField.d.ts +8 -0
- package/api/resources/users/types/AgentUserField.js +10 -0
- package/api/resources/users/types/AgentUserFilter.d.ts +12 -0
- package/api/resources/users/types/AgentUserFilter.js +5 -0
- package/api/resources/users/types/AgentUserSearchRequest.d.ts +8 -0
- package/api/resources/users/types/AgentUserSearchRequest.js +5 -0
- package/api/resources/users/types/AgentUserSearchResponse.d.ts +8 -0
- package/api/resources/users/types/AgentUserSearchResponse.js +5 -0
- package/api/resources/users/types/AppUserSummary.d.ts +12 -0
- package/api/resources/users/types/AppUserSummary.js +5 -0
- package/api/resources/users/types/index.d.ts +6 -0
- package/api/resources/users/types/index.js +22 -0
- package/dist/Client.d.ts +6 -0
- package/dist/Client.js +28 -18
- package/dist/api/resources/actions/client/Client.d.ts +34 -1
- package/dist/api/resources/actions/client/Client.js +199 -4
- package/dist/api/resources/actions/client/index.d.ts +1 -0
- package/dist/api/resources/actions/client/index.js +15 -0
- package/dist/api/resources/actions/client/requests/ActionGetRequest.d.ts +13 -0
- package/dist/api/resources/actions/client/requests/ActionGetRequest.js +5 -0
- package/dist/api/resources/actions/client/requests/index.d.ts +1 -0
- package/dist/api/resources/actions/client/requests/index.js +2 -0
- package/dist/api/resources/actions/types/ActionField.d.ts +11 -0
- package/dist/api/resources/actions/types/ActionField.js +13 -0
- package/dist/api/resources/actions/types/ActionFilter.d.ts +14 -0
- package/dist/api/resources/actions/types/ActionFilter.js +5 -0
- package/dist/api/resources/actions/types/ActionPatchRequest.d.ts +12 -0
- package/dist/api/resources/actions/types/ActionPatchRequest.js +5 -0
- package/dist/api/resources/actions/types/ActionsResponse.d.ts +8 -0
- package/dist/api/resources/actions/types/ActionsResponse.js +5 -0
- package/dist/api/resources/actions/types/ActionsSearchRequest.d.ts +8 -0
- package/dist/api/resources/actions/types/ActionsSearchRequest.js +5 -0
- package/dist/api/resources/actions/types/index.d.ts +5 -0
- package/dist/api/resources/actions/types/index.js +5 -0
- package/dist/api/resources/agents/client/Client.d.ts +66 -0
- package/dist/api/resources/agents/client/Client.js +289 -0
- package/dist/api/resources/agents/types/Agent.d.ts +10 -0
- package/dist/api/resources/agents/types/AgentPatchRequest.d.ts +12 -0
- package/dist/api/resources/agents/types/AgentPatchRequest.js +5 -0
- package/dist/api/resources/agents/types/CreateAgentRequest.d.ts +10 -0
- package/dist/api/resources/agents/types/CreateAgentRequest.js +5 -0
- package/dist/api/resources/agents/types/PiiCategory.d.ts +63 -0
- package/dist/api/resources/agents/types/PiiCategory.js +65 -0
- package/dist/api/resources/agents/types/index.d.ts +3 -0
- package/dist/api/resources/agents/types/index.js +3 -0
- package/dist/api/resources/assets/client/Client.d.ts +76 -0
- package/dist/api/resources/assets/client/Client.js +257 -0
- package/dist/api/resources/assets/client/index.d.ts +1 -0
- package/dist/api/resources/assets/client/index.js +2 -0
- package/dist/api/resources/assets/index.d.ts +2 -0
- package/dist/api/resources/assets/index.js +18 -0
- package/dist/api/resources/assets/types/CommitAssetUploadRequest.d.ts +7 -0
- package/dist/api/resources/assets/types/CommitAssetUploadRequest.js +5 -0
- package/dist/api/resources/assets/types/InitiateAssetUploadRequest.d.ts +6 -0
- package/dist/api/resources/assets/types/InitiateAssetUploadRequest.js +5 -0
- package/dist/api/resources/assets/types/InitiateAssetUploadResponse.d.ts +12 -0
- package/dist/api/resources/assets/types/InitiateAssetUploadResponse.js +5 -0
- package/dist/api/resources/assets/types/index.d.ts +3 -0
- package/dist/api/resources/assets/types/index.js +19 -0
- package/dist/api/resources/commons/types/ActionResponse.d.ts +27 -1
- package/dist/api/resources/commons/types/AttachmentRequest.d.ts +22 -0
- package/dist/api/resources/commons/types/AttachmentRequest.js +5 -0
- package/dist/api/resources/commons/types/AttachmentResponse.d.ts +12 -0
- package/dist/api/resources/commons/types/AttachmentResponse.js +5 -0
- package/dist/api/resources/commons/types/AttachmentStatus.d.ts +10 -0
- package/dist/api/resources/commons/types/AttachmentStatus.js +12 -0
- package/dist/api/resources/commons/types/BaseAttachment.d.ts +32 -0
- package/dist/api/resources/commons/types/BaseAttachment.js +5 -0
- package/dist/api/resources/commons/types/BaseConversationResponse.d.ts +11 -0
- package/dist/api/resources/commons/types/BotLogic.d.ts +7 -0
- package/dist/api/resources/commons/types/BotLogic.js +5 -0
- package/dist/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +9 -0
- package/dist/api/resources/commons/types/BotLogicActionExecutedDetail.js +5 -0
- package/dist/api/resources/commons/types/BotLogicActionItem.d.ts +8 -0
- package/dist/api/resources/commons/types/BotLogicActionItem.js +5 -0
- package/dist/api/resources/commons/types/BotLogicActionReviewedDetail.d.ts +8 -0
- package/dist/api/resources/commons/types/BotLogicActionReviewedDetail.js +5 -0
- package/dist/api/resources/commons/types/BotLogicFormSubmissionItem.d.ts +6 -0
- package/dist/api/resources/commons/types/BotLogicFormSubmissionItem.js +5 -0
- package/dist/api/resources/commons/types/BotLogicItem.d.ts +25 -0
- package/dist/api/resources/commons/types/BotLogicItem.js +5 -0
- package/dist/api/resources/commons/types/{KnowledgeBaseInformation.d.ts → BotLogicKnowledgeDetail.d.ts} +4 -2
- package/dist/api/resources/commons/types/BotLogicKnowledgeDetail.js +5 -0
- package/dist/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +8 -0
- package/dist/api/resources/commons/types/BotLogicKnowledgeItem.js +5 -0
- package/dist/api/resources/commons/types/BotLogicSafetyItem.d.ts +6 -0
- package/dist/api/resources/commons/types/BotLogicSafetyItem.js +5 -0
- package/dist/api/resources/commons/types/BotLogicSegmentsItem.d.ts +7 -0
- package/dist/api/resources/commons/types/BotLogicSegmentsItem.js +5 -0
- package/dist/api/resources/commons/types/BotLogicUserItem.d.ts +6 -0
- package/dist/api/resources/commons/types/BotLogicUserItem.js +5 -0
- package/dist/api/resources/commons/types/BotMessage.d.ts +3 -1
- package/dist/api/resources/commons/types/Capability.d.ts +2 -1
- package/dist/api/resources/commons/types/Capability.js +1 -0
- package/dist/api/resources/commons/types/ConversationResponse.d.ts +14 -2
- package/dist/api/resources/commons/types/DocumentInformation.d.ts +2 -0
- package/dist/api/resources/commons/types/EntityType.d.ts +2 -1
- package/dist/api/resources/commons/types/EntityType.js +1 -0
- package/dist/api/resources/commons/types/InboxItem.d.ts +1 -7
- package/dist/api/resources/commons/types/InboxItemBase.d.ts +2 -0
- package/dist/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
- package/dist/api/resources/commons/types/InboxItemFix.d.ts +1 -4
- package/dist/api/resources/commons/types/InboxItemSeverity.d.ts +9 -0
- package/dist/api/resources/commons/types/InboxItemSeverity.js +11 -0
- package/dist/api/resources/commons/types/InboxItemType.d.ts +1 -9
- package/dist/api/resources/commons/types/InboxItemType.js +0 -2
- package/dist/api/resources/commons/types/LlmInclusionStatus.d.ts +9 -0
- package/dist/api/resources/commons/types/LlmInclusionStatus.js +11 -0
- package/dist/api/resources/commons/types/{BotMessageStatus.d.ts → MessageStatus.d.ts} +3 -3
- package/{api/resources/commons/types/BotMessageStatus.js → dist/api/resources/commons/types/MessageStatus.js} +2 -2
- package/dist/api/resources/commons/types/ResponseConfig.d.ts +6 -8
- package/dist/api/resources/commons/types/UserMessage.d.ts +21 -1
- package/dist/api/resources/commons/types/UserMessageResponseState.d.ts +9 -0
- package/dist/api/resources/commons/types/UserMessageResponseState.js +11 -0
- package/dist/api/resources/commons/types/index.d.ts +19 -7
- package/dist/api/resources/commons/types/index.js +19 -7
- package/dist/api/resources/conversation/client/Client.d.ts +75 -0
- package/dist/api/resources/conversation/client/Client.js +320 -0
- package/dist/api/resources/conversation/types/AskObjectRequest.d.ts +8 -0
- package/dist/api/resources/conversation/types/AskObjectRequest.js +5 -0
- package/dist/api/resources/conversation/types/AskRequest.d.ts +5 -2
- package/dist/api/resources/conversation/types/ConversationField.d.ts +5 -1
- package/dist/api/resources/conversation/types/ConversationField.js +4 -0
- package/dist/api/resources/conversation/types/ConversationFilter.d.ts +23 -1
- package/dist/api/resources/conversation/types/ConversationMessageRequest.d.ts +1 -1
- package/dist/api/resources/conversation/types/ConversationPatchRequest.d.ts +20 -0
- package/dist/api/resources/conversation/types/ConversationPatchRequest.js +5 -0
- package/dist/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +10 -0
- package/dist/api/resources/conversation/types/DeliverConversationMessageRequest.js +5 -0
- package/dist/api/resources/conversation/types/DeliverMessageRequest.d.ts +13 -0
- package/dist/api/resources/conversation/types/DeliverMessageRequest.js +5 -0
- package/dist/api/resources/conversation/types/DeliverMessageResponse.d.ts +7 -0
- package/dist/api/resources/conversation/types/DeliverMessageResponse.js +5 -0
- package/dist/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +10 -0
- package/dist/api/resources/conversation/types/DeliverUserMessageRequest.js +5 -0
- package/dist/api/resources/conversation/types/DeliveryStatus.d.ts +9 -0
- package/dist/api/resources/{commons/types/InboxItemFixType.js → conversation/types/DeliveryStatus.js} +5 -4
- package/dist/api/resources/conversation/types/NumericConversationField.d.ts +2 -1
- package/dist/api/resources/conversation/types/NumericConversationField.js +1 -0
- package/dist/api/resources/conversation/types/ObjectStreamResponse.d.ts +16 -0
- package/dist/api/resources/conversation/types/ObjectStreamResponse.js +5 -0
- package/dist/api/resources/conversation/types/index.d.ts +8 -1
- package/dist/api/resources/conversation/types/index.js +8 -1
- package/dist/api/resources/inbox/client/Client.d.ts +10 -13
- package/dist/api/resources/inbox/client/Client.js +17 -25
- package/dist/api/resources/inbox/client/requests/InboxItemFixRequest.d.ts +1 -7
- package/dist/api/resources/inbox/client/requests/InboxItemIgnoreRequest.d.ts +1 -7
- package/dist/api/resources/inbox/client/requests/InboxItemRequest.d.ts +1 -7
- package/dist/api/resources/inbox/types/AddDocumentFixRequest.d.ts +4 -1
- package/dist/api/resources/inbox/types/ApplyFixesRequest.d.ts +12 -0
- package/dist/api/resources/inbox/types/ApplyFixesRequest.js +5 -0
- package/dist/api/resources/inbox/types/InboxFilter.d.ts +14 -0
- package/dist/api/resources/inbox/types/InboxFilter.js +5 -0
- package/dist/api/resources/inbox/types/InboxSearchRequest.d.ts +2 -13
- package/dist/api/resources/inbox/types/InboxSearchResponse.d.ts +1 -1
- package/dist/api/resources/inbox/types/index.d.ts +2 -2
- package/dist/api/resources/inbox/types/index.js +2 -2
- package/dist/api/resources/index.d.ts +9 -1
- package/dist/api/resources/index.js +10 -2
- package/dist/api/resources/knowledge/client/Client.d.ts +51 -1
- package/dist/api/resources/knowledge/client/Client.js +294 -4
- package/dist/api/resources/knowledge/client/index.d.ts +1 -0
- package/dist/api/resources/knowledge/client/index.js +15 -0
- package/dist/api/resources/knowledge/client/requests/KnowledgeBaseGetRequest.d.ts +13 -0
- package/dist/api/resources/knowledge/client/requests/KnowledgeBaseGetRequest.js +5 -0
- package/dist/api/resources/knowledge/client/requests/index.d.ts +1 -0
- package/dist/api/resources/knowledge/client/requests/index.js +2 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseField.d.ts +8 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseField.js +10 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +26 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseFilter.js +5 -0
- package/dist/api/resources/knowledge/types/KnowledgeBasePatchRequest.d.ts +16 -0
- package/dist/api/resources/knowledge/types/KnowledgeBasePatchRequest.js +5 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +10 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseRefreshFrequency.js +12 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +15 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +8 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseSearchRequest.js +5 -0
- package/dist/api/resources/knowledge/types/KnowledgeBasesResponse.d.ts +8 -0
- package/dist/api/resources/knowledge/types/KnowledgeBasesResponse.js +5 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentField.d.ts +10 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentField.js +12 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +26 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentFilter.js +5 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +8 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.js +5 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +10 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +5 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +8 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentsResponse.js +5 -0
- package/dist/api/resources/knowledge/types/index.d.ts +11 -0
- package/dist/api/resources/knowledge/types/index.js +11 -0
- package/dist/api/resources/segments/client/Client.d.ts +120 -0
- package/dist/api/resources/segments/client/Client.js +468 -0
- package/dist/api/resources/segments/client/index.d.ts +2 -0
- package/dist/api/resources/segments/client/index.js +17 -0
- package/dist/api/resources/segments/client/requests/SegmentGetRequest.d.ts +13 -0
- package/dist/api/resources/segments/client/requests/SegmentGetRequest.js +5 -0
- package/dist/api/resources/segments/client/requests/index.d.ts +1 -0
- package/dist/api/resources/segments/client/requests/index.js +2 -0
- package/dist/api/resources/segments/index.d.ts +2 -0
- package/dist/api/resources/segments/index.js +18 -0
- package/dist/api/resources/segments/types/SegmentBase.d.ts +10 -0
- package/dist/api/resources/segments/types/SegmentBase.js +5 -0
- package/dist/api/resources/segments/types/SegmentField.d.ts +8 -0
- package/dist/api/resources/segments/types/SegmentField.js +10 -0
- package/dist/api/resources/segments/types/SegmentPatchRequest.d.ts +14 -0
- package/dist/api/resources/segments/types/SegmentPatchRequest.js +5 -0
- package/dist/api/resources/segments/types/SegmentRequest.d.ts +28 -0
- package/dist/api/resources/segments/types/SegmentRequest.js +5 -0
- package/dist/api/resources/segments/types/SegmentResponse.d.ts +39 -0
- package/dist/api/resources/segments/types/SegmentResponse.js +5 -0
- package/dist/api/resources/segments/types/SegmentStatus.d.ts +8 -0
- package/dist/api/resources/segments/types/SegmentStatus.js +10 -0
- package/dist/api/resources/segments/types/SegmentsSearchRequest.d.ts +8 -0
- package/dist/api/resources/segments/types/SegmentsSearchRequest.js +5 -0
- package/dist/api/resources/segments/types/SegmentsSearchResponse.d.ts +7 -0
- package/dist/api/resources/segments/types/SegmentsSearchResponse.js +5 -0
- package/dist/api/resources/segments/types/index.d.ts +8 -0
- package/dist/api/resources/segments/types/index.js +24 -0
- package/dist/api/resources/users/client/Client.d.ts +38 -4
- package/dist/api/resources/users/client/Client.js +191 -4
- package/dist/api/resources/users/client/requests/UserDeleteRequest.d.ts +1 -1
- package/dist/api/resources/users/client/requests/UserGetRequest.d.ts +1 -1
- package/dist/api/resources/users/index.d.ts +1 -0
- package/dist/api/resources/users/index.js +1 -0
- package/dist/api/resources/users/types/AgentUser.d.ts +24 -0
- package/dist/api/resources/users/types/AgentUser.js +5 -0
- package/dist/api/resources/users/types/AgentUserField.d.ts +8 -0
- package/dist/api/resources/users/types/AgentUserField.js +10 -0
- package/dist/api/resources/users/types/AgentUserFilter.d.ts +12 -0
- package/dist/api/resources/users/types/AgentUserFilter.js +5 -0
- package/dist/api/resources/users/types/AgentUserSearchRequest.d.ts +8 -0
- package/dist/api/resources/users/types/AgentUserSearchRequest.js +5 -0
- package/dist/api/resources/users/types/AgentUserSearchResponse.d.ts +8 -0
- package/dist/api/resources/users/types/AgentUserSearchResponse.js +5 -0
- package/dist/api/resources/users/types/AppUserSummary.d.ts +12 -0
- package/dist/api/resources/users/types/AppUserSummary.js +5 -0
- package/dist/api/resources/users/types/index.d.ts +6 -0
- package/dist/api/resources/users/types/index.js +22 -0
- package/dist/serialization/resources/actions/types/ActionField.d.ts +10 -0
- package/dist/serialization/resources/actions/types/ActionField.js +41 -0
- package/dist/serialization/resources/actions/types/ActionFilter.d.ts +16 -0
- package/dist/serialization/resources/actions/types/ActionFilter.js +47 -0
- package/dist/serialization/resources/actions/types/ActionPatchRequest.d.ts +15 -0
- package/dist/serialization/resources/actions/types/ActionPatchRequest.js +46 -0
- package/dist/serialization/resources/actions/types/ActionsResponse.d.ts +14 -0
- package/dist/serialization/resources/actions/types/ActionsResponse.js +47 -0
- package/dist/serialization/resources/actions/types/ActionsSearchRequest.d.ts +16 -0
- package/dist/serialization/resources/actions/types/ActionsSearchRequest.js +49 -0
- package/dist/serialization/resources/actions/types/index.d.ts +5 -0
- package/dist/serialization/resources/actions/types/index.js +5 -0
- package/dist/serialization/resources/agents/types/Agent.d.ts +2 -0
- package/dist/serialization/resources/agents/types/Agent.js +2 -0
- package/dist/serialization/resources/agents/types/AgentPatchRequest.d.ts +16 -0
- package/{serialization/resources/commons/types/UserMessageAttachment.js → dist/serialization/resources/agents/types/AgentPatchRequest.js} +6 -4
- package/dist/serialization/resources/agents/types/CreateAgentRequest.d.ts +14 -0
- package/dist/serialization/resources/{commons/types/UserMessageAttachment.js → agents/types/CreateAgentRequest.js} +5 -5
- package/dist/serialization/resources/agents/types/PiiCategory.d.ts +10 -0
- package/dist/serialization/resources/agents/types/PiiCategory.js +99 -0
- package/dist/serialization/resources/agents/types/index.d.ts +3 -0
- package/dist/serialization/resources/agents/types/index.js +3 -0
- package/dist/serialization/resources/assets/index.d.ts +1 -0
- package/dist/serialization/resources/assets/index.js +17 -0
- package/dist/serialization/resources/assets/types/CommitAssetUploadRequest.d.ts +12 -0
- package/dist/serialization/resources/assets/types/CommitAssetUploadRequest.js +43 -0
- package/dist/serialization/resources/assets/types/InitiateAssetUploadRequest.d.ts +12 -0
- package/dist/serialization/resources/assets/types/InitiateAssetUploadRequest.js +42 -0
- package/dist/serialization/resources/assets/types/InitiateAssetUploadResponse.d.ts +15 -0
- package/dist/serialization/resources/assets/types/InitiateAssetUploadResponse.js +46 -0
- package/dist/serialization/resources/assets/types/index.d.ts +3 -0
- package/dist/serialization/resources/assets/types/index.js +19 -0
- package/dist/serialization/resources/commons/types/ActionResponse.d.ts +6 -0
- package/dist/serialization/resources/commons/types/ActionResponse.js +6 -0
- package/dist/serialization/resources/commons/types/AttachmentRequest.d.ts +15 -0
- package/dist/serialization/resources/commons/types/AttachmentRequest.js +48 -0
- package/dist/serialization/resources/commons/types/AttachmentResponse.d.ts +16 -0
- package/dist/serialization/resources/commons/types/AttachmentResponse.js +49 -0
- package/dist/serialization/resources/commons/types/AttachmentStatus.d.ts +10 -0
- package/dist/serialization/resources/commons/types/{BotMessageStatus.js → AttachmentStatus.js} +2 -2
- package/{serialization/resources/conversation/types/Attachment.d.ts → dist/serialization/resources/commons/types/BaseAttachment.d.ts} +2 -3
- package/{serialization/resources/conversation/types/Attachment.js → dist/serialization/resources/commons/types/BaseAttachment.js} +2 -3
- package/dist/serialization/resources/commons/types/BaseConversationResponse.d.ts +2 -0
- package/dist/serialization/resources/commons/types/BaseConversationResponse.js +2 -0
- package/dist/serialization/resources/commons/types/BotLogic.d.ts +13 -0
- package/dist/serialization/resources/commons/types/BotLogic.js +44 -0
- package/dist/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +15 -0
- package/dist/serialization/resources/commons/types/BotLogicActionExecutedDetail.js +48 -0
- package/dist/serialization/resources/commons/types/BotLogicActionItem.d.ts +15 -0
- package/dist/serialization/resources/commons/types/BotLogicActionItem.js +46 -0
- package/dist/serialization/resources/commons/types/BotLogicActionReviewedDetail.d.ts +14 -0
- package/{serialization/resources/commons/types/KnowledgeBaseInformation.js → dist/serialization/resources/commons/types/BotLogicActionReviewedDetail.js} +4 -3
- package/dist/serialization/resources/commons/types/BotLogicFormSubmissionItem.d.ts +12 -0
- package/dist/serialization/resources/commons/types/BotLogicFormSubmissionItem.js +42 -0
- package/dist/serialization/resources/commons/types/BotLogicItem.d.ts +34 -0
- package/dist/serialization/resources/commons/types/BotLogicItem.js +59 -0
- package/{serialization/resources/commons/types/KnowledgeBaseInformation.d.ts → dist/serialization/resources/commons/types/BotLogicKnowledgeDetail.d.ts} +5 -2
- package/dist/serialization/resources/commons/types/BotLogicKnowledgeDetail.js +47 -0
- package/dist/serialization/resources/commons/types/BotLogicKnowledgeItem.d.ts +14 -0
- package/dist/serialization/resources/commons/types/BotLogicKnowledgeItem.js +45 -0
- package/dist/serialization/resources/commons/types/BotLogicSafetyItem.d.ts +12 -0
- package/{serialization/resources/commons/types/BotMessageStatus.js → dist/serialization/resources/commons/types/BotLogicSafetyItem.js} +4 -2
- package/dist/serialization/resources/commons/types/BotLogicSegmentsItem.d.ts +13 -0
- package/dist/serialization/resources/commons/types/BotLogicSegmentsItem.js +44 -0
- package/dist/serialization/resources/commons/types/BotLogicUserItem.d.ts +12 -0
- package/dist/serialization/resources/commons/types/BotLogicUserItem.js +43 -0
- package/dist/serialization/resources/commons/types/BotMessage.d.ts +4 -2
- package/dist/serialization/resources/commons/types/BotMessage.js +4 -2
- package/dist/serialization/resources/commons/types/Capability.d.ts +1 -1
- package/dist/serialization/resources/commons/types/Capability.js +1 -1
- package/dist/serialization/resources/commons/types/ConversationResponse.d.ts +2 -0
- package/dist/serialization/resources/commons/types/ConversationResponse.js +2 -0
- package/dist/serialization/resources/commons/types/DocumentInformation.d.ts +1 -0
- package/dist/serialization/resources/commons/types/DocumentInformation.js +1 -0
- package/dist/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/dist/serialization/resources/commons/types/EntityType.js +1 -0
- package/dist/serialization/resources/commons/types/InboxItem.d.ts +1 -9
- package/dist/serialization/resources/commons/types/InboxItem.js +0 -4
- package/dist/serialization/resources/commons/types/InboxItemBase.d.ts +2 -0
- package/dist/serialization/resources/commons/types/InboxItemBase.js +2 -0
- package/dist/serialization/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
- package/dist/serialization/resources/commons/types/InboxItemDuplicateDocuments.js +1 -1
- package/dist/serialization/resources/commons/types/InboxItemFix.d.ts +1 -5
- package/dist/serialization/resources/commons/types/InboxItemFix.js +0 -2
- package/dist/serialization/resources/commons/types/InboxItemSeverity.d.ts +10 -0
- package/dist/serialization/resources/commons/types/{InboxItemFixType.js → InboxItemSeverity.js} +2 -2
- package/dist/serialization/resources/commons/types/InboxItemType.d.ts +1 -1
- package/dist/serialization/resources/commons/types/InboxItemType.js +1 -6
- package/dist/serialization/resources/commons/types/LlmInclusionStatus.d.ts +10 -0
- package/dist/serialization/resources/commons/types/LlmInclusionStatus.js +41 -0
- package/dist/serialization/resources/commons/types/{BotMessageStatus.d.ts → MessageStatus.d.ts} +2 -2
- package/dist/serialization/resources/commons/types/MessageStatus.js +41 -0
- package/dist/serialization/resources/commons/types/UserMessage.d.ts +7 -2
- package/dist/serialization/resources/commons/types/UserMessage.js +7 -2
- package/dist/serialization/resources/commons/types/UserMessageResponseState.d.ts +10 -0
- package/dist/serialization/resources/commons/types/UserMessageResponseState.js +41 -0
- package/dist/serialization/resources/commons/types/index.d.ts +19 -7
- package/dist/serialization/resources/commons/types/index.js +19 -7
- package/dist/serialization/resources/conversation/types/AskObjectRequest.d.ts +13 -0
- package/dist/serialization/resources/conversation/types/AskObjectRequest.js +46 -0
- package/dist/serialization/resources/conversation/types/AskRequest.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/AskRequest.js +2 -2
- package/dist/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
- package/dist/serialization/resources/conversation/types/ConversationField.js +4 -0
- package/dist/serialization/resources/conversation/types/ConversationFilter.d.ts +1 -0
- package/dist/serialization/resources/conversation/types/ConversationFilter.js +1 -0
- package/dist/serialization/resources/conversation/types/ConversationMessageRequest.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/ConversationMessageRequest.js +2 -2
- package/dist/serialization/resources/conversation/types/ConversationPatchRequest.d.ts +16 -0
- package/dist/serialization/resources/conversation/types/ConversationPatchRequest.js +47 -0
- package/dist/serialization/resources/conversation/types/DeliverConversationMessageRequest.d.ts +15 -0
- package/dist/serialization/resources/conversation/types/DeliverConversationMessageRequest.js +46 -0
- package/dist/serialization/resources/conversation/types/DeliverMessageRequest.d.ts +18 -0
- package/dist/serialization/resources/conversation/types/DeliverMessageRequest.js +51 -0
- package/dist/serialization/resources/conversation/types/DeliverMessageResponse.d.ts +13 -0
- package/{serialization/resources/inbox/types/BaseInboxSearchRequest.js → dist/serialization/resources/conversation/types/DeliverMessageResponse.js} +4 -4
- package/dist/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +15 -0
- package/dist/serialization/resources/conversation/types/DeliverUserMessageRequest.js +46 -0
- package/dist/serialization/resources/conversation/types/DeliveryStatus.d.ts +10 -0
- package/{serialization/resources/commons/types/InboxItemFixType.js → dist/serialization/resources/conversation/types/DeliveryStatus.js} +2 -2
- package/dist/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
- package/dist/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/dist/serialization/resources/conversation/types/ObjectStreamResponse.d.ts +22 -0
- package/dist/serialization/resources/conversation/types/ObjectStreamResponse.js +53 -0
- package/dist/serialization/resources/conversation/types/index.d.ts +8 -1
- package/dist/serialization/resources/conversation/types/index.js +8 -1
- package/{serialization/resources/inbox/types/ApplyInboxItemFixRequest.d.ts → dist/serialization/resources/inbox/types/ApplyFixesRequest.d.ts} +3 -4
- package/{serialization/resources/inbox/types/ApplyInboxItemFixRequest.js → dist/serialization/resources/inbox/types/ApplyFixesRequest.js} +3 -4
- package/dist/serialization/resources/inbox/types/InboxFilter.d.ts +17 -0
- package/dist/serialization/resources/inbox/types/InboxFilter.js +48 -0
- package/dist/serialization/resources/inbox/types/InboxSearchRequest.d.ts +4 -10
- package/dist/serialization/resources/inbox/types/InboxSearchRequest.js +4 -10
- package/dist/serialization/resources/inbox/types/InboxSearchResponse.d.ts +1 -1
- package/dist/serialization/resources/inbox/types/InboxSearchResponse.js +1 -1
- package/dist/serialization/resources/inbox/types/index.d.ts +2 -2
- package/dist/serialization/resources/inbox/types/index.js +2 -2
- package/dist/serialization/resources/index.d.ts +6 -0
- package/dist/serialization/resources/index.js +7 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseField.d.ts +10 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseField.js +41 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseFilter.d.ts +15 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseFilter.js +46 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBasePatchRequest.d.ts +18 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBasePatchRequest.js +49 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +10 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.js +41 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +6 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +6 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +16 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.js +49 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBasesResponse.d.ts +14 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBasesResponse.js +47 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentField.d.ts +10 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentField.js +41 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +15 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentFilter.js +46 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +16 -0
- package/dist/serialization/resources/{commons/types/InboxItemKnowledgeBaseAlert.js → knowledge/types/KnowledgeDocumentSearchRequest.js} +8 -8
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +15 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +48 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +14 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.js +47 -0
- package/dist/serialization/resources/knowledge/types/index.d.ts +11 -0
- package/dist/serialization/resources/knowledge/types/index.js +11 -0
- package/dist/serialization/resources/segments/index.d.ts +1 -0
- package/dist/serialization/resources/segments/index.js +17 -0
- package/dist/serialization/resources/segments/types/SegmentBase.d.ts +13 -0
- package/dist/serialization/resources/segments/types/SegmentBase.js +45 -0
- package/dist/serialization/resources/segments/types/SegmentField.d.ts +10 -0
- package/dist/serialization/resources/segments/types/SegmentField.js +41 -0
- package/dist/serialization/resources/segments/types/SegmentPatchRequest.d.ts +16 -0
- package/dist/serialization/resources/segments/types/SegmentPatchRequest.js +48 -0
- package/dist/serialization/resources/segments/types/SegmentRequest.d.ts +14 -0
- package/dist/serialization/resources/segments/types/SegmentRequest.js +47 -0
- package/dist/serialization/resources/segments/types/SegmentResponse.d.ts +16 -0
- package/{serialization/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.js → dist/serialization/resources/segments/types/SegmentResponse.js} +8 -6
- package/dist/serialization/resources/segments/types/SegmentStatus.d.ts +10 -0
- package/dist/serialization/resources/segments/types/SegmentStatus.js +41 -0
- package/dist/serialization/resources/segments/types/SegmentsSearchRequest.d.ts +14 -0
- package/dist/serialization/resources/segments/types/SegmentsSearchRequest.js +47 -0
- package/dist/serialization/resources/segments/types/SegmentsSearchResponse.d.ts +14 -0
- package/dist/serialization/resources/segments/types/SegmentsSearchResponse.js +47 -0
- package/dist/serialization/resources/segments/types/index.d.ts +8 -0
- package/dist/serialization/resources/segments/types/index.js +24 -0
- package/dist/serialization/resources/users/index.d.ts +1 -0
- package/dist/serialization/resources/users/index.js +17 -0
- package/dist/serialization/resources/users/types/AgentUser.d.ts +19 -0
- package/dist/serialization/resources/users/types/AgentUser.js +50 -0
- package/dist/serialization/resources/users/types/AgentUserField.d.ts +10 -0
- package/dist/serialization/resources/users/types/AgentUserField.js +41 -0
- package/dist/serialization/resources/users/types/AgentUserFilter.d.ts +13 -0
- package/dist/serialization/resources/users/types/AgentUserFilter.js +44 -0
- package/dist/serialization/resources/users/types/AgentUserSearchRequest.d.ts +16 -0
- package/dist/serialization/resources/users/types/AgentUserSearchRequest.js +49 -0
- package/dist/serialization/resources/users/types/AgentUserSearchResponse.d.ts +14 -0
- package/dist/serialization/resources/users/types/AgentUserSearchResponse.js +47 -0
- package/dist/serialization/resources/users/types/AppUserSummary.d.ts +16 -0
- package/dist/serialization/resources/users/types/AppUserSummary.js +47 -0
- package/dist/serialization/resources/users/types/index.d.ts +6 -0
- package/dist/serialization/resources/users/types/index.js +22 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +2127 -747
- package/serialization/resources/actions/types/ActionField.d.ts +10 -0
- package/serialization/resources/actions/types/ActionField.js +41 -0
- package/serialization/resources/actions/types/ActionFilter.d.ts +16 -0
- package/serialization/resources/actions/types/ActionFilter.js +47 -0
- package/serialization/resources/actions/types/ActionPatchRequest.d.ts +15 -0
- package/serialization/resources/actions/types/ActionPatchRequest.js +46 -0
- package/serialization/resources/actions/types/ActionsResponse.d.ts +14 -0
- package/serialization/resources/actions/types/ActionsResponse.js +47 -0
- package/serialization/resources/actions/types/ActionsSearchRequest.d.ts +16 -0
- package/serialization/resources/actions/types/ActionsSearchRequest.js +49 -0
- package/serialization/resources/actions/types/index.d.ts +5 -0
- package/serialization/resources/actions/types/index.js +5 -0
- package/serialization/resources/agents/types/Agent.d.ts +2 -0
- package/serialization/resources/agents/types/Agent.js +2 -0
- package/serialization/resources/agents/types/AgentPatchRequest.d.ts +16 -0
- package/serialization/resources/agents/types/AgentPatchRequest.js +47 -0
- package/serialization/resources/agents/types/CreateAgentRequest.d.ts +14 -0
- package/serialization/resources/agents/types/CreateAgentRequest.js +45 -0
- package/serialization/resources/agents/types/PiiCategory.d.ts +10 -0
- package/serialization/resources/agents/types/PiiCategory.js +99 -0
- package/serialization/resources/agents/types/index.d.ts +3 -0
- package/serialization/resources/agents/types/index.js +3 -0
- package/serialization/resources/assets/index.d.ts +1 -0
- package/serialization/resources/assets/index.js +17 -0
- package/serialization/resources/assets/types/CommitAssetUploadRequest.d.ts +12 -0
- package/serialization/resources/assets/types/CommitAssetUploadRequest.js +43 -0
- package/serialization/resources/assets/types/InitiateAssetUploadRequest.d.ts +12 -0
- package/serialization/resources/assets/types/InitiateAssetUploadRequest.js +42 -0
- package/serialization/resources/assets/types/InitiateAssetUploadResponse.d.ts +15 -0
- package/serialization/resources/assets/types/InitiateAssetUploadResponse.js +46 -0
- package/serialization/resources/assets/types/index.d.ts +3 -0
- package/serialization/resources/assets/types/index.js +19 -0
- package/serialization/resources/commons/types/ActionResponse.d.ts +6 -0
- package/serialization/resources/commons/types/ActionResponse.js +6 -0
- package/serialization/resources/commons/types/AttachmentRequest.d.ts +15 -0
- package/serialization/resources/commons/types/AttachmentRequest.js +48 -0
- package/serialization/resources/commons/types/AttachmentResponse.d.ts +16 -0
- package/serialization/resources/commons/types/AttachmentResponse.js +49 -0
- package/serialization/resources/commons/types/AttachmentStatus.d.ts +10 -0
- package/serialization/resources/commons/types/AttachmentStatus.js +41 -0
- package/{dist/serialization/resources/conversation/types/Attachment.d.ts → serialization/resources/commons/types/BaseAttachment.d.ts} +2 -3
- package/{dist/serialization/resources/conversation/types/Attachment.js → serialization/resources/commons/types/BaseAttachment.js} +2 -3
- package/serialization/resources/commons/types/BaseConversationResponse.d.ts +2 -0
- package/serialization/resources/commons/types/BaseConversationResponse.js +2 -0
- package/serialization/resources/commons/types/BotLogic.d.ts +13 -0
- package/serialization/resources/commons/types/BotLogic.js +44 -0
- package/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +15 -0
- package/serialization/resources/commons/types/BotLogicActionExecutedDetail.js +48 -0
- package/serialization/resources/commons/types/BotLogicActionItem.d.ts +15 -0
- package/serialization/resources/commons/types/BotLogicActionItem.js +46 -0
- package/serialization/resources/commons/types/BotLogicActionReviewedDetail.d.ts +14 -0
- package/{dist/serialization/resources/commons/types/KnowledgeBaseInformation.js → serialization/resources/commons/types/BotLogicActionReviewedDetail.js} +4 -3
- package/serialization/resources/commons/types/BotLogicFormSubmissionItem.d.ts +12 -0
- package/serialization/resources/commons/types/BotLogicFormSubmissionItem.js +42 -0
- package/serialization/resources/commons/types/BotLogicItem.d.ts +34 -0
- package/serialization/resources/commons/types/BotLogicItem.js +59 -0
- package/{dist/serialization/resources/commons/types/KnowledgeBaseInformation.d.ts → serialization/resources/commons/types/BotLogicKnowledgeDetail.d.ts} +5 -2
- package/serialization/resources/commons/types/BotLogicKnowledgeDetail.js +47 -0
- package/serialization/resources/commons/types/BotLogicKnowledgeItem.d.ts +14 -0
- package/serialization/resources/commons/types/BotLogicKnowledgeItem.js +45 -0
- package/serialization/resources/commons/types/BotLogicSafetyItem.d.ts +12 -0
- package/serialization/resources/commons/types/BotLogicSafetyItem.js +43 -0
- package/serialization/resources/commons/types/BotLogicSegmentsItem.d.ts +13 -0
- package/serialization/resources/commons/types/BotLogicSegmentsItem.js +44 -0
- package/serialization/resources/commons/types/BotLogicUserItem.d.ts +12 -0
- package/serialization/resources/commons/types/BotLogicUserItem.js +43 -0
- package/serialization/resources/commons/types/BotMessage.d.ts +4 -2
- package/serialization/resources/commons/types/BotMessage.js +4 -2
- package/serialization/resources/commons/types/Capability.d.ts +1 -1
- package/serialization/resources/commons/types/Capability.js +1 -1
- package/serialization/resources/commons/types/ConversationResponse.d.ts +2 -0
- package/serialization/resources/commons/types/ConversationResponse.js +2 -0
- package/serialization/resources/commons/types/DocumentInformation.d.ts +1 -0
- package/serialization/resources/commons/types/DocumentInformation.js +1 -0
- package/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +1 -0
- package/serialization/resources/commons/types/InboxItem.d.ts +1 -9
- package/serialization/resources/commons/types/InboxItem.js +0 -4
- package/serialization/resources/commons/types/InboxItemBase.d.ts +2 -0
- package/serialization/resources/commons/types/InboxItemBase.js +2 -0
- package/serialization/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
- package/serialization/resources/commons/types/InboxItemDuplicateDocuments.js +1 -1
- package/serialization/resources/commons/types/InboxItemFix.d.ts +1 -5
- package/serialization/resources/commons/types/InboxItemFix.js +0 -2
- package/serialization/resources/commons/types/InboxItemSeverity.d.ts +10 -0
- package/serialization/resources/commons/types/InboxItemSeverity.js +41 -0
- package/serialization/resources/commons/types/InboxItemType.d.ts +1 -1
- package/serialization/resources/commons/types/InboxItemType.js +1 -6
- package/serialization/resources/commons/types/LlmInclusionStatus.d.ts +10 -0
- package/serialization/resources/commons/types/LlmInclusionStatus.js +41 -0
- package/serialization/resources/commons/types/{BotMessageStatus.d.ts → MessageStatus.d.ts} +2 -2
- package/serialization/resources/commons/types/MessageStatus.js +41 -0
- package/serialization/resources/commons/types/UserMessage.d.ts +7 -2
- package/serialization/resources/commons/types/UserMessage.js +7 -2
- package/serialization/resources/commons/types/UserMessageResponseState.d.ts +10 -0
- package/serialization/resources/commons/types/UserMessageResponseState.js +41 -0
- package/serialization/resources/commons/types/index.d.ts +19 -7
- package/serialization/resources/commons/types/index.js +19 -7
- package/serialization/resources/conversation/types/AskObjectRequest.d.ts +13 -0
- package/serialization/resources/conversation/types/AskObjectRequest.js +46 -0
- package/serialization/resources/conversation/types/AskRequest.d.ts +2 -2
- package/serialization/resources/conversation/types/AskRequest.js +2 -2
- package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/ConversationField.js +4 -0
- package/serialization/resources/conversation/types/ConversationFilter.d.ts +1 -0
- package/serialization/resources/conversation/types/ConversationFilter.js +1 -0
- package/serialization/resources/conversation/types/ConversationMessageRequest.d.ts +2 -2
- package/serialization/resources/conversation/types/ConversationMessageRequest.js +2 -2
- package/serialization/resources/conversation/types/ConversationPatchRequest.d.ts +16 -0
- package/serialization/resources/conversation/types/ConversationPatchRequest.js +47 -0
- package/serialization/resources/conversation/types/DeliverConversationMessageRequest.d.ts +15 -0
- package/serialization/resources/conversation/types/DeliverConversationMessageRequest.js +46 -0
- package/serialization/resources/conversation/types/DeliverMessageRequest.d.ts +18 -0
- package/serialization/resources/conversation/types/DeliverMessageRequest.js +51 -0
- package/serialization/resources/conversation/types/DeliverMessageResponse.d.ts +13 -0
- package/{dist/serialization/resources/inbox/types/BaseInboxSearchRequest.js → serialization/resources/conversation/types/DeliverMessageResponse.js} +4 -4
- package/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +15 -0
- package/serialization/resources/conversation/types/DeliverUserMessageRequest.js +46 -0
- package/serialization/resources/conversation/types/DeliveryStatus.d.ts +10 -0
- package/serialization/resources/conversation/types/DeliveryStatus.js +41 -0
- package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/serialization/resources/conversation/types/ObjectStreamResponse.d.ts +22 -0
- package/serialization/resources/conversation/types/ObjectStreamResponse.js +53 -0
- package/serialization/resources/conversation/types/index.d.ts +8 -1
- package/serialization/resources/conversation/types/index.js +8 -1
- package/{dist/serialization/resources/inbox/types/ApplyInboxItemFixRequest.d.ts → serialization/resources/inbox/types/ApplyFixesRequest.d.ts} +3 -4
- package/{dist/serialization/resources/inbox/types/ApplyInboxItemFixRequest.js → serialization/resources/inbox/types/ApplyFixesRequest.js} +3 -4
- package/serialization/resources/inbox/types/InboxFilter.d.ts +17 -0
- package/serialization/resources/inbox/types/InboxFilter.js +48 -0
- package/serialization/resources/inbox/types/InboxSearchRequest.d.ts +4 -10
- package/serialization/resources/inbox/types/InboxSearchRequest.js +4 -10
- package/serialization/resources/inbox/types/InboxSearchResponse.d.ts +1 -1
- package/serialization/resources/inbox/types/InboxSearchResponse.js +1 -1
- package/serialization/resources/inbox/types/index.d.ts +2 -2
- package/serialization/resources/inbox/types/index.js +2 -2
- package/serialization/resources/index.d.ts +6 -0
- package/serialization/resources/index.js +7 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseField.d.ts +10 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseField.js +41 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseFilter.d.ts +15 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseFilter.js +46 -0
- package/serialization/resources/knowledge/types/KnowledgeBasePatchRequest.d.ts +18 -0
- package/serialization/resources/knowledge/types/KnowledgeBasePatchRequest.js +49 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +10 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.js +41 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +6 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +6 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +16 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.js +49 -0
- package/serialization/resources/knowledge/types/KnowledgeBasesResponse.d.ts +14 -0
- package/serialization/resources/knowledge/types/KnowledgeBasesResponse.js +47 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentField.d.ts +10 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentField.js +41 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +15 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.js +46 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +16 -0
- package/serialization/resources/{commons/types/InboxItemKnowledgeBaseAlert.js → knowledge/types/KnowledgeDocumentSearchRequest.js} +8 -8
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +15 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +48 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +14 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.js +47 -0
- package/serialization/resources/knowledge/types/index.d.ts +11 -0
- package/serialization/resources/knowledge/types/index.js +11 -0
- package/serialization/resources/segments/index.d.ts +1 -0
- package/serialization/resources/segments/index.js +17 -0
- package/serialization/resources/segments/types/SegmentBase.d.ts +13 -0
- package/serialization/resources/segments/types/SegmentBase.js +45 -0
- package/serialization/resources/segments/types/SegmentField.d.ts +10 -0
- package/serialization/resources/segments/types/SegmentField.js +41 -0
- package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +16 -0
- package/serialization/resources/segments/types/SegmentPatchRequest.js +48 -0
- package/serialization/resources/segments/types/SegmentRequest.d.ts +14 -0
- package/serialization/resources/segments/types/SegmentRequest.js +47 -0
- package/serialization/resources/segments/types/SegmentResponse.d.ts +16 -0
- package/{dist/serialization/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.js → serialization/resources/segments/types/SegmentResponse.js} +8 -6
- package/serialization/resources/segments/types/SegmentStatus.d.ts +10 -0
- package/serialization/resources/segments/types/SegmentStatus.js +41 -0
- package/serialization/resources/segments/types/SegmentsSearchRequest.d.ts +14 -0
- package/serialization/resources/segments/types/SegmentsSearchRequest.js +47 -0
- package/serialization/resources/segments/types/SegmentsSearchResponse.d.ts +14 -0
- package/serialization/resources/segments/types/SegmentsSearchResponse.js +47 -0
- package/serialization/resources/segments/types/index.d.ts +8 -0
- package/serialization/resources/segments/types/index.js +24 -0
- package/serialization/resources/users/index.d.ts +1 -0
- package/serialization/resources/users/index.js +17 -0
- package/serialization/resources/users/types/AgentUser.d.ts +19 -0
- package/serialization/resources/users/types/AgentUser.js +50 -0
- package/serialization/resources/users/types/AgentUserField.d.ts +10 -0
- package/serialization/resources/users/types/AgentUserField.js +41 -0
- package/serialization/resources/users/types/AgentUserFilter.d.ts +13 -0
- package/serialization/resources/users/types/AgentUserFilter.js +44 -0
- package/serialization/resources/users/types/AgentUserSearchRequest.d.ts +16 -0
- package/serialization/resources/users/types/AgentUserSearchRequest.js +49 -0
- package/serialization/resources/users/types/AgentUserSearchResponse.d.ts +14 -0
- package/serialization/resources/users/types/AgentUserSearchResponse.js +47 -0
- package/serialization/resources/users/types/AppUserSummary.d.ts +16 -0
- package/serialization/resources/users/types/AppUserSummary.js +47 -0
- package/serialization/resources/users/types/index.d.ts +6 -0
- package/serialization/resources/users/types/index.js +22 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/commons/types/InboxItemDuplicateKnowledgeBase.d.ts +0 -12
- package/api/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.d.ts +0 -8
- package/api/resources/commons/types/InboxItemFixType.d.ts +0 -14
- package/api/resources/commons/types/InboxItemKnowledgeBaseAlert.d.ts +0 -10
- package/api/resources/commons/types/UserMessageAttachment.d.ts +0 -23
- package/api/resources/conversation/types/Attachment.d.ts +0 -26
- package/api/resources/inbox/types/ApplyInboxItemFixRequest.d.ts +0 -11
- package/api/resources/inbox/types/BaseInboxSearchRequest.d.ts +0 -9
- package/dist/api/resources/commons/types/InboxItemDuplicateKnowledgeBase.d.ts +0 -12
- package/dist/api/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.d.ts +0 -8
- package/dist/api/resources/commons/types/InboxItemFixType.d.ts +0 -14
- package/dist/api/resources/commons/types/InboxItemKnowledgeBaseAlert.d.ts +0 -10
- package/dist/api/resources/commons/types/UserMessageAttachment.d.ts +0 -23
- package/dist/api/resources/conversation/types/Attachment.d.ts +0 -26
- package/dist/api/resources/inbox/types/ApplyInboxItemFixRequest.d.ts +0 -11
- package/dist/api/resources/inbox/types/BaseInboxSearchRequest.d.ts +0 -9
- package/dist/serialization/resources/commons/types/InboxItemDuplicateKnowledgeBase.d.ts +0 -17
- package/dist/serialization/resources/commons/types/InboxItemDuplicateKnowledgeBase.js +0 -50
- package/dist/serialization/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.d.ts +0 -14
- package/dist/serialization/resources/commons/types/InboxItemFixType.d.ts +0 -10
- package/dist/serialization/resources/commons/types/InboxItemKnowledgeBaseAlert.d.ts +0 -16
- package/dist/serialization/resources/commons/types/UserMessageAttachment.d.ts +0 -14
- package/dist/serialization/resources/inbox/types/BaseInboxSearchRequest.d.ts +0 -13
- package/serialization/resources/commons/types/InboxItemDuplicateKnowledgeBase.d.ts +0 -17
- package/serialization/resources/commons/types/InboxItemDuplicateKnowledgeBase.js +0 -50
- package/serialization/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.d.ts +0 -14
- package/serialization/resources/commons/types/InboxItemFixType.d.ts +0 -10
- package/serialization/resources/commons/types/InboxItemKnowledgeBaseAlert.d.ts +0 -16
- package/serialization/resources/commons/types/UserMessageAttachment.d.ts +0 -14
- package/serialization/resources/inbox/types/BaseInboxSearchRequest.d.ts +0 -13
- /package/api/resources/{commons/types/InboxItemDuplicateKnowledgeBase.js → actions/client/requests/ActionGetRequest.js} +0 -0
- /package/api/resources/{commons/types/InboxItemFixDeactivateKnowledgeBase.js → actions/types/ActionFilter.js} +0 -0
- /package/api/resources/{commons/types/InboxItemKnowledgeBaseAlert.js → actions/types/ActionPatchRequest.js} +0 -0
- /package/api/resources/{commons/types/KnowledgeBaseInformation.js → actions/types/ActionsResponse.js} +0 -0
- /package/api/resources/{commons/types/UserMessageAttachment.js → actions/types/ActionsSearchRequest.js} +0 -0
- /package/api/resources/{conversation/types/Attachment.js → agents/types/AgentPatchRequest.js} +0 -0
- /package/api/resources/{inbox/types/ApplyInboxItemFixRequest.js → agents/types/CreateAgentRequest.js} +0 -0
- /package/api/resources/{inbox/types/BaseInboxSearchRequest.js → assets/types/CommitAssetUploadRequest.js} +0 -0
- /package/{dist/api/resources/commons/types/InboxItemDuplicateKnowledgeBase.js → api/resources/assets/types/InitiateAssetUploadRequest.js} +0 -0
- /package/{dist/api/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.js → api/resources/assets/types/InitiateAssetUploadResponse.js} +0 -0
- /package/{dist/api/resources/commons/types/InboxItemKnowledgeBaseAlert.js → api/resources/commons/types/AttachmentRequest.js} +0 -0
- /package/{dist/api/resources/commons/types/KnowledgeBaseInformation.js → api/resources/commons/types/AttachmentResponse.js} +0 -0
- /package/{dist/api/resources/commons/types/UserMessageAttachment.js → api/resources/commons/types/BaseAttachment.js} +0 -0
- /package/{dist/api/resources/conversation/types/Attachment.js → api/resources/commons/types/BotLogic.js} +0 -0
- /package/{dist/api/resources/inbox/types/ApplyInboxItemFixRequest.js → api/resources/commons/types/BotLogicActionExecutedDetail.js} +0 -0
- /package/{dist/api/resources/inbox/types/BaseInboxSearchRequest.js → api/resources/commons/types/BotLogicActionItem.js} +0 -0
|
@@ -71,6 +71,30 @@ export declare class Agents {
|
|
|
71
71
|
*/
|
|
72
72
|
list(organizationReferenceId: string, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<MavenAGI.Agent[]>;
|
|
73
73
|
private __list;
|
|
74
|
+
/**
|
|
75
|
+
* Create a new agent
|
|
76
|
+
*
|
|
77
|
+
* <Tip>
|
|
78
|
+
* This endpoint requires additional permissions. Contact support to request access.
|
|
79
|
+
* </Tip>
|
|
80
|
+
*
|
|
81
|
+
* @param {string} organizationReferenceId - The ID of the organization.
|
|
82
|
+
* @param {string} agentReferenceId - The ID of the agent.
|
|
83
|
+
* @param {MavenAGI.CreateAgentRequest} request
|
|
84
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
87
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
88
|
+
* @throws {@link MavenAGI.ServerError}
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* await client.agents.create("organizationReferenceId", "agentReferenceId", {
|
|
92
|
+
* name: "name",
|
|
93
|
+
* environment: "DEMO"
|
|
94
|
+
* })
|
|
95
|
+
*/
|
|
96
|
+
create(organizationReferenceId: string, agentReferenceId: string, request: MavenAGI.CreateAgentRequest, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<MavenAGI.Agent>;
|
|
97
|
+
private __create;
|
|
74
98
|
/**
|
|
75
99
|
* Get an agent
|
|
76
100
|
*
|
|
@@ -87,5 +111,47 @@ export declare class Agents {
|
|
|
87
111
|
*/
|
|
88
112
|
get(organizationReferenceId: string, agentReferenceId: string, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<MavenAGI.Agent>;
|
|
89
113
|
private __get;
|
|
114
|
+
/**
|
|
115
|
+
* Update mutable agent fields
|
|
116
|
+
* All fields will overwrite the existing value on the agent only if provided.
|
|
117
|
+
*
|
|
118
|
+
* <Tip>
|
|
119
|
+
* This endpoint requires additional permissions. Contact support to request access.
|
|
120
|
+
* </Tip>
|
|
121
|
+
*
|
|
122
|
+
* @param {string} organizationReferenceId - The ID of the organization.
|
|
123
|
+
* @param {string} agentReferenceId - The ID of the agent.
|
|
124
|
+
* @param {MavenAGI.AgentPatchRequest} request
|
|
125
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
128
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
129
|
+
* @throws {@link MavenAGI.ServerError}
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* await client.agents.patch("organizationReferenceId", "agentReferenceId", {})
|
|
133
|
+
*/
|
|
134
|
+
patch(organizationReferenceId: string, agentReferenceId: string, request: MavenAGI.AgentPatchRequest, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<MavenAGI.Agent>;
|
|
135
|
+
private __patch;
|
|
136
|
+
/**
|
|
137
|
+
* Delete an agent.
|
|
138
|
+
*
|
|
139
|
+
* <Tip>
|
|
140
|
+
* This endpoint requires additional permissions. Contact support to request access.
|
|
141
|
+
* </Tip>
|
|
142
|
+
*
|
|
143
|
+
* @param {string} organizationReferenceId - The ID of the organization.
|
|
144
|
+
* @param {string} agentReferenceId - The ID of the agent.
|
|
145
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
146
|
+
*
|
|
147
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
148
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
149
|
+
* @throws {@link MavenAGI.ServerError}
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* await client.agents.delete("organizationReferenceId", "agentReferenceId")
|
|
153
|
+
*/
|
|
154
|
+
delete(organizationReferenceId: string, agentReferenceId: string, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<void>;
|
|
155
|
+
private __delete;
|
|
90
156
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
91
157
|
}
|
|
@@ -243,6 +243,108 @@ class Agents {
|
|
|
243
243
|
}
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
|
+
/**
|
|
247
|
+
* Create a new agent
|
|
248
|
+
*
|
|
249
|
+
* <Tip>
|
|
250
|
+
* This endpoint requires additional permissions. Contact support to request access.
|
|
251
|
+
* </Tip>
|
|
252
|
+
*
|
|
253
|
+
* @param {string} organizationReferenceId - The ID of the organization.
|
|
254
|
+
* @param {string} agentReferenceId - The ID of the agent.
|
|
255
|
+
* @param {MavenAGI.CreateAgentRequest} request
|
|
256
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
257
|
+
*
|
|
258
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
259
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
260
|
+
* @throws {@link MavenAGI.ServerError}
|
|
261
|
+
*
|
|
262
|
+
* @example
|
|
263
|
+
* await client.agents.create("organizationReferenceId", "agentReferenceId", {
|
|
264
|
+
* name: "name",
|
|
265
|
+
* environment: "DEMO"
|
|
266
|
+
* })
|
|
267
|
+
*/
|
|
268
|
+
create(organizationReferenceId, agentReferenceId, request, requestOptions) {
|
|
269
|
+
return core.HttpResponsePromise.fromPromise(this.__create(organizationReferenceId, agentReferenceId, request, requestOptions));
|
|
270
|
+
}
|
|
271
|
+
__create(organizationReferenceId, agentReferenceId, request, requestOptions) {
|
|
272
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
273
|
+
var _a, _b, _c, _d;
|
|
274
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
275
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, `/v1/organizations/${encodeURIComponent(organizationReferenceId)}/agents/${encodeURIComponent(agentReferenceId)}`),
|
|
276
|
+
method: "POST",
|
|
277
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
278
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
279
|
+
"X-Organization-Id": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
|
|
280
|
+
"X-Agent-Id": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId,
|
|
281
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
282
|
+
contentType: "application/json",
|
|
283
|
+
requestType: "json",
|
|
284
|
+
body: serializers.CreateAgentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
285
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
286
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
287
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
288
|
+
});
|
|
289
|
+
if (_response.ok) {
|
|
290
|
+
return {
|
|
291
|
+
data: serializers.Agent.parseOrThrow(_response.body, {
|
|
292
|
+
unrecognizedObjectKeys: "passthrough",
|
|
293
|
+
allowUnrecognizedUnionMembers: true,
|
|
294
|
+
allowUnrecognizedEnumValues: true,
|
|
295
|
+
breadcrumbsPrefix: ["response"],
|
|
296
|
+
}),
|
|
297
|
+
rawResponse: _response.rawResponse,
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
if (_response.error.reason === "status-code") {
|
|
301
|
+
switch (_response.error.statusCode) {
|
|
302
|
+
case 404:
|
|
303
|
+
throw new MavenAGI.NotFoundError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
304
|
+
unrecognizedObjectKeys: "passthrough",
|
|
305
|
+
allowUnrecognizedUnionMembers: true,
|
|
306
|
+
allowUnrecognizedEnumValues: true,
|
|
307
|
+
breadcrumbsPrefix: ["response"],
|
|
308
|
+
}), _response.rawResponse);
|
|
309
|
+
case 400:
|
|
310
|
+
throw new MavenAGI.BadRequestError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
311
|
+
unrecognizedObjectKeys: "passthrough",
|
|
312
|
+
allowUnrecognizedUnionMembers: true,
|
|
313
|
+
allowUnrecognizedEnumValues: true,
|
|
314
|
+
breadcrumbsPrefix: ["response"],
|
|
315
|
+
}), _response.rawResponse);
|
|
316
|
+
case 500:
|
|
317
|
+
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
318
|
+
unrecognizedObjectKeys: "passthrough",
|
|
319
|
+
allowUnrecognizedUnionMembers: true,
|
|
320
|
+
allowUnrecognizedEnumValues: true,
|
|
321
|
+
breadcrumbsPrefix: ["response"],
|
|
322
|
+
}), _response.rawResponse);
|
|
323
|
+
default:
|
|
324
|
+
throw new errors.MavenAGIError({
|
|
325
|
+
statusCode: _response.error.statusCode,
|
|
326
|
+
body: _response.error.body,
|
|
327
|
+
rawResponse: _response.rawResponse,
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
switch (_response.error.reason) {
|
|
332
|
+
case "non-json":
|
|
333
|
+
throw new errors.MavenAGIError({
|
|
334
|
+
statusCode: _response.error.statusCode,
|
|
335
|
+
body: _response.error.rawBody,
|
|
336
|
+
rawResponse: _response.rawResponse,
|
|
337
|
+
});
|
|
338
|
+
case "timeout":
|
|
339
|
+
throw new errors.MavenAGITimeoutError("Timeout exceeded when calling POST /v1/organizations/{organizationReferenceId}/agents/{agentReferenceId}.");
|
|
340
|
+
case "unknown":
|
|
341
|
+
throw new errors.MavenAGIError({
|
|
342
|
+
message: _response.error.errorMessage,
|
|
343
|
+
rawResponse: _response.rawResponse,
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
});
|
|
347
|
+
}
|
|
246
348
|
/**
|
|
247
349
|
* Get an agent
|
|
248
350
|
*
|
|
@@ -334,6 +436,193 @@ class Agents {
|
|
|
334
436
|
}
|
|
335
437
|
});
|
|
336
438
|
}
|
|
439
|
+
/**
|
|
440
|
+
* Update mutable agent fields
|
|
441
|
+
* All fields will overwrite the existing value on the agent only if provided.
|
|
442
|
+
*
|
|
443
|
+
* <Tip>
|
|
444
|
+
* This endpoint requires additional permissions. Contact support to request access.
|
|
445
|
+
* </Tip>
|
|
446
|
+
*
|
|
447
|
+
* @param {string} organizationReferenceId - The ID of the organization.
|
|
448
|
+
* @param {string} agentReferenceId - The ID of the agent.
|
|
449
|
+
* @param {MavenAGI.AgentPatchRequest} request
|
|
450
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
451
|
+
*
|
|
452
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
453
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
454
|
+
* @throws {@link MavenAGI.ServerError}
|
|
455
|
+
*
|
|
456
|
+
* @example
|
|
457
|
+
* await client.agents.patch("organizationReferenceId", "agentReferenceId", {})
|
|
458
|
+
*/
|
|
459
|
+
patch(organizationReferenceId, agentReferenceId, request, requestOptions) {
|
|
460
|
+
return core.HttpResponsePromise.fromPromise(this.__patch(organizationReferenceId, agentReferenceId, request, requestOptions));
|
|
461
|
+
}
|
|
462
|
+
__patch(organizationReferenceId, agentReferenceId, request, requestOptions) {
|
|
463
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
464
|
+
var _a, _b, _c, _d;
|
|
465
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
466
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, `/v1/organizations/${encodeURIComponent(organizationReferenceId)}/agents/${encodeURIComponent(agentReferenceId)}`),
|
|
467
|
+
method: "PATCH",
|
|
468
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
469
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
470
|
+
"X-Organization-Id": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
|
|
471
|
+
"X-Agent-Id": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId,
|
|
472
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
473
|
+
contentType: "application/json",
|
|
474
|
+
requestType: "json",
|
|
475
|
+
body: serializers.AgentPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
476
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
477
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
478
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
479
|
+
});
|
|
480
|
+
if (_response.ok) {
|
|
481
|
+
return {
|
|
482
|
+
data: serializers.Agent.parseOrThrow(_response.body, {
|
|
483
|
+
unrecognizedObjectKeys: "passthrough",
|
|
484
|
+
allowUnrecognizedUnionMembers: true,
|
|
485
|
+
allowUnrecognizedEnumValues: true,
|
|
486
|
+
breadcrumbsPrefix: ["response"],
|
|
487
|
+
}),
|
|
488
|
+
rawResponse: _response.rawResponse,
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
if (_response.error.reason === "status-code") {
|
|
492
|
+
switch (_response.error.statusCode) {
|
|
493
|
+
case 404:
|
|
494
|
+
throw new MavenAGI.NotFoundError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
495
|
+
unrecognizedObjectKeys: "passthrough",
|
|
496
|
+
allowUnrecognizedUnionMembers: true,
|
|
497
|
+
allowUnrecognizedEnumValues: true,
|
|
498
|
+
breadcrumbsPrefix: ["response"],
|
|
499
|
+
}), _response.rawResponse);
|
|
500
|
+
case 400:
|
|
501
|
+
throw new MavenAGI.BadRequestError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
502
|
+
unrecognizedObjectKeys: "passthrough",
|
|
503
|
+
allowUnrecognizedUnionMembers: true,
|
|
504
|
+
allowUnrecognizedEnumValues: true,
|
|
505
|
+
breadcrumbsPrefix: ["response"],
|
|
506
|
+
}), _response.rawResponse);
|
|
507
|
+
case 500:
|
|
508
|
+
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
509
|
+
unrecognizedObjectKeys: "passthrough",
|
|
510
|
+
allowUnrecognizedUnionMembers: true,
|
|
511
|
+
allowUnrecognizedEnumValues: true,
|
|
512
|
+
breadcrumbsPrefix: ["response"],
|
|
513
|
+
}), _response.rawResponse);
|
|
514
|
+
default:
|
|
515
|
+
throw new errors.MavenAGIError({
|
|
516
|
+
statusCode: _response.error.statusCode,
|
|
517
|
+
body: _response.error.body,
|
|
518
|
+
rawResponse: _response.rawResponse,
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
switch (_response.error.reason) {
|
|
523
|
+
case "non-json":
|
|
524
|
+
throw new errors.MavenAGIError({
|
|
525
|
+
statusCode: _response.error.statusCode,
|
|
526
|
+
body: _response.error.rawBody,
|
|
527
|
+
rawResponse: _response.rawResponse,
|
|
528
|
+
});
|
|
529
|
+
case "timeout":
|
|
530
|
+
throw new errors.MavenAGITimeoutError("Timeout exceeded when calling PATCH /v1/organizations/{organizationReferenceId}/agents/{agentReferenceId}.");
|
|
531
|
+
case "unknown":
|
|
532
|
+
throw new errors.MavenAGIError({
|
|
533
|
+
message: _response.error.errorMessage,
|
|
534
|
+
rawResponse: _response.rawResponse,
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* Delete an agent.
|
|
541
|
+
*
|
|
542
|
+
* <Tip>
|
|
543
|
+
* This endpoint requires additional permissions. Contact support to request access.
|
|
544
|
+
* </Tip>
|
|
545
|
+
*
|
|
546
|
+
* @param {string} organizationReferenceId - The ID of the organization.
|
|
547
|
+
* @param {string} agentReferenceId - The ID of the agent.
|
|
548
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
549
|
+
*
|
|
550
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
551
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
552
|
+
* @throws {@link MavenAGI.ServerError}
|
|
553
|
+
*
|
|
554
|
+
* @example
|
|
555
|
+
* await client.agents.delete("organizationReferenceId", "agentReferenceId")
|
|
556
|
+
*/
|
|
557
|
+
delete(organizationReferenceId, agentReferenceId, requestOptions) {
|
|
558
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(organizationReferenceId, agentReferenceId, requestOptions));
|
|
559
|
+
}
|
|
560
|
+
__delete(organizationReferenceId, agentReferenceId, requestOptions) {
|
|
561
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
562
|
+
var _a, _b, _c, _d;
|
|
563
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
564
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, `/v1/organizations/${encodeURIComponent(organizationReferenceId)}/agents/${encodeURIComponent(agentReferenceId)}`),
|
|
565
|
+
method: "DELETE",
|
|
566
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
567
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
568
|
+
"X-Organization-Id": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
|
|
569
|
+
"X-Agent-Id": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId,
|
|
570
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
571
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
572
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
573
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
574
|
+
});
|
|
575
|
+
if (_response.ok) {
|
|
576
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
577
|
+
}
|
|
578
|
+
if (_response.error.reason === "status-code") {
|
|
579
|
+
switch (_response.error.statusCode) {
|
|
580
|
+
case 404:
|
|
581
|
+
throw new MavenAGI.NotFoundError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
582
|
+
unrecognizedObjectKeys: "passthrough",
|
|
583
|
+
allowUnrecognizedUnionMembers: true,
|
|
584
|
+
allowUnrecognizedEnumValues: true,
|
|
585
|
+
breadcrumbsPrefix: ["response"],
|
|
586
|
+
}), _response.rawResponse);
|
|
587
|
+
case 400:
|
|
588
|
+
throw new MavenAGI.BadRequestError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
589
|
+
unrecognizedObjectKeys: "passthrough",
|
|
590
|
+
allowUnrecognizedUnionMembers: true,
|
|
591
|
+
allowUnrecognizedEnumValues: true,
|
|
592
|
+
breadcrumbsPrefix: ["response"],
|
|
593
|
+
}), _response.rawResponse);
|
|
594
|
+
case 500:
|
|
595
|
+
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
596
|
+
unrecognizedObjectKeys: "passthrough",
|
|
597
|
+
allowUnrecognizedUnionMembers: true,
|
|
598
|
+
allowUnrecognizedEnumValues: true,
|
|
599
|
+
breadcrumbsPrefix: ["response"],
|
|
600
|
+
}), _response.rawResponse);
|
|
601
|
+
default:
|
|
602
|
+
throw new errors.MavenAGIError({
|
|
603
|
+
statusCode: _response.error.statusCode,
|
|
604
|
+
body: _response.error.body,
|
|
605
|
+
rawResponse: _response.rawResponse,
|
|
606
|
+
});
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
switch (_response.error.reason) {
|
|
610
|
+
case "non-json":
|
|
611
|
+
throw new errors.MavenAGIError({
|
|
612
|
+
statusCode: _response.error.statusCode,
|
|
613
|
+
body: _response.error.rawBody,
|
|
614
|
+
rawResponse: _response.rawResponse,
|
|
615
|
+
});
|
|
616
|
+
case "timeout":
|
|
617
|
+
throw new errors.MavenAGITimeoutError("Timeout exceeded when calling DELETE /v1/organizations/{organizationReferenceId}/agents/{agentReferenceId}.");
|
|
618
|
+
case "unknown":
|
|
619
|
+
throw new errors.MavenAGIError({
|
|
620
|
+
message: _response.error.errorMessage,
|
|
621
|
+
rawResponse: _response.rawResponse,
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
});
|
|
625
|
+
}
|
|
337
626
|
_getAuthorizationHeader() {
|
|
338
627
|
return __awaiter(this, void 0, void 0, function* () {
|
|
339
628
|
var _a, _b;
|
|
@@ -11,4 +11,14 @@ export interface Agent {
|
|
|
11
11
|
createdAt: Date;
|
|
12
12
|
/** The environment of the agent. Default is `DEMO`. */
|
|
13
13
|
environment: MavenAGI.AgentEnvironment;
|
|
14
|
+
/**
|
|
15
|
+
* The PII categories that are enabled for the agent.
|
|
16
|
+
* PII will be automatically redacted from all conversation message text.
|
|
17
|
+
* Attachments and form submissions are not affected.
|
|
18
|
+
*
|
|
19
|
+
* Defaults to `AbaRoutingNumber`, `CreditCardNumber`, `IpAddress`, `PhoneNumber`, `SwiftCode`,
|
|
20
|
+
* `UsBankAccountNumber`, `UsDriversLicenseNumber`, `UsIndividualTaxpayerIdentification`,
|
|
21
|
+
* `UsUkPassportNumber`, `UsSocialSecurityNumber`.
|
|
22
|
+
*/
|
|
23
|
+
enabledPiiCategories: Set<MavenAGI.PiiCategory>;
|
|
14
24
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export interface AgentPatchRequest {
|
|
6
|
+
/** The name of the agent. */
|
|
7
|
+
name?: string;
|
|
8
|
+
/** The environment of the agent. */
|
|
9
|
+
environment?: MavenAGI.AgentEnvironment;
|
|
10
|
+
/** The PII categories that are enabled for the agent. */
|
|
11
|
+
enabledPiiCategories?: Set<MavenAGI.PiiCategory>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export interface CreateAgentRequest {
|
|
6
|
+
/** The name of the agent. */
|
|
7
|
+
name: string;
|
|
8
|
+
/** The environment of the agent. */
|
|
9
|
+
environment: MavenAGI.AgentEnvironment;
|
|
10
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type PiiCategory = "Name" | "Email" | "PhoneNumber" | "StreetAddress" | "CreditCardNumber" | "UsBankAccountNumber" | "UsSocialSecurityNumber" | "UsUkPassportNumber" | "UsDriversLicenseNumber" | "Date" | "IpAddress" | "Url" | "AbaRoutingNumber" | "Age" | "SwiftCode" | "AuBankAccountNumber" | "AuBusinessNumber" | "AuCompanyNumber" | "AuDriversLicenseNumber" | "AuMedicalAccountNumber" | "AuPassportNumber" | "AuTaxFileNumber" | "CaBankAccountNumber" | "CaDriversLicenseNumber" | "CaHealthServiceNumber" | "CaPassportNumber" | "CaPersonalHealthIdentification" | "CaSocialInsuranceNumber" | "EsDni" | "EsSocialSecurityNumber" | "EsTaxIdentificationNumber" | "EuDebitCardNumber" | "EuDriversLicenseNumber" | "EuGpsCoordinates" | "EuNationalIdentificationNumber" | "EuPassportNumber" | "EuSocialSecurityNumber" | "EuTaxIdentificationNumber" | "FrDriversLicenseNumber" | "FrHealthInsuranceNumber" | "FrNationalId" | "FrPassportNumber" | "FrSocialSecurityNumber" | "FrTaxIdentificationNumber" | "FrValueAddedTaxNumber" | "InternationalBankingAccountNumber" | "NzBankAccountNumber" | "NzDriversLicenseNumber" | "NzInlandRevenueNumber" | "NzMinistryOfHealthNumber" | "NzSocialWelfareNumber" | "UkDriversLicenseNumber" | "UkElectoralRollNumber" | "UkNationalHealthNumber" | "UkNationalInsuranceNumber" | "UkUniqueTaxpayerNumber" | "UsIndividualTaxpayerIdentification";
|
|
5
|
+
export declare const PiiCategory: {
|
|
6
|
+
readonly Name: "Name";
|
|
7
|
+
readonly Email: "Email";
|
|
8
|
+
readonly PhoneNumber: "PhoneNumber";
|
|
9
|
+
readonly StreetAddress: "StreetAddress";
|
|
10
|
+
readonly CreditCardNumber: "CreditCardNumber";
|
|
11
|
+
readonly UsBankAccountNumber: "UsBankAccountNumber";
|
|
12
|
+
readonly UsSocialSecurityNumber: "UsSocialSecurityNumber";
|
|
13
|
+
readonly UsUkPassportNumber: "UsUkPassportNumber";
|
|
14
|
+
readonly UsDriversLicenseNumber: "UsDriversLicenseNumber";
|
|
15
|
+
readonly Date: "Date";
|
|
16
|
+
readonly IpAddress: "IpAddress";
|
|
17
|
+
readonly Url: "Url";
|
|
18
|
+
readonly AbaRoutingNumber: "AbaRoutingNumber";
|
|
19
|
+
readonly Age: "Age";
|
|
20
|
+
readonly SwiftCode: "SwiftCode";
|
|
21
|
+
readonly AuBankAccountNumber: "AuBankAccountNumber";
|
|
22
|
+
readonly AuBusinessNumber: "AuBusinessNumber";
|
|
23
|
+
readonly AuCompanyNumber: "AuCompanyNumber";
|
|
24
|
+
readonly AuDriversLicenseNumber: "AuDriversLicenseNumber";
|
|
25
|
+
readonly AuMedicalAccountNumber: "AuMedicalAccountNumber";
|
|
26
|
+
readonly AuPassportNumber: "AuPassportNumber";
|
|
27
|
+
readonly AuTaxFileNumber: "AuTaxFileNumber";
|
|
28
|
+
readonly CaBankAccountNumber: "CaBankAccountNumber";
|
|
29
|
+
readonly CaDriversLicenseNumber: "CaDriversLicenseNumber";
|
|
30
|
+
readonly CaHealthServiceNumber: "CaHealthServiceNumber";
|
|
31
|
+
readonly CaPassportNumber: "CaPassportNumber";
|
|
32
|
+
readonly CaPersonalHealthIdentification: "CaPersonalHealthIdentification";
|
|
33
|
+
readonly CaSocialInsuranceNumber: "CaSocialInsuranceNumber";
|
|
34
|
+
readonly EsDni: "EsDni";
|
|
35
|
+
readonly EsSocialSecurityNumber: "EsSocialSecurityNumber";
|
|
36
|
+
readonly EsTaxIdentificationNumber: "EsTaxIdentificationNumber";
|
|
37
|
+
readonly EuDebitCardNumber: "EuDebitCardNumber";
|
|
38
|
+
readonly EuDriversLicenseNumber: "EuDriversLicenseNumber";
|
|
39
|
+
readonly EuGpsCoordinates: "EuGpsCoordinates";
|
|
40
|
+
readonly EuNationalIdentificationNumber: "EuNationalIdentificationNumber";
|
|
41
|
+
readonly EuPassportNumber: "EuPassportNumber";
|
|
42
|
+
readonly EuSocialSecurityNumber: "EuSocialSecurityNumber";
|
|
43
|
+
readonly EuTaxIdentificationNumber: "EuTaxIdentificationNumber";
|
|
44
|
+
readonly FrDriversLicenseNumber: "FrDriversLicenseNumber";
|
|
45
|
+
readonly FrHealthInsuranceNumber: "FrHealthInsuranceNumber";
|
|
46
|
+
readonly FrNationalId: "FrNationalId";
|
|
47
|
+
readonly FrPassportNumber: "FrPassportNumber";
|
|
48
|
+
readonly FrSocialSecurityNumber: "FrSocialSecurityNumber";
|
|
49
|
+
readonly FrTaxIdentificationNumber: "FrTaxIdentificationNumber";
|
|
50
|
+
readonly FrValueAddedTaxNumber: "FrValueAddedTaxNumber";
|
|
51
|
+
readonly InternationalBankingAccountNumber: "InternationalBankingAccountNumber";
|
|
52
|
+
readonly NzBankAccountNumber: "NzBankAccountNumber";
|
|
53
|
+
readonly NzDriversLicenseNumber: "NzDriversLicenseNumber";
|
|
54
|
+
readonly NzInlandRevenueNumber: "NzInlandRevenueNumber";
|
|
55
|
+
readonly NzMinistryOfHealthNumber: "NzMinistryOfHealthNumber";
|
|
56
|
+
readonly NzSocialWelfareNumber: "NzSocialWelfareNumber";
|
|
57
|
+
readonly UkDriversLicenseNumber: "UkDriversLicenseNumber";
|
|
58
|
+
readonly UkElectoralRollNumber: "UkElectoralRollNumber";
|
|
59
|
+
readonly UkNationalHealthNumber: "UkNationalHealthNumber";
|
|
60
|
+
readonly UkNationalInsuranceNumber: "UkNationalInsuranceNumber";
|
|
61
|
+
readonly UkUniqueTaxpayerNumber: "UkUniqueTaxpayerNumber";
|
|
62
|
+
readonly UsIndividualTaxpayerIdentification: "UsIndividualTaxpayerIdentification";
|
|
63
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PiiCategory = void 0;
|
|
7
|
+
exports.PiiCategory = {
|
|
8
|
+
Name: "Name",
|
|
9
|
+
Email: "Email",
|
|
10
|
+
PhoneNumber: "PhoneNumber",
|
|
11
|
+
StreetAddress: "StreetAddress",
|
|
12
|
+
CreditCardNumber: "CreditCardNumber",
|
|
13
|
+
UsBankAccountNumber: "UsBankAccountNumber",
|
|
14
|
+
UsSocialSecurityNumber: "UsSocialSecurityNumber",
|
|
15
|
+
UsUkPassportNumber: "UsUkPassportNumber",
|
|
16
|
+
UsDriversLicenseNumber: "UsDriversLicenseNumber",
|
|
17
|
+
Date: "Date",
|
|
18
|
+
IpAddress: "IpAddress",
|
|
19
|
+
Url: "Url",
|
|
20
|
+
AbaRoutingNumber: "AbaRoutingNumber",
|
|
21
|
+
Age: "Age",
|
|
22
|
+
SwiftCode: "SwiftCode",
|
|
23
|
+
AuBankAccountNumber: "AuBankAccountNumber",
|
|
24
|
+
AuBusinessNumber: "AuBusinessNumber",
|
|
25
|
+
AuCompanyNumber: "AuCompanyNumber",
|
|
26
|
+
AuDriversLicenseNumber: "AuDriversLicenseNumber",
|
|
27
|
+
AuMedicalAccountNumber: "AuMedicalAccountNumber",
|
|
28
|
+
AuPassportNumber: "AuPassportNumber",
|
|
29
|
+
AuTaxFileNumber: "AuTaxFileNumber",
|
|
30
|
+
CaBankAccountNumber: "CaBankAccountNumber",
|
|
31
|
+
CaDriversLicenseNumber: "CaDriversLicenseNumber",
|
|
32
|
+
CaHealthServiceNumber: "CaHealthServiceNumber",
|
|
33
|
+
CaPassportNumber: "CaPassportNumber",
|
|
34
|
+
CaPersonalHealthIdentification: "CaPersonalHealthIdentification",
|
|
35
|
+
CaSocialInsuranceNumber: "CaSocialInsuranceNumber",
|
|
36
|
+
EsDni: "EsDni",
|
|
37
|
+
EsSocialSecurityNumber: "EsSocialSecurityNumber",
|
|
38
|
+
EsTaxIdentificationNumber: "EsTaxIdentificationNumber",
|
|
39
|
+
EuDebitCardNumber: "EuDebitCardNumber",
|
|
40
|
+
EuDriversLicenseNumber: "EuDriversLicenseNumber",
|
|
41
|
+
EuGpsCoordinates: "EuGpsCoordinates",
|
|
42
|
+
EuNationalIdentificationNumber: "EuNationalIdentificationNumber",
|
|
43
|
+
EuPassportNumber: "EuPassportNumber",
|
|
44
|
+
EuSocialSecurityNumber: "EuSocialSecurityNumber",
|
|
45
|
+
EuTaxIdentificationNumber: "EuTaxIdentificationNumber",
|
|
46
|
+
FrDriversLicenseNumber: "FrDriversLicenseNumber",
|
|
47
|
+
FrHealthInsuranceNumber: "FrHealthInsuranceNumber",
|
|
48
|
+
FrNationalId: "FrNationalId",
|
|
49
|
+
FrPassportNumber: "FrPassportNumber",
|
|
50
|
+
FrSocialSecurityNumber: "FrSocialSecurityNumber",
|
|
51
|
+
FrTaxIdentificationNumber: "FrTaxIdentificationNumber",
|
|
52
|
+
FrValueAddedTaxNumber: "FrValueAddedTaxNumber",
|
|
53
|
+
InternationalBankingAccountNumber: "InternationalBankingAccountNumber",
|
|
54
|
+
NzBankAccountNumber: "NzBankAccountNumber",
|
|
55
|
+
NzDriversLicenseNumber: "NzDriversLicenseNumber",
|
|
56
|
+
NzInlandRevenueNumber: "NzInlandRevenueNumber",
|
|
57
|
+
NzMinistryOfHealthNumber: "NzMinistryOfHealthNumber",
|
|
58
|
+
NzSocialWelfareNumber: "NzSocialWelfareNumber",
|
|
59
|
+
UkDriversLicenseNumber: "UkDriversLicenseNumber",
|
|
60
|
+
UkElectoralRollNumber: "UkElectoralRollNumber",
|
|
61
|
+
UkNationalHealthNumber: "UkNationalHealthNumber",
|
|
62
|
+
UkNationalInsuranceNumber: "UkNationalInsuranceNumber",
|
|
63
|
+
UkUniqueTaxpayerNumber: "UkUniqueTaxpayerNumber",
|
|
64
|
+
UsIndividualTaxpayerIdentification: "UsIndividualTaxpayerIdentification",
|
|
65
|
+
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
export * from "./PiiCategory";
|
|
1
2
|
export * from "./AgentEnvironment";
|
|
2
3
|
export * from "./Agent";
|
|
4
|
+
export * from "./CreateAgentRequest";
|
|
5
|
+
export * from "./AgentPatchRequest";
|
|
3
6
|
export * from "./AgentsSearchRequest";
|
|
4
7
|
export * from "./AgentField";
|
|
5
8
|
export * from "./AgentFilter";
|
|
@@ -14,8 +14,11 @@ 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("./PiiCategory"), exports);
|
|
17
18
|
__exportStar(require("./AgentEnvironment"), exports);
|
|
18
19
|
__exportStar(require("./Agent"), exports);
|
|
20
|
+
__exportStar(require("./CreateAgentRequest"), exports);
|
|
21
|
+
__exportStar(require("./AgentPatchRequest"), exports);
|
|
19
22
|
__exportStar(require("./AgentsSearchRequest"), exports);
|
|
20
23
|
__exportStar(require("./AgentField"), exports);
|
|
21
24
|
__exportStar(require("./AgentFilter"), exports);
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
import * as MavenAGI from "../../../index";
|
|
7
|
+
export declare namespace Assets {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
appId?: core.Supplier<string | undefined>;
|
|
13
|
+
appSecret?: core.Supplier<string | undefined>;
|
|
14
|
+
/** Override the X-Organization-Id header */
|
|
15
|
+
organizationId: core.Supplier<string>;
|
|
16
|
+
/** Override the X-Agent-Id header */
|
|
17
|
+
agentId: core.Supplier<string>;
|
|
18
|
+
/** Additional headers to include in requests. */
|
|
19
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
20
|
+
fetcher?: core.FetchFunction;
|
|
21
|
+
}
|
|
22
|
+
interface RequestOptions {
|
|
23
|
+
/** The maximum time to wait for a response in seconds. */
|
|
24
|
+
timeoutInSeconds?: number;
|
|
25
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
26
|
+
maxRetries?: number;
|
|
27
|
+
/** A hook to abort the request. */
|
|
28
|
+
abortSignal?: AbortSignal;
|
|
29
|
+
/** Override the X-Organization-Id header */
|
|
30
|
+
organizationId?: string;
|
|
31
|
+
/** Override the X-Agent-Id header */
|
|
32
|
+
agentId?: string;
|
|
33
|
+
/** Additional headers to include in the request. */
|
|
34
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
export declare class Assets {
|
|
38
|
+
protected readonly _options: Assets.Options;
|
|
39
|
+
constructor(_options: Assets.Options);
|
|
40
|
+
/**
|
|
41
|
+
* Initiate an upload.
|
|
42
|
+
* Returns a pre-signed URL for direct file upload and an asset ID for subsequent operations.
|
|
43
|
+
*
|
|
44
|
+
* @param {MavenAGI.InitiateAssetUploadRequest} request
|
|
45
|
+
* @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
48
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
49
|
+
* @throws {@link MavenAGI.ServerError}
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* await client.assets.initiateUpload({
|
|
53
|
+
* type: "type"
|
|
54
|
+
* })
|
|
55
|
+
*/
|
|
56
|
+
initiateUpload(request: MavenAGI.InitiateAssetUploadRequest, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<MavenAGI.InitiateAssetUploadResponse>;
|
|
57
|
+
private __initiateUpload;
|
|
58
|
+
/**
|
|
59
|
+
* Commit an upload after successful file transfer.
|
|
60
|
+
* Updates the asset status and makes it available for use.
|
|
61
|
+
*
|
|
62
|
+
* @param {string} assetReferenceId - The reference ID of the asset to commit (provided by the initiate call). All other entity ID fields are inferred from the API request.
|
|
63
|
+
* @param {MavenAGI.CommitAssetUploadRequest} request
|
|
64
|
+
* @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
67
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
68
|
+
* @throws {@link MavenAGI.ServerError}
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* await client.assets.commitUpload("assetReferenceId", {})
|
|
72
|
+
*/
|
|
73
|
+
commitUpload(assetReferenceId: string, request: MavenAGI.CommitAssetUploadRequest, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<void>;
|
|
74
|
+
private __commitUpload;
|
|
75
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
76
|
+
}
|