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
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./ErrorMessage";
|
|
2
2
|
export * from "./EntityType";
|
|
3
3
|
export * from "./EntityIdBase";
|
|
4
|
+
export * from "./EntityIdWithoutAgent";
|
|
5
|
+
export * from "./EntityIdFilter";
|
|
4
6
|
export * from "./EntityId";
|
|
5
7
|
export * from "./FeedbackBase";
|
|
6
8
|
export * from "./FeedbackType";
|
|
@@ -18,6 +20,7 @@ export * from "./EventTriggerType";
|
|
|
18
20
|
export * from "./ActionParameterType";
|
|
19
21
|
export * from "./ActionEnumOption";
|
|
20
22
|
export * from "./Sentiment";
|
|
23
|
+
export * from "./ConversationSummary";
|
|
21
24
|
export * from "./ConversationAnalysis";
|
|
22
25
|
export * from "./ResponseLength";
|
|
23
26
|
export * from "./Capability";
|
|
@@ -48,6 +51,7 @@ export * from "./PreconditionOperator";
|
|
|
48
51
|
export * from "./PreconditionBase";
|
|
49
52
|
export * from "./MetadataPrecondition";
|
|
50
53
|
export * from "./ConversationPrecondition";
|
|
54
|
+
export * from "./ResponseConfigPrecondition";
|
|
51
55
|
export * from "./PreconditionGroupOperator";
|
|
52
56
|
export * from "./PreconditionGroup";
|
|
53
57
|
export * from "./TagsPrecondition";
|
|
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./ErrorMessage"), exports);
|
|
18
18
|
__exportStar(require("./EntityType"), exports);
|
|
19
19
|
__exportStar(require("./EntityIdBase"), exports);
|
|
20
|
+
__exportStar(require("./EntityIdWithoutAgent"), exports);
|
|
21
|
+
__exportStar(require("./EntityIdFilter"), exports);
|
|
20
22
|
__exportStar(require("./EntityId"), exports);
|
|
21
23
|
__exportStar(require("./FeedbackBase"), exports);
|
|
22
24
|
__exportStar(require("./FeedbackType"), exports);
|
|
@@ -34,6 +36,7 @@ __exportStar(require("./EventTriggerType"), exports);
|
|
|
34
36
|
__exportStar(require("./ActionParameterType"), exports);
|
|
35
37
|
__exportStar(require("./ActionEnumOption"), exports);
|
|
36
38
|
__exportStar(require("./Sentiment"), exports);
|
|
39
|
+
__exportStar(require("./ConversationSummary"), exports);
|
|
37
40
|
__exportStar(require("./ConversationAnalysis"), exports);
|
|
38
41
|
__exportStar(require("./ResponseLength"), exports);
|
|
39
42
|
__exportStar(require("./Capability"), exports);
|
|
@@ -64,6 +67,7 @@ __exportStar(require("./PreconditionOperator"), exports);
|
|
|
64
67
|
__exportStar(require("./PreconditionBase"), exports);
|
|
65
68
|
__exportStar(require("./MetadataPrecondition"), exports);
|
|
66
69
|
__exportStar(require("./ConversationPrecondition"), exports);
|
|
70
|
+
__exportStar(require("./ResponseConfigPrecondition"), exports);
|
|
67
71
|
__exportStar(require("./PreconditionGroupOperator"), exports);
|
|
68
72
|
__exportStar(require("./PreconditionGroup"), exports);
|
|
69
73
|
__exportStar(require("./TagsPrecondition"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const ConversationField: core.serialization.Schema<serializers.ConversationField.Raw, MavenAGI.ConversationField>;
|
|
8
|
+
export declare namespace ConversationField {
|
|
9
|
+
type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "Tags" | "UserMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "Sources" | "CreatedAt";
|
|
10
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ConversationField = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ConversationField = core.serialization.enum_([
|
|
32
|
+
"Category",
|
|
33
|
+
"FirstResponseTime",
|
|
34
|
+
"HandleTime",
|
|
35
|
+
"HumanAgents",
|
|
36
|
+
"App",
|
|
37
|
+
"Sentiment",
|
|
38
|
+
"QualityReason",
|
|
39
|
+
"ResolutionStatus",
|
|
40
|
+
"Quality",
|
|
41
|
+
"Users",
|
|
42
|
+
"ResponseLength",
|
|
43
|
+
"ThumbsUpCount",
|
|
44
|
+
"ThumbsDownCount",
|
|
45
|
+
"Tags",
|
|
46
|
+
"UserMessageCount",
|
|
47
|
+
"Languages",
|
|
48
|
+
"Actions",
|
|
49
|
+
"IncompleteActions",
|
|
50
|
+
"Sources",
|
|
51
|
+
"CreatedAt",
|
|
52
|
+
]);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { EntityIdFilter } from "../../commons/types/EntityIdFilter";
|
|
8
|
+
import { FeedbackType } from "../../commons/types/FeedbackType";
|
|
9
|
+
import { Quality } from "./Quality";
|
|
10
|
+
import { QualityReason } from "./QualityReason";
|
|
11
|
+
import { ResponseLength } from "../../commons/types/ResponseLength";
|
|
12
|
+
import { Sentiment } from "../../commons/types/Sentiment";
|
|
13
|
+
export declare const ConversationFilter: core.serialization.ObjectSchema<serializers.ConversationFilter.Raw, MavenAGI.ConversationFilter>;
|
|
14
|
+
export declare namespace ConversationFilter {
|
|
15
|
+
interface Raw {
|
|
16
|
+
search?: string | null;
|
|
17
|
+
createdAfter?: string | null;
|
|
18
|
+
createdBefore?: string | null;
|
|
19
|
+
apps?: string[] | null;
|
|
20
|
+
categories?: string[] | null;
|
|
21
|
+
actions?: EntityIdFilter.Raw[] | null;
|
|
22
|
+
incompleteActions?: EntityIdFilter.Raw[] | null;
|
|
23
|
+
feedback?: FeedbackType.Raw[] | null;
|
|
24
|
+
humanAgents?: string[] | null;
|
|
25
|
+
languages?: string[] | null;
|
|
26
|
+
quality?: Quality.Raw[] | null;
|
|
27
|
+
qualityReason?: QualityReason.Raw[] | null;
|
|
28
|
+
responseLength?: ResponseLength.Raw[] | null;
|
|
29
|
+
sentiment?: Sentiment.Raw[] | null;
|
|
30
|
+
tags?: string[] | null;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ConversationFilter = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const EntityIdFilter_1 = require("../../commons/types/EntityIdFilter");
|
|
32
|
+
const FeedbackType_1 = require("../../commons/types/FeedbackType");
|
|
33
|
+
const Quality_1 = require("./Quality");
|
|
34
|
+
const QualityReason_1 = require("./QualityReason");
|
|
35
|
+
const ResponseLength_1 = require("../../commons/types/ResponseLength");
|
|
36
|
+
const Sentiment_1 = require("../../commons/types/Sentiment");
|
|
37
|
+
exports.ConversationFilter = core.serialization.object({
|
|
38
|
+
search: core.serialization.string().optional(),
|
|
39
|
+
createdAfter: core.serialization.date().optional(),
|
|
40
|
+
createdBefore: core.serialization.date().optional(),
|
|
41
|
+
apps: core.serialization.list(core.serialization.string()).optional(),
|
|
42
|
+
categories: core.serialization.list(core.serialization.string()).optional(),
|
|
43
|
+
actions: core.serialization.list(EntityIdFilter_1.EntityIdFilter).optional(),
|
|
44
|
+
incompleteActions: core.serialization.list(EntityIdFilter_1.EntityIdFilter).optional(),
|
|
45
|
+
feedback: core.serialization.list(FeedbackType_1.FeedbackType).optional(),
|
|
46
|
+
humanAgents: core.serialization.list(core.serialization.string()).optional(),
|
|
47
|
+
languages: core.serialization.list(core.serialization.string()).optional(),
|
|
48
|
+
quality: core.serialization.list(Quality_1.Quality).optional(),
|
|
49
|
+
qualityReason: core.serialization.list(QualityReason_1.QualityReason).optional(),
|
|
50
|
+
responseLength: core.serialization.list(ResponseLength_1.ResponseLength).optional(),
|
|
51
|
+
sentiment: core.serialization.list(Sentiment_1.Sentiment).optional(),
|
|
52
|
+
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
53
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Quality: core.serialization.Schema<serializers.Quality.Raw, MavenAGI.Quality>;
|
|
8
|
+
export declare namespace Quality {
|
|
9
|
+
type Raw = "GOOD" | "NEEDS_IMPROVEMENT" | "UNKNOWN";
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Quality = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.Quality = core.serialization.enum_([
|
|
32
|
+
"GOOD",
|
|
33
|
+
"NEEDS_IMPROVEMENT",
|
|
34
|
+
"UNKNOWN",
|
|
35
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const QualityReason: core.serialization.Schema<serializers.QualityReason.Raw, MavenAGI.QualityReason>;
|
|
8
|
+
export declare namespace QualityReason {
|
|
9
|
+
type Raw = "MISSING_KNOWLEDGE" | "MISSING_USER_INFORMATION" | "MISSING_ACTION" | "NEEDS_USER_CLARIFICATION" | "UNSUPPORTED_FORMAT" | "GREAT_ANSWER" | "INTERRUPTED" | "UNSUPPORTED_USER_BEHAVIOR" | "UNKNOWN";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.QualityReason = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.QualityReason = core.serialization.enum_([
|
|
32
|
+
"MISSING_KNOWLEDGE",
|
|
33
|
+
"MISSING_USER_INFORMATION",
|
|
34
|
+
"MISSING_ACTION",
|
|
35
|
+
"NEEDS_USER_CLARIFICATION",
|
|
36
|
+
"UNSUPPORTED_FORMAT",
|
|
37
|
+
"GREAT_ANSWER",
|
|
38
|
+
"INTERRUPTED",
|
|
39
|
+
"UNSUPPORTED_USER_BEHAVIOR",
|
|
40
|
+
"UNKNOWN",
|
|
41
|
+
]);
|
|
@@ -13,3 +13,7 @@ export * from "./AskStreamMetadataEvent";
|
|
|
13
13
|
export * from "./AskStreamStartEvent";
|
|
14
14
|
export * from "./AskStreamEndEvent";
|
|
15
15
|
export * from "./CategorizationResponse";
|
|
16
|
+
export * from "./ConversationField";
|
|
17
|
+
export * from "./Quality";
|
|
18
|
+
export * from "./QualityReason";
|
|
19
|
+
export * from "./ConversationFilter";
|
|
@@ -29,3 +29,7 @@ __exportStar(require("./AskStreamMetadataEvent"), exports);
|
|
|
29
29
|
__exportStar(require("./AskStreamStartEvent"), exports);
|
|
30
30
|
__exportStar(require("./AskStreamEndEvent"), exports);
|
|
31
31
|
__exportStar(require("./CategorizationResponse"), exports);
|
|
32
|
+
__exportStar(require("./ConversationField"), exports);
|
|
33
|
+
__exportStar(require("./Quality"), exports);
|
|
34
|
+
__exportStar(require("./QualityReason"), exports);
|
|
35
|
+
__exportStar(require("./ConversationFilter"), exports);
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export * as actions from "./actions";
|
|
2
2
|
export * from "./actions/types";
|
|
3
|
+
export * as analyticsCommons from "./analyticsCommons";
|
|
4
|
+
export * from "./analyticsCommons/types";
|
|
5
|
+
export * as analytics from "./analytics";
|
|
6
|
+
export * from "./analytics/types";
|
|
3
7
|
export * as commons from "./commons";
|
|
4
8
|
export * from "./commons/types";
|
|
5
9
|
export * as conversation from "./conversation";
|
|
@@ -26,9 +26,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.appSettings = exports.triggers = exports.translations = exports.knowledge = exports.conversation = exports.commons = exports.actions = void 0;
|
|
29
|
+
exports.appSettings = exports.triggers = exports.translations = exports.knowledge = exports.conversation = exports.commons = exports.analytics = exports.analyticsCommons = exports.actions = void 0;
|
|
30
30
|
exports.actions = __importStar(require("./actions"));
|
|
31
31
|
__exportStar(require("./actions/types"), exports);
|
|
32
|
+
exports.analyticsCommons = __importStar(require("./analyticsCommons"));
|
|
33
|
+
__exportStar(require("./analyticsCommons/types"), exports);
|
|
34
|
+
exports.analytics = __importStar(require("./analytics"));
|
|
35
|
+
__exportStar(require("./analytics/types"), exports);
|
|
32
36
|
exports.commons = __importStar(require("./commons"));
|
|
33
37
|
__exportStar(require("./commons/types"), exports);
|
|
34
38
|
exports.conversation = __importStar(require("./conversation"));
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.6";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -213,6 +213,104 @@ await client.actions.delete("get-balance");
|
|
|
213
213
|
</dl>
|
|
214
214
|
</details>
|
|
215
215
|
|
|
216
|
+
## Analytics
|
|
217
|
+
|
|
218
|
+
<details><summary><code>client.analytics.<a href="/src/api/resources/analytics/client/Client.ts">getConversationTable</a>({ ...params }) -> MavenAGI.ConversationTableResponse</code></summary>
|
|
219
|
+
<dl>
|
|
220
|
+
<dd>
|
|
221
|
+
|
|
222
|
+
#### 📝 Description
|
|
223
|
+
|
|
224
|
+
<dl>
|
|
225
|
+
<dd>
|
|
226
|
+
|
|
227
|
+
<dl>
|
|
228
|
+
<dd>
|
|
229
|
+
|
|
230
|
+
Retrieves structured conversation data formatted as a table, allowing users to group, filter, and define specific metrics to display as columns.
|
|
231
|
+
|
|
232
|
+
</dd>
|
|
233
|
+
</dl>
|
|
234
|
+
</dd>
|
|
235
|
+
</dl>
|
|
236
|
+
|
|
237
|
+
#### 🔌 Usage
|
|
238
|
+
|
|
239
|
+
<dl>
|
|
240
|
+
<dd>
|
|
241
|
+
|
|
242
|
+
<dl>
|
|
243
|
+
<dd>
|
|
244
|
+
|
|
245
|
+
```typescript
|
|
246
|
+
await client.analytics.getConversationTable({
|
|
247
|
+
conversationFilter: {
|
|
248
|
+
languages: ["en", "es"],
|
|
249
|
+
},
|
|
250
|
+
timeGrouping: "DAY",
|
|
251
|
+
fieldGroupings: [
|
|
252
|
+
{
|
|
253
|
+
field: "Category",
|
|
254
|
+
},
|
|
255
|
+
],
|
|
256
|
+
columnDefinitions: [
|
|
257
|
+
{
|
|
258
|
+
header: "count",
|
|
259
|
+
metric: {
|
|
260
|
+
type: "count",
|
|
261
|
+
},
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
header: "avg_first_response_time",
|
|
265
|
+
metric: {
|
|
266
|
+
type: "average",
|
|
267
|
+
targetField: "FirstResponseTime",
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
header: "percentile_handle_time",
|
|
272
|
+
metric: {
|
|
273
|
+
type: "percentile",
|
|
274
|
+
targetField: "HandleTime",
|
|
275
|
+
percentiles: [25, 75],
|
|
276
|
+
},
|
|
277
|
+
},
|
|
278
|
+
],
|
|
279
|
+
});
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
</dd>
|
|
283
|
+
</dl>
|
|
284
|
+
</dd>
|
|
285
|
+
</dl>
|
|
286
|
+
|
|
287
|
+
#### ⚙️ Parameters
|
|
288
|
+
|
|
289
|
+
<dl>
|
|
290
|
+
<dd>
|
|
291
|
+
|
|
292
|
+
<dl>
|
|
293
|
+
<dd>
|
|
294
|
+
|
|
295
|
+
**request:** `MavenAGI.ConversationTableRequest`
|
|
296
|
+
|
|
297
|
+
</dd>
|
|
298
|
+
</dl>
|
|
299
|
+
|
|
300
|
+
<dl>
|
|
301
|
+
<dd>
|
|
302
|
+
|
|
303
|
+
**requestOptions:** `Analytics.RequestOptions`
|
|
304
|
+
|
|
305
|
+
</dd>
|
|
306
|
+
</dl>
|
|
307
|
+
</dd>
|
|
308
|
+
</dl>
|
|
309
|
+
|
|
310
|
+
</dd>
|
|
311
|
+
</dl>
|
|
312
|
+
</details>
|
|
313
|
+
|
|
216
314
|
## AppSettings
|
|
217
315
|
|
|
218
316
|
<details><summary><code>client.appSettings.<a href="/src/api/resources/appSettings/client/Client.ts">get</a>() -> Record<string, unknown></code></summary>
|
|
@@ -422,6 +520,85 @@ await client.conversation.get("conversationId");
|
|
|
422
520
|
</dl>
|
|
423
521
|
</details>
|
|
424
522
|
|
|
523
|
+
<details><summary><code>client.conversation.<a href="/src/api/resources/conversation/client/Client.ts">delete</a>(conversationId, { ...params }) -> void</code></summary>
|
|
524
|
+
<dl>
|
|
525
|
+
<dd>
|
|
526
|
+
|
|
527
|
+
#### 📝 Description
|
|
528
|
+
|
|
529
|
+
<dl>
|
|
530
|
+
<dd>
|
|
531
|
+
|
|
532
|
+
<dl>
|
|
533
|
+
<dd>
|
|
534
|
+
|
|
535
|
+
Wipes a conversation of all user data.
|
|
536
|
+
The conversation ID will still exist and non-user specific data will still be retained.
|
|
537
|
+
Attempts to modify or add messages to the conversation will throw an error.
|
|
538
|
+
|
|
539
|
+
<Warning>This is a destructive operation and cannot be undone. <br/><br/>
|
|
540
|
+
The exact fields cleared include: the conversation subject, userRequest, agentResponse.
|
|
541
|
+
As well as the text response, followup questions, and backend LLM prompt of all messages.</Warning>
|
|
542
|
+
|
|
543
|
+
</dd>
|
|
544
|
+
</dl>
|
|
545
|
+
</dd>
|
|
546
|
+
</dl>
|
|
547
|
+
|
|
548
|
+
#### 🔌 Usage
|
|
549
|
+
|
|
550
|
+
<dl>
|
|
551
|
+
<dd>
|
|
552
|
+
|
|
553
|
+
<dl>
|
|
554
|
+
<dd>
|
|
555
|
+
|
|
556
|
+
```typescript
|
|
557
|
+
await client.conversation.delete("conversation-0", {
|
|
558
|
+
reason: "GDPR deletion request 1234.",
|
|
559
|
+
});
|
|
560
|
+
```
|
|
561
|
+
|
|
562
|
+
</dd>
|
|
563
|
+
</dl>
|
|
564
|
+
</dd>
|
|
565
|
+
</dl>
|
|
566
|
+
|
|
567
|
+
#### ⚙️ Parameters
|
|
568
|
+
|
|
569
|
+
<dl>
|
|
570
|
+
<dd>
|
|
571
|
+
|
|
572
|
+
<dl>
|
|
573
|
+
<dd>
|
|
574
|
+
|
|
575
|
+
**conversationId:** `string` — The ID of the conversation to delete
|
|
576
|
+
|
|
577
|
+
</dd>
|
|
578
|
+
</dl>
|
|
579
|
+
|
|
580
|
+
<dl>
|
|
581
|
+
<dd>
|
|
582
|
+
|
|
583
|
+
**request:** `MavenAGI.ConversationDeleteRequest`
|
|
584
|
+
|
|
585
|
+
</dd>
|
|
586
|
+
</dl>
|
|
587
|
+
|
|
588
|
+
<dl>
|
|
589
|
+
<dd>
|
|
590
|
+
|
|
591
|
+
**requestOptions:** `Conversation.RequestOptions`
|
|
592
|
+
|
|
593
|
+
</dd>
|
|
594
|
+
</dl>
|
|
595
|
+
</dd>
|
|
596
|
+
</dl>
|
|
597
|
+
|
|
598
|
+
</dd>
|
|
599
|
+
</dl>
|
|
600
|
+
</details>
|
|
601
|
+
|
|
425
602
|
<details><summary><code>client.conversation.<a href="/src/api/resources/conversation/client/Client.ts">appendNewMessages</a>(conversationId, { ...params }) -> MavenAGI.ConversationResponse</code></summary>
|
|
426
603
|
<dl>
|
|
427
604
|
<dd>
|
|
@@ -434,7 +611,7 @@ await client.conversation.get("conversationId");
|
|
|
434
611
|
<dl>
|
|
435
612
|
<dd>
|
|
436
613
|
|
|
437
|
-
Append messages to an existing conversation. The conversation must be initialized first. If a message with the same
|
|
614
|
+
Append messages to an existing conversation. The conversation must be initialized first. If a message with the same ID already exists, it will be ignored. Messages do not allow modification.
|
|
438
615
|
|
|
439
616
|
</dd>
|
|
440
617
|
</dl>
|
|
@@ -516,8 +693,17 @@ await client.conversation.appendNewMessages("conversationId", [
|
|
|
516
693
|
<dl>
|
|
517
694
|
<dd>
|
|
518
695
|
|
|
519
|
-
|
|
696
|
+
Get an answer from Maven for a given user question. If the user question or its answer already exists,
|
|
697
|
+
they will be reused and will not be updated. Messages do not allow modification once generated.
|
|
698
|
+
|
|
699
|
+
Concurrency Behavior:
|
|
700
|
+
|
|
701
|
+
- If another API call is made for the same user question while a response is mid-stream, partial answers may be returned.
|
|
702
|
+
- The second caller will receive a truncated or partial response depending on where the first stream is in its processing. The first caller's stream will remain unaffected and continue delivering the full response.
|
|
703
|
+
|
|
704
|
+
Known Limitation:
|
|
520
705
|
|
|
706
|
+
- The API does not currently expose metadata indicating whether a response or message is incomplete. This will be addressed in a future update.
|
|
521
707
|
</dd>
|
|
522
708
|
</dl>
|
|
523
709
|
</dd>
|
|
@@ -605,8 +791,21 @@ await client.conversation.ask("conversation-0", {
|
|
|
605
791
|
<dl>
|
|
606
792
|
<dd>
|
|
607
793
|
|
|
608
|
-
|
|
794
|
+
Get an answer from Maven for a given user question with a streaming response. The response will be sent as a stream of events.
|
|
795
|
+
The text portions of stream responses should be concatenated to form the full response text.
|
|
796
|
+
Action and metadata events should overwrite past data and do not need concatenation.
|
|
797
|
+
|
|
798
|
+
If the user question or its answer already exists, they will be reused and will not be updated.
|
|
799
|
+
Messages do not allow modification once generated.
|
|
800
|
+
|
|
801
|
+
Concurrency Behavior:
|
|
802
|
+
|
|
803
|
+
- If another API call is made for the same user question while a response is mid-stream, partial answers may be returned.
|
|
804
|
+
- The second caller will receive a truncated or partial response depending on where the first stream is in its processing. The first caller's stream will remain unaffected and continue delivering the full response.
|
|
805
|
+
|
|
806
|
+
Known Limitation:
|
|
609
807
|
|
|
808
|
+
- The API does not currently expose metadata indicating whether a response or message is incomplete. This will be addressed in a future update.
|
|
610
809
|
</dd>
|
|
611
810
|
</dl>
|
|
612
811
|
</dd>
|
|
@@ -697,7 +896,7 @@ for await (const item of response) {
|
|
|
697
896
|
<dl>
|
|
698
897
|
<dd>
|
|
699
898
|
|
|
700
|
-
|
|
899
|
+
This method is deprecated and will be removed in a future release. Use either `ask` or `askStream` instead.
|
|
701
900
|
|
|
702
901
|
</dd>
|
|
703
902
|
</dl>
|
|
@@ -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,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { BasicMetric } from "./BasicMetric";
|
|
8
|
+
export declare const Average: core.serialization.ObjectSchema<serializers.Average.Raw, MavenAGI.Average>;
|
|
9
|
+
export declare namespace Average {
|
|
10
|
+
interface Raw extends BasicMetric.Raw {
|
|
11
|
+
}
|
|
12
|
+
}
|