hume 0.1.0 → 0.2.5
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/Client.d.ts +42 -0
- package/Client.js +291 -0
- package/README.md +126 -1
- package/api/client/index.d.ts +1 -0
- package/api/client/index.js +17 -0
- package/api/client/requests/BaseRequest.d.ts +18 -0
- package/api/client/requests/BaseRequest.js +5 -0
- package/api/client/requests/ListJobsRequest.d.ts +30 -0
- package/api/client/requests/ListJobsRequest.js +5 -0
- package/api/client/requests/index.d.ts +2 -0
- package/api/client/requests/index.js +2 -0
- package/api/index.d.ts +2 -0
- package/api/index.js +18 -0
- package/api/types/Bcp47Tag.d.ts +35 -0
- package/api/types/Bcp47Tag.js +37 -0
- package/api/types/BoundingBox.d.ts +16 -0
- package/api/types/BoundingBox.js +5 -0
- package/api/types/BurstPrediction.d.ts +11 -0
- package/api/types/BurstPrediction.js +5 -0
- package/api/types/BurstResponse.d.ts +10 -0
- package/api/types/BurstResponse.js +5 -0
- package/api/types/Completed.d.ts +15 -0
- package/api/types/Completed.js +5 -0
- package/api/types/DescriptionsScore.d.ts +9 -0
- package/api/types/DescriptionsScore.js +5 -0
- package/api/types/Direction.d.ts +8 -0
- package/api/types/Direction.js +10 -0
- package/api/types/EmotionEmbedding.d.ts +8 -0
- package/api/types/EmotionEmbedding.js +5 -0
- package/api/types/EmotionEmbeddingItem.d.ts +9 -0
- package/api/types/EmotionEmbeddingItem.js +5 -0
- package/api/types/EmotionScore.d.ts +9 -0
- package/api/types/EmotionScore.js +5 -0
- package/api/types/Empty.d.ts +7 -0
- package/api/types/Empty.js +5 -0
- package/api/types/Error_.d.ts +9 -0
- package/api/types/Error_.js +5 -0
- package/api/types/Face.d.ts +18 -0
- package/api/types/Face.js +5 -0
- package/api/types/FaceModelConfig.d.ts +35 -0
- package/api/types/FaceModelConfig.js +5 -0
- package/api/types/FacePrediction.d.ts +19 -0
- package/api/types/FacePrediction.js +5 -0
- package/api/types/FaceResponse.d.ts +10 -0
- package/api/types/FaceResponse.js +5 -0
- package/api/types/FacemeshPrediction.d.ts +8 -0
- package/api/types/FacemeshPrediction.js +5 -0
- package/api/types/FacemeshResponse.d.ts +10 -0
- package/api/types/FacemeshResponse.js +5 -0
- package/api/types/FacsScore.d.ts +9 -0
- package/api/types/FacsScore.js +5 -0
- package/api/types/Failed.d.ts +13 -0
- package/api/types/Failed.js +5 -0
- package/api/types/File_.d.ts +11 -0
- package/api/types/File_.js +5 -0
- package/api/types/Granularity.d.ts +13 -0
- package/api/types/Granularity.js +12 -0
- package/api/types/GroupedPredictionsBurstPrediction.d.ts +9 -0
- package/api/types/GroupedPredictionsBurstPrediction.js +5 -0
- package/api/types/GroupedPredictionsFacePrediction.d.ts +9 -0
- package/api/types/GroupedPredictionsFacePrediction.js +5 -0
- package/api/types/GroupedPredictionsFacemeshPrediction.d.ts +9 -0
- package/api/types/GroupedPredictionsFacemeshPrediction.js +5 -0
- package/api/types/GroupedPredictionsLanguagePrediction.d.ts +9 -0
- package/api/types/GroupedPredictionsLanguagePrediction.js +5 -0
- package/api/types/GroupedPredictionsNerPrediction.d.ts +9 -0
- package/api/types/GroupedPredictionsNerPrediction.js +5 -0
- package/api/types/GroupedPredictionsProsodyPrediction.d.ts +9 -0
- package/api/types/GroupedPredictionsProsodyPrediction.js +5 -0
- package/api/types/InProgress.d.ts +9 -0
- package/api/types/InProgress.js +5 -0
- package/api/types/JobId.d.ts +7 -0
- package/api/types/JobId.js +5 -0
- package/api/types/JobRequest.d.ts +10 -0
- package/api/types/JobRequest.js +5 -0
- package/api/types/Language.d.ts +11 -0
- package/api/types/Language.js +5 -0
- package/api/types/LanguageConfig.d.ts +14 -0
- package/api/types/LanguageConfig.js +5 -0
- package/api/types/LanguagePrediction.d.ts +24 -0
- package/api/types/LanguagePrediction.js +5 -0
- package/api/types/LanguageResponse.d.ts +10 -0
- package/api/types/LanguageResponse.js +5 -0
- package/api/types/ModelConfig.d.ts +46 -0
- package/api/types/ModelConfig.js +5 -0
- package/api/types/ModelResponse.d.ts +16 -0
- package/api/types/ModelResponse.js +5 -0
- package/api/types/Models.d.ts +12 -0
- package/api/types/Models.js +5 -0
- package/api/types/ModelsError.d.ts +9 -0
- package/api/types/ModelsError.js +5 -0
- package/api/types/ModelsInput.d.ts +56 -0
- package/api/types/ModelsInput.js +5 -0
- package/api/types/ModelsPredictions.d.ts +12 -0
- package/api/types/ModelsPredictions.js +5 -0
- package/api/types/ModelsSuccessBurstPredictionsItem.d.ts +8 -0
- package/api/types/ModelsSuccessBurstPredictionsItem.js +5 -0
- package/api/types/ModelsSuccessFacePredictionsItem.d.ts +18 -0
- package/api/types/ModelsSuccessFacePredictionsItem.js +5 -0
- package/api/types/ModelsSuccessFacemeshPredictionsItem.d.ts +7 -0
- package/api/types/ModelsSuccessFacemeshPredictionsItem.js +5 -0
- package/api/types/ModelsSuccessLanguagePredictionsItem.d.ts +12 -0
- package/api/types/ModelsSuccessLanguagePredictionsItem.js +5 -0
- package/api/types/ModelsSuccessProsodyPredictionsItem.d.ts +8 -0
- package/api/types/ModelsSuccessProsodyPredictionsItem.js +5 -0
- package/api/types/ModelsWarning.d.ts +9 -0
- package/api/types/ModelsWarning.js +5 -0
- package/api/types/Ner.d.ts +7 -0
- package/api/types/Ner.js +5 -0
- package/api/types/NerPrediction.d.ts +24 -0
- package/api/types/NerPrediction.js +5 -0
- package/api/types/Null.d.ts +7 -0
- package/api/types/Null.js +5 -0
- package/api/types/PositionInterval.d.ts +12 -0
- package/api/types/PositionInterval.js +5 -0
- package/api/types/Prediction.d.ts +9 -0
- package/api/types/Prediction.js +5 -0
- package/api/types/PredictionsOptionalNullBurstPrediction.d.ts +8 -0
- package/api/types/PredictionsOptionalNullBurstPrediction.js +5 -0
- package/api/types/PredictionsOptionalNullFacePrediction.d.ts +8 -0
- package/api/types/PredictionsOptionalNullFacePrediction.js +5 -0
- package/api/types/PredictionsOptionalNullFacemeshPrediction.d.ts +8 -0
- package/api/types/PredictionsOptionalNullFacemeshPrediction.js +5 -0
- package/api/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.d.ts +8 -0
- package/api/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +5 -0
- package/api/types/PredictionsOptionalTranscriptionMetadataNerPrediction.d.ts +8 -0
- package/api/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +5 -0
- package/api/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.d.ts +8 -0
- package/api/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +5 -0
- package/api/types/Prosody.d.ts +13 -0
- package/api/types/Prosody.js +5 -0
- package/api/types/ProsodyPrediction.d.ts +15 -0
- package/api/types/ProsodyPrediction.js +5 -0
- package/api/types/ProsodyResponse.d.ts +10 -0
- package/api/types/ProsodyResponse.js +5 -0
- package/api/types/Queued.d.ts +7 -0
- package/api/types/Queued.js +5 -0
- package/api/types/Request.d.ts +19 -0
- package/api/types/Request.js +5 -0
- package/api/types/Results.d.ts +8 -0
- package/api/types/Results.js +5 -0
- package/api/types/Sentiment.d.ts +10 -0
- package/api/types/Sentiment.js +5 -0
- package/api/types/SentimentItem.d.ts +9 -0
- package/api/types/SentimentItem.js +5 -0
- package/api/types/SentimentScore.d.ts +9 -0
- package/api/types/SentimentScore.js +5 -0
- package/api/types/SortBy.d.ts +9 -0
- package/api/types/SortBy.js +11 -0
- package/api/types/Source.d.ts +13 -0
- package/api/types/Source.js +5 -0
- package/api/types/SourceFile.d.ts +5 -0
- package/api/types/SourceFile.js +5 -0
- package/api/types/SourceResult.d.ts +10 -0
- package/api/types/SourceResult.js +5 -0
- package/api/types/SourceUrl.d.ts +5 -0
- package/api/types/SourceUrl.js +5 -0
- package/api/types/State.d.ts +19 -0
- package/api/types/State.js +5 -0
- package/api/types/StateCompleted.d.ts +5 -0
- package/api/types/StateCompleted.js +5 -0
- package/api/types/StateFailed.d.ts +5 -0
- package/api/types/StateFailed.js +5 -0
- package/api/types/StateInProgress.d.ts +5 -0
- package/api/types/StateInProgress.js +5 -0
- package/api/types/StateQueued.d.ts +5 -0
- package/api/types/StateQueued.js +5 -0
- package/api/types/Status.d.ts +10 -0
- package/api/types/Status.js +12 -0
- package/api/types/TextPosition.d.ts +13 -0
- package/api/types/TextPosition.js +5 -0
- package/api/types/TimeInterval.d.ts +12 -0
- package/api/types/TimeInterval.js +5 -0
- package/api/types/TimeRange.d.ts +12 -0
- package/api/types/TimeRange.js +5 -0
- package/api/types/Toxicity.d.ts +8 -0
- package/api/types/Toxicity.js +5 -0
- package/api/types/ToxicityItem.d.ts +9 -0
- package/api/types/ToxicityItem.js +5 -0
- package/api/types/ToxicityScore.d.ts +9 -0
- package/api/types/ToxicityScore.js +5 -0
- package/api/types/Transcription.d.ts +7 -0
- package/api/types/Transcription.js +5 -0
- package/api/types/TranscriptionMetadata.d.ts +12 -0
- package/api/types/TranscriptionMetadata.js +5 -0
- package/api/types/Url.d.ts +7 -0
- package/api/types/Url.js +5 -0
- package/api/types/When.d.ts +8 -0
- package/api/types/When.js +10 -0
- package/api/types/Window.d.ts +9 -0
- package/api/types/Window.js +5 -0
- package/api/types/index.d.ts +89 -0
- package/api/types/index.js +105 -0
- package/core/fetcher/APIResponse.d.ts +9 -0
- package/core/fetcher/APIResponse.js +2 -0
- package/core/fetcher/Fetcher.d.ts +38 -0
- package/core/fetcher/Fetcher.js +129 -0
- package/core/fetcher/Supplier.d.ts +4 -0
- package/core/fetcher/Supplier.js +22 -0
- package/core/fetcher/index.d.ts +4 -0
- package/core/fetcher/index.js +7 -0
- package/core/index.d.ts +3 -0
- package/core/index.js +32 -0
- package/core/schemas/Schema.d.ts +81 -0
- package/core/schemas/Schema.js +21 -0
- package/core/schemas/builders/date/date.d.ts +2 -0
- package/core/schemas/builders/date/date.js +63 -0
- package/core/schemas/builders/date/index.d.ts +1 -0
- package/core/schemas/builders/date/index.js +5 -0
- package/core/schemas/builders/enum/enum.d.ts +2 -0
- package/core/schemas/builders/enum/enum.js +39 -0
- package/core/schemas/builders/enum/index.d.ts +1 -0
- package/core/schemas/builders/enum/index.js +5 -0
- package/core/schemas/builders/index.d.ts +13 -0
- package/core/schemas/builders/index.js +29 -0
- package/core/schemas/builders/lazy/index.d.ts +3 -0
- package/core/schemas/builders/lazy/index.js +7 -0
- package/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/core/schemas/builders/lazy/lazy.js +36 -0
- package/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/core/schemas/builders/lazy/lazyObject.js +21 -0
- package/core/schemas/builders/list/index.d.ts +1 -0
- package/core/schemas/builders/list/index.js +5 -0
- package/core/schemas/builders/list/list.d.ts +2 -0
- package/core/schemas/builders/list/list.js +68 -0
- package/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/core/schemas/builders/literals/index.d.ts +2 -0
- package/core/schemas/builders/literals/index.js +7 -0
- package/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/stringLiteral.js +29 -0
- package/core/schemas/builders/object/index.d.ts +6 -0
- package/core/schemas/builders/object/index.js +11 -0
- package/core/schemas/builders/object/object.d.ts +3 -0
- package/core/schemas/builders/object/object.js +258 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/core/schemas/builders/object/property.d.ts +8 -0
- package/core/schemas/builders/object/property.js +16 -0
- package/core/schemas/builders/object/types.d.ts +26 -0
- package/core/schemas/builders/object/types.js +2 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +63 -0
- package/core/schemas/builders/object-like/index.d.ts +2 -0
- package/core/schemas/builders/object-like/index.js +6 -0
- package/core/schemas/builders/object-like/types.d.ts +7 -0
- package/core/schemas/builders/object-like/types.js +2 -0
- package/core/schemas/builders/primitives/any.d.ts +1 -0
- package/core/schemas/builders/primitives/any.js +6 -0
- package/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/core/schemas/builders/primitives/boolean.js +25 -0
- package/core/schemas/builders/primitives/index.d.ts +5 -0
- package/core/schemas/builders/primitives/index.js +13 -0
- package/core/schemas/builders/primitives/number.d.ts +1 -0
- package/core/schemas/builders/primitives/number.js +25 -0
- package/core/schemas/builders/primitives/string.d.ts +1 -0
- package/core/schemas/builders/primitives/string.js +25 -0
- package/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/core/schemas/builders/primitives/unknown.js +6 -0
- package/core/schemas/builders/record/index.d.ts +2 -0
- package/core/schemas/builders/record/index.js +5 -0
- package/core/schemas/builders/record/record.d.ts +3 -0
- package/core/schemas/builders/record/record.js +106 -0
- package/core/schemas/builders/record/types.d.ts +4 -0
- package/core/schemas/builders/record/types.js +2 -0
- package/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +85 -0
- package/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/core/schemas/builders/schema-utils/index.js +11 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/core/schemas/builders/set/index.d.ts +1 -0
- package/core/schemas/builders/set/index.js +5 -0
- package/core/schemas/builders/set/set.d.ts +2 -0
- package/core/schemas/builders/set/set.js +53 -0
- package/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +51 -0
- package/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/core/schemas/builders/union/discriminant.js +10 -0
- package/core/schemas/builders/union/index.d.ts +4 -0
- package/core/schemas/builders/union/index.js +7 -0
- package/core/schemas/builders/union/types.d.ts +13 -0
- package/core/schemas/builders/union/types.js +2 -0
- package/core/schemas/builders/union/union.d.ts +4 -0
- package/core/schemas/builders/union/union.js +141 -0
- package/core/schemas/index.d.ts +2 -0
- package/core/schemas/index.js +17 -0
- package/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/core/schemas/utils/MaybePromise.js +2 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
- package/core/schemas/utils/entries.d.ts +1 -0
- package/core/schemas/utils/entries.js +7 -0
- package/core/schemas/utils/filterObject.d.ts +1 -0
- package/core/schemas/utils/filterObject.js +14 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
- package/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/core/schemas/utils/isPlainObject.js +18 -0
- package/core/schemas/utils/keys.d.ts +1 -0
- package/core/schemas/utils/keys.js +7 -0
- package/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/core/schemas/utils/maybeSkipValidation.js +37 -0
- package/core/schemas/utils/partition.d.ts +1 -0
- package/core/schemas/utils/partition.js +16 -0
- package/core/streaming-fetcher/Stream.d.ts +14 -0
- package/core/streaming-fetcher/Stream.js +75 -0
- package/core/streaming-fetcher/StreamingFetcher.d.ts +24 -0
- package/core/streaming-fetcher/StreamingFetcher.js +58 -0
- package/core/streaming-fetcher/getHeader.d.ts +2 -0
- package/core/streaming-fetcher/getHeader.js +12 -0
- package/core/streaming-fetcher/index.d.ts +4 -0
- package/core/streaming-fetcher/index.js +9 -0
- package/dist/Client.d.ts +42 -0
- package/dist/Client.js +291 -0
- package/dist/api/client/index.d.ts +1 -0
- package/dist/api/client/index.js +17 -0
- package/dist/api/client/requests/BaseRequest.d.ts +18 -0
- package/dist/api/client/requests/BaseRequest.js +5 -0
- package/dist/api/client/requests/ListJobsRequest.d.ts +30 -0
- package/dist/api/client/requests/ListJobsRequest.js +5 -0
- package/dist/api/client/requests/index.d.ts +2 -0
- package/dist/api/client/requests/index.js +2 -0
- package/dist/api/index.d.ts +2 -0
- package/dist/api/index.js +18 -0
- package/dist/api/types/Bcp47Tag.d.ts +35 -0
- package/dist/api/types/Bcp47Tag.js +37 -0
- package/dist/api/types/BoundingBox.d.ts +16 -0
- package/dist/api/types/BoundingBox.js +5 -0
- package/dist/api/types/BurstPrediction.d.ts +11 -0
- package/dist/api/types/BurstPrediction.js +5 -0
- package/dist/api/types/BurstResponse.d.ts +10 -0
- package/dist/api/types/BurstResponse.js +5 -0
- package/dist/api/types/Completed.d.ts +15 -0
- package/dist/api/types/Completed.js +5 -0
- package/dist/api/types/DescriptionsScore.d.ts +9 -0
- package/dist/api/types/DescriptionsScore.js +5 -0
- package/dist/api/types/Direction.d.ts +8 -0
- package/dist/api/types/Direction.js +10 -0
- package/dist/api/types/EmotionEmbedding.d.ts +8 -0
- package/dist/api/types/EmotionEmbedding.js +5 -0
- package/dist/api/types/EmotionEmbeddingItem.d.ts +9 -0
- package/dist/api/types/EmotionEmbeddingItem.js +5 -0
- package/dist/api/types/EmotionScore.d.ts +9 -0
- package/dist/api/types/EmotionScore.js +5 -0
- package/dist/api/types/Empty.d.ts +7 -0
- package/dist/api/types/Empty.js +5 -0
- package/dist/api/types/Error_.d.ts +9 -0
- package/dist/api/types/Error_.js +5 -0
- package/dist/api/types/Face.d.ts +18 -0
- package/dist/api/types/Face.js +5 -0
- package/dist/api/types/FaceModelConfig.d.ts +35 -0
- package/dist/api/types/FaceModelConfig.js +5 -0
- package/dist/api/types/FacePrediction.d.ts +19 -0
- package/dist/api/types/FacePrediction.js +5 -0
- package/dist/api/types/FaceResponse.d.ts +10 -0
- package/dist/api/types/FaceResponse.js +5 -0
- package/dist/api/types/FacemeshPrediction.d.ts +8 -0
- package/dist/api/types/FacemeshPrediction.js +5 -0
- package/dist/api/types/FacemeshResponse.d.ts +10 -0
- package/dist/api/types/FacemeshResponse.js +5 -0
- package/dist/api/types/FacsScore.d.ts +9 -0
- package/dist/api/types/FacsScore.js +5 -0
- package/dist/api/types/Failed.d.ts +13 -0
- package/dist/api/types/Failed.js +5 -0
- package/dist/api/types/File_.d.ts +11 -0
- package/dist/api/types/File_.js +5 -0
- package/dist/api/types/Granularity.d.ts +13 -0
- package/dist/api/types/Granularity.js +12 -0
- package/dist/api/types/GroupedPredictionsBurstPrediction.d.ts +9 -0
- package/dist/api/types/GroupedPredictionsBurstPrediction.js +5 -0
- package/dist/api/types/GroupedPredictionsFacePrediction.d.ts +9 -0
- package/dist/api/types/GroupedPredictionsFacePrediction.js +5 -0
- package/dist/api/types/GroupedPredictionsFacemeshPrediction.d.ts +9 -0
- package/dist/api/types/GroupedPredictionsFacemeshPrediction.js +5 -0
- package/dist/api/types/GroupedPredictionsLanguagePrediction.d.ts +9 -0
- package/dist/api/types/GroupedPredictionsLanguagePrediction.js +5 -0
- package/dist/api/types/GroupedPredictionsNerPrediction.d.ts +9 -0
- package/dist/api/types/GroupedPredictionsNerPrediction.js +5 -0
- package/dist/api/types/GroupedPredictionsProsodyPrediction.d.ts +9 -0
- package/dist/api/types/GroupedPredictionsProsodyPrediction.js +5 -0
- package/dist/api/types/InProgress.d.ts +9 -0
- package/dist/api/types/InProgress.js +5 -0
- package/dist/api/types/JobId.d.ts +7 -0
- package/dist/api/types/JobId.js +5 -0
- package/dist/api/types/JobRequest.d.ts +10 -0
- package/dist/api/types/JobRequest.js +5 -0
- package/dist/api/types/Language.d.ts +11 -0
- package/dist/api/types/Language.js +5 -0
- package/dist/api/types/LanguageConfig.d.ts +14 -0
- package/dist/api/types/LanguageConfig.js +5 -0
- package/dist/api/types/LanguagePrediction.d.ts +24 -0
- package/dist/api/types/LanguagePrediction.js +5 -0
- package/dist/api/types/LanguageResponse.d.ts +10 -0
- package/dist/api/types/LanguageResponse.js +5 -0
- package/dist/api/types/ModelConfig.d.ts +46 -0
- package/dist/api/types/ModelConfig.js +5 -0
- package/dist/api/types/ModelResponse.d.ts +16 -0
- package/dist/api/types/ModelResponse.js +5 -0
- package/dist/api/types/Models.d.ts +12 -0
- package/dist/api/types/Models.js +5 -0
- package/dist/api/types/ModelsError.d.ts +9 -0
- package/dist/api/types/ModelsError.js +5 -0
- package/dist/api/types/ModelsInput.d.ts +56 -0
- package/dist/api/types/ModelsInput.js +5 -0
- package/dist/api/types/ModelsPredictions.d.ts +12 -0
- package/dist/api/types/ModelsPredictions.js +5 -0
- package/dist/api/types/ModelsSuccessBurstPredictionsItem.d.ts +8 -0
- package/dist/api/types/ModelsSuccessBurstPredictionsItem.js +5 -0
- package/dist/api/types/ModelsSuccessFacePredictionsItem.d.ts +18 -0
- package/dist/api/types/ModelsSuccessFacePredictionsItem.js +5 -0
- package/dist/api/types/ModelsSuccessFacemeshPredictionsItem.d.ts +7 -0
- package/dist/api/types/ModelsSuccessFacemeshPredictionsItem.js +5 -0
- package/dist/api/types/ModelsSuccessLanguagePredictionsItem.d.ts +12 -0
- package/dist/api/types/ModelsSuccessLanguagePredictionsItem.js +5 -0
- package/dist/api/types/ModelsSuccessProsodyPredictionsItem.d.ts +8 -0
- package/dist/api/types/ModelsSuccessProsodyPredictionsItem.js +5 -0
- package/dist/api/types/ModelsWarning.d.ts +9 -0
- package/dist/api/types/ModelsWarning.js +5 -0
- package/dist/api/types/Ner.d.ts +7 -0
- package/dist/api/types/Ner.js +5 -0
- package/dist/api/types/NerPrediction.d.ts +24 -0
- package/dist/api/types/NerPrediction.js +5 -0
- package/dist/api/types/Null.d.ts +7 -0
- package/dist/api/types/Null.js +5 -0
- package/dist/api/types/PositionInterval.d.ts +12 -0
- package/dist/api/types/PositionInterval.js +5 -0
- package/dist/api/types/Prediction.d.ts +9 -0
- package/dist/api/types/Prediction.js +5 -0
- package/dist/api/types/PredictionsOptionalNullBurstPrediction.d.ts +8 -0
- package/dist/api/types/PredictionsOptionalNullBurstPrediction.js +5 -0
- package/dist/api/types/PredictionsOptionalNullFacePrediction.d.ts +8 -0
- package/dist/api/types/PredictionsOptionalNullFacePrediction.js +5 -0
- package/dist/api/types/PredictionsOptionalNullFacemeshPrediction.d.ts +8 -0
- package/dist/api/types/PredictionsOptionalNullFacemeshPrediction.js +5 -0
- package/dist/api/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.d.ts +8 -0
- package/dist/api/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +5 -0
- package/dist/api/types/PredictionsOptionalTranscriptionMetadataNerPrediction.d.ts +8 -0
- package/dist/api/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +5 -0
- package/dist/api/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.d.ts +8 -0
- package/dist/api/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +5 -0
- package/dist/api/types/Prosody.d.ts +13 -0
- package/dist/api/types/Prosody.js +5 -0
- package/dist/api/types/ProsodyPrediction.d.ts +15 -0
- package/dist/api/types/ProsodyPrediction.js +5 -0
- package/dist/api/types/ProsodyResponse.d.ts +10 -0
- package/dist/api/types/ProsodyResponse.js +5 -0
- package/dist/api/types/Queued.d.ts +7 -0
- package/dist/api/types/Queued.js +5 -0
- package/dist/api/types/Request.d.ts +19 -0
- package/dist/api/types/Request.js +5 -0
- package/dist/api/types/Results.d.ts +8 -0
- package/dist/api/types/Results.js +5 -0
- package/dist/api/types/Sentiment.d.ts +10 -0
- package/dist/api/types/Sentiment.js +5 -0
- package/dist/api/types/SentimentItem.d.ts +9 -0
- package/dist/api/types/SentimentItem.js +5 -0
- package/dist/api/types/SentimentScore.d.ts +9 -0
- package/dist/api/types/SentimentScore.js +5 -0
- package/dist/api/types/SortBy.d.ts +9 -0
- package/dist/api/types/SortBy.js +11 -0
- package/dist/api/types/Source.d.ts +13 -0
- package/dist/api/types/Source.js +5 -0
- package/dist/api/types/SourceFile.d.ts +5 -0
- package/dist/api/types/SourceFile.js +5 -0
- package/dist/api/types/SourceResult.d.ts +10 -0
- package/dist/api/types/SourceResult.js +5 -0
- package/dist/api/types/SourceUrl.d.ts +5 -0
- package/dist/api/types/SourceUrl.js +5 -0
- package/dist/api/types/State.d.ts +19 -0
- package/dist/api/types/State.js +5 -0
- package/dist/api/types/StateCompleted.d.ts +5 -0
- package/dist/api/types/StateCompleted.js +5 -0
- package/dist/api/types/StateFailed.d.ts +5 -0
- package/dist/api/types/StateFailed.js +5 -0
- package/dist/api/types/StateInProgress.d.ts +5 -0
- package/dist/api/types/StateInProgress.js +5 -0
- package/dist/api/types/StateQueued.d.ts +5 -0
- package/dist/api/types/StateQueued.js +5 -0
- package/dist/api/types/Status.d.ts +10 -0
- package/dist/api/types/Status.js +12 -0
- package/dist/api/types/TextPosition.d.ts +13 -0
- package/dist/api/types/TextPosition.js +5 -0
- package/dist/api/types/TimeInterval.d.ts +12 -0
- package/dist/api/types/TimeInterval.js +5 -0
- package/dist/api/types/TimeRange.d.ts +12 -0
- package/dist/api/types/TimeRange.js +5 -0
- package/dist/api/types/Toxicity.d.ts +8 -0
- package/dist/api/types/Toxicity.js +5 -0
- package/dist/api/types/ToxicityItem.d.ts +9 -0
- package/dist/api/types/ToxicityItem.js +5 -0
- package/dist/api/types/ToxicityScore.d.ts +9 -0
- package/dist/api/types/ToxicityScore.js +5 -0
- package/dist/api/types/Transcription.d.ts +7 -0
- package/dist/api/types/Transcription.js +5 -0
- package/dist/api/types/TranscriptionMetadata.d.ts +12 -0
- package/dist/api/types/TranscriptionMetadata.js +5 -0
- package/dist/api/types/Url.d.ts +7 -0
- package/dist/api/types/Url.js +5 -0
- package/dist/api/types/When.d.ts +8 -0
- package/dist/api/types/When.js +10 -0
- package/dist/api/types/Window.d.ts +9 -0
- package/dist/api/types/Window.js +5 -0
- package/dist/api/types/index.d.ts +89 -0
- package/dist/api/types/index.js +105 -0
- package/dist/core/fetcher/APIResponse.d.ts +9 -0
- package/dist/core/fetcher/APIResponse.js +2 -0
- package/dist/core/fetcher/Fetcher.d.ts +38 -0
- package/dist/core/fetcher/Fetcher.js +129 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +22 -0
- package/dist/core/fetcher/index.d.ts +4 -0
- package/dist/core/fetcher/index.js +7 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.js +32 -0
- package/dist/core/schemas/Schema.d.ts +81 -0
- package/dist/core/schemas/Schema.js +21 -0
- package/dist/core/schemas/builders/date/date.d.ts +2 -0
- package/dist/core/schemas/builders/date/date.js +63 -0
- package/dist/core/schemas/builders/date/index.d.ts +1 -0
- package/dist/core/schemas/builders/date/index.js +5 -0
- package/dist/core/schemas/builders/enum/enum.d.ts +2 -0
- package/dist/core/schemas/builders/enum/enum.js +39 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -0
- package/dist/core/schemas/builders/enum/index.js +5 -0
- package/dist/core/schemas/builders/index.d.ts +13 -0
- package/dist/core/schemas/builders/index.js +29 -0
- package/dist/core/schemas/builders/lazy/index.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/index.js +7 -0
- package/dist/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/dist/core/schemas/builders/lazy/lazy.js +36 -0
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/lazyObject.js +21 -0
- package/dist/core/schemas/builders/list/index.d.ts +1 -0
- package/dist/core/schemas/builders/list/index.js +5 -0
- package/dist/core/schemas/builders/list/list.d.ts +2 -0
- package/dist/core/schemas/builders/list/list.js +68 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/dist/core/schemas/builders/literals/index.d.ts +2 -0
- package/dist/core/schemas/builders/literals/index.js +7 -0
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/stringLiteral.js +29 -0
- package/dist/core/schemas/builders/object/index.d.ts +6 -0
- package/dist/core/schemas/builders/object/index.js +11 -0
- package/dist/core/schemas/builders/object/object.d.ts +3 -0
- package/dist/core/schemas/builders/object/object.js +258 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/dist/core/schemas/builders/object/property.d.ts +8 -0
- package/dist/core/schemas/builders/object/property.js +16 -0
- package/dist/core/schemas/builders/object/types.d.ts +26 -0
- package/dist/core/schemas/builders/object/types.js +2 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +63 -0
- package/dist/core/schemas/builders/object-like/index.d.ts +2 -0
- package/dist/core/schemas/builders/object-like/index.js +6 -0
- package/dist/core/schemas/builders/object-like/types.d.ts +7 -0
- package/dist/core/schemas/builders/object-like/types.js +2 -0
- package/dist/core/schemas/builders/primitives/any.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/any.js +6 -0
- package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/boolean.js +25 -0
- package/dist/core/schemas/builders/primitives/index.d.ts +5 -0
- package/dist/core/schemas/builders/primitives/index.js +13 -0
- package/dist/core/schemas/builders/primitives/number.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/number.js +25 -0
- package/dist/core/schemas/builders/primitives/string.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/string.js +25 -0
- package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/unknown.js +6 -0
- package/dist/core/schemas/builders/record/index.d.ts +2 -0
- package/dist/core/schemas/builders/record/index.js +5 -0
- package/dist/core/schemas/builders/record/record.d.ts +3 -0
- package/dist/core/schemas/builders/record/record.js +106 -0
- package/dist/core/schemas/builders/record/types.d.ts +4 -0
- package/dist/core/schemas/builders/record/types.js +2 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +85 -0
- package/dist/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/dist/core/schemas/builders/schema-utils/index.js +11 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/dist/core/schemas/builders/set/index.d.ts +1 -0
- package/dist/core/schemas/builders/set/index.js +5 -0
- package/dist/core/schemas/builders/set/set.d.ts +2 -0
- package/dist/core/schemas/builders/set/set.js +53 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +51 -0
- package/dist/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/dist/core/schemas/builders/union/discriminant.js +10 -0
- package/dist/core/schemas/builders/union/index.d.ts +4 -0
- package/dist/core/schemas/builders/union/index.js +7 -0
- package/dist/core/schemas/builders/union/types.d.ts +13 -0
- package/dist/core/schemas/builders/union/types.js +2 -0
- package/dist/core/schemas/builders/union/union.d.ts +4 -0
- package/dist/core/schemas/builders/union/union.js +141 -0
- package/dist/core/schemas/index.d.ts +2 -0
- package/dist/core/schemas/index.js +17 -0
- package/dist/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/dist/core/schemas/utils/MaybePromise.js +2 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
- package/dist/core/schemas/utils/entries.d.ts +1 -0
- package/dist/core/schemas/utils/entries.js +7 -0
- package/dist/core/schemas/utils/filterObject.d.ts +1 -0
- package/dist/core/schemas/utils/filterObject.js +14 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
- package/dist/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/dist/core/schemas/utils/isPlainObject.js +18 -0
- package/dist/core/schemas/utils/keys.d.ts +1 -0
- package/dist/core/schemas/utils/keys.js +7 -0
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/dist/core/schemas/utils/maybeSkipValidation.js +37 -0
- package/dist/core/schemas/utils/partition.d.ts +1 -0
- package/dist/core/schemas/utils/partition.js +16 -0
- package/dist/core/streaming-fetcher/Stream.d.ts +14 -0
- package/dist/core/streaming-fetcher/Stream.js +75 -0
- package/dist/core/streaming-fetcher/StreamingFetcher.d.ts +24 -0
- package/dist/core/streaming-fetcher/StreamingFetcher.js +58 -0
- package/dist/core/streaming-fetcher/getHeader.d.ts +2 -0
- package/dist/core/streaming-fetcher/getHeader.js +12 -0
- package/dist/core/streaming-fetcher/index.d.ts +4 -0
- package/dist/core/streaming-fetcher/index.js +9 -0
- package/dist/environments.d.ts +7 -0
- package/dist/environments.js +9 -0
- package/dist/errors/HumeError.d.ts +12 -0
- package/dist/errors/HumeError.js +32 -0
- package/dist/errors/HumeTimeoutError.d.ts +6 -0
- package/dist/errors/HumeTimeoutError.js +13 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +7 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +38 -0
- package/dist/serialization/client/getJobPredictions.d.ts +10 -0
- package/dist/serialization/client/getJobPredictions.js +40 -0
- package/dist/serialization/client/index.d.ts +3 -0
- package/dist/serialization/client/index.js +32 -0
- package/dist/serialization/client/listJobs.d.ts +10 -0
- package/dist/serialization/client/listJobs.js +40 -0
- package/dist/serialization/client/requests/BaseRequest.d.ts +16 -0
- package/dist/serialization/client/requests/BaseRequest.js +46 -0
- package/dist/serialization/client/requests/index.d.ts +1 -0
- package/dist/serialization/client/requests/index.js +5 -0
- package/dist/serialization/index.d.ts +2 -0
- package/dist/serialization/index.js +18 -0
- package/dist/serialization/types/Bcp47Tag.d.ts +10 -0
- package/dist/serialization/types/Bcp47Tag.js +61 -0
- package/dist/serialization/types/BoundingBox.d.ts +15 -0
- package/dist/serialization/types/BoundingBox.js +36 -0
- package/dist/serialization/types/BurstPrediction.d.ts +14 -0
- package/dist/serialization/types/BurstPrediction.js +44 -0
- package/dist/serialization/types/BurstResponse.d.ts +12 -0
- package/dist/serialization/types/BurstResponse.js +44 -0
- package/dist/serialization/types/Completed.d.ts +16 -0
- package/dist/serialization/types/Completed.js +37 -0
- package/dist/serialization/types/DescriptionsScore.d.ts +13 -0
- package/dist/serialization/types/DescriptionsScore.js +34 -0
- package/dist/serialization/types/Direction.d.ts +10 -0
- package/dist/serialization/types/Direction.js +31 -0
- package/dist/serialization/types/EmotionEmbedding.d.ts +10 -0
- package/dist/serialization/types/EmotionEmbedding.js +40 -0
- package/dist/serialization/types/EmotionEmbeddingItem.d.ts +13 -0
- package/dist/serialization/types/EmotionEmbeddingItem.js +34 -0
- package/dist/serialization/types/EmotionScore.d.ts +13 -0
- package/dist/serialization/types/EmotionScore.js +34 -0
- package/dist/serialization/types/Empty.d.ts +10 -0
- package/dist/serialization/types/Empty.js +31 -0
- package/dist/serialization/types/Error_.d.ts +13 -0
- package/dist/serialization/types/Error_.js +34 -0
- package/dist/serialization/types/Face.d.ts +18 -0
- package/dist/serialization/types/Face.js +48 -0
- package/dist/serialization/types/FaceModelConfig.d.ts +17 -0
- package/dist/serialization/types/FaceModelConfig.js +38 -0
- package/dist/serialization/types/FacePrediction.d.ts +18 -0
- package/dist/serialization/types/FacePrediction.js +52 -0
- package/dist/serialization/types/FaceResponse.d.ts +12 -0
- package/dist/serialization/types/FaceResponse.js +44 -0
- package/dist/serialization/types/FacemeshPrediction.d.ts +12 -0
- package/dist/serialization/types/FacemeshPrediction.js +42 -0
- package/dist/serialization/types/FacemeshResponse.d.ts +12 -0
- package/dist/serialization/types/FacemeshResponse.js +44 -0
- package/dist/serialization/types/FacsScore.d.ts +13 -0
- package/dist/serialization/types/FacsScore.js +34 -0
- package/dist/serialization/types/Failed.d.ts +15 -0
- package/dist/serialization/types/Failed.js +36 -0
- package/dist/serialization/types/File_.d.ts +14 -0
- package/dist/serialization/types/File_.js +35 -0
- package/dist/serialization/types/Granularity.d.ts +10 -0
- package/dist/serialization/types/Granularity.js +31 -0
- package/dist/serialization/types/GroupedPredictionsBurstPrediction.d.ts +13 -0
- package/dist/serialization/types/GroupedPredictionsBurstPrediction.js +43 -0
- package/dist/serialization/types/GroupedPredictionsFacePrediction.d.ts +13 -0
- package/dist/serialization/types/GroupedPredictionsFacePrediction.js +43 -0
- package/dist/serialization/types/GroupedPredictionsFacemeshPrediction.d.ts +13 -0
- package/dist/serialization/types/GroupedPredictionsFacemeshPrediction.js +43 -0
- package/dist/serialization/types/GroupedPredictionsLanguagePrediction.d.ts +13 -0
- package/dist/serialization/types/GroupedPredictionsLanguagePrediction.js +43 -0
- package/dist/serialization/types/GroupedPredictionsNerPrediction.d.ts +13 -0
- package/dist/serialization/types/GroupedPredictionsNerPrediction.js +43 -0
- package/dist/serialization/types/GroupedPredictionsProsodyPrediction.d.ts +13 -0
- package/dist/serialization/types/GroupedPredictionsProsodyPrediction.js +43 -0
- package/dist/serialization/types/InProgress.d.ts +13 -0
- package/dist/serialization/types/InProgress.js +34 -0
- package/dist/serialization/types/JobId.d.ts +12 -0
- package/dist/serialization/types/JobId.js +33 -0
- package/dist/serialization/types/JobRequest.d.ts +15 -0
- package/dist/serialization/types/JobRequest.js +45 -0
- package/dist/serialization/types/Language.d.ts +15 -0
- package/dist/serialization/types/Language.js +45 -0
- package/dist/serialization/types/LanguageConfig.d.ts +14 -0
- package/dist/serialization/types/LanguageConfig.js +35 -0
- package/dist/serialization/types/LanguagePrediction.d.ts +19 -0
- package/dist/serialization/types/LanguagePrediction.js +53 -0
- package/dist/serialization/types/LanguageResponse.d.ts +12 -0
- package/dist/serialization/types/LanguageResponse.js +44 -0
- package/dist/serialization/types/ModelConfig.d.ts +16 -0
- package/dist/serialization/types/ModelConfig.js +46 -0
- package/dist/serialization/types/ModelResponse.d.ts +16 -0
- package/dist/serialization/types/ModelResponse.js +46 -0
- package/dist/serialization/types/Models.d.ts +17 -0
- package/dist/serialization/types/Models.js +47 -0
- package/dist/serialization/types/ModelsError.d.ts +13 -0
- package/dist/serialization/types/ModelsError.js +34 -0
- package/dist/serialization/types/ModelsInput.d.ts +18 -0
- package/dist/serialization/types/ModelsInput.js +48 -0
- package/dist/serialization/types/ModelsPredictions.d.ts +17 -0
- package/dist/serialization/types/ModelsPredictions.js +59 -0
- package/dist/serialization/types/ModelsSuccessBurstPredictionsItem.d.ts +13 -0
- package/dist/serialization/types/ModelsSuccessBurstPredictionsItem.js +43 -0
- package/dist/serialization/types/ModelsSuccessFacePredictionsItem.d.ts +19 -0
- package/dist/serialization/types/ModelsSuccessFacePredictionsItem.js +49 -0
- package/dist/serialization/types/ModelsSuccessFacemeshPredictionsItem.d.ts +12 -0
- package/dist/serialization/types/ModelsSuccessFacemeshPredictionsItem.js +42 -0
- package/dist/serialization/types/ModelsSuccessLanguagePredictionsItem.d.ts +16 -0
- package/dist/serialization/types/ModelsSuccessLanguagePredictionsItem.js +46 -0
- package/dist/serialization/types/ModelsSuccessProsodyPredictionsItem.d.ts +13 -0
- package/dist/serialization/types/ModelsSuccessProsodyPredictionsItem.js +43 -0
- package/dist/serialization/types/ModelsWarning.d.ts +13 -0
- package/dist/serialization/types/ModelsWarning.js +34 -0
- package/dist/serialization/types/Ner.d.ts +12 -0
- package/dist/serialization/types/Ner.js +33 -0
- package/dist/serialization/types/NerPrediction.d.ts +21 -0
- package/dist/serialization/types/NerPrediction.js +51 -0
- package/dist/serialization/types/Null.d.ts +10 -0
- package/dist/serialization/types/Null.js +31 -0
- package/dist/serialization/types/PositionInterval.d.ts +13 -0
- package/dist/serialization/types/PositionInterval.js +34 -0
- package/dist/serialization/types/Prediction.d.ts +13 -0
- package/dist/serialization/types/Prediction.js +43 -0
- package/dist/serialization/types/PredictionsOptionalNullBurstPrediction.d.ts +13 -0
- package/dist/serialization/types/PredictionsOptionalNullBurstPrediction.js +43 -0
- package/dist/serialization/types/PredictionsOptionalNullFacePrediction.d.ts +13 -0
- package/dist/serialization/types/PredictionsOptionalNullFacePrediction.js +43 -0
- package/dist/serialization/types/PredictionsOptionalNullFacemeshPrediction.d.ts +13 -0
- package/dist/serialization/types/PredictionsOptionalNullFacemeshPrediction.js +43 -0
- package/dist/serialization/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.d.ts +13 -0
- package/dist/serialization/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +43 -0
- package/dist/serialization/types/PredictionsOptionalTranscriptionMetadataNerPrediction.d.ts +13 -0
- package/dist/serialization/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +43 -0
- package/dist/serialization/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.d.ts +13 -0
- package/dist/serialization/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +43 -0
- package/dist/serialization/types/Prosody.d.ts +14 -0
- package/dist/serialization/types/Prosody.js +44 -0
- package/dist/serialization/types/ProsodyPrediction.d.ts +16 -0
- package/dist/serialization/types/ProsodyPrediction.js +46 -0
- package/dist/serialization/types/ProsodyResponse.d.ts +12 -0
- package/dist/serialization/types/ProsodyResponse.js +44 -0
- package/dist/serialization/types/Queued.d.ts +12 -0
- package/dist/serialization/types/Queued.js +33 -0
- package/dist/serialization/types/Request.d.ts +17 -0
- package/dist/serialization/types/Request.js +47 -0
- package/dist/serialization/types/Results.d.ts +13 -0
- package/dist/serialization/types/Results.js +43 -0
- package/dist/serialization/types/Sentiment.d.ts +10 -0
- package/dist/serialization/types/Sentiment.js +40 -0
- package/dist/serialization/types/SentimentItem.d.ts +13 -0
- package/dist/serialization/types/SentimentItem.js +34 -0
- package/dist/serialization/types/SentimentScore.d.ts +13 -0
- package/dist/serialization/types/SentimentScore.js +34 -0
- package/dist/serialization/types/SortBy.d.ts +10 -0
- package/dist/serialization/types/SortBy.js +35 -0
- package/dist/serialization/types/Source.d.ts +16 -0
- package/dist/serialization/types/Source.js +48 -0
- package/dist/serialization/types/SourceFile.d.ts +10 -0
- package/dist/serialization/types/SourceFile.js +40 -0
- package/dist/serialization/types/SourceResult.d.ts +14 -0
- package/dist/serialization/types/SourceResult.js +44 -0
- package/dist/serialization/types/SourceUrl.d.ts +10 -0
- package/dist/serialization/types/SourceUrl.js +40 -0
- package/dist/serialization/types/State.d.ts +22 -0
- package/dist/serialization/types/State.js +50 -0
- package/dist/serialization/types/StateCompleted.d.ts +10 -0
- package/dist/serialization/types/StateCompleted.js +40 -0
- package/dist/serialization/types/StateFailed.d.ts +10 -0
- package/dist/serialization/types/StateFailed.js +40 -0
- package/dist/serialization/types/StateInProgress.d.ts +10 -0
- package/dist/serialization/types/StateInProgress.js +40 -0
- package/dist/serialization/types/StateQueued.d.ts +10 -0
- package/dist/serialization/types/StateQueued.js +40 -0
- package/dist/serialization/types/Status.d.ts +10 -0
- package/dist/serialization/types/Status.js +36 -0
- package/dist/serialization/types/TextPosition.d.ts +13 -0
- package/dist/serialization/types/TextPosition.js +34 -0
- package/dist/serialization/types/TimeInterval.d.ts +13 -0
- package/dist/serialization/types/TimeInterval.js +34 -0
- package/dist/serialization/types/TimeRange.d.ts +13 -0
- package/dist/serialization/types/TimeRange.js +34 -0
- package/dist/serialization/types/Toxicity.d.ts +10 -0
- package/dist/serialization/types/Toxicity.js +40 -0
- package/dist/serialization/types/ToxicityItem.d.ts +13 -0
- package/dist/serialization/types/ToxicityItem.js +34 -0
- package/dist/serialization/types/ToxicityScore.d.ts +13 -0
- package/dist/serialization/types/ToxicityScore.js +34 -0
- package/dist/serialization/types/Transcription.d.ts +12 -0
- package/dist/serialization/types/Transcription.js +42 -0
- package/dist/serialization/types/TranscriptionMetadata.d.ts +13 -0
- package/dist/serialization/types/TranscriptionMetadata.js +43 -0
- package/dist/serialization/types/Url.d.ts +12 -0
- package/dist/serialization/types/Url.js +33 -0
- package/dist/serialization/types/When.d.ts +10 -0
- package/dist/serialization/types/When.js +34 -0
- package/dist/serialization/types/Window.d.ts +13 -0
- package/dist/serialization/types/Window.js +34 -0
- package/dist/serialization/types/index.d.ts +89 -0
- package/dist/serialization/types/index.js +105 -0
- package/dist/wrapper/HumeBatchClient.d.ts +6 -0
- package/dist/wrapper/HumeBatchClient.js +26 -0
- package/dist/wrapper/HumeStreamingClient.d.ts +23 -0
- package/dist/wrapper/HumeStreamingClient.js +125 -0
- package/dist/wrapper/Job.d.ts +8 -0
- package/dist/wrapper/Job.js +87 -0
- package/dist/wrapper/StreamSocket.d.ts +83 -0
- package/dist/wrapper/StreamSocket.js +114 -0
- package/environments.d.ts +7 -0
- package/environments.js +9 -0
- package/errors/HumeError.d.ts +12 -0
- package/errors/HumeError.js +32 -0
- package/errors/HumeTimeoutError.d.ts +6 -0
- package/errors/HumeTimeoutError.js +13 -0
- package/errors/index.d.ts +2 -0
- package/errors/index.js +7 -0
- package/index.d.ts +6 -0
- package/index.js +38 -0
- package/package.json +26 -41
- package/serialization/client/getJobPredictions.d.ts +10 -0
- package/serialization/client/getJobPredictions.js +40 -0
- package/serialization/client/index.d.ts +3 -0
- package/serialization/client/index.js +32 -0
- package/serialization/client/listJobs.d.ts +10 -0
- package/serialization/client/listJobs.js +40 -0
- package/serialization/client/requests/BaseRequest.d.ts +16 -0
- package/serialization/client/requests/BaseRequest.js +46 -0
- package/serialization/client/requests/index.d.ts +1 -0
- package/serialization/client/requests/index.js +5 -0
- package/serialization/index.d.ts +2 -0
- package/serialization/index.js +18 -0
- package/serialization/types/Bcp47Tag.d.ts +10 -0
- package/serialization/types/Bcp47Tag.js +61 -0
- package/serialization/types/BoundingBox.d.ts +15 -0
- package/serialization/types/BoundingBox.js +36 -0
- package/serialization/types/BurstPrediction.d.ts +14 -0
- package/serialization/types/BurstPrediction.js +44 -0
- package/serialization/types/BurstResponse.d.ts +12 -0
- package/serialization/types/BurstResponse.js +44 -0
- package/serialization/types/Completed.d.ts +16 -0
- package/serialization/types/Completed.js +37 -0
- package/serialization/types/DescriptionsScore.d.ts +13 -0
- package/serialization/types/DescriptionsScore.js +34 -0
- package/serialization/types/Direction.d.ts +10 -0
- package/serialization/types/Direction.js +31 -0
- package/serialization/types/EmotionEmbedding.d.ts +10 -0
- package/serialization/types/EmotionEmbedding.js +40 -0
- package/serialization/types/EmotionEmbeddingItem.d.ts +13 -0
- package/serialization/types/EmotionEmbeddingItem.js +34 -0
- package/serialization/types/EmotionScore.d.ts +13 -0
- package/serialization/types/EmotionScore.js +34 -0
- package/serialization/types/Empty.d.ts +10 -0
- package/serialization/types/Empty.js +31 -0
- package/serialization/types/Error_.d.ts +13 -0
- package/serialization/types/Error_.js +34 -0
- package/serialization/types/Face.d.ts +18 -0
- package/serialization/types/Face.js +48 -0
- package/serialization/types/FaceModelConfig.d.ts +17 -0
- package/serialization/types/FaceModelConfig.js +38 -0
- package/serialization/types/FacePrediction.d.ts +18 -0
- package/serialization/types/FacePrediction.js +52 -0
- package/serialization/types/FaceResponse.d.ts +12 -0
- package/serialization/types/FaceResponse.js +44 -0
- package/serialization/types/FacemeshPrediction.d.ts +12 -0
- package/serialization/types/FacemeshPrediction.js +42 -0
- package/serialization/types/FacemeshResponse.d.ts +12 -0
- package/serialization/types/FacemeshResponse.js +44 -0
- package/serialization/types/FacsScore.d.ts +13 -0
- package/serialization/types/FacsScore.js +34 -0
- package/serialization/types/Failed.d.ts +15 -0
- package/serialization/types/Failed.js +36 -0
- package/serialization/types/File_.d.ts +14 -0
- package/serialization/types/File_.js +35 -0
- package/serialization/types/Granularity.d.ts +10 -0
- package/serialization/types/Granularity.js +31 -0
- package/serialization/types/GroupedPredictionsBurstPrediction.d.ts +13 -0
- package/serialization/types/GroupedPredictionsBurstPrediction.js +43 -0
- package/serialization/types/GroupedPredictionsFacePrediction.d.ts +13 -0
- package/serialization/types/GroupedPredictionsFacePrediction.js +43 -0
- package/serialization/types/GroupedPredictionsFacemeshPrediction.d.ts +13 -0
- package/serialization/types/GroupedPredictionsFacemeshPrediction.js +43 -0
- package/serialization/types/GroupedPredictionsLanguagePrediction.d.ts +13 -0
- package/serialization/types/GroupedPredictionsLanguagePrediction.js +43 -0
- package/serialization/types/GroupedPredictionsNerPrediction.d.ts +13 -0
- package/serialization/types/GroupedPredictionsNerPrediction.js +43 -0
- package/serialization/types/GroupedPredictionsProsodyPrediction.d.ts +13 -0
- package/serialization/types/GroupedPredictionsProsodyPrediction.js +43 -0
- package/serialization/types/InProgress.d.ts +13 -0
- package/serialization/types/InProgress.js +34 -0
- package/serialization/types/JobId.d.ts +12 -0
- package/serialization/types/JobId.js +33 -0
- package/serialization/types/JobRequest.d.ts +15 -0
- package/serialization/types/JobRequest.js +45 -0
- package/serialization/types/Language.d.ts +15 -0
- package/serialization/types/Language.js +45 -0
- package/serialization/types/LanguageConfig.d.ts +14 -0
- package/serialization/types/LanguageConfig.js +35 -0
- package/serialization/types/LanguagePrediction.d.ts +19 -0
- package/serialization/types/LanguagePrediction.js +53 -0
- package/serialization/types/LanguageResponse.d.ts +12 -0
- package/serialization/types/LanguageResponse.js +44 -0
- package/serialization/types/ModelConfig.d.ts +16 -0
- package/serialization/types/ModelConfig.js +46 -0
- package/serialization/types/ModelResponse.d.ts +16 -0
- package/serialization/types/ModelResponse.js +46 -0
- package/serialization/types/Models.d.ts +17 -0
- package/serialization/types/Models.js +47 -0
- package/serialization/types/ModelsError.d.ts +13 -0
- package/serialization/types/ModelsError.js +34 -0
- package/serialization/types/ModelsInput.d.ts +18 -0
- package/serialization/types/ModelsInput.js +48 -0
- package/serialization/types/ModelsPredictions.d.ts +17 -0
- package/serialization/types/ModelsPredictions.js +59 -0
- package/serialization/types/ModelsSuccessBurstPredictionsItem.d.ts +13 -0
- package/serialization/types/ModelsSuccessBurstPredictionsItem.js +43 -0
- package/serialization/types/ModelsSuccessFacePredictionsItem.d.ts +19 -0
- package/serialization/types/ModelsSuccessFacePredictionsItem.js +49 -0
- package/serialization/types/ModelsSuccessFacemeshPredictionsItem.d.ts +12 -0
- package/serialization/types/ModelsSuccessFacemeshPredictionsItem.js +42 -0
- package/serialization/types/ModelsSuccessLanguagePredictionsItem.d.ts +16 -0
- package/serialization/types/ModelsSuccessLanguagePredictionsItem.js +46 -0
- package/serialization/types/ModelsSuccessProsodyPredictionsItem.d.ts +13 -0
- package/serialization/types/ModelsSuccessProsodyPredictionsItem.js +43 -0
- package/serialization/types/ModelsWarning.d.ts +13 -0
- package/serialization/types/ModelsWarning.js +34 -0
- package/serialization/types/Ner.d.ts +12 -0
- package/serialization/types/Ner.js +33 -0
- package/serialization/types/NerPrediction.d.ts +21 -0
- package/serialization/types/NerPrediction.js +51 -0
- package/serialization/types/Null.d.ts +10 -0
- package/serialization/types/Null.js +31 -0
- package/serialization/types/PositionInterval.d.ts +13 -0
- package/serialization/types/PositionInterval.js +34 -0
- package/serialization/types/Prediction.d.ts +13 -0
- package/serialization/types/Prediction.js +43 -0
- package/serialization/types/PredictionsOptionalNullBurstPrediction.d.ts +13 -0
- package/serialization/types/PredictionsOptionalNullBurstPrediction.js +43 -0
- package/serialization/types/PredictionsOptionalNullFacePrediction.d.ts +13 -0
- package/serialization/types/PredictionsOptionalNullFacePrediction.js +43 -0
- package/serialization/types/PredictionsOptionalNullFacemeshPrediction.d.ts +13 -0
- package/serialization/types/PredictionsOptionalNullFacemeshPrediction.js +43 -0
- package/serialization/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.d.ts +13 -0
- package/serialization/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.js +43 -0
- package/serialization/types/PredictionsOptionalTranscriptionMetadataNerPrediction.d.ts +13 -0
- package/serialization/types/PredictionsOptionalTranscriptionMetadataNerPrediction.js +43 -0
- package/serialization/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.d.ts +13 -0
- package/serialization/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.js +43 -0
- package/serialization/types/Prosody.d.ts +14 -0
- package/serialization/types/Prosody.js +44 -0
- package/serialization/types/ProsodyPrediction.d.ts +16 -0
- package/serialization/types/ProsodyPrediction.js +46 -0
- package/serialization/types/ProsodyResponse.d.ts +12 -0
- package/serialization/types/ProsodyResponse.js +44 -0
- package/serialization/types/Queued.d.ts +12 -0
- package/serialization/types/Queued.js +33 -0
- package/serialization/types/Request.d.ts +17 -0
- package/serialization/types/Request.js +47 -0
- package/serialization/types/Results.d.ts +13 -0
- package/serialization/types/Results.js +43 -0
- package/serialization/types/Sentiment.d.ts +10 -0
- package/serialization/types/Sentiment.js +40 -0
- package/serialization/types/SentimentItem.d.ts +13 -0
- package/serialization/types/SentimentItem.js +34 -0
- package/serialization/types/SentimentScore.d.ts +13 -0
- package/serialization/types/SentimentScore.js +34 -0
- package/serialization/types/SortBy.d.ts +10 -0
- package/serialization/types/SortBy.js +35 -0
- package/serialization/types/Source.d.ts +16 -0
- package/serialization/types/Source.js +48 -0
- package/serialization/types/SourceFile.d.ts +10 -0
- package/serialization/types/SourceFile.js +40 -0
- package/serialization/types/SourceResult.d.ts +14 -0
- package/serialization/types/SourceResult.js +44 -0
- package/serialization/types/SourceUrl.d.ts +10 -0
- package/serialization/types/SourceUrl.js +40 -0
- package/serialization/types/State.d.ts +22 -0
- package/serialization/types/State.js +50 -0
- package/serialization/types/StateCompleted.d.ts +10 -0
- package/serialization/types/StateCompleted.js +40 -0
- package/serialization/types/StateFailed.d.ts +10 -0
- package/serialization/types/StateFailed.js +40 -0
- package/serialization/types/StateInProgress.d.ts +10 -0
- package/serialization/types/StateInProgress.js +40 -0
- package/serialization/types/StateQueued.d.ts +10 -0
- package/serialization/types/StateQueued.js +40 -0
- package/serialization/types/Status.d.ts +10 -0
- package/serialization/types/Status.js +36 -0
- package/serialization/types/TextPosition.d.ts +13 -0
- package/serialization/types/TextPosition.js +34 -0
- package/serialization/types/TimeInterval.d.ts +13 -0
- package/serialization/types/TimeInterval.js +34 -0
- package/serialization/types/TimeRange.d.ts +13 -0
- package/serialization/types/TimeRange.js +34 -0
- package/serialization/types/Toxicity.d.ts +10 -0
- package/serialization/types/Toxicity.js +40 -0
- package/serialization/types/ToxicityItem.d.ts +13 -0
- package/serialization/types/ToxicityItem.js +34 -0
- package/serialization/types/ToxicityScore.d.ts +13 -0
- package/serialization/types/ToxicityScore.js +34 -0
- package/serialization/types/Transcription.d.ts +12 -0
- package/serialization/types/Transcription.js +42 -0
- package/serialization/types/TranscriptionMetadata.d.ts +13 -0
- package/serialization/types/TranscriptionMetadata.js +43 -0
- package/serialization/types/Url.d.ts +12 -0
- package/serialization/types/Url.js +33 -0
- package/serialization/types/When.d.ts +10 -0
- package/serialization/types/When.js +34 -0
- package/serialization/types/Window.d.ts +13 -0
- package/serialization/types/Window.js +34 -0
- package/serialization/types/index.d.ts +89 -0
- package/serialization/types/index.js +105 -0
- package/wrapper/HumeBatchClient.d.ts +6 -0
- package/wrapper/HumeBatchClient.js +26 -0
- package/wrapper/HumeStreamingClient.d.ts +23 -0
- package/wrapper/HumeStreamingClient.js +125 -0
- package/wrapper/Job.d.ts +8 -0
- package/wrapper/Job.js +87 -0
- package/wrapper/StreamSocket.d.ts +83 -0
- package/wrapper/StreamSocket.js +114 -0
- package/postcss.config.js +0 -7
- package/src/components/HumeWidget.tsx +0 -37
- package/src/index.ts +0 -3
- package/tailwind.config.js +0 -8
- package/tsconfig.json +0 -23
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ModelResponse = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ModelResponse = core.serialization.object({
|
|
41
|
+
burst: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).BurstResponse; })).optional(),
|
|
42
|
+
face: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FaceResponse; })).optional(),
|
|
43
|
+
facemesh: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FacemeshResponse; })).optional(),
|
|
44
|
+
language: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).LanguageResponse; })).optional(),
|
|
45
|
+
prosody: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ProsodyResponse; })).optional(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Hume from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const Models: core.serialization.ObjectSchema<serializers.Models.Raw, Hume.Models>;
|
|
8
|
+
export declare namespace Models {
|
|
9
|
+
interface Raw {
|
|
10
|
+
face?: serializers.Face.Raw | null;
|
|
11
|
+
burst?: serializers.Empty.Raw | null;
|
|
12
|
+
prosody?: serializers.Prosody.Raw | null;
|
|
13
|
+
language?: serializers.Language.Raw | null;
|
|
14
|
+
ner?: serializers.Ner.Raw | null;
|
|
15
|
+
facemesh?: serializers.Empty.Raw | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.Models = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.Models = core.serialization.object({
|
|
41
|
+
face: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Face; })).optional(),
|
|
42
|
+
burst: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Empty; })).optional(),
|
|
43
|
+
prosody: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Prosody; })).optional(),
|
|
44
|
+
language: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Language; })).optional(),
|
|
45
|
+
ner: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Ner; })).optional(),
|
|
46
|
+
facemesh: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Empty; })).optional(),
|
|
47
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Hume from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelsError: core.serialization.ObjectSchema<serializers.ModelsError.Raw, Hume.ModelsError>;
|
|
8
|
+
export declare namespace ModelsError {
|
|
9
|
+
interface Raw {
|
|
10
|
+
error?: string | null;
|
|
11
|
+
code?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ModelsError = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ModelsError = core.serialization.object({
|
|
32
|
+
error: core.serialization.string().optional(),
|
|
33
|
+
code: core.serialization.string().optional(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Hume from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelsInput: core.serialization.ObjectSchema<serializers.ModelsInput.Raw, Hume.ModelsInput>;
|
|
8
|
+
export declare namespace ModelsInput {
|
|
9
|
+
interface Raw {
|
|
10
|
+
data?: string | null;
|
|
11
|
+
models?: serializers.ModelConfig.Raw | null;
|
|
12
|
+
stream_window_ms?: number | null;
|
|
13
|
+
reset_stream?: boolean | null;
|
|
14
|
+
raw_text?: boolean | null;
|
|
15
|
+
job_details?: boolean | null;
|
|
16
|
+
payload_id?: string | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ModelsInput = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ModelsInput = core.serialization.object({
|
|
41
|
+
data: core.serialization.string().optional(),
|
|
42
|
+
models: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ModelConfig; })).optional(),
|
|
43
|
+
streamWindowMs: core.serialization.property("stream_window_ms", core.serialization.number().optional()),
|
|
44
|
+
resetStream: core.serialization.property("reset_stream", core.serialization.boolean().optional()),
|
|
45
|
+
rawText: core.serialization.property("raw_text", core.serialization.boolean().optional()),
|
|
46
|
+
jobDetails: core.serialization.property("job_details", core.serialization.boolean().optional()),
|
|
47
|
+
payloadId: core.serialization.property("payload_id", core.serialization.string().optional()),
|
|
48
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Hume from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelsPredictions: core.serialization.ObjectSchema<serializers.ModelsPredictions.Raw, Hume.ModelsPredictions>;
|
|
8
|
+
export declare namespace ModelsPredictions {
|
|
9
|
+
interface Raw {
|
|
10
|
+
face?: serializers.PredictionsOptionalNullFacePrediction.Raw | null;
|
|
11
|
+
burst?: serializers.PredictionsOptionalNullBurstPrediction.Raw | null;
|
|
12
|
+
prosody?: serializers.PredictionsOptionalTranscriptionMetadataProsodyPrediction.Raw | null;
|
|
13
|
+
language?: serializers.PredictionsOptionalTranscriptionMetadataLanguagePrediction.Raw | null;
|
|
14
|
+
ner?: serializers.PredictionsOptionalTranscriptionMetadataNerPrediction.Raw | null;
|
|
15
|
+
facemesh?: serializers.PredictionsOptionalNullFacemeshPrediction.Raw | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ModelsPredictions = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ModelsPredictions = core.serialization.object({
|
|
41
|
+
face: core.serialization
|
|
42
|
+
.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PredictionsOptionalNullFacePrediction; }))
|
|
43
|
+
.optional(),
|
|
44
|
+
burst: core.serialization
|
|
45
|
+
.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PredictionsOptionalNullBurstPrediction; }))
|
|
46
|
+
.optional(),
|
|
47
|
+
prosody: core.serialization
|
|
48
|
+
.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PredictionsOptionalTranscriptionMetadataProsodyPrediction; }))
|
|
49
|
+
.optional(),
|
|
50
|
+
language: core.serialization
|
|
51
|
+
.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PredictionsOptionalTranscriptionMetadataLanguagePrediction; }))
|
|
52
|
+
.optional(),
|
|
53
|
+
ner: core.serialization
|
|
54
|
+
.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PredictionsOptionalTranscriptionMetadataNerPrediction; }))
|
|
55
|
+
.optional(),
|
|
56
|
+
facemesh: core.serialization
|
|
57
|
+
.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PredictionsOptionalNullFacemeshPrediction; }))
|
|
58
|
+
.optional(),
|
|
59
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Hume from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelsSuccessBurstPredictionsItem: core.serialization.ObjectSchema<serializers.ModelsSuccessBurstPredictionsItem.Raw, Hume.ModelsSuccessBurstPredictionsItem>;
|
|
8
|
+
export declare namespace ModelsSuccessBurstPredictionsItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
time?: serializers.TimeRange.Raw | null;
|
|
11
|
+
emotions?: serializers.EmotionEmbedding.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ModelsSuccessBurstPredictionsItem = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ModelsSuccessBurstPredictionsItem = core.serialization.object({
|
|
41
|
+
time: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TimeRange; })).optional(),
|
|
42
|
+
emotions: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EmotionEmbedding; })).optional(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Hume from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelsSuccessFacePredictionsItem: core.serialization.ObjectSchema<serializers.ModelsSuccessFacePredictionsItem.Raw, Hume.ModelsSuccessFacePredictionsItem>;
|
|
8
|
+
export declare namespace ModelsSuccessFacePredictionsItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
frame?: number | null;
|
|
11
|
+
time?: number | null;
|
|
12
|
+
bbox?: serializers.BoundingBox.Raw | null;
|
|
13
|
+
prob?: number | null;
|
|
14
|
+
face_id?: string | null;
|
|
15
|
+
emotions?: serializers.EmotionEmbedding.Raw | null;
|
|
16
|
+
facs?: serializers.EmotionEmbedding.Raw | null;
|
|
17
|
+
descriptions?: serializers.EmotionEmbedding.Raw | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ModelsSuccessFacePredictionsItem = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ModelsSuccessFacePredictionsItem = core.serialization.object({
|
|
41
|
+
frame: core.serialization.number().optional(),
|
|
42
|
+
time: core.serialization.number().optional(),
|
|
43
|
+
bbox: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).BoundingBox; })).optional(),
|
|
44
|
+
prob: core.serialization.number().optional(),
|
|
45
|
+
faceId: core.serialization.property("face_id", core.serialization.string().optional()),
|
|
46
|
+
emotions: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EmotionEmbedding; })).optional(),
|
|
47
|
+
facs: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EmotionEmbedding; })).optional(),
|
|
48
|
+
descriptions: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EmotionEmbedding; })).optional(),
|
|
49
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Hume from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelsSuccessFacemeshPredictionsItem: core.serialization.ObjectSchema<serializers.ModelsSuccessFacemeshPredictionsItem.Raw, Hume.ModelsSuccessFacemeshPredictionsItem>;
|
|
8
|
+
export declare namespace ModelsSuccessFacemeshPredictionsItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
emotions?: serializers.EmotionEmbedding.Raw | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ModelsSuccessFacemeshPredictionsItem = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ModelsSuccessFacemeshPredictionsItem = core.serialization.object({
|
|
41
|
+
emotions: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EmotionEmbedding; })).optional(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Hume from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelsSuccessLanguagePredictionsItem: core.serialization.ObjectSchema<serializers.ModelsSuccessLanguagePredictionsItem.Raw, Hume.ModelsSuccessLanguagePredictionsItem>;
|
|
8
|
+
export declare namespace ModelsSuccessLanguagePredictionsItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
text?: string | null;
|
|
11
|
+
position?: serializers.TextPosition.Raw | null;
|
|
12
|
+
emotions?: serializers.EmotionEmbedding.Raw | null;
|
|
13
|
+
sentiment?: serializers.Sentiment.Raw | null;
|
|
14
|
+
toxicity?: serializers.Toxicity.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ModelsSuccessLanguagePredictionsItem = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ModelsSuccessLanguagePredictionsItem = core.serialization.object({
|
|
41
|
+
text: core.serialization.string().optional(),
|
|
42
|
+
position: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TextPosition; })).optional(),
|
|
43
|
+
emotions: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EmotionEmbedding; })).optional(),
|
|
44
|
+
sentiment: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Sentiment; })).optional(),
|
|
45
|
+
toxicity: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Toxicity; })).optional(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Hume from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelsSuccessProsodyPredictionsItem: core.serialization.ObjectSchema<serializers.ModelsSuccessProsodyPredictionsItem.Raw, Hume.ModelsSuccessProsodyPredictionsItem>;
|
|
8
|
+
export declare namespace ModelsSuccessProsodyPredictionsItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
time?: serializers.TimeRange.Raw | null;
|
|
11
|
+
emotions?: serializers.EmotionEmbedding.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ModelsSuccessProsodyPredictionsItem = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ModelsSuccessProsodyPredictionsItem = core.serialization.object({
|
|
41
|
+
time: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TimeRange; })).optional(),
|
|
42
|
+
emotions: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EmotionEmbedding; })).optional(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Hume from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelsWarning: core.serialization.ObjectSchema<serializers.ModelsWarning.Raw, Hume.ModelsWarning>;
|
|
8
|
+
export declare namespace ModelsWarning {
|
|
9
|
+
interface Raw {
|
|
10
|
+
warning?: string | null;
|
|
11
|
+
code?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|