@roarkanalytics/sdk 4.0.0 → 4.2.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 +24 -0
- package/client.d.mts +5 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -2
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent-config.d.mts +394 -0
- package/resources/agent-config.d.mts.map +1 -0
- package/resources/agent-config.d.ts +394 -0
- package/resources/agent-config.d.ts.map +1 -0
- package/resources/agent-config.js +98 -0
- package/resources/agent-config.js.map +1 -0
- package/resources/agent-config.mjs +94 -0
- package/resources/agent-config.mjs.map +1 -0
- package/resources/agent.d.mts +61 -1
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +61 -1
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js +16 -0
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs +16 -0
- package/resources/agent.mjs.map +1 -1
- package/resources/autoimprove-job.d.mts +13 -12
- package/resources/autoimprove-job.d.mts.map +1 -1
- package/resources/autoimprove-job.d.ts +13 -12
- package/resources/autoimprove-job.d.ts.map +1 -1
- package/resources/autoimprove-job.js +3 -2
- package/resources/autoimprove-job.js.map +1 -1
- package/resources/autoimprove-job.mjs +3 -2
- package/resources/autoimprove-job.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/src/client.ts +31 -0
- package/src/resources/agent-config.ts +487 -0
- package/src/resources/agent.ts +75 -0
- package/src/resources/autoimprove-job.ts +13 -12
- package/src/resources/index.ts +14 -0
- 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
|
@@ -14,8 +14,9 @@ export class AutoimproveJob extends APIResource {
|
|
|
14
14
|
* until the objective metric passes its target. Production is never touched by the
|
|
15
15
|
* loop; verified changes wait for promotion.
|
|
16
16
|
*
|
|
17
|
-
* Requires an active provider integration (Vapi or
|
|
18
|
-
* writes enabled. One live job per agent: starting a second returns a
|
|
17
|
+
* Requires an active provider integration (Vapi, Retell, or ElevenLabs) with agent
|
|
18
|
+
* config writes enabled. One live job per agent: starting a second returns a
|
|
19
|
+
* conflict.
|
|
19
20
|
*
|
|
20
21
|
* The job runs asynchronously; poll GET /v1/autoimprove/job/{jobId} or watch it in
|
|
21
22
|
* the dashboard. When its status is NEEDS_INPUT, answer via the answer endpoint;
|
|
@@ -245,7 +246,7 @@ export namespace AutoimproveJobCreateResponse {
|
|
|
245
246
|
|
|
246
247
|
currentValue: number | null;
|
|
247
248
|
|
|
248
|
-
customerIntegrationId: string;
|
|
249
|
+
customerIntegrationId: string | null;
|
|
249
250
|
|
|
250
251
|
finalReport: string | null;
|
|
251
252
|
|
|
@@ -273,7 +274,7 @@ export namespace AutoimproveJobCreateResponse {
|
|
|
273
274
|
|
|
274
275
|
stagingAgentId: string;
|
|
275
276
|
|
|
276
|
-
stagingKind: 'DESIGNATED' | 'SHADOW';
|
|
277
|
+
stagingKind: 'DESIGNATED' | 'SHADOW' | 'CHANNEL';
|
|
277
278
|
|
|
278
279
|
status:
|
|
279
280
|
| 'RUNNING'
|
|
@@ -329,7 +330,7 @@ export namespace AutoimproveJobListResponse {
|
|
|
329
330
|
|
|
330
331
|
currentValue: number | null;
|
|
331
332
|
|
|
332
|
-
customerIntegrationId: string;
|
|
333
|
+
customerIntegrationId: string | null;
|
|
333
334
|
|
|
334
335
|
finalReport: string | null;
|
|
335
336
|
|
|
@@ -357,7 +358,7 @@ export namespace AutoimproveJobListResponse {
|
|
|
357
358
|
|
|
358
359
|
stagingAgentId: string;
|
|
359
360
|
|
|
360
|
-
stagingKind: 'DESIGNATED' | 'SHADOW';
|
|
361
|
+
stagingKind: 'DESIGNATED' | 'SHADOW' | 'CHANNEL';
|
|
361
362
|
|
|
362
363
|
status:
|
|
363
364
|
| 'RUNNING'
|
|
@@ -438,7 +439,7 @@ export namespace AutoimproveJobDismissResponse {
|
|
|
438
439
|
|
|
439
440
|
currentValue: number | null;
|
|
440
441
|
|
|
441
|
-
customerIntegrationId: string;
|
|
442
|
+
customerIntegrationId: string | null;
|
|
442
443
|
|
|
443
444
|
finalReport: string | null;
|
|
444
445
|
|
|
@@ -466,7 +467,7 @@ export namespace AutoimproveJobDismissResponse {
|
|
|
466
467
|
|
|
467
468
|
stagingAgentId: string;
|
|
468
469
|
|
|
469
|
-
stagingKind: 'DESIGNATED' | 'SHADOW';
|
|
470
|
+
stagingKind: 'DESIGNATED' | 'SHADOW' | 'CHANNEL';
|
|
470
471
|
|
|
471
472
|
status:
|
|
472
473
|
| 'RUNNING'
|
|
@@ -522,7 +523,7 @@ export namespace AutoimproveJobGetByIDResponse {
|
|
|
522
523
|
|
|
523
524
|
currentValue: number | null;
|
|
524
525
|
|
|
525
|
-
customerIntegrationId: string;
|
|
526
|
+
customerIntegrationId: string | null;
|
|
526
527
|
|
|
527
528
|
finalReport: string | null;
|
|
528
529
|
|
|
@@ -555,7 +556,7 @@ export namespace AutoimproveJobGetByIDResponse {
|
|
|
555
556
|
|
|
556
557
|
stagingAgentId: string;
|
|
557
558
|
|
|
558
|
-
stagingKind: 'DESIGNATED' | 'SHADOW';
|
|
559
|
+
stagingKind: 'DESIGNATED' | 'SHADOW' | 'CHANNEL';
|
|
559
560
|
|
|
560
561
|
status:
|
|
561
562
|
| 'RUNNING'
|
|
@@ -616,7 +617,7 @@ export namespace AutoimproveJobPromoteResponse {
|
|
|
616
617
|
|
|
617
618
|
currentValue: number | null;
|
|
618
619
|
|
|
619
|
-
customerIntegrationId: string;
|
|
620
|
+
customerIntegrationId: string | null;
|
|
620
621
|
|
|
621
622
|
finalReport: string | null;
|
|
622
623
|
|
|
@@ -644,7 +645,7 @@ export namespace AutoimproveJobPromoteResponse {
|
|
|
644
645
|
|
|
645
646
|
stagingAgentId: string;
|
|
646
647
|
|
|
647
|
-
stagingKind: 'DESIGNATED' | 'SHADOW';
|
|
648
|
+
stagingKind: 'DESIGNATED' | 'SHADOW' | 'CHANNEL';
|
|
648
649
|
|
|
649
650
|
status:
|
|
650
651
|
| 'RUNNING'
|
package/src/resources/index.ts
CHANGED
|
@@ -5,11 +5,25 @@ export {
|
|
|
5
5
|
type AgentCreateResponse,
|
|
6
6
|
type AgentUpdateResponse,
|
|
7
7
|
type AgentListResponse,
|
|
8
|
+
type AgentBuildResponse,
|
|
8
9
|
type AgentGetByIDResponse,
|
|
9
10
|
type AgentCreateParams,
|
|
10
11
|
type AgentUpdateParams,
|
|
11
12
|
type AgentListParams,
|
|
13
|
+
type AgentBuildParams,
|
|
12
14
|
} from './agent';
|
|
15
|
+
export {
|
|
16
|
+
AgentConfig,
|
|
17
|
+
type ManagedAgentConfigRevision,
|
|
18
|
+
type AgentConfigUpdateResponse,
|
|
19
|
+
type AgentConfigListResponse,
|
|
20
|
+
type AgentConfigDeleteStagingResponse,
|
|
21
|
+
type AgentConfigGetByIDResponse,
|
|
22
|
+
type AgentConfigPromoteResponse,
|
|
23
|
+
type AgentConfigResolveResponse,
|
|
24
|
+
type AgentConfigUpdateParams,
|
|
25
|
+
type AgentConfigResolveParams,
|
|
26
|
+
} from './agent-config';
|
|
13
27
|
export {
|
|
14
28
|
AgentEndpoint,
|
|
15
29
|
type AgentEndpointCreateResponse,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.2.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.2.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.2.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.2.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|