@roarkanalytics/sdk 8.0.1 → 9.1.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 +28 -0
- package/client.d.mts +7 -7
- package/client.d.mts.map +1 -1
- package/client.d.ts +7 -7
- package/client.d.ts.map +1 -1
- package/client.js +3 -3
- package/client.js.map +1 -1
- package/client.mjs +4 -4
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent-connection.d.mts +0 -88
- package/resources/agent-connection.d.mts.map +1 -1
- package/resources/agent-connection.d.ts +0 -88
- package/resources/agent-connection.d.ts.map +1 -1
- package/resources/agent.d.mts +2 -200
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +2 -200
- package/resources/agent.d.ts.map +1 -1
- package/resources/config.d.mts +6 -6
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +6 -6
- package/resources/config.d.ts.map +1 -1
- package/resources/conversation.d.mts +6 -95
- package/resources/conversation.d.mts.map +1 -1
- package/resources/conversation.d.ts +6 -95
- package/resources/conversation.d.ts.map +1 -1
- package/resources/conversation.js +5 -17
- package/resources/conversation.js.map +1 -1
- package/resources/conversation.mjs +5 -17
- package/resources/conversation.mjs.map +1 -1
- package/resources/customer-flow-folder.d.mts +157 -0
- package/resources/customer-flow-folder.d.mts.map +1 -0
- package/resources/customer-flow-folder.d.ts +157 -0
- package/resources/customer-flow-folder.d.ts.map +1 -0
- package/resources/customer-flow-folder.js +54 -0
- package/resources/customer-flow-folder.js.map +1 -0
- package/resources/customer-flow-folder.mjs +50 -0
- package/resources/customer-flow-folder.mjs.map +1 -0
- package/resources/customer-flow.d.mts +558 -2
- package/resources/customer-flow.d.mts.map +1 -1
- package/resources/customer-flow.d.ts +558 -2
- package/resources/customer-flow.d.ts.map +1 -1
- package/resources/customer-flow.js +2 -2
- package/resources/customer-flow.mjs +2 -2
- package/resources/dashboard.d.mts +3 -3
- package/resources/dashboard.d.ts +3 -3
- package/resources/dashboard.js +3 -3
- package/resources/dashboard.mjs +3 -3
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -2
- package/resources/index.mjs.map +1 -1
- package/resources/live-report.d.mts +10 -10
- package/resources/live-report.d.ts +10 -10
- package/resources/me.d.mts +20 -19
- package/resources/me.d.mts.map +1 -1
- package/resources/me.d.ts +20 -19
- package/resources/me.d.ts.map +1 -1
- package/resources/me.js +14 -13
- package/resources/me.js.map +1 -1
- package/resources/me.mjs +14 -13
- package/resources/me.mjs.map +1 -1
- package/resources/metric.d.mts +60 -60
- package/resources/metric.d.ts +60 -60
- package/resources/simulation-group.d.mts +13 -13
- package/resources/simulation-group.d.ts +13 -13
- package/resources/simulation-group.js +5 -5
- package/resources/simulation-group.mjs +5 -5
- package/resources/simulation-run-group.d.mts +2 -2
- package/resources/simulation-run-group.d.ts +2 -2
- package/resources/simulation-run-group.js +2 -2
- package/resources/simulation-run-group.mjs +2 -2
- package/resources/simulation.d.mts +1086 -4
- package/resources/simulation.d.mts.map +1 -1
- package/resources/simulation.d.ts +1086 -4
- package/resources/simulation.d.ts.map +1 -1
- package/resources/simulation.js +106 -0
- package/resources/simulation.js.map +1 -1
- package/resources/simulation.mjs +106 -0
- package/resources/simulation.mjs.map +1 -1
- package/resources/webhook.d.mts +4 -4
- package/resources/webhook.d.mts.map +1 -1
- package/resources/webhook.d.ts +4 -4
- package/resources/webhook.d.ts.map +1 -1
- package/src/client.ts +39 -43
- package/src/resources/agent-connection.ts +0 -103
- package/src/resources/agent.ts +2 -317
- package/src/resources/config.ts +12 -12
- package/src/resources/conversation.ts +6 -126
- package/src/resources/customer-flow-folder.ts +235 -0
- package/src/resources/customer-flow.ts +862 -2
- package/src/resources/dashboard.ts +3 -3
- package/src/resources/index.ts +18 -20
- package/src/resources/live-report.ts +10 -10
- package/src/resources/me.ts +20 -19
- package/src/resources/metric.ts +60 -60
- package/src/resources/simulation-group.ts +13 -13
- package/src/resources/simulation-run-group.ts +2 -2
- package/src/resources/simulation.ts +1759 -52
- package/src/resources/webhook.ts +8 -8
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/agent-setup.d.mts +0 -1057
- package/resources/agent-setup.d.mts.map +0 -1
- package/resources/agent-setup.d.ts +0 -1057
- package/resources/agent-setup.d.ts.map +0 -1
- package/resources/agent-setup.js +0 -113
- package/resources/agent-setup.js.map +0 -1
- package/resources/agent-setup.mjs +0 -109
- package/resources/agent-setup.mjs.map +0 -1
- package/src/resources/agent-setup.ts +0 -1685
package/resources/me.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ import { APIPromise } from "../core/api-promise.js";
|
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
4
|
export declare class Me extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
6
|
+
* Requires a personal API key (a project API key is refused) and admin on the
|
|
7
|
+
* project the new key defaults to. Mints a personal API key that acts as you, for
|
|
8
|
+
* a CLI or an automation. The key value is returned exactly once, in the `key`
|
|
9
|
+
* field: capture it now, it is unreadable afterwards. The new key can never exceed
|
|
10
|
+
* the one that created it: not in scope, not in permissions, and not in lifetime.
|
|
11
|
+
* Omit a field to copy it from the calling credential.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```ts
|
|
@@ -31,10 +31,10 @@ export declare class Me extends APIResource {
|
|
|
31
31
|
*/
|
|
32
32
|
get(options?: RequestOptions): APIPromise<MeGetResponse>;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* revoked ones. The key value itself is never returned.
|
|
34
|
+
* Requires a personal API key; a project API key is refused. Returns the personal
|
|
35
|
+
* API keys that act as you: the ones created in the dashboard, from
|
|
36
|
+
* `roark auth login`, and MCP connectors. Defaults to ACTIVE, pass ?status=REVOKED
|
|
37
|
+
* to see revoked ones. The key value itself is never returned.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* ```ts
|
|
@@ -43,9 +43,10 @@ export declare class Me extends APIResource {
|
|
|
43
43
|
*/
|
|
44
44
|
listAPIKeys(query?: MeListAPIKeysParams | null | undefined, options?: RequestOptions): APIPromise<MeListAPIKeysResponse>;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* the call is safe; an unknown id, or one belonging to someone
|
|
46
|
+
* Requires a personal API key. Revokes one of your personal API keys; it stops
|
|
47
|
+
* working immediately. A key may revoke itself, which is what `roark auth logout`
|
|
48
|
+
* does. Repeating the call is safe; an unknown id, or one belonging to someone
|
|
49
|
+
* else, answers 404.
|
|
49
50
|
*
|
|
50
51
|
* @example
|
|
51
52
|
* ```ts
|
|
@@ -146,20 +147,20 @@ export declare namespace MeGetResponse {
|
|
|
146
147
|
}
|
|
147
148
|
export interface MeListAPIKeysResponse {
|
|
148
149
|
/**
|
|
149
|
-
*
|
|
150
|
+
* Your personal API keys
|
|
150
151
|
*/
|
|
151
152
|
data: MeListAPIKeysResponse.Data;
|
|
152
153
|
}
|
|
153
154
|
export declare namespace MeListAPIKeysResponse {
|
|
154
155
|
/**
|
|
155
|
-
*
|
|
156
|
+
* Your personal API keys
|
|
156
157
|
*/
|
|
157
158
|
interface Data {
|
|
158
159
|
apiKeys: Array<Data.APIKey>;
|
|
159
160
|
}
|
|
160
161
|
namespace Data {
|
|
161
162
|
/**
|
|
162
|
-
* A credential that acts as
|
|
163
|
+
* A personal API key: a credential that acts as you
|
|
163
164
|
*/
|
|
164
165
|
interface APIKey {
|
|
165
166
|
/**
|
|
@@ -205,18 +206,18 @@ export declare namespace MeListAPIKeysResponse {
|
|
|
205
206
|
}
|
|
206
207
|
export interface MeRevokeAPIKeyResponse {
|
|
207
208
|
/**
|
|
208
|
-
* Result of revoking one of your
|
|
209
|
+
* Result of revoking one of your personal API keys
|
|
209
210
|
*/
|
|
210
211
|
data: MeRevokeAPIKeyResponse.Data;
|
|
211
212
|
}
|
|
212
213
|
export declare namespace MeRevokeAPIKeyResponse {
|
|
213
214
|
/**
|
|
214
|
-
* Result of revoking one of your
|
|
215
|
+
* Result of revoking one of your personal API keys
|
|
215
216
|
*/
|
|
216
217
|
interface Data {
|
|
217
218
|
id: string;
|
|
218
219
|
/**
|
|
219
|
-
* Always true when the
|
|
220
|
+
* Always true when the key was revoked
|
|
220
221
|
*/
|
|
221
222
|
deleted: true;
|
|
222
223
|
}
|
package/resources/me.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"me.d.ts","sourceRoot":"","sources":["../src/resources/me.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;;;;;OAcG;IACH,YAAY,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAItG;;;;;;;;;;OAUG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IAIxD;;;;;;;;;;OAUG;IACH,WAAW,CACT,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAIpC
|
|
1
|
+
{"version":3,"file":"me.d.ts","sourceRoot":"","sources":["../src/resources/me.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;A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ACrD,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
package/resources/me.js
CHANGED
|
@@ -6,12 +6,12 @@ const resource_1 = require("../core/resource.js");
|
|
|
6
6
|
const path_1 = require("../internal/utils/path.js");
|
|
7
7
|
class Me extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* Requires a personal API key (a project API key is refused) and admin on the
|
|
10
|
+
* project the new key defaults to. Mints a personal API key that acts as you, for
|
|
11
|
+
* a CLI or an automation. The key value is returned exactly once, in the `key`
|
|
12
|
+
* field: capture it now, it is unreadable afterwards. The new key can never exceed
|
|
13
|
+
* the one that created it: not in scope, not in permissions, and not in lifetime.
|
|
14
|
+
* Omit a field to copy it from the calling credential.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```ts
|
|
@@ -38,10 +38,10 @@ class Me extends resource_1.APIResource {
|
|
|
38
38
|
return this._client.get('/v1/me', options);
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* revoked ones. The key value itself is never returned.
|
|
41
|
+
* Requires a personal API key; a project API key is refused. Returns the personal
|
|
42
|
+
* API keys that act as you: the ones created in the dashboard, from
|
|
43
|
+
* `roark auth login`, and MCP connectors. Defaults to ACTIVE, pass ?status=REVOKED
|
|
44
|
+
* to see revoked ones. The key value itself is never returned.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* ```ts
|
|
@@ -52,9 +52,10 @@ class Me extends resource_1.APIResource {
|
|
|
52
52
|
return this._client.get('/v1/me/api-keys', { query, ...options });
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* the call is safe; an unknown id, or one belonging to someone
|
|
55
|
+
* Requires a personal API key. Revokes one of your personal API keys; it stops
|
|
56
|
+
* working immediately. A key may revoke itself, which is what `roark auth logout`
|
|
57
|
+
* does. Repeating the call is safe; an unknown id, or one belonging to someone
|
|
58
|
+
* else, answers 404.
|
|
58
59
|
*
|
|
59
60
|
* @example
|
|
60
61
|
* ```ts
|
package/resources/me.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"me.js","sourceRoot":"","sources":["../src/resources/me.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,EAAG,SAAQ,sBAAW;IACjC;;;;;;;;;;;;;;OAcG;IACH,YAAY,CAAC,IAA0B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,OAAwB;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;IAED;;;;;;;;;;OAUG;IACH,WAAW,CACT,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"me.js","sourceRoot":"","sources":["../src/resources/me.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,EAAG,SAAQ,sBAAW;IACjC;;;;;;;;;;;;;;OAcG;IACH,YAAY,CAAC,IAA0B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,OAAwB;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;IAED;;;;;;;;;;OAUG;IACH,WAAW,CACT,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;OAUG;IACH,YAAY,CAAC,EAAU,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;CACF;AAnED,gBAmEC"}
|
package/resources/me.mjs
CHANGED
|
@@ -3,12 +3,12 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../internal/utils/path.mjs";
|
|
4
4
|
export class Me extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
6
|
+
* Requires a personal API key (a project API key is refused) and admin on the
|
|
7
|
+
* project the new key defaults to. Mints a personal API key that acts as you, for
|
|
8
|
+
* a CLI or an automation. The key value is returned exactly once, in the `key`
|
|
9
|
+
* field: capture it now, it is unreadable afterwards. The new key can never exceed
|
|
10
|
+
* the one that created it: not in scope, not in permissions, and not in lifetime.
|
|
11
|
+
* Omit a field to copy it from the calling credential.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```ts
|
|
@@ -35,10 +35,10 @@ export class Me extends APIResource {
|
|
|
35
35
|
return this._client.get('/v1/me', options);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* revoked ones. The key value itself is never returned.
|
|
38
|
+
* Requires a personal API key; a project API key is refused. Returns the personal
|
|
39
|
+
* API keys that act as you: the ones created in the dashboard, from
|
|
40
|
+
* `roark auth login`, and MCP connectors. Defaults to ACTIVE, pass ?status=REVOKED
|
|
41
|
+
* to see revoked ones. The key value itself is never returned.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* ```ts
|
|
@@ -49,9 +49,10 @@ export class Me extends APIResource {
|
|
|
49
49
|
return this._client.get('/v1/me/api-keys', { query, ...options });
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* the call is safe; an unknown id, or one belonging to someone
|
|
52
|
+
* Requires a personal API key. Revokes one of your personal API keys; it stops
|
|
53
|
+
* working immediately. A key may revoke itself, which is what `roark auth logout`
|
|
54
|
+
* does. Repeating the call is safe; an unknown id, or one belonging to someone
|
|
55
|
+
* else, answers 404.
|
|
55
56
|
*
|
|
56
57
|
* @example
|
|
57
58
|
* ```ts
|
package/resources/me.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"me.mjs","sourceRoot":"","sources":["../src/resources/me.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;;;;;OAcG;IACH,YAAY,CAAC,IAA0B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;OAUG;IACH,GA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|
@@ -133,10 +133,10 @@ export declare namespace MetricCreateDefinitionResponse {
|
|
|
133
133
|
*/
|
|
134
134
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
135
135
|
/**
|
|
136
|
-
* Whether you can create a variant of this metric with
|
|
137
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
138
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
139
|
-
* (their configuration is the request, edited on the metric), for
|
|
136
|
+
* Whether you can create a variant of this metric with
|
|
137
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
138
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
139
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
140
140
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
141
141
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
142
142
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -262,10 +262,10 @@ export declare namespace MetricCreateDefinitionResponse {
|
|
|
262
262
|
*/
|
|
263
263
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
264
264
|
/**
|
|
265
|
-
* Whether you can create a variant of this metric with
|
|
266
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
267
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
268
|
-
* (their configuration is the request, edited on the metric), for
|
|
265
|
+
* Whether you can create a variant of this metric with
|
|
266
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
267
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
268
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
269
269
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
270
270
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
271
271
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -404,10 +404,10 @@ export declare namespace MetricCreateDefinitionResponse {
|
|
|
404
404
|
*/
|
|
405
405
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
406
406
|
/**
|
|
407
|
-
* Whether you can create a variant of this metric with
|
|
408
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
409
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
410
|
-
* (their configuration is the request, edited on the metric), for
|
|
407
|
+
* Whether you can create a variant of this metric with
|
|
408
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
409
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
410
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
411
411
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
412
412
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
413
413
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -570,10 +570,10 @@ export declare namespace MetricCreateDefinitionResponse {
|
|
|
570
570
|
*/
|
|
571
571
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
572
572
|
/**
|
|
573
|
-
* Whether you can create a variant of this metric with
|
|
574
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
575
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
576
|
-
* (their configuration is the request, edited on the metric), for
|
|
573
|
+
* Whether you can create a variant of this metric with
|
|
574
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
575
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
576
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
577
577
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
578
578
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
579
579
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -739,10 +739,10 @@ export declare namespace MetricListDefinitionsResponse {
|
|
|
739
739
|
*/
|
|
740
740
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
741
741
|
/**
|
|
742
|
-
* Whether you can create a variant of this metric with
|
|
743
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
744
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
745
|
-
* (their configuration is the request, edited on the metric), for
|
|
742
|
+
* Whether you can create a variant of this metric with
|
|
743
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
744
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
745
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
746
746
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
747
747
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
748
748
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -864,10 +864,10 @@ export declare namespace MetricListDefinitionsResponse {
|
|
|
864
864
|
*/
|
|
865
865
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
866
866
|
/**
|
|
867
|
-
* Whether you can create a variant of this metric with
|
|
868
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
869
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
870
|
-
* (their configuration is the request, edited on the metric), for
|
|
867
|
+
* Whether you can create a variant of this metric with
|
|
868
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
869
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
870
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
871
871
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
872
872
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
873
873
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -989,10 +989,10 @@ export declare namespace MetricListDefinitionsResponse {
|
|
|
989
989
|
*/
|
|
990
990
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
991
991
|
/**
|
|
992
|
-
* Whether you can create a variant of this metric with
|
|
993
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
994
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
995
|
-
* (their configuration is the request, edited on the metric), for
|
|
992
|
+
* Whether you can create a variant of this metric with
|
|
993
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
994
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
995
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
996
996
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
997
997
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
998
998
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -1134,10 +1134,10 @@ export declare namespace MetricListDefinitionsResponse {
|
|
|
1134
1134
|
*/
|
|
1135
1135
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
1136
1136
|
/**
|
|
1137
|
-
* Whether you can create a variant of this metric with
|
|
1138
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
1139
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
1140
|
-
* (their configuration is the request, edited on the metric), for
|
|
1137
|
+
* Whether you can create a variant of this metric with
|
|
1138
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
1139
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
1140
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
1141
1141
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
1142
1142
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
1143
1143
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -1276,10 +1276,10 @@ export declare namespace MetricListDefinitionsResponse {
|
|
|
1276
1276
|
*/
|
|
1277
1277
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
1278
1278
|
/**
|
|
1279
|
-
* Whether you can create a variant of this metric with
|
|
1280
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
1281
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
1282
|
-
* (their configuration is the request, edited on the metric), for
|
|
1279
|
+
* Whether you can create a variant of this metric with
|
|
1280
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
1281
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
1282
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
1283
1283
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
1284
1284
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
1285
1285
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -1442,10 +1442,10 @@ export declare namespace MetricListDefinitionsResponse {
|
|
|
1442
1442
|
*/
|
|
1443
1443
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
1444
1444
|
/**
|
|
1445
|
-
* Whether you can create a variant of this metric with
|
|
1446
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
1447
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
1448
|
-
* (their configuration is the request, edited on the metric), for
|
|
1445
|
+
* Whether you can create a variant of this metric with
|
|
1446
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
1447
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
1448
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
1449
1449
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
1450
1450
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
1451
1451
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -1615,10 +1615,10 @@ export declare namespace MetricUpdateDefinitionResponse {
|
|
|
1615
1615
|
*/
|
|
1616
1616
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
1617
1617
|
/**
|
|
1618
|
-
* Whether you can create a variant of this metric with
|
|
1619
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
1620
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
1621
|
-
* (their configuration is the request, edited on the metric), for
|
|
1618
|
+
* Whether you can create a variant of this metric with
|
|
1619
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
1620
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
1621
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
1622
1622
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
1623
1623
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
1624
1624
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -1744,10 +1744,10 @@ export declare namespace MetricUpdateDefinitionResponse {
|
|
|
1744
1744
|
*/
|
|
1745
1745
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
1746
1746
|
/**
|
|
1747
|
-
* Whether you can create a variant of this metric with
|
|
1748
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
1749
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
1750
|
-
* (their configuration is the request, edited on the metric), for
|
|
1747
|
+
* Whether you can create a variant of this metric with
|
|
1748
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
1749
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
1750
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
1751
1751
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
1752
1752
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
1753
1753
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -1886,10 +1886,10 @@ export declare namespace MetricUpdateDefinitionResponse {
|
|
|
1886
1886
|
*/
|
|
1887
1887
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
1888
1888
|
/**
|
|
1889
|
-
* Whether you can create a variant of this metric with
|
|
1890
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
1891
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
1892
|
-
* (their configuration is the request, edited on the metric), for
|
|
1889
|
+
* Whether you can create a variant of this metric with
|
|
1890
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
1891
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
1892
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
1893
1893
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
1894
1894
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
1895
1895
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -2039,10 +2039,10 @@ export declare namespace MetricUpdateDefinitionResponse {
|
|
|
2039
2039
|
*/
|
|
2040
2040
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
2041
2041
|
/**
|
|
2042
|
-
* Whether you can create a variant of this metric with
|
|
2043
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
2044
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
2045
|
-
* (their configuration is the request, edited on the metric), for
|
|
2042
|
+
* Whether you can create a variant of this metric with
|
|
2043
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
2044
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
2045
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
2046
2046
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
2047
2047
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
2048
2048
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|
|
@@ -2193,10 +2193,10 @@ export declare namespace MetricUpdateDefinitionResponse {
|
|
|
2193
2193
|
*/
|
|
2194
2194
|
supportedConversationSources: Array<'SIMULATED' | 'LIVE'> | null;
|
|
2195
2195
|
/**
|
|
2196
|
-
* Whether you can create a variant of this metric with
|
|
2197
|
-
* /v1/metric/definitions/{idOrSlug}/variants
|
|
2198
|
-
* configuration comes from the metric they derive from), for HTTP request
|
|
2199
|
-
* (their configuration is the request, edited on the metric), for
|
|
2196
|
+
* Whether you can create a variant of this metric with
|
|
2197
|
+
* `POST /v1/metric/definitions/{idOrSlug}/variants`. False for threshold metrics
|
|
2198
|
+
* (their configuration comes from the metric they derive from), for HTTP request
|
|
2199
|
+
* metrics (their configuration is the request, edited on the metric), for
|
|
2200
2200
|
* provider-computed metrics whose calculation lives in the collector rather than
|
|
2201
2201
|
* an editable prompt, and for metrics in a package that manages its own variants.
|
|
2202
2202
|
* Most of Roark’s own metrics are false, so read this rather than discovering it
|