@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,48 @@
|
|
|
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 CreateTagRelationsDto
|
|
15
|
+
*/
|
|
16
|
+
export interface CreateTagRelationsDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof CreateTagRelationsDto
|
|
21
|
+
*/
|
|
22
|
+
entityId: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateTagRelationsDto
|
|
27
|
+
*/
|
|
28
|
+
entityType: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof CreateTagRelationsDto
|
|
33
|
+
*/
|
|
34
|
+
tagIds?: Array<string>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<string>}
|
|
38
|
+
* @memberof CreateTagRelationsDto
|
|
39
|
+
*/
|
|
40
|
+
tagNames?: Array<string>;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the CreateTagRelationsDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfCreateTagRelationsDto(value: object): boolean;
|
|
46
|
+
export declare function CreateTagRelationsDtoFromJSON(json: any): CreateTagRelationsDto;
|
|
47
|
+
export declare function CreateTagRelationsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTagRelationsDto;
|
|
48
|
+
export declare function CreateTagRelationsDtoToJSON(value?: CreateTagRelationsDto | 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.CreateTagRelationsDtoToJSON = exports.CreateTagRelationsDtoFromJSONTyped = exports.CreateTagRelationsDtoFromJSON = exports.instanceOfCreateTagRelationsDto = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the CreateTagRelationsDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfCreateTagRelationsDto(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "entityId" in value;
|
|
23
|
+
isInstance = isInstance && "entityType" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfCreateTagRelationsDto = instanceOfCreateTagRelationsDto;
|
|
27
|
+
function CreateTagRelationsDtoFromJSON(json) {
|
|
28
|
+
return CreateTagRelationsDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.CreateTagRelationsDtoFromJSON = CreateTagRelationsDtoFromJSON;
|
|
31
|
+
function CreateTagRelationsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'entityId': json['entityId'],
|
|
37
|
+
'entityType': json['entityType'],
|
|
38
|
+
'tagIds': !(0, runtime_1.exists)(json, 'tagIds') ? undefined : json['tagIds'],
|
|
39
|
+
'tagNames': !(0, runtime_1.exists)(json, 'tagNames') ? undefined : json['tagNames'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.CreateTagRelationsDtoFromJSONTyped = CreateTagRelationsDtoFromJSONTyped;
|
|
43
|
+
function CreateTagRelationsDtoToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'entityId': value.entityId,
|
|
52
|
+
'entityType': value.entityType,
|
|
53
|
+
'tagIds': value.tagIds,
|
|
54
|
+
'tagNames': value.tagNames,
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
exports.CreateTagRelationsDtoToJSON = CreateTagRelationsDtoToJSON;
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
*/
|
|
15
|
+
export declare const DesignTemplateContextVersion: {
|
|
16
|
+
readonly V1: "V1";
|
|
17
|
+
};
|
|
18
|
+
export type DesignTemplateContextVersion = typeof DesignTemplateContextVersion[keyof typeof DesignTemplateContextVersion];
|
|
19
|
+
export declare function DesignTemplateContextVersionFromJSON(json: any): DesignTemplateContextVersion;
|
|
20
|
+
export declare function DesignTemplateContextVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): DesignTemplateContextVersion;
|
|
21
|
+
export declare function DesignTemplateContextVersionToJSON(value?: DesignTemplateContextVersion | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
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.DesignTemplateContextVersionToJSON = exports.DesignTemplateContextVersionFromJSONTyped = exports.DesignTemplateContextVersionFromJSON = exports.DesignTemplateContextVersion = void 0;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
exports.DesignTemplateContextVersion = {
|
|
21
|
+
V1: 'V1'
|
|
22
|
+
};
|
|
23
|
+
function DesignTemplateContextVersionFromJSON(json) {
|
|
24
|
+
return DesignTemplateContextVersionFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
exports.DesignTemplateContextVersionFromJSON = DesignTemplateContextVersionFromJSON;
|
|
27
|
+
function DesignTemplateContextVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
exports.DesignTemplateContextVersionFromJSONTyped = DesignTemplateContextVersionFromJSONTyped;
|
|
31
|
+
function DesignTemplateContextVersionToJSON(value) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
34
|
+
exports.DesignTemplateContextVersionToJSON = DesignTemplateContextVersionToJSON;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
+
import type { DesignTemplateContextVersion } from './DesignTemplateContextVersion';
|
|
11
12
|
import type { DesignTemplateType } from './DesignTemplateType';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
@@ -39,6 +40,12 @@ export interface DesignTemplateDto {
|
|
|
39
40
|
* @memberof DesignTemplateDto
|
|
40
41
|
*/
|
|
41
42
|
type: DesignTemplateType;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {DesignTemplateContextVersion}
|
|
46
|
+
* @memberof DesignTemplateDto
|
|
47
|
+
*/
|
|
48
|
+
contextVersion?: DesignTemplateContextVersion;
|
|
42
49
|
/**
|
|
43
50
|
*
|
|
44
51
|
* @type {string}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.DesignTemplateDtoToJSON = exports.DesignTemplateDtoFromJSONTyped = exports.DesignTemplateDtoFromJSON = exports.instanceOfDesignTemplateDto = void 0;
|
|
16
16
|
var runtime_1 = require("../runtime");
|
|
17
|
+
var DesignTemplateContextVersion_1 = require("./DesignTemplateContextVersion");
|
|
17
18
|
var DesignTemplateType_1 = require("./DesignTemplateType");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the DesignTemplateDto interface.
|
|
@@ -38,6 +39,7 @@ function DesignTemplateDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
|
|
39
40
|
'name': json['name'],
|
|
40
41
|
'type': (0, DesignTemplateType_1.DesignTemplateTypeFromJSON)(json['type']),
|
|
42
|
+
'contextVersion': !(0, runtime_1.exists)(json, 'contextVersion') ? undefined : (0, DesignTemplateContextVersion_1.DesignTemplateContextVersionFromJSON)(json['contextVersion']),
|
|
41
43
|
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
42
44
|
'defaultDesignTemplate': !(0, runtime_1.exists)(json, 'defaultDesignTemplate') ? undefined : json['defaultDesignTemplate'],
|
|
43
45
|
'template': !(0, runtime_1.exists)(json, 'template') ? undefined : json['template'],
|
|
@@ -56,6 +58,7 @@ function DesignTemplateDtoToJSON(value) {
|
|
|
56
58
|
'version': value.version,
|
|
57
59
|
'name': value.name,
|
|
58
60
|
'type': (0, DesignTemplateType_1.DesignTemplateTypeToJSON)(value.type),
|
|
61
|
+
'contextVersion': (0, DesignTemplateContextVersion_1.DesignTemplateContextVersionToJSON)(value.contextVersion),
|
|
59
62
|
'description': value.description,
|
|
60
63
|
'defaultDesignTemplate': value.defaultDesignTemplate,
|
|
61
64
|
'template': value.template,
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
export declare const DesignTemplateType: {
|
|
16
16
|
readonly Invoice: "INVOICE";
|
|
17
17
|
readonly Offer: "OFFER";
|
|
18
|
+
readonly OfferEmail: "OFFER_EMAIL";
|
|
18
19
|
readonly Letter: "LETTER";
|
|
19
20
|
readonly HospitalityReceipt: "HOSPITALITY_RECEIPT";
|
|
20
21
|
readonly DeliveryNote: "DELIVERY_NOTE";
|
|
@@ -20,6 +20,7 @@ exports.DesignTemplateTypeToJSON = exports.DesignTemplateTypeFromJSONTyped = exp
|
|
|
20
20
|
exports.DesignTemplateType = {
|
|
21
21
|
Invoice: 'INVOICE',
|
|
22
22
|
Offer: 'OFFER',
|
|
23
|
+
OfferEmail: 'OFFER_EMAIL',
|
|
23
24
|
Letter: 'LETTER',
|
|
24
25
|
HospitalityReceipt: 'HOSPITALITY_RECEIPT',
|
|
25
26
|
DeliveryNote: 'DELIVERY_NOTE',
|
|
@@ -70,6 +70,7 @@ export declare const EntityType: {
|
|
|
70
70
|
readonly LedgerStatement: "LedgerStatement";
|
|
71
71
|
readonly Center: "Center";
|
|
72
72
|
readonly CenterStatement: "CenterStatement";
|
|
73
|
+
readonly AcceptanceDocument: "AcceptanceDocument";
|
|
73
74
|
};
|
|
74
75
|
export type EntityType = typeof EntityType[keyof typeof EntityType];
|
|
75
76
|
export declare function EntityTypeFromJSON(json: any): EntityType;
|
|
@@ -74,7 +74,8 @@ exports.EntityType = {
|
|
|
74
74
|
Ledger: 'Ledger',
|
|
75
75
|
LedgerStatement: 'LedgerStatement',
|
|
76
76
|
Center: 'Center',
|
|
77
|
-
CenterStatement: 'CenterStatement'
|
|
77
|
+
CenterStatement: 'CenterStatement',
|
|
78
|
+
AcceptanceDocument: 'AcceptanceDocument'
|
|
78
79
|
};
|
|
79
80
|
function EntityTypeFromJSON(json) {
|
|
80
81
|
return EntityTypeFromJSONTyped(json, false);
|
|
@@ -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 { AcceptanceDocumentDto } from './AcceptanceDocumentDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetAllAcceptanceDocuments200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllAcceptanceDocuments200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetAllAcceptanceDocuments200Response
|
|
22
|
+
*/
|
|
23
|
+
pageNumber: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetAllAcceptanceDocuments200Response
|
|
28
|
+
*/
|
|
29
|
+
pageSize: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetAllAcceptanceDocuments200Response
|
|
34
|
+
*/
|
|
35
|
+
totalElements: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<AcceptanceDocumentDto>}
|
|
39
|
+
* @memberof GetAllAcceptanceDocuments200Response
|
|
40
|
+
*/
|
|
41
|
+
content: Array<AcceptanceDocumentDto>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GetAllAcceptanceDocuments200Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGetAllAcceptanceDocuments200Response(value: object): boolean;
|
|
47
|
+
export declare function GetAllAcceptanceDocuments200ResponseFromJSON(json: any): GetAllAcceptanceDocuments200Response;
|
|
48
|
+
export declare function GetAllAcceptanceDocuments200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllAcceptanceDocuments200Response;
|
|
49
|
+
export declare function GetAllAcceptanceDocuments200ResponseToJSON(value?: GetAllAcceptanceDocuments200Response | 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.GetAllAcceptanceDocuments200ResponseToJSON = exports.GetAllAcceptanceDocuments200ResponseFromJSONTyped = exports.GetAllAcceptanceDocuments200ResponseFromJSON = exports.instanceOfGetAllAcceptanceDocuments200Response = void 0;
|
|
16
|
+
var AcceptanceDocumentDto_1 = require("./AcceptanceDocumentDto");
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GetAllAcceptanceDocuments200Response interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGetAllAcceptanceDocuments200Response(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.instanceOfGetAllAcceptanceDocuments200Response = instanceOfGetAllAcceptanceDocuments200Response;
|
|
29
|
+
function GetAllAcceptanceDocuments200ResponseFromJSON(json) {
|
|
30
|
+
return GetAllAcceptanceDocuments200ResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.GetAllAcceptanceDocuments200ResponseFromJSON = GetAllAcceptanceDocuments200ResponseFromJSON;
|
|
33
|
+
function GetAllAcceptanceDocuments200ResponseFromJSONTyped(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(AcceptanceDocumentDto_1.AcceptanceDocumentDtoFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.GetAllAcceptanceDocuments200ResponseFromJSONTyped = GetAllAcceptanceDocuments200ResponseFromJSONTyped;
|
|
45
|
+
function GetAllAcceptanceDocuments200ResponseToJSON(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(AcceptanceDocumentDto_1.AcceptanceDocumentDtoToJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.GetAllAcceptanceDocuments200ResponseToJSON = GetAllAcceptanceDocuments200ResponseToJSON;
|
|
@@ -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 { TagDto } from './TagDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetAllTags200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllTags200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetAllTags200Response
|
|
22
|
+
*/
|
|
23
|
+
pageNumber: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetAllTags200Response
|
|
28
|
+
*/
|
|
29
|
+
pageSize: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetAllTags200Response
|
|
34
|
+
*/
|
|
35
|
+
totalElements: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<TagDto>}
|
|
39
|
+
* @memberof GetAllTags200Response
|
|
40
|
+
*/
|
|
41
|
+
content: Array<TagDto>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GetAllTags200Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGetAllTags200Response(value: object): boolean;
|
|
47
|
+
export declare function GetAllTags200ResponseFromJSON(json: any): GetAllTags200Response;
|
|
48
|
+
export declare function GetAllTags200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllTags200Response;
|
|
49
|
+
export declare function GetAllTags200ResponseToJSON(value?: GetAllTags200Response | 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.GetAllTags200ResponseToJSON = exports.GetAllTags200ResponseFromJSONTyped = exports.GetAllTags200ResponseFromJSON = exports.instanceOfGetAllTags200Response = void 0;
|
|
16
|
+
var TagDto_1 = require("./TagDto");
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GetAllTags200Response interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGetAllTags200Response(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.instanceOfGetAllTags200Response = instanceOfGetAllTags200Response;
|
|
29
|
+
function GetAllTags200ResponseFromJSON(json) {
|
|
30
|
+
return GetAllTags200ResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.GetAllTags200ResponseFromJSON = GetAllTags200ResponseFromJSON;
|
|
33
|
+
function GetAllTags200ResponseFromJSONTyped(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(TagDto_1.TagDtoFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.GetAllTags200ResponseFromJSONTyped = GetAllTags200ResponseFromJSONTyped;
|
|
45
|
+
function GetAllTags200ResponseToJSON(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(TagDto_1.TagDtoToJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.GetAllTags200ResponseToJSON = GetAllTags200ResponseToJSON;
|
|
@@ -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 LogDto
|
|
15
|
+
*/
|
|
16
|
+
export interface LogDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {Date}
|
|
20
|
+
* @memberof LogDto
|
|
21
|
+
*/
|
|
22
|
+
date: Date;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LogDto
|
|
27
|
+
*/
|
|
28
|
+
event: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the LogDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export declare function instanceOfLogDto(value: object): boolean;
|
|
34
|
+
export declare function LogDtoFromJSON(json: any): LogDto;
|
|
35
|
+
export declare function LogDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LogDto;
|
|
36
|
+
export declare function LogDtoToJSON(value?: LogDto | 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.LogDtoToJSON = exports.LogDtoFromJSONTyped = exports.LogDtoFromJSON = exports.instanceOfLogDto = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the LogDto interface.
|
|
18
|
+
*/
|
|
19
|
+
function instanceOfLogDto(value) {
|
|
20
|
+
var isInstance = true;
|
|
21
|
+
isInstance = isInstance && "date" in value;
|
|
22
|
+
isInstance = isInstance && "event" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfLogDto = instanceOfLogDto;
|
|
26
|
+
function LogDtoFromJSON(json) {
|
|
27
|
+
return LogDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.LogDtoFromJSON = LogDtoFromJSON;
|
|
30
|
+
function LogDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'date': (new Date(json['date'])),
|
|
36
|
+
'event': json['event'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.LogDtoFromJSONTyped = LogDtoFromJSONTyped;
|
|
40
|
+
function LogDtoToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'date': (value.date.toISOString()),
|
|
49
|
+
'event': value.event,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.LogDtoToJSON = LogDtoToJSON;
|
|
@@ -0,0 +1,82 @@
|
|
|
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 { AmountDto } from './AmountDto';
|
|
12
|
+
import type { InvoiceItemDto } from './InvoiceItemDto';
|
|
13
|
+
import type { InvoiceTaxItemDto } from './InvoiceTaxItemDto';
|
|
14
|
+
import type { InvoiceTextFieldsDto } from './InvoiceTextFieldsDto';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface OfferRendererDto
|
|
19
|
+
*/
|
|
20
|
+
export interface OfferRendererDto {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof OfferRendererDto
|
|
25
|
+
*/
|
|
26
|
+
offerEmail?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof OfferRendererDto
|
|
31
|
+
*/
|
|
32
|
+
offerAddress?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Date}
|
|
36
|
+
* @memberof OfferRendererDto
|
|
37
|
+
*/
|
|
38
|
+
offerDate?: Date;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof OfferRendererDto
|
|
43
|
+
*/
|
|
44
|
+
offerNumber?: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof OfferRendererDto
|
|
49
|
+
*/
|
|
50
|
+
subject?: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {AmountDto}
|
|
54
|
+
* @memberof OfferRendererDto
|
|
55
|
+
*/
|
|
56
|
+
total?: AmountDto;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Array<InvoiceItemDto>}
|
|
60
|
+
* @memberof OfferRendererDto
|
|
61
|
+
*/
|
|
62
|
+
offerItems?: Array<InvoiceItemDto>;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {Array<InvoiceTaxItemDto>}
|
|
66
|
+
* @memberof OfferRendererDto
|
|
67
|
+
*/
|
|
68
|
+
offerTaxItems?: Array<InvoiceTaxItemDto>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {InvoiceTextFieldsDto}
|
|
72
|
+
* @memberof OfferRendererDto
|
|
73
|
+
*/
|
|
74
|
+
textFields?: InvoiceTextFieldsDto;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the OfferRendererDto interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfOfferRendererDto(value: object): boolean;
|
|
80
|
+
export declare function OfferRendererDtoFromJSON(json: any): OfferRendererDto;
|
|
81
|
+
export declare function OfferRendererDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): OfferRendererDto;
|
|
82
|
+
export declare function OfferRendererDtoToJSON(value?: OfferRendererDto | null): any;
|