@idosgames/core 0.16.0 → 0.18.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.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { PlatformAdapter, KeyValueStorage } from './platform/index.js';
3
- export { BrowserPlatformAdapter, BrowserStorage, MemoryStorage, NoopPlatformAdapter, TelegramInitDataUnsafe, TelegramWebApp } from './platform/index.js';
3
+ export { BrowserPlatformAdapter, BrowserStorage, MemoryStorage, NoopPlatformAdapter, PLATFORM_ORIGINS, TelegramInitDataUnsafe, TelegramWebApp, isPlatformParentOrigin } from './platform/index.js';
4
4
  import Decimal from 'decimal.js';
5
5
 
6
6
  type EventMap = Record<string, unknown>;
@@ -205,221 +205,6 @@ declare const CloudCodeAction: {
205
205
  };
206
206
  type CloudCodeAction = (typeof CloudCodeAction)[keyof typeof CloudCodeAction];
207
207
 
208
- declare const ChatChannelType: {
209
- /** Title-wide channel: anyone passing the write gate may post. */
210
- readonly Global: "Global";
211
- /** Publisher announcements: players read only. */
212
- readonly Announcement: "Announcement";
213
- /** Group channel (clans). Membership comes from an external provider. */
214
- readonly Group: "Group";
215
- };
216
- type ChatChannelType = (typeof ChatChannelType)[keyof typeof ChatChannelType];
217
- declare const ChatPartitioning: {
218
- readonly None: "None";
219
- /** Split by the player's language. */
220
- readonly Language: "Language";
221
- /** Split by the player's country (resolved from IP by the server). */
222
- readonly Region: "Region";
223
- };
224
- type ChatPartitioning = (typeof ChatPartitioning)[keyof typeof ChatPartitioning];
225
- declare const ChatDirectAudience: {
226
- readonly Anyone: "Anyone";
227
- /** Friends only — an accepted edge in the Social graph. */
228
- readonly Friends: "Friends";
229
- };
230
- type ChatDirectAudience = (typeof ChatDirectAudience)[keyof typeof ChatDirectAudience];
231
- declare const ChatBlockedTermAction: {
232
- readonly Reject: "Reject";
233
- /** Mask the term with asterisks and let the message through. */
234
- readonly Mask: "Mask";
235
- };
236
- type ChatBlockedTermAction = (typeof ChatBlockedTermAction)[keyof typeof ChatBlockedTermAction];
237
- declare const ChatAuthorType: {
238
- readonly Player: "Player";
239
- /** The publisher: an announcement posted from the dashboard. */
240
- readonly Publisher: "Publisher";
241
- /** The system: a service message from the engine itself. */
242
- readonly System: "System";
243
- };
244
- type ChatAuthorType = (typeof ChatAuthorType)[keyof typeof ChatAuthorType];
245
- declare const ChatReportReason: {
246
- readonly Spam: "Spam";
247
- readonly Abuse: "Abuse";
248
- readonly Scam: "Scam";
249
- readonly Inappropriate: "Inappropriate";
250
- readonly Other: "Other";
251
- };
252
- type ChatReportReason = (typeof ChatReportReason)[keyof typeof ChatReportReason];
253
- type ChatChannelIdentity = { DisplayNameKey?: null | string; SortOrder?: null | number; IconPath?: null | string; JoinedByDefault?: null | boolean; [key: string]: unknown; };
254
- type ChatChannelAvailability = { Gate?: null | SegmentGate; Schedule?: null | ScheduleSpec; [key: string]: unknown; };
255
- type ChatChannelWriteRules = { Gate?: null | SegmentGate; Limits?: null | LimitSpec; MaxLength?: null | number; [key: string]: unknown; };
256
- type ChatChannelRetention = { HotTailSize?: null | number; HistoryHours?: null | number; [key: string]: unknown; };
257
- type ChatChannelPresetBindings = { Availability?: null | PresetBinding; Write?: null | PresetBinding; Retention?: null | PresetBinding; [key: string]: unknown; };
258
- type ChatChannelDefinition = { ChannelID?: null | string; Identity?: null | ChatChannelIdentity; Type?: null | 'Global' | 'Announcement' | 'Group'; GroupSource?: null | string; Partitioning?: null | 'None' | 'Language' | 'Region'; Capacity?: null | number; Availability?: null | ChatChannelAvailability; Write?: null | ChatChannelWriteRules; Retention?: null | ChatChannelRetention; Presets?: null | ChatChannelPresetBindings; [key: string]: unknown; };
259
- type DirectMessageSettings = { IsEnabled?: null | boolean; Gate?: null | SegmentGate; WhoCanMessage?: null | 'Anyone' | 'Friends'; Limits?: null | LimitSpec; MaxLength?: null | number; HistoryHours?: null | number; MaxConversations?: null | number; [key: string]: unknown; };
260
- type ChatModerationSettings = { BlockedTerms?: null | Array<string>; BlockedTermAction?: null | 'Reject' | 'Mask'; MaxIgnoreListSize?: null | number; ReportsEnabled?: null | boolean; ReportLimits?: null | LimitSpec; [key: string]: unknown; };
261
- type ChatPollingSettings = { MinIntervalSeconds?: null | number; MaxMessagesPerPoll?: null | number; MaxHistoryPageSize?: null | number; [key: string]: unknown; };
262
- type ChatPresetRegistry = { Availability?: null | Record<string, ChatChannelAvailability>; Write?: null | Record<string, ChatChannelWriteRules>; Retention?: null | Record<string, ChatChannelRetention>; [key: string]: unknown; };
263
- type ChatDefinitions = { IsEnabled?: null | boolean; Channels?: null | Record<string, ChatChannelDefinition>; Direct?: null | DirectMessageSettings; Moderation?: null | ChatModerationSettings; Polling?: null | ChatPollingSettings; Presets?: null | ChatPresetRegistry; [key: string]: unknown; };
264
- type UserChatChannelState = { LastReadAt?: null | string; LastReadMessageID?: null | string; Left?: null | boolean; [key: string]: unknown; };
265
- type UserChatLimitState = { LastAt?: null | string; DailyCount?: null | number; DailyResetUtc?: null | string; TotalCount?: null | number; LastTextHash?: null | string; [key: string]: unknown; };
266
- type UserChatState = { MutedUntil?: null | string; MuteReason?: null | string; Ignored?: null | Array<string>; Channels?: null | Record<string, UserChatChannelState>; Limits?: null | Record<string, UserChatLimitState>; ReportLimits?: null | UserChatLimitState; [key: string]: unknown; };
267
- type ChatCursor = { RoomID?: null | string; SentAt?: null | string; MessageID?: null | string; [key: string]: unknown; };
268
- type ChatMessageView = { RoomID?: null | string; ChannelID?: null | string; MessageID?: null | string; SenderUserID?: null | string; SenderProfile?: null | UserPublicDataModel; AuthorType?: null | 'Player' | 'Publisher' | 'System'; Text?: null | string; SentAt?: null | string; [key: string]: unknown; };
269
- type ChatChannelView = { ChannelID?: null | string; RoomID?: null | string; DisplayNameKey?: null | string; IconPath?: null | string; SortOrder?: null | number; Type?: null | 'Global' | 'Announcement' | 'Group'; CanWrite?: null | boolean; WriteBlockedReason?: null | string; SlowModeSeconds?: null | number; MaxLength?: null | number; UnreadCount?: null | number; LastReadAt?: null | string; [key: string]: unknown; };
270
- type ChatChannelsResponse = { Channels?: null | Array<ChatChannelView>; PollIntervalSeconds?: null | number; MutedUntil?: null | string; MuteReason?: null | string; [key: string]: unknown; };
271
- type ChatRoomUpdate = { RoomID?: null | string; Messages?: null | Array<ChatMessageView>; NextCursor?: null | ChatCursor; UnreadCount?: null | number; ServedFromDatabase?: null | boolean; [key: string]: unknown; };
272
- type ChatPollResponse = { Rooms?: null | Array<ChatRoomUpdate>; PollIntervalSeconds?: null | number; [key: string]: unknown; };
273
- type ChatHistoryResponse = { RoomID?: null | string; Messages?: null | Array<ChatMessageView>; NextBefore?: null | ChatCursor; [key: string]: unknown; };
274
- type ChatSendResponse = { Message?: null | ChatMessageView; Moderated?: null | boolean; [key: string]: unknown; };
275
- type ChatDirectChannelResponse = { RoomID?: null | string; PeerUserID?: null | string; PeerProfile?: null | UserPublicDataModel; MaxLength?: null | number; [key: string]: unknown; };
276
- type ChatConversationView = { RoomID?: null | string; PeerUserID?: null | string; PeerProfile?: null | UserPublicDataModel; LastMessage?: null | ChatMessageView; UnreadCount?: null | number; LastReadAt?: null | string; [key: string]: unknown; };
277
- type ChatConversationsResponse = { Conversations?: null | Array<ChatConversationView>; [key: string]: unknown; };
278
- type ChatStateResponse = { Ignored?: null | Array<string>; Cursor?: null | ChatCursor; Joined?: null | boolean; [key: string]: unknown; };
279
- type ChatReportResponse = { ReportID?: null | string; AlreadyReported?: null | boolean; [key: string]: unknown; };
280
- interface ChatRequest extends BaseRequest {
281
- ChannelID?: string;
282
- /** Full room address — used for direct conversations and already-opened rooms. */
283
- RoomID?: string;
284
- TargetUserID?: string;
285
- Text?: string;
286
- /**
287
- * Client locale, needed by language-partitioned channels. It is validated against the
288
- * title's configured locales server-side, so it can never invent a room.
289
- */
290
- Locale?: string;
291
- Cursors?: ChatCursor[];
292
- Before?: ChatCursor;
293
- Limit?: number;
294
- MessageID?: string;
295
- Reason?: ChatReportReason;
296
- Comment?: string;
297
- }
298
- declare const ChatAction: {
299
- readonly GetChatDefinitions: "GetChatDefinitions";
300
- readonly GetChannels: "GetChannels";
301
- readonly Poll: "Poll";
302
- readonly GetHistory: "GetHistory";
303
- readonly GetConversations: "GetConversations";
304
- readonly SendMessage: "SendMessage";
305
- readonly OpenDirectChannel: "OpenDirectChannel";
306
- readonly MarkRead: "MarkRead";
307
- readonly JoinChannel: "JoinChannel";
308
- readonly LeaveChannel: "LeaveChannel";
309
- readonly ReportMessage: "ReportMessage";
310
- readonly IgnoreUser: "IgnoreUser";
311
- readonly UnignoreUser: "UnignoreUser";
312
- };
313
- type ChatAction = (typeof ChatAction)[keyof typeof ChatAction];
314
-
315
- /** How a notification reaches the device. */
316
- declare const PushTransport: {
317
- /** Browser Web Push (RFC 8291). The only one a web build ever uses. */
318
- readonly WebPush: "WebPush";
319
- /** Firebase Cloud Messaging — native Android builds. */
320
- readonly Fcm: "Fcm";
321
- /** Apple Push Notification service — native iOS builds. */
322
- readonly Apns: "Apns";
323
- };
324
- type PushTransport = (typeof PushTransport)[keyof typeof PushTransport];
325
- /**
326
- * Topic names. ⚠ A CROSS-REPOSITORY CONTRACT: one side writes the row, another queries by it.
327
- * These strings are not labels — do not invent new ones on the client.
328
- */
329
- declare const PushTopic: {
330
- /** Game events of this title. What a player subscribes for. */
331
- readonly Player: "player";
332
- /** "Follow this game" from the public site. */
333
- readonly Title: "title";
334
- /** Creator-portal events. */
335
- readonly Creator: "creator";
336
- };
337
- type PushTopic = (typeof PushTopic)[keyof typeof PushTopic];
338
- declare const PushAction: {
339
- readonly GetPushConfig: "GetPushConfig";
340
- readonly SubscribePush: "SubscribePush";
341
- readonly UnsubscribePush: "UnsubscribePush";
342
- readonly GetPushSubscriptions: "GetPushSubscriptions";
343
- };
344
- type PushAction = (typeof PushAction)[keyof typeof PushAction];
345
- interface PushRequest extends BaseRequest {
346
- /** Push-service URL from `PushSubscription.endpoint`. */
347
- PushEndpoint?: string;
348
- /** `keys.p256dh` — 65 bytes, base64url. */
349
- PushP256dh?: string;
350
- /** `keys.auth` — 16 bytes, base64url. */
351
- PushAuth?: string;
352
- /**
353
- * Server-issued id of a device row, for when the endpoint itself is no longer at hand
354
- * (unsubscribing from a list of "my devices").
355
- */
356
- PushEndpointHash?: string;
357
- /**
358
- * The device's language.
359
- *
360
- * ⚠ Captured HERE and refreshed on every subscribe, because the server stores no locale for a
361
- * player anywhere. A push reaches someone who is not in the game — there is nobody to ask.
362
- */
363
- PushLocale?: string;
364
- /**
365
- * Minutes the device is offset from UTC (Moscow = 180).
366
- *
367
- * ⚠ Separate from the locale on purpose: a language says nothing about a timezone (Portuguese
368
- * is spoken in Lisbon and in São Paulo). Without it the publisher's quiet hours would have to
369
- * be computed in server time, i.e. would wake half the audience. Send
370
- * `-new Date().getTimezoneOffset()` — the browser reports "minutes to subtract", not the offset.
371
- */
372
- PushTimezoneOffsetMinutes?: number;
373
- /** Native builds only: the FCM/APNs device token. */
374
- PushDeviceToken?: string;
375
- /** `WebPush` (default), `Fcm` or `Apns`. */
376
- PushTransport?: PushTransport;
377
- }
378
- type PushConfigResponse = z.output<typeof zPushConfigResponse>;
379
- type PushTopicView = z.output<typeof zPushTopicView>;
380
- type PushSubscriptionView = z.output<typeof zPushSubscriptionView>;
381
- type PushSubscriptionListResponse = z.output<typeof zPushSubscriptionListResponse>;
382
- /**
383
- * What the UI needs to decide what to draw. Everything except `subscribed` means "no button", but
384
- * for different reasons — and a couple of them are worth saying out loud to the player.
385
- */
386
- declare const PushPermissionState: {
387
- /** Not configured, or the browser has no Push API (any iOS browser before 16.4, for one). */
388
- readonly Unsupported: "unsupported";
389
- /** Available, nobody has been asked yet. This is the only state where a button makes sense. */
390
- readonly Idle: "idle";
391
- /** This browser is subscribed and the server knows about it. */
392
- readonly Subscribed: "subscribed";
393
- /**
394
- * The person said no — or Chrome said it for them after a few dismissals.
395
- *
396
- * ⚠ IRREVERSIBLE from code. Asking again does nothing; only the browser's own site settings can
397
- * undo it. That is exactly why the first prompt must follow a deliberate tap and never a page
398
- * load.
399
- */
400
- readonly Blocked: "blocked";
401
- /**
402
- * The game is running inside the portal's cross-origin iframe, where the permission prompt is
403
- * blocked by the browser. Not an error and not something to retry: on that page the SITE owns
404
- * the subscription, and the engine still does the sending.
405
- */
406
- readonly Embedded: "embedded";
407
- };
408
- type PushPermissionState = (typeof PushPermissionState)[keyof typeof PushPermissionState];
409
- /** Where a successful {@link PushService.subscribe} actually created the subscription. */
410
- interface PushSubscribeResult {
411
- /**
412
- * `"game"` — this origin subscribed itself, and `Subscription` describes the row.
413
- *
414
- * `"portal"` — the game is embedded on idosgames.com and the WEBSITE subscribed on the
415
- * player's behalf, on its own top-level document. `Subscription` is `null` there: the row
416
- * belongs to the site's origin and the game never sees its keys. The engine still does the
417
- * sending, and the player's game id reaches the row on their next platform sign-in.
418
- */
419
- Where: "game" | "portal";
420
- Subscription: PushSubscriptionView | null;
421
- }
422
-
423
208
  interface EventTokenBalanceData {
424
209
  Current: number;
425
210
  TotalEarned: number;
@@ -654,7 +439,7 @@ type PresetBinding = { PresetID?: null | string; Remove?: null | Array<string>;
654
439
  type SeasonTierRewardBundle = { SeasonChainID?: null | string; MinSeasonTier?: null | number; Rewards?: null | ResourceGrant; [key: string]: unknown; };
655
440
  type SeasonTierRewardMultiplier = { SeasonChainID?: null | string; MinSeasonTier?: null | number; Multiplier?: null | number; [key: string]: unknown; };
656
441
  type SeasonTierRewardSet = { Bundles?: null | Array<SeasonTierRewardBundle>; Multipliers?: null | Array<SeasonTierRewardMultiplier>; [key: string]: unknown; };
657
- type RewardProgressionMultiplierSpec = { Source?: null | 'BoardRank' | 'BoardStageLevel' | 'BoardCyclesCompleted' | 'CharacterLevel' | 'SeasonTier' | 'EventTokenTotalEarned' | 'VirtualCurrencyBalance' | 'PlayerLevel'; SourceKey?: null | string; Curve?: null | ScalarCurveSpec; Anchor?: null | number; IncludeRewards?: null | ResourceBundle; ExcludeRewards?: null | ResourceBundle; [key: string]: unknown; };
442
+ type RewardProgressionMultiplierSpec = { Source?: null | 'BoardStageLevel' | 'BoardRank' | 'BoardCyclesCompleted' | 'CharacterLevel' | 'SeasonTier' | 'EventTokenTotalEarned' | 'VirtualCurrencyBalance' | 'PlayerLevel'; SourceKey?: null | string; Curve?: null | ScalarCurveSpec; Anchor?: null | number; IncludeRewards?: null | ResourceBundle; ExcludeRewards?: null | ResourceBundle; [key: string]: unknown; };
658
443
  type MilestoneDefinition = { MilestoneID?: null | string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; RequiredProgress?: null | number; Rewards?: null | ResourceGrant; BonusRewards?: null | ResourceGrant; SeasonTierRewards?: null | SeasonTierRewardSet; SortOrder?: null | number; IsFeatured?: null | boolean; [key: string]: unknown; };
659
444
  /**
660
445
  * Thin wrapper for a reusable milestone set (port of Core/Milestone/Models/MilestoneSet.cs,
@@ -2130,7 +1915,7 @@ declare const PlatformFriendsMode: {
2130
1915
  readonly PlatformOnly: "PlatformOnly";
2131
1916
  };
2132
1917
  type PlatformFriendsMode = (typeof PlatformFriendsMode)[keyof typeof PlatformFriendsMode];
2133
- type PlatformBridgeDefinitions = { Profile?: null | 'Always' | 'Off' | 'Default'; Friends?: null | 'TitleOnly' | 'TitleAndPlatform' | 'PlatformOnly'; AllowShowTitlesPlayed?: null | boolean; AllowShowWorkshopWorks?: null | boolean; [key: string]: unknown; };
1918
+ type PlatformBridgeDefinitions = { Profile?: null | 'Always' | 'Off' | 'Default'; Friends?: null | 'TitleOnly' | 'TitleAndPlatform' | 'PlatformOnly'; [key: string]: unknown; };
2134
1919
  /** Cursor of a social list page, exactly as the previous page returned it. */
2135
1920
  interface SocialCursor {
2136
1921
  at?: string | null;
@@ -2257,7 +2042,7 @@ declare const CustomDataWriter: {
2257
2042
  readonly System: "System";
2258
2043
  };
2259
2044
  type CustomDataWriter = (typeof CustomDataWriter)[keyof typeof CustomDataWriter];
2260
- type UserCustomDataRecord = { Value?: null | string; UpdatedAt?: null | string; Version?: null | number; LastWriter?: null | 'System' | 'Client' | 'Server'; ExpiresAt?: null | string; [key: string]: unknown; };
2045
+ type UserCustomDataRecord = { Value?: null | string; UpdatedAt?: null | string; Version?: null | number; LastWriter?: null | 'Client' | 'Server' | 'System'; ExpiresAt?: null | string; [key: string]: unknown; };
2261
2046
  interface UserCustomDataState {
2262
2047
  Version?: number;
2263
2048
  Private?: Record<string, UserCustomDataRecord>;
@@ -3223,7 +3008,34 @@ type PlatformBlockchainState = { Ios?: null | boolean; Android?: null | boolean;
3223
3008
  type BlockchainNetworkDefinition = { NetworkID?: null | string; DisplayName?: null | string; Type?: null | 'EVM' | 'Solana'; ChainID?: null | number; ChainTicker?: null | string; RewardPoolAddress?: null | string; VaultDepositAddress?: null | string; ChainConfigVersion?: null | number; RequiredConfirmations?: null | number; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | PlatformBlockchainState; NftCollections?: null | Array<BlockchainNftCollectionBinding>; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
3224
3009
  type BlockchainSystemState = { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | PlatformBlockchainState; [key: string]: unknown; };
3225
3010
  type BlockchainAccountSafetyPolicy = { MinAccountAgeDays?: null | number; MultiAccountCheckEnabled?: null | boolean; BanOnSharedWithdrawalAddress?: null | boolean; PendingWithdrawalTtlHours?: null | number; [key: string]: unknown; };
3226
- type BlockchainDefinitions = { SystemState?: null | BlockchainSystemState; Networks?: null | Record<string, BlockchainNetworkDefinition>; AccountSafety?: null | BlockchainAccountSafetyPolicy; WalletLogin?: null | { Enabled?: null | boolean; TokenGates?: null | Array<{ Enabled?: null | boolean; NetworkID?: null | string; CurrencyID?: null | string; MinBalance?: null | string; BalanceSource?: null | 'OnChain' | 'Combined'; DenyMessage?: null | string; [key: string]: unknown; }>; WalletConnectProjectId?: null | string; [key: string]: unknown; }; [key: string]: unknown; };
3011
+ /** enum WalletGateBalanceSource — where the token gate reads the balance from. */
3012
+ declare const WalletGateBalanceSource: {
3013
+ /** On-chain wallet balance only (RPC). */
3014
+ readonly OnChain: "OnChain";
3015
+ /** On-chain + in-game available balance (InventoryV2.CryptoCurrencies[CurrencyID].Amount, excl. Frozen). */
3016
+ readonly Combined: "Combined";
3017
+ /** In-game available balance only — no wallet, no RPC; NetworkID is ignored. */
3018
+ readonly InGame: "InGame";
3019
+ };
3020
+ type WalletGateBalanceSource = (typeof WalletGateBalanceSource)[keyof typeof WalletGateBalanceSource];
3021
+ type WalletPlayTokenGate = { Enabled?: null | boolean; NetworkID?: null | string; CurrencyID?: null | string; MinBalance?: null | string; BalanceSource?: null | 'OnChain' | 'Combined' | 'InGame'; DenyMessage?: null | string; [key: string]: unknown; };
3022
+ /**
3023
+ * The title's login mode (`cfg.Blockchain.PlayAccess`):
3024
+ * - `Open` — any login method, guests included; no balance check (the default).
3025
+ * - `AnyWithLinkedWallet` — any method except guest; playing requires a wallet linked by signature
3026
+ * that meets the token requirements.
3027
+ * - `WalletOnly` — wallet login only; that wallet must meet the requirements.
3028
+ *
3029
+ * The balance is re-checked on every session ticket issue (login, refresh) — see `PlayAccessStatus`.
3030
+ */
3031
+ declare const PlayAccessMode: {
3032
+ readonly Open: "Open";
3033
+ readonly AnyWithLinkedWallet: "AnyWithLinkedWallet";
3034
+ readonly WalletOnly: "WalletOnly";
3035
+ };
3036
+ type PlayAccessMode = (typeof PlayAccessMode)[keyof typeof PlayAccessMode];
3037
+ type BlockchainPlayAccessPolicy = { Mode?: null | 'Open' | 'AnyWithLinkedWallet' | 'WalletOnly'; TokenGates?: null | Array<WalletPlayTokenGate>; [key: string]: unknown; };
3038
+ type BlockchainDefinitions = { SystemState?: null | BlockchainSystemState; Networks?: null | Record<string, BlockchainNetworkDefinition>; AccountSafety?: null | BlockchainAccountSafetyPolicy; WalletLogin?: null | { Enabled?: null | boolean; WalletConnectProjectId?: null | string; [key: string]: unknown; }; PlayAccess?: null | BlockchainPlayAccessPolicy; [key: string]: unknown; };
3227
3039
  type LinkedWalletInfo = { NetworkID?: null | string; Address?: null | string; LinkedAt?: null | string; LastUsedAt?: null | string; LinkType?: null | 'AutoLinkedFromTransaction' | 'SignatureVerified' | 'ManuallyLinked'; IsSignatureVerified?: null | boolean; [key: string]: unknown; };
3228
3040
  type PendingWithdrawalRef = { TitleTransactionID?: null | string; Type?: null | 'Token' | 'Nft'; NetworkID?: null | string; AssetID?: null | string; Amount?: null | string; CreatedAt?: null | string; ExpiresAt?: null | string; [key: string]: unknown; };
3229
3041
  type UserKycState = { Status?: null | 'Expired' | 'Pending' | 'Rejected' | 'NotRequested' | 'Verified'; Tier?: null | 'None' | 'Tier1' | 'Tier2' | 'Tier3'; VerifiedAt?: null | string; ExpiresAt?: null | string; RejectedAt?: null | string; ProviderReference?: null | string; RejectionReason?: null | string; [key: string]: unknown; };
@@ -3232,7 +3044,12 @@ type TokenStatsContainer = { TotalDeposits?: null | number; TotalWithdrawals?: n
3232
3044
  type NftCollectionStats = { NetworkID?: null | string; ItemCatalogID?: null | string; Deposits?: null | number; Withdrawals?: null | number; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; [key: string]: unknown; };
3233
3045
  type NftStatsContainer = { TotalDeposits?: null | number; TotalWithdrawals?: null | number; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; PerCollection?: null | Record<string, NftCollectionStats>; [key: string]: unknown; };
3234
3046
  type BlockchainStats = { Tokens?: null | TokenStatsContainer; Nfts?: null | NftStatsContainer; [key: string]: unknown; };
3235
- type UserBlockchainState = { Version?: null | number; Stats?: null | BlockchainStats; LinkedWallets?: null | Record<string, LinkedWalletInfo>; LastWalletLogin?: null | { NetworkID?: null | string; Address?: null | string; CheckedAt?: null | string; LoggedInAt?: null | string; GatePassed?: null | boolean; GatedBalances?: null | Array<{ CurrencyID?: null | string; Balance?: null | string; MinBalance?: null | string; [key: string]: unknown; }>; [key: string]: unknown; }; PendingWithdrawals?: null | Array<PendingWithdrawalRef>; Kyc?: null | UserKycState; FirstActivityAt?: null | string; LastActivityAt?: null | string; IsFlagged?: null | boolean; FlagReason?: null | string; [key: string]: unknown; };
3047
+ type WalletGatedBalance = { CurrencyID?: null | string; Balance?: null | string; MinBalance?: null | string; [key: string]: unknown; };
3048
+ type PlayAccessStatus = { Granted: boolean; Mode?: null | 'Open' | 'AnyWithLinkedWallet' | 'WalletOnly'; Error?: null | string; WalletRequired?: null | boolean; NetworkID?: null | string; Address?: null | string; GrantedUntil?: null | string; Balances?: null | Array<WalletGatedBalance>; [key: string]: unknown; };
3049
+ type PlayAccessState = { NetworkID?: null | string; Address?: null | string; CheckedAt?: null | string; Passed?: null | boolean; GrantedUntil?: null | string; Error?: null | string; Balances?: null | Array<WalletGatedBalance>; [key: string]: unknown; };
3050
+ type PlayAccessWallet = { NetworkID?: null | string; Address?: null | string; [key: string]: unknown; };
3051
+ type PlayAccessInfoResponse = { Mode?: null | 'Open' | 'AnyWithLinkedWallet' | 'WalletOnly'; TokenGates?: null | Array<WalletPlayTokenGate>; WalletLoginEnabled?: null | boolean; LinkedWallets?: null | Array<PlayAccessWallet>; Status?: null | PlayAccessStatus; [key: string]: unknown; };
3052
+ type UserBlockchainState = { Version?: null | number; Stats?: null | BlockchainStats; LinkedWallets?: null | Record<string, LinkedWalletInfo>; LastWalletLogin?: null | { NetworkID?: null | string; Address?: null | string; CheckedAt?: null | string; LoggedInAt?: null | string; GatePassed?: null | boolean; GatedBalances?: null | Array<WalletGatedBalance>; [key: string]: unknown; }; PlayAccess?: null | PlayAccessState; PendingWithdrawals?: null | Array<PendingWithdrawalRef>; Kyc?: null | UserKycState; FirstActivityAt?: null | string; LastActivityAt?: null | string; IsFlagged?: null | boolean; FlagReason?: null | string; [key: string]: unknown; };
3236
3053
  type TokenTransactionDocument = { ID?: null | string; TitleID?: null | string; CreatedAt?: null | string; UpdatedAt?: null | string; UserID?: null | string; TransactionHash?: null | string; Nonce?: null | string; NetworkID?: null | string; ChainType?: null | string; ChainID?: null | number; Direction?: null | 'UsersCryptoWallet' | 'Game'; From?: null | string; To?: null | string; Amount?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; SignatureData?: null | string; CompletedAt?: null | string; ExpiresAt?: null | string; FailReason?: null | string; Reason?: null | string; Category?: null | string; TokenID?: null | string; CurrencyID?: null | string; AmountUsd?: null | string; NetPayoutAmount?: null | string; [key: string]: unknown; };
3237
3054
  type NFTTransactionDocument = { ID?: null | string; TitleID?: null | string; CreatedAt?: null | string; UpdatedAt?: null | string; UserID?: null | string; TransactionHash?: null | string; Nonce?: null | string; NetworkID?: null | string; ChainType?: null | string; ChainID?: null | number; Direction?: null | 'UsersCryptoWallet' | 'Game'; From?: null | string; To?: null | string; Amount?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; SignatureData?: null | string; CompletedAt?: null | string; ExpiresAt?: null | string; FailReason?: null | string; Reason?: null | string; Category?: null | string; NFTID?: null | string; ItemID?: null | string; CatalogID?: null | string; SkinID?: null | string; [key: string]: unknown; };
3238
3055
  type WithdrawalSplit = { To?: null | string; Amount?: null | string | number; [key: string]: unknown; };
@@ -3289,9 +3106,228 @@ declare const BlockchainAction: {
3289
3106
  readonly ConfirmWithdrawal: "ConfirmWithdrawal";
3290
3107
  readonly DonateToDeveloper: "DonateToDeveloper";
3291
3108
  readonly DonateToUsersPool: "DonateToUsersPool";
3109
+ /** Play-access screen data: mode, requirements, linked wallets, last check. No blockchain call. */
3110
+ readonly GetPlayAccess: "GetPlayAccess";
3111
+ /** Choose a signature-linked wallet (`NetworkID`; empty = keep) and check the balance now. */
3112
+ readonly ConfirmPlayAccess: "ConfirmPlayAccess";
3292
3113
  };
3293
3114
  type BlockchainAction = (typeof BlockchainAction)[keyof typeof BlockchainAction];
3294
3115
 
3116
+ declare const ChatChannelType: {
3117
+ /** Title-wide channel: anyone passing the write gate may post. */
3118
+ readonly Global: "Global";
3119
+ /** Publisher announcements: players read only. */
3120
+ readonly Announcement: "Announcement";
3121
+ /** Group channel (clans). Membership comes from an external provider. */
3122
+ readonly Group: "Group";
3123
+ };
3124
+ type ChatChannelType = (typeof ChatChannelType)[keyof typeof ChatChannelType];
3125
+ declare const ChatPartitioning: {
3126
+ readonly None: "None";
3127
+ /** Split by the player's language. */
3128
+ readonly Language: "Language";
3129
+ /** Split by the player's country (resolved from IP by the server). */
3130
+ readonly Region: "Region";
3131
+ };
3132
+ type ChatPartitioning = (typeof ChatPartitioning)[keyof typeof ChatPartitioning];
3133
+ declare const ChatDirectAudience: {
3134
+ readonly Anyone: "Anyone";
3135
+ /** Friends only — an accepted edge in the Social graph. */
3136
+ readonly Friends: "Friends";
3137
+ };
3138
+ type ChatDirectAudience = (typeof ChatDirectAudience)[keyof typeof ChatDirectAudience];
3139
+ declare const ChatBlockedTermAction: {
3140
+ readonly Reject: "Reject";
3141
+ /** Mask the term with asterisks and let the message through. */
3142
+ readonly Mask: "Mask";
3143
+ };
3144
+ type ChatBlockedTermAction = (typeof ChatBlockedTermAction)[keyof typeof ChatBlockedTermAction];
3145
+ declare const ChatAuthorType: {
3146
+ readonly Player: "Player";
3147
+ /** The publisher: an announcement posted from the dashboard. */
3148
+ readonly Publisher: "Publisher";
3149
+ /** The system: a service message from the engine itself. */
3150
+ readonly System: "System";
3151
+ };
3152
+ type ChatAuthorType = (typeof ChatAuthorType)[keyof typeof ChatAuthorType];
3153
+ declare const ChatReportReason: {
3154
+ readonly Spam: "Spam";
3155
+ readonly Abuse: "Abuse";
3156
+ readonly Scam: "Scam";
3157
+ readonly Inappropriate: "Inappropriate";
3158
+ readonly Other: "Other";
3159
+ };
3160
+ type ChatReportReason = (typeof ChatReportReason)[keyof typeof ChatReportReason];
3161
+ type ChatChannelIdentity = { DisplayNameKey?: null | string; SortOrder?: null | number; IconPath?: null | string; JoinedByDefault?: null | boolean; [key: string]: unknown; };
3162
+ type ChatChannelAvailability = { Gate?: null | SegmentGate; Schedule?: null | ScheduleSpec; [key: string]: unknown; };
3163
+ type ChatChannelWriteRules = { Gate?: null | SegmentGate; Limits?: null | LimitSpec; MaxLength?: null | number; [key: string]: unknown; };
3164
+ type ChatChannelRetention = { HotTailSize?: null | number; HistoryHours?: null | number; [key: string]: unknown; };
3165
+ type ChatChannelPresetBindings = { Availability?: null | PresetBinding; Write?: null | PresetBinding; Retention?: null | PresetBinding; [key: string]: unknown; };
3166
+ type ChatChannelDefinition = { ChannelID?: null | string; Identity?: null | ChatChannelIdentity; Type?: null | 'Group' | 'Global' | 'Announcement'; GroupSource?: null | string; Partitioning?: null | 'None' | 'Language' | 'Region'; Capacity?: null | number; Availability?: null | ChatChannelAvailability; Write?: null | ChatChannelWriteRules; Retention?: null | ChatChannelRetention; Presets?: null | ChatChannelPresetBindings; [key: string]: unknown; };
3167
+ type DirectMessageSettings = { IsEnabled?: null | boolean; Gate?: null | SegmentGate; WhoCanMessage?: null | 'Friends' | 'Anyone'; Limits?: null | LimitSpec; MaxLength?: null | number; HistoryHours?: null | number; MaxConversations?: null | number; [key: string]: unknown; };
3168
+ type ChatModerationSettings = { BlockedTerms?: null | Array<string>; BlockedTermAction?: null | 'Reject' | 'Mask'; MaxIgnoreListSize?: null | number; ReportsEnabled?: null | boolean; ReportLimits?: null | LimitSpec; [key: string]: unknown; };
3169
+ type ChatPollingSettings = { MinIntervalSeconds?: null | number; MaxMessagesPerPoll?: null | number; MaxHistoryPageSize?: null | number; [key: string]: unknown; };
3170
+ type ChatPresetRegistry = { Availability?: null | Record<string, ChatChannelAvailability>; Write?: null | Record<string, ChatChannelWriteRules>; Retention?: null | Record<string, ChatChannelRetention>; [key: string]: unknown; };
3171
+ type ChatDefinitions = { IsEnabled?: null | boolean; Channels?: null | Record<string, ChatChannelDefinition>; Direct?: null | DirectMessageSettings; Moderation?: null | ChatModerationSettings; Polling?: null | ChatPollingSettings; Presets?: null | ChatPresetRegistry; [key: string]: unknown; };
3172
+ type UserChatChannelState = { LastReadAt?: null | string; LastReadMessageID?: null | string; Left?: null | boolean; [key: string]: unknown; };
3173
+ type UserChatLimitState = { LastAt?: null | string; DailyCount?: null | number; DailyResetUtc?: null | string; TotalCount?: null | number; LastTextHash?: null | string; [key: string]: unknown; };
3174
+ type UserChatState = { MutedUntil?: null | string; MuteReason?: null | string; Ignored?: null | Array<string>; Channels?: null | Record<string, UserChatChannelState>; Limits?: null | Record<string, UserChatLimitState>; ReportLimits?: null | UserChatLimitState; [key: string]: unknown; };
3175
+ type ChatCursor = { RoomID?: null | string; SentAt?: null | string; MessageID?: null | string; [key: string]: unknown; };
3176
+ type ChatMessageView = { RoomID?: null | string; ChannelID?: null | string; MessageID?: null | string; SenderUserID?: null | string; SenderProfile?: null | UserPublicDataModel; AuthorType?: null | 'System' | 'Player' | 'Publisher'; Text?: null | string; SentAt?: null | string; [key: string]: unknown; };
3177
+ type ChatChannelView = { ChannelID?: null | string; RoomID?: null | string; DisplayNameKey?: null | string; IconPath?: null | string; SortOrder?: null | number; Type?: null | 'Group' | 'Global' | 'Announcement'; CanWrite?: null | boolean; WriteBlockedReason?: null | string; SlowModeSeconds?: null | number; MaxLength?: null | number; UnreadCount?: null | number; LastReadAt?: null | string; [key: string]: unknown; };
3178
+ type ChatChannelsResponse = { Channels?: null | Array<ChatChannelView>; PollIntervalSeconds?: null | number; MutedUntil?: null | string; MuteReason?: null | string; [key: string]: unknown; };
3179
+ type ChatRoomUpdate = { RoomID?: null | string; Messages?: null | Array<ChatMessageView>; NextCursor?: null | ChatCursor; UnreadCount?: null | number; ServedFromDatabase?: null | boolean; [key: string]: unknown; };
3180
+ type ChatPollResponse = { Rooms?: null | Array<ChatRoomUpdate>; PollIntervalSeconds?: null | number; [key: string]: unknown; };
3181
+ type ChatHistoryResponse = { RoomID?: null | string; Messages?: null | Array<ChatMessageView>; NextBefore?: null | ChatCursor; [key: string]: unknown; };
3182
+ type ChatSendResponse = { Message?: null | ChatMessageView; Moderated?: null | boolean; [key: string]: unknown; };
3183
+ type ChatDirectChannelResponse = { RoomID?: null | string; PeerUserID?: null | string; PeerProfile?: null | UserPublicDataModel; MaxLength?: null | number; [key: string]: unknown; };
3184
+ type ChatConversationView = { RoomID?: null | string; PeerUserID?: null | string; PeerProfile?: null | UserPublicDataModel; LastMessage?: null | ChatMessageView; UnreadCount?: null | number; LastReadAt?: null | string; [key: string]: unknown; };
3185
+ type ChatConversationsResponse = { Conversations?: null | Array<ChatConversationView>; [key: string]: unknown; };
3186
+ type ChatStateResponse = { Ignored?: null | Array<string>; Cursor?: null | ChatCursor; Joined?: null | boolean; [key: string]: unknown; };
3187
+ type ChatReportResponse = { ReportID?: null | string; AlreadyReported?: null | boolean; [key: string]: unknown; };
3188
+ interface ChatRequest extends BaseRequest {
3189
+ ChannelID?: string;
3190
+ /** Full room address — used for direct conversations and already-opened rooms. */
3191
+ RoomID?: string;
3192
+ TargetUserID?: string;
3193
+ Text?: string;
3194
+ /**
3195
+ * Client locale, needed by language-partitioned channels. It is validated against the
3196
+ * title's configured locales server-side, so it can never invent a room.
3197
+ */
3198
+ Locale?: string;
3199
+ Cursors?: ChatCursor[];
3200
+ Before?: ChatCursor;
3201
+ Limit?: number;
3202
+ MessageID?: string;
3203
+ Reason?: ChatReportReason;
3204
+ Comment?: string;
3205
+ }
3206
+ declare const ChatAction: {
3207
+ readonly GetChatDefinitions: "GetChatDefinitions";
3208
+ readonly GetChannels: "GetChannels";
3209
+ readonly Poll: "Poll";
3210
+ readonly GetHistory: "GetHistory";
3211
+ readonly GetConversations: "GetConversations";
3212
+ readonly SendMessage: "SendMessage";
3213
+ readonly OpenDirectChannel: "OpenDirectChannel";
3214
+ readonly MarkRead: "MarkRead";
3215
+ readonly JoinChannel: "JoinChannel";
3216
+ readonly LeaveChannel: "LeaveChannel";
3217
+ readonly ReportMessage: "ReportMessage";
3218
+ readonly IgnoreUser: "IgnoreUser";
3219
+ readonly UnignoreUser: "UnignoreUser";
3220
+ };
3221
+ type ChatAction = (typeof ChatAction)[keyof typeof ChatAction];
3222
+
3223
+ /** How a notification reaches the device. */
3224
+ declare const PushTransport: {
3225
+ /** Browser Web Push (RFC 8291). The only one a web build ever uses. */
3226
+ readonly WebPush: "WebPush";
3227
+ /** Firebase Cloud Messaging — native Android builds. */
3228
+ readonly Fcm: "Fcm";
3229
+ /** Apple Push Notification service — native iOS builds. */
3230
+ readonly Apns: "Apns";
3231
+ };
3232
+ type PushTransport = (typeof PushTransport)[keyof typeof PushTransport];
3233
+ /**
3234
+ * Topic names. ⚠ A CROSS-REPOSITORY CONTRACT: one side writes the row, another queries by it.
3235
+ * These strings are not labels — do not invent new ones on the client.
3236
+ */
3237
+ declare const PushTopic: {
3238
+ /** Game events of this title. What a player subscribes for. */
3239
+ readonly Player: "player";
3240
+ /** "Follow this game" from the public site. */
3241
+ readonly Title: "title";
3242
+ /** Creator-portal events. */
3243
+ readonly Creator: "creator";
3244
+ };
3245
+ type PushTopic = (typeof PushTopic)[keyof typeof PushTopic];
3246
+ declare const PushAction: {
3247
+ readonly GetPushConfig: "GetPushConfig";
3248
+ readonly SubscribePush: "SubscribePush";
3249
+ readonly UnsubscribePush: "UnsubscribePush";
3250
+ readonly GetPushSubscriptions: "GetPushSubscriptions";
3251
+ };
3252
+ type PushAction = (typeof PushAction)[keyof typeof PushAction];
3253
+ interface PushRequest extends BaseRequest {
3254
+ /** Push-service URL from `PushSubscription.endpoint`. */
3255
+ PushEndpoint?: string;
3256
+ /** `keys.p256dh` — 65 bytes, base64url. */
3257
+ PushP256dh?: string;
3258
+ /** `keys.auth` — 16 bytes, base64url. */
3259
+ PushAuth?: string;
3260
+ /**
3261
+ * Server-issued id of a device row, for when the endpoint itself is no longer at hand
3262
+ * (unsubscribing from a list of "my devices").
3263
+ */
3264
+ PushEndpointHash?: string;
3265
+ /**
3266
+ * The device's language.
3267
+ *
3268
+ * ⚠ Captured HERE and refreshed on every subscribe, because the server stores no locale for a
3269
+ * player anywhere. A push reaches someone who is not in the game — there is nobody to ask.
3270
+ */
3271
+ PushLocale?: string;
3272
+ /**
3273
+ * Minutes the device is offset from UTC (Moscow = 180).
3274
+ *
3275
+ * ⚠ Separate from the locale on purpose: a language says nothing about a timezone (Portuguese
3276
+ * is spoken in Lisbon and in São Paulo). Without it the publisher's quiet hours would have to
3277
+ * be computed in server time, i.e. would wake half the audience. Send
3278
+ * `-new Date().getTimezoneOffset()` — the browser reports "minutes to subtract", not the offset.
3279
+ */
3280
+ PushTimezoneOffsetMinutes?: number;
3281
+ /** Native builds only: the FCM/APNs device token. */
3282
+ PushDeviceToken?: string;
3283
+ /** `WebPush` (default), `Fcm` or `Apns`. */
3284
+ PushTransport?: PushTransport;
3285
+ }
3286
+ type PushConfigResponse = z.output<typeof zPushConfigResponse>;
3287
+ type PushTopicView = z.output<typeof zPushTopicView>;
3288
+ type PushSubscriptionView = z.output<typeof zPushSubscriptionView>;
3289
+ type PushSubscriptionListResponse = z.output<typeof zPushSubscriptionListResponse>;
3290
+ /**
3291
+ * What the UI needs to decide what to draw. Everything except `subscribed` means "no button", but
3292
+ * for different reasons — and a couple of them are worth saying out loud to the player.
3293
+ */
3294
+ declare const PushPermissionState: {
3295
+ /** Not configured, or the browser has no Push API (any iOS browser before 16.4, for one). */
3296
+ readonly Unsupported: "unsupported";
3297
+ /** Available, nobody has been asked yet. This is the only state where a button makes sense. */
3298
+ readonly Idle: "idle";
3299
+ /** This browser is subscribed and the server knows about it. */
3300
+ readonly Subscribed: "subscribed";
3301
+ /**
3302
+ * The person said no — or Chrome said it for them after a few dismissals.
3303
+ *
3304
+ * ⚠ IRREVERSIBLE from code. Asking again does nothing; only the browser's own site settings can
3305
+ * undo it. That is exactly why the first prompt must follow a deliberate tap and never a page
3306
+ * load.
3307
+ */
3308
+ readonly Blocked: "blocked";
3309
+ /**
3310
+ * The game is running inside the portal's cross-origin iframe, where the permission prompt is
3311
+ * blocked by the browser. Not an error and not something to retry: on that page the SITE owns
3312
+ * the subscription, and the engine still does the sending.
3313
+ */
3314
+ readonly Embedded: "embedded";
3315
+ };
3316
+ type PushPermissionState = (typeof PushPermissionState)[keyof typeof PushPermissionState];
3317
+ /** Where a successful {@link PushService.subscribe} actually created the subscription. */
3318
+ interface PushSubscribeResult {
3319
+ /**
3320
+ * `"game"` — this origin subscribed itself, and `Subscription` describes the row.
3321
+ *
3322
+ * `"portal"` — the game is embedded on idosgames.com and the WEBSITE subscribed on the
3323
+ * player's behalf, on its own top-level document. `Subscription` is `null` there: the row
3324
+ * belongs to the site's origin and the game never sees its keys. The engine still does the
3325
+ * sending, and the player's game id reaches the row on their next platform sign-in.
3326
+ */
3327
+ Where: "game" | "portal";
3328
+ Subscription: PushSubscriptionView | null;
3329
+ }
3330
+
3295
3331
  /** How a publication can be obtained. A player gets access if ANY option of the publication passes. */
3296
3332
  declare const WorkshopAccessMode: {
3297
3333
  readonly Free: "Free";
@@ -3526,7 +3562,10 @@ declare const MultiplayerAction: {
3526
3562
  readonly SetMemberState: "SetMemberState";
3527
3563
  };
3528
3564
  type MultiplayerAction = (typeof MultiplayerAction)[keyof typeof MultiplayerAction];
3529
- type PlatformLoginResponse = { TitleUserID: string; TitleClientSessionTicket: string; TitleClientSessionTicketExpiration: string; PlatformUserID?: null | string; PlatformAuthToken?: null | string; PlatformAuthTokenExpiration?: null | string; };
3565
+ type PlatformLoginResponse = { TitleUserID: string; TitleClientSessionTicket: string; TitleClientSessionTicketExpiration: string; PlatformUserID?: null | string; PlatformAuthToken?: null | string; PlatformAuthTokenExpiration?: null | string; PlayAccess?: null | PlayAccessStatus; RefreshToken?: null | string; RefreshTokenExpiration?: null | string; };
3566
+ type RefreshSessionResponse = { TitleUserID: string; TitleClientSessionTicket: string; TitleClientSessionTicketExpiration: string; RefreshToken: string; RefreshTokenExpiration?: null | string; PlayAccess?: null | PlayAccessStatus; };
3567
+ type AuthOptionsResponse = { PlayAccessMode?: null | 'Open' | 'AnyWithLinkedWallet' | 'WalletOnly'; WalletLoginNetworks?: null | Array<{ NetworkID?: null | string; Type?: null | string; [key: string]: unknown; }>; [key: string]: unknown; };
3568
+ type WalletLinkResponse = { Linked?: null | boolean; Challenge?: null | string; ExpiresAt?: null | string; NetworkID?: null | string; Address?: null | string; PlayAccess?: null | PlayAccessStatus; [key: string]: unknown; };
3530
3569
  type EmailRegistrationResponse = { CodeTtlMinutes?: null | number; ResendCooldownSeconds?: null | number; };
3531
3570
  type SuccessResponse = { IsCompleted?: null | boolean; ServerTime?: null | string; };
3532
3571
  type WalletChallengeResponse = { Message: string; ExpiresAt: string; };
@@ -3580,6 +3619,8 @@ interface AuthenticationRequest extends BaseRequest {
3580
3619
  WalletSignature?: string;
3581
3620
  /** Code from the confirmation e-mail. See `AuthenticationAction.ConfirmEmailRegistration`. */
3582
3621
  VerificationCode?: string;
3622
+ /** `RefreshSession`: the last refresh token issued. */
3623
+ RefreshToken?: string;
3583
3624
  }
3584
3625
  declare const AuthenticationAction: {
3585
3626
  readonly LoginWithDeviceID: "LoginWithDeviceID";
@@ -3611,6 +3652,18 @@ declare const AuthenticationAction: {
3611
3652
  readonly ResendVerificationCode: "ResendVerificationCode";
3612
3653
  readonly RequestWalletChallenge: "RequestWalletChallenge";
3613
3654
  readonly LoginWithWallet: "LoginWithWallet";
3655
+ /** Public login options (mode of the title), anonymous — see `AuthOptionsResponse`. */
3656
+ readonly GetAuthOptions: "GetAuthOptions";
3657
+ /**
3658
+ * Extend the session by the refresh token: new ticket, new refresh token. Anonymous — it is
3659
+ * called exactly when the ticket is no longer valid; the token itself proves who is asking.
3660
+ */
3661
+ readonly RefreshSession: "RefreshSession";
3662
+ /**
3663
+ * Attach a wallet to the logged-in account by signature (two steps: challenge, then signature).
3664
+ * Authenticated — the only action here that carries a session.
3665
+ */
3666
+ readonly LinkWallet: "LinkWallet";
3614
3667
  readonly ForgotPassword: "ForgotPassword";
3615
3668
  readonly ResetPassword: "ResetPassword";
3616
3669
  };
@@ -4201,7 +4254,7 @@ declare const TitleDataBucket: {
4201
4254
  readonly Private: "Private";
4202
4255
  };
4203
4256
  type TitleDataBucket = (typeof TitleDataBucket)[keyof typeof TitleDataBucket];
4204
- type TitleCustomDataRecord = { Value?: null | string; UpdatedAt?: null | string; Version?: null | number; LastWriter?: null | 'System' | 'Client' | 'Server'; ExpiresAt?: null | string; [key: string]: unknown; };
4257
+ type TitleCustomDataRecord = { Value?: null | string; UpdatedAt?: null | string; Version?: null | number; LastWriter?: null | 'Client' | 'Server' | 'System'; ExpiresAt?: null | string; [key: string]: unknown; };
4205
4258
  type GetPublicTitleDataResponse = { StaticVersion?: null | number; RuntimeVersion?: null | number; Static?: null | Record<string, TitleCustomDataRecord>; Runtime?: null | Record<string, TitleCustomDataRecord>; NotModified?: null | boolean; };
4206
4259
  type TitleCustomDataKeyDefinition = { KeyID: string; Scope?: null | 'Static' | 'Runtime'; Bucket?: null | 'Private' | 'Public'; ValueType?: null | 'String' | 'Int' | 'Bool' | 'Json'; MaxValueLengthBytes?: null | number; TtlSeconds?: null | number; DefaultValue?: null | string; Description?: null | string; [key: string]: unknown; };
4207
4260
  /** Title-data schema as served to clients: public-bucket keys plus the title's limits. */
@@ -4421,6 +4474,13 @@ interface SdkEvents {
4421
4474
  "auth:loggedIn": void;
4422
4475
  "auth:loggedOut": void;
4423
4476
  "auth:requestSent": void;
4477
+ /** The pass changed — login, `blockchain.confirmPlayAccess`, `auth.linkWallet`. null — Open title. */
4478
+ "playAccess:changed": PlayAccessStatus | null;
4479
+ /**
4480
+ * A gameplay call was refused with `PLAY_ACCESS_REQUIRED` (HTTP 403): the pass expired or was
4481
+ * never granted. The host shows the play-access screen.
4482
+ */
4483
+ "playAccess:required": void;
4424
4484
  "user:stateUpdated": void;
4425
4485
  "user:anyUpdated": void;
4426
4486
  "user:inventoryUpdated": void;
@@ -5143,12 +5203,16 @@ declare class AuthStore {
5143
5203
  private readonly authTypeKey;
5144
5204
  private readonly emailKey;
5145
5205
  private readonly passwordKey;
5206
+ private readonly refreshTokenKey;
5146
5207
  constructor(storage: KeyValueStorage, titleID: string);
5147
5208
  get lastAuthType(): AuthType;
5148
5209
  saveAuthType(type: AuthType): void;
5149
5210
  get savedEmail(): string;
5150
5211
  get savedPassword(): string;
5151
5212
  saveEmailAndPassword(email: string, password: string): void;
5213
+ /** The last refresh token issued (rotated on every refresh). */
5214
+ get savedRefreshToken(): string;
5215
+ saveRefreshToken(token: string): void;
5152
5216
  clear(): void;
5153
5217
  }
5154
5218
 
@@ -5210,6 +5274,7 @@ declare class AuthenticationService {
5210
5274
  private sessionAuthType;
5211
5275
  private sessionEmail;
5212
5276
  private sessionPassword;
5277
+ private sessionRefreshToken;
5213
5278
  /**
5214
5279
  * Credentials from the first step of an e-mail registration.
5215
5280
  *
@@ -5220,7 +5285,30 @@ declare class AuthenticationService {
5220
5285
  * password does remember them, which made the difference look like a bug in the game.
5221
5286
  */
5222
5287
  private pendingRegistration;
5288
+ /** Pass to play under the title's login mode — see {@link playAccess}. */
5289
+ private playAccessStatus;
5223
5290
  constructor(ctx: ClientContext);
5291
+ /**
5292
+ * The player's pass to play under the title's login mode (`cfg.Blockchain.PlayAccess`), as of
5293
+ * the last login / check. `null` — an `Open` title (nothing to pass) or not logged in.
5294
+ * `Granted === false` — the session is valid but the server closes every gameplay call with
5295
+ * `PLAY_ACCESS_REQUIRED` until the player links a wallet / tops up and
5296
+ * `client.blockchain.confirmPlayAccess()` succeeds. Changes emit `playAccess:changed`.
5297
+ */
5298
+ get playAccess(): PlayAccessStatus | null;
5299
+ /**
5300
+ * Public login options of the title, readable BEFORE login. Use `PlayAccessMode` to hide the
5301
+ * methods the server refuses anyway: `WalletOnly` accepts only wallet login, `AnyWithLinkedWallet`
5302
+ * refuses guests.
5303
+ */
5304
+ getAuthOptions(): Promise<OperationResult<AuthOptionsResponse>>;
5305
+ /**
5306
+ * Attach a wallet to the LOGGED-IN account by signature (not a login — no second account).
5307
+ * Two steps: call without `signature` to get `Challenge`, sign it with the wallet, call again
5308
+ * with the signature. On a gated title the second step also checks the pass against exactly this
5309
+ * wallet and updates {@link playAccess}.
5310
+ */
5311
+ linkWallet(walletAddress: string, networkID: string, signature?: string): Promise<OperationResult<WalletLinkResponse>>;
5224
5312
  get context(): AuthContext | null;
5225
5313
  get isLoggedIn(): boolean;
5226
5314
  /** The PERSISTED login method — what a cold start would replay. `None` = nothing to replay. */
@@ -5289,8 +5377,9 @@ declare class AuthenticationService {
5289
5377
  requestWalletChallenge(walletAddress: string, networkID: string): Promise<OperationResult<WalletChallengeResponse>>;
5290
5378
  /**
5291
5379
  * Step 2 of wallet login: exchange the signed challenge for a session (logs in / registers the
5292
- * wallet-scoped account). Not auto-loginable — a fresh signature is required on every login, so
5293
- * {@link autoLogin} routes AuthType.Wallet to the default (fail) branch.
5380
+ * wallet-scoped account). A remembered wallet session comes back by its refresh token
5381
+ * ({@link autoLogin}); the login itself is never REPLAYED — without a usable refresh token a new
5382
+ * signature is required.
5294
5383
  */
5295
5384
  loginWithWallet(walletAddress: string, networkID: string, signature: string): Promise<OperationResult<ClientState>>;
5296
5385
  /**
@@ -5306,10 +5395,14 @@ declare class AuthenticationService {
5306
5395
  forgotPassword(email: string): Promise<OperationResult<SuccessResponse>>;
5307
5396
  resetPassword(email: string, resetToken: string, password: string): Promise<OperationResult<SuccessResponse>>;
5308
5397
  /**
5309
- * Replays the last-used login method. Only safe for methods that don't need a fresh
5310
- * externally-issued token: Email (saved password), Device/None (no credential needed), and
5311
- * Telegram (initData is re-read live from the Telegram WebApp bridge, not stored).
5312
- * Google/Facebook/GooglePlay/iDosGames-platform-token sessions can't be silently replayed —
5398
+ * Restores the remembered session on a cold start. First by the saved **refresh token**
5399
+ * (`Authentication/RefreshSession`) — that brings back ANY method, wallet and Google included.
5400
+ *
5401
+ * Without a usable token it falls back to replaying the last-used login method, which is only
5402
+ * safe for methods that don't need a fresh externally-issued token: Email (saved password),
5403
+ * Device/None (no credential needed), and Telegram (initData is re-read live from the Telegram
5404
+ * WebApp bridge, not stored). Google/Facebook/GooglePlay/wallet/iDosGames-platform-token sessions
5405
+ * can't be replayed —
5313
5406
  * there is no stored token to reuse, and falling back to a device-id login would resolve to
5314
5407
  * a different backend account (DeviceID and platform/email logins hash to different UserIDs
5315
5408
  * with no server-side link between them), silently stranding the player on an empty guest
@@ -5317,13 +5410,26 @@ declare class AuthenticationService {
5317
5410
  * login method themselves in that case.
5318
5411
  */
5319
5412
  autoLogin(): Promise<OperationResult<ClientState>>;
5413
+ /**
5414
+ * Extend the session by the refresh token (`Authentication/RefreshSession`).
5415
+ *
5416
+ * - `ok` — new ticket and new refresh token applied; on a gated title the pass was re-checked
5417
+ * for this ticket (`playAccess` updated — a balance that dropped closes the game, it does not
5418
+ * end the session).
5419
+ * - `failed` — no token, or it is expired/revoked/burnt: the caller falls back to replaying the
5420
+ * login method.
5421
+ */
5422
+ private rotateSession;
5423
+ private applyRefresh;
5424
+ /** Session tier always; storage only when remembering (and for an already-remembered session). */
5425
+ private keepRefreshToken;
5320
5426
  private replay;
5321
5427
  /**
5322
- * Registered with the transport: a 401 transparently triggers one re-login + retry.
5428
+ * Registered with the transport: a 401 transparently extends the session + retries once.
5323
5429
  *
5324
- * Reads the SESSION tier first so a player who declined "remember me" still recovers from an
5325
- * expired ticket; it falls back to the persisted tier for a client that has not logged in yet
5326
- * this tab (a 401 on the very first call after a cold start).
5430
+ * First by the refresh token (`RefreshSession` — the server's way to extend a session, and the
5431
+ * point where it re-checks the play-access balance). Only without a usable token does it fall
5432
+ * back to replaying the login method.
5327
5433
  */
5328
5434
  refreshSession(): Promise<string | null>;
5329
5435
  /**
@@ -7195,6 +7301,17 @@ declare class BlockchainService {
7195
7301
  donateToDeveloper(networkID: string, transactionHash: string): Promise<OperationResult<DonationResponse>>;
7196
7302
  /** Donates an on-chain transfer straight into the users pool bucket (no personal credit). */
7197
7303
  donateToUsersPool(networkID: string, transactionHash: string): Promise<OperationResult<DonationResponse>>;
7304
+ /**
7305
+ * Everything the play-access screen needs: the title's login mode, the token requirements, the
7306
+ * player's signature-linked wallets and the result of the last check. No blockchain call.
7307
+ */
7308
+ getPlayAccess(): Promise<OperationResult<PlayAccessInfoResponse>>;
7309
+ /**
7310
+ * "Check" on the play-access screen: choose a signature-linked wallet (`networkID`; omit to keep
7311
+ * the previous choice) and check the balance now. The result is returned even when refused —
7312
+ * the screen shows the measured balances. On success gameplay calls work again immediately.
7313
+ */
7314
+ confirmPlayAccess(networkID?: string): Promise<OperationResult<PlayAccessStatus>>;
7198
7315
  private baseRequest;
7199
7316
  }
7200
7317
 
@@ -8074,6 +8191,13 @@ declare class AuthenticationApi {
8074
8191
  constructor(ctx: ClientContext);
8075
8192
  private endpoint;
8076
8193
  private login;
8194
+ refreshSession(request: AuthenticationRequest): Promise<OperationResult<RefreshSessionResponse>>;
8195
+ getAuthOptions(request: AuthenticationRequest): Promise<OperationResult<AuthOptionsResponse>>;
8196
+ /**
8197
+ * Link a wallet to the logged-in account. Unlike every other call here this one is
8198
+ * AUTHENTICATED: the route carries the userID and the request the session ticket.
8199
+ */
8200
+ linkWallet(request: AuthenticationRequest): Promise<OperationResult<WalletLinkResponse>>;
8077
8201
  loginWithDeviceID(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
8078
8202
  loginWithTelegram(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
8079
8203
  loginWithEmail(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
@@ -9213,6 +9337,8 @@ declare class BlockchainApi {
9213
9337
  confirmWithdrawal(request: BlockchainRequest): Promise<OperationResult<ConfirmWithdrawalResponse>>;
9214
9338
  donateToDeveloper(request: BlockchainRequest): Promise<OperationResult<DonationResponse>>;
9215
9339
  donateToUsersPool(request: BlockchainRequest): Promise<OperationResult<DonationResponse>>;
9340
+ getPlayAccess(request: BlockchainRequest): Promise<OperationResult<PlayAccessInfoResponse>>;
9341
+ confirmPlayAccess(request: BlockchainRequest): Promise<OperationResult<PlayAccessStatus>>;
9216
9342
  }
9217
9343
 
9218
9344
  /** Thin transport wrapper for the Marketplace feature (port of Marketplace/Marketplace.cs). */
@@ -11023,22 +11149,22 @@ declare class DataCollectionsApi {
11023
11149
  }[] | null | undefined;
11024
11150
  Access?: {
11025
11151
  Read?: {
11026
- Mode: "Anyone" | "Members" | "Server" | "Role" | "Owner" | "Authenticated";
11152
+ Mode: "Members" | "Server" | "Anyone" | "Role" | "Owner" | "Authenticated";
11027
11153
  Role?: string | null | undefined;
11028
11154
  MembersField?: string | null | undefined;
11029
11155
  }[] | null | undefined;
11030
11156
  Create?: {
11031
- Mode: "Anyone" | "Members" | "Server" | "Role" | "Owner" | "Authenticated";
11157
+ Mode: "Members" | "Server" | "Anyone" | "Role" | "Owner" | "Authenticated";
11032
11158
  Role?: string | null | undefined;
11033
11159
  MembersField?: string | null | undefined;
11034
11160
  }[] | null | undefined;
11035
11161
  Update?: {
11036
- Mode: "Anyone" | "Members" | "Server" | "Role" | "Owner" | "Authenticated";
11162
+ Mode: "Members" | "Server" | "Anyone" | "Role" | "Owner" | "Authenticated";
11037
11163
  Role?: string | null | undefined;
11038
11164
  MembersField?: string | null | undefined;
11039
11165
  }[] | null | undefined;
11040
11166
  Delete?: {
11041
- Mode: "Anyone" | "Members" | "Server" | "Role" | "Owner" | "Authenticated";
11167
+ Mode: "Members" | "Server" | "Anyone" | "Role" | "Owner" | "Authenticated";
11042
11168
  Role?: string | null | undefined;
11043
11169
  MembersField?: string | null | undefined;
11044
11170
  }[] | null | undefined;
@@ -12190,4 +12316,4 @@ declare class LocalizationCache {
12190
12316
  private versionsKey;
12191
12317
  }
12192
12318
 
12193
- export { AIAction, type AIAudioInput, type AIChatMessage, AIErrorCode, type AIGenerateOptions, type AIGenerationAssetView, type AIGenerationErrorView, type AIGenerationListView, AIGenerationStatus, type AIGenerationView, type AIHistoryQuery, type AIImageEditInput, type AIImageInput, type AIInputImage, AIModality, type AIMusicInput, type AIPublicDefinitions, type AIPublicFeature, type AIRequest, AIService, type AITextInput, type AIThreeDInput, type AIVideoInput, type AIWaitOptions, type AcceptTradeOfferResponse, AcquisitionCapture, type ActivateReferralCodeResponse, type ActivateTimedBoostResponse, type ActiveBoostWindowInfo, type ActiveCoopEventInfo, type ActiveDealSlotInfo, type ActiveEventInfo, type ActiveSeasonInfo, type ActiveTimedBoost, type AdConsentSettings, type AdConsentState, type AdCreditsData, type AdDailyData, type AdFraudFlags, type AdFrequencyCappingSettings, type AdPendingRequest, type AdPlacementDefinition, type AdPlacementUserState, type AdProviderDefinition, AdProviderKind, type AdSessionData, AdType, type AdUnitConfig, type AdVerificationSettings, type AddQuestProgressResponse, type AdvertisingDefinitions, AnalyticsAction, type AnalyticsClientContext, type AnalyticsDefinitions, type AnalyticsDimensionDefinition, AnalyticsDropReason, type AnalyticsEventDefinition, type AnalyticsEventInput, AnalyticsEventNaming, AnalyticsLimits, type AnalyticsParamValue, type AnalyticsParams, type AnalyticsRequest, AnalyticsService, type AppOpenSettings, AttackOutcome, type AttackResponse, type AttributionInput, type AuthContext, AuthType, AuthenticationAction, type AuthenticationRequest, AuthenticationService, AutomaticEvent, BannerPosition, type BannerSettings, type BaseRequest, type BatchDeleteUserCustomDataResponse, type BatchGetPublicUserCustomDataResponse, type BatchItemResult, type BatchResponse, type BatchSetUserCustomDataResponse, type BattleResult, type BattleStepConfig, type BlockchainAccountSafetyPolicy, BlockchainAction, type BlockchainConfigResponse, type BlockchainDefinitions, type BlockchainNetworkDefinition, BlockchainNetworkType, type BlockchainNftCollectionBinding, BlockchainOperationCategory, type BlockchainRequest, BlockchainService, type BlockchainStats, type BlockchainSystemState, BlockchainTransactionStatus, BlockchainTransactionType, type BoardLoopDefinition, type BoardLoopState, type BoardPendingInteraction, type BoardRollResponse, BodyPart, type BoostTriggerCounter, BoostWindowKind, BroadcastStatus, type BuildResponse, type BuildingState, type CancelMatchResponse, type CancelTradeOfferResponse, type ChangeUsernameResponse, CharacterAction, type CharacterClassification, type CharacterDefinition, type CharacterDefinitions, type CharacterEquipment, type CharacterEquipmentSlot, type CharacterIdentity, type CharacterLevelRef, type CharacterModel, type CharacterRankLadder, type CharacterRequest, CharacterService, type CharacterSkinDefinition, type CharacterSkinItem, type CharacterSkinRequirements, type CharacterSkinSale, type CharacterSkinView, type CharacterSkins, type CharacterSkinsView, type CharacterStatRef, type CharacterUnequipResult, type CharacterUnlock, ChatAction, ChatAuthorType, ChatBlockedTermAction, type ChatChannelAvailability, type ChatChannelDefinition, type ChatChannelIdentity, type ChatChannelPresetBindings, type ChatChannelRetention, ChatChannelType, type ChatChannelView, type ChatChannelWriteRules, type ChatChannelsResponse, type ChatConversationView, type ChatConversationsResponse, type ChatCursor, type ChatDefinitions, ChatDirectAudience, type ChatDirectChannelResponse, type ChatHistoryResponse, type ChatMessageView, type ChatModerationSettings, ChatPartitioning, type ChatPollResponse, type ChatPollingSettings, type ChatPresetRegistry, ChatReportReason, type ChatReportResponse, type ChatRequest, type ChatRoomUpdate, type ChatSendResponse, type ChatStateResponse, CheckoutService, type ClaimAllRewardsBatchResponse, type ClaimAllRewardsResult, type ClaimComebackRewardResponse, type ClaimCycleRewardResponse, type ClaimCycleRewardsBatchResponse, type ClaimDailyRewardResponse, type ClaimDealMilestoneResponse, type ClaimDealMilestonesBatchResponse, type ClaimGrandPrizeResponse, type ClaimGroupCompletionRewardResponse, type ClaimInviteRewardResponse, type ClaimInviteRewardsBatchResponse, type ClaimLeaderboardMilestoneResponse, type ClaimLeaderboardMilestonesBatchResponse, type ClaimMilestoneRewardResponse, type ClaimMilestoneRewardsBatchResponse, type ClaimMilestonesBatchResponse, type ClaimQuestRewardResponse, type ClaimQuestRewardsBatchResponse, type ClaimRewardResponse, type ClaimSetRewardResponse, type ClaimSetRewardsBatchResponse, type ClaimTierRewardResponse, type ClaimTierRewardsBatchResponse, ClientPlatform, type ClientState, CloudCodeAction, CloudCodeErrorCode, type CloudCodeLogEntry, CloudCodeLogLevel, type CloudCodeRequest, CloudCodeRevisionSelection, CloudCodeService, type CodeExecutionError, type CollectIdleAccrualResponse, CollectionAction, type CollectionDefinitions, type CollectionGlobalSettings, type CollectionRequest, CollectionService, type CollectionSetRef, type CollectionTradeOfferDocument, CommissionSink, type CommunityAccrualLine, type CommunityCampaignSummary, type CommunityChestClaimResponse, type CommunityChestGroupDocument, type CommunityChestGroupStateResponse, type CommunityChestHistoryEntry, type CommunityChestLeaveResponse, type CommunityChestMember, CommunityChestMemberStatus, type CommunityChestSharedState, CommunityChestStatus, type CommunityChestUserStateResponse, type CommunityClaimResponse, CommunityCreatorStatus, type CommunityEarningsLine, type CommunityEarningsResponse, type CommunityEligibilityCondition, type CommunityEligibilityResponse, CommunityMarketingAction, type CommunityMarketingRequest, type CommunityMarketingState, CommunityMetricKind, CommunityParticipationMode, CommunityPayoutCurrencyKind, type CommunityPayoutSummary, type CommunitySolanaWithdrawalSignature, type CommunityWithdrawalResponse, type ConfirmWithdrawalResponse, type ConversionDailyCounter, ConversionRateMode, type ConversionTarget, type ConvertResponse, type CoopBuildObjectsMemberState, type CoopBuildObjectsState, type CoopClaimRewardResponse, CoopEventAction, type CoopEventDefinitions, type CoopEventRequest, CoopEventService, type CoopGroupDocument, type CoopGroupMember, type CoopGroupStateResponse, CoopGroupStatus, type CoopLeaveGroupResponse, CoopMemberStatus, type CoopPartnerObjectState, type CoopSpinResponse, type CoopUserStateResponse, CraftAction, type CraftBurnedInstance, type CraftDefinition, type CraftDefinitions, type CraftDefinitionsResponse, CraftInputSelectionMode, CraftOutputLevelMode, CraftOutputLevelOverflow, type CraftRequest, type CraftResponse, CraftService, type CraftSingleResult, CraftType, type CreateMatchResponse, type CryptoConvertResponse, type CryptoCurrencyDefinition, type CryptoCurrencyPermissions, type CryptoLimits, type CryptoNetworkBinding, type CryptoShortfall, CurrencyAction, type CurrencyAudit, type CurrencyConversion, type CurrencyDefinitions, type CurrencyRequest, CurrencyService, CurrencyStatus, CurrencyType, CurveInterpolation, type CurvePoint, CurveShape, CustomDataBucket, CustomDataValueType, CustomDataWriter, type CyclicSchedule, DEFAULT_BASE_URL, type DailyUsageRecord, DataAccessMode, type DataAccessRule, type DataBatchOperation, type DataBatchResponse, type DataCollectionDefinition, DataCollectionKind, DataCollectionSchemaMode, DataCollectionsAction, type DataCollectionsRequest, DataCollectionsService, type DataCountResponse, DataCounterKind, type DataCounterResponse, type DataDefinitionsResponse, type DataDeleteResponse, type DataFieldDefinition, DataFieldType, DataFieldVisibility, type DataFileUploadResponse, type DataFileView, type DataFilter, type DataFilterOp, type DataGetManyResponse, type DataGetResponse, type DataItemView, type DataOperationEconomy, DataOwnerDeletedPolicy, type DataPublicViewDefinition, type DataPublicViewPage, type DataPublicViewPointer, type DataPublicViewsResponse, type DataQueryResponse, type DataQuerySpec, type DataReadOptions, type DataRecord, DataRefKind, type DataRefTarget, type DataRolesResponse, type DataSortKeyDefinition, type DataUpdateSpec, type DataWriteResponse, type DealAvailability, DealComparisonOperator, type DealIdentity, type DealMilestoneBlock, type DealMilestoneProgressInfo, type DealNodeActionDefinition, type DealNodeDefinition, type DealNodePresetBindings, type DealNodePricing, type DealNodeReward, DealNodeRuntimeStatus, DealNodeType, type DealNodeUnlockRules, DealOfferAction, DealOfferActivationStatus, type DealOfferDefinition, type DealOfferDefinitions, type DealOfferGraph, type DealOfferPresetBindings, type DealOfferPresetRegistry, type DealOfferRequest, DealOfferService, type DealOffersDefinitionResponse, type DealRewardedVideoActionDefinition, type DealSlotBehaviour, type DealSlotDefinition, type DealSlotPresetBindings, type DealSlotQueueEntry, type DealTrackChange, type DealTrackDefinition, type DealTrackRequirement, type DeclineTradeOfferResponse, type DepositNFTResponse, type DepositTokenResponse, type DeviceDescription, type DirectMessageSettings, type DismissDealResponse, type DonationResponse, type DroppedEvent, EVENT_NAME_PATTERN, EnvelopeType, type EquipItemsResponse, type EquipSkinResponse, type EquipSlotPair, type EquipmentPreset, type EquipmentSlot, type EquippedItem, type EventMap, type EventMilestoneClaimResponse, type EventTokenAddress, type EventTokenConversion, type EventTokenDefinition, type EventTokenGrantResponse, type EventTokenMilestoneData, type EventTokenOperation, type EventTokenSpendResponse, EventTokenType, type ExecuteCloudCodeResponse, type ExecuteNodeResponse, ExperimentAction, type ExperimentDefinition, type ExperimentDefinitions, type ExperimentGoal, ExperimentGoalKind, type ExperimentRequest, type ExperimentVariant, type ExperimentVariantCondition, ExperimentsService, FRIENDS_FROM_PLATFORM, type FodderConsumedEntry, FodderSelectionMode, FodderValuationMode, type FriendActionResponse, FriendActionStatus, type FriendPublicProfile, FriendSource, type FriendsListResponse, GameLoopAction, type GameLoopDefinitions, type GameLoopRequest, GameLoopService, type GetActiveBoostWindowsResponse, type GetActiveDealsResponse, type GetActiveEventsResponse, type GetActiveTimedBoostsResponse, type GetCharacterSkinsResponse, type GetCharactersResponse, type GetExperimentsResponse, type GetLeaderboardResponse, type GetLeaderboardsBatchResponse, type GetMatchDefinitionsResponse, type GetMilestoneRewardMultiplierResponse, type GetMyProgressResponse, type GetMyUserCustomDataResponse, type GetOverviewBatchResponse, type GetProgressBatchResponse, type GetPublicTitleDataResponse, type GetPublicUserCustomDataResponse, type GetStorefrontResponse, type GetTradeOffersResponse, type GetUserQuestStateResponse, type GetUserTutorialStateResponse, type GrantStatusTokensResponse, type GrantTokensBatchResponse, type GrantedCollectible, type HeistCell, IDosGamesClient, type IDosGamesClientConfig, IDosGamesData, type IDosGamesSettings, type IapProductDefinition, type IapProductPurchaseState, type IapProductRules, IapProductType, IapPurchaseStatus, type IapStore, IapStore$1 as IapStoreValues, type IceServer, type InboxBadgeResponse, type InboxResponse, type InstantBattleDefinitions, type InstantBattleResponse, type InstantBattleRule, type InterstitialSettings, type InventoryDelta, ItemAction, type ItemCatalog, type ItemDefinition, type ItemDefinitions, type ItemEquipment, type ItemMetadata, type ItemRequest, ItemService, type ItemStats, type ItemTotals, type ItemUpgrade, type ItemUpgradeFodder, type ItemUpgradeRef, type JsonValue, KeyValueStorage, KycStatus, KycTier, LeaderboardAction, type LeaderboardDefinitions, type LeaderboardMilestoneRef, type LeaderboardOverview, type LeaderboardRequest, type LeaderboardScoreRef, LeaderboardService, type LeaderboardUserEntry, type LeaveRoomResponse, type LevelsPreset, type LimitSpec, type LinkedWalletInfo, type Listener, LocalizationAction, LocalizationCache, type LocalizationDefinitions, type LocalizationLocaleDefinition, type LocalizationLocaleInfo, type LocalizationManifestResponse, LocalizationMissingKeyMode, type LocalizationParams, type LocalizationRequest, LocalizationService, type LocalizationState, type LocalizationTableRef, type LocalizationTableResponse, type LogEventsResponse, LootboxAction, type LootboxAmountRange, type LootboxDefinitions, type LootboxDefinitionsResponse, type LootboxGlobalSettings, type LootboxOpenResponse, type LootboxPityRule, type LootboxPityTriggerResponse, type LootboxRequest, type LootboxRewardRoll, type LootboxRewardSlot, LootboxService, type LootboxSupplyRule, type MailboxBroadcastDocument, type MailboxDefinition, type MailboxMessageDocument, MailboxMessageSource, MailboxMessageStatus, type MailboxMessageTypeDefinition, type MailboxSegmentDefinition, MarketGoodsType, MarketOfferStatus, MarketOfferType, MarketplaceAction, type MarketplaceActionCounter, type MarketplaceAuctionSettings, type MarketplaceAuctionState, type MarketplaceBidRefund, type MarketplaceBrowseResponse, type MarketplaceBuyOrderSettings, type MarketplaceCommissionOverride, type MarketplaceCommissionPolicy, type MarketplaceCreateOfferResponse, type MarketplaceDefinitions, type MarketplaceDirectTradeSettings, type MarketplaceGetDefinitionsResponse, type MarketplaceGroupedOfferView, type MarketplaceGroupedOffersResponse, type MarketplaceHistoryEntryView, type MarketplaceHistoryResponse, type MarketplaceListingSettings, type MarketplaceMatchingSettings, type MarketplaceMyStateResponse, type MarketplaceOfferResponse, type MarketplaceOfferView, type MarketplacePlaceBidResponse, type MarketplacePricePolicy, type MarketplaceRequest, MarketplaceService, type MarketplaceSettlementResponse, type MarketplaceTradabilityPolicy, MatchAction, type MatchDefinitions, type MatchRequest, MatchService, MatchStatus, type MatchesPageResponse, type MilestoneClaimEntry, type MilestoneClaimRef, type MilestoneDefinition, MultiplayerAction, MultiplayerChatMode, type MultiplayerDefinitions, type MultiplayerRequest, MultiplayerService, type MultiplayerSystemState, MultiplayerTopology, type NFTModel, type NFTNetworkBinding, type NFTTransactionDocument, type NFTWithdrawalResponse, type NftCollectionStats, type NftStatsContainer, OFFER_NOT_IN_ROTATION, type OpenCollectionChestResponse, type OpenPackResponse, type OperationFailure, type OperationFailureReason, type OperationResult, type OperationSuccess, type PackOpenResult, type PaymentProof, type PaymentRequirement, type PendingWithdrawalRef, PlatformAdapter, type PlatformBlockchainState, type PlatformBridgeDefinitions, PlatformFriendsMode, type PlatformLoginResponse, PlatformProfileMode, type PlayerEconomyTuningState, PlayerExperimentStatus, type PlayerExperimentView, PlaytimeTracker, type PollResponse, PremiumAction, type PremiumAdReduction, type PremiumDefinitions, type PremiumDefinitionsResponse, type PremiumPurchaseResponse, type PremiumRequest, PremiumService, type PremiumStateResponse, type PremiumSubscription, type PriceOption, type PriceOptions, type PublishResponse, PurchaseAction, type PurchaseBatchResponse, type PurchaseDefinitions, type PurchaseReceiptRef, type PurchaseRequest, PurchaseService, type PurchaseValidationBatchResponse, type PurchaseValidationResponse, PushAction, type PushConfigResponse, PushPermissionState, type PushRequest, type PushSubscribeOptions, type PushSubscribeResult, type PushSubscriptionListResponse, type PushSubscriptionView, PushTopic, type PushTopicView, PushTransport, type PvPMatch, QuestAction, type QuestAvailability, type QuestClaimRef, type QuestCycleDefinition, type QuestDefinition, type QuestDefinitions, type QuestGroupCompletionDefinition, type QuestIdentity, type QuestLinking, type QuestObjectiveDefinition, QuestObjectiveSource, type QuestPhaseDefinition, type QuestPointsTrackView, QuestPrerequisiteMode, type QuestPresetBindings, type QuestPresetRegistry, type QuestProgressUpdate, type QuestRequest, type QuestReward, QuestService, QuestStatus, RaidMode, type RaidResponse, type RealtimeEnvelope, type RechargeConfig, type RecordShowResponse, ReferralAction, type ReferralDefinitions, type ReferralDefinitionsResponse, type ReferralInviteRewardState, type ReferralRequest, ReferralService, type RelativeWindow, type ResourceBundle, type ResourceConsume, type ResourceDualPartyResult, type ResourceEntry, ResourceEntryType, type ResourceGrant, type ResourceOperation, type ResourceTransferResult, type RetryWithdrawalResponse, RewardAction, type RewardDefinitions, type RewardDefinitionsResponse, type RewardRequest, RewardService, type RewardedVideoSettings, type RollActionData, type RoomListItem, type RoomMemberView, type RoomSnapshotResponse, RoomVisibility, type RoomsPageResponse, SKIN_ALREADY_OWNED, SKIN_SLOT, type ScalarCurveSpec, type ScheduleChain, type ScheduleChainPhase, ScheduleMode, type ScheduleSpec, type ScheduledWindow, type SdkEvents, SeasonAction, type SeasonDefinitions, type SeasonRequest, SeasonService, type SeasonTierRewardBundle, type SeasonTierRewardMultiplier, type SeasonTierRewardSet, type SegmentGate, type SendTradeOfferResponse, type SetUserCustomDataResponse, type SettingsInput, SocialAction, type SocialActorPage, type SocialActorSnapshot, type SocialActorView, type SocialCommentDeleteResponse, type SocialCommentPage, type SocialCommentView, SocialContentStatus, type SocialCounters, type SocialCounts, type SocialCursor, type SocialDefinitions, type SocialEntityState, type SocialEntityStatesResponse, SocialEntityType, type SocialInboxItem, SocialInboxVerb, SocialReactionKind, type SocialReactionPage, type SocialReactionView, SocialReportReason, type SocialReportResponse, type SocialRequest, SocialService, type SolanaWithdrawalSignature, type SpecialApplyMultiplierResponse, SpecialChoiceMode, type SpecialChooseResponse, type SpecialClaimResponse, type SpecialModeOfferData, type SpecialPendingState, type SpendRewardDefinition, type SpendTokensBatchResponse, type SsoCodeFromUrl, type StatDefinition, type StatRequirement, type StatsPreset, StoreAction, type StoreAvailability, type StoreDefinition, type StoreDefinitions, type StoreIdentity, type StoreLayout, type StoreOfferAvailability, type StoreOfferDefinition, type StoreOfferPricing, type StoreOfferReward, type StoreOfferStateView, type StorePurchaseRef, type StorePurchaseResponse, type StorePurchaseState, type StoreRequest, StoreRotationMode, type StoreRotationPurchaseState, type StoreSectionDefinition, StoreService, type StoreSlotDefinition, type StoreSlotPoolEntry, type StoreSlotRotation, StoreType, type StoredLocalizationTable, type StorefrontOfferView, type StorefrontPriceOptionView, type StorefrontSectionView, type StorefrontSlotView, type StorefrontView, type SubmitScoreResponse, type SubmitScoresBatchResponse, type SuccessResponse, type TelegramInvoiceResponse, TimedBoostAction, type TimedBoostDefinitions, type TimedBoostRequest, TimedBoostService, TimedBoostStackingPolicy, TimedEventAction, type TimedEventDefinitions, type TimedEventGrantRef, type TimedEventInstanceRef, type TimedEventMilestoneRef, type TimedEventRequest, TimedEventService, type TimedEventSpendRef, TitleAction, TitleConfig, TitleCustomDataAction, type TitleCustomDataDefinitions, type TitleCustomDataKeyDefinition, type TitleCustomDataRecord, type TitleCustomDataRequest, TitleCustomDataService, TitleDataBucket, TitleDataScope, type TitlePublicConfigurationModel, type TitleRequest, TitleService, type TokenCurrencyStats, type TokenStatsContainer, type TokenTransactionDocument, type TokenWithdrawalResponse, TradeOfferStatus, TransactionDirection, type TransactionHistoryResponse, type TriggerContext, type TriggerSource, TutorialAction, type TutorialAvailability, type TutorialBlockingPolicy, TutorialBoardAction, type TutorialBoardScript, type TutorialClaimResponse, type TutorialDefinitions, type TutorialFlowBatchResponse, type TutorialFlowDefinition, type TutorialFlowPolicy, type TutorialFlowResponse, TutorialFlowStatus, type TutorialFlowView, type TutorialGateCondition, TutorialGateMode, type TutorialGlobalSettings, type TutorialIdentity, type TutorialPresetBindings, type TutorialPresetRegistry, type TutorialRequest, TutorialRestartPolicy, type TutorialReward, TutorialScriptModule, type TutorialScriptedOutcome, type TutorialStepCompletion, TutorialStepCompletionMode, type TutorialStepDefinition, type TutorialStepEffects, type TutorialStepIdentity, type TutorialStepPolicy, type TutorialStepProgress, TypedEmitter, type UnequipAllCharactersResponse, type UnequipItemsResponse, type UnequipSkinResponse, type UnlockCharacterResponse, type UnlockCharactersBatchResponse, type UnlockSkinResponse, type UnstackableItemInstanceState, type Unsubscribe, type UpdateMatchResponse, type UpgradeCharacterLevelResponse, type UpgradeCharacterLevelsBatchResponse, type UpgradeItemLevelResponse, type UpgradeLevelsBatchResponse, type UpgradeLevelsOptions, type UpgradeStatLevelResponse, type UpgradeStatLevelsBatchResponse, type UsagePeriodRecord, type UsageReactivationEvent, type UsageTimeStats, type UseCollectibleJokerResponse, UserAction, type UserAdvertisingState, type UserBlockchainState, type UserBlockchainStateResponse, type UserCharactersState, type UserChatChannelState, type UserChatLimitState, type UserChatState, type UserClaimRewardState, type UserCollectionState, type UserComebackState, type UserCommunityChestState, type UserCoopEventState, type UserCryptoComplianceCounters, type UserCryptoCurrencyState, UserCustomDataAction, type UserCustomDataBatchDeleteItem, type UserCustomDataBatchSetItem, type UserCustomDataDefinitions, type UserCustomDataKeyDefinition, type UserCustomDataRecord, type UserCustomDataRequest, UserCustomDataService, type UserCustomDataState, type UserDailyCalendarState, type UserDailyCounters, UserData, type UserDealNodeLifetimeCounts, type UserDealNodeState, type UserDealOfferActivationState, type UserDealOfferHistory, type UserDealOffersState, type UserDealOffersStateResponse, type UserDealSlotState, type UserDealTrackState, type UserDepositAddress, type UserEventTokenProgress, type UserEventTokensState, type UserGameLoopsState, type UserIdleAccrualState, type UserInventoryState, type UserKycState, type UserLeaderboardProgress, type UserLeaderboardsState, type UserLootboxPityCounter, type UserLootboxState, type UserMailboxState, type UserMarketplaceState, type UserMatchCreationLimitState, type UserMatchState, type UserPremiumState, type UserPublicDataModel, type UserPurchaseState, type UserQuestCycleState, type UserQuestObjectiveProgress, type UserQuestProgress, type UserQuestState, type UserReferralState, type UserReferralStateResponse, type UserRequest, type UserRewardState, type UserRewardsStateResponse, type UserSeasonState, type UserSeasonStateResponse, type UserSeasonsState, UserService, type UserSocialState, type UserState, type UserStateSlice, type UserStateVersions, type UserStoreState, type UserTimedBoostsState, type UserTimedEventStateResponse, type UserTutorialFlowState, type UserTutorialState, type UserTutorialStepState, type UserUsageState, type UserVirtualCurrencyState, type VirtualCurrencyDefinition, type VirtualCurrencyEconomy, type VirtualCurrencyPermissions, type WalletChallengeResponse, WalletLinkType, type WithdrawalSignatureResponse, type WithdrawalSplit, WorkshopAccessMode, type WorkshopAccessOption, type WorkshopAccessOptionInput, type WorkshopAccessState, WorkshopAccessVia, type WorkshopAcquireResponse, WorkshopAction, type WorkshopBeginUploadResponse, type WorkshopBrowseQuery, type WorkshopBrowseResponse, type WorkshopCollection, type WorkshopCollectionResponse, type WorkshopCollectionView, type WorkshopContentMutationResponse, type WorkshopContentResponse, type WorkshopContentStats, WorkshopContentStatus, type WorkshopContentType, type WorkshopContentView, type WorkshopCreatorProfileResponse, type WorkshopDefinitions, type WorkshopDefinitionsResponse, type WorkshopDownloadFile, type WorkshopDownloadResponse, type WorkshopDownloadedFile, type WorkshopFileData, type WorkshopFileDeclaration, type WorkshopFileRole, WorkshopHoldingMatch, WorkshopHoldingMode, type WorkshopHoldingPolicy, type WorkshopHoldingRequirement, type WorkshopHoldingRule, WorkshopLicenseSource, type WorkshopLicenseView, type WorkshopLicensesResponse, type WorkshopLimits, type WorkshopModerationSettings, type WorkshopPublishFile, type WorkshopPublishInput, type WorkshopPublishResponse, type WorkshopRequest, WorkshopService, WorkshopSort, type WorkshopUploadTarget, WorkshopVisibility, beginSsoRedirect, claimedMilestoneIDs, createIDosGamesClient, curveMultiplier, describeUserAgent, evaluateCurve, grantedPremiumTiers, isAIGenerationTerminal, isCurveConfigured, isFail, isMilestoneClaimed, isOk, isReservedSlot, normalizeBlockchainCategory, parseAIErrorCode, readSsoCodeFromUrl, roundAmount, where, zPaymentProof, zPriceOption, zPriceOptions };
12319
+ export { AIAction, type AIAudioInput, type AIChatMessage, AIErrorCode, type AIGenerateOptions, type AIGenerationAssetView, type AIGenerationErrorView, type AIGenerationListView, AIGenerationStatus, type AIGenerationView, type AIHistoryQuery, type AIImageEditInput, type AIImageInput, type AIInputImage, AIModality, type AIMusicInput, type AIPublicDefinitions, type AIPublicFeature, type AIRequest, AIService, type AITextInput, type AIThreeDInput, type AIVideoInput, type AIWaitOptions, type AcceptTradeOfferResponse, AcquisitionCapture, type ActivateReferralCodeResponse, type ActivateTimedBoostResponse, type ActiveBoostWindowInfo, type ActiveCoopEventInfo, type ActiveDealSlotInfo, type ActiveEventInfo, type ActiveSeasonInfo, type ActiveTimedBoost, type AdConsentSettings, type AdConsentState, type AdCreditsData, type AdDailyData, type AdFraudFlags, type AdFrequencyCappingSettings, type AdPendingRequest, type AdPlacementDefinition, type AdPlacementUserState, type AdProviderDefinition, AdProviderKind, type AdSessionData, AdType, type AdUnitConfig, type AdVerificationSettings, type AddQuestProgressResponse, type AdvertisingDefinitions, AnalyticsAction, type AnalyticsClientContext, type AnalyticsDefinitions, type AnalyticsDimensionDefinition, AnalyticsDropReason, type AnalyticsEventDefinition, type AnalyticsEventInput, AnalyticsEventNaming, AnalyticsLimits, type AnalyticsParamValue, type AnalyticsParams, type AnalyticsRequest, AnalyticsService, type AppOpenSettings, AttackOutcome, type AttackResponse, type AttributionInput, type AuthContext, type AuthOptionsResponse, AuthType, AuthenticationAction, type AuthenticationRequest, AuthenticationService, AutomaticEvent, BannerPosition, type BannerSettings, type BaseRequest, type BatchDeleteUserCustomDataResponse, type BatchGetPublicUserCustomDataResponse, type BatchItemResult, type BatchResponse, type BatchSetUserCustomDataResponse, type BattleResult, type BattleStepConfig, type BlockchainAccountSafetyPolicy, BlockchainAction, type BlockchainConfigResponse, type BlockchainDefinitions, type BlockchainNetworkDefinition, BlockchainNetworkType, type BlockchainNftCollectionBinding, BlockchainOperationCategory, type BlockchainPlayAccessPolicy, type BlockchainRequest, BlockchainService, type BlockchainStats, type BlockchainSystemState, BlockchainTransactionStatus, BlockchainTransactionType, type BoardLoopDefinition, type BoardLoopState, type BoardPendingInteraction, type BoardRollResponse, BodyPart, type BoostTriggerCounter, BoostWindowKind, BroadcastStatus, type BuildResponse, type BuildingState, type CancelMatchResponse, type CancelTradeOfferResponse, type ChangeUsernameResponse, CharacterAction, type CharacterClassification, type CharacterDefinition, type CharacterDefinitions, type CharacterEquipment, type CharacterEquipmentSlot, type CharacterIdentity, type CharacterLevelRef, type CharacterModel, type CharacterRankLadder, type CharacterRequest, CharacterService, type CharacterSkinDefinition, type CharacterSkinItem, type CharacterSkinRequirements, type CharacterSkinSale, type CharacterSkinView, type CharacterSkins, type CharacterSkinsView, type CharacterStatRef, type CharacterUnequipResult, type CharacterUnlock, ChatAction, ChatAuthorType, ChatBlockedTermAction, type ChatChannelAvailability, type ChatChannelDefinition, type ChatChannelIdentity, type ChatChannelPresetBindings, type ChatChannelRetention, ChatChannelType, type ChatChannelView, type ChatChannelWriteRules, type ChatChannelsResponse, type ChatConversationView, type ChatConversationsResponse, type ChatCursor, type ChatDefinitions, ChatDirectAudience, type ChatDirectChannelResponse, type ChatHistoryResponse, type ChatMessageView, type ChatModerationSettings, ChatPartitioning, type ChatPollResponse, type ChatPollingSettings, type ChatPresetRegistry, ChatReportReason, type ChatReportResponse, type ChatRequest, type ChatRoomUpdate, type ChatSendResponse, type ChatStateResponse, CheckoutService, type ClaimAllRewardsBatchResponse, type ClaimAllRewardsResult, type ClaimComebackRewardResponse, type ClaimCycleRewardResponse, type ClaimCycleRewardsBatchResponse, type ClaimDailyRewardResponse, type ClaimDealMilestoneResponse, type ClaimDealMilestonesBatchResponse, type ClaimGrandPrizeResponse, type ClaimGroupCompletionRewardResponse, type ClaimInviteRewardResponse, type ClaimInviteRewardsBatchResponse, type ClaimLeaderboardMilestoneResponse, type ClaimLeaderboardMilestonesBatchResponse, type ClaimMilestoneRewardResponse, type ClaimMilestoneRewardsBatchResponse, type ClaimMilestonesBatchResponse, type ClaimQuestRewardResponse, type ClaimQuestRewardsBatchResponse, type ClaimRewardResponse, type ClaimSetRewardResponse, type ClaimSetRewardsBatchResponse, type ClaimTierRewardResponse, type ClaimTierRewardsBatchResponse, ClientPlatform, type ClientState, CloudCodeAction, CloudCodeErrorCode, type CloudCodeLogEntry, CloudCodeLogLevel, type CloudCodeRequest, CloudCodeRevisionSelection, CloudCodeService, type CodeExecutionError, type CollectIdleAccrualResponse, CollectionAction, type CollectionDefinitions, type CollectionGlobalSettings, type CollectionRequest, CollectionService, type CollectionSetRef, type CollectionTradeOfferDocument, CommissionSink, type CommunityAccrualLine, type CommunityCampaignSummary, type CommunityChestClaimResponse, type CommunityChestGroupDocument, type CommunityChestGroupStateResponse, type CommunityChestHistoryEntry, type CommunityChestLeaveResponse, type CommunityChestMember, CommunityChestMemberStatus, type CommunityChestSharedState, CommunityChestStatus, type CommunityChestUserStateResponse, type CommunityClaimResponse, CommunityCreatorStatus, type CommunityEarningsLine, type CommunityEarningsResponse, type CommunityEligibilityCondition, type CommunityEligibilityResponse, CommunityMarketingAction, type CommunityMarketingRequest, type CommunityMarketingState, CommunityMetricKind, CommunityParticipationMode, CommunityPayoutCurrencyKind, type CommunityPayoutSummary, type CommunitySolanaWithdrawalSignature, type CommunityWithdrawalResponse, type ConfirmWithdrawalResponse, type ConversionDailyCounter, ConversionRateMode, type ConversionTarget, type ConvertResponse, type CoopBuildObjectsMemberState, type CoopBuildObjectsState, type CoopClaimRewardResponse, CoopEventAction, type CoopEventDefinitions, type CoopEventRequest, CoopEventService, type CoopGroupDocument, type CoopGroupMember, type CoopGroupStateResponse, CoopGroupStatus, type CoopLeaveGroupResponse, CoopMemberStatus, type CoopPartnerObjectState, type CoopSpinResponse, type CoopUserStateResponse, CraftAction, type CraftBurnedInstance, type CraftDefinition, type CraftDefinitions, type CraftDefinitionsResponse, CraftInputSelectionMode, CraftOutputLevelMode, CraftOutputLevelOverflow, type CraftRequest, type CraftResponse, CraftService, type CraftSingleResult, CraftType, type CreateMatchResponse, type CryptoConvertResponse, type CryptoCurrencyDefinition, type CryptoCurrencyPermissions, type CryptoLimits, type CryptoNetworkBinding, type CryptoShortfall, CurrencyAction, type CurrencyAudit, type CurrencyConversion, type CurrencyDefinitions, type CurrencyRequest, CurrencyService, CurrencyStatus, CurrencyType, CurveInterpolation, type CurvePoint, CurveShape, CustomDataBucket, CustomDataValueType, CustomDataWriter, type CyclicSchedule, DEFAULT_BASE_URL, type DailyUsageRecord, DataAccessMode, type DataAccessRule, type DataBatchOperation, type DataBatchResponse, type DataCollectionDefinition, DataCollectionKind, DataCollectionSchemaMode, DataCollectionsAction, type DataCollectionsRequest, DataCollectionsService, type DataCountResponse, DataCounterKind, type DataCounterResponse, type DataDefinitionsResponse, type DataDeleteResponse, type DataFieldDefinition, DataFieldType, DataFieldVisibility, type DataFileUploadResponse, type DataFileView, type DataFilter, type DataFilterOp, type DataGetManyResponse, type DataGetResponse, type DataItemView, type DataOperationEconomy, DataOwnerDeletedPolicy, type DataPublicViewDefinition, type DataPublicViewPage, type DataPublicViewPointer, type DataPublicViewsResponse, type DataQueryResponse, type DataQuerySpec, type DataReadOptions, type DataRecord, DataRefKind, type DataRefTarget, type DataRolesResponse, type DataSortKeyDefinition, type DataUpdateSpec, type DataWriteResponse, type DealAvailability, DealComparisonOperator, type DealIdentity, type DealMilestoneBlock, type DealMilestoneProgressInfo, type DealNodeActionDefinition, type DealNodeDefinition, type DealNodePresetBindings, type DealNodePricing, type DealNodeReward, DealNodeRuntimeStatus, DealNodeType, type DealNodeUnlockRules, DealOfferAction, DealOfferActivationStatus, type DealOfferDefinition, type DealOfferDefinitions, type DealOfferGraph, type DealOfferPresetBindings, type DealOfferPresetRegistry, type DealOfferRequest, DealOfferService, type DealOffersDefinitionResponse, type DealRewardedVideoActionDefinition, type DealSlotBehaviour, type DealSlotDefinition, type DealSlotPresetBindings, type DealSlotQueueEntry, type DealTrackChange, type DealTrackDefinition, type DealTrackRequirement, type DeclineTradeOfferResponse, type DepositNFTResponse, type DepositTokenResponse, type DeviceDescription, type DirectMessageSettings, type DismissDealResponse, type DonationResponse, type DroppedEvent, EVENT_NAME_PATTERN, EnvelopeType, type EquipItemsResponse, type EquipSkinResponse, type EquipSlotPair, type EquipmentPreset, type EquipmentSlot, type EquippedItem, type EventMap, type EventMilestoneClaimResponse, type EventTokenAddress, type EventTokenConversion, type EventTokenDefinition, type EventTokenGrantResponse, type EventTokenMilestoneData, type EventTokenOperation, type EventTokenSpendResponse, EventTokenType, type ExecuteCloudCodeResponse, type ExecuteNodeResponse, ExperimentAction, type ExperimentDefinition, type ExperimentDefinitions, type ExperimentGoal, ExperimentGoalKind, type ExperimentRequest, type ExperimentVariant, type ExperimentVariantCondition, ExperimentsService, FRIENDS_FROM_PLATFORM, type FodderConsumedEntry, FodderSelectionMode, FodderValuationMode, type FriendActionResponse, FriendActionStatus, type FriendPublicProfile, FriendSource, type FriendsListResponse, GameLoopAction, type GameLoopDefinitions, type GameLoopRequest, GameLoopService, type GetActiveBoostWindowsResponse, type GetActiveDealsResponse, type GetActiveEventsResponse, type GetActiveTimedBoostsResponse, type GetCharacterSkinsResponse, type GetCharactersResponse, type GetExperimentsResponse, type GetLeaderboardResponse, type GetLeaderboardsBatchResponse, type GetMatchDefinitionsResponse, type GetMilestoneRewardMultiplierResponse, type GetMyProgressResponse, type GetMyUserCustomDataResponse, type GetOverviewBatchResponse, type GetProgressBatchResponse, type GetPublicTitleDataResponse, type GetPublicUserCustomDataResponse, type GetStorefrontResponse, type GetTradeOffersResponse, type GetUserQuestStateResponse, type GetUserTutorialStateResponse, type GrantStatusTokensResponse, type GrantTokensBatchResponse, type GrantedCollectible, type HeistCell, IDosGamesClient, type IDosGamesClientConfig, IDosGamesData, type IDosGamesSettings, type IapProductDefinition, type IapProductPurchaseState, type IapProductRules, IapProductType, IapPurchaseStatus, type IapStore, IapStore$1 as IapStoreValues, type IceServer, type InboxBadgeResponse, type InboxResponse, type InstantBattleDefinitions, type InstantBattleResponse, type InstantBattleRule, type InterstitialSettings, type InventoryDelta, ItemAction, type ItemCatalog, type ItemDefinition, type ItemDefinitions, type ItemEquipment, type ItemMetadata, type ItemRequest, ItemService, type ItemStats, type ItemTotals, type ItemUpgrade, type ItemUpgradeFodder, type ItemUpgradeRef, type JsonValue, KeyValueStorage, KycStatus, KycTier, LeaderboardAction, type LeaderboardDefinitions, type LeaderboardMilestoneRef, type LeaderboardOverview, type LeaderboardRequest, type LeaderboardScoreRef, LeaderboardService, type LeaderboardUserEntry, type LeaveRoomResponse, type LevelsPreset, type LimitSpec, type LinkedWalletInfo, type Listener, LocalizationAction, LocalizationCache, type LocalizationDefinitions, type LocalizationLocaleDefinition, type LocalizationLocaleInfo, type LocalizationManifestResponse, LocalizationMissingKeyMode, type LocalizationParams, type LocalizationRequest, LocalizationService, type LocalizationState, type LocalizationTableRef, type LocalizationTableResponse, type LogEventsResponse, LootboxAction, type LootboxAmountRange, type LootboxDefinitions, type LootboxDefinitionsResponse, type LootboxGlobalSettings, type LootboxOpenResponse, type LootboxPityRule, type LootboxPityTriggerResponse, type LootboxRequest, type LootboxRewardRoll, type LootboxRewardSlot, LootboxService, type LootboxSupplyRule, type MailboxBroadcastDocument, type MailboxDefinition, type MailboxMessageDocument, MailboxMessageSource, MailboxMessageStatus, type MailboxMessageTypeDefinition, type MailboxSegmentDefinition, MarketGoodsType, MarketOfferStatus, MarketOfferType, MarketplaceAction, type MarketplaceActionCounter, type MarketplaceAuctionSettings, type MarketplaceAuctionState, type MarketplaceBidRefund, type MarketplaceBrowseResponse, type MarketplaceBuyOrderSettings, type MarketplaceCommissionOverride, type MarketplaceCommissionPolicy, type MarketplaceCreateOfferResponse, type MarketplaceDefinitions, type MarketplaceDirectTradeSettings, type MarketplaceGetDefinitionsResponse, type MarketplaceGroupedOfferView, type MarketplaceGroupedOffersResponse, type MarketplaceHistoryEntryView, type MarketplaceHistoryResponse, type MarketplaceListingSettings, type MarketplaceMatchingSettings, type MarketplaceMyStateResponse, type MarketplaceOfferResponse, type MarketplaceOfferView, type MarketplacePlaceBidResponse, type MarketplacePricePolicy, type MarketplaceRequest, MarketplaceService, type MarketplaceSettlementResponse, type MarketplaceTradabilityPolicy, MatchAction, type MatchDefinitions, type MatchRequest, MatchService, MatchStatus, type MatchesPageResponse, type MilestoneClaimEntry, type MilestoneClaimRef, type MilestoneDefinition, MultiplayerAction, MultiplayerChatMode, type MultiplayerDefinitions, type MultiplayerRequest, MultiplayerService, type MultiplayerSystemState, MultiplayerTopology, type NFTModel, type NFTNetworkBinding, type NFTTransactionDocument, type NFTWithdrawalResponse, type NftCollectionStats, type NftStatsContainer, OFFER_NOT_IN_ROTATION, type OpenCollectionChestResponse, type OpenPackResponse, type OperationFailure, type OperationFailureReason, type OperationResult, type OperationSuccess, type PackOpenResult, type PaymentProof, type PaymentRequirement, type PendingWithdrawalRef, PlatformAdapter, type PlatformBlockchainState, type PlatformBridgeDefinitions, PlatformFriendsMode, type PlatformLoginResponse, PlatformProfileMode, type PlayAccessInfoResponse, PlayAccessMode, type PlayAccessState, type PlayAccessStatus, type PlayAccessWallet, type PlayerEconomyTuningState, PlayerExperimentStatus, type PlayerExperimentView, PlaytimeTracker, type PollResponse, PremiumAction, type PremiumAdReduction, type PremiumDefinitions, type PremiumDefinitionsResponse, type PremiumPurchaseResponse, type PremiumRequest, PremiumService, type PremiumStateResponse, type PremiumSubscription, type PriceOption, type PriceOptions, type PublishResponse, PurchaseAction, type PurchaseBatchResponse, type PurchaseDefinitions, type PurchaseReceiptRef, type PurchaseRequest, PurchaseService, type PurchaseValidationBatchResponse, type PurchaseValidationResponse, PushAction, type PushConfigResponse, PushPermissionState, type PushRequest, type PushSubscribeOptions, type PushSubscribeResult, type PushSubscriptionListResponse, type PushSubscriptionView, PushTopic, type PushTopicView, PushTransport, type PvPMatch, QuestAction, type QuestAvailability, type QuestClaimRef, type QuestCycleDefinition, type QuestDefinition, type QuestDefinitions, type QuestGroupCompletionDefinition, type QuestIdentity, type QuestLinking, type QuestObjectiveDefinition, QuestObjectiveSource, type QuestPhaseDefinition, type QuestPointsTrackView, QuestPrerequisiteMode, type QuestPresetBindings, type QuestPresetRegistry, type QuestProgressUpdate, type QuestRequest, type QuestReward, QuestService, QuestStatus, RaidMode, type RaidResponse, type RealtimeEnvelope, type RechargeConfig, type RecordShowResponse, ReferralAction, type ReferralDefinitions, type ReferralDefinitionsResponse, type ReferralInviteRewardState, type ReferralRequest, ReferralService, type RelativeWindow, type ResourceBundle, type ResourceConsume, type ResourceDualPartyResult, type ResourceEntry, ResourceEntryType, type ResourceGrant, type ResourceOperation, type ResourceTransferResult, type RetryWithdrawalResponse, RewardAction, type RewardDefinitions, type RewardDefinitionsResponse, type RewardRequest, RewardService, type RewardedVideoSettings, type RollActionData, type RoomListItem, type RoomMemberView, type RoomSnapshotResponse, RoomVisibility, type RoomsPageResponse, SKIN_ALREADY_OWNED, SKIN_SLOT, type ScalarCurveSpec, type ScheduleChain, type ScheduleChainPhase, ScheduleMode, type ScheduleSpec, type ScheduledWindow, type SdkEvents, SeasonAction, type SeasonDefinitions, type SeasonRequest, SeasonService, type SeasonTierRewardBundle, type SeasonTierRewardMultiplier, type SeasonTierRewardSet, type SegmentGate, type SendTradeOfferResponse, type SetUserCustomDataResponse, type SettingsInput, SocialAction, type SocialActorPage, type SocialActorSnapshot, type SocialActorView, type SocialCommentDeleteResponse, type SocialCommentPage, type SocialCommentView, SocialContentStatus, type SocialCounters, type SocialCounts, type SocialCursor, type SocialDefinitions, type SocialEntityState, type SocialEntityStatesResponse, SocialEntityType, type SocialInboxItem, SocialInboxVerb, SocialReactionKind, type SocialReactionPage, type SocialReactionView, SocialReportReason, type SocialReportResponse, type SocialRequest, SocialService, type SolanaWithdrawalSignature, type SpecialApplyMultiplierResponse, SpecialChoiceMode, type SpecialChooseResponse, type SpecialClaimResponse, type SpecialModeOfferData, type SpecialPendingState, type SpendRewardDefinition, type SpendTokensBatchResponse, type SsoCodeFromUrl, type StatDefinition, type StatRequirement, type StatsPreset, StoreAction, type StoreAvailability, type StoreDefinition, type StoreDefinitions, type StoreIdentity, type StoreLayout, type StoreOfferAvailability, type StoreOfferDefinition, type StoreOfferPricing, type StoreOfferReward, type StoreOfferStateView, type StorePurchaseRef, type StorePurchaseResponse, type StorePurchaseState, type StoreRequest, StoreRotationMode, type StoreRotationPurchaseState, type StoreSectionDefinition, StoreService, type StoreSlotDefinition, type StoreSlotPoolEntry, type StoreSlotRotation, StoreType, type StoredLocalizationTable, type StorefrontOfferView, type StorefrontPriceOptionView, type StorefrontSectionView, type StorefrontSlotView, type StorefrontView, type SubmitScoreResponse, type SubmitScoresBatchResponse, type SuccessResponse, type TelegramInvoiceResponse, TimedBoostAction, type TimedBoostDefinitions, type TimedBoostRequest, TimedBoostService, TimedBoostStackingPolicy, TimedEventAction, type TimedEventDefinitions, type TimedEventGrantRef, type TimedEventInstanceRef, type TimedEventMilestoneRef, type TimedEventRequest, TimedEventService, type TimedEventSpendRef, TitleAction, TitleConfig, TitleCustomDataAction, type TitleCustomDataDefinitions, type TitleCustomDataKeyDefinition, type TitleCustomDataRecord, type TitleCustomDataRequest, TitleCustomDataService, TitleDataBucket, TitleDataScope, type TitlePublicConfigurationModel, type TitleRequest, TitleService, type TokenCurrencyStats, type TokenStatsContainer, type TokenTransactionDocument, type TokenWithdrawalResponse, TradeOfferStatus, TransactionDirection, type TransactionHistoryResponse, type TriggerContext, type TriggerSource, TutorialAction, type TutorialAvailability, type TutorialBlockingPolicy, TutorialBoardAction, type TutorialBoardScript, type TutorialClaimResponse, type TutorialDefinitions, type TutorialFlowBatchResponse, type TutorialFlowDefinition, type TutorialFlowPolicy, type TutorialFlowResponse, TutorialFlowStatus, type TutorialFlowView, type TutorialGateCondition, TutorialGateMode, type TutorialGlobalSettings, type TutorialIdentity, type TutorialPresetBindings, type TutorialPresetRegistry, type TutorialRequest, TutorialRestartPolicy, type TutorialReward, TutorialScriptModule, type TutorialScriptedOutcome, type TutorialStepCompletion, TutorialStepCompletionMode, type TutorialStepDefinition, type TutorialStepEffects, type TutorialStepIdentity, type TutorialStepPolicy, type TutorialStepProgress, TypedEmitter, type UnequipAllCharactersResponse, type UnequipItemsResponse, type UnequipSkinResponse, type UnlockCharacterResponse, type UnlockCharactersBatchResponse, type UnlockSkinResponse, type UnstackableItemInstanceState, type Unsubscribe, type UpdateMatchResponse, type UpgradeCharacterLevelResponse, type UpgradeCharacterLevelsBatchResponse, type UpgradeItemLevelResponse, type UpgradeLevelsBatchResponse, type UpgradeLevelsOptions, type UpgradeStatLevelResponse, type UpgradeStatLevelsBatchResponse, type UsagePeriodRecord, type UsageReactivationEvent, type UsageTimeStats, type UseCollectibleJokerResponse, UserAction, type UserAdvertisingState, type UserBlockchainState, type UserBlockchainStateResponse, type UserCharactersState, type UserChatChannelState, type UserChatLimitState, type UserChatState, type UserClaimRewardState, type UserCollectionState, type UserComebackState, type UserCommunityChestState, type UserCoopEventState, type UserCryptoComplianceCounters, type UserCryptoCurrencyState, UserCustomDataAction, type UserCustomDataBatchDeleteItem, type UserCustomDataBatchSetItem, type UserCustomDataDefinitions, type UserCustomDataKeyDefinition, type UserCustomDataRecord, type UserCustomDataRequest, UserCustomDataService, type UserCustomDataState, type UserDailyCalendarState, type UserDailyCounters, UserData, type UserDealNodeLifetimeCounts, type UserDealNodeState, type UserDealOfferActivationState, type UserDealOfferHistory, type UserDealOffersState, type UserDealOffersStateResponse, type UserDealSlotState, type UserDealTrackState, type UserDepositAddress, type UserEventTokenProgress, type UserEventTokensState, type UserGameLoopsState, type UserIdleAccrualState, type UserInventoryState, type UserKycState, type UserLeaderboardProgress, type UserLeaderboardsState, type UserLootboxPityCounter, type UserLootboxState, type UserMailboxState, type UserMarketplaceState, type UserMatchCreationLimitState, type UserMatchState, type UserPremiumState, type UserPublicDataModel, type UserPurchaseState, type UserQuestCycleState, type UserQuestObjectiveProgress, type UserQuestProgress, type UserQuestState, type UserReferralState, type UserReferralStateResponse, type UserRequest, type UserRewardState, type UserRewardsStateResponse, type UserSeasonState, type UserSeasonStateResponse, type UserSeasonsState, UserService, type UserSocialState, type UserState, type UserStateSlice, type UserStateVersions, type UserStoreState, type UserTimedBoostsState, type UserTimedEventStateResponse, type UserTutorialFlowState, type UserTutorialState, type UserTutorialStepState, type UserUsageState, type UserVirtualCurrencyState, type VirtualCurrencyDefinition, type VirtualCurrencyEconomy, type VirtualCurrencyPermissions, type WalletChallengeResponse, WalletGateBalanceSource, type WalletGatedBalance, type WalletLinkResponse, WalletLinkType, type WalletPlayTokenGate, type WithdrawalSignatureResponse, type WithdrawalSplit, WorkshopAccessMode, type WorkshopAccessOption, type WorkshopAccessOptionInput, type WorkshopAccessState, WorkshopAccessVia, type WorkshopAcquireResponse, WorkshopAction, type WorkshopBeginUploadResponse, type WorkshopBrowseQuery, type WorkshopBrowseResponse, type WorkshopCollection, type WorkshopCollectionResponse, type WorkshopCollectionView, type WorkshopContentMutationResponse, type WorkshopContentResponse, type WorkshopContentStats, WorkshopContentStatus, type WorkshopContentType, type WorkshopContentView, type WorkshopCreatorProfileResponse, type WorkshopDefinitions, type WorkshopDefinitionsResponse, type WorkshopDownloadFile, type WorkshopDownloadResponse, type WorkshopDownloadedFile, type WorkshopFileData, type WorkshopFileDeclaration, type WorkshopFileRole, WorkshopHoldingMatch, WorkshopHoldingMode, type WorkshopHoldingPolicy, type WorkshopHoldingRequirement, type WorkshopHoldingRule, WorkshopLicenseSource, type WorkshopLicenseView, type WorkshopLicensesResponse, type WorkshopLimits, type WorkshopModerationSettings, type WorkshopPublishFile, type WorkshopPublishInput, type WorkshopPublishResponse, type WorkshopRequest, WorkshopService, WorkshopSort, type WorkshopUploadTarget, WorkshopVisibility, beginSsoRedirect, claimedMilestoneIDs, createIDosGamesClient, curveMultiplier, describeUserAgent, evaluateCurve, grantedPremiumTiers, isAIGenerationTerminal, isCurveConfigured, isFail, isMilestoneClaimed, isOk, isReservedSlot, normalizeBlockchainCategory, parseAIErrorCode, readSsoCodeFromUrl, roundAmount, where, zPaymentProof, zPriceOption, zPriceOptions };