@idosgames/core 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -102,17 +102,17 @@ declare const ConversionRateMode: {
102
102
  readonly Manual: "Manual";
103
103
  };
104
104
  type ConversionRateMode = (typeof ConversionRateMode)[keyof typeof ConversionRateMode];
105
- type VirtualCurrencyEconomy = { ValueInUSD?: null | string; ValueInUSDUpdatedAt?: null | string; InitialDeposit?: null | number; MinBalance?: null | number; MaxBalance?: null | number; DailyEarnLimit?: null | number; DailySpendLimit?: null | number; } & Record<string, unknown>;
106
- type RechargeConfig = { Rate?: null | number; Max?: null | number; Period?: null | number; } & Record<string, unknown>;
107
- type VirtualCurrencyPermissions = { IsTradable?: null | boolean; IsPurchasable?: null | boolean; IsRefundable?: null | boolean; } & Record<string, unknown>;
108
- type ConversionTarget = { TargetCurrencyID: string; Rate?: null | string; TargetCurrencyType?: null | 'Virtual' | 'Crypto'; MinAmount?: null | number; MaxAmount?: null | number; DailyLimit?: null | number; } & Record<string, unknown>;
109
- type CurrencyConversion = { Enabled?: null | boolean; RateMode?: null | 'Automatic' | 'Manual'; FeePercent?: null | string; Targets?: null | Array<{ TargetCurrencyID: string; Rate?: null | string; TargetCurrencyType?: null | 'Virtual' | 'Crypto'; MinAmount?: null | number; MaxAmount?: null | number; DailyLimit?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>;
110
- type CurrencyAudit = { CreatedAt?: null | string; UpdatedAt?: null | string; } & Record<string, unknown>;
111
- type VirtualCurrencyDefinition = { CurrencyID: string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Economy?: null | { ValueInUSD?: null | string; ValueInUSDUpdatedAt?: null | string; InitialDeposit?: null | number; MinBalance?: null | number; MaxBalance?: null | number; DailyEarnLimit?: null | number; DailySpendLimit?: null | number; } & Record<string, unknown>; Recharge?: null | { Rate?: null | number; Max?: null | number; Period?: null | number; } & Record<string, unknown>; Conversion?: null | { Enabled?: null | boolean; RateMode?: null | 'Automatic' | 'Manual'; FeePercent?: null | string; Targets?: null | Array<{ TargetCurrencyID: string; Rate?: null | string; TargetCurrencyType?: null | 'Virtual' | 'Crypto'; MinAmount?: null | number; MaxAmount?: null | number; DailyLimit?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>; Permissions?: null | { IsTradable?: null | boolean; IsPurchasable?: null | boolean; IsRefundable?: null | boolean; } & Record<string, unknown>; Audit?: null | { CreatedAt?: null | string; UpdatedAt?: null | string; } & Record<string, unknown>; Status?: null | 'Active' | 'Hidden' | 'Deprecated' | 'Maintenance'; } & Record<string, unknown>;
112
- type CryptoNetworkBinding = { NetworkID: string; ContractAddress?: null | string; Decimals?: null | number; MinDeposit?: null | string; MinWithdraw?: null | string; WithdrawFee?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; } & Record<string, unknown>;
113
- type CryptoLimits = { DailyWithdrawUsd?: null | string; MonthlyWithdrawUsd?: null | string; KycRequiredAboveUsd?: null | string; } & Record<string, unknown>;
114
- type CryptoCurrencyPermissions = { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; SpendableInGame?: null | boolean; ConvertibleToVirtual?: null | boolean; } & Record<string, unknown>;
115
- type CryptoCurrencyDefinition = { CurrencyID: string; ValueInUSD?: null | string; ValueInUSDUpdatedAt?: null | string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Conversion?: null | { Enabled?: null | boolean; RateMode?: null | 'Automatic' | 'Manual'; FeePercent?: null | string; Targets?: null | Array<{ TargetCurrencyID: string; Rate?: null | string; TargetCurrencyType?: null | 'Virtual' | 'Crypto'; MinAmount?: null | number; MaxAmount?: null | number; DailyLimit?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>; Permissions?: null | { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; SpendableInGame?: null | boolean; ConvertibleToVirtual?: null | boolean; } & Record<string, unknown>; Audit?: null | { CreatedAt?: null | string; UpdatedAt?: null | string; } & Record<string, unknown>; Status?: null | 'Active' | 'Hidden' | 'Deprecated' | 'Maintenance'; DisplayDecimals?: null | number; DeveloperDepositSharePercent?: null | string; CommunityMarketingDepositSharePercent?: null | string; WithdrawalBurnPercent?: null | string; Networks?: null | Array<{ NetworkID: string; ContractAddress?: null | string; Decimals?: null | number; MinDeposit?: null | string; MinWithdraw?: null | string; WithdrawFee?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; } & Record<string, unknown>>; Limits?: null | { DailyWithdrawUsd?: null | string; MonthlyWithdrawUsd?: null | string; KycRequiredAboveUsd?: null | string; } & Record<string, unknown>; } & Record<string, unknown>;
105
+ type VirtualCurrencyEconomy = { ValueInUSD?: null | string; ValueInUSDUpdatedAt?: null | string; InitialDeposit?: null | number; MinBalance?: null | number; MaxBalance?: null | number; DailyEarnLimit?: null | number; DailySpendLimit?: null | number; [key: string]: unknown; };
106
+ type RechargeConfig = { Rate?: null | number; Max?: null | number; Period?: null | number; [key: string]: unknown; };
107
+ type VirtualCurrencyPermissions = { IsTradable?: null | boolean; IsPurchasable?: null | boolean; IsRefundable?: null | boolean; [key: string]: unknown; };
108
+ type ConversionTarget = { TargetCurrencyID: string; TargetCurrencyType?: null | 'Virtual' | 'Crypto'; Rate?: null | string; MinAmount?: null | number; MaxAmount?: null | number; DailyLimit?: null | number; [key: string]: unknown; };
109
+ type CurrencyConversion = { Enabled?: null | boolean; RateMode?: null | 'Automatic' | 'Manual'; FeePercent?: null | string; Targets?: null | Array<ConversionTarget>; [key: string]: unknown; };
110
+ type CurrencyAudit = { CreatedAt?: null | string; UpdatedAt?: null | string; [key: string]: unknown; };
111
+ type VirtualCurrencyDefinition = { CurrencyID: string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Economy?: null | VirtualCurrencyEconomy; Recharge?: null | RechargeConfig; Conversion?: null | CurrencyConversion; Permissions?: null | VirtualCurrencyPermissions; Audit?: null | CurrencyAudit; Status?: null | 'Active' | 'Hidden' | 'Deprecated' | 'Maintenance'; [key: string]: unknown; };
112
+ type CryptoNetworkBinding = { NetworkID: string; ContractAddress?: null | string; Decimals?: null | number; MinDeposit?: null | string; MinWithdraw?: null | string; WithdrawFee?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; [key: string]: unknown; };
113
+ type CryptoLimits = { DailyWithdrawUsd?: null | string; MonthlyWithdrawUsd?: null | string; KycRequiredAboveUsd?: null | string; [key: string]: unknown; };
114
+ type CryptoCurrencyPermissions = { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; SpendableInGame?: null | boolean; ConvertibleToVirtual?: null | boolean; [key: string]: unknown; };
115
+ type CryptoCurrencyDefinition = { CurrencyID: string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; DisplayDecimals?: null | number; ValueInUSD?: null | string; ValueInUSDUpdatedAt?: null | string; DeveloperDepositSharePercent?: null | string; CommunityMarketingDepositSharePercent?: null | string; WithdrawalBurnPercent?: null | string; Networks?: null | Array<CryptoNetworkBinding>; Limits?: null | CryptoLimits; Permissions?: null | CryptoCurrencyPermissions; Conversion?: null | CurrencyConversion; Audit?: null | CurrencyAudit; Status?: null | 'Active' | 'Hidden' | 'Deprecated' | 'Maintenance'; [key: string]: unknown; };
116
116
  /** The title's currency catalog (config), returned by getCurrencyDefinitions(). */
117
117
  interface CurrencyDefinitions {
118
118
  VirtualCurrencies?: Record<string, VirtualCurrencyDefinition> | null;
@@ -158,7 +158,7 @@ declare const CloudCodeErrorCode: {
158
158
  type CloudCodeErrorCode = (typeof CloudCodeErrorCode)[keyof typeof CloudCodeErrorCode];
159
159
  type CloudCodeLogEntry = { Level: 'Debug' | 'Info' | 'Warning' | 'Error'; Message?: null | string; Data?: null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean; };
160
160
  type CodeExecutionError = { Error: 'None' | 'Disabled' | 'NoActiveRevision' | 'RevisionNotFound' | 'InvalidFieldName' | 'RateLimited' | 'HandlerNotFound' | 'HandlerDisabled' | 'Timeout' | 'StatementCountExceeded' | 'StackOverflow' | 'ApiCallLimitExceeded' | 'JavaScriptException' | 'ExecutionError'; Message?: null | string; StackTrace?: null | string; };
161
- type ExecuteCloudCodeResponse = { Error?: null | CodeExecutionError; FunctionName?: null | string; Revision?: null | number; FunctionResult?: null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean; FunctionResultTooLarge?: null | boolean; Logs?: null | Array<CloudCodeLogEntry>; LogsTooLarge?: null | boolean; ExecutionTimeSeconds?: null | number; APIRequestsIssued?: null | number; };
161
+ type ExecuteCloudCodeResponse = { FunctionName?: null | string; Revision?: null | number; FunctionResult?: null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | Record<string, null | string | number | Array<null | string | number | Array<unknown> | Record<string, unknown> | boolean> | Record<string, null | string | number | Array<unknown> | Record<string, unknown> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean> | boolean; FunctionResultTooLarge?: null | boolean; Logs?: null | Array<CloudCodeLogEntry>; LogsTooLarge?: null | boolean; ExecutionTimeSeconds?: null | number; APIRequestsIssued?: null | number; Error?: null | CodeExecutionError; };
162
162
  interface CloudCodeRequest extends BaseRequest {
163
163
  /** Handler name inside the deployed script's `handlers` object. Case-sensitive. */
164
164
  FunctionName?: string;
@@ -221,8 +221,8 @@ interface UserStoreState {
221
221
  }
222
222
  type StorePurchaseResponse = { ServerTimeUtc: string; OfferID: string; Count: number; Resources?: null | ResourceOperation; };
223
223
  type PurchaseBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | StorePurchaseResponse; }>;
224
- type StoreDefinition = { StoreID: string; AssetPaths?: null | Record<string, string>; Type?: null | string; Name?: null | string; Description?: null | string; Rules?: null | { StartUtc?: null | string; EndUtc?: null | string; RequiredFlags?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>;
225
- type StoreOfferDefinition = { OfferID: string; AssetPaths?: null | Record<string, string>; Name?: null | string; Rules?: null | { Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; StartUtc?: null | string; EndUtc?: null | string; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; } & Record<string, unknown>; StoreIDs?: null | Array<string>; Cost?: null | ResourceConsume; Rewards?: null | ResourceGrant; } & Record<string, unknown>;
224
+ type StoreDefinition = { StoreID: string; Type?: null | string; Name?: null | string; Description?: null | string; Rules?: null | { StartUtc?: null | string; EndUtc?: null | string; RequiredFlags?: null | Array<string>; [key: string]: unknown; }; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
225
+ type StoreOfferDefinition = { OfferID: string; StoreIDs?: null | Array<string>; Name?: null | string; Cost?: null | ResourceConsume; Rewards?: null | ResourceGrant; Rules?: null | { StartUtc?: null | string; EndUtc?: null | string; Gate?: null | SegmentGate; Limits?: null | LimitSpec; [key: string]: unknown; }; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
226
226
  /** The title's shop system (config), returned by getStoreDefinitions(). */
227
227
  interface StoreDefinitions {
228
228
  Stores?: Record<string, StoreDefinition> | null;
@@ -246,12 +246,12 @@ declare const StoreAction: {
246
246
  readonly PurchaseBatch: "PurchaseBatch";
247
247
  };
248
248
  type StoreAction = (typeof StoreAction)[keyof typeof StoreAction];
249
- type LootboxAmountRange = { Max?: null | number; Min?: null | number; } & Record<string, unknown>;
250
- type LootboxRewardRoll = { Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; } & Record<string, unknown>;
251
- type LootboxRewardSlot = { SlotID?: null | string; MinRolls?: null | number; MaxRolls?: null | number; Pool?: null | Array<{ Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; } & Record<string, unknown>>; } & Record<string, unknown>;
252
- type LootboxPityRule = { Pool?: null | Array<{ Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; } & Record<string, unknown>>; RuleID?: null | string; Threshold?: null | number; } & Record<string, unknown>;
253
- type RewardSlotSet = { RewardSlots?: null | Array<{ SlotID?: null | string; MinRolls?: null | number; MaxRolls?: null | number; Pool?: null | Array<{ Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; } & Record<string, unknown>>; } & Record<string, unknown>>; } & Record<string, unknown>;
254
- type PityRuleSet = { PityRules?: null | Array<{ Pool?: null | Array<{ Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; } & Record<string, unknown>>; RuleID?: null | string; Threshold?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>;
249
+ type LootboxAmountRange = { Min?: null | number; Max?: null | number; [key: string]: unknown; };
250
+ type LootboxRewardRoll = { Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null | LootboxAmountRange; [key: string]: unknown; };
251
+ type LootboxRewardSlot = { SlotID?: null | string; MinRolls?: null | number; MaxRolls?: null | number; Pool?: null | Array<LootboxRewardRoll>; [key: string]: unknown; };
252
+ type LootboxPityRule = { RuleID?: null | string; Threshold?: null | number; Pool?: null | Array<LootboxRewardRoll>; [key: string]: unknown; };
253
+ type RewardSlotSet = { RewardSlots?: null | Array<LootboxRewardSlot>; [key: string]: unknown; };
254
+ type PityRuleSet = { PityRules?: null | Array<LootboxPityRule>; [key: string]: unknown; };
255
255
  /**
256
256
  * Library of reusable reward sets keyed by PresetID, scoped to a single owning module. Embedded
257
257
  * separately on LootboxDefinitions.RewardPools and CollectionDefinitions.RewardPools — two
@@ -265,12 +265,12 @@ interface RewardPoolLibrary {
265
265
  SlotPresets?: Record<string, RewardSlotSet> | null;
266
266
  PityPresets?: Record<string, PityRuleSet> | null;
267
267
  }
268
- type PresetBinding = { PresetID?: null | string; Remove?: null | Array<string>; } & Record<string, unknown>;
269
- type SeasonTierRewardBundle = { Rewards?: null | ResourceGrant; SeasonChainID?: null | string; MinSeasonTier?: null | number; } & Record<string, unknown>;
270
- type SeasonTierRewardMultiplier = { SeasonChainID?: null | string; MinSeasonTier?: null | number; Multiplier?: null | number; } & Record<string, unknown>;
271
- type SeasonTierRewardSet = { Bundles?: null | Array<{ Rewards?: null | ResourceGrant; SeasonChainID?: null | string; MinSeasonTier?: null | number; } & Record<string, unknown>>; Multipliers?: null | Array<{ SeasonChainID?: null | string; MinSeasonTier?: null | number; Multiplier?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>;
272
- type RewardProgressionMultiplierSpec = { Source?: null | 'BoardStageLevel' | 'BoardRank' | 'BoardCyclesCompleted' | 'CharacterLevel' | 'SeasonTier' | 'EventTokenTotalEarned' | 'VirtualCurrencyBalance' | 'PlayerLevel'; SourceKey?: null | string; CurveType?: null | 'Tiered' | 'Linear'; Tiers?: null | Array<{ Multiplier?: null | number; AtProgress?: null | number; } & Record<string, unknown>>; TierMode?: null | 'Linear' | 'Step'; BaseMultiplier?: null | number; PerUnit?: null | number; Anchor?: null | number; MinMultiplier?: null | number; MaxMultiplier?: null | number; IncludeRewards?: null | ResourceBundle; ExcludeRewards?: null | ResourceBundle; } & Record<string, unknown>;
273
- type MilestoneDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Rewards?: null | ResourceGrant; MilestoneID?: null | string; RequiredProgress?: null | number; BonusRewards?: null | ResourceGrant; SeasonTierRewards?: null | { Bundles?: null | Array<{ Rewards?: null | ResourceGrant; SeasonChainID?: null | string; MinSeasonTier?: null | number; } & Record<string, unknown>>; Multipliers?: null | Array<{ SeasonChainID?: null | string; MinSeasonTier?: null | number; Multiplier?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>; SortOrder?: null | number; IsFeatured?: null | boolean; } & Record<string, unknown>;
268
+ type PresetBinding = { PresetID?: null | string; Remove?: null | Array<string>; [key: string]: unknown; };
269
+ type SeasonTierRewardBundle = { SeasonChainID?: null | string; MinSeasonTier?: null | number; Rewards?: null | ResourceGrant; [key: string]: unknown; };
270
+ type SeasonTierRewardMultiplier = { SeasonChainID?: null | string; MinSeasonTier?: null | number; Multiplier?: null | number; [key: string]: unknown; };
271
+ type SeasonTierRewardSet = { Bundles?: null | Array<SeasonTierRewardBundle>; Multipliers?: null | Array<SeasonTierRewardMultiplier>; [key: string]: unknown; };
272
+ type RewardProgressionMultiplierSpec = { Source?: null | 'BoardStageLevel' | 'BoardRank' | 'BoardCyclesCompleted' | 'CharacterLevel' | 'SeasonTier' | 'EventTokenTotalEarned' | 'VirtualCurrencyBalance' | 'PlayerLevel'; SourceKey?: null | string; CurveType?: null | 'Tiered' | 'Linear'; Tiers?: null | Array<{ AtProgress?: null | number; Multiplier?: null | number; [key: string]: unknown; }>; TierMode?: null | 'Linear' | 'Step'; BaseMultiplier?: null | number; PerUnit?: null | number; Anchor?: null | number; MinMultiplier?: null | number; MaxMultiplier?: null | number; IncludeRewards?: null | ResourceBundle; ExcludeRewards?: null | ResourceBundle; [key: string]: unknown; };
273
+ type MilestoneDefinition = { MilestoneID?: null | string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; RequiredProgress?: null | number; Rewards?: null | ResourceGrant; BonusRewards?: null | ResourceGrant; SeasonTierRewards?: null | SeasonTierRewardSet; SortOrder?: null | number; IsFeatured?: null | boolean; [key: string]: unknown; };
274
274
  /**
275
275
  * Thin wrapper for a reusable milestone set (port of Core/Milestone/Models/MilestoneSet.cs,
276
276
  * declared once and reused by TimedEvent/DealOffer/Leaderboard). Held in a module's
@@ -292,7 +292,7 @@ interface UserLootboxState {
292
292
  Pity?: Record<string, UserLootboxPityCounter>;
293
293
  }
294
294
  type LootboxPityTriggerResponse = { RuleID: string; BoxIndex?: null | number; };
295
- type LootboxOpenResponse = { ServerTimeUtc: string; LootboxID: string; Resources?: null | ResourceOperation; OpenedCount?: null | number; SelectedOptionID?: null | number; Results?: null | Array<ResourceOperation>; TriggeredPity?: null | Array<LootboxPityTriggerResponse>; };
295
+ type LootboxOpenResponse = { ServerTimeUtc: string; LootboxID: string; OpenedCount?: null | number; SelectedOptionID?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; Results?: null | Array<ResourceOperation>; TriggeredPity?: null | Array<LootboxPityTriggerResponse>; };
296
296
  /**
297
297
  * Container of preset wiring for a lootbox — one PresetBinding per block. Inline data
298
298
  * (RewardSlots/PityRules) lives on LootboxDefinition. null = presets unused.
@@ -301,7 +301,8 @@ interface LootboxPresetBindings {
301
301
  RewardSlots?: PresetBinding | null;
302
302
  PityRules?: PresetBinding | null;
303
303
  }
304
- type LootboxDefinition = { LootboxID: string; AssetPaths?: null | Record<string, string>; RewardSlots?: null | Array<{ SlotID?: null | string; MinRolls?: null | number; MaxRolls?: null | number; Pool?: null | Array<{ Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; } & Record<string, unknown>>; } & Record<string, unknown>>; PityRules?: null | Array<{ Pool?: null | Array<{ Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; } & Record<string, unknown>>; RuleID?: null | string; Threshold?: null | number; } & Record<string, unknown>>; PriceOptions?: null | Record<string, { PriceOptionID?: null | number; RequiredResources?: null | ResourceConsume; } & Record<string, unknown>>; Presets?: null | LootboxPresetBindings; RewardMultiplier?: null | { Source?: null | 'BoardStageLevel' | 'BoardRank' | 'BoardCyclesCompleted' | 'CharacterLevel' | 'SeasonTier' | 'EventTokenTotalEarned' | 'VirtualCurrencyBalance' | 'PlayerLevel'; SourceKey?: null | string; CurveType?: null | 'Tiered' | 'Linear'; Tiers?: null | Array<{ Multiplier?: null | number; AtProgress?: null | number; } & Record<string, unknown>>; TierMode?: null | 'Linear' | 'Step'; BaseMultiplier?: null | number; PerUnit?: null | number; Anchor?: null | number; MinMultiplier?: null | number; MaxMultiplier?: null | number; IncludeRewards?: null | ResourceBundle; ExcludeRewards?: null | ResourceBundle; } & Record<string, unknown>; } & Record<string, unknown>;
304
+ type LootboxSupplyRule = { CatalogID?: null | string; ItemID?: null | string; MaxDrops?: null | number; [key: string]: unknown; };
305
+ type LootboxDefinition = { LootboxID: string; AssetPaths?: null | Record<string, string>; PriceOptions?: null | Record<string, { PriceOptionID?: null | number; RequiredResources?: null | ResourceConsume; [key: string]: unknown; }>; RewardSlots?: null | Array<LootboxRewardSlot>; PityRules?: null | Array<LootboxPityRule>; Presets?: null | LootboxPresetBindings; RewardMultiplier?: null | RewardProgressionMultiplierSpec; SupplyLimits?: null | Array<LootboxSupplyRule>; [key: string]: unknown; };
305
306
  /** The title's lootbox catalog (config), returned by getDefinitions(). */
306
307
  interface LootboxDefinitions {
307
308
  Definitions?: Record<string, LootboxDefinition> | null;
@@ -354,16 +355,16 @@ interface UserRewardState {
354
355
  Comebacks?: Record<string, UserComebackState>;
355
356
  Claims?: Record<string, UserClaimRewardState>;
356
357
  }
357
- type ClaimDailyRewardResponse = { ServerTimeUtc: string; CalendarID: string; DailyState: UserDailyCalendarState; Resources?: null | ResourceOperation; DayNumber?: null | number; };
358
- type CollectIdleAccrualResponse = { ServerTimeUtc: string; AccrualID: string; IdleState: UserIdleAccrualState; Resources?: null | ResourceOperation; AccruedSeconds?: null | number; AppliedRatePerSecond?: null | number; };
359
- type ClaimComebackRewardResponse = { ServerTimeUtc: string; ComebackID: string; ComebackState: UserComebackState; Resources?: null | ResourceOperation; ClaimedTierIndex?: null | number; };
358
+ type ClaimDailyRewardResponse = { ServerTimeUtc: string; CalendarID: string; DailyState: UserDailyCalendarState; DayNumber?: null | number; Resources?: null | ResourceOperation; };
359
+ type CollectIdleAccrualResponse = { ServerTimeUtc: string; AccrualID: string; IdleState: UserIdleAccrualState; AccruedSeconds?: null | number; AppliedRatePerSecond?: null | number; Resources?: null | ResourceOperation; };
360
+ type ClaimComebackRewardResponse = { ServerTimeUtc: string; ComebackID: string; ComebackState: UserComebackState; ClaimedTierIndex?: null | number; Resources?: null | ResourceOperation; };
360
361
  type ClaimRewardResponse = { ServerTimeUtc: string; ClaimID: string; ClaimState: UserClaimRewardState; Resources?: null | ResourceOperation; };
361
- type GetMilestoneRewardMultiplierResponse = { Enabled: boolean; Source?: null | string; Multiplier?: null | number; SourceKey?: null | string; Progress?: null | number; };
362
- type TierRewardSettings = { RewardMode?: null | string; RewardStackLowerTiers?: null | boolean; } & Record<string, unknown>;
363
- type DailyCalendarDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; CalendarID?: null | string; Days?: null | Array<{ AssetPaths?: null | Record<string, string>; Rewards?: null | ResourceGrant; DayNumber?: null | number; IsMilestone?: null | boolean; } & Record<string, unknown>>; IsLooping?: null | boolean; MissBehavior?: null | string; ResetByDays?: null | number; MissThresholdMultiplier?: null | number; ClaimMode?: null | string; ClaimCooldownSeconds?: null | number; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; } & Record<string, unknown>;
364
- type IdleAccrualDefinition = { Rate?: null | { BaseRatePerSecond?: null | number; PowerCoefficient?: null | number; BoardRankCoefficient?: null | number; EquipmentBonusEnabled?: null | boolean; EquipmentCharacterID?: null | string; PremiumMultipliers?: null | Array<{ MinPremiumTier?: null | number; RequiredPremiumID?: null | string; Multiplier?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; Rewards?: null | ResourceGrant; AccrualID?: null | string; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; MaxAccumulationSeconds?: null | number; MinClaimSeconds?: null | number; Requirements?: null | { Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; MinCharacterLevel?: null | number; RequirementsCharacterID?: null | string; RequiredItemIDs?: null | Array<string>; RequiredEquippedItemIDs?: null | Array<string>; } & Record<string, unknown>; FirstClaimMode?: null | string; } & Record<string, unknown>;
365
- type ComebackRewardDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; Tiers?: null | Array<{ AssetPaths?: null | Record<string, string>; Rewards?: null | ResourceGrant; MinAbsenceSeconds?: null | number; } & Record<string, unknown>>; ComebackID?: null | string; ClaimCooldownSeconds?: null | number; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; ClaimWindowSeconds?: null | number; TrackPresenceOnRead?: null | boolean; } & Record<string, unknown>;
366
- type ClaimRewardDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Description?: null | string; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; Rewards?: null | ResourceGrant; ClaimID?: null | string; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; Mode?: null | string; PremiumLimitOverrides?: null | Array<{ MinPremiumTier?: null | number; RequiredPremiumID?: null | string; CooldownSeconds?: null | number; WindowSeconds?: null | number; MaxClaimsPerWindow?: null | number; TotalClaimLimit?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>;
362
+ type GetMilestoneRewardMultiplierResponse = { Enabled: boolean; Multiplier?: null | number; Progress?: null | number; Source?: null | string; SourceKey?: null | string; };
363
+ type TierRewardSettings = { RewardMode?: null | string; RewardStackLowerTiers?: null | boolean; [key: string]: unknown; };
364
+ 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; };
365
+ type IdleAccrualDefinition = { AccrualID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Rate?: null | { BaseRatePerSecond?: null | number; PowerCoefficient?: null | number; BoardRankCoefficient?: null | number; EquipmentBonusEnabled?: null | boolean; EquipmentCharacterID?: null | string; PremiumMultipliers?: null | Array<{ MinPremiumTier?: null | number; RequiredPremiumID?: null | string; Multiplier?: null | number; [key: string]: unknown; }>; [key: string]: unknown; }; Rewards?: null | ResourceGrant; MaxAccumulationSeconds?: null | number; MinClaimSeconds?: null | number; Requirements?: null | { MinCharacterLevel?: null | number; RequirementsCharacterID?: null | string; Gate?: null | SegmentGate; RequiredItemIDs?: null | Array<string>; RequiredEquippedItemIDs?: null | Array<string>; [key: string]: unknown; }; FirstClaimMode?: null | string; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; [key: string]: unknown; };
366
+ type ComebackRewardDefinition = { ComebackID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Tiers?: null | Array<{ MinAbsenceSeconds?: null | number; Rewards?: null | ResourceGrant; AssetPaths?: null | Record<string, string>; [key: string]: unknown; }>; ClaimCooldownSeconds?: null | number; ClaimWindowSeconds?: null | number; TrackPresenceOnRead?: null | boolean; Gate?: null | SegmentGate; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; [key: string]: unknown; };
367
+ type ClaimRewardDefinition = { ClaimID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Mode?: null | string; Rewards?: null | ResourceGrant; Limits?: null | LimitSpec; PremiumLimitOverrides?: null | Array<{ MinPremiumTier?: null | number; RequiredPremiumID?: null | string; CooldownSeconds?: null | number; MaxClaimsPerWindow?: null | number; WindowSeconds?: null | number; TotalClaimLimit?: null | number; [key: string]: unknown; }>; Gate?: null | SegmentGate; AvailableFromUtc?: null | string; AvailableUntilUtc?: null | string; [key: string]: unknown; };
367
368
  interface RewardDefinitions {
368
369
  TierRewards?: TierRewardSettings | null;
369
370
  MilestoneRewardMultiplier?: RewardProgressionMultiplierSpec | null;
@@ -392,18 +393,18 @@ declare const RewardAction: {
392
393
  readonly GetMilestoneRewardMultiplier: "GetMilestoneRewardMultiplier";
393
394
  };
394
395
  type RewardAction = (typeof RewardAction)[keyof typeof RewardAction];
395
- type ExperimentVariantCondition = { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>;
396
- type SegmentGate = { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>;
397
- type RelativeWindow = { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>;
398
- type ScheduledWindow = { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>;
399
- type ScheduleChain = { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number; } & Record<string, unknown>;
400
- type ScheduleChainPhase = { ClaimGraceHours?: null | number; PhaseID?: null | string; Order?: null | number; DurationSec?: null | number; } & Record<string, unknown>;
401
- type CyclicSchedule = { ClaimGraceHours?: null | number; AnchorUtc?: null | string; PauseBetweenCyclesSec?: null | number; Reset?: null | string; IntervalSeconds?: null | number; } & Record<string, unknown>;
402
- type TriggerContext = { SourceType?: null | string; TileType?: null | string; TileIndex?: null | number; ChanceOutcomeID?: null | string; Outcome?: null | string; Params?: null | Record<string, string>; } & Record<string, unknown>;
403
- type TriggerSource = { SourceType?: null | string; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Params?: null | Record<string, string>; BaseWeight?: null | number; ScaleWithRollMultiplier?: null | boolean; TileTypeFilter?: null | Array<string>; TileIndexFilter?: null | Array<number>; ChanceOutcomeFilter?: null | Array<string>; OutcomeFilter?: null | Array<string>; } & Record<string, unknown>;
404
- type ScheduleSpec = { Mode?: null | string; IsActive?: null | boolean; Scheduled?: null | { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; Chain?: null | { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number; } & Record<string, unknown>; Cyclic?: null | { ClaimGraceHours?: null | number; AnchorUtc?: null | string; PauseBetweenCyclesSec?: null | number; Reset?: null | string; IntervalSeconds?: null | number; } & Record<string, unknown>; ActivationTriggers?: null | Array<{ SourceType?: null | string; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Params?: null | Record<string, string>; BaseWeight?: null | number; ScaleWithRollMultiplier?: null | boolean; TileTypeFilter?: null | Array<string>; TileIndexFilter?: null | Array<number>; ChanceOutcomeFilter?: null | Array<string>; OutcomeFilter?: null | Array<string>; } & Record<string, unknown>>; Relative?: null | { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; } & Record<string, unknown>;
405
- type EventTokenConversion = { Rate?: null | number; TargetCurrencyID?: null | string; MaxConvertAmount?: null | number; } & Record<string, unknown>;
406
- type EventTokenDefinition = { MaxBalance?: null | number; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; MaxPerGrant?: null | number; DailyEarnCap?: null | number; BurnOnEventEnd?: null | boolean; BurnConversion?: null | { Rate?: null | number; TargetCurrencyID?: null | string; MaxConvertAmount?: null | number; } & Record<string, unknown>; } & Record<string, unknown>;
396
+ type ExperimentVariantCondition = { ExperimentID?: null | string; Variants?: null | Array<string>; [key: string]: unknown; };
397
+ type SegmentGate = { Segments?: null | Array<string>; MinPremiumTier?: null | number; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | ExperimentVariantCondition; [key: string]: unknown; };
398
+ type RelativeWindow = { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; [key: string]: unknown; };
399
+ type ScheduledWindow = { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; [key: string]: unknown; };
400
+ type ScheduleChain = { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number; [key: string]: unknown; };
401
+ type ScheduleChainPhase = { PhaseID?: null | string; Order?: null | number; DurationSec?: null | number; ClaimGraceHours?: null | number; [key: string]: unknown; };
402
+ type CyclicSchedule = { Reset?: null | string; IntervalSeconds?: null | number; AnchorUtc?: null | string; PauseBetweenCyclesSec?: null | number; ClaimGraceHours?: null | number; [key: string]: unknown; };
403
+ type TriggerContext = { SourceType?: null | string; TileType?: null | string; TileIndex?: null | number; ChanceOutcomeID?: null | string; Outcome?: null | string; Params?: null | Record<string, string>; [key: string]: unknown; };
404
+ type TriggerSource = { SourceType?: null | string; BaseWeight?: null | number; ScaleWithRollMultiplier?: null | boolean; TileTypeFilter?: null | Array<string>; TileIndexFilter?: null | Array<number>; ChanceOutcomeFilter?: null | Array<string>; OutcomeFilter?: null | Array<string>; Params?: null | Record<string, string>; Limits?: null | LimitSpec; [key: string]: unknown; };
405
+ type ScheduleSpec = { Mode?: null | string; IsActive?: null | boolean; Scheduled?: null | ScheduledWindow; Chain?: null | ScheduleChain; Cyclic?: null | CyclicSchedule; ActivationTriggers?: null | Array<TriggerSource>; Relative?: null | RelativeWindow; [key: string]: unknown; };
406
+ type EventTokenConversion = { TargetCurrencyID?: null | string; Rate?: null | number; MaxConvertAmount?: null | number; [key: string]: unknown; };
407
+ type EventTokenDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; MaxBalance?: null | number; MaxPerGrant?: null | number; DailyEarnCap?: null | number; BurnOnEventEnd?: null | boolean; BurnConversion?: null | EventTokenConversion; [key: string]: unknown; };
407
408
 
408
409
  declare const QuestStatus: {
409
410
  readonly Active: "Active";
@@ -439,11 +440,11 @@ interface UserQuestState {
439
440
  LastUpdatedUtc?: string;
440
441
  }
441
442
  type QuestPointsTrackView = { CycleID: string; InstanceKey?: null | string; CycleStartUtc?: null | string; CycleEndUtc?: null | string; PointsTotalEarned?: null | number; PointsCurrent?: null | number; ClaimedPointMilestoneIDs?: null | Array<string>; };
442
- type QuestProgressUpdate = { Status: 'Active' | 'Completed' | 'Claimed' | 'Expired'; QuestID: string; CycleID?: null | string; ObjectiveID?: null | string; NewValue?: null | number; ObjectiveCompleted?: null | boolean; };
443
+ type QuestProgressUpdate = { QuestID: string; Status: 'Active' | 'Completed' | 'Claimed' | 'Expired'; CycleID?: null | string; ObjectiveID?: null | string; NewValue?: null | number; ObjectiveCompleted?: null | boolean; };
443
444
  type GetUserQuestStateResponse = { State?: null | UserQuestState; PointsTracks?: null | Record<string, QuestPointsTrackView>; };
444
- type ClaimQuestRewardResponse = { ServerTimeUtc: string; QuestID: string; Resources?: null | ResourceOperation; CycleID?: null | string; NewStatus?: null | 'Active' | 'Completed' | 'Claimed' | 'Expired'; };
445
- type ClaimMilestoneRewardResponse = { ServerTimeUtc: string; MilestoneID: string; CycleID: string; Resources?: null | ResourceOperation; PointsTotalEarned?: null | number; };
446
- type ClaimGroupCompletionRewardResponse = { ServerTimeUtc: string; CycleID: string; GroupCompletionID: string; Resources?: null | ResourceOperation; GroupID?: null | string; CompletedGroupQuests?: null | number; RequiredGroupQuests?: null | number; };
445
+ type ClaimQuestRewardResponse = { ServerTimeUtc: string; QuestID: string; CycleID?: null | string; NewStatus?: null | 'Active' | 'Completed' | 'Claimed' | 'Expired'; Resources?: null | ResourceOperation; };
446
+ type ClaimMilestoneRewardResponse = { ServerTimeUtc: string; CycleID: string; MilestoneID: string; PointsTotalEarned?: null | number; Resources?: null | ResourceOperation; };
447
+ type ClaimGroupCompletionRewardResponse = { ServerTimeUtc: string; CycleID: string; GroupCompletionID: string; GroupID?: null | string; CompletedGroupQuests?: null | number; RequiredGroupQuests?: null | number; Resources?: null | ResourceOperation; };
447
448
  type AddQuestProgressResponse = { MetricID: string; Updates?: null | Array<QuestProgressUpdate>; };
448
449
  type ClaimQuestRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimQuestRewardResponse; }>;
449
450
  type ClaimMilestoneRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimMilestoneRewardResponse; }>;
@@ -460,8 +461,8 @@ declare const QuestPrerequisiteMode: {
460
461
  readonly BlockClaimOnly: "BlockClaimOnly";
461
462
  };
462
463
  type QuestPrerequisiteMode = (typeof QuestPrerequisiteMode)[keyof typeof QuestPrerequisiteMode];
463
- type QuestDefinition = { DisplayName?: null | string; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Description?: null | string; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; Reward?: null | ResourceGrant; SortOrder?: null | number; QuestID?: null | string; GroupID?: null | string; CycleIDs?: null | Array<string>; RequiredQuestIDs?: null | Array<string>; PrerequisiteMode?: null | 'BlockProgressAndClaim' | 'BlockClaimOnly'; PointsReward?: null | number; Schedule?: null | { Mode?: null | string; IsActive?: null | boolean; Scheduled?: null | { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; Chain?: null | { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number; } & Record<string, unknown>; Cyclic?: null | { ClaimGraceHours?: null | number; AnchorUtc?: null | string; PauseBetweenCyclesSec?: null | number; Reset?: null | string; IntervalSeconds?: null | number; } & Record<string, unknown>; ActivationTriggers?: null | Array<{ SourceType?: null | string; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Params?: null | Record<string, string>; BaseWeight?: null | number; ScaleWithRollMultiplier?: null | boolean; TileTypeFilter?: null | Array<string>; TileIndexFilter?: null | Array<number>; ChanceOutcomeFilter?: null | Array<string>; OutcomeFilter?: null | Array<string>; } & Record<string, unknown>>; Relative?: null | { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; AccrueProgressWhenLocked?: null | boolean; Objectives?: null | Record<string, { Source?: null | 'ClientApi' | 'ServerApi' | 'SystemEvent'; ObjectiveID?: null | string; MetricID?: null | string; MaxProgressPerCall?: null | number; TargetValue?: null | number; AggregationMethod?: null | string; Filters?: null | Record<string, string>; } & Record<string, unknown>>; } & Record<string, unknown>;
464
- type QuestGroupCompletionDefinition = { Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; Reward?: null | ResourceGrant; GroupID?: null | string; PointsReward?: null | number; CompletionID?: null | string; RequiredCompletedQuests?: null | number; } & Record<string, unknown>;
464
+ type QuestDefinition = { QuestID?: null | string; CycleIDs?: null | Array<string>; DisplayName?: null | string; Description?: null | string; SortOrder?: null | number; RequiredQuestIDs?: null | Array<string>; PrerequisiteMode?: null | 'BlockProgressAndClaim' | 'BlockClaimOnly'; PointsReward?: null | number; Schedule?: null | ScheduleSpec; AccrueProgressWhenLocked?: null | boolean; Gate?: null | SegmentGate; Limits?: null | LimitSpec; GroupID?: null | string; Objectives?: null | Record<string, { ObjectiveID?: null | string; Source?: null | 'ClientApi' | 'ServerApi' | 'SystemEvent'; MaxProgressPerCall?: null | number; MetricID?: null | string; TargetValue?: null | number; AggregationMethod?: null | string; Filters?: null | Record<string, string>; [key: string]: unknown; }>; Reward?: null | ResourceGrant; [key: string]: unknown; };
465
+ type QuestGroupCompletionDefinition = { CompletionID?: null | string; GroupID?: null | string; RequiredCompletedQuests?: null | number; Gate?: null | SegmentGate; Reward?: null | ResourceGrant; PointsReward?: null | number; [key: string]: unknown; };
465
466
  /** Cycle definition: schedule + milestone rewards + points-track token. */
466
467
  interface QuestCycleDefinition {
467
468
  CycleID?: string | null;
@@ -514,12 +515,12 @@ declare const QuestAction: {
514
515
  readonly ClaimGroupCompletionReward: "ClaimGroupCompletionReward";
515
516
  };
516
517
  type QuestAction = (typeof QuestAction)[keyof typeof QuestAction];
517
- type ResourceEntry = { CurrencyID?: null | string; Type?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; Amount?: null | number; CatalogID?: null | string; ItemID?: null | string; };
518
+ type ResourceEntry = { Type?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; CurrencyID?: null | string; Amount?: null | number; CatalogID?: null | string; ItemID?: null | string; };
518
519
  type EventTokenAddress = { EntityID: string; Type?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; };
519
- type EventTokenOperation = { Amount?: null | number; Address?: null | EventTokenAddress; Source?: null | string; };
520
+ type EventTokenOperation = { Address?: null | EventTokenAddress; Amount?: null | number; Source?: null | string; };
520
521
  type ResourceBundle = { Entries?: null | Array<ResourceEntry>; EventTokens?: null | Array<EventTokenOperation>; };
521
522
  type ResourceGrant = { Standard?: null | ResourceBundle; PremiumBonuses?: null | Array<unknown>; PremiumTiers?: null | Array<{ MinPremiumTier?: null | number; RequiredPremiumID?: null | string; Resources?: null | ResourceBundle; }>; };
522
- type ResourceConsume = { Standard?: null | ResourceBundle; PremiumTiers?: null | Array<{ MinPremiumTier?: null | number; RequiredPremiumID?: null | string; Resources?: null | ResourceBundle; }>; PremiumDiscounts?: null | Array<unknown>; };
523
+ type ResourceConsume = { Standard?: null | ResourceBundle; PremiumDiscounts?: null | Array<unknown>; PremiumTiers?: null | Array<{ MinPremiumTier?: null | number; RequiredPremiumID?: null | string; Resources?: null | ResourceBundle; }>; };
523
524
  type ResourceOperation = { Grant?: null | ResourceGrant; Consume?: null | ResourceConsume; };
524
525
  type ResourceDualPartyResult = { FromUserID?: null | string; ToUserID?: null | string; FromResult?: null | ResourceOperation; ToResult?: null | ResourceOperation; };
525
526
  type ResourceTransferResult = { FromUserID?: null | string; ToUserID?: null | string; Transferred?: null | ResourceBundle; };
@@ -562,12 +563,12 @@ interface UserLeaderboardProgress {
562
563
  interface UserLeaderboardsState {
563
564
  ProgressByCycle?: Record<string, UserLeaderboardProgress>;
564
565
  }
565
- type LeaderboardUserEntry = { UserID: string; Score?: null | number; Rank?: null | number; LastScoreUpdateUtc?: null | string; IpHash?: null | string; PublicProfile?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; SeasonTierAtCycleEnd?: null | number; } & Record<string, unknown>;
566
- type GetLeaderboardResponse = { LeaderboardID: string; CycleEndUtc?: null | string; CycleVersion?: null | number; TotalParticipants?: null | number; TopUsers?: null | Array<{ UserID: string; Score?: null | number; Rank?: null | number; LastScoreUpdateUtc?: null | string; IpHash?: null | string; PublicProfile?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; SeasonTierAtCycleEnd?: null | number; } & Record<string, unknown>>; BracketID?: null | string; };
567
- type GetMyProgressResponse = { LeaderboardID: string; MilestoneTokensEarned?: null | number; CurrentScore?: null | number; LastKnownRank?: null | number; HasUnclaimedReward?: null | boolean; ScoreEarnedThisCycle?: null | number; NextMilestone?: null | { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Rewards?: null | ResourceGrant; MilestoneID?: null | string; RequiredProgress?: null | number; BonusRewards?: null | ResourceGrant; SeasonTierRewards?: null | { Bundles?: null | Array<{ Rewards?: null | ResourceGrant; SeasonChainID?: null | string; MinSeasonTier?: null | number; } & Record<string, unknown>>; Multipliers?: null | Array<{ SeasonChainID?: null | string; MinSeasonTier?: null | number; Multiplier?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>; SortOrder?: null | number; IsFeatured?: null | boolean; } & Record<string, unknown>; HasUnclaimedMilestone?: null | boolean; ClaimableGraceCycles?: null | Array<{ CycleEndUtc?: null | string; CycleKey?: null | string; ClaimDeadlineUtc?: null | string; MilestoneTokensEarned?: null | number; ClaimableMilestoneIDs?: null | Array<string>; CycleIndex?: null | number; ChainedEventID?: null | string; } & Record<string, unknown>>; };
568
- type SubmitScoreResponse = { LeaderboardID: string; CycleVersion: number; NewScore: number; };
569
- type ClaimCycleRewardResponse = { ServerTimeUtc: string; LeaderboardID: string; Resources?: null | ResourceOperation; Rank?: null | number; };
570
- type ClaimLeaderboardMilestoneResponse = { ServerTimeUtc: string; MilestoneID: string; LeaderboardID: string; Resources?: null | ResourceOperation; };
566
+ type LeaderboardUserEntry = { UserID: string; Score?: null | number; Rank?: null | number; LastScoreUpdateUtc?: null | string; IpHash?: null | string; PublicProfile?: null | UserPublicDataModel; SeasonTierAtCycleEnd?: null | number; [key: string]: unknown; };
567
+ type GetLeaderboardResponse = { LeaderboardID: string; CycleVersion?: null | number; TotalParticipants?: null | number; CycleEndUtc?: null | string; TopUsers?: null | Array<LeaderboardUserEntry>; BracketID?: null | string; };
568
+ 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; }>; };
569
+ type SubmitScoreResponse = { LeaderboardID: string; NewScore: number; CycleVersion: number; };
570
+ type ClaimCycleRewardResponse = { ServerTimeUtc: string; LeaderboardID: string; Rank?: null | number; Resources?: null | ResourceOperation; };
571
+ type ClaimLeaderboardMilestoneResponse = { ServerTimeUtc: string; LeaderboardID: string; MilestoneID: string; Resources?: null | ResourceOperation; };
571
572
  type GetLeaderboardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | GetLeaderboardResponse; }>;
572
573
  type GetProgressBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | GetMyProgressResponse; }>;
573
574
  type ClaimCycleRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimCycleRewardResponse; }>;
@@ -580,11 +581,11 @@ interface LeaderboardOverview {
580
581
  Leaderboard?: BatchItemResult<GetLeaderboardResponse> | null;
581
582
  Progress?: BatchItemResult<GetMyProgressResponse> | null;
582
583
  }
583
- declare const zGetOverviewBatchResponse: z.ZodArray<z.ZodType<LeaderboardOverview, z.ZodTypeDef, unknown>, "many">;
584
+ declare const zGetOverviewBatchResponse: z.ZodArray<z.ZodType<LeaderboardOverview, unknown, z.core.$ZodTypeInternals<LeaderboardOverview, unknown>>>;
584
585
  type GetOverviewBatchResponse = Array<LeaderboardOverview>;
585
- type LeaderboardRankReward = { Rewards?: null | ResourceGrant; SeasonTierRewards?: null | { Bundles?: null | Array<{ Rewards?: null | ResourceGrant; SeasonChainID?: null | string; MinSeasonTier?: null | number; } & Record<string, unknown>>; Multipliers?: null | Array<{ SeasonChainID?: null | string; MinSeasonTier?: null | number; Multiplier?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>; Rank?: null | string; } & Record<string, unknown>;
586
- type RankRewardSet = { RankRewards?: null | Array<{ Rewards?: null | ResourceGrant; SeasonTierRewards?: null | { Bundles?: null | Array<{ Rewards?: null | ResourceGrant; SeasonChainID?: null | string; MinSeasonTier?: null | number; } & Record<string, unknown>>; Multipliers?: null | Array<{ SeasonChainID?: null | string; MinSeasonTier?: null | number; Multiplier?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>; Rank?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
587
- type LeaderboardChainedEvent = { ClaimGraceHours?: null | number; Order?: null | number; DurationSec?: null | number; ChainedEventID?: null | string; } & Record<string, unknown>;
586
+ type LeaderboardRankReward = { Rank?: null | string; Rewards?: null | ResourceGrant; SeasonTierRewards?: null | SeasonTierRewardSet; [key: string]: unknown; };
587
+ type RankRewardSet = { RankRewards?: null | Array<LeaderboardRankReward>; [key: string]: unknown; };
588
+ type LeaderboardChainedEvent = { ChainedEventID?: null | string; Order?: null | number; DurationSec?: null | number; ClaimGraceHours?: null | number; [key: string]: unknown; };
588
589
  /**
589
590
  * Container of preset wiring for a leaderboard — one PresetBinding per block. Inline data
590
591
  * (RankRewards/Milestones) lives on LeaderboardDefinition. null = presets unused.
@@ -685,10 +686,10 @@ interface UserSeasonsState {
685
686
  States?: Record<string, UserSeasonState>;
686
687
  }
687
688
  type UserSeasonStateResponse = UserSeasonState;
688
- type ActiveSeasonInfo = { SeasonChainID: string; Season?: null | { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; Tiers?: null | Array<{ DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Tier?: null | number; RequiredTokens?: null | number; TierReachedReward?: null | ResourceGrant; } & Record<string, unknown>>; Order?: null | number; DurationSec?: null | number; SeasonID?: null | string; LinkedCollectionID?: null | string; CustomParams?: null | Record<string, string>; } & Record<string, unknown>; CycleIndex?: null | number; ComputedStartUtc?: null | string; ComputedEndUtc?: null | string; SecondsRemaining?: null | number; UserState?: null | UserSeasonState; NextTier?: null | { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Tier?: null | number; RequiredTokens?: null | number; TierReachedReward?: null | ResourceGrant; } & Record<string, unknown>; } & Record<string, unknown>;
689
+ 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; };
689
690
  type GrantStatusTokensResponse = { SeasonChainID: string; NewTier: number; CurrentSeasonID?: null | string; AmountGranted?: null | number; NewStatusTokens?: null | number; OldTier?: null | number; TierUp?: null | boolean; };
690
- type ClaimTierRewardResponse = { SeasonChainID: string; TierNumber: number; Resources?: null | ResourceOperation; CurrentSeasonID?: null | string; };
691
- type SeasonChainDefinition = { DisplayName?: null | string; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; SeasonChainID?: null | string; Schedule?: null | { Mode?: null | string; IsActive?: null | boolean; Scheduled?: null | { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; Chain?: null | { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number; } & Record<string, unknown>; Cyclic?: null | { ClaimGraceHours?: null | number; AnchorUtc?: null | string; PauseBetweenCyclesSec?: null | number; Reset?: null | string; IntervalSeconds?: null | number; } & Record<string, unknown>; ActivationTriggers?: null | Array<{ SourceType?: null | string; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Params?: null | Record<string, string>; BaseWeight?: null | number; ScaleWithRollMultiplier?: null | boolean; TileTypeFilter?: null | Array<string>; TileIndexFilter?: null | Array<number>; ChanceOutcomeFilter?: null | Array<string>; OutcomeFilter?: null | Array<string>; } & Record<string, unknown>>; Relative?: null | { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; Seasons?: null | Array<{ DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; Tiers?: null | Array<{ DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Tier?: null | number; RequiredTokens?: null | number; TierReachedReward?: null | ResourceGrant; } & Record<string, unknown>>; Order?: null | number; DurationSec?: null | number; SeasonID?: null | string; LinkedCollectionID?: null | string; CustomParams?: null | Record<string, string>; } & Record<string, unknown>>; GrantTokensAccessMode?: null | string; } & Record<string, unknown>;
691
+ type ClaimTierRewardResponse = { SeasonChainID: string; TierNumber: number; CurrentSeasonID?: null | string; Resources?: null | ResourceOperation; };
692
+ 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; };
692
693
  /** Root configuration of the title's season system, returned by getDefinitions(). */
693
694
  interface SeasonDefinitions {
694
695
  Chains?: Record<string, SeasonChainDefinition> | null;
@@ -724,13 +725,13 @@ interface UserPremiumState {
724
725
  ActivatedTrialIDs?: string[];
725
726
  MaxActiveTier?: number;
726
727
  }
727
- type PremiumDefinition = { DisplayName?: null | string; PriceOptions?: null | Record<string, { Name?: null | string; RequiredResources?: null | ResourceConsume; OptionID?: null | string; } & Record<string, unknown>>; Tier?: null | number; PremiumID?: null | string; DurationDays?: null | number; TrialDurationDays?: null | number; AppleProductID?: null | string; GoogleProductID?: null | string; Benefits?: null | Record<string, string>; } & Record<string, unknown>;
728
+ type PremiumDefinition = { PremiumID?: null | string; DisplayName?: null | string; Tier?: null | number; DurationDays?: null | number; TrialDurationDays?: null | number; PriceOptions?: null | Record<string, { OptionID?: null | string; Name?: null | string; RequiredResources?: null | ResourceConsume; [key: string]: unknown; }>; AppleProductID?: null | string; GoogleProductID?: null | string; Benefits?: null | Record<string, string>; [key: string]: unknown; };
728
729
  interface PremiumDefinitions {
729
730
  Definitions?: Record<string, PremiumDefinition> | null;
730
731
  }
731
732
  type PremiumDefinitionsResponse = { Premium?: null | PremiumDefinitions; };
732
733
  type PremiumStateResponse = { ServerTimeUtc?: null | string; Premium?: null | UserPremiumState; };
733
- type PremiumPurchaseResponse = { ServerTimeUtc?: null | string; Resources?: null | ResourceOperation; Premium?: null | UserPremiumState; Subscription?: null | { PremiumID?: null | string; PurchaseDate?: null | string; ExpirationDate?: null | string; TransactionID?: null | string; IsAutoRenewEnabled?: null | boolean; } & Record<string, unknown>; };
734
+ type PremiumPurchaseResponse = { ServerTimeUtc?: null | string; Premium?: null | UserPremiumState; Subscription?: null | { PremiumID?: null | string; PurchaseDate?: null | string; ExpirationDate?: null | string; TransactionID?: null | string; IsAutoRenewEnabled?: null | boolean; [key: string]: unknown; }; Resources?: null | ResourceOperation; };
734
735
  interface PremiumRequest extends BaseRequest {
735
736
  PremiumID?: string;
736
737
  Count?: number;
@@ -752,7 +753,7 @@ declare const PremiumAction: {
752
753
  };
753
754
  type PremiumAction = (typeof PremiumAction)[keyof typeof PremiumAction];
754
755
  type EquippedItem = { CatalogID?: null | string; ItemID?: null | string; ItemInstanceID?: null | string; EquippedAt?: null | string; };
755
- type CharacterModel = { CharacterID: string; UpdatedAt?: null | string; Level?: null | number; Power?: null | number; Experience?: null | number; StatLevels?: null | Record<string, number>; Equipment?: null | Record<string, EquippedItem>; } & Record<string, unknown>;
756
+ type CharacterModel = { CharacterID: string; Level?: null | number; Experience?: null | number; Power?: null | number; StatLevels?: null | Record<string, number>; Equipment?: null | Record<string, EquippedItem>; UpdatedAt?: null | string; [key: string]: unknown; };
756
757
  interface UserCharactersState {
757
758
  Characters?: Record<string, CharacterModel>;
758
759
  }
@@ -762,29 +763,29 @@ interface EquipmentSlot {
762
763
  SlotID?: string;
763
764
  }
764
765
  type InventoryDelta = { ChangedInstances?: null | Record<string, UnstackableItemInstanceState>; RemovedInstanceIDs?: null | Array<string>; };
765
- type GetCharactersResponse = { Characters?: null | Record<string, { CharacterID: string; UpdatedAt?: null | string; Level?: null | number; Power?: null | number; Experience?: null | number; StatLevels?: null | Record<string, number>; Equipment?: null | Record<string, EquippedItem>; } & Record<string, unknown>>; };
766
- type UpgradeStatLevelResponse = { ServerTimeUtc: string; CharacterID: string; StatID: string; StatLevel: number; Resources?: null | ResourceOperation; Power?: null | number; };
767
- type UpgradeCharacterLevelResponse = { ServerTimeUtc: string; CharacterID: string; NewLevel: number; Resources?: null | ResourceOperation; Power?: null | number; };
768
- type EquipItemsResponse = { ServerTimeUtc: string; CharacterID: string; Power?: null | number; Equipment?: null | Record<string, EquippedItem>; ReplacedInstanceIDs?: null | Array<string>; Inventory?: null | InventoryDelta; };
769
- type UnequipItemsResponse = { ServerTimeUtc: string; CharacterID: string; Power?: null | number; Inventory?: null | InventoryDelta; ClearedSlotIDs?: null | Array<string>; };
770
- type CharacterUnequipResult = { Power?: null | number; ClearedSlotIDs?: null | Array<string>; };
766
+ type GetCharactersResponse = { Characters?: null | Record<string, CharacterModel>; };
767
+ type UpgradeStatLevelResponse = { ServerTimeUtc: string; CharacterID: string; StatID: string; StatLevel: number; Power?: null | number; Resources?: null | ResourceOperation; };
768
+ type UpgradeCharacterLevelResponse = { ServerTimeUtc: string; CharacterID: string; NewLevel: number; Power?: null | number; Resources?: null | ResourceOperation; };
769
+ type EquipItemsResponse = { ServerTimeUtc: string; CharacterID: string; Equipment?: null | Record<string, EquippedItem>; ReplacedInstanceIDs?: null | Array<string>; Power?: null | number; Inventory?: null | InventoryDelta; };
770
+ type UnequipItemsResponse = { ServerTimeUtc: string; CharacterID: string; ClearedSlotIDs?: null | Array<string>; Power?: null | number; Inventory?: null | InventoryDelta; };
771
+ type CharacterUnequipResult = { ClearedSlotIDs?: null | Array<string>; Power?: null | number; };
771
772
  type UnequipAllCharactersResponse = { ServerTimeUtc: string; Characters?: null | Record<string, CharacterUnequipResult>; Inventory?: null | InventoryDelta; };
772
- type UnlockCharacterResponse = { ServerTimeUtc: string; CharacterID: string; Resources?: null | ResourceOperation; Power?: null | number; };
773
+ type UnlockCharacterResponse = { ServerTimeUtc: string; CharacterID: string; Power?: null | number; Resources?: null | ResourceOperation; };
773
774
  type UnlockCharactersBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | UnlockCharacterResponse; }>; Resources?: null | ResourceOperation; };
774
775
  type UpgradeCharacterLevelsBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | UpgradeCharacterLevelResponse; }>; Resources?: null | ResourceOperation; };
775
776
  type UpgradeStatLevelsBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | UpgradeStatLevelResponse; }>; Resources?: null | ResourceOperation; };
776
- type StatRequirement = { RequiredStatID: string; RequiredLevel: number; } & Record<string, unknown>;
777
- type StatDefinition = { StatID: string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; MaxLevel?: null | number; Description?: null | string; Weight?: null | number; Requirements?: null | Array<{ RequiredStatID: string; RequiredLevel: number; } & Record<string, unknown>>; BaseCostResource?: null | ResourceConsume; CostScalingFactor?: null | number; TypeID?: null | string; BaseStatValue?: null | number; StatScalingFactor?: null | number; CharacterLevelScalingFactor?: null | number; } & Record<string, unknown>;
778
- type CharacterLevelDefinition = { AssetPaths?: null | Record<string, string>; Level?: null | number; UpgradeCost?: null | ResourceConsume; GlobalStatMultiplier?: null | number; StatMaxLevelMultiplier?: null | number; } & Record<string, unknown>;
779
- type CharacterEquipmentSlot = { SlotID: string; MinCharacterLevel?: null | number; StatRequirements?: null | Array<{ RequiredStatID: string; RequiredLevel: number; } & Record<string, unknown>>; AllowedRarityIDs?: null | Array<string>; AllowedItemTags?: null | Array<string>; MinItemLevel?: null | number; MaxItemLevel?: null | number; } & Record<string, unknown>;
780
- type CharacterEquipment = { Slots?: null | Record<string, { SlotID: string; MinCharacterLevel?: null | number; StatRequirements?: null | Array<{ RequiredStatID: string; RequiredLevel: number; } & Record<string, unknown>>; AllowedRarityIDs?: null | Array<string>; AllowedItemTags?: null | Array<string>; MinItemLevel?: null | number; MaxItemLevel?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>;
781
- type CharacterIdentity = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; SortOrder?: null | number; Lore?: null | string; } & Record<string, unknown>;
782
- type CharacterClassification = { Tags?: null | Array<string>; RarityID?: null | string; ClassID?: null | string; } & Record<string, unknown>;
783
- type CharacterUnlock = { Cost?: null | ResourceConsume; UnlockedByDefault?: null | boolean; } & Record<string, unknown>;
784
- type CharacterDefinition = { CharacterID: string; Presets?: null | { Equipment?: null | { PresetID?: null | string; Remove?: null | Array<string>; } & Record<string, unknown>; Stats?: null | { PresetID?: null | string; Remove?: null | Array<string>; } & Record<string, unknown>; Levels?: null | { PresetID?: null | string; Remove?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; Equipment?: null | { Slots?: null | Record<string, { SlotID: string; MinCharacterLevel?: null | number; StatRequirements?: null | Array<{ RequiredStatID: string; RequiredLevel: number; } & Record<string, unknown>>; AllowedRarityIDs?: null | Array<string>; AllowedItemTags?: null | Array<string>; MinItemLevel?: null | number; MaxItemLevel?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>; Stats?: null | Record<string, { StatID: string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; MaxLevel?: null | number; Description?: null | string; Weight?: null | number; Requirements?: null | Array<{ RequiredStatID: string; RequiredLevel: number; } & Record<string, unknown>>; BaseCostResource?: null | ResourceConsume; CostScalingFactor?: null | number; TypeID?: null | string; BaseStatValue?: null | number; StatScalingFactor?: null | number; CharacterLevelScalingFactor?: null | number; } & Record<string, unknown>>; Levels?: null | Record<string, { AssetPaths?: null | Record<string, string>; Level?: null | number; UpgradeCost?: null | ResourceConsume; GlobalStatMultiplier?: null | number; StatMaxLevelMultiplier?: null | number; } & Record<string, unknown>>; Identity?: null | { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; SortOrder?: null | number; Lore?: null | string; } & Record<string, unknown>; Classification?: null | { Tags?: null | Array<string>; RarityID?: null | string; ClassID?: null | string; } & Record<string, unknown>; Unlock?: null | { Cost?: null | ResourceConsume; UnlockedByDefault?: null | boolean; } & Record<string, unknown>; } & Record<string, unknown>;
785
- type StatsPreset = { Stats?: null | Record<string, { StatID: string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; MaxLevel?: null | number; Description?: null | string; Weight?: null | number; Requirements?: null | Array<{ RequiredStatID: string; RequiredLevel: number; } & Record<string, unknown>>; BaseCostResource?: null | ResourceConsume; CostScalingFactor?: null | number; TypeID?: null | string; BaseStatValue?: null | number; StatScalingFactor?: null | number; CharacterLevelScalingFactor?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>;
786
- type LevelsPreset = { Levels?: null | Record<string, { AssetPaths?: null | Record<string, string>; Level?: null | number; UpgradeCost?: null | ResourceConsume; GlobalStatMultiplier?: null | number; StatMaxLevelMultiplier?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>;
787
- type EquipmentPreset = { Equipment?: null | { Slots?: null | Record<string, { SlotID: string; MinCharacterLevel?: null | number; StatRequirements?: null | Array<{ RequiredStatID: string; RequiredLevel: number; } & Record<string, unknown>>; AllowedRarityIDs?: null | Array<string>; AllowedItemTags?: null | Array<string>; MinItemLevel?: null | number; MaxItemLevel?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>; } & Record<string, unknown>;
777
+ type StatRequirement = { RequiredStatID: string; RequiredLevel: number; [key: string]: unknown; };
778
+ type StatDefinition = { StatID: string; TypeID?: null | string; DisplayName?: null | string; Description?: null | string; MaxLevel?: null | number; Weight?: null | number; BaseCostResource?: null | ResourceConsume; CostScalingFactor?: null | number; BaseStatValue?: null | number; StatScalingFactor?: null | number; CharacterLevelScalingFactor?: null | number; Requirements?: null | Array<StatRequirement>; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
779
+ type CharacterLevelDefinition = { Level?: null | number; UpgradeCost?: null | ResourceConsume; GlobalStatMultiplier?: null | number; StatMaxLevelMultiplier?: null | number; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
780
+ 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; };
781
+ type CharacterEquipment = { Slots?: null | Record<string, CharacterEquipmentSlot>; [key: string]: unknown; };
782
+ type CharacterIdentity = { DisplayName?: null | string; Description?: null | string; Lore?: null | string; SortOrder?: null | number; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
783
+ type CharacterClassification = { ClassID?: null | string; RarityID?: null | string; Tags?: null | Array<string>; [key: string]: unknown; };
784
+ type CharacterUnlock = { UnlockedByDefault?: null | boolean; Cost?: null | ResourceConsume; [key: string]: unknown; };
785
+ 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>; Levels?: null | Record<string, CharacterLevelDefinition>; [key: string]: unknown; };
786
+ type StatsPreset = { Stats?: null | Record<string, StatDefinition>; [key: string]: unknown; };
787
+ type LevelsPreset = { Levels?: null | Record<string, CharacterLevelDefinition>; [key: string]: unknown; };
788
+ type EquipmentPreset = { Equipment?: null | CharacterEquipment; [key: string]: unknown; };
788
789
  /**
789
790
  * Registry of shared (reusable) character setting sets (stats / levels / equipment).
790
791
  * Characters reference them via CharacterDefinition.Presets. All blocks merge with inline by
@@ -874,13 +875,13 @@ interface UserMatchState {
874
875
  PvPBattleStrategy?: BattleStepConfig[];
875
876
  CreationLimits?: UserMatchCreationLimitState | null;
876
877
  }
877
- type BattleResult = { WinnerUserID?: null | string; LoserUserID?: null | string; Entry?: null | ResourceBundle; NetReward?: null | ResourceBundle; BattleLog?: null | Array<{ RoundIndex?: null | number; AttackerID?: null | string; DefenderID?: null | string; AttackZone?: null | 'Head' | 'Torso' | 'Legs'; DefenseZone?: null | 'Head' | 'Torso' | 'Legs'; HitType?: null | 'Hit' | 'Critical' | 'Block' | 'Dodge'; DamageDealt?: null | number; DefenderHpRemaining?: null | number; } & Record<string, unknown>>; IsDraw?: null | boolean; P1BattleProfile?: null | { UserID?: null | string; SelectedCharacterID?: null | string; SelectedCharacter?: null | { CharacterID: string; UpdatedAt?: null | string; Level?: null | number; Power?: null | number; Experience?: null | number; StatLevels?: null | Record<string, number>; Equipment?: null | Record<string, EquippedItem>; } & Record<string, unknown>; BattleStrategy?: null | Array<BattleStepConfig>; UnstackableItems?: null | Record<string, UnstackableItemInstanceState>; Stats?: null | { MaxHp?: null | number; CurrentHp?: null | number; Damage?: null | number; AttackSpeed?: null | number; CritChance?: null | number; CritMultiplier?: null | number; Armor?: null | number; DodgeChance?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; P2BattleProfile?: null | { UserID?: null | string; SelectedCharacterID?: null | string; SelectedCharacter?: null | { CharacterID: string; UpdatedAt?: null | string; Level?: null | number; Power?: null | number; Experience?: null | number; StatLevels?: null | Record<string, number>; Equipment?: null | Record<string, EquippedItem>; } & Record<string, unknown>; BattleStrategy?: null | Array<BattleStepConfig>; UnstackableItems?: null | Record<string, UnstackableItemInstanceState>; Stats?: null | { MaxHp?: null | number; CurrentHp?: null | number; Damage?: null | number; AttackSpeed?: null | number; CritChance?: null | number; CritMultiplier?: null | number; Armor?: null | number; DodgeChance?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; } & Record<string, unknown>;
878
- type PvPMatch = { MatchID: string; CreatedAt?: null | string; Status?: null | 'Completed' | 'Open' | 'InProgress' | 'Cancelled'; RuleID?: null | string; WinnerUserID?: null | string; Entry?: null | ResourceBundle; TitleID?: null | string; CreatorID?: null | string; CreatorCharacterID?: null | string; CreatorStrategy?: null | Array<BattleStepConfig>; TargetUserID?: null | string; CreationCostPaid?: null | ResourceBundle; RefundCreationCostOnCancel?: null | boolean; JoinedByUserID?: null | string; JoinedByCharacterID?: null | string; JoinedAt?: null | string; CompletedAt?: null | string; IsRewardDistributed?: null | boolean; RewardDistributedAt?: null | string; } & Record<string, unknown>;
879
- type CreateMatchResponse = { Status: 'Completed' | 'Open' | 'InProgress' | 'Cancelled'; MatchID: string; Resources?: null | ResourceOperation; Entry?: null | ResourceBundle; };
880
- type UpdateMatchResponse = { Match?: null | { MatchID: string; CreatedAt?: null | string; Status?: null | 'Completed' | 'Open' | 'InProgress' | 'Cancelled'; RuleID?: null | string; WinnerUserID?: null | string; Entry?: null | ResourceBundle; TitleID?: null | string; CreatorID?: null | string; CreatorCharacterID?: null | string; CreatorStrategy?: null | Array<BattleStepConfig>; TargetUserID?: null | string; CreationCostPaid?: null | ResourceBundle; RefundCreationCostOnCancel?: null | boolean; JoinedByUserID?: null | string; JoinedByCharacterID?: null | string; JoinedAt?: null | string; CompletedAt?: null | string; IsRewardDistributed?: null | boolean; RewardDistributedAt?: null | string; } & Record<string, unknown>; };
881
- type CancelMatchResponse = { Status: 'Completed' | 'Open' | 'InProgress' | 'Cancelled'; MatchID: string; Resources?: null | ResourceOperation; };
882
- type InstantBattleResponse = { Resources?: null | ResourceOperation; Battle?: null | { WinnerUserID?: null | string; LoserUserID?: null | string; Entry?: null | ResourceBundle; NetReward?: null | ResourceBundle; BattleLog?: null | Array<{ RoundIndex?: null | number; AttackerID?: null | string; DefenderID?: null | string; AttackZone?: null | 'Head' | 'Torso' | 'Legs'; DefenseZone?: null | 'Head' | 'Torso' | 'Legs'; HitType?: null | 'Hit' | 'Critical' | 'Block' | 'Dodge'; DamageDealt?: null | number; DefenderHpRemaining?: null | number; } & Record<string, unknown>>; IsDraw?: null | boolean; P1BattleProfile?: null | { UserID?: null | string; SelectedCharacterID?: null | string; SelectedCharacter?: null | { CharacterID: string; UpdatedAt?: null | string; Level?: null | number; Power?: null | number; Experience?: null | number; StatLevels?: null | Record<string, number>; Equipment?: null | Record<string, EquippedItem>; } & Record<string, unknown>; BattleStrategy?: null | Array<BattleStepConfig>; UnstackableItems?: null | Record<string, UnstackableItemInstanceState>; Stats?: null | { MaxHp?: null | number; CurrentHp?: null | number; Damage?: null | number; AttackSpeed?: null | number; CritChance?: null | number; CritMultiplier?: null | number; Armor?: null | number; DodgeChance?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; P2BattleProfile?: null | { UserID?: null | string; SelectedCharacterID?: null | string; SelectedCharacter?: null | { CharacterID: string; UpdatedAt?: null | string; Level?: null | number; Power?: null | number; Experience?: null | number; StatLevels?: null | Record<string, number>; Equipment?: null | Record<string, EquippedItem>; } & Record<string, unknown>; BattleStrategy?: null | Array<BattleStepConfig>; UnstackableItems?: null | Record<string, UnstackableItemInstanceState>; Stats?: null | { MaxHp?: null | number; CurrentHp?: null | number; Damage?: null | number; AttackSpeed?: null | number; CritChance?: null | number; CritMultiplier?: null | number; Armor?: null | number; DodgeChance?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; } & Record<string, unknown>; ResourcesDual?: null | ResourceDualPartyResult; };
883
- type MatchesPageResponse = { Matches?: null | Array<{ MatchID: string; CreatedAt?: null | string; Status?: null | 'Completed' | 'Open' | 'InProgress' | 'Cancelled'; RuleID?: null | string; WinnerUserID?: null | string; Entry?: null | ResourceBundle; TitleID?: null | string; CreatorID?: null | string; CreatorCharacterID?: null | string; CreatorStrategy?: null | Array<BattleStepConfig>; TargetUserID?: null | string; CreationCostPaid?: null | ResourceBundle; RefundCreationCostOnCancel?: null | boolean; JoinedByUserID?: null | string; JoinedByCharacterID?: null | string; JoinedAt?: null | string; CompletedAt?: null | string; IsRewardDistributed?: null | boolean; RewardDistributedAt?: null | string; } & Record<string, unknown>>; Page?: null | number; PageSize?: null | number; HasMore?: null | boolean; };
878
+ type BattleResult = { WinnerUserID?: null | string; LoserUserID?: null | string; Entry?: null | ResourceBundle; NetReward?: null | ResourceBundle; BattleLog?: null | Array<{ RoundIndex?: null | number; AttackerID?: null | string; DefenderID?: null | string; AttackZone?: null | 'Head' | 'Torso' | 'Legs'; DefenseZone?: null | 'Head' | 'Torso' | 'Legs'; HitType?: null | 'Hit' | 'Critical' | 'Block' | 'Dodge'; DamageDealt?: null | number; DefenderHpRemaining?: null | number; [key: string]: unknown; }>; IsDraw?: null | boolean; P1BattleProfile?: null | { UserID?: null | string; SelectedCharacterID?: null | string; SelectedCharacter?: null | CharacterModel; BattleStrategy?: null | Array<BattleStepConfig>; UnstackableItems?: null | Record<string, UnstackableItemInstanceState>; Stats?: null | { MaxHp?: null | number; CurrentHp?: null | number; Damage?: null | number; AttackSpeed?: null | number; CritChance?: null | number; CritMultiplier?: null | number; Armor?: null | number; DodgeChance?: null | number; [key: string]: unknown; }; [key: string]: unknown; }; P2BattleProfile?: null | { UserID?: null | string; SelectedCharacterID?: null | string; SelectedCharacter?: null | CharacterModel; BattleStrategy?: null | Array<BattleStepConfig>; UnstackableItems?: null | Record<string, UnstackableItemInstanceState>; Stats?: null | { MaxHp?: null | number; CurrentHp?: null | number; Damage?: null | number; AttackSpeed?: null | number; CritChance?: null | number; CritMultiplier?: null | number; Armor?: null | number; DodgeChance?: null | number; [key: string]: unknown; }; [key: string]: unknown; }; [key: string]: unknown; };
879
+ type PvPMatch = { MatchID: string; TitleID?: null | string; RuleID?: null | string; CreatedAt?: null | string; CreatorID?: null | string; CreatorCharacterID?: null | string; CreatorStrategy?: null | Array<BattleStepConfig>; TargetUserID?: null | string; Entry?: null | ResourceBundle; CreationCostPaid?: null | ResourceBundle; RefundCreationCostOnCancel?: null | boolean; JoinedByUserID?: null | string; JoinedByCharacterID?: null | string; JoinedAt?: null | string; Status?: null | 'Completed' | 'Open' | 'InProgress' | 'Cancelled'; WinnerUserID?: null | string; CompletedAt?: null | string; IsRewardDistributed?: null | boolean; RewardDistributedAt?: null | string; [key: string]: unknown; };
880
+ type CreateMatchResponse = { Status: 'Completed' | 'Open' | 'InProgress' | 'Cancelled'; MatchID: string; Entry?: null | ResourceBundle; Resources?: null | ResourceOperation; };
881
+ type UpdateMatchResponse = { Match?: null | PvPMatch; };
882
+ type CancelMatchResponse = { MatchID: string; Status: 'Completed' | 'Open' | 'InProgress' | 'Cancelled'; Resources?: null | ResourceOperation; };
883
+ type InstantBattleResponse = { Battle?: null | BattleResult; Resources?: null | ResourceOperation; ResourcesDual?: null | ResourceDualPartyResult; };
884
+ type MatchesPageResponse = { Matches?: null | Array<PvPMatch>; Page?: null | number; PageSize?: null | number; HasMore?: null | boolean; };
884
885
  interface MatchRequest extends BaseRequest {
885
886
  MatchID?: string;
886
887
  TargetUserID?: string;
@@ -907,10 +908,10 @@ declare const MatchAction: {
907
908
  readonly GetDefinitions: "GetDefinitions";
908
909
  };
909
910
  type MatchAction = (typeof MatchAction)[keyof typeof MatchAction];
910
- type InstantBattleSettings = { StatMapping?: null | { HealthStatID?: null | string; DamageStatID?: null | string; ArmorStatID?: null | string; AttackSpeedStatID?: null | string; CritChanceStatID?: null | string; CritDamageStatID?: null | string; DodgeStatID?: null | string; AllMightStatID?: null | string; } & Record<string, unknown>; Combat?: null | { MaxRounds?: null | number; BlockDamageMultiplier?: null | number; MinHitDamage?: null | number; DefaultCritMultiplier?: null | number; MaxCritChance?: null | number; MaxDodgeChance?: null | number; } & Record<string, unknown>; Formula?: null | { Dodge?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; } & Record<string, unknown>>; } & Record<string, unknown>>; } & Record<string, unknown>; Damage?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; } & Record<string, unknown>>; } & Record<string, unknown>>; } & Record<string, unknown>; AttackSpeed?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; } & Record<string, unknown>>; } & Record<string, unknown>>; } & Record<string, unknown>; CritChance?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; } & Record<string, unknown>>; } & Record<string, unknown>>; } & Record<string, unknown>; Armor?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; } & Record<string, unknown>>; } & Record<string, unknown>>; } & Record<string, unknown>; Health?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; } & Record<string, unknown>>; } & Record<string, unknown>>; } & Record<string, unknown>; CritDamage?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; } & Record<string, unknown>>; } & Record<string, unknown>>; } & Record<string, unknown>; } & Record<string, unknown>; } & Record<string, unknown>;
911
- type MatchEconomySettings = { BurnRate?: null | number; } & Record<string, unknown>;
912
- type MatchEntrySettings = { AllowVirtualCurrency?: null | boolean; AllowItems?: null | boolean; AllowEventTokens?: null | boolean; Allowed?: null | Array<{ MinAmount?: null | number; MaxAmount?: null | number; CurrencyID?: null | string; CatalogID?: null | string; ItemID?: null | string; EntityID?: null | string; Kind?: null | 'Item' | 'VirtualCurrency' | 'EventToken'; TokenType?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; } & Record<string, unknown>>; MaxPositions?: null | number; } & Record<string, unknown>;
913
- type MatchCreationSettings = { Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Cost?: null | ResourceConsume; RefundCostOnCancel?: null | boolean; MaxOpenMatches?: null | number; AllowPrivateMatches?: null | boolean; MaxMatchesPerOpponentPerDay?: null | number; } & Record<string, unknown>;
911
+ type InstantBattleSettings = { StatMapping?: null | { HealthStatID?: null | string; DamageStatID?: null | string; ArmorStatID?: null | string; AttackSpeedStatID?: null | string; CritChanceStatID?: null | string; CritDamageStatID?: null | string; DodgeStatID?: null | string; AllMightStatID?: null | string; [key: string]: unknown; }; Combat?: null | { MaxRounds?: null | number; BlockDamageMultiplier?: null | number; MinHitDamage?: null | number; DefaultCritMultiplier?: null | number; MaxCritChance?: null | number; MaxDodgeChance?: null | number; [key: string]: unknown; }; Formula?: null | { Health?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; Damage?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; Armor?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; AttackSpeed?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; CritChance?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; CritDamage?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; Dodge?: null | { Terms?: null | Array<{ Coefficient?: null | number; Factors?: null | Array<{ Source?: null | 'Constant' | 'Stat' | 'RankMultiplier' | 'AllMight' | 'GearFlat' | 'GearPercent'; StatID?: null | string; Value?: null | number; OnePlus?: null | boolean; [key: string]: unknown; }>; [key: string]: unknown; }>; [key: string]: unknown; }; [key: string]: unknown; }; [key: string]: unknown; };
912
+ type MatchEconomySettings = { BurnRate?: null | number; [key: string]: unknown; };
913
+ type MatchEntrySettings = { AllowVirtualCurrency?: null | boolean; AllowItems?: null | boolean; AllowEventTokens?: null | boolean; Allowed?: null | Array<{ Kind?: null | 'Item' | 'VirtualCurrency' | 'EventToken'; CurrencyID?: null | string; CatalogID?: null | string; ItemID?: null | string; TokenType?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; EntityID?: null | string; MinAmount?: null | number; MaxAmount?: null | number; [key: string]: unknown; }>; MaxPositions?: null | number; [key: string]: unknown; };
914
+ type MatchCreationSettings = { Cost?: null | ResourceConsume; RefundCostOnCancel?: null | boolean; MaxOpenMatches?: null | number; Limits?: null | LimitSpec; AllowPrivateMatches?: null | boolean; MaxMatchesPerOpponentPerDay?: null | number; [key: string]: unknown; };
914
915
  /** One instant-battle rule, keyed by RuleID in InstantBattleDefinitions.Rules. */
915
916
  interface InstantBattleRule {
916
917
  RuleID?: string | null;
@@ -965,23 +966,23 @@ interface UserCollectionState {
965
966
  [key: string]: unknown;
966
967
  }
967
968
  type GrantedCollectible = { CollectibleID: string; Rarity?: null | number; IsSpecial?: null | boolean; IsDuplicate?: null | boolean; CollectionCurrencyConverted?: null | number; };
968
- type OpenPackResponse = { Resources?: null | ResourceOperation; TriggeredPity?: null | Array<unknown>; GrantedCollectibles?: null | Array<GrantedCollectible>; DuplicateCollectibles?: null | Array<GrantedCollectible>; CollectionCurrencyEarned?: null | number; NewCollectionCurrencyBalance?: null | number; NewlyCompletedSetIDs?: null | Array<string>; CollectionJustCompleted?: null | boolean; };
969
- type OpenCollectionChestResponse = { Resources?: null | ResourceOperation; TriggeredPity?: null | Array<unknown>; GrantedCollectibles?: null | Array<GrantedCollectible>; DuplicateCollectibles?: null | Array<GrantedCollectible>; CollectionCurrencyEarned?: null | number; NewCollectionCurrencyBalance?: null | number; };
970
- type UseCollectibleJokerResponse = { Resources?: null | ResourceOperation; CollectionJustCompleted?: null | boolean; GrantedCollectibleID?: null | string; NewlyCompletedSetID?: null | string; };
969
+ type OpenPackResponse = { 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>; };
970
+ type OpenCollectionChestResponse = { GrantedCollectibles?: null | Array<GrantedCollectible>; DuplicateCollectibles?: null | Array<GrantedCollectible>; CollectionCurrencyEarned?: null | number; NewCollectionCurrencyBalance?: null | number; Resources?: null | ResourceOperation; TriggeredPity?: null | Array<unknown>; };
971
+ type UseCollectibleJokerResponse = { GrantedCollectibleID?: null | string; NewlyCompletedSetID?: null | string; CollectionJustCompleted?: null | boolean; Resources?: null | ResourceOperation; };
971
972
  type ClaimSetRewardResponse = { SetID: string; Resources?: null | ResourceOperation; };
972
973
  type ClaimSetRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimSetRewardResponse; }>;
973
974
  type ClaimGrandPrizeResponse = { Resources?: null | ResourceOperation; };
974
- type CollectionTradeOfferDocument = { OfferID: string; Status?: null | 'Expired' | 'Cancelled' | 'Pending' | 'Accepted' | 'Declined'; TitleID?: null | string; CollectionID?: null | string; SenderUserID?: null | string; SenderPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; OfferedCollectibleID?: null | string; OfferedCollectibleIsSpecial?: null | boolean; ReceiverUserID?: null | string; RequestedCollectibleID?: null | string; RequestedCollectibleIsSpecial?: null | boolean; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; RespondedAtUtc?: null | string; DeclineReason?: null | string; IsSpecialTradeEvent?: null | boolean; SpecialTradeEventID?: null | string; } & Record<string, unknown>;
975
- type SendTradeOfferResponse = { OfferID: string; Resources?: null | ResourceOperation; ExpiresAtUtc?: null | string; };
975
+ 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; };
976
+ type SendTradeOfferResponse = { OfferID: string; ExpiresAtUtc?: null | string; Resources?: null | ResourceOperation; };
976
977
  type CancelTradeOfferResponse = { OfferID: string; Resources?: null | ResourceOperation; };
977
978
  type AcceptTradeOfferResponse = { OfferID: string; ReceivedCollectibleID?: null | string; ReceivedIsSpecial?: null | boolean; SentCollectibleID?: null | string; SentCollectibleIsSpecial?: null | boolean; Transfer?: unknown; };
978
979
  type DeclineTradeOfferResponse = { OfferID: string; Resources?: null | ResourceOperation; };
979
- type GetTradeOffersResponse = { Offers?: null | Array<{ OfferID: string; Status?: null | 'Expired' | 'Cancelled' | 'Pending' | 'Accepted' | 'Declined'; TitleID?: null | string; CollectionID?: null | string; SenderUserID?: null | string; SenderPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; OfferedCollectibleID?: null | string; OfferedCollectibleIsSpecial?: null | boolean; ReceiverUserID?: null | string; RequestedCollectibleID?: null | string; RequestedCollectibleIsSpecial?: null | boolean; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; RespondedAtUtc?: null | string; DeclineReason?: null | string; IsSpecialTradeEvent?: null | boolean; SpecialTradeEventID?: null | string; } & Record<string, unknown>>; };
980
- type CollectionDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; SeasonChainID?: null | string; CollectionID?: null | string; Sets?: null | Array<{ DisplayName?: null | string; AssetPaths?: null | Record<string, string>; SortOrder?: null | number; SetID?: null | string; Collectibles?: null | Array<{ DisplayName?: null | string; AssetPaths?: null | Record<string, string>; SortOrder?: null | number; CollectibleID?: null | string; Rarity?: null | number; HasSpecialVersion?: null | boolean; } & Record<string, unknown>>; SetCompletionReward?: null | ResourceGrant; } & Record<string, unknown>>; GrandPrize?: null | ResourceGrant; } & Record<string, unknown>;
981
- type CollectionPackTypeDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Cost?: null | ResourceConsume; PityRules?: null | Array<{ Pool?: null | Array<{ Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; } & Record<string, unknown>>; RuleID?: null | string; Threshold?: null | number; } & Record<string, unknown>>; Presets?: null | { PityRules?: null | { PresetID?: null | string; Remove?: null | Array<string>; } & Record<string, unknown>; BonusRewardSlots?: null | { PresetID?: null | string; Remove?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; BonusRewardSlots?: null | Array<{ SlotID?: null | string; MinRolls?: null | number; MaxRolls?: null | number; Pool?: null | Array<{ Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; } & Record<string, unknown>>; } & Record<string, unknown>>; PackTypeID?: null | string; CollectibleCount?: null | number; GuaranteedMinRarity?: null | number; GuaranteeMaxRarity?: null | boolean; RarityWeights?: null | Record<string, number>; ColorTier?: null | number; } & Record<string, unknown>;
982
- type DuplicateCollectionCurrencyConversion = { Rarity?: null | number; CollectionCurrencyGranted?: null | number; } & Record<string, unknown>;
983
- type CollectionChestDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; PityRules?: null | Array<{ Pool?: null | Array<{ Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; } & Record<string, unknown>>; RuleID?: null | string; Threshold?: null | number; } & Record<string, unknown>>; Presets?: null | { PityRules?: null | { PresetID?: null | string; Remove?: null | Array<string>; } & Record<string, unknown>; BonusRewardSlots?: null | { PresetID?: null | string; Remove?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; Tier?: null | number; BonusRewardSlots?: null | Array<{ SlotID?: null | string; MinRolls?: null | number; MaxRolls?: null | number; Pool?: null | Array<{ Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; } & Record<string, unknown>>; } & Record<string, unknown>>; GuaranteedMinRarity?: null | number; CollectionChestID?: null | string; CollectionCurrencyCost?: null | number; MinCollectibleCount?: null | number; MaxCollectibleCount?: null | number; } & Record<string, unknown>;
984
- type SpecialTradeEventDefinition = { StartUtc?: null | string; EndUtc?: null | string; SpecialTradeEventID?: null | string; AllowedSpecialCollectibleIDs?: null | Array<string>; SpecialTradeEventDailyTradeLimit?: null | number; } & Record<string, unknown>;
980
+ type GetTradeOffersResponse = { Offers?: null | Array<CollectionTradeOfferDocument>; };
981
+ type CollectionDefinition = { CollectionID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; SeasonChainID?: null | string; Sets?: null | Array<{ SetID?: null | string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; SortOrder?: null | number; Collectibles?: null | Array<{ CollectibleID?: null | string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Rarity?: null | number; HasSpecialVersion?: null | boolean; SortOrder?: null | number; [key: string]: unknown; }>; SetCompletionReward?: null | ResourceGrant; [key: string]: unknown; }>; GrandPrize?: null | ResourceGrant; [key: string]: unknown; };
982
+ type CollectionPackTypeDefinition = { PackTypeID?: null | string; Cost?: null | ResourceConsume; BonusRewardSlots?: null | Array<LootboxRewardSlot>; PityRules?: null | Array<LootboxPityRule>; Presets?: null | { BonusRewardSlots?: null | PresetBinding; PityRules?: null | PresetBinding; [key: string]: unknown; }; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; CollectibleCount?: null | number; GuaranteedMinRarity?: null | number; GuaranteeMaxRarity?: null | boolean; RarityWeights?: null | Record<string, number>; ColorTier?: null | number; [key: string]: unknown; };
983
+ type DuplicateCollectionCurrencyConversion = { Rarity?: null | number; CollectionCurrencyGranted?: null | number; [key: string]: unknown; };
984
+ type CollectionChestDefinition = { CollectionChestID?: null | string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; CollectionCurrencyCost?: null | number; MinCollectibleCount?: null | number; MaxCollectibleCount?: null | number; GuaranteedMinRarity?: null | number; BonusRewardSlots?: null | Array<LootboxRewardSlot>; PityRules?: null | Array<LootboxPityRule>; Presets?: null | { BonusRewardSlots?: null | PresetBinding; PityRules?: null | PresetBinding; [key: string]: unknown; }; Tier?: null | number; [key: string]: unknown; };
985
+ type SpecialTradeEventDefinition = { SpecialTradeEventID?: null | string; StartUtc?: null | string; EndUtc?: null | string; AllowedSpecialCollectibleIDs?: null | Array<string>; SpecialTradeEventDailyTradeLimit?: null | number; [key: string]: unknown; };
985
986
  /** The title's collection-system config (config), returned by getCollectionDefinitions(). */
986
987
  interface CollectionDefinitions {
987
988
  Collections?: Record<string, CollectionDefinition> | null;
@@ -1062,13 +1063,13 @@ declare const CoopMemberStatus: {
1062
1063
  readonly Replaced: "Replaced";
1063
1064
  };
1064
1065
  type CoopMemberStatus = (typeof CoopMemberStatus)[keyof typeof CoopMemberStatus];
1065
- type CoopBuildObjectsMemberState = { ObjectIndex?: null | number; ObjectCompletionRewardClaimed?: null | boolean; } & Record<string, unknown>;
1066
- type CoopGroupMember = { UserID?: null | string; PublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; BuildObjectsProgress?: null | { ObjectIndex?: null | number; ObjectCompletionRewardClaimed?: null | boolean; } & Record<string, unknown>; IsBot?: null | boolean; SpinsCount?: null | number; TokensSpent?: null | number; MemberStatus?: null | string; GrandPrizeClaimed?: null | boolean; JoinedAtUtc?: null | string; LeftAtUtc?: null | string; } & Record<string, unknown>;
1067
- type CoopPartnerObjectState = { Index?: null | number; OwnerUserID?: null | string; CurrentProgress?: null | number; MaxProgress?: null | number; IsCompleted?: null | boolean; } & Record<string, unknown>;
1068
- type CoopBuildObjectsState = { Objects?: null | Array<{ Index?: null | number; OwnerUserID?: null | string; CurrentProgress?: null | number; MaxProgress?: null | number; IsCompleted?: null | boolean; } & Record<string, unknown>>; } & Record<string, unknown>;
1069
- type CoopGroupDocument = { Status?: null | string; GroupID?: null | string; CycleIndex?: null | number; TitleID?: null | string; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; CoopChainID?: null | string; CoopEventID?: null | string; Members?: null | Array<{ UserID?: null | string; PublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; BuildObjectsProgress?: null | { ObjectIndex?: null | number; ObjectCompletionRewardClaimed?: null | boolean; } & Record<string, unknown>; IsBot?: null | boolean; SpinsCount?: null | number; TokensSpent?: null | number; MemberStatus?: null | string; GrandPrizeClaimed?: null | boolean; JoinedAtUtc?: null | string; LeftAtUtc?: null | string; } & Record<string, unknown>>; BuildObjectsState?: null | { Objects?: null | Array<{ Index?: null | number; OwnerUserID?: null | string; CurrentProgress?: null | number; MaxProgress?: null | number; IsCompleted?: null | boolean; } & Record<string, unknown>>; } & Record<string, unknown>; Version?: null | number; } & Record<string, unknown>;
1070
- type ActiveCoopEventInfo = { CoopChainID: string; } & Record<string, unknown>;
1071
- type CoopEventDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; Order?: null | number; DurationSec?: null | number; GrandPrize?: null | ResourceGrant; CoopEventID?: null | string; EventType?: null | string; PartnerCount?: null | number; MatchmakingTimeoutMinutes?: null | number; MemberGracePeriodMinutes?: null | number; BuildObjects?: null | { Objects?: null | Array<{ DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Index?: null | number; MaxProgress?: null | number; CompletionReward?: null | ResourceGrant; } & Record<string, unknown>>; SpinCost?: null | ResourceConsume; SpinnerTable?: null | Array<{ DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Weight?: null | number; MaxProgress?: null | number; MinProgress?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>; } & Record<string, unknown>;
1066
+ type CoopBuildObjectsMemberState = { ObjectIndex?: null | number; ObjectCompletionRewardClaimed?: null | boolean; [key: string]: unknown; };
1067
+ type CoopGroupMember = { UserID?: null | string; PublicData?: null | UserPublicDataModel; BuildObjectsProgress?: null | CoopBuildObjectsMemberState; IsBot?: null | boolean; SpinsCount?: null | number; TokensSpent?: null | number; MemberStatus?: null | string; GrandPrizeClaimed?: null | boolean; JoinedAtUtc?: null | string; LeftAtUtc?: null | string; [key: string]: unknown; };
1068
+ type CoopPartnerObjectState = { Index?: null | number; OwnerUserID?: null | string; CurrentProgress?: null | number; MaxProgress?: null | number; IsCompleted?: null | boolean; [key: string]: unknown; };
1069
+ type CoopBuildObjectsState = { Objects?: null | Array<CoopPartnerObjectState>; [key: string]: unknown; };
1070
+ type CoopGroupDocument = { GroupID?: null | string; TitleID?: null | string; CoopChainID?: null | string; CoopEventID?: null | string; CycleIndex?: null | number; Members?: null | Array<CoopGroupMember>; BuildObjectsState?: null | CoopBuildObjectsState; Status?: null | string; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; Version?: null | number; [key: string]: unknown; };
1071
+ type ActiveCoopEventInfo = { CoopChainID: string; [key: string]: unknown; };
1072
+ type CoopEventDefinition = { CoopEventID?: null | string; Order?: null | number; DurationSec?: null | number; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; EventType?: null | string; PartnerCount?: null | number; MatchmakingTimeoutMinutes?: null | number; MemberGracePeriodMinutes?: null | number; BuildObjects?: null | { Objects?: null | Array<{ Index?: null | number; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; MaxProgress?: null | number; CompletionReward?: null | ResourceGrant; [key: string]: unknown; }>; SpinCost?: null | ResourceConsume; SpinnerTable?: null | Array<{ DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Weight?: null | number; MinProgress?: null | number; MaxProgress?: null | number; [key: string]: unknown; }>; [key: string]: unknown; }; GrandPrize?: null | ResourceGrant; [key: string]: unknown; };
1072
1073
  /** A coop event chain: cyclic schedule + ordered events + audience gate. */
1073
1074
  interface CoopEventChainDefinition {
1074
1075
  CoopChainID?: string | null;
@@ -1078,11 +1079,11 @@ interface CoopEventChainDefinition {
1078
1079
  Gate?: SegmentGate | null;
1079
1080
  [key: string]: unknown;
1080
1081
  }
1081
- type CoopUserStateResponse = { ServerTimeUtc?: null | string; UserState?: null | UserCoopEventState; ActiveGroup?: null | { Status?: null | string; GroupID?: null | string; CycleIndex?: null | number; TitleID?: null | string; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; CoopChainID?: null | string; CoopEventID?: null | string; Members?: null | Array<{ UserID?: null | string; PublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; BuildObjectsProgress?: null | { ObjectIndex?: null | number; ObjectCompletionRewardClaimed?: null | boolean; } & Record<string, unknown>; IsBot?: null | boolean; SpinsCount?: null | number; TokensSpent?: null | number; MemberStatus?: null | string; GrandPrizeClaimed?: null | boolean; JoinedAtUtc?: null | string; LeftAtUtc?: null | string; } & Record<string, unknown>>; BuildObjectsState?: null | { Objects?: null | Array<{ Index?: null | number; OwnerUserID?: null | string; CurrentProgress?: null | number; MaxProgress?: null | number; IsCompleted?: null | boolean; } & Record<string, unknown>>; } & Record<string, unknown>; Version?: null | number; } & Record<string, unknown>; };
1082
- type CoopGroupStateResponse = { ServerTimeUtc?: null | string; SecondsRemaining?: null | number; Group?: null | { Status?: null | string; GroupID?: null | string; CycleIndex?: null | number; TitleID?: null | string; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; CoopChainID?: null | string; CoopEventID?: null | string; Members?: null | Array<{ UserID?: null | string; PublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; BuildObjectsProgress?: null | { ObjectIndex?: null | number; ObjectCompletionRewardClaimed?: null | boolean; } & Record<string, unknown>; IsBot?: null | boolean; SpinsCount?: null | number; TokensSpent?: null | number; MemberStatus?: null | string; GrandPrizeClaimed?: null | boolean; JoinedAtUtc?: null | string; LeftAtUtc?: null | string; } & Record<string, unknown>>; BuildObjectsState?: null | { Objects?: null | Array<{ Index?: null | number; OwnerUserID?: null | string; CurrentProgress?: null | number; MaxProgress?: null | number; IsCompleted?: null | boolean; } & Record<string, unknown>>; } & Record<string, unknown>; Version?: null | number; } & Record<string, unknown>; };
1083
- type CoopSpinResponse = { ServerTimeUtc?: null | string; Resources?: null | ResourceOperation; GroupID?: null | string; ObjectIndex?: null | number; MaxProgress?: null | number; Sector?: null | { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Weight?: null | number; MaxProgress?: null | number; MinProgress?: null | number; } & Record<string, unknown>; ProgressDelta?: null | number; NewProgress?: null | number; ObjectCompleted?: null | boolean; AllObjectsCompleted?: null | boolean; };
1084
- type CoopClaimRewardResponse = { ServerTimeUtc?: null | string; Resources?: null | ResourceOperation; GroupID?: null | string; RewardType?: null | string; };
1085
- type CoopLeaveGroupResponse = { ServerTimeUtc?: null | string; Success?: null | boolean; GroupID?: null | string; };
1082
+ type CoopUserStateResponse = { ServerTimeUtc?: null | string; UserState?: null | UserCoopEventState; ActiveGroup?: null | CoopGroupDocument; };
1083
+ type CoopGroupStateResponse = { ServerTimeUtc?: null | string; Group?: null | CoopGroupDocument; SecondsRemaining?: null | number; };
1084
+ 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; }; ProgressDelta?: null | number; NewProgress?: null | number; MaxProgress?: null | number; ObjectCompleted?: null | boolean; AllObjectsCompleted?: null | boolean; };
1085
+ type CoopClaimRewardResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; RewardType?: null | string; Resources?: null | ResourceOperation; };
1086
+ type CoopLeaveGroupResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; Success?: null | boolean; };
1086
1087
  /** Root config of the title's cooperative events system. Plugs into TitlePublicConfig as CoopEvent. */
1087
1088
  interface CoopEventDefinitions {
1088
1089
  /** All coop event chains of the title. Dictionary key is CoopChainID. */
@@ -1105,7 +1106,7 @@ declare const CoopEventAction: {
1105
1106
  readonly LeaveGroup: "LeaveGroup";
1106
1107
  };
1107
1108
  type CoopEventAction = (typeof CoopEventAction)[keyof typeof CoopEventAction];
1108
- type LimitSpec = { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>;
1109
+ type LimitSpec = { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; [key: string]: unknown; };
1109
1110
 
1110
1111
  /** enum DealOfferActivationStatus — Active | Exhausted | Expired | Dismissed. */
1111
1112
  declare const DealOfferActivationStatus: {
@@ -1124,20 +1125,20 @@ declare const DealNodeRuntimeStatus: {
1124
1125
  readonly Hidden: "Hidden";
1125
1126
  };
1126
1127
  type DealNodeRuntimeStatus = (typeof DealNodeRuntimeStatus)[keyof typeof DealNodeRuntimeStatus];
1127
- type UserDealNodeState = { Status?: null | string; NodeID?: null | string; ExecutionCount?: null | number; UnlockedAtUtc?: null | string; CompletedAtUtc?: null | string; LastExecutedAtUtc?: null | string; NextAvailableAtUtc?: null | string; LastExecutionRefID?: null | string; } & Record<string, unknown>;
1128
- type UserDealTrackState = { TrackID?: null | string; CurrentValue?: null | number; LastUpdatedUtc?: null | string; } & Record<string, unknown>;
1129
- type UserDealOfferActivationState = { Status?: null | string; OfferID?: null | string; InstanceKey?: null | string; SourceOfferVersion?: null | number; ActivatedAtUtc?: null | string; ExhaustedAtUtc?: null | string; ExpiredAtUtc?: null | string; DismissedAtUtc?: null | string; ShowCount?: null | number; LastShownAtUtc?: null | string; Nodes?: null | Record<string, { Status?: null | string; NodeID?: null | string; ExecutionCount?: null | number; UnlockedAtUtc?: null | string; CompletedAtUtc?: null | string; LastExecutedAtUtc?: null | string; NextAvailableAtUtc?: null | string; LastExecutionRefID?: null | string; } & Record<string, unknown>>; Tracks?: null | Record<string, { TrackID?: null | string; CurrentValue?: null | number; LastUpdatedUtc?: null | string; } & Record<string, unknown>>; SelectedChoiceNodeID?: null | string; } & Record<string, unknown>;
1130
- type UserDealSlotState = { SlotID?: null | string; CycleIndex?: null | number; LastUpdatedUtc?: null | string; QueueIndex?: null | number; ActiveOfferID?: null | string; ActiveOfferStartedAtUtc?: null | string; ActiveOfferExpiresAtUtc?: null | string; ActiveOffer?: null | { Status?: null | string; OfferID?: null | string; InstanceKey?: null | string; SourceOfferVersion?: null | number; ActivatedAtUtc?: null | string; ExhaustedAtUtc?: null | string; ExpiredAtUtc?: null | string; DismissedAtUtc?: null | string; ShowCount?: null | number; LastShownAtUtc?: null | string; Nodes?: null | Record<string, { Status?: null | string; NodeID?: null | string; ExecutionCount?: null | number; UnlockedAtUtc?: null | string; CompletedAtUtc?: null | string; LastExecutedAtUtc?: null | string; NextAvailableAtUtc?: null | string; LastExecutionRefID?: null | string; } & Record<string, unknown>>; Tracks?: null | Record<string, { TrackID?: null | string; CurrentValue?: null | number; LastUpdatedUtc?: null | string; } & Record<string, unknown>>; SelectedChoiceNodeID?: null | string; } & Record<string, unknown>; NextCycleStartsAtUtc?: null | string; DismissSkipAvailableAtUtc?: null | string; LastDismissedAtUtc?: null | string; } & Record<string, unknown>;
1131
- type UserDealNodeLifetimeCounts = { TotalExecutions?: null | number; DailyExecutions?: null | number; DailyResetUtc?: null | string; } & Record<string, unknown>;
1132
- type UserDealOfferHistory = { LastShownAtUtc?: null | string; TotalActivations?: null | number; TotalExhausted?: null | number; TotalExpired?: null | number; TotalDismissed?: null | number; TotalShows?: null | number; LastActivatedAtUtc?: null | string; LastExhaustedAtUtc?: null | string; NodeCounts?: null | Record<string, { TotalExecutions?: null | number; DailyExecutions?: null | number; DailyResetUtc?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
1128
+ type UserDealNodeState = { NodeID?: null | string; Status?: null | string; ExecutionCount?: null | number; UnlockedAtUtc?: null | string; CompletedAtUtc?: null | string; LastExecutedAtUtc?: null | string; NextAvailableAtUtc?: null | string; LastExecutionRefID?: null | string; [key: string]: unknown; };
1129
+ type UserDealTrackState = { TrackID?: null | string; CurrentValue?: null | number; LastUpdatedUtc?: null | string; [key: string]: unknown; };
1130
+ type UserDealOfferActivationState = { OfferID?: null | string; InstanceKey?: null | string; SourceOfferVersion?: null | number; Status?: null | string; ActivatedAtUtc?: null | string; ExhaustedAtUtc?: null | string; ExpiredAtUtc?: null | string; DismissedAtUtc?: null | string; ShowCount?: null | number; LastShownAtUtc?: null | string; Nodes?: null | Record<string, UserDealNodeState>; Tracks?: null | Record<string, UserDealTrackState>; SelectedChoiceNodeID?: null | string; [key: string]: unknown; };
1131
+ type UserDealSlotState = { SlotID?: null | string; QueueIndex?: null | number; CycleIndex?: null | number; ActiveOfferID?: null | string; ActiveOfferStartedAtUtc?: null | string; ActiveOfferExpiresAtUtc?: null | string; ActiveOffer?: null | UserDealOfferActivationState; NextCycleStartsAtUtc?: null | string; LastUpdatedUtc?: null | string; DismissSkipAvailableAtUtc?: null | string; LastDismissedAtUtc?: null | string; [key: string]: unknown; };
1132
+ type UserDealNodeLifetimeCounts = { TotalExecutions?: null | number; DailyExecutions?: null | number; DailyResetUtc?: null | string; [key: string]: unknown; };
1133
+ type UserDealOfferHistory = { TotalActivations?: null | number; TotalExhausted?: null | number; TotalExpired?: null | number; TotalDismissed?: null | number; TotalShows?: null | number; LastShownAtUtc?: null | string; LastActivatedAtUtc?: null | string; LastExhaustedAtUtc?: null | string; NodeCounts?: null | Record<string, UserDealNodeLifetimeCounts>; [key: string]: unknown; };
1133
1134
  /** Root runtime state of Deal Offers for one user: per-slot state + per-offer history. */
1134
1135
  interface UserDealOffersState {
1135
1136
  Slots?: Record<string, UserDealSlotState> | null;
1136
1137
  OfferHistory?: Record<string, UserDealOfferHistory> | null;
1137
1138
  LastUpdatedUtc?: string | null;
1138
1139
  }
1139
- type DealSlotDefinition = { Enabled?: null | boolean; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; SlotID?: null | string; SortOrder?: null | number; Schedule?: null | { Mode?: null | string; IsActive?: null | boolean; Scheduled?: null | { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; Chain?: null | { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number; } & Record<string, unknown>; Cyclic?: null | { ClaimGraceHours?: null | number; AnchorUtc?: null | string; PauseBetweenCyclesSec?: null | number; Reset?: null | string; IntervalSeconds?: null | number; } & Record<string, unknown>; ActivationTriggers?: null | Array<{ SourceType?: null | string; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Params?: null | Record<string, string>; BaseWeight?: null | number; ScaleWithRollMultiplier?: null | boolean; TileTypeFilter?: null | Array<string>; TileIndexFilter?: null | Array<number>; ChanceOutcomeFilter?: null | Array<string>; OutcomeFilter?: null | Array<string>; } & Record<string, unknown>>; Relative?: null | { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; Queue?: null | Array<{ OfferID?: null | string; Order?: null | number; DurationSec?: null | number; DelayBeforeActivationSec?: null | number; } & Record<string, unknown>>; AllowDismissSkip?: null | boolean; DismissSkipDelaySec?: null | number; } & Record<string, unknown>;
1140
- type DealNodeActionDefinition = { Purchase?: null | { StoreOfferID?: null | string; BillingProductID?: null | string; DirectCost?: null | ResourceConsume; UseExternalRewards?: null | boolean; } & Record<string, unknown>; RewardedVideo?: null | { AdPlacementID?: null | string; ViewsRequiredToComplete?: null | number; MaxViewsPerActivation?: null | number; CooldownSecondsBetweenViews?: null | number; RequireServerVerification?: null | boolean; GrantRewardsPerView?: null | boolean; } & Record<string, unknown>; } & Record<string, unknown>;
1140
+ type DealSlotDefinition = { SlotID?: null | string; Enabled?: null | boolean; SortOrder?: null | number; Queue?: null | Array<{ Order?: null | number; OfferID?: null | string; DurationSec?: null | number; DelayBeforeActivationSec?: null | number; [key: string]: unknown; }>; Schedule?: null | ScheduleSpec; Gate?: null | SegmentGate; AllowDismissSkip?: null | boolean; DismissSkipDelaySec?: null | number; [key: string]: unknown; };
1141
+ type DealNodeActionDefinition = { Purchase?: null | { StoreOfferID?: null | string; BillingProductID?: null | string; DirectCost?: null | ResourceConsume; UseExternalRewards?: null | boolean; [key: string]: unknown; }; RewardedVideo?: null | { AdPlacementID?: null | string; ViewsRequiredToComplete?: null | number; MaxViewsPerActivation?: null | number; CooldownSecondsBetweenViews?: null | number; RequireServerVerification?: null | boolean; GrantRewardsPerView?: null | boolean; [key: string]: unknown; }; [key: string]: unknown; };
1141
1142
  /**
1142
1143
  * Container of preset wiring for an offer — one PresetBinding per block. Inline data (Milestones)
1143
1144
  * lives on DealOfferDefinition. null = presets unused.
@@ -1145,9 +1146,9 @@ type DealNodeActionDefinition = { Purchase?: null | { StoreOfferID?: null | stri
1145
1146
  interface DealOfferPresetBindings {
1146
1147
  Milestones?: PresetBinding | null;
1147
1148
  }
1148
- type DealTrackChange = { Amount?: null | number; TrackID?: null | string; RespectBounds?: null | boolean; } & Record<string, unknown>;
1149
- type DealTrackDefinition = { DisplayName?: null | string; TrackID?: null | string; StartValue?: null | number; MinValue?: null | number; MaxValue?: null | number; ClampToMin?: null | boolean; ClampToMax?: null | boolean; HiddenFromUI?: null | boolean; } & Record<string, unknown>;
1150
- type DealNodeUnlockRules = { RequiredCompletedNodeIDs?: null | Array<string>; RequiredAnyCompletedNodeIDs?: null | Array<string>; RequiredTracks?: null | Array<{ Value?: null | number; TrackID?: null | string; Operator?: null | string; } & Record<string, unknown>>; VisibleWhileLocked?: null | boolean; } & Record<string, unknown>;
1149
+ type DealTrackChange = { TrackID?: null | string; Amount?: null | number; RespectBounds?: null | boolean; [key: string]: unknown; };
1150
+ type DealTrackDefinition = { TrackID?: null | string; DisplayName?: null | string; StartValue?: null | number; MinValue?: null | number; MaxValue?: null | number; ClampToMin?: null | boolean; ClampToMax?: null | boolean; HiddenFromUI?: null | boolean; [key: string]: unknown; };
1151
+ type DealNodeUnlockRules = { RequiredCompletedNodeIDs?: null | Array<string>; RequiredAnyCompletedNodeIDs?: null | Array<string>; RequiredTracks?: null | Array<{ TrackID?: null | string; Operator?: null | string; Value?: null | number; [key: string]: unknown; }>; VisibleWhileLocked?: null | boolean; [key: string]: unknown; };
1151
1152
  /**
1152
1153
  * A single offer node — an atomic player action (purchase / free claim / watch ad).
1153
1154
  * Hand-written interface + annotated schema to avoid TS7056 (inferred type too long).
@@ -1210,7 +1211,7 @@ interface DealOfferDefinitions {
1210
1211
  }
1211
1212
  type DealOffersDefinitionResponse = { DealOfferDefinitions?: null | DealOfferDefinitions; };
1212
1213
  type UserDealOffersStateResponse = { DealOffers?: null | UserDealOffersState; };
1213
- type DealMilestoneProgressInfo = { EntityID?: null | string; TotalEarned?: null | number; ClaimedIDs?: null | Array<string>; ReachedUnclaimedIDs?: null | Array<string>; } & Record<string, unknown>;
1214
+ type DealMilestoneProgressInfo = { EntityID?: null | string; TotalEarned?: null | number; ClaimedIDs?: null | Array<string>; ReachedUnclaimedIDs?: null | Array<string>; [key: string]: unknown; };
1214
1215
  /**
1215
1216
  * Resolved state of one slot for the client: definition + runtime state + cost preview.
1216
1217
  * Hand-written interface + annotated schema to avoid TS7056.
@@ -1228,11 +1229,11 @@ interface ActiveDealSlotInfo {
1228
1229
  Milestone?: DealMilestoneProgressInfo | null;
1229
1230
  }
1230
1231
  type GetActiveDealsResponse = { Slots?: null | Array<ActiveDealSlotInfo>; };
1231
- type ExecuteNodeResponse = { ServerTimeUtc?: null | string; Resources?: null | ResourceOperation; SlotID?: null | string; NodeID?: null | string; NodeCompleted?: null | boolean; OfferExhausted?: null | boolean; Idempotent?: null | boolean; };
1232
- type DismissDealResponse = { ServerTimeUtc?: null | string; Resources?: null | ResourceOperation; SlotID?: null | string; };
1233
- type RecordShowResponse = { ServerTimeUtc?: null | string; Resources?: null | ResourceOperation; SlotID?: null | string; };
1234
- type ClaimDealMilestoneResponse = { ServerTimeUtc?: null | string; Resources?: null | ResourceOperation; SlotID?: null | string; MilestoneID?: null | string; };
1235
- type ClaimDealMilestonesBatchResponse = { ServerTimeUtc?: null | string; Resources?: null | ResourceOperation; SlotID?: null | string; ClaimedIDs?: null | Array<string>; Rejected?: null | Record<string, string>; };
1232
+ type ExecuteNodeResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; NodeID?: null | string; NodeCompleted?: null | boolean; OfferExhausted?: null | boolean; Idempotent?: null | boolean; Resources?: null | ResourceOperation; };
1233
+ type DismissDealResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; Resources?: null | ResourceOperation; };
1234
+ type RecordShowResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; Resources?: null | ResourceOperation; };
1235
+ type ClaimDealMilestoneResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; MilestoneID?: null | string; Resources?: null | ResourceOperation; };
1236
+ type ClaimDealMilestonesBatchResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; ClaimedIDs?: null | Array<string>; Rejected?: null | Record<string, string>; Resources?: null | ResourceOperation; };
1236
1237
  interface DealOfferRequest extends BaseRequest {
1237
1238
  SlotID?: string;
1238
1239
  NodeID?: string;
@@ -1265,7 +1266,7 @@ interface UserReferralState {
1265
1266
  UpdatedAt?: string;
1266
1267
  [key: string]: unknown;
1267
1268
  }
1268
- type SpendRewardDefinition = { TargetCurrencyID?: null | string; FeatureKey?: null | string; IsEnabled?: null | boolean; Percent?: null | number; SourceCurrencyID?: null | string; } & Record<string, unknown>;
1269
+ type SpendRewardDefinition = { FeatureKey?: null | string; IsEnabled?: null | boolean; Percent?: null | number; SourceCurrencyID?: null | string; TargetCurrencyID?: null | string; [key: string]: unknown; };
1269
1270
  interface ReferralDefinitions {
1270
1271
  IsEnabled?: boolean | null;
1271
1272
  /** One-time reward for the current user's first activation of another user's referral code. */
@@ -1278,8 +1279,8 @@ interface ReferralDefinitionsResponse {
1278
1279
  ReferralDefinitions?: ReferralDefinitions | null;
1279
1280
  }
1280
1281
  type UserReferralStateResponse = { Referral?: null | UserReferralState; };
1281
- type ActivateReferralCodeResponse = { Resources?: null | ResourceOperation; ReferralCode?: null | string; IsFirstActivation?: null | boolean; };
1282
- type ClaimInviteRewardResponse = { Resources?: null | ResourceOperation; RewardID?: null | string; };
1282
+ type ActivateReferralCodeResponse = { ReferralCode?: null | string; IsFirstActivation?: null | boolean; Resources?: null | ResourceOperation; };
1283
+ type ClaimInviteRewardResponse = { RewardID?: null | string; Resources?: null | ResourceOperation; };
1283
1284
  interface ReferralRequest extends BaseRequest {
1284
1285
  ReferralCode?: string;
1285
1286
  InviteRewardID?: string;
@@ -1305,8 +1306,8 @@ declare const TimelineEventType: {
1305
1306
  readonly FriendAdd: "FriendAdd";
1306
1307
  };
1307
1308
  type TimelineEventType = (typeof TimelineEventType)[keyof typeof TimelineEventType];
1308
- type FriendPublicProfile = { UserID: string; PublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; };
1309
- type SocialTimelineEvent = { CreatedAt?: null | string; Type?: null | string; OwnerUserID?: null | string; ActorUserID?: null | string; ActorProfile?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; OwnerImpact?: null | ResourceOperation; IsBlocked?: null | boolean; TargetObjectName?: null | string; } & Record<string, unknown>;
1309
+ type FriendPublicProfile = { UserID: string; PublicData?: null | UserPublicDataModel; };
1310
+ type SocialTimelineEvent = { OwnerUserID?: null | string; ActorUserID?: null | string; ActorProfile?: null | UserPublicDataModel; Type?: null | string; CreatedAt?: null | string; OwnerImpact?: null | ResourceOperation; IsBlocked?: null | boolean; TargetObjectName?: null | string; [key: string]: unknown; };
1310
1311
  interface UserSocialState {
1311
1312
  Accepted?: string[];
1312
1313
  IncomingRequests?: string[];
@@ -1314,8 +1315,8 @@ interface UserSocialState {
1314
1315
  Timeline?: SocialTimelineEvent[];
1315
1316
  }
1316
1317
  type FriendsListResponse = { Friends?: null | Array<FriendPublicProfile>; };
1317
- type FriendActionResponse = { Status?: null | string; TargetUserID?: null | string; };
1318
- type TimelineResponse = { Events?: null | Array<{ CreatedAt?: null | string; Type?: null | string; OwnerUserID?: null | string; ActorUserID?: null | string; ActorProfile?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; OwnerImpact?: null | ResourceOperation; IsBlocked?: null | boolean; TargetObjectName?: null | string; } & Record<string, unknown>>; };
1318
+ type FriendActionResponse = { TargetUserID?: null | string; Status?: null | string; };
1319
+ type TimelineResponse = { Events?: null | Array<SocialTimelineEvent>; };
1319
1320
  interface SocialRequest extends BaseRequest {
1320
1321
  TargetUserID?: string;
1321
1322
  Limit?: number;
@@ -1339,11 +1340,11 @@ declare const TimedBoostStackingPolicy: {
1339
1340
  readonly Stack: "Stack";
1340
1341
  };
1341
1342
  type TimedBoostStackingPolicy = (typeof TimedBoostStackingPolicy)[keyof typeof TimedBoostStackingPolicy];
1342
- type TimedBoostDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; DurationSeconds?: null | number; BoostID?: null | string; ActivationCost?: null | ResourceConsume; Effect?: null | { Value?: null | number; Target?: null | string; Operation?: null | string; } & Record<string, unknown>; Charges?: null | number; StackingPolicy?: null | string; MaxActiveInstances?: null | number; Tags?: null | Array<string>; } & Record<string, unknown>;
1343
- type ScheduledBoostDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; Schedule?: null | { Mode?: null | string; IsActive?: null | boolean; Scheduled?: null | { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; Chain?: null | { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number; } & Record<string, unknown>; Cyclic?: null | { ClaimGraceHours?: null | number; AnchorUtc?: null | string; PauseBetweenCyclesSec?: null | number; Reset?: null | string; IntervalSeconds?: null | number; } & Record<string, unknown>; ActivationTriggers?: null | Array<{ SourceType?: null | string; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Params?: null | Record<string, string>; BaseWeight?: null | number; ScaleWithRollMultiplier?: null | boolean; TileTypeFilter?: null | Array<string>; TileIndexFilter?: null | Array<number>; ChanceOutcomeFilter?: null | Array<string>; OutcomeFilter?: null | Array<string>; } & Record<string, unknown>>; Relative?: null | { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; CustomParams?: null | Record<string, string>; Tags?: null | Array<string>; ScheduledBoostID?: null | string; Effects?: null | Array<{ Value?: null | number; Target?: null | string; Operation?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
1344
- type BoostChainDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; Schedule?: null | { Mode?: null | string; IsActive?: null | boolean; Scheduled?: null | { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; Chain?: null | { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number; } & Record<string, unknown>; Cyclic?: null | { ClaimGraceHours?: null | number; AnchorUtc?: null | string; PauseBetweenCyclesSec?: null | number; Reset?: null | string; IntervalSeconds?: null | number; } & Record<string, unknown>; ActivationTriggers?: null | Array<{ SourceType?: null | string; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Params?: null | Record<string, string>; BaseWeight?: null | number; ScaleWithRollMultiplier?: null | boolean; TileTypeFilter?: null | Array<string>; TileIndexFilter?: null | Array<number>; ChanceOutcomeFilter?: null | Array<string>; OutcomeFilter?: null | Array<string>; } & Record<string, unknown>>; Relative?: null | { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; CustomParams?: null | Record<string, string>; ChainID?: null | string; Phases?: null | Array<{ Order?: null | number; DurationSec?: null | number; CustomParams?: null | Record<string, string>; Effects?: null | Array<{ Value?: null | number; Target?: null | string; Operation?: null | string; } & Record<string, unknown>>; ChainedBoostID?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
1345
- type TriggeredBoostDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; DurationSeconds?: null | number; Charges?: null | number; StackingPolicy?: null | string; MaxActiveInstances?: null | number; Tags?: null | Array<string>; Effects?: null | Array<{ Value?: null | number; Target?: null | string; Operation?: null | string; } & Record<string, unknown>>; TriggeredBoostID?: null | string; Sources?: null | Array<{ SourceType?: null | string; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Params?: null | Record<string, string>; BaseWeight?: null | number; ScaleWithRollMultiplier?: null | boolean; TileTypeFilter?: null | Array<string>; TileIndexFilter?: null | Array<number>; ChanceOutcomeFilter?: null | Array<string>; OutcomeFilter?: null | Array<string>; } & Record<string, unknown>>; } & Record<string, unknown>;
1346
- type TimedBoostGlobalSettings = { StackingCaps?: null | Record<string, { MaxAddPercent?: null | number; MaxMultiply?: null | number; MaxAddFlat?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>;
1343
+ type TimedBoostDefinition = { BoostID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; ActivationCost?: null | ResourceConsume; Effect?: null | { Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }; DurationSeconds?: null | number; Charges?: null | number; StackingPolicy?: null | string; MaxActiveInstances?: null | number; Tags?: null | Array<string>; [key: string]: unknown; };
1344
+ type ScheduledBoostDefinition = { ScheduledBoostID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Tags?: null | Array<string>; Schedule?: null | ScheduleSpec; Effects?: null | Array<{ Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }>; Gate?: null | SegmentGate; CustomParams?: null | Record<string, string>; [key: string]: unknown; };
1345
+ type BoostChainDefinition = { ChainID?: null | string; DisplayName?: null | string; Description?: null | string; AssetPaths?: null | Record<string, string>; Schedule?: null | ScheduleSpec; Phases?: null | Array<{ ChainedBoostID?: null | string; Order?: null | number; DurationSec?: null | number; Effects?: null | Array<{ Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }>; CustomParams?: null | Record<string, string>; [key: string]: unknown; }>; Gate?: null | SegmentGate; CustomParams?: null | Record<string, string>; [key: string]: unknown; };
1346
+ type TriggeredBoostDefinition = { TriggeredBoostID?: null | string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Tags?: null | Array<string>; Sources?: null | Array<TriggerSource>; Effects?: null | Array<{ Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }>; DurationSeconds?: null | number; Charges?: null | number; StackingPolicy?: null | string; MaxActiveInstances?: null | number; Gate?: null | SegmentGate; [key: string]: unknown; };
1347
+ type TimedBoostGlobalSettings = { StackingCaps?: null | Record<string, { MaxAddPercent?: null | number; MaxMultiply?: null | number; MaxAddFlat?: null | number; [key: string]: unknown; }>; [key: string]: unknown; };
1347
1348
  interface TimedBoostDefinitions {
1348
1349
  Definitions?: Record<string, TimedBoostDefinition> | null;
1349
1350
  ScheduledBoosts?: Record<string, ScheduledBoostDefinition> | null;
@@ -1351,23 +1352,23 @@ interface TimedBoostDefinitions {
1351
1352
  TriggeredBoosts?: Record<string, TriggeredBoostDefinition> | null;
1352
1353
  Settings?: TimedBoostGlobalSettings | null;
1353
1354
  }
1354
- type ActiveTimedBoost = { BoostID: string; InstanceID: string; SourceType?: null | string; ExpiresAtUtc?: null | string; ActivatedAtUtc?: null | string; RemainingCharges?: null | number; EffectSnapshot?: null | { Value?: null | number; Target?: null | string; Operation?: null | string; } & Record<string, unknown>; SourceRef?: null | string; } & Record<string, unknown>;
1355
- type BoostTriggerCounter = { Date?: null | string; DailyCount?: null | number; LastFiredUtc?: null | string; } & Record<string, unknown>;
1355
+ type ActiveTimedBoost = { InstanceID: string; BoostID: string; ActivatedAtUtc?: null | string; ExpiresAtUtc?: null | string; RemainingCharges?: null | number; EffectSnapshot?: null | { Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }; SourceType?: null | string; SourceRef?: null | string; [key: string]: unknown; };
1356
+ type BoostTriggerCounter = { Date?: null | string; DailyCount?: null | number; LastFiredUtc?: null | string; [key: string]: unknown; };
1356
1357
  interface UserTimedBoostsState {
1357
1358
  Active?: Record<string, ActiveTimedBoost>;
1358
1359
  Version?: number;
1359
1360
  Triggers?: Record<string, BoostTriggerCounter>;
1360
1361
  }
1361
- type GetActiveTimedBoostsResponse = { ServerTimeUtc?: null | string; Active?: null | Record<string, { BoostID: string; InstanceID: string; SourceType?: null | string; ExpiresAtUtc?: null | string; ActivatedAtUtc?: null | string; RemainingCharges?: null | number; EffectSnapshot?: null | { Value?: null | number; Target?: null | string; Operation?: null | string; } & Record<string, unknown>; SourceRef?: null | string; } & Record<string, unknown>>; };
1362
- type ActivateTimedBoostResponse = { ServerTimeUtc?: null | string; Resources?: null | ResourceOperation; BoostID?: null | string; StackingPolicy?: null | string; ActivatedBoost?: null | { BoostID: string; InstanceID: string; SourceType?: null | string; ExpiresAtUtc?: null | string; ActivatedAtUtc?: null | string; RemainingCharges?: null | number; EffectSnapshot?: null | { Value?: null | number; Target?: null | string; Operation?: null | string; } & Record<string, unknown>; SourceRef?: null | string; } & Record<string, unknown>; };
1362
+ type GetActiveTimedBoostsResponse = { ServerTimeUtc?: null | string; Active?: null | Record<string, ActiveTimedBoost>; };
1363
+ type ActivateTimedBoostResponse = { ServerTimeUtc?: null | string; BoostID?: null | string; StackingPolicy?: null | string; ActivatedBoost?: null | ActiveTimedBoost; Resources?: null | ResourceOperation; };
1363
1364
  /** enum BoostWindowKind — Scheduled | Chain. */
1364
1365
  declare const BoostWindowKind: {
1365
1366
  readonly Scheduled: "Scheduled";
1366
1367
  readonly Chain: "Chain";
1367
1368
  };
1368
1369
  type BoostWindowKind = (typeof BoostWindowKind)[keyof typeof BoostWindowKind];
1369
- type ActiveBoostWindowInfo = { SourceID?: null | string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; StartUtc?: null | string; EndUtc?: null | string; PhaseID?: null | string; CycleIndex?: null | number; Kind?: null | string; Effects?: null | Array<{ Value?: null | number; Target?: null | string; Operation?: null | string; } & Record<string, unknown>>; PhaseOrder?: null | number; } & Record<string, unknown>;
1370
- type GetActiveBoostWindowsResponse = { ServerTimeUtc?: null | string; Windows?: null | Array<{ SourceID?: null | string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; StartUtc?: null | string; EndUtc?: null | string; PhaseID?: null | string; CycleIndex?: null | number; Kind?: null | string; Effects?: null | Array<{ Value?: null | number; Target?: null | string; Operation?: null | string; } & Record<string, unknown>>; PhaseOrder?: null | number; } & Record<string, unknown>>; };
1370
+ type ActiveBoostWindowInfo = { Kind?: null | string; SourceID?: null | string; PhaseID?: null | string; CycleIndex?: null | number; PhaseOrder?: null | number; StartUtc?: null | string; EndUtc?: null | string; Effects?: null | Array<{ Target?: null | string; Operation?: null | string; Value?: null | number; [key: string]: unknown; }>; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
1371
+ type GetActiveBoostWindowsResponse = { ServerTimeUtc?: null | string; Windows?: null | Array<ActiveBoostWindowInfo>; };
1371
1372
  interface TimedBoostRequest extends BaseRequest {
1372
1373
  BoostID?: string;
1373
1374
  }
@@ -1394,17 +1395,17 @@ declare const CustomDataWriter: {
1394
1395
  readonly System: "System";
1395
1396
  };
1396
1397
  type CustomDataWriter = (typeof CustomDataWriter)[keyof typeof CustomDataWriter];
1397
- type UserCustomDataRecord = { UpdatedAt?: null | string; ExpiresAt?: null | string; Value?: null | string; Version?: null | number; LastWriter?: null | 'Client' | 'Server' | 'System'; } & Record<string, unknown>;
1398
+ type UserCustomDataRecord = { Value?: null | string; UpdatedAt?: null | string; Version?: null | number; LastWriter?: null | 'Client' | 'Server' | 'System'; ExpiresAt?: null | string; [key: string]: unknown; };
1398
1399
  interface UserCustomDataState {
1399
1400
  Version?: number;
1400
1401
  Private?: Record<string, UserCustomDataRecord>;
1401
1402
  Public?: Record<string, UserCustomDataRecord>;
1402
1403
  ReadOnly?: Record<string, UserCustomDataRecord>;
1403
1404
  }
1404
- type GetMyUserCustomDataResponse = { Version?: null | number; Private?: null | Record<string, { UpdatedAt?: null | string; ExpiresAt?: null | string; Value?: null | string; Version?: null | number; LastWriter?: null | 'Client' | 'Server' | 'System'; } & Record<string, unknown>>; Public?: null | Record<string, { UpdatedAt?: null | string; ExpiresAt?: null | string; Value?: null | string; Version?: null | number; LastWriter?: null | 'Client' | 'Server' | 'System'; } & Record<string, unknown>>; ReadOnly?: null | Record<string, { UpdatedAt?: null | string; ExpiresAt?: null | string; Value?: null | string; Version?: null | number; LastWriter?: null | 'Client' | 'Server' | 'System'; } & Record<string, unknown>>; };
1405
- type GetPublicUserCustomDataResponse = { UserID?: null | string; Version?: null | number; Public?: null | Record<string, { UpdatedAt?: null | string; ExpiresAt?: null | string; Value?: null | string; Version?: null | number; LastWriter?: null | 'Client' | 'Server' | 'System'; } & Record<string, unknown>>; };
1406
- type SetUserCustomDataResponse = { KeyID: string; ServerTimeUtc?: null | string; ExpiresAt?: null | string; Version?: null | number; Bucket?: null | string; };
1407
- type BatchSetUserCustomDataResponse = { ServerTimeUtc?: null | string; Results?: null | Array<{ KeyID: string; ExpiresAt?: null | string; Version?: null | number; Bucket?: null | string; }>; };
1405
+ type GetMyUserCustomDataResponse = { Version?: null | number; Private?: null | Record<string, UserCustomDataRecord>; Public?: null | Record<string, UserCustomDataRecord>; ReadOnly?: null | Record<string, UserCustomDataRecord>; };
1406
+ type GetPublicUserCustomDataResponse = { UserID?: null | string; Version?: null | number; Public?: null | Record<string, UserCustomDataRecord>; };
1407
+ type SetUserCustomDataResponse = { KeyID: string; ServerTimeUtc?: null | string; Bucket?: null | string; Version?: null | number; ExpiresAt?: null | string; };
1408
+ type BatchSetUserCustomDataResponse = { ServerTimeUtc?: null | string; Results?: null | Array<{ KeyID: string; Bucket?: null | string; Version?: null | number; ExpiresAt?: null | string; }>; };
1408
1409
  type BatchDeleteUserCustomDataResponse = { ServerTimeUtc?: null | string; DeletedCount?: null | number; };
1409
1410
  type BatchGetPublicUserCustomDataResponse = { Results?: null | Array<GetPublicUserCustomDataResponse>; NotFoundUserIDs?: null | Array<string>; };
1410
1411
  declare const CustomDataValueType: {
@@ -1414,7 +1415,7 @@ declare const CustomDataValueType: {
1414
1415
  readonly Json: "Json";
1415
1416
  };
1416
1417
  type CustomDataValueType = (typeof CustomDataValueType)[keyof typeof CustomDataValueType];
1417
- type UserCustomDataKeyDefinition = { KeyID: string; Description?: null | string; Bucket?: null | string; ValueType?: null | 'String' | 'Int' | 'Bool' | 'Json'; MaxValueLengthBytes?: null | number; TtlSeconds?: null | number; DefaultValue?: null | string; } & Record<string, unknown>;
1418
+ type UserCustomDataKeyDefinition = { KeyID: string; Bucket?: null | string; ValueType?: null | 'String' | 'Int' | 'Bool' | 'Json'; MaxValueLengthBytes?: null | number; TtlSeconds?: null | number; DefaultValue?: null | string; Description?: null | string; [key: string]: unknown; };
1418
1419
  /** Custom User Data V2 config: schema-managed key registry + default size/TTL limits. */
1419
1420
  interface UserCustomDataDefinitions {
1420
1421
  Keys?: Record<string, UserCustomDataKeyDefinition> | null;
@@ -1454,7 +1455,7 @@ declare const UserCustomDataAction: {
1454
1455
  readonly BatchGetPublicUserCustomDataOf: "BatchGetPublicUserCustomDataOf";
1455
1456
  };
1456
1457
  type UserCustomDataAction = (typeof UserCustomDataAction)[keyof typeof UserCustomDataAction];
1457
- type UserPublicDataModel = { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>;
1458
+ type UserPublicDataModel = { Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Level?: null | number; Power?: null | number; BoardRank?: null | number; [key: string]: unknown; };
1458
1459
 
1459
1460
  declare const RaidMode: {
1460
1461
  readonly Fast: "Fast";
@@ -1471,9 +1472,9 @@ declare const AttackOutcome: {
1471
1472
  readonly Blocked: "Blocked";
1472
1473
  };
1473
1474
  type AttackOutcome = (typeof AttackOutcome)[keyof typeof AttackOutcome];
1474
- type BuildingState = { SlotIndex: number; Level?: null | number; IsDamaged?: null | boolean; MaxLevelRewardClaimed?: null | boolean; } & Record<string, unknown>;
1475
- type HeistCell = { Symbol?: null | string | number; OnOpenBonus?: null | ResourceGrant; BonusTag?: null | string; } & Record<string, unknown>;
1476
- type SpecialGradationTierSnapshot = { Reward?: null | ResourceGrant; ElapsedSeconds?: null | number; } & Record<string, unknown>;
1475
+ type BuildingState = { SlotIndex: number; Level?: null | number; IsDamaged?: null | boolean; MaxLevelRewardClaimed?: null | boolean; [key: string]: unknown; };
1476
+ type HeistCell = { Symbol?: null | string | number; OnOpenBonus?: null | ResourceGrant; BonusTag?: null | string; [key: string]: unknown; };
1477
+ type SpecialGradationTierSnapshot = { ElapsedSeconds?: null | number; Reward?: null | ResourceGrant; [key: string]: unknown; };
1477
1478
  interface SpecialPendingState {
1478
1479
  ModeID?: string;
1479
1480
  ChoiceID?: string | null;
@@ -1522,23 +1523,23 @@ interface UserGameLoopsState {
1522
1523
  Board?: BoardLoopState | null;
1523
1524
  CommunityChest?: UserCommunityChestState | null;
1524
1525
  }
1525
- type SpecialModeStats = { PlayedCount?: null | number; RewardsClaimedCount?: null | number; InstantClaimsCount?: null | number; EarlyClaimsCount?: null | number; LateClaimsCount?: null | number; AdViewsTotal?: null | number; } & Record<string, unknown>;
1526
- type RewardMultiplierRange = { Max?: null | number; Min?: null | number; } & Record<string, unknown>;
1527
- type ScaledResourceOperation = { ScaleWithRollMultiplier?: null | boolean; Operation?: null | ResourceOperation; } & Record<string, unknown>;
1528
- type BoardDiceConfig = { Count?: null | number; Sides?: null | number; } & Record<string, unknown>;
1529
- type BoardBotConfig = { ShieldChance?: null | number; DamagedBuildingChance?: null | number; RankMultiplierMin?: null | number; RankMultiplierMax?: null | number; RankOffsetMin?: null | number; RankOffsetMax?: null | number; } & Record<string, unknown>;
1530
- type ProceduralEconomyConfig = { CostMatrixTemplatesByID?: null | Record<string, Array<Array<number>>>; PerBoardGrowth?: null | number; VisualTemplateCycle?: null | Array<string>; EconomyScaledResources?: null | ResourceBundle; ScaleRaidStealWithEconomy?: null | boolean; ScaleAttackRewardWithEconomy?: null | boolean; AttackValueFromCostMatrix?: null | boolean; AttackBlockedRewardFactor?: null | number; ScaleVictimLossWithEconomy?: null | boolean; ScaleVictimLossWithTier?: null | boolean; SynthesizedBuildingSlots?: null | number; SynthesizedBuildingMaxLevel?: null | number; } & Record<string, unknown>;
1531
- type StageEconomyOverride = { PerBoardGrowth?: null | number; CostMatrix?: null | Array<Array<number>>; EconomyScale?: null | number; ScaledResources?: null | ResourceBundle; } & Record<string, unknown>;
1532
- type BuildingDefinition = { AssetPaths?: null | Record<string, string>; MaxLevel?: null | number; Name?: null | string; SlotIndex?: null | number; MaxLevelReward?: null | ResourceGrant; } & Record<string, unknown>;
1533
- type BoardTemplateDefinition = { Tiles?: null | Record<string, { Type?: null | string; Params?: null | Record<string, string>; Index?: null | number; CustomTypeID?: null | string; RandomActionAttackWeight?: null | number; RandomActionRaidWeight?: null | number; ChanceTableID?: null | string; SpecialModeID?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
1534
- type HeistRaidVariant = { Weight?: null | number; Tag?: null | string; MinBonusCells?: null | number; MaxBonusCells?: null | number; BonusPool?: null | Array<{ Weight?: null | number; Bonus?: null | { ScaleWithRollMultiplier?: null | boolean; Operation?: null | ResourceOperation; } & Record<string, unknown>; Tag?: null | string; } & Record<string, unknown>>; GuaranteedBonus?: null | { ScaleWithRollMultiplier?: null | boolean; Operation?: null | ResourceOperation; } & Record<string, unknown>; IsJackpot?: null | boolean; JackpotFinalMultiplier?: null | number; JackpotSymbolDistribution?: null | Record<string, number>; } & Record<string, unknown>;
1526
+ type SpecialModeStats = { PlayedCount?: null | number; RewardsClaimedCount?: null | number; InstantClaimsCount?: null | number; EarlyClaimsCount?: null | number; LateClaimsCount?: null | number; AdViewsTotal?: null | number; [key: string]: unknown; };
1527
+ type RewardMultiplierRange = { Min?: null | number; Max?: null | number; [key: string]: unknown; };
1528
+ type ScaledResourceOperation = { Operation?: null | ResourceOperation; ScaleWithRollMultiplier?: null | boolean; [key: string]: unknown; };
1529
+ type BoardDiceConfig = { Count?: null | number; Sides?: null | number; [key: string]: unknown; };
1530
+ type BoardBotConfig = { ShieldChance?: null | number; DamagedBuildingChance?: null | number; RankMultiplierMin?: null | number; RankMultiplierMax?: null | number; RankOffsetMin?: null | number; RankOffsetMax?: null | number; [key: string]: unknown; };
1531
+ type ProceduralEconomyConfig = { CostMatrixTemplatesByID?: null | Record<string, Array<Array<number>>>; PerBoardGrowth?: null | number; VisualTemplateCycle?: null | Array<string>; EconomyScaledResources?: null | ResourceBundle; ScaleRaidStealWithEconomy?: null | boolean; ScaleAttackRewardWithEconomy?: null | boolean; AttackValueFromCostMatrix?: null | boolean; AttackBlockedRewardFactor?: null | number; ScaleVictimLossWithEconomy?: null | boolean; ScaleVictimLossWithTier?: null | boolean; SynthesizedBuildingSlots?: null | number; SynthesizedBuildingMaxLevel?: null | number; [key: string]: unknown; };
1532
+ type StageEconomyOverride = { CostMatrix?: null | Array<Array<number>>; PerBoardGrowth?: null | number; EconomyScale?: null | number; ScaledResources?: null | ResourceBundle; [key: string]: unknown; };
1533
+ type BuildingDefinition = { SlotIndex?: null | number; Name?: null | string; AssetPaths?: null | Record<string, string>; MaxLevel?: null | number; MaxLevelReward?: null | ResourceGrant; [key: string]: unknown; };
1534
+ type BoardTemplateDefinition = { Tiles?: null | Record<string, { Index?: null | number; Type?: null | string; CustomTypeID?: null | string; RandomActionAttackWeight?: null | number; RandomActionRaidWeight?: null | number; ChanceTableID?: null | string; SpecialModeID?: null | string; Params?: null | Record<string, string>; [key: string]: unknown; }>; [key: string]: unknown; };
1535
+ type HeistRaidVariant = { Weight?: null | number; Tag?: null | string; MinBonusCells?: null | number; MaxBonusCells?: null | number; BonusPool?: null | Array<{ Weight?: null | number; Bonus?: null | ScaledResourceOperation; Tag?: null | string; [key: string]: unknown; }>; GuaranteedBonus?: null | ScaledResourceOperation; IsJackpot?: null | boolean; JackpotFinalMultiplier?: null | number; JackpotSymbolDistribution?: null | Record<string, number>; [key: string]: unknown; };
1535
1536
  /** Raid-grid generation config for a stage: weighted variants selected per raid. */
1536
1537
  interface HeistGridBonusConfig {
1537
1538
  Variants?: HeistRaidVariant[] | null;
1538
1539
  }
1539
- type ChanceTable = { Outcomes?: null | Array<{ Reward?: null | { ScaleWithRollMultiplier?: null | boolean; Operation?: null | ResourceOperation; } & Record<string, unknown>; Weight?: null | number; SpecialModeID?: null | string; OutcomeID?: null | string; ForceAction?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
1540
- type SpecialClaimMultipliers = { PerAdMultiplierRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; MaxAdViews?: null | number; AdCreditCost?: null | number; FormulaKind?: null | string; ApplyMultiplierOnEarlyClaim?: null | boolean; } & Record<string, unknown>;
1541
- type SpecialGradationConfig = { Tiers?: null | Array<{ Reward?: null | { ScaleWithRollMultiplier?: null | boolean; Operation?: null | ResourceOperation; } & Record<string, unknown>; ElapsedSeconds?: null | number; } & Record<string, unknown>>; BelowFirstTierReward?: null | { ScaleWithRollMultiplier?: null | boolean; Operation?: null | ResourceOperation; } & Record<string, unknown>; } & Record<string, unknown>;
1540
+ type ChanceTable = { Outcomes?: null | Array<{ Weight?: null | number; OutcomeID?: null | string; Reward?: null | ScaledResourceOperation; ForceAction?: null | string; SpecialModeID?: null | string; [key: string]: unknown; }>; [key: string]: unknown; };
1541
+ type SpecialClaimMultipliers = { PerAdMultiplierRange?: null | RewardMultiplierRange; MaxAdViews?: null | number; AdCreditCost?: null | number; FormulaKind?: null | string; ApplyMultiplierOnEarlyClaim?: null | boolean; [key: string]: unknown; };
1542
+ type SpecialGradationConfig = { Tiers?: null | Array<{ ElapsedSeconds?: null | number; Reward?: null | ScaledResourceOperation; [key: string]: unknown; }>; BelowFirstTierReward?: null | ScaledResourceOperation; [key: string]: unknown; };
1542
1543
  /** A single choice in a Special mode (Instant reward or Timed flow with multipliers/gradation). */
1543
1544
  interface SpecialModeChoice {
1544
1545
  ChoiceID?: string | null;
@@ -1555,7 +1556,7 @@ interface SpecialModeDefinition {
1555
1556
  OfferExpireSeconds?: number | null;
1556
1557
  ClaimExpireSeconds?: number | null;
1557
1558
  }
1558
- type AttackBonusDrop = { Reward?: null | { ScaleWithRollMultiplier?: null | boolean; Operation?: null | ResourceOperation; } & Record<string, unknown>; Tag?: null | string; Chance?: null | number; RequiredOutcome?: null | string; } & Record<string, unknown>;
1559
+ type AttackBonusDrop = { Chance?: null | number; RequiredOutcome?: null | string; Reward?: null | ScaledResourceOperation; Tag?: null | string; [key: string]: unknown; };
1559
1560
  /** Server-configured resource operations for all in-stage game events. */
1560
1561
  interface StageOperations {
1561
1562
  OnPassStart?: ScaledResourceOperation | null;
@@ -1635,9 +1636,9 @@ interface GameLoopDefinitions {
1635
1636
  CommunityChest?: CommunityChestDefinition | null;
1636
1637
  [key: string]: unknown;
1637
1638
  }
1638
- type RollActionData = { TargetUserID?: null | string; PublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; IsBot?: null | boolean; TargetBuildingStates?: null | Array<{ SlotIndex: number; Level?: null | number; IsDamaged?: null | boolean; MaxLevelRewardClaimed?: null | boolean; } & Record<string, unknown>>; TargetHasShield?: null | boolean; } & Record<string, unknown>;
1639
- type SpecialModeOfferData = { ModeID?: null | string; Choices?: null | Array<{ Reward?: null | { ScaleWithRollMultiplier?: null | boolean; Operation?: null | ResourceOperation; } & Record<string, unknown>; Multipliers?: null | { PerAdMultiplierRange?: null | { Max?: null | number; Min?: null | number; } & Record<string, unknown>; MaxAdViews?: null | number; AdCreditCost?: null | number; FormulaKind?: null | string; ApplyMultiplierOnEarlyClaim?: null | boolean; } & Record<string, unknown>; Mode?: null | string; DurationSeconds?: null | number; ChoiceID?: null | string; EntryCost?: null | ResourceConsume; } & Record<string, unknown>>; } & Record<string, unknown>;
1640
- type CommunityChestContributionResult = { Completed?: null | boolean; GroupID?: null | string; MaxProgress?: null | number; NewProgress?: null | number; Delta?: null | number; UnlockedMilestoneIDs?: null | Array<string>; } & Record<string, unknown>;
1639
+ type RollActionData = { TargetUserID?: null | string; IsBot?: null | boolean; PublicData?: null | UserPublicDataModel; TargetBuildingStates?: null | Array<BuildingState>; TargetHasShield?: null | boolean; [key: string]: unknown; };
1640
+ type SpecialModeOfferData = { ModeID?: null | string; Choices?: null | Array<{ ChoiceID?: null | string; Mode?: null | string; Reward?: null | ScaledResourceOperation; DurationSeconds?: null | number; EntryCost?: null | ResourceConsume; Multipliers?: null | SpecialClaimMultipliers; [key: string]: unknown; }>; [key: string]: unknown; };
1641
+ type CommunityChestContributionResult = { GroupID?: null | string; Delta?: null | number; NewProgress?: null | number; MaxProgress?: null | number; UnlockedMilestoneIDs?: null | Array<string>; Completed?: null | boolean; [key: string]: unknown; };
1641
1642
  interface BoardRollResponse {
1642
1643
  UsedMultiplier?: number | null;
1643
1644
  Steps?: number | null;
@@ -1651,12 +1652,12 @@ interface BoardRollResponse {
1651
1652
  SpecialModeOffer?: SpecialModeOfferData | null;
1652
1653
  CommunityChestContribution?: CommunityChestContributionResult | null;
1653
1654
  }
1654
- type AttackResponse = { Outcome?: null | string; Operation?: null | ResourceOperation; IsBotTarget?: null | boolean; BuildingIndexHit?: null | number; DualResult?: null | ResourceDualPartyResult; } & Record<string, unknown>;
1655
- type RaidResponse = { Status?: null | string; Outcome?: null | string; Operation?: null | ResourceOperation; IsJackpot?: null | boolean; DualResult?: null | ResourceDualPartyResult; FoundSymbol?: null | string | number; FoundBonus?: null | ResourceGrant; OpenedIndex?: null | number; AttemptsLeft?: null | number; RaidLayout?: null | Array<{ Symbol?: null | string | number; OnOpenBonus?: null | ResourceGrant; BonusTag?: null | string; } & Record<string, unknown>>; HeistVariantTag?: null | string; } & Record<string, unknown>;
1656
- type BuildResponse = { BuiltIndex: number; Operation?: null | ResourceOperation; MaxLevelRewardClaimed?: null | boolean; NewLevel?: null | number; StageComplete?: null | boolean; } & Record<string, unknown>;
1657
- type SpecialChooseResponse = { Mode?: null | string | number; DurationSeconds?: null | number; ExpiresAtUtc?: null | string; Operation?: null | ResourceOperation; StartedAtUtc?: null | string; } & Record<string, unknown>;
1658
- type SpecialApplyMultiplierResponse = { AdViewsUsed?: null | number; RolledMultiplier?: null | number; AccumulatedMultiplier?: null | number; RemainingAdViews?: null | number; } & Record<string, unknown>;
1659
- type SpecialClaimResponse = { Operation?: null | ResourceOperation; AdViewsUsed?: null | number; AccumulatedMultiplier?: null | number; FinalMultiplier?: null | number; IsEarlyClaim?: null | boolean; } & Record<string, unknown>;
1655
+ type AttackResponse = { Outcome?: null | string; IsBotTarget?: null | boolean; BuildingIndexHit?: null | number; Operation?: null | ResourceOperation; DualResult?: null | ResourceDualPartyResult; [key: string]: unknown; };
1656
+ 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; };
1657
+ type BuildResponse = { BuiltIndex: number; NewLevel?: null | number; StageComplete?: null | boolean; MaxLevelRewardClaimed?: null | boolean; Operation?: null | ResourceOperation; [key: string]: unknown; };
1658
+ type SpecialChooseResponse = { Mode?: null | string | number; Operation?: null | ResourceOperation; DurationSeconds?: null | number; StartedAtUtc?: null | string; ExpiresAtUtc?: null | string; [key: string]: unknown; };
1659
+ type SpecialApplyMultiplierResponse = { AdViewsUsed?: null | number; RolledMultiplier?: null | number; AccumulatedMultiplier?: null | number; RemainingAdViews?: null | number; [key: string]: unknown; };
1660
+ type SpecialClaimResponse = { FinalMultiplier?: null | number; AdViewsUsed?: null | number; AccumulatedMultiplier?: null | number; IsEarlyClaim?: null | boolean; Operation?: null | ResourceOperation; [key: string]: unknown; };
1660
1661
  /** enum CommunityChestStatus — mirror of CoopGroupStatus. */
1661
1662
  declare const CommunityChestStatus: {
1662
1663
  readonly Forming: "Forming";
@@ -1673,15 +1674,15 @@ declare const CommunityChestMemberStatus: {
1673
1674
  readonly Replaced: "Replaced";
1674
1675
  };
1675
1676
  type CommunityChestMemberStatus = (typeof CommunityChestMemberStatus)[keyof typeof CommunityChestMemberStatus];
1676
- type CommunityChestSharedState = { CurrentProgress?: null | number; MaxProgress?: null | number; } & Record<string, unknown>;
1677
- type CommunityChestMember = { UserID?: null | string; PublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; IsBot?: null | boolean; MemberStatus?: null | 'Active' | 'Left' | 'Replaced'; GrandPrizeClaimed?: null | boolean; JoinedAtUtc?: null | string; LeftAtUtc?: null | string; ContributionPoints?: null | number; ClaimedMilestoneIDs?: null | Array<string>; } & Record<string, unknown>;
1678
- type CommunityChestGroupDocument = { Status?: null | 'Active' | 'Completed' | 'Expired' | 'Forming' | 'Failed'; GroupID?: null | string; RoundIndex?: null | number; TitleID?: null | string; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; Members?: null | Array<{ UserID?: null | string; PublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; IsBot?: null | boolean; MemberStatus?: null | 'Active' | 'Left' | 'Replaced'; GrandPrizeClaimed?: null | boolean; JoinedAtUtc?: null | string; LeftAtUtc?: null | string; ContributionPoints?: null | number; ClaimedMilestoneIDs?: null | Array<string>; } & Record<string, unknown>>; Version?: null | number; SharedProgress?: null | { CurrentProgress?: null | number; MaxProgress?: null | number; } & Record<string, unknown>; } & Record<string, unknown>;
1679
- type CommunityChestHistoryEntry = { GroupID?: null | string; RoundIndex?: null | number; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Forming' | 'Failed'; GrandPrizeReceived?: null | boolean; FinishedAtUtc?: null | string; } & Record<string, unknown>;
1680
- type UserCommunityChestState = { ActiveGroupID?: null | string; ActiveRoundIndex?: null | number; History?: null | Array<{ GroupID?: null | string; RoundIndex?: null | number; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Forming' | 'Failed'; GrandPrizeReceived?: null | boolean; FinishedAtUtc?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
1681
- type CommunityChestUserStateResponse = { ServerTimeUtc?: null | string; SecondsRemaining?: null | number; UserState?: null | { ActiveGroupID?: null | string; ActiveRoundIndex?: null | number; History?: null | Array<{ GroupID?: null | string; RoundIndex?: null | number; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Forming' | 'Failed'; GrandPrizeReceived?: null | boolean; FinishedAtUtc?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; ActiveGroup?: null | { Status?: null | 'Active' | 'Completed' | 'Expired' | 'Forming' | 'Failed'; GroupID?: null | string; RoundIndex?: null | number; TitleID?: null | string; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; Members?: null | Array<{ UserID?: null | string; PublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; IsBot?: null | boolean; MemberStatus?: null | 'Active' | 'Left' | 'Replaced'; GrandPrizeClaimed?: null | boolean; JoinedAtUtc?: null | string; LeftAtUtc?: null | string; ContributionPoints?: null | number; ClaimedMilestoneIDs?: null | Array<string>; } & Record<string, unknown>>; Version?: null | number; SharedProgress?: null | { CurrentProgress?: null | number; MaxProgress?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; };
1682
- type CommunityChestGroupStateResponse = { ServerTimeUtc?: null | string; SecondsRemaining?: null | number; Group?: null | { Status?: null | 'Active' | 'Completed' | 'Expired' | 'Forming' | 'Failed'; GroupID?: null | string; RoundIndex?: null | number; TitleID?: null | string; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; Members?: null | Array<{ UserID?: null | string; PublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; IsBot?: null | boolean; MemberStatus?: null | 'Active' | 'Left' | 'Replaced'; GrandPrizeClaimed?: null | boolean; JoinedAtUtc?: null | string; LeftAtUtc?: null | string; ContributionPoints?: null | number; ClaimedMilestoneIDs?: null | Array<string>; } & Record<string, unknown>>; Version?: null | number; SharedProgress?: null | { CurrentProgress?: null | number; MaxProgress?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; };
1683
- type CommunityChestClaimResponse = { ServerTimeUtc?: null | string; Resources?: null | ResourceOperation; MilestoneID?: null | string; GroupID?: null | string; RewardType?: null | string; };
1684
- type CommunityChestLeaveResponse = { ServerTimeUtc?: null | string; Success?: null | boolean; GroupID?: null | string; };
1677
+ type CommunityChestSharedState = { CurrentProgress?: null | number; MaxProgress?: null | number; [key: string]: unknown; };
1678
+ type CommunityChestMember = { UserID?: null | string; PublicData?: null | UserPublicDataModel; IsBot?: null | boolean; ContributionPoints?: null | number; ClaimedMilestoneIDs?: null | Array<string>; GrandPrizeClaimed?: null | boolean; MemberStatus?: null | 'Active' | 'Left' | 'Replaced'; JoinedAtUtc?: null | string; LeftAtUtc?: null | string; [key: string]: unknown; };
1679
+ type CommunityChestGroupDocument = { GroupID?: null | string; TitleID?: null | string; RoundIndex?: null | number; Members?: null | Array<CommunityChestMember>; SharedProgress?: null | CommunityChestSharedState; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Forming' | 'Failed'; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; Version?: null | number; [key: string]: unknown; };
1680
+ type CommunityChestHistoryEntry = { GroupID?: null | string; RoundIndex?: null | number; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Forming' | 'Failed'; GrandPrizeReceived?: null | boolean; FinishedAtUtc?: null | string; [key: string]: unknown; };
1681
+ type UserCommunityChestState = { ActiveGroupID?: null | string; ActiveRoundIndex?: null | number; History?: null | Array<CommunityChestHistoryEntry>; [key: string]: unknown; };
1682
+ type CommunityChestUserStateResponse = { ServerTimeUtc?: null | string; UserState?: null | UserCommunityChestState; ActiveGroup?: null | CommunityChestGroupDocument; SecondsRemaining?: null | number; };
1683
+ type CommunityChestGroupStateResponse = { ServerTimeUtc?: null | string; Group?: null | CommunityChestGroupDocument; SecondsRemaining?: null | number; };
1684
+ type CommunityChestClaimResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; RewardType?: null | string; MilestoneID?: null | string; Resources?: null | ResourceOperation; };
1685
+ type CommunityChestLeaveResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; Success?: null | boolean; };
1685
1686
  interface GameLoopRequest extends BaseRequest {
1686
1687
  RollMultiplier?: number;
1687
1688
  BuildingIndex?: number;
@@ -1736,37 +1737,51 @@ declare const CommissionSink: {
1736
1737
  readonly Ledger: "Ledger";
1737
1738
  };
1738
1739
  type CommissionSink = (typeof CommissionSink)[keyof typeof CommissionSink];
1739
- type MarketplaceCommissionOverride = { Percent?: null | number; MinPerPosition?: null | number; } & Record<string, unknown>;
1740
- type MarketplacePricePolicy = { AllowVirtualCurrency?: null | boolean; AllowItems?: null | boolean; AllowEventTokens?: null | boolean; Allowed?: null | Array<{ MinAmount?: null | number; MaxAmount?: null | number; CurrencyID?: null | string; CatalogID?: null | string; ItemID?: null | string; EntityID?: null | string; Kind?: null | 'Item' | 'VirtualCurrency' | 'EventToken'; TokenType?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; } & Record<string, unknown>>; MaxPositions?: null | number; } & Record<string, unknown>;
1741
- type MarketplaceCommissionPolicy = { Percent?: null | number; MinPerPosition?: null | number; Sink?: null | 'Burn' | 'Ledger'; LedgerAccountID?: null | string; PerCatalogOverrides?: null | Record<string, { Percent?: null | number; MinPerPosition?: null | number; } & Record<string, unknown>>; ApplyToDirectTrades?: null | boolean; } & Record<string, unknown>;
1742
- type MarketplaceTradabilityPolicy = { AllowedCatalogIDs?: null | Array<string>; DeniedCatalogIDs?: null | Array<string>; DeniedItemIDs?: null | Array<string>; AllowUnstackableWithState?: null | boolean; } & Record<string, unknown>;
1743
- type MarketplaceListingSettings = { Enabled?: null | boolean; AllowedDurationsHours?: null | Array<number>; MaxActiveListings?: null | number; CreateLimits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; BuyLimits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; ListingFee?: null | ResourceConsume; RefundListingFeeOnCancel?: null | boolean; } & Record<string, unknown>;
1744
- type MarketplaceAuctionSettings = { Enabled?: null | boolean; MinDurationHours?: null | number; MaxDurationHours?: null | number; AntiSnipeWindowSeconds?: null | number; AntiSnipeExtensionSeconds?: null | number; MaxAntiSnipeExtensions?: null | number; MinBidStepPercent?: null | number; MinBidStepAbsolute?: null | number; BidLimits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; } & Record<string, unknown>;
1745
- type MarketplaceBuyOrderSettings = { Enabled?: null | boolean; AllowedDurationsHours?: null | Array<number>; CreateLimits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; MaxActiveOrders?: null | number; FillLimits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; } & Record<string, unknown>;
1746
- type MarketplaceDirectTradeSettings = { Enabled?: null | boolean; CreateLimits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; OfferExpirationHours?: null | number; MaxPendingOutgoing?: null | number; AllowGifts?: null | boolean; } & Record<string, unknown>;
1747
- type MarketplaceDefinitions = { Enabled?: null | boolean; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; Schedule?: null | { Mode?: null | string; IsActive?: null | boolean; Scheduled?: null | { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; Chain?: null | { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number; } & Record<string, unknown>; Cyclic?: null | { ClaimGraceHours?: null | number; AnchorUtc?: null | string; PauseBetweenCyclesSec?: null | number; Reset?: null | string; IntervalSeconds?: null | number; } & Record<string, unknown>; ActivationTriggers?: null | Array<{ SourceType?: null | string; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Params?: null | Record<string, string>; BaseWeight?: null | number; ScaleWithRollMultiplier?: null | boolean; TileTypeFilter?: null | Array<string>; TileIndexFilter?: null | Array<number>; ChanceOutcomeFilter?: null | Array<string>; OutcomeFilter?: null | Array<string>; } & Record<string, unknown>>; Relative?: null | { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; PricePolicy?: null | { AllowVirtualCurrency?: null | boolean; AllowItems?: null | boolean; AllowEventTokens?: null | boolean; Allowed?: null | Array<{ MinAmount?: null | number; MaxAmount?: null | number; CurrencyID?: null | string; CatalogID?: null | string; ItemID?: null | string; EntityID?: null | string; Kind?: null | 'Item' | 'VirtualCurrency' | 'EventToken'; TokenType?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; } & Record<string, unknown>>; MaxPositions?: null | number; } & Record<string, unknown>; Commission?: null | { Percent?: null | number; MinPerPosition?: null | number; Sink?: null | 'Burn' | 'Ledger'; LedgerAccountID?: null | string; PerCatalogOverrides?: null | Record<string, { Percent?: null | number; MinPerPosition?: null | number; } & Record<string, unknown>>; ApplyToDirectTrades?: null | boolean; } & Record<string, unknown>; Tradability?: null | { AllowedCatalogIDs?: null | Array<string>; DeniedCatalogIDs?: null | Array<string>; DeniedItemIDs?: null | Array<string>; AllowUnstackableWithState?: null | boolean; } & Record<string, unknown>; Listings?: null | { Enabled?: null | boolean; AllowedDurationsHours?: null | Array<number>; MaxActiveListings?: null | number; CreateLimits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; BuyLimits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; ListingFee?: null | ResourceConsume; RefundListingFeeOnCancel?: null | boolean; } & Record<string, unknown>; Auctions?: null | { Enabled?: null | boolean; MinDurationHours?: null | number; MaxDurationHours?: null | number; AntiSnipeWindowSeconds?: null | number; AntiSnipeExtensionSeconds?: null | number; MaxAntiSnipeExtensions?: null | number; MinBidStepPercent?: null | number; MinBidStepAbsolute?: null | number; BidLimits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; BuyOrders?: null | { Enabled?: null | boolean; AllowedDurationsHours?: null | Array<number>; CreateLimits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; MaxActiveOrders?: null | number; FillLimits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; DirectTrades?: null | { Enabled?: null | boolean; CreateLimits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; OfferExpirationHours?: null | number; MaxPendingOutgoing?: null | number; AllowGifts?: null | boolean; } & Record<string, unknown>; } & Record<string, unknown>;
1748
- type MarketplaceBidRefund = { Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>;
1749
- type MarketplaceAuctionState = { BidAxisType?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; BidCurrencyID?: null | string; BidCatalogID?: null | string; BidItemID?: null | string; StartingBid?: null | number; CurrentBid?: null | number; CurrentBidderID?: null | string; BidCount?: null | number; ExtensionCount?: null | number; PendingRefunds?: null | Array<{ Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
1750
- type MarketplaceActionCounter = { DailyResetUtc?: null | string; DailyCount?: null | number; LastAt?: null | string; } & Record<string, unknown>;
1751
- type UserMarketplaceState = { Create?: null | { DailyResetUtc?: null | string; DailyCount?: null | number; LastAt?: null | string; } & Record<string, unknown>; Buy?: null | { DailyResetUtc?: null | string; DailyCount?: null | number; LastAt?: null | string; } & Record<string, unknown>; Sell?: null | { DailyResetUtc?: null | string; DailyCount?: null | number; LastAt?: null | string; } & Record<string, unknown>; Bid?: null | { DailyResetUtc?: null | string; DailyCount?: null | number; LastAt?: null | string; } & Record<string, unknown>; } & Record<string, unknown>;
1752
- type MarketplaceOfferView = { CreatedAt?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; OfferID?: null | string; ExpiresAt?: null | string; TargetUserID?: null | string; Auction?: null | { BidAxisType?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; BidCurrencyID?: null | string; BidCatalogID?: null | string; BidItemID?: null | string; StartingBid?: null | number; CurrentBid?: null | number; CurrentBidderID?: null | string; BidCount?: null | number; ExtensionCount?: null | number; PendingRefunds?: null | Array<{ Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; CreatorUserID?: null | string; CreatorPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; } & Record<string, unknown>;
1753
- type MarketplaceGroupedOfferView = { GoodsCatalogID?: null | string; GoodsItemID?: null | string; OfferCount?: null | number; } & Record<string, unknown>;
1740
+ /** enum MarketGoodsType what's being traded: a catalog item or a virtual currency. */
1741
+ declare const MarketGoodsType: {
1742
+ readonly Item: "Item";
1743
+ readonly VirtualCurrency: "VirtualCurrency";
1744
+ };
1745
+ type MarketGoodsType = (typeof MarketGoodsType)[keyof typeof MarketGoodsType];
1746
+ type MarketplaceCommissionOverride = { Percent?: null | number; MinPerPosition?: null | number; [key: string]: unknown; };
1747
+ type MarketplacePricePolicy = { AllowVirtualCurrency?: null | boolean; AllowItems?: null | boolean; AllowEventTokens?: null | boolean; Allowed?: null | Array<{ Kind?: null | 'Item' | 'VirtualCurrency' | 'EventToken'; CurrencyID?: null | string; CatalogID?: null | string; ItemID?: null | string; TokenType?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; EntityID?: null | string; MinAmount?: null | number; MaxAmount?: null | number; [key: string]: unknown; }>; MaxPositions?: null | number; [key: string]: unknown; };
1748
+ type MarketplaceCommissionPolicy = { Percent?: null | number; MinPerPosition?: null | number; Sink?: null | 'Burn' | 'Ledger'; LedgerAccountID?: null | string; PerCatalogOverrides?: null | Record<string, MarketplaceCommissionOverride>; ApplyToDirectTrades?: null | boolean; [key: string]: unknown; };
1749
+ type MarketplaceTradabilityPolicy = { AllowedCatalogIDs?: null | Array<string>; DeniedCatalogIDs?: null | Array<string>; DeniedItemIDs?: null | Array<string>; AllowUnstackableWithState?: null | boolean; [key: string]: unknown; };
1750
+ type MarketplaceListingSettings = { Enabled?: null | boolean; AllowedDurationsHours?: null | Array<number>; MaxActiveListings?: null | number; CreateLimits?: null | LimitSpec; BuyLimits?: null | LimitSpec; ListingFee?: null | ResourceConsume; RefundListingFeeOnCancel?: null | boolean; [key: string]: unknown; };
1751
+ type MarketplaceAuctionSettings = { Enabled?: null | boolean; MinDurationHours?: null | number; MaxDurationHours?: null | number; AntiSnipeWindowSeconds?: null | number; AntiSnipeExtensionSeconds?: null | number; MaxAntiSnipeExtensions?: null | number; MinBidStepPercent?: null | number; MinBidStepAbsolute?: null | number; BidLimits?: null | LimitSpec; [key: string]: unknown; };
1752
+ type MarketplaceBuyOrderSettings = { Enabled?: null | boolean; MaxActiveOrders?: null | number; AllowedDurationsHours?: null | Array<number>; CreateLimits?: null | LimitSpec; FillLimits?: null | LimitSpec; [key: string]: unknown; };
1753
+ type MarketplaceDirectTradeSettings = { Enabled?: null | boolean; OfferExpirationHours?: null | number; MaxPendingOutgoing?: null | number; AllowGifts?: null | boolean; CreateLimits?: null | LimitSpec; [key: string]: unknown; };
1754
+ type MarketplaceMatchingSettings = { Enabled?: null | boolean; [key: string]: unknown; };
1755
+ type MarketplaceDefinitions = { Enabled?: null | boolean; Gate?: null | SegmentGate; Schedule?: null | ScheduleSpec; PricePolicy?: null | MarketplacePricePolicy; Commission?: null | MarketplaceCommissionPolicy; Tradability?: null | MarketplaceTradabilityPolicy; Listings?: null | MarketplaceListingSettings; Auctions?: null | MarketplaceAuctionSettings; BuyOrders?: null | MarketplaceBuyOrderSettings; DirectTrades?: null | MarketplaceDirectTradeSettings; Matching?: null | MarketplaceMatchingSettings; [key: string]: unknown; };
1756
+ type MarketplaceBidRefund = { BidIndex?: null | number; UserID?: null | string; Amount?: null | number; Settled?: null | boolean; SettledAt?: null | string; [key: string]: unknown; };
1757
+ type MarketplaceAuctionState = { BidAxisType?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; BidCurrencyID?: null | string; BidCatalogID?: null | string; BidItemID?: null | string; StartingBid?: null | number; CurrentBid?: null | number; CurrentBidderID?: null | string; BidCount?: null | number; ExtensionCount?: null | number; PendingRefunds?: null | Array<MarketplaceBidRefund>; [key: string]: unknown; };
1758
+ type MarketplaceActionCounter = { LastAt?: null | string; DailyCount?: null | number; DailyResetUtc?: null | string; [key: string]: unknown; };
1759
+ type UserMarketplaceState = { Create?: null | MarketplaceActionCounter; Buy?: null | MarketplaceActionCounter; Sell?: null | MarketplaceActionCounter; Bid?: null | MarketplaceActionCounter; [key: string]: unknown; };
1760
+ type MarketplaceOfferView = { OfferID?: null | string; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; CreatorUserID?: null | string; CreatorPublicData?: null | UserPublicDataModel; TargetUserID?: null | string; GoodsType?: null | 'Item' | 'VirtualCurrency'; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsCurrencyID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; Auction?: null | MarketplaceAuctionState; CreatedAt?: null | string; ExpiresAt?: null | string; [key: string]: unknown; };
1761
+ type MarketplaceGroupedOfferView = { GoodsType?: null | 'Item' | 'VirtualCurrency'; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsCurrencyID?: null | string; CountsByType?: null | { Listing: number; Auction: number; BuyOrder: number; DirectTrade: number; }; ListingCount?: null | number; AuctionCount?: null | number; BuyOrderCount?: null | number; [key: string]: unknown; };
1754
1762
  interface MarketplaceGetDefinitionsResponse {
1755
1763
  Definitions?: MarketplaceDefinitions | null;
1756
1764
  IsOpenNow?: boolean | null;
1757
1765
  GatePassed?: boolean | null;
1758
1766
  }
1759
- type MarketplaceBrowseResponse = { Offers?: null | Array<{ CreatedAt?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; OfferID?: null | string; ExpiresAt?: null | string; TargetUserID?: null | string; Auction?: null | { BidAxisType?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; BidCurrencyID?: null | string; BidCatalogID?: null | string; BidItemID?: null | string; StartingBid?: null | number; CurrentBid?: null | number; CurrentBidderID?: null | string; BidCount?: null | number; ExtensionCount?: null | number; PendingRefunds?: null | Array<{ Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; CreatorUserID?: null | string; CreatorPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; } & Record<string, unknown>>; ContinuationToken?: null | string; } & Record<string, unknown>;
1760
- type MarketplaceGroupedOffersResponse = { Groups?: null | Array<{ GoodsCatalogID?: null | string; GoodsItemID?: null | string; OfferCount?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>;
1761
- type MarketplaceOfferResponse = { Offer?: null | { CreatedAt?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; OfferID?: null | string; ExpiresAt?: null | string; TargetUserID?: null | string; Auction?: null | { BidAxisType?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; BidCurrencyID?: null | string; BidCatalogID?: null | string; BidItemID?: null | string; StartingBid?: null | number; CurrentBid?: null | number; CurrentBidderID?: null | string; BidCount?: null | number; ExtensionCount?: null | number; PendingRefunds?: null | Array<{ Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; CreatorUserID?: null | string; CreatorPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; } & Record<string, unknown>; } & Record<string, unknown>;
1762
- type MarketplaceCreateOfferResponse = { Resources?: null | ResourceOperation; OfferID?: null | string; Offer?: null | { CreatedAt?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; OfferID?: null | string; ExpiresAt?: null | string; TargetUserID?: null | string; Auction?: null | { BidAxisType?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; BidCurrencyID?: null | string; BidCatalogID?: null | string; BidItemID?: null | string; StartingBid?: null | number; CurrentBid?: null | number; CurrentBidderID?: null | string; BidCount?: null | number; ExtensionCount?: null | number; PendingRefunds?: null | Array<{ Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; CreatorUserID?: null | string; CreatorPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; } & Record<string, unknown>; } & Record<string, unknown>;
1763
- type MarketplaceSettlementResponse = { Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; Resources?: null | ResourceOperation; OfferID?: null | string; Settlement?: null | ResourceDualPartyResult; CommissionTaken?: null | ResourceBundle; } & Record<string, unknown>;
1764
- type MarketplacePlaceBidResponse = { Resources?: null | ResourceOperation; OfferID?: null | string; ExpiresAt?: null | string; CurrentBid?: null | number; BidCount?: null | number; } & Record<string, unknown>;
1765
- type MarketplaceMyStateResponse = { Limits?: null | { Create?: null | { DailyResetUtc?: null | string; DailyCount?: null | number; LastAt?: null | string; } & Record<string, unknown>; Buy?: null | { DailyResetUtc?: null | string; DailyCount?: null | number; LastAt?: null | string; } & Record<string, unknown>; Sell?: null | { DailyResetUtc?: null | string; DailyCount?: null | number; LastAt?: null | string; } & Record<string, unknown>; Bid?: null | { DailyResetUtc?: null | string; DailyCount?: null | number; LastAt?: null | string; } & Record<string, unknown>; } & Record<string, unknown>; MyOffers?: null | Array<{ CreatedAt?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; OfferID?: null | string; ExpiresAt?: null | string; TargetUserID?: null | string; Auction?: null | { BidAxisType?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; BidCurrencyID?: null | string; BidCatalogID?: null | string; BidItemID?: null | string; StartingBid?: null | number; CurrentBid?: null | number; CurrentBidderID?: null | string; BidCount?: null | number; ExtensionCount?: null | number; PendingRefunds?: null | Array<{ Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; CreatorUserID?: null | string; CreatorPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; } & Record<string, unknown>>; MyLeadingBids?: null | Array<{ CreatedAt?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; OfferID?: null | string; ExpiresAt?: null | string; TargetUserID?: null | string; Auction?: null | { BidAxisType?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; BidCurrencyID?: null | string; BidCatalogID?: null | string; BidItemID?: null | string; StartingBid?: null | number; CurrentBid?: null | number; CurrentBidderID?: null | string; BidCount?: null | number; ExtensionCount?: null | number; PendingRefunds?: null | Array<{ Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; CreatorUserID?: null | string; CreatorPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; } & Record<string, unknown>>; MyBuyOrders?: null | Array<{ CreatedAt?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; OfferID?: null | string; ExpiresAt?: null | string; TargetUserID?: null | string; Auction?: null | { BidAxisType?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; BidCurrencyID?: null | string; BidCatalogID?: null | string; BidItemID?: null | string; StartingBid?: null | number; CurrentBid?: null | number; CurrentBidderID?: null | string; BidCount?: null | number; ExtensionCount?: null | number; PendingRefunds?: null | Array<{ Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; CreatorUserID?: null | string; CreatorPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; } & Record<string, unknown>>; IncomingTrades?: null | Array<{ CreatedAt?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; OfferID?: null | string; ExpiresAt?: null | string; TargetUserID?: null | string; Auction?: null | { BidAxisType?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; BidCurrencyID?: null | string; BidCatalogID?: null | string; BidItemID?: null | string; StartingBid?: null | number; CurrentBid?: null | number; CurrentBidderID?: null | string; BidCount?: null | number; ExtensionCount?: null | number; PendingRefunds?: null | Array<{ Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; CreatorUserID?: null | string; CreatorPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; } & Record<string, unknown>>; OutgoingTrades?: null | Array<{ CreatedAt?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; OfferID?: null | string; ExpiresAt?: null | string; TargetUserID?: null | string; Auction?: null | { BidAxisType?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; BidCurrencyID?: null | string; BidCatalogID?: null | string; BidItemID?: null | string; StartingBid?: null | number; CurrentBid?: null | number; CurrentBidderID?: null | string; BidCount?: null | number; ExtensionCount?: null | number; PendingRefunds?: null | Array<{ Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; CreatorUserID?: null | string; CreatorPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; } & Record<string, unknown>>; Claimables?: null | Array<{ CreatedAt?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; OfferID?: null | string; ExpiresAt?: null | string; TargetUserID?: null | string; Auction?: null | { BidAxisType?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; BidCurrencyID?: null | string; BidCatalogID?: null | string; BidItemID?: null | string; StartingBid?: null | number; CurrentBid?: null | number; CurrentBidderID?: null | string; BidCount?: null | number; ExtensionCount?: null | number; PendingRefunds?: null | Array<{ Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; CreatorUserID?: null | string; CreatorPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; } & Record<string, unknown>>; DrainedRefunds?: null | Array<{ Amount?: null | number; UserID?: null | string; BidIndex?: null | number; Settled?: null | boolean; SettledAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
1766
- type MarketplaceHistoryEntryView = { OfferID?: null | string; CompletedAt?: null | string; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; CommissionTaken?: null | ResourceBundle; SellerUserID?: null | string; BuyerUserID?: null | string; PricePaid?: null | ResourceBundle; } & Record<string, unknown>;
1767
- type MarketplaceHistoryResponse = { Entries?: null | Array<{ OfferID?: null | string; CompletedAt?: null | string; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; CommissionTaken?: null | ResourceBundle; SellerUserID?: null | string; BuyerUserID?: null | string; PricePaid?: null | ResourceBundle; } & Record<string, unknown>>; ContinuationToken?: null | string; } & Record<string, unknown>;
1767
+ type MarketplaceBrowseResponse = { Offers?: null | Array<MarketplaceOfferView>; ContinuationToken?: null | string; [key: string]: unknown; };
1768
+ type MarketplaceGroupedOffersResponse = { Groups?: null | Array<MarketplaceGroupedOfferView>; [key: string]: unknown; };
1769
+ type MarketplaceOfferResponse = { Offer?: null | MarketplaceOfferView; [key: string]: unknown; };
1770
+ type MarketplaceSettlementResponse = { OfferID?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; Settlement?: null | ResourceDualPartyResult; Resources?: null | ResourceOperation; CommissionTaken?: null | ResourceBundle; [key: string]: unknown; };
1771
+ type MarketplaceCreateOfferResponse = { OfferID?: null | string; Offer?: null | MarketplaceOfferView; Resources?: null | ResourceOperation; Matched?: null | boolean; Settlement?: null | MarketplaceSettlementResponse; [key: string]: unknown; };
1772
+ type MarketplacePlaceBidResponse = { OfferID?: null | string; CurrentBid?: null | number; BidCount?: null | number; ExpiresAt?: null | string; Resources?: null | ResourceOperation; [key: string]: unknown; };
1773
+ type MarketplaceMyStateResponse = { MyOffers?: null | Array<MarketplaceOfferView>; MyLeadingBids?: null | Array<MarketplaceOfferView>; MyBuyOrders?: null | Array<MarketplaceOfferView>; IncomingTrades?: null | Array<MarketplaceOfferView>; OutgoingTrades?: null | Array<MarketplaceOfferView>; Claimables?: null | Array<MarketplaceOfferView>; DrainedRefunds?: null | Array<MarketplaceBidRefund>; Limits?: null | UserMarketplaceState; [key: string]: unknown; };
1774
+ type MarketplaceHistoryEntryView = { OfferID?: null | string; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; SellerUserID?: null | string; BuyerUserID?: null | string; GoodsType?: null | 'Item' | 'VirtualCurrency'; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsCurrencyID?: null | string; GoodsAmount?: null | number; PricePaid?: null | ResourceBundle; CommissionTaken?: null | ResourceBundle; CompletedAt?: null | string; [key: string]: unknown; };
1775
+ type MarketplaceHistoryResponse = { Entries?: null | Array<MarketplaceHistoryEntryView>; ContinuationToken?: null | string; [key: string]: unknown; };
1768
1776
  interface MarketplaceRequest extends BaseRequest {
1769
1777
  OfferID?: string;
1778
+ /**
1779
+ * Item (default) or VirtualCurrency. For Create actions / MarketBuy / MarketSell: what's
1780
+ * traded. For browsing (GetOffersByItem/GetBuyOrders): a storefront filter.
1781
+ */
1782
+ GoodsType?: MarketGoodsType;
1783
+ /** ID of the virtual currency being traded (for GoodsType=VirtualCurrency). */
1784
+ GoodsCurrencyID?: string;
1770
1785
  ItemID?: string;
1771
1786
  CatalogID?: string;
1772
1787
  GoodsAmount?: number;
@@ -1797,6 +1812,10 @@ declare const MarketplaceAction: {
1797
1812
  readonly CreateListing: "CreateListing";
1798
1813
  readonly CancelListing: "CancelListing";
1799
1814
  readonly Buy: "Buy";
1815
+ /** Immediate-or-cancel market buy against the best matching active Listing. */
1816
+ readonly MarketBuy: "MarketBuy";
1817
+ /** Immediate-or-cancel market sell against the best matching active BuyOrder. */
1818
+ readonly MarketSell: "MarketSell";
1800
1819
  readonly CreateAuction: "CreateAuction";
1801
1820
  readonly PlaceBid: "PlaceBid";
1802
1821
  readonly ClaimAuction: "ClaimAuction";
@@ -1809,8 +1828,8 @@ declare const MarketplaceAction: {
1809
1828
  readonly ClaimBack: "ClaimBack";
1810
1829
  };
1811
1830
  type MarketplaceAction = (typeof MarketplaceAction)[keyof typeof MarketplaceAction];
1812
- type FodderConsumedEntry = { Level: number; ItemInstanceID: string; Units: number; };
1813
- type UpgradeItemLevelResponse = { ServerTimeUtc: string; Level: number; ItemID: string; ItemInstanceID: string; CatalogID?: null | string; Resources?: null | ResourceOperation; FodderConsumed?: null | Array<FodderConsumedEntry>; };
1831
+ type FodderConsumedEntry = { ItemInstanceID: string; Units: number; Level: number; };
1832
+ type UpgradeItemLevelResponse = { ServerTimeUtc: string; ItemInstanceID: string; ItemID: string; Level: number; CatalogID?: null | string; Resources?: null | ResourceOperation; FodderConsumed?: null | Array<FodderConsumedEntry>; };
1814
1833
  type UpgradeLevelsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | UpgradeItemLevelResponse; }>;
1815
1834
  /** One instance's upgrade in a batch (with optional multi-level Levels/TargetLevel). */
1816
1835
  interface ItemUpgradeRef {
@@ -1844,14 +1863,14 @@ declare const FodderSelectionMode: {
1844
1863
  readonly ClientSelected: "ClientSelected";
1845
1864
  };
1846
1865
  type FodderSelectionMode = (typeof FodderSelectionMode)[keyof typeof FodderSelectionMode];
1847
- type NFTNetworkBinding = { ContractAddress?: null | string; TokenID?: null | string; TokenStandard?: null | string; } & Record<string, unknown>;
1848
- type NFTModel = { Networks?: null | Record<string, { ContractAddress?: null | string; TokenID?: null | string; TokenStandard?: null | string; } & Record<string, unknown>>; MetadataUrl?: null | string; } & Record<string, unknown>;
1849
- type ItemStats = { Power?: null | number; FlatBonuses?: null | Record<string, number>; PercentBonuses?: null | Record<string, number>; } & Record<string, unknown>;
1850
- type ItemEquipment = { MinCharacterLevel?: null | number; UseRequirements?: null | Record<string, number>; AllowedCharacterIDs?: null | Array<string>; AllowedSlotIDs?: null | Array<string>; } & Record<string, unknown>;
1851
- type ItemUpgradeFodder = { ValuationMode?: null | 'FlatCount' | 'Merge' | 'InvestmentRefund'; MergeRatio?: null | number; Selection?: null | 'ProtectLeveled' | 'CheapestFirst' | 'ClientSelected'; } & Record<string, unknown>;
1852
- type ItemUpgrade = { MaxLevel?: null | number; BaseCostResource?: null | ResourceConsume; CostScalingFactor?: null | number; FlatScalingFactor?: null | number; PercentScalingFactor?: null | number; PowerScalingFactor?: null | number; Fodder?: null | { ValuationMode?: null | 'FlatCount' | 'Merge' | 'InvestmentRefund'; MergeRatio?: null | number; Selection?: null | 'ProtectLeveled' | 'CheapestFirst' | 'ClientSelected'; } & Record<string, unknown>; } & Record<string, unknown>;
1853
- type ItemMetadata = { CollectionID?: null | string; RarityID?: null | string; AuthorID?: null | string; } & Record<string, unknown>;
1854
- type ItemDefinition = { CatalogID: string; ItemID: string; IsTradable?: null | boolean; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Description?: null | string; Weight?: null | number; Equipment?: null | { MinCharacterLevel?: null | number; UseRequirements?: null | Record<string, number>; AllowedCharacterIDs?: null | Array<string>; AllowedSlotIDs?: null | Array<string>; } & Record<string, unknown>; CustomData?: null | string; Stats?: null | { Power?: null | number; FlatBonuses?: null | Record<string, number>; PercentBonuses?: null | Record<string, number>; } & Record<string, unknown>; Tags?: null | Array<string>; ItemClass?: null | string; IsStackable?: null | boolean; NFT?: null | { Networks?: null | Record<string, { ContractAddress?: null | string; TokenID?: null | string; TokenStandard?: null | string; } & Record<string, unknown>>; MetadataUrl?: null | string; } & Record<string, unknown>; Upgrade?: null | { MaxLevel?: null | number; BaseCostResource?: null | ResourceConsume; CostScalingFactor?: null | number; FlatScalingFactor?: null | number; PercentScalingFactor?: null | number; PowerScalingFactor?: null | number; Fodder?: null | { ValuationMode?: null | 'FlatCount' | 'Merge' | 'InvestmentRefund'; MergeRatio?: null | number; Selection?: null | 'ProtectLeveled' | 'CheapestFirst' | 'ClientSelected'; } & Record<string, unknown>; } & Record<string, unknown>; Metadata?: null | { CollectionID?: null | string; RarityID?: null | string; AuthorID?: null | string; } & Record<string, unknown>; ExpirationDurationSeconds?: null | number; } & Record<string, unknown>;
1866
+ type NFTNetworkBinding = { ContractAddress?: null | string; TokenID?: null | string; TokenStandard?: null | string; [key: string]: unknown; };
1867
+ type NFTModel = { Networks?: null | Record<string, NFTNetworkBinding>; MetadataUrl?: null | string; [key: string]: unknown; };
1868
+ type ItemStats = { FlatBonuses?: null | Record<string, number>; PercentBonuses?: null | Record<string, number>; Power?: null | number; [key: string]: unknown; };
1869
+ type ItemEquipment = { MinCharacterLevel?: null | number; UseRequirements?: null | Record<string, number>; AllowedCharacterIDs?: null | Array<string>; AllowedSlotIDs?: null | Array<string>; [key: string]: unknown; };
1870
+ type ItemUpgradeFodder = { ValuationMode?: null | 'FlatCount' | 'Merge' | 'InvestmentRefund'; MergeRatio?: null | number; Selection?: null | 'ProtectLeveled' | 'CheapestFirst' | 'ClientSelected'; [key: string]: unknown; };
1871
+ type ItemUpgrade = { MaxLevel?: null | number; BaseCostResource?: null | ResourceConsume; CostScalingFactor?: null | number; FlatScalingFactor?: null | number; PercentScalingFactor?: null | number; PowerScalingFactor?: null | number; Fodder?: null | ItemUpgradeFodder; [key: string]: unknown; };
1872
+ type ItemMetadata = { RarityID?: null | string; CollectionID?: null | string; AuthorID?: null | string; [key: string]: unknown; };
1873
+ type ItemDefinition = { ItemID: string; CatalogID: string; ItemClass?: null | string; DisplayName?: null | string; Description?: null | string; Tags?: null | Array<string>; CustomData?: null | string; IsStackable?: null | boolean; IsTradable?: null | boolean; Weight?: null | number; AssetPaths?: null | Record<string, string>; NFT?: null | NFTModel; Stats?: null | ItemStats; Equipment?: null | ItemEquipment; Upgrade?: null | ItemUpgrade; Metadata?: null | ItemMetadata; ExpirationDurationSeconds?: null | number; [key: string]: unknown; };
1855
1874
  /** Catalog: a set of items of one thematic group. Key of `Items` is ItemID. */
1856
1875
  interface ItemCatalog {
1857
1876
  Items?: Record<string, ItemDefinition> | null;
@@ -1860,8 +1879,8 @@ interface ItemCatalog {
1860
1879
  interface ItemDefinitions {
1861
1880
  Catalogs?: Record<string, ItemCatalog> | null;
1862
1881
  }
1863
- type BonusWindowConfig = { MaxCycles?: null | number; Schedule?: null | Array<{ Type?: null | string; Order?: null | number; DurationSec?: null | number; BonusMultiplier?: null | number; } & Record<string, unknown>>; RepeatCycle?: null | boolean; } & Record<string, unknown>;
1864
- type BonusWindowState = { IsActive?: null | boolean; CurrentPhaseEndUtc?: null | string; NextBonusStartUtc?: null | string; CurrentCycleIndex?: null | number; CurrentPhaseIndex?: null | number; ActiveBonusMultiplier?: null | number; } & Record<string, unknown>;
1882
+ type BonusWindowConfig = { Schedule?: null | Array<{ Order?: null | number; Type?: null | string; DurationSec?: null | number; BonusMultiplier?: null | number; [key: string]: unknown; }>; RepeatCycle?: null | boolean; MaxCycles?: null | number; [key: string]: unknown; };
1883
+ type BonusWindowState = { IsActive?: null | boolean; CurrentPhaseEndUtc?: null | string; NextBonusStartUtc?: null | string; CurrentCycleIndex?: null | number; CurrentPhaseIndex?: null | number; ActiveBonusMultiplier?: null | number; [key: string]: unknown; };
1865
1884
  /**
1866
1885
  * Container of preset wiring for event content — one PresetBinding per block. Inline data
1867
1886
  * (Milestones) lives on EventContent. null = presets unused.
@@ -1904,7 +1923,7 @@ interface TimedEventDefinition {
1904
1923
  Gate?: SegmentGate | null;
1905
1924
  CustomParams?: Record<string, string> | null;
1906
1925
  }
1907
- type LimitedTimeEventsGlobalSettings = { MaxConcurrentEvents?: null | number; } & Record<string, unknown>;
1926
+ type LimitedTimeEventsGlobalSettings = { MaxConcurrentEvents?: null | number; [key: string]: unknown; };
1908
1927
  /** Registry of reusable event presets (milestones). Phases/events reference them via EventContent.Presets. */
1909
1928
  interface TimedEventPresetRegistry {
1910
1929
  Milestones?: Record<string, MilestoneSet> | null;
@@ -1938,9 +1957,9 @@ interface GetActiveEventsResponse {
1938
1957
  ActiveEvents?: ActiveEventInfo[] | null;
1939
1958
  }
1940
1959
  type UserTimedEventStateResponse = { Tokens?: null | Record<string, UserEventTokenProgress>; };
1941
- type EventTokenSpendResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; Resources?: null | ResourceOperation; LteID?: null | string; };
1942
- type EventMilestoneClaimResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; Rewards?: null | ResourceOperation; MilestoneID?: null | string; LteID?: null | string; };
1943
- type EventTokenGrantResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; Resources?: null | ResourceOperation; LteID?: null | string; };
1960
+ type EventTokenSpendResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; Resources?: null | ResourceOperation; };
1961
+ type EventMilestoneClaimResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; MilestoneID?: null | string; Rewards?: null | ResourceOperation; };
1962
+ type EventTokenGrantResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; Resources?: null | ResourceOperation; };
1944
1963
  type ClaimMilestonesBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | EventMilestoneClaimResponse; }>;
1945
1964
  type SpendTokensBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | EventTokenSpendResponse; }>;
1946
1965
  type GrantTokensBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | EventTokenGrantResponse; }>;
@@ -2010,8 +2029,8 @@ declare const CraftType: {
2010
2029
  };
2011
2030
  type CraftType = (typeof CraftType)[keyof typeof CraftType];
2012
2031
  type CraftSingleResult = { Index?: null | number; BurnedItemIDs?: null | Array<string>; RolledCollectionID?: null | string; UsedCollections?: null | Record<string, number>; Output?: null | ResourceEntry; };
2013
- type CraftResponse = { ServerTimeUtc: string; CraftID: string; Type?: null | 'TradeUpRarity' | 'TradeUpCollection'; Resources?: null | ResourceOperation; SelectedOptionID?: null | string; Results?: null | Array<CraftSingleResult>; CraftedCount?: null | number; InputRarity?: null | string; OutputRarity?: null | string; };
2014
- type CraftDefinition = { Type?: null | 'TradeUpRarity' | 'TradeUpCollection'; CatalogID?: null | string; PriceOptions?: null | Record<string, { RequiredResources?: null | ResourceConsume; OptionID?: null | string; } & Record<string, unknown>>; CollectionID?: null | string; CraftID?: null | string; InputRarityID?: null | string; OutputRarityID?: null | string; RequiredItemCount?: null | number; } & Record<string, unknown>;
2032
+ 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; Results?: null | Array<CraftSingleResult>; };
2033
+ 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 | Record<string, { OptionID?: null | string; RequiredResources?: null | ResourceConsume; [key: string]: unknown; }>; [key: string]: unknown; };
2015
2034
  /** The title's craft catalog (config), returned by getDefinitions(). */
2016
2035
  interface CraftDefinitions {
2017
2036
  Definitions?: Record<string, CraftDefinition> | null;
@@ -2028,9 +2047,9 @@ declare const CraftAction: {
2028
2047
  readonly Craft: "Craft";
2029
2048
  };
2030
2049
  type CraftAction = (typeof CraftAction)[keyof typeof CraftAction];
2031
- type ExperimentVariant = { DisplayName?: null | string; Weight?: null | number; Params?: null | Record<string, string>; VariantID?: null | string; IsControl?: null | boolean; } & Record<string, unknown>;
2032
- type ExperimentDefinition = { DisplayName?: null | string; ExperimentID?: null | string; Variants?: null | Array<{ DisplayName?: null | string; Weight?: null | number; Params?: null | Record<string, string>; VariantID?: null | string; IsControl?: null | boolean; } & Record<string, unknown>>; Description?: null | string; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; Schedule?: null | { Mode?: null | string; IsActive?: null | boolean; Scheduled?: null | { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; Chain?: null | { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number; } & Record<string, unknown>; Cyclic?: null | { ClaimGraceHours?: null | number; AnchorUtc?: null | string; PauseBetweenCyclesSec?: null | number; Reset?: null | string; IntervalSeconds?: null | number; } & Record<string, unknown>; ActivationTriggers?: null | Array<{ SourceType?: null | string; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Params?: null | Record<string, string>; BaseWeight?: null | number; ScaleWithRollMultiplier?: null | boolean; TileTypeFilter?: null | Array<string>; TileIndexFilter?: null | Array<number>; ChanceOutcomeFilter?: null | Array<string>; OutcomeFilter?: null | Array<string>; } & Record<string, unknown>>; Relative?: null | { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; CustomParams?: null | Record<string, string>; IsEnabled?: null | boolean; Salt?: null | string; LayerID?: null | string; StickyAssignment?: null | boolean; } & Record<string, unknown>;
2033
- type ExperimentDefinitions = { Experiments?: null | Record<string, { DisplayName?: null | string; ExperimentID?: null | string; Variants?: null | Array<{ DisplayName?: null | string; Weight?: null | number; Params?: null | Record<string, string>; VariantID?: null | string; IsControl?: null | boolean; } & Record<string, unknown>>; Description?: null | string; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; Schedule?: null | { Mode?: null | string; IsActive?: null | boolean; Scheduled?: null | { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; Chain?: null | { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number; } & Record<string, unknown>; Cyclic?: null | { ClaimGraceHours?: null | number; AnchorUtc?: null | string; PauseBetweenCyclesSec?: null | number; Reset?: null | string; IntervalSeconds?: null | number; } & Record<string, unknown>; ActivationTriggers?: null | Array<{ SourceType?: null | string; Limits?: null | { TotalCap?: null | number; DailyCap?: null | number; DailyWeightCap?: null | number; PerActivationCap?: null | number; CooldownSeconds?: null | number; MaxPerWindow?: null | number; WindowSeconds?: null | number; } & Record<string, unknown>; Params?: null | Record<string, string>; BaseWeight?: null | number; ScaleWithRollMultiplier?: null | boolean; TileTypeFilter?: null | Array<string>; TileIndexFilter?: null | Array<number>; ChanceOutcomeFilter?: null | Array<string>; OutcomeFilter?: null | Array<string>; } & Record<string, unknown>>; Relative?: null | { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; } & Record<string, unknown>; } & Record<string, unknown>; CustomParams?: null | Record<string, string>; IsEnabled?: null | boolean; Salt?: null | string; LayerID?: null | string; StickyAssignment?: null | boolean; } & Record<string, unknown>>; } & Record<string, unknown>;
2050
+ type ExperimentVariant = { VariantID?: null | string; DisplayName?: null | string; Weight?: null | number; IsControl?: null | boolean; Params?: null | Record<string, string>; [key: string]: unknown; };
2051
+ type ExperimentDefinition = { ExperimentID?: null | string; DisplayName?: null | string; Description?: null | string; IsEnabled?: null | boolean; Schedule?: null | ScheduleSpec; Gate?: null | SegmentGate; Variants?: null | Array<ExperimentVariant>; Salt?: null | string; LayerID?: null | string; StickyAssignment?: null | boolean; CustomParams?: null | Record<string, string>; [key: string]: unknown; };
2052
+ type ExperimentDefinitions = { Experiments?: null | Record<string, ExperimentDefinition>; [key: string]: unknown; };
2034
2053
 
2035
2054
  /** enum MultiplayerTopology — p2p connection topology within a room. */
2036
2055
  declare const MultiplayerTopology: {
@@ -2061,17 +2080,17 @@ declare const EnvelopeType: {
2061
2080
  readonly MemberState: "MemberState";
2062
2081
  };
2063
2082
  type EnvelopeType = (typeof EnvelopeType)[keyof typeof EnvelopeType];
2064
- type IceServer = { Username?: null | string; Urls?: null | string; Credential?: null | string; } & Record<string, unknown>;
2065
- type MultiplayerSystemState = { Enabled?: null | boolean; } & Record<string, unknown>;
2066
- type MultiplayerDefinitions = { SystemState?: null | { Enabled?: null | boolean; } & Record<string, unknown>; DefaultTopology?: null | 'Mesh' | 'Host'; AllowCreatorTopologyOverride?: null | boolean; DefaultChatMode?: null | 'ServerRelay' | 'P2P'; AllowCreatorChatOverride?: null | boolean; MaxPlayersPerRoom?: null | number; RoomTtlSeconds?: null | number; HeartbeatIntervalMs?: null | number; MemberTimeoutMs?: null | number; MaxSignalPayloadBytes?: null | number; MaxChatTextLength?: null | number; RoomLogCap?: null | number; IceServers?: null | Array<{ Username?: null | string; Urls?: null | string; Credential?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
2067
- type RoomMemberView = { Level?: null | number; State?: null | Record<string, string>; Username?: null | string; AvatarUrl?: null | string; Power?: null | number; UserID?: null | string; JoinedAt?: null | number; Ready?: null | boolean; IsHost?: null | boolean; LastSeenMs?: null | number; } & Record<string, unknown>;
2068
- type RoomListItem = { CreatedAt?: null | number; Name?: null | string; RoomID?: null | string; HostUserID?: null | string; Topology?: null | 'Mesh' | 'Host'; ChatMode?: null | 'ServerRelay' | 'P2P'; MaxPlayers?: null | number; MemberCount?: null | number; } & Record<string, unknown>;
2069
- type RealtimeEnvelope = { Type?: null | 'Signal' | 'Chat' | 'PlayerJoined' | 'PlayerLeft' | 'HostChanged' | 'RoomClosed' | 'MemberState'; FromUserID?: null | string; ToUserID?: null | string; Kind?: null | string; Seq?: null | number; Payload?: null | string; Ts?: null | number; } & Record<string, unknown>;
2070
- type RoomSnapshotResponse = { Status?: null | string; Name?: null | string; OwnerUserID?: null | string; Members?: null | Array<{ Level?: null | number; State?: null | Record<string, string>; Username?: null | string; AvatarUrl?: null | string; Power?: null | number; UserID?: null | string; JoinedAt?: null | number; Ready?: null | boolean; IsHost?: null | boolean; LastSeenMs?: null | number; } & Record<string, unknown>>; IceServers?: null | Array<{ Username?: null | string; Urls?: null | string; Credential?: null | string; } & Record<string, unknown>>; RoomID?: null | string; HostUserID?: null | string; Topology?: null | 'Mesh' | 'Host'; ChatMode?: null | 'ServerRelay' | 'P2P'; MaxPlayers?: null | number; Seq?: null | number; Visibility?: null | 'Private' | 'Public'; } & Record<string, unknown>;
2071
- type LeaveRoomResponse = { Closed?: null | boolean; NewHostUserID?: null | string; } & Record<string, unknown>;
2072
- type RoomsPageResponse = { Page?: null | number; PageSize?: null | number; HasMore?: null | boolean; Rooms?: null | Array<{ CreatedAt?: null | number; Name?: null | string; RoomID?: null | string; HostUserID?: null | string; Topology?: null | 'Mesh' | 'Host'; ChatMode?: null | 'ServerRelay' | 'P2P'; MaxPlayers?: null | number; MemberCount?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>;
2073
- type PollResponse = { Envelopes?: null | Array<{ Type?: null | 'Signal' | 'Chat' | 'PlayerJoined' | 'PlayerLeft' | 'HostChanged' | 'RoomClosed' | 'MemberState'; FromUserID?: null | string; ToUserID?: null | string; Kind?: null | string; Seq?: null | number; Payload?: null | string; Ts?: null | number; } & Record<string, unknown>>; MaxSeq?: null | number; } & Record<string, unknown>;
2074
- type PublishResponse = { Seq?: null | number; } & Record<string, unknown>;
2083
+ type IceServer = { Urls?: null | string; Username?: null | string; Credential?: null | string; [key: string]: unknown; };
2084
+ type MultiplayerSystemState = { Enabled?: null | boolean; [key: string]: unknown; };
2085
+ type MultiplayerDefinitions = { SystemState?: null | MultiplayerSystemState; DefaultTopology?: null | 'Mesh' | 'Host'; AllowCreatorTopologyOverride?: null | boolean; DefaultChatMode?: null | 'ServerRelay' | 'P2P'; AllowCreatorChatOverride?: null | boolean; MaxPlayersPerRoom?: null | number; RoomTtlSeconds?: null | number; HeartbeatIntervalMs?: null | number; MemberTimeoutMs?: null | number; MaxSignalPayloadBytes?: null | number; MaxChatTextLength?: null | number; RoomLogCap?: null | number; IceServers?: null | Array<IceServer>; [key: string]: unknown; };
2086
+ type RoomMemberView = { UserID?: null | string; Username?: null | string; AvatarUrl?: null | string; Level?: null | number; Power?: null | number; Ready?: null | boolean; State?: null | Record<string, string>; JoinedAt?: null | number; IsHost?: null | boolean; LastSeenMs?: null | number; [key: string]: unknown; };
2087
+ type RoomListItem = { RoomID?: null | string; Name?: null | string; HostUserID?: null | string; Topology?: null | 'Mesh' | 'Host'; ChatMode?: null | 'ServerRelay' | 'P2P'; MaxPlayers?: null | number; MemberCount?: null | number; CreatedAt?: null | number; [key: string]: unknown; };
2088
+ type RealtimeEnvelope = { Seq?: null | number; Type?: null | 'Signal' | 'Chat' | 'PlayerJoined' | 'PlayerLeft' | 'HostChanged' | 'RoomClosed' | 'MemberState'; FromUserID?: null | string; ToUserID?: null | string; Kind?: null | string; Payload?: null | string; Ts?: null | number; [key: string]: unknown; };
2089
+ type RoomSnapshotResponse = { RoomID?: null | string; Name?: null | string; HostUserID?: null | string; OwnerUserID?: null | string; Topology?: null | 'Mesh' | 'Host'; ChatMode?: null | 'ServerRelay' | 'P2P'; Visibility?: null | 'Private' | 'Public'; Status?: null | string; MaxPlayers?: null | number; Members?: null | Array<RoomMemberView>; IceServers?: null | Array<IceServer>; Seq?: null | number; [key: string]: unknown; };
2090
+ type LeaveRoomResponse = { Closed?: null | boolean; NewHostUserID?: null | string; [key: string]: unknown; };
2091
+ type RoomsPageResponse = { Rooms?: null | Array<RoomListItem>; Page?: null | number; PageSize?: null | number; HasMore?: null | boolean; [key: string]: unknown; };
2092
+ type PollResponse = { Envelopes?: null | Array<RealtimeEnvelope>; MaxSeq?: null | number; [key: string]: unknown; };
2093
+ type PublishResponse = { Seq?: null | number; [key: string]: unknown; };
2075
2094
  interface MultiplayerRequest extends BaseRequest {
2076
2095
  RoomID?: string;
2077
2096
  RoomName?: string;
@@ -2106,7 +2125,7 @@ declare const MultiplayerAction: {
2106
2125
  readonly SetMemberState: "SetMemberState";
2107
2126
  };
2108
2127
  type MultiplayerAction = (typeof MultiplayerAction)[keyof typeof MultiplayerAction];
2109
- type TitlePublicData = { UpdatedAt?: null | string; Data?: null | string; SchemaVersion?: null | number; };
2128
+ type TitlePublicData = { Data?: null | string; SchemaVersion?: null | number; UpdatedAt?: null | string; };
2110
2129
  type TitleCustomData = { PublicData?: null | Record<string, TitlePublicData>; PrivateData?: null | Record<string, TitlePublicData>; };
2111
2130
  interface TitlePublicConfigurationModel {
2112
2131
  TitleCustomData?: TitleCustomData | null;
@@ -2288,7 +2307,7 @@ interface ClientState {
2288
2307
  User?: UserState | null;
2289
2308
  [k: string]: unknown;
2290
2309
  }
2291
- type UsageTimeStats = { Today: number; Yesterday: number; CurrentWeek: number; CurrentMonth: number; Total: number; TotalSessions: number; History?: null | Record<string, unknown>; FirstActiveAt?: null | string; LastActiveAt?: null | string; LongestSessionEverSeconds?: null | number; CurrentWeekActiveHoursMask?: null | number; CurrentMonthActiveHoursMask?: null | number; ReactivationCount?: null | number; } & Record<string, unknown>;
2310
+ type UsageTimeStats = { Today: number; Yesterday: number; CurrentWeek: number; CurrentMonth: number; Total: number; TotalSessions: number; FirstActiveAt?: null | string; LastActiveAt?: null | string; LongestSessionEverSeconds?: null | number; CurrentWeekActiveHoursMask?: null | number; CurrentMonthActiveHoursMask?: null | number; ReactivationCount?: null | number; History?: null | Record<string, unknown>; [key: string]: unknown; };
2292
2311
  type ChangeUsernameResponse = { Username: string; };
2293
2312
  interface UserRequest extends BaseRequest {
2294
2313
  IsNewSession?: boolean;
@@ -2378,35 +2397,35 @@ declare const TransactionDirection: {
2378
2397
  readonly Game: "Game";
2379
2398
  };
2380
2399
  type TransactionDirection = (typeof TransactionDirection)[keyof typeof TransactionDirection];
2381
- type BlockchainNftCollectionBinding = { DisplayName?: null | string; ContractAddress?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; ItemCatalogID?: null | string; } & Record<string, unknown>;
2382
- type PlatformBlockchainState = { Ios?: null | boolean; Android?: null | boolean; Web?: null | boolean; } & Record<string, unknown>;
2383
- type BlockchainNetworkDefinition = { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; NetworkID?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; Type?: null | 'EVM' | 'Solana'; ChainID?: null | number; ChainTicker?: null | string; PlatformPoolAddress?: null | string; VaultDepositAddress?: null | string; ChainConfigVersion?: null | number; RequiredConfirmations?: null | number; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | { Ios?: null | boolean; Android?: null | boolean; Web?: null | boolean; } & Record<string, unknown>; NftCollections?: null | Array<{ DisplayName?: null | string; ContractAddress?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; ItemCatalogID?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
2384
- type BlockchainSystemState = { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | { Ios?: null | boolean; Android?: null | boolean; Web?: null | boolean; } & Record<string, unknown>; } & Record<string, unknown>;
2385
- type BlockchainAccountSafetyPolicy = { MinAccountAgeDays?: null | number; MultiAccountCheckEnabled?: null | boolean; BanOnSharedWithdrawalAddress?: null | boolean; PendingWithdrawalTtlHours?: null | number; } & Record<string, unknown>;
2386
- type BlockchainDefinitions = { Networks?: null | Record<string, { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; NetworkID?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; Type?: null | 'EVM' | 'Solana'; ChainID?: null | number; ChainTicker?: null | string; PlatformPoolAddress?: null | string; VaultDepositAddress?: null | string; ChainConfigVersion?: null | number; RequiredConfirmations?: null | number; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | { Ios?: null | boolean; Android?: null | boolean; Web?: null | boolean; } & Record<string, unknown>; NftCollections?: null | Array<{ DisplayName?: null | string; ContractAddress?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; ItemCatalogID?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>>; SystemState?: null | { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | { Ios?: null | boolean; Android?: null | boolean; Web?: null | boolean; } & Record<string, unknown>; } & Record<string, unknown>; AccountSafety?: null | { MinAccountAgeDays?: null | number; MultiAccountCheckEnabled?: null | boolean; BanOnSharedWithdrawalAddress?: null | boolean; PendingWithdrawalTtlHours?: null | number; } & Record<string, unknown>; WalletLogin?: null | { Enabled?: null | boolean; TokenGates?: null | Array<{ MinBalance?: null | string; Enabled?: null | boolean; CurrencyID?: null | string; NetworkID?: null | string; BalanceSource?: null | 'OnChain' | 'Combined'; DenyMessage?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; } & Record<string, unknown>;
2387
- type LinkedWalletInfo = { NetworkID?: null | string; Address?: null | string; LinkedAt?: null | string; LastUsedAt?: null | string; LinkType?: null | 'AutoLinkedFromTransaction' | 'SignatureVerified' | 'ManuallyLinked'; IsSignatureVerified?: null | boolean; } & Record<string, unknown>;
2388
- type PendingWithdrawalRef = { CreatedAt?: null | string; NetworkID?: null | string; Type?: null | 'Token' | 'Nft'; Amount?: null | string; ExpiresAt?: null | string; TitleTransactionID?: null | string; AssetID?: null | string; } & Record<string, unknown>;
2389
- type UserKycState = { Status?: null | 'Expired' | 'Pending' | 'Rejected' | 'NotRequested' | 'Verified'; Tier?: null | 'None' | 'Tier1' | 'Tier2' | 'Tier3'; ExpiresAt?: null | string; VerifiedAt?: null | string; RejectedAt?: null | string; ProviderReference?: null | string; RejectionReason?: null | string; } & Record<string, unknown>;
2390
- type TokenCurrencyStats = { CurrencyID?: null | string; Deposits?: null | number; DepositsVolumeNative?: null | string; DepositsVolumeUsd?: null | string; Withdrawals?: null | number; WithdrawalsVolumeNative?: null | string; WithdrawalsVolumeUsd?: null | string; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; } & Record<string, unknown>;
2391
- type TokenStatsContainer = { FailedWithdrawals?: null | number; RejectedDeposits?: null | number; TotalDeposits?: null | number; TotalWithdrawals?: null | number; TotalDepositsVolumeUsd?: null | string; TotalWithdrawalsVolumeUsd?: null | string; PerCurrency?: null | Record<string, { CurrencyID?: null | string; Deposits?: null | number; DepositsVolumeNative?: null | string; DepositsVolumeUsd?: null | string; Withdrawals?: null | number; WithdrawalsVolumeNative?: null | string; WithdrawalsVolumeUsd?: null | string; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
2392
- type NftCollectionStats = { NetworkID?: null | string; ItemCatalogID?: null | string; Deposits?: null | number; Withdrawals?: null | number; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; } & Record<string, unknown>;
2393
- type NftStatsContainer = { FailedWithdrawals?: null | number; RejectedDeposits?: null | number; TotalDeposits?: null | number; TotalWithdrawals?: null | number; PerCollection?: null | Record<string, { NetworkID?: null | string; ItemCatalogID?: null | string; Deposits?: null | number; Withdrawals?: null | number; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
2394
- type BlockchainStats = { Tokens?: null | { FailedWithdrawals?: null | number; RejectedDeposits?: null | number; TotalDeposits?: null | number; TotalWithdrawals?: null | number; TotalDepositsVolumeUsd?: null | string; TotalWithdrawalsVolumeUsd?: null | string; PerCurrency?: null | Record<string, { CurrencyID?: null | string; Deposits?: null | number; DepositsVolumeNative?: null | string; DepositsVolumeUsd?: null | string; Withdrawals?: null | number; WithdrawalsVolumeNative?: null | string; WithdrawalsVolumeUsd?: null | string; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; Nfts?: null | { FailedWithdrawals?: null | number; RejectedDeposits?: null | number; TotalDeposits?: null | number; TotalWithdrawals?: null | number; PerCollection?: null | Record<string, { NetworkID?: null | string; ItemCatalogID?: null | string; Deposits?: null | number; Withdrawals?: null | number; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; } & Record<string, unknown>;
2395
- type UserBlockchainState = { Stats?: null | { Tokens?: null | { FailedWithdrawals?: null | number; RejectedDeposits?: null | number; TotalDeposits?: null | number; TotalWithdrawals?: null | number; TotalDepositsVolumeUsd?: null | string; TotalWithdrawalsVolumeUsd?: null | string; PerCurrency?: null | Record<string, { CurrencyID?: null | string; Deposits?: null | number; DepositsVolumeNative?: null | string; DepositsVolumeUsd?: null | string; Withdrawals?: null | number; WithdrawalsVolumeNative?: null | string; WithdrawalsVolumeUsd?: null | string; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; Nfts?: null | { FailedWithdrawals?: null | number; RejectedDeposits?: null | number; TotalDeposits?: null | number; TotalWithdrawals?: null | number; PerCollection?: null | Record<string, { NetworkID?: null | string; ItemCatalogID?: null | string; Deposits?: null | number; Withdrawals?: null | number; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; } & Record<string, unknown>; Version?: null | number; LinkedWallets?: null | Record<string, { NetworkID?: null | string; Address?: null | string; LinkedAt?: null | string; LastUsedAt?: null | string; LinkType?: null | 'AutoLinkedFromTransaction' | 'SignatureVerified' | 'ManuallyLinked'; IsSignatureVerified?: null | boolean; } & Record<string, unknown>>; LastWalletLogin?: null | { NetworkID?: null | string; Address?: null | string; CheckedAt?: null | string; LoggedInAt?: null | string; GatePassed?: null | boolean; GatedBalances?: null | Array<{ MinBalance?: null | string; CurrencyID?: null | string; Balance?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; PendingWithdrawals?: null | Array<{ CreatedAt?: null | string; NetworkID?: null | string; Type?: null | 'Token' | 'Nft'; Amount?: null | string; ExpiresAt?: null | string; TitleTransactionID?: null | string; AssetID?: null | string; } & Record<string, unknown>>; Kyc?: null | { Status?: null | 'Expired' | 'Pending' | 'Rejected' | 'NotRequested' | 'Verified'; Tier?: null | 'None' | 'Tier1' | 'Tier2' | 'Tier3'; ExpiresAt?: null | string; VerifiedAt?: null | string; RejectedAt?: null | string; ProviderReference?: null | string; RejectionReason?: null | string; } & Record<string, unknown>; FirstActivityAt?: null | string; LastActivityAt?: null | string; IsFlagged?: null | boolean; FlagReason?: null | string; } & Record<string, unknown>;
2396
- type TokenTransactionDocument = { CreatedAt?: null | string; UpdatedAt?: null | string; CurrencyID?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; NetworkID?: null | string; Amount?: null | string; UserID?: null | string; ExpiresAt?: null | string; TitleID?: null | string; CompletedAt?: null | string; ChainID?: null | number; TokenID?: null | string; ID?: null | string; TransactionHash?: null | string; Nonce?: null | string; ChainType?: null | string; Direction?: null | 'UsersCryptoWallet' | 'Game'; From?: null | string; To?: null | string; SignatureData?: null | string; FailReason?: null | string; Reason?: null | string; Category?: null | string; AmountUsd?: null | string; NetPayoutAmount?: null | string; } & Record<string, unknown>;
2397
- type NFTTransactionDocument = { CreatedAt?: null | string; UpdatedAt?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; NetworkID?: null | string; Amount?: null | string; CatalogID?: null | string; ItemID?: null | string; UserID?: null | string; ExpiresAt?: null | string; TitleID?: null | string; CompletedAt?: null | string; ChainID?: null | number; ID?: null | string; TransactionHash?: null | string; Nonce?: null | string; ChainType?: null | string; Direction?: null | 'UsersCryptoWallet' | 'Game'; From?: null | string; To?: null | string; SignatureData?: null | string; FailReason?: null | string; Reason?: null | string; Category?: null | string; NFTID?: null | string; SkinID?: null | string; } & Record<string, unknown>;
2398
- type WithdrawalSignatureResponse = { ContractAddress?: null | string; Amount?: null | string; UserID?: null | string; TitleID?: null | string; Nonce?: null | string; Category?: null | string; TokenAddress?: null | string; WalletAddress?: null | string; BurnAmount?: null | string; TokenId?: null | string; Deadline?: null | string; Signature?: null | string; } & Record<string, unknown>;
2399
- type SolanaWithdrawalSignature = { Amount?: null | string; UserID?: null | string; ExpiresAt?: null | string; Nonce?: null | string; WalletAddress?: null | string; Mint?: null | string; ProgramID?: null | string; SignatureHex?: null | string; SigIxIndex?: null | number; Ed25519PublicKey?: null | string; Ed25519Message?: null | string; } & Record<string, unknown>;
2400
- type BlockchainConfigResponse = { Blockchain?: null | { Networks?: null | Record<string, { DisplayName?: null | string; AssetPaths?: null | Record<string, string>; NetworkID?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; Type?: null | 'EVM' | 'Solana'; ChainID?: null | number; ChainTicker?: null | string; PlatformPoolAddress?: null | string; VaultDepositAddress?: null | string; ChainConfigVersion?: null | number; RequiredConfirmations?: null | number; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | { Ios?: null | boolean; Android?: null | boolean; Web?: null | boolean; } & Record<string, unknown>; NftCollections?: null | Array<{ DisplayName?: null | string; ContractAddress?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; ItemCatalogID?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>>; SystemState?: null | { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | { Ios?: null | boolean; Android?: null | boolean; Web?: null | boolean; } & Record<string, unknown>; } & Record<string, unknown>; AccountSafety?: null | { MinAccountAgeDays?: null | number; MultiAccountCheckEnabled?: null | boolean; BanOnSharedWithdrawalAddress?: null | boolean; PendingWithdrawalTtlHours?: null | number; } & Record<string, unknown>; WalletLogin?: null | { Enabled?: null | boolean; TokenGates?: null | Array<{ MinBalance?: null | string; Enabled?: null | boolean; CurrencyID?: null | string; NetworkID?: null | string; BalanceSource?: null | 'OnChain' | 'Combined'; DenyMessage?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; } & Record<string, unknown>; CryptoCurrencies?: null | Record<string, { CurrencyID: string; ValueInUSD?: null | string; ValueInUSDUpdatedAt?: null | string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Conversion?: null | { Enabled?: null | boolean; RateMode?: null | 'Automatic' | 'Manual'; FeePercent?: null | string; Targets?: null | Array<{ TargetCurrencyID: string; Rate?: null | string; TargetCurrencyType?: null | 'Virtual' | 'Crypto'; MinAmount?: null | number; MaxAmount?: null | number; DailyLimit?: null | number; } & Record<string, unknown>>; } & Record<string, unknown>; Permissions?: null | { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; SpendableInGame?: null | boolean; ConvertibleToVirtual?: null | boolean; } & Record<string, unknown>; Audit?: null | { CreatedAt?: null | string; UpdatedAt?: null | string; } & Record<string, unknown>; Status?: null | 'Active' | 'Hidden' | 'Deprecated' | 'Maintenance'; DisplayDecimals?: null | number; DeveloperDepositSharePercent?: null | string; CommunityMarketingDepositSharePercent?: null | string; WithdrawalBurnPercent?: null | string; Networks?: null | Array<{ NetworkID: string; ContractAddress?: null | string; Decimals?: null | number; MinDeposit?: null | string; MinWithdraw?: null | string; WithdrawFee?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; } & Record<string, unknown>>; Limits?: null | { DailyWithdrawUsd?: null | string; MonthlyWithdrawUsd?: null | string; KycRequiredAboveUsd?: null | string; } & Record<string, unknown>; } & Record<string, unknown>>; } & Record<string, unknown>;
2401
- type UserBlockchainStateResponse = { State?: null | { Stats?: null | { Tokens?: null | { FailedWithdrawals?: null | number; RejectedDeposits?: null | number; TotalDeposits?: null | number; TotalWithdrawals?: null | number; TotalDepositsVolumeUsd?: null | string; TotalWithdrawalsVolumeUsd?: null | string; PerCurrency?: null | Record<string, { CurrencyID?: null | string; Deposits?: null | number; DepositsVolumeNative?: null | string; DepositsVolumeUsd?: null | string; Withdrawals?: null | number; WithdrawalsVolumeNative?: null | string; WithdrawalsVolumeUsd?: null | string; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; Nfts?: null | { FailedWithdrawals?: null | number; RejectedDeposits?: null | number; TotalDeposits?: null | number; TotalWithdrawals?: null | number; PerCollection?: null | Record<string, { NetworkID?: null | string; ItemCatalogID?: null | string; Deposits?: null | number; Withdrawals?: null | number; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; } & Record<string, unknown>; Version?: null | number; LinkedWallets?: null | Record<string, { NetworkID?: null | string; Address?: null | string; LinkedAt?: null | string; LastUsedAt?: null | string; LinkType?: null | 'AutoLinkedFromTransaction' | 'SignatureVerified' | 'ManuallyLinked'; IsSignatureVerified?: null | boolean; } & Record<string, unknown>>; LastWalletLogin?: null | { NetworkID?: null | string; Address?: null | string; CheckedAt?: null | string; LoggedInAt?: null | string; GatePassed?: null | boolean; GatedBalances?: null | Array<{ MinBalance?: null | string; CurrencyID?: null | string; Balance?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>; PendingWithdrawals?: null | Array<{ CreatedAt?: null | string; NetworkID?: null | string; Type?: null | 'Token' | 'Nft'; Amount?: null | string; ExpiresAt?: null | string; TitleTransactionID?: null | string; AssetID?: null | string; } & Record<string, unknown>>; Kyc?: null | { Status?: null | 'Expired' | 'Pending' | 'Rejected' | 'NotRequested' | 'Verified'; Tier?: null | 'None' | 'Tier1' | 'Tier2' | 'Tier3'; ExpiresAt?: null | string; VerifiedAt?: null | string; RejectedAt?: null | string; ProviderReference?: null | string; RejectionReason?: null | string; } & Record<string, unknown>; FirstActivityAt?: null | string; LastActivityAt?: null | string; IsFlagged?: null | boolean; FlagReason?: null | string; } & Record<string, unknown>; CryptoBalances?: null | Record<string, UserCryptoCurrencyState>; } & Record<string, unknown>;
2402
- type DepositTokenResponse = { ServerTimeUtc?: null | string; CurrencyID?: null | string; NetworkID?: null | string; TransactionHash?: null | string; AmountUsd?: null | string; AmountNative?: null | string; StateDelta?: null | { CryptoBalances?: null | Record<string, { UpdatedAt: string; CurrencyID: string; AmountDelta: string; FrozenDelta: string; } & Record<string, unknown>>; PendingAdded?: null | { CreatedAt?: null | string; NetworkID?: null | string; Type?: null | 'Token' | 'Nft'; Amount?: null | string; ExpiresAt?: null | string; TitleTransactionID?: null | string; AssetID?: null | string; } & Record<string, unknown>; PendingRemovedIDs?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>;
2403
- type DepositNFTResponse = { ServerTimeUtc?: null | string; NetworkID?: null | string; Amount?: null | number; CatalogID?: null | string; ItemID?: null | string; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; TransactionHash?: null | string; NftTokenID?: null | string; } & Record<string, unknown>;
2404
- type TokenWithdrawalResponse = { ServerTimeUtc?: null | string; CurrencyID?: null | string; NetworkID?: null | string; ExpiresAt?: null | string; TitleTransactionID?: null | string; AmountUsd?: null | string; AmountNative?: null | string; StateDelta?: null | { CryptoBalances?: null | Record<string, { UpdatedAt: string; CurrencyID: string; AmountDelta: string; FrozenDelta: string; } & Record<string, unknown>>; PendingAdded?: null | { CreatedAt?: null | string; NetworkID?: null | string; Type?: null | 'Token' | 'Nft'; Amount?: null | string; ExpiresAt?: null | string; TitleTransactionID?: null | string; AssetID?: null | string; } & Record<string, unknown>; PendingRemovedIDs?: null | Array<string>; } & Record<string, unknown>; NetAmountNative?: null | string; BurnAmountNative?: null | string; EvmSignature?: null | { ContractAddress?: null | string; Amount?: null | string; UserID?: null | string; TitleID?: null | string; Nonce?: null | string; Category?: null | string; TokenAddress?: null | string; WalletAddress?: null | string; BurnAmount?: null | string; TokenId?: null | string; Deadline?: null | string; Signature?: null | string; } & Record<string, unknown>; SolanaSignature?: null | { Amount?: null | string; UserID?: null | string; ExpiresAt?: null | string; Nonce?: null | string; WalletAddress?: null | string; Mint?: null | string; ProgramID?: null | string; SignatureHex?: null | string; SigIxIndex?: null | number; Ed25519PublicKey?: null | string; Ed25519Message?: null | string; } & Record<string, unknown>; } & Record<string, unknown>;
2405
- type NFTWithdrawalResponse = { ServerTimeUtc?: null | string; NetworkID?: null | string; Amount?: null | number; CatalogID?: null | string; ItemID?: null | string; Resources?: null | ResourceOperation; ExpiresAt?: null | string; Inventory?: null | InventoryDelta; TitleTransactionID?: null | string; StateDelta?: null | { CryptoBalances?: null | Record<string, { UpdatedAt: string; CurrencyID: string; AmountDelta: string; FrozenDelta: string; } & Record<string, unknown>>; PendingAdded?: null | { CreatedAt?: null | string; NetworkID?: null | string; Type?: null | 'Token' | 'Nft'; Amount?: null | string; ExpiresAt?: null | string; TitleTransactionID?: null | string; AssetID?: null | string; } & Record<string, unknown>; PendingRemovedIDs?: null | Array<string>; } & Record<string, unknown>; NftTokenID?: null | string; EvmSignature?: null | { ContractAddress?: null | string; Amount?: null | string; UserID?: null | string; TitleID?: null | string; Nonce?: null | string; Category?: null | string; TokenAddress?: null | string; WalletAddress?: null | string; BurnAmount?: null | string; TokenId?: null | string; Deadline?: null | string; Signature?: null | string; } & Record<string, unknown>; SolanaSignature?: null | { Amount?: null | string; UserID?: null | string; ExpiresAt?: null | string; Nonce?: null | string; WalletAddress?: null | string; Mint?: null | string; ProgramID?: null | string; SignatureHex?: null | string; SigIxIndex?: null | number; Ed25519PublicKey?: null | string; Ed25519Message?: null | string; } & Record<string, unknown>; } & Record<string, unknown>;
2406
- type TransactionHistoryResponse = { TokenTransactions?: null | Array<{ CreatedAt?: null | string; UpdatedAt?: null | string; CurrencyID?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; NetworkID?: null | string; Amount?: null | string; UserID?: null | string; ExpiresAt?: null | string; TitleID?: null | string; CompletedAt?: null | string; ChainID?: null | number; TokenID?: null | string; ID?: null | string; TransactionHash?: null | string; Nonce?: null | string; ChainType?: null | string; Direction?: null | 'UsersCryptoWallet' | 'Game'; From?: null | string; To?: null | string; SignatureData?: null | string; FailReason?: null | string; Reason?: null | string; Category?: null | string; AmountUsd?: null | string; NetPayoutAmount?: null | string; } & Record<string, unknown>>; NFTTransactions?: null | Array<{ CreatedAt?: null | string; UpdatedAt?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; NetworkID?: null | string; Amount?: null | string; CatalogID?: null | string; ItemID?: null | string; UserID?: null | string; ExpiresAt?: null | string; TitleID?: null | string; CompletedAt?: null | string; ChainID?: null | number; ID?: null | string; TransactionHash?: null | string; Nonce?: null | string; ChainType?: null | string; Direction?: null | 'UsersCryptoWallet' | 'Game'; From?: null | string; To?: null | string; SignatureData?: null | string; FailReason?: null | string; Reason?: null | string; Category?: null | string; NFTID?: null | string; SkinID?: null | string; } & Record<string, unknown>>; } & Record<string, unknown>;
2407
- type DonationResponse = { ServerTimeUtc?: null | string; CurrencyID?: null | string; NetworkID?: null | string; Target?: null | string; TransactionHash?: null | string; AmountUsd?: null | string; AmountNative?: null | string; } & Record<string, unknown>;
2408
- type RetryWithdrawalResponse = { Kind?: null | 'Token' | 'Nft'; TitleTransactionID?: null | string; EvmSignature?: null | { ContractAddress?: null | string; Amount?: null | string; UserID?: null | string; TitleID?: null | string; Nonce?: null | string; Category?: null | string; TokenAddress?: null | string; WalletAddress?: null | string; BurnAmount?: null | string; TokenId?: null | string; Deadline?: null | string; Signature?: null | string; } & Record<string, unknown>; SolanaSignature?: null | { Amount?: null | string; UserID?: null | string; ExpiresAt?: null | string; Nonce?: null | string; WalletAddress?: null | string; Mint?: null | string; ProgramID?: null | string; SignatureHex?: null | string; SigIxIndex?: null | number; Ed25519PublicKey?: null | string; Ed25519Message?: null | string; } & Record<string, unknown>; } & Record<string, unknown>;
2409
- type ConfirmWithdrawalResponse = { Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; TitleTransactionID?: null | string; StateDelta?: null | { CryptoBalances?: null | Record<string, { UpdatedAt: string; CurrencyID: string; AmountDelta: string; FrozenDelta: string; } & Record<string, unknown>>; PendingAdded?: null | { CreatedAt?: null | string; NetworkID?: null | string; Type?: null | 'Token' | 'Nft'; Amount?: null | string; ExpiresAt?: null | string; TitleTransactionID?: null | string; AssetID?: null | string; } & Record<string, unknown>; PendingRemovedIDs?: null | Array<string>; } & Record<string, unknown>; OnChainTxHash?: null | string; } & Record<string, unknown>;
2400
+ type BlockchainNftCollectionBinding = { ContractAddress?: null | string; ItemCatalogID?: null | string; DisplayName?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; [key: string]: unknown; };
2401
+ type PlatformBlockchainState = { Ios?: null | boolean; Android?: null | boolean; Web?: null | boolean; [key: string]: unknown; };
2402
+ type BlockchainNetworkDefinition = { NetworkID?: null | string; DisplayName?: null | string; Type?: null | 'EVM' | 'Solana'; ChainID?: null | number; ChainTicker?: null | string; RewardPoolAddress?: null | string; VaultDepositAddress?: null | string; ChainConfigVersion?: null | number; RequiredConfirmations?: null | number; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | PlatformBlockchainState; NftCollections?: null | Array<BlockchainNftCollectionBinding>; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
2403
+ type BlockchainSystemState = { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | PlatformBlockchainState; [key: string]: unknown; };
2404
+ type BlockchainAccountSafetyPolicy = { MinAccountAgeDays?: null | number; MultiAccountCheckEnabled?: null | boolean; BanOnSharedWithdrawalAddress?: null | boolean; PendingWithdrawalTtlHours?: null | number; [key: string]: unknown; };
2405
+ type BlockchainDefinitions = { SystemState?: null | BlockchainSystemState; Networks?: null | Record<string, BlockchainNetworkDefinition>; AccountSafety?: null | BlockchainAccountSafetyPolicy; WalletLogin?: null | { Enabled?: null | boolean; TokenGates?: null | Array<{ Enabled?: null | boolean; NetworkID?: null | string; CurrencyID?: null | string; MinBalance?: null | string; BalanceSource?: null | 'OnChain' | 'Combined'; DenyMessage?: null | string; [key: string]: unknown; }>; [key: string]: unknown; }; [key: string]: unknown; };
2406
+ type LinkedWalletInfo = { NetworkID?: null | string; Address?: null | string; LinkedAt?: null | string; LastUsedAt?: null | string; LinkType?: null | 'AutoLinkedFromTransaction' | 'SignatureVerified' | 'ManuallyLinked'; IsSignatureVerified?: null | boolean; [key: string]: unknown; };
2407
+ type PendingWithdrawalRef = { TitleTransactionID?: null | string; Type?: null | 'Token' | 'Nft'; NetworkID?: null | string; AssetID?: null | string; Amount?: null | string; CreatedAt?: null | string; ExpiresAt?: null | string; [key: string]: unknown; };
2408
+ type UserKycState = { Status?: null | 'Expired' | 'Pending' | 'Rejected' | 'NotRequested' | 'Verified'; Tier?: null | 'None' | 'Tier1' | 'Tier2' | 'Tier3'; VerifiedAt?: null | string; ExpiresAt?: null | string; RejectedAt?: null | string; ProviderReference?: null | string; RejectionReason?: null | string; [key: string]: unknown; };
2409
+ type TokenCurrencyStats = { CurrencyID?: null | string; Deposits?: null | number; DepositsVolumeNative?: null | string; DepositsVolumeUsd?: null | string; Withdrawals?: null | number; WithdrawalsVolumeNative?: null | string; WithdrawalsVolumeUsd?: null | string; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; [key: string]: unknown; };
2410
+ type TokenStatsContainer = { TotalDeposits?: null | number; TotalWithdrawals?: null | number; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; TotalDepositsVolumeUsd?: null | string; TotalWithdrawalsVolumeUsd?: null | string; PerCurrency?: null | Record<string, TokenCurrencyStats>; [key: string]: unknown; };
2411
+ type NftCollectionStats = { NetworkID?: null | string; ItemCatalogID?: null | string; Deposits?: null | number; Withdrawals?: null | number; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; FirstDepositAt?: null | string; LastDepositAt?: null | string; FirstWithdrawalAt?: null | string; LastWithdrawalAt?: null | string; [key: string]: unknown; };
2412
+ type NftStatsContainer = { TotalDeposits?: null | number; TotalWithdrawals?: null | number; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; PerCollection?: null | Record<string, NftCollectionStats>; [key: string]: unknown; };
2413
+ type BlockchainStats = { Tokens?: null | TokenStatsContainer; Nfts?: null | NftStatsContainer; [key: string]: unknown; };
2414
+ type UserBlockchainState = { Version?: null | number; Stats?: null | BlockchainStats; LinkedWallets?: null | Record<string, LinkedWalletInfo>; LastWalletLogin?: null | { NetworkID?: null | string; Address?: null | string; CheckedAt?: null | string; LoggedInAt?: null | string; GatePassed?: null | boolean; GatedBalances?: null | Array<{ CurrencyID?: null | string; Balance?: null | string; MinBalance?: null | string; [key: string]: unknown; }>; [key: string]: unknown; }; PendingWithdrawals?: null | Array<PendingWithdrawalRef>; Kyc?: null | UserKycState; FirstActivityAt?: null | string; LastActivityAt?: null | string; IsFlagged?: null | boolean; FlagReason?: null | string; [key: string]: unknown; };
2415
+ type TokenTransactionDocument = { ID?: null | string; TitleID?: null | string; CreatedAt?: null | string; UpdatedAt?: null | string; UserID?: null | string; TransactionHash?: null | string; Nonce?: null | string; NetworkID?: null | string; ChainType?: null | string; ChainID?: null | number; Direction?: null | 'UsersCryptoWallet' | 'Game'; From?: null | string; To?: null | string; Amount?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; SignatureData?: null | string; CompletedAt?: null | string; ExpiresAt?: null | string; FailReason?: null | string; Reason?: null | string; Category?: null | string; TokenID?: null | string; CurrencyID?: null | string; AmountUsd?: null | string; NetPayoutAmount?: null | string; [key: string]: unknown; };
2416
+ type NFTTransactionDocument = { ID?: null | string; TitleID?: null | string; CreatedAt?: null | string; UpdatedAt?: null | string; UserID?: null | string; TransactionHash?: null | string; Nonce?: null | string; NetworkID?: null | string; ChainType?: null | string; ChainID?: null | number; Direction?: null | 'UsersCryptoWallet' | 'Game'; From?: null | string; To?: null | string; Amount?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; SignatureData?: null | string; CompletedAt?: null | string; ExpiresAt?: null | string; FailReason?: null | string; Reason?: null | string; Category?: null | string; NFTID?: null | string; ItemID?: null | string; CatalogID?: null | string; SkinID?: null | string; [key: string]: unknown; };
2417
+ type WithdrawalSignatureResponse = { TokenAddress?: null | string; WalletAddress?: null | string; Amount?: null | string; BurnAmount?: null | string; TokenId?: null | string; Nonce?: null | string; ContractAddress?: null | string; UserID?: null | string; TitleID?: null | string; Category?: null | string; Deadline?: null | string; Signature?: null | string; [key: string]: unknown; };
2418
+ type SolanaWithdrawalSignature = { Mint?: null | string; WalletAddress?: null | string; Amount?: null | string; Nonce?: null | string; ExpiresAt?: null | string; ProgramID?: null | string; SignatureHex?: null | string; SigIxIndex?: null | number; Ed25519PublicKey?: null | string; Ed25519Message?: null | string; UserID?: null | string; [key: string]: unknown; };
2419
+ type BlockchainConfigResponse = { Blockchain?: null | BlockchainDefinitions; CryptoCurrencies?: null | Record<string, CryptoCurrencyDefinition>; [key: string]: unknown; };
2420
+ type UserBlockchainStateResponse = { State?: null | UserBlockchainState; CryptoBalances?: null | Record<string, UserCryptoCurrencyState>; [key: string]: unknown; };
2421
+ type DepositTokenResponse = { ServerTimeUtc?: null | string; TransactionHash?: null | string; NetworkID?: null | string; CurrencyID?: null | string; AmountNative?: null | string; AmountUsd?: null | string; StateDelta?: null | { CryptoBalances?: null | Record<string, { CurrencyID: string; AmountDelta: string; FrozenDelta: string; UpdatedAt: string; [key: string]: unknown; }>; PendingAdded?: null | PendingWithdrawalRef; PendingRemovedIDs?: null | Array<string>; [key: string]: unknown; }; [key: string]: unknown; };
2422
+ type DepositNFTResponse = { ServerTimeUtc?: null | string; TransactionHash?: null | string; NetworkID?: null | string; ItemID?: null | string; CatalogID?: null | string; NftTokenID?: null | string; Amount?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; [key: string]: unknown; };
2423
+ type TokenWithdrawalResponse = { ServerTimeUtc?: null | string; TitleTransactionID?: null | string; NetworkID?: null | string; CurrencyID?: null | string; AmountNative?: null | string; NetAmountNative?: null | string; BurnAmountNative?: null | string; AmountUsd?: null | string; ExpiresAt?: null | string; EvmSignature?: null | WithdrawalSignatureResponse; SolanaSignature?: null | SolanaWithdrawalSignature; StateDelta?: null | { CryptoBalances?: null | Record<string, { CurrencyID: string; AmountDelta: string; FrozenDelta: string; UpdatedAt: string; [key: string]: unknown; }>; PendingAdded?: null | PendingWithdrawalRef; PendingRemovedIDs?: null | Array<string>; [key: string]: unknown; }; [key: string]: unknown; };
2424
+ type NFTWithdrawalResponse = { ServerTimeUtc?: null | string; TitleTransactionID?: null | string; NetworkID?: null | string; ItemID?: null | string; CatalogID?: null | string; NftTokenID?: null | string; Amount?: null | number; ExpiresAt?: null | string; Resources?: null | ResourceOperation; EvmSignature?: null | WithdrawalSignatureResponse; SolanaSignature?: null | SolanaWithdrawalSignature; StateDelta?: null | { CryptoBalances?: null | Record<string, { CurrencyID: string; AmountDelta: string; FrozenDelta: string; UpdatedAt: string; [key: string]: unknown; }>; PendingAdded?: null | PendingWithdrawalRef; PendingRemovedIDs?: null | Array<string>; [key: string]: unknown; }; Inventory?: null | InventoryDelta; [key: string]: unknown; };
2425
+ type TransactionHistoryResponse = { TokenTransactions?: null | Array<TokenTransactionDocument>; NFTTransactions?: null | Array<NFTTransactionDocument>; [key: string]: unknown; };
2426
+ type DonationResponse = { ServerTimeUtc?: null | string; TransactionHash?: null | string; NetworkID?: null | string; CurrencyID?: null | string; AmountNative?: null | string; AmountUsd?: null | string; Target?: null | string; [key: string]: unknown; };
2427
+ type RetryWithdrawalResponse = { TitleTransactionID?: null | string; Kind?: null | 'Token' | 'Nft'; EvmSignature?: null | WithdrawalSignatureResponse; SolanaSignature?: null | SolanaWithdrawalSignature; [key: string]: unknown; };
2428
+ type ConfirmWithdrawalResponse = { TitleTransactionID?: null | string; OnChainTxHash?: null | string; Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned'; StateDelta?: null | { CryptoBalances?: null | Record<string, { CurrencyID: string; AmountDelta: string; FrozenDelta: string; UpdatedAt: string; [key: string]: unknown; }>; PendingAdded?: null | PendingWithdrawalRef; PendingRemovedIDs?: null | Array<string>; [key: string]: unknown; }; [key: string]: unknown; };
2410
2429
  interface BlockchainRequest extends BaseRequest {
2411
2430
  TitleTransactionID?: string;
2412
2431
  NetworkID?: string;
@@ -2719,6 +2738,8 @@ interface SdkEvents {
2719
2738
  "marketplace:listingCreated": MarketplaceCreateOfferResponse;
2720
2739
  "marketplace:listingCancelled": MarketplaceSettlementResponse;
2721
2740
  "marketplace:bought": MarketplaceSettlementResponse;
2741
+ "marketplace:marketBought": MarketplaceSettlementResponse;
2742
+ "marketplace:marketSold": MarketplaceSettlementResponse;
2722
2743
  "marketplace:auctionCreated": MarketplaceCreateOfferResponse;
2723
2744
  "marketplace:bidPlaced": MarketplacePlaceBidResponse;
2724
2745
  "marketplace:auctionClaimed": MarketplaceSettlementResponse;
@@ -3459,6 +3480,20 @@ declare class MarketplaceService {
3459
3480
  createListing(itemID: string, catalogID: string, goodsAmount: number, priceBundle: ResourceBundle, durationHours: number, itemInstanceIDs?: string[]): Promise<OperationResult<MarketplaceCreateOfferResponse>>;
3460
3481
  cancelListing(offerID: string): Promise<OperationResult<MarketplaceSettlementResponse>>;
3461
3482
  buy(offerID: string): Promise<OperationResult<MarketplaceSettlementResponse>>;
3483
+ /** Immediate-or-cancel market buy against the best matching active Listing (no resting order left behind on miss). */
3484
+ marketBuy(goodsAmount: number, priceBundle: ResourceBundle, goods: {
3485
+ itemID: string;
3486
+ catalogID: string;
3487
+ } | {
3488
+ goodsCurrencyID: string;
3489
+ }): Promise<OperationResult<MarketplaceSettlementResponse>>;
3490
+ /** Immediate-or-cancel market sell against the best matching active BuyOrder (no resting order left behind on miss). */
3491
+ marketSell(goodsAmount: number, priceBundle: ResourceBundle, goods: {
3492
+ itemID: string;
3493
+ catalogID: string;
3494
+ } | {
3495
+ goodsCurrencyID: string;
3496
+ }): Promise<OperationResult<MarketplaceSettlementResponse>>;
3462
3497
  createAuction(itemID: string, catalogID: string, goodsAmount: number, bidAxisType: ResourceEntryType, startingBid: number, durationHours: number, options?: {
3463
3498
  bidCurrencyID?: string;
3464
3499
  bidCatalogID?: string;
@@ -3483,7 +3518,14 @@ declare class MarketplaceService {
3483
3518
  /** With an OfferID: returns escrow of one expired offer. Without: drains unsettled bid refunds. */
3484
3519
  claimBack(offerID?: string): Promise<OperationResult<MarketplaceSettlementResponse>>;
3485
3520
  private cancelOffer;
3521
+ /**
3522
+ * Applies the resource effect of a create-offer call. When the offer auto-matched
3523
+ * (Matched=true — see MarketplaceDefinitions.Matching), Offer/Resources are null and the real
3524
+ * effect is the dual-party Settlement instead; otherwise it's the creator's own escrow charge.
3525
+ */
3486
3526
  private applyCreateOfferResult;
3527
+ /** Resolves a (item | currency) goods selector onto the request, or fails if neither is given. */
3528
+ private applyGoodsSelector;
3487
3529
  /** Applies whichever side of a dual-party settlement belongs to the current user. */
3488
3530
  private applyDualPartySettlement;
3489
3531
  private baseRequest;
@@ -3911,6 +3953,8 @@ declare class MarketplaceApi {
3911
3953
  createListing(request: MarketplaceRequest): Promise<OperationResult<MarketplaceCreateOfferResponse>>;
3912
3954
  cancelListing(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
3913
3955
  buy(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
3956
+ marketBuy(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
3957
+ marketSell(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
3914
3958
  createAuction(request: MarketplaceRequest): Promise<OperationResult<MarketplaceCreateOfferResponse>>;
3915
3959
  placeBid(request: MarketplaceRequest): Promise<OperationResult<MarketplacePlaceBidResponse>>;
3916
3960
  claimAuction(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
@@ -4026,6 +4070,12 @@ declare class ClientContext {
4026
4070
  declare class IDosGamesClient {
4027
4071
  private readonly ctx;
4028
4072
  constructor(config: IDosGamesClientConfig);
4073
+ /**
4074
+ * The Title this client is bound to. Exposed because feature code legitimately needs it —
4075
+ * the wallet bridge takes it explicitly, and modules must not re-derive it from the URL
4076
+ * (that is how a build ends up talking to a different title than its host does).
4077
+ */
4078
+ get titleID(): string;
4029
4079
  get auth(): AuthenticationService;
4030
4080
  get user(): UserService;
4031
4081
  get currency(): CurrencyService;
@@ -4081,26 +4131,26 @@ declare const BannerPosition: {
4081
4131
  readonly Right: "Right";
4082
4132
  };
4083
4133
  type BannerPosition = (typeof BannerPosition)[keyof typeof BannerPosition];
4084
- type AdPlacementDefinition = { Enabled?: null | boolean; Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native'; CooldownSeconds?: null | number; PlacementID?: null | string; DailyImpressionCap?: null | number; CreditsRewarded?: null | number; AllowedProviderIDs?: null | Array<string>; } & Record<string, unknown>;
4085
- type RewardedVideoSettings = { DefaultCreditsPerView?: null | number; MaxCreditsBalance?: null | number; DailyCreditEarnCap?: null | number; DailyViewCap?: null | number; MinSecondsBetweenViews?: null | number; } & Record<string, unknown>;
4086
- type InterstitialSettings = { CooldownSeconds?: null | number; DailyImpressionCap?: null | number; MinSessionTimeBeforeFirstSeconds?: null | number; MaxImpressionsPerSession?: null | number; } & Record<string, unknown>;
4087
- type BannerSettings = { Enabled?: null | boolean; Position?: null | 'Left' | 'Top' | 'Bottom' | 'Right'; RefreshIntervalSeconds?: null | number; } & Record<string, unknown>;
4088
- type AppOpenSettings = { Enabled?: null | boolean; CooldownSeconds?: null | number; DailyImpressionCap?: null | number; } & Record<string, unknown>;
4089
- type AdFrequencyCappingSettings = { MaxImpressionsPerSession?: null | number; MaxImpressionsPerHour?: null | number; MaxImpressionsPerDay?: null | number; } & Record<string, unknown>;
4090
- type PremiumAdReduction = { MinPremiumTier?: null | number; RequiredPremiumID?: null | string; DisableInterstitials?: null | boolean; DisableBanners?: null | boolean; DisableAppOpen?: null | boolean; } & Record<string, unknown>;
4091
- type AdConsentSettings = { RequirePersonalizedAdsConsent?: null | boolean; RequireTrackingConsent?: null | boolean; CurrentPolicyVersion?: null | string; RegulatedRegions?: null | Array<string>; } & Record<string, unknown>;
4092
- type AdVerificationSettings = { RequireServerSideVerification?: null | boolean; PendingRequestTtlSeconds?: null | number; MaxPendingRequestsPerUser?: null | number; ProviderPublicKeys?: null | Record<string, string>; } & Record<string, unknown>;
4093
- type AdUnitConfig = { Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native'; AndroidUnitID?: null | string; IosUnitID?: null | string; WebUnitID?: null | string; } & Record<string, unknown>;
4094
- type AdProviderDefinition = { Enabled?: null | boolean; Units?: null | Record<string, { Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native'; AndroidUnitID?: null | string; IosUnitID?: null | string; WebUnitID?: null | string; } & Record<string, unknown>>; ProviderID?: null | string; Priority?: null | number; AndroidAppID?: null | string; IosAppID?: null | string; WebAppID?: null | string; } & Record<string, unknown>;
4095
- type AdvertisingDefinitions = { Enabled?: null | boolean; RewardedVideo?: null | { DefaultCreditsPerView?: null | number; MaxCreditsBalance?: null | number; DailyCreditEarnCap?: null | number; DailyViewCap?: null | number; MinSecondsBetweenViews?: null | number; } & Record<string, unknown>; Banner?: null | { Enabled?: null | boolean; Position?: null | 'Left' | 'Top' | 'Bottom' | 'Right'; RefreshIntervalSeconds?: null | number; } & Record<string, unknown>; Interstitial?: null | { CooldownSeconds?: null | number; DailyImpressionCap?: null | number; MinSessionTimeBeforeFirstSeconds?: null | number; MaxImpressionsPerSession?: null | number; } & Record<string, unknown>; AppOpen?: null | { Enabled?: null | boolean; CooldownSeconds?: null | number; DailyImpressionCap?: null | number; } & Record<string, unknown>; Placements?: null | Record<string, { Enabled?: null | boolean; Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native'; CooldownSeconds?: null | number; PlacementID?: null | string; DailyImpressionCap?: null | number; CreditsRewarded?: null | number; AllowedProviderIDs?: null | Array<string>; } & Record<string, unknown>>; Providers?: null | Record<string, { Enabled?: null | boolean; Units?: null | Record<string, { Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native'; AndroidUnitID?: null | string; IosUnitID?: null | string; WebUnitID?: null | string; } & Record<string, unknown>>; ProviderID?: null | string; Priority?: null | number; AndroidAppID?: null | string; IosAppID?: null | string; WebAppID?: null | string; } & Record<string, unknown>>; FrequencyCapping?: null | { MaxImpressionsPerSession?: null | number; MaxImpressionsPerHour?: null | number; MaxImpressionsPerDay?: null | number; } & Record<string, unknown>; PremiumAdReductions?: null | Array<{ MinPremiumTier?: null | number; RequiredPremiumID?: null | string; DisableInterstitials?: null | boolean; DisableBanners?: null | boolean; DisableAppOpen?: null | boolean; } & Record<string, unknown>>; Consent?: null | { RequirePersonalizedAdsConsent?: null | boolean; RequireTrackingConsent?: null | boolean; CurrentPolicyVersion?: null | string; RegulatedRegions?: null | Array<string>; } & Record<string, unknown>; Verification?: null | { RequireServerSideVerification?: null | boolean; PendingRequestTtlSeconds?: null | number; MaxPendingRequestsPerUser?: null | number; ProviderPublicKeys?: null | Record<string, string>; } & Record<string, unknown>; } & Record<string, unknown>;
4096
- type AdCreditsData = { TotalEarned?: null | number; RewardedVideoCredit?: null | number; TotalSpent?: null | number; } & Record<string, unknown>;
4097
- type AdPlacementUserState = { PlacementID?: null | string; LastShownAt?: null | string; LastCompletedAt?: null | string; TotalImpressions?: null | number; TotalCompletions?: null | number; ConsecutiveFailures?: null | number; } & Record<string, unknown>;
4098
- type AdDailyData = { Date?: null | string; TotalImpressions?: null | number; ImpressionsByPlacement?: null | Record<string, number>; CompletionsByPlacement?: null | Record<string, number>; InterstitialImpressions?: null | number; RewardedCompletions?: null | number; AppOpenImpressions?: null | number; CreditsEarnedToday?: null | number; } & Record<string, unknown>;
4099
- type AdSessionData = { InterstitialImpressions?: null | number; RewardedCompletions?: null | number; SessionID?: null | string; SessionStartAt?: null | string; Impressions?: null | number; } & Record<string, unknown>;
4100
- type AdConsentState = { PersonalizedAdsConsent?: null | boolean; TrackingConsent?: null | boolean; PolicyVersion?: null | string; Region?: null | string; ConsentGivenAt?: null | string; ConsentRevokedAt?: null | string; } & Record<string, unknown>;
4101
- type AdPendingRequest = { Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native'; ExpiresAt?: null | string; PlacementID?: null | string; ProviderID?: null | string; RequestID?: null | string; IssuedAt?: null | string; CreditsToAward?: null | number; } & Record<string, unknown>;
4102
- type AdFraudFlags = { InvalidSsvCount?: null | number; OrphanCompletions?: null | number; FastCompletions?: null | number; LastFlaggedAt?: null | string; } & Record<string, unknown>;
4103
- type UserAdvertisingState = { UpdatedAt?: null | string; Placements?: null | Record<string, { PlacementID?: null | string; LastShownAt?: null | string; LastCompletedAt?: null | string; TotalImpressions?: null | number; TotalCompletions?: null | number; ConsecutiveFailures?: null | number; } & Record<string, unknown>>; Consent?: null | { PersonalizedAdsConsent?: null | boolean; TrackingConsent?: null | boolean; PolicyVersion?: null | string; Region?: null | string; ConsentGivenAt?: null | string; ConsentRevokedAt?: null | string; } & Record<string, unknown>; TotalImpressions?: null | number; Credits?: null | { TotalEarned?: null | number; RewardedVideoCredit?: null | number; TotalSpent?: null | number; } & Record<string, unknown>; Daily?: null | { Date?: null | string; TotalImpressions?: null | number; ImpressionsByPlacement?: null | Record<string, number>; CompletionsByPlacement?: null | Record<string, number>; InterstitialImpressions?: null | number; RewardedCompletions?: null | number; AppOpenImpressions?: null | number; CreditsEarnedToday?: null | number; } & Record<string, unknown>; Session?: null | { InterstitialImpressions?: null | number; RewardedCompletions?: null | number; SessionID?: null | string; SessionStartAt?: null | string; Impressions?: null | number; } & Record<string, unknown>; LastImpressionAt?: null | string; LastInterstitialAt?: null | string; LastRewardedAt?: null | string; LastAppOpenAt?: null | string; TotalRewardedCompletions?: null | number; AdsDisabledUntil?: null | string; PendingRequests?: null | Record<string, { Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native'; ExpiresAt?: null | string; PlacementID?: null | string; ProviderID?: null | string; RequestID?: null | string; IssuedAt?: null | string; CreditsToAward?: null | number; } & Record<string, unknown>>; FraudFlags?: null | { InvalidSsvCount?: null | number; OrphanCompletions?: null | number; FastCompletions?: null | number; LastFlaggedAt?: null | string; } & Record<string, unknown>; } & Record<string, unknown>;
4134
+ type AdPlacementDefinition = { PlacementID?: null | string; Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native'; Enabled?: null | boolean; CooldownSeconds?: null | number; DailyImpressionCap?: null | number; CreditsRewarded?: null | number; AllowedProviderIDs?: null | Array<string>; [key: string]: unknown; };
4135
+ type RewardedVideoSettings = { DefaultCreditsPerView?: null | number; MaxCreditsBalance?: null | number; DailyCreditEarnCap?: null | number; DailyViewCap?: null | number; MinSecondsBetweenViews?: null | number; [key: string]: unknown; };
4136
+ type InterstitialSettings = { CooldownSeconds?: null | number; MinSessionTimeBeforeFirstSeconds?: null | number; DailyImpressionCap?: null | number; MaxImpressionsPerSession?: null | number; [key: string]: unknown; };
4137
+ type BannerSettings = { Enabled?: null | boolean; Position?: null | 'Left' | 'Top' | 'Bottom' | 'Right'; RefreshIntervalSeconds?: null | number; [key: string]: unknown; };
4138
+ type AppOpenSettings = { Enabled?: null | boolean; CooldownSeconds?: null | number; DailyImpressionCap?: null | number; [key: string]: unknown; };
4139
+ type AdFrequencyCappingSettings = { MaxImpressionsPerHour?: null | number; MaxImpressionsPerDay?: null | number; MaxImpressionsPerSession?: null | number; [key: string]: unknown; };
4140
+ type PremiumAdReduction = { MinPremiumTier?: null | number; RequiredPremiumID?: null | string; DisableInterstitials?: null | boolean; DisableBanners?: null | boolean; DisableAppOpen?: null | boolean; [key: string]: unknown; };
4141
+ type AdConsentSettings = { RequirePersonalizedAdsConsent?: null | boolean; RequireTrackingConsent?: null | boolean; CurrentPolicyVersion?: null | string; RegulatedRegions?: null | Array<string>; [key: string]: unknown; };
4142
+ type AdVerificationSettings = { RequireServerSideVerification?: null | boolean; PendingRequestTtlSeconds?: null | number; MaxPendingRequestsPerUser?: null | number; ProviderPublicKeys?: null | Record<string, string>; [key: string]: unknown; };
4143
+ type AdUnitConfig = { AndroidUnitID?: null | string; IosUnitID?: null | string; WebUnitID?: null | string; Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native'; [key: string]: unknown; };
4144
+ type AdProviderDefinition = { ProviderID?: null | string; Enabled?: null | boolean; Priority?: null | number; AndroidAppID?: null | string; IosAppID?: null | string; WebAppID?: null | string; Units?: null | Record<string, AdUnitConfig>; [key: string]: unknown; };
4145
+ type AdvertisingDefinitions = { Enabled?: null | boolean; Placements?: null | Record<string, AdPlacementDefinition>; Providers?: null | Record<string, AdProviderDefinition>; RewardedVideo?: null | RewardedVideoSettings; Interstitial?: null | InterstitialSettings; Banner?: null | BannerSettings; AppOpen?: null | AppOpenSettings; FrequencyCapping?: null | AdFrequencyCappingSettings; PremiumAdReductions?: null | Array<PremiumAdReduction>; Consent?: null | AdConsentSettings; Verification?: null | AdVerificationSettings; [key: string]: unknown; };
4146
+ type AdCreditsData = { RewardedVideoCredit?: null | number; TotalEarned?: null | number; TotalSpent?: null | number; [key: string]: unknown; };
4147
+ type AdPlacementUserState = { PlacementID?: null | string; LastShownAt?: null | string; LastCompletedAt?: null | string; TotalImpressions?: null | number; TotalCompletions?: null | number; ConsecutiveFailures?: null | number; [key: string]: unknown; };
4148
+ type AdDailyData = { Date?: null | string; ImpressionsByPlacement?: null | Record<string, number>; CompletionsByPlacement?: null | Record<string, number>; TotalImpressions?: null | number; InterstitialImpressions?: null | number; RewardedCompletions?: null | number; AppOpenImpressions?: null | number; CreditsEarnedToday?: null | number; [key: string]: unknown; };
4149
+ type AdSessionData = { SessionID?: null | string; SessionStartAt?: null | string; Impressions?: null | number; InterstitialImpressions?: null | number; RewardedCompletions?: null | number; [key: string]: unknown; };
4150
+ type AdConsentState = { PersonalizedAdsConsent?: null | boolean; TrackingConsent?: null | boolean; PolicyVersion?: null | string; Region?: null | string; ConsentGivenAt?: null | string; ConsentRevokedAt?: null | string; [key: string]: unknown; };
4151
+ type AdPendingRequest = { RequestID?: null | string; PlacementID?: null | string; ProviderID?: null | string; Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native'; IssuedAt?: null | string; ExpiresAt?: null | string; CreditsToAward?: null | number; [key: string]: unknown; };
4152
+ type AdFraudFlags = { InvalidSsvCount?: null | number; OrphanCompletions?: null | number; FastCompletions?: null | number; LastFlaggedAt?: null | string; [key: string]: unknown; };
4153
+ type UserAdvertisingState = { Credits?: null | AdCreditsData; Placements?: null | Record<string, AdPlacementUserState>; Daily?: null | AdDailyData; Session?: null | AdSessionData; LastImpressionAt?: null | string; LastInterstitialAt?: null | string; LastRewardedAt?: null | string; LastAppOpenAt?: null | string; TotalImpressions?: null | number; TotalRewardedCompletions?: null | number; AdsDisabledUntil?: null | string; Consent?: null | AdConsentState; PendingRequests?: null | Record<string, AdPendingRequest>; FraudFlags?: null | AdFraudFlags; UpdatedAt?: null | string; [key: string]: unknown; };
4104
4154
 
4105
4155
  /** enum MailboxMessageStatus — lifecycle status of one message in a player's mailbox. */
4106
4156
  declare const MailboxMessageStatus: {
@@ -4133,11 +4183,11 @@ declare const BroadcastStatus: {
4133
4183
  readonly Completed: "Completed";
4134
4184
  };
4135
4185
  type BroadcastStatus = (typeof BroadcastStatus)[keyof typeof BroadcastStatus];
4136
- type MailboxMessageTypeDefinition = { DisplayName?: null | string; MessageTypeID?: null | string; IconPath?: null | string; DisplayPriority?: null | number; ExpirationHours?: null | number; AutoClaim?: null | boolean; AllowP2P?: null | boolean; ShowBadge?: null | boolean; } & Record<string, unknown>;
4137
- type MailboxSegmentDefinition = { DisplayName?: null | string; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; SegmentID?: null | string; } & Record<string, unknown>;
4138
- type MailboxDefinition = { Segments?: null | Array<{ DisplayName?: null | string; Gate?: null | { MinPremiumTier?: null | number; Segments?: null | Array<string>; RequiredPremiumIDs?: null | Array<string>; MinLevel?: null | number; MaxLevel?: null | number; Countries?: null | Array<string>; RegisteredWithinDays?: null | number; ActiveWithinDays?: null | number; Experiment?: null | { ExperimentID?: null | string; Variants?: null | Array<string>; } & Record<string, unknown>; } & Record<string, unknown>; SegmentID?: null | string; } & Record<string, unknown>>; MaxMessagesPerUser?: null | number; ReadNoRewardRetentionHours?: null | number; ClaimedRetentionHours?: null | number; DefaultPageSize?: null | number; EnableAutoClaim?: null | boolean; MessageTypes?: null | Record<string, { DisplayName?: null | string; MessageTypeID?: null | string; IconPath?: null | string; DisplayPriority?: null | number; ExpirationHours?: null | number; AutoClaim?: null | boolean; AllowP2P?: null | boolean; ShowBadge?: null | boolean; } & Record<string, unknown>>; DailyP2PGiftLimit?: null | number; MaxRewardsPerP2PMessage?: null | number; } & Record<string, unknown>;
4139
- type MailboxMessageDocument = { AssetPaths?: null | Record<string, string>; Status?: null | 'Expired' | 'Unread' | 'Read' | 'Deleted'; Source?: null | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season' | 'Referral' | 'Admin' | 'Collection' | 'MilestoneEvent' | 'PlayerGift' | 'Social' | 'Compensation'; Rewards?: null | ResourceGrant; Claimed?: null | boolean; TitleID?: null | string; SenderUserID?: null | string; SenderPublicData?: null | { Level?: null | number; BoardRank?: null | number; Username?: null | string; Country?: null | string; AvatarUrl?: null | string; Premium?: null | boolean; Power?: null | number; } & Record<string, unknown>; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; Version?: null | number; MessageTypeID?: null | string; MessageID?: null | string; RecipientUserID?: null | string; RelatedEntityID?: null | string; Subject?: null | string; Body?: null | string; TemplateParams?: null | Record<string, string>; ClaimedAtUtc?: null | string; ReadAtUtc?: null | string; BroadcastID?: null | string; } & Record<string, unknown>;
4140
- type MailboxBroadcastDocument = { AssetPaths?: null | Record<string, string>; Status?: null | 'Active' | 'Completed' | 'Cancelled' | 'Paused'; Rewards?: null | ResourceGrant; TitleID?: null | string; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; MessageTypeID?: null | string; Subject?: null | string; Body?: null | string; TemplateParams?: null | Record<string, string>; BroadcastID?: null | string; TargetSegmentID?: null | string; TargetUserIDs?: null | Array<string>; StartsAtUtc?: null | string; CreatedByAdminID?: null | string; AdminComment?: null | string; DeliveredCount?: null | number; ClaimedCount?: null | number; } & Record<string, unknown>;
4141
- type UserMailboxState = { UnreadCount?: null | number; UnclaimedRewardCount?: null | number; LastFetchCursor?: null | string; ReceivedBroadcastIDs?: null | Array<string>; ClaimedBroadcastIDs?: null | Array<string>; DailyP2PGiftsSent?: null | number; DailyGiftsResetDate?: null | string; LastOpenedAtUtc?: null | string; TotalMessagesReceived?: null | number; TotalRewardsClaimed?: null | number; } & Record<string, unknown>;
4186
+ type MailboxMessageTypeDefinition = { MessageTypeID?: null | string; DisplayName?: null | string; IconPath?: null | string; DisplayPriority?: null | number; ExpirationHours?: null | number; AutoClaim?: null | boolean; AllowP2P?: null | boolean; ShowBadge?: null | boolean; [key: string]: unknown; };
4187
+ type MailboxSegmentDefinition = { SegmentID?: null | string; DisplayName?: null | string; Gate?: null | SegmentGate; [key: string]: unknown; };
4188
+ type MailboxDefinition = { MaxMessagesPerUser?: null | number; ReadNoRewardRetentionHours?: null | number; ClaimedRetentionHours?: null | number; DefaultPageSize?: null | number; EnableAutoClaim?: null | boolean; MessageTypes?: null | Record<string, MailboxMessageTypeDefinition>; Segments?: null | Array<MailboxSegmentDefinition>; DailyP2PGiftLimit?: null | number; MaxRewardsPerP2PMessage?: null | number; [key: string]: unknown; };
4189
+ type MailboxMessageDocument = { MessageID?: null | string; TitleID?: null | string; RecipientUserID?: null | string; MessageTypeID?: null | string; Source?: null | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season' | 'Referral' | 'Admin' | 'Collection' | 'MilestoneEvent' | 'PlayerGift' | 'Social' | 'Compensation'; RelatedEntityID?: null | string; SenderUserID?: null | string; SenderPublicData?: null | UserPublicDataModel; Subject?: null | string; Body?: null | string; TemplateParams?: null | Record<string, string>; AssetPaths?: null | Record<string, string>; Rewards?: null | ResourceGrant; Claimed?: null | boolean; ClaimedAtUtc?: null | string; Status?: null | 'Expired' | 'Unread' | 'Read' | 'Deleted'; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; ReadAtUtc?: null | string; BroadcastID?: null | string; Version?: null | number; [key: string]: unknown; };
4190
+ type MailboxBroadcastDocument = { BroadcastID?: null | string; TitleID?: null | string; MessageTypeID?: null | string; Subject?: null | string; Body?: null | string; TemplateParams?: null | Record<string, string>; AssetPaths?: null | Record<string, string>; Rewards?: null | ResourceGrant; TargetSegmentID?: null | string; TargetUserIDs?: null | Array<string>; StartsAtUtc?: null | string; ExpiresAtUtc?: null | string; CreatedAtUtc?: null | string; CreatedByAdminID?: null | string; AdminComment?: null | string; Status?: null | 'Active' | 'Completed' | 'Cancelled' | 'Paused'; DeliveredCount?: null | number; ClaimedCount?: null | number; [key: string]: unknown; };
4191
+ type UserMailboxState = { UnreadCount?: null | number; UnclaimedRewardCount?: null | number; LastFetchCursor?: null | string; ReceivedBroadcastIDs?: null | Array<string>; ClaimedBroadcastIDs?: null | Array<string>; DailyP2PGiftsSent?: null | number; DailyGiftsResetDate?: null | string; LastOpenedAtUtc?: null | string; TotalMessagesReceived?: null | number; TotalRewardsClaimed?: null | number; [key: string]: unknown; };
4142
4192
 
4143
- export { type AcceptTradeOfferResponse, type ActivateReferralCodeResponse, type ActivateTimedBoostResponse, type ActiveBoostWindowInfo, type ActiveCoopEventInfo, type ActiveDealSlotInfo, type ActiveEventInfo, type ActiveSeasonInfo, type ActiveTimedBoost, type AdConsentSettings, type AdConsentState, type AdCreditsData, type AdDailyData, type AdFraudFlags, type AdFrequencyCappingSettings, type AdPendingRequest, type AdPlacementDefinition, type AdPlacementUserState, type AdProviderDefinition, 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 CharacterLevelDefinition, type CharacterLevelRef, type CharacterModel, type CharacterRequest, CharacterService, type CharacterStatRef, type CharacterUnequipResult, type CharacterUnlock, type ClaimAllRewardsBatchResponse, type ClaimAllRewardsResult, type ClaimComebackRewardResponse, type ClaimCycleRewardResponse, type ClaimCycleRewardsBatchResponse, type ClaimDailyRewardResponse, type ClaimDealMilestoneResponse, type ClaimDealMilestonesBatchResponse, type ClaimGrandPrizeResponse, type ClaimGroupCompletionRewardResponse, type ClaimInviteRewardResponse, type ClaimLeaderboardMilestoneResponse, type ClaimLeaderboardMilestonesBatchResponse, type ClaimMilestoneRewardResponse, type ClaimMilestoneRewardsBatchResponse, type ClaimMilestonesBatchResponse, type ClaimQuestRewardResponse, type ClaimQuestRewardsBatchResponse, type ClaimRewardResponse, type ClaimSetRewardResponse, type ClaimSetRewardsBatchResponse, type ClaimTierRewardResponse, type ClientState, CloudCodeAction, CloudCodeErrorCode, type CloudCodeLogEntry, CloudCodeLogLevel, type CloudCodeRequest, CloudCodeRevisionSelection, CloudCodeService, type CodeExecutionError, type CollectIdleAccrualResponse, CollectionAction, type CollectionDefinitions, type CollectionRequest, CollectionService, type CollectionSetRef, type CollectionTradeOfferDocument, CommissionSink, type CommunityChestClaimResponse, type CommunityChestGroupDocument, type CommunityChestGroupStateResponse, type CommunityChestHistoryEntry, type CommunityChestLeaveResponse, type CommunityChestMember, CommunityChestMemberStatus, type CommunityChestSharedState, CommunityChestStatus, type CommunityChestUserStateResponse, type ConfirmWithdrawalResponse, type ConversionDailyCounter, ConversionRateMode, type ConversionTarget, type ConvertResponse, type CoopBuildObjectsMemberState, type CoopBuildObjectsState, type CoopClaimRewardResponse, CoopEventAction, type CoopEventDefinitions, type CoopEventRequest, CoopEventService, type CoopGroupDocument, type CoopGroupMember, type CoopGroupStateResponse, CoopGroupStatus, type CoopLeaveGroupResponse, CoopMemberStatus, type CoopPartnerObjectState, type CoopSpinResponse, type CoopUserStateResponse, CraftAction, type CraftDefinitions, type CraftDefinitionsResponse, type CraftRequest, type CraftResponse, CraftService, type CraftSingleResult, CraftType, type CreateMatchResponse, type CryptoConvertResponse, type CryptoCurrencyDefinition, type CryptoCurrencyPermissions, type CryptoLimits, type CryptoNetworkBinding, CurrencyAction, type CurrencyAudit, type CurrencyConversion, type CurrencyDefinitions, type CurrencyRequest, CurrencyService, CurrencyStatus, CurrencyType, CustomDataBucket, CustomDataValueType, CustomDataWriter, type CyclicSchedule, DEFAULT_BASE_URL, type DailyUsageRecord, type DealMilestoneProgressInfo, DealNodeRuntimeStatus, DealOfferAction, DealOfferActivationStatus, type DealOfferDefinitions, type DealOfferRequest, DealOfferService, type DealOffersDefinitionResponse, type DeclineTradeOfferResponse, type DepositNFTResponse, type DepositTokenResponse, type DismissDealResponse, type DonationResponse, EnvelopeType, type EquipItemsResponse, type EquipSlotPair, type EquipmentPreset, type EquipmentSlot, type EquippedItem, type EventMap, type EventMilestoneClaimResponse, type EventTokenAddress, type EventTokenConversion, type EventTokenDefinition, type EventTokenGrantResponse, type 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 GetPublicUserCustomDataResponse, type GetTradeOffersResponse, type GetUserQuestStateResponse, type GrantStatusTokensResponse, type GrantTokensBatchResponse, type GrantedCollectible, type HeistCell, IDosGamesClient, type IDosGamesClientConfig, IDosGamesData, type IDosGamesSettings, 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, LootboxAction, type LootboxAmountRange, type LootboxDefinitions, type LootboxDefinitionsResponse, type LootboxOpenResponse, type LootboxPityRule, type LootboxPityTriggerResponse, type LootboxRequest, type LootboxRewardRoll, type LootboxRewardSlot, LootboxService, type MailboxBroadcastDocument, type MailboxDefinition, type MailboxMessageDocument, MailboxMessageSource, MailboxMessageStatus, type MailboxMessageTypeDefinition, type MailboxSegmentDefinition, 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 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 MilestoneClaimRef, type MilestoneDefinition, MultiplayerAction, MultiplayerChatMode, type MultiplayerDefinitions, type MultiplayerRequest, MultiplayerService, type MultiplayerSystemState, MultiplayerTopology, type NFTModel, type NFTNetworkBinding, type NFTTransactionDocument, type NFTWithdrawalResponse, type NftCollectionStats, type NftStatsContainer, type OpenCollectionChestResponse, type OpenPackResponse, type OperationFailure, type OperationFailureReason, type OperationResult, type OperationSuccess, type PendingWithdrawalRef, PlatformAdapter, type PlatformBlockchainState, type PlatformLoginResponse, type PlayerEconomyTuningState, type PollResponse, PremiumAction, type PremiumAdReduction, type PremiumDefinitions, type PremiumDefinitionsResponse, type PremiumPurchaseResponse, type PremiumRequest, PremiumService, type PremiumStateResponse, type PremiumSubscription, type PublishResponse, type PurchaseBatchResponse, type PvPMatch, QuestAction, type QuestClaimRef, type QuestDefinitions, QuestObjectiveSource, type QuestPointsTrackView, QuestPrerequisiteMode, type QuestProgressUpdate, type QuestRequest, 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 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 SocialRequest, SocialService, type SocialTimelineEvent, type SolanaWithdrawalSignature, type SpecialApplyMultiplierResponse, SpecialChoiceMode, type SpecialChooseResponse, type SpecialClaimResponse, type SpecialModeOfferData, type SpecialPendingState, type SpendRewardDefinition, type SpendTokensBatchResponse, type StatDefinition, type StatRequirement, type StatsPreset, StoreAction, type StoreDefinitions, type StorePurchaseRef, type StorePurchaseResponse, type StorePurchaseState, type StoreRequest, StoreService, StoreType, 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, type TitleCustomData, type TitleCustomDataResponse, type TitlePublicConfigurationModel, type TitlePublicData, type TitleRequest, TitleService, type TokenCurrencyStats, type TokenStatsContainer, type TokenTransactionDocument, type TokenWithdrawalResponse, TradeOfferStatus, TransactionDirection, type TransactionHistoryResponse, type TriggerContext, type TriggerSource, TypedEmitter, type UnequipAllCharactersResponse, type UnequipItemsResponse, type UnlockCharacterResponse, type UnlockCharactersBatchResponse, type UnstackableItemInstanceState, type Unsubscribe, type UpdateMatchResponse, type UpgradeCharacterLevelResponse, type UpgradeCharacterLevelsBatchResponse, type UpgradeItemLevelResponse, type UpgradeLevelsBatchResponse, type UpgradeLevelsOptions, type UpgradeStatLevelResponse, type UpgradeStatLevelsBatchResponse, type UsageReactivationEvent, type UsageTimeStats, type UseCollectibleJokerResponse, UserAction, type UserAdvertisingState, type UserBlockchainState, type UserBlockchainStateResponse, type UserCharactersState, type UserClaimRewardState, type UserCollectionState, type UserComebackState, type UserCommunityChestState, type UserCoopEventState, type UserCryptoComplianceCounters, type UserCryptoCurrencyState, UserCustomDataAction, type UserCustomDataBatchDeleteItem, type UserCustomDataBatchSetItem, type UserCustomDataDefinitions, type UserCustomDataKeyDefinition, type UserCustomDataRecord, type UserCustomDataRequest, UserCustomDataService, type UserCustomDataState, type UserDailyCalendarState, type UserDailyCounters, UserData, type UserDealNodeLifetimeCounts, type UserDealNodeState, type UserDealOfferActivationState, type UserDealOfferHistory, type UserDealOffersState, type UserDealOffersStateResponse, type UserDealSlotState, type UserDealTrackState, type UserDepositAddress, type UserEventTokenProgress, type UserEventTokensState, type UserGameLoopsState, type UserIdleAccrualState, type UserInventoryState, type UserKycState, type UserLeaderboardProgress, type UserLeaderboardsState, type UserLootboxPityCounter, type UserLootboxState, type UserMailboxState, type UserMarketplaceState, type UserMatchCreationLimitState, type UserMatchState, type UserPremiumState, type UserPublicDataModel, type 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 UserStoreState, type UserTimedBoostsState, type UserTimedEventStateResponse, type UserUsageState, type UserVirtualCurrencyState, type VirtualCurrencyDefinition, type VirtualCurrencyEconomy, type VirtualCurrencyPermissions, type WalletChallengeResponse, WalletLinkType, type WithdrawalSignatureResponse, createIDosGamesClient, isFail, isOk, normalizeBlockchainCategory };
4193
+ export { type AcceptTradeOfferResponse, type ActivateReferralCodeResponse, type ActivateTimedBoostResponse, type ActiveBoostWindowInfo, type ActiveCoopEventInfo, type ActiveDealSlotInfo, type ActiveEventInfo, type ActiveSeasonInfo, type ActiveTimedBoost, type AdConsentSettings, type AdConsentState, type AdCreditsData, type AdDailyData, type AdFraudFlags, type AdFrequencyCappingSettings, type AdPendingRequest, type AdPlacementDefinition, type AdPlacementUserState, type AdProviderDefinition, 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 CharacterLevelDefinition, type CharacterLevelRef, type CharacterModel, type CharacterRequest, CharacterService, type CharacterStatRef, type CharacterUnequipResult, type CharacterUnlock, type ClaimAllRewardsBatchResponse, type ClaimAllRewardsResult, type ClaimComebackRewardResponse, type ClaimCycleRewardResponse, type ClaimCycleRewardsBatchResponse, type ClaimDailyRewardResponse, type ClaimDealMilestoneResponse, type ClaimDealMilestonesBatchResponse, type ClaimGrandPrizeResponse, type ClaimGroupCompletionRewardResponse, type ClaimInviteRewardResponse, type ClaimLeaderboardMilestoneResponse, type ClaimLeaderboardMilestonesBatchResponse, type ClaimMilestoneRewardResponse, type ClaimMilestoneRewardsBatchResponse, type ClaimMilestonesBatchResponse, type ClaimQuestRewardResponse, type ClaimQuestRewardsBatchResponse, type ClaimRewardResponse, type ClaimSetRewardResponse, type ClaimSetRewardsBatchResponse, type ClaimTierRewardResponse, type ClientState, CloudCodeAction, CloudCodeErrorCode, type CloudCodeLogEntry, CloudCodeLogLevel, type CloudCodeRequest, CloudCodeRevisionSelection, CloudCodeService, type CodeExecutionError, type CollectIdleAccrualResponse, CollectionAction, type CollectionDefinitions, type CollectionRequest, CollectionService, type CollectionSetRef, type CollectionTradeOfferDocument, CommissionSink, type CommunityChestClaimResponse, type CommunityChestGroupDocument, type CommunityChestGroupStateResponse, type CommunityChestHistoryEntry, type CommunityChestLeaveResponse, type CommunityChestMember, CommunityChestMemberStatus, type CommunityChestSharedState, CommunityChestStatus, type CommunityChestUserStateResponse, type ConfirmWithdrawalResponse, type ConversionDailyCounter, ConversionRateMode, type ConversionTarget, type ConvertResponse, type CoopBuildObjectsMemberState, type CoopBuildObjectsState, type CoopClaimRewardResponse, CoopEventAction, type CoopEventDefinitions, type CoopEventRequest, CoopEventService, type CoopGroupDocument, type CoopGroupMember, type CoopGroupStateResponse, CoopGroupStatus, type CoopLeaveGroupResponse, CoopMemberStatus, type CoopPartnerObjectState, type CoopSpinResponse, type CoopUserStateResponse, CraftAction, type CraftDefinitions, type CraftDefinitionsResponse, type CraftRequest, type CraftResponse, CraftService, type CraftSingleResult, CraftType, type CreateMatchResponse, type CryptoConvertResponse, type CryptoCurrencyDefinition, type CryptoCurrencyPermissions, type CryptoLimits, type CryptoNetworkBinding, CurrencyAction, type CurrencyAudit, type CurrencyConversion, type CurrencyDefinitions, type CurrencyRequest, CurrencyService, CurrencyStatus, CurrencyType, CustomDataBucket, CustomDataValueType, CustomDataWriter, type CyclicSchedule, DEFAULT_BASE_URL, type DailyUsageRecord, type DealMilestoneProgressInfo, DealNodeRuntimeStatus, DealOfferAction, DealOfferActivationStatus, type DealOfferDefinitions, type DealOfferRequest, DealOfferService, type DealOffersDefinitionResponse, type DeclineTradeOfferResponse, type DepositNFTResponse, type DepositTokenResponse, type DismissDealResponse, type DonationResponse, EnvelopeType, type EquipItemsResponse, type EquipSlotPair, type EquipmentPreset, type EquipmentSlot, type EquippedItem, type EventMap, type EventMilestoneClaimResponse, type EventTokenAddress, type EventTokenConversion, type EventTokenDefinition, type EventTokenGrantResponse, type 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 GetPublicUserCustomDataResponse, type GetTradeOffersResponse, type GetUserQuestStateResponse, type GrantStatusTokensResponse, type GrantTokensBatchResponse, type GrantedCollectible, type HeistCell, IDosGamesClient, type IDosGamesClientConfig, IDosGamesData, type IDosGamesSettings, 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, LootboxAction, type LootboxAmountRange, type LootboxDefinitions, type LootboxDefinitionsResponse, 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 MilestoneClaimRef, type MilestoneDefinition, MultiplayerAction, MultiplayerChatMode, type MultiplayerDefinitions, type MultiplayerRequest, MultiplayerService, type MultiplayerSystemState, MultiplayerTopology, type NFTModel, type NFTNetworkBinding, type NFTTransactionDocument, type NFTWithdrawalResponse, type NftCollectionStats, type NftStatsContainer, type OpenCollectionChestResponse, type OpenPackResponse, type OperationFailure, type OperationFailureReason, type OperationResult, type OperationSuccess, type PendingWithdrawalRef, PlatformAdapter, type PlatformBlockchainState, type PlatformLoginResponse, type PlayerEconomyTuningState, type PollResponse, PremiumAction, type PremiumAdReduction, type PremiumDefinitions, type PremiumDefinitionsResponse, type PremiumPurchaseResponse, type PremiumRequest, PremiumService, type PremiumStateResponse, type PremiumSubscription, type PublishResponse, type PurchaseBatchResponse, type PvPMatch, QuestAction, type QuestClaimRef, type QuestDefinitions, QuestObjectiveSource, type QuestPointsTrackView, QuestPrerequisiteMode, type QuestProgressUpdate, type QuestRequest, 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 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 SocialRequest, SocialService, type SocialTimelineEvent, type SolanaWithdrawalSignature, type SpecialApplyMultiplierResponse, SpecialChoiceMode, type SpecialChooseResponse, type SpecialClaimResponse, type SpecialModeOfferData, type SpecialPendingState, type SpendRewardDefinition, type SpendTokensBatchResponse, type StatDefinition, type StatRequirement, type StatsPreset, StoreAction, type StoreDefinitions, type StorePurchaseRef, type StorePurchaseResponse, type StorePurchaseState, type StoreRequest, StoreService, StoreType, 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, type TitleCustomData, type TitleCustomDataResponse, type TitlePublicConfigurationModel, type TitlePublicData, type TitleRequest, TitleService, type TokenCurrencyStats, type TokenStatsContainer, type TokenTransactionDocument, type TokenWithdrawalResponse, TradeOfferStatus, TransactionDirection, type TransactionHistoryResponse, type TriggerContext, type TriggerSource, TypedEmitter, type UnequipAllCharactersResponse, type UnequipItemsResponse, type UnlockCharacterResponse, type UnlockCharactersBatchResponse, type UnstackableItemInstanceState, type Unsubscribe, type UpdateMatchResponse, type UpgradeCharacterLevelResponse, type UpgradeCharacterLevelsBatchResponse, type UpgradeItemLevelResponse, type UpgradeLevelsBatchResponse, type UpgradeLevelsOptions, type UpgradeStatLevelResponse, type UpgradeStatLevelsBatchResponse, type UsageReactivationEvent, type UsageTimeStats, type UseCollectibleJokerResponse, UserAction, type UserAdvertisingState, type UserBlockchainState, type UserBlockchainStateResponse, type UserCharactersState, type UserClaimRewardState, type UserCollectionState, type UserComebackState, type UserCommunityChestState, type UserCoopEventState, type UserCryptoComplianceCounters, type UserCryptoCurrencyState, UserCustomDataAction, type UserCustomDataBatchDeleteItem, type UserCustomDataBatchSetItem, type UserCustomDataDefinitions, type UserCustomDataKeyDefinition, type UserCustomDataRecord, type UserCustomDataRequest, UserCustomDataService, type UserCustomDataState, type UserDailyCalendarState, type UserDailyCounters, UserData, type UserDealNodeLifetimeCounts, type UserDealNodeState, type UserDealOfferActivationState, type UserDealOfferHistory, type UserDealOffersState, type UserDealOffersStateResponse, type UserDealSlotState, type UserDealTrackState, type UserDepositAddress, type UserEventTokenProgress, type UserEventTokensState, type UserGameLoopsState, type UserIdleAccrualState, type UserInventoryState, type UserKycState, type UserLeaderboardProgress, type UserLeaderboardsState, type UserLootboxPityCounter, type UserLootboxState, type UserMailboxState, type UserMarketplaceState, type UserMatchCreationLimitState, type UserMatchState, type UserPremiumState, type UserPublicDataModel, type 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 UserStoreState, type UserTimedBoostsState, type UserTimedEventStateResponse, type UserUsageState, type UserVirtualCurrencyState, type VirtualCurrencyDefinition, type VirtualCurrencyEconomy, type VirtualCurrencyPermissions, type WalletChallengeResponse, WalletLinkType, type WithdrawalSignatureResponse, createIDosGamesClient, isFail, isOk, normalizeBlockchainCategory };