hume 0.9.6 → 0.9.7

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 (72) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +66 -42
  2. package/.mock/definition/empathic-voice/chatGroups.yml +10 -0
  3. package/.mock/definition/empathic-voice/chats.yml +6 -0
  4. package/.mock/definition/empathic-voice/configs.yml +18 -6
  5. package/.mock/definition/empathic-voice/customVoices.yml +12 -3
  6. package/.mock/definition/empathic-voice/prompts.yml +18 -0
  7. package/.mock/definition/empathic-voice/tools.yml +18 -0
  8. package/.mock/definition/expression-measurement/batch/__package__.yml +12 -0
  9. package/.mock/definition/expression-measurement/stream/__package__.yml +19 -0
  10. package/.mock/fern.config.json +1 -1
  11. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  12. package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  13. package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  14. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
  15. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  16. package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  17. package/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +10 -16
  18. package/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +10 -16
  19. package/api/resources/empathicVoice/types/SessionSettings.d.ts +8 -2
  20. package/api/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +4 -0
  21. package/api/resources/empathicVoice/types/SessionSettingsVariablesValue.js +5 -0
  22. package/api/resources/empathicVoice/types/index.d.ts +1 -0
  23. package/api/resources/empathicVoice/types/index.js +1 -0
  24. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  25. package/api/resources/index.d.ts +1 -1
  26. package/api/resources/index.js +2 -2
  27. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  28. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  29. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  30. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
  31. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  32. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  33. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +10 -16
  34. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +10 -16
  35. package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +8 -2
  36. package/dist/api/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +4 -0
  37. package/dist/api/resources/empathicVoice/types/SessionSettingsVariablesValue.js +5 -0
  38. package/dist/api/resources/empathicVoice/types/index.d.ts +1 -0
  39. package/dist/api/resources/empathicVoice/types/index.js +1 -0
  40. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  41. package/dist/api/resources/index.d.ts +1 -1
  42. package/dist/api/resources/index.js +2 -2
  43. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -1
  44. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +0 -1
  45. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -1
  46. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -1
  47. package/dist/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -1
  48. package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +2 -1
  49. package/dist/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +10 -0
  50. package/dist/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.js +35 -0
  51. package/dist/serialization/resources/empathicVoice/types/index.d.ts +1 -0
  52. package/dist/serialization/resources/empathicVoice/types/index.js +1 -0
  53. package/dist/serialization/resources/index.d.ts +1 -1
  54. package/dist/serialization/resources/index.js +2 -2
  55. package/dist/version.d.ts +1 -1
  56. package/dist/version.js +1 -1
  57. package/package.json +1 -1
  58. package/reference.md +536 -536
  59. package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -1
  60. package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +0 -1
  61. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -1
  62. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -1
  63. package/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -1
  64. package/serialization/resources/empathicVoice/types/SessionSettings.js +2 -1
  65. package/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +10 -0
  66. package/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.js +35 -0
  67. package/serialization/resources/empathicVoice/types/index.d.ts +1 -0
  68. package/serialization/resources/empathicVoice/types/index.js +1 -0
  69. package/serialization/resources/index.d.ts +1 -1
  70. package/serialization/resources/index.js +2 -2
  71. package/version.d.ts +1 -1
  72. package/version.js +1 -1
@@ -19,6 +19,8 @@ service:
19
19
  pagination:
20
20
  offset: $request.page_number
21
21
  results: $response.tools_page
22
+ source:
23
+ openapi: stenographer-openapi.json
22
24
  display-name: List tools
23
25
  request:
24
26
  name: ToolsListToolsRequest
@@ -116,6 +118,8 @@ service:
116
118
  use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide
117
119
  for comprehensive instructions on defining and integrating tools into
118
120
  EVI.
121
+ source:
122
+ openapi: stenographer-openapi.json
119
123
  display-name: Create tool
120
124
  request:
121
125
  name: PostedUserDefinedTool
@@ -204,6 +208,8 @@ service:
204
208
  use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide
205
209
  for comprehensive instructions on defining and integrating tools into
206
210
  EVI.
211
+ source:
212
+ openapi: stenographer-openapi.json
207
213
  path-parameters:
208
214
  id:
209
215
  type: string
@@ -284,6 +290,8 @@ service:
284
290
  use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide
285
291
  for comprehensive instructions on defining and integrating tools into
286
292
  EVI.
293
+ source:
294
+ openapi: stenographer-openapi.json
287
295
  path-parameters:
288
296
  id:
289
297
  type: string
@@ -374,6 +382,8 @@ service:
374
382
  use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide
375
383
  for comprehensive instructions on defining and integrating tools into
376
384
  EVI.
385
+ source:
386
+ openapi: stenographer-openapi.json
377
387
  path-parameters:
378
388
  id:
379
389
  type: string
@@ -396,6 +406,8 @@ service:
396
406
  use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide
397
407
  for comprehensive instructions on defining and integrating tools into
398
408
  EVI.
409
+ source:
410
+ openapi: stenographer-openapi.json
399
411
  path-parameters:
400
412
  id:
401
413
  type: string
@@ -431,6 +443,8 @@ service:
431
443
  use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide
432
444
  for comprehensive instructions on defining and integrating tools into
433
445
  EVI.
446
+ source:
447
+ openapi: stenographer-openapi.json
434
448
  path-parameters:
435
449
  id:
436
450
  type: string
@@ -492,6 +506,8 @@ service:
492
506
  use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide
493
507
  for comprehensive instructions on defining and integrating tools into
494
508
  EVI.
509
+ source:
510
+ openapi: stenographer-openapi.json
495
511
  path-parameters:
496
512
  id:
497
513
  type: string
@@ -529,6 +545,8 @@ service:
529
545
  use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide
530
546
  for comprehensive instructions on defining and integrating tools into
531
547
  EVI.
548
+ source:
549
+ openapi: stenographer-openapi.json
532
550
  path-parameters:
533
551
  id:
534
552
  type: string
@@ -7,6 +7,8 @@ service:
7
7
  method: GET
8
8
  auth: true
9
9
  docs: Sort and filter jobs.
10
+ source:
11
+ openapi: batch-openapi.json
10
12
  display-name: List jobs
11
13
  request:
12
14
  name: BatchListJobsRequest
@@ -120,6 +122,8 @@ service:
120
122
  method: POST
121
123
  auth: true
122
124
  docs: Start a new measurement inference job.
125
+ source:
126
+ openapi: batch-openapi.json
123
127
  display-name: Start inference job
124
128
  request:
125
129
  body: InferenceBaseRequest
@@ -141,6 +145,8 @@ service:
141
145
  method: GET
142
146
  auth: true
143
147
  docs: Get the request details and state of a given job.
148
+ source:
149
+ openapi: batch-openapi.json
144
150
  path-parameters:
145
151
  id:
146
152
  type: string
@@ -192,6 +198,8 @@ service:
192
198
  method: GET
193
199
  auth: true
194
200
  docs: Get the JSON predictions of a completed inference job.
201
+ source:
202
+ openapi: batch-openapi.json
195
203
  path-parameters:
196
204
  id:
197
205
  type: string
@@ -327,6 +335,8 @@ service:
327
335
  method: GET
328
336
  auth: true
329
337
  docs: Get the artifacts ZIP of a completed inference job.
338
+ source:
339
+ openapi: batch-openapi.json
330
340
  path-parameters:
331
341
  id:
332
342
  type: string
@@ -340,6 +350,8 @@ service:
340
350
  method: POST
341
351
  auth: true
342
352
  docs: Start a new batch inference job.
353
+ source:
354
+ openapi: batch-files-openapi.yml
343
355
  display-name: Start inference job from local file
344
356
  request:
345
357
  name: BatchStartInferenceJobFromLocalFileRequest
@@ -32,18 +32,21 @@ types:
32
32
  docs: ID of the current streaming job.
33
33
  source:
34
34
  openapi: streaming-asyncapi.yml
35
+ inline: true
35
36
  StreamModelPredictionsBurstPredictionsItem:
36
37
  properties:
37
38
  time: optional<TimeRange>
38
39
  emotions: optional<EmotionEmbedding>
39
40
  source:
40
41
  openapi: streaming-asyncapi.yml
42
+ inline: true
41
43
  StreamModelPredictionsBurst:
42
44
  docs: Response for the vocal burst emotion model.
43
45
  properties:
44
46
  predictions: optional<list<StreamModelPredictionsBurstPredictionsItem>>
45
47
  source:
46
48
  openapi: streaming-asyncapi.yml
49
+ inline: true
47
50
  StreamModelPredictionsFacePredictionsItem:
48
51
  properties:
49
52
  frame:
@@ -66,23 +69,27 @@ types:
66
69
  descriptions: optional<EmotionEmbedding>
67
70
  source:
68
71
  openapi: streaming-asyncapi.yml
72
+ inline: true
69
73
  StreamModelPredictionsFace:
70
74
  docs: Response for the facial expression emotion model.
71
75
  properties:
72
76
  predictions: optional<list<StreamModelPredictionsFacePredictionsItem>>
73
77
  source:
74
78
  openapi: streaming-asyncapi.yml
79
+ inline: true
75
80
  StreamModelPredictionsFacemeshPredictionsItem:
76
81
  properties:
77
82
  emotions: optional<EmotionEmbedding>
78
83
  source:
79
84
  openapi: streaming-asyncapi.yml
85
+ inline: true
80
86
  StreamModelPredictionsFacemesh:
81
87
  docs: Response for the facemesh emotion model.
82
88
  properties:
83
89
  predictions: optional<list<StreamModelPredictionsFacemeshPredictionsItem>>
84
90
  source:
85
91
  openapi: streaming-asyncapi.yml
92
+ inline: true
86
93
  StreamModelPredictionsLanguagePredictionsItem:
87
94
  properties:
88
95
  text:
@@ -94,24 +101,28 @@ types:
94
101
  toxicity: optional<Toxicity>
95
102
  source:
96
103
  openapi: streaming-asyncapi.yml
104
+ inline: true
97
105
  StreamModelPredictionsLanguage:
98
106
  docs: Response for the language emotion model.
99
107
  properties:
100
108
  predictions: optional<list<StreamModelPredictionsLanguagePredictionsItem>>
101
109
  source:
102
110
  openapi: streaming-asyncapi.yml
111
+ inline: true
103
112
  StreamModelPredictionsProsodyPredictionsItem:
104
113
  properties:
105
114
  time: optional<TimeRange>
106
115
  emotions: optional<EmotionEmbedding>
107
116
  source:
108
117
  openapi: streaming-asyncapi.yml
118
+ inline: true
109
119
  StreamModelPredictionsProsody:
110
120
  docs: Response for the speech prosody emotion model.
111
121
  properties:
112
122
  predictions: optional<list<StreamModelPredictionsProsodyPredictionsItem>>
113
123
  source:
114
124
  openapi: streaming-asyncapi.yml
125
+ inline: true
115
126
  StreamModelPredictions:
116
127
  docs: Model predictions
117
128
  properties:
@@ -142,6 +153,7 @@ types:
142
153
  docs: Response for the speech prosody emotion model.
143
154
  source:
144
155
  openapi: streaming-asyncapi.yml
156
+ inline: true
145
157
  JobDetails:
146
158
  docs: >
147
159
  If the job_details flag was set in the request, details about the current
@@ -152,6 +164,7 @@ types:
152
164
  docs: ID of the current streaming job.
153
165
  source:
154
166
  openapi: streaming-asyncapi.yml
167
+ inline: true
155
168
  StreamErrorMessage:
156
169
  docs: Error message
157
170
  properties:
@@ -173,6 +186,7 @@ types:
173
186
  current streaming job will be returned in the response body.
174
187
  source:
175
188
  openapi: streaming-asyncapi.yml
189
+ inline: true
176
190
  StreamWarningMessageJobDetails:
177
191
  docs: >
178
192
  If the job_details flag was set in the request, details about the current
@@ -183,6 +197,7 @@ types:
183
197
  docs: ID of the current streaming job.
184
198
  source:
185
199
  openapi: streaming-asyncapi.yml
200
+ inline: true
186
201
  StreamWarningMessage:
187
202
  docs: Warning message
188
203
  properties:
@@ -204,6 +219,7 @@ types:
204
219
  current streaming job will be returned in the response body.
205
220
  source:
206
221
  openapi: streaming-asyncapi.yml
222
+ inline: true
207
223
  SubscribeEvent:
208
224
  discriminated: false
209
225
  union:
@@ -264,6 +280,7 @@ types:
264
280
  default: 3
265
281
  source:
266
282
  openapi: streaming-asyncapi.yml
283
+ inline: true
267
284
  StreamLanguage:
268
285
  docs: Configuration for the language emotion model.
269
286
  properties:
@@ -286,6 +303,7 @@ types:
286
303
  is `word`.
287
304
  source:
288
305
  openapi: streaming-asyncapi.yml
306
+ inline: true
289
307
  Config:
290
308
  docs: >
291
309
  Configuration used to specify which models should be used and with what
@@ -329,6 +347,7 @@ types:
329
347
  Please use the default configuration by passing an empty object `{}`.
330
348
  source:
331
349
  openapi: streaming-asyncapi.yml
350
+ inline: true
332
351
  StreamModelsEndpointPayload:
333
352
  docs: Models endpoint payload
334
353
  properties:
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "organization" : "hume",
3
- "version" : "0.45.0-rc19"
3
+ "version" : "0.45.1"
4
4
  }
@@ -85,7 +85,7 @@ class ChatGroups {
85
85
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
86
86
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/chat_groups"),
87
87
  method: "GET",
88
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
88
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
89
89
  contentType: "application/json",
90
90
  queryParameters: _queryParams,
91
91
  requestType: "json",
@@ -165,7 +165,7 @@ class ChatGroups {
165
165
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
166
166
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chat_groups/${encodeURIComponent(id)}`),
167
167
  method: "GET",
168
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
168
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
169
169
  contentType: "application/json",
170
170
  queryParameters: _queryParams,
171
171
  requestType: "json",
@@ -245,7 +245,7 @@ class ChatGroups {
245
245
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
246
246
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chat_groups/${encodeURIComponent(id)}/events`),
247
247
  method: "GET",
248
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
248
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
249
249
  contentType: "application/json",
250
250
  queryParameters: _queryParams,
251
251
  requestType: "json",
@@ -325,7 +325,7 @@ class ChatGroups {
325
325
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
326
326
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chat_groups/${encodeURIComponent(id)}/audio`),
327
327
  method: "GET",
328
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
328
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
329
329
  contentType: "application/json",
330
330
  queryParameters: _queryParams,
331
331
  requestType: "json",
@@ -82,7 +82,7 @@ class Chats {
82
82
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
83
83
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/chats"),
84
84
  method: "GET",
85
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
85
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
86
86
  contentType: "application/json",
87
87
  queryParameters: _queryParams,
88
88
  requestType: "json",
@@ -174,7 +174,7 @@ class Chats {
174
174
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
175
175
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chats/${encodeURIComponent(id)}`),
176
176
  method: "GET",
177
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
177
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
178
178
  contentType: "application/json",
179
179
  queryParameters: _queryParams,
180
180
  requestType: "json",
@@ -249,7 +249,7 @@ class Chats {
249
249
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
250
250
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chats/${encodeURIComponent(id)}/audio`),
251
251
  method: "GET",
252
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
252
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
253
253
  contentType: "application/json",
254
254
  requestType: "json",
255
255
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -85,7 +85,7 @@ class Configs {
85
85
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
86
86
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/configs"),
87
87
  method: "GET",
88
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
88
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
89
89
  contentType: "application/json",
90
90
  queryParameters: _queryParams,
91
91
  requestType: "json",
@@ -181,7 +181,7 @@ class Configs {
181
181
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
182
182
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/configs"),
183
183
  method: "POST",
184
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
184
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
185
185
  contentType: "application/json",
186
186
  requestType: "json",
187
187
  body: serializers.empathicVoice.PostedConfig.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -259,7 +259,7 @@ class Configs {
259
259
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
260
260
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
261
261
  method: "GET",
262
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
262
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
263
263
  contentType: "application/json",
264
264
  queryParameters: _queryParams,
265
265
  requestType: "json",
@@ -359,7 +359,7 @@ class Configs {
359
359
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
360
360
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
361
361
  method: "POST",
362
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
362
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
363
363
  contentType: "application/json",
364
364
  requestType: "json",
365
365
  body: serializers.empathicVoice.PostedConfigVersion.jsonOrThrow(request, {
@@ -427,7 +427,7 @@ class Configs {
427
427
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
428
428
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
429
429
  method: "DELETE",
430
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
430
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
431
431
  contentType: "application/json",
432
432
  requestType: "json",
433
433
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -490,7 +490,7 @@ class Configs {
490
490
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
491
491
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
492
492
  method: "PATCH",
493
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
493
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
494
494
  contentType: "application/json",
495
495
  requestType: "json",
496
496
  body: serializers.empathicVoice.PostedConfigName.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -557,7 +557,7 @@ class Configs {
557
557
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
558
558
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
559
559
  method: "GET",
560
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
560
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
561
561
  contentType: "application/json",
562
562
  requestType: "json",
563
563
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -627,7 +627,7 @@ class Configs {
627
627
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
628
628
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
629
629
  method: "DELETE",
630
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
630
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
631
631
  contentType: "application/json",
632
632
  requestType: "json",
633
633
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -695,7 +695,7 @@ class Configs {
695
695
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
696
696
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
697
697
  method: "PATCH",
698
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
698
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
699
699
  contentType: "application/json",
700
700
  requestType: "json",
701
701
  body: serializers.empathicVoice.PostedConfigVersionDescription.jsonOrThrow(request, {
@@ -79,7 +79,7 @@ class CustomVoices {
79
79
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
80
80
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/custom_voices"),
81
81
  method: "GET",
82
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "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
  requestType: "json",
@@ -149,7 +149,7 @@ class CustomVoices {
149
149
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
150
150
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/custom_voices"),
151
151
  method: "POST",
152
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
152
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
153
153
  contentType: "application/json",
154
154
  requestType: "json",
155
155
  body: serializers.empathicVoice.PostedCustomVoice.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -215,7 +215,7 @@ class CustomVoices {
215
215
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
216
216
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/custom_voices/${encodeURIComponent(id)}`),
217
217
  method: "GET",
218
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
218
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
219
219
  contentType: "application/json",
220
220
  requestType: "json",
221
221
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -285,7 +285,7 @@ class CustomVoices {
285
285
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
286
286
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/custom_voices/${encodeURIComponent(id)}`),
287
287
  method: "POST",
288
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
288
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
289
289
  contentType: "application/json",
290
290
  requestType: "json",
291
291
  body: serializers.empathicVoice.PostedCustomVoice.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -351,7 +351,7 @@ class CustomVoices {
351
351
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
352
352
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/custom_voices/${encodeURIComponent(id)}`),
353
353
  method: "DELETE",
354
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
354
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
355
355
  contentType: "application/json",
356
356
  requestType: "json",
357
357
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -409,7 +409,7 @@ class CustomVoices {
409
409
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
410
410
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/custom_voices/${encodeURIComponent(id)}`),
411
411
  method: "PATCH",
412
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
412
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
413
413
  contentType: "application/json",
414
414
  requestType: "json",
415
415
  body: serializers.empathicVoice.PostedCustomVoiceName.jsonOrThrow(request, {
@@ -86,7 +86,7 @@ class Prompts {
86
86
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
87
87
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/prompts"),
88
88
  method: "GET",
89
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
89
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
90
90
  contentType: "application/json",
91
91
  queryParameters: _queryParams,
92
92
  requestType: "json",
@@ -166,7 +166,7 @@ class Prompts {
166
166
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
167
167
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/prompts"),
168
168
  method: "POST",
169
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
169
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
170
170
  contentType: "application/json",
171
171
  requestType: "json",
172
172
  body: serializers.empathicVoice.PostedPrompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -244,7 +244,7 @@ class Prompts {
244
244
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
245
245
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
246
246
  method: "GET",
247
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
247
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
248
248
  contentType: "application/json",
249
249
  queryParameters: _queryParams,
250
250
  requestType: "json",
@@ -314,7 +314,7 @@ class Prompts {
314
314
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
315
315
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
316
316
  method: "POST",
317
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
317
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
318
318
  contentType: "application/json",
319
319
  requestType: "json",
320
320
  body: serializers.empathicVoice.PostedPromptVersion.jsonOrThrow(request, {
@@ -382,7 +382,7 @@ class Prompts {
382
382
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
383
383
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
384
384
  method: "DELETE",
385
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
385
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
386
386
  contentType: "application/json",
387
387
  requestType: "json",
388
388
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -445,7 +445,7 @@ class Prompts {
445
445
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
446
446
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
447
447
  method: "PATCH",
448
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
448
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
449
449
  contentType: "application/json",
450
450
  requestType: "json",
451
451
  body: serializers.empathicVoice.PostedPromptName.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -512,7 +512,7 @@ class Prompts {
512
512
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
513
513
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
514
514
  method: "GET",
515
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
515
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
516
516
  contentType: "application/json",
517
517
  requestType: "json",
518
518
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -582,7 +582,7 @@ class Prompts {
582
582
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
583
583
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
584
584
  method: "DELETE",
585
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
585
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
586
586
  contentType: "application/json",
587
587
  requestType: "json",
588
588
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -650,7 +650,7 @@ class Prompts {
650
650
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
651
651
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
652
652
  method: "PATCH",
653
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "hume/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
653
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "hume/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
654
654
  contentType: "application/json",
655
655
  requestType: "json",
656
656
  body: serializers.empathicVoice.PostedPromptVersionDescription.jsonOrThrow(request, {