mavenagi 1.0.6 → 1.0.8
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 +5 -0
- package/Client.js +13 -8
- package/README.md +18 -18
- package/api/resources/actions/client/Client.d.ts +2 -0
- package/api/resources/actions/client/Client.js +27 -17
- package/api/resources/analytics/client/Client.d.ts +87 -1
- package/api/resources/analytics/client/Client.js +238 -12
- package/api/resources/analytics/types/BarChartResponse.d.ts +12 -0
- package/api/resources/analytics/types/CellData.d.ts +23 -0
- package/api/resources/analytics/types/ChartResponse.d.ts +80 -0
- package/api/resources/analytics/types/ColumnDefinitionBase.d.ts +7 -0
- package/api/resources/analytics/types/{Average.d.ts → ConversationAverage.d.ts} +1 -1
- package/api/resources/analytics/types/ConversationBarChartRequest.d.ts +18 -0
- package/{dist/api/resources/analytics/types/BasicMetric.d.ts → api/resources/analytics/types/ConversationBasicMetric.d.ts} +2 -2
- package/api/resources/analytics/types/ConversationChartRequest.d.ts +63 -0
- package/{dist/api/resources/analytics/types/ColumnDefinition.d.ts → api/resources/analytics/types/ConversationColumnDefinition.d.ts} +2 -4
- package/api/resources/analytics/types/ConversationCount.d.ts +8 -0
- package/api/resources/analytics/types/ConversationDateHistogramRequest.d.ts +12 -0
- package/{dist/api/resources/analytics/types/DistinctCount.d.ts → api/resources/analytics/types/ConversationDistinctCount.d.ts} +2 -2
- package/api/resources/analytics/types/{GroupBy.d.ts → ConversationGroupBy.d.ts} +1 -3
- package/{dist/api/resources/analytics/types/Max.d.ts → api/resources/analytics/types/ConversationMax.d.ts} +1 -1
- package/{dist/api/resources/analytics/types/Median.d.ts → api/resources/analytics/types/ConversationMedian.d.ts} +1 -1
- package/api/resources/analytics/types/ConversationMetric.d.ts +35 -0
- package/{dist/api/resources/analytics/types/Min.d.ts → api/resources/analytics/types/ConversationMin.d.ts} +1 -1
- package/api/resources/analytics/types/ConversationNumericMetric.d.ts +8 -0
- package/api/resources/analytics/types/ConversationPercentile.d.ts +11 -0
- package/api/resources/analytics/types/ConversationPieChartRequest.d.ts +10 -0
- package/api/resources/analytics/types/ConversationRow.d.ts +1 -3
- package/api/resources/analytics/types/{Sum.d.ts → ConversationSum.d.ts} +1 -1
- package/api/resources/analytics/types/ConversationTableRequest.d.ts +8 -10
- package/api/resources/analytics/types/ConversationTableResponse.d.ts +9 -23
- package/api/resources/analytics/types/DateHistogramResponse.d.ts +12 -0
- package/api/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +8 -0
- package/api/resources/analytics/types/{ColumnDefinition.d.ts → FeedbackColumnDefinition.d.ts} +2 -4
- package/api/resources/analytics/types/{Count.d.ts → FeedbackCount.d.ts} +1 -1
- package/api/resources/analytics/types/FeedbackDistinctCount.d.ts +12 -0
- package/api/resources/analytics/types/FeedbackGroupBy.d.ts +8 -0
- package/api/resources/analytics/types/FeedbackMetric.d.ts +16 -0
- package/api/resources/analytics/types/FeedbackRow.d.ts +11 -0
- package/api/resources/analytics/types/FeedbackTableRequest.d.ts +41 -0
- package/api/resources/analytics/types/FeedbackTableResponse.d.ts +45 -0
- package/api/resources/analytics/types/FeedbackTableResponse.js +5 -0
- package/{dist/api/resources/analyticsCommons → api/resources/analytics}/types/FieldValue.d.ts +1 -1
- package/api/resources/analytics/types/FieldValue.js +5 -0
- package/api/resources/analytics/types/GroupByBase.d.ts +7 -0
- package/api/resources/analytics/types/GroupByBase.js +5 -0
- package/api/resources/analytics/types/LabeledPoint.d.ts +9 -0
- package/api/resources/analytics/types/LabeledPoint.js +5 -0
- package/api/resources/analytics/types/PieChartResponse.d.ts +11 -0
- package/api/resources/analytics/types/PieChartResponse.js +5 -0
- package/api/resources/analytics/types/Range.js +5 -0
- package/api/resources/analytics/types/RowBase.d.ts +8 -0
- package/api/resources/analytics/types/RowBase.js +5 -0
- package/api/resources/analytics/types/Series.d.ts +13 -0
- package/api/resources/analytics/types/Series.js +5 -0
- package/api/resources/analytics/types/TableResponseBase.d.ts +7 -0
- package/api/resources/analytics/types/TableResponseBase.js +5 -0
- package/api/resources/analytics/types/TimeDataPoint.d.ts +9 -0
- package/api/resources/analytics/types/TimeDataPoint.js +5 -0
- package/api/resources/{analyticsCommons → analytics}/types/TimeInterval.d.ts +1 -1
- package/api/resources/analytics/types/TimeSeries.d.ts +10 -0
- package/api/resources/analytics/types/TimeSeries.js +5 -0
- package/api/resources/analytics/types/index.d.ts +42 -12
- package/api/resources/analytics/types/index.js +42 -12
- package/api/resources/appSettings/client/Client.d.ts +2 -0
- package/api/resources/appSettings/client/Client.js +21 -11
- package/api/resources/commons/errors/BadRequestError.js +17 -7
- package/api/resources/commons/errors/NotFoundError.js +17 -7
- package/api/resources/commons/errors/ServerError.js +17 -7
- package/api/resources/commons/types/ActionParameterType.d.ts +1 -1
- package/api/resources/commons/types/AppUserIdentifyingPropertyType.d.ts +1 -1
- package/api/resources/commons/types/BotConversationMessageType.d.ts +1 -1
- package/api/resources/commons/types/BotResponse.d.ts +1 -1
- package/api/resources/commons/types/Capability.d.ts +1 -1
- package/api/resources/commons/types/ChartSpecSchema.d.ts +1 -1
- package/api/resources/commons/types/ConversationBase.d.ts +3 -1
- package/api/resources/commons/types/ConversationInformation.d.ts +8 -0
- package/api/resources/commons/types/ConversationInformation.js +5 -0
- package/api/resources/commons/types/ConversationMessageResponse.d.ts +1 -1
- package/api/resources/commons/types/ConversationPrecondition.d.ts +1 -1
- package/api/resources/commons/types/ConversationResponse.d.ts +2 -0
- package/api/resources/commons/types/DocumentInformation.d.ts +12 -0
- package/api/resources/commons/types/DocumentInformation.js +5 -0
- package/api/resources/commons/types/EntityType.d.ts +3 -1
- package/api/resources/commons/types/EntityType.js +2 -0
- package/api/resources/commons/types/EventTriggerBase.d.ts +8 -1
- package/api/resources/commons/types/EventTriggerType.d.ts +2 -1
- package/api/resources/commons/types/EventTriggerType.js +1 -0
- package/api/resources/commons/types/FeedbackType.d.ts +1 -1
- package/api/resources/commons/types/InboxItem.d.ts +19 -0
- package/api/resources/commons/types/InboxItem.js +5 -0
- package/api/resources/commons/types/InboxItemBase.d.ts +14 -0
- package/api/resources/commons/types/InboxItemBase.js +5 -0
- package/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +12 -0
- package/api/resources/commons/types/InboxItemDuplicateDocuments.js +5 -0
- package/api/resources/commons/types/InboxItemDuplicateKnowledgeBase.d.ts +12 -0
- package/api/resources/commons/types/InboxItemDuplicateKnowledgeBase.js +5 -0
- package/api/resources/commons/types/InboxItemFix.d.ts +16 -0
- package/api/resources/commons/types/InboxItemFix.js +5 -0
- package/api/resources/commons/types/InboxItemFixAddDocument.d.ts +10 -0
- package/api/resources/commons/types/InboxItemFixAddDocument.js +5 -0
- package/api/resources/commons/types/InboxItemFixBase.d.ts +8 -0
- package/api/resources/commons/types/InboxItemFixBase.js +5 -0
- package/api/resources/commons/types/InboxItemFixDeactivateDocument.d.ts +8 -0
- package/api/resources/commons/types/InboxItemFixDeactivateDocument.js +5 -0
- package/api/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.d.ts +8 -0
- package/api/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.js +5 -0
- package/api/resources/commons/types/InboxItemKnowledgeBaseAlert.d.ts +10 -0
- package/api/resources/commons/types/InboxItemKnowledgeBaseAlert.js +5 -0
- package/api/resources/commons/types/InboxItemMissingKnowledge.d.ts +10 -0
- package/api/resources/commons/types/InboxItemMissingKnowledge.js +5 -0
- package/api/resources/commons/types/InboxItemStatus.d.ts +26 -0
- package/api/resources/commons/types/InboxItemStatus.js +13 -0
- package/api/resources/commons/types/InboxItemType.d.ts +22 -0
- package/api/resources/commons/types/InboxItemType.js +12 -0
- package/api/resources/commons/types/KnowledgeBaseInformation.d.ts +8 -0
- package/api/resources/commons/types/KnowledgeBaseInformation.js +5 -0
- package/api/resources/commons/types/Page.d.ts +13 -0
- package/api/resources/commons/types/Page.js +5 -0
- package/api/resources/commons/types/Precondition.d.ts +1 -1
- package/api/resources/commons/types/PreconditionGroupOperator.d.ts +1 -1
- package/api/resources/commons/types/PreconditionOperator.d.ts +1 -1
- package/api/resources/commons/types/ResponseLength.d.ts +1 -1
- package/api/resources/commons/types/Sentiment.d.ts +1 -1
- package/api/resources/commons/types/UserConversationMessageType.d.ts +1 -1
- package/api/resources/commons/types/VisibilityType.d.ts +1 -1
- package/api/resources/commons/types/index.d.ts +17 -0
- package/api/resources/commons/types/index.js +17 -0
- package/api/resources/conversation/client/Client.d.ts +56 -1
- package/api/resources/conversation/client/Client.js +173 -44
- package/api/resources/conversation/types/ConversationField.d.ts +2 -1
- package/api/resources/conversation/types/ConversationField.js +1 -0
- package/api/resources/conversation/types/ConversationFilter.d.ts +1 -0
- package/api/resources/conversation/types/ConversationMetadata.d.ts +20 -0
- package/api/resources/conversation/types/ConversationMetadata.js +5 -0
- package/api/resources/conversation/types/FeedbackField.d.ts +9 -0
- package/api/resources/conversation/types/FeedbackField.js +11 -0
- package/api/resources/conversation/types/FeedbackFilter.d.ts +10 -0
- package/api/resources/conversation/types/FeedbackFilter.js +5 -0
- package/api/resources/conversation/types/NumericConversationField.d.ts +12 -0
- package/api/resources/conversation/types/NumericConversationField.js +14 -0
- package/api/resources/conversation/types/Quality.d.ts +1 -1
- package/api/resources/conversation/types/QualityReason.d.ts +1 -1
- package/api/resources/conversation/types/ResolutionStatus.d.ts +9 -0
- package/api/resources/conversation/types/ResolutionStatus.js +11 -0
- package/api/resources/conversation/types/StreamResponse.d.ts +1 -1
- package/api/resources/conversation/types/UpdateMetadataRequest.d.ts +18 -0
- package/api/resources/conversation/types/UpdateMetadataRequest.js +5 -0
- package/api/resources/conversation/types/index.d.ts +6 -0
- package/api/resources/conversation/types/index.js +6 -0
- package/api/resources/inbox/client/Client.d.ts +121 -0
- package/api/resources/inbox/client/Client.js +488 -0
- package/api/resources/inbox/client/index.d.ts +1 -0
- package/api/resources/inbox/client/index.js +17 -0
- package/api/resources/inbox/client/requests/InboxItemFixRequest.d.ts +15 -0
- package/api/resources/inbox/client/requests/InboxItemFixRequest.js +5 -0
- package/api/resources/inbox/client/requests/InboxItemIgnoreRequest.d.ts +15 -0
- package/api/resources/inbox/client/requests/InboxItemIgnoreRequest.js +5 -0
- package/api/resources/inbox/client/requests/InboxItemRequest.d.ts +15 -0
- package/api/resources/inbox/client/requests/InboxItemRequest.js +5 -0
- package/api/resources/inbox/client/requests/index.d.ts +3 -0
- package/api/resources/inbox/client/requests/index.js +2 -0
- package/api/resources/inbox/index.d.ts +2 -0
- package/{dist/serialization/resources/analyticsCommons → api/resources/inbox}/index.js +1 -0
- package/api/resources/inbox/types/AddDocumentFixRequest.d.ts +10 -0
- package/api/resources/inbox/types/AddDocumentFixRequest.js +5 -0
- package/api/resources/inbox/types/ApplyInboxItemFixRequest.d.ts +9 -0
- package/api/resources/inbox/types/ApplyInboxItemFixRequest.js +5 -0
- package/api/resources/inbox/types/BaseInboxSearchRequest.d.ts +9 -0
- package/api/resources/inbox/types/BaseInboxSearchRequest.js +5 -0
- package/api/resources/inbox/types/InboxSearchRequest.d.ts +14 -0
- package/api/resources/inbox/types/InboxSearchRequest.js +5 -0
- package/api/resources/inbox/types/InboxSearchResponse.d.ts +8 -0
- package/api/resources/inbox/types/InboxSearchResponse.js +5 -0
- package/api/resources/inbox/types/index.d.ts +5 -0
- package/api/resources/{analyticsCommons → inbox}/types/index.js +5 -4
- package/api/resources/index.d.ts +3 -2
- package/api/resources/index.js +21 -10
- package/api/resources/knowledge/client/Client.d.ts +2 -0
- package/api/resources/knowledge/client/Client.js +39 -29
- package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersionType.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeDocumentContentType.d.ts +1 -1
- package/api/resources/translations/client/Client.d.ts +2 -0
- package/api/resources/translations/client/Client.js +21 -11
- package/api/resources/triggers/client/Client.d.ts +2 -0
- package/api/resources/triggers/client/Client.js +27 -17
- package/api/resources/users/client/Client.d.ts +22 -0
- package/api/resources/users/client/Client.js +112 -16
- package/api/resources/users/client/requests/UserDeleteRequest.d.ts +13 -0
- package/api/resources/users/client/requests/UserDeleteRequest.js +5 -0
- package/api/resources/users/client/requests/index.d.ts +1 -0
- package/core/auth/BearerToken.d.ts +1 -1
- package/core/fetcher/APIResponse.d.ts +1 -1
- package/core/fetcher/Fetcher.d.ts +2 -2
- package/core/fetcher/Fetcher.js +6 -5
- package/core/fetcher/Supplier.d.ts +1 -1
- package/core/fetcher/createRequestUrl.d.ts +1 -1
- package/core/fetcher/createRequestUrl.js +1 -2
- package/core/fetcher/getFetchFn.js +18 -9
- package/core/fetcher/getHeader.js +1 -2
- package/core/fetcher/getRequestBody.js +5 -5
- package/core/fetcher/getResponseBody.js +1 -2
- package/core/fetcher/makeRequest.d.ts +1 -1
- package/core/fetcher/requestWithRetries.js +4 -5
- package/core/fetcher/signals.d.ts +0 -1
- package/core/fetcher/signals.js +2 -3
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -1
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +6 -4
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +1 -1
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +18 -9
- package/core/index.js +17 -7
- package/core/json.d.ts +15 -0
- package/core/json.js +24 -0
- package/core/runtime/runtime.d.ts +1 -1
- package/core/runtime/runtime.js +51 -41
- package/core/schemas/Schema.d.ts +7 -5
- package/core/schemas/Schema.js +2 -0
- package/core/schemas/builders/bigint/bigint.d.ts +1 -1
- package/core/schemas/builders/bigint/bigint.js +22 -19
- package/core/schemas/builders/date/date.js +1 -2
- package/core/schemas/builders/enum/enum.js +1 -2
- package/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/core/schemas/builders/lazy/lazy.js +3 -4
- package/core/schemas/builders/lazy/lazyObject.js +1 -2
- package/core/schemas/builders/list/list.js +1 -2
- package/core/schemas/builders/literals/booleanLiteral.js +1 -2
- package/core/schemas/builders/literals/stringLiteral.js +1 -2
- package/core/schemas/builders/object/object.d.ts +1 -1
- package/core/schemas/builders/object/object.js +3 -3
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +3 -3
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +1 -2
- package/core/schemas/builders/object/property.js +2 -3
- package/core/schemas/builders/object/types.d.ts +11 -11
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -3
- package/core/schemas/builders/object-like/types.d.ts +1 -1
- package/core/schemas/builders/record/record.js +2 -4
- package/core/schemas/builders/record/types.d.ts +2 -2
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +4 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +67 -4
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +1 -2
- package/core/schemas/builders/set/set.js +1 -2
- package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -4
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +1 -2
- package/core/schemas/builders/union/discriminant.js +1 -2
- package/core/schemas/builders/union/types.d.ts +6 -6
- package/core/schemas/builders/union/union.d.ts +1 -1
- package/core/schemas/builders/union/union.js +1 -2
- package/core/schemas/utils/MaybePromise.d.ts +1 -1
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +4 -4
- package/core/schemas/utils/createIdentitySchemaCreator.js +1 -2
- package/core/schemas/utils/entries.d.ts +1 -1
- package/core/schemas/utils/entries.js +1 -2
- package/core/schemas/utils/filterObject.d.ts +1 -1
- package/core/schemas/utils/filterObject.js +1 -2
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +1 -2
- package/core/schemas/utils/isPlainObject.js +1 -2
- package/core/schemas/utils/keys.d.ts +1 -1
- package/core/schemas/utils/keys.js +1 -2
- package/core/schemas/utils/maybeSkipValidation.js +1 -2
- package/core/schemas/utils/partition.js +1 -2
- package/core/streaming-fetcher/Stream.d.ts +0 -1
- package/core/streaming-fetcher/Stream.js +20 -21
- package/dist/Client.d.ts +5 -0
- package/dist/Client.js +13 -8
- package/dist/api/resources/actions/client/Client.d.ts +2 -0
- package/dist/api/resources/actions/client/Client.js +27 -17
- package/dist/api/resources/analytics/client/Client.d.ts +87 -1
- package/dist/api/resources/analytics/client/Client.js +238 -12
- package/dist/api/resources/analytics/types/BarChartResponse.d.ts +12 -0
- package/dist/api/resources/analytics/types/BarChartResponse.js +5 -0
- package/dist/api/resources/analytics/types/CellData.d.ts +23 -0
- package/dist/api/resources/analytics/types/CellData.js +5 -0
- package/dist/api/resources/analytics/types/ChartResponse.d.ts +80 -0
- package/dist/api/resources/analytics/types/ChartResponse.js +5 -0
- package/dist/api/resources/analytics/types/ColumnDefinitionBase.d.ts +7 -0
- package/dist/api/resources/analytics/types/ColumnDefinitionBase.js +5 -0
- package/dist/api/resources/analytics/types/{Average.d.ts → ConversationAverage.d.ts} +1 -1
- package/dist/api/resources/analytics/types/ConversationAverage.js +5 -0
- package/dist/api/resources/analytics/types/ConversationBarChartRequest.d.ts +18 -0
- package/dist/api/resources/analytics/types/ConversationBarChartRequest.js +5 -0
- package/{api/resources/analytics/types/BasicMetric.d.ts → dist/api/resources/analytics/types/ConversationBasicMetric.d.ts} +2 -2
- package/dist/api/resources/analytics/types/ConversationBasicMetric.js +5 -0
- package/dist/api/resources/analytics/types/ConversationChartRequest.d.ts +63 -0
- package/dist/api/resources/analytics/types/ConversationChartRequest.js +5 -0
- package/dist/api/resources/analytics/types/ConversationColumnDefinition.d.ts +8 -0
- package/dist/api/resources/analytics/types/ConversationColumnDefinition.js +5 -0
- package/dist/api/resources/analytics/types/ConversationCount.d.ts +8 -0
- package/dist/api/resources/analytics/types/ConversationCount.js +5 -0
- package/dist/api/resources/analytics/types/ConversationDateHistogramRequest.d.ts +12 -0
- package/dist/api/resources/analytics/types/ConversationDateHistogramRequest.js +5 -0
- package/{api/resources/analytics/types/DistinctCount.d.ts → dist/api/resources/analytics/types/ConversationDistinctCount.d.ts} +2 -2
- package/dist/api/resources/analytics/types/ConversationDistinctCount.js +5 -0
- package/dist/api/resources/analytics/types/{GroupBy.d.ts → ConversationGroupBy.d.ts} +1 -3
- package/dist/api/resources/analytics/types/ConversationGroupBy.js +5 -0
- package/{api/resources/analytics/types/Max.d.ts → dist/api/resources/analytics/types/ConversationMax.d.ts} +1 -1
- package/dist/api/resources/analytics/types/ConversationMax.js +5 -0
- package/{api/resources/analytics/types/Median.d.ts → dist/api/resources/analytics/types/ConversationMedian.d.ts} +1 -1
- package/dist/api/resources/analytics/types/ConversationMedian.js +5 -0
- package/dist/api/resources/analytics/types/ConversationMetric.d.ts +35 -0
- package/dist/api/resources/analytics/types/ConversationMetric.js +5 -0
- package/{api/resources/analytics/types/Min.d.ts → dist/api/resources/analytics/types/ConversationMin.d.ts} +1 -1
- package/dist/api/resources/analytics/types/ConversationMin.js +5 -0
- package/dist/api/resources/analytics/types/ConversationNumericMetric.d.ts +8 -0
- package/dist/api/resources/analytics/types/ConversationNumericMetric.js +5 -0
- package/dist/api/resources/analytics/types/ConversationPercentile.d.ts +11 -0
- package/dist/api/resources/analytics/types/ConversationPercentile.js +5 -0
- package/dist/api/resources/analytics/types/ConversationPieChartRequest.d.ts +10 -0
- package/dist/api/resources/analytics/types/ConversationPieChartRequest.js +5 -0
- package/dist/api/resources/analytics/types/ConversationRow.d.ts +1 -3
- package/dist/api/resources/analytics/types/{Sum.d.ts → ConversationSum.d.ts} +1 -1
- package/dist/api/resources/analytics/types/ConversationSum.js +5 -0
- package/dist/api/resources/analytics/types/ConversationTableRequest.d.ts +8 -10
- package/dist/api/resources/analytics/types/ConversationTableResponse.d.ts +9 -23
- package/dist/api/resources/analytics/types/DateHistogramResponse.d.ts +12 -0
- package/dist/api/resources/analytics/types/DateHistogramResponse.js +5 -0
- package/dist/api/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +8 -0
- package/dist/api/resources/analytics/types/FeedbackAnalyticsRequest.js +5 -0
- package/dist/api/resources/analytics/types/FeedbackColumnDefinition.d.ts +8 -0
- package/dist/api/resources/analytics/types/FeedbackColumnDefinition.js +5 -0
- package/dist/api/resources/analytics/types/{Count.d.ts → FeedbackCount.d.ts} +1 -1
- package/dist/api/resources/analytics/types/FeedbackCount.js +5 -0
- package/dist/api/resources/analytics/types/FeedbackDistinctCount.d.ts +12 -0
- package/dist/api/resources/analytics/types/FeedbackDistinctCount.js +5 -0
- package/dist/api/resources/analytics/types/FeedbackGroupBy.d.ts +8 -0
- package/dist/api/resources/analytics/types/FeedbackGroupBy.js +5 -0
- package/dist/api/resources/analytics/types/FeedbackMetric.d.ts +16 -0
- package/dist/api/resources/analytics/types/FeedbackMetric.js +5 -0
- package/dist/api/resources/analytics/types/FeedbackRow.d.ts +11 -0
- package/dist/api/resources/analytics/types/FeedbackRow.js +5 -0
- package/dist/api/resources/analytics/types/FeedbackTableRequest.d.ts +41 -0
- package/dist/api/resources/analytics/types/FeedbackTableRequest.js +5 -0
- package/dist/api/resources/analytics/types/FeedbackTableResponse.d.ts +45 -0
- package/dist/api/resources/analytics/types/FeedbackTableResponse.js +5 -0
- package/{api/resources/analyticsCommons → dist/api/resources/analytics}/types/FieldValue.d.ts +1 -1
- package/dist/api/resources/analytics/types/FieldValue.js +5 -0
- package/dist/api/resources/analytics/types/GroupByBase.d.ts +7 -0
- package/dist/api/resources/analytics/types/GroupByBase.js +5 -0
- package/dist/api/resources/analytics/types/LabeledPoint.d.ts +9 -0
- package/dist/api/resources/analytics/types/LabeledPoint.js +5 -0
- package/dist/api/resources/analytics/types/PieChartResponse.d.ts +11 -0
- package/dist/api/resources/analytics/types/PieChartResponse.js +5 -0
- package/dist/api/resources/analytics/types/Range.js +5 -0
- package/dist/api/resources/analytics/types/RowBase.d.ts +8 -0
- package/dist/api/resources/analytics/types/RowBase.js +5 -0
- package/dist/api/resources/analytics/types/Series.d.ts +13 -0
- package/dist/api/resources/analytics/types/Series.js +5 -0
- package/dist/api/resources/analytics/types/TableResponseBase.d.ts +7 -0
- package/dist/api/resources/analytics/types/TableResponseBase.js +5 -0
- package/dist/api/resources/analytics/types/TimeDataPoint.d.ts +9 -0
- package/dist/api/resources/analytics/types/TimeDataPoint.js +5 -0
- package/dist/api/resources/{analyticsCommons → analytics}/types/TimeInterval.d.ts +1 -1
- package/dist/api/resources/analytics/types/TimeSeries.d.ts +10 -0
- package/dist/api/resources/analytics/types/TimeSeries.js +5 -0
- package/dist/api/resources/analytics/types/index.d.ts +42 -12
- package/dist/api/resources/analytics/types/index.js +42 -12
- package/dist/api/resources/appSettings/client/Client.d.ts +2 -0
- package/dist/api/resources/appSettings/client/Client.js +21 -11
- package/dist/api/resources/commons/errors/BadRequestError.js +17 -7
- package/dist/api/resources/commons/errors/NotFoundError.js +17 -7
- package/dist/api/resources/commons/errors/ServerError.js +17 -7
- package/dist/api/resources/commons/types/ActionParameterType.d.ts +1 -1
- package/dist/api/resources/commons/types/AppUserIdentifyingPropertyType.d.ts +1 -1
- package/dist/api/resources/commons/types/BotConversationMessageType.d.ts +1 -1
- package/dist/api/resources/commons/types/BotResponse.d.ts +1 -1
- package/dist/api/resources/commons/types/Capability.d.ts +1 -1
- package/dist/api/resources/commons/types/ChartSpecSchema.d.ts +1 -1
- package/dist/api/resources/commons/types/ConversationBase.d.ts +3 -1
- package/dist/api/resources/commons/types/ConversationInformation.d.ts +8 -0
- package/dist/api/resources/commons/types/ConversationInformation.js +5 -0
- package/dist/api/resources/commons/types/ConversationMessageResponse.d.ts +1 -1
- package/dist/api/resources/commons/types/ConversationPrecondition.d.ts +1 -1
- package/dist/api/resources/commons/types/ConversationResponse.d.ts +2 -0
- package/dist/api/resources/commons/types/DocumentInformation.d.ts +12 -0
- package/dist/api/resources/commons/types/DocumentInformation.js +5 -0
- package/dist/api/resources/commons/types/EntityType.d.ts +3 -1
- package/dist/api/resources/commons/types/EntityType.js +2 -0
- package/dist/api/resources/commons/types/EventTriggerBase.d.ts +8 -1
- package/dist/api/resources/commons/types/EventTriggerType.d.ts +2 -1
- package/dist/api/resources/commons/types/EventTriggerType.js +1 -0
- package/dist/api/resources/commons/types/FeedbackType.d.ts +1 -1
- package/dist/api/resources/commons/types/InboxItem.d.ts +19 -0
- package/dist/api/resources/commons/types/InboxItem.js +5 -0
- package/dist/api/resources/commons/types/InboxItemBase.d.ts +14 -0
- package/dist/api/resources/commons/types/InboxItemBase.js +5 -0
- package/dist/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +12 -0
- package/dist/api/resources/commons/types/InboxItemDuplicateDocuments.js +5 -0
- package/dist/api/resources/commons/types/InboxItemDuplicateKnowledgeBase.d.ts +12 -0
- package/dist/api/resources/commons/types/InboxItemDuplicateKnowledgeBase.js +5 -0
- package/dist/api/resources/commons/types/InboxItemFix.d.ts +16 -0
- package/dist/api/resources/commons/types/InboxItemFix.js +5 -0
- package/dist/api/resources/commons/types/InboxItemFixAddDocument.d.ts +10 -0
- package/dist/api/resources/commons/types/InboxItemFixAddDocument.js +5 -0
- package/dist/api/resources/commons/types/InboxItemFixBase.d.ts +8 -0
- package/dist/api/resources/commons/types/InboxItemFixBase.js +5 -0
- package/dist/api/resources/commons/types/InboxItemFixDeactivateDocument.d.ts +8 -0
- package/dist/api/resources/commons/types/InboxItemFixDeactivateDocument.js +5 -0
- package/dist/api/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.d.ts +8 -0
- package/dist/api/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.js +5 -0
- package/dist/api/resources/commons/types/InboxItemKnowledgeBaseAlert.d.ts +10 -0
- package/dist/api/resources/commons/types/InboxItemKnowledgeBaseAlert.js +5 -0
- package/dist/api/resources/commons/types/InboxItemMissingKnowledge.d.ts +10 -0
- package/dist/api/resources/commons/types/InboxItemMissingKnowledge.js +5 -0
- package/dist/api/resources/commons/types/InboxItemStatus.d.ts +26 -0
- package/dist/api/resources/commons/types/InboxItemStatus.js +13 -0
- package/dist/api/resources/commons/types/InboxItemType.d.ts +22 -0
- package/dist/api/resources/commons/types/InboxItemType.js +12 -0
- package/dist/api/resources/commons/types/KnowledgeBaseInformation.d.ts +8 -0
- package/dist/api/resources/commons/types/KnowledgeBaseInformation.js +5 -0
- package/dist/api/resources/commons/types/Page.d.ts +13 -0
- package/dist/api/resources/commons/types/Page.js +5 -0
- package/dist/api/resources/commons/types/Precondition.d.ts +1 -1
- package/dist/api/resources/commons/types/PreconditionGroupOperator.d.ts +1 -1
- package/dist/api/resources/commons/types/PreconditionOperator.d.ts +1 -1
- package/dist/api/resources/commons/types/ResponseLength.d.ts +1 -1
- package/dist/api/resources/commons/types/Sentiment.d.ts +1 -1
- package/dist/api/resources/commons/types/UserConversationMessageType.d.ts +1 -1
- package/dist/api/resources/commons/types/VisibilityType.d.ts +1 -1
- package/dist/api/resources/commons/types/index.d.ts +17 -0
- package/dist/api/resources/commons/types/index.js +17 -0
- package/dist/api/resources/conversation/client/Client.d.ts +56 -1
- package/dist/api/resources/conversation/client/Client.js +173 -44
- package/dist/api/resources/conversation/types/ConversationField.d.ts +2 -1
- package/dist/api/resources/conversation/types/ConversationField.js +1 -0
- package/dist/api/resources/conversation/types/ConversationFilter.d.ts +1 -0
- package/dist/api/resources/conversation/types/ConversationMetadata.d.ts +20 -0
- package/dist/api/resources/conversation/types/ConversationMetadata.js +5 -0
- package/dist/api/resources/conversation/types/FeedbackField.d.ts +9 -0
- package/dist/api/resources/conversation/types/FeedbackField.js +11 -0
- package/dist/api/resources/conversation/types/FeedbackFilter.d.ts +10 -0
- package/dist/api/resources/conversation/types/FeedbackFilter.js +5 -0
- package/dist/api/resources/conversation/types/NumericConversationField.d.ts +12 -0
- package/dist/api/resources/conversation/types/NumericConversationField.js +14 -0
- package/dist/api/resources/conversation/types/Quality.d.ts +1 -1
- package/dist/api/resources/conversation/types/QualityReason.d.ts +1 -1
- package/dist/api/resources/conversation/types/ResolutionStatus.d.ts +9 -0
- package/dist/api/resources/conversation/types/ResolutionStatus.js +11 -0
- package/dist/api/resources/conversation/types/StreamResponse.d.ts +1 -1
- package/dist/api/resources/conversation/types/UpdateMetadataRequest.d.ts +18 -0
- package/dist/api/resources/conversation/types/UpdateMetadataRequest.js +5 -0
- package/dist/api/resources/conversation/types/index.d.ts +6 -0
- package/dist/api/resources/conversation/types/index.js +6 -0
- package/dist/api/resources/inbox/client/Client.d.ts +121 -0
- package/dist/api/resources/inbox/client/Client.js +488 -0
- package/dist/api/resources/inbox/client/index.d.ts +1 -0
- package/dist/api/resources/inbox/client/index.js +17 -0
- package/dist/api/resources/inbox/client/requests/InboxItemFixRequest.d.ts +15 -0
- package/dist/api/resources/inbox/client/requests/InboxItemFixRequest.js +5 -0
- package/dist/api/resources/inbox/client/requests/InboxItemIgnoreRequest.d.ts +15 -0
- package/dist/api/resources/inbox/client/requests/InboxItemIgnoreRequest.js +5 -0
- package/dist/api/resources/inbox/client/requests/InboxItemRequest.d.ts +15 -0
- package/dist/api/resources/inbox/client/requests/InboxItemRequest.js +5 -0
- package/dist/api/resources/inbox/client/requests/index.d.ts +3 -0
- package/dist/api/resources/inbox/client/requests/index.js +2 -0
- package/dist/api/resources/inbox/index.d.ts +2 -0
- package/{serialization/resources/analyticsCommons → dist/api/resources/inbox}/index.js +1 -0
- package/dist/api/resources/inbox/types/AddDocumentFixRequest.d.ts +10 -0
- package/dist/api/resources/inbox/types/AddDocumentFixRequest.js +5 -0
- package/dist/api/resources/inbox/types/ApplyInboxItemFixRequest.d.ts +9 -0
- package/dist/api/resources/inbox/types/ApplyInboxItemFixRequest.js +5 -0
- package/dist/api/resources/inbox/types/BaseInboxSearchRequest.d.ts +9 -0
- package/dist/api/resources/inbox/types/BaseInboxSearchRequest.js +5 -0
- package/dist/api/resources/inbox/types/InboxSearchRequest.d.ts +14 -0
- package/dist/api/resources/inbox/types/InboxSearchRequest.js +5 -0
- package/dist/api/resources/inbox/types/InboxSearchResponse.d.ts +8 -0
- package/dist/api/resources/inbox/types/InboxSearchResponse.js +5 -0
- package/dist/api/resources/inbox/types/index.d.ts +5 -0
- package/dist/api/resources/{analyticsCommons → inbox}/types/index.js +5 -4
- package/dist/api/resources/index.d.ts +3 -2
- package/dist/api/resources/index.js +21 -10
- package/dist/api/resources/knowledge/client/Client.d.ts +2 -0
- package/dist/api/resources/knowledge/client/Client.js +39 -29
- package/dist/api/resources/knowledge/types/KnowledgeBaseType.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersionType.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentContentType.d.ts +1 -1
- package/dist/api/resources/translations/client/Client.d.ts +2 -0
- package/dist/api/resources/translations/client/Client.js +21 -11
- package/dist/api/resources/triggers/client/Client.d.ts +2 -0
- package/dist/api/resources/triggers/client/Client.js +27 -17
- package/dist/api/resources/users/client/Client.d.ts +22 -0
- package/dist/api/resources/users/client/Client.js +112 -16
- package/dist/api/resources/users/client/requests/UserDeleteRequest.d.ts +13 -0
- package/dist/api/resources/users/client/requests/UserDeleteRequest.js +5 -0
- package/dist/api/resources/users/client/requests/index.d.ts +1 -0
- package/dist/core/auth/BearerToken.d.ts +1 -1
- package/dist/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/core/fetcher/Fetcher.d.ts +2 -2
- package/dist/core/fetcher/Fetcher.js +6 -5
- package/dist/core/fetcher/Supplier.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.js +1 -2
- package/dist/core/fetcher/getFetchFn.js +18 -9
- package/dist/core/fetcher/getHeader.js +1 -2
- package/dist/core/fetcher/getRequestBody.js +5 -5
- package/dist/core/fetcher/getResponseBody.js +1 -2
- package/dist/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/core/fetcher/requestWithRetries.js +4 -5
- package/dist/core/fetcher/signals.d.ts +0 -1
- package/dist/core/fetcher/signals.js +2 -3
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -1
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +6 -4
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +18 -9
- package/dist/core/index.js +17 -7
- package/dist/core/json.d.ts +15 -0
- package/dist/core/json.js +24 -0
- package/dist/core/runtime/runtime.d.ts +1 -1
- package/dist/core/runtime/runtime.js +51 -41
- package/dist/core/schemas/Schema.d.ts +7 -5
- package/dist/core/schemas/Schema.js +2 -0
- package/dist/core/schemas/builders/bigint/bigint.d.ts +1 -1
- package/dist/core/schemas/builders/bigint/bigint.js +22 -19
- package/dist/core/schemas/builders/date/date.js +1 -2
- package/dist/core/schemas/builders/enum/enum.js +1 -2
- package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazy.js +3 -4
- package/dist/core/schemas/builders/lazy/lazyObject.js +1 -2
- package/dist/core/schemas/builders/list/list.js +1 -2
- package/dist/core/schemas/builders/literals/booleanLiteral.js +1 -2
- package/dist/core/schemas/builders/literals/stringLiteral.js +1 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/object.js +3 -3
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +3 -3
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +1 -2
- package/dist/core/schemas/builders/object/property.js +2 -3
- package/dist/core/schemas/builders/object/types.d.ts +11 -11
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -3
- package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
- package/dist/core/schemas/builders/record/record.js +2 -4
- package/dist/core/schemas/builders/record/types.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +4 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +67 -4
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +1 -2
- package/dist/core/schemas/builders/set/set.js +1 -2
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -4
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +1 -2
- package/dist/core/schemas/builders/union/discriminant.js +1 -2
- package/dist/core/schemas/builders/union/types.d.ts +6 -6
- package/dist/core/schemas/builders/union/union.d.ts +1 -1
- package/dist/core/schemas/builders/union/union.js +1 -2
- package/dist/core/schemas/utils/MaybePromise.d.ts +1 -1
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +4 -4
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +1 -2
- package/dist/core/schemas/utils/entries.d.ts +1 -1
- package/dist/core/schemas/utils/entries.js +1 -2
- package/dist/core/schemas/utils/filterObject.d.ts +1 -1
- package/dist/core/schemas/utils/filterObject.js +1 -2
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +1 -2
- package/dist/core/schemas/utils/isPlainObject.js +1 -2
- package/dist/core/schemas/utils/keys.d.ts +1 -1
- package/dist/core/schemas/utils/keys.js +1 -2
- package/dist/core/schemas/utils/maybeSkipValidation.js +1 -2
- package/dist/core/schemas/utils/partition.js +1 -2
- package/dist/core/streaming-fetcher/Stream.d.ts +0 -1
- package/dist/core/streaming-fetcher/Stream.js +20 -21
- package/dist/environments.d.ts +1 -1
- package/dist/errors/MavenAGIError.js +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +19 -8
- package/dist/serialization/resources/actions/types/ActionRequest.js +17 -7
- package/dist/serialization/resources/analytics/types/BarChartResponse.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/BarChartResponse.js +44 -0
- package/dist/serialization/resources/{analyticsCommons → analytics}/types/CellData.d.ts +1 -5
- package/dist/serialization/resources/{analyticsCommons → analytics}/types/CellData.js +17 -10
- package/dist/serialization/resources/analytics/types/ChartResponse.d.ts +22 -0
- package/dist/serialization/resources/analytics/types/ChartResponse.js +53 -0
- package/dist/serialization/resources/analytics/types/ColumnDefinitionBase.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/{ColumnDefinition.js → ColumnDefinitionBase.js} +19 -11
- package/dist/serialization/resources/analytics/types/ConversationAnalyticsRequest.js +17 -7
- package/dist/serialization/resources/analytics/types/ConversationAverage.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/ConversationAverage.js +42 -0
- package/dist/serialization/resources/analytics/types/ConversationBarChartRequest.d.ts +17 -0
- package/dist/serialization/resources/analytics/types/ConversationBarChartRequest.js +50 -0
- package/dist/serialization/resources/analytics/types/{BasicMetric.d.ts → ConversationBasicMetric.d.ts} +2 -2
- package/{serialization/resources/analytics/types/BasicMetric.js → dist/serialization/resources/analytics/types/ConversationBasicMetric.js} +19 -9
- package/dist/serialization/resources/analytics/types/ConversationChartRequest.d.ts +22 -0
- package/dist/serialization/resources/analytics/types/ConversationChartRequest.js +53 -0
- package/dist/serialization/resources/analytics/types/ConversationColumnDefinition.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/ConversationColumnDefinition.js +47 -0
- package/dist/serialization/resources/analytics/types/ConversationCount.d.ts +11 -0
- package/dist/serialization/resources/analytics/types/ConversationCount.js +41 -0
- package/dist/serialization/resources/analytics/types/ConversationDateHistogramRequest.d.ts +18 -0
- package/dist/serialization/resources/analytics/types/ConversationDateHistogramRequest.js +51 -0
- package/dist/serialization/resources/analytics/types/ConversationDistinctCount.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/ConversationDistinctCount.js +42 -0
- package/dist/serialization/resources/analytics/types/{GroupBy.d.ts → ConversationGroupBy.d.ts} +5 -5
- package/dist/serialization/resources/analytics/types/ConversationGroupBy.js +49 -0
- package/dist/serialization/resources/analytics/types/ConversationMax.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/ConversationMax.js +42 -0
- package/dist/serialization/resources/analytics/types/ConversationMedian.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/ConversationMedian.js +42 -0
- package/dist/serialization/resources/analytics/types/ConversationMetric.d.ts +42 -0
- package/dist/serialization/resources/analytics/types/ConversationMetric.js +63 -0
- package/dist/serialization/resources/analytics/types/ConversationMin.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/ConversationMin.js +42 -0
- package/dist/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/ConversationNumericMetric.js +44 -0
- package/dist/serialization/resources/analytics/types/ConversationPercentile.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/ConversationPercentile.js +46 -0
- package/dist/serialization/resources/analytics/types/ConversationPieChartRequest.d.ts +16 -0
- package/dist/serialization/resources/analytics/types/ConversationPieChartRequest.js +49 -0
- package/dist/serialization/resources/analytics/types/ConversationRow.d.ts +3 -4
- package/dist/serialization/resources/analytics/types/ConversationRow.js +23 -12
- package/dist/serialization/resources/analytics/types/ConversationSum.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/ConversationSum.js +42 -0
- package/dist/serialization/resources/analytics/types/ConversationTableRequest.d.ts +5 -5
- package/dist/serialization/resources/analytics/types/ConversationTableRequest.js +22 -12
- package/dist/serialization/resources/analytics/types/ConversationTableResponse.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ConversationTableResponse.js +22 -10
- package/dist/serialization/resources/analytics/types/DateHistogramResponse.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/DateHistogramResponse.js +44 -0
- package/dist/serialization/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/FeedbackAnalyticsRequest.js +44 -0
- package/dist/serialization/resources/analytics/types/FeedbackColumnDefinition.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/FeedbackColumnDefinition.js +47 -0
- package/{serialization/resources/analytics/types/Count.d.ts → dist/serialization/resources/analytics/types/FeedbackCount.d.ts} +2 -2
- package/dist/serialization/resources/analytics/types/{Average.js → FeedbackCount.js} +19 -12
- package/dist/serialization/resources/analytics/types/FeedbackDistinctCount.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/FeedbackDistinctCount.js +44 -0
- package/dist/serialization/resources/analytics/types/FeedbackGroupBy.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/FeedbackGroupBy.js +47 -0
- package/dist/serialization/resources/analytics/types/FeedbackMetric.d.ts +18 -0
- package/dist/serialization/resources/analytics/types/{Metric.js → FeedbackMetric.js} +23 -25
- package/dist/serialization/resources/analytics/types/FeedbackRow.d.ts +15 -0
- package/dist/serialization/resources/analytics/types/FeedbackRow.js +48 -0
- package/dist/serialization/resources/analytics/types/FeedbackTableRequest.d.ts +18 -0
- package/dist/serialization/resources/analytics/types/FeedbackTableRequest.js +51 -0
- package/dist/serialization/resources/analytics/types/FeedbackTableResponse.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/FeedbackTableResponse.js +47 -0
- package/dist/serialization/resources/{analyticsCommons → analytics}/types/FieldValue.js +17 -7
- package/dist/serialization/resources/analytics/types/GroupByBase.d.ts +12 -0
- package/{serialization/resources/analytics/types/GroupBy.js → dist/serialization/resources/analytics/types/GroupByBase.js} +19 -13
- package/dist/serialization/resources/analytics/types/LabeledPoint.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/LabeledPoint.js +44 -0
- package/dist/serialization/resources/analytics/types/PieChartResponse.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/PieChartResponse.js +44 -0
- package/{serialization/resources/analyticsCommons → dist/serialization/resources/analytics}/types/Range.js +17 -7
- package/dist/serialization/resources/analytics/types/RowBase.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/RowBase.js +44 -0
- package/dist/serialization/resources/analytics/types/Series.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/Series.js +45 -0
- package/dist/serialization/resources/analytics/types/TableResponseBase.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/TableResponseBase.js +43 -0
- package/dist/serialization/resources/analytics/types/TimeDataPoint.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/TimeDataPoint.js +44 -0
- package/dist/serialization/resources/{analyticsCommons → analytics}/types/TimeInterval.js +17 -7
- package/dist/serialization/resources/analytics/types/TimeSeries.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/TimeSeries.js +45 -0
- package/dist/serialization/resources/analytics/types/index.d.ts +42 -12
- package/dist/serialization/resources/analytics/types/index.js +42 -12
- package/dist/serialization/resources/appSettings/client/get.js +17 -7
- package/dist/serialization/resources/appSettings/client/index.js +17 -7
- package/dist/serialization/resources/commons/types/ActionBase.js +17 -7
- package/dist/serialization/resources/commons/types/ActionEnumOption.js +17 -7
- package/dist/serialization/resources/commons/types/ActionFormField.js +17 -7
- package/dist/serialization/resources/commons/types/ActionParameter.js +17 -7
- package/dist/serialization/resources/commons/types/ActionParameterType.js +17 -7
- package/dist/serialization/resources/commons/types/ActionResponse.js +17 -7
- package/dist/serialization/resources/commons/types/AppUser.js +17 -7
- package/dist/serialization/resources/commons/types/AppUserIdentifier.js +17 -7
- package/dist/serialization/resources/commons/types/AppUserIdentifyingPropertyType.js +17 -7
- package/dist/serialization/resources/commons/types/AppUserRequest.js +17 -7
- package/dist/serialization/resources/commons/types/AppUserResponse.js +17 -7
- package/dist/serialization/resources/commons/types/BotActionFormResponse.js +17 -7
- package/dist/serialization/resources/commons/types/BotChartResponse.js +17 -7
- package/dist/serialization/resources/commons/types/BotConversationMessageType.js +17 -7
- package/dist/serialization/resources/commons/types/BotMessage.js +17 -7
- package/dist/serialization/resources/commons/types/BotResponse.js +17 -7
- package/dist/serialization/resources/commons/types/BotResponseMetadata.js +17 -7
- package/dist/serialization/resources/commons/types/BotTextResponse.js +17 -7
- package/dist/serialization/resources/commons/types/Capability.js +17 -7
- package/dist/serialization/resources/commons/types/ChartSpecSchema.js +17 -7
- package/dist/serialization/resources/commons/types/ConversationAnalysis.js +17 -7
- package/dist/serialization/resources/commons/types/ConversationBase.d.ts +1 -0
- package/dist/serialization/resources/commons/types/ConversationBase.js +18 -7
- package/dist/serialization/resources/commons/types/ConversationExecutedActionPrecondition.js +17 -7
- package/dist/serialization/resources/commons/types/ConversationInformation.d.ts +13 -0
- package/dist/serialization/resources/commons/types/ConversationInformation.js +44 -0
- package/dist/serialization/resources/commons/types/ConversationMessageBase.js +17 -7
- package/dist/serialization/resources/commons/types/ConversationMessageResponse.js +17 -7
- package/dist/serialization/resources/commons/types/ConversationPrecondition.js +17 -7
- package/dist/serialization/resources/commons/types/ConversationResponse.js +17 -7
- package/dist/serialization/resources/commons/types/ConversationSummary.js +17 -7
- package/dist/serialization/resources/commons/types/DocumentInformation.d.ts +15 -0
- package/dist/serialization/resources/commons/types/DocumentInformation.js +46 -0
- package/dist/serialization/resources/commons/types/EntityId.js +17 -7
- package/dist/serialization/resources/commons/types/EntityIdBase.js +17 -7
- package/dist/serialization/resources/commons/types/EntityIdFilter.js +17 -7
- package/dist/serialization/resources/commons/types/EntityIdWithoutAgent.js +17 -7
- package/dist/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/dist/serialization/resources/commons/types/EntityType.js +19 -7
- package/dist/serialization/resources/commons/types/ErrorMessage.js +17 -7
- package/dist/serialization/resources/commons/types/EventTriggerBase.js +17 -7
- package/dist/serialization/resources/commons/types/EventTriggerResponse.js +17 -7
- package/dist/serialization/resources/commons/types/EventTriggerType.d.ts +1 -1
- package/dist/serialization/resources/commons/types/EventTriggerType.js +18 -8
- package/dist/serialization/resources/commons/types/Feedback.js +17 -7
- package/dist/serialization/resources/commons/types/FeedbackBase.js +17 -7
- package/dist/serialization/resources/commons/types/FeedbackType.js +17 -7
- package/dist/serialization/resources/commons/types/InboxItem.d.ts +26 -0
- package/dist/serialization/resources/commons/types/InboxItem.js +55 -0
- package/dist/serialization/resources/commons/types/InboxItemBase.d.ts +17 -0
- package/dist/serialization/resources/commons/types/InboxItemBase.js +48 -0
- package/dist/serialization/resources/commons/types/InboxItemDuplicateDocuments.d.ts +17 -0
- package/dist/serialization/resources/commons/types/InboxItemDuplicateDocuments.js +50 -0
- package/dist/serialization/resources/commons/types/InboxItemDuplicateKnowledgeBase.d.ts +17 -0
- package/dist/serialization/resources/commons/types/InboxItemDuplicateKnowledgeBase.js +50 -0
- package/dist/serialization/resources/commons/types/InboxItemFix.d.ts +22 -0
- package/dist/serialization/resources/commons/types/InboxItemFix.js +53 -0
- package/dist/serialization/resources/commons/types/InboxItemFixAddDocument.d.ts +14 -0
- package/dist/serialization/resources/commons/types/InboxItemFixAddDocument.js +47 -0
- package/dist/serialization/resources/commons/types/InboxItemFixBase.d.ts +13 -0
- package/dist/serialization/resources/commons/types/InboxItemFixBase.js +44 -0
- package/dist/serialization/resources/commons/types/InboxItemFixDeactivateDocument.d.ts +14 -0
- package/dist/serialization/resources/commons/types/InboxItemFixDeactivateDocument.js +47 -0
- package/dist/serialization/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.d.ts +14 -0
- package/dist/serialization/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.js +47 -0
- package/dist/serialization/resources/commons/types/InboxItemKnowledgeBaseAlert.d.ts +16 -0
- package/dist/serialization/resources/commons/types/InboxItemKnowledgeBaseAlert.js +49 -0
- package/dist/serialization/resources/commons/types/InboxItemMissingKnowledge.d.ts +16 -0
- package/dist/serialization/resources/commons/types/InboxItemMissingKnowledge.js +49 -0
- package/dist/serialization/resources/commons/types/InboxItemStatus.d.ts +10 -0
- package/dist/serialization/resources/commons/types/InboxItemStatus.js +41 -0
- package/dist/serialization/resources/commons/types/InboxItemType.d.ts +10 -0
- package/dist/serialization/resources/commons/types/InboxItemType.js +46 -0
- package/dist/serialization/resources/commons/types/KnowledgeBaseInformation.d.ts +13 -0
- package/dist/serialization/resources/commons/types/KnowledgeBaseInformation.js +44 -0
- package/dist/serialization/resources/commons/types/MetadataPrecondition.js +17 -7
- package/dist/serialization/resources/commons/types/Page.d.ts +15 -0
- package/dist/serialization/resources/commons/types/Page.js +46 -0
- package/dist/serialization/resources/commons/types/Precondition.js +17 -7
- package/dist/serialization/resources/commons/types/PreconditionBase.js +17 -7
- package/dist/serialization/resources/commons/types/PreconditionGroup.js +17 -7
- package/dist/serialization/resources/commons/types/PreconditionGroupOperator.js +17 -7
- package/dist/serialization/resources/commons/types/PreconditionOperator.js +17 -7
- package/dist/serialization/resources/commons/types/ResponseConfig.js +17 -7
- package/dist/serialization/resources/commons/types/ResponseConfigPrecondition.js +17 -7
- package/dist/serialization/resources/commons/types/ResponseLength.js +17 -7
- package/dist/serialization/resources/commons/types/Sentiment.js +17 -7
- package/dist/serialization/resources/commons/types/Source.js +17 -7
- package/dist/serialization/resources/commons/types/TagsPrecondition.js +17 -7
- package/dist/serialization/resources/commons/types/UserConversationMessageType.js +17 -7
- package/dist/serialization/resources/commons/types/UserData.js +17 -7
- package/dist/serialization/resources/commons/types/UserMessage.js +17 -7
- package/dist/serialization/resources/commons/types/UserMessageAttachment.js +17 -7
- package/dist/serialization/resources/commons/types/UserMessageBase.js +17 -7
- package/dist/serialization/resources/commons/types/VisibilityType.js +17 -7
- package/dist/serialization/resources/commons/types/index.d.ts +17 -0
- package/dist/serialization/resources/commons/types/index.js +17 -0
- package/dist/serialization/resources/conversation/client/addConversationMetadata.js +17 -7
- package/dist/serialization/resources/conversation/client/appendNewMessages.js +17 -7
- package/dist/serialization/resources/conversation/client/index.js +17 -7
- package/dist/serialization/resources/conversation/types/AskRequest.js +17 -7
- package/dist/serialization/resources/conversation/types/AskStreamActionEvent.js +17 -7
- package/dist/serialization/resources/conversation/types/AskStreamChartEvent.js +17 -7
- package/dist/serialization/resources/conversation/types/AskStreamEndEvent.js +17 -7
- package/dist/serialization/resources/conversation/types/AskStreamMetadataEvent.js +17 -7
- package/dist/serialization/resources/conversation/types/AskStreamStartEvent.js +17 -7
- package/dist/serialization/resources/conversation/types/AskStreamTextEvent.js +17 -7
- package/dist/serialization/resources/conversation/types/Attachment.js +17 -7
- package/dist/serialization/resources/conversation/types/CategorizationResponse.js +17 -7
- package/dist/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
- package/dist/serialization/resources/conversation/types/ConversationField.js +18 -7
- package/dist/serialization/resources/conversation/types/ConversationFilter.d.ts +2 -0
- package/dist/serialization/resources/conversation/types/ConversationFilter.js +19 -7
- package/dist/serialization/resources/conversation/types/ConversationMessageRequest.js +17 -7
- package/dist/serialization/resources/conversation/types/ConversationMetadata.d.ts +12 -0
- package/dist/serialization/resources/conversation/types/ConversationMetadata.js +43 -0
- package/dist/serialization/resources/conversation/types/ConversationRequest.js +17 -7
- package/dist/serialization/resources/conversation/types/FeedbackField.d.ts +10 -0
- package/dist/serialization/resources/conversation/types/FeedbackField.js +41 -0
- package/dist/serialization/resources/conversation/types/FeedbackFilter.d.ts +16 -0
- package/dist/serialization/resources/conversation/types/FeedbackFilter.js +47 -0
- package/dist/serialization/resources/conversation/types/FeedbackRequest.js +17 -7
- package/dist/serialization/resources/conversation/types/GenerateMavenSuggestionsRequest.js +17 -7
- package/dist/serialization/resources/conversation/types/NumericConversationField.d.ts +10 -0
- package/dist/serialization/resources/conversation/types/NumericConversationField.js +48 -0
- package/dist/serialization/resources/conversation/types/Quality.js +17 -7
- package/dist/serialization/resources/conversation/types/QualityReason.js +17 -7
- package/dist/serialization/resources/conversation/types/ResolutionStatus.d.ts +10 -0
- package/dist/serialization/resources/conversation/types/ResolutionStatus.js +41 -0
- package/dist/serialization/resources/conversation/types/StreamResponse.js +17 -7
- package/dist/serialization/resources/conversation/types/SubmitActionFormRequest.js +17 -7
- package/dist/serialization/resources/conversation/types/UpdateMetadataRequest.d.ts +13 -0
- package/dist/serialization/resources/conversation/types/UpdateMetadataRequest.js +44 -0
- package/dist/serialization/resources/conversation/types/index.d.ts +6 -0
- package/dist/serialization/resources/conversation/types/index.js +6 -0
- package/dist/serialization/resources/inbox/types/AddDocumentFixRequest.d.ts +14 -0
- package/dist/serialization/resources/inbox/types/AddDocumentFixRequest.js +45 -0
- package/dist/serialization/resources/inbox/types/ApplyInboxItemFixRequest.d.ts +14 -0
- package/dist/serialization/resources/inbox/types/ApplyInboxItemFixRequest.js +45 -0
- package/dist/serialization/resources/inbox/types/BaseInboxSearchRequest.d.ts +13 -0
- package/dist/serialization/resources/inbox/types/BaseInboxSearchRequest.js +44 -0
- package/dist/serialization/resources/inbox/types/InboxSearchRequest.d.ts +18 -0
- package/dist/serialization/resources/inbox/types/InboxSearchRequest.js +51 -0
- package/dist/serialization/resources/inbox/types/InboxSearchResponse.d.ts +14 -0
- package/dist/serialization/resources/inbox/types/InboxSearchResponse.js +47 -0
- package/dist/serialization/resources/inbox/types/index.d.ts +5 -0
- package/dist/serialization/resources/inbox/types/index.js +21 -0
- package/dist/serialization/resources/index.d.ts +2 -2
- package/dist/serialization/resources/index.js +20 -10
- package/dist/serialization/resources/knowledge/types/BaseKnowledgeDocument.js +17 -7
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseProperties.js +17 -7
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseRequest.js +17 -7
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +17 -7
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseType.js +17 -7
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +17 -7
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionType.js +17 -7
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentContentType.js +17 -7
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +17 -7
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +17 -7
- package/dist/serialization/resources/translations/types/TranslationRequest.js +17 -7
- package/dist/serialization/resources/translations/types/TranslationResponse.js +17 -7
- package/dist/serialization/resources/triggers/types/EventTriggerRequest.js +17 -7
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +1 -1
- package/errors/MavenAGIError.js +2 -1
- package/index.d.ts +1 -0
- package/index.js +19 -8
- package/{jest.config.js → jest.config.mjs} +4 -1
- package/package.json +16 -16
- package/reference.md +850 -154
- package/scripts/rename-to-esm-files.js +115 -0
- package/serialization/resources/actions/types/ActionRequest.js +17 -7
- package/serialization/resources/analytics/types/BarChartResponse.d.ts +13 -0
- package/serialization/resources/analytics/types/BarChartResponse.js +44 -0
- package/serialization/resources/{analyticsCommons → analytics}/types/CellData.d.ts +1 -5
- package/serialization/resources/{analyticsCommons → analytics}/types/CellData.js +17 -10
- package/serialization/resources/analytics/types/ChartResponse.d.ts +22 -0
- package/serialization/resources/analytics/types/ChartResponse.js +53 -0
- package/serialization/resources/analytics/types/ColumnDefinitionBase.d.ts +12 -0
- package/serialization/resources/analytics/types/{ColumnDefinition.js → ColumnDefinitionBase.js} +19 -11
- package/serialization/resources/analytics/types/ConversationAnalyticsRequest.js +17 -7
- package/serialization/resources/analytics/types/ConversationAverage.d.ts +12 -0
- package/serialization/resources/analytics/types/ConversationAverage.js +42 -0
- package/serialization/resources/analytics/types/ConversationBarChartRequest.d.ts +17 -0
- package/serialization/resources/analytics/types/ConversationBarChartRequest.js +50 -0
- package/serialization/resources/analytics/types/{BasicMetric.d.ts → ConversationBasicMetric.d.ts} +2 -2
- package/{dist/serialization/resources/analytics/types/BasicMetric.js → serialization/resources/analytics/types/ConversationBasicMetric.js} +19 -9
- package/serialization/resources/analytics/types/ConversationChartRequest.d.ts +22 -0
- package/serialization/resources/analytics/types/ConversationChartRequest.js +53 -0
- package/serialization/resources/analytics/types/ConversationColumnDefinition.d.ts +14 -0
- package/serialization/resources/analytics/types/ConversationColumnDefinition.js +47 -0
- package/serialization/resources/analytics/types/ConversationCount.d.ts +11 -0
- package/serialization/resources/analytics/types/ConversationCount.js +41 -0
- package/serialization/resources/analytics/types/ConversationDateHistogramRequest.d.ts +18 -0
- package/serialization/resources/analytics/types/ConversationDateHistogramRequest.js +51 -0
- package/serialization/resources/analytics/types/ConversationDistinctCount.d.ts +12 -0
- package/serialization/resources/analytics/types/ConversationDistinctCount.js +42 -0
- package/serialization/resources/analytics/types/{GroupBy.d.ts → ConversationGroupBy.d.ts} +5 -5
- package/serialization/resources/analytics/types/ConversationGroupBy.js +49 -0
- package/serialization/resources/analytics/types/ConversationMax.d.ts +12 -0
- package/serialization/resources/analytics/types/ConversationMax.js +42 -0
- package/serialization/resources/analytics/types/ConversationMedian.d.ts +12 -0
- package/serialization/resources/analytics/types/ConversationMedian.js +42 -0
- package/serialization/resources/analytics/types/ConversationMetric.d.ts +42 -0
- package/serialization/resources/analytics/types/ConversationMetric.js +63 -0
- package/serialization/resources/analytics/types/ConversationMin.d.ts +12 -0
- package/serialization/resources/analytics/types/ConversationMin.js +42 -0
- package/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +13 -0
- package/serialization/resources/analytics/types/ConversationNumericMetric.js +44 -0
- package/serialization/resources/analytics/types/ConversationPercentile.d.ts +13 -0
- package/serialization/resources/analytics/types/ConversationPercentile.js +46 -0
- package/serialization/resources/analytics/types/ConversationPieChartRequest.d.ts +16 -0
- package/serialization/resources/analytics/types/ConversationPieChartRequest.js +49 -0
- package/serialization/resources/analytics/types/ConversationRow.d.ts +3 -4
- package/serialization/resources/analytics/types/ConversationRow.js +23 -12
- package/serialization/resources/analytics/types/ConversationSum.d.ts +12 -0
- package/serialization/resources/analytics/types/ConversationSum.js +42 -0
- package/serialization/resources/analytics/types/ConversationTableRequest.d.ts +5 -5
- package/serialization/resources/analytics/types/ConversationTableRequest.js +22 -12
- package/serialization/resources/analytics/types/ConversationTableResponse.d.ts +2 -2
- package/serialization/resources/analytics/types/ConversationTableResponse.js +22 -10
- package/serialization/resources/analytics/types/DateHistogramResponse.d.ts +13 -0
- package/serialization/resources/analytics/types/DateHistogramResponse.js +44 -0
- package/serialization/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +13 -0
- package/serialization/resources/analytics/types/FeedbackAnalyticsRequest.js +44 -0
- package/serialization/resources/analytics/types/FeedbackColumnDefinition.d.ts +14 -0
- package/serialization/resources/analytics/types/FeedbackColumnDefinition.js +47 -0
- package/{dist/serialization/resources/analytics/types/Count.d.ts → serialization/resources/analytics/types/FeedbackCount.d.ts} +2 -2
- package/{dist/serialization/resources/analytics/types/Count.js → serialization/resources/analytics/types/FeedbackCount.js} +19 -9
- package/serialization/resources/analytics/types/FeedbackDistinctCount.d.ts +13 -0
- package/serialization/resources/analytics/types/FeedbackDistinctCount.js +44 -0
- package/serialization/resources/analytics/types/FeedbackGroupBy.d.ts +14 -0
- package/serialization/resources/analytics/types/FeedbackGroupBy.js +47 -0
- package/serialization/resources/analytics/types/FeedbackMetric.d.ts +18 -0
- package/serialization/resources/analytics/types/{Metric.js → FeedbackMetric.js} +23 -25
- package/serialization/resources/analytics/types/FeedbackRow.d.ts +15 -0
- package/serialization/resources/analytics/types/FeedbackRow.js +48 -0
- package/serialization/resources/analytics/types/FeedbackTableRequest.d.ts +18 -0
- package/serialization/resources/analytics/types/FeedbackTableRequest.js +51 -0
- package/serialization/resources/analytics/types/FeedbackTableResponse.d.ts +14 -0
- package/serialization/resources/analytics/types/FeedbackTableResponse.js +47 -0
- package/serialization/resources/{analyticsCommons → analytics}/types/FieldValue.js +17 -7
- package/serialization/resources/analytics/types/GroupByBase.d.ts +12 -0
- package/{dist/serialization/resources/analytics/types/GroupBy.js → serialization/resources/analytics/types/GroupByBase.js} +19 -13
- package/serialization/resources/analytics/types/LabeledPoint.d.ts +13 -0
- package/serialization/resources/analytics/types/LabeledPoint.js +44 -0
- package/serialization/resources/analytics/types/PieChartResponse.d.ts +13 -0
- package/serialization/resources/analytics/types/PieChartResponse.js +44 -0
- package/{dist/serialization/resources/analyticsCommons → serialization/resources/analytics}/types/Range.js +17 -7
- package/serialization/resources/analytics/types/RowBase.d.ts +13 -0
- package/serialization/resources/analytics/types/RowBase.js +44 -0
- package/serialization/resources/analytics/types/Series.d.ts +14 -0
- package/serialization/resources/analytics/types/Series.js +45 -0
- package/serialization/resources/analytics/types/TableResponseBase.d.ts +12 -0
- package/serialization/resources/analytics/types/TableResponseBase.js +43 -0
- package/serialization/resources/analytics/types/TimeDataPoint.d.ts +13 -0
- package/serialization/resources/analytics/types/TimeDataPoint.js +44 -0
- package/serialization/resources/{analyticsCommons → analytics}/types/TimeInterval.js +17 -7
- package/serialization/resources/analytics/types/TimeSeries.d.ts +14 -0
- package/serialization/resources/analytics/types/TimeSeries.js +45 -0
- package/serialization/resources/analytics/types/index.d.ts +42 -12
- package/serialization/resources/analytics/types/index.js +42 -12
- package/serialization/resources/appSettings/client/get.js +17 -7
- package/serialization/resources/appSettings/client/index.js +17 -7
- package/serialization/resources/commons/types/ActionBase.js +17 -7
- package/serialization/resources/commons/types/ActionEnumOption.js +17 -7
- package/serialization/resources/commons/types/ActionFormField.js +17 -7
- package/serialization/resources/commons/types/ActionParameter.js +17 -7
- package/serialization/resources/commons/types/ActionParameterType.js +17 -7
- package/serialization/resources/commons/types/ActionResponse.js +17 -7
- package/serialization/resources/commons/types/AppUser.js +17 -7
- package/serialization/resources/commons/types/AppUserIdentifier.js +17 -7
- package/serialization/resources/commons/types/AppUserIdentifyingPropertyType.js +17 -7
- package/serialization/resources/commons/types/AppUserRequest.js +17 -7
- package/serialization/resources/commons/types/AppUserResponse.js +17 -7
- package/serialization/resources/commons/types/BotActionFormResponse.js +17 -7
- package/serialization/resources/commons/types/BotChartResponse.js +17 -7
- package/serialization/resources/commons/types/BotConversationMessageType.js +17 -7
- package/serialization/resources/commons/types/BotMessage.js +17 -7
- package/serialization/resources/commons/types/BotResponse.js +17 -7
- package/serialization/resources/commons/types/BotResponseMetadata.js +17 -7
- package/serialization/resources/commons/types/BotTextResponse.js +17 -7
- package/serialization/resources/commons/types/Capability.js +17 -7
- package/serialization/resources/commons/types/ChartSpecSchema.js +17 -7
- package/serialization/resources/commons/types/ConversationAnalysis.js +17 -7
- package/serialization/resources/commons/types/ConversationBase.d.ts +1 -0
- package/serialization/resources/commons/types/ConversationBase.js +18 -7
- package/serialization/resources/commons/types/ConversationExecutedActionPrecondition.js +17 -7
- package/serialization/resources/commons/types/ConversationInformation.d.ts +13 -0
- package/serialization/resources/commons/types/ConversationInformation.js +44 -0
- package/serialization/resources/commons/types/ConversationMessageBase.js +17 -7
- package/serialization/resources/commons/types/ConversationMessageResponse.js +17 -7
- package/serialization/resources/commons/types/ConversationPrecondition.js +17 -7
- package/serialization/resources/commons/types/ConversationResponse.js +17 -7
- package/serialization/resources/commons/types/ConversationSummary.js +17 -7
- package/serialization/resources/commons/types/DocumentInformation.d.ts +15 -0
- package/serialization/resources/commons/types/DocumentInformation.js +46 -0
- package/serialization/resources/commons/types/EntityId.js +17 -7
- package/serialization/resources/commons/types/EntityIdBase.js +17 -7
- package/serialization/resources/commons/types/EntityIdFilter.js +17 -7
- package/serialization/resources/commons/types/EntityIdWithoutAgent.js +17 -7
- package/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +19 -7
- package/serialization/resources/commons/types/ErrorMessage.js +17 -7
- package/serialization/resources/commons/types/EventTriggerBase.js +17 -7
- package/serialization/resources/commons/types/EventTriggerResponse.js +17 -7
- package/serialization/resources/commons/types/EventTriggerType.d.ts +1 -1
- package/serialization/resources/commons/types/EventTriggerType.js +18 -8
- package/serialization/resources/commons/types/Feedback.js +17 -7
- package/serialization/resources/commons/types/FeedbackBase.js +17 -7
- package/serialization/resources/commons/types/FeedbackType.js +17 -7
- package/serialization/resources/commons/types/InboxItem.d.ts +26 -0
- package/serialization/resources/commons/types/InboxItem.js +55 -0
- package/serialization/resources/commons/types/InboxItemBase.d.ts +17 -0
- package/serialization/resources/commons/types/InboxItemBase.js +48 -0
- package/serialization/resources/commons/types/InboxItemDuplicateDocuments.d.ts +17 -0
- package/serialization/resources/commons/types/InboxItemDuplicateDocuments.js +50 -0
- package/serialization/resources/commons/types/InboxItemDuplicateKnowledgeBase.d.ts +17 -0
- package/serialization/resources/commons/types/InboxItemDuplicateKnowledgeBase.js +50 -0
- package/serialization/resources/commons/types/InboxItemFix.d.ts +22 -0
- package/serialization/resources/commons/types/InboxItemFix.js +53 -0
- package/serialization/resources/commons/types/InboxItemFixAddDocument.d.ts +14 -0
- package/serialization/resources/commons/types/InboxItemFixAddDocument.js +47 -0
- package/serialization/resources/commons/types/InboxItemFixBase.d.ts +13 -0
- package/serialization/resources/commons/types/InboxItemFixBase.js +44 -0
- package/serialization/resources/commons/types/InboxItemFixDeactivateDocument.d.ts +14 -0
- package/serialization/resources/commons/types/InboxItemFixDeactivateDocument.js +47 -0
- package/serialization/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.d.ts +14 -0
- package/serialization/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.js +47 -0
- package/serialization/resources/commons/types/InboxItemKnowledgeBaseAlert.d.ts +16 -0
- package/serialization/resources/commons/types/InboxItemKnowledgeBaseAlert.js +49 -0
- package/serialization/resources/commons/types/InboxItemMissingKnowledge.d.ts +16 -0
- package/serialization/resources/commons/types/InboxItemMissingKnowledge.js +49 -0
- package/serialization/resources/commons/types/InboxItemStatus.d.ts +10 -0
- package/serialization/resources/commons/types/InboxItemStatus.js +41 -0
- package/serialization/resources/commons/types/InboxItemType.d.ts +10 -0
- package/serialization/resources/commons/types/InboxItemType.js +46 -0
- package/serialization/resources/commons/types/KnowledgeBaseInformation.d.ts +13 -0
- package/serialization/resources/commons/types/KnowledgeBaseInformation.js +44 -0
- package/serialization/resources/commons/types/MetadataPrecondition.js +17 -7
- package/serialization/resources/commons/types/Page.d.ts +15 -0
- package/serialization/resources/commons/types/Page.js +46 -0
- package/serialization/resources/commons/types/Precondition.js +17 -7
- package/serialization/resources/commons/types/PreconditionBase.js +17 -7
- package/serialization/resources/commons/types/PreconditionGroup.js +17 -7
- package/serialization/resources/commons/types/PreconditionGroupOperator.js +17 -7
- package/serialization/resources/commons/types/PreconditionOperator.js +17 -7
- package/serialization/resources/commons/types/ResponseConfig.js +17 -7
- package/serialization/resources/commons/types/ResponseConfigPrecondition.js +17 -7
- package/serialization/resources/commons/types/ResponseLength.js +17 -7
- package/serialization/resources/commons/types/Sentiment.js +17 -7
- package/serialization/resources/commons/types/Source.js +17 -7
- package/serialization/resources/commons/types/TagsPrecondition.js +17 -7
- package/serialization/resources/commons/types/UserConversationMessageType.js +17 -7
- package/serialization/resources/commons/types/UserData.js +17 -7
- package/serialization/resources/commons/types/UserMessage.js +17 -7
- package/serialization/resources/commons/types/UserMessageAttachment.js +17 -7
- package/serialization/resources/commons/types/UserMessageBase.js +17 -7
- package/serialization/resources/commons/types/VisibilityType.js +17 -7
- package/serialization/resources/commons/types/index.d.ts +17 -0
- package/serialization/resources/commons/types/index.js +17 -0
- package/serialization/resources/conversation/client/addConversationMetadata.js +17 -7
- package/serialization/resources/conversation/client/appendNewMessages.js +17 -7
- package/serialization/resources/conversation/client/index.js +17 -7
- package/serialization/resources/conversation/types/AskRequest.js +17 -7
- package/serialization/resources/conversation/types/AskStreamActionEvent.js +17 -7
- package/serialization/resources/conversation/types/AskStreamChartEvent.js +17 -7
- package/serialization/resources/conversation/types/AskStreamEndEvent.js +17 -7
- package/serialization/resources/conversation/types/AskStreamMetadataEvent.js +17 -7
- package/serialization/resources/conversation/types/AskStreamStartEvent.js +17 -7
- package/serialization/resources/conversation/types/AskStreamTextEvent.js +17 -7
- package/serialization/resources/conversation/types/Attachment.js +17 -7
- package/serialization/resources/conversation/types/CategorizationResponse.js +17 -7
- package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/ConversationField.js +18 -7
- package/serialization/resources/conversation/types/ConversationFilter.d.ts +2 -0
- package/serialization/resources/conversation/types/ConversationFilter.js +19 -7
- package/serialization/resources/conversation/types/ConversationMessageRequest.js +17 -7
- package/serialization/resources/conversation/types/ConversationMetadata.d.ts +12 -0
- package/serialization/resources/conversation/types/ConversationMetadata.js +43 -0
- package/serialization/resources/conversation/types/ConversationRequest.js +17 -7
- package/serialization/resources/conversation/types/FeedbackField.d.ts +10 -0
- package/serialization/resources/conversation/types/FeedbackField.js +41 -0
- package/serialization/resources/conversation/types/FeedbackFilter.d.ts +16 -0
- package/serialization/resources/conversation/types/FeedbackFilter.js +47 -0
- package/serialization/resources/conversation/types/FeedbackRequest.js +17 -7
- package/serialization/resources/conversation/types/GenerateMavenSuggestionsRequest.js +17 -7
- package/serialization/resources/conversation/types/NumericConversationField.d.ts +10 -0
- package/serialization/resources/conversation/types/NumericConversationField.js +48 -0
- package/serialization/resources/conversation/types/Quality.js +17 -7
- package/serialization/resources/conversation/types/QualityReason.js +17 -7
- package/serialization/resources/conversation/types/ResolutionStatus.d.ts +10 -0
- package/serialization/resources/conversation/types/ResolutionStatus.js +41 -0
- package/serialization/resources/conversation/types/StreamResponse.js +17 -7
- package/serialization/resources/conversation/types/SubmitActionFormRequest.js +17 -7
- package/serialization/resources/conversation/types/UpdateMetadataRequest.d.ts +13 -0
- package/serialization/resources/conversation/types/UpdateMetadataRequest.js +44 -0
- package/serialization/resources/conversation/types/index.d.ts +6 -0
- package/serialization/resources/conversation/types/index.js +6 -0
- package/serialization/resources/inbox/types/AddDocumentFixRequest.d.ts +14 -0
- package/serialization/resources/inbox/types/AddDocumentFixRequest.js +45 -0
- package/serialization/resources/inbox/types/ApplyInboxItemFixRequest.d.ts +14 -0
- package/serialization/resources/inbox/types/ApplyInboxItemFixRequest.js +45 -0
- package/serialization/resources/inbox/types/BaseInboxSearchRequest.d.ts +13 -0
- package/serialization/resources/inbox/types/BaseInboxSearchRequest.js +44 -0
- package/serialization/resources/inbox/types/InboxSearchRequest.d.ts +18 -0
- package/serialization/resources/inbox/types/InboxSearchRequest.js +51 -0
- package/serialization/resources/inbox/types/InboxSearchResponse.d.ts +14 -0
- package/serialization/resources/inbox/types/InboxSearchResponse.js +47 -0
- package/serialization/resources/inbox/types/index.d.ts +5 -0
- package/serialization/resources/inbox/types/index.js +21 -0
- package/serialization/resources/index.d.ts +2 -2
- package/serialization/resources/index.js +20 -10
- package/serialization/resources/knowledge/types/BaseKnowledgeDocument.js +17 -7
- package/serialization/resources/knowledge/types/KnowledgeBaseProperties.js +17 -7
- package/serialization/resources/knowledge/types/KnowledgeBaseRequest.js +17 -7
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +17 -7
- package/serialization/resources/knowledge/types/KnowledgeBaseType.js +17 -7
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +17 -7
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionType.js +17 -7
- package/serialization/resources/knowledge/types/KnowledgeDocumentContentType.js +17 -7
- package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +17 -7
- package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +17 -7
- package/serialization/resources/translations/types/TranslationRequest.js +17 -7
- package/serialization/resources/translations/types/TranslationResponse.js +17 -7
- package/serialization/resources/triggers/types/EventTriggerRequest.js +17 -7
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/analytics/types/Metric.d.ts +0 -35
- package/api/resources/analytics/types/Percentile.d.ts +0 -11
- package/api/resources/analyticsCommons/types/CellData.d.ts +0 -32
- package/api/resources/analyticsCommons/types/index.d.ts +0 -4
- package/dist/api/resources/analytics/types/Metric.d.ts +0 -35
- package/dist/api/resources/analytics/types/Percentile.d.ts +0 -11
- package/dist/api/resources/analyticsCommons/types/CellData.d.ts +0 -32
- package/dist/api/resources/analyticsCommons/types/index.d.ts +0 -4
- package/dist/serialization/resources/analytics/types/Average.d.ts +0 -12
- package/dist/serialization/resources/analytics/types/ColumnDefinition.d.ts +0 -14
- package/dist/serialization/resources/analytics/types/DistinctCount.d.ts +0 -12
- package/dist/serialization/resources/analytics/types/DistinctCount.js +0 -32
- package/dist/serialization/resources/analytics/types/Max.d.ts +0 -12
- package/dist/serialization/resources/analytics/types/Max.js +0 -34
- package/dist/serialization/resources/analytics/types/Median.d.ts +0 -12
- package/dist/serialization/resources/analytics/types/Median.js +0 -34
- package/dist/serialization/resources/analytics/types/Metric.d.ts +0 -42
- package/dist/serialization/resources/analytics/types/Min.d.ts +0 -12
- package/dist/serialization/resources/analytics/types/Min.js +0 -34
- package/dist/serialization/resources/analytics/types/Percentile.d.ts +0 -13
- package/dist/serialization/resources/analytics/types/Percentile.js +0 -36
- package/dist/serialization/resources/analytics/types/Sum.d.ts +0 -12
- package/dist/serialization/resources/analytics/types/Sum.js +0 -34
- package/dist/serialization/resources/analyticsCommons/index.d.ts +0 -1
- package/dist/serialization/resources/analyticsCommons/types/index.d.ts +0 -4
- package/dist/serialization/resources/analyticsCommons/types/index.js +0 -20
- package/serialization/resources/analytics/types/Average.d.ts +0 -12
- package/serialization/resources/analytics/types/Average.js +0 -34
- package/serialization/resources/analytics/types/ColumnDefinition.d.ts +0 -14
- package/serialization/resources/analytics/types/Count.js +0 -31
- package/serialization/resources/analytics/types/DistinctCount.d.ts +0 -12
- package/serialization/resources/analytics/types/DistinctCount.js +0 -32
- package/serialization/resources/analytics/types/Max.d.ts +0 -12
- package/serialization/resources/analytics/types/Max.js +0 -34
- package/serialization/resources/analytics/types/Median.d.ts +0 -12
- package/serialization/resources/analytics/types/Median.js +0 -34
- package/serialization/resources/analytics/types/Metric.d.ts +0 -42
- package/serialization/resources/analytics/types/Min.d.ts +0 -12
- package/serialization/resources/analytics/types/Min.js +0 -34
- package/serialization/resources/analytics/types/Percentile.d.ts +0 -13
- package/serialization/resources/analytics/types/Percentile.js +0 -36
- package/serialization/resources/analytics/types/Sum.d.ts +0 -12
- package/serialization/resources/analytics/types/Sum.js +0 -34
- package/serialization/resources/analyticsCommons/index.d.ts +0 -1
- package/serialization/resources/analyticsCommons/types/index.d.ts +0 -4
- package/serialization/resources/analyticsCommons/types/index.js +0 -20
- /package/api/resources/analytics/types/{Average.js → BarChartResponse.js} +0 -0
- /package/api/resources/{analyticsCommons → analytics}/types/CellData.js +0 -0
- /package/api/resources/analytics/types/{BasicMetric.js → ChartResponse.js} +0 -0
- /package/api/resources/analytics/types/{ColumnDefinition.js → ColumnDefinitionBase.js} +0 -0
- /package/api/resources/analytics/types/{Count.js → ConversationAverage.js} +0 -0
- /package/api/resources/analytics/types/{DistinctCount.js → ConversationBarChartRequest.js} +0 -0
- /package/api/resources/analytics/types/{GroupBy.js → ConversationBasicMetric.js} +0 -0
- /package/api/resources/analytics/types/{Max.js → ConversationChartRequest.js} +0 -0
- /package/api/resources/analytics/types/{Median.js → ConversationColumnDefinition.js} +0 -0
- /package/api/resources/analytics/types/{Metric.js → ConversationCount.js} +0 -0
- /package/api/resources/analytics/types/{Min.js → ConversationDateHistogramRequest.js} +0 -0
- /package/api/resources/analytics/types/{Percentile.js → ConversationDistinctCount.js} +0 -0
- /package/api/resources/analytics/types/{Sum.js → ConversationGroupBy.js} +0 -0
- /package/api/resources/{analyticsCommons/types/FieldValue.js → analytics/types/ConversationMax.js} +0 -0
- /package/api/resources/{analyticsCommons/types/Range.js → analytics/types/ConversationMedian.js} +0 -0
- /package/{dist/api/resources/analytics/types/Average.js → api/resources/analytics/types/ConversationMetric.js} +0 -0
- /package/{dist/api/resources/analytics/types/BasicMetric.js → api/resources/analytics/types/ConversationMin.js} +0 -0
- /package/{dist/api/resources/analytics/types/ColumnDefinition.js → api/resources/analytics/types/ConversationNumericMetric.js} +0 -0
- /package/{dist/api/resources/analytics/types/Count.js → api/resources/analytics/types/ConversationPercentile.js} +0 -0
- /package/{dist/api/resources/analytics/types/DistinctCount.js → api/resources/analytics/types/ConversationPieChartRequest.js} +0 -0
- /package/{dist/api/resources/analytics/types/GroupBy.js → api/resources/analytics/types/ConversationSum.js} +0 -0
- /package/{dist/api/resources/analytics/types/Max.js → api/resources/analytics/types/DateHistogramResponse.js} +0 -0
- /package/{dist/api/resources/analytics/types/Median.js → api/resources/analytics/types/FeedbackAnalyticsRequest.js} +0 -0
- /package/{dist/api/resources/analytics/types/Metric.js → api/resources/analytics/types/FeedbackColumnDefinition.js} +0 -0
- /package/{dist/api/resources/analytics/types/Min.js → api/resources/analytics/types/FeedbackCount.js} +0 -0
- /package/{dist/api/resources/analytics/types/Percentile.js → api/resources/analytics/types/FeedbackDistinctCount.js} +0 -0
- /package/{dist/api/resources/analytics/types/Sum.js → api/resources/analytics/types/FeedbackGroupBy.js} +0 -0
- /package/{dist/api/resources/analyticsCommons/types/CellData.js → api/resources/analytics/types/FeedbackMetric.js} +0 -0
- /package/{dist/api/resources/analyticsCommons/types/FieldValue.js → api/resources/analytics/types/FeedbackRow.js} +0 -0
- /package/{dist/api/resources/analyticsCommons/types/Range.js → api/resources/analytics/types/FeedbackTableRequest.js} +0 -0
- /package/api/resources/{analyticsCommons → analytics}/types/Range.d.ts +0 -0
- /package/api/resources/{analyticsCommons → analytics}/types/TimeInterval.js +0 -0
- /package/dist/api/resources/{analyticsCommons → analytics}/types/Range.d.ts +0 -0
- /package/dist/api/resources/{analyticsCommons → analytics}/types/TimeInterval.js +0 -0
- /package/dist/serialization/resources/{analyticsCommons → analytics}/types/FieldValue.d.ts +0 -0
- /package/dist/serialization/resources/{analyticsCommons → analytics}/types/Range.d.ts +0 -0
- /package/dist/serialization/resources/{analyticsCommons → analytics}/types/TimeInterval.d.ts +0 -0
- /package/{api/resources/analyticsCommons → dist/serialization/resources/inbox}/index.d.ts +0 -0
- /package/{api/resources/analyticsCommons → dist/serialization/resources/inbox}/index.js +0 -0
- /package/serialization/resources/{analyticsCommons → analytics}/types/FieldValue.d.ts +0 -0
- /package/serialization/resources/{analyticsCommons → analytics}/types/Range.d.ts +0 -0
- /package/serialization/resources/{analyticsCommons → analytics}/types/TimeInterval.d.ts +0 -0
- /package/{dist/api/resources/analyticsCommons → serialization/resources/inbox}/index.d.ts +0 -0
- /package/{dist/api/resources/analyticsCommons → serialization/resources/inbox}/index.js +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export type CellData = MavenAGI.CellData.Double | MavenAGI.CellData.Long | MavenAGI.CellData.Millisecond | MavenAGI.CellData.String;
|
|
6
|
+
export declare namespace CellData {
|
|
7
|
+
interface Double {
|
|
8
|
+
type: "double";
|
|
9
|
+
value: number;
|
|
10
|
+
}
|
|
11
|
+
interface Long {
|
|
12
|
+
type: "long";
|
|
13
|
+
value: number;
|
|
14
|
+
}
|
|
15
|
+
interface Millisecond {
|
|
16
|
+
type: "millisecond";
|
|
17
|
+
value: number;
|
|
18
|
+
}
|
|
19
|
+
interface String {
|
|
20
|
+
type: "string";
|
|
21
|
+
value: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
* type: "pieChart",
|
|
9
|
+
* series: {
|
|
10
|
+
* name: "Series",
|
|
11
|
+
* data: [{
|
|
12
|
+
* label: "Sales",
|
|
13
|
+
* y: 5
|
|
14
|
+
* }, {
|
|
15
|
+
* label: "Support",
|
|
16
|
+
* y: 10
|
|
17
|
+
* }]
|
|
18
|
+
* }
|
|
19
|
+
* }
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* {
|
|
23
|
+
* type: "dateHistogram",
|
|
24
|
+
* timeSeries: [{
|
|
25
|
+
* name: "Sales",
|
|
26
|
+
* data: [{
|
|
27
|
+
* x: 1633046400000,
|
|
28
|
+
* y: 5
|
|
29
|
+
* }, {
|
|
30
|
+
* x: 1633132800000,
|
|
31
|
+
* y: 7
|
|
32
|
+
* }]
|
|
33
|
+
* }, {
|
|
34
|
+
* name: "Support",
|
|
35
|
+
* data: [{
|
|
36
|
+
* x: 1633046400000,
|
|
37
|
+
* y: 10
|
|
38
|
+
* }, {
|
|
39
|
+
* x: 1633132800000,
|
|
40
|
+
* y: 8
|
|
41
|
+
* }]
|
|
42
|
+
* }]
|
|
43
|
+
* }
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* {
|
|
47
|
+
* type: "barChart",
|
|
48
|
+
* series: [{
|
|
49
|
+
* name: "Resolved",
|
|
50
|
+
* data: [{
|
|
51
|
+
* label: "Sales",
|
|
52
|
+
* y: 5
|
|
53
|
+
* }, {
|
|
54
|
+
* label: "Support",
|
|
55
|
+
* y: 10
|
|
56
|
+
* }]
|
|
57
|
+
* }, {
|
|
58
|
+
* name: "Escalated",
|
|
59
|
+
* data: [{
|
|
60
|
+
* label: "Sales",
|
|
61
|
+
* y: 7
|
|
62
|
+
* }, {
|
|
63
|
+
* label: "Support",
|
|
64
|
+
* y: 8
|
|
65
|
+
* }]
|
|
66
|
+
* }]
|
|
67
|
+
* }
|
|
68
|
+
*/
|
|
69
|
+
export type ChartResponse = MavenAGI.ChartResponse.PieChart | MavenAGI.ChartResponse.DateHistogram | MavenAGI.ChartResponse.BarChart;
|
|
70
|
+
export declare namespace ChartResponse {
|
|
71
|
+
interface PieChart extends MavenAGI.PieChartResponse {
|
|
72
|
+
type: "pieChart";
|
|
73
|
+
}
|
|
74
|
+
interface DateHistogram extends MavenAGI.DateHistogramResponse {
|
|
75
|
+
type: "dateHistogram";
|
|
76
|
+
}
|
|
77
|
+
interface BarChart extends MavenAGI.BarChartResponse {
|
|
78
|
+
type: "barChart";
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export interface ConversationBarChartRequest extends MavenAGI.ConversationAnalyticsRequest {
|
|
6
|
+
/**
|
|
7
|
+
* Determines how data is grouped along the x-axis. Each unique value forms a separate bar.
|
|
8
|
+
* The name of the bar is derived from the grouping field's value or range.
|
|
9
|
+
*/
|
|
10
|
+
barDefinition: MavenAGI.ConversationGroupBy;
|
|
11
|
+
/** Metric defining the y-axis values for the bar chart. */
|
|
12
|
+
metric: MavenAGI.ConversationMetric;
|
|
13
|
+
/**
|
|
14
|
+
* Optionally defines vertical grouping within each bar, producing multiple series.
|
|
15
|
+
* If omitted, a single series is generated.
|
|
16
|
+
*/
|
|
17
|
+
verticalGrouping?: MavenAGI.ConversationGroupBy;
|
|
18
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as MavenAGI from "../../../index";
|
|
5
|
-
export interface
|
|
6
|
-
/** Field to apply the metric to.
|
|
5
|
+
export interface ConversationBasicMetric {
|
|
6
|
+
/** Field to apply the metric to. */
|
|
7
7
|
targetField: MavenAGI.ConversationField;
|
|
8
8
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
* type: "pieChart",
|
|
9
|
+
* conversationFilter: {
|
|
10
|
+
* languages: ["en", "es"]
|
|
11
|
+
* },
|
|
12
|
+
* groupBy: {
|
|
13
|
+
* field: MavenAGI.ConversationField.Category
|
|
14
|
+
* },
|
|
15
|
+
* metric: {
|
|
16
|
+
* type: "count"
|
|
17
|
+
* }
|
|
18
|
+
* }
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* {
|
|
22
|
+
* type: "dateHistogram",
|
|
23
|
+
* conversationFilter: {
|
|
24
|
+
* languages: ["en", "es"]
|
|
25
|
+
* },
|
|
26
|
+
* timeInterval: MavenAGI.TimeInterval.Day,
|
|
27
|
+
* groupBy: {
|
|
28
|
+
* field: MavenAGI.ConversationField.Category
|
|
29
|
+
* },
|
|
30
|
+
* metric: {
|
|
31
|
+
* type: "count"
|
|
32
|
+
* }
|
|
33
|
+
* }
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* {
|
|
37
|
+
* type: "barChart",
|
|
38
|
+
* conversationFilter: {
|
|
39
|
+
* languages: ["en", "es"]
|
|
40
|
+
* },
|
|
41
|
+
* barDefinition: {
|
|
42
|
+
* field: MavenAGI.ConversationField.Category
|
|
43
|
+
* },
|
|
44
|
+
* metric: {
|
|
45
|
+
* type: "count"
|
|
46
|
+
* },
|
|
47
|
+
* verticalGrouping: {
|
|
48
|
+
* field: MavenAGI.ConversationField.ResolutionStatus
|
|
49
|
+
* }
|
|
50
|
+
* }
|
|
51
|
+
*/
|
|
52
|
+
export type ConversationChartRequest = MavenAGI.ConversationChartRequest.PieChart | MavenAGI.ConversationChartRequest.DateHistogram | MavenAGI.ConversationChartRequest.BarChart;
|
|
53
|
+
export declare namespace ConversationChartRequest {
|
|
54
|
+
interface PieChart extends MavenAGI.ConversationPieChartRequest {
|
|
55
|
+
type: "pieChart";
|
|
56
|
+
}
|
|
57
|
+
interface DateHistogram extends MavenAGI.ConversationDateHistogramRequest {
|
|
58
|
+
type: "dateHistogram";
|
|
59
|
+
}
|
|
60
|
+
interface BarChart extends MavenAGI.ConversationBarChartRequest {
|
|
61
|
+
type: "barChart";
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as MavenAGI from "../../../index";
|
|
5
|
-
export interface
|
|
6
|
-
/** Unique column header, serving as the key for corresponding metric values. */
|
|
7
|
-
header: string;
|
|
5
|
+
export interface ConversationColumnDefinition extends MavenAGI.ColumnDefinitionBase {
|
|
8
6
|
/** The metric calculated for this column, stored in the row data under the specified header. */
|
|
9
|
-
metric: MavenAGI.
|
|
7
|
+
metric: MavenAGI.ConversationMetric;
|
|
10
8
|
}
|
|
@@ -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 ConversationDateHistogramRequest extends MavenAGI.ConversationAnalyticsRequest {
|
|
6
|
+
/** Time-based grouping interval (e.g., HOUR, DAY, WEEK) for the date histogram. */
|
|
7
|
+
timeInterval: MavenAGI.TimeInterval;
|
|
8
|
+
/** Groups data before applying calculations, forming a separate time series for each group. */
|
|
9
|
+
groupBy?: MavenAGI.ConversationGroupBy;
|
|
10
|
+
/** Defines the y-axis values for the date histogram. */
|
|
11
|
+
metric: MavenAGI.ConversationMetric;
|
|
12
|
+
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as MavenAGI from "../../../index";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Calculates the number of unique values in the specified field.
|
|
7
7
|
* Supports fields with list values as well.
|
|
8
8
|
*/
|
|
9
|
-
export interface
|
|
9
|
+
export interface ConversationDistinctCount extends MavenAGI.ConversationBasicMetric {
|
|
10
10
|
}
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as MavenAGI from "../../../index";
|
|
5
|
-
export interface
|
|
5
|
+
export interface ConversationGroupBy extends MavenAGI.GroupByBase {
|
|
6
6
|
/** Field used for data grouping. */
|
|
7
7
|
field: MavenAGI.ConversationField;
|
|
8
|
-
/** Limits the number of groups returned (defaults to 100 if omitted). */
|
|
9
|
-
limit?: number;
|
|
10
8
|
/** Numeric ranges for grouping data into predefined buckets. Applies only to numeric fields. */
|
|
11
9
|
ranges?: MavenAGI.Range[];
|
|
12
10
|
}
|
|
@@ -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 ConversationCount and ConversationDistinctCount, which can be applied to any field.
|
|
8
|
+
*/
|
|
9
|
+
export type ConversationMetric = MavenAGI.ConversationMetric.Count | MavenAGI.ConversationMetric.Sum | MavenAGI.ConversationMetric.Average | MavenAGI.ConversationMetric.Min | MavenAGI.ConversationMetric.Max | MavenAGI.ConversationMetric.Percentile | MavenAGI.ConversationMetric.Median | MavenAGI.ConversationMetric.DistinctCount;
|
|
10
|
+
export declare namespace ConversationMetric {
|
|
11
|
+
interface Count extends MavenAGI.ConversationCount {
|
|
12
|
+
type: "count";
|
|
13
|
+
}
|
|
14
|
+
interface Sum extends MavenAGI.ConversationSum {
|
|
15
|
+
type: "sum";
|
|
16
|
+
}
|
|
17
|
+
interface Average extends MavenAGI.ConversationAverage {
|
|
18
|
+
type: "average";
|
|
19
|
+
}
|
|
20
|
+
interface Min extends MavenAGI.ConversationMin {
|
|
21
|
+
type: "min";
|
|
22
|
+
}
|
|
23
|
+
interface Max extends MavenAGI.ConversationMax {
|
|
24
|
+
type: "max";
|
|
25
|
+
}
|
|
26
|
+
interface Percentile extends MavenAGI.ConversationPercentile {
|
|
27
|
+
type: "percentile";
|
|
28
|
+
}
|
|
29
|
+
interface Median extends MavenAGI.ConversationMedian {
|
|
30
|
+
type: "median";
|
|
31
|
+
}
|
|
32
|
+
interface DistinctCount extends MavenAGI.ConversationDistinctCount {
|
|
33
|
+
type: "distinctCount";
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -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 ConversationNumericMetric {
|
|
6
|
+
/** Numeric field to apply the metric to. */
|
|
7
|
+
targetField: MavenAGI.NumericConversationField;
|
|
8
|
+
}
|
|
@@ -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 percentile for a numeric field.
|
|
7
|
+
*/
|
|
8
|
+
export interface ConversationPercentile extends MavenAGI.ConversationNumericMetric {
|
|
9
|
+
/** The percentile to calculate. Example: 25 computes the 25th percentile. */
|
|
10
|
+
percentile: number;
|
|
11
|
+
}
|
|
@@ -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 ConversationPieChartRequest extends MavenAGI.ConversationAnalyticsRequest {
|
|
6
|
+
/** Field used to group data into slices for the pie chart. */
|
|
7
|
+
groupBy: MavenAGI.ConversationGroupBy;
|
|
8
|
+
/** Metric defining the value for each pie slice, stored in the y-axis value. */
|
|
9
|
+
metric: MavenAGI.ConversationMetric;
|
|
10
|
+
}
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as MavenAGI from "../../../index";
|
|
5
|
-
export interface ConversationRow {
|
|
5
|
+
export interface ConversationRow extends MavenAGI.RowBase {
|
|
6
6
|
/**
|
|
7
7
|
* A unique identifier for each row, consisting of field names mapped to their respective values.
|
|
8
8
|
* This includes time groupings and any specified field groupings.
|
|
9
9
|
*/
|
|
10
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
11
|
}
|
|
@@ -21,30 +21,28 @@ import * as MavenAGI from "../../../index";
|
|
|
21
21
|
* header: "avg_first_response_time",
|
|
22
22
|
* metric: {
|
|
23
23
|
* type: "average",
|
|
24
|
-
* targetField: MavenAGI.
|
|
24
|
+
* targetField: MavenAGI.NumericConversationField.FirstResponseTime
|
|
25
25
|
* }
|
|
26
26
|
* }, {
|
|
27
27
|
* header: "percentile_handle_time",
|
|
28
28
|
* metric: {
|
|
29
29
|
* type: "percentile",
|
|
30
|
-
* targetField: MavenAGI.
|
|
31
|
-
*
|
|
30
|
+
* targetField: MavenAGI.NumericConversationField.HandleTime,
|
|
31
|
+
* percentile: 25
|
|
32
32
|
* }
|
|
33
33
|
* }]
|
|
34
34
|
* }
|
|
35
35
|
*/
|
|
36
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
|
-
*/
|
|
37
|
+
/** Defines the time interval for grouping data. If specified, data is grouped accordingly based on the time they were created. Example: If set to "DAY," data will be aggregated by day. */
|
|
41
38
|
timeGrouping?: MavenAGI.TimeInterval;
|
|
42
39
|
/**
|
|
43
40
|
* Specifies the fields by which data should be grouped. Each unique combination forms a row.
|
|
44
41
|
* 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.
|
|
42
|
+
* If empty, all data is aggregated into a single row. |
|
|
43
|
+
* Note: The field `CreatedAt` should not be used here, all time-based grouping should be done using the `timeGrouping` field.
|
|
46
44
|
*/
|
|
47
|
-
fieldGroupings: MavenAGI.
|
|
45
|
+
fieldGroupings: MavenAGI.ConversationGroupBy[];
|
|
48
46
|
/** 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.
|
|
47
|
+
columnDefinitions: MavenAGI.ConversationColumnDefinition[];
|
|
50
48
|
}
|
|
@@ -27,11 +27,8 @@ import * as MavenAGI from "../../../index";
|
|
|
27
27
|
* value: 150
|
|
28
28
|
* },
|
|
29
29
|
* "percentile_handle_time": {
|
|
30
|
-
* type: "
|
|
31
|
-
* value:
|
|
32
|
-
* "25": 100,
|
|
33
|
-
* "75": 250
|
|
34
|
-
* }
|
|
30
|
+
* type: "millisecond",
|
|
31
|
+
* value: 110
|
|
35
32
|
* }
|
|
36
33
|
* }
|
|
37
34
|
* }, {
|
|
@@ -55,11 +52,8 @@ import * as MavenAGI from "../../../index";
|
|
|
55
52
|
* value: 300
|
|
56
53
|
* },
|
|
57
54
|
* "percentile_handle_time": {
|
|
58
|
-
* type: "
|
|
59
|
-
* value:
|
|
60
|
-
* "25": 200,
|
|
61
|
-
* "75": 400
|
|
62
|
-
* }
|
|
55
|
+
* type: "millisecond",
|
|
56
|
+
* value: 250
|
|
63
57
|
* }
|
|
64
58
|
* }
|
|
65
59
|
* }, {
|
|
@@ -79,11 +73,8 @@ import * as MavenAGI from "../../../index";
|
|
|
79
73
|
* value: 180
|
|
80
74
|
* },
|
|
81
75
|
* "percentile_handle_time": {
|
|
82
|
-
* type: "
|
|
83
|
-
* value:
|
|
84
|
-
* "25": 130,
|
|
85
|
-
* "75": 280
|
|
86
|
-
* }
|
|
76
|
+
* type: "millisecond",
|
|
77
|
+
* value: 180
|
|
87
78
|
* }
|
|
88
79
|
* }
|
|
89
80
|
* }, {
|
|
@@ -107,19 +98,14 @@ import * as MavenAGI from "../../../index";
|
|
|
107
98
|
* value: 320
|
|
108
99
|
* },
|
|
109
100
|
* "percentile_handle_time": {
|
|
110
|
-
* type: "
|
|
111
|
-
* value:
|
|
112
|
-
* "25": 220,
|
|
113
|
-
* "75": 420
|
|
114
|
-
* }
|
|
101
|
+
* type: "millisecond",
|
|
102
|
+
* value: 220
|
|
115
103
|
* }
|
|
116
104
|
* }
|
|
117
105
|
* }]
|
|
118
106
|
* }
|
|
119
107
|
*/
|
|
120
|
-
export interface ConversationTableResponse {
|
|
121
|
-
/** Column headers in the table, aligning with the column definitions specified in the request. */
|
|
122
|
-
headers: string[];
|
|
108
|
+
export interface ConversationTableResponse extends MavenAGI.TableResponseBase {
|
|
123
109
|
/**
|
|
124
110
|
* The dataset rows, where each row represents a unique combination of grouping field values.
|
|
125
111
|
* The identifier map contains grouping field names mapped to their respective values.
|
|
@@ -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 DateHistogramResponse {
|
|
6
|
+
/**
|
|
7
|
+
* The dataset for the date histogram.
|
|
8
|
+
* Each series represents a separate plottable time series.
|
|
9
|
+
* Series names reflect the grouping field values.
|
|
10
|
+
*/
|
|
11
|
+
timeSeries: MavenAGI.TimeSeries[];
|
|
12
|
+
}
|
|
@@ -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 FeedbackAnalyticsRequest {
|
|
6
|
+
/** Optional filter applied to refine the feedback data before processing. */
|
|
7
|
+
feedbackFilter?: MavenAGI.FeedbackFilter;
|
|
8
|
+
}
|
package/api/resources/analytics/types/{ColumnDefinition.d.ts → FeedbackColumnDefinition.d.ts}
RENAMED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as MavenAGI from "../../../index";
|
|
5
|
-
export interface
|
|
6
|
-
/** Unique column header, serving as the key for corresponding metric values. */
|
|
7
|
-
header: string;
|
|
5
|
+
export interface FeedbackColumnDefinition extends MavenAGI.ColumnDefinitionBase {
|
|
8
6
|
/** The metric calculated for this column, stored in the row data under the specified header. */
|
|
9
|
-
metric: MavenAGI.
|
|
7
|
+
metric: MavenAGI.FeedbackMetric;
|
|
10
8
|
}
|
|
@@ -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
|
+
/**
|
|
6
|
+
* Calculates the number of unique values in the specified field.
|
|
7
|
+
* Supports fields with list values as well.
|
|
8
|
+
*/
|
|
9
|
+
export interface FeedbackDistinctCount {
|
|
10
|
+
/** All the distinct values of this field will be counted. */
|
|
11
|
+
targetField: MavenAGI.FeedbackField;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
*/
|
|
8
|
+
export type FeedbackMetric = MavenAGI.FeedbackMetric.Count | MavenAGI.FeedbackMetric.DistinctCount;
|
|
9
|
+
export declare namespace FeedbackMetric {
|
|
10
|
+
interface Count extends MavenAGI.FeedbackCount {
|
|
11
|
+
type: "count";
|
|
12
|
+
}
|
|
13
|
+
interface DistinctCount extends MavenAGI.FeedbackDistinctCount {
|
|
14
|
+
type: "distinctCount";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -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
|
+
export interface FeedbackRow extends MavenAGI.RowBase {
|
|
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.FeedbackField, MavenAGI.FieldValue | undefined>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
* feedbackFilter: {
|
|
9
|
+
* types: [MavenAGI.FeedbackType.ThumbsUp, MavenAGI.FeedbackType.Insert]
|
|
10
|
+
* },
|
|
11
|
+
* fieldGroupings: [{
|
|
12
|
+
* field: MavenAGI.FeedbackField.CreatedBy
|
|
13
|
+
* }],
|
|
14
|
+
* columnDefinitions: [{
|
|
15
|
+
* header: "feedback_count",
|
|
16
|
+
* metric: {
|
|
17
|
+
* type: "count"
|
|
18
|
+
* }
|
|
19
|
+
* }]
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
22
|
+
export interface FeedbackTableRequest extends MavenAGI.FeedbackAnalyticsRequest {
|
|
23
|
+
/**
|
|
24
|
+
* Defines the time interval for grouping data. If specified, data is grouped accordingly based on the time they were created.
|
|
25
|
+
* Example: If set to "DAY," data will be aggregated by day.
|
|
26
|
+
*/
|
|
27
|
+
timeGrouping?: MavenAGI.TimeInterval;
|
|
28
|
+
/**
|
|
29
|
+
* Specifies the fields by which data should be grouped. Each unique combination forms a row.
|
|
30
|
+
* If multiple fields are provided, the result is grouped by their unique value combinations.
|
|
31
|
+
* If empty, all data is aggregated into a single row.
|
|
32
|
+
* Note: The field CreatedAt should not be used here, all the time-based grouping should be done using the timeGrouping field.
|
|
33
|
+
*/
|
|
34
|
+
fieldGroupings: MavenAGI.FeedbackGroupBy[];
|
|
35
|
+
/**
|
|
36
|
+
* Specifies the metrics to be displayed as columns.
|
|
37
|
+
* Column headers act as keys, with computed metric values as their mapped values.
|
|
38
|
+
* There needs to be at least one column definition in the table request.
|
|
39
|
+
*/
|
|
40
|
+
columnDefinitions: MavenAGI.FeedbackColumnDefinition[];
|
|
41
|
+
}
|