tuix-pdf-service-client 0.0.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/.openapi-generator/FILES +37 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +48 -0
- package/apis/ClientApi.js +571 -0
- package/apis/ClientApi.js.map +1 -0
- package/apis/ClientApi.ts +858 -0
- package/apis/index.js +20 -0
- package/apis/index.js.map +1 -0
- package/apis/index.ts +3 -0
- package/docs/APIKeyDTO.md +40 -0
- package/docs/AccountDTO.md +34 -0
- package/docs/ApplicationDTO.md +42 -0
- package/docs/ApplicationWithApplicationCountDTO.md +44 -0
- package/docs/ClientApi.md +1115 -0
- package/docs/CreateAPIKeyRequestDTO.md +34 -0
- package/docs/CreateAPIKeyResponseDTO.md +42 -0
- package/docs/CreateAccountDTO.md +36 -0
- package/docs/CreateApplicationDTO.md +36 -0
- package/docs/CreatePdfRequestDTO.md +34 -0
- package/docs/ErrorDTO.md +34 -0
- package/docs/GetAPIKeysResponseDTO.md +42 -0
- package/docs/PaginatedApplicationsDTO.md +42 -0
- package/docs/PdfCreatedRequestItemsDTO.md +40 -0
- package/docs/PdfTemplateDTO.md +36 -0
- package/docs/UpdateApplicationDTO.md +36 -0
- package/index.js +22 -0
- package/index.js.map +1 -0
- package/index.ts +5 -0
- package/models/APIKeyDTO.js +55 -0
- package/models/APIKeyDTO.js.map +1 -0
- package/models/APIKeyDTO.ts +89 -0
- package/models/AccountDTO.js +49 -0
- package/models/AccountDTO.js.map +1 -0
- package/models/AccountDTO.ts +65 -0
- package/models/ApplicationDTO.js +57 -0
- package/models/ApplicationDTO.js.map +1 -0
- package/models/ApplicationDTO.ts +97 -0
- package/models/ApplicationWithApplicationCountDTO.js +59 -0
- package/models/ApplicationWithApplicationCountDTO.js.map +1 -0
- package/models/ApplicationWithApplicationCountDTO.ts +105 -0
- package/models/CreateAPIKeyRequestDTO.js +51 -0
- package/models/CreateAPIKeyRequestDTO.js.map +1 -0
- package/models/CreateAPIKeyRequestDTO.ts +66 -0
- package/models/CreateAPIKeyResponseDTO.js +57 -0
- package/models/CreateAPIKeyResponseDTO.js.map +1 -0
- package/models/CreateAPIKeyResponseDTO.ts +97 -0
- package/models/CreateAccountDTO.js +55 -0
- package/models/CreateAccountDTO.js.map +1 -0
- package/models/CreateAccountDTO.ts +75 -0
- package/models/CreateApplicationDTO.js +55 -0
- package/models/CreateApplicationDTO.js.map +1 -0
- package/models/CreateApplicationDTO.ts +75 -0
- package/models/CreatePdfRequestDTO.js +52 -0
- package/models/CreatePdfRequestDTO.js.map +1 -0
- package/models/CreatePdfRequestDTO.ts +74 -0
- package/models/ErrorDTO.js +49 -0
- package/models/ErrorDTO.js.map +1 -0
- package/models/ErrorDTO.ts +65 -0
- package/models/GetAPIKeysResponseDTO.js +58 -0
- package/models/GetAPIKeysResponseDTO.js.map +1 -0
- package/models/GetAPIKeysResponseDTO.ts +105 -0
- package/models/PaginatedApplicationsDTO.js +68 -0
- package/models/PaginatedApplicationsDTO.js.map +1 -0
- package/models/PaginatedApplicationsDTO.ts +110 -0
- package/models/PdfCreatedRequestItemsDTO.js +63 -0
- package/models/PdfCreatedRequestItemsDTO.js.map +1 -0
- package/models/PdfCreatedRequestItemsDTO.ts +93 -0
- package/models/PdfTemplateDTO.js +53 -0
- package/models/PdfTemplateDTO.js.map +1 -0
- package/models/PdfTemplateDTO.ts +74 -0
- package/models/UpdateApplicationDTO.js +51 -0
- package/models/UpdateApplicationDTO.js.map +1 -0
- package/models/UpdateApplicationDTO.ts +73 -0
- package/models/index.js +34 -0
- package/models/index.js.map +1 -0
- package/models/index.ts +17 -0
- package/package.json +17 -0
- package/runtime.js +330 -0
- package/runtime.js.map +1 -0
- package/runtime.ts +432 -0
- package/tsconfig.build.tsbuildinfo +1 -0
|
@@ -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.instanceOfCreateAccountDTO = instanceOfCreateAccountDTO;
|
|
17
|
+
exports.CreateAccountDTOFromJSON = CreateAccountDTOFromJSON;
|
|
18
|
+
exports.CreateAccountDTOFromJSONTyped = CreateAccountDTOFromJSONTyped;
|
|
19
|
+
exports.CreateAccountDTOToJSON = CreateAccountDTOToJSON;
|
|
20
|
+
exports.CreateAccountDTOToJSONTyped = CreateAccountDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateAccountDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateAccountDTO(value) {
|
|
25
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CreateAccountDTOFromJSON(json) {
|
|
32
|
+
return CreateAccountDTOFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CreateAccountDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'firstName': json['firstName'],
|
|
40
|
+
'lastName': json['lastName'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CreateAccountDTOToJSON(json) {
|
|
44
|
+
return CreateAccountDTOToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CreateAccountDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'firstName': value['firstName'],
|
|
52
|
+
'lastName': value['lastName'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=CreateAccountDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateAccountDTO.js","sourceRoot":"","sources":["CreateAccountDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,gEAIC;AAED,4DAEC;AAED,sEASC;AAED,wDAEC;AAED,kEAUC;AAtCD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,KAAa;IACpD,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAS,EAAE,mBAA4B;IACjF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;KAC/B,CAAC;AACN,CAAC;AAED,SAAgB,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,SAAgB,2BAA2B,CAAC,KAA+B,EAAE,sBAA+B,KAAK;IAC7G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;KAChC,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 CreateAccountDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateAccountDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateAccountDTO
|
|
26
|
+
*/
|
|
27
|
+
firstName: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateAccountDTO
|
|
32
|
+
*/
|
|
33
|
+
lastName: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the CreateAccountDTO interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfCreateAccountDTO(value: object): value is CreateAccountDTO {
|
|
40
|
+
if (!('firstName' in value) || value['firstName'] === undefined) return false;
|
|
41
|
+
if (!('lastName' in value) || value['lastName'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function CreateAccountDTOFromJSON(json: any): CreateAccountDTO {
|
|
46
|
+
return CreateAccountDTOFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function CreateAccountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAccountDTO {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'firstName': json['firstName'],
|
|
56
|
+
'lastName': json['lastName'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function CreateAccountDTOToJSON(json: any): CreateAccountDTO {
|
|
61
|
+
return CreateAccountDTOToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function CreateAccountDTOToJSONTyped(value?: CreateAccountDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'firstName': value['firstName'],
|
|
72
|
+
'lastName': value['lastName'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -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.instanceOfCreateApplicationDTO = instanceOfCreateApplicationDTO;
|
|
17
|
+
exports.CreateApplicationDTOFromJSON = CreateApplicationDTOFromJSON;
|
|
18
|
+
exports.CreateApplicationDTOFromJSONTyped = CreateApplicationDTOFromJSONTyped;
|
|
19
|
+
exports.CreateApplicationDTOToJSON = CreateApplicationDTOToJSON;
|
|
20
|
+
exports.CreateApplicationDTOToJSONTyped = CreateApplicationDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateApplicationDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateApplicationDTO(value) {
|
|
25
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CreateApplicationDTOFromJSON(json) {
|
|
32
|
+
return CreateApplicationDTOFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CreateApplicationDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'description': json['description'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CreateApplicationDTOToJSON(json) {
|
|
44
|
+
return CreateApplicationDTOToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CreateApplicationDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'description': value['description'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=CreateApplicationDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateApplicationDTO.js","sourceRoot":"","sources":["CreateApplicationDTO.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|
|
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 CreateApplicationDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateApplicationDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateApplicationDTO
|
|
26
|
+
*/
|
|
27
|
+
description: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateApplicationDTO
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the CreateApplicationDTO interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfCreateApplicationDTO(value: object): value is CreateApplicationDTO {
|
|
40
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
41
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function CreateApplicationDTOFromJSON(json: any): CreateApplicationDTO {
|
|
46
|
+
return CreateApplicationDTOFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function CreateApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateApplicationDTO {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'description': json['description'],
|
|
56
|
+
'name': json['name'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function CreateApplicationDTOToJSON(json: any): CreateApplicationDTO {
|
|
61
|
+
return CreateApplicationDTOToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function CreateApplicationDTOToJSONTyped(value?: CreateApplicationDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'description': value['description'],
|
|
72
|
+
'name': value['name'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfCreatePdfRequestDTO = instanceOfCreatePdfRequestDTO;
|
|
17
|
+
exports.CreatePdfRequestDTOFromJSON = CreatePdfRequestDTOFromJSON;
|
|
18
|
+
exports.CreatePdfRequestDTOFromJSONTyped = CreatePdfRequestDTOFromJSONTyped;
|
|
19
|
+
exports.CreatePdfRequestDTOToJSON = CreatePdfRequestDTOToJSON;
|
|
20
|
+
exports.CreatePdfRequestDTOToJSONTyped = CreatePdfRequestDTOToJSONTyped;
|
|
21
|
+
const PdfCreatedRequestItemsDTO_1 = require("./PdfCreatedRequestItemsDTO");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreatePdfRequestDTO interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreatePdfRequestDTO(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function CreatePdfRequestDTOFromJSON(json) {
|
|
31
|
+
return CreatePdfRequestDTOFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function CreatePdfRequestDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'items': (json['items'].map(PdfCreatedRequestItemsDTO_1.PdfCreatedRequestItemsDTOFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function CreatePdfRequestDTOToJSON(json) {
|
|
42
|
+
return CreatePdfRequestDTOToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CreatePdfRequestDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'items': (value['items'].map(PdfCreatedRequestItemsDTO_1.PdfCreatedRequestItemsDTOToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=CreatePdfRequestDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreatePdfRequestDTO.js","sourceRoot":"","sources":["CreatePdfRequestDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4BH,sEAGC;AAED,kEAEC;AAED,4EAQC;AAED,8DAEC;AAED,wEASC;AAxDD,2EAKqC;AAgBrC;;GAEG;AACH,SAAgB,6BAA6B,CAAC,KAAa;IACvD,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS,EAAE,mBAA4B;IACpF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,CAAE,IAAI,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,6DAAiC,CAAC,CAAC;KAClF,CAAC;AACN,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAAC,KAAkC,EAAE,sBAA+B,KAAK;IACnH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,CAAE,KAAK,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,2DAA+B,CAAC,CAAC;KACjF,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
import type { PdfCreatedRequestItemsDTO } from './PdfCreatedRequestItemsDTO';
|
|
17
|
+
import {
|
|
18
|
+
PdfCreatedRequestItemsDTOFromJSON,
|
|
19
|
+
PdfCreatedRequestItemsDTOFromJSONTyped,
|
|
20
|
+
PdfCreatedRequestItemsDTOToJSON,
|
|
21
|
+
PdfCreatedRequestItemsDTOToJSONTyped,
|
|
22
|
+
} from './PdfCreatedRequestItemsDTO';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface CreatePdfRequestDTO
|
|
28
|
+
*/
|
|
29
|
+
export interface CreatePdfRequestDTO {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<PdfCreatedRequestItemsDTO>}
|
|
33
|
+
* @memberof CreatePdfRequestDTO
|
|
34
|
+
*/
|
|
35
|
+
items: Array<PdfCreatedRequestItemsDTO>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the CreatePdfRequestDTO interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfCreatePdfRequestDTO(value: object): value is CreatePdfRequestDTO {
|
|
42
|
+
if (!('items' in value) || value['items'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function CreatePdfRequestDTOFromJSON(json: any): CreatePdfRequestDTO {
|
|
47
|
+
return CreatePdfRequestDTOFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function CreatePdfRequestDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePdfRequestDTO {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'items': ((json['items'] as Array<any>).map(PdfCreatedRequestItemsDTOFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function CreatePdfRequestDTOToJSON(json: any): CreatePdfRequestDTO {
|
|
61
|
+
return CreatePdfRequestDTOToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function CreatePdfRequestDTOToJSONTyped(value?: CreatePdfRequestDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'items': ((value['items'] as Array<any>).map(PdfCreatedRequestItemsDTOToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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.instanceOfErrorDTO = instanceOfErrorDTO;
|
|
17
|
+
exports.ErrorDTOFromJSON = ErrorDTOFromJSON;
|
|
18
|
+
exports.ErrorDTOFromJSONTyped = ErrorDTOFromJSONTyped;
|
|
19
|
+
exports.ErrorDTOToJSON = ErrorDTOToJSON;
|
|
20
|
+
exports.ErrorDTOToJSONTyped = ErrorDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ErrorDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfErrorDTO(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ErrorDTOFromJSON(json) {
|
|
28
|
+
return ErrorDTOFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ErrorDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function ErrorDTOToJSON(json) {
|
|
39
|
+
return ErrorDTOToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function ErrorDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'message': value['message'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=ErrorDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorDTO.js","sourceRoot":"","sources":["ErrorDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoBH,gDAEC;AAED,4CAEC;AAED,sDAQC;AAED,wCAEC;AAED,kDASC;AAlCD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,KAAa;IAC5C,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,gBAAgB,CAAC,IAAS;IACtC,OAAO,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9C,CAAC;AAED,SAAgB,qBAAqB,CAAC,IAAS,EAAE,mBAA4B;IACzE,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;KACnE,CAAC;AACN,CAAC;AAED,SAAgB,cAAc,CAAC,IAAS;IACpC,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAED,SAAgB,mBAAmB,CAAC,KAAuB,EAAE,sBAA+B,KAAK;IAC7F,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;KAC9B,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 ErrorDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface ErrorDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ErrorDTO
|
|
26
|
+
*/
|
|
27
|
+
message?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ErrorDTO interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfErrorDTO(value: object): value is ErrorDTO {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function ErrorDTOFromJSON(json: any): ErrorDTO {
|
|
38
|
+
return ErrorDTOFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function ErrorDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDTO {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function ErrorDTOToJSON(json: any): ErrorDTO {
|
|
52
|
+
return ErrorDTOToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ErrorDTOToJSONTyped(value?: ErrorDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'message': value['message'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfGetAPIKeysResponseDTO = instanceOfGetAPIKeysResponseDTO;
|
|
17
|
+
exports.GetAPIKeysResponseDTOFromJSON = GetAPIKeysResponseDTOFromJSON;
|
|
18
|
+
exports.GetAPIKeysResponseDTOFromJSONTyped = GetAPIKeysResponseDTOFromJSONTyped;
|
|
19
|
+
exports.GetAPIKeysResponseDTOToJSON = GetAPIKeysResponseDTOToJSON;
|
|
20
|
+
exports.GetAPIKeysResponseDTOToJSONTyped = GetAPIKeysResponseDTOToJSONTyped;
|
|
21
|
+
const APIKeyDTO_1 = require("./APIKeyDTO");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetAPIKeysResponseDTO interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGetAPIKeysResponseDTO(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function GetAPIKeysResponseDTOFromJSON(json) {
|
|
29
|
+
return GetAPIKeysResponseDTOFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function GetAPIKeysResponseDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'items': json['items'] == null ? undefined : (json['items'].map(APIKeyDTO_1.APIKeyDTOFromJSON)),
|
|
37
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
38
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
39
|
+
'totalItems': json['totalItems'] == null ? undefined : json['totalItems'],
|
|
40
|
+
'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GetAPIKeysResponseDTOToJSON(json) {
|
|
44
|
+
return GetAPIKeysResponseDTOToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetAPIKeysResponseDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'items': value['items'] == null ? undefined : (value['items'].map(APIKeyDTO_1.APIKeyDTOToJSON)),
|
|
52
|
+
'page': value['page'],
|
|
53
|
+
'pageSize': value['pageSize'],
|
|
54
|
+
'totalItems': value['totalItems'],
|
|
55
|
+
'totalPages': value['totalPages'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=GetAPIKeysResponseDTO.js.map
|
|
@@ -0,0 +1 @@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