@riocrypto/common 1.0.2033 → 1.0.2035
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.
|
@@ -2,5 +2,5 @@ import { AdminTaskType } from "../types/admin-task-type";
|
|
|
2
2
|
export declare class AdminTaskTypeClass {
|
|
3
3
|
private key;
|
|
4
4
|
constructor(key: AdminTaskType);
|
|
5
|
-
getTaskLabel(): "ERR" | "Confirm
|
|
5
|
+
getTaskLabel(): "ERR" | "Confirm bank transfer receipt" | "Exchange to USD" | "Place FX trade" | "Register bank account" | "Initiate bank transfer" | "Review KYC" | "Source liquidity" | "Check error" | "Source gas" | "Update order amount";
|
|
6
6
|
}
|
|
@@ -8,7 +8,7 @@ class AdminTaskTypeClass {
|
|
|
8
8
|
}
|
|
9
9
|
getTaskLabel() {
|
|
10
10
|
if (this.key === admin_task_type_1.AdminTaskType.ConfirmBankTransferReceipt) {
|
|
11
|
-
return "Confirm
|
|
11
|
+
return "Confirm bank transfer receipt";
|
|
12
12
|
}
|
|
13
13
|
else if (this.key === admin_task_type_1.AdminTaskType.ExchangeToUSD) {
|
|
14
14
|
return "Exchange to USD";
|
|
@@ -17,22 +17,25 @@ class AdminTaskTypeClass {
|
|
|
17
17
|
return "Place FX trade";
|
|
18
18
|
}
|
|
19
19
|
else if (this.key === admin_task_type_1.AdminTaskType.RegisterBankAccount) {
|
|
20
|
-
return "Register
|
|
20
|
+
return "Register bank account";
|
|
21
21
|
}
|
|
22
22
|
else if (this.key === admin_task_type_1.AdminTaskType.InitiateBankTransfer) {
|
|
23
|
-
return "Initiate
|
|
23
|
+
return "Initiate bank transfer";
|
|
24
24
|
}
|
|
25
25
|
else if (this.key === admin_task_type_1.AdminTaskType.ReviewKYC) {
|
|
26
26
|
return "Review KYC";
|
|
27
27
|
}
|
|
28
28
|
else if (this.key === admin_task_type_1.AdminTaskType.SourceLiquidity) {
|
|
29
|
-
return "Source
|
|
29
|
+
return "Source liquidity";
|
|
30
30
|
}
|
|
31
31
|
else if (this.key === admin_task_type_1.AdminTaskType.CheckError) {
|
|
32
|
-
return "Check
|
|
32
|
+
return "Check error";
|
|
33
33
|
}
|
|
34
34
|
else if (this.key === admin_task_type_1.AdminTaskType.SourceGas) {
|
|
35
|
-
return "Source
|
|
35
|
+
return "Source gas";
|
|
36
|
+
}
|
|
37
|
+
else if (this.key === admin_task_type_1.AdminTaskType.UpdateOrderAmount) {
|
|
38
|
+
return "Update order amount";
|
|
36
39
|
}
|
|
37
40
|
else
|
|
38
41
|
return "ERR";
|