@kommerz/ts-client 1.136.2 → 1.137.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 (33) hide show
  1. package/dist/apis/AbsenceEntriesApi.d.ts +2 -2
  2. package/dist/apis/AbsenceEntriesApi.js +2 -2
  3. package/dist/apis/ContractStatusApi.d.ts +75 -0
  4. package/dist/apis/ContractStatusApi.js +313 -0
  5. package/dist/apis/ContractTypesApi.d.ts +75 -0
  6. package/dist/apis/ContractTypesApi.js +313 -0
  7. package/dist/apis/ContractsApi.d.ts +75 -0
  8. package/dist/apis/ContractsApi.js +313 -0
  9. package/dist/apis/index.d.ts +3 -0
  10. package/dist/apis/index.js +3 -0
  11. package/dist/models/ContractDto.d.ts +96 -0
  12. package/dist/models/ContractDto.js +72 -0
  13. package/dist/models/ContractStatusDto.d.ts +54 -0
  14. package/dist/models/ContractStatusDto.js +59 -0
  15. package/dist/models/ContractTypeAttributeDto.d.ts +46 -0
  16. package/dist/models/ContractTypeAttributeDto.js +61 -0
  17. package/dist/models/ContractTypeDto.d.ts +55 -0
  18. package/dist/models/ContractTypeDto.js +60 -0
  19. package/dist/models/EntityType.d.ts +3 -0
  20. package/dist/models/EntityType.js +3 -0
  21. package/dist/models/GetAllContractStatus200Response.d.ts +49 -0
  22. package/dist/models/GetAllContractStatus200Response.js +59 -0
  23. package/dist/models/GetAllContractTypes200Response.d.ts +49 -0
  24. package/dist/models/GetAllContractTypes200Response.js +59 -0
  25. package/dist/models/GetAllContracts200Response.d.ts +49 -0
  26. package/dist/models/GetAllContracts200Response.js +59 -0
  27. package/dist/models/IdentifierType.d.ts +1 -0
  28. package/dist/models/IdentifierType.js +2 -1
  29. package/dist/models/UsageMonitorDto.d.ts +1 -0
  30. package/dist/models/UsageMonitorDto.js +2 -1
  31. package/dist/models/index.d.ts +7 -0
  32. package/dist/models/index.js +7 -0
  33. package/package.json +1 -1
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Kommerz API Specification
6
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
7
+ *
8
+ * Contact: info@kommerz.app
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ContractTypeAttributeDtoToJSON = exports.ContractTypeAttributeDtoFromJSONTyped = exports.ContractTypeAttributeDtoFromJSON = exports.instanceOfContractTypeAttributeDto = exports.ContractTypeAttributeDtoValueTypeEnum = void 0;
16
+ /**
17
+ * @export
18
+ */
19
+ exports.ContractTypeAttributeDtoValueTypeEnum = {
20
+ String: 'STRING',
21
+ Date: 'DATE',
22
+ Number: 'NUMBER',
23
+ Boolean: 'BOOLEAN'
24
+ };
25
+ /**
26
+ * Check if a given object implements the ContractTypeAttributeDto interface.
27
+ */
28
+ function instanceOfContractTypeAttributeDto(value) {
29
+ var isInstance = true;
30
+ isInstance = isInstance && "key" in value;
31
+ isInstance = isInstance && "valueType" in value;
32
+ return isInstance;
33
+ }
34
+ exports.instanceOfContractTypeAttributeDto = instanceOfContractTypeAttributeDto;
35
+ function ContractTypeAttributeDtoFromJSON(json) {
36
+ return ContractTypeAttributeDtoFromJSONTyped(json, false);
37
+ }
38
+ exports.ContractTypeAttributeDtoFromJSON = ContractTypeAttributeDtoFromJSON;
39
+ function ContractTypeAttributeDtoFromJSONTyped(json, ignoreDiscriminator) {
40
+ if ((json === undefined) || (json === null)) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'key': json['key'],
45
+ 'valueType': json['valueType'],
46
+ };
47
+ }
48
+ exports.ContractTypeAttributeDtoFromJSONTyped = ContractTypeAttributeDtoFromJSONTyped;
49
+ function ContractTypeAttributeDtoToJSON(value) {
50
+ if (value === undefined) {
51
+ return undefined;
52
+ }
53
+ if (value === null) {
54
+ return null;
55
+ }
56
+ return {
57
+ 'key': value.key,
58
+ 'valueType': value.valueType,
59
+ };
60
+ }
61
+ exports.ContractTypeAttributeDtoToJSON = ContractTypeAttributeDtoToJSON;
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Kommerz API Specification
3
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
4
+ *
5
+ * Contact: info@kommerz.app
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ import type { ContractTypeAttributeDto } from './ContractTypeAttributeDto';
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ContractTypeDto
16
+ */
17
+ export interface ContractTypeDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ContractTypeDto
22
+ */
23
+ id?: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ContractTypeDto
28
+ */
29
+ version?: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ContractTypeDto
34
+ */
35
+ typeId: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ContractTypeDto
40
+ */
41
+ name: string;
42
+ /**
43
+ *
44
+ * @type {Array<ContractTypeAttributeDto>}
45
+ * @memberof ContractTypeDto
46
+ */
47
+ attributes?: Array<ContractTypeAttributeDto>;
48
+ }
49
+ /**
50
+ * Check if a given object implements the ContractTypeDto interface.
51
+ */
52
+ export declare function instanceOfContractTypeDto(value: object): boolean;
53
+ export declare function ContractTypeDtoFromJSON(json: any): ContractTypeDto;
54
+ export declare function ContractTypeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractTypeDto;
55
+ export declare function ContractTypeDtoToJSON(value?: ContractTypeDto | null): any;
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Kommerz API Specification
6
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
7
+ *
8
+ * Contact: info@kommerz.app
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ContractTypeDtoToJSON = exports.ContractTypeDtoFromJSONTyped = exports.ContractTypeDtoFromJSON = exports.instanceOfContractTypeDto = void 0;
16
+ var runtime_1 = require("../runtime");
17
+ var ContractTypeAttributeDto_1 = require("./ContractTypeAttributeDto");
18
+ /**
19
+ * Check if a given object implements the ContractTypeDto interface.
20
+ */
21
+ function instanceOfContractTypeDto(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "typeId" in value;
24
+ isInstance = isInstance && "name" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfContractTypeDto = instanceOfContractTypeDto;
28
+ function ContractTypeDtoFromJSON(json) {
29
+ return ContractTypeDtoFromJSONTyped(json, false);
30
+ }
31
+ exports.ContractTypeDtoFromJSON = ContractTypeDtoFromJSON;
32
+ function ContractTypeDtoFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
38
+ 'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
39
+ 'typeId': json['typeId'],
40
+ 'name': json['name'],
41
+ 'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : (json['attributes'].map(ContractTypeAttributeDto_1.ContractTypeAttributeDtoFromJSON)),
42
+ };
43
+ }
44
+ exports.ContractTypeDtoFromJSONTyped = ContractTypeDtoFromJSONTyped;
45
+ function ContractTypeDtoToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'id': value.id,
54
+ 'version': value.version,
55
+ 'typeId': value.typeId,
56
+ 'name': value.name,
57
+ 'attributes': value.attributes === undefined ? undefined : (value.attributes.map(ContractTypeAttributeDto_1.ContractTypeAttributeDtoToJSON)),
58
+ };
59
+ }
60
+ exports.ContractTypeDtoToJSON = ContractTypeDtoToJSON;
@@ -59,6 +59,9 @@ export declare const EntityType: {
59
59
  readonly InboxEmail: "InboxEmail";
60
60
  readonly DeliveryNote: "DeliveryNote";
61
61
  readonly DunningLetter: "DunningLetter";
62
+ readonly Contract: "Contract";
63
+ readonly ContractType: "ContractType";
64
+ readonly ContractStatus: "ContractStatus";
62
65
  readonly Receipt: "Receipt";
63
66
  readonly Settlement: "Settlement";
64
67
  readonly Transaction: "Transaction";
@@ -64,6 +64,9 @@ exports.EntityType = {
64
64
  InboxEmail: 'InboxEmail',
65
65
  DeliveryNote: 'DeliveryNote',
66
66
  DunningLetter: 'DunningLetter',
67
+ Contract: 'Contract',
68
+ ContractType: 'ContractType',
69
+ ContractStatus: 'ContractStatus',
67
70
  Receipt: 'Receipt',
68
71
  Settlement: 'Settlement',
69
72
  Transaction: 'Transaction',
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Kommerz API Specification
3
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
4
+ *
5
+ * Contact: info@kommerz.app
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ import type { ContractStatusDto } from './ContractStatusDto';
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetAllContractStatus200Response
16
+ */
17
+ export interface GetAllContractStatus200Response {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof GetAllContractStatus200Response
22
+ */
23
+ pageNumber: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof GetAllContractStatus200Response
28
+ */
29
+ pageSize: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof GetAllContractStatus200Response
34
+ */
35
+ totalElements: number;
36
+ /**
37
+ *
38
+ * @type {Array<ContractStatusDto>}
39
+ * @memberof GetAllContractStatus200Response
40
+ */
41
+ content: Array<ContractStatusDto>;
42
+ }
43
+ /**
44
+ * Check if a given object implements the GetAllContractStatus200Response interface.
45
+ */
46
+ export declare function instanceOfGetAllContractStatus200Response(value: object): boolean;
47
+ export declare function GetAllContractStatus200ResponseFromJSON(json: any): GetAllContractStatus200Response;
48
+ export declare function GetAllContractStatus200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllContractStatus200Response;
49
+ export declare function GetAllContractStatus200ResponseToJSON(value?: GetAllContractStatus200Response | null): any;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Kommerz API Specification
6
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
7
+ *
8
+ * Contact: info@kommerz.app
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.GetAllContractStatus200ResponseToJSON = exports.GetAllContractStatus200ResponseFromJSONTyped = exports.GetAllContractStatus200ResponseFromJSON = exports.instanceOfGetAllContractStatus200Response = void 0;
16
+ var ContractStatusDto_1 = require("./ContractStatusDto");
17
+ /**
18
+ * Check if a given object implements the GetAllContractStatus200Response interface.
19
+ */
20
+ function instanceOfGetAllContractStatus200Response(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "pageNumber" in value;
23
+ isInstance = isInstance && "pageSize" in value;
24
+ isInstance = isInstance && "totalElements" in value;
25
+ isInstance = isInstance && "content" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfGetAllContractStatus200Response = instanceOfGetAllContractStatus200Response;
29
+ function GetAllContractStatus200ResponseFromJSON(json) {
30
+ return GetAllContractStatus200ResponseFromJSONTyped(json, false);
31
+ }
32
+ exports.GetAllContractStatus200ResponseFromJSON = GetAllContractStatus200ResponseFromJSON;
33
+ function GetAllContractStatus200ResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pageNumber': json['pageNumber'],
39
+ 'pageSize': json['pageSize'],
40
+ 'totalElements': json['totalElements'],
41
+ 'content': (json['content'].map(ContractStatusDto_1.ContractStatusDtoFromJSON)),
42
+ };
43
+ }
44
+ exports.GetAllContractStatus200ResponseFromJSONTyped = GetAllContractStatus200ResponseFromJSONTyped;
45
+ function GetAllContractStatus200ResponseToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'pageNumber': value.pageNumber,
54
+ 'pageSize': value.pageSize,
55
+ 'totalElements': value.totalElements,
56
+ 'content': (value.content.map(ContractStatusDto_1.ContractStatusDtoToJSON)),
57
+ };
58
+ }
59
+ exports.GetAllContractStatus200ResponseToJSON = GetAllContractStatus200ResponseToJSON;
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Kommerz API Specification
3
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
4
+ *
5
+ * Contact: info@kommerz.app
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ import type { ContractTypeDto } from './ContractTypeDto';
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetAllContractTypes200Response
16
+ */
17
+ export interface GetAllContractTypes200Response {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof GetAllContractTypes200Response
22
+ */
23
+ pageNumber: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof GetAllContractTypes200Response
28
+ */
29
+ pageSize: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof GetAllContractTypes200Response
34
+ */
35
+ totalElements: number;
36
+ /**
37
+ *
38
+ * @type {Array<ContractTypeDto>}
39
+ * @memberof GetAllContractTypes200Response
40
+ */
41
+ content: Array<ContractTypeDto>;
42
+ }
43
+ /**
44
+ * Check if a given object implements the GetAllContractTypes200Response interface.
45
+ */
46
+ export declare function instanceOfGetAllContractTypes200Response(value: object): boolean;
47
+ export declare function GetAllContractTypes200ResponseFromJSON(json: any): GetAllContractTypes200Response;
48
+ export declare function GetAllContractTypes200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllContractTypes200Response;
49
+ export declare function GetAllContractTypes200ResponseToJSON(value?: GetAllContractTypes200Response | null): any;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Kommerz API Specification
6
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
7
+ *
8
+ * Contact: info@kommerz.app
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.GetAllContractTypes200ResponseToJSON = exports.GetAllContractTypes200ResponseFromJSONTyped = exports.GetAllContractTypes200ResponseFromJSON = exports.instanceOfGetAllContractTypes200Response = void 0;
16
+ var ContractTypeDto_1 = require("./ContractTypeDto");
17
+ /**
18
+ * Check if a given object implements the GetAllContractTypes200Response interface.
19
+ */
20
+ function instanceOfGetAllContractTypes200Response(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "pageNumber" in value;
23
+ isInstance = isInstance && "pageSize" in value;
24
+ isInstance = isInstance && "totalElements" in value;
25
+ isInstance = isInstance && "content" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfGetAllContractTypes200Response = instanceOfGetAllContractTypes200Response;
29
+ function GetAllContractTypes200ResponseFromJSON(json) {
30
+ return GetAllContractTypes200ResponseFromJSONTyped(json, false);
31
+ }
32
+ exports.GetAllContractTypes200ResponseFromJSON = GetAllContractTypes200ResponseFromJSON;
33
+ function GetAllContractTypes200ResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pageNumber': json['pageNumber'],
39
+ 'pageSize': json['pageSize'],
40
+ 'totalElements': json['totalElements'],
41
+ 'content': (json['content'].map(ContractTypeDto_1.ContractTypeDtoFromJSON)),
42
+ };
43
+ }
44
+ exports.GetAllContractTypes200ResponseFromJSONTyped = GetAllContractTypes200ResponseFromJSONTyped;
45
+ function GetAllContractTypes200ResponseToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'pageNumber': value.pageNumber,
54
+ 'pageSize': value.pageSize,
55
+ 'totalElements': value.totalElements,
56
+ 'content': (value.content.map(ContractTypeDto_1.ContractTypeDtoToJSON)),
57
+ };
58
+ }
59
+ exports.GetAllContractTypes200ResponseToJSON = GetAllContractTypes200ResponseToJSON;
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Kommerz API Specification
3
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
4
+ *
5
+ * Contact: info@kommerz.app
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ import type { ContractDto } from './ContractDto';
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetAllContracts200Response
16
+ */
17
+ export interface GetAllContracts200Response {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof GetAllContracts200Response
22
+ */
23
+ pageNumber: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof GetAllContracts200Response
28
+ */
29
+ pageSize: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof GetAllContracts200Response
34
+ */
35
+ totalElements: number;
36
+ /**
37
+ *
38
+ * @type {Array<ContractDto>}
39
+ * @memberof GetAllContracts200Response
40
+ */
41
+ content: Array<ContractDto>;
42
+ }
43
+ /**
44
+ * Check if a given object implements the GetAllContracts200Response interface.
45
+ */
46
+ export declare function instanceOfGetAllContracts200Response(value: object): boolean;
47
+ export declare function GetAllContracts200ResponseFromJSON(json: any): GetAllContracts200Response;
48
+ export declare function GetAllContracts200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllContracts200Response;
49
+ export declare function GetAllContracts200ResponseToJSON(value?: GetAllContracts200Response | null): any;
@@ -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.GetAllContracts200ResponseToJSON = exports.GetAllContracts200ResponseFromJSONTyped = exports.GetAllContracts200ResponseFromJSON = exports.instanceOfGetAllContracts200Response = void 0;
16
+ var ContractDto_1 = require("./ContractDto");
17
+ /**
18
+ * Check if a given object implements the GetAllContracts200Response interface.
19
+ */
20
+ function instanceOfGetAllContracts200Response(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.instanceOfGetAllContracts200Response = instanceOfGetAllContracts200Response;
29
+ function GetAllContracts200ResponseFromJSON(json) {
30
+ return GetAllContracts200ResponseFromJSONTyped(json, false);
31
+ }
32
+ exports.GetAllContracts200ResponseFromJSON = GetAllContracts200ResponseFromJSON;
33
+ function GetAllContracts200ResponseFromJSONTyped(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(ContractDto_1.ContractDtoFromJSON)),
42
+ };
43
+ }
44
+ exports.GetAllContracts200ResponseFromJSONTyped = GetAllContracts200ResponseFromJSONTyped;
45
+ function GetAllContracts200ResponseToJSON(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(ContractDto_1.ContractDtoToJSON)),
57
+ };
58
+ }
59
+ exports.GetAllContracts200ResponseToJSON = GetAllContracts200ResponseToJSON;
@@ -19,6 +19,7 @@ export declare const IdentifierType: {
19
19
  readonly DeliveryNote: "DELIVERY_NOTE";
20
20
  readonly DunningLetter: "DUNNING_LETTER";
21
21
  readonly HospitalityReceipt: "HOSPITALITY_RECEIPT";
22
+ readonly Contract: "CONTRACT";
22
23
  };
23
24
  export type IdentifierType = typeof IdentifierType[keyof typeof IdentifierType];
24
25
  export declare function IdentifierTypeFromJSON(json: any): IdentifierType;
@@ -23,7 +23,8 @@ exports.IdentifierType = {
23
23
  Offer: 'OFFER',
24
24
  DeliveryNote: 'DELIVERY_NOTE',
25
25
  DunningLetter: 'DUNNING_LETTER',
26
- HospitalityReceipt: 'HOSPITALITY_RECEIPT'
26
+ HospitalityReceipt: 'HOSPITALITY_RECEIPT',
27
+ Contract: 'CONTRACT'
27
28
  };
28
29
  function IdentifierTypeFromJSON(json) {
29
30
  return IdentifierTypeFromJSONTyped(json, false);
@@ -58,6 +58,7 @@ export declare const UsageMonitorDtoMetricEnum: {
58
58
  readonly VolStorage: "VOL_STORAGE";
59
59
  readonly NumDunningLetters: "NUM_DUNNING_LETTERS";
60
60
  readonly NumDeliveryNotes: "NUM_DELIVERY_NOTES";
61
+ readonly NumContracts: "NUM_CONTRACTS";
61
62
  };
62
63
  export type UsageMonitorDtoMetricEnum = typeof UsageMonitorDtoMetricEnum[keyof typeof UsageMonitorDtoMetricEnum];
63
64
  /**
@@ -26,7 +26,8 @@ exports.UsageMonitorDtoMetricEnum = {
26
26
  NumBankRegistrations: 'NUM_BANK_REGISTRATIONS',
27
27
  VolStorage: 'VOL_STORAGE',
28
28
  NumDunningLetters: 'NUM_DUNNING_LETTERS',
29
- NumDeliveryNotes: 'NUM_DELIVERY_NOTES'
29
+ NumDeliveryNotes: 'NUM_DELIVERY_NOTES',
30
+ NumContracts: 'NUM_CONTRACTS'
30
31
  };
31
32
  /**
32
33
  * @export
@@ -46,6 +46,10 @@ export * from './CommentDto';
46
46
  export * from './ConfigKey';
47
47
  export * from './ConfigurationDto';
48
48
  export * from './ContactDto';
49
+ export * from './ContractDto';
50
+ export * from './ContractStatusDto';
51
+ export * from './ContractTypeAttributeDto';
52
+ export * from './ContractTypeDto';
49
53
  export * from './CreateTenantRequest';
50
54
  export * from './CustomerDto';
51
55
  export * from './DeliveryNoteDto';
@@ -88,6 +92,9 @@ export * from './GetAllCalendarEntries200Response';
88
92
  export * from './GetAllCalendarEntryTypes200Response';
89
93
  export * from './GetAllComments200Response';
90
94
  export * from './GetAllConfigurations200Response';
95
+ export * from './GetAllContractStatus200Response';
96
+ export * from './GetAllContractTypes200Response';
97
+ export * from './GetAllContracts200Response';
91
98
  export * from './GetAllCustomers200Response';
92
99
  export * from './GetAllDeliveryNotes200Response';
93
100
  export * from './GetAllDesignTemplates200Response';
@@ -64,6 +64,10 @@ __exportStar(require("./CommentDto"), exports);
64
64
  __exportStar(require("./ConfigKey"), exports);
65
65
  __exportStar(require("./ConfigurationDto"), exports);
66
66
  __exportStar(require("./ContactDto"), exports);
67
+ __exportStar(require("./ContractDto"), exports);
68
+ __exportStar(require("./ContractStatusDto"), exports);
69
+ __exportStar(require("./ContractTypeAttributeDto"), exports);
70
+ __exportStar(require("./ContractTypeDto"), exports);
67
71
  __exportStar(require("./CreateTenantRequest"), exports);
68
72
  __exportStar(require("./CustomerDto"), exports);
69
73
  __exportStar(require("./DeliveryNoteDto"), exports);
@@ -106,6 +110,9 @@ __exportStar(require("./GetAllCalendarEntries200Response"), exports);
106
110
  __exportStar(require("./GetAllCalendarEntryTypes200Response"), exports);
107
111
  __exportStar(require("./GetAllComments200Response"), exports);
108
112
  __exportStar(require("./GetAllConfigurations200Response"), exports);
113
+ __exportStar(require("./GetAllContractStatus200Response"), exports);
114
+ __exportStar(require("./GetAllContractTypes200Response"), exports);
115
+ __exportStar(require("./GetAllContracts200Response"), exports);
109
116
  __exportStar(require("./GetAllCustomers200Response"), exports);
110
117
  __exportStar(require("./GetAllDeliveryNotes200Response"), exports);
111
118
  __exportStar(require("./GetAllDesignTemplates200Response"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kommerz/ts-client",
3
- "version": "1.136.2",
3
+ "version": "1.137.0",
4
4
  "description": "Typescript client for Kommerz API",
5
5
  "author": "Kommerz.App",
6
6
  "license": "MIT",