lancer-shared 1.0.135 → 1.0.136
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/dist/constants/index.js
CHANGED
|
@@ -37,4 +37,4 @@ __exportStar(require("./common-questions"), exports);
|
|
|
37
37
|
__exportStar(require("./job-status"), exports);
|
|
38
38
|
__exportStar(require("./routes"), exports);
|
|
39
39
|
__exportStar(require("./collections"), exports);
|
|
40
|
-
__exportStar(require("./
|
|
40
|
+
__exportStar(require("./upwork-accounts"), exports);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AccountStatus } from '../types/account/account-status';
|
|
2
|
+
import { BidderAccountProvider } from '../types/account/bidder-account';
|
|
3
|
+
export declare const accountStatusOrder: AccountStatus[];
|
|
4
|
+
export declare const accountStatusDisplayMap: Record<AccountStatus, string>;
|
|
5
|
+
export declare const bidderAccountProviderDisplayMap: Record<BidderAccountProvider, string>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bidderAccountProviderDisplayMap = exports.accountStatusDisplayMap = exports.accountStatusOrder = void 0;
|
|
4
|
+
exports.accountStatusOrder = [
|
|
5
|
+
'verification_required',
|
|
6
|
+
'shadow_banned',
|
|
7
|
+
'healthy',
|
|
8
|
+
'banned',
|
|
9
|
+
'suspended',
|
|
10
|
+
];
|
|
11
|
+
exports.accountStatusDisplayMap = {
|
|
12
|
+
verification_required: 'Verification Required',
|
|
13
|
+
shadow_banned: 'Shadow Banned',
|
|
14
|
+
healthy: 'Healthy',
|
|
15
|
+
banned: 'Banned',
|
|
16
|
+
suspended: 'Suspended',
|
|
17
|
+
};
|
|
18
|
+
exports.bidderAccountProviderDisplayMap = {
|
|
19
|
+
'lancer-provided': 'Lancer Provided',
|
|
20
|
+
'user-provided': 'User Provided',
|
|
21
|
+
};
|