@roarkanalytics/cli 0.44.1 → 0.45.0
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/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/commands.js +13 -4
- package/completions.js +4 -4
- package/man/roark-metric-collection-job-create.1 +6 -3
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.45.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.44.1...v0.45.0) (2026-10-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **cli:** cli update ([#115](https://github.com/roarkhq/cli-roark-analytics/issues/115)) ([30b49fe](https://github.com/roarkhq/cli-roark-analytics/commit/30b49feab2a4d024030fd5de0f678ba71966d0e7))
|
|
9
|
+
|
|
3
10
|
## [0.44.1](https://github.com/roarkhq/cli-roark-analytics/compare/v0.44.0...v0.44.1) (2026-10-16)
|
|
4
11
|
|
|
5
12
|
|
package/README.md
CHANGED
|
@@ -222,7 +222,7 @@ roark completion fish | source
|
|
|
222
222
|
|
|
223
223
|
| Command | Description |
|
|
224
224
|
| -------------------------------------------------------------------------------- | -------------------------------------- |
|
|
225
|
-
| `roark metric collection-job create
|
|
225
|
+
| `roark metric collection-job create` | Create and run a metric collection job |
|
|
226
226
|
| `roark metric collection-job get <job-id>` | Get metric collection job by ID |
|
|
227
227
|
| `roark metric collection-job list` | List metric collection jobs |
|
|
228
228
|
| `roark metric definition create --data '{ ... }'` | Create custom metric definition |
|
package/commands.js
CHANGED
|
@@ -2950,7 +2950,7 @@ exports.COMMANDS = [
|
|
|
2950
2950
|
httpMethod: 'post',
|
|
2951
2951
|
httpPath: '/v1/metric/collection-jobs',
|
|
2952
2952
|
summary: 'Create and run a metric collection job',
|
|
2953
|
-
description: 'Creates a metric collection job for the specified calls or chats and metrics, then triggers processing. Provide exactly one of callIds or chatIds.',
|
|
2953
|
+
description: 'Creates a metric collection job for the specified calls or chats and metrics, then triggers processing. Provide exactly one of callIds or chatIds. Pass policyId to score with a metric policy’s settings (for example to re-score past calls after changing which properties Property Verification checks); metrics then defaults to every metric that policy collects.',
|
|
2954
2954
|
positionals: [],
|
|
2955
2955
|
flags: [
|
|
2956
2956
|
{
|
|
@@ -2975,14 +2975,23 @@ exports.COMMANDS = [
|
|
|
2975
2975
|
name: 'metrics',
|
|
2976
2976
|
path: ['metrics'],
|
|
2977
2977
|
location: 'body',
|
|
2978
|
-
required:
|
|
2979
|
-
description: 'Metric definitions to collect. Max 20 per request.',
|
|
2978
|
+
required: false,
|
|
2979
|
+
description: 'Metric definitions to collect. Max 20 per request. Required unless policyId is given; with policyId, defaults to every metric that policy collects, and each one listed must be in it.',
|
|
2980
2980
|
valueKind: 'array',
|
|
2981
2981
|
repeatable: false,
|
|
2982
2982
|
},
|
|
2983
|
+
{
|
|
2984
|
+
name: 'policy-id',
|
|
2985
|
+
path: ['policyId'],
|
|
2986
|
+
location: 'body',
|
|
2987
|
+
required: false,
|
|
2988
|
+
description: "Optional. A metric policy (collector) whose settings to score with: each metric runs at the version that policy runs it at, with its per-collector setting (such as the properties Property Verification checks), instead of the metric's default. A metric the policy runs at its default runs at its default here too. The policy's conditions are not applied: the listed conversations are scored as given. Use it to re-score past conversations after changing a policy's settings.",
|
|
2989
|
+
valueKind: 'string',
|
|
2990
|
+
repeatable: false,
|
|
2991
|
+
},
|
|
2983
2992
|
],
|
|
2984
2993
|
hasParams: true,
|
|
2985
|
-
paramsAllOptional:
|
|
2994
|
+
paramsAllOptional: true,
|
|
2986
2995
|
bodyOpaque: false,
|
|
2987
2996
|
bodyVariants: [],
|
|
2988
2997
|
acceptsBody: true,
|