@emilgroup/validation-rules-sdk 1.0.1-beta.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/.openapi-generator/FILES +30 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/health-checks-api.ts +150 -0
- package/api/investigation-blocks-api.ts +693 -0
- package/api/validation-rules-api.ts +557 -0
- package/api.ts +31 -0
- package/base.ts +331 -0
- package/common.ts +198 -0
- package/configuration.ts +110 -0
- package/dist/api/health-checks-api.d.ts +87 -0
- package/dist/api/health-checks-api.js +218 -0
- package/dist/api/investigation-blocks-api.d.ts +393 -0
- package/dist/api/investigation-blocks-api.js +644 -0
- package/dist/api/validation-rules-api.d.ts +318 -0
- package/dist/api/validation-rules-api.js +537 -0
- package/dist/api.d.ts +14 -0
- package/dist/api.js +32 -0
- package/dist/base.d.ts +86 -0
- package/dist/base.js +367 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +89 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/create-investigation-block-request-dto.d.ts +41 -0
- package/dist/models/create-investigation-block-request-dto.js +20 -0
- package/dist/models/create-investigation-block-response-class.d.ts +25 -0
- package/dist/models/create-investigation-block-response-class.js +15 -0
- package/dist/models/create-validation-rule-request-dto.d.ts +83 -0
- package/dist/models/create-validation-rule-request-dto.js +20 -0
- package/dist/models/create-validation-rule-response-class.d.ts +25 -0
- package/dist/models/create-validation-rule-response-class.js +15 -0
- package/dist/models/get-investigation-block-response-class.d.ts +25 -0
- package/dist/models/get-investigation-block-response-class.js +15 -0
- package/dist/models/get-validation-rule-response-class.d.ts +25 -0
- package/dist/models/get-validation-rule-response-class.js +15 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +30 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/investigation-block-class.d.ts +90 -0
- package/dist/models/investigation-block-class.js +15 -0
- package/dist/models/list-investigation-blocks-response-class.d.ts +43 -0
- package/dist/models/list-investigation-blocks-response-class.js +15 -0
- package/dist/models/list-validation-rules-response-class.d.ts +43 -0
- package/dist/models/list-validation-rules-response-class.js +15 -0
- package/dist/models/update-investigation-block-request-dto.d.ts +59 -0
- package/dist/models/update-investigation-block-request-dto.js +25 -0
- package/dist/models/update-investigation-block-response-class.d.ts +25 -0
- package/dist/models/update-investigation-block-response-class.js +15 -0
- package/dist/models/validation-rule-class.d.ts +119 -0
- package/dist/models/validation-rule-class.js +20 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/create-investigation-block-request-dto.ts +50 -0
- package/models/create-investigation-block-response-class.ts +31 -0
- package/models/create-validation-rule-request-dto.ts +92 -0
- package/models/create-validation-rule-response-class.ts +31 -0
- package/models/get-investigation-block-response-class.ts +31 -0
- package/models/get-validation-rule-response-class.ts +31 -0
- package/models/index.ts +14 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/investigation-block-class.ts +96 -0
- package/models/list-investigation-blocks-response-class.ts +49 -0
- package/models/list-validation-rules-response-class.ts +49 -0
- package/models/update-investigation-block-request-dto.ts +69 -0
- package/models/update-investigation-block-response-class.ts +31 -0
- package/models/validation-rule-class.ts +128 -0
- package/package.json +27 -0
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Validation Rules Service
|
|
3
|
+
* The EMIL Validation Rules Service API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ValidationRuleClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidationRuleClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ValidationRuleClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier code for the validation rule
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ValidationRuleClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Human-readable unique identifier
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ValidationRuleClass
|
|
34
|
+
*/
|
|
35
|
+
'slug': string;
|
|
36
|
+
/**
|
|
37
|
+
* Entity type this rule applies to
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ValidationRuleClass
|
|
40
|
+
*/
|
|
41
|
+
'entityType': string;
|
|
42
|
+
/**
|
|
43
|
+
* Product slug this rule belongs to
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ValidationRuleClass
|
|
46
|
+
*/
|
|
47
|
+
'productSlug': string;
|
|
48
|
+
/**
|
|
49
|
+
* Product version code
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ValidationRuleClass
|
|
52
|
+
*/
|
|
53
|
+
'productVersionCode': string;
|
|
54
|
+
/**
|
|
55
|
+
* Human-readable message shown when rule triggers
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ValidationRuleClass
|
|
58
|
+
*/
|
|
59
|
+
'displayMessage': string;
|
|
60
|
+
/**
|
|
61
|
+
* Detailed description of what the rule checks
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ValidationRuleClass
|
|
64
|
+
*/
|
|
65
|
+
'description'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Rule severity
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ValidationRuleClass
|
|
70
|
+
*/
|
|
71
|
+
'severity': ValidationRuleClassSeverityEnum;
|
|
72
|
+
/**
|
|
73
|
+
* JsonLogic expression for rule evaluation
|
|
74
|
+
* @type {object}
|
|
75
|
+
* @memberof ValidationRuleClass
|
|
76
|
+
*/
|
|
77
|
+
'expression'?: object;
|
|
78
|
+
/**
|
|
79
|
+
* Related entities to load for evaluation
|
|
80
|
+
* @type {Array<string>}
|
|
81
|
+
* @memberof ValidationRuleClass
|
|
82
|
+
*/
|
|
83
|
+
'expands': Array<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Whether the rule is enabled
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof ValidationRuleClass
|
|
88
|
+
*/
|
|
89
|
+
'isEnabled': boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Time at which the object was created.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ValidationRuleClass
|
|
94
|
+
*/
|
|
95
|
+
'createdAt': string;
|
|
96
|
+
/**
|
|
97
|
+
* Time at which the object was updated.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof ValidationRuleClass
|
|
100
|
+
*/
|
|
101
|
+
'updatedAt': string;
|
|
102
|
+
/**
|
|
103
|
+
* Identifier of the user who created the record.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof ValidationRuleClass
|
|
106
|
+
*/
|
|
107
|
+
'createdBy': string;
|
|
108
|
+
/**
|
|
109
|
+
* Identifier of the user who last updated the record.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof ValidationRuleClass
|
|
112
|
+
*/
|
|
113
|
+
'updatedBy': string;
|
|
114
|
+
}
|
|
115
|
+
export declare const ValidationRuleClassSeverityEnum: {
|
|
116
|
+
readonly Warning: "Warning";
|
|
117
|
+
readonly Error: "Error";
|
|
118
|
+
};
|
|
119
|
+
export type ValidationRuleClassSeverityEnum = typeof ValidationRuleClassSeverityEnum[keyof typeof ValidationRuleClassSeverityEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Validation Rules Service
|
|
6
|
+
* The EMIL Validation Rules Service API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ValidationRuleClassSeverityEnum = void 0;
|
|
17
|
+
exports.ValidationRuleClassSeverityEnum = {
|
|
18
|
+
Warning: 'Warning',
|
|
19
|
+
Error: 'Error'
|
|
20
|
+
};
|
package/git_push.sh
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
|
+
#
|
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
5
|
+
|
|
6
|
+
git_user_id=$1
|
|
7
|
+
git_repo_id=$2
|
|
8
|
+
release_note=$3
|
|
9
|
+
git_host=$4
|
|
10
|
+
|
|
11
|
+
if [ "$git_host" = "" ]; then
|
|
12
|
+
git_host="github.com"
|
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
if [ "$git_user_id" = "" ]; then
|
|
17
|
+
git_user_id="Emil"
|
|
18
|
+
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
19
|
+
fi
|
|
20
|
+
|
|
21
|
+
if [ "$git_repo_id" = "" ]; then
|
|
22
|
+
git_repo_id="validation-rules-sdk"
|
|
23
|
+
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
24
|
+
fi
|
|
25
|
+
|
|
26
|
+
if [ "$release_note" = "" ]; then
|
|
27
|
+
release_note="Minor update"
|
|
28
|
+
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
29
|
+
fi
|
|
30
|
+
|
|
31
|
+
# Initialize the local directory as a Git repository
|
|
32
|
+
git init
|
|
33
|
+
|
|
34
|
+
# Adds the files in the local repository and stages them for commit.
|
|
35
|
+
git add .
|
|
36
|
+
|
|
37
|
+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
+
git commit -m "$release_note"
|
|
39
|
+
|
|
40
|
+
# Sets the new remote
|
|
41
|
+
git_remote=$(git remote)
|
|
42
|
+
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
|
+
|
|
44
|
+
if [ "$GIT_TOKEN" = "" ]; then
|
|
45
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
47
|
+
else
|
|
48
|
+
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
fi
|
|
52
|
+
|
|
53
|
+
git pull origin master
|
|
54
|
+
|
|
55
|
+
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
57
|
+
git push origin master 2>&1 | grep -v 'To https'
|
package/index.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Validation Rules Service
|
|
5
|
+
* The EMIL Validation Rules Service API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
export { Environment, BaseAPI } from "./base";
|
|
17
|
+
export * from "./api";
|
|
18
|
+
export * from "./configuration";
|
|
19
|
+
export * from "./models";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Validation Rules Service
|
|
5
|
+
* The EMIL Validation Rules Service API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateInvestigationBlockRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateInvestigationBlockRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The type of the entity that the investigation block is associated with
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateInvestigationBlockRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'entityType': CreateInvestigationBlockRequestDtoEntityTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Code of the entity that the investigation block is associated with
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateInvestigationBlockRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'entityCode': string;
|
|
35
|
+
/**
|
|
36
|
+
* The notes of the investigation block
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateInvestigationBlockRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'notes'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const CreateInvestigationBlockRequestDtoEntityTypeEnum = {
|
|
44
|
+
Claim: 'claim',
|
|
45
|
+
Policy: 'policy'
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
export type CreateInvestigationBlockRequestDtoEntityTypeEnum = typeof CreateInvestigationBlockRequestDtoEntityTypeEnum[keyof typeof CreateInvestigationBlockRequestDtoEntityTypeEnum];
|
|
49
|
+
|
|
50
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Validation Rules Service
|
|
5
|
+
* The EMIL Validation Rules Service API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { InvestigationBlockClass } from './investigation-block-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateInvestigationBlockResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateInvestigationBlockResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* investigationBlock
|
|
26
|
+
* @type {InvestigationBlockClass}
|
|
27
|
+
* @memberof CreateInvestigationBlockResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'investigationBlock'?: InvestigationBlockClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Validation Rules Service
|
|
5
|
+
* The EMIL Validation Rules Service API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateValidationRuleRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateValidationRuleRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique rule identifier
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateValidationRuleRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Human-readable unique identifier
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateValidationRuleRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'slug': string;
|
|
35
|
+
/**
|
|
36
|
+
* Entity type this rule applies to
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateValidationRuleRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'entityType': string;
|
|
41
|
+
/**
|
|
42
|
+
* Product version code; product_slug is derived from this
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateValidationRuleRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'productVersionCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* Human-readable message shown when rule triggers
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateValidationRuleRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'displayMessage': string;
|
|
53
|
+
/**
|
|
54
|
+
* Detailed description of what the rule checks and why
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateValidationRuleRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'description'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Rule severity
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateValidationRuleRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'severity': CreateValidationRuleRequestDtoSeverityEnum;
|
|
65
|
+
/**
|
|
66
|
+
* JsonLogic expression for rule evaluation
|
|
67
|
+
* @type {object}
|
|
68
|
+
* @memberof CreateValidationRuleRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'expression'?: object;
|
|
71
|
+
/**
|
|
72
|
+
* Related entities to load for evaluation
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof CreateValidationRuleRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'expands'?: Array<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Whether the rule is enabled (default: true)
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof CreateValidationRuleRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'isEnabled'?: boolean;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export const CreateValidationRuleRequestDtoSeverityEnum = {
|
|
86
|
+
Warning: 'Warning',
|
|
87
|
+
Error: 'Error'
|
|
88
|
+
} as const;
|
|
89
|
+
|
|
90
|
+
export type CreateValidationRuleRequestDtoSeverityEnum = typeof CreateValidationRuleRequestDtoSeverityEnum[keyof typeof CreateValidationRuleRequestDtoSeverityEnum];
|
|
91
|
+
|
|
92
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Validation Rules Service
|
|
5
|
+
* The EMIL Validation Rules Service API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { ValidationRuleClass } from './validation-rule-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateValidationRuleResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateValidationRuleResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The validationRule response.
|
|
26
|
+
* @type {ValidationRuleClass}
|
|
27
|
+
* @memberof CreateValidationRuleResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'validationRule': ValidationRuleClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Validation Rules Service
|
|
5
|
+
* The EMIL Validation Rules Service API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { InvestigationBlockClass } from './investigation-block-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetInvestigationBlockResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetInvestigationBlockResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* investigationBlock
|
|
26
|
+
* @type {InvestigationBlockClass}
|
|
27
|
+
* @memberof GetInvestigationBlockResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'investigationBlock'?: InvestigationBlockClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Validation Rules Service
|
|
5
|
+
* The EMIL Validation Rules Service API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { ValidationRuleClass } from './validation-rule-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetValidationRuleResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetValidationRuleResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The validationRule response.
|
|
26
|
+
* @type {ValidationRuleClass}
|
|
27
|
+
* @memberof GetValidationRuleResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'validationRule': ValidationRuleClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './create-investigation-block-request-dto';
|
|
2
|
+
export * from './create-investigation-block-response-class';
|
|
3
|
+
export * from './create-validation-rule-request-dto';
|
|
4
|
+
export * from './create-validation-rule-response-class';
|
|
5
|
+
export * from './get-investigation-block-response-class';
|
|
6
|
+
export * from './get-validation-rule-response-class';
|
|
7
|
+
export * from './inline-response200';
|
|
8
|
+
export * from './inline-response503';
|
|
9
|
+
export * from './investigation-block-class';
|
|
10
|
+
export * from './list-investigation-blocks-response-class';
|
|
11
|
+
export * from './list-validation-rules-response-class';
|
|
12
|
+
export * from './update-investigation-block-request-dto';
|
|
13
|
+
export * from './update-investigation-block-response-class';
|
|
14
|
+
export * from './validation-rule-class';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Validation Rules Service
|
|
5
|
+
* The EMIL Validation Rules Service API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InlineResponse200
|
|
21
|
+
*/
|
|
22
|
+
export interface InlineResponse200 {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InlineResponse200
|
|
27
|
+
*/
|
|
28
|
+
'status'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
|
+
* @memberof InlineResponse200
|
|
33
|
+
*/
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
|
+
* @memberof InlineResponse200
|
|
39
|
+
*/
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
|
+
* @memberof InlineResponse200
|
|
45
|
+
*/
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Validation Rules Service
|
|
5
|
+
* The EMIL Validation Rules Service API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InlineResponse503
|
|
21
|
+
*/
|
|
22
|
+
export interface InlineResponse503 {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InlineResponse503
|
|
27
|
+
*/
|
|
28
|
+
'status'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
|
+
* @memberof InlineResponse503
|
|
33
|
+
*/
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
|
+
* @memberof InlineResponse503
|
|
39
|
+
*/
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
|
+
* @memberof InlineResponse503
|
|
45
|
+
*/
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Validation Rules Service
|
|
5
|
+
* The EMIL Validation Rules Service API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InvestigationBlockClass
|
|
21
|
+
*/
|
|
22
|
+
export interface InvestigationBlockClass {
|
|
23
|
+
/**
|
|
24
|
+
* Unique Identifier for the investigation block
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof InvestigationBlockClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique code for the investigation block
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InvestigationBlockClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Type of the entity that the investigation block is associated with
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InvestigationBlockClass
|
|
39
|
+
*/
|
|
40
|
+
'entityType': string;
|
|
41
|
+
/**
|
|
42
|
+
* Code of the entity that the investigation block is associated with
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof InvestigationBlockClass
|
|
45
|
+
*/
|
|
46
|
+
'entityCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* Status
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof InvestigationBlockClass
|
|
51
|
+
*/
|
|
52
|
+
'status': string;
|
|
53
|
+
/**
|
|
54
|
+
* Notes
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof InvestigationBlockClass
|
|
57
|
+
*/
|
|
58
|
+
'notes'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Time at which the object was created.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof InvestigationBlockClass
|
|
63
|
+
*/
|
|
64
|
+
'createdAt': string;
|
|
65
|
+
/**
|
|
66
|
+
* Time at which the object was updated.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof InvestigationBlockClass
|
|
69
|
+
*/
|
|
70
|
+
'updatedAt': string;
|
|
71
|
+
/**
|
|
72
|
+
* Identifier of the user who created the record.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof InvestigationBlockClass
|
|
75
|
+
*/
|
|
76
|
+
'createdBy': string;
|
|
77
|
+
/**
|
|
78
|
+
* Identifier of the user who last updated the record.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof InvestigationBlockClass
|
|
81
|
+
*/
|
|
82
|
+
'updatedBy': string;
|
|
83
|
+
/**
|
|
84
|
+
* Resolved At
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof InvestigationBlockClass
|
|
87
|
+
*/
|
|
88
|
+
'resolvedAt'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Resolved By
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof InvestigationBlockClass
|
|
93
|
+
*/
|
|
94
|
+
'resolvedBy'?: string;
|
|
95
|
+
}
|
|
96
|
+
|