@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.
Files changed (52) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/client.d.mts +5 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +5 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/agent-config.d.mts +394 -0
  12. package/resources/agent-config.d.mts.map +1 -0
  13. package/resources/agent-config.d.ts +394 -0
  14. package/resources/agent-config.d.ts.map +1 -0
  15. package/resources/agent-config.js +98 -0
  16. package/resources/agent-config.js.map +1 -0
  17. package/resources/agent-config.mjs +94 -0
  18. package/resources/agent-config.mjs.map +1 -0
  19. package/resources/agent.d.mts +61 -1
  20. package/resources/agent.d.mts.map +1 -1
  21. package/resources/agent.d.ts +61 -1
  22. package/resources/agent.d.ts.map +1 -1
  23. package/resources/agent.js +16 -0
  24. package/resources/agent.js.map +1 -1
  25. package/resources/agent.mjs +16 -0
  26. package/resources/agent.mjs.map +1 -1
  27. package/resources/autoimprove-job.d.mts +13 -12
  28. package/resources/autoimprove-job.d.mts.map +1 -1
  29. package/resources/autoimprove-job.d.ts +13 -12
  30. package/resources/autoimprove-job.d.ts.map +1 -1
  31. package/resources/autoimprove-job.js +3 -2
  32. package/resources/autoimprove-job.js.map +1 -1
  33. package/resources/autoimprove-job.mjs +3 -2
  34. package/resources/autoimprove-job.mjs.map +1 -1
  35. package/resources/index.d.mts +2 -1
  36. package/resources/index.d.mts.map +1 -1
  37. package/resources/index.d.ts +2 -1
  38. package/resources/index.d.ts.map +1 -1
  39. package/resources/index.js +3 -1
  40. package/resources/index.js.map +1 -1
  41. package/resources/index.mjs +1 -0
  42. package/resources/index.mjs.map +1 -1
  43. package/src/client.ts +31 -0
  44. package/src/resources/agent-config.ts +487 -0
  45. package/src/resources/agent.ts +75 -0
  46. package/src/resources/autoimprove-job.ts +13 -12
  47. package/src/resources/index.ts +14 -0
  48. package/src/version.ts +1 -1
  49. package/version.d.mts +1 -1
  50. package/version.d.ts +1 -1
  51. package/version.js +1 -1
  52. 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 Retell) with agent config
18
- * writes enabled. One live job per agent: starting a second returns a conflict.
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'
@@ -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.0.0'; // x-release-please-version
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.0.0";
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.0.0";
1
+ export declare const VERSION = "4.2.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '4.0.0'; // x-release-please-version
4
+ exports.VERSION = '4.2.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '4.0.0'; // x-release-please-version
1
+ export const VERSION = '4.2.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map