hume 0.9.2 → 0.9.3

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 (140) hide show
  1. package/.mock/definition/api.yml +6 -6
  2. package/.mock/definition/empathic-voice/__package__.yml +2810 -2703
  3. package/.mock/definition/empathic-voice/chat.yml +143 -143
  4. package/.mock/definition/empathic-voice/chatGroups.yml +579 -508
  5. package/.mock/definition/empathic-voice/chats.yml +490 -449
  6. package/.mock/definition/empathic-voice/configs.yml +913 -871
  7. package/.mock/definition/empathic-voice/customVoices.yml +255 -234
  8. package/.mock/definition/empathic-voice/prompts.yml +523 -526
  9. package/.mock/definition/empathic-voice/tools.yml +588 -588
  10. package/.mock/definition/expression-measurement/batch/__package__.yml +1758 -1758
  11. package/.mock/definition/expression-measurement/stream/__package__.yml +486 -485
  12. package/.mock/fern.config.json +3 -3
  13. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +11 -0
  14. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +77 -3
  15. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +25 -0
  16. package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +1 -0
  17. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +10 -0
  18. package/api/resources/empathicVoice/resources/chats/client/Client.js +63 -2
  19. package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  20. package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +1 -1
  21. package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +2 -7
  22. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +8 -13
  23. package/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +1 -1
  24. package/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -6
  25. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  26. package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +2 -2
  27. package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  28. package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +1 -1
  29. package/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
  30. package/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +2 -2
  31. package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +3 -2
  32. package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +2 -1
  33. package/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +51 -9
  34. package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  35. package/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +2 -2
  36. package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +3 -2
  37. package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +2 -1
  38. package/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +51 -9
  39. package/api/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
  40. package/api/resources/empathicVoice/types/UserInput.d.ts +3 -1
  41. package/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +2 -1
  42. package/api/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
  43. package/api/resources/empathicVoice/types/index.d.ts +0 -2
  44. package/api/resources/empathicVoice/types/index.js +0 -2
  45. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  46. package/api/resources/index.d.ts +1 -1
  47. package/api/resources/index.js +2 -2
  48. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +11 -0
  49. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +77 -3
  50. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +25 -0
  51. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +1 -0
  52. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +10 -0
  53. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +63 -2
  54. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  55. package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +1 -1
  56. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +2 -7
  57. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +8 -13
  58. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +1 -1
  59. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -6
  60. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  61. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +2 -2
  62. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  63. package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +1 -1
  64. package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
  65. package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +2 -2
  66. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +3 -2
  67. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +2 -1
  68. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +51 -9
  69. package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  70. package/dist/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +2 -2
  71. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +3 -2
  72. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +2 -1
  73. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +51 -9
  74. package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
  75. package/dist/api/resources/empathicVoice/types/UserInput.d.ts +3 -1
  76. package/dist/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +2 -1
  77. package/dist/api/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
  78. package/dist/api/resources/empathicVoice/types/index.d.ts +0 -2
  79. package/dist/api/resources/empathicVoice/types/index.js +0 -2
  80. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  81. package/dist/api/resources/index.d.ts +1 -1
  82. package/dist/api/resources/index.js +2 -2
  83. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
  84. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.js +1 -1
  85. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +1 -1
  86. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +1 -1
  87. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +9 -2
  88. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +9 -2
  89. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +1 -1
  90. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +1 -1
  91. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +1 -1
  92. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +1 -1
  93. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +9 -2
  94. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +9 -2
  95. package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +1 -1
  96. package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
  97. package/dist/serialization/resources/empathicVoice/types/index.d.ts +0 -2
  98. package/dist/serialization/resources/empathicVoice/types/index.js +0 -2
  99. package/dist/serialization/resources/index.d.ts +1 -1
  100. package/dist/serialization/resources/index.js +2 -2
  101. package/dist/version.d.ts +1 -1
  102. package/dist/version.js +1 -1
  103. package/package.json +1 -1
  104. package/reference.md +573 -607
  105. package/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
  106. package/serialization/resources/empathicVoice/types/PostedCustomVoice.js +1 -1
  107. package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +1 -1
  108. package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +1 -1
  109. package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +9 -2
  110. package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +9 -2
  111. package/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +1 -1
  112. package/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +1 -1
  113. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +1 -1
  114. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +1 -1
  115. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +9 -2
  116. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +9 -2
  117. package/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +1 -1
  118. package/serialization/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
  119. package/serialization/resources/empathicVoice/types/index.d.ts +0 -2
  120. package/serialization/resources/empathicVoice/types/index.js +0 -2
  121. package/serialization/resources/index.d.ts +1 -1
  122. package/serialization/resources/index.js +2 -2
  123. package/version.d.ts +1 -1
  124. package/version.js +1 -1
  125. package/api/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -9
  126. package/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -13
  127. package/dist/api/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -9
  128. package/dist/api/resources/empathicVoice/types/ExtendedVoiceArgs.js +0 -5
  129. package/dist/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -13
  130. package/dist/api/resources/empathicVoice/types/VoiceArgs.js +0 -5
  131. package/dist/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -15
  132. package/dist/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.js +0 -36
  133. package/dist/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -19
  134. package/dist/serialization/resources/empathicVoice/types/VoiceArgs.js +0 -40
  135. package/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -15
  136. package/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.js +0 -36
  137. package/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -19
  138. package/serialization/resources/empathicVoice/types/VoiceArgs.js +0 -40
  139. /package/api/resources/empathicVoice/{types/ExtendedVoiceArgs.js → resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.js} +0 -0
  140. /package/{api/resources/empathicVoice/types/VoiceArgs.js → dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.js} +0 -0
@@ -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.1", "User-Agent": "hume/0.9.1", "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.3", "User-Agent": "hume/0.9.3", "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.1", "User-Agent": "hume/0.9.1", "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.3", "User-Agent": "hume/0.9.3", "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.1", "User-Agent": "hume/0.9.1", "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.3", "User-Agent": "hume/0.9.3", "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.1", "User-Agent": "hume/0.9.1", "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.3", "User-Agent": "hume/0.9.3", "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.1", "User-Agent": "hume/0.9.1", "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.3", "User-Agent": "hume/0.9.3", "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.1", "User-Agent": "hume/0.9.1", "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.3", "User-Agent": "hume/0.9.3", "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.1", "User-Agent": "hume/0.9.1", "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.3", "User-Agent": "hume/0.9.3", "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.1", "User-Agent": "hume/0.9.1", "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.3", "User-Agent": "hume/0.9.3", "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.1", "User-Agent": "hume/0.9.1", "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.3", "User-Agent": "hume/0.9.3", "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, {
@@ -26,7 +26,7 @@ export interface ToolsListToolsRequest {
26
26
  */
27
27
  restrictToMostRecent?: boolean;
28
28
  /**
29
- * Filter to only include tools with this name.
29
+ * Filter to only include tools with name.
30
30
  */
31
31
  name?: string;
32
32
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * When provided, the output is audio.
5
+ * The type of message sent through the socket; for an Audio Output message, this must be `audio_output`.
6
6
  */
7
7
  export interface AudioOutput {
8
8
  /** The type of message sent through the socket; for an Audio Output message, this must be `audio_output`. */
@@ -14,8 +14,8 @@ export interface PostedCustomVoice {
14
14
  name: string;
15
15
  /** Specifies the base voice used to create the Custom Voice. */
16
16
  baseVoice: Hume.empathicVoice.PostedCustomVoiceBaseVoice;
17
- /** The name of the parameter model used to define which attributes are used by the `parameters` field. Currently, only `20240715-4parameter` is supported as the parameter model. */
18
- parameterModel: "20240715-4parameter";
17
+ /** The name of the parameter model used to define which attributes are used by the `parameters` field. Currently, only `20241004-11parameter` is supported as the parameter model. */
18
+ parameterModel: "20241004-11parameter";
19
19
  /**
20
20
  * The specified attributes of a Custom Voice.
21
21
  *
@@ -4,13 +4,14 @@
4
4
  /**
5
5
  * Specifies the base voice used to create the Custom Voice.
6
6
  */
7
- export declare type PostedCustomVoiceBaseVoice = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "STELLA" | "WHIMSY";
7
+ export declare type PostedCustomVoiceBaseVoice = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "WHIMSY" | "STELLA" | "SUNNY";
8
8
  export declare const PostedCustomVoiceBaseVoice: {
9
9
  readonly Ito: "ITO";
10
10
  readonly Kora: "KORA";
11
11
  readonly Dacher: "DACHER";
12
12
  readonly Aura: "AURA";
13
13
  readonly Finn: "FINN";
14
- readonly Stella: "STELLA";
15
14
  readonly Whimsy: "WHIMSY";
15
+ readonly Stella: "STELLA";
16
+ readonly Sunny: "SUNNY";
16
17
  };
@@ -10,6 +10,7 @@ exports.PostedCustomVoiceBaseVoice = {
10
10
  Dacher: "DACHER",
11
11
  Aura: "AURA",
12
12
  Finn: "FINN",
13
- Stella: "STELLA",
14
13
  Whimsy: "WHIMSY",
14
+ Stella: "STELLA",
15
+ Sunny: "SUNNY",
15
16
  };
@@ -8,27 +8,69 @@
8
8
  */
9
9
  export interface PostedCustomVoiceParameters {
10
10
  /**
11
- * The vocalization of gender, ranging between masculine and feminine.
11
+ * The vocalization of gender, ranging between more masculine and more feminine.
12
12
  *
13
13
  * The default value is `0`, with a minimum of `-100` (more masculine) and a maximum of `100` (more feminine). A value of `0` leaves this parameter unchanged from the base voice.
14
14
  */
15
15
  gender?: number;
16
16
  /**
17
- * The texture of the voice, ranging between bright and husky.
17
+ * The clarity of the voice, ranging between mumbled and articulate.
18
18
  *
19
- * The default value is `0`, with a minimum of `-100` (brighter) and a maximum of `100` (huskier). A value of `0` leaves this parameter unchanged from the base voice.
19
+ * The default value is `0`, with a minimum of `-100` (mumbled) and a maximum of `100` (articulate). A value of `0` leaves this parameter unchanged from the base voice.
20
20
  */
21
- huskiness?: number;
21
+ articulation?: number;
22
22
  /**
23
- * The openness of the voice, ranging between resonant and nasal.
23
+ * The firmness of the voice, ranging between whiny and bold.
24
24
  *
25
- * The default value is `0`, with a minimum of `-100` (more resonant) and a maximum of `100` (more nasal). A value of `0` leaves this parameter unchanged from the base voice.
25
+ * The default value is `0`, with a minimum of `-100` (whiny) and a maximum of `100` (bold). A value of `0` leaves this parameter unchanged from the base voice.
26
+ */
27
+ assertiveness?: number;
28
+ /**
29
+ * The density of the voice, ranging between deflated and buoyant.
30
+ *
31
+ * The default value is `0`, with a minimum of `-100` (deflated) and a maximum of `100` (buoyant). A value of `0` leaves this parameter unchanged from the base voice.
32
+ */
33
+ buoyancy?: number;
34
+ /**
35
+ * The assuredness of the voice, ranging between shy and confident.
36
+ *
37
+ * The default value is `0`, with a minimum of `-100` (shy) and a maximum of `100` (confident). A value of `0` leaves this parameter unchanged from the base voice.
38
+ */
39
+ confidence?: number;
40
+ /**
41
+ * The excitement within the voice, ranging between calm and enthusiastic.
42
+ *
43
+ * The default value is `0`, with a minimum of `-100` (calm) and a maximum of `100` (enthusiastic). A value of `0` leaves this parameter unchanged from the base voice.
44
+ */
45
+ enthusiasm?: number;
46
+ /**
47
+ * The openness of the voice, ranging between clear and nasal.
48
+ *
49
+ * The default value is `0`, with a minimum of `-100` (clear) and a maximum of `100` (nasal). A value of `0` leaves this parameter unchanged from the base voice.
26
50
  */
27
51
  nasality?: number;
28
52
  /**
29
- * The frequency of the voice, ranging between low and high.
53
+ * The stress within the voice, ranging between tense and relaxed.
54
+ *
55
+ * The default value is `0`, with a minimum of `-100` (tense) and a maximum of `100` (relaxed). A value of `0` leaves this parameter unchanged from the base voice.
56
+ */
57
+ relaxedness?: number;
58
+ /**
59
+ * The texture of the voice, ranging between smooth and staccato.
60
+ *
61
+ * The default value is `0`, with a minimum of `-100` (smooth) and a maximum of `100` (staccato). A value of `0` leaves this parameter unchanged from the base voice.
62
+ */
63
+ smoothness?: number;
64
+ /**
65
+ * The liveliness behind the voice, ranging between tepid and vigorous.
66
+ *
67
+ * The default value is `0`, with a minimum of `-100` (tepid) and a maximum of `100` (vigorous). A value of `0` leaves this parameter unchanged from the base voice.
68
+ */
69
+ tepidity?: number;
70
+ /**
71
+ * The containment of the voice, ranging between tight and breathy.
30
72
  *
31
- * The default value is `0`, with a minimum of `-100` (lower) and a maximum of `100` (higher). A value of `0` leaves this parameter unchanged from the base voice.
73
+ * The default value is `0`, with a minimum of `-100` (tight) and a maximum of `100` (breathy). A value of `0` leaves this parameter unchanged from the base voice.
32
74
  */
33
- pitch?: number;
75
+ tightness?: number;
34
76
  }
@@ -11,7 +11,7 @@ export interface PostedVoice {
11
11
  /**
12
12
  * Specifies the name of the voice to use.
13
13
  *
14
- * This can be either the name of a previously created Custom Voice or one of our 7 base voices: `ITO`, `KORA`, `DACHER`, `AURA`, `FINN`, `WHIMSY`, or `STELLA`.
14
+ * This can be either the name of a previously created Custom Voice or one of our 8 base voices: `ITO`, `KORA`, `DACHER`, `AURA`, `FINN`, `WHIMSY`, `STELLA`, or `SUNNY`.
15
15
  *
16
16
  * The name will be automatically converted to uppercase (e.g., "Ito" becomes "ITO"). If a name is not specified, then a [Custom Voice](/reference/empathic-voice-interface-evi/configs/create-config#request.body.voice.custom_voice) specification must be provided.
17
17
  */
@@ -24,8 +24,8 @@ export interface ReturnCustomVoice {
24
24
  modifiedOn: number;
25
25
  /** The base voice used to create the Custom Voice. */
26
26
  baseVoice: Hume.empathicVoice.ReturnCustomVoiceBaseVoice;
27
- /** The name of the parameter model used to define which attributes are used by the `parameters` field. Currently, only `20240715-4parameter` is supported as the parameter model. */
28
- parameterModel: "20240715-4parameter";
27
+ /** The name of the parameter model used to define which attributes are used by the `parameters` field. Currently, only `20241004-11parameter` is supported as the parameter model. */
28
+ parameterModel: "20241004-11parameter";
29
29
  /** The specified attributes of a Custom Voice. If a parameter's value is `0` (default), it will not be included in the response. */
30
30
  parameters: Hume.empathicVoice.ReturnCustomVoiceParameters;
31
31
  }
@@ -4,13 +4,14 @@
4
4
  /**
5
5
  * The base voice used to create the Custom Voice.
6
6
  */
7
- export declare type ReturnCustomVoiceBaseVoice = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "STELLA" | "WHIMSY";
7
+ export declare type ReturnCustomVoiceBaseVoice = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "WHIMSY" | "STELLA" | "SUNNY";
8
8
  export declare const ReturnCustomVoiceBaseVoice: {
9
9
  readonly Ito: "ITO";
10
10
  readonly Kora: "KORA";
11
11
  readonly Dacher: "DACHER";
12
12
  readonly Aura: "AURA";
13
13
  readonly Finn: "FINN";
14
- readonly Stella: "STELLA";
15
14
  readonly Whimsy: "WHIMSY";
15
+ readonly Stella: "STELLA";
16
+ readonly Sunny: "SUNNY";
16
17
  };
@@ -10,6 +10,7 @@ exports.ReturnCustomVoiceBaseVoice = {
10
10
  Dacher: "DACHER",
11
11
  Aura: "AURA",
12
12
  Finn: "FINN",
13
- Stella: "STELLA",
14
13
  Whimsy: "WHIMSY",
14
+ Stella: "STELLA",
15
+ Sunny: "SUNNY",
15
16
  };
@@ -6,27 +6,69 @@
6
6
  */
7
7
  export interface ReturnCustomVoiceParameters {
8
8
  /**
9
- * The vocalization of gender, ranging between masculine and feminine.
9
+ * The vocalization of gender, ranging between more masculine and more feminine.
10
10
  *
11
11
  * The default value is `0`, with a minimum of `-100` (more masculine) and a maximum of `100` (more feminine). A value of `0` leaves this parameter unchanged from the base voice.
12
12
  */
13
13
  gender?: number;
14
14
  /**
15
- * The texture of the voice, ranging between bright and husky.
15
+ * The clarity of the voice, ranging between mumbled and articulate.
16
16
  *
17
- * The default value is `0`, with a minimum of `-100` (brighter) and a maximum of `100` (huskier). A value of `0` leaves this parameter unchanged from the base voice.
17
+ * The default value is `0`, with a minimum of `-100` (mumbled) and a maximum of `100` (articulate). A value of `0` leaves this parameter unchanged from the base voice.
18
18
  */
19
- huskiness?: number;
19
+ articulation?: number;
20
20
  /**
21
- * The openness of the voice, ranging between resonant and nasal.
21
+ * The firmness of the voice, ranging between whiny and bold.
22
22
  *
23
- * The default value is `0`, with a minimum of `-100` (more resonant) and a maximum of `100` (more nasal). A value of `0` leaves this parameter unchanged from the base voice.
23
+ * The default value is `0`, with a minimum of `-100` (whiny) and a maximum of `100` (bold). A value of `0` leaves this parameter unchanged from the base voice.
24
+ */
25
+ assertiveness?: number;
26
+ /**
27
+ * The density of the voice, ranging between deflated and buoyant.
28
+ *
29
+ * The default value is `0`, with a minimum of `-100` (deflated) and a maximum of `100` (buoyant). A value of `0` leaves this parameter unchanged from the base voice.
30
+ */
31
+ buoyancy?: number;
32
+ /**
33
+ * The assuredness of the voice, ranging between shy and confident.
34
+ *
35
+ * The default value is `0`, with a minimum of `-100` (shy) and a maximum of `100` (confident). A value of `0` leaves this parameter unchanged from the base voice.
36
+ */
37
+ confidence?: number;
38
+ /**
39
+ * The excitement within the voice, ranging between calm and enthusiastic.
40
+ *
41
+ * The default value is `0`, with a minimum of `-100` (calm) and a maximum of `100` (enthusiastic). A value of `0` leaves this parameter unchanged from the base voice.
42
+ */
43
+ enthusiasm?: number;
44
+ /**
45
+ * The openness of the voice, ranging between clear and nasal.
46
+ *
47
+ * The default value is `0`, with a minimum of `-100` (clear) and a maximum of `100` (nasal). A value of `0` leaves this parameter unchanged from the base voice.
24
48
  */
25
49
  nasality?: number;
26
50
  /**
27
- * The frequency of the voice, ranging between low and high.
51
+ * The stress within the voice, ranging between tense and relaxed.
52
+ *
53
+ * The default value is `0`, with a minimum of `-100` (tense) and a maximum of `100` (relaxed). A value of `0` leaves this parameter unchanged from the base voice.
54
+ */
55
+ relaxedness?: number;
56
+ /**
57
+ * The texture of the voice, ranging between smooth and staccato.
58
+ *
59
+ * The default value is `0`, with a minimum of `-100` (smooth) and a maximum of `100` (staccato). A value of `0` leaves this parameter unchanged from the base voice.
60
+ */
61
+ smoothness?: number;
62
+ /**
63
+ * The liveliness behind the voice, ranging between tepid and vigorous.
64
+ *
65
+ * The default value is `0`, with a minimum of `-100` (tepid) and a maximum of `100` (vigorous). A value of `0` leaves this parameter unchanged from the base voice.
66
+ */
67
+ tepidity?: number;
68
+ /**
69
+ * The containment of the voice, ranging between tight and breathy.
28
70
  *
29
- * The default value is `0`, with a minimum of `-100` (lower) and a maximum of `100` (higher). A value of `0` leaves this parameter unchanged from the base voice.
71
+ * The default value is `0`, with a minimum of `-100` (tight) and a maximum of `100` (breathy). A value of `0` leaves this parameter unchanged from the base voice.
30
72
  */
31
- pitch?: number;
73
+ tightness?: number;
32
74
  }
@@ -11,7 +11,7 @@ export interface ReturnVoice {
11
11
  /**
12
12
  * The name of the specified voice.
13
13
  *
14
- * This will either be the name of a previously created Custom Voice or one of our 7 base voices: `ITO`, `KORA`, `DACHER`, `AURA`, `FINN`, `WHIMSY`, or `STELLA`.
14
+ * This will either be the name of a previously created Custom Voice or one of our 8 base voices: `ITO`, `KORA`, `DACHER`, `AURA`, `FINN`, `WHIMSY`, `STELLA`, or `SUNNY`.
15
15
  */
16
16
  name?: string;
17
17
  customVoice?: Hume.empathicVoice.ReturnCustomVoice;
@@ -2,7 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * User text to insert into the conversation.
5
+ * User text to insert into the conversation. Text sent through a User Input message is treated as the user’s speech to EVI. EVI processes this input and provides a corresponding response.
6
+ *
7
+ * Expression measurement results are not available for User Input messages, as the prosody model relies on audio input and cannot process text alone.
6
8
  */
7
9
  export interface UserInput {
8
10
  /** The type of message sent through the socket; must be `user_input` for our server to correctly identify and process it as a User Input message. */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type VoiceNameEnum = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "SIENNA" | "WILLOW" | "SCOUT" | "WHIMSY" | "ACE" | "JUNO" | "STELLA" | "HIRO";
4
+ export declare type VoiceNameEnum = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "SIENNA" | "WILLOW" | "SCOUT" | "WHIMSY" | "ACE" | "JUNO" | "STELLA" | "HIRO" | "SUNNY";
5
5
  export declare const VoiceNameEnum: {
6
6
  readonly Ito: "ITO";
7
7
  readonly Kora: "KORA";
@@ -16,4 +16,5 @@ export declare const VoiceNameEnum: {
16
16
  readonly Juno: "JUNO";
17
17
  readonly Stella: "STELLA";
18
18
  readonly Hiro: "HIRO";
19
+ readonly Sunny: "SUNNY";
19
20
  };
@@ -18,4 +18,5 @@ exports.VoiceNameEnum = {
18
18
  Juno: "JUNO",
19
19
  Stella: "STELLA",
20
20
  Hiro: "HIRO",
21
+ Sunny: "SUNNY",
21
22
  };
@@ -96,9 +96,7 @@ export * from "./JsonMessage";
96
96
  export * from "./TtsInput";
97
97
  export * from "./TextInput";
98
98
  export * from "./FunctionCallResponseInput";
99
- export * from "./ExtendedVoiceArgs";
100
99
  export * from "./HttpValidationError";
101
100
  export * from "./ValidationErrorLocItem";
102
101
  export * from "./ValidationError";
103
- export * from "./VoiceArgs";
104
102
  export * from "./VoiceNameEnum";
@@ -112,9 +112,7 @@ __exportStar(require("./JsonMessage"), exports);
112
112
  __exportStar(require("./TtsInput"), exports);
113
113
  __exportStar(require("./TextInput"), exports);
114
114
  __exportStar(require("./FunctionCallResponseInput"), exports);
115
- __exportStar(require("./ExtendedVoiceArgs"), exports);
116
115
  __exportStar(require("./HttpValidationError"), exports);
117
116
  __exportStar(require("./ValidationErrorLocItem"), exports);
118
117
  __exportStar(require("./ValidationError"), exports);
119
- __exportStar(require("./VoiceArgs"), exports);
120
118
  __exportStar(require("./VoiceNameEnum"), exports);
@@ -88,7 +88,7 @@ class Batch {
88
88
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
89
89
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/batch/jobs"),
90
90
  method: "GET",
91
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.1", "User-Agent": "hume/0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
91
+ 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())),
92
92
  contentType: "application/json",
93
93
  queryParameters: _queryParams,
94
94
  requestType: "json",
@@ -143,7 +143,7 @@ class Batch {
143
143
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
144
144
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/batch/jobs"),
145
145
  method: "POST",
146
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.1", "User-Agent": "hume/0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
146
+ 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())),
147
147
  contentType: "application/json",
148
148
  requestType: "json",
149
149
  body: serializers.expressionMeasurement.batch.InferenceBaseRequest.jsonOrThrow(request, {
@@ -197,7 +197,7 @@ class Batch {
197
197
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
198
198
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/batch/jobs/${encodeURIComponent(id)}`),
199
199
  method: "GET",
200
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.1", "User-Agent": "hume/0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
200
+ 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())),
201
201
  contentType: "application/json",
202
202
  requestType: "json",
203
203
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -248,7 +248,7 @@ class Batch {
248
248
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
249
249
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/batch/jobs/${encodeURIComponent(id)}/predictions`),
250
250
  method: "GET",
251
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.1", "User-Agent": "hume/0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
251
+ 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
252
  contentType: "application/json",
253
253
  requestType: "json",
254
254
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -293,7 +293,7 @@ class Batch {
293
293
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
294
294
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/batch/jobs/${encodeURIComponent(id)}/artifacts`),
295
295
  method: "GET",
296
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.1", "User-Agent": "hume/0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
296
+ 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())),
297
297
  contentType: "application/json",
298
298
  requestType: "json",
299
299
  responseType: "streaming",
@@ -349,7 +349,7 @@ class Batch {
349
349
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
350
350
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/batch/jobs"),
351
351
  method: "POST",
352
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.1", "User-Agent": "hume/0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
352
+ headers: Object.assign(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())), _maybeEncodedRequest.headers),
353
353
  requestType: "file",
354
354
  duplex: _maybeEncodedRequest.duplex,
355
355
  body: _maybeEncodedRequest.body,
@@ -1,2 +1,2 @@
1
- export * as expressionMeasurement from "./expressionMeasurement";
2
1
  export * as empathicVoice from "./empathicVoice";
2
+ export * as expressionMeasurement from "./expressionMeasurement";
@@ -23,6 +23,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.empathicVoice = exports.expressionMeasurement = void 0;
27
- exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
26
+ exports.expressionMeasurement = exports.empathicVoice = void 0;
28
27
  exports.empathicVoice = __importStar(require("./empathicVoice"));
28
+ exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
@@ -11,7 +11,7 @@ export declare namespace PostedCustomVoice {
11
11
  interface Raw {
12
12
  name: string;
13
13
  base_voice: PostedCustomVoiceBaseVoice.Raw;
14
- parameter_model: "20240715-4parameter";
14
+ parameter_model: "20241004-11parameter";
15
15
  parameters?: PostedCustomVoiceParameters.Raw | null;
16
16
  }
17
17
  }
@@ -33,6 +33,6 @@ const PostedCustomVoiceParameters_1 = require("./PostedCustomVoiceParameters");
33
33
  exports.PostedCustomVoice = core.serialization.object({
34
34
  name: core.serialization.string(),
35
35
  baseVoice: core.serialization.property("base_voice", PostedCustomVoiceBaseVoice_1.PostedCustomVoiceBaseVoice),
36
- parameterModel: core.serialization.property("parameter_model", core.serialization.stringLiteral("20240715-4parameter")),
36
+ parameterModel: core.serialization.property("parameter_model", core.serialization.stringLiteral("20241004-11parameter")),
37
37
  parameters: PostedCustomVoiceParameters_1.PostedCustomVoiceParameters.optional(),
38
38
  });
@@ -6,5 +6,5 @@ import * as Hume from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const PostedCustomVoiceBaseVoice: core.serialization.Schema<serializers.empathicVoice.PostedCustomVoiceBaseVoice.Raw, Hume.empathicVoice.PostedCustomVoiceBaseVoice>;
8
8
  export declare namespace PostedCustomVoiceBaseVoice {
9
- type Raw = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "STELLA" | "WHIMSY";
9
+ type Raw = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "WHIMSY" | "STELLA" | "SUNNY";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.PostedCustomVoiceBaseVoice = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- exports.PostedCustomVoiceBaseVoice = core.serialization.enum_(["ITO", "KORA", "DACHER", "AURA", "FINN", "STELLA", "WHIMSY"]);
31
+ exports.PostedCustomVoiceBaseVoice = core.serialization.enum_(["ITO", "KORA", "DACHER", "AURA", "FINN", "WHIMSY", "STELLA", "SUNNY"]);
@@ -8,8 +8,15 @@ export declare const PostedCustomVoiceParameters: core.serialization.ObjectSchem
8
8
  export declare namespace PostedCustomVoiceParameters {
9
9
  interface Raw {
10
10
  gender?: number | null;
11
- huskiness?: number | null;
11
+ articulation?: number | null;
12
+ assertiveness?: number | null;
13
+ buoyancy?: number | null;
14
+ confidence?: number | null;
15
+ enthusiasm?: number | null;
12
16
  nasality?: number | null;
13
- pitch?: number | null;
17
+ relaxedness?: number | null;
18
+ smoothness?: number | null;
19
+ tepidity?: number | null;
20
+ tightness?: number | null;
14
21
  }
15
22
  }
@@ -30,7 +30,14 @@ exports.PostedCustomVoiceParameters = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
31
  exports.PostedCustomVoiceParameters = core.serialization.object({
32
32
  gender: core.serialization.number().optional(),
33
- huskiness: core.serialization.number().optional(),
33
+ articulation: core.serialization.number().optional(),
34
+ assertiveness: core.serialization.number().optional(),
35
+ buoyancy: core.serialization.number().optional(),
36
+ confidence: core.serialization.number().optional(),
37
+ enthusiasm: core.serialization.number().optional(),
34
38
  nasality: core.serialization.number().optional(),
35
- pitch: core.serialization.number().optional(),
39
+ relaxedness: core.serialization.number().optional(),
40
+ smoothness: core.serialization.number().optional(),
41
+ tepidity: core.serialization.number().optional(),
42
+ tightness: core.serialization.number().optional(),
36
43
  });
@@ -15,7 +15,7 @@ export declare namespace ReturnCustomVoice {
15
15
  created_on: number;
16
16
  modified_on: number;
17
17
  base_voice: ReturnCustomVoiceBaseVoice.Raw;
18
- parameter_model: "20240715-4parameter";
18
+ parameter_model: "20241004-11parameter";
19
19
  parameters: ReturnCustomVoiceParameters.Raw;
20
20
  }
21
21
  }
@@ -37,6 +37,6 @@ exports.ReturnCustomVoice = core.serialization.object({
37
37
  createdOn: core.serialization.property("created_on", core.serialization.number()),
38
38
  modifiedOn: core.serialization.property("modified_on", core.serialization.number()),
39
39
  baseVoice: core.serialization.property("base_voice", ReturnCustomVoiceBaseVoice_1.ReturnCustomVoiceBaseVoice),
40
- parameterModel: core.serialization.property("parameter_model", core.serialization.stringLiteral("20240715-4parameter")),
40
+ parameterModel: core.serialization.property("parameter_model", core.serialization.stringLiteral("20241004-11parameter")),
41
41
  parameters: ReturnCustomVoiceParameters_1.ReturnCustomVoiceParameters,
42
42
  });
@@ -6,5 +6,5 @@ import * as Hume from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const ReturnCustomVoiceBaseVoice: core.serialization.Schema<serializers.empathicVoice.ReturnCustomVoiceBaseVoice.Raw, Hume.empathicVoice.ReturnCustomVoiceBaseVoice>;
8
8
  export declare namespace ReturnCustomVoiceBaseVoice {
9
- type Raw = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "STELLA" | "WHIMSY";
9
+ type Raw = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "WHIMSY" | "STELLA" | "SUNNY";
10
10
  }