@giveitsmaller/contracts 0.45.0 → 0.47.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 (472) hide show
  1. package/accepted-options/accepted-options.json +1 -1
  2. package/accepted-options/image-output-routes.json +4 -4
  3. package/asyncapi/events.yaml +18 -11
  4. package/availability/availability.json +48 -8
  5. package/dist/openapi/models/AccountLimitEntry.d.ts +1 -1
  6. package/dist/openapi/models/AccountLimitEntry.js +1 -1
  7. package/dist/openapi/models/AccountLimits.d.ts +1 -1
  8. package/dist/openapi/models/AccountLimits.js +1 -1
  9. package/dist/openapi/models/AccountLimitsLimits.d.ts +1 -1
  10. package/dist/openapi/models/AccountLimitsLimits.js +1 -1
  11. package/dist/openapi/models/AccountLimitsSuccessEnvelope.d.ts +1 -1
  12. package/dist/openapi/models/AccountLimitsSuccessEnvelope.js +1 -1
  13. package/dist/openapi/models/AudioWatermarkDecodeRequest.d.ts +1 -1
  14. package/dist/openapi/models/AudioWatermarkDecodeRequest.js +1 -1
  15. package/dist/openapi/models/AudioWatermarkDecodeResponse.d.ts +1 -1
  16. package/dist/openapi/models/AudioWatermarkDecodeResponse.js +1 -1
  17. package/dist/openapi/models/AuthErrorResponse.d.ts +9 -1
  18. package/dist/openapi/models/AuthErrorResponse.js +1 -1
  19. package/dist/openapi/models/AuthErrorType.d.ts +1 -1
  20. package/dist/openapi/models/AuthErrorType.js +1 -1
  21. package/dist/openapi/models/AuthRejectionEnvelope.d.ts +1 -1
  22. package/dist/openapi/models/AuthRejectionEnvelope.js +1 -1
  23. package/dist/openapi/models/AvailabilityValue.d.ts +1 -1
  24. package/dist/openapi/models/AvailabilityValue.js +1 -1
  25. package/dist/openapi/models/BalanceExhaustedResponse.d.ts +9 -1
  26. package/dist/openapi/models/BalanceExhaustedResponse.js +1 -1
  27. package/dist/openapi/models/BalanceExhaustedResponseAllOfLinks.d.ts +1 -1
  28. package/dist/openapi/models/BalanceExhaustedResponseAllOfLinks.js +1 -1
  29. package/dist/openapi/models/CallbackEventType.d.ts +1 -1
  30. package/dist/openapi/models/CallbackEventType.js +1 -1
  31. package/dist/openapi/models/CapabilityCondition.d.ts +1 -1
  32. package/dist/openapi/models/CapabilityCondition.js +1 -1
  33. package/dist/openapi/models/CapabilityConditionOneOf.d.ts +1 -1
  34. package/dist/openapi/models/CapabilityConditionOneOf.js +1 -1
  35. package/dist/openapi/models/CapabilityConditionOneOf1.d.ts +1 -1
  36. package/dist/openapi/models/CapabilityConditionOneOf1.js +1 -1
  37. package/dist/openapi/models/CapabilityConditionOneOf2.d.ts +1 -1
  38. package/dist/openapi/models/CapabilityConditionOneOf2.js +1 -1
  39. package/dist/openapi/models/CapabilityConditionOneOf3.d.ts +1 -1
  40. package/dist/openapi/models/CapabilityConditionOneOf3.js +1 -1
  41. package/dist/openapi/models/CapabilityConditionOneOf4.d.ts +1 -1
  42. package/dist/openapi/models/CapabilityConditionOneOf4.js +1 -1
  43. package/dist/openapi/models/CapabilityConditionOneOf5.d.ts +1 -1
  44. package/dist/openapi/models/CapabilityConditionOneOf5.js +1 -1
  45. package/dist/openapi/models/CapabilityConditionOneOf6.d.ts +1 -1
  46. package/dist/openapi/models/CapabilityConditionOneOf6.js +1 -1
  47. package/dist/openapi/models/CapabilityConstraint.d.ts +1 -1
  48. package/dist/openapi/models/CapabilityConstraint.js +1 -1
  49. package/dist/openapi/models/CapabilityInputSpec.d.ts +1 -1
  50. package/dist/openapi/models/CapabilityInputSpec.js +1 -1
  51. package/dist/openapi/models/CapabilityProduces.d.ts +1 -1
  52. package/dist/openapi/models/CapabilityProduces.js +1 -1
  53. package/dist/openapi/models/CapabilityProducesOneOf.d.ts +1 -1
  54. package/dist/openapi/models/CapabilityProducesOneOf.js +1 -1
  55. package/dist/openapi/models/CapabilityProducesOneOf1.d.ts +1 -1
  56. package/dist/openapi/models/CapabilityProducesOneOf1.js +1 -1
  57. package/dist/openapi/models/CapabilityProducesOneOf2.d.ts +1 -1
  58. package/dist/openapi/models/CapabilityProducesOneOf2.js +1 -1
  59. package/dist/openapi/models/ChangePasswordRequest.d.ts +1 -1
  60. package/dist/openapi/models/ChangePasswordRequest.js +1 -1
  61. package/dist/openapi/models/CodegenSource.d.ts +57 -0
  62. package/dist/openapi/models/CodegenSource.js +44 -0
  63. package/dist/openapi/models/CodegenSourceInput.d.ts +66 -0
  64. package/dist/openapi/models/CodegenSourceInput.js +56 -0
  65. package/dist/openapi/models/CodegenSourceJob.d.ts +72 -0
  66. package/dist/openapi/models/CodegenSourceJob.js +54 -0
  67. package/dist/openapi/models/CodegenSourceJobSource.d.ts +36 -0
  68. package/dist/openapi/models/CodegenSourceJobSource.js +65 -0
  69. package/dist/openapi/models/CodegenSourceOperation.d.ts +46 -0
  70. package/dist/openapi/models/CodegenSourceOperation.js +46 -0
  71. package/dist/openapi/models/CodegenUploadPlaceholder.d.ts +61 -0
  72. package/dist/openapi/models/CodegenUploadPlaceholder.js +55 -0
  73. package/dist/openapi/models/CompositionPlan.d.ts +1 -1
  74. package/dist/openapi/models/CompositionPlan.js +1 -1
  75. package/dist/openapi/models/CompositionPlanJob.d.ts +1 -1
  76. package/dist/openapi/models/CompositionPlanJob.js +1 -1
  77. package/dist/openapi/models/CompositionPlanOperation.d.ts +1 -1
  78. package/dist/openapi/models/CompositionPlanOperation.js +1 -1
  79. package/dist/openapi/models/ConfirmEmailChange200Response.d.ts +1 -1
  80. package/dist/openapi/models/ConfirmEmailChange200Response.js +1 -1
  81. package/dist/openapi/models/ConfirmEmailChange200ResponseData.d.ts +1 -1
  82. package/dist/openapi/models/ConfirmEmailChange200ResponseData.js +1 -1
  83. package/dist/openapi/models/ConfirmEmailChangeRequest.d.ts +1 -1
  84. package/dist/openapi/models/ConfirmEmailChangeRequest.js +1 -1
  85. package/dist/openapi/models/ConnectionSource.d.ts +1 -1
  86. package/dist/openapi/models/ConnectionSource.js +1 -1
  87. package/dist/openapi/models/ContactRequest.d.ts +1 -1
  88. package/dist/openapi/models/ContactRequest.js +1 -1
  89. package/dist/openapi/models/ContactSubject.d.ts +1 -1
  90. package/dist/openapi/models/ContactSubject.js +1 -1
  91. package/dist/openapi/models/ContactValidationErrorResponse.d.ts +1 -1
  92. package/dist/openapi/models/ContactValidationErrorResponse.js +1 -1
  93. package/dist/openapi/models/CreateApiKey201Response.d.ts +1 -1
  94. package/dist/openapi/models/CreateApiKey201Response.js +1 -1
  95. package/dist/openapi/models/CreateApiKey201ResponseData.d.ts +1 -1
  96. package/dist/openapi/models/CreateApiKey201ResponseData.js +1 -1
  97. package/dist/openapi/models/CreateApiKeyRequest.d.ts +1 -1
  98. package/dist/openapi/models/CreateApiKeyRequest.js +1 -1
  99. package/dist/openapi/models/CreateExternalImport403Response.d.ts +1 -1
  100. package/dist/openapi/models/CreateExternalImport403Response.js +1 -1
  101. package/dist/openapi/models/CreateExternalImport422Response.d.ts +1 -1
  102. package/dist/openapi/models/CreateExternalImport422Response.js +1 -1
  103. package/dist/openapi/models/CreateWorkflow422Response.d.ts +1 -1
  104. package/dist/openapi/models/CreateWorkflow422Response.js +1 -1
  105. package/dist/openapi/models/CreditTransaction.d.ts +1 -1
  106. package/dist/openapi/models/CreditTransaction.js +1 -1
  107. package/dist/openapi/models/CreditTransactionSourceBucket.d.ts +1 -1
  108. package/dist/openapi/models/CreditTransactionSourceBucket.js +1 -1
  109. package/dist/openapi/models/CreditsBalanceResponse.d.ts +1 -1
  110. package/dist/openapi/models/CreditsBalanceResponse.js +1 -1
  111. package/dist/openapi/models/CreditsBalanceSuccessEnvelope.d.ts +1 -1
  112. package/dist/openapi/models/CreditsBalanceSuccessEnvelope.js +1 -1
  113. package/dist/openapi/models/CreditsUsageResponse.d.ts +1 -1
  114. package/dist/openapi/models/CreditsUsageResponse.js +1 -1
  115. package/dist/openapi/models/CreditsUsageSuccessEnvelope.d.ts +1 -1
  116. package/dist/openapi/models/CreditsUsageSuccessEnvelope.js +1 -1
  117. package/dist/openapi/models/Delivery.d.ts +1 -1
  118. package/dist/openapi/models/Delivery.js +1 -1
  119. package/dist/openapi/models/DeliveryOutputRef.d.ts +1 -1
  120. package/dist/openapi/models/DeliveryOutputRef.js +1 -1
  121. package/dist/openapi/models/DeliveryPlan.d.ts +1 -1
  122. package/dist/openapi/models/DeliveryPlan.js +1 -1
  123. package/dist/openapi/models/DeliveryPlanOutput.d.ts +1 -1
  124. package/dist/openapi/models/DeliveryPlanOutput.js +1 -1
  125. package/dist/openapi/models/DeliveryPlanReason.d.ts +1 -1
  126. package/dist/openapi/models/DeliveryPlanReason.js +1 -1
  127. package/dist/openapi/models/DeliverySelection.d.ts +1 -1
  128. package/dist/openapi/models/DeliverySelection.js +1 -1
  129. package/dist/openapi/models/DownloadBundle.d.ts +1 -1
  130. package/dist/openapi/models/DownloadBundle.js +1 -1
  131. package/dist/openapi/models/EmptySuccessEnvelope.d.ts +1 -1
  132. package/dist/openapi/models/EmptySuccessEnvelope.js +1 -1
  133. package/dist/openapi/models/EndpointProjection.d.ts +1 -1
  134. package/dist/openapi/models/EndpointProjection.js +1 -1
  135. package/dist/openapi/models/ErrorEnvelope.d.ts +9 -1
  136. package/dist/openapi/models/ErrorEnvelope.js +1 -1
  137. package/dist/openapi/models/EstimateQuality.d.ts +1 -1
  138. package/dist/openapi/models/EstimateQuality.js +1 -1
  139. package/dist/openapi/models/EstimateRange.d.ts +1 -1
  140. package/dist/openapi/models/EstimateRange.js +1 -1
  141. package/dist/openapi/models/ExternalDestination.d.ts +1 -1
  142. package/dist/openapi/models/ExternalDestination.js +1 -1
  143. package/dist/openapi/models/ExternalImportCreatedResponse.d.ts +1 -1
  144. package/dist/openapi/models/ExternalImportCreatedResponse.js +1 -1
  145. package/dist/openapi/models/ExternalImportCreatedSuccessEnvelope.d.ts +1 -1
  146. package/dist/openapi/models/ExternalImportCreatedSuccessEnvelope.js +1 -1
  147. package/dist/openapi/models/ExternalImportRequest.d.ts +1 -1
  148. package/dist/openapi/models/ExternalImportRequest.js +1 -1
  149. package/dist/openapi/models/ExternalImportToken.d.ts +1 -1
  150. package/dist/openapi/models/ExternalImportToken.js +1 -1
  151. package/dist/openapi/models/ExternalSource.d.ts +1 -1
  152. package/dist/openapi/models/ExternalSource.js +1 -1
  153. package/dist/openapi/models/FeatureNotAvailableResponse.d.ts +9 -1
  154. package/dist/openapi/models/FeatureNotAvailableResponse.js +1 -1
  155. package/dist/openapi/models/FeatureTierRestrictedResponse.d.ts +9 -1
  156. package/dist/openapi/models/FeatureTierRestrictedResponse.js +1 -1
  157. package/dist/openapi/models/FeatureViolation.d.ts +1 -1
  158. package/dist/openapi/models/FeatureViolation.js +1 -1
  159. package/dist/openapi/models/ForgotPasswordRequest.d.ts +1 -1
  160. package/dist/openapi/models/ForgotPasswordRequest.js +1 -1
  161. package/dist/openapi/models/ImageEncodeCapabilities.d.ts +1 -1
  162. package/dist/openapi/models/ImageEncodeCapabilities.js +1 -1
  163. package/dist/openapi/models/JobDefinition.d.ts +1 -1
  164. package/dist/openapi/models/JobDefinition.js +1 -1
  165. package/dist/openapi/models/JobDownload.d.ts +1 -1
  166. package/dist/openapi/models/JobDownload.js +1 -1
  167. package/dist/openapi/models/JobInputV2.d.ts +1 -1
  168. package/dist/openapi/models/JobInputV2.js +1 -1
  169. package/dist/openapi/models/JobMediaClass.d.ts +1 -1
  170. package/dist/openapi/models/JobMediaClass.js +1 -1
  171. package/dist/openapi/models/JobOutputSource.d.ts +1 -1
  172. package/dist/openapi/models/JobOutputSource.js +1 -1
  173. package/dist/openapi/models/JobResponse.d.ts +1 -1
  174. package/dist/openapi/models/JobResponse.js +1 -1
  175. package/dist/openapi/models/JobStatus.d.ts +1 -1
  176. package/dist/openapi/models/JobStatus.js +1 -1
  177. package/dist/openapi/models/JobType.d.ts +1 -1
  178. package/dist/openapi/models/JobType.js +1 -1
  179. package/dist/openapi/models/LivenessResponse.d.ts +1 -1
  180. package/dist/openapi/models/LivenessResponse.js +1 -1
  181. package/dist/openapi/models/LoginUser200Response.d.ts +1 -1
  182. package/dist/openapi/models/LoginUser200Response.js +1 -1
  183. package/dist/openapi/models/LoginUser200ResponseData.d.ts +1 -1
  184. package/dist/openapi/models/LoginUser200ResponseData.js +1 -1
  185. package/dist/openapi/models/LoginUser200ResponseDataUser.d.ts +1 -1
  186. package/dist/openapi/models/LoginUser200ResponseDataUser.js +1 -1
  187. package/dist/openapi/models/LoginUserRequest.d.ts +1 -1
  188. package/dist/openapi/models/LoginUserRequest.js +1 -1
  189. package/dist/openapi/models/LongFormConcurrencyLimitResponse.d.ts +181 -0
  190. package/dist/openapi/models/LongFormConcurrencyLimitResponse.js +64 -0
  191. package/dist/openapi/models/LongFormConcurrencyLimitResponseAllOfLinks.d.ts +35 -0
  192. package/dist/openapi/models/LongFormConcurrencyLimitResponseAllOfLinks.js +41 -0
  193. package/dist/openapi/models/MetadataResponse.d.ts +1 -1
  194. package/dist/openapi/models/MetadataResponse.js +1 -1
  195. package/dist/openapi/models/MetadataResponseDimensions.d.ts +1 -1
  196. package/dist/openapi/models/MetadataResponseDimensions.js +1 -1
  197. package/dist/openapi/models/MetadataResponseExif.d.ts +1 -1
  198. package/dist/openapi/models/MetadataResponseExif.js +1 -1
  199. package/dist/openapi/models/MetadataResponseExifGps.d.ts +1 -1
  200. package/dist/openapi/models/MetadataResponseExifGps.js +1 -1
  201. package/dist/openapi/models/MetadataSuccessEnvelope.d.ts +1 -1
  202. package/dist/openapi/models/MetadataSuccessEnvelope.js +1 -1
  203. package/dist/openapi/models/MimeGroupSchema.d.ts +1 -1
  204. package/dist/openapi/models/MimeGroupSchema.js +1 -1
  205. package/dist/openapi/models/MultiInputSource.d.ts +1 -1
  206. package/dist/openapi/models/MultiInputSource.js +1 -1
  207. package/dist/openapi/models/MultipartCompleteRequest.d.ts +1 -1
  208. package/dist/openapi/models/MultipartCompleteRequest.js +1 -1
  209. package/dist/openapi/models/MultipartCompleteRequestPartsInner.d.ts +1 -1
  210. package/dist/openapi/models/MultipartCompleteRequestPartsInner.js +1 -1
  211. package/dist/openapi/models/MultipartCompleteResponse.d.ts +1 -1
  212. package/dist/openapi/models/MultipartCompleteResponse.js +1 -1
  213. package/dist/openapi/models/MultipartCompleteSuccessEnvelope.d.ts +1 -1
  214. package/dist/openapi/models/MultipartCompleteSuccessEnvelope.js +1 -1
  215. package/dist/openapi/models/MultipartInitiateRequestMetadataHint.d.ts +1 -1
  216. package/dist/openapi/models/MultipartInitiateRequestMetadataHint.js +1 -1
  217. package/dist/openapi/models/MultipartInitiateResponse.d.ts +1 -1
  218. package/dist/openapi/models/MultipartInitiateResponse.js +1 -1
  219. package/dist/openapi/models/MultipartInitiateSuccessEnvelope.d.ts +1 -1
  220. package/dist/openapi/models/MultipartInitiateSuccessEnvelope.js +1 -1
  221. package/dist/openapi/models/MultipartKeepaliveResponse.d.ts +1 -1
  222. package/dist/openapi/models/MultipartKeepaliveResponse.js +1 -1
  223. package/dist/openapi/models/MultipartKeepaliveSuccessEnvelope.d.ts +1 -1
  224. package/dist/openapi/models/MultipartKeepaliveSuccessEnvelope.js +1 -1
  225. package/dist/openapi/models/MultipartPartListing.d.ts +1 -1
  226. package/dist/openapi/models/MultipartPartListing.js +1 -1
  227. package/dist/openapi/models/MultipartPresignRequest.d.ts +1 -1
  228. package/dist/openapi/models/MultipartPresignRequest.js +1 -1
  229. package/dist/openapi/models/MultipartPresignResponse.d.ts +1 -1
  230. package/dist/openapi/models/MultipartPresignResponse.js +1 -1
  231. package/dist/openapi/models/MultipartPresignSuccessEnvelope.d.ts +1 -1
  232. package/dist/openapi/models/MultipartPresignSuccessEnvelope.js +1 -1
  233. package/dist/openapi/models/MultipartStatusResponse.d.ts +1 -1
  234. package/dist/openapi/models/MultipartStatusResponse.js +1 -1
  235. package/dist/openapi/models/MultipartStatusSuccessEnvelope.d.ts +1 -1
  236. package/dist/openapi/models/MultipartStatusSuccessEnvelope.js +1 -1
  237. package/dist/openapi/models/OperationCapability.d.ts +1 -1
  238. package/dist/openapi/models/OperationCapability.js +1 -1
  239. package/dist/openapi/models/OperationDefinition.d.ts +1 -1
  240. package/dist/openapi/models/OperationDefinition.js +1 -1
  241. package/dist/openapi/models/OperationDownload.d.ts +1 -1
  242. package/dist/openapi/models/OperationDownload.js +1 -1
  243. package/dist/openapi/models/OperationInputModel.d.ts +1 -1
  244. package/dist/openapi/models/OperationInputModel.js +1 -1
  245. package/dist/openapi/models/OperationResponse.d.ts +36 -6
  246. package/dist/openapi/models/OperationResponse.js +1 -1
  247. package/dist/openapi/models/OperationResult.d.ts +1 -1
  248. package/dist/openapi/models/OperationResult.js +1 -1
  249. package/dist/openapi/models/OperationResultMetadata.d.ts +1 -1
  250. package/dist/openapi/models/OperationResultMetadata.js +1 -1
  251. package/dist/openapi/models/OperationResultMetrics.d.ts +1 -1
  252. package/dist/openapi/models/OperationResultMetrics.js +1 -1
  253. package/dist/openapi/models/OperationSchemaDefinition.d.ts +1 -1
  254. package/dist/openapi/models/OperationSchemaDefinition.js +1 -1
  255. package/dist/openapi/models/OperationStatus.d.ts +1 -1
  256. package/dist/openapi/models/OperationStatus.js +1 -1
  257. package/dist/openapi/models/OperationType.d.ts +1 -1
  258. package/dist/openapi/models/OperationType.js +1 -1
  259. package/dist/openapi/models/OperationsSchemaResponse.d.ts +1 -1
  260. package/dist/openapi/models/OperationsSchemaResponse.js +1 -1
  261. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeatures.d.ts +1 -1
  262. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeatures.js +1 -1
  263. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeaturesDelivery.d.ts +1 -1
  264. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeaturesDelivery.js +1 -1
  265. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeaturesDeliveryMode.d.ts +1 -1
  266. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeaturesDeliveryMode.js +1 -1
  267. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeaturesDeliverySelection.d.ts +1 -1
  268. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeaturesDeliverySelection.js +1 -1
  269. package/dist/openapi/models/OptionSchema.d.ts +1 -1
  270. package/dist/openapi/models/OptionSchema.js +1 -1
  271. package/dist/openapi/models/OutputProperties.d.ts +1 -1
  272. package/dist/openapi/models/OutputProperties.js +1 -1
  273. package/dist/openapi/models/OutputPropertiesIsAnimated.d.ts +1 -1
  274. package/dist/openapi/models/OutputPropertiesIsAnimated.js +1 -1
  275. package/dist/openapi/models/PerRoleCardinalityEntry.d.ts +1 -1
  276. package/dist/openapi/models/PerRoleCardinalityEntry.js +1 -1
  277. package/dist/openapi/models/PerValueAvailabilityEntry.d.ts +1 -1
  278. package/dist/openapi/models/PerValueAvailabilityEntry.js +1 -1
  279. package/dist/openapi/models/PresignedUrlPart.d.ts +1 -1
  280. package/dist/openapi/models/PresignedUrlPart.js +1 -1
  281. package/dist/openapi/models/ProbePendingResponse.d.ts +9 -1
  282. package/dist/openapi/models/ProbePendingResponse.js +1 -1
  283. package/dist/openapi/models/ProcessingClass.d.ts +1 -1
  284. package/dist/openapi/models/ProcessingClass.js +1 -1
  285. package/dist/openapi/models/ProcessingClassBandViolation.d.ts +1 -1
  286. package/dist/openapi/models/ProcessingClassBandViolation.js +1 -1
  287. package/dist/openapi/models/ProcessingClassConstraints.d.ts +1 -1
  288. package/dist/openapi/models/ProcessingClassConstraints.js +1 -1
  289. package/dist/openapi/models/ProcessingClassEntry.d.ts +1 -1
  290. package/dist/openapi/models/ProcessingClassEntry.js +1 -1
  291. package/dist/openapi/models/ProcessingClassExceedsBandResponse.d.ts +9 -1
  292. package/dist/openapi/models/ProcessingClassExceedsBandResponse.js +1 -1
  293. package/dist/openapi/models/ProcessingClassHint.d.ts +1 -1
  294. package/dist/openapi/models/ProcessingClassHint.js +1 -1
  295. package/dist/openapi/models/ProcessingClassReason.d.ts +1 -1
  296. package/dist/openapi/models/ProcessingClassReason.js +1 -1
  297. package/dist/openapi/models/ProcessingClassRejectReason.d.ts +1 -1
  298. package/dist/openapi/models/ProcessingClassRejectReason.js +1 -1
  299. package/dist/openapi/models/ProcessingPlan.d.ts +1 -1
  300. package/dist/openapi/models/ProcessingPlan.js +1 -1
  301. package/dist/openapi/models/ProcessingPlanJob.d.ts +1 -1
  302. package/dist/openapi/models/ProcessingPlanJob.js +1 -1
  303. package/dist/openapi/models/ReEncodeDecision.d.ts +1 -1
  304. package/dist/openapi/models/ReEncodeDecision.js +1 -1
  305. package/dist/openapi/models/ReadinessResponse.d.ts +1 -1
  306. package/dist/openapi/models/ReadinessResponse.js +1 -1
  307. package/dist/openapi/models/RegisterUser422Response.d.ts +1 -1
  308. package/dist/openapi/models/RegisterUser422Response.js +1 -1
  309. package/dist/openapi/models/RegisterUserRequest.d.ts +1 -1
  310. package/dist/openapi/models/RegisterUserRequest.js +1 -1
  311. package/dist/openapi/models/ResetPasswordRequest.d.ts +1 -1
  312. package/dist/openapi/models/ResetPasswordRequest.js +1 -1
  313. package/dist/openapi/models/ResponseEnvelope.d.ts +1 -1
  314. package/dist/openapi/models/ResponseEnvelope.js +1 -1
  315. package/dist/openapi/models/RetryResponse.d.ts +1 -1
  316. package/dist/openapi/models/RetryResponse.js +1 -1
  317. package/dist/openapi/models/RetrySuccessEnvelope.d.ts +1 -1
  318. package/dist/openapi/models/RetrySuccessEnvelope.js +1 -1
  319. package/dist/openapi/models/SseCompletionBase.d.ts +1 -1
  320. package/dist/openapi/models/SseCompletionBase.js +1 -1
  321. package/dist/openapi/models/SseEventType.d.ts +1 -1
  322. package/dist/openapi/models/SseEventType.js +1 -1
  323. package/dist/openapi/models/SseJobCompletedData.d.ts +1 -1
  324. package/dist/openapi/models/SseJobCompletedData.js +1 -1
  325. package/dist/openapi/models/SseJobFailedData.d.ts +1 -1
  326. package/dist/openapi/models/SseJobFailedData.js +1 -1
  327. package/dist/openapi/models/SseMultiOutputCompletion.d.ts +1 -1
  328. package/dist/openapi/models/SseMultiOutputCompletion.js +1 -1
  329. package/dist/openapi/models/SseMultiOutputCompletionMetrics.d.ts +1 -1
  330. package/dist/openapi/models/SseMultiOutputCompletionMetrics.js +1 -1
  331. package/dist/openapi/models/SseMultiOutputCompletionWithKind.d.ts +1 -1
  332. package/dist/openapi/models/SseMultiOutputCompletionWithKind.js +1 -1
  333. package/dist/openapi/models/SseMultiOutputResultEntry.d.ts +1 -1
  334. package/dist/openapi/models/SseMultiOutputResultEntry.js +1 -1
  335. package/dist/openapi/models/SseOperationCompletedData.d.ts +1 -1
  336. package/dist/openapi/models/SseOperationCompletedData.js +1 -1
  337. package/dist/openapi/models/SseOperationCompletionResult.d.ts +1 -1
  338. package/dist/openapi/models/SseOperationCompletionResult.js +1 -1
  339. package/dist/openapi/models/SseOperationFailedData.d.ts +7 -1
  340. package/dist/openapi/models/SseOperationFailedData.js +1 -1
  341. package/dist/openapi/models/SseOperationProgressData.d.ts +1 -1
  342. package/dist/openapi/models/SseOperationProgressData.js +1 -1
  343. package/dist/openapi/models/SseSingleOutputCompletion.d.ts +1 -1
  344. package/dist/openapi/models/SseSingleOutputCompletion.js +1 -1
  345. package/dist/openapi/models/SseWorkflowTerminalData.d.ts +1 -1
  346. package/dist/openapi/models/SseWorkflowTerminalData.js +1 -1
  347. package/dist/openapi/models/TierRestrictionKind.d.ts +1 -1
  348. package/dist/openapi/models/TierRestrictionKind.js +1 -1
  349. package/dist/openapi/models/TierRestrictionResponse.d.ts +9 -1
  350. package/dist/openapi/models/TierRestrictionResponse.js +1 -1
  351. package/dist/openapi/models/UpdateProfile200Response.d.ts +1 -1
  352. package/dist/openapi/models/UpdateProfile200Response.js +1 -1
  353. package/dist/openapi/models/UpdateProfile200ResponseData.d.ts +1 -1
  354. package/dist/openapi/models/UpdateProfile200ResponseData.js +1 -1
  355. package/dist/openapi/models/UpdateProfile422Response.d.ts +1 -1
  356. package/dist/openapi/models/UpdateProfile422Response.js +1 -1
  357. package/dist/openapi/models/UpdateProfileRequest.d.ts +1 -1
  358. package/dist/openapi/models/UpdateProfileRequest.js +1 -1
  359. package/dist/openapi/models/UploadConstraintsApplied.d.ts +1 -1
  360. package/dist/openapi/models/UploadConstraintsApplied.js +1 -1
  361. package/dist/openapi/models/UploadDurationExceedsTierResponse.d.ts +9 -1
  362. package/dist/openapi/models/UploadDurationExceedsTierResponse.js +1 -1
  363. package/dist/openapi/models/UploadFile403Response.d.ts +1 -1
  364. package/dist/openapi/models/UploadFile403Response.js +1 -1
  365. package/dist/openapi/models/UploadFile422Response.d.ts +1 -1
  366. package/dist/openapi/models/UploadFile422Response.js +1 -1
  367. package/dist/openapi/models/UploadProbeMediaMetadata.d.ts +1 -1
  368. package/dist/openapi/models/UploadProbeMediaMetadata.js +1 -1
  369. package/dist/openapi/models/UploadProbeProcessingClass.d.ts +1 -1
  370. package/dist/openapi/models/UploadProbeProcessingClass.js +1 -1
  371. package/dist/openapi/models/UploadProbeResponse.d.ts +1 -1
  372. package/dist/openapi/models/UploadProbeResponse.js +1 -1
  373. package/dist/openapi/models/UploadProbeStatus.d.ts +1 -1
  374. package/dist/openapi/models/UploadProbeStatus.js +1 -1
  375. package/dist/openapi/models/UploadProbeSuccessEnvelope.d.ts +1 -1
  376. package/dist/openapi/models/UploadProbeSuccessEnvelope.js +1 -1
  377. package/dist/openapi/models/UploadResponse.d.ts +1 -1
  378. package/dist/openapi/models/UploadResponse.js +1 -1
  379. package/dist/openapi/models/UploadSizeExceedsTierResponse.d.ts +9 -1
  380. package/dist/openapi/models/UploadSizeExceedsTierResponse.js +1 -1
  381. package/dist/openapi/models/UploadSource.d.ts +1 -1
  382. package/dist/openapi/models/UploadSource.js +1 -1
  383. package/dist/openapi/models/UploadSuccessEnvelope.d.ts +1 -1
  384. package/dist/openapi/models/UploadSuccessEnvelope.js +1 -1
  385. package/dist/openapi/models/UploadThresholds.d.ts +1 -1
  386. package/dist/openapi/models/UploadThresholds.js +1 -1
  387. package/dist/openapi/models/UserTier.d.ts +23 -4
  388. package/dist/openapi/models/UserTier.js +23 -4
  389. package/dist/openapi/models/ValidationErrorEnvelope.d.ts +1 -1
  390. package/dist/openapi/models/ValidationErrorEnvelope.js +1 -1
  391. package/dist/openapi/models/ValidationErrorEnvelopeDetailsInner.d.ts +1 -1
  392. package/dist/openapi/models/ValidationErrorEnvelopeDetailsInner.js +1 -1
  393. package/dist/openapi/models/VerifyEmailRequest.d.ts +1 -1
  394. package/dist/openapi/models/VerifyEmailRequest.js +1 -1
  395. package/dist/openapi/models/WarningType.d.ts +1 -1
  396. package/dist/openapi/models/WarningType.js +1 -1
  397. package/dist/openapi/models/WebhookOperationContext.d.ts +1 -1
  398. package/dist/openapi/models/WebhookOperationContext.js +1 -1
  399. package/dist/openapi/models/WebhookPayload.d.ts +1 -1
  400. package/dist/openapi/models/WebhookPayload.js +1 -1
  401. package/dist/openapi/models/WorkflowCancelBillingEffect.d.ts +1 -1
  402. package/dist/openapi/models/WorkflowCancelBillingEffect.js +1 -1
  403. package/dist/openapi/models/WorkflowCancelResponse.d.ts +1 -1
  404. package/dist/openapi/models/WorkflowCancelResponse.js +1 -1
  405. package/dist/openapi/models/WorkflowCancelSuccessEnvelope.d.ts +1 -1
  406. package/dist/openapi/models/WorkflowCancelSuccessEnvelope.js +1 -1
  407. package/dist/openapi/models/WorkflowCreateRequest.d.ts +1 -1
  408. package/dist/openapi/models/WorkflowCreateRequest.js +1 -1
  409. package/dist/openapi/models/WorkflowCreateResponse.d.ts +1 -1
  410. package/dist/openapi/models/WorkflowCreateResponse.js +1 -1
  411. package/dist/openapi/models/WorkflowCreateSuccessEnvelope.d.ts +1 -1
  412. package/dist/openapi/models/WorkflowCreateSuccessEnvelope.js +1 -1
  413. package/dist/openapi/models/WorkflowCreditSummary.d.ts +86 -0
  414. package/dist/openapi/models/WorkflowCreditSummary.js +63 -0
  415. package/dist/openapi/models/WorkflowDownloadResponse.d.ts +1 -1
  416. package/dist/openapi/models/WorkflowDownloadResponse.js +1 -1
  417. package/dist/openapi/models/WorkflowDownloadSuccessEnvelope.d.ts +1 -1
  418. package/dist/openapi/models/WorkflowDownloadSuccessEnvelope.js +1 -1
  419. package/dist/openapi/models/WorkflowEdge.d.ts +1 -1
  420. package/dist/openapi/models/WorkflowEdge.js +1 -1
  421. package/dist/openapi/models/WorkflowExpiredResponse.d.ts +9 -1
  422. package/dist/openapi/models/WorkflowExpiredResponse.js +1 -1
  423. package/dist/openapi/models/WorkflowListResponse.d.ts +1 -1
  424. package/dist/openapi/models/WorkflowListResponse.js +1 -1
  425. package/dist/openapi/models/WorkflowListSuccessEnvelope.d.ts +1 -1
  426. package/dist/openapi/models/WorkflowListSuccessEnvelope.js +1 -1
  427. package/dist/openapi/models/WorkflowPauseRequiredAction.d.ts +1 -1
  428. package/dist/openapi/models/WorkflowPauseRequiredAction.js +1 -1
  429. package/dist/openapi/models/WorkflowPausedDetail.d.ts +1 -1
  430. package/dist/openapi/models/WorkflowPausedDetail.js +1 -1
  431. package/dist/openapi/models/WorkflowPausedDetailLinks.d.ts +1 -1
  432. package/dist/openapi/models/WorkflowPausedDetailLinks.js +1 -1
  433. package/dist/openapi/models/WorkflowProcessing.d.ts +1 -1
  434. package/dist/openapi/models/WorkflowProcessing.js +1 -1
  435. package/dist/openapi/models/WorkflowResumeResponse.d.ts +1 -1
  436. package/dist/openapi/models/WorkflowResumeResponse.js +1 -1
  437. package/dist/openapi/models/WorkflowResumeSuccessEnvelope.d.ts +1 -1
  438. package/dist/openapi/models/WorkflowResumeSuccessEnvelope.js +1 -1
  439. package/dist/openapi/models/WorkflowSource.d.ts +1 -1
  440. package/dist/openapi/models/WorkflowSource.js +1 -1
  441. package/dist/openapi/models/WorkflowStatus.d.ts +1 -1
  442. package/dist/openapi/models/WorkflowStatus.js +1 -1
  443. package/dist/openapi/models/WorkflowStatusResponse.d.ts +20 -1
  444. package/dist/openapi/models/WorkflowStatusResponse.js +7 -1
  445. package/dist/openapi/models/WorkflowStatusSuccessEnvelope.d.ts +1 -1
  446. package/dist/openapi/models/WorkflowStatusSuccessEnvelope.js +1 -1
  447. package/dist/openapi/models/WorkflowSummary.d.ts +8 -1
  448. package/dist/openapi/models/WorkflowSummary.js +4 -1
  449. package/dist/openapi/models/WorkflowSummaryJob.d.ts +1 -1
  450. package/dist/openapi/models/WorkflowSummaryJob.js +1 -1
  451. package/dist/openapi/models/WorkflowWarning.d.ts +1 -1
  452. package/dist/openapi/models/WorkflowWarning.js +1 -1
  453. package/dist/openapi/models/WorkflowWarningSeverity.d.ts +1 -1
  454. package/dist/openapi/models/WorkflowWarningSeverity.js +1 -1
  455. package/dist/openapi/models/index.d.ts +9 -0
  456. package/dist/openapi/models/index.js +9 -0
  457. package/dist/openapi/runtime.d.ts +1 -1
  458. package/dist/openapi/runtime.js +1 -1
  459. package/dist/operations/compress.metadata.js +5 -4
  460. package/openapi/api.yaml +402 -11
  461. package/operation-capabilities/operation-capabilities.json +1 -1
  462. package/operations/schemas/audio_overlay.yaml +6 -0
  463. package/operations/schemas/audio_watermark.yaml +14 -3
  464. package/operations/schemas/compress.yaml +21 -12
  465. package/operations/schemas/convert.yaml +3 -0
  466. package/operations/schemas/custom_luma.yaml +3 -0
  467. package/operations/schemas/merge.yaml +2 -0
  468. package/operations/schemas/split.yaml +3 -0
  469. package/operations/schemas/thumbnail.yaml +2 -0
  470. package/operations/schemas/video_text_watermark.yaml +3 -0
  471. package/operations/schemas/video_watermark.yaml +3 -0
  472. package/package.json +1 -1
package/openapi/api.yaml CHANGED
@@ -89,7 +89,7 @@ info:
89
89
  of truth instead of hardcoding magic numbers. A runtime
90
90
  `GET /api/uploads/limits` endpoint for dynamic discovery
91
91
  (per-tier / per-environment overrides) is a deferred follow-up.
92
- version: 2.127.0
92
+ version: 2.133.0
93
93
  contact:
94
94
  name: API Support
95
95
 
@@ -1899,11 +1899,52 @@ paths:
1899
1899
  field: "inputs[0].framerate vs inputs[1].framerate"
1900
1900
  message: "Inputs use different frame rates (29.97 vs 30); set re_encode_mode to auto or always."
1901
1901
  '429':
1902
- description: Rate limit exceeded
1902
+ description: |
1903
+ Rate limited. Two distinct triggers share this status — branch
1904
+ on the `error` code, NOT on the status:
1905
+
1906
+ 1. **Long-form concurrency cap** — the caller already holds the
1907
+ maximum number of concurrent in-flight long-form (Fargate)
1908
+ workflows their tier permits (Pro 2 / Max 5; Enterprise +
1909
+ Free uncapped). Body is `LongFormConcurrencyLimitResponse`:
1910
+ `error: LONG_FORM_CONCURRENCY_LIMIT_EXCEEDED`, `message_key:
1911
+ job.long_form_concurrency_exceeded`, a `links.upgrade` CTA,
1912
+ and **no `Retry-After`** — the limit clears when an in-flight
1913
+ long-form workflow finishes, not on a timer.
1914
+ 2. **Infrastructure rate-limit** — too many requests in the
1915
+ current window. The links-absent subset of the same shape: a
1916
+ plain `ErrorEnvelope` with a `Retry-After` header.
1917
+ headers:
1918
+ Retry-After:
1919
+ description: |
1920
+ Seconds to wait before retrying. Delta-seconds (RFC 9110).
1921
+ Present ONLY for the infrastructure rate-limit trigger —
1922
+ ABSENT for `LONG_FORM_CONCURRENCY_LIMIT_EXCEEDED` (that
1923
+ limit clears on workflow completion, not on a timer).
1924
+ schema:
1925
+ type: integer
1926
+ minimum: 0
1927
+ example: 60
1903
1928
  content:
1904
1929
  application/json:
1905
1930
  schema:
1906
- $ref: '#/components/schemas/ErrorEnvelope'
1931
+ $ref: '#/components/schemas/LongFormConcurrencyLimitResponse'
1932
+ examples:
1933
+ long_form_concurrency_exceeded:
1934
+ summary: Caller already holds the max concurrent long-form workflows for their tier
1935
+ value:
1936
+ success: false
1937
+ error: "LONG_FORM_CONCURRENCY_LIMIT_EXCEEDED"
1938
+ message: "You already have the maximum of 5 concurrent long-form workflows for your tier. Wait for one to finish or upgrade for a higher limit."
1939
+ message_key: "job.long_form_concurrency_exceeded"
1940
+ locale: "en-GB"
1941
+ links:
1942
+ upgrade: "https://giveitsmaller.com/pricing"
1943
+ infrastructure_rate_limit:
1944
+ summary: Too many requests in the current window (generic throttle, carries Retry-After)
1945
+ value:
1946
+ success: false
1947
+ error: "Too many requests. Please try again later."
1907
1948
  '500':
1908
1949
  description: Internal server error
1909
1950
  content:
@@ -4875,6 +4916,14 @@ components:
4875
4916
  response does not reveal another user's upload exists).
4876
4917
  `message_key: "upload.not_found"`. See the createWorkflow
4877
4918
  404 response + ADR-0016 Amendment.
4919
+ - `LONG_FORM_CONCURRENCY_LIMIT_EXCEEDED` (429) — caller already
4920
+ holds the maximum concurrent in-flight long-form workflows
4921
+ their tier permits (Pro 2 / Max 5; Enterprise uncapped).
4922
+ DISTINCT from an infra rate-limit 429: carries no
4923
+ `Retry-After` (it clears on workflow completion) and adds a
4924
+ `links.upgrade` CTA. `message_key:
4925
+ "job.long_form_concurrency_exceeded"`. See the createWorkflow
4926
+ 429 response + `LongFormConcurrencyLimitResponse`.
4878
4927
  message:
4879
4928
  type: string
4880
4929
  description: |
@@ -6190,6 +6239,54 @@ components:
6190
6239
  format: uri
6191
6240
  description: Top-up deep link.
6192
6241
 
6242
+ LongFormConcurrencyLimitResponse:
6243
+ type: object
6244
+ description: |
6245
+ `429` response body for `POST /api/workflows` when the caller
6246
+ already holds the maximum number of concurrent in-flight
6247
+ long-form (Fargate) workflows their tier permits
6248
+ (`UserTier.maxConcurrentLongFormJobs`: Pro 2 / Max 5; Enterprise
6249
+ + Free uncapped — Free has no long-form access at all). Carried
6250
+ on a `429` but DISTINCT from an infrastructure rate-limit `429`:
6251
+
6252
+ - `error` is the stable code `LONG_FORM_CONCURRENCY_LIMIT_EXCEEDED`
6253
+ (`message_key: job.long_form_concurrency_exceeded`).
6254
+ - **No `Retry-After`.** The limit clears when an in-flight
6255
+ long-form workflow finishes, not on a timer — the client waits
6256
+ on workflow completion (or upgrades), it does not back off for
6257
+ N seconds.
6258
+ - Carries `links.upgrade` (the pricing / upgrade deep link) so the
6259
+ frontend can render a "raise your concurrent long-form limit"
6260
+ CTA rather than "try again later".
6261
+
6262
+ A generic infrastructure rate-limit `429` on this endpoint is the
6263
+ links-absent subset of this shape: a plain `ErrorEnvelope` with a
6264
+ `Retry-After` header and no `links`. `error` is left as a
6265
+ documented string (not a strict enum) so the rate-limit subset
6266
+ validates against the same schema and consumers tolerate unknown
6267
+ codes; SDKs branch on the `LONG_FORM_CONCURRENCY_LIMIT_EXCEEDED`
6268
+ value to distinguish the two.
6269
+
6270
+ Mirrors the runtime shape produced by `compression_api`'s
6271
+ `WorkflowController` +
6272
+ `CreateWorkflowResult::longFormConcurrencyExceeded`
6273
+ (PR #484, API ticket CSPBSIVm).
6274
+ allOf:
6275
+ - $ref: '#/components/schemas/ErrorEnvelope'
6276
+ - type: object
6277
+ properties:
6278
+ links:
6279
+ type: object
6280
+ description: |
6281
+ Caller-actionable URLs. Carries `upgrade` for the
6282
+ long-form concurrency `429`; absent on the infrastructure
6283
+ rate-limit subset.
6284
+ properties:
6285
+ upgrade:
6286
+ type: string
6287
+ format: uri
6288
+ description: Upgrade-plan / pricing deep link.
6289
+
6193
6290
  # ============================================
6194
6291
  # WORKFLOW LIFECYCLE — CANCEL / RESUME (per ticket I24)
6195
6292
  # ============================================
@@ -6543,14 +6640,32 @@ components:
6543
6640
  Subscription tier. Mirrors the API-side
6544
6641
  `App\Identity\Domain\Enums\UserTier` PHP enum.
6545
6642
 
6643
+ Ordering is `free` < `pro` < `max` < `enterprise` (the
6644
+ upgrade-resolver / `isHigherThan` ordinal in `UserTier.php`).
6645
+ `max` is the top **self-serve** tier — Pro plus audio + larger
6646
+ long-form bands; Enterprise remains the negotiated tier above it.
6647
+
6546
6648
  Tier capability summary (informational; canonical limits are
6547
6649
  enforced server-side per `UserTier.php`):
6548
6650
  - `free`: 10 MiB max upload; image MIMEs only; 50 monthly credits;
6549
- 0 overdraft; 1× rate-limit baseline.
6651
+ 0 overdraft; 1× rate-limit baseline. No long-form access
6652
+ (video/audio are MIME-gated away from Free).
6550
6653
  - `pro`: 5 GiB max upload; image + video + document MIMEs; 1000
6551
- monthly credits; 200 overdraft; 5× rate-limit.
6654
+ monthly credits; 200 overdraft; 5× rate-limit; up to 2 concurrent
6655
+ in-flight long-form jobs.
6656
+ - `max`: 50 GiB max upload; image + video + document + audio MIMEs;
6657
+ 7500 monthly credits; 2500 overdraft; 15× rate-limit; up to 5
6658
+ concurrent in-flight long-form jobs.
6552
6659
  - `enterprise`: 100 GiB max upload; image + video + document + audio
6553
- MIMEs; 10000 monthly credits; 5000 overdraft; 20× rate-limit.
6660
+ MIMEs; 10000 monthly credits; 5000 overdraft; 20× rate-limit;
6661
+ uncapped concurrent long-form jobs.
6662
+
6663
+ **Concurrent long-form jobs** is a hard per-tier ceiling on the
6664
+ number of in-flight long-form (Fargate) workflows a caller may
6665
+ hold at once — exceeding it returns a typed `429`
6666
+ `LONG_FORM_CONCURRENCY_LIMIT_EXCEEDED` (see the `POST /api/workflows`
6667
+ 429 response). Pro's 2-job cap is enforced as of the Max-tier
6668
+ launch.
6554
6669
 
6555
6670
  The "max upload" figures are the per-file upload cap
6556
6671
  (`UserTier.maxFileSizeBytes`) — the request-level tier quota,
@@ -6565,6 +6680,7 @@ components:
6565
6680
  enum:
6566
6681
  - free
6567
6682
  - pro
6683
+ - max
6568
6684
  - enterprise
6569
6685
 
6570
6686
  TierRestrictionKind:
@@ -9721,6 +9837,23 @@ components:
9721
9837
  operation-composition epic; the server omits the field until
9722
9838
  it is live (mirroring the create side). Per ticket
9723
9839
  [`RrxdUBGZ`](https://trello.com/c/RrxdUBGZ) / `i2J8AMy6`.
9840
+ credits:
9841
+ description: |
9842
+ OPTIONAL. Per-workflow credit summary (`reserved` / `refunded` /
9843
+ `net` + settlement `state`) for the credits-per-run readout — what
9844
+ this run cost. `null` for legacy workflows with no credit record.
9845
+ See `WorkflowCreditSummary`. Per ticket `7XbqXO1B`.
9846
+ oneOf:
9847
+ - $ref: '#/components/schemas/WorkflowCreditSummary'
9848
+ - type: 'null'
9849
+ codegen_source:
9850
+ $ref: '#/components/schemas/CodegenSource'
9851
+ description: |
9852
+ OPTIONAL, drill-in-only "code for this run" / replay projection — the
9853
+ allowlisted, re-submittable shape of the original request (for an SDK
9854
+ snippet / "run it again"). Absent until the API populates it. NOT a
9855
+ dump of the persisted option bag; see `CodegenSource`. Per ticket
9856
+ `LO0R5gzk`.
9724
9857
 
9725
9858
  WorkflowStatusSuccessEnvelope:
9726
9859
  type: object
@@ -9853,6 +9986,227 @@ components:
9853
9986
  type: array
9854
9987
  items:
9855
9988
  $ref: '#/components/schemas/WorkflowSummaryJob'
9989
+ credits:
9990
+ description: |
9991
+ OPTIONAL. Per-workflow credit summary (`reserved` / `refunded` /
9992
+ `net` + settlement `state`) so the list row can show what each run
9993
+ cost. `null` for legacy workflows with no credit record. Same shape
9994
+ as `WorkflowStatusResponse.credits`. Per ticket `7XbqXO1B`.
9995
+ oneOf:
9996
+ - $ref: '#/components/schemas/WorkflowCreditSummary'
9997
+ - type: 'null'
9998
+
9999
+ WorkflowCreditSummary:
10000
+ type: object
10001
+ description: |
10002
+ Per-workflow credit summary for the workflows-history read
10003
+ (credits-per-run). Exposes the billing-ledger figures so the UI can show
10004
+ what a run cost without treating an in-flight reservation as a final
10005
+ charge — `state` distinguishes a held reservation from a settled charge.
10006
+ Additive; the enclosing `credits` field is `null` for legacy workflows
10007
+ with no credit record. Per ticket `7XbqXO1B`.
10008
+ required:
10009
+ - reserved
10010
+ - refunded
10011
+ - net
10012
+ - state
10013
+ properties:
10014
+ reserved:
10015
+ type: integer
10016
+ minimum: 0
10017
+ description: Credits reserved (held) for the workflow at create time.
10018
+ refunded:
10019
+ type: integer
10020
+ minimum: 0
10021
+ description: |
10022
+ Credits refunded back to the caller (e.g. on failure / partial
10023
+ completion / released reservation).
10024
+ net:
10025
+ type: integer
10026
+ minimum: 0
10027
+ description: |
10028
+ Net credits charged for the run (`reserved` − `refunded`).
10029
+ AUTHORITATIVE for every non-`active` `state` (both `settled` and
10030
+ `released`); only while `state` is `active` is it a
10031
+ current-but-not-yet-final figure.
10032
+ state:
10033
+ type: string
10034
+ enum: [active, settled, released]
10035
+ description: |
10036
+ A UI-facing PROJECTION of the workflow's billing-ledger reservation
10037
+ lifecycle into three states — the API maps the underlying ledger
10038
+ states into exactly one of these (consumers read only this projected
10039
+ value, not the raw ledger state):
10040
+ - `active` — reservation held, charge NOT yet final (a UI MUST NOT
10041
+ present `net` as the final cost).
10042
+ - `settled` — final charge applied; `net` is authoritative.
10043
+ - `released` — the reservation reached a terminal NON-settled
10044
+ outcome (released / cancelled / expired / fully-refunded — they
10045
+ all project here); `net` is authoritative (typically 0, or the
10046
+ partial charge that stuck).
10047
+
10048
+ Both non-`active` states are TERMINAL with an authoritative `net`;
10049
+ the `active` vs non-`active` split is the only distinction a cost
10050
+ readout needs (don't show a final figure while `active`).
10051
+
10052
+ CodegenSource:
10053
+ type: object
10054
+ description: |
10055
+ Drill-in-only "code for this run" / replay projection — a DEDICATED,
10056
+ ALLOWLISTED mirror of the SAFE, user-authored parts of the original
10057
+ workflow-create request, so a consumer can regenerate it (an SDK
10058
+ snippet, a "run it again" action).
10059
+
10060
+ **NOT an echo of the persisted option bag.** The create path
10061
+ canonicalizes/defaults options and stores internal fan-out +
10062
+ orchestration detail — synthetic `passthrough` source jobs,
10063
+ derived-artifact nodes, per-output expansion, server-defaulted/
10064
+ canonicalized internal option keys — none of which is a stable public
10065
+ contract. This type carries ONLY the re-submittable request shape and
10066
+ EXCLUDES all of that plus runtime results.
10067
+
10068
+ **Detail-only** — `WorkflowStatusResponse` only, NEVER `WorkflowSummary`
10069
+ (payload + the list view doesn't need it). OPTIONAL: the projector ships
10070
+ incrementally; the field is absent until the API populates it.
10071
+
10072
+ **Scope: the reproducible JOB graph only.** Workflow-level request
10073
+ fields (`delivery` / `export` / `processing`) are deliberately NOT part
10074
+ of this projection — a replay re-applies the caller's own delivery /
10075
+ export choices. Per ticket `LO0R5gzk`.
10076
+ required:
10077
+ - jobs
10078
+ properties:
10079
+ jobs:
10080
+ type: array
10081
+ description: |
10082
+ The reproducible, user-authored jobs in request order. Internal /
10083
+ synthetic jobs (e.g. server-injected `passthrough` source jobs) are
10084
+ excluded.
10085
+ items:
10086
+ $ref: '#/components/schemas/CodegenSourceJob'
10087
+
10088
+ CodegenSourceJob:
10089
+ type: object
10090
+ description: |
10091
+ One job's re-submittable shape — the allowlisted mirror of
10092
+ `JobDefinition`. `source` (single-input) and `inputs` (role-based
10093
+ multi-input) are mutually exclusive, as in the create request.
10094
+ required:
10095
+ - operations
10096
+ properties:
10097
+ ref:
10098
+ type: string
10099
+ description: |
10100
+ The job's workflow-local ref (the authored `JobDefinition.id`, or the
10101
+ server `job_N` when unauthored) — preserved so chain `from`
10102
+ references between jobs round-trip on replay.
10103
+ deliver:
10104
+ type: boolean
10105
+ description: |
10106
+ Mirrors `JobDefinition.deliver` — whether this (possibly
10107
+ intermediate) job's output was promoted for delivery. Preserved so a
10108
+ replay delivers the same set of outputs. Omitted ⇒ default `false`.
10109
+ source:
10110
+ description: |
10111
+ Single-input source (single-input ops). Mutually exclusive with
10112
+ `inputs`. A `job_output` / `external_import` / `connection` source
10113
+ round-trips verbatim — the same three `MultiInputSource` leaves,
10114
+ inlined here as a FLAT union of concrete records rather than
10115
+ nesting the `MultiInputSource` `oneOf` as a member
10116
+ (`oneOf`-in-`oneOf` is not code-generatable by openapi-generator —
10117
+ ticket `H6wwypmO`); a user UPLOAD is represented by a
10118
+ `CodegenUploadPlaceholder` (no bytes/keys — the original upload is
10119
+ consumed/expired). Distinguished structurally: the three source
10120
+ leaves carry `type` (`job_output` / `external_import` /
10121
+ `connection`), the placeholder carries `kind: upload_placeholder`.
10122
+ oneOf:
10123
+ - $ref: '#/components/schemas/JobOutputSource'
10124
+ - $ref: '#/components/schemas/ExternalImportToken'
10125
+ - $ref: '#/components/schemas/ConnectionSource'
10126
+ - $ref: '#/components/schemas/CodegenUploadPlaceholder'
10127
+ inputs:
10128
+ type: array
10129
+ description: |
10130
+ Role-based multi-input list. Mutually exclusive with `source`. (A
10131
+ multi-input job never references a raw upload directly — an upload
10132
+ enters via a `passthrough` source job referenced here as
10133
+ `job_output`.)
10134
+ items:
10135
+ $ref: '#/components/schemas/CodegenSourceInput'
10136
+ operations:
10137
+ type: array
10138
+ items:
10139
+ $ref: '#/components/schemas/CodegenSourceOperation'
10140
+
10141
+ CodegenSourceInput:
10142
+ type: object
10143
+ description: |
10144
+ One multi-input entry — the allowlisted mirror of `JobInputV2`: a
10145
+ reproducible `MultiInputSource` (`job_output` / `external_import` /
10146
+ `connection` — the canonical request leaves, which round-trip
10147
+ `from`+`operation` / external handle / `connection_id`+`path` verbatim)
10148
+ plus the input `role` and authored `per_input_options`.
10149
+ required:
10150
+ - source
10151
+ properties:
10152
+ source:
10153
+ $ref: '#/components/schemas/MultiInputSource'
10154
+ role:
10155
+ type: string
10156
+ enum: [base, overlay, transition_mask]
10157
+ description: |
10158
+ Input role for role-based multi-input ops (omitted where the op has a
10159
+ single implicit role). Mirrors the `JobInputRole` request vocabulary;
10160
+ keep in sync if that enum widens.
10161
+ per_input_options:
10162
+ type: object
10163
+ description: |
10164
+ Per-input options for this input, as authored — public keys only
10165
+ (internal/defaulted keys excluded).
10166
+ additionalProperties: true
10167
+
10168
+ CodegenUploadPlaceholder:
10169
+ type: object
10170
+ description: |
10171
+ Stand-in for a user UPLOAD source in a replay projection — descriptive
10172
+ metadata so a consumer can re-prompt for an equivalent file. NOT the
10173
+ bytes or storage key (the original upload is consumed/expired), so it is
10174
+ deliberately NOT a re-submittable `UploadSource`.
10175
+ required:
10176
+ - kind
10177
+ properties:
10178
+ kind:
10179
+ type: string
10180
+ enum: [upload_placeholder]
10181
+ description: Discriminates this stand-in from a re-submittable `MultiInputSource`.
10182
+ filename:
10183
+ type: string
10184
+ maxLength: 1024
10185
+ mime_type:
10186
+ type: string
10187
+ maxLength: 100
10188
+ size_bytes:
10189
+ type: integer
10190
+ format: int64
10191
+ minimum: 0
10192
+
10193
+ CodegenSourceOperation:
10194
+ type: object
10195
+ description: |
10196
+ One operation in re-submittable form: the public operation `type` + the
10197
+ user-authored public `options` (allowlisted — server-defaulted /
10198
+ canonicalized internal keys are excluded; what's present is what the
10199
+ caller would re-send). Option keys are operation-specific — see the
10200
+ per-operation schemas for the typed shapes.
10201
+ required:
10202
+ - type
10203
+ properties:
10204
+ type:
10205
+ $ref: '#/components/schemas/OperationType'
10206
+ options:
10207
+ type: object
10208
+ description: Public, user-authored options for this operation (as submitted).
10209
+ additionalProperties: true
9856
10210
 
9857
10211
  WorkflowListResponse:
9858
10212
  type: object
@@ -10005,11 +10359,41 @@ components:
10005
10359
  error_code:
10006
10360
  type: string
10007
10361
  description: |
10008
- Machine-readable failure code. Present when `status` is `failed`;
10009
- absent otherwise. Mirrors `SseOperationFailedData.error_code` — the
10010
- same diagnostic the SSE `operation.failed` event carries, surfaced
10011
- here for polling consumers. Plain string (consumers duck-type on
10012
- it), e.g. `output_too_large`.
10362
+ Machine-readable operation failure code. Present when `status` is
10363
+ `failed`; absent otherwise. Mirrors `SseOperationFailedData.error_code`
10364
+ (same diagnostic the SSE `operation.failed` event carries) and the
10365
+ AsyncAPI `OperationResult.error_code` / `ErrorCode` enum (the source
10366
+ of truth). The worker emits a CLOSED, curated set; consumers SHOULD
10367
+ map known values to a friendly reason and MUST degrade an unknown
10368
+ value to a generic reason (a future contract version MAY add a
10369
+ variant). Left `type: string` (not a strict enum) deliberately: this
10370
+ same field rides the `WebhookPayload.workflow` callback, where a
10371
+ strict enum would read as a request-narrowing, and tolerate-unknown
10372
+ is the intended consumer behaviour.
10373
+
10374
+ Distinct from the workflow/API create-time `ErrorEnvelope.error`
10375
+ vocabulary — this is the per-operation processing failure.
10376
+
10377
+ **Retry semantics:** the sibling `is_retryable` marks the transient
10378
+ codes (`out_of_memory`, `timeout`, `s3_download_failed`,
10379
+ `s3_upload_failed`); those are auto-redriven (SQS) and exhausted
10380
+ before a failure surfaces, so a reported failure is always terminal —
10381
+ `is_retryable` only tells the user whether re-submitting is worthwhile.
10382
+
10383
+ **Codes** (closed set; meaning):
10384
+ `invalid_options` (options invalid for this op — most common),
10385
+ `invalid_request` (malformed OperationRequest),
10386
+ `invalid_format` (input type unsupported),
10387
+ `format_mismatch` (declared MIME ≠ content),
10388
+ `decode_failed` (input unreadable/corrupt),
10389
+ `output_too_large` (output exceeded the size limit),
10390
+ `missing_source` (source not found — fail-fast),
10391
+ `invalid_key` (storage key invalid),
10392
+ `processing_failed` (non-specific processing failure),
10393
+ `s3_access_denied` (storage access denied — fail-fast, non-retryable),
10394
+ `unknown` (unclassified),
10395
+ `out_of_memory` (retryable), `timeout` (retryable),
10396
+ `s3_download_failed` (retryable), `s3_upload_failed` (retryable).
10013
10397
  example: "output_too_large"
10014
10398
  error_message:
10015
10399
  type: string
@@ -10781,6 +11165,13 @@ components:
10781
11165
  const: "failed"
10782
11166
  error_code:
10783
11167
  type: string
11168
+ description: |
11169
+ Machine-readable operation failure code (failed only). Same closed
11170
+ vocabulary as `OperationResponse.error_code` / the AsyncAPI
11171
+ `ErrorCode` enum (the source of truth) — see
11172
+ `OperationResponse.error_code` for the full code set + meanings +
11173
+ retry semantics. Consumers MUST degrade an unknown value to a
11174
+ generic reason.
10784
11175
  error_message:
10785
11176
  type: string
10786
11177
 
@@ -515,5 +515,5 @@
515
515
  "isAnimated": "maybe"
516
516
  }
517
517
  },
518
- "schema_version": "2.127.0"
518
+ "schema_version": "2.133.0"
519
519
  }
@@ -102,6 +102,9 @@ operation:
102
102
  max_input_size_bytes: 5000000000 # 5 GB (Pro)
103
103
  max_output_size_bytes: 5000000000
104
104
  per_tier_constraints:
105
+ max:
106
+ max_input_size_bytes: 50000000000 # 50 GB (Max self-serve band)
107
+ max_output_size_bytes: 50000000000
105
108
  enterprise:
106
109
  max_input_size_bytes: 120000000000 # 120 GB (Enterprise enforced ceiling)
107
110
  max_output_size_bytes: 120000000000
@@ -287,6 +290,9 @@ operation:
287
290
  max_input_size_bytes: 5000000000 # 5 GB (Pro)
288
291
  max_output_size_bytes: 5000000000
289
292
  per_tier_constraints:
293
+ max:
294
+ max_input_size_bytes: 50000000000 # 50 GB (Max self-serve band)
295
+ max_output_size_bytes: 50000000000
290
296
  enterprise:
291
297
  max_input_size_bytes: 120000000000 # 120 GB (Enterprise enforced ceiling)
292
298
  max_output_size_bytes: 120000000000
@@ -3,6 +3,14 @@ schema_version: "2.0.0"
3
3
  operation:
4
4
  type: audio_watermark
5
5
  availability: planned
6
+ # required_tier stays `enterprise` after the Max tier (TaAvvGm4): Max gains
7
+ # the audio MIME *entitlement* (it can compress / convert / overlay / split
8
+ # audio), but forensic audio watermarking (Cinavia / Resemble PerTh) is a
9
+ # premium Enterprise differentiator, NOT basic audio processing — Max is
10
+ # "Pro + audio + larger long-form bands, NOT Enterprise". MIME entitlement
11
+ # (the UserTier capability summary) and a per-operation `required_tier` gate
12
+ # are orthogonal axes, so a Max caller having audio is not contradicted by
13
+ # this op being Enterprise-only. (Reassessed per TaAvvGm4 scope item 3.)
6
14
  required_tier: enterprise
7
15
  description: |
8
16
  Embed a steganographic forensic watermark into an audio asset (or
@@ -43,9 +51,12 @@ operation:
43
51
  processing_class:
44
52
  # F8 long-form tier (per ticket I15-CONS). audio_watermark is
45
53
  # `availability: planned` + `required_tier: enterprise` at the
46
- # operation level; per-class entries inherit the enterprise
47
- # tier (long_form widens further to enterprise as the natural
48
- # superset of pro).
54
+ # operation level (see the op-level note re: the Max tier — this
55
+ # premium forensic feature is Enterprise-only despite Max having
56
+ # the audio MIME entitlement); per-class entries inherit the
57
+ # enterprise tier, so the baseline IS the Enterprise cap and no
58
+ # per_tier_constraints (max/...) is declared — there is no tier
59
+ # above the baseline (ADR-0011 D2).
49
60
  short_form:
50
61
  availability: planned
51
62
  required_tier: enterprise
@@ -231,14 +231,15 @@ operation:
231
231
  type: enum
232
232
  values: [keep, srgb, strip]
233
233
  default: keep
234
- availability: planned
235
234
  honored_on: [same_format, format_change]
236
235
  description: >-
237
236
  Colour-profile handling — a dedicated control, separate from `metadata` so
238
237
  that stripping metadata never silently shifts colours. `keep` (default) =
239
- preserve the embedded colour profile; `srgb` = convert to sRGB (also
240
- handles CMYK → sRGB); `strip` = drop the profile (smallest — only when the
241
- consumer manages colour itself). `planned` — not yet supported.
238
+ preserve your colours: embed the ICC profile where the output format can
239
+ carry one, otherwise convert to sRGB and bake the colours in so they survive
240
+ (never a silent drop); `srgb` = convert to sRGB (also handles CMYK → sRGB);
241
+ `strip` = drop the profile (smallest — only when the consumer manages colour
242
+ itself).
242
243
  auto_orient:
243
244
  type: boolean
244
245
  default: true
@@ -358,14 +359,15 @@ operation:
358
359
  type: enum
359
360
  values: [keep, srgb, strip]
360
361
  default: keep
361
- availability: planned
362
362
  honored_on: [same_format, format_change]
363
363
  description: >-
364
364
  Colour-profile handling — a dedicated control, separate from `metadata` so
365
365
  that stripping metadata never silently shifts colours. `keep` (default) =
366
- preserve the embedded colour profile; `srgb` = convert to sRGB (also
367
- handles CMYK → sRGB); `strip` = drop the profile (smallest — only when the
368
- consumer manages colour itself). `planned` — not yet supported.
366
+ preserve your colours: embed the ICC profile where the output format can
367
+ carry one, otherwise convert to sRGB and bake the colours in so they survive
368
+ (never a silent drop); `srgb` = convert to sRGB (also handles CMYK → sRGB);
369
+ `strip` = drop the profile (smallest — only when the consumer manages colour
370
+ itself).
369
371
  auto_orient:
370
372
  type: boolean
371
373
  default: true
@@ -645,14 +647,18 @@ operation:
645
647
  type: enum
646
648
  values: [keep, srgb, strip]
647
649
  default: keep
648
- availability: planned
650
+ per_value_availability:
651
+ srgb: { availability: planned }
649
652
  honored_on: [same_format, format_change]
650
653
  description: >-
651
654
  Colour-profile handling — a dedicated control, separate from `metadata` so
652
655
  that stripping metadata never silently shifts colours. `keep` (default) =
653
- preserve the embedded colour profile; `srgb` = convert to sRGB (also
654
- handles CMYK → sRGB); `strip` = drop the profile (smallest — only when the
655
- consumer manages colour itself). `planned` — not yet supported.
656
+ preserve your colours: embed the ICC profile where the output format can
657
+ carry one, otherwise convert to sRGB and bake the colours in so they survive
658
+ (never a silent drop); `srgb` = convert to sRGB (also handles CMYK → sRGB);
659
+ `strip` = drop the profile (smallest — only when the consumer manages colour
660
+ itself). On the WebP same-format route `srgb` is `planned` (the byte-level
661
+ optimiser does not yet run the sRGB transform); `keep` and `strip` are live.
656
662
  auto_orient:
657
663
  type: boolean
658
664
  default: true
@@ -922,6 +928,9 @@ operation:
922
928
  max_input_size_bytes: 5000000000 # 5 GB (Pro)
923
929
  max_output_size_bytes: 5000000000
924
930
  per_tier_constraints:
931
+ max:
932
+ max_input_size_bytes: 50000000000 # 50 GB (Max self-serve band)
933
+ max_output_size_bytes: 50000000000
925
934
  enterprise:
926
935
  max_input_size_bytes: 120000000000 # 120 GB (Enterprise enforced ceiling)
927
936
  max_output_size_bytes: 120000000000
@@ -317,6 +317,9 @@ operation:
317
317
  max_input_size_bytes: 5000000000 # 5 GB (Pro)
318
318
  max_output_size_bytes: 5000000000
319
319
  per_tier_constraints:
320
+ max:
321
+ max_input_size_bytes: 50000000000 # 50 GB (Max self-serve band)
322
+ max_output_size_bytes: 50000000000
320
323
  enterprise:
321
324
  max_input_size_bytes: 120000000000 # 120 GB (Enterprise enforced ceiling)
322
325
  max_output_size_bytes: 120000000000
@@ -74,6 +74,9 @@ operation:
74
74
  max_input_size_bytes: 5000000000 # 5 GB (Pro)
75
75
  max_output_size_bytes: 5000000000
76
76
  per_tier_constraints:
77
+ max:
78
+ max_input_size_bytes: 50000000000 # 50 GB (Max self-serve band)
79
+ max_output_size_bytes: 50000000000
77
80
  enterprise:
78
81
  max_input_size_bytes: 120000000000 # 120 GB (Enterprise enforced ceiling)
79
82
  max_output_size_bytes: 120000000000
@@ -174,6 +174,8 @@ operation:
174
174
  max_total_duration: "PT24H" # 24h (was PT12H) — binding Enterprise ceiling
175
175
  max_total_input_size_bytes: 5000000000 # 5 GB combined (Pro)
176
176
  per_tier_constraints:
177
+ max:
178
+ max_total_input_size_bytes: 50000000000 # 50 GB combined (Max self-serve band)
177
179
  enterprise:
178
180
  max_total_input_size_bytes: 120000000000 # 120 GB combined (Enterprise)
179
181
  options:
@@ -307,6 +307,9 @@ operation:
307
307
  max_input_size_bytes: 5000000000 # 5 GB (Pro)
308
308
  max_output_size_bytes: 5000000000
309
309
  per_tier_constraints:
310
+ max:
311
+ max_input_size_bytes: 50000000000 # 50 GB (Max self-serve band)
312
+ max_output_size_bytes: 50000000000
310
313
  enterprise:
311
314
  max_input_size_bytes: 120000000000 # 120 GB
312
315
  max_output_size_bytes: 120000000000