@kommerz/ts-client 1.138.5 → 1.139.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/index.d.ts +2 -0
- package/dist/apis/index.js +2 -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/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/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/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 +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -0,0 +1,69 @@
|
|
|
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.OfferRendererDtoToJSON = exports.OfferRendererDtoFromJSONTyped = exports.OfferRendererDtoFromJSON = exports.instanceOfOfferRendererDto = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
var AmountDto_1 = require("./AmountDto");
|
|
18
|
+
var InvoiceItemDto_1 = require("./InvoiceItemDto");
|
|
19
|
+
var InvoiceTaxItemDto_1 = require("./InvoiceTaxItemDto");
|
|
20
|
+
var InvoiceTextFieldsDto_1 = require("./InvoiceTextFieldsDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OfferRendererDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOfferRendererDto(value) {
|
|
25
|
+
var isInstance = true;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfOfferRendererDto = instanceOfOfferRendererDto;
|
|
29
|
+
function OfferRendererDtoFromJSON(json) {
|
|
30
|
+
return OfferRendererDtoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.OfferRendererDtoFromJSON = OfferRendererDtoFromJSON;
|
|
33
|
+
function OfferRendererDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'offerEmail': !(0, runtime_1.exists)(json, 'offerEmail') ? undefined : json['offerEmail'],
|
|
39
|
+
'offerAddress': !(0, runtime_1.exists)(json, 'offerAddress') ? undefined : json['offerAddress'],
|
|
40
|
+
'offerDate': !(0, runtime_1.exists)(json, 'offerDate') ? undefined : (new Date(json['offerDate'])),
|
|
41
|
+
'offerNumber': !(0, runtime_1.exists)(json, 'offerNumber') ? undefined : json['offerNumber'],
|
|
42
|
+
'subject': !(0, runtime_1.exists)(json, 'subject') ? undefined : json['subject'],
|
|
43
|
+
'total': !(0, runtime_1.exists)(json, 'total') ? undefined : (0, AmountDto_1.AmountDtoFromJSON)(json['total']),
|
|
44
|
+
'offerItems': !(0, runtime_1.exists)(json, 'offerItems') ? undefined : (json['offerItems'].map(InvoiceItemDto_1.InvoiceItemDtoFromJSON)),
|
|
45
|
+
'offerTaxItems': !(0, runtime_1.exists)(json, 'offerTaxItems') ? undefined : (json['offerTaxItems'].map(InvoiceTaxItemDto_1.InvoiceTaxItemDtoFromJSON)),
|
|
46
|
+
'textFields': !(0, runtime_1.exists)(json, 'textFields') ? undefined : (0, InvoiceTextFieldsDto_1.InvoiceTextFieldsDtoFromJSON)(json['textFields']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
exports.OfferRendererDtoFromJSONTyped = OfferRendererDtoFromJSONTyped;
|
|
50
|
+
function OfferRendererDtoToJSON(value) {
|
|
51
|
+
if (value === undefined) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
if (value === null) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'offerEmail': value.offerEmail,
|
|
59
|
+
'offerAddress': value.offerAddress,
|
|
60
|
+
'offerDate': value.offerDate === undefined ? undefined : (value.offerDate.toISOString().substring(0, 10)),
|
|
61
|
+
'offerNumber': value.offerNumber,
|
|
62
|
+
'subject': value.subject,
|
|
63
|
+
'total': (0, AmountDto_1.AmountDtoToJSON)(value.total),
|
|
64
|
+
'offerItems': value.offerItems === undefined ? undefined : (value.offerItems.map(InvoiceItemDto_1.InvoiceItemDtoToJSON)),
|
|
65
|
+
'offerTaxItems': value.offerTaxItems === undefined ? undefined : (value.offerTaxItems.map(InvoiceTaxItemDto_1.InvoiceTaxItemDtoToJSON)),
|
|
66
|
+
'textFields': (0, InvoiceTextFieldsDto_1.InvoiceTextFieldsDtoToJSON)(value.textFields),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
exports.OfferRendererDtoToJSON = OfferRendererDtoToJSON;
|
|
@@ -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 SenderInfoDto
|
|
15
|
+
*/
|
|
16
|
+
export interface SenderInfoDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof SenderInfoDto
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SenderInfoDto
|
|
27
|
+
*/
|
|
28
|
+
email: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SenderInfoDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export declare function instanceOfSenderInfoDto(value: object): boolean;
|
|
34
|
+
export declare function SenderInfoDtoFromJSON(json: any): SenderInfoDto;
|
|
35
|
+
export declare function SenderInfoDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SenderInfoDto;
|
|
36
|
+
export declare function SenderInfoDtoToJSON(value?: SenderInfoDto | 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.SenderInfoDtoToJSON = exports.SenderInfoDtoFromJSONTyped = exports.SenderInfoDtoFromJSON = exports.instanceOfSenderInfoDto = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the SenderInfoDto interface.
|
|
18
|
+
*/
|
|
19
|
+
function instanceOfSenderInfoDto(value) {
|
|
20
|
+
var isInstance = true;
|
|
21
|
+
isInstance = isInstance && "name" in value;
|
|
22
|
+
isInstance = isInstance && "email" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfSenderInfoDto = instanceOfSenderInfoDto;
|
|
26
|
+
function SenderInfoDtoFromJSON(json) {
|
|
27
|
+
return SenderInfoDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.SenderInfoDtoFromJSON = SenderInfoDtoFromJSON;
|
|
30
|
+
function SenderInfoDtoFromJSONTyped(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.SenderInfoDtoFromJSONTyped = SenderInfoDtoFromJSONTyped;
|
|
40
|
+
function SenderInfoDtoToJSON(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.SenderInfoDtoToJSON = SenderInfoDtoToJSON;
|
|
@@ -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 ShareConfigDto
|
|
15
|
+
*/
|
|
16
|
+
export interface ShareConfigDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof ShareConfigDto
|
|
21
|
+
*/
|
|
22
|
+
recipientEmailAddress?: string;
|
|
23
|
+
/**
|
|
24
|
+
* email subject
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ShareConfigDto
|
|
27
|
+
*/
|
|
28
|
+
subject?: string;
|
|
29
|
+
/**
|
|
30
|
+
* reference/subject used in the acceptance portal
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ShareConfigDto
|
|
33
|
+
*/
|
|
34
|
+
reference?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof ShareConfigDto
|
|
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 ShareConfigDto
|
|
45
|
+
*/
|
|
46
|
+
acceptanceDueDate?: Date;
|
|
47
|
+
/**
|
|
48
|
+
* body part that will be put into the template
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ShareConfigDto
|
|
51
|
+
*/
|
|
52
|
+
bodyTemplate?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ShareConfigDto
|
|
57
|
+
*/
|
|
58
|
+
designTemplateId?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Array<string>}
|
|
62
|
+
* @memberof ShareConfigDto
|
|
63
|
+
*/
|
|
64
|
+
attachmentIds?: Array<string>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the ShareConfigDto interface.
|
|
68
|
+
*/
|
|
69
|
+
export declare function instanceOfShareConfigDto(value: object): boolean;
|
|
70
|
+
export declare function ShareConfigDtoFromJSON(json: any): ShareConfigDto;
|
|
71
|
+
export declare function ShareConfigDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ShareConfigDto;
|
|
72
|
+
export declare function ShareConfigDtoToJSON(value?: ShareConfigDto | 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.ShareConfigDtoToJSON = exports.ShareConfigDtoFromJSONTyped = exports.ShareConfigDtoFromJSON = exports.instanceOfShareConfigDto = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ShareConfigDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfShareConfigDto(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
exports.instanceOfShareConfigDto = instanceOfShareConfigDto;
|
|
25
|
+
function ShareConfigDtoFromJSON(json) {
|
|
26
|
+
return ShareConfigDtoFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
exports.ShareConfigDtoFromJSON = ShareConfigDtoFromJSON;
|
|
29
|
+
function ShareConfigDtoFromJSONTyped(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.ShareConfigDtoFromJSONTyped = ShareConfigDtoFromJSONTyped;
|
|
45
|
+
function ShareConfigDtoToJSON(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.ShareConfigDtoToJSON = ShareConfigDtoToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 UsageMetricType: {
|
|
16
|
+
readonly NumInvoices: "NUM_INVOICES";
|
|
17
|
+
readonly NumUsers: "NUM_USERS";
|
|
18
|
+
readonly NumWikis: "NUM_WIKIS";
|
|
19
|
+
readonly NumKanbanboards: "NUM_KANBANBOARDS";
|
|
20
|
+
readonly NumBankAccounts: "NUM_BANK_ACCOUNTS";
|
|
21
|
+
readonly NumBankRegistrations: "NUM_BANK_REGISTRATIONS";
|
|
22
|
+
readonly VolStorage: "VOL_STORAGE";
|
|
23
|
+
readonly NumDunningLetters: "NUM_DUNNING_LETTERS";
|
|
24
|
+
readonly NumDeliveryNotes: "NUM_DELIVERY_NOTES";
|
|
25
|
+
readonly NumContracts: "NUM_CONTRACTS";
|
|
26
|
+
readonly NumOffers: "NUM_OFFERS";
|
|
27
|
+
};
|
|
28
|
+
export type UsageMetricType = typeof UsageMetricType[keyof typeof UsageMetricType];
|
|
29
|
+
export declare function UsageMetricTypeFromJSON(json: any): UsageMetricType;
|
|
30
|
+
export declare function UsageMetricTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UsageMetricType;
|
|
31
|
+
export declare function UsageMetricTypeToJSON(value?: UsageMetricType | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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.UsageMetricTypeToJSON = exports.UsageMetricTypeFromJSONTyped = exports.UsageMetricTypeFromJSON = exports.UsageMetricType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
exports.UsageMetricType = {
|
|
21
|
+
NumInvoices: 'NUM_INVOICES',
|
|
22
|
+
NumUsers: 'NUM_USERS',
|
|
23
|
+
NumWikis: 'NUM_WIKIS',
|
|
24
|
+
NumKanbanboards: 'NUM_KANBANBOARDS',
|
|
25
|
+
NumBankAccounts: 'NUM_BANK_ACCOUNTS',
|
|
26
|
+
NumBankRegistrations: 'NUM_BANK_REGISTRATIONS',
|
|
27
|
+
VolStorage: 'VOL_STORAGE',
|
|
28
|
+
NumDunningLetters: 'NUM_DUNNING_LETTERS',
|
|
29
|
+
NumDeliveryNotes: 'NUM_DELIVERY_NOTES',
|
|
30
|
+
NumContracts: 'NUM_CONTRACTS',
|
|
31
|
+
NumOffers: 'NUM_OFFERS'
|
|
32
|
+
};
|
|
33
|
+
function UsageMetricTypeFromJSON(json) {
|
|
34
|
+
return UsageMetricTypeFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.UsageMetricTypeFromJSON = UsageMetricTypeFromJSON;
|
|
37
|
+
function UsageMetricTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
exports.UsageMetricTypeFromJSONTyped = UsageMetricTypeFromJSONTyped;
|
|
41
|
+
function UsageMetricTypeToJSON(value) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
exports.UsageMetricTypeToJSON = UsageMetricTypeToJSON;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
+
import type { UsageMetricType } from './UsageMetricType';
|
|
11
12
|
/**
|
|
12
13
|
*
|
|
13
14
|
* @export
|
|
@@ -16,10 +17,10 @@
|
|
|
16
17
|
export interface UsageMonitorDto {
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
19
|
-
* @type {
|
|
20
|
+
* @type {UsageMetricType}
|
|
20
21
|
* @memberof UsageMonitorDto
|
|
21
22
|
*/
|
|
22
|
-
metric?:
|
|
23
|
+
metric?: UsageMetricType;
|
|
23
24
|
/**
|
|
24
25
|
*
|
|
25
26
|
* @type {string}
|
|
@@ -45,22 +46,6 @@ export interface UsageMonitorDto {
|
|
|
45
46
|
*/
|
|
46
47
|
used?: number;
|
|
47
48
|
}
|
|
48
|
-
/**
|
|
49
|
-
* @export
|
|
50
|
-
*/
|
|
51
|
-
export declare const UsageMonitorDtoMetricEnum: {
|
|
52
|
-
readonly NumInvoices: "NUM_INVOICES";
|
|
53
|
-
readonly NumUsers: "NUM_USERS";
|
|
54
|
-
readonly NumWikis: "NUM_WIKIS";
|
|
55
|
-
readonly NumKanbanboards: "NUM_KANBANBOARDS";
|
|
56
|
-
readonly NumBankAccounts: "NUM_BANK_ACCOUNTS";
|
|
57
|
-
readonly NumBankRegistrations: "NUM_BANK_REGISTRATIONS";
|
|
58
|
-
readonly VolStorage: "VOL_STORAGE";
|
|
59
|
-
readonly NumDunningLetters: "NUM_DUNNING_LETTERS";
|
|
60
|
-
readonly NumDeliveryNotes: "NUM_DELIVERY_NOTES";
|
|
61
|
-
readonly NumContracts: "NUM_CONTRACTS";
|
|
62
|
-
};
|
|
63
|
-
export type UsageMonitorDtoMetricEnum = typeof UsageMonitorDtoMetricEnum[keyof typeof UsageMonitorDtoMetricEnum];
|
|
64
49
|
/**
|
|
65
50
|
* @export
|
|
66
51
|
*/
|
|
@@ -12,23 +12,9 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UsageMonitorDtoToJSON = exports.UsageMonitorDtoFromJSONTyped = exports.UsageMonitorDtoFromJSON = exports.instanceOfUsageMonitorDto = exports.UsageMonitorDtoReferenceEnum = exports.UsageMonitorDtoMeterEnum =
|
|
15
|
+
exports.UsageMonitorDtoToJSON = exports.UsageMonitorDtoFromJSONTyped = exports.UsageMonitorDtoFromJSON = exports.instanceOfUsageMonitorDto = exports.UsageMonitorDtoReferenceEnum = exports.UsageMonitorDtoMeterEnum = void 0;
|
|
16
16
|
var runtime_1 = require("../runtime");
|
|
17
|
-
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
exports.UsageMonitorDtoMetricEnum = {
|
|
21
|
-
NumInvoices: 'NUM_INVOICES',
|
|
22
|
-
NumUsers: 'NUM_USERS',
|
|
23
|
-
NumWikis: 'NUM_WIKIS',
|
|
24
|
-
NumKanbanboards: 'NUM_KANBANBOARDS',
|
|
25
|
-
NumBankAccounts: 'NUM_BANK_ACCOUNTS',
|
|
26
|
-
NumBankRegistrations: 'NUM_BANK_REGISTRATIONS',
|
|
27
|
-
VolStorage: 'VOL_STORAGE',
|
|
28
|
-
NumDunningLetters: 'NUM_DUNNING_LETTERS',
|
|
29
|
-
NumDeliveryNotes: 'NUM_DELIVERY_NOTES',
|
|
30
|
-
NumContracts: 'NUM_CONTRACTS'
|
|
31
|
-
};
|
|
17
|
+
var UsageMetricType_1 = require("./UsageMetricType");
|
|
32
18
|
/**
|
|
33
19
|
* @export
|
|
34
20
|
*/
|
|
@@ -61,7 +47,7 @@ function UsageMonitorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
47
|
return json;
|
|
62
48
|
}
|
|
63
49
|
return {
|
|
64
|
-
'metric': !(0, runtime_1.exists)(json, 'metric') ? undefined : json['metric'],
|
|
50
|
+
'metric': !(0, runtime_1.exists)(json, 'metric') ? undefined : (0, UsageMetricType_1.UsageMetricTypeFromJSON)(json['metric']),
|
|
65
51
|
'meter': !(0, runtime_1.exists)(json, 'meter') ? undefined : json['meter'],
|
|
66
52
|
'reference': !(0, runtime_1.exists)(json, 'reference') ? undefined : json['reference'],
|
|
67
53
|
'limit': !(0, runtime_1.exists)(json, 'limit') ? undefined : json['limit'],
|
|
@@ -77,7 +63,7 @@ function UsageMonitorDtoToJSON(value) {
|
|
|
77
63
|
return null;
|
|
78
64
|
}
|
|
79
65
|
return {
|
|
80
|
-
'metric': value.metric,
|
|
66
|
+
'metric': (0, UsageMetricType_1.UsageMetricTypeToJSON)(value.metric),
|
|
81
67
|
'meter': value.meter,
|
|
82
68
|
'reference': value.reference,
|
|
83
69
|
'limit': value.limit,
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export * from './AbsenceEntryDto';
|
|
2
2
|
export * from './AbsenceTypeDto';
|
|
3
|
+
export * from './AcceptanceDocumentDto';
|
|
4
|
+
export * from './AcceptanceDocumentLogEntry';
|
|
5
|
+
export * from './AcceptanceDocumentLogEntryData';
|
|
6
|
+
export * from './AcceptanceDocumentSenderInfo';
|
|
7
|
+
export * from './AcceptancePortalAcceptDto';
|
|
8
|
+
export * from './AcceptancePortalShareConfigDto';
|
|
3
9
|
export * from './AccessShareDto';
|
|
4
10
|
export * from './AccessTokenDto';
|
|
5
11
|
export * from './AccountingCenterDto';
|
|
@@ -54,6 +60,7 @@ export * from './CreateTenantRequest';
|
|
|
54
60
|
export * from './CustomerDto';
|
|
55
61
|
export * from './DeliveryNoteDto';
|
|
56
62
|
export * from './DeliveryNoteItemDto';
|
|
63
|
+
export * from './DesignTemplateContextVersion';
|
|
57
64
|
export * from './DesignTemplateDto';
|
|
58
65
|
export * from './DesignTemplateType';
|
|
59
66
|
export * from './DocumentTemplateDto';
|
|
@@ -74,6 +81,7 @@ export * from './FileTagDto';
|
|
|
74
81
|
export * from './FilterableEndpointDto';
|
|
75
82
|
export * from './GetAllAbsenceEntries200Response';
|
|
76
83
|
export * from './GetAllAbsenceTypes200Response';
|
|
84
|
+
export * from './GetAllAcceptanceDocuments200Response';
|
|
77
85
|
export * from './GetAllAccessTokens200Response';
|
|
78
86
|
export * from './GetAllAccountingCenterStatements200Response';
|
|
79
87
|
export * from './GetAllAccountingCenters200Response';
|
|
@@ -163,6 +171,7 @@ export * from './NotificationTargetDto';
|
|
|
163
171
|
export * from './NotificationTargetOrderDto';
|
|
164
172
|
export * from './NotifierIdType';
|
|
165
173
|
export * from './OfferDto';
|
|
174
|
+
export * from './OfferRendererDto';
|
|
166
175
|
export * from './OkrKeyResultDto';
|
|
167
176
|
export * from './OkrObjectiveDto';
|
|
168
177
|
export * from './PageResponse';
|
|
@@ -198,6 +207,7 @@ export * from './TimeTrackingCalendarDayDto';
|
|
|
198
207
|
export * from './TimeTrackingCalendarDto';
|
|
199
208
|
export * from './TimesDto';
|
|
200
209
|
export * from './UnitDto';
|
|
210
|
+
export * from './UsageMetricType';
|
|
201
211
|
export * from './UsageMonitorDto';
|
|
202
212
|
export * from './UserApprovalDto';
|
|
203
213
|
export * from './UserDto';
|