@emilgroup/commission-sdk-node 1.0.0-beta.26 → 1.0.0-beta.28
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 +6 -0
- package/dist/models/commission-settlement-class.d.ts +2 -1
- package/dist/models/commission-settlement-class.js +1 -0
- package/dist/models/create-commission-settlement-request-dto.d.ts +2 -1
- package/dist/models/create-commission-settlement-request-dto.js +1 -0
- package/dist/models/update-commission-settlement-request-dto.d.ts +2 -1
- package/dist/models/update-commission-settlement-request-dto.js +1 -0
- package/models/commission-class.ts +6 -0
- package/models/commission-settlement-class.ts +2 -1
- package/models/create-commission-settlement-request-dto.ts +2 -1
- package/models/update-commission-settlement-request-dto.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@1.0.0-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk-node@1.0.0-beta.28 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk-node@1.0.0-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk-node@1.0.0-beta.28
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
|
@@ -41,6 +41,12 @@ export interface CommissionClass {
|
|
|
41
41
|
* @memberof CommissionClass
|
|
42
42
|
*/
|
|
43
43
|
'description': string;
|
|
44
|
+
/**
|
|
45
|
+
* The commission number for this commission
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CommissionClass
|
|
48
|
+
*/
|
|
49
|
+
'commissionNumber': string;
|
|
44
50
|
/**
|
|
45
51
|
* The version identifier of the commission agreement being used for this commission
|
|
46
52
|
* @type {number}
|
|
@@ -59,7 +59,7 @@ export interface CommissionSettlementClass {
|
|
|
59
59
|
*/
|
|
60
60
|
'amount': number;
|
|
61
61
|
/**
|
|
62
|
-
* The status of the commission settlement. Valid values: draft, published, closed
|
|
62
|
+
* The status of the commission settlement. Valid values: draft, processing, published, closed
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @memberof CommissionSettlementClass
|
|
65
65
|
*/
|
|
@@ -117,6 +117,7 @@ export declare const CommissionSettlementClassCurrencyEnum: {
|
|
|
117
117
|
export type CommissionSettlementClassCurrencyEnum = typeof CommissionSettlementClassCurrencyEnum[keyof typeof CommissionSettlementClassCurrencyEnum];
|
|
118
118
|
export declare const CommissionSettlementClassStatusEnum: {
|
|
119
119
|
readonly Draft: "draft";
|
|
120
|
+
readonly Processing: "processing";
|
|
120
121
|
readonly Published: "published";
|
|
121
122
|
readonly Closed: "closed";
|
|
122
123
|
};
|
|
@@ -22,7 +22,7 @@ export interface CreateCommissionSettlementRequestDto {
|
|
|
22
22
|
*/
|
|
23
23
|
'commissionCodes': Array<string>;
|
|
24
24
|
/**
|
|
25
|
-
* The status of the commission settlement. Valid values: draft, published, closed
|
|
25
|
+
* The status of the commission settlement. Valid values: draft, processing, published, closed
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateCommissionSettlementRequestDto
|
|
28
28
|
*/
|
|
@@ -30,6 +30,7 @@ export interface CreateCommissionSettlementRequestDto {
|
|
|
30
30
|
}
|
|
31
31
|
export declare const CreateCommissionSettlementRequestDtoStatusEnum: {
|
|
32
32
|
readonly Draft: "draft";
|
|
33
|
+
readonly Processing: "processing";
|
|
33
34
|
readonly Published: "published";
|
|
34
35
|
readonly Closed: "closed";
|
|
35
36
|
};
|
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.CreateCommissionSettlementRequestDtoStatusEnum = void 0;
|
|
17
17
|
exports.CreateCommissionSettlementRequestDtoStatusEnum = {
|
|
18
18
|
Draft: 'draft',
|
|
19
|
+
Processing: 'processing',
|
|
19
20
|
Published: 'published',
|
|
20
21
|
Closed: 'closed'
|
|
21
22
|
};
|
|
@@ -22,7 +22,7 @@ export interface UpdateCommissionSettlementRequestDto {
|
|
|
22
22
|
*/
|
|
23
23
|
'code': string;
|
|
24
24
|
/**
|
|
25
|
-
* The updated status of the commission settlement. Valid values: draft, published, closed
|
|
25
|
+
* The updated status of the commission settlement. Valid values: draft, processing, published, closed
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateCommissionSettlementRequestDto
|
|
28
28
|
*/
|
|
@@ -36,6 +36,7 @@ export interface UpdateCommissionSettlementRequestDto {
|
|
|
36
36
|
}
|
|
37
37
|
export declare const UpdateCommissionSettlementRequestDtoStatusEnum: {
|
|
38
38
|
readonly Draft: "draft";
|
|
39
|
+
readonly Processing: "processing";
|
|
39
40
|
readonly Published: "published";
|
|
40
41
|
readonly Closed: "closed";
|
|
41
42
|
};
|
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.UpdateCommissionSettlementRequestDtoStatusEnum = void 0;
|
|
17
17
|
exports.UpdateCommissionSettlementRequestDtoStatusEnum = {
|
|
18
18
|
Draft: 'draft',
|
|
19
|
+
Processing: 'processing',
|
|
19
20
|
Published: 'published',
|
|
20
21
|
Closed: 'closed'
|
|
21
22
|
};
|
|
@@ -46,6 +46,12 @@ export interface CommissionClass {
|
|
|
46
46
|
* @memberof CommissionClass
|
|
47
47
|
*/
|
|
48
48
|
'description': string;
|
|
49
|
+
/**
|
|
50
|
+
* The commission number for this commission
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof CommissionClass
|
|
53
|
+
*/
|
|
54
|
+
'commissionNumber': string;
|
|
49
55
|
/**
|
|
50
56
|
* The version identifier of the commission agreement being used for this commission
|
|
51
57
|
* @type {number}
|
|
@@ -64,7 +64,7 @@ export interface CommissionSettlementClass {
|
|
|
64
64
|
*/
|
|
65
65
|
'amount': number;
|
|
66
66
|
/**
|
|
67
|
-
* The status of the commission settlement. Valid values: draft, published, closed
|
|
67
|
+
* The status of the commission settlement. Valid values: draft, processing, published, closed
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof CommissionSettlementClass
|
|
70
70
|
*/
|
|
@@ -124,6 +124,7 @@ export const CommissionSettlementClassCurrencyEnum = {
|
|
|
124
124
|
export type CommissionSettlementClassCurrencyEnum = typeof CommissionSettlementClassCurrencyEnum[keyof typeof CommissionSettlementClassCurrencyEnum];
|
|
125
125
|
export const CommissionSettlementClassStatusEnum = {
|
|
126
126
|
Draft: 'draft',
|
|
127
|
+
Processing: 'processing',
|
|
127
128
|
Published: 'published',
|
|
128
129
|
Closed: 'closed'
|
|
129
130
|
} as const;
|
|
@@ -27,7 +27,7 @@ export interface CreateCommissionSettlementRequestDto {
|
|
|
27
27
|
*/
|
|
28
28
|
'commissionCodes': Array<string>;
|
|
29
29
|
/**
|
|
30
|
-
* The status of the commission settlement. Valid values: draft, published, closed
|
|
30
|
+
* The status of the commission settlement. Valid values: draft, processing, published, closed
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CreateCommissionSettlementRequestDto
|
|
33
33
|
*/
|
|
@@ -36,6 +36,7 @@ export interface CreateCommissionSettlementRequestDto {
|
|
|
36
36
|
|
|
37
37
|
export const CreateCommissionSettlementRequestDtoStatusEnum = {
|
|
38
38
|
Draft: 'draft',
|
|
39
|
+
Processing: 'processing',
|
|
39
40
|
Published: 'published',
|
|
40
41
|
Closed: 'closed'
|
|
41
42
|
} as const;
|
|
@@ -27,7 +27,7 @@ export interface UpdateCommissionSettlementRequestDto {
|
|
|
27
27
|
*/
|
|
28
28
|
'code': string;
|
|
29
29
|
/**
|
|
30
|
-
* The updated status of the commission settlement. Valid values: draft, published, closed
|
|
30
|
+
* The updated status of the commission settlement. Valid values: draft, processing, published, closed
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof UpdateCommissionSettlementRequestDto
|
|
33
33
|
*/
|
|
@@ -42,6 +42,7 @@ export interface UpdateCommissionSettlementRequestDto {
|
|
|
42
42
|
|
|
43
43
|
export const UpdateCommissionSettlementRequestDtoStatusEnum = {
|
|
44
44
|
Draft: 'draft',
|
|
45
|
+
Processing: 'processing',
|
|
45
46
|
Published: 'published',
|
|
46
47
|
Closed: 'closed'
|
|
47
48
|
} as const;
|