@emilgroup/validation-rules-sdk 1.1.1-beta.1 → 1.1.1-beta.3

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 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@1.1.1-beta.1 --save
20
+ npm install @emilgroup/validation-rules-sdk@1.1.1-beta.3 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/validation-rules-sdk@1.1.1-beta.1
24
+ yarn add @emilgroup/validation-rules-sdk@1.1.1-beta.3
25
25
  ```
26
26
 
27
27
  And then you can import ``.
package/base.ts CHANGED
@@ -53,6 +53,7 @@ export enum Environment {
53
53
  Staging = 'https://apiv2-staging.emil.de',
54
54
  Development = 'https://apiv2-dev.emil.de',
55
55
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
56
+ StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
56
57
  }
57
58
 
58
59
  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
@@ -102,6 +102,7 @@ var Environment;
102
102
  Environment["Staging"] = "https://apiv2-staging.emil.de";
103
103
  Environment["Development"] = "https://apiv2-dev.emil.de";
104
104
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
105
+ Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
105
106
  })(Environment = exports.Environment || (exports.Environment = {}));
106
107
  var _retry_count = 0;
107
108
  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'?: object;
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
- * items
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
- * totalItems
26
+ * Total amount of items.
33
27
  * @type {number}
34
28
  * @memberof ListInvestigationBlocksResponseClass
35
29
  */
36
30
  'totalItems': number;
37
31
  /**
38
- * itemsPerPage
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
- * Total amount of items.
39
- * @type {number}
38
+ * The list of validation rules.
39
+ * @type {Array<ValidationRuleClass>}
40
40
  * @memberof ListValidationRulesResponseClass
41
41
  */
42
- 'totalItems': number;
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
- * items
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
- * totalItems
31
+ * Total amount of items.
38
32
  * @type {number}
39
33
  * @memberof ListInvestigationBlocksResponseClass
40
34
  */
41
35
  'totalItems': number;
42
36
  /**
43
- * itemsPerPage
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
- * Total amount of items.
44
- * @type {number}
43
+ * The list of validation rules.
44
+ * @type {Array<ValidationRuleClass>}
45
45
  * @memberof ListValidationRulesResponseClass
46
46
  */
47
- 'totalItems': number;
47
+ 'items': Array<ValidationRuleClass>;
48
48
  }
49
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/validation-rules-sdk",
3
- "version": "1.1.1-beta.1",
3
+ "version": "1.1.1-beta.3",
4
4
  "description": "OpenAPI client for @emilgroup/validation-rules-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "1.12.0"
21
+ "axios": "1.18.0"
22
22
  },
23
23
  "devDependencies": {
24
24