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