@roarkanalytics/sdk 0.7.0 → 0.9.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.9.0 (2025-02-05)
4
+
5
+ Full Changelog: [v0.8.0...v0.9.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.8.0...v0.9.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([#61](https://github.com/roarkhq/sdk-roark-analytics-node/issues/61)) ([e7d4a0a](https://github.com/roarkhq/sdk-roark-analytics-node/commit/e7d4a0a30c96757fa357610906c66f56b18114c4))
10
+
11
+ ## 0.8.0 (2025-02-05)
12
+
13
+ Full Changelog: [v0.7.0...v0.8.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.7.0...v0.8.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([#58](https://github.com/roarkhq/sdk-roark-analytics-node/issues/58)) ([93de85f](https://github.com/roarkhq/sdk-roark-analytics-node/commit/93de85f33a46a6d1f93e52e8689aa3a2438a4b8a))
18
+
3
19
  ## 0.7.0 (2025-02-05)
4
20
 
5
21
  Full Changelog: [v0.6.0...v0.7.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.6.0...v0.7.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-05T13:28:13.124Z',
33
+ startedAt: '2025-02-05T14:19:40.626Z',
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-05T13:28:13.124Z',
58
+ startedAt: '2025-02-05T14:19:40.626Z',
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-05T13:28:13.124Z',
81
+ startedAt: '2025-02-05T14:19:40.626Z',
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-05T13:28:13.124Z' }, {
126
+ await client.callAnalysis.create({ direction: 'INBOUND', sourceRecordingUrl: 'https://example.com/recording.mp3', startedAt: '2025-02-05T14:19:40.626Z' }, {
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-05T13:28:13.124Z' }, {
143
+ await client.callAnalysis.create({ direction: 'INBOUND', sourceRecordingUrl: 'https://example.com/recording.mp3', startedAt: '2025-02-05T14:19:40.626Z' }, {
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-05T13:28:13.124Z',
168
+ startedAt: '2025-02-05T14:19:40.626Z',
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-05T13:28:13.124Z',
178
+ startedAt: '2025-02-05T14:19:40.626Z',
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-05T13:28:13.124Z',
290
+ startedAt: '2025-02-05T14:19:40.626Z',
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.7.0",
3
+ "version": "0.9.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.7.0'; // x-release-please-version
1
+ export const VERSION = '0.9.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.7.0";
1
+ export declare const VERSION = "0.9.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.7.0'; // x-release-please-version
4
+ exports.VERSION = '0.9.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.7.0'; // x-release-please-version
1
+ export const VERSION = '0.9.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map