@roarkanalytics/sdk 3.10.0 → 3.12.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 (101) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/client.d.mts +7 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +7 -4
  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-prompt.d.mts +129 -0
  12. package/resources/agent-prompt.d.mts.map +1 -0
  13. package/resources/agent-prompt.d.ts +129 -0
  14. package/resources/agent-prompt.d.ts.map +1 -0
  15. package/resources/agent-prompt.js +58 -0
  16. package/resources/agent-prompt.js.map +1 -0
  17. package/resources/agent-prompt.mjs +54 -0
  18. package/resources/agent-prompt.mjs.map +1 -0
  19. package/resources/call.d.mts +1 -1
  20. package/resources/call.d.mts.map +1 -1
  21. package/resources/call.d.ts +1 -1
  22. package/resources/call.d.ts.map +1 -1
  23. package/resources/config.d.mts +166 -18
  24. package/resources/config.d.mts.map +1 -1
  25. package/resources/config.d.ts +166 -18
  26. package/resources/config.d.ts.map +1 -1
  27. package/resources/customer-flow-edge-case.d.mts +72 -9
  28. package/resources/customer-flow-edge-case.d.mts.map +1 -1
  29. package/resources/customer-flow-edge-case.d.ts +72 -9
  30. package/resources/customer-flow-edge-case.d.ts.map +1 -1
  31. package/resources/customer-flow.d.mts +2005 -78
  32. package/resources/customer-flow.d.mts.map +1 -1
  33. package/resources/customer-flow.d.ts +2005 -78
  34. package/resources/customer-flow.d.ts.map +1 -1
  35. package/resources/customer-flow.js +18 -0
  36. package/resources/customer-flow.js.map +1 -1
  37. package/resources/customer-flow.mjs +18 -0
  38. package/resources/customer-flow.mjs.map +1 -1
  39. package/resources/index.d.mts +3 -2
  40. package/resources/index.d.mts.map +1 -1
  41. package/resources/index.d.ts +3 -2
  42. package/resources/index.d.ts.map +1 -1
  43. package/resources/index.js +3 -1
  44. package/resources/index.js.map +1 -1
  45. package/resources/index.mjs +1 -0
  46. package/resources/index.mjs.map +1 -1
  47. package/resources/simulation-environment.d.mts +163 -1
  48. package/resources/simulation-environment.d.mts.map +1 -1
  49. package/resources/simulation-environment.d.ts +163 -1
  50. package/resources/simulation-environment.d.ts.map +1 -1
  51. package/resources/simulation-environment.js +51 -0
  52. package/resources/simulation-environment.js.map +1 -1
  53. package/resources/simulation-environment.mjs +51 -0
  54. package/resources/simulation-environment.mjs.map +1 -1
  55. package/resources/simulation-job.d.mts +62 -2
  56. package/resources/simulation-job.d.mts.map +1 -1
  57. package/resources/simulation-job.d.ts +62 -2
  58. package/resources/simulation-job.d.ts.map +1 -1
  59. package/resources/simulation-persona.d.mts +42 -6
  60. package/resources/simulation-persona.d.mts.map +1 -1
  61. package/resources/simulation-persona.d.ts +42 -6
  62. package/resources/simulation-persona.d.ts.map +1 -1
  63. package/resources/simulation-run-plan-job.d.mts +31 -1
  64. package/resources/simulation-run-plan-job.d.mts.map +1 -1
  65. package/resources/simulation-run-plan-job.d.ts +31 -1
  66. package/resources/simulation-run-plan-job.d.ts.map +1 -1
  67. package/resources/simulation-run-plan.d.mts +154 -12
  68. package/resources/simulation-run-plan.d.mts.map +1 -1
  69. package/resources/simulation-run-plan.d.ts +154 -12
  70. package/resources/simulation-run-plan.d.ts.map +1 -1
  71. package/resources/simulation-template.d.mts +10 -0
  72. package/resources/simulation-template.d.mts.map +1 -1
  73. package/resources/simulation-template.d.ts +10 -0
  74. package/resources/simulation-template.d.ts.map +1 -1
  75. package/resources/simulation.d.mts +221 -6
  76. package/resources/simulation.d.mts.map +1 -1
  77. package/resources/simulation.d.ts +221 -6
  78. package/resources/simulation.d.ts.map +1 -1
  79. package/resources/simulation.js +10 -3
  80. package/resources/simulation.js.map +1 -1
  81. package/resources/simulation.mjs +10 -3
  82. package/resources/simulation.mjs.map +1 -1
  83. package/src/client.ts +33 -0
  84. package/src/resources/agent-prompt.ts +183 -0
  85. package/src/resources/call.ts +1 -1
  86. package/src/resources/config.ts +310 -20
  87. package/src/resources/customer-flow-edge-case.ts +180 -9
  88. package/src/resources/customer-flow.ts +3091 -63
  89. package/src/resources/index.ts +15 -0
  90. package/src/resources/simulation-environment.ts +244 -0
  91. package/src/resources/simulation-job.ts +92 -2
  92. package/src/resources/simulation-persona.ts +108 -6
  93. package/src/resources/simulation-run-plan-job.ts +39 -1
  94. package/src/resources/simulation-run-plan.ts +176 -12
  95. package/src/resources/simulation-template.ts +11 -0
  96. package/src/resources/simulation.ts +247 -6
  97. package/src/version.ts +1 -1
  98. package/version.d.mts +1 -1
  99. package/version.d.ts +1 -1
  100. package/version.js +1 -1
  101. package/version.mjs +1 -1
@@ -2,6 +2,36 @@ import { APIResource } from "../core/resource.js";
2
2
  import { APIPromise } from "../core/api-promise.js";
3
3
  import { RequestOptions } from "../internal/request-options.js";
4
4
  export declare class SimulationEnvironment extends APIResource {
5
+ /**
6
+ * Creates an environment for the project: a noise bed and the level it plays at.
7
+ * Reference it by id when setting a customer flow variant's environment. Roark's
8
+ * curated presets always play at the default level, so this is how a project gets
9
+ * the same bed louder or quieter.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const simulationEnvironment =
14
+ * await client.simulationEnvironment.create({
15
+ * backgroundNoise: 'OFFICE',
16
+ * name: 'Busy call centre',
17
+ * });
18
+ * ```
19
+ */
20
+ create(body: SimulationEnvironmentCreateParams, options?: RequestOptions): APIPromise<SimulationEnvironmentCreateResponse>;
21
+ /**
22
+ * Updates one of the project's environments. Only the fields sent are changed.
23
+ * Runs already built keep the snapshot they were built with. Roark-curated
24
+ * environments cannot be edited (403).
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const simulationEnvironment =
29
+ * await client.simulationEnvironment.update(
30
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
31
+ * );
32
+ * ```
33
+ */
34
+ update(environmentID: string, body?: SimulationEnvironmentUpdateParams | null | undefined, options?: RequestOptions): APIPromise<SimulationEnvironmentUpdateResponse>;
5
35
  /**
6
36
  * Returns a paginated list of environments: the project's own plus the
7
37
  * environments Roark curates and shares across every project. Reference one by id
@@ -14,6 +44,21 @@ export declare class SimulationEnvironment extends APIResource {
14
44
  * ```
15
45
  */
16
46
  list(query?: SimulationEnvironmentListParams | null | undefined, options?: RequestOptions): APIPromise<SimulationEnvironmentListResponse>;
47
+ /**
48
+ * Soft-deletes one of the project's environments. It disappears from reads and
49
+ * cannot be picked for new runs; runs already built keep their snapshot. Refused
50
+ * (409) while a live customer flow variant still uses it: move those variants
51
+ * first. Roark-curated environments cannot be deleted (403).
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * const simulationEnvironment =
56
+ * await client.simulationEnvironment.delete(
57
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
58
+ * );
59
+ * ```
60
+ */
61
+ delete(environmentID: string, options?: RequestOptions): APIPromise<SimulationEnvironmentDeleteResponse>;
17
62
  /**
18
63
  * Returns a single environment by its ID.
19
64
  *
@@ -26,6 +71,66 @@ export declare class SimulationEnvironment extends APIResource {
26
71
  */
27
72
  getByID(environmentID: string, options?: RequestOptions): APIPromise<SimulationEnvironmentGetByIDResponse>;
28
73
  }
74
+ export interface SimulationEnvironmentCreateResponse {
75
+ /**
76
+ * A simulation environment: the ambient conditions a customer flow variant runs
77
+ * under. The list includes both your own and the ones Roark curates for every
78
+ * project.
79
+ */
80
+ data: SimulationEnvironmentCreateResponse.Data;
81
+ }
82
+ export declare namespace SimulationEnvironmentCreateResponse {
83
+ /**
84
+ * A simulation environment: the ambient conditions a customer flow variant runs
85
+ * under. The list includes both your own and the ones Roark curates for every
86
+ * project.
87
+ */
88
+ interface Data {
89
+ id: string;
90
+ backgroundNoise: 'NONE' | 'AIRPORT' | 'CHILDREN_PLAYING' | 'CITY' | 'COFFEE_SHOP' | 'DRIVING' | 'OFFICE' | 'THUNDERSTORM';
91
+ backgroundNoiseVolume: number;
92
+ /**
93
+ * Creation timestamp in ISO 8601 format
94
+ */
95
+ createdAt: string;
96
+ name: string;
97
+ /**
98
+ * Last update timestamp in ISO 8601 format
99
+ */
100
+ updatedAt: string;
101
+ description?: string | null;
102
+ }
103
+ }
104
+ export interface SimulationEnvironmentUpdateResponse {
105
+ /**
106
+ * A simulation environment: the ambient conditions a customer flow variant runs
107
+ * under. The list includes both your own and the ones Roark curates for every
108
+ * project.
109
+ */
110
+ data: SimulationEnvironmentUpdateResponse.Data;
111
+ }
112
+ export declare namespace SimulationEnvironmentUpdateResponse {
113
+ /**
114
+ * A simulation environment: the ambient conditions a customer flow variant runs
115
+ * under. The list includes both your own and the ones Roark curates for every
116
+ * project.
117
+ */
118
+ interface Data {
119
+ id: string;
120
+ backgroundNoise: 'NONE' | 'AIRPORT' | 'CHILDREN_PLAYING' | 'CITY' | 'COFFEE_SHOP' | 'DRIVING' | 'OFFICE' | 'THUNDERSTORM';
121
+ backgroundNoiseVolume: number;
122
+ /**
123
+ * Creation timestamp in ISO 8601 format
124
+ */
125
+ createdAt: string;
126
+ name: string;
127
+ /**
128
+ * Last update timestamp in ISO 8601 format
129
+ */
130
+ updatedAt: string;
131
+ description?: string | null;
132
+ }
133
+ }
29
134
  /**
30
135
  * Paginated list of environments: the project's own plus the shared Roark-curated
31
136
  * ones
@@ -43,6 +148,7 @@ export declare namespace SimulationEnvironmentListResponse {
43
148
  interface Data {
44
149
  id: string;
45
150
  backgroundNoise: 'NONE' | 'AIRPORT' | 'CHILDREN_PLAYING' | 'CITY' | 'COFFEE_SHOP' | 'DRIVING' | 'OFFICE' | 'THUNDERSTORM';
151
+ backgroundNoiseVolume: number;
46
152
  /**
47
153
  * Creation timestamp in ISO 8601 format
48
154
  */
@@ -69,6 +175,21 @@ export declare namespace SimulationEnvironmentListResponse {
69
175
  total: number;
70
176
  }
71
177
  }
178
+ export interface SimulationEnvironmentDeleteResponse {
179
+ data: SimulationEnvironmentDeleteResponse.Data;
180
+ }
181
+ export declare namespace SimulationEnvironmentDeleteResponse {
182
+ interface Data {
183
+ /**
184
+ * Unique identifier of the deleted environment
185
+ */
186
+ id: string;
187
+ /**
188
+ * Always true when the environment was deleted
189
+ */
190
+ deleted: true;
191
+ }
192
+ }
72
193
  export interface SimulationEnvironmentGetByIDResponse {
73
194
  /**
74
195
  * A simulation environment: the ambient conditions a customer flow variant runs
@@ -86,6 +207,7 @@ export declare namespace SimulationEnvironmentGetByIDResponse {
86
207
  interface Data {
87
208
  id: string;
88
209
  backgroundNoise: 'NONE' | 'AIRPORT' | 'CHILDREN_PLAYING' | 'CITY' | 'COFFEE_SHOP' | 'DRIVING' | 'OFFICE' | 'THUNDERSTORM';
210
+ backgroundNoiseVolume: number;
89
211
  /**
90
212
  * Creation timestamp in ISO 8601 format
91
213
  */
@@ -98,11 +220,51 @@ export declare namespace SimulationEnvironmentGetByIDResponse {
98
220
  description?: string | null;
99
221
  }
100
222
  }
223
+ export interface SimulationEnvironmentCreateParams {
224
+ /**
225
+ * The noise bed played underneath the simulated caller. NONE plays nothing.
226
+ */
227
+ backgroundNoise: 'NONE' | 'AIRPORT' | 'CHILDREN_PLAYING' | 'CITY' | 'COFFEE_SHOP' | 'DRIVING' | 'OFFICE' | 'THUNDERSTORM';
228
+ /**
229
+ * Display name, shown wherever a flow variant references the environment
230
+ */
231
+ name: string;
232
+ /**
233
+ * How loud the bed plays, as a gain from 0 (silent) to 1 (as loud as the caller).
234
+ * Defaults to 0.1, which sits well under the caller. Ignored on Vapi endpoints,
235
+ * which have no level control.
236
+ */
237
+ backgroundNoiseVolume?: number;
238
+ /**
239
+ * Optional note on when to use this environment
240
+ */
241
+ description?: string | null;
242
+ }
243
+ export interface SimulationEnvironmentUpdateParams {
244
+ /**
245
+ * The noise bed played underneath the simulated caller. NONE plays nothing.
246
+ */
247
+ backgroundNoise?: 'NONE' | 'AIRPORT' | 'CHILDREN_PLAYING' | 'CITY' | 'COFFEE_SHOP' | 'DRIVING' | 'OFFICE' | 'THUNDERSTORM';
248
+ /**
249
+ * How loud the bed plays, as a gain from 0 (silent) to 1 (as loud as the caller).
250
+ * Defaults to 0.1, which sits well under the caller. Ignored on Vapi endpoints,
251
+ * which have no level control.
252
+ */
253
+ backgroundNoiseVolume?: number;
254
+ /**
255
+ * Optional note on when to use this environment
256
+ */
257
+ description?: string | null;
258
+ /**
259
+ * Display name, shown wherever a flow variant references the environment
260
+ */
261
+ name?: string;
262
+ }
101
263
  export interface SimulationEnvironmentListParams {
102
264
  after?: string;
103
265
  limit?: number;
104
266
  }
105
267
  export declare namespace SimulationEnvironment {
106
- export { type SimulationEnvironmentListResponse as SimulationEnvironmentListResponse, type SimulationEnvironmentGetByIDResponse as SimulationEnvironmentGetByIDResponse, type SimulationEnvironmentListParams as SimulationEnvironmentListParams, };
268
+ export { type SimulationEnvironmentCreateResponse as SimulationEnvironmentCreateResponse, type SimulationEnvironmentUpdateResponse as SimulationEnvironmentUpdateResponse, type SimulationEnvironmentListResponse as SimulationEnvironmentListResponse, type SimulationEnvironmentDeleteResponse as SimulationEnvironmentDeleteResponse, type SimulationEnvironmentGetByIDResponse as SimulationEnvironmentGetByIDResponse, type SimulationEnvironmentCreateParams as SimulationEnvironmentCreateParams, type SimulationEnvironmentUpdateParams as SimulationEnvironmentUpdateParams, type SimulationEnvironmentListParams as SimulationEnvironmentListParams, };
107
269
  }
108
270
  //# sourceMappingURL=simulation-environment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"simulation-environment.d.ts","sourceRoot":"","sources":["../src/resources/simulation-environment.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC9D,OAAO,CAAC,EAAE,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AEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC7B;CACF;AAED,MAAM,WAAW,+BAA+B;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EACL,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
1
+ {"version":3,"file":"simulation-environment.d.ts","sourceRoot":"","sources":["../src/resources/simulation-environment.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,IAAI,EAAE,iCAAiC,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;IAIlD;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,GAAE,iCAAiC,GAAG,IAAI,GAAG,SAAc,EAC/D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;IAIlD;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;IAIhD;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mCAAmC,CAAC;IAIxG;;;;;;;;;OASG;IACH,OAAO,CAAC,aAAa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");
6
6
  const path_1 = require("../internal/utils/path.js");
7
7
  class SimulationEnvironment extends resource_1.APIResource {
8
+ /**
9
+ * Creates an environment for the project: a noise bed and the level it plays at.
10
+ * Reference it by id when setting a customer flow variant's environment. Roark's
11
+ * curated presets always play at the default level, so this is how a project gets
12
+ * the same bed louder or quieter.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const simulationEnvironment =
17
+ * await client.simulationEnvironment.create({
18
+ * backgroundNoise: 'OFFICE',
19
+ * name: 'Busy call centre',
20
+ * });
21
+ * ```
22
+ */
23
+ create(body, options) {
24
+ return this._client.post('/v1/simulation/environment', { body, ...options });
25
+ }
26
+ /**
27
+ * Updates one of the project's environments. Only the fields sent are changed.
28
+ * Runs already built keep the snapshot they were built with. Roark-curated
29
+ * environments cannot be edited (403).
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * const simulationEnvironment =
34
+ * await client.simulationEnvironment.update(
35
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
36
+ * );
37
+ * ```
38
+ */
39
+ update(environmentID, body = {}, options) {
40
+ return this._client.put((0, path_1.path) `/v1/simulation/environment/${environmentID}`, { body, ...options });
41
+ }
8
42
  /**
9
43
  * Returns a paginated list of environments: the project's own plus the
10
44
  * environments Roark curates and shares across every project. Reference one by id
@@ -19,6 +53,23 @@ class SimulationEnvironment extends resource_1.APIResource {
19
53
  list(query = {}, options) {
20
54
  return this._client.get('/v1/simulation/environment', { query, ...options });
21
55
  }
56
+ /**
57
+ * Soft-deletes one of the project's environments. It disappears from reads and
58
+ * cannot be picked for new runs; runs already built keep their snapshot. Refused
59
+ * (409) while a live customer flow variant still uses it: move those variants
60
+ * first. Roark-curated environments cannot be deleted (403).
61
+ *
62
+ * @example
63
+ * ```ts
64
+ * const simulationEnvironment =
65
+ * await client.simulationEnvironment.delete(
66
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
67
+ * );
68
+ * ```
69
+ */
70
+ delete(environmentID, options) {
71
+ return this._client.delete((0, path_1.path) `/v1/simulation/environment/${environmentID}`, options);
72
+ }
22
73
  /**
23
74
  * Returns a single environment by its ID.
24
75
  *
@@ -1 +1 @@
1
- {"version":3,"file":"simulation-environment.js","sourceRoot":"","sources":["../src/resources/simulation-environment.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,qBAAsB,SAAQ,sBAAW;IACpD;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;OASG;IACH,OAAO,CAAC,aAAqB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;CACF;AAhCD,sDAgCC"}
1
+ {"version":3,"file":"simulation-environment.js","sourceRoot":"","sources":["../src/resources/simulation-environment.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,qBAAsB,SAAQ,sBAAW;IACpD;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,aAAqB,EACrB,OAA6D,EAAE,EAC/D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,aAAa,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,aAAqB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,8BAA8B,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;;;;OASG;IACH,OAAO,CAAC,aAAqB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;CACF;AA7FD,sDA6FC"}
@@ -2,6 +2,40 @@
2
2
  import { APIResource } from "../core/resource.mjs";
3
3
  import { path } from "../internal/utils/path.mjs";
4
4
  export class SimulationEnvironment extends APIResource {
5
+ /**
6
+ * Creates an environment for the project: a noise bed and the level it plays at.
7
+ * Reference it by id when setting a customer flow variant's environment. Roark's
8
+ * curated presets always play at the default level, so this is how a project gets
9
+ * the same bed louder or quieter.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const simulationEnvironment =
14
+ * await client.simulationEnvironment.create({
15
+ * backgroundNoise: 'OFFICE',
16
+ * name: 'Busy call centre',
17
+ * });
18
+ * ```
19
+ */
20
+ create(body, options) {
21
+ return this._client.post('/v1/simulation/environment', { body, ...options });
22
+ }
23
+ /**
24
+ * Updates one of the project's environments. Only the fields sent are changed.
25
+ * Runs already built keep the snapshot they were built with. Roark-curated
26
+ * environments cannot be edited (403).
27
+ *
28
+ * @example
29
+ * ```ts
30
+ * const simulationEnvironment =
31
+ * await client.simulationEnvironment.update(
32
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
33
+ * );
34
+ * ```
35
+ */
36
+ update(environmentID, body = {}, options) {
37
+ return this._client.put(path `/v1/simulation/environment/${environmentID}`, { body, ...options });
38
+ }
5
39
  /**
6
40
  * Returns a paginated list of environments: the project's own plus the
7
41
  * environments Roark curates and shares across every project. Reference one by id
@@ -16,6 +50,23 @@ export class SimulationEnvironment extends APIResource {
16
50
  list(query = {}, options) {
17
51
  return this._client.get('/v1/simulation/environment', { query, ...options });
18
52
  }
53
+ /**
54
+ * Soft-deletes one of the project's environments. It disappears from reads and
55
+ * cannot be picked for new runs; runs already built keep their snapshot. Refused
56
+ * (409) while a live customer flow variant still uses it: move those variants
57
+ * first. Roark-curated environments cannot be deleted (403).
58
+ *
59
+ * @example
60
+ * ```ts
61
+ * const simulationEnvironment =
62
+ * await client.simulationEnvironment.delete(
63
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
64
+ * );
65
+ * ```
66
+ */
67
+ delete(environmentID, options) {
68
+ return this._client.delete(path `/v1/simulation/environment/${environmentID}`, options);
69
+ }
19
70
  /**
20
71
  * Returns a single environment by its ID.
21
72
  *
@@ -1 +1 @@
1
- {"version":3,"file":"simulation-environment.mjs","sourceRoot":"","sources":["../src/resources/simulation-environment.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;OASG;IACH,OAAO,CAAC,aAAqB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;CACF"}
1
+ {"version":3,"file":"simulation-environment.mjs","sourceRoot":"","sources":["../src/resources/simulation-environment.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,aAAqB,EACrB,OAA6D,EAAE,EAC/D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,aAAa,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,aAAqB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,8BAA8B,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;;;;OASG;IACH,OAAO,CAAC,aAAqB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;CACF"}
@@ -51,6 +51,11 @@ export declare namespace SimulationJobGetByIDResponse {
51
51
  * back to when none arrived.
52
52
  */
53
53
  enrichment: Data.Enrichment;
54
+ /**
55
+ * Present when the run was invalidated: it keeps its transcript and recording, but
56
+ * nothing scored it and it is excluded from every run total.
57
+ */
58
+ invalidation: Data.Invalidation | null;
54
59
  persona: Data.Persona;
55
60
  /**
56
61
  * Processing status
@@ -150,6 +155,25 @@ export declare namespace SimulationJobGetByIDResponse {
150
155
  */
151
156
  waitStartedAt?: string | null;
152
157
  }
158
+ /**
159
+ * Present when the run was invalidated: it keeps its transcript and recording, but
160
+ * nothing scored it and it is excluded from every run total.
161
+ */
162
+ interface Invalidation {
163
+ /**
164
+ * When the run was invalidated.
165
+ */
166
+ invalidatedAt: string;
167
+ /**
168
+ * Why the result does not count. `SCRIPT_DIVERGED`: a strict flow went off script
169
+ * at a step whose off-script policy is HANG_UP_INVALIDATE.
170
+ */
171
+ reason: 'SCRIPT_DIVERGED';
172
+ /**
173
+ * One sentence: where the script was left and what your agent did instead.
174
+ */
175
+ detail?: string | null;
176
+ }
153
177
  interface Persona {
154
178
  /**
155
179
  * Unique identifier of the persona
@@ -172,7 +196,7 @@ export declare namespace SimulationJobGetByIDResponse {
172
196
  /**
173
197
  * Base emotional state of the persona
174
198
  */
175
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
199
+ baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED' | 'ANGRY' | 'ANXIOUS' | 'SAD';
176
200
  /**
177
201
  * How the persona confirms information
178
202
  */
@@ -258,6 +282,12 @@ export declare namespace SimulationJobGetByIDResponse {
258
282
  * Human-readable description of the persona
259
283
  */
260
284
  description?: string | null;
285
+ /**
286
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
287
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
288
+ * or set null to display the name itself.
289
+ */
290
+ displayName?: string | null;
261
291
  /**
262
292
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
263
293
  */
@@ -319,6 +349,11 @@ export declare namespace SimulationJobLookupResponse {
319
349
  * back to when none arrived.
320
350
  */
321
351
  enrichment: Data.Enrichment;
352
+ /**
353
+ * Present when the run was invalidated: it keeps its transcript and recording, but
354
+ * nothing scored it and it is excluded from every run total.
355
+ */
356
+ invalidation: Data.Invalidation | null;
322
357
  persona: Data.Persona;
323
358
  /**
324
359
  * Processing status
@@ -418,6 +453,25 @@ export declare namespace SimulationJobLookupResponse {
418
453
  */
419
454
  waitStartedAt?: string | null;
420
455
  }
456
+ /**
457
+ * Present when the run was invalidated: it keeps its transcript and recording, but
458
+ * nothing scored it and it is excluded from every run total.
459
+ */
460
+ interface Invalidation {
461
+ /**
462
+ * When the run was invalidated.
463
+ */
464
+ invalidatedAt: string;
465
+ /**
466
+ * Why the result does not count. `SCRIPT_DIVERGED`: a strict flow went off script
467
+ * at a step whose off-script policy is HANG_UP_INVALIDATE.
468
+ */
469
+ reason: 'SCRIPT_DIVERGED';
470
+ /**
471
+ * One sentence: where the script was left and what your agent did instead.
472
+ */
473
+ detail?: string | null;
474
+ }
421
475
  interface Persona {
422
476
  /**
423
477
  * Unique identifier of the persona
@@ -440,7 +494,7 @@ export declare namespace SimulationJobLookupResponse {
440
494
  /**
441
495
  * Base emotional state of the persona
442
496
  */
443
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
497
+ baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED' | 'ANGRY' | 'ANXIOUS' | 'SAD';
444
498
  /**
445
499
  * How the persona confirms information
446
500
  */
@@ -526,6 +580,12 @@ export declare namespace SimulationJobLookupResponse {
526
580
  * Human-readable description of the persona
527
581
  */
528
582
  description?: string | null;
583
+ /**
584
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
585
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
586
+ * or set null to display the name itself.
587
+ */
588
+ displayName?: string | null;
529
589
  /**
530
590
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
531
591
  */
@@ -1 +1 @@
1
- {"version":3,"file":"simulation-job.d.mts","sourceRoot":"","sources":["../src/resources/simulation-job.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;OAUG;IACH,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;IAI1F;;;;;;;;;;OAUG;IACH,MAAM,CACJ,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;CAG3C;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,IAAI,EAAE,4BAA4B,CAAC,IAAI,CAAC;CACzC;AAED,yBAAiB,4BAA4B,CAAC;IAC5C;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAElC;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAE5B,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QAEtB;;WAEG;QACH,gBAAgB,EAAE,MAAM,CAAC;QAEzB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QAEtB;;WAEG;QACH,QAAQ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ponse {
51
51
  * back to when none arrived.
52
52
  */
53
53
  enrichment: Data.Enrichment;
54
+ /**
55
+ * Present when the run was invalidated: it keeps its transcript and recording, but
56
+ * nothing scored it and it is excluded from every run total.
57
+ */
58
+ invalidation: Data.Invalidation | null;
54
59
  persona: Data.Persona;
55
60
  /**
56
61
  * Processing status
@@ -150,6 +155,25 @@ export declare namespace SimulationJobGetByIDResponse {
150
155
  */
151
156
  waitStartedAt?: string | null;
152
157
  }
158
+ /**
159
+ * Present when the run was invalidated: it keeps its transcript and recording, but
160
+ * nothing scored it and it is excluded from every run total.
161
+ */
162
+ interface Invalidation {
163
+ /**
164
+ * When the run was invalidated.
165
+ */
166
+ invalidatedAt: string;
167
+ /**
168
+ * Why the result does not count. `SCRIPT_DIVERGED`: a strict flow went off script
169
+ * at a step whose off-script policy is HANG_UP_INVALIDATE.
170
+ */
171
+ reason: 'SCRIPT_DIVERGED';
172
+ /**
173
+ * One sentence: where the script was left and what your agent did instead.
174
+ */
175
+ detail?: string | null;
176
+ }
153
177
  interface Persona {
154
178
  /**
155
179
  * Unique identifier of the persona
@@ -172,7 +196,7 @@ export declare namespace SimulationJobGetByIDResponse {
172
196
  /**
173
197
  * Base emotional state of the persona
174
198
  */
175
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
199
+ baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED' | 'ANGRY' | 'ANXIOUS' | 'SAD';
176
200
  /**
177
201
  * How the persona confirms information
178
202
  */
@@ -258,6 +282,12 @@ export declare namespace SimulationJobGetByIDResponse {
258
282
  * Human-readable description of the persona
259
283
  */
260
284
  description?: string | null;
285
+ /**
286
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
287
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
288
+ * or set null to display the name itself.
289
+ */
290
+ displayName?: string | null;
261
291
  /**
262
292
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
263
293
  */
@@ -319,6 +349,11 @@ export declare namespace SimulationJobLookupResponse {
319
349
  * back to when none arrived.
320
350
  */
321
351
  enrichment: Data.Enrichment;
352
+ /**
353
+ * Present when the run was invalidated: it keeps its transcript and recording, but
354
+ * nothing scored it and it is excluded from every run total.
355
+ */
356
+ invalidation: Data.Invalidation | null;
322
357
  persona: Data.Persona;
323
358
  /**
324
359
  * Processing status
@@ -418,6 +453,25 @@ export declare namespace SimulationJobLookupResponse {
418
453
  */
419
454
  waitStartedAt?: string | null;
420
455
  }
456
+ /**
457
+ * Present when the run was invalidated: it keeps its transcript and recording, but
458
+ * nothing scored it and it is excluded from every run total.
459
+ */
460
+ interface Invalidation {
461
+ /**
462
+ * When the run was invalidated.
463
+ */
464
+ invalidatedAt: string;
465
+ /**
466
+ * Why the result does not count. `SCRIPT_DIVERGED`: a strict flow went off script
467
+ * at a step whose off-script policy is HANG_UP_INVALIDATE.
468
+ */
469
+ reason: 'SCRIPT_DIVERGED';
470
+ /**
471
+ * One sentence: where the script was left and what your agent did instead.
472
+ */
473
+ detail?: string | null;
474
+ }
421
475
  interface Persona {
422
476
  /**
423
477
  * Unique identifier of the persona
@@ -440,7 +494,7 @@ export declare namespace SimulationJobLookupResponse {
440
494
  /**
441
495
  * Base emotional state of the persona
442
496
  */
443
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
497
+ baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED' | 'ANGRY' | 'ANXIOUS' | 'SAD';
444
498
  /**
445
499
  * How the persona confirms information
446
500
  */
@@ -526,6 +580,12 @@ export declare namespace SimulationJobLookupResponse {
526
580
  * Human-readable description of the persona
527
581
  */
528
582
  description?: string | null;
583
+ /**
584
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
585
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
586
+ * or set null to display the name itself.
587
+ */
588
+ displayName?: string | null;
529
589
  /**
530
590
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
531
591
  */