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