@riocrypto/common 1.0.2566 → 1.0.2567
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/build/index.d.ts
CHANGED
|
@@ -426,6 +426,7 @@ export * from "./types/liquidity-reservation";
|
|
|
426
426
|
export * from "./types/liquidity-reservation-status";
|
|
427
427
|
export * from "./types/crypto-payout-failure-reason";
|
|
428
428
|
export * from "./types/auth-permission";
|
|
429
|
+
export * from "./types/admin-auth-special-permission";
|
|
429
430
|
export * from "./types/two-way-settlement-type";
|
|
430
431
|
export * from "./types/deferred-payment-type";
|
|
431
432
|
export * from "./types/order-type";
|
package/build/index.js
CHANGED
|
@@ -442,6 +442,7 @@ __exportStar(require("./types/liquidity-reservation"), exports);
|
|
|
442
442
|
__exportStar(require("./types/liquidity-reservation-status"), exports);
|
|
443
443
|
__exportStar(require("./types/crypto-payout-failure-reason"), exports);
|
|
444
444
|
__exportStar(require("./types/auth-permission"), exports);
|
|
445
|
+
__exportStar(require("./types/admin-auth-special-permission"), exports);
|
|
445
446
|
__exportStar(require("./types/two-way-settlement-type"), exports);
|
|
446
447
|
__exportStar(require("./types/deferred-payment-type"), exports);
|
|
447
448
|
__exportStar(require("./types/order-type"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum AdminAuthSpecialPermission {
|
|
2
|
+
ManageOnboardings = "manageOnboardings",
|
|
3
|
+
ManageUsers = "manageUsers",
|
|
4
|
+
ConfirmPayments = "confirmPayments",
|
|
5
|
+
ConfirmPayouts = "confirmPayouts",
|
|
6
|
+
ModifyOrders = "modifyOrders",
|
|
7
|
+
ModifyBankAccounts = "modifyBankAccounts",
|
|
8
|
+
ModifyCryptoAddresses = "modifyCryptoAddresses",
|
|
9
|
+
ModifyTeamMembers = "modifyTeamMembers"
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminAuthSpecialPermission = void 0;
|
|
4
|
+
var AdminAuthSpecialPermission;
|
|
5
|
+
(function (AdminAuthSpecialPermission) {
|
|
6
|
+
AdminAuthSpecialPermission["ManageOnboardings"] = "manageOnboardings";
|
|
7
|
+
AdminAuthSpecialPermission["ManageUsers"] = "manageUsers";
|
|
8
|
+
AdminAuthSpecialPermission["ConfirmPayments"] = "confirmPayments";
|
|
9
|
+
AdminAuthSpecialPermission["ConfirmPayouts"] = "confirmPayouts";
|
|
10
|
+
AdminAuthSpecialPermission["ModifyOrders"] = "modifyOrders";
|
|
11
|
+
AdminAuthSpecialPermission["ModifyBankAccounts"] = "modifyBankAccounts";
|
|
12
|
+
AdminAuthSpecialPermission["ModifyCryptoAddresses"] = "modifyCryptoAddresses";
|
|
13
|
+
AdminAuthSpecialPermission["ModifyTeamMembers"] = "modifyTeamMembers";
|
|
14
|
+
})(AdminAuthSpecialPermission = exports.AdminAuthSpecialPermission || (exports.AdminAuthSpecialPermission = {}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AdminAuthRole } from "./admin-auth-role";
|
|
2
|
+
import { AdminAuthSpecialPermission } from "./admin-auth-special-permission";
|
|
2
3
|
import { AdminTaskType } from "./admin-task-type";
|
|
3
4
|
export interface AdminAuthUpdate {
|
|
4
5
|
firstName?: string;
|
|
@@ -11,6 +12,7 @@ export interface AdminAuthUpdate {
|
|
|
11
12
|
assignedTaskTypes?: AdminTaskType[];
|
|
12
13
|
userAuthId?: string;
|
|
13
14
|
role?: AdminAuthRole;
|
|
15
|
+
permissions?: AdminAuthSpecialPermission[];
|
|
14
16
|
previousPasswords?: string[];
|
|
15
17
|
authenticatorSecret?: string;
|
|
16
18
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AdminAuthRole } from "./admin-auth-role";
|
|
2
|
+
import { AdminAuthSpecialPermission } from "./admin-auth-special-permission";
|
|
2
3
|
import { AdminTaskType } from "./admin-task-type";
|
|
3
4
|
import { APIKey } from "./api-key";
|
|
4
5
|
export interface AdminAuth {
|
|
@@ -20,6 +21,7 @@ export interface AdminAuth {
|
|
|
20
21
|
assignedTaskTypes: AdminTaskType[];
|
|
21
22
|
userAuthId?: string;
|
|
22
23
|
role: AdminAuthRole;
|
|
24
|
+
permissions?: AdminAuthSpecialPermission[];
|
|
23
25
|
previousPasswords?: string[];
|
|
24
26
|
authenticatorSecret?: string;
|
|
25
27
|
apiKeys?: APIKey[];
|