mavenagi 1.0.4 → 1.0.5
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 +9 -7
- package/Client.js +19 -15
- package/README.md +29 -13
- package/api/index.js +17 -1
- package/api/resources/actions/client/Client.d.ts +2 -0
- package/api/resources/actions/client/Client.js +46 -46
- package/api/resources/actions/client/index.js +2 -1
- package/api/resources/actions/index.js +18 -2
- package/api/resources/actions/types/ActionRequest.js +2 -1
- package/api/resources/actions/types/index.d.ts +0 -12
- package/api/resources/actions/types/index.js +17 -13
- package/api/resources/appSettings/client/Client.d.ts +2 -0
- package/api/resources/appSettings/client/Client.js +40 -20
- package/api/resources/appSettings/client/index.js +2 -1
- package/api/resources/appSettings/index.js +17 -1
- package/api/resources/commons/errors/BadRequestError.js +29 -2
- package/api/resources/commons/errors/NotFoundError.js +29 -2
- package/api/resources/commons/errors/ServerError.js +29 -2
- package/api/resources/commons/errors/index.js +19 -3
- package/api/resources/commons/index.js +18 -2
- package/api/resources/commons/types/ActionBase.js +5 -0
- package/api/resources/commons/types/ActionEnumOption.d.ts +9 -0
- package/api/resources/commons/types/ActionEnumOption.js +5 -0
- package/api/resources/commons/types/ActionFormField.d.ts +20 -0
- package/api/resources/commons/types/ActionFormField.js +5 -0
- package/api/resources/commons/types/ActionParameter.d.ts +18 -0
- package/api/resources/commons/types/ActionParameter.js +5 -0
- package/api/resources/commons/types/ActionParameterType.js +4 -1
- package/api/resources/commons/types/ActionResponse.js +5 -0
- package/api/resources/commons/types/AppUser.js +2 -1
- package/api/resources/commons/types/AppUserIdentifier.js +2 -1
- package/api/resources/commons/types/AppUserIdentifyingPropertyType.js +4 -1
- package/api/resources/commons/types/AppUserRequest.js +2 -1
- package/api/resources/commons/types/AppUserResponse.js +2 -1
- package/api/resources/commons/types/BotActionFormResponse.js +5 -0
- package/api/resources/commons/types/BotChartResponse.js +5 -0
- package/api/resources/{conversation → commons}/types/BotConversationMessageType.d.ts +1 -2
- package/api/resources/commons/types/BotConversationMessageType.js +10 -0
- package/api/resources/commons/types/BotMessage.js +5 -0
- package/api/resources/{conversation → commons}/types/BotResponse.d.ts +1 -4
- package/api/resources/commons/types/BotResponse.js +5 -0
- package/api/resources/commons/types/BotResponseMetadata.js +5 -0
- package/api/resources/commons/types/BotTextResponse.js +5 -0
- package/{dist/api/resources/conversation → api/resources/commons}/types/Capability.js +4 -1
- package/api/resources/commons/types/ChartSpecSchema.js +9 -0
- package/api/resources/commons/types/ConversationAnalysis.js +5 -0
- package/api/resources/commons/types/ConversationBase.js +5 -0
- package/api/resources/commons/types/ConversationExecutedActionPrecondition.js +5 -0
- package/api/resources/commons/types/ConversationMessageBase.js +5 -0
- package/api/resources/commons/types/ConversationMessageResponse.js +5 -0
- package/api/resources/commons/types/ConversationPrecondition.js +5 -0
- package/api/resources/commons/types/ConversationResponse.js +5 -0
- package/api/resources/commons/types/EntityId.js +2 -1
- package/api/resources/commons/types/EntityIdBase.js +2 -1
- package/api/resources/commons/types/EntityType.js +4 -1
- package/api/resources/commons/types/ErrorMessage.js +2 -1
- package/api/resources/commons/types/EventTriggerBase.js +2 -1
- package/api/resources/commons/types/EventTriggerResponse.js +2 -1
- package/api/resources/commons/types/EventTriggerType.js +4 -1
- package/api/resources/commons/types/Feedback.js +2 -1
- package/api/resources/commons/types/FeedbackBase.js +2 -1
- package/api/resources/commons/types/FeedbackType.js +4 -1
- package/api/resources/commons/types/MetadataPrecondition.js +5 -0
- package/api/resources/commons/types/Precondition.js +5 -0
- package/api/resources/commons/types/PreconditionBase.js +5 -0
- package/api/resources/commons/types/PreconditionGroup.js +5 -0
- package/api/resources/commons/types/PreconditionGroupOperator.js +10 -0
- package/api/resources/commons/types/PreconditionOperator.js +9 -0
- package/api/resources/commons/types/ResponseConfig.js +5 -0
- package/api/resources/commons/types/ResponseLength.js +11 -0
- package/api/resources/{conversation → commons}/types/Sentiment.js +4 -1
- package/api/resources/commons/types/Source.js +5 -0
- package/api/resources/commons/types/TagsPrecondition.js +5 -0
- package/api/resources/{conversation → commons}/types/UserConversationMessageType.js +4 -1
- package/api/resources/commons/types/UserData.js +2 -1
- package/api/resources/commons/types/UserMessage.js +5 -0
- package/api/resources/commons/types/UserMessageAttachment.js +5 -0
- package/api/resources/commons/types/UserMessageBase.js +5 -0
- package/api/resources/commons/types/VisibilityType.js +4 -1
- package/api/resources/commons/types/index.d.ts +36 -0
- package/api/resources/commons/types/index.js +70 -18
- package/api/resources/conversation/client/Client.d.ts +7 -1
- package/api/resources/conversation/client/Client.js +72 -138
- package/api/resources/conversation/client/index.js +17 -1
- package/api/resources/conversation/client/requests/ConversationGetRequest.js +2 -1
- package/api/resources/conversation/client/requests/index.js +2 -1
- package/api/resources/conversation/index.js +18 -2
- package/api/resources/conversation/types/AskRequest.d.ts +7 -1
- package/api/resources/conversation/types/AskRequest.js +2 -1
- package/api/resources/conversation/types/AskStreamActionEvent.js +2 -1
- package/api/resources/conversation/types/AskStreamChartEvent.js +2 -1
- package/api/resources/conversation/types/AskStreamEndEvent.js +2 -1
- package/api/resources/conversation/types/AskStreamMetadataEvent.js +2 -1
- package/api/resources/conversation/types/AskStreamStartEvent.js +2 -1
- package/api/resources/conversation/types/AskStreamTextEvent.js +2 -1
- package/api/resources/conversation/types/Attachment.d.ts +1 -1
- package/api/resources/conversation/types/Attachment.js +2 -1
- package/api/resources/conversation/types/CategorizationResponse.js +2 -1
- package/api/resources/conversation/types/ConversationMessageRequest.js +2 -1
- package/api/resources/conversation/types/ConversationRequest.js +2 -1
- package/api/resources/conversation/types/FeedbackRequest.js +2 -1
- package/api/resources/conversation/types/GenerateMavenSuggestionsRequest.js +2 -1
- package/api/resources/conversation/types/StreamResponse.js +2 -1
- package/api/resources/conversation/types/SubmitActionFormRequest.d.ts +2 -0
- package/api/resources/conversation/types/SubmitActionFormRequest.js +2 -1
- package/api/resources/conversation/types/index.d.ts +0 -24
- package/api/resources/conversation/types/index.js +31 -39
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +46 -16
- package/api/resources/knowledge/client/Client.d.ts +2 -0
- package/api/resources/knowledge/client/Client.js +58 -98
- package/api/resources/knowledge/client/index.js +2 -1
- package/api/resources/knowledge/index.js +18 -2
- package/api/resources/knowledge/types/BaseKnowledgeDocument.js +2 -1
- package/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseProperties.js +2 -1
- package/api/resources/knowledge/types/KnowledgeBaseRequest.js +2 -1
- package/api/resources/knowledge/types/KnowledgeBaseResponse.js +2 -1
- package/api/resources/knowledge/types/KnowledgeBaseType.js +4 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersion.js +2 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersionType.js +4 -1
- package/api/resources/knowledge/types/KnowledgeDocumentContentType.js +4 -1
- package/api/resources/knowledge/types/KnowledgeDocumentRequest.js +2 -1
- package/api/resources/knowledge/types/KnowledgeDocumentResponse.js +2 -1
- package/api/resources/knowledge/types/index.js +26 -10
- package/api/resources/translations/client/Client.d.ts +2 -0
- package/api/resources/translations/client/Client.js +40 -20
- package/api/resources/translations/client/index.js +2 -1
- package/api/resources/translations/index.js +18 -2
- package/api/resources/translations/types/TranslationRequest.js +2 -1
- package/api/resources/translations/types/TranslationResponse.js +2 -1
- package/api/resources/translations/types/index.js +18 -2
- package/api/resources/triggers/client/Client.d.ts +2 -0
- package/api/resources/triggers/client/Client.js +46 -46
- package/api/resources/triggers/client/index.js +2 -1
- package/api/resources/triggers/index.js +18 -2
- package/api/resources/triggers/types/EventTriggerRequest.js +2 -1
- package/api/resources/triggers/types/index.js +17 -1
- package/api/resources/users/client/Client.d.ts +4 -1
- package/api/resources/users/client/Client.js +51 -34
- package/api/resources/users/client/index.d.ts +1 -1
- package/api/resources/users/client/index.js +17 -1
- package/api/resources/users/client/requests/UserGetRequest.d.ts +13 -0
- package/api/resources/users/client/requests/UserGetRequest.js +5 -0
- package/api/resources/users/client/requests/index.d.ts +1 -0
- package/api/resources/users/client/requests/index.js +2 -0
- package/api/resources/users/index.js +17 -1
- package/core/auth/BasicAuth.js +7 -4
- package/core/auth/BearerToken.js +4 -1
- package/core/auth/index.js +7 -2
- package/core/fetcher/APIResponse.js +2 -1
- package/core/fetcher/Fetcher.d.ts +1 -1
- package/core/fetcher/Fetcher.js +18 -14
- package/core/fetcher/Supplier.js +4 -1
- package/core/fetcher/createRequestUrl.js +10 -3
- package/core/fetcher/getFetchFn.js +33 -6
- package/core/fetcher/getHeader.js +5 -1
- package/core/fetcher/getRequestBody.js +5 -1
- package/core/fetcher/getResponseBody.js +10 -3
- package/core/fetcher/index.js +9 -3
- package/core/fetcher/makeRequest.js +8 -4
- package/core/fetcher/requestWithRetries.js +18 -5
- package/core/fetcher/signals.js +7 -2
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +5 -1
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +5 -1
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +5 -1
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +34 -7
- package/core/index.js +34 -5
- package/core/runtime/index.js +5 -1
- package/core/runtime/runtime.js +4 -1
- package/core/schemas/Schema.js +4 -1
- package/core/schemas/builders/bigint/bigint.js +13 -9
- package/core/schemas/builders/bigint/index.js +5 -1
- package/core/schemas/builders/date/date.js +14 -10
- package/core/schemas/builders/date/index.js +5 -1
- package/core/schemas/builders/enum/enum.js +11 -7
- package/core/schemas/builders/enum/index.js +5 -1
- package/core/schemas/builders/index.js +30 -14
- package/core/schemas/builders/lazy/index.js +7 -2
- package/core/schemas/builders/lazy/lazy.js +11 -5
- package/core/schemas/builders/lazy/lazyObject.js +11 -7
- package/core/schemas/builders/list/index.js +5 -1
- package/core/schemas/builders/list/list.js +12 -8
- package/core/schemas/builders/literals/booleanLiteral.js +10 -6
- package/core/schemas/builders/literals/index.js +7 -2
- package/core/schemas/builders/literals/stringLiteral.js +10 -6
- package/core/schemas/builders/object/index.js +11 -3
- package/core/schemas/builders/object/object.js +66 -33
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +7 -3
- package/core/schemas/builders/object/property.js +7 -2
- package/core/schemas/builders/object/types.d.ts +5 -0
- package/core/schemas/builders/object/types.js +2 -1
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +15 -10
- package/core/schemas/builders/object-like/index.js +6 -1
- package/core/schemas/builders/object-like/types.js +2 -1
- package/core/schemas/builders/primitives/any.js +6 -3
- package/core/schemas/builders/primitives/boolean.js +8 -5
- package/core/schemas/builders/primitives/index.js +13 -5
- package/core/schemas/builders/primitives/number.js +8 -5
- package/core/schemas/builders/primitives/string.js +8 -5
- package/core/schemas/builders/primitives/unknown.js +6 -3
- package/core/schemas/builders/record/index.js +5 -1
- package/core/schemas/builders/record/record.js +18 -14
- package/core/schemas/builders/record/types.js +2 -1
- package/core/schemas/builders/schema-utils/JsonError.js +7 -3
- package/core/schemas/builders/schema-utils/ParseError.js +7 -3
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +15 -9
- package/core/schemas/builders/schema-utils/index.js +11 -3
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +5 -1
- package/core/schemas/builders/set/index.js +5 -1
- package/core/schemas/builders/set/set.js +14 -10
- package/core/schemas/builders/undiscriminated-union/index.js +5 -1
- package/core/schemas/builders/undiscriminated-union/types.js +2 -1
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +10 -6
- package/core/schemas/builders/union/discriminant.js +5 -1
- package/core/schemas/builders/union/index.js +7 -2
- package/core/schemas/builders/union/types.js +2 -1
- package/core/schemas/builders/union/union.js +18 -14
- package/core/schemas/index.js +17 -1
- package/core/schemas/utils/MaybePromise.js +2 -1
- package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -1
- package/core/schemas/utils/createIdentitySchemaCreator.js +8 -4
- package/core/schemas/utils/entries.js +5 -1
- package/core/schemas/utils/filterObject.js +5 -1
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +5 -1
- package/core/schemas/utils/isPlainObject.js +5 -1
- package/core/schemas/utils/keys.js +5 -1
- package/core/schemas/utils/maybeSkipValidation.js +5 -1
- package/core/schemas/utils/partition.js +5 -1
- package/core/streaming-fetcher/Stream.js +9 -4
- package/core/streaming-fetcher/index.js +5 -1
- package/dist/Client.d.ts +9 -7
- package/dist/Client.js +19 -15
- package/dist/api/index.js +17 -1
- package/dist/api/resources/actions/client/Client.d.ts +2 -0
- package/dist/api/resources/actions/client/Client.js +46 -46
- package/dist/api/resources/actions/client/index.js +2 -1
- package/dist/api/resources/actions/index.js +18 -2
- package/dist/api/resources/actions/types/ActionRequest.js +2 -1
- package/dist/api/resources/actions/types/index.d.ts +0 -12
- package/dist/api/resources/actions/types/index.js +17 -13
- package/dist/api/resources/appSettings/client/Client.d.ts +2 -0
- package/dist/api/resources/appSettings/client/Client.js +40 -20
- package/dist/api/resources/appSettings/client/index.js +2 -1
- package/dist/api/resources/appSettings/index.js +17 -1
- package/dist/api/resources/commons/errors/BadRequestError.js +29 -2
- package/dist/api/resources/commons/errors/NotFoundError.js +29 -2
- package/dist/api/resources/commons/errors/ServerError.js +29 -2
- package/dist/api/resources/commons/errors/index.js +19 -3
- package/dist/api/resources/commons/index.js +18 -2
- package/dist/api/resources/commons/types/ActionBase.js +5 -0
- package/dist/api/resources/commons/types/ActionEnumOption.d.ts +9 -0
- package/dist/api/resources/commons/types/ActionEnumOption.js +5 -0
- package/dist/api/resources/commons/types/ActionFormField.d.ts +20 -0
- package/dist/api/resources/commons/types/ActionFormField.js +5 -0
- package/dist/api/resources/commons/types/ActionParameter.d.ts +18 -0
- package/dist/api/resources/commons/types/ActionParameter.js +5 -0
- package/dist/api/resources/commons/types/ActionParameterType.js +4 -1
- package/dist/api/resources/commons/types/ActionResponse.js +5 -0
- package/dist/api/resources/commons/types/AppUser.js +2 -1
- package/dist/api/resources/commons/types/AppUserIdentifier.js +2 -1
- package/dist/api/resources/commons/types/AppUserIdentifyingPropertyType.js +4 -1
- package/dist/api/resources/commons/types/AppUserRequest.js +2 -1
- package/dist/api/resources/commons/types/AppUserResponse.js +2 -1
- package/dist/api/resources/commons/types/BotActionFormResponse.js +5 -0
- package/dist/api/resources/commons/types/BotChartResponse.js +5 -0
- package/dist/api/resources/{conversation → commons}/types/BotConversationMessageType.d.ts +1 -2
- package/dist/api/resources/commons/types/BotConversationMessageType.js +10 -0
- package/dist/api/resources/commons/types/BotMessage.js +5 -0
- package/dist/api/resources/{conversation → commons}/types/BotResponse.d.ts +1 -4
- package/dist/api/resources/commons/types/BotResponse.js +5 -0
- package/dist/api/resources/commons/types/BotResponseMetadata.js +5 -0
- package/dist/api/resources/commons/types/BotTextResponse.js +5 -0
- package/{api/resources/conversation → dist/api/resources/commons}/types/Capability.js +4 -1
- package/dist/api/resources/commons/types/ChartSpecSchema.js +9 -0
- package/dist/api/resources/commons/types/ConversationAnalysis.js +5 -0
- package/dist/api/resources/commons/types/ConversationBase.js +5 -0
- package/dist/api/resources/commons/types/ConversationExecutedActionPrecondition.js +5 -0
- package/dist/api/resources/commons/types/ConversationMessageBase.js +5 -0
- package/dist/api/resources/commons/types/ConversationMessageResponse.js +5 -0
- package/dist/api/resources/commons/types/ConversationPrecondition.js +5 -0
- package/dist/api/resources/commons/types/ConversationResponse.js +5 -0
- package/dist/api/resources/commons/types/EntityId.js +2 -1
- package/dist/api/resources/commons/types/EntityIdBase.js +2 -1
- package/dist/api/resources/commons/types/EntityType.js +4 -1
- package/dist/api/resources/commons/types/ErrorMessage.js +2 -1
- package/dist/api/resources/commons/types/EventTriggerBase.js +2 -1
- package/dist/api/resources/commons/types/EventTriggerResponse.js +2 -1
- package/dist/api/resources/commons/types/EventTriggerType.js +4 -1
- package/dist/api/resources/commons/types/Feedback.js +2 -1
- package/dist/api/resources/commons/types/FeedbackBase.js +2 -1
- package/dist/api/resources/commons/types/FeedbackType.js +4 -1
- package/dist/api/resources/commons/types/MetadataPrecondition.js +5 -0
- package/dist/api/resources/commons/types/Precondition.js +5 -0
- package/dist/api/resources/commons/types/PreconditionBase.js +5 -0
- package/dist/api/resources/commons/types/PreconditionGroup.js +5 -0
- package/dist/api/resources/commons/types/PreconditionGroupOperator.js +10 -0
- package/dist/api/resources/commons/types/PreconditionOperator.js +9 -0
- package/dist/api/resources/commons/types/ResponseConfig.js +5 -0
- package/dist/api/resources/commons/types/ResponseLength.js +11 -0
- package/dist/api/resources/{conversation → commons}/types/Sentiment.js +4 -1
- package/dist/api/resources/commons/types/Source.js +5 -0
- package/dist/api/resources/commons/types/TagsPrecondition.js +5 -0
- package/dist/api/resources/{conversation → commons}/types/UserConversationMessageType.js +4 -1
- package/dist/api/resources/commons/types/UserData.js +2 -1
- package/dist/api/resources/commons/types/UserMessage.js +5 -0
- package/dist/api/resources/commons/types/UserMessageAttachment.js +5 -0
- package/dist/api/resources/commons/types/UserMessageBase.js +5 -0
- package/dist/api/resources/commons/types/VisibilityType.js +4 -1
- package/dist/api/resources/commons/types/index.d.ts +36 -0
- package/dist/api/resources/commons/types/index.js +70 -18
- package/dist/api/resources/conversation/client/Client.d.ts +7 -1
- package/dist/api/resources/conversation/client/Client.js +72 -138
- package/dist/api/resources/conversation/client/index.js +17 -1
- package/dist/api/resources/conversation/client/requests/ConversationGetRequest.js +2 -1
- package/dist/api/resources/conversation/client/requests/index.js +2 -1
- package/dist/api/resources/conversation/index.js +18 -2
- package/dist/api/resources/conversation/types/AskRequest.d.ts +7 -1
- package/dist/api/resources/conversation/types/AskRequest.js +2 -1
- package/dist/api/resources/conversation/types/AskStreamActionEvent.js +2 -1
- package/dist/api/resources/conversation/types/AskStreamChartEvent.js +2 -1
- package/dist/api/resources/conversation/types/AskStreamEndEvent.js +2 -1
- package/dist/api/resources/conversation/types/AskStreamMetadataEvent.js +2 -1
- package/dist/api/resources/conversation/types/AskStreamStartEvent.js +2 -1
- package/dist/api/resources/conversation/types/AskStreamTextEvent.js +2 -1
- package/dist/api/resources/conversation/types/Attachment.d.ts +1 -1
- package/dist/api/resources/conversation/types/Attachment.js +2 -1
- package/dist/api/resources/conversation/types/CategorizationResponse.js +2 -1
- package/dist/api/resources/conversation/types/ConversationMessageRequest.js +2 -1
- package/dist/api/resources/conversation/types/ConversationRequest.js +2 -1
- package/dist/api/resources/conversation/types/FeedbackRequest.js +2 -1
- package/dist/api/resources/conversation/types/GenerateMavenSuggestionsRequest.js +2 -1
- package/dist/api/resources/conversation/types/StreamResponse.js +2 -1
- package/dist/api/resources/conversation/types/SubmitActionFormRequest.d.ts +2 -0
- package/dist/api/resources/conversation/types/SubmitActionFormRequest.js +2 -1
- package/dist/api/resources/conversation/types/index.d.ts +0 -24
- package/dist/api/resources/conversation/types/index.js +31 -39
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +46 -16
- package/dist/api/resources/knowledge/client/Client.d.ts +2 -0
- package/dist/api/resources/knowledge/client/Client.js +58 -98
- package/dist/api/resources/knowledge/client/index.js +2 -1
- package/dist/api/resources/knowledge/index.js +18 -2
- package/dist/api/resources/knowledge/types/BaseKnowledgeDocument.js +2 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +2 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseProperties.js +2 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseRequest.js +2 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseResponse.js +2 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseType.js +4 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersion.js +2 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersionType.js +4 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentContentType.js +4 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentRequest.js +2 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentResponse.js +2 -1
- package/dist/api/resources/knowledge/types/index.js +26 -10
- package/dist/api/resources/translations/client/Client.d.ts +2 -0
- package/dist/api/resources/translations/client/Client.js +40 -20
- package/dist/api/resources/translations/client/index.js +2 -1
- package/dist/api/resources/translations/index.js +18 -2
- package/dist/api/resources/translations/types/TranslationRequest.js +2 -1
- package/dist/api/resources/translations/types/TranslationResponse.js +2 -1
- package/dist/api/resources/translations/types/index.js +18 -2
- package/dist/api/resources/triggers/client/Client.d.ts +2 -0
- package/dist/api/resources/triggers/client/Client.js +46 -46
- package/dist/api/resources/triggers/client/index.js +2 -1
- package/dist/api/resources/triggers/index.js +18 -2
- package/dist/api/resources/triggers/types/EventTriggerRequest.js +2 -1
- package/dist/api/resources/triggers/types/index.js +17 -1
- package/dist/api/resources/users/client/Client.d.ts +4 -1
- package/dist/api/resources/users/client/Client.js +51 -34
- package/dist/api/resources/users/client/index.d.ts +1 -1
- package/dist/api/resources/users/client/index.js +17 -1
- package/dist/api/resources/users/client/requests/UserGetRequest.d.ts +13 -0
- package/dist/api/resources/users/client/requests/UserGetRequest.js +5 -0
- package/dist/api/resources/users/client/requests/index.d.ts +1 -0
- package/dist/api/resources/users/client/requests/index.js +2 -0
- package/dist/api/resources/users/index.js +17 -1
- package/dist/core/auth/BasicAuth.js +7 -4
- package/dist/core/auth/BearerToken.js +4 -1
- package/dist/core/auth/index.js +7 -2
- package/dist/core/fetcher/APIResponse.js +2 -1
- package/dist/core/fetcher/Fetcher.d.ts +1 -1
- package/dist/core/fetcher/Fetcher.js +18 -14
- package/dist/core/fetcher/Supplier.js +4 -1
- package/dist/core/fetcher/createRequestUrl.js +10 -3
- package/dist/core/fetcher/getFetchFn.js +33 -6
- package/dist/core/fetcher/getHeader.js +5 -1
- package/dist/core/fetcher/getRequestBody.js +5 -1
- package/dist/core/fetcher/getResponseBody.js +10 -3
- package/dist/core/fetcher/index.js +9 -3
- package/dist/core/fetcher/makeRequest.js +8 -4
- package/dist/core/fetcher/requestWithRetries.js +18 -5
- package/dist/core/fetcher/signals.js +7 -2
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +5 -1
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +5 -1
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +5 -1
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +34 -7
- package/dist/core/index.js +34 -5
- package/dist/core/runtime/index.js +5 -1
- package/dist/core/runtime/runtime.js +4 -1
- package/dist/core/schemas/Schema.js +4 -1
- package/dist/core/schemas/builders/bigint/bigint.js +13 -9
- package/dist/core/schemas/builders/bigint/index.js +5 -1
- package/dist/core/schemas/builders/date/date.js +14 -10
- package/dist/core/schemas/builders/date/index.js +5 -1
- package/dist/core/schemas/builders/enum/enum.js +11 -7
- package/dist/core/schemas/builders/enum/index.js +5 -1
- package/dist/core/schemas/builders/index.js +30 -14
- package/dist/core/schemas/builders/lazy/index.js +7 -2
- package/dist/core/schemas/builders/lazy/lazy.js +11 -5
- package/dist/core/schemas/builders/lazy/lazyObject.js +11 -7
- package/dist/core/schemas/builders/list/index.js +5 -1
- package/dist/core/schemas/builders/list/list.js +12 -8
- package/dist/core/schemas/builders/literals/booleanLiteral.js +10 -6
- package/dist/core/schemas/builders/literals/index.js +7 -2
- package/dist/core/schemas/builders/literals/stringLiteral.js +10 -6
- package/dist/core/schemas/builders/object/index.js +11 -3
- package/dist/core/schemas/builders/object/object.js +66 -33
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +7 -3
- package/dist/core/schemas/builders/object/property.js +7 -2
- package/dist/core/schemas/builders/object/types.d.ts +5 -0
- package/dist/core/schemas/builders/object/types.js +2 -1
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +15 -10
- package/dist/core/schemas/builders/object-like/index.js +6 -1
- package/dist/core/schemas/builders/object-like/types.js +2 -1
- package/dist/core/schemas/builders/primitives/any.js +6 -3
- package/dist/core/schemas/builders/primitives/boolean.js +8 -5
- package/dist/core/schemas/builders/primitives/index.js +13 -5
- package/dist/core/schemas/builders/primitives/number.js +8 -5
- package/dist/core/schemas/builders/primitives/string.js +8 -5
- package/dist/core/schemas/builders/primitives/unknown.js +6 -3
- package/dist/core/schemas/builders/record/index.js +5 -1
- package/dist/core/schemas/builders/record/record.js +18 -14
- package/dist/core/schemas/builders/record/types.js +2 -1
- package/dist/core/schemas/builders/schema-utils/JsonError.js +7 -3
- package/dist/core/schemas/builders/schema-utils/ParseError.js +7 -3
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +15 -9
- package/dist/core/schemas/builders/schema-utils/index.js +11 -3
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +5 -1
- package/dist/core/schemas/builders/set/index.js +5 -1
- package/dist/core/schemas/builders/set/set.js +14 -10
- package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -1
- package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -1
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +10 -6
- package/dist/core/schemas/builders/union/discriminant.js +5 -1
- package/dist/core/schemas/builders/union/index.js +7 -2
- package/dist/core/schemas/builders/union/types.js +2 -1
- package/dist/core/schemas/builders/union/union.js +18 -14
- package/dist/core/schemas/index.js +17 -1
- package/dist/core/schemas/utils/MaybePromise.js +2 -1
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -1
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +8 -4
- package/dist/core/schemas/utils/entries.js +5 -1
- package/dist/core/schemas/utils/filterObject.js +5 -1
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +5 -1
- package/dist/core/schemas/utils/isPlainObject.js +5 -1
- package/dist/core/schemas/utils/keys.js +5 -1
- package/dist/core/schemas/utils/maybeSkipValidation.js +5 -1
- package/dist/core/schemas/utils/partition.js +5 -1
- package/dist/core/streaming-fetcher/Stream.js +9 -4
- package/dist/core/streaming-fetcher/index.js +5 -1
- package/dist/environments.js +4 -1
- package/dist/errors/MavenAGIError.js +5 -1
- package/dist/errors/MavenAGITimeoutError.d.ts +1 -1
- package/dist/errors/MavenAGITimeoutError.js +7 -3
- package/dist/errors/index.js +7 -2
- package/dist/index.js +34 -4
- package/dist/serialization/index.js +17 -1
- package/dist/serialization/resources/actions/index.js +17 -1
- package/dist/serialization/resources/actions/types/ActionRequest.d.ts +1 -1
- package/dist/serialization/resources/actions/types/ActionRequest.js +32 -6
- package/dist/serialization/resources/actions/types/index.d.ts +0 -12
- package/dist/serialization/resources/actions/types/index.js +17 -13
- package/dist/serialization/resources/appSettings/client/get.js +28 -2
- package/dist/serialization/resources/appSettings/client/index.js +27 -1
- package/dist/serialization/resources/appSettings/index.js +17 -1
- package/dist/serialization/resources/commons/index.js +17 -1
- package/dist/serialization/resources/commons/types/ActionBase.js +40 -0
- package/dist/serialization/resources/commons/types/ActionEnumOption.d.ts +13 -0
- package/dist/serialization/resources/commons/types/ActionEnumOption.js +34 -0
- package/dist/serialization/resources/{conversation → commons}/types/ActionFormField.d.ts +3 -1
- package/dist/serialization/resources/commons/types/ActionFormField.js +41 -0
- package/{serialization/resources/actions → dist/serialization/resources/commons}/types/ActionParameter.d.ts +3 -1
- package/dist/serialization/resources/commons/types/ActionParameter.js +40 -0
- package/dist/serialization/resources/commons/types/ActionParameterType.js +28 -2
- package/{serialization/resources/actions → dist/serialization/resources/commons}/types/ActionResponse.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ActionResponse.js +37 -0
- package/dist/serialization/resources/commons/types/AppUser.js +32 -6
- package/dist/serialization/resources/commons/types/AppUserIdentifier.js +30 -4
- package/dist/serialization/resources/commons/types/AppUserIdentifyingPropertyType.js +28 -2
- package/dist/serialization/resources/commons/types/AppUserRequest.js +32 -6
- package/dist/serialization/resources/commons/types/AppUserResponse.js +32 -6
- package/dist/serialization/resources/commons/types/BotActionFormResponse.js +37 -0
- package/dist/serialization/resources/commons/types/BotChartResponse.js +36 -0
- package/{serialization/resources/conversation → dist/serialization/resources/commons}/types/BotConversationMessageType.d.ts +1 -1
- package/dist/serialization/resources/commons/types/BotConversationMessageType.js +31 -0
- package/dist/serialization/resources/{conversation → commons}/types/BotMessage.d.ts +1 -1
- package/dist/serialization/resources/commons/types/BotMessage.js +43 -0
- package/{serialization/resources/conversation → dist/serialization/resources/commons}/types/BotResponse.d.ts +1 -5
- package/dist/serialization/resources/commons/types/BotResponse.js +43 -0
- package/dist/serialization/resources/commons/types/BotResponseMetadata.js +36 -0
- package/dist/serialization/resources/commons/types/BotTextResponse.js +33 -0
- package/dist/serialization/resources/commons/types/Capability.js +31 -0
- package/dist/serialization/resources/commons/types/ChartSpecSchema.js +31 -0
- package/dist/serialization/resources/commons/types/ConversationAnalysis.js +38 -0
- package/dist/serialization/resources/commons/types/ConversationBase.js +40 -0
- package/dist/serialization/resources/commons/types/ConversationExecutedActionPrecondition.js +37 -0
- package/dist/serialization/resources/commons/types/ConversationMessageBase.js +34 -0
- package/dist/serialization/resources/commons/types/ConversationMessageResponse.js +41 -0
- package/dist/serialization/resources/commons/types/ConversationPrecondition.js +43 -0
- package/dist/serialization/resources/{conversation → commons}/types/ConversationResponse.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ConversationResponse.js +41 -0
- package/dist/serialization/resources/commons/types/EntityId.js +32 -6
- package/dist/serialization/resources/commons/types/EntityIdBase.js +28 -2
- package/dist/serialization/resources/commons/types/EntityType.js +28 -2
- package/dist/serialization/resources/commons/types/ErrorMessage.js +28 -2
- package/dist/serialization/resources/commons/types/EventTriggerBase.js +30 -4
- package/dist/serialization/resources/commons/types/EventTriggerResponse.js +32 -6
- package/dist/serialization/resources/commons/types/EventTriggerType.js +28 -2
- package/dist/serialization/resources/commons/types/Feedback.js +35 -9
- package/dist/serialization/resources/commons/types/FeedbackBase.js +30 -4
- package/dist/serialization/resources/commons/types/FeedbackType.js +28 -2
- package/dist/serialization/resources/commons/types/MetadataPrecondition.js +37 -0
- package/dist/serialization/resources/commons/types/Precondition.js +45 -0
- package/dist/serialization/resources/commons/types/PreconditionBase.js +34 -0
- package/dist/serialization/resources/commons/types/PreconditionGroup.js +36 -0
- package/dist/serialization/resources/commons/types/PreconditionGroupOperator.js +31 -0
- package/dist/serialization/resources/commons/types/PreconditionOperator.js +31 -0
- package/dist/serialization/resources/commons/types/ResponseConfig.js +37 -0
- package/dist/serialization/resources/commons/types/ResponseLength.js +31 -0
- package/dist/serialization/resources/commons/types/Sentiment.js +31 -0
- package/dist/serialization/resources/commons/types/Source.js +34 -0
- package/dist/serialization/resources/commons/types/TagsPrecondition.js +36 -0
- package/dist/serialization/resources/commons/types/UserConversationMessageType.js +31 -0
- package/dist/serialization/resources/commons/types/UserData.js +30 -4
- package/dist/serialization/resources/{conversation → commons}/types/UserMessage.d.ts +1 -1
- package/dist/serialization/resources/commons/types/UserMessage.js +40 -0
- package/dist/serialization/resources/commons/types/UserMessageAttachment.js +33 -0
- package/dist/serialization/resources/{conversation → commons}/types/UserMessageBase.d.ts +1 -1
- package/dist/serialization/resources/commons/types/UserMessageBase.js +40 -0
- package/dist/serialization/resources/commons/types/VisibilityType.js +28 -2
- package/dist/serialization/resources/commons/types/index.d.ts +36 -0
- package/dist/serialization/resources/commons/types/index.js +70 -18
- package/dist/serialization/resources/conversation/client/addConversationMetadata.js +29 -3
- package/dist/serialization/resources/conversation/client/appendNewMessages.js +29 -3
- package/dist/serialization/resources/conversation/client/index.js +28 -2
- package/dist/serialization/resources/conversation/index.js +18 -2
- package/dist/serialization/resources/conversation/types/AskRequest.d.ts +1 -0
- package/dist/serialization/resources/conversation/types/AskRequest.js +34 -7
- package/dist/serialization/resources/conversation/types/AskStreamActionEvent.d.ts +1 -1
- package/dist/serialization/resources/conversation/types/AskStreamActionEvent.js +29 -3
- package/dist/serialization/resources/conversation/types/AskStreamChartEvent.d.ts +1 -1
- package/dist/serialization/resources/conversation/types/AskStreamChartEvent.js +29 -3
- package/dist/serialization/resources/conversation/types/AskStreamEndEvent.js +30 -4
- package/dist/serialization/resources/conversation/types/AskStreamMetadataEvent.d.ts +1 -1
- package/dist/serialization/resources/conversation/types/AskStreamMetadataEvent.js +29 -3
- package/dist/serialization/resources/conversation/types/AskStreamStartEvent.js +30 -4
- package/dist/serialization/resources/conversation/types/AskStreamTextEvent.js +28 -2
- package/dist/serialization/resources/conversation/types/Attachment.js +28 -2
- package/dist/serialization/resources/conversation/types/CategorizationResponse.js +28 -2
- package/dist/serialization/resources/conversation/types/ConversationMessageRequest.d.ts +1 -1
- package/dist/serialization/resources/conversation/types/ConversationMessageRequest.js +32 -6
- package/dist/serialization/resources/conversation/types/ConversationRequest.d.ts +1 -1
- package/dist/serialization/resources/conversation/types/ConversationRequest.js +34 -8
- package/dist/serialization/resources/conversation/types/FeedbackRequest.js +35 -9
- package/dist/serialization/resources/conversation/types/GenerateMavenSuggestionsRequest.js +30 -4
- package/dist/serialization/resources/conversation/types/StreamResponse.js +40 -14
- package/dist/serialization/resources/conversation/types/SubmitActionFormRequest.d.ts +1 -0
- package/dist/serialization/resources/conversation/types/SubmitActionFormRequest.js +29 -2
- package/dist/serialization/resources/conversation/types/index.d.ts +0 -24
- package/dist/serialization/resources/conversation/types/index.js +31 -39
- package/dist/serialization/resources/index.js +42 -13
- package/dist/serialization/resources/knowledge/index.js +17 -1
- package/dist/serialization/resources/knowledge/types/BaseKnowledgeDocument.js +28 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseProperties.d.ts +1 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseProperties.js +32 -4
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseRequest.js +32 -6
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +32 -6
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseType.js +28 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +30 -4
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionType.js +28 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentContentType.js +28 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +34 -8
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +32 -6
- package/dist/serialization/resources/knowledge/types/index.js +26 -10
- package/dist/serialization/resources/translations/index.js +17 -1
- package/dist/serialization/resources/translations/types/TranslationRequest.js +28 -2
- package/dist/serialization/resources/translations/types/TranslationResponse.js +28 -2
- package/dist/serialization/resources/translations/types/index.js +18 -2
- package/dist/serialization/resources/triggers/index.js +17 -1
- package/dist/serialization/resources/triggers/types/EventTriggerRequest.js +32 -6
- package/dist/serialization/resources/triggers/types/index.js +17 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +4 -1
- package/environments.js +4 -1
- package/errors/MavenAGIError.js +5 -1
- package/errors/MavenAGITimeoutError.d.ts +1 -1
- package/errors/MavenAGITimeoutError.js +7 -3
- package/errors/index.js +7 -2
- package/index.js +34 -4
- package/package.json +1 -2
- package/reference.md +21 -2
- package/serialization/index.js +17 -1
- package/serialization/resources/actions/index.js +17 -1
- package/serialization/resources/actions/types/ActionRequest.d.ts +1 -1
- package/serialization/resources/actions/types/ActionRequest.js +32 -6
- package/serialization/resources/actions/types/index.d.ts +0 -12
- package/serialization/resources/actions/types/index.js +17 -13
- package/serialization/resources/appSettings/client/get.js +28 -2
- package/serialization/resources/appSettings/client/index.js +27 -1
- package/serialization/resources/appSettings/index.js +17 -1
- package/serialization/resources/commons/index.js +17 -1
- package/serialization/resources/commons/types/ActionBase.js +40 -0
- package/serialization/resources/commons/types/ActionEnumOption.d.ts +13 -0
- package/serialization/resources/commons/types/ActionEnumOption.js +34 -0
- package/serialization/resources/{conversation → commons}/types/ActionFormField.d.ts +3 -1
- package/serialization/resources/commons/types/ActionFormField.js +41 -0
- package/{dist/serialization/resources/actions → serialization/resources/commons}/types/ActionParameter.d.ts +3 -1
- package/serialization/resources/commons/types/ActionParameter.js +40 -0
- package/serialization/resources/commons/types/ActionParameterType.js +28 -2
- package/{dist/serialization/resources/actions → serialization/resources/commons}/types/ActionResponse.d.ts +1 -1
- package/serialization/resources/commons/types/ActionResponse.js +37 -0
- package/serialization/resources/commons/types/AppUser.js +32 -6
- package/serialization/resources/commons/types/AppUserIdentifier.js +30 -4
- package/serialization/resources/commons/types/AppUserIdentifyingPropertyType.js +28 -2
- package/serialization/resources/commons/types/AppUserRequest.js +32 -6
- package/serialization/resources/commons/types/AppUserResponse.js +32 -6
- package/serialization/resources/commons/types/BotActionFormResponse.js +37 -0
- package/serialization/resources/commons/types/BotChartResponse.js +36 -0
- package/{dist/serialization/resources/conversation → serialization/resources/commons}/types/BotConversationMessageType.d.ts +1 -1
- package/serialization/resources/commons/types/BotConversationMessageType.js +31 -0
- package/serialization/resources/{conversation → commons}/types/BotMessage.d.ts +1 -1
- package/serialization/resources/commons/types/BotMessage.js +43 -0
- package/{dist/serialization/resources/conversation → serialization/resources/commons}/types/BotResponse.d.ts +1 -5
- package/serialization/resources/commons/types/BotResponse.js +43 -0
- package/serialization/resources/commons/types/BotResponseMetadata.js +36 -0
- package/serialization/resources/commons/types/BotTextResponse.js +33 -0
- package/serialization/resources/commons/types/Capability.js +31 -0
- package/serialization/resources/commons/types/ChartSpecSchema.js +31 -0
- package/serialization/resources/commons/types/ConversationAnalysis.js +38 -0
- package/serialization/resources/commons/types/ConversationBase.js +40 -0
- package/serialization/resources/commons/types/ConversationExecutedActionPrecondition.js +37 -0
- package/serialization/resources/commons/types/ConversationMessageBase.js +34 -0
- package/serialization/resources/commons/types/ConversationMessageResponse.js +41 -0
- package/serialization/resources/commons/types/ConversationPrecondition.js +43 -0
- package/serialization/resources/{conversation → commons}/types/ConversationResponse.d.ts +1 -1
- package/serialization/resources/commons/types/ConversationResponse.js +41 -0
- package/serialization/resources/commons/types/EntityId.js +32 -6
- package/serialization/resources/commons/types/EntityIdBase.js +28 -2
- package/serialization/resources/commons/types/EntityType.js +28 -2
- package/serialization/resources/commons/types/ErrorMessage.js +28 -2
- package/serialization/resources/commons/types/EventTriggerBase.js +30 -4
- package/serialization/resources/commons/types/EventTriggerResponse.js +32 -6
- package/serialization/resources/commons/types/EventTriggerType.js +28 -2
- package/serialization/resources/commons/types/Feedback.js +35 -9
- package/serialization/resources/commons/types/FeedbackBase.js +30 -4
- package/serialization/resources/commons/types/FeedbackType.js +28 -2
- package/serialization/resources/commons/types/MetadataPrecondition.js +37 -0
- package/serialization/resources/commons/types/Precondition.js +45 -0
- package/serialization/resources/commons/types/PreconditionBase.js +34 -0
- package/serialization/resources/commons/types/PreconditionGroup.js +36 -0
- package/serialization/resources/commons/types/PreconditionGroupOperator.js +31 -0
- package/serialization/resources/commons/types/PreconditionOperator.js +31 -0
- package/serialization/resources/commons/types/ResponseConfig.js +37 -0
- package/serialization/resources/commons/types/ResponseLength.js +31 -0
- package/serialization/resources/commons/types/Sentiment.js +31 -0
- package/serialization/resources/commons/types/Source.js +34 -0
- package/serialization/resources/commons/types/TagsPrecondition.js +36 -0
- package/serialization/resources/commons/types/UserConversationMessageType.js +31 -0
- package/serialization/resources/commons/types/UserData.js +30 -4
- package/serialization/resources/{conversation → commons}/types/UserMessage.d.ts +1 -1
- package/serialization/resources/commons/types/UserMessage.js +40 -0
- package/serialization/resources/commons/types/UserMessageAttachment.js +33 -0
- package/serialization/resources/{conversation → commons}/types/UserMessageBase.d.ts +1 -1
- package/serialization/resources/commons/types/UserMessageBase.js +40 -0
- package/serialization/resources/commons/types/VisibilityType.js +28 -2
- package/serialization/resources/commons/types/index.d.ts +36 -0
- package/serialization/resources/commons/types/index.js +70 -18
- package/serialization/resources/conversation/client/addConversationMetadata.js +29 -3
- package/serialization/resources/conversation/client/appendNewMessages.js +29 -3
- package/serialization/resources/conversation/client/index.js +28 -2
- package/serialization/resources/conversation/index.js +18 -2
- package/serialization/resources/conversation/types/AskRequest.d.ts +1 -0
- package/serialization/resources/conversation/types/AskRequest.js +34 -7
- package/serialization/resources/conversation/types/AskStreamActionEvent.d.ts +1 -1
- package/serialization/resources/conversation/types/AskStreamActionEvent.js +29 -3
- package/serialization/resources/conversation/types/AskStreamChartEvent.d.ts +1 -1
- package/serialization/resources/conversation/types/AskStreamChartEvent.js +29 -3
- package/serialization/resources/conversation/types/AskStreamEndEvent.js +30 -4
- package/serialization/resources/conversation/types/AskStreamMetadataEvent.d.ts +1 -1
- package/serialization/resources/conversation/types/AskStreamMetadataEvent.js +29 -3
- package/serialization/resources/conversation/types/AskStreamStartEvent.js +30 -4
- package/serialization/resources/conversation/types/AskStreamTextEvent.js +28 -2
- package/serialization/resources/conversation/types/Attachment.js +28 -2
- package/serialization/resources/conversation/types/CategorizationResponse.js +28 -2
- package/serialization/resources/conversation/types/ConversationMessageRequest.d.ts +1 -1
- package/serialization/resources/conversation/types/ConversationMessageRequest.js +32 -6
- package/serialization/resources/conversation/types/ConversationRequest.d.ts +1 -1
- package/serialization/resources/conversation/types/ConversationRequest.js +34 -8
- package/serialization/resources/conversation/types/FeedbackRequest.js +35 -9
- package/serialization/resources/conversation/types/GenerateMavenSuggestionsRequest.js +30 -4
- package/serialization/resources/conversation/types/StreamResponse.js +40 -14
- package/serialization/resources/conversation/types/SubmitActionFormRequest.d.ts +1 -0
- package/serialization/resources/conversation/types/SubmitActionFormRequest.js +29 -2
- package/serialization/resources/conversation/types/index.d.ts +0 -24
- package/serialization/resources/conversation/types/index.js +31 -39
- package/serialization/resources/index.js +42 -13
- package/serialization/resources/knowledge/index.js +17 -1
- package/serialization/resources/knowledge/types/BaseKnowledgeDocument.js +28 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseProperties.d.ts +1 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseProperties.js +32 -4
- package/serialization/resources/knowledge/types/KnowledgeBaseRequest.js +32 -6
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +32 -6
- package/serialization/resources/knowledge/types/KnowledgeBaseType.js +28 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +30 -4
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionType.js +28 -2
- package/serialization/resources/knowledge/types/KnowledgeDocumentContentType.js +28 -2
- package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +34 -8
- package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +32 -6
- package/serialization/resources/knowledge/types/index.js +26 -10
- package/serialization/resources/translations/index.js +17 -1
- package/serialization/resources/translations/types/TranslationRequest.js +28 -2
- package/serialization/resources/translations/types/TranslationResponse.js +28 -2
- package/serialization/resources/translations/types/index.js +18 -2
- package/serialization/resources/triggers/index.js +17 -1
- package/serialization/resources/triggers/types/EventTriggerRequest.js +32 -6
- package/serialization/resources/triggers/types/index.js +17 -1
- package/version.d.ts +1 -1
- package/version.js +4 -1
- package/api/resources/actions/types/ActionBase.js +0 -4
- package/api/resources/actions/types/ActionParameter.d.ts +0 -12
- package/api/resources/actions/types/ActionParameter.js +0 -4
- package/api/resources/actions/types/ActionResponse.js +0 -4
- package/api/resources/actions/types/ConversationExecutedActionPrecondition.js +0 -4
- package/api/resources/actions/types/ConversationPrecondition.js +0 -4
- package/api/resources/actions/types/MetadataPrecondition.js +0 -4
- package/api/resources/actions/types/Precondition.js +0 -4
- package/api/resources/actions/types/PreconditionBase.js +0 -4
- package/api/resources/actions/types/PreconditionGroup.js +0 -4
- package/api/resources/actions/types/PreconditionGroupOperator.js +0 -7
- package/api/resources/actions/types/PreconditionOperator.js +0 -6
- package/api/resources/actions/types/TagsPrecondition.js +0 -4
- package/api/resources/conversation/types/ActionFormField.d.ts +0 -12
- package/api/resources/conversation/types/ActionFormField.js +0 -4
- package/api/resources/conversation/types/BotActionFormResponse.js +0 -4
- package/api/resources/conversation/types/BotActionResponse.d.ts +0 -15
- package/api/resources/conversation/types/BotActionResponse.js +0 -4
- package/api/resources/conversation/types/BotChartResponse.js +0 -4
- package/api/resources/conversation/types/BotConversationMessageType.js +0 -8
- package/api/resources/conversation/types/BotMessage.js +0 -4
- package/api/resources/conversation/types/BotResponse.js +0 -4
- package/api/resources/conversation/types/BotResponseMetadata.js +0 -4
- package/api/resources/conversation/types/BotTextResponse.js +0 -4
- package/api/resources/conversation/types/ChartSpecSchema.js +0 -6
- package/api/resources/conversation/types/ConversationAnalysis.js +0 -4
- package/api/resources/conversation/types/ConversationBase.js +0 -4
- package/api/resources/conversation/types/ConversationMessageBase.js +0 -4
- package/api/resources/conversation/types/ConversationMessageResponse.js +0 -4
- package/api/resources/conversation/types/ConversationResponse.js +0 -4
- package/api/resources/conversation/types/ResponseConfig.js +0 -4
- package/api/resources/conversation/types/ResponseLength.js +0 -8
- package/api/resources/conversation/types/Source.js +0 -4
- package/api/resources/conversation/types/UserMessage.js +0 -4
- package/api/resources/conversation/types/UserMessageAttachment.js +0 -4
- package/api/resources/conversation/types/UserMessageBase.js +0 -4
- package/dist/api/resources/actions/types/ActionBase.js +0 -4
- package/dist/api/resources/actions/types/ActionParameter.d.ts +0 -12
- package/dist/api/resources/actions/types/ActionParameter.js +0 -4
- package/dist/api/resources/actions/types/ActionResponse.js +0 -4
- package/dist/api/resources/actions/types/ConversationExecutedActionPrecondition.js +0 -4
- package/dist/api/resources/actions/types/ConversationPrecondition.js +0 -4
- package/dist/api/resources/actions/types/MetadataPrecondition.js +0 -4
- package/dist/api/resources/actions/types/Precondition.js +0 -4
- package/dist/api/resources/actions/types/PreconditionBase.js +0 -4
- package/dist/api/resources/actions/types/PreconditionGroup.js +0 -4
- package/dist/api/resources/actions/types/PreconditionGroupOperator.js +0 -7
- package/dist/api/resources/actions/types/PreconditionOperator.js +0 -6
- package/dist/api/resources/actions/types/TagsPrecondition.js +0 -4
- package/dist/api/resources/conversation/types/ActionFormField.d.ts +0 -12
- package/dist/api/resources/conversation/types/ActionFormField.js +0 -4
- package/dist/api/resources/conversation/types/BotActionFormResponse.js +0 -4
- package/dist/api/resources/conversation/types/BotActionResponse.d.ts +0 -15
- package/dist/api/resources/conversation/types/BotActionResponse.js +0 -4
- package/dist/api/resources/conversation/types/BotChartResponse.js +0 -4
- package/dist/api/resources/conversation/types/BotConversationMessageType.js +0 -8
- package/dist/api/resources/conversation/types/BotMessage.js +0 -4
- package/dist/api/resources/conversation/types/BotResponse.js +0 -4
- package/dist/api/resources/conversation/types/BotResponseMetadata.js +0 -4
- package/dist/api/resources/conversation/types/BotTextResponse.js +0 -4
- package/dist/api/resources/conversation/types/ChartSpecSchema.js +0 -6
- package/dist/api/resources/conversation/types/ConversationAnalysis.js +0 -4
- package/dist/api/resources/conversation/types/ConversationBase.js +0 -4
- package/dist/api/resources/conversation/types/ConversationMessageBase.js +0 -4
- package/dist/api/resources/conversation/types/ConversationMessageResponse.js +0 -4
- package/dist/api/resources/conversation/types/ConversationResponse.js +0 -4
- package/dist/api/resources/conversation/types/ResponseConfig.js +0 -4
- package/dist/api/resources/conversation/types/ResponseLength.js +0 -8
- package/dist/api/resources/conversation/types/Source.js +0 -4
- package/dist/api/resources/conversation/types/UserMessage.js +0 -4
- package/dist/api/resources/conversation/types/UserMessageAttachment.js +0 -4
- package/dist/api/resources/conversation/types/UserMessageBase.js +0 -4
- package/dist/serialization/resources/actions/types/ActionBase.js +0 -14
- package/dist/serialization/resources/actions/types/ActionParameter.js +0 -12
- package/dist/serialization/resources/actions/types/ActionResponse.js +0 -11
- package/dist/serialization/resources/actions/types/ConversationExecutedActionPrecondition.js +0 -11
- package/dist/serialization/resources/actions/types/ConversationPrecondition.js +0 -17
- package/dist/serialization/resources/actions/types/MetadataPrecondition.js +0 -11
- package/dist/serialization/resources/actions/types/Precondition.js +0 -19
- package/dist/serialization/resources/actions/types/PreconditionBase.js +0 -8
- package/dist/serialization/resources/actions/types/PreconditionGroup.js +0 -10
- package/dist/serialization/resources/actions/types/PreconditionGroupOperator.js +0 -5
- package/dist/serialization/resources/actions/types/PreconditionOperator.js +0 -5
- package/dist/serialization/resources/actions/types/TagsPrecondition.js +0 -10
- package/dist/serialization/resources/conversation/types/ActionFormField.js +0 -13
- package/dist/serialization/resources/conversation/types/BotActionFormResponse.js +0 -11
- package/dist/serialization/resources/conversation/types/BotActionResponse.d.ts +0 -17
- package/dist/serialization/resources/conversation/types/BotActionResponse.js +0 -12
- package/dist/serialization/resources/conversation/types/BotChartResponse.js +0 -10
- package/dist/serialization/resources/conversation/types/BotConversationMessageType.js +0 -5
- package/dist/serialization/resources/conversation/types/BotMessage.js +0 -17
- package/dist/serialization/resources/conversation/types/BotResponse.js +0 -19
- package/dist/serialization/resources/conversation/types/BotResponseMetadata.js +0 -10
- package/dist/serialization/resources/conversation/types/BotTextResponse.js +0 -7
- package/dist/serialization/resources/conversation/types/Capability.js +0 -5
- package/dist/serialization/resources/conversation/types/ChartSpecSchema.js +0 -5
- package/dist/serialization/resources/conversation/types/ConversationAnalysis.js +0 -12
- package/dist/serialization/resources/conversation/types/ConversationBase.js +0 -14
- package/dist/serialization/resources/conversation/types/ConversationMessageBase.js +0 -8
- package/dist/serialization/resources/conversation/types/ConversationMessageResponse.js +0 -15
- package/dist/serialization/resources/conversation/types/ConversationResponse.js +0 -15
- package/dist/serialization/resources/conversation/types/ResponseConfig.js +0 -11
- package/dist/serialization/resources/conversation/types/ResponseLength.js +0 -5
- package/dist/serialization/resources/conversation/types/Sentiment.js +0 -5
- package/dist/serialization/resources/conversation/types/Source.js +0 -8
- package/dist/serialization/resources/conversation/types/UserConversationMessageType.js +0 -5
- package/dist/serialization/resources/conversation/types/UserMessage.js +0 -14
- package/dist/serialization/resources/conversation/types/UserMessageAttachment.js +0 -7
- package/dist/serialization/resources/conversation/types/UserMessageBase.js +0 -14
- package/serialization/resources/actions/types/ActionBase.js +0 -14
- package/serialization/resources/actions/types/ActionParameter.js +0 -12
- package/serialization/resources/actions/types/ActionResponse.js +0 -11
- package/serialization/resources/actions/types/ConversationExecutedActionPrecondition.js +0 -11
- package/serialization/resources/actions/types/ConversationPrecondition.js +0 -17
- package/serialization/resources/actions/types/MetadataPrecondition.js +0 -11
- package/serialization/resources/actions/types/Precondition.js +0 -19
- package/serialization/resources/actions/types/PreconditionBase.js +0 -8
- package/serialization/resources/actions/types/PreconditionGroup.js +0 -10
- package/serialization/resources/actions/types/PreconditionGroupOperator.js +0 -5
- package/serialization/resources/actions/types/PreconditionOperator.js +0 -5
- package/serialization/resources/actions/types/TagsPrecondition.js +0 -10
- package/serialization/resources/conversation/types/ActionFormField.js +0 -13
- package/serialization/resources/conversation/types/BotActionFormResponse.js +0 -11
- package/serialization/resources/conversation/types/BotActionResponse.d.ts +0 -17
- package/serialization/resources/conversation/types/BotActionResponse.js +0 -12
- package/serialization/resources/conversation/types/BotChartResponse.js +0 -10
- package/serialization/resources/conversation/types/BotConversationMessageType.js +0 -5
- package/serialization/resources/conversation/types/BotMessage.js +0 -17
- package/serialization/resources/conversation/types/BotResponse.js +0 -19
- package/serialization/resources/conversation/types/BotResponseMetadata.js +0 -10
- package/serialization/resources/conversation/types/BotTextResponse.js +0 -7
- package/serialization/resources/conversation/types/Capability.js +0 -5
- package/serialization/resources/conversation/types/ChartSpecSchema.js +0 -5
- package/serialization/resources/conversation/types/ConversationAnalysis.js +0 -12
- package/serialization/resources/conversation/types/ConversationBase.js +0 -14
- package/serialization/resources/conversation/types/ConversationMessageBase.js +0 -8
- package/serialization/resources/conversation/types/ConversationMessageResponse.js +0 -15
- package/serialization/resources/conversation/types/ConversationResponse.js +0 -15
- package/serialization/resources/conversation/types/ResponseConfig.js +0 -11
- package/serialization/resources/conversation/types/ResponseLength.js +0 -5
- package/serialization/resources/conversation/types/Sentiment.js +0 -5
- package/serialization/resources/conversation/types/Source.js +0 -8
- package/serialization/resources/conversation/types/UserConversationMessageType.js +0 -5
- package/serialization/resources/conversation/types/UserMessage.js +0 -14
- package/serialization/resources/conversation/types/UserMessageAttachment.js +0 -7
- package/serialization/resources/conversation/types/UserMessageBase.js +0 -14
- /package/api/resources/{actions → commons}/types/ActionBase.d.ts +0 -0
- /package/api/resources/{actions → commons}/types/ActionResponse.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/BotActionFormResponse.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/BotChartResponse.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/BotMessage.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/BotResponseMetadata.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/BotTextResponse.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/Capability.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/ChartSpecSchema.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/ConversationAnalysis.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/ConversationBase.d.ts +0 -0
- /package/api/resources/{actions → commons}/types/ConversationExecutedActionPrecondition.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/ConversationMessageBase.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/ConversationMessageResponse.d.ts +0 -0
- /package/api/resources/{actions → commons}/types/ConversationPrecondition.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/ConversationResponse.d.ts +0 -0
- /package/api/resources/{actions → commons}/types/MetadataPrecondition.d.ts +0 -0
- /package/api/resources/{actions → commons}/types/Precondition.d.ts +0 -0
- /package/api/resources/{actions → commons}/types/PreconditionBase.d.ts +0 -0
- /package/api/resources/{actions → commons}/types/PreconditionGroup.d.ts +0 -0
- /package/api/resources/{actions → commons}/types/PreconditionGroupOperator.d.ts +0 -0
- /package/api/resources/{actions → commons}/types/PreconditionOperator.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/ResponseConfig.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/ResponseLength.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/Sentiment.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/Source.d.ts +0 -0
- /package/api/resources/{actions → commons}/types/TagsPrecondition.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/UserConversationMessageType.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/UserMessage.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/UserMessageAttachment.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/UserMessageBase.d.ts +0 -0
- /package/dist/api/resources/{actions → commons}/types/ActionBase.d.ts +0 -0
- /package/dist/api/resources/{actions → commons}/types/ActionResponse.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/BotActionFormResponse.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/BotChartResponse.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/BotMessage.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/BotResponseMetadata.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/BotTextResponse.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/Capability.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/ChartSpecSchema.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/ConversationAnalysis.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/ConversationBase.d.ts +0 -0
- /package/dist/api/resources/{actions → commons}/types/ConversationExecutedActionPrecondition.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/ConversationMessageBase.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/ConversationMessageResponse.d.ts +0 -0
- /package/dist/api/resources/{actions → commons}/types/ConversationPrecondition.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/ConversationResponse.d.ts +0 -0
- /package/dist/api/resources/{actions → commons}/types/MetadataPrecondition.d.ts +0 -0
- /package/dist/api/resources/{actions → commons}/types/Precondition.d.ts +0 -0
- /package/dist/api/resources/{actions → commons}/types/PreconditionBase.d.ts +0 -0
- /package/dist/api/resources/{actions → commons}/types/PreconditionGroup.d.ts +0 -0
- /package/dist/api/resources/{actions → commons}/types/PreconditionGroupOperator.d.ts +0 -0
- /package/dist/api/resources/{actions → commons}/types/PreconditionOperator.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/ResponseConfig.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/ResponseLength.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/Sentiment.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/Source.d.ts +0 -0
- /package/dist/api/resources/{actions → commons}/types/TagsPrecondition.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/UserConversationMessageType.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/UserMessage.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/UserMessageAttachment.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/UserMessageBase.d.ts +0 -0
- /package/dist/serialization/resources/{actions → commons}/types/ActionBase.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/BotActionFormResponse.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/BotChartResponse.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/BotResponseMetadata.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/BotTextResponse.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/Capability.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/ChartSpecSchema.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/ConversationAnalysis.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/ConversationBase.d.ts +0 -0
- /package/dist/serialization/resources/{actions → commons}/types/ConversationExecutedActionPrecondition.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/ConversationMessageBase.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/ConversationMessageResponse.d.ts +0 -0
- /package/dist/serialization/resources/{actions → commons}/types/ConversationPrecondition.d.ts +0 -0
- /package/dist/serialization/resources/{actions → commons}/types/MetadataPrecondition.d.ts +0 -0
- /package/dist/serialization/resources/{actions → commons}/types/Precondition.d.ts +0 -0
- /package/dist/serialization/resources/{actions → commons}/types/PreconditionBase.d.ts +0 -0
- /package/dist/serialization/resources/{actions → commons}/types/PreconditionGroup.d.ts +0 -0
- /package/dist/serialization/resources/{actions → commons}/types/PreconditionGroupOperator.d.ts +0 -0
- /package/dist/serialization/resources/{actions → commons}/types/PreconditionOperator.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/ResponseConfig.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/ResponseLength.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/Sentiment.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/Source.d.ts +0 -0
- /package/dist/serialization/resources/{actions → commons}/types/TagsPrecondition.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/UserConversationMessageType.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/UserMessageAttachment.d.ts +0 -0
- /package/serialization/resources/{actions → commons}/types/ActionBase.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/BotActionFormResponse.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/BotChartResponse.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/BotResponseMetadata.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/BotTextResponse.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/Capability.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/ChartSpecSchema.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/ConversationAnalysis.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/ConversationBase.d.ts +0 -0
- /package/serialization/resources/{actions → commons}/types/ConversationExecutedActionPrecondition.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/ConversationMessageBase.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/ConversationMessageResponse.d.ts +0 -0
- /package/serialization/resources/{actions → commons}/types/ConversationPrecondition.d.ts +0 -0
- /package/serialization/resources/{actions → commons}/types/MetadataPrecondition.d.ts +0 -0
- /package/serialization/resources/{actions → commons}/types/Precondition.d.ts +0 -0
- /package/serialization/resources/{actions → commons}/types/PreconditionBase.d.ts +0 -0
- /package/serialization/resources/{actions → commons}/types/PreconditionGroup.d.ts +0 -0
- /package/serialization/resources/{actions → commons}/types/PreconditionGroupOperator.d.ts +0 -0
- /package/serialization/resources/{actions → commons}/types/PreconditionOperator.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/ResponseConfig.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/ResponseLength.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/Sentiment.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/Source.d.ts +0 -0
- /package/serialization/resources/{actions → commons}/types/TagsPrecondition.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/UserConversationMessageType.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/UserMessageAttachment.d.ts +0 -0
|
@@ -1,8 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.NotFoundError = void 0;
|
|
30
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
31
|
+
class NotFoundError extends errors.MavenAGIError {
|
|
6
32
|
constructor(body) {
|
|
7
33
|
super({
|
|
8
34
|
message: "NotFoundError",
|
|
@@ -12,3 +38,4 @@ export class NotFoundError extends errors.MavenAGIError {
|
|
|
12
38
|
Object.setPrototypeOf(this, NotFoundError.prototype);
|
|
13
39
|
}
|
|
14
40
|
}
|
|
41
|
+
exports.NotFoundError = NotFoundError;
|
|
@@ -1,8 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ServerError = void 0;
|
|
30
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
31
|
+
class ServerError extends errors.MavenAGIError {
|
|
6
32
|
constructor(body) {
|
|
7
33
|
super({
|
|
8
34
|
message: "ServerError",
|
|
@@ -12,3 +38,4 @@ export class ServerError extends errors.MavenAGIError {
|
|
|
12
38
|
Object.setPrototypeOf(this, ServerError.prototype);
|
|
13
39
|
}
|
|
14
40
|
}
|
|
41
|
+
exports.ServerError = ServerError;
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./NotFoundError"), exports);
|
|
18
|
+
__exportStar(require("./BadRequestError"), exports);
|
|
19
|
+
__exportStar(require("./ServerError"), exports);
|
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./errors"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface ActionEnumOption {
|
|
5
|
+
/** Will be shown during form display as the user facing string in a dropdown or radio. */
|
|
6
|
+
label: string;
|
|
7
|
+
/** A valid value for the field. */
|
|
8
|
+
value?: unknown;
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export interface ActionFormField {
|
|
6
|
+
/** The ID field should be used as the key in the submitActionForm API call. */
|
|
7
|
+
id: string;
|
|
8
|
+
/** The title of the field to show on the form. */
|
|
9
|
+
label: string;
|
|
10
|
+
/** A longer description of the field which should be shown in smaller text near the label. */
|
|
11
|
+
description: string;
|
|
12
|
+
/** Whether the field is required for the action. Client side validation is recommended for an improved user experience. */
|
|
13
|
+
required: boolean;
|
|
14
|
+
/** A value for the field provided by the LLM. All form fields should default to this value if present. */
|
|
15
|
+
suggestion?: unknown;
|
|
16
|
+
/** Describes how the action field should be validated. Client side validation is recommended but not required. | If `enumOptions` are provided, using a dropdown or radio field is preferred. Otherwise, if the `type` is `BOOLEAN` a checkbox is preferred. | Fallback to a text input. */
|
|
17
|
+
type: MavenAGI.ActionParameterType;
|
|
18
|
+
/** The options that should be shown to the user as a dropdown or radio. */
|
|
19
|
+
enumOptions?: MavenAGI.ActionEnumOption[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export interface ActionParameter {
|
|
6
|
+
/** The ID field will be used when parameters are supplied to `executeAction`. */
|
|
7
|
+
id: string;
|
|
8
|
+
/** The title of the field that will be shown on action forms. */
|
|
9
|
+
label: string;
|
|
10
|
+
/** A longer description of the field which will be shown in smaller text near the label on action forms. */
|
|
11
|
+
description: string;
|
|
12
|
+
/** Whether the field is required for action execution. */
|
|
13
|
+
required: boolean;
|
|
14
|
+
/** The parameter type. Values provided to `executeAction` will conform to this type. Defaults to `STRING`. */
|
|
15
|
+
type?: MavenAGI.ActionParameterType;
|
|
16
|
+
/** Restricts the action parameter to only the options in this list. Valid for type `STRING`, `BOOLEAN`, and `NUMBER`. */
|
|
17
|
+
enumOptions?: MavenAGI.ActionEnumOption[];
|
|
18
|
+
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ActionParameterType = void 0;
|
|
7
|
+
exports.ActionParameterType = {
|
|
5
8
|
String: "STRING",
|
|
6
9
|
Boolean: "BOOLEAN",
|
|
7
10
|
Number: "NUMBER",
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AppUserIdentifyingPropertyType = void 0;
|
|
7
|
+
exports.AppUserIdentifyingPropertyType = {
|
|
5
8
|
Email: "EMAIL",
|
|
6
9
|
PhoneNumber: "PHONE_NUMBER",
|
|
7
10
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type BotConversationMessageType = "BOT_RESPONSE" | "BOT_SUGGESTION"
|
|
4
|
+
export declare type BotConversationMessageType = "BOT_RESPONSE" | "BOT_SUGGESTION";
|
|
5
5
|
export declare const BotConversationMessageType: {
|
|
6
6
|
readonly BotResponse: "BOT_RESPONSE";
|
|
7
7
|
readonly BotSuggestion: "BOT_SUGGESTION";
|
|
8
|
-
readonly ActionResponse: "ACTION_RESPONSE";
|
|
9
8
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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.BotConversationMessageType = void 0;
|
|
7
|
+
exports.BotConversationMessageType = {
|
|
8
|
+
BotResponse: "BOT_RESPONSE",
|
|
9
|
+
BotSuggestion: "BOT_SUGGESTION",
|
|
10
|
+
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as MavenAGI from "../../../index";
|
|
5
|
-
export declare type BotResponse = MavenAGI.BotResponse.Text | MavenAGI.BotResponse.ActionForm | MavenAGI.BotResponse.Chart
|
|
5
|
+
export declare type BotResponse = MavenAGI.BotResponse.Text | MavenAGI.BotResponse.ActionForm | MavenAGI.BotResponse.Chart;
|
|
6
6
|
export declare namespace BotResponse {
|
|
7
7
|
interface Text extends MavenAGI.BotTextResponse {
|
|
8
8
|
type: "text";
|
|
@@ -13,7 +13,4 @@ export declare namespace BotResponse {
|
|
|
13
13
|
interface Chart extends MavenAGI.BotChartResponse {
|
|
14
14
|
type: "chart";
|
|
15
15
|
}
|
|
16
|
-
interface ActionResponse extends MavenAGI.BotActionResponse {
|
|
17
|
-
type: "actionResponse";
|
|
18
|
-
}
|
|
19
16
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Capability = void 0;
|
|
7
|
+
exports.Capability = {
|
|
5
8
|
Markdown: "MARKDOWN",
|
|
6
9
|
Forms: "FORMS",
|
|
7
10
|
Images: "IMAGES",
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.EntityType = void 0;
|
|
7
|
+
exports.EntityType = {
|
|
5
8
|
Conversation: "CONVERSATION",
|
|
6
9
|
ConversationMessage: "CONVERSATION_MESSAGE",
|
|
7
10
|
KnowledgeBase: "KNOWLEDGE_BASE",
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.EventTriggerType = void 0;
|
|
7
|
+
exports.EventTriggerType = {
|
|
5
8
|
ConversationCreated: "CONVERSATION_CREATED",
|
|
6
9
|
FeedbackCreated: "FEEDBACK_CREATED",
|
|
7
10
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FeedbackType = void 0;
|
|
7
|
+
exports.FeedbackType = {
|
|
5
8
|
ThumbsUp: "THUMBS_UP",
|
|
6
9
|
ThumbsDown: "THUMBS_DOWN",
|
|
7
10
|
Insert: "INSERT",
|
|
@@ -0,0 +1,10 @@
|
|
|
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.PreconditionGroupOperator = void 0;
|
|
7
|
+
exports.PreconditionGroupOperator = {
|
|
8
|
+
And: "AND",
|
|
9
|
+
Or: "OR",
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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.ResponseLength = void 0;
|
|
7
|
+
exports.ResponseLength = {
|
|
8
|
+
Short: "SHORT",
|
|
9
|
+
Medium: "MEDIUM",
|
|
10
|
+
Long: "LONG",
|
|
11
|
+
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Sentiment = void 0;
|
|
7
|
+
exports.Sentiment = {
|
|
5
8
|
Positive: "POSITIVE",
|
|
6
9
|
Negative: "NEGATIVE",
|
|
7
10
|
Neutral: "NEUTRAL",
|