hume 0.5.11 → 0.5.13

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.
Files changed (31) hide show
  1. package/api/resources/customModels/resources/datasets/client/Client.js +9 -9
  2. package/api/resources/customModels/resources/files/client/Client.js +7 -7
  3. package/api/resources/customModels/resources/jobs/client/Client.js +2 -2
  4. package/api/resources/customModels/resources/models/client/Client.js +6 -6
  5. package/api/resources/empathicVoice/resources/chats/client/Client.js +2 -2
  6. package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  7. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  8. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +22 -11
  9. package/api/resources/empathicVoice/resources/tools/client/Client.js +31 -20
  10. package/api/resources/empathicVoice/resources/tools/client/requests/GetReturnToolsForUserRequest.d.ts +4 -1
  11. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +5 -2
  12. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.d.ts +1 -1
  13. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +4 -1
  14. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +3 -1
  15. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  16. package/dist/api/resources/customModels/resources/datasets/client/Client.js +9 -9
  17. package/dist/api/resources/customModels/resources/files/client/Client.js +7 -7
  18. package/dist/api/resources/customModels/resources/jobs/client/Client.js +2 -2
  19. package/dist/api/resources/customModels/resources/models/client/Client.js +6 -6
  20. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +2 -2
  21. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  22. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  23. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +22 -11
  24. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +31 -20
  25. package/dist/api/resources/empathicVoice/resources/tools/client/requests/GetReturnToolsForUserRequest.d.ts +4 -1
  26. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +5 -2
  27. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.d.ts +1 -1
  28. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +4 -1
  29. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +3 -1
  30. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  31. package/package.json +1 -1
@@ -53,7 +53,10 @@ class Tools {
53
53
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
54
54
  *
55
55
  * @example
56
- * await hume.empathicVoice.tools.getReturnToolsForUser()
56
+ * await hume.empathicVoice.tools.getReturnToolsForUser({
57
+ * pageNumber: 0,
58
+ * pageSize: 2
59
+ * })
57
60
  */
58
61
  getReturnToolsForUser(request = {}, requestOptions) {
59
62
  var _a, _b;
@@ -74,7 +77,7 @@ class Tools {
74
77
  method: "GET",
75
78
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
76
79
  ? yield core.Supplier.get(this._options.accountToken)
77
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
80
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
78
81
  contentType: "application/json",
79
82
  queryParameters: _queryParams,
80
83
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -116,8 +119,11 @@ class Tools {
116
119
  *
117
120
  * @example
118
121
  * await hume.empathicVoice.tools.createNewTool({
119
- * name: "name",
120
- * parameters: "parameters"
122
+ * name: "get_current_weather",
123
+ * parameters: "{ \"type\": \"object\", \"properties\": { \"location\": { \"type\": \"string\", \"description\": \"The city and state, e.g. San Francisco, CA\" }, \"format\": { \"type\": \"string\", \"enum\": [\"celsius\", \"fahrenheit\"], \"description\": \"The temperature unit to use. Infer this from the users location.\" } }, \"required\": [\"location\", \"format\"] }",
124
+ * versionDescription: "Fetches current weather and uses celsius or fahrenheit based on location of user.",
125
+ * description: "This tool is for getting the current weather.",
126
+ * fallbackContent: "Unable to fetch current weather."
121
127
  * })
122
128
  */
123
129
  createNewTool(request, requestOptions) {
@@ -128,7 +134,7 @@ class Tools {
128
134
  method: "POST",
129
135
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
130
136
  ? yield core.Supplier.get(this._options.accountToken)
131
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
137
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
132
138
  contentType: "application/json",
133
139
  body: yield serializers.empathicVoice.PostedUserDefinedTool.jsonOrThrow(request, {
134
140
  unrecognizedObjectKeys: "strip",
@@ -172,7 +178,7 @@ class Tools {
172
178
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
173
179
  *
174
180
  * @example
175
- * await hume.empathicVoice.tools.getReturnToolByToolId("id")
181
+ * await hume.empathicVoice.tools.getReturnToolByToolId("00183a3f-79ba-413d-9f3b-609864268bea")
176
182
  */
177
183
  getReturnToolByToolId(id, request = {}, requestOptions) {
178
184
  var _a, _b;
@@ -193,7 +199,7 @@ class Tools {
193
199
  method: "GET",
194
200
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
195
201
  ? yield core.Supplier.get(this._options.accountToken)
196
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
202
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
197
203
  contentType: "application/json",
198
204
  queryParameters: _queryParams,
199
205
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -235,8 +241,11 @@ class Tools {
235
241
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
236
242
  *
237
243
  * @example
238
- * await hume.empathicVoice.tools.addNewToolVersion("id", {
239
- * parameters: "parameters"
244
+ * await hume.empathicVoice.tools.addNewToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", {
245
+ * parameters: "{ \"type\": \"object\", \"properties\": { \"location\": { \"type\": \"string\", \"description\": \"The city and state, e.g. San Francisco, CA\" }, \"format\": { \"type\": \"string\", \"enum\": [\"celsius\", \"fahrenheit\", \"kelvin\"], \"description\": \"The temperature unit to use. Infer this from the users location.\" } }, \"required\": [\"location\", \"format\"] }",
246
+ * versionDescription: "Fetches current weather and uses celsius, fahrenheit, or kelvin based on location of user.",
247
+ * fallbackContent: "Unable to fetch current weather.",
248
+ * description: "This tool is for getting the current weather."
240
249
  * })
241
250
  */
242
251
  addNewToolVersion(id, request, requestOptions) {
@@ -247,7 +256,7 @@ class Tools {
247
256
  method: "POST",
248
257
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
249
258
  ? yield core.Supplier.get(this._options.accountToken)
250
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
259
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
251
260
  contentType: "application/json",
252
261
  body: yield serializers.empathicVoice.PostedUserDefinedToolVersion.jsonOrThrow(request, {
253
262
  unrecognizedObjectKeys: "strip",
@@ -290,7 +299,7 @@ class Tools {
290
299
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
291
300
  *
292
301
  * @example
293
- * await hume.empathicVoice.tools.deleteToolVersion("id")
302
+ * await hume.empathicVoice.tools.deleteToolVersion("00183a3f-79ba-413d-9f3b-609864268bea")
294
303
  */
295
304
  deleteToolVersion(id, requestOptions) {
296
305
  var _a, _b;
@@ -300,7 +309,7 @@ class Tools {
300
309
  method: "DELETE",
301
310
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
302
311
  ? yield core.Supplier.get(this._options.accountToken)
303
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
312
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
304
313
  contentType: "application/json",
305
314
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
306
315
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -335,8 +344,8 @@ class Tools {
335
344
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
336
345
  *
337
346
  * @example
338
- * await hume.empathicVoice.tools.updateToolName("string", {
339
- * name: "string"
347
+ * await hume.empathicVoice.tools.updateToolName("00183a3f-79ba-413d-9f3b-609864268bea", {
348
+ * name: "get_current_temperature"
340
349
  * })
341
350
  */
342
351
  updateToolName(id, request, requestOptions) {
@@ -347,7 +356,7 @@ class Tools {
347
356
  method: "PATCH",
348
357
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
349
358
  ? yield core.Supplier.get(this._options.accountToken)
350
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
359
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
351
360
  contentType: "application/json",
352
361
  body: yield serializers.empathicVoice.PostedUserDefinedToolName.jsonOrThrow(request, {
353
362
  unrecognizedObjectKeys: "strip",
@@ -386,7 +395,7 @@ class Tools {
386
395
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
387
396
  *
388
397
  * @example
389
- * await hume.empathicVoice.tools.getReturnToolByVersionNumber("id", 1)
398
+ * await hume.empathicVoice.tools.getReturnToolByVersionNumber("00183a3f-79ba-413d-9f3b-609864268bea", 1)
390
399
  */
391
400
  getReturnToolByVersionNumber(id, version, requestOptions) {
392
401
  var _a, _b;
@@ -396,7 +405,7 @@ class Tools {
396
405
  method: "GET",
397
406
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
398
407
  ? yield core.Supplier.get(this._options.accountToken)
399
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
408
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
400
409
  contentType: "application/json",
401
410
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
402
411
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -447,7 +456,7 @@ class Tools {
447
456
  method: "DELETE",
448
457
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
449
458
  ? yield core.Supplier.get(this._options.accountToken)
450
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
459
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
451
460
  contentType: "application/json",
452
461
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
453
462
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -483,7 +492,9 @@ class Tools {
483
492
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
484
493
  *
485
494
  * @example
486
- * await hume.empathicVoice.tools.updateToolVersionDescription("id", 1)
495
+ * await hume.empathicVoice.tools.updateToolVersionDescription("00183a3f-79ba-413d-9f3b-609864268bea", 1, {
496
+ * versionDescription: "Fetches current temperature, precipitation, wind speed, AQI, and other weather conditions. Uses Celsius, Fahrenheit, or kelvin depending on user's region."
497
+ * })
487
498
  */
488
499
  updateToolVersionDescription(id, version, request = {}, requestOptions) {
489
500
  var _a, _b;
@@ -493,7 +504,7 @@ class Tools {
493
504
  method: "PATCH",
494
505
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
495
506
  ? yield core.Supplier.get(this._options.accountToken)
496
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
507
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
497
508
  contentType: "application/json",
498
509
  body: yield serializers.empathicVoice.PostedUserDefinedToolVersionDescription.jsonOrThrow(request, {
499
510
  unrecognizedObjectKeys: "strip",
@@ -3,7 +3,10 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {}
6
+ * {
7
+ * pageNumber: 0,
8
+ * pageSize: 2
9
+ * }
7
10
  */
8
11
  export interface GetReturnToolsForUserRequest {
9
12
  /**
@@ -4,8 +4,11 @@
4
4
  /**
5
5
  * @example
6
6
  * {
7
- * name: "name",
8
- * parameters: "parameters"
7
+ * name: "get_current_weather",
8
+ * parameters: "{ \"type\": \"object\", \"properties\": { \"location\": { \"type\": \"string\", \"description\": \"The city and state, e.g. San Francisco, CA\" }, \"format\": { \"type\": \"string\", \"enum\": [\"celsius\", \"fahrenheit\"], \"description\": \"The temperature unit to use. Infer this from the users location.\" } }, \"required\": [\"location\", \"format\"] }",
9
+ * versionDescription: "Fetches current weather and uses celsius or fahrenheit based on location of user.",
10
+ * description: "This tool is for getting the current weather.",
11
+ * fallbackContent: "Unable to fetch current weather."
9
12
  * }
10
13
  */
11
14
  export interface PostedUserDefinedTool {
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * @example
6
6
  * {
7
- * name: "string"
7
+ * name: "get_current_temperature"
8
8
  * }
9
9
  */
10
10
  export interface PostedUserDefinedToolName {
@@ -4,7 +4,10 @@
4
4
  /**
5
5
  * @example
6
6
  * {
7
- * parameters: "parameters"
7
+ * parameters: "{ \"type\": \"object\", \"properties\": { \"location\": { \"type\": \"string\", \"description\": \"The city and state, e.g. San Francisco, CA\" }, \"format\": { \"type\": \"string\", \"enum\": [\"celsius\", \"fahrenheit\", \"kelvin\"], \"description\": \"The temperature unit to use. Infer this from the users location.\" } }, \"required\": [\"location\", \"format\"] }",
8
+ * versionDescription: "Fetches current weather and uses celsius, fahrenheit, or kelvin based on location of user.",
9
+ * fallbackContent: "Unable to fetch current weather.",
10
+ * description: "This tool is for getting the current weather."
8
11
  * }
9
12
  */
10
13
  export interface PostedUserDefinedToolVersion {
@@ -3,7 +3,9 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {}
6
+ * {
7
+ * versionDescription: "Fetches current temperature, precipitation, wind speed, AQI, and other weather conditions. Uses Celsius, Fahrenheit, or kelvin depending on user's region."
8
+ * }
7
9
  */
8
10
  export interface PostedUserDefinedToolVersionDescription {
9
11
  /** Description that is appended to a specific version of a Tool. */
@@ -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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
102
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
158
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
213
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
265
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
311
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
366
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
83
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
146
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
199
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
258
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
311
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
369
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
434
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
487
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
551
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
80
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
139
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
200
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
253
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
305
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
357
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
410
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
75
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
134
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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",
@@ -65,7 +65,7 @@ class Models {
65
65
  method: "GET",
66
66
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
67
67
  ? yield core.Supplier.get(this._options.accountToken)
68
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
69
69
  contentType: "application/json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
71
71
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -123,7 +123,7 @@ class Models {
123
123
  method: "PATCH",
124
124
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
125
125
  ? yield core.Supplier.get(this._options.accountToken)
126
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
126
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
127
127
  contentType: "application/json",
128
128
  queryParameters: _queryParams,
129
129
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -182,7 +182,7 @@ class Models {
182
182
  method: "GET",
183
183
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
184
184
  ? yield core.Supplier.get(this._options.accountToken)
185
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
185
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
186
186
  contentType: "application/json",
187
187
  queryParameters: _queryParams,
188
188
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -236,7 +236,7 @@ class Models {
236
236
  method: "PATCH",
237
237
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
238
238
  ? yield core.Supplier.get(this._options.accountToken)
239
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
239
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
240
240
  contentType: "application/json",
241
241
  body: yield serializers.customModels.models.updateModelVersionDescription.Request.jsonOrThrow(request, {
242
242
  unrecognizedObjectKeys: "strip",
@@ -305,7 +305,7 @@ class Models {
305
305
  method: "GET",
306
306
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
307
307
  ? yield core.Supplier.get(this._options.accountToken)
308
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
308
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
309
  contentType: "application/json",
310
310
  queryParameters: _queryParams,
311
311
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -377,7 +377,7 @@ class Models {
377
377
  method: "GET",
378
378
  headers: Object.assign({ "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
379
379
  ? yield core.Supplier.get(this._options.accountToken)
380
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
380
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
381
381
  contentType: "application/json",
382
382
  queryParameters: _queryParams,
383
383
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
74
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
134
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.5.13", "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,