@roarkanalytics/sdk 0.314.0 → 0.316.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,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.316.0 (2025-05-30)
4
+
5
+ Full Changelog: [v0.315.0...v0.316.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.315.0...v0.316.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([3f4b342](https://github.com/roarkhq/sdk-roark-analytics-node/commit/3f4b3428f1c3533cf5485ff2428dab43802b5199))
10
+ * **api:** api update ([02a62ef](https://github.com/roarkhq/sdk-roark-analytics-node/commit/02a62ef4dd84a2cd2ba5eb1d7ab0a013ae8bacd3))
11
+ * **api:** api update ([cea527e](https://github.com/roarkhq/sdk-roark-analytics-node/commit/cea527e5765bdfeb05fdf30daf40e90b54ce27a6))
12
+
13
+ ## 0.315.0 (2025-05-29)
14
+
15
+ Full Changelog: [v0.314.0...v0.315.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.314.0...v0.315.0)
16
+
17
+ ### Features
18
+
19
+ * **api:** api update ([750917d](https://github.com/roarkhq/sdk-roark-analytics-node/commit/750917df3645b322bd69abfd1510be5664c60870))
20
+ * **api:** api update ([5b511f1](https://github.com/roarkhq/sdk-roark-analytics-node/commit/5b511f1a3d97c24e8c81a0f5a55732f5fe64c697))
21
+
3
22
  ## 0.314.0 (2025-05-29)
4
23
 
5
24
  Full Changelog: [v0.313.0...v0.314.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.313.0...v0.314.0)
package/README.md CHANGED
@@ -32,7 +32,7 @@ async function main() {
32
32
  interfaceType: 'WEB',
33
33
  participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }],
34
34
  recordingUrl: 'https://example.com/recording.wav',
35
- startedAt: '2025-05-28T19:25:57.345Z',
35
+ startedAt: '2025-05-29T19:28:45.780Z',
36
36
  });
37
37
 
38
38
  console.log(callAnalysis.data);
@@ -59,7 +59,7 @@ async function main() {
59
59
  interfaceType: 'WEB',
60
60
  participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }],
61
61
  recordingUrl: 'https://example.com/recording.wav',
62
- startedAt: '2025-05-28T19:25:57.345Z',
62
+ startedAt: '2025-05-29T19:28:45.780Z',
63
63
  };
64
64
  const callAnalysis: Roark.CallAnalysisCreateResponse = await client.callAnalysis.create(params);
65
65
  }
@@ -84,7 +84,7 @@ async function main() {
84
84
  interfaceType: 'WEB',
85
85
  participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }],
86
86
  recordingUrl: 'https://example.com/recording.wav',
87
- startedAt: '2025-05-28T19:25:57.345Z',
87
+ startedAt: '2025-05-29T19:28:45.780Z',
88
88
  })
89
89
  .catch(async (err) => {
90
90
  if (err instanceof Roark.APIError) {
@@ -129,7 +129,7 @@ const client = new Roark({
129
129
  });
130
130
 
131
131
  // Or, configure per-request:
132
- await client.callAnalysis.create({ callDirection: 'INBOUND', interfaceType: 'WEB', participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }], recordingUrl: 'https://example.com/recording.wav', startedAt: '2025-05-28T19:25:57.345Z' }, {
132
+ await client.callAnalysis.create({ callDirection: 'INBOUND', interfaceType: 'WEB', participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }], recordingUrl: 'https://example.com/recording.wav', startedAt: '2025-05-29T19:28:45.780Z' }, {
133
133
  maxRetries: 5,
134
134
  });
135
135
  ```
@@ -146,7 +146,7 @@ const client = new Roark({
146
146
  });
147
147
 
148
148
  // Override per-request:
149
- await client.callAnalysis.create({ callDirection: 'INBOUND', interfaceType: 'WEB', participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }], recordingUrl: 'https://example.com/recording.wav', startedAt: '2025-05-28T19:25:57.345Z' }, {
149
+ await client.callAnalysis.create({ callDirection: 'INBOUND', interfaceType: 'WEB', participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }], recordingUrl: 'https://example.com/recording.wav', startedAt: '2025-05-29T19:28:45.780Z' }, {
150
150
  timeout: 5 * 1000,
151
151
  });
152
152
  ```
@@ -173,7 +173,7 @@ const response = await client.callAnalysis
173
173
  interfaceType: 'WEB',
174
174
  participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }],
175
175
  recordingUrl: 'https://example.com/recording.wav',
176
- startedAt: '2025-05-28T19:25:57.345Z',
176
+ startedAt: '2025-05-29T19:28:45.780Z',
177
177
  })
178
178
  .asResponse();
179
179
  console.log(response.headers.get('X-My-Header'));
@@ -185,7 +185,7 @@ const { data: callAnalysis, response: raw } = await client.callAnalysis
185
185
  interfaceType: 'WEB',
186
186
  participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }],
187
187
  recordingUrl: 'https://example.com/recording.wav',
188
- startedAt: '2025-05-28T19:25:57.345Z',
188
+ startedAt: '2025-05-29T19:28:45.780Z',
189
189
  })
190
190
  .withResponse();
191
191
  console.log(raw.headers.get('X-My-Header'));
@@ -299,7 +299,7 @@ await client.callAnalysis.create(
299
299
  interfaceType: 'WEB',
300
300
  participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }],
301
301
  recordingUrl: 'https://example.com/recording.wav',
302
- startedAt: '2025-05-28T19:25:57.345Z',
302
+ startedAt: '2025-05-29T19:28:45.780Z',
303
303
  },
304
304
  {
305
305
  httpAgent: new http.Agent({ keepAlive: false }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roarkanalytics/sdk",
3
- "version": "0.314.0",
3
+ "version": "0.316.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",
@@ -11,7 +11,7 @@ export declare class CallAnalysis extends APIResource {
11
11
  * interfaceType: 'WEB',
12
12
  * participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }],
13
13
  * recordingUrl: 'https://example.com/recording.wav',
14
- * startedAt: '2025-05-28T19:25:57.345Z',
14
+ * startedAt: '2025-05-29T19:28:45.780Z',
15
15
  * });
16
16
  * ```
17
17
  */
@@ -14,7 +14,7 @@ class CallAnalysis extends resource_1.APIResource {
14
14
  * interfaceType: 'WEB',
15
15
  * participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }],
16
16
  * recordingUrl: 'https://example.com/recording.wav',
17
- * startedAt: '2025-05-28T19:25:57.345Z',
17
+ * startedAt: '2025-05-29T19:28:45.780Z',
18
18
  * });
19
19
  * ```
20
20
  */
@@ -11,7 +11,7 @@ export class CallAnalysis extends APIResource {
11
11
  * interfaceType: 'WEB',
12
12
  * participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }],
13
13
  * recordingUrl: 'https://example.com/recording.wav',
14
- * startedAt: '2025-05-28T19:25:57.345Z',
14
+ * startedAt: '2025-05-29T19:28:45.780Z',
15
15
  * });
16
16
  * ```
17
17
  */
@@ -14,7 +14,7 @@ export class CallAnalysis extends APIResource {
14
14
  * interfaceType: 'WEB',
15
15
  * participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }],
16
16
  * recordingUrl: 'https://example.com/recording.wav',
17
- * startedAt: '2025-05-28T19:25:57.345Z',
17
+ * startedAt: '2025-05-29T19:28:45.780Z',
18
18
  * });
19
19
  * ```
20
20
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.314.0'; // x-release-please-version
1
+ export const VERSION = '0.316.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.314.0";
1
+ export declare const VERSION = "0.316.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.314.0'; // x-release-please-version
4
+ exports.VERSION = '0.316.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.314.0'; // x-release-please-version
1
+ export const VERSION = '0.316.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map