@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.
- package/dist/asyncapi/ErrorCode.d.ts +18 -0
- package/dist/asyncapi/ErrorCode.js +19 -0
- package/dist/asyncapi/MergeOutputType.d.ts +8 -0
- package/dist/asyncapi/MergeOutputType.js +9 -0
- package/{asyncapi/NotificationsOperationsQueue.ts → dist/asyncapi/NotificationsOperationsQueue.d.ts} +2 -2
- package/dist/asyncapi/NotificationsOperationsQueue.js +1 -0
- package/dist/asyncapi/OperationMetrics.d.ts +11 -0
- package/dist/asyncapi/OperationMetrics.js +1 -0
- package/dist/asyncapi/OperationProgress.d.ts +12 -0
- package/dist/asyncapi/OperationProgress.js +1 -0
- package/dist/asyncapi/OperationRequest.d.ts +21 -0
- package/dist/asyncapi/OperationRequest.js +1 -0
- package/dist/asyncapi/OperationResult.d.ts +20 -0
- package/dist/asyncapi/OperationResult.js +1 -0
- package/dist/asyncapi/OperationType.d.ts +9 -0
- package/dist/asyncapi/OperationType.js +10 -0
- package/dist/asyncapi/ProgressStatus.d.ts +7 -0
- package/dist/asyncapi/ProgressStatus.js +8 -0
- package/dist/asyncapi/ResultStatus.d.ts +5 -0
- package/dist/asyncapi/ResultStatus.js +6 -0
- package/dist/asyncapi/SourceEntry.d.ts +8 -0
- package/dist/asyncapi/SourceEntry.js +1 -0
- package/dist/asyncapi/index.d.ts +11 -0
- package/dist/asyncapi/index.js +5 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +4 -0
- package/dist/openapi/index.d.ts +2 -0
- package/dist/openapi/index.js +4 -0
- package/dist/openapi/models/CallbackEventType.d.ts +32 -0
- package/{openapi/models/CallbackEventType.ts → dist/openapi/models/CallbackEventType.js} +13 -23
- package/dist/openapi/models/ContactRequest.d.ts +60 -0
- package/{openapi/models/ContactRequest.ts → dist/openapi/models/ContactRequest.js} +14 -71
- package/dist/openapi/models/ContactSubject.d.ts +34 -0
- package/{openapi/models/ContactSubject.ts → dist/openapi/models/ContactSubject.js} +13 -23
- package/dist/openapi/models/ContactValidationErrorResponse.d.ts +35 -0
- package/{openapi/models/ContactValidationErrorResponse.ts → dist/openapi/models/ContactValidationErrorResponse.js} +9 -33
- package/dist/openapi/models/ErrorEnvelope.d.ts +45 -0
- package/{openapi/models/ErrorEnvelope.ts → dist/openapi/models/ErrorEnvelope.js} +12 -44
- package/{openapi/models/ExportConfig.ts → dist/openapi/models/ExportConfig.d.ts} +12 -57
- package/dist/openapi/models/ExportConfig.js +59 -0
- package/{openapi/models/JobDefinition.ts → dist/openapi/models/JobDefinition.d.ts} +9 -33
- package/dist/openapi/models/JobDefinition.js +31 -0
- package/dist/openapi/models/JobDownload.d.ts +45 -0
- package/dist/openapi/models/JobDownload.js +52 -0
- package/{openapi/models/JobInput.ts → dist/openapi/models/JobInput.d.ts} +13 -49
- package/dist/openapi/models/JobInput.js +47 -0
- package/dist/openapi/models/JobResponse.d.ts +58 -0
- package/dist/openapi/models/JobResponse.js +61 -0
- package/{openapi/models/JobSource.ts → dist/openapi/models/JobSource.d.ts} +9 -45
- package/dist/openapi/models/JobSource.js +45 -0
- package/dist/openapi/models/JobStatus.d.ts +34 -0
- package/{openapi/models/JobStatus.ts → dist/openapi/models/JobStatus.js} +13 -23
- package/dist/openapi/models/JobType.d.ts +32 -0
- package/{openapi/models/JobType.ts → dist/openapi/models/JobType.js} +13 -23
- package/dist/openapi/models/LivenessResponse.d.ts +32 -0
- package/{openapi/models/LivenessResponse.ts → dist/openapi/models/LivenessResponse.js} +9 -32
- package/dist/openapi/models/MetadataResponse.d.ts +139 -0
- package/dist/openapi/models/MetadataResponse.js +85 -0
- package/dist/openapi/models/MetadataResponseDimensions.d.ts +38 -0
- package/{openapi/models/MetadataResponseDimensions.ts → dist/openapi/models/MetadataResponseDimensions.js} +7 -37
- package/dist/openapi/models/MetadataResponseExif.d.ts +51 -0
- package/{openapi/models/MetadataResponseExif.ts → dist/openapi/models/MetadataResponseExif.js} +8 -57
- package/dist/openapi/models/MetadataResponseExifGps.d.ts +38 -0
- package/{openapi/models/MetadataResponseExifGps.ts → dist/openapi/models/MetadataResponseExifGps.js} +7 -37
- package/dist/openapi/models/MetadataSuccessEnvelope.d.ts +46 -0
- package/{openapi/models/MetadataSuccessEnvelope.ts → dist/openapi/models/MetadataSuccessEnvelope.js} +13 -52
- package/dist/openapi/models/MimeGroupSchema.d.ts +49 -0
- package/{openapi/models/MimeGroupSchema.ts → dist/openapi/models/MimeGroupSchema.js} +13 -53
- package/dist/openapi/models/MultipartCompleteRequest.d.ts +41 -0
- package/dist/openapi/models/MultipartCompleteRequest.js +48 -0
- package/dist/openapi/models/MultipartCompleteRequestPartsInner.d.ts +38 -0
- package/{openapi/models/MultipartCompleteRequestPartsInner.ts → dist/openapi/models/MultipartCompleteRequestPartsInner.js} +11 -39
- package/dist/openapi/models/MultipartInitiateResponse.d.ts +78 -0
- package/dist/openapi/models/MultipartInitiateResponse.js +68 -0
- package/dist/openapi/models/MultipartInitiateSuccessEnvelope.d.ts +46 -0
- package/{openapi/models/MultipartInitiateSuccessEnvelope.ts → dist/openapi/models/MultipartInitiateSuccessEnvelope.js} +13 -52
- package/{openapi/models/OperationDefinition.ts → dist/openapi/models/OperationDefinition.d.ts} +14 -57
- package/dist/openapi/models/OperationDefinition.js +46 -0
- package/dist/openapi/models/OperationDownload.d.ts +56 -0
- package/{openapi/models/OperationDownload.ts → dist/openapi/models/OperationDownload.js} +17 -60
- package/dist/openapi/models/OperationInputModel.d.ts +28 -0
- package/{openapi/models/OperationInputModel.ts → dist/openapi/models/OperationInputModel.js} +13 -23
- package/dist/openapi/models/OperationResponse.d.ts +59 -0
- package/dist/openapi/models/OperationResponse.js +58 -0
- package/dist/openapi/models/OperationResult.d.ts +52 -0
- package/{openapi/models/OperationResult.ts → dist/openapi/models/OperationResult.js} +12 -60
- package/dist/openapi/models/OperationResultMetrics.d.ts +38 -0
- package/{openapi/models/OperationResultMetrics.ts → dist/openapi/models/OperationResultMetrics.js} +7 -37
- package/dist/openapi/models/OperationSchemaDefinition.d.ts +96 -0
- package/dist/openapi/models/OperationSchemaDefinition.js +67 -0
- package/dist/openapi/models/OperationStatus.d.ts +34 -0
- package/{openapi/models/OperationStatus.ts → dist/openapi/models/OperationStatus.js} +13 -23
- package/dist/openapi/models/OperationType.d.ts +36 -0
- package/{openapi/models/OperationType.ts → dist/openapi/models/OperationType.js} +13 -23
- package/{openapi/models/OperationsSchemaResponse.ts → dist/openapi/models/OperationsSchemaResponse.d.ts} +13 -55
- package/dist/openapi/models/OperationsSchemaResponse.js +49 -0
- package/{openapi/models/OptionSchema.ts → dist/openapi/models/OptionSchema.d.ts} +24 -76
- package/dist/openapi/models/OptionSchema.js +76 -0
- package/dist/openapi/models/PresignedUrlPart.d.ts +46 -0
- package/{openapi/models/PresignedUrlPart.ts → dist/openapi/models/PresignedUrlPart.js} +13 -48
- package/dist/openapi/models/ReadinessResponse.d.ts +38 -0
- package/{openapi/models/ReadinessResponse.ts → dist/openapi/models/ReadinessResponse.js} +7 -37
- package/dist/openapi/models/ResponseEnvelope.d.ts +36 -0
- package/{openapi/models/ResponseEnvelope.ts → dist/openapi/models/ResponseEnvelope.js} +9 -36
- package/dist/openapi/models/RetryResponse.d.ts +51 -0
- package/{openapi/models/RetryResponse.ts → dist/openapi/models/RetryResponse.js} +14 -51
- package/dist/openapi/models/RetrySuccessEnvelope.d.ts +46 -0
- package/{openapi/models/RetrySuccessEnvelope.ts → dist/openapi/models/RetrySuccessEnvelope.js} +13 -52
- package/dist/openapi/models/SseEventType.d.ts +40 -0
- package/{openapi/models/SseEventType.ts → dist/openapi/models/SseEventType.js} +13 -23
- package/{openapi/models/SseJobCompletedData.ts → dist/openapi/models/SseJobCompletedData.d.ts} +12 -55
- package/dist/openapi/models/SseJobCompletedData.js +57 -0
- package/dist/openapi/models/SseJobFailedData.d.ts +51 -0
- package/{openapi/models/SseJobFailedData.ts → dist/openapi/models/SseJobFailedData.js} +14 -51
- package/dist/openapi/models/SseOperationCompletedData.d.ts +78 -0
- package/dist/openapi/models/SseOperationCompletedData.js +75 -0
- package/dist/openapi/models/SseOperationFailedData.d.ts +70 -0
- package/dist/openapi/models/SseOperationFailedData.js +70 -0
- package/dist/openapi/models/SseOperationProgressData.d.ts +51 -0
- package/{openapi/models/SseOperationProgressData.ts → dist/openapi/models/SseOperationProgressData.js} +16 -63
- package/dist/openapi/models/SseWorkflowTerminalData.d.ts +49 -0
- package/{openapi/models/SseWorkflowTerminalData.ts → dist/openapi/models/SseWorkflowTerminalData.js} +12 -46
- package/dist/openapi/models/UploadResponse.d.ts +50 -0
- package/{openapi/models/UploadResponse.ts → dist/openapi/models/UploadResponse.js} +15 -53
- package/dist/openapi/models/UploadSuccessEnvelope.d.ts +46 -0
- package/{openapi/models/UploadSuccessEnvelope.ts → dist/openapi/models/UploadSuccessEnvelope.js} +13 -52
- package/dist/openapi/models/ValidationErrorEnvelope.d.ts +54 -0
- package/dist/openapi/models/ValidationErrorEnvelope.js +58 -0
- package/dist/openapi/models/ValidationErrorEnvelopeDetailsInner.d.ts +50 -0
- package/{openapi/models/ValidationErrorEnvelopeDetailsInner.ts → dist/openapi/models/ValidationErrorEnvelopeDetailsInner.js} +9 -50
- package/dist/openapi/models/WebhookOperationContext.d.ts +40 -0
- package/{openapi/models/WebhookOperationContext.ts → dist/openapi/models/WebhookOperationContext.js} +11 -41
- package/dist/openapi/models/WebhookPayload.d.ts +66 -0
- package/dist/openapi/models/WebhookPayload.js +60 -0
- package/dist/openapi/models/WorkflowCreateRequest.d.ts +76 -0
- package/dist/openapi/models/WorkflowCreateRequest.js +55 -0
- package/dist/openapi/models/WorkflowCreateResponse.d.ts +58 -0
- package/dist/openapi/models/WorkflowCreateResponse.js +54 -0
- package/dist/openapi/models/WorkflowCreateSuccessEnvelope.d.ts +46 -0
- package/{openapi/models/WorkflowCreateSuccessEnvelope.ts → dist/openapi/models/WorkflowCreateSuccessEnvelope.js} +13 -52
- package/dist/openapi/models/WorkflowDownloadResponse.d.ts +33 -0
- package/{openapi/models/WorkflowDownloadResponse.ts → dist/openapi/models/WorkflowDownloadResponse.js} +12 -42
- package/dist/openapi/models/WorkflowDownloadSuccessEnvelope.d.ts +46 -0
- package/{openapi/models/WorkflowDownloadSuccessEnvelope.ts → dist/openapi/models/WorkflowDownloadSuccessEnvelope.js} +13 -52
- package/{openapi/models/WorkflowEdge.ts → dist/openapi/models/WorkflowEdge.d.ts} +8 -45
- package/dist/openapi/models/WorkflowEdge.js +47 -0
- package/dist/openapi/models/WorkflowStatus.d.ts +34 -0
- package/{openapi/models/WorkflowStatus.ts → dist/openapi/models/WorkflowStatus.js} +13 -23
- package/dist/openapi/models/WorkflowStatusResponse.d.ts +46 -0
- package/dist/openapi/models/WorkflowStatusResponse.js +53 -0
- package/dist/openapi/models/WorkflowStatusSuccessEnvelope.d.ts +46 -0
- package/{openapi/models/WorkflowStatusSuccessEnvelope.ts → dist/openapi/models/WorkflowStatusSuccessEnvelope.js} +13 -52
- package/dist/openapi/models/index.d.ts +62 -0
- package/dist/openapi/models/index.js +64 -0
- package/dist/openapi/runtime.d.ts +184 -0
- package/{openapi/runtime.ts → dist/openapi/runtime.js} +107 -206
- package/dist/operations/archive.d.ts +12 -0
- package/dist/operations/archive.js +11 -0
- package/dist/operations/compress.d.ts +154 -0
- package/dist/operations/compress.js +112 -0
- package/dist/operations/convert.d.ts +58 -0
- package/dist/operations/convert.js +46 -0
- package/dist/operations/index.d.ts +5 -0
- package/dist/operations/index.js +6 -0
- package/dist/operations/merge.d.ts +79 -0
- package/dist/operations/merge.js +46 -0
- package/dist/operations/thumbnail.d.ts +55 -0
- package/dist/operations/thumbnail.js +42 -0
- package/package.json +29 -11
- package/asyncapi/ErrorCode.ts +0 -19
- package/asyncapi/MergeOutputType.ts +0 -9
- package/asyncapi/OperationMetrics.ts +0 -12
- package/asyncapi/OperationProgress.ts +0 -12
- package/asyncapi/OperationRequest.ts +0 -21
- package/asyncapi/OperationResult.ts +0 -20
- package/asyncapi/OperationType.ts +0 -10
- package/asyncapi/ProgressStatus.ts +0 -8
- package/asyncapi/README.md +0 -16
- package/asyncapi/ResultStatus.ts +0 -6
- package/asyncapi/SourceEntry.ts +0 -9
- package/asyncapi/index.ts +0 -11
- package/index.ts +0 -5
- package/openapi/.openapi-generator-ignore +0 -26
- package/openapi/README.md +0 -17
- package/openapi/index.ts +0 -4
- package/openapi/models/JobDownload.ts +0 -92
- package/openapi/models/JobResponse.ts +0 -119
- package/openapi/models/MetadataResponse.ts +0 -223
- package/openapi/models/MultipartCompleteRequest.ts +0 -85
- package/openapi/models/MultipartInitiateResponse.ts +0 -137
- package/openapi/models/OperationResponse.ts +0 -124
- package/openapi/models/OperationSchemaDefinition.ts +0 -163
- package/openapi/models/SseOperationCompletedData.ts +0 -143
- package/openapi/models/SseOperationFailedData.ts +0 -129
- package/openapi/models/ValidationErrorEnvelope.ts +0 -104
- package/openapi/models/WebhookPayload.ts +0 -132
- package/openapi/models/WorkflowCreateRequest.ts +0 -143
- package/openapi/models/WorkflowCreateResponse.ts +0 -114
- package/openapi/models/WorkflowStatusResponse.ts +0 -101
- package/openapi/models/index.ts +0 -64
- package/operations/README.md +0 -17
- package/operations/archive.ts +0 -16
- package/operations/compress.ts +0 -177
- package/operations/convert.ts +0 -69
- package/operations/index.ts +0 -7
- package/operations/merge.ts +0 -95
- package/operations/thumbnail.ts +0 -66
package/{openapi/models/MetadataResponseExifGps.ts → dist/openapi/models/MetadataResponseExifGps.js}
RENAMED
|
@@ -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 MetadataResponseExifGps
|
|
20
|
-
*/
|
|
21
|
-
export interface MetadataResponseExifGps {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof MetadataResponseExifGps
|
|
26
|
-
*/
|
|
27
|
-
lat?: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof MetadataResponseExifGps
|
|
32
|
-
*/
|
|
33
|
-
lon?: number;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
14
|
/**
|
|
37
15
|
* Check if a given object implements the MetadataResponseExifGps interface.
|
|
38
16
|
*/
|
|
39
|
-
export function instanceOfMetadataResponseExifGps(value
|
|
17
|
+
export function instanceOfMetadataResponseExifGps(value) {
|
|
40
18
|
return true;
|
|
41
19
|
}
|
|
42
|
-
|
|
43
|
-
export function MetadataResponseExifGpsFromJSON(json: any): MetadataResponseExifGps {
|
|
20
|
+
export function MetadataResponseExifGpsFromJSON(json) {
|
|
44
21
|
return MetadataResponseExifGpsFromJSONTyped(json, false);
|
|
45
22
|
}
|
|
46
|
-
|
|
47
|
-
export function MetadataResponseExifGpsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetadataResponseExifGps {
|
|
23
|
+
export function MetadataResponseExifGpsFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
24
|
if (json == null) {
|
|
49
25
|
return json;
|
|
50
26
|
}
|
|
51
27
|
return {
|
|
52
|
-
|
|
53
28
|
'lat': json['lat'] == null ? undefined : json['lat'],
|
|
54
29
|
'lon': json['lon'] == null ? undefined : json['lon'],
|
|
55
30
|
};
|
|
56
31
|
}
|
|
57
|
-
|
|
58
|
-
export function MetadataResponseExifGpsToJSON(json: any): MetadataResponseExifGps {
|
|
32
|
+
export function MetadataResponseExifGpsToJSON(json) {
|
|
59
33
|
return MetadataResponseExifGpsToJSONTyped(json, false);
|
|
60
34
|
}
|
|
61
|
-
|
|
62
|
-
export function MetadataResponseExifGpsToJSONTyped(value?: MetadataResponseExifGps | null, ignoreDiscriminator: boolean = false): any {
|
|
35
|
+
export function MetadataResponseExifGpsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
36
|
if (value == null) {
|
|
64
37
|
return value;
|
|
65
38
|
}
|
|
66
|
-
|
|
67
39
|
return {
|
|
68
|
-
|
|
69
40
|
'lat': value['lat'],
|
|
70
41
|
'lon': value['lon'],
|
|
71
42
|
};
|
|
72
43
|
}
|
|
73
|
-
|
|
@@ -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 { MetadataResponse } from './MetadataResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MetadataSuccessEnvelope
|
|
17
|
+
*/
|
|
18
|
+
export interface MetadataSuccessEnvelope {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof MetadataSuccessEnvelope
|
|
23
|
+
*/
|
|
24
|
+
success: MetadataSuccessEnvelopeSuccessEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {MetadataResponse}
|
|
28
|
+
* @memberof MetadataSuccessEnvelope
|
|
29
|
+
*/
|
|
30
|
+
data: MetadataResponse;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const MetadataSuccessEnvelopeSuccessEnum: {
|
|
36
|
+
readonly true: true;
|
|
37
|
+
};
|
|
38
|
+
export type MetadataSuccessEnvelopeSuccessEnum = typeof MetadataSuccessEnvelopeSuccessEnum[keyof typeof MetadataSuccessEnvelopeSuccessEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the MetadataSuccessEnvelope interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfMetadataSuccessEnvelope(value: object): value is MetadataSuccessEnvelope;
|
|
43
|
+
export declare function MetadataSuccessEnvelopeFromJSON(json: any): MetadataSuccessEnvelope;
|
|
44
|
+
export declare function MetadataSuccessEnvelopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetadataSuccessEnvelope;
|
|
45
|
+
export declare function MetadataSuccessEnvelopeToJSON(json: any): MetadataSuccessEnvelope;
|
|
46
|
+
export declare function MetadataSuccessEnvelopeToJSONTyped(value?: MetadataSuccessEnvelope | null, ignoreDiscriminator?: boolean): any;
|
package/{openapi/models/MetadataSuccessEnvelope.ts → dist/openapi/models/MetadataSuccessEnvelope.js}
RENAMED
|
@@ -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 { MetadataResponse } from './MetadataResponse';
|
|
17
|
-
import {
|
|
18
|
-
MetadataResponseFromJSON,
|
|
19
|
-
MetadataResponseFromJSONTyped,
|
|
20
|
-
MetadataResponseToJSON,
|
|
21
|
-
MetadataResponseToJSONTyped,
|
|
22
|
-
} from './MetadataResponse';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface MetadataSuccessEnvelope
|
|
28
|
-
*/
|
|
29
|
-
export interface MetadataSuccessEnvelope {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof MetadataSuccessEnvelope
|
|
34
|
-
*/
|
|
35
|
-
success: MetadataSuccessEnvelopeSuccessEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {MetadataResponse}
|
|
39
|
-
* @memberof MetadataSuccessEnvelope
|
|
40
|
-
*/
|
|
41
|
-
data: MetadataResponse;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
14
|
+
import { MetadataResponseFromJSON, MetadataResponseToJSON, } from './MetadataResponse.js';
|
|
45
15
|
/**
|
|
46
16
|
* @export
|
|
47
17
|
*/
|
|
48
18
|
export const MetadataSuccessEnvelopeSuccessEnum = {
|
|
49
19
|
true: true
|
|
50
|
-
}
|
|
51
|
-
export type MetadataSuccessEnvelopeSuccessEnum = typeof MetadataSuccessEnvelopeSuccessEnum[keyof typeof MetadataSuccessEnvelopeSuccessEnum];
|
|
52
|
-
|
|
53
|
-
|
|
20
|
+
};
|
|
54
21
|
/**
|
|
55
22
|
* Check if a given object implements the MetadataSuccessEnvelope interface.
|
|
56
23
|
*/
|
|
57
|
-
export function instanceOfMetadataSuccessEnvelope(value
|
|
58
|
-
if (!('success' in value) || value['success'] === undefined)
|
|
59
|
-
|
|
24
|
+
export function instanceOfMetadataSuccessEnvelope(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 MetadataSuccessEnvelopeFromJSON(json: any): MetadataSuccessEnvelope {
|
|
31
|
+
export function MetadataSuccessEnvelopeFromJSON(json) {
|
|
64
32
|
return MetadataSuccessEnvelopeFromJSONTyped(json, false);
|
|
65
33
|
}
|
|
66
|
-
|
|
67
|
-
export function MetadataSuccessEnvelopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetadataSuccessEnvelope {
|
|
34
|
+
export function MetadataSuccessEnvelopeFromJSONTyped(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': MetadataResponseFromJSON(json['data']),
|
|
75
41
|
};
|
|
76
42
|
}
|
|
77
|
-
|
|
78
|
-
export function MetadataSuccessEnvelopeToJSON(json: any): MetadataSuccessEnvelope {
|
|
43
|
+
export function MetadataSuccessEnvelopeToJSON(json) {
|
|
79
44
|
return MetadataSuccessEnvelopeToJSONTyped(json, false);
|
|
80
45
|
}
|
|
81
|
-
|
|
82
|
-
export function MetadataSuccessEnvelopeToJSONTyped(value?: MetadataSuccessEnvelope | null, ignoreDiscriminator: boolean = false): any {
|
|
46
|
+
export function MetadataSuccessEnvelopeToJSONTyped(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': MetadataResponseToJSON(value['data']),
|
|
91
53
|
};
|
|
92
54
|
}
|
|
93
|
-
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { OptionSchema } from './OptionSchema.js';
|
|
13
|
+
/**
|
|
14
|
+
* MIME-group-specific option schema
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MimeGroupSchema
|
|
17
|
+
*/
|
|
18
|
+
export interface MimeGroupSchema {
|
|
19
|
+
/**
|
|
20
|
+
* List of MIME types in this group
|
|
21
|
+
* @type {Array<string>}
|
|
22
|
+
* @memberof MimeGroupSchema
|
|
23
|
+
*/
|
|
24
|
+
mimes: Array<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Options specific to this MIME group, keyed by option name
|
|
27
|
+
* @type {{ [key: string]: OptionSchema; }}
|
|
28
|
+
* @memberof MimeGroupSchema
|
|
29
|
+
*/
|
|
30
|
+
options: {
|
|
31
|
+
[key: string]: OptionSchema;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Per-input overrides for this MIME group, keyed by option name (multi-input only)
|
|
35
|
+
* @type {{ [key: string]: OptionSchema; }}
|
|
36
|
+
* @memberof MimeGroupSchema
|
|
37
|
+
*/
|
|
38
|
+
perInputOptions?: {
|
|
39
|
+
[key: string]: OptionSchema;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the MimeGroupSchema interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfMimeGroupSchema(value: object): value is MimeGroupSchema;
|
|
46
|
+
export declare function MimeGroupSchemaFromJSON(json: any): MimeGroupSchema;
|
|
47
|
+
export declare function MimeGroupSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): MimeGroupSchema;
|
|
48
|
+
export declare function MimeGroupSchemaToJSON(json: any): MimeGroupSchema;
|
|
49
|
+
export declare function MimeGroupSchemaToJSONTyped(value?: MimeGroupSchema | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -2,90 +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 {
|
|
16
|
-
import type { OptionSchema } from './OptionSchema';
|
|
17
|
-
import {
|
|
18
|
-
OptionSchemaFromJSON,
|
|
19
|
-
OptionSchemaFromJSONTyped,
|
|
20
|
-
OptionSchemaToJSON,
|
|
21
|
-
OptionSchemaToJSONTyped,
|
|
22
|
-
} from './OptionSchema';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* MIME-group-specific option schema
|
|
26
|
-
* @export
|
|
27
|
-
* @interface MimeGroupSchema
|
|
28
|
-
*/
|
|
29
|
-
export interface MimeGroupSchema {
|
|
30
|
-
/**
|
|
31
|
-
* List of MIME types in this group
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof MimeGroupSchema
|
|
34
|
-
*/
|
|
35
|
-
mimes: Array<string>;
|
|
36
|
-
/**
|
|
37
|
-
* Options specific to this MIME group, keyed by option name
|
|
38
|
-
* @type {{ [key: string]: OptionSchema; }}
|
|
39
|
-
* @memberof MimeGroupSchema
|
|
40
|
-
*/
|
|
41
|
-
options: { [key: string]: OptionSchema; };
|
|
42
|
-
/**
|
|
43
|
-
* Per-input overrides for this MIME group, keyed by option name (multi-input only)
|
|
44
|
-
* @type {{ [key: string]: OptionSchema; }}
|
|
45
|
-
* @memberof MimeGroupSchema
|
|
46
|
-
*/
|
|
47
|
-
perInputOptions?: { [key: string]: OptionSchema; };
|
|
48
|
-
}
|
|
49
|
-
|
|
14
|
+
import { mapValues } from '../runtime.js';
|
|
15
|
+
import { OptionSchemaFromJSON, OptionSchemaToJSON, } from './OptionSchema.js';
|
|
50
16
|
/**
|
|
51
17
|
* Check if a given object implements the MimeGroupSchema interface.
|
|
52
18
|
*/
|
|
53
|
-
export function instanceOfMimeGroupSchema(value
|
|
54
|
-
if (!('mimes' in value) || value['mimes'] === undefined)
|
|
55
|
-
|
|
19
|
+
export function instanceOfMimeGroupSchema(value) {
|
|
20
|
+
if (!('mimes' in value) || value['mimes'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('options' in value) || value['options'] === undefined)
|
|
23
|
+
return false;
|
|
56
24
|
return true;
|
|
57
25
|
}
|
|
58
|
-
|
|
59
|
-
export function MimeGroupSchemaFromJSON(json: any): MimeGroupSchema {
|
|
26
|
+
export function MimeGroupSchemaFromJSON(json) {
|
|
60
27
|
return MimeGroupSchemaFromJSONTyped(json, false);
|
|
61
28
|
}
|
|
62
|
-
|
|
63
|
-
export function MimeGroupSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): MimeGroupSchema {
|
|
29
|
+
export function MimeGroupSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
64
30
|
if (json == null) {
|
|
65
31
|
return json;
|
|
66
32
|
}
|
|
67
33
|
return {
|
|
68
|
-
|
|
69
34
|
'mimes': json['mimes'],
|
|
70
35
|
'options': (mapValues(json['options'], OptionSchemaFromJSON)),
|
|
71
36
|
'perInputOptions': json['per_input_options'] == null ? undefined : (mapValues(json['per_input_options'], OptionSchemaFromJSON)),
|
|
72
37
|
};
|
|
73
38
|
}
|
|
74
|
-
|
|
75
|
-
export function MimeGroupSchemaToJSON(json: any): MimeGroupSchema {
|
|
39
|
+
export function MimeGroupSchemaToJSON(json) {
|
|
76
40
|
return MimeGroupSchemaToJSONTyped(json, false);
|
|
77
41
|
}
|
|
78
|
-
|
|
79
|
-
export function MimeGroupSchemaToJSONTyped(value?: MimeGroupSchema | null, ignoreDiscriminator: boolean = false): any {
|
|
42
|
+
export function MimeGroupSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
80
43
|
if (value == null) {
|
|
81
44
|
return value;
|
|
82
45
|
}
|
|
83
|
-
|
|
84
46
|
return {
|
|
85
|
-
|
|
86
47
|
'mimes': value['mimes'],
|
|
87
48
|
'options': (mapValues(value['options'], OptionSchemaToJSON)),
|
|
88
49
|
'per_input_options': value['perInputOptions'] == null ? undefined : (mapValues(value['perInputOptions'], OptionSchemaToJSON)),
|
|
89
50
|
};
|
|
90
51
|
}
|
|
91
|
-
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { MultipartCompleteRequestPartsInner } from './MultipartCompleteRequestPartsInner.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MultipartCompleteRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface MultipartCompleteRequest {
|
|
19
|
+
/**
|
|
20
|
+
* UUID v7 format identifier (time-ordered)
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof MultipartCompleteRequest
|
|
23
|
+
*/
|
|
24
|
+
fileId: string;
|
|
25
|
+
/**
|
|
26
|
+
* ETags for parts 2 through total_parts, collected from S3 PUT responses.
|
|
27
|
+
* Part 1 ETag is already known from the initiate step.
|
|
28
|
+
*
|
|
29
|
+
* @type {Array<MultipartCompleteRequestPartsInner>}
|
|
30
|
+
* @memberof MultipartCompleteRequest
|
|
31
|
+
*/
|
|
32
|
+
parts: Array<MultipartCompleteRequestPartsInner>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the MultipartCompleteRequest interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfMultipartCompleteRequest(value: object): value is MultipartCompleteRequest;
|
|
38
|
+
export declare function MultipartCompleteRequestFromJSON(json: any): MultipartCompleteRequest;
|
|
39
|
+
export declare function MultipartCompleteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MultipartCompleteRequest;
|
|
40
|
+
export declare function MultipartCompleteRequestToJSON(json: any): MultipartCompleteRequest;
|
|
41
|
+
export declare function MultipartCompleteRequestToJSONTyped(value?: MultipartCompleteRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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, 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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0.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 { MultipartCompleteRequestPartsInnerFromJSON, MultipartCompleteRequestPartsInnerToJSON, } from './MultipartCompleteRequestPartsInner.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the MultipartCompleteRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfMultipartCompleteRequest(value) {
|
|
19
|
+
if (!('fileId' in value) || value['fileId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('parts' in value) || value['parts'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function MultipartCompleteRequestFromJSON(json) {
|
|
26
|
+
return MultipartCompleteRequestFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function MultipartCompleteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'fileId': json['file_id'],
|
|
34
|
+
'parts': (json['parts'].map(MultipartCompleteRequestPartsInnerFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function MultipartCompleteRequestToJSON(json) {
|
|
38
|
+
return MultipartCompleteRequestToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function MultipartCompleteRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'file_id': value['fileId'],
|
|
46
|
+
'parts': (value['parts'].map(MultipartCompleteRequestPartsInnerToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -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 MultipartCompleteRequestPartsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface MultipartCompleteRequestPartsInner {
|
|
18
|
+
/**
|
|
19
|
+
* S3 part number (must match presigned_urls part_number)
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MultipartCompleteRequestPartsInner
|
|
22
|
+
*/
|
|
23
|
+
partNumber: number;
|
|
24
|
+
/**
|
|
25
|
+
* ETag from S3 PUT response header
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MultipartCompleteRequestPartsInner
|
|
28
|
+
*/
|
|
29
|
+
etag: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the MultipartCompleteRequestPartsInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfMultipartCompleteRequestPartsInner(value: object): value is MultipartCompleteRequestPartsInner;
|
|
35
|
+
export declare function MultipartCompleteRequestPartsInnerFromJSON(json: any): MultipartCompleteRequestPartsInner;
|
|
36
|
+
export declare function MultipartCompleteRequestPartsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): MultipartCompleteRequestPartsInner;
|
|
37
|
+
export declare function MultipartCompleteRequestPartsInnerToJSON(json: any): MultipartCompleteRequestPartsInner;
|
|
38
|
+
export declare function MultipartCompleteRequestPartsInnerToJSONTyped(value?: MultipartCompleteRequestPartsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -2,74 +2,46 @@
|
|
|
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 MultipartCompleteRequestPartsInner
|
|
20
|
-
*/
|
|
21
|
-
export interface MultipartCompleteRequestPartsInner {
|
|
22
|
-
/**
|
|
23
|
-
* S3 part number (must match presigned_urls part_number)
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof MultipartCompleteRequestPartsInner
|
|
26
|
-
*/
|
|
27
|
-
partNumber: number;
|
|
28
|
-
/**
|
|
29
|
-
* ETag from S3 PUT response header
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof MultipartCompleteRequestPartsInner
|
|
32
|
-
*/
|
|
33
|
-
etag: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
14
|
/**
|
|
37
15
|
* Check if a given object implements the MultipartCompleteRequestPartsInner interface.
|
|
38
16
|
*/
|
|
39
|
-
export function instanceOfMultipartCompleteRequestPartsInner(value
|
|
40
|
-
if (!('partNumber' in value) || value['partNumber'] === undefined)
|
|
41
|
-
|
|
17
|
+
export function instanceOfMultipartCompleteRequestPartsInner(value) {
|
|
18
|
+
if (!('partNumber' in value) || value['partNumber'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('etag' in value) || value['etag'] === undefined)
|
|
21
|
+
return false;
|
|
42
22
|
return true;
|
|
43
23
|
}
|
|
44
|
-
|
|
45
|
-
export function MultipartCompleteRequestPartsInnerFromJSON(json: any): MultipartCompleteRequestPartsInner {
|
|
24
|
+
export function MultipartCompleteRequestPartsInnerFromJSON(json) {
|
|
46
25
|
return MultipartCompleteRequestPartsInnerFromJSONTyped(json, false);
|
|
47
26
|
}
|
|
48
|
-
|
|
49
|
-
export function MultipartCompleteRequestPartsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): MultipartCompleteRequestPartsInner {
|
|
27
|
+
export function MultipartCompleteRequestPartsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
28
|
if (json == null) {
|
|
51
29
|
return json;
|
|
52
30
|
}
|
|
53
31
|
return {
|
|
54
|
-
|
|
55
32
|
'partNumber': json['part_number'],
|
|
56
33
|
'etag': json['etag'],
|
|
57
34
|
};
|
|
58
35
|
}
|
|
59
|
-
|
|
60
|
-
export function MultipartCompleteRequestPartsInnerToJSON(json: any): MultipartCompleteRequestPartsInner {
|
|
36
|
+
export function MultipartCompleteRequestPartsInnerToJSON(json) {
|
|
61
37
|
return MultipartCompleteRequestPartsInnerToJSONTyped(json, false);
|
|
62
38
|
}
|
|
63
|
-
|
|
64
|
-
export function MultipartCompleteRequestPartsInnerToJSONTyped(value?: MultipartCompleteRequestPartsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
39
|
+
export function MultipartCompleteRequestPartsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
40
|
if (value == null) {
|
|
66
41
|
return value;
|
|
67
42
|
}
|
|
68
|
-
|
|
69
43
|
return {
|
|
70
|
-
|
|
71
44
|
'part_number': value['partNumber'],
|
|
72
45
|
'etag': value['etag'],
|
|
73
46
|
};
|
|
74
47
|
}
|
|
75
|
-
|