@emilgroup/commission-sdk 1.0.0-beta.16 → 1.0.0-beta.17
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/commission-class.d.ts +1 -1
- package/dist/models/update-commission-request-dto.d.ts +5 -3
- package/dist/models/update-commission-request-dto.js +4 -2
- package/models/commission-class.ts +1 -1
- package/models/update-commission-request-dto.ts +5 -3
- 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@1.0.0-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk@1.0.0-beta.17 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk@1.0.0-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk@1.0.0-beta.17
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
|
@@ -66,7 +66,7 @@ export interface CommissionClass {
|
|
|
66
66
|
*/
|
|
67
67
|
'amount': number;
|
|
68
68
|
/**
|
|
69
|
-
* The status of the commission. Valid values:
|
|
69
|
+
* The status of the commission. Valid values: draft, open, published, closed
|
|
70
70
|
* @type {string}
|
|
71
71
|
* @memberof CommissionClass
|
|
72
72
|
*/
|
|
@@ -40,14 +40,16 @@ export interface UpdateCommissionRequestDto {
|
|
|
40
40
|
*/
|
|
41
41
|
'policyCode': string;
|
|
42
42
|
/**
|
|
43
|
-
* The updated status of the commission. Valid values:
|
|
43
|
+
* The updated status of the commission. Valid values: draft, open, published, closed
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof UpdateCommissionRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'status': UpdateCommissionRequestDtoStatusEnum;
|
|
48
48
|
}
|
|
49
49
|
export declare const UpdateCommissionRequestDtoStatusEnum: {
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
50
|
+
readonly Draft: "draft";
|
|
51
|
+
readonly Open: "open";
|
|
52
|
+
readonly Published: "published";
|
|
53
|
+
readonly Closed: "closed";
|
|
52
54
|
};
|
|
53
55
|
export type UpdateCommissionRequestDtoStatusEnum = typeof UpdateCommissionRequestDtoStatusEnum[keyof typeof UpdateCommissionRequestDtoStatusEnum];
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.UpdateCommissionRequestDtoStatusEnum = void 0;
|
|
17
17
|
exports.UpdateCommissionRequestDtoStatusEnum = {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
Draft: 'draft',
|
|
19
|
+
Open: 'open',
|
|
20
|
+
Published: 'published',
|
|
21
|
+
Closed: 'closed'
|
|
20
22
|
};
|
|
@@ -71,7 +71,7 @@ export interface CommissionClass {
|
|
|
71
71
|
*/
|
|
72
72
|
'amount': number;
|
|
73
73
|
/**
|
|
74
|
-
* The status of the commission. Valid values:
|
|
74
|
+
* The status of the commission. Valid values: draft, open, published, closed
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @memberof CommissionClass
|
|
77
77
|
*/
|
|
@@ -45,7 +45,7 @@ export interface UpdateCommissionRequestDto {
|
|
|
45
45
|
*/
|
|
46
46
|
'policyCode': string;
|
|
47
47
|
/**
|
|
48
|
-
* The updated status of the commission. Valid values:
|
|
48
|
+
* The updated status of the commission. Valid values: draft, open, published, closed
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof UpdateCommissionRequestDto
|
|
51
51
|
*/
|
|
@@ -53,8 +53,10 @@ export interface UpdateCommissionRequestDto {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
export const UpdateCommissionRequestDtoStatusEnum = {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Draft: 'draft',
|
|
57
|
+
Open: 'open',
|
|
58
|
+
Published: 'published',
|
|
59
|
+
Closed: 'closed'
|
|
58
60
|
} as const;
|
|
59
61
|
|
|
60
62
|
export type UpdateCommissionRequestDtoStatusEnum = typeof UpdateCommissionRequestDtoStatusEnum[keyof typeof UpdateCommissionRequestDtoStatusEnum];
|