@sync.so/sdk 0.3.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.
Files changed (1030) hide show
  1. package/Client.d.ts +31 -1
  2. package/Client.js +58 -8
  3. package/api/resources/account/client/Client.d.ts +63 -0
  4. package/api/resources/account/client/Client.js +204 -0
  5. package/api/resources/account/client/index.d.ts +1 -0
  6. package/api/resources/account/client/index.js +17 -0
  7. package/api/resources/account/client/requests/GetAccountRequest.d.ts +13 -0
  8. package/api/resources/account/client/requests/GetAccountRequest.js +5 -0
  9. package/api/resources/account/client/requests/ListAccountOrganizationsRequest.d.ts +13 -0
  10. package/api/resources/account/client/requests/ListAccountOrganizationsRequest.js +5 -0
  11. package/api/resources/account/client/requests/index.d.ts +2 -0
  12. package/api/resources/account/client/requests/index.js +2 -0
  13. package/api/resources/account/index.d.ts +2 -0
  14. package/api/resources/account/index.js +18 -0
  15. package/api/resources/account/types/AccountActiveJobs.d.ts +9 -0
  16. package/api/resources/account/types/AccountActiveJobs.js +5 -0
  17. package/api/resources/account/types/AccountAllowanceUsage.d.ts +11 -0
  18. package/api/resources/account/types/AccountAllowanceUsage.js +5 -0
  19. package/api/resources/account/types/AccountBillingModel.d.ts +10 -0
  20. package/api/resources/account/types/AccountBillingModel.js +12 -0
  21. package/api/resources/account/types/AccountBillingPeriod.d.ts +7 -0
  22. package/api/resources/account/types/AccountBillingPeriod.js +5 -0
  23. package/api/resources/account/types/AccountCredentialType.d.ts +9 -0
  24. package/api/resources/account/types/AccountCredentialType.js +11 -0
  25. package/api/resources/account/types/AccountCredits.d.ts +11 -0
  26. package/api/resources/account/types/AccountCredits.js +5 -0
  27. package/api/resources/account/types/AccountFreeAllowance.d.ts +12 -0
  28. package/api/resources/account/types/AccountFreeAllowance.js +5 -0
  29. package/api/resources/account/types/AccountLimits.d.ts +13 -0
  30. package/api/resources/account/types/AccountLimits.js +5 -0
  31. package/api/resources/account/types/AccountOrganization.d.ts +9 -0
  32. package/api/resources/account/types/AccountOrganization.js +5 -0
  33. package/api/resources/account/types/AccountOrganizationListItem.d.ts +9 -0
  34. package/api/resources/account/types/AccountOrganizationListItem.js +5 -0
  35. package/api/resources/account/types/AccountOrganizations.d.ts +7 -0
  36. package/api/resources/account/types/AccountOrganizations.js +5 -0
  37. package/api/resources/account/types/AccountOverview.d.ts +35 -0
  38. package/api/resources/account/types/AccountOverview.js +5 -0
  39. package/api/resources/account/types/AccountPlan.d.ts +9 -0
  40. package/api/resources/account/types/AccountPlan.js +5 -0
  41. package/api/resources/account/types/AccountUser.d.ts +8 -0
  42. package/api/resources/account/types/AccountUser.js +5 -0
  43. package/api/resources/account/types/index.d.ts +14 -0
  44. package/api/resources/account/types/index.js +30 -0
  45. package/api/resources/assets/client/Client.d.ts +150 -1
  46. package/api/resources/assets/client/Client.js +601 -3
  47. package/api/resources/assets/client/requests/CountAssetsRequest.d.ts +30 -0
  48. package/api/resources/assets/client/requests/CountAssetsRequest.js +5 -0
  49. package/api/resources/assets/client/requests/FindUploadedAssetRequest.d.ts +18 -0
  50. package/api/resources/assets/client/requests/FindUploadedAssetRequest.js +5 -0
  51. package/api/resources/assets/client/requests/ListAssetsRequest.d.ts +5 -1
  52. package/api/resources/assets/client/requests/index.d.ts +2 -0
  53. package/api/resources/audioTrims/client/Client.d.ts +72 -0
  54. package/api/resources/audioTrims/client/Client.js +217 -0
  55. package/api/resources/audioTrims/client/index.d.ts +1 -0
  56. package/api/resources/audioTrims/client/index.js +17 -0
  57. package/api/resources/audioTrims/client/requests/CreateAudioTrimRequest.d.ts +21 -0
  58. package/api/resources/audioTrims/client/requests/CreateAudioTrimRequest.js +5 -0
  59. package/api/resources/audioTrims/client/requests/index.d.ts +1 -0
  60. package/api/resources/audioTrims/client/requests/index.js +2 -0
  61. package/api/resources/audioTrims/index.d.ts +1 -0
  62. package/api/resources/audioTrims/index.js +17 -0
  63. package/api/resources/batch/client/Client.d.ts +287 -2
  64. package/api/resources/batch/client/Client.js +354 -4
  65. package/api/resources/batch/client/requests/CreateBatchFromRowsRequest.d.ts +279 -0
  66. package/api/resources/batch/client/requests/CreateBatchFromRowsRequest.js +5 -0
  67. package/api/resources/batch/client/requests/CreateBatchRequest.d.ts +2 -2
  68. package/api/resources/batch/client/requests/index.d.ts +1 -0
  69. package/api/resources/common/errors/AudioTrimTooManyRequestsError.d.ts +9 -0
  70. package/api/resources/common/errors/AudioTrimTooManyRequestsError.js +52 -0
  71. package/api/resources/common/errors/ConflictError.d.ts +9 -0
  72. package/api/resources/common/errors/ConflictError.js +52 -0
  73. package/api/resources/common/errors/ForbiddenError.d.ts +9 -0
  74. package/api/resources/common/errors/ForbiddenError.js +52 -0
  75. package/api/resources/common/errors/GatewayTimeoutError.d.ts +9 -0
  76. package/api/resources/common/errors/GatewayTimeoutError.js +52 -0
  77. package/api/resources/common/errors/GenerationDeletedError.d.ts +9 -0
  78. package/api/resources/common/errors/GenerationDeletedError.js +52 -0
  79. package/api/resources/common/errors/GenerationTooManyRequestsError.d.ts +9 -0
  80. package/api/resources/common/errors/GenerationTooManyRequestsError.js +52 -0
  81. package/api/resources/common/errors/LinkImportInProgressError.d.ts +9 -0
  82. package/api/resources/common/errors/LinkImportInProgressError.js +52 -0
  83. package/api/resources/common/errors/LinkImportTooManyRequestsError.d.ts +9 -0
  84. package/api/resources/common/errors/LinkImportTooManyRequestsError.js +52 -0
  85. package/api/resources/common/errors/PayloadTooLargeError.d.ts +9 -0
  86. package/api/resources/common/errors/PayloadTooLargeError.js +52 -0
  87. package/api/resources/common/errors/ServiceUnavailableError.d.ts +9 -0
  88. package/api/resources/common/errors/ServiceUnavailableError.js +52 -0
  89. package/api/resources/common/errors/SpeakerAnalysisTooManyRequestsError.d.ts +9 -0
  90. package/api/resources/common/errors/SpeakerAnalysisTooManyRequestsError.js +52 -0
  91. package/api/resources/common/errors/TooManyRequestsError.d.ts +1 -1
  92. package/api/resources/common/errors/UnprocessableEntityError.d.ts +9 -0
  93. package/api/resources/common/errors/UnprocessableEntityError.js +52 -0
  94. package/api/resources/common/errors/VoiceCloneTooManyRequestsError.d.ts +9 -0
  95. package/api/resources/common/errors/VoiceCloneTooManyRequestsError.js +52 -0
  96. package/api/resources/common/errors/index.d.ts +13 -0
  97. package/api/resources/common/errors/index.js +13 -0
  98. package/api/resources/common/types/ActiveSpeaker.d.ts +10 -4
  99. package/api/resources/common/types/AnalyzeSpeakersRequest.d.ts +14 -0
  100. package/api/resources/common/types/AnalyzeSpeakersRequest.js +5 -0
  101. package/api/resources/common/types/Asset.d.ts +4 -0
  102. package/api/resources/common/types/AssetAudioSource.d.ts +17 -0
  103. package/api/resources/common/types/AssetAudioSource.js +10 -0
  104. package/api/resources/common/types/AssetIds.d.ts +4 -0
  105. package/api/resources/common/types/AssetIds.js +5 -0
  106. package/api/resources/common/types/AssetInputType.d.ts +8 -1
  107. package/api/resources/common/types/AssetInputType.js +7 -0
  108. package/api/resources/common/types/AssetUploadResponse.d.ts +14 -0
  109. package/api/resources/common/types/AssetUploadResponse.js +5 -0
  110. package/api/resources/common/types/AttachProjectAssetRequest.d.ts +11 -0
  111. package/api/resources/common/types/AttachProjectAssetRequest.js +5 -0
  112. package/api/resources/common/types/Audio.d.ts +2 -2
  113. package/api/resources/common/types/AudioTrim.d.ts +20 -0
  114. package/api/resources/common/types/AudioTrim.js +5 -0
  115. package/api/resources/common/types/AudioTrimStatus.d.ts +13 -0
  116. package/api/resources/common/types/AudioTrimStatus.js +12 -0
  117. package/api/resources/common/types/BatchConcurrencyError.d.ts +21 -0
  118. package/api/resources/common/types/BatchConcurrencyError.js +5 -0
  119. package/api/resources/common/types/BatchGetAssetsRequest.d.ts +8 -0
  120. package/api/resources/common/types/BatchGetAssetsRequest.js +5 -0
  121. package/api/resources/common/types/BatchResponse.d.ts +2 -2
  122. package/api/resources/common/types/BatchRow.d.ts +15 -0
  123. package/api/resources/common/types/BatchRow.js +5 -0
  124. package/api/resources/common/types/BlendingMode.d.ts +9 -0
  125. package/api/resources/common/types/BlendingMode.js +11 -0
  126. package/api/resources/common/types/ClonedVoiceResponse.d.ts +14 -0
  127. package/api/resources/common/types/ClonedVoiceResponse.js +5 -0
  128. package/api/resources/common/types/CreateAssetRequest.d.ts +35 -0
  129. package/api/resources/common/types/CreateAssetRequest.js +5 -0
  130. package/api/resources/common/types/CreateAssetUploadRequest.d.ts +14 -0
  131. package/api/resources/common/types/CreateAssetUploadRequest.js +5 -0
  132. package/api/resources/common/types/CreateAudioTrimDto.d.ts +16 -0
  133. package/api/resources/common/types/CreateAudioTrimDto.js +5 -0
  134. package/api/resources/common/types/CreateDialogueEditDto.d.ts +27 -0
  135. package/api/resources/common/types/CreateDialogueEditDto.js +5 -0
  136. package/api/resources/common/types/CreateGenerationDto.d.ts +12 -4
  137. package/api/resources/common/types/CreateProjectRequest.d.ts +21 -0
  138. package/api/resources/common/types/CreateProjectRequest.js +5 -0
  139. package/api/resources/common/types/CreateTranscriptionDto.d.ts +21 -0
  140. package/api/resources/common/types/CreateTranscriptionDto.js +5 -0
  141. package/api/resources/common/types/CreateTtsRequest.d.ts +19 -0
  142. package/api/resources/common/types/CreateTtsRequest.js +5 -0
  143. package/api/resources/common/types/CreateVoiceRequest.d.ts +19 -0
  144. package/api/resources/common/types/CreateVoiceRequest.js +5 -0
  145. package/api/resources/common/types/CreatorWorkflow.d.ts +37 -0
  146. package/api/resources/common/types/CreatorWorkflow.js +15 -0
  147. package/api/resources/common/types/DeleteAssetResponse.d.ts +11 -0
  148. package/api/resources/common/types/DeleteAssetResponse.js +5 -0
  149. package/api/resources/common/types/DeleteProjectResponse.d.ts +11 -0
  150. package/api/resources/common/types/DeleteProjectResponse.js +5 -0
  151. package/api/resources/common/types/DialogueEditChange.d.ts +14 -0
  152. package/api/resources/common/types/DialogueEditChange.js +5 -0
  153. package/api/resources/common/types/DialogueEditError.d.ts +19 -0
  154. package/api/resources/common/types/DialogueEditError.js +5 -0
  155. package/api/resources/common/types/DialogueEditErrorCode.d.ts +20 -0
  156. package/api/resources/common/types/DialogueEditErrorCode.js +19 -0
  157. package/api/resources/common/types/DialogueEditFailedSlot.d.ts +12 -0
  158. package/api/resources/common/types/DialogueEditFailedSlot.js +5 -0
  159. package/api/resources/common/types/DialogueEditJob.d.ts +49 -0
  160. package/api/resources/common/types/DialogueEditJob.js +5 -0
  161. package/api/resources/common/types/DialogueEditJobId.d.ts +7 -0
  162. package/api/resources/common/types/DialogueEditJobId.js +5 -0
  163. package/api/resources/common/types/DialogueEditJobStatus.d.ts +14 -0
  164. package/api/resources/common/types/DialogueEditJobStatus.js +13 -0
  165. package/api/resources/common/types/DialogueEditOperation.d.ts +16 -0
  166. package/api/resources/common/types/DialogueEditOperation.js +5 -0
  167. package/api/resources/common/types/DialogueEditPartialDetail.d.ts +17 -0
  168. package/api/resources/common/types/DialogueEditPartialDetail.js +5 -0
  169. package/api/resources/common/types/DialogueEditReference.d.ts +11 -0
  170. package/api/resources/common/types/DialogueEditReference.js +5 -0
  171. package/api/resources/common/types/DialogueEditRemoval.d.ts +10 -0
  172. package/api/resources/common/types/DialogueEditRemoval.js +5 -0
  173. package/api/resources/common/types/DialogueEditResultSlot.d.ts +19 -0
  174. package/api/resources/common/types/DialogueEditResultSlot.js +5 -0
  175. package/api/resources/common/types/DialogueEditResultSlotKind.d.ts +12 -0
  176. package/api/resources/common/types/DialogueEditResultSlotKind.js +11 -0
  177. package/api/resources/common/types/DialogueEditRetimeFailureSection.d.ts +14 -0
  178. package/api/resources/common/types/DialogueEditRetimeFailureSection.js +5 -0
  179. package/api/resources/common/types/DubDto.d.ts +23 -0
  180. package/api/resources/common/types/DubDto.js +5 -0
  181. package/api/resources/common/types/DubLanguage.d.ts +125 -0
  182. package/api/resources/common/types/DubLanguage.js +118 -0
  183. package/api/resources/common/types/DubProviderName.d.ts +10 -0
  184. package/api/resources/common/types/DubProviderName.js +9 -0
  185. package/api/resources/common/types/DubSourceLanguage.d.ts +126 -0
  186. package/api/resources/common/types/DubSourceLanguage.js +119 -0
  187. package/api/resources/common/types/ErrorCatalogEntry.d.ts +14 -0
  188. package/api/resources/common/types/ErrorCatalogEntry.js +5 -0
  189. package/api/resources/common/types/EstimateBreakdown.d.ts +13 -0
  190. package/api/resources/common/types/EstimateBreakdown.js +5 -0
  191. package/api/resources/common/types/EstimateCostRequest.d.ts +16 -0
  192. package/api/resources/common/types/EstimateCostRequest.js +5 -0
  193. package/api/resources/common/types/EstimateDubbingBilling.d.ts +10 -0
  194. package/api/resources/common/types/EstimateDubbingBilling.js +12 -0
  195. package/api/resources/common/types/EstimateDubbingPart.d.ts +12 -0
  196. package/api/resources/common/types/EstimateDubbingPart.js +5 -0
  197. package/api/resources/common/types/EstimateDurationCheck.d.ts +22 -0
  198. package/api/resources/common/types/EstimateDurationCheck.js +5 -0
  199. package/api/resources/common/types/EstimateLipsyncPart.d.ts +9 -0
  200. package/api/resources/common/types/EstimateLipsyncPart.js +5 -0
  201. package/api/resources/common/types/EstimateWorkflow.d.ts +11 -0
  202. package/api/resources/common/types/{ModelType.js → EstimateWorkflow.js} +3 -3
  203. package/api/resources/common/types/EstimatedGenerationCost.d.ts +7 -0
  204. package/api/resources/common/types/FindUploadedAssetResponse.d.ts +8 -0
  205. package/api/resources/common/types/FindUploadedAssetResponse.js +5 -0
  206. package/api/resources/common/types/Generation.d.ts +17 -3
  207. package/api/resources/common/types/GenerationConcurrencyError.d.ts +21 -0
  208. package/api/resources/common/types/GenerationConcurrencyError.js +5 -0
  209. package/api/resources/common/types/GenerationCount.d.ts +6 -0
  210. package/api/resources/common/types/GenerationCount.js +5 -0
  211. package/api/resources/common/types/GenerationCountType.d.ts +8 -0
  212. package/api/resources/common/types/GenerationCountType.js +10 -0
  213. package/api/resources/common/types/GenerationError.d.ts +20 -0
  214. package/api/resources/common/types/GenerationEstimate.d.ts +39 -0
  215. package/api/resources/common/types/GenerationEstimate.js +5 -0
  216. package/api/resources/common/types/GenerationEstimateConfidence.d.ts +12 -0
  217. package/api/resources/common/types/GenerationEstimateConfidence.js +11 -0
  218. package/api/resources/common/types/GenerationEstimateResolutionSource.d.ts +12 -0
  219. package/api/resources/common/types/GenerationEstimateResolutionSource.js +11 -0
  220. package/api/resources/common/types/GenerationEstimateScope.d.ts +11 -0
  221. package/api/resources/common/types/GenerationEstimateScope.js +10 -0
  222. package/api/resources/common/types/GenerationEstimateSource.d.ts +15 -0
  223. package/api/resources/common/types/GenerationEstimateSource.js +14 -0
  224. package/api/resources/common/types/GenerationOptions.d.ts +22 -4
  225. package/api/resources/common/types/GenerationProgress.d.ts +24 -0
  226. package/api/resources/common/types/GenerationProgress.js +5 -0
  227. package/api/resources/common/types/GenerationProgressStage.d.ts +13 -0
  228. package/api/resources/common/types/GenerationProgressStage.js +12 -0
  229. package/api/resources/common/types/GenerationSegment.d.ts +14 -6
  230. package/api/resources/common/types/GenerationSource.d.ts +17 -0
  231. package/api/resources/common/types/GenerationSource.js +19 -0
  232. package/api/resources/common/types/GenerationStatus.d.ts +3 -2
  233. package/api/resources/common/types/GenerationStatus.js +1 -0
  234. package/api/resources/common/types/Image.d.ts +16 -0
  235. package/api/resources/common/types/Image.js +5 -0
  236. package/api/resources/common/types/Input.d.ts +1 -1
  237. package/api/resources/common/types/LinkImportError.d.ts +33 -0
  238. package/api/resources/common/types/LinkImportError.js +5 -0
  239. package/api/resources/common/types/LinkImportStatus.d.ts +14 -0
  240. package/api/resources/common/types/LinkImportStatus.js +13 -0
  241. package/api/resources/common/types/Model.d.ts +2 -2
  242. package/api/resources/common/types/Model.js +1 -1
  243. package/api/resources/common/types/ModelInfo.d.ts +3 -2
  244. package/api/resources/common/types/OutputAudio.d.ts +10 -0
  245. package/api/resources/common/types/OutputAudio.js +5 -0
  246. package/api/resources/common/types/OutputFormat.d.ts +8 -0
  247. package/api/resources/common/types/OutputFormat.js +10 -0
  248. package/api/resources/common/types/PaginatedProjectsResponse.d.ts +13 -0
  249. package/api/resources/common/types/PaginatedProjectsResponse.js +5 -0
  250. package/api/resources/common/types/Project.d.ts +24 -0
  251. package/api/resources/common/types/Project.js +5 -0
  252. package/api/resources/common/types/ProjectGeneration.d.ts +41 -0
  253. package/api/resources/common/types/ProjectGeneration.js +5 -0
  254. package/api/resources/common/types/ProjectGenerationError.d.ts +12 -0
  255. package/api/resources/common/types/ProjectGenerationError.js +5 -0
  256. package/api/resources/common/types/ProjectGenerationErrorReason.d.ts +7 -0
  257. package/api/resources/common/types/ProjectGenerationErrorReason.js +9 -0
  258. package/api/resources/common/types/ProjectGenerationInput.d.ts +18 -0
  259. package/api/resources/common/types/ProjectGenerationInput.js +5 -0
  260. package/api/resources/common/types/ProjectGenerationModel.d.ts +12 -0
  261. package/api/resources/common/types/ProjectGenerationModel.js +5 -0
  262. package/api/resources/common/types/ProjectGenerationProvider.d.ts +10 -0
  263. package/api/resources/common/types/ProjectGenerationProvider.js +5 -0
  264. package/api/resources/common/types/ProjectGenerationSegment.d.ts +14 -0
  265. package/api/resources/common/types/ProjectGenerationSegment.js +5 -0
  266. package/api/resources/common/types/ProjectId.d.ts +7 -0
  267. package/api/resources/common/types/ProjectId.js +5 -0
  268. package/api/resources/common/types/ProjectListItem.d.ts +28 -0
  269. package/api/resources/common/types/ProjectListItem.js +5 -0
  270. package/api/resources/common/types/ProjectMode.d.ts +11 -0
  271. package/api/resources/common/types/ProjectMode.js +10 -0
  272. package/api/resources/common/types/ProjectSort.d.ts +11 -0
  273. package/api/resources/common/types/ProjectSort.js +10 -0
  274. package/api/resources/common/types/ProjectVisibility.d.ts +17 -0
  275. package/api/resources/common/types/ProjectVisibility.js +10 -0
  276. package/api/resources/common/types/SegmentAudioInput.d.ts +2 -2
  277. package/api/resources/common/types/SegmentOptionsOverride.d.ts +17 -0
  278. package/api/resources/common/types/SegmentOptionsOverride.js +5 -0
  279. package/api/resources/common/types/SliceSpeakerFaceTrackRequest.d.ts +21 -0
  280. package/api/resources/common/types/SliceSpeakerFaceTrackRequest.js +5 -0
  281. package/api/resources/common/types/SpeakerAnalysis.d.ts +26 -0
  282. package/api/resources/common/types/SpeakerAnalysis.js +5 -0
  283. package/api/resources/common/types/SpeakerAnalysisSpeaker.d.ts +21 -0
  284. package/api/resources/common/types/SpeakerAnalysisSpeaker.js +5 -0
  285. package/api/resources/common/types/SpeakerAnalysisStatus.d.ts +12 -0
  286. package/api/resources/common/types/SpeakerAnalysisStatus.js +11 -0
  287. package/api/resources/common/types/SpeakerAvatar.d.ts +16 -0
  288. package/api/resources/common/types/SpeakerAvatar.js +5 -0
  289. package/api/resources/common/types/SpeakerAvatarBox.d.ts +12 -0
  290. package/api/resources/common/types/SpeakerAvatarBox.js +5 -0
  291. package/api/resources/common/types/SpeakerFaceSupport.d.ts +17 -0
  292. package/api/resources/common/types/SpeakerFaceSupport.js +5 -0
  293. package/api/resources/common/types/SpeakerFaceSupportInterval.d.ts +9 -0
  294. package/api/resources/common/types/SpeakerFaceSupportInterval.js +5 -0
  295. package/api/resources/common/types/SpeakerFaceTrack.d.ts +18 -0
  296. package/api/resources/common/types/SpeakerFaceTrack.js +5 -0
  297. package/api/resources/common/types/SpeakerFaceTrackSlice.d.ts +7 -0
  298. package/api/resources/common/types/SpeakerFaceTrackSlice.js +5 -0
  299. package/api/resources/common/types/SpeakerFaceTrackSliceFrames.d.ts +9 -0
  300. package/api/resources/common/types/SpeakerFaceTrackSliceFrames.js +5 -0
  301. package/api/resources/common/types/SpeakerMatchEvidence.d.ts +16 -0
  302. package/api/resources/common/types/SpeakerMatchEvidence.js +5 -0
  303. package/api/resources/common/types/SpeakerMatchStatus.d.ts +11 -0
  304. package/api/resources/common/types/SpeakerMatchStatus.js +10 -0
  305. package/api/resources/common/types/SyncMode.d.ts +1 -1
  306. package/api/resources/common/types/Transcript.d.ts +15 -0
  307. package/api/resources/common/types/Transcript.js +5 -0
  308. package/api/resources/common/types/TranscriptSegment.d.ts +15 -0
  309. package/api/resources/common/types/TranscriptSegment.js +5 -0
  310. package/api/resources/common/types/TranscriptSpeaker.d.ts +13 -0
  311. package/api/resources/common/types/TranscriptSpeaker.js +5 -0
  312. package/api/resources/common/types/TranscriptSpeakerLabelFlag.d.ts +11 -0
  313. package/api/resources/common/types/TranscriptSpeakerLabelFlag.js +10 -0
  314. package/api/resources/common/types/TranscriptWord.d.ts +20 -0
  315. package/api/resources/common/types/TranscriptWord.js +5 -0
  316. package/api/resources/common/types/TranscriptionDifficulty.d.ts +13 -0
  317. package/api/resources/common/types/TranscriptionDifficulty.js +5 -0
  318. package/api/resources/common/types/TranscriptionDifficultyReason.d.ts +17 -0
  319. package/api/resources/common/types/TranscriptionDifficultyReason.js +16 -0
  320. package/api/resources/common/types/TranscriptionDifficultyTier.d.ts +12 -0
  321. package/api/resources/common/types/TranscriptionDifficultyTier.js +11 -0
  322. package/api/resources/common/types/TranscriptionError.d.ts +13 -0
  323. package/api/resources/common/types/TranscriptionError.js +5 -0
  324. package/api/resources/common/types/TranscriptionErrorCode.d.ts +16 -0
  325. package/api/resources/common/types/TranscriptionErrorCode.js +15 -0
  326. package/api/resources/common/types/TranscriptionJob.d.ts +39 -0
  327. package/api/resources/common/types/TranscriptionJob.js +5 -0
  328. package/api/resources/common/types/TranscriptionJobEstimate.d.ts +20 -0
  329. package/api/resources/common/types/TranscriptionJobEstimate.js +5 -0
  330. package/api/resources/common/types/TranscriptionJobId.d.ts +7 -0
  331. package/api/resources/common/types/TranscriptionJobId.js +5 -0
  332. package/api/resources/common/types/TranscriptionJobStatus.d.ts +13 -0
  333. package/api/resources/common/types/TranscriptionJobStatus.js +12 -0
  334. package/api/resources/common/types/Tts.d.ts +1 -1
  335. package/api/resources/common/types/TtsGenerationResponse.d.ts +14 -0
  336. package/api/resources/common/types/TtsGenerationResponse.js +5 -0
  337. package/api/resources/common/types/TtsJob.d.ts +25 -0
  338. package/api/resources/common/types/TtsJob.js +5 -0
  339. package/api/resources/common/types/TtsJobError.d.ts +13 -0
  340. package/api/resources/common/types/TtsJobError.js +5 -0
  341. package/api/resources/common/types/TtsJobErrorCode.d.ts +16 -0
  342. package/api/resources/common/types/TtsJobErrorCode.js +15 -0
  343. package/api/resources/common/types/TtsJobStatus.d.ts +13 -0
  344. package/api/resources/common/types/TtsJobStatus.js +12 -0
  345. package/api/resources/common/types/UpdateAssetRequest.d.ts +23 -0
  346. package/api/resources/common/types/UpdateAssetRequest.js +5 -0
  347. package/api/resources/common/types/UpdateProjectRequest.d.ts +17 -0
  348. package/api/resources/common/types/UpdateProjectRequest.js +5 -0
  349. package/api/resources/common/types/Video.d.ts +5 -3
  350. package/api/resources/common/types/Voice.d.ts +23 -0
  351. package/api/resources/common/types/Voice.js +5 -0
  352. package/api/resources/common/types/VoiceCloneRateLimitError.d.ts +16 -0
  353. package/api/resources/common/types/VoiceCloneRateLimitError.js +5 -0
  354. package/api/resources/common/types/VoiceProvider.d.ts +10 -0
  355. package/api/resources/common/types/VoiceProvider.js +9 -0
  356. package/api/resources/common/types/VoiceRestriction.d.ts +11 -0
  357. package/api/resources/common/types/VoiceRestriction.js +10 -0
  358. package/api/resources/common/types/index.d.ts +119 -1
  359. package/api/resources/common/types/index.js +119 -1
  360. package/api/resources/dialogueEdits/client/Client.d.ts +99 -0
  361. package/api/resources/dialogueEdits/client/Client.js +248 -0
  362. package/api/resources/dialogueEdits/client/index.d.ts +1 -0
  363. package/api/resources/dialogueEdits/client/index.js +17 -0
  364. package/api/resources/dialogueEdits/client/requests/CreateDialogueEditRequest.d.ts +46 -0
  365. package/api/resources/dialogueEdits/client/requests/CreateDialogueEditRequest.js +5 -0
  366. package/api/resources/dialogueEdits/client/requests/index.d.ts +1 -0
  367. package/api/resources/dialogueEdits/client/requests/index.js +2 -0
  368. package/api/resources/dialogueEdits/index.d.ts +1 -0
  369. package/api/resources/dialogueEdits/index.js +17 -0
  370. package/api/resources/errors/client/Client.d.ts +44 -0
  371. package/api/resources/errors/client/Client.js +127 -0
  372. package/api/resources/errors/client/index.d.ts +1 -0
  373. package/api/resources/errors/client/index.js +2 -0
  374. package/api/resources/errors/index.d.ts +1 -0
  375. package/api/resources/errors/index.js +17 -0
  376. package/api/resources/feedback/client/Client.d.ts +55 -0
  377. package/api/resources/feedback/client/Client.js +145 -0
  378. package/api/resources/feedback/client/index.d.ts +1 -0
  379. package/api/resources/feedback/client/index.js +17 -0
  380. package/api/resources/feedback/client/requests/SubmitFeedbackRequest.d.ts +37 -0
  381. package/api/resources/feedback/client/requests/SubmitFeedbackRequest.js +5 -0
  382. package/api/resources/feedback/client/requests/index.d.ts +1 -0
  383. package/api/resources/feedback/client/requests/index.js +2 -0
  384. package/api/resources/feedback/errors/FeedbackTooManyRequestsError.d.ts +9 -0
  385. package/api/resources/feedback/errors/FeedbackTooManyRequestsError.js +52 -0
  386. package/api/resources/feedback/errors/index.d.ts +1 -0
  387. package/api/resources/feedback/errors/index.js +17 -0
  388. package/api/resources/feedback/index.d.ts +3 -0
  389. package/api/resources/feedback/index.js +19 -0
  390. package/api/resources/feedback/types/FeedbackClient.d.ts +9 -0
  391. package/api/resources/feedback/types/FeedbackClient.js +5 -0
  392. package/api/resources/feedback/types/FeedbackKind.d.ts +12 -0
  393. package/api/resources/feedback/types/FeedbackKind.js +14 -0
  394. package/api/resources/feedback/types/FeedbackRateLimitError.d.ts +16 -0
  395. package/api/resources/feedback/types/FeedbackRateLimitError.js +5 -0
  396. package/api/resources/feedback/types/FeedbackReceipt.d.ts +9 -0
  397. package/api/resources/feedback/types/FeedbackReceipt.js +5 -0
  398. package/api/resources/feedback/types/FeedbackSeverity.d.ts +9 -0
  399. package/api/resources/feedback/types/FeedbackSeverity.js +11 -0
  400. package/api/resources/feedback/types/FeedbackSource.d.ts +8 -0
  401. package/api/resources/feedback/types/FeedbackSource.js +10 -0
  402. package/api/resources/feedback/types/index.d.ts +6 -0
  403. package/api/resources/feedback/types/index.js +22 -0
  404. package/api/resources/generationCosts/index.d.ts +1 -0
  405. package/api/resources/generationCosts/index.js +17 -0
  406. package/api/resources/generationCosts/types/CostAvailability.d.ts +10 -0
  407. package/api/resources/generationCosts/types/CostAvailability.js +12 -0
  408. package/api/resources/generationCosts/types/CostComponent.d.ts +19 -0
  409. package/api/resources/generationCosts/types/CostComponent.js +5 -0
  410. package/api/resources/generationCosts/types/CostComponentStatus.d.ts +10 -0
  411. package/api/resources/generationCosts/types/CostComponentStatus.js +12 -0
  412. package/api/resources/generationCosts/types/CostComponentType.d.ts +9 -0
  413. package/api/resources/generationCosts/types/CostComponentType.js +11 -0
  414. package/api/resources/generationCosts/types/CostSource.d.ts +9 -0
  415. package/api/resources/generationCosts/types/CostSource.js +11 -0
  416. package/api/resources/generationCosts/types/CostUnit.d.ts +8 -0
  417. package/api/resources/generationCosts/types/CostUnit.js +10 -0
  418. package/api/resources/generationCosts/types/CostValueBasis.d.ts +9 -0
  419. package/api/resources/generationCosts/types/CostValueBasis.js +11 -0
  420. package/api/resources/generationCosts/types/GenerationCosts.d.ts +23 -0
  421. package/api/resources/generationCosts/types/GenerationCosts.js +5 -0
  422. package/api/resources/generationCosts/types/GenerationCostsApiKey.d.ts +10 -0
  423. package/api/resources/generationCosts/types/GenerationCostsApiKey.js +5 -0
  424. package/api/resources/generationCosts/types/GenerationCostsList.d.ts +12 -0
  425. package/api/resources/generationCosts/types/GenerationCostsList.js +5 -0
  426. package/api/resources/generationCosts/types/GenerationCostsListItem.d.ts +17 -0
  427. package/api/resources/generationCosts/types/GenerationCostsListItem.js +5 -0
  428. package/api/resources/generationCosts/types/index.d.ts +11 -0
  429. package/api/resources/generationCosts/types/index.js +27 -0
  430. package/api/resources/generations/client/Client.d.ts +194 -19
  431. package/api/resources/generations/client/Client.js +591 -31
  432. package/api/resources/generations/client/requests/CountGenerationsRequest.d.ts +30 -0
  433. package/api/resources/generations/client/requests/CountGenerationsRequest.js +5 -0
  434. package/api/resources/generations/client/requests/CreateGenerationJsonRequest.d.ts +51 -0
  435. package/api/resources/generations/client/requests/CreateGenerationJsonRequest.js +5 -0
  436. package/api/resources/generations/client/requests/CreateGenerationRequest.d.ts +13 -1
  437. package/api/resources/generations/client/requests/GetGenerationDownloadRequest.d.ts +17 -0
  438. package/api/resources/generations/client/requests/GetGenerationDownloadRequest.js +5 -0
  439. package/api/resources/generations/client/requests/GetGenerationRequest.d.ts +21 -0
  440. package/api/resources/generations/client/requests/GetGenerationRequest.js +5 -0
  441. package/api/resources/generations/client/requests/ListGenerationCostsRequest.d.ts +29 -0
  442. package/api/resources/generations/client/requests/ListGenerationCostsRequest.js +5 -0
  443. package/api/resources/generations/client/requests/ListGenerationsRequest.d.ts +16 -0
  444. package/api/resources/generations/client/requests/index.d.ts +5 -0
  445. package/api/resources/index.d.ts +24 -0
  446. package/api/resources/index.js +25 -1
  447. package/api/resources/models/client/Client.d.ts +1 -1
  448. package/api/resources/models/client/Client.js +1 -1
  449. package/api/resources/organizations/client/Client.d.ts +46 -0
  450. package/api/resources/organizations/client/Client.js +137 -0
  451. package/api/resources/organizations/client/index.d.ts +1 -0
  452. package/api/resources/organizations/client/index.js +17 -0
  453. package/api/resources/organizations/client/requests/GetWebhookSecretRequest.d.ts +13 -0
  454. package/api/resources/organizations/client/requests/GetWebhookSecretRequest.js +5 -0
  455. package/api/resources/organizations/client/requests/index.d.ts +1 -0
  456. package/api/resources/organizations/client/requests/index.js +2 -0
  457. package/api/resources/organizations/index.d.ts +2 -0
  458. package/api/resources/organizations/index.js +18 -0
  459. package/api/resources/organizations/types/WebhookSecretResponse.d.ts +10 -0
  460. package/api/resources/organizations/types/WebhookSecretResponse.js +5 -0
  461. package/api/resources/organizations/types/index.d.ts +1 -0
  462. package/api/resources/organizations/types/index.js +17 -0
  463. package/api/resources/projects/client/Client.d.ts +159 -0
  464. package/api/resources/projects/client/Client.js +582 -0
  465. package/api/resources/projects/client/index.d.ts +1 -0
  466. package/api/resources/projects/client/index.js +17 -0
  467. package/api/resources/projects/client/requests/ListProjectsRequest.d.ts +29 -0
  468. package/api/resources/projects/client/requests/ListProjectsRequest.js +5 -0
  469. package/api/resources/projects/client/requests/index.d.ts +1 -0
  470. package/api/resources/projects/client/requests/index.js +2 -0
  471. package/api/resources/projects/index.d.ts +1 -0
  472. package/api/resources/projects/index.js +17 -0
  473. package/api/resources/transcriptions/client/Client.d.ts +132 -0
  474. package/api/resources/transcriptions/client/Client.js +442 -0
  475. package/api/resources/transcriptions/client/index.d.ts +1 -0
  476. package/api/resources/transcriptions/client/index.js +2 -0
  477. package/api/resources/transcriptions/index.d.ts +1 -0
  478. package/api/resources/transcriptions/index.js +17 -0
  479. package/api/resources/tts/client/Client.d.ts +93 -0
  480. package/api/resources/tts/client/Client.js +306 -0
  481. package/api/resources/tts/client/index.d.ts +1 -0
  482. package/api/resources/tts/client/index.js +17 -0
  483. package/api/resources/tts/client/requests/SubmitTtsJobRequest.d.ts +18 -0
  484. package/api/resources/tts/client/requests/SubmitTtsJobRequest.js +5 -0
  485. package/api/resources/tts/client/requests/index.d.ts +1 -0
  486. package/api/resources/tts/client/requests/index.js +2 -0
  487. package/api/resources/tts/index.d.ts +1 -0
  488. package/api/resources/tts/index.js +17 -0
  489. package/api/resources/voices/client/Client.d.ts +111 -0
  490. package/api/resources/voices/client/Client.js +381 -0
  491. package/api/resources/voices/client/index.d.ts +1 -0
  492. package/api/resources/voices/client/index.js +17 -0
  493. package/api/resources/voices/client/requests/GetVoiceRequest.d.ts +14 -0
  494. package/api/resources/voices/client/requests/GetVoiceRequest.js +5 -0
  495. package/api/resources/voices/client/requests/ListVoicesRequest.d.ts +14 -0
  496. package/api/resources/voices/client/requests/ListVoicesRequest.js +5 -0
  497. package/api/resources/voices/client/requests/index.d.ts +2 -0
  498. package/api/resources/voices/client/requests/index.js +2 -0
  499. package/api/resources/voices/index.d.ts +1 -0
  500. package/api/resources/voices/index.js +17 -0
  501. package/api/resources/webhooks/types/BatchNotification.d.ts +21 -0
  502. package/api/resources/webhooks/types/BatchNotification.js +5 -0
  503. package/api/resources/webhooks/types/BatchNotificationMetrics.d.ts +13 -0
  504. package/api/resources/webhooks/types/BatchNotificationMetrics.js +5 -0
  505. package/api/resources/webhooks/types/GenerationNotification.d.ts +18 -16
  506. package/api/resources/webhooks/types/WebhookStatus.d.ts +4 -2
  507. package/api/resources/webhooks/types/WebhookStatus.js +2 -0
  508. package/api/resources/webhooks/types/index.d.ts +2 -0
  509. package/api/resources/webhooks/types/index.js +2 -0
  510. package/dist/Client.d.ts +31 -1
  511. package/dist/Client.js +58 -8
  512. package/dist/api/resources/account/client/Client.d.ts +63 -0
  513. package/dist/api/resources/account/client/Client.js +204 -0
  514. package/dist/api/resources/account/client/index.d.ts +1 -0
  515. package/dist/api/resources/account/client/index.js +17 -0
  516. package/dist/api/resources/account/client/requests/GetAccountRequest.d.ts +13 -0
  517. package/dist/api/resources/account/client/requests/GetAccountRequest.js +5 -0
  518. package/dist/api/resources/account/client/requests/ListAccountOrganizationsRequest.d.ts +13 -0
  519. package/dist/api/resources/account/client/requests/ListAccountOrganizationsRequest.js +5 -0
  520. package/dist/api/resources/account/client/requests/index.d.ts +2 -0
  521. package/dist/api/resources/account/client/requests/index.js +2 -0
  522. package/dist/api/resources/account/index.d.ts +2 -0
  523. package/dist/api/resources/account/index.js +18 -0
  524. package/dist/api/resources/account/types/AccountActiveJobs.d.ts +9 -0
  525. package/dist/api/resources/account/types/AccountActiveJobs.js +5 -0
  526. package/dist/api/resources/account/types/AccountAllowanceUsage.d.ts +11 -0
  527. package/dist/api/resources/account/types/AccountAllowanceUsage.js +5 -0
  528. package/dist/api/resources/account/types/AccountBillingModel.d.ts +10 -0
  529. package/dist/api/resources/account/types/AccountBillingModel.js +12 -0
  530. package/dist/api/resources/account/types/AccountBillingPeriod.d.ts +7 -0
  531. package/dist/api/resources/account/types/AccountBillingPeriod.js +5 -0
  532. package/dist/api/resources/account/types/AccountCredentialType.d.ts +9 -0
  533. package/dist/api/resources/account/types/AccountCredentialType.js +11 -0
  534. package/dist/api/resources/account/types/AccountCredits.d.ts +11 -0
  535. package/dist/api/resources/account/types/AccountCredits.js +5 -0
  536. package/dist/api/resources/account/types/AccountFreeAllowance.d.ts +12 -0
  537. package/dist/api/resources/account/types/AccountFreeAllowance.js +5 -0
  538. package/dist/api/resources/account/types/AccountLimits.d.ts +13 -0
  539. package/dist/api/resources/account/types/AccountLimits.js +5 -0
  540. package/dist/api/resources/account/types/AccountOrganization.d.ts +9 -0
  541. package/dist/api/resources/account/types/AccountOrganization.js +5 -0
  542. package/dist/api/resources/account/types/AccountOrganizationListItem.d.ts +9 -0
  543. package/dist/api/resources/account/types/AccountOrganizationListItem.js +5 -0
  544. package/dist/api/resources/account/types/AccountOrganizations.d.ts +7 -0
  545. package/dist/api/resources/account/types/AccountOrganizations.js +5 -0
  546. package/dist/api/resources/account/types/AccountOverview.d.ts +35 -0
  547. package/dist/api/resources/account/types/AccountOverview.js +5 -0
  548. package/dist/api/resources/account/types/AccountPlan.d.ts +9 -0
  549. package/dist/api/resources/account/types/AccountPlan.js +5 -0
  550. package/dist/api/resources/account/types/AccountUser.d.ts +8 -0
  551. package/dist/api/resources/account/types/AccountUser.js +5 -0
  552. package/dist/api/resources/account/types/index.d.ts +14 -0
  553. package/dist/api/resources/account/types/index.js +30 -0
  554. package/dist/api/resources/assets/client/Client.d.ts +150 -1
  555. package/dist/api/resources/assets/client/Client.js +601 -3
  556. package/dist/api/resources/assets/client/requests/CountAssetsRequest.d.ts +30 -0
  557. package/dist/api/resources/assets/client/requests/CountAssetsRequest.js +5 -0
  558. package/dist/api/resources/assets/client/requests/FindUploadedAssetRequest.d.ts +18 -0
  559. package/dist/api/resources/assets/client/requests/FindUploadedAssetRequest.js +5 -0
  560. package/dist/api/resources/assets/client/requests/ListAssetsRequest.d.ts +5 -1
  561. package/dist/api/resources/assets/client/requests/index.d.ts +2 -0
  562. package/dist/api/resources/audioTrims/client/Client.d.ts +72 -0
  563. package/dist/api/resources/audioTrims/client/Client.js +217 -0
  564. package/dist/api/resources/audioTrims/client/index.d.ts +1 -0
  565. package/dist/api/resources/audioTrims/client/index.js +17 -0
  566. package/dist/api/resources/audioTrims/client/requests/CreateAudioTrimRequest.d.ts +21 -0
  567. package/dist/api/resources/audioTrims/client/requests/CreateAudioTrimRequest.js +5 -0
  568. package/dist/api/resources/audioTrims/client/requests/index.d.ts +1 -0
  569. package/dist/api/resources/audioTrims/client/requests/index.js +2 -0
  570. package/dist/api/resources/audioTrims/index.d.ts +1 -0
  571. package/dist/api/resources/audioTrims/index.js +17 -0
  572. package/dist/api/resources/batch/client/Client.d.ts +287 -2
  573. package/dist/api/resources/batch/client/Client.js +354 -4
  574. package/dist/api/resources/batch/client/requests/CreateBatchFromRowsRequest.d.ts +279 -0
  575. package/dist/api/resources/batch/client/requests/CreateBatchFromRowsRequest.js +5 -0
  576. package/dist/api/resources/batch/client/requests/CreateBatchRequest.d.ts +2 -2
  577. package/dist/api/resources/batch/client/requests/index.d.ts +1 -0
  578. package/dist/api/resources/common/errors/AudioTrimTooManyRequestsError.d.ts +9 -0
  579. package/dist/api/resources/common/errors/AudioTrimTooManyRequestsError.js +52 -0
  580. package/dist/api/resources/common/errors/ConflictError.d.ts +9 -0
  581. package/dist/api/resources/common/errors/ConflictError.js +52 -0
  582. package/dist/api/resources/common/errors/ForbiddenError.d.ts +9 -0
  583. package/dist/api/resources/common/errors/ForbiddenError.js +52 -0
  584. package/dist/api/resources/common/errors/GatewayTimeoutError.d.ts +9 -0
  585. package/dist/api/resources/common/errors/GatewayTimeoutError.js +52 -0
  586. package/dist/api/resources/common/errors/GenerationDeletedError.d.ts +9 -0
  587. package/dist/api/resources/common/errors/GenerationDeletedError.js +52 -0
  588. package/dist/api/resources/common/errors/GenerationTooManyRequestsError.d.ts +9 -0
  589. package/dist/api/resources/common/errors/GenerationTooManyRequestsError.js +52 -0
  590. package/dist/api/resources/common/errors/LinkImportInProgressError.d.ts +9 -0
  591. package/dist/api/resources/common/errors/LinkImportInProgressError.js +52 -0
  592. package/dist/api/resources/common/errors/LinkImportTooManyRequestsError.d.ts +9 -0
  593. package/dist/api/resources/common/errors/LinkImportTooManyRequestsError.js +52 -0
  594. package/dist/api/resources/common/errors/PayloadTooLargeError.d.ts +9 -0
  595. package/dist/api/resources/common/errors/PayloadTooLargeError.js +52 -0
  596. package/dist/api/resources/common/errors/ServiceUnavailableError.d.ts +9 -0
  597. package/dist/api/resources/common/errors/ServiceUnavailableError.js +52 -0
  598. package/dist/api/resources/common/errors/SpeakerAnalysisTooManyRequestsError.d.ts +9 -0
  599. package/dist/api/resources/common/errors/SpeakerAnalysisTooManyRequestsError.js +52 -0
  600. package/dist/api/resources/common/errors/TooManyRequestsError.d.ts +1 -1
  601. package/dist/api/resources/common/errors/UnprocessableEntityError.d.ts +9 -0
  602. package/dist/api/resources/common/errors/UnprocessableEntityError.js +52 -0
  603. package/dist/api/resources/common/errors/VoiceCloneTooManyRequestsError.d.ts +9 -0
  604. package/dist/api/resources/common/errors/VoiceCloneTooManyRequestsError.js +52 -0
  605. package/dist/api/resources/common/errors/index.d.ts +13 -0
  606. package/dist/api/resources/common/errors/index.js +13 -0
  607. package/dist/api/resources/common/types/ActiveSpeaker.d.ts +10 -4
  608. package/dist/api/resources/common/types/AnalyzeSpeakersRequest.d.ts +14 -0
  609. package/dist/api/resources/common/types/AnalyzeSpeakersRequest.js +5 -0
  610. package/dist/api/resources/common/types/Asset.d.ts +4 -0
  611. package/dist/api/resources/common/types/AssetAudioSource.d.ts +17 -0
  612. package/dist/api/resources/common/types/AssetAudioSource.js +10 -0
  613. package/dist/api/resources/common/types/AssetIds.d.ts +4 -0
  614. package/dist/api/resources/common/types/AssetIds.js +5 -0
  615. package/dist/api/resources/common/types/AssetInputType.d.ts +8 -1
  616. package/dist/api/resources/common/types/AssetInputType.js +7 -0
  617. package/dist/api/resources/common/types/AssetUploadResponse.d.ts +14 -0
  618. package/dist/api/resources/common/types/AssetUploadResponse.js +5 -0
  619. package/dist/api/resources/common/types/AttachProjectAssetRequest.d.ts +11 -0
  620. package/dist/api/resources/common/types/AttachProjectAssetRequest.js +5 -0
  621. package/dist/api/resources/common/types/Audio.d.ts +2 -2
  622. package/dist/api/resources/common/types/AudioTrim.d.ts +20 -0
  623. package/dist/api/resources/common/types/AudioTrim.js +5 -0
  624. package/dist/api/resources/common/types/AudioTrimStatus.d.ts +13 -0
  625. package/dist/api/resources/common/types/AudioTrimStatus.js +12 -0
  626. package/dist/api/resources/common/types/BatchConcurrencyError.d.ts +21 -0
  627. package/dist/api/resources/common/types/BatchConcurrencyError.js +5 -0
  628. package/dist/api/resources/common/types/BatchGetAssetsRequest.d.ts +8 -0
  629. package/dist/api/resources/common/types/BatchGetAssetsRequest.js +5 -0
  630. package/dist/api/resources/common/types/BatchResponse.d.ts +2 -2
  631. package/dist/api/resources/common/types/BatchRow.d.ts +15 -0
  632. package/dist/api/resources/common/types/BatchRow.js +5 -0
  633. package/dist/api/resources/common/types/BlendingMode.d.ts +9 -0
  634. package/dist/api/resources/common/types/BlendingMode.js +11 -0
  635. package/dist/api/resources/common/types/ClonedVoiceResponse.d.ts +14 -0
  636. package/dist/api/resources/common/types/ClonedVoiceResponse.js +5 -0
  637. package/dist/api/resources/common/types/CreateAssetRequest.d.ts +35 -0
  638. package/dist/api/resources/common/types/CreateAssetRequest.js +5 -0
  639. package/dist/api/resources/common/types/CreateAssetUploadRequest.d.ts +14 -0
  640. package/dist/api/resources/common/types/CreateAssetUploadRequest.js +5 -0
  641. package/dist/api/resources/common/types/CreateAudioTrimDto.d.ts +16 -0
  642. package/dist/api/resources/common/types/CreateAudioTrimDto.js +5 -0
  643. package/dist/api/resources/common/types/CreateDialogueEditDto.d.ts +27 -0
  644. package/dist/api/resources/common/types/CreateDialogueEditDto.js +5 -0
  645. package/dist/api/resources/common/types/CreateGenerationDto.d.ts +12 -4
  646. package/dist/api/resources/common/types/CreateProjectRequest.d.ts +21 -0
  647. package/dist/api/resources/common/types/CreateProjectRequest.js +5 -0
  648. package/dist/api/resources/common/types/CreateTranscriptionDto.d.ts +21 -0
  649. package/dist/api/resources/common/types/CreateTranscriptionDto.js +5 -0
  650. package/dist/api/resources/common/types/CreateTtsRequest.d.ts +19 -0
  651. package/dist/api/resources/common/types/CreateTtsRequest.js +5 -0
  652. package/dist/api/resources/common/types/CreateVoiceRequest.d.ts +19 -0
  653. package/dist/api/resources/common/types/CreateVoiceRequest.js +5 -0
  654. package/dist/api/resources/common/types/CreatorWorkflow.d.ts +37 -0
  655. package/dist/api/resources/common/types/CreatorWorkflow.js +15 -0
  656. package/dist/api/resources/common/types/DeleteAssetResponse.d.ts +11 -0
  657. package/dist/api/resources/common/types/DeleteAssetResponse.js +5 -0
  658. package/dist/api/resources/common/types/DeleteProjectResponse.d.ts +11 -0
  659. package/dist/api/resources/common/types/DeleteProjectResponse.js +5 -0
  660. package/dist/api/resources/common/types/DialogueEditChange.d.ts +14 -0
  661. package/dist/api/resources/common/types/DialogueEditChange.js +5 -0
  662. package/dist/api/resources/common/types/DialogueEditError.d.ts +19 -0
  663. package/dist/api/resources/common/types/DialogueEditError.js +5 -0
  664. package/dist/api/resources/common/types/DialogueEditErrorCode.d.ts +20 -0
  665. package/dist/api/resources/common/types/DialogueEditErrorCode.js +19 -0
  666. package/dist/api/resources/common/types/DialogueEditFailedSlot.d.ts +12 -0
  667. package/dist/api/resources/common/types/DialogueEditFailedSlot.js +5 -0
  668. package/dist/api/resources/common/types/DialogueEditJob.d.ts +49 -0
  669. package/dist/api/resources/common/types/DialogueEditJob.js +5 -0
  670. package/dist/api/resources/common/types/DialogueEditJobId.d.ts +7 -0
  671. package/dist/api/resources/common/types/DialogueEditJobId.js +5 -0
  672. package/dist/api/resources/common/types/DialogueEditJobStatus.d.ts +14 -0
  673. package/dist/api/resources/common/types/DialogueEditJobStatus.js +13 -0
  674. package/dist/api/resources/common/types/DialogueEditOperation.d.ts +16 -0
  675. package/dist/api/resources/common/types/DialogueEditOperation.js +5 -0
  676. package/dist/api/resources/common/types/DialogueEditPartialDetail.d.ts +17 -0
  677. package/dist/api/resources/common/types/DialogueEditPartialDetail.js +5 -0
  678. package/dist/api/resources/common/types/DialogueEditReference.d.ts +11 -0
  679. package/dist/api/resources/common/types/DialogueEditReference.js +5 -0
  680. package/dist/api/resources/common/types/DialogueEditRemoval.d.ts +10 -0
  681. package/dist/api/resources/common/types/DialogueEditRemoval.js +5 -0
  682. package/dist/api/resources/common/types/DialogueEditResultSlot.d.ts +19 -0
  683. package/dist/api/resources/common/types/DialogueEditResultSlot.js +5 -0
  684. package/dist/api/resources/common/types/DialogueEditResultSlotKind.d.ts +12 -0
  685. package/dist/api/resources/common/types/DialogueEditResultSlotKind.js +11 -0
  686. package/dist/api/resources/common/types/DialogueEditRetimeFailureSection.d.ts +14 -0
  687. package/dist/api/resources/common/types/DialogueEditRetimeFailureSection.js +5 -0
  688. package/dist/api/resources/common/types/DubDto.d.ts +23 -0
  689. package/dist/api/resources/common/types/DubDto.js +5 -0
  690. package/dist/api/resources/common/types/DubLanguage.d.ts +125 -0
  691. package/dist/api/resources/common/types/DubLanguage.js +118 -0
  692. package/dist/api/resources/common/types/DubProviderName.d.ts +10 -0
  693. package/dist/api/resources/common/types/DubProviderName.js +9 -0
  694. package/dist/api/resources/common/types/DubSourceLanguage.d.ts +126 -0
  695. package/dist/api/resources/common/types/DubSourceLanguage.js +119 -0
  696. package/dist/api/resources/common/types/ErrorCatalogEntry.d.ts +14 -0
  697. package/dist/api/resources/common/types/ErrorCatalogEntry.js +5 -0
  698. package/dist/api/resources/common/types/EstimateBreakdown.d.ts +13 -0
  699. package/dist/api/resources/common/types/EstimateBreakdown.js +5 -0
  700. package/dist/api/resources/common/types/EstimateCostRequest.d.ts +16 -0
  701. package/dist/api/resources/common/types/EstimateCostRequest.js +5 -0
  702. package/dist/api/resources/common/types/EstimateDubbingBilling.d.ts +10 -0
  703. package/dist/api/resources/common/types/EstimateDubbingBilling.js +12 -0
  704. package/dist/api/resources/common/types/EstimateDubbingPart.d.ts +12 -0
  705. package/dist/api/resources/common/types/EstimateDubbingPart.js +5 -0
  706. package/dist/api/resources/common/types/EstimateDurationCheck.d.ts +22 -0
  707. package/dist/api/resources/common/types/EstimateDurationCheck.js +5 -0
  708. package/dist/api/resources/common/types/EstimateLipsyncPart.d.ts +9 -0
  709. package/dist/api/resources/common/types/EstimateLipsyncPart.js +5 -0
  710. package/dist/api/resources/common/types/EstimateWorkflow.d.ts +11 -0
  711. package/dist/api/resources/common/types/{ModelType.js → EstimateWorkflow.js} +3 -3
  712. package/dist/api/resources/common/types/EstimatedGenerationCost.d.ts +7 -0
  713. package/dist/api/resources/common/types/FindUploadedAssetResponse.d.ts +8 -0
  714. package/dist/api/resources/common/types/FindUploadedAssetResponse.js +5 -0
  715. package/dist/api/resources/common/types/Generation.d.ts +17 -3
  716. package/dist/api/resources/common/types/GenerationConcurrencyError.d.ts +21 -0
  717. package/dist/api/resources/common/types/GenerationConcurrencyError.js +5 -0
  718. package/dist/api/resources/common/types/GenerationCount.d.ts +6 -0
  719. package/dist/api/resources/common/types/GenerationCount.js +5 -0
  720. package/dist/api/resources/common/types/GenerationCountType.d.ts +8 -0
  721. package/dist/api/resources/common/types/GenerationCountType.js +10 -0
  722. package/dist/api/resources/common/types/GenerationError.d.ts +20 -0
  723. package/dist/api/resources/common/types/GenerationEstimate.d.ts +39 -0
  724. package/dist/api/resources/common/types/GenerationEstimate.js +5 -0
  725. package/dist/api/resources/common/types/GenerationEstimateConfidence.d.ts +12 -0
  726. package/dist/api/resources/common/types/GenerationEstimateConfidence.js +11 -0
  727. package/dist/api/resources/common/types/GenerationEstimateResolutionSource.d.ts +12 -0
  728. package/dist/api/resources/common/types/GenerationEstimateResolutionSource.js +11 -0
  729. package/dist/api/resources/common/types/GenerationEstimateScope.d.ts +11 -0
  730. package/dist/api/resources/common/types/GenerationEstimateScope.js +10 -0
  731. package/dist/api/resources/common/types/GenerationEstimateSource.d.ts +15 -0
  732. package/dist/api/resources/common/types/GenerationEstimateSource.js +14 -0
  733. package/dist/api/resources/common/types/GenerationOptions.d.ts +22 -4
  734. package/dist/api/resources/common/types/GenerationProgress.d.ts +24 -0
  735. package/dist/api/resources/common/types/GenerationProgress.js +5 -0
  736. package/dist/api/resources/common/types/GenerationProgressStage.d.ts +13 -0
  737. package/dist/api/resources/common/types/GenerationProgressStage.js +12 -0
  738. package/dist/api/resources/common/types/GenerationSegment.d.ts +14 -6
  739. package/dist/api/resources/common/types/GenerationSource.d.ts +17 -0
  740. package/dist/api/resources/common/types/GenerationSource.js +19 -0
  741. package/dist/api/resources/common/types/GenerationStatus.d.ts +3 -2
  742. package/dist/api/resources/common/types/GenerationStatus.js +1 -0
  743. package/dist/api/resources/common/types/Image.d.ts +16 -0
  744. package/dist/api/resources/common/types/Image.js +5 -0
  745. package/dist/api/resources/common/types/Input.d.ts +1 -1
  746. package/dist/api/resources/common/types/LinkImportError.d.ts +33 -0
  747. package/dist/api/resources/common/types/LinkImportError.js +5 -0
  748. package/dist/api/resources/common/types/LinkImportStatus.d.ts +14 -0
  749. package/dist/api/resources/common/types/LinkImportStatus.js +13 -0
  750. package/dist/api/resources/common/types/Model.d.ts +2 -2
  751. package/dist/api/resources/common/types/Model.js +1 -1
  752. package/dist/api/resources/common/types/ModelInfo.d.ts +3 -2
  753. package/dist/api/resources/common/types/OutputAudio.d.ts +10 -0
  754. package/dist/api/resources/common/types/OutputAudio.js +5 -0
  755. package/dist/api/resources/common/types/OutputFormat.d.ts +8 -0
  756. package/dist/api/resources/common/types/OutputFormat.js +10 -0
  757. package/dist/api/resources/common/types/PaginatedProjectsResponse.d.ts +13 -0
  758. package/dist/api/resources/common/types/PaginatedProjectsResponse.js +5 -0
  759. package/dist/api/resources/common/types/Project.d.ts +24 -0
  760. package/dist/api/resources/common/types/Project.js +5 -0
  761. package/dist/api/resources/common/types/ProjectGeneration.d.ts +41 -0
  762. package/dist/api/resources/common/types/ProjectGeneration.js +5 -0
  763. package/dist/api/resources/common/types/ProjectGenerationError.d.ts +12 -0
  764. package/dist/api/resources/common/types/ProjectGenerationError.js +5 -0
  765. package/dist/api/resources/common/types/ProjectGenerationErrorReason.d.ts +7 -0
  766. package/dist/api/resources/common/types/ProjectGenerationErrorReason.js +9 -0
  767. package/dist/api/resources/common/types/ProjectGenerationInput.d.ts +18 -0
  768. package/dist/api/resources/common/types/ProjectGenerationInput.js +5 -0
  769. package/dist/api/resources/common/types/ProjectGenerationModel.d.ts +12 -0
  770. package/dist/api/resources/common/types/ProjectGenerationModel.js +5 -0
  771. package/dist/api/resources/common/types/ProjectGenerationProvider.d.ts +10 -0
  772. package/dist/api/resources/common/types/ProjectGenerationProvider.js +5 -0
  773. package/dist/api/resources/common/types/ProjectGenerationSegment.d.ts +14 -0
  774. package/dist/api/resources/common/types/ProjectGenerationSegment.js +5 -0
  775. package/dist/api/resources/common/types/ProjectId.d.ts +7 -0
  776. package/dist/api/resources/common/types/ProjectId.js +5 -0
  777. package/dist/api/resources/common/types/ProjectListItem.d.ts +28 -0
  778. package/dist/api/resources/common/types/ProjectListItem.js +5 -0
  779. package/dist/api/resources/common/types/ProjectMode.d.ts +11 -0
  780. package/dist/api/resources/common/types/ProjectMode.js +10 -0
  781. package/dist/api/resources/common/types/ProjectSort.d.ts +11 -0
  782. package/dist/api/resources/common/types/ProjectSort.js +10 -0
  783. package/dist/api/resources/common/types/ProjectVisibility.d.ts +17 -0
  784. package/dist/api/resources/common/types/ProjectVisibility.js +10 -0
  785. package/dist/api/resources/common/types/SegmentAudioInput.d.ts +2 -2
  786. package/dist/api/resources/common/types/SegmentOptionsOverride.d.ts +17 -0
  787. package/dist/api/resources/common/types/SegmentOptionsOverride.js +5 -0
  788. package/dist/api/resources/common/types/SliceSpeakerFaceTrackRequest.d.ts +21 -0
  789. package/dist/api/resources/common/types/SliceSpeakerFaceTrackRequest.js +5 -0
  790. package/dist/api/resources/common/types/SpeakerAnalysis.d.ts +26 -0
  791. package/dist/api/resources/common/types/SpeakerAnalysis.js +5 -0
  792. package/dist/api/resources/common/types/SpeakerAnalysisSpeaker.d.ts +21 -0
  793. package/dist/api/resources/common/types/SpeakerAnalysisSpeaker.js +5 -0
  794. package/dist/api/resources/common/types/SpeakerAnalysisStatus.d.ts +12 -0
  795. package/dist/api/resources/common/types/SpeakerAnalysisStatus.js +11 -0
  796. package/dist/api/resources/common/types/SpeakerAvatar.d.ts +16 -0
  797. package/dist/api/resources/common/types/SpeakerAvatar.js +5 -0
  798. package/dist/api/resources/common/types/SpeakerAvatarBox.d.ts +12 -0
  799. package/dist/api/resources/common/types/SpeakerAvatarBox.js +5 -0
  800. package/dist/api/resources/common/types/SpeakerFaceSupport.d.ts +17 -0
  801. package/dist/api/resources/common/types/SpeakerFaceSupport.js +5 -0
  802. package/dist/api/resources/common/types/SpeakerFaceSupportInterval.d.ts +9 -0
  803. package/dist/api/resources/common/types/SpeakerFaceSupportInterval.js +5 -0
  804. package/dist/api/resources/common/types/SpeakerFaceTrack.d.ts +18 -0
  805. package/dist/api/resources/common/types/SpeakerFaceTrack.js +5 -0
  806. package/dist/api/resources/common/types/SpeakerFaceTrackSlice.d.ts +7 -0
  807. package/dist/api/resources/common/types/SpeakerFaceTrackSlice.js +5 -0
  808. package/dist/api/resources/common/types/SpeakerFaceTrackSliceFrames.d.ts +9 -0
  809. package/dist/api/resources/common/types/SpeakerFaceTrackSliceFrames.js +5 -0
  810. package/dist/api/resources/common/types/SpeakerMatchEvidence.d.ts +16 -0
  811. package/dist/api/resources/common/types/SpeakerMatchEvidence.js +5 -0
  812. package/dist/api/resources/common/types/SpeakerMatchStatus.d.ts +11 -0
  813. package/dist/api/resources/common/types/SpeakerMatchStatus.js +10 -0
  814. package/dist/api/resources/common/types/SyncMode.d.ts +1 -1
  815. package/dist/api/resources/common/types/Transcript.d.ts +15 -0
  816. package/dist/api/resources/common/types/Transcript.js +5 -0
  817. package/dist/api/resources/common/types/TranscriptSegment.d.ts +15 -0
  818. package/dist/api/resources/common/types/TranscriptSegment.js +5 -0
  819. package/dist/api/resources/common/types/TranscriptSpeaker.d.ts +13 -0
  820. package/dist/api/resources/common/types/TranscriptSpeaker.js +5 -0
  821. package/dist/api/resources/common/types/TranscriptSpeakerLabelFlag.d.ts +11 -0
  822. package/dist/api/resources/common/types/TranscriptSpeakerLabelFlag.js +10 -0
  823. package/dist/api/resources/common/types/TranscriptWord.d.ts +20 -0
  824. package/dist/api/resources/common/types/TranscriptWord.js +5 -0
  825. package/dist/api/resources/common/types/TranscriptionDifficulty.d.ts +13 -0
  826. package/dist/api/resources/common/types/TranscriptionDifficulty.js +5 -0
  827. package/dist/api/resources/common/types/TranscriptionDifficultyReason.d.ts +17 -0
  828. package/dist/api/resources/common/types/TranscriptionDifficultyReason.js +16 -0
  829. package/dist/api/resources/common/types/TranscriptionDifficultyTier.d.ts +12 -0
  830. package/dist/api/resources/common/types/TranscriptionDifficultyTier.js +11 -0
  831. package/dist/api/resources/common/types/TranscriptionError.d.ts +13 -0
  832. package/dist/api/resources/common/types/TranscriptionError.js +5 -0
  833. package/dist/api/resources/common/types/TranscriptionErrorCode.d.ts +16 -0
  834. package/dist/api/resources/common/types/TranscriptionErrorCode.js +15 -0
  835. package/dist/api/resources/common/types/TranscriptionJob.d.ts +39 -0
  836. package/dist/api/resources/common/types/TranscriptionJob.js +5 -0
  837. package/dist/api/resources/common/types/TranscriptionJobEstimate.d.ts +20 -0
  838. package/dist/api/resources/common/types/TranscriptionJobEstimate.js +5 -0
  839. package/dist/api/resources/common/types/TranscriptionJobId.d.ts +7 -0
  840. package/dist/api/resources/common/types/TranscriptionJobId.js +5 -0
  841. package/dist/api/resources/common/types/TranscriptionJobStatus.d.ts +13 -0
  842. package/dist/api/resources/common/types/TranscriptionJobStatus.js +12 -0
  843. package/dist/api/resources/common/types/Tts.d.ts +1 -1
  844. package/dist/api/resources/common/types/TtsGenerationResponse.d.ts +14 -0
  845. package/dist/api/resources/common/types/TtsGenerationResponse.js +5 -0
  846. package/dist/api/resources/common/types/TtsJob.d.ts +25 -0
  847. package/dist/api/resources/common/types/TtsJob.js +5 -0
  848. package/dist/api/resources/common/types/TtsJobError.d.ts +13 -0
  849. package/dist/api/resources/common/types/TtsJobError.js +5 -0
  850. package/dist/api/resources/common/types/TtsJobErrorCode.d.ts +16 -0
  851. package/dist/api/resources/common/types/TtsJobErrorCode.js +15 -0
  852. package/dist/api/resources/common/types/TtsJobStatus.d.ts +13 -0
  853. package/dist/api/resources/common/types/TtsJobStatus.js +12 -0
  854. package/dist/api/resources/common/types/UpdateAssetRequest.d.ts +23 -0
  855. package/dist/api/resources/common/types/UpdateAssetRequest.js +5 -0
  856. package/dist/api/resources/common/types/UpdateProjectRequest.d.ts +17 -0
  857. package/dist/api/resources/common/types/UpdateProjectRequest.js +5 -0
  858. package/dist/api/resources/common/types/Video.d.ts +5 -3
  859. package/dist/api/resources/common/types/Voice.d.ts +23 -0
  860. package/dist/api/resources/common/types/Voice.js +5 -0
  861. package/dist/api/resources/common/types/VoiceCloneRateLimitError.d.ts +16 -0
  862. package/dist/api/resources/common/types/VoiceCloneRateLimitError.js +5 -0
  863. package/dist/api/resources/common/types/VoiceProvider.d.ts +10 -0
  864. package/dist/api/resources/common/types/VoiceProvider.js +9 -0
  865. package/dist/api/resources/common/types/VoiceRestriction.d.ts +11 -0
  866. package/dist/api/resources/common/types/VoiceRestriction.js +10 -0
  867. package/dist/api/resources/common/types/index.d.ts +119 -1
  868. package/dist/api/resources/common/types/index.js +119 -1
  869. package/dist/api/resources/dialogueEdits/client/Client.d.ts +99 -0
  870. package/dist/api/resources/dialogueEdits/client/Client.js +248 -0
  871. package/dist/api/resources/dialogueEdits/client/index.d.ts +1 -0
  872. package/dist/api/resources/dialogueEdits/client/index.js +17 -0
  873. package/dist/api/resources/dialogueEdits/client/requests/CreateDialogueEditRequest.d.ts +46 -0
  874. package/dist/api/resources/dialogueEdits/client/requests/CreateDialogueEditRequest.js +5 -0
  875. package/dist/api/resources/dialogueEdits/client/requests/index.d.ts +1 -0
  876. package/dist/api/resources/dialogueEdits/client/requests/index.js +2 -0
  877. package/dist/api/resources/dialogueEdits/index.d.ts +1 -0
  878. package/dist/api/resources/dialogueEdits/index.js +17 -0
  879. package/dist/api/resources/errors/client/Client.d.ts +44 -0
  880. package/dist/api/resources/errors/client/Client.js +127 -0
  881. package/dist/api/resources/errors/client/index.d.ts +1 -0
  882. package/dist/api/resources/errors/client/index.js +2 -0
  883. package/dist/api/resources/errors/index.d.ts +1 -0
  884. package/dist/api/resources/errors/index.js +17 -0
  885. package/dist/api/resources/feedback/client/Client.d.ts +55 -0
  886. package/dist/api/resources/feedback/client/Client.js +145 -0
  887. package/dist/api/resources/feedback/client/index.d.ts +1 -0
  888. package/dist/api/resources/feedback/client/index.js +17 -0
  889. package/dist/api/resources/feedback/client/requests/SubmitFeedbackRequest.d.ts +37 -0
  890. package/dist/api/resources/feedback/client/requests/SubmitFeedbackRequest.js +5 -0
  891. package/dist/api/resources/feedback/client/requests/index.d.ts +1 -0
  892. package/dist/api/resources/feedback/client/requests/index.js +2 -0
  893. package/dist/api/resources/feedback/errors/FeedbackTooManyRequestsError.d.ts +9 -0
  894. package/dist/api/resources/feedback/errors/FeedbackTooManyRequestsError.js +52 -0
  895. package/dist/api/resources/feedback/errors/index.d.ts +1 -0
  896. package/dist/api/resources/feedback/errors/index.js +17 -0
  897. package/dist/api/resources/feedback/index.d.ts +3 -0
  898. package/dist/api/resources/feedback/index.js +19 -0
  899. package/dist/api/resources/feedback/types/FeedbackClient.d.ts +9 -0
  900. package/dist/api/resources/feedback/types/FeedbackClient.js +5 -0
  901. package/dist/api/resources/feedback/types/FeedbackKind.d.ts +12 -0
  902. package/dist/api/resources/feedback/types/FeedbackKind.js +14 -0
  903. package/dist/api/resources/feedback/types/FeedbackRateLimitError.d.ts +16 -0
  904. package/dist/api/resources/feedback/types/FeedbackRateLimitError.js +5 -0
  905. package/dist/api/resources/feedback/types/FeedbackReceipt.d.ts +9 -0
  906. package/dist/api/resources/feedback/types/FeedbackReceipt.js +5 -0
  907. package/dist/api/resources/feedback/types/FeedbackSeverity.d.ts +9 -0
  908. package/dist/api/resources/feedback/types/FeedbackSeverity.js +11 -0
  909. package/dist/api/resources/feedback/types/FeedbackSource.d.ts +8 -0
  910. package/dist/api/resources/feedback/types/FeedbackSource.js +10 -0
  911. package/dist/api/resources/feedback/types/index.d.ts +6 -0
  912. package/dist/api/resources/feedback/types/index.js +22 -0
  913. package/dist/api/resources/generationCosts/index.d.ts +1 -0
  914. package/dist/api/resources/generationCosts/index.js +17 -0
  915. package/dist/api/resources/generationCosts/types/CostAvailability.d.ts +10 -0
  916. package/dist/api/resources/generationCosts/types/CostAvailability.js +12 -0
  917. package/dist/api/resources/generationCosts/types/CostComponent.d.ts +19 -0
  918. package/dist/api/resources/generationCosts/types/CostComponent.js +5 -0
  919. package/dist/api/resources/generationCosts/types/CostComponentStatus.d.ts +10 -0
  920. package/dist/api/resources/generationCosts/types/CostComponentStatus.js +12 -0
  921. package/dist/api/resources/generationCosts/types/CostComponentType.d.ts +9 -0
  922. package/dist/api/resources/generationCosts/types/CostComponentType.js +11 -0
  923. package/dist/api/resources/generationCosts/types/CostSource.d.ts +9 -0
  924. package/dist/api/resources/generationCosts/types/CostSource.js +11 -0
  925. package/dist/api/resources/generationCosts/types/CostUnit.d.ts +8 -0
  926. package/dist/api/resources/generationCosts/types/CostUnit.js +10 -0
  927. package/dist/api/resources/generationCosts/types/CostValueBasis.d.ts +9 -0
  928. package/dist/api/resources/generationCosts/types/CostValueBasis.js +11 -0
  929. package/dist/api/resources/generationCosts/types/GenerationCosts.d.ts +23 -0
  930. package/dist/api/resources/generationCosts/types/GenerationCosts.js +5 -0
  931. package/dist/api/resources/generationCosts/types/GenerationCostsApiKey.d.ts +10 -0
  932. package/dist/api/resources/generationCosts/types/GenerationCostsApiKey.js +5 -0
  933. package/dist/api/resources/generationCosts/types/GenerationCostsList.d.ts +12 -0
  934. package/dist/api/resources/generationCosts/types/GenerationCostsList.js +5 -0
  935. package/dist/api/resources/generationCosts/types/GenerationCostsListItem.d.ts +17 -0
  936. package/dist/api/resources/generationCosts/types/GenerationCostsListItem.js +5 -0
  937. package/dist/api/resources/generationCosts/types/index.d.ts +11 -0
  938. package/dist/api/resources/generationCosts/types/index.js +27 -0
  939. package/dist/api/resources/generations/client/Client.d.ts +194 -19
  940. package/dist/api/resources/generations/client/Client.js +591 -31
  941. package/dist/api/resources/generations/client/requests/CountGenerationsRequest.d.ts +30 -0
  942. package/dist/api/resources/generations/client/requests/CountGenerationsRequest.js +5 -0
  943. package/dist/api/resources/generations/client/requests/CreateGenerationJsonRequest.d.ts +51 -0
  944. package/dist/api/resources/generations/client/requests/CreateGenerationJsonRequest.js +5 -0
  945. package/dist/api/resources/generations/client/requests/CreateGenerationRequest.d.ts +13 -1
  946. package/dist/api/resources/generations/client/requests/GetGenerationDownloadRequest.d.ts +17 -0
  947. package/dist/api/resources/generations/client/requests/GetGenerationDownloadRequest.js +5 -0
  948. package/dist/api/resources/generations/client/requests/GetGenerationRequest.d.ts +21 -0
  949. package/dist/api/resources/generations/client/requests/GetGenerationRequest.js +5 -0
  950. package/dist/api/resources/generations/client/requests/ListGenerationCostsRequest.d.ts +29 -0
  951. package/dist/api/resources/generations/client/requests/ListGenerationCostsRequest.js +5 -0
  952. package/dist/api/resources/generations/client/requests/ListGenerationsRequest.d.ts +16 -0
  953. package/dist/api/resources/generations/client/requests/index.d.ts +5 -0
  954. package/dist/api/resources/index.d.ts +24 -0
  955. package/dist/api/resources/index.js +25 -1
  956. package/dist/api/resources/models/client/Client.d.ts +1 -1
  957. package/dist/api/resources/models/client/Client.js +1 -1
  958. package/dist/api/resources/organizations/client/Client.d.ts +46 -0
  959. package/dist/api/resources/organizations/client/Client.js +137 -0
  960. package/dist/api/resources/organizations/client/index.d.ts +1 -0
  961. package/dist/api/resources/organizations/client/index.js +17 -0
  962. package/dist/api/resources/organizations/client/requests/GetWebhookSecretRequest.d.ts +13 -0
  963. package/dist/api/resources/organizations/client/requests/GetWebhookSecretRequest.js +5 -0
  964. package/dist/api/resources/organizations/client/requests/index.d.ts +1 -0
  965. package/dist/api/resources/organizations/client/requests/index.js +2 -0
  966. package/dist/api/resources/organizations/index.d.ts +2 -0
  967. package/dist/api/resources/organizations/index.js +18 -0
  968. package/dist/api/resources/organizations/types/WebhookSecretResponse.d.ts +10 -0
  969. package/dist/api/resources/organizations/types/WebhookSecretResponse.js +5 -0
  970. package/dist/api/resources/organizations/types/index.d.ts +1 -0
  971. package/dist/api/resources/organizations/types/index.js +17 -0
  972. package/dist/api/resources/projects/client/Client.d.ts +159 -0
  973. package/dist/api/resources/projects/client/Client.js +582 -0
  974. package/dist/api/resources/projects/client/index.d.ts +1 -0
  975. package/dist/api/resources/projects/client/index.js +17 -0
  976. package/dist/api/resources/projects/client/requests/ListProjectsRequest.d.ts +29 -0
  977. package/dist/api/resources/projects/client/requests/ListProjectsRequest.js +5 -0
  978. package/dist/api/resources/projects/client/requests/index.d.ts +1 -0
  979. package/dist/api/resources/projects/client/requests/index.js +2 -0
  980. package/dist/api/resources/projects/index.d.ts +1 -0
  981. package/dist/api/resources/projects/index.js +17 -0
  982. package/dist/api/resources/transcriptions/client/Client.d.ts +132 -0
  983. package/dist/api/resources/transcriptions/client/Client.js +442 -0
  984. package/dist/api/resources/transcriptions/client/index.d.ts +1 -0
  985. package/dist/api/resources/transcriptions/client/index.js +2 -0
  986. package/dist/api/resources/transcriptions/index.d.ts +1 -0
  987. package/dist/api/resources/transcriptions/index.js +17 -0
  988. package/dist/api/resources/tts/client/Client.d.ts +93 -0
  989. package/dist/api/resources/tts/client/Client.js +306 -0
  990. package/dist/api/resources/tts/client/index.d.ts +1 -0
  991. package/dist/api/resources/tts/client/index.js +17 -0
  992. package/dist/api/resources/tts/client/requests/SubmitTtsJobRequest.d.ts +18 -0
  993. package/dist/api/resources/tts/client/requests/SubmitTtsJobRequest.js +5 -0
  994. package/dist/api/resources/tts/client/requests/index.d.ts +1 -0
  995. package/dist/api/resources/tts/client/requests/index.js +2 -0
  996. package/dist/api/resources/tts/index.d.ts +1 -0
  997. package/dist/api/resources/tts/index.js +17 -0
  998. package/dist/api/resources/voices/client/Client.d.ts +111 -0
  999. package/dist/api/resources/voices/client/Client.js +381 -0
  1000. package/dist/api/resources/voices/client/index.d.ts +1 -0
  1001. package/dist/api/resources/voices/client/index.js +17 -0
  1002. package/dist/api/resources/voices/client/requests/GetVoiceRequest.d.ts +14 -0
  1003. package/dist/api/resources/voices/client/requests/GetVoiceRequest.js +5 -0
  1004. package/dist/api/resources/voices/client/requests/ListVoicesRequest.d.ts +14 -0
  1005. package/dist/api/resources/voices/client/requests/ListVoicesRequest.js +5 -0
  1006. package/dist/api/resources/voices/client/requests/index.d.ts +2 -0
  1007. package/dist/api/resources/voices/client/requests/index.js +2 -0
  1008. package/dist/api/resources/voices/index.d.ts +1 -0
  1009. package/dist/api/resources/voices/index.js +17 -0
  1010. package/dist/api/resources/webhooks/types/BatchNotification.d.ts +21 -0
  1011. package/dist/api/resources/webhooks/types/BatchNotification.js +5 -0
  1012. package/dist/api/resources/webhooks/types/BatchNotificationMetrics.d.ts +13 -0
  1013. package/dist/api/resources/webhooks/types/BatchNotificationMetrics.js +5 -0
  1014. package/dist/api/resources/webhooks/types/GenerationNotification.d.ts +18 -16
  1015. package/dist/api/resources/webhooks/types/WebhookStatus.d.ts +4 -2
  1016. package/dist/api/resources/webhooks/types/WebhookStatus.js +2 -0
  1017. package/dist/api/resources/webhooks/types/index.d.ts +2 -0
  1018. package/dist/api/resources/webhooks/types/index.js +2 -0
  1019. package/dist/environments.d.ts +2 -1
  1020. package/dist/environments.js +1 -0
  1021. package/dist/version.d.ts +1 -1
  1022. package/dist/version.js +1 -1
  1023. package/environments.d.ts +2 -1
  1024. package/environments.js +1 -0
  1025. package/package.json +1 -1
  1026. package/reference.md +3344 -108
  1027. package/version.d.ts +1 -1
  1028. package/version.js +1 -1
  1029. package/api/resources/common/types/ModelType.d.ts +0 -11
  1030. package/dist/api/resources/common/types/ModelType.d.ts +0 -11
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Sync from "../../../index";
5
+ /**
6
+ * Paginated list of projects.
7
+ */
8
+ export interface PaginatedProjectsResponse {
9
+ /** Array of projects. */
10
+ items: Sync.ProjectListItem[];
11
+ /** Cursor for fetching the next page of results. */
12
+ nextCursor?: string;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Sync from "../../../index";
5
+ /**
6
+ * A project groups related generations and assets so they appear together in Studio. Attach to a project by passing its id as projectId on POST /v2/generate or POST /v2/assets.
7
+ */
8
+ export interface Project {
9
+ id: Sync.ProjectId;
10
+ /** The date and time the project was created. */
11
+ createdAt: string;
12
+ /** The date and time the project was last updated. */
13
+ updatedAt: string;
14
+ /** The display name of the project. */
15
+ name?: string;
16
+ /** An optional description of the project. */
17
+ description?: string;
18
+ /** Who can see the project. */
19
+ visibility: Sync.ProjectVisibility;
20
+ /** The project mode. */
21
+ mode: Sync.ProjectMode;
22
+ /** The default top-level creator workflow for this project. Null for projects created outside the creator-workflows surface. */
23
+ defaultWorkflow?: Sync.CreatorWorkflow | null;
24
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,41 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Sync from "../../../index";
5
+ /**
6
+ * A generation in its stored response shape, as returned on project-list items (the latest undeleted generation) and by Delete Generation.
7
+ */
8
+ export interface ProjectGeneration {
9
+ id: Sync.GenerationId;
10
+ organizationId: string;
11
+ userId: string | null;
12
+ apiKeyId: string | null;
13
+ createdAt: string;
14
+ updatedAt: string;
15
+ startedAt: string | null;
16
+ finishedAt: string | null;
17
+ status: Sync.GenerationStatus;
18
+ model: Sync.ProjectGenerationModel;
19
+ modelName: string;
20
+ inputs: Sync.ProjectGenerationInput[];
21
+ webhookUrl: string | null;
22
+ thumbnailUrl: string | null;
23
+ frameCount: number | null;
24
+ /** Persisted generation options, including server-owned fields. This is not a create-request options contract. */
25
+ options: Record<string, unknown>;
26
+ segments?: Sync.ProjectGenerationSegment[] | null;
27
+ outputMediaUrl: string | null;
28
+ /** Browser playback URL, using a preview when available. Use outputMediaUrl or the download endpoint for the original output. Returned on project responses. */
29
+ playbackMediaUrl?: string | null;
30
+ segmentOutputMediaUrl: string | null;
31
+ segmentOutputBucketPath: string | null;
32
+ creatorName?: string | null;
33
+ outputMediaLength: number | null;
34
+ potentialError: Sync.ProjectGenerationError | null;
35
+ isPublic: boolean | null;
36
+ deletedAt: string | null;
37
+ projectId: Sync.ProjectId | null;
38
+ outputFileName?: string | null;
39
+ outputExtension?: string | null;
40
+ generationEstimate?: Sync.GenerationEstimate | null;
41
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Sync from "../../../index";
5
+ export interface ProjectGenerationError {
6
+ status?: number;
7
+ message: string;
8
+ errorCode?: string;
9
+ docsLink?: string;
10
+ /** Why processing failed, when known. A shorter or smaller input may succeed after out_of_memory. */
11
+ reason?: Sync.ProjectGenerationErrorReason;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ProjectGenerationErrorReason = "out_of_memory";
5
+ export declare const ProjectGenerationErrorReason: {
6
+ readonly OutOfMemory: "out_of_memory";
7
+ };
@@ -0,0 +1,9 @@
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.ProjectGenerationErrorReason = void 0;
7
+ exports.ProjectGenerationErrorReason = {
8
+ OutOfMemory: "out_of_memory",
9
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Sync from "../../../index";
5
+ /**
6
+ * Stored input metadata. Fields generated by the server are response-only.
7
+ */
8
+ export interface ProjectGenerationInput {
9
+ type: string;
10
+ url?: string;
11
+ assetId?: Sync.AssetId;
12
+ refId?: string;
13
+ generatedBy?: "tts";
14
+ segments_secs?: number[][];
15
+ segments_frames?: number[][];
16
+ trim_secs?: number[];
17
+ provider?: Sync.ProjectGenerationProvider;
18
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ProjectGenerationModel {
5
+ id: string;
6
+ name: string;
7
+ description: string | null;
8
+ type: string;
9
+ version: string;
10
+ features: string[];
11
+ deprecatedAt: string | null;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ProjectGenerationProvider {
5
+ name: string;
6
+ script: string;
7
+ voiceId: string;
8
+ stability?: number;
9
+ similarityBoost?: number;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Sync from "../../../index";
5
+ export interface ProjectGenerationSegment {
6
+ startTime?: number;
7
+ endTime?: number;
8
+ startFrame?: number;
9
+ endFrame?: number;
10
+ audioInput?: Sync.SegmentAudioInput;
11
+ lipsync?: boolean;
12
+ /** Stored segment-specific options, including server-owned fields. */
13
+ optionsOverride?: Record<string, unknown>;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * A unique identifier for a project.
6
+ */
7
+ export type ProjectId = string;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Sync from "../../../index";
5
+ /**
6
+ * A project as returned in the list-projects response.
7
+ */
8
+ export interface ProjectListItem extends Sync.Project {
9
+ organizationId: string;
10
+ userId: string | null;
11
+ deletedAt: string | null;
12
+ /** Zero or one item, the most recent undeleted generation. */
13
+ generations: Sync.ProjectGeneration[];
14
+ /** Number of undeleted generations in the project. */
15
+ generationsCount: number;
16
+ /** Completed undeleted generations with an output file. */
17
+ completedGenerationsCount: number;
18
+ /** Source metadata of the most recent generation; null when absent. */
19
+ lastGenerationSource: string | null;
20
+ /** Deprecated compatibility field; always an empty array in project listings. */
21
+ assets: unknown[];
22
+ /** Deprecated compatibility field; always an empty array in project listings. */
23
+ generationPresets: unknown[];
24
+ /** Preview for the project's most recent visual asset: a video's thumbnail, or an image's own URL. Null when the project has no video with a thumbnail or image. */
25
+ latestAssetThumbnailUrl: string | null;
26
+ /** When the project's most recent visual asset was attached, so clients can rank it against the latest generation by recency. Null when the project has no such asset. */
27
+ latestAssetAttachedAt: string | null;
28
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The project mode.
6
+ */
7
+ export type ProjectMode = "CREATOR" | "DEVELOPER";
8
+ export declare const ProjectMode: {
9
+ readonly Creator: "CREATOR";
10
+ readonly Developer: "DEVELOPER";
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.ProjectMode = void 0;
7
+ exports.ProjectMode = {
8
+ Creator: "CREATOR",
9
+ Developer: "DEVELOPER",
10
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Sort order for listing projects.
6
+ */
7
+ export type ProjectSort = "updatedAt" | "name";
8
+ export declare const ProjectSort: {
9
+ readonly UpdatedAt: "updatedAt";
10
+ readonly Name: "name";
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.ProjectSort = void 0;
7
+ exports.ProjectSort = {
8
+ UpdatedAt: "updatedAt",
9
+ Name: "name",
10
+ };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Who can see the project.
6
+ */
7
+ export type ProjectVisibility =
8
+ /**
9
+ * Visible only to the user who owns it. */
10
+ "USER"
11
+ /**
12
+ * Visible to all members of the organization. */
13
+ | "ORGANIZATION";
14
+ export declare const ProjectVisibility: {
15
+ readonly User: "USER";
16
+ readonly Organization: "ORGANIZATION";
17
+ };
@@ -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.ProjectVisibility = void 0;
7
+ exports.ProjectVisibility = {
8
+ User: "USER",
9
+ Organization: "ORGANIZATION",
10
+ };
@@ -7,8 +7,8 @@
7
7
  export interface SegmentAudioInput {
8
8
  /** Reference ID of the audio/text-to-speech input to use for this segment */
9
9
  refId: string;
10
- /** Optional start time (in seconds) to crop the referenced audio. When specified, end_time must also be provided. */
10
+ /** Optional start time (in seconds) to crop the referenced audio. When specified, endTime must also be provided, and startTime must be less than or equal to endTime. */
11
11
  startTime?: number;
12
- /** Optional end time (in seconds) to crop the referenced audio. When specified, start_time must also be provided. */
12
+ /** Optional end time (in seconds) to crop the referenced audio. When specified, startTime must also be provided, and must be greater than or equal to startTime. */
13
13
  endTime?: number;
14
14
  }
@@ -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
+ * Override generation options for a specific segment. Any options set here will override the top-level generation options for this segment only.
7
+ */
8
+ export interface SegmentOptionsOverride {
9
+ /** Override the sync mode for this segment. */
10
+ sync_mode?: Sync.SyncMode;
11
+ /** Override temperature (0-1) for this segment. */
12
+ temperature?: number;
13
+ /** Override occlusion detection for this segment. */
14
+ occlusion_detection_enabled?: boolean;
15
+ /** Override active speaker detection for this segment. Useful when different segments have different speakers. */
16
+ active_speaker_detection?: Sync.ActiveSpeaker;
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ * Request to cut one lipsync segment from a matched speaker's face track. Frames are counted from the start of the source file at fps.
7
+ */
8
+ export interface SliceSpeakerFaceTrackRequest {
9
+ /** The revision of the transcription job. */
10
+ revision: string;
11
+ /** Id of a matched speaker. */
12
+ speakerId: string;
13
+ /** First frame of the segment. */
14
+ startFrame: number;
15
+ /** Frame after the last frame of the segment. Must be greater than startFrame. */
16
+ endFrame: number;
17
+ /** Frame rate of your source frame grid. */
18
+ fps: number;
19
+ /** Frames inside the segment that its footage no longer holds, for example because a cut removed them. Must lie strictly inside the segment. */
20
+ skip?: Sync.SpeakerFaceTrackSliceFrames;
21
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface SpeakerFaceSupportInterval {
5
+ /** Start, in source milliseconds. */
6
+ startMs: number;
7
+ /** End, in source milliseconds. */
8
+ endMs: number;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ }