@emilgroup/validation-rules-sdk-node 1.1.1-beta.1 → 1.1.1-beta.2
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/README.md +2 -2
- package/base.ts +1 -0
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- package/dist/models/execute-rule-response-class.d.ts +4 -2
- package/dist/models/list-investigation-blocks-response-class.d.ts +9 -9
- package/dist/models/list-validation-rules-response-class.d.ts +9 -9
- package/models/execute-rule-response-class.ts +2 -2
- package/models/list-investigation-blocks-response-class.ts +9 -9
- package/models/list-validation-rules-response-class.ts +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/validation-rules-sdk-node@1.1.1-beta.
|
|
20
|
+
npm install @emilgroup/validation-rules-sdk-node@1.1.1-beta.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/validation-rules-sdk-node@1.1.1-beta.
|
|
24
|
+
yarn add @emilgroup/validation-rules-sdk-node@1.1.1-beta.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
package/base.ts
CHANGED
|
@@ -60,6 +60,7 @@ export enum Environment {
|
|
|
60
60
|
Staging = 'https://apiv2-staging.emil.de',
|
|
61
61
|
Development = 'https://apiv2-dev.emil.de',
|
|
62
62
|
ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
|
|
63
|
+
StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
let _retry_count = 0
|
package/dist/base.d.ts
CHANGED
|
@@ -39,7 +39,8 @@ export declare enum Environment {
|
|
|
39
39
|
Test = "https://apiv2-test.emil.de",
|
|
40
40
|
Staging = "https://apiv2-staging.emil.de",
|
|
41
41
|
Development = "https://apiv2-dev.emil.de",
|
|
42
|
-
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
42
|
+
ProductionZurich = "https://eu-central-2.apiv2.emil.de",
|
|
43
|
+
StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
|
|
43
44
|
}
|
|
44
45
|
export declare function resetRetry(): void;
|
|
45
46
|
/**
|
package/dist/base.js
CHANGED
|
@@ -132,6 +132,7 @@ var Environment;
|
|
|
132
132
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
133
133
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
134
134
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
135
|
+
Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
|
|
135
136
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
136
137
|
var _retry_count = 0;
|
|
137
138
|
var _retry = null;
|
|
@@ -42,10 +42,12 @@ export interface ExecuteRuleResponseClass {
|
|
|
42
42
|
'hasBlockingErrors': boolean;
|
|
43
43
|
/**
|
|
44
44
|
* Resolved entity context used for evaluation (shape depends on entity type and expands)
|
|
45
|
-
* @type {object}
|
|
45
|
+
* @type {{ [key: string]: object; }}
|
|
46
46
|
* @memberof ExecuteRuleResponseClass
|
|
47
47
|
*/
|
|
48
|
-
'entityData'?:
|
|
48
|
+
'entityData'?: {
|
|
49
|
+
[key: string]: object;
|
|
50
|
+
};
|
|
49
51
|
}
|
|
50
52
|
export declare const ExecuteRuleResponseClassEntityTypeEnum: {
|
|
51
53
|
readonly Policy: "Policy";
|
|
@@ -17,27 +17,27 @@ import { InvestigationBlockClass } from './investigation-block-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ListInvestigationBlocksResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<InvestigationBlockClass>}
|
|
22
|
-
* @memberof ListInvestigationBlocksResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'items': Array<InvestigationBlockClass>;
|
|
25
|
-
/**
|
|
26
|
-
* nextPageToken
|
|
20
|
+
* Next page token.
|
|
27
21
|
* @type {string}
|
|
28
22
|
* @memberof ListInvestigationBlocksResponseClass
|
|
29
23
|
*/
|
|
30
24
|
'nextPageToken': string;
|
|
31
25
|
/**
|
|
32
|
-
*
|
|
26
|
+
* Total amount of items.
|
|
33
27
|
* @type {number}
|
|
34
28
|
* @memberof ListInvestigationBlocksResponseClass
|
|
35
29
|
*/
|
|
36
30
|
'totalItems': number;
|
|
37
31
|
/**
|
|
38
|
-
*
|
|
32
|
+
* Items per page.
|
|
39
33
|
* @type {number}
|
|
40
34
|
* @memberof ListInvestigationBlocksResponseClass
|
|
41
35
|
*/
|
|
42
36
|
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* The list of investigationBlocks.
|
|
39
|
+
* @type {Array<InvestigationBlockClass>}
|
|
40
|
+
* @memberof ListInvestigationBlocksResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'items': Array<InvestigationBlockClass>;
|
|
43
43
|
}
|
|
@@ -16,18 +16,18 @@ import { ValidationRuleClass } from './validation-rule-class';
|
|
|
16
16
|
* @interface ListValidationRulesResponseClass
|
|
17
17
|
*/
|
|
18
18
|
export interface ListValidationRulesResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* The list of validation rules.
|
|
21
|
-
* @type {Array<ValidationRuleClass>}
|
|
22
|
-
* @memberof ListValidationRulesResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'items': Array<ValidationRuleClass>;
|
|
25
19
|
/**
|
|
26
20
|
* Next page token.
|
|
27
21
|
* @type {string}
|
|
28
22
|
* @memberof ListValidationRulesResponseClass
|
|
29
23
|
*/
|
|
30
24
|
'nextPageToken': string;
|
|
25
|
+
/**
|
|
26
|
+
* Total amount of items.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListValidationRulesResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'totalItems': number;
|
|
31
31
|
/**
|
|
32
32
|
* Items per page.
|
|
33
33
|
* @type {number}
|
|
@@ -35,9 +35,9 @@ export interface ListValidationRulesResponseClass {
|
|
|
35
35
|
*/
|
|
36
36
|
'itemsPerPage': number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {
|
|
38
|
+
* The list of validation rules.
|
|
39
|
+
* @type {Array<ValidationRuleClass>}
|
|
40
40
|
* @memberof ListValidationRulesResponseClass
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'items': Array<ValidationRuleClass>;
|
|
43
43
|
}
|
|
@@ -47,10 +47,10 @@ export interface ExecuteRuleResponseClass {
|
|
|
47
47
|
'hasBlockingErrors': boolean;
|
|
48
48
|
/**
|
|
49
49
|
* Resolved entity context used for evaluation (shape depends on entity type and expands)
|
|
50
|
-
* @type {object}
|
|
50
|
+
* @type {{ [key: string]: object; }}
|
|
51
51
|
* @memberof ExecuteRuleResponseClass
|
|
52
52
|
*/
|
|
53
|
-
'entityData'?: object;
|
|
53
|
+
'entityData'?: { [key: string]: object; };
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
export const ExecuteRuleResponseClassEntityTypeEnum = {
|
|
@@ -22,28 +22,28 @@ import { InvestigationBlockClass } from './investigation-block-class';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface ListInvestigationBlocksResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<InvestigationBlockClass>}
|
|
27
|
-
* @memberof ListInvestigationBlocksResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<InvestigationBlockClass>;
|
|
30
|
-
/**
|
|
31
|
-
* nextPageToken
|
|
25
|
+
* Next page token.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof ListInvestigationBlocksResponseClass
|
|
34
28
|
*/
|
|
35
29
|
'nextPageToken': string;
|
|
36
30
|
/**
|
|
37
|
-
*
|
|
31
|
+
* Total amount of items.
|
|
38
32
|
* @type {number}
|
|
39
33
|
* @memberof ListInvestigationBlocksResponseClass
|
|
40
34
|
*/
|
|
41
35
|
'totalItems': number;
|
|
42
36
|
/**
|
|
43
|
-
*
|
|
37
|
+
* Items per page.
|
|
44
38
|
* @type {number}
|
|
45
39
|
* @memberof ListInvestigationBlocksResponseClass
|
|
46
40
|
*/
|
|
47
41
|
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* The list of investigationBlocks.
|
|
44
|
+
* @type {Array<InvestigationBlockClass>}
|
|
45
|
+
* @memberof ListInvestigationBlocksResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<InvestigationBlockClass>;
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -21,18 +21,18 @@ import { ValidationRuleClass } from './validation-rule-class';
|
|
|
21
21
|
* @interface ListValidationRulesResponseClass
|
|
22
22
|
*/
|
|
23
23
|
export interface ListValidationRulesResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The list of validation rules.
|
|
26
|
-
* @type {Array<ValidationRuleClass>}
|
|
27
|
-
* @memberof ListValidationRulesResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<ValidationRuleClass>;
|
|
30
24
|
/**
|
|
31
25
|
* Next page token.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof ListValidationRulesResponseClass
|
|
34
28
|
*/
|
|
35
29
|
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListValidationRulesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
36
|
/**
|
|
37
37
|
* Items per page.
|
|
38
38
|
* @type {number}
|
|
@@ -40,10 +40,10 @@ export interface ListValidationRulesResponseClass {
|
|
|
40
40
|
*/
|
|
41
41
|
'itemsPerPage': number;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {
|
|
43
|
+
* The list of validation rules.
|
|
44
|
+
* @type {Array<ValidationRuleClass>}
|
|
45
45
|
* @memberof ListValidationRulesResponseClass
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'items': Array<ValidationRuleClass>;
|
|
48
48
|
}
|
|
49
49
|
|
package/package.json
CHANGED