@idosgames/core 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +59 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +259 -16
- package/dist/index.d.ts +259 -16
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -74,10 +74,10 @@ declare const IapStore$1: {
|
|
|
74
74
|
readonly AppleAppStore: "AppleAppStore";
|
|
75
75
|
};
|
|
76
76
|
type IapStore$1 = (typeof IapStore$1)[keyof typeof IapStore$1];
|
|
77
|
-
declare const zIapStore: z.ZodEnum<{
|
|
77
|
+
declare const zIapStore: z.ZodCatch<z.ZodEnum<{
|
|
78
78
|
GooglePlay: "GooglePlay";
|
|
79
79
|
AppleAppStore: "AppleAppStore";
|
|
80
|
-
}
|
|
80
|
+
}>>;
|
|
81
81
|
declare const EventTokenType: {
|
|
82
82
|
readonly TimedEvent: "TimedEvent";
|
|
83
83
|
readonly Quest: "Quest";
|
|
@@ -1138,7 +1138,7 @@ declare const MatchAction: {
|
|
|
1138
1138
|
readonly GetDefinitions: "GetDefinitions";
|
|
1139
1139
|
};
|
|
1140
1140
|
type MatchAction = (typeof MatchAction)[keyof typeof MatchAction];
|
|
1141
|
-
type InstantBattleSettings = { StatMapping?: null | { HealthStatID?: null | string; DamageStatID?: null | string; ArmorStatID?: null | string; AttackSpeedStatID?: null | string; CritChanceStatID?: null | string; CritDamageStatID?: null | string; DodgeStatID?: null | string; AllMightStatID?: null | string; [key: string]: unknown; }; Combat?: null | { MaxRounds?: null | number; BlockDamageMultiplier?: null | number; MinHitDamage?: null | number; DefaultCritMultiplier?: null | number; MaxCritChance?: null | number; MaxDodgeChance?: null | number; [key: string]: unknown; }; Formula?: null | { Health?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; Damage?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; Armor?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; AttackSpeed?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; CritChance?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; CritDamage?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; Dodge?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; [key: string]: unknown; }; [key: string]: unknown; };
|
|
1141
|
+
type InstantBattleSettings = { StatMapping?: null | { HealthStatID?: null | string; DamageStatID?: null | string; ArmorStatID?: null | string; AttackSpeedStatID?: null | string; CritChanceStatID?: null | string; CritDamageStatID?: null | string; DodgeStatID?: null | string; AllMightStatID?: null | string; [key: string]: unknown; }; Combat?: null | { MaxRounds?: null | number; BlockDamageMultiplier?: null | number; MinHitDamage?: null | number; DefaultCritMultiplier?: null | number; MaxCritChance?: null | number; MaxDodgeChance?: null | number; ArmorMode?: null | 'Flat' | 'PercentReduction'; MaxArmorReduction?: null | number; [key: string]: unknown; }; Formula?: null | { Health?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; Damage?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; Armor?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; AttackSpeed?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; CritChance?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; CritDamage?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; Dodge?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Kind?: null | 'Curve' | 'Constant' | 'Variable'; Constant?: null | number; VariableID?: null | string; Argument?: null | string; Curve?: null | ScalarCurveSpec; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; [key: string]: unknown; }; [key: string]: unknown; };
|
|
1142
1142
|
type MatchEconomySettings = { BurnRate?: null | number; [key: string]: unknown; };
|
|
1143
1143
|
type MatchEntrySettings = { 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; };
|
|
1144
1144
|
type MatchCreationSettings = { PriceOptions?: null | PriceOptions; RefundCostOnCancel?: null | boolean; MaxOpenMatches?: null | number; Limits?: null | LimitSpec; AllowPrivateMatches?: null | boolean; MaxMatchesPerOpponentPerDay?: null | number; [key: string]: unknown; };
|
|
@@ -1529,8 +1529,8 @@ interface ReferralInviteRewardState {
|
|
|
1529
1529
|
interface UserReferralState {
|
|
1530
1530
|
SubscribedToUserID?: string | null;
|
|
1531
1531
|
ActivationRewardGranted?: boolean;
|
|
1532
|
+
/** How many players activated this player's code. */
|
|
1532
1533
|
FollowersCount?: number;
|
|
1533
|
-
FollowerIDs?: string[];
|
|
1534
1534
|
InviteRewardStates?: Record<string, ReferralInviteRewardState>;
|
|
1535
1535
|
UpdatedAt?: string;
|
|
1536
1536
|
[key: string]: unknown;
|
|
@@ -1585,10 +1585,40 @@ declare const TimelineEventType: {
|
|
|
1585
1585
|
type TimelineEventType = (typeof TimelineEventType)[keyof typeof TimelineEventType];
|
|
1586
1586
|
type FriendPublicProfile = { UserID: string; PublicData?: null | UserPublicDataModel; };
|
|
1587
1587
|
type SocialTimelineEvent = { OwnerUserID?: null | string; ActorUserID?: null | string; ActorProfile?: null | UserPublicDataModel; Type?: null | string; CreatedAt?: null | string; OwnerImpact?: null | ResourceOperation; IsBlocked?: null | boolean; TargetObjectName?: null | string; [key: string]: unknown; };
|
|
1588
|
+
/**
|
|
1589
|
+
* The player's social state.
|
|
1590
|
+
*
|
|
1591
|
+
* ⚠ **Two halves with different origins — do not confuse them.**
|
|
1592
|
+
*
|
|
1593
|
+
* The **counters** are what the server actually sends inside the player state. Friendships and
|
|
1594
|
+
* requests live in their own edge collection now (they used to be three arrays inside the player
|
|
1595
|
+
* document, which meant a third party — whoever sent you a request — could grow *your* document,
|
|
1596
|
+
* unbounded, and it was re-read on every one of *your* calls). Only the sizes travel with state.
|
|
1597
|
+
*
|
|
1598
|
+
* The **arrays below the counters are a local SDK cache**, not server state. Nothing fills them on
|
|
1599
|
+
* login: `getFriendsList()` fills `Accepted`, `getIncomingRequests()` fills `IncomingRequests`,
|
|
1600
|
+
* `getTimeline()` fills `Timeline`, and `OutgoingRequests` only ever grows client-side from your
|
|
1601
|
+
* own `sendFriendRequest()` calls. Consequence to plan the UI around: **until you call them, the
|
|
1602
|
+
* arrays are empty even for a player with friends** — while `FriendsCount` is already correct.
|
|
1603
|
+
* They are also lost on restart, because nothing re-sends them.
|
|
1604
|
+
*
|
|
1605
|
+
* Rule of thumb: render badges and counts from the counters, render lists only on a screen that
|
|
1606
|
+
* loads them.
|
|
1607
|
+
*/
|
|
1588
1608
|
interface UserSocialState {
|
|
1609
|
+
/** Number of friends. Server-sent, always current. */
|
|
1610
|
+
FriendsCount?: number;
|
|
1611
|
+
/** Number of requests awaiting this player's answer. Server-sent, always current. */
|
|
1612
|
+
IncomingCount?: number;
|
|
1613
|
+
/** Number of requests this player sent that are still unanswered. Server-sent. */
|
|
1614
|
+
OutgoingCount?: number;
|
|
1615
|
+
/** Local cache — friend UserIDs. Empty until `getFriendsList()`. */
|
|
1589
1616
|
Accepted?: string[];
|
|
1617
|
+
/** Local cache — UserIDs who requested this player. Empty until `getIncomingRequests()`. */
|
|
1590
1618
|
IncomingRequests?: string[];
|
|
1619
|
+
/** Local cache — UserIDs this player sent a request to. Client-side only; never server-sent. */
|
|
1591
1620
|
OutgoingRequests?: string[];
|
|
1621
|
+
/** Local cache — activity feed. Empty until `getTimeline()`. */
|
|
1592
1622
|
Timeline?: SocialTimelineEvent[];
|
|
1593
1623
|
}
|
|
1594
1624
|
type FriendsListResponse = { Friends?: null | Array<FriendPublicProfile>; };
|
|
@@ -1602,6 +1632,7 @@ interface SocialRequest extends BaseRequest {
|
|
|
1602
1632
|
declare const SocialAction: {
|
|
1603
1633
|
readonly GetFriendsList: "GetFriendsList";
|
|
1604
1634
|
readonly GetIncomingRequests: "GetIncomingRequests";
|
|
1635
|
+
readonly GetOutgoingRequests: "GetOutgoingRequests";
|
|
1605
1636
|
readonly GetRecommendedFriends: "GetRecommendedFriends";
|
|
1606
1637
|
readonly SendFriendRequest: "SendFriendRequest";
|
|
1607
1638
|
readonly AcceptFriendRequest: "AcceptFriendRequest";
|
|
@@ -1760,6 +1791,7 @@ type AttackOutcome = (typeof AttackOutcome)[keyof typeof AttackOutcome];
|
|
|
1760
1791
|
type BuildingState = { SlotIndex: number; Level?: null | number; IsDamaged?: null | boolean; MaxLevelRewardClaimed?: null | boolean; [key: string]: unknown; };
|
|
1761
1792
|
type HeistCell = { Symbol?: null | string | number; OnOpenBonus?: null | ResourceGrant; BonusTag?: null | string; [key: string]: unknown; };
|
|
1762
1793
|
type SpecialGradationTierSnapshot = { ElapsedSeconds?: null | number; Reward?: null | ResourceGrant; [key: string]: unknown; };
|
|
1794
|
+
type SpecialStatMetricSnapshot = { MetricID?: null | string; MaxValuePerClaim?: null | number; TierMode?: null | string; ApplyClaimMultiplier?: null | boolean; Tiers?: null | Array<{ RequiredValue?: null | number; Reward?: null | ResourceGrant; [key: string]: unknown; }>; Rate?: null | { Reward?: null | ResourceGrant; MetricPerReward?: null | number; MaxRewardUnits?: null | number; [key: string]: unknown; }; [key: string]: unknown; };
|
|
1763
1795
|
interface SpecialPendingState {
|
|
1764
1796
|
ModeID?: string;
|
|
1765
1797
|
ChoiceID?: string | null;
|
|
@@ -1768,9 +1800,15 @@ interface SpecialPendingState {
|
|
|
1768
1800
|
DurationSeconds?: number | null;
|
|
1769
1801
|
AdViewsUsed?: number;
|
|
1770
1802
|
AccumulatedMultiplier?: number;
|
|
1803
|
+
/** Null = the choice has no time axis; the whole reward comes from RunStatTiers. */
|
|
1771
1804
|
GradationTiers?: SpecialGradationTierSnapshot[] | null;
|
|
1805
|
+
/** Snapshot of SpecialGradationConfig.TierMode after defaulting. */
|
|
1806
|
+
GradationTierMode?: string | null;
|
|
1772
1807
|
BelowFirstTierReward?: ResourceGrant | null;
|
|
1773
1808
|
Multipliers?: SpecialClaimMultipliers | null;
|
|
1809
|
+
/** Run-statistics ladders frozen at Choose. Null = the choice has no run-stat rewards, or the
|
|
1810
|
+
* pending predates the feature; both mean the claim pays by the time ladder alone. */
|
|
1811
|
+
RunStatTiers?: SpecialStatMetricSnapshot[] | null;
|
|
1774
1812
|
/** Offer choices stashed from the roll's SpecialModeOffer so the UI can render them in-session
|
|
1775
1813
|
* (the server's GetUserBoardState pending only carries ModeID). */
|
|
1776
1814
|
Choices?: SpecialModeChoice[] | null;
|
|
@@ -1824,7 +1862,8 @@ interface HeistGridBonusConfig {
|
|
|
1824
1862
|
}
|
|
1825
1863
|
type ChanceTable = { Outcomes?: null | Array<{ Weight?: null | number; OutcomeID?: null | string; Reward?: null | ScaledResourceOperation; ForceAction?: null | string; SpecialModeID?: null | string; [key: string]: unknown; }>; [key: string]: unknown; };
|
|
1826
1864
|
type SpecialClaimMultipliers = { PerAdMultiplierRange?: null | RewardMultiplierRange; MaxAdViews?: null | number; AdCreditCost?: null | number; FormulaKind?: null | string; ApplyMultiplierOnEarlyClaim?: null | boolean; [key: string]: unknown; };
|
|
1827
|
-
type SpecialGradationConfig = { Tiers?: null | Array<{ ElapsedSeconds?: null | number; Reward?: null | ScaledResourceOperation; [key: string]: unknown; }>; BelowFirstTierReward?: null | ScaledResourceOperation; [key: string]: unknown; };
|
|
1865
|
+
type SpecialGradationConfig = { Tiers?: null | Array<{ ElapsedSeconds?: null | number; Reward?: null | ScaledResourceOperation; [key: string]: unknown; }>; TierMode?: null | string; BelowFirstTierReward?: null | ScaledResourceOperation; [key: string]: unknown; };
|
|
1866
|
+
type SpecialRunStatsConfig = { MetricsByID?: null | Record<string, { MetricID?: null | string; MaxValuePerClaim?: null | number; TierMode?: null | string; ApplyClaimMultiplier?: null | boolean; Tiers?: null | Array<{ RequiredValue?: null | number; Reward?: null | ScaledResourceOperation; [key: string]: unknown; }>; Rate?: null | { Reward?: null | ScaledResourceOperation; MetricPerReward?: null | number; MaxRewardUnits?: null | number; [key: string]: unknown; }; [key: string]: unknown; }>; [key: string]: unknown; };
|
|
1828
1867
|
/** A single choice in a Special mode (Instant reward or Timed flow with multipliers/gradation). */
|
|
1829
1868
|
interface SpecialModeChoice {
|
|
1830
1869
|
ChoiceID?: string | null;
|
|
@@ -1834,6 +1873,7 @@ interface SpecialModeChoice {
|
|
|
1834
1873
|
EntryCost?: ResourceConsume | null;
|
|
1835
1874
|
Multipliers?: SpecialClaimMultipliers | null;
|
|
1836
1875
|
Gradation?: SpecialGradationConfig | null;
|
|
1876
|
+
RunStats?: SpecialRunStatsConfig | null;
|
|
1837
1877
|
}
|
|
1838
1878
|
/** Special-mode configuration bound to a tile via SpecialModeID. */
|
|
1839
1879
|
interface SpecialModeDefinition {
|
|
@@ -1922,11 +1962,19 @@ interface GameLoopDefinitions {
|
|
|
1922
1962
|
[key: string]: unknown;
|
|
1923
1963
|
}
|
|
1924
1964
|
type RollActionData = { TargetUserID?: null | string; IsBot?: null | boolean; PublicData?: null | UserPublicDataModel; TargetBuildingStates?: null | Array<BuildingState>; TargetHasShield?: null | boolean; [key: string]: unknown; };
|
|
1925
|
-
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; [key: string]: unknown; }>; [key: string]: unknown; };
|
|
1965
|
+
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; };
|
|
1926
1966
|
type CommunityChestContributionResult = { GroupID?: null | string; Delta?: null | number; NewProgress?: null | number; MaxProgress?: null | number; UnlockedMilestoneIDs?: null | Array<string>; Completed?: null | boolean; [key: string]: unknown; };
|
|
1927
1967
|
interface BoardRollResponse {
|
|
1928
1968
|
UsedMultiplier?: number | null;
|
|
1969
|
+
/** Sum of DiceValues. */
|
|
1929
1970
|
Steps?: number | null;
|
|
1971
|
+
/**
|
|
1972
|
+
* Per-die faces in roll order — one entry per BoardDiceConfig.Count, each 1..Sides,
|
|
1973
|
+
* summing to Steps. Render the dice from here; do NOT split Steps yourself.
|
|
1974
|
+
* null = the step was scripted by the tutorial, so no dice breakdown exists
|
|
1975
|
+
* (a scripted step may fall outside the dice range, up to a full lap).
|
|
1976
|
+
*/
|
|
1977
|
+
DiceValues?: number[] | null;
|
|
1930
1978
|
OldPosition?: number | null;
|
|
1931
1979
|
NewPosition: number;
|
|
1932
1980
|
CyclesCompletedDelta?: number | null;
|
|
@@ -1942,7 +1990,7 @@ type RaidResponse = { Status?: null | string; Outcome?: null | string; FoundSymb
|
|
|
1942
1990
|
type BuildResponse = { BuiltIndex: number; NewLevel?: null | number; StageComplete?: null | boolean; MaxLevelRewardClaimed?: null | boolean; Operation?: null | ResourceOperation; [key: string]: unknown; };
|
|
1943
1991
|
type SpecialChooseResponse = { Mode?: null | string | number; Operation?: null | ResourceOperation; DurationSeconds?: null | number; StartedAtUtc?: null | string; ExpiresAtUtc?: null | string; [key: string]: unknown; };
|
|
1944
1992
|
type SpecialApplyMultiplierResponse = { AdViewsUsed?: null | number; RolledMultiplier?: null | number; AccumulatedMultiplier?: null | number; RemainingAdViews?: null | number; [key: string]: unknown; };
|
|
1945
|
-
type SpecialClaimResponse = { FinalMultiplier?: null | number; AdViewsUsed?: null | number; AccumulatedMultiplier?: null | number; IsEarlyClaim?: null | boolean; Operation?: null | ResourceOperation; [key: string]: unknown; };
|
|
1993
|
+
type SpecialClaimResponse = { FinalMultiplier?: null | number; AdViewsUsed?: null | number; AccumulatedMultiplier?: null | number; IsEarlyClaim?: null | boolean; ReachedTierIndex?: null | number; Operation?: null | ResourceOperation; AcceptedRunStats?: null | Record<string, number>; RunStatAwards?: null | Array<{ MetricID?: null | string; ReachedTierIndex?: null | number; RequiredValue?: null | number; RewardUnits?: null | number; [key: string]: unknown; }>; RunStatsClamped?: null | boolean; RunStatGrant?: null | ResourceGrant; [key: string]: unknown; };
|
|
1946
1994
|
/** enum CommunityChestStatus — mirror of CoopGroupStatus. */
|
|
1947
1995
|
declare const CommunityChestStatus: {
|
|
1948
1996
|
readonly Forming: "Forming";
|
|
@@ -1982,6 +2030,13 @@ interface GameLoopRequest extends BaseRequest {
|
|
|
1982
2030
|
ChoiceID?: string;
|
|
1983
2031
|
GroupID?: string;
|
|
1984
2032
|
MilestoneID?: string;
|
|
2033
|
+
/** Gameplay statistics of a Special-mode run ({MetricID: value}), sent with BoardSpecialClaim.
|
|
2034
|
+
* Keys are matched against the whitelist frozen in SpecialPendingState.RunStatTiers; a metric
|
|
2035
|
+
* absent there is ignored. Omitted/empty = the claim pays by the time ladder only.
|
|
2036
|
+
*
|
|
2037
|
+
* Values are fractional by design (run time, experience) — do NOT round them here: the server
|
|
2038
|
+
* compares against thresholds with a relative epsilon and clamps by the per-metric cap. */
|
|
2039
|
+
RunStats?: Record<string, number>;
|
|
1985
2040
|
}
|
|
1986
2041
|
declare const GameLoopAction: {
|
|
1987
2042
|
readonly GetGameLoops: "GetGameLoops";
|
|
@@ -2234,8 +2289,22 @@ interface UserDailyCounters {
|
|
|
2234
2289
|
Earned: number;
|
|
2235
2290
|
Spent: number;
|
|
2236
2291
|
}
|
|
2292
|
+
/**
|
|
2293
|
+
* Auto-recharge state of one currency. The server materializes accrual lazily — on a state read
|
|
2294
|
+
* and on any operation with that currency — so `UserVirtualCurrencyState.Amount` is already up to
|
|
2295
|
+
* date; there is no background job and no push.
|
|
2296
|
+
*
|
|
2297
|
+
* Countdown to the next BATCH (see `RechargeConfig`: a batch is `Rate` units per full `Period`):
|
|
2298
|
+
*
|
|
2299
|
+
* ```ts
|
|
2300
|
+
* const elapsed = (Date.now() - Date.parse(LastRechargeAt)) / 1000 + PendingSeconds;
|
|
2301
|
+
* const secondsToNextBatch = Math.max(0, Period - elapsed);
|
|
2302
|
+
* ```
|
|
2303
|
+
*/
|
|
2237
2304
|
interface UserRechargeState {
|
|
2305
|
+
/** Reference point of the next accrual: last accrual or spend (ISO, UTC). */
|
|
2238
2306
|
LastRechargeAt?: string;
|
|
2307
|
+
/** Carried time that did not add up to a FULL period — always less than `Period`. */
|
|
2239
2308
|
PendingSeconds?: number;
|
|
2240
2309
|
}
|
|
2241
2310
|
interface UserVirtualCurrencyState {
|
|
@@ -2323,14 +2392,58 @@ interface DailyUsageRecord {
|
|
|
2323
2392
|
ActiveHoursMask: number;
|
|
2324
2393
|
LastActiveAt: string;
|
|
2325
2394
|
}
|
|
2326
|
-
/**
|
|
2395
|
+
/**
|
|
2396
|
+
* One rolled-up period (a month or a year) of usage.
|
|
2397
|
+
*
|
|
2398
|
+
* `Seconds`/`Sessions` are `number` here like everywhere else in JS, but note they are 64-bit on
|
|
2399
|
+
* the server: a year of activity does not fit the per-day `int`.
|
|
2400
|
+
*/
|
|
2401
|
+
interface UsagePeriodRecord {
|
|
2402
|
+
Seconds: number;
|
|
2403
|
+
Sessions: number;
|
|
2404
|
+
/**
|
|
2405
|
+
* How many CALENDAR DAYS of the period the player was active.
|
|
2406
|
+
*
|
|
2407
|
+
* This is the field the rollup exists for: a month's total seconds cannot tell you whether the
|
|
2408
|
+
* player came every day for ten minutes or once for five hours, and once the per-day records
|
|
2409
|
+
* are gone that is unrecoverable.
|
|
2410
|
+
*/
|
|
2411
|
+
ActiveDays: number;
|
|
2412
|
+
LongestSessionSeconds: number;
|
|
2413
|
+
ActiveHoursMask: number;
|
|
2414
|
+
FirstActiveDay: string;
|
|
2415
|
+
LastActiveAt: string;
|
|
2416
|
+
}
|
|
2417
|
+
/**
|
|
2418
|
+
* Aggregated app-usage stats (UserDataDocument.Usage), foreground-activity seconds only.
|
|
2419
|
+
*
|
|
2420
|
+
* ⚠ **History is rolled up: days → months → years, and the rollup is IRREVERSIBLE.** `Daily` used
|
|
2421
|
+
* to hold every day the player had ever been active; it grew forever inside the document that is
|
|
2422
|
+
* read on every request. It is now a WINDOW of the most recent days (400 by default, configurable
|
|
2423
|
+
* per title). Everything older is folded into {@link Monthly}, and months of finished years into
|
|
2424
|
+
* {@link Yearly}. Per-day detail outside the window is gone for good.
|
|
2425
|
+
*
|
|
2426
|
+
* Practical consequence: **do not sum `Daily` to get a lifetime or a year-long total** — you will
|
|
2427
|
+
* silently undercount. Use `TotalSeconds`/`TotalSessions` for lifetime (they are kept separately
|
|
2428
|
+
* and are exact), or add the periods.
|
|
2429
|
+
*/
|
|
2327
2430
|
interface UserUsageState {
|
|
2431
|
+
/** Lifetime foreground seconds. Kept separately, never affected by the rollup. */
|
|
2328
2432
|
TotalSeconds: number;
|
|
2433
|
+
/** Lifetime session count. Kept separately, never affected by the rollup. */
|
|
2329
2434
|
TotalSessions: number;
|
|
2330
2435
|
FirstActiveAt?: string | null;
|
|
2331
2436
|
LastActiveAt: string;
|
|
2332
2437
|
Reactivations?: UsageReactivationEvent[];
|
|
2438
|
+
/**
|
|
2439
|
+
* Per-day stats for the recent window only. Key is `"ddMMyyyy"` (historic format, not sortable).
|
|
2440
|
+
* Older days are no longer here — see {@link Monthly}.
|
|
2441
|
+
*/
|
|
2333
2442
|
Daily?: Record<string, DailyUsageRecord>;
|
|
2443
|
+
/** Folded months. Key is `"yyyyMM"` — sortable, unlike the per-day key. */
|
|
2444
|
+
Monthly?: Record<string, UsagePeriodRecord>;
|
|
2445
|
+
/** Folded years. Key is `"yyyy"`. Top step: there is nothing coarser to fold into. */
|
|
2446
|
+
Yearly?: Record<string, UsagePeriodRecord>;
|
|
2334
2447
|
}
|
|
2335
2448
|
interface UserState {
|
|
2336
2449
|
UserID?: string;
|
|
@@ -2706,6 +2819,7 @@ declare const MultiplayerAction: {
|
|
|
2706
2819
|
};
|
|
2707
2820
|
type MultiplayerAction = (typeof MultiplayerAction)[keyof typeof MultiplayerAction];
|
|
2708
2821
|
type PlatformLoginResponse = { TitleUserID: string; TitleClientSessionTicket: string; TitleClientSessionTicketExpiration: string; PlatformUserID?: null | string; PlatformAuthToken?: null | string; PlatformAuthTokenExpiration?: null | string; };
|
|
2822
|
+
type EmailRegistrationResponse = { CodeTtlMinutes?: null | number; ResendCooldownSeconds?: null | number; };
|
|
2709
2823
|
type SuccessResponse = { IsCompleted?: null | boolean; ServerTime?: null | string; };
|
|
2710
2824
|
type WalletChallengeResponse = { Message: string; ExpiresAt: string; };
|
|
2711
2825
|
/** Client-supplied UTM/click-ID attribution signal, sent with login/register (port of AttributionInput). */
|
|
@@ -2734,13 +2848,14 @@ interface AuthenticationRequest extends BaseRequest {
|
|
|
2734
2848
|
WalletAddress?: string;
|
|
2735
2849
|
/** Wallet login: signature of the challenge message (EVM personal_sign hex / Solana ed25519, 0x-hex). */
|
|
2736
2850
|
WalletSignature?: string;
|
|
2851
|
+
/** Code from the confirmation e-mail. See `AuthenticationAction.ConfirmEmailRegistration`. */
|
|
2852
|
+
VerificationCode?: string;
|
|
2737
2853
|
}
|
|
2738
2854
|
declare const AuthenticationAction: {
|
|
2739
2855
|
readonly LoginWithDeviceID: "LoginWithDeviceID";
|
|
2740
2856
|
readonly LoginWithTelegram: "LoginWithTelegram";
|
|
2741
2857
|
readonly LoginWithEmail: "LoginWithEmail";
|
|
2742
2858
|
readonly LoginWithGoogle: "LoginWithGoogle";
|
|
2743
|
-
readonly LoginWithPlatformToken: "LoginWithPlatformToken";
|
|
2744
2859
|
/**
|
|
2745
2860
|
* Exchange a one-time SSO code (issued by idosgames.com) for a title session.
|
|
2746
2861
|
*
|
|
@@ -2749,6 +2864,21 @@ declare const AuthenticationAction: {
|
|
|
2749
2864
|
*/
|
|
2750
2865
|
readonly LoginWithSsoCode: "LoginWithSsoCode";
|
|
2751
2866
|
readonly RegisterWithEmail: "RegisterWithEmail";
|
|
2867
|
+
/**
|
|
2868
|
+
* Confirm the address and create the player.
|
|
2869
|
+
*
|
|
2870
|
+
* Every way of getting it wrong answers with the same error — "no such registration", "code
|
|
2871
|
+
* expired" and "wrong code" are all statements ABOUT AN ADDRESS, and telling them apart would
|
|
2872
|
+
* bring the oracle back through the side door.
|
|
2873
|
+
*/
|
|
2874
|
+
readonly ConfirmEmailRegistration: "ConfirmEmailRegistration";
|
|
2875
|
+
/**
|
|
2876
|
+
* Mail the code again.
|
|
2877
|
+
*
|
|
2878
|
+
* A NEW code is sent, not the previous one: only its hash is stored, so the old one cannot be
|
|
2879
|
+
* re-sent. The last code mailed is the one that works.
|
|
2880
|
+
*/
|
|
2881
|
+
readonly ResendVerificationCode: "ResendVerificationCode";
|
|
2752
2882
|
readonly RequestWalletChallenge: "RequestWalletChallenge";
|
|
2753
2883
|
readonly LoginWithWallet: "LoginWithWallet";
|
|
2754
2884
|
readonly ForgotPassword: "ForgotPassword";
|
|
@@ -2793,13 +2923,19 @@ declare const FodderSelectionMode: {
|
|
|
2793
2923
|
readonly ProtectLeveled: "ProtectLeveled";
|
|
2794
2924
|
readonly CheapestFirst: "CheapestFirst";
|
|
2795
2925
|
readonly ClientSelected: "ClientSelected";
|
|
2926
|
+
/**
|
|
2927
|
+
* Кормом идут только копии ТОГО ЖЕ уровня, что и прокачиваемый предмет: на 2-й уровень —
|
|
2928
|
+
* первые, на 3-й — вторые. Классическое слияние по тирам: копия другого уровня не кандидат
|
|
2929
|
+
* вовсе, поэтому прокачанная не может сгореть «в счёт» дешёвой, а перерасхода не бывает.
|
|
2930
|
+
*/
|
|
2931
|
+
readonly SameLevelOnly: "SameLevelOnly";
|
|
2796
2932
|
};
|
|
2797
2933
|
type FodderSelectionMode = (typeof FodderSelectionMode)[keyof typeof FodderSelectionMode];
|
|
2798
2934
|
type NFTNetworkBinding = { ContractAddress?: null | string; TokenID?: null | string; TokenStandard?: null | string; [key: string]: unknown; };
|
|
2799
2935
|
type NFTModel = { Networks?: null | Record<string, NFTNetworkBinding>; MetadataUrl?: null | string; [key: string]: unknown; };
|
|
2800
2936
|
type ItemStats = { FlatBonuses?: null | Record<string, number>; PercentBonuses?: null | Record<string, number>; Power?: null | number; [key: string]: unknown; };
|
|
2801
2937
|
type ItemEquipment = { MinCharacterLevel?: null | number; UseRequirements?: null | Record<string, number>; AllowedCharacterIDs?: null | Array<string>; AllowedSlotIDs?: null | Array<string>; [key: string]: unknown; };
|
|
2802
|
-
type ItemUpgradeFodder = { ValuationMode?: null | 'FlatCount' | 'Merge' | 'InvestmentRefund'; WeightCurve?: null | ScalarCurveSpec; Selection?: null | 'ProtectLeveled' | 'CheapestFirst' | 'ClientSelected'; [key: string]: unknown; };
|
|
2938
|
+
type ItemUpgradeFodder = { ValuationMode?: null | 'FlatCount' | 'Merge' | 'InvestmentRefund'; WeightCurve?: null | ScalarCurveSpec; Selection?: null | 'ProtectLeveled' | 'CheapestFirst' | 'ClientSelected' | 'SameLevelOnly'; [key: string]: unknown; };
|
|
2803
2939
|
type ItemUpgrade = { MaxLevel?: null | number; PriceOptions?: null | PriceOptions; CostCurve?: null | ScalarCurveSpec; FlatBonusCurve?: null | ScalarCurveSpec; PercentBonusCurve?: null | ScalarCurveSpec; PowerCurve?: null | ScalarCurveSpec; Fodder?: null | ItemUpgradeFodder; [key: string]: unknown; };
|
|
2804
2940
|
type ItemMetadata = { RarityID?: null | string; CollectionID?: null | string; AuthorID?: null | string; [key: string]: unknown; };
|
|
2805
2941
|
type ItemDefinition = { ItemID: string; CatalogID: string; ItemClass?: null | string; DisplayName?: null | string; Description?: null | string; Tags?: null | Array<string>; CustomData?: null | 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; };
|
|
@@ -3280,6 +3416,7 @@ interface SdkEvents {
|
|
|
3280
3416
|
"referral:inviteRewardsBatchClaimed": ClaimInviteRewardsBatchResponse;
|
|
3281
3417
|
"social:friendsListLoaded": FriendsListResponse;
|
|
3282
3418
|
"social:incomingRequestsLoaded": FriendsListResponse;
|
|
3419
|
+
"social:outgoingRequestsLoaded": FriendsListResponse;
|
|
3283
3420
|
"social:recommendedFriendsLoaded": FriendsListResponse;
|
|
3284
3421
|
"social:friendRequestSent": FriendActionResponse;
|
|
3285
3422
|
"social:friendRequestAccepted": FriendActionResponse;
|
|
@@ -3512,6 +3649,7 @@ declare class UserData {
|
|
|
3512
3649
|
patchReferralInviteRewardClaimed(rewardID: string): void;
|
|
3513
3650
|
applySocialFriendsList(friends: FriendPublicProfile[] | null | undefined): void;
|
|
3514
3651
|
applySocialIncomingRequests(profiles: FriendPublicProfile[] | null | undefined): void;
|
|
3652
|
+
applySocialOutgoingRequests(profiles: FriendPublicProfile[] | null | undefined): void;
|
|
3515
3653
|
applySocialTimeline(events: SocialTimelineEvent[] | null | undefined): void;
|
|
3516
3654
|
patchSocialAddOutgoingRequest(targetUserID: string): void;
|
|
3517
3655
|
patchSocialAcceptFriend(requesterUserID: string): void;
|
|
@@ -3617,6 +3755,20 @@ interface AuthContext {
|
|
|
3617
3755
|
platformAuthTokenExpiration?: string;
|
|
3618
3756
|
}
|
|
3619
3757
|
|
|
3758
|
+
/**
|
|
3759
|
+
* Чем закончилось начало регистрации по почте.
|
|
3760
|
+
*
|
|
3761
|
+
* ⚠ Игрока здесь НЕ появляется никогда: на адрес ушёл код, и аккаунт создаст
|
|
3762
|
+
* `confirmEmailRegistration`. Сессии в этом ответе нет и быть не может — есть только то, что
|
|
3763
|
+
* нужно показать на экране ввода кода.
|
|
3764
|
+
*/
|
|
3765
|
+
interface EmailRegistrationOutcome {
|
|
3766
|
+
/** Сколько живёт код — чтобы экран показал это, а не выдумывал. */
|
|
3767
|
+
codeTtlMinutes?: number;
|
|
3768
|
+
/** Через сколько секунд «отправить ещё раз» снова что-то сделает. */
|
|
3769
|
+
resendCooldownSeconds?: number;
|
|
3770
|
+
}
|
|
3771
|
+
|
|
3620
3772
|
/** Port of AuthenticationService.cs: login methods, AutoLogin, single 401 refresh. */
|
|
3621
3773
|
declare class AuthenticationService {
|
|
3622
3774
|
private readonly ctx;
|
|
@@ -3626,6 +3778,16 @@ declare class AuthenticationService {
|
|
|
3626
3778
|
private sessionAuthType;
|
|
3627
3779
|
private sessionEmail;
|
|
3628
3780
|
private sessionPassword;
|
|
3781
|
+
/**
|
|
3782
|
+
* Credentials from the first step of an e-mail registration.
|
|
3783
|
+
*
|
|
3784
|
+
* The account is created on the SECOND step, and that request carries no password — the server
|
|
3785
|
+
* has been holding its hash since the first one. Without keeping it here for the short gap
|
|
3786
|
+
* between the two, a player who registers is never remembered: `autoLogin()` has nothing to
|
|
3787
|
+
* replay, and the next launch drops them back on the login screen. Signing in with the same
|
|
3788
|
+
* password does remember them, which made the difference look like a bug in the game.
|
|
3789
|
+
*/
|
|
3790
|
+
private pendingRegistration;
|
|
3629
3791
|
constructor(ctx: ClientContext);
|
|
3630
3792
|
get context(): AuthContext | null;
|
|
3631
3793
|
get isLoggedIn(): boolean;
|
|
@@ -3648,7 +3810,37 @@ declare class AuthenticationService {
|
|
|
3648
3810
|
loginWithDeviceID(): Promise<OperationResult<ClientState>>;
|
|
3649
3811
|
loginWithTelegram(): Promise<OperationResult<ClientState>>;
|
|
3650
3812
|
loginWithEmail(email: string, password: string): Promise<OperationResult<ClientState>>;
|
|
3651
|
-
|
|
3813
|
+
/**
|
|
3814
|
+
* Start a registration by e-mail.
|
|
3815
|
+
*
|
|
3816
|
+
* ⚠ **This never creates an account by itself.** The server stores the attempt and mails a
|
|
3817
|
+
* code; the player appears on {@link confirmEmailRegistration}. A screen that waits for a
|
|
3818
|
+
* session here will spin forever.
|
|
3819
|
+
*
|
|
3820
|
+
* Why it works this way: without confirmation anyone can take someone else's address in a
|
|
3821
|
+
* single request, and the real owner is then unable to register and receives no e-mail at all.
|
|
3822
|
+
* This is platform behaviour — no title can switch it off.
|
|
3823
|
+
*
|
|
3824
|
+
* The answer is deliberately identical for a free and for a taken address — otherwise this form
|
|
3825
|
+
* would answer the question "does this person have an account here".
|
|
3826
|
+
*/
|
|
3827
|
+
registerWithEmail(email: string, password: string): Promise<OperationResult<EmailRegistrationOutcome>>;
|
|
3828
|
+
/**
|
|
3829
|
+
* Finish a registration: exchange the code from the e-mail for a session.
|
|
3830
|
+
*
|
|
3831
|
+
* The password is not passed again — the server has been holding its hash since the first step,
|
|
3832
|
+
* and the plaintext never existed anywhere but that one request.
|
|
3833
|
+
*/
|
|
3834
|
+
confirmEmailRegistration(email: string, code: string): Promise<OperationResult<ClientState>>;
|
|
3835
|
+
/**
|
|
3836
|
+
* Mail the confirmation code again.
|
|
3837
|
+
*
|
|
3838
|
+
* A NEW code arrives, not the previous one: the server keeps only its hash and cannot re-send
|
|
3839
|
+
* what it does not have. The last code mailed is the one that works.
|
|
3840
|
+
*
|
|
3841
|
+
* Always resolves successfully, whatever happened on the server — see the note on the action.
|
|
3842
|
+
*/
|
|
3843
|
+
resendVerificationCode(email: string): Promise<OperationResult<void>>;
|
|
3652
3844
|
loginWithGoogle(googleIDToken: string): Promise<OperationResult<ClientState>>;
|
|
3653
3845
|
/**
|
|
3654
3846
|
* Step 1 of wallet login: request the challenge message the wallet must sign. The signing itself
|
|
@@ -3662,7 +3854,6 @@ declare class AuthenticationService {
|
|
|
3662
3854
|
* {@link autoLogin} routes AuthType.Wallet to the default (fail) branch.
|
|
3663
3855
|
*/
|
|
3664
3856
|
loginWithWallet(walletAddress: string, networkID: string, signature: string): Promise<OperationResult<ClientState>>;
|
|
3665
|
-
loginWithPlatformToken(authToken: string): Promise<OperationResult<ClientState>>;
|
|
3666
3857
|
/**
|
|
3667
3858
|
* Exchange a one-time SSO code from idosgames.com for a title session.
|
|
3668
3859
|
*
|
|
@@ -4571,6 +4762,17 @@ declare class SocialService {
|
|
|
4571
4762
|
constructor(ctx: ClientContext);
|
|
4572
4763
|
getFriendsList(): Promise<OperationResult<FriendsListResponse>>;
|
|
4573
4764
|
getIncomingRequests(): Promise<OperationResult<FriendsListResponse>>;
|
|
4765
|
+
/**
|
|
4766
|
+
* Requests this player has SENT and that are still unanswered.
|
|
4767
|
+
*
|
|
4768
|
+
* ⚠ The only way to know them across sessions. `OutgoingRequests` in the cache is otherwise
|
|
4769
|
+
* filled solely by your own `sendFriendRequest()` calls this run, so after a restart — or on a
|
|
4770
|
+
* second device — a player who already asked someone shows up as "not asked yet" and the UI
|
|
4771
|
+
* offers "Add" again. (`OutgoingCount` cannot fix that: it is a number, and the UI needs ids.)
|
|
4772
|
+
*
|
|
4773
|
+
* Call it on the screen that renders "Add friend" suggestions, next to `getRecommendedFriends()`.
|
|
4774
|
+
*/
|
|
4775
|
+
getOutgoingRequests(): Promise<OperationResult<FriendsListResponse>>;
|
|
4574
4776
|
getRecommendedFriends(limit?: number): Promise<OperationResult<FriendsListResponse>>;
|
|
4575
4777
|
sendFriendRequest(targetUserID: string): Promise<OperationResult<FriendActionResponse>>;
|
|
4576
4778
|
acceptFriendRequest(requesterUserID: string): Promise<OperationResult<FriendActionResponse>>;
|
|
@@ -4683,7 +4885,15 @@ declare class GameLoopService {
|
|
|
4683
4885
|
boardLoopBuild(buildingIndex: number): Promise<OperationResult<BuildResponse>>;
|
|
4684
4886
|
boardSpecialChoose(choiceID: string, selectedOptionID?: string): Promise<OperationResult<SpecialChooseResponse>>;
|
|
4685
4887
|
boardSpecialApplyMultiplier(existingRelatedEntityID?: string): Promise<OperationResult<SpecialApplyMultiplierResponse>>;
|
|
4686
|
-
|
|
4888
|
+
/**
|
|
4889
|
+
* Claims the Timed Special reward.
|
|
4890
|
+
*
|
|
4891
|
+
* @param runStats Optional gameplay statistics of the run ({MetricID: value}), used by the server
|
|
4892
|
+
* to pay the run-stat reward ladders on top of the time ladder. Omit it whenever the run never
|
|
4893
|
+
* happened or its numbers could not be recovered — the server then pays by time alone, which is
|
|
4894
|
+
* the correct outcome, not a degraded one.
|
|
4895
|
+
*/
|
|
4896
|
+
boardSpecialClaim(runStats?: Record<string, number>): Promise<OperationResult<SpecialClaimResponse>>;
|
|
4687
4897
|
/** Fetch this player's Community Chest state (active group, if any) + seconds remaining. */
|
|
4688
4898
|
getCommunityChestState(): Promise<OperationResult<CommunityChestUserStateResponse>>;
|
|
4689
4899
|
/** Join an existing forming/active Community Chest group, or create one if none is open. */
|
|
@@ -4840,9 +5050,27 @@ declare class AuthenticationApi {
|
|
|
4840
5050
|
loginWithTelegram(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
4841
5051
|
loginWithEmail(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
4842
5052
|
loginWithGoogle(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
4843
|
-
loginWithPlatformToken(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
4844
5053
|
loginWithSsoCode(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
4845
|
-
|
|
5054
|
+
/**
|
|
5055
|
+
* Start a registration. Anonymous.
|
|
5056
|
+
*
|
|
5057
|
+
* ⚠ Success does NOT mean the account exists. This only mails a code; the player is created by
|
|
5058
|
+
* {@link confirmEmailRegistration}. Always move on to the code screen — there is no flag to
|
|
5059
|
+
* check and no title that skips this step: confirmation is platform behaviour, not a setting.
|
|
5060
|
+
*
|
|
5061
|
+
* The response carries only `CodeTtlMinutes` and `ResendCooldownSeconds`, so the screen can
|
|
5062
|
+
* state how long the code lives and when "send again" will do something.
|
|
5063
|
+
*/
|
|
5064
|
+
registerWithEmail(request: AuthenticationRequest): Promise<OperationResult<EmailRegistrationResponse>>;
|
|
5065
|
+
/** Confirm the address with the code from the e-mail and create the player. Anonymous. */
|
|
5066
|
+
confirmEmailRegistration(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
5067
|
+
/**
|
|
5068
|
+
* Mail the confirmation code again. Anonymous.
|
|
5069
|
+
*
|
|
5070
|
+
* Always answers with success — whether a registration was started, whether the cooldown has
|
|
5071
|
+
* passed, whether the letter left. Any other answer would say something about the address.
|
|
5072
|
+
*/
|
|
5073
|
+
resendVerificationCode(request: AuthenticationRequest): Promise<OperationResult<SuccessResponse>>;
|
|
4846
5074
|
/** Step 1 of wallet login: fetch the challenge message the wallet must sign. Anonymous. */
|
|
4847
5075
|
requestWalletChallenge(request: AuthenticationRequest): Promise<OperationResult<WalletChallengeResponse>>;
|
|
4848
5076
|
/** Step 2 of wallet login: exchange the signed challenge for a session. */
|
|
@@ -5157,6 +5385,7 @@ declare class SocialApi {
|
|
|
5157
5385
|
private send;
|
|
5158
5386
|
getFriendsList(request: SocialRequest): Promise<OperationResult<FriendsListResponse>>;
|
|
5159
5387
|
getIncomingRequests(request: SocialRequest): Promise<OperationResult<FriendsListResponse>>;
|
|
5388
|
+
getOutgoingRequests(request: SocialRequest): Promise<OperationResult<FriendsListResponse>>;
|
|
5160
5389
|
getRecommendedFriends(request: SocialRequest): Promise<OperationResult<FriendsListResponse>>;
|
|
5161
5390
|
sendFriendRequest(request: SocialRequest): Promise<OperationResult<FriendActionResponse>>;
|
|
5162
5391
|
acceptFriendRequest(request: SocialRequest): Promise<OperationResult<FriendActionResponse>>;
|
|
@@ -5497,6 +5726,20 @@ declare function readSsoCodeFromUrl(): SsoCodeFromUrl | null;
|
|
|
5497
5726
|
*
|
|
5498
5727
|
* Top-level redirect rather than a popup: popups are blocked by default on mobile browsers and
|
|
5499
5728
|
* inside standalone/PWA windows, which is exactly where games run.
|
|
5729
|
+
*
|
|
5730
|
+
* ⚠ **No PKCE here, deliberately — and the plumbing for it exists on the other side.** The /sso
|
|
5731
|
+
* page reads a `code_challenge` query parameter, the management backend stores it on the code, and
|
|
5732
|
+
* the engine verifies a `code_verifier` at exchange. Nothing in this SDK ever puts one in the URL,
|
|
5733
|
+
* so on the web that whole path stays inert.
|
|
5734
|
+
*
|
|
5735
|
+
* That is the intended state, not an omission: on the web the code comes back in the URL FRAGMENT,
|
|
5736
|
+
* which the browser never sends to a server, so there is no leg for anyone to intercept it on. PKCE
|
|
5737
|
+
* exists for the NATIVE flow, where the code would come back over an app URL scheme that any app on
|
|
5738
|
+
* the device can claim — and that flow does send one (see the Unity SDK's native-SSO manager).
|
|
5739
|
+
*
|
|
5740
|
+
* So don't "fix" this by adding a challenge here: `loginWithSsoCode` has no `CodeVerifier` field to
|
|
5741
|
+
* present at exchange, so a challenge added to the URL by hand would produce a code that this SDK
|
|
5742
|
+
* can never redeem.
|
|
5500
5743
|
*/
|
|
5501
5744
|
declare function beginSsoRedirect(options: {
|
|
5502
5745
|
titleID: string;
|
|
@@ -5702,4 +5945,4 @@ declare class LocalizationCache {
|
|
|
5702
5945
|
private versionsKey;
|
|
5703
5946
|
}
|
|
5704
5947
|
|
|
5705
|
-
export { type AcceptTradeOfferResponse, type ActivateReferralCodeResponse, type ActivateTimedBoostResponse, type ActiveBoostWindowInfo, type ActiveCoopEventInfo, type ActiveDealSlotInfo, type ActiveEventInfo, type ActiveSeasonInfo, type ActiveTimedBoost, type AdConsentSettings, type AdConsentState, type AdCreditsData, type AdDailyData, type AdFraudFlags, type AdFrequencyCappingSettings, type AdPendingRequest, type AdPlacementDefinition, type AdPlacementUserState, type AdProviderDefinition, AdProviderKind, type AdSessionData, AdType, type AdUnitConfig, type AdVerificationSettings, type AddQuestProgressResponse, type AdvertisingDefinitions, type AppOpenSettings, AttackOutcome, type AttackResponse, type AttributionInput, type AuthContext, AuthType, AuthenticationAction, type AuthenticationRequest, AuthenticationService, BannerPosition, type BannerSettings, type BaseRequest, type BatchDeleteUserCustomDataResponse, type BatchGetPublicUserCustomDataResponse, type BatchItemResult, type BatchResponse, type BatchSetUserCustomDataResponse, type BattleResult, type BattleStepConfig, type BlockchainAccountSafetyPolicy, BlockchainAction, type BlockchainConfigResponse, type BlockchainDefinitions, type BlockchainNetworkDefinition, BlockchainNetworkType, type BlockchainNftCollectionBinding, BlockchainOperationCategory, type BlockchainRequest, BlockchainService, type BlockchainStats, type BlockchainSystemState, BlockchainTransactionStatus, BlockchainTransactionType, type BoardLoopDefinition, type BoardLoopState, type BoardPendingInteraction, type BoardRollResponse, BodyPart, type BoostTriggerCounter, BoostWindowKind, BroadcastStatus, type BuildResponse, type BuildingState, type CancelMatchResponse, type CancelTradeOfferResponse, type ChangeUsernameResponse, CharacterAction, type CharacterClassification, type CharacterDefinition, type CharacterDefinitions, type CharacterEquipment, type CharacterEquipmentSlot, type CharacterIdentity, type CharacterLevelRef, type CharacterModel, type CharacterRankLadder, type CharacterRequest, CharacterService, type CharacterStatRef, type CharacterUnequipResult, type CharacterUnlock, CheckoutService, type ClaimAllRewardsBatchResponse, type ClaimAllRewardsResult, type ClaimComebackRewardResponse, type ClaimCycleRewardResponse, type ClaimCycleRewardsBatchResponse, type ClaimDailyRewardResponse, type ClaimDealMilestoneResponse, type ClaimDealMilestonesBatchResponse, type ClaimGrandPrizeResponse, type ClaimGroupCompletionRewardResponse, type ClaimInviteRewardResponse, type ClaimInviteRewardsBatchResponse, type ClaimLeaderboardMilestoneResponse, type ClaimLeaderboardMilestonesBatchResponse, type ClaimMilestoneRewardResponse, type ClaimMilestoneRewardsBatchResponse, type ClaimMilestonesBatchResponse, type ClaimQuestRewardResponse, type ClaimQuestRewardsBatchResponse, type ClaimRewardResponse, type ClaimSetRewardResponse, type ClaimSetRewardsBatchResponse, type ClaimTierRewardResponse, type ClaimTierRewardsBatchResponse, ClientPlatform, type ClientState, CloudCodeAction, CloudCodeErrorCode, type CloudCodeLogEntry, CloudCodeLogLevel, type CloudCodeRequest, CloudCodeRevisionSelection, CloudCodeService, type CodeExecutionError, type CollectIdleAccrualResponse, CollectionAction, type CollectionDefinitions, type CollectionGlobalSettings, type CollectionRequest, CollectionService, type CollectionSetRef, type CollectionTradeOfferDocument, CommissionSink, type CommunityChestClaimResponse, type CommunityChestGroupDocument, type CommunityChestGroupStateResponse, type CommunityChestHistoryEntry, type CommunityChestLeaveResponse, type CommunityChestMember, CommunityChestMemberStatus, type CommunityChestSharedState, CommunityChestStatus, type CommunityChestUserStateResponse, type ConfirmWithdrawalResponse, type ConversionDailyCounter, ConversionRateMode, type ConversionTarget, type ConvertResponse, type CoopBuildObjectsMemberState, type CoopBuildObjectsState, type CoopClaimRewardResponse, CoopEventAction, type CoopEventDefinitions, type CoopEventRequest, CoopEventService, type CoopGroupDocument, type CoopGroupMember, type CoopGroupStateResponse, CoopGroupStatus, type CoopLeaveGroupResponse, CoopMemberStatus, type CoopPartnerObjectState, type CoopSpinResponse, type CoopUserStateResponse, CraftAction, type CraftDefinitions, type CraftDefinitionsResponse, type CraftRequest, type CraftResponse, CraftService, type CraftSingleResult, CraftType, type CreateMatchResponse, type CryptoConvertResponse, type CryptoCurrencyDefinition, type CryptoCurrencyPermissions, type CryptoLimits, type CryptoNetworkBinding, type CryptoShortfall, CurrencyAction, type CurrencyAudit, type CurrencyConversion, type CurrencyDefinitions, type CurrencyRequest, CurrencyService, CurrencyStatus, CurrencyType, CurveInterpolation, type CurvePoint, CurveShape, CustomDataBucket, CustomDataValueType, CustomDataWriter, type CyclicSchedule, DEFAULT_BASE_URL, type DailyUsageRecord, type DealMilestoneProgressInfo, DealNodeRuntimeStatus, DealOfferAction, DealOfferActivationStatus, type DealOfferDefinitions, type DealOfferRequest, DealOfferService, type DealOffersDefinitionResponse, type DeclineTradeOfferResponse, type DepositNFTResponse, type DepositTokenResponse, type DismissDealResponse, type DonationResponse, EnvelopeType, type EquipItemsResponse, type EquipSlotPair, type EquipmentPreset, type EquipmentSlot, type EquippedItem, type EventMap, type EventMilestoneClaimResponse, type EventTokenAddress, type EventTokenConversion, type EventTokenDefinition, type EventTokenGrantResponse, type EventTokenMilestoneData, type EventTokenOperation, type EventTokenSpendResponse, EventTokenType, type ExecuteCloudCodeResponse, type ExecuteNodeResponse, type ExperimentDefinition, type ExperimentDefinitions, type ExperimentVariant, type ExperimentVariantCondition, type FodderConsumedEntry, FodderSelectionMode, FodderValuationMode, type FriendActionResponse, FriendActionStatus, type FriendPublicProfile, type FriendsListResponse, GameLoopAction, type GameLoopDefinitions, type GameLoopRequest, GameLoopService, type GetActiveBoostWindowsResponse, type GetActiveDealsResponse, type GetActiveEventsResponse, type GetActiveTimedBoostsResponse, type GetCharactersResponse, type GetLeaderboardResponse, type GetLeaderboardsBatchResponse, type GetMatchDefinitionsResponse, type GetMilestoneRewardMultiplierResponse, type GetMyProgressResponse, type GetMyUserCustomDataResponse, type GetOverviewBatchResponse, type GetProgressBatchResponse, type GetPublicTitleDataResponse, type GetPublicUserCustomDataResponse, type GetTradeOffersResponse, type GetUserQuestStateResponse, type GetUserTutorialStateResponse, type GrantStatusTokensResponse, type GrantTokensBatchResponse, type GrantedCollectible, type HeistCell, IDosGamesClient, type IDosGamesClientConfig, IDosGamesData, type IDosGamesSettings, type IapProductDefinition, type IapProductPurchaseState, type IapProductRules, IapProductType, IapPurchaseStatus, type IapStore, IapStore$1 as IapStoreValues, type IceServer, type InstantBattleDefinitions, type InstantBattleResponse, type InstantBattleRule, type InterstitialSettings, type InventoryDelta, ItemAction, type ItemCatalog, type ItemDefinition, type ItemDefinitions, type ItemEquipment, type ItemMetadata, type ItemRequest, ItemService, type ItemStats, type ItemTotals, type ItemUpgrade, type ItemUpgradeFodder, type ItemUpgradeRef, type JsonValue, KeyValueStorage, KycStatus, KycTier, LeaderboardAction, type LeaderboardDefinitions, type LeaderboardMilestoneRef, type LeaderboardOverview, type LeaderboardRequest, type LeaderboardScoreRef, LeaderboardService, type LeaderboardUserEntry, type LeaveRoomResponse, type LevelsPreset, type LimitSpec, type LinkedWalletInfo, type Listener, LocalizationAction, LocalizationCache, type LocalizationDefinitions, type LocalizationLocaleDefinition, type LocalizationLocaleInfo, type LocalizationManifestResponse, LocalizationMissingKeyMode, type LocalizationParams, type LocalizationRequest, LocalizationService, type LocalizationState, type LocalizationTableRef, type LocalizationTableResponse, LootboxAction, type LootboxAmountRange, type LootboxDefinitions, type LootboxDefinitionsResponse, type LootboxGlobalSettings, type LootboxOpenResponse, type LootboxPityRule, type LootboxPityTriggerResponse, type LootboxRequest, type LootboxRewardRoll, type LootboxRewardSlot, LootboxService, type LootboxSupplyRule, type MailboxBroadcastDocument, type MailboxDefinition, type MailboxMessageDocument, MailboxMessageSource, MailboxMessageStatus, type MailboxMessageTypeDefinition, type MailboxSegmentDefinition, MarketGoodsType, MarketOfferStatus, MarketOfferType, MarketplaceAction, type MarketplaceActionCounter, type MarketplaceAuctionSettings, type MarketplaceAuctionState, type MarketplaceBidRefund, type MarketplaceBrowseResponse, type MarketplaceBuyOrderSettings, type MarketplaceCommissionOverride, type MarketplaceCommissionPolicy, type MarketplaceCreateOfferResponse, type MarketplaceDefinitions, type MarketplaceDirectTradeSettings, type MarketplaceGetDefinitionsResponse, type MarketplaceGroupedOfferView, type MarketplaceGroupedOffersResponse, type MarketplaceHistoryEntryView, type MarketplaceHistoryResponse, type MarketplaceListingSettings, type MarketplaceMatchingSettings, type MarketplaceMyStateResponse, type MarketplaceOfferResponse, type MarketplaceOfferView, type MarketplacePlaceBidResponse, type MarketplacePricePolicy, type MarketplaceRequest, MarketplaceService, type MarketplaceSettlementResponse, type MarketplaceTradabilityPolicy, MatchAction, type MatchDefinitions, type MatchRequest, MatchService, MatchStatus, type MatchesPageResponse, type MilestoneClaimEntry, type MilestoneClaimRef, type MilestoneDefinition, MultiplayerAction, MultiplayerChatMode, type MultiplayerDefinitions, type MultiplayerRequest, MultiplayerService, type MultiplayerSystemState, MultiplayerTopology, type NFTModel, type NFTNetworkBinding, type NFTTransactionDocument, type NFTWithdrawalResponse, type NftCollectionStats, type NftStatsContainer, type OpenCollectionChestResponse, type OpenPackResponse, type OperationFailure, type OperationFailureReason, type OperationResult, type OperationSuccess, type PackOpenResult, type PaymentProof, type PaymentRequirement, type PendingWithdrawalRef, PlatformAdapter, type PlatformBlockchainState, type PlatformLoginResponse, type PlayerEconomyTuningState, type PollResponse, PremiumAction, type PremiumAdReduction, type PremiumDefinitions, type PremiumDefinitionsResponse, type PremiumPurchaseResponse, type PremiumRequest, PremiumService, type PremiumStateResponse, type PremiumSubscription, type PriceOption, type PriceOptions, type PublishResponse, PurchaseAction, type PurchaseBatchResponse, type PurchaseDefinitions, type PurchaseReceiptRef, type PurchaseRequest, PurchaseService, type PurchaseValidationBatchResponse, type PurchaseValidationResponse, type PvPMatch, QuestAction, type QuestAvailability, type QuestClaimRef, type QuestCycleDefinition, type QuestDefinition, type QuestDefinitions, type QuestGroupCompletionDefinition, type QuestIdentity, type QuestLinking, type QuestObjectiveDefinition, QuestObjectiveSource, type QuestPhaseDefinition, type QuestPointsTrackView, QuestPrerequisiteMode, type QuestPresetBindings, type QuestPresetRegistry, type QuestProgressUpdate, type QuestRequest, type QuestReward, QuestService, QuestStatus, RaidMode, type RaidResponse, type RealtimeEnvelope, type RechargeConfig, type RecordShowResponse, ReferralAction, type ReferralDefinitions, type ReferralDefinitionsResponse, type ReferralInviteRewardState, type ReferralRequest, ReferralService, type RelativeWindow, type ResourceBundle, type ResourceConsume, type ResourceDualPartyResult, type ResourceEntry, ResourceEntryType, type ResourceGrant, type ResourceOperation, type ResourceTransferResult, type RetryWithdrawalResponse, RewardAction, type RewardDefinitions, type RewardDefinitionsResponse, type RewardRequest, RewardService, type RewardedVideoSettings, type RollActionData, type RoomListItem, type RoomMemberView, type RoomSnapshotResponse, RoomVisibility, type RoomsPageResponse, type ScalarCurveSpec, type ScheduleChain, type ScheduleChainPhase, ScheduleMode, type ScheduleSpec, type ScheduledWindow, type SdkEvents, SeasonAction, type SeasonDefinitions, type SeasonRequest, SeasonService, type SeasonTierRewardBundle, type SeasonTierRewardMultiplier, type SeasonTierRewardSet, type SegmentGate, type SendTradeOfferResponse, type SetUserCustomDataResponse, type SettingsInput, SocialAction, type SocialCounters, type SocialRequest, SocialService, type SocialTimelineEvent, type SolanaWithdrawalSignature, type SpecialApplyMultiplierResponse, SpecialChoiceMode, type SpecialChooseResponse, type SpecialClaimResponse, type SpecialModeOfferData, type SpecialPendingState, type SpendRewardDefinition, type SpendTokensBatchResponse, type SsoCodeFromUrl, type StatDefinition, type StatRequirement, type StatsPreset, StoreAction, type StoreDefinitions, type StorePurchaseRef, type StorePurchaseResponse, type StorePurchaseState, type StoreRequest, StoreService, StoreType, type StoredLocalizationTable, type SubmitScoreResponse, type SubmitScoresBatchResponse, type SuccessResponse, TimedBoostAction, type TimedBoostDefinitions, type TimedBoostRequest, TimedBoostService, TimedBoostStackingPolicy, TimedEventAction, type TimedEventDefinitions, type TimedEventGrantRef, type TimedEventInstanceRef, type TimedEventMilestoneRef, type TimedEventRequest, TimedEventService, type TimedEventSpendRef, TimelineEventType, type TimelineResponse, TitleAction, TitleConfig, TitleCustomDataAction, type TitleCustomDataDefinitions, type TitleCustomDataKeyDefinition, type TitleCustomDataRecord, type TitleCustomDataRequest, TitleCustomDataService, TitleDataBucket, TitleDataScope, type TitlePublicConfigurationModel, type TitleRequest, TitleService, type TokenCurrencyStats, type TokenStatsContainer, type TokenTransactionDocument, type TokenWithdrawalResponse, TradeOfferStatus, TransactionDirection, type TransactionHistoryResponse, type TriggerContext, type TriggerSource, TutorialAction, type TutorialAvailability, type TutorialBlockingPolicy, TutorialBoardAction, type TutorialBoardScript, type TutorialClaimResponse, type TutorialDefinitions, type TutorialFlowBatchResponse, type TutorialFlowDefinition, type TutorialFlowPolicy, type TutorialFlowResponse, TutorialFlowStatus, type TutorialFlowView, type TutorialGateCondition, TutorialGateMode, type TutorialGlobalSettings, type TutorialIdentity, type TutorialPresetBindings, type TutorialPresetRegistry, type TutorialRequest, TutorialRestartPolicy, type TutorialReward, TutorialScriptModule, type TutorialScriptedOutcome, type TutorialStepCompletion, TutorialStepCompletionMode, type TutorialStepDefinition, type TutorialStepEffects, type TutorialStepIdentity, type TutorialStepPolicy, type TutorialStepProgress, TypedEmitter, type UnequipAllCharactersResponse, type UnequipItemsResponse, type UnlockCharacterResponse, type UnlockCharactersBatchResponse, type UnstackableItemInstanceState, type Unsubscribe, type UpdateMatchResponse, type UpgradeCharacterLevelResponse, type UpgradeCharacterLevelsBatchResponse, type UpgradeItemLevelResponse, type UpgradeLevelsBatchResponse, type UpgradeLevelsOptions, type UpgradeStatLevelResponse, type UpgradeStatLevelsBatchResponse, type UsageReactivationEvent, type UsageTimeStats, type UseCollectibleJokerResponse, UserAction, type UserAdvertisingState, type UserBlockchainState, type UserBlockchainStateResponse, type UserCharactersState, type UserClaimRewardState, type UserCollectionState, type UserComebackState, type UserCommunityChestState, type UserCoopEventState, type UserCryptoComplianceCounters, type UserCryptoCurrencyState, UserCustomDataAction, type UserCustomDataBatchDeleteItem, type UserCustomDataBatchSetItem, type UserCustomDataDefinitions, type UserCustomDataKeyDefinition, type UserCustomDataRecord, type UserCustomDataRequest, UserCustomDataService, type UserCustomDataState, type UserDailyCalendarState, type UserDailyCounters, UserData, type UserDealNodeLifetimeCounts, type UserDealNodeState, type UserDealOfferActivationState, type UserDealOfferHistory, type UserDealOffersState, type UserDealOffersStateResponse, type UserDealSlotState, type UserDealTrackState, type UserDepositAddress, type UserEventTokenProgress, type UserEventTokensState, type UserGameLoopsState, type UserIdleAccrualState, type UserInventoryState, type UserKycState, type UserLeaderboardProgress, type UserLeaderboardsState, type UserLootboxPityCounter, type UserLootboxState, type UserMailboxState, type UserMarketplaceState, type UserMatchCreationLimitState, type UserMatchState, type UserPremiumState, type UserPublicDataModel, type UserPurchaseState, type UserQuestCycleState, type UserQuestObjectiveProgress, type UserQuestProgress, type UserQuestState, type UserReferralState, type UserReferralStateResponse, type UserRequest, type UserRewardState, type UserRewardsStateResponse, type UserSeasonState, type UserSeasonStateResponse, type UserSeasonsState, UserService, type UserSocialState, type UserState, type UserStateSlice, type UserStateVersions, type UserStoreState, type UserTimedBoostsState, type UserTimedEventStateResponse, type UserTutorialFlowState, type UserTutorialState, type UserTutorialStepState, type UserUsageState, type UserVirtualCurrencyState, type VirtualCurrencyDefinition, type VirtualCurrencyEconomy, type VirtualCurrencyPermissions, type WalletChallengeResponse, WalletLinkType, type WithdrawalSignatureResponse, type WithdrawalSplit, beginSsoRedirect, claimedMilestoneIDs, createIDosGamesClient, curveMultiplier, evaluateCurve, grantedPremiumTiers, isCurveConfigured, isFail, isMilestoneClaimed, isOk, normalizeBlockchainCategory, readSsoCodeFromUrl, roundAmount, zPaymentProof, zPriceOption, zPriceOptions };
|
|
5948
|
+
export { type AcceptTradeOfferResponse, type ActivateReferralCodeResponse, type ActivateTimedBoostResponse, type ActiveBoostWindowInfo, type ActiveCoopEventInfo, type ActiveDealSlotInfo, type ActiveEventInfo, type ActiveSeasonInfo, type ActiveTimedBoost, type AdConsentSettings, type AdConsentState, type AdCreditsData, type AdDailyData, type AdFraudFlags, type AdFrequencyCappingSettings, type AdPendingRequest, type AdPlacementDefinition, type AdPlacementUserState, type AdProviderDefinition, AdProviderKind, type AdSessionData, AdType, type AdUnitConfig, type AdVerificationSettings, type AddQuestProgressResponse, type AdvertisingDefinitions, type AppOpenSettings, AttackOutcome, type AttackResponse, type AttributionInput, type AuthContext, AuthType, AuthenticationAction, type AuthenticationRequest, AuthenticationService, BannerPosition, type BannerSettings, type BaseRequest, type BatchDeleteUserCustomDataResponse, type BatchGetPublicUserCustomDataResponse, type BatchItemResult, type BatchResponse, type BatchSetUserCustomDataResponse, type BattleResult, type BattleStepConfig, type BlockchainAccountSafetyPolicy, BlockchainAction, type BlockchainConfigResponse, type BlockchainDefinitions, type BlockchainNetworkDefinition, BlockchainNetworkType, type BlockchainNftCollectionBinding, BlockchainOperationCategory, type BlockchainRequest, BlockchainService, type BlockchainStats, type BlockchainSystemState, BlockchainTransactionStatus, BlockchainTransactionType, type BoardLoopDefinition, type BoardLoopState, type BoardPendingInteraction, type BoardRollResponse, BodyPart, type BoostTriggerCounter, BoostWindowKind, BroadcastStatus, type BuildResponse, type BuildingState, type CancelMatchResponse, type CancelTradeOfferResponse, type ChangeUsernameResponse, CharacterAction, type CharacterClassification, type CharacterDefinition, type CharacterDefinitions, type CharacterEquipment, type CharacterEquipmentSlot, type CharacterIdentity, type CharacterLevelRef, type CharacterModel, type CharacterRankLadder, type CharacterRequest, CharacterService, type CharacterStatRef, type CharacterUnequipResult, type CharacterUnlock, CheckoutService, type ClaimAllRewardsBatchResponse, type ClaimAllRewardsResult, type ClaimComebackRewardResponse, type ClaimCycleRewardResponse, type ClaimCycleRewardsBatchResponse, type ClaimDailyRewardResponse, type ClaimDealMilestoneResponse, type ClaimDealMilestonesBatchResponse, type ClaimGrandPrizeResponse, type ClaimGroupCompletionRewardResponse, type ClaimInviteRewardResponse, type ClaimInviteRewardsBatchResponse, type ClaimLeaderboardMilestoneResponse, type ClaimLeaderboardMilestonesBatchResponse, type ClaimMilestoneRewardResponse, type ClaimMilestoneRewardsBatchResponse, type ClaimMilestonesBatchResponse, type ClaimQuestRewardResponse, type ClaimQuestRewardsBatchResponse, type ClaimRewardResponse, type ClaimSetRewardResponse, type ClaimSetRewardsBatchResponse, type ClaimTierRewardResponse, type ClaimTierRewardsBatchResponse, ClientPlatform, type ClientState, CloudCodeAction, CloudCodeErrorCode, type CloudCodeLogEntry, CloudCodeLogLevel, type CloudCodeRequest, CloudCodeRevisionSelection, CloudCodeService, type CodeExecutionError, type CollectIdleAccrualResponse, CollectionAction, type CollectionDefinitions, type CollectionGlobalSettings, type CollectionRequest, CollectionService, type CollectionSetRef, type CollectionTradeOfferDocument, CommissionSink, type CommunityChestClaimResponse, type CommunityChestGroupDocument, type CommunityChestGroupStateResponse, type CommunityChestHistoryEntry, type CommunityChestLeaveResponse, type CommunityChestMember, CommunityChestMemberStatus, type CommunityChestSharedState, CommunityChestStatus, type CommunityChestUserStateResponse, type ConfirmWithdrawalResponse, type ConversionDailyCounter, ConversionRateMode, type ConversionTarget, type ConvertResponse, type CoopBuildObjectsMemberState, type CoopBuildObjectsState, type CoopClaimRewardResponse, CoopEventAction, type CoopEventDefinitions, type CoopEventRequest, CoopEventService, type CoopGroupDocument, type CoopGroupMember, type CoopGroupStateResponse, CoopGroupStatus, type CoopLeaveGroupResponse, CoopMemberStatus, type CoopPartnerObjectState, type CoopSpinResponse, type CoopUserStateResponse, CraftAction, type CraftDefinitions, type CraftDefinitionsResponse, type CraftRequest, type CraftResponse, CraftService, type CraftSingleResult, CraftType, type CreateMatchResponse, type CryptoConvertResponse, type CryptoCurrencyDefinition, type CryptoCurrencyPermissions, type CryptoLimits, type CryptoNetworkBinding, type CryptoShortfall, CurrencyAction, type CurrencyAudit, type CurrencyConversion, type CurrencyDefinitions, type CurrencyRequest, CurrencyService, CurrencyStatus, CurrencyType, CurveInterpolation, type CurvePoint, CurveShape, CustomDataBucket, CustomDataValueType, CustomDataWriter, type CyclicSchedule, DEFAULT_BASE_URL, type DailyUsageRecord, type DealMilestoneProgressInfo, DealNodeRuntimeStatus, DealOfferAction, DealOfferActivationStatus, type DealOfferDefinitions, type DealOfferRequest, DealOfferService, type DealOffersDefinitionResponse, type DeclineTradeOfferResponse, type DepositNFTResponse, type DepositTokenResponse, type DismissDealResponse, type DonationResponse, EnvelopeType, type EquipItemsResponse, type EquipSlotPair, type EquipmentPreset, type EquipmentSlot, type EquippedItem, type EventMap, type EventMilestoneClaimResponse, type EventTokenAddress, type EventTokenConversion, type EventTokenDefinition, type EventTokenGrantResponse, type EventTokenMilestoneData, type EventTokenOperation, type EventTokenSpendResponse, EventTokenType, type ExecuteCloudCodeResponse, type ExecuteNodeResponse, type ExperimentDefinition, type ExperimentDefinitions, type ExperimentVariant, type ExperimentVariantCondition, type FodderConsumedEntry, FodderSelectionMode, FodderValuationMode, type FriendActionResponse, FriendActionStatus, type FriendPublicProfile, type FriendsListResponse, GameLoopAction, type GameLoopDefinitions, type GameLoopRequest, GameLoopService, type GetActiveBoostWindowsResponse, type GetActiveDealsResponse, type GetActiveEventsResponse, type GetActiveTimedBoostsResponse, type GetCharactersResponse, type GetLeaderboardResponse, type GetLeaderboardsBatchResponse, type GetMatchDefinitionsResponse, type GetMilestoneRewardMultiplierResponse, type GetMyProgressResponse, type GetMyUserCustomDataResponse, type GetOverviewBatchResponse, type GetProgressBatchResponse, type GetPublicTitleDataResponse, type GetPublicUserCustomDataResponse, type GetTradeOffersResponse, type GetUserQuestStateResponse, type GetUserTutorialStateResponse, type GrantStatusTokensResponse, type GrantTokensBatchResponse, type GrantedCollectible, type HeistCell, IDosGamesClient, type IDosGamesClientConfig, IDosGamesData, type IDosGamesSettings, type IapProductDefinition, type IapProductPurchaseState, type IapProductRules, IapProductType, IapPurchaseStatus, type IapStore, IapStore$1 as IapStoreValues, type IceServer, type InstantBattleDefinitions, type InstantBattleResponse, type InstantBattleRule, type InterstitialSettings, type InventoryDelta, ItemAction, type ItemCatalog, type ItemDefinition, type ItemDefinitions, type ItemEquipment, type ItemMetadata, type ItemRequest, ItemService, type ItemStats, type ItemTotals, type ItemUpgrade, type ItemUpgradeFodder, type ItemUpgradeRef, type JsonValue, KeyValueStorage, KycStatus, KycTier, LeaderboardAction, type LeaderboardDefinitions, type LeaderboardMilestoneRef, type LeaderboardOverview, type LeaderboardRequest, type LeaderboardScoreRef, LeaderboardService, type LeaderboardUserEntry, type LeaveRoomResponse, type LevelsPreset, type LimitSpec, type LinkedWalletInfo, type Listener, LocalizationAction, LocalizationCache, type LocalizationDefinitions, type LocalizationLocaleDefinition, type LocalizationLocaleInfo, type LocalizationManifestResponse, LocalizationMissingKeyMode, type LocalizationParams, type LocalizationRequest, LocalizationService, type LocalizationState, type LocalizationTableRef, type LocalizationTableResponse, LootboxAction, type LootboxAmountRange, type LootboxDefinitions, type LootboxDefinitionsResponse, type LootboxGlobalSettings, type LootboxOpenResponse, type LootboxPityRule, type LootboxPityTriggerResponse, type LootboxRequest, type LootboxRewardRoll, type LootboxRewardSlot, LootboxService, type LootboxSupplyRule, type MailboxBroadcastDocument, type MailboxDefinition, type MailboxMessageDocument, MailboxMessageSource, MailboxMessageStatus, type MailboxMessageTypeDefinition, type MailboxSegmentDefinition, MarketGoodsType, MarketOfferStatus, MarketOfferType, MarketplaceAction, type MarketplaceActionCounter, type MarketplaceAuctionSettings, type MarketplaceAuctionState, type MarketplaceBidRefund, type MarketplaceBrowseResponse, type MarketplaceBuyOrderSettings, type MarketplaceCommissionOverride, type MarketplaceCommissionPolicy, type MarketplaceCreateOfferResponse, type MarketplaceDefinitions, type MarketplaceDirectTradeSettings, type MarketplaceGetDefinitionsResponse, type MarketplaceGroupedOfferView, type MarketplaceGroupedOffersResponse, type MarketplaceHistoryEntryView, type MarketplaceHistoryResponse, type MarketplaceListingSettings, type MarketplaceMatchingSettings, type MarketplaceMyStateResponse, type MarketplaceOfferResponse, type MarketplaceOfferView, type MarketplacePlaceBidResponse, type MarketplacePricePolicy, type MarketplaceRequest, MarketplaceService, type MarketplaceSettlementResponse, type MarketplaceTradabilityPolicy, MatchAction, type MatchDefinitions, type MatchRequest, MatchService, MatchStatus, type MatchesPageResponse, type MilestoneClaimEntry, type MilestoneClaimRef, type MilestoneDefinition, MultiplayerAction, MultiplayerChatMode, type MultiplayerDefinitions, type MultiplayerRequest, MultiplayerService, type MultiplayerSystemState, MultiplayerTopology, type NFTModel, type NFTNetworkBinding, type NFTTransactionDocument, type NFTWithdrawalResponse, type NftCollectionStats, type NftStatsContainer, type OpenCollectionChestResponse, type OpenPackResponse, type OperationFailure, type OperationFailureReason, type OperationResult, type OperationSuccess, type PackOpenResult, type PaymentProof, type PaymentRequirement, type PendingWithdrawalRef, PlatformAdapter, type PlatformBlockchainState, type PlatformLoginResponse, type PlayerEconomyTuningState, type PollResponse, PremiumAction, type PremiumAdReduction, type PremiumDefinitions, type PremiumDefinitionsResponse, type PremiumPurchaseResponse, type PremiumRequest, PremiumService, type PremiumStateResponse, type PremiumSubscription, type PriceOption, type PriceOptions, type PublishResponse, PurchaseAction, type PurchaseBatchResponse, type PurchaseDefinitions, type PurchaseReceiptRef, type PurchaseRequest, PurchaseService, type PurchaseValidationBatchResponse, type PurchaseValidationResponse, type PvPMatch, QuestAction, type QuestAvailability, type QuestClaimRef, type QuestCycleDefinition, type QuestDefinition, type QuestDefinitions, type QuestGroupCompletionDefinition, type QuestIdentity, type QuestLinking, type QuestObjectiveDefinition, QuestObjectiveSource, type QuestPhaseDefinition, type QuestPointsTrackView, QuestPrerequisiteMode, type QuestPresetBindings, type QuestPresetRegistry, type QuestProgressUpdate, type QuestRequest, type QuestReward, QuestService, QuestStatus, RaidMode, type RaidResponse, type RealtimeEnvelope, type RechargeConfig, type RecordShowResponse, ReferralAction, type ReferralDefinitions, type ReferralDefinitionsResponse, type ReferralInviteRewardState, type ReferralRequest, ReferralService, type RelativeWindow, type ResourceBundle, type ResourceConsume, type ResourceDualPartyResult, type ResourceEntry, ResourceEntryType, type ResourceGrant, type ResourceOperation, type ResourceTransferResult, type RetryWithdrawalResponse, RewardAction, type RewardDefinitions, type RewardDefinitionsResponse, type RewardRequest, RewardService, type RewardedVideoSettings, type RollActionData, type RoomListItem, type RoomMemberView, type RoomSnapshotResponse, RoomVisibility, type RoomsPageResponse, type ScalarCurveSpec, type ScheduleChain, type ScheduleChainPhase, ScheduleMode, type ScheduleSpec, type ScheduledWindow, type SdkEvents, SeasonAction, type SeasonDefinitions, type SeasonRequest, SeasonService, type SeasonTierRewardBundle, type SeasonTierRewardMultiplier, type SeasonTierRewardSet, type SegmentGate, type SendTradeOfferResponse, type SetUserCustomDataResponse, type SettingsInput, SocialAction, type SocialCounters, type SocialRequest, SocialService, type SocialTimelineEvent, type SolanaWithdrawalSignature, type SpecialApplyMultiplierResponse, SpecialChoiceMode, type SpecialChooseResponse, type SpecialClaimResponse, type SpecialModeOfferData, type SpecialPendingState, type SpendRewardDefinition, type SpendTokensBatchResponse, type SsoCodeFromUrl, type StatDefinition, type StatRequirement, type StatsPreset, StoreAction, type StoreDefinitions, type StorePurchaseRef, type StorePurchaseResponse, type StorePurchaseState, type StoreRequest, StoreService, StoreType, type StoredLocalizationTable, type SubmitScoreResponse, type SubmitScoresBatchResponse, type SuccessResponse, TimedBoostAction, type TimedBoostDefinitions, type TimedBoostRequest, TimedBoostService, TimedBoostStackingPolicy, TimedEventAction, type TimedEventDefinitions, type TimedEventGrantRef, type TimedEventInstanceRef, type TimedEventMilestoneRef, type TimedEventRequest, TimedEventService, type TimedEventSpendRef, TimelineEventType, type TimelineResponse, TitleAction, TitleConfig, TitleCustomDataAction, type TitleCustomDataDefinitions, type TitleCustomDataKeyDefinition, type TitleCustomDataRecord, type TitleCustomDataRequest, TitleCustomDataService, TitleDataBucket, TitleDataScope, type TitlePublicConfigurationModel, type TitleRequest, TitleService, type TokenCurrencyStats, type TokenStatsContainer, type TokenTransactionDocument, type TokenWithdrawalResponse, TradeOfferStatus, TransactionDirection, type TransactionHistoryResponse, type TriggerContext, type TriggerSource, TutorialAction, type TutorialAvailability, type TutorialBlockingPolicy, TutorialBoardAction, type TutorialBoardScript, type TutorialClaimResponse, type TutorialDefinitions, type TutorialFlowBatchResponse, type TutorialFlowDefinition, type TutorialFlowPolicy, type TutorialFlowResponse, TutorialFlowStatus, type TutorialFlowView, type TutorialGateCondition, TutorialGateMode, type TutorialGlobalSettings, type TutorialIdentity, type TutorialPresetBindings, type TutorialPresetRegistry, type TutorialRequest, TutorialRestartPolicy, type TutorialReward, TutorialScriptModule, type TutorialScriptedOutcome, type TutorialStepCompletion, TutorialStepCompletionMode, type TutorialStepDefinition, type TutorialStepEffects, type TutorialStepIdentity, type TutorialStepPolicy, type TutorialStepProgress, TypedEmitter, type UnequipAllCharactersResponse, type UnequipItemsResponse, type UnlockCharacterResponse, type UnlockCharactersBatchResponse, type UnstackableItemInstanceState, type Unsubscribe, type UpdateMatchResponse, type UpgradeCharacterLevelResponse, type UpgradeCharacterLevelsBatchResponse, type UpgradeItemLevelResponse, type UpgradeLevelsBatchResponse, type UpgradeLevelsOptions, type UpgradeStatLevelResponse, type UpgradeStatLevelsBatchResponse, type UsagePeriodRecord, type UsageReactivationEvent, type UsageTimeStats, type UseCollectibleJokerResponse, UserAction, type UserAdvertisingState, type UserBlockchainState, type UserBlockchainStateResponse, type UserCharactersState, type UserClaimRewardState, type UserCollectionState, type UserComebackState, type UserCommunityChestState, type UserCoopEventState, type UserCryptoComplianceCounters, type UserCryptoCurrencyState, UserCustomDataAction, type UserCustomDataBatchDeleteItem, type UserCustomDataBatchSetItem, type UserCustomDataDefinitions, type UserCustomDataKeyDefinition, type UserCustomDataRecord, type UserCustomDataRequest, UserCustomDataService, type UserCustomDataState, type UserDailyCalendarState, type UserDailyCounters, UserData, type UserDealNodeLifetimeCounts, type UserDealNodeState, type UserDealOfferActivationState, type UserDealOfferHistory, type UserDealOffersState, type UserDealOffersStateResponse, type UserDealSlotState, type UserDealTrackState, type UserDepositAddress, type UserEventTokenProgress, type UserEventTokensState, type UserGameLoopsState, type UserIdleAccrualState, type UserInventoryState, type UserKycState, type UserLeaderboardProgress, type UserLeaderboardsState, type UserLootboxPityCounter, type UserLootboxState, type UserMailboxState, type UserMarketplaceState, type UserMatchCreationLimitState, type UserMatchState, type UserPremiumState, type UserPublicDataModel, type UserPurchaseState, type UserQuestCycleState, type UserQuestObjectiveProgress, type UserQuestProgress, type UserQuestState, type UserReferralState, type UserReferralStateResponse, type UserRequest, type UserRewardState, type UserRewardsStateResponse, type UserSeasonState, type UserSeasonStateResponse, type UserSeasonsState, UserService, type UserSocialState, type UserState, type UserStateSlice, type UserStateVersions, type UserStoreState, type UserTimedBoostsState, type UserTimedEventStateResponse, type UserTutorialFlowState, type UserTutorialState, type UserTutorialStepState, type UserUsageState, type UserVirtualCurrencyState, type VirtualCurrencyDefinition, type VirtualCurrencyEconomy, type VirtualCurrencyPermissions, type WalletChallengeResponse, WalletLinkType, type WithdrawalSignatureResponse, type WithdrawalSplit, beginSsoRedirect, claimedMilestoneIDs, createIDosGamesClient, curveMultiplier, evaluateCurve, grantedPremiumTiers, isCurveConfigured, isFail, isMilestoneClaimed, isOk, normalizeBlockchainCategory, readSsoCodeFromUrl, roundAmount, zPaymentProof, zPriceOption, zPriceOptions };
|