hume 0.9.2 → 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.
- package/.mock/definition/api.yml +6 -6
- package/.mock/definition/empathic-voice/__package__.yml +3083 -2703
- package/.mock/definition/empathic-voice/chat.yml +143 -143
- package/.mock/definition/empathic-voice/chatGroups.yml +581 -508
- package/.mock/definition/empathic-voice/chats.yml +480 -449
- package/.mock/definition/empathic-voice/configs.yml +913 -871
- package/.mock/definition/empathic-voice/customVoices.yml +255 -234
- package/.mock/definition/empathic-voice/prompts.yml +523 -526
- package/.mock/definition/empathic-voice/tools.yml +588 -588
- package/.mock/definition/expression-measurement/batch/__package__.yml +1758 -1758
- package/.mock/definition/expression-measurement/stream/__package__.yml +486 -485
- package/.mock/fern.config.json +3 -3
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +17 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +83 -3
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +29 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +1 -0
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +12 -0
- package/api/resources/empathicVoice/resources/chats/client/Client.js +65 -2
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
- package/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
- package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +1 -1
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
- package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +2 -7
- package/api/resources/empathicVoice/resources/customVoices/client/Client.js +8 -13
- package/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +1 -1
- package/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -6
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +2 -2
- package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +1 -1
- package/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +2 -2
- package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +3 -2
- package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +2 -1
- package/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +51 -9
- package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +35 -0
- package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -0
- package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +2 -2
- package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedVoice.d.ts +3 -3
- package/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +11 -0
- package/api/resources/empathicVoice/types/PostedVoiceProvider.js +10 -0
- package/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +35 -0
- package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +24 -0
- package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +13 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +37 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +2 -2
- package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +3 -2
- package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +2 -1
- package/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +51 -9
- package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +35 -0
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +34 -0
- package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +2 -2
- package/api/resources/empathicVoice/types/ReturnVoice.d.ts +3 -3
- package/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnVoiceProvider.js +10 -0
- package/api/resources/empathicVoice/types/UserInput.d.ts +3 -1
- package/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +2 -1
- package/api/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
- package/api/resources/empathicVoice/types/index.d.ts +8 -2
- package/api/resources/empathicVoice/types/index.js +8 -2
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +17 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +83 -3
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +29 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +12 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +65 -2
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +2 -7
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +8 -13
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -6
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +2 -2
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +3 -2
- package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +2 -1
- package/dist/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +51 -9
- package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +35 -0
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -0
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +3 -3
- package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +35 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +24 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +37 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +3 -2
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +2 -1
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +51 -9
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +35 -0
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +34 -0
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +3 -3
- package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.js +10 -0
- package/dist/api/resources/empathicVoice/types/UserInput.d.ts +3 -1
- package/dist/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +2 -1
- package/dist/api/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +8 -2
- package/dist/api/resources/empathicVoice/types/index.js +8 -2
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +9 -2
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +9 -2
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +58 -0
- package/dist/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/PostedVoice.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/{ExtendedVoiceArgs.js → PostedVoiceProvider.js} +2 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +19 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +40 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +10 -0
- package/{serialization/resources/empathicVoice/types/ExtendedVoiceArgs.js → dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js} +2 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +21 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +42 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +10 -0
- package/{serialization/resources/empathicVoice/types/VoiceArgs.js → dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js} +2 -11
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +9 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +9 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +58 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/{VoiceArgs.js → ReturnVoiceProvider.js} +2 -11
- package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +8 -2
- package/dist/serialization/resources/empathicVoice/types/index.js +8 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +144 -144
- package/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/PostedCustomVoice.js +1 -1
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +1 -1
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +9 -2
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +9 -2
- package/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/PostedLanguageModel.js +2 -1
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +58 -0
- package/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/PostedVoice.js +2 -1
- package/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/PostedVoiceProvider.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +19 -0
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +40 -0
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +21 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +42 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +1 -1
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +1 -1
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +9 -2
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +9 -2
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +58 -0
- package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnVoice.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.js +31 -0
- package/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +8 -2
- package/serialization/resources/empathicVoice/types/index.js +8 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -9
- package/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -13
- package/dist/api/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -9
- package/dist/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -13
- package/dist/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -15
- package/dist/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -19
- package/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -15
- package/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -19
- /package/api/resources/empathicVoice/{types/ExtendedVoiceArgs.js → resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.js} +0 -0
- /package/api/resources/empathicVoice/types/{VoiceArgs.js → ReturnChatAudioReconstruction.js} +0 -0
- /package/{dist/api/resources/empathicVoice/types/ExtendedVoiceArgs.js → api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js} +0 -0
- /package/dist/api/resources/empathicVoice/{types/VoiceArgs.js → resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.js} +0 -0
|
@@ -85,7 +85,7 @@ class ChatGroups {
|
|
|
85
85
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
86
86
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/chat_groups"),
|
|
87
87
|
method: "GET",
|
|
88
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
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",
|
|
@@ -165,7 +165,7 @@ class ChatGroups {
|
|
|
165
165
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
166
166
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chat_groups/${encodeURIComponent(id)}`),
|
|
167
167
|
method: "GET",
|
|
168
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
168
|
+
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())),
|
|
169
169
|
contentType: "application/json",
|
|
170
170
|
queryParameters: _queryParams,
|
|
171
171
|
requestType: "json",
|
|
@@ -245,7 +245,7 @@ class ChatGroups {
|
|
|
245
245
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
246
246
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chat_groups/${encodeURIComponent(id)}/events`),
|
|
247
247
|
method: "GET",
|
|
248
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
248
|
+
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())),
|
|
249
249
|
contentType: "application/json",
|
|
250
250
|
queryParameters: _queryParams,
|
|
251
251
|
requestType: "json",
|
|
@@ -292,6 +292,86 @@ class ChatGroups {
|
|
|
292
292
|
}
|
|
293
293
|
});
|
|
294
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
* Fetches a paginated list of audio for each **Chat** within the specified **Chat Group**. 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).
|
|
297
|
+
*
|
|
298
|
+
* @param {string} id - Identifier for a chat. Formatted as a UUID.
|
|
299
|
+
* @param {Hume.empathicVoice.ChatGroupsGetAudioRequest} request
|
|
300
|
+
* @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
301
|
+
*
|
|
302
|
+
* @throws {@link Hume.empathicVoice.BadRequestError}
|
|
303
|
+
*
|
|
304
|
+
* @example
|
|
305
|
+
* await client.empathicVoice.chatGroups.getAudio("369846cf-6ad5-404d-905e-a8acb5cdfc78", {
|
|
306
|
+
* pageNumber: 0,
|
|
307
|
+
* pageSize: 10,
|
|
308
|
+
* ascendingOrder: true
|
|
309
|
+
* })
|
|
310
|
+
*/
|
|
311
|
+
getAudio(id, request = {}, requestOptions) {
|
|
312
|
+
var _a, _b;
|
|
313
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
314
|
+
const { pageNumber, pageSize, ascendingOrder } = request;
|
|
315
|
+
const _queryParams = {};
|
|
316
|
+
if (pageNumber != null) {
|
|
317
|
+
_queryParams["page_number"] = pageNumber.toString();
|
|
318
|
+
}
|
|
319
|
+
if (pageSize != null) {
|
|
320
|
+
_queryParams["page_size"] = pageSize.toString();
|
|
321
|
+
}
|
|
322
|
+
if (ascendingOrder != null) {
|
|
323
|
+
_queryParams["ascending_order"] = ascendingOrder.toString();
|
|
324
|
+
}
|
|
325
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
326
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chat_groups/${encodeURIComponent(id)}/audio`),
|
|
327
|
+
method: "GET",
|
|
328
|
+
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())),
|
|
329
|
+
contentType: "application/json",
|
|
330
|
+
queryParameters: _queryParams,
|
|
331
|
+
requestType: "json",
|
|
332
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
333
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
334
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
335
|
+
});
|
|
336
|
+
if (_response.ok) {
|
|
337
|
+
return serializers.empathicVoice.ReturnChatGroupPagedAudioReconstructions.parseOrThrow(_response.body, {
|
|
338
|
+
unrecognizedObjectKeys: "passthrough",
|
|
339
|
+
allowUnrecognizedUnionMembers: true,
|
|
340
|
+
allowUnrecognizedEnumValues: true,
|
|
341
|
+
breadcrumbsPrefix: ["response"],
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
if (_response.error.reason === "status-code") {
|
|
345
|
+
switch (_response.error.statusCode) {
|
|
346
|
+
case 400:
|
|
347
|
+
throw new Hume.empathicVoice.BadRequestError(serializers.empathicVoice.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
348
|
+
unrecognizedObjectKeys: "passthrough",
|
|
349
|
+
allowUnrecognizedUnionMembers: true,
|
|
350
|
+
allowUnrecognizedEnumValues: true,
|
|
351
|
+
breadcrumbsPrefix: ["response"],
|
|
352
|
+
}));
|
|
353
|
+
default:
|
|
354
|
+
throw new errors.HumeError({
|
|
355
|
+
statusCode: _response.error.statusCode,
|
|
356
|
+
body: _response.error.body,
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
switch (_response.error.reason) {
|
|
361
|
+
case "non-json":
|
|
362
|
+
throw new errors.HumeError({
|
|
363
|
+
statusCode: _response.error.statusCode,
|
|
364
|
+
body: _response.error.rawBody,
|
|
365
|
+
});
|
|
366
|
+
case "timeout":
|
|
367
|
+
throw new errors.HumeTimeoutError();
|
|
368
|
+
case "unknown":
|
|
369
|
+
throw new errors.HumeError({
|
|
370
|
+
message: _response.error.errorMessage,
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
});
|
|
374
|
+
}
|
|
295
375
|
_getCustomAuthorizationHeaders() {
|
|
296
376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
297
377
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* pageNumber: 0,
|
|
8
|
+
* pageSize: 10,
|
|
9
|
+
* ascendingOrder: true
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface ChatGroupsGetAudioRequest {
|
|
13
|
+
/**
|
|
14
|
+
* Specifies the page number to retrieve, enabling pagination.
|
|
15
|
+
*
|
|
16
|
+
* This parameter uses zero-based indexing. For example, setting `page_number` to 0 retrieves the first page of results (items 0-9 if `page_size` is 10), setting `page_number` to 1 retrieves the second page (items 10-19), and so on. Defaults to 0, which retrieves the first page.
|
|
17
|
+
*/
|
|
18
|
+
pageNumber?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the maximum number of results to include per page, enabling pagination. The value must be between 1 and 100, inclusive.
|
|
21
|
+
*
|
|
22
|
+
* For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
|
|
23
|
+
*/
|
|
24
|
+
pageSize?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Boolean to indicate if the results should be paginated in chronological order or reverse-chronological order. Defaults to true.
|
|
27
|
+
*/
|
|
28
|
+
ascendingOrder?: boolean;
|
|
29
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { type ChatGroupsListChatGroupsRequest } from "./ChatGroupsListChatGroupsRequest";
|
|
2
2
|
export { type ChatGroupsGetChatGroupRequest } from "./ChatGroupsGetChatGroupRequest";
|
|
3
3
|
export { type ChatGroupsListChatGroupEventsRequest } from "./ChatGroupsListChatGroupEventsRequest";
|
|
4
|
+
export { type ChatGroupsGetAudioRequest } from "./ChatGroupsGetAudioRequest";
|
|
@@ -55,6 +55,18 @@ export declare class Chats {
|
|
|
55
55
|
* })
|
|
56
56
|
*/
|
|
57
57
|
listChatEvents(id: string, request?: Hume.empathicVoice.ChatsListChatEventsRequest, requestOptions?: Chats.RequestOptions): Promise<core.Page<Hume.empathicVoice.ReturnChatEvent>>;
|
|
58
|
+
/**
|
|
59
|
+
* 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).
|
|
60
|
+
*
|
|
61
|
+
* @param {string} id - Identifier for a chat. Formatted as a UUID.
|
|
62
|
+
* @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link Hume.empathicVoice.BadRequestError}
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* await client.empathicVoice.chats.getAudio("470a49f6-1dec-4afe-8b61-035d3b2d63b0")
|
|
68
|
+
*/
|
|
69
|
+
getAudio(id: string, requestOptions?: Chats.RequestOptions): Promise<Hume.empathicVoice.ReturnChatAudioReconstruction>;
|
|
58
70
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
59
71
|
"X-Hume-Api-Key": string | undefined;
|
|
60
72
|
}>;
|
|
@@ -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.
|
|
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.
|
|
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",
|
|
@@ -232,6 +232,69 @@ class Chats {
|
|
|
232
232
|
});
|
|
233
233
|
});
|
|
234
234
|
}
|
|
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
|
+
*
|
|
238
|
+
* @param {string} id - Identifier for a chat. Formatted as a UUID.
|
|
239
|
+
* @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
|
|
240
|
+
*
|
|
241
|
+
* @throws {@link Hume.empathicVoice.BadRequestError}
|
|
242
|
+
*
|
|
243
|
+
* @example
|
|
244
|
+
* await client.empathicVoice.chats.getAudio("470a49f6-1dec-4afe-8b61-035d3b2d63b0")
|
|
245
|
+
*/
|
|
246
|
+
getAudio(id, requestOptions) {
|
|
247
|
+
var _a, _b;
|
|
248
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
249
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
250
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chats/${encodeURIComponent(id)}/audio`),
|
|
251
|
+
method: "GET",
|
|
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
|
+
contentType: "application/json",
|
|
254
|
+
requestType: "json",
|
|
255
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
256
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
257
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
258
|
+
});
|
|
259
|
+
if (_response.ok) {
|
|
260
|
+
return serializers.empathicVoice.ReturnChatAudioReconstruction.parseOrThrow(_response.body, {
|
|
261
|
+
unrecognizedObjectKeys: "passthrough",
|
|
262
|
+
allowUnrecognizedUnionMembers: true,
|
|
263
|
+
allowUnrecognizedEnumValues: true,
|
|
264
|
+
breadcrumbsPrefix: ["response"],
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
if (_response.error.reason === "status-code") {
|
|
268
|
+
switch (_response.error.statusCode) {
|
|
269
|
+
case 400:
|
|
270
|
+
throw new Hume.empathicVoice.BadRequestError(serializers.empathicVoice.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
271
|
+
unrecognizedObjectKeys: "passthrough",
|
|
272
|
+
allowUnrecognizedUnionMembers: true,
|
|
273
|
+
allowUnrecognizedEnumValues: true,
|
|
274
|
+
breadcrumbsPrefix: ["response"],
|
|
275
|
+
}));
|
|
276
|
+
default:
|
|
277
|
+
throw new errors.HumeError({
|
|
278
|
+
statusCode: _response.error.statusCode,
|
|
279
|
+
body: _response.error.body,
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
switch (_response.error.reason) {
|
|
284
|
+
case "non-json":
|
|
285
|
+
throw new errors.HumeError({
|
|
286
|
+
statusCode: _response.error.statusCode,
|
|
287
|
+
body: _response.error.rawBody,
|
|
288
|
+
});
|
|
289
|
+
case "timeout":
|
|
290
|
+
throw new errors.HumeTimeoutError();
|
|
291
|
+
case "unknown":
|
|
292
|
+
throw new errors.HumeError({
|
|
293
|
+
message: _response.error.errorMessage,
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
});
|
|
297
|
+
}
|
|
235
298
|
_getCustomAuthorizationHeaders() {
|
|
236
299
|
return __awaiter(this, void 0, void 0, function* () {
|
|
237
300
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
@@ -58,12 +58,12 @@ export declare class Configs {
|
|
|
58
58
|
* },
|
|
59
59
|
* eviVersion: "2",
|
|
60
60
|
* voice: {
|
|
61
|
-
* provider:
|
|
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:
|
|
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:
|
|
121
|
+
* provider: Hume.empathicVoice.PostedVoiceProvider.HumeAi,
|
|
122
122
|
* name: "ITO"
|
|
123
123
|
* },
|
|
124
124
|
* languageModel: {
|
|
125
125
|
* modelProvider: Hume.empathicVoice.PostedLanguageModelModelProvider.Anthropic,
|
|
126
|
-
* modelResource:
|
|
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.
|
|
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:
|
|
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:
|
|
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.
|
|
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.
|
|
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:
|
|
329
|
+
* provider: Hume.empathicVoice.PostedVoiceProvider.HumeAi,
|
|
330
330
|
* name: "ITO"
|
|
331
331
|
* },
|
|
332
332
|
* languageModel: {
|
|
333
333
|
* modelProvider: Hume.empathicVoice.PostedLanguageModelModelProvider.Anthropic,
|
|
334
|
-
* modelResource:
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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, {
|
|
@@ -22,7 +22,7 @@ export interface ConfigsListConfigsRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
pageSize?: number;
|
|
24
24
|
/**
|
|
25
|
-
* By default, `restrict_to_most_recent` is set to true, returning only the latest version of each
|
|
25
|
+
* By default, `restrict_to_most_recent` is set to true, returning only the latest version of each tool. To include all versions of each tool in the list, set `restrict_to_most_recent` to false.
|
|
26
26
|
*/
|
|
27
27
|
restrictToMostRecent?: boolean;
|
|
28
28
|
/**
|
package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts
CHANGED
|
@@ -12,12 +12,12 @@ import * as Hume from "../../../../../../index";
|
|
|
12
12
|
* },
|
|
13
13
|
* eviVersion: "2",
|
|
14
14
|
* voice: {
|
|
15
|
-
* provider:
|
|
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:
|
|
20
|
+
* modelResource: Hume.empathicVoice.PostedLanguageModelModelResource.Claude35Sonnet20240620,
|
|
21
21
|
* temperature: 1
|
|
22
22
|
* },
|
|
23
23
|
* eventMessages: {
|
package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts
CHANGED
|
@@ -12,12 +12,12 @@ import * as Hume from "../../../../../../index";
|
|
|
12
12
|
* version: 0
|
|
13
13
|
* },
|
|
14
14
|
* voice: {
|
|
15
|
-
* provider:
|
|
15
|
+
* provider: Hume.empathicVoice.PostedVoiceProvider.HumeAi,
|
|
16
16
|
* name: "ITO"
|
|
17
17
|
* },
|
|
18
18
|
* languageModel: {
|
|
19
19
|
* modelProvider: Hume.empathicVoice.PostedLanguageModelModelProvider.Anthropic,
|
|
20
|
-
* modelResource:
|
|
20
|
+
* modelResource: Hume.empathicVoice.PostedLanguageModelModelResource.Claude35Sonnet20240620,
|
|
21
21
|
* temperature: 1
|
|
22
22
|
* },
|
|
23
23
|
* ellmModel: {
|
|
@@ -50,7 +50,7 @@ export declare class CustomVoices {
|
|
|
50
50
|
* await client.empathicVoice.customVoices.createCustomVoice({
|
|
51
51
|
* name: "name",
|
|
52
52
|
* baseVoice: Hume.empathicVoice.PostedCustomVoiceBaseVoice.Ito,
|
|
53
|
-
* parameterModel: "
|
|
53
|
+
* parameterModel: "20241004-11parameter"
|
|
54
54
|
* })
|
|
55
55
|
*/
|
|
56
56
|
createCustomVoice(request: Hume.empathicVoice.PostedCustomVoice, requestOptions?: CustomVoices.RequestOptions): Promise<Hume.empathicVoice.ReturnCustomVoice>;
|
|
@@ -83,7 +83,7 @@ export declare class CustomVoices {
|
|
|
83
83
|
* await client.empathicVoice.customVoices.createCustomVoiceVersion("id", {
|
|
84
84
|
* name: "name",
|
|
85
85
|
* baseVoice: Hume.empathicVoice.PostedCustomVoiceBaseVoice.Ito,
|
|
86
|
-
* parameterModel: "
|
|
86
|
+
* parameterModel: "20241004-11parameter"
|
|
87
87
|
* })
|
|
88
88
|
*/
|
|
89
89
|
createCustomVoiceVersion(id: string, request: Hume.empathicVoice.PostedCustomVoice, requestOptions?: CustomVoices.RequestOptions): Promise<Hume.empathicVoice.ReturnCustomVoice>;
|
|
@@ -111,11 +111,6 @@ export declare class CustomVoices {
|
|
|
111
111
|
* @param {CustomVoices.RequestOptions} requestOptions - Request-specific configuration.
|
|
112
112
|
*
|
|
113
113
|
* @throws {@link Hume.empathicVoice.BadRequestError}
|
|
114
|
-
*
|
|
115
|
-
* @example
|
|
116
|
-
* await client.empathicVoice.customVoices.updateCustomVoiceName("string", {
|
|
117
|
-
* name: "string"
|
|
118
|
-
* })
|
|
119
114
|
*/
|
|
120
115
|
updateCustomVoiceName(id: string, request: Hume.empathicVoice.PostedCustomVoiceName, requestOptions?: CustomVoices.RequestOptions): Promise<string>;
|
|
121
116
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
@@ -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.
|
|
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",
|
|
@@ -140,7 +140,7 @@ class CustomVoices {
|
|
|
140
140
|
* await client.empathicVoice.customVoices.createCustomVoice({
|
|
141
141
|
* name: "name",
|
|
142
142
|
* baseVoice: Hume.empathicVoice.PostedCustomVoiceBaseVoice.Ito,
|
|
143
|
-
* parameterModel: "
|
|
143
|
+
* parameterModel: "20241004-11parameter"
|
|
144
144
|
* })
|
|
145
145
|
*/
|
|
146
146
|
createCustomVoice(request, requestOptions) {
|
|
@@ -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.
|
|
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.
|
|
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,
|
|
@@ -276,7 +276,7 @@ class CustomVoices {
|
|
|
276
276
|
* await client.empathicVoice.customVoices.createCustomVoiceVersion("id", {
|
|
277
277
|
* name: "name",
|
|
278
278
|
* baseVoice: Hume.empathicVoice.PostedCustomVoiceBaseVoice.Ito,
|
|
279
|
-
* parameterModel: "
|
|
279
|
+
* parameterModel: "20241004-11parameter"
|
|
280
280
|
* })
|
|
281
281
|
*/
|
|
282
282
|
createCustomVoiceVersion(id, request, requestOptions) {
|
|
@@ -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.
|
|
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.
|
|
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,
|
|
@@ -402,11 +402,6 @@ class CustomVoices {
|
|
|
402
402
|
* @param {CustomVoices.RequestOptions} requestOptions - Request-specific configuration.
|
|
403
403
|
*
|
|
404
404
|
* @throws {@link Hume.empathicVoice.BadRequestError}
|
|
405
|
-
*
|
|
406
|
-
* @example
|
|
407
|
-
* await client.empathicVoice.customVoices.updateCustomVoiceName("string", {
|
|
408
|
-
* name: "string"
|
|
409
|
-
* })
|
|
410
405
|
*/
|
|
411
406
|
updateCustomVoiceName(id, request, requestOptions) {
|
|
412
407
|
var _a, _b;
|
|
@@ -414,7 +409,7 @@ class CustomVoices {
|
|
|
414
409
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
415
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)}`),
|
|
416
411
|
method: "PATCH",
|
|
417
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
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())),
|
|
418
413
|
contentType: "application/json",
|
|
419
414
|
requestType: "json",
|
|
420
415
|
body: serializers.empathicVoice.PostedCustomVoiceName.jsonOrThrow(request, {
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* name: "string"
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
4
|
export interface PostedCustomVoiceName {
|
|
11
5
|
/** The name of the Custom Voice. Maximum length of 75 characters. Will be converted to all-uppercase. (e.g., "sample voice" becomes "SAMPLE VOICE") */
|
|
12
6
|
name: string;
|