@kommerz/ts-client 1.138.5 → 1.140.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/AcceptanceDocumentsApi.d.ts +64 -0
- package/dist/apis/AcceptanceDocumentsApi.js +267 -0
- package/dist/apis/AcceptancePortalDocumentsApi.d.ts +64 -0
- package/dist/apis/AcceptancePortalDocumentsApi.js +266 -0
- package/dist/apis/OffersApi.d.ts +13 -1
- package/dist/apis/OffersApi.js +49 -0
- package/dist/apis/TagRelationsApi.d.ts +63 -0
- package/dist/apis/TagRelationsApi.js +264 -0
- package/dist/apis/TagsApi.d.ts +86 -0
- package/dist/apis/TagsApi.js +357 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/index.d.ts +3 -4
- package/dist/index.js +0 -1
- package/dist/models/AcceptDto.d.ts +54 -0
- package/dist/models/AcceptDto.js +58 -0
- package/dist/models/AcceptanceDocumentDto.d.ts +115 -0
- package/dist/models/AcceptanceDocumentDto.js +90 -0
- package/dist/models/AcceptanceDocumentLogEntry.d.ts +43 -0
- package/dist/models/AcceptanceDocumentLogEntry.js +56 -0
- package/dist/models/AcceptanceDocumentLogEntryData.d.ts +43 -0
- package/dist/models/AcceptanceDocumentLogEntryData.js +57 -0
- package/dist/models/AcceptanceDocumentSenderInfo.d.ts +36 -0
- package/dist/models/AcceptanceDocumentSenderInfo.js +52 -0
- package/dist/models/AcceptancePortalAcceptDto.d.ts +54 -0
- package/dist/models/AcceptancePortalAcceptDto.js +58 -0
- package/dist/models/AcceptancePortalShareConfigDto.d.ts +72 -0
- package/dist/models/AcceptancePortalShareConfigDto.js +63 -0
- package/dist/models/CreateTagRelationsDto.d.ts +48 -0
- package/dist/models/CreateTagRelationsDto.js +57 -0
- package/dist/models/DesignTemplateContextVersion.d.ts +21 -0
- package/dist/models/DesignTemplateContextVersion.js +34 -0
- package/dist/models/DesignTemplateDto.d.ts +7 -0
- package/dist/models/DesignTemplateDto.js +3 -0
- package/dist/models/DesignTemplateType.d.ts +1 -0
- package/dist/models/DesignTemplateType.js +1 -0
- package/dist/models/EntityType.d.ts +1 -0
- package/dist/models/EntityType.js +2 -1
- package/dist/models/GetAllAcceptanceDocuments200Response.d.ts +49 -0
- package/dist/models/GetAllAcceptanceDocuments200Response.js +59 -0
- package/dist/models/GetAllTags200Response.d.ts +49 -0
- package/dist/models/GetAllTags200Response.js +59 -0
- package/dist/models/LogDto.d.ts +36 -0
- package/dist/models/LogDto.js +52 -0
- package/dist/models/OfferRendererDto.d.ts +82 -0
- package/dist/models/OfferRendererDto.js +69 -0
- package/dist/models/SenderInfoDto.d.ts +36 -0
- package/dist/models/SenderInfoDto.js +52 -0
- package/dist/models/ShareConfigDto.d.ts +72 -0
- package/dist/models/ShareConfigDto.js +63 -0
- package/dist/models/TagDto.d.ts +48 -0
- package/dist/models/TagDto.js +57 -0
- package/dist/models/TagRelationDto.d.ts +42 -0
- package/dist/models/TagRelationDto.js +55 -0
- package/dist/models/UsageMetricType.d.ts +31 -0
- package/dist/models/UsageMetricType.js +44 -0
- package/dist/models/UsageMonitorDto.d.ts +3 -18
- package/dist/models/UsageMonitorDto.js +4 -18
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
|
@@ -0,0 +1,90 @@
|
|
|
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.AcceptanceDocumentDtoToJSON = exports.AcceptanceDocumentDtoFromJSONTyped = exports.AcceptanceDocumentDtoFromJSON = exports.instanceOfAcceptanceDocumentDto = exports.AcceptanceDocumentDtoStatusEnum = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
var AcceptanceDocumentLogEntry_1 = require("./AcceptanceDocumentLogEntry");
|
|
18
|
+
var AcceptanceDocumentSenderInfo_1 = require("./AcceptanceDocumentSenderInfo");
|
|
19
|
+
var EntityType_1 = require("./EntityType");
|
|
20
|
+
/**
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
exports.AcceptanceDocumentDtoStatusEnum = {
|
|
24
|
+
Accepted: 'ACCEPTED',
|
|
25
|
+
Declined: 'DECLINED',
|
|
26
|
+
Open: 'OPEN',
|
|
27
|
+
Expired: 'EXPIRED'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AcceptanceDocumentDto interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfAcceptanceDocumentDto(value) {
|
|
33
|
+
var isInstance = true;
|
|
34
|
+
isInstance = isInstance && "document" in value;
|
|
35
|
+
isInstance = isInstance && "entityId" in value;
|
|
36
|
+
isInstance = isInstance && "entityType" in value;
|
|
37
|
+
isInstance = isInstance && "log" in value;
|
|
38
|
+
isInstance = isInstance && "status" in value;
|
|
39
|
+
return isInstance;
|
|
40
|
+
}
|
|
41
|
+
exports.instanceOfAcceptanceDocumentDto = instanceOfAcceptanceDocumentDto;
|
|
42
|
+
function AcceptanceDocumentDtoFromJSON(json) {
|
|
43
|
+
return AcceptanceDocumentDtoFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
exports.AcceptanceDocumentDtoFromJSON = AcceptanceDocumentDtoFromJSON;
|
|
46
|
+
function AcceptanceDocumentDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if ((json === undefined) || (json === null)) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
52
|
+
'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
|
|
53
|
+
'reference': !(0, runtime_1.exists)(json, 'reference') ? undefined : json['reference'],
|
|
54
|
+
'senderInfo': !(0, runtime_1.exists)(json, 'senderInfo') ? undefined : (0, AcceptanceDocumentSenderInfo_1.AcceptanceDocumentSenderInfoFromJSON)(json['senderInfo']),
|
|
55
|
+
'dueDate': !(0, runtime_1.exists)(json, 'dueDate') ? undefined : (new Date(json['dueDate'])),
|
|
56
|
+
'acceptedDate': !(0, runtime_1.exists)(json, 'acceptedDate') ? undefined : (new Date(json['acceptedDate'])),
|
|
57
|
+
'secretId': !(0, runtime_1.exists)(json, 'secretId') ? undefined : json['secretId'],
|
|
58
|
+
'document': json['document'],
|
|
59
|
+
'entityId': json['entityId'],
|
|
60
|
+
'entityType': (0, EntityType_1.EntityTypeFromJSON)(json['entityType']),
|
|
61
|
+
'log': (json['log'].map(AcceptanceDocumentLogEntry_1.AcceptanceDocumentLogEntryFromJSON)),
|
|
62
|
+
'attachmentIds': !(0, runtime_1.exists)(json, 'attachmentIds') ? undefined : json['attachmentIds'],
|
|
63
|
+
'status': json['status'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
exports.AcceptanceDocumentDtoFromJSONTyped = AcceptanceDocumentDtoFromJSONTyped;
|
|
67
|
+
function AcceptanceDocumentDtoToJSON(value) {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'id': value.id,
|
|
76
|
+
'version': value.version,
|
|
77
|
+
'reference': value.reference,
|
|
78
|
+
'senderInfo': (0, AcceptanceDocumentSenderInfo_1.AcceptanceDocumentSenderInfoToJSON)(value.senderInfo),
|
|
79
|
+
'dueDate': value.dueDate === undefined ? undefined : (value.dueDate.toISOString()),
|
|
80
|
+
'acceptedDate': value.acceptedDate === undefined ? undefined : (value.acceptedDate.toISOString()),
|
|
81
|
+
'secretId': value.secretId,
|
|
82
|
+
'document': value.document,
|
|
83
|
+
'entityId': value.entityId,
|
|
84
|
+
'entityType': (0, EntityType_1.EntityTypeToJSON)(value.entityType),
|
|
85
|
+
'log': (value.log.map(AcceptanceDocumentLogEntry_1.AcceptanceDocumentLogEntryToJSON)),
|
|
86
|
+
'attachmentIds': value.attachmentIds,
|
|
87
|
+
'status': value.status,
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
exports.AcceptanceDocumentDtoToJSON = AcceptanceDocumentDtoToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { AcceptanceDocumentLogEntryData } from './AcceptanceDocumentLogEntryData';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AcceptanceDocumentLogEntry
|
|
16
|
+
*/
|
|
17
|
+
export interface AcceptanceDocumentLogEntry {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof AcceptanceDocumentLogEntry
|
|
22
|
+
*/
|
|
23
|
+
date: Date;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AcceptanceDocumentLogEntry
|
|
28
|
+
*/
|
|
29
|
+
event: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {AcceptanceDocumentLogEntryData}
|
|
33
|
+
* @memberof AcceptanceDocumentLogEntry
|
|
34
|
+
*/
|
|
35
|
+
data?: AcceptanceDocumentLogEntryData;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AcceptanceDocumentLogEntry interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfAcceptanceDocumentLogEntry(value: object): boolean;
|
|
41
|
+
export declare function AcceptanceDocumentLogEntryFromJSON(json: any): AcceptanceDocumentLogEntry;
|
|
42
|
+
export declare function AcceptanceDocumentLogEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): AcceptanceDocumentLogEntry;
|
|
43
|
+
export declare function AcceptanceDocumentLogEntryToJSON(value?: AcceptanceDocumentLogEntry | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.AcceptanceDocumentLogEntryToJSON = exports.AcceptanceDocumentLogEntryFromJSONTyped = exports.AcceptanceDocumentLogEntryFromJSON = exports.instanceOfAcceptanceDocumentLogEntry = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
var AcceptanceDocumentLogEntryData_1 = require("./AcceptanceDocumentLogEntryData");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the AcceptanceDocumentLogEntry interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfAcceptanceDocumentLogEntry(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "date" in value;
|
|
24
|
+
isInstance = isInstance && "event" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfAcceptanceDocumentLogEntry = instanceOfAcceptanceDocumentLogEntry;
|
|
28
|
+
function AcceptanceDocumentLogEntryFromJSON(json) {
|
|
29
|
+
return AcceptanceDocumentLogEntryFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.AcceptanceDocumentLogEntryFromJSON = AcceptanceDocumentLogEntryFromJSON;
|
|
32
|
+
function AcceptanceDocumentLogEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'date': (new Date(json['date'])),
|
|
38
|
+
'event': json['event'],
|
|
39
|
+
'data': !(0, runtime_1.exists)(json, 'data') ? undefined : (0, AcceptanceDocumentLogEntryData_1.AcceptanceDocumentLogEntryDataFromJSON)(json['data']),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.AcceptanceDocumentLogEntryFromJSONTyped = AcceptanceDocumentLogEntryFromJSONTyped;
|
|
43
|
+
function AcceptanceDocumentLogEntryToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'date': (value.date.toISOString()),
|
|
52
|
+
'event': value.event,
|
|
53
|
+
'data': (0, AcceptanceDocumentLogEntryData_1.AcceptanceDocumentLogEntryDataToJSON)(value.data),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.AcceptanceDocumentLogEntryToJSON = AcceptanceDocumentLogEntryToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 AcceptanceDocumentLogEntryData
|
|
15
|
+
*/
|
|
16
|
+
export interface AcceptanceDocumentLogEntryData {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof AcceptanceDocumentLogEntryData
|
|
21
|
+
*/
|
|
22
|
+
type?: AcceptanceDocumentLogEntryDataTypeEnum;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof AcceptanceDocumentLogEntryData
|
|
27
|
+
*/
|
|
28
|
+
payload?: object;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export declare const AcceptanceDocumentLogEntryDataTypeEnum: {
|
|
34
|
+
readonly AcceptancePortalAcceptDto: "AcceptancePortalAcceptDto";
|
|
35
|
+
};
|
|
36
|
+
export type AcceptanceDocumentLogEntryDataTypeEnum = typeof AcceptanceDocumentLogEntryDataTypeEnum[keyof typeof AcceptanceDocumentLogEntryDataTypeEnum];
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AcceptanceDocumentLogEntryData interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfAcceptanceDocumentLogEntryData(value: object): boolean;
|
|
41
|
+
export declare function AcceptanceDocumentLogEntryDataFromJSON(json: any): AcceptanceDocumentLogEntryData;
|
|
42
|
+
export declare function AcceptanceDocumentLogEntryDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): AcceptanceDocumentLogEntryData;
|
|
43
|
+
export declare function AcceptanceDocumentLogEntryDataToJSON(value?: AcceptanceDocumentLogEntryData | null): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.AcceptanceDocumentLogEntryDataToJSON = exports.AcceptanceDocumentLogEntryDataFromJSONTyped = exports.AcceptanceDocumentLogEntryDataFromJSON = exports.instanceOfAcceptanceDocumentLogEntryData = exports.AcceptanceDocumentLogEntryDataTypeEnum = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
exports.AcceptanceDocumentLogEntryDataTypeEnum = {
|
|
21
|
+
AcceptancePortalAcceptDto: 'AcceptancePortalAcceptDto'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AcceptanceDocumentLogEntryData interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAcceptanceDocumentLogEntryData(value) {
|
|
27
|
+
var isInstance = true;
|
|
28
|
+
return isInstance;
|
|
29
|
+
}
|
|
30
|
+
exports.instanceOfAcceptanceDocumentLogEntryData = instanceOfAcceptanceDocumentLogEntryData;
|
|
31
|
+
function AcceptanceDocumentLogEntryDataFromJSON(json) {
|
|
32
|
+
return AcceptanceDocumentLogEntryDataFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
exports.AcceptanceDocumentLogEntryDataFromJSON = AcceptanceDocumentLogEntryDataFromJSON;
|
|
35
|
+
function AcceptanceDocumentLogEntryDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if ((json === undefined) || (json === null)) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
|
|
41
|
+
'payload': !(0, runtime_1.exists)(json, 'payload') ? undefined : json['payload'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.AcceptanceDocumentLogEntryDataFromJSONTyped = AcceptanceDocumentLogEntryDataFromJSONTyped;
|
|
45
|
+
function AcceptanceDocumentLogEntryDataToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'type': value.type,
|
|
54
|
+
'payload': value.payload,
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
exports.AcceptanceDocumentLogEntryDataToJSON = AcceptanceDocumentLogEntryDataToJSON;
|
|
@@ -0,0 +1,36 @@
|
|
|
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 AcceptanceDocumentSenderInfo
|
|
15
|
+
*/
|
|
16
|
+
export interface AcceptanceDocumentSenderInfo {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof AcceptanceDocumentSenderInfo
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AcceptanceDocumentSenderInfo
|
|
27
|
+
*/
|
|
28
|
+
email: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AcceptanceDocumentSenderInfo interface.
|
|
32
|
+
*/
|
|
33
|
+
export declare function instanceOfAcceptanceDocumentSenderInfo(value: object): boolean;
|
|
34
|
+
export declare function AcceptanceDocumentSenderInfoFromJSON(json: any): AcceptanceDocumentSenderInfo;
|
|
35
|
+
export declare function AcceptanceDocumentSenderInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AcceptanceDocumentSenderInfo;
|
|
36
|
+
export declare function AcceptanceDocumentSenderInfoToJSON(value?: AcceptanceDocumentSenderInfo | null): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.AcceptanceDocumentSenderInfoToJSON = exports.AcceptanceDocumentSenderInfoFromJSONTyped = exports.AcceptanceDocumentSenderInfoFromJSON = exports.instanceOfAcceptanceDocumentSenderInfo = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the AcceptanceDocumentSenderInfo interface.
|
|
18
|
+
*/
|
|
19
|
+
function instanceOfAcceptanceDocumentSenderInfo(value) {
|
|
20
|
+
var isInstance = true;
|
|
21
|
+
isInstance = isInstance && "name" in value;
|
|
22
|
+
isInstance = isInstance && "email" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfAcceptanceDocumentSenderInfo = instanceOfAcceptanceDocumentSenderInfo;
|
|
26
|
+
function AcceptanceDocumentSenderInfoFromJSON(json) {
|
|
27
|
+
return AcceptanceDocumentSenderInfoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.AcceptanceDocumentSenderInfoFromJSON = AcceptanceDocumentSenderInfoFromJSON;
|
|
30
|
+
function AcceptanceDocumentSenderInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'name': json['name'],
|
|
36
|
+
'email': json['email'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.AcceptanceDocumentSenderInfoFromJSONTyped = AcceptanceDocumentSenderInfoFromJSONTyped;
|
|
40
|
+
function AcceptanceDocumentSenderInfoToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'name': value.name,
|
|
49
|
+
'email': value.email,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.AcceptanceDocumentSenderInfoToJSON = AcceptanceDocumentSenderInfoToJSON;
|
|
@@ -0,0 +1,54 @@
|
|
|
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 AcceptancePortalAcceptDto
|
|
15
|
+
*/
|
|
16
|
+
export interface AcceptancePortalAcceptDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {boolean}
|
|
20
|
+
* @memberof AcceptancePortalAcceptDto
|
|
21
|
+
*/
|
|
22
|
+
accepted: boolean;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AcceptancePortalAcceptDto
|
|
27
|
+
*/
|
|
28
|
+
signatureName?: string;
|
|
29
|
+
/**
|
|
30
|
+
* signature location
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AcceptancePortalAcceptDto
|
|
33
|
+
*/
|
|
34
|
+
signatureLocation?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof AcceptancePortalAcceptDto
|
|
39
|
+
*/
|
|
40
|
+
signatureDate?: Date;
|
|
41
|
+
/**
|
|
42
|
+
* signature as SVG
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof AcceptancePortalAcceptDto
|
|
45
|
+
*/
|
|
46
|
+
signature?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the AcceptancePortalAcceptDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfAcceptancePortalAcceptDto(value: object): boolean;
|
|
52
|
+
export declare function AcceptancePortalAcceptDtoFromJSON(json: any): AcceptancePortalAcceptDto;
|
|
53
|
+
export declare function AcceptancePortalAcceptDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AcceptancePortalAcceptDto;
|
|
54
|
+
export declare function AcceptancePortalAcceptDtoToJSON(value?: AcceptancePortalAcceptDto | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.AcceptancePortalAcceptDtoToJSON = exports.AcceptancePortalAcceptDtoFromJSONTyped = exports.AcceptancePortalAcceptDtoFromJSON = exports.instanceOfAcceptancePortalAcceptDto = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the AcceptancePortalAcceptDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfAcceptancePortalAcceptDto(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "accepted" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfAcceptancePortalAcceptDto = instanceOfAcceptancePortalAcceptDto;
|
|
26
|
+
function AcceptancePortalAcceptDtoFromJSON(json) {
|
|
27
|
+
return AcceptancePortalAcceptDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.AcceptancePortalAcceptDtoFromJSON = AcceptancePortalAcceptDtoFromJSON;
|
|
30
|
+
function AcceptancePortalAcceptDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'accepted': json['accepted'],
|
|
36
|
+
'signatureName': !(0, runtime_1.exists)(json, 'signatureName') ? undefined : json['signatureName'],
|
|
37
|
+
'signatureLocation': !(0, runtime_1.exists)(json, 'signatureLocation') ? undefined : json['signatureLocation'],
|
|
38
|
+
'signatureDate': !(0, runtime_1.exists)(json, 'signatureDate') ? undefined : (new Date(json['signatureDate'])),
|
|
39
|
+
'signature': !(0, runtime_1.exists)(json, 'signature') ? undefined : json['signature'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.AcceptancePortalAcceptDtoFromJSONTyped = AcceptancePortalAcceptDtoFromJSONTyped;
|
|
43
|
+
function AcceptancePortalAcceptDtoToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'accepted': value.accepted,
|
|
52
|
+
'signatureName': value.signatureName,
|
|
53
|
+
'signatureLocation': value.signatureLocation,
|
|
54
|
+
'signatureDate': value.signatureDate === undefined ? undefined : (value.signatureDate.toISOString().substring(0, 10)),
|
|
55
|
+
'signature': value.signature,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.AcceptancePortalAcceptDtoToJSON = AcceptancePortalAcceptDtoToJSON;
|
|
@@ -0,0 +1,72 @@
|
|
|
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 AcceptancePortalShareConfigDto
|
|
15
|
+
*/
|
|
16
|
+
export interface AcceptancePortalShareConfigDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof AcceptancePortalShareConfigDto
|
|
21
|
+
*/
|
|
22
|
+
recipientEmailAddress?: string;
|
|
23
|
+
/**
|
|
24
|
+
* email subject
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AcceptancePortalShareConfigDto
|
|
27
|
+
*/
|
|
28
|
+
subject?: string;
|
|
29
|
+
/**
|
|
30
|
+
* reference/subject used in the acceptance portal
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AcceptancePortalShareConfigDto
|
|
33
|
+
*/
|
|
34
|
+
reference?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof AcceptancePortalShareConfigDto
|
|
39
|
+
*/
|
|
40
|
+
enableAcceptancePortal?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* custom due date - backend may use fallback to due date of entity if not set
|
|
43
|
+
* @type {Date}
|
|
44
|
+
* @memberof AcceptancePortalShareConfigDto
|
|
45
|
+
*/
|
|
46
|
+
acceptanceDueDate?: Date;
|
|
47
|
+
/**
|
|
48
|
+
* body part that will be put into the template
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof AcceptancePortalShareConfigDto
|
|
51
|
+
*/
|
|
52
|
+
bodyTemplate?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof AcceptancePortalShareConfigDto
|
|
57
|
+
*/
|
|
58
|
+
designTemplateId?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Array<string>}
|
|
62
|
+
* @memberof AcceptancePortalShareConfigDto
|
|
63
|
+
*/
|
|
64
|
+
attachmentIds?: Array<string>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the AcceptancePortalShareConfigDto interface.
|
|
68
|
+
*/
|
|
69
|
+
export declare function instanceOfAcceptancePortalShareConfigDto(value: object): boolean;
|
|
70
|
+
export declare function AcceptancePortalShareConfigDtoFromJSON(json: any): AcceptancePortalShareConfigDto;
|
|
71
|
+
export declare function AcceptancePortalShareConfigDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AcceptancePortalShareConfigDto;
|
|
72
|
+
export declare function AcceptancePortalShareConfigDtoToJSON(value?: AcceptancePortalShareConfigDto | null): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.AcceptancePortalShareConfigDtoToJSON = exports.AcceptancePortalShareConfigDtoFromJSONTyped = exports.AcceptancePortalShareConfigDtoFromJSON = exports.instanceOfAcceptancePortalShareConfigDto = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the AcceptancePortalShareConfigDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfAcceptancePortalShareConfigDto(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
exports.instanceOfAcceptancePortalShareConfigDto = instanceOfAcceptancePortalShareConfigDto;
|
|
25
|
+
function AcceptancePortalShareConfigDtoFromJSON(json) {
|
|
26
|
+
return AcceptancePortalShareConfigDtoFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
exports.AcceptancePortalShareConfigDtoFromJSON = AcceptancePortalShareConfigDtoFromJSON;
|
|
29
|
+
function AcceptancePortalShareConfigDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'recipientEmailAddress': !(0, runtime_1.exists)(json, 'recipientEmailAddress') ? undefined : json['recipientEmailAddress'],
|
|
35
|
+
'subject': !(0, runtime_1.exists)(json, 'subject') ? undefined : json['subject'],
|
|
36
|
+
'reference': !(0, runtime_1.exists)(json, 'reference') ? undefined : json['reference'],
|
|
37
|
+
'enableAcceptancePortal': !(0, runtime_1.exists)(json, 'enableAcceptancePortal') ? undefined : json['enableAcceptancePortal'],
|
|
38
|
+
'acceptanceDueDate': !(0, runtime_1.exists)(json, 'acceptanceDueDate') ? undefined : (new Date(json['acceptanceDueDate'])),
|
|
39
|
+
'bodyTemplate': !(0, runtime_1.exists)(json, 'bodyTemplate') ? undefined : json['bodyTemplate'],
|
|
40
|
+
'designTemplateId': !(0, runtime_1.exists)(json, 'designTemplateId') ? undefined : json['designTemplateId'],
|
|
41
|
+
'attachmentIds': !(0, runtime_1.exists)(json, 'attachmentIds') ? undefined : json['attachmentIds'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.AcceptancePortalShareConfigDtoFromJSONTyped = AcceptancePortalShareConfigDtoFromJSONTyped;
|
|
45
|
+
function AcceptancePortalShareConfigDtoToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'recipientEmailAddress': value.recipientEmailAddress,
|
|
54
|
+
'subject': value.subject,
|
|
55
|
+
'reference': value.reference,
|
|
56
|
+
'enableAcceptancePortal': value.enableAcceptancePortal,
|
|
57
|
+
'acceptanceDueDate': value.acceptanceDueDate === undefined ? undefined : (value.acceptanceDueDate.toISOString().substring(0, 10)),
|
|
58
|
+
'bodyTemplate': value.bodyTemplate,
|
|
59
|
+
'designTemplateId': value.designTemplateId,
|
|
60
|
+
'attachmentIds': value.attachmentIds,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.AcceptancePortalShareConfigDtoToJSON = AcceptancePortalShareConfigDtoToJSON;
|