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,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 AccountDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface AccountDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AccountDTO
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AccountDTO interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfAccountDTO(value: object): value is AccountDTO {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function AccountDTOFromJSON(json: any): AccountDTO {
|
|
38
|
+
return AccountDTOFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function AccountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountDTO {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function AccountDTOToJSON(json: any): AccountDTO {
|
|
52
|
+
return AccountDTOToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function AccountDTOToJSONTyped(value?: AccountDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'id': value['id'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfApplicationDTO = instanceOfApplicationDTO;
|
|
17
|
+
exports.ApplicationDTOFromJSON = ApplicationDTOFromJSON;
|
|
18
|
+
exports.ApplicationDTOFromJSONTyped = ApplicationDTOFromJSONTyped;
|
|
19
|
+
exports.ApplicationDTOToJSON = ApplicationDTOToJSON;
|
|
20
|
+
exports.ApplicationDTOToJSONTyped = ApplicationDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApplicationDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApplicationDTO(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ApplicationDTOFromJSON(json) {
|
|
28
|
+
return ApplicationDTOFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ApplicationDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'accountId': json['accountId'] == null ? undefined : json['accountId'],
|
|
36
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
37
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
38
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
39
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function ApplicationDTOToJSON(json) {
|
|
43
|
+
return ApplicationDTOToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ApplicationDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'accountId': value['accountId'],
|
|
51
|
+
'createdAt': value['createdAt'],
|
|
52
|
+
'description': value['description'],
|
|
53
|
+
'id': value['id'],
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=ApplicationDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationDTO.js","sourceRoot":"","sources":["ApplicationDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4CH,4DAEC;AAED,wDAEC;AAED,kEAYC;AAED,oDAEC;AAED,8DAaC;AA1CD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,KAAa;IAClD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,SAAgB,2BAA2B,CAAC,IAAS,EAAE,mBAA4B;IAC/E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QACjD,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;KAC1D,CAAC;AACN,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,yBAAyB,CAAC,KAA6B,EAAE,sBAA+B,KAAK;IACzG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
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 ApplicationDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface ApplicationDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApplicationDTO
|
|
26
|
+
*/
|
|
27
|
+
accountId?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApplicationDTO
|
|
32
|
+
*/
|
|
33
|
+
createdAt?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApplicationDTO
|
|
38
|
+
*/
|
|
39
|
+
description?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApplicationDTO
|
|
44
|
+
*/
|
|
45
|
+
id?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ApplicationDTO
|
|
50
|
+
*/
|
|
51
|
+
name?: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the ApplicationDTO interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfApplicationDTO(value: object): value is ApplicationDTO {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function ApplicationDTOFromJSON(json: any): ApplicationDTO {
|
|
62
|
+
return ApplicationDTOFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function ApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationDTO {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'accountId': json['accountId'] == null ? undefined : json['accountId'],
|
|
72
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
73
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
74
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
75
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function ApplicationDTOToJSON(json: any): ApplicationDTO {
|
|
80
|
+
return ApplicationDTOToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApplicationDTOToJSONTyped(value?: ApplicationDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'accountId': value['accountId'],
|
|
91
|
+
'createdAt': value['createdAt'],
|
|
92
|
+
'description': value['description'],
|
|
93
|
+
'id': value['id'],
|
|
94
|
+
'name': value['name'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfApplicationWithApplicationCountDTO = instanceOfApplicationWithApplicationCountDTO;
|
|
17
|
+
exports.ApplicationWithApplicationCountDTOFromJSON = ApplicationWithApplicationCountDTOFromJSON;
|
|
18
|
+
exports.ApplicationWithApplicationCountDTOFromJSONTyped = ApplicationWithApplicationCountDTOFromJSONTyped;
|
|
19
|
+
exports.ApplicationWithApplicationCountDTOToJSON = ApplicationWithApplicationCountDTOToJSON;
|
|
20
|
+
exports.ApplicationWithApplicationCountDTOToJSONTyped = ApplicationWithApplicationCountDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApplicationWithApplicationCountDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApplicationWithApplicationCountDTO(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ApplicationWithApplicationCountDTOFromJSON(json) {
|
|
28
|
+
return ApplicationWithApplicationCountDTOFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ApplicationWithApplicationCountDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'accountId': json['accountId'] == null ? undefined : json['accountId'],
|
|
36
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
37
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
38
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
39
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
40
|
+
'pdfTemplateCount': json['pdfTemplateCount'] == null ? undefined : json['pdfTemplateCount'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ApplicationWithApplicationCountDTOToJSON(json) {
|
|
44
|
+
return ApplicationWithApplicationCountDTOToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ApplicationWithApplicationCountDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'accountId': value['accountId'],
|
|
52
|
+
'createdAt': value['createdAt'],
|
|
53
|
+
'description': value['description'],
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'pdfTemplateCount': value['pdfTemplateCount'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=ApplicationWithApplicationCountDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationWithApplicationCountDTO.js","sourceRoot":"","sources":["ApplicationWithApplicationCountDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAkDH,oGAEC;AAED,gGAEC;AAED,0GAaC;AAED,4FAEC;AAED,sGAcC;AA5CD;;GAEG;AACH,SAAgB,4CAA4C,CAAC,KAAa;IACtE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,0CAA0C,CAAC,IAAS;IAChE,OAAO,+CAA+C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxE,CAAC;AAED,SAAgB,+CAA+C,CAAC,IAAS,EAAE,mBAA4B;IACnG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QACjD,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACvD,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;KAC9F,CAAC;AACN,CAAC;AAED,SAAgB,wCAAwC,CAAC,IAAS;IAC9D,OAAO,6CAA6C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtE,CAAC;AAED,SAAgB,6CAA6C,CAAC,KAAiD,EAAE,sBAA+B,KAAK;IACjJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,CAAC;KAChD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
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 ApplicationWithApplicationCountDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface ApplicationWithApplicationCountDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApplicationWithApplicationCountDTO
|
|
26
|
+
*/
|
|
27
|
+
accountId?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApplicationWithApplicationCountDTO
|
|
32
|
+
*/
|
|
33
|
+
createdAt?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApplicationWithApplicationCountDTO
|
|
38
|
+
*/
|
|
39
|
+
description?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApplicationWithApplicationCountDTO
|
|
44
|
+
*/
|
|
45
|
+
id?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ApplicationWithApplicationCountDTO
|
|
50
|
+
*/
|
|
51
|
+
name?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof ApplicationWithApplicationCountDTO
|
|
56
|
+
*/
|
|
57
|
+
pdfTemplateCount?: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the ApplicationWithApplicationCountDTO interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfApplicationWithApplicationCountDTO(value: object): value is ApplicationWithApplicationCountDTO {
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function ApplicationWithApplicationCountDTOFromJSON(json: any): ApplicationWithApplicationCountDTO {
|
|
68
|
+
return ApplicationWithApplicationCountDTOFromJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function ApplicationWithApplicationCountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationWithApplicationCountDTO {
|
|
72
|
+
if (json == null) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'accountId': json['accountId'] == null ? undefined : json['accountId'],
|
|
78
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
79
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
80
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
81
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
82
|
+
'pdfTemplateCount': json['pdfTemplateCount'] == null ? undefined : json['pdfTemplateCount'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function ApplicationWithApplicationCountDTOToJSON(json: any): ApplicationWithApplicationCountDTO {
|
|
87
|
+
return ApplicationWithApplicationCountDTOToJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function ApplicationWithApplicationCountDTOToJSONTyped(value?: ApplicationWithApplicationCountDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'accountId': value['accountId'],
|
|
98
|
+
'createdAt': value['createdAt'],
|
|
99
|
+
'description': value['description'],
|
|
100
|
+
'id': value['id'],
|
|
101
|
+
'name': value['name'],
|
|
102
|
+
'pdfTemplateCount': value['pdfTemplateCount'],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfCreateAPIKeyRequestDTO = instanceOfCreateAPIKeyRequestDTO;
|
|
17
|
+
exports.CreateAPIKeyRequestDTOFromJSON = CreateAPIKeyRequestDTOFromJSON;
|
|
18
|
+
exports.CreateAPIKeyRequestDTOFromJSONTyped = CreateAPIKeyRequestDTOFromJSONTyped;
|
|
19
|
+
exports.CreateAPIKeyRequestDTOToJSON = CreateAPIKeyRequestDTOToJSON;
|
|
20
|
+
exports.CreateAPIKeyRequestDTOToJSONTyped = CreateAPIKeyRequestDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateAPIKeyRequestDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateAPIKeyRequestDTO(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CreateAPIKeyRequestDTOFromJSON(json) {
|
|
30
|
+
return CreateAPIKeyRequestDTOFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CreateAPIKeyRequestDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function CreateAPIKeyRequestDTOToJSON(json) {
|
|
41
|
+
return CreateAPIKeyRequestDTOToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function CreateAPIKeyRequestDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'name': value['name'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=CreateAPIKeyRequestDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateAPIKeyRequestDTO.js","sourceRoot":"","sources":["CreateAPIKeyRequestDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoBH,4EAGC;AAED,wEAEC;AAED,kFAQC;AAED,oEAEC;AAED,8EASC;AAnCD;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAAC,KAAqC,EAAE,sBAA+B,KAAK;IACzH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 CreateAPIKeyRequestDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateAPIKeyRequestDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateAPIKeyRequestDTO
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the CreateAPIKeyRequestDTO interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfCreateAPIKeyRequestDTO(value: object): value is CreateAPIKeyRequestDTO {
|
|
34
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function CreateAPIKeyRequestDTOFromJSON(json: any): CreateAPIKeyRequestDTO {
|
|
39
|
+
return CreateAPIKeyRequestDTOFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function CreateAPIKeyRequestDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAPIKeyRequestDTO {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'name': json['name'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CreateAPIKeyRequestDTOToJSON(json: any): CreateAPIKeyRequestDTO {
|
|
53
|
+
return CreateAPIKeyRequestDTOToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function CreateAPIKeyRequestDTOToJSONTyped(value?: CreateAPIKeyRequestDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfCreateAPIKeyResponseDTO = instanceOfCreateAPIKeyResponseDTO;
|
|
17
|
+
exports.CreateAPIKeyResponseDTOFromJSON = CreateAPIKeyResponseDTOFromJSON;
|
|
18
|
+
exports.CreateAPIKeyResponseDTOFromJSONTyped = CreateAPIKeyResponseDTOFromJSONTyped;
|
|
19
|
+
exports.CreateAPIKeyResponseDTOToJSON = CreateAPIKeyResponseDTOToJSON;
|
|
20
|
+
exports.CreateAPIKeyResponseDTOToJSONTyped = CreateAPIKeyResponseDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateAPIKeyResponseDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateAPIKeyResponseDTO(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function CreateAPIKeyResponseDTOFromJSON(json) {
|
|
28
|
+
return CreateAPIKeyResponseDTOFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function CreateAPIKeyResponseDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'accountId': json['account_id'] == null ? undefined : json['account_id'],
|
|
36
|
+
'apiKey': json['api_key'] == null ? undefined : json['api_key'],
|
|
37
|
+
'createdAt': json['created_at'] == null ? undefined : json['created_at'],
|
|
38
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
39
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function CreateAPIKeyResponseDTOToJSON(json) {
|
|
43
|
+
return CreateAPIKeyResponseDTOToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function CreateAPIKeyResponseDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'account_id': value['accountId'],
|
|
51
|
+
'api_key': value['apiKey'],
|
|
52
|
+
'created_at': value['createdAt'],
|
|
53
|
+
'id': value['id'],
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=CreateAPIKeyResponseDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateAPIKeyResponseDTO.js","sourceRoot":"","sources":["CreateAPIKeyResponseDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4CH,8EAEC;AAED,0EAEC;AAED,oFAYC;AAED,sEAEC;AAED,gFAaC;AA1CD;;GAEG;AACH,SAAgB,iCAAiC,CAAC,KAAa;IAC3D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACxE,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAC/D,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACxE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QACjD,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;KAC1D,CAAC;AACN,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,kCAAkC,CAAC,KAAsC,EAAE,sBAA+B,KAAK;IAC3H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC;QAChC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC;QAC1B,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC;QAChC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
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 CreateAPIKeyResponseDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateAPIKeyResponseDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateAPIKeyResponseDTO
|
|
26
|
+
*/
|
|
27
|
+
accountId?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateAPIKeyResponseDTO
|
|
32
|
+
*/
|
|
33
|
+
apiKey?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CreateAPIKeyResponseDTO
|
|
38
|
+
*/
|
|
39
|
+
createdAt?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CreateAPIKeyResponseDTO
|
|
44
|
+
*/
|
|
45
|
+
id?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof CreateAPIKeyResponseDTO
|
|
50
|
+
*/
|
|
51
|
+
name?: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the CreateAPIKeyResponseDTO interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfCreateAPIKeyResponseDTO(value: object): value is CreateAPIKeyResponseDTO {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function CreateAPIKeyResponseDTOFromJSON(json: any): CreateAPIKeyResponseDTO {
|
|
62
|
+
return CreateAPIKeyResponseDTOFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function CreateAPIKeyResponseDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAPIKeyResponseDTO {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'accountId': json['account_id'] == null ? undefined : json['account_id'],
|
|
72
|
+
'apiKey': json['api_key'] == null ? undefined : json['api_key'],
|
|
73
|
+
'createdAt': json['created_at'] == null ? undefined : json['created_at'],
|
|
74
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
75
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function CreateAPIKeyResponseDTOToJSON(json: any): CreateAPIKeyResponseDTO {
|
|
80
|
+
return CreateAPIKeyResponseDTOToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function CreateAPIKeyResponseDTOToJSONTyped(value?: CreateAPIKeyResponseDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'account_id': value['accountId'],
|
|
91
|
+
'api_key': value['apiKey'],
|
|
92
|
+
'created_at': value['createdAt'],
|
|
93
|
+
'id': value['id'],
|
|
94
|
+
'name': value['name'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|