@numen-crypto/contract 0.4.0 → 0.6.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
@@ -21,6 +21,11 @@ declare const ERROR_CODE: {
21
21
  readonly TOKEN_INVALID: "TOKEN_INVALID";
22
22
  readonly INSUFFICIENT_BALANCE: "INSUFFICIENT_BALANCE";
23
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";
24
29
  readonly SALE_PHASE_INACTIVE: "SALE_PHASE_INACTIVE";
25
30
  readonly WITHDRAWAL_COOLOFF: "WITHDRAWAL_COOLOFF";
26
31
  readonly BONUS_ALREADY_CLAIMED: "BONUS_ALREADY_CLAIMED";
@@ -416,6 +421,47 @@ declare const PackageSchema: z.ZodObject<{
416
421
  badge: string | null;
417
422
  }>;
418
423
  type Package = z.infer<typeof PackageSchema>;
424
+ declare const TradeLimitsSchema: z.ZodObject<{
425
+ purchasedUsd: z.ZodString;
426
+ purchaseCapUsd: z.ZodNullable<z.ZodString>;
427
+ capRemainingUsd: z.ZodNullable<z.ZodString>;
428
+ purchasesToday: z.ZodNumber;
429
+ dailyPurchaseLimit: z.ZodNullable<z.ZodNumber>;
430
+ freezeDays: z.ZodNullable<z.ZodNumber>;
431
+ frozenNmn: z.ZodString;
432
+ sellableNmn: z.ZodString;
433
+ windowDays: z.ZodNullable<z.ZodNumber>;
434
+ windowUsd: z.ZodNullable<z.ZodString>;
435
+ windowRemainingUsd: z.ZodNullable<z.ZodString>;
436
+ windowOpensAt: z.ZodNullable<z.ZodString>;
437
+ }, "strip", z.ZodTypeAny, {
438
+ purchasedUsd: string;
439
+ purchaseCapUsd: string | null;
440
+ capRemainingUsd: string | null;
441
+ purchasesToday: number;
442
+ dailyPurchaseLimit: number | null;
443
+ freezeDays: number | null;
444
+ frozenNmn: string;
445
+ sellableNmn: string;
446
+ windowDays: number | null;
447
+ windowUsd: string | null;
448
+ windowRemainingUsd: string | null;
449
+ windowOpensAt: string | null;
450
+ }, {
451
+ purchasedUsd: string;
452
+ purchaseCapUsd: string | null;
453
+ capRemainingUsd: string | null;
454
+ purchasesToday: number;
455
+ dailyPurchaseLimit: number | null;
456
+ freezeDays: number | null;
457
+ frozenNmn: string;
458
+ sellableNmn: string;
459
+ windowDays: number | null;
460
+ windowUsd: string | null;
461
+ windowRemainingUsd: string | null;
462
+ windowOpensAt: string | null;
463
+ }>;
464
+ type TradeLimits = z.infer<typeof TradeLimitsSchema>;
419
465
  declare const PackagesOverviewSchema: z.ZodObject<{
420
466
  packages: z.ZodArray<z.ZodObject<{
421
467
  id: z.ZodString;
@@ -439,10 +485,46 @@ declare const PackagesOverviewSchema: z.ZodObject<{
439
485
  sellIntervalDays: number;
440
486
  badge: string | null;
441
487
  }>, "many">;
442
- dailyLimit: z.ZodNumber;
443
- dailyUsed: z.ZodNumber;
444
- weeklyLimitUsd: z.ZodNullable<z.ZodString>;
445
- weeklySpentUsd: z.ZodString;
488
+ limits: z.ZodObject<{
489
+ purchasedUsd: z.ZodString;
490
+ purchaseCapUsd: z.ZodNullable<z.ZodString>;
491
+ capRemainingUsd: z.ZodNullable<z.ZodString>;
492
+ purchasesToday: z.ZodNumber;
493
+ dailyPurchaseLimit: z.ZodNullable<z.ZodNumber>;
494
+ freezeDays: z.ZodNullable<z.ZodNumber>;
495
+ frozenNmn: z.ZodString;
496
+ sellableNmn: z.ZodString;
497
+ windowDays: z.ZodNullable<z.ZodNumber>;
498
+ windowUsd: z.ZodNullable<z.ZodString>;
499
+ windowRemainingUsd: z.ZodNullable<z.ZodString>;
500
+ windowOpensAt: z.ZodNullable<z.ZodString>;
501
+ }, "strip", z.ZodTypeAny, {
502
+ purchasedUsd: string;
503
+ purchaseCapUsd: string | null;
504
+ capRemainingUsd: string | null;
505
+ purchasesToday: number;
506
+ dailyPurchaseLimit: number | null;
507
+ freezeDays: number | null;
508
+ frozenNmn: string;
509
+ sellableNmn: string;
510
+ windowDays: number | null;
511
+ windowUsd: string | null;
512
+ windowRemainingUsd: string | null;
513
+ windowOpensAt: string | null;
514
+ }, {
515
+ purchasedUsd: string;
516
+ purchaseCapUsd: string | null;
517
+ capRemainingUsd: string | null;
518
+ purchasesToday: number;
519
+ dailyPurchaseLimit: number | null;
520
+ freezeDays: number | null;
521
+ frozenNmn: string;
522
+ sellableNmn: string;
523
+ windowDays: number | null;
524
+ windowUsd: string | null;
525
+ windowRemainingUsd: string | null;
526
+ windowOpensAt: string | null;
527
+ }>;
446
528
  minPriceUsd: z.ZodString;
447
529
  maxPriceUsd: z.ZodString;
448
530
  sellIntervalDays: z.ZodNullable<z.ZodNumber>;
@@ -458,10 +540,20 @@ declare const PackagesOverviewSchema: z.ZodObject<{
458
540
  sellIntervalDays: number;
459
541
  badge: string | null;
460
542
  }[];
461
- dailyLimit: number;
462
- dailyUsed: number;
463
- weeklyLimitUsd: string | null;
464
- weeklySpentUsd: string;
543
+ limits: {
544
+ purchasedUsd: string;
545
+ purchaseCapUsd: string | null;
546
+ capRemainingUsd: string | null;
547
+ purchasesToday: number;
548
+ dailyPurchaseLimit: number | null;
549
+ freezeDays: number | null;
550
+ frozenNmn: string;
551
+ sellableNmn: string;
552
+ windowDays: number | null;
553
+ windowUsd: string | null;
554
+ windowRemainingUsd: string | null;
555
+ windowOpensAt: string | null;
556
+ };
465
557
  minPriceUsd: string;
466
558
  maxPriceUsd: string;
467
559
  nextSellAt: string | null;
@@ -476,10 +568,20 @@ declare const PackagesOverviewSchema: z.ZodObject<{
476
568
  sellIntervalDays: number;
477
569
  badge: string | null;
478
570
  }[];
479
- dailyLimit: number;
480
- dailyUsed: number;
481
- weeklyLimitUsd: string | null;
482
- weeklySpentUsd: string;
571
+ limits: {
572
+ purchasedUsd: string;
573
+ purchaseCapUsd: string | null;
574
+ capRemainingUsd: string | null;
575
+ purchasesToday: number;
576
+ dailyPurchaseLimit: number | null;
577
+ freezeDays: number | null;
578
+ frozenNmn: string;
579
+ sellableNmn: string;
580
+ windowDays: number | null;
581
+ windowUsd: string | null;
582
+ windowRemainingUsd: string | null;
583
+ windowOpensAt: string | null;
584
+ };
483
585
  minPriceUsd: string;
484
586
  maxPriceUsd: string;
485
587
  nextSellAt: string | null;
@@ -2265,10 +2367,46 @@ declare namespace GetPackagesCommand {
2265
2367
  sellIntervalDays: number;
2266
2368
  badge: string | null;
2267
2369
  }>, "many">;
2268
- dailyLimit: zod.ZodNumber;
2269
- dailyUsed: zod.ZodNumber;
2270
- weeklyLimitUsd: zod.ZodNullable<zod.ZodString>;
2271
- weeklySpentUsd: zod.ZodString;
2370
+ limits: zod.ZodObject<{
2371
+ purchasedUsd: zod.ZodString;
2372
+ purchaseCapUsd: zod.ZodNullable<zod.ZodString>;
2373
+ capRemainingUsd: zod.ZodNullable<zod.ZodString>;
2374
+ purchasesToday: zod.ZodNumber;
2375
+ dailyPurchaseLimit: zod.ZodNullable<zod.ZodNumber>;
2376
+ freezeDays: zod.ZodNullable<zod.ZodNumber>;
2377
+ frozenNmn: zod.ZodString;
2378
+ sellableNmn: zod.ZodString;
2379
+ windowDays: zod.ZodNullable<zod.ZodNumber>;
2380
+ windowUsd: zod.ZodNullable<zod.ZodString>;
2381
+ windowRemainingUsd: zod.ZodNullable<zod.ZodString>;
2382
+ windowOpensAt: zod.ZodNullable<zod.ZodString>;
2383
+ }, "strip", zod.ZodTypeAny, {
2384
+ purchasedUsd: string;
2385
+ purchaseCapUsd: string | null;
2386
+ capRemainingUsd: string | null;
2387
+ purchasesToday: number;
2388
+ dailyPurchaseLimit: number | null;
2389
+ freezeDays: number | null;
2390
+ frozenNmn: string;
2391
+ sellableNmn: string;
2392
+ windowDays: number | null;
2393
+ windowUsd: string | null;
2394
+ windowRemainingUsd: string | null;
2395
+ windowOpensAt: string | null;
2396
+ }, {
2397
+ purchasedUsd: string;
2398
+ purchaseCapUsd: string | null;
2399
+ capRemainingUsd: string | null;
2400
+ purchasesToday: number;
2401
+ dailyPurchaseLimit: number | null;
2402
+ freezeDays: number | null;
2403
+ frozenNmn: string;
2404
+ sellableNmn: string;
2405
+ windowDays: number | null;
2406
+ windowUsd: string | null;
2407
+ windowRemainingUsd: string | null;
2408
+ windowOpensAt: string | null;
2409
+ }>;
2272
2410
  minPriceUsd: zod.ZodString;
2273
2411
  maxPriceUsd: zod.ZodString;
2274
2412
  sellIntervalDays: zod.ZodNullable<zod.ZodNumber>;
@@ -2284,10 +2422,20 @@ declare namespace GetPackagesCommand {
2284
2422
  sellIntervalDays: number;
2285
2423
  badge: string | null;
2286
2424
  }[];
2287
- dailyLimit: number;
2288
- dailyUsed: number;
2289
- weeklyLimitUsd: string | null;
2290
- weeklySpentUsd: string;
2425
+ limits: {
2426
+ purchasedUsd: string;
2427
+ purchaseCapUsd: string | null;
2428
+ capRemainingUsd: string | null;
2429
+ purchasesToday: number;
2430
+ dailyPurchaseLimit: number | null;
2431
+ freezeDays: number | null;
2432
+ frozenNmn: string;
2433
+ sellableNmn: string;
2434
+ windowDays: number | null;
2435
+ windowUsd: string | null;
2436
+ windowRemainingUsd: string | null;
2437
+ windowOpensAt: string | null;
2438
+ };
2291
2439
  minPriceUsd: string;
2292
2440
  maxPriceUsd: string;
2293
2441
  nextSellAt: string | null;
@@ -2302,10 +2450,20 @@ declare namespace GetPackagesCommand {
2302
2450
  sellIntervalDays: number;
2303
2451
  badge: string | null;
2304
2452
  }[];
2305
- dailyLimit: number;
2306
- dailyUsed: number;
2307
- weeklyLimitUsd: string | null;
2308
- weeklySpentUsd: string;
2453
+ limits: {
2454
+ purchasedUsd: string;
2455
+ purchaseCapUsd: string | null;
2456
+ capRemainingUsd: string | null;
2457
+ purchasesToday: number;
2458
+ dailyPurchaseLimit: number | null;
2459
+ freezeDays: number | null;
2460
+ frozenNmn: string;
2461
+ sellableNmn: string;
2462
+ windowDays: number | null;
2463
+ windowUsd: string | null;
2464
+ windowRemainingUsd: string | null;
2465
+ windowOpensAt: string | null;
2466
+ };
2309
2467
  minPriceUsd: string;
2310
2468
  maxPriceUsd: string;
2311
2469
  nextSellAt: string | null;
@@ -2343,6 +2501,38 @@ declare namespace BuyPackageCommand {
2343
2501
  type Response = z.infer<typeof ResponseSchema>;
2344
2502
  }
2345
2503
 
2504
+ declare namespace UpgradePackageCommand {
2505
+ const endpointDetails: EndpointDetails;
2506
+ const RequestSchema: z.ZodObject<{
2507
+ idempotencyKey: z.ZodString;
2508
+ }, "strip", z.ZodTypeAny, {
2509
+ idempotencyKey: string;
2510
+ }, {
2511
+ idempotencyKey: string;
2512
+ }>;
2513
+ type Request = z.infer<typeof RequestSchema>;
2514
+ const ResponseSchema: z.ZodObject<{
2515
+ purchaseId: z.ZodString;
2516
+ topUpUsd: z.ZodString;
2517
+ tierPriceUsd: z.ZodString;
2518
+ nmnAmount: z.ZodString;
2519
+ tokenPrice: z.ZodString;
2520
+ }, "strip", z.ZodTypeAny, {
2521
+ tokenPrice: string;
2522
+ nmnAmount: string;
2523
+ purchaseId: string;
2524
+ topUpUsd: string;
2525
+ tierPriceUsd: string;
2526
+ }, {
2527
+ tokenPrice: string;
2528
+ nmnAmount: string;
2529
+ purchaseId: string;
2530
+ topUpUsd: string;
2531
+ tierPriceUsd: string;
2532
+ }>;
2533
+ type Response = z.infer<typeof ResponseSchema>;
2534
+ }
2535
+
2346
2536
  declare namespace GetSlidesCommand {
2347
2537
  const endpointDetails: EndpointDetails;
2348
2538
  const ResponseSchema: zod.ZodArray<zod.ZodObject<{
@@ -4013,6 +4203,7 @@ declare const REST_API: {
4013
4203
  readonly PACKAGES: {
4014
4204
  readonly OVERVIEW: "/packages";
4015
4205
  readonly BUY: "/packages/:id/buy";
4206
+ readonly UPGRADE: "/packages/:id/upgrade";
4016
4207
  };
4017
4208
  readonly CONTENT: {
4018
4209
  readonly SLIDES: "/content/slides";
@@ -4066,4 +4257,4 @@ declare const REST_API: {
4066
4257
  declare const API_PREFIX = "/api";
4067
4258
  declare const API_VERSION = "v1";
4068
4259
 
4069
- 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, 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 };
4260
+ 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 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
@@ -21,6 +21,11 @@ declare const ERROR_CODE: {
21
21
  readonly TOKEN_INVALID: "TOKEN_INVALID";
22
22
  readonly INSUFFICIENT_BALANCE: "INSUFFICIENT_BALANCE";
23
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";
24
29
  readonly SALE_PHASE_INACTIVE: "SALE_PHASE_INACTIVE";
25
30
  readonly WITHDRAWAL_COOLOFF: "WITHDRAWAL_COOLOFF";
26
31
  readonly BONUS_ALREADY_CLAIMED: "BONUS_ALREADY_CLAIMED";
@@ -416,6 +421,47 @@ declare const PackageSchema: z.ZodObject<{
416
421
  badge: string | null;
417
422
  }>;
418
423
  type Package = z.infer<typeof PackageSchema>;
424
+ declare const TradeLimitsSchema: z.ZodObject<{
425
+ purchasedUsd: z.ZodString;
426
+ purchaseCapUsd: z.ZodNullable<z.ZodString>;
427
+ capRemainingUsd: z.ZodNullable<z.ZodString>;
428
+ purchasesToday: z.ZodNumber;
429
+ dailyPurchaseLimit: z.ZodNullable<z.ZodNumber>;
430
+ freezeDays: z.ZodNullable<z.ZodNumber>;
431
+ frozenNmn: z.ZodString;
432
+ sellableNmn: z.ZodString;
433
+ windowDays: z.ZodNullable<z.ZodNumber>;
434
+ windowUsd: z.ZodNullable<z.ZodString>;
435
+ windowRemainingUsd: z.ZodNullable<z.ZodString>;
436
+ windowOpensAt: z.ZodNullable<z.ZodString>;
437
+ }, "strip", z.ZodTypeAny, {
438
+ purchasedUsd: string;
439
+ purchaseCapUsd: string | null;
440
+ capRemainingUsd: string | null;
441
+ purchasesToday: number;
442
+ dailyPurchaseLimit: number | null;
443
+ freezeDays: number | null;
444
+ frozenNmn: string;
445
+ sellableNmn: string;
446
+ windowDays: number | null;
447
+ windowUsd: string | null;
448
+ windowRemainingUsd: string | null;
449
+ windowOpensAt: string | null;
450
+ }, {
451
+ purchasedUsd: string;
452
+ purchaseCapUsd: string | null;
453
+ capRemainingUsd: string | null;
454
+ purchasesToday: number;
455
+ dailyPurchaseLimit: number | null;
456
+ freezeDays: number | null;
457
+ frozenNmn: string;
458
+ sellableNmn: string;
459
+ windowDays: number | null;
460
+ windowUsd: string | null;
461
+ windowRemainingUsd: string | null;
462
+ windowOpensAt: string | null;
463
+ }>;
464
+ type TradeLimits = z.infer<typeof TradeLimitsSchema>;
419
465
  declare const PackagesOverviewSchema: z.ZodObject<{
420
466
  packages: z.ZodArray<z.ZodObject<{
421
467
  id: z.ZodString;
@@ -439,10 +485,46 @@ declare const PackagesOverviewSchema: z.ZodObject<{
439
485
  sellIntervalDays: number;
440
486
  badge: string | null;
441
487
  }>, "many">;
442
- dailyLimit: z.ZodNumber;
443
- dailyUsed: z.ZodNumber;
444
- weeklyLimitUsd: z.ZodNullable<z.ZodString>;
445
- weeklySpentUsd: z.ZodString;
488
+ limits: z.ZodObject<{
489
+ purchasedUsd: z.ZodString;
490
+ purchaseCapUsd: z.ZodNullable<z.ZodString>;
491
+ capRemainingUsd: z.ZodNullable<z.ZodString>;
492
+ purchasesToday: z.ZodNumber;
493
+ dailyPurchaseLimit: z.ZodNullable<z.ZodNumber>;
494
+ freezeDays: z.ZodNullable<z.ZodNumber>;
495
+ frozenNmn: z.ZodString;
496
+ sellableNmn: z.ZodString;
497
+ windowDays: z.ZodNullable<z.ZodNumber>;
498
+ windowUsd: z.ZodNullable<z.ZodString>;
499
+ windowRemainingUsd: z.ZodNullable<z.ZodString>;
500
+ windowOpensAt: z.ZodNullable<z.ZodString>;
501
+ }, "strip", z.ZodTypeAny, {
502
+ purchasedUsd: string;
503
+ purchaseCapUsd: string | null;
504
+ capRemainingUsd: string | null;
505
+ purchasesToday: number;
506
+ dailyPurchaseLimit: number | null;
507
+ freezeDays: number | null;
508
+ frozenNmn: string;
509
+ sellableNmn: string;
510
+ windowDays: number | null;
511
+ windowUsd: string | null;
512
+ windowRemainingUsd: string | null;
513
+ windowOpensAt: string | null;
514
+ }, {
515
+ purchasedUsd: string;
516
+ purchaseCapUsd: string | null;
517
+ capRemainingUsd: string | null;
518
+ purchasesToday: number;
519
+ dailyPurchaseLimit: number | null;
520
+ freezeDays: number | null;
521
+ frozenNmn: string;
522
+ sellableNmn: string;
523
+ windowDays: number | null;
524
+ windowUsd: string | null;
525
+ windowRemainingUsd: string | null;
526
+ windowOpensAt: string | null;
527
+ }>;
446
528
  minPriceUsd: z.ZodString;
447
529
  maxPriceUsd: z.ZodString;
448
530
  sellIntervalDays: z.ZodNullable<z.ZodNumber>;
@@ -458,10 +540,20 @@ declare const PackagesOverviewSchema: z.ZodObject<{
458
540
  sellIntervalDays: number;
459
541
  badge: string | null;
460
542
  }[];
461
- dailyLimit: number;
462
- dailyUsed: number;
463
- weeklyLimitUsd: string | null;
464
- weeklySpentUsd: string;
543
+ limits: {
544
+ purchasedUsd: string;
545
+ purchaseCapUsd: string | null;
546
+ capRemainingUsd: string | null;
547
+ purchasesToday: number;
548
+ dailyPurchaseLimit: number | null;
549
+ freezeDays: number | null;
550
+ frozenNmn: string;
551
+ sellableNmn: string;
552
+ windowDays: number | null;
553
+ windowUsd: string | null;
554
+ windowRemainingUsd: string | null;
555
+ windowOpensAt: string | null;
556
+ };
465
557
  minPriceUsd: string;
466
558
  maxPriceUsd: string;
467
559
  nextSellAt: string | null;
@@ -476,10 +568,20 @@ declare const PackagesOverviewSchema: z.ZodObject<{
476
568
  sellIntervalDays: number;
477
569
  badge: string | null;
478
570
  }[];
479
- dailyLimit: number;
480
- dailyUsed: number;
481
- weeklyLimitUsd: string | null;
482
- weeklySpentUsd: string;
571
+ limits: {
572
+ purchasedUsd: string;
573
+ purchaseCapUsd: string | null;
574
+ capRemainingUsd: string | null;
575
+ purchasesToday: number;
576
+ dailyPurchaseLimit: number | null;
577
+ freezeDays: number | null;
578
+ frozenNmn: string;
579
+ sellableNmn: string;
580
+ windowDays: number | null;
581
+ windowUsd: string | null;
582
+ windowRemainingUsd: string | null;
583
+ windowOpensAt: string | null;
584
+ };
483
585
  minPriceUsd: string;
484
586
  maxPriceUsd: string;
485
587
  nextSellAt: string | null;
@@ -2265,10 +2367,46 @@ declare namespace GetPackagesCommand {
2265
2367
  sellIntervalDays: number;
2266
2368
  badge: string | null;
2267
2369
  }>, "many">;
2268
- dailyLimit: zod.ZodNumber;
2269
- dailyUsed: zod.ZodNumber;
2270
- weeklyLimitUsd: zod.ZodNullable<zod.ZodString>;
2271
- weeklySpentUsd: zod.ZodString;
2370
+ limits: zod.ZodObject<{
2371
+ purchasedUsd: zod.ZodString;
2372
+ purchaseCapUsd: zod.ZodNullable<zod.ZodString>;
2373
+ capRemainingUsd: zod.ZodNullable<zod.ZodString>;
2374
+ purchasesToday: zod.ZodNumber;
2375
+ dailyPurchaseLimit: zod.ZodNullable<zod.ZodNumber>;
2376
+ freezeDays: zod.ZodNullable<zod.ZodNumber>;
2377
+ frozenNmn: zod.ZodString;
2378
+ sellableNmn: zod.ZodString;
2379
+ windowDays: zod.ZodNullable<zod.ZodNumber>;
2380
+ windowUsd: zod.ZodNullable<zod.ZodString>;
2381
+ windowRemainingUsd: zod.ZodNullable<zod.ZodString>;
2382
+ windowOpensAt: zod.ZodNullable<zod.ZodString>;
2383
+ }, "strip", zod.ZodTypeAny, {
2384
+ purchasedUsd: string;
2385
+ purchaseCapUsd: string | null;
2386
+ capRemainingUsd: string | null;
2387
+ purchasesToday: number;
2388
+ dailyPurchaseLimit: number | null;
2389
+ freezeDays: number | null;
2390
+ frozenNmn: string;
2391
+ sellableNmn: string;
2392
+ windowDays: number | null;
2393
+ windowUsd: string | null;
2394
+ windowRemainingUsd: string | null;
2395
+ windowOpensAt: string | null;
2396
+ }, {
2397
+ purchasedUsd: string;
2398
+ purchaseCapUsd: string | null;
2399
+ capRemainingUsd: string | null;
2400
+ purchasesToday: number;
2401
+ dailyPurchaseLimit: number | null;
2402
+ freezeDays: number | null;
2403
+ frozenNmn: string;
2404
+ sellableNmn: string;
2405
+ windowDays: number | null;
2406
+ windowUsd: string | null;
2407
+ windowRemainingUsd: string | null;
2408
+ windowOpensAt: string | null;
2409
+ }>;
2272
2410
  minPriceUsd: zod.ZodString;
2273
2411
  maxPriceUsd: zod.ZodString;
2274
2412
  sellIntervalDays: zod.ZodNullable<zod.ZodNumber>;
@@ -2284,10 +2422,20 @@ declare namespace GetPackagesCommand {
2284
2422
  sellIntervalDays: number;
2285
2423
  badge: string | null;
2286
2424
  }[];
2287
- dailyLimit: number;
2288
- dailyUsed: number;
2289
- weeklyLimitUsd: string | null;
2290
- weeklySpentUsd: string;
2425
+ limits: {
2426
+ purchasedUsd: string;
2427
+ purchaseCapUsd: string | null;
2428
+ capRemainingUsd: string | null;
2429
+ purchasesToday: number;
2430
+ dailyPurchaseLimit: number | null;
2431
+ freezeDays: number | null;
2432
+ frozenNmn: string;
2433
+ sellableNmn: string;
2434
+ windowDays: number | null;
2435
+ windowUsd: string | null;
2436
+ windowRemainingUsd: string | null;
2437
+ windowOpensAt: string | null;
2438
+ };
2291
2439
  minPriceUsd: string;
2292
2440
  maxPriceUsd: string;
2293
2441
  nextSellAt: string | null;
@@ -2302,10 +2450,20 @@ declare namespace GetPackagesCommand {
2302
2450
  sellIntervalDays: number;
2303
2451
  badge: string | null;
2304
2452
  }[];
2305
- dailyLimit: number;
2306
- dailyUsed: number;
2307
- weeklyLimitUsd: string | null;
2308
- weeklySpentUsd: string;
2453
+ limits: {
2454
+ purchasedUsd: string;
2455
+ purchaseCapUsd: string | null;
2456
+ capRemainingUsd: string | null;
2457
+ purchasesToday: number;
2458
+ dailyPurchaseLimit: number | null;
2459
+ freezeDays: number | null;
2460
+ frozenNmn: string;
2461
+ sellableNmn: string;
2462
+ windowDays: number | null;
2463
+ windowUsd: string | null;
2464
+ windowRemainingUsd: string | null;
2465
+ windowOpensAt: string | null;
2466
+ };
2309
2467
  minPriceUsd: string;
2310
2468
  maxPriceUsd: string;
2311
2469
  nextSellAt: string | null;
@@ -2343,6 +2501,38 @@ declare namespace BuyPackageCommand {
2343
2501
  type Response = z.infer<typeof ResponseSchema>;
2344
2502
  }
2345
2503
 
2504
+ declare namespace UpgradePackageCommand {
2505
+ const endpointDetails: EndpointDetails;
2506
+ const RequestSchema: z.ZodObject<{
2507
+ idempotencyKey: z.ZodString;
2508
+ }, "strip", z.ZodTypeAny, {
2509
+ idempotencyKey: string;
2510
+ }, {
2511
+ idempotencyKey: string;
2512
+ }>;
2513
+ type Request = z.infer<typeof RequestSchema>;
2514
+ const ResponseSchema: z.ZodObject<{
2515
+ purchaseId: z.ZodString;
2516
+ topUpUsd: z.ZodString;
2517
+ tierPriceUsd: z.ZodString;
2518
+ nmnAmount: z.ZodString;
2519
+ tokenPrice: z.ZodString;
2520
+ }, "strip", z.ZodTypeAny, {
2521
+ tokenPrice: string;
2522
+ nmnAmount: string;
2523
+ purchaseId: string;
2524
+ topUpUsd: string;
2525
+ tierPriceUsd: string;
2526
+ }, {
2527
+ tokenPrice: string;
2528
+ nmnAmount: string;
2529
+ purchaseId: string;
2530
+ topUpUsd: string;
2531
+ tierPriceUsd: string;
2532
+ }>;
2533
+ type Response = z.infer<typeof ResponseSchema>;
2534
+ }
2535
+
2346
2536
  declare namespace GetSlidesCommand {
2347
2537
  const endpointDetails: EndpointDetails;
2348
2538
  const ResponseSchema: zod.ZodArray<zod.ZodObject<{
@@ -4013,6 +4203,7 @@ declare const REST_API: {
4013
4203
  readonly PACKAGES: {
4014
4204
  readonly OVERVIEW: "/packages";
4015
4205
  readonly BUY: "/packages/:id/buy";
4206
+ readonly UPGRADE: "/packages/:id/upgrade";
4016
4207
  };
4017
4208
  readonly CONTENT: {
4018
4209
  readonly SLIDES: "/content/slides";
@@ -4066,4 +4257,4 @@ declare const REST_API: {
4066
4257
  declare const API_PREFIX = "/api";
4067
4258
  declare const API_VERSION = "v1";
4068
4259
 
4069
- 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, 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 };
4260
+ 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 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 };