hume 0.7.2 → 0.8.1-beta0
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 +492 -322
- package/.mock/definition/empathic-voice/chat.yml +8 -8
- package/.mock/definition/empathic-voice/configs.yml +6 -42
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +3 -3
- package/Client.js +4 -9
- package/api/resources/empathicVoice/client/Client.d.ts +6 -0
- package/api/resources/empathicVoice/client/Client.js +5 -0
- package/api/resources/empathicVoice/index.d.ts +0 -1
- package/api/resources/empathicVoice/index.js +0 -1
- package/api/resources/empathicVoice/resources/chat/client/Client.d.ts +21 -0
- package/api/resources/empathicVoice/resources/chat/client/Client.js +60 -0
- package/api/resources/empathicVoice/resources/chat/client/Socket.d.ts +76 -0
- package/api/resources/empathicVoice/resources/chat/client/Socket.js +150 -0
- package/api/resources/empathicVoice/resources/chat/client/index.d.ts +0 -0
- package/api/resources/empathicVoice/resources/chat/client/index.js +1 -0
- package/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +3 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -6
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +3 -0
- package/api/resources/empathicVoice/resources/chats/client/Client.js +4 -6
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +3 -0
- package/api/resources/empathicVoice/resources/configs/client/Client.js +19 -29
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -4
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +1 -4
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +3 -0
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +19 -29
- package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +3 -0
- package/api/resources/empathicVoice/resources/tools/client/Client.js +19 -25
- package/api/resources/empathicVoice/types/AssistantEnd.d.ts +2 -2
- package/api/resources/empathicVoice/types/AssistantInput.d.ts +2 -2
- package/api/resources/empathicVoice/types/AssistantMessage.d.ts +4 -4
- package/api/resources/empathicVoice/types/AudioConfiguration.d.ts +2 -2
- package/api/resources/empathicVoice/types/AudioInput.d.ts +2 -2
- package/api/resources/empathicVoice/types/AudioOutput.d.ts +4 -4
- package/api/resources/empathicVoice/types/BuiltinToolConfig.d.ts +1 -1
- package/api/resources/empathicVoice/types/ChatMessage.d.ts +2 -2
- package/api/resources/empathicVoice/types/ChatMetadata.d.ts +6 -4
- package/api/resources/empathicVoice/types/Context.d.ts +2 -2
- package/api/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +8 -0
- package/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +6 -0
- package/api/resources/empathicVoice/types/HttpValidationError.d.ts +7 -0
- package/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
- package/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +18 -0
- package/api/resources/empathicVoice/types/PostedCustomVoiceName.d.ts +10 -0
- package/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +11 -0
- package/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +2 -1
- package/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.js +1 -0
- package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +11 -0
- package/api/resources/empathicVoice/types/PostedVoice.d.ts +3 -3
- package/api/resources/empathicVoice/types/PostedVoiceName.d.ts +1 -1
- package/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -4
- package/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +26 -0
- package/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnPagedCustomVoices.d.ts +17 -0
- package/api/resources/empathicVoice/types/ReturnPrivacySettings.d.ts +8 -0
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnPurgeStats.d.ts +12 -0
- package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnVoice.d.ts +2 -2
- package/api/resources/empathicVoice/types/SessionSettings.d.ts +13 -10
- package/api/resources/empathicVoice/types/TextInput.d.ts +6 -0
- package/api/resources/empathicVoice/types/Tool.d.ts +6 -6
- package/api/resources/empathicVoice/types/ToolCallMessage.d.ts +6 -6
- package/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +10 -10
- package/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +4 -4
- package/api/resources/empathicVoice/types/TtsInput.d.ts +6 -0
- package/api/resources/empathicVoice/types/UserInput.d.ts +2 -2
- package/api/resources/empathicVoice/types/UserInterruption.d.ts +2 -2
- package/api/resources/empathicVoice/types/UserMessage.d.ts +4 -4
- package/api/resources/empathicVoice/types/ValidationError.d.ts +9 -0
- package/api/resources/empathicVoice/types/ValidationErrorLocItem.d.ts +4 -0
- package/api/resources/empathicVoice/types/VoiceArgs.d.ts +9 -0
- package/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +9 -0
- package/api/resources/empathicVoice/types/VoiceNameEnum.js +11 -0
- package/api/resources/empathicVoice/types/WebSocketError.d.ts +18 -0
- package/api/resources/empathicVoice/types/index.d.ts +32 -13
- package/api/resources/empathicVoice/types/index.js +32 -13
- package/api/resources/expressionMeasurement/client/Client.d.ts +3 -0
- package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +3 -0
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +12 -17
- package/api/resources/index.d.ts +0 -1
- package/api/resources/index.js +1 -2
- package/core/form-data-utils/FormDataWrapper.js +1 -3
- package/core/schemas/Schema.d.ts +3 -4
- package/core/schemas/builders/lazy/lazy.d.ts +2 -2
- package/core/schemas/builders/lazy/lazy.js +8 -19
- package/core/schemas/builders/lazy/lazyObject.js +1 -10
- package/core/schemas/builders/list/list.js +31 -44
- package/core/schemas/builders/object/object.js +88 -111
- package/core/schemas/builders/object/types.d.ts +2 -2
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
- package/core/schemas/builders/record/record.js +49 -60
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +12 -21
- package/core/schemas/builders/set/set.js +6 -15
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
- package/core/schemas/builders/union/union.js +51 -62
- package/core/schemas/utils/maybeSkipValidation.js +3 -12
- package/core/websocket/events.d.ts +36 -0
- package/core/websocket/events.js +27 -0
- package/core/websocket/index.d.ts +1 -1
- package/core/websocket/index.js +15 -3
- package/core/websocket/ws.d.ts +136 -0
- package/core/websocket/ws.js +432 -0
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +4 -9
- package/dist/api/resources/empathicVoice/client/Client.d.ts +6 -0
- package/dist/api/resources/empathicVoice/client/Client.js +5 -0
- package/dist/api/resources/empathicVoice/index.d.ts +0 -1
- package/dist/api/resources/empathicVoice/index.js +0 -1
- package/dist/api/resources/empathicVoice/resources/chat/client/Client.d.ts +21 -0
- package/dist/api/resources/empathicVoice/resources/chat/client/Client.js +60 -0
- package/dist/api/resources/empathicVoice/resources/chat/client/Socket.d.ts +76 -0
- package/dist/api/resources/empathicVoice/resources/chat/client/Socket.js +150 -0
- package/dist/api/resources/empathicVoice/resources/chat/client/index.d.ts +0 -0
- package/dist/api/resources/empathicVoice/resources/chat/client/index.js +1 -0
- package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -6
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +4 -6
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +19 -29
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +1 -4
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +19 -29
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +3 -0
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +19 -25
- package/dist/api/resources/empathicVoice/types/AssistantEnd.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/AssistantInput.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +4 -4
- package/dist/api/resources/empathicVoice/types/AudioConfiguration.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/AudioInput.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +4 -4
- package/dist/api/resources/empathicVoice/types/BuiltinToolConfig.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ChatMessage.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +6 -4
- package/dist/api/resources/empathicVoice/types/Context.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +8 -0
- package/dist/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +6 -0
- package/dist/api/resources/empathicVoice/types/HttpValidationError.d.ts +7 -0
- package/dist/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +18 -0
- package/dist/api/resources/empathicVoice/types/PostedCustomVoiceName.d.ts +10 -0
- package/dist/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +2 -1
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.js +1 -0
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +3 -3
- package/dist/api/resources/empathicVoice/types/PostedVoiceName.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -4
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +26 -0
- package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedCustomVoices.d.ts +17 -0
- package/dist/api/resources/empathicVoice/types/ReturnPrivacySettings.d.ts +8 -0
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnPurgeStats.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +13 -10
- package/dist/api/resources/empathicVoice/types/TextInput.d.ts +6 -0
- package/dist/api/resources/empathicVoice/types/Tool.d.ts +6 -6
- package/dist/api/resources/empathicVoice/types/ToolCallMessage.d.ts +6 -6
- package/dist/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +10 -10
- package/dist/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +4 -4
- package/dist/api/resources/empathicVoice/types/TtsInput.d.ts +6 -0
- package/dist/api/resources/empathicVoice/types/UserInput.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/UserInterruption.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/UserMessage.d.ts +4 -4
- package/dist/api/resources/empathicVoice/types/ValidationError.d.ts +9 -0
- package/dist/api/resources/empathicVoice/types/ValidationErrorLocItem.d.ts +4 -0
- package/dist/api/resources/empathicVoice/types/VoiceArgs.d.ts +9 -0
- package/dist/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +9 -0
- package/dist/api/resources/empathicVoice/types/VoiceNameEnum.js +11 -0
- package/dist/api/resources/empathicVoice/types/WebSocketError.d.ts +18 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +32 -13
- package/dist/api/resources/empathicVoice/types/index.js +32 -13
- package/dist/api/resources/expressionMeasurement/client/Client.d.ts +3 -0
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +3 -0
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +12 -17
- package/dist/api/resources/index.d.ts +0 -1
- package/dist/api/resources/index.js +1 -2
- package/dist/core/form-data-utils/FormDataWrapper.js +1 -3
- package/dist/core/schemas/Schema.d.ts +3 -4
- package/dist/core/schemas/builders/lazy/lazy.d.ts +2 -2
- package/dist/core/schemas/builders/lazy/lazy.js +8 -19
- package/dist/core/schemas/builders/lazy/lazyObject.js +1 -10
- package/dist/core/schemas/builders/list/list.js +31 -44
- package/dist/core/schemas/builders/object/object.js +88 -111
- package/dist/core/schemas/builders/object/types.d.ts +2 -2
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
- package/dist/core/schemas/builders/record/record.js +49 -60
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +12 -21
- package/dist/core/schemas/builders/set/set.js +6 -15
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
- package/dist/core/schemas/builders/union/union.js +51 -62
- package/dist/core/schemas/utils/maybeSkipValidation.js +3 -12
- package/dist/core/websocket/events.d.ts +36 -0
- package/dist/core/websocket/events.js +27 -0
- package/dist/core/websocket/index.d.ts +1 -1
- package/dist/core/websocket/index.js +15 -3
- package/dist/core/websocket/ws.d.ts +136 -0
- package/dist/core/websocket/ws.js +432 -0
- package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -2
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -4
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +2 -4
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -4
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +2 -4
- package/dist/serialization/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/AssistantEnd.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/AssistantInput.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/AssistantMessage.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/types/AssistantMessage.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/AudioConfiguration.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/AudioConfiguration.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/AudioInput.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/AudioInput.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/AudioOutput.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/types/AudioOutput.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/BuiltinToolConfig.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/BuiltinToolConfig.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ChatMessage.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ChatMessage.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ChatMetadata.d.ts +3 -2
- package/dist/serialization/resources/empathicVoice/types/ChatMetadata.js +3 -2
- package/dist/serialization/resources/empathicVoice/types/Context.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/Context.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.js +35 -0
- package/dist/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +12 -0
- package/dist/serialization/resources/empathicVoice/types/FunctionCallResponseInput.js +33 -0
- package/dist/serialization/resources/empathicVoice/types/HttpValidationError.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/HttpValidationError.js +34 -0
- package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +16 -0
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.js +39 -0
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceName.d.ts +12 -0
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceName.js +33 -0
- package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +34 -0
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpecs.js +35 -0
- package/dist/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/types/PostedVoice.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +2 -4
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +2 -4
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +20 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +41 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +34 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.d.ts +16 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.js +37 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPrivacySettings.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPrivacySettings.js +35 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPurgeStats.d.ts +18 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPurgeStats.js +39 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpecs.js +35 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/SessionSettings.d.ts +9 -7
- package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +9 -7
- package/dist/serialization/resources/empathicVoice/types/TextInput.d.ts +12 -0
- package/dist/serialization/resources/empathicVoice/types/TextInput.js +33 -0
- package/dist/serialization/resources/empathicVoice/types/Tool.d.ts +3 -3
- package/dist/serialization/resources/empathicVoice/types/Tool.js +3 -3
- package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
- package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.js +3 -3
- package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +6 -6
- package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.js +6 -6
- package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/TtsInput.d.ts +12 -0
- package/dist/serialization/resources/empathicVoice/types/TtsInput.js +33 -0
- package/dist/serialization/resources/empathicVoice/types/UserInput.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/UserInput.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/UserInterruption.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/UserMessage.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/types/UserMessage.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/ValidationError.d.ts +15 -0
- package/dist/serialization/resources/empathicVoice/types/ValidationError.js +36 -0
- package/dist/serialization/resources/empathicVoice/types/ValidationErrorLocItem.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ValidationErrorLocItem.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +15 -0
- package/dist/serialization/resources/empathicVoice/types/VoiceArgs.js +36 -0
- package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/WebSocketError.d.ts +16 -0
- package/dist/serialization/resources/empathicVoice/types/WebSocketError.js +37 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +32 -13
- package/dist/serialization/resources/empathicVoice/types/index.js +32 -13
- package/dist/serialization/resources/index.d.ts +0 -1
- package/dist/serialization/resources/index.js +1 -2
- package/dist/wrapper/HumeClient.d.ts +0 -3
- package/dist/wrapper/HumeClient.js +0 -5
- package/package.json +1 -1
- package/reference.md +0 -2156
- package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -2
- package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -2
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -4
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +2 -4
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -4
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +2 -4
- package/serialization/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/AssistantEnd.js +1 -1
- package/serialization/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/AssistantInput.js +1 -1
- package/serialization/resources/empathicVoice/types/AssistantMessage.d.ts +2 -2
- package/serialization/resources/empathicVoice/types/AssistantMessage.js +2 -2
- package/serialization/resources/empathicVoice/types/AudioConfiguration.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/AudioConfiguration.js +1 -1
- package/serialization/resources/empathicVoice/types/AudioInput.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/AudioInput.js +1 -1
- package/serialization/resources/empathicVoice/types/AudioOutput.d.ts +2 -2
- package/serialization/resources/empathicVoice/types/AudioOutput.js +2 -2
- package/serialization/resources/empathicVoice/types/BuiltinToolConfig.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/BuiltinToolConfig.js +1 -1
- package/serialization/resources/empathicVoice/types/ChatMessage.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ChatMessage.js +1 -1
- package/serialization/resources/empathicVoice/types/ChatMetadata.d.ts +3 -2
- package/serialization/resources/empathicVoice/types/ChatMetadata.js +3 -2
- package/serialization/resources/empathicVoice/types/Context.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/Context.js +1 -1
- package/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.js +35 -0
- package/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +12 -0
- package/serialization/resources/empathicVoice/types/FunctionCallResponseInput.js +33 -0
- package/serialization/resources/empathicVoice/types/HttpValidationError.d.ts +13 -0
- package/serialization/resources/empathicVoice/types/HttpValidationError.js +34 -0
- package/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
- package/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +16 -0
- package/serialization/resources/empathicVoice/types/PostedCustomVoice.js +39 -0
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceName.d.ts +12 -0
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceName.js +33 -0
- package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +13 -0
- package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +34 -0
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.js +1 -1
- package/serialization/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/PostedTimeoutSpecs.js +35 -0
- package/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -2
- package/serialization/resources/empathicVoice/types/PostedVoice.js +2 -2
- package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
- package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +2 -4
- package/serialization/resources/empathicVoice/types/ReturnConfig.js +2 -4
- package/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +20 -0
- package/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +41 -0
- package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +13 -0
- package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +34 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.d.ts +16 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.js +37 -0
- package/serialization/resources/empathicVoice/types/ReturnPrivacySettings.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/ReturnPrivacySettings.js +35 -0
- package/serialization/resources/empathicVoice/types/ReturnPurgeStats.d.ts +18 -0
- package/serialization/resources/empathicVoice/types/ReturnPurgeStats.js +39 -0
- package/serialization/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/ReturnTimeoutSpecs.js +35 -0
- package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ReturnVoice.js +1 -1
- package/serialization/resources/empathicVoice/types/SessionSettings.d.ts +9 -7
- package/serialization/resources/empathicVoice/types/SessionSettings.js +9 -7
- package/serialization/resources/empathicVoice/types/TextInput.d.ts +12 -0
- package/serialization/resources/empathicVoice/types/TextInput.js +33 -0
- package/serialization/resources/empathicVoice/types/Tool.d.ts +3 -3
- package/serialization/resources/empathicVoice/types/Tool.js +3 -3
- package/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
- package/serialization/resources/empathicVoice/types/ToolCallMessage.js +3 -3
- package/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +6 -6
- package/serialization/resources/empathicVoice/types/ToolErrorMessage.js +6 -6
- package/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
- package/serialization/resources/empathicVoice/types/ToolResponseMessage.js +2 -2
- package/serialization/resources/empathicVoice/types/TtsInput.d.ts +12 -0
- package/serialization/resources/empathicVoice/types/TtsInput.js +33 -0
- package/serialization/resources/empathicVoice/types/UserInput.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/UserInput.js +1 -1
- package/serialization/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/UserInterruption.js +1 -1
- package/serialization/resources/empathicVoice/types/UserMessage.d.ts +2 -2
- package/serialization/resources/empathicVoice/types/UserMessage.js +2 -2
- package/serialization/resources/empathicVoice/types/ValidationError.d.ts +15 -0
- package/serialization/resources/empathicVoice/types/ValidationError.js +36 -0
- package/serialization/resources/empathicVoice/types/ValidationErrorLocItem.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ValidationErrorLocItem.js +31 -0
- package/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +15 -0
- package/serialization/resources/empathicVoice/types/VoiceArgs.js +36 -0
- package/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/VoiceNameEnum.js +31 -0
- package/serialization/resources/empathicVoice/types/WebSocketError.d.ts +16 -0
- package/serialization/resources/empathicVoice/types/WebSocketError.js +37 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +32 -13
- package/serialization/resources/empathicVoice/types/index.js +32 -13
- package/serialization/resources/index.d.ts +0 -1
- package/serialization/resources/index.js +1 -2
- package/wrapper/HumeClient.d.ts +0 -3
- package/wrapper/HumeClient.js +0 -5
- package/.mock/definition/custom-models/__package__.yml +0 -1392
- package/.mock/definition/custom-models/datasets.yml +0 -406
- package/.mock/definition/custom-models/files.yml +0 -263
- package/.mock/definition/custom-models/jobs.yml +0 -44
- package/.mock/definition/custom-models/models.yml +0 -303
- package/api/resources/customModels/client/Client.d.ts +0 -33
- package/api/resources/customModels/client/Client.js +0 -32
- package/api/resources/customModels/client/index.d.ts +0 -1
- package/api/resources/customModels/client/index.js +0 -2
- package/api/resources/customModels/index.d.ts +0 -3
- package/api/resources/customModels/index.js +0 -19
- package/api/resources/customModels/resources/datasets/client/Client.d.ts +0 -126
- package/api/resources/customModels/resources/datasets/client/Client.js +0 -584
- package/api/resources/customModels/resources/datasets/client/index.d.ts +0 -1
- package/api/resources/customModels/resources/datasets/client/index.js +0 -17
- package/api/resources/customModels/resources/datasets/client/requests/DatasetsCreateDatasetRequest.d.ts +0 -13
- package/api/resources/customModels/resources/datasets/client/requests/DatasetsCreateDatasetVersionRequest.d.ts +0 -9
- package/api/resources/customModels/resources/datasets/client/requests/DatasetsListDatasetFilesRequest.d.ts +0 -21
- package/api/resources/customModels/resources/datasets/client/requests/DatasetsListDatasetVersionFilesRequest.d.ts +0 -21
- package/api/resources/customModels/resources/datasets/client/requests/DatasetsListDatasetVersionsRequest.d.ts +0 -21
- package/api/resources/customModels/resources/datasets/client/requests/DatasetsListDatasetsRequest.d.ts +0 -25
- package/api/resources/customModels/resources/datasets/client/requests/index.d.ts +0 -6
- package/api/resources/customModels/resources/datasets/client/requests/index.js +0 -2
- package/api/resources/customModels/resources/datasets/index.d.ts +0 -1
- package/api/resources/customModels/resources/datasets/index.js +0 -17
- package/api/resources/customModels/resources/files/client/Client.d.ts +0 -107
- package/api/resources/customModels/resources/files/client/Client.js +0 -438
- package/api/resources/customModels/resources/files/client/index.d.ts +0 -1
- package/api/resources/customModels/resources/files/client/index.js +0 -17
- package/api/resources/customModels/resources/files/client/requests/FilesListFilesRequest.d.ts +0 -21
- package/api/resources/customModels/resources/files/client/requests/FilesUpdateFileNameRequest.d.ts +0 -15
- package/api/resources/customModels/resources/files/client/requests/FilesUploadFileRequest.d.ts +0 -9
- package/api/resources/customModels/resources/files/client/requests/index.d.ts +0 -3
- package/api/resources/customModels/resources/files/client/requests/index.js +0 -2
- package/api/resources/customModels/resources/files/index.d.ts +0 -1
- package/api/resources/customModels/resources/files/index.js +0 -17
- package/api/resources/customModels/resources/index.d.ts +0 -7
- package/api/resources/customModels/resources/index.js +0 -36
- package/api/resources/customModels/resources/jobs/client/Client.d.ts +0 -56
- package/api/resources/customModels/resources/jobs/client/Client.js +0 -177
- package/api/resources/customModels/resources/jobs/client/index.d.ts +0 -1
- package/api/resources/customModels/resources/jobs/client/index.js +0 -2
- package/api/resources/customModels/resources/jobs/index.d.ts +0 -1
- package/api/resources/customModels/resources/jobs/index.js +0 -17
- package/api/resources/customModels/resources/models/client/Client.d.ts +0 -90
- package/api/resources/customModels/resources/models/client/Client.js +0 -417
- package/api/resources/customModels/resources/models/client/index.d.ts +0 -1
- package/api/resources/customModels/resources/models/client/index.js +0 -17
- package/api/resources/customModels/resources/models/client/requests/ModelsGetModelVersionRequest.d.ts +0 -13
- package/api/resources/customModels/resources/models/client/requests/ModelsListModelVersionsRequest.d.ts +0 -25
- package/api/resources/customModels/resources/models/client/requests/ModelsListModelsRequest.d.ts +0 -25
- package/api/resources/customModels/resources/models/client/requests/ModelsUpdateModelNameRequest.d.ts +0 -15
- package/api/resources/customModels/resources/models/client/requests/index.d.ts +0 -4
- package/api/resources/customModels/resources/models/client/requests/index.js +0 -2
- package/api/resources/customModels/resources/models/index.d.ts +0 -1
- package/api/resources/customModels/resources/models/index.js +0 -17
- package/api/resources/customModels/types/Alternative.d.ts +0 -4
- package/api/resources/customModels/types/AttributeFilter.d.ts +0 -12
- package/api/resources/customModels/types/AuthorizedFile.d.ts +0 -40
- package/api/resources/customModels/types/Bcp47Tag.d.ts +0 -35
- package/api/resources/customModels/types/Bcp47Tag.js +0 -37
- package/api/resources/customModels/types/BoundingBox.d.ts +0 -16
- package/api/resources/customModels/types/BurstPrediction.d.ts +0 -11
- package/api/resources/customModels/types/Classification.d.ts +0 -4
- package/api/resources/customModels/types/CompletedEmbeddingGeneration.d.ts +0 -11
- package/api/resources/customModels/types/CompletedInference.d.ts +0 -15
- package/api/resources/customModels/types/CompletedTlInference.d.ts +0 -15
- package/api/resources/customModels/types/CompletedTraining.d.ts +0 -14
- package/api/resources/customModels/types/CustomModel.d.ts +0 -5
- package/api/resources/customModels/types/CustomModelId.d.ts +0 -6
- package/api/resources/customModels/types/CustomModelPrediction.d.ts +0 -8
- package/api/resources/customModels/types/CustomModelRequest.d.ts +0 -9
- package/api/resources/customModels/types/CustomModelVersionId.d.ts +0 -6
- package/api/resources/customModels/types/Dataset.d.ts +0 -5
- package/api/resources/customModels/types/DatasetId.d.ts +0 -6
- package/api/resources/customModels/types/DatasetLabels.d.ts +0 -21
- package/api/resources/customModels/types/DatasetLabelsFileUriInput.d.ts +0 -12
- package/api/resources/customModels/types/DatasetLabelsFileUriInputFeatureTypesValue.d.ts +0 -14
- package/api/resources/customModels/types/DatasetLabelsFileUriInputFeatureTypesValue.js +0 -13
- package/api/resources/customModels/types/DatasetPage.d.ts +0 -18
- package/api/resources/customModels/types/DatasetVersion.d.ts +0 -20
- package/api/resources/customModels/types/DatasetVersionFeatureTypesValue.d.ts +0 -14
- package/api/resources/customModels/types/DatasetVersionFeatureTypesValue.js +0 -13
- package/api/resources/customModels/types/DatasetVersionId.d.ts +0 -6
- package/api/resources/customModels/types/DatasetVersionPage.d.ts +0 -18
- package/api/resources/customModels/types/DescriptionsScore.d.ts +0 -9
- package/api/resources/customModels/types/Direction.d.ts +0 -8
- package/api/resources/customModels/types/Direction.js +0 -10
- package/api/resources/customModels/types/EmbeddingGenerationBaseRequest.d.ts +0 -8
- package/api/resources/customModels/types/EmotionScore.d.ts +0 -9
- package/api/resources/customModels/types/EmotionScore.js +0 -5
- package/api/resources/customModels/types/Error_.d.ts +0 -9
- package/api/resources/customModels/types/Error_.js +0 -5
- package/api/resources/customModels/types/EvaluationArgs.d.ts +0 -7
- package/api/resources/customModels/types/EvaluationArgs.js +0 -5
- package/api/resources/customModels/types/ExternalModel.d.ts +0 -23
- package/api/resources/customModels/types/ExternalModel.js +0 -5
- package/api/resources/customModels/types/ExternalModelVersion.d.ts +0 -37
- package/api/resources/customModels/types/ExternalModelVersion.js +0 -5
- package/api/resources/customModels/types/ExternalModelVersionFileType.d.ts +0 -15
- package/api/resources/customModels/types/ExternalModelVersionFileType.js +0 -14
- package/api/resources/customModels/types/ExternalModelVersionTag.d.ts +0 -12
- package/api/resources/customModels/types/ExternalModelVersionTag.js +0 -5
- package/api/resources/customModels/types/Face.d.ts +0 -18
- package/api/resources/customModels/types/Face.js +0 -5
- package/api/resources/customModels/types/FacePrediction.d.ts +0 -19
- package/api/resources/customModels/types/FacePrediction.js +0 -5
- package/api/resources/customModels/types/FacemeshPrediction.d.ts +0 -8
- package/api/resources/customModels/types/FacemeshPrediction.js +0 -5
- package/api/resources/customModels/types/FacsScore.d.ts +0 -9
- package/api/resources/customModels/types/FacsScore.js +0 -5
- package/api/resources/customModels/types/Failed.d.ts +0 -13
- package/api/resources/customModels/types/Failed.js +0 -5
- package/api/resources/customModels/types/FileInput.d.ts +0 -16
- package/api/resources/customModels/types/FileInput.js +0 -5
- package/api/resources/customModels/types/FilePage.d.ts +0 -18
- package/api/resources/customModels/types/FilePage.js +0 -5
- package/api/resources/customModels/types/FileWithAttributes.d.ts +0 -9
- package/api/resources/customModels/types/FileWithAttributes.js +0 -5
- package/api/resources/customModels/types/FileWithAttributesInput.d.ts +0 -9
- package/api/resources/customModels/types/FileWithAttributesInput.js +0 -5
- package/api/resources/customModels/types/File_.d.ts +0 -11
- package/api/resources/customModels/types/File_.js +0 -5
- package/api/resources/customModels/types/Granularity.d.ts +0 -13
- package/api/resources/customModels/types/Granularity.js +0 -12
- package/api/resources/customModels/types/GroupedPredictionsBurstPrediction.d.ts +0 -9
- package/api/resources/customModels/types/GroupedPredictionsBurstPrediction.js +0 -5
- package/api/resources/customModels/types/GroupedPredictionsFacePrediction.d.ts +0 -9
- package/api/resources/customModels/types/GroupedPredictionsFacePrediction.js +0 -5
- package/api/resources/customModels/types/GroupedPredictionsFacemeshPrediction.d.ts +0 -9
- package/api/resources/customModels/types/GroupedPredictionsFacemeshPrediction.js +0 -5
- package/api/resources/customModels/types/GroupedPredictionsLanguagePrediction.d.ts +0 -9
- package/api/resources/customModels/types/GroupedPredictionsLanguagePrediction.js +0 -5
- package/api/resources/customModels/types/GroupedPredictionsNerPrediction.d.ts +0 -9
- package/api/resources/customModels/types/GroupedPredictionsNerPrediction.js +0 -5
- package/api/resources/customModels/types/GroupedPredictionsProsodyPrediction.d.ts +0 -9
- package/api/resources/customModels/types/GroupedPredictionsProsodyPrediction.js +0 -5
- package/api/resources/customModels/types/InProgress.d.ts +0 -9
- package/api/resources/customModels/types/InProgress.js +0 -5
- package/api/resources/customModels/types/InferenceBaseRequest.d.ts +0 -22
- package/api/resources/customModels/types/InferenceBaseRequest.js +0 -5
- package/api/resources/customModels/types/InferencePrediction.d.ts +0 -9
- package/api/resources/customModels/types/InferencePrediction.js +0 -5
- package/api/resources/customModels/types/InferenceRequest.d.ts +0 -23
- package/api/resources/customModels/types/InferenceRequest.js +0 -5
- package/api/resources/customModels/types/InferenceResults.d.ts +0 -8
- package/api/resources/customModels/types/InferenceResults.js +0 -5
- package/api/resources/customModels/types/InferenceSourcePredictResult.d.ts +0 -10
- package/api/resources/customModels/types/InferenceSourcePredictResult.js +0 -5
- package/api/resources/customModels/types/JobEmbeddingGeneration.d.ts +0 -11
- package/api/resources/customModels/types/JobEmbeddingGeneration.js +0 -5
- package/api/resources/customModels/types/JobId.d.ts +0 -7
- package/api/resources/customModels/types/JobId.js +0 -5
- package/api/resources/customModels/types/JobInference.d.ts +0 -11
- package/api/resources/customModels/types/JobInference.js +0 -5
- package/api/resources/customModels/types/JobTlInference.d.ts +0 -11
- package/api/resources/customModels/types/JobTlInference.js +0 -5
- package/api/resources/customModels/types/JobTraining.d.ts +0 -11
- package/api/resources/customModels/types/JobTraining.js +0 -5
- package/api/resources/customModels/types/JsonObject.d.ts +0 -6
- package/api/resources/customModels/types/JsonObject.js +0 -5
- package/api/resources/customModels/types/Language.d.ts +0 -11
- package/api/resources/customModels/types/Language.js +0 -5
- package/api/resources/customModels/types/LanguagePrediction.d.ts +0 -24
- package/api/resources/customModels/types/LanguagePrediction.js +0 -5
- package/api/resources/customModels/types/ModelPage.d.ts +0 -18
- package/api/resources/customModels/types/ModelPage.js +0 -5
- package/api/resources/customModels/types/Models.d.ts +0 -12
- package/api/resources/customModels/types/Models.js +0 -5
- package/api/resources/customModels/types/ModelsPredictions.d.ts +0 -12
- package/api/resources/customModels/types/ModelsPredictions.js +0 -5
- package/api/resources/customModels/types/Ner.d.ts +0 -7
- package/api/resources/customModels/types/Ner.js +0 -5
- package/api/resources/customModels/types/NerPrediction.d.ts +0 -24
- package/api/resources/customModels/types/NerPrediction.js +0 -5
- package/api/resources/customModels/types/Null.d.ts +0 -7
- package/api/resources/customModels/types/Null.js +0 -5
- package/api/resources/customModels/types/PageableObject.d.ts +0 -12
- package/api/resources/customModels/types/PageableObject.js +0 -5
- package/api/resources/customModels/types/PositionInterval.d.ts +0 -12
- package/api/resources/customModels/types/PositionInterval.js +0 -5
- package/api/resources/customModels/types/PredictionsOptionalNullBurstPrediction.d.ts +0 -8
- package/api/resources/customModels/types/PredictionsOptionalNullBurstPrediction.js +0 -5
- package/api/resources/customModels/types/PredictionsOptionalNullFacePrediction.d.ts +0 -8
- package/api/resources/customModels/types/PredictionsOptionalNullFacePrediction.js +0 -5
- package/api/resources/customModels/types/PredictionsOptionalNullFacemeshPrediction.d.ts +0 -8
- package/api/resources/customModels/types/PredictionsOptionalNullFacemeshPrediction.js +0 -5
- package/api/resources/customModels/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.d.ts +0 -8
- package/api/resources/customModels/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +0 -5
- package/api/resources/customModels/types/PredictionsOptionalTranscriptionMetadataNerPrediction.d.ts +0 -8
- package/api/resources/customModels/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +0 -5
- package/api/resources/customModels/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.d.ts +0 -8
- package/api/resources/customModels/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +0 -5
- package/api/resources/customModels/types/Prosody.d.ts +0 -10
- package/api/resources/customModels/types/Prosody.js +0 -5
- package/api/resources/customModels/types/ProsodyPrediction.d.ts +0 -15
- package/api/resources/customModels/types/ProsodyPrediction.js +0 -5
- package/api/resources/customModels/types/Queued.d.ts +0 -7
- package/api/resources/customModels/types/Queued.js +0 -5
- package/api/resources/customModels/types/RegistryFileDetail.d.ts +0 -9
- package/api/resources/customModels/types/RegistryFileDetail.js +0 -5
- package/api/resources/customModels/types/Regression.d.ts +0 -4
- package/api/resources/customModels/types/Regression.js +0 -5
- package/api/resources/customModels/types/ReturnDataset.d.ts +0 -15
- package/api/resources/customModels/types/ReturnDataset.js +0 -5
- package/api/resources/customModels/types/SentimentScore.d.ts +0 -9
- package/api/resources/customModels/types/SentimentScore.js +0 -5
- package/api/resources/customModels/types/SortBy.d.ts +0 -9
- package/api/resources/customModels/types/SortBy.js +0 -11
- package/api/resources/customModels/types/SortObject.d.ts +0 -8
- package/api/resources/customModels/types/SortObject.js +0 -5
- package/api/resources/customModels/types/Source.d.ts +0 -16
- package/api/resources/customModels/types/Source.js +0 -5
- package/api/resources/customModels/types/SourceFile.d.ts +0 -6
- package/api/resources/customModels/types/SourceFile.js +0 -5
- package/api/resources/customModels/types/SourceTextSource.d.ts +0 -5
- package/api/resources/customModels/types/SourceTextSource.js +0 -5
- package/api/resources/customModels/types/SourceUrl.d.ts +0 -6
- package/api/resources/customModels/types/SourceUrl.js +0 -5
- package/api/resources/customModels/types/StateEmbeddingGeneration.d.ts +0 -19
- package/api/resources/customModels/types/StateEmbeddingGeneration.js +0 -5
- package/api/resources/customModels/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.d.ts +0 -6
- package/api/resources/customModels/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.js +0 -5
- package/api/resources/customModels/types/StateEmbeddingGenerationFailed.d.ts +0 -6
- package/api/resources/customModels/types/StateEmbeddingGenerationFailed.js +0 -5
- package/api/resources/customModels/types/StateEmbeddingGenerationInProgress.d.ts +0 -6
- package/api/resources/customModels/types/StateEmbeddingGenerationInProgress.js +0 -5
- package/api/resources/customModels/types/StateEmbeddingGenerationQueued.d.ts +0 -6
- package/api/resources/customModels/types/StateEmbeddingGenerationQueued.js +0 -5
- package/api/resources/customModels/types/StateInference.d.ts +0 -19
- package/api/resources/customModels/types/StateInference.js +0 -5
- package/api/resources/customModels/types/StateInferenceCompletedInference.d.ts +0 -6
- package/api/resources/customModels/types/StateInferenceCompletedInference.js +0 -5
- package/api/resources/customModels/types/StateInferenceFailed.d.ts +0 -6
- package/api/resources/customModels/types/StateInferenceFailed.js +0 -5
- package/api/resources/customModels/types/StateInferenceInProgress.d.ts +0 -6
- package/api/resources/customModels/types/StateInferenceInProgress.js +0 -5
- package/api/resources/customModels/types/StateInferenceQueued.d.ts +0 -6
- package/api/resources/customModels/types/StateInferenceQueued.js +0 -5
- package/api/resources/customModels/types/StateTlInference.d.ts +0 -19
- package/api/resources/customModels/types/StateTlInference.js +0 -5
- package/api/resources/customModels/types/StateTlInferenceCompletedTlInference.d.ts +0 -6
- package/api/resources/customModels/types/StateTlInferenceCompletedTlInference.js +0 -5
- package/api/resources/customModels/types/StateTlInferenceFailed.d.ts +0 -6
- package/api/resources/customModels/types/StateTlInferenceFailed.js +0 -5
- package/api/resources/customModels/types/StateTlInferenceInProgress.d.ts +0 -6
- package/api/resources/customModels/types/StateTlInferenceInProgress.js +0 -5
- package/api/resources/customModels/types/StateTlInferenceQueued.d.ts +0 -6
- package/api/resources/customModels/types/StateTlInferenceQueued.js +0 -5
- package/api/resources/customModels/types/StateTraining.d.ts +0 -19
- package/api/resources/customModels/types/StateTraining.js +0 -5
- package/api/resources/customModels/types/StateTrainingCompletedTraining.d.ts +0 -6
- package/api/resources/customModels/types/StateTrainingCompletedTraining.js +0 -5
- package/api/resources/customModels/types/StateTrainingFailed.d.ts +0 -6
- package/api/resources/customModels/types/StateTrainingFailed.js +0 -5
- package/api/resources/customModels/types/StateTrainingInProgress.d.ts +0 -6
- package/api/resources/customModels/types/StateTrainingInProgress.js +0 -5
- package/api/resources/customModels/types/StateTrainingQueued.d.ts +0 -6
- package/api/resources/customModels/types/StateTrainingQueued.js +0 -5
- package/api/resources/customModels/types/Status.d.ts +0 -10
- package/api/resources/customModels/types/Status.js +0 -12
- package/api/resources/customModels/types/Tag.d.ts +0 -7
- package/api/resources/customModels/types/Tag.js +0 -5
- package/api/resources/customModels/types/Target.d.ts +0 -4
- package/api/resources/customModels/types/Target.js +0 -5
- package/api/resources/customModels/types/Task.d.ts +0 -13
- package/api/resources/customModels/types/Task.js +0 -5
- package/api/resources/customModels/types/TaskClassification.d.ts +0 -5
- package/api/resources/customModels/types/TaskClassification.js +0 -5
- package/api/resources/customModels/types/TaskRegression.d.ts +0 -5
- package/api/resources/customModels/types/TaskRegression.js +0 -5
- package/api/resources/customModels/types/TextSource.d.ts +0 -4
- package/api/resources/customModels/types/TextSource.js +0 -5
- package/api/resources/customModels/types/TimeInterval.d.ts +0 -12
- package/api/resources/customModels/types/TimeInterval.js +0 -5
- package/api/resources/customModels/types/TlInferenceBaseRequest.d.ts +0 -19
- package/api/resources/customModels/types/TlInferenceBaseRequest.js +0 -5
- package/api/resources/customModels/types/TlInferencePrediction.d.ts +0 -10
- package/api/resources/customModels/types/TlInferencePrediction.js +0 -5
- package/api/resources/customModels/types/TlInferenceResults.d.ts +0 -8
- package/api/resources/customModels/types/TlInferenceResults.js +0 -5
- package/api/resources/customModels/types/TlInferenceSourcePredictResult.d.ts +0 -10
- package/api/resources/customModels/types/TlInferenceSourcePredictResult.js +0 -5
- package/api/resources/customModels/types/ToxicityScore.d.ts +0 -9
- package/api/resources/customModels/types/ToxicityScore.js +0 -5
- package/api/resources/customModels/types/TrainingBaseRequest.d.ts +0 -14
- package/api/resources/customModels/types/TrainingBaseRequest.js +0 -5
- package/api/resources/customModels/types/TrainingCustomModel.d.ts +0 -7
- package/api/resources/customModels/types/TrainingCustomModel.js +0 -5
- package/api/resources/customModels/types/Transcription.d.ts +0 -11
- package/api/resources/customModels/types/Transcription.js +0 -5
- package/api/resources/customModels/types/TranscriptionMetadata.d.ts +0 -12
- package/api/resources/customModels/types/TranscriptionMetadata.js +0 -5
- package/api/resources/customModels/types/Type.d.ts +0 -10
- package/api/resources/customModels/types/Type.js +0 -12
- package/api/resources/customModels/types/Unconfigurable.d.ts +0 -7
- package/api/resources/customModels/types/Unconfigurable.js +0 -5
- package/api/resources/customModels/types/UnionJob.d.ts +0 -19
- package/api/resources/customModels/types/UnionJob.js +0 -5
- package/api/resources/customModels/types/UnionJobJobEmbeddingGeneration.d.ts +0 -6
- package/api/resources/customModels/types/UnionJobJobEmbeddingGeneration.js +0 -5
- package/api/resources/customModels/types/UnionJobJobInference.d.ts +0 -6
- package/api/resources/customModels/types/UnionJobJobInference.js +0 -5
- package/api/resources/customModels/types/UnionJobJobTlInference.d.ts +0 -6
- package/api/resources/customModels/types/UnionJobJobTlInference.js +0 -5
- package/api/resources/customModels/types/UnionJobJobTraining.d.ts +0 -6
- package/api/resources/customModels/types/UnionJobJobTraining.js +0 -5
- package/api/resources/customModels/types/UnionPredictResult.d.ts +0 -5
- package/api/resources/customModels/types/UnionPredictResult.js +0 -5
- package/api/resources/customModels/types/Unit.d.ts +0 -4
- package/api/resources/customModels/types/Unit.js +0 -5
- package/api/resources/customModels/types/Url.d.ts +0 -7
- package/api/resources/customModels/types/Url.js +0 -5
- package/api/resources/customModels/types/ValidationArgs.d.ts +0 -7
- package/api/resources/customModels/types/ValidationArgs.js +0 -5
- package/api/resources/customModels/types/When.d.ts +0 -8
- package/api/resources/customModels/types/When.js +0 -10
- package/api/resources/customModels/types/Window.d.ts +0 -9
- package/api/resources/customModels/types/Window.js +0 -5
- package/api/resources/customModels/types/index.d.ts +0 -144
- package/api/resources/customModels/types/index.js +0 -160
- package/api/resources/empathicVoice/client/StreamSocket.d.ts +0 -48
- package/api/resources/empathicVoice/client/StreamSocket.js +0 -139
- package/api/resources/empathicVoice/client/index.d.ts +0 -1
- package/api/resources/empathicVoice/client/index.js +0 -17
- package/api/resources/empathicVoice/types/Error_.d.ts +0 -18
- package/api/resources/empathicVoice/types/Error_.js +0 -5
- package/core/websocket/WebSocket.d.ts +0 -6
- package/core/websocket/WebSocket.js +0 -44
- package/dist/api/resources/customModels/client/Client.d.ts +0 -33
- package/dist/api/resources/customModels/client/Client.js +0 -32
- package/dist/api/resources/customModels/client/index.d.ts +0 -1
- package/dist/api/resources/customModels/client/index.js +0 -2
- package/dist/api/resources/customModels/index.d.ts +0 -3
- package/dist/api/resources/customModels/index.js +0 -19
- package/dist/api/resources/customModels/resources/datasets/client/Client.d.ts +0 -126
- package/dist/api/resources/customModels/resources/datasets/client/Client.js +0 -584
- package/dist/api/resources/customModels/resources/datasets/client/index.d.ts +0 -1
- package/dist/api/resources/customModels/resources/datasets/client/index.js +0 -17
- package/dist/api/resources/customModels/resources/datasets/client/requests/DatasetsCreateDatasetRequest.d.ts +0 -13
- package/dist/api/resources/customModels/resources/datasets/client/requests/DatasetsCreateDatasetRequest.js +0 -5
- package/dist/api/resources/customModels/resources/datasets/client/requests/DatasetsCreateDatasetVersionRequest.d.ts +0 -9
- package/dist/api/resources/customModels/resources/datasets/client/requests/DatasetsCreateDatasetVersionRequest.js +0 -5
- package/dist/api/resources/customModels/resources/datasets/client/requests/DatasetsListDatasetFilesRequest.d.ts +0 -21
- package/dist/api/resources/customModels/resources/datasets/client/requests/DatasetsListDatasetFilesRequest.js +0 -5
- package/dist/api/resources/customModels/resources/datasets/client/requests/DatasetsListDatasetVersionFilesRequest.d.ts +0 -21
- package/dist/api/resources/customModels/resources/datasets/client/requests/DatasetsListDatasetVersionFilesRequest.js +0 -5
- package/dist/api/resources/customModels/resources/datasets/client/requests/DatasetsListDatasetVersionsRequest.d.ts +0 -21
- package/dist/api/resources/customModels/resources/datasets/client/requests/DatasetsListDatasetVersionsRequest.js +0 -5
- package/dist/api/resources/customModels/resources/datasets/client/requests/DatasetsListDatasetsRequest.d.ts +0 -25
- package/dist/api/resources/customModels/resources/datasets/client/requests/DatasetsListDatasetsRequest.js +0 -5
- package/dist/api/resources/customModels/resources/datasets/client/requests/index.d.ts +0 -6
- package/dist/api/resources/customModels/resources/datasets/client/requests/index.js +0 -2
- package/dist/api/resources/customModels/resources/datasets/index.d.ts +0 -1
- package/dist/api/resources/customModels/resources/datasets/index.js +0 -17
- package/dist/api/resources/customModels/resources/files/client/Client.d.ts +0 -107
- package/dist/api/resources/customModels/resources/files/client/Client.js +0 -438
- package/dist/api/resources/customModels/resources/files/client/index.d.ts +0 -1
- package/dist/api/resources/customModels/resources/files/client/index.js +0 -17
- package/dist/api/resources/customModels/resources/files/client/requests/FilesListFilesRequest.d.ts +0 -21
- package/dist/api/resources/customModels/resources/files/client/requests/FilesListFilesRequest.js +0 -5
- package/dist/api/resources/customModels/resources/files/client/requests/FilesUpdateFileNameRequest.d.ts +0 -15
- package/dist/api/resources/customModels/resources/files/client/requests/FilesUpdateFileNameRequest.js +0 -5
- package/dist/api/resources/customModels/resources/files/client/requests/FilesUploadFileRequest.d.ts +0 -9
- package/dist/api/resources/customModels/resources/files/client/requests/FilesUploadFileRequest.js +0 -5
- package/dist/api/resources/customModels/resources/files/client/requests/index.d.ts +0 -3
- package/dist/api/resources/customModels/resources/files/client/requests/index.js +0 -2
- package/dist/api/resources/customModels/resources/files/index.d.ts +0 -1
- package/dist/api/resources/customModels/resources/files/index.js +0 -17
- package/dist/api/resources/customModels/resources/index.d.ts +0 -7
- package/dist/api/resources/customModels/resources/index.js +0 -36
- package/dist/api/resources/customModels/resources/jobs/client/Client.d.ts +0 -56
- package/dist/api/resources/customModels/resources/jobs/client/Client.js +0 -177
- package/dist/api/resources/customModels/resources/jobs/client/index.d.ts +0 -1
- package/dist/api/resources/customModels/resources/jobs/client/index.js +0 -2
- package/dist/api/resources/customModels/resources/jobs/index.d.ts +0 -1
- package/dist/api/resources/customModels/resources/jobs/index.js +0 -17
- package/dist/api/resources/customModels/resources/models/client/Client.d.ts +0 -90
- package/dist/api/resources/customModels/resources/models/client/Client.js +0 -417
- package/dist/api/resources/customModels/resources/models/client/index.d.ts +0 -1
- package/dist/api/resources/customModels/resources/models/client/index.js +0 -17
- package/dist/api/resources/customModels/resources/models/client/requests/ModelsGetModelVersionRequest.d.ts +0 -13
- package/dist/api/resources/customModels/resources/models/client/requests/ModelsGetModelVersionRequest.js +0 -5
- package/dist/api/resources/customModels/resources/models/client/requests/ModelsListModelVersionsRequest.d.ts +0 -25
- package/dist/api/resources/customModels/resources/models/client/requests/ModelsListModelVersionsRequest.js +0 -5
- package/dist/api/resources/customModels/resources/models/client/requests/ModelsListModelsRequest.d.ts +0 -25
- package/dist/api/resources/customModels/resources/models/client/requests/ModelsListModelsRequest.js +0 -5
- package/dist/api/resources/customModels/resources/models/client/requests/ModelsUpdateModelNameRequest.d.ts +0 -15
- package/dist/api/resources/customModels/resources/models/client/requests/ModelsUpdateModelNameRequest.js +0 -5
- package/dist/api/resources/customModels/resources/models/client/requests/index.d.ts +0 -4
- package/dist/api/resources/customModels/resources/models/client/requests/index.js +0 -2
- package/dist/api/resources/customModels/resources/models/index.d.ts +0 -1
- package/dist/api/resources/customModels/resources/models/index.js +0 -17
- package/dist/api/resources/customModels/types/Alternative.d.ts +0 -4
- package/dist/api/resources/customModels/types/Alternative.js +0 -5
- package/dist/api/resources/customModels/types/AttributeFilter.d.ts +0 -12
- package/dist/api/resources/customModels/types/AttributeFilter.js +0 -5
- package/dist/api/resources/customModels/types/AuthorizedFile.d.ts +0 -40
- package/dist/api/resources/customModels/types/AuthorizedFile.js +0 -5
- package/dist/api/resources/customModels/types/Bcp47Tag.d.ts +0 -35
- package/dist/api/resources/customModels/types/Bcp47Tag.js +0 -37
- package/dist/api/resources/customModels/types/BoundingBox.d.ts +0 -16
- package/dist/api/resources/customModels/types/BoundingBox.js +0 -5
- package/dist/api/resources/customModels/types/BurstPrediction.d.ts +0 -11
- package/dist/api/resources/customModels/types/BurstPrediction.js +0 -5
- package/dist/api/resources/customModels/types/Classification.d.ts +0 -4
- package/dist/api/resources/customModels/types/Classification.js +0 -5
- package/dist/api/resources/customModels/types/CompletedEmbeddingGeneration.d.ts +0 -11
- package/dist/api/resources/customModels/types/CompletedEmbeddingGeneration.js +0 -5
- package/dist/api/resources/customModels/types/CompletedInference.d.ts +0 -15
- package/dist/api/resources/customModels/types/CompletedInference.js +0 -5
- package/dist/api/resources/customModels/types/CompletedTlInference.d.ts +0 -15
- package/dist/api/resources/customModels/types/CompletedTlInference.js +0 -5
- package/dist/api/resources/customModels/types/CompletedTraining.d.ts +0 -14
- package/dist/api/resources/customModels/types/CompletedTraining.js +0 -5
- package/dist/api/resources/customModels/types/CustomModel.d.ts +0 -5
- package/dist/api/resources/customModels/types/CustomModel.js +0 -5
- package/dist/api/resources/customModels/types/CustomModelId.d.ts +0 -6
- package/dist/api/resources/customModels/types/CustomModelId.js +0 -5
- package/dist/api/resources/customModels/types/CustomModelPrediction.d.ts +0 -8
- package/dist/api/resources/customModels/types/CustomModelPrediction.js +0 -5
- package/dist/api/resources/customModels/types/CustomModelRequest.d.ts +0 -9
- package/dist/api/resources/customModels/types/CustomModelRequest.js +0 -5
- package/dist/api/resources/customModels/types/CustomModelVersionId.d.ts +0 -6
- package/dist/api/resources/customModels/types/CustomModelVersionId.js +0 -5
- package/dist/api/resources/customModels/types/Dataset.d.ts +0 -5
- package/dist/api/resources/customModels/types/Dataset.js +0 -5
- package/dist/api/resources/customModels/types/DatasetId.d.ts +0 -6
- package/dist/api/resources/customModels/types/DatasetId.js +0 -5
- package/dist/api/resources/customModels/types/DatasetLabels.d.ts +0 -21
- package/dist/api/resources/customModels/types/DatasetLabels.js +0 -5
- package/dist/api/resources/customModels/types/DatasetLabelsFileUriInput.d.ts +0 -12
- package/dist/api/resources/customModels/types/DatasetLabelsFileUriInput.js +0 -5
- package/dist/api/resources/customModels/types/DatasetLabelsFileUriInputFeatureTypesValue.d.ts +0 -14
- package/dist/api/resources/customModels/types/DatasetLabelsFileUriInputFeatureTypesValue.js +0 -13
- package/dist/api/resources/customModels/types/DatasetPage.d.ts +0 -18
- package/dist/api/resources/customModels/types/DatasetPage.js +0 -5
- package/dist/api/resources/customModels/types/DatasetVersion.d.ts +0 -20
- package/dist/api/resources/customModels/types/DatasetVersion.js +0 -5
- package/dist/api/resources/customModels/types/DatasetVersionFeatureTypesValue.d.ts +0 -14
- package/dist/api/resources/customModels/types/DatasetVersionFeatureTypesValue.js +0 -13
- package/dist/api/resources/customModels/types/DatasetVersionId.d.ts +0 -6
- package/dist/api/resources/customModels/types/DatasetVersionId.js +0 -5
- package/dist/api/resources/customModels/types/DatasetVersionPage.d.ts +0 -18
- package/dist/api/resources/customModels/types/DatasetVersionPage.js +0 -5
- package/dist/api/resources/customModels/types/DescriptionsScore.d.ts +0 -9
- package/dist/api/resources/customModels/types/DescriptionsScore.js +0 -5
- package/dist/api/resources/customModels/types/Direction.d.ts +0 -8
- package/dist/api/resources/customModels/types/Direction.js +0 -10
- package/dist/api/resources/customModels/types/EmbeddingGenerationBaseRequest.d.ts +0 -8
- package/dist/api/resources/customModels/types/EmbeddingGenerationBaseRequest.js +0 -5
- package/dist/api/resources/customModels/types/EmotionScore.d.ts +0 -9
- package/dist/api/resources/customModels/types/EmotionScore.js +0 -5
- package/dist/api/resources/customModels/types/Error_.d.ts +0 -9
- package/dist/api/resources/customModels/types/Error_.js +0 -5
- package/dist/api/resources/customModels/types/EvaluationArgs.d.ts +0 -7
- package/dist/api/resources/customModels/types/EvaluationArgs.js +0 -5
- package/dist/api/resources/customModels/types/ExternalModel.d.ts +0 -23
- package/dist/api/resources/customModels/types/ExternalModel.js +0 -5
- package/dist/api/resources/customModels/types/ExternalModelVersion.d.ts +0 -37
- package/dist/api/resources/customModels/types/ExternalModelVersion.js +0 -5
- package/dist/api/resources/customModels/types/ExternalModelVersionFileType.d.ts +0 -15
- package/dist/api/resources/customModels/types/ExternalModelVersionFileType.js +0 -14
- package/dist/api/resources/customModels/types/ExternalModelVersionTag.d.ts +0 -12
- package/dist/api/resources/customModels/types/ExternalModelVersionTag.js +0 -5
- package/dist/api/resources/customModels/types/Face.d.ts +0 -18
- package/dist/api/resources/customModels/types/Face.js +0 -5
- package/dist/api/resources/customModels/types/FacePrediction.d.ts +0 -19
- package/dist/api/resources/customModels/types/FacePrediction.js +0 -5
- package/dist/api/resources/customModels/types/FacemeshPrediction.d.ts +0 -8
- package/dist/api/resources/customModels/types/FacemeshPrediction.js +0 -5
- package/dist/api/resources/customModels/types/FacsScore.d.ts +0 -9
- package/dist/api/resources/customModels/types/FacsScore.js +0 -5
- package/dist/api/resources/customModels/types/Failed.d.ts +0 -13
- package/dist/api/resources/customModels/types/Failed.js +0 -5
- package/dist/api/resources/customModels/types/FileInput.d.ts +0 -16
- package/dist/api/resources/customModels/types/FileInput.js +0 -5
- package/dist/api/resources/customModels/types/FilePage.d.ts +0 -18
- package/dist/api/resources/customModels/types/FilePage.js +0 -5
- package/dist/api/resources/customModels/types/FileWithAttributes.d.ts +0 -9
- package/dist/api/resources/customModels/types/FileWithAttributes.js +0 -5
- package/dist/api/resources/customModels/types/FileWithAttributesInput.d.ts +0 -9
- package/dist/api/resources/customModels/types/FileWithAttributesInput.js +0 -5
- package/dist/api/resources/customModels/types/File_.d.ts +0 -11
- package/dist/api/resources/customModels/types/File_.js +0 -5
- package/dist/api/resources/customModels/types/Granularity.d.ts +0 -13
- package/dist/api/resources/customModels/types/Granularity.js +0 -12
- package/dist/api/resources/customModels/types/GroupedPredictionsBurstPrediction.d.ts +0 -9
- package/dist/api/resources/customModels/types/GroupedPredictionsBurstPrediction.js +0 -5
- package/dist/api/resources/customModels/types/GroupedPredictionsFacePrediction.d.ts +0 -9
- package/dist/api/resources/customModels/types/GroupedPredictionsFacePrediction.js +0 -5
- package/dist/api/resources/customModels/types/GroupedPredictionsFacemeshPrediction.d.ts +0 -9
- package/dist/api/resources/customModels/types/GroupedPredictionsFacemeshPrediction.js +0 -5
- package/dist/api/resources/customModels/types/GroupedPredictionsLanguagePrediction.d.ts +0 -9
- package/dist/api/resources/customModels/types/GroupedPredictionsLanguagePrediction.js +0 -5
- package/dist/api/resources/customModels/types/GroupedPredictionsNerPrediction.d.ts +0 -9
- package/dist/api/resources/customModels/types/GroupedPredictionsNerPrediction.js +0 -5
- package/dist/api/resources/customModels/types/GroupedPredictionsProsodyPrediction.d.ts +0 -9
- package/dist/api/resources/customModels/types/GroupedPredictionsProsodyPrediction.js +0 -5
- package/dist/api/resources/customModels/types/InProgress.d.ts +0 -9
- package/dist/api/resources/customModels/types/InProgress.js +0 -5
- package/dist/api/resources/customModels/types/InferenceBaseRequest.d.ts +0 -22
- package/dist/api/resources/customModels/types/InferenceBaseRequest.js +0 -5
- package/dist/api/resources/customModels/types/InferencePrediction.d.ts +0 -9
- package/dist/api/resources/customModels/types/InferencePrediction.js +0 -5
- package/dist/api/resources/customModels/types/InferenceRequest.d.ts +0 -23
- package/dist/api/resources/customModels/types/InferenceRequest.js +0 -5
- package/dist/api/resources/customModels/types/InferenceResults.d.ts +0 -8
- package/dist/api/resources/customModels/types/InferenceResults.js +0 -5
- package/dist/api/resources/customModels/types/InferenceSourcePredictResult.d.ts +0 -10
- package/dist/api/resources/customModels/types/InferenceSourcePredictResult.js +0 -5
- package/dist/api/resources/customModels/types/JobEmbeddingGeneration.d.ts +0 -11
- package/dist/api/resources/customModels/types/JobEmbeddingGeneration.js +0 -5
- package/dist/api/resources/customModels/types/JobId.d.ts +0 -7
- package/dist/api/resources/customModels/types/JobId.js +0 -5
- package/dist/api/resources/customModels/types/JobInference.d.ts +0 -11
- package/dist/api/resources/customModels/types/JobInference.js +0 -5
- package/dist/api/resources/customModels/types/JobTlInference.d.ts +0 -11
- package/dist/api/resources/customModels/types/JobTlInference.js +0 -5
- package/dist/api/resources/customModels/types/JobTraining.d.ts +0 -11
- package/dist/api/resources/customModels/types/JobTraining.js +0 -5
- package/dist/api/resources/customModels/types/JsonObject.d.ts +0 -6
- package/dist/api/resources/customModels/types/JsonObject.js +0 -5
- package/dist/api/resources/customModels/types/Language.d.ts +0 -11
- package/dist/api/resources/customModels/types/Language.js +0 -5
- package/dist/api/resources/customModels/types/LanguagePrediction.d.ts +0 -24
- package/dist/api/resources/customModels/types/LanguagePrediction.js +0 -5
- package/dist/api/resources/customModels/types/ModelPage.d.ts +0 -18
- package/dist/api/resources/customModels/types/ModelPage.js +0 -5
- package/dist/api/resources/customModels/types/Models.d.ts +0 -12
- package/dist/api/resources/customModels/types/Models.js +0 -5
- package/dist/api/resources/customModels/types/ModelsPredictions.d.ts +0 -12
- package/dist/api/resources/customModels/types/ModelsPredictions.js +0 -5
- package/dist/api/resources/customModels/types/Ner.d.ts +0 -7
- package/dist/api/resources/customModels/types/Ner.js +0 -5
- package/dist/api/resources/customModels/types/NerPrediction.d.ts +0 -24
- package/dist/api/resources/customModels/types/NerPrediction.js +0 -5
- package/dist/api/resources/customModels/types/Null.d.ts +0 -7
- package/dist/api/resources/customModels/types/Null.js +0 -5
- package/dist/api/resources/customModels/types/PageableObject.d.ts +0 -12
- package/dist/api/resources/customModels/types/PageableObject.js +0 -5
- package/dist/api/resources/customModels/types/PositionInterval.d.ts +0 -12
- package/dist/api/resources/customModels/types/PositionInterval.js +0 -5
- package/dist/api/resources/customModels/types/PredictionsOptionalNullBurstPrediction.d.ts +0 -8
- package/dist/api/resources/customModels/types/PredictionsOptionalNullBurstPrediction.js +0 -5
- package/dist/api/resources/customModels/types/PredictionsOptionalNullFacePrediction.d.ts +0 -8
- package/dist/api/resources/customModels/types/PredictionsOptionalNullFacePrediction.js +0 -5
- package/dist/api/resources/customModels/types/PredictionsOptionalNullFacemeshPrediction.d.ts +0 -8
- package/dist/api/resources/customModels/types/PredictionsOptionalNullFacemeshPrediction.js +0 -5
- package/dist/api/resources/customModels/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.d.ts +0 -8
- package/dist/api/resources/customModels/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +0 -5
- package/dist/api/resources/customModels/types/PredictionsOptionalTranscriptionMetadataNerPrediction.d.ts +0 -8
- package/dist/api/resources/customModels/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +0 -5
- package/dist/api/resources/customModels/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.d.ts +0 -8
- package/dist/api/resources/customModels/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +0 -5
- package/dist/api/resources/customModels/types/Prosody.d.ts +0 -10
- package/dist/api/resources/customModels/types/Prosody.js +0 -5
- package/dist/api/resources/customModels/types/ProsodyPrediction.d.ts +0 -15
- package/dist/api/resources/customModels/types/ProsodyPrediction.js +0 -5
- package/dist/api/resources/customModels/types/Queued.d.ts +0 -7
- package/dist/api/resources/customModels/types/Queued.js +0 -5
- package/dist/api/resources/customModels/types/RegistryFileDetail.d.ts +0 -9
- package/dist/api/resources/customModels/types/RegistryFileDetail.js +0 -5
- package/dist/api/resources/customModels/types/Regression.d.ts +0 -4
- package/dist/api/resources/customModels/types/Regression.js +0 -5
- package/dist/api/resources/customModels/types/ReturnDataset.d.ts +0 -15
- package/dist/api/resources/customModels/types/ReturnDataset.js +0 -5
- package/dist/api/resources/customModels/types/SentimentScore.d.ts +0 -9
- package/dist/api/resources/customModels/types/SentimentScore.js +0 -5
- package/dist/api/resources/customModels/types/SortBy.d.ts +0 -9
- package/dist/api/resources/customModels/types/SortBy.js +0 -11
- package/dist/api/resources/customModels/types/SortObject.d.ts +0 -8
- package/dist/api/resources/customModels/types/SortObject.js +0 -5
- package/dist/api/resources/customModels/types/Source.d.ts +0 -16
- package/dist/api/resources/customModels/types/Source.js +0 -5
- package/dist/api/resources/customModels/types/SourceFile.d.ts +0 -6
- package/dist/api/resources/customModels/types/SourceFile.js +0 -5
- package/dist/api/resources/customModels/types/SourceTextSource.d.ts +0 -5
- package/dist/api/resources/customModels/types/SourceTextSource.js +0 -5
- package/dist/api/resources/customModels/types/SourceUrl.d.ts +0 -6
- package/dist/api/resources/customModels/types/SourceUrl.js +0 -5
- package/dist/api/resources/customModels/types/StateEmbeddingGeneration.d.ts +0 -19
- package/dist/api/resources/customModels/types/StateEmbeddingGeneration.js +0 -5
- package/dist/api/resources/customModels/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.js +0 -5
- package/dist/api/resources/customModels/types/StateEmbeddingGenerationFailed.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateEmbeddingGenerationFailed.js +0 -5
- package/dist/api/resources/customModels/types/StateEmbeddingGenerationInProgress.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateEmbeddingGenerationInProgress.js +0 -5
- package/dist/api/resources/customModels/types/StateEmbeddingGenerationQueued.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateEmbeddingGenerationQueued.js +0 -5
- package/dist/api/resources/customModels/types/StateInference.d.ts +0 -19
- package/dist/api/resources/customModels/types/StateInference.js +0 -5
- package/dist/api/resources/customModels/types/StateInferenceCompletedInference.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateInferenceCompletedInference.js +0 -5
- package/dist/api/resources/customModels/types/StateInferenceFailed.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateInferenceFailed.js +0 -5
- package/dist/api/resources/customModels/types/StateInferenceInProgress.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateInferenceInProgress.js +0 -5
- package/dist/api/resources/customModels/types/StateInferenceQueued.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateInferenceQueued.js +0 -5
- package/dist/api/resources/customModels/types/StateTlInference.d.ts +0 -19
- package/dist/api/resources/customModels/types/StateTlInference.js +0 -5
- package/dist/api/resources/customModels/types/StateTlInferenceCompletedTlInference.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateTlInferenceCompletedTlInference.js +0 -5
- package/dist/api/resources/customModels/types/StateTlInferenceFailed.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateTlInferenceFailed.js +0 -5
- package/dist/api/resources/customModels/types/StateTlInferenceInProgress.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateTlInferenceInProgress.js +0 -5
- package/dist/api/resources/customModels/types/StateTlInferenceQueued.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateTlInferenceQueued.js +0 -5
- package/dist/api/resources/customModels/types/StateTraining.d.ts +0 -19
- package/dist/api/resources/customModels/types/StateTraining.js +0 -5
- package/dist/api/resources/customModels/types/StateTrainingCompletedTraining.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateTrainingCompletedTraining.js +0 -5
- package/dist/api/resources/customModels/types/StateTrainingFailed.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateTrainingFailed.js +0 -5
- package/dist/api/resources/customModels/types/StateTrainingInProgress.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateTrainingInProgress.js +0 -5
- package/dist/api/resources/customModels/types/StateTrainingQueued.d.ts +0 -6
- package/dist/api/resources/customModels/types/StateTrainingQueued.js +0 -5
- package/dist/api/resources/customModels/types/Status.d.ts +0 -10
- package/dist/api/resources/customModels/types/Status.js +0 -12
- package/dist/api/resources/customModels/types/Tag.d.ts +0 -7
- package/dist/api/resources/customModels/types/Tag.js +0 -5
- package/dist/api/resources/customModels/types/Target.d.ts +0 -4
- package/dist/api/resources/customModels/types/Target.js +0 -5
- package/dist/api/resources/customModels/types/Task.d.ts +0 -13
- package/dist/api/resources/customModels/types/Task.js +0 -5
- package/dist/api/resources/customModels/types/TaskClassification.d.ts +0 -5
- package/dist/api/resources/customModels/types/TaskClassification.js +0 -5
- package/dist/api/resources/customModels/types/TaskRegression.d.ts +0 -5
- package/dist/api/resources/customModels/types/TaskRegression.js +0 -5
- package/dist/api/resources/customModels/types/TextSource.d.ts +0 -4
- package/dist/api/resources/customModels/types/TextSource.js +0 -5
- package/dist/api/resources/customModels/types/TimeInterval.d.ts +0 -12
- package/dist/api/resources/customModels/types/TimeInterval.js +0 -5
- package/dist/api/resources/customModels/types/TlInferenceBaseRequest.d.ts +0 -19
- package/dist/api/resources/customModels/types/TlInferenceBaseRequest.js +0 -5
- package/dist/api/resources/customModels/types/TlInferencePrediction.d.ts +0 -10
- package/dist/api/resources/customModels/types/TlInferencePrediction.js +0 -5
- package/dist/api/resources/customModels/types/TlInferenceResults.d.ts +0 -8
- package/dist/api/resources/customModels/types/TlInferenceResults.js +0 -5
- package/dist/api/resources/customModels/types/TlInferenceSourcePredictResult.d.ts +0 -10
- package/dist/api/resources/customModels/types/TlInferenceSourcePredictResult.js +0 -5
- package/dist/api/resources/customModels/types/ToxicityScore.d.ts +0 -9
- package/dist/api/resources/customModels/types/ToxicityScore.js +0 -5
- package/dist/api/resources/customModels/types/TrainingBaseRequest.d.ts +0 -14
- package/dist/api/resources/customModels/types/TrainingBaseRequest.js +0 -5
- package/dist/api/resources/customModels/types/TrainingCustomModel.d.ts +0 -7
- package/dist/api/resources/customModels/types/TrainingCustomModel.js +0 -5
- package/dist/api/resources/customModels/types/Transcription.d.ts +0 -11
- package/dist/api/resources/customModels/types/Transcription.js +0 -5
- package/dist/api/resources/customModels/types/TranscriptionMetadata.d.ts +0 -12
- package/dist/api/resources/customModels/types/TranscriptionMetadata.js +0 -5
- package/dist/api/resources/customModels/types/Type.d.ts +0 -10
- package/dist/api/resources/customModels/types/Type.js +0 -12
- package/dist/api/resources/customModels/types/Unconfigurable.d.ts +0 -7
- package/dist/api/resources/customModels/types/Unconfigurable.js +0 -5
- package/dist/api/resources/customModels/types/UnionJob.d.ts +0 -19
- package/dist/api/resources/customModels/types/UnionJob.js +0 -5
- package/dist/api/resources/customModels/types/UnionJobJobEmbeddingGeneration.d.ts +0 -6
- package/dist/api/resources/customModels/types/UnionJobJobEmbeddingGeneration.js +0 -5
- package/dist/api/resources/customModels/types/UnionJobJobInference.d.ts +0 -6
- package/dist/api/resources/customModels/types/UnionJobJobInference.js +0 -5
- package/dist/api/resources/customModels/types/UnionJobJobTlInference.d.ts +0 -6
- package/dist/api/resources/customModels/types/UnionJobJobTlInference.js +0 -5
- package/dist/api/resources/customModels/types/UnionJobJobTraining.d.ts +0 -6
- package/dist/api/resources/customModels/types/UnionJobJobTraining.js +0 -5
- package/dist/api/resources/customModels/types/UnionPredictResult.d.ts +0 -5
- package/dist/api/resources/customModels/types/UnionPredictResult.js +0 -5
- package/dist/api/resources/customModels/types/Unit.d.ts +0 -4
- package/dist/api/resources/customModels/types/Unit.js +0 -5
- package/dist/api/resources/customModels/types/Url.d.ts +0 -7
- package/dist/api/resources/customModels/types/Url.js +0 -5
- package/dist/api/resources/customModels/types/ValidationArgs.d.ts +0 -7
- package/dist/api/resources/customModels/types/ValidationArgs.js +0 -5
- package/dist/api/resources/customModels/types/When.d.ts +0 -8
- package/dist/api/resources/customModels/types/When.js +0 -10
- package/dist/api/resources/customModels/types/Window.d.ts +0 -9
- package/dist/api/resources/customModels/types/Window.js +0 -5
- package/dist/api/resources/customModels/types/index.d.ts +0 -144
- package/dist/api/resources/customModels/types/index.js +0 -160
- package/dist/api/resources/empathicVoice/client/StreamSocket.d.ts +0 -48
- package/dist/api/resources/empathicVoice/client/StreamSocket.js +0 -139
- package/dist/api/resources/empathicVoice/client/index.d.ts +0 -1
- package/dist/api/resources/empathicVoice/client/index.js +0 -17
- package/dist/api/resources/empathicVoice/types/Error_.d.ts +0 -18
- package/dist/api/resources/empathicVoice/types/Error_.js +0 -5
- package/dist/core/websocket/WebSocket.d.ts +0 -6
- package/dist/core/websocket/WebSocket.js +0 -44
- package/dist/serialization/resources/customModels/index.d.ts +0 -2
- package/dist/serialization/resources/customModels/index.js +0 -18
- package/dist/serialization/resources/customModels/resources/datasets/client/createDatasetVersion.d.ts +0 -11
- package/dist/serialization/resources/customModels/resources/datasets/client/createDatasetVersion.js +0 -32
- package/dist/serialization/resources/customModels/resources/datasets/client/index.d.ts +0 -3
- package/dist/serialization/resources/customModels/resources/datasets/client/index.js +0 -29
- package/dist/serialization/resources/customModels/resources/datasets/client/listDatasetFiles.d.ts +0 -11
- package/dist/serialization/resources/customModels/resources/datasets/client/listDatasetFiles.js +0 -32
- package/dist/serialization/resources/customModels/resources/datasets/client/listDatasetVersionFiles.d.ts +0 -11
- package/dist/serialization/resources/customModels/resources/datasets/client/listDatasetVersionFiles.js +0 -32
- package/dist/serialization/resources/customModels/resources/datasets/index.d.ts +0 -1
- package/dist/serialization/resources/customModels/resources/datasets/index.js +0 -17
- package/dist/serialization/resources/customModels/resources/files/client/createFiles.d.ts +0 -16
- package/dist/serialization/resources/customModels/resources/files/client/createFiles.js +0 -34
- package/dist/serialization/resources/customModels/resources/files/client/index.d.ts +0 -1
- package/dist/serialization/resources/customModels/resources/files/client/index.js +0 -27
- package/dist/serialization/resources/customModels/resources/files/index.d.ts +0 -1
- package/dist/serialization/resources/customModels/resources/files/index.js +0 -17
- package/dist/serialization/resources/customModels/resources/index.d.ts +0 -3
- package/dist/serialization/resources/customModels/resources/index.js +0 -29
- package/dist/serialization/resources/customModels/resources/models/client/index.d.ts +0 -2
- package/dist/serialization/resources/customModels/resources/models/client/index.js +0 -28
- package/dist/serialization/resources/customModels/resources/models/client/listModelVersions.d.ts +0 -11
- package/dist/serialization/resources/customModels/resources/models/client/listModelVersions.js +0 -32
- package/dist/serialization/resources/customModels/resources/models/client/updateModelDescription.d.ts +0 -9
- package/dist/serialization/resources/customModels/resources/models/client/updateModelDescription.js +0 -31
- package/dist/serialization/resources/customModels/resources/models/index.d.ts +0 -1
- package/dist/serialization/resources/customModels/resources/models/index.js +0 -17
- package/dist/serialization/resources/customModels/types/Alternative.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/Alternative.js +0 -31
- package/dist/serialization/resources/customModels/types/AttributeFilter.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/AttributeFilter.js +0 -34
- package/dist/serialization/resources/customModels/types/AuthorizedFile.d.ts +0 -27
- package/dist/serialization/resources/customModels/types/AuthorizedFile.js +0 -50
- package/dist/serialization/resources/customModels/types/Bcp47Tag.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/Bcp47Tag.js +0 -61
- package/dist/serialization/resources/customModels/types/BoundingBox.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/BoundingBox.js +0 -36
- package/dist/serialization/resources/customModels/types/BurstPrediction.d.ts +0 -17
- package/dist/serialization/resources/customModels/types/BurstPrediction.js +0 -38
- package/dist/serialization/resources/customModels/types/Classification.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/Classification.js +0 -31
- package/dist/serialization/resources/customModels/types/CompletedEmbeddingGeneration.d.ts +0 -14
- package/dist/serialization/resources/customModels/types/CompletedEmbeddingGeneration.js +0 -35
- package/dist/serialization/resources/customModels/types/CompletedInference.d.ts +0 -16
- package/dist/serialization/resources/customModels/types/CompletedInference.js +0 -37
- package/dist/serialization/resources/customModels/types/CompletedTlInference.d.ts +0 -16
- package/dist/serialization/resources/customModels/types/CompletedTlInference.js +0 -37
- package/dist/serialization/resources/customModels/types/CompletedTraining.d.ts +0 -17
- package/dist/serialization/resources/customModels/types/CompletedTraining.js +0 -38
- package/dist/serialization/resources/customModels/types/CustomModel.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/CustomModel.js +0 -33
- package/dist/serialization/resources/customModels/types/CustomModelId.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/CustomModelId.js +0 -33
- package/dist/serialization/resources/customModels/types/CustomModelPrediction.d.ts +0 -14
- package/dist/serialization/resources/customModels/types/CustomModelPrediction.js +0 -35
- package/dist/serialization/resources/customModels/types/CustomModelRequest.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/CustomModelRequest.js +0 -36
- package/dist/serialization/resources/customModels/types/CustomModelVersionId.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/CustomModelVersionId.js +0 -33
- package/dist/serialization/resources/customModels/types/Dataset.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/Dataset.js +0 -33
- package/dist/serialization/resources/customModels/types/DatasetId.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/DatasetId.js +0 -33
- package/dist/serialization/resources/customModels/types/DatasetLabels.d.ts +0 -19
- package/dist/serialization/resources/customModels/types/DatasetLabels.js +0 -40
- package/dist/serialization/resources/customModels/types/DatasetLabelsFileUriInput.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/DatasetLabelsFileUriInput.js +0 -36
- package/dist/serialization/resources/customModels/types/DatasetLabelsFileUriInputFeatureTypesValue.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/DatasetLabelsFileUriInputFeatureTypesValue.js +0 -31
- package/dist/serialization/resources/customModels/types/DatasetPage.d.ts +0 -26
- package/dist/serialization/resources/customModels/types/DatasetPage.js +0 -47
- package/dist/serialization/resources/customModels/types/DatasetVersion.d.ts +0 -19
- package/dist/serialization/resources/customModels/types/DatasetVersion.js +0 -40
- package/dist/serialization/resources/customModels/types/DatasetVersionFeatureTypesValue.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/DatasetVersionFeatureTypesValue.js +0 -31
- package/dist/serialization/resources/customModels/types/DatasetVersionId.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/DatasetVersionId.js +0 -33
- package/dist/serialization/resources/customModels/types/DatasetVersionPage.d.ts +0 -26
- package/dist/serialization/resources/customModels/types/DatasetVersionPage.js +0 -47
- package/dist/serialization/resources/customModels/types/DescriptionsScore.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/DescriptionsScore.js +0 -34
- package/dist/serialization/resources/customModels/types/Direction.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/Direction.js +0 -31
- package/dist/serialization/resources/customModels/types/EmbeddingGenerationBaseRequest.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/EmbeddingGenerationBaseRequest.js +0 -34
- package/dist/serialization/resources/customModels/types/EmotionScore.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/EmotionScore.js +0 -34
- package/dist/serialization/resources/customModels/types/Error_.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/Error_.js +0 -34
- package/dist/serialization/resources/customModels/types/EvaluationArgs.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/EvaluationArgs.js +0 -34
- package/dist/serialization/resources/customModels/types/ExternalModel.d.ts +0 -21
- package/dist/serialization/resources/customModels/types/ExternalModel.js +0 -42
- package/dist/serialization/resources/customModels/types/ExternalModelVersion.d.ts +0 -27
- package/dist/serialization/resources/customModels/types/ExternalModelVersion.js +0 -50
- package/dist/serialization/resources/customModels/types/ExternalModelVersionFileType.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/ExternalModelVersionFileType.js +0 -31
- package/dist/serialization/resources/customModels/types/ExternalModelVersionTag.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/ExternalModelVersionTag.js +0 -34
- package/dist/serialization/resources/customModels/types/Face.d.ts +0 -19
- package/dist/serialization/resources/customModels/types/Face.js +0 -40
- package/dist/serialization/resources/customModels/types/FacePrediction.d.ts +0 -22
- package/dist/serialization/resources/customModels/types/FacePrediction.js +0 -43
- package/dist/serialization/resources/customModels/types/FacemeshPrediction.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/FacemeshPrediction.js +0 -34
- package/dist/serialization/resources/customModels/types/FacsScore.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/FacsScore.js +0 -34
- package/dist/serialization/resources/customModels/types/Failed.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/Failed.js +0 -36
- package/dist/serialization/resources/customModels/types/FileInput.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/FileInput.js +0 -36
- package/dist/serialization/resources/customModels/types/FilePage.d.ts +0 -26
- package/dist/serialization/resources/customModels/types/FilePage.js +0 -47
- package/dist/serialization/resources/customModels/types/FileWithAttributes.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/FileWithAttributes.js +0 -36
- package/dist/serialization/resources/customModels/types/FileWithAttributesInput.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/FileWithAttributesInput.js +0 -36
- package/dist/serialization/resources/customModels/types/File_.d.ts +0 -14
- package/dist/serialization/resources/customModels/types/File_.js +0 -35
- package/dist/serialization/resources/customModels/types/Granularity.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/Granularity.js +0 -31
- package/dist/serialization/resources/customModels/types/GroupedPredictionsBurstPrediction.d.ts +0 -14
- package/dist/serialization/resources/customModels/types/GroupedPredictionsBurstPrediction.js +0 -35
- package/dist/serialization/resources/customModels/types/GroupedPredictionsFacePrediction.d.ts +0 -14
- package/dist/serialization/resources/customModels/types/GroupedPredictionsFacePrediction.js +0 -35
- package/dist/serialization/resources/customModels/types/GroupedPredictionsFacemeshPrediction.d.ts +0 -14
- package/dist/serialization/resources/customModels/types/GroupedPredictionsFacemeshPrediction.js +0 -35
- package/dist/serialization/resources/customModels/types/GroupedPredictionsLanguagePrediction.d.ts +0 -14
- package/dist/serialization/resources/customModels/types/GroupedPredictionsLanguagePrediction.js +0 -35
- package/dist/serialization/resources/customModels/types/GroupedPredictionsNerPrediction.d.ts +0 -14
- package/dist/serialization/resources/customModels/types/GroupedPredictionsNerPrediction.js +0 -35
- package/dist/serialization/resources/customModels/types/GroupedPredictionsProsodyPrediction.d.ts +0 -14
- package/dist/serialization/resources/customModels/types/GroupedPredictionsProsodyPrediction.js +0 -35
- package/dist/serialization/resources/customModels/types/InProgress.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/InProgress.js +0 -34
- package/dist/serialization/resources/customModels/types/InferenceBaseRequest.d.ts +0 -20
- package/dist/serialization/resources/customModels/types/InferenceBaseRequest.js +0 -41
- package/dist/serialization/resources/customModels/types/InferencePrediction.d.ts +0 -14
- package/dist/serialization/resources/customModels/types/InferencePrediction.js +0 -35
- package/dist/serialization/resources/customModels/types/InferenceRequest.d.ts +0 -22
- package/dist/serialization/resources/customModels/types/InferenceRequest.js +0 -43
- package/dist/serialization/resources/customModels/types/InferenceResults.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/InferenceResults.js +0 -36
- package/dist/serialization/resources/customModels/types/InferenceSourcePredictResult.d.ts +0 -16
- package/dist/serialization/resources/customModels/types/InferenceSourcePredictResult.js +0 -37
- package/dist/serialization/resources/customModels/types/JobEmbeddingGeneration.d.ts +0 -17
- package/dist/serialization/resources/customModels/types/JobEmbeddingGeneration.js +0 -38
- package/dist/serialization/resources/customModels/types/JobId.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/JobId.js +0 -33
- package/dist/serialization/resources/customModels/types/JobInference.d.ts +0 -17
- package/dist/serialization/resources/customModels/types/JobInference.js +0 -38
- package/dist/serialization/resources/customModels/types/JobTlInference.d.ts +0 -17
- package/dist/serialization/resources/customModels/types/JobTlInference.js +0 -38
- package/dist/serialization/resources/customModels/types/JobTraining.d.ts +0 -17
- package/dist/serialization/resources/customModels/types/JobTraining.js +0 -38
- package/dist/serialization/resources/customModels/types/JsonObject.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/JsonObject.js +0 -33
- package/dist/serialization/resources/customModels/types/Language.d.ts +0 -17
- package/dist/serialization/resources/customModels/types/Language.js +0 -38
- package/dist/serialization/resources/customModels/types/LanguagePrediction.d.ts +0 -24
- package/dist/serialization/resources/customModels/types/LanguagePrediction.js +0 -45
- package/dist/serialization/resources/customModels/types/ModelPage.d.ts +0 -26
- package/dist/serialization/resources/customModels/types/ModelPage.js +0 -47
- package/dist/serialization/resources/customModels/types/Models.d.ts +0 -22
- package/dist/serialization/resources/customModels/types/Models.js +0 -43
- package/dist/serialization/resources/customModels/types/ModelsPredictions.d.ts +0 -23
- package/dist/serialization/resources/customModels/types/ModelsPredictions.js +0 -44
- package/dist/serialization/resources/customModels/types/Ner.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/Ner.js +0 -33
- package/dist/serialization/resources/customModels/types/NerPrediction.d.ts +0 -24
- package/dist/serialization/resources/customModels/types/NerPrediction.js +0 -45
- package/dist/serialization/resources/customModels/types/Null.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/Null.js +0 -31
- package/dist/serialization/resources/customModels/types/PageableObject.d.ts +0 -18
- package/dist/serialization/resources/customModels/types/PageableObject.js +0 -39
- package/dist/serialization/resources/customModels/types/PositionInterval.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/PositionInterval.js +0 -34
- package/dist/serialization/resources/customModels/types/PredictionsOptionalNullBurstPrediction.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/PredictionsOptionalNullBurstPrediction.js +0 -36
- package/dist/serialization/resources/customModels/types/PredictionsOptionalNullFacePrediction.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/PredictionsOptionalNullFacePrediction.js +0 -36
- package/dist/serialization/resources/customModels/types/PredictionsOptionalNullFacemeshPrediction.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/PredictionsOptionalNullFacemeshPrediction.js +0 -36
- package/dist/serialization/resources/customModels/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +0 -36
- package/dist/serialization/resources/customModels/types/PredictionsOptionalTranscriptionMetadataNerPrediction.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +0 -36
- package/dist/serialization/resources/customModels/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +0 -36
- package/dist/serialization/resources/customModels/types/Prosody.d.ts +0 -16
- package/dist/serialization/resources/customModels/types/Prosody.js +0 -37
- package/dist/serialization/resources/customModels/types/ProsodyPrediction.d.ts +0 -18
- package/dist/serialization/resources/customModels/types/ProsodyPrediction.js +0 -39
- package/dist/serialization/resources/customModels/types/Queued.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/Queued.js +0 -33
- package/dist/serialization/resources/customModels/types/RegistryFileDetail.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/RegistryFileDetail.js +0 -34
- package/dist/serialization/resources/customModels/types/Regression.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/Regression.js +0 -31
- package/dist/serialization/resources/customModels/types/ReturnDataset.d.ts +0 -17
- package/dist/serialization/resources/customModels/types/ReturnDataset.js +0 -40
- package/dist/serialization/resources/customModels/types/SentimentScore.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/SentimentScore.js +0 -34
- package/dist/serialization/resources/customModels/types/SortBy.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/SortBy.js +0 -31
- package/dist/serialization/resources/customModels/types/SortObject.d.ts +0 -14
- package/dist/serialization/resources/customModels/types/SortObject.js +0 -35
- package/dist/serialization/resources/customModels/types/Source.d.ts +0 -22
- package/dist/serialization/resources/customModels/types/Source.js +0 -43
- package/dist/serialization/resources/customModels/types/SourceFile.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/SourceFile.js +0 -32
- package/dist/serialization/resources/customModels/types/SourceTextSource.d.ts +0 -11
- package/dist/serialization/resources/customModels/types/SourceTextSource.js +0 -31
- package/dist/serialization/resources/customModels/types/SourceUrl.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/SourceUrl.js +0 -32
- package/dist/serialization/resources/customModels/types/StateEmbeddingGeneration.d.ts +0 -26
- package/dist/serialization/resources/customModels/types/StateEmbeddingGeneration.js +0 -45
- package/dist/serialization/resources/customModels/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.js +0 -32
- package/dist/serialization/resources/customModels/types/StateEmbeddingGenerationFailed.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateEmbeddingGenerationFailed.js +0 -32
- package/dist/serialization/resources/customModels/types/StateEmbeddingGenerationInProgress.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateEmbeddingGenerationInProgress.js +0 -32
- package/dist/serialization/resources/customModels/types/StateEmbeddingGenerationQueued.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateEmbeddingGenerationQueued.js +0 -32
- package/dist/serialization/resources/customModels/types/StateInference.d.ts +0 -26
- package/dist/serialization/resources/customModels/types/StateInference.js +0 -45
- package/dist/serialization/resources/customModels/types/StateInferenceCompletedInference.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateInferenceCompletedInference.js +0 -32
- package/dist/serialization/resources/customModels/types/StateInferenceFailed.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateInferenceFailed.js +0 -32
- package/dist/serialization/resources/customModels/types/StateInferenceInProgress.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateInferenceInProgress.js +0 -32
- package/dist/serialization/resources/customModels/types/StateInferenceQueued.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateInferenceQueued.js +0 -32
- package/dist/serialization/resources/customModels/types/StateTlInference.d.ts +0 -26
- package/dist/serialization/resources/customModels/types/StateTlInference.js +0 -45
- package/dist/serialization/resources/customModels/types/StateTlInferenceCompletedTlInference.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateTlInferenceCompletedTlInference.js +0 -32
- package/dist/serialization/resources/customModels/types/StateTlInferenceFailed.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateTlInferenceFailed.js +0 -32
- package/dist/serialization/resources/customModels/types/StateTlInferenceInProgress.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateTlInferenceInProgress.js +0 -32
- package/dist/serialization/resources/customModels/types/StateTlInferenceQueued.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateTlInferenceQueued.js +0 -32
- package/dist/serialization/resources/customModels/types/StateTraining.d.ts +0 -26
- package/dist/serialization/resources/customModels/types/StateTraining.js +0 -45
- package/dist/serialization/resources/customModels/types/StateTrainingCompletedTraining.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateTrainingCompletedTraining.js +0 -32
- package/dist/serialization/resources/customModels/types/StateTrainingFailed.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateTrainingFailed.js +0 -32
- package/dist/serialization/resources/customModels/types/StateTrainingInProgress.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateTrainingInProgress.js +0 -32
- package/dist/serialization/resources/customModels/types/StateTrainingQueued.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/StateTrainingQueued.js +0 -32
- package/dist/serialization/resources/customModels/types/Status.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/Status.js +0 -31
- package/dist/serialization/resources/customModels/types/Tag.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/Tag.js +0 -34
- package/dist/serialization/resources/customModels/types/Target.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/Target.js +0 -35
- package/dist/serialization/resources/customModels/types/Task.d.ts +0 -18
- package/dist/serialization/resources/customModels/types/Task.js +0 -41
- package/dist/serialization/resources/customModels/types/TaskClassification.d.ts +0 -11
- package/dist/serialization/resources/customModels/types/TaskClassification.js +0 -31
- package/dist/serialization/resources/customModels/types/TaskRegression.d.ts +0 -11
- package/dist/serialization/resources/customModels/types/TaskRegression.js +0 -31
- package/dist/serialization/resources/customModels/types/TextSource.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/TextSource.js +0 -31
- package/dist/serialization/resources/customModels/types/TimeInterval.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/TimeInterval.js +0 -34
- package/dist/serialization/resources/customModels/types/TlInferenceBaseRequest.d.ts +0 -17
- package/dist/serialization/resources/customModels/types/TlInferenceBaseRequest.js +0 -38
- package/dist/serialization/resources/customModels/types/TlInferencePrediction.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/TlInferencePrediction.js +0 -36
- package/dist/serialization/resources/customModels/types/TlInferenceResults.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/TlInferenceResults.js +0 -36
- package/dist/serialization/resources/customModels/types/TlInferenceSourcePredictResult.d.ts +0 -16
- package/dist/serialization/resources/customModels/types/TlInferenceSourcePredictResult.js +0 -37
- package/dist/serialization/resources/customModels/types/ToxicityScore.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/ToxicityScore.js +0 -34
- package/dist/serialization/resources/customModels/types/TrainingBaseRequest.d.ts +0 -24
- package/dist/serialization/resources/customModels/types/TrainingBaseRequest.js +0 -45
- package/dist/serialization/resources/customModels/types/TrainingCustomModel.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/TrainingCustomModel.js +0 -34
- package/dist/serialization/resources/customModels/types/Transcription.d.ts +0 -15
- package/dist/serialization/resources/customModels/types/Transcription.js +0 -36
- package/dist/serialization/resources/customModels/types/TranscriptionMetadata.d.ts +0 -14
- package/dist/serialization/resources/customModels/types/TranscriptionMetadata.js +0 -35
- package/dist/serialization/resources/customModels/types/Type.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/Type.js +0 -31
- package/dist/serialization/resources/customModels/types/Unconfigurable.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/Unconfigurable.js +0 -31
- package/dist/serialization/resources/customModels/types/UnionJob.d.ts +0 -26
- package/dist/serialization/resources/customModels/types/UnionJob.js +0 -45
- package/dist/serialization/resources/customModels/types/UnionJobJobEmbeddingGeneration.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/UnionJobJobEmbeddingGeneration.js +0 -32
- package/dist/serialization/resources/customModels/types/UnionJobJobInference.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/UnionJobJobInference.js +0 -32
- package/dist/serialization/resources/customModels/types/UnionJobJobTlInference.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/UnionJobJobTlInference.js +0 -32
- package/dist/serialization/resources/customModels/types/UnionJobJobTraining.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/UnionJobJobTraining.js +0 -32
- package/dist/serialization/resources/customModels/types/UnionPredictResult.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/UnionPredictResult.js +0 -33
- package/dist/serialization/resources/customModels/types/Unit.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/Unit.js +0 -31
- package/dist/serialization/resources/customModels/types/Url.d.ts +0 -12
- package/dist/serialization/resources/customModels/types/Url.js +0 -33
- package/dist/serialization/resources/customModels/types/ValidationArgs.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/ValidationArgs.js +0 -34
- package/dist/serialization/resources/customModels/types/When.d.ts +0 -10
- package/dist/serialization/resources/customModels/types/When.js +0 -31
- package/dist/serialization/resources/customModels/types/Window.d.ts +0 -13
- package/dist/serialization/resources/customModels/types/Window.js +0 -34
- package/dist/serialization/resources/customModels/types/index.d.ts +0 -144
- package/dist/serialization/resources/customModels/types/index.js +0 -160
- package/dist/serialization/resources/empathicVoice/types/Error_.d.ts +0 -16
- package/dist/serialization/resources/empathicVoice/types/Error_.js +0 -37
- package/dist/wrapper/empathicVoice/EmpathicVoiceClient.d.ts +0 -11
- package/dist/wrapper/empathicVoice/EmpathicVoiceClient.js +0 -12
- package/dist/wrapper/empathicVoice/chat/ChatClient.d.ts +0 -30
- package/dist/wrapper/empathicVoice/chat/ChatClient.js +0 -156
- package/serialization/resources/customModels/index.d.ts +0 -2
- package/serialization/resources/customModels/index.js +0 -18
- package/serialization/resources/customModels/resources/datasets/client/createDatasetVersion.d.ts +0 -11
- package/serialization/resources/customModels/resources/datasets/client/createDatasetVersion.js +0 -32
- package/serialization/resources/customModels/resources/datasets/client/index.d.ts +0 -3
- package/serialization/resources/customModels/resources/datasets/client/index.js +0 -29
- package/serialization/resources/customModels/resources/datasets/client/listDatasetFiles.d.ts +0 -11
- package/serialization/resources/customModels/resources/datasets/client/listDatasetFiles.js +0 -32
- package/serialization/resources/customModels/resources/datasets/client/listDatasetVersionFiles.d.ts +0 -11
- package/serialization/resources/customModels/resources/datasets/client/listDatasetVersionFiles.js +0 -32
- package/serialization/resources/customModels/resources/datasets/index.d.ts +0 -1
- package/serialization/resources/customModels/resources/datasets/index.js +0 -17
- package/serialization/resources/customModels/resources/files/client/createFiles.d.ts +0 -16
- package/serialization/resources/customModels/resources/files/client/createFiles.js +0 -34
- package/serialization/resources/customModels/resources/files/client/index.d.ts +0 -1
- package/serialization/resources/customModels/resources/files/client/index.js +0 -27
- package/serialization/resources/customModels/resources/files/index.d.ts +0 -1
- package/serialization/resources/customModels/resources/files/index.js +0 -17
- package/serialization/resources/customModels/resources/index.d.ts +0 -3
- package/serialization/resources/customModels/resources/index.js +0 -29
- package/serialization/resources/customModels/resources/models/client/index.d.ts +0 -2
- package/serialization/resources/customModels/resources/models/client/index.js +0 -28
- package/serialization/resources/customModels/resources/models/client/listModelVersions.d.ts +0 -11
- package/serialization/resources/customModels/resources/models/client/listModelVersions.js +0 -32
- package/serialization/resources/customModels/resources/models/client/updateModelDescription.d.ts +0 -9
- package/serialization/resources/customModels/resources/models/client/updateModelDescription.js +0 -31
- package/serialization/resources/customModels/resources/models/index.d.ts +0 -1
- package/serialization/resources/customModels/resources/models/index.js +0 -17
- package/serialization/resources/customModels/types/Alternative.d.ts +0 -10
- package/serialization/resources/customModels/types/Alternative.js +0 -31
- package/serialization/resources/customModels/types/AttributeFilter.d.ts +0 -13
- package/serialization/resources/customModels/types/AttributeFilter.js +0 -34
- package/serialization/resources/customModels/types/AuthorizedFile.d.ts +0 -27
- package/serialization/resources/customModels/types/AuthorizedFile.js +0 -50
- package/serialization/resources/customModels/types/Bcp47Tag.d.ts +0 -10
- package/serialization/resources/customModels/types/Bcp47Tag.js +0 -61
- package/serialization/resources/customModels/types/BoundingBox.d.ts +0 -15
- package/serialization/resources/customModels/types/BoundingBox.js +0 -36
- package/serialization/resources/customModels/types/BurstPrediction.d.ts +0 -17
- package/serialization/resources/customModels/types/BurstPrediction.js +0 -38
- package/serialization/resources/customModels/types/Classification.d.ts +0 -10
- package/serialization/resources/customModels/types/Classification.js +0 -31
- package/serialization/resources/customModels/types/CompletedEmbeddingGeneration.d.ts +0 -14
- package/serialization/resources/customModels/types/CompletedEmbeddingGeneration.js +0 -35
- package/serialization/resources/customModels/types/CompletedInference.d.ts +0 -16
- package/serialization/resources/customModels/types/CompletedInference.js +0 -37
- package/serialization/resources/customModels/types/CompletedTlInference.d.ts +0 -16
- package/serialization/resources/customModels/types/CompletedTlInference.js +0 -37
- package/serialization/resources/customModels/types/CompletedTraining.d.ts +0 -17
- package/serialization/resources/customModels/types/CompletedTraining.js +0 -38
- package/serialization/resources/customModels/types/CustomModel.d.ts +0 -12
- package/serialization/resources/customModels/types/CustomModel.js +0 -33
- package/serialization/resources/customModels/types/CustomModelId.d.ts +0 -12
- package/serialization/resources/customModels/types/CustomModelId.js +0 -33
- package/serialization/resources/customModels/types/CustomModelPrediction.d.ts +0 -14
- package/serialization/resources/customModels/types/CustomModelPrediction.js +0 -35
- package/serialization/resources/customModels/types/CustomModelRequest.d.ts +0 -15
- package/serialization/resources/customModels/types/CustomModelRequest.js +0 -36
- package/serialization/resources/customModels/types/CustomModelVersionId.d.ts +0 -12
- package/serialization/resources/customModels/types/CustomModelVersionId.js +0 -33
- package/serialization/resources/customModels/types/Dataset.d.ts +0 -12
- package/serialization/resources/customModels/types/Dataset.js +0 -33
- package/serialization/resources/customModels/types/DatasetId.d.ts +0 -12
- package/serialization/resources/customModels/types/DatasetId.js +0 -33
- package/serialization/resources/customModels/types/DatasetLabels.d.ts +0 -19
- package/serialization/resources/customModels/types/DatasetLabels.js +0 -40
- package/serialization/resources/customModels/types/DatasetLabelsFileUriInput.d.ts +0 -15
- package/serialization/resources/customModels/types/DatasetLabelsFileUriInput.js +0 -36
- package/serialization/resources/customModels/types/DatasetLabelsFileUriInputFeatureTypesValue.d.ts +0 -10
- package/serialization/resources/customModels/types/DatasetLabelsFileUriInputFeatureTypesValue.js +0 -31
- package/serialization/resources/customModels/types/DatasetPage.d.ts +0 -26
- package/serialization/resources/customModels/types/DatasetPage.js +0 -47
- package/serialization/resources/customModels/types/DatasetVersion.d.ts +0 -19
- package/serialization/resources/customModels/types/DatasetVersion.js +0 -40
- package/serialization/resources/customModels/types/DatasetVersionFeatureTypesValue.d.ts +0 -10
- package/serialization/resources/customModels/types/DatasetVersionFeatureTypesValue.js +0 -31
- package/serialization/resources/customModels/types/DatasetVersionId.d.ts +0 -12
- package/serialization/resources/customModels/types/DatasetVersionId.js +0 -33
- package/serialization/resources/customModels/types/DatasetVersionPage.d.ts +0 -26
- package/serialization/resources/customModels/types/DatasetVersionPage.js +0 -47
- package/serialization/resources/customModels/types/DescriptionsScore.d.ts +0 -13
- package/serialization/resources/customModels/types/DescriptionsScore.js +0 -34
- package/serialization/resources/customModels/types/Direction.d.ts +0 -10
- package/serialization/resources/customModels/types/Direction.js +0 -31
- package/serialization/resources/customModels/types/EmbeddingGenerationBaseRequest.d.ts +0 -13
- package/serialization/resources/customModels/types/EmbeddingGenerationBaseRequest.js +0 -34
- package/serialization/resources/customModels/types/EmotionScore.d.ts +0 -13
- package/serialization/resources/customModels/types/EmotionScore.js +0 -34
- package/serialization/resources/customModels/types/Error_.d.ts +0 -13
- package/serialization/resources/customModels/types/Error_.js +0 -34
- package/serialization/resources/customModels/types/EvaluationArgs.d.ts +0 -13
- package/serialization/resources/customModels/types/EvaluationArgs.js +0 -34
- package/serialization/resources/customModels/types/ExternalModel.d.ts +0 -21
- package/serialization/resources/customModels/types/ExternalModel.js +0 -42
- package/serialization/resources/customModels/types/ExternalModelVersion.d.ts +0 -27
- package/serialization/resources/customModels/types/ExternalModelVersion.js +0 -50
- package/serialization/resources/customModels/types/ExternalModelVersionFileType.d.ts +0 -10
- package/serialization/resources/customModels/types/ExternalModelVersionFileType.js +0 -31
- package/serialization/resources/customModels/types/ExternalModelVersionTag.d.ts +0 -13
- package/serialization/resources/customModels/types/ExternalModelVersionTag.js +0 -34
- package/serialization/resources/customModels/types/Face.d.ts +0 -19
- package/serialization/resources/customModels/types/Face.js +0 -40
- package/serialization/resources/customModels/types/FacePrediction.d.ts +0 -22
- package/serialization/resources/customModels/types/FacePrediction.js +0 -43
- package/serialization/resources/customModels/types/FacemeshPrediction.d.ts +0 -13
- package/serialization/resources/customModels/types/FacemeshPrediction.js +0 -34
- package/serialization/resources/customModels/types/FacsScore.d.ts +0 -13
- package/serialization/resources/customModels/types/FacsScore.js +0 -34
- package/serialization/resources/customModels/types/Failed.d.ts +0 -15
- package/serialization/resources/customModels/types/Failed.js +0 -36
- package/serialization/resources/customModels/types/FileInput.d.ts +0 -15
- package/serialization/resources/customModels/types/FileInput.js +0 -36
- package/serialization/resources/customModels/types/FilePage.d.ts +0 -26
- package/serialization/resources/customModels/types/FilePage.js +0 -47
- package/serialization/resources/customModels/types/FileWithAttributes.d.ts +0 -15
- package/serialization/resources/customModels/types/FileWithAttributes.js +0 -36
- package/serialization/resources/customModels/types/FileWithAttributesInput.d.ts +0 -15
- package/serialization/resources/customModels/types/FileWithAttributesInput.js +0 -36
- package/serialization/resources/customModels/types/File_.d.ts +0 -14
- package/serialization/resources/customModels/types/File_.js +0 -35
- package/serialization/resources/customModels/types/Granularity.d.ts +0 -10
- package/serialization/resources/customModels/types/Granularity.js +0 -31
- package/serialization/resources/customModels/types/GroupedPredictionsBurstPrediction.d.ts +0 -14
- package/serialization/resources/customModels/types/GroupedPredictionsBurstPrediction.js +0 -35
- package/serialization/resources/customModels/types/GroupedPredictionsFacePrediction.d.ts +0 -14
- package/serialization/resources/customModels/types/GroupedPredictionsFacePrediction.js +0 -35
- package/serialization/resources/customModels/types/GroupedPredictionsFacemeshPrediction.d.ts +0 -14
- package/serialization/resources/customModels/types/GroupedPredictionsFacemeshPrediction.js +0 -35
- package/serialization/resources/customModels/types/GroupedPredictionsLanguagePrediction.d.ts +0 -14
- package/serialization/resources/customModels/types/GroupedPredictionsLanguagePrediction.js +0 -35
- package/serialization/resources/customModels/types/GroupedPredictionsNerPrediction.d.ts +0 -14
- package/serialization/resources/customModels/types/GroupedPredictionsNerPrediction.js +0 -35
- package/serialization/resources/customModels/types/GroupedPredictionsProsodyPrediction.d.ts +0 -14
- package/serialization/resources/customModels/types/GroupedPredictionsProsodyPrediction.js +0 -35
- package/serialization/resources/customModels/types/InProgress.d.ts +0 -13
- package/serialization/resources/customModels/types/InProgress.js +0 -34
- package/serialization/resources/customModels/types/InferenceBaseRequest.d.ts +0 -20
- package/serialization/resources/customModels/types/InferenceBaseRequest.js +0 -41
- package/serialization/resources/customModels/types/InferencePrediction.d.ts +0 -14
- package/serialization/resources/customModels/types/InferencePrediction.js +0 -35
- package/serialization/resources/customModels/types/InferenceRequest.d.ts +0 -22
- package/serialization/resources/customModels/types/InferenceRequest.js +0 -43
- package/serialization/resources/customModels/types/InferenceResults.d.ts +0 -15
- package/serialization/resources/customModels/types/InferenceResults.js +0 -36
- package/serialization/resources/customModels/types/InferenceSourcePredictResult.d.ts +0 -16
- package/serialization/resources/customModels/types/InferenceSourcePredictResult.js +0 -37
- package/serialization/resources/customModels/types/JobEmbeddingGeneration.d.ts +0 -17
- package/serialization/resources/customModels/types/JobEmbeddingGeneration.js +0 -38
- package/serialization/resources/customModels/types/JobId.d.ts +0 -12
- package/serialization/resources/customModels/types/JobId.js +0 -33
- package/serialization/resources/customModels/types/JobInference.d.ts +0 -17
- package/serialization/resources/customModels/types/JobInference.js +0 -38
- package/serialization/resources/customModels/types/JobTlInference.d.ts +0 -17
- package/serialization/resources/customModels/types/JobTlInference.js +0 -38
- package/serialization/resources/customModels/types/JobTraining.d.ts +0 -17
- package/serialization/resources/customModels/types/JobTraining.js +0 -38
- package/serialization/resources/customModels/types/JsonObject.d.ts +0 -12
- package/serialization/resources/customModels/types/JsonObject.js +0 -33
- package/serialization/resources/customModels/types/Language.d.ts +0 -17
- package/serialization/resources/customModels/types/Language.js +0 -38
- package/serialization/resources/customModels/types/LanguagePrediction.d.ts +0 -24
- package/serialization/resources/customModels/types/LanguagePrediction.js +0 -45
- package/serialization/resources/customModels/types/ModelPage.d.ts +0 -26
- package/serialization/resources/customModels/types/ModelPage.js +0 -47
- package/serialization/resources/customModels/types/Models.d.ts +0 -22
- package/serialization/resources/customModels/types/Models.js +0 -43
- package/serialization/resources/customModels/types/ModelsPredictions.d.ts +0 -23
- package/serialization/resources/customModels/types/ModelsPredictions.js +0 -44
- package/serialization/resources/customModels/types/Ner.d.ts +0 -12
- package/serialization/resources/customModels/types/Ner.js +0 -33
- package/serialization/resources/customModels/types/NerPrediction.d.ts +0 -24
- package/serialization/resources/customModels/types/NerPrediction.js +0 -45
- package/serialization/resources/customModels/types/Null.d.ts +0 -10
- package/serialization/resources/customModels/types/Null.js +0 -31
- package/serialization/resources/customModels/types/PageableObject.d.ts +0 -18
- package/serialization/resources/customModels/types/PageableObject.js +0 -39
- package/serialization/resources/customModels/types/PositionInterval.d.ts +0 -13
- package/serialization/resources/customModels/types/PositionInterval.js +0 -34
- package/serialization/resources/customModels/types/PredictionsOptionalNullBurstPrediction.d.ts +0 -15
- package/serialization/resources/customModels/types/PredictionsOptionalNullBurstPrediction.js +0 -36
- package/serialization/resources/customModels/types/PredictionsOptionalNullFacePrediction.d.ts +0 -15
- package/serialization/resources/customModels/types/PredictionsOptionalNullFacePrediction.js +0 -36
- package/serialization/resources/customModels/types/PredictionsOptionalNullFacemeshPrediction.d.ts +0 -15
- package/serialization/resources/customModels/types/PredictionsOptionalNullFacemeshPrediction.js +0 -36
- package/serialization/resources/customModels/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.d.ts +0 -15
- package/serialization/resources/customModels/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +0 -36
- package/serialization/resources/customModels/types/PredictionsOptionalTranscriptionMetadataNerPrediction.d.ts +0 -15
- package/serialization/resources/customModels/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +0 -36
- package/serialization/resources/customModels/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.d.ts +0 -15
- package/serialization/resources/customModels/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +0 -36
- package/serialization/resources/customModels/types/Prosody.d.ts +0 -16
- package/serialization/resources/customModels/types/Prosody.js +0 -37
- package/serialization/resources/customModels/types/ProsodyPrediction.d.ts +0 -18
- package/serialization/resources/customModels/types/ProsodyPrediction.js +0 -39
- package/serialization/resources/customModels/types/Queued.d.ts +0 -12
- package/serialization/resources/customModels/types/Queued.js +0 -33
- package/serialization/resources/customModels/types/RegistryFileDetail.d.ts +0 -13
- package/serialization/resources/customModels/types/RegistryFileDetail.js +0 -34
- package/serialization/resources/customModels/types/Regression.d.ts +0 -10
- package/serialization/resources/customModels/types/Regression.js +0 -31
- package/serialization/resources/customModels/types/ReturnDataset.d.ts +0 -17
- package/serialization/resources/customModels/types/ReturnDataset.js +0 -40
- package/serialization/resources/customModels/types/SentimentScore.d.ts +0 -13
- package/serialization/resources/customModels/types/SentimentScore.js +0 -34
- package/serialization/resources/customModels/types/SortBy.d.ts +0 -10
- package/serialization/resources/customModels/types/SortBy.js +0 -31
- package/serialization/resources/customModels/types/SortObject.d.ts +0 -14
- package/serialization/resources/customModels/types/SortObject.js +0 -35
- package/serialization/resources/customModels/types/Source.d.ts +0 -22
- package/serialization/resources/customModels/types/Source.js +0 -43
- package/serialization/resources/customModels/types/SourceFile.d.ts +0 -12
- package/serialization/resources/customModels/types/SourceFile.js +0 -32
- package/serialization/resources/customModels/types/SourceTextSource.d.ts +0 -11
- package/serialization/resources/customModels/types/SourceTextSource.js +0 -31
- package/serialization/resources/customModels/types/SourceUrl.d.ts +0 -12
- package/serialization/resources/customModels/types/SourceUrl.js +0 -32
- package/serialization/resources/customModels/types/StateEmbeddingGeneration.d.ts +0 -26
- package/serialization/resources/customModels/types/StateEmbeddingGeneration.js +0 -45
- package/serialization/resources/customModels/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.d.ts +0 -12
- package/serialization/resources/customModels/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.js +0 -32
- package/serialization/resources/customModels/types/StateEmbeddingGenerationFailed.d.ts +0 -12
- package/serialization/resources/customModels/types/StateEmbeddingGenerationFailed.js +0 -32
- package/serialization/resources/customModels/types/StateEmbeddingGenerationInProgress.d.ts +0 -12
- package/serialization/resources/customModels/types/StateEmbeddingGenerationInProgress.js +0 -32
- package/serialization/resources/customModels/types/StateEmbeddingGenerationQueued.d.ts +0 -12
- package/serialization/resources/customModels/types/StateEmbeddingGenerationQueued.js +0 -32
- package/serialization/resources/customModels/types/StateInference.d.ts +0 -26
- package/serialization/resources/customModels/types/StateInference.js +0 -45
- package/serialization/resources/customModels/types/StateInferenceCompletedInference.d.ts +0 -12
- package/serialization/resources/customModels/types/StateInferenceCompletedInference.js +0 -32
- package/serialization/resources/customModels/types/StateInferenceFailed.d.ts +0 -12
- package/serialization/resources/customModels/types/StateInferenceFailed.js +0 -32
- package/serialization/resources/customModels/types/StateInferenceInProgress.d.ts +0 -12
- package/serialization/resources/customModels/types/StateInferenceInProgress.js +0 -32
- package/serialization/resources/customModels/types/StateInferenceQueued.d.ts +0 -12
- package/serialization/resources/customModels/types/StateInferenceQueued.js +0 -32
- package/serialization/resources/customModels/types/StateTlInference.d.ts +0 -26
- package/serialization/resources/customModels/types/StateTlInference.js +0 -45
- package/serialization/resources/customModels/types/StateTlInferenceCompletedTlInference.d.ts +0 -12
- package/serialization/resources/customModels/types/StateTlInferenceCompletedTlInference.js +0 -32
- package/serialization/resources/customModels/types/StateTlInferenceFailed.d.ts +0 -12
- package/serialization/resources/customModels/types/StateTlInferenceFailed.js +0 -32
- package/serialization/resources/customModels/types/StateTlInferenceInProgress.d.ts +0 -12
- package/serialization/resources/customModels/types/StateTlInferenceInProgress.js +0 -32
- package/serialization/resources/customModels/types/StateTlInferenceQueued.d.ts +0 -12
- package/serialization/resources/customModels/types/StateTlInferenceQueued.js +0 -32
- package/serialization/resources/customModels/types/StateTraining.d.ts +0 -26
- package/serialization/resources/customModels/types/StateTraining.js +0 -45
- package/serialization/resources/customModels/types/StateTrainingCompletedTraining.d.ts +0 -12
- package/serialization/resources/customModels/types/StateTrainingCompletedTraining.js +0 -32
- package/serialization/resources/customModels/types/StateTrainingFailed.d.ts +0 -12
- package/serialization/resources/customModels/types/StateTrainingFailed.js +0 -32
- package/serialization/resources/customModels/types/StateTrainingInProgress.d.ts +0 -12
- package/serialization/resources/customModels/types/StateTrainingInProgress.js +0 -32
- package/serialization/resources/customModels/types/StateTrainingQueued.d.ts +0 -12
- package/serialization/resources/customModels/types/StateTrainingQueued.js +0 -32
- package/serialization/resources/customModels/types/Status.d.ts +0 -10
- package/serialization/resources/customModels/types/Status.js +0 -31
- package/serialization/resources/customModels/types/Tag.d.ts +0 -13
- package/serialization/resources/customModels/types/Tag.js +0 -34
- package/serialization/resources/customModels/types/Target.d.ts +0 -10
- package/serialization/resources/customModels/types/Target.js +0 -35
- package/serialization/resources/customModels/types/Task.d.ts +0 -18
- package/serialization/resources/customModels/types/Task.js +0 -41
- package/serialization/resources/customModels/types/TaskClassification.d.ts +0 -11
- package/serialization/resources/customModels/types/TaskClassification.js +0 -31
- package/serialization/resources/customModels/types/TaskRegression.d.ts +0 -11
- package/serialization/resources/customModels/types/TaskRegression.js +0 -31
- package/serialization/resources/customModels/types/TextSource.d.ts +0 -10
- package/serialization/resources/customModels/types/TextSource.js +0 -31
- package/serialization/resources/customModels/types/TimeInterval.d.ts +0 -13
- package/serialization/resources/customModels/types/TimeInterval.js +0 -34
- package/serialization/resources/customModels/types/TlInferenceBaseRequest.d.ts +0 -17
- package/serialization/resources/customModels/types/TlInferenceBaseRequest.js +0 -38
- package/serialization/resources/customModels/types/TlInferencePrediction.d.ts +0 -15
- package/serialization/resources/customModels/types/TlInferencePrediction.js +0 -36
- package/serialization/resources/customModels/types/TlInferenceResults.d.ts +0 -15
- package/serialization/resources/customModels/types/TlInferenceResults.js +0 -36
- package/serialization/resources/customModels/types/TlInferenceSourcePredictResult.d.ts +0 -16
- package/serialization/resources/customModels/types/TlInferenceSourcePredictResult.js +0 -37
- package/serialization/resources/customModels/types/ToxicityScore.d.ts +0 -13
- package/serialization/resources/customModels/types/ToxicityScore.js +0 -34
- package/serialization/resources/customModels/types/TrainingBaseRequest.d.ts +0 -24
- package/serialization/resources/customModels/types/TrainingBaseRequest.js +0 -45
- package/serialization/resources/customModels/types/TrainingCustomModel.d.ts +0 -13
- package/serialization/resources/customModels/types/TrainingCustomModel.js +0 -34
- package/serialization/resources/customModels/types/Transcription.d.ts +0 -15
- package/serialization/resources/customModels/types/Transcription.js +0 -36
- package/serialization/resources/customModels/types/TranscriptionMetadata.d.ts +0 -14
- package/serialization/resources/customModels/types/TranscriptionMetadata.js +0 -35
- package/serialization/resources/customModels/types/Type.d.ts +0 -10
- package/serialization/resources/customModels/types/Type.js +0 -31
- package/serialization/resources/customModels/types/Unconfigurable.d.ts +0 -10
- package/serialization/resources/customModels/types/Unconfigurable.js +0 -31
- package/serialization/resources/customModels/types/UnionJob.d.ts +0 -26
- package/serialization/resources/customModels/types/UnionJob.js +0 -45
- package/serialization/resources/customModels/types/UnionJobJobEmbeddingGeneration.d.ts +0 -12
- package/serialization/resources/customModels/types/UnionJobJobEmbeddingGeneration.js +0 -32
- package/serialization/resources/customModels/types/UnionJobJobInference.d.ts +0 -12
- package/serialization/resources/customModels/types/UnionJobJobInference.js +0 -32
- package/serialization/resources/customModels/types/UnionJobJobTlInference.d.ts +0 -12
- package/serialization/resources/customModels/types/UnionJobJobTlInference.js +0 -32
- package/serialization/resources/customModels/types/UnionJobJobTraining.d.ts +0 -12
- package/serialization/resources/customModels/types/UnionJobJobTraining.js +0 -32
- package/serialization/resources/customModels/types/UnionPredictResult.d.ts +0 -12
- package/serialization/resources/customModels/types/UnionPredictResult.js +0 -33
- package/serialization/resources/customModels/types/Unit.d.ts +0 -10
- package/serialization/resources/customModels/types/Unit.js +0 -31
- package/serialization/resources/customModels/types/Url.d.ts +0 -12
- package/serialization/resources/customModels/types/Url.js +0 -33
- package/serialization/resources/customModels/types/ValidationArgs.d.ts +0 -13
- package/serialization/resources/customModels/types/ValidationArgs.js +0 -34
- package/serialization/resources/customModels/types/When.d.ts +0 -10
- package/serialization/resources/customModels/types/When.js +0 -31
- package/serialization/resources/customModels/types/Window.d.ts +0 -13
- package/serialization/resources/customModels/types/Window.js +0 -34
- package/serialization/resources/customModels/types/index.d.ts +0 -144
- package/serialization/resources/customModels/types/index.js +0 -160
- package/serialization/resources/empathicVoice/types/Error_.d.ts +0 -16
- package/serialization/resources/empathicVoice/types/Error_.js +0 -37
- package/wrapper/empathicVoice/EmpathicVoiceClient.d.ts +0 -11
- package/wrapper/empathicVoice/EmpathicVoiceClient.js +0 -12
- package/wrapper/empathicVoice/chat/ChatClient.d.ts +0 -30
- package/wrapper/empathicVoice/chat/ChatClient.js +0 -156
- /package/api/resources/{customModels/resources/datasets/client/requests/DatasetsCreateDatasetRequest.js → empathicVoice/types/ExtendedVoiceArgs.js} +0 -0
- /package/api/resources/{customModels/resources/datasets/client/requests/DatasetsCreateDatasetVersionRequest.js → empathicVoice/types/FunctionCallResponseInput.js} +0 -0
- /package/api/resources/{customModels/resources/datasets/client/requests/DatasetsListDatasetFilesRequest.js → empathicVoice/types/HttpValidationError.js} +0 -0
- /package/api/resources/{customModels/resources/datasets/client/requests/DatasetsListDatasetVersionFilesRequest.js → empathicVoice/types/PostedCustomVoice.js} +0 -0
- /package/api/resources/{customModels/resources/datasets/client/requests/DatasetsListDatasetVersionsRequest.js → empathicVoice/types/PostedCustomVoiceName.js} +0 -0
- /package/api/resources/{customModels/resources/datasets/client/requests/DatasetsListDatasetsRequest.js → empathicVoice/types/PostedEventMessageSpecs.js} +0 -0
- /package/api/resources/{customModels/resources/files/client/requests/FilesListFilesRequest.js → empathicVoice/types/PostedTimeoutSpecs.js} +0 -0
- /package/api/resources/{customModels/resources/files/client/requests/FilesUpdateFileNameRequest.js → empathicVoice/types/ReturnCustomVoice.js} +0 -0
- /package/api/resources/{customModels/resources/files/client/requests/FilesUploadFileRequest.js → empathicVoice/types/ReturnEventMessageSpecs.js} +0 -0
- /package/api/resources/{customModels/resources/models/client/requests/ModelsGetModelVersionRequest.js → empathicVoice/types/ReturnPagedCustomVoices.js} +0 -0
- /package/api/resources/{customModels/resources/models/client/requests/ModelsListModelVersionsRequest.js → empathicVoice/types/ReturnPrivacySettings.js} +0 -0
- /package/api/resources/{customModels/resources/models/client/requests/ModelsListModelsRequest.js → empathicVoice/types/ReturnPurgeStats.js} +0 -0
- /package/api/resources/{customModels/resources/models/client/requests/ModelsUpdateModelNameRequest.js → empathicVoice/types/ReturnTimeoutSpecs.js} +0 -0
- /package/api/resources/{customModels/types/Alternative.js → empathicVoice/types/TextInput.js} +0 -0
- /package/api/resources/{customModels/types/AttributeFilter.js → empathicVoice/types/TtsInput.js} +0 -0
- /package/api/resources/{customModels/types/AuthorizedFile.js → empathicVoice/types/ValidationError.js} +0 -0
- /package/api/resources/{customModels/types/BoundingBox.js → empathicVoice/types/ValidationErrorLocItem.js} +0 -0
- /package/api/resources/{customModels/types/BurstPrediction.js → empathicVoice/types/VoiceArgs.js} +0 -0
- /package/api/resources/{customModels/types/Classification.js → empathicVoice/types/WebSocketError.js} +0 -0
- /package/{api/resources/customModels/types/CompletedEmbeddingGeneration.js → dist/api/resources/empathicVoice/types/ExtendedVoiceArgs.js} +0 -0
- /package/{api/resources/customModels/types/CompletedInference.js → dist/api/resources/empathicVoice/types/FunctionCallResponseInput.js} +0 -0
- /package/{api/resources/customModels/types/CompletedTlInference.js → dist/api/resources/empathicVoice/types/HttpValidationError.js} +0 -0
- /package/{api/resources/customModels/types/CompletedTraining.js → dist/api/resources/empathicVoice/types/PostedCustomVoice.js} +0 -0
- /package/{api/resources/customModels/types/CustomModel.js → dist/api/resources/empathicVoice/types/PostedCustomVoiceName.js} +0 -0
- /package/{api/resources/customModels/types/CustomModelId.js → dist/api/resources/empathicVoice/types/PostedEventMessageSpecs.js} +0 -0
- /package/{api/resources/customModels/types/CustomModelPrediction.js → dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.js} +0 -0
- /package/{api/resources/customModels/types/CustomModelRequest.js → dist/api/resources/empathicVoice/types/ReturnCustomVoice.js} +0 -0
- /package/{api/resources/customModels/types/CustomModelVersionId.js → dist/api/resources/empathicVoice/types/ReturnEventMessageSpecs.js} +0 -0
- /package/{api/resources/customModels/types/Dataset.js → dist/api/resources/empathicVoice/types/ReturnPagedCustomVoices.js} +0 -0
- /package/{api/resources/customModels/types/DatasetId.js → dist/api/resources/empathicVoice/types/ReturnPrivacySettings.js} +0 -0
- /package/{api/resources/customModels/types/DatasetLabels.js → dist/api/resources/empathicVoice/types/ReturnPurgeStats.js} +0 -0
- /package/{api/resources/customModels/types/DatasetLabelsFileUriInput.js → dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.js} +0 -0
- /package/{api/resources/customModels/types/DatasetPage.js → dist/api/resources/empathicVoice/types/TextInput.js} +0 -0
- /package/{api/resources/customModels/types/DatasetVersion.js → dist/api/resources/empathicVoice/types/TtsInput.js} +0 -0
- /package/{api/resources/customModels/types/DatasetVersionId.js → dist/api/resources/empathicVoice/types/ValidationError.js} +0 -0
- /package/{api/resources/customModels/types/DatasetVersionPage.js → dist/api/resources/empathicVoice/types/ValidationErrorLocItem.js} +0 -0
- /package/{api/resources/customModels/types/DescriptionsScore.js → dist/api/resources/empathicVoice/types/VoiceArgs.js} +0 -0
- /package/{api/resources/customModels/types/EmbeddingGenerationBaseRequest.js → dist/api/resources/empathicVoice/types/WebSocketError.js} +0 -0
package/core/schemas/Schema.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { SchemaUtils } from "./builders";
|
|
2
|
-
import { MaybePromise } from "./utils/MaybePromise";
|
|
3
2
|
export declare type Schema<Raw = unknown, Parsed = unknown> = BaseSchema<Raw, Parsed> & SchemaUtils<Raw, Parsed>;
|
|
4
3
|
export declare type inferRaw<S extends Schema> = S extends Schema<infer Raw, any> ? Raw : never;
|
|
5
4
|
export declare type inferParsed<S extends Schema> = S extends Schema<any, infer Parsed> ? Parsed : never;
|
|
6
5
|
export interface BaseSchema<Raw, Parsed> {
|
|
7
|
-
parse: (raw: unknown, opts?: SchemaOptions) =>
|
|
8
|
-
json: (parsed: unknown, opts?: SchemaOptions) =>
|
|
9
|
-
getType: () => SchemaType |
|
|
6
|
+
parse: (raw: unknown, opts?: SchemaOptions) => MaybeValid<Parsed>;
|
|
7
|
+
json: (parsed: unknown, opts?: SchemaOptions) => MaybeValid<Raw>;
|
|
8
|
+
getType: () => SchemaType | SchemaType;
|
|
10
9
|
}
|
|
11
10
|
export declare const SchemaType: {
|
|
12
11
|
readonly DATE: "date";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseSchema, Schema } from "../../Schema";
|
|
2
|
-
export declare type SchemaGetter<SchemaType extends Schema<any, any>> = () => SchemaType
|
|
2
|
+
export declare type SchemaGetter<SchemaType extends Schema<any, any>> = () => SchemaType;
|
|
3
3
|
export declare function lazy<Raw, Parsed>(getter: SchemaGetter<Schema<Raw, Parsed>>): Schema<Raw, Parsed>;
|
|
4
4
|
export declare function constructLazyBaseSchema<Raw, Parsed>(getter: SchemaGetter<Schema<Raw, Parsed>>): BaseSchema<Raw, Parsed>;
|
|
5
|
-
export declare function getMemoizedSchema<SchemaType extends Schema<any, any>>(getter: SchemaGetter<SchemaType>):
|
|
5
|
+
export declare function getMemoizedSchema<SchemaType extends Schema<any, any>>(getter: SchemaGetter<SchemaType>): SchemaType;
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.getMemoizedSchema = exports.constructLazyBaseSchema = exports.lazy = void 0;
|
|
13
4
|
const schema_utils_1 = require("../schema-utils");
|
|
@@ -18,19 +9,17 @@ function lazy(getter) {
|
|
|
18
9
|
exports.lazy = lazy;
|
|
19
10
|
function constructLazyBaseSchema(getter) {
|
|
20
11
|
return {
|
|
21
|
-
parse: (raw, opts) =>
|
|
22
|
-
json: (parsed, opts) =>
|
|
23
|
-
getType: () =>
|
|
12
|
+
parse: (raw, opts) => getMemoizedSchema(getter).parse(raw, opts),
|
|
13
|
+
json: (parsed, opts) => getMemoizedSchema(getter).json(parsed, opts),
|
|
14
|
+
getType: () => getMemoizedSchema(getter).getType(),
|
|
24
15
|
};
|
|
25
16
|
}
|
|
26
17
|
exports.constructLazyBaseSchema = constructLazyBaseSchema;
|
|
27
18
|
function getMemoizedSchema(getter) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
return castedGetter.__zurg_memoized;
|
|
34
|
-
});
|
|
19
|
+
const castedGetter = getter;
|
|
20
|
+
if (castedGetter.__zurg_memoized == null) {
|
|
21
|
+
castedGetter.__zurg_memoized = getter();
|
|
22
|
+
}
|
|
23
|
+
return castedGetter.__zurg_memoized;
|
|
35
24
|
}
|
|
36
25
|
exports.getMemoizedSchema = getMemoizedSchema;
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.lazyObject = void 0;
|
|
13
4
|
const object_1 = require("../object");
|
|
@@ -15,7 +6,7 @@ const object_like_1 = require("../object-like");
|
|
|
15
6
|
const schema_utils_1 = require("../schema-utils");
|
|
16
7
|
const lazy_1 = require("./lazy");
|
|
17
8
|
function lazyObject(getter) {
|
|
18
|
-
const baseSchema = Object.assign(Object.assign({}, (0, lazy_1.constructLazyBaseSchema)(getter)), { _getRawProperties: () =>
|
|
9
|
+
const baseSchema = Object.assign(Object.assign({}, (0, lazy_1.constructLazyBaseSchema)(getter)), { _getRawProperties: () => (0, lazy_1.getMemoizedSchema)(getter)._getRawProperties(), _getParsedProperties: () => (0, lazy_1.getMemoizedSchema)(getter)._getParsedProperties() });
|
|
19
10
|
return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0, schema_utils_1.getSchemaUtils)(baseSchema)), (0, object_like_1.getObjectLikeUtils)(baseSchema)), (0, object_1.getObjectUtils)(baseSchema));
|
|
20
11
|
}
|
|
21
12
|
exports.lazyObject = lazyObject;
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.list = void 0;
|
|
13
4
|
const Schema_1 = require("../../Schema");
|
|
@@ -16,11 +7,9 @@ const maybeSkipValidation_1 = require("../../utils/maybeSkipValidation");
|
|
|
16
7
|
const schema_utils_1 = require("../schema-utils");
|
|
17
8
|
function list(schema) {
|
|
18
9
|
const baseSchema = {
|
|
19
|
-
parse: (raw, opts) =>
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return schema.parse(item, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `[${index}]`] }));
|
|
23
|
-
});
|
|
10
|
+
parse: (raw, opts) => validateAndTransformArray(raw, (item, index) => {
|
|
11
|
+
var _a;
|
|
12
|
+
return schema.parse(item, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `[${index}]`] }));
|
|
24
13
|
}),
|
|
25
14
|
json: (parsed, opts) => validateAndTransformArray(parsed, (item, index) => {
|
|
26
15
|
var _a;
|
|
@@ -32,37 +21,35 @@ function list(schema) {
|
|
|
32
21
|
}
|
|
33
22
|
exports.list = list;
|
|
34
23
|
function validateAndTransformArray(value, transformItem) {
|
|
35
|
-
|
|
36
|
-
|
|
24
|
+
if (!Array.isArray(value)) {
|
|
25
|
+
return {
|
|
26
|
+
ok: false,
|
|
27
|
+
errors: [
|
|
28
|
+
{
|
|
29
|
+
message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, "list"),
|
|
30
|
+
path: [],
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
const maybeValidItems = value.map((item, index) => transformItem(item, index));
|
|
36
|
+
return maybeValidItems.reduce((acc, item) => {
|
|
37
|
+
if (acc.ok && item.ok) {
|
|
37
38
|
return {
|
|
38
|
-
ok:
|
|
39
|
-
|
|
40
|
-
{
|
|
41
|
-
message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, "list"),
|
|
42
|
-
path: [],
|
|
43
|
-
},
|
|
44
|
-
],
|
|
39
|
+
ok: true,
|
|
40
|
+
value: [...acc.value, item.value],
|
|
45
41
|
};
|
|
46
42
|
}
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
if (!item.ok) {
|
|
60
|
-
errors.push(...item.errors);
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
ok: false,
|
|
64
|
-
errors,
|
|
65
|
-
};
|
|
66
|
-
}, { ok: true, value: [] });
|
|
67
|
-
});
|
|
43
|
+
const errors = [];
|
|
44
|
+
if (!acc.ok) {
|
|
45
|
+
errors.push(...acc.errors);
|
|
46
|
+
}
|
|
47
|
+
if (!item.ok) {
|
|
48
|
+
errors.push(...item.errors);
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
ok: false,
|
|
52
|
+
errors,
|
|
53
|
+
};
|
|
54
|
+
}, { ok: true, value: [] });
|
|
68
55
|
}
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.getObjectUtils = exports.object = void 0;
|
|
13
4
|
const Schema_1 = require("../../Schema");
|
|
@@ -23,9 +14,9 @@ const schema_utils_1 = require("../schema-utils");
|
|
|
23
14
|
const property_1 = require("./property");
|
|
24
15
|
function object(schemas) {
|
|
25
16
|
const baseSchema = {
|
|
26
|
-
_getRawProperties: () =>
|
|
27
|
-
_getParsedProperties: () =>
|
|
28
|
-
parse: (raw, opts) =>
|
|
17
|
+
_getRawProperties: () => Object.entries(schemas).map(([parsedKey, propertySchema]) => (0, property_1.isProperty)(propertySchema) ? propertySchema.rawKey : parsedKey),
|
|
18
|
+
_getParsedProperties: () => (0, keys_1.keys)(schemas),
|
|
19
|
+
parse: (raw, opts) => {
|
|
29
20
|
const rawKeyToProperty = {};
|
|
30
21
|
const requiredKeys = [];
|
|
31
22
|
for (const [parsedKey, schemaOrObjectProperty] of (0, entries_1.entries)(schemas)) {
|
|
@@ -63,8 +54,8 @@ function object(schemas) {
|
|
|
63
54
|
skipValidation: opts === null || opts === void 0 ? void 0 : opts.skipValidation,
|
|
64
55
|
breadcrumbsPrefix: opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix,
|
|
65
56
|
});
|
|
66
|
-
}
|
|
67
|
-
json: (parsed, opts) =>
|
|
57
|
+
},
|
|
58
|
+
json: (parsed, opts) => {
|
|
68
59
|
const requiredKeys = [];
|
|
69
60
|
for (const [parsedKey, schemaOrObjectProperty] of (0, entries_1.entries)(schemas)) {
|
|
70
61
|
const valueSchema = (0, property_1.isProperty)(schemaOrObjectProperty)
|
|
@@ -106,109 +97,97 @@ function object(schemas) {
|
|
|
106
97
|
skipValidation: opts === null || opts === void 0 ? void 0 : opts.skipValidation,
|
|
107
98
|
breadcrumbsPrefix: opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix,
|
|
108
99
|
});
|
|
109
|
-
}
|
|
100
|
+
},
|
|
110
101
|
getType: () => Schema_1.SchemaType.OBJECT,
|
|
111
102
|
};
|
|
112
103
|
return Object.assign(Object.assign(Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, schema_utils_1.getSchemaUtils)(baseSchema)), (0, object_like_1.getObjectLikeUtils)(baseSchema)), getObjectUtils(baseSchema));
|
|
113
104
|
}
|
|
114
105
|
exports.object = object;
|
|
115
106
|
function validateAndTransformObject({ value, requiredKeys, getProperty, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [], }) {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
transformed[property.transformedKey] = value.value;
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
transformed[preTransformedKey] = preTransformedItemValue;
|
|
141
|
-
errors.push(...value.errors);
|
|
142
|
-
}
|
|
107
|
+
if (!(0, isPlainObject_1.isPlainObject)(value)) {
|
|
108
|
+
return {
|
|
109
|
+
ok: false,
|
|
110
|
+
errors: [
|
|
111
|
+
{
|
|
112
|
+
path: breadcrumbsPrefix,
|
|
113
|
+
message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, "object"),
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
const missingRequiredKeys = new Set(requiredKeys);
|
|
119
|
+
const errors = [];
|
|
120
|
+
const transformed = {};
|
|
121
|
+
for (const [preTransformedKey, preTransformedItemValue] of Object.entries(value)) {
|
|
122
|
+
const property = getProperty(preTransformedKey);
|
|
123
|
+
if (property != null) {
|
|
124
|
+
missingRequiredKeys.delete(preTransformedKey);
|
|
125
|
+
const value = property.transform(preTransformedItemValue);
|
|
126
|
+
if (value.ok) {
|
|
127
|
+
transformed[property.transformedKey] = value.value;
|
|
143
128
|
}
|
|
144
129
|
else {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
errors.push({
|
|
148
|
-
path: [...breadcrumbsPrefix, preTransformedKey],
|
|
149
|
-
message: `Unexpected key "${preTransformedKey}"`,
|
|
150
|
-
});
|
|
151
|
-
break;
|
|
152
|
-
case "strip":
|
|
153
|
-
break;
|
|
154
|
-
case "passthrough":
|
|
155
|
-
transformed[preTransformedKey] = preTransformedItemValue;
|
|
156
|
-
break;
|
|
157
|
-
}
|
|
130
|
+
transformed[preTransformedKey] = preTransformedItemValue;
|
|
131
|
+
errors.push(...value.errors);
|
|
158
132
|
}
|
|
159
133
|
}
|
|
160
|
-
errors.push(...requiredKeys
|
|
161
|
-
.filter((key) => missingRequiredKeys.has(key))
|
|
162
|
-
.map((key) => ({
|
|
163
|
-
path: breadcrumbsPrefix,
|
|
164
|
-
message: `Missing required key "${key}"`,
|
|
165
|
-
})));
|
|
166
|
-
if (errors.length === 0 || skipValidation) {
|
|
167
|
-
return {
|
|
168
|
-
ok: true,
|
|
169
|
-
value: transformed,
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
134
|
else {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
135
|
+
switch (unrecognizedObjectKeys) {
|
|
136
|
+
case "fail":
|
|
137
|
+
errors.push({
|
|
138
|
+
path: [...breadcrumbsPrefix, preTransformedKey],
|
|
139
|
+
message: `Unexpected key "${preTransformedKey}"`,
|
|
140
|
+
});
|
|
141
|
+
break;
|
|
142
|
+
case "strip":
|
|
143
|
+
break;
|
|
144
|
+
case "passthrough":
|
|
145
|
+
transformed[preTransformedKey] = preTransformedItemValue;
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
177
148
|
}
|
|
178
|
-
}
|
|
149
|
+
}
|
|
150
|
+
errors.push(...requiredKeys
|
|
151
|
+
.filter((key) => missingRequiredKeys.has(key))
|
|
152
|
+
.map((key) => ({
|
|
153
|
+
path: breadcrumbsPrefix,
|
|
154
|
+
message: `Missing required key "${key}"`,
|
|
155
|
+
})));
|
|
156
|
+
if (errors.length === 0 || skipValidation) {
|
|
157
|
+
return {
|
|
158
|
+
ok: true,
|
|
159
|
+
value: transformed,
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
return {
|
|
164
|
+
ok: false,
|
|
165
|
+
errors,
|
|
166
|
+
};
|
|
167
|
+
}
|
|
179
168
|
}
|
|
180
169
|
function getObjectUtils(schema) {
|
|
181
170
|
return {
|
|
182
171
|
extend: (extension) => {
|
|
183
172
|
const baseSchema = {
|
|
184
|
-
_getParsedProperties: () =>
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
...(yield extension._getParsedProperties()),
|
|
188
|
-
];
|
|
189
|
-
}),
|
|
190
|
-
_getRawProperties: () => __awaiter(this, void 0, void 0, function* () {
|
|
191
|
-
return [
|
|
192
|
-
...(yield schema._getRawProperties()),
|
|
193
|
-
...(yield extension._getRawProperties()),
|
|
194
|
-
];
|
|
195
|
-
}),
|
|
196
|
-
parse: (raw, opts) => __awaiter(this, void 0, void 0, function* () {
|
|
173
|
+
_getParsedProperties: () => [...schema._getParsedProperties(), ...extension._getParsedProperties()],
|
|
174
|
+
_getRawProperties: () => [...schema._getRawProperties(), ...extension._getRawProperties()],
|
|
175
|
+
parse: (raw, opts) => {
|
|
197
176
|
return validateAndTransformExtendedObject({
|
|
198
|
-
extensionKeys:
|
|
177
|
+
extensionKeys: extension._getRawProperties(),
|
|
199
178
|
value: raw,
|
|
200
179
|
transformBase: (rawBase) => schema.parse(rawBase, opts),
|
|
201
180
|
transformExtension: (rawExtension) => extension.parse(rawExtension, opts),
|
|
202
181
|
});
|
|
203
|
-
}
|
|
204
|
-
json: (parsed, opts) =>
|
|
182
|
+
},
|
|
183
|
+
json: (parsed, opts) => {
|
|
205
184
|
return validateAndTransformExtendedObject({
|
|
206
|
-
extensionKeys:
|
|
185
|
+
extensionKeys: extension._getParsedProperties(),
|
|
207
186
|
value: parsed,
|
|
208
187
|
transformBase: (parsedBase) => schema.json(parsedBase, opts),
|
|
209
188
|
transformExtension: (parsedExtension) => extension.json(parsedExtension, opts),
|
|
210
189
|
});
|
|
211
|
-
}
|
|
190
|
+
},
|
|
212
191
|
getType: () => Schema_1.SchemaType.OBJECT,
|
|
213
192
|
};
|
|
214
193
|
return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0, schema_utils_1.getSchemaUtils)(baseSchema)), (0, object_like_1.getObjectLikeUtils)(baseSchema)), getObjectUtils(baseSchema));
|
|
@@ -217,27 +196,25 @@ function getObjectUtils(schema) {
|
|
|
217
196
|
}
|
|
218
197
|
exports.getObjectUtils = getObjectUtils;
|
|
219
198
|
function validateAndTransformExtendedObject({ extensionKeys, value, transformBase, transformExtension, }) {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
}
|
|
240
|
-
});
|
|
199
|
+
const extensionPropertiesSet = new Set(extensionKeys);
|
|
200
|
+
const [extensionProperties, baseProperties] = (0, partition_1.partition)((0, keys_1.keys)(value), (key) => extensionPropertiesSet.has(key));
|
|
201
|
+
const transformedBase = transformBase((0, filterObject_1.filterObject)(value, baseProperties));
|
|
202
|
+
const transformedExtension = transformExtension((0, filterObject_1.filterObject)(value, extensionProperties));
|
|
203
|
+
if (transformedBase.ok && transformedExtension.ok) {
|
|
204
|
+
return {
|
|
205
|
+
ok: true,
|
|
206
|
+
value: Object.assign(Object.assign({}, transformedBase.value), transformedExtension.value),
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
else {
|
|
210
|
+
return {
|
|
211
|
+
ok: false,
|
|
212
|
+
errors: [
|
|
213
|
+
...(transformedBase.ok ? [] : transformedBase.errors),
|
|
214
|
+
...(transformedExtension.ok ? [] : transformedExtension.errors),
|
|
215
|
+
],
|
|
216
|
+
};
|
|
217
|
+
}
|
|
241
218
|
}
|
|
242
219
|
function isSchemaRequired(schema) {
|
|
243
220
|
return !isSchemaOptional(schema);
|
|
@@ -5,8 +5,8 @@ import { SchemaUtils } from "../schema-utils";
|
|
|
5
5
|
import { Property } from "./property";
|
|
6
6
|
export declare type ObjectSchema<Raw, Parsed> = BaseObjectSchema<Raw, Parsed> & ObjectLikeUtils<Raw, Parsed> & ObjectUtils<Raw, Parsed> & SchemaUtils<Raw, Parsed>;
|
|
7
7
|
export interface BaseObjectSchema<Raw, Parsed> extends BaseSchema<Raw, Parsed> {
|
|
8
|
-
_getRawProperties: () =>
|
|
9
|
-
_getParsedProperties: () =>
|
|
8
|
+
_getRawProperties: () => (keyof Raw)[];
|
|
9
|
+
_getParsedProperties: () => (keyof Parsed)[];
|
|
10
10
|
}
|
|
11
11
|
export interface ObjectUtils<Raw, Parsed> {
|
|
12
12
|
extend: <RawExtension, ParsedExtension>(schemas: ObjectSchema<RawExtension, ParsedExtension>) => ObjectSchema<Raw & RawExtension, Parsed & ParsedExtension>;
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.withParsedProperties = exports.getObjectLikeUtils = void 0;
|
|
13
4
|
const filterObject_1 = require("../../utils/filterObject");
|
|
@@ -25,8 +16,8 @@ exports.getObjectLikeUtils = getObjectLikeUtils;
|
|
|
25
16
|
*/
|
|
26
17
|
function withParsedProperties(objectLike, properties) {
|
|
27
18
|
const objectSchema = {
|
|
28
|
-
parse: (raw, opts) =>
|
|
29
|
-
const parsedObject =
|
|
19
|
+
parse: (raw, opts) => {
|
|
20
|
+
const parsedObject = objectLike.parse(raw, opts);
|
|
30
21
|
if (!parsedObject.ok) {
|
|
31
22
|
return parsedObject;
|
|
32
23
|
}
|
|
@@ -37,7 +28,7 @@ function withParsedProperties(objectLike, properties) {
|
|
|
37
28
|
ok: true,
|
|
38
29
|
value: Object.assign(Object.assign({}, parsedObject.value), additionalProperties),
|
|
39
30
|
};
|
|
40
|
-
}
|
|
31
|
+
},
|
|
41
32
|
json: (parsed, opts) => {
|
|
42
33
|
var _a;
|
|
43
34
|
if (!(0, isPlainObject_1.isPlainObject)(parsed)) {
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.record = void 0;
|
|
13
4
|
const Schema_1 = require("../../Schema");
|
|
@@ -18,10 +9,10 @@ const maybeSkipValidation_1 = require("../../utils/maybeSkipValidation");
|
|
|
18
9
|
const schema_utils_1 = require("../schema-utils");
|
|
19
10
|
function record(keySchema, valueSchema) {
|
|
20
11
|
const baseSchema = {
|
|
21
|
-
parse: (raw, opts) =>
|
|
12
|
+
parse: (raw, opts) => {
|
|
22
13
|
return validateAndTransformRecord({
|
|
23
14
|
value: raw,
|
|
24
|
-
isKeyNumeric:
|
|
15
|
+
isKeyNumeric: keySchema.getType() === Schema_1.SchemaType.NUMBER,
|
|
25
16
|
transformKey: (key) => {
|
|
26
17
|
var _a;
|
|
27
18
|
return keySchema.parse(key, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `${key} (key)`] }));
|
|
@@ -32,11 +23,11 @@ function record(keySchema, valueSchema) {
|
|
|
32
23
|
},
|
|
33
24
|
breadcrumbsPrefix: opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix,
|
|
34
25
|
});
|
|
35
|
-
}
|
|
36
|
-
json: (parsed, opts) =>
|
|
26
|
+
},
|
|
27
|
+
json: (parsed, opts) => {
|
|
37
28
|
return validateAndTransformRecord({
|
|
38
29
|
value: parsed,
|
|
39
|
-
isKeyNumeric:
|
|
30
|
+
isKeyNumeric: keySchema.getType() === Schema_1.SchemaType.NUMBER,
|
|
40
31
|
transformKey: (key) => {
|
|
41
32
|
var _a;
|
|
42
33
|
return keySchema.json(key, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `${key} (key)`] }));
|
|
@@ -47,60 +38,58 @@ function record(keySchema, valueSchema) {
|
|
|
47
38
|
},
|
|
48
39
|
breadcrumbsPrefix: opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix,
|
|
49
40
|
});
|
|
50
|
-
}
|
|
41
|
+
},
|
|
51
42
|
getType: () => Schema_1.SchemaType.RECORD,
|
|
52
43
|
};
|
|
53
44
|
return Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, schema_utils_1.getSchemaUtils)(baseSchema));
|
|
54
45
|
}
|
|
55
46
|
exports.record = record;
|
|
56
47
|
function validateAndTransformRecord({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [], }) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
48
|
+
if (!(0, isPlainObject_1.isPlainObject)(value)) {
|
|
49
|
+
return {
|
|
50
|
+
ok: false,
|
|
51
|
+
errors: [
|
|
52
|
+
{
|
|
53
|
+
path: breadcrumbsPrefix,
|
|
54
|
+
message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, "object"),
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
return (0, entries_1.entries)(value).reduce((accPromise, [stringKey, value]) => {
|
|
60
|
+
// skip nullish keys
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return accPromise;
|
|
68
63
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
let key = stringKey;
|
|
76
|
-
if (isKeyNumeric) {
|
|
77
|
-
const numberKey = stringKey.length > 0 ? Number(stringKey) : NaN;
|
|
78
|
-
if (!isNaN(numberKey)) {
|
|
79
|
-
key = numberKey;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
const transformedKey = yield transformKey(key);
|
|
83
|
-
const transformedValue = yield transformValue(value, key);
|
|
84
|
-
if (acc.ok && transformedKey.ok && transformedValue.ok) {
|
|
85
|
-
return {
|
|
86
|
-
ok: true,
|
|
87
|
-
value: Object.assign(Object.assign({}, acc.value), { [transformedKey.value]: transformedValue.value }),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
const errors = [];
|
|
91
|
-
if (!acc.ok) {
|
|
92
|
-
errors.push(...acc.errors);
|
|
93
|
-
}
|
|
94
|
-
if (!transformedKey.ok) {
|
|
95
|
-
errors.push(...transformedKey.errors);
|
|
96
|
-
}
|
|
97
|
-
if (!transformedValue.ok) {
|
|
98
|
-
errors.push(...transformedValue.errors);
|
|
64
|
+
const acc = accPromise;
|
|
65
|
+
let key = stringKey;
|
|
66
|
+
if (isKeyNumeric) {
|
|
67
|
+
const numberKey = stringKey.length > 0 ? Number(stringKey) : NaN;
|
|
68
|
+
if (!isNaN(numberKey)) {
|
|
69
|
+
key = numberKey;
|
|
99
70
|
}
|
|
71
|
+
}
|
|
72
|
+
const transformedKey = transformKey(key);
|
|
73
|
+
const transformedValue = transformValue(value, key);
|
|
74
|
+
if (acc.ok && transformedKey.ok && transformedValue.ok) {
|
|
100
75
|
return {
|
|
101
|
-
ok:
|
|
102
|
-
|
|
76
|
+
ok: true,
|
|
77
|
+
value: Object.assign(Object.assign({}, acc.value), { [transformedKey.value]: transformedValue.value }),
|
|
103
78
|
};
|
|
104
|
-
}
|
|
105
|
-
|
|
79
|
+
}
|
|
80
|
+
const errors = [];
|
|
81
|
+
if (!acc.ok) {
|
|
82
|
+
errors.push(...acc.errors);
|
|
83
|
+
}
|
|
84
|
+
if (!transformedKey.ok) {
|
|
85
|
+
errors.push(...transformedKey.errors);
|
|
86
|
+
}
|
|
87
|
+
if (!transformedValue.ok) {
|
|
88
|
+
errors.push(...transformedValue.errors);
|
|
89
|
+
}
|
|
90
|
+
return {
|
|
91
|
+
ok: false,
|
|
92
|
+
errors,
|
|
93
|
+
};
|
|
94
|
+
}, { ok: true, value: {} });
|
|
106
95
|
}
|