@roarkanalytics/sdk 0.32.0 → 0.34.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.34.0 (2025-02-07)
4
+
5
+ Full Changelog: [v0.33.0...v0.34.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.33.0...v0.34.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([#136](https://github.com/roarkhq/sdk-roark-analytics-node/issues/136)) ([1458701](https://github.com/roarkhq/sdk-roark-analytics-node/commit/14587013b63b96922384f788a187646f2cae2aa5))
10
+
11
+ ## 0.33.0 (2025-02-07)
12
+
13
+ Full Changelog: [v0.32.0...v0.33.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.32.0...v0.33.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([#133](https://github.com/roarkhq/sdk-roark-analytics-node/issues/133)) ([ba1102a](https://github.com/roarkhq/sdk-roark-analytics-node/commit/ba1102a65b56588d8bc918fee71004036921b197))
18
+
3
19
  ## 0.32.0 (2025-02-07)
4
20
 
5
21
  Full Changelog: [v0.31.0...v0.32.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.31.0...v0.32.0)
package/README.md CHANGED
@@ -28,9 +28,12 @@ const client = new Roark({
28
28
 
29
29
  async function main() {
30
30
  const callAnalysis = await client.callAnalysis.create({
31
- direction: 'INBOUND',
32
- sourceRecordingUrl: 'https://example.com/recording.mp3',
33
- startedAt: '2025-02-07T11:47:10.108Z',
31
+ participants: [
32
+ { role: 'AGENT', spokeFirst: true },
33
+ { role: 'AGENT', spokeFirst: false },
34
+ ],
35
+ recordingUrl: 'https://example.com/recording.wav',
36
+ startedAt: '2025-02-07T13:37:33.456Z',
34
37
  });
35
38
 
36
39
  console.log(callAnalysis.data);
@@ -53,9 +56,12 @@ const client = new Roark({
53
56
 
54
57
  async function main() {
55
58
  const params: Roark.CallAnalysisCreateParams = {
56
- direction: 'INBOUND',
57
- sourceRecordingUrl: 'https://example.com/recording.mp3',
58
- startedAt: '2025-02-07T11:47:10.108Z',
59
+ participants: [
60
+ { role: 'AGENT', spokeFirst: true },
61
+ { role: 'AGENT', spokeFirst: false },
62
+ ],
63
+ recordingUrl: 'https://example.com/recording.wav',
64
+ startedAt: '2025-02-07T13:37:33.456Z',
59
65
  };
60
66
  const callAnalysis: Roark.CallAnalysisCreateResponse = await client.callAnalysis.create(params);
61
67
  }
@@ -76,9 +82,12 @@ a subclass of `APIError` will be thrown:
76
82
  async function main() {
77
83
  const callAnalysis = await client.callAnalysis
78
84
  .create({
79
- direction: 'INBOUND',
80
- sourceRecordingUrl: 'https://example.com/recording.mp3',
81
- startedAt: '2025-02-07T11:47:10.108Z',
85
+ participants: [
86
+ { role: 'AGENT', spokeFirst: true },
87
+ { role: 'AGENT', spokeFirst: false },
88
+ ],
89
+ recordingUrl: 'https://example.com/recording.wav',
90
+ startedAt: '2025-02-07T13:37:33.456Z',
82
91
  })
83
92
  .catch(async (err) => {
84
93
  if (err instanceof Roark.APIError) {
@@ -123,7 +132,7 @@ const client = new Roark({
123
132
  });
124
133
 
125
134
  // Or, configure per-request:
126
- await client.callAnalysis.create({ direction: 'INBOUND', sourceRecordingUrl: 'https://example.com/recording.mp3', startedAt: '2025-02-07T11:47:10.108Z' }, {
135
+ await client.callAnalysis.create({ participants: [{ role: 'AGENT', spokeFirst: true }, { role: 'AGENT', spokeFirst: false }], recordingUrl: 'https://example.com/recording.wav', startedAt: '2025-02-07T13:37:33.456Z' }, {
127
136
  maxRetries: 5,
128
137
  });
129
138
  ```
@@ -140,7 +149,7 @@ const client = new Roark({
140
149
  });
141
150
 
142
151
  // Override per-request:
143
- await client.callAnalysis.create({ direction: 'INBOUND', sourceRecordingUrl: 'https://example.com/recording.mp3', startedAt: '2025-02-07T11:47:10.108Z' }, {
152
+ await client.callAnalysis.create({ participants: [{ role: 'AGENT', spokeFirst: true }, { role: 'AGENT', spokeFirst: false }], recordingUrl: 'https://example.com/recording.wav', startedAt: '2025-02-07T13:37:33.456Z' }, {
144
153
  timeout: 5 * 1000,
145
154
  });
146
155
  ```
@@ -163,9 +172,12 @@ const client = new Roark();
163
172
 
164
173
  const response = await client.callAnalysis
165
174
  .create({
166
- direction: 'INBOUND',
167
- sourceRecordingUrl: 'https://example.com/recording.mp3',
168
- startedAt: '2025-02-07T11:47:10.108Z',
175
+ participants: [
176
+ { role: 'AGENT', spokeFirst: true },
177
+ { role: 'AGENT', spokeFirst: false },
178
+ ],
179
+ recordingUrl: 'https://example.com/recording.wav',
180
+ startedAt: '2025-02-07T13:37:33.456Z',
169
181
  })
170
182
  .asResponse();
171
183
  console.log(response.headers.get('X-My-Header'));
@@ -173,9 +185,12 @@ console.log(response.statusText); // access the underlying Response object
173
185
 
174
186
  const { data: callAnalysis, response: raw } = await client.callAnalysis
175
187
  .create({
176
- direction: 'INBOUND',
177
- sourceRecordingUrl: 'https://example.com/recording.mp3',
178
- startedAt: '2025-02-07T11:47:10.108Z',
188
+ participants: [
189
+ { role: 'AGENT', spokeFirst: true },
190
+ { role: 'AGENT', spokeFirst: false },
191
+ ],
192
+ recordingUrl: 'https://example.com/recording.wav',
193
+ startedAt: '2025-02-07T13:37:33.456Z',
179
194
  })
180
195
  .withResponse();
181
196
  console.log(raw.headers.get('X-My-Header'));
@@ -285,9 +300,12 @@ const client = new Roark({
285
300
  // Override per-request:
286
301
  await client.callAnalysis.create(
287
302
  {
288
- direction: 'INBOUND',
289
- sourceRecordingUrl: 'https://example.com/recording.mp3',
290
- startedAt: '2025-02-07T11:47:10.108Z',
303
+ participants: [
304
+ { role: 'AGENT', spokeFirst: true },
305
+ { role: 'AGENT', spokeFirst: false },
306
+ ],
307
+ recordingUrl: 'https://example.com/recording.wav',
308
+ startedAt: '2025-02-07T13:37:33.456Z',
291
309
  },
292
310
  {
293
311
  httpAgent: new http.Agent({ keepAlive: false }),
package/index.d.mts CHANGED
@@ -4,6 +4,7 @@ import * as Errors from "./error.js";
4
4
  import * as Uploads from "./uploads.js";
5
5
  import * as API from "./resources/index.js";
6
6
  import { CallAnalysis, CallAnalysisCreateParams, CallAnalysisCreateResponse } from "./resources/call-analysis.js";
7
+ import { Health, HealthGetResponse } from "./resources/health.js";
7
8
  export interface ClientOptions {
8
9
  /**
9
10
  * JWT token for authentication
@@ -78,6 +79,7 @@ export declare class Roark extends Core.APIClient {
78
79
  * @param {Core.DefaultQuery} opts.defaultQuery - Default query parameters to include with every request to the API.
79
80
  */
80
81
  constructor({ baseURL, bearerToken, ...opts }?: ClientOptions);
82
+ health: API.Health;
81
83
  callAnalysis: API.CallAnalysis;
82
84
  protected defaultQuery(): Core.DefaultQuery | undefined;
83
85
  protected defaultHeaders(opts: Core.FinalRequestOptions): Core.Headers;
@@ -102,6 +104,7 @@ export declare class Roark extends Core.APIClient {
102
104
  }
103
105
  export declare namespace Roark {
104
106
  export type RequestOptions = Core.RequestOptions;
107
+ export { Health as Health, type HealthGetResponse as HealthGetResponse };
105
108
  export { CallAnalysis as CallAnalysis, type CallAnalysisCreateResponse as CallAnalysisCreateResponse, type CallAnalysisCreateParams as CallAnalysisCreateParams, };
106
109
  }
107
110
  export { toFile, fileFromPath } from "./uploads.js";
package/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import * as Errors from "./error.js";
4
4
  import * as Uploads from "./uploads.js";
5
5
  import * as API from "./resources/index.js";
6
6
  import { CallAnalysis, CallAnalysisCreateParams, CallAnalysisCreateResponse } from "./resources/call-analysis.js";
7
+ import { Health, HealthGetResponse } from "./resources/health.js";
7
8
  export interface ClientOptions {
8
9
  /**
9
10
  * JWT token for authentication
@@ -78,6 +79,7 @@ export declare class Roark extends Core.APIClient {
78
79
  * @param {Core.DefaultQuery} opts.defaultQuery - Default query parameters to include with every request to the API.
79
80
  */
80
81
  constructor({ baseURL, bearerToken, ...opts }?: ClientOptions);
82
+ health: API.Health;
81
83
  callAnalysis: API.CallAnalysis;
82
84
  protected defaultQuery(): Core.DefaultQuery | undefined;
83
85
  protected defaultHeaders(opts: Core.FinalRequestOptions): Core.Headers;
@@ -102,6 +104,7 @@ export declare class Roark extends Core.APIClient {
102
104
  }
103
105
  export declare namespace Roark {
104
106
  export type RequestOptions = Core.RequestOptions;
107
+ export { Health as Health, type HealthGetResponse as HealthGetResponse };
105
108
  export { CallAnalysis as CallAnalysis, type CallAnalysisCreateResponse as CallAnalysisCreateResponse, type CallAnalysisCreateParams as CallAnalysisCreateParams, };
106
109
  }
107
110
  export { toFile, fileFromPath } from "./uploads.js";
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AAEnC,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEjC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAEpC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE7B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;IAE9B;;;;;OAKG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;IAE/B;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEhC;;;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AC,qBAAqB,sCAAgC;IAC5D,MAAM,CAAC,wBAAwB,yCAAmC;IAElE,MAAM,CAAC,MAAM,wBAAkB;IAC/B,MAAM,CAAC,YAAY,8BAAwB;CAC5C;AAID,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;IAEjD,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;IAEzE,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH;AAED,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EACL,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,SAAS,CAAC;AAEjB,eAAe,KAAK,CAAC"}
package/index.js CHANGED
@@ -31,6 +31,7 @@ const Errors = __importStar(require("./error.js"));
31
31
  const Uploads = __importStar(require("./uploads.js"));
32
32
  const API = __importStar(require("./resources/index.js"));
33
33
  const call_analysis_1 = require("./resources/call-analysis.js");
34
+ const health_1 = require("./resources/health.js");
34
35
  /**
35
36
  * API Client for interfacing with the Roark API.
36
37
  */
@@ -63,6 +64,7 @@ class Roark extends Core.APIClient {
63
64
  maxRetries: options.maxRetries,
64
65
  fetch: options.fetch,
65
66
  });
67
+ this.health = new API.Health(this);
66
68
  this.callAnalysis = new API.CallAnalysis(this);
67
69
  this._options = options;
68
70
  this.bearerToken = bearerToken;
@@ -99,6 +101,7 @@ Roark.PermissionDeniedError = Errors.PermissionDeniedError;
99
101
  Roark.UnprocessableEntityError = Errors.UnprocessableEntityError;
100
102
  Roark.toFile = Uploads.toFile;
101
103
  Roark.fileFromPath = Uploads.fileFromPath;
104
+ Roark.Health = health_1.Health;
102
105
  Roark.CallAnalysis = call_analysis_1.CallAnalysis;
103
106
  var uploads_1 = require("./uploads.js");
104
107
  Object.defineProperty(exports, "toFile", { enumerable: true, get: function () { return uploads_1.toFile; } });
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,gDAA+B;AAC/B,mDAAkC;AAClC,sDAAqC;AACrC,0DAAyC;AACzC,gEAImC;AAiEnC;;GAEG;AACH,MAAa,KAAM,SAAQ,IAAI,CAAC,SAAS;IAKvC;;;;;;;;;;;OAWG;IACH,YAAY,EACV,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,EACxC,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC,EACpD,GAAG,IAAI,KACU,EAAE;QACnB,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,MAAM,CAAC,UAAU,CACzB,yMAAyM,CAC1M,CAAC;SACH;QAED,MAAM,OAAO,GAAkB;YAC7B,WAAW;YACX,GAAG,IAAI;YACP,OAAO,EAAE,OAAO,IAAI,sBAAsB;SAC3C,CAAC;QAEF,KAAK,CAAC;YACJ,OAAO,EAAE,OAAO,CAAC,OAAQ;YACzB,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,KAAK,CAAC,cAAc;YAChD,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,UAAU,EAAE,OAAO,CAAC,UAAU;YAC9B,KAAK,EAAE,OAAO,CAAC,KAAK;SACrB,CAAC,CAAC;QAOL,iBAAY,GAAqB,IAAI,GAAG,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;QAL1D,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QAExB,IAAI,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,mBAAmB,CAAC;AACjD,2BAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACrD,8BAAwB,GAAG,MAAM,CAAC,wBAAwB,CAAC;AAE3D,YAAM,GAAG,OAAO,CAAC,MAAM,CAAC;AACxB,kBAAY,GAAG,OAAO,CAAC,YAAY,CAAC;AAG7C,KAAK,CAAC,MAAM,GAAG,eAAM,CAAC;AACtB,KAAK,CAAC,YAAY,GAAG,4BAAY,CAAC;AAalC,wCAAiD;AAAxC,iGAAA,MAAM,OAAA;AAAE,uGAAA,YAAY,OAAA;AAC7B,oCAciB;AAbf,mGAAA,UAAU,OAAA;AACV,iGAAA,QAAQ,OAAA;AACR,2GAAA,kBAAkB,OAAA;AAClB,kHAAA,yBAAyB,OAAA;AACzB,0GAAA,iBAAiB,OAAA;AACjB,sGAAA,aAAa,OAAA;AACb,sGAAA,aAAa,OAAA;AACb,uGAAA,cAAc,OAAA;AACd,wGAAA,eAAe,OAAA;AACf,4GAAA,mBAAmB,OAAA;AACnB,4GAAA,mBAAmB,OAAA;AACnB,8GAAA,qBAAqB,OAAA;AACrB,iHAAA,wBAAwB,OAAA;AAG1B,kBAAe,KAAK,CAAC"}
package/index.mjs CHANGED
@@ -5,6 +5,7 @@ import * as Errors from "./error.mjs";
5
5
  import * as Uploads from "./uploads.mjs";
6
6
  import * as API from "./resources/index.mjs";
7
7
  import { CallAnalysis, } from "./resources/call-analysis.mjs";
8
+ import { Health } from "./resources/health.mjs";
8
9
  /**
9
10
  * API Client for interfacing with the Roark API.
10
11
  */
@@ -37,6 +38,7 @@ export class Roark extends Core.APIClient {
37
38
  maxRetries: options.maxRetries,
38
39
  fetch: options.fetch,
39
40
  });
41
+ this.health = new API.Health(this);
40
42
  this.callAnalysis = new API.CallAnalysis(this);
41
43
  this._options = options;
42
44
  this.bearerToken = bearerToken;
@@ -72,6 +74,7 @@ Roark.PermissionDeniedError = Errors.PermissionDeniedError;
72
74
  Roark.UnprocessableEntityError = Errors.UnprocessableEntityError;
73
75
  Roark.toFile = Uploads.toFile;
74
76
  Roark.fileFromPath = Uploads.fileFromPath;
77
+ Roark.Health = Health;
75
78
  Roark.CallAnalysis = CallAnalysis;
76
79
  export { toFile, fileFromPath } from "./uploads.mjs";
77
80
  export { RoarkError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./error.mjs";
package/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,KAAK,IAAI;OACT,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EACL,YAAY,GAGb;AAiED;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,IAAI,CAAC,SAAS;IAKvC;;;;;;;;;;;OAWG;IACH,YAAY,EACV,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,EACxC,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC,EACpD,GAAG,IAAI,KACU,EAAE;QACnB,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,MAAM,CAAC,UAAU,CACzB,yMAAyM,CAC1M,CAAC;SACH;QAED,MAAM,OAAO,GAAkB;YAC7B,WAAW;YACX,GAAG,IAAI;YACP,OAAO,EAAE,OAAO,IAAI,sBAAsB;SAC3C,CAAC;QAEF,KAAK,CAAC;YACJ,OAAO,EAAE,OAAO,CAAC,OAAQ;YACzB,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,KAAK,CAAC,cAAc;YAChD,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,UAAU,EAAE,OAAO,CAAC,UAAU;YAC9B,KAAK,EAAE,OAAO,CAAC,KAAK;SACrB,CAAC,CAAC;QAOL,iBAAY,GAAqB,IAAI,GAAG,CAAC,YAAY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,kBAAY,GAAG,OAAO,CAAC,YAAY,CAAC;AAG7C,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;AACtB,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC;OAa3B,EAAE,MAAM,EAAE,YAAY,EAAE;OACxB,EACL,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB;AAED,eAAe,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roarkanalytics/sdk",
3
- "version": "0.32.0",
3
+ "version": "0.34.0",
4
4
  "description": "The official TypeScript library for the Roark API",
5
5
  "author": "Roark <james@roark.ai>",
6
6
  "types": "./index.d.ts",
@@ -7,83 +7,70 @@ export declare class CallAnalysis extends APIResource {
7
7
  create(body: CallAnalysisCreateParams, options?: Core.RequestOptions): Core.APIPromise<CallAnalysisCreateResponse>;
8
8
  }
9
9
  export interface CallAnalysisCreateResponse {
10
+ /**
11
+ * Analysis job with associated call context
12
+ */
10
13
  data: CallAnalysisCreateResponse.Data;
11
14
  }
12
15
  export declare namespace CallAnalysisCreateResponse {
16
+ /**
17
+ * Analysis job with associated call context
18
+ */
13
19
  interface Data {
14
- id: string;
15
- direction: 'INBOUND' | 'OUTBOUND';
16
- interfaceType: 'PHONE' | 'WEB';
17
- isTest: boolean;
18
- startedAt: string;
19
- status: 'RINGING' | 'IN_PROGRESS' | 'ENDED' | null;
20
- /**
21
- * Participant contact information
22
- */
23
- agent?: Data.Agent;
20
+ call: Data.Call;
24
21
  /**
25
- * Participant contact information
22
+ * Analysis job ID for tracking progress
26
23
  */
27
- customer?: Data.Customer;
28
- endedAt?: string | null;
29
- endedReason?: string | null;
30
- summary?: string | null;
24
+ jobId: string;
25
+ status: 'PENDING' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED';
31
26
  }
32
27
  namespace Data {
33
- /**
34
- * Participant contact information
35
- */
36
- interface Agent {
37
- name?: string;
38
- phoneNumber?: string;
28
+ interface Call {
29
+ id: string;
30
+ callDirection: 'INBOUND' | 'OUTBOUND';
31
+ isTest: boolean;
32
+ participants: Array<Call.Participant>;
33
+ startedAt: string;
34
+ status: 'RINGING' | 'IN_PROGRESS' | 'ENDED' | null;
35
+ durationMs?: number | null;
36
+ endedAt?: string | null;
37
+ endedReason?: string | null;
38
+ summary?: string | null;
39
39
  }
40
- /**
41
- * Participant contact information
42
- */
43
- interface Customer {
44
- name?: string;
45
- phoneNumber?: string;
40
+ namespace Call {
41
+ interface Participant {
42
+ role: 'AGENT' | 'CUSTOMER' | 'SIMULATED_AGENT' | 'SIMULATED_CUSTOMER';
43
+ spokeFirst: boolean;
44
+ name?: string;
45
+ phoneNumber?: string;
46
+ }
46
47
  }
47
48
  }
48
49
  }
49
50
  export interface CallAnalysisCreateParams {
50
51
  /**
51
- * The original direction of the call
52
+ * Exactly two participants in the call
52
53
  */
53
- direction: 'INBOUND' | 'OUTBOUND';
54
+ participants: Array<CallAnalysisCreateParams.Participant>;
54
55
  /**
55
- * URL of source recording
56
+ * URL of source recording (must be an accessible WAV file). Can be a signed URL.
56
57
  */
57
- sourceRecordingUrl: string;
58
+ recordingUrl: string;
58
59
  startedAt: string;
59
- /**
60
- * Agent information
61
- */
62
- agent?: CallAnalysisCreateParams.Agent;
63
- agentSpokeFirst?: boolean;
64
- /**
65
- * Customer information
66
- */
67
- customer?: CallAnalysisCreateParams.Customer;
60
+ callDirection?: 'INBOUND' | 'OUTBOUND';
61
+ endedReason?: string;
62
+ interfaceType?: 'PHONE' | 'WEB';
68
63
  isTest?: boolean;
69
64
  /**
70
- * URL of source stereo recording. While optional it allows for a richer audio
71
- * player
65
+ * URL of source stereo recording in WAV format. Must be accessible. Can be a
66
+ * signed URL. While optional it allows for a richer audio player
72
67
  */
73
68
  stereoRecordingUrl?: string;
74
69
  }
75
70
  export declare namespace CallAnalysisCreateParams {
76
- /**
77
- * Agent information
78
- */
79
- interface Agent {
80
- name?: string;
81
- phoneNumber?: string;
82
- }
83
- /**
84
- * Customer information
85
- */
86
- interface Customer {
71
+ interface Participant {
72
+ role: 'AGENT' | 'CUSTOMER' | 'SIMULATED_AGENT' | 'SIMULATED_CUSTOMER';
73
+ spokeFirst: boolean;
87
74
  name?: string;
88
75
  phoneNumber?: string;
89
76
  }
@@ -1 +1 @@
1
- {"version":3,"file":"call-analysis.d.ts","sourceRoot":"","sources":["../src/resources/call-analysis.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAG/C;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,0BAA0B,CAAC,IAAI,CAAC;CACvC;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,SAAS,GAAG,UAAU,CAAC;QAElC,aAAa,EAAE,OAAO,GAAG,KAAK,CAAC;QAE/B,MAAM,EAAE,OAAO,CAAC;QAEhB,SAAS,EAAE,MAAM,CAAC;QAElB,MAAM,EAAE,SAAS,GAAG,aAAa,GAAG,OAAO,GAAG,IAAI,CAAC;QAEnD;;WAEG;QACH,KAAK,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC;QAEnB;;WAEG;QACH,QAAQ,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC;QAEzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAExB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CA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AE,MAAM,CAAC;gBAEd,WAAW,CAAC,EAAE,MAAM,CAAC;aACtB;SACF;KACF;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,wBAAwB,CAAC,WAAW,CAAC,CAAC;IAE1D;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,EAAE,MAAM,CAAC;IAElB,aAAa,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAEvC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,aAAa,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAEhC,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,yBAAiB,wBAAwB,CAAC;IACxC,UAAiB,WAAW;QAC1B,IAAI,EAAE,OAAO,GAAG,UAAU,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;QAEtE,UAAU,EAAE,OAAO,CAAC;QAEpB,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
@@ -0,0 +1,28 @@
1
+ import { APIResource } from "../resource.js";
2
+ import * as Core from "../core.js";
3
+ export declare class Health extends APIResource {
4
+ /**
5
+ * Returns the health status of the API and its dependencies
6
+ */
7
+ get(options?: Core.RequestOptions): Core.APIPromise<HealthGetResponse>;
8
+ }
9
+ export interface HealthGetResponse {
10
+ /**
11
+ * Health check response payload
12
+ */
13
+ data: HealthGetResponse.Data;
14
+ }
15
+ export declare namespace HealthGetResponse {
16
+ /**
17
+ * Health check response payload
18
+ */
19
+ interface Data {
20
+ status: 'healthy' | 'degraded' | 'unhealthy';
21
+ timestamp: string;
22
+ version: string;
23
+ }
24
+ }
25
+ export declare namespace Health {
26
+ export { type HealthGetResponse as HealthGetResponse };
27
+ }
28
+ //# sourceMappingURL=health.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;CAGvE;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,IAAI,EAAE,iBAAiB,CAAC,IAAI,CAAC;CAC9B;AAED,yBAAiB,iBAAiB,CAAC;IACjC;;OAEG;IACH,UAAiB,IAAI;QACnB,MAAM,EAAE,SAAS,GAAG,UAAU,GAAG,WAAW,CAAC;QAE7C,SAAS,EAAE,MAAM,CAAC;QAElB,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Health = void 0;
5
+ const resource_1 = require("../resource.js");
6
+ class Health extends resource_1.APIResource {
7
+ /**
8
+ * Returns the health status of the API and its dependencies
9
+ */
10
+ get(options) {
11
+ return this._client.get('/health', options);
12
+ }
13
+ }
14
+ exports.Health = Health;
15
+ //# sourceMappingURL=health.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health.js","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,GAAG,CAAC,OAA6B;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;CACF;AAPD,wBAOC"}
@@ -0,0 +1,11 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../resource.mjs";
3
+ export class Health extends APIResource {
4
+ /**
5
+ * Returns the health status of the API and its dependencies
6
+ */
7
+ get(options) {
8
+ return this._client.get('/health', options);
9
+ }
10
+ }
11
+ //# sourceMappingURL=health.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health.mjs","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,GAAG,CAAC,OAA6B;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;CACF"}
@@ -1,2 +1,3 @@
1
1
  export { CallAnalysis, type CallAnalysisCreateResponse, type CallAnalysisCreateParams, } from "./call-analysis.js";
2
+ export { Health, type HealthGetResponse } from "./health.js";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,MAAM,UAAU,CAAC"}
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.CallAnalysis = void 0;
4
+ exports.Health = exports.CallAnalysis = void 0;
5
5
  var call_analysis_1 = require("./call-analysis.js");
6
6
  Object.defineProperty(exports, "CallAnalysis", { enumerable: true, get: function () { return call_analysis_1.CallAnalysis; } });
7
+ var health_1 = require("./health.js");
8
+ Object.defineProperty(exports, "Health", { enumerable: true, get: function () { return health_1.Health; } });
7
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAIyB;AAHvB,6GAAA,YAAY,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAIyB;AAHvB,6GAAA,YAAY,OAAA;AAId,sCAA0D;AAAjD,gGAAA,MAAM,OAAA"}
@@ -1,3 +1,4 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { CallAnalysis, } from "./call-analysis.mjs";
3
+ export { Health } from "./health.mjs";
3
4
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GAGb"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GAGb;OACM,EAAE,MAAM,EAA0B"}
package/src/index.ts CHANGED
@@ -10,6 +10,7 @@ import {
10
10
  CallAnalysisCreateParams,
11
11
  CallAnalysisCreateResponse,
12
12
  } from './resources/call-analysis';
13
+ import { Health, HealthGetResponse } from './resources/health';
13
14
 
14
15
  export interface ClientOptions {
15
16
  /**
@@ -124,6 +125,7 @@ export class Roark extends Core.APIClient {
124
125
  this.bearerToken = bearerToken;
125
126
  }
126
127
 
128
+ health: API.Health = new API.Health(this);
127
129
  callAnalysis: API.CallAnalysis = new API.CallAnalysis(this);
128
130
 
129
131
  protected override defaultQuery(): Core.DefaultQuery | undefined {
@@ -162,10 +164,13 @@ export class Roark extends Core.APIClient {
162
164
  static fileFromPath = Uploads.fileFromPath;
163
165
  }
164
166
 
167
+ Roark.Health = Health;
165
168
  Roark.CallAnalysis = CallAnalysis;
166
169
  export declare namespace Roark {
167
170
  export type RequestOptions = Core.RequestOptions;
168
171
 
172
+ export { Health as Health, type HealthGetResponse as HealthGetResponse };
173
+
169
174
  export {
170
175
  CallAnalysis as CallAnalysis,
171
176
  type CallAnalysisCreateResponse as CallAnalysisCreateResponse,
@@ -16,109 +16,98 @@ export class CallAnalysis extends APIResource {
16
16
  }
17
17
 
18
18
  export interface CallAnalysisCreateResponse {
19
+ /**
20
+ * Analysis job with associated call context
21
+ */
19
22
  data: CallAnalysisCreateResponse.Data;
20
23
  }
21
24
 
22
25
  export namespace CallAnalysisCreateResponse {
26
+ /**
27
+ * Analysis job with associated call context
28
+ */
23
29
  export interface Data {
24
- id: string;
30
+ call: Data.Call;
25
31
 
26
- direction: 'INBOUND' | 'OUTBOUND';
32
+ /**
33
+ * Analysis job ID for tracking progress
34
+ */
35
+ jobId: string;
27
36
 
28
- interfaceType: 'PHONE' | 'WEB';
37
+ status: 'PENDING' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED';
38
+ }
29
39
 
30
- isTest: boolean;
40
+ export namespace Data {
41
+ export interface Call {
42
+ id: string;
31
43
 
32
- startedAt: string;
44
+ callDirection: 'INBOUND' | 'OUTBOUND';
33
45
 
34
- status: 'RINGING' | 'IN_PROGRESS' | 'ENDED' | null;
46
+ isTest: boolean;
35
47
 
36
- /**
37
- * Participant contact information
38
- */
39
- agent?: Data.Agent;
48
+ participants: Array<Call.Participant>;
40
49
 
41
- /**
42
- * Participant contact information
43
- */
44
- customer?: Data.Customer;
50
+ startedAt: string;
45
51
 
46
- endedAt?: string | null;
52
+ status: 'RINGING' | 'IN_PROGRESS' | 'ENDED' | null;
47
53
 
48
- endedReason?: string | null;
54
+ durationMs?: number | null;
49
55
 
50
- summary?: string | null;
51
- }
56
+ endedAt?: string | null;
52
57
 
53
- export namespace Data {
54
- /**
55
- * Participant contact information
56
- */
57
- export interface Agent {
58
- name?: string;
58
+ endedReason?: string | null;
59
59
 
60
- phoneNumber?: string;
60
+ summary?: string | null;
61
61
  }
62
62
 
63
- /**
64
- * Participant contact information
65
- */
66
- export interface Customer {
67
- name?: string;
63
+ export namespace Call {
64
+ export interface Participant {
65
+ role: 'AGENT' | 'CUSTOMER' | 'SIMULATED_AGENT' | 'SIMULATED_CUSTOMER';
66
+
67
+ spokeFirst: boolean;
68
+
69
+ name?: string;
68
70
 
69
- phoneNumber?: string;
71
+ phoneNumber?: string;
72
+ }
70
73
  }
71
74
  }
72
75
  }
73
76
 
74
77
  export interface CallAnalysisCreateParams {
75
78
  /**
76
- * The original direction of the call
79
+ * Exactly two participants in the call
77
80
  */
78
- direction: 'INBOUND' | 'OUTBOUND';
81
+ participants: Array<CallAnalysisCreateParams.Participant>;
79
82
 
80
83
  /**
81
- * URL of source recording
84
+ * URL of source recording (must be an accessible WAV file). Can be a signed URL.
82
85
  */
83
- sourceRecordingUrl: string;
86
+ recordingUrl: string;
84
87
 
85
88
  startedAt: string;
86
89
 
87
- /**
88
- * Agent information
89
- */
90
- agent?: CallAnalysisCreateParams.Agent;
90
+ callDirection?: 'INBOUND' | 'OUTBOUND';
91
91
 
92
- agentSpokeFirst?: boolean;
92
+ endedReason?: string;
93
93
 
94
- /**
95
- * Customer information
96
- */
97
- customer?: CallAnalysisCreateParams.Customer;
94
+ interfaceType?: 'PHONE' | 'WEB';
98
95
 
99
96
  isTest?: boolean;
100
97
 
101
98
  /**
102
- * URL of source stereo recording. While optional it allows for a richer audio
103
- * player
99
+ * URL of source stereo recording in WAV format. Must be accessible. Can be a
100
+ * signed URL. While optional it allows for a richer audio player
104
101
  */
105
102
  stereoRecordingUrl?: string;
106
103
  }
107
104
 
108
105
  export namespace CallAnalysisCreateParams {
109
- /**
110
- * Agent information
111
- */
112
- export interface Agent {
113
- name?: string;
106
+ export interface Participant {
107
+ role: 'AGENT' | 'CUSTOMER' | 'SIMULATED_AGENT' | 'SIMULATED_CUSTOMER';
114
108
 
115
- phoneNumber?: string;
116
- }
109
+ spokeFirst: boolean;
117
110
 
118
- /**
119
- * Customer information
120
- */
121
- export interface Customer {
122
111
  name?: string;
123
112
 
124
113
  phoneNumber?: string;
@@ -0,0 +1,37 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../resource';
4
+ import * as Core from '../core';
5
+
6
+ export class Health extends APIResource {
7
+ /**
8
+ * Returns the health status of the API and its dependencies
9
+ */
10
+ get(options?: Core.RequestOptions): Core.APIPromise<HealthGetResponse> {
11
+ return this._client.get('/health', options);
12
+ }
13
+ }
14
+
15
+ export interface HealthGetResponse {
16
+ /**
17
+ * Health check response payload
18
+ */
19
+ data: HealthGetResponse.Data;
20
+ }
21
+
22
+ export namespace HealthGetResponse {
23
+ /**
24
+ * Health check response payload
25
+ */
26
+ export interface Data {
27
+ status: 'healthy' | 'degraded' | 'unhealthy';
28
+
29
+ timestamp: string;
30
+
31
+ version: string;
32
+ }
33
+ }
34
+
35
+ export declare namespace Health {
36
+ export { type HealthGetResponse as HealthGetResponse };
37
+ }
@@ -5,3 +5,4 @@ export {
5
5
  type CallAnalysisCreateResponse,
6
6
  type CallAnalysisCreateParams,
7
7
  } from './call-analysis';
8
+ export { Health, type HealthGetResponse } from './health';
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.32.0'; // x-release-please-version
1
+ export const VERSION = '0.34.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.32.0";
1
+ export declare const VERSION = "0.34.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 = '0.32.0'; // x-release-please-version
4
+ exports.VERSION = '0.34.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.32.0'; // x-release-please-version
1
+ export const VERSION = '0.34.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map