@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.
Files changed (49) hide show
  1. package/dist/apis/AcceptanceDocumentsApi.d.ts +64 -0
  2. package/dist/apis/AcceptanceDocumentsApi.js +267 -0
  3. package/dist/apis/AcceptancePortalDocumentsApi.d.ts +64 -0
  4. package/dist/apis/AcceptancePortalDocumentsApi.js +266 -0
  5. package/dist/apis/OffersApi.d.ts +13 -1
  6. package/dist/apis/OffersApi.js +49 -0
  7. package/dist/apis/index.d.ts +2 -0
  8. package/dist/apis/index.js +2 -0
  9. package/dist/index.d.ts +3 -4
  10. package/dist/index.js +0 -1
  11. package/dist/models/AcceptDto.d.ts +54 -0
  12. package/dist/models/AcceptDto.js +58 -0
  13. package/dist/models/AcceptanceDocumentDto.d.ts +115 -0
  14. package/dist/models/AcceptanceDocumentDto.js +90 -0
  15. package/dist/models/AcceptanceDocumentLogEntry.d.ts +43 -0
  16. package/dist/models/AcceptanceDocumentLogEntry.js +56 -0
  17. package/dist/models/AcceptanceDocumentLogEntryData.d.ts +43 -0
  18. package/dist/models/AcceptanceDocumentLogEntryData.js +57 -0
  19. package/dist/models/AcceptanceDocumentSenderInfo.d.ts +36 -0
  20. package/dist/models/AcceptanceDocumentSenderInfo.js +52 -0
  21. package/dist/models/AcceptancePortalAcceptDto.d.ts +54 -0
  22. package/dist/models/AcceptancePortalAcceptDto.js +58 -0
  23. package/dist/models/AcceptancePortalShareConfigDto.d.ts +72 -0
  24. package/dist/models/AcceptancePortalShareConfigDto.js +63 -0
  25. package/dist/models/DesignTemplateContextVersion.d.ts +21 -0
  26. package/dist/models/DesignTemplateContextVersion.js +34 -0
  27. package/dist/models/DesignTemplateDto.d.ts +7 -0
  28. package/dist/models/DesignTemplateDto.js +3 -0
  29. package/dist/models/DesignTemplateType.d.ts +1 -0
  30. package/dist/models/DesignTemplateType.js +1 -0
  31. package/dist/models/EntityType.d.ts +1 -0
  32. package/dist/models/EntityType.js +2 -1
  33. package/dist/models/GetAllAcceptanceDocuments200Response.d.ts +49 -0
  34. package/dist/models/GetAllAcceptanceDocuments200Response.js +59 -0
  35. package/dist/models/LogDto.d.ts +36 -0
  36. package/dist/models/LogDto.js +52 -0
  37. package/dist/models/OfferRendererDto.d.ts +82 -0
  38. package/dist/models/OfferRendererDto.js +69 -0
  39. package/dist/models/SenderInfoDto.d.ts +36 -0
  40. package/dist/models/SenderInfoDto.js +52 -0
  41. package/dist/models/ShareConfigDto.d.ts +72 -0
  42. package/dist/models/ShareConfigDto.js +63 -0
  43. package/dist/models/UsageMetricType.d.ts +31 -0
  44. package/dist/models/UsageMetricType.js +44 -0
  45. package/dist/models/UsageMonitorDto.d.ts +3 -18
  46. package/dist/models/UsageMonitorDto.js +4 -18
  47. package/dist/models/index.d.ts +10 -0
  48. package/dist/models/index.js +10 -0
  49. package/package.json +1 -1
@@ -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;
@@ -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,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;