@roarkanalytics/sdk 5.21.0 → 5.23.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 +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent-draft.d.mts +1311 -0
- package/resources/agent-draft.d.mts.map +1 -0
- package/resources/agent-draft.d.ts +1311 -0
- package/resources/agent-draft.d.ts.map +1 -0
- package/resources/agent-draft.js +83 -0
- package/resources/agent-draft.js.map +1 -0
- package/resources/agent-draft.mjs +79 -0
- package/resources/agent-draft.mjs.map +1 -0
- package/resources/agent-version.d.mts +767 -0
- package/resources/agent-version.d.mts.map +1 -0
- package/resources/agent-version.d.ts +767 -0
- package/resources/agent-version.d.ts.map +1 -0
- package/resources/agent-version.js +59 -0
- package/resources/agent-version.js.map +1 -0
- package/resources/agent-version.mjs +55 -0
- package/resources/agent-version.mjs.map +1 -0
- package/resources/agent.d.mts +2 -3
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +2 -3
- package/resources/agent.d.ts.map +1 -1
- package/resources/call.d.mts +12 -0
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +12 -0
- package/resources/call.d.ts.map +1 -1
- package/resources/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/src/client.ts +46 -0
- package/src/resources/agent-draft.ts +1846 -0
- package/src/resources/agent-version.ts +1065 -0
- package/src/resources/agent.ts +2 -3
- package/src/resources/call.ts +15 -0
- package/src/resources/index.ts +20 -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
package/src/resources/agent.ts
CHANGED
|
@@ -355,10 +355,9 @@ export namespace AgentBuildParams {
|
|
|
355
355
|
*/
|
|
356
356
|
export interface Tts {
|
|
357
357
|
/**
|
|
358
|
-
* Text-to-speech provider, for example ELEVENLABS
|
|
359
|
-
* list.
|
|
358
|
+
* Text-to-speech provider, for example ELEVENLABS
|
|
360
359
|
*/
|
|
361
|
-
provider:
|
|
360
|
+
provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
|
|
362
361
|
|
|
363
362
|
/**
|
|
364
363
|
* The provider's id for the voice
|
package/src/resources/call.ts
CHANGED
|
@@ -278,6 +278,11 @@ export namespace CallCreateResponse {
|
|
|
278
278
|
export interface Agent {
|
|
279
279
|
id: string;
|
|
280
280
|
|
|
281
|
+
/**
|
|
282
|
+
* For an agent hosted on Roark, the version of it that handled the call
|
|
283
|
+
*/
|
|
284
|
+
agentVersionId?: string | null;
|
|
285
|
+
|
|
281
286
|
endpoint?: Agent.Endpoint | null;
|
|
282
287
|
}
|
|
283
288
|
|
|
@@ -445,6 +450,11 @@ export namespace CallListResponse {
|
|
|
445
450
|
export interface Agent {
|
|
446
451
|
id: string;
|
|
447
452
|
|
|
453
|
+
/**
|
|
454
|
+
* For an agent hosted on Roark, the version of it that handled the call
|
|
455
|
+
*/
|
|
456
|
+
agentVersionId?: string | null;
|
|
457
|
+
|
|
448
458
|
endpoint?: Agent.Endpoint | null;
|
|
449
459
|
}
|
|
450
460
|
|
|
@@ -781,6 +791,11 @@ export namespace CallGetByIDResponse {
|
|
|
781
791
|
export interface Agent {
|
|
782
792
|
id: string;
|
|
783
793
|
|
|
794
|
+
/**
|
|
795
|
+
* For an agent hosted on Roark, the version of it that handled the call
|
|
796
|
+
*/
|
|
797
|
+
agentVersionId?: string | null;
|
|
798
|
+
|
|
784
799
|
endpoint?: Agent.Endpoint | null;
|
|
785
800
|
}
|
|
786
801
|
|
package/src/resources/index.ts
CHANGED
|
@@ -24,6 +24,17 @@ export {
|
|
|
24
24
|
type AgentConfigUpdateParams,
|
|
25
25
|
type AgentConfigResolveParams,
|
|
26
26
|
} from './agent-config';
|
|
27
|
+
export {
|
|
28
|
+
AgentDraft,
|
|
29
|
+
type AgentDraftCreateResponse,
|
|
30
|
+
type AgentDraftUpdateResponse,
|
|
31
|
+
type AgentDraftDeleteResponse,
|
|
32
|
+
type AgentDraftGetResponse,
|
|
33
|
+
type AgentDraftPublishResponse,
|
|
34
|
+
type AgentDraftCreateParams,
|
|
35
|
+
type AgentDraftUpdateParams,
|
|
36
|
+
type AgentDraftPublishParams,
|
|
37
|
+
} from './agent-draft';
|
|
27
38
|
export {
|
|
28
39
|
AgentEndpoint,
|
|
29
40
|
type AgentEndpointCreateResponse,
|
|
@@ -42,6 +53,15 @@ export {
|
|
|
42
53
|
type AgentPromptUpdateParams,
|
|
43
54
|
type AgentPromptListVersionsParams,
|
|
44
55
|
} from './agent-prompt';
|
|
56
|
+
export {
|
|
57
|
+
AgentVersion,
|
|
58
|
+
type AgentVersionListResponse,
|
|
59
|
+
type AgentVersionGetByIDResponse,
|
|
60
|
+
type AgentVersionRestoreResponse,
|
|
61
|
+
type AgentVersionListParams,
|
|
62
|
+
type AgentVersionGetByIDParams,
|
|
63
|
+
type AgentVersionRestoreParams,
|
|
64
|
+
} from './agent-version';
|
|
45
65
|
export {
|
|
46
66
|
Analytics,
|
|
47
67
|
type AnalyticsGetSchemaResponse,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.23.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.23.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.23.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.23.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|