@emilgroup/accounting-sdk-node 1.32.1-beta.85 → 1.32.1-beta.86
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 +2 -0
- package/README.md +2 -2
- package/dist/models/accounting-config-data-class.d.ts +4 -3
- package/dist/models/accounting-config-data-dto.d.ts +4 -3
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/personal-account-range-class.d.ts +42 -0
- package/dist/models/personal-account-range-class.js +21 -0
- package/dist/models/personal-account-range-dto.d.ts +42 -0
- package/dist/models/personal-account-range-dto.js +21 -0
- package/models/accounting-config-data-class.ts +4 -3
- package/models/accounting-config-data-dto.ts +4 -3
- package/models/index.ts +2 -0
- package/models/personal-account-range-class.ts +51 -0
- package/models/personal-account-range-dto.ts +51 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -70,6 +70,8 @@ models/list-products-with-account-mappings-response-class.ts
|
|
|
70
70
|
models/number-range-class.ts
|
|
71
71
|
models/opening-balance-item-dto.ts
|
|
72
72
|
models/personal-account-class.ts
|
|
73
|
+
models/personal-account-range-class.ts
|
|
74
|
+
models/personal-account-range-dto.ts
|
|
73
75
|
models/post-financial-event-request-dto.ts
|
|
74
76
|
models/post-financial-event-response-class.ts
|
|
75
77
|
models/premium-item-account-mapping-class.ts
|
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/accounting-sdk-node@1.32.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk-node@1.32.1-beta.86 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk-node@1.32.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk-node@1.32.1-beta.86
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { AccountMappingClass } from './account-mapping-class';
|
|
13
13
|
import { AccountingConfigurationClass } from './accounting-configuration-class';
|
|
14
|
+
import { PersonalAccountRangeClass } from './personal-account-range-class';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -36,9 +37,9 @@ export interface AccountingConfigDataClass {
|
|
|
36
37
|
*/
|
|
37
38
|
'accountingConfiguration'?: AccountingConfigurationClass;
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {Array<
|
|
40
|
+
* The personal account number ranges, one per partner group
|
|
41
|
+
* @type {Array<PersonalAccountRangeClass>}
|
|
41
42
|
* @memberof AccountingConfigDataClass
|
|
42
43
|
*/
|
|
43
|
-
'personalAccountRanges'
|
|
44
|
+
'personalAccountRanges'?: Array<PersonalAccountRangeClass>;
|
|
44
45
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { AccountingConfigDataDtoAccountingConfiguration } from './accounting-config-data-dto-accounting-configuration';
|
|
13
13
|
import { AccountingConfigDataDtoDefaultAccountMappings } from './accounting-config-data-dto-default-account-mappings';
|
|
14
|
+
import { PersonalAccountRangeDto } from './personal-account-range-dto';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -36,9 +37,9 @@ export interface AccountingConfigDataDto {
|
|
|
36
37
|
*/
|
|
37
38
|
'accountingConfiguration'?: AccountingConfigDataDtoAccountingConfiguration;
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {Array<
|
|
40
|
+
* The personal account number ranges: exactly one each for policyholder, risk_carrier and broker
|
|
41
|
+
* @type {Array<PersonalAccountRangeDto>}
|
|
41
42
|
* @memberof AccountingConfigDataDto
|
|
42
43
|
*/
|
|
43
|
-
'personalAccountRanges': Array<
|
|
44
|
+
'personalAccountRanges': Array<PersonalAccountRangeDto>;
|
|
44
45
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -50,6 +50,8 @@ export * from './list-products-with-account-mappings-response-class';
|
|
|
50
50
|
export * from './number-range-class';
|
|
51
51
|
export * from './opening-balance-item-dto';
|
|
52
52
|
export * from './personal-account-class';
|
|
53
|
+
export * from './personal-account-range-class';
|
|
54
|
+
export * from './personal-account-range-dto';
|
|
53
55
|
export * from './post-financial-event-request-dto';
|
|
54
56
|
export * from './post-financial-event-response-class';
|
|
55
57
|
export * from './premium-item-account-mapping-class';
|
package/dist/models/index.js
CHANGED
|
@@ -66,6 +66,8 @@ __exportStar(require("./list-products-with-account-mappings-response-class"), ex
|
|
|
66
66
|
__exportStar(require("./number-range-class"), exports);
|
|
67
67
|
__exportStar(require("./opening-balance-item-dto"), exports);
|
|
68
68
|
__exportStar(require("./personal-account-class"), exports);
|
|
69
|
+
__exportStar(require("./personal-account-range-class"), exports);
|
|
70
|
+
__exportStar(require("./personal-account-range-dto"), exports);
|
|
69
71
|
__exportStar(require("./post-financial-event-request-dto"), exports);
|
|
70
72
|
__exportStar(require("./post-financial-event-response-class"), exports);
|
|
71
73
|
__exportStar(require("./premium-item-account-mapping-class"), exports);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService 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 PersonalAccountRangeClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PersonalAccountRangeClass {
|
|
18
|
+
/**
|
|
19
|
+
* The partner group of the range
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PersonalAccountRangeClass
|
|
22
|
+
*/
|
|
23
|
+
'accountType': PersonalAccountRangeClassAccountTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Start of the range; it belongs to the range
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PersonalAccountRangeClass
|
|
28
|
+
*/
|
|
29
|
+
'minValue': number;
|
|
30
|
+
/**
|
|
31
|
+
* End of the range; it belongs to the range
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PersonalAccountRangeClass
|
|
34
|
+
*/
|
|
35
|
+
'maxValue': number;
|
|
36
|
+
}
|
|
37
|
+
export declare const PersonalAccountRangeClassAccountTypeEnum: {
|
|
38
|
+
readonly Policyholder: "policyholder";
|
|
39
|
+
readonly RiskCarrier: "risk_carrier";
|
|
40
|
+
readonly Broker: "broker";
|
|
41
|
+
};
|
|
42
|
+
export type PersonalAccountRangeClassAccountTypeEnum = typeof PersonalAccountRangeClassAccountTypeEnum[keyof typeof PersonalAccountRangeClassAccountTypeEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService 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.PersonalAccountRangeClassAccountTypeEnum = void 0;
|
|
17
|
+
exports.PersonalAccountRangeClassAccountTypeEnum = {
|
|
18
|
+
Policyholder: 'policyholder',
|
|
19
|
+
RiskCarrier: 'risk_carrier',
|
|
20
|
+
Broker: 'broker'
|
|
21
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService 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 PersonalAccountRangeDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PersonalAccountRangeDto {
|
|
18
|
+
/**
|
|
19
|
+
* The partner group of the range
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PersonalAccountRangeDto
|
|
22
|
+
*/
|
|
23
|
+
'accountType': PersonalAccountRangeDtoAccountTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Start of the range, at least 1; it belongs to the range. A number or a string of digits.
|
|
26
|
+
* @type {number | string}
|
|
27
|
+
* @memberof PersonalAccountRangeDto
|
|
28
|
+
*/
|
|
29
|
+
'minValue': number | string;
|
|
30
|
+
/**
|
|
31
|
+
* End of the range; it belongs to the range. A number or a string of digits.
|
|
32
|
+
* @type {number | string}
|
|
33
|
+
* @memberof PersonalAccountRangeDto
|
|
34
|
+
*/
|
|
35
|
+
'maxValue': number | string;
|
|
36
|
+
}
|
|
37
|
+
export declare const PersonalAccountRangeDtoAccountTypeEnum: {
|
|
38
|
+
readonly Policyholder: "policyholder";
|
|
39
|
+
readonly RiskCarrier: "risk_carrier";
|
|
40
|
+
readonly Broker: "broker";
|
|
41
|
+
};
|
|
42
|
+
export type PersonalAccountRangeDtoAccountTypeEnum = typeof PersonalAccountRangeDtoAccountTypeEnum[keyof typeof PersonalAccountRangeDtoAccountTypeEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService 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.PersonalAccountRangeDtoAccountTypeEnum = void 0;
|
|
17
|
+
exports.PersonalAccountRangeDtoAccountTypeEnum = {
|
|
18
|
+
Policyholder: 'policyholder',
|
|
19
|
+
RiskCarrier: 'risk_carrier',
|
|
20
|
+
Broker: 'broker'
|
|
21
|
+
};
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { AccountMappingClass } from './account-mapping-class';
|
|
17
17
|
import { AccountingConfigurationClass } from './accounting-configuration-class';
|
|
18
|
+
import { PersonalAccountRangeClass } from './personal-account-range-class';
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
*
|
|
@@ -41,10 +42,10 @@ export interface AccountingConfigDataClass {
|
|
|
41
42
|
*/
|
|
42
43
|
'accountingConfiguration'?: AccountingConfigurationClass;
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Array<
|
|
45
|
+
* The personal account number ranges, one per partner group
|
|
46
|
+
* @type {Array<PersonalAccountRangeClass>}
|
|
46
47
|
* @memberof AccountingConfigDataClass
|
|
47
48
|
*/
|
|
48
|
-
'personalAccountRanges'
|
|
49
|
+
'personalAccountRanges'?: Array<PersonalAccountRangeClass>;
|
|
49
50
|
}
|
|
50
51
|
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { AccountingConfigDataDtoAccountingConfiguration } from './accounting-config-data-dto-accounting-configuration';
|
|
17
17
|
import { AccountingConfigDataDtoDefaultAccountMappings } from './accounting-config-data-dto-default-account-mappings';
|
|
18
|
+
import { PersonalAccountRangeDto } from './personal-account-range-dto';
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
*
|
|
@@ -41,10 +42,10 @@ export interface AccountingConfigDataDto {
|
|
|
41
42
|
*/
|
|
42
43
|
'accountingConfiguration'?: AccountingConfigDataDtoAccountingConfiguration;
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Array<
|
|
45
|
+
* The personal account number ranges: exactly one each for policyholder, risk_carrier and broker
|
|
46
|
+
* @type {Array<PersonalAccountRangeDto>}
|
|
46
47
|
* @memberof AccountingConfigDataDto
|
|
47
48
|
*/
|
|
48
|
-
'personalAccountRanges': Array<
|
|
49
|
+
'personalAccountRanges': Array<PersonalAccountRangeDto>;
|
|
49
50
|
}
|
|
50
51
|
|
package/models/index.ts
CHANGED
|
@@ -50,6 +50,8 @@ export * from './list-products-with-account-mappings-response-class';
|
|
|
50
50
|
export * from './number-range-class';
|
|
51
51
|
export * from './opening-balance-item-dto';
|
|
52
52
|
export * from './personal-account-class';
|
|
53
|
+
export * from './personal-account-range-class';
|
|
54
|
+
export * from './personal-account-range-dto';
|
|
53
55
|
export * from './post-financial-event-request-dto';
|
|
54
56
|
export * from './post-financial-event-response-class';
|
|
55
57
|
export * from './premium-item-account-mapping-class';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService 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 PersonalAccountRangeClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PersonalAccountRangeClass {
|
|
23
|
+
/**
|
|
24
|
+
* The partner group of the range
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PersonalAccountRangeClass
|
|
27
|
+
*/
|
|
28
|
+
'accountType': PersonalAccountRangeClassAccountTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Start of the range; it belongs to the range
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof PersonalAccountRangeClass
|
|
33
|
+
*/
|
|
34
|
+
'minValue': number;
|
|
35
|
+
/**
|
|
36
|
+
* End of the range; it belongs to the range
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof PersonalAccountRangeClass
|
|
39
|
+
*/
|
|
40
|
+
'maxValue': number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const PersonalAccountRangeClassAccountTypeEnum = {
|
|
44
|
+
Policyholder: 'policyholder',
|
|
45
|
+
RiskCarrier: 'risk_carrier',
|
|
46
|
+
Broker: 'broker'
|
|
47
|
+
} as const;
|
|
48
|
+
|
|
49
|
+
export type PersonalAccountRangeClassAccountTypeEnum = typeof PersonalAccountRangeClassAccountTypeEnum[keyof typeof PersonalAccountRangeClassAccountTypeEnum];
|
|
50
|
+
|
|
51
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService 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 PersonalAccountRangeDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PersonalAccountRangeDto {
|
|
23
|
+
/**
|
|
24
|
+
* The partner group of the range
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PersonalAccountRangeDto
|
|
27
|
+
*/
|
|
28
|
+
'accountType': PersonalAccountRangeDtoAccountTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Start of the range, at least 1; it belongs to the range. A number or a string of digits.
|
|
31
|
+
* @type {number | string}
|
|
32
|
+
* @memberof PersonalAccountRangeDto
|
|
33
|
+
*/
|
|
34
|
+
'minValue': number | string;
|
|
35
|
+
/**
|
|
36
|
+
* End of the range; it belongs to the range. A number or a string of digits.
|
|
37
|
+
* @type {number | string}
|
|
38
|
+
* @memberof PersonalAccountRangeDto
|
|
39
|
+
*/
|
|
40
|
+
'maxValue': number | string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const PersonalAccountRangeDtoAccountTypeEnum = {
|
|
44
|
+
Policyholder: 'policyholder',
|
|
45
|
+
RiskCarrier: 'risk_carrier',
|
|
46
|
+
Broker: 'broker'
|
|
47
|
+
} as const;
|
|
48
|
+
|
|
49
|
+
export type PersonalAccountRangeDtoAccountTypeEnum = typeof PersonalAccountRangeDtoAccountTypeEnum[keyof typeof PersonalAccountRangeDtoAccountTypeEnum];
|
|
50
|
+
|
|
51
|
+
|
package/package.json
CHANGED