@riocrypto/common 1.0.2435 → 1.0.2437
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/events/user-updated-event.d.ts +2 -1
- package/build/index.d.ts +2 -0
- package/build/index.js +2 -0
- package/build/types/admin-auth-dashboard-settings.d.ts +2 -0
- package/build/types/auth-dashboard-settings.d.ts +2 -0
- package/build/types/dashboard-table-type.d.ts +32 -0
- package/build/types/dashboard-table-type.js +36 -0
- package/build/types/table-preference.d.ts +6 -0
- package/build/types/table-preference.js +2 -0
- package/build/types/user-input.d.ts +2 -1
- package/build/types/user-update.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Country } from "../types/country";
|
|
2
2
|
import { CountryOfOrigin } from "../types/country-of-origin";
|
|
3
|
+
import { MexicoInvoicingMethod } from "../types/mexico-invoicing-method";
|
|
3
4
|
import { OnboardingStatus } from "../types/onboarding-status";
|
|
4
5
|
import { PlatformFeeRange } from "../types/platform-fee-range";
|
|
5
6
|
import { UserAttribute } from "../types/user-attribute";
|
|
@@ -52,7 +53,7 @@ export interface UserUpdatedEvent {
|
|
|
52
53
|
};
|
|
53
54
|
invoicing?: {
|
|
54
55
|
MX?: {
|
|
55
|
-
|
|
56
|
+
method?: MexicoInvoicingMethod;
|
|
56
57
|
fiscalName?: string;
|
|
57
58
|
fiscalRegimenCode?: number;
|
|
58
59
|
};
|
package/build/index.d.ts
CHANGED
|
@@ -404,6 +404,8 @@ export * from "./types/external-trading-algorithm-status";
|
|
|
404
404
|
export * from "./types/external-trading-algorithm-type";
|
|
405
405
|
export * from "./types/external-trading-provider";
|
|
406
406
|
export * from "./types/external-trade-amount-type";
|
|
407
|
+
export * from "./types/dashboard-table-type";
|
|
408
|
+
export * from "./types/table-preference";
|
|
407
409
|
export * from "./types/auth-dashboard-settings";
|
|
408
410
|
export * from "./types/admin-auth-dashboard-settings";
|
|
409
411
|
export * from "./types/STP-mxn-withdrawal";
|
package/build/index.js
CHANGED
|
@@ -420,6 +420,8 @@ __exportStar(require("./types/external-trading-algorithm-status"), exports);
|
|
|
420
420
|
__exportStar(require("./types/external-trading-algorithm-type"), exports);
|
|
421
421
|
__exportStar(require("./types/external-trading-provider"), exports);
|
|
422
422
|
__exportStar(require("./types/external-trade-amount-type"), exports);
|
|
423
|
+
__exportStar(require("./types/dashboard-table-type"), exports);
|
|
424
|
+
__exportStar(require("./types/table-preference"), exports);
|
|
423
425
|
__exportStar(require("./types/auth-dashboard-settings"), exports);
|
|
424
426
|
__exportStar(require("./types/admin-auth-dashboard-settings"), exports);
|
|
425
427
|
__exportStar(require("./types/STP-mxn-withdrawal"), exports);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { TablePreferences } from "./table-preference";
|
|
1
2
|
export interface AdminAuthDashboardSettings {
|
|
2
3
|
adminAuthId: string;
|
|
3
4
|
hideBackgroundAnimation?: boolean;
|
|
4
5
|
pwaInstallBannerDismissedDesktop?: boolean;
|
|
5
6
|
pwaInstallBannerDismissedMobile?: boolean;
|
|
6
7
|
notificationBannerDismissedMobile?: boolean;
|
|
8
|
+
tablePreferences?: TablePreferences;
|
|
7
9
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { TablePreferences } from "./table-preference";
|
|
1
2
|
export interface AuthDashboardSettings {
|
|
2
3
|
authId: string;
|
|
3
4
|
hideBackgroundAnimation?: boolean;
|
|
4
5
|
pwaInstallBannerDismissedDesktop?: boolean;
|
|
5
6
|
pwaInstallBannerDismissedMobile?: boolean;
|
|
6
7
|
notificationBannerDismissedMobile?: boolean;
|
|
8
|
+
tablePreferences?: TablePreferences;
|
|
7
9
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare enum DashboardTableType {
|
|
2
|
+
Orders = "orders",
|
|
3
|
+
Wallets = "wallets",
|
|
4
|
+
Users = "users",
|
|
5
|
+
BankAccounts = "bankAccounts",
|
|
6
|
+
AdminTasks = "adminTasks",
|
|
7
|
+
ExternalTradingAlgorithms = "externalTradingAlgorithms",
|
|
8
|
+
InternalBalances = "internalBalances",
|
|
9
|
+
InternalTransfers = "internalTransfers",
|
|
10
|
+
Trades = "trades",
|
|
11
|
+
Fees = "fees",
|
|
12
|
+
TwapSessions = "twapSessions",
|
|
13
|
+
TwapSettlements = "twapSettlements",
|
|
14
|
+
ArbitrageSessions = "arbitrageSessions",
|
|
15
|
+
Axes = "axes",
|
|
16
|
+
Team = "team",
|
|
17
|
+
Webhooks = "webhooks",
|
|
18
|
+
ApiKeys = "apiKeys",
|
|
19
|
+
PayoutAdvancesTransactions = "payoutAdvancesTransactions",
|
|
20
|
+
Countries = "countries",
|
|
21
|
+
LiquidityReservations = "liquidityReservations",
|
|
22
|
+
LiquidityAutomations = "liquidityAutomations",
|
|
23
|
+
Passkeys = "passkeys",
|
|
24
|
+
Invoices = "invoices",
|
|
25
|
+
ExternalTrades = "externalTrades",
|
|
26
|
+
PaymentAccounts = "paymentAccounts",
|
|
27
|
+
ArbitrageTrades = "arbitrageTrades",
|
|
28
|
+
InternalTrades = "internalTrades",
|
|
29
|
+
Usage = "usage",
|
|
30
|
+
TemporaryVerifications = "temporaryVerifications",
|
|
31
|
+
AdminActions = "adminActions"
|
|
32
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DashboardTableType = void 0;
|
|
4
|
+
var DashboardTableType;
|
|
5
|
+
(function (DashboardTableType) {
|
|
6
|
+
DashboardTableType["Orders"] = "orders";
|
|
7
|
+
DashboardTableType["Wallets"] = "wallets";
|
|
8
|
+
DashboardTableType["Users"] = "users";
|
|
9
|
+
DashboardTableType["BankAccounts"] = "bankAccounts";
|
|
10
|
+
DashboardTableType["AdminTasks"] = "adminTasks";
|
|
11
|
+
DashboardTableType["ExternalTradingAlgorithms"] = "externalTradingAlgorithms";
|
|
12
|
+
DashboardTableType["InternalBalances"] = "internalBalances";
|
|
13
|
+
DashboardTableType["InternalTransfers"] = "internalTransfers";
|
|
14
|
+
DashboardTableType["Trades"] = "trades";
|
|
15
|
+
DashboardTableType["Fees"] = "fees";
|
|
16
|
+
DashboardTableType["TwapSessions"] = "twapSessions";
|
|
17
|
+
DashboardTableType["TwapSettlements"] = "twapSettlements";
|
|
18
|
+
DashboardTableType["ArbitrageSessions"] = "arbitrageSessions";
|
|
19
|
+
DashboardTableType["Axes"] = "axes";
|
|
20
|
+
DashboardTableType["Team"] = "team";
|
|
21
|
+
DashboardTableType["Webhooks"] = "webhooks";
|
|
22
|
+
DashboardTableType["ApiKeys"] = "apiKeys";
|
|
23
|
+
DashboardTableType["PayoutAdvancesTransactions"] = "payoutAdvancesTransactions";
|
|
24
|
+
DashboardTableType["Countries"] = "countries";
|
|
25
|
+
DashboardTableType["LiquidityReservations"] = "liquidityReservations";
|
|
26
|
+
DashboardTableType["LiquidityAutomations"] = "liquidityAutomations";
|
|
27
|
+
DashboardTableType["Passkeys"] = "passkeys";
|
|
28
|
+
DashboardTableType["Invoices"] = "invoices";
|
|
29
|
+
DashboardTableType["ExternalTrades"] = "externalTrades";
|
|
30
|
+
DashboardTableType["PaymentAccounts"] = "paymentAccounts";
|
|
31
|
+
DashboardTableType["ArbitrageTrades"] = "arbitrageTrades";
|
|
32
|
+
DashboardTableType["InternalTrades"] = "internalTrades";
|
|
33
|
+
DashboardTableType["Usage"] = "usage";
|
|
34
|
+
DashboardTableType["TemporaryVerifications"] = "temporaryVerifications";
|
|
35
|
+
DashboardTableType["AdminActions"] = "adminActions";
|
|
36
|
+
})(DashboardTableType = exports.DashboardTableType || (exports.DashboardTableType = {}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Country } from "./country";
|
|
2
2
|
import { CountryOfOrigin } from "./country-of-origin";
|
|
3
3
|
import { Fiat } from "./fiat";
|
|
4
|
+
import { MexicoInvoicingMethod } from "./mexico-invoicing-method";
|
|
4
5
|
import { OnboardingStatus } from "./onboarding-status";
|
|
5
6
|
import { PlatformFeeRange } from "./platform-fee-range";
|
|
6
7
|
import { UserAttribute } from "./user-attribute";
|
|
@@ -72,7 +73,7 @@ export declare type UserInput = {
|
|
|
72
73
|
};
|
|
73
74
|
invoicing?: {
|
|
74
75
|
MX?: {
|
|
75
|
-
|
|
76
|
+
method?: MexicoInvoicingMethod;
|
|
76
77
|
fiscalName?: string;
|
|
77
78
|
fiscalRegimenCode?: number;
|
|
78
79
|
};
|
|
@@ -6,6 +6,7 @@ import { UserType } from "./user-type";
|
|
|
6
6
|
import { Country } from "./country";
|
|
7
7
|
import { Fiat } from "./fiat";
|
|
8
8
|
import { Crypto } from "./crypto";
|
|
9
|
+
import { MexicoInvoicingMethod } from "./mexico-invoicing-method";
|
|
9
10
|
declare type IndividualUser = {
|
|
10
11
|
individualData?: {
|
|
11
12
|
firstName?: string;
|
|
@@ -74,7 +75,7 @@ export declare type UserUpdate = {
|
|
|
74
75
|
};
|
|
75
76
|
invoicing?: {
|
|
76
77
|
MX?: {
|
|
77
|
-
|
|
78
|
+
method?: MexicoInvoicingMethod;
|
|
78
79
|
fiscalName?: string;
|
|
79
80
|
fiscalRegimenCode?: number;
|
|
80
81
|
postalCode?: string;
|