@kommerz/ts-client 1.181.0 → 1.182.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/DecisionTablesApi.d.ts +75 -0
- package/dist/apis/DecisionTablesApi.js +321 -0
- package/dist/apis/InboxEmailsApi.d.ts +1 -1
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/BrevoEmailWebhookEvent.d.ts +115 -0
- package/dist/models/BrevoEmailWebhookEvent.js +78 -0
- package/dist/models/DecisionTableAggregation.d.ts +28 -0
- package/dist/models/DecisionTableAggregation.js +54 -0
- package/dist/models/DecisionTableDto.d.ts +99 -0
- package/dist/models/DecisionTableDto.js +86 -0
- package/dist/models/DecisionTableHitPolicy.d.ts +33 -0
- package/dist/models/DecisionTableHitPolicy.js +59 -0
- package/dist/models/DecisionTableInput.d.ts +43 -0
- package/dist/models/DecisionTableInput.js +56 -0
- package/dist/models/DecisionTableOutput.d.ts +45 -0
- package/dist/models/DecisionTableOutput.js +54 -0
- package/dist/models/DecisionTableRule.d.ts +43 -0
- package/dist/models/DecisionTableRule.js +56 -0
- package/dist/models/DecisionTableType.d.ts +23 -0
- package/dist/models/DecisionTableType.js +49 -0
- package/dist/models/EmailDto.d.ts +14 -1
- package/dist/models/EmailDto.js +4 -0
- package/dist/models/EmailEvent.d.ts +55 -0
- package/dist/models/EmailEvent.js +60 -0
- package/dist/models/EntityType.d.ts +1 -0
- package/dist/models/EntityType.js +2 -1
- package/dist/models/ListDecisionTables200Response.d.ts +50 -0
- package/dist/models/ListDecisionTables200Response.js +59 -0
- package/dist/models/Permissions.d.ts +4 -0
- package/dist/models/Permissions.js +5 -1
- package/dist/models/UiModule.d.ts +1 -0
- package/dist/models/UiModule.js +2 -1
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
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.DecisionTableAggregation = void 0;
|
|
16
|
+
exports.instanceOfDecisionTableAggregation = instanceOfDecisionTableAggregation;
|
|
17
|
+
exports.DecisionTableAggregationFromJSON = DecisionTableAggregationFromJSON;
|
|
18
|
+
exports.DecisionTableAggregationFromJSONTyped = DecisionTableAggregationFromJSONTyped;
|
|
19
|
+
exports.DecisionTableAggregationToJSON = DecisionTableAggregationToJSON;
|
|
20
|
+
exports.DecisionTableAggregationToJSONTyped = DecisionTableAggregationToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* aggregation of the single output of a COLLECT decision table: SUM, MIN and MAX of the numeric output
|
|
23
|
+
* values, COUNT of the matching rules
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.DecisionTableAggregation = {
|
|
28
|
+
Sum: 'SUM',
|
|
29
|
+
Min: 'MIN',
|
|
30
|
+
Max: 'MAX',
|
|
31
|
+
Count: 'COUNT'
|
|
32
|
+
};
|
|
33
|
+
function instanceOfDecisionTableAggregation(value) {
|
|
34
|
+
for (var key in exports.DecisionTableAggregation) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(exports.DecisionTableAggregation, key)) {
|
|
36
|
+
if (exports.DecisionTableAggregation[key] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
function DecisionTableAggregationFromJSON(json) {
|
|
44
|
+
return DecisionTableAggregationFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function DecisionTableAggregationFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
function DecisionTableAggregationToJSON(value) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
function DecisionTableAggregationToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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 { DecisionTableHitPolicy } from './DecisionTableHitPolicy';
|
|
12
|
+
import type { DecisionTableType } from './DecisionTableType';
|
|
13
|
+
import type { DecisionTableRule } from './DecisionTableRule';
|
|
14
|
+
import type { DecisionTableAggregation } from './DecisionTableAggregation';
|
|
15
|
+
import type { DecisionTableInput } from './DecisionTableInput';
|
|
16
|
+
import type { DecisionTableOutput } from './DecisionTableOutput';
|
|
17
|
+
/**
|
|
18
|
+
* Decision table in the style of a DMN decision table. Input expressions and output entries are FEEL
|
|
19
|
+
* expressions, input entries are FEEL unary tests. A blank input entry or "-" matches any value.
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface DecisionTableDto
|
|
23
|
+
*/
|
|
24
|
+
export interface DecisionTableDto {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof DecisionTableDto
|
|
29
|
+
*/
|
|
30
|
+
id?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof DecisionTableDto
|
|
35
|
+
*/
|
|
36
|
+
version?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof DecisionTableDto
|
|
41
|
+
*/
|
|
42
|
+
name: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof DecisionTableDto
|
|
47
|
+
*/
|
|
48
|
+
description?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {DecisionTableType}
|
|
52
|
+
* @memberof DecisionTableDto
|
|
53
|
+
*/
|
|
54
|
+
type: DecisionTableType;
|
|
55
|
+
/**
|
|
56
|
+
* the default decision table of a type is the one the application evaluates; there is at most one per type
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof DecisionTableDto
|
|
59
|
+
*/
|
|
60
|
+
defaultDecisionTable?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {DecisionTableHitPolicy}
|
|
64
|
+
* @memberof DecisionTableDto
|
|
65
|
+
*/
|
|
66
|
+
hitPolicy: DecisionTableHitPolicy;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {DecisionTableAggregation}
|
|
70
|
+
* @memberof DecisionTableDto
|
|
71
|
+
*/
|
|
72
|
+
aggregation?: DecisionTableAggregation;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Array<DecisionTableInput>}
|
|
76
|
+
* @memberof DecisionTableDto
|
|
77
|
+
*/
|
|
78
|
+
inputs: Array<DecisionTableInput>;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Array<DecisionTableOutput>}
|
|
82
|
+
* @memberof DecisionTableDto
|
|
83
|
+
*/
|
|
84
|
+
outputs: Array<DecisionTableOutput>;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {Array<DecisionTableRule>}
|
|
88
|
+
* @memberof DecisionTableDto
|
|
89
|
+
*/
|
|
90
|
+
rules: Array<DecisionTableRule>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Check if a given object implements the DecisionTableDto interface.
|
|
94
|
+
*/
|
|
95
|
+
export declare function instanceOfDecisionTableDto(value: object): value is DecisionTableDto;
|
|
96
|
+
export declare function DecisionTableDtoFromJSON(json: any): DecisionTableDto;
|
|
97
|
+
export declare function DecisionTableDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionTableDto;
|
|
98
|
+
export declare function DecisionTableDtoToJSON(json: any): DecisionTableDto;
|
|
99
|
+
export declare function DecisionTableDtoToJSONTyped(value?: DecisionTableDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,86 @@
|
|
|
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.instanceOfDecisionTableDto = instanceOfDecisionTableDto;
|
|
16
|
+
exports.DecisionTableDtoFromJSON = DecisionTableDtoFromJSON;
|
|
17
|
+
exports.DecisionTableDtoFromJSONTyped = DecisionTableDtoFromJSONTyped;
|
|
18
|
+
exports.DecisionTableDtoToJSON = DecisionTableDtoToJSON;
|
|
19
|
+
exports.DecisionTableDtoToJSONTyped = DecisionTableDtoToJSONTyped;
|
|
20
|
+
var DecisionTableHitPolicy_1 = require("./DecisionTableHitPolicy");
|
|
21
|
+
var DecisionTableType_1 = require("./DecisionTableType");
|
|
22
|
+
var DecisionTableRule_1 = require("./DecisionTableRule");
|
|
23
|
+
var DecisionTableAggregation_1 = require("./DecisionTableAggregation");
|
|
24
|
+
var DecisionTableInput_1 = require("./DecisionTableInput");
|
|
25
|
+
var DecisionTableOutput_1 = require("./DecisionTableOutput");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the DecisionTableDto interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfDecisionTableDto(value) {
|
|
30
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('hitPolicy' in value) || value['hitPolicy'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('inputs' in value) || value['inputs'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('outputs' in value) || value['outputs'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('rules' in value) || value['rules'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function DecisionTableDtoFromJSON(json) {
|
|
45
|
+
return DecisionTableDtoFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function DecisionTableDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
53
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
54
|
+
'name': json['name'],
|
|
55
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
56
|
+
'type': (0, DecisionTableType_1.DecisionTableTypeFromJSON)(json['type']),
|
|
57
|
+
'defaultDecisionTable': json['defaultDecisionTable'] == null ? undefined : json['defaultDecisionTable'],
|
|
58
|
+
'hitPolicy': (0, DecisionTableHitPolicy_1.DecisionTableHitPolicyFromJSON)(json['hitPolicy']),
|
|
59
|
+
'aggregation': json['aggregation'] == null ? undefined : (0, DecisionTableAggregation_1.DecisionTableAggregationFromJSON)(json['aggregation']),
|
|
60
|
+
'inputs': (json['inputs'].map(DecisionTableInput_1.DecisionTableInputFromJSON)),
|
|
61
|
+
'outputs': (json['outputs'].map(DecisionTableOutput_1.DecisionTableOutputFromJSON)),
|
|
62
|
+
'rules': (json['rules'].map(DecisionTableRule_1.DecisionTableRuleFromJSON)),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function DecisionTableDtoToJSON(json) {
|
|
66
|
+
return DecisionTableDtoToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function DecisionTableDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
69
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'id': value['id'],
|
|
75
|
+
'version': value['version'],
|
|
76
|
+
'name': value['name'],
|
|
77
|
+
'description': value['description'],
|
|
78
|
+
'type': (0, DecisionTableType_1.DecisionTableTypeToJSON)(value['type']),
|
|
79
|
+
'defaultDecisionTable': value['defaultDecisionTable'],
|
|
80
|
+
'hitPolicy': (0, DecisionTableHitPolicy_1.DecisionTableHitPolicyToJSON)(value['hitPolicy']),
|
|
81
|
+
'aggregation': (0, DecisionTableAggregation_1.DecisionTableAggregationToJSON)(value['aggregation']),
|
|
82
|
+
'inputs': (value['inputs'].map(DecisionTableInput_1.DecisionTableInputToJSON)),
|
|
83
|
+
'outputs': (value['outputs'].map(DecisionTableOutput_1.DecisionTableOutputToJSON)),
|
|
84
|
+
'rules': (value['rules'].map(DecisionTableRule_1.DecisionTableRuleToJSON)),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
* UNIQUE: at most one rule may match; ANY: all matching rules must yield the same output; FIRST: the first
|
|
13
|
+
* matching rule in rule order; PRIORITY: the matching rule with the highest output priority; RULE_ORDER: all
|
|
14
|
+
* matching rules in rule order; OUTPUT_ORDER: all matching rules in descending output priority; COLLECT: all
|
|
15
|
+
* matching rules, optionally reduced by an aggregation
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const DecisionTableHitPolicy: {
|
|
20
|
+
readonly Unique: "UNIQUE";
|
|
21
|
+
readonly Any: "ANY";
|
|
22
|
+
readonly First: "FIRST";
|
|
23
|
+
readonly Priority: "PRIORITY";
|
|
24
|
+
readonly RuleOrder: "RULE_ORDER";
|
|
25
|
+
readonly OutputOrder: "OUTPUT_ORDER";
|
|
26
|
+
readonly Collect: "COLLECT";
|
|
27
|
+
};
|
|
28
|
+
export type DecisionTableHitPolicy = typeof DecisionTableHitPolicy[keyof typeof DecisionTableHitPolicy];
|
|
29
|
+
export declare function instanceOfDecisionTableHitPolicy(value: any): boolean;
|
|
30
|
+
export declare function DecisionTableHitPolicyFromJSON(json: any): DecisionTableHitPolicy;
|
|
31
|
+
export declare function DecisionTableHitPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionTableHitPolicy;
|
|
32
|
+
export declare function DecisionTableHitPolicyToJSON(value?: DecisionTableHitPolicy | null): any;
|
|
33
|
+
export declare function DecisionTableHitPolicyToJSONTyped(value: any, ignoreDiscriminator: boolean): DecisionTableHitPolicy;
|
|
@@ -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.DecisionTableHitPolicy = void 0;
|
|
16
|
+
exports.instanceOfDecisionTableHitPolicy = instanceOfDecisionTableHitPolicy;
|
|
17
|
+
exports.DecisionTableHitPolicyFromJSON = DecisionTableHitPolicyFromJSON;
|
|
18
|
+
exports.DecisionTableHitPolicyFromJSONTyped = DecisionTableHitPolicyFromJSONTyped;
|
|
19
|
+
exports.DecisionTableHitPolicyToJSON = DecisionTableHitPolicyToJSON;
|
|
20
|
+
exports.DecisionTableHitPolicyToJSONTyped = DecisionTableHitPolicyToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* UNIQUE: at most one rule may match; ANY: all matching rules must yield the same output; FIRST: the first
|
|
23
|
+
* matching rule in rule order; PRIORITY: the matching rule with the highest output priority; RULE_ORDER: all
|
|
24
|
+
* matching rules in rule order; OUTPUT_ORDER: all matching rules in descending output priority; COLLECT: all
|
|
25
|
+
* matching rules, optionally reduced by an aggregation
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.DecisionTableHitPolicy = {
|
|
30
|
+
Unique: 'UNIQUE',
|
|
31
|
+
Any: 'ANY',
|
|
32
|
+
First: 'FIRST',
|
|
33
|
+
Priority: 'PRIORITY',
|
|
34
|
+
RuleOrder: 'RULE_ORDER',
|
|
35
|
+
OutputOrder: 'OUTPUT_ORDER',
|
|
36
|
+
Collect: 'COLLECT'
|
|
37
|
+
};
|
|
38
|
+
function instanceOfDecisionTableHitPolicy(value) {
|
|
39
|
+
for (var key in exports.DecisionTableHitPolicy) {
|
|
40
|
+
if (Object.prototype.hasOwnProperty.call(exports.DecisionTableHitPolicy, key)) {
|
|
41
|
+
if (exports.DecisionTableHitPolicy[key] === value) {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
function DecisionTableHitPolicyFromJSON(json) {
|
|
49
|
+
return DecisionTableHitPolicyFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function DecisionTableHitPolicyFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
function DecisionTableHitPolicyToJSON(value) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
function DecisionTableHitPolicyToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Input column
|
|
13
|
+
* @export
|
|
14
|
+
* @interface DecisionTableInput
|
|
15
|
+
*/
|
|
16
|
+
export interface DecisionTableInput {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof DecisionTableInput
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DecisionTableInput
|
|
27
|
+
*/
|
|
28
|
+
label?: string;
|
|
29
|
+
/**
|
|
30
|
+
* FEEL expression evaluated against the context of the decision
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DecisionTableInput
|
|
33
|
+
*/
|
|
34
|
+
expression: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the DecisionTableInput interface.
|
|
38
|
+
*/
|
|
39
|
+
export declare function instanceOfDecisionTableInput(value: object): value is DecisionTableInput;
|
|
40
|
+
export declare function DecisionTableInputFromJSON(json: any): DecisionTableInput;
|
|
41
|
+
export declare function DecisionTableInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionTableInput;
|
|
42
|
+
export declare function DecisionTableInputToJSON(json: any): DecisionTableInput;
|
|
43
|
+
export declare function DecisionTableInputToJSONTyped(value?: DecisionTableInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfDecisionTableInput = instanceOfDecisionTableInput;
|
|
16
|
+
exports.DecisionTableInputFromJSON = DecisionTableInputFromJSON;
|
|
17
|
+
exports.DecisionTableInputFromJSONTyped = DecisionTableInputFromJSONTyped;
|
|
18
|
+
exports.DecisionTableInputToJSON = DecisionTableInputToJSON;
|
|
19
|
+
exports.DecisionTableInputToJSONTyped = DecisionTableInputToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the DecisionTableInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfDecisionTableInput(value) {
|
|
24
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('expression' in value) || value['expression'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function DecisionTableInputFromJSON(json) {
|
|
31
|
+
return DecisionTableInputFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function DecisionTableInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'id': json['id'],
|
|
39
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
40
|
+
'expression': json['expression'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function DecisionTableInputToJSON(json) {
|
|
44
|
+
return DecisionTableInputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function DecisionTableInputToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'label': value['label'],
|
|
54
|
+
'expression': value['expression'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* Output column
|
|
13
|
+
* @export
|
|
14
|
+
* @interface DecisionTableOutput
|
|
15
|
+
*/
|
|
16
|
+
export interface DecisionTableOutput {
|
|
17
|
+
/**
|
|
18
|
+
* name of the output in the result of the decision
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof DecisionTableOutput
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DecisionTableOutput
|
|
27
|
+
*/
|
|
28
|
+
label?: string;
|
|
29
|
+
/**
|
|
30
|
+
* output values in descending priority, used by the hit policies PRIORITY and OUTPUT_ORDER;
|
|
31
|
+
* compared with the textual representation of the evaluated output entry
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof DecisionTableOutput
|
|
35
|
+
*/
|
|
36
|
+
priorityValues?: Array<string>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the DecisionTableOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfDecisionTableOutput(value: object): value is DecisionTableOutput;
|
|
42
|
+
export declare function DecisionTableOutputFromJSON(json: any): DecisionTableOutput;
|
|
43
|
+
export declare function DecisionTableOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionTableOutput;
|
|
44
|
+
export declare function DecisionTableOutputToJSON(json: any): DecisionTableOutput;
|
|
45
|
+
export declare function DecisionTableOutputToJSONTyped(value?: DecisionTableOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfDecisionTableOutput = instanceOfDecisionTableOutput;
|
|
16
|
+
exports.DecisionTableOutputFromJSON = DecisionTableOutputFromJSON;
|
|
17
|
+
exports.DecisionTableOutputFromJSONTyped = DecisionTableOutputFromJSONTyped;
|
|
18
|
+
exports.DecisionTableOutputToJSON = DecisionTableOutputToJSON;
|
|
19
|
+
exports.DecisionTableOutputToJSONTyped = DecisionTableOutputToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the DecisionTableOutput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfDecisionTableOutput(value) {
|
|
24
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function DecisionTableOutputFromJSON(json) {
|
|
29
|
+
return DecisionTableOutputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function DecisionTableOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
38
|
+
'priorityValues': json['priorityValues'] == null ? undefined : json['priorityValues'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function DecisionTableOutputToJSON(json) {
|
|
42
|
+
return DecisionTableOutputToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function DecisionTableOutputToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'label': value['label'],
|
|
52
|
+
'priorityValues': value['priorityValues'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Row in table that evaluates the input and computes the output
|
|
13
|
+
* @export
|
|
14
|
+
* @interface DecisionTableRule
|
|
15
|
+
*/
|
|
16
|
+
export interface DecisionTableRule {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof DecisionTableRule
|
|
21
|
+
*/
|
|
22
|
+
description?: string;
|
|
23
|
+
/**
|
|
24
|
+
* one FEEL unary test per input, in the order of the inputs
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof DecisionTableRule
|
|
27
|
+
*/
|
|
28
|
+
inputEntries: Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* one FEEL expression per output, in the order of the outputs
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof DecisionTableRule
|
|
33
|
+
*/
|
|
34
|
+
outputEntries: Array<string>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the DecisionTableRule interface.
|
|
38
|
+
*/
|
|
39
|
+
export declare function instanceOfDecisionTableRule(value: object): value is DecisionTableRule;
|
|
40
|
+
export declare function DecisionTableRuleFromJSON(json: any): DecisionTableRule;
|
|
41
|
+
export declare function DecisionTableRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionTableRule;
|
|
42
|
+
export declare function DecisionTableRuleToJSON(json: any): DecisionTableRule;
|
|
43
|
+
export declare function DecisionTableRuleToJSONTyped(value?: DecisionTableRule | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfDecisionTableRule = instanceOfDecisionTableRule;
|
|
16
|
+
exports.DecisionTableRuleFromJSON = DecisionTableRuleFromJSON;
|
|
17
|
+
exports.DecisionTableRuleFromJSONTyped = DecisionTableRuleFromJSONTyped;
|
|
18
|
+
exports.DecisionTableRuleToJSON = DecisionTableRuleToJSON;
|
|
19
|
+
exports.DecisionTableRuleToJSONTyped = DecisionTableRuleToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the DecisionTableRule interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfDecisionTableRule(value) {
|
|
24
|
+
if (!('inputEntries' in value) || value['inputEntries'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('outputEntries' in value) || value['outputEntries'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function DecisionTableRuleFromJSON(json) {
|
|
31
|
+
return DecisionTableRuleFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function DecisionTableRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
39
|
+
'inputEntries': json['inputEntries'],
|
|
40
|
+
'outputEntries': json['outputEntries'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function DecisionTableRuleToJSON(json) {
|
|
44
|
+
return DecisionTableRuleToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function DecisionTableRuleToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'description': value['description'],
|
|
53
|
+
'inputEntries': value['inputEntries'],
|
|
54
|
+
'outputEntries': value['outputEntries'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* purpose of the decision table, the application selects the default decision table of a type
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const DecisionTableType: {
|
|
16
|
+
readonly ReceiptAttachmentSelection: "RECEIPT_ATTACHMENT_SELECTION";
|
|
17
|
+
};
|
|
18
|
+
export type DecisionTableType = typeof DecisionTableType[keyof typeof DecisionTableType];
|
|
19
|
+
export declare function instanceOfDecisionTableType(value: any): boolean;
|
|
20
|
+
export declare function DecisionTableTypeFromJSON(json: any): DecisionTableType;
|
|
21
|
+
export declare function DecisionTableTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionTableType;
|
|
22
|
+
export declare function DecisionTableTypeToJSON(value?: DecisionTableType | null): any;
|
|
23
|
+
export declare function DecisionTableTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): DecisionTableType;
|