@numen-crypto/contract 0.7.0 → 0.9.0
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/index.cjs +27 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +48 -1
- package/dist/index.d.ts +48 -1
- package/dist/index.js +27 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -19,6 +19,9 @@ declare const ERROR_CODE: {
|
|
|
19
19
|
readonly EMAIL_NOT_VERIFIED: "EMAIL_NOT_VERIFIED";
|
|
20
20
|
readonly EMAIL_ALREADY_VERIFIED: "EMAIL_ALREADY_VERIFIED";
|
|
21
21
|
readonly TOKEN_INVALID: "TOKEN_INVALID";
|
|
22
|
+
readonly TOTP_INVALID: "TOTP_INVALID";
|
|
23
|
+
readonly CAPTCHA_REQUIRED: "CAPTCHA_REQUIRED";
|
|
24
|
+
readonly CAPTCHA_INVALID: "CAPTCHA_INVALID";
|
|
22
25
|
readonly INSUFFICIENT_BALANCE: "INSUFFICIENT_BALANCE";
|
|
23
26
|
readonly PURCHASE_LIMIT_EXCEEDED: "PURCHASE_LIMIT_EXCEEDED";
|
|
24
27
|
readonly PURCHASE_CAP_EXCEEDED: "PURCHASE_CAP_EXCEEDED";
|
|
@@ -303,6 +306,7 @@ declare const DepositEntrySchema: z.ZodObject<{
|
|
|
303
306
|
network: z.ZodString;
|
|
304
307
|
address: z.ZodString;
|
|
305
308
|
amount: z.ZodNullable<z.ZodString>;
|
|
309
|
+
requestedAmount: z.ZodNullable<z.ZodString>;
|
|
306
310
|
status: z.ZodEnum<["PENDING", "CONFIRMING", "CREDITED", "FAILED", "EXPIRED"]>;
|
|
307
311
|
txHash: z.ZodNullable<z.ZodString>;
|
|
308
312
|
confirmations: z.ZodNumber;
|
|
@@ -316,6 +320,7 @@ declare const DepositEntrySchema: z.ZodObject<{
|
|
|
316
320
|
amount: string | null;
|
|
317
321
|
network: string;
|
|
318
322
|
address: string;
|
|
323
|
+
requestedAmount: string | null;
|
|
319
324
|
txHash: string | null;
|
|
320
325
|
confirmations: number;
|
|
321
326
|
creditedAt: string | null;
|
|
@@ -327,6 +332,7 @@ declare const DepositEntrySchema: z.ZodObject<{
|
|
|
327
332
|
amount: string | null;
|
|
328
333
|
network: string;
|
|
329
334
|
address: string;
|
|
335
|
+
requestedAmount: string | null;
|
|
330
336
|
txHash: string | null;
|
|
331
337
|
confirmations: number;
|
|
332
338
|
creditedAt: string | null;
|
|
@@ -1309,14 +1315,17 @@ declare namespace RegisterCommand {
|
|
|
1309
1315
|
email: z.ZodString;
|
|
1310
1316
|
password: z.ZodString;
|
|
1311
1317
|
referralCode: z.ZodOptional<z.ZodString>;
|
|
1318
|
+
captchaToken: z.ZodOptional<z.ZodString>;
|
|
1312
1319
|
}, "strip", z.ZodTypeAny, {
|
|
1313
1320
|
email: string;
|
|
1314
1321
|
password: string;
|
|
1315
1322
|
referralCode?: string | undefined;
|
|
1323
|
+
captchaToken?: string | undefined;
|
|
1316
1324
|
}, {
|
|
1317
1325
|
email: string;
|
|
1318
1326
|
password: string;
|
|
1319
1327
|
referralCode?: string | undefined;
|
|
1328
|
+
captchaToken?: string | undefined;
|
|
1320
1329
|
}>;
|
|
1321
1330
|
type Request = z.infer<typeof RequestSchema>;
|
|
1322
1331
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -1335,13 +1344,16 @@ declare namespace LoginCommand {
|
|
|
1335
1344
|
email: z.ZodString;
|
|
1336
1345
|
password: z.ZodString;
|
|
1337
1346
|
totp: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
captchaToken: z.ZodOptional<z.ZodString>;
|
|
1338
1348
|
}, "strip", z.ZodTypeAny, {
|
|
1339
1349
|
email: string;
|
|
1340
1350
|
password: string;
|
|
1351
|
+
captchaToken?: string | undefined;
|
|
1341
1352
|
totp?: string | undefined;
|
|
1342
1353
|
}, {
|
|
1343
1354
|
email: string;
|
|
1344
1355
|
password: string;
|
|
1356
|
+
captchaToken?: string | undefined;
|
|
1345
1357
|
totp?: string | undefined;
|
|
1346
1358
|
}>;
|
|
1347
1359
|
type Request = z.infer<typeof RequestSchema>;
|
|
@@ -1593,6 +1605,32 @@ declare namespace ResetPasswordCommand {
|
|
|
1593
1605
|
type Response = z.infer<typeof ResponseSchema>;
|
|
1594
1606
|
}
|
|
1595
1607
|
|
|
1608
|
+
declare const ThreatLevelSchema: z.ZodEnum<["calm", "elevated", "high", "attack"]>;
|
|
1609
|
+
type ThreatLevel = z.infer<typeof ThreatLevelSchema>;
|
|
1610
|
+
declare namespace CaptchaPolicyCommand {
|
|
1611
|
+
const endpointDetails: EndpointDetails;
|
|
1612
|
+
const ResponseSchema: z.ZodObject<{
|
|
1613
|
+
provider: z.ZodEnum<["turnstile", "none"]>;
|
|
1614
|
+
siteKey: z.ZodNullable<z.ZodString>;
|
|
1615
|
+
register: z.ZodBoolean;
|
|
1616
|
+
login: z.ZodBoolean;
|
|
1617
|
+
level: z.ZodEnum<["calm", "elevated", "high", "attack"]>;
|
|
1618
|
+
}, "strip", z.ZodTypeAny, {
|
|
1619
|
+
level: "calm" | "elevated" | "high" | "attack";
|
|
1620
|
+
provider: "turnstile" | "none";
|
|
1621
|
+
siteKey: string | null;
|
|
1622
|
+
register: boolean;
|
|
1623
|
+
login: boolean;
|
|
1624
|
+
}, {
|
|
1625
|
+
level: "calm" | "elevated" | "high" | "attack";
|
|
1626
|
+
provider: "turnstile" | "none";
|
|
1627
|
+
siteKey: string | null;
|
|
1628
|
+
register: boolean;
|
|
1629
|
+
login: boolean;
|
|
1630
|
+
}>;
|
|
1631
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1596
1634
|
declare namespace GetWalletCommand {
|
|
1597
1635
|
const endpointDetails: EndpointDetails;
|
|
1598
1636
|
const ResponseSchema: zod.ZodObject<{
|
|
@@ -1744,12 +1782,15 @@ declare namespace DepositAddressCommand {
|
|
|
1744
1782
|
const RequestSchema: z.ZodObject<{
|
|
1745
1783
|
asset: z.ZodEnum<["USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
1746
1784
|
network: z.ZodString;
|
|
1785
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
1747
1786
|
}, "strip", z.ZodTypeAny, {
|
|
1748
1787
|
asset: "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
1749
1788
|
network: string;
|
|
1789
|
+
amount?: string | undefined;
|
|
1750
1790
|
}, {
|
|
1751
1791
|
asset: "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
1752
1792
|
network: string;
|
|
1793
|
+
amount?: string | undefined;
|
|
1753
1794
|
}>;
|
|
1754
1795
|
type Request = z.infer<typeof RequestSchema>;
|
|
1755
1796
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -1783,6 +1824,7 @@ declare namespace ListDepositsCommand {
|
|
|
1783
1824
|
network: z.ZodString;
|
|
1784
1825
|
address: z.ZodString;
|
|
1785
1826
|
amount: z.ZodNullable<z.ZodString>;
|
|
1827
|
+
requestedAmount: z.ZodNullable<z.ZodString>;
|
|
1786
1828
|
status: z.ZodEnum<["PENDING", "CONFIRMING", "CREDITED", "FAILED", "EXPIRED"]>;
|
|
1787
1829
|
txHash: z.ZodNullable<z.ZodString>;
|
|
1788
1830
|
confirmations: z.ZodNumber;
|
|
@@ -1796,6 +1838,7 @@ declare namespace ListDepositsCommand {
|
|
|
1796
1838
|
amount: string | null;
|
|
1797
1839
|
network: string;
|
|
1798
1840
|
address: string;
|
|
1841
|
+
requestedAmount: string | null;
|
|
1799
1842
|
txHash: string | null;
|
|
1800
1843
|
confirmations: number;
|
|
1801
1844
|
creditedAt: string | null;
|
|
@@ -1807,6 +1850,7 @@ declare namespace ListDepositsCommand {
|
|
|
1807
1850
|
amount: string | null;
|
|
1808
1851
|
network: string;
|
|
1809
1852
|
address: string;
|
|
1853
|
+
requestedAmount: string | null;
|
|
1810
1854
|
txHash: string | null;
|
|
1811
1855
|
confirmations: number;
|
|
1812
1856
|
creditedAt: string | null;
|
|
@@ -1820,6 +1864,7 @@ declare namespace ListDepositsCommand {
|
|
|
1820
1864
|
amount: string | null;
|
|
1821
1865
|
network: string;
|
|
1822
1866
|
address: string;
|
|
1867
|
+
requestedAmount: string | null;
|
|
1823
1868
|
txHash: string | null;
|
|
1824
1869
|
confirmations: number;
|
|
1825
1870
|
creditedAt: string | null;
|
|
@@ -1833,6 +1878,7 @@ declare namespace ListDepositsCommand {
|
|
|
1833
1878
|
amount: string | null;
|
|
1834
1879
|
network: string;
|
|
1835
1880
|
address: string;
|
|
1881
|
+
requestedAmount: string | null;
|
|
1836
1882
|
txHash: string | null;
|
|
1837
1883
|
confirmations: number;
|
|
1838
1884
|
creditedAt: string | null;
|
|
@@ -4282,6 +4328,7 @@ declare const REST_API: {
|
|
|
4282
4328
|
readonly RESEND_VERIFICATION: "/auth/verify-email/resend";
|
|
4283
4329
|
readonly FORGOT_PASSWORD: "/auth/password/forgot";
|
|
4284
4330
|
readonly RESET_PASSWORD: "/auth/password/reset";
|
|
4331
|
+
readonly CAPTCHA_POLICY: "/auth/captcha-policy";
|
|
4285
4332
|
};
|
|
4286
4333
|
readonly WALLET: {
|
|
4287
4334
|
readonly OVERVIEW: "/wallet";
|
|
@@ -4362,4 +4409,4 @@ declare const REST_API: {
|
|
|
4362
4409
|
declare const API_PREFIX = "/api";
|
|
4363
4410
|
declare const API_VERSION = "v1";
|
|
4364
4411
|
|
|
4365
|
-
export { API_PREFIX, API_VERSION, ASSET_DECIMALS, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, type AssetBalance, AssetBalanceSchema, type AssetSymbol, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, BuyPackageCommand, CancelOrderCommand, CancelWithdrawalCommand, type ChartPeriod, ChartPeriodSchema, type ChartPoint, ChartPointSchema, ClaimDailyBonusCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, CreateTicketCommand, DEPOSITABLE_ASSETS, type DailyBonusClaimResult, DailyBonusClaimResultSchema, type DailyBonusDay, DailyBonusDaySchema, type DailyBonusStatus, DailyBonusStatusSchema, type DepositAddress, DepositAddressCommand, DepositAddressSchema, type DepositEntry, DepositEntrySchema, type DepositStatus, DepositStatusSchema, type DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, ForgotPasswordCommand, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetWalletCommand, type HttpMethod, type IncomeOverview, IncomeOverviewSchema, type IncomePeriod, IncomePeriodSchema, type Leaderboard, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardPeriod, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, type LinkProvider, LinkProviderSchema, LinkTelegramCommand, type LinkedAccount, LinkedAccountSchema, ListDepositsCommand, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, type MonthlyPricePoint, MonthlyPricePointSchema, NMN_PRICE_DECIMALS, type Notification, NotificationSchema, type NotificationType, NotificationTypeSchema, type Order, type OrderBook, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, OrderSchema, type OrderSide, OrderSideSchema, type OrderStatus, OrderStatusSchema, type OrderType, OrderTypeSchema, type Package, PackageSchema, type PackageStatus, PackageStatusSchema, type PackagesOverview, PackagesOverviewSchema, PaginatedSchema, type PaginationQuery, PaginationQuerySchema, type PartnerAccrual, PartnerAccrualSchema, type PartnerLevel, PartnerLevelSchema, type PartnersOverview, PartnersOverviewSchema, type Period, PeriodSchema, PlaceOrderCommand, PositiveMoneyStringSchema, type PublicTrade, PublicTradeSchema, REST_API, type RankDef, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestWithdrawalCommand, ResendVerificationCommand, ResetPasswordCommand, type SessionInfo, SessionInfoSchema, SetupTotpCommand, type Slide, type SlideButtonStyle, SlideButtonStyleSchema, type SlideKind, SlideKindSchema, type SlideLinkTarget, SlideLinkTargetSchema, SlideSchema, type SlidesResponse, SlidesResponseSchema, SwapCommand, type SwapSide, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, type TicketAttachment, type TicketAttachmentInput, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, type TicketAuthorType, TicketAuthorTypeSchema, TicketBodySchema, type TicketCategory, TicketCategorySchema, type TicketDetail, TicketDetailSchema, type TicketMessage, TicketMessageSchema, type TicketStatus, TicketStatusSchema, type TicketSummary, TicketSummarySchema, type TokenPrice, TokenPriceSchema, type TradeLimits, TradeLimitsSchema, type TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, VerifyEmailCommand, type WalletOverview, WalletOverviewSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, assetDecimals, endpoint };
|
|
4412
|
+
export { API_PREFIX, API_VERSION, ASSET_DECIMALS, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, type AssetBalance, AssetBalanceSchema, type AssetSymbol, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, BuyPackageCommand, CancelOrderCommand, CancelWithdrawalCommand, CaptchaPolicyCommand, type ChartPeriod, ChartPeriodSchema, type ChartPoint, ChartPointSchema, ClaimDailyBonusCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, CreateTicketCommand, DEPOSITABLE_ASSETS, type DailyBonusClaimResult, DailyBonusClaimResultSchema, type DailyBonusDay, DailyBonusDaySchema, type DailyBonusStatus, DailyBonusStatusSchema, type DepositAddress, DepositAddressCommand, DepositAddressSchema, type DepositEntry, DepositEntrySchema, type DepositStatus, DepositStatusSchema, type DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, ForgotPasswordCommand, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetWalletCommand, type HttpMethod, type IncomeOverview, IncomeOverviewSchema, type IncomePeriod, IncomePeriodSchema, type Leaderboard, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardPeriod, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, type LinkProvider, LinkProviderSchema, LinkTelegramCommand, type LinkedAccount, LinkedAccountSchema, ListDepositsCommand, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, type MonthlyPricePoint, MonthlyPricePointSchema, NMN_PRICE_DECIMALS, type Notification, NotificationSchema, type NotificationType, NotificationTypeSchema, type Order, type OrderBook, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, OrderSchema, type OrderSide, OrderSideSchema, type OrderStatus, OrderStatusSchema, type OrderType, OrderTypeSchema, type Package, PackageSchema, type PackageStatus, PackageStatusSchema, type PackagesOverview, PackagesOverviewSchema, PaginatedSchema, type PaginationQuery, PaginationQuerySchema, type PartnerAccrual, PartnerAccrualSchema, type PartnerLevel, PartnerLevelSchema, type PartnersOverview, PartnersOverviewSchema, type Period, PeriodSchema, PlaceOrderCommand, PositiveMoneyStringSchema, type PublicTrade, PublicTradeSchema, REST_API, type RankDef, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestWithdrawalCommand, ResendVerificationCommand, ResetPasswordCommand, type SessionInfo, SessionInfoSchema, SetupTotpCommand, type Slide, type SlideButtonStyle, SlideButtonStyleSchema, type SlideKind, SlideKindSchema, type SlideLinkTarget, SlideLinkTargetSchema, SlideSchema, type SlidesResponse, SlidesResponseSchema, SwapCommand, type SwapSide, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, type ThreatLevel, ThreatLevelSchema, type TicketAttachment, type TicketAttachmentInput, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, type TicketAuthorType, TicketAuthorTypeSchema, TicketBodySchema, type TicketCategory, TicketCategorySchema, type TicketDetail, TicketDetailSchema, type TicketMessage, TicketMessageSchema, type TicketStatus, TicketStatusSchema, type TicketSummary, TicketSummarySchema, type TokenPrice, TokenPriceSchema, type TradeLimits, TradeLimitsSchema, type TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, VerifyEmailCommand, type WalletOverview, WalletOverviewSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, assetDecimals, endpoint };
|
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,9 @@ declare const ERROR_CODE: {
|
|
|
19
19
|
readonly EMAIL_NOT_VERIFIED: "EMAIL_NOT_VERIFIED";
|
|
20
20
|
readonly EMAIL_ALREADY_VERIFIED: "EMAIL_ALREADY_VERIFIED";
|
|
21
21
|
readonly TOKEN_INVALID: "TOKEN_INVALID";
|
|
22
|
+
readonly TOTP_INVALID: "TOTP_INVALID";
|
|
23
|
+
readonly CAPTCHA_REQUIRED: "CAPTCHA_REQUIRED";
|
|
24
|
+
readonly CAPTCHA_INVALID: "CAPTCHA_INVALID";
|
|
22
25
|
readonly INSUFFICIENT_BALANCE: "INSUFFICIENT_BALANCE";
|
|
23
26
|
readonly PURCHASE_LIMIT_EXCEEDED: "PURCHASE_LIMIT_EXCEEDED";
|
|
24
27
|
readonly PURCHASE_CAP_EXCEEDED: "PURCHASE_CAP_EXCEEDED";
|
|
@@ -303,6 +306,7 @@ declare const DepositEntrySchema: z.ZodObject<{
|
|
|
303
306
|
network: z.ZodString;
|
|
304
307
|
address: z.ZodString;
|
|
305
308
|
amount: z.ZodNullable<z.ZodString>;
|
|
309
|
+
requestedAmount: z.ZodNullable<z.ZodString>;
|
|
306
310
|
status: z.ZodEnum<["PENDING", "CONFIRMING", "CREDITED", "FAILED", "EXPIRED"]>;
|
|
307
311
|
txHash: z.ZodNullable<z.ZodString>;
|
|
308
312
|
confirmations: z.ZodNumber;
|
|
@@ -316,6 +320,7 @@ declare const DepositEntrySchema: z.ZodObject<{
|
|
|
316
320
|
amount: string | null;
|
|
317
321
|
network: string;
|
|
318
322
|
address: string;
|
|
323
|
+
requestedAmount: string | null;
|
|
319
324
|
txHash: string | null;
|
|
320
325
|
confirmations: number;
|
|
321
326
|
creditedAt: string | null;
|
|
@@ -327,6 +332,7 @@ declare const DepositEntrySchema: z.ZodObject<{
|
|
|
327
332
|
amount: string | null;
|
|
328
333
|
network: string;
|
|
329
334
|
address: string;
|
|
335
|
+
requestedAmount: string | null;
|
|
330
336
|
txHash: string | null;
|
|
331
337
|
confirmations: number;
|
|
332
338
|
creditedAt: string | null;
|
|
@@ -1309,14 +1315,17 @@ declare namespace RegisterCommand {
|
|
|
1309
1315
|
email: z.ZodString;
|
|
1310
1316
|
password: z.ZodString;
|
|
1311
1317
|
referralCode: z.ZodOptional<z.ZodString>;
|
|
1318
|
+
captchaToken: z.ZodOptional<z.ZodString>;
|
|
1312
1319
|
}, "strip", z.ZodTypeAny, {
|
|
1313
1320
|
email: string;
|
|
1314
1321
|
password: string;
|
|
1315
1322
|
referralCode?: string | undefined;
|
|
1323
|
+
captchaToken?: string | undefined;
|
|
1316
1324
|
}, {
|
|
1317
1325
|
email: string;
|
|
1318
1326
|
password: string;
|
|
1319
1327
|
referralCode?: string | undefined;
|
|
1328
|
+
captchaToken?: string | undefined;
|
|
1320
1329
|
}>;
|
|
1321
1330
|
type Request = z.infer<typeof RequestSchema>;
|
|
1322
1331
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -1335,13 +1344,16 @@ declare namespace LoginCommand {
|
|
|
1335
1344
|
email: z.ZodString;
|
|
1336
1345
|
password: z.ZodString;
|
|
1337
1346
|
totp: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
captchaToken: z.ZodOptional<z.ZodString>;
|
|
1338
1348
|
}, "strip", z.ZodTypeAny, {
|
|
1339
1349
|
email: string;
|
|
1340
1350
|
password: string;
|
|
1351
|
+
captchaToken?: string | undefined;
|
|
1341
1352
|
totp?: string | undefined;
|
|
1342
1353
|
}, {
|
|
1343
1354
|
email: string;
|
|
1344
1355
|
password: string;
|
|
1356
|
+
captchaToken?: string | undefined;
|
|
1345
1357
|
totp?: string | undefined;
|
|
1346
1358
|
}>;
|
|
1347
1359
|
type Request = z.infer<typeof RequestSchema>;
|
|
@@ -1593,6 +1605,32 @@ declare namespace ResetPasswordCommand {
|
|
|
1593
1605
|
type Response = z.infer<typeof ResponseSchema>;
|
|
1594
1606
|
}
|
|
1595
1607
|
|
|
1608
|
+
declare const ThreatLevelSchema: z.ZodEnum<["calm", "elevated", "high", "attack"]>;
|
|
1609
|
+
type ThreatLevel = z.infer<typeof ThreatLevelSchema>;
|
|
1610
|
+
declare namespace CaptchaPolicyCommand {
|
|
1611
|
+
const endpointDetails: EndpointDetails;
|
|
1612
|
+
const ResponseSchema: z.ZodObject<{
|
|
1613
|
+
provider: z.ZodEnum<["turnstile", "none"]>;
|
|
1614
|
+
siteKey: z.ZodNullable<z.ZodString>;
|
|
1615
|
+
register: z.ZodBoolean;
|
|
1616
|
+
login: z.ZodBoolean;
|
|
1617
|
+
level: z.ZodEnum<["calm", "elevated", "high", "attack"]>;
|
|
1618
|
+
}, "strip", z.ZodTypeAny, {
|
|
1619
|
+
level: "calm" | "elevated" | "high" | "attack";
|
|
1620
|
+
provider: "turnstile" | "none";
|
|
1621
|
+
siteKey: string | null;
|
|
1622
|
+
register: boolean;
|
|
1623
|
+
login: boolean;
|
|
1624
|
+
}, {
|
|
1625
|
+
level: "calm" | "elevated" | "high" | "attack";
|
|
1626
|
+
provider: "turnstile" | "none";
|
|
1627
|
+
siteKey: string | null;
|
|
1628
|
+
register: boolean;
|
|
1629
|
+
login: boolean;
|
|
1630
|
+
}>;
|
|
1631
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1596
1634
|
declare namespace GetWalletCommand {
|
|
1597
1635
|
const endpointDetails: EndpointDetails;
|
|
1598
1636
|
const ResponseSchema: zod.ZodObject<{
|
|
@@ -1744,12 +1782,15 @@ declare namespace DepositAddressCommand {
|
|
|
1744
1782
|
const RequestSchema: z.ZodObject<{
|
|
1745
1783
|
asset: z.ZodEnum<["USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
1746
1784
|
network: z.ZodString;
|
|
1785
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
1747
1786
|
}, "strip", z.ZodTypeAny, {
|
|
1748
1787
|
asset: "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
1749
1788
|
network: string;
|
|
1789
|
+
amount?: string | undefined;
|
|
1750
1790
|
}, {
|
|
1751
1791
|
asset: "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
1752
1792
|
network: string;
|
|
1793
|
+
amount?: string | undefined;
|
|
1753
1794
|
}>;
|
|
1754
1795
|
type Request = z.infer<typeof RequestSchema>;
|
|
1755
1796
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -1783,6 +1824,7 @@ declare namespace ListDepositsCommand {
|
|
|
1783
1824
|
network: z.ZodString;
|
|
1784
1825
|
address: z.ZodString;
|
|
1785
1826
|
amount: z.ZodNullable<z.ZodString>;
|
|
1827
|
+
requestedAmount: z.ZodNullable<z.ZodString>;
|
|
1786
1828
|
status: z.ZodEnum<["PENDING", "CONFIRMING", "CREDITED", "FAILED", "EXPIRED"]>;
|
|
1787
1829
|
txHash: z.ZodNullable<z.ZodString>;
|
|
1788
1830
|
confirmations: z.ZodNumber;
|
|
@@ -1796,6 +1838,7 @@ declare namespace ListDepositsCommand {
|
|
|
1796
1838
|
amount: string | null;
|
|
1797
1839
|
network: string;
|
|
1798
1840
|
address: string;
|
|
1841
|
+
requestedAmount: string | null;
|
|
1799
1842
|
txHash: string | null;
|
|
1800
1843
|
confirmations: number;
|
|
1801
1844
|
creditedAt: string | null;
|
|
@@ -1807,6 +1850,7 @@ declare namespace ListDepositsCommand {
|
|
|
1807
1850
|
amount: string | null;
|
|
1808
1851
|
network: string;
|
|
1809
1852
|
address: string;
|
|
1853
|
+
requestedAmount: string | null;
|
|
1810
1854
|
txHash: string | null;
|
|
1811
1855
|
confirmations: number;
|
|
1812
1856
|
creditedAt: string | null;
|
|
@@ -1820,6 +1864,7 @@ declare namespace ListDepositsCommand {
|
|
|
1820
1864
|
amount: string | null;
|
|
1821
1865
|
network: string;
|
|
1822
1866
|
address: string;
|
|
1867
|
+
requestedAmount: string | null;
|
|
1823
1868
|
txHash: string | null;
|
|
1824
1869
|
confirmations: number;
|
|
1825
1870
|
creditedAt: string | null;
|
|
@@ -1833,6 +1878,7 @@ declare namespace ListDepositsCommand {
|
|
|
1833
1878
|
amount: string | null;
|
|
1834
1879
|
network: string;
|
|
1835
1880
|
address: string;
|
|
1881
|
+
requestedAmount: string | null;
|
|
1836
1882
|
txHash: string | null;
|
|
1837
1883
|
confirmations: number;
|
|
1838
1884
|
creditedAt: string | null;
|
|
@@ -4282,6 +4328,7 @@ declare const REST_API: {
|
|
|
4282
4328
|
readonly RESEND_VERIFICATION: "/auth/verify-email/resend";
|
|
4283
4329
|
readonly FORGOT_PASSWORD: "/auth/password/forgot";
|
|
4284
4330
|
readonly RESET_PASSWORD: "/auth/password/reset";
|
|
4331
|
+
readonly CAPTCHA_POLICY: "/auth/captcha-policy";
|
|
4285
4332
|
};
|
|
4286
4333
|
readonly WALLET: {
|
|
4287
4334
|
readonly OVERVIEW: "/wallet";
|
|
@@ -4362,4 +4409,4 @@ declare const REST_API: {
|
|
|
4362
4409
|
declare const API_PREFIX = "/api";
|
|
4363
4410
|
declare const API_VERSION = "v1";
|
|
4364
4411
|
|
|
4365
|
-
export { API_PREFIX, API_VERSION, ASSET_DECIMALS, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, type AssetBalance, AssetBalanceSchema, type AssetSymbol, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, BuyPackageCommand, CancelOrderCommand, CancelWithdrawalCommand, type ChartPeriod, ChartPeriodSchema, type ChartPoint, ChartPointSchema, ClaimDailyBonusCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, CreateTicketCommand, DEPOSITABLE_ASSETS, type DailyBonusClaimResult, DailyBonusClaimResultSchema, type DailyBonusDay, DailyBonusDaySchema, type DailyBonusStatus, DailyBonusStatusSchema, type DepositAddress, DepositAddressCommand, DepositAddressSchema, type DepositEntry, DepositEntrySchema, type DepositStatus, DepositStatusSchema, type DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, ForgotPasswordCommand, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetWalletCommand, type HttpMethod, type IncomeOverview, IncomeOverviewSchema, type IncomePeriod, IncomePeriodSchema, type Leaderboard, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardPeriod, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, type LinkProvider, LinkProviderSchema, LinkTelegramCommand, type LinkedAccount, LinkedAccountSchema, ListDepositsCommand, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, type MonthlyPricePoint, MonthlyPricePointSchema, NMN_PRICE_DECIMALS, type Notification, NotificationSchema, type NotificationType, NotificationTypeSchema, type Order, type OrderBook, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, OrderSchema, type OrderSide, OrderSideSchema, type OrderStatus, OrderStatusSchema, type OrderType, OrderTypeSchema, type Package, PackageSchema, type PackageStatus, PackageStatusSchema, type PackagesOverview, PackagesOverviewSchema, PaginatedSchema, type PaginationQuery, PaginationQuerySchema, type PartnerAccrual, PartnerAccrualSchema, type PartnerLevel, PartnerLevelSchema, type PartnersOverview, PartnersOverviewSchema, type Period, PeriodSchema, PlaceOrderCommand, PositiveMoneyStringSchema, type PublicTrade, PublicTradeSchema, REST_API, type RankDef, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestWithdrawalCommand, ResendVerificationCommand, ResetPasswordCommand, type SessionInfo, SessionInfoSchema, SetupTotpCommand, type Slide, type SlideButtonStyle, SlideButtonStyleSchema, type SlideKind, SlideKindSchema, type SlideLinkTarget, SlideLinkTargetSchema, SlideSchema, type SlidesResponse, SlidesResponseSchema, SwapCommand, type SwapSide, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, type TicketAttachment, type TicketAttachmentInput, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, type TicketAuthorType, TicketAuthorTypeSchema, TicketBodySchema, type TicketCategory, TicketCategorySchema, type TicketDetail, TicketDetailSchema, type TicketMessage, TicketMessageSchema, type TicketStatus, TicketStatusSchema, type TicketSummary, TicketSummarySchema, type TokenPrice, TokenPriceSchema, type TradeLimits, TradeLimitsSchema, type TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, VerifyEmailCommand, type WalletOverview, WalletOverviewSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, assetDecimals, endpoint };
|
|
4412
|
+
export { API_PREFIX, API_VERSION, ASSET_DECIMALS, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, type AssetBalance, AssetBalanceSchema, type AssetSymbol, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, BuyPackageCommand, CancelOrderCommand, CancelWithdrawalCommand, CaptchaPolicyCommand, type ChartPeriod, ChartPeriodSchema, type ChartPoint, ChartPointSchema, ClaimDailyBonusCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, CreateTicketCommand, DEPOSITABLE_ASSETS, type DailyBonusClaimResult, DailyBonusClaimResultSchema, type DailyBonusDay, DailyBonusDaySchema, type DailyBonusStatus, DailyBonusStatusSchema, type DepositAddress, DepositAddressCommand, DepositAddressSchema, type DepositEntry, DepositEntrySchema, type DepositStatus, DepositStatusSchema, type DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, ForgotPasswordCommand, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetWalletCommand, type HttpMethod, type IncomeOverview, IncomeOverviewSchema, type IncomePeriod, IncomePeriodSchema, type Leaderboard, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardPeriod, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, type LinkProvider, LinkProviderSchema, LinkTelegramCommand, type LinkedAccount, LinkedAccountSchema, ListDepositsCommand, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, type MonthlyPricePoint, MonthlyPricePointSchema, NMN_PRICE_DECIMALS, type Notification, NotificationSchema, type NotificationType, NotificationTypeSchema, type Order, type OrderBook, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, OrderSchema, type OrderSide, OrderSideSchema, type OrderStatus, OrderStatusSchema, type OrderType, OrderTypeSchema, type Package, PackageSchema, type PackageStatus, PackageStatusSchema, type PackagesOverview, PackagesOverviewSchema, PaginatedSchema, type PaginationQuery, PaginationQuerySchema, type PartnerAccrual, PartnerAccrualSchema, type PartnerLevel, PartnerLevelSchema, type PartnersOverview, PartnersOverviewSchema, type Period, PeriodSchema, PlaceOrderCommand, PositiveMoneyStringSchema, type PublicTrade, PublicTradeSchema, REST_API, type RankDef, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestWithdrawalCommand, ResendVerificationCommand, ResetPasswordCommand, type SessionInfo, SessionInfoSchema, SetupTotpCommand, type Slide, type SlideButtonStyle, SlideButtonStyleSchema, type SlideKind, SlideKindSchema, type SlideLinkTarget, SlideLinkTargetSchema, SlideSchema, type SlidesResponse, SlidesResponseSchema, SwapCommand, type SwapSide, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, type ThreatLevel, ThreatLevelSchema, type TicketAttachment, type TicketAttachmentInput, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, type TicketAuthorType, TicketAuthorTypeSchema, TicketBodySchema, type TicketCategory, TicketCategorySchema, type TicketDetail, TicketDetailSchema, type TicketMessage, TicketMessageSchema, type TicketStatus, TicketStatusSchema, type TicketSummary, TicketSummarySchema, type TokenPrice, TokenPriceSchema, type TradeLimits, TradeLimitsSchema, type TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, VerifyEmailCommand, type WalletOverview, WalletOverviewSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, assetDecimals, endpoint };
|
package/dist/index.js
CHANGED
|
@@ -19,6 +19,9 @@ var ERROR_CODE = {
|
|
|
19
19
|
EMAIL_NOT_VERIFIED: "EMAIL_NOT_VERIFIED",
|
|
20
20
|
EMAIL_ALREADY_VERIFIED: "EMAIL_ALREADY_VERIFIED",
|
|
21
21
|
TOKEN_INVALID: "TOKEN_INVALID",
|
|
22
|
+
TOTP_INVALID: "TOTP_INVALID",
|
|
23
|
+
CAPTCHA_REQUIRED: "CAPTCHA_REQUIRED",
|
|
24
|
+
CAPTCHA_INVALID: "CAPTCHA_INVALID",
|
|
22
25
|
INSUFFICIENT_BALANCE: "INSUFFICIENT_BALANCE",
|
|
23
26
|
PURCHASE_LIMIT_EXCEEDED: "PURCHASE_LIMIT_EXCEEDED",
|
|
24
27
|
PURCHASE_CAP_EXCEEDED: "PURCHASE_CAP_EXCEEDED",
|
|
@@ -141,6 +144,7 @@ var DepositEntrySchema = z.object({
|
|
|
141
144
|
network: z.string(),
|
|
142
145
|
address: z.string(),
|
|
143
146
|
amount: MoneyStringSchema.nullable(),
|
|
147
|
+
requestedAmount: MoneyStringSchema.nullable(),
|
|
144
148
|
status: DepositStatusSchema,
|
|
145
149
|
txHash: z.string().nullable(),
|
|
146
150
|
confirmations: z.number().int().nonnegative(),
|
|
@@ -378,7 +382,8 @@ var RegisterCommand;
|
|
|
378
382
|
RegisterCommand2.RequestSchema = z.object({
|
|
379
383
|
email: z.string().email().max(254),
|
|
380
384
|
password: z.string().min(8).max(128),
|
|
381
|
-
referralCode: z.string().min(4).max(64).optional()
|
|
385
|
+
referralCode: z.string().min(4).max(64).optional(),
|
|
386
|
+
captchaToken: z.string().max(4096).optional()
|
|
382
387
|
});
|
|
383
388
|
RegisterCommand2.ResponseSchema = z.object({
|
|
384
389
|
userId: z.string().uuid()
|
|
@@ -390,7 +395,8 @@ var LoginCommand;
|
|
|
390
395
|
LoginCommand2.RequestSchema = z.object({
|
|
391
396
|
email: z.string().email().max(254),
|
|
392
397
|
password: z.string().min(1).max(128),
|
|
393
|
-
totp: z.string().regex(/^\d{6}$/).optional()
|
|
398
|
+
totp: z.string().regex(/^\d{6}$/).optional(),
|
|
399
|
+
captchaToken: z.string().max(4096).optional()
|
|
394
400
|
});
|
|
395
401
|
LoginCommand2.ResponseSchema = z.object({
|
|
396
402
|
user: UserProfileSchema
|
|
@@ -465,6 +471,18 @@ var ResetPasswordCommand;
|
|
|
465
471
|
});
|
|
466
472
|
ResetPasswordCommand2.ResponseSchema = z.object({ reset: z.boolean() });
|
|
467
473
|
})(ResetPasswordCommand || (ResetPasswordCommand = {}));
|
|
474
|
+
var ThreatLevelSchema = z.enum(["calm", "elevated", "high", "attack"]);
|
|
475
|
+
var CaptchaPolicyCommand;
|
|
476
|
+
((CaptchaPolicyCommand2) => {
|
|
477
|
+
CaptchaPolicyCommand2.endpointDetails = endpoint("GET", "/auth/captcha-policy", "Whether the auth forms must show a captcha");
|
|
478
|
+
CaptchaPolicyCommand2.ResponseSchema = z.object({
|
|
479
|
+
provider: z.enum(["turnstile", "none"]),
|
|
480
|
+
siteKey: z.string().nullable(),
|
|
481
|
+
register: z.boolean(),
|
|
482
|
+
login: z.boolean(),
|
|
483
|
+
level: ThreatLevelSchema
|
|
484
|
+
});
|
|
485
|
+
})(CaptchaPolicyCommand || (CaptchaPolicyCommand = {}));
|
|
468
486
|
|
|
469
487
|
// src/commands/wallet/get-wallet.command.ts
|
|
470
488
|
var GetWalletCommand;
|
|
@@ -491,7 +509,10 @@ var DepositAddressCommand;
|
|
|
491
509
|
);
|
|
492
510
|
DepositAddressCommand2.RequestSchema = z.object({
|
|
493
511
|
asset: DepositableAssetSchema,
|
|
494
|
-
network: z.string().min(2).max(32)
|
|
512
|
+
network: z.string().min(2).max(32),
|
|
513
|
+
// What the user said they intend to send. Stored with the invoice so support and
|
|
514
|
+
// the holder both see a figure before any money moves.
|
|
515
|
+
amount: MoneyStringSchema.optional()
|
|
495
516
|
});
|
|
496
517
|
DepositAddressCommand2.ResponseSchema = DepositAddressSchema;
|
|
497
518
|
})(DepositAddressCommand || (DepositAddressCommand = {}));
|
|
@@ -973,7 +994,8 @@ var REST_API = {
|
|
|
973
994
|
VERIFY_EMAIL: "/auth/verify-email",
|
|
974
995
|
RESEND_VERIFICATION: "/auth/verify-email/resend",
|
|
975
996
|
FORGOT_PASSWORD: "/auth/password/forgot",
|
|
976
|
-
RESET_PASSWORD: "/auth/password/reset"
|
|
997
|
+
RESET_PASSWORD: "/auth/password/reset",
|
|
998
|
+
CAPTCHA_POLICY: "/auth/captcha-policy"
|
|
977
999
|
},
|
|
978
1000
|
WALLET: {
|
|
979
1001
|
OVERVIEW: "/wallet",
|
|
@@ -1054,6 +1076,6 @@ var REST_API = {
|
|
|
1054
1076
|
var API_PREFIX = "/api";
|
|
1055
1077
|
var API_VERSION = "v1";
|
|
1056
1078
|
|
|
1057
|
-
export { API_PREFIX, API_VERSION, ASSET_DECIMALS, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, AssetBalanceSchema, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, BuyPackageCommand, CancelOrderCommand, CancelWithdrawalCommand, ChartPeriodSchema, ChartPointSchema, ClaimDailyBonusCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, CreateTicketCommand, DEPOSITABLE_ASSETS, DailyBonusClaimResultSchema, DailyBonusDaySchema, DailyBonusStatusSchema, DepositAddressCommand, DepositAddressSchema, DepositEntrySchema, DepositStatusSchema, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, EarningsOverviewSchema, ErrorResponseSchema, FUNDING_ASSET, ForgotPasswordCommand, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetWalletCommand, IncomeOverviewSchema, IncomePeriodSchema, LeaderboardEntrySchema, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, LinkProviderSchema, LinkTelegramCommand, LinkedAccountSchema, ListDepositsCommand, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, MonthlyPricePointSchema, NMN_PRICE_DECIMALS, NotificationSchema, NotificationTypeSchema, OrderBookLevelSchema, OrderBookSchema, OrderSchema, OrderSideSchema, OrderStatusSchema, OrderTypeSchema, PackageSchema, PackageStatusSchema, PackagesOverviewSchema, PaginatedSchema, PaginationQuerySchema, PartnerAccrualSchema, PartnerLevelSchema, PartnersOverviewSchema, PeriodSchema, PlaceOrderCommand, PositiveMoneyStringSchema, PublicTradeSchema, REST_API, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestWithdrawalCommand, ResendVerificationCommand, ResetPasswordCommand, SessionInfoSchema, SetupTotpCommand, SlideButtonStyleSchema, SlideKindSchema, SlideLinkTargetSchema, SlideSchema, SlidesResponseSchema, SwapCommand, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, TicketAuthorTypeSchema, TicketBodySchema, TicketCategorySchema, TicketDetailSchema, TicketMessageSchema, TicketStatusSchema, TicketSummarySchema, TokenPriceSchema, TradeLimitsSchema, TradeResultSchema, TransactionSchema, TransactionStatusSchema, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, UserProfileSchema, UserRankSchema, UserSettingsSchema, UserStatusSchema, UuidSchema, VerifyEmailCommand, WalletOverviewSchema, WithdrawalSchema, WithdrawalStatusSchema, assetDecimals, endpoint };
|
|
1079
|
+
export { API_PREFIX, API_VERSION, ASSET_DECIMALS, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, AssetBalanceSchema, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, BuyPackageCommand, CancelOrderCommand, CancelWithdrawalCommand, CaptchaPolicyCommand, ChartPeriodSchema, ChartPointSchema, ClaimDailyBonusCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, CreateTicketCommand, DEPOSITABLE_ASSETS, DailyBonusClaimResultSchema, DailyBonusDaySchema, DailyBonusStatusSchema, DepositAddressCommand, DepositAddressSchema, DepositEntrySchema, DepositStatusSchema, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, EarningsOverviewSchema, ErrorResponseSchema, FUNDING_ASSET, ForgotPasswordCommand, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetWalletCommand, IncomeOverviewSchema, IncomePeriodSchema, LeaderboardEntrySchema, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, LinkProviderSchema, LinkTelegramCommand, LinkedAccountSchema, ListDepositsCommand, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, MonthlyPricePointSchema, NMN_PRICE_DECIMALS, NotificationSchema, NotificationTypeSchema, OrderBookLevelSchema, OrderBookSchema, OrderSchema, OrderSideSchema, OrderStatusSchema, OrderTypeSchema, PackageSchema, PackageStatusSchema, PackagesOverviewSchema, PaginatedSchema, PaginationQuerySchema, PartnerAccrualSchema, PartnerLevelSchema, PartnersOverviewSchema, PeriodSchema, PlaceOrderCommand, PositiveMoneyStringSchema, PublicTradeSchema, REST_API, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestWithdrawalCommand, ResendVerificationCommand, ResetPasswordCommand, SessionInfoSchema, SetupTotpCommand, SlideButtonStyleSchema, SlideKindSchema, SlideLinkTargetSchema, SlideSchema, SlidesResponseSchema, SwapCommand, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, ThreatLevelSchema, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, TicketAuthorTypeSchema, TicketBodySchema, TicketCategorySchema, TicketDetailSchema, TicketMessageSchema, TicketStatusSchema, TicketSummarySchema, TokenPriceSchema, TradeLimitsSchema, TradeResultSchema, TransactionSchema, TransactionStatusSchema, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, UserProfileSchema, UserRankSchema, UserSettingsSchema, UserStatusSchema, UuidSchema, VerifyEmailCommand, WalletOverviewSchema, WithdrawalSchema, WithdrawalStatusSchema, assetDecimals, endpoint };
|
|
1058
1080
|
//# sourceMappingURL=index.js.map
|
|
1059
1081
|
//# sourceMappingURL=index.js.map
|