@idosgames/core 0.19.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,13 +3,13 @@ import { P as PlatformAdapter, K as KeyValueStorage } from './PlatformAdapter-DU
3
3
  import Decimal from 'decimal.js';
4
4
 
5
5
  type EventMap = Record<string, unknown>;
6
- type Listener<T> = (payload: T) => void;
6
+ type Listener$1<T> = (payload: T) => void;
7
7
  type Unsubscribe = () => void;
8
8
  declare class TypedEmitter<E extends object> {
9
9
  private readonly listeners;
10
- on<K extends keyof E>(event: K, listener: Listener<E[K]>): Unsubscribe;
11
- once<K extends keyof E>(event: K, listener: Listener<E[K]>): Unsubscribe;
12
- off<K extends keyof E>(event: K, listener: Listener<E[K]>): void;
10
+ on<K extends keyof E>(event: K, listener: Listener$1<E[K]>): Unsubscribe;
11
+ once<K extends keyof E>(event: K, listener: Listener$1<E[K]>): Unsubscribe;
12
+ off<K extends keyof E>(event: K, listener: Listener$1<E[K]>): void;
13
13
  emit<K extends keyof E>(event: K, payload: E[K]): void;
14
14
  removeAllListeners(): void;
15
15
  }
@@ -87,9 +87,12 @@ declare const EventTokenType: {
87
87
  };
88
88
  type EventTokenType = (typeof EventTokenType)[keyof typeof EventTokenType];
89
89
  declare const ScheduleMode: {
90
- readonly Cyclic: "Cyclic";
90
+ readonly AlwaysOn: "AlwaysOn";
91
91
  readonly Scheduled: "Scheduled";
92
92
  readonly Chained: "Chained";
93
+ readonly Triggered: "Triggered";
94
+ readonly Cyclic: "Cyclic";
95
+ readonly Relative: "Relative";
93
96
  };
94
97
  type ScheduleMode = (typeof ScheduleMode)[keyof typeof ScheduleMode];
95
98
  declare const AuthType: {
@@ -143,7 +146,7 @@ type VirtualCurrencyDefinition = { CurrencyID: string; DisplayName?: null | stri
143
146
  type CryptoNetworkBinding = { NetworkID: string; ContractAddress?: null | string; Decimals?: null | number; MinWithdraw?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; [key: string]: unknown; };
144
147
  type CryptoLimits = { DailyWithdrawUsd?: null | string; MonthlyWithdrawUsd?: null | string; KycRequiredAboveUsd?: null | string; [key: string]: unknown; };
145
148
  type CryptoCurrencyPermissions = { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; SpendableInGame?: null | boolean; ConvertibleToVirtual?: null | boolean; [key: string]: unknown; };
146
- type CryptoCurrencyDefinition = { CurrencyID: string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; DisplayDecimals?: null | number; ValueInUSD?: null | string; ValueInUSDUpdatedAt?: null | string; DeveloperDepositSharePercent?: null | string; CommunityMarketingDepositSharePercent?: null | string; WithdrawalBurnPercent?: null | string; Networks?: null | Array<CryptoNetworkBinding>; Limits?: null | CryptoLimits; Permissions?: null | CryptoCurrencyPermissions; Conversion?: null | CurrencyConversion; Audit?: null | CurrencyAudit; Status?: null | 'Active' | 'Hidden' | 'Deprecated' | 'Maintenance'; [key: string]: unknown; };
149
+ type CryptoCurrencyDefinition = { CurrencyID: string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; DisplayDecimals?: null | number; ValueInUSD?: null | string; ValueInUSDUpdatedAt?: null | string; DeveloperDepositSharePercent?: null | string; CommunityMarketingDepositSharePercent?: null | string; WithdrawalBurnPercent?: null | string; Networks?: null | Array<CryptoNetworkBinding>; Limits?: null | CryptoLimits; Permissions?: null | CryptoCurrencyPermissions; Conversion?: null | CurrencyConversion; Audit?: null | CurrencyAudit; Status?: null | 'Active' | 'Hidden' | 'Deprecated' | 'Maintenance'; ServerGrantPolicy?: null | { Mode?: null | string; FundingNetworkID?: null | string; PerPlayerDailyTokens?: null | number; TitleDailyTokens?: null | number; [key: string]: unknown; }; [key: string]: unknown; };
147
150
  /** The title's currency catalog (config), returned by getCurrencyDefinitions(). */
148
151
  interface CurrencyDefinitions {
149
152
  VirtualCurrencies?: Record<string, VirtualCurrencyDefinition> | null;
@@ -328,8 +331,8 @@ declare const StoreRotationMode: {
328
331
  type StoreRotationMode = (typeof StoreRotationMode)[keyof typeof StoreRotationMode];
329
332
  type StoreSlotPoolEntry = { OfferID?: null | string; Weight?: null | number; Gate?: null | SegmentGate; [key: string]: unknown; };
330
333
  type StoreSlotRotation = { Mode?: null | string; OfferID?: null | string; Pool?: null | Array<StoreSlotPoolEntry>; Salt?: null | string; PerInstanceCap?: null | number; [key: string]: unknown; };
331
- type StoreSlotDefinition = { SlotID?: null | string; Identity?: null | StoreIdentity; Availability?: null | StoreAvailability; Rotation?: null | StoreSlotRotation; [key: string]: unknown; };
332
- type StoreSectionDefinition = { SectionID?: null | string; Identity?: null | StoreIdentity; Availability?: null | StoreAvailability; Slots?: null | Record<string, StoreSlotDefinition>; UniqueOffersInSection?: null | boolean; [key: string]: unknown; };
334
+ type StoreSlotDefinition = { SlotID?: null | string; Identity?: null | StoreIdentity; Availability?: null | StoreAvailability; Rotation?: null | StoreSlotRotation; Presets?: null | { Identity?: null | PresetBinding; Availability?: null | PresetBinding; Rotation?: null | PresetBinding; [key: string]: unknown; }; [key: string]: unknown; };
335
+ type StoreSectionDefinition = { SectionID?: null | string; Identity?: null | StoreIdentity; Availability?: null | StoreAvailability; Slots?: null | Record<string, StoreSlotDefinition>; UniqueOffersInSection?: null | boolean; Presets?: null | { Identity?: null | PresetBinding; Availability?: null | PresetBinding; [key: string]: unknown; }; [key: string]: unknown; };
333
336
  type StoreLayout = { Sections?: null | Record<string, StoreSectionDefinition>; [key: string]: unknown; };
334
337
  /** A single storefront (main / event / VIP). Its layout is what makes offers buyable. */
335
338
  interface StoreDefinition {
@@ -545,10 +548,11 @@ type ClaimComebackRewardResponse = { ServerTimeUtc: string; ComebackID: string;
545
548
  type ClaimRewardResponse = { ServerTimeUtc: string; ClaimID: string; ClaimState: UserClaimRewardState; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
546
549
  type GetMilestoneRewardMultiplierResponse = { Enabled: boolean; Multiplier?: null | number; Progress?: null | number; Source?: null | string; SourceKey?: null | string; };
547
550
  type TierRewardSettings = { RewardMode?: null | string; RewardStackLowerTiers?: null | boolean; [key: string]: unknown; };
548
- type DailyCalendarDefinition = { CalendarID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Days?: null | Array<{ DayNumber?: null | number; Rewards?: null | ResourceGrant; IsMilestone?: null | boolean; AssetPaths?: null | Record<string, string>; [key: string]: unknown; }>; IsLooping?: null | boolean; MissBehavior?: null | string; ResetByDays?: null | number; MissThresholdMultiplier?: null | number; ClaimMode?: null | string; ClaimCooldownSeconds?: null | number; Gate?: null | SegmentGate; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; [key: string]: unknown; };
549
- 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; Gate?: null | SegmentGate; RequiredItemIDs?: null | Array<string>; RequiredEquippedItemIDs?: null | Array<string>; [key: string]: unknown; }; FirstClaimMode?: null | string; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; [key: string]: unknown; };
550
- 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; Gate?: null | SegmentGate; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; [key: string]: unknown; };
551
- type ClaimRewardDefinition = { ClaimID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Mode?: null | string; Rewards?: null | ResourceGrant; Limits?: null | LimitSpec; PremiumLimitOverrides?: null | Array<{ MinPremiumTier?: null | number; RequiredPremiumID?: null | string; CooldownSeconds?: null | number; MaxClaimsPerWindow?: null | number; WindowSeconds?: null | number; TotalClaimLimit?: null | number; [key: string]: unknown; }>; Gate?: null | SegmentGate; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; [key: string]: unknown; };
551
+ type RewardPresetRegistry = { Availability?: null | Record<string, { Gate?: null | SegmentGate; Limits?: null | LimitSpec; [key: string]: unknown; }>; [key: string]: unknown; };
552
+ type DailyCalendarDefinition = { CalendarID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Days?: null | Array<{ DayNumber?: null | number; Rewards?: null | ResourceGrant; IsMilestone?: null | boolean; AssetPaths?: null | Record<string, string>; [key: string]: unknown; }>; IsLooping?: null | boolean; MissBehavior?: null | string; ResetByDays?: null | number; MissThresholdMultiplier?: null | number; ClaimMode?: null | string; ClaimCooldownSeconds?: null | number; 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; };
553
+ 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; };
554
+ 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; };
555
+ 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; };
552
556
  interface RewardDefinitions {
553
557
  TierRewards?: TierRewardSettings | null;
554
558
  MilestoneRewardMultiplier?: RewardProgressionMultiplierSpec | null;
@@ -556,6 +560,7 @@ interface RewardDefinitions {
556
560
  IdleAccruals?: Record<string, IdleAccrualDefinition> | null;
557
561
  Comebacks?: Record<string, ComebackRewardDefinition> | null;
558
562
  Claims?: Record<string, ClaimRewardDefinition> | null;
563
+ Presets?: RewardPresetRegistry | null;
559
564
  }
560
565
  type RewardDefinitionsResponse = { RewardDefinitions?: null | RewardDefinitions; };
561
566
  type UserRewardsStateResponse = { Rewards?: null | UserRewardState; };
@@ -613,11 +618,11 @@ interface UserQuestState {
613
618
  PermanentQuests?: Record<string, UserQuestProgress>;
614
619
  LastUpdatedUtc?: string;
615
620
  }
616
- type QuestPointsTrackView = { CycleID: string; InstanceKey?: null | string; PhaseID?: null | string; CycleIndex?: null | number; CycleStartUtc?: null | string; CycleEndUtc?: null | string; PointsTotalEarned?: null | number; PointsCurrent?: null | number; ClaimedPointMilestoneIDs?: null | Array<string>; };
621
+ type QuestPointsTrackView = { CycleID: string; InstanceKey?: null | string; PhaseID?: null | string; CycleIndex?: null | number; CycleStartUtc?: null | string; CycleEndUtc?: null | string; PointsTotalEarned?: null | number; PointsCurrent?: null | number; ClaimedPointMilestoneIDs?: null | Array<string>; NextMilestone?: null | MilestoneDefinition; HasUnclaimedMilestone?: null | boolean; };
617
622
  type QuestProgressUpdate = { QuestID: string; Status: 'Active' | 'Completed' | 'Claimed' | 'Expired'; CycleID?: null | string; ObjectiveID?: null | string; NewValue?: null | number; ObjectiveCompleted?: null | boolean; };
618
623
  type GetUserQuestStateResponse = { State?: null | UserQuestState; PointsTracks?: null | Record<string, QuestPointsTrackView>; };
619
624
  type ClaimQuestRewardResponse = { ServerTimeUtc: string; QuestID: string; CycleID?: null | string; NewStatus?: null | 'Active' | 'Completed' | 'Claimed' | 'Expired'; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
620
- type ClaimMilestoneRewardResponse = { ServerTimeUtc: string; CycleID: string; MilestoneID: string; PointsTotalEarned?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
625
+ type ClaimMilestoneRewardResponse = { ServerTimeUtc: string; CycleID: string; MilestoneID: string; PointsTotalEarned?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; NextMilestone?: null | MilestoneDefinition; HasUnclaimedMilestone?: null | boolean; };
621
626
  type ClaimGroupCompletionRewardResponse = { ServerTimeUtc: string; CycleID: string; GroupCompletionID: string; GroupID?: null | string; CompletedGroupQuests?: null | number; RequiredGroupQuests?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
622
627
  type AddQuestProgressResponse = { MetricID: string; Updates?: null | Array<QuestProgressUpdate>; };
623
628
  type ClaimQuestRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimQuestRewardResponse; }>;
@@ -864,7 +869,7 @@ interface UserLeaderboardsState {
864
869
  }
865
870
  type LeaderboardUserEntry = { UserID: string; Score?: null | number; Rank?: null | number; LastScoreUpdateUtc?: null | string; IpHash?: null | string; PublicProfile?: null | UserPublicDataModel; SeasonTierAtCycleEnd?: null | number; [key: string]: unknown; };
866
871
  type GetLeaderboardResponse = { LeaderboardID: string; CycleVersion?: null | number; TotalParticipants?: null | number; CycleEndUtc?: null | string; TopUsers?: null | Array<LeaderboardUserEntry>; BracketID?: null | string; };
867
- type GetMyProgressResponse = { LeaderboardID: string; CurrentScore?: null | number; LastKnownRank?: null | number; HasUnclaimedReward?: null | boolean; ScoreEarnedThisCycle?: null | number; MilestoneTokensEarned?: null | number; NextMilestone?: null | MilestoneDefinition; HasUnclaimedMilestone?: null | boolean; ClaimableGraceCycles?: null | Array<{ CycleKey?: null | string; CycleEndUtc?: null | string; ClaimDeadlineUtc?: null | string; MilestoneTokensEarned?: null | number; ClaimableMilestoneIDs?: null | Array<string>; CycleIndex?: null | number; ChainedEventID?: null | string; [key: string]: unknown; }>; };
872
+ type GetMyProgressResponse = { LeaderboardID: string; CurrentScore?: null | number; LastKnownRank?: null | number; HasUnclaimedReward?: null | boolean; UnclaimedRewardRank?: null | number; ScoreEarnedThisCycle?: null | number; MilestoneTokensEarned?: null | number; TokenEntityID?: null | string; NextMilestone?: null | MilestoneDefinition; HasUnclaimedMilestone?: null | boolean; GrantedPremiumTiers?: null | Record<string, Array<string>>; ClaimableGraceCycles?: null | Array<{ CycleKey?: null | string; CycleEndUtc?: null | string; ClaimDeadlineUtc?: null | string; MilestoneTokensEarned?: null | number; ClaimableMilestoneIDs?: null | Array<string>; CycleIndex?: null | number; ChainedEventID?: null | string; [key: string]: unknown; }>; };
868
873
  type SubmitScoreResponse = { LeaderboardID: string; NewScore: number; CycleVersion: number; };
869
874
  type ClaimCycleRewardResponse = { ServerTimeUtc: string; LeaderboardID: string; Rank?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
870
875
  type ClaimLeaderboardMilestoneResponse = { ServerTimeUtc: string; LeaderboardID: string; MilestoneID: string; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
@@ -941,6 +946,11 @@ interface LeaderboardRequest extends BaseRequest {
941
946
  LeaderboardID?: string;
942
947
  Score?: number;
943
948
  MilestoneID?: string;
949
+ /**
950
+ * ClaimMilestone only: key of a PAST cycle to claim in its grace window
951
+ * (`GetMyProgressResponse.ClaimableGraceCycles[].CycleKey`). Absent = the current cycle.
952
+ */
953
+ CycleKey?: string;
944
954
  CycleIndex?: number;
945
955
  ChainedEventID?: string;
946
956
  /** *Batch actions: leaderboards to operate on (deduped, clamped to MaxBatchSize). */
@@ -1059,7 +1069,7 @@ declare const PremiumAction: {
1059
1069
  readonly PurchaseRealMoney: "PurchaseRealMoney";
1060
1070
  };
1061
1071
  type PremiumAction = (typeof PremiumAction)[keyof typeof PremiumAction];
1062
- type EquippedItem = { CatalogID?: null | string; ItemID?: null | string; ItemInstanceID?: null | string; EquippedAt?: null | string; };
1072
+ type EquippedItem = { CatalogID?: null | string; ItemID?: null | string; ItemInstanceID?: null | string; Level?: null | number; EquippedAt?: null | string; };
1063
1073
  type CharacterModel = { CharacterID: string; Level?: null | number; Experience?: null | number; Power?: null | number; StatLevels?: null | Record<string, number>; Equipment?: null | Record<string, EquippedItem>; UpdatedAt?: null | string; [key: string]: unknown; };
1064
1074
  interface UserCharactersState {
1065
1075
  Characters?: Record<string, CharacterModel>;
@@ -1442,7 +1452,7 @@ type CoopGroupMember = { UserID?: null | string; PublicData?: null | UserPublicD
1442
1452
  type CoopPartnerObjectState = { Index?: null | number; OwnerUserID?: null | string; CurrentProgress?: null | number; MaxProgress?: null | number; IsCompleted?: null | boolean; [key: string]: unknown; };
1443
1453
  type CoopBuildObjectsState = { Objects?: null | Array<CoopPartnerObjectState>; [key: string]: unknown; };
1444
1454
  type CoopGroupDocument = { GroupID?: null | string; TitleID?: null | string; CoopChainID?: null | string; CoopEventID?: null | string; CycleIndex?: null | number; Members?: null | Array<CoopGroupMember>; BuildObjectsState?: null | CoopBuildObjectsState; Status?: null | string; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; Version?: null | number; [key: string]: unknown; };
1445
- type ActiveCoopEventInfo = { CoopChainID: string; [key: string]: unknown; };
1455
+ type ActiveCoopEventInfo = { CoopChainID: string; CycleIndex?: null | number; EventOrder?: null | number; EventDef?: null | CoopEventDefinition; ComputedStartUtc?: null | string; ComputedEndUtc?: null | string; SecondsRemaining?: null | number; [key: string]: unknown; };
1446
1456
  type CoopEventDefinition = { CoopEventID?: null | string; Order?: null | number; DurationSec?: null | number; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; EventType?: null | string; PartnerCount?: null | number; MatchmakingTimeoutMinutes?: null | number; MemberGracePeriodMinutes?: null | number; BuildObjects?: null | { Objects?: null | Array<{ Index?: null | number; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; MaxProgress?: null | number; CompletionReward?: null | ResourceGrant; [key: string]: unknown; }>; PriceOptions?: null | PriceOptions; SpinnerTable?: null | Array<{ DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Weight?: null | number; MinProgress?: null | number; MaxProgress?: null | number; [key: string]: unknown; }>; MaxSpinsPerCall?: null | number; [key: string]: unknown; }; GrandPrize?: null | ResourceGrant; [key: string]: unknown; };
1447
1457
  /** A coop event chain: cyclic schedule + ordered events + audience gate. */
1448
1458
  interface CoopEventChainDefinition {
@@ -1511,7 +1521,7 @@ type DealNodeRuntimeStatus = (typeof DealNodeRuntimeStatus)[keyof typeof DealNod
1511
1521
  type UserDealNodeState = { NodeID?: null | string; Status?: null | string; ExecutionCount?: null | number; UnlockedAtUtc?: null | string; CompletedAtUtc?: null | string; LastExecutedAtUtc?: null | string; NextAvailableAtUtc?: null | string; LastExecutionRefID?: null | string; [key: string]: unknown; };
1512
1522
  type UserDealTrackState = { TrackID?: null | string; CurrentValue?: null | number; LastUpdatedUtc?: null | string; [key: string]: unknown; };
1513
1523
  type UserDealOfferActivationState = { OfferID?: null | string; InstanceKey?: null | string; SourceOfferVersion?: null | number; Status?: null | string; ActivatedAtUtc?: null | string; ExhaustedAtUtc?: null | string; ExpiredAtUtc?: null | string; DismissedAtUtc?: null | string; ShowCount?: null | number; LastShownAtUtc?: null | string; Nodes?: null | Record<string, UserDealNodeState>; Tracks?: null | Record<string, UserDealTrackState>; SelectedChoiceNodeID?: null | string; [key: string]: unknown; };
1514
- type UserDealSlotState = { SlotID?: null | string; QueueIndex?: null | number; CycleIndex?: null | number; ActiveOfferID?: null | string; ActiveOfferStartedAtUtc?: null | string; ActiveOfferExpiresAtUtc?: null | string; ActiveOffer?: null | UserDealOfferActivationState; NextCycleStartsAtUtc?: null | string; LastUpdatedUtc?: null | string; DismissSkipAvailableAtUtc?: null | string; LastDismissedAtUtc?: null | string; [key: string]: unknown; };
1524
+ type UserDealSlotState = { SlotID?: null | string; QueueIndex?: null | number; CycleIndex?: null | number; ActiveOfferID?: null | string; ActiveOfferStartedAtUtc?: null | string; ActiveOfferExpiresAtUtc?: null | string; ActiveOffer?: null | UserDealOfferActivationState; NextCycleStartsAtUtc?: null | string; LastUpdatedUtc?: null | string; DismissSkipAvailableAtUtc?: null | string; LastDismissedAtUtc?: null | string; ActiveScheduleInstanceKey?: null | string; [key: string]: unknown; };
1515
1525
  type UserDealNodeLifetimeCounts = { TotalExecutions?: null | number; DailyExecutions?: null | number; DailyResetUtc?: null | string; [key: string]: unknown; };
1516
1526
  type UserDealOfferHistory = { TotalActivations?: null | number; TotalExhausted?: null | number; TotalExpired?: null | number; TotalDismissed?: null | number; TotalShows?: null | number; LastShownAtUtc?: null | string; LastActivatedAtUtc?: null | string; LastExhaustedAtUtc?: null | string; NodeCounts?: null | Record<string, UserDealNodeLifetimeCounts>; [key: string]: unknown; };
1517
1527
  /** Root runtime state of Deal Offers for one user: per-slot state + per-offer history. */
@@ -1889,7 +1899,7 @@ type SocialActorSnapshot = { Key?: null | string; DisplayName?: null | string; A
1889
1899
  type SocialInboxItem = { Id: string; Verb?: null | string; EntityType?: null | string; EntityID?: null | string; Count?: null | number; LastActors?: null | Array<SocialActorSnapshot>; Payload?: null | { Title?: null | string; Excerpt?: null | string; ImageUrl?: null | string; [key: string]: unknown; }; CreatedAt?: null | string; UpdatedAt?: null | string; OccurredAt?: null | string; OwnerImpact?: null | ResourceOperation; IsBlocked?: null | boolean; TargetObjectName?: null | string; [key: string]: unknown; };
1890
1900
  type InboxResponse = { Items?: null | Array<SocialInboxItem>; HasMore?: null | boolean; NextBeforeUpdatedAt?: null | string; NextBeforeID?: null | string; UnreadCount?: null | number; SeenAt?: null | string; [key: string]: unknown; };
1891
1901
  type InboxBadgeResponse = { UnreadCount?: null | number; SeenAt?: null | string; [key: string]: unknown; };
1892
- type SocialCounts = { Likes?: null | number; Favorites?: null | number; Followers?: null | number; Following?: null | number; Comments?: null | number; Replies?: null | number; Posts?: null | number; [key: string]: unknown; };
1902
+ type SocialCounts = { Likes?: null | number; Favorites?: null | number; Followers?: null | number; Following?: null | number; Comments?: null | number; Replies?: null | number; Posts?: null | number; Dislikes?: null | number; [key: string]: unknown; };
1893
1903
  type SocialEntityState = { EntityType?: null | string; EntityID?: null | string; Counts?: null | SocialCounts; Liked?: null | boolean; Favorited?: null | boolean; Following?: null | boolean; Blocked?: null | boolean; [key: string]: unknown; };
1894
1904
  type SocialEntityStatesResponse = { Items?: null | Array<SocialEntityState>; [key: string]: unknown; };
1895
1905
  type SocialActorView = { UserID: string; PublicData?: null | UserPublicDataModel; Mutual?: null | boolean; Since?: null | string; [key: string]: unknown; };
@@ -1981,9 +1991,10 @@ declare const TimedBoostStackingPolicy: {
1981
1991
  };
1982
1992
  type TimedBoostStackingPolicy = (typeof TimedBoostStackingPolicy)[keyof typeof TimedBoostStackingPolicy];
1983
1993
  type TimedBoostDefinition = { BoostID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; PriceOptions?: null | PriceOptions; Effect?: null | { Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }; DurationSeconds?: null | number; Charges?: null | number; StackingPolicy?: null | string; MaxActiveInstances?: null | number; Tags?: null | Array<string>; [key: string]: unknown; };
1984
- type ScheduledBoostDefinition = { ScheduledBoostID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Tags?: null | Array<string>; Schedule?: null | ScheduleSpec; Effects?: null | Array<{ Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }>; Gate?: null | SegmentGate; CustomParams?: null | Record<string, string>; [key: string]: unknown; };
1985
- type BoostChainDefinition = { ChainID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Schedule?: null | ScheduleSpec; Phases?: null | Array<{ ChainedBoostID?: null | string; Order?: null | number; DurationSec?: null | number; Effects?: null | Array<{ Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }>; CustomParams?: null | Record<string, string>; [key: string]: unknown; }>; Gate?: null | SegmentGate; CustomParams?: null | Record<string, string>; [key: string]: unknown; };
1986
- type TriggeredBoostDefinition = { TriggeredBoostID?: null | string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Tags?: null | Array<string>; Sources?: null | Array<TriggerSource>; Effects?: null | Array<{ Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }>; DurationSeconds?: null | number; Charges?: null | number; StackingPolicy?: null | string; MaxActiveInstances?: null | number; Gate?: null | SegmentGate; [key: string]: unknown; };
1994
+ type ScheduledBoostDefinition = { ScheduledBoostID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Tags?: null | Array<string>; Effects?: null | Array<{ Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }>; Availability?: null | { Schedule?: null | ScheduleSpec; Gate?: null | SegmentGate; [key: string]: unknown; }; Presets?: null | { Availability?: null | PresetBinding; Effects?: null | PresetBinding; [key: string]: unknown; }; CustomParams?: null | Record<string, string>; [key: string]: unknown; };
1995
+ type BoostChainDefinition = { ChainID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Phases?: null | Array<{ ChainedBoostID?: null | string; Order?: null | number; DurationSec?: null | number; Effects?: null | Array<{ Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }>; CustomParams?: null | Record<string, string>; [key: string]: unknown; }>; Availability?: null | { Schedule?: null | ScheduleSpec; Gate?: null | SegmentGate; [key: string]: unknown; }; Presets?: null | { Availability?: null | PresetBinding; Effects?: null | PresetBinding; [key: string]: unknown; }; CustomParams?: null | Record<string, string>; [key: string]: unknown; };
1996
+ type TriggeredBoostDefinition = { TriggeredBoostID?: null | string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Tags?: null | Array<string>; Sources?: null | Array<TriggerSource>; Effects?: null | Array<{ Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }>; DurationSeconds?: null | number; Charges?: null | number; StackingPolicy?: null | string; MaxActiveInstances?: null | number; Availability?: null | { Schedule?: null | ScheduleSpec; Gate?: null | SegmentGate; [key: string]: unknown; }; Presets?: null | { Availability?: null | PresetBinding; Effects?: null | PresetBinding; [key: string]: unknown; }; [key: string]: unknown; };
1997
+ type TimedBoostPresetRegistry = { Availability?: null | Record<string, { Schedule?: null | ScheduleSpec; Gate?: null | SegmentGate; [key: string]: unknown; }>; Effects?: null | Record<string, { Effects?: null | Array<{ Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; };
1987
1998
  type TimedBoostGlobalSettings = { StackingCaps?: null | Record<string, { MaxAddPercent?: null | number; MaxMultiply?: null | number; MaxAddFlat?: null | number; [key: string]: unknown; }>; [key: string]: unknown; };
1988
1999
  interface TimedBoostDefinitions {
1989
2000
  Definitions?: Record<string, TimedBoostDefinition> | null;
@@ -1991,6 +2002,7 @@ interface TimedBoostDefinitions {
1991
2002
  BoostChains?: Record<string, BoostChainDefinition> | null;
1992
2003
  TriggeredBoosts?: Record<string, TriggeredBoostDefinition> | null;
1993
2004
  Settings?: TimedBoostGlobalSettings | null;
2005
+ Presets?: TimedBoostPresetRegistry | null;
1994
2006
  }
1995
2007
  type ActiveTimedBoost = { InstanceID: string; BoostID: string; ActivatedAtUtc?: null | string; ExpiresAtUtc?: null | string; RemainingCharges?: null | number; EffectSnapshot?: null | { Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }; SourceType?: null | string; SourceRef?: null | string; [key: string]: unknown; };
1996
2008
  type BoostTriggerCounter = { Date?: null | string; DailyCount?: null | number; LastFiredUtc?: null | string; [key: string]: unknown; };
@@ -2177,12 +2189,12 @@ interface UserGameLoopsState {
2177
2189
  Board?: BoardLoopState | null;
2178
2190
  CommunityChest?: UserCommunityChestState | null;
2179
2191
  }
2180
- type SpecialModeStats = { PlayedCount?: null | number; RewardsClaimedCount?: null | number; InstantClaimsCount?: null | number; EarlyClaimsCount?: null | number; LateClaimsCount?: null | number; AdViewsTotal?: null | number; [key: string]: unknown; };
2192
+ type SpecialModeStats = { PlayedCount?: null | number; RewardsClaimedCount?: null | number; InstantClaimsCount?: null | number; EarlyClaimsCount?: null | number; LateClaimsCount?: null | number; AdViewsTotal?: null | number; StatRewardClaimsCount?: null | number; StatReportsClampedCount?: null | number; StatReportsUnknownMetricCount?: null | number; [key: string]: unknown; };
2181
2193
  type RewardMultiplierRange = { Min?: null | number; Max?: null | number; [key: string]: unknown; };
2182
2194
  type ScaledResourceOperation = { Operation?: null | ResourceOperation; ScaleWithRollMultiplier?: null | boolean; [key: string]: unknown; };
2183
2195
  type BoardDiceConfig = { Count?: null | number; Sides?: null | number; [key: string]: unknown; };
2184
- type BoardBotConfig = { ShieldChance?: null | number; DamagedBuildingChance?: null | number; RankMultiplierMin?: null | number; RankMultiplierMax?: null | number; RankOffsetMin?: null | number; RankOffsetMax?: null | number; [key: string]: unknown; };
2185
- type ProceduralEconomyConfig = { CostMatrixTemplatesByID?: null | Record<string, Array<Array<number>>>; PerBoardGrowth?: null | number; VisualTemplateCycle?: null | Array<string>; EconomyScaledResources?: null | ResourceBundle; ScaleRaidStealWithEconomy?: null | boolean; ScaleAttackRewardWithEconomy?: null | boolean; AttackValueFromCostMatrix?: null | boolean; AttackBlockedRewardFactor?: null | number; ScaleVictimLossWithEconomy?: null | boolean; ScaleVictimLossWithTier?: null | boolean; SynthesizedBuildingSlots?: null | number; SynthesizedBuildingMaxLevel?: null | number; [key: string]: unknown; };
2196
+ type BoardBotConfig = { ShieldChance?: null | number; DamagedBuildingChance?: null | number; RankMultiplierMin?: null | number; RankMultiplierMax?: null | number; RankOffsetMin?: null | number; RankOffsetMax?: null | number; StageLevelSpread?: null | number; [key: string]: unknown; };
2197
+ type ProceduralEconomyConfig = { CostMatrixTemplatesByID?: null | Record<string, Array<Array<number>>>; PerBoardGrowth?: null | number; VisualTemplateCycle?: null | Array<string>; EconomyScaledResources?: null | ResourceBundle; ScaleRaidStealWithEconomy?: null | boolean; ScaleAttackRewardWithEconomy?: null | boolean; AttackValueFromCostMatrix?: null | boolean; AttackBlockedRewardFactor?: null | number; ScaleVictimLossWithEconomy?: null | boolean; ScaleVictimLossWithTier?: null | boolean; SynthesizedBuildingSlots?: null | number; SynthesizedBuildingMaxLevel?: null | number; DifficultyGrowthPerBoard?: null | number; [key: string]: unknown; };
2186
2198
  type StageEconomyOverride = { CostMatrix?: null | Array<Array<number>>; PerBoardGrowth?: null | number; EconomyScale?: null | number; ScaledResources?: null | ResourceBundle; [key: string]: unknown; };
2187
2199
  type BuildingDefinition = { SlotIndex?: null | number; Name?: null | string; AssetPaths?: null | Record<string, string>; MaxLevel?: null | number; MaxLevelReward?: null | ResourceGrant; [key: string]: unknown; };
2188
2200
  type BoardTemplateDefinition = { Tiles?: null | Record<string, { Index?: null | number; Type?: null | string; CustomTypeID?: null | string; RandomActionAttackWeight?: null | number; RandomActionRaidWeight?: null | number; ChanceTableID?: null | string; SpecialModeID?: null | string; Params?: null | Record<string, string>; [key: string]: unknown; }>; [key: string]: unknown; };
@@ -2292,7 +2304,7 @@ interface GameLoopDefinitions {
2292
2304
  CommunityChest?: CommunityChestDefinition | null;
2293
2305
  [key: string]: unknown;
2294
2306
  }
2295
- type RollActionData = { TargetUserID?: null | string; IsBot?: null | boolean; PublicData?: null | UserPublicDataModel; TargetBuildingStates?: null | Array<BuildingState>; TargetHasShield?: null | boolean; [key: string]: unknown; };
2307
+ type RollActionData = { TargetUserID?: null | string; IsBot?: null | boolean; PublicData?: null | UserPublicDataModel; TargetBuildingStates?: null | Array<BuildingState>; TargetHasShield?: null | boolean; TargetStageLevel?: null | number; RaidRewardPreview?: null | { AttackerGainByOutcome?: null | Record<string, ResourceBundle>; [key: string]: unknown; }; [key: string]: unknown; };
2296
2308
  type SpecialModeOfferData = { ModeID?: null | string; Choices?: null | Array<{ ChoiceID?: null | string; Mode?: null | string; Reward?: null | ScaledResourceOperation; DurationSeconds?: null | number; PriceOptions?: null | PriceOptions; Multipliers?: null | SpecialClaimMultipliers; RunStats?: null | SpecialRunStatsConfig; [key: string]: unknown; }>; [key: string]: unknown; };
2297
2309
  type CommunityChestContributionResult = { GroupID?: null | string; Delta?: null | number; NewProgress?: null | number; MaxProgress?: null | number; UnlockedMilestoneIDs?: null | Array<string>; Completed?: null | boolean; [key: string]: unknown; };
2298
2310
  interface BoardRollResponse {
@@ -2319,7 +2331,7 @@ interface BoardRollResponse {
2319
2331
  CommunityChestContribution?: CommunityChestContributionResult | null;
2320
2332
  }
2321
2333
  type AttackResponse = { Outcome?: null | string; IsBotTarget?: null | boolean; BuildingIndexHit?: null | number; Operation?: null | ResourceOperation; Inventory?: null | InventoryDelta; DualResult?: null | ResourceDualPartyResult; [key: string]: unknown; };
2322
- type RaidResponse = { Status?: null | string; Outcome?: null | string; FoundSymbol?: null | string | number; FoundBonus?: null | ResourceGrant; OpenedIndex?: null | number; AttemptsLeft?: null | number; RaidLayout?: null | Array<HeistCell>; HeistVariantTag?: null | string; IsJackpot?: null | boolean; Operation?: null | ResourceOperation; Inventory?: null | InventoryDelta; DualResult?: null | ResourceDualPartyResult; [key: string]: unknown; };
2334
+ type RaidResponse = { Status?: null | string; Outcome?: null | string; FoundSymbol?: null | string | number; FoundBonus?: null | ResourceGrant; OpenedIndex?: null | number; AttemptsLeft?: null | number; RaidLayout?: null | Array<HeistCell>; HeistVariantTag?: null | string; IsJackpot?: null | boolean; Operation?: null | ResourceOperation; Inventory?: null | InventoryDelta; DualResult?: null | ResourceDualPartyResult; RaidRewardPreview?: null | { AttackerGainByOutcome?: null | Record<string, ResourceBundle>; [key: string]: unknown; }; [key: string]: unknown; };
2323
2335
  type BuildResponse = { BuiltIndex: number; NewLevel?: null | number; StageComplete?: null | boolean; MaxLevelRewardClaimed?: null | boolean; Operation?: null | ResourceOperation; Inventory?: null | InventoryDelta; [key: string]: unknown; };
2324
2336
  type SpecialChooseResponse = { Mode?: null | string | number; Operation?: null | ResourceOperation; Inventory?: null | InventoryDelta; DurationSeconds?: null | number; StartedAtUtc?: null | string; ExpiresAtUtc?: null | string; [key: string]: unknown; };
2325
2337
  type SpecialApplyMultiplierResponse = { AdViewsUsed?: null | number; RolledMultiplier?: null | number; AccumulatedMultiplier?: null | number; RemainingAdViews?: null | number; [key: string]: unknown; };
@@ -2341,7 +2353,7 @@ declare const CommunityChestMemberStatus: {
2341
2353
  };
2342
2354
  type CommunityChestMemberStatus = (typeof CommunityChestMemberStatus)[keyof typeof CommunityChestMemberStatus];
2343
2355
  type CommunityChestSharedState = { CurrentProgress?: null | number; MaxProgress?: null | number; [key: string]: unknown; };
2344
- type CommunityChestMember = { UserID?: null | string; PublicData?: null | UserPublicDataModel; IsBot?: null | boolean; ContributionPoints?: null | number; ClaimedMilestoneIDs?: null | Array<string>; GrandPrizeClaimed?: null | boolean; MemberStatus?: null | 'Active' | 'Left' | 'Replaced'; JoinedAtUtc?: null | string; LeftAtUtc?: null | string; [key: string]: unknown; };
2356
+ type CommunityChestMember = { UserID?: null | string; PublicData?: null | UserPublicDataModel; IsBot?: null | boolean; ContributionPoints?: null | number; MilestoneClaims?: null | Record<string, { ClaimedAt?: null | string; PremiumTiers?: null | Array<string>; Unlocked?: null | boolean; [key: string]: unknown; }>; GrandPrizeClaimed?: null | boolean; MemberStatus?: null | 'Active' | 'Left' | 'Replaced'; JoinedAtUtc?: null | string; LeftAtUtc?: null | string; [key: string]: unknown; };
2345
2357
  type CommunityChestGroupDocument = { GroupID?: null | string; TitleID?: null | string; RoundIndex?: null | number; Members?: null | Array<CommunityChestMember>; SharedProgress?: null | CommunityChestSharedState; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Forming' | 'Failed'; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; Version?: null | number; [key: string]: unknown; };
2346
2358
  type CommunityChestHistoryEntry = { GroupID?: null | string; RoundIndex?: null | number; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Forming' | 'Failed'; GrandPrizeReceived?: null | boolean; FinishedAtUtc?: null | string; [key: string]: unknown; };
2347
2359
  type UserCommunityChestState = { ActiveGroupID?: null | string; ActiveRoundIndex?: null | number; History?: null | Array<CommunityChestHistoryEntry>; [key: string]: unknown; };
@@ -2424,7 +2436,7 @@ type MarketGoodsType = (typeof MarketGoodsType)[keyof typeof MarketGoodsType];
2424
2436
  type MarketplaceCommissionOverride = { Percent?: null | number; MinPerPosition?: null | number; [key: string]: unknown; };
2425
2437
  type MarketplacePricePolicy = { AllowVirtualCurrency?: null | boolean; AllowItems?: null | boolean; AllowEventTokens?: null | boolean; Allowed?: null | Array<{ Kind?: null | 'Item' | 'VirtualCurrency' | 'EventToken'; CurrencyID?: null | string; CatalogID?: null | string; ItemID?: null | string; TokenType?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; EntityID?: null | string; MinAmount?: null | number; MaxAmount?: null | number; [key: string]: unknown; }>; MaxPositions?: null | number; [key: string]: unknown; };
2426
2438
  type MarketplaceCommissionPolicy = { Percent?: null | number; MinPerPosition?: null | number; Sink?: null | 'Burn' | 'Ledger'; LedgerAccountID?: null | string; PerCatalogOverrides?: null | Record<string, MarketplaceCommissionOverride>; ApplyToDirectTrades?: null | boolean; [key: string]: unknown; };
2427
- type MarketplaceTradabilityPolicy = { AllowedCatalogIDs?: null | Array<string>; DeniedCatalogIDs?: null | Array<string>; DeniedItemIDs?: null | Array<string>; AllowUnstackableWithState?: null | boolean; [key: string]: unknown; };
2439
+ type MarketplaceTradabilityPolicy = { AllowedCatalogIDs?: null | Array<string>; DeniedCatalogIDs?: null | Array<string>; DeniedItemIDs?: null | Array<string>; AllowUnstackableWithState?: null | boolean; AllowedCurrencyIDs?: null | Array<string>; DeniedCurrencyIDs?: null | Array<string>; [key: string]: unknown; };
2428
2440
  type MarketplaceListingSettings = { Enabled?: null | boolean; AllowedDurationsHours?: null | Array<number>; MaxActiveListings?: null | number; CreateLimits?: null | LimitSpec; BuyLimits?: null | LimitSpec; ListingFeeOptions?: null | PriceOptions; RefundListingFeeOnCancel?: null | boolean; [key: string]: unknown; };
2429
2441
  type MarketplaceAuctionSettings = { Enabled?: null | boolean; MinDurationHours?: null | number; MaxDurationHours?: null | number; AntiSnipeWindowSeconds?: null | number; AntiSnipeExtensionSeconds?: null | number; MaxAntiSnipeExtensions?: null | number; MinBidStepPercent?: null | number; MinBidStepAbsolute?: null | number; BidLimits?: null | LimitSpec; [key: string]: unknown; };
2430
2442
  type MarketplaceBuyOrderSettings = { Enabled?: null | boolean; MaxActiveOrders?: null | number; AllowedDurationsHours?: null | Array<number>; CreateLimits?: null | LimitSpec; FillLimits?: null | LimitSpec; [key: string]: unknown; };
@@ -2436,7 +2448,7 @@ type MarketplaceAuctionState = { BidAxisType?: null | 'Item' | 'VirtualCurrency'
2436
2448
  type MarketplaceActionCounter = { LastAt?: null | string; DailyCount?: null | number; DailyResetUtc?: null | string; [key: string]: unknown; };
2437
2449
  type UserMarketplaceState = { Create?: null | MarketplaceActionCounter; Buy?: null | MarketplaceActionCounter; Sell?: null | MarketplaceActionCounter; Bid?: null | MarketplaceActionCounter; [key: string]: unknown; };
2438
2450
  type MarketplaceOfferView = { OfferID?: null | string; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; CreatorUserID?: null | string; CreatorPublicData?: null | UserPublicDataModel; TargetUserID?: null | string; GoodsType?: null | 'Item' | 'VirtualCurrency'; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsCurrencyID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; Auction?: null | MarketplaceAuctionState; CreatedAt?: null | string; ExpiresAt?: null | string; [key: string]: unknown; };
2439
- type MarketplaceGroupedOfferView = { GoodsType?: null | 'Item' | 'VirtualCurrency'; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsCurrencyID?: null | string; CountsByType?: null | { Listing?: number; Auction?: number; BuyOrder?: number; DirectTrade?: number; }; ListingCount?: null | number; AuctionCount?: null | number; BuyOrderCount?: null | number; [key: string]: unknown; };
2451
+ type MarketplaceGroupedOfferView = { GoodsType?: null | 'Item' | 'VirtualCurrency'; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsCurrencyID?: null | string; CountsByType?: null | { Listing?: number; Auction?: number; BuyOrder?: number; DirectTrade?: number; }; [key: string]: unknown; };
2440
2452
  interface MarketplaceGetDefinitionsResponse {
2441
2453
  Definitions?: MarketplaceDefinitions | null;
2442
2454
  IsOpenNow?: boolean | null;
@@ -2448,8 +2460,8 @@ type MarketplaceOfferResponse = { Offer?: null | MarketplaceOfferView; [key: str
2448
2460
  type MarketplaceSettlementResponse = { OfferID?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; Settlement?: null | ResourceDualPartyResult; Resources?: null | ResourceOperation; CommissionTaken?: null | ResourceBundle; [key: string]: unknown; };
2449
2461
  type MarketplaceCreateOfferResponse = { OfferID?: null | string; Offer?: null | MarketplaceOfferView; Resources?: null | ResourceOperation; Matched?: null | boolean; Settlement?: null | MarketplaceSettlementResponse; [key: string]: unknown; };
2450
2462
  type MarketplacePlaceBidResponse = { OfferID?: null | string; CurrentBid?: null | number; BidCount?: null | number; ExpiresAt?: null | string; Resources?: null | ResourceOperation; [key: string]: unknown; };
2451
- type MarketplaceMyStateResponse = { MyOffers?: null | Array<MarketplaceOfferView>; MyLeadingBids?: null | Array<MarketplaceOfferView>; MyBuyOrders?: null | Array<MarketplaceOfferView>; IncomingTrades?: null | Array<MarketplaceOfferView>; OutgoingTrades?: null | Array<MarketplaceOfferView>; Claimables?: null | Array<MarketplaceOfferView>; DrainedRefunds?: null | Array<MarketplaceBidRefund>; Limits?: null | UserMarketplaceState; [key: string]: unknown; };
2452
- type MarketplaceHistoryEntryView = { OfferID?: null | string; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; SellerUserID?: null | string; BuyerUserID?: null | string; GoodsType?: null | 'Item' | 'VirtualCurrency'; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsCurrencyID?: null | string; GoodsAmount?: null | number; PricePaid?: null | ResourceBundle; CommissionTaken?: null | ResourceBundle; CompletedAt?: null | string; [key: string]: unknown; };
2463
+ type MarketplaceMyStateResponse = { MyOffers?: null | Array<MarketplaceOfferView>; MyBids?: null | Array<MarketplaceOfferView>; MyBuyOrders?: null | Array<MarketplaceOfferView>; IncomingTrades?: null | Array<MarketplaceOfferView>; OutgoingTrades?: null | Array<MarketplaceOfferView>; Claimables?: null | Array<MarketplaceOfferView>; DrainedRefunds?: null | Array<MarketplaceBidRefund>; Limits?: null | UserMarketplaceState; [key: string]: unknown; };
2464
+ type MarketplaceHistoryEntryView = { OfferID?: null | string; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; SellerUserID?: null | string; BuyerUserID?: null | string; GoodsType?: null | 'Item' | 'VirtualCurrency'; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsCurrencyID?: null | string; GoodsAmount?: null | number; PricePaid?: null | ResourceBundle; CommissionTaken?: null | ResourceBundle; CompletedAt?: null | string; MyRole?: null | string; [key: string]: unknown; };
2453
2465
  type MarketplaceHistoryResponse = { Entries?: null | Array<MarketplaceHistoryEntryView>; ContinuationToken?: null | string; [key: string]: unknown; };
2454
2466
  interface MarketplaceRequest extends BaseRequest {
2455
2467
  OfferID?: string;
@@ -2483,7 +2495,15 @@ interface MarketplaceRequest extends BaseRequest {
2483
2495
  PageSize?: number;
2484
2496
  ContinuationToken?: string;
2485
2497
  OfferTypeFilter?: MarketOfferType;
2486
- }
2498
+ /** GetMyState: which of my bids `MyBids` returns. Absent = `All`. */
2499
+ MyBidsFilter?: MarketplaceMyBidsFilter;
2500
+ /** GetHistory: which entries to return. Absent = `All`. */
2501
+ HistoryFilter?: MarketplaceHistoryFilter;
2502
+ }
2503
+ /** GetMyState → `MyBids`: `Live` — auctions still running (can be outbid back), `Finished` — the result of taking part. */
2504
+ type MarketplaceMyBidsFilter = "All" | "Live" | "Finished";
2505
+ /** GetHistory: `Deals` — my trades only, `Bids` — auctions I took part in (won or lost). */
2506
+ type MarketplaceHistoryFilter = "All" | "Deals" | "Bids";
2487
2507
  declare const MarketplaceAction: {
2488
2508
  readonly GetDefinitions: "GetDefinitions";
2489
2509
  readonly GetGroupedOffers: "GetGroupedOffers";
@@ -2900,11 +2920,6 @@ interface UserRequest extends BaseRequest {
2900
2920
  KnownStateVersions?: Record<string, number>;
2901
2921
  /** Эпоха, при которой была получена `KnownStateVersions`. Без неё карта версий игнорируется. */
2902
2922
  KnownStateEpoch?: string;
2903
- /**
2904
- * Отдать конфиг телом, даже если он выложен на CDN. Ставится SDK автоматически при повторе
2905
- * запроса, когда скачать артефакт не удалось; вручную задавать не нужно.
2906
- */
2907
- ForceInlineConfig?: boolean;
2908
2923
  /**
2909
2924
  * Локаль игрока в любой форме («ru», «pt-BR», «pt_br»). Сервер сводит её к объявленной
2910
2925
  * тайтлом и отвечает про результат в `ClientState.Localization.Locale`.
@@ -3005,7 +3020,7 @@ declare const TransactionDirection: {
3005
3020
  type TransactionDirection = (typeof TransactionDirection)[keyof typeof TransactionDirection];
3006
3021
  type BlockchainNftCollectionBinding = { ContractAddress?: null | string; ItemCatalogID?: null | string; DisplayName?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; [key: string]: unknown; };
3007
3022
  type PlatformBlockchainState = { Ios?: null | boolean; Android?: null | boolean; Web?: null | boolean; [key: string]: unknown; };
3008
- type BlockchainNetworkDefinition = { NetworkID?: null | string; DisplayName?: null | string; Type?: null | 'EVM' | 'Solana'; ChainID?: null | number; ChainTicker?: null | string; RewardPoolAddress?: null | string; VaultDepositAddress?: null | string; ChainConfigVersion?: null | number; RequiredConfirmations?: null | number; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | PlatformBlockchainState; NftCollections?: null | Array<BlockchainNftCollectionBinding>; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
3023
+ type BlockchainNetworkDefinition = { NetworkID?: null | string; DisplayName?: null | string; Type?: null | 'EVM' | 'Solana'; ChainID?: null | number; ChainTicker?: null | string; RewardPoolAddress?: null | string; VaultDepositAddress?: null | string; ChainConfigVersion?: null | number; RequiredConfirmations?: null | number; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | PlatformBlockchainState; NftCollections?: null | Array<BlockchainNftCollectionBinding>; AssetPaths?: null | Record<string, string>; RpcUrl?: null | string; GasPrice?: null | number; NftBridgeAddress?: null | string; SignatureEpoch?: null | number; [key: string]: unknown; };
3009
3024
  type BlockchainSystemState = { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | PlatformBlockchainState; [key: string]: unknown; };
3010
3025
  type BlockchainAccountSafetyPolicy = { MinAccountAgeDays?: null | number; MultiAccountCheckEnabled?: null | boolean; BanOnSharedWithdrawalAddress?: null | boolean; PendingWithdrawalTtlHours?: null | number; [key: string]: unknown; };
3011
3026
  /** enum WalletGateBalanceSource — where the token gate reads the balance from. */
@@ -3035,7 +3050,7 @@ declare const PlayAccessMode: {
3035
3050
  };
3036
3051
  type PlayAccessMode = (typeof PlayAccessMode)[keyof typeof PlayAccessMode];
3037
3052
  type BlockchainPlayAccessPolicy = { Mode?: null | 'Open' | 'AnyWithLinkedWallet' | 'WalletOnly'; TokenGates?: null | Array<WalletPlayTokenGate>; [key: string]: unknown; };
3038
- type BlockchainDefinitions = { SystemState?: null | BlockchainSystemState; Networks?: null | Record<string, BlockchainNetworkDefinition>; AccountSafety?: null | BlockchainAccountSafetyPolicy; WalletLogin?: null | { Enabled?: null | boolean; WalletConnectProjectId?: null | string; [key: string]: unknown; }; PlayAccess?: null | BlockchainPlayAccessPolicy; [key: string]: unknown; };
3053
+ type BlockchainDefinitions = { SystemState?: null | BlockchainSystemState; Networks?: null | Record<string, BlockchainNetworkDefinition>; AccountSafety?: null | BlockchainAccountSafetyPolicy; WalletLogin?: null | { Enabled?: null | boolean; WalletConnectProjectId?: null | string; [key: string]: unknown; }; PlayAccess?: null | BlockchainPlayAccessPolicy; IframeAllowedHosts?: null | Array<string>; [key: string]: unknown; };
3039
3054
  type LinkedWalletInfo = { NetworkID?: null | string; Address?: null | string; LinkedAt?: null | string; LastUsedAt?: null | string; LinkType?: null | 'AutoLinkedFromTransaction' | 'SignatureVerified' | 'ManuallyLinked'; IsSignatureVerified?: null | boolean; [key: string]: unknown; };
3040
3055
  type PendingWithdrawalRef = { TitleTransactionID?: null | string; Type?: null | 'Token' | 'Nft'; NetworkID?: null | string; AssetID?: null | string; Amount?: null | string; CreatedAt?: null | string; ExpiresAt?: null | string; [key: string]: unknown; };
3041
3056
  type UserKycState = { Status?: null | 'Expired' | 'Pending' | 'Rejected' | 'NotRequested' | 'Verified'; Tier?: null | 'None' | 'Tier1' | 'Tier2' | 'Tier3'; VerifiedAt?: null | string; ExpiresAt?: null | string; RejectedAt?: null | string; ProviderReference?: null | string; RejectionReason?: null | string; [key: string]: unknown; };
@@ -3048,23 +3063,24 @@ type WalletGatedBalance = { CurrencyID?: null | string; Balance?: null | string;
3048
3063
  type PlayAccessStatus = { Granted: boolean; Mode?: null | 'Open' | 'AnyWithLinkedWallet' | 'WalletOnly'; Error?: null | string; WalletRequired?: null | boolean; NetworkID?: null | string; Address?: null | string; GrantedUntil?: null | string; Balances?: null | Array<WalletGatedBalance>; [key: string]: unknown; };
3049
3064
  type PlayAccessState = { NetworkID?: null | string; Address?: null | string; CheckedAt?: null | string; Passed?: null | boolean; GrantedUntil?: null | string; Error?: null | string; Balances?: null | Array<WalletGatedBalance>; [key: string]: unknown; };
3050
3065
  type PlayAccessWallet = { NetworkID?: null | string; Address?: null | string; CanUnlink?: null | boolean; [key: string]: unknown; };
3051
- type PlayAccessInfoResponse = { Mode?: null | 'Open' | 'AnyWithLinkedWallet' | 'WalletOnly'; TokenGates?: null | Array<WalletPlayTokenGate>; WalletLoginEnabled?: null | boolean; CanLinkWallet?: null | boolean; LinkedWallets?: null | Array<PlayAccessWallet>; Status?: null | PlayAccessStatus; [key: string]: unknown; };
3052
- type UserBlockchainState = { Version?: null | number; Stats?: null | BlockchainStats; LinkedWallets?: null | Record<string, LinkedWalletInfo>; LastWalletLogin?: null | { NetworkID?: null | string; Address?: null | string; CheckedAt?: null | string; LoggedInAt?: null | string; GatePassed?: null | boolean; GatedBalances?: null | Array<WalletGatedBalance>; [key: string]: unknown; }; PlayAccess?: null | PlayAccessState; PendingWithdrawals?: null | Array<PendingWithdrawalRef>; Kyc?: null | UserKycState; FirstActivityAt?: null | string; LastActivityAt?: null | string; IsFlagged?: null | boolean; FlagReason?: null | string; [key: string]: unknown; };
3053
- type TokenTransactionDocument = { ID?: null | string; TitleID?: null | string; CreatedAt?: null | string; UpdatedAt?: null | string; UserID?: null | string; TransactionHash?: null | string; Nonce?: null | string; NetworkID?: null | string; ChainType?: null | string; ChainID?: null | number; Direction?: null | 'UsersCryptoWallet' | 'Game'; From?: null | string; To?: null | string; Amount?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; SignatureData?: null | string; CompletedAt?: null | string; ExpiresAt?: null | string; FailReason?: null | string; Reason?: null | string; Category?: null | string; TokenID?: null | string; CurrencyID?: null | string; AmountUsd?: null | string; NetPayoutAmount?: null | string; [key: string]: unknown; };
3054
- type NFTTransactionDocument = { ID?: null | string; TitleID?: null | string; CreatedAt?: null | string; UpdatedAt?: null | string; UserID?: null | string; TransactionHash?: null | string; Nonce?: null | string; NetworkID?: null | string; ChainType?: null | string; ChainID?: null | number; Direction?: null | 'UsersCryptoWallet' | 'Game'; From?: null | string; To?: null | string; Amount?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; SignatureData?: null | string; CompletedAt?: null | string; ExpiresAt?: null | string; FailReason?: null | string; Reason?: null | string; Category?: null | string; NFTID?: null | string; ItemID?: null | string; CatalogID?: null | string; SkinID?: null | string; [key: string]: unknown; };
3066
+ type PlayAccessInfoResponse = { Mode?: null | 'Open' | 'AnyWithLinkedWallet' | 'WalletOnly'; TokenGates?: null | Array<WalletPlayTokenGate>; WalletLoginEnabled?: null | boolean; CanLinkWallet?: null | boolean; WalletsFromPlatformProfile?: null | boolean; LinkedWallets?: null | Array<PlayAccessWallet>; Status?: null | PlayAccessStatus; [key: string]: unknown; };
3067
+ type UserBlockchainState = { Version?: null | number; Stats?: null | BlockchainStats; LinkedWallets?: null | Record<string, LinkedWalletInfo>; LastWalletLogin?: null | { NetworkID?: null | string; Address?: null | string; CheckedAt?: null | string; LoggedInAt?: null | string; GatePassed?: null | boolean; GatedBalances?: null | Array<WalletGatedBalance>; [key: string]: unknown; }; PlayAccess?: null | PlayAccessState; PendingWithdrawals?: null | Array<PendingWithdrawalRef>; Kyc?: null | UserKycState; FirstActivityAt?: null | string; LastActivityAt?: null | string; IsFlagged?: null | boolean; FlagReason?: null | string; UnlinkedWallets?: null | Array<{ NetworkID?: null | string; Address?: null | string; UnlinkedAt?: null | string; [key: string]: unknown; }>; [key: string]: unknown; };
3068
+ type BlockchainStateDelta = { CryptoBalances?: null | Record<string, { CurrencyID: string; AmountDelta: string; FrozenDelta: string; UpdatedAt: string; [key: string]: unknown; }>; PendingAdded?: null | PendingWithdrawalRef; PendingRemovedIDs?: null | Array<string>; [key: string]: unknown; };
3069
+ type TokenTransactionDocument = { ID?: null | string; TitleID?: null | string; CreatedAt?: null | string; UpdatedAt?: null | string; UserID?: null | string; TransactionHash?: null | string; Nonce?: null | string; NetworkID?: null | string; ChainType?: null | string; ChainID?: null | number; Direction?: null | 'UsersCryptoWallet' | 'Game'; From?: null | string; To?: null | string; Amount?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; SignatureData?: null | string; CompletedAt?: null | string; ExpiresAt?: null | string; FailReason?: null | string; Reason?: null | string; Category?: null | string; TokenID?: null | string; CurrencyID?: null | string; AmountUsd?: null | string; NetPayoutAmount?: null | string; TemplateID?: null | string; DataType?: null | string; TitleDeletedAt?: null | string; BurnAmount?: null | number; [key: string]: unknown; };
3070
+ type NFTTransactionDocument = { ID?: null | string; TitleID?: null | string; CreatedAt?: null | string; UpdatedAt?: null | string; UserID?: null | string; TransactionHash?: null | string; Nonce?: null | string; NetworkID?: null | string; ChainType?: null | string; ChainID?: null | number; Direction?: null | 'UsersCryptoWallet' | 'Game'; From?: null | string; To?: null | string; Amount?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; SignatureData?: null | string; CompletedAt?: null | string; ExpiresAt?: null | string; FailReason?: null | string; Reason?: null | string; Category?: null | string; NFTID?: null | string; ItemID?: null | string; CatalogID?: null | string; SkinID?: null | string; TemplateID?: null | string; DataType?: null | string; TitleDeletedAt?: null | string; [key: string]: unknown; };
3055
3071
  type WithdrawalSplit = { To?: null | string; Amount?: null | string | number; [key: string]: unknown; };
3056
3072
  type WithdrawalSignatureResponse = { TokenAddress?: null | string; WalletAddress?: null | string; Amount?: null | string; BurnAmount?: null | string; TokenId?: null | string; Nonce?: null | string; ContractAddress?: null | string; UserID?: null | string; TitleID?: null | string; Category?: null | string; Deadline?: null | string; SignatureEpoch?: null | string; Splits?: null | Array<WithdrawalSplit>; Signature?: null | string; [key: string]: unknown; };
3057
3073
  type SolanaWithdrawalSignature = { Mint?: null | string; WalletAddress?: null | string; Amount?: null | string; BurnAmount?: null | string; Nonce?: null | string; ExpiresAt?: null | string; ProgramID?: null | string; SignatureEpoch?: null | string; Domain?: null | string; Splits?: null | Array<WithdrawalSplit>; SignatureHex?: null | string; SigIxIndex?: null | number; Ed25519PublicKey?: null | string; Ed25519Message?: null | string; UserID?: null | string; TitleID?: null | string; Category?: null | string; [key: string]: unknown; };
3058
3074
  type BlockchainConfigResponse = { Blockchain?: null | BlockchainDefinitions; CryptoCurrencies?: null | Record<string, CryptoCurrencyDefinition>; [key: string]: unknown; };
3059
3075
  type UserBlockchainStateResponse = { State?: null | UserBlockchainState; CryptoBalances?: null | Record<string, UserCryptoCurrencyState>; [key: string]: unknown; };
3060
- type DepositTokenResponse = { ServerTimeUtc?: null | string; TransactionHash?: null | string; NetworkID?: null | string; CurrencyID?: null | string; AmountNative?: null | string; AmountUsd?: null | string; StateDelta?: null | { CryptoBalances?: null | Record<string, { CurrencyID: string; AmountDelta: string; FrozenDelta: string; UpdatedAt: string; [key: string]: unknown; }>; PendingAdded?: null | PendingWithdrawalRef; PendingRemovedIDs?: null | Array<string>; [key: string]: unknown; }; [key: string]: unknown; };
3076
+ type DepositTokenResponse = { ServerTimeUtc?: null | string; TransactionHash?: null | string; NetworkID?: null | string; CurrencyID?: null | string; AmountNative?: null | string; AmountUsd?: null | string; StateDelta?: null | BlockchainStateDelta; [key: string]: unknown; };
3061
3077
  type DepositNFTResponse = { ServerTimeUtc?: null | string; TransactionHash?: null | string; NetworkID?: null | string; ItemID?: null | string; CatalogID?: null | string; NftTokenID?: null | string; Amount?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; [key: string]: unknown; };
3062
- type TokenWithdrawalResponse = { ServerTimeUtc?: null | string; TitleTransactionID?: null | string; NetworkID?: null | string; CurrencyID?: null | string; AmountNative?: null | string; NetAmountNative?: null | string; BurnAmountNative?: null | string; AmountUsd?: null | string; ExpiresAt?: null | string; EvmSignature?: null | WithdrawalSignatureResponse; SolanaSignature?: null | SolanaWithdrawalSignature; StateDelta?: null | { CryptoBalances?: null | Record<string, { CurrencyID: string; AmountDelta: string; FrozenDelta: string; UpdatedAt: string; [key: string]: unknown; }>; PendingAdded?: null | PendingWithdrawalRef; PendingRemovedIDs?: null | Array<string>; [key: string]: unknown; }; [key: string]: unknown; };
3063
- type NFTWithdrawalResponse = { ServerTimeUtc?: null | string; TitleTransactionID?: null | string; NetworkID?: null | string; ItemID?: null | string; CatalogID?: null | string; NftTokenID?: null | string; Amount?: null | number; ExpiresAt?: null | string; Resources?: null | ResourceOperation; EvmSignature?: null | WithdrawalSignatureResponse; SolanaSignature?: null | SolanaWithdrawalSignature; StateDelta?: null | { CryptoBalances?: null | Record<string, { CurrencyID: string; AmountDelta: string; FrozenDelta: string; UpdatedAt: string; [key: string]: unknown; }>; PendingAdded?: null | PendingWithdrawalRef; PendingRemovedIDs?: null | Array<string>; [key: string]: unknown; }; Inventory?: null | InventoryDelta; [key: string]: unknown; };
3078
+ type TokenWithdrawalResponse = { ServerTimeUtc?: null | string; TitleTransactionID?: null | string; NetworkID?: null | string; CurrencyID?: null | string; AmountNative?: null | string; NetAmountNative?: null | string; BurnAmountNative?: null | string; AmountUsd?: null | string; ExpiresAt?: null | string; EvmSignature?: null | WithdrawalSignatureResponse; SolanaSignature?: null | SolanaWithdrawalSignature; StateDelta?: null | BlockchainStateDelta; ChainID?: null | number; [key: string]: unknown; };
3079
+ type NFTWithdrawalResponse = { ServerTimeUtc?: null | string; TitleTransactionID?: null | string; NetworkID?: null | string; ItemID?: null | string; CatalogID?: null | string; NftTokenID?: null | string; Amount?: null | number; ExpiresAt?: null | string; Resources?: null | ResourceOperation; EvmSignature?: null | WithdrawalSignatureResponse; SolanaSignature?: null | SolanaWithdrawalSignature; StateDelta?: null | BlockchainStateDelta; Inventory?: null | InventoryDelta; [key: string]: unknown; };
3064
3080
  type TransactionHistoryResponse = { TokenTransactions?: null | Array<TokenTransactionDocument>; NFTTransactions?: null | Array<NFTTransactionDocument>; [key: string]: unknown; };
3065
3081
  type DonationResponse = { ServerTimeUtc?: null | string; TransactionHash?: null | string; NetworkID?: null | string; CurrencyID?: null | string; AmountNative?: null | string; AmountUsd?: null | string; Target?: null | string; [key: string]: unknown; };
3066
3082
  type RetryWithdrawalResponse = { TitleTransactionID?: null | string; Kind?: null | 'Token' | 'Nft'; EvmSignature?: null | WithdrawalSignatureResponse; SolanaSignature?: null | SolanaWithdrawalSignature; [key: string]: unknown; };
3067
- type ConfirmWithdrawalResponse = { TitleTransactionID?: null | string; OnChainTxHash?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; StateDelta?: null | { CryptoBalances?: null | Record<string, { CurrencyID: string; AmountDelta: string; FrozenDelta: string; UpdatedAt: string; [key: string]: unknown; }>; PendingAdded?: null | PendingWithdrawalRef; PendingRemovedIDs?: null | Array<string>; [key: string]: unknown; }; [key: string]: unknown; };
3083
+ type ConfirmWithdrawalResponse = { TitleTransactionID?: null | string; OnChainTxHash?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; StateDelta?: null | BlockchainStateDelta; [key: string]: unknown; };
3068
3084
  interface BlockchainRequest extends BaseRequest {
3069
3085
  TitleTransactionID?: string;
3070
3086
  NetworkID?: string;
@@ -3113,6 +3129,218 @@ declare const BlockchainAction: {
3113
3129
  };
3114
3130
  type BlockchainAction = (typeof BlockchainAction)[keyof typeof BlockchainAction];
3115
3131
 
3132
+ declare const MailboxCategory: {
3133
+ readonly System: "System";
3134
+ readonly Reward: "Reward";
3135
+ readonly Gift: "Gift";
3136
+ readonly Social: "Social";
3137
+ };
3138
+ type MailboxCategory = (typeof MailboxCategory)[keyof typeof MailboxCategory];
3139
+ declare const MailboxLetterSource: {
3140
+ readonly Admin: "Admin";
3141
+ readonly Broadcast: "Broadcast";
3142
+ readonly SocialGift: "SocialGift";
3143
+ readonly Transfer: "Transfer";
3144
+ readonly TransferReturn: "TransferReturn";
3145
+ readonly Module: "Module";
3146
+ readonly CloudCode: "CloudCode";
3147
+ };
3148
+ type MailboxLetterSource = (typeof MailboxLetterSource)[keyof typeof MailboxLetterSource];
3149
+ declare const MailboxRewardModule: {
3150
+ readonly Leaderboard: "Leaderboard";
3151
+ readonly CoopEvent: "CoopEvent";
3152
+ readonly Season: "Season";
3153
+ readonly Referral: "Referral";
3154
+ };
3155
+ type MailboxRewardModule = (typeof MailboxRewardModule)[keyof typeof MailboxRewardModule];
3156
+ /** Client actions (URL segment). */
3157
+ declare const MailboxAction: {
3158
+ readonly GetDefinitions: "GetDefinitions";
3159
+ readonly GetMessages: "GetMessages";
3160
+ readonly GetUnreadCount: "GetUnreadCount";
3161
+ readonly ReadMessages: "ReadMessages";
3162
+ readonly ClaimReward: "ClaimReward";
3163
+ readonly ClaimRewardsBatch: "ClaimRewardsBatch";
3164
+ readonly ClaimAll: "ClaimAll";
3165
+ readonly DeleteMessages: "DeleteMessages";
3166
+ readonly SendGift: "SendGift";
3167
+ readonly SendTransfer: "SendTransfer";
3168
+ readonly GetGiftStatus: "GetGiftStatus";
3169
+ };
3170
+ type MailboxAction = (typeof MailboxAction)[keyof typeof MailboxAction];
3171
+ /** Refusal codes of the module — the client maps them to its own texts. */
3172
+ declare const MailboxErrors: {
3173
+ readonly Disabled: "MAILBOX_DISABLED";
3174
+ readonly MessageNotFound: "MESSAGE_NOT_FOUND";
3175
+ readonly MessageIDRequired: "MESSAGE_ID_REQUIRED";
3176
+ readonly AlreadyClaimed: "ALREADY_CLAIMED";
3177
+ readonly Expired: "EXPIRED";
3178
+ readonly NoRewards: "NO_REWARDS";
3179
+ readonly HasUnclaimedRewards: "HAS_UNCLAIMED_REWARDS";
3180
+ readonly NotFriends: "NOT_FRIENDS";
3181
+ readonly Blocked: "BLOCKED";
3182
+ readonly RecipientNotFound: "RECIPIENT_NOT_FOUND";
3183
+ readonly CannotGiftSelf: "CANNOT_GIFT_SELF";
3184
+ readonly GiftNotFound: "GIFT_NOT_FOUND";
3185
+ readonly GiftNotAllowed: "GIFT_NOT_ALLOWED";
3186
+ /** This gift to this friend was already sent in the current period. */
3187
+ readonly AlreadySent: "ALREADY_SENT";
3188
+ /** The send limit of the period is used up. */
3189
+ readonly SendLimit: "SEND_LIMIT";
3190
+ /** Not enough resources for the gift price or the transfer fee. */
3191
+ readonly NotEnoughResources: "NOT_ENOUGH_RESOURCES";
3192
+ /** After the commission the friend would get nothing. */
3193
+ readonly AmountTooSmall: "AMOUNT_TOO_SMALL";
3194
+ readonly RecipientLimit: "RECIPIENT_LIMIT";
3195
+ readonly TransferDisabled: "TRANSFER_DISABLED";
3196
+ readonly ResourceNotGiftable: "RESOURCE_NOT_GIFTABLE";
3197
+ readonly AmountTooLarge: "AMOUNT_TOO_LARGE";
3198
+ readonly AmountInvalid: "AMOUNT_INVALID";
3199
+ readonly TooManyEntries: "TOO_MANY_ENTRIES";
3200
+ readonly EntriesRequired: "ENTRIES_REQUIRED";
3201
+ readonly FriendshipTooNew: "FRIENDSHIP_TOO_NEW";
3202
+ readonly RequestIDRequired: "RELATED_ENTITY_ID_REQUIRED";
3203
+ readonly CryptoForbidden: "CRYPTO_FORBIDDEN";
3204
+ readonly ModuleRewardUnavailable: "MODULE_REWARD_UNAVAILABLE";
3205
+ readonly Conflict: "CONFLICT";
3206
+ };
3207
+ /** Badge counters are capped here: the UI shows "99+". */
3208
+ declare const MAILBOX_COUNTER_CAP = 100;
3209
+ type MailText = { Subject?: null | string; Body?: null | string; [key: string]: unknown; };
3210
+ type MailLink = { FeatureID?: null | string; Args?: null | Record<string, string>; Url?: null | string; Label?: null | string; [key: string]: unknown; };
3211
+ type MailTemplateDefinition = { Texts?: null | Record<string, MailText>; Category?: null | 'Reward' | 'System' | 'Gift' | 'Social'; Icon?: null | string; Banner?: null | string; Link?: null | MailLink; SenderName?: null | string; ExpirationDays?: null | number; [key: string]: unknown; };
3212
+ type SocialGiftDefinition = { Enabled?: null | boolean; Grant?: null | ResourceBundle; Cost?: null | ResourceBundle; IntervalSeconds?: null | number; AnchorUtc?: null | string; SenderGate?: null | SegmentGate; TemplateID?: null | string; ExpirationDays?: null | number; [key: string]: unknown; };
3213
+ type TransferableResource = { Type?: null | string; CurrencyID?: null | string; CatalogID?: null | string; ItemID?: null | string; MaxAmountPerGift?: null | number; [key: string]: unknown; };
3214
+ type TransferGiftDefinition = { Enabled?: null | boolean; AllowedResources?: null | Array<TransferableResource>; MaxEntriesPerGift?: null | number; IntervalSeconds?: null | number; AnchorUtc?: null | string; FeePercent?: null | number; FeeCost?: null | ResourceBundle; SenderGate?: null | SegmentGate; ExpirationDays?: null | number; TemplateID?: null | string; [key: string]: unknown; };
3215
+ type MailboxDefinitions = { Enabled?: null | boolean; Capacity?: null | number; RewardLetterDays?: null | number; PlainLetterDays?: null | number; ClaimedRetentionDays?: null | number; DefaultLanguage?: null | string; Templates?: null | Record<string, MailTemplateDefinition>; Gifts?: null | { Social?: null | Record<string, SocialGiftDefinition>; Transfer?: null | TransferGiftDefinition; [key: string]: unknown; }; Integrations?: null | { Leaderboard?: null | boolean; CoopEvent?: null | boolean; Season?: null | boolean; Referral?: null | boolean; [key: string]: unknown; }; [key: string]: unknown; };
3216
+ interface MailboxRequest extends BaseRequest {
3217
+ /** GetMessages: NextCursor of the previous page. Empty = first page. */
3218
+ Cursor?: string;
3219
+ PageSize?: number;
3220
+ Category?: MailboxCategory;
3221
+ /** Player language ("ru"); the server picks the letter text for it. */
3222
+ Language?: string;
3223
+ MessageID?: string;
3224
+ MessageIDs?: string[];
3225
+ /** ReadMessages: all unread. DeleteMessages: all read letters without pending rewards. */
3226
+ All?: boolean;
3227
+ /** DeleteMessages: also delete letters whose reward was not claimed (the reward is lost). */
3228
+ Force?: boolean;
3229
+ GiftID?: string;
3230
+ RecipientUserIDs?: string[];
3231
+ RecipientUserID?: string;
3232
+ TransferEntries?: ResourceEntry[];
3233
+ Note?: string;
3234
+ }
3235
+ type MailboxLetter = { MessageID: string; Source: 'Module' | 'Transfer' | 'Admin' | 'Broadcast' | 'SocialGift' | 'TransferReturn' | 'CloudCode'; Category: 'Reward' | 'System' | 'Gift' | 'Social'; SentAt: string; TemplateID?: null | string; Subject?: null | string; Body?: null | string; Language?: null | string; TemplateParams?: null | Record<string, string>; Icon?: null | string; Banner?: null | string; Link?: null | MailLink; SenderName?: null | string; SenderUserID?: null | string; SenderAvatarUrl?: null | string; SenderNote?: null | string; Rewards?: null | ResourceGrant; HasRewards?: null | boolean; IsTransfer?: null | boolean; ExpiresAt?: null | string; ReadAt?: null | string; ClaimedAt?: null | string; [key: string]: unknown; };
3236
+ type MailboxPendingReward = { MessageID: string; Module: 'Leaderboard' | 'CoopEvent' | 'Season' | 'Referral'; Key: string; TemplateID?: null | string; Subject?: null | string; Body?: null | string; Language?: null | string; TemplateParams?: null | Record<string, string>; Rewards?: null | ResourceGrant; [key: string]: unknown; };
3237
+ type MailboxItemFailure = { ID: string; Error?: null | string; [key: string]: unknown; };
3238
+ type GetMailboxMessagesResponse = { Messages: Array<MailboxLetter>; ServerTimeUtc?: null | string; NextCursor?: null | string; PendingRewards?: null | Array<MailboxPendingReward>; UnreadCount?: null | number; UnclaimedCount?: null | number; DeliveredNow?: null | number; [key: string]: unknown; };
3239
+ type MailboxCountersResponse = { UnreadCount: number; UnclaimedCount: number; ServerTimeUtc?: null | string; [key: string]: unknown; };
3240
+ type MailboxOperationResponse = { AffectedCount: number; Failed: Array<MailboxItemFailure>; UnreadCount: number; UnclaimedCount: number; ServerTimeUtc?: null | string; [key: string]: unknown; };
3241
+ type MailboxClaimedLetter = { MessageID: string; Rewards?: null | ResourceBundle; [key: string]: unknown; };
3242
+ type MailboxClaimResponse = { Claimed: Array<MailboxClaimedLetter>; Failed: Array<MailboxItemFailure>; UnreadCount: number; UnclaimedCount: number; ServerTimeUtc?: null | string; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; [key: string]: unknown; };
3243
+ type MailboxSendGiftResponse = { Sent: Array<string>; Failed: Array<MailboxItemFailure>; RemainingInPeriod: number; ServerTimeUtc?: null | string; GiftID?: null | string; Resources?: null | ResourceOperation; ResetsAt?: null | string; [key: string]: unknown; };
3244
+ type MailboxSendTransferResponse = { RemainingInPeriod: number; ServerTimeUtc?: null | string; MessageID?: null | string; ExpiresAt?: null | string; Resources?: null | ResourceOperation; RecipientReceives?: null | ResourceBundle; ResetsAt?: null | string; IdempotentReplay?: null | boolean; [key: string]: unknown; };
3245
+ type MailboxGiftStatusResponse = { Social: Record<string, { IntervalSeconds: number; SentInPeriod: number; RemainingInPeriod: number; ReceivedInPeriod: number; SentTo: Array<string>; ResetsAt?: null | string; [key: string]: unknown; }>; ServerTimeUtc?: null | string; ResetsAt?: null | string; Transfer?: null | { Enabled: boolean; IntervalSeconds: number; SentInPeriod: number; RemainingInPeriod: number; ResetsAt?: null | string; [key: string]: unknown; }; [key: string]: unknown; };
3246
+
3247
+ type OperationFailureReason =
3248
+ /** Local argument validation failed before any network call (mirrors C# `Fail`). */
3249
+ "client"
3250
+ /** The response body did not match its zod schema (contract drift). */
3251
+ | "validation"
3252
+ /** Transient transport failure that survived auto-retries (offer a "Retry"). */
3253
+ | "connection"
3254
+ /** Session ticket rejected (HTTP 401) and could not be refreshed. */
3255
+ | "unauthorized"
3256
+ /** Client-side throttle / duplicate in-flight guard rejected the call. */
3257
+ | "throttled"
3258
+ /** The server returned `Success=false` or a non-transient HTTP error. */
3259
+ | "server";
3260
+ interface OperationSuccess<T> {
3261
+ readonly ok: true;
3262
+ readonly data: T;
3263
+ }
3264
+ interface OperationFailure {
3265
+ readonly ok: false;
3266
+ readonly reason: OperationFailureReason;
3267
+ readonly error: string;
3268
+ }
3269
+ type OperationResult<T> = OperationSuccess<T> | OperationFailure;
3270
+ declare function isOk<T>(result: OperationResult<T>): result is OperationSuccess<T>;
3271
+ declare function isFail<T>(result: OperationResult<T>): result is OperationFailure;
3272
+
3273
+ /** Mailbox badge counters after any mailbox call. */
3274
+ interface MailboxCounters {
3275
+ UnreadCount: number;
3276
+ UnclaimedCount: number;
3277
+ }
3278
+ /**
3279
+ * Mailbox of the player: letters with rewards, publisher broadcasts, friend gifts and transfers,
3280
+ * unclaimed rewards of other modules.
3281
+ *
3282
+ * Every response that changes the mailbox carries fresh badge counters; the service re-emits them as
3283
+ * `mailbox:countersChanged`, so a badge never needs its own polling after an action.
3284
+ */
3285
+ declare class MailboxService {
3286
+ private readonly ctx;
3287
+ constructor(ctx: ClientContext);
3288
+ private request;
3289
+ private emitCounters;
3290
+ /** The mailbox section as the client sees it (limits are not published — use getGiftStatus). */
3291
+ get definitions(): MailboxDefinitions | undefined;
3292
+ /** Is the mailbox switched on for this title (by the cached config)? */
3293
+ get enabled(): boolean;
3294
+ getDefinitions(): Promise<OperationResult<MailboxDefinitions>>;
3295
+ /**
3296
+ * One page of letters, newest first. The FIRST page (no cursor) also delivers broadcasts meant
3297
+ * for this player, returns their expired transfers to them, and carries pending module rewards
3298
+ * and the badge counters.
3299
+ */
3300
+ getMessages(options?: {
3301
+ cursor?: string | null;
3302
+ pageSize?: number;
3303
+ category?: MailboxCategory;
3304
+ language?: string;
3305
+ }): Promise<OperationResult<GetMailboxMessagesResponse>>;
3306
+ /** Badge counters only. Writes nothing on the server — cheap enough for a menu badge. */
3307
+ getUnreadCount(): Promise<OperationResult<MailboxCountersResponse>>;
3308
+ /** Mark letters read; `all: true` marks every unread letter. */
3309
+ readMessages(messageIDs: string[] | "all"): Promise<OperationResult<MailboxOperationResponse>>;
3310
+ /** Claim one letter or one live module reward (`live:...`). */
3311
+ claimReward(messageID: string): Promise<OperationResult<MailboxClaimResponse>>;
3312
+ /** Claim several letters in one server operation; failed ones come back in `Failed`. */
3313
+ claimRewards(messageIDs: string[]): Promise<OperationResult<MailboxClaimResponse>>;
3314
+ /** Claim everything claimable: stored letters and live module rewards. */
3315
+ claimAll(): Promise<OperationResult<MailboxClaimResponse>>;
3316
+ private afterClaim;
3317
+ /**
3318
+ * Delete letters. `"allRead"` removes every read letter without a pending reward. A letter with
3319
+ * an unclaimed reward needs `force` (the reward is lost); deleting a friend's pending TRANSFER
3320
+ * declines it and returns the resources to the friend.
3321
+ */
3322
+ deleteMessages(messageIDs: string[] | "allRead", options?: {
3323
+ force?: boolean;
3324
+ }): Promise<OperationResult<MailboxOperationResponse>>;
3325
+ /**
3326
+ * Gift to friends: one of a kind per friend per period (a day unless the title set IntervalSeconds/AnchorUtc).
3327
+ * A gift with a `Cost` charges the sender per friend; not enough — `NOT_ENOUGH_RESOURCES` for the
3328
+ * rest, nothing charged for them.
3329
+ */
3330
+ sendGift(giftID: string, recipientUserIDs: string[]): Promise<OperationResult<MailboxSendGiftResponse>>;
3331
+ /**
3332
+ * Send own resources to a friend. They are taken now and wait in the friend's letter; declined or
3333
+ * expired transfers come back. `requestID` is the idempotency key — keep it for retries of the SAME
3334
+ * transfer so a timeout never charges twice.
3335
+ */
3336
+ sendTransfer(recipientUserID: string, entries: ResourceEntry[], options: {
3337
+ requestID: string;
3338
+ note?: string;
3339
+ }): Promise<OperationResult<MailboxSendTransferResponse>>;
3340
+ /** What is left of today's gift limits and who already got a gift today. */
3341
+ getGiftStatus(): Promise<OperationResult<MailboxGiftStatusResponse>>;
3342
+ }
3343
+
3116
3344
  declare const ChatChannelType: {
3117
3345
  /** Title-wide channel: anyone passing the write gate may post. */
3118
3346
  readonly Global: "Global";
@@ -3412,7 +3640,7 @@ interface WorkshopAccessOptionInput {
3412
3640
  type WorkshopFileRole = { AllowedMimeTypes?: null | Array<string>; MaxBytes?: null | number; MaxCount?: null | number; Required?: null | boolean; [key: string]: unknown; };
3413
3641
  type WorkshopContentType = { DisplayName?: null | string; Enabled?: null | boolean; Files?: null | Record<string, WorkshopFileRole>; ThumbnailRequired?: null | boolean; AllowedAccessModes?: null | Array<'Price' | 'Free' | 'Holding'>; PricePolicy?: null | MarketplacePricePolicy; PublishGate?: null | SegmentGate; PublishFeeOptions?: null | PriceOptions; TagVocabulary?: null | Array<string>; MaxPublishedPerPlayer?: null | number; DailyPublishCap?: null | number; [key: string]: unknown; };
3414
3642
  type WorkshopHoldingPolicy = { Allowed?: null | Array<{ Kind?: null | 'Item' | 'VirtualCurrency' | 'EventToken'; CurrencyID?: null | string; CatalogID?: null | string; ItemID?: null | string; TokenType?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; EntityID?: null | string; MinAmount?: null | number; MaxAmount?: null | number; [key: string]: unknown; }>; MaxRequirements?: null | number; [key: string]: unknown; };
3415
- type WorkshopModerationSettings = { AutoHideReportThreshold?: null | number; RequireApproval?: null | boolean; [key: string]: unknown; };
3643
+ type WorkshopModerationSettings = { AutoHideReportThreshold?: null | number; RequireApproval?: null | boolean; BlockedTerms?: null | Array<string>; [key: string]: unknown; };
3416
3644
  type WorkshopLimits = { MaxTitleLength?: null | number; MaxDescriptionLength?: null | number; MaxTags?: null | number; MaxTagLength?: null | number; MaxMetadataKeys?: null | number; MaxMetadataValueLength?: null | number; MaxAccessOptions?: null | number; ThumbnailMaxBytes?: null | number; [key: string]: unknown; };
3417
3645
  type WorkshopCollection = { CollectionID?: null | string; Name?: null | string; Description?: null | string; ContentIDs?: null | Array<string>; Schedule?: null | ScheduleSpec; Gate?: null | SegmentGate; Order?: null | number; [key: string]: unknown; };
3418
3646
  type WorkshopDefinitions = { Enabled?: null | boolean; Gate?: null | SegmentGate; Schedule?: null | ScheduleSpec; ContentTypes?: null | Record<string, WorkshopContentType>; PricePolicy?: null | MarketplacePricePolicy; Commission?: null | MarketplaceCommissionPolicy; HoldingPolicy?: null | WorkshopHoldingPolicy; Moderation?: null | WorkshopModerationSettings; Limits?: null | WorkshopLimits; Featured?: null | Array<WorkshopCollection>; [key: string]: unknown; };
@@ -3521,9 +3749,9 @@ type IceServer = { Urls?: null | string; Username?: null | string; Credential?:
3521
3749
  type MultiplayerSystemState = { Enabled?: null | boolean; [key: string]: unknown; };
3522
3750
  type MultiplayerDefinitions = { SystemState?: null | MultiplayerSystemState; DefaultTopology?: null | 'Mesh' | 'Host'; AllowCreatorTopologyOverride?: null | boolean; DefaultChatMode?: null | 'ServerRelay' | 'P2P'; AllowCreatorChatOverride?: null | boolean; MaxPlayersPerRoom?: null | number; RoomTtlSeconds?: null | number; HeartbeatIntervalMs?: null | number; MemberTimeoutMs?: null | number; MaxSignalPayloadBytes?: null | number; MaxChatTextLength?: null | number; RoomLogCap?: null | number; IceServers?: null | Array<IceServer>; [key: string]: unknown; };
3523
3751
  type RoomMemberView = { UserID?: null | string; Username?: null | string; AvatarUrl?: null | string; Level?: null | number; Power?: null | number; Ready?: null | boolean; State?: null | Record<string, string>; JoinedAt?: null | number; IsHost?: null | boolean; LastSeenMs?: null | number; [key: string]: unknown; };
3524
- type RoomListItem = { RoomID?: null | string; Name?: null | string; HostUserID?: null | string; Topology?: null | 'Mesh' | 'Host'; ChatMode?: null | 'ServerRelay' | 'P2P'; MaxPlayers?: null | number; MemberCount?: null | number; CreatedAt?: null | number; [key: string]: unknown; };
3752
+ type RoomListItem = { RoomID?: null | string; Name?: null | string; HostUserID?: null | string; Topology?: null | 'Mesh' | 'Host'; ChatMode?: null | 'ServerRelay' | 'P2P'; MaxPlayers?: null | number; Mode?: null | string; MemberCount?: null | number; CreatedAt?: null | number; [key: string]: unknown; };
3525
3753
  type RealtimeEnvelope = { Seq?: null | number; Type?: null | 'Signal' | 'Chat' | 'PlayerJoined' | 'PlayerLeft' | 'HostChanged' | 'RoomClosed' | 'MemberState'; FromUserID?: null | string; ToUserID?: null | string; Kind?: null | string; Payload?: null | string; Ts?: null | number; [key: string]: unknown; };
3526
- type RoomSnapshotResponse = { RoomID?: null | string; Name?: null | string; HostUserID?: null | string; OwnerUserID?: null | string; Topology?: null | 'Mesh' | 'Host'; ChatMode?: null | 'ServerRelay' | 'P2P'; Visibility?: null | 'Private' | 'Public'; Status?: null | string; MaxPlayers?: null | number; Members?: null | Array<RoomMemberView>; IceServers?: null | Array<IceServer>; Seq?: null | number; BannedUserIDs?: null | Array<string>; [key: string]: unknown; };
3754
+ type RoomSnapshotResponse = { RoomID?: null | string; Name?: null | string; HostUserID?: null | string; OwnerUserID?: null | string; Topology?: null | 'Mesh' | 'Host'; ChatMode?: null | 'ServerRelay' | 'P2P'; Visibility?: null | 'Private' | 'Public'; Status?: null | string; MaxPlayers?: null | number; Mode?: null | string; Members?: null | Array<RoomMemberView>; IceServers?: null | Array<IceServer>; Seq?: null | number; BannedUserIDs?: null | Array<string>; [key: string]: unknown; };
3527
3755
  type KickMemberResponse = { Removed?: null | boolean; Banned?: null | boolean; [key: string]: unknown; };
3528
3756
  type UnbanMemberResponse = { WasBanned?: null | boolean; [key: string]: unknown; };
3529
3757
  type LeaveRoomResponse = { Closed?: null | boolean; NewHostUserID?: null | string; [key: string]: unknown; };
@@ -3538,6 +3766,11 @@ interface MultiplayerRequest extends BaseRequest {
3538
3766
  MaxPlayers?: number;
3539
3767
  Visibility?: RoomVisibility;
3540
3768
  JoinCode?: string;
3769
+ /**
3770
+ * CreateRoom: the room's game — a client mode id (1–64 of `[a-z0-9-._:]`). The server only stores
3771
+ * it and returns it in the list and the snapshot, so a lobby can show one game's rooms.
3772
+ */
3773
+ Mode?: string;
3541
3774
  TargetUserID?: string;
3542
3775
  /** "offer" / "answer" / "candidate". */
3543
3776
  SignalKind?: string;
@@ -3577,7 +3810,7 @@ declare const MultiplayerAction: {
3577
3810
  type MultiplayerAction = (typeof MultiplayerAction)[keyof typeof MultiplayerAction];
3578
3811
  type PlatformLoginResponse = { TitleUserID: string; TitleClientSessionTicket: string; TitleClientSessionTicketExpiration: string; PlatformUserID?: null | string; PlatformAuthToken?: null | string; PlatformAuthTokenExpiration?: null | string; PlayAccess?: null | PlayAccessStatus; RefreshToken?: null | string; RefreshTokenExpiration?: null | string; };
3579
3812
  type RefreshSessionResponse = { TitleUserID: string; TitleClientSessionTicket: string; TitleClientSessionTicketExpiration: string; RefreshToken: string; RefreshTokenExpiration?: null | string; PlayAccess?: null | PlayAccessStatus; };
3580
- type AuthOptionsResponse = { Google?: null | { Enabled?: null | boolean; WebClientID?: null | string; AndroidClientID?: null | string; IosClientID?: null | string; DesktopClientID?: null | string; [key: string]: unknown; }; Apple?: null | { Enabled?: null | boolean; BundleID?: null | string; ServiceID?: null | string; [key: string]: unknown; }; PlayAccessMode?: null | 'Open' | 'AnyWithLinkedWallet' | 'WalletOnly'; WalletLoginNetworks?: null | Array<{ NetworkID?: null | string; Type?: null | string; [key: string]: unknown; }>; [key: string]: unknown; };
3813
+ type AuthOptionsResponse = { Google?: null | { Enabled?: null | boolean; WebClientID?: null | string; AndroidClientID?: null | string; IosClientID?: null | string; DesktopClientID?: null | string; [key: string]: unknown; }; Apple?: null | { Enabled?: null | boolean; BundleID?: null | string; ServiceID?: null | string; [key: string]: unknown; }; PlayAccessMode?: null | 'Open' | 'AnyWithLinkedWallet' | 'WalletOnly'; WalletLoginNetworks?: null | Array<{ NetworkID?: null | string; Type?: null | string; [key: string]: unknown; }>; NativeSso?: null | { ReturnMode?: null | string; UrlScheme?: null | string; UserCodeSupported?: null | boolean; PollIntervalSeconds?: null | number; [key: string]: unknown; }; [key: string]: unknown; };
3581
3814
  type WalletLinkResponse = { Linked?: null | boolean; Challenge?: null | string; ExpiresAt?: null | string; NetworkID?: null | string; Address?: null | string; PlayAccess?: null | PlayAccessStatus; [key: string]: unknown; };
3582
3815
  type WalletUnlinkResponse = { NetworkID?: null | string; Address?: null | string; CooldownUntil?: null | string; PlayAccess?: null | PlayAccessStatus; [key: string]: unknown; };
3583
3816
  type EmailRegistrationResponse = { CodeTtlMinutes?: null | number; ResendCooldownSeconds?: null | number; };
@@ -3747,14 +3980,14 @@ declare const FodderSelectionMode: {
3747
3980
  readonly SameLevelOnly: "SameLevelOnly";
3748
3981
  };
3749
3982
  type FodderSelectionMode = (typeof FodderSelectionMode)[keyof typeof FodderSelectionMode];
3750
- type NFTNetworkBinding = { ContractAddress?: null | string; TokenID?: null | string; TokenStandard?: null | string; [key: string]: unknown; };
3983
+ type NFTNetworkBinding = { ContractAddress?: null | string; TokenID?: null | string; TokenStandard?: null | string; MaxLevel?: null | number; [key: string]: unknown; };
3751
3984
  type NFTModel = { Networks?: null | Record<string, NFTNetworkBinding>; MetadataUrl?: null | string; [key: string]: unknown; };
3752
3985
  type ItemStats = { FlatBonuses?: null | Record<string, number>; PercentBonuses?: null | Record<string, number>; Power?: null | number; [key: string]: unknown; };
3753
- type ItemEquipment = { MinCharacterLevel?: null | number; UseRequirements?: null | Record<string, number>; AllowedCharacterIDs?: null | Array<string>; AllowedSlotIDs?: null | Array<string>; [key: string]: unknown; };
3986
+ type ItemEquipment = { MinCharacterLevel?: null | number; UseRequirements?: null | Record<string, number>; AllowedCharacterIDs?: null | Array<string>; AllowedSlotIDs?: null | Array<string>; IdleRateBonus?: null | number; [key: string]: unknown; };
3754
3987
  type ItemUpgradeFodder = { ValuationMode?: null | 'FlatCount' | 'Merge' | 'InvestmentRefund'; WeightCurve?: null | { Base?: null | number; Shape?: null | 'Flat' | 'PerStep' | 'PerStepRate' | 'Geometric' | 'Table' | 'TableAbsolute'; PerStep?: null | number; PerStepRate?: null | number; GrowthRate?: null | number; Points?: null | Array<{ AtStep?: null | number; Value?: null | number; [key: string]: unknown; }>; Interpolation?: null | 'Geometric' | 'Step' | 'Linear'; TailGrowthRate?: null | number; MinResult?: null | number; MaxResult?: null | number; [key: string]: unknown; }; Selection?: null | 'ProtectLeveled' | 'CheapestFirst' | 'ClientSelected' | 'SameLevelOnly'; [key: string]: unknown; };
3755
3988
  type ItemUpgrade = { MaxLevel?: null | number; PriceOptions?: null | PriceOptions; CostCurve?: null | { Base?: null | number; Shape?: null | 'Flat' | 'PerStep' | 'PerStepRate' | 'Geometric' | 'Table' | 'TableAbsolute'; PerStep?: null | number; PerStepRate?: null | number; GrowthRate?: null | number; Points?: null | Array<{ AtStep?: null | number; Value?: null | number; [key: string]: unknown; }>; Interpolation?: null | 'Geometric' | 'Step' | 'Linear'; TailGrowthRate?: null | number; MinResult?: null | number; MaxResult?: null | number; [key: string]: unknown; }; FlatBonusCurve?: null | { Base?: null | number; Shape?: null | 'Flat' | 'PerStep' | 'PerStepRate' | 'Geometric' | 'Table' | 'TableAbsolute'; PerStep?: null | number; PerStepRate?: null | number; GrowthRate?: null | number; Points?: null | Array<{ AtStep?: null | number; Value?: null | number; [key: string]: unknown; }>; Interpolation?: null | 'Geometric' | 'Step' | 'Linear'; TailGrowthRate?: null | number; MinResult?: null | number; MaxResult?: null | number; [key: string]: unknown; }; PercentBonusCurve?: null | { Base?: null | number; Shape?: null | 'Flat' | 'PerStep' | 'PerStepRate' | 'Geometric' | 'Table' | 'TableAbsolute'; PerStep?: null | number; PerStepRate?: null | number; GrowthRate?: null | number; Points?: null | Array<{ AtStep?: null | number; Value?: null | number; [key: string]: unknown; }>; Interpolation?: null | 'Geometric' | 'Step' | 'Linear'; TailGrowthRate?: null | number; MinResult?: null | number; MaxResult?: null | number; [key: string]: unknown; }; PowerCurve?: null | { Base?: null | number; Shape?: null | 'Flat' | 'PerStep' | 'PerStepRate' | 'Geometric' | 'Table' | 'TableAbsolute'; PerStep?: null | number; PerStepRate?: null | number; GrowthRate?: null | number; Points?: null | Array<{ AtStep?: null | number; Value?: null | number; [key: string]: unknown; }>; Interpolation?: null | 'Geometric' | 'Step' | 'Linear'; TailGrowthRate?: null | number; MinResult?: null | number; MaxResult?: null | number; [key: string]: unknown; }; Fodder?: null | ItemUpgradeFodder; [key: string]: unknown; };
3756
3989
  type ItemMetadata = { RarityID?: null | string; CollectionID?: null | string; AuthorID?: null | string; [key: string]: unknown; };
3757
- type ItemDefinition = { ItemID: string; CatalogID: string; ItemClass?: null | string; DisplayName?: null | string; Description?: null | string; Tags?: null | Array<string>; CustomData?: null | Record<string, string>; IsStackable?: null | boolean; IsTradable?: null | boolean; Weight?: null | number; AssetPaths?: null | Record<string, string>; NFT?: null | NFTModel; Stats?: null | ItemStats; Equipment?: null | ItemEquipment; Upgrade?: null | ItemUpgrade; Metadata?: null | ItemMetadata; ExpirationDurationSeconds?: null | number; [key: string]: unknown; };
3990
+ type ItemDefinition = { ItemID: string; CatalogID: string; ItemClass?: null | string; DisplayName?: null | string; Description?: null | string; Tags?: null | Array<string>; CustomData?: null | Record<string, string>; IsStackable?: null | boolean; IsTradable?: null | boolean; Weight?: null | number; AssetPaths?: null | Record<string, string>; NFT?: null | NFTModel; Stats?: null | ItemStats; Equipment?: null | ItemEquipment; Upgrade?: null | ItemUpgrade; Metadata?: null | ItemMetadata; ExpirationDurationSeconds?: null | number; MaxSupply?: null | number; [key: string]: unknown; };
3758
3991
  /** Catalog: a set of items of one thematic group. Key of `Items` is ItemID. */
3759
3992
  interface ItemCatalog {
3760
3993
  Items?: Record<string, ItemDefinition> | null;
@@ -3912,14 +4145,16 @@ interface ActiveEventInfo {
3912
4145
  CurrentEventOrder?: number | null;
3913
4146
  /** Chained-mode only: total number of events in the chain. */
3914
4147
  TotalEventsInChain?: number | null;
4148
+ /** Composite EntityID of this instance's token bucket ("MainChain:2:1"). */
4149
+ TokenEntityID?: string | null;
3915
4150
  }
3916
4151
  interface GetActiveEventsResponse {
3917
4152
  ActiveEvents?: ActiveEventInfo[] | null;
3918
4153
  }
3919
4154
  type UserTimedEventStateResponse = { Tokens?: null | Record<string, UserEventTokenProgress>; };
3920
- type EventTokenSpendResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; Resources?: null | ResourceOperation; };
3921
- type EventMilestoneClaimResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; MilestoneID?: null | string; Rewards?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
3922
- type EventTokenGrantResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; Resources?: null | ResourceOperation; };
4155
+ type EventTokenSpendResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Relative' | 'AlwaysOn' | 'Chained' | 'Triggered'; LteID?: null | string; Resources?: null | ResourceOperation; };
4156
+ type EventMilestoneClaimResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Relative' | 'AlwaysOn' | 'Chained' | 'Triggered'; LteID?: null | string; MilestoneID?: null | string; TokenEntityID?: null | string; Rewards?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
4157
+ type EventTokenGrantResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Relative' | 'AlwaysOn' | 'Chained' | 'Triggered'; LteID?: null | string; Resources?: null | ResourceOperation; };
3923
4158
  type ClaimMilestonesBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | EventMilestoneClaimResponse; }>;
3924
4159
  type SpendTokensBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | EventTokenSpendResponse; }>;
3925
4160
  type GrantTokensBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | EventTokenGrantResponse; }>;
@@ -4227,12 +4462,22 @@ interface AIRequest extends BaseRequest {
4227
4462
  GenerationID?: string;
4228
4463
  /** ListGenerations only. */
4229
4464
  Query?: AIHistoryQuery;
4465
+ /**
4466
+ * Values of the feature's prompt-template variables (`AIPublicFeature.PromptVariables[].Name` →
4467
+ * value). A server hook may override them.
4468
+ */
4469
+ Variables?: Record<string, string>;
4470
+ /**
4471
+ * Free-form context (e.g. `{ npcId: "guard_3" }`) stored with the generation and handed to the
4472
+ * feature's CloudCode handlers on completion or failure. At most 8 KB; keys without `.` and `$`.
4473
+ */
4474
+ Context?: Record<string, unknown>;
4230
4475
  }
4231
4476
  type AIGenerationAssetView = { Url?: null | string; ContentType?: null | string; Variant?: null | string; };
4232
4477
  type AIGenerationErrorView = { Code?: null | string; Message?: null | string; };
4233
- type AIGenerationView = { GenerationID: string; Status: string; FeatureKey?: null | string; Modality?: null | 'Text' | 'Image' | 'Video' | 'Audio' | 'Music' | 'ThreeD'; Progress?: null | number; OutputText?: null | string; Assets?: null | Array<AIGenerationAssetView>; Error?: null | AIGenerationErrorView; Charge?: null | ResourceOperation; PlayerRefunded?: null | boolean; PaymentSettled?: null | boolean; CreatedAt?: null | string; UpdatedAt?: null | string; };
4478
+ type AIGenerationView = { GenerationID: string; Status: string; 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; 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; };
4234
4479
  type AIGenerationListView = { Data?: null | Array<AIGenerationView>; Skip?: null | number; Limit?: null | number; };
4235
- 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; ArtStyle?: null | string; ThreeDFormat?: null | string; [key: string]: unknown; };
4480
+ 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; ArtStyle?: null | string; ThreeDFormat?: null | 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; };
4236
4481
  /** The title's AI features, returned by `getDefinitions()`. */
4237
4482
  interface AIPublicDefinitions {
4238
4483
  /** Master switch. `false` = every generate request fails. */
@@ -4790,6 +5035,12 @@ interface SdkEvents {
4790
5035
  "referral:inviteRewardClaimed": ClaimInviteRewardResponse;
4791
5036
  /** Batch claim of several invite milestones applied in one atomic operation. */
4792
5037
  "referral:inviteRewardsBatchClaimed": ClaimInviteRewardsBatchResponse;
5038
+ "mailbox:messagesLoaded": GetMailboxMessagesResponse;
5039
+ /** Fresh badge counters after any mailbox call that returns them. */
5040
+ "mailbox:countersChanged": MailboxCounters;
5041
+ "mailbox:rewardsClaimed": MailboxClaimResponse;
5042
+ "mailbox:giftSent": MailboxSendGiftResponse;
5043
+ "mailbox:transferSent": MailboxSendTransferResponse;
4793
5044
  "social:friendsListLoaded": FriendsListResponse;
4794
5045
  "social:incomingRequestsLoaded": FriendsListResponse;
4795
5046
  "social:outgoingRequestsLoaded": FriendsListResponse;
@@ -5077,6 +5328,12 @@ declare class UserData {
5077
5328
  get state(): UserState | null;
5078
5329
  getCachedActiveEvents(): GetActiveEventsResponse | null;
5079
5330
  clear(): void;
5331
+ /**
5332
+ * C# `decimal` goes out as a JSON NUMBER, while the cache type (and every reader of
5333
+ * `getCryptoCurrencyAmount`) holds a decimal STRING — the same as after `patchCryptoCurrencyDelta`. Left as it
5334
+ * arrives, a balance would be a number after login and a string after the first conversion.
5335
+ */
5336
+ private static stringifyCryptoBalances;
5080
5337
  applyUserState(state: UserState): void;
5081
5338
  /**
5082
5339
  * Точечная замена перечисленных контейнеров — для адресной выборки (`getUserState`), которая
@@ -5100,7 +5357,7 @@ declare class UserData {
5100
5357
  applyResourcesWithDelta(op: ResourceOperation | null | undefined, delta: InventoryDelta | null | undefined, itemDefs?: ItemDefinitions, now?: Date): void;
5101
5358
  private emitResourceChanges;
5102
5359
  /** Decimal-precise crypto delta (port of PatchCryptoCurrencyDelta). */
5103
- patchCryptoCurrencyDelta(currencyID: string, delta: Decimal | string | number, serverTimeUtc?: string): void;
5360
+ patchCryptoCurrencyDelta(currencyID: string, delta: Decimal | string | number, serverTimeUtc?: string, frozenDelta?: Decimal | string | number): void;
5104
5361
  applyStore(data: UserStoreState | null): void;
5105
5362
  patchStorePurchase(offerID: string, count: number, serverTimeUtc: string): void;
5106
5363
  applyLootboxPityTriggers(lootboxID: string, triggeredPity: readonly LootboxPityTriggerResponse[] | null | undefined, count: number): void;
@@ -5135,7 +5392,13 @@ declare class UserData {
5135
5392
  getQuestPointsProgress(cycleID: string): UserEventTokenProgress | null;
5136
5393
  applyActiveEvents(data: GetActiveEventsResponse | null): void;
5137
5394
  applyUserLteState(data: UserTimedEventStateResponse | null): void;
5138
- patchTimedEventMilestoneClaimed(type: ScheduleMode, lteID: string, milestoneID: string): void;
5395
+ /**
5396
+ * Marks a milestone claimed. `tokenEntityID` (the server's `TokenEntityID` of the claim) names the ONE
5397
+ * instance bucket it was claimed in ("MainChain:2:1"): one base event can have several instances at once
5398
+ * (the active phase plus ones in their grace window), and marking every instance of the base would show a
5399
+ * milestone as taken in a phase where it was not. Without it — an older server — every instance is marked.
5400
+ */
5401
+ patchTimedEventMilestoneClaimed(type: ScheduleMode, lteID: string, milestoneID: string, tokenEntityID?: string | null): void;
5139
5402
  private patchActiveEventMilestoneClaimed;
5140
5403
  private markMilestoneClaimed;
5141
5404
  patchLeaderboardMyProgress(cycleDocID: string, data: GetMyProgressResponse): void;
@@ -5149,6 +5412,12 @@ declare class UserData {
5149
5412
  patchSeasonClaimedTier(chainID: string, tierNumber: number): void;
5150
5413
  private ensureSeasonState;
5151
5414
  applyPremium(data: UserPremiumState | null): void;
5415
+ /**
5416
+ * An upgrade changes the level of an instance that may be WORN. The character keeps a copy of that level
5417
+ * on the equipped slot (`EquippedItem.Level`, kept in step by the server on every upgrade), so the copy in
5418
+ * the cache is refreshed too — otherwise a hero screen would show the old level next to the new inventory.
5419
+ */
5420
+ patchEquippedItemLevel(itemInstanceID: string, level: number): void;
5152
5421
  applyCharacter(characters: Record<string, CharacterModel> | null): void;
5153
5422
  patchCharacter(characterID: string, patch: (character: CharacterModel) => void): void;
5154
5423
  patchCharacterEquipment(characterID: string, slotID: string, item: EquippedItem | null): void;
@@ -5198,6 +5467,12 @@ declare class UserData {
5198
5467
  clearBoardPending(): void;
5199
5468
  private ensureBoard;
5200
5469
  applyBlockchainState(state: UserBlockchainState | null, cryptoBalances?: Record<string, UserCryptoCurrencyState> | null): void;
5470
+ /**
5471
+ * Applies what ONE blockchain call changed, as the server reports it (`StateDelta`): the signed crypto-balance
5472
+ * deltas and the pending withdrawals it added or removed. The delta is empty (`null`) on an idempotent replay —
5473
+ * the first answer already carried it — so nothing is applied twice.
5474
+ */
5475
+ applyBlockchainStateDelta(delta: BlockchainStateDelta | null | undefined): void;
5201
5476
  applyMarketplaceState(state: UserMarketplaceState | null): void;
5202
5477
  getVirtualCurrencyAmount(currencyID: string): number;
5203
5478
  getCryptoCurrencyAmount(currencyID: string): string;
@@ -5252,32 +5527,6 @@ declare class AuthStore {
5252
5527
  clear(): void;
5253
5528
  }
5254
5529
 
5255
- type OperationFailureReason =
5256
- /** Local argument validation failed before any network call (mirrors C# `Fail`). */
5257
- "client"
5258
- /** The response body did not match its zod schema (contract drift). */
5259
- | "validation"
5260
- /** Transient transport failure that survived auto-retries (offer a "Retry"). */
5261
- | "connection"
5262
- /** Session ticket rejected (HTTP 401) and could not be refreshed. */
5263
- | "unauthorized"
5264
- /** Client-side throttle / duplicate in-flight guard rejected the call. */
5265
- | "throttled"
5266
- /** The server returned `Success=false` or a non-transient HTTP error. */
5267
- | "server";
5268
- interface OperationSuccess<T> {
5269
- readonly ok: true;
5270
- readonly data: T;
5271
- }
5272
- interface OperationFailure {
5273
- readonly ok: false;
5274
- readonly reason: OperationFailureReason;
5275
- readonly error: string;
5276
- }
5277
- type OperationResult<T> = OperationSuccess<T> | OperationFailure;
5278
- declare function isOk<T>(result: OperationResult<T>): result is OperationSuccess<T>;
5279
- declare function isFail<T>(result: OperationResult<T>): result is OperationFailure;
5280
-
5281
5530
  interface AuthContext {
5282
5531
  userID: string;
5283
5532
  clientSessionTicket: string;
@@ -5712,10 +5961,13 @@ declare const IapProductType: {
5712
5961
  };
5713
5962
  type IapProductType = (typeof IapProductType)[keyof typeof IapProductType];
5714
5963
  type IapProductRules = { StartUtc?: null | string; EndUtc?: null | string; Gate?: null | SegmentGate; Limits?: null | LimitSpec; [key: string]: unknown; };
5715
- type IapProductDefinition = { ProductID?: null | string; Name?: null | string; Type?: null | 'Subscription' | 'Consumable' | 'NonConsumable'; Enabled?: null | boolean; StoreProductIDs?: null | Record<string, string>; Rewards?: null | ResourceGrant; PriceUsdCents?: null | number; TelegramStarsPrice?: null | number; Rules?: null | IapProductRules; Refund?: null | { ResourceAction?: null | string; RevokeEntitlement?: null | boolean; BlockFuturePurchases?: null | boolean; [key: string]: unknown; }; AssetPaths?: null | Record<string, string>; CustomParams?: null | Record<string, string>; [key: string]: unknown; };
5716
- type PurchaseDefinitions = { Enabled?: null | boolean; Products?: null | Record<string, IapProductDefinition>; [key: string]: unknown; };
5717
- type IapProductPurchaseState = { ProductID?: null | string; TotalPurchases?: null | number; DailyPurchases?: null | number; DailyResetUtc?: null | string; LastPurchasedAt?: null | string; Owned?: null | boolean; Refunded?: null | boolean; PurchaseBlocked?: null | boolean; [key: string]: unknown; };
5718
- type UserPurchaseState = { Products?: null | Record<string, IapProductPurchaseState>; LifetimeSpendUsdCents?: null | number; [key: string]: unknown; };
5964
+ type IapProductDefinition = { ProductID?: null | string; Name?: null | string; Type?: null | 'Subscription' | 'Consumable' | 'NonConsumable'; Enabled?: null | boolean; StoreProductIDs?: null | Record<string, string>; Rewards?: null | ResourceGrant; PriceUsdCents?: null | number; TelegramStarsPrice?: null | number; Rules?: null | IapProductRules; Refund?: null | { ResourceAction?: null | string; RevokeEntitlement?: null | boolean; BlockFuturePurchases?: null | boolean; [key: string]: unknown; }; AssetPaths?: null | Record<string, string>; CustomParams?: null | Record<string, string>; Subscription?: null | { PremiumID?: null | string; RenewalRewards?: null | ResourceGrant; FallbackDurationDays?: null | number; RevokeOnRefund?: null | boolean; [key: string]: unknown; }; Presets?: null | { Rewards?: null | PresetBinding; Rules?: null | PresetBinding; Refund?: null | PresetBinding; [key: string]: unknown; }; [key: string]: unknown; };
5965
+ type PurchaseDefinitions = { Enabled?: null | boolean; Products?: null | Record<string, IapProductDefinition>; Stores?: null | Record<string, { StoreID?: null | string; Enabled?: null | boolean; PackageName?: null | string; VerificationMode?: null | string; PlayPublicKey?: null | string; RequireCertificateChain?: null | boolean; SecretName?: null | string; IssuerID?: null | string; KeyID?: null | string; AcknowledgePurchases?: null | boolean; NotificationPackageName?: null | string; [key: string]: unknown; }>; Presets?: null | { Rewards?: null | Record<string, { Rewards?: null | ResourceGrant; [key: string]: unknown; }>; Rules?: null | Record<string, { Rules?: null | IapProductRules; [key: string]: unknown; }>; Refund?: null | Record<string, { Refund?: null | { ResourceAction?: null | string; RevokeEntitlement?: null | boolean; BlockFuturePurchases?: null | boolean; [key: string]: unknown; }; [key: string]: unknown; }>; [key: string]: unknown; }; Validation?: null | { MaxPurchaseAgeDays?: null | number; AllowSandbox?: null | boolean; RequirePackageMatch?: null | boolean; MaxReceiptsPerBatch?: null | number; RefundCheckHorizonDays?: null | number; RejectCrossUserReceipts?: null | boolean; [key: string]: unknown; }; Refund?: null | { ResourceAction?: null | string; RevokeEntitlement?: null | boolean; BlockFuturePurchases?: null | boolean; [key: string]: unknown; }; [key: string]: unknown; };
5966
+ type IapProductPurchaseState = { ProductID?: null | string; TotalPurchases?: null | number; DailyPurchases?: null | number; DailyResetUtc?: null | string; LastPurchasedAt?: null | string; Owned?: null | boolean; Refunded?: null | boolean; PurchaseBlocked?: null | boolean; Store?: null | string; LastTransactionID?: null | string; [key: string]: unknown; };
5967
+ type UserPurchaseState = { Products?: null | Record<string, IapProductPurchaseState>; LifetimeSpendUsdCents?: null | number; Subscriptions?: null | Record<string, { ProductID?: null | string; PremiumID?: null | string; Store?: null | string; OriginalTransactionID?: null | string; LastTransactionID?: null | string; ExpiresAt?: null | string; AutoRenew?: null | boolean; Status?: null | string; RenewalCount?: null | number; LastStoreCheckAt?: null | string; LastStoreCheckError?: null | string; UpdatedAt?: null | string; [key: string]: unknown; }>; LastRefundCheckAt?: null | string; TotalPurchases?: null | number; FirstPurchaseAt?: null | string; LastPurchaseAt?: null | string; [key: string]: unknown; };
5968
+ type IapProductAvailability = { ProductID: string; Available: boolean; Owned: boolean; Blocked: boolean; Reason?: null | string; StoreProductIDs?: null | Record<string, string>; [key: string]: unknown; };
5969
+ type PurchaseDefinitionsResponse = { ServerTimeUtc: string; Purchase?: null | PurchaseDefinitions; Availability?: null | Array<IapProductAvailability>; };
5970
+ type UserPurchaseStateResponse = { ServerTimeUtc: string; Purchase?: null | UserPurchaseState; };
5719
5971
  /** How the server treated the receipt. */
5720
5972
  declare const IapPurchaseStatus: {
5721
5973
  readonly Granted: "Granted";
@@ -5723,7 +5975,7 @@ declare const IapPurchaseStatus: {
5723
5975
  readonly AlreadyProcessed: "AlreadyProcessed";
5724
5976
  };
5725
5977
  type IapPurchaseStatus = (typeof IapPurchaseStatus)[keyof typeof IapPurchaseStatus];
5726
- type PurchaseValidationResponse = { ServerTimeUtc: string; Store?: null | 'GooglePlay' | 'AppleAppStore' | 'TelegramStars'; ProductID?: null | string; TransactionID?: null | string; Status?: null | 'Granted' | 'Restored' | 'AlreadyProcessed'; Granted?: null | boolean; Quantity?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; ProductState?: null | IapProductPurchaseState; [key: string]: unknown; };
5978
+ type PurchaseValidationResponse = { ServerTimeUtc: string; Store?: null | 'GooglePlay' | 'AppleAppStore' | 'TelegramStars'; ProductID?: null | string; TransactionID?: null | string; Status?: null | 'Granted' | 'Restored' | 'AlreadyProcessed'; Granted?: null | boolean; Quantity?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; ProductState?: null | IapProductPurchaseState; Premium?: null | UserPremiumState; Subscription?: null | { PremiumID?: null | string; PurchaseDate?: null | string; ExpirationDate?: null | string; TransactionID?: null | string; IsAutoRenewEnabled?: null | boolean; [key: string]: unknown; }; SubscriptionMirror?: null | { ProductID?: null | string; PremiumID?: null | string; Store?: null | string; OriginalTransactionID?: null | string; LastTransactionID?: null | string; ExpiresAt?: null | string; AutoRenew?: null | boolean; Status?: null | string; RenewalCount?: null | number; LastStoreCheckAt?: null | string; LastStoreCheckError?: null | string; UpdatedAt?: null | string; [key: string]: unknown; }; [key: string]: unknown; };
5727
5979
  type TelegramInvoiceResponse = { ServerTimeUtc: string; InvoiceLink: string; ProductID?: null | string; Stars?: null | number; ExpiresAt?: null | string; [key: string]: unknown; };
5728
5980
  type PurchaseValidationBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | PurchaseValidationResponse; }>; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
5729
5981
  interface PurchaseReceiptRef {
@@ -5779,7 +6031,7 @@ declare class PurchaseService {
5779
6031
  private readonly ctx;
5780
6032
  constructor(ctx: ClientContext);
5781
6033
  /** Product catalog with per-player availability. */
5782
- getDefinitions(): Promise<OperationResult<PurchaseDefinitions>>;
6034
+ getDefinitions(): Promise<OperationResult<PurchaseDefinitionsResponse>>;
5783
6035
  /** Player's IAP state: per-product counters, ownership, lifetime spend. */
5784
6036
  getUserState(): Promise<OperationResult<UserPurchaseState>>;
5785
6037
  /**
@@ -5984,6 +6236,8 @@ declare class TutorialService {
5984
6236
  resetFlow(flowID: string): Promise<OperationResult<TutorialFlowResponse>>;
5985
6237
  private flowCall;
5986
6238
  private stepCall;
6239
+ /** Могла ли эта операция выдать награду: потоковая AutoClaim (RewardClaimed сменился) или шаговая (Effects.Grant). */
6240
+ private mayHavePaid;
5987
6241
  /**
5988
6242
  * Fold the returned flow view into the cached player state. The view is authoritative for the
5989
6243
  * fields it carries, so the game can read `client.data.user.state.Tutorial` right after the
@@ -6235,7 +6489,7 @@ interface PushSubscribeOptions {
6235
6489
  * - It never computes a subscription's id. That is `sha256(endpoint)` and trivial to reproduce,
6236
6490
  * but it addresses a shared database that already has two implementations guarded by golden
6237
6491
  * vectors. A third one, in another language and without those vectors, drifts silently.
6238
- * - It never ships a service worker. `templates/host-starter/public/sw.js` is a starting point
6492
+ * - It never ships a service worker. `templates/base/public/sw.js` is a starting point
6239
6493
  * you own; the only hard requirement is that it must have NO `fetch` handler (see that file).
6240
6494
  * - It never asks again after `blocked`. There is nothing to ask.
6241
6495
  */
@@ -6470,7 +6724,11 @@ declare class LeaderboardService {
6470
6724
  submitScore(leaderboardID: string, score: number): Promise<OperationResult<SubmitScoreResponse>>;
6471
6725
  submitScoreFromSource(leaderboardID: string, sourceType: string, outcome?: string, params?: Record<string, string>, rollMultiplier?: number): Promise<OperationResult<SubmitScoreResponse>>;
6472
6726
  claimCycleReward(leaderboardID: string): Promise<OperationResult<ClaimCycleRewardResponse>>;
6473
- claimMilestone(leaderboardID: string, milestoneID: string): Promise<OperationResult<ClaimLeaderboardMilestoneResponse>>;
6727
+ /**
6728
+ * Claims a milestone. `cycleKey` claims it in a PAST cycle's grace window instead of the current
6729
+ * cycle — take it from `GetMyProgressResponse.ClaimableGraceCycles[].CycleKey`.
6730
+ */
6731
+ claimMilestone(leaderboardID: string, milestoneID: string, cycleKey?: string): Promise<OperationResult<ClaimLeaderboardMilestoneResponse>>;
6474
6732
  getFriendsLeaderboard(leaderboardID: string): Promise<OperationResult<GetLeaderboardResponse>>;
6475
6733
  /** Fetch several leaderboards' top lists in one call. */
6476
6734
  getLeaderboardsBatch(leaderboardIDs: string[]): Promise<OperationResult<GetLeaderboardsBatchResponse>>;
@@ -6517,6 +6775,11 @@ declare class PremiumService {
6517
6775
  getUserState(): Promise<OperationResult<PremiumStateResponse>>;
6518
6776
  activateTrial(premiumID: string, transactionID: string): Promise<OperationResult<PremiumPurchaseResponse>>;
6519
6777
  purchaseItemOrCurrency(premiumID: string, transactionID: string, selectedOptionID?: string, count?: number): Promise<OperationResult<PremiumPurchaseResponse>>;
6778
+ /**
6779
+ * @deprecated The engine does not route `Premium/PurchaseRealMoney` (its enum still lists the name), so
6780
+ * this call always comes back "Action not implemented". A real-money premium goes through the store
6781
+ * product bound to it (`IapProductDefinition.Subscription`) and `client.purchase.validatePurchase`.
6782
+ */
6520
6783
  purchaseRealMoney(premiumID: string, transactionID: string, store: StoreType, productID: string, receiptData: string, purchaseToken?: string, packageName?: string, appStoreEnvironment?: string): Promise<OperationResult<PremiumPurchaseResponse>>;
6521
6784
  private baseRequest;
6522
6785
  }
@@ -6677,6 +6940,16 @@ interface AIGenerateOptions {
6677
6940
  * receipt and a NEW `relatedEntityID` — the retry is free for the player.
6678
6941
  */
6679
6942
  payment?: PaymentProof;
6943
+ /**
6944
+ * Values for the feature's prompt-template variables (`AIPublicFeature.PromptVariables`): name →
6945
+ * value. Absent variables fall back to the feature's defaults; a server hook may override them.
6946
+ */
6947
+ variables?: Record<string, string>;
6948
+ /**
6949
+ * Free-form context stored with the generation and handed to the feature's CloudCode handlers on
6950
+ * completion or failure, e.g. `{ npcId: "guard_3" }`. At most 8 KB; keys must not contain `.` or `$`.
6951
+ */
6952
+ context?: Record<string, unknown>;
6680
6953
  }
6681
6954
  /** Options of {@link AIService.waitForGeneration}. */
6682
6955
  interface AIWaitOptions {
@@ -6720,11 +6993,18 @@ interface AIWaitOptions {
6720
6993
  * history reads never touch the cache — an old generation's charge is already in the balances.
6721
6994
  * A generation with `PlayerRefunded` is never applied; if this session applied its Charge
6722
6995
  * earlier (an async job is charged at submit), the service re-reads the inventory.
6996
+ *
6997
+ * 5. **A feature's fixed `Reward` is granted by the server when the job completes**, so it shows
6998
+ * up on a poll. The service does not add it to the cache itself (a poll of an old generation
6999
+ * would count it twice): the first time it sees a completed generation's `Reward` it re-reads
7000
+ * the inventory, once per generation.
6723
7001
  */
6724
7002
  declare class AIService {
6725
7003
  private readonly ctx;
6726
7004
  /** Generations whose `Charge` is already in the cache — a replay must not deduct it again. */
6727
7005
  private readonly charged;
7006
+ /** Generations whose fixed `Reward` this session already re-read the inventory for. */
7007
+ private readonly rewarded;
6728
7008
  constructor(ctx: ClientContext);
6729
7009
  /** The title's AI features (sanitized: no model, no prompts). Cached as config section `"AI"`. */
6730
7010
  getDefinitions(): Promise<OperationResult<AIPublicDefinitions>>;
@@ -6959,6 +7239,7 @@ declare class SocialService {
6959
7239
  Comments?: number | null | undefined;
6960
7240
  Replies?: number | null | undefined;
6961
7241
  Posts?: number | null | undefined;
7242
+ Dislikes?: number | null | undefined;
6962
7243
  } | null | undefined;
6963
7244
  Liked?: boolean | null | undefined;
6964
7245
  Favorited?: boolean | null | undefined;
@@ -6979,6 +7260,7 @@ declare class SocialService {
6979
7260
  Comments?: number | null | undefined;
6980
7261
  Replies?: number | null | undefined;
6981
7262
  Posts?: number | null | undefined;
7263
+ Dislikes?: number | null | undefined;
6982
7264
  } | null | undefined;
6983
7265
  Liked?: boolean | null | undefined;
6984
7266
  Favorited?: boolean | null | undefined;
@@ -6999,6 +7281,7 @@ declare class SocialService {
6999
7281
  Comments?: number | null | undefined;
7000
7282
  Replies?: number | null | undefined;
7001
7283
  Posts?: number | null | undefined;
7284
+ Dislikes?: number | null | undefined;
7002
7285
  } | null | undefined;
7003
7286
  Liked?: boolean | null | undefined;
7004
7287
  Favorited?: boolean | null | undefined;
@@ -7018,6 +7301,7 @@ declare class SocialService {
7018
7301
  Comments?: number | null | undefined;
7019
7302
  Replies?: number | null | undefined;
7020
7303
  Posts?: number | null | undefined;
7304
+ Dislikes?: number | null | undefined;
7021
7305
  } | null | undefined;
7022
7306
  Liked?: boolean | null | undefined;
7023
7307
  Favorited?: boolean | null | undefined;
@@ -7106,6 +7390,7 @@ declare class SocialService {
7106
7390
  Comments?: number | null | undefined;
7107
7391
  Replies?: number | null | undefined;
7108
7392
  Posts?: number | null | undefined;
7393
+ Dislikes?: number | null | undefined;
7109
7394
  } | null | undefined;
7110
7395
  Liked?: boolean | null | undefined;
7111
7396
  Favorited?: boolean | null | undefined;
@@ -7125,6 +7410,7 @@ declare class SocialService {
7125
7410
  Comments?: number | null | undefined;
7126
7411
  Replies?: number | null | undefined;
7127
7412
  Posts?: number | null | undefined;
7413
+ Dislikes?: number | null | undefined;
7128
7414
  } | null | undefined;
7129
7415
  Liked?: boolean | null | undefined;
7130
7416
  Favorited?: boolean | null | undefined;
@@ -7144,6 +7430,7 @@ declare class SocialService {
7144
7430
  Comments?: number | null | undefined;
7145
7431
  Replies?: number | null | undefined;
7146
7432
  Posts?: number | null | undefined;
7433
+ Dislikes?: number | null | undefined;
7147
7434
  } | null | undefined;
7148
7435
  Liked?: boolean | null | undefined;
7149
7436
  Favorited?: boolean | null | undefined;
@@ -7163,6 +7450,7 @@ declare class SocialService {
7163
7450
  Comments?: number | null | undefined;
7164
7451
  Replies?: number | null | undefined;
7165
7452
  Posts?: number | null | undefined;
7453
+ Dislikes?: number | null | undefined;
7166
7454
  } | null | undefined;
7167
7455
  Liked?: boolean | null | undefined;
7168
7456
  Favorited?: boolean | null | undefined;
@@ -7381,8 +7669,9 @@ declare class MarketplaceService {
7381
7669
  getOffersByItem(itemID: string, offerTypeFilter?: MarketOfferType, continuationToken?: string, pageSize?: number): Promise<OperationResult<MarketplaceBrowseResponse>>;
7382
7670
  getOffer(offerID: string): Promise<OperationResult<MarketplaceOfferResponse>>;
7383
7671
  getBuyOrders(itemID?: string, continuationToken?: string, pageSize?: number): Promise<OperationResult<MarketplaceBrowseResponse>>;
7384
- getMyState(): Promise<OperationResult<MarketplaceMyStateResponse>>;
7385
- getHistory(continuationToken?: string, pageSize?: number): Promise<OperationResult<MarketplaceHistoryResponse>>;
7672
+ /** `bidsFilter` narrows `MyBids`: `Live` — auctions still running, `Finished` — the outcome of taking part. */
7673
+ getMyState(bidsFilter?: MarketplaceMyBidsFilter): Promise<OperationResult<MarketplaceMyStateResponse>>;
7674
+ getHistory(continuationToken?: string, pageSize?: number, historyFilter?: MarketplaceHistoryFilter): Promise<OperationResult<MarketplaceHistoryResponse>>;
7386
7675
  createListing(itemID: string, catalogID: string, goodsAmount: number, priceBundle: ResourceBundle, durationHours: number, itemInstanceIDs?: string[], selectedOptionID?: string): Promise<OperationResult<MarketplaceCreateOfferResponse>>;
7387
7676
  cancelListing(offerID: string): Promise<OperationResult<MarketplaceSettlementResponse>>;
7388
7677
  buy(offerID: string): Promise<OperationResult<MarketplaceSettlementResponse>>;
@@ -7454,6 +7743,8 @@ declare class MultiplayerService {
7454
7743
  maxPlayers?: number;
7455
7744
  visibility?: RoomVisibility;
7456
7745
  joinCode?: string;
7746
+ /** The room's game (a client mode id) — returned in the list and the snapshot. */
7747
+ mode?: string;
7457
7748
  }): Promise<OperationResult<RoomSnapshotResponse>>;
7458
7749
  joinRoom(roomID: string, joinCode?: string): Promise<OperationResult<RoomSnapshotResponse>>;
7459
7750
  /**
@@ -8367,8 +8658,8 @@ declare class PurchaseApi {
8367
8658
  private readonly ctx;
8368
8659
  constructor(ctx: ClientContext);
8369
8660
  private send;
8370
- getDefinitions(request: PurchaseRequest): Promise<OperationResult<PurchaseDefinitions>>;
8371
- getUserState(request: PurchaseRequest): Promise<OperationResult<UserPurchaseState>>;
8661
+ getDefinitions(request: PurchaseRequest): Promise<OperationResult<PurchaseDefinitionsResponse>>;
8662
+ getUserState(request: PurchaseRequest): Promise<OperationResult<UserPurchaseStateResponse>>;
8372
8663
  validatePurchase(request: PurchaseRequest): Promise<OperationResult<PurchaseValidationResponse>>;
8373
8664
  validatePurchasesBatch(request: PurchaseRequest): Promise<OperationResult<PurchaseValidationBatchResponse>>;
8374
8665
  createTelegramInvoice(request: PurchaseRequest): Promise<OperationResult<TelegramInvoiceResponse>>;
@@ -8700,6 +8991,24 @@ declare class ReferralApi {
8700
8991
  claimInviteRewardsBatch(request: ReferralRequest): Promise<OperationResult<ClaimInviteRewardsBatchResponse>>;
8701
8992
  }
8702
8993
 
8994
+ /** Thin transport wrapper for the Mailbox module (v2/{titleID}/Client/Mailbox/{action}/{userID}). */
8995
+ declare class MailboxApi {
8996
+ private readonly ctx;
8997
+ constructor(ctx: ClientContext);
8998
+ private send;
8999
+ getDefinitions(request: MailboxRequest): Promise<OperationResult<MailboxDefinitions>>;
9000
+ getMessages(request: MailboxRequest): Promise<OperationResult<GetMailboxMessagesResponse>>;
9001
+ getUnreadCount(request: MailboxRequest): Promise<OperationResult<MailboxCountersResponse>>;
9002
+ readMessages(request: MailboxRequest): Promise<OperationResult<MailboxOperationResponse>>;
9003
+ claimReward(request: MailboxRequest): Promise<OperationResult<MailboxClaimResponse>>;
9004
+ claimRewardsBatch(request: MailboxRequest): Promise<OperationResult<MailboxClaimResponse>>;
9005
+ claimAll(request: MailboxRequest): Promise<OperationResult<MailboxClaimResponse>>;
9006
+ deleteMessages(request: MailboxRequest): Promise<OperationResult<MailboxOperationResponse>>;
9007
+ sendGift(request: MailboxRequest): Promise<OperationResult<MailboxSendGiftResponse>>;
9008
+ sendTransfer(request: MailboxRequest): Promise<OperationResult<MailboxSendTransferResponse>>;
9009
+ getGiftStatus(request: MailboxRequest): Promise<OperationResult<MailboxGiftStatusResponse>>;
9010
+ }
9011
+
8703
9012
  /** Thin transport wrapper for the Social feature (port of Social.cs + Social.Layer.cs). */
8704
9013
  declare class SocialApi {
8705
9014
  private readonly ctx;
@@ -9009,6 +9318,7 @@ declare class SocialApi {
9009
9318
  Comments?: number | null | undefined;
9010
9319
  Replies?: number | null | undefined;
9011
9320
  Posts?: number | null | undefined;
9321
+ Dislikes?: number | null | undefined;
9012
9322
  } | null | undefined;
9013
9323
  Liked?: boolean | null | undefined;
9014
9324
  Favorited?: boolean | null | undefined;
@@ -9028,6 +9338,7 @@ declare class SocialApi {
9028
9338
  Comments?: number | null | undefined;
9029
9339
  Replies?: number | null | undefined;
9030
9340
  Posts?: number | null | undefined;
9341
+ Dislikes?: number | null | undefined;
9031
9342
  } | null | undefined;
9032
9343
  Liked?: boolean | null | undefined;
9033
9344
  Favorited?: boolean | null | undefined;
@@ -9091,6 +9402,7 @@ declare class SocialApi {
9091
9402
  Comments?: number | null | undefined;
9092
9403
  Replies?: number | null | undefined;
9093
9404
  Posts?: number | null | undefined;
9405
+ Dislikes?: number | null | undefined;
9094
9406
  } | null | undefined;
9095
9407
  Liked?: boolean | null | undefined;
9096
9408
  Favorited?: boolean | null | undefined;
@@ -9110,6 +9422,7 @@ declare class SocialApi {
9110
9422
  Comments?: number | null | undefined;
9111
9423
  Replies?: number | null | undefined;
9112
9424
  Posts?: number | null | undefined;
9425
+ Dislikes?: number | null | undefined;
9113
9426
  } | null | undefined;
9114
9427
  Liked?: boolean | null | undefined;
9115
9428
  Favorited?: boolean | null | undefined;
@@ -9151,6 +9464,7 @@ declare class SocialApi {
9151
9464
  Comments?: number | null | undefined;
9152
9465
  Replies?: number | null | undefined;
9153
9466
  Posts?: number | null | undefined;
9467
+ Dislikes?: number | null | undefined;
9154
9468
  } | null | undefined;
9155
9469
  Liked?: boolean | null | undefined;
9156
9470
  Favorited?: boolean | null | undefined;
@@ -9170,6 +9484,7 @@ declare class SocialApi {
9170
9484
  Comments?: number | null | undefined;
9171
9485
  Replies?: number | null | undefined;
9172
9486
  Posts?: number | null | undefined;
9487
+ Dislikes?: number | null | undefined;
9173
9488
  } | null | undefined;
9174
9489
  Liked?: boolean | null | undefined;
9175
9490
  Favorited?: boolean | null | undefined;
@@ -9204,6 +9519,7 @@ declare class SocialApi {
9204
9519
  Comments?: number | null | undefined;
9205
9520
  Replies?: number | null | undefined;
9206
9521
  Posts?: number | null | undefined;
9522
+ Dislikes?: number | null | undefined;
9207
9523
  } | null | undefined;
9208
9524
  Liked?: boolean | null | undefined;
9209
9525
  Favorited?: boolean | null | undefined;
@@ -9725,6 +10041,7 @@ declare class WorkshopApi {
9725
10041
  [x: string]: unknown;
9726
10042
  AutoHideReportThreshold?: number | null | undefined;
9727
10043
  RequireApproval?: boolean | null | undefined;
10044
+ BlockedTerms?: string[] | null | undefined;
9728
10045
  } | null | undefined;
9729
10046
  Limits?: {
9730
10047
  [x: string]: unknown;
@@ -10969,7 +11286,7 @@ declare class WorkshopApi {
10969
11286
  ContentID?: string | null | undefined;
10970
11287
  ContentType?: string | null | undefined;
10971
11288
  Revision?: number | null | undefined;
10972
- AccessVia?: "Creator" | "Free" | "Holding" | "License" | null | undefined;
11289
+ AccessVia?: "Free" | "Holding" | "Creator" | "License" | null | undefined;
10973
11290
  Files?: {
10974
11291
  [x: string]: unknown;
10975
11292
  Role?: string | null | undefined;
@@ -11424,6 +11741,20 @@ declare class DataCollectionsApi {
11424
11741
  PublishItems?: boolean | undefined;
11425
11742
  }[] | null | undefined;
11426
11743
  AnonymousSearch?: boolean | null | undefined;
11744
+ Integrations?: {
11745
+ QuestMetricOnCreate?: string | null | undefined;
11746
+ QuestMetricOnUpdate?: string | null | undefined;
11747
+ QuestMetricOnDelete?: string | null | undefined;
11748
+ AnalyticsEventOnCreate?: string | null | undefined;
11749
+ AnalyticsEventOnUpdate?: string | null | undefined;
11750
+ AnalyticsEventOnDelete?: string | null | undefined;
11751
+ TriggerOnCreate?: string | null | undefined;
11752
+ TriggerOnUpdate?: string | null | undefined;
11753
+ TriggerOnDelete?: string | null | undefined;
11754
+ } | null | undefined;
11755
+ Moderation?: {
11756
+ BlockedTerms?: string[] | null | undefined;
11757
+ } | null | undefined;
11427
11758
  }>;
11428
11759
  Enabled?: boolean | undefined;
11429
11760
  }>>;
@@ -11960,6 +12291,7 @@ declare class ClientContext {
11960
12291
  coopEvent: CoopEventApi;
11961
12292
  dealOffer: DealOfferApi;
11962
12293
  referral: ReferralApi;
12294
+ mailbox: MailboxApi;
11963
12295
  social: SocialApi;
11964
12296
  timedBoost: TimedBoostApi;
11965
12297
  userCustomData: UserCustomDataApi;
@@ -12002,6 +12334,7 @@ declare class ClientContext {
12002
12334
  readonly coopEvent: CoopEventService;
12003
12335
  readonly dealOffer: DealOfferService;
12004
12336
  readonly referral: ReferralService;
12337
+ readonly mailbox: MailboxService;
12005
12338
  readonly social: SocialService;
12006
12339
  readonly timedBoost: TimedBoostService;
12007
12340
  readonly userCustomData: UserCustomDataService;
@@ -12023,4 +12356,228 @@ declare class ClientContext {
12023
12356
  buildAuthedBaseRequest(): BaseRequest;
12024
12357
  }
12025
12358
 
12026
- export { type Unsubscribe as $, AuthenticationService as A, UserCustomDataService as B, CurrencyService as C, DealOfferService as D, ExperimentsService as E, TitleCustomDataService as F, TitleService as G, GameLoopService as H, type IceServer as I, CloudCodeService as J, type KickMemberResponse as K, LootboxService as L, MultiplayerService as M, BlockchainService as N, type OperationResult as O, PurchaseService as P, QuestService as Q, RoomVisibility as R, StoreService as S, TutorialService as T, UserService as U, MarketplaceService as V, WorkshopService as W, DataCollectionsService as X, IDosGamesData as Y, type SdkEvents as Z, type Listener as _, MultiplayerTopology as a, type BattleStepConfig as a$, type ConfigStorage as a0, AIAction as a1, type AIAudioInput as a2, type AIChatMessage as a3, AIErrorCode as a4, type AIGenerateOptions as a5, type AIGenerationAssetView as a6, type AIGenerationErrorView as a7, type AIGenerationListView as a8, AIGenerationStatus as a9, type AnalyticsClientContext as aA, type AnalyticsDefinitions as aB, type AnalyticsDimensionDefinition as aC, AnalyticsDropReason as aD, type AnalyticsEventDefinition as aE, type AnalyticsEventInput as aF, AnalyticsEventNaming as aG, AnalyticsLimits as aH, type AnalyticsParamValue as aI, type AnalyticsParams as aJ, type AnalyticsRequest as aK, AttackOutcome as aL, type AttackResponse as aM, type AttributionInput as aN, type AuthContext as aO, type AuthOptionsResponse as aP, AuthType as aQ, AuthenticationAction as aR, type AuthenticationRequest as aS, AutomaticEvent as aT, type BaseRequest as aU, type BatchDeleteUserCustomDataResponse as aV, type BatchGetPublicUserCustomDataResponse as aW, type BatchItemResult as aX, type BatchResponse as aY, type BatchSetUserCustomDataResponse as aZ, type BattleResult as a_, type AIGenerationView as aa, type AIHistoryQuery as ab, type AIImageEditInput as ac, type AIImageInput as ad, type AIInputImage as ae, AIModality as af, type AIMusicInput as ag, type AIPublicDefinitions as ah, type AIPublicFeature as ai, type AIRequest as aj, type AITextInput as ak, type AIThreeDInput as al, type AIVideoInput as am, type AIWaitOptions as an, type AcceptTradeOfferResponse as ao, AcquisitionCapture as ap, type ActivateReferralCodeResponse as aq, type ActivateTimedBoostResponse as ar, type ActiveBoostWindowInfo as as, type ActiveCoopEventInfo as at, type ActiveDealSlotInfo as au, type ActiveEventInfo as av, type ActiveSeasonInfo as aw, type ActiveTimedBoost as ax, type AddQuestProgressResponse as ay, AnalyticsAction as az, MultiplayerChatMode as b, ChatDirectAudience as b$, type BlockchainAccountSafetyPolicy as b0, BlockchainAction as b1, type BlockchainConfigResponse as b2, type BlockchainDefinitions as b3, type BlockchainNetworkDefinition as b4, BlockchainNetworkType as b5, type BlockchainNftCollectionBinding as b6, BlockchainOperationCategory as b7, type BlockchainPlayAccessPolicy as b8, type BlockchainRequest as b9, type CharacterRequest as bA, type CharacterSkinDefinition as bB, type CharacterSkinItem as bC, type CharacterSkinRequirements as bD, type CharacterSkinSale as bE, type CharacterSkinView as bF, type CharacterSkins as bG, type CharacterSkinsView as bH, type CharacterStatRef as bI, type CharacterUnequipResult as bJ, type CharacterUnlock as bK, ChatAction as bL, ChatAuthorType as bM, ChatBlockedTermAction as bN, type ChatChannelAvailability as bO, type ChatChannelDefinition as bP, type ChatChannelIdentity as bQ, type ChatChannelPresetBindings as bR, type ChatChannelRetention as bS, ChatChannelType as bT, type ChatChannelView as bU, type ChatChannelWriteRules as bV, type ChatChannelsResponse as bW, type ChatConversationView as bX, type ChatConversationsResponse as bY, type ChatCursor as bZ, type ChatDefinitions as b_, type BlockchainStats as ba, type BlockchainSystemState as bb, BlockchainTransactionStatus as bc, BlockchainTransactionType as bd, type BoardLoopDefinition as be, type BoardLoopState as bf, type BoardPendingInteraction as bg, type BoardRollResponse as bh, BodyPart as bi, type BoostTriggerCounter as bj, BoostWindowKind as bk, type BuildResponse as bl, type BuildingState as bm, type CancelMatchResponse as bn, type CancelTradeOfferResponse as bo, type ChangeUsernameResponse as bp, CharacterAction as bq, type CharacterClassification as br, type CharacterDefinition as bs, type CharacterDefinitions as bt, type CharacterEquipment as bu, type CharacterEquipmentSlot as bv, type CharacterIdentity as bw, type CharacterLevelRef as bx, type CharacterModel as by, type CharacterRankLadder as bz, type RoomMemberView as c, CommunityChestMemberStatus as c$, type ChatDirectChannelResponse as c0, type ChatHistoryResponse as c1, type ChatMessageView as c2, type ChatModerationSettings as c3, ChatPartitioning as c4, type ChatPollResponse as c5, type ChatPollingSettings as c6, type ChatPresetRegistry as c7, ChatReportReason as c8, type ChatReportResponse as c9, type ClaimTierRewardResponse as cA, type ClaimTierRewardsBatchResponse as cB, ClientPlatform as cC, type ClientState as cD, CloudCodeAction as cE, CloudCodeErrorCode as cF, type CloudCodeLogEntry as cG, CloudCodeLogLevel as cH, type CloudCodeRequest as cI, CloudCodeRevisionSelection as cJ, type CodeExecutionError as cK, type CollectIdleAccrualResponse as cL, CollectionAction as cM, type CollectionDefinitions as cN, type CollectionGlobalSettings as cO, type CollectionRequest as cP, type CollectionSetRef as cQ, type CollectionTradeOfferDocument as cR, CommissionSink as cS, type CommunityAccrualLine as cT, type CommunityCampaignSummary as cU, type CommunityChestClaimResponse as cV, type CommunityChestGroupDocument as cW, type CommunityChestGroupStateResponse as cX, type CommunityChestHistoryEntry as cY, type CommunityChestLeaveResponse as cZ, type CommunityChestMember as c_, type ChatRequest as ca, type ChatRoomUpdate as cb, type ChatSendResponse as cc, type ChatStateResponse as cd, type ClaimAllRewardsBatchResponse as ce, type ClaimAllRewardsResult as cf, type ClaimComebackRewardResponse as cg, type ClaimCycleRewardResponse as ch, type ClaimCycleRewardsBatchResponse as ci, type ClaimDailyRewardResponse as cj, type ClaimDealMilestoneResponse as ck, type ClaimDealMilestonesBatchResponse as cl, type ClaimGrandPrizeResponse as cm, type ClaimGroupCompletionRewardResponse as cn, type ClaimInviteRewardResponse as co, type ClaimInviteRewardsBatchResponse as cp, type ClaimLeaderboardMilestoneResponse as cq, type ClaimLeaderboardMilestonesBatchResponse as cr, type ClaimMilestoneRewardResponse as cs, type ClaimMilestoneRewardsBatchResponse as ct, type ClaimMilestonesBatchResponse as cu, type ClaimQuestRewardResponse as cv, type ClaimQuestRewardsBatchResponse as cw, type ClaimRewardResponse as cx, type ClaimSetRewardResponse as cy, type ClaimSetRewardsBatchResponse as cz, type RoomSnapshotResponse as d, CurrencyStatus as d$, type CommunityChestSharedState as d0, CommunityChestStatus as d1, type CommunityChestUserStateResponse as d2, type CommunityClaimResponse as d3, CommunityCreatorStatus as d4, type CommunityEarningsLine as d5, type CommunityEarningsResponse as d6, type CommunityEligibilityCondition as d7, type CommunityEligibilityResponse as d8, CommunityMarketingAction as d9, type CoopPartnerObjectState as dA, type CoopSpinResponse as dB, type CoopUserStateResponse as dC, CraftAction as dD, type CraftBurnedInstance as dE, type CraftDefinition as dF, type CraftDefinitions as dG, type CraftDefinitionsResponse as dH, CraftInputSelectionMode as dI, CraftOutputLevelMode as dJ, CraftOutputLevelOverflow as dK, type CraftRequest as dL, type CraftResponse as dM, type CraftSingleResult as dN, CraftType as dO, type CreateMatchResponse as dP, type CryptoConvertResponse as dQ, type CryptoCurrencyDefinition as dR, type CryptoCurrencyPermissions as dS, type CryptoLimits as dT, type CryptoNetworkBinding as dU, type CryptoShortfall as dV, CurrencyAction as dW, type CurrencyAudit as dX, type CurrencyConversion as dY, type CurrencyDefinitions as dZ, type CurrencyRequest as d_, type CommunityMarketingRequest as da, type CommunityMarketingState as db, CommunityMetricKind as dc, CommunityParticipationMode as dd, CommunityPayoutCurrencyKind as de, type CommunityPayoutSummary as df, type CommunitySolanaWithdrawalSignature as dg, type CommunityWithdrawalResponse as dh, type ConfirmWithdrawalResponse as di, type ConversionDailyCounter as dj, ConversionRateMode as dk, type ConversionTarget as dl, type ConvertResponse as dm, type CoopBuildObjectsMemberState as dn, type CoopBuildObjectsState as dp, type CoopClaimRewardResponse as dq, CoopEventAction as dr, type CoopEventDefinitions as ds, type CoopEventRequest as dt, type CoopGroupDocument as du, type CoopGroupMember as dv, type CoopGroupStateResponse as dw, CoopGroupStatus as dx, type CoopLeaveGroupResponse as dy, CoopMemberStatus as dz, type IDosGamesClientConfig as e, type DealOfferDefinitions as e$, CurrencyType as e0, CustomDataBucket as e1, CustomDataValueType as e2, CustomDataWriter as e3, type CyclicSchedule as e4, DEFAULT_BASE_URL as e5, type DailyUsageRecord as e6, DataAccessMode as e7, type DataAccessRule as e8, type DataBatchOperation as e9, type DataPublicViewsResponse as eA, type DataQueryResponse as eB, type DataQuerySpec as eC, type DataReadOptions as eD, type DataRecord as eE, DataRefKind as eF, type DataRefTarget as eG, type DataRolesResponse as eH, type DataSortKeyDefinition as eI, type DataUpdateSpec as eJ, type DataWriteResponse as eK, type DealAvailability as eL, DealComparisonOperator as eM, type DealIdentity as eN, type DealMilestoneBlock as eO, type DealMilestoneProgressInfo as eP, type DealNodeActionDefinition as eQ, type DealNodeDefinition as eR, type DealNodePresetBindings as eS, type DealNodePricing as eT, type DealNodeReward as eU, DealNodeRuntimeStatus as eV, DealNodeType as eW, type DealNodeUnlockRules as eX, DealOfferAction as eY, DealOfferActivationStatus as eZ, type DealOfferDefinition as e_, 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, ItemService as f, type GetActiveTimedBoostsResponse as f$, type DealOfferGraph as f0, type DealOfferPresetBindings as f1, type DealOfferPresetRegistry as f2, type DealOfferRequest as f3, type DealOffersDefinitionResponse as f4, type DealRewardedVideoActionDefinition as f5, type DealSlotBehaviour as f6, type DealSlotDefinition as f7, type DealSlotPresetBindings as f8, type DealSlotQueueEntry as f9, type EventTokenSpendResponse as fA, EventTokenType as fB, type ExecuteCloudCodeResponse as fC, type ExecuteNodeResponse as fD, ExperimentAction as fE, type ExperimentDefinition as fF, type ExperimentDefinitions as fG, type ExperimentGoal as fH, ExperimentGoalKind as fI, type ExperimentRequest as fJ, type ExperimentVariant as fK, type ExperimentVariantCondition as fL, FRIENDS_FROM_PLATFORM as fM, type FodderConsumedEntry as fN, FodderSelectionMode as fO, FodderValuationMode as fP, type FriendActionResponse as fQ, FriendActionStatus as fR, type FriendPublicProfile as fS, FriendSource as fT, type FriendsListResponse as fU, GameLoopAction as fV, type GameLoopDefinitions as fW, type GameLoopRequest as fX, type GetActiveBoostWindowsResponse as fY, type GetActiveDealsResponse as fZ, type GetActiveEventsResponse as f_, 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, EnvelopeType as fl, type EquipItemsResponse as fm, type EquipSkinResponse as fn, type EquipSlotPair as fo, type EquipmentPreset as fp, type EquipmentSlot as fq, type EquippedItem as fr, type EventMap as fs, type EventMilestoneClaimResponse as ft, type EventTokenAddress as fu, type EventTokenConversion as fv, type EventTokenDefinition as fw, type EventTokenGrantResponse as fx, type EventTokenMilestoneData as fy, type EventTokenOperation as fz, CheckoutService as g, type LocalizationLocaleDefinition as g$, type GetCharacterSkinsResponse as g0, type GetCharactersResponse as g1, type GetExperimentsResponse as g2, type GetLeaderboardResponse as g3, type GetLeaderboardsBatchResponse as g4, type GetMatchDefinitionsResponse as g5, type GetMilestoneRewardMultiplierResponse as g6, type GetMyProgressResponse as g7, type GetMyUserCustomDataResponse as g8, type GetOverviewBatchResponse as g9, type ItemCatalog as gA, type ItemDefinition as gB, type ItemDefinitions as gC, type ItemEquipment as gD, type ItemMetadata as gE, type ItemRequest as gF, type ItemStats as gG, type ItemTotals as gH, type ItemUpgrade as gI, type ItemUpgradeFodder as gJ, type ItemUpgradeRef as gK, type JsonValue as gL, KycStatus as gM, KycTier as gN, LeaderboardAction as gO, type LeaderboardDefinitions as gP, type LeaderboardMilestoneRef as gQ, type LeaderboardOverview as gR, type LeaderboardRequest as gS, type LeaderboardScoreRef as gT, type LeaderboardUserEntry as gU, type LeaveRoomResponse as gV, type LevelsPreset as gW, type LimitSpec as gX, type LinkedWalletInfo as gY, LocalizationAction as gZ, type LocalizationDefinitions as g_, type GetProgressBatchResponse as ga, type GetPublicTitleDataResponse as gb, type GetPublicUserCustomDataResponse as gc, type GetStorefrontResponse as gd, type GetTradeOffersResponse as ge, type GetUserQuestStateResponse as gf, type GetUserTutorialStateResponse as gg, type GrantStatusTokensResponse as gh, type GrantTokensBatchResponse as gi, type GrantedCollectible as gj, type HeistCell as gk, type IDosGamesSettings as gl, type IapProductDefinition as gm, type IapProductPurchaseState as gn, type IapProductRules as go, IapProductType as gp, IapPurchaseStatus as gq, type IapStore as gr, IapStore$1 as gs, type InboxBadgeResponse as gt, type InboxResponse as gu, type InstantBattleDefinitions as gv, type InstantBattleResponse as gw, type InstantBattleRule as gx, type InventoryDelta as gy, ItemAction as gz, RewardService as h, type NFTModel as h$, type LocalizationLocaleInfo as h0, type LocalizationManifestResponse as h1, LocalizationMissingKeyMode as h2, type LocalizationParams as h3, type LocalizationRequest as h4, type LocalizationState as h5, type LocalizationTableRef as h6, type LocalizationTableResponse as h7, type LogEventsResponse as h8, LootboxAction as h9, type MarketplaceGetDefinitionsResponse as hA, type MarketplaceGroupedOfferView as hB, type MarketplaceGroupedOffersResponse as hC, type MarketplaceHistoryEntryView as hD, type MarketplaceHistoryResponse as hE, type MarketplaceListingSettings as hF, type MarketplaceMatchingSettings as hG, type MarketplaceMyStateResponse as hH, type MarketplaceOfferResponse as hI, type MarketplaceOfferView as hJ, type MarketplacePlaceBidResponse as hK, type MarketplacePricePolicy as hL, type MarketplaceRequest as hM, type MarketplaceSettlementResponse as hN, type MarketplaceTradabilityPolicy as hO, MatchAction as hP, type MatchDefinitions as hQ, type MatchRequest as hR, MatchStatus as hS, type MatchesPageResponse as hT, type MilestoneClaimEntry as hU, type MilestoneClaimRef as hV, type MilestoneDefinition as hW, MultiplayerAction as hX, type MultiplayerDefinitions as hY, type MultiplayerRequest as hZ, type MultiplayerSystemState as h_, type LootboxAmountRange as ha, type LootboxDefinitions as hb, type LootboxDefinitionsResponse as hc, type LootboxGlobalSettings as hd, type LootboxOpenResponse as he, type LootboxPityRule as hf, type LootboxPityTriggerResponse as hg, type LootboxRequest as hh, type LootboxRewardRoll as hi, type LootboxRewardSlot as hj, type LootboxSupplyRule as hk, MarketGoodsType as hl, MarketOfferStatus as hm, MarketOfferType as hn, MarketplaceAction as ho, type MarketplaceActionCounter as hp, type MarketplaceAuctionSettings as hq, type MarketplaceAuctionState as hr, type MarketplaceBidRefund as hs, type MarketplaceBrowseResponse as ht, type MarketplaceBuyOrderSettings as hu, type MarketplaceCommissionOverride as hv, type MarketplaceCommissionPolicy as hw, type MarketplaceCreateOfferResponse as hx, type MarketplaceDefinitions as hy, type MarketplaceDirectTradeSettings as hz, AnalyticsService as i, type QuestClaimRef as i$, type NFTNetworkBinding as i0, type NFTTransactionDocument as i1, type NFTWithdrawalResponse as i2, type NftCollectionStats as i3, type NftStatsContainer as i4, OFFER_NOT_IN_ROTATION as i5, type OpenCollectionChestResponse as i6, type OpenPackResponse as i7, type OperationFailure as i8, type OperationFailureReason as i9, type PremiumRequest as iA, type PremiumStateResponse as iB, type PremiumSubscription as iC, type PriceOption as iD, type PriceOptions as iE, type PublishResponse as iF, PurchaseAction as iG, type PurchaseBatchResponse as iH, type PurchaseDefinitions as iI, type PurchaseReceiptRef as iJ, type PurchaseRequest as iK, type PurchaseValidationBatchResponse as iL, type PurchaseValidationResponse as iM, PushAction as iN, type PushConfigResponse as iO, PushPermissionState as iP, type PushRequest as iQ, type PushSubscribeOptions as iR, type PushSubscribeResult as iS, type PushSubscriptionListResponse as iT, type PushSubscriptionView as iU, PushTopic as iV, type PushTopicView as iW, PushTransport as iX, type PvPMatch as iY, QuestAction as iZ, type QuestAvailability as i_, type OperationSuccess as ia, type PackOpenResult as ib, type PaymentProof as ic, type PaymentRequirement as id, type PendingWithdrawalRef as ie, type PlatformBlockchainState as ig, type PlatformBridgeDefinitions as ih, PlatformFriendsMode as ii, type PlatformLoginResponse as ij, PlatformProfileMode as ik, type PlayAccessInfoResponse as il, PlayAccessMode as im, type PlayAccessState as io, type PlayAccessStatus as ip, type PlayAccessWallet as iq, type PlayerEconomyTuningState as ir, PlayerExperimentStatus as is, type PlayerExperimentView as it, PlaytimeTracker as iu, type PollResponse as iv, PremiumAction as iw, type PremiumDefinitions as ix, type PremiumDefinitionsResponse as iy, type PremiumPurchaseResponse as iz, CommunityMarketingService as j, type SocialActorSnapshot as j$, type QuestCycleDefinition as j0, type QuestDefinition as j1, type QuestDefinitions as j2, type QuestGroupCompletionDefinition as j3, type QuestIdentity as j4, type QuestLinking as j5, type QuestObjectiveDefinition as j6, QuestObjectiveSource as j7, type QuestPhaseDefinition as j8, type QuestPointsTrackView as j9, type RetryWithdrawalResponse as jA, RewardAction as jB, type RewardDefinitions as jC, type RewardDefinitionsResponse as jD, type RewardRequest as jE, type RollActionData as jF, type RoomListItem as jG, type RoomsPageResponse as jH, SKIN_ALREADY_OWNED as jI, SKIN_SLOT as jJ, type ScheduleChain as jK, type ScheduleChainPhase as jL, ScheduleMode as jM, type ScheduleSpec as jN, type ScheduledWindow as jO, SeasonAction as jP, type SeasonDefinitions as jQ, type SeasonRequest as jR, type SeasonTierRewardBundle as jS, type SeasonTierRewardMultiplier as jT, type SeasonTierRewardSet as jU, type SegmentGate as jV, type SendTradeOfferResponse as jW, type SetUserCustomDataResponse as jX, type SettingsInput as jY, SocialAction as jZ, type SocialActorPage as j_, QuestPrerequisiteMode as ja, type QuestPresetBindings as jb, type QuestPresetRegistry as jc, type QuestProgressUpdate as jd, type QuestRequest as je, type QuestReward as jf, QuestStatus as jg, RaidMode as jh, type RaidResponse as ji, type RealtimeEnvelope as jj, type RechargeConfig as jk, type RecordShowResponse as jl, ReferralAction as jm, type ReferralDefinitions as jn, type ReferralDefinitionsResponse as jo, type ReferralInviteRewardState as jp, type ReferralRequest as jq, type RelativeWindow as jr, type ResourceBundle as js, type ResourceConsume as jt, type ResourceDualPartyResult as ju, type ResourceEntry as jv, ResourceEntryType as jw, type ResourceGrant as jx, type ResourceOperation as jy, type ResourceTransferResult as jz, ChatService as k, TimedBoostAction as k$, type SocialActorView as k0, type SocialCommentDeleteResponse as k1, type SocialCommentPage as k2, type SocialCommentView as k3, SocialContentStatus as k4, type SocialCounters as k5, type SocialCounts as k6, type SocialCursor as k7, type SocialDefinitions as k8, type SocialEntityState as k9, type StoreIdentity as kA, type StoreLayout as kB, type StoreOfferAvailability as kC, type StoreOfferDefinition as kD, type StoreOfferPricing as kE, type StoreOfferReward as kF, type StoreOfferStateView as kG, type StorePurchaseRef as kH, type StorePurchaseResponse as kI, type StorePurchaseState as kJ, type StoreRequest as kK, StoreRotationMode as kL, type StoreRotationPurchaseState as kM, type StoreSectionDefinition as kN, type StoreSlotDefinition as kO, type StoreSlotPoolEntry as kP, type StoreSlotRotation as kQ, StoreType as kR, type StorefrontOfferView as kS, type StorefrontPriceOptionView as kT, type StorefrontSectionView as kU, type StorefrontSlotView as kV, type StorefrontView as kW, type SubmitScoreResponse as kX, type SubmitScoresBatchResponse as kY, type SuccessResponse as kZ, type TelegramInvoiceResponse as k_, type SocialEntityStatesResponse as ka, SocialEntityType as kb, type SocialInboxItem as kc, SocialInboxVerb as kd, SocialReactionKind as ke, type SocialReactionPage as kf, type SocialReactionView as kg, SocialReportReason as kh, type SocialReportResponse as ki, type SocialRequest as kj, type SolanaWithdrawalSignature as kk, type SpecialApplyMultiplierResponse as kl, SpecialChoiceMode as km, type SpecialChooseResponse as kn, type SpecialClaimResponse as ko, type SpecialModeOfferData as kp, type SpecialPendingState as kq, type SpendRewardDefinition as kr, type SpendTokensBatchResponse as ks, type StatDefinition as kt, type StatRequirement as ku, type StatsPreset as kv, StoreAction as kw, type StoreAvailability as kx, type StoreDefinition as ky, type StoreDefinitions as kz, PushService as l, type UnequipAllCharactersResponse as l$, type TimedBoostDefinitions as l0, type TimedBoostRequest as l1, TimedBoostStackingPolicy as l2, TimedEventAction as l3, type TimedEventDefinitions as l4, type TimedEventGrantRef as l5, type TimedEventInstanceRef as l6, type TimedEventMilestoneRef as l7, type TimedEventRequest as l8, type TimedEventSpendRef as l9, type TutorialDefinitions as lA, type TutorialFlowBatchResponse as lB, type TutorialFlowDefinition as lC, type TutorialFlowPolicy as lD, type TutorialFlowResponse as lE, TutorialFlowStatus as lF, type TutorialFlowView as lG, type TutorialGateCondition as lH, TutorialGateMode as lI, type TutorialGlobalSettings as lJ, type TutorialIdentity as lK, type TutorialPresetBindings as lL, type TutorialPresetRegistry as lM, type TutorialRequest as lN, TutorialRestartPolicy as lO, type TutorialReward as lP, TutorialScriptModule as lQ, type TutorialScriptedOutcome as lR, type TutorialStepCompletion as lS, TutorialStepCompletionMode as lT, type TutorialStepDefinition as lU, type TutorialStepEffects as lV, type TutorialStepIdentity as lW, type TutorialStepPolicy as lX, type TutorialStepProgress as lY, TypedEmitter as lZ, type UnbanMemberResponse as l_, TitleAction as la, TitleConfig as lb, TitleCustomDataAction as lc, type TitleCustomDataDefinitions as ld, type TitleCustomDataKeyDefinition as le, type TitleCustomDataRecord as lf, type TitleCustomDataRequest as lg, TitleDataBucket as lh, TitleDataScope as li, type TitlePublicConfigurationModel as lj, type TitleRequest as lk, type TokenCurrencyStats as ll, type TokenStatsContainer as lm, type TokenTransactionDocument as ln, type TokenWithdrawalResponse as lo, TradeOfferStatus as lp, TransactionDirection as lq, type TransactionHistoryResponse as lr, type TriggerContext as ls, type TriggerSource as lt, TutorialAction as lu, type TutorialAvailability as lv, type TutorialBlockingPolicy as lw, TutorialBoardAction as lx, type TutorialBoardScript as ly, type TutorialClaimResponse as lz, LocalizationService as m, type UserMatchCreationLimitState as m$, type UnequipItemsResponse as m0, type UnequipSkinResponse as m1, type UnlockCharacterResponse as m2, type UnlockCharactersBatchResponse as m3, type UnlockSkinResponse as m4, type UnstackableItemInstanceState as m5, type UpdateMatchResponse as m6, type UpgradeCharacterLevelResponse as m7, type UpgradeCharacterLevelsBatchResponse as m8, type UpgradeItemLevelResponse as m9, type UserCustomDataKeyDefinition as mA, type UserCustomDataRecord as mB, type UserCustomDataRequest as mC, type UserCustomDataState as mD, type UserDailyCalendarState as mE, type UserDailyCounters as mF, UserData as mG, type UserDealNodeLifetimeCounts as mH, type UserDealNodeState as mI, type UserDealOfferActivationState as mJ, type UserDealOfferHistory as mK, type UserDealOffersState as mL, type UserDealOffersStateResponse as mM, type UserDealSlotState as mN, type UserDealTrackState as mO, type UserDepositAddress as mP, type UserEventTokenProgress as mQ, type UserEventTokensState as mR, type UserGameLoopsState as mS, type UserIdleAccrualState as mT, type UserInventoryState as mU, type UserKycState as mV, type UserLeaderboardProgress as mW, type UserLeaderboardsState as mX, type UserLootboxPityCounter as mY, type UserLootboxState as mZ, type UserMarketplaceState as m_, type UpgradeLevelsBatchResponse as ma, type UpgradeLevelsOptions as mb, type UpgradeStatLevelResponse as mc, type UpgradeStatLevelsBatchResponse as md, type UsagePeriodRecord as me, type UsageReactivationEvent as mf, type UsageTimeStats as mg, type UseCollectibleJokerResponse as mh, UserAction as mi, type UserBlockchainState as mj, type UserBlockchainStateResponse as mk, type UserCharactersState as ml, type UserChatChannelState as mm, type UserChatLimitState as mn, type UserChatState as mo, type UserClaimRewardState as mp, type UserCollectionState as mq, type UserComebackState as mr, type UserCommunityChestState as ms, type UserCoopEventState as mt, type UserCryptoComplianceCounters as mu, type UserCryptoCurrencyState as mv, UserCustomDataAction as mw, type UserCustomDataBatchDeleteItem as mx, type UserCustomDataBatchSetItem as my, type UserCustomDataDefinitions as mz, TimedEventService as n, type WorkshopDownloadResponse as n$, type UserMatchState as n0, type UserPremiumState as n1, type UserPublicDataModel as n2, type UserPurchaseState as n3, type UserQuestCycleState as n4, type UserQuestObjectiveProgress as n5, type UserQuestProgress as n6, type UserQuestState as n7, type UserReferralState as n8, type UserReferralStateResponse as n9, type WalletPlayTokenGate as nA, type WalletUnlinkResponse as nB, type WithdrawalSignatureResponse as nC, type WithdrawalSplit as nD, WorkshopAccessMode as nE, type WorkshopAccessOption as nF, type WorkshopAccessOptionInput as nG, type WorkshopAccessState as nH, WorkshopAccessVia as nI, type WorkshopAcquireResponse as nJ, WorkshopAction as nK, type WorkshopBeginUploadResponse as nL, type WorkshopBrowseQuery as nM, type WorkshopBrowseResponse as nN, type WorkshopCollection as nO, type WorkshopCollectionResponse as nP, type WorkshopCollectionView as nQ, type WorkshopContentMutationResponse as nR, type WorkshopContentResponse as nS, type WorkshopContentStats as nT, WorkshopContentStatus as nU, type WorkshopContentType as nV, type WorkshopContentView as nW, type WorkshopCreatorProfileResponse as nX, type WorkshopDefinitions as nY, type WorkshopDefinitionsResponse as nZ, type WorkshopDownloadFile as n_, type UserRequest as na, type UserRewardState as nb, type UserRewardsStateResponse as nc, type UserSeasonState as nd, type UserSeasonStateResponse as ne, type UserSeasonsState as nf, type UserSocialState as ng, type UserState as nh, type UserStateSlice as ni, type UserStateVersions as nj, type UserStoreState as nk, type UserTimedBoostsState as nl, type UserTimedEventStateResponse as nm, type UserTutorialFlowState as nn, type UserTutorialState as no, type UserTutorialStepState as np, type UserUsageState as nq, type UserVirtualCurrencyState as nr, type VirtualCurrencyDefinition as ns, type VirtualCurrencyEconomy as nt, type VirtualCurrencyPermissions as nu, type WalletChallengeResponse as nv, WalletGateBalanceSource as nw, type WalletGatedBalance as nx, type WalletLinkResponse as ny, WalletLinkType as nz, LeaderboardService as o, type WorkshopDownloadedFile as o0, type WorkshopFileData as o1, type WorkshopFileDeclaration as o2, type WorkshopFileRole as o3, WorkshopHoldingMatch as o4, WorkshopHoldingMode as o5, type WorkshopHoldingPolicy as o6, type WorkshopHoldingRequirement as o7, type WorkshopHoldingRule as o8, WorkshopLicenseSource as o9, type WorkshopLicenseView as oa, type WorkshopLicensesResponse as ob, type WorkshopLimits as oc, type WorkshopModerationSettings as od, type WorkshopPublishFile as oe, type WorkshopPublishInput as of, type WorkshopPublishResponse as og, type WorkshopRequest as oh, WorkshopSort as oi, type WorkshopUploadTarget as oj, WorkshopVisibility as ok, claimedMilestoneIDs as ol, grantedPremiumTiers as om, isAIGenerationTerminal as on, isFail as oo, isMilestoneClaimed as op, isOk as oq, isReservedSlot as or, normalizeBlockchainCategory as os, parseAIErrorCode as ot, where as ou, zPaymentProof as ov, zPriceOption as ow, zPriceOptions as ox, SeasonService as p, PremiumService as q, CharacterService as r, MatchService as s, CraftService as t, AIService as u, CollectionService as v, CoopEventService as w, ReferralService as x, SocialService as y, TimedBoostService as z };
12359
+ /** The two channels of every link. */
12360
+ type ChannelName = "rel" | "fast";
12361
+
12362
+ /** What the session needs from the SDK client — `client.multiplayer` and the player's id. */
12363
+ interface RealtimeClient {
12364
+ multiplayer: Pick<MultiplayerService, "createRoom" | "joinRoom" | "getRoom" | "leaveRoom" | "poll" | "sendSignal" | "claimHost" | "kickMember" | "unbanMember">;
12365
+ auth: {
12366
+ context: {
12367
+ userID: string;
12368
+ } | null;
12369
+ };
12370
+ }
12371
+ interface RealtimeSessionOptions {
12372
+ /** Poll interval while anything is being set up (joins, links connecting, signals queued). */
12373
+ pollFastMs?: number;
12374
+ /** Idle poll of the HOST: it has to notice new players joining. */
12375
+ pollHostIdleMs?: number;
12376
+ /**
12377
+ * Idle poll of everyone else: only keeps the membership alive — once links are up, news comes
12378
+ * over the DataChannels. Every poll is a paid server call, so this is deliberately slow.
12379
+ */
12380
+ pollClientIdleMs?: number;
12381
+ /** How long to stay on the fast poll after a membership or host change. */
12382
+ fastWindowMs?: number;
12383
+ /** Keepalive ping period on an idle link. */
12384
+ keepaliveMs?: number;
12385
+ /** A peer silent this long is considered gone (link closed, `peerClose`). */
12386
+ peerTimeoutMs?: number;
12387
+ /** Wait for ICE gathering up to this long before sending a description. */
12388
+ iceGatherTimeoutMs?: number;
12389
+ /** Signal payload ceiling (the title's MaxSignalPayloadBytes minus headroom). */
12390
+ maxSignalPayloadBytes?: number;
12391
+ /**
12392
+ * Spacing of signals to ONE peer. Default 650 ms — just over the SDK transport's per-key throttle
12393
+ * window (600 ms); lower it only together with the client's `throttleMs`.
12394
+ */
12395
+ signalPerTargetGapMs?: number;
12396
+ /** Spacing of ANY two signals. Default 180 ms — over the engine's 150 ms per-action lock. */
12397
+ signalGlobalGapMs?: number;
12398
+ /** Leave the room with `keepalive` on `pagehide` (default true in a browser). */
12399
+ leaveOnPageHide?: boolean;
12400
+ /** Test seam / custom stack. Default: `new RTCPeerConnection(config)`. */
12401
+ createPeerConnection?: (config: RTCConfiguration) => RTCPeerConnection;
12402
+ }
12403
+ type MemberLeftKind = "left" | "kicked" | "timeout";
12404
+ interface RealtimeSessionEvents {
12405
+ /** A DataChannel link to this peer is open — `send` works now. */
12406
+ peerOpen: {
12407
+ peerId: string;
12408
+ };
12409
+ /** The link to this peer is gone (it may reconnect by itself if the peer is still in the room). */
12410
+ peerClose: {
12411
+ peerId: string;
12412
+ reason: string;
12413
+ };
12414
+ /** An app message from a peer. */
12415
+ message: {
12416
+ from: string;
12417
+ channel: ChannelName;
12418
+ data: Uint8Array;
12419
+ };
12420
+ memberJoined: {
12421
+ member: RoomMemberView;
12422
+ };
12423
+ memberLeft: {
12424
+ userId: string;
12425
+ kind: MemberLeftKind;
12426
+ by?: string;
12427
+ };
12428
+ /** Fresh member list (profiles, ready flags, member state). */
12429
+ membersUpdated: {
12430
+ members: RoomMemberView[];
12431
+ };
12432
+ hostChanged: {
12433
+ hostId: string;
12434
+ previousHostId: string | null;
12435
+ };
12436
+ /** Server-relayed lobby chat. */
12437
+ chat: {
12438
+ from: string;
12439
+ text: string;
12440
+ };
12441
+ roomClosed: Record<string, never>;
12442
+ /** This player is no longer in the room (kicked, displaced as a silent host, or expired). */
12443
+ removed: {
12444
+ reason: string;
12445
+ };
12446
+ }
12447
+ type Listener<T> = (e: T) => void;
12448
+ /**
12449
+ * WebRTC session over the engine's Multiplayer signaling (room + poll + SendSignal).
12450
+ *
12451
+ * Topology decides who connects to whom:
12452
+ * • `Host` (star) — the host links to every member, everyone else links only to the host, plus
12453
+ * any `extraPeers` the game asks for (e.g. a standby link to the host's successor so a host
12454
+ * handover does not have to wait for signaling).
12455
+ * • `Mesh` — everyone links to everyone.
12456
+ *
12457
+ * Who offers: for a pair that both want a link, the smaller user id offers; a peer that wants a
12458
+ * link but is not the offerer by that rule sends "want" and the other side offers. No offer glare
12459
+ * by construction.
12460
+ *
12461
+ * Costs are shaped for the backend: polling is fast only while something is being set up and slow
12462
+ * afterwards (the host 2.5 s to see newcomers, others 20 s just to stay members); signals go through
12463
+ * a single-flight, per-peer-batched outbox (see signals.ts).
12464
+ */
12465
+ declare class RealtimeSession {
12466
+ private readonly client;
12467
+ readonly roomId: string;
12468
+ readonly selfId: string;
12469
+ readonly topology: MultiplayerTopology;
12470
+ readonly chatMode: MultiplayerChatMode;
12471
+ /** The room's game (a client mode id) as it was created; `null` — a room without one. */
12472
+ readonly mode: string | null;
12473
+ ownerId: string;
12474
+ hostId: string;
12475
+ /** Members by user id (self included). */
12476
+ readonly members: Map<string, {
12477
+ [x: string]: unknown;
12478
+ UserID?: string | null | undefined;
12479
+ Username?: string | null | undefined;
12480
+ AvatarUrl?: string | null | undefined;
12481
+ Level?: number | null | undefined;
12482
+ Power?: number | null | undefined;
12483
+ Ready?: boolean | null | undefined;
12484
+ State?: Record<string, string> | null | undefined;
12485
+ JoinedAt?: number | null | undefined;
12486
+ IsHost?: boolean | null | undefined;
12487
+ LastSeenMs?: number | null | undefined;
12488
+ }>;
12489
+ private readonly o;
12490
+ private iceServers;
12491
+ private lastSeq;
12492
+ private readonly links;
12493
+ private readonly everOpen;
12494
+ private readonly retry;
12495
+ private readonly wantSentAt;
12496
+ private extraPeers;
12497
+ private readonly outbox;
12498
+ private pollTimer;
12499
+ private polling;
12500
+ private pollSoonMs;
12501
+ private pollBackoff;
12502
+ private fastUntil;
12503
+ private refreshTimer;
12504
+ private stopped;
12505
+ private successor;
12506
+ private readonly listeners;
12507
+ private readonly onPageHide;
12508
+ private constructor();
12509
+ /** Create a room and start the session as its host. */
12510
+ static create(client: RealtimeClient, roomName: string, room?: {
12511
+ topology?: MultiplayerTopology;
12512
+ chatMode?: MultiplayerChatMode;
12513
+ maxPlayers?: number;
12514
+ visibility?: RoomVisibility;
12515
+ joinCode?: string;
12516
+ mode?: string;
12517
+ }, options?: RealtimeSessionOptions): Promise<OperationResult<RealtimeSession>>;
12518
+ /** Join a room and start the session. */
12519
+ static join(client: RealtimeClient, roomID: string, joinCode?: string, options?: RealtimeSessionOptions): Promise<OperationResult<RealtimeSession>>;
12520
+ private static start;
12521
+ get isHost(): boolean;
12522
+ get isOwner(): boolean;
12523
+ get closed(): boolean;
12524
+ on<K extends keyof RealtimeSessionEvents>(event: K, fn: Listener<RealtimeSessionEvents[K]>): () => void;
12525
+ /** Peers with an open link right now. */
12526
+ openPeers(): string[];
12527
+ isOpen(peerId: string): boolean;
12528
+ /** Round trip to a peer (ms, 0 until measured) and traffic counters — for a network HUD. */
12529
+ linkStats(peerId: string): {
12530
+ rttMs: number;
12531
+ bytesIn: number;
12532
+ bytesOut: number;
12533
+ buffered: number;
12534
+ } | null;
12535
+ /** Send to one peer. false — no open link, too large for `fast`, or `rel` backed up. */
12536
+ send(peerId: string, channel: ChannelName, data: Uint8Array): boolean;
12537
+ /** Send to every open link (optionally except one). Returns how many links took it. */
12538
+ broadcast(channel: ChannelName, data: Uint8Array, except?: string): number;
12539
+ /**
12540
+ * Links the game wants on top of the topology (e.g. standby links to the host's successor).
12541
+ * Both sides of such a link should ask for it; the session connects them without an offer race.
12542
+ */
12543
+ setExtraPeers(ids: Iterable<string>): void;
12544
+ /** The member that takes over if this (host) player leaves — used by `leave()` and on page close. */
12545
+ setSuccessor(userId: string | null): void;
12546
+ /** Take over a host that stopped responding (see MultiplayerService.claimHost). */
12547
+ claimHost(): Promise<OperationResult<RoomSnapshotResponse>>;
12548
+ kick(userId: string, ban?: boolean): Promise<OperationResult<KickMemberResponse>>;
12549
+ unban(userId: string): Promise<OperationResult<{
12550
+ [x: string]: unknown;
12551
+ WasBanned?: boolean | null | undefined;
12552
+ }>>;
12553
+ /** Leave the room and close every link. */
12554
+ leave(): Promise<void>;
12555
+ /** Re-read the room (profiles, host, ready flags) now. */
12556
+ refreshMembers(): Promise<void>;
12557
+ /**
12558
+ * One poll at a time: a second concurrent Poll is dropped by the transport as a duplicate and
12559
+ * would only push the loop into back-off. A request for an earlier poll made while one is in
12560
+ * flight is remembered and honoured when it returns.
12561
+ */
12562
+ private schedulePoll;
12563
+ private nextPollDelay;
12564
+ private pollOnce;
12565
+ private handleEnvelope;
12566
+ private dropMember;
12567
+ private scheduleRefresh;
12568
+ private applySnapshot;
12569
+ /** Peers this side wants a link to, by topology + extra peers. */
12570
+ private wanted;
12571
+ private reconcile;
12572
+ private handleSignals;
12573
+ private openLink;
12574
+ private closeLink;
12575
+ private onLinkClosed;
12576
+ private emit;
12577
+ private end;
12578
+ private stop;
12579
+ /** `pagehide`: leave with keepalive so the room learns at once, handing the host role over. */
12580
+ private leaveOnUnload;
12581
+ }
12582
+
12583
+ export { type Listener$1 as $, AuthenticationService as A, TimedBoostService as B, type ChannelName as C, DealOfferService as D, ExperimentsService as E, UserCustomDataService as F, TitleCustomDataService as G, TitleService as H, type IceServer as I, GameLoopService as J, CloudCodeService as K, LootboxService as L, type MemberLeftKind as M, BlockchainService 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, MarketplaceService as V, MultiplayerService as W, WorkshopService as X, DataCollectionsService as Y, IDosGamesData as Z, type SdkEvents as _, RealtimeSession as a, type BattleResult as a$, type Unsubscribe as a0, type ConfigStorage as a1, AIAction as a2, type AIAudioInput as a3, type AIChatMessage as a4, AIErrorCode as a5, type AIGenerateOptions as a6, type AIGenerationAssetView as a7, type AIGenerationErrorView as a8, type AIGenerationListView as a9, AnalyticsAction as aA, type AnalyticsClientContext as aB, type AnalyticsDefinitions as aC, type AnalyticsDimensionDefinition as aD, AnalyticsDropReason as aE, type AnalyticsEventDefinition as aF, type AnalyticsEventInput as aG, AnalyticsEventNaming as aH, AnalyticsLimits as aI, type AnalyticsParamValue as aJ, type AnalyticsParams as aK, type AnalyticsRequest as aL, AttackOutcome as aM, type AttackResponse as aN, type AttributionInput as aO, type AuthContext as aP, type AuthOptionsResponse as aQ, AuthType as aR, AuthenticationAction as aS, type AuthenticationRequest as aT, AutomaticEvent as aU, type BaseRequest as aV, type BatchDeleteUserCustomDataResponse as aW, type BatchGetPublicUserCustomDataResponse as aX, type BatchItemResult as aY, type BatchResponse as aZ, type BatchSetUserCustomDataResponse as a_, AIGenerationStatus as aa, type AIGenerationView as ab, type AIHistoryQuery as ac, type AIImageEditInput as ad, type AIImageInput as ae, type AIInputImage as af, AIModality as ag, type AIMusicInput as ah, type AIPublicDefinitions as ai, type AIPublicFeature as aj, type AIRequest as ak, type AITextInput as al, type AIThreeDInput as am, type AIVideoInput as an, type AIWaitOptions as ao, type AcceptTradeOfferResponse as ap, AcquisitionCapture as aq, type ActivateReferralCodeResponse as ar, type ActivateTimedBoostResponse as as, type ActiveBoostWindowInfo as at, type ActiveCoopEventInfo as au, type ActiveDealSlotInfo as av, type ActiveEventInfo as aw, type ActiveSeasonInfo as ax, type ActiveTimedBoost as ay, type AddQuestProgressResponse as az, type RealtimeSessionEvents as b, type ChatDefinitions as b$, type BattleStepConfig as b0, type BlockchainAccountSafetyPolicy as b1, BlockchainAction as b2, type BlockchainConfigResponse as b3, type BlockchainDefinitions as b4, type BlockchainNetworkDefinition as b5, BlockchainNetworkType as b6, type BlockchainNftCollectionBinding as b7, BlockchainOperationCategory as b8, type BlockchainPlayAccessPolicy as b9, type CharacterRankLadder as bA, type CharacterRequest as bB, type CharacterSkinDefinition as bC, type CharacterSkinItem as bD, type CharacterSkinRequirements as bE, type CharacterSkinSale as bF, type CharacterSkinView as bG, type CharacterSkins as bH, type CharacterSkinsView as bI, type CharacterStatRef as bJ, type CharacterUnequipResult as bK, type CharacterUnlock as bL, ChatAction as bM, ChatAuthorType as bN, ChatBlockedTermAction as bO, type ChatChannelAvailability as bP, type ChatChannelDefinition as bQ, type ChatChannelIdentity as bR, type ChatChannelPresetBindings as bS, type ChatChannelRetention as bT, ChatChannelType as bU, type ChatChannelView as bV, type ChatChannelWriteRules as bW, type ChatChannelsResponse as bX, type ChatConversationView as bY, type ChatConversationsResponse as bZ, type ChatCursor as b_, type BlockchainRequest as ba, type BlockchainStats as bb, type BlockchainSystemState as bc, BlockchainTransactionStatus as bd, BlockchainTransactionType as be, type BoardLoopDefinition as bf, type BoardLoopState as bg, type BoardPendingInteraction as bh, type BoardRollResponse as bi, BodyPart as bj, type BoostTriggerCounter as bk, BoostWindowKind as bl, type BuildResponse as bm, type BuildingState as bn, type CancelMatchResponse as bo, type CancelTradeOfferResponse as bp, type ChangeUsernameResponse as bq, CharacterAction as br, type CharacterClassification as bs, type CharacterDefinition as bt, type CharacterDefinitions as bu, type CharacterEquipment as bv, type CharacterEquipmentSlot as bw, type CharacterIdentity as bx, type CharacterLevelRef as by, type CharacterModel as bz, type RealtimeSessionOptions as c, type CommunityChestMember as c$, ChatDirectAudience as c0, type ChatDirectChannelResponse as c1, type ChatHistoryResponse as c2, type ChatMessageView as c3, type ChatModerationSettings as c4, ChatPartitioning as c5, type ChatPollResponse as c6, type ChatPollingSettings as c7, type ChatPresetRegistry as c8, ChatReportReason as c9, type ClaimSetRewardsBatchResponse as cA, type ClaimTierRewardResponse as cB, type ClaimTierRewardsBatchResponse as cC, ClientPlatform as cD, type ClientState as cE, CloudCodeAction as cF, CloudCodeErrorCode as cG, type CloudCodeLogEntry as cH, CloudCodeLogLevel as cI, type CloudCodeRequest as cJ, CloudCodeRevisionSelection as cK, type CodeExecutionError as cL, type CollectIdleAccrualResponse as cM, CollectionAction as cN, type CollectionDefinitions as cO, type CollectionGlobalSettings as cP, type CollectionRequest as cQ, type CollectionSetRef as cR, type CollectionTradeOfferDocument as cS, CommissionSink as cT, type CommunityAccrualLine as cU, type CommunityCampaignSummary as cV, type CommunityChestClaimResponse as cW, type CommunityChestGroupDocument as cX, type CommunityChestGroupStateResponse as cY, type CommunityChestHistoryEntry as cZ, type CommunityChestLeaveResponse as c_, type ChatReportResponse as ca, type ChatRequest as cb, type ChatRoomUpdate as cc, type ChatSendResponse as cd, type ChatStateResponse as ce, type ClaimAllRewardsBatchResponse as cf, type ClaimAllRewardsResult as cg, type ClaimComebackRewardResponse as ch, type ClaimCycleRewardResponse as ci, type ClaimCycleRewardsBatchResponse as cj, type ClaimDailyRewardResponse as ck, type ClaimDealMilestoneResponse as cl, type ClaimDealMilestonesBatchResponse as cm, type ClaimGrandPrizeResponse as cn, type ClaimGroupCompletionRewardResponse as co, type ClaimInviteRewardResponse as cp, type ClaimInviteRewardsBatchResponse as cq, type ClaimLeaderboardMilestoneResponse as cr, type ClaimLeaderboardMilestonesBatchResponse as cs, type ClaimMilestoneRewardResponse as ct, type ClaimMilestoneRewardsBatchResponse as cu, type ClaimMilestonesBatchResponse as cv, type ClaimQuestRewardResponse as cw, type ClaimQuestRewardsBatchResponse as cx, type ClaimRewardResponse as cy, type ClaimSetRewardResponse as cz, type IDosGamesClientConfig as d, type CurrencyRequest as d$, CommunityChestMemberStatus as d0, type CommunityChestSharedState as d1, CommunityChestStatus as d2, type CommunityChestUserStateResponse as d3, type CommunityClaimResponse as d4, CommunityCreatorStatus as d5, type CommunityEarningsLine as d6, type CommunityEarningsResponse as d7, type CommunityEligibilityCondition as d8, type CommunityEligibilityResponse as d9, CoopMemberStatus as dA, type CoopPartnerObjectState as dB, type CoopSpinResponse as dC, type CoopUserStateResponse as dD, CraftAction as dE, type CraftBurnedInstance as dF, type CraftDefinition as dG, type CraftDefinitions as dH, type CraftDefinitionsResponse as dI, CraftInputSelectionMode as dJ, CraftOutputLevelMode as dK, CraftOutputLevelOverflow as dL, type CraftRequest as dM, type CraftResponse as dN, type CraftSingleResult as dO, CraftType as dP, type CreateMatchResponse as dQ, type CryptoConvertResponse as dR, type CryptoCurrencyDefinition as dS, type CryptoCurrencyPermissions as dT, type CryptoLimits as dU, type CryptoNetworkBinding as dV, type CryptoShortfall as dW, CurrencyAction as dX, type CurrencyAudit as dY, type CurrencyConversion as dZ, type CurrencyDefinitions as d_, CommunityMarketingAction as da, type CommunityMarketingRequest as db, type CommunityMarketingState as dc, CommunityMetricKind as dd, CommunityParticipationMode as de, CommunityPayoutCurrencyKind as df, type CommunityPayoutSummary as dg, type CommunitySolanaWithdrawalSignature as dh, type CommunityWithdrawalResponse as di, type ConfirmWithdrawalResponse as dj, type ConversionDailyCounter as dk, ConversionRateMode as dl, type ConversionTarget as dm, type ConvertResponse as dn, type CoopBuildObjectsMemberState as dp, type CoopBuildObjectsState as dq, type CoopClaimRewardResponse as dr, CoopEventAction as ds, type CoopEventDefinitions as dt, type CoopEventRequest as du, type CoopGroupDocument as dv, type CoopGroupMember as dw, type CoopGroupStateResponse as dx, CoopGroupStatus as dy, type CoopLeaveGroupResponse as dz, CurrencyService as e, type DealOfferDefinition as e$, CurrencyStatus as e0, CurrencyType as e1, CustomDataBucket as e2, CustomDataValueType as e3, CustomDataWriter as e4, type CyclicSchedule as e5, DEFAULT_BASE_URL as e6, type DailyUsageRecord as e7, DataAccessMode as e8, type DataAccessRule as e9, type DataPublicViewPointer as eA, type DataPublicViewsResponse as eB, type DataQueryResponse as eC, type DataQuerySpec as eD, type DataReadOptions as eE, type DataRecord as eF, DataRefKind as eG, type DataRefTarget as eH, type DataRolesResponse as eI, type DataSortKeyDefinition as eJ, type DataUpdateSpec as eK, type DataWriteResponse as eL, type DealAvailability as eM, DealComparisonOperator as eN, type DealIdentity as eO, type DealMilestoneBlock as eP, type DealMilestoneProgressInfo as eQ, type DealNodeActionDefinition as eR, type DealNodeDefinition as eS, type DealNodePresetBindings as eT, type DealNodePricing as eU, type DealNodeReward as eV, DealNodeRuntimeStatus as eW, DealNodeType as eX, type DealNodeUnlockRules as eY, DealOfferAction as eZ, DealOfferActivationStatus as e_, type DataBatchOperation as ea, type DataBatchResponse as eb, type DataCollectionDefinition as ec, DataCollectionKind as ed, DataCollectionSchemaMode as ee, DataCollectionsAction as ef, type DataCollectionsRequest as eg, type DataCountResponse as eh, DataCounterKind as ei, type DataCounterResponse as ej, type DataDefinitionsResponse as ek, type DataDeleteResponse as el, type DataFieldDefinition as em, DataFieldType as en, DataFieldVisibility as eo, type DataFileUploadResponse as ep, type DataFileView as eq, type DataFilter as er, type DataFilterOp as es, type DataGetManyResponse as et, type DataGetResponse as eu, type DataItemView as ev, type DataOperationEconomy as ew, DataOwnerDeletedPolicy as ex, type DataPublicViewDefinition as ey, type DataPublicViewPage as ez, ItemService as f, type GetActiveEventsResponse as f$, type DealOfferDefinitions as f0, type DealOfferGraph as f1, type DealOfferPresetBindings as f2, type DealOfferPresetRegistry as f3, type DealOfferRequest as f4, type DealOffersDefinitionResponse as f5, type DealRewardedVideoActionDefinition as f6, type DealSlotBehaviour as f7, type DealSlotDefinition as f8, type DealSlotPresetBindings as f9, type EventTokenOperation as fA, type EventTokenSpendResponse as fB, EventTokenType as fC, type ExecuteCloudCodeResponse as fD, type ExecuteNodeResponse as fE, ExperimentAction as fF, type ExperimentDefinition as fG, type ExperimentDefinitions as fH, type ExperimentGoal as fI, ExperimentGoalKind as fJ, type ExperimentRequest as fK, type ExperimentVariant as fL, type ExperimentVariantCondition as fM, FRIENDS_FROM_PLATFORM as fN, type FodderConsumedEntry as fO, FodderSelectionMode as fP, FodderValuationMode as fQ, type FriendActionResponse as fR, FriendActionStatus as fS, type FriendPublicProfile as fT, FriendSource as fU, type FriendsListResponse as fV, GameLoopAction as fW, type GameLoopDefinitions as fX, type GameLoopRequest as fY, type GetActiveBoostWindowsResponse as fZ, type GetActiveDealsResponse as f_, type DealSlotQueueEntry as fa, type DealTrackChange as fb, type DealTrackDefinition as fc, type DealTrackRequirement as fd, type DeclineTradeOfferResponse as fe, type DepositNFTResponse as ff, type DepositTokenResponse as fg, type DirectMessageSettings as fh, type DismissDealResponse as fi, type DonationResponse as fj, type DroppedEvent as fk, EVENT_NAME_PATTERN 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, CheckoutService as g, type LimitSpec as g$, type GetActiveTimedBoostsResponse as g0, type GetCharacterSkinsResponse as g1, type GetCharactersResponse as g2, type GetExperimentsResponse as g3, type GetLeaderboardResponse as g4, type GetLeaderboardsBatchResponse as g5, type GetMailboxMessagesResponse as g6, type GetMatchDefinitionsResponse as g7, type GetMilestoneRewardMultiplierResponse as g8, type GetMyProgressResponse as g9, type InstantBattleRule as gA, type InventoryDelta as gB, ItemAction as gC, type ItemCatalog as gD, type ItemDefinition as gE, type ItemDefinitions as gF, type ItemEquipment as gG, type ItemMetadata as gH, type ItemRequest as gI, type ItemStats as gJ, type ItemTotals as gK, type ItemUpgrade as gL, type ItemUpgradeFodder as gM, type ItemUpgradeRef as gN, type JsonValue as gO, type KickMemberResponse as gP, KycStatus as gQ, KycTier as gR, LeaderboardAction as gS, type LeaderboardDefinitions as gT, type LeaderboardMilestoneRef as gU, type LeaderboardOverview as gV, type LeaderboardRequest as gW, type LeaderboardScoreRef as gX, type LeaderboardUserEntry as gY, type LeaveRoomResponse as gZ, type LevelsPreset as g_, 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, RewardService as h, type MarketplaceGroupedOffersResponse as h$, type LinkedWalletInfo as h0, LocalizationAction as h1, type LocalizationDefinitions as h2, type LocalizationLocaleDefinition as h3, type LocalizationLocaleInfo as h4, type LocalizationManifestResponse as h5, LocalizationMissingKeyMode as h6, type LocalizationParams as h7, type LocalizationRequest as h8, type LocalizationState as h9, type MailboxGiftStatusResponse as hA, type MailboxItemFailure as hB, type MailboxLetter as hC, MailboxLetterSource as hD, type MailboxOperationResponse as hE, type MailboxPendingReward as hF, type MailboxRequest as hG, MailboxRewardModule as hH, type MailboxSendGiftResponse as hI, type MailboxSendTransferResponse as hJ, MarketGoodsType as hK, MarketOfferStatus as hL, MarketOfferType as hM, MarketplaceAction as hN, type MarketplaceActionCounter as hO, type MarketplaceAuctionSettings as hP, type MarketplaceAuctionState as hQ, type MarketplaceBidRefund as hR, type MarketplaceBrowseResponse as hS, type MarketplaceBuyOrderSettings as hT, type MarketplaceCommissionOverride as hU, type MarketplaceCommissionPolicy as hV, type MarketplaceCreateOfferResponse as hW, type MarketplaceDefinitions as hX, type MarketplaceDirectTradeSettings as hY, type MarketplaceGetDefinitionsResponse as hZ, type MarketplaceGroupedOfferView as h_, type LocalizationTableRef as ha, type LocalizationTableResponse as hb, type LogEventsResponse as hc, LootboxAction as hd, type LootboxAmountRange as he, type LootboxDefinitions as hf, type LootboxDefinitionsResponse as hg, type LootboxGlobalSettings as hh, type LootboxOpenResponse as hi, type LootboxPityRule as hj, type LootboxPityTriggerResponse as hk, type LootboxRequest as hl, type LootboxRewardRoll as hm, type LootboxRewardSlot as hn, type LootboxSupplyRule as ho, MAILBOX_COUNTER_CAP as hp, type MailLink as hq, type MailTemplateDefinition as hr, type MailText as hs, MailboxAction as ht, MailboxCategory as hu, type MailboxClaimResponse as hv, type MailboxClaimedLetter as hw, type MailboxCountersResponse as hx, type MailboxDefinitions as hy, MailboxErrors as hz, AnalyticsService as i, type PremiumDefinitionsResponse as i$, type MarketplaceHistoryEntryView as i0, type MarketplaceHistoryFilter as i1, type MarketplaceHistoryResponse as i2, type MarketplaceListingSettings as i3, type MarketplaceMatchingSettings as i4, type MarketplaceMyBidsFilter as i5, type MarketplaceMyStateResponse as i6, type MarketplaceOfferResponse as i7, type MarketplaceOfferView as i8, type MarketplacePlaceBidResponse as i9, OFFER_NOT_IN_ROTATION as iA, type OpenCollectionChestResponse as iB, type OpenPackResponse as iC, type OperationFailure as iD, type OperationFailureReason as iE, type OperationSuccess as iF, type PackOpenResult as iG, type PaymentProof as iH, type PaymentRequirement as iI, type PendingWithdrawalRef as iJ, type PlatformBlockchainState as iK, type PlatformBridgeDefinitions as iL, PlatformFriendsMode as iM, type PlatformLoginResponse as iN, PlatformProfileMode as iO, type PlayAccessInfoResponse as iP, PlayAccessMode as iQ, type PlayAccessState as iR, type PlayAccessStatus as iS, type PlayAccessWallet as iT, type PlayerEconomyTuningState as iU, PlayerExperimentStatus as iV, type PlayerExperimentView as iW, PlaytimeTracker as iX, type PollResponse as iY, PremiumAction as iZ, type PremiumDefinitions as i_, type MarketplacePricePolicy as ia, type MarketplaceRequest as ib, type MarketplaceSettlementResponse as ic, type MarketplaceTradabilityPolicy as id, MatchAction as ie, type MatchDefinitions as ig, type MatchRequest as ih, MatchStatus as ii, type MatchesPageResponse as ij, type MilestoneClaimEntry as ik, type MilestoneClaimRef as il, type MilestoneDefinition as im, MultiplayerAction as io, MultiplayerChatMode as ip, type MultiplayerDefinitions as iq, type MultiplayerRequest as ir, type MultiplayerSystemState as is, MultiplayerTopology as it, type NFTModel as iu, type NFTNetworkBinding as iv, type NFTTransactionDocument as iw, type NFTWithdrawalResponse as ix, type NftCollectionStats as iy, type NftStatsContainer as iz, CommunityMarketingService as j, type ResourceGrant as j$, type PremiumPurchaseResponse as j0, type PremiumRequest as j1, type PremiumStateResponse as j2, type PremiumSubscription as j3, type PriceOption as j4, type PriceOptions as j5, type PublishResponse as j6, PurchaseAction as j7, type PurchaseBatchResponse as j8, type PurchaseDefinitions as j9, type QuestObjectiveDefinition as jA, QuestObjectiveSource as jB, type QuestPhaseDefinition as jC, type QuestPointsTrackView as jD, QuestPrerequisiteMode as jE, type QuestPresetBindings as jF, type QuestPresetRegistry as jG, type QuestProgressUpdate as jH, type QuestRequest as jI, type QuestReward as jJ, QuestStatus as jK, RaidMode as jL, type RaidResponse as jM, type RealtimeEnvelope as jN, type RechargeConfig as jO, type RecordShowResponse as jP, ReferralAction as jQ, type ReferralDefinitions as jR, type ReferralDefinitionsResponse as jS, type ReferralInviteRewardState as jT, type ReferralRequest as jU, type RelativeWindow as jV, type ResourceBundle as jW, type ResourceConsume as jX, type ResourceDualPartyResult as jY, type ResourceEntry as jZ, ResourceEntryType as j_, type PurchaseDefinitionsResponse as ja, type PurchaseReceiptRef as jb, type PurchaseRequest as jc, type PurchaseValidationBatchResponse as jd, type PurchaseValidationResponse as je, PushAction as jf, type PushConfigResponse as jg, PushPermissionState as jh, type PushRequest as ji, type PushSubscribeOptions as jj, type PushSubscribeResult as jk, type PushSubscriptionListResponse as jl, type PushSubscriptionView as jm, PushTopic as jn, type PushTopicView as jo, PushTransport as jp, type PvPMatch as jq, QuestAction as jr, type QuestAvailability as js, type QuestClaimRef as jt, type QuestCycleDefinition as ju, type QuestDefinition as jv, type QuestDefinitions as jw, type QuestGroupCompletionDefinition as jx, type QuestIdentity as jy, type QuestLinking as jz, ChatService as k, type StatDefinition as k$, type ResourceOperation as k0, type ResourceTransferResult as k1, type RetryWithdrawalResponse as k2, RewardAction as k3, type RewardDefinitions as k4, type RewardDefinitionsResponse as k5, type RewardRequest as k6, type RollActionData as k7, type RoomListItem as k8, type RoomMemberView as k9, type SocialCommentView as kA, SocialContentStatus as kB, type SocialCounters as kC, type SocialCounts as kD, type SocialCursor as kE, type SocialDefinitions as kF, type SocialEntityState as kG, type SocialEntityStatesResponse as kH, SocialEntityType as kI, type SocialGiftDefinition as kJ, type SocialInboxItem as kK, SocialInboxVerb as kL, SocialReactionKind as kM, type SocialReactionPage as kN, type SocialReactionView as kO, SocialReportReason as kP, type SocialReportResponse as kQ, type SocialRequest as kR, type SolanaWithdrawalSignature as kS, type SpecialApplyMultiplierResponse as kT, SpecialChoiceMode as kU, type SpecialChooseResponse as kV, type SpecialClaimResponse as kW, type SpecialModeOfferData as kX, type SpecialPendingState as kY, type SpendRewardDefinition as kZ, type SpendTokensBatchResponse as k_, type RoomSnapshotResponse as ka, RoomVisibility as kb, type RoomsPageResponse as kc, SKIN_ALREADY_OWNED as kd, SKIN_SLOT as ke, type ScheduleChain as kf, type ScheduleChainPhase as kg, ScheduleMode as kh, type ScheduleSpec as ki, type ScheduledWindow as kj, SeasonAction as kk, type SeasonDefinitions as kl, type SeasonRequest as km, type SeasonTierRewardBundle as kn, type SeasonTierRewardMultiplier as ko, type SeasonTierRewardSet as kp, type SegmentGate as kq, type SendTradeOfferResponse as kr, type SetUserCustomDataResponse as ks, type SettingsInput as kt, SocialAction as ku, type SocialActorPage as kv, type SocialActorSnapshot as kw, type SocialActorView as kx, type SocialCommentDeleteResponse as ky, type SocialCommentPage as kz, PushService as l, type TransferableResource as l$, type StatRequirement as l0, type StatsPreset as l1, StoreAction as l2, type StoreAvailability as l3, type StoreDefinition as l4, type StoreDefinitions as l5, type StoreIdentity as l6, type StoreLayout as l7, type StoreOfferAvailability as l8, type StoreOfferDefinition as l9, TimedBoostStackingPolicy as lA, TimedEventAction as lB, type TimedEventDefinitions as lC, type TimedEventGrantRef as lD, type TimedEventInstanceRef as lE, type TimedEventMilestoneRef as lF, type TimedEventRequest as lG, type TimedEventSpendRef as lH, TitleAction as lI, TitleConfig as lJ, TitleCustomDataAction as lK, type TitleCustomDataDefinitions as lL, type TitleCustomDataKeyDefinition as lM, type TitleCustomDataRecord as lN, type TitleCustomDataRequest as lO, TitleDataBucket as lP, TitleDataScope as lQ, type TitlePublicConfigurationModel as lR, type TitleRequest as lS, type TokenCurrencyStats as lT, type TokenStatsContainer as lU, type TokenTransactionDocument as lV, type TokenWithdrawalResponse as lW, TradeOfferStatus as lX, TransactionDirection as lY, type TransactionHistoryResponse as lZ, type TransferGiftDefinition as l_, type StoreOfferPricing as la, type StoreOfferReward as lb, type StoreOfferStateView as lc, type StorePurchaseRef as ld, type StorePurchaseResponse as le, type StorePurchaseState as lf, type StoreRequest as lg, StoreRotationMode as lh, type StoreRotationPurchaseState as li, type StoreSectionDefinition as lj, type StoreSlotDefinition as lk, type StoreSlotPoolEntry as ll, type StoreSlotRotation as lm, StoreType as ln, type StorefrontOfferView as lo, type StorefrontPriceOptionView as lp, type StorefrontSectionView as lq, type StorefrontSlotView as lr, type StorefrontView as ls, type SubmitScoreResponse as lt, type SubmitScoresBatchResponse as lu, type SuccessResponse as lv, type TelegramInvoiceResponse as lw, TimedBoostAction as lx, type TimedBoostDefinitions as ly, type TimedBoostRequest as lz, LocalizationService as m, type UserComebackState as m$, type TriggerContext as m0, type TriggerSource as m1, TutorialAction as m2, type TutorialAvailability as m3, type TutorialBlockingPolicy as m4, TutorialBoardAction as m5, type TutorialBoardScript as m6, type TutorialClaimResponse as m7, type TutorialDefinitions as m8, type TutorialFlowBatchResponse as m9, type UnequipItemsResponse as mA, type UnequipSkinResponse as mB, type UnlockCharacterResponse as mC, type UnlockCharactersBatchResponse as mD, type UnlockSkinResponse as mE, type UnstackableItemInstanceState as mF, type UpdateMatchResponse as mG, type UpgradeCharacterLevelResponse as mH, type UpgradeCharacterLevelsBatchResponse as mI, type UpgradeItemLevelResponse as mJ, type UpgradeLevelsBatchResponse as mK, type UpgradeLevelsOptions as mL, type UpgradeStatLevelResponse as mM, type UpgradeStatLevelsBatchResponse as mN, type UsagePeriodRecord as mO, type UsageReactivationEvent as mP, type UsageTimeStats as mQ, type UseCollectibleJokerResponse as mR, UserAction as mS, type UserBlockchainState as mT, type UserBlockchainStateResponse as mU, type UserCharactersState as mV, type UserChatChannelState as mW, type UserChatLimitState as mX, type UserChatState as mY, type UserClaimRewardState as mZ, type UserCollectionState as m_, type TutorialFlowDefinition as ma, type TutorialFlowPolicy as mb, type TutorialFlowResponse as mc, TutorialFlowStatus as md, type TutorialFlowView as me, type TutorialGateCondition as mf, TutorialGateMode as mg, type TutorialGlobalSettings as mh, type TutorialIdentity as mi, type TutorialPresetBindings as mj, type TutorialPresetRegistry as mk, type TutorialRequest as ml, TutorialRestartPolicy as mm, type TutorialReward as mn, TutorialScriptModule as mo, type TutorialScriptedOutcome as mp, type TutorialStepCompletion as mq, TutorialStepCompletionMode as mr, type TutorialStepDefinition as ms, type TutorialStepEffects as mt, type TutorialStepIdentity as mu, type TutorialStepPolicy as mv, type TutorialStepProgress as mw, TypedEmitter as mx, type UnbanMemberResponse as my, type UnequipAllCharactersResponse as mz, TimedEventService as n, type UserVirtualCurrencyState as n$, type UserCommunityChestState as n0, type UserCoopEventState as n1, type UserCryptoComplianceCounters as n2, type UserCryptoCurrencyState as n3, UserCustomDataAction as n4, type UserCustomDataBatchDeleteItem as n5, type UserCustomDataBatchSetItem as n6, type UserCustomDataDefinitions as n7, type UserCustomDataKeyDefinition as n8, type UserCustomDataRecord as n9, type UserMatchState as nA, type UserPremiumState as nB, type UserPublicDataModel as nC, type UserPurchaseState as nD, type UserQuestCycleState as nE, type UserQuestObjectiveProgress as nF, type UserQuestProgress as nG, type UserQuestState as nH, type UserReferralState as nI, type UserReferralStateResponse as nJ, type UserRequest as nK, type UserRewardState as nL, type UserRewardsStateResponse as nM, type UserSeasonState as nN, type UserSeasonStateResponse as nO, type UserSeasonsState as nP, type UserSocialState as nQ, type UserState as nR, type UserStateSlice as nS, type UserStateVersions as nT, type UserStoreState as nU, type UserTimedBoostsState as nV, type UserTimedEventStateResponse as nW, type UserTutorialFlowState as nX, type UserTutorialState as nY, type UserTutorialStepState as nZ, type UserUsageState as n_, type UserCustomDataRequest as na, type UserCustomDataState as nb, type UserDailyCalendarState as nc, type UserDailyCounters as nd, UserData as ne, type UserDealNodeLifetimeCounts as nf, type UserDealNodeState as ng, type UserDealOfferActivationState as nh, type UserDealOfferHistory as ni, type UserDealOffersState as nj, type UserDealOffersStateResponse as nk, type UserDealSlotState as nl, type UserDealTrackState as nm, type UserDepositAddress as nn, type UserEventTokenProgress as no, type UserEventTokensState as np, type UserGameLoopsState as nq, type UserIdleAccrualState as nr, type UserInventoryState as ns, type UserKycState as nt, type UserLeaderboardProgress as nu, type UserLeaderboardsState as nv, type UserLootboxPityCounter as nw, type UserLootboxState as nx, type UserMarketplaceState as ny, type UserMatchCreationLimitState as nz, LeaderboardService as o, isReservedSlot as o$, type VirtualCurrencyDefinition as o0, type VirtualCurrencyEconomy as o1, type VirtualCurrencyPermissions as o2, type WalletChallengeResponse as o3, WalletGateBalanceSource as o4, type WalletGatedBalance as o5, type WalletLinkResponse as o6, WalletLinkType as o7, type WalletPlayTokenGate as o8, type WalletUnlinkResponse as o9, type WorkshopDownloadedFile as oA, type WorkshopFileData as oB, type WorkshopFileDeclaration as oC, type WorkshopFileRole as oD, WorkshopHoldingMatch as oE, WorkshopHoldingMode as oF, type WorkshopHoldingPolicy as oG, type WorkshopHoldingRequirement as oH, type WorkshopHoldingRule as oI, WorkshopLicenseSource as oJ, type WorkshopLicenseView as oK, type WorkshopLicensesResponse as oL, type WorkshopLimits as oM, type WorkshopModerationSettings as oN, type WorkshopPublishFile as oO, type WorkshopPublishInput as oP, type WorkshopPublishResponse as oQ, type WorkshopRequest as oR, WorkshopSort as oS, type WorkshopUploadTarget as oT, WorkshopVisibility as oU, claimedMilestoneIDs as oV, grantedPremiumTiers as oW, isAIGenerationTerminal as oX, isFail as oY, isMilestoneClaimed as oZ, isOk as o_, type WithdrawalSignatureResponse as oa, type WithdrawalSplit as ob, WorkshopAccessMode as oc, type WorkshopAccessOption as od, type WorkshopAccessOptionInput as oe, type WorkshopAccessState as of, WorkshopAccessVia as og, type WorkshopAcquireResponse as oh, WorkshopAction as oi, type WorkshopBeginUploadResponse as oj, type WorkshopBrowseQuery as ok, type WorkshopBrowseResponse as ol, type WorkshopCollection as om, type WorkshopCollectionResponse as on, type WorkshopCollectionView as oo, type WorkshopContentMutationResponse as op, type WorkshopContentResponse as oq, type WorkshopContentStats as or, WorkshopContentStatus as os, type WorkshopContentType as ot, type WorkshopContentView as ou, type WorkshopCreatorProfileResponse as ov, type WorkshopDefinitions as ow, type WorkshopDefinitionsResponse as ox, type WorkshopDownloadFile as oy, type WorkshopDownloadResponse as oz, SeasonService as p, normalizeBlockchainCategory as p0, parseAIErrorCode as p1, where as p2, zPaymentProof as p3, zPriceOption as p4, zPriceOptions as p5, PremiumService as q, CharacterService as r, MatchService as s, CraftService as t, AIService as u, CollectionService as v, CoopEventService as w, ReferralService as x, MailboxService as y, SocialService as z };