@emilgroup/commission-sdk 1.1.1-beta.2 → 1.1.1-beta.7
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
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.1.1-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk@1.1.1-beta.7 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk@1.1.1-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk@1.1.1-beta.7
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
|
@@ -50,7 +50,7 @@ export interface CommissionCandidateClass {
|
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof CommissionCandidateClass
|
|
52
52
|
*/
|
|
53
|
-
'status':
|
|
53
|
+
'status': CommissionCandidateClassStatusEnum;
|
|
54
54
|
/**
|
|
55
55
|
* The code of the commission associated with this commission candidate
|
|
56
56
|
* @type {string}
|
|
@@ -88,3 +88,8 @@ export interface CommissionCandidateClass {
|
|
|
88
88
|
*/
|
|
89
89
|
'updatedBy': string;
|
|
90
90
|
}
|
|
91
|
+
export declare const CommissionCandidateClassStatusEnum: {
|
|
92
|
+
readonly Pending: "pending";
|
|
93
|
+
readonly Processed: "processed";
|
|
94
|
+
};
|
|
95
|
+
export type CommissionCandidateClassStatusEnum = typeof CommissionCandidateClassStatusEnum[keyof typeof CommissionCandidateClassStatusEnum];
|
|
@@ -13,3 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CommissionCandidateClassStatusEnum = void 0;
|
|
17
|
+
exports.CommissionCandidateClassStatusEnum = {
|
|
18
|
+
Pending: 'pending',
|
|
19
|
+
Processed: 'processed'
|
|
20
|
+
};
|
|
@@ -55,7 +55,7 @@ export interface CommissionCandidateClass {
|
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof CommissionCandidateClass
|
|
57
57
|
*/
|
|
58
|
-
'status':
|
|
58
|
+
'status': CommissionCandidateClassStatusEnum;
|
|
59
59
|
/**
|
|
60
60
|
* The code of the commission associated with this commission candidate
|
|
61
61
|
* @type {string}
|
|
@@ -94,3 +94,11 @@ export interface CommissionCandidateClass {
|
|
|
94
94
|
'updatedBy': string;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
export const CommissionCandidateClassStatusEnum = {
|
|
98
|
+
Pending: 'pending',
|
|
99
|
+
Processed: 'processed'
|
|
100
|
+
} as const;
|
|
101
|
+
|
|
102
|
+
export type CommissionCandidateClassStatusEnum = typeof CommissionCandidateClassStatusEnum[keyof typeof CommissionCandidateClassStatusEnum];
|
|
103
|
+
|
|
104
|
+
|