@roarkanalytics/sdk 7.3.0 → 7.5.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.
@@ -80,7 +80,34 @@ export namespace Bundle {
80
80
 
81
81
  endpoints?: Array<AgentConfig.Endpoint>;
82
82
 
83
+ greeting?: string;
84
+
85
+ jobDescription?: string;
86
+
87
+ llm?: AgentConfig.Llm;
88
+
83
89
  prompt?: string | null;
90
+
91
+ provider?:
92
+ | 'roark'
93
+ | 'vapi'
94
+ | 'retell'
95
+ | 'elevenlabs'
96
+ | 'livekit'
97
+ | 'livekit-self-hosted'
98
+ | 'leaping'
99
+ | 'bland'
100
+ | 'api'
101
+ | 'kore'
102
+ | 'google-ces'
103
+ | 'pipecat-cloud'
104
+ | 'pipecat-self-hosted';
105
+
106
+ stt?: AgentConfig.Stt;
107
+
108
+ tts?: AgentConfig.Tts;
109
+
110
+ voice?: string;
84
111
  }
85
112
 
86
113
  export namespace AgentConfig {
@@ -97,6 +124,26 @@ export namespace Bundle {
97
124
 
98
125
  value?: string;
99
126
  }
127
+
128
+ export interface Llm {
129
+ model: string;
130
+
131
+ provider: 'OPENAI' | 'ANTHROPIC' | 'GOOGLE' | 'XAI' | 'ULTRAVOX' | 'AWS' | 'ELEVENLABS';
132
+ }
133
+
134
+ export interface Stt {
135
+ model: string;
136
+
137
+ provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS';
138
+ }
139
+
140
+ export interface Tts {
141
+ provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
142
+
143
+ voiceId: string;
144
+
145
+ model?: string;
146
+ }
100
147
  }
101
148
 
102
149
  export interface HTTPRequestDefinitionConfig {
@@ -1584,7 +1631,34 @@ export namespace Bundle {
1584
1631
 
1585
1632
  endpoints?: Array<AgentConfig.Endpoint>;
1586
1633
 
1634
+ greeting?: string;
1635
+
1636
+ jobDescription?: string;
1637
+
1638
+ llm?: AgentConfig.Llm;
1639
+
1587
1640
  prompt?: string | null;
1641
+
1642
+ provider?:
1643
+ | 'roark'
1644
+ | 'vapi'
1645
+ | 'retell'
1646
+ | 'elevenlabs'
1647
+ | 'livekit'
1648
+ | 'livekit-self-hosted'
1649
+ | 'leaping'
1650
+ | 'bland'
1651
+ | 'api'
1652
+ | 'kore'
1653
+ | 'google-ces'
1654
+ | 'pipecat-cloud'
1655
+ | 'pipecat-self-hosted';
1656
+
1657
+ stt?: AgentConfig.Stt;
1658
+
1659
+ tts?: AgentConfig.Tts;
1660
+
1661
+ voice?: string;
1588
1662
  }
1589
1663
 
1590
1664
  export namespace AgentConfig {
@@ -1601,6 +1675,26 @@ export namespace Bundle {
1601
1675
 
1602
1676
  value?: string;
1603
1677
  }
1678
+
1679
+ export interface Llm {
1680
+ model: string;
1681
+
1682
+ provider: 'OPENAI' | 'ANTHROPIC' | 'GOOGLE' | 'XAI' | 'ULTRAVOX' | 'AWS' | 'ELEVENLABS';
1683
+ }
1684
+
1685
+ export interface Stt {
1686
+ model: string;
1687
+
1688
+ provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS';
1689
+ }
1690
+
1691
+ export interface Tts {
1692
+ provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
1693
+
1694
+ voiceId: string;
1695
+
1696
+ model?: string;
1697
+ }
1604
1698
  }
1605
1699
 
1606
1700
  export interface HTTPRequestDefinitionConfig {
@@ -3257,7 +3351,34 @@ export namespace ConfigApplyParams {
3257
3351
 
3258
3352
  endpoints?: Array<AgentConfig.Endpoint>;
3259
3353
 
3354
+ greeting?: string;
3355
+
3356
+ jobDescription?: string;
3357
+
3358
+ llm?: AgentConfig.Llm;
3359
+
3260
3360
  prompt?: string | null;
3361
+
3362
+ provider?:
3363
+ | 'roark'
3364
+ | 'vapi'
3365
+ | 'retell'
3366
+ | 'elevenlabs'
3367
+ | 'livekit'
3368
+ | 'livekit-self-hosted'
3369
+ | 'leaping'
3370
+ | 'bland'
3371
+ | 'api'
3372
+ | 'kore'
3373
+ | 'google-ces'
3374
+ | 'pipecat-cloud'
3375
+ | 'pipecat-self-hosted';
3376
+
3377
+ stt?: AgentConfig.Stt;
3378
+
3379
+ tts?: AgentConfig.Tts;
3380
+
3381
+ voice?: string;
3261
3382
  }
3262
3383
 
3263
3384
  export namespace AgentConfig {
@@ -3274,6 +3395,26 @@ export namespace ConfigApplyParams {
3274
3395
 
3275
3396
  value?: string;
3276
3397
  }
3398
+
3399
+ export interface Llm {
3400
+ model: string;
3401
+
3402
+ provider: 'OPENAI' | 'ANTHROPIC' | 'GOOGLE' | 'XAI' | 'ULTRAVOX' | 'AWS' | 'ELEVENLABS';
3403
+ }
3404
+
3405
+ export interface Stt {
3406
+ model: string;
3407
+
3408
+ provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS';
3409
+ }
3410
+
3411
+ export interface Tts {
3412
+ provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
3413
+
3414
+ voiceId: string;
3415
+
3416
+ model?: string;
3417
+ }
3277
3418
  }
3278
3419
 
3279
3420
  export interface HTTPRequestDefinitionConfig {
@@ -4761,7 +4902,34 @@ export namespace ConfigApplyParams {
4761
4902
 
4762
4903
  endpoints?: Array<AgentConfig.Endpoint>;
4763
4904
 
4905
+ greeting?: string;
4906
+
4907
+ jobDescription?: string;
4908
+
4909
+ llm?: AgentConfig.Llm;
4910
+
4764
4911
  prompt?: string | null;
4912
+
4913
+ provider?:
4914
+ | 'roark'
4915
+ | 'vapi'
4916
+ | 'retell'
4917
+ | 'elevenlabs'
4918
+ | 'livekit'
4919
+ | 'livekit-self-hosted'
4920
+ | 'leaping'
4921
+ | 'bland'
4922
+ | 'api'
4923
+ | 'kore'
4924
+ | 'google-ces'
4925
+ | 'pipecat-cloud'
4926
+ | 'pipecat-self-hosted';
4927
+
4928
+ stt?: AgentConfig.Stt;
4929
+
4930
+ tts?: AgentConfig.Tts;
4931
+
4932
+ voice?: string;
4765
4933
  }
4766
4934
 
4767
4935
  export namespace AgentConfig {
@@ -4778,6 +4946,26 @@ export namespace ConfigApplyParams {
4778
4946
 
4779
4947
  value?: string;
4780
4948
  }
4949
+
4950
+ export interface Llm {
4951
+ model: string;
4952
+
4953
+ provider: 'OPENAI' | 'ANTHROPIC' | 'GOOGLE' | 'XAI' | 'ULTRAVOX' | 'AWS' | 'ELEVENLABS';
4954
+ }
4955
+
4956
+ export interface Stt {
4957
+ model: string;
4958
+
4959
+ provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS';
4960
+ }
4961
+
4962
+ export interface Tts {
4963
+ provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
4964
+
4965
+ voiceId: string;
4966
+
4967
+ model?: string;
4968
+ }
4781
4969
  }
4782
4970
 
4783
4971
  export interface HTTPRequestDefinitionConfig {
@@ -6247,7 +6435,34 @@ export namespace ConfigDiffParams {
6247
6435
 
6248
6436
  endpoints?: Array<AgentConfig.Endpoint>;
6249
6437
 
6438
+ greeting?: string;
6439
+
6440
+ jobDescription?: string;
6441
+
6442
+ llm?: AgentConfig.Llm;
6443
+
6250
6444
  prompt?: string | null;
6445
+
6446
+ provider?:
6447
+ | 'roark'
6448
+ | 'vapi'
6449
+ | 'retell'
6450
+ | 'elevenlabs'
6451
+ | 'livekit'
6452
+ | 'livekit-self-hosted'
6453
+ | 'leaping'
6454
+ | 'bland'
6455
+ | 'api'
6456
+ | 'kore'
6457
+ | 'google-ces'
6458
+ | 'pipecat-cloud'
6459
+ | 'pipecat-self-hosted';
6460
+
6461
+ stt?: AgentConfig.Stt;
6462
+
6463
+ tts?: AgentConfig.Tts;
6464
+
6465
+ voice?: string;
6251
6466
  }
6252
6467
 
6253
6468
  export namespace AgentConfig {
@@ -6264,6 +6479,26 @@ export namespace ConfigDiffParams {
6264
6479
 
6265
6480
  value?: string;
6266
6481
  }
6482
+
6483
+ export interface Llm {
6484
+ model: string;
6485
+
6486
+ provider: 'OPENAI' | 'ANTHROPIC' | 'GOOGLE' | 'XAI' | 'ULTRAVOX' | 'AWS' | 'ELEVENLABS';
6487
+ }
6488
+
6489
+ export interface Stt {
6490
+ model: string;
6491
+
6492
+ provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS';
6493
+ }
6494
+
6495
+ export interface Tts {
6496
+ provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
6497
+
6498
+ voiceId: string;
6499
+
6500
+ model?: string;
6501
+ }
6267
6502
  }
6268
6503
 
6269
6504
  export interface HTTPRequestDefinitionConfig {
@@ -7751,7 +7986,34 @@ export namespace ConfigDiffParams {
7751
7986
 
7752
7987
  endpoints?: Array<AgentConfig.Endpoint>;
7753
7988
 
7989
+ greeting?: string;
7990
+
7991
+ jobDescription?: string;
7992
+
7993
+ llm?: AgentConfig.Llm;
7994
+
7754
7995
  prompt?: string | null;
7996
+
7997
+ provider?:
7998
+ | 'roark'
7999
+ | 'vapi'
8000
+ | 'retell'
8001
+ | 'elevenlabs'
8002
+ | 'livekit'
8003
+ | 'livekit-self-hosted'
8004
+ | 'leaping'
8005
+ | 'bland'
8006
+ | 'api'
8007
+ | 'kore'
8008
+ | 'google-ces'
8009
+ | 'pipecat-cloud'
8010
+ | 'pipecat-self-hosted';
8011
+
8012
+ stt?: AgentConfig.Stt;
8013
+
8014
+ tts?: AgentConfig.Tts;
8015
+
8016
+ voice?: string;
7755
8017
  }
7756
8018
 
7757
8019
  export namespace AgentConfig {
@@ -7768,6 +8030,26 @@ export namespace ConfigDiffParams {
7768
8030
 
7769
8031
  value?: string;
7770
8032
  }
8033
+
8034
+ export interface Llm {
8035
+ model: string;
8036
+
8037
+ provider: 'OPENAI' | 'ANTHROPIC' | 'GOOGLE' | 'XAI' | 'ULTRAVOX' | 'AWS' | 'ELEVENLABS';
8038
+ }
8039
+
8040
+ export interface Stt {
8041
+ model: string;
8042
+
8043
+ provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS';
8044
+ }
8045
+
8046
+ export interface Tts {
8047
+ provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
8048
+
8049
+ voiceId: string;
8050
+
8051
+ model?: string;
8052
+ }
7771
8053
  }
7772
8054
 
7773
8055
  export interface HTTPRequestDefinitionConfig {
@@ -355,6 +355,7 @@ export {
355
355
  export {
356
356
  SimulationRunPlanJob,
357
357
  type SimulationRunPlanJobListResponse,
358
+ type SimulationRunPlanJobDeleteResponse,
358
359
  type SimulationRunPlanJobCancelResponse,
359
360
  type SimulationRunPlanJobCreateDebriefResponse,
360
361
  type SimulationRunPlanJobGetByIDResponse,
@@ -23,6 +23,25 @@ export class SimulationRunPlanJob extends APIResource {
23
23
  return this._client.get('/v1/simulation/plan/jobs', { query, ...options });
24
24
  }
25
25
 
26
+ /**
27
+ * Removes a finished run from the run history (a soft delete). The run stops
28
+ * appearing in run lists, counts and plan run histories, and reading it by ID
29
+ * returns 404.
30
+ *
31
+ * A run that is still in progress is refused with 409: cancel it first.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const simulationRunPlanJob =
36
+ * await client.simulationRunPlanJob.delete(
37
+ * '7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f',
38
+ * );
39
+ * ```
40
+ */
41
+ delete(jobID: string, options?: RequestOptions): APIPromise<SimulationRunPlanJobDeleteResponse> {
42
+ return this._client.delete(path`/v1/simulation/plan/job/${jobID}`, options);
43
+ }
44
+
26
45
  /**
27
46
  * Stops a run that has not finished yet. Already-finished runs are left alone.
28
47
  *
@@ -232,6 +251,27 @@ export namespace SimulationRunPlanJobListResponse {
232
251
  }
233
252
  }
234
253
 
254
+ export interface SimulationRunPlanJobDeleteResponse {
255
+ /**
256
+ * Result of deleting a simulation plan job
257
+ */
258
+ data: SimulationRunPlanJobDeleteResponse.Data;
259
+ }
260
+
261
+ export namespace SimulationRunPlanJobDeleteResponse {
262
+ /**
263
+ * Result of deleting a simulation plan job
264
+ */
265
+ export interface Data {
266
+ /**
267
+ * True when the run was removed from the run history.
268
+ */
269
+ deleted: boolean;
270
+
271
+ simulationRunPlanJobId: string;
272
+ }
273
+ }
274
+
235
275
  export interface SimulationRunPlanJobCancelResponse {
236
276
  /**
237
277
  * Result of cancelling a simulation plan job
@@ -3021,6 +3061,7 @@ export namespace SimulationRunPlanJobStartParams {
3021
3061
  export declare namespace SimulationRunPlanJob {
3022
3062
  export {
3023
3063
  type SimulationRunPlanJobListResponse as SimulationRunPlanJobListResponse,
3064
+ type SimulationRunPlanJobDeleteResponse as SimulationRunPlanJobDeleteResponse,
3024
3065
  type SimulationRunPlanJobCancelResponse as SimulationRunPlanJobCancelResponse,
3025
3066
  type SimulationRunPlanJobCreateDebriefResponse as SimulationRunPlanJobCreateDebriefResponse,
3026
3067
  type SimulationRunPlanJobGetByIDResponse as SimulationRunPlanJobGetByIDResponse,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '7.3.0'; // x-release-please-version
1
+ export const VERSION = '7.5.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "7.3.0";
1
+ export declare const VERSION = "7.5.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "7.3.0";
1
+ export declare const VERSION = "7.5.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 = '7.3.0'; // x-release-please-version
4
+ exports.VERSION = '7.5.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '7.3.0'; // x-release-please-version
1
+ export const VERSION = '7.5.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map