@idosgames/core 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +56 -0
- package/README.md +7 -5
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2559 -986
- package/dist/index.d.ts +2559 -986
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -77,6 +77,7 @@ type IapStore$1 = (typeof IapStore$1)[keyof typeof IapStore$1];
|
|
|
77
77
|
declare const zIapStore: z.ZodCatch<z.ZodEnum<{
|
|
78
78
|
GooglePlay: "GooglePlay";
|
|
79
79
|
AppleAppStore: "AppleAppStore";
|
|
80
|
+
TelegramStars: "TelegramStars";
|
|
80
81
|
}>>;
|
|
81
82
|
declare const EventTokenType: {
|
|
82
83
|
readonly TimedEvent: "TimedEvent";
|
|
@@ -476,7 +477,7 @@ interface UserEventTokensState {
|
|
|
476
477
|
}
|
|
477
478
|
type PriceOption = { OptionID?: null | string; Name?: null | string; Cost?: null | ResourceConsume; AllowedPlatforms?: null | Array<'Unknown' | 'Web' | 'Android' | 'Ios'>; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
|
|
478
479
|
type PriceOptions = Record<string, PriceOption>;
|
|
479
|
-
type PaymentProof = { Store: 'GooglePlay' | 'AppleAppStore'; Receipt: string; Signature?: null | string; [key: string]: unknown; };
|
|
480
|
+
type PaymentProof = { Store: 'GooglePlay' | 'AppleAppStore' | 'TelegramStars'; Receipt: string; Signature?: null | string; [key: string]: unknown; };
|
|
480
481
|
type ResourceEntry = { Type?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'RewardedVideoCredit' | 'Purchase'; CurrencyID?: null | string; Amount?: null | number; AmountUsd?: null | number; CatalogID?: null | string; ItemID?: null | string; ProductID?: null | string; };
|
|
481
482
|
type EventTokenAddress = { EntityID: string; Type?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; };
|
|
482
483
|
type EventTokenOperation = { Address?: null | EventTokenAddress; Amount?: null | number; Source?: null | string; };
|
|
@@ -4122,8 +4123,131 @@ declare const TitleCustomDataAction: {
|
|
|
4122
4123
|
};
|
|
4123
4124
|
type TitleCustomDataAction = (typeof TitleCustomDataAction)[keyof typeof TitleCustomDataAction];
|
|
4124
4125
|
type ExperimentVariant = { VariantID?: null | string; DisplayName?: null | string; Weight?: null | number; IsControl?: null | boolean; Params?: null | Record<string, string>; [key: string]: unknown; };
|
|
4125
|
-
|
|
4126
|
+
/** What an experiment is judged by (engine `ExperimentGoalKind`). */
|
|
4127
|
+
declare const ExperimentGoalKind: {
|
|
4128
|
+
/** Share of participants who sent `EventName` at least once. */
|
|
4129
|
+
readonly EventConversion: "EventConversion";
|
|
4130
|
+
/** `EventName` count per participant. */
|
|
4131
|
+
readonly EventCountPerUser: "EventCountPerUser";
|
|
4132
|
+
/** Sum of `EventName` Value per participant (revenue, score). */
|
|
4133
|
+
readonly EventValuePerUser: "EventValuePerUser";
|
|
4134
|
+
readonly RetentionD1: "RetentionD1";
|
|
4135
|
+
readonly RetentionD7: "RetentionD7";
|
|
4136
|
+
readonly PayerConversion: "PayerConversion";
|
|
4137
|
+
readonly Arpu: "Arpu";
|
|
4138
|
+
};
|
|
4139
|
+
type ExperimentGoalKind = (typeof ExperimentGoalKind)[keyof typeof ExperimentGoalKind];
|
|
4140
|
+
type ExperimentGoal = { MetricID?: null | string; Kind?: null | string; EventName?: null | string; IsPrimary?: null | boolean; [key: string]: unknown; };
|
|
4141
|
+
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>; Goals?: null | Array<ExperimentGoal>; ActivationEvent?: null | string; RolloutVariantID?: null | string; [key: string]: unknown; };
|
|
4126
4142
|
type ExperimentDefinitions = { Experiments?: null | Record<string, ExperimentDefinition>; [key: string]: unknown; };
|
|
4143
|
+
/** State of an experiment for this player. */
|
|
4144
|
+
declare const PlayerExperimentStatus: {
|
|
4145
|
+
/** Running: the variant is the player's own sticky assignment. */
|
|
4146
|
+
readonly Running: "Running";
|
|
4147
|
+
/** Disabled, out of its schedule or not in the publisher's plan: everyone gets control. */
|
|
4148
|
+
readonly Stopped: "Stopped";
|
|
4149
|
+
/** The winner was rolled out: everyone gets it. */
|
|
4150
|
+
readonly RolledOut: "RolledOut";
|
|
4151
|
+
};
|
|
4152
|
+
type PlayerExperimentStatus = (typeof PlayerExperimentStatus)[keyof typeof PlayerExperimentStatus];
|
|
4153
|
+
type PlayerExperimentView = { ExperimentID?: null | string; VariantID?: null | string; Status?: null | string; Params?: null | Record<string, string>; [key: string]: unknown; };
|
|
4154
|
+
type GetExperimentsResponse = { Experiments?: null | Array<PlayerExperimentView>; IsAbTestingAvailable?: null | boolean; [key: string]: unknown; };
|
|
4155
|
+
type ExperimentRequest = BaseRequest;
|
|
4156
|
+
declare const ExperimentAction: {
|
|
4157
|
+
readonly GetExperiments: "GetExperiments";
|
|
4158
|
+
};
|
|
4159
|
+
type ExperimentAction = (typeof ExperimentAction)[keyof typeof ExperimentAction];
|
|
4160
|
+
|
|
4161
|
+
/** How the title accepts event names (`Analytics.EventNaming`). */
|
|
4162
|
+
declare const AnalyticsEventNaming: {
|
|
4163
|
+
/** Any valid name is accepted and collected into the title catalog, up to the plan limit. */
|
|
4164
|
+
readonly Open: "Open";
|
|
4165
|
+
/** Only names declared in `Analytics.Events` are recorded; the rest are dropped. */
|
|
4166
|
+
readonly Declared: "Declared";
|
|
4167
|
+
};
|
|
4168
|
+
type AnalyticsEventNaming = (typeof AnalyticsEventNaming)[keyof typeof AnalyticsEventNaming];
|
|
4169
|
+
type AnalyticsEventDefinition = { DisplayName?: null | string; Description?: null | string; Blocked?: null | boolean; [key: string]: unknown; };
|
|
4170
|
+
type AnalyticsDimensionDefinition = { ParamName?: null | string; DisplayName?: null | string; [key: string]: unknown; };
|
|
4171
|
+
type AnalyticsDefinitions = { Enabled?: null | boolean; EventNaming?: null | string; Events?: null | Record<string, AnalyticsEventDefinition>; Dimensions?: null | Array<AnalyticsDimensionDefinition>; RetentionDays?: null | number; AutomaticEvents?: null | boolean; [key: string]: unknown; };
|
|
4172
|
+
/**
|
|
4173
|
+
* Events the SDK logs by itself. The `idos_` prefix is reserved — `logEvent` refuses it, so a
|
|
4174
|
+
* game cannot fake a session or an install.
|
|
4175
|
+
*/
|
|
4176
|
+
declare const AutomaticEvent: {
|
|
4177
|
+
/** The first launch on this device. */
|
|
4178
|
+
readonly FirstOpen: "idos_first_open";
|
|
4179
|
+
/** A new session: launch, or return after 30 minutes away (the same gap as playtime). */
|
|
4180
|
+
readonly SessionStart: "idos_session_start";
|
|
4181
|
+
/** The app version changed since the previous launch. */
|
|
4182
|
+
readonly AppUpdate: "idos_app_update";
|
|
4183
|
+
/** The OS version changed since the previous launch. */
|
|
4184
|
+
readonly OsUpdate: "idos_os_update";
|
|
4185
|
+
/** `logScreenView(name)`. */
|
|
4186
|
+
readonly ScreenView: "idos_screen_view";
|
|
4187
|
+
};
|
|
4188
|
+
type AutomaticEvent = (typeof AutomaticEvent)[keyof typeof AutomaticEvent];
|
|
4189
|
+
/** The server's rules, applied by the SDK up front so an invalid event never costs a call. */
|
|
4190
|
+
declare const AnalyticsLimits: {
|
|
4191
|
+
readonly maxEventsPerBatch: 50;
|
|
4192
|
+
readonly maxParams: 25;
|
|
4193
|
+
readonly maxStringValueLength: 100;
|
|
4194
|
+
/** Events older than this are dropped by the server as `TooOld`. */
|
|
4195
|
+
readonly maxEventAgeMs: number;
|
|
4196
|
+
readonly reservedPrefixes: readonly ["idos_", "firebase_", "google_", "ga_"];
|
|
4197
|
+
};
|
|
4198
|
+
/** Event and parameter names: a letter, then letters, digits or `_`, 40 characters at most. */
|
|
4199
|
+
declare const EVENT_NAME_PATTERN: RegExp;
|
|
4200
|
+
type AnalyticsParamValue = string | number | boolean;
|
|
4201
|
+
type AnalyticsParams = Record<string, AnalyticsParamValue>;
|
|
4202
|
+
/** One event on the wire. */
|
|
4203
|
+
interface AnalyticsEventInput {
|
|
4204
|
+
Name: string;
|
|
4205
|
+
Params?: AnalyticsParams;
|
|
4206
|
+
/** A number summed by the server — revenue, score. */
|
|
4207
|
+
Value?: number;
|
|
4208
|
+
/** ISO-8601 UTC time the event happened on the client. */
|
|
4209
|
+
ClientTimeUtc?: string;
|
|
4210
|
+
}
|
|
4211
|
+
/**
|
|
4212
|
+
* What the client knows and the server does not. Platform, country, new/returning and the
|
|
4213
|
+
* acquisition source are NOT here: the server takes them from the request header, the IP and the
|
|
4214
|
+
* player's own record, and ignores anything a client claims about them.
|
|
4215
|
+
*/
|
|
4216
|
+
interface AnalyticsClientContext {
|
|
4217
|
+
AppVersion?: string;
|
|
4218
|
+
OsName?: string;
|
|
4219
|
+
OsVersion?: string;
|
|
4220
|
+
/** `phone` / `tablet` / `desktop`. */
|
|
4221
|
+
DeviceCategory?: string;
|
|
4222
|
+
DeviceModel?: string;
|
|
4223
|
+
Language?: string;
|
|
4224
|
+
SdkVersion?: string;
|
|
4225
|
+
}
|
|
4226
|
+
interface AnalyticsRequest extends BaseRequest {
|
|
4227
|
+
/** Idempotency key of the batch: a resend with the same id is not counted twice (24 h). */
|
|
4228
|
+
BatchID?: string;
|
|
4229
|
+
Events: AnalyticsEventInput[];
|
|
4230
|
+
Context?: AnalyticsClientContext;
|
|
4231
|
+
}
|
|
4232
|
+
/** Why the server dropped an event (`LogEventsResponse.Dropped[].Reason`). */
|
|
4233
|
+
declare const AnalyticsDropReason: {
|
|
4234
|
+
readonly InvalidName: "InvalidName";
|
|
4235
|
+
readonly Reserved: "Reserved";
|
|
4236
|
+
readonly NotDeclared: "NotDeclared";
|
|
4237
|
+
readonly Blocked: "Blocked";
|
|
4238
|
+
/** The title reached the event-name limit of its plan. */
|
|
4239
|
+
readonly CatalogFull: "CatalogFull";
|
|
4240
|
+
readonly TooOld: "TooOld";
|
|
4241
|
+
readonly AutomaticDisabled: "AutomaticDisabled";
|
|
4242
|
+
/** More than 1000 events from one player in one day. */
|
|
4243
|
+
readonly DailyLimit: "DailyLimit";
|
|
4244
|
+
};
|
|
4245
|
+
type DroppedEvent = { Index?: null | number; Name?: null | string; Reason?: null | string; [key: string]: unknown; };
|
|
4246
|
+
type LogEventsResponse = { Accepted?: null | number; Dropped?: null | Array<DroppedEvent>; Duplicate?: null | boolean; Disabled?: null | boolean; [key: string]: unknown; };
|
|
4247
|
+
declare const AnalyticsAction: {
|
|
4248
|
+
readonly LogEvents: "LogEvents";
|
|
4249
|
+
};
|
|
4250
|
+
type AnalyticsAction = (typeof AnalyticsAction)[keyof typeof AnalyticsAction];
|
|
4127
4251
|
|
|
4128
4252
|
interface TitlePublicConfigurationModel {
|
|
4129
4253
|
/** Schema of the title-wide key-value store; the values live in client.titleCustomData. */
|
|
@@ -4158,6 +4282,11 @@ interface TitlePublicConfigurationModel {
|
|
|
4158
4282
|
* rather than reading anything out of here.
|
|
4159
4283
|
*/
|
|
4160
4284
|
Localization?: LocalizationDefinitions | null;
|
|
4285
|
+
/**
|
|
4286
|
+
* Custom-event settings the SDK obeys before sending: on/off, naming mode, declared and blocked
|
|
4287
|
+
* events. Use `client.analytics` to log events rather than reading this.
|
|
4288
|
+
*/
|
|
4289
|
+
Analytics?: AnalyticsDefinitions | null;
|
|
4161
4290
|
[key: string]: unknown;
|
|
4162
4291
|
}
|
|
4163
4292
|
interface TitleRequest extends BaseRequest {
|
|
@@ -4262,6 +4391,19 @@ interface SdkEvents {
|
|
|
4262
4391
|
* the response of the action that caused it — subscribe instead of polling the state.
|
|
4263
4392
|
*/
|
|
4264
4393
|
"tutorial:systemProgress": TutorialStepProgress[];
|
|
4394
|
+
"experiments:loaded": GetExperimentsResponse;
|
|
4395
|
+
/**
|
|
4396
|
+
* Experiments whose variant or status differs from what this player had before — the first
|
|
4397
|
+
* load included. Subscribe to re-apply variant params (a colour, a price label) on the fly.
|
|
4398
|
+
*/
|
|
4399
|
+
"experiments:changed": PlayerExperimentView[];
|
|
4400
|
+
/** A batch was delivered. */
|
|
4401
|
+
"analytics:flushed": LogEventsResponse;
|
|
4402
|
+
/**
|
|
4403
|
+
* The server dropped some events of a batch: `CatalogFull` (the plan's event-name limit),
|
|
4404
|
+
* `NotDeclared`, `DailyLimit`, … Worth logging in development — nothing retries them.
|
|
4405
|
+
*/
|
|
4406
|
+
"analytics:eventsDropped": DroppedEvent[];
|
|
4265
4407
|
"communityMarketing:stateLoaded": CommunityMarketingState;
|
|
4266
4408
|
"communityMarketing:earningsLoaded": CommunityEarningsResponse;
|
|
4267
4409
|
/**
|
|
@@ -5288,7 +5430,7 @@ declare const IapProductType: {
|
|
|
5288
5430
|
};
|
|
5289
5431
|
type IapProductType = (typeof IapProductType)[keyof typeof IapProductType];
|
|
5290
5432
|
type IapProductRules = { StartUtc?: null | string; EndUtc?: null | string; Gate?: null | SegmentGate; Limits?: null | LimitSpec; [key: string]: unknown; };
|
|
5291
|
-
type IapProductDefinition = { ProductID?: null | string; Name?: null | string; Type?: null | 'Subscription' | 'Consumable' | 'NonConsumable'; Enabled?: null | boolean; StoreProductIDs?: null | Record<string, string>; Rewards?: null | ResourceGrant; PriceUsdCents?: null | number; Rules?: null | IapProductRules; Refund?: null | { ResourceAction?: null | string; RevokeEntitlement?: null | boolean; BlockFuturePurchases?: null | boolean; [key: string]: unknown; }; AssetPaths?: null | Record<string, string>; CustomParams?: null | Record<string, string>; [key: string]: unknown; };
|
|
5433
|
+
type IapProductDefinition = { ProductID?: null | string; Name?: null | string; Type?: null | 'Subscription' | 'Consumable' | 'NonConsumable'; Enabled?: null | boolean; StoreProductIDs?: null | Record<string, string>; Rewards?: null | ResourceGrant; PriceUsdCents?: null | number; TelegramStarsPrice?: null | number; Rules?: null | IapProductRules; Refund?: null | { ResourceAction?: null | string; RevokeEntitlement?: null | boolean; BlockFuturePurchases?: null | boolean; [key: string]: unknown; }; AssetPaths?: null | Record<string, string>; CustomParams?: null | Record<string, string>; [key: string]: unknown; };
|
|
5292
5434
|
type PurchaseDefinitions = { Enabled?: null | boolean; Products?: null | Record<string, IapProductDefinition>; [key: string]: unknown; };
|
|
5293
5435
|
type IapProductPurchaseState = { ProductID?: null | string; TotalPurchases?: null | number; DailyPurchases?: null | number; DailyResetUtc?: null | string; LastPurchasedAt?: null | string; Owned?: null | boolean; Refunded?: null | boolean; PurchaseBlocked?: null | boolean; [key: string]: unknown; };
|
|
5294
5436
|
type UserPurchaseState = { Products?: null | Record<string, IapProductPurchaseState>; LifetimeSpendUsdCents?: null | number; [key: string]: unknown; };
|
|
@@ -5299,7 +5441,8 @@ declare const IapPurchaseStatus: {
|
|
|
5299
5441
|
readonly AlreadyProcessed: "AlreadyProcessed";
|
|
5300
5442
|
};
|
|
5301
5443
|
type IapPurchaseStatus = (typeof IapPurchaseStatus)[keyof typeof IapPurchaseStatus];
|
|
5302
|
-
type PurchaseValidationResponse = { ServerTimeUtc: string; Store?: null | 'GooglePlay' | 'AppleAppStore'; ProductID?: null | string; TransactionID?: null | string; Status?: null | 'Granted' | 'Restored' | 'AlreadyProcessed'; Granted?: null | boolean; Quantity?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; ProductState?: null | IapProductPurchaseState; [key: string]: unknown; };
|
|
5444
|
+
type PurchaseValidationResponse = { ServerTimeUtc: string; Store?: null | 'GooglePlay' | 'AppleAppStore' | 'TelegramStars'; ProductID?: null | string; TransactionID?: null | string; Status?: null | 'Granted' | 'Restored' | 'AlreadyProcessed'; Granted?: null | boolean; Quantity?: null | number; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; ProductState?: null | IapProductPurchaseState; [key: string]: unknown; };
|
|
5445
|
+
type TelegramInvoiceResponse = { ServerTimeUtc: string; InvoiceLink: string; ProductID?: null | string; Stars?: null | number; ExpiresAt?: null | string; [key: string]: unknown; };
|
|
5303
5446
|
type PurchaseValidationBatchResponse = { ServerTimeUtc: string; Items: Array<{ Id: string; Success: boolean; Error?: null | string; Data?: null | PurchaseValidationResponse; }>; Resources?: null | ResourceOperation; Inventory?: null | InventoryDelta; };
|
|
5304
5447
|
interface PurchaseReceiptRef {
|
|
5305
5448
|
Store?: IapStore;
|
|
@@ -5327,12 +5470,13 @@ interface PurchaseRequest extends BaseRequest {
|
|
|
5327
5470
|
/** ValidatePurchasesBatch: receipts to restore after a reinstall. */
|
|
5328
5471
|
Receipts?: PurchaseReceiptRef[];
|
|
5329
5472
|
}
|
|
5330
|
-
type IapStore = 'GooglePlay' | 'AppleAppStore';
|
|
5473
|
+
type IapStore = 'GooglePlay' | 'AppleAppStore' | 'TelegramStars';
|
|
5331
5474
|
declare const PurchaseAction: {
|
|
5332
5475
|
readonly GetDefinitions: "GetDefinitions";
|
|
5333
5476
|
readonly GetUserState: "GetUserState";
|
|
5334
5477
|
readonly ValidatePurchase: "ValidatePurchase";
|
|
5335
5478
|
readonly ValidatePurchasesBatch: "ValidatePurchasesBatch";
|
|
5479
|
+
readonly CreateTelegramInvoice: "CreateTelegramInvoice";
|
|
5336
5480
|
};
|
|
5337
5481
|
type PurchaseAction = (typeof PurchaseAction)[keyof typeof PurchaseAction];
|
|
5338
5482
|
|
|
@@ -5372,6 +5516,19 @@ declare class PurchaseService {
|
|
|
5372
5516
|
productID?: string;
|
|
5373
5517
|
transactionID?: string;
|
|
5374
5518
|
}): Promise<OperationResult<PurchaseValidationResponse>>;
|
|
5519
|
+
/**
|
|
5520
|
+
* Buys a product for Telegram Stars: asks the server for a payment link and opens it.
|
|
5521
|
+
*
|
|
5522
|
+
* Nothing is granted by this call. Telegram charges the player and reports the payment to the
|
|
5523
|
+
* title bot's webhook, and the server grants there — through the same ledger and idempotency as
|
|
5524
|
+
* store receipts. So after the invoice closes, re-read the player state instead of applying
|
|
5525
|
+
* anything locally: the reward is already on the server, not in this response.
|
|
5526
|
+
*
|
|
5527
|
+
* Returns the link as well, for a host that wants to open it itself (a bot chat, a custom UI).
|
|
5528
|
+
*/
|
|
5529
|
+
buyWithTelegramStars(productID: string, options?: {
|
|
5530
|
+
open?: boolean;
|
|
5531
|
+
}): Promise<OperationResult<TelegramInvoiceResponse>>;
|
|
5375
5532
|
/**
|
|
5376
5533
|
* Restores purchases after a reinstall: several receipts in one call.
|
|
5377
5534
|
*
|
|
@@ -6895,220 +7052,876 @@ declare class WorkshopService {
|
|
|
6895
7052
|
private baseRequest;
|
|
6896
7053
|
}
|
|
6897
7054
|
|
|
6898
|
-
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
/**
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
declare
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
}
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
/**
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
skipStep(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7037
|
-
skipFlow(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7038
|
-
claimFlowReward(request: TutorialRequest): Promise<OperationResult<TutorialClaimResponse>>;
|
|
7039
|
-
resetFlow(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7040
|
-
}
|
|
7041
|
-
|
|
7042
|
-
/** Thin transport wrapper for Community Marketing (port of CommunityMarketingV2). */
|
|
7043
|
-
declare class CommunityMarketingApi {
|
|
7044
|
-
private readonly ctx;
|
|
7045
|
-
constructor(ctx: ClientContext);
|
|
7046
|
-
private send;
|
|
7047
|
-
getCommunityMarketingState(request: CommunityMarketingRequest): Promise<OperationResult<CommunityMarketingState>>;
|
|
7048
|
-
getEarnings(request: CommunityMarketingRequest): Promise<OperationResult<CommunityEarningsResponse>>;
|
|
7049
|
-
claim(request: CommunityMarketingRequest): Promise<OperationResult<CommunityClaimResponse>>;
|
|
7050
|
-
checkJoinEligibility(request: CommunityMarketingRequest): Promise<OperationResult<CommunityEligibilityResponse>>;
|
|
7051
|
-
withdrawCryptoReward(request: CommunityMarketingRequest): Promise<OperationResult<CommunityWithdrawalResponse>>;
|
|
7052
|
-
}
|
|
7053
|
-
|
|
7054
|
-
/** Thin transport wrapper for the Chat feature (port of ChatV2). */
|
|
7055
|
-
declare class ChatApi {
|
|
7056
|
-
private readonly ctx;
|
|
7057
|
-
constructor(ctx: ClientContext);
|
|
7058
|
-
private send;
|
|
7059
|
-
getChatDefinitions(request: ChatRequest): Promise<OperationResult<ChatDefinitions>>;
|
|
7060
|
-
getChannels(request: ChatRequest): Promise<OperationResult<ChatChannelsResponse>>;
|
|
7061
|
-
poll(request: ChatRequest): Promise<OperationResult<ChatPollResponse>>;
|
|
7062
|
-
getHistory(request: ChatRequest): Promise<OperationResult<ChatHistoryResponse>>;
|
|
7063
|
-
getConversations(request: ChatRequest): Promise<OperationResult<ChatConversationsResponse>>;
|
|
7064
|
-
sendMessage(request: ChatRequest): Promise<OperationResult<ChatSendResponse>>;
|
|
7065
|
-
openDirectChannel(request: ChatRequest): Promise<OperationResult<ChatDirectChannelResponse>>;
|
|
7066
|
-
markRead(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7067
|
-
joinChannel(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7068
|
-
leaveChannel(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7069
|
-
reportMessage(request: ChatRequest): Promise<OperationResult<ChatReportResponse>>;
|
|
7070
|
-
ignoreUser(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7071
|
-
unignoreUser(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7072
|
-
}
|
|
7073
|
-
|
|
7074
|
-
/** Thin transport wrapper for push subscriptions (port of PushV2). */
|
|
7075
|
-
declare class PushApi {
|
|
7076
|
-
private readonly ctx;
|
|
7077
|
-
constructor(ctx: ClientContext);
|
|
7078
|
-
private send;
|
|
7079
|
-
getPushConfig(request: PushRequest): Promise<OperationResult<PushConfigResponse>>;
|
|
7080
|
-
subscribePush(request: PushRequest): Promise<OperationResult<PushSubscriptionView>>;
|
|
7081
|
-
unsubscribePush(request: PushRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7082
|
-
getPushSubscriptions(request: PushRequest): Promise<OperationResult<PushSubscriptionListResponse>>;
|
|
7055
|
+
declare const DataCollectionKind: {
|
|
7056
|
+
/** Each record belongs to one user (saves, builds, orders, documents, settings). */
|
|
7057
|
+
readonly UserOwned: "UserOwned";
|
|
7058
|
+
/** Records shared by many users (guilds, auctions, catalog, articles, world shards). */
|
|
7059
|
+
readonly Shared: "Shared";
|
|
7060
|
+
/** Short-lived records with a mandatory TTL (invites, lobbies, carts, codes). */
|
|
7061
|
+
readonly Temporary: "Temporary";
|
|
7062
|
+
/** Append-only records read by time (history, feed, messages, audit). */
|
|
7063
|
+
readonly Log: "Log";
|
|
7064
|
+
};
|
|
7065
|
+
type DataCollectionKind = (typeof DataCollectionKind)[keyof typeof DataCollectionKind];
|
|
7066
|
+
declare const DataFieldType: {
|
|
7067
|
+
readonly String: "String";
|
|
7068
|
+
/** Long text searched by words and word prefixes. */
|
|
7069
|
+
readonly Text: "Text";
|
|
7070
|
+
readonly Int: "Int";
|
|
7071
|
+
readonly Number: "Number";
|
|
7072
|
+
readonly Bool: "Bool";
|
|
7073
|
+
/** ISO-8601 string (or unix ms on input). */
|
|
7074
|
+
readonly Date: "Date";
|
|
7075
|
+
readonly Json: "Json";
|
|
7076
|
+
readonly Array: "Array";
|
|
7077
|
+
/** A reference to a record, a user, an item, a currency, … (validated on write, expandable on read). */
|
|
7078
|
+
readonly Ref: "Ref";
|
|
7079
|
+
readonly File: "File";
|
|
7080
|
+
};
|
|
7081
|
+
type DataFieldType = (typeof DataFieldType)[keyof typeof DataFieldType];
|
|
7082
|
+
declare const DataFieldVisibility: {
|
|
7083
|
+
readonly Everyone: "Everyone";
|
|
7084
|
+
readonly Owner: "Owner";
|
|
7085
|
+
readonly Server: "Server";
|
|
7086
|
+
};
|
|
7087
|
+
type DataFieldVisibility = (typeof DataFieldVisibility)[keyof typeof DataFieldVisibility];
|
|
7088
|
+
declare const DataAccessMode: {
|
|
7089
|
+
/** Anyone, including visitors without a session (Read only). */
|
|
7090
|
+
readonly Anyone: "Anyone";
|
|
7091
|
+
readonly Authenticated: "Authenticated";
|
|
7092
|
+
readonly Owner: "Owner";
|
|
7093
|
+
/** A user listed in the record's MembersField. */
|
|
7094
|
+
readonly Members: "Members";
|
|
7095
|
+
readonly Role: "Role";
|
|
7096
|
+
readonly Server: "Server";
|
|
7097
|
+
};
|
|
7098
|
+
type DataAccessMode = (typeof DataAccessMode)[keyof typeof DataAccessMode];
|
|
7099
|
+
declare const DataRefKind: {
|
|
7100
|
+
readonly DataItem: "DataItem";
|
|
7101
|
+
readonly User: "User";
|
|
7102
|
+
readonly Item: "Item";
|
|
7103
|
+
readonly Currency: "Currency";
|
|
7104
|
+
readonly ItemInstance: "ItemInstance";
|
|
7105
|
+
readonly StoreOffer: "StoreOffer";
|
|
7106
|
+
readonly Leaderboard: "Leaderboard";
|
|
7107
|
+
readonly Quest: "Quest";
|
|
7108
|
+
readonly WorkshopContent: "WorkshopContent";
|
|
7109
|
+
};
|
|
7110
|
+
type DataRefKind = (typeof DataRefKind)[keyof typeof DataRefKind];
|
|
7111
|
+
declare const DataCounterKind: {
|
|
7112
|
+
readonly Count: "Count";
|
|
7113
|
+
readonly Sum: "Sum";
|
|
7114
|
+
};
|
|
7115
|
+
type DataCounterKind = (typeof DataCounterKind)[keyof typeof DataCounterKind];
|
|
7116
|
+
declare const DataOwnerDeletedPolicy: {
|
|
7117
|
+
readonly Delete: "Delete";
|
|
7118
|
+
readonly Anonymize: "Anonymize";
|
|
7119
|
+
readonly Keep: "Keep";
|
|
7120
|
+
};
|
|
7121
|
+
type DataOwnerDeletedPolicy = (typeof DataOwnerDeletedPolicy)[keyof typeof DataOwnerDeletedPolicy];
|
|
7122
|
+
declare const DataCollectionSchemaMode: {
|
|
7123
|
+
readonly Strict: "Strict";
|
|
7124
|
+
readonly Loose: "Loose";
|
|
7125
|
+
};
|
|
7126
|
+
type DataCollectionSchemaMode = (typeof DataCollectionSchemaMode)[keyof typeof DataCollectionSchemaMode];
|
|
7127
|
+
type DataRefTarget = z.output<typeof zDataRefTarget>;
|
|
7128
|
+
type DataFieldDefinition = z.output<typeof zDataFieldDefinition>;
|
|
7129
|
+
type DataSortKeyDefinition = z.output<typeof zDataSortKeyDefinition>;
|
|
7130
|
+
type DataAccessRule = z.output<typeof zDataAccessRule>;
|
|
7131
|
+
type DataPublicViewDefinition = z.output<typeof zDataPublicViewDefinition>;
|
|
7132
|
+
type DataCollectionDefinition = z.output<typeof zDataCollectionDefinition>;
|
|
7133
|
+
type DataDefinitionsResponse = z.output<typeof zDataDefinitionsResponse>;
|
|
7134
|
+
/** Record data as the caller sees it (fields hidden from the caller are already removed). */
|
|
7135
|
+
type DataRecord = Record<string, unknown>;
|
|
7136
|
+
type DataFileView = z.output<typeof zDataFileView>;
|
|
7137
|
+
type DataFileUploadResponse = z.output<typeof zDataFileUploadResponse>;
|
|
7138
|
+
type DataItemView = z.output<typeof zDataItemView>;
|
|
7139
|
+
type DataGetResponse = z.output<typeof zDataGetResponse>;
|
|
7140
|
+
type DataGetManyResponse = z.output<typeof zDataGetManyResponse>;
|
|
7141
|
+
type DataQueryResponse = z.output<typeof zDataQueryResponse>;
|
|
7142
|
+
type DataCountResponse = z.output<typeof zDataCountResponse>;
|
|
7143
|
+
type DataWriteResponse = z.output<typeof zDataWriteResponse>;
|
|
7144
|
+
type DataDeleteResponse = z.output<typeof zDataDeleteResponse>;
|
|
7145
|
+
type DataCounterResponse = z.output<typeof zDataCounterResponse>;
|
|
7146
|
+
type DataBatchResponse = z.output<typeof zDataBatchResponse>;
|
|
7147
|
+
type DataRolesResponse = z.output<typeof zDataRolesResponse>;
|
|
7148
|
+
type DataPublicViewsResponse = z.output<typeof zDataPublicViewsResponse>;
|
|
7149
|
+
type DataPublicViewPointer = z.output<typeof zDataPublicViewPointer>;
|
|
7150
|
+
type DataPublicViewPage = z.output<typeof zDataPublicViewPage>;
|
|
7151
|
+
/** Operators: eq, in, gt, gte, lt, lte, contains (array element), prefix (String). */
|
|
7152
|
+
type DataFilterOp = "eq" | "in" | "gt" | "gte" | "lt" | "lte" | "contains" | "prefix";
|
|
7153
|
+
interface DataFilter {
|
|
7154
|
+
Field: string;
|
|
7155
|
+
Op: DataFilterOp;
|
|
7156
|
+
Value: unknown;
|
|
7157
|
+
}
|
|
7158
|
+
/** A query: filter ONLY by searchable (Indexed) fields, order ONLY by a declared sort key. */
|
|
7159
|
+
interface DataQuerySpec {
|
|
7160
|
+
Where?: DataFilter[];
|
|
7161
|
+
/** Sort key id; equality filters on its leading fields narrow the range. */
|
|
7162
|
+
OrderBy?: string;
|
|
7163
|
+
Descending?: boolean;
|
|
7164
|
+
/** "me" — only the caller's records. */
|
|
7165
|
+
Owner?: "me";
|
|
7166
|
+
/** Only records where the caller is listed as a member. */
|
|
7167
|
+
MemberOfMine?: boolean;
|
|
7168
|
+
/** Full-text search over searchable Text fields (words and word prefixes). */
|
|
7169
|
+
Text?: string;
|
|
7170
|
+
/** 1..100, default 20. */
|
|
7171
|
+
Limit?: number;
|
|
7172
|
+
Cursor?: string;
|
|
7173
|
+
}
|
|
7174
|
+
interface DataUpdateSpec {
|
|
7175
|
+
/** Field → new value; `null` removes the field. */
|
|
7176
|
+
Set?: Record<string, unknown>;
|
|
7177
|
+
/** Field → delta (Int / Number). */
|
|
7178
|
+
Inc?: Record<string, number>;
|
|
7179
|
+
/** Array field → element (or array of elements) to append. */
|
|
7180
|
+
Push?: Record<string, unknown>;
|
|
7181
|
+
/** Array field → element (or array of elements) to remove. */
|
|
7182
|
+
Pull?: Record<string, unknown>;
|
|
7183
|
+
/** Array field → element (or array of elements) to add when missing. */
|
|
7184
|
+
AddToSet?: Record<string, unknown>;
|
|
7185
|
+
}
|
|
7186
|
+
interface DataBatchOperation {
|
|
7187
|
+
Op: "Create" | "Update" | "Delete";
|
|
7188
|
+
Collection: string;
|
|
7189
|
+
ItemID?: string;
|
|
7190
|
+
Data?: DataRecord;
|
|
7191
|
+
Update?: DataUpdateSpec;
|
|
7192
|
+
ExpectedVersion?: number;
|
|
7083
7193
|
}
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7194
|
+
interface DataCollectionsRequest extends BaseRequest {
|
|
7195
|
+
Collection?: string;
|
|
7196
|
+
ItemID?: string;
|
|
7197
|
+
ItemIDs?: string[];
|
|
7198
|
+
Data?: DataRecord;
|
|
7199
|
+
Update?: DataUpdateSpec;
|
|
7200
|
+
ExpectedVersion?: number;
|
|
7201
|
+
Query?: DataQuerySpec;
|
|
7202
|
+
Expand?: string[];
|
|
7203
|
+
CounterID?: string;
|
|
7204
|
+
Group?: unknown;
|
|
7205
|
+
Operations?: DataBatchOperation[];
|
|
7206
|
+
/** BeginFileUpload: the File field, the declared content type and the size in bytes. */
|
|
7207
|
+
Field?: string;
|
|
7208
|
+
ContentType?: string;
|
|
7209
|
+
FileSize?: number;
|
|
7100
7210
|
}
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7211
|
+
declare const DataCollectionsAction: {
|
|
7212
|
+
readonly GetDefinitions: "GetDefinitions";
|
|
7213
|
+
readonly Get: "Get";
|
|
7214
|
+
readonly GetMany: "GetMany";
|
|
7215
|
+
readonly Query: "Query";
|
|
7216
|
+
readonly Count: "Count";
|
|
7217
|
+
readonly Create: "Create";
|
|
7218
|
+
readonly Update: "Update";
|
|
7219
|
+
readonly Delete: "Delete";
|
|
7220
|
+
readonly Batch: "Batch";
|
|
7221
|
+
readonly GetCounter: "GetCounter";
|
|
7222
|
+
readonly GetMyRoles: "GetMyRoles";
|
|
7223
|
+
readonly BeginFileUpload: "BeginFileUpload";
|
|
7224
|
+
};
|
|
7225
|
+
type DataCollectionsAction = (typeof DataCollectionsAction)[keyof typeof DataCollectionsAction];
|
|
7226
|
+
/** Economy of one operation, re-exported for typing Cost/Grant in UIs. */
|
|
7227
|
+
type DataOperationEconomy = {
|
|
7228
|
+
Cost?: ResourceBundle | null;
|
|
7229
|
+
Grant?: ResourceBundle | null;
|
|
7230
|
+
};
|
|
7231
|
+
|
|
7232
|
+
interface DataReadOptions {
|
|
7233
|
+
/** Ref fields to expand in the answer (record, user profile, item or currency definition). */
|
|
7234
|
+
expand?: string[];
|
|
7235
|
+
}
|
|
7236
|
+
/** Filter helper: `where("region", "eq", "EU")`. */
|
|
7237
|
+
declare function where(field: string, op: DataFilterOp, value: unknown): DataFilter;
|
|
7238
|
+
/**
|
|
7239
|
+
* Data collections — the creator's own data structures (port of DataCollections/DataCollections.cs):
|
|
7240
|
+
* guilds, auctions, orders, catalogs, articles, saved levels, feeds — whatever no ready platform
|
|
7241
|
+
* module covers. ⚠ Not `client.collection` (collectible card sets).
|
|
7242
|
+
*
|
|
7243
|
+
* - The title declares collections (fields, searchable fields, sort keys, access rules, limits);
|
|
7244
|
+
* the server enforces every rule — the client cannot bypass them.
|
|
7245
|
+
* - Queries filter ONLY by searchable (Indexed) fields and order ONLY by declared sort keys; a
|
|
7246
|
+
* query by anything else is refused before the database.
|
|
7247
|
+
* - Value never lives in a record: the collection's Economy (Cost/Grant) moves currencies/items in
|
|
7248
|
+
* the same transaction as the write, and records reference items/currencies/users by Ref fields.
|
|
7249
|
+
* - Public collections (Read: Anyone) are readable WITHOUT login: `readPublicView` reads the pages
|
|
7250
|
+
* the server publishes to the CDN, `searchPublic` runs a live search where the title allows it.
|
|
7251
|
+
*/
|
|
7252
|
+
declare class DataCollectionsService {
|
|
7104
7253
|
private readonly ctx;
|
|
7254
|
+
private readonly publicViews;
|
|
7105
7255
|
constructor(ctx: ClientContext);
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7256
|
+
/** Collections of the title as the client may see them (server-only fields and triggers removed). */
|
|
7257
|
+
getDefinitions(): Promise<OperationResult<DataDefinitionsResponse>>;
|
|
7258
|
+
get(collection: string, itemID: string, options?: DataReadOptions): Promise<OperationResult<DataGetResponse>>;
|
|
7259
|
+
getMany(collection: string, itemIDs: string[], options?: DataReadOptions): Promise<OperationResult<DataGetManyResponse>>;
|
|
7260
|
+
/** One page. Pass `NextCursor` back as `Cursor` for the next one. */
|
|
7261
|
+
query(collection: string, query?: DataQuerySpec, options?: DataReadOptions): Promise<OperationResult<DataQueryResponse>>;
|
|
7262
|
+
/** Follows the cursor and collects up to `maxItems` records (default 500). */
|
|
7263
|
+
queryAll(collection: string, query?: DataQuerySpec, options?: DataReadOptions & {
|
|
7264
|
+
maxItems?: number;
|
|
7265
|
+
}): Promise<OperationResult<DataItemView[]>>;
|
|
7266
|
+
count(collection: string, query?: DataQuerySpec): Promise<OperationResult<DataCountResponse>>;
|
|
7267
|
+
/**
|
|
7268
|
+
* Creates a record. Pass your own `itemID` to make a retry safe: repeating the same create returns
|
|
7269
|
+
* the existing record with `AlreadyExists: true` and charges nothing twice.
|
|
7270
|
+
*/
|
|
7271
|
+
create(collection: string, data: DataRecord, options?: {
|
|
7272
|
+
itemID?: string;
|
|
7273
|
+
}): Promise<OperationResult<DataWriteResponse>>;
|
|
7274
|
+
/** Partial change. `expectedVersion` makes it compare-and-swap: a changed record is refused, not overwritten. */
|
|
7275
|
+
update(collection: string, itemID: string, update: DataUpdateSpec, options?: {
|
|
7276
|
+
expectedVersion?: number;
|
|
7277
|
+
}): Promise<OperationResult<DataWriteResponse>>;
|
|
7278
|
+
/** `update` with only `Set`: `null` removes a field. */
|
|
7279
|
+
set(collection: string, itemID: string, fields: DataRecord, options?: {
|
|
7280
|
+
expectedVersion?: number;
|
|
7281
|
+
}): Promise<OperationResult<{
|
|
7282
|
+
Item: {
|
|
7283
|
+
Collection: string;
|
|
7284
|
+
ItemID: string;
|
|
7285
|
+
Data: Record<string, unknown>;
|
|
7286
|
+
Version: number;
|
|
7287
|
+
CreatedAt: string;
|
|
7288
|
+
UpdatedAt: string;
|
|
7289
|
+
OwnerUserID?: string | null | undefined;
|
|
7290
|
+
ExpireAt?: string | null | undefined;
|
|
7291
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
7292
|
+
Files?: Record<string, {
|
|
7293
|
+
FileID: string;
|
|
7294
|
+
Url: string;
|
|
7295
|
+
Size: number;
|
|
7296
|
+
ContentType?: string | null | undefined;
|
|
7297
|
+
}> | null | undefined;
|
|
7298
|
+
};
|
|
7299
|
+
AlreadyExists?: boolean | undefined;
|
|
7300
|
+
Economy?: {
|
|
7301
|
+
Grant?: {
|
|
7302
|
+
Standard?: {
|
|
7303
|
+
Entries?: {
|
|
7304
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7305
|
+
CurrencyID?: string | null | undefined;
|
|
7306
|
+
Amount?: number | null | undefined;
|
|
7307
|
+
AmountUsd?: number | null | undefined;
|
|
7308
|
+
CatalogID?: string | null | undefined;
|
|
7309
|
+
ItemID?: string | null | undefined;
|
|
7310
|
+
ProductID?: string | null | undefined;
|
|
7311
|
+
}[] | null | undefined;
|
|
7312
|
+
EventTokens?: {
|
|
7313
|
+
Address?: {
|
|
7314
|
+
EntityID: string;
|
|
7315
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7316
|
+
} | null | undefined;
|
|
7317
|
+
Amount?: number | null | undefined;
|
|
7318
|
+
Source?: string | null | undefined;
|
|
7319
|
+
}[] | null | undefined;
|
|
7320
|
+
} | null | undefined;
|
|
7321
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
7322
|
+
PremiumTiers?: {
|
|
7323
|
+
MinPremiumTier?: number | null | undefined;
|
|
7324
|
+
RequiredPremiumID?: string | null | undefined;
|
|
7325
|
+
Resources?: {
|
|
7326
|
+
Entries?: {
|
|
7327
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7328
|
+
CurrencyID?: string | null | undefined;
|
|
7329
|
+
Amount?: number | null | undefined;
|
|
7330
|
+
AmountUsd?: number | null | undefined;
|
|
7331
|
+
CatalogID?: string | null | undefined;
|
|
7332
|
+
ItemID?: string | null | undefined;
|
|
7333
|
+
ProductID?: string | null | undefined;
|
|
7334
|
+
}[] | null | undefined;
|
|
7335
|
+
EventTokens?: {
|
|
7336
|
+
Address?: {
|
|
7337
|
+
EntityID: string;
|
|
7338
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7339
|
+
} | null | undefined;
|
|
7340
|
+
Amount?: number | null | undefined;
|
|
7341
|
+
Source?: string | null | undefined;
|
|
7342
|
+
}[] | null | undefined;
|
|
7343
|
+
} | null | undefined;
|
|
7344
|
+
}[] | null | undefined;
|
|
7345
|
+
} | null | undefined;
|
|
7346
|
+
Consume?: {
|
|
7347
|
+
Standard?: {
|
|
7348
|
+
Entries?: {
|
|
7349
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7350
|
+
CurrencyID?: string | null | undefined;
|
|
7351
|
+
Amount?: number | null | undefined;
|
|
7352
|
+
AmountUsd?: number | null | undefined;
|
|
7353
|
+
CatalogID?: string | null | undefined;
|
|
7354
|
+
ItemID?: string | null | undefined;
|
|
7355
|
+
ProductID?: string | null | undefined;
|
|
7356
|
+
}[] | null | undefined;
|
|
7357
|
+
EventTokens?: {
|
|
7358
|
+
Address?: {
|
|
7359
|
+
EntityID: string;
|
|
7360
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7361
|
+
} | null | undefined;
|
|
7362
|
+
Amount?: number | null | undefined;
|
|
7363
|
+
Source?: string | null | undefined;
|
|
7364
|
+
}[] | null | undefined;
|
|
7365
|
+
} | null | undefined;
|
|
7366
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
7367
|
+
PremiumTiers?: {
|
|
7368
|
+
MinPremiumTier?: number | null | undefined;
|
|
7369
|
+
RequiredPremiumID?: string | null | undefined;
|
|
7370
|
+
Resources?: {
|
|
7371
|
+
Entries?: {
|
|
7372
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7373
|
+
CurrencyID?: string | null | undefined;
|
|
7374
|
+
Amount?: number | null | undefined;
|
|
7375
|
+
AmountUsd?: number | null | undefined;
|
|
7376
|
+
CatalogID?: string | null | undefined;
|
|
7377
|
+
ItemID?: string | null | undefined;
|
|
7378
|
+
ProductID?: string | null | undefined;
|
|
7379
|
+
}[] | null | undefined;
|
|
7380
|
+
EventTokens?: {
|
|
7381
|
+
Address?: {
|
|
7382
|
+
EntityID: string;
|
|
7383
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7384
|
+
} | null | undefined;
|
|
7385
|
+
Amount?: number | null | undefined;
|
|
7386
|
+
Source?: string | null | undefined;
|
|
7387
|
+
}[] | null | undefined;
|
|
7388
|
+
} | null | undefined;
|
|
7389
|
+
}[] | null | undefined;
|
|
7390
|
+
} | null | undefined;
|
|
7391
|
+
} | null | undefined;
|
|
7392
|
+
}>>;
|
|
7393
|
+
/** Atomic increment of an Int/Number field (bounds of the field still apply). */
|
|
7394
|
+
increment(collection: string, itemID: string, field: string, delta?: number): Promise<OperationResult<{
|
|
7395
|
+
Item: {
|
|
7396
|
+
Collection: string;
|
|
7397
|
+
ItemID: string;
|
|
7398
|
+
Data: Record<string, unknown>;
|
|
7399
|
+
Version: number;
|
|
7400
|
+
CreatedAt: string;
|
|
7401
|
+
UpdatedAt: string;
|
|
7402
|
+
OwnerUserID?: string | null | undefined;
|
|
7403
|
+
ExpireAt?: string | null | undefined;
|
|
7404
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
7405
|
+
Files?: Record<string, {
|
|
7406
|
+
FileID: string;
|
|
7407
|
+
Url: string;
|
|
7408
|
+
Size: number;
|
|
7409
|
+
ContentType?: string | null | undefined;
|
|
7410
|
+
}> | null | undefined;
|
|
7411
|
+
};
|
|
7412
|
+
AlreadyExists?: boolean | undefined;
|
|
7413
|
+
Economy?: {
|
|
7414
|
+
Grant?: {
|
|
7415
|
+
Standard?: {
|
|
7416
|
+
Entries?: {
|
|
7417
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7418
|
+
CurrencyID?: string | null | undefined;
|
|
7419
|
+
Amount?: number | null | undefined;
|
|
7420
|
+
AmountUsd?: number | null | undefined;
|
|
7421
|
+
CatalogID?: string | null | undefined;
|
|
7422
|
+
ItemID?: string | null | undefined;
|
|
7423
|
+
ProductID?: string | null | undefined;
|
|
7424
|
+
}[] | null | undefined;
|
|
7425
|
+
EventTokens?: {
|
|
7426
|
+
Address?: {
|
|
7427
|
+
EntityID: string;
|
|
7428
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7429
|
+
} | null | undefined;
|
|
7430
|
+
Amount?: number | null | undefined;
|
|
7431
|
+
Source?: string | null | undefined;
|
|
7432
|
+
}[] | null | undefined;
|
|
7433
|
+
} | null | undefined;
|
|
7434
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
7435
|
+
PremiumTiers?: {
|
|
7436
|
+
MinPremiumTier?: number | null | undefined;
|
|
7437
|
+
RequiredPremiumID?: string | null | undefined;
|
|
7438
|
+
Resources?: {
|
|
7439
|
+
Entries?: {
|
|
7440
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7441
|
+
CurrencyID?: string | null | undefined;
|
|
7442
|
+
Amount?: number | null | undefined;
|
|
7443
|
+
AmountUsd?: number | null | undefined;
|
|
7444
|
+
CatalogID?: string | null | undefined;
|
|
7445
|
+
ItemID?: string | null | undefined;
|
|
7446
|
+
ProductID?: string | null | undefined;
|
|
7447
|
+
}[] | null | undefined;
|
|
7448
|
+
EventTokens?: {
|
|
7449
|
+
Address?: {
|
|
7450
|
+
EntityID: string;
|
|
7451
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7452
|
+
} | null | undefined;
|
|
7453
|
+
Amount?: number | null | undefined;
|
|
7454
|
+
Source?: string | null | undefined;
|
|
7455
|
+
}[] | null | undefined;
|
|
7456
|
+
} | null | undefined;
|
|
7457
|
+
}[] | null | undefined;
|
|
7458
|
+
} | null | undefined;
|
|
7459
|
+
Consume?: {
|
|
7460
|
+
Standard?: {
|
|
7461
|
+
Entries?: {
|
|
7462
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7463
|
+
CurrencyID?: string | null | undefined;
|
|
7464
|
+
Amount?: number | null | undefined;
|
|
7465
|
+
AmountUsd?: number | null | undefined;
|
|
7466
|
+
CatalogID?: string | null | undefined;
|
|
7467
|
+
ItemID?: string | null | undefined;
|
|
7468
|
+
ProductID?: string | null | undefined;
|
|
7469
|
+
}[] | null | undefined;
|
|
7470
|
+
EventTokens?: {
|
|
7471
|
+
Address?: {
|
|
7472
|
+
EntityID: string;
|
|
7473
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7474
|
+
} | null | undefined;
|
|
7475
|
+
Amount?: number | null | undefined;
|
|
7476
|
+
Source?: string | null | undefined;
|
|
7477
|
+
}[] | null | undefined;
|
|
7478
|
+
} | null | undefined;
|
|
7479
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
7480
|
+
PremiumTiers?: {
|
|
7481
|
+
MinPremiumTier?: number | null | undefined;
|
|
7482
|
+
RequiredPremiumID?: string | null | undefined;
|
|
7483
|
+
Resources?: {
|
|
7484
|
+
Entries?: {
|
|
7485
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7486
|
+
CurrencyID?: string | null | undefined;
|
|
7487
|
+
Amount?: number | null | undefined;
|
|
7488
|
+
AmountUsd?: number | null | undefined;
|
|
7489
|
+
CatalogID?: string | null | undefined;
|
|
7490
|
+
ItemID?: string | null | undefined;
|
|
7491
|
+
ProductID?: string | null | undefined;
|
|
7492
|
+
}[] | null | undefined;
|
|
7493
|
+
EventTokens?: {
|
|
7494
|
+
Address?: {
|
|
7495
|
+
EntityID: string;
|
|
7496
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7497
|
+
} | null | undefined;
|
|
7498
|
+
Amount?: number | null | undefined;
|
|
7499
|
+
Source?: string | null | undefined;
|
|
7500
|
+
}[] | null | undefined;
|
|
7501
|
+
} | null | undefined;
|
|
7502
|
+
}[] | null | undefined;
|
|
7503
|
+
} | null | undefined;
|
|
7504
|
+
} | null | undefined;
|
|
7505
|
+
}>>;
|
|
7506
|
+
delete(collection: string, itemID: string, options?: {
|
|
7507
|
+
expectedVersion?: number;
|
|
7508
|
+
}): Promise<OperationResult<DataDeleteResponse>>;
|
|
7509
|
+
/** Up to 25 operations over one or more collections — all or nothing, with one combined economy. */
|
|
7510
|
+
batch(operations: DataBatchOperation[]): Promise<OperationResult<DataBatchResponse>>;
|
|
7511
|
+
/** A declared aggregate (count / sum), optionally for one group value. */
|
|
7512
|
+
getCounter(collection: string, counterID: string, group?: unknown): Promise<OperationResult<DataCounterResponse>>;
|
|
7513
|
+
/** The caller's title roles (assigned by the server or the dashboard). */
|
|
7514
|
+
getMyRoles(): Promise<OperationResult<DataRolesResponse>>;
|
|
7515
|
+
/**
|
|
7516
|
+
* An upload ticket for a File field: the server checks the type and size against the field and
|
|
7517
|
+
* your right to write the collection, and returns a signed PUT link. Usually call `uploadFile`.
|
|
7518
|
+
*/
|
|
7519
|
+
beginFileUpload(collection: string, field: string, contentType: string, size: number): Promise<OperationResult<DataFileUploadResponse>>;
|
|
7520
|
+
/**
|
|
7521
|
+
* Uploads a file for a File field and returns its id: ticket → bytes straight to storage by the
|
|
7522
|
+
* signed link. Put `FileID` into the field on create/update — the server binds the file to the
|
|
7523
|
+
* record in that same write and checks the real bytes against the declared type. Read links
|
|
7524
|
+
* (`item.Files[field].Url`) are signed and expire in minutes: use them right away, never store them.
|
|
7525
|
+
*/
|
|
7526
|
+
uploadFile(collection: string, field: string, file: Blob, options?: {
|
|
7527
|
+
contentType?: string;
|
|
7528
|
+
}): Promise<OperationResult<DataFileUploadResponse>>;
|
|
7529
|
+
/** CDN addresses of a public collection's views. Cached for the life of the client. */
|
|
7530
|
+
getPublicViews(collection: string): Promise<OperationResult<DataPublicViewsResponse>>;
|
|
7531
|
+
/**
|
|
7532
|
+
* A page of a public view straight from the CDN — no database, no session. Freshness is seconds,
|
|
7533
|
+
* not instant. `partition` is the value of the view's PartitionField (a category, a region).
|
|
7534
|
+
*/
|
|
7535
|
+
readPublicView(collection: string, view: string, options?: {
|
|
7536
|
+
partition?: string;
|
|
7537
|
+
page?: number;
|
|
7538
|
+
}): Promise<OperationResult<{
|
|
7539
|
+
pointer: DataPublicViewPointer;
|
|
7540
|
+
page: DataPublicViewPage;
|
|
7541
|
+
}>>;
|
|
7542
|
+
/** A record of a public collection without login. */
|
|
7543
|
+
getPublic(collection: string, itemID: string): Promise<OperationResult<DataGetResponse>>;
|
|
7544
|
+
/** Live search of a public collection without login (only where the collection allows AnonymousSearch). */
|
|
7545
|
+
searchPublic(collection: string, query: DataQuerySpec): Promise<OperationResult<DataQueryResponse>>;
|
|
7546
|
+
private base;
|
|
7547
|
+
private call;
|
|
7548
|
+
/** PUT to a signed storage URL. Not our API: raw fetch, no auth header, no envelope. */
|
|
7549
|
+
private putBytes;
|
|
7550
|
+
private fetchJson;
|
|
7551
|
+
}
|
|
7552
|
+
|
|
7553
|
+
/**
|
|
7554
|
+
* Custom events, Firebase-style: `logEvent("level_complete", { level: 5 })`.
|
|
7555
|
+
*
|
|
7556
|
+
* What the game must know:
|
|
7557
|
+
*
|
|
7558
|
+
* 1. **Nothing is sent per call.** Events are queued and go out in batches — 25 events or every
|
|
7559
|
+
* 30 seconds, and when the tab is hidden. Every batch is one API call billed to the publisher,
|
|
7560
|
+
* so do not call `flush()` after every event.
|
|
7561
|
+
* 2. **Nothing is lost on reload.** The queue lives in storage, and a batch that was in flight
|
|
7562
|
+
* when the tab died is resent with the SAME batch id — the server does not count it twice.
|
|
7563
|
+
* 3. **The title decides.** If the publisher has not switched event analytics on
|
|
7564
|
+
* (`Analytics.Enabled`), nothing is sent at all; in `Declared` naming mode only declared
|
|
7565
|
+
* events are accepted, and blocked events are refused locally.
|
|
7566
|
+
* 4. **Automatic events** (`idos_first_open`, `idos_session_start`, `idos_app_update`,
|
|
7567
|
+
* `idos_os_update`) are logged by the SDK once the title config says analytics is on. The
|
|
7568
|
+
* `idos_` prefix is reserved — `logEvent` refuses it. Screens go through `logScreenView`.
|
|
7569
|
+
*/
|
|
7570
|
+
declare class AnalyticsService {
|
|
7571
|
+
private readonly ctx;
|
|
7572
|
+
private queue;
|
|
7573
|
+
private pending;
|
|
7574
|
+
private restored;
|
|
7575
|
+
private started;
|
|
7576
|
+
private flushing;
|
|
7577
|
+
private disabledByServer;
|
|
7578
|
+
private automaticDone;
|
|
7579
|
+
private hiddenAt;
|
|
7580
|
+
private timer;
|
|
7581
|
+
private drainTimer;
|
|
7582
|
+
private stopWaitingForConfig;
|
|
7583
|
+
private context;
|
|
7584
|
+
constructor(ctx: ClientContext);
|
|
7585
|
+
/**
|
|
7586
|
+
* Queue a custom event.
|
|
7587
|
+
*
|
|
7588
|
+
* @param name A letter, then letters, digits or `_`, 40 characters at most. `idos_`,
|
|
7589
|
+
* `firebase_`, `google_` and `ga_` are reserved.
|
|
7590
|
+
* @param params Up to 25. Strings are cut to 100 characters, non-finite numbers are skipped.
|
|
7591
|
+
* Only parameters the publisher registered as dimensions are kept by the server.
|
|
7592
|
+
* @param value A number the server sums — revenue, score.
|
|
7593
|
+
*
|
|
7594
|
+
* Fails only for input the server would drop anyway; a title with analytics off returns `ok`
|
|
7595
|
+
* and records nothing, the same as a player who opted out.
|
|
7596
|
+
*/
|
|
7597
|
+
logEvent(name: string, params?: AnalyticsParams, value?: number): OperationResult<null>;
|
|
7598
|
+
/** A screen the player opened (`idos_screen_view`, parameter `screen_name`). */
|
|
7599
|
+
logScreenView(screenName: string, screenClass?: string): OperationResult<null>;
|
|
7600
|
+
/**
|
|
7601
|
+
* Send what is queued now — one batch. Needed only before a deliberate exit (a "quit" button);
|
|
7602
|
+
* the SDK flushes by itself on a timer and when the page is hidden.
|
|
7603
|
+
*/
|
|
7604
|
+
flush(): Promise<OperationResult<LogEventsResponse | null>>;
|
|
7605
|
+
/**
|
|
7606
|
+
* The player's consent. `false` forgets everything queued and stops collecting until `true`.
|
|
7607
|
+
* Persisted on the device.
|
|
7608
|
+
*/
|
|
7609
|
+
setEnabled(enabled: boolean): void;
|
|
7610
|
+
/** `false` after `setEnabled(false)`. */
|
|
7611
|
+
get isEnabled(): boolean;
|
|
7612
|
+
/**
|
|
7613
|
+
* First open, version changes and the session start.
|
|
7614
|
+
*
|
|
7615
|
+
* Waits for a title config that says analytics is ON. Sending them "to see what the server
|
|
7616
|
+
* says" would cost every title on this SDK one billed call per session, analytics or not.
|
|
7617
|
+
*/
|
|
7618
|
+
private beginAutomatic;
|
|
7619
|
+
private onVisibilityChange;
|
|
7620
|
+
/** The last moment anything can be sent: persist first, delivery may never finish. */
|
|
7621
|
+
private onPageHide;
|
|
7622
|
+
private enqueue;
|
|
7623
|
+
private scheduleDrain;
|
|
7624
|
+
private dropStale;
|
|
7625
|
+
private clear;
|
|
7626
|
+
private config;
|
|
7627
|
+
private clientContext;
|
|
7628
|
+
private restore;
|
|
7629
|
+
private persist;
|
|
7630
|
+
private touch;
|
|
7631
|
+
/** Keys carry the title: a DEV and a PROD build on one origin must not share a queue. */
|
|
7632
|
+
private key;
|
|
7633
|
+
private read;
|
|
7634
|
+
private write;
|
|
7635
|
+
private remove;
|
|
7636
|
+
private readJson;
|
|
7637
|
+
private writeJson;
|
|
7638
|
+
}
|
|
7639
|
+
|
|
7640
|
+
/**
|
|
7641
|
+
* A/B variants in effect for this player and their `Params` — remote config per variant.
|
|
7642
|
+
*
|
|
7643
|
+
* What the game must know:
|
|
7644
|
+
*
|
|
7645
|
+
* 1. **Call `load()` once per session** (after login). It is one billed API call. Until it
|
|
7646
|
+
* returns, the getters answer from the values of the previous session on this device, or the
|
|
7647
|
+
* defaults you pass — the same model as Firebase Remote Config's "last activated" values.
|
|
7648
|
+
* 2. **Content gated by an experiment is resolved by the server.** A store offer or a quest that
|
|
7649
|
+
* is only for variant B is simply present or absent in its module's response; `experiments`
|
|
7650
|
+
* is for what the SERVER cannot decide for you — a colour, a difficulty number, a button text.
|
|
7651
|
+
* 3. **A stopped experiment gives control.** Disabled, out of its schedule or not in the
|
|
7652
|
+
* publisher's plan (`isAbTestingAvailable === false`) — everyone gets the control variant;
|
|
7653
|
+
* a rolled-out winner — everyone gets the winner. `getStatus()` says which.
|
|
7654
|
+
*/
|
|
7655
|
+
declare class ExperimentsService {
|
|
7656
|
+
private readonly ctx;
|
|
7657
|
+
private views;
|
|
7658
|
+
private abTestingAvailable;
|
|
7659
|
+
private restoredFor;
|
|
7660
|
+
constructor(ctx: ClientContext);
|
|
7661
|
+
/** Fetch the variants in effect. Emits `experiments:loaded`, and `experiments:changed` for differences. */
|
|
7662
|
+
load(): Promise<OperationResult<GetExperimentsResponse>>;
|
|
7663
|
+
/** Variant id in effect, or `null` when the player is not in this experiment. */
|
|
7664
|
+
getVariant(experimentID: string): string | null;
|
|
7665
|
+
/** `Running` / `Stopped` / `RolledOut`, or `null` when unknown. */
|
|
7666
|
+
getStatus(experimentID: string): PlayerExperimentStatus | null;
|
|
7667
|
+
/** `Params` of the variant in effect (a copy). Empty when the player is not in the experiment. */
|
|
7668
|
+
getParams(experimentID: string): Record<string, string>;
|
|
7669
|
+
/**
|
|
7670
|
+
* One parameter, typed by the default you pass: a number default parses the value as a number,
|
|
7671
|
+
* a boolean default accepts `true`/`false`/`1`/`0`. A missing or unparsable value returns the
|
|
7672
|
+
* default — the game never has to guard against a publisher's typo.
|
|
7673
|
+
*/
|
|
7674
|
+
getParam(experimentID: string, key: string, defaultValue: string): string;
|
|
7675
|
+
getParam(experimentID: string, key: string, defaultValue: number): number;
|
|
7676
|
+
getParam(experimentID: string, key: string, defaultValue: boolean): boolean;
|
|
7677
|
+
isInVariant(experimentID: string, variantID: string): boolean;
|
|
7678
|
+
/** `false` — the publisher's plan has no A/B testing and every experiment gives control. */
|
|
7679
|
+
get isAbTestingAvailable(): boolean;
|
|
7680
|
+
/** Every experiment known for this player. */
|
|
7681
|
+
get all(): PlayerExperimentView[];
|
|
7682
|
+
private apply;
|
|
7683
|
+
/**
|
|
7684
|
+
* Last known values of THIS player on this device. Keyed by player: variants are per player,
|
|
7685
|
+
* and the next person to log in on a shared device must not start with someone else's.
|
|
7686
|
+
*/
|
|
7687
|
+
private restore;
|
|
7688
|
+
private save;
|
|
7689
|
+
private key;
|
|
7690
|
+
}
|
|
7691
|
+
|
|
7692
|
+
/** Thin transport wrapper for the Analytics feature (port of AnalyticsV2). */
|
|
7693
|
+
declare class AnalyticsApi {
|
|
7694
|
+
private readonly ctx;
|
|
7695
|
+
constructor(ctx: ClientContext);
|
|
7696
|
+
/**
|
|
7697
|
+
* One batch of events. Silent on purpose: delivery happens in the background and is retried by
|
|
7698
|
+
* `AnalyticsService`, so a failed attempt must not pop a global error in front of the player.
|
|
7699
|
+
*/
|
|
7700
|
+
logEvents(request: AnalyticsRequest): Promise<OperationResult<LogEventsResponse>>;
|
|
7701
|
+
}
|
|
7702
|
+
|
|
7703
|
+
/** Thin transport wrapper for the Experiment feature (port of ExperimentV2). */
|
|
7704
|
+
declare class ExperimentApi {
|
|
7705
|
+
private readonly ctx;
|
|
7706
|
+
constructor(ctx: ClientContext);
|
|
7707
|
+
getExperiments(request: ExperimentRequest): Promise<OperationResult<GetExperimentsResponse>>;
|
|
7708
|
+
}
|
|
7709
|
+
|
|
7710
|
+
/** Thin transport wrapper for the Authentication feature (port of AuthenticationAPI.cs).
|
|
7711
|
+
* Authentication endpoints omit the userID segment and carry no ticket. */
|
|
7712
|
+
declare class AuthenticationApi {
|
|
7713
|
+
private readonly ctx;
|
|
7714
|
+
constructor(ctx: ClientContext);
|
|
7715
|
+
private endpoint;
|
|
7716
|
+
private login;
|
|
7717
|
+
loginWithDeviceID(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7718
|
+
loginWithTelegram(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7719
|
+
loginWithEmail(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7720
|
+
loginWithGoogle(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7721
|
+
loginWithSsoCode(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7722
|
+
/**
|
|
7723
|
+
* Start a registration. Anonymous.
|
|
7724
|
+
*
|
|
7725
|
+
* ⚠ Success does NOT mean the account exists. This only mails a code; the player is created by
|
|
7726
|
+
* {@link confirmEmailRegistration}. Always move on to the code screen — there is no flag to
|
|
7727
|
+
* check and no title that skips this step: confirmation is platform behaviour, not a setting.
|
|
7728
|
+
*
|
|
7729
|
+
* The response carries only `CodeTtlMinutes` and `ResendCooldownSeconds`, so the screen can
|
|
7730
|
+
* state how long the code lives and when "send again" will do something.
|
|
7731
|
+
*/
|
|
7732
|
+
registerWithEmail(request: AuthenticationRequest): Promise<OperationResult<EmailRegistrationResponse>>;
|
|
7733
|
+
/** Confirm the address with the code from the e-mail and create the player. Anonymous. */
|
|
7734
|
+
confirmEmailRegistration(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7735
|
+
/**
|
|
7736
|
+
* Mail the confirmation code again. Anonymous.
|
|
7737
|
+
*
|
|
7738
|
+
* Always answers with success — whether a registration was started, whether the cooldown has
|
|
7739
|
+
* passed, whether the letter left. Any other answer would say something about the address.
|
|
7740
|
+
*/
|
|
7741
|
+
resendVerificationCode(request: AuthenticationRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7742
|
+
/** Step 1 of wallet login: fetch the challenge message the wallet must sign. Anonymous. */
|
|
7743
|
+
requestWalletChallenge(request: AuthenticationRequest): Promise<OperationResult<WalletChallengeResponse>>;
|
|
7744
|
+
/** Step 2 of wallet login: exchange the signed challenge for a session. */
|
|
7745
|
+
loginWithWallet(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7746
|
+
forgotPassword(request: AuthenticationRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7747
|
+
resetPassword(request: AuthenticationRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7748
|
+
}
|
|
7749
|
+
|
|
7750
|
+
/** Thin transport wrapper for the User feature (port of UserAPI.cs). */
|
|
7751
|
+
declare class UserApi {
|
|
7752
|
+
private readonly ctx;
|
|
7753
|
+
constructor(ctx: ClientContext);
|
|
7754
|
+
private endpoint;
|
|
7755
|
+
getClientState(request: UserRequest): Promise<OperationResult<ClientState>>;
|
|
7756
|
+
getClientStateExcept(request: UserRequest): Promise<OperationResult<ClientState>>;
|
|
7757
|
+
getStateVersions(request: UserRequest): Promise<OperationResult<UserStateVersions>>;
|
|
7758
|
+
getUserState(request: UserRequest): Promise<OperationResult<UserStateSlice>>;
|
|
7759
|
+
getInventory(request: UserRequest): Promise<OperationResult<UserInventoryState>>;
|
|
7760
|
+
getEventTokens(request: UserRequest): Promise<OperationResult<UserEventTokensState>>;
|
|
7761
|
+
getUsageTime(request: UserRequest): Promise<OperationResult<UsageTimeStats>>;
|
|
7762
|
+
addUsageTime(request: UserRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7763
|
+
deleteUserAccount(request: UserRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7764
|
+
changeUsername(request: UserRequest): Promise<OperationResult<ChangeUsernameResponse>>;
|
|
7765
|
+
}
|
|
7766
|
+
|
|
7767
|
+
/** Thin transport wrapper for the Currency feature (port of CurrencyAPI.cs). */
|
|
7768
|
+
declare class CurrencyApi {
|
|
7769
|
+
private readonly ctx;
|
|
7770
|
+
constructor(ctx: ClientContext);
|
|
7771
|
+
private send;
|
|
7772
|
+
convert(request: CurrencyRequest): Promise<OperationResult<ConvertResponse>>;
|
|
7773
|
+
cryptoConvert(request: CurrencyRequest): Promise<OperationResult<CryptoConvertResponse>>;
|
|
7774
|
+
}
|
|
7775
|
+
|
|
7776
|
+
/** Thin transport wrapper for the Item feature (port of ItemAPI.cs). */
|
|
7777
|
+
declare class ItemApi {
|
|
7778
|
+
private readonly ctx;
|
|
7779
|
+
constructor(ctx: ClientContext);
|
|
7780
|
+
upgradeLevel(request: ItemRequest): Promise<OperationResult<UpgradeItemLevelResponse>>;
|
|
7781
|
+
upgradeLevelsBatch(request: ItemRequest): Promise<OperationResult<UpgradeLevelsBatchResponse>>;
|
|
7782
|
+
}
|
|
7783
|
+
|
|
7784
|
+
/** Thin transport wrapper for the Store feature (port of StoreAPI.cs). */
|
|
7785
|
+
declare class StoreApi {
|
|
7786
|
+
private readonly ctx;
|
|
7787
|
+
constructor(ctx: ClientContext);
|
|
7788
|
+
private send;
|
|
7789
|
+
purchase(request: StoreRequest): Promise<OperationResult<StorePurchaseResponse>>;
|
|
7790
|
+
purchaseBatch(request: StoreRequest): Promise<OperationResult<PurchaseBatchResponse>>;
|
|
7791
|
+
getDefinitions(request: StoreRequest): Promise<OperationResult<StoreDefinitions>>;
|
|
7792
|
+
getUserState(request: StoreRequest): Promise<OperationResult<UserStoreState>>;
|
|
7793
|
+
/**
|
|
7794
|
+
* The shop resolved for this player.
|
|
7795
|
+
*
|
|
7796
|
+
* This is what a shop screen draws. `getDefinitions` returns the CONFIG — the same for
|
|
7797
|
+
* everyone — and from it rotation, badges, timers and remaining limits cannot be derived:
|
|
7798
|
+
* they either depend on the player or must be deterministic on the server.
|
|
7799
|
+
*/
|
|
7800
|
+
getStorefront(request: StoreRequest): Promise<OperationResult<GetStorefrontResponse>>;
|
|
7801
|
+
}
|
|
7802
|
+
|
|
7803
|
+
/** Thin transport wrapper for the Purchase feature (port of PurchaseAPI.cs). */
|
|
7804
|
+
declare class PurchaseApi {
|
|
7805
|
+
private readonly ctx;
|
|
7806
|
+
constructor(ctx: ClientContext);
|
|
7807
|
+
private send;
|
|
7808
|
+
getDefinitions(request: PurchaseRequest): Promise<OperationResult<PurchaseDefinitions>>;
|
|
7809
|
+
getUserState(request: PurchaseRequest): Promise<OperationResult<UserPurchaseState>>;
|
|
7810
|
+
validatePurchase(request: PurchaseRequest): Promise<OperationResult<PurchaseValidationResponse>>;
|
|
7811
|
+
validatePurchasesBatch(request: PurchaseRequest): Promise<OperationResult<PurchaseValidationBatchResponse>>;
|
|
7812
|
+
createTelegramInvoice(request: PurchaseRequest): Promise<OperationResult<TelegramInvoiceResponse>>;
|
|
7813
|
+
}
|
|
7814
|
+
|
|
7815
|
+
/** Thin transport wrapper for the Lootbox feature (port of LootboxAPI.cs). */
|
|
7816
|
+
declare class LootboxApi {
|
|
7817
|
+
private readonly ctx;
|
|
7818
|
+
constructor(ctx: ClientContext);
|
|
7819
|
+
private send;
|
|
7820
|
+
getDefinitions(request: LootboxRequest): Promise<OperationResult<LootboxDefinitionsResponse>>;
|
|
7821
|
+
open(request: LootboxRequest): Promise<OperationResult<LootboxOpenResponse>>;
|
|
7822
|
+
}
|
|
7823
|
+
|
|
7824
|
+
/** Thin transport wrapper for the Reward feature (port of RewardAPI.cs). */
|
|
7825
|
+
declare class RewardApi {
|
|
7826
|
+
private readonly ctx;
|
|
7827
|
+
constructor(ctx: ClientContext);
|
|
7828
|
+
private send;
|
|
7829
|
+
getRewardDefinitions(request: RewardRequest): Promise<OperationResult<RewardDefinitionsResponse>>;
|
|
7830
|
+
getUserRewardsState(request: RewardRequest): Promise<OperationResult<UserRewardsStateResponse>>;
|
|
7831
|
+
getMilestoneRewardMultiplier(request: RewardRequest): Promise<OperationResult<GetMilestoneRewardMultiplierResponse>>;
|
|
7832
|
+
claimDailyReward(request: RewardRequest): Promise<OperationResult<ClaimDailyRewardResponse>>;
|
|
7833
|
+
collectIdleAccrual(request: RewardRequest): Promise<OperationResult<CollectIdleAccrualResponse>>;
|
|
7834
|
+
claimComebackReward(request: RewardRequest): Promise<OperationResult<ClaimComebackRewardResponse>>;
|
|
7835
|
+
claimReward(request: RewardRequest): Promise<OperationResult<ClaimRewardResponse>>;
|
|
7836
|
+
}
|
|
7837
|
+
|
|
7838
|
+
/** Thin transport wrapper for the Tutorial feature (port of TutorialV2). */
|
|
7839
|
+
declare class TutorialApi {
|
|
7840
|
+
private readonly ctx;
|
|
7841
|
+
constructor(ctx: ClientContext);
|
|
7842
|
+
private send;
|
|
7843
|
+
getTutorialDefinitions(request: TutorialRequest): Promise<OperationResult<TutorialDefinitions>>;
|
|
7844
|
+
getUserTutorialState(request: TutorialRequest): Promise<OperationResult<GetUserTutorialStateResponse>>;
|
|
7845
|
+
startFlow(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7846
|
+
reportStepShown(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7847
|
+
completeStep(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7848
|
+
completeStepsBatch(request: TutorialRequest): Promise<OperationResult<TutorialFlowBatchResponse>>;
|
|
7849
|
+
skipStep(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7850
|
+
skipFlow(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7851
|
+
claimFlowReward(request: TutorialRequest): Promise<OperationResult<TutorialClaimResponse>>;
|
|
7852
|
+
resetFlow(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7853
|
+
}
|
|
7854
|
+
|
|
7855
|
+
/** Thin transport wrapper for Community Marketing (port of CommunityMarketingV2). */
|
|
7856
|
+
declare class CommunityMarketingApi {
|
|
7857
|
+
private readonly ctx;
|
|
7858
|
+
constructor(ctx: ClientContext);
|
|
7859
|
+
private send;
|
|
7860
|
+
getCommunityMarketingState(request: CommunityMarketingRequest): Promise<OperationResult<CommunityMarketingState>>;
|
|
7861
|
+
getEarnings(request: CommunityMarketingRequest): Promise<OperationResult<CommunityEarningsResponse>>;
|
|
7862
|
+
claim(request: CommunityMarketingRequest): Promise<OperationResult<CommunityClaimResponse>>;
|
|
7863
|
+
checkJoinEligibility(request: CommunityMarketingRequest): Promise<OperationResult<CommunityEligibilityResponse>>;
|
|
7864
|
+
withdrawCryptoReward(request: CommunityMarketingRequest): Promise<OperationResult<CommunityWithdrawalResponse>>;
|
|
7865
|
+
}
|
|
7866
|
+
|
|
7867
|
+
/** Thin transport wrapper for the Chat feature (port of ChatV2). */
|
|
7868
|
+
declare class ChatApi {
|
|
7869
|
+
private readonly ctx;
|
|
7870
|
+
constructor(ctx: ClientContext);
|
|
7871
|
+
private send;
|
|
7872
|
+
getChatDefinitions(request: ChatRequest): Promise<OperationResult<ChatDefinitions>>;
|
|
7873
|
+
getChannels(request: ChatRequest): Promise<OperationResult<ChatChannelsResponse>>;
|
|
7874
|
+
poll(request: ChatRequest): Promise<OperationResult<ChatPollResponse>>;
|
|
7875
|
+
getHistory(request: ChatRequest): Promise<OperationResult<ChatHistoryResponse>>;
|
|
7876
|
+
getConversations(request: ChatRequest): Promise<OperationResult<ChatConversationsResponse>>;
|
|
7877
|
+
sendMessage(request: ChatRequest): Promise<OperationResult<ChatSendResponse>>;
|
|
7878
|
+
openDirectChannel(request: ChatRequest): Promise<OperationResult<ChatDirectChannelResponse>>;
|
|
7879
|
+
markRead(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7880
|
+
joinChannel(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7881
|
+
leaveChannel(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7882
|
+
reportMessage(request: ChatRequest): Promise<OperationResult<ChatReportResponse>>;
|
|
7883
|
+
ignoreUser(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7884
|
+
unignoreUser(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7885
|
+
}
|
|
7886
|
+
|
|
7887
|
+
/** Thin transport wrapper for push subscriptions (port of PushV2). */
|
|
7888
|
+
declare class PushApi {
|
|
7889
|
+
private readonly ctx;
|
|
7890
|
+
constructor(ctx: ClientContext);
|
|
7891
|
+
private send;
|
|
7892
|
+
getPushConfig(request: PushRequest): Promise<OperationResult<PushConfigResponse>>;
|
|
7893
|
+
subscribePush(request: PushRequest): Promise<OperationResult<PushSubscriptionView>>;
|
|
7894
|
+
unsubscribePush(request: PushRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7895
|
+
getPushSubscriptions(request: PushRequest): Promise<OperationResult<PushSubscriptionListResponse>>;
|
|
7896
|
+
}
|
|
7897
|
+
|
|
7898
|
+
/** Thin transport wrapper for the Localization feature (port of LocalizationV2). */
|
|
7899
|
+
declare class LocalizationApi {
|
|
7900
|
+
private readonly ctx;
|
|
7901
|
+
constructor(ctx: ClientContext);
|
|
7902
|
+
private send;
|
|
7903
|
+
/** Which languages exist and what their table versions are. Downloads no table. */
|
|
7904
|
+
getLocalizationManifest(request: LocalizationRequest): Promise<OperationResult<LocalizationManifestResponse>>;
|
|
7905
|
+
/**
|
|
7906
|
+
* A translation table in the response body.
|
|
7907
|
+
*
|
|
7908
|
+
* This is the FALLBACK path: the main one is the immutable CDN artifact referenced by
|
|
7909
|
+
* `ClientState.Localization.Url`. Coming here is normal (first player after a translation
|
|
7910
|
+
* edit, blocked CDN, a manual language switch) — it just costs one more round trip.
|
|
7911
|
+
*/
|
|
7912
|
+
getLocalizationTable(request: LocalizationRequest): Promise<OperationResult<LocalizationTableResponse>>;
|
|
7913
|
+
}
|
|
7914
|
+
|
|
7915
|
+
/** Thin transport wrapper for the Quest feature (port of QuestAPI.cs). */
|
|
7916
|
+
declare class QuestApi {
|
|
7917
|
+
private readonly ctx;
|
|
7918
|
+
constructor(ctx: ClientContext);
|
|
7919
|
+
private send;
|
|
7920
|
+
getQuestDefinitions(request: QuestRequest): Promise<OperationResult<QuestDefinitions>>;
|
|
7921
|
+
getUserQuestState(request: QuestRequest): Promise<OperationResult<GetUserQuestStateResponse>>;
|
|
7922
|
+
refreshQuestCycles(request: QuestRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7923
|
+
claimQuestReward(request: QuestRequest): Promise<OperationResult<ClaimQuestRewardResponse>>;
|
|
7924
|
+
claimQuestRewardsBatch(request: QuestRequest): Promise<OperationResult<ClaimQuestRewardsBatchResponse>>;
|
|
7112
7925
|
claimMilestoneReward(request: QuestRequest): Promise<OperationResult<ClaimMilestoneRewardResponse>>;
|
|
7113
7926
|
claimMilestoneRewardsBatch(request: QuestRequest): Promise<OperationResult<ClaimMilestoneRewardsBatchResponse>>;
|
|
7114
7927
|
claimGroupCompletionReward(request: QuestRequest): Promise<OperationResult<ClaimGroupCompletionRewardResponse>>;
|
|
@@ -7714,152 +8527,542 @@ declare class WorkshopApi {
|
|
|
7714
8527
|
} | null | undefined;
|
|
7715
8528
|
Commission?: {
|
|
7716
8529
|
[x: string]: unknown;
|
|
7717
|
-
Percent?: number | null | undefined;
|
|
7718
|
-
MinPerPosition?: number | null | undefined;
|
|
7719
|
-
Sink?: "Burn" | "Ledger" | null | undefined;
|
|
7720
|
-
LedgerAccountID?: string | null | undefined;
|
|
7721
|
-
PerCatalogOverrides?: Record<string, {
|
|
7722
|
-
[x: string]: unknown;
|
|
7723
|
-
Percent?: number | null | undefined;
|
|
7724
|
-
MinPerPosition?: number | null | undefined;
|
|
7725
|
-
}> | null | undefined;
|
|
7726
|
-
ApplyToDirectTrades?: boolean | null | undefined;
|
|
8530
|
+
Percent?: number | null | undefined;
|
|
8531
|
+
MinPerPosition?: number | null | undefined;
|
|
8532
|
+
Sink?: "Burn" | "Ledger" | null | undefined;
|
|
8533
|
+
LedgerAccountID?: string | null | undefined;
|
|
8534
|
+
PerCatalogOverrides?: Record<string, {
|
|
8535
|
+
[x: string]: unknown;
|
|
8536
|
+
Percent?: number | null | undefined;
|
|
8537
|
+
MinPerPosition?: number | null | undefined;
|
|
8538
|
+
}> | null | undefined;
|
|
8539
|
+
ApplyToDirectTrades?: boolean | null | undefined;
|
|
8540
|
+
} | null | undefined;
|
|
8541
|
+
HoldingPolicy?: {
|
|
8542
|
+
[x: string]: unknown;
|
|
8543
|
+
Allowed?: {
|
|
8544
|
+
[x: string]: unknown;
|
|
8545
|
+
Kind?: "Item" | "VirtualCurrency" | "EventToken" | null | undefined;
|
|
8546
|
+
CurrencyID?: string | null | undefined;
|
|
8547
|
+
CatalogID?: string | null | undefined;
|
|
8548
|
+
ItemID?: string | null | undefined;
|
|
8549
|
+
TokenType?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8550
|
+
EntityID?: string | null | undefined;
|
|
8551
|
+
MinAmount?: number | null | undefined;
|
|
8552
|
+
MaxAmount?: number | null | undefined;
|
|
8553
|
+
}[] | null | undefined;
|
|
8554
|
+
MaxRequirements?: number | null | undefined;
|
|
8555
|
+
} | null | undefined;
|
|
8556
|
+
Moderation?: {
|
|
8557
|
+
[x: string]: unknown;
|
|
8558
|
+
AutoHideReportThreshold?: number | null | undefined;
|
|
8559
|
+
RequireApproval?: boolean | null | undefined;
|
|
8560
|
+
} | null | undefined;
|
|
8561
|
+
Limits?: {
|
|
8562
|
+
[x: string]: unknown;
|
|
8563
|
+
MaxTitleLength?: number | null | undefined;
|
|
8564
|
+
MaxDescriptionLength?: number | null | undefined;
|
|
8565
|
+
MaxTags?: number | null | undefined;
|
|
8566
|
+
MaxTagLength?: number | null | undefined;
|
|
8567
|
+
MaxMetadataKeys?: number | null | undefined;
|
|
8568
|
+
MaxMetadataValueLength?: number | null | undefined;
|
|
8569
|
+
MaxAccessOptions?: number | null | undefined;
|
|
8570
|
+
ThumbnailMaxBytes?: number | null | undefined;
|
|
8571
|
+
} | null | undefined;
|
|
8572
|
+
Featured?: {
|
|
8573
|
+
[x: string]: unknown;
|
|
8574
|
+
CollectionID?: string | null | undefined;
|
|
8575
|
+
Name?: string | null | undefined;
|
|
8576
|
+
Description?: string | null | undefined;
|
|
8577
|
+
ContentIDs?: string[] | null | undefined;
|
|
8578
|
+
Schedule?: {
|
|
8579
|
+
[x: string]: unknown;
|
|
8580
|
+
Mode?: string | null | undefined;
|
|
8581
|
+
IsActive?: boolean | null | undefined;
|
|
8582
|
+
Scheduled?: {
|
|
8583
|
+
[x: string]: unknown;
|
|
8584
|
+
StartUtc?: string | null | undefined;
|
|
8585
|
+
EndUtc?: string | null | undefined;
|
|
8586
|
+
AllowEarningAfterEnd?: boolean | null | undefined;
|
|
8587
|
+
ClaimGraceHours?: number | null | undefined;
|
|
8588
|
+
} | null | undefined;
|
|
8589
|
+
Chain?: {
|
|
8590
|
+
[x: string]: unknown;
|
|
8591
|
+
AnchorUtc?: string | null | undefined;
|
|
8592
|
+
MaxCycles?: number | null | undefined;
|
|
8593
|
+
PauseBetweenPhasesSec?: number | null | undefined;
|
|
8594
|
+
PauseBetweenCyclesSec?: number | null | undefined;
|
|
8595
|
+
} | null | undefined;
|
|
8596
|
+
Cyclic?: {
|
|
8597
|
+
[x: string]: unknown;
|
|
8598
|
+
Reset?: string | null | undefined;
|
|
8599
|
+
IntervalSeconds?: number | null | undefined;
|
|
8600
|
+
AnchorUtc?: string | null | undefined;
|
|
8601
|
+
PauseBetweenCyclesSec?: number | null | undefined;
|
|
8602
|
+
ClaimGraceHours?: number | null | undefined;
|
|
8603
|
+
} | null | undefined;
|
|
8604
|
+
ActivationTriggers?: {
|
|
8605
|
+
[x: string]: unknown;
|
|
8606
|
+
SourceType?: string | null | undefined;
|
|
8607
|
+
BaseWeight?: number | null | undefined;
|
|
8608
|
+
ScaleWithRollMultiplier?: boolean | null | undefined;
|
|
8609
|
+
TileTypeFilter?: string[] | null | undefined;
|
|
8610
|
+
TileIndexFilter?: number[] | null | undefined;
|
|
8611
|
+
ChanceOutcomeFilter?: string[] | null | undefined;
|
|
8612
|
+
OutcomeFilter?: string[] | null | undefined;
|
|
8613
|
+
Params?: Record<string, string> | null | undefined;
|
|
8614
|
+
Limits?: {
|
|
8615
|
+
[x: string]: unknown;
|
|
8616
|
+
TotalCap?: number | null | undefined;
|
|
8617
|
+
DailyCap?: number | null | undefined;
|
|
8618
|
+
DailyWeightCap?: number | null | undefined;
|
|
8619
|
+
PerActivationCap?: number | null | undefined;
|
|
8620
|
+
CooldownSeconds?: number | null | undefined;
|
|
8621
|
+
MaxPerWindow?: number | null | undefined;
|
|
8622
|
+
WindowSeconds?: number | null | undefined;
|
|
8623
|
+
} | null | undefined;
|
|
8624
|
+
}[] | null | undefined;
|
|
8625
|
+
Relative?: {
|
|
8626
|
+
[x: string]: unknown;
|
|
8627
|
+
OffsetSecondsFromParentStart?: number | null | undefined;
|
|
8628
|
+
DurationSeconds?: number | null | undefined;
|
|
8629
|
+
AllowEarningAfterEnd?: boolean | null | undefined;
|
|
8630
|
+
ClaimGraceHours?: number | null | undefined;
|
|
8631
|
+
} | null | undefined;
|
|
8632
|
+
} | null | undefined;
|
|
8633
|
+
Gate?: {
|
|
8634
|
+
[x: string]: unknown;
|
|
8635
|
+
Segments?: string[] | null | undefined;
|
|
8636
|
+
MinPremiumTier?: number | null | undefined;
|
|
8637
|
+
RequiredPremiumIDs?: string[] | null | undefined;
|
|
8638
|
+
MinLevel?: number | null | undefined;
|
|
8639
|
+
MaxLevel?: number | null | undefined;
|
|
8640
|
+
Countries?: string[] | null | undefined;
|
|
8641
|
+
RegisteredWithinDays?: number | null | undefined;
|
|
8642
|
+
ActiveWithinDays?: number | null | undefined;
|
|
8643
|
+
Experiment?: {
|
|
8644
|
+
[x: string]: unknown;
|
|
8645
|
+
ExperimentID?: string | null | undefined;
|
|
8646
|
+
Variants?: string[] | null | undefined;
|
|
8647
|
+
} | null | undefined;
|
|
8648
|
+
Tutorial?: {
|
|
8649
|
+
[x: string]: unknown;
|
|
8650
|
+
FlowIDs?: string[] | null | undefined;
|
|
8651
|
+
Mode?: "Completed" | "Started" | "StepReached" | null | undefined;
|
|
8652
|
+
StepID?: string | null | undefined;
|
|
8653
|
+
Negate?: boolean | null | undefined;
|
|
8654
|
+
SkippedCountsAsCompleted?: boolean | null | undefined;
|
|
8655
|
+
} | null | undefined;
|
|
8656
|
+
Platforms?: ("Unknown" | "Web" | "Android" | "Ios")[] | null | undefined;
|
|
8657
|
+
} | null | undefined;
|
|
8658
|
+
Order?: number | null | undefined;
|
|
8659
|
+
}[] | null | undefined;
|
|
8660
|
+
} | null | undefined;
|
|
8661
|
+
IsOpenNow?: boolean | null | undefined;
|
|
8662
|
+
GatePassed?: boolean | null | undefined;
|
|
8663
|
+
CanPublish?: Record<string, boolean> | null | undefined;
|
|
8664
|
+
Collections?: {
|
|
8665
|
+
[x: string]: unknown;
|
|
8666
|
+
CollectionID?: string | null | undefined;
|
|
8667
|
+
Name?: string | null | undefined;
|
|
8668
|
+
Description?: string | null | undefined;
|
|
8669
|
+
ContentIDs?: string[] | null | undefined;
|
|
8670
|
+
Order?: number | null | undefined;
|
|
8671
|
+
}[] | null | undefined;
|
|
8672
|
+
}>>;
|
|
8673
|
+
browse(r: WorkshopRequest): Promise<OperationResult<{
|
|
8674
|
+
[x: string]: unknown;
|
|
8675
|
+
Items?: {
|
|
8676
|
+
[x: string]: unknown;
|
|
8677
|
+
ContentID?: string | null | undefined;
|
|
8678
|
+
ContentType?: string | null | undefined;
|
|
8679
|
+
CreatorUserID?: string | null | undefined;
|
|
8680
|
+
IsOfficial?: boolean | null | undefined;
|
|
8681
|
+
CreatorPublicData?: {
|
|
8682
|
+
[x: string]: unknown;
|
|
8683
|
+
Username?: string | null | undefined;
|
|
8684
|
+
Country?: string | null | undefined;
|
|
8685
|
+
AvatarUrl?: string | null | undefined;
|
|
8686
|
+
Premium?: boolean | null | undefined;
|
|
8687
|
+
Level?: number | null | undefined;
|
|
8688
|
+
Power?: number | null | undefined;
|
|
8689
|
+
BoardRank?: number | null | undefined;
|
|
8690
|
+
} | null | undefined;
|
|
8691
|
+
Title?: string | null | undefined;
|
|
8692
|
+
Description?: string | null | undefined;
|
|
8693
|
+
Tags?: string[] | null | undefined;
|
|
8694
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
8695
|
+
ThumbnailUrl?: string | null | undefined;
|
|
8696
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8697
|
+
Access?: {
|
|
8698
|
+
[x: string]: unknown;
|
|
8699
|
+
OptionID?: string | null | undefined;
|
|
8700
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8701
|
+
Price?: {
|
|
8702
|
+
Entries?: {
|
|
8703
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8704
|
+
CurrencyID?: string | null | undefined;
|
|
8705
|
+
Amount?: number | null | undefined;
|
|
8706
|
+
AmountUsd?: number | null | undefined;
|
|
8707
|
+
CatalogID?: string | null | undefined;
|
|
8708
|
+
ItemID?: string | null | undefined;
|
|
8709
|
+
ProductID?: string | null | undefined;
|
|
8710
|
+
}[] | null | undefined;
|
|
8711
|
+
EventTokens?: {
|
|
8712
|
+
Address?: {
|
|
8713
|
+
EntityID: string;
|
|
8714
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8715
|
+
} | null | undefined;
|
|
8716
|
+
Amount?: number | null | undefined;
|
|
8717
|
+
Source?: string | null | undefined;
|
|
8718
|
+
}[] | null | undefined;
|
|
8719
|
+
} | null | undefined;
|
|
8720
|
+
Holding?: {
|
|
8721
|
+
[x: string]: unknown;
|
|
8722
|
+
Requirements?: {
|
|
8723
|
+
[x: string]: unknown;
|
|
8724
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8725
|
+
CurrencyID?: string | null | undefined;
|
|
8726
|
+
CatalogID?: string | null | undefined;
|
|
8727
|
+
ItemID?: string | null | undefined;
|
|
8728
|
+
Amount?: number | null | undefined;
|
|
8729
|
+
MinLevel?: number | null | undefined;
|
|
8730
|
+
}[] | null | undefined;
|
|
8731
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8732
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8733
|
+
} | null | undefined;
|
|
8734
|
+
}[] | null | undefined;
|
|
8735
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8736
|
+
ModerationNote?: string | null | undefined;
|
|
8737
|
+
Stats?: {
|
|
8738
|
+
[x: string]: unknown;
|
|
8739
|
+
Acquisitions?: number | null | undefined;
|
|
8740
|
+
Downloads?: number | null | undefined;
|
|
8741
|
+
Likes?: number | null | undefined;
|
|
8742
|
+
Favorites?: number | null | undefined;
|
|
8743
|
+
ReportCount?: number | null | undefined;
|
|
8744
|
+
} | null | undefined;
|
|
8745
|
+
Revision?: number | null | undefined;
|
|
8746
|
+
FileCount?: number | null | undefined;
|
|
8747
|
+
TotalBytes?: number | null | undefined;
|
|
8748
|
+
CreatedAt?: string | null | undefined;
|
|
8749
|
+
UpdatedAt?: string | null | undefined;
|
|
8750
|
+
PublishedAt?: string | null | undefined;
|
|
8751
|
+
IsMine?: boolean | null | undefined;
|
|
8752
|
+
Owned?: boolean | null | undefined;
|
|
8753
|
+
Liked?: boolean | null | undefined;
|
|
8754
|
+
Favorited?: boolean | null | undefined;
|
|
8755
|
+
}[] | null | undefined;
|
|
8756
|
+
ContinuationToken?: string | null | undefined;
|
|
8757
|
+
}>>;
|
|
8758
|
+
getContent(r: WorkshopRequest): Promise<OperationResult<{
|
|
8759
|
+
[x: string]: unknown;
|
|
8760
|
+
Content?: {
|
|
8761
|
+
[x: string]: unknown;
|
|
8762
|
+
ContentID?: string | null | undefined;
|
|
8763
|
+
ContentType?: string | null | undefined;
|
|
8764
|
+
CreatorUserID?: string | null | undefined;
|
|
8765
|
+
IsOfficial?: boolean | null | undefined;
|
|
8766
|
+
CreatorPublicData?: {
|
|
8767
|
+
[x: string]: unknown;
|
|
8768
|
+
Username?: string | null | undefined;
|
|
8769
|
+
Country?: string | null | undefined;
|
|
8770
|
+
AvatarUrl?: string | null | undefined;
|
|
8771
|
+
Premium?: boolean | null | undefined;
|
|
8772
|
+
Level?: number | null | undefined;
|
|
8773
|
+
Power?: number | null | undefined;
|
|
8774
|
+
BoardRank?: number | null | undefined;
|
|
7727
8775
|
} | null | undefined;
|
|
7728
|
-
|
|
8776
|
+
Title?: string | null | undefined;
|
|
8777
|
+
Description?: string | null | undefined;
|
|
8778
|
+
Tags?: string[] | null | undefined;
|
|
8779
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
8780
|
+
ThumbnailUrl?: string | null | undefined;
|
|
8781
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8782
|
+
Access?: {
|
|
7729
8783
|
[x: string]: unknown;
|
|
7730
|
-
|
|
8784
|
+
OptionID?: string | null | undefined;
|
|
8785
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8786
|
+
Price?: {
|
|
8787
|
+
Entries?: {
|
|
8788
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8789
|
+
CurrencyID?: string | null | undefined;
|
|
8790
|
+
Amount?: number | null | undefined;
|
|
8791
|
+
AmountUsd?: number | null | undefined;
|
|
8792
|
+
CatalogID?: string | null | undefined;
|
|
8793
|
+
ItemID?: string | null | undefined;
|
|
8794
|
+
ProductID?: string | null | undefined;
|
|
8795
|
+
}[] | null | undefined;
|
|
8796
|
+
EventTokens?: {
|
|
8797
|
+
Address?: {
|
|
8798
|
+
EntityID: string;
|
|
8799
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8800
|
+
} | null | undefined;
|
|
8801
|
+
Amount?: number | null | undefined;
|
|
8802
|
+
Source?: string | null | undefined;
|
|
8803
|
+
}[] | null | undefined;
|
|
8804
|
+
} | null | undefined;
|
|
8805
|
+
Holding?: {
|
|
7731
8806
|
[x: string]: unknown;
|
|
7732
|
-
|
|
7733
|
-
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
8807
|
+
Requirements?: {
|
|
8808
|
+
[x: string]: unknown;
|
|
8809
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8810
|
+
CurrencyID?: string | null | undefined;
|
|
8811
|
+
CatalogID?: string | null | undefined;
|
|
8812
|
+
ItemID?: string | null | undefined;
|
|
8813
|
+
Amount?: number | null | undefined;
|
|
8814
|
+
MinLevel?: number | null | undefined;
|
|
8815
|
+
}[] | null | undefined;
|
|
8816
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8817
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8818
|
+
} | null | undefined;
|
|
8819
|
+
}[] | null | undefined;
|
|
8820
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8821
|
+
ModerationNote?: string | null | undefined;
|
|
8822
|
+
Stats?: {
|
|
7744
8823
|
[x: string]: unknown;
|
|
7745
|
-
|
|
7746
|
-
|
|
8824
|
+
Acquisitions?: number | null | undefined;
|
|
8825
|
+
Downloads?: number | null | undefined;
|
|
8826
|
+
Likes?: number | null | undefined;
|
|
8827
|
+
Favorites?: number | null | undefined;
|
|
8828
|
+
ReportCount?: number | null | undefined;
|
|
7747
8829
|
} | null | undefined;
|
|
7748
|
-
|
|
8830
|
+
Revision?: number | null | undefined;
|
|
8831
|
+
FileCount?: number | null | undefined;
|
|
8832
|
+
TotalBytes?: number | null | undefined;
|
|
8833
|
+
CreatedAt?: string | null | undefined;
|
|
8834
|
+
UpdatedAt?: string | null | undefined;
|
|
8835
|
+
PublishedAt?: string | null | undefined;
|
|
8836
|
+
IsMine?: boolean | null | undefined;
|
|
8837
|
+
Owned?: boolean | null | undefined;
|
|
8838
|
+
Liked?: boolean | null | undefined;
|
|
8839
|
+
Favorited?: boolean | null | undefined;
|
|
8840
|
+
} | null | undefined;
|
|
8841
|
+
AccessState?: {
|
|
8842
|
+
[x: string]: unknown;
|
|
8843
|
+
OptionID?: string | null | undefined;
|
|
8844
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8845
|
+
Available?: boolean | null | undefined;
|
|
8846
|
+
}[] | null | undefined;
|
|
8847
|
+
CanDownload?: boolean | null | undefined;
|
|
8848
|
+
}>>;
|
|
8849
|
+
getCollection(r: WorkshopRequest): Promise<OperationResult<{
|
|
8850
|
+
[x: string]: unknown;
|
|
8851
|
+
Collection?: {
|
|
8852
|
+
[x: string]: unknown;
|
|
8853
|
+
CollectionID?: string | null | undefined;
|
|
8854
|
+
Name?: string | null | undefined;
|
|
8855
|
+
Description?: string | null | undefined;
|
|
8856
|
+
ContentIDs?: string[] | null | undefined;
|
|
8857
|
+
Order?: number | null | undefined;
|
|
8858
|
+
} | null | undefined;
|
|
8859
|
+
Items?: {
|
|
8860
|
+
[x: string]: unknown;
|
|
8861
|
+
ContentID?: string | null | undefined;
|
|
8862
|
+
ContentType?: string | null | undefined;
|
|
8863
|
+
CreatorUserID?: string | null | undefined;
|
|
8864
|
+
IsOfficial?: boolean | null | undefined;
|
|
8865
|
+
CreatorPublicData?: {
|
|
7749
8866
|
[x: string]: unknown;
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
ThumbnailMaxBytes?: number | null | undefined;
|
|
8867
|
+
Username?: string | null | undefined;
|
|
8868
|
+
Country?: string | null | undefined;
|
|
8869
|
+
AvatarUrl?: string | null | undefined;
|
|
8870
|
+
Premium?: boolean | null | undefined;
|
|
8871
|
+
Level?: number | null | undefined;
|
|
8872
|
+
Power?: number | null | undefined;
|
|
8873
|
+
BoardRank?: number | null | undefined;
|
|
7758
8874
|
} | null | undefined;
|
|
7759
|
-
|
|
8875
|
+
Title?: string | null | undefined;
|
|
8876
|
+
Description?: string | null | undefined;
|
|
8877
|
+
Tags?: string[] | null | undefined;
|
|
8878
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
8879
|
+
ThumbnailUrl?: string | null | undefined;
|
|
8880
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8881
|
+
Access?: {
|
|
7760
8882
|
[x: string]: unknown;
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
8883
|
+
OptionID?: string | null | undefined;
|
|
8884
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8885
|
+
Price?: {
|
|
8886
|
+
Entries?: {
|
|
8887
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8888
|
+
CurrencyID?: string | null | undefined;
|
|
8889
|
+
Amount?: number | null | undefined;
|
|
8890
|
+
AmountUsd?: number | null | undefined;
|
|
8891
|
+
CatalogID?: string | null | undefined;
|
|
8892
|
+
ItemID?: string | null | undefined;
|
|
8893
|
+
ProductID?: string | null | undefined;
|
|
8894
|
+
}[] | null | undefined;
|
|
8895
|
+
EventTokens?: {
|
|
8896
|
+
Address?: {
|
|
8897
|
+
EntityID: string;
|
|
8898
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8899
|
+
} | null | undefined;
|
|
8900
|
+
Amount?: number | null | undefined;
|
|
8901
|
+
Source?: string | null | undefined;
|
|
8902
|
+
}[] | null | undefined;
|
|
8903
|
+
} | null | undefined;
|
|
8904
|
+
Holding?: {
|
|
7766
8905
|
[x: string]: unknown;
|
|
7767
|
-
|
|
7768
|
-
IsActive?: boolean | null | undefined;
|
|
7769
|
-
Scheduled?: {
|
|
7770
|
-
[x: string]: unknown;
|
|
7771
|
-
StartUtc?: string | null | undefined;
|
|
7772
|
-
EndUtc?: string | null | undefined;
|
|
7773
|
-
AllowEarningAfterEnd?: boolean | null | undefined;
|
|
7774
|
-
ClaimGraceHours?: number | null | undefined;
|
|
7775
|
-
} | null | undefined;
|
|
7776
|
-
Chain?: {
|
|
7777
|
-
[x: string]: unknown;
|
|
7778
|
-
AnchorUtc?: string | null | undefined;
|
|
7779
|
-
MaxCycles?: number | null | undefined;
|
|
7780
|
-
PauseBetweenPhasesSec?: number | null | undefined;
|
|
7781
|
-
PauseBetweenCyclesSec?: number | null | undefined;
|
|
7782
|
-
} | null | undefined;
|
|
7783
|
-
Cyclic?: {
|
|
7784
|
-
[x: string]: unknown;
|
|
7785
|
-
Reset?: string | null | undefined;
|
|
7786
|
-
IntervalSeconds?: number | null | undefined;
|
|
7787
|
-
AnchorUtc?: string | null | undefined;
|
|
7788
|
-
PauseBetweenCyclesSec?: number | null | undefined;
|
|
7789
|
-
ClaimGraceHours?: number | null | undefined;
|
|
7790
|
-
} | null | undefined;
|
|
7791
|
-
ActivationTriggers?: {
|
|
8906
|
+
Requirements?: {
|
|
7792
8907
|
[x: string]: unknown;
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
8908
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8909
|
+
CurrencyID?: string | null | undefined;
|
|
8910
|
+
CatalogID?: string | null | undefined;
|
|
8911
|
+
ItemID?: string | null | undefined;
|
|
8912
|
+
Amount?: number | null | undefined;
|
|
8913
|
+
MinLevel?: number | null | undefined;
|
|
8914
|
+
}[] | null | undefined;
|
|
8915
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8916
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8917
|
+
} | null | undefined;
|
|
8918
|
+
}[] | null | undefined;
|
|
8919
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8920
|
+
ModerationNote?: string | null | undefined;
|
|
8921
|
+
Stats?: {
|
|
8922
|
+
[x: string]: unknown;
|
|
8923
|
+
Acquisitions?: number | null | undefined;
|
|
8924
|
+
Downloads?: number | null | undefined;
|
|
8925
|
+
Likes?: number | null | undefined;
|
|
8926
|
+
Favorites?: number | null | undefined;
|
|
8927
|
+
ReportCount?: number | null | undefined;
|
|
8928
|
+
} | null | undefined;
|
|
8929
|
+
Revision?: number | null | undefined;
|
|
8930
|
+
FileCount?: number | null | undefined;
|
|
8931
|
+
TotalBytes?: number | null | undefined;
|
|
8932
|
+
CreatedAt?: string | null | undefined;
|
|
8933
|
+
UpdatedAt?: string | null | undefined;
|
|
8934
|
+
PublishedAt?: string | null | undefined;
|
|
8935
|
+
IsMine?: boolean | null | undefined;
|
|
8936
|
+
Owned?: boolean | null | undefined;
|
|
8937
|
+
Liked?: boolean | null | undefined;
|
|
8938
|
+
Favorited?: boolean | null | undefined;
|
|
8939
|
+
}[] | null | undefined;
|
|
8940
|
+
}>>;
|
|
8941
|
+
getCreatorProfile(r: WorkshopRequest): Promise<OperationResult<{
|
|
8942
|
+
[x: string]: unknown;
|
|
8943
|
+
CreatorUserID?: string | null | undefined;
|
|
8944
|
+
PublicData?: {
|
|
8945
|
+
[x: string]: unknown;
|
|
8946
|
+
Username?: string | null | undefined;
|
|
8947
|
+
Country?: string | null | undefined;
|
|
8948
|
+
AvatarUrl?: string | null | undefined;
|
|
8949
|
+
Premium?: boolean | null | undefined;
|
|
8950
|
+
Level?: number | null | undefined;
|
|
8951
|
+
Power?: number | null | undefined;
|
|
8952
|
+
BoardRank?: number | null | undefined;
|
|
8953
|
+
} | null | undefined;
|
|
8954
|
+
PublishedCount?: number | null | undefined;
|
|
8955
|
+
FollowerCount?: number | null | undefined;
|
|
8956
|
+
IsFollowing?: boolean | null | undefined;
|
|
8957
|
+
Items?: {
|
|
8958
|
+
[x: string]: unknown;
|
|
8959
|
+
ContentID?: string | null | undefined;
|
|
8960
|
+
ContentType?: string | null | undefined;
|
|
8961
|
+
CreatorUserID?: string | null | undefined;
|
|
8962
|
+
IsOfficial?: boolean | null | undefined;
|
|
8963
|
+
CreatorPublicData?: {
|
|
8964
|
+
[x: string]: unknown;
|
|
8965
|
+
Username?: string | null | undefined;
|
|
8966
|
+
Country?: string | null | undefined;
|
|
8967
|
+
AvatarUrl?: string | null | undefined;
|
|
8968
|
+
Premium?: boolean | null | undefined;
|
|
8969
|
+
Level?: number | null | undefined;
|
|
8970
|
+
Power?: number | null | undefined;
|
|
8971
|
+
BoardRank?: number | null | undefined;
|
|
8972
|
+
} | null | undefined;
|
|
8973
|
+
Title?: string | null | undefined;
|
|
8974
|
+
Description?: string | null | undefined;
|
|
8975
|
+
Tags?: string[] | null | undefined;
|
|
8976
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
8977
|
+
ThumbnailUrl?: string | null | undefined;
|
|
8978
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8979
|
+
Access?: {
|
|
8980
|
+
[x: string]: unknown;
|
|
8981
|
+
OptionID?: string | null | undefined;
|
|
8982
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8983
|
+
Price?: {
|
|
8984
|
+
Entries?: {
|
|
8985
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8986
|
+
CurrencyID?: string | null | undefined;
|
|
8987
|
+
Amount?: number | null | undefined;
|
|
8988
|
+
AmountUsd?: number | null | undefined;
|
|
8989
|
+
CatalogID?: string | null | undefined;
|
|
8990
|
+
ItemID?: string | null | undefined;
|
|
8991
|
+
ProductID?: string | null | undefined;
|
|
8992
|
+
}[] | null | undefined;
|
|
8993
|
+
EventTokens?: {
|
|
8994
|
+
Address?: {
|
|
8995
|
+
EntityID: string;
|
|
8996
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7810
8997
|
} | null | undefined;
|
|
8998
|
+
Amount?: number | null | undefined;
|
|
8999
|
+
Source?: string | null | undefined;
|
|
7811
9000
|
}[] | null | undefined;
|
|
7812
|
-
Relative?: {
|
|
7813
|
-
[x: string]: unknown;
|
|
7814
|
-
OffsetSecondsFromParentStart?: number | null | undefined;
|
|
7815
|
-
DurationSeconds?: number | null | undefined;
|
|
7816
|
-
AllowEarningAfterEnd?: boolean | null | undefined;
|
|
7817
|
-
ClaimGraceHours?: number | null | undefined;
|
|
7818
|
-
} | null | undefined;
|
|
7819
9001
|
} | null | undefined;
|
|
7820
|
-
|
|
9002
|
+
Holding?: {
|
|
7821
9003
|
[x: string]: unknown;
|
|
7822
|
-
|
|
7823
|
-
MinPremiumTier?: number | null | undefined;
|
|
7824
|
-
RequiredPremiumIDs?: string[] | null | undefined;
|
|
7825
|
-
MinLevel?: number | null | undefined;
|
|
7826
|
-
MaxLevel?: number | null | undefined;
|
|
7827
|
-
Countries?: string[] | null | undefined;
|
|
7828
|
-
RegisteredWithinDays?: number | null | undefined;
|
|
7829
|
-
ActiveWithinDays?: number | null | undefined;
|
|
7830
|
-
Experiment?: {
|
|
7831
|
-
[x: string]: unknown;
|
|
7832
|
-
ExperimentID?: string | null | undefined;
|
|
7833
|
-
Variants?: string[] | null | undefined;
|
|
7834
|
-
} | null | undefined;
|
|
7835
|
-
Tutorial?: {
|
|
9004
|
+
Requirements?: {
|
|
7836
9005
|
[x: string]: unknown;
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
9006
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9007
|
+
CurrencyID?: string | null | undefined;
|
|
9008
|
+
CatalogID?: string | null | undefined;
|
|
9009
|
+
ItemID?: string | null | undefined;
|
|
9010
|
+
Amount?: number | null | undefined;
|
|
9011
|
+
MinLevel?: number | null | undefined;
|
|
9012
|
+
}[] | null | undefined;
|
|
9013
|
+
Match?: "All" | "Any" | null | undefined;
|
|
9014
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
7844
9015
|
} | null | undefined;
|
|
7845
|
-
Order?: number | null | undefined;
|
|
7846
9016
|
}[] | null | undefined;
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
9017
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
9018
|
+
ModerationNote?: string | null | undefined;
|
|
9019
|
+
Stats?: {
|
|
9020
|
+
[x: string]: unknown;
|
|
9021
|
+
Acquisitions?: number | null | undefined;
|
|
9022
|
+
Downloads?: number | null | undefined;
|
|
9023
|
+
Likes?: number | null | undefined;
|
|
9024
|
+
Favorites?: number | null | undefined;
|
|
9025
|
+
ReportCount?: number | null | undefined;
|
|
9026
|
+
} | null | undefined;
|
|
9027
|
+
Revision?: number | null | undefined;
|
|
9028
|
+
FileCount?: number | null | undefined;
|
|
9029
|
+
TotalBytes?: number | null | undefined;
|
|
9030
|
+
CreatedAt?: string | null | undefined;
|
|
9031
|
+
UpdatedAt?: string | null | undefined;
|
|
9032
|
+
PublishedAt?: string | null | undefined;
|
|
9033
|
+
IsMine?: boolean | null | undefined;
|
|
9034
|
+
Owned?: boolean | null | undefined;
|
|
9035
|
+
Liked?: boolean | null | undefined;
|
|
9036
|
+
Favorited?: boolean | null | undefined;
|
|
9037
|
+
}[] | null | undefined;
|
|
9038
|
+
}>>;
|
|
9039
|
+
beginUpload(r: WorkshopRequest): Promise<OperationResult<{
|
|
9040
|
+
[x: string]: unknown;
|
|
9041
|
+
ContentID?: string | null | undefined;
|
|
9042
|
+
Revision?: number | null | undefined;
|
|
9043
|
+
Uploads?: {
|
|
7852
9044
|
[x: string]: unknown;
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
9045
|
+
Role?: string | null | undefined;
|
|
9046
|
+
Index?: number | null | undefined;
|
|
9047
|
+
Url?: string | null | undefined;
|
|
9048
|
+
ContentType?: string | null | undefined;
|
|
9049
|
+
Size?: number | null | undefined;
|
|
9050
|
+
ServerCopy?: boolean | null | undefined;
|
|
7858
9051
|
}[] | null | undefined;
|
|
9052
|
+
ThumbnailUpload?: {
|
|
9053
|
+
[x: string]: unknown;
|
|
9054
|
+
Role?: string | null | undefined;
|
|
9055
|
+
Index?: number | null | undefined;
|
|
9056
|
+
Url?: string | null | undefined;
|
|
9057
|
+
ContentType?: string | null | undefined;
|
|
9058
|
+
Size?: number | null | undefined;
|
|
9059
|
+
ServerCopy?: boolean | null | undefined;
|
|
9060
|
+
} | null | undefined;
|
|
9061
|
+
ExpiresAt?: string | null | undefined;
|
|
7859
9062
|
}>>;
|
|
7860
|
-
|
|
9063
|
+
publish(r: WorkshopRequest): Promise<OperationResult<{
|
|
7861
9064
|
[x: string]: unknown;
|
|
7862
|
-
|
|
9065
|
+
Content?: {
|
|
7863
9066
|
[x: string]: unknown;
|
|
7864
9067
|
ContentID?: string | null | undefined;
|
|
7865
9068
|
ContentType?: string | null | undefined;
|
|
@@ -7875,17 +9078,119 @@ declare class WorkshopApi {
|
|
|
7875
9078
|
Power?: number | null | undefined;
|
|
7876
9079
|
BoardRank?: number | null | undefined;
|
|
7877
9080
|
} | null | undefined;
|
|
7878
|
-
Title?: string | null | undefined;
|
|
7879
|
-
Description?: string | null | undefined;
|
|
7880
|
-
Tags?: string[] | null | undefined;
|
|
7881
|
-
Metadata?: Record<string, string> | null | undefined;
|
|
7882
|
-
ThumbnailUrl?: string | null | undefined;
|
|
7883
|
-
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
7884
|
-
Access?: {
|
|
7885
|
-
[x: string]: unknown;
|
|
7886
|
-
OptionID?: string | null | undefined;
|
|
7887
|
-
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
7888
|
-
Price?: {
|
|
9081
|
+
Title?: string | null | undefined;
|
|
9082
|
+
Description?: string | null | undefined;
|
|
9083
|
+
Tags?: string[] | null | undefined;
|
|
9084
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
9085
|
+
ThumbnailUrl?: string | null | undefined;
|
|
9086
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
9087
|
+
Access?: {
|
|
9088
|
+
[x: string]: unknown;
|
|
9089
|
+
OptionID?: string | null | undefined;
|
|
9090
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
9091
|
+
Price?: {
|
|
9092
|
+
Entries?: {
|
|
9093
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9094
|
+
CurrencyID?: string | null | undefined;
|
|
9095
|
+
Amount?: number | null | undefined;
|
|
9096
|
+
AmountUsd?: number | null | undefined;
|
|
9097
|
+
CatalogID?: string | null | undefined;
|
|
9098
|
+
ItemID?: string | null | undefined;
|
|
9099
|
+
ProductID?: string | null | undefined;
|
|
9100
|
+
}[] | null | undefined;
|
|
9101
|
+
EventTokens?: {
|
|
9102
|
+
Address?: {
|
|
9103
|
+
EntityID: string;
|
|
9104
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9105
|
+
} | null | undefined;
|
|
9106
|
+
Amount?: number | null | undefined;
|
|
9107
|
+
Source?: string | null | undefined;
|
|
9108
|
+
}[] | null | undefined;
|
|
9109
|
+
} | null | undefined;
|
|
9110
|
+
Holding?: {
|
|
9111
|
+
[x: string]: unknown;
|
|
9112
|
+
Requirements?: {
|
|
9113
|
+
[x: string]: unknown;
|
|
9114
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9115
|
+
CurrencyID?: string | null | undefined;
|
|
9116
|
+
CatalogID?: string | null | undefined;
|
|
9117
|
+
ItemID?: string | null | undefined;
|
|
9118
|
+
Amount?: number | null | undefined;
|
|
9119
|
+
MinLevel?: number | null | undefined;
|
|
9120
|
+
}[] | null | undefined;
|
|
9121
|
+
Match?: "All" | "Any" | null | undefined;
|
|
9122
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
9123
|
+
} | null | undefined;
|
|
9124
|
+
}[] | null | undefined;
|
|
9125
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
9126
|
+
ModerationNote?: string | null | undefined;
|
|
9127
|
+
Stats?: {
|
|
9128
|
+
[x: string]: unknown;
|
|
9129
|
+
Acquisitions?: number | null | undefined;
|
|
9130
|
+
Downloads?: number | null | undefined;
|
|
9131
|
+
Likes?: number | null | undefined;
|
|
9132
|
+
Favorites?: number | null | undefined;
|
|
9133
|
+
ReportCount?: number | null | undefined;
|
|
9134
|
+
} | null | undefined;
|
|
9135
|
+
Revision?: number | null | undefined;
|
|
9136
|
+
FileCount?: number | null | undefined;
|
|
9137
|
+
TotalBytes?: number | null | undefined;
|
|
9138
|
+
CreatedAt?: string | null | undefined;
|
|
9139
|
+
UpdatedAt?: string | null | undefined;
|
|
9140
|
+
PublishedAt?: string | null | undefined;
|
|
9141
|
+
IsMine?: boolean | null | undefined;
|
|
9142
|
+
Owned?: boolean | null | undefined;
|
|
9143
|
+
Liked?: boolean | null | undefined;
|
|
9144
|
+
Favorited?: boolean | null | undefined;
|
|
9145
|
+
} | null | undefined;
|
|
9146
|
+
Resources?: {
|
|
9147
|
+
Grant?: {
|
|
9148
|
+
Standard?: {
|
|
9149
|
+
Entries?: {
|
|
9150
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9151
|
+
CurrencyID?: string | null | undefined;
|
|
9152
|
+
Amount?: number | null | undefined;
|
|
9153
|
+
AmountUsd?: number | null | undefined;
|
|
9154
|
+
CatalogID?: string | null | undefined;
|
|
9155
|
+
ItemID?: string | null | undefined;
|
|
9156
|
+
ProductID?: string | null | undefined;
|
|
9157
|
+
}[] | null | undefined;
|
|
9158
|
+
EventTokens?: {
|
|
9159
|
+
Address?: {
|
|
9160
|
+
EntityID: string;
|
|
9161
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9162
|
+
} | null | undefined;
|
|
9163
|
+
Amount?: number | null | undefined;
|
|
9164
|
+
Source?: string | null | undefined;
|
|
9165
|
+
}[] | null | undefined;
|
|
9166
|
+
} | null | undefined;
|
|
9167
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
9168
|
+
PremiumTiers?: {
|
|
9169
|
+
MinPremiumTier?: number | null | undefined;
|
|
9170
|
+
RequiredPremiumID?: string | null | undefined;
|
|
9171
|
+
Resources?: {
|
|
9172
|
+
Entries?: {
|
|
9173
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9174
|
+
CurrencyID?: string | null | undefined;
|
|
9175
|
+
Amount?: number | null | undefined;
|
|
9176
|
+
AmountUsd?: number | null | undefined;
|
|
9177
|
+
CatalogID?: string | null | undefined;
|
|
9178
|
+
ItemID?: string | null | undefined;
|
|
9179
|
+
ProductID?: string | null | undefined;
|
|
9180
|
+
}[] | null | undefined;
|
|
9181
|
+
EventTokens?: {
|
|
9182
|
+
Address?: {
|
|
9183
|
+
EntityID: string;
|
|
9184
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9185
|
+
} | null | undefined;
|
|
9186
|
+
Amount?: number | null | undefined;
|
|
9187
|
+
Source?: string | null | undefined;
|
|
9188
|
+
}[] | null | undefined;
|
|
9189
|
+
} | null | undefined;
|
|
9190
|
+
}[] | null | undefined;
|
|
9191
|
+
} | null | undefined;
|
|
9192
|
+
Consume?: {
|
|
9193
|
+
Standard?: {
|
|
7889
9194
|
Entries?: {
|
|
7890
9195
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7891
9196
|
CurrencyID?: string | null | undefined;
|
|
@@ -7904,45 +9209,34 @@ declare class WorkshopApi {
|
|
|
7904
9209
|
Source?: string | null | undefined;
|
|
7905
9210
|
}[] | null | undefined;
|
|
7906
9211
|
} | null | undefined;
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
9212
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
9213
|
+
PremiumTiers?: {
|
|
9214
|
+
MinPremiumTier?: number | null | undefined;
|
|
9215
|
+
RequiredPremiumID?: string | null | undefined;
|
|
9216
|
+
Resources?: {
|
|
9217
|
+
Entries?: {
|
|
9218
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9219
|
+
CurrencyID?: string | null | undefined;
|
|
9220
|
+
Amount?: number | null | undefined;
|
|
9221
|
+
AmountUsd?: number | null | undefined;
|
|
9222
|
+
CatalogID?: string | null | undefined;
|
|
9223
|
+
ItemID?: string | null | undefined;
|
|
9224
|
+
ProductID?: string | null | undefined;
|
|
9225
|
+
}[] | null | undefined;
|
|
9226
|
+
EventTokens?: {
|
|
9227
|
+
Address?: {
|
|
9228
|
+
EntityID: string;
|
|
9229
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9230
|
+
} | null | undefined;
|
|
9231
|
+
Amount?: number | null | undefined;
|
|
9232
|
+
Source?: string | null | undefined;
|
|
9233
|
+
}[] | null | undefined;
|
|
9234
|
+
} | null | undefined;
|
|
9235
|
+
}[] | null | undefined;
|
|
7931
9236
|
} | null | undefined;
|
|
7932
|
-
|
|
7933
|
-
FileCount?: number | null | undefined;
|
|
7934
|
-
TotalBytes?: number | null | undefined;
|
|
7935
|
-
CreatedAt?: string | null | undefined;
|
|
7936
|
-
UpdatedAt?: string | null | undefined;
|
|
7937
|
-
PublishedAt?: string | null | undefined;
|
|
7938
|
-
IsMine?: boolean | null | undefined;
|
|
7939
|
-
Owned?: boolean | null | undefined;
|
|
7940
|
-
Liked?: boolean | null | undefined;
|
|
7941
|
-
Favorited?: boolean | null | undefined;
|
|
7942
|
-
}[] | null | undefined;
|
|
7943
|
-
ContinuationToken?: string | null | undefined;
|
|
9237
|
+
} | null | undefined;
|
|
7944
9238
|
}>>;
|
|
7945
|
-
|
|
9239
|
+
updateContent(r: WorkshopRequest): Promise<OperationResult<{
|
|
7946
9240
|
[x: string]: unknown;
|
|
7947
9241
|
Content?: {
|
|
7948
9242
|
[x: string]: unknown;
|
|
@@ -8025,25 +9319,10 @@ declare class WorkshopApi {
|
|
|
8025
9319
|
Liked?: boolean | null | undefined;
|
|
8026
9320
|
Favorited?: boolean | null | undefined;
|
|
8027
9321
|
} | null | undefined;
|
|
8028
|
-
AccessState?: {
|
|
8029
|
-
[x: string]: unknown;
|
|
8030
|
-
OptionID?: string | null | undefined;
|
|
8031
|
-
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8032
|
-
Available?: boolean | null | undefined;
|
|
8033
|
-
}[] | null | undefined;
|
|
8034
|
-
CanDownload?: boolean | null | undefined;
|
|
8035
9322
|
}>>;
|
|
8036
|
-
|
|
9323
|
+
unpublish(r: WorkshopRequest): Promise<OperationResult<{
|
|
8037
9324
|
[x: string]: unknown;
|
|
8038
|
-
|
|
8039
|
-
[x: string]: unknown;
|
|
8040
|
-
CollectionID?: string | null | undefined;
|
|
8041
|
-
Name?: string | null | undefined;
|
|
8042
|
-
Description?: string | null | undefined;
|
|
8043
|
-
ContentIDs?: string[] | null | undefined;
|
|
8044
|
-
Order?: number | null | undefined;
|
|
8045
|
-
} | null | undefined;
|
|
8046
|
-
Items?: {
|
|
9325
|
+
Content?: {
|
|
8047
9326
|
[x: string]: unknown;
|
|
8048
9327
|
ContentID?: string | null | undefined;
|
|
8049
9328
|
ContentType?: string | null | undefined;
|
|
@@ -8123,24 +9402,10 @@ declare class WorkshopApi {
|
|
|
8123
9402
|
Owned?: boolean | null | undefined;
|
|
8124
9403
|
Liked?: boolean | null | undefined;
|
|
8125
9404
|
Favorited?: boolean | null | undefined;
|
|
8126
|
-
}
|
|
9405
|
+
} | null | undefined;
|
|
8127
9406
|
}>>;
|
|
8128
|
-
|
|
9407
|
+
getMyContent(r: WorkshopRequest): Promise<OperationResult<{
|
|
8129
9408
|
[x: string]: unknown;
|
|
8130
|
-
CreatorUserID?: string | null | undefined;
|
|
8131
|
-
PublicData?: {
|
|
8132
|
-
[x: string]: unknown;
|
|
8133
|
-
Username?: string | null | undefined;
|
|
8134
|
-
Country?: string | null | undefined;
|
|
8135
|
-
AvatarUrl?: string | null | undefined;
|
|
8136
|
-
Premium?: boolean | null | undefined;
|
|
8137
|
-
Level?: number | null | undefined;
|
|
8138
|
-
Power?: number | null | undefined;
|
|
8139
|
-
BoardRank?: number | null | undefined;
|
|
8140
|
-
} | null | undefined;
|
|
8141
|
-
PublishedCount?: number | null | undefined;
|
|
8142
|
-
FollowerCount?: number | null | undefined;
|
|
8143
|
-
IsFollowing?: boolean | null | undefined;
|
|
8144
9409
|
Items?: {
|
|
8145
9410
|
[x: string]: unknown;
|
|
8146
9411
|
ContentID?: string | null | undefined;
|
|
@@ -8222,113 +9487,202 @@ declare class WorkshopApi {
|
|
|
8222
9487
|
Liked?: boolean | null | undefined;
|
|
8223
9488
|
Favorited?: boolean | null | undefined;
|
|
8224
9489
|
}[] | null | undefined;
|
|
9490
|
+
ContinuationToken?: string | null | undefined;
|
|
8225
9491
|
}>>;
|
|
8226
|
-
|
|
9492
|
+
acquire(r: WorkshopRequest): Promise<OperationResult<{
|
|
8227
9493
|
[x: string]: unknown;
|
|
8228
9494
|
ContentID?: string | null | undefined;
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
|
|
8254
|
-
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
|
|
8259
|
-
|
|
8260
|
-
|
|
8261
|
-
|
|
8262
|
-
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
9495
|
+
OptionID?: string | null | undefined;
|
|
9496
|
+
Source?: "Purchase" | "Free" | "Holding" | null | undefined;
|
|
9497
|
+
AlreadyOwned?: boolean | null | undefined;
|
|
9498
|
+
AccessActive?: boolean | null | undefined;
|
|
9499
|
+
Settlement?: {
|
|
9500
|
+
FromUserID?: string | null | undefined;
|
|
9501
|
+
ToUserID?: string | null | undefined;
|
|
9502
|
+
FromResult?: {
|
|
9503
|
+
Grant?: {
|
|
9504
|
+
Standard?: {
|
|
9505
|
+
Entries?: {
|
|
9506
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9507
|
+
CurrencyID?: string | null | undefined;
|
|
9508
|
+
Amount?: number | null | undefined;
|
|
9509
|
+
AmountUsd?: number | null | undefined;
|
|
9510
|
+
CatalogID?: string | null | undefined;
|
|
9511
|
+
ItemID?: string | null | undefined;
|
|
9512
|
+
ProductID?: string | null | undefined;
|
|
9513
|
+
}[] | null | undefined;
|
|
9514
|
+
EventTokens?: {
|
|
9515
|
+
Address?: {
|
|
9516
|
+
EntityID: string;
|
|
9517
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9518
|
+
} | null | undefined;
|
|
9519
|
+
Amount?: number | null | undefined;
|
|
9520
|
+
Source?: string | null | undefined;
|
|
9521
|
+
}[] | null | undefined;
|
|
9522
|
+
} | null | undefined;
|
|
9523
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
9524
|
+
PremiumTiers?: {
|
|
9525
|
+
MinPremiumTier?: number | null | undefined;
|
|
9526
|
+
RequiredPremiumID?: string | null | undefined;
|
|
9527
|
+
Resources?: {
|
|
9528
|
+
Entries?: {
|
|
9529
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9530
|
+
CurrencyID?: string | null | undefined;
|
|
9531
|
+
Amount?: number | null | undefined;
|
|
9532
|
+
AmountUsd?: number | null | undefined;
|
|
9533
|
+
CatalogID?: string | null | undefined;
|
|
9534
|
+
ItemID?: string | null | undefined;
|
|
9535
|
+
ProductID?: string | null | undefined;
|
|
9536
|
+
}[] | null | undefined;
|
|
9537
|
+
EventTokens?: {
|
|
9538
|
+
Address?: {
|
|
9539
|
+
EntityID: string;
|
|
9540
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9541
|
+
} | null | undefined;
|
|
9542
|
+
Amount?: number | null | undefined;
|
|
9543
|
+
Source?: string | null | undefined;
|
|
9544
|
+
}[] | null | undefined;
|
|
9545
|
+
} | null | undefined;
|
|
9546
|
+
}[] | null | undefined;
|
|
9547
|
+
} | null | undefined;
|
|
9548
|
+
Consume?: {
|
|
9549
|
+
Standard?: {
|
|
9550
|
+
Entries?: {
|
|
9551
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9552
|
+
CurrencyID?: string | null | undefined;
|
|
9553
|
+
Amount?: number | null | undefined;
|
|
9554
|
+
AmountUsd?: number | null | undefined;
|
|
9555
|
+
CatalogID?: string | null | undefined;
|
|
9556
|
+
ItemID?: string | null | undefined;
|
|
9557
|
+
ProductID?: string | null | undefined;
|
|
9558
|
+
}[] | null | undefined;
|
|
9559
|
+
EventTokens?: {
|
|
9560
|
+
Address?: {
|
|
9561
|
+
EntityID: string;
|
|
9562
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9563
|
+
} | null | undefined;
|
|
9564
|
+
Amount?: number | null | undefined;
|
|
9565
|
+
Source?: string | null | undefined;
|
|
9566
|
+
}[] | null | undefined;
|
|
9567
|
+
} | null | undefined;
|
|
9568
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
9569
|
+
PremiumTiers?: {
|
|
9570
|
+
MinPremiumTier?: number | null | undefined;
|
|
9571
|
+
RequiredPremiumID?: string | null | undefined;
|
|
9572
|
+
Resources?: {
|
|
9573
|
+
Entries?: {
|
|
9574
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9575
|
+
CurrencyID?: string | null | undefined;
|
|
9576
|
+
Amount?: number | null | undefined;
|
|
9577
|
+
AmountUsd?: number | null | undefined;
|
|
9578
|
+
CatalogID?: string | null | undefined;
|
|
9579
|
+
ItemID?: string | null | undefined;
|
|
9580
|
+
ProductID?: string | null | undefined;
|
|
9581
|
+
}[] | null | undefined;
|
|
9582
|
+
EventTokens?: {
|
|
9583
|
+
Address?: {
|
|
9584
|
+
EntityID: string;
|
|
9585
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9586
|
+
} | null | undefined;
|
|
9587
|
+
Amount?: number | null | undefined;
|
|
9588
|
+
Source?: string | null | undefined;
|
|
9589
|
+
}[] | null | undefined;
|
|
9590
|
+
} | null | undefined;
|
|
8287
9591
|
}[] | null | undefined;
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
9592
|
+
} | null | undefined;
|
|
9593
|
+
} | null | undefined;
|
|
9594
|
+
ToResult?: {
|
|
9595
|
+
Grant?: {
|
|
9596
|
+
Standard?: {
|
|
9597
|
+
Entries?: {
|
|
9598
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9599
|
+
CurrencyID?: string | null | undefined;
|
|
9600
|
+
Amount?: number | null | undefined;
|
|
9601
|
+
AmountUsd?: number | null | undefined;
|
|
9602
|
+
CatalogID?: string | null | undefined;
|
|
9603
|
+
ItemID?: string | null | undefined;
|
|
9604
|
+
ProductID?: string | null | undefined;
|
|
9605
|
+
}[] | null | undefined;
|
|
9606
|
+
EventTokens?: {
|
|
9607
|
+
Address?: {
|
|
9608
|
+
EntityID: string;
|
|
9609
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9610
|
+
} | null | undefined;
|
|
9611
|
+
Amount?: number | null | undefined;
|
|
9612
|
+
Source?: string | null | undefined;
|
|
9613
|
+
}[] | null | undefined;
|
|
9614
|
+
} | null | undefined;
|
|
9615
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
9616
|
+
PremiumTiers?: {
|
|
9617
|
+
MinPremiumTier?: number | null | undefined;
|
|
9618
|
+
RequiredPremiumID?: string | null | undefined;
|
|
9619
|
+
Resources?: {
|
|
9620
|
+
Entries?: {
|
|
9621
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9622
|
+
CurrencyID?: string | null | undefined;
|
|
9623
|
+
Amount?: number | null | undefined;
|
|
9624
|
+
AmountUsd?: number | null | undefined;
|
|
9625
|
+
CatalogID?: string | null | undefined;
|
|
9626
|
+
ItemID?: string | null | undefined;
|
|
9627
|
+
ProductID?: string | null | undefined;
|
|
9628
|
+
}[] | null | undefined;
|
|
9629
|
+
EventTokens?: {
|
|
9630
|
+
Address?: {
|
|
9631
|
+
EntityID: string;
|
|
9632
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9633
|
+
} | null | undefined;
|
|
9634
|
+
Amount?: number | null | undefined;
|
|
9635
|
+
Source?: string | null | undefined;
|
|
9636
|
+
}[] | null | undefined;
|
|
8292
9637
|
} | null | undefined;
|
|
8293
|
-
Amount?: number | null | undefined;
|
|
8294
|
-
Source?: string | null | undefined;
|
|
8295
9638
|
}[] | null | undefined;
|
|
8296
9639
|
} | null | undefined;
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
9640
|
+
Consume?: {
|
|
9641
|
+
Standard?: {
|
|
9642
|
+
Entries?: {
|
|
9643
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9644
|
+
CurrencyID?: string | null | undefined;
|
|
9645
|
+
Amount?: number | null | undefined;
|
|
9646
|
+
AmountUsd?: number | null | undefined;
|
|
9647
|
+
CatalogID?: string | null | undefined;
|
|
9648
|
+
ItemID?: string | null | undefined;
|
|
9649
|
+
ProductID?: string | null | undefined;
|
|
9650
|
+
}[] | null | undefined;
|
|
9651
|
+
EventTokens?: {
|
|
9652
|
+
Address?: {
|
|
9653
|
+
EntityID: string;
|
|
9654
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9655
|
+
} | null | undefined;
|
|
9656
|
+
Amount?: number | null | undefined;
|
|
9657
|
+
Source?: string | null | undefined;
|
|
9658
|
+
}[] | null | undefined;
|
|
9659
|
+
} | null | undefined;
|
|
9660
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
9661
|
+
PremiumTiers?: {
|
|
9662
|
+
MinPremiumTier?: number | null | undefined;
|
|
9663
|
+
RequiredPremiumID?: string | null | undefined;
|
|
9664
|
+
Resources?: {
|
|
9665
|
+
Entries?: {
|
|
9666
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9667
|
+
CurrencyID?: string | null | undefined;
|
|
9668
|
+
Amount?: number | null | undefined;
|
|
9669
|
+
AmountUsd?: number | null | undefined;
|
|
9670
|
+
CatalogID?: string | null | undefined;
|
|
9671
|
+
ItemID?: string | null | undefined;
|
|
9672
|
+
ProductID?: string | null | undefined;
|
|
9673
|
+
}[] | null | undefined;
|
|
9674
|
+
EventTokens?: {
|
|
9675
|
+
Address?: {
|
|
9676
|
+
EntityID: string;
|
|
9677
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9678
|
+
} | null | undefined;
|
|
9679
|
+
Amount?: number | null | undefined;
|
|
9680
|
+
Source?: string | null | undefined;
|
|
9681
|
+
}[] | null | undefined;
|
|
9682
|
+
} | null | undefined;
|
|
8307
9683
|
}[] | null | undefined;
|
|
8308
|
-
Match?: "All" | "Any" | null | undefined;
|
|
8309
|
-
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8310
9684
|
} | null | undefined;
|
|
8311
|
-
}[] | null | undefined;
|
|
8312
|
-
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8313
|
-
ModerationNote?: string | null | undefined;
|
|
8314
|
-
Stats?: {
|
|
8315
|
-
[x: string]: unknown;
|
|
8316
|
-
Acquisitions?: number | null | undefined;
|
|
8317
|
-
Downloads?: number | null | undefined;
|
|
8318
|
-
Likes?: number | null | undefined;
|
|
8319
|
-
Favorites?: number | null | undefined;
|
|
8320
|
-
ReportCount?: number | null | undefined;
|
|
8321
9685
|
} | null | undefined;
|
|
8322
|
-
Revision?: number | null | undefined;
|
|
8323
|
-
FileCount?: number | null | undefined;
|
|
8324
|
-
TotalBytes?: number | null | undefined;
|
|
8325
|
-
CreatedAt?: string | null | undefined;
|
|
8326
|
-
UpdatedAt?: string | null | undefined;
|
|
8327
|
-
PublishedAt?: string | null | undefined;
|
|
8328
|
-
IsMine?: boolean | null | undefined;
|
|
8329
|
-
Owned?: boolean | null | undefined;
|
|
8330
|
-
Liked?: boolean | null | undefined;
|
|
8331
|
-
Favorited?: boolean | null | undefined;
|
|
8332
9686
|
} | null | undefined;
|
|
8333
9687
|
Resources?: {
|
|
8334
9688
|
Grant?: {
|
|
@@ -8422,176 +9776,161 @@ declare class WorkshopApi {
|
|
|
8422
9776
|
}[] | null | undefined;
|
|
8423
9777
|
} | null | undefined;
|
|
8424
9778
|
} | null | undefined;
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
Premium?: boolean | null | undefined;
|
|
8440
|
-
Level?: number | null | undefined;
|
|
8441
|
-
Power?: number | null | undefined;
|
|
8442
|
-
BoardRank?: number | null | undefined;
|
|
8443
|
-
} | null | undefined;
|
|
8444
|
-
Title?: string | null | undefined;
|
|
8445
|
-
Description?: string | null | undefined;
|
|
8446
|
-
Tags?: string[] | null | undefined;
|
|
8447
|
-
Metadata?: Record<string, string> | null | undefined;
|
|
8448
|
-
ThumbnailUrl?: string | null | undefined;
|
|
8449
|
-
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8450
|
-
Access?: {
|
|
8451
|
-
[x: string]: unknown;
|
|
8452
|
-
OptionID?: string | null | undefined;
|
|
8453
|
-
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8454
|
-
Price?: {
|
|
8455
|
-
Entries?: {
|
|
8456
|
-
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8457
|
-
CurrencyID?: string | null | undefined;
|
|
8458
|
-
Amount?: number | null | undefined;
|
|
8459
|
-
AmountUsd?: number | null | undefined;
|
|
8460
|
-
CatalogID?: string | null | undefined;
|
|
8461
|
-
ItemID?: string | null | undefined;
|
|
8462
|
-
ProductID?: string | null | undefined;
|
|
8463
|
-
}[] | null | undefined;
|
|
8464
|
-
EventTokens?: {
|
|
8465
|
-
Address?: {
|
|
8466
|
-
EntityID: string;
|
|
8467
|
-
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8468
|
-
} | null | undefined;
|
|
8469
|
-
Amount?: number | null | undefined;
|
|
8470
|
-
Source?: string | null | undefined;
|
|
8471
|
-
}[] | null | undefined;
|
|
8472
|
-
} | null | undefined;
|
|
8473
|
-
Holding?: {
|
|
8474
|
-
[x: string]: unknown;
|
|
8475
|
-
Requirements?: {
|
|
8476
|
-
[x: string]: unknown;
|
|
8477
|
-
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8478
|
-
CurrencyID?: string | null | undefined;
|
|
8479
|
-
CatalogID?: string | null | undefined;
|
|
8480
|
-
ItemID?: string | null | undefined;
|
|
8481
|
-
Amount?: number | null | undefined;
|
|
8482
|
-
MinLevel?: number | null | undefined;
|
|
8483
|
-
}[] | null | undefined;
|
|
8484
|
-
Match?: "All" | "Any" | null | undefined;
|
|
8485
|
-
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
9779
|
+
CommissionTaken?: {
|
|
9780
|
+
Entries?: {
|
|
9781
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9782
|
+
CurrencyID?: string | null | undefined;
|
|
9783
|
+
Amount?: number | null | undefined;
|
|
9784
|
+
AmountUsd?: number | null | undefined;
|
|
9785
|
+
CatalogID?: string | null | undefined;
|
|
9786
|
+
ItemID?: string | null | undefined;
|
|
9787
|
+
ProductID?: string | null | undefined;
|
|
9788
|
+
}[] | null | undefined;
|
|
9789
|
+
EventTokens?: {
|
|
9790
|
+
Address?: {
|
|
9791
|
+
EntityID: string;
|
|
9792
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8486
9793
|
} | null | undefined;
|
|
9794
|
+
Amount?: number | null | undefined;
|
|
9795
|
+
Source?: string | null | undefined;
|
|
8487
9796
|
}[] | null | undefined;
|
|
8488
|
-
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8489
|
-
ModerationNote?: string | null | undefined;
|
|
8490
|
-
Stats?: {
|
|
8491
|
-
[x: string]: unknown;
|
|
8492
|
-
Acquisitions?: number | null | undefined;
|
|
8493
|
-
Downloads?: number | null | undefined;
|
|
8494
|
-
Likes?: number | null | undefined;
|
|
8495
|
-
Favorites?: number | null | undefined;
|
|
8496
|
-
ReportCount?: number | null | undefined;
|
|
8497
|
-
} | null | undefined;
|
|
8498
|
-
Revision?: number | null | undefined;
|
|
8499
|
-
FileCount?: number | null | undefined;
|
|
8500
|
-
TotalBytes?: number | null | undefined;
|
|
8501
|
-
CreatedAt?: string | null | undefined;
|
|
8502
|
-
UpdatedAt?: string | null | undefined;
|
|
8503
|
-
PublishedAt?: string | null | undefined;
|
|
8504
|
-
IsMine?: boolean | null | undefined;
|
|
8505
|
-
Owned?: boolean | null | undefined;
|
|
8506
|
-
Liked?: boolean | null | undefined;
|
|
8507
|
-
Favorited?: boolean | null | undefined;
|
|
8508
9797
|
} | null | undefined;
|
|
8509
9798
|
}>>;
|
|
8510
|
-
|
|
9799
|
+
getDownload(r: WorkshopRequest): Promise<OperationResult<{
|
|
9800
|
+
[x: string]: unknown;
|
|
9801
|
+
ContentID?: string | null | undefined;
|
|
9802
|
+
ContentType?: string | null | undefined;
|
|
9803
|
+
Revision?: number | null | undefined;
|
|
9804
|
+
AccessVia?: "Creator" | "Free" | "Holding" | "License" | null | undefined;
|
|
9805
|
+
Files?: {
|
|
9806
|
+
[x: string]: unknown;
|
|
9807
|
+
Role?: string | null | undefined;
|
|
9808
|
+
Url?: string | null | undefined;
|
|
9809
|
+
ContentType?: string | null | undefined;
|
|
9810
|
+
Size?: number | null | undefined;
|
|
9811
|
+
}[] | null | undefined;
|
|
9812
|
+
ThumbnailUrl?: string | null | undefined;
|
|
9813
|
+
ExpiresAt?: string | null | undefined;
|
|
9814
|
+
}>>;
|
|
9815
|
+
getMyLicenses(r: WorkshopRequest): Promise<OperationResult<{
|
|
8511
9816
|
[x: string]: unknown;
|
|
8512
|
-
|
|
9817
|
+
Licenses?: {
|
|
8513
9818
|
[x: string]: unknown;
|
|
8514
9819
|
ContentID?: string | null | undefined;
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
9820
|
+
Source?: "Purchase" | "Free" | "Holding" | null | undefined;
|
|
9821
|
+
OptionID?: string | null | undefined;
|
|
9822
|
+
PricePaid?: {
|
|
9823
|
+
Entries?: {
|
|
9824
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9825
|
+
CurrencyID?: string | null | undefined;
|
|
9826
|
+
Amount?: number | null | undefined;
|
|
9827
|
+
AmountUsd?: number | null | undefined;
|
|
9828
|
+
CatalogID?: string | null | undefined;
|
|
9829
|
+
ItemID?: string | null | undefined;
|
|
9830
|
+
ProductID?: string | null | undefined;
|
|
9831
|
+
}[] | null | undefined;
|
|
9832
|
+
EventTokens?: {
|
|
9833
|
+
Address?: {
|
|
9834
|
+
EntityID: string;
|
|
9835
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9836
|
+
} | null | undefined;
|
|
9837
|
+
Amount?: number | null | undefined;
|
|
9838
|
+
Source?: string | null | undefined;
|
|
9839
|
+
}[] | null | undefined;
|
|
8527
9840
|
} | null | undefined;
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
Tags?: string[] | null | undefined;
|
|
8531
|
-
Metadata?: Record<string, string> | null | undefined;
|
|
8532
|
-
ThumbnailUrl?: string | null | undefined;
|
|
8533
|
-
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8534
|
-
Access?: {
|
|
9841
|
+
AcquiredAt?: string | null | undefined;
|
|
9842
|
+
Content?: {
|
|
8535
9843
|
[x: string]: unknown;
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
Address?: {
|
|
8550
|
-
EntityID: string;
|
|
8551
|
-
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8552
|
-
} | null | undefined;
|
|
8553
|
-
Amount?: number | null | undefined;
|
|
8554
|
-
Source?: string | null | undefined;
|
|
8555
|
-
}[] | null | undefined;
|
|
9844
|
+
ContentID?: string | null | undefined;
|
|
9845
|
+
ContentType?: string | null | undefined;
|
|
9846
|
+
CreatorUserID?: string | null | undefined;
|
|
9847
|
+
IsOfficial?: boolean | null | undefined;
|
|
9848
|
+
CreatorPublicData?: {
|
|
9849
|
+
[x: string]: unknown;
|
|
9850
|
+
Username?: string | null | undefined;
|
|
9851
|
+
Country?: string | null | undefined;
|
|
9852
|
+
AvatarUrl?: string | null | undefined;
|
|
9853
|
+
Premium?: boolean | null | undefined;
|
|
9854
|
+
Level?: number | null | undefined;
|
|
9855
|
+
Power?: number | null | undefined;
|
|
9856
|
+
BoardRank?: number | null | undefined;
|
|
8556
9857
|
} | null | undefined;
|
|
8557
|
-
|
|
9858
|
+
Title?: string | null | undefined;
|
|
9859
|
+
Description?: string | null | undefined;
|
|
9860
|
+
Tags?: string[] | null | undefined;
|
|
9861
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
9862
|
+
ThumbnailUrl?: string | null | undefined;
|
|
9863
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
9864
|
+
Access?: {
|
|
8558
9865
|
[x: string]: unknown;
|
|
8559
|
-
|
|
9866
|
+
OptionID?: string | null | undefined;
|
|
9867
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
9868
|
+
Price?: {
|
|
9869
|
+
Entries?: {
|
|
9870
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9871
|
+
CurrencyID?: string | null | undefined;
|
|
9872
|
+
Amount?: number | null | undefined;
|
|
9873
|
+
AmountUsd?: number | null | undefined;
|
|
9874
|
+
CatalogID?: string | null | undefined;
|
|
9875
|
+
ItemID?: string | null | undefined;
|
|
9876
|
+
ProductID?: string | null | undefined;
|
|
9877
|
+
}[] | null | undefined;
|
|
9878
|
+
EventTokens?: {
|
|
9879
|
+
Address?: {
|
|
9880
|
+
EntityID: string;
|
|
9881
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9882
|
+
} | null | undefined;
|
|
9883
|
+
Amount?: number | null | undefined;
|
|
9884
|
+
Source?: string | null | undefined;
|
|
9885
|
+
}[] | null | undefined;
|
|
9886
|
+
} | null | undefined;
|
|
9887
|
+
Holding?: {
|
|
8560
9888
|
[x: string]: unknown;
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
9889
|
+
Requirements?: {
|
|
9890
|
+
[x: string]: unknown;
|
|
9891
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9892
|
+
CurrencyID?: string | null | undefined;
|
|
9893
|
+
CatalogID?: string | null | undefined;
|
|
9894
|
+
ItemID?: string | null | undefined;
|
|
9895
|
+
Amount?: number | null | undefined;
|
|
9896
|
+
MinLevel?: number | null | undefined;
|
|
9897
|
+
}[] | null | undefined;
|
|
9898
|
+
Match?: "All" | "Any" | null | undefined;
|
|
9899
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
9900
|
+
} | null | undefined;
|
|
9901
|
+
}[] | null | undefined;
|
|
9902
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
9903
|
+
ModerationNote?: string | null | undefined;
|
|
9904
|
+
Stats?: {
|
|
9905
|
+
[x: string]: unknown;
|
|
9906
|
+
Acquisitions?: number | null | undefined;
|
|
9907
|
+
Downloads?: number | null | undefined;
|
|
9908
|
+
Likes?: number | null | undefined;
|
|
9909
|
+
Favorites?: number | null | undefined;
|
|
9910
|
+
ReportCount?: number | null | undefined;
|
|
8570
9911
|
} | null | undefined;
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
9912
|
+
Revision?: number | null | undefined;
|
|
9913
|
+
FileCount?: number | null | undefined;
|
|
9914
|
+
TotalBytes?: number | null | undefined;
|
|
9915
|
+
CreatedAt?: string | null | undefined;
|
|
9916
|
+
UpdatedAt?: string | null | undefined;
|
|
9917
|
+
PublishedAt?: string | null | undefined;
|
|
9918
|
+
IsMine?: boolean | null | undefined;
|
|
9919
|
+
Owned?: boolean | null | undefined;
|
|
9920
|
+
Liked?: boolean | null | undefined;
|
|
9921
|
+
Favorited?: boolean | null | undefined;
|
|
8581
9922
|
} | null | undefined;
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
TotalBytes?: number | null | undefined;
|
|
8585
|
-
CreatedAt?: string | null | undefined;
|
|
8586
|
-
UpdatedAt?: string | null | undefined;
|
|
8587
|
-
PublishedAt?: string | null | undefined;
|
|
8588
|
-
IsMine?: boolean | null | undefined;
|
|
8589
|
-
Owned?: boolean | null | undefined;
|
|
8590
|
-
Liked?: boolean | null | undefined;
|
|
8591
|
-
Favorited?: boolean | null | undefined;
|
|
8592
|
-
} | null | undefined;
|
|
9923
|
+
}[] | null | undefined;
|
|
9924
|
+
ContinuationToken?: string | null | undefined;
|
|
8593
9925
|
}>>;
|
|
8594
|
-
|
|
9926
|
+
react(action: "Like" | "Unlike" | "Favorite" | "Unfavorite", r: WorkshopRequest): Promise<OperationResult<{
|
|
9927
|
+
[x: string]: unknown;
|
|
9928
|
+
ContentID?: string | null | undefined;
|
|
9929
|
+
Kind?: "Like" | "Favorite" | null | undefined;
|
|
9930
|
+
Active?: boolean | null | undefined;
|
|
9931
|
+
Count?: number | null | undefined;
|
|
9932
|
+
}>>;
|
|
9933
|
+
getMyFavorites(r: WorkshopRequest): Promise<OperationResult<{
|
|
8595
9934
|
[x: string]: unknown;
|
|
8596
9935
|
Items?: {
|
|
8597
9936
|
[x: string]: unknown;
|
|
@@ -8676,19 +10015,153 @@ declare class WorkshopApi {
|
|
|
8676
10015
|
}[] | null | undefined;
|
|
8677
10016
|
ContinuationToken?: string | null | undefined;
|
|
8678
10017
|
}>>;
|
|
8679
|
-
|
|
10018
|
+
follow(action: "Follow" | "Unfollow", r: WorkshopRequest): Promise<OperationResult<{
|
|
8680
10019
|
[x: string]: unknown;
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
|
|
8691
|
-
|
|
10020
|
+
CreatorUserID?: string | null | undefined;
|
|
10021
|
+
Following?: boolean | null | undefined;
|
|
10022
|
+
FollowerCount?: number | null | undefined;
|
|
10023
|
+
}>>;
|
|
10024
|
+
report(r: WorkshopRequest): Promise<OperationResult<{
|
|
10025
|
+
[x: string]: unknown;
|
|
10026
|
+
ReportID?: string | null | undefined;
|
|
10027
|
+
AlreadyReported?: boolean | null | undefined;
|
|
10028
|
+
AutoHidden?: boolean | null | undefined;
|
|
10029
|
+
}>>;
|
|
10030
|
+
}
|
|
10031
|
+
|
|
10032
|
+
/**
|
|
10033
|
+
* Thin transport wrapper for DataCollections (port of DataCollections/DataCollections.cs) plus the
|
|
10034
|
+
* anonymous entry `v2/{titleID}/Public/DataCollections/{action}` used by sites without a session.
|
|
10035
|
+
*
|
|
10036
|
+
* ⚠ One route serves many DIFFERENT requests (every collection, every record, every page), so the
|
|
10037
|
+
* throttle/dedup key is the request itself, not the route: with the default key a second query to
|
|
10038
|
+
* another collection — or the next page — would be skipped as a duplicate.
|
|
10039
|
+
*/
|
|
10040
|
+
declare class DataCollectionsApi {
|
|
10041
|
+
private readonly ctx;
|
|
10042
|
+
constructor(ctx: ClientContext);
|
|
10043
|
+
private send;
|
|
10044
|
+
private sendPublic;
|
|
10045
|
+
getDefinitions(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10046
|
+
Collections: Record<string, {
|
|
10047
|
+
Kind: "UserOwned" | "Shared" | "Temporary" | "Log";
|
|
10048
|
+
DisplayName?: string | null | undefined;
|
|
10049
|
+
Description?: string | null | undefined;
|
|
10050
|
+
Namespace?: string | null | undefined;
|
|
10051
|
+
Tags?: string[] | null | undefined;
|
|
10052
|
+
Enabled?: boolean | null | undefined;
|
|
10053
|
+
Mode?: "Strict" | "Loose" | undefined;
|
|
10054
|
+
SchemaVersion?: number | undefined;
|
|
10055
|
+
Fields?: Record<string, {
|
|
10056
|
+
Type: "Text" | "Date" | "String" | "Int" | "Bool" | "Json" | "Number" | "Array" | "Ref" | "File";
|
|
10057
|
+
ItemType?: "Text" | "Date" | "String" | "Int" | "Bool" | "Json" | "Number" | "Array" | "Ref" | "File" | null | undefined;
|
|
10058
|
+
Ref?: {
|
|
10059
|
+
Kind: "Item" | "Quest" | "Leaderboard" | "User" | "Currency" | "DataItem" | "ItemInstance" | "StoreOffer" | "WorkshopContent";
|
|
10060
|
+
Collection?: string | null | undefined;
|
|
10061
|
+
Validate?: boolean | null | undefined;
|
|
10062
|
+
} | null | undefined;
|
|
10063
|
+
Required?: boolean | undefined;
|
|
10064
|
+
Default?: string | null | undefined;
|
|
10065
|
+
Min?: number | null | undefined;
|
|
10066
|
+
Max?: number | null | undefined;
|
|
10067
|
+
MaxLength?: number | null | undefined;
|
|
10068
|
+
MaxItems?: number | null | undefined;
|
|
10069
|
+
Enum?: string[] | null | undefined;
|
|
10070
|
+
Unique?: boolean | undefined;
|
|
10071
|
+
UniqueIgnoreCase?: boolean | undefined;
|
|
10072
|
+
Indexed?: boolean | undefined;
|
|
10073
|
+
Visibility?: "Server" | "Everyone" | "Owner" | undefined;
|
|
10074
|
+
ClientWritable?: boolean | null | undefined;
|
|
10075
|
+
Immutable?: boolean | undefined;
|
|
10076
|
+
Description?: string | null | undefined;
|
|
10077
|
+
AllowedMimeTypes?: string[] | null | undefined;
|
|
10078
|
+
MaxFileBytes?: number | null | undefined;
|
|
10079
|
+
}> | null | undefined;
|
|
10080
|
+
SortKeys?: {
|
|
10081
|
+
ID: string;
|
|
10082
|
+
Components: {
|
|
10083
|
+
Field: string;
|
|
10084
|
+
Descending?: boolean | undefined;
|
|
10085
|
+
}[];
|
|
10086
|
+
}[] | null | undefined;
|
|
10087
|
+
Access?: {
|
|
10088
|
+
Read?: {
|
|
10089
|
+
Mode: "Anyone" | "Members" | "Server" | "Role" | "Owner" | "Authenticated";
|
|
10090
|
+
Role?: string | null | undefined;
|
|
10091
|
+
MembersField?: string | null | undefined;
|
|
10092
|
+
}[] | null | undefined;
|
|
10093
|
+
Create?: {
|
|
10094
|
+
Mode: "Anyone" | "Members" | "Server" | "Role" | "Owner" | "Authenticated";
|
|
10095
|
+
Role?: string | null | undefined;
|
|
10096
|
+
MembersField?: string | null | undefined;
|
|
10097
|
+
}[] | null | undefined;
|
|
10098
|
+
Update?: {
|
|
10099
|
+
Mode: "Anyone" | "Members" | "Server" | "Role" | "Owner" | "Authenticated";
|
|
10100
|
+
Role?: string | null | undefined;
|
|
10101
|
+
MembersField?: string | null | undefined;
|
|
10102
|
+
}[] | null | undefined;
|
|
10103
|
+
Delete?: {
|
|
10104
|
+
Mode: "Anyone" | "Members" | "Server" | "Role" | "Owner" | "Authenticated";
|
|
10105
|
+
Role?: string | null | undefined;
|
|
10106
|
+
MembersField?: string | null | undefined;
|
|
10107
|
+
}[] | null | undefined;
|
|
10108
|
+
} | null | undefined;
|
|
10109
|
+
Limits?: {
|
|
10110
|
+
MaxItemBytes?: number | null | undefined;
|
|
10111
|
+
MaxItemsPerOwner?: number | null | undefined;
|
|
10112
|
+
TtlSeconds?: number | null | undefined;
|
|
10113
|
+
} | null | undefined;
|
|
10114
|
+
OnOwnerDeleted?: "Delete" | "Anonymize" | "Keep" | undefined;
|
|
10115
|
+
Counters?: {
|
|
10116
|
+
ID: string;
|
|
10117
|
+
Kind: "Count" | "Sum";
|
|
10118
|
+
SumField?: string | null | undefined;
|
|
10119
|
+
GroupBy?: string | null | undefined;
|
|
10120
|
+
Visibility?: "Server" | "Everyone" | "Owner" | undefined;
|
|
10121
|
+
}[] | null | undefined;
|
|
10122
|
+
Economy?: {
|
|
10123
|
+
OnCreate?: {
|
|
10124
|
+
Cost?: {
|
|
10125
|
+
Entries?: {
|
|
10126
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
10127
|
+
CurrencyID?: string | null | undefined;
|
|
10128
|
+
Amount?: number | null | undefined;
|
|
10129
|
+
AmountUsd?: number | null | undefined;
|
|
10130
|
+
CatalogID?: string | null | undefined;
|
|
10131
|
+
ItemID?: string | null | undefined;
|
|
10132
|
+
ProductID?: string | null | undefined;
|
|
10133
|
+
}[] | null | undefined;
|
|
10134
|
+
EventTokens?: {
|
|
10135
|
+
Address?: {
|
|
10136
|
+
EntityID: string;
|
|
10137
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10138
|
+
} | null | undefined;
|
|
10139
|
+
Amount?: number | null | undefined;
|
|
10140
|
+
Source?: string | null | undefined;
|
|
10141
|
+
}[] | null | undefined;
|
|
10142
|
+
} | null | undefined;
|
|
10143
|
+
Grant?: {
|
|
10144
|
+
Entries?: {
|
|
10145
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
10146
|
+
CurrencyID?: string | null | undefined;
|
|
10147
|
+
Amount?: number | null | undefined;
|
|
10148
|
+
AmountUsd?: number | null | undefined;
|
|
10149
|
+
CatalogID?: string | null | undefined;
|
|
10150
|
+
ItemID?: string | null | undefined;
|
|
10151
|
+
ProductID?: string | null | undefined;
|
|
10152
|
+
}[] | null | undefined;
|
|
10153
|
+
EventTokens?: {
|
|
10154
|
+
Address?: {
|
|
10155
|
+
EntityID: string;
|
|
10156
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10157
|
+
} | null | undefined;
|
|
10158
|
+
Amount?: number | null | undefined;
|
|
10159
|
+
Source?: string | null | undefined;
|
|
10160
|
+
}[] | null | undefined;
|
|
10161
|
+
} | null | undefined;
|
|
10162
|
+
} | null | undefined;
|
|
10163
|
+
OnUpdate?: {
|
|
10164
|
+
Cost?: {
|
|
8692
10165
|
Entries?: {
|
|
8693
10166
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8694
10167
|
CurrencyID?: string | null | undefined;
|
|
@@ -8707,33 +10180,7 @@ declare class WorkshopApi {
|
|
|
8707
10180
|
Source?: string | null | undefined;
|
|
8708
10181
|
}[] | null | undefined;
|
|
8709
10182
|
} | null | undefined;
|
|
8710
|
-
|
|
8711
|
-
PremiumTiers?: {
|
|
8712
|
-
MinPremiumTier?: number | null | undefined;
|
|
8713
|
-
RequiredPremiumID?: string | null | undefined;
|
|
8714
|
-
Resources?: {
|
|
8715
|
-
Entries?: {
|
|
8716
|
-
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8717
|
-
CurrencyID?: string | null | undefined;
|
|
8718
|
-
Amount?: number | null | undefined;
|
|
8719
|
-
AmountUsd?: number | null | undefined;
|
|
8720
|
-
CatalogID?: string | null | undefined;
|
|
8721
|
-
ItemID?: string | null | undefined;
|
|
8722
|
-
ProductID?: string | null | undefined;
|
|
8723
|
-
}[] | null | undefined;
|
|
8724
|
-
EventTokens?: {
|
|
8725
|
-
Address?: {
|
|
8726
|
-
EntityID: string;
|
|
8727
|
-
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8728
|
-
} | null | undefined;
|
|
8729
|
-
Amount?: number | null | undefined;
|
|
8730
|
-
Source?: string | null | undefined;
|
|
8731
|
-
}[] | null | undefined;
|
|
8732
|
-
} | null | undefined;
|
|
8733
|
-
}[] | null | undefined;
|
|
8734
|
-
} | null | undefined;
|
|
8735
|
-
Consume?: {
|
|
8736
|
-
Standard?: {
|
|
10183
|
+
Grant?: {
|
|
8737
10184
|
Entries?: {
|
|
8738
10185
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8739
10186
|
CurrencyID?: string | null | undefined;
|
|
@@ -8752,35 +10199,9 @@ declare class WorkshopApi {
|
|
|
8752
10199
|
Source?: string | null | undefined;
|
|
8753
10200
|
}[] | null | undefined;
|
|
8754
10201
|
} | null | undefined;
|
|
8755
|
-
PremiumDiscounts?: unknown[] | null | undefined;
|
|
8756
|
-
PremiumTiers?: {
|
|
8757
|
-
MinPremiumTier?: number | null | undefined;
|
|
8758
|
-
RequiredPremiumID?: string | null | undefined;
|
|
8759
|
-
Resources?: {
|
|
8760
|
-
Entries?: {
|
|
8761
|
-
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8762
|
-
CurrencyID?: string | null | undefined;
|
|
8763
|
-
Amount?: number | null | undefined;
|
|
8764
|
-
AmountUsd?: number | null | undefined;
|
|
8765
|
-
CatalogID?: string | null | undefined;
|
|
8766
|
-
ItemID?: string | null | undefined;
|
|
8767
|
-
ProductID?: string | null | undefined;
|
|
8768
|
-
}[] | null | undefined;
|
|
8769
|
-
EventTokens?: {
|
|
8770
|
-
Address?: {
|
|
8771
|
-
EntityID: string;
|
|
8772
|
-
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8773
|
-
} | null | undefined;
|
|
8774
|
-
Amount?: number | null | undefined;
|
|
8775
|
-
Source?: string | null | undefined;
|
|
8776
|
-
}[] | null | undefined;
|
|
8777
|
-
} | null | undefined;
|
|
8778
|
-
}[] | null | undefined;
|
|
8779
10202
|
} | null | undefined;
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
Grant?: {
|
|
8783
|
-
Standard?: {
|
|
10203
|
+
OnDelete?: {
|
|
10204
|
+
Cost?: {
|
|
8784
10205
|
Entries?: {
|
|
8785
10206
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8786
10207
|
CurrencyID?: string | null | undefined;
|
|
@@ -8799,33 +10220,7 @@ declare class WorkshopApi {
|
|
|
8799
10220
|
Source?: string | null | undefined;
|
|
8800
10221
|
}[] | null | undefined;
|
|
8801
10222
|
} | null | undefined;
|
|
8802
|
-
|
|
8803
|
-
PremiumTiers?: {
|
|
8804
|
-
MinPremiumTier?: number | null | undefined;
|
|
8805
|
-
RequiredPremiumID?: string | null | undefined;
|
|
8806
|
-
Resources?: {
|
|
8807
|
-
Entries?: {
|
|
8808
|
-
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8809
|
-
CurrencyID?: string | null | undefined;
|
|
8810
|
-
Amount?: number | null | undefined;
|
|
8811
|
-
AmountUsd?: number | null | undefined;
|
|
8812
|
-
CatalogID?: string | null | undefined;
|
|
8813
|
-
ItemID?: string | null | undefined;
|
|
8814
|
-
ProductID?: string | null | undefined;
|
|
8815
|
-
}[] | null | undefined;
|
|
8816
|
-
EventTokens?: {
|
|
8817
|
-
Address?: {
|
|
8818
|
-
EntityID: string;
|
|
8819
|
-
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8820
|
-
} | null | undefined;
|
|
8821
|
-
Amount?: number | null | undefined;
|
|
8822
|
-
Source?: string | null | undefined;
|
|
8823
|
-
}[] | null | undefined;
|
|
8824
|
-
} | null | undefined;
|
|
8825
|
-
}[] | null | undefined;
|
|
8826
|
-
} | null | undefined;
|
|
8827
|
-
Consume?: {
|
|
8828
|
-
Standard?: {
|
|
10223
|
+
Grant?: {
|
|
8829
10224
|
Entries?: {
|
|
8830
10225
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8831
10226
|
CurrencyID?: string | null | undefined;
|
|
@@ -8844,34 +10239,128 @@ declare class WorkshopApi {
|
|
|
8844
10239
|
Source?: string | null | undefined;
|
|
8845
10240
|
}[] | null | undefined;
|
|
8846
10241
|
} | null | undefined;
|
|
8847
|
-
PremiumDiscounts?: unknown[] | null | undefined;
|
|
8848
|
-
PremiumTiers?: {
|
|
8849
|
-
MinPremiumTier?: number | null | undefined;
|
|
8850
|
-
RequiredPremiumID?: string | null | undefined;
|
|
8851
|
-
Resources?: {
|
|
8852
|
-
Entries?: {
|
|
8853
|
-
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8854
|
-
CurrencyID?: string | null | undefined;
|
|
8855
|
-
Amount?: number | null | undefined;
|
|
8856
|
-
AmountUsd?: number | null | undefined;
|
|
8857
|
-
CatalogID?: string | null | undefined;
|
|
8858
|
-
ItemID?: string | null | undefined;
|
|
8859
|
-
ProductID?: string | null | undefined;
|
|
8860
|
-
}[] | null | undefined;
|
|
8861
|
-
EventTokens?: {
|
|
8862
|
-
Address?: {
|
|
8863
|
-
EntityID: string;
|
|
8864
|
-
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8865
|
-
} | null | undefined;
|
|
8866
|
-
Amount?: number | null | undefined;
|
|
8867
|
-
Source?: string | null | undefined;
|
|
8868
|
-
}[] | null | undefined;
|
|
8869
|
-
} | null | undefined;
|
|
8870
|
-
}[] | null | undefined;
|
|
8871
10242
|
} | null | undefined;
|
|
8872
10243
|
} | null | undefined;
|
|
8873
|
-
|
|
8874
|
-
|
|
10244
|
+
WriteGate?: {
|
|
10245
|
+
[x: string]: unknown;
|
|
10246
|
+
Segments?: string[] | null | undefined;
|
|
10247
|
+
MinPremiumTier?: number | null | undefined;
|
|
10248
|
+
RequiredPremiumIDs?: string[] | null | undefined;
|
|
10249
|
+
MinLevel?: number | null | undefined;
|
|
10250
|
+
MaxLevel?: number | null | undefined;
|
|
10251
|
+
Countries?: string[] | null | undefined;
|
|
10252
|
+
RegisteredWithinDays?: number | null | undefined;
|
|
10253
|
+
ActiveWithinDays?: number | null | undefined;
|
|
10254
|
+
Experiment?: {
|
|
10255
|
+
[x: string]: unknown;
|
|
10256
|
+
ExperimentID?: string | null | undefined;
|
|
10257
|
+
Variants?: string[] | null | undefined;
|
|
10258
|
+
} | null | undefined;
|
|
10259
|
+
Tutorial?: {
|
|
10260
|
+
[x: string]: unknown;
|
|
10261
|
+
FlowIDs?: string[] | null | undefined;
|
|
10262
|
+
Mode?: "Completed" | "Started" | "StepReached" | null | undefined;
|
|
10263
|
+
StepID?: string | null | undefined;
|
|
10264
|
+
Negate?: boolean | null | undefined;
|
|
10265
|
+
SkippedCountsAsCompleted?: boolean | null | undefined;
|
|
10266
|
+
} | null | undefined;
|
|
10267
|
+
Platforms?: ("Unknown" | "Web" | "Android" | "Ios")[] | null | undefined;
|
|
10268
|
+
} | null | undefined;
|
|
10269
|
+
PublicViews?: {
|
|
10270
|
+
ID: string;
|
|
10271
|
+
SortKey: string;
|
|
10272
|
+
PartitionField?: string | null | undefined;
|
|
10273
|
+
PageSize?: number | undefined;
|
|
10274
|
+
MaxItems?: number | undefined;
|
|
10275
|
+
PublishItems?: boolean | undefined;
|
|
10276
|
+
}[] | null | undefined;
|
|
10277
|
+
AnonymousSearch?: boolean | null | undefined;
|
|
10278
|
+
}>;
|
|
10279
|
+
Enabled?: boolean | undefined;
|
|
10280
|
+
}>>;
|
|
10281
|
+
get(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10282
|
+
Item: {
|
|
10283
|
+
Collection: string;
|
|
10284
|
+
ItemID: string;
|
|
10285
|
+
Data: Record<string, unknown>;
|
|
10286
|
+
Version: number;
|
|
10287
|
+
CreatedAt: string;
|
|
10288
|
+
UpdatedAt: string;
|
|
10289
|
+
OwnerUserID?: string | null | undefined;
|
|
10290
|
+
ExpireAt?: string | null | undefined;
|
|
10291
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10292
|
+
Files?: Record<string, {
|
|
10293
|
+
FileID: string;
|
|
10294
|
+
Url: string;
|
|
10295
|
+
Size: number;
|
|
10296
|
+
ContentType?: string | null | undefined;
|
|
10297
|
+
}> | null | undefined;
|
|
10298
|
+
};
|
|
10299
|
+
}>>;
|
|
10300
|
+
getMany(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10301
|
+
Items: {
|
|
10302
|
+
Collection: string;
|
|
10303
|
+
ItemID: string;
|
|
10304
|
+
Data: Record<string, unknown>;
|
|
10305
|
+
Version: number;
|
|
10306
|
+
CreatedAt: string;
|
|
10307
|
+
UpdatedAt: string;
|
|
10308
|
+
OwnerUserID?: string | null | undefined;
|
|
10309
|
+
ExpireAt?: string | null | undefined;
|
|
10310
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10311
|
+
Files?: Record<string, {
|
|
10312
|
+
FileID: string;
|
|
10313
|
+
Url: string;
|
|
10314
|
+
Size: number;
|
|
10315
|
+
ContentType?: string | null | undefined;
|
|
10316
|
+
}> | null | undefined;
|
|
10317
|
+
}[];
|
|
10318
|
+
Missing: string[];
|
|
10319
|
+
}>>;
|
|
10320
|
+
query(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10321
|
+
Items: {
|
|
10322
|
+
Collection: string;
|
|
10323
|
+
ItemID: string;
|
|
10324
|
+
Data: Record<string, unknown>;
|
|
10325
|
+
Version: number;
|
|
10326
|
+
CreatedAt: string;
|
|
10327
|
+
UpdatedAt: string;
|
|
10328
|
+
OwnerUserID?: string | null | undefined;
|
|
10329
|
+
ExpireAt?: string | null | undefined;
|
|
10330
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10331
|
+
Files?: Record<string, {
|
|
10332
|
+
FileID: string;
|
|
10333
|
+
Url: string;
|
|
10334
|
+
Size: number;
|
|
10335
|
+
ContentType?: string | null | undefined;
|
|
10336
|
+
}> | null | undefined;
|
|
10337
|
+
}[];
|
|
10338
|
+
NextCursor?: string | null | undefined;
|
|
10339
|
+
}>>;
|
|
10340
|
+
count(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10341
|
+
Count: number;
|
|
10342
|
+
Capped?: boolean | undefined;
|
|
10343
|
+
}>>;
|
|
10344
|
+
create(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10345
|
+
Item: {
|
|
10346
|
+
Collection: string;
|
|
10347
|
+
ItemID: string;
|
|
10348
|
+
Data: Record<string, unknown>;
|
|
10349
|
+
Version: number;
|
|
10350
|
+
CreatedAt: string;
|
|
10351
|
+
UpdatedAt: string;
|
|
10352
|
+
OwnerUserID?: string | null | undefined;
|
|
10353
|
+
ExpireAt?: string | null | undefined;
|
|
10354
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10355
|
+
Files?: Record<string, {
|
|
10356
|
+
FileID: string;
|
|
10357
|
+
Url: string;
|
|
10358
|
+
Size: number;
|
|
10359
|
+
ContentType?: string | null | undefined;
|
|
10360
|
+
}> | null | undefined;
|
|
10361
|
+
};
|
|
10362
|
+
AlreadyExists?: boolean | undefined;
|
|
10363
|
+
Economy?: {
|
|
8875
10364
|
Grant?: {
|
|
8876
10365
|
Standard?: {
|
|
8877
10366
|
Entries?: {
|
|
@@ -8963,96 +10452,52 @@ declare class WorkshopApi {
|
|
|
8963
10452
|
}[] | null | undefined;
|
|
8964
10453
|
} | null | undefined;
|
|
8965
10454
|
} | null | undefined;
|
|
8966
|
-
CommissionTaken?: {
|
|
8967
|
-
Entries?: {
|
|
8968
|
-
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8969
|
-
CurrencyID?: string | null | undefined;
|
|
8970
|
-
Amount?: number | null | undefined;
|
|
8971
|
-
AmountUsd?: number | null | undefined;
|
|
8972
|
-
CatalogID?: string | null | undefined;
|
|
8973
|
-
ItemID?: string | null | undefined;
|
|
8974
|
-
ProductID?: string | null | undefined;
|
|
8975
|
-
}[] | null | undefined;
|
|
8976
|
-
EventTokens?: {
|
|
8977
|
-
Address?: {
|
|
8978
|
-
EntityID: string;
|
|
8979
|
-
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8980
|
-
} | null | undefined;
|
|
8981
|
-
Amount?: number | null | undefined;
|
|
8982
|
-
Source?: string | null | undefined;
|
|
8983
|
-
}[] | null | undefined;
|
|
8984
|
-
} | null | undefined;
|
|
8985
|
-
}>>;
|
|
8986
|
-
getDownload(r: WorkshopRequest): Promise<OperationResult<{
|
|
8987
|
-
[x: string]: unknown;
|
|
8988
|
-
ContentID?: string | null | undefined;
|
|
8989
|
-
ContentType?: string | null | undefined;
|
|
8990
|
-
Revision?: number | null | undefined;
|
|
8991
|
-
AccessVia?: "Creator" | "Free" | "Holding" | "License" | null | undefined;
|
|
8992
|
-
Files?: {
|
|
8993
|
-
[x: string]: unknown;
|
|
8994
|
-
Role?: string | null | undefined;
|
|
8995
|
-
Url?: string | null | undefined;
|
|
8996
|
-
ContentType?: string | null | undefined;
|
|
8997
|
-
Size?: number | null | undefined;
|
|
8998
|
-
}[] | null | undefined;
|
|
8999
|
-
ThumbnailUrl?: string | null | undefined;
|
|
9000
|
-
ExpiresAt?: string | null | undefined;
|
|
9001
10455
|
}>>;
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
9006
|
-
|
|
9007
|
-
|
|
9008
|
-
|
|
9009
|
-
|
|
9010
|
-
|
|
9011
|
-
|
|
9012
|
-
|
|
9013
|
-
|
|
9014
|
-
|
|
9015
|
-
|
|
9016
|
-
|
|
9017
|
-
ProductID?: string | null | undefined;
|
|
9018
|
-
}[] | null | undefined;
|
|
9019
|
-
EventTokens?: {
|
|
9020
|
-
Address?: {
|
|
9021
|
-
EntityID: string;
|
|
9022
|
-
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9023
|
-
} | null | undefined;
|
|
9024
|
-
Amount?: number | null | undefined;
|
|
9025
|
-
Source?: string | null | undefined;
|
|
9026
|
-
}[] | null | undefined;
|
|
9027
|
-
} | null | undefined;
|
|
9028
|
-
AcquiredAt?: string | null | undefined;
|
|
9029
|
-
Content?: {
|
|
9030
|
-
[x: string]: unknown;
|
|
9031
|
-
ContentID?: string | null | undefined;
|
|
10456
|
+
update(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10457
|
+
Item: {
|
|
10458
|
+
Collection: string;
|
|
10459
|
+
ItemID: string;
|
|
10460
|
+
Data: Record<string, unknown>;
|
|
10461
|
+
Version: number;
|
|
10462
|
+
CreatedAt: string;
|
|
10463
|
+
UpdatedAt: string;
|
|
10464
|
+
OwnerUserID?: string | null | undefined;
|
|
10465
|
+
ExpireAt?: string | null | undefined;
|
|
10466
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10467
|
+
Files?: Record<string, {
|
|
10468
|
+
FileID: string;
|
|
10469
|
+
Url: string;
|
|
10470
|
+
Size: number;
|
|
9032
10471
|
ContentType?: string | null | undefined;
|
|
9033
|
-
|
|
9034
|
-
|
|
9035
|
-
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
10472
|
+
}> | null | undefined;
|
|
10473
|
+
};
|
|
10474
|
+
AlreadyExists?: boolean | undefined;
|
|
10475
|
+
Economy?: {
|
|
10476
|
+
Grant?: {
|
|
10477
|
+
Standard?: {
|
|
10478
|
+
Entries?: {
|
|
10479
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
10480
|
+
CurrencyID?: string | null | undefined;
|
|
10481
|
+
Amount?: number | null | undefined;
|
|
10482
|
+
AmountUsd?: number | null | undefined;
|
|
10483
|
+
CatalogID?: string | null | undefined;
|
|
10484
|
+
ItemID?: string | null | undefined;
|
|
10485
|
+
ProductID?: string | null | undefined;
|
|
10486
|
+
}[] | null | undefined;
|
|
10487
|
+
EventTokens?: {
|
|
10488
|
+
Address?: {
|
|
10489
|
+
EntityID: string;
|
|
10490
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10491
|
+
} | null | undefined;
|
|
10492
|
+
Amount?: number | null | undefined;
|
|
10493
|
+
Source?: string | null | undefined;
|
|
10494
|
+
}[] | null | undefined;
|
|
9044
10495
|
} | null | undefined;
|
|
9045
|
-
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
9051
|
-
Access?: {
|
|
9052
|
-
[x: string]: unknown;
|
|
9053
|
-
OptionID?: string | null | undefined;
|
|
9054
|
-
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
9055
|
-
Price?: {
|
|
10496
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
10497
|
+
PremiumTiers?: {
|
|
10498
|
+
MinPremiumTier?: number | null | undefined;
|
|
10499
|
+
RequiredPremiumID?: string | null | undefined;
|
|
10500
|
+
Resources?: {
|
|
9056
10501
|
Entries?: {
|
|
9057
10502
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9058
10503
|
CurrencyID?: string | null | undefined;
|
|
@@ -9071,81 +10516,61 @@ declare class WorkshopApi {
|
|
|
9071
10516
|
Source?: string | null | undefined;
|
|
9072
10517
|
}[] | null | undefined;
|
|
9073
10518
|
} | null | undefined;
|
|
9074
|
-
|
|
9075
|
-
|
|
9076
|
-
|
|
9077
|
-
|
|
10519
|
+
}[] | null | undefined;
|
|
10520
|
+
} | null | undefined;
|
|
10521
|
+
Consume?: {
|
|
10522
|
+
Standard?: {
|
|
10523
|
+
Entries?: {
|
|
10524
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
10525
|
+
CurrencyID?: string | null | undefined;
|
|
10526
|
+
Amount?: number | null | undefined;
|
|
10527
|
+
AmountUsd?: number | null | undefined;
|
|
10528
|
+
CatalogID?: string | null | undefined;
|
|
10529
|
+
ItemID?: string | null | undefined;
|
|
10530
|
+
ProductID?: string | null | undefined;
|
|
10531
|
+
}[] | null | undefined;
|
|
10532
|
+
EventTokens?: {
|
|
10533
|
+
Address?: {
|
|
10534
|
+
EntityID: string;
|
|
10535
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10536
|
+
} | null | undefined;
|
|
10537
|
+
Amount?: number | null | undefined;
|
|
10538
|
+
Source?: string | null | undefined;
|
|
10539
|
+
}[] | null | undefined;
|
|
10540
|
+
} | null | undefined;
|
|
10541
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
10542
|
+
PremiumTiers?: {
|
|
10543
|
+
MinPremiumTier?: number | null | undefined;
|
|
10544
|
+
RequiredPremiumID?: string | null | undefined;
|
|
10545
|
+
Resources?: {
|
|
10546
|
+
Entries?: {
|
|
9078
10547
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9079
10548
|
CurrencyID?: string | null | undefined;
|
|
10549
|
+
Amount?: number | null | undefined;
|
|
10550
|
+
AmountUsd?: number | null | undefined;
|
|
9080
10551
|
CatalogID?: string | null | undefined;
|
|
9081
10552
|
ItemID?: string | null | undefined;
|
|
10553
|
+
ProductID?: string | null | undefined;
|
|
10554
|
+
}[] | null | undefined;
|
|
10555
|
+
EventTokens?: {
|
|
10556
|
+
Address?: {
|
|
10557
|
+
EntityID: string;
|
|
10558
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10559
|
+
} | null | undefined;
|
|
9082
10560
|
Amount?: number | null | undefined;
|
|
9083
|
-
|
|
10561
|
+
Source?: string | null | undefined;
|
|
9084
10562
|
}[] | null | undefined;
|
|
9085
|
-
Match?: "All" | "Any" | null | undefined;
|
|
9086
|
-
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
9087
10563
|
} | null | undefined;
|
|
9088
10564
|
}[] | null | undefined;
|
|
9089
|
-
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
9090
|
-
ModerationNote?: string | null | undefined;
|
|
9091
|
-
Stats?: {
|
|
9092
|
-
[x: string]: unknown;
|
|
9093
|
-
Acquisitions?: number | null | undefined;
|
|
9094
|
-
Downloads?: number | null | undefined;
|
|
9095
|
-
Likes?: number | null | undefined;
|
|
9096
|
-
Favorites?: number | null | undefined;
|
|
9097
|
-
ReportCount?: number | null | undefined;
|
|
9098
|
-
} | null | undefined;
|
|
9099
|
-
Revision?: number | null | undefined;
|
|
9100
|
-
FileCount?: number | null | undefined;
|
|
9101
|
-
TotalBytes?: number | null | undefined;
|
|
9102
|
-
CreatedAt?: string | null | undefined;
|
|
9103
|
-
UpdatedAt?: string | null | undefined;
|
|
9104
|
-
PublishedAt?: string | null | undefined;
|
|
9105
|
-
IsMine?: boolean | null | undefined;
|
|
9106
|
-
Owned?: boolean | null | undefined;
|
|
9107
|
-
Liked?: boolean | null | undefined;
|
|
9108
|
-
Favorited?: boolean | null | undefined;
|
|
9109
10565
|
} | null | undefined;
|
|
9110
|
-
}
|
|
9111
|
-
ContinuationToken?: string | null | undefined;
|
|
9112
|
-
}>>;
|
|
9113
|
-
react(action: "Like" | "Unlike" | "Favorite" | "Unfavorite", r: WorkshopRequest): Promise<OperationResult<{
|
|
9114
|
-
[x: string]: unknown;
|
|
9115
|
-
ContentID?: string | null | undefined;
|
|
9116
|
-
Kind?: "Like" | "Favorite" | null | undefined;
|
|
9117
|
-
Active?: boolean | null | undefined;
|
|
9118
|
-
Count?: number | null | undefined;
|
|
10566
|
+
} | null | undefined;
|
|
9119
10567
|
}>>;
|
|
9120
|
-
|
|
9121
|
-
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9126
|
-
CreatorUserID?: string | null | undefined;
|
|
9127
|
-
IsOfficial?: boolean | null | undefined;
|
|
9128
|
-
CreatorPublicData?: {
|
|
9129
|
-
[x: string]: unknown;
|
|
9130
|
-
Username?: string | null | undefined;
|
|
9131
|
-
Country?: string | null | undefined;
|
|
9132
|
-
AvatarUrl?: string | null | undefined;
|
|
9133
|
-
Premium?: boolean | null | undefined;
|
|
9134
|
-
Level?: number | null | undefined;
|
|
9135
|
-
Power?: number | null | undefined;
|
|
9136
|
-
BoardRank?: number | null | undefined;
|
|
9137
|
-
} | null | undefined;
|
|
9138
|
-
Title?: string | null | undefined;
|
|
9139
|
-
Description?: string | null | undefined;
|
|
9140
|
-
Tags?: string[] | null | undefined;
|
|
9141
|
-
Metadata?: Record<string, string> | null | undefined;
|
|
9142
|
-
ThumbnailUrl?: string | null | undefined;
|
|
9143
|
-
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
9144
|
-
Access?: {
|
|
9145
|
-
[x: string]: unknown;
|
|
9146
|
-
OptionID?: string | null | undefined;
|
|
9147
|
-
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
9148
|
-
Price?: {
|
|
10568
|
+
delete(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10569
|
+
ItemID: string;
|
|
10570
|
+
Deleted: boolean;
|
|
10571
|
+
Economy?: {
|
|
10572
|
+
Grant?: {
|
|
10573
|
+
Standard?: {
|
|
9149
10574
|
Entries?: {
|
|
9150
10575
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9151
10576
|
CurrencyID?: string | null | undefined;
|
|
@@ -9164,55 +10589,160 @@ declare class WorkshopApi {
|
|
|
9164
10589
|
Source?: string | null | undefined;
|
|
9165
10590
|
}[] | null | undefined;
|
|
9166
10591
|
} | null | undefined;
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
|
|
9170
|
-
|
|
10592
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
10593
|
+
PremiumTiers?: {
|
|
10594
|
+
MinPremiumTier?: number | null | undefined;
|
|
10595
|
+
RequiredPremiumID?: string | null | undefined;
|
|
10596
|
+
Resources?: {
|
|
10597
|
+
Entries?: {
|
|
10598
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
10599
|
+
CurrencyID?: string | null | undefined;
|
|
10600
|
+
Amount?: number | null | undefined;
|
|
10601
|
+
AmountUsd?: number | null | undefined;
|
|
10602
|
+
CatalogID?: string | null | undefined;
|
|
10603
|
+
ItemID?: string | null | undefined;
|
|
10604
|
+
ProductID?: string | null | undefined;
|
|
10605
|
+
}[] | null | undefined;
|
|
10606
|
+
EventTokens?: {
|
|
10607
|
+
Address?: {
|
|
10608
|
+
EntityID: string;
|
|
10609
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10610
|
+
} | null | undefined;
|
|
10611
|
+
Amount?: number | null | undefined;
|
|
10612
|
+
Source?: string | null | undefined;
|
|
10613
|
+
}[] | null | undefined;
|
|
10614
|
+
} | null | undefined;
|
|
10615
|
+
}[] | null | undefined;
|
|
10616
|
+
} | null | undefined;
|
|
10617
|
+
Consume?: {
|
|
10618
|
+
Standard?: {
|
|
10619
|
+
Entries?: {
|
|
9171
10620
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9172
10621
|
CurrencyID?: string | null | undefined;
|
|
10622
|
+
Amount?: number | null | undefined;
|
|
10623
|
+
AmountUsd?: number | null | undefined;
|
|
9173
10624
|
CatalogID?: string | null | undefined;
|
|
9174
10625
|
ItemID?: string | null | undefined;
|
|
10626
|
+
ProductID?: string | null | undefined;
|
|
10627
|
+
}[] | null | undefined;
|
|
10628
|
+
EventTokens?: {
|
|
10629
|
+
Address?: {
|
|
10630
|
+
EntityID: string;
|
|
10631
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10632
|
+
} | null | undefined;
|
|
9175
10633
|
Amount?: number | null | undefined;
|
|
9176
|
-
|
|
10634
|
+
Source?: string | null | undefined;
|
|
9177
10635
|
}[] | null | undefined;
|
|
9178
|
-
Match?: "All" | "Any" | null | undefined;
|
|
9179
|
-
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
9180
10636
|
} | null | undefined;
|
|
9181
|
-
|
|
9182
|
-
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9190
|
-
|
|
10637
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
10638
|
+
PremiumTiers?: {
|
|
10639
|
+
MinPremiumTier?: number | null | undefined;
|
|
10640
|
+
RequiredPremiumID?: string | null | undefined;
|
|
10641
|
+
Resources?: {
|
|
10642
|
+
Entries?: {
|
|
10643
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
10644
|
+
CurrencyID?: string | null | undefined;
|
|
10645
|
+
Amount?: number | null | undefined;
|
|
10646
|
+
AmountUsd?: number | null | undefined;
|
|
10647
|
+
CatalogID?: string | null | undefined;
|
|
10648
|
+
ItemID?: string | null | undefined;
|
|
10649
|
+
ProductID?: string | null | undefined;
|
|
10650
|
+
}[] | null | undefined;
|
|
10651
|
+
EventTokens?: {
|
|
10652
|
+
Address?: {
|
|
10653
|
+
EntityID: string;
|
|
10654
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10655
|
+
} | null | undefined;
|
|
10656
|
+
Amount?: number | null | undefined;
|
|
10657
|
+
Source?: string | null | undefined;
|
|
10658
|
+
}[] | null | undefined;
|
|
10659
|
+
} | null | undefined;
|
|
10660
|
+
}[] | null | undefined;
|
|
9191
10661
|
} | null | undefined;
|
|
9192
|
-
|
|
9193
|
-
FileCount?: number | null | undefined;
|
|
9194
|
-
TotalBytes?: number | null | undefined;
|
|
9195
|
-
CreatedAt?: string | null | undefined;
|
|
9196
|
-
UpdatedAt?: string | null | undefined;
|
|
9197
|
-
PublishedAt?: string | null | undefined;
|
|
9198
|
-
IsMine?: boolean | null | undefined;
|
|
9199
|
-
Owned?: boolean | null | undefined;
|
|
9200
|
-
Liked?: boolean | null | undefined;
|
|
9201
|
-
Favorited?: boolean | null | undefined;
|
|
9202
|
-
}[] | null | undefined;
|
|
9203
|
-
ContinuationToken?: string | null | undefined;
|
|
10662
|
+
} | null | undefined;
|
|
9204
10663
|
}>>;
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
10664
|
+
batch(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10665
|
+
Results: {
|
|
10666
|
+
Op: string;
|
|
10667
|
+
Collection: string;
|
|
10668
|
+
ItemID: string;
|
|
10669
|
+
Item?: {
|
|
10670
|
+
Collection: string;
|
|
10671
|
+
ItemID: string;
|
|
10672
|
+
Data: Record<string, unknown>;
|
|
10673
|
+
Version: number;
|
|
10674
|
+
CreatedAt: string;
|
|
10675
|
+
UpdatedAt: string;
|
|
10676
|
+
OwnerUserID?: string | null | undefined;
|
|
10677
|
+
ExpireAt?: string | null | undefined;
|
|
10678
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10679
|
+
Files?: Record<string, {
|
|
10680
|
+
FileID: string;
|
|
10681
|
+
Url: string;
|
|
10682
|
+
Size: number;
|
|
10683
|
+
ContentType?: string | null | undefined;
|
|
10684
|
+
}> | null | undefined;
|
|
10685
|
+
} | null | undefined;
|
|
10686
|
+
Deleted?: boolean | undefined;
|
|
10687
|
+
}[];
|
|
9210
10688
|
}>>;
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
10689
|
+
getCounter(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10690
|
+
CounterID: string;
|
|
10691
|
+
Value: number;
|
|
10692
|
+
Group?: unknown;
|
|
10693
|
+
}>>;
|
|
10694
|
+
getMyRoles(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10695
|
+
Roles: string[];
|
|
10696
|
+
}>>;
|
|
10697
|
+
beginFileUpload(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10698
|
+
FileID: string;
|
|
10699
|
+
UploadUrl: string;
|
|
10700
|
+
ContentType: string;
|
|
10701
|
+
MaxBytes: number;
|
|
10702
|
+
ExpiresAt: string;
|
|
10703
|
+
}>>;
|
|
10704
|
+
publicGetViews(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10705
|
+
Views: Record<string, string>;
|
|
10706
|
+
ItemUrlTemplate?: string | null | undefined;
|
|
10707
|
+
}>>;
|
|
10708
|
+
publicGet(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10709
|
+
Item: {
|
|
10710
|
+
Collection: string;
|
|
10711
|
+
ItemID: string;
|
|
10712
|
+
Data: Record<string, unknown>;
|
|
10713
|
+
Version: number;
|
|
10714
|
+
CreatedAt: string;
|
|
10715
|
+
UpdatedAt: string;
|
|
10716
|
+
OwnerUserID?: string | null | undefined;
|
|
10717
|
+
ExpireAt?: string | null | undefined;
|
|
10718
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10719
|
+
Files?: Record<string, {
|
|
10720
|
+
FileID: string;
|
|
10721
|
+
Url: string;
|
|
10722
|
+
Size: number;
|
|
10723
|
+
ContentType?: string | null | undefined;
|
|
10724
|
+
}> | null | undefined;
|
|
10725
|
+
};
|
|
10726
|
+
}>>;
|
|
10727
|
+
publicQuery(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10728
|
+
Items: {
|
|
10729
|
+
Collection: string;
|
|
10730
|
+
ItemID: string;
|
|
10731
|
+
Data: Record<string, unknown>;
|
|
10732
|
+
Version: number;
|
|
10733
|
+
CreatedAt: string;
|
|
10734
|
+
UpdatedAt: string;
|
|
10735
|
+
OwnerUserID?: string | null | undefined;
|
|
10736
|
+
ExpireAt?: string | null | undefined;
|
|
10737
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10738
|
+
Files?: Record<string, {
|
|
10739
|
+
FileID: string;
|
|
10740
|
+
Url: string;
|
|
10741
|
+
Size: number;
|
|
10742
|
+
ContentType?: string | null | undefined;
|
|
10743
|
+
}> | null | undefined;
|
|
10744
|
+
}[];
|
|
10745
|
+
NextCursor?: string | null | undefined;
|
|
9216
10746
|
}>>;
|
|
9217
10747
|
}
|
|
9218
10748
|
|
|
@@ -9292,6 +10822,9 @@ declare class ClientContext {
|
|
|
9292
10822
|
marketplace: MarketplaceApi;
|
|
9293
10823
|
multiplayer: MultiplayerApi;
|
|
9294
10824
|
workshop: WorkshopApi;
|
|
10825
|
+
dataCollections: DataCollectionsApi;
|
|
10826
|
+
analytics: AnalyticsApi;
|
|
10827
|
+
experiment: ExperimentApi;
|
|
9295
10828
|
};
|
|
9296
10829
|
readonly auth: AuthenticationService;
|
|
9297
10830
|
readonly userService: UserService;
|
|
@@ -9331,6 +10864,11 @@ declare class ClientContext {
|
|
|
9331
10864
|
readonly marketplace: MarketplaceService;
|
|
9332
10865
|
readonly multiplayer: MultiplayerService;
|
|
9333
10866
|
readonly workshop: WorkshopService;
|
|
10867
|
+
/** Data collections: the title's own data structures (not `collection` — card sets). */
|
|
10868
|
+
readonly dataCollections: DataCollectionsService;
|
|
10869
|
+
/** Custom events; batched and delivered by itself — see the service docs. */
|
|
10870
|
+
readonly analytics: AnalyticsService;
|
|
10871
|
+
readonly experiments: ExperimentsService;
|
|
9334
10872
|
constructor(config: IDosGamesClientConfig);
|
|
9335
10873
|
/** Authed base request: UserID + ticket + buildKey + webAppLink + a fresh idempotency key. */
|
|
9336
10874
|
buildAuthedBaseRequest(): BaseRequest;
|
|
@@ -9363,6 +10901,17 @@ declare class IDosGamesClient {
|
|
|
9363
10901
|
get quest(): QuestService;
|
|
9364
10902
|
/** Onboarding flows: start, advance, skip and claim tutorial steps. */
|
|
9365
10903
|
get tutorial(): TutorialService;
|
|
10904
|
+
/**
|
|
10905
|
+
* Custom events, Firebase-style: `analytics.logEvent("level_complete", { level: 5 })`.
|
|
10906
|
+
* Batched (25 events / 30 s / tab hidden) — every batch is one billed call, so never flush per
|
|
10907
|
+
* event. Sends nothing while the title has event analytics switched off.
|
|
10908
|
+
*/
|
|
10909
|
+
get analytics(): AnalyticsService;
|
|
10910
|
+
/**
|
|
10911
|
+
* A/B variants in effect for this player and their `Params`. Call `experiments.load()` once
|
|
10912
|
+
* per session; content gated by a variant is already resolved by the server.
|
|
10913
|
+
*/
|
|
10914
|
+
get experiments(): ExperimentsService;
|
|
9366
10915
|
/**
|
|
9367
10916
|
* Creator reward programme: state, earnings and claiming.
|
|
9368
10917
|
*
|
|
@@ -9431,6 +10980,13 @@ declare class IDosGamesClient {
|
|
|
9431
10980
|
* the price you showed, so a changed price is refused instead of charged.
|
|
9432
10981
|
*/
|
|
9433
10982
|
get workshop(): WorkshopService;
|
|
10983
|
+
/**
|
|
10984
|
+
* Data collections: the title's own data structures (guilds, auctions, orders, catalogs, articles,
|
|
10985
|
+
* saved levels…) with declared fields, searchable fields, sort keys and access rules — for what no
|
|
10986
|
+
* ready module covers. ⚠ Not `collection` (collectible card sets). Public collections are readable
|
|
10987
|
+
* without login via `readPublicView` (CDN) and `searchPublic`.
|
|
10988
|
+
*/
|
|
10989
|
+
get dataCollections(): DataCollectionsService;
|
|
9434
10990
|
/** Local cache (config + user state). Read here; react via `on(...)`. */
|
|
9435
10991
|
get data(): IDosGamesData;
|
|
9436
10992
|
get platform(): PlatformAdapter;
|
|
@@ -9548,6 +11104,23 @@ declare function isCurveConfigured(spec: ScalarCurveSpec | null | undefined): bo
|
|
|
9548
11104
|
*/
|
|
9549
11105
|
declare function roundAmount(value: number): number;
|
|
9550
11106
|
|
|
11107
|
+
/** What the user agent says about the device. */
|
|
11108
|
+
interface DeviceDescription {
|
|
11109
|
+
osName?: string;
|
|
11110
|
+
osVersion?: string;
|
|
11111
|
+
deviceCategory?: "phone" | "tablet" | "desktop";
|
|
11112
|
+
deviceModel?: string;
|
|
11113
|
+
}
|
|
11114
|
+
/**
|
|
11115
|
+
* Reads the OS, its version, the device class and — where the browser still tells — the model
|
|
11116
|
+
* from a user-agent string. Pure, so it is tested with fixed strings.
|
|
11117
|
+
*
|
|
11118
|
+
* `maxTouchPoints` exists for one case: iPadOS in its default "desktop" mode reports itself as a
|
|
11119
|
+
* Mac, and a touch screen is the only thing that gives it away. Counting those iPads as Macs would
|
|
11120
|
+
* put every tablet player of a title into the desktop slice.
|
|
11121
|
+
*/
|
|
11122
|
+
declare function describeUserAgent(userAgent: string, maxTouchPoints?: number): DeviceDescription;
|
|
11123
|
+
|
|
9551
11124
|
/** enum AdType — ad format. */
|
|
9552
11125
|
declare const AdType: {
|
|
9553
11126
|
readonly Banner: "Banner";
|
|
@@ -9634,7 +11207,7 @@ type BroadcastStatus = (typeof BroadcastStatus)[keyof typeof BroadcastStatus];
|
|
|
9634
11207
|
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; };
|
|
9635
11208
|
type MailboxSegmentDefinition = { SegmentID?: null | string; DisplayName?: null | string; Gate?: null | SegmentGate; [key: string]: unknown; };
|
|
9636
11209
|
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; };
|
|
9637
|
-
type MailboxMessageDocument = { MessageID?: null | string; TitleID?: null | string; RecipientUserID?: null | string; MessageTypeID?: null | string; Source?: null | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season' | 'Referral' | 'Collection' | 'Admin' | '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' | '
|
|
11210
|
+
type MailboxMessageDocument = { MessageID?: null | string; TitleID?: null | string; RecipientUserID?: null | string; MessageTypeID?: null | string; Source?: null | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season' | 'Referral' | 'Collection' | 'Admin' | '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' | 'Read' | 'Deleted' | 'Unread'; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; ReadAtUtc?: null | string; BroadcastID?: null | string; Version?: null | number; [key: string]: unknown; };
|
|
9638
11211
|
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; };
|
|
9639
11212
|
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; };
|
|
9640
11213
|
|
|
@@ -9680,4 +11253,4 @@ declare class LocalizationCache {
|
|
|
9680
11253
|
private versionsKey;
|
|
9681
11254
|
}
|
|
9682
11255
|
|
|
9683
|
-
export { AIAction, type AIAudioInput, type AIChatMessage, AIErrorCode, type AIGenerateOptions, type AIGenerationAssetView, type AIGenerationErrorView, type AIGenerationListView, AIGenerationStatus, type AIGenerationView, type AIHistoryQuery, type AIImageEditInput, type AIImageInput, type AIInputImage, AIModality, type AIMusicInput, type AIPublicDefinitions, type AIPublicFeature, type AIRequest, AIService, type AITextInput, type AIThreeDInput, type AIVideoInput, type AIWaitOptions, type AcceptTradeOfferResponse, AcquisitionCapture, type ActivateReferralCodeResponse, type ActivateTimedBoostResponse, type ActiveBoostWindowInfo, type ActiveCoopEventInfo, type ActiveDealSlotInfo, type ActiveEventInfo, type ActiveSeasonInfo, type ActiveTimedBoost, type AdConsentSettings, type AdConsentState, type AdCreditsData, type AdDailyData, type AdFraudFlags, type AdFrequencyCappingSettings, type AdPendingRequest, type AdPlacementDefinition, type AdPlacementUserState, type AdProviderDefinition, AdProviderKind, type AdSessionData, AdType, type AdUnitConfig, type AdVerificationSettings, type AddQuestProgressResponse, type AdvertisingDefinitions, type AppOpenSettings, AttackOutcome, type AttackResponse, type AttributionInput, type AuthContext, AuthType, AuthenticationAction, type AuthenticationRequest, AuthenticationService, BannerPosition, type BannerSettings, type BaseRequest, type BatchDeleteUserCustomDataResponse, type BatchGetPublicUserCustomDataResponse, type BatchItemResult, type BatchResponse, type BatchSetUserCustomDataResponse, type BattleResult, type BattleStepConfig, type BlockchainAccountSafetyPolicy, BlockchainAction, type BlockchainConfigResponse, type BlockchainDefinitions, type BlockchainNetworkDefinition, BlockchainNetworkType, type BlockchainNftCollectionBinding, BlockchainOperationCategory, type BlockchainRequest, BlockchainService, type BlockchainStats, type BlockchainSystemState, BlockchainTransactionStatus, BlockchainTransactionType, type BoardLoopDefinition, type BoardLoopState, type BoardPendingInteraction, type BoardRollResponse, BodyPart, type BoostTriggerCounter, BoostWindowKind, BroadcastStatus, type BuildResponse, type BuildingState, type CancelMatchResponse, type CancelTradeOfferResponse, type ChangeUsernameResponse, CharacterAction, type CharacterClassification, type CharacterDefinition, type CharacterDefinitions, type CharacterEquipment, type CharacterEquipmentSlot, type CharacterIdentity, type CharacterLevelRef, type CharacterModel, type CharacterRankLadder, type CharacterRequest, CharacterService, type CharacterSkinDefinition, type CharacterSkinItem, type CharacterSkinRequirements, type CharacterSkinSale, type CharacterSkinView, type CharacterSkins, type CharacterSkinsView, type CharacterStatRef, type CharacterUnequipResult, type CharacterUnlock, ChatAction, ChatAuthorType, ChatBlockedTermAction, type ChatChannelAvailability, type ChatChannelDefinition, type ChatChannelIdentity, type ChatChannelPresetBindings, type ChatChannelRetention, ChatChannelType, type ChatChannelView, type ChatChannelWriteRules, type ChatChannelsResponse, type ChatConversationView, type ChatConversationsResponse, type ChatCursor, type ChatDefinitions, ChatDirectAudience, type ChatDirectChannelResponse, type ChatHistoryResponse, type ChatMessageView, type ChatModerationSettings, ChatPartitioning, type ChatPollResponse, type ChatPollingSettings, type ChatPresetRegistry, ChatReportReason, type ChatReportResponse, type ChatRequest, type ChatRoomUpdate, type ChatSendResponse, type ChatStateResponse, CheckoutService, type ClaimAllRewardsBatchResponse, type ClaimAllRewardsResult, type ClaimComebackRewardResponse, type ClaimCycleRewardResponse, type ClaimCycleRewardsBatchResponse, type ClaimDailyRewardResponse, type ClaimDealMilestoneResponse, type ClaimDealMilestonesBatchResponse, type ClaimGrandPrizeResponse, type ClaimGroupCompletionRewardResponse, type ClaimInviteRewardResponse, type ClaimInviteRewardsBatchResponse, type ClaimLeaderboardMilestoneResponse, type ClaimLeaderboardMilestonesBatchResponse, type ClaimMilestoneRewardResponse, type ClaimMilestoneRewardsBatchResponse, type ClaimMilestonesBatchResponse, type ClaimQuestRewardResponse, type ClaimQuestRewardsBatchResponse, type ClaimRewardResponse, type ClaimSetRewardResponse, type ClaimSetRewardsBatchResponse, type ClaimTierRewardResponse, type ClaimTierRewardsBatchResponse, ClientPlatform, type ClientState, CloudCodeAction, CloudCodeErrorCode, type CloudCodeLogEntry, CloudCodeLogLevel, type CloudCodeRequest, CloudCodeRevisionSelection, CloudCodeService, type CodeExecutionError, type CollectIdleAccrualResponse, CollectionAction, type CollectionDefinitions, type CollectionGlobalSettings, type CollectionRequest, CollectionService, type CollectionSetRef, type CollectionTradeOfferDocument, CommissionSink, type CommunityAccrualLine, type CommunityCampaignSummary, type CommunityChestClaimResponse, type CommunityChestGroupDocument, type CommunityChestGroupStateResponse, type CommunityChestHistoryEntry, type CommunityChestLeaveResponse, type CommunityChestMember, CommunityChestMemberStatus, type CommunityChestSharedState, CommunityChestStatus, type CommunityChestUserStateResponse, type CommunityClaimResponse, CommunityCreatorStatus, type CommunityEarningsLine, type CommunityEarningsResponse, type CommunityEligibilityCondition, type CommunityEligibilityResponse, CommunityMarketingAction, type CommunityMarketingRequest, type CommunityMarketingState, CommunityMetricKind, CommunityParticipationMode, CommunityPayoutCurrencyKind, type CommunityPayoutSummary, type CommunitySolanaWithdrawalSignature, type CommunityWithdrawalResponse, type ConfirmWithdrawalResponse, type ConversionDailyCounter, ConversionRateMode, type ConversionTarget, type ConvertResponse, type CoopBuildObjectsMemberState, type CoopBuildObjectsState, type CoopClaimRewardResponse, CoopEventAction, type CoopEventDefinitions, type CoopEventRequest, CoopEventService, type CoopGroupDocument, type CoopGroupMember, type CoopGroupStateResponse, CoopGroupStatus, type CoopLeaveGroupResponse, CoopMemberStatus, type CoopPartnerObjectState, type CoopSpinResponse, type CoopUserStateResponse, CraftAction, type CraftBurnedInstance, type CraftDefinition, type CraftDefinitions, type CraftDefinitionsResponse, CraftInputSelectionMode, CraftOutputLevelMode, CraftOutputLevelOverflow, type CraftRequest, type CraftResponse, CraftService, type CraftSingleResult, CraftType, type CreateMatchResponse, type CryptoConvertResponse, type CryptoCurrencyDefinition, type CryptoCurrencyPermissions, type CryptoLimits, type CryptoNetworkBinding, type CryptoShortfall, CurrencyAction, type CurrencyAudit, type CurrencyConversion, type CurrencyDefinitions, type CurrencyRequest, CurrencyService, CurrencyStatus, CurrencyType, CurveInterpolation, type CurvePoint, CurveShape, CustomDataBucket, CustomDataValueType, CustomDataWriter, type CyclicSchedule, DEFAULT_BASE_URL, type DailyUsageRecord, type DealAvailability, DealComparisonOperator, type DealIdentity, type DealMilestoneBlock, type DealMilestoneProgressInfo, type DealNodeActionDefinition, type DealNodeDefinition, type DealNodePresetBindings, type DealNodePricing, type DealNodeReward, DealNodeRuntimeStatus, DealNodeType, type DealNodeUnlockRules, DealOfferAction, DealOfferActivationStatus, type DealOfferDefinition, type DealOfferDefinitions, type DealOfferGraph, type DealOfferPresetBindings, type DealOfferPresetRegistry, type DealOfferRequest, DealOfferService, type DealOffersDefinitionResponse, type DealRewardedVideoActionDefinition, type DealSlotBehaviour, type DealSlotDefinition, type DealSlotPresetBindings, type DealSlotQueueEntry, type DealTrackChange, type DealTrackDefinition, type DealTrackRequirement, type DeclineTradeOfferResponse, type DepositNFTResponse, type DepositTokenResponse, type DirectMessageSettings, type DismissDealResponse, type DonationResponse, EnvelopeType, type EquipItemsResponse, type EquipSkinResponse, type EquipSlotPair, type EquipmentPreset, type EquipmentSlot, type EquippedItem, type EventMap, type EventMilestoneClaimResponse, type EventTokenAddress, type EventTokenConversion, type EventTokenDefinition, type EventTokenGrantResponse, type EventTokenMilestoneData, type EventTokenOperation, type EventTokenSpendResponse, EventTokenType, type ExecuteCloudCodeResponse, type ExecuteNodeResponse, type ExperimentDefinition, type ExperimentDefinitions, type ExperimentVariant, type ExperimentVariantCondition, type FodderConsumedEntry, FodderSelectionMode, FodderValuationMode, type FriendActionResponse, FriendActionStatus, type FriendPublicProfile, type FriendsListResponse, GameLoopAction, type GameLoopDefinitions, type GameLoopRequest, GameLoopService, type GetActiveBoostWindowsResponse, type GetActiveDealsResponse, type GetActiveEventsResponse, type GetActiveTimedBoostsResponse, type GetCharacterSkinsResponse, type GetCharactersResponse, type GetLeaderboardResponse, type GetLeaderboardsBatchResponse, type GetMatchDefinitionsResponse, type GetMilestoneRewardMultiplierResponse, type GetMyProgressResponse, type GetMyUserCustomDataResponse, type GetOverviewBatchResponse, type GetProgressBatchResponse, type GetPublicTitleDataResponse, type GetPublicUserCustomDataResponse, type GetStorefrontResponse, type GetTradeOffersResponse, type GetUserQuestStateResponse, type GetUserTutorialStateResponse, type GrantStatusTokensResponse, type GrantTokensBatchResponse, type GrantedCollectible, type HeistCell, IDosGamesClient, type IDosGamesClientConfig, IDosGamesData, type IDosGamesSettings, type IapProductDefinition, type IapProductPurchaseState, type IapProductRules, IapProductType, IapPurchaseStatus, type IapStore, IapStore$1 as IapStoreValues, type IceServer, type InstantBattleDefinitions, type InstantBattleResponse, type InstantBattleRule, type InterstitialSettings, type InventoryDelta, ItemAction, type ItemCatalog, type ItemDefinition, type ItemDefinitions, type ItemEquipment, type ItemMetadata, type ItemRequest, ItemService, type ItemStats, type ItemTotals, type ItemUpgrade, type ItemUpgradeFodder, type ItemUpgradeRef, type JsonValue, KeyValueStorage, KycStatus, KycTier, LeaderboardAction, type LeaderboardDefinitions, type LeaderboardMilestoneRef, type LeaderboardOverview, type LeaderboardRequest, type LeaderboardScoreRef, LeaderboardService, type LeaderboardUserEntry, type LeaveRoomResponse, type LevelsPreset, type LimitSpec, type LinkedWalletInfo, type Listener, LocalizationAction, LocalizationCache, type LocalizationDefinitions, type LocalizationLocaleDefinition, type LocalizationLocaleInfo, type LocalizationManifestResponse, LocalizationMissingKeyMode, type LocalizationParams, type LocalizationRequest, LocalizationService, type LocalizationState, type LocalizationTableRef, type LocalizationTableResponse, LootboxAction, type LootboxAmountRange, type LootboxDefinitions, type LootboxDefinitionsResponse, type LootboxGlobalSettings, type LootboxOpenResponse, type LootboxPityRule, type LootboxPityTriggerResponse, type LootboxRequest, type LootboxRewardRoll, type LootboxRewardSlot, LootboxService, type LootboxSupplyRule, type MailboxBroadcastDocument, type MailboxDefinition, type MailboxMessageDocument, MailboxMessageSource, MailboxMessageStatus, type MailboxMessageTypeDefinition, type MailboxSegmentDefinition, MarketGoodsType, MarketOfferStatus, MarketOfferType, MarketplaceAction, type MarketplaceActionCounter, type MarketplaceAuctionSettings, type MarketplaceAuctionState, type MarketplaceBidRefund, type MarketplaceBrowseResponse, type MarketplaceBuyOrderSettings, type MarketplaceCommissionOverride, type MarketplaceCommissionPolicy, type MarketplaceCreateOfferResponse, type MarketplaceDefinitions, type MarketplaceDirectTradeSettings, type MarketplaceGetDefinitionsResponse, type MarketplaceGroupedOfferView, type MarketplaceGroupedOffersResponse, type MarketplaceHistoryEntryView, type MarketplaceHistoryResponse, type MarketplaceListingSettings, type MarketplaceMatchingSettings, type MarketplaceMyStateResponse, type MarketplaceOfferResponse, type MarketplaceOfferView, type MarketplacePlaceBidResponse, type MarketplacePricePolicy, type MarketplaceRequest, MarketplaceService, type MarketplaceSettlementResponse, type MarketplaceTradabilityPolicy, MatchAction, type MatchDefinitions, type MatchRequest, MatchService, MatchStatus, type MatchesPageResponse, type MilestoneClaimEntry, type MilestoneClaimRef, type MilestoneDefinition, MultiplayerAction, MultiplayerChatMode, type MultiplayerDefinitions, type MultiplayerRequest, MultiplayerService, type MultiplayerSystemState, MultiplayerTopology, type NFTModel, type NFTNetworkBinding, type NFTTransactionDocument, type NFTWithdrawalResponse, type NftCollectionStats, type NftStatsContainer, OFFER_NOT_IN_ROTATION, type OpenCollectionChestResponse, type OpenPackResponse, type OperationFailure, type OperationFailureReason, type OperationResult, type OperationSuccess, type PackOpenResult, type PaymentProof, type PaymentRequirement, type PendingWithdrawalRef, PlatformAdapter, type PlatformBlockchainState, type PlatformLoginResponse, type PlayerEconomyTuningState, PlaytimeTracker, type PollResponse, PremiumAction, type PremiumAdReduction, type PremiumDefinitions, type PremiumDefinitionsResponse, type PremiumPurchaseResponse, type PremiumRequest, PremiumService, type PremiumStateResponse, type PremiumSubscription, type PriceOption, type PriceOptions, type PublishResponse, PurchaseAction, type PurchaseBatchResponse, type PurchaseDefinitions, type PurchaseReceiptRef, type PurchaseRequest, PurchaseService, type PurchaseValidationBatchResponse, type PurchaseValidationResponse, PushAction, type PushConfigResponse, PushPermissionState, type PushRequest, type PushSubscribeOptions, type PushSubscribeResult, type PushSubscriptionListResponse, type PushSubscriptionView, PushTopic, type PushTopicView, PushTransport, type PvPMatch, QuestAction, type QuestAvailability, type QuestClaimRef, type QuestCycleDefinition, type QuestDefinition, type QuestDefinitions, type QuestGroupCompletionDefinition, type QuestIdentity, type QuestLinking, type QuestObjectiveDefinition, QuestObjectiveSource, type QuestPhaseDefinition, type QuestPointsTrackView, QuestPrerequisiteMode, type QuestPresetBindings, type QuestPresetRegistry, type QuestProgressUpdate, type QuestRequest, type QuestReward, QuestService, QuestStatus, RaidMode, type RaidResponse, type RealtimeEnvelope, type RechargeConfig, type RecordShowResponse, ReferralAction, type ReferralDefinitions, type ReferralDefinitionsResponse, type ReferralInviteRewardState, type ReferralRequest, ReferralService, type RelativeWindow, type ResourceBundle, type ResourceConsume, type ResourceDualPartyResult, type ResourceEntry, ResourceEntryType, type ResourceGrant, type ResourceOperation, type ResourceTransferResult, type RetryWithdrawalResponse, RewardAction, type RewardDefinitions, type RewardDefinitionsResponse, type RewardRequest, RewardService, type RewardedVideoSettings, type RollActionData, type RoomListItem, type RoomMemberView, type RoomSnapshotResponse, RoomVisibility, type RoomsPageResponse, SKIN_ALREADY_OWNED, SKIN_SLOT, type ScalarCurveSpec, type ScheduleChain, type ScheduleChainPhase, ScheduleMode, type ScheduleSpec, type ScheduledWindow, type SdkEvents, SeasonAction, type SeasonDefinitions, type SeasonRequest, SeasonService, type SeasonTierRewardBundle, type SeasonTierRewardMultiplier, type SeasonTierRewardSet, type SegmentGate, type SendTradeOfferResponse, type SetUserCustomDataResponse, type SettingsInput, SocialAction, type SocialCounters, type SocialRequest, SocialService, type SocialTimelineEvent, type SolanaWithdrawalSignature, type SpecialApplyMultiplierResponse, SpecialChoiceMode, type SpecialChooseResponse, type SpecialClaimResponse, type SpecialModeOfferData, type SpecialPendingState, type SpendRewardDefinition, type SpendTokensBatchResponse, type SsoCodeFromUrl, type StatDefinition, type StatRequirement, type StatsPreset, StoreAction, type StoreAvailability, type StoreDefinition, type StoreDefinitions, type StoreIdentity, type StoreLayout, type StoreOfferAvailability, type StoreOfferDefinition, type StoreOfferPricing, type StoreOfferReward, type StoreOfferStateView, type StorePurchaseRef, type StorePurchaseResponse, type StorePurchaseState, type StoreRequest, StoreRotationMode, type StoreRotationPurchaseState, type StoreSectionDefinition, StoreService, type StoreSlotDefinition, type StoreSlotPoolEntry, type StoreSlotRotation, StoreType, type StoredLocalizationTable, type StorefrontOfferView, type StorefrontPriceOptionView, type StorefrontSectionView, type StorefrontSlotView, type StorefrontView, type SubmitScoreResponse, type SubmitScoresBatchResponse, type SuccessResponse, TimedBoostAction, type TimedBoostDefinitions, type TimedBoostRequest, TimedBoostService, TimedBoostStackingPolicy, TimedEventAction, type TimedEventDefinitions, type TimedEventGrantRef, type TimedEventInstanceRef, type TimedEventMilestoneRef, type TimedEventRequest, TimedEventService, type TimedEventSpendRef, TimelineEventType, type TimelineResponse, TitleAction, TitleConfig, TitleCustomDataAction, type TitleCustomDataDefinitions, type TitleCustomDataKeyDefinition, type TitleCustomDataRecord, type TitleCustomDataRequest, TitleCustomDataService, TitleDataBucket, TitleDataScope, type TitlePublicConfigurationModel, type TitleRequest, TitleService, type TokenCurrencyStats, type TokenStatsContainer, type TokenTransactionDocument, type TokenWithdrawalResponse, TradeOfferStatus, TransactionDirection, type TransactionHistoryResponse, type TriggerContext, type TriggerSource, TutorialAction, type TutorialAvailability, type TutorialBlockingPolicy, TutorialBoardAction, type TutorialBoardScript, type TutorialClaimResponse, type TutorialDefinitions, type TutorialFlowBatchResponse, type TutorialFlowDefinition, type TutorialFlowPolicy, type TutorialFlowResponse, TutorialFlowStatus, type TutorialFlowView, type TutorialGateCondition, TutorialGateMode, type TutorialGlobalSettings, type TutorialIdentity, type TutorialPresetBindings, type TutorialPresetRegistry, type TutorialRequest, TutorialRestartPolicy, type TutorialReward, TutorialScriptModule, type TutorialScriptedOutcome, type TutorialStepCompletion, TutorialStepCompletionMode, type TutorialStepDefinition, type TutorialStepEffects, type TutorialStepIdentity, type TutorialStepPolicy, type TutorialStepProgress, TypedEmitter, type UnequipAllCharactersResponse, type UnequipItemsResponse, type UnequipSkinResponse, type UnlockCharacterResponse, type UnlockCharactersBatchResponse, type UnlockSkinResponse, type UnstackableItemInstanceState, type Unsubscribe, type UpdateMatchResponse, type UpgradeCharacterLevelResponse, type UpgradeCharacterLevelsBatchResponse, type UpgradeItemLevelResponse, type UpgradeLevelsBatchResponse, type UpgradeLevelsOptions, type UpgradeStatLevelResponse, type UpgradeStatLevelsBatchResponse, type UsagePeriodRecord, type UsageReactivationEvent, type UsageTimeStats, type UseCollectibleJokerResponse, UserAction, type UserAdvertisingState, type UserBlockchainState, type UserBlockchainStateResponse, type UserCharactersState, type UserChatChannelState, type UserChatLimitState, type UserChatState, type UserClaimRewardState, type UserCollectionState, type UserComebackState, type UserCommunityChestState, type UserCoopEventState, type UserCryptoComplianceCounters, type UserCryptoCurrencyState, UserCustomDataAction, type UserCustomDataBatchDeleteItem, type UserCustomDataBatchSetItem, type UserCustomDataDefinitions, type UserCustomDataKeyDefinition, type UserCustomDataRecord, type UserCustomDataRequest, UserCustomDataService, type UserCustomDataState, type UserDailyCalendarState, type UserDailyCounters, UserData, type UserDealNodeLifetimeCounts, type UserDealNodeState, type UserDealOfferActivationState, type UserDealOfferHistory, type UserDealOffersState, type UserDealOffersStateResponse, type UserDealSlotState, type UserDealTrackState, type UserDepositAddress, type UserEventTokenProgress, type UserEventTokensState, type UserGameLoopsState, type UserIdleAccrualState, type UserInventoryState, type UserKycState, type UserLeaderboardProgress, type UserLeaderboardsState, type UserLootboxPityCounter, type UserLootboxState, type UserMailboxState, type UserMarketplaceState, type UserMatchCreationLimitState, type UserMatchState, type UserPremiumState, type UserPublicDataModel, type UserPurchaseState, type UserQuestCycleState, type UserQuestObjectiveProgress, type UserQuestProgress, type UserQuestState, type UserReferralState, type UserReferralStateResponse, type UserRequest, type UserRewardState, type UserRewardsStateResponse, type UserSeasonState, type UserSeasonStateResponse, type UserSeasonsState, UserService, type UserSocialState, type UserState, type UserStateSlice, type UserStateVersions, type UserStoreState, type UserTimedBoostsState, type UserTimedEventStateResponse, type UserTutorialFlowState, type UserTutorialState, type UserTutorialStepState, type UserUsageState, type UserVirtualCurrencyState, type VirtualCurrencyDefinition, type VirtualCurrencyEconomy, type VirtualCurrencyPermissions, type WalletChallengeResponse, WalletLinkType, type WithdrawalSignatureResponse, type WithdrawalSplit, WorkshopAccessMode, type WorkshopAccessOption, type WorkshopAccessOptionInput, type WorkshopAccessState, WorkshopAccessVia, type WorkshopAcquireResponse, WorkshopAction, type WorkshopBeginUploadResponse, type WorkshopBrowseQuery, type WorkshopBrowseResponse, type WorkshopCollection, type WorkshopCollectionResponse, type WorkshopCollectionView, type WorkshopContentMutationResponse, type WorkshopContentResponse, type WorkshopContentStats, WorkshopContentStatus, type WorkshopContentType, type WorkshopContentView, type WorkshopCreatorProfileResponse, type WorkshopDefinitions, type WorkshopDefinitionsResponse, type WorkshopDownloadFile, type WorkshopDownloadResponse, type WorkshopDownloadedFile, type WorkshopFileData, type WorkshopFileDeclaration, type WorkshopFileRole, type WorkshopFollowResponse, WorkshopHoldingMatch, WorkshopHoldingMode, type WorkshopHoldingPolicy, type WorkshopHoldingRequirement, type WorkshopHoldingRule, WorkshopLicenseSource, type WorkshopLicenseView, type WorkshopLicensesResponse, type WorkshopLimits, type WorkshopModerationSettings, type WorkshopPublishFile, type WorkshopPublishInput, type WorkshopPublishResponse, WorkshopReactionKind, type WorkshopReactionResponse, WorkshopReportReason, type WorkshopReportResponse, type WorkshopRequest, WorkshopService, WorkshopSort, type WorkshopUploadTarget, WorkshopVisibility, beginSsoRedirect, claimedMilestoneIDs, createIDosGamesClient, curveMultiplier, evaluateCurve, grantedPremiumTiers, isAIGenerationTerminal, isCurveConfigured, isFail, isMilestoneClaimed, isOk, isReservedSlot, normalizeBlockchainCategory, parseAIErrorCode, readSsoCodeFromUrl, roundAmount, zPaymentProof, zPriceOption, zPriceOptions };
|
|
11256
|
+
export { AIAction, type AIAudioInput, type AIChatMessage, AIErrorCode, type AIGenerateOptions, type AIGenerationAssetView, type AIGenerationErrorView, type AIGenerationListView, AIGenerationStatus, type AIGenerationView, type AIHistoryQuery, type AIImageEditInput, type AIImageInput, type AIInputImage, AIModality, type AIMusicInput, type AIPublicDefinitions, type AIPublicFeature, type AIRequest, AIService, type AITextInput, type AIThreeDInput, type AIVideoInput, type AIWaitOptions, type AcceptTradeOfferResponse, AcquisitionCapture, type ActivateReferralCodeResponse, type ActivateTimedBoostResponse, type ActiveBoostWindowInfo, type ActiveCoopEventInfo, type ActiveDealSlotInfo, type ActiveEventInfo, type ActiveSeasonInfo, type ActiveTimedBoost, type AdConsentSettings, type AdConsentState, type AdCreditsData, type AdDailyData, type AdFraudFlags, type AdFrequencyCappingSettings, type AdPendingRequest, type AdPlacementDefinition, type AdPlacementUserState, type AdProviderDefinition, AdProviderKind, type AdSessionData, AdType, type AdUnitConfig, type AdVerificationSettings, type AddQuestProgressResponse, type AdvertisingDefinitions, AnalyticsAction, type AnalyticsClientContext, type AnalyticsDefinitions, type AnalyticsDimensionDefinition, AnalyticsDropReason, type AnalyticsEventDefinition, type AnalyticsEventInput, AnalyticsEventNaming, AnalyticsLimits, type AnalyticsParamValue, type AnalyticsParams, type AnalyticsRequest, AnalyticsService, type AppOpenSettings, AttackOutcome, type AttackResponse, type AttributionInput, type AuthContext, AuthType, AuthenticationAction, type AuthenticationRequest, AuthenticationService, AutomaticEvent, BannerPosition, type BannerSettings, type BaseRequest, type BatchDeleteUserCustomDataResponse, type BatchGetPublicUserCustomDataResponse, type BatchItemResult, type BatchResponse, type BatchSetUserCustomDataResponse, type BattleResult, type BattleStepConfig, type BlockchainAccountSafetyPolicy, BlockchainAction, type BlockchainConfigResponse, type BlockchainDefinitions, type BlockchainNetworkDefinition, BlockchainNetworkType, type BlockchainNftCollectionBinding, BlockchainOperationCategory, type BlockchainRequest, BlockchainService, type BlockchainStats, type BlockchainSystemState, BlockchainTransactionStatus, BlockchainTransactionType, type BoardLoopDefinition, type BoardLoopState, type BoardPendingInteraction, type BoardRollResponse, BodyPart, type BoostTriggerCounter, BoostWindowKind, BroadcastStatus, type BuildResponse, type BuildingState, type CancelMatchResponse, type CancelTradeOfferResponse, type ChangeUsernameResponse, CharacterAction, type CharacterClassification, type CharacterDefinition, type CharacterDefinitions, type CharacterEquipment, type CharacterEquipmentSlot, type CharacterIdentity, type CharacterLevelRef, type CharacterModel, type CharacterRankLadder, type CharacterRequest, CharacterService, type CharacterSkinDefinition, type CharacterSkinItem, type CharacterSkinRequirements, type CharacterSkinSale, type CharacterSkinView, type CharacterSkins, type CharacterSkinsView, type CharacterStatRef, type CharacterUnequipResult, type CharacterUnlock, ChatAction, ChatAuthorType, ChatBlockedTermAction, type ChatChannelAvailability, type ChatChannelDefinition, type ChatChannelIdentity, type ChatChannelPresetBindings, type ChatChannelRetention, ChatChannelType, type ChatChannelView, type ChatChannelWriteRules, type ChatChannelsResponse, type ChatConversationView, type ChatConversationsResponse, type ChatCursor, type ChatDefinitions, ChatDirectAudience, type ChatDirectChannelResponse, type ChatHistoryResponse, type ChatMessageView, type ChatModerationSettings, ChatPartitioning, type ChatPollResponse, type ChatPollingSettings, type ChatPresetRegistry, ChatReportReason, type ChatReportResponse, type ChatRequest, type ChatRoomUpdate, type ChatSendResponse, type ChatStateResponse, CheckoutService, type ClaimAllRewardsBatchResponse, type ClaimAllRewardsResult, type ClaimComebackRewardResponse, type ClaimCycleRewardResponse, type ClaimCycleRewardsBatchResponse, type ClaimDailyRewardResponse, type ClaimDealMilestoneResponse, type ClaimDealMilestonesBatchResponse, type ClaimGrandPrizeResponse, type ClaimGroupCompletionRewardResponse, type ClaimInviteRewardResponse, type ClaimInviteRewardsBatchResponse, type ClaimLeaderboardMilestoneResponse, type ClaimLeaderboardMilestonesBatchResponse, type ClaimMilestoneRewardResponse, type ClaimMilestoneRewardsBatchResponse, type ClaimMilestonesBatchResponse, type ClaimQuestRewardResponse, type ClaimQuestRewardsBatchResponse, type ClaimRewardResponse, type ClaimSetRewardResponse, type ClaimSetRewardsBatchResponse, type ClaimTierRewardResponse, type ClaimTierRewardsBatchResponse, ClientPlatform, type ClientState, CloudCodeAction, CloudCodeErrorCode, type CloudCodeLogEntry, CloudCodeLogLevel, type CloudCodeRequest, CloudCodeRevisionSelection, CloudCodeService, type CodeExecutionError, type CollectIdleAccrualResponse, CollectionAction, type CollectionDefinitions, type CollectionGlobalSettings, type CollectionRequest, CollectionService, type CollectionSetRef, type CollectionTradeOfferDocument, CommissionSink, type CommunityAccrualLine, type CommunityCampaignSummary, type CommunityChestClaimResponse, type CommunityChestGroupDocument, type CommunityChestGroupStateResponse, type CommunityChestHistoryEntry, type CommunityChestLeaveResponse, type CommunityChestMember, CommunityChestMemberStatus, type CommunityChestSharedState, CommunityChestStatus, type CommunityChestUserStateResponse, type CommunityClaimResponse, CommunityCreatorStatus, type CommunityEarningsLine, type CommunityEarningsResponse, type CommunityEligibilityCondition, type CommunityEligibilityResponse, CommunityMarketingAction, type CommunityMarketingRequest, type CommunityMarketingState, CommunityMetricKind, CommunityParticipationMode, CommunityPayoutCurrencyKind, type CommunityPayoutSummary, type CommunitySolanaWithdrawalSignature, type CommunityWithdrawalResponse, type ConfirmWithdrawalResponse, type ConversionDailyCounter, ConversionRateMode, type ConversionTarget, type ConvertResponse, type CoopBuildObjectsMemberState, type CoopBuildObjectsState, type CoopClaimRewardResponse, CoopEventAction, type CoopEventDefinitions, type CoopEventRequest, CoopEventService, type CoopGroupDocument, type CoopGroupMember, type CoopGroupStateResponse, CoopGroupStatus, type CoopLeaveGroupResponse, CoopMemberStatus, type CoopPartnerObjectState, type CoopSpinResponse, type CoopUserStateResponse, CraftAction, type CraftBurnedInstance, type CraftDefinition, type CraftDefinitions, type CraftDefinitionsResponse, CraftInputSelectionMode, CraftOutputLevelMode, CraftOutputLevelOverflow, type CraftRequest, type CraftResponse, CraftService, type CraftSingleResult, CraftType, type CreateMatchResponse, type CryptoConvertResponse, type CryptoCurrencyDefinition, type CryptoCurrencyPermissions, type CryptoLimits, type CryptoNetworkBinding, type CryptoShortfall, CurrencyAction, type CurrencyAudit, type CurrencyConversion, type CurrencyDefinitions, type CurrencyRequest, CurrencyService, CurrencyStatus, CurrencyType, CurveInterpolation, type CurvePoint, CurveShape, CustomDataBucket, CustomDataValueType, CustomDataWriter, type CyclicSchedule, DEFAULT_BASE_URL, type DailyUsageRecord, DataAccessMode, type DataAccessRule, type DataBatchOperation, type DataBatchResponse, type DataCollectionDefinition, DataCollectionKind, DataCollectionSchemaMode, DataCollectionsAction, type DataCollectionsRequest, DataCollectionsService, type DataCountResponse, DataCounterKind, type DataCounterResponse, type DataDefinitionsResponse, type DataDeleteResponse, type DataFieldDefinition, DataFieldType, DataFieldVisibility, type DataFileUploadResponse, type DataFileView, type DataFilter, type DataFilterOp, type DataGetManyResponse, type DataGetResponse, type DataItemView, type DataOperationEconomy, DataOwnerDeletedPolicy, type DataPublicViewDefinition, type DataPublicViewPage, type DataPublicViewPointer, type DataPublicViewsResponse, type DataQueryResponse, type DataQuerySpec, type DataReadOptions, type DataRecord, DataRefKind, type DataRefTarget, type DataRolesResponse, type DataSortKeyDefinition, type DataUpdateSpec, type DataWriteResponse, type DealAvailability, DealComparisonOperator, type DealIdentity, type DealMilestoneBlock, type DealMilestoneProgressInfo, type DealNodeActionDefinition, type DealNodeDefinition, type DealNodePresetBindings, type DealNodePricing, type DealNodeReward, DealNodeRuntimeStatus, DealNodeType, type DealNodeUnlockRules, DealOfferAction, DealOfferActivationStatus, type DealOfferDefinition, type DealOfferDefinitions, type DealOfferGraph, type DealOfferPresetBindings, type DealOfferPresetRegistry, type DealOfferRequest, DealOfferService, type DealOffersDefinitionResponse, type DealRewardedVideoActionDefinition, type DealSlotBehaviour, type DealSlotDefinition, type DealSlotPresetBindings, type DealSlotQueueEntry, type DealTrackChange, type DealTrackDefinition, type DealTrackRequirement, type DeclineTradeOfferResponse, type DepositNFTResponse, type DepositTokenResponse, type DeviceDescription, type DirectMessageSettings, type DismissDealResponse, type DonationResponse, type DroppedEvent, EVENT_NAME_PATTERN, EnvelopeType, type EquipItemsResponse, type EquipSkinResponse, type EquipSlotPair, type EquipmentPreset, type EquipmentSlot, type EquippedItem, type EventMap, type EventMilestoneClaimResponse, type EventTokenAddress, type EventTokenConversion, type EventTokenDefinition, type EventTokenGrantResponse, type EventTokenMilestoneData, type EventTokenOperation, type EventTokenSpendResponse, EventTokenType, type ExecuteCloudCodeResponse, type ExecuteNodeResponse, ExperimentAction, type ExperimentDefinition, type ExperimentDefinitions, type ExperimentGoal, ExperimentGoalKind, type ExperimentRequest, type ExperimentVariant, type ExperimentVariantCondition, ExperimentsService, type FodderConsumedEntry, FodderSelectionMode, FodderValuationMode, type FriendActionResponse, FriendActionStatus, type FriendPublicProfile, type FriendsListResponse, GameLoopAction, type GameLoopDefinitions, type GameLoopRequest, GameLoopService, type GetActiveBoostWindowsResponse, type GetActiveDealsResponse, type GetActiveEventsResponse, type GetActiveTimedBoostsResponse, type GetCharacterSkinsResponse, type GetCharactersResponse, type GetExperimentsResponse, type GetLeaderboardResponse, type GetLeaderboardsBatchResponse, type GetMatchDefinitionsResponse, type GetMilestoneRewardMultiplierResponse, type GetMyProgressResponse, type GetMyUserCustomDataResponse, type GetOverviewBatchResponse, type GetProgressBatchResponse, type GetPublicTitleDataResponse, type GetPublicUserCustomDataResponse, type GetStorefrontResponse, type GetTradeOffersResponse, type GetUserQuestStateResponse, type GetUserTutorialStateResponse, type GrantStatusTokensResponse, type GrantTokensBatchResponse, type GrantedCollectible, type HeistCell, IDosGamesClient, type IDosGamesClientConfig, IDosGamesData, type IDosGamesSettings, type IapProductDefinition, type IapProductPurchaseState, type IapProductRules, IapProductType, IapPurchaseStatus, type IapStore, IapStore$1 as IapStoreValues, type IceServer, type InstantBattleDefinitions, type InstantBattleResponse, type InstantBattleRule, type InterstitialSettings, type InventoryDelta, ItemAction, type ItemCatalog, type ItemDefinition, type ItemDefinitions, type ItemEquipment, type ItemMetadata, type ItemRequest, ItemService, type ItemStats, type ItemTotals, type ItemUpgrade, type ItemUpgradeFodder, type ItemUpgradeRef, type JsonValue, KeyValueStorage, KycStatus, KycTier, LeaderboardAction, type LeaderboardDefinitions, type LeaderboardMilestoneRef, type LeaderboardOverview, type LeaderboardRequest, type LeaderboardScoreRef, LeaderboardService, type LeaderboardUserEntry, type LeaveRoomResponse, type LevelsPreset, type LimitSpec, type LinkedWalletInfo, type Listener, LocalizationAction, LocalizationCache, type LocalizationDefinitions, type LocalizationLocaleDefinition, type LocalizationLocaleInfo, type LocalizationManifestResponse, LocalizationMissingKeyMode, type LocalizationParams, type LocalizationRequest, LocalizationService, type LocalizationState, type LocalizationTableRef, type LocalizationTableResponse, type LogEventsResponse, LootboxAction, type LootboxAmountRange, type LootboxDefinitions, type LootboxDefinitionsResponse, type LootboxGlobalSettings, type LootboxOpenResponse, type LootboxPityRule, type LootboxPityTriggerResponse, type LootboxRequest, type LootboxRewardRoll, type LootboxRewardSlot, LootboxService, type LootboxSupplyRule, type MailboxBroadcastDocument, type MailboxDefinition, type MailboxMessageDocument, MailboxMessageSource, MailboxMessageStatus, type MailboxMessageTypeDefinition, type MailboxSegmentDefinition, MarketGoodsType, MarketOfferStatus, MarketOfferType, MarketplaceAction, type MarketplaceActionCounter, type MarketplaceAuctionSettings, type MarketplaceAuctionState, type MarketplaceBidRefund, type MarketplaceBrowseResponse, type MarketplaceBuyOrderSettings, type MarketplaceCommissionOverride, type MarketplaceCommissionPolicy, type MarketplaceCreateOfferResponse, type MarketplaceDefinitions, type MarketplaceDirectTradeSettings, type MarketplaceGetDefinitionsResponse, type MarketplaceGroupedOfferView, type MarketplaceGroupedOffersResponse, type MarketplaceHistoryEntryView, type MarketplaceHistoryResponse, type MarketplaceListingSettings, type MarketplaceMatchingSettings, type MarketplaceMyStateResponse, type MarketplaceOfferResponse, type MarketplaceOfferView, type MarketplacePlaceBidResponse, type MarketplacePricePolicy, type MarketplaceRequest, MarketplaceService, type MarketplaceSettlementResponse, type MarketplaceTradabilityPolicy, MatchAction, type MatchDefinitions, type MatchRequest, MatchService, MatchStatus, type MatchesPageResponse, type MilestoneClaimEntry, type MilestoneClaimRef, type MilestoneDefinition, MultiplayerAction, MultiplayerChatMode, type MultiplayerDefinitions, type MultiplayerRequest, MultiplayerService, type MultiplayerSystemState, MultiplayerTopology, type NFTModel, type NFTNetworkBinding, type NFTTransactionDocument, type NFTWithdrawalResponse, type NftCollectionStats, type NftStatsContainer, OFFER_NOT_IN_ROTATION, type OpenCollectionChestResponse, type OpenPackResponse, type OperationFailure, type OperationFailureReason, type OperationResult, type OperationSuccess, type PackOpenResult, type PaymentProof, type PaymentRequirement, type PendingWithdrawalRef, PlatformAdapter, type PlatformBlockchainState, type PlatformLoginResponse, type PlayerEconomyTuningState, PlayerExperimentStatus, type PlayerExperimentView, PlaytimeTracker, type PollResponse, PremiumAction, type PremiumAdReduction, type PremiumDefinitions, type PremiumDefinitionsResponse, type PremiumPurchaseResponse, type PremiumRequest, PremiumService, type PremiumStateResponse, type PremiumSubscription, type PriceOption, type PriceOptions, type PublishResponse, PurchaseAction, type PurchaseBatchResponse, type PurchaseDefinitions, type PurchaseReceiptRef, type PurchaseRequest, PurchaseService, type PurchaseValidationBatchResponse, type PurchaseValidationResponse, PushAction, type PushConfigResponse, PushPermissionState, type PushRequest, type PushSubscribeOptions, type PushSubscribeResult, type PushSubscriptionListResponse, type PushSubscriptionView, PushTopic, type PushTopicView, PushTransport, type PvPMatch, QuestAction, type QuestAvailability, type QuestClaimRef, type QuestCycleDefinition, type QuestDefinition, type QuestDefinitions, type QuestGroupCompletionDefinition, type QuestIdentity, type QuestLinking, type QuestObjectiveDefinition, QuestObjectiveSource, type QuestPhaseDefinition, type QuestPointsTrackView, QuestPrerequisiteMode, type QuestPresetBindings, type QuestPresetRegistry, type QuestProgressUpdate, type QuestRequest, type QuestReward, QuestService, QuestStatus, RaidMode, type RaidResponse, type RealtimeEnvelope, type RechargeConfig, type RecordShowResponse, ReferralAction, type ReferralDefinitions, type ReferralDefinitionsResponse, type ReferralInviteRewardState, type ReferralRequest, ReferralService, type RelativeWindow, type ResourceBundle, type ResourceConsume, type ResourceDualPartyResult, type ResourceEntry, ResourceEntryType, type ResourceGrant, type ResourceOperation, type ResourceTransferResult, type RetryWithdrawalResponse, RewardAction, type RewardDefinitions, type RewardDefinitionsResponse, type RewardRequest, RewardService, type RewardedVideoSettings, type RollActionData, type RoomListItem, type RoomMemberView, type RoomSnapshotResponse, RoomVisibility, type RoomsPageResponse, SKIN_ALREADY_OWNED, SKIN_SLOT, type ScalarCurveSpec, type ScheduleChain, type ScheduleChainPhase, ScheduleMode, type ScheduleSpec, type ScheduledWindow, type SdkEvents, SeasonAction, type SeasonDefinitions, type SeasonRequest, SeasonService, type SeasonTierRewardBundle, type SeasonTierRewardMultiplier, type SeasonTierRewardSet, type SegmentGate, type SendTradeOfferResponse, type SetUserCustomDataResponse, type SettingsInput, SocialAction, type SocialCounters, type SocialRequest, SocialService, type SocialTimelineEvent, type SolanaWithdrawalSignature, type SpecialApplyMultiplierResponse, SpecialChoiceMode, type SpecialChooseResponse, type SpecialClaimResponse, type SpecialModeOfferData, type SpecialPendingState, type SpendRewardDefinition, type SpendTokensBatchResponse, type SsoCodeFromUrl, type StatDefinition, type StatRequirement, type StatsPreset, StoreAction, type StoreAvailability, type StoreDefinition, type StoreDefinitions, type StoreIdentity, type StoreLayout, type StoreOfferAvailability, type StoreOfferDefinition, type StoreOfferPricing, type StoreOfferReward, type StoreOfferStateView, type StorePurchaseRef, type StorePurchaseResponse, type StorePurchaseState, type StoreRequest, StoreRotationMode, type StoreRotationPurchaseState, type StoreSectionDefinition, StoreService, type StoreSlotDefinition, type StoreSlotPoolEntry, type StoreSlotRotation, StoreType, type StoredLocalizationTable, type StorefrontOfferView, type StorefrontPriceOptionView, type StorefrontSectionView, type StorefrontSlotView, type StorefrontView, type SubmitScoreResponse, type SubmitScoresBatchResponse, type SuccessResponse, type TelegramInvoiceResponse, TimedBoostAction, type TimedBoostDefinitions, type TimedBoostRequest, TimedBoostService, TimedBoostStackingPolicy, TimedEventAction, type TimedEventDefinitions, type TimedEventGrantRef, type TimedEventInstanceRef, type TimedEventMilestoneRef, type TimedEventRequest, TimedEventService, type TimedEventSpendRef, TimelineEventType, type TimelineResponse, TitleAction, TitleConfig, TitleCustomDataAction, type TitleCustomDataDefinitions, type TitleCustomDataKeyDefinition, type TitleCustomDataRecord, type TitleCustomDataRequest, TitleCustomDataService, TitleDataBucket, TitleDataScope, type TitlePublicConfigurationModel, type TitleRequest, TitleService, type TokenCurrencyStats, type TokenStatsContainer, type TokenTransactionDocument, type TokenWithdrawalResponse, TradeOfferStatus, TransactionDirection, type TransactionHistoryResponse, type TriggerContext, type TriggerSource, TutorialAction, type TutorialAvailability, type TutorialBlockingPolicy, TutorialBoardAction, type TutorialBoardScript, type TutorialClaimResponse, type TutorialDefinitions, type TutorialFlowBatchResponse, type TutorialFlowDefinition, type TutorialFlowPolicy, type TutorialFlowResponse, TutorialFlowStatus, type TutorialFlowView, type TutorialGateCondition, TutorialGateMode, type TutorialGlobalSettings, type TutorialIdentity, type TutorialPresetBindings, type TutorialPresetRegistry, type TutorialRequest, TutorialRestartPolicy, type TutorialReward, TutorialScriptModule, type TutorialScriptedOutcome, type TutorialStepCompletion, TutorialStepCompletionMode, type TutorialStepDefinition, type TutorialStepEffects, type TutorialStepIdentity, type TutorialStepPolicy, type TutorialStepProgress, TypedEmitter, type UnequipAllCharactersResponse, type UnequipItemsResponse, type UnequipSkinResponse, type UnlockCharacterResponse, type UnlockCharactersBatchResponse, type UnlockSkinResponse, type UnstackableItemInstanceState, type Unsubscribe, type UpdateMatchResponse, type UpgradeCharacterLevelResponse, type UpgradeCharacterLevelsBatchResponse, type UpgradeItemLevelResponse, type UpgradeLevelsBatchResponse, type UpgradeLevelsOptions, type UpgradeStatLevelResponse, type UpgradeStatLevelsBatchResponse, type UsagePeriodRecord, type UsageReactivationEvent, type UsageTimeStats, type UseCollectibleJokerResponse, UserAction, type UserAdvertisingState, type UserBlockchainState, type UserBlockchainStateResponse, type UserCharactersState, type UserChatChannelState, type UserChatLimitState, type UserChatState, type UserClaimRewardState, type UserCollectionState, type UserComebackState, type UserCommunityChestState, type UserCoopEventState, type UserCryptoComplianceCounters, type UserCryptoCurrencyState, UserCustomDataAction, type UserCustomDataBatchDeleteItem, type UserCustomDataBatchSetItem, type UserCustomDataDefinitions, type UserCustomDataKeyDefinition, type UserCustomDataRecord, type UserCustomDataRequest, UserCustomDataService, type UserCustomDataState, type UserDailyCalendarState, type UserDailyCounters, UserData, type UserDealNodeLifetimeCounts, type UserDealNodeState, type UserDealOfferActivationState, type UserDealOfferHistory, type UserDealOffersState, type UserDealOffersStateResponse, type UserDealSlotState, type UserDealTrackState, type UserDepositAddress, type UserEventTokenProgress, type UserEventTokensState, type UserGameLoopsState, type UserIdleAccrualState, type UserInventoryState, type UserKycState, type UserLeaderboardProgress, type UserLeaderboardsState, type UserLootboxPityCounter, type UserLootboxState, type UserMailboxState, type UserMarketplaceState, type UserMatchCreationLimitState, type UserMatchState, type UserPremiumState, type UserPublicDataModel, type UserPurchaseState, type UserQuestCycleState, type UserQuestObjectiveProgress, type UserQuestProgress, type UserQuestState, type UserReferralState, type UserReferralStateResponse, type UserRequest, type UserRewardState, type UserRewardsStateResponse, type UserSeasonState, type UserSeasonStateResponse, type UserSeasonsState, UserService, type UserSocialState, type UserState, type UserStateSlice, type UserStateVersions, type UserStoreState, type UserTimedBoostsState, type UserTimedEventStateResponse, type UserTutorialFlowState, type UserTutorialState, type UserTutorialStepState, type UserUsageState, type UserVirtualCurrencyState, type VirtualCurrencyDefinition, type VirtualCurrencyEconomy, type VirtualCurrencyPermissions, type WalletChallengeResponse, WalletLinkType, type WithdrawalSignatureResponse, type WithdrawalSplit, WorkshopAccessMode, type WorkshopAccessOption, type WorkshopAccessOptionInput, type WorkshopAccessState, WorkshopAccessVia, type WorkshopAcquireResponse, WorkshopAction, type WorkshopBeginUploadResponse, type WorkshopBrowseQuery, type WorkshopBrowseResponse, type WorkshopCollection, type WorkshopCollectionResponse, type WorkshopCollectionView, type WorkshopContentMutationResponse, type WorkshopContentResponse, type WorkshopContentStats, WorkshopContentStatus, type WorkshopContentType, type WorkshopContentView, type WorkshopCreatorProfileResponse, type WorkshopDefinitions, type WorkshopDefinitionsResponse, type WorkshopDownloadFile, type WorkshopDownloadResponse, type WorkshopDownloadedFile, type WorkshopFileData, type WorkshopFileDeclaration, type WorkshopFileRole, type WorkshopFollowResponse, WorkshopHoldingMatch, WorkshopHoldingMode, type WorkshopHoldingPolicy, type WorkshopHoldingRequirement, type WorkshopHoldingRule, WorkshopLicenseSource, type WorkshopLicenseView, type WorkshopLicensesResponse, type WorkshopLimits, type WorkshopModerationSettings, type WorkshopPublishFile, type WorkshopPublishInput, type WorkshopPublishResponse, WorkshopReactionKind, type WorkshopReactionResponse, WorkshopReportReason, type WorkshopReportResponse, type WorkshopRequest, WorkshopService, WorkshopSort, type WorkshopUploadTarget, WorkshopVisibility, beginSsoRedirect, claimedMilestoneIDs, createIDosGamesClient, curveMultiplier, describeUserAgent, evaluateCurve, grantedPremiumTiers, isAIGenerationTerminal, isCurveConfigured, isFail, isMilestoneClaimed, isOk, isReservedSlot, normalizeBlockchainCategory, parseAIErrorCode, readSsoCodeFromUrl, roundAmount, where, zPaymentProof, zPriceOption, zPriceOptions };
|