@roarkanalytics/cli 0.44.1 → 0.46.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 +14 -0
- package/README.md +1 -1
- package/commands.js +15 -6
- package/completions.js +4 -4
- package/man/roark-metric-collection-job-create.1 +6 -3
- package/man/roark-metric-policy-create.1 +1 -1
- package/man/roark-metric-policy-update.1 +1 -1
- package/npm-shrinkwrap.json +5 -5
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.46.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.45.0...v0.46.0) (2026-10-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **cli:** cli update ([#117](https://github.com/roarkhq/cli-roark-analytics/issues/117)) ([832da8c](https://github.com/roarkhq/cli-roark-analytics/commit/832da8cade775f19fd7925e0ee2e6b32bdb9d9c9))
|
|
9
|
+
|
|
10
|
+
## [0.45.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.44.1...v0.45.0) (2026-10-17)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **cli:** cli update ([#115](https://github.com/roarkhq/cli-roark-analytics/issues/115)) ([30b49fe](https://github.com/roarkhq/cli-roark-analytics/commit/30b49feab2a4d024030fd5de0f678ba71966d0e7))
|
|
16
|
+
|
|
3
17
|
## [0.44.1](https://github.com/roarkhq/cli-roark-analytics/compare/v0.44.0...v0.44.1) (2026-10-16)
|
|
4
18
|
|
|
5
19
|
|
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,
|
|
@@ -3413,7 +3422,7 @@ exports.COMMANDS = [
|
|
|
3413
3422
|
path: ['metrics'],
|
|
3414
3423
|
location: 'body',
|
|
3415
3424
|
required: true,
|
|
3416
|
-
description: 'Metric definitions to collect when this policy matches',
|
|
3425
|
+
description: 'Metric definitions to collect when this policy matches, each with an optional setting',
|
|
3417
3426
|
valueKind: 'array',
|
|
3418
3427
|
repeatable: false,
|
|
3419
3428
|
},
|
|
@@ -3566,7 +3575,7 @@ exports.COMMANDS = [
|
|
|
3566
3575
|
path: ['metrics'],
|
|
3567
3576
|
location: 'body',
|
|
3568
3577
|
required: false,
|
|
3569
|
-
description:
|
|
3578
|
+
description: "Metric definitions to collect when this policy matches. Replaces the policy's whole metric list: a metric sent without settings goes back to its default, so resend a metric's settings to keep them. Omit to keep the current metrics.",
|
|
3570
3579
|
valueKind: 'array',
|
|
3571
3580
|
repeatable: false,
|
|
3572
3581
|
},
|