@idosgames/core 0.26.0 → 0.26.2

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.
@@ -116,9 +116,17 @@ declare const AuthType: {
116
116
  readonly Wallet: "Wallet";
117
117
  };
118
118
  type AuthType = (typeof AuthType)[keyof typeof AuthType];
119
+ type PriceOption = { OptionID?: null | string; Name?: null | string; Cost?: null | ResourceConsume; AllowedPlatforms?: null | Array<'Unknown' | 'Web' | 'Android' | 'Ios'>; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
120
+ type PriceOptions = Record<string, PriceOption>;
121
+ type PaymentProof = { Store: 'GooglePlay' | 'AppleAppStore' | 'TelegramStars'; Receipt: string; Signature?: null | string; [key: string]: unknown; };
119
122
  type ConvertResponse = { ServerTimeUtc: string; SourceType: 'Virtual' | 'Crypto'; SourceID: string; TargetType: 'Virtual' | 'Crypto'; TargetID: string; SourceSpent: number; FeeAmount: number; RateApplied: string; TargetCredited: number; };
120
123
  type CryptoConvertResponse = { ServerTimeUtc: string; SourceType: 'Virtual' | 'Crypto'; SourceID: string; TargetType: 'Virtual' | 'Crypto'; TargetID: string; SourceSpent: string; FeeAmount: string; RateApplied: string; TargetCredited: string; };
124
+ type SpendResponse = { ServerTimeUtc: string; SpendID: string; Resources?: null | ResourceOperation; };
121
125
  interface CurrencyRequest extends BaseRequest {
126
+ /** Spend: the spend ID in `Currency.Spends` of the title config. */
127
+ SpendID?: string;
128
+ /** Spend: the price option (empty: the first one available on the client's platform). */
129
+ SelectedOptionID?: string;
122
130
  SourceType?: CurrencyType;
123
131
  SourceID?: string;
124
132
  TargetType?: CurrencyType;
@@ -130,6 +138,7 @@ interface CurrencyRequest extends BaseRequest {
130
138
  declare const CurrencyAction: {
131
139
  readonly Convert: "Convert";
132
140
  readonly CryptoConvert: "CryptoConvert";
141
+ readonly Spend: "Spend";
133
142
  };
134
143
  type CurrencyAction = (typeof CurrencyAction)[keyof typeof CurrencyAction];
135
144
  declare const CurrencyStatus: {
@@ -165,6 +174,17 @@ interface CurrencyDefinitions {
165
174
  CryptoIouForScriptsAndAI?: boolean | null;
166
175
  /** Repay IOUs lazily on withdrawal from the players' reward pool of that network (absent = on). */
167
176
  CryptoAutoRepayIouOnWithdrawal?: boolean | null;
177
+ /**
178
+ * Spends on actions of the game (a revive, other upgrade cards): the server only charges the price
179
+ * (`client.currency.spend`). The client names the spend, never the amount.
180
+ */
181
+ Spends?: Record<string, CurrencySpendDefinition> | null;
182
+ }
183
+ /** A spend on an action of the game; prices are virtual currencies, items or rewarded-video credit. */
184
+ interface CurrencySpendDefinition {
185
+ SpendID?: string | null;
186
+ DisplayName?: string | null;
187
+ PriceOptions?: Record<string, PriceOption> | null;
168
188
  }
169
189
 
170
190
  type JsonValue = string | number | boolean | null | JsonValue[] | {
@@ -277,9 +297,6 @@ interface UserEventTokensState {
277
297
  CoopEvent?: Record<string, UserEventTokenProgress>;
278
298
  Season?: Record<string, UserEventTokenProgress>;
279
299
  }
280
- type PriceOption = { OptionID?: null | string; Name?: null | string; Cost?: null | ResourceConsume; AllowedPlatforms?: null | Array<'Unknown' | 'Web' | 'Android' | 'Ios'>; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
281
- type PriceOptions = Record<string, PriceOption>;
282
- type PaymentProof = { Store: 'GooglePlay' | 'AppleAppStore' | 'TelegramStars'; Receipt: string; Signature?: null | string; [key: string]: unknown; };
283
300
  type ResourceEntry = { Type?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'RewardedVideoCredit' | 'Purchase' | 'PlatformCredits'; CurrencyID?: null | string; Amount?: null | number; AmountUsd?: null | number; CatalogID?: null | string; ItemID?: null | string; ProductID?: null | string; };
284
301
  type EventTokenAddress = { EntityID: string; Type?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; };
285
302
  type EventTokenOperation = { Address?: null | EventTokenAddress; Amount?: null | number; Source?: null | string; };
@@ -593,16 +610,39 @@ interface UserClaimRewardState {
593
610
  LastClaimAt?: string;
594
611
  [key: string]: unknown;
595
612
  }
613
+ /** A player's counters of one reward window (`Reward.Windows`). */
614
+ interface UserRewardWindowState {
615
+ /** UTC day of the counters below, `yyyyMMdd`. */
616
+ DayKey?: string;
617
+ ClaimsToday?: number;
618
+ /** Granted today, after the multiplier. */
619
+ AmountToday?: number;
620
+ TotalClaims?: number;
621
+ LastClaimAt?: string;
622
+ [key: string]: unknown;
623
+ }
596
624
  interface UserRewardState {
597
625
  DailyCalendars?: Record<string, UserDailyCalendarState>;
598
626
  IdleAccruals?: Record<string, UserIdleAccrualState>;
599
627
  Comebacks?: Record<string, UserComebackState>;
600
628
  Claims?: Record<string, UserClaimRewardState>;
629
+ Windows?: Record<string, UserRewardWindowState>;
601
630
  }
602
631
  type ClaimDailyRewardResponse = { ServerTimeUtc: string; CalendarID: string; DailyState: UserDailyCalendarState; DayNumber?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
603
632
  type CollectIdleAccrualResponse = { ServerTimeUtc: string; AccrualID: string; IdleState: UserIdleAccrualState; AccruedSeconds?: null | number; AppliedRatePerSecond?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
604
633
  type ClaimComebackRewardResponse = { ServerTimeUtc: string; ComebackID: string; ComebackState: UserComebackState; ClaimedTierIndex?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
605
634
  type ClaimRewardResponse = { ServerTimeUtc: string; ClaimID: string; ClaimState: UserClaimRewardState; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
635
+ /** How the player multiplies a reward window. The server decides whether the multiplier is earned. */
636
+ declare const RewardWindowBoost: {
637
+ /** "Claim": the base amount. */
638
+ readonly None: "None";
639
+ /** "x3 for an ad": needs a verified view of the window's rewarded placement. */
640
+ readonly Ad: "Ad";
641
+ /** "x5 VIP": needs an active premium subscription. */
642
+ readonly Vip: "Vip";
643
+ };
644
+ type RewardWindowBoost = (typeof RewardWindowBoost)[keyof typeof RewardWindowBoost];
645
+ type ClaimRewardWindowResponse = { ServerTimeUtc: string; WindowID: string; WindowState: UserRewardWindowState; Boost?: null | string; BaseAmount?: null | number; Multiplier?: null | number; Granted?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
606
646
  type GetMilestoneRewardMultiplierResponse = { Enabled: boolean; Multiplier?: null | number; Progress?: null | number; Source?: null | string; SourceKey?: null | string; };
607
647
  type TierRewardSettings = { RewardMode?: null | string; RewardStackLowerTiers?: null | boolean; [key: string]: unknown; };
608
648
  type DailyRewardDay = { DayNumber?: null | number; Rewards?: null | ResourceGrant; IsMilestone?: null | boolean; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
@@ -611,6 +651,7 @@ type DailyCalendarDefinition = { CalendarID?: null | string; DisplayName?: null
611
651
  type IdleAccrualDefinition = { AccrualID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Rate?: null | { BaseRatePerSecond?: null | number; PowerCoefficient?: null | number; BoardRankCoefficient?: null | number; EquipmentBonusEnabled?: null | boolean; EquipmentCharacterID?: null | string; PremiumMultipliers?: null | Array<{ MinPremiumTier?: null | number; RequiredPremiumID?: null | string; Multiplier?: null | number; [key: string]: unknown; }>; [key: string]: unknown; }; Rewards?: null | ResourceGrant; MaxAccumulationSeconds?: null | number; MinClaimSeconds?: null | number; Requirements?: null | { MinCharacterLevel?: null | number; RequirementsCharacterID?: null | string; Availability?: null | { Gate?: null | SegmentGate; Limits?: null | LimitSpec; [key: string]: unknown; }; RequiredItemIDs?: null | Array<string>; RequiredEquippedItemIDs?: null | Array<string>; [key: string]: unknown; }; FirstClaimMode?: null | string; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; [key: string]: unknown; };
612
652
  type ComebackRewardDefinition = { ComebackID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Tiers?: null | Array<{ MinAbsenceSeconds?: null | number; Rewards?: null | ResourceGrant; AssetPaths?: null | Record<string, string>; [key: string]: unknown; }>; ClaimCooldownSeconds?: null | number; ClaimWindowSeconds?: null | number; TrackPresenceOnRead?: null | boolean; Availability?: null | { Gate?: null | SegmentGate; Limits?: null | LimitSpec; [key: string]: unknown; }; Presets?: null | { Availability?: null | PresetBinding; [key: string]: unknown; }; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; [key: string]: unknown; };
613
653
  type ClaimRewardDefinition = { ClaimID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Mode?: null | string; Rewards?: null | ResourceGrant; PremiumLimitOverrides?: null | Array<{ MinPremiumTier?: null | number; RequiredPremiumID?: null | string; CooldownSeconds?: null | number; MaxClaimsPerWindow?: null | number; WindowSeconds?: null | number; TotalClaimLimit?: null | number; [key: string]: unknown; }>; Availability?: null | { Gate?: null | SegmentGate; Limits?: null | LimitSpec; [key: string]: unknown; }; Presets?: null | { Availability?: null | PresetBinding; [key: string]: unknown; }; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; [key: string]: unknown; };
654
+ type RewardWindowDefinition = { CurrencyID?: null | string; MaxBaseAmount?: null | number; AdPlacementID?: null | string; AdMultiplier?: null | number; VipMultiplier?: null | number; VipPremiumID?: null | string; Limits?: null | Record<string, unknown>; [key: string]: unknown; };
614
655
  interface RewardDefinitions {
615
656
  TierRewards?: TierRewardSettings | null;
616
657
  MilestoneRewardMultiplier?: RewardProgressionMultiplierSpec | null;
@@ -618,6 +659,7 @@ interface RewardDefinitions {
618
659
  IdleAccruals?: Record<string, IdleAccrualDefinition> | null;
619
660
  Comebacks?: Record<string, ComebackRewardDefinition> | null;
620
661
  Claims?: Record<string, ClaimRewardDefinition> | null;
662
+ Windows?: Record<string, RewardWindowDefinition> | null;
621
663
  Presets?: RewardPresetRegistry | null;
622
664
  }
623
665
  type RewardDefinitionsResponse = { RewardDefinitions?: null | RewardDefinitions; };
@@ -628,6 +670,13 @@ interface RewardRequest extends BaseRequest {
628
670
  ComebackID?: string;
629
671
  ClaimID?: string;
630
672
  ClaimIDs?: string[];
673
+ /** ClaimRewardWindow: the window id (`Reward.Windows`). */
674
+ WindowID?: string;
675
+ /** ClaimRewardWindow: the round's amount as the game counted it (the server caps it). */
676
+ Amount?: number;
677
+ Boost?: RewardWindowBoost;
678
+ /** ClaimRewardWindow with Boost "Ad": the RequestID of the verified view. */
679
+ AdRequestID?: string;
631
680
  }
632
681
  declare const RewardAction: {
633
682
  readonly GetRewardDefinitions: "GetRewardDefinitions";
@@ -638,6 +687,7 @@ declare const RewardAction: {
638
687
  readonly ClaimReward: "ClaimReward";
639
688
  readonly ClaimRewardsBatch: "ClaimRewardsBatch";
640
689
  readonly GetMilestoneRewardMultiplier: "GetMilestoneRewardMultiplier";
690
+ readonly ClaimRewardWindow: "ClaimRewardWindow";
641
691
  };
642
692
  type RewardAction = (typeof RewardAction)[keyof typeof RewardAction];
643
693
  type EventTokenConversion = { TargetCurrencyID?: null | string; Rate?: null | number; MaxConvertAmount?: null | number; [key: string]: unknown; };
@@ -3517,6 +3567,27 @@ interface ItemDefinitions {
3517
3567
  Catalogs?: Record<string, ItemCatalog> | null;
3518
3568
  }
3519
3569
 
3570
+ interface LookDefinitions {
3571
+ /** Theme colours by the UI kit's token name (`bgTop`, `panel`, `gold`…), `#rrggbb`. */
3572
+ Theme?: Record<string, string> | null;
3573
+ /** Corner radius of panels and cards, px (0..64). */
3574
+ Radius?: number | null;
3575
+ /** Corner radius of buttons, px (0..64). */
3576
+ ButtonRadius?: number | null;
3577
+ /** Ink outline around buttons and panels, px (0..8). */
3578
+ Outline?: number | null;
3579
+ /** Pattern over full screens (`gear`, `plain`, `dots`, `stars`…). */
3580
+ Background?: string | null;
3581
+ /** Animation speed, 1 = default (0.1..5). */
3582
+ MotionSpeed?: number | null;
3583
+ /** Strength of overshoots and bounces, 1 = default (0..3). */
3584
+ MotionIntensity?: number | null;
3585
+ /** Particle bursts on claims and purchases. */
3586
+ Particles?: boolean | null;
3587
+ /** Voice of the interface sounds (`classic`, `soft`, `retro`, `magic`, `sci-fi`, `wood`). */
3588
+ SoundSet?: string | null;
3589
+ }
3590
+
3520
3591
  /** Storage scope: who may write a record and whether it is cached server-side. */
3521
3592
  declare const TitleDataScope: {
3522
3593
  /** Authored configuration. Written by the publisher / AI Coder; cached with the title config. */
@@ -4042,6 +4113,13 @@ interface TitlePublicConfigurationModel {
4042
4113
  * requests exist at all. Use `client.social.friendRequestsAllowed()`.
4043
4114
  */
4044
4115
  PlatformBridge?: PlatformBridgeDefinitions | null;
4116
+ /**
4117
+ * The game constructor's game as JSON text (`@idosgames/game-kit` `validateSpec` reads it). A string
4118
+ * on purpose: the spec's schema lives in game-kit only, and unknown fields must reach the game intact.
4119
+ */
4120
+ GameSpec?: string | null;
4121
+ /** The interface look over the project's `src/ui.config.ts` (theme, corners, pattern, motion, sounds). */
4122
+ Look?: LookDefinitions | null;
4045
4123
  [key: string]: unknown;
4046
4124
  }
4047
4125
  interface TitleRequest extends BaseRequest {
@@ -5191,6 +5269,11 @@ interface AIRequest extends BaseRequest {
5191
5269
  * value). A server hook may override them.
5192
5270
  */
5193
5271
  Variables?: Record<string, string>;
5272
+ /**
5273
+ * GenerateFromTemplate only: the player's pictures by the input key of the feature's platform template
5274
+ * (`AIPublicFeature.PlatformTemplateId`), e.g. `{ face: { Base64: "..." } }`.
5275
+ */
5276
+ TemplateInputs?: Record<string, AIInputImage>;
5194
5277
  /**
5195
5278
  * Free-form context (e.g. `{ npcId: "guard_3" }`) stored with the generation and handed to the
5196
5279
  * feature's CloudCode handlers on completion or failure. At most 8 KB; keys without `.` and `$`.
@@ -5201,7 +5284,10 @@ type AIGenerationAssetView = { Url?: null | string; ContentType?: null | string;
5201
5284
  type AIGenerationErrorView = { Code?: null | string; Message?: null | string; };
5202
5285
  type AIGenerationView = { GenerationID: string; Status: string; CreditsConfirmation?: null | CreditsConfirmationView; FeatureKey?: null | string; Modality?: null | 'Text' | 'Image' | 'Video' | 'Audio' | 'Music' | 'ThreeD'; Progress?: null | number; OutputText?: null | string; OutputJson?: null | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean>; Assets?: null | Array<AIGenerationAssetView>; Error?: null | AIGenerationErrorView; Charge?: null | ResourceOperation; PlayerRefunded?: null | boolean; Reused?: null | boolean; Reward?: null | ResourceOperation; Context?: null | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean>; PaymentSettled?: null | boolean; CreatedAt?: null | string; UpdatedAt?: null | string; };
5203
5286
  type AIGenerationListView = { Data?: null | Array<AIGenerationView>; Skip?: null | number; Limit?: null | number; };
5204
- type AIPublicFeature = { Modality?: null | 'Text' | 'Image' | 'Video' | 'Audio' | 'Music' | 'ThreeD'; Async?: null | boolean; Limits?: null | LimitSpec; PriceOptions?: null | PriceOptions; Tags?: null | Array<string>; HistoryMessages?: null | number; MaxTokens?: null | number; AllowImages?: null | boolean; MaxInputImages?: null | number; MaxInputImageBytes?: null | number; AllowedImageTypes?: null | Array<string>; MaxImages?: null | number; AllowEdit?: null | boolean; AllowReferenceImage?: null | boolean; MaxPromptChars?: null | number; LockBehavior?: null | boolean; ImageSize?: null | string; VideoSize?: null | string; VideoSeconds?: null | number; Voice?: null | string; AudioFormat?: null | string; MusicFormat?: null | string; ThreeDOperation?: null | string; ThreeDAnimations?: null | Array<string>; Reward?: null | ResourceGrant; PromptVariables?: null | Array<{ Name?: null | string; Type?: null | string; Required?: null | boolean; MaxLength?: null | number; Enum?: null | Array<string>; [key: string]: unknown; }>; AllowFreePrompt?: null | boolean; [key: string]: unknown; };
5287
+ type AIPublicTemplateInput = { Key?: null | string; Role?: null | string; Required?: null | boolean; Label?: null | Record<string, string>; [key: string]: unknown; };
5288
+ type AIPublicTemplateVariable = { Name?: null | string; Type?: null | string; Required?: null | boolean; MaxLength?: null | number; Default?: null | string; Multiline?: null | boolean; Label?: null | Record<string, string>; Placeholder?: null | Record<string, string>; Choices?: null | Array<{ Value?: null | string; Label?: null | Record<string, string>; [key: string]: unknown; }>; [key: string]: unknown; };
5289
+ type AIPublicTemplate = { Id?: null | string; Kind?: null | string; Action?: null | string; IsTrend?: null | boolean; Category?: null | string; Order?: null | number; Name?: null | Record<string, string>; Description?: null | Record<string, string>; Preview?: null | { Url?: null | string; PosterUrl?: null | string; Type?: null | string; [key: string]: unknown; }; Inputs?: null | Array<AIPublicTemplateInput>; Variables?: null | Array<AIPublicTemplateVariable>; [key: string]: unknown; };
5290
+ type AIPublicFeature = { Modality?: null | 'Text' | 'Image' | 'Video' | 'Audio' | 'Music' | 'ThreeD'; Async?: null | boolean; Limits?: null | LimitSpec; PriceOptions?: null | PriceOptions; Tags?: null | Array<string>; HistoryMessages?: null | number; MaxTokens?: null | number; AllowImages?: null | boolean; MaxInputImages?: null | number; MaxInputImageBytes?: null | number; AllowedImageTypes?: null | Array<string>; MaxImages?: null | number; AllowEdit?: null | boolean; AllowReferenceImage?: null | boolean; MaxPromptChars?: null | number; LockBehavior?: null | boolean; ImageSize?: null | string; VideoSize?: null | string; VideoSeconds?: null | number; Voice?: null | string; AudioFormat?: null | string; MusicFormat?: null | string; ThreeDOperation?: null | string; ThreeDAnimations?: null | Array<string>; Reward?: null | ResourceGrant; PromptVariables?: null | Array<{ Name?: null | string; Type?: null | string; Required?: null | boolean; MaxLength?: null | number; Enum?: null | Array<string>; [key: string]: unknown; }>; AllowFreePrompt?: null | boolean; PlatformTemplateId?: null | string; PlatformTemplate?: null | AIPublicTemplate; FreePerDay?: null | number; FreeLeftToday?: null | number; [key: string]: unknown; };
5205
5291
  /** The title's AI features, returned by `getDefinitions()`. */
5206
5292
  interface AIPublicDefinitions {
5207
5293
  /** Master switch. `false` = every generate request fails. */
@@ -5237,6 +5323,8 @@ declare const AIAction: {
5237
5323
  readonly GetAudio: "GetAudio";
5238
5324
  /** Poll a music job. */
5239
5325
  readonly GetMusic: "GetMusic";
5326
+ /** A feature with `PlatformTemplateId`: the platform template's own action (image, edit, video, speech, music). */
5327
+ readonly GenerateFromTemplate: "GenerateFromTemplate";
5240
5328
  };
5241
5329
  type AIAction = (typeof AIAction)[keyof typeof AIAction];
5242
5330
 
@@ -5293,6 +5381,7 @@ interface SdkEvents {
5293
5381
  "user:accountDeleted": SuccessResponse;
5294
5382
  "user:usernameChanged": ChangeUsernameResponse;
5295
5383
  "currency:converted": ConvertResponse;
5384
+ "currency:spent": SpendResponse;
5296
5385
  "currency:cryptoConverted": CryptoConvertResponse;
5297
5386
  "item:levelUpgraded": UpgradeItemLevelResponse;
5298
5387
  "item:levelsUpgradedBatch": UpgradeLevelsBatchResponse;
@@ -5310,6 +5399,7 @@ interface SdkEvents {
5310
5399
  "reward:idleCollected": CollectIdleAccrualResponse;
5311
5400
  "reward:comebackClaimed": ClaimComebackRewardResponse;
5312
5401
  "reward:claimed": ClaimRewardResponse;
5402
+ "reward:windowClaimed": ClaimRewardWindowResponse;
5313
5403
  "reward:milestoneMultiplierLoaded": GetMilestoneRewardMultiplierResponse;
5314
5404
  "quest:definitionsLoaded": QuestDefinitions;
5315
5405
  "quest:userStateLoaded": UserQuestState;
@@ -5860,6 +5950,7 @@ declare class UserData {
5860
5950
  patchIdleAccrualState(accrualID: string, newState: UserIdleAccrualState): void;
5861
5951
  patchComebackState(comebackID: string, newState: UserComebackState): void;
5862
5952
  patchClaimRewardState(claimID: string, newState: UserClaimRewardState): void;
5953
+ patchRewardWindowState(windowID: string, newState: UserRewardWindowState): void;
5863
5954
  applyQuest(data: UserQuestState | null): void;
5864
5955
  patchQuestStatus(questID: string, cycleID: string | null | undefined, status: QuestStatus): void;
5865
5956
  /** Claimed points-milestone state lives in the Quest event-token bucket (one entry per milestone). */
@@ -6384,6 +6475,16 @@ declare class UserService {
6384
6475
  declare class CurrencyService {
6385
6476
  private readonly ctx;
6386
6477
  constructor(ctx: ClientContext);
6478
+ /**
6479
+ * Pays for an action of the game (a revive, other upgrade cards) with the price of `spendID` from
6480
+ * `Currency.Spends` in the title config. The server charges, nothing is granted; do the action once
6481
+ * this succeeds. Pass the same `relatedEntityID` on a retry (a double tap, a timeout): the server then
6482
+ * answers paid without charging again.
6483
+ */
6484
+ spend(spendID: string, options?: {
6485
+ selectedOptionID?: string;
6486
+ relatedEntityID?: string;
6487
+ }): Promise<OperationResult<SpendResponse>>;
6387
6488
  /** VC↔VC conversion. */
6388
6489
  convert(sourceType: CurrencyType, sourceID: string, targetType: CurrencyType, targetID: string, sourceAmount: number, transactionID?: string): Promise<OperationResult<ConvertResponse>>;
6389
6490
  /** Conversion involving at least one crypto currency. */
@@ -6836,6 +6937,19 @@ declare class RewardService {
6836
6937
  collectIdleAccrual(accrualID: string): Promise<OperationResult<CollectIdleAccrualResponse>>;
6837
6938
  claimComebackReward(comebackID: string): Promise<OperationResult<ClaimComebackRewardResponse>>;
6838
6939
  claimReward(claimID: string): Promise<OperationResult<ClaimRewardResponse>>;
6940
+ /**
6941
+ * The end-of-round reward window: "Claim N", "x3 for an ad", "x5 VIP". `amount` is what the round
6942
+ * earned as the game counted it; the server caps it by the window's `MaxBaseAmount` and its daily
6943
+ * limits, and grants the multiplier only when it is earned: `"Ad"` needs the `requestID` of a
6944
+ * verified view of the window's rewarded placement (`client.ads.showRewarded(placement)` →
6945
+ * `granted`), `"Vip"` an active premium subscription. `roundID` makes a retry of the same round
6946
+ * pay once.
6947
+ */
6948
+ claimRewardWindow(windowID: string, amount: number, options?: {
6949
+ boost?: RewardWindowBoost;
6950
+ adRequestID?: string;
6951
+ roundID?: string;
6952
+ }): Promise<OperationResult<ClaimRewardWindowResponse>>;
6839
6953
  }
6840
6954
 
6841
6955
  /**
@@ -7735,6 +7849,13 @@ declare class AIService {
7735
7849
  generateMusic(featureKey: string, input: AIMusicInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
7736
7850
  /** Poll a music job. */
7737
7851
  getMusic(generationID: string): Promise<OperationResult<AIGenerationView>>;
7852
+ /**
7853
+ * Runs the platform template (or trend) of a feature with `PlatformTemplateId`: the player only gives the
7854
+ * template's pictures (`files`, by input key) and its variables (`options.variables`); the prompt, the tier form
7855
+ * and the price come from the server. Poll like the template's own modality ({@link waitForGeneration}).
7856
+ * Refusals: `TEMPLATE_INPUT_REQUIRED: <key>`, `TEMPLATE_VALUE_REQUIRED: <name>`, `TEMPLATE_BAD_VALUE: <name>`.
7857
+ */
7858
+ generateFromTemplate(featureKey: string, files?: Record<string, AIInputImage>, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
7738
7859
  /** Submits a 3D job (`running`) — poll {@link getThreeD}. */
7739
7860
  generateThreeD(featureKey: string, input: AIThreeDInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
7740
7861
  /** Poll a 3D job. */
@@ -7929,6 +8050,12 @@ interface RewardedAdResult {
7929
8050
  /** How the player paid: a watched video or an ad unit of the app. */
7930
8051
  via?: "ad" | "unit";
7931
8052
  retryAfterSeconds?: number;
8053
+ /**
8054
+ * The view's permit id (`granted` / `pending`). A reward window passes it to
8055
+ * `client.reward.claimRewardWindow(..., { boost: "Ad", adRequestID })`: the server multiplies the
8056
+ * window only by a view it has counted, once.
8057
+ */
8058
+ requestID?: string;
7932
8059
  }
7933
8060
  /**
7934
8061
  * Rewarded ads (owner, 2026-10-30). Inside the iDos Games mobile app the app shows the video or lets the player
@@ -9447,6 +9574,7 @@ declare class UserApi extends FeatureApi<UserRequest> {
9447
9574
  declare class CurrencyApi extends FeatureApi<CurrencyRequest> {
9448
9575
  constructor(ctx: ClientContext);
9449
9576
  convert(request: CurrencyRequest): Promise<OperationResult<ConvertResponse>>;
9577
+ spend(request: CurrencyRequest): Promise<OperationResult<SpendResponse>>;
9450
9578
  cryptoConvert(request: CurrencyRequest): Promise<OperationResult<CryptoConvertResponse>>;
9451
9579
  }
9452
9580
 
@@ -9503,6 +9631,7 @@ declare class RewardApi extends FeatureApi<RewardRequest> {
9503
9631
  collectIdleAccrual(request: RewardRequest): Promise<OperationResult<CollectIdleAccrualResponse>>;
9504
9632
  claimComebackReward(request: RewardRequest): Promise<OperationResult<ClaimComebackRewardResponse>>;
9505
9633
  claimReward(request: RewardRequest): Promise<OperationResult<ClaimRewardResponse>>;
9634
+ claimRewardWindow(request: RewardRequest): Promise<OperationResult<ClaimRewardWindowResponse>>;
9506
9635
  }
9507
9636
 
9508
9637
  /** Thin transport wrapper for the Tutorial feature (port of TutorialV2). */
@@ -9711,6 +9840,7 @@ declare class AIApi extends FeatureApi<AIRequest> {
9711
9840
  getAudio(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
9712
9841
  generateMusic(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
9713
9842
  getMusic(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
9843
+ generateFromTemplate(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
9714
9844
  generateThreeD(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
9715
9845
  getThreeD(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
9716
9846
  listGenerations(request: AIRequest): Promise<OperationResult<AIGenerationListView>>;
@@ -13592,4 +13722,4 @@ declare class VoiceController {
13592
13722
  private emit;
13593
13723
  }
13594
13724
 
13595
- export { MarketplaceService as $, AuthenticationService as A, CoopEventService as B, type ChannelName as C, DealOfferService as D, ExperimentsService as E, ReferralService as F, MailboxService as G, AdsService as H, type IceServer as I, SocialService as J, TimedBoostService as K, LootboxService as L, type MemberLeftKind as M, UserCustomDataService as N, type OperationResult as O, PurchaseService as P, QuestService as Q, type RealtimeClient as R, StoreService as S, TutorialService as T, UserService as U, VoiceController as V, TitleCustomDataService as W, TitleService as X, GameLoopService as Y, CloudCodeService as Z, BlockchainService as _, type MicMode as a, type AuthOptionsResponse as a$, MultiplayerService as a0, WorkshopService as a1, DataCollectionsService as a2, IDosGamesData as a3, DataCache as a4, type SdkEvents as a5, type Listener$2 as a6, type Unsubscribe as a7, type ConfigStorage as a8, AIAction as a9, type ActivateTimedBoostResponse as aA, type ActiveBoostWindowInfo as aB, type ActiveCoopEventInfo as aC, type ActiveDealSlotInfo as aD, type ActiveEventInfo as aE, type ActiveSeasonInfo as aF, type ActiveTimedBoost as aG, type AdCompleteViewResponse as aH, type AdPermitResponse as aI, type AddQuestProgressResponse as aJ, AdvertisingAction as aK, AnalyticsAction as aL, type AnalyticsClientContext as aM, type AnalyticsDefinitions as aN, type AnalyticsDimensionDefinition as aO, AnalyticsDropReason as aP, type AnalyticsEventDefinition as aQ, type AnalyticsEventInput as aR, AnalyticsEventNaming as aS, AnalyticsLimits as aT, type AnalyticsParamValue as aU, type AnalyticsParams as aV, type AnalyticsRequest as aW, AttackOutcome as aX, type AttackResponse as aY, type AttributionInput as aZ, type AuthContext as a_, type AIAudioInput as aa, type AIChatMessage as ab, AIErrorCode as ac, type AIGenerateOptions as ad, type AIGenerationAssetView as ae, type AIGenerationErrorView as af, type AIGenerationListView as ag, AIGenerationStatus as ah, type AIGenerationView as ai, type AIHistoryQuery as aj, type AIImageEditInput as ak, type AIImageInput as al, type AIInputImage as am, AIModality as an, type AIMusicInput as ao, type AIPublicDefinitions as ap, type AIPublicFeature as aq, type AIRequest as ar, type AITextInput as as, type AIThreeDInput as at, type AIThreeDViewEdit as au, type AIVideoInput as av, type AIWaitOptions as aw, type AcceptTradeOfferResponse as ax, AcquisitionCapture as ay, type ActivateReferralCodeResponse as az, RealtimeSession as b, ChatBlockedTermAction as b$, AuthType as b0, AuthenticationAction as b1, type AuthenticationRequest as b2, AutomaticEvent as b3, type BaseRequest as b4, type BatchDeleteUserCustomDataResponse as b5, type BatchGetPublicUserCustomDataResponse as b6, type BatchItemResult as b7, type BatchResponse as b8, type BatchSetUserCustomDataResponse as b9, type CachedView as bA, type CancelMatchResponse as bB, type CancelTradeOfferResponse as bC, type ChangeUsernameResponse as bD, CharacterAction as bE, type CharacterClassification as bF, type CharacterDefinition as bG, type CharacterDefinitions as bH, type CharacterEquipment as bI, type CharacterEquipmentSlot as bJ, type CharacterIdentity as bK, type CharacterLevelRef as bL, type CharacterModel as bM, type CharacterRankLadder as bN, type CharacterRequest as bO, type CharacterSkinDefinition as bP, type CharacterSkinItem as bQ, type CharacterSkinRequirements as bR, type CharacterSkinSale as bS, type CharacterSkinView as bT, type CharacterSkins as bU, type CharacterSkinsView as bV, type CharacterStatRef as bW, type CharacterUnequipResult as bX, type CharacterUnlock as bY, ChatAction as bZ, ChatAuthorType as b_, type BattleResult as ba, type BattleStepConfig as bb, type BlockchainAccountSafetyPolicy as bc, BlockchainAction as bd, type BlockchainConfigResponse as be, type BlockchainDefinitions as bf, type BlockchainNetworkDefinition as bg, BlockchainNetworkType as bh, type BlockchainNftCollectionBinding as bi, BlockchainOperationCategory as bj, type BlockchainPlayAccessPolicy as bk, type BlockchainRequest as bl, type BlockchainStats as bm, type BlockchainSystemState as bn, BlockchainTransactionStatus as bo, BlockchainTransactionType as bp, type BoardLoopDefinition as bq, type BoardLoopState as br, type BoardPendingInteraction as bs, type BoardRollResponse as bt, BodyPart as bu, type BoostTriggerCounter as bv, BoostWindowKind as bw, type BuildResponse as bx, type BuildingState as by, type CacheEntryInfo as bz, type RealtimeSessionEvents as c, type CodeExecutionError as c$, type ChatChannelAvailability as c0, type ChatChannelDefinition as c1, type ChatChannelIdentity as c2, type ChatChannelPresetBindings as c3, type ChatChannelRetention as c4, ChatChannelType as c5, type ChatChannelView as c6, type ChatChannelWriteRules as c7, type ChatChannelsResponse as c8, type ChatConversationView as c9, type ClaimDealMilestonesBatchResponse as cA, type ClaimGrandPrizeResponse as cB, type ClaimGroupCompletionRewardResponse as cC, type ClaimInviteRewardResponse as cD, type ClaimInviteRewardsBatchResponse as cE, type ClaimLeaderboardMilestoneResponse as cF, type ClaimLeaderboardMilestonesBatchResponse as cG, type ClaimMilestoneRewardResponse as cH, type ClaimMilestoneRewardsBatchResponse as cI, type ClaimMilestonesBatchResponse as cJ, type ClaimQuestRewardResponse as cK, type ClaimQuestRewardsBatchResponse as cL, type ClaimRewardResponse as cM, type ClaimSetRewardResponse as cN, type ClaimSetRewardsBatchResponse as cO, type ClaimTierRewardResponse as cP, type ClaimTierRewardsBatchResponse as cQ, ClientPlatform as cR, type ClientState as cS, type ClientStateViewRequest as cT, type ClientStateViewResult as cU, CloudCodeAction as cV, CloudCodeErrorCode as cW, type CloudCodeLogEntry as cX, CloudCodeLogLevel as cY, type CloudCodeRequest as cZ, CloudCodeRevisionSelection as c_, type ChatConversationsResponse as ca, type ChatCursor as cb, type ChatDefinitions as cc, ChatDirectAudience as cd, type ChatDirectChannelResponse as ce, type ChatHistoryResponse as cf, type ChatMessageView as cg, type ChatModerationSettings as ch, ChatPartitioning as ci, type ChatPollResponse as cj, type ChatPollingSettings as ck, type ChatPresetRegistry as cl, ChatReportReason as cm, type ChatReportResponse as cn, type ChatRequest as co, type ChatRoomUpdate as cp, type ChatSendResponse as cq, type ChatStateResponse as cr, type CheckQualificationResponse as cs, type ClaimAllRewardsBatchResponse as ct, type ClaimAllRewardsResult as cu, type ClaimComebackRewardResponse as cv, type ClaimCycleRewardResponse as cw, type ClaimCycleRewardsBatchResponse as cx, type ClaimDailyRewardResponse as cy, type ClaimDealMilestoneResponse as cz, type RealtimeSessionOptions as d, CraftOutputLevelOverflow as d$, type CollectIdleAccrualResponse as d0, CollectionAction as d1, type CollectionDefinitions as d2, type CollectionGlobalSettings as d3, type CollectionRequest as d4, type CollectionSetRef as d5, type CollectionTradeOfferDocument as d6, CommissionSink as d7, type CommunityAccrualLine as d8, type CommunityCampaignSummary as d9, type ConfirmWithdrawalResponse as dA, type ConversionDailyCounter as dB, ConversionRateMode as dC, type ConversionTarget as dD, type ConvertResponse as dE, type CoopBuildObjectsMemberState as dF, type CoopBuildObjectsState as dG, type CoopClaimRewardResponse as dH, CoopEventAction as dI, type CoopEventDefinitions as dJ, type CoopEventRequest as dK, type CoopGroupDocument as dL, type CoopGroupMember as dM, type CoopGroupStateResponse as dN, CoopGroupStatus as dO, type CoopLeaveGroupResponse as dP, CoopMemberStatus as dQ, type CoopPartnerObjectState as dR, type CoopSpinResponse as dS, type CoopUserStateResponse as dT, CraftAction as dU, type CraftBurnedInstance as dV, type CraftDefinition as dW, type CraftDefinitions as dX, type CraftDefinitionsResponse as dY, CraftInputSelectionMode as dZ, CraftOutputLevelMode as d_, type CommunityChestClaimResponse as da, type CommunityChestGroupDocument as db, type CommunityChestGroupStateResponse as dc, type CommunityChestHistoryEntry as dd, type CommunityChestLeaveResponse as de, type CommunityChestMember as df, CommunityChestMemberStatus as dg, type CommunityChestSharedState as dh, CommunityChestStatus as di, type CommunityChestUserStateResponse as dj, type CommunityClaimResponse as dk, CommunityCreatorStatus as dl, type CommunityEarningsLine as dm, type CommunityEarningsResponse as dn, type CommunityEligibilityCondition as dp, type CommunityEligibilityResponse as dq, CommunityMarketingAction as dr, type CommunityMarketingRequest as ds, type CommunityMarketingState as dt, CommunityMetricKind as du, CommunityParticipationMode as dv, CommunityPayoutCurrencyKind as dw, type CommunityPayoutSummary as dx, type CommunitySolanaWithdrawalSignature as dy, type CommunityWithdrawalResponse as dz, type VoiceControllerEvents as e, type DataQueryResponse as e$, type CraftRequest as e0, type CraftResponse as e1, type CraftSingleResult as e2, CraftType as e3, type CreateMatchResponse as e4, type CreditsBalanceView as e5, CreditsConfirmationStatus as e6, type CreditsConfirmationView as e7, CreditsError as e8, type CreditsPayOptions as e9, type DataBatchResponse as eA, type DataCollectionDefinition as eB, DataCollectionKind as eC, DataCollectionSchemaMode as eD, DataCollectionsAction as eE, type DataCollectionsRequest as eF, type DataCountResponse as eG, DataCounterKind as eH, type DataCounterResponse as eI, type DataDefinitionsResponse as eJ, type DataDeleteResponse as eK, type DataFieldDefinition as eL, DataFieldType as eM, DataFieldVisibility as eN, type DataFileUploadResponse as eO, type DataFileView as eP, type DataFilter as eQ, type DataFilterOp as eR, type DataGetManyResponse as eS, type DataGetResponse as eT, type DataItemView as eU, type DataOperationEconomy as eV, DataOwnerDeletedPolicy as eW, type DataPublicViewDefinition as eX, type DataPublicViewPage as eY, type DataPublicViewPointer as eZ, type DataPublicViewsResponse as e_, type CreditsPayableResponse as ea, type CryptoConvertResponse as eb, type CryptoCurrencyDefinition as ec, type CryptoCurrencyPermissions as ed, type CryptoLimits as ee, type CryptoNetworkBinding as ef, type CryptoShortfall as eg, type CryptoTopUpHandler as eh, CurrencyAction as ei, type CurrencyAudit as ej, type CurrencyConversion as ek, type CurrencyDefinitions as el, type CurrencyRequest as em, CurrencyStatus as en, CurrencyType as eo, CustomDataBucket as ep, CustomDataValueType as eq, CustomDataWriter as er, type CyclicSchedule as es, DEFAULT_BASE_URL as et, type DailyCalendarDefinition as eu, type DailyRewardDay as ev, type DailyUsageRecord as ew, DataAccessMode as ex, type DataAccessRule as ey, type DataBatchOperation as ez, type VoiceControllerOptions as f, type EventTokenSpendResponse as f$, type DataQuerySpec as f0, type DataReadOptions as f1, type DataRecord as f2, DataRefKind as f3, type DataRefTarget as f4, type DataRolesResponse as f5, type DataSortKeyDefinition as f6, type DataUpdateSpec as f7, type DataWriteResponse as f8, type DealAvailability as f9, type DealTrackChange as fA, type DealTrackDefinition as fB, type DealTrackRequirement as fC, type DeclineTradeOfferResponse as fD, type DepositNFTResponse as fE, type DepositTokenResponse as fF, type DirectMessageSettings as fG, type DismissDealResponse as fH, type DonationResponse as fI, type DroppedEvent as fJ, EVENT_NAME_PATTERN as fK, type EnsureStateOptions as fL, EnvelopeType as fM, type EquipItemsResponse as fN, type EquipSkinResponse as fO, type EquipSlotPair as fP, type EquipmentPreset as fQ, type EquipmentSlot as fR, type EquippedItem as fS, type EventMap as fT, type EventMilestoneClaimResponse as fU, type EventTokenAddress as fV, type EventTokenConversion as fW, type EventTokenDefinition as fX, type EventTokenGrantResponse as fY, type EventTokenMilestoneData as fZ, type EventTokenOperation as f_, DealComparisonOperator as fa, type DealIdentity as fb, type DealMilestoneBlock as fc, type DealMilestoneProgressInfo as fd, type DealNodeActionDefinition as fe, type DealNodeDefinition as ff, type DealNodePresetBindings as fg, type DealNodePricing as fh, type DealNodeReward as fi, DealNodeRuntimeStatus as fj, DealNodeType as fk, type DealNodeUnlockRules as fl, DealOfferAction as fm, DealOfferActivationStatus as fn, type DealOfferDefinition as fo, type DealOfferDefinitions as fp, type DealOfferGraph as fq, type DealOfferPresetBindings as fr, type DealOfferPresetRegistry as fs, type DealOfferRequest as ft, type DealOffersDefinitionResponse as fu, type DealRewardedVideoActionDefinition as fv, type DealSlotBehaviour as fw, type DealSlotDefinition as fx, type DealSlotPresetBindings as fy, type DealSlotQueueEntry as fz, type IDosGamesClientConfig as g, type InventoryDelta as g$, EventTokenType as g0, type ExecuteCloudCodeResponse as g1, type ExecuteNodeResponse as g2, ExperimentAction as g3, type ExperimentDefinition as g4, type ExperimentDefinitions as g5, type ExperimentGoal as g6, ExperimentGoalKind as g7, type ExperimentRequest as g8, type ExperimentVariant as g9, type GetMyUserCustomDataResponse as gA, type GetOverviewBatchResponse as gB, type GetProgressBatchResponse as gC, type GetPublicTitleDataResponse as gD, type GetPublicUserCustomDataResponse as gE, type GetStorefrontResponse as gF, type GetTradeOffersResponse as gG, type GetUserQuestStateResponse as gH, type GetUserTutorialStateResponse as gI, type GrantStatusTokensResponse as gJ, type GrantTokensBatchResponse as gK, type GrantedCollectible as gL, type HeistCell as gM, type IDosGamesSettings as gN, type IapProductAvailability as gO, type IapProductDefinition as gP, type IapProductPurchaseState as gQ, type IapProductRules as gR, IapProductType as gS, IapPurchaseStatus as gT, type IapStore as gU, IapStore$1 as gV, type InboxBadgeResponse as gW, type InboxResponse as gX, type InstantBattleDefinitions as gY, type InstantBattleResponse as gZ, type InstantBattleRule as g_, type ExperimentVariantCondition as ga, FRIENDS_FROM_PLATFORM as gb, type FodderConsumedEntry as gc, FodderSelectionMode as gd, FodderValuationMode as ge, type FriendActionResponse as gf, FriendActionStatus as gg, type FriendPublicProfile as gh, FriendSource as gi, type FriendsListResponse as gj, GameLoopAction as gk, type GameLoopDefinitions as gl, type GameLoopRequest as gm, type GetActiveBoostWindowsResponse as gn, type GetActiveDealsResponse as go, type GetActiveEventsResponse as gp, type GetActiveTimedBoostsResponse as gq, type GetCharacterSkinsResponse as gr, type GetCharactersResponse as gs, type GetExperimentsResponse as gt, type GetLeaderboardResponse as gu, type GetLeaderboardsBatchResponse as gv, type GetMailboxMessagesResponse as gw, type GetMatchDefinitionsResponse as gx, type GetMilestoneRewardMultiplierResponse as gy, type GetMyProgressResponse as gz, CurrencyService as h, MailboxErrors as h$, ItemAction as h0, type ItemCatalog as h1, type ItemDefinition as h2, type ItemDefinitions as h3, type ItemEquipment as h4, type ItemMetadata as h5, type ItemRequest as h6, type ItemStats as h7, type ItemTotals as h8, type ItemUpgrade as h9, type LocalizationTableRef as hA, type LocalizationTableResponse as hB, type LogEventsResponse as hC, type LoginViewParams as hD, type LoginViewsMode as hE, LootboxAction as hF, type LootboxAmountRange as hG, type LootboxDefinitions as hH, type LootboxDefinitionsResponse as hI, type LootboxGlobalSettings as hJ, type LootboxOpenResponse as hK, type LootboxPityRule as hL, type LootboxPityTriggerResponse as hM, type LootboxRequest as hN, type LootboxRewardRoll as hO, type LootboxRewardSlot as hP, type LootboxSupplyRule as hQ, MAILBOX_COUNTER_CAP as hR, type MailLink as hS, type MailTemplateDefinition as hT, type MailText as hU, MailboxAction as hV, MailboxCategory as hW, type MailboxClaimResponse as hX, type MailboxClaimedLetter as hY, type MailboxCountersResponse as hZ, type MailboxDefinitions as h_, type ItemUpgradeFodder as ha, type ItemUpgradeRef as hb, type JsonValue as hc, type KickMemberResponse as hd, KycStatus as he, KycTier as hf, LeaderboardAction as hg, type LeaderboardDefinitions as hh, type LeaderboardMilestoneRef as hi, type LeaderboardOverview as hj, type LeaderboardRequest as hk, type LeaderboardScoreRef as hl, type LeaderboardUserEntry as hm, type LeaveRoomResponse as hn, type LevelsPreset as ho, type LimitSpec as hp, type LinkedWalletInfo as hq, LocalizationAction as hr, type LocalizationDefinitions as hs, type LocalizationLocaleDefinition as ht, type LocalizationLocaleInfo as hu, type LocalizationManifestResponse as hv, LocalizationMissingKeyMode as hw, type LocalizationParams as hx, type LocalizationRequest as hy, type LocalizationState as hz, ItemService as i, type NftStatsContainer as i$, type MailboxGiftStatusResponse as i0, type MailboxItemFailure as i1, type MailboxLetter as i2, MailboxLetterSource as i3, type MailboxOperationResponse as i4, type MailboxPendingReward as i5, type MailboxRequest as i6, MailboxRewardModule as i7, type MailboxSendGiftResponse as i8, type MailboxSendTransferResponse as i9, type MarketplaceMyStateResponse as iA, type MarketplaceOfferResponse as iB, type MarketplaceOfferView as iC, type MarketplacePlaceBidResponse as iD, type MarketplacePricePolicy as iE, type MarketplaceRequest as iF, type MarketplaceSettlementResponse as iG, type MarketplaceTradabilityPolicy as iH, MatchAction as iI, type MatchDefinitions as iJ, type MatchRequest as iK, MatchStatus as iL, type MatchesPageResponse as iM, type MilestoneClaimEntry as iN, type MilestoneClaimRef as iO, type MilestoneDefinition as iP, MultiplayerAction as iQ, MultiplayerChatMode as iR, type MultiplayerDefinitions as iS, type MultiplayerRequest as iT, type MultiplayerSystemState as iU, MultiplayerTopology as iV, type NFTModel as iW, type NFTNetworkBinding as iX, type NFTTransactionDocument as iY, type NFTWithdrawalResponse as iZ, type NftCollectionStats as i_, MarketGoodsType as ia, MarketOfferStatus as ib, MarketOfferType as ic, MarketplaceAction as id, type MarketplaceActionCounter as ie, type MarketplaceAuctionSettings as ig, type MarketplaceAuctionState as ih, type MarketplaceBidRefund as ii, type MarketplaceBrowseResponse as ij, type MarketplaceBuyOrderSettings as ik, type MarketplaceCommissionOverride as il, type MarketplaceCommissionPolicy as im, type MarketplaceCreateOfferResponse as io, type MarketplaceDefinitions as ip, type MarketplaceDirectTradeSettings as iq, type MarketplaceGetDefinitionsResponse as ir, type MarketplaceGroupedOfferView as is, type MarketplaceGroupedOffersResponse as it, type MarketplaceHistoryEntryView as iu, type MarketplaceHistoryFilter as iv, type MarketplaceHistoryResponse as iw, type MarketplaceListingSettings as ix, type MarketplaceMatchingSettings as iy, type MarketplaceMyBidsFilter as iz, CreditsService as j, type QuestIdentity as j$, OFFER_NOT_IN_ROTATION as j0, type OpenCollectionChestResponse as j1, type OpenPackResponse as j2, type OperationFailure as j3, type OperationFailureReason as j4, type OperationSuccess as j5, PLATFORM_AD_PROVIDER as j6, type PackOpenResult as j7, type PaymentProof as j8, type PaymentRequirement as j9, PurchaseAction as jA, type PurchaseBatchResponse as jB, type PurchaseDefinitions as jC, type PurchaseDefinitionsResponse as jD, type PurchaseReceiptRef as jE, type PurchaseRequest as jF, type PurchaseValidationBatchResponse as jG, type PurchaseValidationResponse as jH, PushAction as jI, type PushConfigResponse as jJ, PushPermissionState as jK, type PushRequest as jL, type PushSubscribeOptions as jM, type PushSubscribeResult as jN, type PushSubscriptionListResponse as jO, type PushSubscriptionView as jP, PushTopic as jQ, type PushTopicView as jR, PushTransport as jS, type PvPMatch as jT, QuestAction as jU, type QuestAvailability as jV, type QuestClaimRef as jW, type QuestCycleDefinition as jX, type QuestDefinition as jY, type QuestDefinitions as jZ, type QuestGroupCompletionDefinition as j_, type PendingWithdrawalRef as ja, type PlatformBlockchainState as jb, type PlatformBridgeDefinitions as jc, PlatformFriendsMode as jd, type PlatformLoginResponse as je, PlatformProfileMode as jf, type PlayAccessInfoResponse as jg, PlayAccessMode as jh, type PlayAccessState as ji, type PlayAccessStatus as jj, type PlayAccessWallet as jk, type PlayerEconomyTuningState as jl, PlayerExperimentStatus as jm, type PlayerExperimentView as jn, PlaytimeTracker as jo, type PollResponse as jp, PremiumAction as jq, type PremiumDefinitions as jr, type PremiumDefinitionsResponse as js, type PremiumPurchaseResponse as jt, type PremiumRequest as ju, type PremiumStateResponse as jv, type PremiumSubscription as jw, type PriceOption as jx, type PriceOptions as jy, type PublishResponse as jz, CheckoutService as k, type SetUserCustomDataResponse as k$, type QuestLinking as k0, type QuestObjectiveDefinition as k1, QuestObjectiveSource as k2, type QuestPhaseDefinition as k3, type QuestPointsTrackView as k4, QuestPrerequisiteMode as k5, type QuestPresetBindings as k6, type QuestPresetRegistry as k7, type QuestProgressUpdate as k8, type QuestRequest as k9, RewardAction as kA, type RewardDefinitions as kB, type RewardDefinitionsResponse as kC, type RewardRequest as kD, type RewardedAdResult as kE, type RewardedAdStatus as kF, type RollActionData as kG, type RoomListItem as kH, type RoomMemberView as kI, type RoomSnapshotResponse as kJ, RoomVisibility as kK, type RoomsPageResponse as kL, SKIN_ALREADY_OWNED as kM, SKIN_SLOT as kN, type ScheduleChain as kO, type ScheduleChainPhase as kP, ScheduleMode as kQ, type ScheduleSpec as kR, type ScheduledWindow as kS, SeasonAction as kT, type SeasonDefinitions as kU, type SeasonRequest as kV, type SeasonTierRewardBundle as kW, type SeasonTierRewardMultiplier as kX, type SeasonTierRewardSet as kY, type SegmentGate as kZ, type SendTradeOfferResponse as k_, type QuestReward as ka, QuestStatus as kb, RaidMode as kc, type RaidResponse as kd, type ReadOptions as ke, type RealtimeEnvelope as kf, type RechargeConfig as kg, type RecordShowResponse as kh, ReferralAction as ki, type ReferralConditionType as kj, type ReferralDefinitions as kk, type ReferralDefinitionsResponse as kl, type ReferralInviteRewardState as km, type ReferralQualificationDefinition as kn, type ReferralQualificationProgress as ko, type ReferralRequest as kp, type RelativeWindow as kq, type ResourceBundle as kr, type ResourceConsume as ks, type ResourceDualPartyResult as kt, type ResourceEntry as ku, ResourceEntryType as kv, type ResourceGrant as kw, type ResourceOperation as kx, type ResourceTransferResult as ky, type RetryWithdrawalResponse as kz, RewardService as l, type StorefrontSlotView as l$, type SettingsInput as l0, SocialAction as l1, type SocialActorPage as l2, type SocialActorSnapshot as l3, type SocialActorView as l4, type SocialCommentDeleteResponse as l5, type SocialCommentPage as l6, type SocialCommentView as l7, SocialContentStatus as l8, type SocialCounters as l9, type StateRule as lA, type StatsPreset as lB, StoreAction as lC, type StoreAvailability as lD, type StoreDefinition as lE, type StoreDefinitions as lF, type StoreIdentity as lG, type StoreLayout as lH, type StoreOfferAvailability as lI, type StoreOfferDefinition as lJ, type StoreOfferPricing as lK, type StoreOfferReward as lL, type StoreOfferStateView as lM, type StorePurchaseRef as lN, type StorePurchaseResponse as lO, type StorePurchaseState as lP, type StoreRequest as lQ, StoreRotationMode as lR, type StoreRotationPurchaseState as lS, type StoreSectionDefinition as lT, type StoreSlotDefinition as lU, type StoreSlotPoolEntry as lV, type StoreSlotRotation as lW, StoreType as lX, type StorefrontOfferView as lY, type StorefrontPriceOptionView as lZ, type StorefrontSectionView as l_, type SocialCounts as la, type SocialCursor as lb, type SocialDefinitions as lc, type SocialEntityState as ld, type SocialEntityStatesResponse as le, SocialEntityType as lf, type SocialGiftDefinition as lg, type SocialInboxItem as lh, SocialInboxVerb as li, SocialReactionKind as lj, type SocialReactionPage as lk, type SocialReactionView as ll, SocialReportReason as lm, type SocialReportResponse as ln, type SocialRequest as lo, type SolanaWithdrawalSignature as lp, type SpecialApplyMultiplierResponse as lq, SpecialChoiceMode as lr, type SpecialChooseResponse as ls, type SpecialClaimResponse as lt, type SpecialModeOfferData as lu, type SpecialPendingState as lv, type SpendRewardDefinition as lw, type SpendTokensBatchResponse as lx, type StatDefinition as ly, type StatRequirement as lz, AnalyticsService as m, TutorialStepCompletionMode as m$, type StorefrontView as m0, type SubmitScoreResponse as m1, type SubmitScoresBatchResponse as m2, type SuccessResponse as m3, type TelegramInvoiceResponse as m4, TimedBoostAction as m5, type TimedBoostDefinitions as m6, type TimedBoostRequest as m7, TimedBoostStackingPolicy as m8, TimedEventAction as m9, type TriggerContext as mA, type TriggerSource as mB, TutorialAction as mC, type TutorialAvailability as mD, type TutorialBlockingPolicy as mE, TutorialBoardAction as mF, type TutorialBoardScript as mG, type TutorialClaimResponse as mH, type TutorialDefinitions as mI, type TutorialFlowBatchResponse as mJ, type TutorialFlowDefinition as mK, type TutorialFlowPolicy as mL, type TutorialFlowResponse as mM, TutorialFlowStatus as mN, type TutorialFlowView as mO, type TutorialGateCondition as mP, TutorialGateMode as mQ, type TutorialGlobalSettings as mR, type TutorialIdentity as mS, type TutorialPresetBindings as mT, type TutorialPresetRegistry as mU, type TutorialRequest as mV, TutorialRestartPolicy as mW, type TutorialReward as mX, TutorialScriptModule as mY, type TutorialScriptedOutcome as mZ, type TutorialStepCompletion as m_, type TimedEventDefinitions as ma, type TimedEventGrantRef as mb, type TimedEventInstanceRef as mc, type TimedEventMilestoneRef as md, type TimedEventRequest as me, type TimedEventSpendRef as mf, TitleAction as mg, TitleConfig as mh, TitleCustomDataAction as mi, type TitleCustomDataDefinitions as mj, type TitleCustomDataKeyDefinition as mk, type TitleCustomDataRecord as ml, type TitleCustomDataRequest as mm, TitleDataBucket as mn, TitleDataScope as mo, type TitlePublicConfigurationModel as mp, type TitleRequest as mq, type TokenCurrencyStats as mr, type TokenStatsContainer as ms, type TokenTransactionDocument as mt, type TokenWithdrawalResponse as mu, TradeOfferStatus as mv, TransactionDirection as mw, type TransactionHistoryResponse as mx, type TransferGiftDefinition as my, type TransferableResource as mz, CommunityMarketingService as n, type UserIdleAccrualState as n$, type TutorialStepDefinition as n0, type TutorialStepEffects as n1, type TutorialStepIdentity as n2, type TutorialStepPolicy as n3, type TutorialStepProgress as n4, TypedEmitter as n5, type UnbanMemberResponse as n6, type UnequipAllCharactersResponse as n7, type UnequipItemsResponse as n8, type UnequipSkinResponse as n9, type UserCommunityChestState as nA, type UserCoopEventState as nB, type UserCryptoComplianceCounters as nC, type UserCryptoCurrencyState as nD, UserCustomDataAction as nE, type UserCustomDataBatchDeleteItem as nF, type UserCustomDataBatchSetItem as nG, type UserCustomDataDefinitions as nH, type UserCustomDataKeyDefinition as nI, type UserCustomDataRecord as nJ, type UserCustomDataRequest as nK, type UserCustomDataState as nL, type UserDailyCalendarState as nM, type UserDailyCounters as nN, UserData as nO, type UserDealNodeLifetimeCounts as nP, type UserDealNodeState as nQ, type UserDealOfferActivationState as nR, type UserDealOfferHistory as nS, type UserDealOffersState as nT, type UserDealOffersStateResponse as nU, type UserDealSlotState as nV, type UserDealTrackState as nW, type UserDepositAddress as nX, type UserEventTokenProgress as nY, type UserEventTokensState as nZ, type UserGameLoopsState as n_, type UnlockCharacterResponse as na, type UnlockCharactersBatchResponse as nb, type UnlockSkinResponse as nc, type UnstackableItemInstanceState as nd, type UpdateMatchResponse as ne, type UpgradeCharacterLevelResponse as nf, type UpgradeCharacterLevelsBatchResponse as ng, type UpgradeItemLevelResponse as nh, type UpgradeLevelsBatchResponse as ni, type UpgradeLevelsOptions as nj, type UpgradeStatLevelResponse as nk, type UpgradeStatLevelsBatchResponse as nl, type UsagePeriodRecord as nm, type UsageReactivationEvent as nn, type UsageTimeStats as no, type UseCollectibleJokerResponse as np, UserAction as nq, type UserBlockchainState as nr, type UserBlockchainStateResponse as ns, type UserCharactersState as nt, type UserChatChannelState as nu, type UserChatLimitState as nv, type UserChatState as nw, type UserClaimRewardState as nx, type UserCollectionState as ny, type UserComebackState as nz, ChatService as o, type WorkshopContentResponse as o$, type UserInventoryState as o0, type UserKycState as o1, type UserLeaderboardProgress as o2, type UserLeaderboardsState as o3, type UserLootboxPityCounter as o4, type UserLootboxState as o5, type UserMarketplaceState as o6, type UserMatchCreationLimitState as o7, type UserMatchState as o8, type UserPremiumState as o9, type ViewSchema as oA, type VirtualCurrencyDefinition as oB, type VirtualCurrencyEconomy as oC, type VirtualCurrencyPermissions as oD, type WalletChallengeResponse as oE, WalletGateBalanceSource as oF, type WalletGatedBalance as oG, type WalletLinkResponse as oH, WalletLinkType as oI, type WalletPlayTokenGate as oJ, type WalletUnlinkResponse as oK, type WithdrawalSignatureResponse as oL, type WithdrawalSplit as oM, WorkshopAccessMode as oN, type WorkshopAccessOption as oO, type WorkshopAccessOptionInput as oP, type WorkshopAccessState as oQ, WorkshopAccessVia as oR, type WorkshopAcquireResponse as oS, WorkshopAction as oT, type WorkshopBeginUploadResponse as oU, type WorkshopBrowseQuery as oV, type WorkshopBrowseResponse as oW, type WorkshopCollection as oX, type WorkshopCollectionResponse as oY, type WorkshopCollectionView as oZ, type WorkshopContentMutationResponse as o_, type UserPublicDataModel as oa, type UserPurchaseState as ob, type UserQuestCycleState as oc, type UserQuestObjectiveProgress as od, type UserQuestProgress as oe, type UserQuestState as of, type UserReferralState as og, type UserReferralStateResponse as oh, type UserRequest as oi, type UserRewardState as oj, type UserRewardsStateResponse as ok, type UserSeasonState as ol, type UserSeasonStateResponse as om, type UserSeasonsState as on, type UserSocialState as oo, type UserState as op, type UserStateSlice as oq, type UserStateVersions as or, type UserStoreState as os, type UserTimedBoostsState as ot, type UserTimedEventStateResponse as ou, type UserTutorialFlowState as ov, type UserTutorialState as ow, type UserTutorialStepState as ox, type UserUsageState as oy, type UserVirtualCurrencyState as oz, PushService as p, type WorkshopContentStats as p0, WorkshopContentStatus as p1, type WorkshopContentType as p2, type WorkshopContentView as p3, type WorkshopCreatorProfileResponse as p4, type WorkshopDefinitions as p5, type WorkshopDefinitionsResponse as p6, type WorkshopDownloadFile as p7, type WorkshopDownloadResponse as p8, type WorkshopDownloadedFile as p9, isMilestoneClaimed as pA, isOk as pB, isReservedSlot as pC, normalizeBlockchainCategory as pD, parseAIErrorCode as pE, where as pF, zPaymentProof as pG, zPriceOption as pH, zPriceOptions as pI, type WorkshopFileData as pa, type WorkshopFileDeclaration as pb, type WorkshopFileRole as pc, WorkshopHoldingMatch as pd, WorkshopHoldingMode as pe, type WorkshopHoldingPolicy as pf, type WorkshopHoldingRequirement as pg, type WorkshopHoldingRule as ph, WorkshopLicenseSource as pi, type WorkshopLicenseView as pj, type WorkshopLicensesResponse as pk, type WorkshopLimits as pl, type WorkshopModerationSettings as pm, type WorkshopPublishFile as pn, type WorkshopPublishInput as po, type WorkshopPublishResponse as pp, type WorkshopRequest as pq, WorkshopSort as pr, type WorkshopUploadTarget as ps, WorkshopVisibility as pt, claimedMilestoneIDs as pu, cryptoShortfallFromError as pv, defineView as pw, grantedPremiumTiers as px, isAIGenerationTerminal as py, isFail as pz, LocalizationService as q, TimedEventService as r, LeaderboardService as s, SeasonService as t, PremiumService as u, CharacterService as v, MatchService as w, CraftService as x, AIService as y, CollectionService as z };
13725
+ export { MarketplaceService as $, AuthenticationService as A, CoopEventService as B, type ChannelName as C, DealOfferService as D, ExperimentsService as E, ReferralService as F, MailboxService as G, AdsService as H, type IceServer as I, SocialService as J, TimedBoostService as K, LootboxService as L, type MemberLeftKind as M, UserCustomDataService as N, type OperationResult as O, PurchaseService as P, QuestService as Q, type RealtimeClient as R, StoreService as S, TutorialService as T, UserService as U, VoiceController as V, TitleCustomDataService as W, TitleService as X, GameLoopService as Y, CloudCodeService as Z, BlockchainService as _, type MicMode as a, type AttackResponse as a$, MultiplayerService as a0, WorkshopService as a1, DataCollectionsService as a2, IDosGamesData as a3, DataCache as a4, type SdkEvents as a5, type Listener$2 as a6, type Unsubscribe as a7, type ConfigStorage as a8, AIAction as a9, type AcceptTradeOfferResponse as aA, AcquisitionCapture as aB, type ActivateReferralCodeResponse as aC, type ActivateTimedBoostResponse as aD, type ActiveBoostWindowInfo as aE, type ActiveCoopEventInfo as aF, type ActiveDealSlotInfo as aG, type ActiveEventInfo as aH, type ActiveSeasonInfo as aI, type ActiveTimedBoost as aJ, type AdCompleteViewResponse as aK, type AdPermitResponse as aL, type AddQuestProgressResponse as aM, AdvertisingAction as aN, AnalyticsAction as aO, type AnalyticsClientContext as aP, type AnalyticsDefinitions as aQ, type AnalyticsDimensionDefinition as aR, AnalyticsDropReason as aS, type AnalyticsEventDefinition as aT, type AnalyticsEventInput as aU, AnalyticsEventNaming as aV, AnalyticsLimits as aW, type AnalyticsParamValue as aX, type AnalyticsParams as aY, type AnalyticsRequest as aZ, AttackOutcome as a_, type AIAudioInput as aa, type AIChatMessage as ab, AIErrorCode as ac, type AIGenerateOptions as ad, type AIGenerationAssetView as ae, type AIGenerationErrorView as af, type AIGenerationListView as ag, AIGenerationStatus as ah, type AIGenerationView as ai, type AIHistoryQuery as aj, type AIImageEditInput as ak, type AIImageInput as al, type AIInputImage as am, AIModality as an, type AIMusicInput as ao, type AIPublicDefinitions as ap, type AIPublicFeature as aq, type AIPublicTemplate as ar, type AIPublicTemplateInput as as, type AIPublicTemplateVariable as at, type AIRequest as au, type AITextInput as av, type AIThreeDInput as aw, type AIThreeDViewEdit as ax, type AIVideoInput as ay, type AIWaitOptions as az, RealtimeSession as b, type CharacterUnlock as b$, type AttributionInput as b0, type AuthContext as b1, type AuthOptionsResponse as b2, AuthType as b3, AuthenticationAction as b4, type AuthenticationRequest as b5, AutomaticEvent as b6, type BaseRequest as b7, type BatchDeleteUserCustomDataResponse as b8, type BatchGetPublicUserCustomDataResponse as b9, type BuildResponse as bA, type BuildingState as bB, type CacheEntryInfo as bC, type CachedView as bD, type CancelMatchResponse as bE, type CancelTradeOfferResponse as bF, type ChangeUsernameResponse as bG, CharacterAction as bH, type CharacterClassification as bI, type CharacterDefinition as bJ, type CharacterDefinitions as bK, type CharacterEquipment as bL, type CharacterEquipmentSlot as bM, type CharacterIdentity as bN, type CharacterLevelRef as bO, type CharacterModel as bP, type CharacterRankLadder as bQ, type CharacterRequest as bR, type CharacterSkinDefinition as bS, type CharacterSkinItem as bT, type CharacterSkinRequirements as bU, type CharacterSkinSale as bV, type CharacterSkinView as bW, type CharacterSkins as bX, type CharacterSkinsView as bY, type CharacterStatRef as bZ, type CharacterUnequipResult as b_, type BatchItemResult as ba, type BatchResponse as bb, type BatchSetUserCustomDataResponse as bc, type BattleResult as bd, type BattleStepConfig as be, type BlockchainAccountSafetyPolicy as bf, BlockchainAction as bg, type BlockchainConfigResponse as bh, type BlockchainDefinitions as bi, type BlockchainNetworkDefinition as bj, BlockchainNetworkType as bk, type BlockchainNftCollectionBinding as bl, BlockchainOperationCategory as bm, type BlockchainPlayAccessPolicy as bn, type BlockchainRequest as bo, type BlockchainStats as bp, type BlockchainSystemState as bq, BlockchainTransactionStatus as br, BlockchainTransactionType as bs, type BoardLoopDefinition as bt, type BoardLoopState as bu, type BoardPendingInteraction as bv, type BoardRollResponse as bw, BodyPart as bx, type BoostTriggerCounter as by, BoostWindowKind as bz, type RealtimeSessionEvents as c, type CloudCodeLogEntry as c$, ChatAction as c0, ChatAuthorType as c1, ChatBlockedTermAction as c2, type ChatChannelAvailability as c3, type ChatChannelDefinition as c4, type ChatChannelIdentity as c5, type ChatChannelPresetBindings as c6, type ChatChannelRetention as c7, ChatChannelType as c8, type ChatChannelView as c9, type ClaimCycleRewardsBatchResponse as cA, type ClaimDailyRewardResponse as cB, type ClaimDealMilestoneResponse as cC, type ClaimDealMilestonesBatchResponse as cD, type ClaimGrandPrizeResponse as cE, type ClaimGroupCompletionRewardResponse as cF, type ClaimInviteRewardResponse as cG, type ClaimInviteRewardsBatchResponse as cH, type ClaimLeaderboardMilestoneResponse as cI, type ClaimLeaderboardMilestonesBatchResponse as cJ, type ClaimMilestoneRewardResponse as cK, type ClaimMilestoneRewardsBatchResponse as cL, type ClaimMilestonesBatchResponse as cM, type ClaimQuestRewardResponse as cN, type ClaimQuestRewardsBatchResponse as cO, type ClaimRewardResponse as cP, type ClaimRewardWindowResponse as cQ, type ClaimSetRewardResponse as cR, type ClaimSetRewardsBatchResponse as cS, type ClaimTierRewardResponse as cT, type ClaimTierRewardsBatchResponse as cU, ClientPlatform as cV, type ClientState as cW, type ClientStateViewRequest as cX, type ClientStateViewResult as cY, CloudCodeAction as cZ, CloudCodeErrorCode as c_, type ChatChannelWriteRules as ca, type ChatChannelsResponse as cb, type ChatConversationView as cc, type ChatConversationsResponse as cd, type ChatCursor as ce, type ChatDefinitions as cf, ChatDirectAudience as cg, type ChatDirectChannelResponse as ch, type ChatHistoryResponse as ci, type ChatMessageView as cj, type ChatModerationSettings as ck, ChatPartitioning as cl, type ChatPollResponse as cm, type ChatPollingSettings as cn, type ChatPresetRegistry as co, ChatReportReason as cp, type ChatReportResponse as cq, type ChatRequest as cr, type ChatRoomUpdate as cs, type ChatSendResponse as ct, type ChatStateResponse as cu, type CheckQualificationResponse as cv, type ClaimAllRewardsBatchResponse as cw, type ClaimAllRewardsResult as cx, type ClaimComebackRewardResponse as cy, type ClaimCycleRewardResponse as cz, type RealtimeSessionOptions as d, type CraftDefinitions as d$, CloudCodeLogLevel as d0, type CloudCodeRequest as d1, CloudCodeRevisionSelection as d2, type CodeExecutionError as d3, type CollectIdleAccrualResponse as d4, CollectionAction as d5, type CollectionDefinitions as d6, type CollectionGlobalSettings as d7, type CollectionRequest as d8, type CollectionSetRef as d9, CommunityPayoutCurrencyKind as dA, type CommunityPayoutSummary as dB, type CommunitySolanaWithdrawalSignature as dC, type CommunityWithdrawalResponse as dD, type ConfirmWithdrawalResponse as dE, type ConversionDailyCounter as dF, ConversionRateMode as dG, type ConversionTarget as dH, type ConvertResponse as dI, type CoopBuildObjectsMemberState as dJ, type CoopBuildObjectsState as dK, type CoopClaimRewardResponse as dL, CoopEventAction as dM, type CoopEventDefinitions as dN, type CoopEventRequest as dO, type CoopGroupDocument as dP, type CoopGroupMember as dQ, type CoopGroupStateResponse as dR, CoopGroupStatus as dS, type CoopLeaveGroupResponse as dT, CoopMemberStatus as dU, type CoopPartnerObjectState as dV, type CoopSpinResponse as dW, type CoopUserStateResponse as dX, CraftAction as dY, type CraftBurnedInstance as dZ, type CraftDefinition as d_, type CollectionTradeOfferDocument as da, CommissionSink as db, type CommunityAccrualLine as dc, type CommunityCampaignSummary as dd, type CommunityChestClaimResponse as de, type CommunityChestGroupDocument as df, type CommunityChestGroupStateResponse as dg, type CommunityChestHistoryEntry as dh, type CommunityChestLeaveResponse as di, type CommunityChestMember as dj, CommunityChestMemberStatus as dk, type CommunityChestSharedState as dl, CommunityChestStatus as dm, type CommunityChestUserStateResponse as dn, type CommunityClaimResponse as dp, CommunityCreatorStatus as dq, type CommunityEarningsLine as dr, type CommunityEarningsResponse as ds, type CommunityEligibilityCondition as dt, type CommunityEligibilityResponse as du, CommunityMarketingAction as dv, type CommunityMarketingRequest as dw, type CommunityMarketingState as dx, CommunityMetricKind as dy, CommunityParticipationMode as dz, type VoiceControllerEvents as e, DataOwnerDeletedPolicy as e$, type CraftDefinitionsResponse as e0, CraftInputSelectionMode as e1, CraftOutputLevelMode as e2, CraftOutputLevelOverflow as e3, type CraftRequest as e4, type CraftResponse as e5, type CraftSingleResult as e6, CraftType as e7, type CreateMatchResponse as e8, type CreditsBalanceView as e9, type DailyRewardDay as eA, type DailyUsageRecord as eB, DataAccessMode as eC, type DataAccessRule as eD, type DataBatchOperation as eE, type DataBatchResponse as eF, type DataCollectionDefinition as eG, DataCollectionKind as eH, DataCollectionSchemaMode as eI, DataCollectionsAction as eJ, type DataCollectionsRequest as eK, type DataCountResponse as eL, DataCounterKind as eM, type DataCounterResponse as eN, type DataDefinitionsResponse as eO, type DataDeleteResponse as eP, type DataFieldDefinition as eQ, DataFieldType as eR, DataFieldVisibility as eS, type DataFileUploadResponse as eT, type DataFileView as eU, type DataFilter as eV, type DataFilterOp as eW, type DataGetManyResponse as eX, type DataGetResponse as eY, type DataItemView as eZ, type DataOperationEconomy as e_, CreditsConfirmationStatus as ea, type CreditsConfirmationView as eb, CreditsError as ec, type CreditsPayOptions as ed, type CreditsPayableResponse as ee, type CryptoConvertResponse as ef, type CryptoCurrencyDefinition as eg, type CryptoCurrencyPermissions as eh, type CryptoLimits as ei, type CryptoNetworkBinding as ej, type CryptoShortfall as ek, type CryptoTopUpHandler as el, CurrencyAction as em, type CurrencyAudit as en, type CurrencyConversion as eo, type CurrencyDefinitions as ep, type CurrencyRequest as eq, type CurrencySpendDefinition as er, CurrencyStatus as es, CurrencyType as et, CustomDataBucket as eu, CustomDataValueType as ev, CustomDataWriter as ew, type CyclicSchedule as ex, DEFAULT_BASE_URL as ey, type DailyCalendarDefinition as ez, type VoiceControllerOptions as f, type EventTokenConversion as f$, type DataPublicViewDefinition as f0, type DataPublicViewPage as f1, type DataPublicViewPointer as f2, type DataPublicViewsResponse as f3, type DataQueryResponse as f4, type DataQuerySpec as f5, type DataReadOptions as f6, type DataRecord as f7, DataRefKind as f8, type DataRefTarget as f9, type DealRewardedVideoActionDefinition as fA, type DealSlotBehaviour as fB, type DealSlotDefinition as fC, type DealSlotPresetBindings as fD, type DealSlotQueueEntry as fE, type DealTrackChange as fF, type DealTrackDefinition as fG, type DealTrackRequirement as fH, type DeclineTradeOfferResponse as fI, type DepositNFTResponse as fJ, type DepositTokenResponse as fK, type DirectMessageSettings as fL, type DismissDealResponse as fM, type DonationResponse as fN, type DroppedEvent as fO, EVENT_NAME_PATTERN as fP, type EnsureStateOptions as fQ, EnvelopeType as fR, type EquipItemsResponse as fS, type EquipSkinResponse as fT, type EquipSlotPair as fU, type EquipmentPreset as fV, type EquipmentSlot as fW, type EquippedItem as fX, type EventMap as fY, type EventMilestoneClaimResponse as fZ, type EventTokenAddress as f_, type DataRolesResponse as fa, type DataSortKeyDefinition as fb, type DataUpdateSpec as fc, type DataWriteResponse as fd, type DealAvailability as fe, DealComparisonOperator as ff, type DealIdentity as fg, type DealMilestoneBlock as fh, type DealMilestoneProgressInfo as fi, type DealNodeActionDefinition as fj, type DealNodeDefinition as fk, type DealNodePresetBindings as fl, type DealNodePricing as fm, type DealNodeReward as fn, DealNodeRuntimeStatus as fo, DealNodeType as fp, type DealNodeUnlockRules as fq, DealOfferAction as fr, DealOfferActivationStatus as fs, type DealOfferDefinition as ft, type DealOfferDefinitions as fu, type DealOfferGraph as fv, type DealOfferPresetBindings as fw, type DealOfferPresetRegistry as fx, type DealOfferRequest as fy, type DealOffersDefinitionResponse as fz, type IDosGamesClientConfig as g, type InboxBadgeResponse as g$, type EventTokenDefinition as g0, type EventTokenGrantResponse as g1, type EventTokenMilestoneData as g2, type EventTokenOperation as g3, type EventTokenSpendResponse as g4, EventTokenType as g5, type ExecuteCloudCodeResponse as g6, type ExecuteNodeResponse as g7, ExperimentAction as g8, type ExperimentDefinition as g9, type GetLeaderboardsBatchResponse as gA, type GetMailboxMessagesResponse as gB, type GetMatchDefinitionsResponse as gC, type GetMilestoneRewardMultiplierResponse as gD, type GetMyProgressResponse as gE, type GetMyUserCustomDataResponse as gF, type GetOverviewBatchResponse as gG, type GetProgressBatchResponse as gH, type GetPublicTitleDataResponse as gI, type GetPublicUserCustomDataResponse as gJ, type GetStorefrontResponse as gK, type GetTradeOffersResponse as gL, type GetUserQuestStateResponse as gM, type GetUserTutorialStateResponse as gN, type GrantStatusTokensResponse as gO, type GrantTokensBatchResponse as gP, type GrantedCollectible as gQ, type HeistCell as gR, type IDosGamesSettings as gS, type IapProductAvailability as gT, type IapProductDefinition as gU, type IapProductPurchaseState as gV, type IapProductRules as gW, IapProductType as gX, IapPurchaseStatus as gY, type IapStore as gZ, IapStore$1 as g_, type ExperimentDefinitions as ga, type ExperimentGoal as gb, ExperimentGoalKind as gc, type ExperimentRequest as gd, type ExperimentVariant as ge, type ExperimentVariantCondition as gf, FRIENDS_FROM_PLATFORM as gg, type FodderConsumedEntry as gh, FodderSelectionMode as gi, FodderValuationMode as gj, type FriendActionResponse as gk, FriendActionStatus as gl, type FriendPublicProfile as gm, FriendSource as gn, type FriendsListResponse as go, GameLoopAction as gp, type GameLoopDefinitions as gq, type GameLoopRequest as gr, type GetActiveBoostWindowsResponse as gs, type GetActiveDealsResponse as gt, type GetActiveEventsResponse as gu, type GetActiveTimedBoostsResponse as gv, type GetCharacterSkinsResponse as gw, type GetCharactersResponse as gx, type GetExperimentsResponse as gy, type GetLeaderboardResponse as gz, CurrencyService as h, MailboxAction as h$, type InboxResponse as h0, type InstantBattleDefinitions as h1, type InstantBattleResponse as h2, type InstantBattleRule as h3, type InventoryDelta as h4, ItemAction as h5, type ItemCatalog as h6, type ItemDefinition as h7, type ItemDefinitions as h8, type ItemEquipment as h9, type LocalizationManifestResponse as hA, LocalizationMissingKeyMode as hB, type LocalizationParams as hC, type LocalizationRequest as hD, type LocalizationState as hE, type LocalizationTableRef as hF, type LocalizationTableResponse as hG, type LogEventsResponse as hH, type LoginViewParams as hI, type LoginViewsMode as hJ, type LookDefinitions as hK, LootboxAction as hL, type LootboxAmountRange as hM, type LootboxDefinitions as hN, type LootboxDefinitionsResponse as hO, type LootboxGlobalSettings as hP, type LootboxOpenResponse as hQ, type LootboxPityRule as hR, type LootboxPityTriggerResponse as hS, type LootboxRequest as hT, type LootboxRewardRoll as hU, type LootboxRewardSlot as hV, type LootboxSupplyRule as hW, MAILBOX_COUNTER_CAP as hX, type MailLink as hY, type MailTemplateDefinition as hZ, type MailText as h_, type ItemMetadata as ha, type ItemRequest as hb, type ItemStats as hc, type ItemTotals as hd, type ItemUpgrade as he, type ItemUpgradeFodder as hf, type ItemUpgradeRef as hg, type JsonValue as hh, type KickMemberResponse as hi, KycStatus as hj, KycTier as hk, LeaderboardAction as hl, type LeaderboardDefinitions as hm, type LeaderboardMilestoneRef as hn, type LeaderboardOverview as ho, type LeaderboardRequest as hp, type LeaderboardScoreRef as hq, type LeaderboardUserEntry as hr, type LeaveRoomResponse as hs, type LevelsPreset as ht, type LimitSpec as hu, type LinkedWalletInfo as hv, LocalizationAction as hw, type LocalizationDefinitions as hx, type LocalizationLocaleDefinition as hy, type LocalizationLocaleInfo as hz, ItemService as i, MultiplayerTopology as i$, MailboxCategory as i0, type MailboxClaimResponse as i1, type MailboxClaimedLetter as i2, type MailboxCountersResponse as i3, type MailboxDefinitions as i4, MailboxErrors as i5, type MailboxGiftStatusResponse as i6, type MailboxItemFailure as i7, type MailboxLetter as i8, MailboxLetterSource as i9, type MarketplaceHistoryEntryView as iA, type MarketplaceHistoryFilter as iB, type MarketplaceHistoryResponse as iC, type MarketplaceListingSettings as iD, type MarketplaceMatchingSettings as iE, type MarketplaceMyBidsFilter as iF, type MarketplaceMyStateResponse as iG, type MarketplaceOfferResponse as iH, type MarketplaceOfferView as iI, type MarketplacePlaceBidResponse as iJ, type MarketplacePricePolicy as iK, type MarketplaceRequest as iL, type MarketplaceSettlementResponse as iM, type MarketplaceTradabilityPolicy as iN, MatchAction as iO, type MatchDefinitions as iP, type MatchRequest as iQ, MatchStatus as iR, type MatchesPageResponse as iS, type MilestoneClaimEntry as iT, type MilestoneClaimRef as iU, type MilestoneDefinition as iV, MultiplayerAction as iW, MultiplayerChatMode as iX, type MultiplayerDefinitions as iY, type MultiplayerRequest as iZ, type MultiplayerSystemState as i_, type MailboxOperationResponse as ia, type MailboxPendingReward as ib, type MailboxRequest as ic, MailboxRewardModule as id, type MailboxSendGiftResponse as ie, type MailboxSendTransferResponse as ig, MarketGoodsType as ih, MarketOfferStatus as ii, MarketOfferType as ij, MarketplaceAction as ik, type MarketplaceActionCounter as il, type MarketplaceAuctionSettings as im, type MarketplaceAuctionState as io, type MarketplaceBidRefund as ip, type MarketplaceBrowseResponse as iq, type MarketplaceBuyOrderSettings as ir, type MarketplaceCommissionOverride as is, type MarketplaceCommissionPolicy as it, type MarketplaceCreateOfferResponse as iu, type MarketplaceDefinitions as iv, type MarketplaceDirectTradeSettings as iw, type MarketplaceGetDefinitionsResponse as ix, type MarketplaceGroupedOfferView as iy, type MarketplaceGroupedOffersResponse as iz, CreditsService as j, type QuestAvailability as j$, type NFTModel as j0, type NFTNetworkBinding as j1, type NFTTransactionDocument as j2, type NFTWithdrawalResponse as j3, type NftCollectionStats as j4, type NftStatsContainer as j5, OFFER_NOT_IN_ROTATION as j6, type OpenCollectionChestResponse as j7, type OpenPackResponse as j8, type OperationFailure as j9, type PremiumRequest as jA, type PremiumStateResponse as jB, type PremiumSubscription as jC, type PriceOption as jD, type PriceOptions as jE, type PublishResponse as jF, PurchaseAction as jG, type PurchaseBatchResponse as jH, type PurchaseDefinitions as jI, type PurchaseDefinitionsResponse as jJ, type PurchaseReceiptRef as jK, type PurchaseRequest as jL, type PurchaseValidationBatchResponse as jM, type PurchaseValidationResponse as jN, PushAction as jO, type PushConfigResponse as jP, PushPermissionState as jQ, type PushRequest as jR, type PushSubscribeOptions as jS, type PushSubscribeResult as jT, type PushSubscriptionListResponse as jU, type PushSubscriptionView as jV, PushTopic as jW, type PushTopicView as jX, PushTransport as jY, type PvPMatch as jZ, QuestAction as j_, type OperationFailureReason as ja, type OperationSuccess as jb, PLATFORM_AD_PROVIDER as jc, type PackOpenResult as jd, type PaymentProof as je, type PaymentRequirement as jf, type PendingWithdrawalRef as jg, type PlatformBlockchainState as jh, type PlatformBridgeDefinitions as ji, PlatformFriendsMode as jj, type PlatformLoginResponse as jk, PlatformProfileMode as jl, type PlayAccessInfoResponse as jm, PlayAccessMode as jn, type PlayAccessState as jo, type PlayAccessStatus as jp, type PlayAccessWallet as jq, type PlayerEconomyTuningState as jr, PlayerExperimentStatus as js, type PlayerExperimentView as jt, PlaytimeTracker as ju, type PollResponse as jv, PremiumAction as jw, type PremiumDefinitions as jx, type PremiumDefinitionsResponse as jy, type PremiumPurchaseResponse as jz, CheckoutService as k, SeasonAction as k$, type QuestClaimRef as k0, type QuestCycleDefinition as k1, type QuestDefinition as k2, type QuestDefinitions as k3, type QuestGroupCompletionDefinition as k4, type QuestIdentity as k5, type QuestLinking as k6, type QuestObjectiveDefinition as k7, QuestObjectiveSource as k8, type QuestPhaseDefinition as k9, type ResourceEntry as kA, ResourceEntryType as kB, type ResourceGrant as kC, type ResourceOperation as kD, type ResourceTransferResult as kE, type RetryWithdrawalResponse as kF, RewardAction as kG, type RewardDefinitions as kH, type RewardDefinitionsResponse as kI, type RewardRequest as kJ, RewardWindowBoost as kK, type RewardWindowDefinition as kL, type RewardedAdResult as kM, type RewardedAdStatus as kN, type RollActionData as kO, type RoomListItem as kP, type RoomMemberView as kQ, type RoomSnapshotResponse as kR, RoomVisibility as kS, type RoomsPageResponse as kT, SKIN_ALREADY_OWNED as kU, SKIN_SLOT as kV, type ScheduleChain as kW, type ScheduleChainPhase as kX, ScheduleMode as kY, type ScheduleSpec as kZ, type ScheduledWindow as k_, type QuestPointsTrackView as ka, QuestPrerequisiteMode as kb, type QuestPresetBindings as kc, type QuestPresetRegistry as kd, type QuestProgressUpdate as ke, type QuestRequest as kf, type QuestReward as kg, QuestStatus as kh, RaidMode as ki, type RaidResponse as kj, type ReadOptions as kk, type RealtimeEnvelope as kl, type RechargeConfig as km, type RecordShowResponse as kn, ReferralAction as ko, type ReferralConditionType as kp, type ReferralDefinitions as kq, type ReferralDefinitionsResponse as kr, type ReferralInviteRewardState as ks, type ReferralQualificationDefinition as kt, type ReferralQualificationProgress as ku, type ReferralRequest as kv, type RelativeWindow as kw, type ResourceBundle as kx, type ResourceConsume as ky, type ResourceDualPartyResult as kz, RewardService as l, type StoreRotationPurchaseState as l$, type SeasonDefinitions as l0, type SeasonRequest as l1, type SeasonTierRewardBundle as l2, type SeasonTierRewardMultiplier as l3, type SeasonTierRewardSet as l4, type SegmentGate as l5, type SendTradeOfferResponse as l6, type SetUserCustomDataResponse as l7, type SettingsInput as l8, SocialAction as l9, type SpecialChooseResponse as lA, type SpecialClaimResponse as lB, type SpecialModeOfferData as lC, type SpecialPendingState as lD, type SpendResponse as lE, type SpendRewardDefinition as lF, type SpendTokensBatchResponse as lG, type StatDefinition as lH, type StatRequirement as lI, type StateRule as lJ, type StatsPreset as lK, StoreAction as lL, type StoreAvailability as lM, type StoreDefinition as lN, type StoreDefinitions as lO, type StoreIdentity as lP, type StoreLayout as lQ, type StoreOfferAvailability as lR, type StoreOfferDefinition as lS, type StoreOfferPricing as lT, type StoreOfferReward as lU, type StoreOfferStateView as lV, type StorePurchaseRef as lW, type StorePurchaseResponse as lX, type StorePurchaseState as lY, type StoreRequest as lZ, StoreRotationMode as l_, type SocialActorPage as la, type SocialActorSnapshot as lb, type SocialActorView as lc, type SocialCommentDeleteResponse as ld, type SocialCommentPage as le, type SocialCommentView as lf, SocialContentStatus as lg, type SocialCounters as lh, type SocialCounts as li, type SocialCursor as lj, type SocialDefinitions as lk, type SocialEntityState as ll, type SocialEntityStatesResponse as lm, SocialEntityType as ln, type SocialGiftDefinition as lo, type SocialInboxItem as lp, SocialInboxVerb as lq, SocialReactionKind as lr, type SocialReactionPage as ls, type SocialReactionView as lt, SocialReportReason as lu, type SocialReportResponse as lv, type SocialRequest as lw, type SolanaWithdrawalSignature as lx, type SpecialApplyMultiplierResponse as ly, SpecialChoiceMode as lz, AnalyticsService as m, type TutorialIdentity as m$, type StoreSectionDefinition as m0, type StoreSlotDefinition as m1, type StoreSlotPoolEntry as m2, type StoreSlotRotation as m3, StoreType as m4, type StorefrontOfferView as m5, type StorefrontPriceOptionView as m6, type StorefrontSectionView as m7, type StorefrontSlotView as m8, type StorefrontView as m9, type TokenCurrencyStats as mA, type TokenStatsContainer as mB, type TokenTransactionDocument as mC, type TokenWithdrawalResponse as mD, TradeOfferStatus as mE, TransactionDirection as mF, type TransactionHistoryResponse as mG, type TransferGiftDefinition as mH, type TransferableResource as mI, type TriggerContext as mJ, type TriggerSource as mK, TutorialAction as mL, type TutorialAvailability as mM, type TutorialBlockingPolicy as mN, TutorialBoardAction as mO, type TutorialBoardScript as mP, type TutorialClaimResponse as mQ, type TutorialDefinitions as mR, type TutorialFlowBatchResponse as mS, type TutorialFlowDefinition as mT, type TutorialFlowPolicy as mU, type TutorialFlowResponse as mV, TutorialFlowStatus as mW, type TutorialFlowView as mX, type TutorialGateCondition as mY, TutorialGateMode as mZ, type TutorialGlobalSettings as m_, type SubmitScoreResponse as ma, type SubmitScoresBatchResponse as mb, type SuccessResponse as mc, type TelegramInvoiceResponse as md, TimedBoostAction as me, type TimedBoostDefinitions as mf, type TimedBoostRequest as mg, TimedBoostStackingPolicy as mh, TimedEventAction as mi, type TimedEventDefinitions as mj, type TimedEventGrantRef as mk, type TimedEventInstanceRef as ml, type TimedEventMilestoneRef as mm, type TimedEventRequest as mn, type TimedEventSpendRef as mo, TitleAction as mp, TitleConfig as mq, TitleCustomDataAction as mr, type TitleCustomDataDefinitions as ms, type TitleCustomDataKeyDefinition as mt, type TitleCustomDataRecord as mu, type TitleCustomDataRequest as mv, TitleDataBucket as mw, TitleDataScope as mx, type TitlePublicConfigurationModel as my, type TitleRequest as mz, CommunityMarketingService as n, type UserDealOfferHistory as n$, type TutorialPresetBindings as n0, type TutorialPresetRegistry as n1, type TutorialRequest as n2, TutorialRestartPolicy as n3, type TutorialReward as n4, TutorialScriptModule as n5, type TutorialScriptedOutcome as n6, type TutorialStepCompletion as n7, TutorialStepCompletionMode as n8, type TutorialStepDefinition as n9, type UserBlockchainState as nA, type UserBlockchainStateResponse as nB, type UserCharactersState as nC, type UserChatChannelState as nD, type UserChatLimitState as nE, type UserChatState as nF, type UserClaimRewardState as nG, type UserCollectionState as nH, type UserComebackState as nI, type UserCommunityChestState as nJ, type UserCoopEventState as nK, type UserCryptoComplianceCounters as nL, type UserCryptoCurrencyState as nM, UserCustomDataAction as nN, type UserCustomDataBatchDeleteItem as nO, type UserCustomDataBatchSetItem as nP, type UserCustomDataDefinitions as nQ, type UserCustomDataKeyDefinition as nR, type UserCustomDataRecord as nS, type UserCustomDataRequest as nT, type UserCustomDataState as nU, type UserDailyCalendarState as nV, type UserDailyCounters as nW, UserData as nX, type UserDealNodeLifetimeCounts as nY, type UserDealNodeState as nZ, type UserDealOfferActivationState as n_, type TutorialStepEffects as na, type TutorialStepIdentity as nb, type TutorialStepPolicy as nc, type TutorialStepProgress as nd, TypedEmitter as ne, type UnbanMemberResponse as nf, type UnequipAllCharactersResponse as ng, type UnequipItemsResponse as nh, type UnequipSkinResponse as ni, type UnlockCharacterResponse as nj, type UnlockCharactersBatchResponse as nk, type UnlockSkinResponse as nl, type UnstackableItemInstanceState as nm, type UpdateMatchResponse as nn, type UpgradeCharacterLevelResponse as no, type UpgradeCharacterLevelsBatchResponse as np, type UpgradeItemLevelResponse as nq, type UpgradeLevelsBatchResponse as nr, type UpgradeLevelsOptions as ns, type UpgradeStatLevelResponse as nt, type UpgradeStatLevelsBatchResponse as nu, type UsagePeriodRecord as nv, type UsageReactivationEvent as nw, type UsageTimeStats as nx, type UseCollectibleJokerResponse as ny, UserAction as nz, ChatService as o, WorkshopAccessVia as o$, type UserDealOffersState as o0, type UserDealOffersStateResponse as o1, type UserDealSlotState as o2, type UserDealTrackState as o3, type UserDepositAddress as o4, type UserEventTokenProgress as o5, type UserEventTokensState as o6, type UserGameLoopsState as o7, type UserIdleAccrualState as o8, type UserInventoryState as o9, type UserStateSlice as oA, type UserStateVersions as oB, type UserStoreState as oC, type UserTimedBoostsState as oD, type UserTimedEventStateResponse as oE, type UserTutorialFlowState as oF, type UserTutorialState as oG, type UserTutorialStepState as oH, type UserUsageState as oI, type UserVirtualCurrencyState as oJ, type ViewSchema as oK, type VirtualCurrencyDefinition as oL, type VirtualCurrencyEconomy as oM, type VirtualCurrencyPermissions as oN, type WalletChallengeResponse as oO, WalletGateBalanceSource as oP, type WalletGatedBalance as oQ, type WalletLinkResponse as oR, WalletLinkType as oS, type WalletPlayTokenGate as oT, type WalletUnlinkResponse as oU, type WithdrawalSignatureResponse as oV, type WithdrawalSplit as oW, WorkshopAccessMode as oX, type WorkshopAccessOption as oY, type WorkshopAccessOptionInput as oZ, type WorkshopAccessState as o_, type UserKycState as oa, type UserLeaderboardProgress as ob, type UserLeaderboardsState as oc, type UserLootboxPityCounter as od, type UserLootboxState as oe, type UserMarketplaceState as of, type UserMatchCreationLimitState as og, type UserMatchState as oh, type UserPremiumState as oi, type UserPublicDataModel as oj, type UserPurchaseState as ok, type UserQuestCycleState as ol, type UserQuestObjectiveProgress as om, type UserQuestProgress as on, type UserQuestState as oo, type UserReferralState as op, type UserReferralStateResponse as oq, type UserRequest as or, type UserRewardState as os, type UserRewardWindowState as ot, type UserRewardsStateResponse as ou, type UserSeasonState as ov, type UserSeasonStateResponse as ow, type UserSeasonsState as ox, type UserSocialState as oy, type UserState as oz, PushService as p, type WorkshopAcquireResponse as p0, WorkshopAction as p1, type WorkshopBeginUploadResponse as p2, type WorkshopBrowseQuery as p3, type WorkshopBrowseResponse as p4, type WorkshopCollection as p5, type WorkshopCollectionResponse as p6, type WorkshopCollectionView as p7, type WorkshopContentMutationResponse as p8, type WorkshopContentResponse as p9, type WorkshopRequest as pA, WorkshopSort as pB, type WorkshopUploadTarget as pC, WorkshopVisibility as pD, claimedMilestoneIDs as pE, cryptoShortfallFromError as pF, defineView as pG, grantedPremiumTiers as pH, isAIGenerationTerminal as pI, isFail as pJ, isMilestoneClaimed as pK, isOk as pL, isReservedSlot as pM, normalizeBlockchainCategory as pN, parseAIErrorCode as pO, where as pP, zPaymentProof as pQ, zPriceOption as pR, zPriceOptions as pS, type WorkshopContentStats as pa, WorkshopContentStatus as pb, type WorkshopContentType as pc, type WorkshopContentView as pd, type WorkshopCreatorProfileResponse as pe, type WorkshopDefinitions as pf, type WorkshopDefinitionsResponse as pg, type WorkshopDownloadFile as ph, type WorkshopDownloadResponse as pi, type WorkshopDownloadedFile as pj, type WorkshopFileData as pk, type WorkshopFileDeclaration as pl, type WorkshopFileRole as pm, WorkshopHoldingMatch as pn, WorkshopHoldingMode as po, type WorkshopHoldingPolicy as pp, type WorkshopHoldingRequirement as pq, type WorkshopHoldingRule as pr, WorkshopLicenseSource as ps, type WorkshopLicenseView as pt, type WorkshopLicensesResponse as pu, type WorkshopLimits as pv, type WorkshopModerationSettings as pw, type WorkshopPublishFile as px, type WorkshopPublishInput as py, type WorkshopPublishResponse as pz, LocalizationService as q, TimedEventService as r, LeaderboardService as s, SeasonService as t, PremiumService as u, CharacterService as v, MatchService as w, CraftService as x, AIService as y, CollectionService as z };
@@ -1,2 +1,2 @@
1
- var f=class{getString(e){if(typeof localStorage>"u")return null;try{return localStorage.getItem(e)}catch{return null}}setString(e,r){if(!(typeof localStorage>"u"))try{localStorage.setItem(e,r);}catch{}}remove(e){if(!(typeof localStorage>"u"))try{localStorage.removeItem(e);}catch{}}},g=class{map=new Map;getString(e){return this.map.get(e)??null}setString(e,r){this.map.set(e,r);}remove(e){this.map.delete(e);}};function n(){return globalThis.Telegram?.WebApp??null}function U(){return crypto.randomUUID()}var v="idos_device_id",w=class{storage;constructor(e=new f){this.storage=e;}getPlatform(){return n()?.platform??"Web"}getFullURL(){return typeof location<"u"?location.href:""}getStartParameter(){let e=n()?.initDataUnsafe?.start_param;return typeof e=="string"?e:null}getReferrer(){if(typeof document>"u")return null;let e=document.referrer;return e&&e.length>0?e:null}getTelegramInitDataRaw(){let e=n()?.initData;return e&&e.length>0?e:null}getDeviceID(){let e=this.storage.getString(v);return e||(e=U(),this.storage.setString(v,e)),e}getDeviceModel(){return typeof navigator<"u"&&navigator.userAgent?navigator.userAgent:"Web"}shareLink(e){let r=n();if(r?.openTelegramLink){r.openTelegramLink(e);return}typeof window<"u"&&window.open(e,"_blank");}openInvoice(e){let r=n();if(r?.openInvoice){r.openInvoice(e);return}typeof window<"u"&&window.open(e,"_blank");}async showAd(e){let r=globalThis;typeof r.showAd=="function"&&await r.showAd(e);}async copyToClipboard(e){typeof navigator<"u"&&navigator.clipboard&&await navigator.clipboard.writeText(e);}};var L="idos_device_id",P=class{storage;constructor(e=new g){this.storage=e;}getPlatform(){return "Web"}getFullURL(){return ""}getStartParameter(){return null}getTelegramInitDataRaw(){return null}getDeviceID(){let e=this.storage.getString(L);return e||(e="noop-device",this.storage.setString(L,e)),e}getDeviceModel(){return "Noop"}shareLink(){}openInvoice(){}async showAd(){}async copyToClipboard(){}};var s=["https://idosgames.com","https://www.idosgames.com"],u="https://platform.idosgames.com",h=/^[a-z0-9]{8}-preview\.idos\.games$/;function I(t){return t==="localhost"||t==="127.0.0.1"||t==="[::1]"||t.endsWith(".localhost")}function S(){if(typeof window>"u")return false;let t=window.location.hostname.toLowerCase();return h.test(t)?true:I(t)&&globalThis.__IDOS_PREVIEW__!=null}function p(t){if(typeof window<"u"&&h.test(window.location.hostname.toLowerCase()))return t===u;if(s.includes(t))return true;if(typeof window>"u"||!I(window.location.hostname))return false;try{return I(new URL(t).hostname)}catch{return false}}var x="IDOS_PLATFORM_WALLET_ACK",C="PLATFORM_WALLET_UNAVAILABLE",b=5e3,F=18e4;function W(){if(p(u))return [u];let t=[...s],e=window.location.ancestorOrigins?.[0];return e&&!t.includes(e)&&p(e)&&t.push(e),t}function G(){return `wallet-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`}function i(t,e,r,l={}){let c={ok:false,error:C,data:{}};if(typeof window>"u"||window.self===window.top)return Promise.resolve(c);let E=window.parent;if(!E)return Promise.resolve(c);let O=G(),k=l.answerTimeoutMs??F;return new Promise(N=>{let D=false,m,d=a=>{D||(D=true,window.removeEventListener("message",M),clearTimeout(m),N(a));},M=a=>{if(!p(a.origin))return;let o=a.data;if(!(!o||o.requestId!==O)){if(o.type===x){clearTimeout(m),m=setTimeout(()=>d({ok:false,error:"TIMEOUT",data:{}}),k);return}o.type===e&&d({ok:o.ok===true,error:typeof o.error=="string"?o.error:void 0,data:o});}};m=setTimeout(()=>d(c),b),window.addEventListener("message",M);for(let a of W())try{E.postMessage({type:t,requestId:O,...r},a);}catch{}})}var _={request:"IDOS_PLATFORM_TOPUP_REQUEST",response:"IDOS_PLATFORM_TOPUP_RESPONSE"},V=15*6e4,K=/^[a-z0-9]{8}-preview\.idos\.games$/;function T(){if(typeof window>"u")return false;try{if(window.self===window.top||window.parent!==window.top)return !1}catch{return false}return !K.test(window.location.hostname.toLowerCase())}async function q(t){let e=await i(_.request,_.response,{titleID:t.titleID,userID:t.userID,currencyID:t.currencyID,amount:t.amount},{answerTimeoutMs:V});return e.ok?{ok:true}:{ok:false,error:e.error}}var A={request:"IDOS_PLATFORM_AUTH_REQUEST",response:"IDOS_PLATFORM_AUTH_RESPONSE"},B=30*6e4,R="idos:platformSignIn:declined:";function H(){if(typeof window>"u")return false;try{if(window.self===window.top||window.parent!==window.top)return !1}catch{return false}if(S())return false;let t=window.location.ancestorOrigins?.[0];if(t&&!s.includes(t))try{let e=new URL(t).hostname;if(e!=="localhost"&&e!=="127.0.0.1")return !1}catch{return false}return true}function de(){if(typeof window>"u"||!S())return false;try{return window.self!==window.top&&window.parent===window.top}catch{return false}}async function $(t){let e=await i(A.request,A.response,{titleID:t,supports:["pgs"]},{answerTimeoutMs:B}),r=e.data.ticket;if(e.ok&&typeof r=="string"&&r.length>0)return {ticket:r};let l=e.data.code;return e.ok&&typeof l=="string"&&l.length>0?{code:l}:{error:e.error??"no_code"}}function Q(t){try{window.localStorage.setItem(R+t,"1");}catch{}}function Y(t){try{window.localStorage.removeItem(R+t);}catch{}}function z(t){try{return window.localStorage.getItem(R+t)==="1"}catch{return false}}var y={request:"IDOS_PLATFORM_CREDITS_CONFIRM_REQUEST",response:"IDOS_PLATFORM_CREDITS_CONFIRM_RESPONSE"},X=10*6e4;function j(){return T()}async function J(t){let e=await i(y.request,y.response,{titleID:t.titleID,confirmationID:t.confirmationID},{answerTimeoutMs:X});return e.ok?{ok:true}:{ok:false,error:e.error}}
2
- export{f as a,g as b,n as c,U as d,w as e,s as f,p as g,x as h,C as i,i as j,A as k,H as l,de as m,$ as n,Q as o,Y as p,z as q,_ as r,T as s,q as t,y as u,j as v,J as w,P as x};
1
+ var f=class{getString(e){if(typeof localStorage>"u")return null;try{return localStorage.getItem(e)}catch{return null}}setString(e,r){if(!(typeof localStorage>"u"))try{localStorage.setItem(e,r);}catch{}}remove(e){if(!(typeof localStorage>"u"))try{localStorage.removeItem(e);}catch{}}},g=class{map=new Map;getString(e){return this.map.get(e)??null}setString(e,r){this.map.set(e,r);}remove(e){this.map.delete(e);}};function n(){return globalThis.Telegram?.WebApp??null}function v(){return crypto.randomUUID()}var h="idos_device_id",w=class{storage;constructor(e=new f){this.storage=e;}getPlatform(){return n()?.platform??"Web"}getFullURL(){return typeof location<"u"?location.href:""}getStartParameter(){let e=n()?.initDataUnsafe?.start_param;return typeof e=="string"?e:null}getReferrer(){if(typeof document>"u")return null;let e=document.referrer;return e&&e.length>0?e:null}getTelegramInitDataRaw(){let e=n()?.initData;return e&&e.length>0?e:null}getDeviceID(){let e=this.storage.getString(h);return e||(e=v(),this.storage.setString(h,e)),e}getDeviceModel(){return typeof navigator<"u"&&navigator.userAgent?navigator.userAgent:"Web"}shareLink(e){let r=n();if(r?.openTelegramLink){r.openTelegramLink(e);return}typeof window<"u"&&window.open(e,"_blank");}openInvoice(e){let r=n();if(r?.openInvoice){r.openInvoice(e);return}typeof window<"u"&&window.open(e,"_blank");}async showAd(e){let r=globalThis;typeof r.showAd=="function"&&await r.showAd(e);}async copyToClipboard(e){typeof navigator<"u"&&navigator.clipboard&&await navigator.clipboard.writeText(e);}};var U="idos_device_id",P=class{storage;constructor(e=new g){this.storage=e;}getPlatform(){return "Web"}getFullURL(){return ""}getStartParameter(){return null}getTelegramInitDataRaw(){return null}getDeviceID(){let e=this.storage.getString(U);return e||(e="noop-device",this.storage.setString(U,e)),e}getDeviceModel(){return "Noop"}shareLink(){}openInvoice(){}async showAd(){}async copyToClipboard(){}};var s=["https://idosgames.com","https://www.idosgames.com"],u="https://platform.idosgames.com",x=/^[a-z0-9]{8}-preview\.idos\.games$/;function I(t){return t==="localhost"||t==="127.0.0.1"||t==="[::1]"||t.endsWith(".localhost")}function S(){if(typeof window>"u")return false;let t=window.location.hostname.toLowerCase();return x.test(t)?true:I(t)&&globalThis.__IDOS_PREVIEW__!=null}function p(t){if(typeof window<"u"&&x.test(window.location.hostname.toLowerCase()))return t===u;if(s.includes(t))return true;if(typeof window>"u"||!I(window.location.hostname))return false;try{return I(new URL(t).hostname)}catch{return false}}var L="IDOS_PLATFORM_WALLET_ACK",C="PLATFORM_WALLET_UNAVAILABLE",N=5e3,F=18e4;function W(){if(p(u))return [u];let t=[...s],e=window.location.ancestorOrigins?.[0];return e&&!t.includes(e)&&p(e)&&t.push(e),t}function G(){return `wallet-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`}function i(t,e,r,l={}){let c={ok:false,error:C,data:{}};if(typeof window>"u"||window.self===window.top)return Promise.resolve(c);let E=window.parent;if(!E)return Promise.resolve(c);let D=G(),k=l.answerTimeoutMs??F;return new Promise(b=>{let O=false,m,d=a=>{O||(O=true,window.removeEventListener("message",M),clearTimeout(m),b(a));},M=a=>{if(!p(a.origin))return;let o=a.data;if(!(!o||o.requestId!==D)){if(o.type===L){clearTimeout(m),m=setTimeout(()=>d({ok:false,error:"TIMEOUT",data:{}}),k);return}o.type===e&&d({ok:o.ok===true,error:typeof o.error=="string"?o.error:void 0,data:o});}};m=setTimeout(()=>d(c),N),window.addEventListener("message",M);for(let a of W())try{E.postMessage({type:t,requestId:D,...r},a);}catch{}})}var T={request:"IDOS_PLATFORM_TOPUP_REQUEST",response:"IDOS_PLATFORM_TOPUP_RESPONSE"},V=15*6e4,K=/^[a-z0-9]{8}-preview\.idos\.games$/;function _(){if(typeof window>"u")return false;try{if(window.self===window.top||window.parent!==window.top)return !1}catch{return false}return !K.test(window.location.hostname.toLowerCase())}async function q(t){let e=await i(T.request,T.response,{titleID:t.titleID,userID:t.userID,currencyID:t.currencyID,amount:t.amount},{answerTimeoutMs:V});return e.ok?{ok:true}:{ok:false,error:e.error}}var A={request:"IDOS_PLATFORM_AUTH_REQUEST",response:"IDOS_PLATFORM_AUTH_RESPONSE"},B=30*6e4,R="idos:platformSignIn:declined:";function H(){if(typeof window>"u")return false;try{if(window.self===window.top||window.parent!==window.top)return !1}catch{return false}if(S())return false;let t=window.location.ancestorOrigins?.[0];if(t&&!s.includes(t))try{let e=new URL(t).hostname;if(e!=="localhost"&&e!=="127.0.0.1")return !1}catch{return false}return true}function we(){if(typeof window>"u"||!S())return false;try{return window.self!==window.top&&window.parent===window.top}catch{return false}}async function $(t){let e=await i(A.request,A.response,{titleID:t,supports:["pgs"]},{answerTimeoutMs:B}),r=e.data.ticket;if(e.ok&&typeof r=="string"&&r.length>0)return {ticket:r};let l=e.data.code;return e.ok&&typeof l=="string"&&l.length>0?{code:l}:{error:e.error??"no_code"}}function Q(t){try{window.localStorage.setItem(R+t,"1");}catch{}}function Y(t){try{window.localStorage.removeItem(R+t);}catch{}}function z(t){try{return window.localStorage.getItem(R+t)==="1"}catch{return false}}var y={request:"IDOS_PLATFORM_CREDITS_CONFIRM_REQUEST",response:"IDOS_PLATFORM_CREDITS_CONFIRM_RESPONSE"},X=10*6e4;function j(){let t=globalThis.navigator?.userAgent??"";if(!/\biDosGamesApp\/(?:player|studio)\//.test(t))return true;let e=/\biDosGamesPlatform\/(ios|android)\b/.exec(t);return (e?e[1]:/\bAndroid\b/.test(t)?"android":"ios")!=="ios"}function J(){return _()}async function Z(t){let e=await i(y.request,y.response,{titleID:t.titleID,confirmationID:t.confirmationID},{answerTimeoutMs:X});return e.ok?{ok:true}:{ok:false,error:e.error}}
2
+ export{f as a,g as b,n as c,v as d,w as e,s as f,p as g,L as h,C as i,i as j,A as k,H as l,we as m,$ as n,Q as o,Y as p,z as q,T as r,_ as s,q as t,y as u,j as v,J as w,Z as x,P as y};
@@ -174,6 +174,15 @@ interface PlatformCreditsConfirmResult {
174
174
  ok: boolean;
175
175
  error?: string;
176
176
  }
177
+ /**
178
+ * Whether the player can pay in Credits here at all. Not inside the iOS app of iDos Games: it sells no Credits through
179
+ * Apple In-App Purchase, App Store 3.1.1 allows digital purchases only through it, and the site refuses such a
180
+ * confirmation there for good (`DECLINED`). A game hides its Credits prices there instead of a button that can only
181
+ * fail. The app marks its WebView, the games inside it included, in the User-Agent:
182
+ * `iDosGamesApp/{player|studio}/{version} iDosGamesPlatform/{ios|android}`; builds without the platform mark are told
183
+ * apart by the WebView itself. Copy of the site's rule (`nativePlatform()` in iDosGames_com/utils/nativePlatform.ts).
184
+ */
185
+ declare function canPayWithPlatformCredits(): boolean;
177
186
  /**
178
187
  * Whether the page around the game can be asked at all: one frame deep (the site's `/app/{id}`; behind `/embed`
179
188
  * the game is two frames deep and a foreign page could cover our window) and not the AI Coder preview.
@@ -185,4 +194,4 @@ declare function requestPlatformCreditsConfirm(request: {
185
194
  confirmationID: string;
186
195
  }): Promise<PlatformCreditsConfirmResult>;
187
196
 
188
- export { BrowserPlatformAdapter as B, MemoryStorage as M, NoopPlatformAdapter as N, PLATFORM_BRIDGE_ACK as P, type TelegramInitDataUnsafe as T, BrowserStorage as a, PLATFORM_CREDITS_CONFIRM_MESSAGES as b, PLATFORM_ORIGINS as c, PLATFORM_PAGE_UNAVAILABLE as d, PLATFORM_SIGN_IN_MESSAGES as e, PLATFORM_TOPUP_MESSAGES as f, type PlatformCreditsConfirmResult as g, type PlatformPageAnswer as h, type PlatformSignInAnswer as i, type PlatformTopUpRequest as j, type PlatformTopUpResult as k, type TelegramWebApp as l, askPlatformPage as m, canUsePlatformCreditsConfirm as n, canUsePlatformSignIn as o, canUsePlatformTopUp as p, canUsePreviewSignIn as q, clearPlatformSignInDeclined as r, isPlatformParentOrigin as s, isPlatformSignInDeclined as t, markPlatformSignInDeclined as u, requestPlatformCreditsConfirm as v, requestPlatformSignIn as w, requestPlatformTopUp as x, getTelegramWebApp as y };
197
+ export { BrowserPlatformAdapter as B, MemoryStorage as M, NoopPlatformAdapter as N, PLATFORM_BRIDGE_ACK as P, type TelegramInitDataUnsafe as T, BrowserStorage as a, PLATFORM_CREDITS_CONFIRM_MESSAGES as b, PLATFORM_ORIGINS as c, PLATFORM_PAGE_UNAVAILABLE as d, PLATFORM_SIGN_IN_MESSAGES as e, PLATFORM_TOPUP_MESSAGES as f, type PlatformCreditsConfirmResult as g, type PlatformPageAnswer as h, type PlatformSignInAnswer as i, type PlatformTopUpRequest as j, type PlatformTopUpResult as k, type TelegramWebApp as l, askPlatformPage as m, canPayWithPlatformCredits as n, canUsePlatformCreditsConfirm as o, canUsePlatformSignIn as p, canUsePlatformTopUp as q, canUsePreviewSignIn as r, clearPlatformSignInDeclined as s, isPlatformParentOrigin as t, isPlatformSignInDeclined as u, markPlatformSignInDeclined as v, requestPlatformCreditsConfirm as w, requestPlatformSignIn as x, requestPlatformTopUp as y, getTelegramWebApp as z };
@@ -174,6 +174,15 @@ interface PlatformCreditsConfirmResult {
174
174
  ok: boolean;
175
175
  error?: string;
176
176
  }
177
+ /**
178
+ * Whether the player can pay in Credits here at all. Not inside the iOS app of iDos Games: it sells no Credits through
179
+ * Apple In-App Purchase, App Store 3.1.1 allows digital purchases only through it, and the site refuses such a
180
+ * confirmation there for good (`DECLINED`). A game hides its Credits prices there instead of a button that can only
181
+ * fail. The app marks its WebView, the games inside it included, in the User-Agent:
182
+ * `iDosGamesApp/{player|studio}/{version} iDosGamesPlatform/{ios|android}`; builds without the platform mark are told
183
+ * apart by the WebView itself. Copy of the site's rule (`nativePlatform()` in iDosGames_com/utils/nativePlatform.ts).
184
+ */
185
+ declare function canPayWithPlatformCredits(): boolean;
177
186
  /**
178
187
  * Whether the page around the game can be asked at all: one frame deep (the site's `/app/{id}`; behind `/embed`
179
188
  * the game is two frames deep and a foreign page could cover our window) and not the AI Coder preview.
@@ -185,4 +194,4 @@ declare function requestPlatformCreditsConfirm(request: {
185
194
  confirmationID: string;
186
195
  }): Promise<PlatformCreditsConfirmResult>;
187
196
 
188
- export { BrowserPlatformAdapter as B, MemoryStorage as M, NoopPlatformAdapter as N, PLATFORM_BRIDGE_ACK as P, type TelegramInitDataUnsafe as T, BrowserStorage as a, PLATFORM_CREDITS_CONFIRM_MESSAGES as b, PLATFORM_ORIGINS as c, PLATFORM_PAGE_UNAVAILABLE as d, PLATFORM_SIGN_IN_MESSAGES as e, PLATFORM_TOPUP_MESSAGES as f, type PlatformCreditsConfirmResult as g, type PlatformPageAnswer as h, type PlatformSignInAnswer as i, type PlatformTopUpRequest as j, type PlatformTopUpResult as k, type TelegramWebApp as l, askPlatformPage as m, canUsePlatformCreditsConfirm as n, canUsePlatformSignIn as o, canUsePlatformTopUp as p, canUsePreviewSignIn as q, clearPlatformSignInDeclined as r, isPlatformParentOrigin as s, isPlatformSignInDeclined as t, markPlatformSignInDeclined as u, requestPlatformCreditsConfirm as v, requestPlatformSignIn as w, requestPlatformTopUp as x, getTelegramWebApp as y };
197
+ export { BrowserPlatformAdapter as B, MemoryStorage as M, NoopPlatformAdapter as N, PLATFORM_BRIDGE_ACK as P, type TelegramInitDataUnsafe as T, BrowserStorage as a, PLATFORM_CREDITS_CONFIRM_MESSAGES as b, PLATFORM_ORIGINS as c, PLATFORM_PAGE_UNAVAILABLE as d, PLATFORM_SIGN_IN_MESSAGES as e, PLATFORM_TOPUP_MESSAGES as f, type PlatformCreditsConfirmResult as g, type PlatformPageAnswer as h, type PlatformSignInAnswer as i, type PlatformTopUpRequest as j, type PlatformTopUpResult as k, type TelegramWebApp as l, askPlatformPage as m, canPayWithPlatformCredits as n, canUsePlatformCreditsConfirm as o, canUsePlatformSignIn as p, canUsePlatformTopUp as q, canUsePreviewSignIn as r, clearPlatformSignInDeclined as s, isPlatformParentOrigin as t, isPlatformSignInDeclined as u, markPlatformSignInDeclined as v, requestPlatformCreditsConfirm as w, requestPlatformSignIn as x, requestPlatformTopUp as y, getTelegramWebApp as z };