@emilgroup/commission-sdk-node 2.9.1-beta.14 → 2.9.1-beta.15
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/dist/models/clawback-config-class.d.ts +2 -2
- package/dist/models/clawback-config-dto.d.ts +2 -2
- package/dist/models/commission-class.d.ts +1 -1
- package/dist/models/commission-class.js +1 -1
- package/dist/models/scheduled-commission-clawback-trigger-class.d.ts +1 -1
- package/dist/models/scheduled-commission-clawback-trigger-class.js +1 -1
- package/models/clawback-config-class.ts +2 -2
- package/models/clawback-config-dto.ts +2 -2
- package/models/commission-class.ts +1 -1
- package/models/scheduled-commission-clawback-trigger-class.ts +1 -1
- 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/commission-sdk-node@2.9.1-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk-node@2.9.1-beta.15 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk-node@2.9.1-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk-node@2.9.1-beta.15
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
|
@@ -34,9 +34,9 @@ export interface ClawbackConfigClass {
|
|
|
34
34
|
*/
|
|
35
35
|
'intermediarySwitched': boolean;
|
|
36
36
|
/**
|
|
37
|
-
* Allow automatic commission clawback creation for
|
|
37
|
+
* Allow automatic commission clawback creation for reopened invoices.
|
|
38
38
|
* @type {boolean}
|
|
39
39
|
* @memberof ClawbackConfigClass
|
|
40
40
|
*/
|
|
41
|
-
'
|
|
41
|
+
'invoiceReopened': boolean;
|
|
42
42
|
}
|
|
@@ -34,9 +34,9 @@ export interface ClawbackConfigDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'intermediarySwitched': boolean;
|
|
36
36
|
/**
|
|
37
|
-
* Allow automatic commission clawback creation for
|
|
37
|
+
* Allow automatic commission clawback creation for reopened invoices.
|
|
38
38
|
* @type {boolean}
|
|
39
39
|
* @memberof ClawbackConfigDto
|
|
40
40
|
*/
|
|
41
|
-
'
|
|
41
|
+
'invoiceReopened': boolean;
|
|
42
42
|
}
|
|
@@ -179,6 +179,6 @@ export declare const CommissionClassClawbackTriggerTypeEnum: {
|
|
|
179
179
|
readonly PolicyTermination: "policy_termination";
|
|
180
180
|
readonly PolicyWithdrawal: "policy_withdrawal";
|
|
181
181
|
readonly IntermediarySwitched: "intermediary_switched";
|
|
182
|
-
readonly
|
|
182
|
+
readonly InvoiceReopened: "invoice_reopened";
|
|
183
183
|
};
|
|
184
184
|
export type CommissionClassClawbackTriggerTypeEnum = typeof CommissionClassClawbackTriggerTypeEnum[keyof typeof CommissionClassClawbackTriggerTypeEnum];
|
|
@@ -19,5 +19,5 @@ exports.CommissionClassClawbackTriggerTypeEnum = {
|
|
|
19
19
|
PolicyTermination: 'policy_termination',
|
|
20
20
|
PolicyWithdrawal: 'policy_withdrawal',
|
|
21
21
|
IntermediarySwitched: 'intermediary_switched',
|
|
22
|
-
|
|
22
|
+
InvoiceReopened: 'invoice_reopened'
|
|
23
23
|
};
|
|
@@ -98,7 +98,7 @@ export declare const ScheduledCommissionClawbackTriggerClassTriggerTypeEnum: {
|
|
|
98
98
|
readonly PolicyTermination: "policy_termination";
|
|
99
99
|
readonly PolicyWithdrawal: "policy_withdrawal";
|
|
100
100
|
readonly IntermediarySwitched: "intermediary_switched";
|
|
101
|
-
readonly
|
|
101
|
+
readonly InvoiceReopened: "invoice_reopened";
|
|
102
102
|
};
|
|
103
103
|
export type ScheduledCommissionClawbackTriggerClassTriggerTypeEnum = typeof ScheduledCommissionClawbackTriggerClassTriggerTypeEnum[keyof typeof ScheduledCommissionClawbackTriggerClassTriggerTypeEnum];
|
|
104
104
|
export declare const ScheduledCommissionClawbackTriggerClassStatusEnum: {
|
|
@@ -18,7 +18,7 @@ exports.ScheduledCommissionClawbackTriggerClassTriggerTypeEnum = {
|
|
|
18
18
|
PolicyTermination: 'policy_termination',
|
|
19
19
|
PolicyWithdrawal: 'policy_withdrawal',
|
|
20
20
|
IntermediarySwitched: 'intermediary_switched',
|
|
21
|
-
|
|
21
|
+
InvoiceReopened: 'invoice_reopened'
|
|
22
22
|
};
|
|
23
23
|
exports.ScheduledCommissionClawbackTriggerClassStatusEnum = {
|
|
24
24
|
Scheduled: 'scheduled',
|
|
@@ -39,10 +39,10 @@ export interface ClawbackConfigClass {
|
|
|
39
39
|
*/
|
|
40
40
|
'intermediarySwitched': boolean;
|
|
41
41
|
/**
|
|
42
|
-
* Allow automatic commission clawback creation for
|
|
42
|
+
* Allow automatic commission clawback creation for reopened invoices.
|
|
43
43
|
* @type {boolean}
|
|
44
44
|
* @memberof ClawbackConfigClass
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'invoiceReopened': boolean;
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -39,10 +39,10 @@ export interface ClawbackConfigDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'intermediarySwitched': boolean;
|
|
41
41
|
/**
|
|
42
|
-
* Allow automatic commission clawback creation for
|
|
42
|
+
* Allow automatic commission clawback creation for reopened invoices.
|
|
43
43
|
* @type {boolean}
|
|
44
44
|
* @memberof ClawbackConfigDto
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'invoiceReopened': boolean;
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -185,7 +185,7 @@ export const CommissionClassClawbackTriggerTypeEnum = {
|
|
|
185
185
|
PolicyTermination: 'policy_termination',
|
|
186
186
|
PolicyWithdrawal: 'policy_withdrawal',
|
|
187
187
|
IntermediarySwitched: 'intermediary_switched',
|
|
188
|
-
|
|
188
|
+
InvoiceReopened: 'invoice_reopened'
|
|
189
189
|
} as const;
|
|
190
190
|
|
|
191
191
|
export type CommissionClassClawbackTriggerTypeEnum = typeof CommissionClassClawbackTriggerTypeEnum[keyof typeof CommissionClassClawbackTriggerTypeEnum];
|
|
@@ -104,7 +104,7 @@ export const ScheduledCommissionClawbackTriggerClassTriggerTypeEnum = {
|
|
|
104
104
|
PolicyTermination: 'policy_termination',
|
|
105
105
|
PolicyWithdrawal: 'policy_withdrawal',
|
|
106
106
|
IntermediarySwitched: 'intermediary_switched',
|
|
107
|
-
|
|
107
|
+
InvoiceReopened: 'invoice_reopened'
|
|
108
108
|
} as const;
|
|
109
109
|
|
|
110
110
|
export type ScheduledCommissionClawbackTriggerClassTriggerTypeEnum = typeof ScheduledCommissionClawbackTriggerClassTriggerTypeEnum[keyof typeof ScheduledCommissionClawbackTriggerClassTriggerTypeEnum];
|