@sync.so/sdk 0.4.0 → 0.5.0
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 +3 -0
- package/Client.js +27 -22
- package/api/resources/account/client/Client.d.ts +19 -1
- package/api/resources/account/client/Client.js +79 -5
- package/api/resources/account/client/index.d.ts +1 -1
- package/api/resources/account/client/index.js +15 -0
- package/api/resources/account/client/requests/GetAccountRequest.d.ts +13 -0
- package/api/resources/account/client/requests/GetAccountRequest.js +5 -0
- package/api/resources/account/client/requests/ListAccountOrganizationsRequest.d.ts +13 -0
- package/api/resources/account/client/requests/ListAccountOrganizationsRequest.js +5 -0
- package/api/resources/account/client/requests/index.d.ts +2 -0
- package/api/resources/account/client/requests/index.js +2 -0
- package/api/resources/account/types/AccountActiveJobs.d.ts +1 -1
- package/api/resources/account/types/AccountCredits.d.ts +1 -1
- package/api/resources/account/types/AccountFreeAllowance.d.ts +2 -2
- package/api/resources/account/types/AccountOrganizationListItem.d.ts +9 -0
- package/api/resources/account/types/AccountOrganizationListItem.js +5 -0
- package/api/resources/account/types/AccountOrganizations.d.ts +7 -0
- package/api/resources/account/types/AccountOrganizations.js +5 -0
- package/api/resources/account/types/AccountOverview.d.ts +5 -1
- package/api/resources/account/types/index.d.ts +2 -0
- package/api/resources/account/types/index.js +2 -0
- package/api/resources/assets/client/Client.d.ts +71 -1
- package/api/resources/assets/client/Client.js +312 -8
- package/api/resources/assets/client/requests/CountAssetsRequest.d.ts +30 -0
- package/api/resources/assets/client/requests/CountAssetsRequest.js +5 -0
- package/api/resources/assets/client/requests/FindUploadedAssetRequest.d.ts +18 -0
- package/api/resources/assets/client/requests/FindUploadedAssetRequest.js +5 -0
- package/api/resources/assets/client/requests/ListAssetsRequest.d.ts +5 -1
- package/api/resources/assets/client/requests/index.d.ts +2 -0
- package/api/resources/audioTrims/client/Client.d.ts +72 -0
- package/api/resources/audioTrims/client/Client.js +217 -0
- package/api/resources/audioTrims/client/index.d.ts +1 -0
- package/api/resources/audioTrims/client/index.js +17 -0
- package/api/resources/audioTrims/client/requests/CreateAudioTrimRequest.d.ts +21 -0
- package/api/resources/audioTrims/client/requests/CreateAudioTrimRequest.js +5 -0
- package/api/resources/audioTrims/client/requests/index.d.ts +1 -0
- package/api/resources/audioTrims/client/requests/index.js +2 -0
- package/api/resources/audioTrims/index.d.ts +1 -0
- package/api/resources/audioTrims/index.js +17 -0
- package/api/resources/batch/client/Client.d.ts +6 -2
- package/api/resources/batch/client/Client.js +18 -6
- package/api/resources/batch/client/requests/CreateBatchFromRowsRequest.d.ts +3 -3
- package/api/resources/batch/client/requests/CreateBatchRequest.d.ts +2 -2
- package/api/resources/common/errors/AudioTrimTooManyRequestsError.d.ts +9 -0
- package/api/resources/common/errors/AudioTrimTooManyRequestsError.js +52 -0
- package/api/resources/common/errors/LinkImportInProgressError.d.ts +9 -0
- package/api/resources/common/errors/LinkImportInProgressError.js +52 -0
- package/api/resources/common/errors/LinkImportTooManyRequestsError.d.ts +9 -0
- package/api/resources/common/errors/LinkImportTooManyRequestsError.js +52 -0
- package/api/resources/common/errors/SpeakerAnalysisTooManyRequestsError.d.ts +9 -0
- package/api/resources/common/errors/SpeakerAnalysisTooManyRequestsError.js +52 -0
- package/api/resources/common/errors/index.d.ts +4 -0
- package/api/resources/common/errors/index.js +4 -0
- package/api/resources/common/types/ActiveSpeaker.d.ts +3 -3
- package/api/resources/common/types/AnalyzeSpeakersRequest.d.ts +14 -0
- package/api/resources/common/types/AnalyzeSpeakersRequest.js +5 -0
- package/api/resources/common/types/AssetAudioSource.d.ts +17 -0
- package/api/resources/common/types/AssetAudioSource.js +10 -0
- package/api/resources/common/types/AssetIds.d.ts +4 -0
- package/api/resources/common/types/AssetIds.js +5 -0
- package/api/resources/common/types/Audio.d.ts +2 -2
- package/api/resources/common/types/AudioTrim.d.ts +20 -0
- package/api/resources/common/types/AudioTrim.js +5 -0
- package/api/resources/common/types/AudioTrimStatus.d.ts +13 -0
- package/api/resources/common/types/AudioTrimStatus.js +12 -0
- package/api/resources/common/types/BatchConcurrencyError.d.ts +2 -4
- package/api/resources/common/types/BatchGetAssetsRequest.d.ts +8 -0
- package/api/resources/common/types/BatchGetAssetsRequest.js +5 -0
- package/api/resources/common/types/CreateAssetRequest.d.ts +3 -1
- package/api/resources/common/types/CreateAssetUploadRequest.d.ts +1 -1
- package/api/resources/common/types/CreateAudioTrimDto.d.ts +16 -0
- package/api/resources/common/types/CreateAudioTrimDto.js +5 -0
- package/api/resources/common/types/CreateDialogueEditDto.d.ts +2 -2
- package/api/resources/common/types/CreateGenerationDto.d.ts +3 -3
- package/api/resources/common/types/CreateProjectRequest.d.ts +1 -1
- package/api/resources/common/types/CreateTranscriptionDto.d.ts +2 -2
- package/api/resources/common/types/DialogueEditChange.d.ts +1 -1
- package/api/resources/common/types/DialogueEditError.d.ts +5 -1
- package/api/resources/common/types/DialogueEditErrorCode.d.ts +4 -2
- package/api/resources/common/types/DialogueEditErrorCode.js +2 -0
- package/api/resources/common/types/DialogueEditFailedSlot.d.ts +3 -0
- package/api/resources/common/types/DialogueEditJob.d.ts +2 -2
- package/api/resources/common/types/DubDto.d.ts +6 -0
- package/api/resources/common/types/DubLanguage.d.ts +23 -3
- package/api/resources/common/types/DubLanguage.js +17 -0
- package/api/resources/common/types/DubSourceLanguage.d.ts +24 -4
- package/api/resources/common/types/DubSourceLanguage.js +17 -0
- package/api/resources/common/types/EstimateCostRequest.d.ts +1 -1
- package/api/resources/common/types/FindUploadedAssetResponse.d.ts +8 -0
- package/api/resources/common/types/FindUploadedAssetResponse.js +5 -0
- package/api/resources/common/types/Generation.d.ts +9 -5
- package/api/resources/common/types/GenerationCount.d.ts +6 -0
- package/api/resources/common/types/GenerationCount.js +5 -0
- package/api/resources/common/types/GenerationCountType.d.ts +8 -0
- package/api/resources/common/types/GenerationCountType.js +10 -0
- package/api/resources/common/types/GenerationError.d.ts +4 -0
- package/api/resources/common/types/GenerationOptions.d.ts +3 -3
- package/api/resources/common/types/GenerationProgress.d.ts +24 -0
- package/api/resources/common/types/GenerationProgress.js +5 -0
- package/api/resources/common/types/GenerationProgressStage.d.ts +13 -0
- package/api/resources/common/types/GenerationProgressStage.js +12 -0
- package/api/resources/common/types/GenerationSource.d.ts +17 -0
- package/api/resources/common/types/GenerationSource.js +19 -0
- package/api/resources/common/types/GenerationStatus.d.ts +3 -2
- package/api/resources/common/types/GenerationStatus.js +1 -0
- package/api/resources/common/types/Image.d.ts +1 -1
- package/api/resources/common/types/LinkImportError.d.ts +33 -0
- package/api/resources/common/types/LinkImportError.js +5 -0
- package/api/resources/common/types/LinkImportStatus.d.ts +14 -0
- package/api/resources/common/types/LinkImportStatus.js +13 -0
- package/api/resources/common/types/ProjectGenerationError.d.ts +3 -0
- package/api/resources/common/types/ProjectGenerationErrorReason.d.ts +7 -0
- package/api/resources/common/types/ProjectGenerationErrorReason.js +9 -0
- package/api/resources/common/types/SliceSpeakerFaceTrackRequest.d.ts +21 -0
- package/api/resources/common/types/SliceSpeakerFaceTrackRequest.js +5 -0
- package/api/resources/common/types/SpeakerAnalysis.d.ts +26 -0
- package/api/resources/common/types/SpeakerAnalysis.js +5 -0
- package/api/resources/common/types/SpeakerAnalysisSpeaker.d.ts +21 -0
- package/api/resources/common/types/SpeakerAnalysisSpeaker.js +5 -0
- package/api/resources/common/types/SpeakerAnalysisStatus.d.ts +12 -0
- package/api/resources/common/types/SpeakerAnalysisStatus.js +11 -0
- package/api/resources/common/types/SpeakerAvatar.d.ts +16 -0
- package/api/resources/common/types/SpeakerAvatar.js +5 -0
- package/api/resources/common/types/SpeakerAvatarBox.d.ts +12 -0
- package/api/resources/common/types/SpeakerAvatarBox.js +5 -0
- package/api/resources/common/types/SpeakerFaceSupport.d.ts +17 -0
- package/api/resources/common/types/SpeakerFaceSupport.js +5 -0
- package/api/resources/common/types/SpeakerFaceSupportInterval.d.ts +9 -0
- package/api/resources/common/types/SpeakerFaceSupportInterval.js +5 -0
- package/api/resources/common/types/SpeakerFaceTrack.d.ts +18 -0
- package/api/resources/common/types/SpeakerFaceTrack.js +5 -0
- package/api/resources/common/types/SpeakerFaceTrackSlice.d.ts +7 -0
- package/api/resources/common/types/SpeakerFaceTrackSlice.js +5 -0
- package/api/resources/common/types/SpeakerFaceTrackSliceFrames.d.ts +9 -0
- package/api/resources/common/types/SpeakerFaceTrackSliceFrames.js +5 -0
- package/api/resources/common/types/SpeakerMatchEvidence.d.ts +16 -0
- package/api/resources/common/types/SpeakerMatchEvidence.js +5 -0
- package/api/resources/common/types/SpeakerMatchStatus.d.ts +11 -0
- package/api/resources/common/types/SpeakerMatchStatus.js +10 -0
- package/api/resources/common/types/Transcript.d.ts +2 -0
- package/api/resources/common/types/TranscriptSegment.d.ts +2 -0
- package/api/resources/common/types/TranscriptSpeaker.d.ts +13 -0
- package/api/resources/common/types/TranscriptSpeaker.js +5 -0
- package/api/resources/common/types/TranscriptSpeakerLabelFlag.d.ts +11 -0
- package/api/resources/common/types/TranscriptSpeakerLabelFlag.js +10 -0
- package/api/resources/common/types/TranscriptWord.d.ts +4 -0
- package/api/resources/common/types/TranscriptionJob.d.ts +5 -1
- package/api/resources/common/types/TranscriptionJobEstimate.d.ts +20 -0
- package/api/resources/common/types/TranscriptionJobEstimate.js +5 -0
- package/api/resources/common/types/Tts.d.ts +1 -1
- package/api/resources/common/types/UpdateProjectRequest.d.ts +1 -1
- package/api/resources/common/types/Video.d.ts +3 -3
- package/api/resources/common/types/index.d.ts +32 -0
- package/api/resources/common/types/index.js +32 -0
- package/api/resources/dialogueEdits/client/Client.d.ts +35 -31
- package/api/resources/dialogueEdits/client/Client.js +40 -33
- package/api/resources/dialogueEdits/client/index.d.ts +1 -1
- package/api/resources/dialogueEdits/client/index.js +15 -0
- package/api/resources/dialogueEdits/client/requests/CreateDialogueEditRequest.d.ts +46 -0
- package/api/resources/dialogueEdits/client/requests/CreateDialogueEditRequest.js +5 -0
- package/api/resources/dialogueEdits/client/requests/index.d.ts +1 -0
- package/api/resources/dialogueEdits/client/requests/index.js +2 -0
- package/api/resources/errors/client/Client.d.ts +1 -1
- package/api/resources/errors/client/Client.js +2 -2
- package/api/resources/feedback/client/Client.js +1 -1
- package/api/resources/generationCosts/index.d.ts +1 -0
- package/api/resources/generationCosts/index.js +17 -0
- package/api/resources/generationCosts/types/CostAvailability.d.ts +10 -0
- package/api/resources/generationCosts/types/CostAvailability.js +12 -0
- package/api/resources/generationCosts/types/CostComponent.d.ts +19 -0
- package/api/resources/generationCosts/types/CostComponent.js +5 -0
- package/api/resources/generationCosts/types/CostComponentStatus.d.ts +10 -0
- package/api/resources/generationCosts/types/CostComponentStatus.js +12 -0
- package/api/resources/generationCosts/types/CostComponentType.d.ts +9 -0
- package/api/resources/generationCosts/types/CostComponentType.js +11 -0
- package/api/resources/generationCosts/types/CostSource.d.ts +9 -0
- package/api/resources/generationCosts/types/CostSource.js +11 -0
- package/api/resources/generationCosts/types/CostUnit.d.ts +8 -0
- package/api/resources/generationCosts/types/CostUnit.js +10 -0
- package/api/resources/generationCosts/types/CostValueBasis.d.ts +9 -0
- package/api/resources/generationCosts/types/CostValueBasis.js +11 -0
- package/api/resources/generationCosts/types/GenerationCosts.d.ts +23 -0
- package/api/resources/generationCosts/types/GenerationCosts.js +5 -0
- package/api/resources/generationCosts/types/GenerationCostsApiKey.d.ts +10 -0
- package/api/resources/generationCosts/types/GenerationCostsApiKey.js +5 -0
- package/api/resources/generationCosts/types/GenerationCostsList.d.ts +12 -0
- package/api/resources/generationCosts/types/GenerationCostsList.js +5 -0
- package/api/resources/generationCosts/types/GenerationCostsListItem.d.ts +17 -0
- package/api/resources/generationCosts/types/GenerationCostsListItem.js +5 -0
- package/api/resources/generationCosts/types/index.d.ts +11 -0
- package/api/resources/generationCosts/types/index.js +27 -0
- package/api/resources/generations/client/Client.d.ts +58 -13
- package/api/resources/generations/client/Client.js +245 -21
- package/api/resources/generations/client/requests/CountGenerationsRequest.d.ts +30 -0
- package/api/resources/generations/client/requests/CountGenerationsRequest.js +5 -0
- package/api/resources/generations/client/requests/CreateGenerationRequest.d.ts +1 -1
- package/api/resources/generations/client/requests/GetGenerationRequest.d.ts +2 -2
- package/api/resources/generations/client/requests/ListGenerationCostsRequest.d.ts +29 -0
- package/api/resources/generations/client/requests/ListGenerationCostsRequest.js +5 -0
- package/api/resources/generations/client/requests/index.d.ts +2 -0
- package/api/resources/index.d.ts +6 -0
- package/api/resources/index.js +7 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +7 -7
- package/api/resources/projects/client/requests/ListProjectsRequest.d.ts +1 -1
- package/api/resources/transcriptions/client/Client.d.ts +66 -1
- package/api/resources/transcriptions/client/Client.js +236 -3
- package/api/resources/tts/client/Client.js +3 -3
- package/api/resources/voices/client/Client.d.ts +10 -6
- package/api/resources/voices/client/Client.js +22 -10
- package/api/resources/webhooks/types/GenerationNotification.d.ts +6 -2
- package/api/resources/webhooks/types/WebhookStatus.d.ts +2 -1
- package/api/resources/webhooks/types/WebhookStatus.js +1 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +27 -22
- package/dist/api/resources/account/client/Client.d.ts +19 -1
- package/dist/api/resources/account/client/Client.js +79 -5
- package/dist/api/resources/account/client/index.d.ts +1 -1
- package/dist/api/resources/account/client/index.js +15 -0
- package/dist/api/resources/account/client/requests/GetAccountRequest.d.ts +13 -0
- package/dist/api/resources/account/client/requests/GetAccountRequest.js +5 -0
- package/dist/api/resources/account/client/requests/ListAccountOrganizationsRequest.d.ts +13 -0
- package/dist/api/resources/account/client/requests/ListAccountOrganizationsRequest.js +5 -0
- package/dist/api/resources/account/client/requests/index.d.ts +2 -0
- package/dist/api/resources/account/client/requests/index.js +2 -0
- package/dist/api/resources/account/types/AccountActiveJobs.d.ts +1 -1
- package/dist/api/resources/account/types/AccountCredits.d.ts +1 -1
- package/dist/api/resources/account/types/AccountFreeAllowance.d.ts +2 -2
- package/dist/api/resources/account/types/AccountOrganizationListItem.d.ts +9 -0
- package/dist/api/resources/account/types/AccountOrganizationListItem.js +5 -0
- package/dist/api/resources/account/types/AccountOrganizations.d.ts +7 -0
- package/dist/api/resources/account/types/AccountOrganizations.js +5 -0
- package/dist/api/resources/account/types/AccountOverview.d.ts +5 -1
- package/dist/api/resources/account/types/index.d.ts +2 -0
- package/dist/api/resources/account/types/index.js +2 -0
- package/dist/api/resources/assets/client/Client.d.ts +71 -1
- package/dist/api/resources/assets/client/Client.js +312 -8
- package/dist/api/resources/assets/client/requests/CountAssetsRequest.d.ts +30 -0
- package/dist/api/resources/assets/client/requests/CountAssetsRequest.js +5 -0
- package/dist/api/resources/assets/client/requests/FindUploadedAssetRequest.d.ts +18 -0
- package/dist/api/resources/assets/client/requests/FindUploadedAssetRequest.js +5 -0
- package/dist/api/resources/assets/client/requests/ListAssetsRequest.d.ts +5 -1
- package/dist/api/resources/assets/client/requests/index.d.ts +2 -0
- package/dist/api/resources/audioTrims/client/Client.d.ts +72 -0
- package/dist/api/resources/audioTrims/client/Client.js +217 -0
- package/dist/api/resources/audioTrims/client/index.d.ts +1 -0
- package/dist/api/resources/audioTrims/client/index.js +17 -0
- package/dist/api/resources/audioTrims/client/requests/CreateAudioTrimRequest.d.ts +21 -0
- package/dist/api/resources/audioTrims/client/requests/CreateAudioTrimRequest.js +5 -0
- package/dist/api/resources/audioTrims/client/requests/index.d.ts +1 -0
- package/dist/api/resources/audioTrims/client/requests/index.js +2 -0
- package/dist/api/resources/audioTrims/index.d.ts +1 -0
- package/dist/api/resources/audioTrims/index.js +17 -0
- package/dist/api/resources/batch/client/Client.d.ts +6 -2
- package/dist/api/resources/batch/client/Client.js +18 -6
- package/dist/api/resources/batch/client/requests/CreateBatchFromRowsRequest.d.ts +3 -3
- package/dist/api/resources/batch/client/requests/CreateBatchRequest.d.ts +2 -2
- package/dist/api/resources/common/errors/AudioTrimTooManyRequestsError.d.ts +9 -0
- package/dist/api/resources/common/errors/AudioTrimTooManyRequestsError.js +52 -0
- package/dist/api/resources/common/errors/LinkImportInProgressError.d.ts +9 -0
- package/dist/api/resources/common/errors/LinkImportInProgressError.js +52 -0
- package/dist/api/resources/common/errors/LinkImportTooManyRequestsError.d.ts +9 -0
- package/dist/api/resources/common/errors/LinkImportTooManyRequestsError.js +52 -0
- package/dist/api/resources/common/errors/SpeakerAnalysisTooManyRequestsError.d.ts +9 -0
- package/dist/api/resources/common/errors/SpeakerAnalysisTooManyRequestsError.js +52 -0
- package/dist/api/resources/common/errors/index.d.ts +4 -0
- package/dist/api/resources/common/errors/index.js +4 -0
- package/dist/api/resources/common/types/ActiveSpeaker.d.ts +3 -3
- package/dist/api/resources/common/types/AnalyzeSpeakersRequest.d.ts +14 -0
- package/dist/api/resources/common/types/AnalyzeSpeakersRequest.js +5 -0
- package/dist/api/resources/common/types/AssetAudioSource.d.ts +17 -0
- package/dist/api/resources/common/types/AssetAudioSource.js +10 -0
- package/dist/api/resources/common/types/AssetIds.d.ts +4 -0
- package/dist/api/resources/common/types/AssetIds.js +5 -0
- package/dist/api/resources/common/types/Audio.d.ts +2 -2
- package/dist/api/resources/common/types/AudioTrim.d.ts +20 -0
- package/dist/api/resources/common/types/AudioTrim.js +5 -0
- package/dist/api/resources/common/types/AudioTrimStatus.d.ts +13 -0
- package/dist/api/resources/common/types/AudioTrimStatus.js +12 -0
- package/dist/api/resources/common/types/BatchConcurrencyError.d.ts +2 -4
- package/dist/api/resources/common/types/BatchGetAssetsRequest.d.ts +8 -0
- package/dist/api/resources/common/types/BatchGetAssetsRequest.js +5 -0
- package/dist/api/resources/common/types/CreateAssetRequest.d.ts +3 -1
- package/dist/api/resources/common/types/CreateAssetUploadRequest.d.ts +1 -1
- package/dist/api/resources/common/types/CreateAudioTrimDto.d.ts +16 -0
- package/dist/api/resources/common/types/CreateAudioTrimDto.js +5 -0
- package/dist/api/resources/common/types/CreateDialogueEditDto.d.ts +2 -2
- package/dist/api/resources/common/types/CreateGenerationDto.d.ts +3 -3
- package/dist/api/resources/common/types/CreateProjectRequest.d.ts +1 -1
- package/dist/api/resources/common/types/CreateTranscriptionDto.d.ts +2 -2
- package/dist/api/resources/common/types/DialogueEditChange.d.ts +1 -1
- package/dist/api/resources/common/types/DialogueEditError.d.ts +5 -1
- package/dist/api/resources/common/types/DialogueEditErrorCode.d.ts +4 -2
- package/dist/api/resources/common/types/DialogueEditErrorCode.js +2 -0
- package/dist/api/resources/common/types/DialogueEditFailedSlot.d.ts +3 -0
- package/dist/api/resources/common/types/DialogueEditJob.d.ts +2 -2
- package/dist/api/resources/common/types/DubDto.d.ts +6 -0
- package/dist/api/resources/common/types/DubLanguage.d.ts +23 -3
- package/dist/api/resources/common/types/DubLanguage.js +17 -0
- package/dist/api/resources/common/types/DubSourceLanguage.d.ts +24 -4
- package/dist/api/resources/common/types/DubSourceLanguage.js +17 -0
- package/dist/api/resources/common/types/EstimateCostRequest.d.ts +1 -1
- package/dist/api/resources/common/types/FindUploadedAssetResponse.d.ts +8 -0
- package/dist/api/resources/common/types/FindUploadedAssetResponse.js +5 -0
- package/dist/api/resources/common/types/Generation.d.ts +9 -5
- package/dist/api/resources/common/types/GenerationCount.d.ts +6 -0
- package/dist/api/resources/common/types/GenerationCount.js +5 -0
- package/dist/api/resources/common/types/GenerationCountType.d.ts +8 -0
- package/dist/api/resources/common/types/GenerationCountType.js +10 -0
- package/dist/api/resources/common/types/GenerationError.d.ts +4 -0
- package/dist/api/resources/common/types/GenerationOptions.d.ts +3 -3
- package/dist/api/resources/common/types/GenerationProgress.d.ts +24 -0
- package/dist/api/resources/common/types/GenerationProgress.js +5 -0
- package/dist/api/resources/common/types/GenerationProgressStage.d.ts +13 -0
- package/dist/api/resources/common/types/GenerationProgressStage.js +12 -0
- package/dist/api/resources/common/types/GenerationSource.d.ts +17 -0
- package/dist/api/resources/common/types/GenerationSource.js +19 -0
- package/dist/api/resources/common/types/GenerationStatus.d.ts +3 -2
- package/dist/api/resources/common/types/GenerationStatus.js +1 -0
- package/dist/api/resources/common/types/Image.d.ts +1 -1
- package/dist/api/resources/common/types/LinkImportError.d.ts +33 -0
- package/dist/api/resources/common/types/LinkImportError.js +5 -0
- package/dist/api/resources/common/types/LinkImportStatus.d.ts +14 -0
- package/dist/api/resources/common/types/LinkImportStatus.js +13 -0
- package/dist/api/resources/common/types/ProjectGenerationError.d.ts +3 -0
- package/dist/api/resources/common/types/ProjectGenerationErrorReason.d.ts +7 -0
- package/dist/api/resources/common/types/ProjectGenerationErrorReason.js +9 -0
- package/dist/api/resources/common/types/SliceSpeakerFaceTrackRequest.d.ts +21 -0
- package/dist/api/resources/common/types/SliceSpeakerFaceTrackRequest.js +5 -0
- package/dist/api/resources/common/types/SpeakerAnalysis.d.ts +26 -0
- package/dist/api/resources/common/types/SpeakerAnalysis.js +5 -0
- package/dist/api/resources/common/types/SpeakerAnalysisSpeaker.d.ts +21 -0
- package/dist/api/resources/common/types/SpeakerAnalysisSpeaker.js +5 -0
- package/dist/api/resources/common/types/SpeakerAnalysisStatus.d.ts +12 -0
- package/dist/api/resources/common/types/SpeakerAnalysisStatus.js +11 -0
- package/dist/api/resources/common/types/SpeakerAvatar.d.ts +16 -0
- package/dist/api/resources/common/types/SpeakerAvatar.js +5 -0
- package/dist/api/resources/common/types/SpeakerAvatarBox.d.ts +12 -0
- package/dist/api/resources/common/types/SpeakerAvatarBox.js +5 -0
- package/dist/api/resources/common/types/SpeakerFaceSupport.d.ts +17 -0
- package/dist/api/resources/common/types/SpeakerFaceSupport.js +5 -0
- package/dist/api/resources/common/types/SpeakerFaceSupportInterval.d.ts +9 -0
- package/dist/api/resources/common/types/SpeakerFaceSupportInterval.js +5 -0
- package/dist/api/resources/common/types/SpeakerFaceTrack.d.ts +18 -0
- package/dist/api/resources/common/types/SpeakerFaceTrack.js +5 -0
- package/dist/api/resources/common/types/SpeakerFaceTrackSlice.d.ts +7 -0
- package/dist/api/resources/common/types/SpeakerFaceTrackSlice.js +5 -0
- package/dist/api/resources/common/types/SpeakerFaceTrackSliceFrames.d.ts +9 -0
- package/dist/api/resources/common/types/SpeakerFaceTrackSliceFrames.js +5 -0
- package/dist/api/resources/common/types/SpeakerMatchEvidence.d.ts +16 -0
- package/dist/api/resources/common/types/SpeakerMatchEvidence.js +5 -0
- package/dist/api/resources/common/types/SpeakerMatchStatus.d.ts +11 -0
- package/dist/api/resources/common/types/SpeakerMatchStatus.js +10 -0
- package/dist/api/resources/common/types/Transcript.d.ts +2 -0
- package/dist/api/resources/common/types/TranscriptSegment.d.ts +2 -0
- package/dist/api/resources/common/types/TranscriptSpeaker.d.ts +13 -0
- package/dist/api/resources/common/types/TranscriptSpeaker.js +5 -0
- package/dist/api/resources/common/types/TranscriptSpeakerLabelFlag.d.ts +11 -0
- package/dist/api/resources/common/types/TranscriptSpeakerLabelFlag.js +10 -0
- package/dist/api/resources/common/types/TranscriptWord.d.ts +4 -0
- package/dist/api/resources/common/types/TranscriptionJob.d.ts +5 -1
- package/dist/api/resources/common/types/TranscriptionJobEstimate.d.ts +20 -0
- package/dist/api/resources/common/types/TranscriptionJobEstimate.js +5 -0
- package/dist/api/resources/common/types/Tts.d.ts +1 -1
- package/dist/api/resources/common/types/UpdateProjectRequest.d.ts +1 -1
- package/dist/api/resources/common/types/Video.d.ts +3 -3
- package/dist/api/resources/common/types/index.d.ts +32 -0
- package/dist/api/resources/common/types/index.js +32 -0
- package/dist/api/resources/dialogueEdits/client/Client.d.ts +35 -31
- package/dist/api/resources/dialogueEdits/client/Client.js +40 -33
- package/dist/api/resources/dialogueEdits/client/index.d.ts +1 -1
- package/dist/api/resources/dialogueEdits/client/index.js +15 -0
- package/dist/api/resources/dialogueEdits/client/requests/CreateDialogueEditRequest.d.ts +46 -0
- package/dist/api/resources/dialogueEdits/client/requests/CreateDialogueEditRequest.js +5 -0
- package/dist/api/resources/dialogueEdits/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dialogueEdits/client/requests/index.js +2 -0
- package/dist/api/resources/errors/client/Client.d.ts +1 -1
- package/dist/api/resources/errors/client/Client.js +2 -2
- package/dist/api/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/generationCosts/index.d.ts +1 -0
- package/dist/api/resources/generationCosts/index.js +17 -0
- package/dist/api/resources/generationCosts/types/CostAvailability.d.ts +10 -0
- package/dist/api/resources/generationCosts/types/CostAvailability.js +12 -0
- package/dist/api/resources/generationCosts/types/CostComponent.d.ts +19 -0
- package/dist/api/resources/generationCosts/types/CostComponent.js +5 -0
- package/dist/api/resources/generationCosts/types/CostComponentStatus.d.ts +10 -0
- package/dist/api/resources/generationCosts/types/CostComponentStatus.js +12 -0
- package/dist/api/resources/generationCosts/types/CostComponentType.d.ts +9 -0
- package/dist/api/resources/generationCosts/types/CostComponentType.js +11 -0
- package/dist/api/resources/generationCosts/types/CostSource.d.ts +9 -0
- package/dist/api/resources/generationCosts/types/CostSource.js +11 -0
- package/dist/api/resources/generationCosts/types/CostUnit.d.ts +8 -0
- package/dist/api/resources/generationCosts/types/CostUnit.js +10 -0
- package/dist/api/resources/generationCosts/types/CostValueBasis.d.ts +9 -0
- package/dist/api/resources/generationCosts/types/CostValueBasis.js +11 -0
- package/dist/api/resources/generationCosts/types/GenerationCosts.d.ts +23 -0
- package/dist/api/resources/generationCosts/types/GenerationCosts.js +5 -0
- package/dist/api/resources/generationCosts/types/GenerationCostsApiKey.d.ts +10 -0
- package/dist/api/resources/generationCosts/types/GenerationCostsApiKey.js +5 -0
- package/dist/api/resources/generationCosts/types/GenerationCostsList.d.ts +12 -0
- package/dist/api/resources/generationCosts/types/GenerationCostsList.js +5 -0
- package/dist/api/resources/generationCosts/types/GenerationCostsListItem.d.ts +17 -0
- package/dist/api/resources/generationCosts/types/GenerationCostsListItem.js +5 -0
- package/dist/api/resources/generationCosts/types/index.d.ts +11 -0
- package/dist/api/resources/generationCosts/types/index.js +27 -0
- package/dist/api/resources/generations/client/Client.d.ts +58 -13
- package/dist/api/resources/generations/client/Client.js +245 -21
- package/dist/api/resources/generations/client/requests/CountGenerationsRequest.d.ts +30 -0
- package/dist/api/resources/generations/client/requests/CountGenerationsRequest.js +5 -0
- package/dist/api/resources/generations/client/requests/CreateGenerationRequest.d.ts +1 -1
- package/dist/api/resources/generations/client/requests/GetGenerationRequest.d.ts +2 -2
- package/dist/api/resources/generations/client/requests/ListGenerationCostsRequest.d.ts +29 -0
- package/dist/api/resources/generations/client/requests/ListGenerationCostsRequest.js +5 -0
- package/dist/api/resources/generations/client/requests/index.d.ts +2 -0
- package/dist/api/resources/index.d.ts +6 -0
- package/dist/api/resources/index.js +7 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +7 -7
- package/dist/api/resources/projects/client/requests/ListProjectsRequest.d.ts +1 -1
- package/dist/api/resources/transcriptions/client/Client.d.ts +66 -1
- package/dist/api/resources/transcriptions/client/Client.js +236 -3
- package/dist/api/resources/tts/client/Client.js +3 -3
- package/dist/api/resources/voices/client/Client.d.ts +10 -6
- package/dist/api/resources/voices/client/Client.js +22 -10
- package/dist/api/resources/webhooks/types/GenerationNotification.d.ts +6 -2
- package/dist/api/resources/webhooks/types/WebhookStatus.d.ts +2 -1
- package/dist/api/resources/webhooks/types/WebhookStatus.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +995 -124
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Sync from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Which face belongs to each speaker in a transcription.
|
|
7
|
+
*/
|
|
8
|
+
export interface SpeakerAnalysis {
|
|
9
|
+
/** The transcription revision this analysis belongs to. */
|
|
10
|
+
revision: string;
|
|
11
|
+
/** The analyzed source video. Null for jobs created from sourceAudioUrl. */
|
|
12
|
+
sourceVideoUrl?: string;
|
|
13
|
+
/** A temporary URL for playing the source video. */
|
|
14
|
+
sourcePlaybackUrl?: string;
|
|
15
|
+
/** Start of the analyzed window, in source milliseconds. */
|
|
16
|
+
sourceStartMs: number;
|
|
17
|
+
/** End of the analyzed window, in source milliseconds. Null when the window runs to the end of the source. */
|
|
18
|
+
sourceEndMs?: number;
|
|
19
|
+
status: Sync.SpeakerAnalysisStatus;
|
|
20
|
+
/** Why the analysis is unavailable or wasn't run. */
|
|
21
|
+
reason?: string;
|
|
22
|
+
/** The model that ran the analysis. */
|
|
23
|
+
model?: string;
|
|
24
|
+
/** One entry per transcript speaker, up to 8. */
|
|
25
|
+
speakers: Sync.SpeakerAnalysisSpeaker[];
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Sync from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* One transcript speaker and the face matched to them.
|
|
7
|
+
*/
|
|
8
|
+
export interface SpeakerAnalysisSpeaker {
|
|
9
|
+
/** Speaker id from the transcript. */
|
|
10
|
+
id: string;
|
|
11
|
+
status: Sync.SpeakerMatchStatus;
|
|
12
|
+
/** Why the speaker is uncertain. */
|
|
13
|
+
reason?: string;
|
|
14
|
+
/** Present only for a matched speaker. */
|
|
15
|
+
avatar?: Sync.SpeakerAvatar;
|
|
16
|
+
/** Present only for a matched speaker. Cut one segment from it with POST /v2/transcriptions/{id}/speaker-analysis/face-track-slices. */
|
|
17
|
+
faceTrack?: Sync.SpeakerFaceTrack;
|
|
18
|
+
evidence?: Sync.SpeakerMatchEvidence;
|
|
19
|
+
/** The two faces with the most support, the leading one first. */
|
|
20
|
+
faceSupport?: Sync.SpeakerFaceSupport[];
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Status of the speaker analysis. processing is not terminal; completed and unavailable are.
|
|
6
|
+
*/
|
|
7
|
+
export type SpeakerAnalysisStatus = "processing" | "completed" | "unavailable";
|
|
8
|
+
export declare const SpeakerAnalysisStatus: {
|
|
9
|
+
readonly Processing: "processing";
|
|
10
|
+
readonly Completed: "completed";
|
|
11
|
+
readonly Unavailable: "unavailable";
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SpeakerAnalysisStatus = void 0;
|
|
7
|
+
exports.SpeakerAnalysisStatus = {
|
|
8
|
+
Processing: "processing",
|
|
9
|
+
Completed: "completed",
|
|
10
|
+
Unavailable: "unavailable",
|
|
11
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Sync from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* A frame where the matched speaker's face is visible, with its box.
|
|
7
|
+
*/
|
|
8
|
+
export interface SpeakerAvatar {
|
|
9
|
+
/** Time of the frame, in source milliseconds. */
|
|
10
|
+
sourceTimeMs: number;
|
|
11
|
+
box: Sync.SpeakerAvatarBox;
|
|
12
|
+
/** Source frame width, in pixels. */
|
|
13
|
+
sourceWidth: number;
|
|
14
|
+
/** Source frame height, in pixels. */
|
|
15
|
+
sourceHeight: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* A face box as fractions (0 to 1) of the source frame width and height, measured from the top-left corner.
|
|
6
|
+
*/
|
|
7
|
+
export interface SpeakerAvatarBox {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Sync from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* A face seen talking during the speaker's speech, and when.
|
|
7
|
+
*/
|
|
8
|
+
export interface SpeakerFaceSupport {
|
|
9
|
+
/** Identifier of the detected face. */
|
|
10
|
+
identity: string;
|
|
11
|
+
/** Milliseconds of the speaker's speech during which this face was talking. */
|
|
12
|
+
supportMs: number;
|
|
13
|
+
/** Mean active speaker score. Null when no score is available. */
|
|
14
|
+
meanScore?: number;
|
|
15
|
+
/** Stretches of the speaker's speech during which this face was talking. */
|
|
16
|
+
intervals: Sync.SpeakerFaceSupportInterval[];
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The matched speaker's face across the whole source file. url points to a JSON file with a bounding_boxes array: one [x1, y1, x2, y2] pixel box per frame at fps, counted from the start of the file, or null where the face isn't on screen.
|
|
6
|
+
*/
|
|
7
|
+
export interface SpeakerFaceTrack {
|
|
8
|
+
/** URL of the face track file. */
|
|
9
|
+
url: string;
|
|
10
|
+
/** Frame rate of the face track. */
|
|
11
|
+
fps: number;
|
|
12
|
+
/** Number of frames in the face track. */
|
|
13
|
+
frameCount: number;
|
|
14
|
+
/** Source frame width, in pixels. */
|
|
15
|
+
sourceWidth: number;
|
|
16
|
+
/** Source frame height, in pixels. */
|
|
17
|
+
sourceHeight: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface SpeakerFaceTrackSlice {
|
|
5
|
+
/** URL of a JSON file with a bounding_boxes array, one entry per frame of the segment. Pass it as the segment's active_speaker_detection.bounding_boxes_url. Null when the face is on none of the segment's frames. */
|
|
6
|
+
url?: string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* How strongly the matched face was talking during the speaker's words.
|
|
6
|
+
*/
|
|
7
|
+
export interface SpeakerMatchEvidence {
|
|
8
|
+
/** Milliseconds of the speaker's speech during which the face was talking. */
|
|
9
|
+
supportMs: number;
|
|
10
|
+
/** Mean active speaker score. Null when no score is available. */
|
|
11
|
+
meanScore?: number;
|
|
12
|
+
/** Lead of the matched face over the next most likely face. */
|
|
13
|
+
margin: number;
|
|
14
|
+
/** Share of the speaker's speech the matched face covers. Can exceed 1, because talking spans run past word edges. */
|
|
15
|
+
coverage?: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Whether the analysis matched the speaker to one face (matched) or could not decide (uncertain).
|
|
6
|
+
*/
|
|
7
|
+
export type SpeakerMatchStatus = "matched" | "uncertain";
|
|
8
|
+
export declare const SpeakerMatchStatus: {
|
|
9
|
+
readonly Matched: "matched";
|
|
10
|
+
readonly Uncertain: "uncertain";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SpeakerMatchStatus = void 0;
|
|
7
|
+
exports.SpeakerMatchStatus = {
|
|
8
|
+
Matched: "matched",
|
|
9
|
+
Uncertain: "uncertain",
|
|
10
|
+
};
|
|
@@ -10,4 +10,6 @@ export interface Transcript {
|
|
|
10
10
|
segments: Sync.TranscriptSegment[];
|
|
11
11
|
/** The number of distinct speakers detected. */
|
|
12
12
|
speakerCount: number;
|
|
13
|
+
/** Speakers in the transcript. Word speakerId values refer to these IDs. Absent on older transcripts. */
|
|
14
|
+
speakers?: Sync.TranscriptSpeaker[];
|
|
13
15
|
}
|
|
@@ -10,4 +10,6 @@ export interface TranscriptSegment {
|
|
|
10
10
|
id: string;
|
|
11
11
|
/** The words in the segment, in order. */
|
|
12
12
|
words: Sync.TranscriptWord[];
|
|
13
|
+
/** Reasons to review this segment's speaker label. An empty list means no warning was detected. These flags do not guarantee speaker accuracy. Returned by transcription reads and ignored on dialogue-edit submission. */
|
|
14
|
+
speakerLabelFlags?: Sync.TranscriptSpeakerLabelFlag[];
|
|
13
15
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* A speaker in a transcript.
|
|
6
|
+
*/
|
|
7
|
+
export interface TranscriptSpeaker {
|
|
8
|
+
id: string;
|
|
9
|
+
label: string;
|
|
10
|
+
/** Zero-based position in display order. */
|
|
11
|
+
displayOrder: number;
|
|
12
|
+
providerSpeakerId?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* A reason to doubt a transcript segment's speaker label.
|
|
6
|
+
*/
|
|
7
|
+
export type TranscriptSpeakerLabelFlag = "brief_switch" | "minor_speaker";
|
|
8
|
+
export declare const TranscriptSpeakerLabelFlag: {
|
|
9
|
+
readonly BriefSwitch: "brief_switch";
|
|
10
|
+
readonly MinorSpeaker: "minor_speaker";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TranscriptSpeakerLabelFlag = void 0;
|
|
7
|
+
exports.TranscriptSpeakerLabelFlag = {
|
|
8
|
+
BriefSwitch: "brief_switch",
|
|
9
|
+
MinorSpeaker: "minor_speaker",
|
|
10
|
+
};
|
|
@@ -13,4 +13,8 @@ export interface TranscriptWord {
|
|
|
13
13
|
startMs: number;
|
|
14
14
|
/** End of the word, in milliseconds from the start of the source. */
|
|
15
15
|
endMs: number;
|
|
16
|
+
/** Speech recognition confidence in the word text, from 0 to 1. Says nothing about the speaker. Absent when the provider reported none. Returned by GET /v2/transcriptions/{id} and ignored when sent to POST /v2/dialogue-edits. */
|
|
17
|
+
confidence?: number;
|
|
18
|
+
/** Speaker ID from the transcript speakers list. Null when unknown; absent on older transcripts. */
|
|
19
|
+
speakerId?: string | null;
|
|
16
20
|
}
|
|
@@ -14,7 +14,7 @@ export interface TranscriptionJob {
|
|
|
14
14
|
sourceVideoUrl?: string;
|
|
15
15
|
/** Start of the transcribed window, in source milliseconds. */
|
|
16
16
|
sourceStartMs: number;
|
|
17
|
-
/** End of the transcribed window, in source milliseconds. Null when the job transcribes to the end of the source. */
|
|
17
|
+
/** End of the transcribed window, in source milliseconds. A requested end past the end of the source reads as the source's end when the source could be measured at creation. Null when the job transcribes to the end of the source. */
|
|
18
18
|
sourceEndMs?: number;
|
|
19
19
|
/** Word-level transcript. Word timings are in milliseconds from the start of the source video, not the window. Null until status is COMPLETED. */
|
|
20
20
|
transcript?: Sync.Transcript;
|
|
@@ -32,4 +32,8 @@ export interface TranscriptionJob {
|
|
|
32
32
|
finishedAt?: string;
|
|
33
33
|
/** Content hash of the source and transcript this job produced. Present once the job has a transcript. */
|
|
34
34
|
revision?: string;
|
|
35
|
+
/** Expected completion time while the transcription is running. Null when the job is terminal or no estimate is available. */
|
|
36
|
+
estimate?: Sync.TranscriptionJobEstimate | null;
|
|
37
|
+
/** Milliseconds to wait before polling this job again, between 1,000 and 5,000. Present only while the job is `PENDING` or `PROCESSING`. */
|
|
38
|
+
retryAfterMs?: number;
|
|
35
39
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Expected finish time for an in-flight transcription job.
|
|
6
|
+
*/
|
|
7
|
+
export interface TranscriptionJobEstimate {
|
|
8
|
+
/** Expected job duration in seconds, measured from `createdAt`. */
|
|
9
|
+
estimatedDurationSeconds: number;
|
|
10
|
+
/** When the job is expected to finish. */
|
|
11
|
+
estimatedFinishAt: string;
|
|
12
|
+
/** After this time, the job is running longer than usual. */
|
|
13
|
+
delayedAt: string;
|
|
14
|
+
/** After this time, contacting support is suggested. */
|
|
15
|
+
supportAt: string;
|
|
16
|
+
/** Current server time, stamped when the response was built. */
|
|
17
|
+
serverTime: string;
|
|
18
|
+
/** Number of past jobs the estimate is based on. */
|
|
19
|
+
sampleCount: number;
|
|
20
|
+
}
|
|
@@ -9,6 +9,6 @@ export interface Tts {
|
|
|
9
9
|
type: "text";
|
|
10
10
|
/** Integration provider configuration */
|
|
11
11
|
provider: Sync.TtsProviderConfig;
|
|
12
|
-
/** Reference identifier for this audio input, used to link audio inputs to specific segments when using [segments](/api-reference/api/generate-api/create#request.body.segments). Required when using segments array. */
|
|
12
|
+
/** Reference identifier for this audio input, used to link audio inputs to specific segments when using [segments](/docs/api-reference/api/generate-api/create#request.body.segments). Required when using segments array. */
|
|
13
13
|
refId?: string;
|
|
14
14
|
}
|
|
@@ -6,7 +6,7 @@ import * as Sync from "../../../index";
|
|
|
6
6
|
* Update a project. Only the fields you provide are changed.
|
|
7
7
|
*/
|
|
8
8
|
export interface UpdateProjectRequest {
|
|
9
|
-
/** A new name for the project. */
|
|
9
|
+
/** A new name for the project (1–255 characters). */
|
|
10
10
|
name?: string;
|
|
11
11
|
/** A new description for the project. */
|
|
12
12
|
description?: string;
|
|
@@ -9,12 +9,12 @@ export interface Video {
|
|
|
9
9
|
type: "video";
|
|
10
10
|
/** Optional reference identifier for segment definitions. Use this when a segment needs to refer back to a specific visual input item. */
|
|
11
11
|
refId?: string;
|
|
12
|
-
/** URL of the video to be used for generation. Either `url` or `assetId` must be provided. */
|
|
12
|
+
/** Absolute HTTP or HTTPS URL of the video to be used for generation. Either `url` or `assetId` must be provided. If your organization has a configured custom output bucket, an s3:// URL in that bucket is supported. A TikTok, Instagram, Facebook, or YouTube video link is imported first. */
|
|
13
13
|
url?: string;
|
|
14
14
|
/** ID of a video asset from your media library. Either `url` or `assetId` must be provided. */
|
|
15
15
|
assetId?: Sync.AssetId;
|
|
16
|
-
/** [DEPRECATED] Use the top-level [segments](/api-reference/api/generate-api/create#request.body.segments) array instead for multi-segment support. */
|
|
16
|
+
/** [DEPRECATED] Use the top-level [segments](/docs/api-reference/api/generate-api/create#request.body.segments) array instead for multi-segment support. */
|
|
17
17
|
segments_secs?: Sync.SegmentSecs;
|
|
18
|
-
/** [DEPRECATED] Use the top-level [segments](/api-reference/api/generate-api/create#request.body.segments) array instead for multi-segment support. frames 100 and 200 of the video */
|
|
18
|
+
/** [DEPRECATED] Use the top-level [segments](/docs/api-reference/api/generate-api/create#request.body.segments) array instead for multi-segment support. frames 100 and 200 of the video */
|
|
19
19
|
segments_frames?: Sync.SegmentFrames;
|
|
20
20
|
}
|
|
@@ -18,6 +18,8 @@ export * from "./EstimateLipsyncPart";
|
|
|
18
18
|
export * from "./EstimateDubbingPart";
|
|
19
19
|
export * from "./EstimateDubbingBilling";
|
|
20
20
|
export * from "./Generation";
|
|
21
|
+
export * from "./GenerationProgressStage";
|
|
22
|
+
export * from "./GenerationProgress";
|
|
21
23
|
export * from "./GenerationEstimate";
|
|
22
24
|
export * from "./GenerationEstimateConfidence";
|
|
23
25
|
export * from "./GenerationEstimateSource";
|
|
@@ -26,6 +28,8 @@ export * from "./GenerationEstimateResolutionSource";
|
|
|
26
28
|
export * from "./GenerationError";
|
|
27
29
|
export * from "./BatchConcurrencyError";
|
|
28
30
|
export * from "./GenerationConcurrencyError";
|
|
31
|
+
export * from "./LinkImportError";
|
|
32
|
+
export * from "./LinkImportStatus";
|
|
29
33
|
export * from "./VoiceCloneRateLimitError";
|
|
30
34
|
export * from "./GenerationErrorMessage";
|
|
31
35
|
export * from "./ActiveSpeaker";
|
|
@@ -53,8 +57,15 @@ export * from "./BatchMetrics";
|
|
|
53
57
|
export * from "./ValidationResponse";
|
|
54
58
|
export * from "./CreateBatchResponse";
|
|
55
59
|
export * from "./BatchRow";
|
|
60
|
+
export * from "./BatchGetAssetsRequest";
|
|
61
|
+
export * from "./AssetIds";
|
|
62
|
+
export * from "./GenerationCount";
|
|
63
|
+
export * from "./GenerationCountType";
|
|
64
|
+
export * from "./GenerationSource";
|
|
56
65
|
export * from "./AssetId";
|
|
57
66
|
export * from "./AssetType";
|
|
67
|
+
export * from "./AssetAudioSource";
|
|
68
|
+
export * from "./FindUploadedAssetResponse";
|
|
58
69
|
export * from "./AssetVisibility";
|
|
59
70
|
export * from "./AssetInputType";
|
|
60
71
|
export * from "./AssetSort";
|
|
@@ -74,6 +85,7 @@ export * from "./ProjectGenerationInput";
|
|
|
74
85
|
export * from "./ProjectGenerationProvider";
|
|
75
86
|
export * from "./ProjectGenerationSegment";
|
|
76
87
|
export * from "./ProjectGenerationError";
|
|
88
|
+
export * from "./ProjectGenerationErrorReason";
|
|
77
89
|
export * from "./ProjectListItem";
|
|
78
90
|
export * from "./PaginatedProjectsResponse";
|
|
79
91
|
export * from "./DeleteProjectResponse";
|
|
@@ -99,14 +111,31 @@ export * from "./TranscriptionJobId";
|
|
|
99
111
|
export * from "./TranscriptionJobStatus";
|
|
100
112
|
export * from "./CreateTranscriptionDto";
|
|
101
113
|
export * from "./Transcript";
|
|
114
|
+
export * from "./TranscriptSpeaker";
|
|
102
115
|
export * from "./TranscriptSegment";
|
|
103
116
|
export * from "./TranscriptWord";
|
|
117
|
+
export * from "./TranscriptSpeakerLabelFlag";
|
|
104
118
|
export * from "./TranscriptionDifficultyTier";
|
|
105
119
|
export * from "./TranscriptionDifficultyReason";
|
|
106
120
|
export * from "./TranscriptionDifficulty";
|
|
107
121
|
export * from "./TranscriptionErrorCode";
|
|
108
122
|
export * from "./TranscriptionError";
|
|
109
123
|
export * from "./TranscriptionJob";
|
|
124
|
+
export * from "./TranscriptionJobEstimate";
|
|
125
|
+
export * from "./SpeakerAnalysisStatus";
|
|
126
|
+
export * from "./SpeakerMatchStatus";
|
|
127
|
+
export * from "./AnalyzeSpeakersRequest";
|
|
128
|
+
export * from "./SpeakerAvatarBox";
|
|
129
|
+
export * from "./SpeakerAvatar";
|
|
130
|
+
export * from "./SpeakerFaceTrack";
|
|
131
|
+
export * from "./SpeakerMatchEvidence";
|
|
132
|
+
export * from "./SpeakerFaceSupportInterval";
|
|
133
|
+
export * from "./SpeakerFaceSupport";
|
|
134
|
+
export * from "./SpeakerAnalysisSpeaker";
|
|
135
|
+
export * from "./SpeakerAnalysis";
|
|
136
|
+
export * from "./SpeakerFaceTrackSliceFrames";
|
|
137
|
+
export * from "./SliceSpeakerFaceTrackRequest";
|
|
138
|
+
export * from "./SpeakerFaceTrackSlice";
|
|
110
139
|
export * from "./DialogueEditJobId";
|
|
111
140
|
export * from "./DialogueEditJobStatus";
|
|
112
141
|
export * from "./DialogueEditChange";
|
|
@@ -119,6 +148,9 @@ export * from "./DialogueEditRetimeFailureSection";
|
|
|
119
148
|
export * from "./DialogueEditErrorCode";
|
|
120
149
|
export * from "./DialogueEditError";
|
|
121
150
|
export * from "./DialogueEditJob";
|
|
151
|
+
export * from "./CreateAudioTrimDto";
|
|
152
|
+
export * from "./AudioTrimStatus";
|
|
153
|
+
export * from "./AudioTrim";
|
|
122
154
|
export * from "./DialogueEditPartialDetail";
|
|
123
155
|
export * from "./DialogueEditFailedSlot";
|
|
124
156
|
export * from "./ErrorCatalogEntry";
|
|
@@ -34,6 +34,8 @@ __exportStar(require("./EstimateLipsyncPart"), exports);
|
|
|
34
34
|
__exportStar(require("./EstimateDubbingPart"), exports);
|
|
35
35
|
__exportStar(require("./EstimateDubbingBilling"), exports);
|
|
36
36
|
__exportStar(require("./Generation"), exports);
|
|
37
|
+
__exportStar(require("./GenerationProgressStage"), exports);
|
|
38
|
+
__exportStar(require("./GenerationProgress"), exports);
|
|
37
39
|
__exportStar(require("./GenerationEstimate"), exports);
|
|
38
40
|
__exportStar(require("./GenerationEstimateConfidence"), exports);
|
|
39
41
|
__exportStar(require("./GenerationEstimateSource"), exports);
|
|
@@ -42,6 +44,8 @@ __exportStar(require("./GenerationEstimateResolutionSource"), exports);
|
|
|
42
44
|
__exportStar(require("./GenerationError"), exports);
|
|
43
45
|
__exportStar(require("./BatchConcurrencyError"), exports);
|
|
44
46
|
__exportStar(require("./GenerationConcurrencyError"), exports);
|
|
47
|
+
__exportStar(require("./LinkImportError"), exports);
|
|
48
|
+
__exportStar(require("./LinkImportStatus"), exports);
|
|
45
49
|
__exportStar(require("./VoiceCloneRateLimitError"), exports);
|
|
46
50
|
__exportStar(require("./GenerationErrorMessage"), exports);
|
|
47
51
|
__exportStar(require("./ActiveSpeaker"), exports);
|
|
@@ -69,8 +73,15 @@ __exportStar(require("./BatchMetrics"), exports);
|
|
|
69
73
|
__exportStar(require("./ValidationResponse"), exports);
|
|
70
74
|
__exportStar(require("./CreateBatchResponse"), exports);
|
|
71
75
|
__exportStar(require("./BatchRow"), exports);
|
|
76
|
+
__exportStar(require("./BatchGetAssetsRequest"), exports);
|
|
77
|
+
__exportStar(require("./AssetIds"), exports);
|
|
78
|
+
__exportStar(require("./GenerationCount"), exports);
|
|
79
|
+
__exportStar(require("./GenerationCountType"), exports);
|
|
80
|
+
__exportStar(require("./GenerationSource"), exports);
|
|
72
81
|
__exportStar(require("./AssetId"), exports);
|
|
73
82
|
__exportStar(require("./AssetType"), exports);
|
|
83
|
+
__exportStar(require("./AssetAudioSource"), exports);
|
|
84
|
+
__exportStar(require("./FindUploadedAssetResponse"), exports);
|
|
74
85
|
__exportStar(require("./AssetVisibility"), exports);
|
|
75
86
|
__exportStar(require("./AssetInputType"), exports);
|
|
76
87
|
__exportStar(require("./AssetSort"), exports);
|
|
@@ -90,6 +101,7 @@ __exportStar(require("./ProjectGenerationInput"), exports);
|
|
|
90
101
|
__exportStar(require("./ProjectGenerationProvider"), exports);
|
|
91
102
|
__exportStar(require("./ProjectGenerationSegment"), exports);
|
|
92
103
|
__exportStar(require("./ProjectGenerationError"), exports);
|
|
104
|
+
__exportStar(require("./ProjectGenerationErrorReason"), exports);
|
|
93
105
|
__exportStar(require("./ProjectListItem"), exports);
|
|
94
106
|
__exportStar(require("./PaginatedProjectsResponse"), exports);
|
|
95
107
|
__exportStar(require("./DeleteProjectResponse"), exports);
|
|
@@ -115,14 +127,31 @@ __exportStar(require("./TranscriptionJobId"), exports);
|
|
|
115
127
|
__exportStar(require("./TranscriptionJobStatus"), exports);
|
|
116
128
|
__exportStar(require("./CreateTranscriptionDto"), exports);
|
|
117
129
|
__exportStar(require("./Transcript"), exports);
|
|
130
|
+
__exportStar(require("./TranscriptSpeaker"), exports);
|
|
118
131
|
__exportStar(require("./TranscriptSegment"), exports);
|
|
119
132
|
__exportStar(require("./TranscriptWord"), exports);
|
|
133
|
+
__exportStar(require("./TranscriptSpeakerLabelFlag"), exports);
|
|
120
134
|
__exportStar(require("./TranscriptionDifficultyTier"), exports);
|
|
121
135
|
__exportStar(require("./TranscriptionDifficultyReason"), exports);
|
|
122
136
|
__exportStar(require("./TranscriptionDifficulty"), exports);
|
|
123
137
|
__exportStar(require("./TranscriptionErrorCode"), exports);
|
|
124
138
|
__exportStar(require("./TranscriptionError"), exports);
|
|
125
139
|
__exportStar(require("./TranscriptionJob"), exports);
|
|
140
|
+
__exportStar(require("./TranscriptionJobEstimate"), exports);
|
|
141
|
+
__exportStar(require("./SpeakerAnalysisStatus"), exports);
|
|
142
|
+
__exportStar(require("./SpeakerMatchStatus"), exports);
|
|
143
|
+
__exportStar(require("./AnalyzeSpeakersRequest"), exports);
|
|
144
|
+
__exportStar(require("./SpeakerAvatarBox"), exports);
|
|
145
|
+
__exportStar(require("./SpeakerAvatar"), exports);
|
|
146
|
+
__exportStar(require("./SpeakerFaceTrack"), exports);
|
|
147
|
+
__exportStar(require("./SpeakerMatchEvidence"), exports);
|
|
148
|
+
__exportStar(require("./SpeakerFaceSupportInterval"), exports);
|
|
149
|
+
__exportStar(require("./SpeakerFaceSupport"), exports);
|
|
150
|
+
__exportStar(require("./SpeakerAnalysisSpeaker"), exports);
|
|
151
|
+
__exportStar(require("./SpeakerAnalysis"), exports);
|
|
152
|
+
__exportStar(require("./SpeakerFaceTrackSliceFrames"), exports);
|
|
153
|
+
__exportStar(require("./SliceSpeakerFaceTrackRequest"), exports);
|
|
154
|
+
__exportStar(require("./SpeakerFaceTrackSlice"), exports);
|
|
126
155
|
__exportStar(require("./DialogueEditJobId"), exports);
|
|
127
156
|
__exportStar(require("./DialogueEditJobStatus"), exports);
|
|
128
157
|
__exportStar(require("./DialogueEditChange"), exports);
|
|
@@ -135,6 +164,9 @@ __exportStar(require("./DialogueEditRetimeFailureSection"), exports);
|
|
|
135
164
|
__exportStar(require("./DialogueEditErrorCode"), exports);
|
|
136
165
|
__exportStar(require("./DialogueEditError"), exports);
|
|
137
166
|
__exportStar(require("./DialogueEditJob"), exports);
|
|
167
|
+
__exportStar(require("./CreateAudioTrimDto"), exports);
|
|
168
|
+
__exportStar(require("./AudioTrimStatus"), exports);
|
|
169
|
+
__exportStar(require("./AudioTrim"), exports);
|
|
138
170
|
__exportStar(require("./DialogueEditPartialDetail"), exports);
|
|
139
171
|
__exportStar(require("./DialogueEditFailedSlot"), exports);
|
|
140
172
|
__exportStar(require("./ErrorCatalogEntry"), exports);
|