@numen-crypto/contract 0.2.4 → 0.2.5

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
@@ -473,6 +473,89 @@ declare const PackagesOverviewSchema: z.ZodObject<{
473
473
  }>;
474
474
  type PackagesOverview = z.infer<typeof PackagesOverviewSchema>;
475
475
 
476
+ declare const SlideKindSchema: z.ZodEnum<["image", "text"]>;
477
+ type SlideKind = z.infer<typeof SlideKindSchema>;
478
+ declare const SlideButtonStyleSchema: z.ZodEnum<["primary", "secondary", "outline", "ghost"]>;
479
+ type SlideButtonStyle = z.infer<typeof SlideButtonStyleSchema>;
480
+ declare const SlideLinkTargetSchema: z.ZodEnum<["_self", "_blank"]>;
481
+ type SlideLinkTarget = z.infer<typeof SlideLinkTargetSchema>;
482
+ declare const SlideSchema: z.ZodObject<{
483
+ id: z.ZodString;
484
+ kind: z.ZodEnum<["image", "text"]>;
485
+ imageUrl: z.ZodNullable<z.ZodString>;
486
+ tag: z.ZodNullable<z.ZodString>;
487
+ title: z.ZodNullable<z.ZodString>;
488
+ body: z.ZodNullable<z.ZodString>;
489
+ linkUrl: z.ZodNullable<z.ZodString>;
490
+ linkTarget: z.ZodEnum<["_self", "_blank"]>;
491
+ wholeSlideLink: z.ZodBoolean;
492
+ buttonLabel: z.ZodNullable<z.ZodString>;
493
+ buttonStyle: z.ZodNullable<z.ZodEnum<["primary", "secondary", "outline", "ghost"]>>;
494
+ }, "strip", z.ZodTypeAny, {
495
+ id: string;
496
+ kind: "image" | "text";
497
+ imageUrl: string | null;
498
+ tag: string | null;
499
+ title: string | null;
500
+ body: string | null;
501
+ linkUrl: string | null;
502
+ linkTarget: "_self" | "_blank";
503
+ wholeSlideLink: boolean;
504
+ buttonLabel: string | null;
505
+ buttonStyle: "primary" | "secondary" | "outline" | "ghost" | null;
506
+ }, {
507
+ id: string;
508
+ kind: "image" | "text";
509
+ imageUrl: string | null;
510
+ tag: string | null;
511
+ title: string | null;
512
+ body: string | null;
513
+ linkUrl: string | null;
514
+ linkTarget: "_self" | "_blank";
515
+ wholeSlideLink: boolean;
516
+ buttonLabel: string | null;
517
+ buttonStyle: "primary" | "secondary" | "outline" | "ghost" | null;
518
+ }>;
519
+ type Slide = z.infer<typeof SlideSchema>;
520
+ declare const SlidesResponseSchema: z.ZodArray<z.ZodObject<{
521
+ id: z.ZodString;
522
+ kind: z.ZodEnum<["image", "text"]>;
523
+ imageUrl: z.ZodNullable<z.ZodString>;
524
+ tag: z.ZodNullable<z.ZodString>;
525
+ title: z.ZodNullable<z.ZodString>;
526
+ body: z.ZodNullable<z.ZodString>;
527
+ linkUrl: z.ZodNullable<z.ZodString>;
528
+ linkTarget: z.ZodEnum<["_self", "_blank"]>;
529
+ wholeSlideLink: z.ZodBoolean;
530
+ buttonLabel: z.ZodNullable<z.ZodString>;
531
+ buttonStyle: z.ZodNullable<z.ZodEnum<["primary", "secondary", "outline", "ghost"]>>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ id: string;
534
+ kind: "image" | "text";
535
+ imageUrl: string | null;
536
+ tag: string | null;
537
+ title: string | null;
538
+ body: string | null;
539
+ linkUrl: string | null;
540
+ linkTarget: "_self" | "_blank";
541
+ wholeSlideLink: boolean;
542
+ buttonLabel: string | null;
543
+ buttonStyle: "primary" | "secondary" | "outline" | "ghost" | null;
544
+ }, {
545
+ id: string;
546
+ kind: "image" | "text";
547
+ imageUrl: string | null;
548
+ tag: string | null;
549
+ title: string | null;
550
+ body: string | null;
551
+ linkUrl: string | null;
552
+ linkTarget: "_self" | "_blank";
553
+ wholeSlideLink: boolean;
554
+ buttonLabel: string | null;
555
+ buttonStyle: "primary" | "secondary" | "outline" | "ghost" | null;
556
+ }>, "many">;
557
+ type SlidesResponse = z.infer<typeof SlidesResponseSchema>;
558
+
476
559
  declare const RankDefSchema: z.ZodObject<{
477
560
  name: z.ZodString;
478
561
  order: z.ZodNumber;
@@ -2165,6 +2248,48 @@ declare namespace BuyPackageCommand {
2165
2248
  type Response = z.infer<typeof ResponseSchema>;
2166
2249
  }
2167
2250
 
2251
+ declare namespace GetSlidesCommand {
2252
+ const endpointDetails: EndpointDetails;
2253
+ const ResponseSchema: zod.ZodArray<zod.ZodObject<{
2254
+ id: zod.ZodString;
2255
+ kind: zod.ZodEnum<["image", "text"]>;
2256
+ imageUrl: zod.ZodNullable<zod.ZodString>;
2257
+ tag: zod.ZodNullable<zod.ZodString>;
2258
+ title: zod.ZodNullable<zod.ZodString>;
2259
+ body: zod.ZodNullable<zod.ZodString>;
2260
+ linkUrl: zod.ZodNullable<zod.ZodString>;
2261
+ linkTarget: zod.ZodEnum<["_self", "_blank"]>;
2262
+ wholeSlideLink: zod.ZodBoolean;
2263
+ buttonLabel: zod.ZodNullable<zod.ZodString>;
2264
+ buttonStyle: zod.ZodNullable<zod.ZodEnum<["primary", "secondary", "outline", "ghost"]>>;
2265
+ }, "strip", zod.ZodTypeAny, {
2266
+ id: string;
2267
+ kind: "image" | "text";
2268
+ imageUrl: string | null;
2269
+ tag: string | null;
2270
+ title: string | null;
2271
+ body: string | null;
2272
+ linkUrl: string | null;
2273
+ linkTarget: "_self" | "_blank";
2274
+ wholeSlideLink: boolean;
2275
+ buttonLabel: string | null;
2276
+ buttonStyle: "primary" | "secondary" | "outline" | "ghost" | null;
2277
+ }, {
2278
+ id: string;
2279
+ kind: "image" | "text";
2280
+ imageUrl: string | null;
2281
+ tag: string | null;
2282
+ title: string | null;
2283
+ body: string | null;
2284
+ linkUrl: string | null;
2285
+ linkTarget: "_self" | "_blank";
2286
+ wholeSlideLink: boolean;
2287
+ buttonLabel: string | null;
2288
+ buttonStyle: "primary" | "secondary" | "outline" | "ghost" | null;
2289
+ }>, "many">;
2290
+ type Response = SlidesResponse;
2291
+ }
2292
+
2168
2293
  declare namespace GetRanksCommand {
2169
2294
  const endpointDetails: EndpointDetails;
2170
2295
  const ResponseSchema: z.ZodObject<{
@@ -3787,6 +3912,9 @@ declare const REST_API: {
3787
3912
  readonly OVERVIEW: "/packages";
3788
3913
  readonly BUY: "/packages/:id/buy";
3789
3914
  };
3915
+ readonly CONTENT: {
3916
+ readonly SLIDES: "/content/slides";
3917
+ };
3790
3918
  readonly RANKS: {
3791
3919
  readonly LIST: "/ranks";
3792
3920
  };
@@ -3836,4 +3964,4 @@ declare const REST_API: {
3836
3964
  declare const API_PREFIX = "/api";
3837
3965
  declare const API_VERSION = "v1";
3838
3966
 
3839
- export { API_PREFIX, API_VERSION, 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, 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, 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, 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, endpoint };
3967
+ export { API_PREFIX, API_VERSION, 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, 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, endpoint };
package/dist/index.d.ts CHANGED
@@ -473,6 +473,89 @@ declare const PackagesOverviewSchema: z.ZodObject<{
473
473
  }>;
474
474
  type PackagesOverview = z.infer<typeof PackagesOverviewSchema>;
475
475
 
476
+ declare const SlideKindSchema: z.ZodEnum<["image", "text"]>;
477
+ type SlideKind = z.infer<typeof SlideKindSchema>;
478
+ declare const SlideButtonStyleSchema: z.ZodEnum<["primary", "secondary", "outline", "ghost"]>;
479
+ type SlideButtonStyle = z.infer<typeof SlideButtonStyleSchema>;
480
+ declare const SlideLinkTargetSchema: z.ZodEnum<["_self", "_blank"]>;
481
+ type SlideLinkTarget = z.infer<typeof SlideLinkTargetSchema>;
482
+ declare const SlideSchema: z.ZodObject<{
483
+ id: z.ZodString;
484
+ kind: z.ZodEnum<["image", "text"]>;
485
+ imageUrl: z.ZodNullable<z.ZodString>;
486
+ tag: z.ZodNullable<z.ZodString>;
487
+ title: z.ZodNullable<z.ZodString>;
488
+ body: z.ZodNullable<z.ZodString>;
489
+ linkUrl: z.ZodNullable<z.ZodString>;
490
+ linkTarget: z.ZodEnum<["_self", "_blank"]>;
491
+ wholeSlideLink: z.ZodBoolean;
492
+ buttonLabel: z.ZodNullable<z.ZodString>;
493
+ buttonStyle: z.ZodNullable<z.ZodEnum<["primary", "secondary", "outline", "ghost"]>>;
494
+ }, "strip", z.ZodTypeAny, {
495
+ id: string;
496
+ kind: "image" | "text";
497
+ imageUrl: string | null;
498
+ tag: string | null;
499
+ title: string | null;
500
+ body: string | null;
501
+ linkUrl: string | null;
502
+ linkTarget: "_self" | "_blank";
503
+ wholeSlideLink: boolean;
504
+ buttonLabel: string | null;
505
+ buttonStyle: "primary" | "secondary" | "outline" | "ghost" | null;
506
+ }, {
507
+ id: string;
508
+ kind: "image" | "text";
509
+ imageUrl: string | null;
510
+ tag: string | null;
511
+ title: string | null;
512
+ body: string | null;
513
+ linkUrl: string | null;
514
+ linkTarget: "_self" | "_blank";
515
+ wholeSlideLink: boolean;
516
+ buttonLabel: string | null;
517
+ buttonStyle: "primary" | "secondary" | "outline" | "ghost" | null;
518
+ }>;
519
+ type Slide = z.infer<typeof SlideSchema>;
520
+ declare const SlidesResponseSchema: z.ZodArray<z.ZodObject<{
521
+ id: z.ZodString;
522
+ kind: z.ZodEnum<["image", "text"]>;
523
+ imageUrl: z.ZodNullable<z.ZodString>;
524
+ tag: z.ZodNullable<z.ZodString>;
525
+ title: z.ZodNullable<z.ZodString>;
526
+ body: z.ZodNullable<z.ZodString>;
527
+ linkUrl: z.ZodNullable<z.ZodString>;
528
+ linkTarget: z.ZodEnum<["_self", "_blank"]>;
529
+ wholeSlideLink: z.ZodBoolean;
530
+ buttonLabel: z.ZodNullable<z.ZodString>;
531
+ buttonStyle: z.ZodNullable<z.ZodEnum<["primary", "secondary", "outline", "ghost"]>>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ id: string;
534
+ kind: "image" | "text";
535
+ imageUrl: string | null;
536
+ tag: string | null;
537
+ title: string | null;
538
+ body: string | null;
539
+ linkUrl: string | null;
540
+ linkTarget: "_self" | "_blank";
541
+ wholeSlideLink: boolean;
542
+ buttonLabel: string | null;
543
+ buttonStyle: "primary" | "secondary" | "outline" | "ghost" | null;
544
+ }, {
545
+ id: string;
546
+ kind: "image" | "text";
547
+ imageUrl: string | null;
548
+ tag: string | null;
549
+ title: string | null;
550
+ body: string | null;
551
+ linkUrl: string | null;
552
+ linkTarget: "_self" | "_blank";
553
+ wholeSlideLink: boolean;
554
+ buttonLabel: string | null;
555
+ buttonStyle: "primary" | "secondary" | "outline" | "ghost" | null;
556
+ }>, "many">;
557
+ type SlidesResponse = z.infer<typeof SlidesResponseSchema>;
558
+
476
559
  declare const RankDefSchema: z.ZodObject<{
477
560
  name: z.ZodString;
478
561
  order: z.ZodNumber;
@@ -2165,6 +2248,48 @@ declare namespace BuyPackageCommand {
2165
2248
  type Response = z.infer<typeof ResponseSchema>;
2166
2249
  }
2167
2250
 
2251
+ declare namespace GetSlidesCommand {
2252
+ const endpointDetails: EndpointDetails;
2253
+ const ResponseSchema: zod.ZodArray<zod.ZodObject<{
2254
+ id: zod.ZodString;
2255
+ kind: zod.ZodEnum<["image", "text"]>;
2256
+ imageUrl: zod.ZodNullable<zod.ZodString>;
2257
+ tag: zod.ZodNullable<zod.ZodString>;
2258
+ title: zod.ZodNullable<zod.ZodString>;
2259
+ body: zod.ZodNullable<zod.ZodString>;
2260
+ linkUrl: zod.ZodNullable<zod.ZodString>;
2261
+ linkTarget: zod.ZodEnum<["_self", "_blank"]>;
2262
+ wholeSlideLink: zod.ZodBoolean;
2263
+ buttonLabel: zod.ZodNullable<zod.ZodString>;
2264
+ buttonStyle: zod.ZodNullable<zod.ZodEnum<["primary", "secondary", "outline", "ghost"]>>;
2265
+ }, "strip", zod.ZodTypeAny, {
2266
+ id: string;
2267
+ kind: "image" | "text";
2268
+ imageUrl: string | null;
2269
+ tag: string | null;
2270
+ title: string | null;
2271
+ body: string | null;
2272
+ linkUrl: string | null;
2273
+ linkTarget: "_self" | "_blank";
2274
+ wholeSlideLink: boolean;
2275
+ buttonLabel: string | null;
2276
+ buttonStyle: "primary" | "secondary" | "outline" | "ghost" | null;
2277
+ }, {
2278
+ id: string;
2279
+ kind: "image" | "text";
2280
+ imageUrl: string | null;
2281
+ tag: string | null;
2282
+ title: string | null;
2283
+ body: string | null;
2284
+ linkUrl: string | null;
2285
+ linkTarget: "_self" | "_blank";
2286
+ wholeSlideLink: boolean;
2287
+ buttonLabel: string | null;
2288
+ buttonStyle: "primary" | "secondary" | "outline" | "ghost" | null;
2289
+ }>, "many">;
2290
+ type Response = SlidesResponse;
2291
+ }
2292
+
2168
2293
  declare namespace GetRanksCommand {
2169
2294
  const endpointDetails: EndpointDetails;
2170
2295
  const ResponseSchema: z.ZodObject<{
@@ -3787,6 +3912,9 @@ declare const REST_API: {
3787
3912
  readonly OVERVIEW: "/packages";
3788
3913
  readonly BUY: "/packages/:id/buy";
3789
3914
  };
3915
+ readonly CONTENT: {
3916
+ readonly SLIDES: "/content/slides";
3917
+ };
3790
3918
  readonly RANKS: {
3791
3919
  readonly LIST: "/ranks";
3792
3920
  };
@@ -3836,4 +3964,4 @@ declare const REST_API: {
3836
3964
  declare const API_PREFIX = "/api";
3837
3965
  declare const API_VERSION = "v1";
3838
3966
 
3839
- export { API_PREFIX, API_VERSION, 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, 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, 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, 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, endpoint };
3967
+ export { API_PREFIX, API_VERSION, 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, 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, endpoint };
package/dist/index.js CHANGED
@@ -158,6 +158,23 @@ var PackagesOverviewSchema = z.object({
158
158
  nextSellAt: z.string().datetime().nullable(),
159
159
  balanceUsdt: MoneyStringSchema
160
160
  });
161
+ var SlideKindSchema = z.enum(["image", "text"]);
162
+ var SlideButtonStyleSchema = z.enum(["primary", "secondary", "outline", "ghost"]);
163
+ var SlideLinkTargetSchema = z.enum(["_self", "_blank"]);
164
+ var SlideSchema = z.object({
165
+ id: z.string().uuid(),
166
+ kind: SlideKindSchema,
167
+ imageUrl: z.string().url().nullable(),
168
+ tag: z.string().nullable(),
169
+ title: z.string().nullable(),
170
+ body: z.string().nullable(),
171
+ linkUrl: z.string().url().nullable(),
172
+ linkTarget: SlideLinkTargetSchema,
173
+ wholeSlideLink: z.boolean(),
174
+ buttonLabel: z.string().nullable(),
175
+ buttonStyle: SlideButtonStyleSchema.nullable()
176
+ });
177
+ var SlidesResponseSchema = z.array(SlideSchema);
161
178
  var RankDefSchema = z.object({
162
179
  name: z.string(),
163
180
  order: z.number().int().nonnegative(),
@@ -534,6 +551,13 @@ var BuyPackageCommand;
534
551
  tokenPrice: MoneyStringSchema
535
552
  });
536
553
  })(BuyPackageCommand || (BuyPackageCommand = {}));
554
+
555
+ // src/commands/content/get-slides.command.ts
556
+ var GetSlidesCommand;
557
+ ((GetSlidesCommand2) => {
558
+ GetSlidesCommand2.endpointDetails = endpoint("GET", "/content/slides", "Active dashboard carousel slides in display order");
559
+ GetSlidesCommand2.ResponseSchema = SlidesResponseSchema;
560
+ })(GetSlidesCommand || (GetSlidesCommand = {}));
537
561
  var GetRanksCommand;
538
562
  ((GetRanksCommand2) => {
539
563
  GetRanksCommand2.endpointDetails = endpoint("GET", "/ranks", "List all rank tiers");
@@ -858,6 +882,9 @@ var REST_API = {
858
882
  OVERVIEW: "/packages",
859
883
  BUY: "/packages/:id/buy"
860
884
  },
885
+ CONTENT: {
886
+ SLIDES: "/content/slides"
887
+ },
861
888
  RANKS: {
862
889
  LIST: "/ranks"
863
890
  },
@@ -907,6 +934,6 @@ var REST_API = {
907
934
  var API_PREFIX = "/api";
908
935
  var API_VERSION = "v1";
909
936
 
910
- export { API_PREFIX, API_VERSION, 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, 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, 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, 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, endpoint };
937
+ export { API_PREFIX, API_VERSION, 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, 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, endpoint };
911
938
  //# sourceMappingURL=index.js.map
912
939
  //# sourceMappingURL=index.js.map