tuix-pdf-service-client 0.0.37 → 0.0.39
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/.openapi-generator/FILES +2 -0
- package/docs/ClientApi.md +0 -16
- package/docs/ImagePayloadDTO.md +36 -0
- package/docs/PdfCreatedRequestItemsDTO.md +2 -0
- package/models/ImagePayloadDTO.js +55 -0
- package/models/ImagePayloadDTO.js.map +1 -0
- package/models/ImagePayloadDTO.ts +75 -0
- package/models/PdfCreatedRequestItemsDTO.js +3 -0
- package/models/PdfCreatedRequestItemsDTO.js.map +1 -1
- package/models/PdfCreatedRequestItemsDTO.ts +16 -0
- package/models/index.js +1 -0
- package/models/index.js.map +1 -1
- package/models/index.ts +1 -0
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -15,6 +15,7 @@ docs/CreatePdfResponseDTO.md
|
|
|
15
15
|
docs/ErrorDTO.md
|
|
16
16
|
docs/GeneratePdfOutputDTO.md
|
|
17
17
|
docs/GetAPIKeysResponseDTO.md
|
|
18
|
+
docs/ImagePayloadDTO.md
|
|
18
19
|
docs/PaginatedApplicationsDTO.md
|
|
19
20
|
docs/PaginatedPdfTemplateDTO.md
|
|
20
21
|
docs/PdfCreatedRequestItemsDTO.md
|
|
@@ -34,6 +35,7 @@ models/CreatePdfResponseDTO.ts
|
|
|
34
35
|
models/ErrorDTO.ts
|
|
35
36
|
models/GeneratePdfOutputDTO.ts
|
|
36
37
|
models/GetAPIKeysResponseDTO.ts
|
|
38
|
+
models/ImagePayloadDTO.ts
|
|
37
39
|
models/PaginatedApplicationsDTO.ts
|
|
38
40
|
models/PaginatedPdfTemplateDTO.ts
|
|
39
41
|
models/PdfCreatedRequestItemsDTO.ts
|
package/docs/ClientApi.md
CHANGED
|
@@ -94,7 +94,6 @@ example().catch(console.error);
|
|
|
94
94
|
|-------------|-------------|------------------|
|
|
95
95
|
| **201** | Return the created PDF files details | - |
|
|
96
96
|
| **400** | Return an error if the file is not attached or it is invalid | - |
|
|
97
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
98
97
|
| **500** | Return an error if there is an internal server error | - |
|
|
99
98
|
|
|
100
99
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -171,7 +170,6 @@ example().catch(console.error);
|
|
|
171
170
|
|-------------|-------------|------------------|
|
|
172
171
|
| **200** | Returns a paginated list of API keys | - |
|
|
173
172
|
| **401** | Unauthorized | - |
|
|
174
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
175
173
|
| **500** | Internal server error: Failed to retrieve API keys | - |
|
|
176
174
|
|
|
177
175
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -246,7 +244,6 @@ example().catch(console.error);
|
|
|
246
244
|
| **204** | API key deleted successfully | - |
|
|
247
245
|
| **400** | Invalid key ID format | - |
|
|
248
246
|
| **401** | Unauthorized | - |
|
|
249
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
250
247
|
| **404** | API key not found | - |
|
|
251
248
|
| **500** | Internal server error: Failed to delete API key | - |
|
|
252
249
|
|
|
@@ -322,7 +319,6 @@ example().catch(console.error);
|
|
|
322
319
|
| **201** | Create an API key and returns the created key | - |
|
|
323
320
|
| **400** | Invalid request format | - |
|
|
324
321
|
| **401** | Unauthorized | - |
|
|
325
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
326
322
|
| **500** | Server Error: Failed to create API key | - |
|
|
327
323
|
|
|
328
324
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -397,7 +393,6 @@ example().catch(console.error);
|
|
|
397
393
|
| **201** | Create an account and returns the created account | - |
|
|
398
394
|
| **400** | Return an error if there is a missing or invalid field | - |
|
|
399
395
|
| **401** | Return an error if the user is not authenticated | - |
|
|
400
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
401
396
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
402
397
|
| **500** | Return an error if the server finds an error | - |
|
|
403
398
|
|
|
@@ -473,7 +468,6 @@ example().catch(console.error);
|
|
|
473
468
|
| **201** | Create a application and returns the created application | - |
|
|
474
469
|
| **400** | Return an error if there is a missing or invalid field | - |
|
|
475
470
|
| **401** | Return an error if the user is not authenticated | - |
|
|
476
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
477
471
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
478
472
|
| **500** | Return an error if the server founds an error | - |
|
|
479
473
|
|
|
@@ -551,7 +545,6 @@ example().catch(console.error);
|
|
|
551
545
|
|-------------|-------------|------------------|
|
|
552
546
|
| **201** | Return the created PDF files details | - |
|
|
553
547
|
| **400** | Return an error if the file is not attached or it is invalid | - |
|
|
554
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
555
548
|
| **500** | Return an error if there is an internal server error | - |
|
|
556
549
|
|
|
557
550
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -626,7 +619,6 @@ example().catch(console.error);
|
|
|
626
619
|
| **204** | Application deleted | - |
|
|
627
620
|
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
628
621
|
| **401** | Return an error if the user is not authenticated | - |
|
|
629
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
630
622
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
631
623
|
| **500** | Return an error if the server founds an error | - |
|
|
632
624
|
|
|
@@ -705,7 +697,6 @@ example().catch(console.error);
|
|
|
705
697
|
| **204** | Template deleted successfully | - |
|
|
706
698
|
| **400** | Return an error if there is a missing or invalid field | - |
|
|
707
699
|
| **401** | Return an error if the user is not authorized | - |
|
|
708
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
709
700
|
| **404** | Return an error if pdf template not found | - |
|
|
710
701
|
| **500** | Return an error if an internal error occurs | - |
|
|
711
702
|
|
|
@@ -781,7 +772,6 @@ example().catch(console.error);
|
|
|
781
772
|
| **200** | Return an application | - |
|
|
782
773
|
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
783
774
|
| **401** | Return an error if the user is not authenticated | - |
|
|
784
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
785
775
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
786
776
|
| **404** | Return an error if the application is not found | - |
|
|
787
777
|
| **500** | Return an error if the server founds an error | - |
|
|
@@ -870,7 +860,6 @@ example().catch(console.error);
|
|
|
870
860
|
| **200** | Return a list of applications | - |
|
|
871
861
|
| **400** | Return an error if sortBy or sortDirection is invalid | - |
|
|
872
862
|
| **401** | Return an error if the user is not authenticated | - |
|
|
873
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
874
863
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
875
864
|
| **500** | Return an error if the server founds an error | - |
|
|
876
865
|
|
|
@@ -948,7 +937,6 @@ example().catch(console.error);
|
|
|
948
937
|
|-------------|-------------|------------------|
|
|
949
938
|
| **200** | Return html template | - |
|
|
950
939
|
| **400** | Return an error if the template id is invalid | - |
|
|
951
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
952
940
|
| **404** | Return an error if the template is not found | - |
|
|
953
941
|
| **500** | Return an error if there is an internal server error | - |
|
|
954
942
|
|
|
@@ -1039,7 +1027,6 @@ example().catch(console.error);
|
|
|
1039
1027
|
| **200** | Return all templates | - |
|
|
1040
1028
|
| **400** | Return an error if sortBy or sortDirection is invalid | - |
|
|
1041
1029
|
| **401** | Return an error if the user is not authorized | - |
|
|
1042
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
1043
1030
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
1044
1031
|
| **500** | Return an error if there is an internal server error | - |
|
|
1045
1032
|
|
|
@@ -1118,7 +1105,6 @@ example().catch(console.error);
|
|
|
1118
1105
|
| **200** | Updates an application and return an updated application if the ID exists | - |
|
|
1119
1106
|
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
1120
1107
|
| **401** | Return an error if the user is not authenticated | - |
|
|
1121
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
1122
1108
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
1123
1109
|
| **404** | Return an error if the application is not found | - |
|
|
1124
1110
|
| **500** | Return an error if the server founds an error | - |
|
|
@@ -1203,7 +1189,6 @@ example().catch(console.error);
|
|
|
1203
1189
|
|-------------|-------------|------------------|
|
|
1204
1190
|
| **201** | Return the uploaded template details | - |
|
|
1205
1191
|
| **400** | Return an error if the file is not attached or it is invalid | - |
|
|
1206
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
1207
1192
|
| **500** | Return an error if there is an internal server error | - |
|
|
1208
1193
|
|
|
1209
1194
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -1283,7 +1268,6 @@ example().catch(console.error);
|
|
|
1283
1268
|
|-------------|-------------|------------------|
|
|
1284
1269
|
| **201** | Return the uploaded template details | - |
|
|
1285
1270
|
| **400** | Return an error if the file is not attached or it is invalid | - |
|
|
1286
|
-
| **402** | Return an error if the trial access has expired | - |
|
|
1287
1271
|
| **500** | Return an error if there is an internal server error | - |
|
|
1288
1272
|
|
|
1289
1273
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# ImagePayloadDTO
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`key` | string
|
|
10
|
+
`value` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { ImagePayloadDTO } from ''
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"key": null,
|
|
20
|
+
"value": null,
|
|
21
|
+
} satisfies ImagePayloadDTO
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as ImagePayloadDTO
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -8,6 +8,7 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`data` | { [key: string]: any; }
|
|
10
10
|
`id` | string
|
|
11
|
+
`imagesPayload` | [Array<ImagePayloadDTO>](ImagePayloadDTO.md)
|
|
11
12
|
`templateId` | string
|
|
12
13
|
|
|
13
14
|
## Example
|
|
@@ -19,6 +20,7 @@ import type { PdfCreatedRequestItemsDTO } from ''
|
|
|
19
20
|
const example = {
|
|
20
21
|
"data": null,
|
|
21
22
|
"id": null,
|
|
23
|
+
"imagesPayload": null,
|
|
22
24
|
"templateId": null,
|
|
23
25
|
} satisfies PdfCreatedRequestItemsDTO
|
|
24
26
|
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tuix Pdf Service
|
|
6
|
+
* Service to generate pdfs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfImagePayloadDTO = instanceOfImagePayloadDTO;
|
|
17
|
+
exports.ImagePayloadDTOFromJSON = ImagePayloadDTOFromJSON;
|
|
18
|
+
exports.ImagePayloadDTOFromJSONTyped = ImagePayloadDTOFromJSONTyped;
|
|
19
|
+
exports.ImagePayloadDTOToJSON = ImagePayloadDTOToJSON;
|
|
20
|
+
exports.ImagePayloadDTOToJSONTyped = ImagePayloadDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ImagePayloadDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfImagePayloadDTO(value) {
|
|
25
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ImagePayloadDTOFromJSON(json) {
|
|
32
|
+
return ImagePayloadDTOFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ImagePayloadDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'key': json['key'],
|
|
40
|
+
'value': json['value'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ImagePayloadDTOToJSON(json) {
|
|
44
|
+
return ImagePayloadDTOToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ImagePayloadDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'key': value['key'],
|
|
52
|
+
'value': value['value'],
|
|
53
|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;QACnB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tuix Pdf Service
|
|
5
|
+
* Service to generate pdfs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ImagePayloadDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface ImagePayloadDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ImagePayloadDTO
|
|
26
|
+
*/
|
|
27
|
+
key: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ImagePayloadDTO
|
|
32
|
+
*/
|
|
33
|
+
value: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ImagePayloadDTO interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfImagePayloadDTO(value: object): value is ImagePayloadDTO {
|
|
40
|
+
if (!('key' in value) || value['key'] === undefined) return false;
|
|
41
|
+
if (!('value' in value) || value['value'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ImagePayloadDTOFromJSON(json: any): ImagePayloadDTO {
|
|
46
|
+
return ImagePayloadDTOFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ImagePayloadDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImagePayloadDTO {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'key': json['key'],
|
|
56
|
+
'value': json['value'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ImagePayloadDTOToJSON(json: any): ImagePayloadDTO {
|
|
61
|
+
return ImagePayloadDTOToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ImagePayloadDTOToJSONTyped(value?: ImagePayloadDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'key': value['key'],
|
|
72
|
+
'value': value['value'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -18,6 +18,7 @@ exports.PdfCreatedRequestItemsDTOFromJSON = PdfCreatedRequestItemsDTOFromJSON;
|
|
|
18
18
|
exports.PdfCreatedRequestItemsDTOFromJSONTyped = PdfCreatedRequestItemsDTOFromJSONTyped;
|
|
19
19
|
exports.PdfCreatedRequestItemsDTOToJSON = PdfCreatedRequestItemsDTOToJSON;
|
|
20
20
|
exports.PdfCreatedRequestItemsDTOToJSONTyped = PdfCreatedRequestItemsDTOToJSONTyped;
|
|
21
|
+
const ImagePayloadDTO_1 = require("./ImagePayloadDTO");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the PdfCreatedRequestItemsDTO interface.
|
|
23
24
|
*/
|
|
@@ -40,6 +41,7 @@ function PdfCreatedRequestItemsDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
41
|
return {
|
|
41
42
|
'data': json['data'],
|
|
42
43
|
'id': json['id'],
|
|
44
|
+
'imagesPayload': json['imagesPayload'] == null ? undefined : (json['imagesPayload'].map(ImagePayloadDTO_1.ImagePayloadDTOFromJSON)),
|
|
43
45
|
'templateId': json['templateId'],
|
|
44
46
|
};
|
|
45
47
|
}
|
|
@@ -53,6 +55,7 @@ function PdfCreatedRequestItemsDTOToJSONTyped(value, ignoreDiscriminator = false
|
|
|
53
55
|
return {
|
|
54
56
|
'data': value['data'],
|
|
55
57
|
'id': value['id'],
|
|
58
|
+
'imagesPayload': value['imagesPayload'] == null ? undefined : (value['imagesPayload'].map(ImagePayloadDTO_1.ImagePayloadDTOToJSON)),
|
|
56
59
|
'templateId': value['templateId'],
|
|
57
60
|
};
|
|
58
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfCreatedRequestItemsDTO.js","sourceRoot":"","sources":["PdfCreatedRequestItemsDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"PdfCreatedRequestItemsDTO.js","sourceRoot":"","sources":["PdfCreatedRequestItemsDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA8CH,kFAKC;AAED,8EAEC;AAED,wFAWC;AAED,0EAEC;AAED,oFAYC;AAlFD,uDAK2B;AAkC3B;;GAEG;AACH,SAAgB,mCAAmC,CAAC,KAAa;IAC7D,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,iCAAi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|
17
|
+
import {
|
|
18
|
+
ImagePayloadDTOFromJSON,
|
|
19
|
+
ImagePayloadDTOFromJSONTyped,
|
|
20
|
+
ImagePayloadDTOToJSON,
|
|
21
|
+
ImagePayloadDTOToJSONTyped,
|
|
22
|
+
} from './ImagePayloadDTO';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -31,6 +39,12 @@ export interface PdfCreatedRequestItemsDTO {
|
|
|
31
39
|
* @memberof PdfCreatedRequestItemsDTO
|
|
32
40
|
*/
|
|
33
41
|
id: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<ImagePayloadDTO>}
|
|
45
|
+
* @memberof PdfCreatedRequestItemsDTO
|
|
46
|
+
*/
|
|
47
|
+
imagesPayload?: Array<ImagePayloadDTO>;
|
|
34
48
|
/**
|
|
35
49
|
*
|
|
36
50
|
* @type {string}
|
|
@@ -61,6 +75,7 @@ export function PdfCreatedRequestItemsDTOFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
61
75
|
|
|
62
76
|
'data': json['data'],
|
|
63
77
|
'id': json['id'],
|
|
78
|
+
'imagesPayload': json['imagesPayload'] == null ? undefined : ((json['imagesPayload'] as Array<any>).map(ImagePayloadDTOFromJSON)),
|
|
64
79
|
'templateId': json['templateId'],
|
|
65
80
|
};
|
|
66
81
|
}
|
|
@@ -78,6 +93,7 @@ export function PdfCreatedRequestItemsDTOToJSONTyped(value?: PdfCreatedRequestIt
|
|
|
78
93
|
|
|
79
94
|
'data': value['data'],
|
|
80
95
|
'id': value['id'],
|
|
96
|
+
'imagesPayload': value['imagesPayload'] == null ? undefined : ((value['imagesPayload'] as Array<any>).map(ImagePayloadDTOToJSON)),
|
|
81
97
|
'templateId': value['templateId'],
|
|
82
98
|
};
|
|
83
99
|
}
|
package/models/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __exportStar(require("./CreatePdfResponseDTO"), exports);
|
|
|
29
29
|
__exportStar(require("./ErrorDTO"), exports);
|
|
30
30
|
__exportStar(require("./GeneratePdfOutputDTO"), exports);
|
|
31
31
|
__exportStar(require("./GetAPIKeysResponseDTO"), exports);
|
|
32
|
+
__exportStar(require("./ImagePayloadDTO"), exports);
|
|
32
33
|
__exportStar(require("./PaginatedApplicationsDTO"), exports);
|
|
33
34
|
__exportStar(require("./PaginatedPdfTemplateDTO"), exports);
|
|
34
35
|
__exportStar(require("./PdfCreatedRequestItemsDTO"), exports);
|
package/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8CAA4B;AAC5B,+CAA6B;AAC7B,mDAAiC;AACjC,uEAAqD;AACrD,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,yDAAuC;AACvC,wDAAsC;AACtC,yDAAuC;AACvC,6CAA2B;AAC3B,yDAAuC;AACvC,0DAAwC;AACxC,6DAA2C;AAC3C,4DAA0C;AAC1C,8DAA4C;AAC5C,mDAAiC;AACjC,yDAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8CAA4B;AAC5B,+CAA6B;AAC7B,mDAAiC;AACjC,uEAAqD;AACrD,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,yDAAuC;AACvC,wDAAsC;AACtC,yDAAuC;AACvC,6CAA2B;AAC3B,yDAAuC;AACvC,0DAAwC;AACxC,oDAAkC;AAClC,6DAA2C;AAC3C,4DAA0C;AAC1C,8DAA4C;AAC5C,mDAAiC;AACjC,yDAAuC"}
|
package/models/index.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './CreatePdfResponseDTO';
|
|
|
13
13
|
export * from './ErrorDTO';
|
|
14
14
|
export * from './GeneratePdfOutputDTO';
|
|
15
15
|
export * from './GetAPIKeysResponseDTO';
|
|
16
|
+
export * from './ImagePayloadDTO';
|
|
16
17
|
export * from './PaginatedApplicationsDTO';
|
|
17
18
|
export * from './PaginatedPdfTemplateDTO';
|
|
18
19
|
export * from './PdfCreatedRequestItemsDTO';
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./index.ts","./runtime.ts","./apis/ClientApi.ts","./apis/index.ts","./models/APIKeyDTO.ts","./models/AccountDTO.ts","./models/ApplicationDTO.ts","./models/ApplicationWithApplicationCountDTO.ts","./models/CreateAPIKeyRequestDTO.ts","./models/CreateAPIKeyResponseDTO.ts","./models/CreateAccountDTO.ts","./models/CreateApplicationDTO.ts","./models/CreatePdfRequestDTO.ts","./models/CreatePdfResponseDTO.ts","./models/ErrorDTO.ts","./models/GeneratePdfOutputDTO.ts","./models/GetAPIKeysResponseDTO.ts","./models/PaginatedApplicationsDTO.ts","./models/PaginatedPdfTemplateDTO.ts","./models/PdfCreatedRequestItemsDTO.ts","./models/PdfTemplateDTO.ts","./models/UpdateApplicationDTO.ts","./models/index.ts"],"version":"5.9.3"}
|
|
1
|
+
{"root":["./index.ts","./runtime.ts","./apis/ClientApi.ts","./apis/index.ts","./models/APIKeyDTO.ts","./models/AccountDTO.ts","./models/ApplicationDTO.ts","./models/ApplicationWithApplicationCountDTO.ts","./models/CreateAPIKeyRequestDTO.ts","./models/CreateAPIKeyResponseDTO.ts","./models/CreateAccountDTO.ts","./models/CreateApplicationDTO.ts","./models/CreatePdfRequestDTO.ts","./models/CreatePdfResponseDTO.ts","./models/ErrorDTO.ts","./models/GeneratePdfOutputDTO.ts","./models/GetAPIKeysResponseDTO.ts","./models/ImagePayloadDTO.ts","./models/PaginatedApplicationsDTO.ts","./models/PaginatedPdfTemplateDTO.ts","./models/PdfCreatedRequestItemsDTO.ts","./models/PdfTemplateDTO.ts","./models/UpdateApplicationDTO.ts","./models/index.ts"],"version":"5.9.3"}
|