@giveitsmaller/contracts 0.1.0 → 0.1.1

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 (207) hide show
  1. package/dist/asyncapi/ErrorCode.d.ts +18 -0
  2. package/dist/asyncapi/ErrorCode.js +19 -0
  3. package/dist/asyncapi/MergeOutputType.d.ts +8 -0
  4. package/dist/asyncapi/MergeOutputType.js +9 -0
  5. package/{asyncapi/NotificationsOperationsQueue.ts → dist/asyncapi/NotificationsOperationsQueue.d.ts} +2 -2
  6. package/dist/asyncapi/NotificationsOperationsQueue.js +1 -0
  7. package/dist/asyncapi/OperationMetrics.d.ts +11 -0
  8. package/dist/asyncapi/OperationMetrics.js +1 -0
  9. package/dist/asyncapi/OperationProgress.d.ts +12 -0
  10. package/dist/asyncapi/OperationProgress.js +1 -0
  11. package/dist/asyncapi/OperationRequest.d.ts +21 -0
  12. package/dist/asyncapi/OperationRequest.js +1 -0
  13. package/dist/asyncapi/OperationResult.d.ts +20 -0
  14. package/dist/asyncapi/OperationResult.js +1 -0
  15. package/dist/asyncapi/OperationType.d.ts +9 -0
  16. package/dist/asyncapi/OperationType.js +10 -0
  17. package/dist/asyncapi/ProgressStatus.d.ts +7 -0
  18. package/dist/asyncapi/ProgressStatus.js +8 -0
  19. package/dist/asyncapi/ResultStatus.d.ts +5 -0
  20. package/dist/asyncapi/ResultStatus.js +6 -0
  21. package/dist/asyncapi/SourceEntry.d.ts +8 -0
  22. package/dist/asyncapi/SourceEntry.js +1 -0
  23. package/dist/asyncapi/index.d.ts +11 -0
  24. package/dist/asyncapi/index.js +5 -0
  25. package/dist/index.d.ts +3 -0
  26. package/dist/index.js +4 -0
  27. package/dist/openapi/index.d.ts +2 -0
  28. package/dist/openapi/index.js +4 -0
  29. package/dist/openapi/models/CallbackEventType.d.ts +32 -0
  30. package/{openapi/models/CallbackEventType.ts → dist/openapi/models/CallbackEventType.js} +13 -23
  31. package/dist/openapi/models/ContactRequest.d.ts +60 -0
  32. package/{openapi/models/ContactRequest.ts → dist/openapi/models/ContactRequest.js} +14 -71
  33. package/dist/openapi/models/ContactSubject.d.ts +34 -0
  34. package/{openapi/models/ContactSubject.ts → dist/openapi/models/ContactSubject.js} +13 -23
  35. package/dist/openapi/models/ContactValidationErrorResponse.d.ts +35 -0
  36. package/{openapi/models/ContactValidationErrorResponse.ts → dist/openapi/models/ContactValidationErrorResponse.js} +9 -33
  37. package/dist/openapi/models/ErrorEnvelope.d.ts +45 -0
  38. package/{openapi/models/ErrorEnvelope.ts → dist/openapi/models/ErrorEnvelope.js} +12 -44
  39. package/{openapi/models/ExportConfig.ts → dist/openapi/models/ExportConfig.d.ts} +12 -57
  40. package/dist/openapi/models/ExportConfig.js +59 -0
  41. package/{openapi/models/JobDefinition.ts → dist/openapi/models/JobDefinition.d.ts} +9 -33
  42. package/dist/openapi/models/JobDefinition.js +31 -0
  43. package/dist/openapi/models/JobDownload.d.ts +45 -0
  44. package/dist/openapi/models/JobDownload.js +52 -0
  45. package/{openapi/models/JobInput.ts → dist/openapi/models/JobInput.d.ts} +13 -49
  46. package/dist/openapi/models/JobInput.js +47 -0
  47. package/dist/openapi/models/JobResponse.d.ts +58 -0
  48. package/dist/openapi/models/JobResponse.js +61 -0
  49. package/{openapi/models/JobSource.ts → dist/openapi/models/JobSource.d.ts} +9 -45
  50. package/dist/openapi/models/JobSource.js +45 -0
  51. package/dist/openapi/models/JobStatus.d.ts +34 -0
  52. package/{openapi/models/JobStatus.ts → dist/openapi/models/JobStatus.js} +13 -23
  53. package/dist/openapi/models/JobType.d.ts +32 -0
  54. package/{openapi/models/JobType.ts → dist/openapi/models/JobType.js} +13 -23
  55. package/dist/openapi/models/LivenessResponse.d.ts +32 -0
  56. package/{openapi/models/LivenessResponse.ts → dist/openapi/models/LivenessResponse.js} +9 -32
  57. package/dist/openapi/models/MetadataResponse.d.ts +139 -0
  58. package/dist/openapi/models/MetadataResponse.js +85 -0
  59. package/dist/openapi/models/MetadataResponseDimensions.d.ts +38 -0
  60. package/{openapi/models/MetadataResponseDimensions.ts → dist/openapi/models/MetadataResponseDimensions.js} +7 -37
  61. package/dist/openapi/models/MetadataResponseExif.d.ts +51 -0
  62. package/{openapi/models/MetadataResponseExif.ts → dist/openapi/models/MetadataResponseExif.js} +8 -57
  63. package/dist/openapi/models/MetadataResponseExifGps.d.ts +38 -0
  64. package/{openapi/models/MetadataResponseExifGps.ts → dist/openapi/models/MetadataResponseExifGps.js} +7 -37
  65. package/dist/openapi/models/MetadataSuccessEnvelope.d.ts +46 -0
  66. package/{openapi/models/MetadataSuccessEnvelope.ts → dist/openapi/models/MetadataSuccessEnvelope.js} +13 -52
  67. package/dist/openapi/models/MimeGroupSchema.d.ts +49 -0
  68. package/{openapi/models/MimeGroupSchema.ts → dist/openapi/models/MimeGroupSchema.js} +13 -53
  69. package/dist/openapi/models/MultipartCompleteRequest.d.ts +41 -0
  70. package/dist/openapi/models/MultipartCompleteRequest.js +48 -0
  71. package/dist/openapi/models/MultipartCompleteRequestPartsInner.d.ts +38 -0
  72. package/{openapi/models/MultipartCompleteRequestPartsInner.ts → dist/openapi/models/MultipartCompleteRequestPartsInner.js} +11 -39
  73. package/dist/openapi/models/MultipartInitiateResponse.d.ts +78 -0
  74. package/dist/openapi/models/MultipartInitiateResponse.js +68 -0
  75. package/dist/openapi/models/MultipartInitiateSuccessEnvelope.d.ts +46 -0
  76. package/{openapi/models/MultipartInitiateSuccessEnvelope.ts → dist/openapi/models/MultipartInitiateSuccessEnvelope.js} +13 -52
  77. package/{openapi/models/OperationDefinition.ts → dist/openapi/models/OperationDefinition.d.ts} +14 -57
  78. package/dist/openapi/models/OperationDefinition.js +46 -0
  79. package/dist/openapi/models/OperationDownload.d.ts +56 -0
  80. package/{openapi/models/OperationDownload.ts → dist/openapi/models/OperationDownload.js} +17 -60
  81. package/dist/openapi/models/OperationInputModel.d.ts +28 -0
  82. package/{openapi/models/OperationInputModel.ts → dist/openapi/models/OperationInputModel.js} +13 -23
  83. package/dist/openapi/models/OperationResponse.d.ts +59 -0
  84. package/dist/openapi/models/OperationResponse.js +58 -0
  85. package/dist/openapi/models/OperationResult.d.ts +52 -0
  86. package/{openapi/models/OperationResult.ts → dist/openapi/models/OperationResult.js} +12 -60
  87. package/dist/openapi/models/OperationResultMetrics.d.ts +38 -0
  88. package/{openapi/models/OperationResultMetrics.ts → dist/openapi/models/OperationResultMetrics.js} +7 -37
  89. package/dist/openapi/models/OperationSchemaDefinition.d.ts +96 -0
  90. package/dist/openapi/models/OperationSchemaDefinition.js +67 -0
  91. package/dist/openapi/models/OperationStatus.d.ts +34 -0
  92. package/{openapi/models/OperationStatus.ts → dist/openapi/models/OperationStatus.js} +13 -23
  93. package/dist/openapi/models/OperationType.d.ts +36 -0
  94. package/{openapi/models/OperationType.ts → dist/openapi/models/OperationType.js} +13 -23
  95. package/{openapi/models/OperationsSchemaResponse.ts → dist/openapi/models/OperationsSchemaResponse.d.ts} +13 -55
  96. package/dist/openapi/models/OperationsSchemaResponse.js +49 -0
  97. package/{openapi/models/OptionSchema.ts → dist/openapi/models/OptionSchema.d.ts} +24 -76
  98. package/dist/openapi/models/OptionSchema.js +76 -0
  99. package/dist/openapi/models/PresignedUrlPart.d.ts +46 -0
  100. package/{openapi/models/PresignedUrlPart.ts → dist/openapi/models/PresignedUrlPart.js} +13 -48
  101. package/dist/openapi/models/ReadinessResponse.d.ts +38 -0
  102. package/{openapi/models/ReadinessResponse.ts → dist/openapi/models/ReadinessResponse.js} +7 -37
  103. package/dist/openapi/models/ResponseEnvelope.d.ts +36 -0
  104. package/{openapi/models/ResponseEnvelope.ts → dist/openapi/models/ResponseEnvelope.js} +9 -36
  105. package/dist/openapi/models/RetryResponse.d.ts +51 -0
  106. package/{openapi/models/RetryResponse.ts → dist/openapi/models/RetryResponse.js} +14 -51
  107. package/dist/openapi/models/RetrySuccessEnvelope.d.ts +46 -0
  108. package/{openapi/models/RetrySuccessEnvelope.ts → dist/openapi/models/RetrySuccessEnvelope.js} +13 -52
  109. package/dist/openapi/models/SseEventType.d.ts +40 -0
  110. package/{openapi/models/SseEventType.ts → dist/openapi/models/SseEventType.js} +13 -23
  111. package/{openapi/models/SseJobCompletedData.ts → dist/openapi/models/SseJobCompletedData.d.ts} +12 -55
  112. package/dist/openapi/models/SseJobCompletedData.js +57 -0
  113. package/dist/openapi/models/SseJobFailedData.d.ts +51 -0
  114. package/{openapi/models/SseJobFailedData.ts → dist/openapi/models/SseJobFailedData.js} +14 -51
  115. package/dist/openapi/models/SseOperationCompletedData.d.ts +78 -0
  116. package/dist/openapi/models/SseOperationCompletedData.js +75 -0
  117. package/dist/openapi/models/SseOperationFailedData.d.ts +70 -0
  118. package/dist/openapi/models/SseOperationFailedData.js +70 -0
  119. package/dist/openapi/models/SseOperationProgressData.d.ts +51 -0
  120. package/{openapi/models/SseOperationProgressData.ts → dist/openapi/models/SseOperationProgressData.js} +16 -63
  121. package/dist/openapi/models/SseWorkflowTerminalData.d.ts +49 -0
  122. package/{openapi/models/SseWorkflowTerminalData.ts → dist/openapi/models/SseWorkflowTerminalData.js} +12 -46
  123. package/dist/openapi/models/UploadResponse.d.ts +50 -0
  124. package/{openapi/models/UploadResponse.ts → dist/openapi/models/UploadResponse.js} +15 -53
  125. package/dist/openapi/models/UploadSuccessEnvelope.d.ts +46 -0
  126. package/{openapi/models/UploadSuccessEnvelope.ts → dist/openapi/models/UploadSuccessEnvelope.js} +13 -52
  127. package/dist/openapi/models/ValidationErrorEnvelope.d.ts +54 -0
  128. package/dist/openapi/models/ValidationErrorEnvelope.js +58 -0
  129. package/dist/openapi/models/ValidationErrorEnvelopeDetailsInner.d.ts +50 -0
  130. package/{openapi/models/ValidationErrorEnvelopeDetailsInner.ts → dist/openapi/models/ValidationErrorEnvelopeDetailsInner.js} +9 -50
  131. package/dist/openapi/models/WebhookOperationContext.d.ts +40 -0
  132. package/{openapi/models/WebhookOperationContext.ts → dist/openapi/models/WebhookOperationContext.js} +11 -41
  133. package/dist/openapi/models/WebhookPayload.d.ts +66 -0
  134. package/dist/openapi/models/WebhookPayload.js +60 -0
  135. package/dist/openapi/models/WorkflowCreateRequest.d.ts +76 -0
  136. package/dist/openapi/models/WorkflowCreateRequest.js +55 -0
  137. package/dist/openapi/models/WorkflowCreateResponse.d.ts +58 -0
  138. package/dist/openapi/models/WorkflowCreateResponse.js +54 -0
  139. package/dist/openapi/models/WorkflowCreateSuccessEnvelope.d.ts +46 -0
  140. package/{openapi/models/WorkflowCreateSuccessEnvelope.ts → dist/openapi/models/WorkflowCreateSuccessEnvelope.js} +13 -52
  141. package/dist/openapi/models/WorkflowDownloadResponse.d.ts +33 -0
  142. package/{openapi/models/WorkflowDownloadResponse.ts → dist/openapi/models/WorkflowDownloadResponse.js} +12 -42
  143. package/dist/openapi/models/WorkflowDownloadSuccessEnvelope.d.ts +46 -0
  144. package/{openapi/models/WorkflowDownloadSuccessEnvelope.ts → dist/openapi/models/WorkflowDownloadSuccessEnvelope.js} +13 -52
  145. package/{openapi/models/WorkflowEdge.ts → dist/openapi/models/WorkflowEdge.d.ts} +8 -45
  146. package/dist/openapi/models/WorkflowEdge.js +47 -0
  147. package/dist/openapi/models/WorkflowStatus.d.ts +34 -0
  148. package/{openapi/models/WorkflowStatus.ts → dist/openapi/models/WorkflowStatus.js} +13 -23
  149. package/dist/openapi/models/WorkflowStatusResponse.d.ts +46 -0
  150. package/dist/openapi/models/WorkflowStatusResponse.js +53 -0
  151. package/dist/openapi/models/WorkflowStatusSuccessEnvelope.d.ts +46 -0
  152. package/{openapi/models/WorkflowStatusSuccessEnvelope.ts → dist/openapi/models/WorkflowStatusSuccessEnvelope.js} +13 -52
  153. package/dist/openapi/models/index.d.ts +62 -0
  154. package/dist/openapi/models/index.js +64 -0
  155. package/dist/openapi/runtime.d.ts +184 -0
  156. package/{openapi/runtime.ts → dist/openapi/runtime.js} +107 -206
  157. package/dist/operations/archive.d.ts +12 -0
  158. package/dist/operations/archive.js +11 -0
  159. package/dist/operations/compress.d.ts +154 -0
  160. package/dist/operations/compress.js +112 -0
  161. package/dist/operations/convert.d.ts +58 -0
  162. package/dist/operations/convert.js +46 -0
  163. package/dist/operations/index.d.ts +5 -0
  164. package/dist/operations/index.js +6 -0
  165. package/dist/operations/merge.d.ts +79 -0
  166. package/dist/operations/merge.js +46 -0
  167. package/dist/operations/thumbnail.d.ts +55 -0
  168. package/dist/operations/thumbnail.js +42 -0
  169. package/package.json +29 -11
  170. package/asyncapi/ErrorCode.ts +0 -19
  171. package/asyncapi/MergeOutputType.ts +0 -9
  172. package/asyncapi/OperationMetrics.ts +0 -12
  173. package/asyncapi/OperationProgress.ts +0 -12
  174. package/asyncapi/OperationRequest.ts +0 -21
  175. package/asyncapi/OperationResult.ts +0 -20
  176. package/asyncapi/OperationType.ts +0 -10
  177. package/asyncapi/ProgressStatus.ts +0 -8
  178. package/asyncapi/README.md +0 -16
  179. package/asyncapi/ResultStatus.ts +0 -6
  180. package/asyncapi/SourceEntry.ts +0 -9
  181. package/asyncapi/index.ts +0 -11
  182. package/index.ts +0 -5
  183. package/openapi/.openapi-generator-ignore +0 -26
  184. package/openapi/README.md +0 -17
  185. package/openapi/index.ts +0 -4
  186. package/openapi/models/JobDownload.ts +0 -92
  187. package/openapi/models/JobResponse.ts +0 -119
  188. package/openapi/models/MetadataResponse.ts +0 -223
  189. package/openapi/models/MultipartCompleteRequest.ts +0 -85
  190. package/openapi/models/MultipartInitiateResponse.ts +0 -137
  191. package/openapi/models/OperationResponse.ts +0 -124
  192. package/openapi/models/OperationSchemaDefinition.ts +0 -163
  193. package/openapi/models/SseOperationCompletedData.ts +0 -143
  194. package/openapi/models/SseOperationFailedData.ts +0 -129
  195. package/openapi/models/ValidationErrorEnvelope.ts +0 -104
  196. package/openapi/models/WebhookPayload.ts +0 -132
  197. package/openapi/models/WorkflowCreateRequest.ts +0 -143
  198. package/openapi/models/WorkflowCreateResponse.ts +0 -114
  199. package/openapi/models/WorkflowStatusResponse.ts +0 -101
  200. package/openapi/models/index.ts +0 -64
  201. package/operations/README.md +0 -17
  202. package/operations/archive.ts +0 -16
  203. package/operations/compress.ts +0 -177
  204. package/operations/convert.ts +0 -69
  205. package/operations/index.ts +0 -7
  206. package/operations/merge.ts +0 -95
  207. package/operations/thumbnail.ts +0 -66
@@ -2,85 +2,50 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
6
6
  *
7
7
  * The version of the OpenAPI document: 2.0.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface PresignedUrlPart
20
- */
21
- export interface PresignedUrlPart {
22
- /**
23
- * S3 multipart part number (starts at 2, API handled part 1)
24
- * @type {number}
25
- * @memberof PresignedUrlPart
26
- */
27
- partNumber: number;
28
- /**
29
- * Pre-signed S3 PUT URL. Send PUT with raw binary chunk as body.
30
- * @type {string}
31
- * @memberof PresignedUrlPart
32
- */
33
- url: string;
34
- /**
35
- * ISO 8601 expiry timestamp. TTL is dynamic: estimated_upload_duration * 2,
36
- * clamped between 900s and 3600s.
37
- *
38
- * @type {Date}
39
- * @memberof PresignedUrlPart
40
- */
41
- expiresAt: Date;
42
- }
43
-
44
14
  /**
45
15
  * Check if a given object implements the PresignedUrlPart interface.
46
16
  */
47
- export function instanceOfPresignedUrlPart(value: object): value is PresignedUrlPart {
48
- if (!('partNumber' in value) || value['partNumber'] === undefined) return false;
49
- if (!('url' in value) || value['url'] === undefined) return false;
50
- if (!('expiresAt' in value) || value['expiresAt'] === undefined) return false;
17
+ export function instanceOfPresignedUrlPart(value) {
18
+ if (!('partNumber' in value) || value['partNumber'] === undefined)
19
+ return false;
20
+ if (!('url' in value) || value['url'] === undefined)
21
+ return false;
22
+ if (!('expiresAt' in value) || value['expiresAt'] === undefined)
23
+ return false;
51
24
  return true;
52
25
  }
53
-
54
- export function PresignedUrlPartFromJSON(json: any): PresignedUrlPart {
26
+ export function PresignedUrlPartFromJSON(json) {
55
27
  return PresignedUrlPartFromJSONTyped(json, false);
56
28
  }
57
-
58
- export function PresignedUrlPartFromJSONTyped(json: any, ignoreDiscriminator: boolean): PresignedUrlPart {
29
+ export function PresignedUrlPartFromJSONTyped(json, ignoreDiscriminator) {
59
30
  if (json == null) {
60
31
  return json;
61
32
  }
62
33
  return {
63
-
64
34
  'partNumber': json['part_number'],
65
35
  'url': json['url'],
66
36
  'expiresAt': (new Date(json['expires_at'])),
67
37
  };
68
38
  }
69
-
70
- export function PresignedUrlPartToJSON(json: any): PresignedUrlPart {
39
+ export function PresignedUrlPartToJSON(json) {
71
40
  return PresignedUrlPartToJSONTyped(json, false);
72
41
  }
73
-
74
- export function PresignedUrlPartToJSONTyped(value?: PresignedUrlPart | null, ignoreDiscriminator: boolean = false): any {
42
+ export function PresignedUrlPartToJSONTyped(value, ignoreDiscriminator = false) {
75
43
  if (value == null) {
76
44
  return value;
77
45
  }
78
-
79
46
  return {
80
-
81
47
  'part_number': value['partNumber'],
82
48
  'url': value['url'],
83
49
  'expires_at': ((value['expiresAt']).toISOString()),
84
50
  };
85
51
  }
86
-
@@ -0,0 +1,38 @@
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
4
+ *
5
+ * The version of the OpenAPI document: 2.0.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
+ *
14
+ * @export
15
+ * @interface ReadinessResponse
16
+ */
17
+ export interface ReadinessResponse {
18
+ /**
19
+ * Database connection is healthy
20
+ * @type {boolean}
21
+ * @memberof ReadinessResponse
22
+ */
23
+ database?: boolean;
24
+ /**
25
+ * Cache connection is healthy
26
+ * @type {boolean}
27
+ * @memberof ReadinessResponse
28
+ */
29
+ cache?: boolean;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ReadinessResponse interface.
33
+ */
34
+ export declare function instanceOfReadinessResponse(value: object): value is ReadinessResponse;
35
+ export declare function ReadinessResponseFromJSON(json: any): ReadinessResponse;
36
+ export declare function ReadinessResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReadinessResponse;
37
+ export declare function ReadinessResponseToJSON(json: any): ReadinessResponse;
38
+ export declare function ReadinessResponseToJSONTyped(value?: ReadinessResponse | null, ignoreDiscriminator?: boolean): any;
@@ -2,72 +2,42 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
6
6
  *
7
7
  * The version of the OpenAPI document: 2.0.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface ReadinessResponse
20
- */
21
- export interface ReadinessResponse {
22
- /**
23
- * Database connection is healthy
24
- * @type {boolean}
25
- * @memberof ReadinessResponse
26
- */
27
- database?: boolean;
28
- /**
29
- * Cache connection is healthy
30
- * @type {boolean}
31
- * @memberof ReadinessResponse
32
- */
33
- cache?: boolean;
34
- }
35
-
36
14
  /**
37
15
  * Check if a given object implements the ReadinessResponse interface.
38
16
  */
39
- export function instanceOfReadinessResponse(value: object): value is ReadinessResponse {
17
+ export function instanceOfReadinessResponse(value) {
40
18
  return true;
41
19
  }
42
-
43
- export function ReadinessResponseFromJSON(json: any): ReadinessResponse {
20
+ export function ReadinessResponseFromJSON(json) {
44
21
  return ReadinessResponseFromJSONTyped(json, false);
45
22
  }
46
-
47
- export function ReadinessResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReadinessResponse {
23
+ export function ReadinessResponseFromJSONTyped(json, ignoreDiscriminator) {
48
24
  if (json == null) {
49
25
  return json;
50
26
  }
51
27
  return {
52
-
53
28
  'database': json['database'] == null ? undefined : json['database'],
54
29
  'cache': json['cache'] == null ? undefined : json['cache'],
55
30
  };
56
31
  }
57
-
58
- export function ReadinessResponseToJSON(json: any): ReadinessResponse {
32
+ export function ReadinessResponseToJSON(json) {
59
33
  return ReadinessResponseToJSONTyped(json, false);
60
34
  }
61
-
62
- export function ReadinessResponseToJSONTyped(value?: ReadinessResponse | null, ignoreDiscriminator: boolean = false): any {
35
+ export function ReadinessResponseToJSONTyped(value, ignoreDiscriminator = false) {
63
36
  if (value == null) {
64
37
  return value;
65
38
  }
66
-
67
39
  return {
68
-
69
40
  'database': value['database'],
70
41
  'cache': value['cache'],
71
42
  };
72
43
  }
73
-
@@ -0,0 +1,36 @@
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
4
+ *
5
+ * The version of the OpenAPI document: 2.0.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
+ * Standard response wrapper. All API responses (except GET /api/operations/schema,
14
+ * health probes, and POST /api/contact) use this envelope.
15
+ * Success: `{ success: true, data: {...} }`.
16
+ * Error: `{ success: false, error: "...", details: [...] }`.
17
+ *
18
+ * @export
19
+ * @interface ResponseEnvelope
20
+ */
21
+ export interface ResponseEnvelope {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ResponseEnvelope
26
+ */
27
+ success: boolean;
28
+ }
29
+ /**
30
+ * Check if a given object implements the ResponseEnvelope interface.
31
+ */
32
+ export declare function instanceOfResponseEnvelope(value: object): value is ResponseEnvelope;
33
+ export declare function ResponseEnvelopeFromJSON(json: any): ResponseEnvelope;
34
+ export declare function ResponseEnvelopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResponseEnvelope;
35
+ export declare function ResponseEnvelopeToJSON(json: any): ResponseEnvelope;
36
+ export declare function ResponseEnvelopeToJSONTyped(value?: ResponseEnvelope | null, ignoreDiscriminator?: boolean): any;
@@ -2,69 +2,42 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
6
6
  *
7
7
  * The version of the OpenAPI document: 2.0.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- * Standard response wrapper. All API responses (except GET /api/operations/schema,
18
- * health probes, and POST /api/contact) use this envelope.
19
- * Success: `{ success: true, data: {...} }`.
20
- * Error: `{ success: false, error: "...", details: [...] }`.
21
- *
22
- * @export
23
- * @interface ResponseEnvelope
24
- */
25
- export interface ResponseEnvelope {
26
- /**
27
- *
28
- * @type {boolean}
29
- * @memberof ResponseEnvelope
30
- */
31
- success: boolean;
32
- }
33
-
34
14
  /**
35
15
  * Check if a given object implements the ResponseEnvelope interface.
36
16
  */
37
- export function instanceOfResponseEnvelope(value: object): value is ResponseEnvelope {
38
- if (!('success' in value) || value['success'] === undefined) return false;
17
+ export function instanceOfResponseEnvelope(value) {
18
+ if (!('success' in value) || value['success'] === undefined)
19
+ return false;
39
20
  return true;
40
21
  }
41
-
42
- export function ResponseEnvelopeFromJSON(json: any): ResponseEnvelope {
22
+ export function ResponseEnvelopeFromJSON(json) {
43
23
  return ResponseEnvelopeFromJSONTyped(json, false);
44
24
  }
45
-
46
- export function ResponseEnvelopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResponseEnvelope {
25
+ export function ResponseEnvelopeFromJSONTyped(json, ignoreDiscriminator) {
47
26
  if (json == null) {
48
27
  return json;
49
28
  }
50
29
  return {
51
-
52
30
  'success': json['success'],
53
31
  };
54
32
  }
55
-
56
- export function ResponseEnvelopeToJSON(json: any): ResponseEnvelope {
33
+ export function ResponseEnvelopeToJSON(json) {
57
34
  return ResponseEnvelopeToJSONTyped(json, false);
58
35
  }
59
-
60
- export function ResponseEnvelopeToJSONTyped(value?: ResponseEnvelope | null, ignoreDiscriminator: boolean = false): any {
36
+ export function ResponseEnvelopeToJSONTyped(value, ignoreDiscriminator = false) {
61
37
  if (value == null) {
62
38
  return value;
63
39
  }
64
-
65
40
  return {
66
-
67
41
  'success': value['success'],
68
42
  };
69
43
  }
70
-
@@ -0,0 +1,51 @@
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
4
+ *
5
+ * The version of the OpenAPI document: 2.0.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
+ *
14
+ * @export
15
+ * @interface RetryResponse
16
+ */
17
+ export interface RetryResponse {
18
+ /**
19
+ * UUID v7 format identifier (time-ordered)
20
+ * @type {string}
21
+ * @memberof RetryResponse
22
+ */
23
+ operationId: string;
24
+ /**
25
+ * UUID v7 format identifier (time-ordered)
26
+ * @type {string}
27
+ * @memberof RetryResponse
28
+ */
29
+ originalOperationId: string;
30
+ /**
31
+ * Always "pending" for a new retry
32
+ * @type {string}
33
+ * @memberof RetryResponse
34
+ */
35
+ status: RetryResponseStatusEnum;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const RetryResponseStatusEnum: {
41
+ readonly pending: "pending";
42
+ };
43
+ export type RetryResponseStatusEnum = typeof RetryResponseStatusEnum[keyof typeof RetryResponseStatusEnum];
44
+ /**
45
+ * Check if a given object implements the RetryResponse interface.
46
+ */
47
+ export declare function instanceOfRetryResponse(value: object): value is RetryResponse;
48
+ export declare function RetryResponseFromJSON(json: any): RetryResponse;
49
+ export declare function RetryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RetryResponse;
50
+ export declare function RetryResponseToJSON(json: any): RetryResponse;
51
+ export declare function RetryResponseToJSONTyped(value?: RetryResponse | null, ignoreDiscriminator?: boolean): any;
@@ -2,93 +2,56 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
6
6
  *
7
7
  * The version of the OpenAPI document: 2.0.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface RetryResponse
20
- */
21
- export interface RetryResponse {
22
- /**
23
- * UUID v7 format identifier (time-ordered)
24
- * @type {string}
25
- * @memberof RetryResponse
26
- */
27
- operationId: string;
28
- /**
29
- * UUID v7 format identifier (time-ordered)
30
- * @type {string}
31
- * @memberof RetryResponse
32
- */
33
- originalOperationId: string;
34
- /**
35
- * Always "pending" for a new retry
36
- * @type {string}
37
- * @memberof RetryResponse
38
- */
39
- status: RetryResponseStatusEnum;
40
- }
41
-
42
-
43
14
  /**
44
15
  * @export
45
16
  */
46
17
  export const RetryResponseStatusEnum = {
47
18
  pending: 'pending'
48
- } as const;
49
- export type RetryResponseStatusEnum = typeof RetryResponseStatusEnum[keyof typeof RetryResponseStatusEnum];
50
-
51
-
19
+ };
52
20
  /**
53
21
  * Check if a given object implements the RetryResponse interface.
54
22
  */
55
- export function instanceOfRetryResponse(value: object): value is RetryResponse {
56
- if (!('operationId' in value) || value['operationId'] === undefined) return false;
57
- if (!('originalOperationId' in value) || value['originalOperationId'] === undefined) return false;
58
- if (!('status' in value) || value['status'] === undefined) return false;
23
+ export function instanceOfRetryResponse(value) {
24
+ if (!('operationId' in value) || value['operationId'] === undefined)
25
+ return false;
26
+ if (!('originalOperationId' in value) || value['originalOperationId'] === undefined)
27
+ return false;
28
+ if (!('status' in value) || value['status'] === undefined)
29
+ return false;
59
30
  return true;
60
31
  }
61
-
62
- export function RetryResponseFromJSON(json: any): RetryResponse {
32
+ export function RetryResponseFromJSON(json) {
63
33
  return RetryResponseFromJSONTyped(json, false);
64
34
  }
65
-
66
- export function RetryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RetryResponse {
35
+ export function RetryResponseFromJSONTyped(json, ignoreDiscriminator) {
67
36
  if (json == null) {
68
37
  return json;
69
38
  }
70
39
  return {
71
-
72
40
  'operationId': json['operation_id'],
73
41
  'originalOperationId': json['original_operation_id'],
74
42
  'status': json['status'],
75
43
  };
76
44
  }
77
-
78
- export function RetryResponseToJSON(json: any): RetryResponse {
45
+ export function RetryResponseToJSON(json) {
79
46
  return RetryResponseToJSONTyped(json, false);
80
47
  }
81
-
82
- export function RetryResponseToJSONTyped(value?: RetryResponse | null, ignoreDiscriminator: boolean = false): any {
48
+ export function RetryResponseToJSONTyped(value, ignoreDiscriminator = false) {
83
49
  if (value == null) {
84
50
  return value;
85
51
  }
86
-
87
52
  return {
88
-
89
53
  'operation_id': value['operationId'],
90
54
  'original_operation_id': value['originalOperationId'],
91
55
  'status': value['status'],
92
56
  };
93
57
  }
94
-
@@ -0,0 +1,46 @@
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
4
+ *
5
+ * The version of the OpenAPI document: 2.0.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 { RetryResponse } from './RetryResponse.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RetrySuccessEnvelope
17
+ */
18
+ export interface RetrySuccessEnvelope {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof RetrySuccessEnvelope
23
+ */
24
+ success: RetrySuccessEnvelopeSuccessEnum;
25
+ /**
26
+ *
27
+ * @type {RetryResponse}
28
+ * @memberof RetrySuccessEnvelope
29
+ */
30
+ data: RetryResponse;
31
+ }
32
+ /**
33
+ * @export
34
+ */
35
+ export declare const RetrySuccessEnvelopeSuccessEnum: {
36
+ readonly true: true;
37
+ };
38
+ export type RetrySuccessEnvelopeSuccessEnum = typeof RetrySuccessEnvelopeSuccessEnum[keyof typeof RetrySuccessEnvelopeSuccessEnum];
39
+ /**
40
+ * Check if a given object implements the RetrySuccessEnvelope interface.
41
+ */
42
+ export declare function instanceOfRetrySuccessEnvelope(value: object): value is RetrySuccessEnvelope;
43
+ export declare function RetrySuccessEnvelopeFromJSON(json: any): RetrySuccessEnvelope;
44
+ export declare function RetrySuccessEnvelopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): RetrySuccessEnvelope;
45
+ export declare function RetrySuccessEnvelopeToJSON(json: any): RetrySuccessEnvelope;
46
+ export declare function RetrySuccessEnvelopeToJSONTyped(value?: RetrySuccessEnvelope | null, ignoreDiscriminator?: boolean): any;
@@ -2,92 +2,53 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
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, watermark, merge, archive, convert) - 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 (CDN-cacheable), health probes return flat objects, and `POST /api/contact` returns 204 with no body.
6
6
  *
7
7
  * The version of the OpenAPI document: 2.0.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { RetryResponse } from './RetryResponse';
17
- import {
18
- RetryResponseFromJSON,
19
- RetryResponseFromJSONTyped,
20
- RetryResponseToJSON,
21
- RetryResponseToJSONTyped,
22
- } from './RetryResponse';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface RetrySuccessEnvelope
28
- */
29
- export interface RetrySuccessEnvelope {
30
- /**
31
- *
32
- * @type {boolean}
33
- * @memberof RetrySuccessEnvelope
34
- */
35
- success: RetrySuccessEnvelopeSuccessEnum;
36
- /**
37
- *
38
- * @type {RetryResponse}
39
- * @memberof RetrySuccessEnvelope
40
- */
41
- data: RetryResponse;
42
- }
43
-
44
-
14
+ import { RetryResponseFromJSON, RetryResponseToJSON, } from './RetryResponse.js';
45
15
  /**
46
16
  * @export
47
17
  */
48
18
  export const RetrySuccessEnvelopeSuccessEnum = {
49
19
  true: true
50
- } as const;
51
- export type RetrySuccessEnvelopeSuccessEnum = typeof RetrySuccessEnvelopeSuccessEnum[keyof typeof RetrySuccessEnvelopeSuccessEnum];
52
-
53
-
20
+ };
54
21
  /**
55
22
  * Check if a given object implements the RetrySuccessEnvelope interface.
56
23
  */
57
- export function instanceOfRetrySuccessEnvelope(value: object): value is RetrySuccessEnvelope {
58
- if (!('success' in value) || value['success'] === undefined) return false;
59
- if (!('data' in value) || value['data'] === undefined) return false;
24
+ export function instanceOfRetrySuccessEnvelope(value) {
25
+ if (!('success' in value) || value['success'] === undefined)
26
+ return false;
27
+ if (!('data' in value) || value['data'] === undefined)
28
+ return false;
60
29
  return true;
61
30
  }
62
-
63
- export function RetrySuccessEnvelopeFromJSON(json: any): RetrySuccessEnvelope {
31
+ export function RetrySuccessEnvelopeFromJSON(json) {
64
32
  return RetrySuccessEnvelopeFromJSONTyped(json, false);
65
33
  }
66
-
67
- export function RetrySuccessEnvelopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): RetrySuccessEnvelope {
34
+ export function RetrySuccessEnvelopeFromJSONTyped(json, ignoreDiscriminator) {
68
35
  if (json == null) {
69
36
  return json;
70
37
  }
71
38
  return {
72
-
73
39
  'success': json['success'],
74
40
  'data': RetryResponseFromJSON(json['data']),
75
41
  };
76
42
  }
77
-
78
- export function RetrySuccessEnvelopeToJSON(json: any): RetrySuccessEnvelope {
43
+ export function RetrySuccessEnvelopeToJSON(json) {
79
44
  return RetrySuccessEnvelopeToJSONTyped(json, false);
80
45
  }
81
-
82
- export function RetrySuccessEnvelopeToJSONTyped(value?: RetrySuccessEnvelope | null, ignoreDiscriminator: boolean = false): any {
46
+ export function RetrySuccessEnvelopeToJSONTyped(value, ignoreDiscriminator = false) {
83
47
  if (value == null) {
84
48
  return value;
85
49
  }
86
-
87
50
  return {
88
-
89
51
  'success': value['success'],
90
52
  'data': RetryResponseToJSON(value['data']),
91
53
  };
92
54
  }
93
-