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 @@
|
|
|
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,30 @@
|
|
|
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 CellData: core.serialization.Schema<serializers.CellData.Raw, MavenAGI.CellData>;
|
|
8
|
+
export declare namespace CellData {
|
|
9
|
+
type Raw = CellData.Double | CellData.Long | CellData.Millisecond | CellData.String | CellData.PercentileMap;
|
|
10
|
+
interface Double {
|
|
11
|
+
type: "double";
|
|
12
|
+
value: number;
|
|
13
|
+
}
|
|
14
|
+
interface Long {
|
|
15
|
+
type: "long";
|
|
16
|
+
value: number;
|
|
17
|
+
}
|
|
18
|
+
interface Millisecond {
|
|
19
|
+
type: "millisecond";
|
|
20
|
+
value: number;
|
|
21
|
+
}
|
|
22
|
+
interface String {
|
|
23
|
+
type: "string";
|
|
24
|
+
value: string;
|
|
25
|
+
}
|
|
26
|
+
interface PercentileMap {
|
|
27
|
+
type: "percentileMap";
|
|
28
|
+
value: Record<string, number>;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -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.CellData = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.CellData = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
double: core.serialization.object({
|
|
34
|
+
value: core.serialization.number(),
|
|
35
|
+
}),
|
|
36
|
+
long: core.serialization.object({
|
|
37
|
+
value: core.serialization.number(),
|
|
38
|
+
}),
|
|
39
|
+
millisecond: core.serialization.object({
|
|
40
|
+
value: core.serialization.number(),
|
|
41
|
+
}),
|
|
42
|
+
string: core.serialization.object({
|
|
43
|
+
value: core.serialization.string(),
|
|
44
|
+
}),
|
|
45
|
+
percentileMap: core.serialization.object({
|
|
46
|
+
value: core.serialization.record(core.serialization.string(), core.serialization.number()),
|
|
47
|
+
}),
|
|
48
|
+
})
|
|
49
|
+
.transform({
|
|
50
|
+
transform: (value) => value,
|
|
51
|
+
untransform: (value) => value,
|
|
52
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { Range } from "./Range";
|
|
8
|
+
import { EntityIdFilter } from "../../commons/types/EntityIdFilter";
|
|
9
|
+
export declare const FieldValue: core.serialization.Schema<serializers.FieldValue.Raw, MavenAGI.FieldValue>;
|
|
10
|
+
export declare namespace FieldValue {
|
|
11
|
+
type Raw = FieldValue.DateTime | FieldValue.String | FieldValue.Double | FieldValue.Long | FieldValue.Range | FieldValue.Boolean | FieldValue.EntityId;
|
|
12
|
+
interface DateTime {
|
|
13
|
+
type: "dateTime";
|
|
14
|
+
value: string;
|
|
15
|
+
}
|
|
16
|
+
interface String {
|
|
17
|
+
type: "string";
|
|
18
|
+
value: string;
|
|
19
|
+
}
|
|
20
|
+
interface Double {
|
|
21
|
+
type: "double";
|
|
22
|
+
value: number;
|
|
23
|
+
}
|
|
24
|
+
interface Long {
|
|
25
|
+
type: "long";
|
|
26
|
+
value: number;
|
|
27
|
+
}
|
|
28
|
+
interface Range extends Range.Raw {
|
|
29
|
+
type: "range";
|
|
30
|
+
}
|
|
31
|
+
interface Boolean {
|
|
32
|
+
type: "boolean";
|
|
33
|
+
value: boolean;
|
|
34
|
+
}
|
|
35
|
+
interface EntityId extends EntityIdFilter.Raw {
|
|
36
|
+
type: "entityId";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.FieldValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const Range_1 = require("./Range");
|
|
32
|
+
const EntityIdFilter_1 = require("../../commons/types/EntityIdFilter");
|
|
33
|
+
exports.FieldValue = core.serialization
|
|
34
|
+
.union("type", {
|
|
35
|
+
dateTime: core.serialization.object({
|
|
36
|
+
value: core.serialization.date(),
|
|
37
|
+
}),
|
|
38
|
+
string: core.serialization.object({
|
|
39
|
+
value: core.serialization.string(),
|
|
40
|
+
}),
|
|
41
|
+
double: core.serialization.object({
|
|
42
|
+
value: core.serialization.number(),
|
|
43
|
+
}),
|
|
44
|
+
long: core.serialization.object({
|
|
45
|
+
value: core.serialization.number(),
|
|
46
|
+
}),
|
|
47
|
+
range: Range_1.Range,
|
|
48
|
+
boolean: core.serialization.object({
|
|
49
|
+
value: core.serialization.boolean(),
|
|
50
|
+
}),
|
|
51
|
+
entityId: EntityIdFilter_1.EntityIdFilter,
|
|
52
|
+
})
|
|
53
|
+
.transform({
|
|
54
|
+
transform: (value) => value,
|
|
55
|
+
untransform: (value) => value,
|
|
56
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 Range: core.serialization.ObjectSchema<serializers.Range.Raw, MavenAGI.Range>;
|
|
8
|
+
export declare namespace Range {
|
|
9
|
+
interface Raw {
|
|
10
|
+
from?: number | null;
|
|
11
|
+
to?: number | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.Range = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.Range = core.serialization.object({
|
|
32
|
+
from: core.serialization.number().optional(),
|
|
33
|
+
to: core.serialization.number().optional(),
|
|
34
|
+
});
|
|
@@ -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 TimeInterval: core.serialization.Schema<serializers.TimeInterval.Raw, MavenAGI.TimeInterval>;
|
|
8
|
+
export declare namespace TimeInterval {
|
|
9
|
+
type Raw = "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.TimeInterval = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.TimeInterval = core.serialization.enum_(["HOUR", "DAY", "WEEK", "MONTH", "YEAR"]);
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./FieldValue"), exports);
|
|
18
|
+
__exportStar(require("./TimeInterval"), exports);
|
|
19
|
+
__exportStar(require("./Range"), exports);
|
|
20
|
+
__exportStar(require("./CellData"), exports);
|
|
@@ -7,9 +7,10 @@ import * as core from "../../../../core";
|
|
|
7
7
|
import { TagsPrecondition } from "./TagsPrecondition";
|
|
8
8
|
import { MetadataPrecondition } from "./MetadataPrecondition";
|
|
9
9
|
import { ConversationExecutedActionPrecondition } from "./ConversationExecutedActionPrecondition";
|
|
10
|
+
import { ResponseConfigPrecondition } from "./ResponseConfigPrecondition";
|
|
10
11
|
export declare const ConversationPrecondition: core.serialization.Schema<serializers.ConversationPrecondition.Raw, MavenAGI.ConversationPrecondition>;
|
|
11
12
|
export declare namespace ConversationPrecondition {
|
|
12
|
-
type Raw = ConversationPrecondition.Tags | ConversationPrecondition.Metadata | ConversationPrecondition.ActionExecuted;
|
|
13
|
+
type Raw = ConversationPrecondition.Tags | ConversationPrecondition.Metadata | ConversationPrecondition.ActionExecuted | ConversationPrecondition.ResponseConfig;
|
|
13
14
|
interface Tags extends TagsPrecondition.Raw {
|
|
14
15
|
conversationPreconditionType: "tags";
|
|
15
16
|
}
|
|
@@ -19,4 +20,7 @@ export declare namespace ConversationPrecondition {
|
|
|
19
20
|
interface ActionExecuted extends ConversationExecutedActionPrecondition.Raw {
|
|
20
21
|
conversationPreconditionType: "actionExecuted";
|
|
21
22
|
}
|
|
23
|
+
interface ResponseConfig extends ResponseConfigPrecondition.Raw {
|
|
24
|
+
conversationPreconditionType: "responseConfig";
|
|
25
|
+
}
|
|
22
26
|
}
|
|
@@ -31,11 +31,13 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
const TagsPrecondition_1 = require("./TagsPrecondition");
|
|
32
32
|
const MetadataPrecondition_1 = require("./MetadataPrecondition");
|
|
33
33
|
const ConversationExecutedActionPrecondition_1 = require("./ConversationExecutedActionPrecondition");
|
|
34
|
+
const ResponseConfigPrecondition_1 = require("./ResponseConfigPrecondition");
|
|
34
35
|
exports.ConversationPrecondition = core.serialization
|
|
35
36
|
.union("conversationPreconditionType", {
|
|
36
37
|
tags: TagsPrecondition_1.TagsPrecondition,
|
|
37
38
|
metadata: MetadataPrecondition_1.MetadataPrecondition,
|
|
38
39
|
actionExecuted: ConversationExecutedActionPrecondition_1.ConversationExecutedActionPrecondition,
|
|
40
|
+
responseConfig: ResponseConfigPrecondition_1.ResponseConfigPrecondition,
|
|
39
41
|
})
|
|
40
42
|
.transform({
|
|
41
43
|
transform: (value) => value,
|
|
@@ -7,6 +7,7 @@ import * as core from "../../../../core";
|
|
|
7
7
|
import { EntityId } from "./EntityId";
|
|
8
8
|
import { ConversationMessageResponse } from "./ConversationMessageResponse";
|
|
9
9
|
import { ConversationAnalysis } from "./ConversationAnalysis";
|
|
10
|
+
import { ConversationSummary } from "./ConversationSummary";
|
|
10
11
|
import { ConversationBase } from "./ConversationBase";
|
|
11
12
|
export declare const ConversationResponse: core.serialization.ObjectSchema<serializers.ConversationResponse.Raw, MavenAGI.ConversationResponse>;
|
|
12
13
|
export declare namespace ConversationResponse {
|
|
@@ -14,5 +15,7 @@ export declare namespace ConversationResponse {
|
|
|
14
15
|
conversationId: EntityId.Raw;
|
|
15
16
|
messages: ConversationMessageResponse.Raw[];
|
|
16
17
|
analysis: ConversationAnalysis.Raw;
|
|
18
|
+
summary: ConversationSummary.Raw;
|
|
19
|
+
deleted: boolean;
|
|
17
20
|
}
|
|
18
21
|
}
|
|
@@ -31,11 +31,14 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
const EntityId_1 = require("./EntityId");
|
|
32
32
|
const ConversationMessageResponse_1 = require("./ConversationMessageResponse");
|
|
33
33
|
const ConversationAnalysis_1 = require("./ConversationAnalysis");
|
|
34
|
+
const ConversationSummary_1 = require("./ConversationSummary");
|
|
34
35
|
const ConversationBase_1 = require("./ConversationBase");
|
|
35
36
|
exports.ConversationResponse = core.serialization
|
|
36
37
|
.object({
|
|
37
38
|
conversationId: EntityId_1.EntityId,
|
|
38
39
|
messages: core.serialization.list(ConversationMessageResponse_1.ConversationMessageResponse),
|
|
39
40
|
analysis: ConversationAnalysis_1.ConversationAnalysis,
|
|
41
|
+
summary: ConversationSummary_1.ConversationSummary,
|
|
42
|
+
deleted: core.serialization.boolean(),
|
|
40
43
|
})
|
|
41
44
|
.extend(ConversationBase_1.ConversationBase);
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { EntityIdWithoutAgent } from "./EntityIdWithoutAgent";
|
|
8
|
+
export declare const ConversationSummary: core.serialization.ObjectSchema<serializers.ConversationSummary.Raw, MavenAGI.ConversationSummary>;
|
|
9
|
+
export declare namespace ConversationSummary {
|
|
10
|
+
interface Raw {
|
|
11
|
+
actionIds: EntityIdWithoutAgent.Raw[];
|
|
12
|
+
incompleteActionIds: EntityIdWithoutAgent.Raw[];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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.ConversationSummary = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
|
|
32
|
+
exports.ConversationSummary = core.serialization.object({
|
|
33
|
+
actionIds: core.serialization.list(EntityIdWithoutAgent_1.EntityIdWithoutAgent),
|
|
34
|
+
incompleteActionIds: core.serialization.list(EntityIdWithoutAgent_1.EntityIdWithoutAgent),
|
|
35
|
+
});
|
|
@@ -4,13 +4,10 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as MavenAGI from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import {
|
|
8
|
-
import { EntityIdBase } from "./EntityIdBase";
|
|
7
|
+
import { EntityIdWithoutAgent } from "./EntityIdWithoutAgent";
|
|
9
8
|
export declare const EntityId: core.serialization.ObjectSchema<serializers.EntityId.Raw, MavenAGI.EntityId>;
|
|
10
9
|
export declare namespace EntityId {
|
|
11
|
-
interface Raw extends
|
|
12
|
-
type: EntityType.Raw;
|
|
13
|
-
appId: string;
|
|
10
|
+
interface Raw extends EntityIdWithoutAgent.Raw {
|
|
14
11
|
organizationId: string;
|
|
15
12
|
agentId: string;
|
|
16
13
|
}
|
|
@@ -28,13 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.EntityId = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
-
const
|
|
32
|
-
const EntityIdBase_1 = require("./EntityIdBase");
|
|
31
|
+
const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
|
|
33
32
|
exports.EntityId = core.serialization
|
|
34
33
|
.object({
|
|
35
|
-
type: EntityType_1.EntityType,
|
|
36
|
-
appId: core.serialization.string(),
|
|
37
34
|
organizationId: core.serialization.string(),
|
|
38
35
|
agentId: core.serialization.string(),
|
|
39
36
|
})
|
|
40
|
-
.extend(
|
|
37
|
+
.extend(EntityIdWithoutAgent_1.EntityIdWithoutAgent);
|
|
@@ -0,0 +1,13 @@
|
|
|
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 EntityIdFilter: core.serialization.ObjectSchema<serializers.EntityIdFilter.Raw, MavenAGI.EntityIdFilter>;
|
|
8
|
+
export declare namespace EntityIdFilter {
|
|
9
|
+
interface Raw {
|
|
10
|
+
referenceId: string;
|
|
11
|
+
appId: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.EntityIdFilter = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.EntityIdFilter = core.serialization.object({
|
|
32
|
+
referenceId: core.serialization.string(),
|
|
33
|
+
appId: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { EntityType } from "./EntityType";
|
|
8
|
+
import { EntityIdBase } from "./EntityIdBase";
|
|
9
|
+
export declare const EntityIdWithoutAgent: core.serialization.ObjectSchema<serializers.EntityIdWithoutAgent.Raw, MavenAGI.EntityIdWithoutAgent>;
|
|
10
|
+
export declare namespace EntityIdWithoutAgent {
|
|
11
|
+
interface Raw extends EntityIdBase.Raw {
|
|
12
|
+
type: EntityType.Raw;
|
|
13
|
+
appId: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.EntityIdWithoutAgent = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const EntityType_1 = require("./EntityType");
|
|
32
|
+
const EntityIdBase_1 = require("./EntityIdBase");
|
|
33
|
+
exports.EntityIdWithoutAgent = core.serialization
|
|
34
|
+
.object({
|
|
35
|
+
type: EntityType_1.EntityType,
|
|
36
|
+
appId: core.serialization.string(),
|
|
37
|
+
})
|
|
38
|
+
.extend(EntityIdBase_1.EntityIdBase);
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { ResponseLength } from "./ResponseLength";
|
|
8
|
+
import { PreconditionBase } from "./PreconditionBase";
|
|
9
|
+
export declare const ResponseConfigPrecondition: core.serialization.ObjectSchema<serializers.ResponseConfigPrecondition.Raw, MavenAGI.ResponseConfigPrecondition>;
|
|
10
|
+
export declare namespace ResponseConfigPrecondition {
|
|
11
|
+
interface Raw extends PreconditionBase.Raw {
|
|
12
|
+
useMarkdown?: boolean | null;
|
|
13
|
+
useForms?: boolean | null;
|
|
14
|
+
useImages?: boolean | null;
|
|
15
|
+
isCopilot?: boolean | null;
|
|
16
|
+
responseLength?: ResponseLength.Raw | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -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.ResponseConfigPrecondition = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ResponseLength_1 = require("./ResponseLength");
|
|
32
|
+
const PreconditionBase_1 = require("./PreconditionBase");
|
|
33
|
+
exports.ResponseConfigPrecondition = core.serialization
|
|
34
|
+
.object({
|
|
35
|
+
useMarkdown: core.serialization.boolean().optional(),
|
|
36
|
+
useForms: core.serialization.boolean().optional(),
|
|
37
|
+
useImages: core.serialization.boolean().optional(),
|
|
38
|
+
isCopilot: core.serialization.boolean().optional(),
|
|
39
|
+
responseLength: ResponseLength_1.ResponseLength.optional(),
|
|
40
|
+
})
|
|
41
|
+
.extend(PreconditionBase_1.PreconditionBase);
|