@roarkanalytics/cli 0.71.0 → 0.73.1

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.
@@ -0,0 +1,97 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-CUSTOMER\-PROFILE\-NOTES\-UPDATE" "1" "" "roark-customer-profile-notes-update" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-customer\-profile\-notes\-update \- Update the notes on a customer profile
5
+ .SH "SYNOPSIS"
6
+ .B roark customer\-profile notes update
7
+ \fIcustomer\-profile\-id\fR [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Replaces your team's shared notes. Null or empty clears them. The last save wins.
10
+ .SH "API"
11
+ PUT /v1/customer\-profile/{customerProfileId}/notes
12
+ .SH "ARGUMENTS"
13
+ .TP
14
+ \fIcustomer\-profile\-id\fR
15
+ The customer\-profile\-id.
16
+ .SH "OPTIONS"
17
+ .TP
18
+ \fB\-\-notes\fR \fI<value>\fR
19
+ Replaces the existing notes. Null or empty clears them. Required.
20
+ .SH "GLOBAL OPTIONS"
21
+ .TP
22
+ \fB\-\-data\fR \fI<json>\fR
23
+ Request body as JSON, or @file to read one (@\- for stdin).
24
+ .TP
25
+ \fB\-y\fR, \fB\-\-yes\fR
26
+ Skip confirmation prompts.
27
+ .TP
28
+ \fB\-\-no\-input\fR
29
+ Never prompt; fail instead.
30
+ .TP
31
+ \fB\-\-base\-url\fR \fI<url>\fR
32
+ API base URL.
33
+ .TP
34
+ \fB\-\-token\fR \fI<token>\fR
35
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
36
+ .TP
37
+ \fB\-\-timeout\fR \fI<ms>\fR
38
+ Request timeout in milliseconds.
39
+ .TP
40
+ \fB\-\-max\-retries\fR \fI<count>\fR
41
+ Retries for retryable failures.
42
+ .TP
43
+ \fB\-\-format\fR \fI<format>\fR
44
+ Output format: auto, json, jsonl, plain.
45
+ .TP
46
+ \fB\-\-json\fR
47
+ Shorthand for \-\-format json.
48
+ .TP
49
+ \fB\-\-no\-color\fR
50
+ Disable colour.
51
+ .TP
52
+ \fB\-q\fR, \fB\-\-quiet\fR
53
+ Suppress non\-essential output.
54
+ .TP
55
+ \fB\-\-allow\-project\-base\-url\fR
56
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
57
+ .SH "EXAMPLES"
58
+ .PP
59
+ .RS 4
60
+ .nf
61
+ roark customer\-profile notes update <customer\-profile\-id> \-\-notes <value>
62
+ .fi
63
+ .RE
64
+ .SH "ENVIRONMENT"
65
+ .TP
66
+ \fBROARK_API_BEARER_TOKEN\fR
67
+ Bearer token used when \-\-token is not given.
68
+ .TP
69
+ \fBROARK_BASE_URL\fR
70
+ API base URL.
71
+ .TP
72
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
73
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
74
+ .TP
75
+ \fBNO_COLOR\fR
76
+ Disables colour when set to any value.
77
+ .SH "EXIT STATUS"
78
+ .TP
79
+ \fB0\fR
80
+ The command succeeded.
81
+ .TP
82
+ \fB1\fR
83
+ The API rejected the request.
84
+ .TP
85
+ \fB2\fR
86
+ The command line was wrong.
87
+ .TP
88
+ \fB3\fR
89
+ No credential, or the credential was refused.
90
+ .TP
91
+ \fB4\fR
92
+ The addressed resource does not exist.
93
+ .TP
94
+ \fB5\fR
95
+ The request never completed: connection, timeout, or abort.
96
+ .SH "SEE ALSO"
97
+ .BR roark (1)
@@ -0,0 +1,93 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-PLAN\-JOB\-DELETE" "1" "" "roark-simulation-plan-job-delete" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-plan\-job\-delete \- Delete a simulation plan job
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation plan job delete
7
+ \fIjob\-id\fR [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Removes a finished run from the run history (a soft delete). The run stops appearing in run lists, counts and plan run histories, and reading it by ID returns 404. A run that is still in progress is refused with 409: cancel it first.
10
+ .SH "API"
11
+ DELETE /v1/simulation/plan/job/{jobId}
12
+ .SH "ARGUMENTS"
13
+ .TP
14
+ \fIjob\-id\fR
15
+ Simulation run plan job ID
16
+ .SH "GLOBAL OPTIONS"
17
+ .TP
18
+ \fB\-\-data\fR \fI<json>\fR
19
+ Request body as JSON, or @file to read one (@\- for stdin).
20
+ .TP
21
+ \fB\-y\fR, \fB\-\-yes\fR
22
+ Skip confirmation prompts.
23
+ .TP
24
+ \fB\-\-no\-input\fR
25
+ Never prompt; fail instead.
26
+ .TP
27
+ \fB\-\-base\-url\fR \fI<url>\fR
28
+ API base URL.
29
+ .TP
30
+ \fB\-\-token\fR \fI<token>\fR
31
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
32
+ .TP
33
+ \fB\-\-timeout\fR \fI<ms>\fR
34
+ Request timeout in milliseconds.
35
+ .TP
36
+ \fB\-\-max\-retries\fR \fI<count>\fR
37
+ Retries for retryable failures.
38
+ .TP
39
+ \fB\-\-format\fR \fI<format>\fR
40
+ Output format: auto, json, jsonl, plain.
41
+ .TP
42
+ \fB\-\-json\fR
43
+ Shorthand for \-\-format json.
44
+ .TP
45
+ \fB\-\-no\-color\fR
46
+ Disable colour.
47
+ .TP
48
+ \fB\-q\fR, \fB\-\-quiet\fR
49
+ Suppress non\-essential output.
50
+ .TP
51
+ \fB\-\-allow\-project\-base\-url\fR
52
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
53
+ .SH "EXAMPLES"
54
+ .PP
55
+ .RS 4
56
+ .nf
57
+ roark simulation plan job delete <job\-id>
58
+ .fi
59
+ .RE
60
+ .SH "ENVIRONMENT"
61
+ .TP
62
+ \fBROARK_API_BEARER_TOKEN\fR
63
+ Bearer token used when \-\-token is not given.
64
+ .TP
65
+ \fBROARK_BASE_URL\fR
66
+ API base URL.
67
+ .TP
68
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
69
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
70
+ .TP
71
+ \fBNO_COLOR\fR
72
+ Disables colour when set to any value.
73
+ .SH "EXIT STATUS"
74
+ .TP
75
+ \fB0\fR
76
+ The command succeeded.
77
+ .TP
78
+ \fB1\fR
79
+ The API rejected the request.
80
+ .TP
81
+ \fB2\fR
82
+ The command line was wrong.
83
+ .TP
84
+ \fB3\fR
85
+ No credential, or the credential was refused.
86
+ .TP
87
+ \fB4\fR
88
+ The addressed resource does not exist.
89
+ .TP
90
+ \fB5\fR
91
+ The request never completed: connection, timeout, or abort.
92
+ .SH "SEE ALSO"
93
+ .BR roark (1)
package/man/roark.1 CHANGED
@@ -294,6 +294,30 @@ List customer flows See roark\-customer\-flow\-list(1).
294
294
  \fBroark customer\-flow update\fR
295
295
  Update a customer flow See roark\-customer\-flow\-update(1).
296
296
  .TP
297
+ \fBroark customer\-profile attribute delete\fR
298
+ Clear a customer profile field See roark\-customer\-profile\-attribute\-delete(1).
299
+ .TP
300
+ \fBroark customer\-profile attribute unlock\fR
301
+ Unlock a customer profile field See roark\-customer\-profile\-attribute\-unlock(1).
302
+ .TP
303
+ \fBroark customer\-profile attribute update\fR
304
+ Set a customer profile field See roark\-customer\-profile\-attribute\-update(1).
305
+ .TP
306
+ \fBroark customer\-profile conversation list\fR
307
+ List a customer's conversations See roark\-customer\-profile\-conversation\-list(1).
308
+ .TP
309
+ \fBroark customer\-profile delete\fR
310
+ Erase a customer profile See roark\-customer\-profile\-delete(1).
311
+ .TP
312
+ \fBroark customer\-profile get\fR
313
+ Get a customer profile See roark\-customer\-profile\-get(1).
314
+ .TP
315
+ \fBroark customer\-profile list\fR
316
+ List customer profiles See roark\-customer\-profile\-list(1).
317
+ .TP
318
+ \fBroark customer\-profile notes update\fR
319
+ Update the notes on a customer profile See roark\-customer\-profile\-notes\-update(1).
320
+ .TP
297
321
  \fBroark dashboard create\fR
298
322
  Create a dashboard See roark\-dashboard\-create(1).
299
323
  .TP
@@ -510,6 +534,9 @@ Get simulation run cost See roark\-simulation\-plan\-job\-cost\-get(1).
510
534
  \fBroark simulation plan job debrief create\fR
511
535
  Generate simulation run debrief See roark\-simulation\-plan\-job\-debrief\-create(1).
512
536
  .TP
537
+ \fBroark simulation plan job delete\fR
538
+ Delete a simulation plan job See roark\-simulation\-plan\-job\-delete(1).
539
+ .TP
513
540
  \fBroark simulation plan job get\fR
514
541
  Get simulation plan job See roark\-simulation\-plan\-job\-get(1).
515
542
  .TP
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@roarkanalytics/cli",
3
- "version": "0.71.0",
3
+ "version": "0.73.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@roarkanalytics/cli",
9
- "version": "0.71.0",
9
+ "version": "0.73.1",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
- "@roarkanalytics/sdk": "^7.3.0",
12
+ "@roarkanalytics/sdk": "^7.8.0",
13
13
  "commander": "^14.0.3",
14
14
  "jiti": "^2.4.2",
15
15
  "yaml": "^2.9.0"
@@ -22,9 +22,9 @@
22
22
  }
23
23
  },
24
24
  "node_modules/@roarkanalytics/sdk": {
25
- "version": "7.3.0",
26
- "resolved": "https://registry.npmjs.org/@roarkanalytics/sdk/-/sdk-7.3.0.tgz",
27
- "integrity": "sha512-Ie/6qkOpxQ7Paie0G2tDv3MOm6+1zgpXV7FR5k7CY+dq9a7/ZyJholQfe/yhNcUlstPlGZmlksb8aON8hCvIPg==",
25
+ "version": "7.8.0",
26
+ "resolved": "https://registry.npmjs.org/@roarkanalytics/sdk/-/sdk-7.8.0.tgz",
27
+ "integrity": "sha512-VaWqzBWoFRuA0yo+s446Fo4UQhfYyYlKCPOQZvx2diLWPFdB7JpE9qLFIUBcINgThSVJVxYOTEcrBTPRgw1Yug==",
28
28
  "license": "Apache-2.0"
29
29
  },
30
30
  "node_modules/commander": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roarkanalytics/cli",
3
- "version": "0.71.0",
3
+ "version": "0.73.1",
4
4
  "description": "The official command line interface for the Roark API",
5
5
  "author": "Roark <james@roark.ai>",
6
6
  "type": "commonjs",
@@ -29,7 +29,7 @@
29
29
  "fix": "eslint --fix . && prettier --write ."
30
30
  },
31
31
  "dependencies": {
32
- "@roarkanalytics/sdk": "^7.3.0",
32
+ "@roarkanalytics/sdk": "^7.8.0",
33
33
  "commander": "^14.0.3",
34
34
  "jiti": "^2.4.2",
35
35
  "yaml": "^2.9.0"
@@ -114,6 +114,14 @@
114
114
  "./man/roark-customer-flow-happy-path-update.1",
115
115
  "./man/roark-customer-flow-list.1",
116
116
  "./man/roark-customer-flow-update.1",
117
+ "./man/roark-customer-profile-attribute-delete.1",
118
+ "./man/roark-customer-profile-attribute-unlock.1",
119
+ "./man/roark-customer-profile-attribute-update.1",
120
+ "./man/roark-customer-profile-conversation-list.1",
121
+ "./man/roark-customer-profile-delete.1",
122
+ "./man/roark-customer-profile-get.1",
123
+ "./man/roark-customer-profile-list.1",
124
+ "./man/roark-customer-profile-notes-update.1",
117
125
  "./man/roark-dashboard-create.1",
118
126
  "./man/roark-dashboard-data-get.1",
119
127
  "./man/roark-dashboard-delete.1",
@@ -186,6 +194,7 @@
186
194
  "./man/roark-simulation-plan-job-cancel.1",
187
195
  "./man/roark-simulation-plan-job-cost-get.1",
188
196
  "./man/roark-simulation-plan-job-debrief-create.1",
197
+ "./man/roark-simulation-plan-job-delete.1",
189
198
  "./man/roark-simulation-plan-job-get.1",
190
199
  "./man/roark-simulation-plan-job-list.1",
191
200
  "./man/roark-simulation-plan-job-result-get.1",
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.71.0";
1
+ export declare const version = "0.73.1";
package/version.js CHANGED
@@ -10,4 +10,4 @@ exports.version = void 0;
10
10
  //
11
11
  // Do not edit: an edit here is overwritten, and the published number is whatever
12
12
  // package.json says.
13
- exports.version = '0.71.0'; // x-release-please-version
13
+ exports.version = '0.73.1'; // x-release-please-version