hume 0.5.14 → 0.5.15
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/api/resources/customModels/resources/datasets/client/Client.js +9 -9
- package/api/resources/customModels/resources/files/client/Client.js +7 -7
- package/api/resources/customModels/resources/jobs/client/Client.js +2 -2
- package/api/resources/customModels/resources/models/client/Client.js +6 -6
- package/api/resources/empathicVoice/client/StreamSocket.d.ts +2 -3
- package/api/resources/empathicVoice/client/StreamSocket.js +3 -9
- package/api/resources/empathicVoice/resources/chats/client/Client.js +2 -2
- package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/customModels/resources/datasets/client/Client.js +9 -9
- package/dist/api/resources/customModels/resources/files/client/Client.js +7 -7
- package/dist/api/resources/customModels/resources/jobs/client/Client.js +2 -2
- package/dist/api/resources/customModels/resources/models/client/Client.js +6 -6
- package/dist/api/resources/empathicVoice/client/StreamSocket.d.ts +2 -3
- package/dist/api/resources/empathicVoice/client/StreamSocket.js +3 -9
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +2 -2
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/package.json +1 -1
|
@@ -99,7 +99,7 @@ class Batch {
|
|
|
99
99
|
method: "GET",
|
|
100
100
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
101
101
|
? yield core.Supplier.get(this._options.accountToken)
|
|
102
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
102
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
103
103
|
contentType: "application/json",
|
|
104
104
|
queryParameters: _queryParams,
|
|
105
105
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -155,7 +155,7 @@ class Batch {
|
|
|
155
155
|
method: "POST",
|
|
156
156
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
157
157
|
? yield core.Supplier.get(this._options.accountToken)
|
|
158
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
158
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
159
159
|
contentType: "application/json",
|
|
160
160
|
body: yield serializers.expressionMeasurement.InferenceBaseRequest.jsonOrThrow(request, {
|
|
161
161
|
unrecognizedObjectKeys: "strip",
|
|
@@ -210,7 +210,7 @@ class Batch {
|
|
|
210
210
|
method: "GET",
|
|
211
211
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
212
212
|
? yield core.Supplier.get(this._options.accountToken)
|
|
213
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
213
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
214
214
|
contentType: "application/json",
|
|
215
215
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
216
216
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -262,7 +262,7 @@ class Batch {
|
|
|
262
262
|
method: "GET",
|
|
263
263
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
264
264
|
? yield core.Supplier.get(this._options.accountToken)
|
|
265
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
265
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
266
266
|
contentType: "application/json",
|
|
267
267
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
268
268
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -308,7 +308,7 @@ class Batch {
|
|
|
308
308
|
method: "GET",
|
|
309
309
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
310
310
|
? yield core.Supplier.get(this._options.accountToken)
|
|
311
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
311
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
312
312
|
contentType: "application/json",
|
|
313
313
|
responseType: "streaming",
|
|
314
314
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -363,7 +363,7 @@ class Batch {
|
|
|
363
363
|
method: "POST",
|
|
364
364
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
365
365
|
? yield core.Supplier.get(this._options.accountToken)
|
|
366
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
366
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
367
367
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
368
368
|
body: _request,
|
|
369
369
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -80,7 +80,7 @@ class Datasets {
|
|
|
80
80
|
method: "GET",
|
|
81
81
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
82
82
|
? yield core.Supplier.get(this._options.accountToken)
|
|
83
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
83
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
84
84
|
contentType: "application/json",
|
|
85
85
|
queryParameters: _queryParams,
|
|
86
86
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -143,7 +143,7 @@ class Datasets {
|
|
|
143
143
|
method: "POST",
|
|
144
144
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
145
145
|
? yield core.Supplier.get(this._options.accountToken)
|
|
146
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
146
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
147
147
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
148
148
|
body: _request,
|
|
149
149
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -196,7 +196,7 @@ class Datasets {
|
|
|
196
196
|
method: "GET",
|
|
197
197
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
198
198
|
? yield core.Supplier.get(this._options.accountToken)
|
|
199
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
199
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
200
200
|
contentType: "application/json",
|
|
201
201
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
202
202
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -255,7 +255,7 @@ class Datasets {
|
|
|
255
255
|
method: "POST",
|
|
256
256
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
257
257
|
? yield core.Supplier.get(this._options.accountToken)
|
|
258
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
258
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
259
259
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
260
260
|
body: _request,
|
|
261
261
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -308,7 +308,7 @@ class Datasets {
|
|
|
308
308
|
method: "DELETE",
|
|
309
309
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
310
310
|
? yield core.Supplier.get(this._options.accountToken)
|
|
311
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
311
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
312
312
|
contentType: "application/json",
|
|
313
313
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
314
314
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -366,7 +366,7 @@ class Datasets {
|
|
|
366
366
|
method: "GET",
|
|
367
367
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
368
368
|
? yield core.Supplier.get(this._options.accountToken)
|
|
369
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
369
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
370
370
|
contentType: "application/json",
|
|
371
371
|
queryParameters: _queryParams,
|
|
372
372
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -431,7 +431,7 @@ class Datasets {
|
|
|
431
431
|
method: "GET",
|
|
432
432
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
433
433
|
? yield core.Supplier.get(this._options.accountToken)
|
|
434
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
434
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
435
435
|
contentType: "application/json",
|
|
436
436
|
queryParameters: _queryParams,
|
|
437
437
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -484,7 +484,7 @@ class Datasets {
|
|
|
484
484
|
method: "GET",
|
|
485
485
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
486
486
|
? yield core.Supplier.get(this._options.accountToken)
|
|
487
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
487
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
488
488
|
contentType: "application/json",
|
|
489
489
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
490
490
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -548,7 +548,7 @@ class Datasets {
|
|
|
548
548
|
method: "GET",
|
|
549
549
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
550
550
|
? yield core.Supplier.get(this._options.accountToken)
|
|
551
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
551
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
552
552
|
contentType: "application/json",
|
|
553
553
|
queryParameters: _queryParams,
|
|
554
554
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -77,7 +77,7 @@ class Files {
|
|
|
77
77
|
method: "GET",
|
|
78
78
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
79
79
|
? yield core.Supplier.get(this._options.accountToken)
|
|
80
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
80
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
queryParameters: _queryParams,
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -136,7 +136,7 @@ class Files {
|
|
|
136
136
|
method: "POST",
|
|
137
137
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
138
138
|
? yield core.Supplier.get(this._options.accountToken)
|
|
139
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
139
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
140
140
|
contentType: "application/json",
|
|
141
141
|
body: yield serializers.customModels.files.createFiles.Request.jsonOrThrow(request, {
|
|
142
142
|
unrecognizedObjectKeys: "strip",
|
|
@@ -197,7 +197,7 @@ class Files {
|
|
|
197
197
|
method: "POST",
|
|
198
198
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
199
199
|
? yield core.Supplier.get(this._options.accountToken)
|
|
200
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
200
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
201
201
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
202
202
|
body: _request,
|
|
203
203
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -250,7 +250,7 @@ class Files {
|
|
|
250
250
|
method: "GET",
|
|
251
251
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
252
252
|
? yield core.Supplier.get(this._options.accountToken)
|
|
253
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
253
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
254
254
|
contentType: "application/json",
|
|
255
255
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
256
256
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -302,7 +302,7 @@ class Files {
|
|
|
302
302
|
method: "DELETE",
|
|
303
303
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
304
304
|
? yield core.Supplier.get(this._options.accountToken)
|
|
305
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
305
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
306
306
|
contentType: "application/json",
|
|
307
307
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
308
308
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -354,7 +354,7 @@ class Files {
|
|
|
354
354
|
method: "PATCH",
|
|
355
355
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
356
356
|
? yield core.Supplier.get(this._options.accountToken)
|
|
357
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
357
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
358
358
|
contentType: "application/json",
|
|
359
359
|
queryParameters: _queryParams,
|
|
360
360
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -407,7 +407,7 @@ class Files {
|
|
|
407
407
|
method: "GET",
|
|
408
408
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
409
409
|
? yield core.Supplier.get(this._options.accountToken)
|
|
410
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
410
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
411
411
|
contentType: "application/json",
|
|
412
412
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
413
413
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -72,7 +72,7 @@ class Jobs {
|
|
|
72
72
|
method: "POST",
|
|
73
73
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
74
74
|
? yield core.Supplier.get(this._options.accountToken)
|
|
75
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
75
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
76
76
|
contentType: "application/json",
|
|
77
77
|
body: yield serializers.customModels.TrainingBaseRequest.jsonOrThrow(request, {
|
|
78
78
|
unrecognizedObjectKeys: "strip",
|
|
@@ -131,7 +131,7 @@ class Jobs {
|
|
|
131
131
|
method: "POST",
|
|
132
132
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
133
133
|
? yield core.Supplier.get(this._options.accountToken)
|
|
134
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
134
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
body: yield serializers.customModels.TlInferenceBaseRequest.jsonOrThrow(request, {
|
|
137
137
|
unrecognizedObjectKeys: "strip",
|
|
@@ -79,7 +79,7 @@ class Models {
|
|
|
79
79
|
method: "GET",
|
|
80
80
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
81
81
|
? yield core.Supplier.get(this._options.accountToken)
|
|
82
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
82
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
queryParameters: _queryParams,
|
|
85
85
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -132,7 +132,7 @@ class Models {
|
|
|
132
132
|
method: "GET",
|
|
133
133
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
134
134
|
? yield core.Supplier.get(this._options.accountToken)
|
|
135
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
135
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
136
136
|
contentType: "application/json",
|
|
137
137
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
138
138
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -190,7 +190,7 @@ class Models {
|
|
|
190
190
|
method: "PATCH",
|
|
191
191
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
192
192
|
? yield core.Supplier.get(this._options.accountToken)
|
|
193
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
193
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
194
194
|
contentType: "application/json",
|
|
195
195
|
queryParameters: _queryParams,
|
|
196
196
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -262,7 +262,7 @@ class Models {
|
|
|
262
262
|
method: "GET",
|
|
263
263
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
264
264
|
? yield core.Supplier.get(this._options.accountToken)
|
|
265
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
265
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
266
266
|
contentType: "application/json",
|
|
267
267
|
queryParameters: _queryParams,
|
|
268
268
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -321,7 +321,7 @@ class Models {
|
|
|
321
321
|
method: "GET",
|
|
322
322
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
323
323
|
? yield core.Supplier.get(this._options.accountToken)
|
|
324
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
324
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
325
325
|
contentType: "application/json",
|
|
326
326
|
queryParameters: _queryParams,
|
|
327
327
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -375,7 +375,7 @@ class Models {
|
|
|
375
375
|
method: "PATCH",
|
|
376
376
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
377
377
|
? yield core.Supplier.get(this._options.accountToken)
|
|
378
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
378
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
379
379
|
contentType: "application/json",
|
|
380
380
|
body: yield serializers.customModels.models.updateModelDescription.Request.jsonOrThrow(request, {
|
|
381
381
|
unrecognizedObjectKeys: "strip",
|
|
@@ -9,8 +9,8 @@ export declare class StreamSocket {
|
|
|
9
9
|
constructor({ websocket }: StreamSocket.Args);
|
|
10
10
|
/**
|
|
11
11
|
* Send audio input
|
|
12
|
-
|
|
13
|
-
sendAudioInput(message:
|
|
12
|
+
*/
|
|
13
|
+
sendAudioInput(message: Omit<Hume.empathicVoice.AudioInput, "type">): Promise<void>;
|
|
14
14
|
/**
|
|
15
15
|
* Send session settings
|
|
16
16
|
*/
|
|
@@ -28,6 +28,5 @@ export declare class StreamSocket {
|
|
|
28
28
|
*/
|
|
29
29
|
close(): void;
|
|
30
30
|
private sendJson;
|
|
31
|
-
private sendRaw;
|
|
32
31
|
private tillSocketOpen;
|
|
33
32
|
}
|
|
@@ -40,10 +40,10 @@ class StreamSocket {
|
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* Send audio input
|
|
43
|
-
|
|
43
|
+
*/
|
|
44
44
|
sendAudioInput(message) {
|
|
45
45
|
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
-
yield this.
|
|
46
|
+
yield this.sendJson(Object.assign({ type: "audio_input" }, message));
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
@@ -59,7 +59,7 @@ class StreamSocket {
|
|
|
59
59
|
*/
|
|
60
60
|
sendAssistantInput(message) {
|
|
61
61
|
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
-
yield this.sendJson(Object.assign(
|
|
62
|
+
yield this.sendJson(Object.assign({ type: "assistant_input" }, message));
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
@@ -88,12 +88,6 @@ class StreamSocket {
|
|
|
88
88
|
this.websocket.send(JSON.stringify(jsonPayload));
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
|
-
sendRaw(payload) {
|
|
92
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
93
|
-
yield this.tillSocketOpen();
|
|
94
|
-
this.websocket.send(payload);
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
91
|
tillSocketOpen() {
|
|
98
92
|
return __awaiter(this, void 0, void 0, function* () {
|
|
99
93
|
if (this.websocket.readyState === 1) {
|
|
@@ -71,7 +71,7 @@ class Chats {
|
|
|
71
71
|
method: "GET",
|
|
72
72
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
73
73
|
? yield core.Supplier.get(this._options.accountToken)
|
|
74
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
74
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
queryParameters: _queryParams,
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -131,7 +131,7 @@ class Chats {
|
|
|
131
131
|
method: "GET",
|
|
132
132
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
133
133
|
? yield core.Supplier.get(this._options.accountToken)
|
|
134
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
134
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
queryParameters: _queryParams,
|
|
137
137
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -74,7 +74,7 @@ class Configs {
|
|
|
74
74
|
method: "GET",
|
|
75
75
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
76
76
|
? yield core.Supplier.get(this._options.accountToken)
|
|
77
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
77
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
queryParameters: _queryParams,
|
|
80
80
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -127,7 +127,7 @@ class Configs {
|
|
|
127
127
|
method: "POST",
|
|
128
128
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
129
129
|
? yield core.Supplier.get(this._options.accountToken)
|
|
130
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
130
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
body: yield serializers.empathicVoice.PostedConfig.jsonOrThrow(request, {
|
|
133
133
|
unrecognizedObjectKeys: "strip",
|
|
@@ -192,7 +192,7 @@ class Configs {
|
|
|
192
192
|
method: "GET",
|
|
193
193
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
194
194
|
? yield core.Supplier.get(this._options.accountToken)
|
|
195
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
195
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
196
196
|
contentType: "application/json",
|
|
197
197
|
queryParameters: _queryParams,
|
|
198
198
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -244,7 +244,7 @@ class Configs {
|
|
|
244
244
|
method: "POST",
|
|
245
245
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
246
246
|
? yield core.Supplier.get(this._options.accountToken)
|
|
247
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
247
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
248
248
|
contentType: "application/json",
|
|
249
249
|
body: yield serializers.empathicVoice.PostedConfigVersion.jsonOrThrow(request, {
|
|
250
250
|
unrecognizedObjectKeys: "strip",
|
|
@@ -297,7 +297,7 @@ class Configs {
|
|
|
297
297
|
method: "DELETE",
|
|
298
298
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
299
299
|
? yield core.Supplier.get(this._options.accountToken)
|
|
300
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
300
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
301
301
|
contentType: "application/json",
|
|
302
302
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
303
303
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -344,7 +344,7 @@ class Configs {
|
|
|
344
344
|
method: "PATCH",
|
|
345
345
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
346
346
|
? yield core.Supplier.get(this._options.accountToken)
|
|
347
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
347
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
348
348
|
contentType: "application/json",
|
|
349
349
|
body: yield serializers.empathicVoice.PostedConfigName.jsonOrThrow(request, {
|
|
350
350
|
unrecognizedObjectKeys: "strip",
|
|
@@ -393,7 +393,7 @@ class Configs {
|
|
|
393
393
|
method: "GET",
|
|
394
394
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
395
395
|
? yield core.Supplier.get(this._options.accountToken)
|
|
396
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
396
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
397
397
|
contentType: "application/json",
|
|
398
398
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
399
399
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -444,7 +444,7 @@ class Configs {
|
|
|
444
444
|
method: "DELETE",
|
|
445
445
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
446
446
|
? yield core.Supplier.get(this._options.accountToken)
|
|
447
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
447
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
448
448
|
contentType: "application/json",
|
|
449
449
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
450
450
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -490,7 +490,7 @@ class Configs {
|
|
|
490
490
|
method: "PATCH",
|
|
491
491
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
492
492
|
? yield core.Supplier.get(this._options.accountToken)
|
|
493
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
493
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
494
494
|
contentType: "application/json",
|
|
495
495
|
body: yield serializers.empathicVoice.PostedConfigVersionDescription.jsonOrThrow(request, {
|
|
496
496
|
unrecognizedObjectKeys: "strip",
|
|
@@ -74,7 +74,7 @@ class Prompts {
|
|
|
74
74
|
method: "GET",
|
|
75
75
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
76
76
|
? yield core.Supplier.get(this._options.accountToken)
|
|
77
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
77
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
queryParameters: _queryParams,
|
|
80
80
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -128,7 +128,7 @@ class Prompts {
|
|
|
128
128
|
method: "POST",
|
|
129
129
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
130
130
|
? yield core.Supplier.get(this._options.accountToken)
|
|
131
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
131
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
body: yield serializers.empathicVoice.PostedPrompt.jsonOrThrow(request, {
|
|
134
134
|
unrecognizedObjectKeys: "strip",
|
|
@@ -193,7 +193,7 @@ class Prompts {
|
|
|
193
193
|
method: "GET",
|
|
194
194
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
195
195
|
? yield core.Supplier.get(this._options.accountToken)
|
|
196
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
196
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
queryParameters: _queryParams,
|
|
199
199
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -247,7 +247,7 @@ class Prompts {
|
|
|
247
247
|
method: "POST",
|
|
248
248
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
249
249
|
? yield core.Supplier.get(this._options.accountToken)
|
|
250
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
250
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
251
251
|
contentType: "application/json",
|
|
252
252
|
body: yield serializers.empathicVoice.PostedPromptVersion.jsonOrThrow(request, {
|
|
253
253
|
unrecognizedObjectKeys: "strip",
|
|
@@ -300,7 +300,7 @@ class Prompts {
|
|
|
300
300
|
method: "DELETE",
|
|
301
301
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
302
302
|
? yield core.Supplier.get(this._options.accountToken)
|
|
303
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
303
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
304
304
|
contentType: "application/json",
|
|
305
305
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
306
306
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -347,7 +347,7 @@ class Prompts {
|
|
|
347
347
|
method: "PATCH",
|
|
348
348
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
349
349
|
? yield core.Supplier.get(this._options.accountToken)
|
|
350
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
350
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
351
351
|
contentType: "application/json",
|
|
352
352
|
body: yield serializers.empathicVoice.PostedPromptName.jsonOrThrow(request, {
|
|
353
353
|
unrecognizedObjectKeys: "strip",
|
|
@@ -396,7 +396,7 @@ class Prompts {
|
|
|
396
396
|
method: "GET",
|
|
397
397
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
398
398
|
? yield core.Supplier.get(this._options.accountToken)
|
|
399
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
399
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
400
400
|
contentType: "application/json",
|
|
401
401
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
402
402
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -447,7 +447,7 @@ class Prompts {
|
|
|
447
447
|
method: "DELETE",
|
|
448
448
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
449
449
|
? yield core.Supplier.get(this._options.accountToken)
|
|
450
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
450
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
451
451
|
contentType: "application/json",
|
|
452
452
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
453
453
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -493,7 +493,7 @@ class Prompts {
|
|
|
493
493
|
method: "PATCH",
|
|
494
494
|
headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
495
495
|
? yield core.Supplier.get(this._options.accountToken)
|
|
496
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.
|
|
496
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
497
497
|
contentType: "application/json",
|
|
498
498
|
body: yield serializers.empathicVoice.PostedPromptVersionDescription.jsonOrThrow(request, {
|
|
499
499
|
unrecognizedObjectKeys: "strip",
|