@roarkanalytics/sdk 0.8.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 +8 -0
- package/README.md +8 -8
- package/package.json +1 -1
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
3
11
|
## 0.8.0 (2025-02-05)
|
4
12
|
|
5
13
|
Full Changelog: [v0.7.0...v0.8.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.7.0...v0.8.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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
290
|
+
startedAt: '2025-02-05T14:19:40.626Z',
|
291
291
|
},
|
292
292
|
{
|
293
293
|
httpAgent: new http.Agent({ keepAlive: false }),
|
package/package.json
CHANGED
package/src/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const VERSION = '0.
|
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.
|
1
|
+
export declare const VERSION = "0.9.0";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export const VERSION = '0.
|
1
|
+
export const VERSION = '0.9.0'; // x-release-please-version
|
2
2
|
//# sourceMappingURL=version.mjs.map
|