@roarkanalytics/sdk 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.0 (2025-02-05)
4
+
5
+ Full Changelog: [v0.6.0...v0.7.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.6.0...v0.7.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([#55](https://github.com/roarkhq/sdk-roark-analytics-node/issues/55)) ([e8baa22](https://github.com/roarkhq/sdk-roark-analytics-node/commit/e8baa22ed4416437ca96e9481c2598c1300eea79))
10
+
11
+ ## 0.6.0 (2025-02-05)
12
+
13
+ Full Changelog: [v0.5.0...v0.6.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.5.0...v0.6.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([#52](https://github.com/roarkhq/sdk-roark-analytics-node/issues/52)) ([b23f201](https://github.com/roarkhq/sdk-roark-analytics-node/commit/b23f2015558036443e61f2b8fe8a397155b08ace))
18
+
3
19
  ## 0.5.0 (2025-02-05)
4
20
 
5
21
  Full Changelog: [v0.4.0...v0.5.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.4.0...v0.5.0)
package/README.md CHANGED
@@ -30,7 +30,7 @@ async function main() {
30
30
  const callAnalysis = await client.callAnalysis.create({
31
31
  direction: 'INBOUND',
32
32
  sourceRecordingUrl: 'https://example.com/recording.mp3',
33
- startedAt: '2025-02-05T12:34:17.516Z',
33
+ startedAt: '2025-02-05T13:28:13.124Z',
34
34
  });
35
35
 
36
36
  console.log(callAnalysis.data);
@@ -55,7 +55,7 @@ async function main() {
55
55
  const params: Roark.CallAnalysisCreateParams = {
56
56
  direction: 'INBOUND',
57
57
  sourceRecordingUrl: 'https://example.com/recording.mp3',
58
- startedAt: '2025-02-05T12:34:17.516Z',
58
+ startedAt: '2025-02-05T13:28:13.124Z',
59
59
  };
60
60
  const callAnalysis: Roark.CallAnalysisCreateResponse = await client.callAnalysis.create(params);
61
61
  }
@@ -78,7 +78,7 @@ async function main() {
78
78
  .create({
79
79
  direction: 'INBOUND',
80
80
  sourceRecordingUrl: 'https://example.com/recording.mp3',
81
- startedAt: '2025-02-05T12:34:17.516Z',
81
+ startedAt: '2025-02-05T13:28:13.124Z',
82
82
  })
83
83
  .catch(async (err) => {
84
84
  if (err instanceof Roark.APIError) {
@@ -123,7 +123,7 @@ const client = new Roark({
123
123
  });
124
124
 
125
125
  // Or, configure per-request:
126
- await client.callAnalysis.create({ direction: 'INBOUND', sourceRecordingUrl: 'https://example.com/recording.mp3', startedAt: '2025-02-05T12:34:17.516Z' }, {
126
+ await client.callAnalysis.create({ direction: 'INBOUND', sourceRecordingUrl: 'https://example.com/recording.mp3', startedAt: '2025-02-05T13:28:13.124Z' }, {
127
127
  maxRetries: 5,
128
128
  });
129
129
  ```
@@ -140,7 +140,7 @@ const client = new Roark({
140
140
  });
141
141
 
142
142
  // Override per-request:
143
- await client.callAnalysis.create({ direction: 'INBOUND', sourceRecordingUrl: 'https://example.com/recording.mp3', startedAt: '2025-02-05T12:34:17.516Z' }, {
143
+ await client.callAnalysis.create({ direction: 'INBOUND', sourceRecordingUrl: 'https://example.com/recording.mp3', startedAt: '2025-02-05T13:28:13.124Z' }, {
144
144
  timeout: 5 * 1000,
145
145
  });
146
146
  ```
@@ -165,7 +165,7 @@ const response = await client.callAnalysis
165
165
  .create({
166
166
  direction: 'INBOUND',
167
167
  sourceRecordingUrl: 'https://example.com/recording.mp3',
168
- startedAt: '2025-02-05T12:34:17.516Z',
168
+ startedAt: '2025-02-05T13:28:13.124Z',
169
169
  })
170
170
  .asResponse();
171
171
  console.log(response.headers.get('X-My-Header'));
@@ -175,7 +175,7 @@ const { data: callAnalysis, response: raw } = await client.callAnalysis
175
175
  .create({
176
176
  direction: 'INBOUND',
177
177
  sourceRecordingUrl: 'https://example.com/recording.mp3',
178
- startedAt: '2025-02-05T12:34:17.516Z',
178
+ startedAt: '2025-02-05T13:28:13.124Z',
179
179
  })
180
180
  .withResponse();
181
181
  console.log(raw.headers.get('X-My-Header'));
@@ -287,7 +287,7 @@ await client.callAnalysis.create(
287
287
  {
288
288
  direction: 'INBOUND',
289
289
  sourceRecordingUrl: 'https://example.com/recording.mp3',
290
- startedAt: '2025-02-05T12:34:17.516Z',
290
+ startedAt: '2025-02-05T13:28:13.124Z',
291
291
  },
292
292
  {
293
293
  httpAgent: new http.Agent({ keepAlive: false }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roarkanalytics/sdk",
3
- "version": "0.5.0",
3
+ "version": "0.7.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",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.5.0'; // x-release-please-version
1
+ export const VERSION = '0.7.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.5.0";
1
+ export declare const VERSION = "0.7.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.5.0'; // x-release-please-version
4
+ exports.VERSION = '0.7.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.5.0'; // x-release-please-version
1
+ export const VERSION = '0.7.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map