hume 0.9.3 → 0.9.4

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 (147) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +287 -14
  2. package/.mock/definition/empathic-voice/chatGroups.yml +25 -23
  3. package/.mock/definition/empathic-voice/chats.yml +14 -24
  4. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +8 -2
  5. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +12 -6
  6. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +5 -1
  7. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +4 -2
  8. package/api/resources/empathicVoice/resources/chats/client/Client.js +7 -5
  9. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
  10. package/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
  11. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
  12. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  13. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
  14. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  15. package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  16. package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +1 -1
  17. package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +35 -0
  18. package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -0
  19. package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +2 -2
  20. package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  21. package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  22. package/api/resources/empathicVoice/types/PostedVoice.d.ts +2 -2
  23. package/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +11 -0
  24. package/api/resources/empathicVoice/types/PostedVoiceProvider.js +10 -0
  25. package/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +35 -0
  26. package/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +5 -0
  27. package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +24 -0
  28. package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +13 -0
  29. package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +37 -0
  30. package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +5 -0
  31. package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +13 -0
  32. package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +10 -0
  33. package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +1 -1
  34. package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +35 -0
  35. package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +34 -0
  36. package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +2 -2
  37. package/api/resources/empathicVoice/types/ReturnVoice.d.ts +2 -2
  38. package/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +11 -0
  39. package/api/resources/empathicVoice/types/ReturnVoiceProvider.js +10 -0
  40. package/api/resources/empathicVoice/types/index.d.ts +8 -0
  41. package/api/resources/empathicVoice/types/index.js +8 -0
  42. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  43. package/api/resources/index.d.ts +1 -1
  44. package/api/resources/index.js +2 -2
  45. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +8 -2
  46. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +12 -6
  47. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +5 -1
  48. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +4 -2
  49. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +7 -5
  50. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
  51. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
  52. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
  53. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  54. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
  55. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  56. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  57. package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +1 -1
  58. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +35 -0
  59. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -0
  60. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +2 -2
  61. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  62. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  63. package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +2 -2
  64. package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +11 -0
  65. package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.js +10 -0
  66. package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +35 -0
  67. package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +5 -0
  68. package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +24 -0
  69. package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +13 -0
  70. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +37 -0
  71. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +5 -0
  72. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +13 -0
  73. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +10 -0
  74. package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +1 -1
  75. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +35 -0
  76. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +34 -0
  77. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +2 -2
  78. package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +2 -2
  79. package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +11 -0
  80. package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.js +10 -0
  81. package/dist/api/resources/empathicVoice/types/index.d.ts +8 -0
  82. package/dist/api/resources/empathicVoice/types/index.js +8 -0
  83. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  84. package/dist/api/resources/index.d.ts +1 -1
  85. package/dist/api/resources/index.js +2 -2
  86. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -1
  87. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.js +2 -1
  88. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +10 -0
  89. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +58 -0
  90. package/dist/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -1
  91. package/dist/serialization/resources/empathicVoice/types/PostedVoice.js +2 -1
  92. package/dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +10 -0
  93. package/dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.js +31 -0
  94. package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +19 -0
  95. package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +40 -0
  96. package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +10 -0
  97. package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +31 -0
  98. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +21 -0
  99. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +42 -0
  100. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +10 -0
  101. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +31 -0
  102. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  103. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  104. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +10 -0
  105. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +58 -0
  106. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +2 -1
  107. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +2 -1
  108. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +10 -0
  109. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceProvider.js +31 -0
  110. package/dist/serialization/resources/empathicVoice/types/index.d.ts +8 -0
  111. package/dist/serialization/resources/empathicVoice/types/index.js +8 -0
  112. package/dist/serialization/resources/index.d.ts +1 -1
  113. package/dist/serialization/resources/index.js +2 -2
  114. package/dist/version.d.ts +1 -1
  115. package/dist/version.js +1 -1
  116. package/package.json +1 -1
  117. package/reference.md +569 -535
  118. package/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -1
  119. package/serialization/resources/empathicVoice/types/PostedLanguageModel.js +2 -1
  120. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +10 -0
  121. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +58 -0
  122. package/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -1
  123. package/serialization/resources/empathicVoice/types/PostedVoice.js +2 -1
  124. package/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +10 -0
  125. package/serialization/resources/empathicVoice/types/PostedVoiceProvider.js +31 -0
  126. package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +19 -0
  127. package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +40 -0
  128. package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +10 -0
  129. package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +31 -0
  130. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +21 -0
  131. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +42 -0
  132. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +10 -0
  133. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +31 -0
  134. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  135. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  136. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +10 -0
  137. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +58 -0
  138. package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +2 -1
  139. package/serialization/resources/empathicVoice/types/ReturnVoice.js +2 -1
  140. package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +10 -0
  141. package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.js +31 -0
  142. package/serialization/resources/empathicVoice/types/index.d.ts +8 -0
  143. package/serialization/resources/empathicVoice/types/index.js +8 -0
  144. package/serialization/resources/index.d.ts +1 -1
  145. package/serialization/resources/index.js +2 -2
  146. package/version.d.ts +1 -1
  147. package/version.js +1 -1
@@ -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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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",
@@ -233,13 +233,15 @@ class Chats {
233
233
  });
234
234
  }
235
235
  /**
236
+ * Fetches the audio of a previous **Chat**. For more details, see our guide on audio reconstruction [here](/docs/empathic-voice-interface-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
237
+ *
236
238
  * @param {string} id - Identifier for a chat. Formatted as a UUID.
237
239
  * @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
238
240
  *
239
241
  * @throws {@link Hume.empathicVoice.BadRequestError}
240
242
  *
241
243
  * @example
242
- * await client.empathicVoice.chats.getAudio("id")
244
+ * await client.empathicVoice.chats.getAudio("470a49f6-1dec-4afe-8b61-035d3b2d63b0")
243
245
  */
244
246
  getAudio(id, requestOptions) {
245
247
  var _a, _b;
@@ -247,7 +249,7 @@ class Chats {
247
249
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
248
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`),
249
251
  method: "GET",
250
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
251
253
  contentType: "application/json",
252
254
  requestType: "json",
253
255
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -255,7 +257,7 @@ class Chats {
255
257
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
256
258
  });
257
259
  if (_response.ok) {
258
- return serializers.empathicVoice.ReturnChatPagedEvents.parseOrThrow(_response.body, {
260
+ return serializers.empathicVoice.ReturnChatAudioReconstruction.parseOrThrow(_response.body, {
259
261
  unrecognizedObjectKeys: "passthrough",
260
262
  allowUnrecognizedUnionMembers: true,
261
263
  allowUnrecognizedEnumValues: true,
@@ -58,12 +58,12 @@ export declare class Configs {
58
58
  * },
59
59
  * eviVersion: "2",
60
60
  * voice: {
61
- * provider: "HUME_AI",
61
+ * provider: Hume.empathicVoice.PostedVoiceProvider.HumeAi,
62
62
  * name: "SAMPLE VOICE"
63
63
  * },
64
64
  * languageModel: {
65
65
  * modelProvider: Hume.empathicVoice.PostedLanguageModelModelProvider.Anthropic,
66
- * modelResource: "claude-3-5-sonnet-20240620",
66
+ * modelResource: Hume.empathicVoice.PostedLanguageModelModelResource.Claude35Sonnet20240620,
67
67
  * temperature: 1
68
68
  * },
69
69
  * eventMessages: {
@@ -118,12 +118,12 @@ export declare class Configs {
118
118
  * version: 0
119
119
  * },
120
120
  * voice: {
121
- * provider: "HUME_AI",
121
+ * provider: Hume.empathicVoice.PostedVoiceProvider.HumeAi,
122
122
  * name: "ITO"
123
123
  * },
124
124
  * languageModel: {
125
125
  * modelProvider: Hume.empathicVoice.PostedLanguageModelModelProvider.Anthropic,
126
- * modelResource: "claude-3-5-sonnet-20240620",
126
+ * modelResource: Hume.empathicVoice.PostedLanguageModelModelResource.Claude35Sonnet20240620,
127
127
  * temperature: 1
128
128
  * },
129
129
  * ellmModel: {
@@ -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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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",
@@ -151,12 +151,12 @@ class Configs {
151
151
  * },
152
152
  * eviVersion: "2",
153
153
  * voice: {
154
- * provider: "HUME_AI",
154
+ * provider: Hume.empathicVoice.PostedVoiceProvider.HumeAi,
155
155
  * name: "SAMPLE VOICE"
156
156
  * },
157
157
  * languageModel: {
158
158
  * modelProvider: Hume.empathicVoice.PostedLanguageModelModelProvider.Anthropic,
159
- * modelResource: "claude-3-5-sonnet-20240620",
159
+ * modelResource: Hume.empathicVoice.PostedLanguageModelModelResource.Claude35Sonnet20240620,
160
160
  * temperature: 1
161
161
  * },
162
162
  * eventMessages: {
@@ -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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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",
@@ -326,12 +326,12 @@ class Configs {
326
326
  * version: 0
327
327
  * },
328
328
  * voice: {
329
- * provider: "HUME_AI",
329
+ * provider: Hume.empathicVoice.PostedVoiceProvider.HumeAi,
330
330
  * name: "ITO"
331
331
  * },
332
332
  * languageModel: {
333
333
  * modelProvider: Hume.empathicVoice.PostedLanguageModelModelProvider.Anthropic,
334
- * modelResource: "claude-3-5-sonnet-20240620",
334
+ * modelResource: Hume.empathicVoice.PostedLanguageModelModelResource.Claude35Sonnet20240620,
335
335
  * temperature: 1
336
336
  * },
337
337
  * ellmModel: {
@@ -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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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, {
@@ -12,12 +12,12 @@ import * as Hume from "../../../../../../index";
12
12
  * },
13
13
  * eviVersion: "2",
14
14
  * voice: {
15
- * provider: "HUME_AI",
15
+ * provider: Hume.empathicVoice.PostedVoiceProvider.HumeAi,
16
16
  * name: "SAMPLE VOICE"
17
17
  * },
18
18
  * languageModel: {
19
19
  * modelProvider: Hume.empathicVoice.PostedLanguageModelModelProvider.Anthropic,
20
- * modelResource: "claude-3-5-sonnet-20240620",
20
+ * modelResource: Hume.empathicVoice.PostedLanguageModelModelResource.Claude35Sonnet20240620,
21
21
  * temperature: 1
22
22
  * },
23
23
  * eventMessages: {
@@ -12,12 +12,12 @@ import * as Hume from "../../../../../../index";
12
12
  * version: 0
13
13
  * },
14
14
  * voice: {
15
- * provider: "HUME_AI",
15
+ * provider: Hume.empathicVoice.PostedVoiceProvider.HumeAi,
16
16
  * name: "ITO"
17
17
  * },
18
18
  * languageModel: {
19
19
  * modelProvider: Hume.empathicVoice.PostedLanguageModelModelProvider.Anthropic,
20
- * modelResource: "claude-3-5-sonnet-20240620",
20
+ * modelResource: Hume.empathicVoice.PostedLanguageModelModelResource.Claude35Sonnet20240620,
21
21
  * temperature: 1
22
22
  * },
23
23
  * ellmModel: {
@@ -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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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, {
@@ -86,7 +86,7 @@ class Tools {
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/tools"),
88
88
  method: "GET",
89
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "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",
@@ -169,7 +169,7 @@ class Tools {
169
169
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
170
170
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/tools"),
171
171
  method: "POST",
172
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.3", "User-Agent": "hume/0.9.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
172
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
173
173
  contentType: "application/json",
174
174
  requestType: "json",
175
175
  body: serializers.empathicVoice.PostedUserDefinedTool.jsonOrThrow(request, {
@@ -249,7 +249,7 @@ class Tools {
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/tools/${encodeURIComponent(id)}`),
251
251
  method: "GET",
252
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.3", "User-Agent": "hume/0.9.3", "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.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
253
253
  contentType: "application/json",
254
254
  queryParameters: _queryParams,
255
255
  requestType: "json",
@@ -321,7 +321,7 @@ class Tools {
321
321
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
322
322
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}`),
323
323
  method: "POST",
324
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.3", "User-Agent": "hume/0.9.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
324
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
325
325
  contentType: "application/json",
326
326
  requestType: "json",
327
327
  body: serializers.empathicVoice.PostedUserDefinedToolVersion.jsonOrThrow(request, {
@@ -389,7 +389,7 @@ class Tools {
389
389
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
390
390
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}`),
391
391
  method: "DELETE",
392
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.3", "User-Agent": "hume/0.9.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
392
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
393
393
  contentType: "application/json",
394
394
  requestType: "json",
395
395
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -452,7 +452,7 @@ class Tools {
452
452
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
453
453
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}`),
454
454
  method: "PATCH",
455
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.3", "User-Agent": "hume/0.9.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
455
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
456
456
  contentType: "application/json",
457
457
  requestType: "json",
458
458
  body: serializers.empathicVoice.PostedUserDefinedToolName.jsonOrThrow(request, {
@@ -521,7 +521,7 @@ class Tools {
521
521
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
522
522
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
523
523
  method: "GET",
524
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.3", "User-Agent": "hume/0.9.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
524
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
525
525
  contentType: "application/json",
526
526
  requestType: "json",
527
527
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -591,7 +591,7 @@ class Tools {
591
591
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
592
592
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
593
593
  method: "DELETE",
594
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.3", "User-Agent": "hume/0.9.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
594
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
595
595
  contentType: "application/json",
596
596
  requestType: "json",
597
597
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -659,7 +659,7 @@ class Tools {
659
659
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
660
660
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
661
661
  method: "PATCH",
662
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.3", "User-Agent": "hume/0.9.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
662
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
663
663
  contentType: "application/json",
664
664
  requestType: "json",
665
665
  body: serializers.empathicVoice.PostedUserDefinedToolVersionDescription.jsonOrThrow(request, {
@@ -9,7 +9,7 @@ export interface PostedLanguageModel {
9
9
  /** The provider of the supplemental language model. */
10
10
  modelProvider?: Hume.empathicVoice.PostedLanguageModelModelProvider;
11
11
  /** String that specifies the language model to use with `model_provider`. */
12
- modelResource?: string;
12
+ modelResource?: Hume.empathicVoice.PostedLanguageModelModelResource;
13
13
  /**
14
14
  * The model temperature, with values between 0 to 1 (inclusive).
15
15
  *
@@ -0,0 +1,35 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * String that specifies the language model to use with `model_provider`.
6
+ */
7
+ export declare type PostedLanguageModelModelResource = "claude-3-5-sonnet-latest" | "claude-3-5-sonnet-20240620" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-2.1" | "claude-instant-1.2" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.5-pro-002" | "gemini-1.5-flash-002" | "gpt-4-turbo-preview" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo" | "gpt-4o" | "gpt-4o-mini" | "gemma-7b-it" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-70b-versatile" | "llama-3.1-8b-instant" | "accounts/fireworks/models/mixtral-8x7b-instruct" | "accounts/fireworks/models/llama-v3p1-405b-instruct" | "accounts/fireworks/models/llama-v3p1-70b-instruct" | "accounts/fireworks/models/llama-v3p1-8b-instruct" | "ellm";
8
+ export declare const PostedLanguageModelModelResource: {
9
+ readonly Claude35SonnetLatest: "claude-3-5-sonnet-latest";
10
+ readonly Claude35Sonnet20240620: "claude-3-5-sonnet-20240620";
11
+ readonly Claude3Opus20240229: "claude-3-opus-20240229";
12
+ readonly Claude3Sonnet20240229: "claude-3-sonnet-20240229";
13
+ readonly Claude3Haiku20240307: "claude-3-haiku-20240307";
14
+ readonly Claude21: "claude-2.1";
15
+ readonly ClaudeInstant12: "claude-instant-1.2";
16
+ readonly Gemini15Pro: "gemini-1.5-pro";
17
+ readonly Gemini15Flash: "gemini-1.5-flash";
18
+ readonly Gemini15Pro002: "gemini-1.5-pro-002";
19
+ readonly Gemini15Flash002: "gemini-1.5-flash-002";
20
+ readonly Gpt4TurboPreview: "gpt-4-turbo-preview";
21
+ readonly Gpt35Turbo0125: "gpt-3.5-turbo-0125";
22
+ readonly Gpt35Turbo: "gpt-3.5-turbo";
23
+ readonly Gpt4O: "gpt-4o";
24
+ readonly Gpt4OMini: "gpt-4o-mini";
25
+ readonly Gemma7BIt: "gemma-7b-it";
26
+ readonly Llama38B8192: "llama3-8b-8192";
27
+ readonly Llama370B8192: "llama3-70b-8192";
28
+ readonly Llama3170BVersatile: "llama-3.1-70b-versatile";
29
+ readonly Llama318BInstant: "llama-3.1-8b-instant";
30
+ readonly AccountsFireworksModelsMixtral8X7BInstruct: "accounts/fireworks/models/mixtral-8x7b-instruct";
31
+ readonly AccountsFireworksModelsLlamaV3P1405BInstruct: "accounts/fireworks/models/llama-v3p1-405b-instruct";
32
+ readonly AccountsFireworksModelsLlamaV3P170BInstruct: "accounts/fireworks/models/llama-v3p1-70b-instruct";
33
+ readonly AccountsFireworksModelsLlamaV3P18BInstruct: "accounts/fireworks/models/llama-v3p1-8b-instruct";
34
+ readonly Ellm: "ellm";
35
+ };
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PostedLanguageModelModelResource = void 0;
7
+ exports.PostedLanguageModelModelResource = {
8
+ Claude35SonnetLatest: "claude-3-5-sonnet-latest",
9
+ Claude35Sonnet20240620: "claude-3-5-sonnet-20240620",
10
+ Claude3Opus20240229: "claude-3-opus-20240229",
11
+ Claude3Sonnet20240229: "claude-3-sonnet-20240229",
12
+ Claude3Haiku20240307: "claude-3-haiku-20240307",
13
+ Claude21: "claude-2.1",
14
+ ClaudeInstant12: "claude-instant-1.2",
15
+ Gemini15Pro: "gemini-1.5-pro",
16
+ Gemini15Flash: "gemini-1.5-flash",
17
+ Gemini15Pro002: "gemini-1.5-pro-002",
18
+ Gemini15Flash002: "gemini-1.5-flash-002",
19
+ Gpt4TurboPreview: "gpt-4-turbo-preview",
20
+ Gpt35Turbo0125: "gpt-3.5-turbo-0125",
21
+ Gpt35Turbo: "gpt-3.5-turbo",
22
+ Gpt4O: "gpt-4o",
23
+ Gpt4OMini: "gpt-4o-mini",
24
+ Gemma7BIt: "gemma-7b-it",
25
+ Llama38B8192: "llama3-8b-8192",
26
+ Llama370B8192: "llama3-70b-8192",
27
+ Llama3170BVersatile: "llama-3.1-70b-versatile",
28
+ Llama318BInstant: "llama-3.1-8b-instant",
29
+ AccountsFireworksModelsMixtral8X7BInstruct: "accounts/fireworks/models/mixtral-8x7b-instruct",
30
+ AccountsFireworksModelsLlamaV3P1405BInstruct: "accounts/fireworks/models/llama-v3p1-405b-instruct",
31
+ AccountsFireworksModelsLlamaV3P170BInstruct: "accounts/fireworks/models/llama-v3p1-70b-instruct",
32
+ AccountsFireworksModelsLlamaV3P18BInstruct: "accounts/fireworks/models/llama-v3p1-8b-instruct",
33
+ Ellm: "ellm",
34
+ };
@@ -11,13 +11,13 @@ export interface PostedTimeoutSpecs {
11
11
  /**
12
12
  * Specifies the duration of user inactivity (in seconds) after which the EVI WebSocket connection will be automatically disconnected. Default is 600 seconds (10 minutes).
13
13
  *
14
- * Accepts a minimum value of 1 second and a maximum value of 1,800 seconds.
14
+ * Accepts a minimum value of 30 seconds and a maximum value of 1,800 seconds.
15
15
  */
16
16
  inactivity?: Hume.empathicVoice.PostedTimeoutSpecsInactivity;
17
17
  /**
18
18
  * Specifies the maximum allowed duration (in seconds) for an EVI WebSocket connection before it is automatically disconnected. Default is 1,800 seconds (30 minutes).
19
19
  *
20
- * Accepts a minimum value of 1 second and a maximum value of 1,800 seconds.
20
+ * Accepts a minimum value of 30 seconds and a maximum value of 1,800 seconds.
21
21
  */
22
22
  maxDuration?: Hume.empathicVoice.PostedTimeoutSpecsMaxDuration;
23
23
  }
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Specifies the duration of user inactivity (in seconds) after which the EVI WebSocket connection will be automatically disconnected. Default is 600 seconds (10 minutes).
6
6
  *
7
- * Accepts a minimum value of 1 second and a maximum value of 1,800 seconds.
7
+ * Accepts a minimum value of 30 seconds and a maximum value of 1,800 seconds.
8
8
  */
9
9
  export interface PostedTimeoutSpecsInactivity {
10
10
  /**
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Specifies the maximum allowed duration (in seconds) for an EVI WebSocket connection before it is automatically disconnected. Default is 1,800 seconds (30 minutes).
6
6
  *
7
- * Accepts a minimum value of 1 second and a maximum value of 1,800 seconds.
7
+ * Accepts a minimum value of 30 seconds and a maximum value of 1,800 seconds.
8
8
  */
9
9
  export interface PostedTimeoutSpecsMaxDuration {
10
10
  /**