@idosgames/core 0.1.0 → 0.1.1
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 +318 -318
- package/dist/index.d.ts +318 -318
- package/dist/index.js +2 -2
- package/package.json +3 -3
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;
|
|
106
|
-
type RechargeConfig = { Rate?: null | number; Max?: null | number; Period?: null | number;
|
|
107
|
-
type VirtualCurrencyPermissions = { IsTradable?: null | boolean; IsPurchasable?: null | boolean; IsRefundable?: null | boolean;
|
|
108
|
-
type ConversionTarget = { TargetCurrencyID: string;
|
|
109
|
-
type CurrencyConversion = { Enabled?: null | boolean; RateMode?: null | 'Automatic' | 'Manual'; FeePercent?: null | string; Targets?: null | Array<
|
|
110
|
-
type CurrencyAudit = { CreatedAt?: null | string; UpdatedAt?: null | string;
|
|
111
|
-
type VirtualCurrencyDefinition = { CurrencyID: string; DisplayName?: null | string; AssetPaths?: null | Record<string, string>; Economy?: null |
|
|
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;
|
|
113
|
-
type CryptoLimits = { DailyWithdrawUsd?: null | string; MonthlyWithdrawUsd?: null | string; KycRequiredAboveUsd?: null | string;
|
|
114
|
-
type CryptoCurrencyPermissions = { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; SpendableInGame?: null | boolean; ConvertibleToVirtual?: null | boolean;
|
|
115
|
-
type CryptoCurrencyDefinition = { CurrencyID: string;
|
|
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;
|
|
225
|
-
type StoreOfferDefinition = { OfferID: string;
|
|
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 = {
|
|
250
|
-
type LootboxRewardRoll = { Reward?: null | ResourceGrant; Weight?: null | number; AmountRange?: null |
|
|
251
|
-
type LootboxRewardSlot = { SlotID?: null | string; MinRolls?: null | number; MaxRolls?: null | number; Pool?: null | Array<
|
|
252
|
-
type LootboxPityRule = {
|
|
253
|
-
type RewardSlotSet = { RewardSlots?: null | Array<
|
|
254
|
-
type PityRuleSet = { PityRules?: null | Array<
|
|
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>;
|
|
269
|
-
type SeasonTierRewardBundle = {
|
|
270
|
-
type SeasonTierRewardMultiplier = { SeasonChainID?: null | string; MinSeasonTier?: null | number; Multiplier?: null | number;
|
|
271
|
-
type SeasonTierRewardSet = { Bundles?: null | Array<
|
|
272
|
-
type RewardProgressionMultiplierSpec = { Source?: null | 'BoardStageLevel' | 'BoardRank' | 'BoardCyclesCompleted' | 'CharacterLevel' | 'SeasonTier' | 'EventTokenTotalEarned' | 'VirtualCurrencyBalance' | 'PlayerLevel'; SourceKey?: null | string; CurveType?: null | 'Tiered' | 'Linear'; Tiers?: null | Array<{
|
|
273
|
-
type MilestoneDefinition = {
|
|
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;
|
|
295
|
+
type LootboxOpenResponse = { ServerTimeUtc: string; LootboxID: string; OpenedCount?: null | number; SelectedOptionID?: null | number; Resources?: null | ResourceOperation; 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,7 @@ interface LootboxPresetBindings {
|
|
|
301
301
|
RewardSlots?: PresetBinding | null;
|
|
302
302
|
PityRules?: PresetBinding | null;
|
|
303
303
|
}
|
|
304
|
-
type LootboxDefinition = { LootboxID: string; AssetPaths?: null | Record<string, string>;
|
|
304
|
+
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; [key: string]: unknown; };
|
|
305
305
|
/** The title's lootbox catalog (config), returned by getDefinitions(). */
|
|
306
306
|
interface LootboxDefinitions {
|
|
307
307
|
Definitions?: Record<string, LootboxDefinition> | null;
|
|
@@ -354,16 +354,16 @@ interface UserRewardState {
|
|
|
354
354
|
Comebacks?: Record<string, UserComebackState>;
|
|
355
355
|
Claims?: Record<string, UserClaimRewardState>;
|
|
356
356
|
}
|
|
357
|
-
type ClaimDailyRewardResponse = { ServerTimeUtc: string; CalendarID: string; DailyState: UserDailyCalendarState;
|
|
358
|
-
type CollectIdleAccrualResponse = { ServerTimeUtc: string; AccrualID: string; IdleState: UserIdleAccrualState;
|
|
359
|
-
type ClaimComebackRewardResponse = { ServerTimeUtc: string; ComebackID: string; ComebackState: UserComebackState;
|
|
357
|
+
type ClaimDailyRewardResponse = { ServerTimeUtc: string; CalendarID: string; DailyState: UserDailyCalendarState; DayNumber?: null | number; Resources?: null | ResourceOperation; };
|
|
358
|
+
type CollectIdleAccrualResponse = { ServerTimeUtc: string; AccrualID: string; IdleState: UserIdleAccrualState; AccruedSeconds?: null | number; AppliedRatePerSecond?: null | number; Resources?: null | ResourceOperation; };
|
|
359
|
+
type ClaimComebackRewardResponse = { ServerTimeUtc: string; ComebackID: string; ComebackState: UserComebackState; ClaimedTierIndex?: null | number; Resources?: null | ResourceOperation; };
|
|
360
360
|
type ClaimRewardResponse = { ServerTimeUtc: string; ClaimID: string; ClaimState: UserClaimRewardState; Resources?: null | ResourceOperation; };
|
|
361
|
-
type GetMilestoneRewardMultiplierResponse = { Enabled: boolean;
|
|
362
|
-
type TierRewardSettings = { RewardMode?: null | string; RewardStackLowerTiers?: null | boolean;
|
|
363
|
-
type DailyCalendarDefinition = {
|
|
364
|
-
type IdleAccrualDefinition = {
|
|
365
|
-
type ComebackRewardDefinition = {
|
|
366
|
-
type ClaimRewardDefinition = {
|
|
361
|
+
type GetMilestoneRewardMultiplierResponse = { Enabled: boolean; Multiplier?: null | number; Progress?: null | number; Source?: null | string; SourceKey?: null | string; };
|
|
362
|
+
type TierRewardSettings = { RewardMode?: null | string; RewardStackLowerTiers?: null | boolean; [key: string]: unknown; };
|
|
363
|
+
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; };
|
|
364
|
+
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; };
|
|
365
|
+
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; };
|
|
366
|
+
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
367
|
interface RewardDefinitions {
|
|
368
368
|
TierRewards?: TierRewardSettings | null;
|
|
369
369
|
MilestoneRewardMultiplier?: RewardProgressionMultiplierSpec | null;
|
|
@@ -392,18 +392,18 @@ declare const RewardAction: {
|
|
|
392
392
|
readonly GetMilestoneRewardMultiplier: "GetMilestoneRewardMultiplier";
|
|
393
393
|
};
|
|
394
394
|
type RewardAction = (typeof RewardAction)[keyof typeof RewardAction];
|
|
395
|
-
type ExperimentVariantCondition = { ExperimentID?: null | string; Variants?: null | Array<string>;
|
|
396
|
-
type SegmentGate = {
|
|
397
|
-
type RelativeWindow = { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number;
|
|
398
|
-
type ScheduledWindow = { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number;
|
|
399
|
-
type ScheduleChain = { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number;
|
|
400
|
-
type ScheduleChainPhase = {
|
|
401
|
-
type CyclicSchedule = {
|
|
402
|
-
type TriggerContext = { SourceType?: null | string; TileType?: null | string; TileIndex?: null | number; ChanceOutcomeID?: null | string; Outcome?: null | string; Params?: null | Record<string, string>;
|
|
403
|
-
type TriggerSource = { SourceType?: null | string;
|
|
404
|
-
type ScheduleSpec = { Mode?: null | string; IsActive?: null | boolean; Scheduled?: null |
|
|
405
|
-
type EventTokenConversion = {
|
|
406
|
-
type EventTokenDefinition = {
|
|
395
|
+
type ExperimentVariantCondition = { ExperimentID?: null | string; Variants?: null | Array<string>; [key: string]: unknown; };
|
|
396
|
+
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; };
|
|
397
|
+
type RelativeWindow = { OffsetSecondsFromParentStart?: null | number; DurationSeconds?: null | number; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; [key: string]: unknown; };
|
|
398
|
+
type ScheduledWindow = { StartUtc?: null | string; EndUtc?: null | string; AllowEarningAfterEnd?: null | boolean; ClaimGraceHours?: null | number; [key: string]: unknown; };
|
|
399
|
+
type ScheduleChain = { AnchorUtc?: null | string; MaxCycles?: null | number; PauseBetweenPhasesSec?: null | number; PauseBetweenCyclesSec?: null | number; [key: string]: unknown; };
|
|
400
|
+
type ScheduleChainPhase = { PhaseID?: null | string; Order?: null | number; DurationSec?: null | number; ClaimGraceHours?: null | number; [key: string]: unknown; };
|
|
401
|
+
type CyclicSchedule = { Reset?: null | string; IntervalSeconds?: null | number; AnchorUtc?: null | string; PauseBetweenCyclesSec?: null | number; ClaimGraceHours?: null | number; [key: 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>; [key: string]: unknown; };
|
|
403
|
+
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; };
|
|
404
|
+
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; };
|
|
405
|
+
type EventTokenConversion = { TargetCurrencyID?: null | string; Rate?: null | number; MaxConvertAmount?: null | number; [key: string]: unknown; };
|
|
406
|
+
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
407
|
|
|
408
408
|
declare const QuestStatus: {
|
|
409
409
|
readonly Active: "Active";
|
|
@@ -439,11 +439,11 @@ interface UserQuestState {
|
|
|
439
439
|
LastUpdatedUtc?: string;
|
|
440
440
|
}
|
|
441
441
|
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';
|
|
442
|
+
type QuestProgressUpdate = { QuestID: string; Status: 'Active' | 'Completed' | 'Claimed' | 'Expired'; CycleID?: null | string; ObjectiveID?: null | string; NewValue?: null | number; ObjectiveCompleted?: null | boolean; };
|
|
443
443
|
type GetUserQuestStateResponse = { State?: null | UserQuestState; PointsTracks?: null | Record<string, QuestPointsTrackView>; };
|
|
444
|
-
type ClaimQuestRewardResponse = { ServerTimeUtc: string; QuestID: string;
|
|
445
|
-
type ClaimMilestoneRewardResponse = { ServerTimeUtc: string;
|
|
446
|
-
type ClaimGroupCompletionRewardResponse = { ServerTimeUtc: string; CycleID: string; GroupCompletionID: string;
|
|
444
|
+
type ClaimQuestRewardResponse = { ServerTimeUtc: string; QuestID: string; CycleID?: null | string; NewStatus?: null | 'Active' | 'Completed' | 'Claimed' | 'Expired'; Resources?: null | ResourceOperation; };
|
|
445
|
+
type ClaimMilestoneRewardResponse = { ServerTimeUtc: string; CycleID: string; MilestoneID: string; PointsTotalEarned?: null | number; Resources?: null | ResourceOperation; };
|
|
446
|
+
type ClaimGroupCompletionRewardResponse = { ServerTimeUtc: string; CycleID: string; GroupCompletionID: string; GroupID?: null | string; CompletedGroupQuests?: null | number; RequiredGroupQuests?: null | number; Resources?: null | ResourceOperation; };
|
|
447
447
|
type AddQuestProgressResponse = { MetricID: string; Updates?: null | Array<QuestProgressUpdate>; };
|
|
448
448
|
type ClaimQuestRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimQuestRewardResponse; }>;
|
|
449
449
|
type ClaimMilestoneRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimMilestoneRewardResponse; }>;
|
|
@@ -460,8 +460,8 @@ declare const QuestPrerequisiteMode: {
|
|
|
460
460
|
readonly BlockClaimOnly: "BlockClaimOnly";
|
|
461
461
|
};
|
|
462
462
|
type QuestPrerequisiteMode = (typeof QuestPrerequisiteMode)[keyof typeof QuestPrerequisiteMode];
|
|
463
|
-
type QuestDefinition = {
|
|
464
|
-
type QuestGroupCompletionDefinition = {
|
|
463
|
+
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; };
|
|
464
|
+
type QuestGroupCompletionDefinition = { CompletionID?: null | string; GroupID?: null | string; RequiredCompletedQuests?: null | number; Gate?: null | SegmentGate; Reward?: null | ResourceGrant; PointsReward?: null | number; [key: string]: unknown; };
|
|
465
465
|
/** Cycle definition: schedule + milestone rewards + points-track token. */
|
|
466
466
|
interface QuestCycleDefinition {
|
|
467
467
|
CycleID?: string | null;
|
|
@@ -514,12 +514,12 @@ declare const QuestAction: {
|
|
|
514
514
|
readonly ClaimGroupCompletionReward: "ClaimGroupCompletionReward";
|
|
515
515
|
};
|
|
516
516
|
type QuestAction = (typeof QuestAction)[keyof typeof QuestAction];
|
|
517
|
-
type ResourceEntry = {
|
|
517
|
+
type ResourceEntry = { Type?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'UsdCent'; CurrencyID?: null | string; Amount?: null | number; CatalogID?: null | string; ItemID?: null | string; };
|
|
518
518
|
type EventTokenAddress = { EntityID: string; Type?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; };
|
|
519
|
-
type EventTokenOperation = {
|
|
519
|
+
type EventTokenOperation = { Address?: null | EventTokenAddress; Amount?: null | number; Source?: null | string; };
|
|
520
520
|
type ResourceBundle = { Entries?: null | Array<ResourceEntry>; EventTokens?: null | Array<EventTokenOperation>; };
|
|
521
521
|
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; }>;
|
|
522
|
+
type ResourceConsume = { Standard?: null | ResourceBundle; PremiumDiscounts?: null | Array<unknown>; PremiumTiers?: null | Array<{ MinPremiumTier?: null | number; RequiredPremiumID?: null | string; Resources?: null | ResourceBundle; }>; };
|
|
523
523
|
type ResourceOperation = { Grant?: null | ResourceGrant; Consume?: null | ResourceConsume; };
|
|
524
524
|
type ResourceDualPartyResult = { FromUserID?: null | string; ToUserID?: null | string; FromResult?: null | ResourceOperation; ToResult?: null | ResourceOperation; };
|
|
525
525
|
type ResourceTransferResult = { FromUserID?: null | string; ToUserID?: null | string; Transferred?: null | ResourceBundle; };
|
|
@@ -562,12 +562,12 @@ interface UserLeaderboardProgress {
|
|
|
562
562
|
interface UserLeaderboardsState {
|
|
563
563
|
ProgressByCycle?: Record<string, UserLeaderboardProgress>;
|
|
564
564
|
}
|
|
565
|
-
type LeaderboardUserEntry = { UserID: string; Score?: null | number; Rank?: null | number; LastScoreUpdateUtc?: null | string; IpHash?: null | string; PublicProfile?: null |
|
|
566
|
-
type GetLeaderboardResponse = { LeaderboardID: string;
|
|
567
|
-
type GetMyProgressResponse = { LeaderboardID: string;
|
|
568
|
-
type SubmitScoreResponse = { LeaderboardID: string;
|
|
569
|
-
type ClaimCycleRewardResponse = { ServerTimeUtc: string; LeaderboardID: string;
|
|
570
|
-
type ClaimLeaderboardMilestoneResponse = { ServerTimeUtc: string;
|
|
565
|
+
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; };
|
|
566
|
+
type GetLeaderboardResponse = { LeaderboardID: string; CycleVersion?: null | number; TotalParticipants?: null | number; CycleEndUtc?: null | string; TopUsers?: null | Array<LeaderboardUserEntry>; BracketID?: null | string; };
|
|
567
|
+
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; }>; };
|
|
568
|
+
type SubmitScoreResponse = { LeaderboardID: string; NewScore: number; CycleVersion: number; };
|
|
569
|
+
type ClaimCycleRewardResponse = { ServerTimeUtc: string; LeaderboardID: string; Rank?: null | number; Resources?: null | ResourceOperation; };
|
|
570
|
+
type ClaimLeaderboardMilestoneResponse = { ServerTimeUtc: string; LeaderboardID: string; MilestoneID: string; Resources?: null | ResourceOperation; };
|
|
571
571
|
type GetLeaderboardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | GetLeaderboardResponse; }>;
|
|
572
572
|
type GetProgressBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | GetMyProgressResponse; }>;
|
|
573
573
|
type ClaimCycleRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimCycleRewardResponse; }>;
|
|
@@ -580,11 +580,11 @@ interface LeaderboardOverview {
|
|
|
580
580
|
Leaderboard?: BatchItemResult<GetLeaderboardResponse> | null;
|
|
581
581
|
Progress?: BatchItemResult<GetMyProgressResponse> | null;
|
|
582
582
|
}
|
|
583
|
-
declare const zGetOverviewBatchResponse: z.ZodArray<z.ZodType<LeaderboardOverview, z.
|
|
583
|
+
declare const zGetOverviewBatchResponse: z.ZodArray<z.ZodType<LeaderboardOverview, unknown, z.core.$ZodTypeInternals<LeaderboardOverview, unknown>>>;
|
|
584
584
|
type GetOverviewBatchResponse = Array<LeaderboardOverview>;
|
|
585
|
-
type LeaderboardRankReward = {
|
|
586
|
-
type RankRewardSet = { RankRewards?: null | Array<
|
|
587
|
-
type LeaderboardChainedEvent = {
|
|
585
|
+
type LeaderboardRankReward = { Rank?: null | string; Rewards?: null | ResourceGrant; SeasonTierRewards?: null | SeasonTierRewardSet; [key: string]: unknown; };
|
|
586
|
+
type RankRewardSet = { RankRewards?: null | Array<LeaderboardRankReward>; [key: string]: unknown; };
|
|
587
|
+
type LeaderboardChainedEvent = { ChainedEventID?: null | string; Order?: null | number; DurationSec?: null | number; ClaimGraceHours?: null | number; [key: string]: unknown; };
|
|
588
588
|
/**
|
|
589
589
|
* Container of preset wiring for a leaderboard — one PresetBinding per block. Inline data
|
|
590
590
|
* (RankRewards/Milestones) lives on LeaderboardDefinition. null = presets unused.
|
|
@@ -685,10 +685,10 @@ interface UserSeasonsState {
|
|
|
685
685
|
States?: Record<string, UserSeasonState>;
|
|
686
686
|
}
|
|
687
687
|
type UserSeasonStateResponse = UserSeasonState;
|
|
688
|
-
type ActiveSeasonInfo = { SeasonChainID: string; Season?: null | {
|
|
688
|
+
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
689
|
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;
|
|
691
|
-
type SeasonChainDefinition = {
|
|
690
|
+
type ClaimTierRewardResponse = { SeasonChainID: string; TierNumber: number; CurrentSeasonID?: null | string; Resources?: null | ResourceOperation; };
|
|
691
|
+
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
692
|
/** Root configuration of the title's season system, returned by getDefinitions(). */
|
|
693
693
|
interface SeasonDefinitions {
|
|
694
694
|
Chains?: Record<string, SeasonChainDefinition> | null;
|
|
@@ -724,13 +724,13 @@ interface UserPremiumState {
|
|
|
724
724
|
ActivatedTrialIDs?: string[];
|
|
725
725
|
MaxActiveTier?: number;
|
|
726
726
|
}
|
|
727
|
-
type PremiumDefinition = {
|
|
727
|
+
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
728
|
interface PremiumDefinitions {
|
|
729
729
|
Definitions?: Record<string, PremiumDefinition> | null;
|
|
730
730
|
}
|
|
731
731
|
type PremiumDefinitionsResponse = { Premium?: null | PremiumDefinitions; };
|
|
732
732
|
type PremiumStateResponse = { ServerTimeUtc?: null | string; Premium?: null | UserPremiumState; };
|
|
733
|
-
type PremiumPurchaseResponse = { ServerTimeUtc?: null | string;
|
|
733
|
+
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
734
|
interface PremiumRequest extends BaseRequest {
|
|
735
735
|
PremiumID?: string;
|
|
736
736
|
Count?: number;
|
|
@@ -752,7 +752,7 @@ declare const PremiumAction: {
|
|
|
752
752
|
};
|
|
753
753
|
type PremiumAction = (typeof PremiumAction)[keyof typeof PremiumAction];
|
|
754
754
|
type EquippedItem = { CatalogID?: null | string; ItemID?: null | string; ItemInstanceID?: null | string; EquippedAt?: null | string; };
|
|
755
|
-
type CharacterModel = { CharacterID: string;
|
|
755
|
+
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
756
|
interface UserCharactersState {
|
|
757
757
|
Characters?: Record<string, CharacterModel>;
|
|
758
758
|
}
|
|
@@ -762,29 +762,29 @@ interface EquipmentSlot {
|
|
|
762
762
|
SlotID?: string;
|
|
763
763
|
}
|
|
764
764
|
type InventoryDelta = { ChangedInstances?: null | Record<string, UnstackableItemInstanceState>; RemovedInstanceIDs?: null | Array<string>; };
|
|
765
|
-
type GetCharactersResponse = { Characters?: null | Record<string,
|
|
766
|
-
type UpgradeStatLevelResponse = { ServerTimeUtc: string; CharacterID: string; StatID: string; StatLevel: number;
|
|
767
|
-
type UpgradeCharacterLevelResponse = { ServerTimeUtc: string; CharacterID: string; NewLevel: number;
|
|
768
|
-
type EquipItemsResponse = { ServerTimeUtc: string; CharacterID: string;
|
|
769
|
-
type UnequipItemsResponse = { ServerTimeUtc: string; CharacterID: string;
|
|
770
|
-
type CharacterUnequipResult = {
|
|
765
|
+
type GetCharactersResponse = { Characters?: null | Record<string, CharacterModel>; };
|
|
766
|
+
type UpgradeStatLevelResponse = { ServerTimeUtc: string; CharacterID: string; StatID: string; StatLevel: number; Power?: null | number; Resources?: null | ResourceOperation; };
|
|
767
|
+
type UpgradeCharacterLevelResponse = { ServerTimeUtc: string; CharacterID: string; NewLevel: number; Power?: null | number; Resources?: null | ResourceOperation; };
|
|
768
|
+
type EquipItemsResponse = { ServerTimeUtc: string; CharacterID: string; Equipment?: null | Record<string, EquippedItem>; ReplacedInstanceIDs?: null | Array<string>; Power?: null | number; Inventory?: null | InventoryDelta; };
|
|
769
|
+
type UnequipItemsResponse = { ServerTimeUtc: string; CharacterID: string; ClearedSlotIDs?: null | Array<string>; Power?: null | number; Inventory?: null | InventoryDelta; };
|
|
770
|
+
type CharacterUnequipResult = { ClearedSlotIDs?: null | Array<string>; Power?: null | number; };
|
|
771
771
|
type UnequipAllCharactersResponse = { ServerTimeUtc: string; Characters?: null | Record<string, CharacterUnequipResult>; Inventory?: null | InventoryDelta; };
|
|
772
|
-
type UnlockCharacterResponse = { ServerTimeUtc: string; CharacterID: string;
|
|
772
|
+
type UnlockCharacterResponse = { ServerTimeUtc: string; CharacterID: string; Power?: null | number; Resources?: null | ResourceOperation; };
|
|
773
773
|
type UnlockCharactersBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | UnlockCharacterResponse; }>; Resources?: null | ResourceOperation; };
|
|
774
774
|
type UpgradeCharacterLevelsBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | UpgradeCharacterLevelResponse; }>; Resources?: null | ResourceOperation; };
|
|
775
775
|
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;
|
|
777
|
-
type StatDefinition = { StatID: string;
|
|
778
|
-
type CharacterLevelDefinition = {
|
|
779
|
-
type CharacterEquipmentSlot = { SlotID: string; MinCharacterLevel?: null | number; StatRequirements?: null | Array<
|
|
780
|
-
type CharacterEquipment = { Slots?: null | Record<string,
|
|
781
|
-
type CharacterIdentity = { DisplayName?: null | string;
|
|
782
|
-
type CharacterClassification = {
|
|
783
|
-
type CharacterUnlock = {
|
|
784
|
-
type CharacterDefinition = { CharacterID: string;
|
|
785
|
-
type StatsPreset = { Stats?: null | Record<string,
|
|
786
|
-
type LevelsPreset = { Levels?: null | Record<string,
|
|
787
|
-
type EquipmentPreset = { Equipment?: null |
|
|
776
|
+
type StatRequirement = { RequiredStatID: string; RequiredLevel: number; [key: string]: unknown; };
|
|
777
|
+
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; };
|
|
778
|
+
type CharacterLevelDefinition = { Level?: null | number; UpgradeCost?: null | ResourceConsume; GlobalStatMultiplier?: null | number; StatMaxLevelMultiplier?: null | number; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
|
|
779
|
+
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; };
|
|
780
|
+
type CharacterEquipment = { Slots?: null | Record<string, CharacterEquipmentSlot>; [key: string]: unknown; };
|
|
781
|
+
type CharacterIdentity = { DisplayName?: null | string; Description?: null | string; Lore?: null | string; SortOrder?: null | number; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
|
|
782
|
+
type CharacterClassification = { ClassID?: null | string; RarityID?: null | string; Tags?: null | Array<string>; [key: string]: unknown; };
|
|
783
|
+
type CharacterUnlock = { UnlockedByDefault?: null | boolean; Cost?: null | ResourceConsume; [key: string]: unknown; };
|
|
784
|
+
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; };
|
|
785
|
+
type StatsPreset = { Stats?: null | Record<string, StatDefinition>; [key: string]: unknown; };
|
|
786
|
+
type LevelsPreset = { Levels?: null | Record<string, CharacterLevelDefinition>; [key: string]: unknown; };
|
|
787
|
+
type EquipmentPreset = { Equipment?: null | CharacterEquipment; [key: string]: unknown; };
|
|
788
788
|
/**
|
|
789
789
|
* Registry of shared (reusable) character setting sets (stats / levels / equipment).
|
|
790
790
|
* Characters reference them via CharacterDefinition.Presets. All blocks merge with inline by
|
|
@@ -874,13 +874,13 @@ interface UserMatchState {
|
|
|
874
874
|
PvPBattleStrategy?: BattleStepConfig[];
|
|
875
875
|
CreationLimits?: UserMatchCreationLimitState | null;
|
|
876
876
|
}
|
|
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;
|
|
878
|
-
type PvPMatch = { MatchID: string;
|
|
879
|
-
type CreateMatchResponse = { Status: 'Completed' | 'Open' | 'InProgress' | 'Cancelled'; MatchID: string;
|
|
880
|
-
type UpdateMatchResponse = { Match?: null |
|
|
881
|
-
type CancelMatchResponse = { Status: 'Completed' | 'Open' | 'InProgress' | 'Cancelled';
|
|
882
|
-
type InstantBattleResponse = {
|
|
883
|
-
type MatchesPageResponse = { Matches?: null | Array<
|
|
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; [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; };
|
|
878
|
+
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; };
|
|
879
|
+
type CreateMatchResponse = { Status: 'Completed' | 'Open' | 'InProgress' | 'Cancelled'; MatchID: string; Entry?: null | ResourceBundle; Resources?: null | ResourceOperation; };
|
|
880
|
+
type UpdateMatchResponse = { Match?: null | PvPMatch; };
|
|
881
|
+
type CancelMatchResponse = { MatchID: string; Status: 'Completed' | 'Open' | 'InProgress' | 'Cancelled'; Resources?: null | ResourceOperation; };
|
|
882
|
+
type InstantBattleResponse = { Battle?: null | BattleResult; Resources?: null | ResourceOperation; ResourcesDual?: null | ResourceDualPartyResult; };
|
|
883
|
+
type MatchesPageResponse = { Matches?: null | Array<PvPMatch>; Page?: null | number; PageSize?: null | number; HasMore?: null | boolean; };
|
|
884
884
|
interface MatchRequest extends BaseRequest {
|
|
885
885
|
MatchID?: string;
|
|
886
886
|
TargetUserID?: string;
|
|
@@ -907,10 +907,10 @@ declare const MatchAction: {
|
|
|
907
907
|
readonly GetDefinitions: "GetDefinitions";
|
|
908
908
|
};
|
|
909
909
|
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;
|
|
911
|
-
type MatchEconomySettings = { BurnRate?: null | number;
|
|
912
|
-
type MatchEntrySettings = { AllowVirtualCurrency?: null | boolean; AllowItems?: null | boolean; AllowEventTokens?: null | boolean; Allowed?: null | Array<{
|
|
913
|
-
type MatchCreationSettings = {
|
|
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; [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; };
|
|
911
|
+
type MatchEconomySettings = { BurnRate?: null | number; [key: string]: unknown; };
|
|
912
|
+
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; };
|
|
913
|
+
type MatchCreationSettings = { Cost?: null | ResourceConsume; RefundCostOnCancel?: null | boolean; MaxOpenMatches?: null | number; Limits?: null | LimitSpec; AllowPrivateMatches?: null | boolean; MaxMatchesPerOpponentPerDay?: null | number; [key: string]: unknown; };
|
|
914
914
|
/** One instant-battle rule, keyed by RuleID in InstantBattleDefinitions.Rules. */
|
|
915
915
|
interface InstantBattleRule {
|
|
916
916
|
RuleID?: string | null;
|
|
@@ -965,23 +965,23 @@ interface UserCollectionState {
|
|
|
965
965
|
[key: string]: unknown;
|
|
966
966
|
}
|
|
967
967
|
type GrantedCollectible = { CollectibleID: string; Rarity?: null | number; IsSpecial?: null | boolean; IsDuplicate?: null | boolean; CollectionCurrencyConverted?: null | number; };
|
|
968
|
-
type OpenPackResponse = {
|
|
969
|
-
type OpenCollectionChestResponse = {
|
|
970
|
-
type UseCollectibleJokerResponse = {
|
|
968
|
+
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>; };
|
|
969
|
+
type OpenCollectionChestResponse = { GrantedCollectibles?: null | Array<GrantedCollectible>; DuplicateCollectibles?: null | Array<GrantedCollectible>; CollectionCurrencyEarned?: null | number; NewCollectionCurrencyBalance?: null | number; Resources?: null | ResourceOperation; TriggeredPity?: null | Array<unknown>; };
|
|
970
|
+
type UseCollectibleJokerResponse = { GrantedCollectibleID?: null | string; NewlyCompletedSetID?: null | string; CollectionJustCompleted?: null | boolean; Resources?: null | ResourceOperation; };
|
|
971
971
|
type ClaimSetRewardResponse = { SetID: string; Resources?: null | ResourceOperation; };
|
|
972
972
|
type ClaimSetRewardsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | ClaimSetRewardResponse; }>;
|
|
973
973
|
type ClaimGrandPrizeResponse = { Resources?: null | ResourceOperation; };
|
|
974
|
-
type CollectionTradeOfferDocument = { OfferID: string;
|
|
975
|
-
type SendTradeOfferResponse = { OfferID: string;
|
|
974
|
+
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; };
|
|
975
|
+
type SendTradeOfferResponse = { OfferID: string; ExpiresAtUtc?: null | string; Resources?: null | ResourceOperation; };
|
|
976
976
|
type CancelTradeOfferResponse = { OfferID: string; Resources?: null | ResourceOperation; };
|
|
977
977
|
type AcceptTradeOfferResponse = { OfferID: string; ReceivedCollectibleID?: null | string; ReceivedIsSpecial?: null | boolean; SentCollectibleID?: null | string; SentCollectibleIsSpecial?: null | boolean; Transfer?: unknown; };
|
|
978
978
|
type DeclineTradeOfferResponse = { OfferID: string; Resources?: null | ResourceOperation; };
|
|
979
|
-
type GetTradeOffersResponse = { Offers?: null | Array<
|
|
980
|
-
type CollectionDefinition = {
|
|
981
|
-
type CollectionPackTypeDefinition = {
|
|
982
|
-
type DuplicateCollectionCurrencyConversion = { Rarity?: null | number; CollectionCurrencyGranted?: null | number;
|
|
983
|
-
type CollectionChestDefinition = {
|
|
984
|
-
type SpecialTradeEventDefinition = {
|
|
979
|
+
type GetTradeOffersResponse = { Offers?: null | Array<CollectionTradeOfferDocument>; };
|
|
980
|
+
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; };
|
|
981
|
+
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; };
|
|
982
|
+
type DuplicateCollectionCurrencyConversion = { Rarity?: null | number; CollectionCurrencyGranted?: null | number; [key: string]: unknown; };
|
|
983
|
+
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; };
|
|
984
|
+
type SpecialTradeEventDefinition = { SpecialTradeEventID?: null | string; StartUtc?: null | string; EndUtc?: null | string; AllowedSpecialCollectibleIDs?: null | Array<string>; SpecialTradeEventDailyTradeLimit?: null | number; [key: string]: unknown; };
|
|
985
985
|
/** The title's collection-system config (config), returned by getCollectionDefinitions(). */
|
|
986
986
|
interface CollectionDefinitions {
|
|
987
987
|
Collections?: Record<string, CollectionDefinition> | null;
|
|
@@ -1062,13 +1062,13 @@ declare const CoopMemberStatus: {
|
|
|
1062
1062
|
readonly Replaced: "Replaced";
|
|
1063
1063
|
};
|
|
1064
1064
|
type CoopMemberStatus = (typeof CoopMemberStatus)[keyof typeof CoopMemberStatus];
|
|
1065
|
-
type CoopBuildObjectsMemberState = { ObjectIndex?: null | number; ObjectCompletionRewardClaimed?: null | boolean;
|
|
1066
|
-
type CoopGroupMember = { UserID?: null | string; PublicData?: null |
|
|
1067
|
-
type CoopPartnerObjectState = { Index?: null | number; OwnerUserID?: null | string; CurrentProgress?: null | number; MaxProgress?: null | number; IsCompleted?: null | boolean;
|
|
1068
|
-
type CoopBuildObjectsState = { Objects?: null | Array<
|
|
1069
|
-
type CoopGroupDocument = {
|
|
1070
|
-
type ActiveCoopEventInfo = { CoopChainID: string;
|
|
1071
|
-
type CoopEventDefinition = {
|
|
1065
|
+
type CoopBuildObjectsMemberState = { ObjectIndex?: null | number; ObjectCompletionRewardClaimed?: null | boolean; [key: string]: unknown; };
|
|
1066
|
+
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; };
|
|
1067
|
+
type CoopPartnerObjectState = { Index?: null | number; OwnerUserID?: null | string; CurrentProgress?: null | number; MaxProgress?: null | number; IsCompleted?: null | boolean; [key: string]: unknown; };
|
|
1068
|
+
type CoopBuildObjectsState = { Objects?: null | Array<CoopPartnerObjectState>; [key: string]: unknown; };
|
|
1069
|
+
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; };
|
|
1070
|
+
type ActiveCoopEventInfo = { CoopChainID: string; [key: string]: unknown; };
|
|
1071
|
+
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
1072
|
/** A coop event chain: cyclic schedule + ordered events + audience gate. */
|
|
1073
1073
|
interface CoopEventChainDefinition {
|
|
1074
1074
|
CoopChainID?: string | null;
|
|
@@ -1078,11 +1078,11 @@ interface CoopEventChainDefinition {
|
|
|
1078
1078
|
Gate?: SegmentGate | null;
|
|
1079
1079
|
[key: string]: unknown;
|
|
1080
1080
|
}
|
|
1081
|
-
type CoopUserStateResponse = { ServerTimeUtc?: null | string; UserState?: null | UserCoopEventState; ActiveGroup?: null |
|
|
1082
|
-
type CoopGroupStateResponse = { ServerTimeUtc?: null | string;
|
|
1083
|
-
type CoopSpinResponse = { ServerTimeUtc?: null | string;
|
|
1084
|
-
type CoopClaimRewardResponse = { ServerTimeUtc?: null | string;
|
|
1085
|
-
type CoopLeaveGroupResponse = { ServerTimeUtc?: null | string;
|
|
1081
|
+
type CoopUserStateResponse = { ServerTimeUtc?: null | string; UserState?: null | UserCoopEventState; ActiveGroup?: null | CoopGroupDocument; };
|
|
1082
|
+
type CoopGroupStateResponse = { ServerTimeUtc?: null | string; Group?: null | CoopGroupDocument; SecondsRemaining?: null | number; };
|
|
1083
|
+
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; };
|
|
1084
|
+
type CoopClaimRewardResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; RewardType?: null | string; Resources?: null | ResourceOperation; };
|
|
1085
|
+
type CoopLeaveGroupResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; Success?: null | boolean; };
|
|
1086
1086
|
/** Root config of the title's cooperative events system. Plugs into TitlePublicConfig as CoopEvent. */
|
|
1087
1087
|
interface CoopEventDefinitions {
|
|
1088
1088
|
/** All coop event chains of the title. Dictionary key is CoopChainID. */
|
|
@@ -1105,7 +1105,7 @@ declare const CoopEventAction: {
|
|
|
1105
1105
|
readonly LeaveGroup: "LeaveGroup";
|
|
1106
1106
|
};
|
|
1107
1107
|
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;
|
|
1108
|
+
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
1109
|
|
|
1110
1110
|
/** enum DealOfferActivationStatus — Active | Exhausted | Expired | Dismissed. */
|
|
1111
1111
|
declare const DealOfferActivationStatus: {
|
|
@@ -1124,20 +1124,20 @@ declare const DealNodeRuntimeStatus: {
|
|
|
1124
1124
|
readonly Hidden: "Hidden";
|
|
1125
1125
|
};
|
|
1126
1126
|
type DealNodeRuntimeStatus = (typeof DealNodeRuntimeStatus)[keyof typeof DealNodeRuntimeStatus];
|
|
1127
|
-
type UserDealNodeState = {
|
|
1128
|
-
type UserDealTrackState = { TrackID?: null | string; CurrentValue?: null | number; LastUpdatedUtc?: null | string;
|
|
1129
|
-
type UserDealOfferActivationState = {
|
|
1130
|
-
type UserDealSlotState = { SlotID?: null | string;
|
|
1131
|
-
type UserDealNodeLifetimeCounts = { TotalExecutions?: null | number; DailyExecutions?: null | number; DailyResetUtc?: null | string;
|
|
1132
|
-
type UserDealOfferHistory = {
|
|
1127
|
+
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; };
|
|
1128
|
+
type UserDealTrackState = { TrackID?: null | string; CurrentValue?: null | number; LastUpdatedUtc?: null | string; [key: string]: unknown; };
|
|
1129
|
+
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; };
|
|
1130
|
+
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; };
|
|
1131
|
+
type UserDealNodeLifetimeCounts = { TotalExecutions?: null | number; DailyExecutions?: null | number; DailyResetUtc?: null | string; [key: string]: unknown; };
|
|
1132
|
+
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
1133
|
/** Root runtime state of Deal Offers for one user: per-slot state + per-offer history. */
|
|
1134
1134
|
interface UserDealOffersState {
|
|
1135
1135
|
Slots?: Record<string, UserDealSlotState> | null;
|
|
1136
1136
|
OfferHistory?: Record<string, UserDealOfferHistory> | null;
|
|
1137
1137
|
LastUpdatedUtc?: string | null;
|
|
1138
1138
|
}
|
|
1139
|
-
type DealSlotDefinition = {
|
|
1140
|
-
type DealNodeActionDefinition = { Purchase?: null | { StoreOfferID?: null | string; BillingProductID?: null | string; DirectCost?: null | ResourceConsume; UseExternalRewards?: null | boolean;
|
|
1139
|
+
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; };
|
|
1140
|
+
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
1141
|
/**
|
|
1142
1142
|
* Container of preset wiring for an offer — one PresetBinding per block. Inline data (Milestones)
|
|
1143
1143
|
* lives on DealOfferDefinition. null = presets unused.
|
|
@@ -1145,9 +1145,9 @@ type DealNodeActionDefinition = { Purchase?: null | { StoreOfferID?: null | stri
|
|
|
1145
1145
|
interface DealOfferPresetBindings {
|
|
1146
1146
|
Milestones?: PresetBinding | null;
|
|
1147
1147
|
}
|
|
1148
|
-
type DealTrackChange = {
|
|
1149
|
-
type DealTrackDefinition = {
|
|
1150
|
-
type DealNodeUnlockRules = { RequiredCompletedNodeIDs?: null | Array<string>; RequiredAnyCompletedNodeIDs?: null | Array<string>; RequiredTracks?: null | Array<{
|
|
1148
|
+
type DealTrackChange = { TrackID?: null | string; Amount?: null | number; RespectBounds?: null | boolean; [key: string]: unknown; };
|
|
1149
|
+
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; };
|
|
1150
|
+
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
1151
|
/**
|
|
1152
1152
|
* A single offer node — an atomic player action (purchase / free claim / watch ad).
|
|
1153
1153
|
* Hand-written interface + annotated schema to avoid TS7056 (inferred type too long).
|
|
@@ -1210,7 +1210,7 @@ interface DealOfferDefinitions {
|
|
|
1210
1210
|
}
|
|
1211
1211
|
type DealOffersDefinitionResponse = { DealOfferDefinitions?: null | DealOfferDefinitions; };
|
|
1212
1212
|
type UserDealOffersStateResponse = { DealOffers?: null | UserDealOffersState; };
|
|
1213
|
-
type DealMilestoneProgressInfo = { EntityID?: null | string; TotalEarned?: null | number; ClaimedIDs?: null | Array<string>; ReachedUnclaimedIDs?: null | Array<string>;
|
|
1213
|
+
type DealMilestoneProgressInfo = { EntityID?: null | string; TotalEarned?: null | number; ClaimedIDs?: null | Array<string>; ReachedUnclaimedIDs?: null | Array<string>; [key: string]: unknown; };
|
|
1214
1214
|
/**
|
|
1215
1215
|
* Resolved state of one slot for the client: definition + runtime state + cost preview.
|
|
1216
1216
|
* Hand-written interface + annotated schema to avoid TS7056.
|
|
@@ -1228,11 +1228,11 @@ interface ActiveDealSlotInfo {
|
|
|
1228
1228
|
Milestone?: DealMilestoneProgressInfo | null;
|
|
1229
1229
|
}
|
|
1230
1230
|
type GetActiveDealsResponse = { Slots?: null | Array<ActiveDealSlotInfo>; };
|
|
1231
|
-
type ExecuteNodeResponse = { ServerTimeUtc?: null | string;
|
|
1232
|
-
type DismissDealResponse = { ServerTimeUtc?: null | string;
|
|
1233
|
-
type RecordShowResponse = { ServerTimeUtc?: null | string;
|
|
1234
|
-
type ClaimDealMilestoneResponse = { ServerTimeUtc?: null | string;
|
|
1235
|
-
type ClaimDealMilestonesBatchResponse = { ServerTimeUtc?: null | string;
|
|
1231
|
+
type ExecuteNodeResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; NodeID?: null | string; NodeCompleted?: null | boolean; OfferExhausted?: null | boolean; Idempotent?: null | boolean; Resources?: null | ResourceOperation; };
|
|
1232
|
+
type DismissDealResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; Resources?: null | ResourceOperation; };
|
|
1233
|
+
type RecordShowResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; Resources?: null | ResourceOperation; };
|
|
1234
|
+
type ClaimDealMilestoneResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; MilestoneID?: null | string; Resources?: null | ResourceOperation; };
|
|
1235
|
+
type ClaimDealMilestonesBatchResponse = { ServerTimeUtc?: null | string; SlotID?: null | string; ClaimedIDs?: null | Array<string>; Rejected?: null | Record<string, string>; Resources?: null | ResourceOperation; };
|
|
1236
1236
|
interface DealOfferRequest extends BaseRequest {
|
|
1237
1237
|
SlotID?: string;
|
|
1238
1238
|
NodeID?: string;
|
|
@@ -1265,7 +1265,7 @@ interface UserReferralState {
|
|
|
1265
1265
|
UpdatedAt?: string;
|
|
1266
1266
|
[key: string]: unknown;
|
|
1267
1267
|
}
|
|
1268
|
-
type SpendRewardDefinition = {
|
|
1268
|
+
type SpendRewardDefinition = { FeatureKey?: null | string; IsEnabled?: null | boolean; Percent?: null | number; SourceCurrencyID?: null | string; TargetCurrencyID?: null | string; [key: string]: unknown; };
|
|
1269
1269
|
interface ReferralDefinitions {
|
|
1270
1270
|
IsEnabled?: boolean | null;
|
|
1271
1271
|
/** One-time reward for the current user's first activation of another user's referral code. */
|
|
@@ -1278,8 +1278,8 @@ interface ReferralDefinitionsResponse {
|
|
|
1278
1278
|
ReferralDefinitions?: ReferralDefinitions | null;
|
|
1279
1279
|
}
|
|
1280
1280
|
type UserReferralStateResponse = { Referral?: null | UserReferralState; };
|
|
1281
|
-
type ActivateReferralCodeResponse = {
|
|
1282
|
-
type ClaimInviteRewardResponse = {
|
|
1281
|
+
type ActivateReferralCodeResponse = { ReferralCode?: null | string; IsFirstActivation?: null | boolean; Resources?: null | ResourceOperation; };
|
|
1282
|
+
type ClaimInviteRewardResponse = { RewardID?: null | string; Resources?: null | ResourceOperation; };
|
|
1283
1283
|
interface ReferralRequest extends BaseRequest {
|
|
1284
1284
|
ReferralCode?: string;
|
|
1285
1285
|
InviteRewardID?: string;
|
|
@@ -1305,8 +1305,8 @@ declare const TimelineEventType: {
|
|
|
1305
1305
|
readonly FriendAdd: "FriendAdd";
|
|
1306
1306
|
};
|
|
1307
1307
|
type TimelineEventType = (typeof TimelineEventType)[keyof typeof TimelineEventType];
|
|
1308
|
-
type FriendPublicProfile = { UserID: string; PublicData?: null |
|
|
1309
|
-
type SocialTimelineEvent = {
|
|
1308
|
+
type FriendPublicProfile = { UserID: string; PublicData?: null | UserPublicDataModel; };
|
|
1309
|
+
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
1310
|
interface UserSocialState {
|
|
1311
1311
|
Accepted?: string[];
|
|
1312
1312
|
IncomingRequests?: string[];
|
|
@@ -1314,8 +1314,8 @@ interface UserSocialState {
|
|
|
1314
1314
|
Timeline?: SocialTimelineEvent[];
|
|
1315
1315
|
}
|
|
1316
1316
|
type FriendsListResponse = { Friends?: null | Array<FriendPublicProfile>; };
|
|
1317
|
-
type FriendActionResponse = {
|
|
1318
|
-
type TimelineResponse = { Events?: null | Array<
|
|
1317
|
+
type FriendActionResponse = { TargetUserID?: null | string; Status?: null | string; };
|
|
1318
|
+
type TimelineResponse = { Events?: null | Array<SocialTimelineEvent>; };
|
|
1319
1319
|
interface SocialRequest extends BaseRequest {
|
|
1320
1320
|
TargetUserID?: string;
|
|
1321
1321
|
Limit?: number;
|
|
@@ -1339,11 +1339,11 @@ declare const TimedBoostStackingPolicy: {
|
|
|
1339
1339
|
readonly Stack: "Stack";
|
|
1340
1340
|
};
|
|
1341
1341
|
type TimedBoostStackingPolicy = (typeof TimedBoostStackingPolicy)[keyof typeof TimedBoostStackingPolicy];
|
|
1342
|
-
type TimedBoostDefinition = {
|
|
1343
|
-
type ScheduledBoostDefinition = {
|
|
1344
|
-
type BoostChainDefinition = {
|
|
1345
|
-
type TriggeredBoostDefinition = {
|
|
1346
|
-
type TimedBoostGlobalSettings = { StackingCaps?: null | Record<string, { MaxAddPercent?: null | number; MaxMultiply?: null | number; MaxAddFlat?: null | number;
|
|
1342
|
+
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; };
|
|
1343
|
+
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; };
|
|
1344
|
+
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; };
|
|
1345
|
+
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; };
|
|
1346
|
+
type TimedBoostGlobalSettings = { StackingCaps?: null | Record<string, { MaxAddPercent?: null | number; MaxMultiply?: null | number; MaxAddFlat?: null | number; [key: string]: unknown; }>; [key: string]: unknown; };
|
|
1347
1347
|
interface TimedBoostDefinitions {
|
|
1348
1348
|
Definitions?: Record<string, TimedBoostDefinition> | null;
|
|
1349
1349
|
ScheduledBoosts?: Record<string, ScheduledBoostDefinition> | null;
|
|
@@ -1351,23 +1351,23 @@ interface TimedBoostDefinitions {
|
|
|
1351
1351
|
TriggeredBoosts?: Record<string, TriggeredBoostDefinition> | null;
|
|
1352
1352
|
Settings?: TimedBoostGlobalSettings | null;
|
|
1353
1353
|
}
|
|
1354
|
-
type ActiveTimedBoost = {
|
|
1355
|
-
type BoostTriggerCounter = { Date?: null | string; DailyCount?: null | number; LastFiredUtc?: null | string;
|
|
1354
|
+
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; };
|
|
1355
|
+
type BoostTriggerCounter = { Date?: null | string; DailyCount?: null | number; LastFiredUtc?: null | string; [key: string]: unknown; };
|
|
1356
1356
|
interface UserTimedBoostsState {
|
|
1357
1357
|
Active?: Record<string, ActiveTimedBoost>;
|
|
1358
1358
|
Version?: number;
|
|
1359
1359
|
Triggers?: Record<string, BoostTriggerCounter>;
|
|
1360
1360
|
}
|
|
1361
|
-
type GetActiveTimedBoostsResponse = { ServerTimeUtc?: null | string; Active?: null | Record<string,
|
|
1362
|
-
type ActivateTimedBoostResponse = { ServerTimeUtc?: null | string;
|
|
1361
|
+
type GetActiveTimedBoostsResponse = { ServerTimeUtc?: null | string; Active?: null | Record<string, ActiveTimedBoost>; };
|
|
1362
|
+
type ActivateTimedBoostResponse = { ServerTimeUtc?: null | string; BoostID?: null | string; StackingPolicy?: null | string; ActivatedBoost?: null | ActiveTimedBoost; Resources?: null | ResourceOperation; };
|
|
1363
1363
|
/** enum BoostWindowKind — Scheduled | Chain. */
|
|
1364
1364
|
declare const BoostWindowKind: {
|
|
1365
1365
|
readonly Scheduled: "Scheduled";
|
|
1366
1366
|
readonly Chain: "Chain";
|
|
1367
1367
|
};
|
|
1368
1368
|
type BoostWindowKind = (typeof BoostWindowKind)[keyof typeof BoostWindowKind];
|
|
1369
|
-
type ActiveBoostWindowInfo = {
|
|
1370
|
-
type GetActiveBoostWindowsResponse = { ServerTimeUtc?: null | string; Windows?: null | Array<
|
|
1369
|
+
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; };
|
|
1370
|
+
type GetActiveBoostWindowsResponse = { ServerTimeUtc?: null | string; Windows?: null | Array<ActiveBoostWindowInfo>; };
|
|
1371
1371
|
interface TimedBoostRequest extends BaseRequest {
|
|
1372
1372
|
BoostID?: string;
|
|
1373
1373
|
}
|
|
@@ -1394,17 +1394,17 @@ declare const CustomDataWriter: {
|
|
|
1394
1394
|
readonly System: "System";
|
|
1395
1395
|
};
|
|
1396
1396
|
type CustomDataWriter = (typeof CustomDataWriter)[keyof typeof CustomDataWriter];
|
|
1397
|
-
type UserCustomDataRecord = {
|
|
1397
|
+
type UserCustomDataRecord = { Value?: null | string; UpdatedAt?: null | string; Version?: null | number; LastWriter?: null | 'Client' | 'Server' | 'System'; ExpiresAt?: null | string; [key: string]: unknown; };
|
|
1398
1398
|
interface UserCustomDataState {
|
|
1399
1399
|
Version?: number;
|
|
1400
1400
|
Private?: Record<string, UserCustomDataRecord>;
|
|
1401
1401
|
Public?: Record<string, UserCustomDataRecord>;
|
|
1402
1402
|
ReadOnly?: Record<string, UserCustomDataRecord>;
|
|
1403
1403
|
}
|
|
1404
|
-
type GetMyUserCustomDataResponse = { Version?: null | number; Private?: null | Record<string,
|
|
1405
|
-
type GetPublicUserCustomDataResponse = { UserID?: null | string; Version?: null | number; Public?: null | Record<string,
|
|
1406
|
-
type SetUserCustomDataResponse = { KeyID: string; ServerTimeUtc?: null | string;
|
|
1407
|
-
type BatchSetUserCustomDataResponse = { ServerTimeUtc?: null | string; Results?: null | Array<{ KeyID: string;
|
|
1404
|
+
type GetMyUserCustomDataResponse = { Version?: null | number; Private?: null | Record<string, UserCustomDataRecord>; Public?: null | Record<string, UserCustomDataRecord>; ReadOnly?: null | Record<string, UserCustomDataRecord>; };
|
|
1405
|
+
type GetPublicUserCustomDataResponse = { UserID?: null | string; Version?: null | number; Public?: null | Record<string, UserCustomDataRecord>; };
|
|
1406
|
+
type SetUserCustomDataResponse = { KeyID: string; ServerTimeUtc?: null | string; Bucket?: null | string; Version?: null | number; ExpiresAt?: null | string; };
|
|
1407
|
+
type BatchSetUserCustomDataResponse = { ServerTimeUtc?: null | string; Results?: null | Array<{ KeyID: string; Bucket?: null | string; Version?: null | number; ExpiresAt?: null | string; }>; };
|
|
1408
1408
|
type BatchDeleteUserCustomDataResponse = { ServerTimeUtc?: null | string; DeletedCount?: null | number; };
|
|
1409
1409
|
type BatchGetPublicUserCustomDataResponse = { Results?: null | Array<GetPublicUserCustomDataResponse>; NotFoundUserIDs?: null | Array<string>; };
|
|
1410
1410
|
declare const CustomDataValueType: {
|
|
@@ -1414,7 +1414,7 @@ declare const CustomDataValueType: {
|
|
|
1414
1414
|
readonly Json: "Json";
|
|
1415
1415
|
};
|
|
1416
1416
|
type CustomDataValueType = (typeof CustomDataValueType)[keyof typeof CustomDataValueType];
|
|
1417
|
-
type UserCustomDataKeyDefinition = { KeyID: string;
|
|
1417
|
+
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
1418
|
/** Custom User Data V2 config: schema-managed key registry + default size/TTL limits. */
|
|
1419
1419
|
interface UserCustomDataDefinitions {
|
|
1420
1420
|
Keys?: Record<string, UserCustomDataKeyDefinition> | null;
|
|
@@ -1454,7 +1454,7 @@ declare const UserCustomDataAction: {
|
|
|
1454
1454
|
readonly BatchGetPublicUserCustomDataOf: "BatchGetPublicUserCustomDataOf";
|
|
1455
1455
|
};
|
|
1456
1456
|
type UserCustomDataAction = (typeof UserCustomDataAction)[keyof typeof UserCustomDataAction];
|
|
1457
|
-
type UserPublicDataModel = {
|
|
1457
|
+
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
1458
|
|
|
1459
1459
|
declare const RaidMode: {
|
|
1460
1460
|
readonly Fast: "Fast";
|
|
@@ -1471,9 +1471,9 @@ declare const AttackOutcome: {
|
|
|
1471
1471
|
readonly Blocked: "Blocked";
|
|
1472
1472
|
};
|
|
1473
1473
|
type AttackOutcome = (typeof AttackOutcome)[keyof typeof AttackOutcome];
|
|
1474
|
-
type BuildingState = { SlotIndex: number; Level?: null | number; IsDamaged?: null | boolean; MaxLevelRewardClaimed?: null | boolean;
|
|
1475
|
-
type HeistCell = { Symbol?: null | string | number; OnOpenBonus?: null | ResourceGrant; BonusTag?: null | string;
|
|
1476
|
-
type SpecialGradationTierSnapshot = {
|
|
1474
|
+
type BuildingState = { SlotIndex: number; Level?: null | number; IsDamaged?: null | boolean; MaxLevelRewardClaimed?: null | boolean; [key: string]: unknown; };
|
|
1475
|
+
type HeistCell = { Symbol?: null | string | number; OnOpenBonus?: null | ResourceGrant; BonusTag?: null | string; [key: string]: unknown; };
|
|
1476
|
+
type SpecialGradationTierSnapshot = { ElapsedSeconds?: null | number; Reward?: null | ResourceGrant; [key: string]: unknown; };
|
|
1477
1477
|
interface SpecialPendingState {
|
|
1478
1478
|
ModeID?: string;
|
|
1479
1479
|
ChoiceID?: string | null;
|
|
@@ -1522,23 +1522,23 @@ interface UserGameLoopsState {
|
|
|
1522
1522
|
Board?: BoardLoopState | null;
|
|
1523
1523
|
CommunityChest?: UserCommunityChestState | null;
|
|
1524
1524
|
}
|
|
1525
|
-
type SpecialModeStats = { PlayedCount?: null | number; RewardsClaimedCount?: null | number; InstantClaimsCount?: null | number; EarlyClaimsCount?: null | number; LateClaimsCount?: null | number; AdViewsTotal?: null | number;
|
|
1526
|
-
type RewardMultiplierRange = {
|
|
1527
|
-
type ScaledResourceOperation = {
|
|
1528
|
-
type BoardDiceConfig = { Count?: null | number; Sides?: null | number;
|
|
1529
|
-
type BoardBotConfig = { ShieldChance?: null | number; DamagedBuildingChance?: null | number; RankMultiplierMin?: null | number; RankMultiplierMax?: null | number; RankOffsetMin?: null | number; RankOffsetMax?: null | number;
|
|
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;
|
|
1531
|
-
type StageEconomyOverride = {
|
|
1532
|
-
type BuildingDefinition = {
|
|
1533
|
-
type BoardTemplateDefinition = { Tiles?: null | Record<string, {
|
|
1534
|
-
type HeistRaidVariant = { Weight?: null | number; Tag?: null | string; MinBonusCells?: null | number; MaxBonusCells?: null | number; BonusPool?: null | Array<{ Weight?: null | number; Bonus?: null |
|
|
1525
|
+
type SpecialModeStats = { PlayedCount?: null | number; RewardsClaimedCount?: null | number; InstantClaimsCount?: null | number; EarlyClaimsCount?: null | number; LateClaimsCount?: null | number; AdViewsTotal?: null | number; [key: string]: unknown; };
|
|
1526
|
+
type RewardMultiplierRange = { Min?: null | number; Max?: null | number; [key: string]: unknown; };
|
|
1527
|
+
type ScaledResourceOperation = { Operation?: null | ResourceOperation; ScaleWithRollMultiplier?: null | boolean; [key: string]: unknown; };
|
|
1528
|
+
type BoardDiceConfig = { Count?: null | number; Sides?: null | number; [key: string]: unknown; };
|
|
1529
|
+
type BoardBotConfig = { ShieldChance?: null | number; DamagedBuildingChance?: null | number; RankMultiplierMin?: null | number; RankMultiplierMax?: null | number; RankOffsetMin?: null | number; RankOffsetMax?: null | number; [key: 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; [key: string]: unknown; };
|
|
1531
|
+
type StageEconomyOverride = { CostMatrix?: null | Array<Array<number>>; PerBoardGrowth?: null | number; EconomyScale?: null | number; ScaledResources?: null | ResourceBundle; [key: string]: unknown; };
|
|
1532
|
+
type BuildingDefinition = { SlotIndex?: null | number; Name?: null | string; AssetPaths?: null | Record<string, string>; MaxLevel?: null | number; MaxLevelReward?: null | ResourceGrant; [key: string]: unknown; };
|
|
1533
|
+
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; };
|
|
1534
|
+
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
1535
|
/** Raid-grid generation config for a stage: weighted variants selected per raid. */
|
|
1536
1536
|
interface HeistGridBonusConfig {
|
|
1537
1537
|
Variants?: HeistRaidVariant[] | null;
|
|
1538
1538
|
}
|
|
1539
|
-
type ChanceTable = { Outcomes?: null | Array<{
|
|
1540
|
-
type SpecialClaimMultipliers = { PerAdMultiplierRange?: null |
|
|
1541
|
-
type SpecialGradationConfig = { Tiers?: null | Array<{
|
|
1539
|
+
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; };
|
|
1540
|
+
type SpecialClaimMultipliers = { PerAdMultiplierRange?: null | RewardMultiplierRange; MaxAdViews?: null | number; AdCreditCost?: null | number; FormulaKind?: null | string; ApplyMultiplierOnEarlyClaim?: null | boolean; [key: string]: unknown; };
|
|
1541
|
+
type SpecialGradationConfig = { Tiers?: null | Array<{ ElapsedSeconds?: null | number; Reward?: null | ScaledResourceOperation; [key: string]: unknown; }>; BelowFirstTierReward?: null | ScaledResourceOperation; [key: string]: unknown; };
|
|
1542
1542
|
/** A single choice in a Special mode (Instant reward or Timed flow with multipliers/gradation). */
|
|
1543
1543
|
interface SpecialModeChoice {
|
|
1544
1544
|
ChoiceID?: string | null;
|
|
@@ -1555,7 +1555,7 @@ interface SpecialModeDefinition {
|
|
|
1555
1555
|
OfferExpireSeconds?: number | null;
|
|
1556
1556
|
ClaimExpireSeconds?: number | null;
|
|
1557
1557
|
}
|
|
1558
|
-
type AttackBonusDrop = {
|
|
1558
|
+
type AttackBonusDrop = { Chance?: null | number; RequiredOutcome?: null | string; Reward?: null | ScaledResourceOperation; Tag?: null | string; [key: string]: unknown; };
|
|
1559
1559
|
/** Server-configured resource operations for all in-stage game events. */
|
|
1560
1560
|
interface StageOperations {
|
|
1561
1561
|
OnPassStart?: ScaledResourceOperation | null;
|
|
@@ -1635,9 +1635,9 @@ interface GameLoopDefinitions {
|
|
|
1635
1635
|
CommunityChest?: CommunityChestDefinition | null;
|
|
1636
1636
|
[key: string]: unknown;
|
|
1637
1637
|
}
|
|
1638
|
-
type RollActionData = { TargetUserID?: null | string;
|
|
1639
|
-
type SpecialModeOfferData = { ModeID?: null | string; Choices?: null | Array<{
|
|
1640
|
-
type CommunityChestContributionResult = {
|
|
1638
|
+
type RollActionData = { TargetUserID?: null | string; IsBot?: null | boolean; PublicData?: null | UserPublicDataModel; TargetBuildingStates?: null | Array<BuildingState>; TargetHasShield?: null | boolean; [key: string]: unknown; };
|
|
1639
|
+
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; };
|
|
1640
|
+
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
1641
|
interface BoardRollResponse {
|
|
1642
1642
|
UsedMultiplier?: number | null;
|
|
1643
1643
|
Steps?: number | null;
|
|
@@ -1651,12 +1651,12 @@ interface BoardRollResponse {
|
|
|
1651
1651
|
SpecialModeOffer?: SpecialModeOfferData | null;
|
|
1652
1652
|
CommunityChestContribution?: CommunityChestContributionResult | null;
|
|
1653
1653
|
}
|
|
1654
|
-
type AttackResponse = { Outcome?: null | string;
|
|
1655
|
-
type RaidResponse = { Status?: null | string; Outcome?: null | string;
|
|
1656
|
-
type BuildResponse = { BuiltIndex: number;
|
|
1657
|
-
type SpecialChooseResponse = { Mode?: null | string | number;
|
|
1658
|
-
type SpecialApplyMultiplierResponse = { AdViewsUsed?: null | number; RolledMultiplier?: null | number; AccumulatedMultiplier?: null | number; RemainingAdViews?: null | number;
|
|
1659
|
-
type SpecialClaimResponse = {
|
|
1654
|
+
type AttackResponse = { Outcome?: null | string; IsBotTarget?: null | boolean; BuildingIndexHit?: null | number; Operation?: null | ResourceOperation; DualResult?: null | ResourceDualPartyResult; [key: string]: unknown; };
|
|
1655
|
+
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; };
|
|
1656
|
+
type BuildResponse = { BuiltIndex: number; NewLevel?: null | number; StageComplete?: null | boolean; MaxLevelRewardClaimed?: null | boolean; Operation?: null | ResourceOperation; [key: string]: unknown; };
|
|
1657
|
+
type SpecialChooseResponse = { Mode?: null | string | number; Operation?: null | ResourceOperation; DurationSeconds?: null | number; StartedAtUtc?: null | string; ExpiresAtUtc?: null | string; [key: string]: unknown; };
|
|
1658
|
+
type SpecialApplyMultiplierResponse = { AdViewsUsed?: null | number; RolledMultiplier?: null | number; AccumulatedMultiplier?: null | number; RemainingAdViews?: null | number; [key: string]: unknown; };
|
|
1659
|
+
type SpecialClaimResponse = { FinalMultiplier?: null | number; AdViewsUsed?: null | number; AccumulatedMultiplier?: null | number; IsEarlyClaim?: null | boolean; Operation?: null | ResourceOperation; [key: string]: unknown; };
|
|
1660
1660
|
/** enum CommunityChestStatus — mirror of CoopGroupStatus. */
|
|
1661
1661
|
declare const CommunityChestStatus: {
|
|
1662
1662
|
readonly Forming: "Forming";
|
|
@@ -1673,15 +1673,15 @@ declare const CommunityChestMemberStatus: {
|
|
|
1673
1673
|
readonly Replaced: "Replaced";
|
|
1674
1674
|
};
|
|
1675
1675
|
type CommunityChestMemberStatus = (typeof CommunityChestMemberStatus)[keyof typeof CommunityChestMemberStatus];
|
|
1676
|
-
type CommunityChestSharedState = { CurrentProgress?: null | number; MaxProgress?: null | number;
|
|
1677
|
-
type CommunityChestMember = { UserID?: null | string; PublicData?: null |
|
|
1678
|
-
type CommunityChestGroupDocument = {
|
|
1679
|
-
type CommunityChestHistoryEntry = { GroupID?: null | string; RoundIndex?: null | number; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Forming' | 'Failed'; GrandPrizeReceived?: null | boolean; FinishedAtUtc?: null | string;
|
|
1680
|
-
type UserCommunityChestState = { ActiveGroupID?: null | string; ActiveRoundIndex?: null | number; History?: null | Array<
|
|
1681
|
-
type CommunityChestUserStateResponse = { ServerTimeUtc?: null | string;
|
|
1682
|
-
type CommunityChestGroupStateResponse = { ServerTimeUtc?: null | string;
|
|
1683
|
-
type CommunityChestClaimResponse = { ServerTimeUtc?: null | string;
|
|
1684
|
-
type CommunityChestLeaveResponse = { ServerTimeUtc?: null | string;
|
|
1676
|
+
type CommunityChestSharedState = { CurrentProgress?: null | number; MaxProgress?: null | number; [key: string]: unknown; };
|
|
1677
|
+
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; };
|
|
1678
|
+
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; };
|
|
1679
|
+
type CommunityChestHistoryEntry = { GroupID?: null | string; RoundIndex?: null | number; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Forming' | 'Failed'; GrandPrizeReceived?: null | boolean; FinishedAtUtc?: null | string; [key: string]: unknown; };
|
|
1680
|
+
type UserCommunityChestState = { ActiveGroupID?: null | string; ActiveRoundIndex?: null | number; History?: null | Array<CommunityChestHistoryEntry>; [key: string]: unknown; };
|
|
1681
|
+
type CommunityChestUserStateResponse = { ServerTimeUtc?: null | string; UserState?: null | UserCommunityChestState; ActiveGroup?: null | CommunityChestGroupDocument; SecondsRemaining?: null | number; };
|
|
1682
|
+
type CommunityChestGroupStateResponse = { ServerTimeUtc?: null | string; Group?: null | CommunityChestGroupDocument; SecondsRemaining?: null | number; };
|
|
1683
|
+
type CommunityChestClaimResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; RewardType?: null | string; MilestoneID?: null | string; Resources?: null | ResourceOperation; };
|
|
1684
|
+
type CommunityChestLeaveResponse = { ServerTimeUtc?: null | string; GroupID?: null | string; Success?: null | boolean; };
|
|
1685
1685
|
interface GameLoopRequest extends BaseRequest {
|
|
1686
1686
|
RollMultiplier?: number;
|
|
1687
1687
|
BuildingIndex?: number;
|
|
@@ -1736,35 +1736,35 @@ declare const CommissionSink: {
|
|
|
1736
1736
|
readonly Ledger: "Ledger";
|
|
1737
1737
|
};
|
|
1738
1738
|
type CommissionSink = (typeof CommissionSink)[keyof typeof CommissionSink];
|
|
1739
|
-
type MarketplaceCommissionOverride = { Percent?: null | number; MinPerPosition?: null | number;
|
|
1740
|
-
type MarketplacePricePolicy = { AllowVirtualCurrency?: null | boolean; AllowItems?: null | boolean; AllowEventTokens?: null | boolean; Allowed?: null | Array<{
|
|
1741
|
-
type MarketplaceCommissionPolicy = { Percent?: null | number; MinPerPosition?: null | number; Sink?: null | 'Burn' | 'Ledger'; LedgerAccountID?: null | string; PerCatalogOverrides?: null | Record<string,
|
|
1742
|
-
type MarketplaceTradabilityPolicy = { AllowedCatalogIDs?: null | Array<string>; DeniedCatalogIDs?: null | Array<string>; DeniedItemIDs?: null | Array<string>; AllowUnstackableWithState?: null | boolean;
|
|
1743
|
-
type MarketplaceListingSettings = { Enabled?: null | boolean; AllowedDurationsHours?: null | Array<number>; MaxActiveListings?: null | number; CreateLimits?: null |
|
|
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 |
|
|
1745
|
-
type MarketplaceBuyOrderSettings = { Enabled?: null | boolean;
|
|
1746
|
-
type MarketplaceDirectTradeSettings = { Enabled?: null | boolean;
|
|
1747
|
-
type MarketplaceDefinitions = { Enabled?: null | boolean; Gate?: null |
|
|
1748
|
-
type MarketplaceBidRefund = {
|
|
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<
|
|
1750
|
-
type MarketplaceActionCounter = {
|
|
1751
|
-
type UserMarketplaceState = { Create?: null |
|
|
1752
|
-
type MarketplaceOfferView = {
|
|
1753
|
-
type MarketplaceGroupedOfferView = { GoodsCatalogID?: null | string; GoodsItemID?: null | string; OfferCount?: null | number;
|
|
1739
|
+
type MarketplaceCommissionOverride = { Percent?: null | number; MinPerPosition?: null | number; [key: string]: unknown; };
|
|
1740
|
+
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; };
|
|
1741
|
+
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; };
|
|
1742
|
+
type MarketplaceTradabilityPolicy = { AllowedCatalogIDs?: null | Array<string>; DeniedCatalogIDs?: null | Array<string>; DeniedItemIDs?: null | Array<string>; AllowUnstackableWithState?: null | boolean; [key: string]: unknown; };
|
|
1743
|
+
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; };
|
|
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 | LimitSpec; [key: string]: unknown; };
|
|
1745
|
+
type MarketplaceBuyOrderSettings = { Enabled?: null | boolean; MaxActiveOrders?: null | number; AllowedDurationsHours?: null | Array<number>; CreateLimits?: null | LimitSpec; FillLimits?: null | LimitSpec; [key: string]: unknown; };
|
|
1746
|
+
type MarketplaceDirectTradeSettings = { Enabled?: null | boolean; OfferExpirationHours?: null | number; MaxPendingOutgoing?: null | number; AllowGifts?: null | boolean; CreateLimits?: null | LimitSpec; [key: string]: unknown; };
|
|
1747
|
+
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; [key: string]: unknown; };
|
|
1748
|
+
type MarketplaceBidRefund = { BidIndex?: null | number; UserID?: null | string; Amount?: null | number; Settled?: null | boolean; SettledAt?: null | string; [key: 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<MarketplaceBidRefund>; [key: string]: unknown; };
|
|
1750
|
+
type MarketplaceActionCounter = { LastAt?: null | string; DailyCount?: null | number; DailyResetUtc?: null | string; [key: string]: unknown; };
|
|
1751
|
+
type UserMarketplaceState = { Create?: null | MarketplaceActionCounter; Buy?: null | MarketplaceActionCounter; Sell?: null | MarketplaceActionCounter; Bid?: null | MarketplaceActionCounter; [key: string]: unknown; };
|
|
1752
|
+
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; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; GoodsInstances?: null | Array<UnstackableItemInstanceState>; Price?: null | ResourceBundle; Auction?: null | MarketplaceAuctionState; CreatedAt?: null | string; ExpiresAt?: null | string; [key: string]: unknown; };
|
|
1753
|
+
type MarketplaceGroupedOfferView = { GoodsCatalogID?: null | string; GoodsItemID?: null | string; OfferCount?: null | number; [key: string]: unknown; };
|
|
1754
1754
|
interface MarketplaceGetDefinitionsResponse {
|
|
1755
1755
|
Definitions?: MarketplaceDefinitions | null;
|
|
1756
1756
|
IsOpenNow?: boolean | null;
|
|
1757
1757
|
GatePassed?: boolean | null;
|
|
1758
1758
|
}
|
|
1759
|
-
type MarketplaceBrowseResponse = { Offers?: null | Array<
|
|
1760
|
-
type MarketplaceGroupedOffersResponse = { Groups?: null | Array<
|
|
1761
|
-
type MarketplaceOfferResponse = { Offer?: null |
|
|
1762
|
-
type MarketplaceCreateOfferResponse = {
|
|
1763
|
-
type MarketplaceSettlementResponse = { Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined';
|
|
1764
|
-
type MarketplacePlaceBidResponse = {
|
|
1765
|
-
type MarketplaceMyStateResponse = {
|
|
1766
|
-
type MarketplaceHistoryEntryView = { OfferID?: null | string;
|
|
1767
|
-
type MarketplaceHistoryResponse = { Entries?: null | Array<
|
|
1759
|
+
type MarketplaceBrowseResponse = { Offers?: null | Array<MarketplaceOfferView>; ContinuationToken?: null | string; [key: string]: unknown; };
|
|
1760
|
+
type MarketplaceGroupedOffersResponse = { Groups?: null | Array<MarketplaceGroupedOfferView>; [key: string]: unknown; };
|
|
1761
|
+
type MarketplaceOfferResponse = { Offer?: null | MarketplaceOfferView; [key: string]: unknown; };
|
|
1762
|
+
type MarketplaceCreateOfferResponse = { OfferID?: null | string; Offer?: null | MarketplaceOfferView; Resources?: null | ResourceOperation; [key: string]: unknown; };
|
|
1763
|
+
type MarketplaceSettlementResponse = { OfferID?: null | string; Status?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; Settlement?: null | ResourceDualPartyResult; Resources?: null | ResourceOperation; CommissionTaken?: null | ResourceBundle; [key: string]: unknown; };
|
|
1764
|
+
type MarketplacePlaceBidResponse = { OfferID?: null | string; CurrentBid?: null | number; BidCount?: null | number; ExpiresAt?: null | string; Resources?: null | ResourceOperation; [key: string]: unknown; };
|
|
1765
|
+
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; };
|
|
1766
|
+
type MarketplaceHistoryEntryView = { OfferID?: null | string; OfferType?: null | 'Listing' | 'Auction' | 'BuyOrder' | 'DirectTrade'; FinalStatus?: null | 'Active' | 'Completed' | 'Expired' | 'Cancelled' | 'Declined'; SellerUserID?: null | string; BuyerUserID?: null | string; GoodsCatalogID?: null | string; GoodsItemID?: null | string; GoodsAmount?: null | number; PricePaid?: null | ResourceBundle; CommissionTaken?: null | ResourceBundle; CompletedAt?: null | string; [key: string]: unknown; };
|
|
1767
|
+
type MarketplaceHistoryResponse = { Entries?: null | Array<MarketplaceHistoryEntryView>; ContinuationToken?: null | string; [key: string]: unknown; };
|
|
1768
1768
|
interface MarketplaceRequest extends BaseRequest {
|
|
1769
1769
|
OfferID?: string;
|
|
1770
1770
|
ItemID?: string;
|
|
@@ -1809,8 +1809,8 @@ declare const MarketplaceAction: {
|
|
|
1809
1809
|
readonly ClaimBack: "ClaimBack";
|
|
1810
1810
|
};
|
|
1811
1811
|
type MarketplaceAction = (typeof MarketplaceAction)[keyof typeof MarketplaceAction];
|
|
1812
|
-
type FodderConsumedEntry = {
|
|
1813
|
-
type UpgradeItemLevelResponse = { ServerTimeUtc: string;
|
|
1812
|
+
type FodderConsumedEntry = { ItemInstanceID: string; Units: number; Level: number; };
|
|
1813
|
+
type UpgradeItemLevelResponse = { ServerTimeUtc: string; ItemInstanceID: string; ItemID: string; Level: number; CatalogID?: null | string; Resources?: null | ResourceOperation; FodderConsumed?: null | Array<FodderConsumedEntry>; };
|
|
1814
1814
|
type UpgradeLevelsBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | UpgradeItemLevelResponse; }>;
|
|
1815
1815
|
/** One instance's upgrade in a batch (with optional multi-level Levels/TargetLevel). */
|
|
1816
1816
|
interface ItemUpgradeRef {
|
|
@@ -1844,14 +1844,14 @@ declare const FodderSelectionMode: {
|
|
|
1844
1844
|
readonly ClientSelected: "ClientSelected";
|
|
1845
1845
|
};
|
|
1846
1846
|
type FodderSelectionMode = (typeof FodderSelectionMode)[keyof typeof FodderSelectionMode];
|
|
1847
|
-
type NFTNetworkBinding = { ContractAddress?: null | string; TokenID?: null | string; TokenStandard?: null | string;
|
|
1848
|
-
type NFTModel = { Networks?: null | Record<string,
|
|
1849
|
-
type ItemStats = {
|
|
1850
|
-
type ItemEquipment = { MinCharacterLevel?: null | number; UseRequirements?: null | Record<string, number>; AllowedCharacterIDs?: null | Array<string>; AllowedSlotIDs?: null | Array<string>;
|
|
1851
|
-
type ItemUpgradeFodder = { ValuationMode?: null | 'FlatCount' | 'Merge' | 'InvestmentRefund'; MergeRatio?: null | number; Selection?: null | 'ProtectLeveled' | 'CheapestFirst' | 'ClientSelected';
|
|
1852
|
-
type ItemUpgrade = { MaxLevel?: null | number; BaseCostResource?: null | ResourceConsume; CostScalingFactor?: null | number; FlatScalingFactor?: null | number; PercentScalingFactor?: null | number; PowerScalingFactor?: null | number; Fodder?: null |
|
|
1853
|
-
type ItemMetadata = {
|
|
1854
|
-
type ItemDefinition = {
|
|
1847
|
+
type NFTNetworkBinding = { ContractAddress?: null | string; TokenID?: null | string; TokenStandard?: null | string; [key: string]: unknown; };
|
|
1848
|
+
type NFTModel = { Networks?: null | Record<string, NFTNetworkBinding>; MetadataUrl?: null | string; [key: string]: unknown; };
|
|
1849
|
+
type ItemStats = { FlatBonuses?: null | Record<string, number>; PercentBonuses?: null | Record<string, number>; Power?: null | number; [key: string]: unknown; };
|
|
1850
|
+
type ItemEquipment = { MinCharacterLevel?: null | number; UseRequirements?: null | Record<string, number>; AllowedCharacterIDs?: null | Array<string>; AllowedSlotIDs?: null | Array<string>; [key: string]: unknown; };
|
|
1851
|
+
type ItemUpgradeFodder = { ValuationMode?: null | 'FlatCount' | 'Merge' | 'InvestmentRefund'; MergeRatio?: null | number; Selection?: null | 'ProtectLeveled' | 'CheapestFirst' | 'ClientSelected'; [key: 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 | ItemUpgradeFodder; [key: string]: unknown; };
|
|
1853
|
+
type ItemMetadata = { RarityID?: null | string; CollectionID?: null | string; AuthorID?: null | string; [key: string]: unknown; };
|
|
1854
|
+
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
1855
|
/** Catalog: a set of items of one thematic group. Key of `Items` is ItemID. */
|
|
1856
1856
|
interface ItemCatalog {
|
|
1857
1857
|
Items?: Record<string, ItemDefinition> | null;
|
|
@@ -1860,8 +1860,8 @@ interface ItemCatalog {
|
|
|
1860
1860
|
interface ItemDefinitions {
|
|
1861
1861
|
Catalogs?: Record<string, ItemCatalog> | null;
|
|
1862
1862
|
}
|
|
1863
|
-
type BonusWindowConfig = {
|
|
1864
|
-
type BonusWindowState = { IsActive?: null | boolean; CurrentPhaseEndUtc?: null | string; NextBonusStartUtc?: null | string; CurrentCycleIndex?: null | number; CurrentPhaseIndex?: null | number; ActiveBonusMultiplier?: null | number;
|
|
1863
|
+
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; };
|
|
1864
|
+
type BonusWindowState = { IsActive?: null | boolean; CurrentPhaseEndUtc?: null | string; NextBonusStartUtc?: null | string; CurrentCycleIndex?: null | number; CurrentPhaseIndex?: null | number; ActiveBonusMultiplier?: null | number; [key: string]: unknown; };
|
|
1865
1865
|
/**
|
|
1866
1866
|
* Container of preset wiring for event content — one PresetBinding per block. Inline data
|
|
1867
1867
|
* (Milestones) lives on EventContent. null = presets unused.
|
|
@@ -1904,7 +1904,7 @@ interface TimedEventDefinition {
|
|
|
1904
1904
|
Gate?: SegmentGate | null;
|
|
1905
1905
|
CustomParams?: Record<string, string> | null;
|
|
1906
1906
|
}
|
|
1907
|
-
type LimitedTimeEventsGlobalSettings = { MaxConcurrentEvents?: null | number;
|
|
1907
|
+
type LimitedTimeEventsGlobalSettings = { MaxConcurrentEvents?: null | number; [key: string]: unknown; };
|
|
1908
1908
|
/** Registry of reusable event presets (milestones). Phases/events reference them via EventContent.Presets. */
|
|
1909
1909
|
interface TimedEventPresetRegistry {
|
|
1910
1910
|
Milestones?: Record<string, MilestoneSet> | null;
|
|
@@ -1938,9 +1938,9 @@ interface GetActiveEventsResponse {
|
|
|
1938
1938
|
ActiveEvents?: ActiveEventInfo[] | null;
|
|
1939
1939
|
}
|
|
1940
1940
|
type UserTimedEventStateResponse = { Tokens?: null | Record<string, UserEventTokenProgress>; };
|
|
1941
|
-
type EventTokenSpendResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained';
|
|
1942
|
-
type EventMilestoneClaimResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained';
|
|
1943
|
-
type EventTokenGrantResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained';
|
|
1941
|
+
type EventTokenSpendResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; Resources?: null | ResourceOperation; };
|
|
1942
|
+
type EventMilestoneClaimResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; MilestoneID?: null | string; Rewards?: null | ResourceOperation; };
|
|
1943
|
+
type EventTokenGrantResponse = { Type?: null | 'Scheduled' | 'Cyclic' | 'Chained'; LteID?: null | string; Resources?: null | ResourceOperation; };
|
|
1944
1944
|
type ClaimMilestonesBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | EventMilestoneClaimResponse; }>;
|
|
1945
1945
|
type SpendTokensBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | EventTokenSpendResponse; }>;
|
|
1946
1946
|
type GrantTokensBatchResponse = Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | EventTokenGrantResponse; }>;
|
|
@@ -2010,8 +2010,8 @@ declare const CraftType: {
|
|
|
2010
2010
|
};
|
|
2011
2011
|
type CraftType = (typeof CraftType)[keyof typeof CraftType];
|
|
2012
2012
|
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';
|
|
2014
|
-
type CraftDefinition = { Type?: null | 'TradeUpRarity' | 'TradeUpCollection'; CatalogID?: null | string;
|
|
2013
|
+
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>; };
|
|
2014
|
+
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
2015
|
/** The title's craft catalog (config), returned by getDefinitions(). */
|
|
2016
2016
|
interface CraftDefinitions {
|
|
2017
2017
|
Definitions?: Record<string, CraftDefinition> | null;
|
|
@@ -2028,9 +2028,9 @@ declare const CraftAction: {
|
|
|
2028
2028
|
readonly Craft: "Craft";
|
|
2029
2029
|
};
|
|
2030
2030
|
type CraftAction = (typeof CraftAction)[keyof typeof CraftAction];
|
|
2031
|
-
type ExperimentVariant = {
|
|
2032
|
-
type ExperimentDefinition = {
|
|
2033
|
-
type ExperimentDefinitions = { Experiments?: null | Record<string,
|
|
2031
|
+
type ExperimentVariant = { VariantID?: null | string; DisplayName?: null | string; Weight?: null | number; IsControl?: null | boolean; Params?: null | Record<string, string>; [key: string]: unknown; };
|
|
2032
|
+
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; };
|
|
2033
|
+
type ExperimentDefinitions = { Experiments?: null | Record<string, ExperimentDefinition>; [key: string]: unknown; };
|
|
2034
2034
|
|
|
2035
2035
|
/** enum MultiplayerTopology — p2p connection topology within a room. */
|
|
2036
2036
|
declare const MultiplayerTopology: {
|
|
@@ -2061,17 +2061,17 @@ declare const EnvelopeType: {
|
|
|
2061
2061
|
readonly MemberState: "MemberState";
|
|
2062
2062
|
};
|
|
2063
2063
|
type EnvelopeType = (typeof EnvelopeType)[keyof typeof EnvelopeType];
|
|
2064
|
-
type IceServer = {
|
|
2065
|
-
type MultiplayerSystemState = { Enabled?: null | boolean;
|
|
2066
|
-
type MultiplayerDefinitions = { SystemState?: null |
|
|
2067
|
-
type RoomMemberView = {
|
|
2068
|
-
type RoomListItem = {
|
|
2069
|
-
type RealtimeEnvelope = { Type?: null | 'Signal' | 'Chat' | 'PlayerJoined' | 'PlayerLeft' | 'HostChanged' | 'RoomClosed' | 'MemberState'; FromUserID?: null | string; ToUserID?: null | string; Kind?: null | string;
|
|
2070
|
-
type RoomSnapshotResponse = {
|
|
2071
|
-
type LeaveRoomResponse = { Closed?: null | boolean; NewHostUserID?: null | string;
|
|
2072
|
-
type RoomsPageResponse = {
|
|
2073
|
-
type PollResponse = { Envelopes?: null | Array<
|
|
2074
|
-
type PublishResponse = { Seq?: null | number;
|
|
2064
|
+
type IceServer = { Urls?: null | string; Username?: null | string; Credential?: null | string; [key: string]: unknown; };
|
|
2065
|
+
type MultiplayerSystemState = { Enabled?: null | boolean; [key: string]: unknown; };
|
|
2066
|
+
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; };
|
|
2067
|
+
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; };
|
|
2068
|
+
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; };
|
|
2069
|
+
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; };
|
|
2070
|
+
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; };
|
|
2071
|
+
type LeaveRoomResponse = { Closed?: null | boolean; NewHostUserID?: null | string; [key: string]: unknown; };
|
|
2072
|
+
type RoomsPageResponse = { Rooms?: null | Array<RoomListItem>; Page?: null | number; PageSize?: null | number; HasMore?: null | boolean; [key: string]: unknown; };
|
|
2073
|
+
type PollResponse = { Envelopes?: null | Array<RealtimeEnvelope>; MaxSeq?: null | number; [key: string]: unknown; };
|
|
2074
|
+
type PublishResponse = { Seq?: null | number; [key: string]: unknown; };
|
|
2075
2075
|
interface MultiplayerRequest extends BaseRequest {
|
|
2076
2076
|
RoomID?: string;
|
|
2077
2077
|
RoomName?: string;
|
|
@@ -2106,7 +2106,7 @@ declare const MultiplayerAction: {
|
|
|
2106
2106
|
readonly SetMemberState: "SetMemberState";
|
|
2107
2107
|
};
|
|
2108
2108
|
type MultiplayerAction = (typeof MultiplayerAction)[keyof typeof MultiplayerAction];
|
|
2109
|
-
type TitlePublicData = {
|
|
2109
|
+
type TitlePublicData = { Data?: null | string; SchemaVersion?: null | number; UpdatedAt?: null | string; };
|
|
2110
2110
|
type TitleCustomData = { PublicData?: null | Record<string, TitlePublicData>; PrivateData?: null | Record<string, TitlePublicData>; };
|
|
2111
2111
|
interface TitlePublicConfigurationModel {
|
|
2112
2112
|
TitleCustomData?: TitleCustomData | null;
|
|
@@ -2288,7 +2288,7 @@ interface ClientState {
|
|
|
2288
2288
|
User?: UserState | null;
|
|
2289
2289
|
[k: string]: unknown;
|
|
2290
2290
|
}
|
|
2291
|
-
type UsageTimeStats = { Today: number; Yesterday: number; CurrentWeek: number; CurrentMonth: number; Total: number; TotalSessions: number;
|
|
2291
|
+
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
2292
|
type ChangeUsernameResponse = { Username: string; };
|
|
2293
2293
|
interface UserRequest extends BaseRequest {
|
|
2294
2294
|
IsNewSession?: boolean;
|
|
@@ -2378,35 +2378,35 @@ declare const TransactionDirection: {
|
|
|
2378
2378
|
readonly Game: "Game";
|
|
2379
2379
|
};
|
|
2380
2380
|
type TransactionDirection = (typeof TransactionDirection)[keyof typeof TransactionDirection];
|
|
2381
|
-
type BlockchainNftCollectionBinding = {
|
|
2382
|
-
type PlatformBlockchainState = { Ios?: null | boolean; Android?: null | boolean; Web?: null | boolean;
|
|
2383
|
-
type BlockchainNetworkDefinition = {
|
|
2384
|
-
type BlockchainSystemState = { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null |
|
|
2385
|
-
type BlockchainAccountSafetyPolicy = { MinAccountAgeDays?: null | number; MultiAccountCheckEnabled?: null | boolean; BanOnSharedWithdrawalAddress?: null | boolean; PendingWithdrawalTtlHours?: null | number;
|
|
2386
|
-
type BlockchainDefinitions = {
|
|
2387
|
-
type LinkedWalletInfo = { NetworkID?: null | string; Address?: null | string; LinkedAt?: null | string; LastUsedAt?: null | string; LinkType?: null | 'AutoLinkedFromTransaction' | 'SignatureVerified' | 'ManuallyLinked'; IsSignatureVerified?: null | boolean;
|
|
2388
|
-
type PendingWithdrawalRef = {
|
|
2389
|
-
type UserKycState = { Status?: null | 'Expired' | 'Pending' | 'Rejected' | 'NotRequested' | 'Verified'; Tier?: null | 'None' | 'Tier1' | 'Tier2' | 'Tier3';
|
|
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;
|
|
2391
|
-
type TokenStatsContainer = {
|
|
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;
|
|
2393
|
-
type NftStatsContainer = {
|
|
2394
|
-
type BlockchainStats = { Tokens?: null |
|
|
2395
|
-
type UserBlockchainState = {
|
|
2396
|
-
type TokenTransactionDocument = {
|
|
2397
|
-
type NFTTransactionDocument = {
|
|
2398
|
-
type WithdrawalSignatureResponse = {
|
|
2399
|
-
type SolanaWithdrawalSignature = {
|
|
2400
|
-
type BlockchainConfigResponse = { Blockchain?: null |
|
|
2401
|
-
type UserBlockchainStateResponse = { State?: null |
|
|
2402
|
-
type DepositTokenResponse = { ServerTimeUtc?: null | string;
|
|
2403
|
-
type DepositNFTResponse = { ServerTimeUtc?: null | string;
|
|
2404
|
-
type TokenWithdrawalResponse = { ServerTimeUtc?: null | string;
|
|
2405
|
-
type NFTWithdrawalResponse = { ServerTimeUtc?: null | string;
|
|
2406
|
-
type TransactionHistoryResponse = { TokenTransactions?: null | Array<
|
|
2407
|
-
type DonationResponse = { ServerTimeUtc?: null | string;
|
|
2408
|
-
type RetryWithdrawalResponse = {
|
|
2409
|
-
type ConfirmWithdrawalResponse = { Status?: null | 'Completed' | 'Expired' | 'Pending' | 'Failed' | 'Abandoned';
|
|
2381
|
+
type BlockchainNftCollectionBinding = { ContractAddress?: null | string; ItemCatalogID?: null | string; DisplayName?: null | string; DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; [key: string]: unknown; };
|
|
2382
|
+
type PlatformBlockchainState = { Ios?: null | boolean; Android?: null | boolean; Web?: null | boolean; [key: string]: unknown; };
|
|
2383
|
+
type BlockchainNetworkDefinition = { NetworkID?: null | string; DisplayName?: null | string; Type?: null | 'EVM' | 'Solana'; ChainID?: null | number; ChainTicker?: null | string; PlatformPoolAddress?: 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; };
|
|
2384
|
+
type BlockchainSystemState = { DepositsEnabled?: null | boolean; WithdrawalsEnabled?: null | boolean; NftDepositsEnabled?: null | boolean; NftWithdrawalsEnabled?: null | boolean; PlatformOverrides?: null | PlatformBlockchainState; [key: string]: unknown; };
|
|
2385
|
+
type BlockchainAccountSafetyPolicy = { MinAccountAgeDays?: null | number; MultiAccountCheckEnabled?: null | boolean; BanOnSharedWithdrawalAddress?: null | boolean; PendingWithdrawalTtlHours?: null | number; [key: string]: unknown; };
|
|
2386
|
+
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; };
|
|
2387
|
+
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; };
|
|
2388
|
+
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; };
|
|
2389
|
+
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; };
|
|
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; [key: string]: unknown; };
|
|
2391
|
+
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; };
|
|
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; [key: string]: unknown; };
|
|
2393
|
+
type NftStatsContainer = { TotalDeposits?: null | number; TotalWithdrawals?: null | number; FailedWithdrawals?: null | number; RejectedDeposits?: null | number; PerCollection?: null | Record<string, NftCollectionStats>; [key: string]: unknown; };
|
|
2394
|
+
type BlockchainStats = { Tokens?: null | TokenStatsContainer; Nfts?: null | NftStatsContainer; [key: string]: unknown; };
|
|
2395
|
+
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; };
|
|
2396
|
+
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; };
|
|
2397
|
+
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; };
|
|
2398
|
+
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; };
|
|
2399
|
+
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; };
|
|
2400
|
+
type BlockchainConfigResponse = { Blockchain?: null | BlockchainDefinitions; CryptoCurrencies?: null | Record<string, CryptoCurrencyDefinition>; [key: string]: unknown; };
|
|
2401
|
+
type UserBlockchainStateResponse = { State?: null | UserBlockchainState; CryptoBalances?: null | Record<string, UserCryptoCurrencyState>; [key: string]: unknown; };
|
|
2402
|
+
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; };
|
|
2403
|
+
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; };
|
|
2404
|
+
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; };
|
|
2405
|
+
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; };
|
|
2406
|
+
type TransactionHistoryResponse = { TokenTransactions?: null | Array<TokenTransactionDocument>; NFTTransactions?: null | Array<NFTTransactionDocument>; [key: string]: unknown; };
|
|
2407
|
+
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; };
|
|
2408
|
+
type RetryWithdrawalResponse = { TitleTransactionID?: null | string; Kind?: null | 'Token' | 'Nft'; EvmSignature?: null | WithdrawalSignatureResponse; SolanaSignature?: null | SolanaWithdrawalSignature; [key: string]: unknown; };
|
|
2409
|
+
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
2410
|
interface BlockchainRequest extends BaseRequest {
|
|
2411
2411
|
TitleTransactionID?: string;
|
|
2412
2412
|
NetworkID?: string;
|
|
@@ -4081,26 +4081,26 @@ declare const BannerPosition: {
|
|
|
4081
4081
|
readonly Right: "Right";
|
|
4082
4082
|
};
|
|
4083
4083
|
type BannerPosition = (typeof BannerPosition)[keyof typeof BannerPosition];
|
|
4084
|
-
type AdPlacementDefinition = {
|
|
4085
|
-
type RewardedVideoSettings = { DefaultCreditsPerView?: null | number; MaxCreditsBalance?: null | number; DailyCreditEarnCap?: null | number; DailyViewCap?: null | number; MinSecondsBetweenViews?: null | number;
|
|
4086
|
-
type InterstitialSettings = { CooldownSeconds?: null | number;
|
|
4087
|
-
type BannerSettings = { Enabled?: null | boolean; Position?: null | 'Left' | 'Top' | 'Bottom' | 'Right'; RefreshIntervalSeconds?: null | number;
|
|
4088
|
-
type AppOpenSettings = { Enabled?: null | boolean; CooldownSeconds?: null | number; DailyImpressionCap?: null | number;
|
|
4089
|
-
type AdFrequencyCappingSettings = {
|
|
4090
|
-
type PremiumAdReduction = { MinPremiumTier?: null | number; RequiredPremiumID?: null | string; DisableInterstitials?: null | boolean; DisableBanners?: null | boolean; DisableAppOpen?: null | boolean;
|
|
4091
|
-
type AdConsentSettings = { RequirePersonalizedAdsConsent?: null | boolean; RequireTrackingConsent?: null | boolean; CurrentPolicyVersion?: null | string; RegulatedRegions?: null | Array<string>;
|
|
4092
|
-
type AdVerificationSettings = { RequireServerSideVerification?: null | boolean; PendingRequestTtlSeconds?: null | number; MaxPendingRequestsPerUser?: null | number; ProviderPublicKeys?: null | Record<string, string>;
|
|
4093
|
-
type AdUnitConfig = { Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native';
|
|
4094
|
-
type AdProviderDefinition = {
|
|
4095
|
-
type AdvertisingDefinitions = { Enabled?: null | boolean;
|
|
4096
|
-
type AdCreditsData = {
|
|
4097
|
-
type AdPlacementUserState = { PlacementID?: null | string; LastShownAt?: null | string; LastCompletedAt?: null | string; TotalImpressions?: null | number; TotalCompletions?: null | number; ConsecutiveFailures?: null | number;
|
|
4098
|
-
type AdDailyData = { Date?: null | string;
|
|
4099
|
-
type AdSessionData = {
|
|
4100
|
-
type AdConsentState = { PersonalizedAdsConsent?: null | boolean; TrackingConsent?: null | boolean; PolicyVersion?: null | string; Region?: null | string; ConsentGivenAt?: null | string; ConsentRevokedAt?: null | string;
|
|
4101
|
-
type AdPendingRequest = { Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native';
|
|
4102
|
-
type AdFraudFlags = { InvalidSsvCount?: null | number; OrphanCompletions?: null | number; FastCompletions?: null | number; LastFlaggedAt?: null | string;
|
|
4103
|
-
type UserAdvertisingState = {
|
|
4084
|
+
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; };
|
|
4085
|
+
type RewardedVideoSettings = { DefaultCreditsPerView?: null | number; MaxCreditsBalance?: null | number; DailyCreditEarnCap?: null | number; DailyViewCap?: null | number; MinSecondsBetweenViews?: null | number; [key: string]: unknown; };
|
|
4086
|
+
type InterstitialSettings = { CooldownSeconds?: null | number; MinSessionTimeBeforeFirstSeconds?: null | number; DailyImpressionCap?: null | number; MaxImpressionsPerSession?: null | number; [key: string]: unknown; };
|
|
4087
|
+
type BannerSettings = { Enabled?: null | boolean; Position?: null | 'Left' | 'Top' | 'Bottom' | 'Right'; RefreshIntervalSeconds?: null | number; [key: string]: unknown; };
|
|
4088
|
+
type AppOpenSettings = { Enabled?: null | boolean; CooldownSeconds?: null | number; DailyImpressionCap?: null | number; [key: string]: unknown; };
|
|
4089
|
+
type AdFrequencyCappingSettings = { MaxImpressionsPerHour?: null | number; MaxImpressionsPerDay?: null | number; MaxImpressionsPerSession?: null | number; [key: string]: unknown; };
|
|
4090
|
+
type PremiumAdReduction = { MinPremiumTier?: null | number; RequiredPremiumID?: null | string; DisableInterstitials?: null | boolean; DisableBanners?: null | boolean; DisableAppOpen?: null | boolean; [key: string]: unknown; };
|
|
4091
|
+
type AdConsentSettings = { RequirePersonalizedAdsConsent?: null | boolean; RequireTrackingConsent?: null | boolean; CurrentPolicyVersion?: null | string; RegulatedRegions?: null | Array<string>; [key: string]: unknown; };
|
|
4092
|
+
type AdVerificationSettings = { RequireServerSideVerification?: null | boolean; PendingRequestTtlSeconds?: null | number; MaxPendingRequestsPerUser?: null | number; ProviderPublicKeys?: null | Record<string, string>; [key: string]: unknown; };
|
|
4093
|
+
type AdUnitConfig = { AndroidUnitID?: null | string; IosUnitID?: null | string; WebUnitID?: null | string; Type?: null | 'RewardedVideo' | 'Banner' | 'Interstitial' | 'RewardedInterstitial' | 'AppOpen' | 'Native'; [key: string]: unknown; };
|
|
4094
|
+
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; };
|
|
4095
|
+
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; };
|
|
4096
|
+
type AdCreditsData = { RewardedVideoCredit?: null | number; TotalEarned?: null | number; TotalSpent?: null | number; [key: string]: unknown; };
|
|
4097
|
+
type AdPlacementUserState = { PlacementID?: null | string; LastShownAt?: null | string; LastCompletedAt?: null | string; TotalImpressions?: null | number; TotalCompletions?: null | number; ConsecutiveFailures?: null | number; [key: string]: unknown; };
|
|
4098
|
+
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; };
|
|
4099
|
+
type AdSessionData = { SessionID?: null | string; SessionStartAt?: null | string; Impressions?: null | number; InterstitialImpressions?: null | number; RewardedCompletions?: null | number; [key: string]: unknown; };
|
|
4100
|
+
type AdConsentState = { PersonalizedAdsConsent?: null | boolean; TrackingConsent?: null | boolean; PolicyVersion?: null | string; Region?: null | string; ConsentGivenAt?: null | string; ConsentRevokedAt?: null | string; [key: string]: unknown; };
|
|
4101
|
+
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; };
|
|
4102
|
+
type AdFraudFlags = { InvalidSsvCount?: null | number; OrphanCompletions?: null | number; FastCompletions?: null | number; LastFlaggedAt?: null | string; [key: string]: unknown; };
|
|
4103
|
+
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
4104
|
|
|
4105
4105
|
/** enum MailboxMessageStatus — lifecycle status of one message in a player's mailbox. */
|
|
4106
4106
|
declare const MailboxMessageStatus: {
|
|
@@ -4133,11 +4133,11 @@ declare const BroadcastStatus: {
|
|
|
4133
4133
|
readonly Completed: "Completed";
|
|
4134
4134
|
};
|
|
4135
4135
|
type BroadcastStatus = (typeof BroadcastStatus)[keyof typeof BroadcastStatus];
|
|
4136
|
-
type MailboxMessageTypeDefinition = {
|
|
4137
|
-
type MailboxSegmentDefinition = {
|
|
4138
|
-
type MailboxDefinition = {
|
|
4139
|
-
type MailboxMessageDocument = {
|
|
4140
|
-
type MailboxBroadcastDocument = {
|
|
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;
|
|
4136
|
+
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; };
|
|
4137
|
+
type MailboxSegmentDefinition = { SegmentID?: null | string; DisplayName?: null | string; Gate?: null | SegmentGate; [key: string]: unknown; };
|
|
4138
|
+
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; };
|
|
4139
|
+
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; };
|
|
4140
|
+
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; };
|
|
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; [key: string]: unknown; };
|
|
4142
4142
|
|
|
4143
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 };
|