@numen-crypto/contract 0.3.0 → 0.5.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.d.cts CHANGED
@@ -16,8 +16,16 @@ declare const ERROR_CODE: {
16
16
  readonly SESSION_EXPIRED: "SESSION_EXPIRED";
17
17
  readonly TOTP_REQUIRED: "TOTP_REQUIRED";
18
18
  readonly TOTP_ALREADY_ENABLED: "TOTP_ALREADY_ENABLED";
19
+ readonly EMAIL_NOT_VERIFIED: "EMAIL_NOT_VERIFIED";
20
+ readonly EMAIL_ALREADY_VERIFIED: "EMAIL_ALREADY_VERIFIED";
21
+ readonly TOKEN_INVALID: "TOKEN_INVALID";
19
22
  readonly INSUFFICIENT_BALANCE: "INSUFFICIENT_BALANCE";
20
23
  readonly PURCHASE_LIMIT_EXCEEDED: "PURCHASE_LIMIT_EXCEEDED";
24
+ readonly PURCHASE_CAP_EXCEEDED: "PURCHASE_CAP_EXCEEDED";
25
+ readonly DAILY_PURCHASE_LIMIT: "DAILY_PURCHASE_LIMIT";
26
+ readonly TOKENS_FROZEN: "TOKENS_FROZEN";
27
+ readonly SELL_WINDOW_EXCEEDED: "SELL_WINDOW_EXCEEDED";
28
+ readonly UPGRADE_NOT_AVAILABLE: "UPGRADE_NOT_AVAILABLE";
21
29
  readonly SALE_PHASE_INACTIVE: "SALE_PHASE_INACTIVE";
22
30
  readonly WITHDRAWAL_COOLOFF: "WITHDRAWAL_COOLOFF";
23
31
  readonly BONUS_ALREADY_CLAIMED: "BONUS_ALREADY_CLAIMED";
@@ -1370,6 +1378,87 @@ declare namespace ConfirmTotpCommand {
1370
1378
  type Response = z.infer<typeof ResponseSchema>;
1371
1379
  }
1372
1380
 
1381
+ declare namespace VerifyEmailCommand {
1382
+ const endpointDetails: EndpointDetails;
1383
+ const RequestSchema: z.ZodObject<{
1384
+ token: z.ZodString;
1385
+ }, "strip", z.ZodTypeAny, {
1386
+ token: string;
1387
+ }, {
1388
+ token: string;
1389
+ }>;
1390
+ type Request = z.infer<typeof RequestSchema>;
1391
+ const ResponseSchema: z.ZodObject<{
1392
+ verified: z.ZodBoolean;
1393
+ }, "strip", z.ZodTypeAny, {
1394
+ verified: boolean;
1395
+ }, {
1396
+ verified: boolean;
1397
+ }>;
1398
+ type Response = z.infer<typeof ResponseSchema>;
1399
+ }
1400
+ declare namespace ResendVerificationCommand {
1401
+ const endpointDetails: EndpointDetails;
1402
+ const RequestSchema: z.ZodObject<{
1403
+ email: z.ZodString;
1404
+ }, "strip", z.ZodTypeAny, {
1405
+ email: string;
1406
+ }, {
1407
+ email: string;
1408
+ }>;
1409
+ type Request = z.infer<typeof RequestSchema>;
1410
+ const ResponseSchema: z.ZodObject<{
1411
+ sent: z.ZodBoolean;
1412
+ }, "strip", z.ZodTypeAny, {
1413
+ sent: boolean;
1414
+ }, {
1415
+ sent: boolean;
1416
+ }>;
1417
+ type Response = z.infer<typeof ResponseSchema>;
1418
+ }
1419
+
1420
+ declare namespace ForgotPasswordCommand {
1421
+ const endpointDetails: EndpointDetails;
1422
+ const RequestSchema: z.ZodObject<{
1423
+ email: z.ZodString;
1424
+ }, "strip", z.ZodTypeAny, {
1425
+ email: string;
1426
+ }, {
1427
+ email: string;
1428
+ }>;
1429
+ type Request = z.infer<typeof RequestSchema>;
1430
+ const ResponseSchema: z.ZodObject<{
1431
+ sent: z.ZodBoolean;
1432
+ }, "strip", z.ZodTypeAny, {
1433
+ sent: boolean;
1434
+ }, {
1435
+ sent: boolean;
1436
+ }>;
1437
+ type Response = z.infer<typeof ResponseSchema>;
1438
+ }
1439
+ declare namespace ResetPasswordCommand {
1440
+ const endpointDetails: EndpointDetails;
1441
+ const RequestSchema: z.ZodObject<{
1442
+ token: z.ZodString;
1443
+ password: z.ZodString;
1444
+ }, "strip", z.ZodTypeAny, {
1445
+ password: string;
1446
+ token: string;
1447
+ }, {
1448
+ password: string;
1449
+ token: string;
1450
+ }>;
1451
+ type Request = z.infer<typeof RequestSchema>;
1452
+ const ResponseSchema: z.ZodObject<{
1453
+ reset: z.ZodBoolean;
1454
+ }, "strip", z.ZodTypeAny, {
1455
+ reset: boolean;
1456
+ }, {
1457
+ reset: boolean;
1458
+ }>;
1459
+ type Response = z.infer<typeof ResponseSchema>;
1460
+ }
1461
+
1373
1462
  declare namespace GetWalletCommand {
1374
1463
  const endpointDetails: EndpointDetails;
1375
1464
  const ResponseSchema: zod.ZodObject<{
@@ -2259,6 +2348,38 @@ declare namespace BuyPackageCommand {
2259
2348
  type Response = z.infer<typeof ResponseSchema>;
2260
2349
  }
2261
2350
 
2351
+ declare namespace UpgradePackageCommand {
2352
+ const endpointDetails: EndpointDetails;
2353
+ const RequestSchema: z.ZodObject<{
2354
+ idempotencyKey: z.ZodString;
2355
+ }, "strip", z.ZodTypeAny, {
2356
+ idempotencyKey: string;
2357
+ }, {
2358
+ idempotencyKey: string;
2359
+ }>;
2360
+ type Request = z.infer<typeof RequestSchema>;
2361
+ const ResponseSchema: z.ZodObject<{
2362
+ purchaseId: z.ZodString;
2363
+ topUpUsd: z.ZodString;
2364
+ tierPriceUsd: z.ZodString;
2365
+ nmnAmount: z.ZodString;
2366
+ tokenPrice: z.ZodString;
2367
+ }, "strip", z.ZodTypeAny, {
2368
+ tokenPrice: string;
2369
+ nmnAmount: string;
2370
+ purchaseId: string;
2371
+ topUpUsd: string;
2372
+ tierPriceUsd: string;
2373
+ }, {
2374
+ tokenPrice: string;
2375
+ nmnAmount: string;
2376
+ purchaseId: string;
2377
+ topUpUsd: string;
2378
+ tierPriceUsd: string;
2379
+ }>;
2380
+ type Response = z.infer<typeof ResponseSchema>;
2381
+ }
2382
+
2262
2383
  declare namespace GetSlidesCommand {
2263
2384
  const endpointDetails: EndpointDetails;
2264
2385
  const ResponseSchema: zod.ZodArray<zod.ZodObject<{
@@ -2531,10 +2652,13 @@ declare namespace ConfirmEmailChangeCommand {
2531
2652
  const endpointDetails: EndpointDetails;
2532
2653
  const RequestSchema: z.ZodObject<{
2533
2654
  code: z.ZodString;
2655
+ totp: z.ZodOptional<z.ZodString>;
2534
2656
  }, "strip", z.ZodTypeAny, {
2535
2657
  code: string;
2658
+ totp?: string | undefined;
2536
2659
  }, {
2537
2660
  code: string;
2661
+ totp?: string | undefined;
2538
2662
  }>;
2539
2663
  type Request = z.infer<typeof RequestSchema>;
2540
2664
  const ResponseSchema: z.ZodObject<{
@@ -3897,6 +4021,10 @@ declare const REST_API: {
3897
4021
  readonly ME: "/auth/me";
3898
4022
  readonly TOTP_SETUP: "/auth/totp/setup";
3899
4023
  readonly TOTP_CONFIRM: "/auth/totp/confirm";
4024
+ readonly VERIFY_EMAIL: "/auth/verify-email";
4025
+ readonly RESEND_VERIFICATION: "/auth/verify-email/resend";
4026
+ readonly FORGOT_PASSWORD: "/auth/password/forgot";
4027
+ readonly RESET_PASSWORD: "/auth/password/reset";
3900
4028
  };
3901
4029
  readonly WALLET: {
3902
4030
  readonly OVERVIEW: "/wallet";
@@ -3922,6 +4050,7 @@ declare const REST_API: {
3922
4050
  readonly PACKAGES: {
3923
4051
  readonly OVERVIEW: "/packages";
3924
4052
  readonly BUY: "/packages/:id/buy";
4053
+ readonly UPGRADE: "/packages/:id/upgrade";
3925
4054
  };
3926
4055
  readonly CONTENT: {
3927
4056
  readonly SLIDES: "/content/slides";
@@ -3975,4 +4104,4 @@ declare const REST_API: {
3975
4104
  declare const API_PREFIX = "/api";
3976
4105
  declare const API_VERSION = "v1";
3977
4106
 
3978
- 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 DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, 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, 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, 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 TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, type WalletOverview, WalletOverviewSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, assetDecimals, endpoint };
4107
+ 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 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, 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 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
@@ -16,8 +16,16 @@ declare const ERROR_CODE: {
16
16
  readonly SESSION_EXPIRED: "SESSION_EXPIRED";
17
17
  readonly TOTP_REQUIRED: "TOTP_REQUIRED";
18
18
  readonly TOTP_ALREADY_ENABLED: "TOTP_ALREADY_ENABLED";
19
+ readonly EMAIL_NOT_VERIFIED: "EMAIL_NOT_VERIFIED";
20
+ readonly EMAIL_ALREADY_VERIFIED: "EMAIL_ALREADY_VERIFIED";
21
+ readonly TOKEN_INVALID: "TOKEN_INVALID";
19
22
  readonly INSUFFICIENT_BALANCE: "INSUFFICIENT_BALANCE";
20
23
  readonly PURCHASE_LIMIT_EXCEEDED: "PURCHASE_LIMIT_EXCEEDED";
24
+ readonly PURCHASE_CAP_EXCEEDED: "PURCHASE_CAP_EXCEEDED";
25
+ readonly DAILY_PURCHASE_LIMIT: "DAILY_PURCHASE_LIMIT";
26
+ readonly TOKENS_FROZEN: "TOKENS_FROZEN";
27
+ readonly SELL_WINDOW_EXCEEDED: "SELL_WINDOW_EXCEEDED";
28
+ readonly UPGRADE_NOT_AVAILABLE: "UPGRADE_NOT_AVAILABLE";
21
29
  readonly SALE_PHASE_INACTIVE: "SALE_PHASE_INACTIVE";
22
30
  readonly WITHDRAWAL_COOLOFF: "WITHDRAWAL_COOLOFF";
23
31
  readonly BONUS_ALREADY_CLAIMED: "BONUS_ALREADY_CLAIMED";
@@ -1370,6 +1378,87 @@ declare namespace ConfirmTotpCommand {
1370
1378
  type Response = z.infer<typeof ResponseSchema>;
1371
1379
  }
1372
1380
 
1381
+ declare namespace VerifyEmailCommand {
1382
+ const endpointDetails: EndpointDetails;
1383
+ const RequestSchema: z.ZodObject<{
1384
+ token: z.ZodString;
1385
+ }, "strip", z.ZodTypeAny, {
1386
+ token: string;
1387
+ }, {
1388
+ token: string;
1389
+ }>;
1390
+ type Request = z.infer<typeof RequestSchema>;
1391
+ const ResponseSchema: z.ZodObject<{
1392
+ verified: z.ZodBoolean;
1393
+ }, "strip", z.ZodTypeAny, {
1394
+ verified: boolean;
1395
+ }, {
1396
+ verified: boolean;
1397
+ }>;
1398
+ type Response = z.infer<typeof ResponseSchema>;
1399
+ }
1400
+ declare namespace ResendVerificationCommand {
1401
+ const endpointDetails: EndpointDetails;
1402
+ const RequestSchema: z.ZodObject<{
1403
+ email: z.ZodString;
1404
+ }, "strip", z.ZodTypeAny, {
1405
+ email: string;
1406
+ }, {
1407
+ email: string;
1408
+ }>;
1409
+ type Request = z.infer<typeof RequestSchema>;
1410
+ const ResponseSchema: z.ZodObject<{
1411
+ sent: z.ZodBoolean;
1412
+ }, "strip", z.ZodTypeAny, {
1413
+ sent: boolean;
1414
+ }, {
1415
+ sent: boolean;
1416
+ }>;
1417
+ type Response = z.infer<typeof ResponseSchema>;
1418
+ }
1419
+
1420
+ declare namespace ForgotPasswordCommand {
1421
+ const endpointDetails: EndpointDetails;
1422
+ const RequestSchema: z.ZodObject<{
1423
+ email: z.ZodString;
1424
+ }, "strip", z.ZodTypeAny, {
1425
+ email: string;
1426
+ }, {
1427
+ email: string;
1428
+ }>;
1429
+ type Request = z.infer<typeof RequestSchema>;
1430
+ const ResponseSchema: z.ZodObject<{
1431
+ sent: z.ZodBoolean;
1432
+ }, "strip", z.ZodTypeAny, {
1433
+ sent: boolean;
1434
+ }, {
1435
+ sent: boolean;
1436
+ }>;
1437
+ type Response = z.infer<typeof ResponseSchema>;
1438
+ }
1439
+ declare namespace ResetPasswordCommand {
1440
+ const endpointDetails: EndpointDetails;
1441
+ const RequestSchema: z.ZodObject<{
1442
+ token: z.ZodString;
1443
+ password: z.ZodString;
1444
+ }, "strip", z.ZodTypeAny, {
1445
+ password: string;
1446
+ token: string;
1447
+ }, {
1448
+ password: string;
1449
+ token: string;
1450
+ }>;
1451
+ type Request = z.infer<typeof RequestSchema>;
1452
+ const ResponseSchema: z.ZodObject<{
1453
+ reset: z.ZodBoolean;
1454
+ }, "strip", z.ZodTypeAny, {
1455
+ reset: boolean;
1456
+ }, {
1457
+ reset: boolean;
1458
+ }>;
1459
+ type Response = z.infer<typeof ResponseSchema>;
1460
+ }
1461
+
1373
1462
  declare namespace GetWalletCommand {
1374
1463
  const endpointDetails: EndpointDetails;
1375
1464
  const ResponseSchema: zod.ZodObject<{
@@ -2259,6 +2348,38 @@ declare namespace BuyPackageCommand {
2259
2348
  type Response = z.infer<typeof ResponseSchema>;
2260
2349
  }
2261
2350
 
2351
+ declare namespace UpgradePackageCommand {
2352
+ const endpointDetails: EndpointDetails;
2353
+ const RequestSchema: z.ZodObject<{
2354
+ idempotencyKey: z.ZodString;
2355
+ }, "strip", z.ZodTypeAny, {
2356
+ idempotencyKey: string;
2357
+ }, {
2358
+ idempotencyKey: string;
2359
+ }>;
2360
+ type Request = z.infer<typeof RequestSchema>;
2361
+ const ResponseSchema: z.ZodObject<{
2362
+ purchaseId: z.ZodString;
2363
+ topUpUsd: z.ZodString;
2364
+ tierPriceUsd: z.ZodString;
2365
+ nmnAmount: z.ZodString;
2366
+ tokenPrice: z.ZodString;
2367
+ }, "strip", z.ZodTypeAny, {
2368
+ tokenPrice: string;
2369
+ nmnAmount: string;
2370
+ purchaseId: string;
2371
+ topUpUsd: string;
2372
+ tierPriceUsd: string;
2373
+ }, {
2374
+ tokenPrice: string;
2375
+ nmnAmount: string;
2376
+ purchaseId: string;
2377
+ topUpUsd: string;
2378
+ tierPriceUsd: string;
2379
+ }>;
2380
+ type Response = z.infer<typeof ResponseSchema>;
2381
+ }
2382
+
2262
2383
  declare namespace GetSlidesCommand {
2263
2384
  const endpointDetails: EndpointDetails;
2264
2385
  const ResponseSchema: zod.ZodArray<zod.ZodObject<{
@@ -2531,10 +2652,13 @@ declare namespace ConfirmEmailChangeCommand {
2531
2652
  const endpointDetails: EndpointDetails;
2532
2653
  const RequestSchema: z.ZodObject<{
2533
2654
  code: z.ZodString;
2655
+ totp: z.ZodOptional<z.ZodString>;
2534
2656
  }, "strip", z.ZodTypeAny, {
2535
2657
  code: string;
2658
+ totp?: string | undefined;
2536
2659
  }, {
2537
2660
  code: string;
2661
+ totp?: string | undefined;
2538
2662
  }>;
2539
2663
  type Request = z.infer<typeof RequestSchema>;
2540
2664
  const ResponseSchema: z.ZodObject<{
@@ -3897,6 +4021,10 @@ declare const REST_API: {
3897
4021
  readonly ME: "/auth/me";
3898
4022
  readonly TOTP_SETUP: "/auth/totp/setup";
3899
4023
  readonly TOTP_CONFIRM: "/auth/totp/confirm";
4024
+ readonly VERIFY_EMAIL: "/auth/verify-email";
4025
+ readonly RESEND_VERIFICATION: "/auth/verify-email/resend";
4026
+ readonly FORGOT_PASSWORD: "/auth/password/forgot";
4027
+ readonly RESET_PASSWORD: "/auth/password/reset";
3900
4028
  };
3901
4029
  readonly WALLET: {
3902
4030
  readonly OVERVIEW: "/wallet";
@@ -3922,6 +4050,7 @@ declare const REST_API: {
3922
4050
  readonly PACKAGES: {
3923
4051
  readonly OVERVIEW: "/packages";
3924
4052
  readonly BUY: "/packages/:id/buy";
4053
+ readonly UPGRADE: "/packages/:id/upgrade";
3925
4054
  };
3926
4055
  readonly CONTENT: {
3927
4056
  readonly SLIDES: "/content/slides";
@@ -3975,4 +4104,4 @@ declare const REST_API: {
3975
4104
  declare const API_PREFIX = "/api";
3976
4105
  declare const API_VERSION = "v1";
3977
4106
 
3978
- 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 DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, 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, 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, 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 TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, type WalletOverview, WalletOverviewSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, assetDecimals, endpoint };
4107
+ 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 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, 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 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
@@ -16,8 +16,16 @@ var ERROR_CODE = {
16
16
  SESSION_EXPIRED: "SESSION_EXPIRED",
17
17
  TOTP_REQUIRED: "TOTP_REQUIRED",
18
18
  TOTP_ALREADY_ENABLED: "TOTP_ALREADY_ENABLED",
19
+ EMAIL_NOT_VERIFIED: "EMAIL_NOT_VERIFIED",
20
+ EMAIL_ALREADY_VERIFIED: "EMAIL_ALREADY_VERIFIED",
21
+ TOKEN_INVALID: "TOKEN_INVALID",
19
22
  INSUFFICIENT_BALANCE: "INSUFFICIENT_BALANCE",
20
23
  PURCHASE_LIMIT_EXCEEDED: "PURCHASE_LIMIT_EXCEEDED",
24
+ PURCHASE_CAP_EXCEEDED: "PURCHASE_CAP_EXCEEDED",
25
+ DAILY_PURCHASE_LIMIT: "DAILY_PURCHASE_LIMIT",
26
+ TOKENS_FROZEN: "TOKENS_FROZEN",
27
+ SELL_WINDOW_EXCEEDED: "SELL_WINDOW_EXCEEDED",
28
+ UPGRADE_NOT_AVAILABLE: "UPGRADE_NOT_AVAILABLE",
21
29
  SALE_PHASE_INACTIVE: "SALE_PHASE_INACTIVE",
22
30
  WITHDRAWAL_COOLOFF: "WITHDRAWAL_COOLOFF",
23
31
  BONUS_ALREADY_CLAIMED: "BONUS_ALREADY_CLAIMED",
@@ -396,6 +404,43 @@ var ConfirmTotpCommand;
396
404
  });
397
405
  ConfirmTotpCommand2.ResponseSchema = z.void();
398
406
  })(ConfirmTotpCommand || (ConfirmTotpCommand = {}));
407
+ var VerifyEmailCommand;
408
+ ((VerifyEmailCommand2) => {
409
+ VerifyEmailCommand2.endpointDetails = endpoint(
410
+ "POST",
411
+ "/auth/verify-email",
412
+ "Confirm an email address with the token from the letter"
413
+ );
414
+ VerifyEmailCommand2.RequestSchema = z.object({
415
+ token: z.string().min(16).max(256)
416
+ });
417
+ VerifyEmailCommand2.ResponseSchema = z.object({ verified: z.boolean() });
418
+ })(VerifyEmailCommand || (VerifyEmailCommand = {}));
419
+ var ResendVerificationCommand;
420
+ ((ResendVerificationCommand2) => {
421
+ ResendVerificationCommand2.endpointDetails = endpoint("POST", "/auth/verify-email/resend", "Send the verification letter again");
422
+ ResendVerificationCommand2.RequestSchema = z.object({
423
+ email: z.string().email().max(254)
424
+ });
425
+ ResendVerificationCommand2.ResponseSchema = z.object({ sent: z.boolean() });
426
+ })(ResendVerificationCommand || (ResendVerificationCommand = {}));
427
+ var ForgotPasswordCommand;
428
+ ((ForgotPasswordCommand2) => {
429
+ ForgotPasswordCommand2.endpointDetails = endpoint("POST", "/auth/password/forgot", "Send a password reset link");
430
+ ForgotPasswordCommand2.RequestSchema = z.object({
431
+ email: z.string().email().max(254)
432
+ });
433
+ ForgotPasswordCommand2.ResponseSchema = z.object({ sent: z.boolean() });
434
+ })(ForgotPasswordCommand || (ForgotPasswordCommand = {}));
435
+ var ResetPasswordCommand;
436
+ ((ResetPasswordCommand2) => {
437
+ ResetPasswordCommand2.endpointDetails = endpoint("POST", "/auth/password/reset", "Set a new password using the reset token");
438
+ ResetPasswordCommand2.RequestSchema = z.object({
439
+ token: z.string().min(16).max(256),
440
+ password: z.string().min(8).max(128)
441
+ });
442
+ ResetPasswordCommand2.ResponseSchema = z.object({ reset: z.boolean() });
443
+ })(ResetPasswordCommand || (ResetPasswordCommand = {}));
399
444
 
400
445
  // src/commands/wallet/get-wallet.command.ts
401
446
  var GetWalletCommand;
@@ -564,11 +609,33 @@ var BuyPackageCommand;
564
609
  tokenPrice: MoneyStringSchema
565
610
  });
566
611
  })(BuyPackageCommand || (BuyPackageCommand = {}));
612
+ var UpgradePackageCommand;
613
+ ((UpgradePackageCommand2) => {
614
+ UpgradePackageCommand2.endpointDetails = endpoint(
615
+ "POST",
616
+ "/packages/:id/upgrade",
617
+ "Upgrade to a higher tier by topping up the difference between it and what was already invested"
618
+ );
619
+ UpgradePackageCommand2.RequestSchema = z.object({
620
+ idempotencyKey: z.string().min(8).max(255)
621
+ });
622
+ UpgradePackageCommand2.ResponseSchema = z.object({
623
+ purchaseId: z.string().uuid(),
624
+ topUpUsd: MoneyStringSchema,
625
+ tierPriceUsd: MoneyStringSchema,
626
+ nmnAmount: MoneyStringSchema,
627
+ tokenPrice: MoneyStringSchema
628
+ });
629
+ })(UpgradePackageCommand || (UpgradePackageCommand = {}));
567
630
 
568
631
  // src/commands/content/get-slides.command.ts
569
632
  var GetSlidesCommand;
570
633
  ((GetSlidesCommand2) => {
571
- GetSlidesCommand2.endpointDetails = endpoint("GET", "/content/slides", "Active dashboard carousel slides in display order");
634
+ GetSlidesCommand2.endpointDetails = endpoint(
635
+ "GET",
636
+ "/content/slides",
637
+ "Active dashboard carousel slides in display order"
638
+ );
572
639
  GetSlidesCommand2.ResponseSchema = SlidesResponseSchema;
573
640
  })(GetSlidesCommand || (GetSlidesCommand = {}));
574
641
  var GetRanksCommand;
@@ -642,7 +709,8 @@ var ConfirmEmailChangeCommand;
642
709
  ((ConfirmEmailChangeCommand2) => {
643
710
  ConfirmEmailChangeCommand2.endpointDetails = endpoint("POST", "/settings/email/confirm", "Confirm an email change with the code");
644
711
  ConfirmEmailChangeCommand2.RequestSchema = z.object({
645
- code: z.string().regex(/^\d{6}$/)
712
+ code: z.string().regex(/^\d{6}$/),
713
+ totp: z.string().regex(/^\d{6}$/).optional()
646
714
  });
647
715
  ConfirmEmailChangeCommand2.ResponseSchema = z.object({ email: z.string().email() });
648
716
  })(ConfirmEmailChangeCommand || (ConfirmEmailChangeCommand = {}));
@@ -868,7 +936,11 @@ var REST_API = {
868
936
  LOGOUT: "/auth/logout",
869
937
  ME: "/auth/me",
870
938
  TOTP_SETUP: "/auth/totp/setup",
871
- TOTP_CONFIRM: "/auth/totp/confirm"
939
+ TOTP_CONFIRM: "/auth/totp/confirm",
940
+ VERIFY_EMAIL: "/auth/verify-email",
941
+ RESEND_VERIFICATION: "/auth/verify-email/resend",
942
+ FORGOT_PASSWORD: "/auth/password/forgot",
943
+ RESET_PASSWORD: "/auth/password/reset"
872
944
  },
873
945
  WALLET: {
874
946
  OVERVIEW: "/wallet",
@@ -893,7 +965,8 @@ var REST_API = {
893
965
  },
894
966
  PACKAGES: {
895
967
  OVERVIEW: "/packages",
896
- BUY: "/packages/:id/buy"
968
+ BUY: "/packages/:id/buy",
969
+ UPGRADE: "/packages/:id/upgrade"
897
970
  },
898
971
  CONTENT: {
899
972
  SLIDES: "/content/slides"
@@ -947,6 +1020,6 @@ var REST_API = {
947
1020
  var API_PREFIX = "/api";
948
1021
  var API_VERSION = "v1";
949
1022
 
950
- 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, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, EarningsOverviewSchema, ErrorResponseSchema, FUNDING_ASSET, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetWalletCommand, IncomeOverviewSchema, IncomePeriodSchema, LeaderboardEntrySchema, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, LinkProviderSchema, LinkTelegramCommand, LinkedAccountSchema, 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, SessionInfoSchema, SetupTotpCommand, SlideButtonStyleSchema, SlideKindSchema, SlideLinkTargetSchema, SlideSchema, SlidesResponseSchema, SwapCommand, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, TicketAuthorTypeSchema, TicketBodySchema, TicketCategorySchema, TicketDetailSchema, TicketMessageSchema, TicketStatusSchema, TicketSummarySchema, TokenPriceSchema, TradeResultSchema, TransactionSchema, TransactionStatusSchema, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UserProfileSchema, UserRankSchema, UserSettingsSchema, UserStatusSchema, UuidSchema, WalletOverviewSchema, WithdrawalSchema, WithdrawalStatusSchema, assetDecimals, endpoint };
1023
+ 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, 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, 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, TradeResultSchema, TransactionSchema, TransactionStatusSchema, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, UserProfileSchema, UserRankSchema, UserSettingsSchema, UserStatusSchema, UuidSchema, VerifyEmailCommand, WalletOverviewSchema, WithdrawalSchema, WithdrawalStatusSchema, assetDecimals, endpoint };
951
1024
  //# sourceMappingURL=index.js.map
952
1025
  //# sourceMappingURL=index.js.map