@giveitsmaller/contracts 0.17.0 → 0.19.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 (413) hide show
  1. package/asyncapi/events.yaml +22 -12
  2. package/availability/availability.json +107 -9
  3. package/dist/openapi/models/AccountLimitEntry.d.ts +54 -0
  4. package/dist/openapi/models/AccountLimitEntry.js +51 -0
  5. package/dist/openapi/models/AccountLimits.d.ts +60 -0
  6. package/dist/openapi/models/AccountLimits.js +49 -0
  7. package/dist/openapi/models/AccountLimitsLimits.d.ts +40 -0
  8. package/dist/openapi/models/AccountLimitsLimits.js +50 -0
  9. package/dist/openapi/models/AccountLimitsSuccessEnvelope.d.ts +46 -0
  10. package/dist/openapi/models/AccountLimitsSuccessEnvelope.js +54 -0
  11. package/dist/openapi/models/AudioWatermarkDecodeRequest.d.ts +1 -1
  12. package/dist/openapi/models/AudioWatermarkDecodeRequest.js +1 -1
  13. package/dist/openapi/models/AudioWatermarkDecodeResponse.d.ts +1 -1
  14. package/dist/openapi/models/AudioWatermarkDecodeResponse.js +1 -1
  15. package/dist/openapi/models/AuthErrorResponse.d.ts +1 -1
  16. package/dist/openapi/models/AuthErrorResponse.js +1 -1
  17. package/dist/openapi/models/AuthErrorType.d.ts +1 -1
  18. package/dist/openapi/models/AuthErrorType.js +1 -1
  19. package/dist/openapi/models/AuthRejectionEnvelope.d.ts +1 -1
  20. package/dist/openapi/models/AuthRejectionEnvelope.js +1 -1
  21. package/dist/openapi/models/AvailabilityValue.d.ts +1 -1
  22. package/dist/openapi/models/AvailabilityValue.js +1 -1
  23. package/dist/openapi/models/BalanceExhaustedResponse.d.ts +1 -1
  24. package/dist/openapi/models/BalanceExhaustedResponse.js +1 -1
  25. package/dist/openapi/models/BalanceExhaustedResponseAllOfLinks.d.ts +1 -1
  26. package/dist/openapi/models/BalanceExhaustedResponseAllOfLinks.js +1 -1
  27. package/dist/openapi/models/CallbackEventType.d.ts +1 -1
  28. package/dist/openapi/models/CallbackEventType.js +1 -1
  29. package/dist/openapi/models/ChangePasswordRequest.d.ts +1 -1
  30. package/dist/openapi/models/ChangePasswordRequest.js +1 -1
  31. package/dist/openapi/models/CompositionPlan.d.ts +1 -1
  32. package/dist/openapi/models/CompositionPlan.js +1 -1
  33. package/dist/openapi/models/CompositionPlanJob.d.ts +1 -1
  34. package/dist/openapi/models/CompositionPlanJob.js +1 -1
  35. package/dist/openapi/models/CompositionPlanOperation.d.ts +1 -1
  36. package/dist/openapi/models/CompositionPlanOperation.js +1 -1
  37. package/dist/openapi/models/ConfirmEmailChange200Response.d.ts +1 -1
  38. package/dist/openapi/models/ConfirmEmailChange200Response.js +1 -1
  39. package/dist/openapi/models/ConfirmEmailChange200ResponseData.d.ts +1 -1
  40. package/dist/openapi/models/ConfirmEmailChange200ResponseData.js +1 -1
  41. package/dist/openapi/models/ConfirmEmailChangeRequest.d.ts +1 -1
  42. package/dist/openapi/models/ConfirmEmailChangeRequest.js +1 -1
  43. package/dist/openapi/models/ConnectionSource.d.ts +1 -1
  44. package/dist/openapi/models/ConnectionSource.js +1 -1
  45. package/dist/openapi/models/ContactRequest.d.ts +1 -1
  46. package/dist/openapi/models/ContactRequest.js +1 -1
  47. package/dist/openapi/models/ContactSubject.d.ts +1 -1
  48. package/dist/openapi/models/ContactSubject.js +1 -1
  49. package/dist/openapi/models/ContactValidationErrorResponse.d.ts +1 -1
  50. package/dist/openapi/models/ContactValidationErrorResponse.js +1 -1
  51. package/dist/openapi/models/CreateApiKey201Response.d.ts +1 -1
  52. package/dist/openapi/models/CreateApiKey201Response.js +1 -1
  53. package/dist/openapi/models/CreateApiKey201ResponseData.d.ts +1 -1
  54. package/dist/openapi/models/CreateApiKey201ResponseData.js +1 -1
  55. package/dist/openapi/models/CreateApiKeyRequest.d.ts +1 -1
  56. package/dist/openapi/models/CreateApiKeyRequest.js +1 -1
  57. package/dist/openapi/models/CreateExternalImport403Response.d.ts +1 -1
  58. package/dist/openapi/models/CreateExternalImport403Response.js +1 -1
  59. package/dist/openapi/models/CreateExternalImport422Response.d.ts +1 -1
  60. package/dist/openapi/models/CreateExternalImport422Response.js +1 -1
  61. package/dist/openapi/models/CreateWorkflow422Response.d.ts +1 -1
  62. package/dist/openapi/models/CreateWorkflow422Response.js +1 -1
  63. package/dist/openapi/models/CreditTransaction.d.ts +1 -1
  64. package/dist/openapi/models/CreditTransaction.js +1 -1
  65. package/dist/openapi/models/CreditTransactionSourceBucket.d.ts +1 -1
  66. package/dist/openapi/models/CreditTransactionSourceBucket.js +1 -1
  67. package/dist/openapi/models/CreditsBalanceResponse.d.ts +1 -1
  68. package/dist/openapi/models/CreditsBalanceResponse.js +1 -1
  69. package/dist/openapi/models/CreditsBalanceSuccessEnvelope.d.ts +1 -1
  70. package/dist/openapi/models/CreditsBalanceSuccessEnvelope.js +1 -1
  71. package/dist/openapi/models/CreditsUsageResponse.d.ts +1 -1
  72. package/dist/openapi/models/CreditsUsageResponse.js +1 -1
  73. package/dist/openapi/models/CreditsUsageSuccessEnvelope.d.ts +1 -1
  74. package/dist/openapi/models/CreditsUsageSuccessEnvelope.js +1 -1
  75. package/dist/openapi/models/Delivery.d.ts +1 -1
  76. package/dist/openapi/models/Delivery.js +1 -1
  77. package/dist/openapi/models/DeliveryOutputRef.d.ts +1 -1
  78. package/dist/openapi/models/DeliveryOutputRef.js +1 -1
  79. package/dist/openapi/models/DeliveryPlan.d.ts +1 -1
  80. package/dist/openapi/models/DeliveryPlan.js +1 -1
  81. package/dist/openapi/models/DeliveryPlanOutput.d.ts +1 -1
  82. package/dist/openapi/models/DeliveryPlanOutput.js +1 -1
  83. package/dist/openapi/models/DeliveryPlanReason.d.ts +1 -1
  84. package/dist/openapi/models/DeliveryPlanReason.js +1 -1
  85. package/dist/openapi/models/DeliverySelection.d.ts +1 -1
  86. package/dist/openapi/models/DeliverySelection.js +1 -1
  87. package/dist/openapi/models/EmptySuccessEnvelope.d.ts +1 -1
  88. package/dist/openapi/models/EmptySuccessEnvelope.js +1 -1
  89. package/dist/openapi/models/EndpointProjection.d.ts +1 -1
  90. package/dist/openapi/models/EndpointProjection.js +1 -1
  91. package/dist/openapi/models/ErrorEnvelope.d.ts +1 -1
  92. package/dist/openapi/models/ErrorEnvelope.js +1 -1
  93. package/dist/openapi/models/EstimateQuality.d.ts +1 -1
  94. package/dist/openapi/models/EstimateQuality.js +1 -1
  95. package/dist/openapi/models/EstimateRange.d.ts +1 -1
  96. package/dist/openapi/models/EstimateRange.js +1 -1
  97. package/dist/openapi/models/ExternalDestination.d.ts +1 -1
  98. package/dist/openapi/models/ExternalDestination.js +1 -1
  99. package/dist/openapi/models/ExternalImportCreatedResponse.d.ts +1 -1
  100. package/dist/openapi/models/ExternalImportCreatedResponse.js +1 -1
  101. package/dist/openapi/models/ExternalImportCreatedSuccessEnvelope.d.ts +1 -1
  102. package/dist/openapi/models/ExternalImportCreatedSuccessEnvelope.js +1 -1
  103. package/dist/openapi/models/ExternalImportRequest.d.ts +1 -1
  104. package/dist/openapi/models/ExternalImportRequest.js +1 -1
  105. package/dist/openapi/models/ExternalImportToken.d.ts +1 -1
  106. package/dist/openapi/models/ExternalImportToken.js +1 -1
  107. package/dist/openapi/models/ExternalSource.d.ts +1 -1
  108. package/dist/openapi/models/ExternalSource.js +1 -1
  109. package/dist/openapi/models/FeatureNotAvailableResponse.d.ts +1 -1
  110. package/dist/openapi/models/FeatureNotAvailableResponse.js +1 -1
  111. package/dist/openapi/models/FeatureTierRestrictedResponse.d.ts +1 -1
  112. package/dist/openapi/models/FeatureTierRestrictedResponse.js +1 -1
  113. package/dist/openapi/models/FeatureViolation.d.ts +1 -1
  114. package/dist/openapi/models/FeatureViolation.js +1 -1
  115. package/dist/openapi/models/ForgotPasswordRequest.d.ts +1 -1
  116. package/dist/openapi/models/ForgotPasswordRequest.js +1 -1
  117. package/dist/openapi/models/ImageEncodeCapabilities.d.ts +1 -1
  118. package/dist/openapi/models/ImageEncodeCapabilities.js +1 -1
  119. package/dist/openapi/models/JobDefinition.d.ts +1 -1
  120. package/dist/openapi/models/JobDefinition.js +1 -1
  121. package/dist/openapi/models/JobDownload.d.ts +1 -1
  122. package/dist/openapi/models/JobDownload.js +1 -1
  123. package/dist/openapi/models/JobInputV2.d.ts +1 -1
  124. package/dist/openapi/models/JobInputV2.js +1 -1
  125. package/dist/openapi/models/JobMediaClass.d.ts +1 -1
  126. package/dist/openapi/models/JobMediaClass.js +1 -1
  127. package/dist/openapi/models/JobOutputSource.d.ts +1 -1
  128. package/dist/openapi/models/JobOutputSource.js +1 -1
  129. package/dist/openapi/models/JobResponse.d.ts +1 -1
  130. package/dist/openapi/models/JobResponse.js +1 -1
  131. package/dist/openapi/models/JobStatus.d.ts +1 -1
  132. package/dist/openapi/models/JobStatus.js +1 -1
  133. package/dist/openapi/models/JobType.d.ts +1 -1
  134. package/dist/openapi/models/JobType.js +1 -1
  135. package/dist/openapi/models/LivenessResponse.d.ts +1 -1
  136. package/dist/openapi/models/LivenessResponse.js +1 -1
  137. package/dist/openapi/models/LoginUser200Response.d.ts +1 -1
  138. package/dist/openapi/models/LoginUser200Response.js +1 -1
  139. package/dist/openapi/models/LoginUser200ResponseData.d.ts +1 -1
  140. package/dist/openapi/models/LoginUser200ResponseData.js +1 -1
  141. package/dist/openapi/models/LoginUser200ResponseDataUser.d.ts +1 -1
  142. package/dist/openapi/models/LoginUser200ResponseDataUser.js +1 -1
  143. package/dist/openapi/models/LoginUserRequest.d.ts +1 -1
  144. package/dist/openapi/models/LoginUserRequest.js +1 -1
  145. package/dist/openapi/models/MetadataResponse.d.ts +1 -1
  146. package/dist/openapi/models/MetadataResponse.js +1 -1
  147. package/dist/openapi/models/MetadataResponseDimensions.d.ts +1 -1
  148. package/dist/openapi/models/MetadataResponseDimensions.js +1 -1
  149. package/dist/openapi/models/MetadataResponseExif.d.ts +1 -1
  150. package/dist/openapi/models/MetadataResponseExif.js +1 -1
  151. package/dist/openapi/models/MetadataResponseExifGps.d.ts +1 -1
  152. package/dist/openapi/models/MetadataResponseExifGps.js +1 -1
  153. package/dist/openapi/models/MetadataSuccessEnvelope.d.ts +1 -1
  154. package/dist/openapi/models/MetadataSuccessEnvelope.js +1 -1
  155. package/dist/openapi/models/MimeGroupSchema.d.ts +1 -1
  156. package/dist/openapi/models/MimeGroupSchema.js +1 -1
  157. package/dist/openapi/models/MultiInputSource.d.ts +1 -1
  158. package/dist/openapi/models/MultiInputSource.js +1 -1
  159. package/dist/openapi/models/MultipartCompleteRequest.d.ts +1 -1
  160. package/dist/openapi/models/MultipartCompleteRequest.js +1 -1
  161. package/dist/openapi/models/MultipartCompleteRequestPartsInner.d.ts +1 -1
  162. package/dist/openapi/models/MultipartCompleteRequestPartsInner.js +1 -1
  163. package/dist/openapi/models/MultipartCompleteResponse.d.ts +1 -1
  164. package/dist/openapi/models/MultipartCompleteResponse.js +1 -1
  165. package/dist/openapi/models/MultipartCompleteSuccessEnvelope.d.ts +1 -1
  166. package/dist/openapi/models/MultipartCompleteSuccessEnvelope.js +1 -1
  167. package/dist/openapi/models/MultipartInitiateRequestMetadataHint.d.ts +1 -1
  168. package/dist/openapi/models/MultipartInitiateRequestMetadataHint.js +1 -1
  169. package/dist/openapi/models/MultipartInitiateResponse.d.ts +1 -1
  170. package/dist/openapi/models/MultipartInitiateResponse.js +1 -1
  171. package/dist/openapi/models/MultipartInitiateSuccessEnvelope.d.ts +1 -1
  172. package/dist/openapi/models/MultipartInitiateSuccessEnvelope.js +1 -1
  173. package/dist/openapi/models/MultipartKeepaliveResponse.d.ts +1 -1
  174. package/dist/openapi/models/MultipartKeepaliveResponse.js +1 -1
  175. package/dist/openapi/models/MultipartKeepaliveSuccessEnvelope.d.ts +1 -1
  176. package/dist/openapi/models/MultipartKeepaliveSuccessEnvelope.js +1 -1
  177. package/dist/openapi/models/MultipartPartListing.d.ts +1 -1
  178. package/dist/openapi/models/MultipartPartListing.js +1 -1
  179. package/dist/openapi/models/MultipartPresignRequest.d.ts +1 -1
  180. package/dist/openapi/models/MultipartPresignRequest.js +1 -1
  181. package/dist/openapi/models/MultipartPresignResponse.d.ts +1 -1
  182. package/dist/openapi/models/MultipartPresignResponse.js +1 -1
  183. package/dist/openapi/models/MultipartPresignSuccessEnvelope.d.ts +1 -1
  184. package/dist/openapi/models/MultipartPresignSuccessEnvelope.js +1 -1
  185. package/dist/openapi/models/MultipartStatusResponse.d.ts +1 -1
  186. package/dist/openapi/models/MultipartStatusResponse.js +1 -1
  187. package/dist/openapi/models/MultipartStatusSuccessEnvelope.d.ts +1 -1
  188. package/dist/openapi/models/MultipartStatusSuccessEnvelope.js +1 -1
  189. package/dist/openapi/models/OperationDefinition.d.ts +1 -1
  190. package/dist/openapi/models/OperationDefinition.js +1 -1
  191. package/dist/openapi/models/OperationDownload.d.ts +1 -1
  192. package/dist/openapi/models/OperationDownload.js +1 -1
  193. package/dist/openapi/models/OperationInputModel.d.ts +1 -1
  194. package/dist/openapi/models/OperationInputModel.js +1 -1
  195. package/dist/openapi/models/OperationResponse.d.ts +1 -1
  196. package/dist/openapi/models/OperationResponse.js +1 -1
  197. package/dist/openapi/models/OperationResult.d.ts +1 -1
  198. package/dist/openapi/models/OperationResult.js +1 -1
  199. package/dist/openapi/models/OperationResultMetadata.d.ts +1 -1
  200. package/dist/openapi/models/OperationResultMetadata.js +1 -1
  201. package/dist/openapi/models/OperationResultMetrics.d.ts +1 -1
  202. package/dist/openapi/models/OperationResultMetrics.js +1 -1
  203. package/dist/openapi/models/OperationSchemaDefinition.d.ts +1 -1
  204. package/dist/openapi/models/OperationSchemaDefinition.js +1 -1
  205. package/dist/openapi/models/OperationStatus.d.ts +1 -1
  206. package/dist/openapi/models/OperationStatus.js +1 -1
  207. package/dist/openapi/models/OperationType.d.ts +2 -2
  208. package/dist/openapi/models/OperationType.js +2 -2
  209. package/dist/openapi/models/OperationsSchemaResponse.d.ts +1 -1
  210. package/dist/openapi/models/OperationsSchemaResponse.js +1 -1
  211. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeatures.d.ts +1 -1
  212. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeatures.js +1 -1
  213. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeaturesDelivery.d.ts +1 -1
  214. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeaturesDelivery.js +1 -1
  215. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeaturesDeliveryMode.d.ts +1 -1
  216. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeaturesDeliveryMode.js +1 -1
  217. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeaturesDeliverySelection.d.ts +1 -1
  218. package/dist/openapi/models/OperationsSchemaResponseWorkflowFeaturesDeliverySelection.js +1 -1
  219. package/dist/openapi/models/OptionSchema.d.ts +18 -6
  220. package/dist/openapi/models/OptionSchema.js +1 -1
  221. package/dist/openapi/models/PerRoleCardinalityEntry.d.ts +1 -1
  222. package/dist/openapi/models/PerRoleCardinalityEntry.js +1 -1
  223. package/dist/openapi/models/PerValueAvailabilityEntry.d.ts +1 -1
  224. package/dist/openapi/models/PerValueAvailabilityEntry.js +1 -1
  225. package/dist/openapi/models/PresignedUrlPart.d.ts +1 -1
  226. package/dist/openapi/models/PresignedUrlPart.js +1 -1
  227. package/dist/openapi/models/ProbePendingResponse.d.ts +1 -1
  228. package/dist/openapi/models/ProbePendingResponse.js +1 -1
  229. package/dist/openapi/models/ProcessingClass.d.ts +1 -1
  230. package/dist/openapi/models/ProcessingClass.js +1 -1
  231. package/dist/openapi/models/ProcessingClassBandViolation.d.ts +1 -1
  232. package/dist/openapi/models/ProcessingClassBandViolation.js +1 -1
  233. package/dist/openapi/models/ProcessingClassConstraints.d.ts +1 -1
  234. package/dist/openapi/models/ProcessingClassConstraints.js +1 -1
  235. package/dist/openapi/models/ProcessingClassEntry.d.ts +1 -1
  236. package/dist/openapi/models/ProcessingClassEntry.js +1 -1
  237. package/dist/openapi/models/ProcessingClassExceedsBandResponse.d.ts +1 -1
  238. package/dist/openapi/models/ProcessingClassExceedsBandResponse.js +1 -1
  239. package/dist/openapi/models/ProcessingClassHint.d.ts +1 -1
  240. package/dist/openapi/models/ProcessingClassHint.js +1 -1
  241. package/dist/openapi/models/ProcessingClassReason.d.ts +1 -1
  242. package/dist/openapi/models/ProcessingClassReason.js +1 -1
  243. package/dist/openapi/models/ProcessingClassRejectReason.d.ts +1 -1
  244. package/dist/openapi/models/ProcessingClassRejectReason.js +1 -1
  245. package/dist/openapi/models/ProcessingPlan.d.ts +1 -1
  246. package/dist/openapi/models/ProcessingPlan.js +1 -1
  247. package/dist/openapi/models/ProcessingPlanJob.d.ts +1 -1
  248. package/dist/openapi/models/ProcessingPlanJob.js +1 -1
  249. package/dist/openapi/models/ReEncodeDecision.d.ts +1 -1
  250. package/dist/openapi/models/ReEncodeDecision.js +1 -1
  251. package/dist/openapi/models/ReadinessResponse.d.ts +1 -1
  252. package/dist/openapi/models/ReadinessResponse.js +1 -1
  253. package/dist/openapi/models/RegisterUser422Response.d.ts +1 -1
  254. package/dist/openapi/models/RegisterUser422Response.js +1 -1
  255. package/dist/openapi/models/RegisterUserRequest.d.ts +1 -1
  256. package/dist/openapi/models/RegisterUserRequest.js +1 -1
  257. package/dist/openapi/models/ResetPasswordRequest.d.ts +1 -1
  258. package/dist/openapi/models/ResetPasswordRequest.js +1 -1
  259. package/dist/openapi/models/ResponseEnvelope.d.ts +1 -1
  260. package/dist/openapi/models/ResponseEnvelope.js +1 -1
  261. package/dist/openapi/models/RetryResponse.d.ts +1 -1
  262. package/dist/openapi/models/RetryResponse.js +1 -1
  263. package/dist/openapi/models/RetrySuccessEnvelope.d.ts +1 -1
  264. package/dist/openapi/models/RetrySuccessEnvelope.js +1 -1
  265. package/dist/openapi/models/SseCompletionBase.d.ts +1 -1
  266. package/dist/openapi/models/SseCompletionBase.js +1 -1
  267. package/dist/openapi/models/SseEventType.d.ts +1 -1
  268. package/dist/openapi/models/SseEventType.js +1 -1
  269. package/dist/openapi/models/SseJobCompletedData.d.ts +1 -1
  270. package/dist/openapi/models/SseJobCompletedData.js +1 -1
  271. package/dist/openapi/models/SseJobFailedData.d.ts +1 -1
  272. package/dist/openapi/models/SseJobFailedData.js +1 -1
  273. package/dist/openapi/models/SseMultiOutputCompletion.d.ts +1 -1
  274. package/dist/openapi/models/SseMultiOutputCompletion.js +1 -1
  275. package/dist/openapi/models/SseMultiOutputCompletionMetrics.d.ts +1 -1
  276. package/dist/openapi/models/SseMultiOutputCompletionMetrics.js +1 -1
  277. package/dist/openapi/models/SseMultiOutputCompletionWithKind.d.ts +1 -1
  278. package/dist/openapi/models/SseMultiOutputCompletionWithKind.js +1 -1
  279. package/dist/openapi/models/SseMultiOutputResultEntry.d.ts +1 -1
  280. package/dist/openapi/models/SseMultiOutputResultEntry.js +1 -1
  281. package/dist/openapi/models/SseOperationCompletedData.d.ts +1 -1
  282. package/dist/openapi/models/SseOperationCompletedData.js +1 -1
  283. package/dist/openapi/models/SseOperationCompletionResult.d.ts +1 -1
  284. package/dist/openapi/models/SseOperationCompletionResult.js +1 -1
  285. package/dist/openapi/models/SseOperationFailedData.d.ts +1 -1
  286. package/dist/openapi/models/SseOperationFailedData.js +1 -1
  287. package/dist/openapi/models/SseOperationProgressData.d.ts +1 -1
  288. package/dist/openapi/models/SseOperationProgressData.js +1 -1
  289. package/dist/openapi/models/SseSingleOutputCompletion.d.ts +1 -1
  290. package/dist/openapi/models/SseSingleOutputCompletion.js +1 -1
  291. package/dist/openapi/models/SseWorkflowTerminalData.d.ts +1 -1
  292. package/dist/openapi/models/SseWorkflowTerminalData.js +1 -1
  293. package/dist/openapi/models/TierRestrictionKind.d.ts +1 -1
  294. package/dist/openapi/models/TierRestrictionKind.js +1 -1
  295. package/dist/openapi/models/TierRestrictionResponse.d.ts +1 -1
  296. package/dist/openapi/models/TierRestrictionResponse.js +1 -1
  297. package/dist/openapi/models/UpdateProfile200Response.d.ts +1 -1
  298. package/dist/openapi/models/UpdateProfile200Response.js +1 -1
  299. package/dist/openapi/models/UpdateProfile200ResponseData.d.ts +1 -1
  300. package/dist/openapi/models/UpdateProfile200ResponseData.js +1 -1
  301. package/dist/openapi/models/UpdateProfile422Response.d.ts +1 -1
  302. package/dist/openapi/models/UpdateProfile422Response.js +1 -1
  303. package/dist/openapi/models/UpdateProfileRequest.d.ts +1 -1
  304. package/dist/openapi/models/UpdateProfileRequest.js +1 -1
  305. package/dist/openapi/models/UploadConstraintsApplied.d.ts +1 -1
  306. package/dist/openapi/models/UploadConstraintsApplied.js +1 -1
  307. package/dist/openapi/models/UploadDurationExceedsTierResponse.d.ts +1 -1
  308. package/dist/openapi/models/UploadDurationExceedsTierResponse.js +1 -1
  309. package/dist/openapi/models/UploadFile403Response.d.ts +1 -1
  310. package/dist/openapi/models/UploadFile403Response.js +1 -1
  311. package/dist/openapi/models/UploadFile422Response.d.ts +1 -1
  312. package/dist/openapi/models/UploadFile422Response.js +1 -1
  313. package/dist/openapi/models/UploadProbeMediaMetadata.d.ts +1 -1
  314. package/dist/openapi/models/UploadProbeMediaMetadata.js +1 -1
  315. package/dist/openapi/models/UploadProbeProcessingClass.d.ts +1 -1
  316. package/dist/openapi/models/UploadProbeProcessingClass.js +1 -1
  317. package/dist/openapi/models/UploadProbeResponse.d.ts +1 -1
  318. package/dist/openapi/models/UploadProbeResponse.js +1 -1
  319. package/dist/openapi/models/UploadProbeStatus.d.ts +1 -1
  320. package/dist/openapi/models/UploadProbeStatus.js +1 -1
  321. package/dist/openapi/models/UploadProbeSuccessEnvelope.d.ts +1 -1
  322. package/dist/openapi/models/UploadProbeSuccessEnvelope.js +1 -1
  323. package/dist/openapi/models/UploadResponse.d.ts +1 -1
  324. package/dist/openapi/models/UploadResponse.js +1 -1
  325. package/dist/openapi/models/UploadSizeExceedsTierResponse.d.ts +1 -1
  326. package/dist/openapi/models/UploadSizeExceedsTierResponse.js +1 -1
  327. package/dist/openapi/models/UploadSource.d.ts +1 -1
  328. package/dist/openapi/models/UploadSource.js +1 -1
  329. package/dist/openapi/models/UploadSuccessEnvelope.d.ts +1 -1
  330. package/dist/openapi/models/UploadSuccessEnvelope.js +1 -1
  331. package/dist/openapi/models/UploadThresholds.d.ts +1 -1
  332. package/dist/openapi/models/UploadThresholds.js +1 -1
  333. package/dist/openapi/models/UserTier.d.ts +11 -4
  334. package/dist/openapi/models/UserTier.js +11 -4
  335. package/dist/openapi/models/ValidationErrorEnvelope.d.ts +1 -1
  336. package/dist/openapi/models/ValidationErrorEnvelope.js +1 -1
  337. package/dist/openapi/models/ValidationErrorEnvelopeDetailsInner.d.ts +1 -1
  338. package/dist/openapi/models/ValidationErrorEnvelopeDetailsInner.js +1 -1
  339. package/dist/openapi/models/VerifyEmailRequest.d.ts +1 -1
  340. package/dist/openapi/models/VerifyEmailRequest.js +1 -1
  341. package/dist/openapi/models/WarningType.d.ts +1 -1
  342. package/dist/openapi/models/WarningType.js +1 -1
  343. package/dist/openapi/models/WebhookOperationContext.d.ts +1 -1
  344. package/dist/openapi/models/WebhookOperationContext.js +1 -1
  345. package/dist/openapi/models/WebhookPayload.d.ts +1 -1
  346. package/dist/openapi/models/WebhookPayload.js +1 -1
  347. package/dist/openapi/models/WorkflowCancelBillingEffect.d.ts +1 -1
  348. package/dist/openapi/models/WorkflowCancelBillingEffect.js +1 -1
  349. package/dist/openapi/models/WorkflowCancelResponse.d.ts +1 -1
  350. package/dist/openapi/models/WorkflowCancelResponse.js +1 -1
  351. package/dist/openapi/models/WorkflowCancelSuccessEnvelope.d.ts +1 -1
  352. package/dist/openapi/models/WorkflowCancelSuccessEnvelope.js +1 -1
  353. package/dist/openapi/models/WorkflowCreateRequest.d.ts +1 -1
  354. package/dist/openapi/models/WorkflowCreateRequest.js +1 -1
  355. package/dist/openapi/models/WorkflowCreateResponse.d.ts +1 -1
  356. package/dist/openapi/models/WorkflowCreateResponse.js +1 -1
  357. package/dist/openapi/models/WorkflowCreateSuccessEnvelope.d.ts +1 -1
  358. package/dist/openapi/models/WorkflowCreateSuccessEnvelope.js +1 -1
  359. package/dist/openapi/models/WorkflowDownloadResponse.d.ts +1 -1
  360. package/dist/openapi/models/WorkflowDownloadResponse.js +1 -1
  361. package/dist/openapi/models/WorkflowDownloadSuccessEnvelope.d.ts +1 -1
  362. package/dist/openapi/models/WorkflowDownloadSuccessEnvelope.js +1 -1
  363. package/dist/openapi/models/WorkflowEdge.d.ts +1 -1
  364. package/dist/openapi/models/WorkflowEdge.js +1 -1
  365. package/dist/openapi/models/WorkflowExpiredResponse.d.ts +1 -1
  366. package/dist/openapi/models/WorkflowExpiredResponse.js +1 -1
  367. package/dist/openapi/models/WorkflowListResponse.d.ts +1 -1
  368. package/dist/openapi/models/WorkflowListResponse.js +1 -1
  369. package/dist/openapi/models/WorkflowListSuccessEnvelope.d.ts +1 -1
  370. package/dist/openapi/models/WorkflowListSuccessEnvelope.js +1 -1
  371. package/dist/openapi/models/WorkflowPauseRequiredAction.d.ts +1 -1
  372. package/dist/openapi/models/WorkflowPauseRequiredAction.js +1 -1
  373. package/dist/openapi/models/WorkflowPausedDetail.d.ts +1 -1
  374. package/dist/openapi/models/WorkflowPausedDetail.js +1 -1
  375. package/dist/openapi/models/WorkflowPausedDetailLinks.d.ts +1 -1
  376. package/dist/openapi/models/WorkflowPausedDetailLinks.js +1 -1
  377. package/dist/openapi/models/WorkflowProcessing.d.ts +1 -1
  378. package/dist/openapi/models/WorkflowProcessing.js +1 -1
  379. package/dist/openapi/models/WorkflowResumeResponse.d.ts +1 -1
  380. package/dist/openapi/models/WorkflowResumeResponse.js +1 -1
  381. package/dist/openapi/models/WorkflowResumeSuccessEnvelope.d.ts +1 -1
  382. package/dist/openapi/models/WorkflowResumeSuccessEnvelope.js +1 -1
  383. package/dist/openapi/models/WorkflowSource.d.ts +1 -1
  384. package/dist/openapi/models/WorkflowSource.js +1 -1
  385. package/dist/openapi/models/WorkflowStatus.d.ts +1 -1
  386. package/dist/openapi/models/WorkflowStatus.js +1 -1
  387. package/dist/openapi/models/WorkflowStatusResponse.d.ts +1 -1
  388. package/dist/openapi/models/WorkflowStatusResponse.js +1 -1
  389. package/dist/openapi/models/WorkflowStatusSuccessEnvelope.d.ts +1 -1
  390. package/dist/openapi/models/WorkflowStatusSuccessEnvelope.js +1 -1
  391. package/dist/openapi/models/WorkflowSummary.d.ts +1 -1
  392. package/dist/openapi/models/WorkflowSummary.js +1 -1
  393. package/dist/openapi/models/WorkflowSummaryJob.d.ts +1 -1
  394. package/dist/openapi/models/WorkflowSummaryJob.js +1 -1
  395. package/dist/openapi/models/WorkflowWarning.d.ts +1 -1
  396. package/dist/openapi/models/WorkflowWarning.js +1 -1
  397. package/dist/openapi/models/WorkflowWarningSeverity.d.ts +1 -1
  398. package/dist/openapi/models/WorkflowWarningSeverity.js +1 -1
  399. package/dist/openapi/models/index.d.ts +4 -0
  400. package/dist/openapi/models/index.js +4 -0
  401. package/dist/openapi/runtime.d.ts +1 -1
  402. package/dist/openapi/runtime.js +1 -1
  403. package/dist/operations/compress.d.ts +9 -0
  404. package/dist/operations/compress.js +9 -0
  405. package/dist/operations/compress.metadata.js +44 -2
  406. package/dist/operations/convert.metadata.js +8 -1
  407. package/dist/operations/thumbnail.metadata.js +8 -1
  408. package/openapi/api.yaml +220 -15
  409. package/operations/schemas/compress.yaml +93 -5
  410. package/operations/schemas/convert.yaml +19 -1
  411. package/operations/schemas/split.yaml +10 -7
  412. package/operations/schemas/thumbnail.yaml +6 -0
  413. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  asyncapi: 3.0.0
2
2
  info:
3
3
  title: GISL Compression Events
4
- version: 3.19.0
4
+ version: 3.19.2
5
5
  description: |
6
6
  Asynchronous event contracts for the GISL (Give It Smaller) compression service.
7
7
 
@@ -31,7 +31,9 @@ info:
31
31
  `availability: beta` for its `audio` and `video` mime_groups
32
32
  (workers live on staging — [`vKI0CFDu`](https://trello.com/c/vKI0CFDu);
33
33
  video activates BOTH classes — `long_form` / `split-video-fargate`
34
- proven on staging per [`rcwvUKhI`](https://trello.com/c/rcwvUKhI));
34
+ deployed + wired on staging but NOT yet proven end-to-end per
35
+ [`rcwvUKhI`](https://trello.com/c/rcwvUKhI) — first customer-path soak
36
+ incomplete, 4GB+ speed-up unmeasured, fan-out flag-gated dark);
35
37
  its `image_gif` and `document_pdf` mime_groups stay
36
38
  `availability: planned`.
37
39
  `audio_to_video` and `video_watermark` are `availability: beta`
@@ -218,7 +220,8 @@ channels:
218
220
  ship per [`vKI0CFDu`](https://trello.com/c/vKI0CFDu);
219
221
  long-form video splits route via `processing_class` to the
220
222
  `split-video-fargate` worker — same OperationType, different
221
- worker — and stay `availability: planned` until it ships)
223
+ worker — now also `availability: beta` (worker deployed + wired
224
+ on staging, e2e-unproven, fan-out flag-gated dark))
222
225
  - `operation_type = audio_watermark` -> `ops-audio-watermark`
223
226
  queue (gated by `availability: planned` +
224
227
  `required_tier: enterprise` per
@@ -1853,12 +1856,16 @@ operations:
1853
1856
  The `operation-split` Lambda (lambdas pre-launch epic Wave A)
1854
1857
  consumes split requests routed by `operation_type=split`. Its
1855
1858
  `audio` + short-form `video` paths are live on staging (lambdas
1856
- #161 / [`vKI0CFDu`](https://trello.com/c/vKI0CFDu)); the
1857
- `image_gif` / `document_pdf` workers (and video `long_form` via
1858
- `split-video-fargate`) remain a cross-repo follow-up. Single-input —
1859
+ #161 / [`vKI0CFDu`](https://trello.com/c/vKI0CFDu)); video
1860
+ `long_form` (via `split-video-fargate`) is now also `beta`
1861
+ deployed + wired on staging but e2e-unproven, fan-out flag-gated
1862
+ dark; the `image_gif` / `document_pdf` workers remain a cross-repo
1863
+ follow-up. Single-input —
1859
1864
  `media_group` derives from the input MIME prefix per the
1860
1865
  existing single-input rule. `availability: beta` for the `audio`
1861
- and `video` (short-form) mime_groups (workers live on staging); the
1866
+ and `video` mime_groups (short-form + long-form video both beta;
1867
+ only short-form video reaches this `ops-split` queue — long-form
1868
+ routes via `split-video-fargate`); the
1862
1869
  `image_gif` and `document_pdf` mime_groups stay `availability:
1863
1870
  planned`, and the API rejects their workflow-create with
1864
1871
  `feature_not_available` (422) until those Lambdas ship.
@@ -3554,7 +3561,9 @@ components:
3554
3561
  these three long-form classes are `availability: beta` (compress +
3555
3562
  merge per CON-1; `split.video.long_form` per
3556
3563
  [`rcwvUKhI`](https://trello.com/c/rcwvUKhI), worker
3557
- `split-video-fargate` proven on staging). `audio_overlay` long-form
3564
+ `split-video-fargate` deployed + wired on staging but NOT yet proven
3565
+ end-to-end — first customer-path soak incomplete, speed-up unmeasured,
3566
+ fan-out flag-gated dark). `audio_overlay` long-form
3558
3567
  (reserve-name-only, no queue) is NOT yet produced and is therefore
3559
3568
  absent from this enum; it gets added when its publisher ships.
3560
3569
 
@@ -4732,10 +4741,11 @@ components:
4732
4741
  `processing_class`. `media_group` derives from the input
4733
4742
  MIME prefix per the existing single-input rule (no
4734
4743
  operation-specific conditional needed). `availability: beta`
4735
- for the `audio` and `video` (short-form) mime_groups
4736
- (`image_gif` / `document_pdf` and video `long_form` stay
4737
- `planned`); routes via `operation_type=split`
4738
- to `ops-split`.
4744
+ for the `audio` and `video` mime_groups — video activates
4745
+ BOTH classes (`short_form` + `long_form` beta; long-form
4746
+ deployed + wired on staging but e2e-unproven, fan-out
4747
+ flag-gated dark). `image_gif` / `document_pdf` stay
4748
+ `planned`. Routes via `operation_type=split` to `ops-split`.
4739
4749
  Per ADR-0004 + ADR-0014
4740
4750
  ([`vKI0CFDu`](https://trello.com/c/vKI0CFDu)).
4741
4751
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "capabilities_version": 91,
2
+ "capabilities_version": 98,
3
3
  "endpoints": {
4
4
  "DELETE /api/auth/api-keys/{apiKeyId}": {
5
5
  "auth": "required",
@@ -29,6 +29,13 @@
29
29
  "operation_id": "getUploadMetadata",
30
30
  "required_tier": null
31
31
  },
32
+ "GET /api/v2/account/limits": {
33
+ "auth": "required",
34
+ "availability": "stable",
35
+ "identity_scoped": true,
36
+ "operation_id": "getAccountLimits",
37
+ "required_tier": null
38
+ },
32
39
  "GET /api/v2/credits/balance": {
33
40
  "auth": "required",
34
41
  "availability": "stable",
@@ -867,7 +874,7 @@
867
874
  "options": {
868
875
  "bitrate": {
869
876
  "default": 128,
870
- "description": "Output bitrate in kbps",
877
+ "description": "Output bitrate in kbps (CBR/ABR). Applies to lossy OUTPUTS. Only a caller-EXPLICIT bitrate against a lossless output is rejected as invalid_options (flac/wav have no bitrate target); the `default: 128` is never the basis for a rejection (ADR-0020 D1 \u2014 a default a caller did not set is the server's to resolve, and is dropped for a lossless target). The output is the input format unless `output_format` re-targets it: with `output_format: original` the lossy/lossless distinction follows the input MIME (mpeg/aac/ogg/mp4 = lossy \u2192 bitrate applies; flac/wav input \u2192 an explicit bitrate is rejected); with an explicit `output_format`, it follows that target (flac/wav target \u2192 an explicit bitrate is rejected). Not expressed as `depends_on` \u2014 the lossy-output condition is an output-value \u00d7 input-MIME cross-axis the option-to-option `depends_on` cannot model without dropping `original` and breaking same-format callers. The other knobs (channels/sample_rate/normalize) apply to all formats.\n",
871
878
  "type": "enum",
872
879
  "value_type": "integer",
873
880
  "values": [
@@ -890,6 +897,36 @@
890
897
  "description": "Apply loudness normalization (EBU R128 / -14 LUFS target)",
891
898
  "type": "boolean"
892
899
  },
900
+ "output_format": {
901
+ "default": "original",
902
+ "description": "Output audio format. original = keep input format (default, same-format compression). Non-`original` values re-target the container/codec via the API \"compress+format\" facade (one canonicalized convert pass); see FORMAT.md.",
903
+ "per_value_availability": {
904
+ "aac": {
905
+ "availability": "planned"
906
+ },
907
+ "flac": {
908
+ "availability": "planned"
909
+ },
910
+ "mp3": {
911
+ "availability": "planned"
912
+ },
913
+ "ogg": {
914
+ "availability": "planned"
915
+ },
916
+ "wav": {
917
+ "availability": "planned"
918
+ }
919
+ },
920
+ "type": "enum",
921
+ "values": [
922
+ "original",
923
+ "mp3",
924
+ "aac",
925
+ "ogg",
926
+ "flac",
927
+ "wav"
928
+ ]
929
+ },
893
930
  "sample_rate": {
894
931
  "description": "Audio sample rate in Hz",
895
932
  "type": "enum",
@@ -1077,7 +1114,27 @@
1077
1114
  },
1078
1115
  "output_format": {
1079
1116
  "default": "original",
1080
- "description": "Output format. original = keep input format, auto = best for browser support (AVIF > WebP > JPEG based on Accept header hint), smallest = try all supported formats and return the smallest file",
1117
+ "description": "Output format. original = keep input format (default); auto = best for browser support (AVIF > WebP > JPEG via Accept hint); smallest = try all supported formats, return the smallest. Non-`original` values are served by the API \"compress+format\" facade (one combined convert-with-size-cap pass); see per_value_availability + FORMAT.md.",
1118
+ "per_value_availability": {
1119
+ "auto": {
1120
+ "availability": "planned"
1121
+ },
1122
+ "avif": {
1123
+ "availability": "planned"
1124
+ },
1125
+ "jpeg": {
1126
+ "availability": "planned"
1127
+ },
1128
+ "png": {
1129
+ "availability": "planned"
1130
+ },
1131
+ "smallest": {
1132
+ "availability": "planned"
1133
+ },
1134
+ "webp": {
1135
+ "availability": "planned"
1136
+ }
1137
+ },
1081
1138
  "type": "enum",
1082
1139
  "values": [
1083
1140
  "original",
@@ -1104,6 +1161,11 @@
1104
1161
  "min": 1,
1105
1162
  "type": "integer"
1106
1163
  }
1164
+ },
1165
+ "per_mime_availability": {
1166
+ "image/avif": {
1167
+ "availability": "beta"
1168
+ }
1107
1169
  }
1108
1170
  },
1109
1171
  "video": {
@@ -1114,8 +1176,14 @@
1114
1176
  ],
1115
1177
  "options": {
1116
1178
  "audio_bitrate": {
1117
- "default": 128,
1118
- "description": "Audio track bitrate in kbps",
1179
+ "depends_on": {
1180
+ "audio_codec": [
1181
+ "aac",
1182
+ "opus",
1183
+ "vorbis"
1184
+ ]
1185
+ },
1186
+ "description": "Audio track bitrate in kbps. Only valid with an explicit re-encode audio_codec (aac/opus/vorbis): an explicit audio_bitrate with audio_codec `copy`/omitted is rejected as `invalid_options` at workflow-create (the API enforces this `depends_on`); copy preserves the source bitrate. FE/SDK also prune it pre-submit. No default: a bitrate is only meaningful on an explicit re-encode (matches the worker, which applies none).\n",
1119
1187
  "type": "enum",
1120
1188
  "value_type": "integer",
1121
1189
  "values": [
@@ -1398,6 +1466,14 @@
1398
1466
  "min": 1,
1399
1467
  "type": "integer"
1400
1468
  }
1469
+ },
1470
+ "per_mime_availability": {
1471
+ "image/avif": {
1472
+ "availability": "beta"
1473
+ },
1474
+ "image/heic": {
1475
+ "availability": "beta"
1476
+ }
1401
1477
  }
1402
1478
  },
1403
1479
  "video": {
@@ -1408,7 +1484,14 @@
1408
1484
  ],
1409
1485
  "options": {
1410
1486
  "codec": {
1411
- "description": "Video codec for target format. Defaults to the format's standard codec (no literal default \u2014 the required output_format determines it). This is the container-conditional-default principle applied via an explicit container choice. See FORMAT.md \"Container-conditional defaults\" + ADR-0020.\n",
1487
+ "depends_on": {
1488
+ "output_format": [
1489
+ "mp4",
1490
+ "webm",
1491
+ "ogg"
1492
+ ]
1493
+ },
1494
+ "description": "Video codec for target format. Defaults to the format's standard codec (no literal default \u2014 the required output_format determines it). This is the container-conditional-default principle applied via an explicit container choice. See FORMAT.md \"Container-conditional defaults\" + ADR-0020. Not applicable to a `gif` output (no video codec): an explicit `codec` on a `gif` output is rejected as `invalid_options` at workflow-create (the API enforces this `depends_on`); FE/SDK prune it pre-submit.\n",
1412
1495
  "type": "enum",
1413
1496
  "values": [
1414
1497
  "h264",
@@ -1430,7 +1513,14 @@
1430
1513
  },
1431
1514
  "quality": {
1432
1515
  "default": 23,
1433
- "description": "CRF value (0 = lossless, 51 = worst)",
1516
+ "depends_on": {
1517
+ "output_format": [
1518
+ "mp4",
1519
+ "webm",
1520
+ "ogg"
1521
+ ]
1522
+ },
1523
+ "description": "CRF value (0 = lossless, 51 = worst). Video outputs only \u2014 NOT applicable to a `gif` output (frame extraction has no CRF). An explicit `quality` on a `gif` output is rejected as `invalid_options` at workflow-create (the API enforces this `depends_on`); FE/SDK prune it pre-submit.\n",
1434
1524
  "max": 51,
1435
1525
  "min": 0,
1436
1526
  "type": "integer"
@@ -2515,7 +2605,7 @@
2515
2605
  "split": {
2516
2606
  "availability": "beta",
2517
2607
  "default": false,
2518
- "description": "Fan one input file into N outputs across GIF, PDF, audio, and\nvideo MIME families. Single-input \u2014 one input file per job, fanned\ninto N outputs per the per-mime-group catalog. Mirrors the\n`merge` / `convert` catalog-split-by-mime-group pattern.\n\n**Three shared modes** (audio + video; the mode discriminator\ngates which option applies per the `depends_on` rules in this\nschema):\n- `interval`: split every N numeric-seconds.\n- `count`: split into N equal-duration pieces (integer 2..=200).\n- `cut_points`: explicit cut points in numeric-seconds (strictly\n increasing, no duplicates, each > 0 and < probed duration).\n\n**Plus an audio-only `silence` mode** (`beta`, gated by the\n`silence_mode_audio` feature): cut at detected silence gaps via\nthe worker's ffmpeg `silencedetect` filter. Video stays\nthree-mode.\n\n**GIF + PDF use range-based selection** instead of three modes:\n- GIF (`image_gif`): `frame_range` REQUIRED + `output_format`\n enum {png,webp,jpg}.\n- PDF (`document_pdf`): `page_range` OR `page_groups` (mutually\n exclusive per `depends_on`).\n\n**Wire format**: numeric seconds (floats allowed for sub-second\nprecision). NOT ISO 8601 duration strings. Matches FFmpeg /\nCloudinary / Shotstack / AWS MediaConvert conventions.\n\n**200-output hard cap** per ADR-0009 \u00a7D5\n(`OperationResult.outputs[].maxItems: 200`). Preflight rejects\nrequests exceeding this BEFORE work as `invalid_options` (422).\nCap math by mode:\n- `interval`: `ceil(probed_duration / interval) <= 200`\n- `count`: enforced by the option's `min: 2 max: 200` range\n- `cut_points`: `cut_points.len() + 1 <= 200`\n- `silence` (audio): resolved segment count (detected gaps + 1)\n `<= 200`; preflight rejects as `invalid_options` (422)\n- PDF: resolved page count after expansion `<= 200`\n (cross-ref [`WgCqnMRa`](https://trello.com/c/WgCqnMRa))\n- GIF: resolved frame count after expansion `<= 200`\n\n**Output naming**: 3-digit zero-padded \u2014 `output-001` ..\n`output-200`. Matches the convert PDF\u2192N precedent.\n\n**Output envelope binding** (per ADR-0014 + ADR-0009 \u00a7D2):\n- `image_gif`: `PositionIndexed` (frame stream-position 0-based\n ordinal)\n- `document_pdf`: `PageIndexed` (1-based gapless page index)\n- `audio`: `PositionIndexed` (cut stream-position ordinal)\n- `video`: `PositionIndexed` (cut stream-position ordinal)\n\n**`precision` flag** (audio + video only): `fast` (default) =\npacket-boundary approximate cuts; `exact` = re-encode-aligned\nprecise cuts. Mime_group scoping is the gate \u2014 precision does\nNOT apply to GIF or PDF (frame extraction is exact and PDF page\nselection is exact by definition).\n\n**Long-form video** routes to a separate `split-video-fargate`\nLambda (same `split` OperationType, different worker; routing\nvia `processing_class`). No schema-side discriminator beyond MIME\ndetection + `processing_class`.\n\n`availability: beta` for the `audio` and `video` mime_groups\n(workers live on staging \u2014 shape-stable + opt-in, MUST NOT 422).\nVideo activates **both classes**: `video.processing_class.short_form`\nAND `long_form` are `beta` \u2014 the `split-video-fargate` worker is proven\non staging (4GB+ HEVC input \u2192 keyframe-aligned segments;\n[`rcwvUKhI`](https://trello.com/c/rcwvUKhI)). The `image_gif` and\n`document_pdf` mime_groups stay `availability: planned` until their\ncross-repo Lambda workers ship ([`vKI0CFDu`](https://trello.com/c/vKI0CFDu)\n+ lambdas L1); dispatch returns `feature_not_available` (422) for the\nstill-planned groups/classes until then.\n\nPer ADR-0014.\n",
2608
+ "description": "Fan one input file into N outputs across GIF, PDF, audio, and\nvideo MIME families. Single-input \u2014 one input file per job, fanned\ninto N outputs per the per-mime-group catalog. Mirrors the\n`merge` / `convert` catalog-split-by-mime-group pattern.\n\n**Three shared modes** (audio + video; the mode discriminator\ngates which option applies per the `depends_on` rules in this\nschema):\n- `interval`: split every N numeric-seconds.\n- `count`: split into N equal-duration pieces (integer 2..=200).\n- `cut_points`: explicit cut points in numeric-seconds (strictly\n increasing, no duplicates, each > 0 and < probed duration).\n\n**Plus an audio-only `silence` mode** (`beta`, gated by the\n`silence_mode_audio` feature): cut at detected silence gaps via\nthe worker's ffmpeg `silencedetect` filter. Video stays\nthree-mode.\n\n**GIF + PDF use range-based selection** instead of three modes:\n- GIF (`image_gif`): `frame_range` REQUIRED + `output_format`\n enum {png,webp,jpg}.\n- PDF (`document_pdf`): `page_range` OR `page_groups` (mutually\n exclusive per `depends_on`).\n\n**Wire format**: numeric seconds (floats allowed for sub-second\nprecision). NOT ISO 8601 duration strings. Matches FFmpeg /\nCloudinary / Shotstack / AWS MediaConvert conventions.\n\n**200-output hard cap** per ADR-0009 \u00a7D5\n(`OperationResult.outputs[].maxItems: 200`). Preflight rejects\nrequests exceeding this BEFORE work as `invalid_options` (422).\nCap math by mode:\n- `interval`: `ceil(probed_duration / interval) <= 200`\n- `count`: enforced by the option's `min: 2 max: 200` range\n- `cut_points`: `cut_points.len() + 1 <= 200`\n- `silence` (audio): resolved segment count (detected gaps + 1)\n `<= 200`; preflight rejects as `invalid_options` (422)\n- PDF: resolved page count after expansion `<= 200`\n (cross-ref [`WgCqnMRa`](https://trello.com/c/WgCqnMRa))\n- GIF: resolved frame count after expansion `<= 200`\n\n**Output naming**: 3-digit zero-padded \u2014 `output-001` ..\n`output-200`. Matches the convert PDF\u2192N precedent.\n\n**Output envelope binding** (per ADR-0014 + ADR-0009 \u00a7D2):\n- `image_gif`: `PositionIndexed` (frame stream-position 0-based\n ordinal)\n- `document_pdf`: `PageIndexed` (1-based gapless page index)\n- `audio`: `PositionIndexed` (cut stream-position ordinal)\n- `video`: `PositionIndexed` (cut stream-position ordinal)\n\n**`precision` flag** (audio + video only): `fast` (default) =\npacket-boundary approximate cuts; `exact` = re-encode-aligned\nprecise cuts. Mime_group scoping is the gate \u2014 precision does\nNOT apply to GIF or PDF (frame extraction is exact and PDF page\nselection is exact by definition).\n\n**Long-form video** routes to a separate `split-video-fargate`\nLambda (same `split` OperationType, different worker; routing\nvia `processing_class`). No schema-side discriminator beyond MIME\ndetection + `processing_class`.\n\n`availability: beta` for the `audio` and `video` mime_groups\n(workers live on staging \u2014 shape-stable + opt-in, MUST NOT 422).\nVideo activates **both classes**: `video.processing_class.short_form`\nAND `long_form` are `beta` \u2014 the `split-video-fargate` worker is\ndeployed + wired on staging but NOT yet proven end-to-end\n([`rcwvUKhI`](https://trello.com/c/rcwvUKhI); the first customer-path\nsoak has not completed and the 4GB+ speed-up is unmeasured; the\nlong-form fan-out is flag-gated dark). The `image_gif` and\n`document_pdf` mime_groups stay `availability: planned` until their\ncross-repo Lambda workers ship ([`vKI0CFDu`](https://trello.com/c/vKI0CFDu)\n+ lambdas L1); dispatch returns `feature_not_available` (422) for the\nstill-planned groups/classes until then.\n\nPer ADR-0014.\n",
2519
2609
  "features": {
2520
2610
  "silence_mode_audio": {
2521
2611
  "availability": "beta",
@@ -2994,6 +3084,14 @@
2994
3084
  "required": true,
2995
3085
  "type": "integer"
2996
3086
  }
3087
+ },
3088
+ "per_mime_availability": {
3089
+ "image/avif": {
3090
+ "availability": "beta"
3091
+ },
3092
+ "image/heic": {
3093
+ "availability": "beta"
3094
+ }
2997
3095
  }
2998
3096
  },
2999
3097
  "video": {
@@ -3295,7 +3393,7 @@
3295
3393
  }
3296
3394
  }
3297
3395
  },
3298
- "schema_version": "2.66.0",
3396
+ "schema_version": "2.73.0",
3299
3397
  "source_commit": null,
3300
3398
  "user_tier": null,
3301
3399
  "workflow_features": {
@@ -0,0 +1,54 @@
1
+ /**
2
+ * GISL Compression API
3
+ * REST API for the GISL (Give It Smaller) file compression and processing service. **Architecture:** - Upload files to get a `file_id` - Create workflows referencing uploaded files with operations (compress, thumbnail, image_watermark, text_watermark, merge, archive, convert, custom_luma, audio_overlay, audio_watermark) - Poll status, stream SSE events, or receive webhook callbacks - Download results per operation output **Response envelope:** All mutation and query endpoints return `{ success: true, data: {...} }` on success and `{ success: false, error: \"...\", details: [...] }` on failure. Exceptions: `GET /api/operations/schema` returns raw JSON (per-tier private caching with ETag revalidation per ADR-0002 + I3), health probes return flat objects, and `POST /api/contact` returns 204 with no body. **Availability metadata.** This spec uses the `x-availability` vendor extension as **decorative documentation only**. Per [ADR-0001](../docs/decisions/0001-contract-first-availability.md) §1.5, the runtime endpoint `GET /api/operations/schema` (ticket I3) is the authoritative source; the sidecar `availability.json` (ticket I3b) is the authoritative companion (generated, never hand-edited; CI cross-checks runtime ⇄ sidecar). SDKs MUST NOT depend on `x-availability` reaching generated code — code-generators that surface vendor extensions may emit it as documentation, but consumers read availability from the runtime endpoint, not from the generated bindings. The 5-value vocabulary (`stable | beta | experimental | planned | deprecated`) is defined in the `AvailabilityValue` schema. See `schemas/FORMAT.md` §Availability Taxonomy for the operational rules (parser obligation: absent = stable; per-enum-value granularity is the `per_value_availability` primitive landed via ticket I17). **Localisation (per ticket [I26](https://trello.com/c/rcnqwgI4)).** Error responses + paused/blocked workflow statuses carry a localised human-readable `message` alongside a stable, never-localised `message_key`. Machine-readable fields (`error`, enum values, status codes) stay canonical English. - **Currently committed locales:** `en-GB` only (per ticket [`4GKyuYo6`](https://trello.com/c/4GKyuYo6)). The I26 carrier shape (`Accept-Language` + `Content-Language` + `Vary` headers + `locale` envelope field + `message_key` + `message_params`) is stable and exercised; the **catalog** of translated `message` strings is en-GB-only at runtime today. Additional locales (e.g. `pt-PT`) will be advertised by name when their catalogs ship — the request/response carrier shape does NOT change when a new locale lands. Treat unrequested locales as \"machine-code + `message_key` path is committed; localised `message` prose is not\" until this prose enumerates them by name. - **Request:** `Accept-Language` header per RFC 9110 §12.5.4 (q-value negotiation supported). The server selects the best-match locale from its supported list; falls back to `en-GB` when no match — which, until additional catalogs land, is every non-`en-GB` `Accept-Language`. - **Response:** `Content-Language: <locale>` echo on every localised response; `Vary: Accept-Language` on every response (CDN/cache correctness — different `Accept-Language` requests produce different responses). `Vary` is emitted unconditionally so the header contract does not flip when a second locale ships. - **Fallback locale:** `en-GB` (also the canonical locale for `message_key` translations and English `message` prose). - **SDK guidance:** switch on `error` (machine code) for typed error branches; surface `message_key` to client-side i18n catalogs (SDK companion work tracked at X19, cross-repo); display `message` for end-user UI; **never parse `message` for control flow** — it changes per locale. Carrier shape lives on `ErrorEnvelope` (envelope-level optional `message_key` + `message` + `locale` + `message_params`) and `ValidationErrorEnvelope` (also per-`details[]` entry). Existing 402 / 403 / 422 envelopes (`BalanceExhaustedResponse`, `FeatureNotAvailableResponse`, `FeatureTierRestrictedResponse`, `WorkflowPausedDetail`) inherit the convention. **Upload thresholds (per tickets [u0ar7Yye](https://trello.com/c/u0ar7Yye) + [58nBQLWQ](https://trello.com/c/58nBQLWQ)).** Canonical upload constants (single-shot cap, multipart chunk size, multipart concurrency default, multipart first-chunk size) live on the `UploadThresholds` schema with `const:`-pinned values. SDK generators emit these as typed binding constants so frontend / API / SDKs reference one source of truth instead of hardcoding magic numbers. A runtime `GET /api/uploads/limits` endpoint for dynamic discovery (per-tier / per-environment overrides) is a deferred follow-up.
4
+ *
5
+ * The version of the OpenAPI document: 2.73.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * One account limit: the effective value (override ?? tier default),
14
+ * the tier default, and whether a per-account override is active. The
15
+ * override mechanism / store is NOT exposed — only the resolved
16
+ * numbers plus the `overridden` flag.
17
+ *
18
+ * @export
19
+ * @interface AccountLimitEntry
20
+ */
21
+ export interface AccountLimitEntry {
22
+ /**
23
+ * The cap in force for this account, in bytes
24
+ * (`override ?? tier_default`).
25
+ *
26
+ * @type {number}
27
+ * @memberof AccountLimitEntry
28
+ */
29
+ effective: number;
30
+ /**
31
+ * The tier's default cap for this limit, in bytes (already public
32
+ * via the tier model).
33
+ *
34
+ * @type {number}
35
+ * @memberof AccountLimitEntry
36
+ */
37
+ tierDefault: number;
38
+ /**
39
+ * True iff a per-account override is active (i.e. `effective`
40
+ * comes from an override rather than the tier default).
41
+ *
42
+ * @type {boolean}
43
+ * @memberof AccountLimitEntry
44
+ */
45
+ overridden: boolean;
46
+ }
47
+ /**
48
+ * Check if a given object implements the AccountLimitEntry interface.
49
+ */
50
+ export declare function instanceOfAccountLimitEntry(value: object): value is AccountLimitEntry;
51
+ export declare function AccountLimitEntryFromJSON(json: any): AccountLimitEntry;
52
+ export declare function AccountLimitEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountLimitEntry;
53
+ export declare function AccountLimitEntryToJSON(json: any): AccountLimitEntry;
54
+ export declare function AccountLimitEntryToJSONTyped(value?: AccountLimitEntry | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * GISL Compression API
5
+ * REST API for the GISL (Give It Smaller) file compression and processing service. **Architecture:** - Upload files to get a `file_id` - Create workflows referencing uploaded files with operations (compress, thumbnail, image_watermark, text_watermark, merge, archive, convert, custom_luma, audio_overlay, audio_watermark) - Poll status, stream SSE events, or receive webhook callbacks - Download results per operation output **Response envelope:** All mutation and query endpoints return `{ success: true, data: {...} }` on success and `{ success: false, error: \"...\", details: [...] }` on failure. Exceptions: `GET /api/operations/schema` returns raw JSON (per-tier private caching with ETag revalidation per ADR-0002 + I3), health probes return flat objects, and `POST /api/contact` returns 204 with no body. **Availability metadata.** This spec uses the `x-availability` vendor extension as **decorative documentation only**. Per [ADR-0001](../docs/decisions/0001-contract-first-availability.md) §1.5, the runtime endpoint `GET /api/operations/schema` (ticket I3) is the authoritative source; the sidecar `availability.json` (ticket I3b) is the authoritative companion (generated, never hand-edited; CI cross-checks runtime ⇄ sidecar). SDKs MUST NOT depend on `x-availability` reaching generated code — code-generators that surface vendor extensions may emit it as documentation, but consumers read availability from the runtime endpoint, not from the generated bindings. The 5-value vocabulary (`stable | beta | experimental | planned | deprecated`) is defined in the `AvailabilityValue` schema. See `schemas/FORMAT.md` §Availability Taxonomy for the operational rules (parser obligation: absent = stable; per-enum-value granularity is the `per_value_availability` primitive landed via ticket I17). **Localisation (per ticket [I26](https://trello.com/c/rcnqwgI4)).** Error responses + paused/blocked workflow statuses carry a localised human-readable `message` alongside a stable, never-localised `message_key`. Machine-readable fields (`error`, enum values, status codes) stay canonical English. - **Currently committed locales:** `en-GB` only (per ticket [`4GKyuYo6`](https://trello.com/c/4GKyuYo6)). The I26 carrier shape (`Accept-Language` + `Content-Language` + `Vary` headers + `locale` envelope field + `message_key` + `message_params`) is stable and exercised; the **catalog** of translated `message` strings is en-GB-only at runtime today. Additional locales (e.g. `pt-PT`) will be advertised by name when their catalogs ship — the request/response carrier shape does NOT change when a new locale lands. Treat unrequested locales as \"machine-code + `message_key` path is committed; localised `message` prose is not\" until this prose enumerates them by name. - **Request:** `Accept-Language` header per RFC 9110 §12.5.4 (q-value negotiation supported). The server selects the best-match locale from its supported list; falls back to `en-GB` when no match — which, until additional catalogs land, is every non-`en-GB` `Accept-Language`. - **Response:** `Content-Language: <locale>` echo on every localised response; `Vary: Accept-Language` on every response (CDN/cache correctness — different `Accept-Language` requests produce different responses). `Vary` is emitted unconditionally so the header contract does not flip when a second locale ships. - **Fallback locale:** `en-GB` (also the canonical locale for `message_key` translations and English `message` prose). - **SDK guidance:** switch on `error` (machine code) for typed error branches; surface `message_key` to client-side i18n catalogs (SDK companion work tracked at X19, cross-repo); display `message` for end-user UI; **never parse `message` for control flow** — it changes per locale. Carrier shape lives on `ErrorEnvelope` (envelope-level optional `message_key` + `message` + `locale` + `message_params`) and `ValidationErrorEnvelope` (also per-`details[]` entry). Existing 402 / 403 / 422 envelopes (`BalanceExhaustedResponse`, `FeatureNotAvailableResponse`, `FeatureTierRestrictedResponse`, `WorkflowPausedDetail`) inherit the convention. **Upload thresholds (per tickets [u0ar7Yye](https://trello.com/c/u0ar7Yye) + [58nBQLWQ](https://trello.com/c/58nBQLWQ)).** Canonical upload constants (single-shot cap, multipart chunk size, multipart concurrency default, multipart first-chunk size) live on the `UploadThresholds` schema with `const:`-pinned values. SDK generators emit these as typed binding constants so frontend / API / SDKs reference one source of truth instead of hardcoding magic numbers. A runtime `GET /api/uploads/limits` endpoint for dynamic discovery (per-tier / per-environment overrides) is a deferred follow-up.
6
+ *
7
+ * The version of the OpenAPI document: 2.73.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the AccountLimitEntry interface.
16
+ */
17
+ export function instanceOfAccountLimitEntry(value) {
18
+ if (!('effective' in value) || value['effective'] === undefined)
19
+ return false;
20
+ if (!('tierDefault' in value) || value['tierDefault'] === undefined)
21
+ return false;
22
+ if (!('overridden' in value) || value['overridden'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function AccountLimitEntryFromJSON(json) {
27
+ return AccountLimitEntryFromJSONTyped(json, false);
28
+ }
29
+ export function AccountLimitEntryFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'effective': json['effective'],
35
+ 'tierDefault': json['tier_default'],
36
+ 'overridden': json['overridden'],
37
+ };
38
+ }
39
+ export function AccountLimitEntryToJSON(json) {
40
+ return AccountLimitEntryToJSONTyped(json, false);
41
+ }
42
+ export function AccountLimitEntryToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'effective': value['effective'],
48
+ 'tier_default': value['tierDefault'],
49
+ 'overridden': value['overridden'],
50
+ };
51
+ }
@@ -0,0 +1,60 @@
1
+ /**
2
+ * GISL Compression API
3
+ * REST API for the GISL (Give It Smaller) file compression and processing service. **Architecture:** - Upload files to get a `file_id` - Create workflows referencing uploaded files with operations (compress, thumbnail, image_watermark, text_watermark, merge, archive, convert, custom_luma, audio_overlay, audio_watermark) - Poll status, stream SSE events, or receive webhook callbacks - Download results per operation output **Response envelope:** All mutation and query endpoints return `{ success: true, data: {...} }` on success and `{ success: false, error: \"...\", details: [...] }` on failure. Exceptions: `GET /api/operations/schema` returns raw JSON (per-tier private caching with ETag revalidation per ADR-0002 + I3), health probes return flat objects, and `POST /api/contact` returns 204 with no body. **Availability metadata.** This spec uses the `x-availability` vendor extension as **decorative documentation only**. Per [ADR-0001](../docs/decisions/0001-contract-first-availability.md) §1.5, the runtime endpoint `GET /api/operations/schema` (ticket I3) is the authoritative source; the sidecar `availability.json` (ticket I3b) is the authoritative companion (generated, never hand-edited; CI cross-checks runtime ⇄ sidecar). SDKs MUST NOT depend on `x-availability` reaching generated code — code-generators that surface vendor extensions may emit it as documentation, but consumers read availability from the runtime endpoint, not from the generated bindings. The 5-value vocabulary (`stable | beta | experimental | planned | deprecated`) is defined in the `AvailabilityValue` schema. See `schemas/FORMAT.md` §Availability Taxonomy for the operational rules (parser obligation: absent = stable; per-enum-value granularity is the `per_value_availability` primitive landed via ticket I17). **Localisation (per ticket [I26](https://trello.com/c/rcnqwgI4)).** Error responses + paused/blocked workflow statuses carry a localised human-readable `message` alongside a stable, never-localised `message_key`. Machine-readable fields (`error`, enum values, status codes) stay canonical English. - **Currently committed locales:** `en-GB` only (per ticket [`4GKyuYo6`](https://trello.com/c/4GKyuYo6)). The I26 carrier shape (`Accept-Language` + `Content-Language` + `Vary` headers + `locale` envelope field + `message_key` + `message_params`) is stable and exercised; the **catalog** of translated `message` strings is en-GB-only at runtime today. Additional locales (e.g. `pt-PT`) will be advertised by name when their catalogs ship — the request/response carrier shape does NOT change when a new locale lands. Treat unrequested locales as \"machine-code + `message_key` path is committed; localised `message` prose is not\" until this prose enumerates them by name. - **Request:** `Accept-Language` header per RFC 9110 §12.5.4 (q-value negotiation supported). The server selects the best-match locale from its supported list; falls back to `en-GB` when no match — which, until additional catalogs land, is every non-`en-GB` `Accept-Language`. - **Response:** `Content-Language: <locale>` echo on every localised response; `Vary: Accept-Language` on every response (CDN/cache correctness — different `Accept-Language` requests produce different responses). `Vary` is emitted unconditionally so the header contract does not flip when a second locale ships. - **Fallback locale:** `en-GB` (also the canonical locale for `message_key` translations and English `message` prose). - **SDK guidance:** switch on `error` (machine code) for typed error branches; surface `message_key` to client-side i18n catalogs (SDK companion work tracked at X19, cross-repo); display `message` for end-user UI; **never parse `message` for control flow** — it changes per locale. Carrier shape lives on `ErrorEnvelope` (envelope-level optional `message_key` + `message` + `locale` + `message_params`) and `ValidationErrorEnvelope` (also per-`details[]` entry). Existing 402 / 403 / 422 envelopes (`BalanceExhaustedResponse`, `FeatureNotAvailableResponse`, `FeatureTierRestrictedResponse`, `WorkflowPausedDetail`) inherit the convention. **Upload thresholds (per tickets [u0ar7Yye](https://trello.com/c/u0ar7Yye) + [58nBQLWQ](https://trello.com/c/58nBQLWQ)).** Canonical upload constants (single-shot cap, multipart chunk size, multipart concurrency default, multipart first-chunk size) live on the `UploadThresholds` schema with `const:`-pinned values. SDK generators emit these as typed binding constants so frontend / API / SDKs reference one source of truth instead of hardcoding magic numbers. A runtime `GET /api/uploads/limits` endpoint for dynamic discovery (per-tier / per-environment overrides) is a deferred follow-up.
4
+ *
5
+ * The version of the OpenAPI document: 2.73.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { UserTier } from './UserTier.js';
13
+ import type { AccountLimitsLimits } from './AccountLimitsLimits.js';
14
+ /**
15
+ * The caller's effective (override-aware) account limits
16
+ * (`GET /api/v2/account/limits`, ticket
17
+ * [`ViRVI2MP`](https://trello.com/c/ViRVI2MP)). `tier` is the caller's
18
+ * subscription tier; `limits` maps a fixed v1 key set to each limit's
19
+ * effective / tier-default / override state.
20
+ *
21
+ * **v1 limit keys** (both REQUIRED):
22
+ * - `max_upload_size_bytes`: the per-FILE upload cap
23
+ * (`UserTier.maxFileSizeBytes` — the request-level tier quota the
24
+ * upload endpoints enforce). **Distinct** from the per-operation
25
+ * processing ceiling `max_input_size_bytes` in operation schemas
26
+ * (different axis AND number). Tier defaults: free 10 MiB, pro 5 GiB,
27
+ * enterprise 100 GiB.
28
+ * - `max_total_input_size_bytes`: the effective merge combined-input
29
+ * size cap (the summed-inputs ceiling). Same key as the
30
+ * operation-schema merge band; the band is processing-class +
31
+ * tier dependent (`short_form_concat` baseline 1 GiB; the
32
+ * `long_form_re_encode` band where the tier permits it — Pro 5 GB,
33
+ * Enterprise 120 GB). The server resolves the effective value for
34
+ * the caller.
35
+ *
36
+ * @export
37
+ * @interface AccountLimits
38
+ */
39
+ export interface AccountLimits {
40
+ /**
41
+ *
42
+ * @type {UserTier}
43
+ * @memberof AccountLimits
44
+ */
45
+ tier: UserTier;
46
+ /**
47
+ *
48
+ * @type {AccountLimitsLimits}
49
+ * @memberof AccountLimits
50
+ */
51
+ limits: AccountLimitsLimits;
52
+ }
53
+ /**
54
+ * Check if a given object implements the AccountLimits interface.
55
+ */
56
+ export declare function instanceOfAccountLimits(value: object): value is AccountLimits;
57
+ export declare function AccountLimitsFromJSON(json: any): AccountLimits;
58
+ export declare function AccountLimitsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountLimits;
59
+ export declare function AccountLimitsToJSON(json: any): AccountLimits;
60
+ export declare function AccountLimitsToJSONTyped(value?: AccountLimits | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * GISL Compression API
5
+ * REST API for the GISL (Give It Smaller) file compression and processing service. **Architecture:** - Upload files to get a `file_id` - Create workflows referencing uploaded files with operations (compress, thumbnail, image_watermark, text_watermark, merge, archive, convert, custom_luma, audio_overlay, audio_watermark) - Poll status, stream SSE events, or receive webhook callbacks - Download results per operation output **Response envelope:** All mutation and query endpoints return `{ success: true, data: {...} }` on success and `{ success: false, error: \"...\", details: [...] }` on failure. Exceptions: `GET /api/operations/schema` returns raw JSON (per-tier private caching with ETag revalidation per ADR-0002 + I3), health probes return flat objects, and `POST /api/contact` returns 204 with no body. **Availability metadata.** This spec uses the `x-availability` vendor extension as **decorative documentation only**. Per [ADR-0001](../docs/decisions/0001-contract-first-availability.md) §1.5, the runtime endpoint `GET /api/operations/schema` (ticket I3) is the authoritative source; the sidecar `availability.json` (ticket I3b) is the authoritative companion (generated, never hand-edited; CI cross-checks runtime ⇄ sidecar). SDKs MUST NOT depend on `x-availability` reaching generated code — code-generators that surface vendor extensions may emit it as documentation, but consumers read availability from the runtime endpoint, not from the generated bindings. The 5-value vocabulary (`stable | beta | experimental | planned | deprecated`) is defined in the `AvailabilityValue` schema. See `schemas/FORMAT.md` §Availability Taxonomy for the operational rules (parser obligation: absent = stable; per-enum-value granularity is the `per_value_availability` primitive landed via ticket I17). **Localisation (per ticket [I26](https://trello.com/c/rcnqwgI4)).** Error responses + paused/blocked workflow statuses carry a localised human-readable `message` alongside a stable, never-localised `message_key`. Machine-readable fields (`error`, enum values, status codes) stay canonical English. - **Currently committed locales:** `en-GB` only (per ticket [`4GKyuYo6`](https://trello.com/c/4GKyuYo6)). The I26 carrier shape (`Accept-Language` + `Content-Language` + `Vary` headers + `locale` envelope field + `message_key` + `message_params`) is stable and exercised; the **catalog** of translated `message` strings is en-GB-only at runtime today. Additional locales (e.g. `pt-PT`) will be advertised by name when their catalogs ship — the request/response carrier shape does NOT change when a new locale lands. Treat unrequested locales as \"machine-code + `message_key` path is committed; localised `message` prose is not\" until this prose enumerates them by name. - **Request:** `Accept-Language` header per RFC 9110 §12.5.4 (q-value negotiation supported). The server selects the best-match locale from its supported list; falls back to `en-GB` when no match — which, until additional catalogs land, is every non-`en-GB` `Accept-Language`. - **Response:** `Content-Language: <locale>` echo on every localised response; `Vary: Accept-Language` on every response (CDN/cache correctness — different `Accept-Language` requests produce different responses). `Vary` is emitted unconditionally so the header contract does not flip when a second locale ships. - **Fallback locale:** `en-GB` (also the canonical locale for `message_key` translations and English `message` prose). - **SDK guidance:** switch on `error` (machine code) for typed error branches; surface `message_key` to client-side i18n catalogs (SDK companion work tracked at X19, cross-repo); display `message` for end-user UI; **never parse `message` for control flow** — it changes per locale. Carrier shape lives on `ErrorEnvelope` (envelope-level optional `message_key` + `message` + `locale` + `message_params`) and `ValidationErrorEnvelope` (also per-`details[]` entry). Existing 402 / 403 / 422 envelopes (`BalanceExhaustedResponse`, `FeatureNotAvailableResponse`, `FeatureTierRestrictedResponse`, `WorkflowPausedDetail`) inherit the convention. **Upload thresholds (per tickets [u0ar7Yye](https://trello.com/c/u0ar7Yye) + [58nBQLWQ](https://trello.com/c/58nBQLWQ)).** Canonical upload constants (single-shot cap, multipart chunk size, multipart concurrency default, multipart first-chunk size) live on the `UploadThresholds` schema with `const:`-pinned values. SDK generators emit these as typed binding constants so frontend / API / SDKs reference one source of truth instead of hardcoding magic numbers. A runtime `GET /api/uploads/limits` endpoint for dynamic discovery (per-tier / per-environment overrides) is a deferred follow-up.
6
+ *
7
+ * The version of the OpenAPI document: 2.73.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { UserTierFromJSON, UserTierToJSON, } from './UserTier.js';
15
+ import { AccountLimitsLimitsFromJSON, AccountLimitsLimitsToJSON, } from './AccountLimitsLimits.js';
16
+ /**
17
+ * Check if a given object implements the AccountLimits interface.
18
+ */
19
+ export function instanceOfAccountLimits(value) {
20
+ if (!('tier' in value) || value['tier'] === undefined)
21
+ return false;
22
+ if (!('limits' in value) || value['limits'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function AccountLimitsFromJSON(json) {
27
+ return AccountLimitsFromJSONTyped(json, false);
28
+ }
29
+ export function AccountLimitsFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'tier': UserTierFromJSON(json['tier']),
35
+ 'limits': AccountLimitsLimitsFromJSON(json['limits']),
36
+ };
37
+ }
38
+ export function AccountLimitsToJSON(json) {
39
+ return AccountLimitsToJSONTyped(json, false);
40
+ }
41
+ export function AccountLimitsToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'tier': UserTierToJSON(value['tier']),
47
+ 'limits': AccountLimitsLimitsToJSON(value['limits']),
48
+ };
49
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * GISL Compression API
3
+ * REST API for the GISL (Give It Smaller) file compression and processing service. **Architecture:** - Upload files to get a `file_id` - Create workflows referencing uploaded files with operations (compress, thumbnail, image_watermark, text_watermark, merge, archive, convert, custom_luma, audio_overlay, audio_watermark) - Poll status, stream SSE events, or receive webhook callbacks - Download results per operation output **Response envelope:** All mutation and query endpoints return `{ success: true, data: {...} }` on success and `{ success: false, error: \"...\", details: [...] }` on failure. Exceptions: `GET /api/operations/schema` returns raw JSON (per-tier private caching with ETag revalidation per ADR-0002 + I3), health probes return flat objects, and `POST /api/contact` returns 204 with no body. **Availability metadata.** This spec uses the `x-availability` vendor extension as **decorative documentation only**. Per [ADR-0001](../docs/decisions/0001-contract-first-availability.md) §1.5, the runtime endpoint `GET /api/operations/schema` (ticket I3) is the authoritative source; the sidecar `availability.json` (ticket I3b) is the authoritative companion (generated, never hand-edited; CI cross-checks runtime ⇄ sidecar). SDKs MUST NOT depend on `x-availability` reaching generated code — code-generators that surface vendor extensions may emit it as documentation, but consumers read availability from the runtime endpoint, not from the generated bindings. The 5-value vocabulary (`stable | beta | experimental | planned | deprecated`) is defined in the `AvailabilityValue` schema. See `schemas/FORMAT.md` §Availability Taxonomy for the operational rules (parser obligation: absent = stable; per-enum-value granularity is the `per_value_availability` primitive landed via ticket I17). **Localisation (per ticket [I26](https://trello.com/c/rcnqwgI4)).** Error responses + paused/blocked workflow statuses carry a localised human-readable `message` alongside a stable, never-localised `message_key`. Machine-readable fields (`error`, enum values, status codes) stay canonical English. - **Currently committed locales:** `en-GB` only (per ticket [`4GKyuYo6`](https://trello.com/c/4GKyuYo6)). The I26 carrier shape (`Accept-Language` + `Content-Language` + `Vary` headers + `locale` envelope field + `message_key` + `message_params`) is stable and exercised; the **catalog** of translated `message` strings is en-GB-only at runtime today. Additional locales (e.g. `pt-PT`) will be advertised by name when their catalogs ship — the request/response carrier shape does NOT change when a new locale lands. Treat unrequested locales as \"machine-code + `message_key` path is committed; localised `message` prose is not\" until this prose enumerates them by name. - **Request:** `Accept-Language` header per RFC 9110 §12.5.4 (q-value negotiation supported). The server selects the best-match locale from its supported list; falls back to `en-GB` when no match — which, until additional catalogs land, is every non-`en-GB` `Accept-Language`. - **Response:** `Content-Language: <locale>` echo on every localised response; `Vary: Accept-Language` on every response (CDN/cache correctness — different `Accept-Language` requests produce different responses). `Vary` is emitted unconditionally so the header contract does not flip when a second locale ships. - **Fallback locale:** `en-GB` (also the canonical locale for `message_key` translations and English `message` prose). - **SDK guidance:** switch on `error` (machine code) for typed error branches; surface `message_key` to client-side i18n catalogs (SDK companion work tracked at X19, cross-repo); display `message` for end-user UI; **never parse `message` for control flow** — it changes per locale. Carrier shape lives on `ErrorEnvelope` (envelope-level optional `message_key` + `message` + `locale` + `message_params`) and `ValidationErrorEnvelope` (also per-`details[]` entry). Existing 402 / 403 / 422 envelopes (`BalanceExhaustedResponse`, `FeatureNotAvailableResponse`, `FeatureTierRestrictedResponse`, `WorkflowPausedDetail`) inherit the convention. **Upload thresholds (per tickets [u0ar7Yye](https://trello.com/c/u0ar7Yye) + [58nBQLWQ](https://trello.com/c/58nBQLWQ)).** Canonical upload constants (single-shot cap, multipart chunk size, multipart concurrency default, multipart first-chunk size) live on the `UploadThresholds` schema with `const:`-pinned values. SDK generators emit these as typed binding constants so frontend / API / SDKs reference one source of truth instead of hardcoding magic numbers. A runtime `GET /api/uploads/limits` endpoint for dynamic discovery (per-tier / per-environment overrides) is a deferred follow-up.
4
+ *
5
+ * The version of the OpenAPI document: 2.73.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AccountLimitEntry } from './AccountLimitEntry.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AccountLimitsLimits
17
+ */
18
+ export interface AccountLimitsLimits {
19
+ [key: string]: AccountLimitEntry | any;
20
+ /**
21
+ *
22
+ * @type {AccountLimitEntry}
23
+ * @memberof AccountLimitsLimits
24
+ */
25
+ maxUploadSizeBytes: AccountLimitEntry;
26
+ /**
27
+ *
28
+ * @type {AccountLimitEntry}
29
+ * @memberof AccountLimitsLimits
30
+ */
31
+ maxTotalInputSizeBytes: AccountLimitEntry;
32
+ }
33
+ /**
34
+ * Check if a given object implements the AccountLimitsLimits interface.
35
+ */
36
+ export declare function instanceOfAccountLimitsLimits(value: object): value is AccountLimitsLimits;
37
+ export declare function AccountLimitsLimitsFromJSON(json: any): AccountLimitsLimits;
38
+ export declare function AccountLimitsLimitsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountLimitsLimits;
39
+ export declare function AccountLimitsLimitsToJSON(json: any): AccountLimitsLimits;
40
+ export declare function AccountLimitsLimitsToJSONTyped(value?: AccountLimitsLimits | null, ignoreDiscriminator?: boolean): any;