hume 0.9.17 → 0.9.18
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/empathic-voice/__package__.yml +60 -48
- package/.mock/definition/empathic-voice/chat.yml +16 -16
- package/.mock/definition/empathic-voice/configs.yml +8 -8
- package/.mock/definition/expression-measurement/stream/stream.yml +206 -206
- package/.mock/definition/tts/__package__.yml +51 -17
- package/.mock/definition/tts/voices.yml +8 -1
- package/.mock/fern.config.json +1 -1
- package/api/resources/empathicVoice/errors/BadRequestError.js +17 -7
- package/api/resources/empathicVoice/resources/chat/client/Client.js +17 -7
- package/api/resources/empathicVoice/resources/chat/client/Socket.js +17 -7
- package/api/resources/empathicVoice/resources/chat/types/PublishEvent.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chat/types/index.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chat/types/index.js +1 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +4 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +41 -31
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +4 -0
- package/api/resources/empathicVoice/resources/chats/client/Client.js +33 -23
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +10 -6
- package/api/resources/empathicVoice/resources/configs/client/Client.js +65 -55
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +3 -3
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +3 -3
- package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +6 -2
- package/api/resources/empathicVoice/resources/customVoices/client/Client.js +45 -35
- package/api/resources/empathicVoice/resources/index.js +17 -7
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +4 -0
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +59 -49
- package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +4 -0
- package/api/resources/empathicVoice/resources/tools/client/Client.js +59 -49
- package/api/resources/empathicVoice/types/BuiltInTool.d.ts +1 -1
- package/api/resources/empathicVoice/types/ChatMessageToolResult.d.ts +1 -1
- package/api/resources/empathicVoice/types/ContextType.d.ts +1 -1
- package/api/resources/empathicVoice/types/Encoding.d.ts +1 -1
- package/api/resources/empathicVoice/types/ErrorLevel.d.ts +1 -1
- package/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +6 -4
- package/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.js +5 -3
- package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +18 -19
- package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +17 -18
- package/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedWebhookEventType.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedChatsPaginationDirection.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +6 -4
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +5 -3
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +9 -4
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +8 -3
- package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +1 -1
- package/api/resources/empathicVoice/types/Role.d.ts +1 -1
- package/api/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +1 -1
- package/api/resources/empathicVoice/types/ToolType.d.ts +1 -1
- package/api/resources/empathicVoice/types/ValidationErrorLocItem.d.ts +1 -1
- package/api/resources/empathicVoice/types/WebhookEvent.d.ts +1 -1
- package/api/resources/empathicVoice/types/WebhookEventChatStartType.d.ts +1 -1
- package/api/resources/empathicVoice/types/WebhookEventChatStatus.d.ts +1 -1
- package/api/resources/expressionMeasurement/client/Client.d.ts +3 -9
- package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +4 -1
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +64 -41
- package/api/resources/expressionMeasurement/resources/batch/types/Alternative.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Bcp47Tag.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Classification.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/CustomModel.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Dataset.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Direction.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Granularity.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Null.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Regression.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/SortBy.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Source.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGeneration.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/StateInference.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/StateTlInference.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/StateTraining.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Status.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Target.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Task.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/TextSource.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Type.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Unconfigurable.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/UnionJob.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/UnionPredictResult.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/When.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/index.js +17 -7
- package/api/resources/expressionMeasurement/resources/stream/resources/index.js +17 -7
- package/api/resources/expressionMeasurement/resources/stream/resources/stream/types/SubscribeEvent.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +4 -4
- package/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +4 -4
- package/api/resources/expressionMeasurement/resources/stream/types/EmotionEmbedding.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/stream/types/Sentiment.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/stream/types/Toxicity.d.ts +1 -1
- package/api/resources/index.js +17 -7
- package/api/resources/tts/client/Client.d.ts +6 -3
- package/api/resources/tts/client/Client.js +37 -27
- package/api/resources/tts/errors/BadRequestError.js +17 -7
- package/api/resources/tts/errors/UnprocessableEntityError.js +17 -7
- package/api/resources/tts/resources/index.js +17 -7
- package/api/resources/tts/resources/voices/client/Client.d.ts +5 -1
- package/api/resources/tts/resources/voices/client/Client.js +34 -22
- package/api/resources/tts/resources/voices/client/requests/VoicesListRequest.d.ts +1 -1
- package/api/resources/tts/types/AudioEncoding.d.ts +4 -1
- package/api/resources/tts/types/AudioFormatType.d.ts +1 -1
- package/api/resources/tts/types/Format.d.ts +1 -1
- package/api/resources/tts/types/PostedContext.d.ts +1 -1
- package/api/resources/tts/types/PostedTts.d.ts +5 -1
- package/api/resources/tts/types/PostedUtterance.d.ts +2 -4
- package/api/resources/tts/types/PostedUtteranceVoice.d.ts +1 -1
- package/api/resources/tts/types/ReturnGeneration.d.ts +1 -1
- package/api/resources/tts/types/ReturnPagedVoices.d.ts +12 -0
- package/api/resources/tts/types/ValidationErrorLocItem.d.ts +1 -1
- package/api/resources/tts/types/VoiceProvider.d.ts +1 -1
- package/core/fetcher/APIResponse.d.ts +1 -1
- package/core/fetcher/Fetcher.d.ts +3 -3
- package/core/fetcher/Fetcher.js +6 -5
- package/core/fetcher/Supplier.d.ts +1 -1
- package/core/fetcher/createRequestUrl.d.ts +1 -1
- package/core/fetcher/createRequestUrl.js +1 -2
- package/core/fetcher/getFetchFn.js +18 -9
- package/core/fetcher/getHeader.js +1 -2
- package/core/fetcher/getRequestBody.js +5 -5
- package/core/fetcher/getResponseBody.js +4 -2
- package/core/fetcher/makeRequest.d.ts +1 -1
- package/core/fetcher/requestWithRetries.js +17 -9
- package/core/fetcher/signals.d.ts +0 -1
- package/core/fetcher/signals.js +2 -3
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -1
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +6 -4
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +1 -1
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +18 -9
- package/core/form-data-utils/FormDataWrapper.d.ts +4 -4
- package/core/form-data-utils/FormDataWrapper.js +27 -13
- package/core/form-data-utils/encodeAsFormParameter.d.ts +4 -0
- package/core/form-data-utils/encodeAsFormParameter.js +18 -0
- package/core/form-data-utils/index.d.ts +1 -0
- package/core/form-data-utils/index.js +3 -0
- package/core/index.js +17 -7
- package/core/json.d.ts +15 -0
- package/core/json.js +24 -0
- package/core/pagination/Page.js +9 -6
- package/core/runtime/runtime.d.ts +1 -1
- package/core/runtime/runtime.js +51 -41
- package/core/schemas/Schema.d.ts +8 -5
- package/core/schemas/Schema.js +3 -0
- package/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/core/schemas/builders/bigint/bigint.js +53 -0
- package/core/schemas/builders/bigint/index.d.ts +1 -0
- package/core/schemas/builders/bigint/index.js +5 -0
- package/core/schemas/builders/date/date.js +1 -2
- package/core/schemas/builders/enum/enum.js +1 -2
- package/core/schemas/builders/index.d.ts +1 -0
- package/core/schemas/builders/index.js +1 -0
- package/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/core/schemas/builders/lazy/lazy.js +3 -4
- package/core/schemas/builders/lazy/lazyObject.js +1 -2
- package/core/schemas/builders/list/list.js +1 -2
- package/core/schemas/builders/literals/booleanLiteral.js +1 -2
- package/core/schemas/builders/literals/stringLiteral.js +1 -2
- package/core/schemas/builders/object/object.d.ts +1 -1
- package/core/schemas/builders/object/object.js +31 -3
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +3 -3
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +1 -2
- package/core/schemas/builders/object/property.js +2 -3
- package/core/schemas/builders/object/types.d.ts +16 -11
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -3
- package/core/schemas/builders/object-like/types.d.ts +1 -1
- package/core/schemas/builders/record/record.js +2 -4
- package/core/schemas/builders/record/types.d.ts +2 -2
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +4 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +67 -4
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +1 -2
- package/core/schemas/builders/set/set.js +1 -2
- package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -4
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +1 -2
- package/core/schemas/builders/union/discriminant.js +1 -2
- package/core/schemas/builders/union/types.d.ts +6 -6
- package/core/schemas/builders/union/union.d.ts +1 -1
- package/core/schemas/builders/union/union.js +1 -2
- package/core/schemas/utils/MaybePromise.d.ts +1 -1
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +4 -4
- package/core/schemas/utils/createIdentitySchemaCreator.js +1 -2
- package/core/schemas/utils/entries.d.ts +1 -1
- package/core/schemas/utils/entries.js +1 -2
- package/core/schemas/utils/filterObject.d.ts +1 -1
- package/core/schemas/utils/filterObject.js +1 -2
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +5 -2
- package/core/schemas/utils/isPlainObject.js +1 -2
- package/core/schemas/utils/keys.d.ts +1 -1
- package/core/schemas/utils/keys.js +1 -2
- package/core/schemas/utils/maybeSkipValidation.js +1 -2
- package/core/schemas/utils/partition.js +1 -2
- package/core/streaming-fetcher/Stream.d.ts +0 -1
- package/core/streaming-fetcher/Stream.js +20 -21
- package/core/utils/setObjectProperty.js +1 -2
- package/core/websocket/ws.d.ts +7 -7
- package/core/websocket/ws.js +17 -7
- package/dist/api/resources/empathicVoice/errors/BadRequestError.js +17 -7
- package/dist/api/resources/empathicVoice/resources/chat/client/Client.js +17 -7
- package/dist/api/resources/empathicVoice/resources/chat/client/Socket.js +17 -7
- package/dist/api/resources/empathicVoice/resources/chat/types/PublishEvent.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chat/types/index.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chat/types/index.js +1 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +41 -31
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +33 -23
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +10 -6
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +65 -55
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +3 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +3 -3
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +6 -2
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +45 -35
- package/dist/api/resources/empathicVoice/resources/index.js +17 -7
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +59 -49
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +59 -49
- package/dist/api/resources/empathicVoice/types/BuiltInTool.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ChatMessageToolResult.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ContextType.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/Encoding.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ErrorLevel.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +6 -4
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.js +5 -3
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +18 -19
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +17 -18
- package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedWebhookEventType.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChatsPaginationDirection.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +6 -4
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +5 -3
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +9 -4
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +8 -3
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/Role.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ToolType.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ValidationErrorLocItem.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/WebhookEvent.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStartType.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStatus.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/client/Client.d.ts +3 -9
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +4 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +64 -41
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Alternative.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Bcp47Tag.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Classification.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/CustomModel.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Dataset.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Direction.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Granularity.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Null.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Regression.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/SortBy.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Source.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGeneration.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/StateInference.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/StateTlInference.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/StateTraining.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Status.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Target.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Task.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/TextSource.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Type.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Unconfigurable.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/UnionJob.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/UnionPredictResult.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/When.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/index.js +17 -7
- package/dist/api/resources/expressionMeasurement/resources/stream/resources/index.js +17 -7
- package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/SubscribeEvent.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +4 -4
- package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +4 -4
- package/dist/api/resources/expressionMeasurement/resources/stream/types/EmotionEmbedding.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/stream/types/Sentiment.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/stream/types/Toxicity.d.ts +1 -1
- package/dist/api/resources/index.js +17 -7
- package/dist/api/resources/tts/client/Client.d.ts +6 -3
- package/dist/api/resources/tts/client/Client.js +37 -27
- package/dist/api/resources/tts/errors/BadRequestError.js +17 -7
- package/dist/api/resources/tts/errors/UnprocessableEntityError.js +17 -7
- package/dist/api/resources/tts/resources/index.js +17 -7
- package/dist/api/resources/tts/resources/voices/client/Client.d.ts +5 -1
- package/dist/api/resources/tts/resources/voices/client/Client.js +34 -22
- package/dist/api/resources/tts/resources/voices/client/requests/VoicesListRequest.d.ts +1 -1
- package/dist/api/resources/tts/types/AudioEncoding.d.ts +4 -1
- package/dist/api/resources/tts/types/AudioFormatType.d.ts +1 -1
- package/dist/api/resources/tts/types/Format.d.ts +1 -1
- package/dist/api/resources/tts/types/PostedContext.d.ts +1 -1
- package/dist/api/resources/tts/types/PostedTts.d.ts +5 -1
- package/dist/api/resources/tts/types/PostedUtterance.d.ts +2 -4
- package/dist/api/resources/tts/types/PostedUtteranceVoice.d.ts +1 -1
- package/dist/api/resources/tts/types/ReturnGeneration.d.ts +1 -1
- package/dist/api/resources/tts/types/ReturnPagedVoices.d.ts +12 -0
- package/dist/api/resources/tts/types/ValidationErrorLocItem.d.ts +1 -1
- package/dist/api/resources/tts/types/VoiceProvider.d.ts +1 -1
- package/dist/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/core/fetcher/Fetcher.d.ts +3 -3
- package/dist/core/fetcher/Fetcher.js +6 -5
- package/dist/core/fetcher/Supplier.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.js +1 -2
- package/dist/core/fetcher/getFetchFn.js +18 -9
- package/dist/core/fetcher/getHeader.js +1 -2
- package/dist/core/fetcher/getRequestBody.js +5 -5
- package/dist/core/fetcher/getResponseBody.js +4 -2
- package/dist/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/core/fetcher/requestWithRetries.js +17 -9
- package/dist/core/fetcher/signals.d.ts +0 -1
- package/dist/core/fetcher/signals.js +2 -3
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -1
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +6 -4
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +18 -9
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +4 -4
- package/dist/core/form-data-utils/FormDataWrapper.js +27 -13
- package/dist/core/form-data-utils/encodeAsFormParameter.d.ts +4 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.js +18 -0
- package/dist/core/form-data-utils/index.d.ts +1 -0
- package/dist/core/form-data-utils/index.js +3 -0
- package/dist/core/index.js +17 -7
- package/dist/core/json.d.ts +15 -0
- package/dist/core/json.js +24 -0
- package/dist/core/pagination/Page.js +9 -6
- package/dist/core/runtime/runtime.d.ts +1 -1
- package/dist/core/runtime/runtime.js +51 -41
- package/dist/core/schemas/Schema.d.ts +8 -5
- package/dist/core/schemas/Schema.js +3 -0
- package/dist/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/dist/core/schemas/builders/bigint/bigint.js +53 -0
- package/dist/core/schemas/builders/bigint/index.d.ts +1 -0
- package/dist/core/schemas/builders/bigint/index.js +5 -0
- package/dist/core/schemas/builders/date/date.js +1 -2
- package/dist/core/schemas/builders/enum/enum.js +1 -2
- package/dist/core/schemas/builders/index.d.ts +1 -0
- package/dist/core/schemas/builders/index.js +1 -0
- package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazy.js +3 -4
- package/dist/core/schemas/builders/lazy/lazyObject.js +1 -2
- package/dist/core/schemas/builders/list/list.js +1 -2
- package/dist/core/schemas/builders/literals/booleanLiteral.js +1 -2
- package/dist/core/schemas/builders/literals/stringLiteral.js +1 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/object.js +31 -3
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +3 -3
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +1 -2
- package/dist/core/schemas/builders/object/property.js +2 -3
- package/dist/core/schemas/builders/object/types.d.ts +16 -11
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -3
- package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
- package/dist/core/schemas/builders/record/record.js +2 -4
- package/dist/core/schemas/builders/record/types.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +4 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +67 -4
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +1 -2
- package/dist/core/schemas/builders/set/set.js +1 -2
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -4
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +1 -2
- package/dist/core/schemas/builders/union/discriminant.js +1 -2
- package/dist/core/schemas/builders/union/types.d.ts +6 -6
- package/dist/core/schemas/builders/union/union.d.ts +1 -1
- package/dist/core/schemas/builders/union/union.js +1 -2
- package/dist/core/schemas/utils/MaybePromise.d.ts +1 -1
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +4 -4
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +1 -2
- package/dist/core/schemas/utils/entries.d.ts +1 -1
- package/dist/core/schemas/utils/entries.js +1 -2
- package/dist/core/schemas/utils/filterObject.d.ts +1 -1
- package/dist/core/schemas/utils/filterObject.js +1 -2
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +5 -2
- package/dist/core/schemas/utils/isPlainObject.js +1 -2
- package/dist/core/schemas/utils/keys.d.ts +1 -1
- package/dist/core/schemas/utils/keys.js +1 -2
- package/dist/core/schemas/utils/maybeSkipValidation.js +1 -2
- package/dist/core/schemas/utils/partition.js +1 -2
- package/dist/core/streaming-fetcher/Stream.d.ts +0 -1
- package/dist/core/streaming-fetcher/Stream.js +20 -21
- package/dist/core/utils/setObjectProperty.js +1 -2
- package/dist/core/websocket/ws.d.ts +7 -7
- package/dist/core/websocket/ws.js +17 -7
- package/dist/environments.d.ts +1 -1
- package/dist/errors/HumeTimeoutError.d.ts +1 -1
- package/dist/errors/HumeTimeoutError.js +2 -2
- package/dist/index.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/chat/types/PublishEvent.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/chat/types/index.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/resources/chat/types/index.js +1 -1
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/index.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/tools/client/index.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.js +17 -7
- package/dist/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/AssistantEnd.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/AssistantInput.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/AssistantMessage.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/AudioConfiguration.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/AudioInput.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/AudioOutput.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/BuiltInTool.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/BuiltinToolConfig.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ChatMessage.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ChatMessageToolResult.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ChatMetadata.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/Context.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ContextType.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/EmotionScores.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/Encoding.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ErrorLevel.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ErrorResponse.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/FunctionCallResponseInput.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/HttpValidationError.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/Inference.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/JsonMessage.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/MillisecondInterval.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedBuiltinTool.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedBuiltinToolName.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedEllmModel.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpec.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.js +27 -8
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -25
- package/dist/serialization/resources/empathicVoice/types/PostedPromptSpec.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpecs.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedUserDefinedToolSpec.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedVoice.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedWebhookEventType.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/PostedWebhookSpec.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ProsodyInference.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChat.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroup.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChatsPaginationDirection.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnConfigSpec.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnEllmModel.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +27 -8
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +25 -10
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpecs.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceProvider.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnWebhookEventType.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnWebhookSpec.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/Role.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/TextInput.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/Tool.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ToolType.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/TtsInput.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/UserInput.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/UserInterruption.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/UserMessage.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ValidationError.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/ValidationErrorLocItem.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/WebSocketError.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/WebhookEvent.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/WebhookEventBase.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatEnded.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStartType.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStarted.js +17 -7
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStatus.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/client/getJobPredictions.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/client/index.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/client/listJobs.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Alternative.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Bcp47Tag.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/BoundingBox.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/BurstPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Classification.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/CompletedEmbeddingGeneration.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/CompletedInference.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/CompletedState.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/CompletedTlInference.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/CompletedTraining.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/CustomModel.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelId.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelRequest.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelVersionId.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelsInferenceJob.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelsTrainingJob.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Dataset.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/DatasetId.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/DatasetVersionId.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/DescriptionsScore.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Direction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationBaseRequest.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationJob.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/EmotionScore.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Error_.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/EvaluationArgs.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Face.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/FacePrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/FacemeshPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/FacsScore.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Failed.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/FailedState.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/File_.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Granularity.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsBurstPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacePrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacemeshPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsLanguagePrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsNerPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsProsodyPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/InProgress.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/InProgressState.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/InferenceBaseRequest.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/InferenceJob.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/InferencePrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/InferenceRequest.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/InferenceResults.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/InferenceSourcePredictResult.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/JobEmbeddingGeneration.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/JobId.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/JobInference.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/JobTlInference.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/JobTraining.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Language.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/LanguagePrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Models.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/ModelsPredictions.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Ner.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/NerPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Null.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/PositionInterval.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullBurstPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacePrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacemeshPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Prosody.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/ProsodyPrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Queued.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/QueuedState.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/RegistryFileDetail.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Regression.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/SentimentScore.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/SortBy.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Source.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/SourceFile.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/SourceTextSource.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/SourceUrl.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGeneration.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationFailed.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationInProgress.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationQueued.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateInference.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInference.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceCompletedTlInference.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceFailed.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceInProgress.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceQueued.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateTraining.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingCompletedTraining.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingFailed.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingInProgress.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingQueued.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Status.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Tag.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Target.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Task.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/TaskClassification.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/TaskRegression.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/TextSource.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/TimeInterval.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceBaseRequest.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/TlInferencePrediction.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceResults.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceSourcePredictResult.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/ToxicityScore.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/TrainingBaseRequest.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/TrainingCustomModel.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Transcription.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/TranscriptionMetadata.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Type.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Unconfigurable.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Url.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/ValidationArgs.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/When.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/batch/types/Window.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/index.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/index.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/Config.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/JobDetails.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamErrorMessage.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamFace.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamLanguage.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictions.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurst.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFace.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacePredictionsItem.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemesh.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsJobDetails.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguage.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsody.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelsEndpointPayload.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessage.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessageJobDetails.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/SubscribeEvent.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +4 -4
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +4 -4
- package/dist/serialization/resources/expressionMeasurement/resources/stream/types/EmotionEmbedding.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/types/EmotionEmbeddingItem.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/types/Sentiment.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/types/SentimentItem.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/types/StreamBoundingBox.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/types/TextPosition.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/types/TimeRange.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/types/Toxicity.js +17 -7
- package/dist/serialization/resources/expressionMeasurement/resources/stream/types/ToxicityItem.js +17 -7
- package/dist/serialization/resources/index.js +17 -7
- package/dist/serialization/resources/tts/resources/index.js +17 -7
- package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +17 -7
- package/dist/serialization/resources/tts/types/AudioEncoding.js +17 -7
- package/dist/serialization/resources/tts/types/AudioFormatType.js +17 -7
- package/dist/serialization/resources/tts/types/ErrorResponse.js +17 -7
- package/dist/serialization/resources/tts/types/Format.js +17 -7
- package/dist/serialization/resources/tts/types/FormatMp3.js +17 -7
- package/dist/serialization/resources/tts/types/FormatPcm.js +17 -7
- package/dist/serialization/resources/tts/types/FormatWav.js +17 -7
- package/dist/serialization/resources/tts/types/HttpValidationError.js +17 -7
- package/dist/serialization/resources/tts/types/PostedContext.js +17 -7
- package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.js +17 -7
- package/dist/serialization/resources/tts/types/PostedContextWithUtterances.js +17 -7
- package/dist/serialization/resources/tts/types/PostedTts.js +17 -7
- package/dist/serialization/resources/tts/types/PostedUtterance.js +17 -7
- package/dist/serialization/resources/tts/types/PostedUtteranceVoice.js +17 -7
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +17 -7
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +17 -7
- package/dist/serialization/resources/tts/types/ReturnGeneration.js +17 -7
- package/dist/serialization/resources/tts/types/ReturnPagedVoices.js +17 -7
- package/dist/serialization/resources/tts/types/ReturnTts.js +17 -7
- package/dist/serialization/resources/tts/types/ReturnVoice.js +17 -7
- package/dist/serialization/resources/tts/types/Snippet.js +17 -7
- package/dist/serialization/resources/tts/types/SnippetAudioChunk.js +17 -7
- package/dist/serialization/resources/tts/types/ValidationError.js +17 -7
- package/dist/serialization/resources/tts/types/ValidationErrorLocItem.js +17 -7
- package/dist/serialization/resources/tts/types/VoiceProvider.js +17 -7
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/base64Decode.d.ts +0 -1
- package/dist/wrapper/base64Decode.js +1 -2
- package/dist/wrapper/base64Encode.js +1 -2
- package/dist/wrapper/convertBase64ToBlob.js +1 -2
- package/dist/wrapper/convertBlobToBase64.js +1 -2
- package/dist/wrapper/expressionMeasurement/batch/BatchClient.js +2 -2
- package/dist/wrapper/expressionMeasurement/batch/Job.js +20 -10
- package/dist/wrapper/expressionMeasurement/streaming/StreamSocket.d.ts +0 -1
- package/dist/wrapper/expressionMeasurement/streaming/StreamSocket.js +30 -18
- package/dist/wrapper/expressionMeasurement/streaming/StreamingClient.js +20 -10
- package/dist/wrapper/fetchAccessToken.d.ts +1 -1
- package/dist/wrapper/fetchAccessToken.js +1 -1
- package/dist/wrapper/getBrowserSupportedMimeType.d.ts +3 -3
- package/dist/wrapper/getBrowserSupportedMimeType.js +3 -3
- package/environments.d.ts +1 -1
- package/errors/HumeTimeoutError.d.ts +1 -1
- package/errors/HumeTimeoutError.js +2 -2
- package/index.js +17 -7
- package/{jest.config.js → jest.config.mjs} +4 -1
- package/package.json +15 -16
- package/reference.md +68 -15
- package/scripts/rename-to-esm-files.js +115 -0
- package/serialization/resources/empathicVoice/resources/chat/types/PublishEvent.js +17 -7
- package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +17 -7
- package/serialization/resources/empathicVoice/resources/chat/types/index.d.ts +1 -1
- package/serialization/resources/empathicVoice/resources/chat/types/index.js +1 -1
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +17 -7
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.js +17 -7
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +17 -7
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.js +17 -7
- package/serialization/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.js +17 -7
- package/serialization/resources/empathicVoice/resources/index.js +17 -7
- package/serialization/resources/empathicVoice/resources/prompts/client/index.js +17 -7
- package/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.js +17 -7
- package/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.js +17 -7
- package/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.js +17 -7
- package/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.js +17 -7
- package/serialization/resources/empathicVoice/resources/tools/client/index.js +17 -7
- package/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.js +17 -7
- package/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.js +17 -7
- package/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.js +17 -7
- package/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.js +17 -7
- package/serialization/resources/empathicVoice/types/AssistantEnd.js +17 -7
- package/serialization/resources/empathicVoice/types/AssistantInput.js +17 -7
- package/serialization/resources/empathicVoice/types/AssistantMessage.js +17 -7
- package/serialization/resources/empathicVoice/types/AudioConfiguration.js +17 -7
- package/serialization/resources/empathicVoice/types/AudioInput.js +17 -7
- package/serialization/resources/empathicVoice/types/AudioOutput.js +17 -7
- package/serialization/resources/empathicVoice/types/BuiltInTool.js +17 -7
- package/serialization/resources/empathicVoice/types/BuiltinToolConfig.js +17 -7
- package/serialization/resources/empathicVoice/types/ChatMessage.js +17 -7
- package/serialization/resources/empathicVoice/types/ChatMessageToolResult.js +17 -7
- package/serialization/resources/empathicVoice/types/ChatMetadata.js +17 -7
- package/serialization/resources/empathicVoice/types/Context.js +17 -7
- package/serialization/resources/empathicVoice/types/ContextType.js +17 -7
- package/serialization/resources/empathicVoice/types/EmotionScores.js +17 -7
- package/serialization/resources/empathicVoice/types/Encoding.js +17 -7
- package/serialization/resources/empathicVoice/types/ErrorLevel.js +17 -7
- package/serialization/resources/empathicVoice/types/ErrorResponse.js +17 -7
- package/serialization/resources/empathicVoice/types/FunctionCallResponseInput.js +17 -7
- package/serialization/resources/empathicVoice/types/HttpValidationError.js +17 -7
- package/serialization/resources/empathicVoice/types/Inference.js +17 -7
- package/serialization/resources/empathicVoice/types/JsonMessage.js +17 -7
- package/serialization/resources/empathicVoice/types/MillisecondInterval.js +17 -7
- package/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedBuiltinTool.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedBuiltinToolName.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedCustomVoice.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedEllmModel.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedEventMessageSpec.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedLanguageModel.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.js +27 -8
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -25
- package/serialization/resources/empathicVoice/types/PostedPromptSpec.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedTimeoutSpecs.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedUserDefinedToolSpec.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedVoice.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedVoiceProvider.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedWebhookEventType.js +17 -7
- package/serialization/resources/empathicVoice/types/PostedWebhookSpec.js +17 -7
- package/serialization/resources/empathicVoice/types/ProsodyInference.js +17 -7
- package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChat.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatEvent.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatEventType.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatGroup.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChatsPaginationDirection.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnChatStatus.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnConfig.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnConfigSpec.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnEllmModel.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +27 -8
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +25 -10
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnPrompt.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnTimeoutSpecs.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnVoice.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnWebhookEventType.js +17 -7
- package/serialization/resources/empathicVoice/types/ReturnWebhookSpec.js +17 -7
- package/serialization/resources/empathicVoice/types/Role.js +17 -7
- package/serialization/resources/empathicVoice/types/SessionSettings.js +17 -7
- package/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.js +17 -7
- package/serialization/resources/empathicVoice/types/TextInput.js +17 -7
- package/serialization/resources/empathicVoice/types/Tool.js +17 -7
- package/serialization/resources/empathicVoice/types/ToolCallMessage.js +17 -7
- package/serialization/resources/empathicVoice/types/ToolErrorMessage.js +17 -7
- package/serialization/resources/empathicVoice/types/ToolResponseMessage.js +17 -7
- package/serialization/resources/empathicVoice/types/ToolType.js +17 -7
- package/serialization/resources/empathicVoice/types/TtsInput.js +17 -7
- package/serialization/resources/empathicVoice/types/UserInput.js +17 -7
- package/serialization/resources/empathicVoice/types/UserInterruption.js +17 -7
- package/serialization/resources/empathicVoice/types/UserMessage.js +17 -7
- package/serialization/resources/empathicVoice/types/ValidationError.js +17 -7
- package/serialization/resources/empathicVoice/types/ValidationErrorLocItem.js +17 -7
- package/serialization/resources/empathicVoice/types/WebSocketError.js +17 -7
- package/serialization/resources/empathicVoice/types/WebhookEvent.js +17 -7
- package/serialization/resources/empathicVoice/types/WebhookEventBase.js +17 -7
- package/serialization/resources/empathicVoice/types/WebhookEventChatEnded.js +17 -7
- package/serialization/resources/empathicVoice/types/WebhookEventChatStartType.js +17 -7
- package/serialization/resources/empathicVoice/types/WebhookEventChatStarted.js +17 -7
- package/serialization/resources/empathicVoice/types/WebhookEventChatStatus.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/client/getJobPredictions.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/client/index.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/client/listJobs.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Alternative.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Bcp47Tag.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/BoundingBox.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/BurstPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Classification.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/CompletedEmbeddingGeneration.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/CompletedInference.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/CompletedState.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/CompletedTlInference.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/CompletedTraining.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/CustomModel.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelId.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelRequest.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelVersionId.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelsInferenceJob.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelsTrainingJob.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Dataset.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/DatasetId.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/DatasetVersionId.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/DescriptionsScore.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Direction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationBaseRequest.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationJob.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/EmotionScore.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Error_.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/EvaluationArgs.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Face.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/FacePrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/FacemeshPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/FacsScore.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Failed.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/FailedState.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/File_.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Granularity.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsBurstPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacePrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacemeshPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsLanguagePrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsNerPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsProsodyPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/InProgress.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/InProgressState.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/InferenceBaseRequest.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/InferenceJob.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/InferencePrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/InferenceRequest.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/InferenceResults.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/InferenceSourcePredictResult.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/JobEmbeddingGeneration.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/JobId.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/JobInference.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/JobTlInference.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/JobTraining.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Language.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/LanguagePrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Models.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/ModelsPredictions.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Ner.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/NerPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Null.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/PositionInterval.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullBurstPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacePrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacemeshPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Prosody.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/ProsodyPrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Queued.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/QueuedState.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/RegistryFileDetail.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Regression.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/SentimentScore.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/SortBy.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Source.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/SourceFile.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/SourceTextSource.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/SourceUrl.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGeneration.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationFailed.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationInProgress.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationQueued.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateInference.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInference.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceCompletedTlInference.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceFailed.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceInProgress.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceQueued.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateTraining.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingCompletedTraining.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingFailed.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingInProgress.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingQueued.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Status.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Tag.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Target.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Task.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/TaskClassification.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/TaskRegression.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/TextSource.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/TimeInterval.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceBaseRequest.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/TlInferencePrediction.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceResults.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceSourcePredictResult.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/ToxicityScore.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/TrainingBaseRequest.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/TrainingCustomModel.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Transcription.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/TranscriptionMetadata.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Type.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Unconfigurable.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Url.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/ValidationArgs.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/When.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/batch/types/Window.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/index.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/index.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/Config.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/JobDetails.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamErrorMessage.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamFace.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamLanguage.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictions.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurst.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFace.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacePredictionsItem.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemesh.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsJobDetails.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguage.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsody.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelsEndpointPayload.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessage.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessageJobDetails.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/SubscribeEvent.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +4 -4
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +4 -4
- package/serialization/resources/expressionMeasurement/resources/stream/types/EmotionEmbedding.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/types/EmotionEmbeddingItem.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/types/Sentiment.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/types/SentimentItem.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/types/StreamBoundingBox.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/types/TextPosition.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/types/TimeRange.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/types/Toxicity.js +17 -7
- package/serialization/resources/expressionMeasurement/resources/stream/types/ToxicityItem.js +17 -7
- package/serialization/resources/index.js +17 -7
- package/serialization/resources/tts/resources/index.js +17 -7
- package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +17 -7
- package/serialization/resources/tts/types/AudioEncoding.js +17 -7
- package/serialization/resources/tts/types/AudioFormatType.js +17 -7
- package/serialization/resources/tts/types/ErrorResponse.js +17 -7
- package/serialization/resources/tts/types/Format.js +17 -7
- package/serialization/resources/tts/types/FormatMp3.js +17 -7
- package/serialization/resources/tts/types/FormatPcm.js +17 -7
- package/serialization/resources/tts/types/FormatWav.js +17 -7
- package/serialization/resources/tts/types/HttpValidationError.js +17 -7
- package/serialization/resources/tts/types/PostedContext.js +17 -7
- package/serialization/resources/tts/types/PostedContextWithGenerationId.js +17 -7
- package/serialization/resources/tts/types/PostedContextWithUtterances.js +17 -7
- package/serialization/resources/tts/types/PostedTts.js +17 -7
- package/serialization/resources/tts/types/PostedUtterance.js +17 -7
- package/serialization/resources/tts/types/PostedUtteranceVoice.js +17 -7
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +17 -7
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +17 -7
- package/serialization/resources/tts/types/ReturnGeneration.js +17 -7
- package/serialization/resources/tts/types/ReturnPagedVoices.js +17 -7
- package/serialization/resources/tts/types/ReturnTts.js +17 -7
- package/serialization/resources/tts/types/ReturnVoice.js +17 -7
- package/serialization/resources/tts/types/Snippet.js +17 -7
- package/serialization/resources/tts/types/SnippetAudioChunk.js +17 -7
- package/serialization/resources/tts/types/ValidationError.js +17 -7
- package/serialization/resources/tts/types/ValidationErrorLocItem.js +17 -7
- package/serialization/resources/tts/types/VoiceProvider.js +17 -7
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/base64Decode.d.ts +0 -1
- package/wrapper/base64Decode.js +1 -2
- package/wrapper/base64Encode.js +1 -2
- package/wrapper/convertBase64ToBlob.js +1 -2
- package/wrapper/convertBlobToBase64.js +1 -2
- package/wrapper/expressionMeasurement/batch/BatchClient.js +2 -2
- package/wrapper/expressionMeasurement/batch/Job.js +20 -10
- package/wrapper/expressionMeasurement/streaming/StreamSocket.d.ts +0 -1
- package/wrapper/expressionMeasurement/streaming/StreamSocket.js +30 -18
- package/wrapper/expressionMeasurement/streaming/StreamingClient.js +20 -10
- package/wrapper/fetchAccessToken.d.ts +1 -1
- package/wrapper/fetchAccessToken.js +1 -1
- package/wrapper/getBrowserSupportedMimeType.d.ts +3 -3
- package/wrapper/getBrowserSupportedMimeType.js +3 -3
|
@@ -7,14 +7,14 @@ channel:
|
|
|
7
7
|
type: string
|
|
8
8
|
name: humeApiKey
|
|
9
9
|
messages:
|
|
10
|
+
subscribe:
|
|
11
|
+
origin: server
|
|
12
|
+
body: SubscribeEvent
|
|
10
13
|
publish:
|
|
11
14
|
origin: client
|
|
12
15
|
body:
|
|
13
16
|
type: StreamModelsEndpointPayload
|
|
14
17
|
docs: Models endpoint payload
|
|
15
|
-
subscribe:
|
|
16
|
-
origin: server
|
|
17
|
-
body: SubscribeEvent
|
|
18
18
|
examples:
|
|
19
19
|
- messages:
|
|
20
20
|
- type: publish
|
|
@@ -22,209 +22,6 @@ channel:
|
|
|
22
22
|
- type: subscribe
|
|
23
23
|
body: {}
|
|
24
24
|
types:
|
|
25
|
-
StreamFace:
|
|
26
|
-
docs: >
|
|
27
|
-
Configuration for the facial expression emotion model.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
Note: Using the `reset_stream` parameter does not have any effect on face
|
|
31
|
-
identification. A single face identifier cache is maintained over a full
|
|
32
|
-
session whether `reset_stream` is used or not.
|
|
33
|
-
properties:
|
|
34
|
-
facs:
|
|
35
|
-
type: optional<map<string, unknown>>
|
|
36
|
-
docs: >-
|
|
37
|
-
Configuration for FACS predictions. If missing or null, no FACS
|
|
38
|
-
predictions will be generated.
|
|
39
|
-
descriptions:
|
|
40
|
-
type: optional<map<string, unknown>>
|
|
41
|
-
docs: >-
|
|
42
|
-
Configuration for Descriptions predictions. If missing or null, no
|
|
43
|
-
Descriptions predictions will be generated.
|
|
44
|
-
identify_faces:
|
|
45
|
-
type: optional<boolean>
|
|
46
|
-
docs: >
|
|
47
|
-
Whether to return identifiers for faces across frames. If true, unique
|
|
48
|
-
identifiers will be assigned to face bounding boxes to differentiate
|
|
49
|
-
different faces. If false, all faces will be tagged with an "unknown"
|
|
50
|
-
ID.
|
|
51
|
-
default: false
|
|
52
|
-
fps_pred:
|
|
53
|
-
type: optional<double>
|
|
54
|
-
docs: >
|
|
55
|
-
Number of frames per second to process. Other frames will be omitted
|
|
56
|
-
from the response.
|
|
57
|
-
default: 3
|
|
58
|
-
prob_threshold:
|
|
59
|
-
type: optional<double>
|
|
60
|
-
docs: >
|
|
61
|
-
Face detection probability threshold. Faces detected with a
|
|
62
|
-
probability less than this threshold will be omitted from the
|
|
63
|
-
response.
|
|
64
|
-
default: 3
|
|
65
|
-
min_face_size:
|
|
66
|
-
type: optional<double>
|
|
67
|
-
docs: >
|
|
68
|
-
Minimum bounding box side length in pixels to treat as a face. Faces
|
|
69
|
-
detected with a bounding box side length in pixels less than this
|
|
70
|
-
threshold will be omitted from the response.
|
|
71
|
-
default: 3
|
|
72
|
-
source:
|
|
73
|
-
openapi: streaming-asyncapi.yml
|
|
74
|
-
inline: true
|
|
75
|
-
StreamLanguage:
|
|
76
|
-
docs: Configuration for the language emotion model.
|
|
77
|
-
properties:
|
|
78
|
-
sentiment:
|
|
79
|
-
type: optional<map<string, unknown>>
|
|
80
|
-
docs: >-
|
|
81
|
-
Configuration for sentiment predictions. If missing or null, no
|
|
82
|
-
sentiment predictions will be generated.
|
|
83
|
-
toxicity:
|
|
84
|
-
type: optional<map<string, unknown>>
|
|
85
|
-
docs: >-
|
|
86
|
-
Configuration for toxicity predictions. If missing or null, no
|
|
87
|
-
toxicity predictions will be generated.
|
|
88
|
-
granularity:
|
|
89
|
-
type: optional<string>
|
|
90
|
-
docs: >-
|
|
91
|
-
The granularity at which to generate predictions. Values are `word`,
|
|
92
|
-
`sentence`, `utterance`, or `passage`. To get a single prediction for
|
|
93
|
-
the entire text of your streaming payload use `passage`. Default value
|
|
94
|
-
is `word`.
|
|
95
|
-
source:
|
|
96
|
-
openapi: streaming-asyncapi.yml
|
|
97
|
-
inline: true
|
|
98
|
-
Config:
|
|
99
|
-
docs: >
|
|
100
|
-
Configuration used to specify which models should be used and with what
|
|
101
|
-
settings.
|
|
102
|
-
properties:
|
|
103
|
-
burst:
|
|
104
|
-
type: optional<map<string, unknown>>
|
|
105
|
-
docs: |
|
|
106
|
-
Configuration for the vocal burst emotion model.
|
|
107
|
-
|
|
108
|
-
Note: Model configuration is not currently available in streaming.
|
|
109
|
-
|
|
110
|
-
Please use the default configuration by passing an empty object `{}`.
|
|
111
|
-
face:
|
|
112
|
-
type: optional<StreamFace>
|
|
113
|
-
docs: >
|
|
114
|
-
Configuration for the facial expression emotion model.
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
Note: Using the `reset_stream` parameter does not have any effect on
|
|
118
|
-
face identification. A single face identifier cache is maintained over
|
|
119
|
-
a full session whether `reset_stream` is used or not.
|
|
120
|
-
facemesh:
|
|
121
|
-
type: optional<map<string, unknown>>
|
|
122
|
-
docs: |
|
|
123
|
-
Configuration for the facemesh emotion model.
|
|
124
|
-
|
|
125
|
-
Note: Model configuration is not currently available in streaming.
|
|
126
|
-
|
|
127
|
-
Please use the default configuration by passing an empty object `{}`.
|
|
128
|
-
language:
|
|
129
|
-
type: optional<StreamLanguage>
|
|
130
|
-
docs: Configuration for the language emotion model.
|
|
131
|
-
prosody:
|
|
132
|
-
type: optional<map<string, unknown>>
|
|
133
|
-
docs: |
|
|
134
|
-
Configuration for the speech prosody emotion model.
|
|
135
|
-
|
|
136
|
-
Note: Model configuration is not currently available in streaming.
|
|
137
|
-
|
|
138
|
-
Please use the default configuration by passing an empty object `{}`.
|
|
139
|
-
source:
|
|
140
|
-
openapi: streaming-asyncapi.yml
|
|
141
|
-
inline: true
|
|
142
|
-
StreamModelsEndpointPayload:
|
|
143
|
-
docs: Models endpoint payload
|
|
144
|
-
properties:
|
|
145
|
-
data:
|
|
146
|
-
type: optional<string>
|
|
147
|
-
models:
|
|
148
|
-
type: optional<Config>
|
|
149
|
-
docs: >
|
|
150
|
-
Configuration used to specify which models should be used and with
|
|
151
|
-
what settings.
|
|
152
|
-
stream_window_ms:
|
|
153
|
-
type: optional<double>
|
|
154
|
-
docs: >
|
|
155
|
-
Length in milliseconds of streaming sliding window.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
Extending the length of this window will prepend media context from
|
|
159
|
-
past payloads into the current payload.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
For example, if on the first payload you send 500ms of data and on the
|
|
163
|
-
second payload you send an additional 500ms of data, a window of at
|
|
164
|
-
least 1000ms will allow the model to process all 1000ms of stream
|
|
165
|
-
data.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
A window of 600ms would append the full 500ms of the second payload to
|
|
169
|
-
the last 100ms of the first payload.
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
Note: This feature is currently only supported for audio data and
|
|
173
|
-
audio models. For other file types and models this parameter will be
|
|
174
|
-
ignored.
|
|
175
|
-
default: 5000
|
|
176
|
-
validation:
|
|
177
|
-
min: 500
|
|
178
|
-
max: 10000
|
|
179
|
-
reset_stream:
|
|
180
|
-
type: optional<boolean>
|
|
181
|
-
docs: >
|
|
182
|
-
Whether to reset the streaming sliding window before processing the
|
|
183
|
-
current payload.
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
If this parameter is set to `true` then past context will be deleted
|
|
187
|
-
before processing the current payload.
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
Use reset_stream when one audio file is done being processed and you
|
|
191
|
-
do not want context to leak across files.
|
|
192
|
-
default: false
|
|
193
|
-
raw_text:
|
|
194
|
-
type: optional<boolean>
|
|
195
|
-
docs: >
|
|
196
|
-
Set to `true` to enable the data parameter to be parsed as raw text
|
|
197
|
-
rather than base64 encoded bytes.
|
|
198
|
-
|
|
199
|
-
This parameter is useful if you want to send text to be processed by
|
|
200
|
-
the language model, but it cannot be used with other file types like
|
|
201
|
-
audio, image, or video.
|
|
202
|
-
default: false
|
|
203
|
-
job_details:
|
|
204
|
-
type: optional<boolean>
|
|
205
|
-
docs: >
|
|
206
|
-
Set to `true` to get details about the job.
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
This parameter can be set in the same payload as data or it can be set
|
|
210
|
-
without data and models configuration to get the job details between
|
|
211
|
-
payloads.
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
This parameter is useful to get the unique job ID.
|
|
215
|
-
default: false
|
|
216
|
-
payload_id:
|
|
217
|
-
type: optional<string>
|
|
218
|
-
docs: >
|
|
219
|
-
Pass an arbitrary string as the payload ID and get it back at the top
|
|
220
|
-
level of the socket response.
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
This can be useful if you have multiple requests running
|
|
224
|
-
asynchronously and want to disambiguate responses as they are
|
|
225
|
-
received.
|
|
226
|
-
source:
|
|
227
|
-
openapi: streaming-asyncapi.yml
|
|
228
25
|
StreamModelPredictionsJobDetails:
|
|
229
26
|
docs: >
|
|
230
27
|
If the job_details flag was set in the request, details about the current
|
|
@@ -434,5 +231,208 @@ types:
|
|
|
434
231
|
docs: Warning message
|
|
435
232
|
source:
|
|
436
233
|
openapi: streaming-asyncapi.yml
|
|
234
|
+
StreamFace:
|
|
235
|
+
docs: >
|
|
236
|
+
Configuration for the facial expression emotion model.
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
Note: Using the `reset_stream` parameter does not have any effect on face
|
|
240
|
+
identification. A single face identifier cache is maintained over a full
|
|
241
|
+
session whether `reset_stream` is used or not.
|
|
242
|
+
properties:
|
|
243
|
+
facs:
|
|
244
|
+
type: optional<map<string, unknown>>
|
|
245
|
+
docs: >-
|
|
246
|
+
Configuration for FACS predictions. If missing or null, no FACS
|
|
247
|
+
predictions will be generated.
|
|
248
|
+
descriptions:
|
|
249
|
+
type: optional<map<string, unknown>>
|
|
250
|
+
docs: >-
|
|
251
|
+
Configuration for Descriptions predictions. If missing or null, no
|
|
252
|
+
Descriptions predictions will be generated.
|
|
253
|
+
identify_faces:
|
|
254
|
+
type: optional<boolean>
|
|
255
|
+
docs: >
|
|
256
|
+
Whether to return identifiers for faces across frames. If true, unique
|
|
257
|
+
identifiers will be assigned to face bounding boxes to differentiate
|
|
258
|
+
different faces. If false, all faces will be tagged with an "unknown"
|
|
259
|
+
ID.
|
|
260
|
+
default: false
|
|
261
|
+
fps_pred:
|
|
262
|
+
type: optional<double>
|
|
263
|
+
docs: >
|
|
264
|
+
Number of frames per second to process. Other frames will be omitted
|
|
265
|
+
from the response.
|
|
266
|
+
default: 3
|
|
267
|
+
prob_threshold:
|
|
268
|
+
type: optional<double>
|
|
269
|
+
docs: >
|
|
270
|
+
Face detection probability threshold. Faces detected with a
|
|
271
|
+
probability less than this threshold will be omitted from the
|
|
272
|
+
response.
|
|
273
|
+
default: 3
|
|
274
|
+
min_face_size:
|
|
275
|
+
type: optional<double>
|
|
276
|
+
docs: >
|
|
277
|
+
Minimum bounding box side length in pixels to treat as a face. Faces
|
|
278
|
+
detected with a bounding box side length in pixels less than this
|
|
279
|
+
threshold will be omitted from the response.
|
|
280
|
+
default: 3
|
|
281
|
+
source:
|
|
282
|
+
openapi: streaming-asyncapi.yml
|
|
283
|
+
inline: true
|
|
284
|
+
StreamLanguage:
|
|
285
|
+
docs: Configuration for the language emotion model.
|
|
286
|
+
properties:
|
|
287
|
+
sentiment:
|
|
288
|
+
type: optional<map<string, unknown>>
|
|
289
|
+
docs: >-
|
|
290
|
+
Configuration for sentiment predictions. If missing or null, no
|
|
291
|
+
sentiment predictions will be generated.
|
|
292
|
+
toxicity:
|
|
293
|
+
type: optional<map<string, unknown>>
|
|
294
|
+
docs: >-
|
|
295
|
+
Configuration for toxicity predictions. If missing or null, no
|
|
296
|
+
toxicity predictions will be generated.
|
|
297
|
+
granularity:
|
|
298
|
+
type: optional<string>
|
|
299
|
+
docs: >-
|
|
300
|
+
The granularity at which to generate predictions. Values are `word`,
|
|
301
|
+
`sentence`, `utterance`, or `passage`. To get a single prediction for
|
|
302
|
+
the entire text of your streaming payload use `passage`. Default value
|
|
303
|
+
is `word`.
|
|
304
|
+
source:
|
|
305
|
+
openapi: streaming-asyncapi.yml
|
|
306
|
+
inline: true
|
|
307
|
+
Config:
|
|
308
|
+
docs: >
|
|
309
|
+
Configuration used to specify which models should be used and with what
|
|
310
|
+
settings.
|
|
311
|
+
properties:
|
|
312
|
+
burst:
|
|
313
|
+
type: optional<map<string, unknown>>
|
|
314
|
+
docs: |
|
|
315
|
+
Configuration for the vocal burst emotion model.
|
|
316
|
+
|
|
317
|
+
Note: Model configuration is not currently available in streaming.
|
|
318
|
+
|
|
319
|
+
Please use the default configuration by passing an empty object `{}`.
|
|
320
|
+
face:
|
|
321
|
+
type: optional<StreamFace>
|
|
322
|
+
docs: >
|
|
323
|
+
Configuration for the facial expression emotion model.
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
Note: Using the `reset_stream` parameter does not have any effect on
|
|
327
|
+
face identification. A single face identifier cache is maintained over
|
|
328
|
+
a full session whether `reset_stream` is used or not.
|
|
329
|
+
facemesh:
|
|
330
|
+
type: optional<map<string, unknown>>
|
|
331
|
+
docs: |
|
|
332
|
+
Configuration for the facemesh emotion model.
|
|
333
|
+
|
|
334
|
+
Note: Model configuration is not currently available in streaming.
|
|
335
|
+
|
|
336
|
+
Please use the default configuration by passing an empty object `{}`.
|
|
337
|
+
language:
|
|
338
|
+
type: optional<StreamLanguage>
|
|
339
|
+
docs: Configuration for the language emotion model.
|
|
340
|
+
prosody:
|
|
341
|
+
type: optional<map<string, unknown>>
|
|
342
|
+
docs: |
|
|
343
|
+
Configuration for the speech prosody emotion model.
|
|
344
|
+
|
|
345
|
+
Note: Model configuration is not currently available in streaming.
|
|
346
|
+
|
|
347
|
+
Please use the default configuration by passing an empty object `{}`.
|
|
348
|
+
source:
|
|
349
|
+
openapi: streaming-asyncapi.yml
|
|
350
|
+
inline: true
|
|
351
|
+
StreamModelsEndpointPayload:
|
|
352
|
+
docs: Models endpoint payload
|
|
353
|
+
properties:
|
|
354
|
+
data:
|
|
355
|
+
type: optional<string>
|
|
356
|
+
models:
|
|
357
|
+
type: optional<Config>
|
|
358
|
+
docs: >
|
|
359
|
+
Configuration used to specify which models should be used and with
|
|
360
|
+
what settings.
|
|
361
|
+
stream_window_ms:
|
|
362
|
+
type: optional<double>
|
|
363
|
+
docs: >
|
|
364
|
+
Length in milliseconds of streaming sliding window.
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
Extending the length of this window will prepend media context from
|
|
368
|
+
past payloads into the current payload.
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
For example, if on the first payload you send 500ms of data and on the
|
|
372
|
+
second payload you send an additional 500ms of data, a window of at
|
|
373
|
+
least 1000ms will allow the model to process all 1000ms of stream
|
|
374
|
+
data.
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
A window of 600ms would append the full 500ms of the second payload to
|
|
378
|
+
the last 100ms of the first payload.
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
Note: This feature is currently only supported for audio data and
|
|
382
|
+
audio models. For other file types and models this parameter will be
|
|
383
|
+
ignored.
|
|
384
|
+
default: 5000
|
|
385
|
+
validation:
|
|
386
|
+
min: 500
|
|
387
|
+
max: 10000
|
|
388
|
+
reset_stream:
|
|
389
|
+
type: optional<boolean>
|
|
390
|
+
docs: >
|
|
391
|
+
Whether to reset the streaming sliding window before processing the
|
|
392
|
+
current payload.
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
If this parameter is set to `true` then past context will be deleted
|
|
396
|
+
before processing the current payload.
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
Use reset_stream when one audio file is done being processed and you
|
|
400
|
+
do not want context to leak across files.
|
|
401
|
+
default: false
|
|
402
|
+
raw_text:
|
|
403
|
+
type: optional<boolean>
|
|
404
|
+
docs: >
|
|
405
|
+
Set to `true` to enable the data parameter to be parsed as raw text
|
|
406
|
+
rather than base64 encoded bytes.
|
|
407
|
+
|
|
408
|
+
This parameter is useful if you want to send text to be processed by
|
|
409
|
+
the language model, but it cannot be used with other file types like
|
|
410
|
+
audio, image, or video.
|
|
411
|
+
default: false
|
|
412
|
+
job_details:
|
|
413
|
+
type: optional<boolean>
|
|
414
|
+
docs: >
|
|
415
|
+
Set to `true` to get details about the job.
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
This parameter can be set in the same payload as data or it can be set
|
|
419
|
+
without data and models configuration to get the job details between
|
|
420
|
+
payloads.
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
This parameter is useful to get the unique job ID.
|
|
424
|
+
default: false
|
|
425
|
+
payload_id:
|
|
426
|
+
type: optional<string>
|
|
427
|
+
docs: >
|
|
428
|
+
Pass an arbitrary string as the payload ID and get it back at the top
|
|
429
|
+
level of the socket response.
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
This can be useful if you have multiple requests running
|
|
433
|
+
asynchronously and want to disambiguate responses as they are
|
|
434
|
+
received.
|
|
435
|
+
source:
|
|
436
|
+
openapi: streaming-asyncapi.yml
|
|
437
437
|
imports:
|
|
438
438
|
streamRoot: __package__.yml
|
|
@@ -69,15 +69,16 @@ service:
|
|
|
69
69
|
file_size: 120192
|
|
70
70
|
encoding:
|
|
71
71
|
format: mp3
|
|
72
|
-
sample_rate:
|
|
72
|
+
sample_rate: 48000
|
|
73
73
|
audio: //PExAA0DDYRvkpNfhv3JI5JZ...etc.
|
|
74
74
|
snippets:
|
|
75
75
|
- - audio: //PExAA0DDYRvkpNfhv3JI5JZ...etc.
|
|
76
|
+
generation_id: 795c949a-1510-4a80-9646-7d0863b023ab
|
|
76
77
|
id: 37b1b1b1-1b1b-1b1b-1b1b-1b1b1b1b1b1b
|
|
77
78
|
text: >-
|
|
78
79
|
Beauty is no quality in things themselves: It exists
|
|
79
80
|
merely in the mind which contemplates them.
|
|
80
|
-
|
|
81
|
+
utterance_index: 0
|
|
81
82
|
request_id: 66e01f90-4501-4aa0-bbaf-74f45dc15aa725906
|
|
82
83
|
synthesize-file:
|
|
83
84
|
path: /v0/tts/file
|
|
@@ -221,13 +222,18 @@ types:
|
|
|
221
222
|
source:
|
|
222
223
|
openapi: tts-openapi.yml
|
|
223
224
|
AudioEncoding:
|
|
225
|
+
docs: >-
|
|
226
|
+
Encoding information about the generated audio, including the `format` and
|
|
227
|
+
`sample_rate`.
|
|
224
228
|
properties:
|
|
225
229
|
format:
|
|
226
230
|
type: AudioFormatType
|
|
227
231
|
docs: Format for the output audio.
|
|
228
232
|
sample_rate:
|
|
229
233
|
type: integer
|
|
230
|
-
docs:
|
|
234
|
+
docs: >-
|
|
235
|
+
The sample rate (`Hz`) of the generated audio. The default sample rate
|
|
236
|
+
is `48000 Hz`.
|
|
231
237
|
source:
|
|
232
238
|
openapi: tts-openapi.yml
|
|
233
239
|
AudioFormatType:
|
|
@@ -260,9 +266,10 @@ types:
|
|
|
260
266
|
multiple requests.
|
|
261
267
|
snippets:
|
|
262
268
|
docs: >-
|
|
263
|
-
A list of
|
|
264
|
-
|
|
265
|
-
the
|
|
269
|
+
A list of snippet groups where each group corresponds to an utterance
|
|
270
|
+
in the request. Each group contains segmented snippets that represent
|
|
271
|
+
the original utterance divided into more natural-sounding units
|
|
272
|
+
optimized for speech delivery.
|
|
266
273
|
type: list<list<Snippet>>
|
|
267
274
|
source:
|
|
268
275
|
openapi: tts-openapi.yml
|
|
@@ -340,7 +347,16 @@ types:
|
|
|
340
347
|
as this can result in distorted output.
|
|
341
348
|
default: true
|
|
342
349
|
utterances:
|
|
343
|
-
docs:
|
|
350
|
+
docs: >-
|
|
351
|
+
A list of **Utterances** to be converted to speech output.
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
An **Utterance** is a unit of input for
|
|
355
|
+
[Octave](/docs/text-to-speech-tts/overview), and includes input
|
|
356
|
+
`text`, an optional `description` to serve as the prompt for how the
|
|
357
|
+
speech should be delivered, an optional `voice` specification, and
|
|
358
|
+
additional controls to guide delivery for `speed` and
|
|
359
|
+
`trailing_silence`.
|
|
344
360
|
type: list<PostedUtterance>
|
|
345
361
|
source:
|
|
346
362
|
openapi: tts-openapi.yml
|
|
@@ -439,12 +455,10 @@ types:
|
|
|
439
455
|
accent').
|
|
440
456
|
|
|
441
457
|
- If a Voice is specified in the request, this description serves as
|
|
442
|
-
acting instructions.
|
|
443
|
-
|
|
444
|
-
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
See our [prompting guide](/docs/text-to-speech-tts/prompting) for tips on crafting your descriptions.
|
|
458
|
+
acting instructions. For tips on how to effectively guide speech
|
|
459
|
+
delivery, see our guide on [Acting
|
|
460
|
+
instructions](/docs/text-to-speech-tts/acting-instructions).
|
|
461
|
+
- If no Voice is specified, a new voice is generated based on this description. See our [prompting guide](/docs/text-to-speech-tts/prompting) for tips on designing a voice.
|
|
448
462
|
validation:
|
|
449
463
|
maxLength: 1000
|
|
450
464
|
speed:
|
|
@@ -557,9 +571,29 @@ types:
|
|
|
557
571
|
ReturnPagedVoices:
|
|
558
572
|
docs: A paginated list Octave voices available for text-to-speech
|
|
559
573
|
properties:
|
|
560
|
-
page_number:
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
574
|
+
page_number:
|
|
575
|
+
type: optional<integer>
|
|
576
|
+
docs: >-
|
|
577
|
+
The page number of the returned list.
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
This value corresponds to the `page_number` parameter specified in the
|
|
581
|
+
request. Pagination uses zero-based indexing.
|
|
582
|
+
page_size:
|
|
583
|
+
type: optional<integer>
|
|
584
|
+
docs: >-
|
|
585
|
+
The maximum number of items returned per page.
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
This value corresponds to the `page_size` parameter specified in the
|
|
589
|
+
request.
|
|
590
|
+
total_pages:
|
|
591
|
+
type: optional<integer>
|
|
592
|
+
docs: The total number of pages in the collection.
|
|
593
|
+
voices_page:
|
|
594
|
+
type: optional<list<ReturnVoice>>
|
|
595
|
+
docs: >-
|
|
596
|
+
List of voices returned for the specified `page_number` and
|
|
597
|
+
`page_size`.
|
|
564
598
|
source:
|
|
565
599
|
openapi: tts-openapi.yml
|
|
@@ -44,7 +44,8 @@ service:
|
|
|
44
44
|
|
|
45
45
|
For example, if `page_size` is set to 10, each page will include
|
|
46
46
|
up to 10 items. Defaults to 10.
|
|
47
|
-
ascending_order:
|
|
47
|
+
ascending_order:
|
|
48
|
+
type: optional<boolean>
|
|
48
49
|
response:
|
|
49
50
|
docs: Success
|
|
50
51
|
type: root.ReturnPagedVoices
|
|
@@ -56,11 +57,16 @@ service:
|
|
|
56
57
|
provider: CUSTOM_VOICE
|
|
57
58
|
response:
|
|
58
59
|
body:
|
|
60
|
+
page_number: 0
|
|
61
|
+
page_size: 10
|
|
62
|
+
total_pages: 1
|
|
59
63
|
voices_page:
|
|
60
64
|
- name: David Hume
|
|
61
65
|
id: c42352c0-4566-455d-b180-0f654b65b525
|
|
66
|
+
provider: CUSTOM_VOICE
|
|
62
67
|
- name: Goliath Hume
|
|
63
68
|
id: d87352b0-26a3-4b11-081b-d157a5674d19
|
|
69
|
+
provider: CUSTOM_VOICE
|
|
64
70
|
create:
|
|
65
71
|
path: /v0/tts/voices
|
|
66
72
|
method: POST
|
|
@@ -100,6 +106,7 @@ service:
|
|
|
100
106
|
body:
|
|
101
107
|
name: David Hume
|
|
102
108
|
id: c42352c0-4566-455d-b180-0f654b65b525
|
|
109
|
+
provider: CUSTOM_VOICE
|
|
103
110
|
delete:
|
|
104
111
|
path: /v0/tts/voices
|
|
105
112
|
method: DELETE
|
package/.mock/fern.config.json
CHANGED
|
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
18
18
|
}) : function(o, v) {
|
|
19
19
|
o["default"] = v;
|
|
20
20
|
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
28
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
39
|
exports.BadRequestError = void 0;
|
|
30
40
|
const errors = __importStar(require("../../../../errors/index"));
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
36
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
37
|
return new (P || (P = Promise))(function (resolve, reject) {
|