@kommerz/ts-client 1.136.2 → 1.138.0
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/apis/AbsenceEntriesApi.d.ts +2 -2
- package/dist/apis/AbsenceEntriesApi.js +2 -2
- package/dist/apis/ContractStatusApi.d.ts +75 -0
- package/dist/apis/ContractStatusApi.js +313 -0
- package/dist/apis/ContractTypesApi.d.ts +75 -0
- package/dist/apis/ContractTypesApi.js +313 -0
- package/dist/apis/ContractsApi.d.ts +75 -0
- package/dist/apis/ContractsApi.js +313 -0
- package/dist/apis/InboxEmailsApi.d.ts +11 -0
- package/dist/apis/InboxEmailsApi.js +46 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/models/ContractDto.d.ts +96 -0
- package/dist/models/ContractDto.js +72 -0
- package/dist/models/ContractStatusDto.d.ts +54 -0
- package/dist/models/ContractStatusDto.js +59 -0
- package/dist/models/ContractTypeAttributeDto.d.ts +46 -0
- package/dist/models/ContractTypeAttributeDto.js +61 -0
- package/dist/models/ContractTypeDto.d.ts +55 -0
- package/dist/models/ContractTypeDto.js +60 -0
- package/dist/models/EmailDto.d.ts +33 -0
- package/dist/models/EmailDto.js +17 -1
- package/dist/models/EntityType.d.ts +3 -0
- package/dist/models/EntityType.js +3 -0
- package/dist/models/GetAllContractStatus200Response.d.ts +49 -0
- package/dist/models/GetAllContractStatus200Response.js +59 -0
- package/dist/models/GetAllContractTypes200Response.d.ts +49 -0
- package/dist/models/GetAllContractTypes200Response.js +59 -0
- package/dist/models/GetAllContracts200Response.d.ts +49 -0
- package/dist/models/GetAllContracts200Response.js +59 -0
- package/dist/models/IdentifierType.d.ts +1 -0
- package/dist/models/IdentifierType.js +2 -1
- package/dist/models/UsageMonitorDto.d.ts +1 -0
- package/dist/models/UsageMonitorDto.js +2 -1
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ContractStatusDtoToJSON = exports.ContractStatusDtoFromJSONTyped = exports.ContractStatusDtoFromJSON = exports.instanceOfContractStatusDto = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ContractStatusDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfContractStatusDto(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "statusId" in value;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfContractStatusDto = instanceOfContractStatusDto;
|
|
27
|
+
function ContractStatusDtoFromJSON(json) {
|
|
28
|
+
return ContractStatusDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.ContractStatusDtoFromJSON = ContractStatusDtoFromJSON;
|
|
31
|
+
function ContractStatusDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
37
|
+
'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
|
|
38
|
+
'statusId': json['statusId'],
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.ContractStatusDtoFromJSONTyped = ContractStatusDtoFromJSONTyped;
|
|
44
|
+
function ContractStatusDtoToJSON(value) {
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
if (value === null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value.id,
|
|
53
|
+
'version': value.version,
|
|
54
|
+
'statusId': value.statusId,
|
|
55
|
+
'name': value.name,
|
|
56
|
+
'description': value.description,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.ContractStatusDtoToJSON = ContractStatusDtoToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @interface ContractTypeAttributeDto
|
|
15
|
+
*/
|
|
16
|
+
export interface ContractTypeAttributeDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof ContractTypeAttributeDto
|
|
21
|
+
*/
|
|
22
|
+
key: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ContractTypeAttributeDto
|
|
27
|
+
*/
|
|
28
|
+
valueType: ContractTypeAttributeDtoValueTypeEnum;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export declare const ContractTypeAttributeDtoValueTypeEnum: {
|
|
34
|
+
readonly String: "STRING";
|
|
35
|
+
readonly Date: "DATE";
|
|
36
|
+
readonly Number: "NUMBER";
|
|
37
|
+
readonly Boolean: "BOOLEAN";
|
|
38
|
+
};
|
|
39
|
+
export type ContractTypeAttributeDtoValueTypeEnum = typeof ContractTypeAttributeDtoValueTypeEnum[keyof typeof ContractTypeAttributeDtoValueTypeEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ContractTypeAttributeDto interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfContractTypeAttributeDto(value: object): boolean;
|
|
44
|
+
export declare function ContractTypeAttributeDtoFromJSON(json: any): ContractTypeAttributeDto;
|
|
45
|
+
export declare function ContractTypeAttributeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractTypeAttributeDto;
|
|
46
|
+
export declare function ContractTypeAttributeDtoToJSON(value?: ContractTypeAttributeDto | null): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ContractTypeAttributeDtoToJSON = exports.ContractTypeAttributeDtoFromJSONTyped = exports.ContractTypeAttributeDtoFromJSON = exports.instanceOfContractTypeAttributeDto = exports.ContractTypeAttributeDtoValueTypeEnum = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
exports.ContractTypeAttributeDtoValueTypeEnum = {
|
|
20
|
+
String: 'STRING',
|
|
21
|
+
Date: 'DATE',
|
|
22
|
+
Number: 'NUMBER',
|
|
23
|
+
Boolean: 'BOOLEAN'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ContractTypeAttributeDto interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfContractTypeAttributeDto(value) {
|
|
29
|
+
var isInstance = true;
|
|
30
|
+
isInstance = isInstance && "key" in value;
|
|
31
|
+
isInstance = isInstance && "valueType" in value;
|
|
32
|
+
return isInstance;
|
|
33
|
+
}
|
|
34
|
+
exports.instanceOfContractTypeAttributeDto = instanceOfContractTypeAttributeDto;
|
|
35
|
+
function ContractTypeAttributeDtoFromJSON(json) {
|
|
36
|
+
return ContractTypeAttributeDtoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
exports.ContractTypeAttributeDtoFromJSON = ContractTypeAttributeDtoFromJSON;
|
|
39
|
+
function ContractTypeAttributeDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if ((json === undefined) || (json === null)) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'key': json['key'],
|
|
45
|
+
'valueType': json['valueType'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.ContractTypeAttributeDtoFromJSONTyped = ContractTypeAttributeDtoFromJSONTyped;
|
|
49
|
+
function ContractTypeAttributeDtoToJSON(value) {
|
|
50
|
+
if (value === undefined) {
|
|
51
|
+
return undefined;
|
|
52
|
+
}
|
|
53
|
+
if (value === null) {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'key': value.key,
|
|
58
|
+
'valueType': value.valueType,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
exports.ContractTypeAttributeDtoToJSON = ContractTypeAttributeDtoToJSON;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import type { ContractTypeAttributeDto } from './ContractTypeAttributeDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ContractTypeDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ContractTypeDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ContractTypeDto
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ContractTypeDto
|
|
28
|
+
*/
|
|
29
|
+
version?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ContractTypeDto
|
|
34
|
+
*/
|
|
35
|
+
typeId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ContractTypeDto
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<ContractTypeAttributeDto>}
|
|
45
|
+
* @memberof ContractTypeDto
|
|
46
|
+
*/
|
|
47
|
+
attributes?: Array<ContractTypeAttributeDto>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ContractTypeDto interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfContractTypeDto(value: object): boolean;
|
|
53
|
+
export declare function ContractTypeDtoFromJSON(json: any): ContractTypeDto;
|
|
54
|
+
export declare function ContractTypeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractTypeDto;
|
|
55
|
+
export declare function ContractTypeDtoToJSON(value?: ContractTypeDto | null): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ContractTypeDtoToJSON = exports.ContractTypeDtoFromJSONTyped = exports.ContractTypeDtoFromJSON = exports.instanceOfContractTypeDto = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
var ContractTypeAttributeDto_1 = require("./ContractTypeAttributeDto");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ContractTypeDto interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfContractTypeDto(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "typeId" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfContractTypeDto = instanceOfContractTypeDto;
|
|
28
|
+
function ContractTypeDtoFromJSON(json) {
|
|
29
|
+
return ContractTypeDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.ContractTypeDtoFromJSON = ContractTypeDtoFromJSON;
|
|
32
|
+
function ContractTypeDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
38
|
+
'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
|
|
39
|
+
'typeId': json['typeId'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : (json['attributes'].map(ContractTypeAttributeDto_1.ContractTypeAttributeDtoFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.ContractTypeDtoFromJSONTyped = ContractTypeDtoFromJSONTyped;
|
|
45
|
+
function ContractTypeDtoToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': value.id,
|
|
54
|
+
'version': value.version,
|
|
55
|
+
'typeId': value.typeId,
|
|
56
|
+
'name': value.name,
|
|
57
|
+
'attributes': value.attributes === undefined ? undefined : (value.attributes.map(ContractTypeAttributeDto_1.ContractTypeAttributeDtoToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
exports.ContractTypeDtoToJSON = ContractTypeDtoToJSON;
|
|
@@ -44,6 +44,12 @@ export interface EmailDto {
|
|
|
44
44
|
* @memberof EmailDto
|
|
45
45
|
*/
|
|
46
46
|
cc?: Array<string>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Array<string>}
|
|
50
|
+
* @memberof EmailDto
|
|
51
|
+
*/
|
|
52
|
+
bcc?: Array<string>;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {string}
|
|
@@ -68,6 +74,24 @@ export interface EmailDto {
|
|
|
68
74
|
* @memberof EmailDto
|
|
69
75
|
*/
|
|
70
76
|
body?: string;
|
|
77
|
+
/**
|
|
78
|
+
* imap like folder structure (might be refactored in future)
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof EmailDto
|
|
81
|
+
*/
|
|
82
|
+
folder?: EmailDtoFolderEnum;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof EmailDto
|
|
87
|
+
*/
|
|
88
|
+
designTemplateId?: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {object}
|
|
92
|
+
* @memberof EmailDto
|
|
93
|
+
*/
|
|
94
|
+
contextMap?: object;
|
|
71
95
|
/**
|
|
72
96
|
*
|
|
73
97
|
* @type {Array<string>}
|
|
@@ -75,6 +99,15 @@ export interface EmailDto {
|
|
|
75
99
|
*/
|
|
76
100
|
attachmentIds?: Array<string>;
|
|
77
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* @export
|
|
104
|
+
*/
|
|
105
|
+
export declare const EmailDtoFolderEnum: {
|
|
106
|
+
readonly Inbox: "INBOX";
|
|
107
|
+
readonly Outbox: "OUTBOX";
|
|
108
|
+
readonly Sent: "SENT";
|
|
109
|
+
};
|
|
110
|
+
export type EmailDtoFolderEnum = typeof EmailDtoFolderEnum[keyof typeof EmailDtoFolderEnum];
|
|
78
111
|
/**
|
|
79
112
|
* Check if a given object implements the EmailDto interface.
|
|
80
113
|
*/
|
package/dist/models/EmailDto.js
CHANGED
|
@@ -12,8 +12,16 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.EmailDtoToJSON = exports.EmailDtoFromJSONTyped = exports.EmailDtoFromJSON = exports.instanceOfEmailDto = void 0;
|
|
15
|
+
exports.EmailDtoToJSON = exports.EmailDtoFromJSONTyped = exports.EmailDtoFromJSON = exports.instanceOfEmailDto = exports.EmailDtoFolderEnum = void 0;
|
|
16
16
|
var runtime_1 = require("../runtime");
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
exports.EmailDtoFolderEnum = {
|
|
21
|
+
Inbox: 'INBOX',
|
|
22
|
+
Outbox: 'OUTBOX',
|
|
23
|
+
Sent: 'SENT'
|
|
24
|
+
};
|
|
17
25
|
/**
|
|
18
26
|
* Check if a given object implements the EmailDto interface.
|
|
19
27
|
*/
|
|
@@ -36,10 +44,14 @@ function EmailDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
44
|
'from': !(0, runtime_1.exists)(json, 'from') ? undefined : json['from'],
|
|
37
45
|
'to': !(0, runtime_1.exists)(json, 'to') ? undefined : json['to'],
|
|
38
46
|
'cc': !(0, runtime_1.exists)(json, 'cc') ? undefined : json['cc'],
|
|
47
|
+
'bcc': !(0, runtime_1.exists)(json, 'bcc') ? undefined : json['bcc'],
|
|
39
48
|
'subject': !(0, runtime_1.exists)(json, 'subject') ? undefined : json['subject'],
|
|
40
49
|
'replyTo': !(0, runtime_1.exists)(json, 'replyTo') ? undefined : json['replyTo'],
|
|
41
50
|
'sentDate': !(0, runtime_1.exists)(json, 'sentDate') ? undefined : (new Date(json['sentDate'])),
|
|
42
51
|
'body': !(0, runtime_1.exists)(json, 'body') ? undefined : json['body'],
|
|
52
|
+
'folder': !(0, runtime_1.exists)(json, 'folder') ? undefined : json['folder'],
|
|
53
|
+
'designTemplateId': !(0, runtime_1.exists)(json, 'designTemplateId') ? undefined : json['designTemplateId'],
|
|
54
|
+
'contextMap': !(0, runtime_1.exists)(json, 'contextMap') ? undefined : json['contextMap'],
|
|
43
55
|
'attachmentIds': !(0, runtime_1.exists)(json, 'attachmentIds') ? undefined : json['attachmentIds'],
|
|
44
56
|
};
|
|
45
57
|
}
|
|
@@ -57,10 +69,14 @@ function EmailDtoToJSON(value) {
|
|
|
57
69
|
'from': value.from,
|
|
58
70
|
'to': value.to,
|
|
59
71
|
'cc': value.cc,
|
|
72
|
+
'bcc': value.bcc,
|
|
60
73
|
'subject': value.subject,
|
|
61
74
|
'replyTo': value.replyTo,
|
|
62
75
|
'sentDate': value.sentDate === undefined ? undefined : (value.sentDate.toISOString()),
|
|
63
76
|
'body': value.body,
|
|
77
|
+
'folder': value.folder,
|
|
78
|
+
'designTemplateId': value.designTemplateId,
|
|
79
|
+
'contextMap': value.contextMap,
|
|
64
80
|
'attachmentIds': value.attachmentIds,
|
|
65
81
|
};
|
|
66
82
|
}
|
|
@@ -59,6 +59,9 @@ export declare const EntityType: {
|
|
|
59
59
|
readonly InboxEmail: "InboxEmail";
|
|
60
60
|
readonly DeliveryNote: "DeliveryNote";
|
|
61
61
|
readonly DunningLetter: "DunningLetter";
|
|
62
|
+
readonly Contract: "Contract";
|
|
63
|
+
readonly ContractType: "ContractType";
|
|
64
|
+
readonly ContractStatus: "ContractStatus";
|
|
62
65
|
readonly Receipt: "Receipt";
|
|
63
66
|
readonly Settlement: "Settlement";
|
|
64
67
|
readonly Transaction: "Transaction";
|
|
@@ -64,6 +64,9 @@ exports.EntityType = {
|
|
|
64
64
|
InboxEmail: 'InboxEmail',
|
|
65
65
|
DeliveryNote: 'DeliveryNote',
|
|
66
66
|
DunningLetter: 'DunningLetter',
|
|
67
|
+
Contract: 'Contract',
|
|
68
|
+
ContractType: 'ContractType',
|
|
69
|
+
ContractStatus: 'ContractStatus',
|
|
67
70
|
Receipt: 'Receipt',
|
|
68
71
|
Settlement: 'Settlement',
|
|
69
72
|
Transaction: 'Transaction',
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import type { ContractStatusDto } from './ContractStatusDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetAllContractStatus200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllContractStatus200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetAllContractStatus200Response
|
|
22
|
+
*/
|
|
23
|
+
pageNumber: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetAllContractStatus200Response
|
|
28
|
+
*/
|
|
29
|
+
pageSize: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetAllContractStatus200Response
|
|
34
|
+
*/
|
|
35
|
+
totalElements: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<ContractStatusDto>}
|
|
39
|
+
* @memberof GetAllContractStatus200Response
|
|
40
|
+
*/
|
|
41
|
+
content: Array<ContractStatusDto>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GetAllContractStatus200Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGetAllContractStatus200Response(value: object): boolean;
|
|
47
|
+
export declare function GetAllContractStatus200ResponseFromJSON(json: any): GetAllContractStatus200Response;
|
|
48
|
+
export declare function GetAllContractStatus200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllContractStatus200Response;
|
|
49
|
+
export declare function GetAllContractStatus200ResponseToJSON(value?: GetAllContractStatus200Response | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.GetAllContractStatus200ResponseToJSON = exports.GetAllContractStatus200ResponseFromJSONTyped = exports.GetAllContractStatus200ResponseFromJSON = exports.instanceOfGetAllContractStatus200Response = void 0;
|
|
16
|
+
var ContractStatusDto_1 = require("./ContractStatusDto");
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GetAllContractStatus200Response interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGetAllContractStatus200Response(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "pageNumber" in value;
|
|
23
|
+
isInstance = isInstance && "pageSize" in value;
|
|
24
|
+
isInstance = isInstance && "totalElements" in value;
|
|
25
|
+
isInstance = isInstance && "content" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfGetAllContractStatus200Response = instanceOfGetAllContractStatus200Response;
|
|
29
|
+
function GetAllContractStatus200ResponseFromJSON(json) {
|
|
30
|
+
return GetAllContractStatus200ResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.GetAllContractStatus200ResponseFromJSON = GetAllContractStatus200ResponseFromJSON;
|
|
33
|
+
function GetAllContractStatus200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'pageNumber': json['pageNumber'],
|
|
39
|
+
'pageSize': json['pageSize'],
|
|
40
|
+
'totalElements': json['totalElements'],
|
|
41
|
+
'content': (json['content'].map(ContractStatusDto_1.ContractStatusDtoFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.GetAllContractStatus200ResponseFromJSONTyped = GetAllContractStatus200ResponseFromJSONTyped;
|
|
45
|
+
function GetAllContractStatus200ResponseToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'pageNumber': value.pageNumber,
|
|
54
|
+
'pageSize': value.pageSize,
|
|
55
|
+
'totalElements': value.totalElements,
|
|
56
|
+
'content': (value.content.map(ContractStatusDto_1.ContractStatusDtoToJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.GetAllContractStatus200ResponseToJSON = GetAllContractStatus200ResponseToJSON;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import type { ContractTypeDto } from './ContractTypeDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetAllContractTypes200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllContractTypes200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetAllContractTypes200Response
|
|
22
|
+
*/
|
|
23
|
+
pageNumber: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetAllContractTypes200Response
|
|
28
|
+
*/
|
|
29
|
+
pageSize: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetAllContractTypes200Response
|
|
34
|
+
*/
|
|
35
|
+
totalElements: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<ContractTypeDto>}
|
|
39
|
+
* @memberof GetAllContractTypes200Response
|
|
40
|
+
*/
|
|
41
|
+
content: Array<ContractTypeDto>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GetAllContractTypes200Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGetAllContractTypes200Response(value: object): boolean;
|
|
47
|
+
export declare function GetAllContractTypes200ResponseFromJSON(json: any): GetAllContractTypes200Response;
|
|
48
|
+
export declare function GetAllContractTypes200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllContractTypes200Response;
|
|
49
|
+
export declare function GetAllContractTypes200ResponseToJSON(value?: GetAllContractTypes200Response | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.GetAllContractTypes200ResponseToJSON = exports.GetAllContractTypes200ResponseFromJSONTyped = exports.GetAllContractTypes200ResponseFromJSON = exports.instanceOfGetAllContractTypes200Response = void 0;
|
|
16
|
+
var ContractTypeDto_1 = require("./ContractTypeDto");
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GetAllContractTypes200Response interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGetAllContractTypes200Response(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "pageNumber" in value;
|
|
23
|
+
isInstance = isInstance && "pageSize" in value;
|
|
24
|
+
isInstance = isInstance && "totalElements" in value;
|
|
25
|
+
isInstance = isInstance && "content" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfGetAllContractTypes200Response = instanceOfGetAllContractTypes200Response;
|
|
29
|
+
function GetAllContractTypes200ResponseFromJSON(json) {
|
|
30
|
+
return GetAllContractTypes200ResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.GetAllContractTypes200ResponseFromJSON = GetAllContractTypes200ResponseFromJSON;
|
|
33
|
+
function GetAllContractTypes200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'pageNumber': json['pageNumber'],
|
|
39
|
+
'pageSize': json['pageSize'],
|
|
40
|
+
'totalElements': json['totalElements'],
|
|
41
|
+
'content': (json['content'].map(ContractTypeDto_1.ContractTypeDtoFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.GetAllContractTypes200ResponseFromJSONTyped = GetAllContractTypes200ResponseFromJSONTyped;
|
|
45
|
+
function GetAllContractTypes200ResponseToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'pageNumber': value.pageNumber,
|
|
54
|
+
'pageSize': value.pageSize,
|
|
55
|
+
'totalElements': value.totalElements,
|
|
56
|
+
'content': (value.content.map(ContractTypeDto_1.ContractTypeDtoToJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.GetAllContractTypes200ResponseToJSON = GetAllContractTypes200ResponseToJSON;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import type { ContractDto } from './ContractDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetAllContracts200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllContracts200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetAllContracts200Response
|
|
22
|
+
*/
|
|
23
|
+
pageNumber: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetAllContracts200Response
|
|
28
|
+
*/
|
|
29
|
+
pageSize: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetAllContracts200Response
|
|
34
|
+
*/
|
|
35
|
+
totalElements: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<ContractDto>}
|
|
39
|
+
* @memberof GetAllContracts200Response
|
|
40
|
+
*/
|
|
41
|
+
content: Array<ContractDto>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GetAllContracts200Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGetAllContracts200Response(value: object): boolean;
|
|
47
|
+
export declare function GetAllContracts200ResponseFromJSON(json: any): GetAllContracts200Response;
|
|
48
|
+
export declare function GetAllContracts200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllContracts200Response;
|
|
49
|
+
export declare function GetAllContracts200ResponseToJSON(value?: GetAllContracts200Response | null): any;
|