@roarkanalytics/sdk 0.317.0 → 0.319.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 +22 -0
- package/README.md +8 -8
- package/package.json +1 -1
- package/resources/call-analysis.d.ts +1 -1
- package/resources/call-analysis.js +1 -1
- package/resources/call-analysis.mjs +1 -1
- package/src/resources/call-analysis.ts +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,27 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.319.0 (2025-06-01)
|
4
|
+
|
5
|
+
Full Changelog: [v0.318.0...v0.319.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.318.0...v0.319.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([a0e00fb](https://github.com/roarkhq/sdk-roark-analytics-node/commit/a0e00fb6b10297f9e528c2fbe269b0b1c72512b9))
|
10
|
+
* **api:** api update ([4513e86](https://github.com/roarkhq/sdk-roark-analytics-node/commit/4513e8602fe135cbf293a9fb7f4569c5e396f018))
|
11
|
+
|
12
|
+
## 0.318.0 (2025-05-31)
|
13
|
+
|
14
|
+
Full Changelog: [v0.317.0...v0.318.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.317.0...v0.318.0)
|
15
|
+
|
16
|
+
### Features
|
17
|
+
|
18
|
+
* **api:** api update ([e8fe5a6](https://github.com/roarkhq/sdk-roark-analytics-node/commit/e8fe5a6aaba05cfbd053df0f98b41589c22aca48))
|
19
|
+
* **api:** api update ([e7e0f23](https://github.com/roarkhq/sdk-roark-analytics-node/commit/e7e0f23f452b6bd2c199486bb968a6ee66b8a792))
|
20
|
+
* **api:** api update ([c55652e](https://github.com/roarkhq/sdk-roark-analytics-node/commit/c55652e6ceb9c3d35e26bc814773f792fd003edf))
|
21
|
+
* **api:** api update ([8ca91b8](https://github.com/roarkhq/sdk-roark-analytics-node/commit/8ca91b8a1c754590a2178fb86a0cb74a810f91e1))
|
22
|
+
* **api:** api update ([7dfa21f](https://github.com/roarkhq/sdk-roark-analytics-node/commit/7dfa21f7810d2cd728552d3745702496351891c1))
|
23
|
+
* **api:** api update ([01f3984](https://github.com/roarkhq/sdk-roark-analytics-node/commit/01f3984102deeb1752a56daef4f22e6ca85fb821))
|
24
|
+
|
3
25
|
## 0.317.0 (2025-05-30)
|
4
26
|
|
5
27
|
Full Changelog: [v0.316.0...v0.317.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v0.316.0...v0.317.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-
|
35
|
+
startedAt: '2025-06-01T10:46:07.766Z',
|
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-
|
62
|
+
startedAt: '2025-06-01T10:46:07.766Z',
|
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-
|
87
|
+
startedAt: '2025-06-01T10:46:07.766Z',
|
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-
|
132
|
+
await client.callAnalysis.create({ callDirection: 'INBOUND', interfaceType: 'WEB', participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }], recordingUrl: 'https://example.com/recording.wav', startedAt: '2025-06-01T10:46:07.766Z' }, {
|
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-
|
149
|
+
await client.callAnalysis.create({ callDirection: 'INBOUND', interfaceType: 'WEB', participants: [{ role: 'AGENT' }, { role: 'CUSTOMER' }], recordingUrl: 'https://example.com/recording.wav', startedAt: '2025-06-01T10:46:07.766Z' }, {
|
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-
|
176
|
+
startedAt: '2025-06-01T10:46:07.766Z',
|
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-
|
188
|
+
startedAt: '2025-06-01T10:46:07.766Z',
|
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-
|
302
|
+
startedAt: '2025-06-01T10:46:07.766Z',
|
303
303
|
},
|
304
304
|
{
|
305
305
|
httpAgent: new http.Agent({ keepAlive: false }),
|
package/package.json
CHANGED
@@ -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-
|
14
|
+
* startedAt: '2025-06-01T10:46:07.766Z',
|
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-
|
17
|
+
* startedAt: '2025-06-01T10:46:07.766Z',
|
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-
|
14
|
+
* startedAt: '2025-06-01T10:46:07.766Z',
|
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-
|
17
|
+
* startedAt: '2025-06-01T10:46:07.766Z',
|
18
18
|
* });
|
19
19
|
* ```
|
20
20
|
*/
|
package/src/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const VERSION = '0.
|
1
|
+
export const VERSION = '0.319.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.319.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.319.0'; // x-release-please-version
|
2
2
|
//# sourceMappingURL=version.mjs.map
|