@idosgames/core 0.11.0 → 0.13.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 +55 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +542 -45
- package/dist/index.d.ts +542 -45
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -526,7 +526,7 @@ interface UserStoreState {
|
|
|
526
526
|
/** Keyed by the slot address `"{storeID}:{sectionID}:{slotID}"`. */
|
|
527
527
|
Rotations?: Record<string, StoreRotationPurchaseState>;
|
|
528
528
|
}
|
|
529
|
-
type StorePurchaseResponse = { ServerTimeUtc: string; OfferID: string; Count: number; Resources?: null | ResourceOperation; };
|
|
529
|
+
type StorePurchaseResponse = { ServerTimeUtc: string; OfferID: string; Count: number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
530
530
|
type PurchaseBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | StorePurchaseResponse; }>;
|
|
531
531
|
type StoreIdentity = { DisplayName?: null | string; Description?: null | string; SortOrder?: null | number; Tags?: null | Array<string>; AssetPaths?: null | Record<string, string>; CustomParams?: null | Record<string, string>; [key: string]: unknown; };
|
|
532
532
|
type StoreAvailability = { Schedule?: null | ScheduleSpec; Gate?: null | SegmentGate; [key: string]: unknown; };
|
|
@@ -753,10 +753,10 @@ interface UserRewardState {
|
|
|
753
753
|
Comebacks?: Record<string, UserComebackState>;
|
|
754
754
|
Claims?: Record<string, UserClaimRewardState>;
|
|
755
755
|
}
|
|
756
|
-
type ClaimDailyRewardResponse = { ServerTimeUtc: string; CalendarID: string; DailyState: UserDailyCalendarState; DayNumber?: null | number; Resources?: null | ResourceOperation; };
|
|
757
|
-
type CollectIdleAccrualResponse = { ServerTimeUtc: string; AccrualID: string; IdleState: UserIdleAccrualState; AccruedSeconds?: null | number; AppliedRatePerSecond?: null | number; Resources?: null | ResourceOperation; };
|
|
758
|
-
type ClaimComebackRewardResponse = { ServerTimeUtc: string; ComebackID: string; ComebackState: UserComebackState; ClaimedTierIndex?: null | number; Resources?: null | ResourceOperation; };
|
|
759
|
-
type ClaimRewardResponse = { ServerTimeUtc: string; ClaimID: string; ClaimState: UserClaimRewardState; Resources?: null | ResourceOperation; };
|
|
756
|
+
type ClaimDailyRewardResponse = { ServerTimeUtc: string; CalendarID: string; DailyState: UserDailyCalendarState; DayNumber?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
757
|
+
type CollectIdleAccrualResponse = { ServerTimeUtc: string; AccrualID: string; IdleState: UserIdleAccrualState; AccruedSeconds?: null | number; AppliedRatePerSecond?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
758
|
+
type ClaimComebackRewardResponse = { ServerTimeUtc: string; ComebackID: string; ComebackState: UserComebackState; ClaimedTierIndex?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
759
|
+
type ClaimRewardResponse = { ServerTimeUtc: string; ClaimID: string; ClaimState: UserClaimRewardState; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
760
760
|
type GetMilestoneRewardMultiplierResponse = { Enabled: boolean; Multiplier?: null | number; Progress?: null | number; Source?: null | string; SourceKey?: null | string; };
|
|
761
761
|
type TierRewardSettings = { RewardMode?: null | string; RewardStackLowerTiers?: null | boolean; [key: string]: unknown; };
|
|
762
762
|
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; };
|
|
@@ -830,9 +830,9 @@ interface UserQuestState {
|
|
|
830
830
|
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>; };
|
|
831
831
|
type QuestProgressUpdate = { QuestID: string; Status: 'Active' | 'Completed' | 'Claimed' | 'Expired'; CycleID?: null | string; ObjectiveID?: null | string; NewValue?: null | number; ObjectiveCompleted?: null | boolean; };
|
|
832
832
|
type GetUserQuestStateResponse = { State?: null | UserQuestState; PointsTracks?: null | Record<string, QuestPointsTrackView>; };
|
|
833
|
-
type ClaimQuestRewardResponse = { ServerTimeUtc: string; QuestID: string; CycleID?: null | string; NewStatus?: null | 'Active' | 'Completed' | 'Claimed' | 'Expired'; Resources?: null | ResourceOperation; };
|
|
834
|
-
type ClaimMilestoneRewardResponse = { ServerTimeUtc: string; CycleID: string; MilestoneID: string; PointsTotalEarned?: null | number; Resources?: null | ResourceOperation; };
|
|
835
|
-
type ClaimGroupCompletionRewardResponse = { ServerTimeUtc: string; CycleID: string; GroupCompletionID: string; GroupID?: null | string; CompletedGroupQuests?: null | number; RequiredGroupQuests?: null | number; Resources?: null | ResourceOperation; };
|
|
833
|
+
type ClaimQuestRewardResponse = { ServerTimeUtc: string; QuestID: string; CycleID?: null | string; NewStatus?: null | 'Active' | 'Completed' | 'Claimed' | 'Expired'; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
834
|
+
type ClaimMilestoneRewardResponse = { ServerTimeUtc: string; CycleID: string; MilestoneID: string; PointsTotalEarned?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
835
|
+
type ClaimGroupCompletionRewardResponse = { ServerTimeUtc: string; CycleID: string; GroupCompletionID: string; GroupID?: null | string; CompletedGroupQuests?: null | number; RequiredGroupQuests?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
836
836
|
type AddQuestProgressResponse = { MetricID: string; Updates?: null | Array<QuestProgressUpdate>; };
|
|
837
837
|
type ClaimQuestRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimQuestRewardResponse; }>;
|
|
838
838
|
type ClaimMilestoneRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimMilestoneRewardResponse; }>;
|
|
@@ -1028,6 +1028,7 @@ declare const TutorialAction: {
|
|
|
1028
1028
|
readonly ResetFlow: "ResetFlow";
|
|
1029
1029
|
};
|
|
1030
1030
|
type TutorialAction = (typeof TutorialAction)[keyof typeof TutorialAction];
|
|
1031
|
+
type InventoryDelta = { ChangedInstances?: null | Record<string, UnstackableItemInstanceState>; RemovedInstanceIDs?: null | Array<string>; };
|
|
1031
1032
|
|
|
1032
1033
|
/** One element of a batch action result. */
|
|
1033
1034
|
interface BatchItemResult<T> {
|
|
@@ -1043,6 +1044,9 @@ interface BatchItemResult<T> {
|
|
|
1043
1044
|
* Wrapper of a batch action result (port of `BatchResponse<T>`). The batch runs as one atomic
|
|
1044
1045
|
* backend operation, so the merged consumed/granted `Resources` container is carried ONCE here
|
|
1045
1046
|
* at the top level — per-item `Data.Resources` is null to avoid double-counting on the client.
|
|
1047
|
+
*
|
|
1048
|
+
* Exception: `Purchase/ValidatePurchasesBatch` — every receipt is its own transaction, so each
|
|
1049
|
+
* item carries its own `Resources` + `Inventory` and the envelope `Resources` is empty.
|
|
1046
1050
|
*/
|
|
1047
1051
|
interface BatchResponse<T> {
|
|
1048
1052
|
/** Server execution time of the batch (UTC). */
|
|
@@ -1051,6 +1055,11 @@ interface BatchResponse<T> {
|
|
|
1051
1055
|
Items: BatchItemResult<T>[];
|
|
1052
1056
|
/** Merged ResourceOperation for the whole atomic operation. Empty if nothing applied. */
|
|
1053
1057
|
Resources?: ResourceOperation | null;
|
|
1058
|
+
/**
|
|
1059
|
+
* Real non-stackable instances the whole batch granted/consumed (shared delta; per-item `Data`
|
|
1060
|
+
* carries none). Apply together with `Resources` via `UserData.applyResourcesWithDelta`.
|
|
1061
|
+
*/
|
|
1062
|
+
Inventory?: InventoryDelta | null;
|
|
1054
1063
|
}
|
|
1055
1064
|
|
|
1056
1065
|
interface UserLeaderboardProgress {
|
|
@@ -1071,8 +1080,8 @@ type LeaderboardUserEntry = { UserID: string; Score?: null | number; Rank?: null
|
|
|
1071
1080
|
type GetLeaderboardResponse = { LeaderboardID: string; CycleVersion?: null | number; TotalParticipants?: null | number; CycleEndUtc?: null | string; TopUsers?: null | Array<LeaderboardUserEntry>; BracketID?: null | string; };
|
|
1072
1081
|
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; }>; };
|
|
1073
1082
|
type SubmitScoreResponse = { LeaderboardID: string; NewScore: number; CycleVersion: number; };
|
|
1074
|
-
type ClaimCycleRewardResponse = { ServerTimeUtc: string; LeaderboardID: string; Rank?: null | number; Resources?: null | ResourceOperation; };
|
|
1075
|
-
type ClaimLeaderboardMilestoneResponse = { ServerTimeUtc: string; LeaderboardID: string; MilestoneID: string; Resources?: null | ResourceOperation; };
|
|
1083
|
+
type ClaimCycleRewardResponse = { ServerTimeUtc: string; LeaderboardID: string; Rank?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1084
|
+
type ClaimLeaderboardMilestoneResponse = { ServerTimeUtc: string; LeaderboardID: string; MilestoneID: string; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1076
1085
|
type GetLeaderboardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | GetLeaderboardResponse; }>;
|
|
1077
1086
|
type GetProgressBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | GetMyProgressResponse; }>;
|
|
1078
1087
|
type ClaimCycleRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimCycleRewardResponse; }>;
|
|
@@ -1192,8 +1201,8 @@ interface UserSeasonsState {
|
|
|
1192
1201
|
type UserSeasonStateResponse = UserSeasonState;
|
|
1193
1202
|
type ActiveSeasonInfo = { SeasonChainID: string; CycleIndex?: null | number; Season?: null | { SeasonID?: null | string; Order?: null | number; DurationSec?: null | number; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Tiers?: null | Array<{ Tier?: null | number; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; RequiredTokens?: null | number; TierReachedReward?: null | ResourceGrant; [key: string]: unknown; }>; LinkedCollectionID?: null | string; CustomParams?: null | Record<string, string>; [key: string]: unknown; }; ComputedStartUtc?: null | string; ComputedEndUtc?: null | string; SecondsRemaining?: null | number; UserState?: null | UserSeasonState; NextTier?: null | { Tier?: null | number; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; RequiredTokens?: null | number; TierReachedReward?: null | ResourceGrant; [key: string]: unknown; }; [key: string]: unknown; };
|
|
1194
1203
|
type GrantStatusTokensResponse = { SeasonChainID: string; NewTier: number; CurrentSeasonID?: null | string; AmountGranted?: null | number; NewStatusTokens?: null | number; OldTier?: null | number; TierUp?: null | boolean; };
|
|
1195
|
-
type ClaimTierRewardResponse = { SeasonChainID: string; TierNumber: number; CurrentSeasonID?: null | string; Resources?: null | ResourceOperation; };
|
|
1196
|
-
type ClaimTierRewardsBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimTierRewardResponse; }>; Resources?: null | ResourceOperation; };
|
|
1204
|
+
type ClaimTierRewardResponse = { SeasonChainID: string; TierNumber: number; CurrentSeasonID?: null | string; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1205
|
+
type ClaimTierRewardsBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimTierRewardResponse; }>; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1197
1206
|
type SeasonChainDefinition = { SeasonChainID?: null | string; DisplayName?: null | string; Schedule?: null | ScheduleSpec; Seasons?: null | Array<{ SeasonID?: null | string; Order?: null | number; DurationSec?: null | number; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Tiers?: null | Array<{ Tier?: null | number; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; RequiredTokens?: null | number; TierReachedReward?: null | ResourceGrant; [key: string]: unknown; }>; LinkedCollectionID?: null | string; CustomParams?: null | Record<string, string>; [key: string]: unknown; }>; GrantTokensAccessMode?: null | string; Gate?: null | SegmentGate; [key: string]: unknown; };
|
|
1198
1207
|
/** Root configuration of the title's season system, returned by getDefinitions(). */
|
|
1199
1208
|
interface SeasonDefinitions {
|
|
@@ -1274,7 +1283,6 @@ interface EquipmentSlot {
|
|
|
1274
1283
|
CharacterID?: string;
|
|
1275
1284
|
SlotID?: string;
|
|
1276
1285
|
}
|
|
1277
|
-
type InventoryDelta = { ChangedInstances?: null | Record<string, UnstackableItemInstanceState>; RemovedInstanceIDs?: null | Array<string>; };
|
|
1278
1286
|
type GetCharactersResponse = { Characters?: null | Record<string, CharacterModel>; };
|
|
1279
1287
|
type UpgradeStatLevelResponse = { ServerTimeUtc: string; CharacterID: string; StatID: string; StatLevel: number; Power?: null | number; Resources?: null | ResourceOperation; };
|
|
1280
1288
|
type UpgradeCharacterLevelResponse = { ServerTimeUtc: string; CharacterID: string; NewLevel: number; Power?: null | number; Resources?: null | ResourceOperation; };
|
|
@@ -1283,9 +1291,15 @@ type UnequipItemsResponse = { ServerTimeUtc: string; CharacterID: string; Cleare
|
|
|
1283
1291
|
type CharacterUnequipResult = { ClearedSlotIDs?: null | Array<string>; Power?: null | number; };
|
|
1284
1292
|
type UnequipAllCharactersResponse = { ServerTimeUtc: string; Characters?: null | Record<string, CharacterUnequipResult>; Inventory?: null | InventoryDelta; };
|
|
1285
1293
|
type UnlockCharacterResponse = { ServerTimeUtc: string; CharacterID: string; Power?: null | number; Resources?: null | ResourceOperation; };
|
|
1286
|
-
type
|
|
1287
|
-
type
|
|
1288
|
-
type
|
|
1294
|
+
type UnlockSkinResponse = { ServerTimeUtc: string; CharacterID: string; SkinID: string; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; Equipped?: null | boolean; EquipError?: null | string; Equipment?: null | EquippedItem; Power?: null | number; ReplacedInstanceIDs?: null | Array<string>; };
|
|
1295
|
+
type EquipSkinResponse = { ServerTimeUtc: string; CharacterID: string; SkinID: string; Equipped?: null | EquippedItem; ReplacedInstanceIDs?: null | Array<string>; Power?: null | number; Inventory?: null | InventoryDelta; };
|
|
1296
|
+
type UnequipSkinResponse = { ServerTimeUtc: string; CharacterID: string; Cleared?: null | boolean; Power?: null | number; Inventory?: null | InventoryDelta; };
|
|
1297
|
+
type CharacterSkinView = { SkinID: string; IsDefault?: null | boolean; Misconfigured?: null | string; Owned?: null | boolean; OwnedCopies?: null | number; IsWorn?: null | boolean; MeetsRequirements?: null | boolean; SoldDirectly?: null | boolean; OnSale?: null | boolean; SaleEndsAtUtc?: null | string; GateOpen?: null | boolean; Purchasable?: null | boolean; PriceOptions?: null | PriceOptions; };
|
|
1298
|
+
type CharacterSkinsView = { CharacterID: string; CharacterOpen?: null | boolean; DefaultSkinID?: null | string; WornSkinID?: null | string; Skins?: null | Array<CharacterSkinView>; };
|
|
1299
|
+
type GetCharacterSkinsResponse = { ServerTimeUtc: string; Characters?: null | Record<string, CharacterSkinsView>; };
|
|
1300
|
+
type UnlockCharactersBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | UnlockCharacterResponse; }>; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1301
|
+
type UpgradeCharacterLevelsBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | UpgradeCharacterLevelResponse; }>; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1302
|
+
type UpgradeStatLevelsBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | UpgradeStatLevelResponse; }>; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1289
1303
|
type StatRequirement = { RequiredStatID: string; RequiredLevel: number; [key: string]: unknown; };
|
|
1290
1304
|
type StatDefinition = { StatID: string; TypeID?: null | string; DisplayName?: null | string; Description?: null | string; MaxLevel?: null | number; Weight?: null | number; PriceOptions?: null | PriceOptions; CostCurve?: null | ScalarCurveSpec; BaseStatValue?: null | number; ValueCurve?: null | ScalarCurveSpec; RankCurve?: null | ScalarCurveSpec; Requirements?: null | Array<StatRequirement>; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
|
|
1291
1305
|
type CharacterEquipmentSlot = { SlotID: string; MinCharacterLevel?: null | number; StatRequirements?: null | Array<StatRequirement>; AllowedRarityIDs?: null | Array<string>; AllowedItemTags?: null | Array<string>; MinItemLevel?: null | number; MaxItemLevel?: null | number; [key: string]: unknown; };
|
|
@@ -1294,7 +1308,23 @@ type CharacterIdentity = { DisplayName?: null | string; Description?: null | str
|
|
|
1294
1308
|
type CharacterClassification = { ClassID?: null | string; RarityID?: null | string; Tags?: null | Array<string>; [key: string]: unknown; };
|
|
1295
1309
|
type CharacterUnlock = { UnlockedByDefault?: null | boolean; PriceOptions?: null | PriceOptions; [key: string]: unknown; };
|
|
1296
1310
|
type CharacterRankLadder = { MaxRank?: null | number; FirstPaidRank?: null | number; PriceOptions?: null | PriceOptions; CostCurve?: null | ScalarCurveSpec; [key: string]: unknown; };
|
|
1297
|
-
|
|
1311
|
+
/**
|
|
1312
|
+
* Equipment key of the worn skin. A skin is an ITEM: wearing it binds a copy of that item to
|
|
1313
|
+
* this reserved slot, so every reader of `Equipment` (Power, battle, sale protection) sees it
|
|
1314
|
+
* without special-casing.
|
|
1315
|
+
*
|
|
1316
|
+
* ⚠ Filter it out of gear-slot UIs (`isReservedSlot`), but NOT out of Power calculations — a
|
|
1317
|
+
* skin's item Stats count toward Power exactly like gear.
|
|
1318
|
+
*/
|
|
1319
|
+
declare const SKIN_SLOT = "@skin";
|
|
1320
|
+
/** True for engine-reserved equipment keys (prefix "@"). Never render them as gear slots. */
|
|
1321
|
+
declare function isReservedSlot(slotID: string | null | undefined): boolean;
|
|
1322
|
+
type CharacterSkinItem = { ItemID: string; CatalogID?: null | string; [key: string]: unknown; };
|
|
1323
|
+
type CharacterSkinSale = { PriceOptions?: null | PriceOptions; Schedule?: null | ScheduleSpec; Gate?: null | SegmentGate; [key: string]: unknown; };
|
|
1324
|
+
type CharacterSkinRequirements = { MinCharacterLevel?: null | number; StatRequirements?: null | Array<StatRequirement>; [key: string]: unknown; };
|
|
1325
|
+
type CharacterSkinDefinition = { SkinID?: null | string; Identity?: null | CharacterIdentity; Item?: null | CharacterSkinItem; Sale?: null | CharacterSkinSale; Requirements?: null | CharacterSkinRequirements; [key: string]: unknown; };
|
|
1326
|
+
type CharacterSkins = { DefaultSkinID?: null | string; Definitions?: null | Record<string, CharacterSkinDefinition>; [key: string]: unknown; };
|
|
1327
|
+
type CharacterDefinition = { CharacterID: string; Identity?: null | CharacterIdentity; Classification?: null | CharacterClassification; Unlock?: null | CharacterUnlock; Presets?: null | { Stats?: null | PresetBinding; Levels?: null | PresetBinding; Equipment?: null | PresetBinding; [key: string]: unknown; }; Equipment?: null | CharacterEquipment; Stats?: null | Record<string, StatDefinition>; RankLadder?: null | CharacterRankLadder; RankStatCurve?: null | ScalarCurveSpec; StatMaxLevelCurve?: null | ScalarCurveSpec; Skins?: null | CharacterSkins; [key: string]: unknown; };
|
|
1298
1328
|
type StatsPreset = { Stats?: null | Record<string, StatDefinition>; [key: string]: unknown; };
|
|
1299
1329
|
type LevelsPreset = { RankLadder?: null | CharacterRankLadder; [key: string]: unknown; };
|
|
1300
1330
|
type EquipmentPreset = { Equipment?: null | CharacterEquipment; [key: string]: unknown; };
|
|
@@ -1354,7 +1384,15 @@ interface CharacterRequest extends BaseRequest {
|
|
|
1354
1384
|
LevelUpgrades?: CharacterLevelRef[];
|
|
1355
1385
|
/** UpgradeStatLevelsBatch: per-stat upgrades (deduped by CharacterID+StatID). */
|
|
1356
1386
|
StatUpgrades?: CharacterStatRef[];
|
|
1387
|
+
/** UnlockSkin / EquipSkin: the skin (key of `CharacterDefinition.Skins.Definitions`). */
|
|
1388
|
+
SkinID?: string;
|
|
1389
|
+
/** EquipSkin: a specific copy to wear. Empty = the server picks the best free copy. */
|
|
1390
|
+
ItemInstanceID?: string;
|
|
1391
|
+
/** UnlockSkin: wear the bought skin in the same request. A failed wear keeps the purchase. */
|
|
1392
|
+
AutoEquip?: boolean;
|
|
1357
1393
|
}
|
|
1394
|
+
/** Refusal code of UnlockSkin: the player already owns a copy — hide the buy button. */
|
|
1395
|
+
declare const SKIN_ALREADY_OWNED = "SKIN_ALREADY_OWNED";
|
|
1358
1396
|
declare const CharacterAction: {
|
|
1359
1397
|
readonly GetCharacterDefinitions: "GetCharacterDefinitions";
|
|
1360
1398
|
readonly GetUserCharacters: "GetUserCharacters";
|
|
@@ -1367,6 +1405,10 @@ declare const CharacterAction: {
|
|
|
1367
1405
|
readonly UnlockCharactersBatch: "UnlockCharactersBatch";
|
|
1368
1406
|
readonly UpgradeCharacterLevelsBatch: "UpgradeCharacterLevelsBatch";
|
|
1369
1407
|
readonly UpgradeStatLevelsBatch: "UpgradeStatLevelsBatch";
|
|
1408
|
+
readonly UnlockSkin: "UnlockSkin";
|
|
1409
|
+
readonly EquipSkin: "EquipSkin";
|
|
1410
|
+
readonly UnequipSkin: "UnequipSkin";
|
|
1411
|
+
readonly GetCharacterSkins: "GetCharacterSkins";
|
|
1370
1412
|
};
|
|
1371
1413
|
type CharacterAction = (typeof CharacterAction)[keyof typeof CharacterAction];
|
|
1372
1414
|
|
|
@@ -1491,12 +1533,12 @@ interface UserCollectionState {
|
|
|
1491
1533
|
}
|
|
1492
1534
|
type GrantedCollectible = { CollectibleID: string; Rarity?: null | number; IsSpecial?: null | boolean; IsDuplicate?: null | boolean; CollectionCurrencyConverted?: null | number; };
|
|
1493
1535
|
type PackOpenResult = { GrantedCollectibles?: null | Array<GrantedCollectible>; DuplicateCollectibles?: null | Array<GrantedCollectible>; CollectionCurrencyEarned?: null | number; };
|
|
1494
|
-
type OpenPackResponse = { OpenedCount?: null | number; Packs?: null | Array<PackOpenResult>; GrantedCollectibles?: null | Array<GrantedCollectible>; DuplicateCollectibles?: null | Array<GrantedCollectible>; CollectionCurrencyEarned?: null | number; NewCollectionCurrencyBalance?: null | number; NewlyCompletedSetIDs?: null | Array<string>; CollectionJustCompleted?: null | boolean; Resources?: null | ResourceOperation; TriggeredPity?: null | Array<unknown>; };
|
|
1495
|
-
type OpenCollectionChestResponse = { OpenedCount?: null | number; Chests?: null | Array<PackOpenResult>; GrantedCollectibles?: null | Array<GrantedCollectible>; DuplicateCollectibles?: null | Array<GrantedCollectible>; CollectionCurrencyEarned?: null | number; NewCollectionCurrencyBalance?: null | number; Resources?: null | ResourceOperation; TriggeredPity?: null | Array<unknown>; };
|
|
1496
|
-
type UseCollectibleJokerResponse = { GrantedCollectibleID?: null | string; NewlyCompletedSetID?: null | string; CollectionJustCompleted?: null | boolean; Resources?: null | ResourceOperation; };
|
|
1497
|
-
type ClaimSetRewardResponse = { SetID: string; Resources?: null | ResourceOperation; };
|
|
1536
|
+
type OpenPackResponse = { OpenedCount?: null | number; Packs?: null | Array<PackOpenResult>; GrantedCollectibles?: null | Array<GrantedCollectible>; DuplicateCollectibles?: null | Array<GrantedCollectible>; CollectionCurrencyEarned?: null | number; NewCollectionCurrencyBalance?: null | number; NewlyCompletedSetIDs?: null | Array<string>; CollectionJustCompleted?: null | boolean; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; TriggeredPity?: null | Array<unknown>; };
|
|
1537
|
+
type OpenCollectionChestResponse = { OpenedCount?: null | number; Chests?: null | Array<PackOpenResult>; GrantedCollectibles?: null | Array<GrantedCollectible>; DuplicateCollectibles?: null | Array<GrantedCollectible>; CollectionCurrencyEarned?: null | number; NewCollectionCurrencyBalance?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; TriggeredPity?: null | Array<unknown>; };
|
|
1538
|
+
type UseCollectibleJokerResponse = { GrantedCollectibleID?: null | string; NewlyCompletedSetID?: null | string; CollectionJustCompleted?: null | boolean; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1539
|
+
type ClaimSetRewardResponse = { SetID: string; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1498
1540
|
type ClaimSetRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimSetRewardResponse; }>;
|
|
1499
|
-
type ClaimGrandPrizeResponse = { Resources?: null | ResourceOperation; };
|
|
1541
|
+
type ClaimGrandPrizeResponse = { Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1500
1542
|
type CollectionTradeOfferDocument = { OfferID: string; TitleID?: null | string; CollectionID?: null | string; SenderUserID?: null | string; SenderPublicData?: null | UserPublicDataModel; OfferedCollectibleID?: null | string; OfferedCollectibleIsSpecial?: null | boolean; ReceiverUserID?: null | string; RequestedCollectibleID?: null | string; RequestedCollectibleIsSpecial?: null | boolean; Status?: null | 'Expired' | 'Cancelled' | 'Pending' | 'Accepted' | 'Declined'; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; RespondedAtUtc?: null | string; DeclineReason?: null | string; IsSpecialTradeEvent?: null | boolean; SpecialTradeEventID?: null | string; [key: string]: unknown; };
|
|
1501
1543
|
type SendTradeOfferResponse = { OfferID: string; ExpiresAtUtc?: null | string; Resources?: null | ResourceOperation; };
|
|
1502
1544
|
type CancelTradeOfferResponse = { OfferID: string; Resources?: null | ResourceOperation; };
|
|
@@ -1628,7 +1670,7 @@ interface CoopEventChainDefinition {
|
|
|
1628
1670
|
type CoopUserStateResponse = { ServerTimeUtc?: null | string; UserState?: null | UserCoopEventState; ActiveGroup?: null | CoopGroupDocument; };
|
|
1629
1671
|
type CoopGroupStateResponse = { ServerTimeUtc?: null | string; Group?: null | CoopGroupDocument; SecondsRemaining?: null | number; };
|
|
1630
1672
|
type CoopSpinResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; Resources?: null | ResourceOperation; ObjectIndex?: null | number; Sector?: null | { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Weight?: null | number; MinProgress?: null | number; MaxProgress?: null | number; [key: string]: unknown; }; RequestedSpins?: null | number; SpinsUsed?: null | number; Sectors?: null | Array<{ DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Weight?: null | number; MinProgress?: null | number; MaxProgress?: null | number; [key: string]: unknown; }>; ProgressDelta?: null | number; NewProgress?: null | number; MaxProgress?: null | number; ObjectCompleted?: null | boolean; AllObjectsCompleted?: null | boolean; };
|
|
1631
|
-
type CoopClaimRewardResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; RewardType?: null | string; Resources?: null | ResourceOperation; };
|
|
1673
|
+
type CoopClaimRewardResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; RewardType?: null | string; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1632
1674
|
type CoopLeaveGroupResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; Success?: null | boolean; };
|
|
1633
1675
|
/** Root config of the title's cooperative events system. Plugs into TitlePublicConfig as CoopEvent. */
|
|
1634
1676
|
interface CoopEventDefinitions {
|
|
@@ -1851,11 +1893,11 @@ interface ActiveDealSlotInfo {
|
|
|
1851
1893
|
Milestone?: DealMilestoneProgressInfo | null;
|
|
1852
1894
|
}
|
|
1853
1895
|
type GetActiveDealsResponse = { Slots?: null | Array<ActiveDealSlotInfo>; };
|
|
1854
|
-
type ExecuteNodeResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; NodeID?: null | string; NodeCompleted?: null | boolean; OfferExhausted?: null | boolean; Idempotent?: null | boolean; Resources?: null | ResourceOperation; };
|
|
1896
|
+
type ExecuteNodeResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; NodeID?: null | string; NodeCompleted?: null | boolean; OfferExhausted?: null | boolean; Idempotent?: null | boolean; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1855
1897
|
type DismissDealResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; Resources?: null | ResourceOperation; };
|
|
1856
1898
|
type RecordShowResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; Resources?: null | ResourceOperation; };
|
|
1857
|
-
type ClaimDealMilestoneResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; MilestoneID?: null | string; Resources?: null | ResourceOperation; };
|
|
1858
|
-
type ClaimDealMilestonesBatchResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; ClaimedIDs?: null | Array<string>; Rejected?: null | Record<string, string>; Resources?: null | ResourceOperation; };
|
|
1899
|
+
type ClaimDealMilestoneResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; MilestoneID?: null | string; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1900
|
+
type ClaimDealMilestonesBatchResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; ClaimedIDs?: null | Array<string>; Rejected?: null | Record<string, string>; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1859
1901
|
interface DealOfferRequest extends BaseRequest {
|
|
1860
1902
|
SlotID?: string;
|
|
1861
1903
|
/**
|
|
@@ -1929,9 +1971,9 @@ interface ReferralDefinitionsResponse {
|
|
|
1929
1971
|
ReferralDefinitions?: ReferralDefinitions | null;
|
|
1930
1972
|
}
|
|
1931
1973
|
type UserReferralStateResponse = { Referral?: null | UserReferralState; InviteUrl?: null | string; [key: string]: unknown; };
|
|
1932
|
-
type ActivateReferralCodeResponse = { ReferralCode?: null | string; ReferrerUserID?: null | string; IsFirstActivation?: null | boolean; Resources?: null | ResourceOperation; [key: string]: unknown; };
|
|
1933
|
-
type ClaimInviteRewardResponse = { RewardID?: null | string; Resources?: null | ResourceOperation; [key: string]: unknown; };
|
|
1934
|
-
type ClaimInviteRewardsBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimInviteRewardResponse; }>; Resources?: null | ResourceOperation; };
|
|
1974
|
+
type ActivateReferralCodeResponse = { ReferralCode?: null | string; ReferrerUserID?: null | string; IsFirstActivation?: null | boolean; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; [key: string]: unknown; };
|
|
1975
|
+
type ClaimInviteRewardResponse = { RewardID?: null | string; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; [key: string]: unknown; };
|
|
1976
|
+
type ClaimInviteRewardsBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimInviteRewardResponse; }>; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
1935
1977
|
interface ReferralRequest extends BaseRequest {
|
|
1936
1978
|
ReferralCode?: string;
|
|
1937
1979
|
InviteRewardID?: string;
|
|
@@ -2361,17 +2403,19 @@ interface BoardRollResponse {
|
|
|
2361
2403
|
CyclesCompletedDelta?: number | null;
|
|
2362
2404
|
LandedTileType?: string | null;
|
|
2363
2405
|
Operation?: ResourceOperation | null;
|
|
2406
|
+
/** Real non-stackable instances granted/consumed by `Operation` (apply both together). */
|
|
2407
|
+
Inventory?: InventoryDelta | null;
|
|
2364
2408
|
ActionRequired?: string | null;
|
|
2365
2409
|
ActionData?: RollActionData | null;
|
|
2366
2410
|
SpecialModeOffer?: SpecialModeOfferData | null;
|
|
2367
2411
|
CommunityChestContribution?: CommunityChestContributionResult | null;
|
|
2368
2412
|
}
|
|
2369
|
-
type AttackResponse = { Outcome?: null | string; IsBotTarget?: null | boolean; BuildingIndexHit?: null | number; Operation?: null | ResourceOperation; DualResult?: null | ResourceDualPartyResult; [key: string]: unknown; };
|
|
2370
|
-
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; DualResult?: null | ResourceDualPartyResult; [key: string]: unknown; };
|
|
2371
|
-
type BuildResponse = { BuiltIndex: number; NewLevel?: null | number; StageComplete?: null | boolean; MaxLevelRewardClaimed?: null | boolean; Operation?: null | ResourceOperation; [key: string]: unknown; };
|
|
2372
|
-
type SpecialChooseResponse = { Mode?: null | string | number; Operation?: null | ResourceOperation; DurationSeconds?: null | number; StartedAtUtc?: null | string; ExpiresAtUtc?: null | string; [key: string]: unknown; };
|
|
2413
|
+
type AttackResponse = { Outcome?: null | string; IsBotTarget?: null | boolean; BuildingIndexHit?: null | number; Operation?: null | ResourceOperation; Inventory?: null | InventoryDelta; DualResult?: null | ResourceDualPartyResult; [key: string]: unknown; };
|
|
2414
|
+
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; };
|
|
2415
|
+
type BuildResponse = { BuiltIndex: number; NewLevel?: null | number; StageComplete?: null | boolean; MaxLevelRewardClaimed?: null | boolean; Operation?: null | ResourceOperation; Inventory?: null | InventoryDelta; [key: string]: unknown; };
|
|
2416
|
+
type SpecialChooseResponse = { Mode?: null | string | number; Operation?: null | ResourceOperation; Inventory?: null | InventoryDelta; DurationSeconds?: null | number; StartedAtUtc?: null | string; ExpiresAtUtc?: null | string; [key: string]: unknown; };
|
|
2373
2417
|
type SpecialApplyMultiplierResponse = { AdViewsUsed?: null | number; RolledMultiplier?: null | number; AccumulatedMultiplier?: null | number; RemainingAdViews?: null | number; [key: string]: unknown; };
|
|
2374
|
-
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; };
|
|
2418
|
+
type SpecialClaimResponse = { FinalMultiplier?: null | number; AdViewsUsed?: null | number; AccumulatedMultiplier?: null | number; IsEarlyClaim?: null | boolean; ReachedTierIndex?: null | number; Operation?: null | ResourceOperation; Inventory?: null | InventoryDelta; 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; };
|
|
2375
2419
|
/** enum CommunityChestStatus — mirror of CoopGroupStatus. */
|
|
2376
2420
|
declare const CommunityChestStatus: {
|
|
2377
2421
|
readonly Forming: "Forming";
|
|
@@ -2395,7 +2439,7 @@ type CommunityChestHistoryEntry = { GroupID?: null | string; RoundIndex?: null |
|
|
|
2395
2439
|
type UserCommunityChestState = { ActiveGroupID?: null | string; ActiveRoundIndex?: null | number; History?: null | Array<CommunityChestHistoryEntry>; [key: string]: unknown; };
|
|
2396
2440
|
type CommunityChestUserStateResponse = { ServerTimeUtc?: null | string; UserState?: null | UserCommunityChestState; ActiveGroup?: null | CommunityChestGroupDocument; SecondsRemaining?: null | number; };
|
|
2397
2441
|
type CommunityChestGroupStateResponse = { ServerTimeUtc?: null | string; Group?: null | CommunityChestGroupDocument; SecondsRemaining?: null | number; };
|
|
2398
|
-
type CommunityChestClaimResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; RewardType?: null | string; MilestoneID?: null | string; Resources?: null | ResourceOperation; };
|
|
2442
|
+
type CommunityChestClaimResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; RewardType?: null | string; MilestoneID?: null | string; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
2399
2443
|
type CommunityChestLeaveResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; Success?: null | boolean; };
|
|
2400
2444
|
interface GameLoopRequest extends BaseRequest {
|
|
2401
2445
|
RollMultiplier?: number;
|
|
@@ -2735,7 +2779,7 @@ interface UnstackableItemInstanceState {
|
|
|
2735
2779
|
AcquiredAt: string;
|
|
2736
2780
|
ExpiresAt?: string | null;
|
|
2737
2781
|
EquippedSlot?: EquipmentSlot | null;
|
|
2738
|
-
CustomData?: string | null;
|
|
2782
|
+
CustomData?: Record<string, string> | null;
|
|
2739
2783
|
}
|
|
2740
2784
|
/** Daily-window counter for one conversion pair ("{srcType}:{srcID}->{tgtType}:{tgtID}"). */
|
|
2741
2785
|
interface ConversionDailyCounter {
|
|
@@ -3341,7 +3385,7 @@ type ItemEquipment = { MinCharacterLevel?: null | number; UseRequirements?: null
|
|
|
3341
3385
|
type ItemUpgradeFodder = { ValuationMode?: null | 'FlatCount' | 'Merge' | 'InvestmentRefund'; WeightCurve?: null | ScalarCurveSpec; Selection?: null | 'ProtectLeveled' | 'CheapestFirst' | 'ClientSelected' | 'SameLevelOnly'; [key: string]: unknown; };
|
|
3342
3386
|
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; };
|
|
3343
3387
|
type ItemMetadata = { RarityID?: null | string; CollectionID?: null | string; AuthorID?: null | string; [key: string]: unknown; };
|
|
3344
|
-
type ItemDefinition = { ItemID: string; CatalogID: string; ItemClass?: null | string; DisplayName?: null | string; Description?: null | string; Tags?: null | Array<string>; CustomData?: null | string
|
|
3388
|
+
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; };
|
|
3345
3389
|
/** Catalog: a set of items of one thematic group. Key of `Items` is ItemID. */
|
|
3346
3390
|
interface ItemCatalog {
|
|
3347
3391
|
Items?: Record<string, ItemDefinition> | null;
|
|
@@ -3505,7 +3549,7 @@ interface GetActiveEventsResponse {
|
|
|
3505
3549
|
}
|
|
3506
3550
|
type UserTimedEventStateResponse = { Tokens?: null | Record<string, UserEventTokenProgress>; };
|
|
3507
3551
|
type EventTokenSpendResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; Resources?: null | ResourceOperation; };
|
|
3508
|
-
type EventMilestoneClaimResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; MilestoneID?: null | string; Rewards?: null | ResourceOperation; };
|
|
3552
|
+
type EventMilestoneClaimResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; MilestoneID?: null | string; Rewards?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
3509
3553
|
type EventTokenGrantResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; Resources?: null | ResourceOperation; };
|
|
3510
3554
|
type ClaimMilestonesBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | EventMilestoneClaimResponse; }>;
|
|
3511
3555
|
type SpendTokensBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | EventTokenSpendResponse; }>;
|
|
@@ -3575,9 +3619,42 @@ declare const CraftType: {
|
|
|
3575
3619
|
readonly TradeUpCollection: "TradeUpCollection";
|
|
3576
3620
|
};
|
|
3577
3621
|
type CraftType = (typeof CraftType)[keyof typeof CraftType];
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3622
|
+
/** How the output level is derived from the levels of the burned inputs. */
|
|
3623
|
+
declare const CraftOutputLevelMode: {
|
|
3624
|
+
/** Input levels don't matter — the output is always level 1 (legacy). */
|
|
3625
|
+
readonly None: "None";
|
|
3626
|
+
/** Level of the weakest input of the craft. */
|
|
3627
|
+
readonly Min: "Min";
|
|
3628
|
+
/** Average of the craft's input levels, rounded DOWN. */
|
|
3629
|
+
readonly Average: "Average";
|
|
3630
|
+
/** Level of the strongest input of the craft. */
|
|
3631
|
+
readonly Max: "Max";
|
|
3632
|
+
};
|
|
3633
|
+
type CraftOutputLevelMode = (typeof CraftOutputLevelMode)[keyof typeof CraftOutputLevelMode];
|
|
3634
|
+
/** Which unstackable input instances a craft burns. */
|
|
3635
|
+
declare const CraftInputSelectionMode: {
|
|
3636
|
+
/** Only non-upgraded (Level ≤ 1) instances, oldest first (legacy). */
|
|
3637
|
+
readonly ProtectLeveled: "ProtectLeveled";
|
|
3638
|
+
/** The client names the instances via `inputInstanceIDs`; without them — ProtectLeveled. */
|
|
3639
|
+
readonly ClientSelected: "ClientSelected";
|
|
3640
|
+
/** The server picks, weakest first: upgraded copies go only when fresh ones run out. */
|
|
3641
|
+
readonly LowestLevelFirst: "LowestLevelFirst";
|
|
3642
|
+
/** The server picks, strongest first. */
|
|
3643
|
+
readonly HighestLevelFirst: "HighestLevelFirst";
|
|
3644
|
+
};
|
|
3645
|
+
type CraftInputSelectionMode = (typeof CraftInputSelectionMode)[keyof typeof CraftInputSelectionMode];
|
|
3646
|
+
/** What happens when the derived level exceeds the output item's `Upgrade.MaxLevel`. */
|
|
3647
|
+
declare const CraftOutputLevelOverflow: {
|
|
3648
|
+
/** Lower the level to the output's MaxLevel. */
|
|
3649
|
+
readonly Clamp: "Clamp";
|
|
3650
|
+
/** Refuse the craft (checked against the lowest MaxLevel of the output pool, before the roll). */
|
|
3651
|
+
readonly Reject: "Reject";
|
|
3652
|
+
};
|
|
3653
|
+
type CraftOutputLevelOverflow = (typeof CraftOutputLevelOverflow)[keyof typeof CraftOutputLevelOverflow];
|
|
3654
|
+
type CraftBurnedInstance = { ItemInstanceID?: null | string; ItemID?: null | string; Level?: null | number; Units?: null | number; };
|
|
3655
|
+
type CraftSingleResult = { Index?: null | number; BurnedItemIDs?: null | Array<string>; RolledCollectionID?: null | string; UsedCollections?: null | Record<string, number>; Output?: null | ResourceEntry; OutputLevel?: null | number; BurnedInstances?: null | Array<CraftBurnedInstance>; };
|
|
3656
|
+
type CraftResponse = { ServerTimeUtc: string; CraftID: string; Type?: null | 'TradeUpRarity' | 'TradeUpCollection'; CraftedCount?: null | number; SelectedOptionID?: null | string; InputRarity?: null | string; OutputRarity?: null | string; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; Results?: null | Array<CraftSingleResult>; };
|
|
3657
|
+
type CraftDefinition = { CraftID?: null | string; Type?: null | 'TradeUpRarity' | 'TradeUpCollection'; CatalogID?: null | string; CollectionID?: null | string; InputRarityID?: null | string; OutputRarityID?: null | string; RequiredItemCount?: null | number; PriceOptions?: null | PriceOptions; OutputLevelMode?: null | 'Max' | 'None' | 'Min' | 'Average'; InputSelection?: null | 'ProtectLeveled' | 'ClientSelected' | 'LowestLevelFirst' | 'HighestLevelFirst'; OutputLevelOverflow?: null | 'Reject' | 'Clamp'; [key: string]: unknown; };
|
|
3581
3658
|
/** The title's craft catalog (config), returned by getDefinitions(). */
|
|
3582
3659
|
interface CraftDefinitions {
|
|
3583
3660
|
Definitions?: Record<string, CraftDefinition> | null;
|
|
@@ -3587,7 +3664,13 @@ interface CraftRequest extends BaseRequest {
|
|
|
3587
3664
|
CraftID?: string;
|
|
3588
3665
|
Count?: number;
|
|
3589
3666
|
SelectedOptionID?: string;
|
|
3667
|
+
/** Template of catalog ItemIDs, exactly RequiredItemCount long; the server repeats it Count times. */
|
|
3590
3668
|
InputItemIDs?: string[];
|
|
3669
|
+
/**
|
|
3670
|
+
* Only for a ClientSelected recipe: one instance id per UNSTACKABLE input of the expanded list
|
|
3671
|
+
* (template × Count), in order; stackable inputs take no slot. A bundle id may repeat once per unit.
|
|
3672
|
+
*/
|
|
3673
|
+
InputInstanceIDs?: string[];
|
|
3591
3674
|
}
|
|
3592
3675
|
declare const CraftAction: {
|
|
3593
3676
|
readonly GetDefinitions: "GetDefinitions";
|
|
@@ -3595,6 +3678,219 @@ declare const CraftAction: {
|
|
|
3595
3678
|
};
|
|
3596
3679
|
type CraftAction = (typeof CraftAction)[keyof typeof CraftAction];
|
|
3597
3680
|
|
|
3681
|
+
/** Generation modality of a feature. Determines which generate action the feature accepts. */
|
|
3682
|
+
declare const AIModality: {
|
|
3683
|
+
/** Text, optionally with input images ("picture + description → text"). */
|
|
3684
|
+
readonly Text: "Text";
|
|
3685
|
+
/** Image generation and editing. */
|
|
3686
|
+
readonly Image: "Image";
|
|
3687
|
+
/** Video — asynchronous: submit, then poll `getVideo`. */
|
|
3688
|
+
readonly Video: "Video";
|
|
3689
|
+
/** Speech from text (TTS). */
|
|
3690
|
+
readonly Audio: "Audio";
|
|
3691
|
+
readonly Music: "Music";
|
|
3692
|
+
/** 3D model — asynchronous: submit, then poll `getThreeD`. */
|
|
3693
|
+
readonly ThreeD: "ThreeD";
|
|
3694
|
+
};
|
|
3695
|
+
type AIModality = (typeof AIModality)[keyof typeof AIModality];
|
|
3696
|
+
/**
|
|
3697
|
+
* Status of a generation. The wire type is a plain string on purpose: a status the backend adds
|
|
3698
|
+
* later must not fail parsing of the whole response — see {@link isAIGenerationTerminal}.
|
|
3699
|
+
*/
|
|
3700
|
+
declare const AIGenerationStatus: {
|
|
3701
|
+
readonly Pending: "pending";
|
|
3702
|
+
readonly Running: "running";
|
|
3703
|
+
readonly Completed: "completed";
|
|
3704
|
+
readonly Failed: "failed";
|
|
3705
|
+
};
|
|
3706
|
+
type AIGenerationStatus = (typeof AIGenerationStatus)[keyof typeof AIGenerationStatus];
|
|
3707
|
+
/**
|
|
3708
|
+
* `true` once polling this generation can stop. Only `pending` and `running` are in progress;
|
|
3709
|
+
* anything else — including a status this SDK does not know yet — is final, so a newer backend
|
|
3710
|
+
* can never make a caller's poll loop spin forever.
|
|
3711
|
+
*/
|
|
3712
|
+
declare function isAIGenerationTerminal(status: string | null | undefined): boolean;
|
|
3713
|
+
/**
|
|
3714
|
+
* Stable reason codes of the AI module (server: `InGameAIErrors`). A REFUSED request fails with
|
|
3715
|
+
* `error` = `"AI_LIMIT_REACHED: <safe message>"` — read the code with {@link parseAIErrorCode}.
|
|
3716
|
+
* A generation that RAN and failed carries its code in `AIGenerationView.Error.Code`.
|
|
3717
|
+
* Branch on the code, show the message; never branch on the message text.
|
|
3718
|
+
*/
|
|
3719
|
+
declare const AIErrorCode: {
|
|
3720
|
+
/** The title's AI is switched off. */
|
|
3721
|
+
readonly Disabled: "AI_DISABLED";
|
|
3722
|
+
readonly FeatureNotFound: "AI_FEATURE_NOT_FOUND";
|
|
3723
|
+
readonly FeatureDisabled: "AI_FEATURE_DISABLED";
|
|
3724
|
+
/** The action does not match the feature's modality (e.g. generateImage on a Text feature). */
|
|
3725
|
+
readonly WrongAction: "AI_WRONG_ACTION";
|
|
3726
|
+
/** The feature's audience gate excludes this player. */
|
|
3727
|
+
readonly NotAvailableForPlayer: "AI_NOT_AVAILABLE_FOR_PLAYER";
|
|
3728
|
+
/** Outside the feature's schedule. */
|
|
3729
|
+
readonly FeatureClosed: "AI_FEATURE_CLOSED";
|
|
3730
|
+
readonly LimitReached: "AI_LIMIT_REACHED";
|
|
3731
|
+
readonly Cooldown: "AI_COOLDOWN";
|
|
3732
|
+
/** Invalid input: too long, too many / too large / wrong-type images, a foreign AssetUrl… */
|
|
3733
|
+
readonly BadInput: "AI_BAD_INPUT";
|
|
3734
|
+
/** The prompt hit the feature's blocked terms. */
|
|
3735
|
+
readonly PromptRejected: "AI_PROMPT_REJECTED";
|
|
3736
|
+
/**
|
|
3737
|
+
* Temporarily unavailable for a reason the player must not be told (the publisher's side:
|
|
3738
|
+
* credits, plan, caps). Show a neutral "not available right now".
|
|
3739
|
+
*/
|
|
3740
|
+
readonly Unavailable: "AI_UNAVAILABLE";
|
|
3741
|
+
/** The provider failed. Everything charged for it has been returned. */
|
|
3742
|
+
readonly GenerationFailed: "AI_GENERATION_FAILED";
|
|
3743
|
+
readonly GenerationNotFound: "AI_GENERATION_NOT_FOUND";
|
|
3744
|
+
};
|
|
3745
|
+
type AIErrorCode = (typeof AIErrorCode)[keyof typeof AIErrorCode];
|
|
3746
|
+
/**
|
|
3747
|
+
* The AI reason code inside a failed result's `error` (`"AI_COOLDOWN: Try again in 30 s."`, also
|
|
3748
|
+
* when prefixed by `"HTTP 400: "`). `null` when there is none — a transport failure, a throttle.
|
|
3749
|
+
* Returns the raw code, so a code added by a newer backend still comes through.
|
|
3750
|
+
*/
|
|
3751
|
+
declare function parseAIErrorCode(error: string | null | undefined): string | null;
|
|
3752
|
+
/**
|
|
3753
|
+
* An input image. Exactly one of the two sources:
|
|
3754
|
+
* - `Base64` — raw base64 or a data-URL (`data:image/png;base64,...`);
|
|
3755
|
+
* - `AssetUrl` — a `Url` of an asset THIS title already generated. Any other address is refused:
|
|
3756
|
+
* the server does not fetch arbitrary links supplied by the client.
|
|
3757
|
+
*/
|
|
3758
|
+
interface AIInputImage {
|
|
3759
|
+
Base64?: string;
|
|
3760
|
+
/** MIME type of `Base64` (`image/png`, `image/jpeg`, `image/webp`). */
|
|
3761
|
+
ContentType?: string;
|
|
3762
|
+
AssetUrl?: string;
|
|
3763
|
+
}
|
|
3764
|
+
/** One history message of a text dialogue. */
|
|
3765
|
+
interface AIChatMessage {
|
|
3766
|
+
/** `"user"` or `"assistant"`. */
|
|
3767
|
+
Role: string;
|
|
3768
|
+
Content: string;
|
|
3769
|
+
}
|
|
3770
|
+
/** Text: prompt + history + (if the feature allows it) images. */
|
|
3771
|
+
interface AITextInput {
|
|
3772
|
+
Prompt?: string;
|
|
3773
|
+
/** Dialogue history; the server keeps at most the feature's `HistoryMessages` last ones. */
|
|
3774
|
+
Messages?: AIChatMessage[];
|
|
3775
|
+
/** Images attached to the last message. Only when the feature has `AllowImages`. */
|
|
3776
|
+
Images?: AIInputImage[];
|
|
3777
|
+
/** Response token ceiling — can only LOWER the feature's `MaxTokens`, never raise it. */
|
|
3778
|
+
MaxTokens?: number;
|
|
3779
|
+
}
|
|
3780
|
+
interface AIImageInput {
|
|
3781
|
+
Prompt?: string;
|
|
3782
|
+
/** e.g. `"1024x1024"`. Ignored when the feature has `LockBehavior`. */
|
|
3783
|
+
Size?: string;
|
|
3784
|
+
/** `"low"` / `"medium"` / `"high"`. */
|
|
3785
|
+
Quality?: string;
|
|
3786
|
+
/** `"png"` / `"jpeg"` / `"webp"`. */
|
|
3787
|
+
Format?: string;
|
|
3788
|
+
/** `"transparent"` / `"opaque"` / `"auto"`. */
|
|
3789
|
+
Background?: string;
|
|
3790
|
+
/** Number of images; capped by the feature's `MaxImages`. Absent/0 = 1. */
|
|
3791
|
+
N?: number;
|
|
3792
|
+
}
|
|
3793
|
+
/** Edit source images with a prompt. Only on a feature with `AllowEdit`. */
|
|
3794
|
+
interface AIImageEditInput {
|
|
3795
|
+
Prompt?: string;
|
|
3796
|
+
Images?: AIInputImage[];
|
|
3797
|
+
Size?: string;
|
|
3798
|
+
Format?: string;
|
|
3799
|
+
}
|
|
3800
|
+
interface AIVideoInput {
|
|
3801
|
+
Prompt?: string;
|
|
3802
|
+
/** e.g. `"1280x720"`. */
|
|
3803
|
+
Size?: string;
|
|
3804
|
+
Seconds?: number;
|
|
3805
|
+
/** Reference frame — only when the feature has `AllowReferenceImage`. */
|
|
3806
|
+
ReferenceImage?: AIInputImage;
|
|
3807
|
+
}
|
|
3808
|
+
/** Speech from text (TTS). */
|
|
3809
|
+
interface AIAudioInput {
|
|
3810
|
+
Text?: string;
|
|
3811
|
+
Voice?: string;
|
|
3812
|
+
/** `"mp3"` / `"wav"` / `"opus"`. */
|
|
3813
|
+
Format?: string;
|
|
3814
|
+
}
|
|
3815
|
+
interface AIMusicInput {
|
|
3816
|
+
Prompt?: string;
|
|
3817
|
+
/** `"mp3"` / `"wav"`. */
|
|
3818
|
+
Format?: string;
|
|
3819
|
+
}
|
|
3820
|
+
interface AIThreeDInput {
|
|
3821
|
+
Prompt?: string;
|
|
3822
|
+
/** Source image for an `image-to-3d` feature. */
|
|
3823
|
+
Image?: AIInputImage;
|
|
3824
|
+
/** `"realistic"` / `"sculpture"`. */
|
|
3825
|
+
ArtStyle?: string;
|
|
3826
|
+
/** `"glb"` / `"fbx"` / `"obj"` / `"usdz"`. */
|
|
3827
|
+
Format?: string;
|
|
3828
|
+
}
|
|
3829
|
+
/** Filter + page of the player's generation history (`listGenerations`). */
|
|
3830
|
+
interface AIHistoryQuery {
|
|
3831
|
+
Modality?: AIModality;
|
|
3832
|
+
FeatureKey?: string;
|
|
3833
|
+
/** `"pending"` / `"running"` / `"completed"` / `"failed"`. Absent = all. */
|
|
3834
|
+
Status?: string;
|
|
3835
|
+
Skip?: number;
|
|
3836
|
+
/** 1..50; the server defaults to 20. */
|
|
3837
|
+
Limit?: number;
|
|
3838
|
+
}
|
|
3839
|
+
/** Request envelope of every AI action. Fields are filled per action. */
|
|
3840
|
+
interface AIRequest extends BaseRequest {
|
|
3841
|
+
/** Feature key from the title's AI config. Required by every generate action. */
|
|
3842
|
+
FeatureKey?: string;
|
|
3843
|
+
/** Payment option (`PriceOption.OptionID`) the player pays with. Absent = first available. */
|
|
3844
|
+
SelectedOptionID?: string;
|
|
3845
|
+
Text?: AITextInput;
|
|
3846
|
+
Image?: AIImageInput;
|
|
3847
|
+
ImageEdit?: AIImageEditInput;
|
|
3848
|
+
Video?: AIVideoInput;
|
|
3849
|
+
Audio?: AIAudioInput;
|
|
3850
|
+
Music?: AIMusicInput;
|
|
3851
|
+
ThreeD?: AIThreeDInput;
|
|
3852
|
+
/** For GetGeneration and for polling asynchronous jobs (GetText / GetVideo / GetThreeD). */
|
|
3853
|
+
GenerationID?: string;
|
|
3854
|
+
/** ListGenerations only. */
|
|
3855
|
+
Query?: AIHistoryQuery;
|
|
3856
|
+
}
|
|
3857
|
+
type AIGenerationAssetView = { Url?: null | string; ContentType?: null | string; Variant?: null | string; };
|
|
3858
|
+
type AIGenerationErrorView = { Code?: null | string; Message?: null | string; };
|
|
3859
|
+
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; CreatedAt?: null | string; UpdatedAt?: null | string; };
|
|
3860
|
+
type AIGenerationListView = { Data?: null | Array<AIGenerationView>; Skip?: null | number; Limit?: null | number; };
|
|
3861
|
+
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; };
|
|
3862
|
+
/** The title's AI features, returned by `getDefinitions()`. */
|
|
3863
|
+
interface AIPublicDefinitions {
|
|
3864
|
+
/** Master switch. `false` = every generate request fails. */
|
|
3865
|
+
Enabled?: boolean | null;
|
|
3866
|
+
/** Key = `FeatureKey`. A missing key means the feature does not exist. */
|
|
3867
|
+
Features?: Record<string, AIPublicFeature> | null;
|
|
3868
|
+
}
|
|
3869
|
+
declare const AIAction: {
|
|
3870
|
+
/** Sanitized feature list of the title. */
|
|
3871
|
+
readonly GetDefinitions: "GetDefinitions";
|
|
3872
|
+
/** Text. For an `Async` feature it only submits the job (status `running`). */
|
|
3873
|
+
readonly GenerateText: "GenerateText";
|
|
3874
|
+
/** Poll an asynchronous text job. */
|
|
3875
|
+
readonly GetText: "GetText";
|
|
3876
|
+
readonly GenerateImage: "GenerateImage";
|
|
3877
|
+
readonly EditImage: "EditImage";
|
|
3878
|
+
/** Video: submits the job (status `running`). */
|
|
3879
|
+
readonly GenerateVideo: "GenerateVideo";
|
|
3880
|
+
/** Poll a video job. */
|
|
3881
|
+
readonly GetVideo: "GetVideo";
|
|
3882
|
+
/** Speech from text (TTS). */
|
|
3883
|
+
readonly GenerateAudio: "GenerateAudio";
|
|
3884
|
+
readonly GenerateMusic: "GenerateMusic";
|
|
3885
|
+
/** 3D: submits the job (status `running`). */
|
|
3886
|
+
readonly GenerateThreeD: "GenerateThreeD";
|
|
3887
|
+
/** Poll a 3D job. */
|
|
3888
|
+
readonly GetThreeD: "GetThreeD";
|
|
3889
|
+
readonly ListGenerations: "ListGenerations";
|
|
3890
|
+
readonly GetGeneration: "GetGeneration";
|
|
3891
|
+
};
|
|
3892
|
+
type AIAction = (typeof AIAction)[keyof typeof AIAction];
|
|
3893
|
+
|
|
3598
3894
|
/** Storage scope: who may write a record and whether it is cached server-side. */
|
|
3599
3895
|
declare const TitleDataScope: {
|
|
3600
3896
|
/** Authored configuration. Written by the publisher / AI Coder; cached with the title config. */
|
|
@@ -3896,6 +4192,9 @@ interface SdkEvents {
|
|
|
3896
4192
|
"character:charactersUnlocked": UnlockCharactersBatchResponse;
|
|
3897
4193
|
"character:levelsUpgraded": UpgradeCharacterLevelsBatchResponse;
|
|
3898
4194
|
"character:statLevelsUpgraded": UpgradeStatLevelsBatchResponse;
|
|
4195
|
+
"character:skinUnlocked": UnlockSkinResponse;
|
|
4196
|
+
"character:skinEquipped": EquipSkinResponse;
|
|
4197
|
+
"character:skinUnequipped": UnequipSkinResponse;
|
|
3899
4198
|
"match:created": CreateMatchResponse;
|
|
3900
4199
|
"match:updated": UpdateMatchResponse;
|
|
3901
4200
|
"match:cancelled": CancelMatchResponse;
|
|
@@ -3906,6 +4205,16 @@ interface SdkEvents {
|
|
|
3906
4205
|
"match:definitionsLoaded": GetMatchDefinitionsResponse;
|
|
3907
4206
|
"craft:definitionsLoaded": CraftDefinitions;
|
|
3908
4207
|
"craft:completed": CraftResponse;
|
|
4208
|
+
"ai:definitionsLoaded": AIPublicDefinitions;
|
|
4209
|
+
/** Every generate / poll response, whatever its status (progress bars redraw on this). */
|
|
4210
|
+
"ai:generationUpdated": AIGenerationView;
|
|
4211
|
+
/** A generate or poll response came back `completed`. */
|
|
4212
|
+
"ai:generationCompleted": AIGenerationView;
|
|
4213
|
+
/**
|
|
4214
|
+
* A generate or poll response came back `failed` (the call itself succeeded). Read
|
|
4215
|
+
* `Error.Code` to branch, show `Error.Message` to the player.
|
|
4216
|
+
*/
|
|
4217
|
+
"ai:generationFailed": AIGenerationView;
|
|
3909
4218
|
"collection:definitionsLoaded": CollectionDefinitions;
|
|
3910
4219
|
"collection:userStateLoaded": UserCollectionState;
|
|
3911
4220
|
"collection:packOpened": OpenPackResponse;
|
|
@@ -4228,6 +4537,15 @@ declare class UserData {
|
|
|
4228
4537
|
applyInventory(inventory: UserInventoryState): void;
|
|
4229
4538
|
applyVirtualCurrency(data: Record<string, UserVirtualCurrencyState>): void;
|
|
4230
4539
|
applyResourceOperation(op: ResourceOperation | null | undefined, itemDefs?: ItemDefinitions, now?: Date): void;
|
|
4540
|
+
/**
|
|
4541
|
+
* Applies one response's `ResourceOperation` AND its `InventoryDelta` as ONE change — the only
|
|
4542
|
+
* correct way for responses that carry both (see `reconcileUnstackableDelta`): applied one after
|
|
4543
|
+
* the other, the operation's guessed instances (random-id placeholders, the oldest copy consumed)
|
|
4544
|
+
* contradict the delta, and non-stackable items double up or vanish. With no delta this is
|
|
4545
|
+
* exactly `applyResourceOperation`.
|
|
4546
|
+
*/
|
|
4547
|
+
applyResourcesWithDelta(op: ResourceOperation | null | undefined, delta: InventoryDelta | null | undefined, itemDefs?: ItemDefinitions, now?: Date): void;
|
|
4548
|
+
private emitResourceChanges;
|
|
4231
4549
|
/** Decimal-precise crypto delta (port of PatchCryptoCurrencyDelta). */
|
|
4232
4550
|
patchCryptoCurrencyDelta(currencyID: string, delta: Decimal | string | number, serverTimeUtc?: string): void;
|
|
4233
4551
|
applyStore(data: UserStoreState | null): void;
|
|
@@ -4784,8 +5102,8 @@ declare const IapPurchaseStatus: {
|
|
|
4784
5102
|
readonly AlreadyProcessed: "AlreadyProcessed";
|
|
4785
5103
|
};
|
|
4786
5104
|
type IapPurchaseStatus = (typeof IapPurchaseStatus)[keyof typeof IapPurchaseStatus];
|
|
4787
|
-
type PurchaseValidationResponse = { ServerTimeUtc: string; Store?: null | 'GooglePlay' | 'AppleAppStore'; ProductID?: null | string; TransactionID?: null | string; Status?: null | 'Granted' | 'Restored' | 'AlreadyProcessed'; Granted?: null | boolean; Quantity?: null | number; Resources?: null | ResourceOperation; ProductState?: null | IapProductPurchaseState; [key: string]: unknown; };
|
|
4788
|
-
type PurchaseValidationBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | PurchaseValidationResponse; }>; Resources?: null | ResourceOperation; };
|
|
5105
|
+
type PurchaseValidationResponse = { ServerTimeUtc: string; Store?: null | 'GooglePlay' | 'AppleAppStore'; 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; };
|
|
5106
|
+
type PurchaseValidationBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | PurchaseValidationResponse; }>; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
4789
5107
|
interface PurchaseReceiptRef {
|
|
4790
5108
|
Store?: IapStore;
|
|
4791
5109
|
Receipt?: string;
|
|
@@ -4864,6 +5182,12 @@ declare class PurchaseService {
|
|
|
4864
5182
|
* consumable that never reached us is granted now.
|
|
4865
5183
|
*/
|
|
4866
5184
|
validatePurchasesBatch(receipts: PurchaseReceiptRef[]): Promise<OperationResult<PurchaseValidationBatchResponse>>;
|
|
5185
|
+
/**
|
|
5186
|
+
* Applies one validated receipt to the cache — only when something was actually granted:
|
|
5187
|
+
* `AlreadyProcessed` and `Restored` carry an empty operation, and crediting them would double the
|
|
5188
|
+
* reward for one payment.
|
|
5189
|
+
*/
|
|
5190
|
+
private applyValidation;
|
|
4867
5191
|
}
|
|
4868
5192
|
|
|
4869
5193
|
/** What a price option needs before it can be paid. */
|
|
@@ -5593,6 +5917,39 @@ declare class CharacterService {
|
|
|
5593
5917
|
equipItems(characterID: string, itemsToEquip: EquipSlotPair[]): Promise<OperationResult<EquipItemsResponse>>;
|
|
5594
5918
|
unequipItems(characterID: string, slotIDs: string[]): Promise<OperationResult<UnequipItemsResponse>>;
|
|
5595
5919
|
unequipAllCharacters(): Promise<OperationResult<UnequipAllCharactersResponse>>;
|
|
5920
|
+
/**
|
|
5921
|
+
* Buys a skin from the character screen (the skin's direct sale).
|
|
5922
|
+
*
|
|
5923
|
+
* A skin is an ITEM: this grants one copy of the skin's item and charges the price in one
|
|
5924
|
+
* atomic operation — and any other system that grants items (store offers, lootboxes, season,
|
|
5925
|
+
* quests, rewards) grants skins too. `autoEquip` wears it in the same request; a failed wear
|
|
5926
|
+
* keeps the purchase (see `EquipError`). The refusal `SKIN_ALREADY_OWNED` means the player
|
|
5927
|
+
* already owns a copy — hide the buy button. `payment` is required exactly when the chosen
|
|
5928
|
+
* option is paid in a store.
|
|
5929
|
+
*/
|
|
5930
|
+
unlockSkin(characterID: string, skinID: string, options?: {
|
|
5931
|
+
selectedOptionID?: string;
|
|
5932
|
+
payment?: PaymentProof;
|
|
5933
|
+
autoEquip?: boolean;
|
|
5934
|
+
}): Promise<OperationResult<UnlockSkinResponse>>;
|
|
5935
|
+
/**
|
|
5936
|
+
* Wears a skin: the server binds a free copy of the skin's item (or `instanceID`) to
|
|
5937
|
+
* `SKIN_SLOT` and frees the previous skin's copy. Wearing the base look
|
|
5938
|
+
* (`Skins.DefaultSkinID`) removes the skin. `Requirements` gate wearing; owning is never gated.
|
|
5939
|
+
*/
|
|
5940
|
+
equipSkin(characterID: string, skinID: string, instanceID?: string): Promise<OperationResult<EquipSkinResponse>>;
|
|
5941
|
+
/** Removes the worn skin (back to the base look). Idempotent: `Cleared` = false when none was worn. */
|
|
5942
|
+
unequipSkin(characterID: string): Promise<OperationResult<UnequipSkinResponse>>;
|
|
5943
|
+
/**
|
|
5944
|
+
* The server-computed skin storefront — a pure read (no writes, no lock). Per skin: owned,
|
|
5945
|
+
* worn, on sale, gate open, wearable, buyable right now, and the prices available on this
|
|
5946
|
+
* platform. Drive the Buy button from `Purchasable`: audience gates (segments, experiments) and
|
|
5947
|
+
* sale windows can't be evaluated honestly on the client. Omit `characterID` for every
|
|
5948
|
+
* character that has skins.
|
|
5949
|
+
*/
|
|
5950
|
+
getCharacterSkins(characterID?: string): Promise<OperationResult<GetCharacterSkinsResponse>>;
|
|
5951
|
+
/** Mirrors the worn skin into the cache: it is a regular `Equipment[SKIN_SLOT]` entry. */
|
|
5952
|
+
private applySkinLocally;
|
|
5596
5953
|
/**
|
|
5597
5954
|
* Unlock several characters in one atomic operation. Cheaper than N `unlockCharacter`
|
|
5598
5955
|
* calls; the backend dedupes ids, skips already-owned / non-purchasable ones per item, and
|
|
@@ -5653,7 +6010,99 @@ declare class CraftService {
|
|
|
5653
6010
|
private readonly ctx;
|
|
5654
6011
|
constructor(ctx: ClientContext);
|
|
5655
6012
|
getDefinitions(): Promise<OperationResult<CraftDefinitionsResponse>>;
|
|
5656
|
-
|
|
6013
|
+
/**
|
|
6014
|
+
* @param inputItemIDs catalog ItemIDs — a template of exactly RequiredItemCount entries.
|
|
6015
|
+
* @param inputInstanceIDs only for a ClientSelected recipe: which instances to burn, one per
|
|
6016
|
+
* unstackable input of the expanded list (template × count), in order. Omit to let the server
|
|
6017
|
+
* pick without touching upgraded copies.
|
|
6018
|
+
*/
|
|
6019
|
+
craft(craftID: string, inputItemIDs: string[], count?: number, selectedOptionID?: string, inputInstanceIDs?: string[]): Promise<OperationResult<CraftResponse>>;
|
|
6020
|
+
private baseRequest;
|
|
6021
|
+
}
|
|
6022
|
+
|
|
6023
|
+
/** Per-call options of every generate method. */
|
|
6024
|
+
interface AIGenerateOptions {
|
|
6025
|
+
/**
|
|
6026
|
+
* Idempotency key. Omit it and every call is a new, separately paid generation. Pass your own
|
|
6027
|
+
* (e.g. `crypto.randomUUID()`) when you may need to RETRY the same generation — after a
|
|
6028
|
+
* `connection` failure a retry with the same key returns the original generation and is never
|
|
6029
|
+
* charged twice; a retry without one is a second generation.
|
|
6030
|
+
*
|
|
6031
|
+
* 1–128 characters of `A–Z a–z 0–9 _ -` (a UUID fits) — anything else fails with
|
|
6032
|
+
* `reason: "client"`, because the server would strip it and two keys could become one.
|
|
6033
|
+
*/
|
|
6034
|
+
relatedEntityID?: string;
|
|
6035
|
+
/** `PriceOption.OptionID` of the feature the player pays with. Omit = first available option. */
|
|
6036
|
+
selectedOptionID?: string;
|
|
6037
|
+
}
|
|
6038
|
+
/**
|
|
6039
|
+
* In-game AI generation: text (NPC dialogue, optionally from images), images and edits, video,
|
|
6040
|
+
* speech, music and 3D models — every feature configured by the publisher in the dashboard.
|
|
6041
|
+
*
|
|
6042
|
+
* **What to know before wiring a UI to this.**
|
|
6043
|
+
*
|
|
6044
|
+
* 1. **The client never picks the model or the price.** It names a `FeatureKey`; the model, the
|
|
6045
|
+
* system prompt and the player's price live in the title's AI config on the server.
|
|
6046
|
+
*
|
|
6047
|
+
* 2. **Video, 3D and `Async` text are jobs, and YOU poll them.** The generate call returns
|
|
6048
|
+
* `Status: "running"`; call `getVideo` / `getThreeD` / `getText` with its `GenerationID` until
|
|
6049
|
+
* `isTerminal(status)`. The service runs no timers — every poll is an API call billed to the
|
|
6050
|
+
* publisher, so poll only while the player is waiting for the result.
|
|
6051
|
+
*
|
|
6052
|
+
* 3. **`result.ok` is about the CALL, not the generation.** A generation that ran and failed comes
|
|
6053
|
+
* back as `ok: true` with `Status: "failed"` and an `Error { Code, Message }`. A request the
|
|
6054
|
+
* server refused outright is `ok: false, reason: "server"`.
|
|
6055
|
+
*
|
|
6056
|
+
* 4. **`Charge` is applied to the cache once, by the generate call that returned it.** Polls and
|
|
6057
|
+
* history reads never touch the cache — an old generation's charge is already in the balances.
|
|
6058
|
+
* A generation with `PlayerRefunded` is never applied; if this session applied its Charge
|
|
6059
|
+
* earlier (an async job is charged at submit), the service re-reads the inventory.
|
|
6060
|
+
*/
|
|
6061
|
+
declare class AIService {
|
|
6062
|
+
private readonly ctx;
|
|
6063
|
+
/** Generations whose `Charge` is already in the cache — a replay must not deduct it again. */
|
|
6064
|
+
private readonly charged;
|
|
6065
|
+
constructor(ctx: ClientContext);
|
|
6066
|
+
/** The title's AI features (sanitized: no model, no prompts). Cached as config section `"AI"`. */
|
|
6067
|
+
getDefinitions(): Promise<OperationResult<AIPublicDefinitions>>;
|
|
6068
|
+
/**
|
|
6069
|
+
* Text. Synchronous features answer with `completed` + `OutputText` (the call can take up to a
|
|
6070
|
+
* few minutes). An `Async` feature answers with `running` — poll {@link getText}.
|
|
6071
|
+
*/
|
|
6072
|
+
generateText(featureKey: string, input: AITextInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6073
|
+
/** Poll an asynchronous text job. */
|
|
6074
|
+
getText(generationID: string): Promise<OperationResult<AIGenerationView>>;
|
|
6075
|
+
generateImage(featureKey: string, input: AIImageInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6076
|
+
/** Edit source images with a prompt. Only on a feature with `AllowEdit`. */
|
|
6077
|
+
editImage(featureKey: string, input: AIImageEditInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6078
|
+
/** Submits a video job (`running`) — poll {@link getVideo}. */
|
|
6079
|
+
generateVideo(featureKey: string, input: AIVideoInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6080
|
+
/** Poll a video job. */
|
|
6081
|
+
getVideo(generationID: string): Promise<OperationResult<AIGenerationView>>;
|
|
6082
|
+
/** Speech from text (TTS). */
|
|
6083
|
+
generateAudio(featureKey: string, input: AIAudioInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6084
|
+
generateMusic(featureKey: string, input: AIMusicInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6085
|
+
/** Submits a 3D job (`running`) — poll {@link getThreeD}. */
|
|
6086
|
+
generateThreeD(featureKey: string, input: AIThreeDInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6087
|
+
/** Poll a 3D job. */
|
|
6088
|
+
getThreeD(generationID: string): Promise<OperationResult<AIGenerationView>>;
|
|
6089
|
+
/** A page of the player's generation history, newest first. */
|
|
6090
|
+
listGenerations(query?: AIHistoryQuery): Promise<OperationResult<AIGenerationListView>>;
|
|
6091
|
+
/** One generation by id (history). Emits no events and never touches the cache. */
|
|
6092
|
+
getGeneration(generationID: string): Promise<OperationResult<AIGenerationView>>;
|
|
6093
|
+
/** `true` once polling can stop — see {@link isAIGenerationTerminal}. */
|
|
6094
|
+
isTerminal(status: string | null | undefined): boolean;
|
|
6095
|
+
private generate;
|
|
6096
|
+
private poll;
|
|
6097
|
+
/**
|
|
6098
|
+
* Keeps the cache in step with what the server took. The Charge is applied once per generation
|
|
6099
|
+
* and only from the generate call — polls and history carry the same Charge, already in the
|
|
6100
|
+
* balances. A refunded generation is never applied; if this session applied it earlier, the
|
|
6101
|
+
* inventory is re-read (the server's truth, not a guessed inverse — premium discounts may have
|
|
6102
|
+
* changed what was actually taken). Runs before the events, so listeners see fresh balances.
|
|
6103
|
+
*/
|
|
6104
|
+
private reconcileCharge;
|
|
6105
|
+
private emitView;
|
|
5657
6106
|
private baseRequest;
|
|
5658
6107
|
}
|
|
5659
6108
|
|
|
@@ -6342,6 +6791,10 @@ declare class CharacterApi {
|
|
|
6342
6791
|
unlockCharactersBatch(request: CharacterRequest): Promise<OperationResult<UnlockCharactersBatchResponse>>;
|
|
6343
6792
|
upgradeCharacterLevelsBatch(request: CharacterRequest): Promise<OperationResult<UpgradeCharacterLevelsBatchResponse>>;
|
|
6344
6793
|
upgradeStatLevelsBatch(request: CharacterRequest): Promise<OperationResult<UpgradeStatLevelsBatchResponse>>;
|
|
6794
|
+
unlockSkin(request: CharacterRequest): Promise<OperationResult<UnlockSkinResponse>>;
|
|
6795
|
+
equipSkin(request: CharacterRequest): Promise<OperationResult<EquipSkinResponse>>;
|
|
6796
|
+
unequipSkin(request: CharacterRequest): Promise<OperationResult<UnequipSkinResponse>>;
|
|
6797
|
+
getCharacterSkins(request: CharacterRequest): Promise<OperationResult<GetCharacterSkinsResponse>>;
|
|
6345
6798
|
}
|
|
6346
6799
|
|
|
6347
6800
|
/** Thin transport wrapper for the Match feature (port of MatchAPI.cs). */
|
|
@@ -6368,6 +6821,39 @@ declare class CraftApi {
|
|
|
6368
6821
|
craft(request: CraftRequest): Promise<OperationResult<CraftResponse>>;
|
|
6369
6822
|
}
|
|
6370
6823
|
|
|
6824
|
+
/** Thin transport wrapper for the AI feature (port of AIAPI.cs). */
|
|
6825
|
+
declare class AIApi {
|
|
6826
|
+
private readonly ctx;
|
|
6827
|
+
constructor(ctx: ClientContext);
|
|
6828
|
+
private send;
|
|
6829
|
+
/**
|
|
6830
|
+
* A paid generate call: long timeout and NO transport auto-retry. A timed-out generation is
|
|
6831
|
+
* most likely still running on the server, and a silent resend would reach it while the first
|
|
6832
|
+
* attempt is in flight. The failure surfaces as `connection` instead; the caller retries with
|
|
6833
|
+
* the SAME `RelatedEntityID`, which the server answers with the original generation.
|
|
6834
|
+
*/
|
|
6835
|
+
private generate;
|
|
6836
|
+
/**
|
|
6837
|
+
* A read of one generation. The throttle key includes the generation, so polling two jobs back
|
|
6838
|
+
* to back is not rejected as a duplicate — while polling the SAME job faster than the throttle
|
|
6839
|
+
* window still is.
|
|
6840
|
+
*/
|
|
6841
|
+
private readGeneration;
|
|
6842
|
+
getDefinitions(request: AIRequest): Promise<OperationResult<AIPublicDefinitions>>;
|
|
6843
|
+
generateText(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
6844
|
+
getText(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
6845
|
+
generateImage(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
6846
|
+
editImage(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
6847
|
+
generateVideo(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
6848
|
+
getVideo(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
6849
|
+
generateAudio(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
6850
|
+
generateMusic(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
6851
|
+
generateThreeD(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
6852
|
+
getThreeD(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
6853
|
+
listGenerations(request: AIRequest): Promise<OperationResult<AIGenerationListView>>;
|
|
6854
|
+
getGeneration(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
6855
|
+
}
|
|
6856
|
+
|
|
6371
6857
|
/** Thin transport wrapper for the Collection feature (port of CollectionAPI.cs). */
|
|
6372
6858
|
declare class CollectionApi {
|
|
6373
6859
|
private readonly ctx;
|
|
@@ -6659,6 +7145,7 @@ declare class ClientContext {
|
|
|
6659
7145
|
character: CharacterApi;
|
|
6660
7146
|
match: MatchApi;
|
|
6661
7147
|
craft: CraftApi;
|
|
7148
|
+
ai: AIApi;
|
|
6662
7149
|
collection: CollectionApi;
|
|
6663
7150
|
coopEvent: CoopEventApi;
|
|
6664
7151
|
dealOffer: DealOfferApi;
|
|
@@ -6696,6 +7183,7 @@ declare class ClientContext {
|
|
|
6696
7183
|
readonly character: CharacterService;
|
|
6697
7184
|
readonly match: MatchService;
|
|
6698
7185
|
readonly craft: CraftService;
|
|
7186
|
+
readonly ai: AIService;
|
|
6699
7187
|
readonly collection: CollectionService;
|
|
6700
7188
|
readonly coopEvent: CoopEventService;
|
|
6701
7189
|
readonly dealOffer: DealOfferService;
|
|
@@ -6780,6 +7268,15 @@ declare class IDosGamesClient {
|
|
|
6780
7268
|
get character(): CharacterService;
|
|
6781
7269
|
get match(): MatchService;
|
|
6782
7270
|
get craft(): CraftService;
|
|
7271
|
+
/**
|
|
7272
|
+
* In-game AI generation (text, images, video, speech, music, 3D) by `FeatureKey` — features,
|
|
7273
|
+
* models and player prices are configured by the publisher, never chosen by the client.
|
|
7274
|
+
*
|
|
7275
|
+
* Video, 3D and `Async` text return `running`: poll `getVideo` / `getThreeD` / `getText`
|
|
7276
|
+
* yourself until `ai.isTerminal(status)`, and only while the player is waiting — every poll is
|
|
7277
|
+
* billed against the publisher's API quota.
|
|
7278
|
+
*/
|
|
7279
|
+
get ai(): AIService;
|
|
6783
7280
|
get collection(): CollectionService;
|
|
6784
7281
|
get coopEvent(): CoopEventService;
|
|
6785
7282
|
get dealOffer(): DealOfferService;
|
|
@@ -7043,4 +7540,4 @@ declare class LocalizationCache {
|
|
|
7043
7540
|
private versionsKey;
|
|
7044
7541
|
}
|
|
7045
7542
|
|
|
7046
|
-
export { type AcceptTradeOfferResponse, AcquisitionCapture, type ActivateReferralCodeResponse, type ActivateTimedBoostResponse, type ActiveBoostWindowInfo, type ActiveCoopEventInfo, type ActiveDealSlotInfo, type ActiveEventInfo, type ActiveSeasonInfo, type ActiveTimedBoost, type AdConsentSettings, type AdConsentState, type AdCreditsData, type AdDailyData, type AdFraudFlags, type AdFrequencyCappingSettings, type AdPendingRequest, type AdPlacementDefinition, type AdPlacementUserState, type AdProviderDefinition, AdProviderKind, type AdSessionData, AdType, type AdUnitConfig, type AdVerificationSettings, type AddQuestProgressResponse, type AdvertisingDefinitions, 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, ChatAction, ChatAuthorType, ChatBlockedTermAction, type ChatChannelAvailability, type ChatChannelDefinition, type ChatChannelIdentity, type ChatChannelPresetBindings, type ChatChannelRetention, ChatChannelType, type ChatChannelView, type ChatChannelWriteRules, type ChatChannelsResponse, type ChatConversationView, type ChatConversationsResponse, type ChatCursor, type ChatDefinitions, ChatDirectAudience, type ChatDirectChannelResponse, type ChatHistoryResponse, type ChatMessageView, type ChatModerationSettings, ChatPartitioning, type ChatPollResponse, type ChatPollingSettings, type ChatPresetRegistry, ChatReportReason, type ChatReportResponse, type ChatRequest, type ChatRoomUpdate, type ChatSendResponse, type ChatStateResponse, CheckoutService, type ClaimAllRewardsBatchResponse, type ClaimAllRewardsResult, type ClaimComebackRewardResponse, type ClaimCycleRewardResponse, type ClaimCycleRewardsBatchResponse, type ClaimDailyRewardResponse, type ClaimDealMilestoneResponse, type ClaimDealMilestonesBatchResponse, type ClaimGrandPrizeResponse, type ClaimGroupCompletionRewardResponse, type ClaimInviteRewardResponse, type ClaimInviteRewardsBatchResponse, type ClaimLeaderboardMilestoneResponse, type ClaimLeaderboardMilestonesBatchResponse, type ClaimMilestoneRewardResponse, type ClaimMilestoneRewardsBatchResponse, type ClaimMilestonesBatchResponse, type ClaimQuestRewardResponse, type ClaimQuestRewardsBatchResponse, type ClaimRewardResponse, type ClaimSetRewardResponse, type ClaimSetRewardsBatchResponse, type ClaimTierRewardResponse, type ClaimTierRewardsBatchResponse, ClientPlatform, type ClientState, CloudCodeAction, CloudCodeErrorCode, type CloudCodeLogEntry, CloudCodeLogLevel, type CloudCodeRequest, CloudCodeRevisionSelection, CloudCodeService, type CodeExecutionError, type CollectIdleAccrualResponse, CollectionAction, type CollectionDefinitions, type CollectionGlobalSettings, type CollectionRequest, CollectionService, type CollectionSetRef, type CollectionTradeOfferDocument, CommissionSink, type CommunityAccrualLine, type CommunityCampaignSummary, type CommunityChestClaimResponse, type CommunityChestGroupDocument, type CommunityChestGroupStateResponse, type CommunityChestHistoryEntry, type CommunityChestLeaveResponse, type CommunityChestMember, CommunityChestMemberStatus, type CommunityChestSharedState, CommunityChestStatus, type CommunityChestUserStateResponse, type CommunityClaimResponse, CommunityCreatorStatus, type CommunityEarningsLine, type CommunityEarningsResponse, type CommunityEligibilityCondition, type CommunityEligibilityResponse, CommunityMarketingAction, type CommunityMarketingRequest, type CommunityMarketingState, CommunityMetricKind, CommunityParticipationMode, CommunityPayoutCurrencyKind, type CommunityPayoutSummary, type CommunitySolanaWithdrawalSignature, type CommunityWithdrawalResponse, type ConfirmWithdrawalResponse, type ConversionDailyCounter, ConversionRateMode, type ConversionTarget, type ConvertResponse, type CoopBuildObjectsMemberState, type CoopBuildObjectsState, type CoopClaimRewardResponse, CoopEventAction, type CoopEventDefinitions, type CoopEventRequest, CoopEventService, type CoopGroupDocument, type CoopGroupMember, type CoopGroupStateResponse, CoopGroupStatus, type CoopLeaveGroupResponse, CoopMemberStatus, type CoopPartnerObjectState, type CoopSpinResponse, type CoopUserStateResponse, CraftAction, type 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 DealAvailability, DealComparisonOperator, type DealIdentity, type DealMilestoneBlock, type DealMilestoneProgressInfo, type DealNodeActionDefinition, type DealNodeDefinition, type DealNodePresetBindings, type DealNodePricing, type DealNodeReward, DealNodeRuntimeStatus, DealNodeType, type DealNodeUnlockRules, DealOfferAction, DealOfferActivationStatus, type DealOfferDefinition, type DealOfferDefinitions, type DealOfferGraph, type DealOfferPresetBindings, type DealOfferPresetRegistry, type DealOfferRequest, DealOfferService, type DealOffersDefinitionResponse, type DealRewardedVideoActionDefinition, type DealSlotBehaviour, type DealSlotDefinition, type DealSlotPresetBindings, type DealSlotQueueEntry, type DealTrackChange, type DealTrackDefinition, type DealTrackRequirement, type DeclineTradeOfferResponse, type DepositNFTResponse, type DepositTokenResponse, type DirectMessageSettings, 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 GetStorefrontResponse, type GetTradeOffersResponse, type GetUserQuestStateResponse, type GetUserTutorialStateResponse, type GrantStatusTokensResponse, type GrantTokensBatchResponse, type GrantedCollectible, type HeistCell, IDosGamesClient, type IDosGamesClientConfig, IDosGamesData, type IDosGamesSettings, type IapProductDefinition, type IapProductPurchaseState, type IapProductRules, IapProductType, IapPurchaseStatus, type IapStore, IapStore$1 as IapStoreValues, type IceServer, type 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, OFFER_NOT_IN_ROTATION, type OpenCollectionChestResponse, type OpenPackResponse, type OperationFailure, type OperationFailureReason, type OperationResult, type OperationSuccess, type PackOpenResult, type PaymentProof, type PaymentRequirement, type PendingWithdrawalRef, PlatformAdapter, type PlatformBlockchainState, type PlatformLoginResponse, type PlayerEconomyTuningState, PlaytimeTracker, type PollResponse, PremiumAction, type PremiumAdReduction, type PremiumDefinitions, type PremiumDefinitionsResponse, type PremiumPurchaseResponse, type PremiumRequest, PremiumService, type PremiumStateResponse, type PremiumSubscription, type PriceOption, type PriceOptions, type PublishResponse, PurchaseAction, type PurchaseBatchResponse, type PurchaseDefinitions, type PurchaseReceiptRef, type PurchaseRequest, PurchaseService, type PurchaseValidationBatchResponse, type PurchaseValidationResponse, PushAction, type PushConfigResponse, PushPermissionState, type PushRequest, type PushSubscribeOptions, type PushSubscribeResult, type PushSubscriptionListResponse, type PushSubscriptionView, PushTopic, type PushTopicView, PushTransport, type PvPMatch, QuestAction, type QuestAvailability, type QuestClaimRef, type QuestCycleDefinition, type QuestDefinition, type QuestDefinitions, type QuestGroupCompletionDefinition, type QuestIdentity, type QuestLinking, type QuestObjectiveDefinition, QuestObjectiveSource, type QuestPhaseDefinition, type QuestPointsTrackView, QuestPrerequisiteMode, type QuestPresetBindings, type QuestPresetRegistry, type QuestProgressUpdate, type QuestRequest, type QuestReward, QuestService, QuestStatus, RaidMode, type RaidResponse, type RealtimeEnvelope, type RechargeConfig, type RecordShowResponse, ReferralAction, type ReferralDefinitions, type ReferralDefinitionsResponse, type ReferralInviteRewardState, type ReferralRequest, ReferralService, type RelativeWindow, type ResourceBundle, type ResourceConsume, type ResourceDualPartyResult, type ResourceEntry, ResourceEntryType, type ResourceGrant, type ResourceOperation, type ResourceTransferResult, type RetryWithdrawalResponse, RewardAction, type RewardDefinitions, type RewardDefinitionsResponse, type RewardRequest, RewardService, type RewardedVideoSettings, type RollActionData, type RoomListItem, type RoomMemberView, type RoomSnapshotResponse, RoomVisibility, type RoomsPageResponse, 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 StoreAvailability, type StoreDefinition, type StoreDefinitions, type StoreIdentity, type StoreLayout, type StoreOfferAvailability, type StoreOfferDefinition, type StoreOfferPricing, type StoreOfferReward, type StoreOfferStateView, type StorePurchaseRef, type StorePurchaseResponse, type StorePurchaseState, type StoreRequest, StoreRotationMode, type StoreRotationPurchaseState, type StoreSectionDefinition, StoreService, type StoreSlotDefinition, type StoreSlotPoolEntry, type StoreSlotRotation, StoreType, type StoredLocalizationTable, type StorefrontOfferView, type StorefrontPriceOptionView, type StorefrontSectionView, type StorefrontSlotView, type StorefrontView, type SubmitScoreResponse, type SubmitScoresBatchResponse, type SuccessResponse, 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 UserChatChannelState, type UserChatLimitState, type UserChatState, type UserClaimRewardState, type UserCollectionState, type UserComebackState, type UserCommunityChestState, type UserCoopEventState, type UserCryptoComplianceCounters, type UserCryptoCurrencyState, UserCustomDataAction, type UserCustomDataBatchDeleteItem, type UserCustomDataBatchSetItem, type UserCustomDataDefinitions, type UserCustomDataKeyDefinition, type UserCustomDataRecord, type UserCustomDataRequest, UserCustomDataService, type UserCustomDataState, type UserDailyCalendarState, type UserDailyCounters, UserData, type UserDealNodeLifetimeCounts, type UserDealNodeState, type UserDealOfferActivationState, type UserDealOfferHistory, type UserDealOffersState, type UserDealOffersStateResponse, type UserDealSlotState, type UserDealTrackState, type UserDepositAddress, type UserEventTokenProgress, type UserEventTokensState, type UserGameLoopsState, type UserIdleAccrualState, type UserInventoryState, type UserKycState, type UserLeaderboardProgress, type UserLeaderboardsState, type UserLootboxPityCounter, type UserLootboxState, type UserMailboxState, type UserMarketplaceState, type UserMatchCreationLimitState, type UserMatchState, type UserPremiumState, type UserPublicDataModel, type UserPurchaseState, type UserQuestCycleState, type UserQuestObjectiveProgress, type UserQuestProgress, type UserQuestState, type UserReferralState, type UserReferralStateResponse, type UserRequest, type UserRewardState, type UserRewardsStateResponse, type UserSeasonState, type UserSeasonStateResponse, type UserSeasonsState, UserService, type UserSocialState, type UserState, type UserStateSlice, type UserStateVersions, type UserStoreState, type UserTimedBoostsState, type UserTimedEventStateResponse, type UserTutorialFlowState, type UserTutorialState, type UserTutorialStepState, type UserUsageState, type UserVirtualCurrencyState, type VirtualCurrencyDefinition, type VirtualCurrencyEconomy, type VirtualCurrencyPermissions, type WalletChallengeResponse, WalletLinkType, type WithdrawalSignatureResponse, type WithdrawalSplit, beginSsoRedirect, claimedMilestoneIDs, createIDosGamesClient, curveMultiplier, evaluateCurve, grantedPremiumTiers, isCurveConfigured, isFail, isMilestoneClaimed, isOk, normalizeBlockchainCategory, readSsoCodeFromUrl, roundAmount, zPaymentProof, zPriceOption, zPriceOptions };
|
|
7543
|
+
export { AIAction, type AIAudioInput, type AIChatMessage, AIErrorCode, type AIGenerateOptions, type AIGenerationAssetView, type AIGenerationErrorView, type AIGenerationListView, AIGenerationStatus, type AIGenerationView, type AIHistoryQuery, type AIImageEditInput, type AIImageInput, type AIInputImage, AIModality, type AIMusicInput, type AIPublicDefinitions, type AIPublicFeature, type AIRequest, AIService, type AITextInput, type AIThreeDInput, type AIVideoInput, type AcceptTradeOfferResponse, AcquisitionCapture, type ActivateReferralCodeResponse, type ActivateTimedBoostResponse, type ActiveBoostWindowInfo, type ActiveCoopEventInfo, type ActiveDealSlotInfo, type ActiveEventInfo, type ActiveSeasonInfo, type ActiveTimedBoost, type AdConsentSettings, type AdConsentState, type AdCreditsData, type AdDailyData, type AdFraudFlags, type AdFrequencyCappingSettings, type AdPendingRequest, type AdPlacementDefinition, type AdPlacementUserState, type AdProviderDefinition, AdProviderKind, type AdSessionData, AdType, type AdUnitConfig, type AdVerificationSettings, type AddQuestProgressResponse, type AdvertisingDefinitions, 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 CharacterSkinDefinition, type CharacterSkinItem, type CharacterSkinRequirements, type CharacterSkinSale, type CharacterSkinView, type CharacterSkins, type CharacterSkinsView, type CharacterStatRef, type CharacterUnequipResult, type CharacterUnlock, ChatAction, ChatAuthorType, ChatBlockedTermAction, type ChatChannelAvailability, type ChatChannelDefinition, type ChatChannelIdentity, type ChatChannelPresetBindings, type ChatChannelRetention, ChatChannelType, type ChatChannelView, type ChatChannelWriteRules, type ChatChannelsResponse, type ChatConversationView, type ChatConversationsResponse, type ChatCursor, type ChatDefinitions, ChatDirectAudience, type ChatDirectChannelResponse, type ChatHistoryResponse, type ChatMessageView, type ChatModerationSettings, ChatPartitioning, type ChatPollResponse, type ChatPollingSettings, type ChatPresetRegistry, ChatReportReason, type ChatReportResponse, type ChatRequest, type ChatRoomUpdate, type ChatSendResponse, type ChatStateResponse, CheckoutService, type ClaimAllRewardsBatchResponse, type ClaimAllRewardsResult, type ClaimComebackRewardResponse, type ClaimCycleRewardResponse, type ClaimCycleRewardsBatchResponse, type ClaimDailyRewardResponse, type ClaimDealMilestoneResponse, type ClaimDealMilestonesBatchResponse, type ClaimGrandPrizeResponse, type ClaimGroupCompletionRewardResponse, type ClaimInviteRewardResponse, type ClaimInviteRewardsBatchResponse, type ClaimLeaderboardMilestoneResponse, type ClaimLeaderboardMilestonesBatchResponse, type ClaimMilestoneRewardResponse, type ClaimMilestoneRewardsBatchResponse, type ClaimMilestonesBatchResponse, type ClaimQuestRewardResponse, type ClaimQuestRewardsBatchResponse, type ClaimRewardResponse, type ClaimSetRewardResponse, type ClaimSetRewardsBatchResponse, type ClaimTierRewardResponse, type ClaimTierRewardsBatchResponse, ClientPlatform, type ClientState, CloudCodeAction, CloudCodeErrorCode, type CloudCodeLogEntry, CloudCodeLogLevel, type CloudCodeRequest, CloudCodeRevisionSelection, CloudCodeService, type CodeExecutionError, type CollectIdleAccrualResponse, CollectionAction, type CollectionDefinitions, type CollectionGlobalSettings, type CollectionRequest, CollectionService, type CollectionSetRef, type CollectionTradeOfferDocument, CommissionSink, type CommunityAccrualLine, type CommunityCampaignSummary, type CommunityChestClaimResponse, type CommunityChestGroupDocument, type CommunityChestGroupStateResponse, type CommunityChestHistoryEntry, type CommunityChestLeaveResponse, type CommunityChestMember, CommunityChestMemberStatus, type CommunityChestSharedState, CommunityChestStatus, type CommunityChestUserStateResponse, type CommunityClaimResponse, CommunityCreatorStatus, type CommunityEarningsLine, type CommunityEarningsResponse, type CommunityEligibilityCondition, type CommunityEligibilityResponse, CommunityMarketingAction, type CommunityMarketingRequest, type CommunityMarketingState, CommunityMetricKind, CommunityParticipationMode, CommunityPayoutCurrencyKind, type CommunityPayoutSummary, type CommunitySolanaWithdrawalSignature, type CommunityWithdrawalResponse, type ConfirmWithdrawalResponse, type ConversionDailyCounter, ConversionRateMode, type ConversionTarget, type ConvertResponse, type CoopBuildObjectsMemberState, type CoopBuildObjectsState, type CoopClaimRewardResponse, CoopEventAction, type CoopEventDefinitions, type CoopEventRequest, CoopEventService, type CoopGroupDocument, type CoopGroupMember, type CoopGroupStateResponse, CoopGroupStatus, type CoopLeaveGroupResponse, CoopMemberStatus, type CoopPartnerObjectState, type CoopSpinResponse, type CoopUserStateResponse, CraftAction, type CraftBurnedInstance, type CraftDefinition, type CraftDefinitions, type CraftDefinitionsResponse, CraftInputSelectionMode, CraftOutputLevelMode, CraftOutputLevelOverflow, type CraftRequest, type CraftResponse, CraftService, type CraftSingleResult, CraftType, type CreateMatchResponse, type CryptoConvertResponse, type CryptoCurrencyDefinition, type CryptoCurrencyPermissions, type CryptoLimits, type CryptoNetworkBinding, type CryptoShortfall, CurrencyAction, type CurrencyAudit, type CurrencyConversion, type CurrencyDefinitions, type CurrencyRequest, CurrencyService, CurrencyStatus, CurrencyType, CurveInterpolation, type CurvePoint, CurveShape, CustomDataBucket, CustomDataValueType, CustomDataWriter, type CyclicSchedule, DEFAULT_BASE_URL, type DailyUsageRecord, type DealAvailability, DealComparisonOperator, type DealIdentity, type DealMilestoneBlock, type DealMilestoneProgressInfo, type DealNodeActionDefinition, type DealNodeDefinition, type DealNodePresetBindings, type DealNodePricing, type DealNodeReward, DealNodeRuntimeStatus, DealNodeType, type DealNodeUnlockRules, DealOfferAction, DealOfferActivationStatus, type DealOfferDefinition, type DealOfferDefinitions, type DealOfferGraph, type DealOfferPresetBindings, type DealOfferPresetRegistry, type DealOfferRequest, DealOfferService, type DealOffersDefinitionResponse, type DealRewardedVideoActionDefinition, type DealSlotBehaviour, type DealSlotDefinition, type DealSlotPresetBindings, type DealSlotQueueEntry, type DealTrackChange, type DealTrackDefinition, type DealTrackRequirement, type DeclineTradeOfferResponse, type DepositNFTResponse, type DepositTokenResponse, type DirectMessageSettings, type DismissDealResponse, type DonationResponse, EnvelopeType, type EquipItemsResponse, type EquipSkinResponse, type EquipSlotPair, type EquipmentPreset, type EquipmentSlot, type EquippedItem, type EventMap, type EventMilestoneClaimResponse, type EventTokenAddress, type EventTokenConversion, type EventTokenDefinition, type EventTokenGrantResponse, type EventTokenMilestoneData, type EventTokenOperation, type EventTokenSpendResponse, EventTokenType, type ExecuteCloudCodeResponse, type ExecuteNodeResponse, 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 GetCharacterSkinsResponse, type GetCharactersResponse, type GetLeaderboardResponse, type GetLeaderboardsBatchResponse, type GetMatchDefinitionsResponse, type GetMilestoneRewardMultiplierResponse, type GetMyProgressResponse, type GetMyUserCustomDataResponse, type GetOverviewBatchResponse, type GetProgressBatchResponse, type GetPublicTitleDataResponse, type GetPublicUserCustomDataResponse, type GetStorefrontResponse, type GetTradeOffersResponse, type GetUserQuestStateResponse, type GetUserTutorialStateResponse, type GrantStatusTokensResponse, type GrantTokensBatchResponse, type GrantedCollectible, type HeistCell, IDosGamesClient, type IDosGamesClientConfig, IDosGamesData, type IDosGamesSettings, type IapProductDefinition, type IapProductPurchaseState, type IapProductRules, IapProductType, IapPurchaseStatus, type IapStore, IapStore$1 as IapStoreValues, type IceServer, type 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, OFFER_NOT_IN_ROTATION, type OpenCollectionChestResponse, type OpenPackResponse, type OperationFailure, type OperationFailureReason, type OperationResult, type OperationSuccess, type PackOpenResult, type PaymentProof, type PaymentRequirement, type PendingWithdrawalRef, PlatformAdapter, type PlatformBlockchainState, type PlatformLoginResponse, type PlayerEconomyTuningState, PlaytimeTracker, type PollResponse, PremiumAction, type PremiumAdReduction, type PremiumDefinitions, type PremiumDefinitionsResponse, type PremiumPurchaseResponse, type PremiumRequest, PremiumService, type PremiumStateResponse, type PremiumSubscription, type PriceOption, type PriceOptions, type PublishResponse, PurchaseAction, type PurchaseBatchResponse, type PurchaseDefinitions, type PurchaseReceiptRef, type PurchaseRequest, PurchaseService, type PurchaseValidationBatchResponse, type PurchaseValidationResponse, PushAction, type PushConfigResponse, PushPermissionState, type PushRequest, type PushSubscribeOptions, type PushSubscribeResult, type PushSubscriptionListResponse, type PushSubscriptionView, PushTopic, type PushTopicView, PushTransport, type PvPMatch, QuestAction, type QuestAvailability, type QuestClaimRef, type QuestCycleDefinition, type QuestDefinition, type QuestDefinitions, type QuestGroupCompletionDefinition, type QuestIdentity, type QuestLinking, type QuestObjectiveDefinition, QuestObjectiveSource, type QuestPhaseDefinition, type QuestPointsTrackView, QuestPrerequisiteMode, type QuestPresetBindings, type QuestPresetRegistry, type QuestProgressUpdate, type QuestRequest, type QuestReward, QuestService, QuestStatus, RaidMode, type RaidResponse, type RealtimeEnvelope, type RechargeConfig, type RecordShowResponse, ReferralAction, type ReferralDefinitions, type ReferralDefinitionsResponse, type ReferralInviteRewardState, type ReferralRequest, ReferralService, type RelativeWindow, type ResourceBundle, type ResourceConsume, type ResourceDualPartyResult, type ResourceEntry, ResourceEntryType, type ResourceGrant, type ResourceOperation, type ResourceTransferResult, type RetryWithdrawalResponse, RewardAction, type RewardDefinitions, type RewardDefinitionsResponse, type RewardRequest, RewardService, type RewardedVideoSettings, type RollActionData, type RoomListItem, type RoomMemberView, type RoomSnapshotResponse, RoomVisibility, type RoomsPageResponse, SKIN_ALREADY_OWNED, SKIN_SLOT, type ScalarCurveSpec, type ScheduleChain, type ScheduleChainPhase, ScheduleMode, type ScheduleSpec, type ScheduledWindow, type SdkEvents, SeasonAction, type SeasonDefinitions, type SeasonRequest, SeasonService, type SeasonTierRewardBundle, type SeasonTierRewardMultiplier, type SeasonTierRewardSet, type SegmentGate, type SendTradeOfferResponse, type SetUserCustomDataResponse, type SettingsInput, SocialAction, type 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 StoreAvailability, type StoreDefinition, type StoreDefinitions, type StoreIdentity, type StoreLayout, type StoreOfferAvailability, type StoreOfferDefinition, type StoreOfferPricing, type StoreOfferReward, type StoreOfferStateView, type StorePurchaseRef, type StorePurchaseResponse, type StorePurchaseState, type StoreRequest, StoreRotationMode, type StoreRotationPurchaseState, type StoreSectionDefinition, StoreService, type StoreSlotDefinition, type StoreSlotPoolEntry, type StoreSlotRotation, StoreType, type StoredLocalizationTable, type StorefrontOfferView, type StorefrontPriceOptionView, type StorefrontSectionView, type StorefrontSlotView, type StorefrontView, type SubmitScoreResponse, type SubmitScoresBatchResponse, type SuccessResponse, 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 UnequipSkinResponse, type UnlockCharacterResponse, type UnlockCharactersBatchResponse, type UnlockSkinResponse, type UnstackableItemInstanceState, type Unsubscribe, type UpdateMatchResponse, type UpgradeCharacterLevelResponse, type UpgradeCharacterLevelsBatchResponse, type UpgradeItemLevelResponse, type UpgradeLevelsBatchResponse, type UpgradeLevelsOptions, type UpgradeStatLevelResponse, type UpgradeStatLevelsBatchResponse, type UsagePeriodRecord, type UsageReactivationEvent, type UsageTimeStats, type UseCollectibleJokerResponse, UserAction, type UserAdvertisingState, type UserBlockchainState, type UserBlockchainStateResponse, type UserCharactersState, type UserChatChannelState, type UserChatLimitState, type UserChatState, type UserClaimRewardState, type UserCollectionState, type UserComebackState, type UserCommunityChestState, type UserCoopEventState, type UserCryptoComplianceCounters, type UserCryptoCurrencyState, UserCustomDataAction, type UserCustomDataBatchDeleteItem, type UserCustomDataBatchSetItem, type UserCustomDataDefinitions, type UserCustomDataKeyDefinition, type UserCustomDataRecord, type UserCustomDataRequest, UserCustomDataService, type UserCustomDataState, type UserDailyCalendarState, type UserDailyCounters, UserData, type UserDealNodeLifetimeCounts, type UserDealNodeState, type UserDealOfferActivationState, type UserDealOfferHistory, type UserDealOffersState, type UserDealOffersStateResponse, type UserDealSlotState, type UserDealTrackState, type UserDepositAddress, type UserEventTokenProgress, type UserEventTokensState, type UserGameLoopsState, type UserIdleAccrualState, type UserInventoryState, type UserKycState, type UserLeaderboardProgress, type UserLeaderboardsState, type UserLootboxPityCounter, type UserLootboxState, type UserMailboxState, type UserMarketplaceState, type UserMatchCreationLimitState, type UserMatchState, type UserPremiumState, type UserPublicDataModel, type UserPurchaseState, type UserQuestCycleState, type UserQuestObjectiveProgress, type UserQuestProgress, type UserQuestState, type UserReferralState, type UserReferralStateResponse, type UserRequest, type UserRewardState, type UserRewardsStateResponse, type UserSeasonState, type UserSeasonStateResponse, type UserSeasonsState, UserService, type UserSocialState, type UserState, type UserStateSlice, type UserStateVersions, type UserStoreState, type UserTimedBoostsState, type UserTimedEventStateResponse, type UserTutorialFlowState, type UserTutorialState, type UserTutorialStepState, type UserUsageState, type UserVirtualCurrencyState, type VirtualCurrencyDefinition, type VirtualCurrencyEconomy, type VirtualCurrencyPermissions, type WalletChallengeResponse, WalletLinkType, type WithdrawalSignatureResponse, type WithdrawalSplit, beginSsoRedirect, claimedMilestoneIDs, createIDosGamesClient, curveMultiplier, evaluateCurve, grantedPremiumTiers, isAIGenerationTerminal, isCurveConfigured, isFail, isMilestoneClaimed, isOk, isReservedSlot, normalizeBlockchainCategory, parseAIErrorCode, readSsoCodeFromUrl, roundAmount, zPaymentProof, zPriceOption, zPriceOptions };
|