@numen-crypto/contract 0.5.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.cjs +16 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +178 -25
- package/dist/index.d.ts +178 -25
- package/dist/index.js +16 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -421,6 +421,47 @@ declare const PackageSchema: z.ZodObject<{
|
|
|
421
421
|
badge: string | null;
|
|
422
422
|
}>;
|
|
423
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>;
|
|
424
465
|
declare const PackagesOverviewSchema: z.ZodObject<{
|
|
425
466
|
packages: z.ZodArray<z.ZodObject<{
|
|
426
467
|
id: z.ZodString;
|
|
@@ -444,10 +485,46 @@ declare const PackagesOverviewSchema: z.ZodObject<{
|
|
|
444
485
|
sellIntervalDays: number;
|
|
445
486
|
badge: string | null;
|
|
446
487
|
}>, "many">;
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
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
|
+
}>;
|
|
451
528
|
minPriceUsd: z.ZodString;
|
|
452
529
|
maxPriceUsd: z.ZodString;
|
|
453
530
|
sellIntervalDays: z.ZodNullable<z.ZodNumber>;
|
|
@@ -463,10 +540,20 @@ declare const PackagesOverviewSchema: z.ZodObject<{
|
|
|
463
540
|
sellIntervalDays: number;
|
|
464
541
|
badge: string | null;
|
|
465
542
|
}[];
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
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
|
+
};
|
|
470
557
|
minPriceUsd: string;
|
|
471
558
|
maxPriceUsd: string;
|
|
472
559
|
nextSellAt: string | null;
|
|
@@ -481,10 +568,20 @@ declare const PackagesOverviewSchema: z.ZodObject<{
|
|
|
481
568
|
sellIntervalDays: number;
|
|
482
569
|
badge: string | null;
|
|
483
570
|
}[];
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
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
|
+
};
|
|
488
585
|
minPriceUsd: string;
|
|
489
586
|
maxPriceUsd: string;
|
|
490
587
|
nextSellAt: string | null;
|
|
@@ -2270,10 +2367,46 @@ declare namespace GetPackagesCommand {
|
|
|
2270
2367
|
sellIntervalDays: number;
|
|
2271
2368
|
badge: string | null;
|
|
2272
2369
|
}>, "many">;
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
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
|
+
}>;
|
|
2277
2410
|
minPriceUsd: zod.ZodString;
|
|
2278
2411
|
maxPriceUsd: zod.ZodString;
|
|
2279
2412
|
sellIntervalDays: zod.ZodNullable<zod.ZodNumber>;
|
|
@@ -2289,10 +2422,20 @@ declare namespace GetPackagesCommand {
|
|
|
2289
2422
|
sellIntervalDays: number;
|
|
2290
2423
|
badge: string | null;
|
|
2291
2424
|
}[];
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
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
|
+
};
|
|
2296
2439
|
minPriceUsd: string;
|
|
2297
2440
|
maxPriceUsd: string;
|
|
2298
2441
|
nextSellAt: string | null;
|
|
@@ -2307,10 +2450,20 @@ declare namespace GetPackagesCommand {
|
|
|
2307
2450
|
sellIntervalDays: number;
|
|
2308
2451
|
badge: string | null;
|
|
2309
2452
|
}[];
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
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
|
+
};
|
|
2314
2467
|
minPriceUsd: string;
|
|
2315
2468
|
maxPriceUsd: string;
|
|
2316
2469
|
nextSellAt: string | null;
|
|
@@ -4104,4 +4257,4 @@ declare const REST_API: {
|
|
|
4104
4257
|
declare const API_PREFIX = "/api";
|
|
4105
4258
|
declare const API_VERSION = "v1";
|
|
4106
4259
|
|
|
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 };
|
|
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
|
@@ -421,6 +421,47 @@ declare const PackageSchema: z.ZodObject<{
|
|
|
421
421
|
badge: string | null;
|
|
422
422
|
}>;
|
|
423
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>;
|
|
424
465
|
declare const PackagesOverviewSchema: z.ZodObject<{
|
|
425
466
|
packages: z.ZodArray<z.ZodObject<{
|
|
426
467
|
id: z.ZodString;
|
|
@@ -444,10 +485,46 @@ declare const PackagesOverviewSchema: z.ZodObject<{
|
|
|
444
485
|
sellIntervalDays: number;
|
|
445
486
|
badge: string | null;
|
|
446
487
|
}>, "many">;
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
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
|
+
}>;
|
|
451
528
|
minPriceUsd: z.ZodString;
|
|
452
529
|
maxPriceUsd: z.ZodString;
|
|
453
530
|
sellIntervalDays: z.ZodNullable<z.ZodNumber>;
|
|
@@ -463,10 +540,20 @@ declare const PackagesOverviewSchema: z.ZodObject<{
|
|
|
463
540
|
sellIntervalDays: number;
|
|
464
541
|
badge: string | null;
|
|
465
542
|
}[];
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
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
|
+
};
|
|
470
557
|
minPriceUsd: string;
|
|
471
558
|
maxPriceUsd: string;
|
|
472
559
|
nextSellAt: string | null;
|
|
@@ -481,10 +568,20 @@ declare const PackagesOverviewSchema: z.ZodObject<{
|
|
|
481
568
|
sellIntervalDays: number;
|
|
482
569
|
badge: string | null;
|
|
483
570
|
}[];
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
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
|
+
};
|
|
488
585
|
minPriceUsd: string;
|
|
489
586
|
maxPriceUsd: string;
|
|
490
587
|
nextSellAt: string | null;
|
|
@@ -2270,10 +2367,46 @@ declare namespace GetPackagesCommand {
|
|
|
2270
2367
|
sellIntervalDays: number;
|
|
2271
2368
|
badge: string | null;
|
|
2272
2369
|
}>, "many">;
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
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
|
+
}>;
|
|
2277
2410
|
minPriceUsd: zod.ZodString;
|
|
2278
2411
|
maxPriceUsd: zod.ZodString;
|
|
2279
2412
|
sellIntervalDays: zod.ZodNullable<zod.ZodNumber>;
|
|
@@ -2289,10 +2422,20 @@ declare namespace GetPackagesCommand {
|
|
|
2289
2422
|
sellIntervalDays: number;
|
|
2290
2423
|
badge: string | null;
|
|
2291
2424
|
}[];
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
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
|
+
};
|
|
2296
2439
|
minPriceUsd: string;
|
|
2297
2440
|
maxPriceUsd: string;
|
|
2298
2441
|
nextSellAt: string | null;
|
|
@@ -2307,10 +2450,20 @@ declare namespace GetPackagesCommand {
|
|
|
2307
2450
|
sellIntervalDays: number;
|
|
2308
2451
|
badge: string | null;
|
|
2309
2452
|
}[];
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
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
|
+
};
|
|
2314
2467
|
minPriceUsd: string;
|
|
2315
2468
|
maxPriceUsd: string;
|
|
2316
2469
|
nextSellAt: string | null;
|
|
@@ -4104,4 +4257,4 @@ declare const REST_API: {
|
|
|
4104
4257
|
declare const API_PREFIX = "/api";
|
|
4105
4258
|
declare const API_VERSION = "v1";
|
|
4106
4259
|
|
|
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 };
|
|
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.js
CHANGED
|
@@ -167,12 +167,23 @@ var PackageSchema = z.object({
|
|
|
167
167
|
status: PackageStatusSchema,
|
|
168
168
|
badge: z.string().nullable()
|
|
169
169
|
});
|
|
170
|
+
var TradeLimitsSchema = z.object({
|
|
171
|
+
purchasedUsd: MoneyStringSchema,
|
|
172
|
+
purchaseCapUsd: MoneyStringSchema.nullable(),
|
|
173
|
+
capRemainingUsd: MoneyStringSchema.nullable(),
|
|
174
|
+
purchasesToday: z.number().int().nonnegative(),
|
|
175
|
+
dailyPurchaseLimit: z.number().int().nonnegative().nullable(),
|
|
176
|
+
freezeDays: z.number().int().nonnegative().nullable(),
|
|
177
|
+
frozenNmn: MoneyStringSchema,
|
|
178
|
+
sellableNmn: MoneyStringSchema,
|
|
179
|
+
windowDays: z.number().int().nonnegative().nullable(),
|
|
180
|
+
windowUsd: MoneyStringSchema.nullable(),
|
|
181
|
+
windowRemainingUsd: MoneyStringSchema.nullable(),
|
|
182
|
+
windowOpensAt: z.string().datetime().nullable()
|
|
183
|
+
});
|
|
170
184
|
var PackagesOverviewSchema = z.object({
|
|
171
185
|
packages: z.array(PackageSchema),
|
|
172
|
-
|
|
173
|
-
dailyUsed: z.number().int().nonnegative(),
|
|
174
|
-
weeklyLimitUsd: MoneyStringSchema.nullable(),
|
|
175
|
-
weeklySpentUsd: MoneyStringSchema,
|
|
186
|
+
limits: TradeLimitsSchema,
|
|
176
187
|
minPriceUsd: MoneyStringSchema,
|
|
177
188
|
maxPriceUsd: MoneyStringSchema,
|
|
178
189
|
sellIntervalDays: z.number().int().positive().nullable(),
|
|
@@ -1020,6 +1031,6 @@ var REST_API = {
|
|
|
1020
1031
|
var API_PREFIX = "/api";
|
|
1021
1032
|
var API_VERSION = "v1";
|
|
1022
1033
|
|
|
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 };
|
|
1034
|
+
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, TradeLimitsSchema, TradeResultSchema, TransactionSchema, TransactionStatusSchema, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, UserProfileSchema, UserRankSchema, UserSettingsSchema, UserStatusSchema, UuidSchema, VerifyEmailCommand, WalletOverviewSchema, WithdrawalSchema, WithdrawalStatusSchema, assetDecimals, endpoint };
|
|
1024
1035
|
//# sourceMappingURL=index.js.map
|
|
1025
1036
|
//# sourceMappingURL=index.js.map
|