mavenagi 1.0.4 → 1.0.6
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 +12 -7
- package/Client.js +24 -15
- package/README.md +58 -25
- 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/analytics/client/Client.d.ts +78 -0
- package/api/resources/analytics/client/Client.js +174 -0
- package/api/resources/analytics/client/index.d.ts +1 -0
- package/api/resources/analytics/client/index.js +2 -0
- package/api/resources/analytics/index.d.ts +2 -0
- package/api/resources/analytics/index.js +18 -0
- package/api/resources/analytics/types/Average.d.ts +9 -0
- package/api/resources/analytics/types/Average.js +5 -0
- package/api/resources/analytics/types/BasicMetric.d.ts +8 -0
- package/api/resources/analytics/types/BasicMetric.js +5 -0
- package/api/resources/analytics/types/ColumnDefinition.d.ts +10 -0
- package/api/resources/analytics/types/ColumnDefinition.js +5 -0
- package/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +8 -0
- package/api/resources/analytics/types/ConversationAnalyticsRequest.js +5 -0
- package/api/resources/analytics/types/ConversationRow.d.ts +13 -0
- package/api/resources/analytics/types/ConversationRow.js +5 -0
- package/api/resources/analytics/types/ConversationTableRequest.d.ts +50 -0
- package/api/resources/analytics/types/ConversationTableRequest.js +5 -0
- package/api/resources/analytics/types/ConversationTableResponse.d.ts +129 -0
- package/api/resources/analytics/types/ConversationTableResponse.js +5 -0
- package/api/resources/analytics/types/Count.d.ts +8 -0
- package/api/resources/analytics/types/Count.js +5 -0
- package/api/resources/analytics/types/DistinctCount.d.ts +10 -0
- package/api/resources/analytics/types/DistinctCount.js +5 -0
- package/api/resources/analytics/types/GroupBy.d.ts +12 -0
- package/api/resources/analytics/types/GroupBy.js +5 -0
- package/api/resources/analytics/types/Max.d.ts +9 -0
- package/api/resources/analytics/types/Max.js +5 -0
- package/api/resources/analytics/types/Median.d.ts +9 -0
- package/api/resources/analytics/types/Median.js +5 -0
- package/api/resources/analytics/types/Metric.d.ts +35 -0
- package/api/resources/analytics/types/Metric.js +5 -0
- package/api/resources/analytics/types/Min.d.ts +9 -0
- package/api/resources/analytics/types/Min.js +5 -0
- package/api/resources/analytics/types/Percentile.d.ts +11 -0
- package/api/resources/analytics/types/Percentile.js +5 -0
- package/api/resources/analytics/types/Sum.d.ts +9 -0
- package/api/resources/analytics/types/Sum.js +5 -0
- package/api/resources/analytics/types/index.d.ts +16 -0
- package/api/resources/analytics/types/index.js +32 -0
- package/api/resources/analyticsCommons/index.d.ts +1 -0
- package/api/resources/analyticsCommons/index.js +17 -0
- package/api/resources/analyticsCommons/types/CellData.d.ts +32 -0
- package/api/resources/analyticsCommons/types/CellData.js +5 -0
- package/api/resources/analyticsCommons/types/FieldValue.d.ts +33 -0
- package/api/resources/analyticsCommons/types/FieldValue.js +5 -0
- package/api/resources/analyticsCommons/types/Range.d.ts +9 -0
- package/api/resources/analyticsCommons/types/Range.js +5 -0
- package/api/resources/analyticsCommons/types/TimeInterval.d.ts +11 -0
- package/api/resources/analyticsCommons/types/TimeInterval.js +13 -0
- package/api/resources/analyticsCommons/types/index.d.ts +4 -0
- package/api/resources/analyticsCommons/types/index.js +20 -0
- 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/{dist/api/resources/actions → api/resources/commons}/types/ConversationPrecondition.d.ts +4 -1
- package/api/resources/commons/types/ConversationPrecondition.js +5 -0
- package/api/resources/{conversation → commons}/types/ConversationResponse.d.ts +10 -1
- package/api/resources/commons/types/ConversationResponse.js +5 -0
- package/api/resources/commons/types/ConversationSummary.d.ts +10 -0
- package/api/resources/commons/types/ConversationSummary.js +5 -0
- package/api/resources/commons/types/EntityId.d.ts +6 -7
- package/api/resources/commons/types/EntityId.js +2 -1
- package/api/resources/commons/types/EntityIdBase.js +2 -1
- package/api/resources/commons/types/EntityIdFilter.d.ts +7 -0
- package/api/resources/commons/types/EntityIdFilter.js +5 -0
- package/api/resources/commons/types/EntityIdWithoutAgent.d.ts +13 -0
- package/api/resources/commons/types/EntityIdWithoutAgent.js +5 -0
- 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/ResponseConfigPrecondition.d.ts +11 -0
- package/api/resources/commons/types/ResponseConfigPrecondition.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 +40 -0
- package/api/resources/commons/types/index.js +74 -18
- package/api/resources/conversation/client/Client.d.ts +54 -5
- package/api/resources/conversation/client/Client.js +186 -142
- package/api/resources/conversation/client/index.js +17 -1
- package/api/resources/conversation/client/requests/ConversationDeleteRequest.d.ts +19 -0
- package/api/resources/conversation/client/requests/ConversationDeleteRequest.js +5 -0
- package/api/resources/conversation/client/requests/ConversationGetRequest.js +2 -1
- package/api/resources/conversation/client/requests/index.d.ts +1 -0
- 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 +8 -2
- 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/ConversationField.d.ts +26 -0
- package/api/resources/conversation/types/ConversationField.js +28 -0
- package/api/resources/conversation/types/ConversationFilter.d.ts +21 -0
- package/api/resources/conversation/types/ConversationFilter.js +5 -0
- 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/Quality.d.ts +9 -0
- package/api/resources/conversation/types/Quality.js +11 -0
- package/api/resources/conversation/types/QualityReason.d.ts +15 -0
- package/api/resources/conversation/types/QualityReason.js +17 -0
- 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 +4 -24
- package/api/resources/conversation/types/index.js +35 -39
- package/api/resources/index.d.ts +5 -0
- package/api/resources/index.js +50 -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 +12 -7
- package/dist/Client.js +24 -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/analytics/client/Client.d.ts +78 -0
- package/dist/api/resources/analytics/client/Client.js +174 -0
- package/dist/api/resources/analytics/client/index.d.ts +1 -0
- package/dist/api/resources/analytics/client/index.js +2 -0
- package/dist/api/resources/analytics/index.d.ts +2 -0
- package/dist/api/resources/analytics/index.js +18 -0
- package/dist/api/resources/analytics/types/Average.d.ts +9 -0
- package/dist/api/resources/analytics/types/Average.js +5 -0
- package/dist/api/resources/analytics/types/BasicMetric.d.ts +8 -0
- package/dist/api/resources/analytics/types/BasicMetric.js +5 -0
- package/dist/api/resources/analytics/types/ColumnDefinition.d.ts +10 -0
- package/dist/api/resources/analytics/types/ColumnDefinition.js +5 -0
- package/dist/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +8 -0
- package/dist/api/resources/analytics/types/ConversationAnalyticsRequest.js +5 -0
- package/dist/api/resources/analytics/types/ConversationRow.d.ts +13 -0
- package/dist/api/resources/analytics/types/ConversationRow.js +5 -0
- package/dist/api/resources/analytics/types/ConversationTableRequest.d.ts +50 -0
- package/dist/api/resources/analytics/types/ConversationTableRequest.js +5 -0
- package/dist/api/resources/analytics/types/ConversationTableResponse.d.ts +129 -0
- package/dist/api/resources/analytics/types/ConversationTableResponse.js +5 -0
- package/dist/api/resources/analytics/types/Count.d.ts +8 -0
- package/dist/api/resources/analytics/types/Count.js +5 -0
- package/dist/api/resources/analytics/types/DistinctCount.d.ts +10 -0
- package/dist/api/resources/analytics/types/DistinctCount.js +5 -0
- package/dist/api/resources/analytics/types/GroupBy.d.ts +12 -0
- package/dist/api/resources/analytics/types/GroupBy.js +5 -0
- package/dist/api/resources/analytics/types/Max.d.ts +9 -0
- package/dist/api/resources/analytics/types/Max.js +5 -0
- package/dist/api/resources/analytics/types/Median.d.ts +9 -0
- package/dist/api/resources/analytics/types/Median.js +5 -0
- package/dist/api/resources/analytics/types/Metric.d.ts +35 -0
- package/dist/api/resources/analytics/types/Metric.js +5 -0
- package/dist/api/resources/analytics/types/Min.d.ts +9 -0
- package/dist/api/resources/analytics/types/Min.js +5 -0
- package/dist/api/resources/analytics/types/Percentile.d.ts +11 -0
- package/dist/api/resources/analytics/types/Percentile.js +5 -0
- package/dist/api/resources/analytics/types/Sum.d.ts +9 -0
- package/dist/api/resources/analytics/types/Sum.js +5 -0
- package/dist/api/resources/analytics/types/index.d.ts +16 -0
- package/dist/api/resources/analytics/types/index.js +32 -0
- package/dist/api/resources/analyticsCommons/index.d.ts +1 -0
- package/dist/api/resources/analyticsCommons/index.js +17 -0
- package/dist/api/resources/analyticsCommons/types/CellData.d.ts +32 -0
- package/dist/api/resources/analyticsCommons/types/CellData.js +5 -0
- package/dist/api/resources/analyticsCommons/types/FieldValue.d.ts +33 -0
- package/dist/api/resources/analyticsCommons/types/FieldValue.js +5 -0
- package/dist/api/resources/analyticsCommons/types/Range.d.ts +9 -0
- package/dist/api/resources/analyticsCommons/types/Range.js +5 -0
- package/dist/api/resources/analyticsCommons/types/TimeInterval.d.ts +11 -0
- package/dist/api/resources/analyticsCommons/types/TimeInterval.js +13 -0
- package/dist/api/resources/analyticsCommons/types/index.d.ts +4 -0
- package/dist/api/resources/analyticsCommons/types/index.js +20 -0
- 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/{api/resources/actions → dist/api/resources/commons}/types/ConversationPrecondition.d.ts +4 -1
- package/dist/api/resources/commons/types/ConversationPrecondition.js +5 -0
- package/dist/api/resources/{conversation → commons}/types/ConversationResponse.d.ts +10 -1
- package/dist/api/resources/commons/types/ConversationResponse.js +5 -0
- package/dist/api/resources/commons/types/ConversationSummary.d.ts +10 -0
- package/dist/api/resources/commons/types/ConversationSummary.js +5 -0
- package/dist/api/resources/commons/types/EntityId.d.ts +6 -7
- 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/EntityIdFilter.d.ts +7 -0
- package/dist/api/resources/commons/types/EntityIdFilter.js +5 -0
- package/dist/api/resources/commons/types/EntityIdWithoutAgent.d.ts +13 -0
- package/dist/api/resources/commons/types/EntityIdWithoutAgent.js +5 -0
- 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/ResponseConfigPrecondition.d.ts +11 -0
- package/dist/api/resources/commons/types/ResponseConfigPrecondition.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 +40 -0
- package/dist/api/resources/commons/types/index.js +74 -18
- package/dist/api/resources/conversation/client/Client.d.ts +54 -5
- package/dist/api/resources/conversation/client/Client.js +186 -142
- package/dist/api/resources/conversation/client/index.js +17 -1
- package/dist/api/resources/conversation/client/requests/ConversationDeleteRequest.d.ts +19 -0
- package/dist/api/resources/conversation/client/requests/ConversationDeleteRequest.js +5 -0
- package/dist/api/resources/conversation/client/requests/ConversationGetRequest.js +2 -1
- package/dist/api/resources/conversation/client/requests/index.d.ts +1 -0
- 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 +8 -2
- 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/ConversationField.d.ts +26 -0
- package/dist/api/resources/conversation/types/ConversationField.js +28 -0
- package/dist/api/resources/conversation/types/ConversationFilter.d.ts +21 -0
- package/dist/api/resources/conversation/types/ConversationFilter.js +5 -0
- 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/Quality.d.ts +9 -0
- package/dist/api/resources/conversation/types/Quality.js +11 -0
- package/dist/api/resources/conversation/types/QualityReason.d.ts +15 -0
- package/dist/api/resources/conversation/types/QualityReason.js +17 -0
- 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 +4 -24
- package/dist/api/resources/conversation/types/index.js +35 -39
- package/dist/api/resources/index.d.ts +5 -0
- package/dist/api/resources/index.js +50 -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/analytics/index.d.ts +1 -0
- package/dist/serialization/resources/analytics/index.js +17 -0
- package/dist/serialization/resources/analytics/types/Average.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/Average.js +34 -0
- package/dist/serialization/resources/analytics/types/BasicMetric.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/BasicMetric.js +34 -0
- package/dist/serialization/resources/analytics/types/ColumnDefinition.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/ColumnDefinition.js +35 -0
- package/dist/serialization/resources/analytics/types/ConversationAnalyticsRequest.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/ConversationAnalyticsRequest.js +34 -0
- package/dist/serialization/resources/analytics/types/ConversationRow.d.ts +16 -0
- package/dist/serialization/resources/analytics/types/ConversationRow.js +37 -0
- package/dist/serialization/resources/analytics/types/ConversationTableRequest.d.ts +18 -0
- package/dist/serialization/resources/analytics/types/ConversationTableRequest.js +41 -0
- package/dist/serialization/resources/analytics/types/ConversationTableResponse.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/ConversationTableResponse.js +35 -0
- package/dist/serialization/resources/analytics/types/Count.d.ts +11 -0
- package/dist/serialization/resources/analytics/types/Count.js +31 -0
- package/dist/serialization/resources/analytics/types/DistinctCount.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/DistinctCount.js +32 -0
- package/dist/serialization/resources/analytics/types/GroupBy.d.ts +16 -0
- package/dist/serialization/resources/analytics/types/GroupBy.js +37 -0
- package/dist/serialization/resources/analytics/types/Max.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/Max.js +34 -0
- package/dist/serialization/resources/analytics/types/Median.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/Median.js +34 -0
- package/dist/serialization/resources/analytics/types/Metric.d.ts +42 -0
- package/dist/serialization/resources/analytics/types/Metric.js +53 -0
- package/dist/serialization/resources/analytics/types/Min.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/Min.js +34 -0
- package/dist/serialization/resources/analytics/types/Percentile.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/Percentile.js +36 -0
- package/dist/serialization/resources/analytics/types/Sum.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/Sum.js +34 -0
- package/dist/serialization/resources/analytics/types/index.d.ts +16 -0
- package/dist/serialization/resources/analytics/types/index.js +32 -0
- package/dist/serialization/resources/analyticsCommons/index.d.ts +1 -0
- package/dist/serialization/resources/analyticsCommons/index.js +17 -0
- package/dist/serialization/resources/analyticsCommons/types/CellData.d.ts +30 -0
- package/dist/serialization/resources/analyticsCommons/types/CellData.js +52 -0
- package/dist/serialization/resources/analyticsCommons/types/FieldValue.d.ts +38 -0
- package/dist/serialization/resources/analyticsCommons/types/FieldValue.js +56 -0
- package/dist/serialization/resources/analyticsCommons/types/Range.d.ts +13 -0
- package/dist/serialization/resources/analyticsCommons/types/Range.js +34 -0
- package/dist/serialization/resources/analyticsCommons/types/TimeInterval.d.ts +10 -0
- package/dist/serialization/resources/analyticsCommons/types/TimeInterval.js +31 -0
- package/dist/serialization/resources/analyticsCommons/types/index.d.ts +4 -0
- package/dist/serialization/resources/analyticsCommons/types/index.js +20 -0
- 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/{serialization/resources/actions → dist/serialization/resources/commons}/types/ConversationPrecondition.d.ts +5 -1
- package/dist/serialization/resources/commons/types/ConversationPrecondition.js +45 -0
- package/dist/serialization/resources/{conversation → commons}/types/ConversationResponse.d.ts +4 -1
- package/dist/serialization/resources/commons/types/ConversationResponse.js +44 -0
- package/dist/serialization/resources/commons/types/ConversationSummary.d.ts +14 -0
- package/dist/serialization/resources/commons/types/ConversationSummary.js +35 -0
- package/dist/serialization/resources/commons/types/EntityId.d.ts +2 -5
- package/dist/serialization/resources/commons/types/EntityId.js +30 -7
- package/dist/serialization/resources/commons/types/EntityIdBase.js +28 -2
- package/dist/serialization/resources/commons/types/EntityIdFilter.d.ts +13 -0
- package/dist/serialization/resources/commons/types/EntityIdFilter.js +34 -0
- package/dist/serialization/resources/commons/types/EntityIdWithoutAgent.d.ts +15 -0
- package/dist/serialization/resources/commons/types/EntityIdWithoutAgent.js +38 -0
- 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/ResponseConfigPrecondition.d.ts +18 -0
- package/dist/serialization/resources/commons/types/ResponseConfigPrecondition.js +41 -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 +40 -0
- package/dist/serialization/resources/commons/types/index.js +74 -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/ConversationField.d.ts +10 -0
- package/dist/serialization/resources/conversation/types/ConversationField.js +52 -0
- package/dist/serialization/resources/conversation/types/ConversationFilter.d.ts +32 -0
- package/dist/serialization/resources/conversation/types/ConversationFilter.js +53 -0
- 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/Quality.d.ts +10 -0
- package/dist/serialization/resources/conversation/types/Quality.js +35 -0
- package/dist/serialization/resources/conversation/types/QualityReason.d.ts +10 -0
- package/dist/serialization/resources/conversation/types/QualityReason.js +41 -0
- 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 +4 -24
- package/dist/serialization/resources/conversation/types/index.js +35 -39
- package/dist/serialization/resources/index.d.ts +4 -0
- package/dist/serialization/resources/index.js +46 -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 +224 -6
- 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/analytics/index.d.ts +1 -0
- package/serialization/resources/analytics/index.js +17 -0
- package/serialization/resources/analytics/types/Average.d.ts +12 -0
- package/serialization/resources/analytics/types/Average.js +34 -0
- package/serialization/resources/analytics/types/BasicMetric.d.ts +13 -0
- package/serialization/resources/analytics/types/BasicMetric.js +34 -0
- package/serialization/resources/analytics/types/ColumnDefinition.d.ts +14 -0
- package/serialization/resources/analytics/types/ColumnDefinition.js +35 -0
- package/serialization/resources/analytics/types/ConversationAnalyticsRequest.d.ts +13 -0
- package/serialization/resources/analytics/types/ConversationAnalyticsRequest.js +34 -0
- package/serialization/resources/analytics/types/ConversationRow.d.ts +16 -0
- package/serialization/resources/analytics/types/ConversationRow.js +37 -0
- package/serialization/resources/analytics/types/ConversationTableRequest.d.ts +18 -0
- package/serialization/resources/analytics/types/ConversationTableRequest.js +41 -0
- package/serialization/resources/analytics/types/ConversationTableResponse.d.ts +14 -0
- package/serialization/resources/analytics/types/ConversationTableResponse.js +35 -0
- package/serialization/resources/analytics/types/Count.d.ts +11 -0
- package/serialization/resources/analytics/types/Count.js +31 -0
- package/serialization/resources/analytics/types/DistinctCount.d.ts +12 -0
- package/serialization/resources/analytics/types/DistinctCount.js +32 -0
- package/serialization/resources/analytics/types/GroupBy.d.ts +16 -0
- package/serialization/resources/analytics/types/GroupBy.js +37 -0
- package/serialization/resources/analytics/types/Max.d.ts +12 -0
- package/serialization/resources/analytics/types/Max.js +34 -0
- package/serialization/resources/analytics/types/Median.d.ts +12 -0
- package/serialization/resources/analytics/types/Median.js +34 -0
- package/serialization/resources/analytics/types/Metric.d.ts +42 -0
- package/serialization/resources/analytics/types/Metric.js +53 -0
- package/serialization/resources/analytics/types/Min.d.ts +12 -0
- package/serialization/resources/analytics/types/Min.js +34 -0
- package/serialization/resources/analytics/types/Percentile.d.ts +13 -0
- package/serialization/resources/analytics/types/Percentile.js +36 -0
- package/serialization/resources/analytics/types/Sum.d.ts +12 -0
- package/serialization/resources/analytics/types/Sum.js +34 -0
- package/serialization/resources/analytics/types/index.d.ts +16 -0
- package/serialization/resources/analytics/types/index.js +32 -0
- package/serialization/resources/analyticsCommons/index.d.ts +1 -0
- package/serialization/resources/analyticsCommons/index.js +17 -0
- package/serialization/resources/analyticsCommons/types/CellData.d.ts +30 -0
- package/serialization/resources/analyticsCommons/types/CellData.js +52 -0
- package/serialization/resources/analyticsCommons/types/FieldValue.d.ts +38 -0
- package/serialization/resources/analyticsCommons/types/FieldValue.js +56 -0
- package/serialization/resources/analyticsCommons/types/Range.d.ts +13 -0
- package/serialization/resources/analyticsCommons/types/Range.js +34 -0
- package/serialization/resources/analyticsCommons/types/TimeInterval.d.ts +10 -0
- package/serialization/resources/analyticsCommons/types/TimeInterval.js +31 -0
- package/serialization/resources/analyticsCommons/types/index.d.ts +4 -0
- package/serialization/resources/analyticsCommons/types/index.js +20 -0
- 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/{dist/serialization/resources/actions → serialization/resources/commons}/types/ConversationPrecondition.d.ts +5 -1
- package/serialization/resources/commons/types/ConversationPrecondition.js +45 -0
- package/serialization/resources/{conversation → commons}/types/ConversationResponse.d.ts +4 -1
- package/serialization/resources/commons/types/ConversationResponse.js +44 -0
- package/serialization/resources/commons/types/ConversationSummary.d.ts +14 -0
- package/serialization/resources/commons/types/ConversationSummary.js +35 -0
- package/serialization/resources/commons/types/EntityId.d.ts +2 -5
- package/serialization/resources/commons/types/EntityId.js +30 -7
- package/serialization/resources/commons/types/EntityIdBase.js +28 -2
- package/serialization/resources/commons/types/EntityIdFilter.d.ts +13 -0
- package/serialization/resources/commons/types/EntityIdFilter.js +34 -0
- package/serialization/resources/commons/types/EntityIdWithoutAgent.d.ts +15 -0
- package/serialization/resources/commons/types/EntityIdWithoutAgent.js +38 -0
- 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/ResponseConfigPrecondition.d.ts +18 -0
- package/serialization/resources/commons/types/ResponseConfigPrecondition.js +41 -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 +40 -0
- package/serialization/resources/commons/types/index.js +74 -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/ConversationField.d.ts +10 -0
- package/serialization/resources/conversation/types/ConversationField.js +52 -0
- package/serialization/resources/conversation/types/ConversationFilter.d.ts +32 -0
- package/serialization/resources/conversation/types/ConversationFilter.js +53 -0
- 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/Quality.d.ts +10 -0
- package/serialization/resources/conversation/types/Quality.js +35 -0
- package/serialization/resources/conversation/types/QualityReason.d.ts +10 -0
- package/serialization/resources/conversation/types/QualityReason.js +41 -0
- 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 +4 -24
- package/serialization/resources/conversation/types/index.js +35 -39
- package/serialization/resources/index.d.ts +4 -0
- package/serialization/resources/index.js +46 -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/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/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/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/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
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export interface BasicMetric {
|
|
6
|
+
/** Field to apply the metric to. The field should be numeric for all metrics except for Count (no field) and DistinctCount. */
|
|
7
|
+
targetField: MavenAGI.ConversationField;
|
|
8
|
+
}
|
|
@@ -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 ColumnDefinition {
|
|
6
|
+
/** Unique column header, serving as the key for corresponding metric values. */
|
|
7
|
+
header: string;
|
|
8
|
+
/** The metric calculated for this column, stored in the row data under the specified header. */
|
|
9
|
+
metric: MavenAGI.Metric;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export interface ConversationAnalyticsRequest {
|
|
6
|
+
/** Optional filter applied to refine the conversation data before processing. */
|
|
7
|
+
conversationFilter?: MavenAGI.ConversationFilter;
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export interface ConversationRow {
|
|
6
|
+
/**
|
|
7
|
+
* A unique identifier for each row, consisting of field names mapped to their respective values.
|
|
8
|
+
* This includes time groupings and any specified field groupings.
|
|
9
|
+
*/
|
|
10
|
+
identifier: Record<MavenAGI.ConversationField, MavenAGI.FieldValue | undefined>;
|
|
11
|
+
/** The actual row data, where keys represent column headers and values contain the respective metric results. */
|
|
12
|
+
data: Record<string, MavenAGI.CellData>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* conversationFilter: {
|
|
9
|
+
* languages: ["en", "es"]
|
|
10
|
+
* },
|
|
11
|
+
* timeGrouping: MavenAGI.TimeInterval.Day,
|
|
12
|
+
* fieldGroupings: [{
|
|
13
|
+
* field: MavenAGI.ConversationField.Category
|
|
14
|
+
* }],
|
|
15
|
+
* columnDefinitions: [{
|
|
16
|
+
* header: "count",
|
|
17
|
+
* metric: {
|
|
18
|
+
* type: "count"
|
|
19
|
+
* }
|
|
20
|
+
* }, {
|
|
21
|
+
* header: "avg_first_response_time",
|
|
22
|
+
* metric: {
|
|
23
|
+
* type: "average",
|
|
24
|
+
* targetField: MavenAGI.ConversationField.FirstResponseTime
|
|
25
|
+
* }
|
|
26
|
+
* }, {
|
|
27
|
+
* header: "percentile_handle_time",
|
|
28
|
+
* metric: {
|
|
29
|
+
* type: "percentile",
|
|
30
|
+
* targetField: MavenAGI.ConversationField.HandleTime,
|
|
31
|
+
* percentiles: [25, 75]
|
|
32
|
+
* }
|
|
33
|
+
* }]
|
|
34
|
+
* }
|
|
35
|
+
*/
|
|
36
|
+
export interface ConversationTableRequest extends MavenAGI.ConversationAnalyticsRequest {
|
|
37
|
+
/**
|
|
38
|
+
* Defines the time interval for grouping data. If specified, data is grouped accordingly based on the time they were created.
|
|
39
|
+
* Example: If set to "DAY," data will be aggregated by day.
|
|
40
|
+
*/
|
|
41
|
+
timeGrouping?: MavenAGI.TimeInterval;
|
|
42
|
+
/**
|
|
43
|
+
* Specifies the fields by which data should be grouped. Each unique combination forms a row.
|
|
44
|
+
* If multiple fields are provided, the result is grouped by their unique value combinations.
|
|
45
|
+
* If empty, all data is aggregated into a single row.
|
|
46
|
+
*/
|
|
47
|
+
fieldGroupings: MavenAGI.GroupBy[];
|
|
48
|
+
/** Specifies the metrics to be displayed as columns. Column headers act as keys, with computed metric values as their mapped values. There needs to be at least one column definition in the table request. */
|
|
49
|
+
columnDefinitions: MavenAGI.ColumnDefinition[];
|
|
50
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* headers: ["count", "avg_first_response_time", "percentile_first_response_time"],
|
|
9
|
+
* rows: [{
|
|
10
|
+
* identifier: {
|
|
11
|
+
* [MavenAGI.ConversationField.Category]: {
|
|
12
|
+
* type: "string",
|
|
13
|
+
* value: "Sales"
|
|
14
|
+
* },
|
|
15
|
+
* [MavenAGI.ConversationField.CreatedAt]: {
|
|
16
|
+
* type: "dateTime",
|
|
17
|
+
* value: "2023-10-01T00:00:00Z"
|
|
18
|
+
* }
|
|
19
|
+
* },
|
|
20
|
+
* data: {
|
|
21
|
+
* "count": {
|
|
22
|
+
* type: "double",
|
|
23
|
+
* value: 5
|
|
24
|
+
* },
|
|
25
|
+
* "avg_first_response_time": {
|
|
26
|
+
* type: "millisecond",
|
|
27
|
+
* value: 150
|
|
28
|
+
* },
|
|
29
|
+
* "percentile_handle_time": {
|
|
30
|
+
* type: "percentileMap",
|
|
31
|
+
* value: {
|
|
32
|
+
* "25": 100,
|
|
33
|
+
* "75": 250
|
|
34
|
+
* }
|
|
35
|
+
* }
|
|
36
|
+
* }
|
|
37
|
+
* }, {
|
|
38
|
+
* identifier: {
|
|
39
|
+
* [MavenAGI.ConversationField.Category]: {
|
|
40
|
+
* type: "string",
|
|
41
|
+
* value: "Support"
|
|
42
|
+
* },
|
|
43
|
+
* [MavenAGI.ConversationField.CreatedAt]: {
|
|
44
|
+
* type: "dateTime",
|
|
45
|
+
* value: "2023-10-01T00:00:00Z"
|
|
46
|
+
* }
|
|
47
|
+
* },
|
|
48
|
+
* data: {
|
|
49
|
+
* "count": {
|
|
50
|
+
* type: "double",
|
|
51
|
+
* value: 10
|
|
52
|
+
* },
|
|
53
|
+
* "avg_first_response_time": {
|
|
54
|
+
* type: "millisecond",
|
|
55
|
+
* value: 300
|
|
56
|
+
* },
|
|
57
|
+
* "percentile_handle_time": {
|
|
58
|
+
* type: "percentileMap",
|
|
59
|
+
* value: {
|
|
60
|
+
* "25": 200,
|
|
61
|
+
* "75": 400
|
|
62
|
+
* }
|
|
63
|
+
* }
|
|
64
|
+
* }
|
|
65
|
+
* }, {
|
|
66
|
+
* identifier: {
|
|
67
|
+
* [MavenAGI.ConversationField.Category]: {
|
|
68
|
+
* type: "string",
|
|
69
|
+
* value: "Sales"
|
|
70
|
+
* }
|
|
71
|
+
* },
|
|
72
|
+
* data: {
|
|
73
|
+
* "count": {
|
|
74
|
+
* type: "double",
|
|
75
|
+
* value: 7
|
|
76
|
+
* },
|
|
77
|
+
* "avg_first_response_time": {
|
|
78
|
+
* type: "millisecond",
|
|
79
|
+
* value: 180
|
|
80
|
+
* },
|
|
81
|
+
* "percentile_handle_time": {
|
|
82
|
+
* type: "percentileMap",
|
|
83
|
+
* value: {
|
|
84
|
+
* "25": 130,
|
|
85
|
+
* "75": 280
|
|
86
|
+
* }
|
|
87
|
+
* }
|
|
88
|
+
* }
|
|
89
|
+
* }, {
|
|
90
|
+
* identifier: {
|
|
91
|
+
* [MavenAGI.ConversationField.Category]: {
|
|
92
|
+
* type: "string",
|
|
93
|
+
* value: "Support"
|
|
94
|
+
* },
|
|
95
|
+
* [MavenAGI.ConversationField.CreatedAt]: {
|
|
96
|
+
* type: "dateTime",
|
|
97
|
+
* value: "2023-10-02T00:00:00Z"
|
|
98
|
+
* }
|
|
99
|
+
* },
|
|
100
|
+
* data: {
|
|
101
|
+
* "count": {
|
|
102
|
+
* type: "double",
|
|
103
|
+
* value: 8
|
|
104
|
+
* },
|
|
105
|
+
* "avg_first_response_time": {
|
|
106
|
+
* type: "millisecond",
|
|
107
|
+
* value: 320
|
|
108
|
+
* },
|
|
109
|
+
* "percentile_handle_time": {
|
|
110
|
+
* type: "percentileMap",
|
|
111
|
+
* value: {
|
|
112
|
+
* "25": 220,
|
|
113
|
+
* "75": 420
|
|
114
|
+
* }
|
|
115
|
+
* }
|
|
116
|
+
* }
|
|
117
|
+
* }]
|
|
118
|
+
* }
|
|
119
|
+
*/
|
|
120
|
+
export interface ConversationTableResponse {
|
|
121
|
+
/** Column headers in the table, aligning with the column definitions specified in the request. */
|
|
122
|
+
headers: string[];
|
|
123
|
+
/**
|
|
124
|
+
* The dataset rows, where each row represents a unique combination of grouping field values.
|
|
125
|
+
* The identifier map contains grouping field names mapped to their respective values.
|
|
126
|
+
* The data map contains column headers mapped to their respective metric values.
|
|
127
|
+
*/
|
|
128
|
+
rows: MavenAGI.ConversationRow[];
|
|
129
|
+
}
|
|
@@ -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
|
+
/**
|
|
6
|
+
* Estimates the number of unique values in the specified field.
|
|
7
|
+
* Supports fields with list values as well.
|
|
8
|
+
*/
|
|
9
|
+
export interface DistinctCount extends MavenAGI.BasicMetric {
|
|
10
|
+
}
|
|
@@ -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 GroupBy {
|
|
6
|
+
/** Field used for data grouping. */
|
|
7
|
+
field: MavenAGI.ConversationField;
|
|
8
|
+
/** Limits the number of groups returned (defaults to 100 if omitted). */
|
|
9
|
+
limit?: number;
|
|
10
|
+
/** Numeric ranges for grouping data into predefined buckets. Applies only to numeric fields. */
|
|
11
|
+
ranges?: MavenAGI.Range[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Defines the metric to be calculated for a column or chart.
|
|
7
|
+
* Only numeric fields are supported, except for Count and DistinctCount, which can be applied to any field.
|
|
8
|
+
*/
|
|
9
|
+
export declare type Metric = MavenAGI.Metric.Count | MavenAGI.Metric.Sum | MavenAGI.Metric.Average | MavenAGI.Metric.Min | MavenAGI.Metric.Max | MavenAGI.Metric.Percentile | MavenAGI.Metric.Median | MavenAGI.Metric.DistinctCount;
|
|
10
|
+
export declare namespace Metric {
|
|
11
|
+
interface Count extends MavenAGI.Count {
|
|
12
|
+
type: "count";
|
|
13
|
+
}
|
|
14
|
+
interface Sum extends MavenAGI.Sum {
|
|
15
|
+
type: "sum";
|
|
16
|
+
}
|
|
17
|
+
interface Average extends MavenAGI.Average {
|
|
18
|
+
type: "average";
|
|
19
|
+
}
|
|
20
|
+
interface Min extends MavenAGI.Min {
|
|
21
|
+
type: "min";
|
|
22
|
+
}
|
|
23
|
+
interface Max extends MavenAGI.Max {
|
|
24
|
+
type: "max";
|
|
25
|
+
}
|
|
26
|
+
interface Percentile extends MavenAGI.Percentile {
|
|
27
|
+
type: "percentile";
|
|
28
|
+
}
|
|
29
|
+
interface Median extends MavenAGI.Median {
|
|
30
|
+
type: "median";
|
|
31
|
+
}
|
|
32
|
+
interface DistinctCount extends MavenAGI.DistinctCount {
|
|
33
|
+
type: "distinctCount";
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Calculates specified percentiles for a numeric field.
|
|
7
|
+
*/
|
|
8
|
+
export interface Percentile extends MavenAGI.BasicMetric {
|
|
9
|
+
/** List of percentiles to calculate. Example: [25, 50, 75] computes the 25th, 50th, and 75th percentiles. */
|
|
10
|
+
percentiles: number[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from "./ConversationAnalyticsRequest";
|
|
2
|
+
export * from "./ConversationTableRequest";
|
|
3
|
+
export * from "./ConversationTableResponse";
|
|
4
|
+
export * from "./ColumnDefinition";
|
|
5
|
+
export * from "./Metric";
|
|
6
|
+
export * from "./Count";
|
|
7
|
+
export * from "./BasicMetric";
|
|
8
|
+
export * from "./Sum";
|
|
9
|
+
export * from "./Average";
|
|
10
|
+
export * from "./Min";
|
|
11
|
+
export * from "./Max";
|
|
12
|
+
export * from "./Median";
|
|
13
|
+
export * from "./DistinctCount";
|
|
14
|
+
export * from "./Percentile";
|
|
15
|
+
export * from "./GroupBy";
|
|
16
|
+
export * from "./ConversationRow";
|
|
@@ -0,0 +1,32 @@
|
|
|
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("./ConversationAnalyticsRequest"), exports);
|
|
18
|
+
__exportStar(require("./ConversationTableRequest"), exports);
|
|
19
|
+
__exportStar(require("./ConversationTableResponse"), exports);
|
|
20
|
+
__exportStar(require("./ColumnDefinition"), exports);
|
|
21
|
+
__exportStar(require("./Metric"), exports);
|
|
22
|
+
__exportStar(require("./Count"), exports);
|
|
23
|
+
__exportStar(require("./BasicMetric"), exports);
|
|
24
|
+
__exportStar(require("./Sum"), exports);
|
|
25
|
+
__exportStar(require("./Average"), exports);
|
|
26
|
+
__exportStar(require("./Min"), exports);
|
|
27
|
+
__exportStar(require("./Max"), exports);
|
|
28
|
+
__exportStar(require("./Median"), exports);
|
|
29
|
+
__exportStar(require("./DistinctCount"), exports);
|
|
30
|
+
__exportStar(require("./Percentile"), exports);
|
|
31
|
+
__exportStar(require("./GroupBy"), exports);
|
|
32
|
+
__exportStar(require("./ConversationRow"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export declare type CellData = MavenAGI.CellData.Double | MavenAGI.CellData.Long | MavenAGI.CellData.Millisecond | MavenAGI.CellData.String
|
|
6
|
+
/**
|
|
7
|
+
* A map containing percentile values computed based on the percentile metric request.
|
|
8
|
+
* Keys represent percentile levels, and values are their corresponding computed results.
|
|
9
|
+
* */
|
|
10
|
+
| MavenAGI.CellData.PercentileMap;
|
|
11
|
+
export declare namespace CellData {
|
|
12
|
+
interface Double {
|
|
13
|
+
type: "double";
|
|
14
|
+
value: number;
|
|
15
|
+
}
|
|
16
|
+
interface Long {
|
|
17
|
+
type: "long";
|
|
18
|
+
value: number;
|
|
19
|
+
}
|
|
20
|
+
interface Millisecond {
|
|
21
|
+
type: "millisecond";
|
|
22
|
+
value: number;
|
|
23
|
+
}
|
|
24
|
+
interface String {
|
|
25
|
+
type: "string";
|
|
26
|
+
value: string;
|
|
27
|
+
}
|
|
28
|
+
interface PercentileMap {
|
|
29
|
+
type: "percentileMap";
|
|
30
|
+
value: Record<string, number>;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export declare type FieldValue = MavenAGI.FieldValue.DateTime | MavenAGI.FieldValue.String | MavenAGI.FieldValue.Double | MavenAGI.FieldValue.Long | MavenAGI.FieldValue.Range | MavenAGI.FieldValue.Boolean | MavenAGI.FieldValue.EntityId;
|
|
6
|
+
export declare namespace FieldValue {
|
|
7
|
+
interface DateTime {
|
|
8
|
+
type: "dateTime";
|
|
9
|
+
value: Date;
|
|
10
|
+
}
|
|
11
|
+
interface String {
|
|
12
|
+
type: "string";
|
|
13
|
+
value: string;
|
|
14
|
+
}
|
|
15
|
+
interface Double {
|
|
16
|
+
type: "double";
|
|
17
|
+
value: number;
|
|
18
|
+
}
|
|
19
|
+
interface Long {
|
|
20
|
+
type: "long";
|
|
21
|
+
value: number;
|
|
22
|
+
}
|
|
23
|
+
interface Range extends MavenAGI.Range {
|
|
24
|
+
type: "range";
|
|
25
|
+
}
|
|
26
|
+
interface Boolean {
|
|
27
|
+
type: "boolean";
|
|
28
|
+
value: boolean;
|
|
29
|
+
}
|
|
30
|
+
interface EntityId extends MavenAGI.EntityIdFilter {
|
|
31
|
+
type: "entityId";
|
|
32
|
+
}
|
|
33
|
+
}
|