@idosgames/core 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +7 -5
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2864 -1308
- package/dist/index.d.ts +2864 -1308
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4122,8 +4122,131 @@ declare const TitleCustomDataAction: {
|
|
|
4122
4122
|
};
|
|
4123
4123
|
type TitleCustomDataAction = (typeof TitleCustomDataAction)[keyof typeof TitleCustomDataAction];
|
|
4124
4124
|
type ExperimentVariant = { VariantID?: null | string; DisplayName?: null | string; Weight?: null | number; IsControl?: null | boolean; Params?: null | Record<string, string>; [key: string]: unknown; };
|
|
4125
|
-
|
|
4125
|
+
/** What an experiment is judged by (engine `ExperimentGoalKind`). */
|
|
4126
|
+
declare const ExperimentGoalKind: {
|
|
4127
|
+
/** Share of participants who sent `EventName` at least once. */
|
|
4128
|
+
readonly EventConversion: "EventConversion";
|
|
4129
|
+
/** `EventName` count per participant. */
|
|
4130
|
+
readonly EventCountPerUser: "EventCountPerUser";
|
|
4131
|
+
/** Sum of `EventName` Value per participant (revenue, score). */
|
|
4132
|
+
readonly EventValuePerUser: "EventValuePerUser";
|
|
4133
|
+
readonly RetentionD1: "RetentionD1";
|
|
4134
|
+
readonly RetentionD7: "RetentionD7";
|
|
4135
|
+
readonly PayerConversion: "PayerConversion";
|
|
4136
|
+
readonly Arpu: "Arpu";
|
|
4137
|
+
};
|
|
4138
|
+
type ExperimentGoalKind = (typeof ExperimentGoalKind)[keyof typeof ExperimentGoalKind];
|
|
4139
|
+
type ExperimentGoal = { MetricID?: null | string; Kind?: null | string; EventName?: null | string; IsPrimary?: null | boolean; [key: string]: unknown; };
|
|
4140
|
+
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
4141
|
type ExperimentDefinitions = { Experiments?: null | Record<string, ExperimentDefinition>; [key: string]: unknown; };
|
|
4142
|
+
/** State of an experiment for this player. */
|
|
4143
|
+
declare const PlayerExperimentStatus: {
|
|
4144
|
+
/** Running: the variant is the player's own sticky assignment. */
|
|
4145
|
+
readonly Running: "Running";
|
|
4146
|
+
/** Disabled, out of its schedule or not in the publisher's plan: everyone gets control. */
|
|
4147
|
+
readonly Stopped: "Stopped";
|
|
4148
|
+
/** The winner was rolled out: everyone gets it. */
|
|
4149
|
+
readonly RolledOut: "RolledOut";
|
|
4150
|
+
};
|
|
4151
|
+
type PlayerExperimentStatus = (typeof PlayerExperimentStatus)[keyof typeof PlayerExperimentStatus];
|
|
4152
|
+
type PlayerExperimentView = { ExperimentID?: null | string; VariantID?: null | string; Status?: null | string; Params?: null | Record<string, string>; [key: string]: unknown; };
|
|
4153
|
+
type GetExperimentsResponse = { Experiments?: null | Array<PlayerExperimentView>; IsAbTestingAvailable?: null | boolean; [key: string]: unknown; };
|
|
4154
|
+
type ExperimentRequest = BaseRequest;
|
|
4155
|
+
declare const ExperimentAction: {
|
|
4156
|
+
readonly GetExperiments: "GetExperiments";
|
|
4157
|
+
};
|
|
4158
|
+
type ExperimentAction = (typeof ExperimentAction)[keyof typeof ExperimentAction];
|
|
4159
|
+
|
|
4160
|
+
/** How the title accepts event names (`Analytics.EventNaming`). */
|
|
4161
|
+
declare const AnalyticsEventNaming: {
|
|
4162
|
+
/** Any valid name is accepted and collected into the title catalog, up to the plan limit. */
|
|
4163
|
+
readonly Open: "Open";
|
|
4164
|
+
/** Only names declared in `Analytics.Events` are recorded; the rest are dropped. */
|
|
4165
|
+
readonly Declared: "Declared";
|
|
4166
|
+
};
|
|
4167
|
+
type AnalyticsEventNaming = (typeof AnalyticsEventNaming)[keyof typeof AnalyticsEventNaming];
|
|
4168
|
+
type AnalyticsEventDefinition = { DisplayName?: null | string; Description?: null | string; Blocked?: null | boolean; [key: string]: unknown; };
|
|
4169
|
+
type AnalyticsDimensionDefinition = { ParamName?: null | string; DisplayName?: null | string; [key: string]: unknown; };
|
|
4170
|
+
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; };
|
|
4171
|
+
/**
|
|
4172
|
+
* Events the SDK logs by itself. The `idos_` prefix is reserved — `logEvent` refuses it, so a
|
|
4173
|
+
* game cannot fake a session or an install.
|
|
4174
|
+
*/
|
|
4175
|
+
declare const AutomaticEvent: {
|
|
4176
|
+
/** The first launch on this device. */
|
|
4177
|
+
readonly FirstOpen: "idos_first_open";
|
|
4178
|
+
/** A new session: launch, or return after 30 minutes away (the same gap as playtime). */
|
|
4179
|
+
readonly SessionStart: "idos_session_start";
|
|
4180
|
+
/** The app version changed since the previous launch. */
|
|
4181
|
+
readonly AppUpdate: "idos_app_update";
|
|
4182
|
+
/** The OS version changed since the previous launch. */
|
|
4183
|
+
readonly OsUpdate: "idos_os_update";
|
|
4184
|
+
/** `logScreenView(name)`. */
|
|
4185
|
+
readonly ScreenView: "idos_screen_view";
|
|
4186
|
+
};
|
|
4187
|
+
type AutomaticEvent = (typeof AutomaticEvent)[keyof typeof AutomaticEvent];
|
|
4188
|
+
/** The server's rules, applied by the SDK up front so an invalid event never costs a call. */
|
|
4189
|
+
declare const AnalyticsLimits: {
|
|
4190
|
+
readonly maxEventsPerBatch: 50;
|
|
4191
|
+
readonly maxParams: 25;
|
|
4192
|
+
readonly maxStringValueLength: 100;
|
|
4193
|
+
/** Events older than this are dropped by the server as `TooOld`. */
|
|
4194
|
+
readonly maxEventAgeMs: number;
|
|
4195
|
+
readonly reservedPrefixes: readonly ["idos_", "firebase_", "google_", "ga_"];
|
|
4196
|
+
};
|
|
4197
|
+
/** Event and parameter names: a letter, then letters, digits or `_`, 40 characters at most. */
|
|
4198
|
+
declare const EVENT_NAME_PATTERN: RegExp;
|
|
4199
|
+
type AnalyticsParamValue = string | number | boolean;
|
|
4200
|
+
type AnalyticsParams = Record<string, AnalyticsParamValue>;
|
|
4201
|
+
/** One event on the wire. */
|
|
4202
|
+
interface AnalyticsEventInput {
|
|
4203
|
+
Name: string;
|
|
4204
|
+
Params?: AnalyticsParams;
|
|
4205
|
+
/** A number summed by the server — revenue, score. */
|
|
4206
|
+
Value?: number;
|
|
4207
|
+
/** ISO-8601 UTC time the event happened on the client. */
|
|
4208
|
+
ClientTimeUtc?: string;
|
|
4209
|
+
}
|
|
4210
|
+
/**
|
|
4211
|
+
* What the client knows and the server does not. Platform, country, new/returning and the
|
|
4212
|
+
* acquisition source are NOT here: the server takes them from the request header, the IP and the
|
|
4213
|
+
* player's own record, and ignores anything a client claims about them.
|
|
4214
|
+
*/
|
|
4215
|
+
interface AnalyticsClientContext {
|
|
4216
|
+
AppVersion?: string;
|
|
4217
|
+
OsName?: string;
|
|
4218
|
+
OsVersion?: string;
|
|
4219
|
+
/** `phone` / `tablet` / `desktop`. */
|
|
4220
|
+
DeviceCategory?: string;
|
|
4221
|
+
DeviceModel?: string;
|
|
4222
|
+
Language?: string;
|
|
4223
|
+
SdkVersion?: string;
|
|
4224
|
+
}
|
|
4225
|
+
interface AnalyticsRequest extends BaseRequest {
|
|
4226
|
+
/** Idempotency key of the batch: a resend with the same id is not counted twice (24 h). */
|
|
4227
|
+
BatchID?: string;
|
|
4228
|
+
Events: AnalyticsEventInput[];
|
|
4229
|
+
Context?: AnalyticsClientContext;
|
|
4230
|
+
}
|
|
4231
|
+
/** Why the server dropped an event (`LogEventsResponse.Dropped[].Reason`). */
|
|
4232
|
+
declare const AnalyticsDropReason: {
|
|
4233
|
+
readonly InvalidName: "InvalidName";
|
|
4234
|
+
readonly Reserved: "Reserved";
|
|
4235
|
+
readonly NotDeclared: "NotDeclared";
|
|
4236
|
+
readonly Blocked: "Blocked";
|
|
4237
|
+
/** The title reached the event-name limit of its plan. */
|
|
4238
|
+
readonly CatalogFull: "CatalogFull";
|
|
4239
|
+
readonly TooOld: "TooOld";
|
|
4240
|
+
readonly AutomaticDisabled: "AutomaticDisabled";
|
|
4241
|
+
/** More than 1000 events from one player in one day. */
|
|
4242
|
+
readonly DailyLimit: "DailyLimit";
|
|
4243
|
+
};
|
|
4244
|
+
type DroppedEvent = { Index?: null | number; Name?: null | string; Reason?: null | string; [key: string]: unknown; };
|
|
4245
|
+
type LogEventsResponse = { Accepted?: null | number; Dropped?: null | Array<DroppedEvent>; Duplicate?: null | boolean; Disabled?: null | boolean; [key: string]: unknown; };
|
|
4246
|
+
declare const AnalyticsAction: {
|
|
4247
|
+
readonly LogEvents: "LogEvents";
|
|
4248
|
+
};
|
|
4249
|
+
type AnalyticsAction = (typeof AnalyticsAction)[keyof typeof AnalyticsAction];
|
|
4127
4250
|
|
|
4128
4251
|
interface TitlePublicConfigurationModel {
|
|
4129
4252
|
/** Schema of the title-wide key-value store; the values live in client.titleCustomData. */
|
|
@@ -4158,6 +4281,11 @@ interface TitlePublicConfigurationModel {
|
|
|
4158
4281
|
* rather than reading anything out of here.
|
|
4159
4282
|
*/
|
|
4160
4283
|
Localization?: LocalizationDefinitions | null;
|
|
4284
|
+
/**
|
|
4285
|
+
* Custom-event settings the SDK obeys before sending: on/off, naming mode, declared and blocked
|
|
4286
|
+
* events. Use `client.analytics` to log events rather than reading this.
|
|
4287
|
+
*/
|
|
4288
|
+
Analytics?: AnalyticsDefinitions | null;
|
|
4161
4289
|
[key: string]: unknown;
|
|
4162
4290
|
}
|
|
4163
4291
|
interface TitleRequest extends BaseRequest {
|
|
@@ -4262,6 +4390,19 @@ interface SdkEvents {
|
|
|
4262
4390
|
* the response of the action that caused it — subscribe instead of polling the state.
|
|
4263
4391
|
*/
|
|
4264
4392
|
"tutorial:systemProgress": TutorialStepProgress[];
|
|
4393
|
+
"experiments:loaded": GetExperimentsResponse;
|
|
4394
|
+
/**
|
|
4395
|
+
* Experiments whose variant or status differs from what this player had before — the first
|
|
4396
|
+
* load included. Subscribe to re-apply variant params (a colour, a price label) on the fly.
|
|
4397
|
+
*/
|
|
4398
|
+
"experiments:changed": PlayerExperimentView[];
|
|
4399
|
+
/** A batch was delivered. */
|
|
4400
|
+
"analytics:flushed": LogEventsResponse;
|
|
4401
|
+
/**
|
|
4402
|
+
* The server dropped some events of a batch: `CatalogFull` (the plan's event-name limit),
|
|
4403
|
+
* `NotDeclared`, `DailyLimit`, … Worth logging in development — nothing retries them.
|
|
4404
|
+
*/
|
|
4405
|
+
"analytics:eventsDropped": DroppedEvent[];
|
|
4265
4406
|
"communityMarketing:stateLoaded": CommunityMarketingState;
|
|
4266
4407
|
"communityMarketing:earningsLoaded": CommunityEarningsResponse;
|
|
4267
4408
|
/**
|
|
@@ -6895,654 +7036,1309 @@ declare class WorkshopService {
|
|
|
6895
7036
|
private baseRequest;
|
|
6896
7037
|
}
|
|
6897
7038
|
|
|
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>>;
|
|
7039
|
+
declare const DataCollectionKind: {
|
|
7040
|
+
/** Each record belongs to one user (saves, builds, orders, documents, settings). */
|
|
7041
|
+
readonly UserOwned: "UserOwned";
|
|
7042
|
+
/** Records shared by many users (guilds, auctions, catalog, articles, world shards). */
|
|
7043
|
+
readonly Shared: "Shared";
|
|
7044
|
+
/** Short-lived records with a mandatory TTL (invites, lobbies, carts, codes). */
|
|
7045
|
+
readonly Temporary: "Temporary";
|
|
7046
|
+
/** Append-only records read by time (history, feed, messages, audit). */
|
|
7047
|
+
readonly Log: "Log";
|
|
7048
|
+
};
|
|
7049
|
+
type DataCollectionKind = (typeof DataCollectionKind)[keyof typeof DataCollectionKind];
|
|
7050
|
+
declare const DataFieldType: {
|
|
7051
|
+
readonly String: "String";
|
|
7052
|
+
/** Long text searched by words and word prefixes. */
|
|
7053
|
+
readonly Text: "Text";
|
|
7054
|
+
readonly Int: "Int";
|
|
7055
|
+
readonly Number: "Number";
|
|
7056
|
+
readonly Bool: "Bool";
|
|
7057
|
+
/** ISO-8601 string (or unix ms on input). */
|
|
7058
|
+
readonly Date: "Date";
|
|
7059
|
+
readonly Json: "Json";
|
|
7060
|
+
readonly Array: "Array";
|
|
7061
|
+
/** A reference to a record, a user, an item, a currency, … (validated on write, expandable on read). */
|
|
7062
|
+
readonly Ref: "Ref";
|
|
7063
|
+
readonly File: "File";
|
|
7064
|
+
};
|
|
7065
|
+
type DataFieldType = (typeof DataFieldType)[keyof typeof DataFieldType];
|
|
7066
|
+
declare const DataFieldVisibility: {
|
|
7067
|
+
readonly Everyone: "Everyone";
|
|
7068
|
+
readonly Owner: "Owner";
|
|
7069
|
+
readonly Server: "Server";
|
|
7070
|
+
};
|
|
7071
|
+
type DataFieldVisibility = (typeof DataFieldVisibility)[keyof typeof DataFieldVisibility];
|
|
7072
|
+
declare const DataAccessMode: {
|
|
7073
|
+
/** Anyone, including visitors without a session (Read only). */
|
|
7074
|
+
readonly Anyone: "Anyone";
|
|
7075
|
+
readonly Authenticated: "Authenticated";
|
|
7076
|
+
readonly Owner: "Owner";
|
|
7077
|
+
/** A user listed in the record's MembersField. */
|
|
7078
|
+
readonly Members: "Members";
|
|
7079
|
+
readonly Role: "Role";
|
|
7080
|
+
readonly Server: "Server";
|
|
7081
|
+
};
|
|
7082
|
+
type DataAccessMode = (typeof DataAccessMode)[keyof typeof DataAccessMode];
|
|
7083
|
+
declare const DataRefKind: {
|
|
7084
|
+
readonly DataItem: "DataItem";
|
|
7085
|
+
readonly User: "User";
|
|
7086
|
+
readonly Item: "Item";
|
|
7087
|
+
readonly Currency: "Currency";
|
|
7088
|
+
readonly ItemInstance: "ItemInstance";
|
|
7089
|
+
readonly StoreOffer: "StoreOffer";
|
|
7090
|
+
readonly Leaderboard: "Leaderboard";
|
|
7091
|
+
readonly Quest: "Quest";
|
|
7092
|
+
readonly WorkshopContent: "WorkshopContent";
|
|
7093
|
+
};
|
|
7094
|
+
type DataRefKind = (typeof DataRefKind)[keyof typeof DataRefKind];
|
|
7095
|
+
declare const DataCounterKind: {
|
|
7096
|
+
readonly Count: "Count";
|
|
7097
|
+
readonly Sum: "Sum";
|
|
7098
|
+
};
|
|
7099
|
+
type DataCounterKind = (typeof DataCounterKind)[keyof typeof DataCounterKind];
|
|
7100
|
+
declare const DataOwnerDeletedPolicy: {
|
|
7101
|
+
readonly Delete: "Delete";
|
|
7102
|
+
readonly Anonymize: "Anonymize";
|
|
7103
|
+
readonly Keep: "Keep";
|
|
7104
|
+
};
|
|
7105
|
+
type DataOwnerDeletedPolicy = (typeof DataOwnerDeletedPolicy)[keyof typeof DataOwnerDeletedPolicy];
|
|
7106
|
+
declare const DataCollectionSchemaMode: {
|
|
7107
|
+
readonly Strict: "Strict";
|
|
7108
|
+
readonly Loose: "Loose";
|
|
7109
|
+
};
|
|
7110
|
+
type DataCollectionSchemaMode = (typeof DataCollectionSchemaMode)[keyof typeof DataCollectionSchemaMode];
|
|
7111
|
+
type DataRefTarget = z.output<typeof zDataRefTarget>;
|
|
7112
|
+
type DataFieldDefinition = z.output<typeof zDataFieldDefinition>;
|
|
7113
|
+
type DataSortKeyDefinition = z.output<typeof zDataSortKeyDefinition>;
|
|
7114
|
+
type DataAccessRule = z.output<typeof zDataAccessRule>;
|
|
7115
|
+
type DataPublicViewDefinition = z.output<typeof zDataPublicViewDefinition>;
|
|
7116
|
+
type DataCollectionDefinition = z.output<typeof zDataCollectionDefinition>;
|
|
7117
|
+
type DataDefinitionsResponse = z.output<typeof zDataDefinitionsResponse>;
|
|
7118
|
+
/** Record data as the caller sees it (fields hidden from the caller are already removed). */
|
|
7119
|
+
type DataRecord = Record<string, unknown>;
|
|
7120
|
+
type DataFileView = z.output<typeof zDataFileView>;
|
|
7121
|
+
type DataFileUploadResponse = z.output<typeof zDataFileUploadResponse>;
|
|
7122
|
+
type DataItemView = z.output<typeof zDataItemView>;
|
|
7123
|
+
type DataGetResponse = z.output<typeof zDataGetResponse>;
|
|
7124
|
+
type DataGetManyResponse = z.output<typeof zDataGetManyResponse>;
|
|
7125
|
+
type DataQueryResponse = z.output<typeof zDataQueryResponse>;
|
|
7126
|
+
type DataCountResponse = z.output<typeof zDataCountResponse>;
|
|
7127
|
+
type DataWriteResponse = z.output<typeof zDataWriteResponse>;
|
|
7128
|
+
type DataDeleteResponse = z.output<typeof zDataDeleteResponse>;
|
|
7129
|
+
type DataCounterResponse = z.output<typeof zDataCounterResponse>;
|
|
7130
|
+
type DataBatchResponse = z.output<typeof zDataBatchResponse>;
|
|
7131
|
+
type DataRolesResponse = z.output<typeof zDataRolesResponse>;
|
|
7132
|
+
type DataPublicViewsResponse = z.output<typeof zDataPublicViewsResponse>;
|
|
7133
|
+
type DataPublicViewPointer = z.output<typeof zDataPublicViewPointer>;
|
|
7134
|
+
type DataPublicViewPage = z.output<typeof zDataPublicViewPage>;
|
|
7135
|
+
/** Operators: eq, in, gt, gte, lt, lte, contains (array element), prefix (String). */
|
|
7136
|
+
type DataFilterOp = "eq" | "in" | "gt" | "gte" | "lt" | "lte" | "contains" | "prefix";
|
|
7137
|
+
interface DataFilter {
|
|
7138
|
+
Field: string;
|
|
7139
|
+
Op: DataFilterOp;
|
|
7140
|
+
Value: unknown;
|
|
7141
|
+
}
|
|
7142
|
+
/** A query: filter ONLY by searchable (Indexed) fields, order ONLY by a declared sort key. */
|
|
7143
|
+
interface DataQuerySpec {
|
|
7144
|
+
Where?: DataFilter[];
|
|
7145
|
+
/** Sort key id; equality filters on its leading fields narrow the range. */
|
|
7146
|
+
OrderBy?: string;
|
|
7147
|
+
Descending?: boolean;
|
|
7148
|
+
/** "me" — only the caller's records. */
|
|
7149
|
+
Owner?: "me";
|
|
7150
|
+
/** Only records where the caller is listed as a member. */
|
|
7151
|
+
MemberOfMine?: boolean;
|
|
7152
|
+
/** Full-text search over searchable Text fields (words and word prefixes). */
|
|
7153
|
+
Text?: string;
|
|
7154
|
+
/** 1..100, default 20. */
|
|
7155
|
+
Limit?: number;
|
|
7156
|
+
Cursor?: string;
|
|
7157
|
+
}
|
|
7158
|
+
interface DataUpdateSpec {
|
|
7159
|
+
/** Field → new value; `null` removes the field. */
|
|
7160
|
+
Set?: Record<string, unknown>;
|
|
7161
|
+
/** Field → delta (Int / Number). */
|
|
7162
|
+
Inc?: Record<string, number>;
|
|
7163
|
+
/** Array field → element (or array of elements) to append. */
|
|
7164
|
+
Push?: Record<string, unknown>;
|
|
7165
|
+
/** Array field → element (or array of elements) to remove. */
|
|
7166
|
+
Pull?: Record<string, unknown>;
|
|
7167
|
+
/** Array field → element (or array of elements) to add when missing. */
|
|
7168
|
+
AddToSet?: Record<string, unknown>;
|
|
7169
|
+
}
|
|
7170
|
+
interface DataBatchOperation {
|
|
7171
|
+
Op: "Create" | "Update" | "Delete";
|
|
7172
|
+
Collection: string;
|
|
7173
|
+
ItemID?: string;
|
|
7174
|
+
Data?: DataRecord;
|
|
7175
|
+
Update?: DataUpdateSpec;
|
|
7176
|
+
ExpectedVersion?: number;
|
|
7083
7177
|
}
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7178
|
+
interface DataCollectionsRequest extends BaseRequest {
|
|
7179
|
+
Collection?: string;
|
|
7180
|
+
ItemID?: string;
|
|
7181
|
+
ItemIDs?: string[];
|
|
7182
|
+
Data?: DataRecord;
|
|
7183
|
+
Update?: DataUpdateSpec;
|
|
7184
|
+
ExpectedVersion?: number;
|
|
7185
|
+
Query?: DataQuerySpec;
|
|
7186
|
+
Expand?: string[];
|
|
7187
|
+
CounterID?: string;
|
|
7188
|
+
Group?: unknown;
|
|
7189
|
+
Operations?: DataBatchOperation[];
|
|
7190
|
+
/** BeginFileUpload: the File field, the declared content type and the size in bytes. */
|
|
7191
|
+
Field?: string;
|
|
7192
|
+
ContentType?: string;
|
|
7193
|
+
FileSize?: number;
|
|
7100
7194
|
}
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7195
|
+
declare const DataCollectionsAction: {
|
|
7196
|
+
readonly GetDefinitions: "GetDefinitions";
|
|
7197
|
+
readonly Get: "Get";
|
|
7198
|
+
readonly GetMany: "GetMany";
|
|
7199
|
+
readonly Query: "Query";
|
|
7200
|
+
readonly Count: "Count";
|
|
7201
|
+
readonly Create: "Create";
|
|
7202
|
+
readonly Update: "Update";
|
|
7203
|
+
readonly Delete: "Delete";
|
|
7204
|
+
readonly Batch: "Batch";
|
|
7205
|
+
readonly GetCounter: "GetCounter";
|
|
7206
|
+
readonly GetMyRoles: "GetMyRoles";
|
|
7207
|
+
readonly BeginFileUpload: "BeginFileUpload";
|
|
7208
|
+
};
|
|
7209
|
+
type DataCollectionsAction = (typeof DataCollectionsAction)[keyof typeof DataCollectionsAction];
|
|
7210
|
+
/** Economy of one operation, re-exported for typing Cost/Grant in UIs. */
|
|
7211
|
+
type DataOperationEconomy = {
|
|
7212
|
+
Cost?: ResourceBundle | null;
|
|
7213
|
+
Grant?: ResourceBundle | null;
|
|
7214
|
+
};
|
|
7215
|
+
|
|
7216
|
+
interface DataReadOptions {
|
|
7217
|
+
/** Ref fields to expand in the answer (record, user profile, item or currency definition). */
|
|
7218
|
+
expand?: string[];
|
|
7219
|
+
}
|
|
7220
|
+
/** Filter helper: `where("region", "eq", "EU")`. */
|
|
7221
|
+
declare function where(field: string, op: DataFilterOp, value: unknown): DataFilter;
|
|
7222
|
+
/**
|
|
7223
|
+
* Data collections — the creator's own data structures (port of DataCollections/DataCollections.cs):
|
|
7224
|
+
* guilds, auctions, orders, catalogs, articles, saved levels, feeds — whatever no ready platform
|
|
7225
|
+
* module covers. ⚠ Not `client.collection` (collectible card sets).
|
|
7226
|
+
*
|
|
7227
|
+
* - The title declares collections (fields, searchable fields, sort keys, access rules, limits);
|
|
7228
|
+
* the server enforces every rule — the client cannot bypass them.
|
|
7229
|
+
* - Queries filter ONLY by searchable (Indexed) fields and order ONLY by declared sort keys; a
|
|
7230
|
+
* query by anything else is refused before the database.
|
|
7231
|
+
* - Value never lives in a record: the collection's Economy (Cost/Grant) moves currencies/items in
|
|
7232
|
+
* the same transaction as the write, and records reference items/currencies/users by Ref fields.
|
|
7233
|
+
* - Public collections (Read: Anyone) are readable WITHOUT login: `readPublicView` reads the pages
|
|
7234
|
+
* the server publishes to the CDN, `searchPublic` runs a live search where the title allows it.
|
|
7235
|
+
*/
|
|
7236
|
+
declare class DataCollectionsService {
|
|
7104
7237
|
private readonly ctx;
|
|
7238
|
+
private readonly publicViews;
|
|
7105
7239
|
constructor(ctx: ClientContext);
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7240
|
+
/** Collections of the title as the client may see them (server-only fields and triggers removed). */
|
|
7241
|
+
getDefinitions(): Promise<OperationResult<DataDefinitionsResponse>>;
|
|
7242
|
+
get(collection: string, itemID: string, options?: DataReadOptions): Promise<OperationResult<DataGetResponse>>;
|
|
7243
|
+
getMany(collection: string, itemIDs: string[], options?: DataReadOptions): Promise<OperationResult<DataGetManyResponse>>;
|
|
7244
|
+
/** One page. Pass `NextCursor` back as `Cursor` for the next one. */
|
|
7245
|
+
query(collection: string, query?: DataQuerySpec, options?: DataReadOptions): Promise<OperationResult<DataQueryResponse>>;
|
|
7246
|
+
/** Follows the cursor and collects up to `maxItems` records (default 500). */
|
|
7247
|
+
queryAll(collection: string, query?: DataQuerySpec, options?: DataReadOptions & {
|
|
7248
|
+
maxItems?: number;
|
|
7249
|
+
}): Promise<OperationResult<DataItemView[]>>;
|
|
7250
|
+
count(collection: string, query?: DataQuerySpec): Promise<OperationResult<DataCountResponse>>;
|
|
7251
|
+
/**
|
|
7252
|
+
* Creates a record. Pass your own `itemID` to make a retry safe: repeating the same create returns
|
|
7253
|
+
* the existing record with `AlreadyExists: true` and charges nothing twice.
|
|
7254
|
+
*/
|
|
7255
|
+
create(collection: string, data: DataRecord, options?: {
|
|
7256
|
+
itemID?: string;
|
|
7257
|
+
}): Promise<OperationResult<DataWriteResponse>>;
|
|
7258
|
+
/** Partial change. `expectedVersion` makes it compare-and-swap: a changed record is refused, not overwritten. */
|
|
7259
|
+
update(collection: string, itemID: string, update: DataUpdateSpec, options?: {
|
|
7260
|
+
expectedVersion?: number;
|
|
7261
|
+
}): Promise<OperationResult<DataWriteResponse>>;
|
|
7262
|
+
/** `update` with only `Set`: `null` removes a field. */
|
|
7263
|
+
set(collection: string, itemID: string, fields: DataRecord, options?: {
|
|
7264
|
+
expectedVersion?: number;
|
|
7265
|
+
}): Promise<OperationResult<{
|
|
7266
|
+
Item: {
|
|
7267
|
+
Collection: string;
|
|
7268
|
+
ItemID: string;
|
|
7269
|
+
Data: Record<string, unknown>;
|
|
7270
|
+
Version: number;
|
|
7271
|
+
CreatedAt: string;
|
|
7272
|
+
UpdatedAt: string;
|
|
7273
|
+
OwnerUserID?: string | null | undefined;
|
|
7274
|
+
ExpireAt?: string | null | undefined;
|
|
7275
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
7276
|
+
Files?: Record<string, {
|
|
7277
|
+
FileID: string;
|
|
7278
|
+
Url: string;
|
|
7279
|
+
Size: number;
|
|
7280
|
+
ContentType?: string | null | undefined;
|
|
7281
|
+
}> | null | undefined;
|
|
7282
|
+
};
|
|
7283
|
+
AlreadyExists?: boolean | undefined;
|
|
7284
|
+
Economy?: {
|
|
7285
|
+
Grant?: {
|
|
7286
|
+
Standard?: {
|
|
7287
|
+
Entries?: {
|
|
7288
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7289
|
+
CurrencyID?: string | null | undefined;
|
|
7290
|
+
Amount?: number | null | undefined;
|
|
7291
|
+
AmountUsd?: number | null | undefined;
|
|
7292
|
+
CatalogID?: string | null | undefined;
|
|
7293
|
+
ItemID?: string | null | undefined;
|
|
7294
|
+
ProductID?: string | null | undefined;
|
|
7295
|
+
}[] | null | undefined;
|
|
7296
|
+
EventTokens?: {
|
|
7297
|
+
Address?: {
|
|
7298
|
+
EntityID: string;
|
|
7299
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7300
|
+
} | null | undefined;
|
|
7301
|
+
Amount?: number | null | undefined;
|
|
7302
|
+
Source?: string | null | undefined;
|
|
7303
|
+
}[] | null | undefined;
|
|
7304
|
+
} | null | undefined;
|
|
7305
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
7306
|
+
PremiumTiers?: {
|
|
7307
|
+
MinPremiumTier?: number | null | undefined;
|
|
7308
|
+
RequiredPremiumID?: string | null | undefined;
|
|
7309
|
+
Resources?: {
|
|
7310
|
+
Entries?: {
|
|
7311
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7312
|
+
CurrencyID?: string | null | undefined;
|
|
7313
|
+
Amount?: number | null | undefined;
|
|
7314
|
+
AmountUsd?: number | null | undefined;
|
|
7315
|
+
CatalogID?: string | null | undefined;
|
|
7316
|
+
ItemID?: string | null | undefined;
|
|
7317
|
+
ProductID?: string | null | undefined;
|
|
7318
|
+
}[] | null | undefined;
|
|
7319
|
+
EventTokens?: {
|
|
7320
|
+
Address?: {
|
|
7321
|
+
EntityID: string;
|
|
7322
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7323
|
+
} | null | undefined;
|
|
7324
|
+
Amount?: number | null | undefined;
|
|
7325
|
+
Source?: string | null | undefined;
|
|
7326
|
+
}[] | null | undefined;
|
|
7327
|
+
} | null | undefined;
|
|
7328
|
+
}[] | null | undefined;
|
|
7329
|
+
} | null | undefined;
|
|
7330
|
+
Consume?: {
|
|
7331
|
+
Standard?: {
|
|
7332
|
+
Entries?: {
|
|
7333
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7334
|
+
CurrencyID?: string | null | undefined;
|
|
7335
|
+
Amount?: number | null | undefined;
|
|
7336
|
+
AmountUsd?: number | null | undefined;
|
|
7337
|
+
CatalogID?: string | null | undefined;
|
|
7338
|
+
ItemID?: string | null | undefined;
|
|
7339
|
+
ProductID?: string | null | undefined;
|
|
7340
|
+
}[] | null | undefined;
|
|
7341
|
+
EventTokens?: {
|
|
7342
|
+
Address?: {
|
|
7343
|
+
EntityID: string;
|
|
7344
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7345
|
+
} | null | undefined;
|
|
7346
|
+
Amount?: number | null | undefined;
|
|
7347
|
+
Source?: string | null | undefined;
|
|
7348
|
+
}[] | null | undefined;
|
|
7349
|
+
} | null | undefined;
|
|
7350
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
7351
|
+
PremiumTiers?: {
|
|
7352
|
+
MinPremiumTier?: number | null | undefined;
|
|
7353
|
+
RequiredPremiumID?: string | null | undefined;
|
|
7354
|
+
Resources?: {
|
|
7355
|
+
Entries?: {
|
|
7356
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7357
|
+
CurrencyID?: string | null | undefined;
|
|
7358
|
+
Amount?: number | null | undefined;
|
|
7359
|
+
AmountUsd?: number | null | undefined;
|
|
7360
|
+
CatalogID?: string | null | undefined;
|
|
7361
|
+
ItemID?: string | null | undefined;
|
|
7362
|
+
ProductID?: string | null | undefined;
|
|
7363
|
+
}[] | null | undefined;
|
|
7364
|
+
EventTokens?: {
|
|
7365
|
+
Address?: {
|
|
7366
|
+
EntityID: string;
|
|
7367
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7368
|
+
} | null | undefined;
|
|
7369
|
+
Amount?: number | null | undefined;
|
|
7370
|
+
Source?: string | null | undefined;
|
|
7371
|
+
}[] | null | undefined;
|
|
7372
|
+
} | null | undefined;
|
|
7373
|
+
}[] | null | undefined;
|
|
7374
|
+
} | null | undefined;
|
|
7375
|
+
} | null | undefined;
|
|
7376
|
+
}>>;
|
|
7377
|
+
/** Atomic increment of an Int/Number field (bounds of the field still apply). */
|
|
7378
|
+
increment(collection: string, itemID: string, field: string, delta?: number): Promise<OperationResult<{
|
|
7379
|
+
Item: {
|
|
7380
|
+
Collection: string;
|
|
7381
|
+
ItemID: string;
|
|
7382
|
+
Data: Record<string, unknown>;
|
|
7383
|
+
Version: number;
|
|
7384
|
+
CreatedAt: string;
|
|
7385
|
+
UpdatedAt: string;
|
|
7386
|
+
OwnerUserID?: string | null | undefined;
|
|
7387
|
+
ExpireAt?: string | null | undefined;
|
|
7388
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
7389
|
+
Files?: Record<string, {
|
|
7390
|
+
FileID: string;
|
|
7391
|
+
Url: string;
|
|
7392
|
+
Size: number;
|
|
7393
|
+
ContentType?: string | null | undefined;
|
|
7394
|
+
}> | null | undefined;
|
|
7395
|
+
};
|
|
7396
|
+
AlreadyExists?: boolean | undefined;
|
|
7397
|
+
Economy?: {
|
|
7398
|
+
Grant?: {
|
|
7399
|
+
Standard?: {
|
|
7400
|
+
Entries?: {
|
|
7401
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7402
|
+
CurrencyID?: string | null | undefined;
|
|
7403
|
+
Amount?: number | null | undefined;
|
|
7404
|
+
AmountUsd?: number | null | undefined;
|
|
7405
|
+
CatalogID?: string | null | undefined;
|
|
7406
|
+
ItemID?: string | null | undefined;
|
|
7407
|
+
ProductID?: string | null | undefined;
|
|
7408
|
+
}[] | null | undefined;
|
|
7409
|
+
EventTokens?: {
|
|
7410
|
+
Address?: {
|
|
7411
|
+
EntityID: string;
|
|
7412
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7413
|
+
} | null | undefined;
|
|
7414
|
+
Amount?: number | null | undefined;
|
|
7415
|
+
Source?: string | null | undefined;
|
|
7416
|
+
}[] | null | undefined;
|
|
7417
|
+
} | null | undefined;
|
|
7418
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
7419
|
+
PremiumTiers?: {
|
|
7420
|
+
MinPremiumTier?: number | null | undefined;
|
|
7421
|
+
RequiredPremiumID?: string | null | undefined;
|
|
7422
|
+
Resources?: {
|
|
7423
|
+
Entries?: {
|
|
7424
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7425
|
+
CurrencyID?: string | null | undefined;
|
|
7426
|
+
Amount?: number | null | undefined;
|
|
7427
|
+
AmountUsd?: number | null | undefined;
|
|
7428
|
+
CatalogID?: string | null | undefined;
|
|
7429
|
+
ItemID?: string | null | undefined;
|
|
7430
|
+
ProductID?: string | null | undefined;
|
|
7431
|
+
}[] | null | undefined;
|
|
7432
|
+
EventTokens?: {
|
|
7433
|
+
Address?: {
|
|
7434
|
+
EntityID: string;
|
|
7435
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7436
|
+
} | null | undefined;
|
|
7437
|
+
Amount?: number | null | undefined;
|
|
7438
|
+
Source?: string | null | undefined;
|
|
7439
|
+
}[] | null | undefined;
|
|
7440
|
+
} | null | undefined;
|
|
7441
|
+
}[] | null | undefined;
|
|
7442
|
+
} | null | undefined;
|
|
7443
|
+
Consume?: {
|
|
7444
|
+
Standard?: {
|
|
7445
|
+
Entries?: {
|
|
7446
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7447
|
+
CurrencyID?: string | null | undefined;
|
|
7448
|
+
Amount?: number | null | undefined;
|
|
7449
|
+
AmountUsd?: number | null | undefined;
|
|
7450
|
+
CatalogID?: string | null | undefined;
|
|
7451
|
+
ItemID?: string | null | undefined;
|
|
7452
|
+
ProductID?: string | null | undefined;
|
|
7453
|
+
}[] | null | undefined;
|
|
7454
|
+
EventTokens?: {
|
|
7455
|
+
Address?: {
|
|
7456
|
+
EntityID: string;
|
|
7457
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7458
|
+
} | null | undefined;
|
|
7459
|
+
Amount?: number | null | undefined;
|
|
7460
|
+
Source?: string | null | undefined;
|
|
7461
|
+
}[] | null | undefined;
|
|
7462
|
+
} | null | undefined;
|
|
7463
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
7464
|
+
PremiumTiers?: {
|
|
7465
|
+
MinPremiumTier?: number | null | undefined;
|
|
7466
|
+
RequiredPremiumID?: string | null | undefined;
|
|
7467
|
+
Resources?: {
|
|
7468
|
+
Entries?: {
|
|
7469
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7470
|
+
CurrencyID?: string | null | undefined;
|
|
7471
|
+
Amount?: number | null | undefined;
|
|
7472
|
+
AmountUsd?: number | null | undefined;
|
|
7473
|
+
CatalogID?: string | null | undefined;
|
|
7474
|
+
ItemID?: string | null | undefined;
|
|
7475
|
+
ProductID?: string | null | undefined;
|
|
7476
|
+
}[] | null | undefined;
|
|
7477
|
+
EventTokens?: {
|
|
7478
|
+
Address?: {
|
|
7479
|
+
EntityID: string;
|
|
7480
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7481
|
+
} | null | undefined;
|
|
7482
|
+
Amount?: number | null | undefined;
|
|
7483
|
+
Source?: string | null | undefined;
|
|
7484
|
+
}[] | null | undefined;
|
|
7485
|
+
} | null | undefined;
|
|
7486
|
+
}[] | null | undefined;
|
|
7487
|
+
} | null | undefined;
|
|
7488
|
+
} | null | undefined;
|
|
7489
|
+
}>>;
|
|
7490
|
+
delete(collection: string, itemID: string, options?: {
|
|
7491
|
+
expectedVersion?: number;
|
|
7492
|
+
}): Promise<OperationResult<DataDeleteResponse>>;
|
|
7493
|
+
/** Up to 25 operations over one or more collections — all or nothing, with one combined economy. */
|
|
7494
|
+
batch(operations: DataBatchOperation[]): Promise<OperationResult<DataBatchResponse>>;
|
|
7495
|
+
/** A declared aggregate (count / sum), optionally for one group value. */
|
|
7496
|
+
getCounter(collection: string, counterID: string, group?: unknown): Promise<OperationResult<DataCounterResponse>>;
|
|
7497
|
+
/** The caller's title roles (assigned by the server or the dashboard). */
|
|
7498
|
+
getMyRoles(): Promise<OperationResult<DataRolesResponse>>;
|
|
7499
|
+
/**
|
|
7500
|
+
* An upload ticket for a File field: the server checks the type and size against the field and
|
|
7501
|
+
* your right to write the collection, and returns a signed PUT link. Usually call `uploadFile`.
|
|
7502
|
+
*/
|
|
7503
|
+
beginFileUpload(collection: string, field: string, contentType: string, size: number): Promise<OperationResult<DataFileUploadResponse>>;
|
|
7504
|
+
/**
|
|
7505
|
+
* Uploads a file for a File field and returns its id: ticket → bytes straight to storage by the
|
|
7506
|
+
* signed link. Put `FileID` into the field on create/update — the server binds the file to the
|
|
7507
|
+
* record in that same write and checks the real bytes against the declared type. Read links
|
|
7508
|
+
* (`item.Files[field].Url`) are signed and expire in minutes: use them right away, never store them.
|
|
7509
|
+
*/
|
|
7510
|
+
uploadFile(collection: string, field: string, file: Blob, options?: {
|
|
7511
|
+
contentType?: string;
|
|
7512
|
+
}): Promise<OperationResult<DataFileUploadResponse>>;
|
|
7513
|
+
/** CDN addresses of a public collection's views. Cached for the life of the client. */
|
|
7514
|
+
getPublicViews(collection: string): Promise<OperationResult<DataPublicViewsResponse>>;
|
|
7515
|
+
/**
|
|
7516
|
+
* A page of a public view straight from the CDN — no database, no session. Freshness is seconds,
|
|
7517
|
+
* not instant. `partition` is the value of the view's PartitionField (a category, a region).
|
|
7518
|
+
*/
|
|
7519
|
+
readPublicView(collection: string, view: string, options?: {
|
|
7520
|
+
partition?: string;
|
|
7521
|
+
page?: number;
|
|
7522
|
+
}): Promise<OperationResult<{
|
|
7523
|
+
pointer: DataPublicViewPointer;
|
|
7524
|
+
page: DataPublicViewPage;
|
|
7525
|
+
}>>;
|
|
7526
|
+
/** A record of a public collection without login. */
|
|
7527
|
+
getPublic(collection: string, itemID: string): Promise<OperationResult<DataGetResponse>>;
|
|
7528
|
+
/** Live search of a public collection without login (only where the collection allows AnonymousSearch). */
|
|
7529
|
+
searchPublic(collection: string, query: DataQuerySpec): Promise<OperationResult<DataQueryResponse>>;
|
|
7530
|
+
private base;
|
|
7531
|
+
private call;
|
|
7532
|
+
/** PUT to a signed storage URL. Not our API: raw fetch, no auth header, no envelope. */
|
|
7533
|
+
private putBytes;
|
|
7534
|
+
private fetchJson;
|
|
7116
7535
|
}
|
|
7117
7536
|
|
|
7118
|
-
/**
|
|
7119
|
-
|
|
7537
|
+
/**
|
|
7538
|
+
* Custom events, Firebase-style: `logEvent("level_complete", { level: 5 })`.
|
|
7539
|
+
*
|
|
7540
|
+
* What the game must know:
|
|
7541
|
+
*
|
|
7542
|
+
* 1. **Nothing is sent per call.** Events are queued and go out in batches — 25 events or every
|
|
7543
|
+
* 30 seconds, and when the tab is hidden. Every batch is one API call billed to the publisher,
|
|
7544
|
+
* so do not call `flush()` after every event.
|
|
7545
|
+
* 2. **Nothing is lost on reload.** The queue lives in storage, and a batch that was in flight
|
|
7546
|
+
* when the tab died is resent with the SAME batch id — the server does not count it twice.
|
|
7547
|
+
* 3. **The title decides.** If the publisher has not switched event analytics on
|
|
7548
|
+
* (`Analytics.Enabled`), nothing is sent at all; in `Declared` naming mode only declared
|
|
7549
|
+
* events are accepted, and blocked events are refused locally.
|
|
7550
|
+
* 4. **Automatic events** (`idos_first_open`, `idos_session_start`, `idos_app_update`,
|
|
7551
|
+
* `idos_os_update`) are logged by the SDK once the title config says analytics is on. The
|
|
7552
|
+
* `idos_` prefix is reserved — `logEvent` refuses it. Screens go through `logScreenView`.
|
|
7553
|
+
*/
|
|
7554
|
+
declare class AnalyticsService {
|
|
7120
7555
|
private readonly ctx;
|
|
7556
|
+
private queue;
|
|
7557
|
+
private pending;
|
|
7558
|
+
private restored;
|
|
7559
|
+
private started;
|
|
7560
|
+
private flushing;
|
|
7561
|
+
private disabledByServer;
|
|
7562
|
+
private automaticDone;
|
|
7563
|
+
private hiddenAt;
|
|
7564
|
+
private timer;
|
|
7565
|
+
private drainTimer;
|
|
7566
|
+
private stopWaitingForConfig;
|
|
7567
|
+
private context;
|
|
7121
7568
|
constructor(ctx: ClientContext);
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7569
|
+
/**
|
|
7570
|
+
* Queue a custom event.
|
|
7571
|
+
*
|
|
7572
|
+
* @param name A letter, then letters, digits or `_`, 40 characters at most. `idos_`,
|
|
7573
|
+
* `firebase_`, `google_` and `ga_` are reserved.
|
|
7574
|
+
* @param params Up to 25. Strings are cut to 100 characters, non-finite numbers are skipped.
|
|
7575
|
+
* Only parameters the publisher registered as dimensions are kept by the server.
|
|
7576
|
+
* @param value A number the server sums — revenue, score.
|
|
7577
|
+
*
|
|
7578
|
+
* Fails only for input the server would drop anyway; a title with analytics off returns `ok`
|
|
7579
|
+
* and records nothing, the same as a player who opted out.
|
|
7580
|
+
*/
|
|
7581
|
+
logEvent(name: string, params?: AnalyticsParams, value?: number): OperationResult<null>;
|
|
7582
|
+
/** A screen the player opened (`idos_screen_view`, parameter `screen_name`). */
|
|
7583
|
+
logScreenView(screenName: string, screenClass?: string): OperationResult<null>;
|
|
7584
|
+
/**
|
|
7585
|
+
* Send what is queued now — one batch. Needed only before a deliberate exit (a "quit" button);
|
|
7586
|
+
* the SDK flushes by itself on a timer and when the page is hidden.
|
|
7587
|
+
*/
|
|
7588
|
+
flush(): Promise<OperationResult<LogEventsResponse | null>>;
|
|
7589
|
+
/**
|
|
7590
|
+
* The player's consent. `false` forgets everything queued and stops collecting until `true`.
|
|
7591
|
+
* Persisted on the device.
|
|
7592
|
+
*/
|
|
7593
|
+
setEnabled(enabled: boolean): void;
|
|
7594
|
+
/** `false` after `setEnabled(false)`. */
|
|
7595
|
+
get isEnabled(): boolean;
|
|
7596
|
+
/**
|
|
7597
|
+
* First open, version changes and the session start.
|
|
7598
|
+
*
|
|
7599
|
+
* Waits for a title config that says analytics is ON. Sending them "to see what the server
|
|
7600
|
+
* says" would cost every title on this SDK one billed call per session, analytics or not.
|
|
7601
|
+
*/
|
|
7602
|
+
private beginAutomatic;
|
|
7603
|
+
private onVisibilityChange;
|
|
7604
|
+
/** The last moment anything can be sent: persist first, delivery may never finish. */
|
|
7605
|
+
private onPageHide;
|
|
7606
|
+
private enqueue;
|
|
7607
|
+
private scheduleDrain;
|
|
7608
|
+
private dropStale;
|
|
7609
|
+
private clear;
|
|
7610
|
+
private config;
|
|
7611
|
+
private clientContext;
|
|
7612
|
+
private restore;
|
|
7613
|
+
private persist;
|
|
7614
|
+
private touch;
|
|
7615
|
+
/** Keys carry the title: a DEV and a PROD build on one origin must not share a queue. */
|
|
7616
|
+
private key;
|
|
7617
|
+
private read;
|
|
7618
|
+
private write;
|
|
7619
|
+
private remove;
|
|
7620
|
+
private readJson;
|
|
7621
|
+
private writeJson;
|
|
7133
7622
|
}
|
|
7134
7623
|
|
|
7135
|
-
/**
|
|
7136
|
-
|
|
7624
|
+
/**
|
|
7625
|
+
* A/B variants in effect for this player and their `Params` — remote config per variant.
|
|
7626
|
+
*
|
|
7627
|
+
* What the game must know:
|
|
7628
|
+
*
|
|
7629
|
+
* 1. **Call `load()` once per session** (after login). It is one billed API call. Until it
|
|
7630
|
+
* returns, the getters answer from the values of the previous session on this device, or the
|
|
7631
|
+
* defaults you pass — the same model as Firebase Remote Config's "last activated" values.
|
|
7632
|
+
* 2. **Content gated by an experiment is resolved by the server.** A store offer or a quest that
|
|
7633
|
+
* is only for variant B is simply present or absent in its module's response; `experiments`
|
|
7634
|
+
* is for what the SERVER cannot decide for you — a colour, a difficulty number, a button text.
|
|
7635
|
+
* 3. **A stopped experiment gives control.** Disabled, out of its schedule or not in the
|
|
7636
|
+
* publisher's plan (`isAbTestingAvailable === false`) — everyone gets the control variant;
|
|
7637
|
+
* a rolled-out winner — everyone gets the winner. `getStatus()` says which.
|
|
7638
|
+
*/
|
|
7639
|
+
declare class ExperimentsService {
|
|
7137
7640
|
private readonly ctx;
|
|
7641
|
+
private views;
|
|
7642
|
+
private abTestingAvailable;
|
|
7643
|
+
private restoredFor;
|
|
7138
7644
|
constructor(ctx: ClientContext);
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7645
|
+
/** Fetch the variants in effect. Emits `experiments:loaded`, and `experiments:changed` for differences. */
|
|
7646
|
+
load(): Promise<OperationResult<GetExperimentsResponse>>;
|
|
7647
|
+
/** Variant id in effect, or `null` when the player is not in this experiment. */
|
|
7648
|
+
getVariant(experimentID: string): string | null;
|
|
7649
|
+
/** `Running` / `Stopped` / `RolledOut`, or `null` when unknown. */
|
|
7650
|
+
getStatus(experimentID: string): PlayerExperimentStatus | null;
|
|
7651
|
+
/** `Params` of the variant in effect (a copy). Empty when the player is not in the experiment. */
|
|
7652
|
+
getParams(experimentID: string): Record<string, string>;
|
|
7653
|
+
/**
|
|
7654
|
+
* One parameter, typed by the default you pass: a number default parses the value as a number,
|
|
7655
|
+
* a boolean default accepts `true`/`false`/`1`/`0`. A missing or unparsable value returns the
|
|
7656
|
+
* default — the game never has to guard against a publisher's typo.
|
|
7657
|
+
*/
|
|
7658
|
+
getParam(experimentID: string, key: string, defaultValue: string): string;
|
|
7659
|
+
getParam(experimentID: string, key: string, defaultValue: number): number;
|
|
7660
|
+
getParam(experimentID: string, key: string, defaultValue: boolean): boolean;
|
|
7661
|
+
isInVariant(experimentID: string, variantID: string): boolean;
|
|
7662
|
+
/** `false` — the publisher's plan has no A/B testing and every experiment gives control. */
|
|
7663
|
+
get isAbTestingAvailable(): boolean;
|
|
7664
|
+
/** Every experiment known for this player. */
|
|
7665
|
+
get all(): PlayerExperimentView[];
|
|
7666
|
+
private apply;
|
|
7667
|
+
/**
|
|
7668
|
+
* Last known values of THIS player on this device. Keyed by player: variants are per player,
|
|
7669
|
+
* and the next person to log in on a shared device must not start with someone else's.
|
|
7670
|
+
*/
|
|
7671
|
+
private restore;
|
|
7672
|
+
private save;
|
|
7673
|
+
private key;
|
|
7155
7674
|
}
|
|
7156
7675
|
|
|
7157
|
-
/** Thin transport wrapper for the
|
|
7158
|
-
declare class
|
|
7676
|
+
/** Thin transport wrapper for the Analytics feature (port of AnalyticsV2). */
|
|
7677
|
+
declare class AnalyticsApi {
|
|
7159
7678
|
private readonly ctx;
|
|
7160
7679
|
constructor(ctx: ClientContext);
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
claimTierReward(request: SeasonRequest): Promise<OperationResult<ClaimTierRewardResponse>>;
|
|
7167
|
-
claimTierRewardsBatch(request: SeasonRequest): Promise<OperationResult<ClaimTierRewardsBatchResponse>>;
|
|
7680
|
+
/**
|
|
7681
|
+
* One batch of events. Silent on purpose: delivery happens in the background and is retried by
|
|
7682
|
+
* `AnalyticsService`, so a failed attempt must not pop a global error in front of the player.
|
|
7683
|
+
*/
|
|
7684
|
+
logEvents(request: AnalyticsRequest): Promise<OperationResult<LogEventsResponse>>;
|
|
7168
7685
|
}
|
|
7169
7686
|
|
|
7170
|
-
/** Thin transport wrapper for the
|
|
7171
|
-
declare class
|
|
7687
|
+
/** Thin transport wrapper for the Experiment feature (port of ExperimentV2). */
|
|
7688
|
+
declare class ExperimentApi {
|
|
7172
7689
|
private readonly ctx;
|
|
7173
7690
|
constructor(ctx: ClientContext);
|
|
7174
|
-
|
|
7175
|
-
getDefinitions(request: PremiumRequest): Promise<OperationResult<PremiumDefinitionsResponse>>;
|
|
7176
|
-
getUserState(request: PremiumRequest): Promise<OperationResult<PremiumStateResponse>>;
|
|
7177
|
-
activateTrial(request: PremiumRequest): Promise<OperationResult<PremiumPurchaseResponse>>;
|
|
7178
|
-
purchaseItemOrCurrency(request: PremiumRequest): Promise<OperationResult<PremiumPurchaseResponse>>;
|
|
7179
|
-
purchaseRealMoney(request: PremiumRequest): Promise<OperationResult<PremiumPurchaseResponse>>;
|
|
7691
|
+
getExperiments(request: ExperimentRequest): Promise<OperationResult<GetExperimentsResponse>>;
|
|
7180
7692
|
}
|
|
7181
7693
|
|
|
7182
|
-
/** Thin transport wrapper for the
|
|
7183
|
-
|
|
7694
|
+
/** Thin transport wrapper for the Authentication feature (port of AuthenticationAPI.cs).
|
|
7695
|
+
* Authentication endpoints omit the userID segment and carry no ticket. */
|
|
7696
|
+
declare class AuthenticationApi {
|
|
7184
7697
|
private readonly ctx;
|
|
7185
7698
|
constructor(ctx: ClientContext);
|
|
7186
|
-
private
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7699
|
+
private endpoint;
|
|
7700
|
+
private login;
|
|
7701
|
+
loginWithDeviceID(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7702
|
+
loginWithTelegram(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7703
|
+
loginWithEmail(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7704
|
+
loginWithGoogle(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7705
|
+
loginWithSsoCode(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7706
|
+
/**
|
|
7707
|
+
* Start a registration. Anonymous.
|
|
7708
|
+
*
|
|
7709
|
+
* ⚠ Success does NOT mean the account exists. This only mails a code; the player is created by
|
|
7710
|
+
* {@link confirmEmailRegistration}. Always move on to the code screen — there is no flag to
|
|
7711
|
+
* check and no title that skips this step: confirmation is platform behaviour, not a setting.
|
|
7712
|
+
*
|
|
7713
|
+
* The response carries only `CodeTtlMinutes` and `ResendCooldownSeconds`, so the screen can
|
|
7714
|
+
* state how long the code lives and when "send again" will do something.
|
|
7715
|
+
*/
|
|
7716
|
+
registerWithEmail(request: AuthenticationRequest): Promise<OperationResult<EmailRegistrationResponse>>;
|
|
7717
|
+
/** Confirm the address with the code from the e-mail and create the player. Anonymous. */
|
|
7718
|
+
confirmEmailRegistration(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7719
|
+
/**
|
|
7720
|
+
* Mail the confirmation code again. Anonymous.
|
|
7721
|
+
*
|
|
7722
|
+
* Always answers with success — whether a registration was started, whether the cooldown has
|
|
7723
|
+
* passed, whether the letter left. Any other answer would say something about the address.
|
|
7724
|
+
*/
|
|
7725
|
+
resendVerificationCode(request: AuthenticationRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7726
|
+
/** Step 1 of wallet login: fetch the challenge message the wallet must sign. Anonymous. */
|
|
7727
|
+
requestWalletChallenge(request: AuthenticationRequest): Promise<OperationResult<WalletChallengeResponse>>;
|
|
7728
|
+
/** Step 2 of wallet login: exchange the signed challenge for a session. */
|
|
7729
|
+
loginWithWallet(request: AuthenticationRequest): Promise<OperationResult<PlatformLoginResponse>>;
|
|
7730
|
+
forgotPassword(request: AuthenticationRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7731
|
+
resetPassword(request: AuthenticationRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7202
7732
|
}
|
|
7203
7733
|
|
|
7204
|
-
/** Thin transport wrapper for the
|
|
7205
|
-
declare class
|
|
7734
|
+
/** Thin transport wrapper for the User feature (port of UserAPI.cs). */
|
|
7735
|
+
declare class UserApi {
|
|
7206
7736
|
private readonly ctx;
|
|
7207
7737
|
constructor(ctx: ClientContext);
|
|
7208
|
-
private
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7738
|
+
private endpoint;
|
|
7739
|
+
getClientState(request: UserRequest): Promise<OperationResult<ClientState>>;
|
|
7740
|
+
getClientStateExcept(request: UserRequest): Promise<OperationResult<ClientState>>;
|
|
7741
|
+
getStateVersions(request: UserRequest): Promise<OperationResult<UserStateVersions>>;
|
|
7742
|
+
getUserState(request: UserRequest): Promise<OperationResult<UserStateSlice>>;
|
|
7743
|
+
getInventory(request: UserRequest): Promise<OperationResult<UserInventoryState>>;
|
|
7744
|
+
getEventTokens(request: UserRequest): Promise<OperationResult<UserEventTokensState>>;
|
|
7745
|
+
getUsageTime(request: UserRequest): Promise<OperationResult<UsageTimeStats>>;
|
|
7746
|
+
addUsageTime(request: UserRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7747
|
+
deleteUserAccount(request: UserRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7748
|
+
changeUsername(request: UserRequest): Promise<OperationResult<ChangeUsernameResponse>>;
|
|
7217
7749
|
}
|
|
7218
7750
|
|
|
7219
|
-
/** Thin transport wrapper for the
|
|
7220
|
-
declare class
|
|
7751
|
+
/** Thin transport wrapper for the Currency feature (port of CurrencyAPI.cs). */
|
|
7752
|
+
declare class CurrencyApi {
|
|
7221
7753
|
private readonly ctx;
|
|
7222
7754
|
constructor(ctx: ClientContext);
|
|
7223
7755
|
private send;
|
|
7224
|
-
|
|
7225
|
-
|
|
7756
|
+
convert(request: CurrencyRequest): Promise<OperationResult<ConvertResponse>>;
|
|
7757
|
+
cryptoConvert(request: CurrencyRequest): Promise<OperationResult<CryptoConvertResponse>>;
|
|
7226
7758
|
}
|
|
7227
7759
|
|
|
7228
|
-
/** Thin transport wrapper for the
|
|
7229
|
-
declare class
|
|
7760
|
+
/** Thin transport wrapper for the Item feature (port of ItemAPI.cs). */
|
|
7761
|
+
declare class ItemApi {
|
|
7762
|
+
private readonly ctx;
|
|
7763
|
+
constructor(ctx: ClientContext);
|
|
7764
|
+
upgradeLevel(request: ItemRequest): Promise<OperationResult<UpgradeItemLevelResponse>>;
|
|
7765
|
+
upgradeLevelsBatch(request: ItemRequest): Promise<OperationResult<UpgradeLevelsBatchResponse>>;
|
|
7766
|
+
}
|
|
7767
|
+
|
|
7768
|
+
/** Thin transport wrapper for the Store feature (port of StoreAPI.cs). */
|
|
7769
|
+
declare class StoreApi {
|
|
7230
7770
|
private readonly ctx;
|
|
7231
7771
|
constructor(ctx: ClientContext);
|
|
7232
7772
|
private send;
|
|
7773
|
+
purchase(request: StoreRequest): Promise<OperationResult<StorePurchaseResponse>>;
|
|
7774
|
+
purchaseBatch(request: StoreRequest): Promise<OperationResult<PurchaseBatchResponse>>;
|
|
7775
|
+
getDefinitions(request: StoreRequest): Promise<OperationResult<StoreDefinitions>>;
|
|
7776
|
+
getUserState(request: StoreRequest): Promise<OperationResult<UserStoreState>>;
|
|
7233
7777
|
/**
|
|
7234
|
-
*
|
|
7235
|
-
*
|
|
7236
|
-
*
|
|
7237
|
-
*
|
|
7238
|
-
|
|
7239
|
-
private generate;
|
|
7240
|
-
/**
|
|
7241
|
-
* A read of one generation. The throttle key includes the generation, so polling two jobs back
|
|
7242
|
-
* to back is not rejected as a duplicate — while polling the SAME job faster than the throttle
|
|
7243
|
-
* window still is.
|
|
7778
|
+
* The shop resolved for this player.
|
|
7779
|
+
*
|
|
7780
|
+
* This is what a shop screen draws. `getDefinitions` returns the CONFIG — the same for
|
|
7781
|
+
* everyone — and from it rotation, badges, timers and remaining limits cannot be derived:
|
|
7782
|
+
* they either depend on the player or must be deterministic on the server.
|
|
7244
7783
|
*/
|
|
7245
|
-
|
|
7246
|
-
getDefinitions(request: AIRequest): Promise<OperationResult<AIPublicDefinitions>>;
|
|
7247
|
-
generateText(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7248
|
-
getText(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7249
|
-
generateImage(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7250
|
-
editImage(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7251
|
-
getImage(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7252
|
-
generateVideo(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7253
|
-
getVideo(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7254
|
-
generateAudio(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7255
|
-
getAudio(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7256
|
-
generateMusic(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7257
|
-
getMusic(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7258
|
-
generateThreeD(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7259
|
-
getThreeD(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7260
|
-
listGenerations(request: AIRequest): Promise<OperationResult<AIGenerationListView>>;
|
|
7261
|
-
getGeneration(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
7784
|
+
getStorefront(request: StoreRequest): Promise<OperationResult<GetStorefrontResponse>>;
|
|
7262
7785
|
}
|
|
7263
7786
|
|
|
7264
|
-
/** Thin transport wrapper for the
|
|
7265
|
-
declare class
|
|
7787
|
+
/** Thin transport wrapper for the Purchase feature (port of PurchaseAPI.cs). */
|
|
7788
|
+
declare class PurchaseApi {
|
|
7266
7789
|
private readonly ctx;
|
|
7267
7790
|
constructor(ctx: ClientContext);
|
|
7268
7791
|
private send;
|
|
7269
|
-
getDefinitions(request:
|
|
7270
|
-
getUserState(request:
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
useCollectibleJoker(request: CollectionRequest): Promise<OperationResult<UseCollectibleJokerResponse>>;
|
|
7274
|
-
claimSetReward(request: CollectionRequest): Promise<OperationResult<ClaimSetRewardResponse>>;
|
|
7275
|
-
claimSetRewardsBatch(request: CollectionRequest): Promise<OperationResult<ClaimSetRewardsBatchResponse>>;
|
|
7276
|
-
claimGrandPrize(request: CollectionRequest): Promise<OperationResult<ClaimGrandPrizeResponse>>;
|
|
7277
|
-
sendTradeOffer(request: CollectionRequest): Promise<OperationResult<SendTradeOfferResponse>>;
|
|
7278
|
-
cancelTradeOffer(request: CollectionRequest): Promise<OperationResult<CancelTradeOfferResponse>>;
|
|
7279
|
-
acceptTradeOffer(request: CollectionRequest): Promise<OperationResult<AcceptTradeOfferResponse>>;
|
|
7280
|
-
declineTradeOffer(request: CollectionRequest): Promise<OperationResult<DeclineTradeOfferResponse>>;
|
|
7281
|
-
getMyTradeOffers(request: CollectionRequest): Promise<OperationResult<GetTradeOffersResponse>>;
|
|
7282
|
-
getIncomingTradeOffers(request: CollectionRequest): Promise<OperationResult<GetTradeOffersResponse>>;
|
|
7792
|
+
getDefinitions(request: PurchaseRequest): Promise<OperationResult<PurchaseDefinitions>>;
|
|
7793
|
+
getUserState(request: PurchaseRequest): Promise<OperationResult<UserPurchaseState>>;
|
|
7794
|
+
validatePurchase(request: PurchaseRequest): Promise<OperationResult<PurchaseValidationResponse>>;
|
|
7795
|
+
validatePurchasesBatch(request: PurchaseRequest): Promise<OperationResult<PurchaseValidationBatchResponse>>;
|
|
7283
7796
|
}
|
|
7284
7797
|
|
|
7285
|
-
/** Thin transport wrapper for the
|
|
7286
|
-
declare class
|
|
7798
|
+
/** Thin transport wrapper for the Lootbox feature (port of LootboxAPI.cs). */
|
|
7799
|
+
declare class LootboxApi {
|
|
7287
7800
|
private readonly ctx;
|
|
7288
7801
|
constructor(ctx: ClientContext);
|
|
7289
7802
|
private send;
|
|
7290
|
-
getDefinitions(request:
|
|
7291
|
-
|
|
7292
|
-
getUserState(request: CoopEventRequest): Promise<OperationResult<CoopUserStateResponse>>;
|
|
7293
|
-
getGroupState(request: CoopEventRequest): Promise<OperationResult<CoopGroupStateResponse>>;
|
|
7294
|
-
joinOrCreateGroup(request: CoopEventRequest): Promise<OperationResult<CoopGroupStateResponse>>;
|
|
7295
|
-
spin(request: CoopEventRequest): Promise<OperationResult<CoopSpinResponse>>;
|
|
7296
|
-
claimObjectReward(request: CoopEventRequest): Promise<OperationResult<CoopClaimRewardResponse>>;
|
|
7297
|
-
claimGrandPrize(request: CoopEventRequest): Promise<OperationResult<CoopClaimRewardResponse>>;
|
|
7298
|
-
leaveGroup(request: CoopEventRequest): Promise<OperationResult<CoopLeaveGroupResponse>>;
|
|
7803
|
+
getDefinitions(request: LootboxRequest): Promise<OperationResult<LootboxDefinitionsResponse>>;
|
|
7804
|
+
open(request: LootboxRequest): Promise<OperationResult<LootboxOpenResponse>>;
|
|
7299
7805
|
}
|
|
7300
7806
|
|
|
7301
|
-
/** Thin transport wrapper for the
|
|
7302
|
-
declare class
|
|
7807
|
+
/** Thin transport wrapper for the Reward feature (port of RewardAPI.cs). */
|
|
7808
|
+
declare class RewardApi {
|
|
7303
7809
|
private readonly ctx;
|
|
7304
7810
|
constructor(ctx: ClientContext);
|
|
7305
7811
|
private send;
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
claimMilestonesBatch(request: DealOfferRequest): Promise<OperationResult<ClaimDealMilestonesBatchResponse>>;
|
|
7812
|
+
getRewardDefinitions(request: RewardRequest): Promise<OperationResult<RewardDefinitionsResponse>>;
|
|
7813
|
+
getUserRewardsState(request: RewardRequest): Promise<OperationResult<UserRewardsStateResponse>>;
|
|
7814
|
+
getMilestoneRewardMultiplier(request: RewardRequest): Promise<OperationResult<GetMilestoneRewardMultiplierResponse>>;
|
|
7815
|
+
claimDailyReward(request: RewardRequest): Promise<OperationResult<ClaimDailyRewardResponse>>;
|
|
7816
|
+
collectIdleAccrual(request: RewardRequest): Promise<OperationResult<CollectIdleAccrualResponse>>;
|
|
7817
|
+
claimComebackReward(request: RewardRequest): Promise<OperationResult<ClaimComebackRewardResponse>>;
|
|
7818
|
+
claimReward(request: RewardRequest): Promise<OperationResult<ClaimRewardResponse>>;
|
|
7314
7819
|
}
|
|
7315
7820
|
|
|
7316
|
-
/** Thin transport wrapper for the
|
|
7317
|
-
declare class
|
|
7821
|
+
/** Thin transport wrapper for the Tutorial feature (port of TutorialV2). */
|
|
7822
|
+
declare class TutorialApi {
|
|
7318
7823
|
private readonly ctx;
|
|
7319
7824
|
constructor(ctx: ClientContext);
|
|
7320
7825
|
private send;
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
|
|
7324
|
-
|
|
7325
|
-
|
|
7826
|
+
getTutorialDefinitions(request: TutorialRequest): Promise<OperationResult<TutorialDefinitions>>;
|
|
7827
|
+
getUserTutorialState(request: TutorialRequest): Promise<OperationResult<GetUserTutorialStateResponse>>;
|
|
7828
|
+
startFlow(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7829
|
+
reportStepShown(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7830
|
+
completeStep(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7831
|
+
completeStepsBatch(request: TutorialRequest): Promise<OperationResult<TutorialFlowBatchResponse>>;
|
|
7832
|
+
skipStep(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7833
|
+
skipFlow(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7834
|
+
claimFlowReward(request: TutorialRequest): Promise<OperationResult<TutorialClaimResponse>>;
|
|
7835
|
+
resetFlow(request: TutorialRequest): Promise<OperationResult<TutorialFlowResponse>>;
|
|
7326
7836
|
}
|
|
7327
7837
|
|
|
7328
|
-
/** Thin transport wrapper for
|
|
7329
|
-
declare class
|
|
7838
|
+
/** Thin transport wrapper for Community Marketing (port of CommunityMarketingV2). */
|
|
7839
|
+
declare class CommunityMarketingApi {
|
|
7330
7840
|
private readonly ctx;
|
|
7331
7841
|
constructor(ctx: ClientContext);
|
|
7332
7842
|
private send;
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
acceptFriendRequest(request: SocialRequest): Promise<OperationResult<FriendActionResponse>>;
|
|
7339
|
-
declineFriendRequest(request: SocialRequest): Promise<OperationResult<FriendActionResponse>>;
|
|
7340
|
-
removeFriend(request: SocialRequest): Promise<OperationResult<FriendActionResponse>>;
|
|
7341
|
-
getTimeline(request: SocialRequest): Promise<OperationResult<TimelineResponse>>;
|
|
7843
|
+
getCommunityMarketingState(request: CommunityMarketingRequest): Promise<OperationResult<CommunityMarketingState>>;
|
|
7844
|
+
getEarnings(request: CommunityMarketingRequest): Promise<OperationResult<CommunityEarningsResponse>>;
|
|
7845
|
+
claim(request: CommunityMarketingRequest): Promise<OperationResult<CommunityClaimResponse>>;
|
|
7846
|
+
checkJoinEligibility(request: CommunityMarketingRequest): Promise<OperationResult<CommunityEligibilityResponse>>;
|
|
7847
|
+
withdrawCryptoReward(request: CommunityMarketingRequest): Promise<OperationResult<CommunityWithdrawalResponse>>;
|
|
7342
7848
|
}
|
|
7343
7849
|
|
|
7344
|
-
/** Thin transport wrapper for the
|
|
7345
|
-
declare class
|
|
7850
|
+
/** Thin transport wrapper for the Chat feature (port of ChatV2). */
|
|
7851
|
+
declare class ChatApi {
|
|
7346
7852
|
private readonly ctx;
|
|
7347
7853
|
constructor(ctx: ClientContext);
|
|
7348
7854
|
private send;
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
-
|
|
7357
|
-
|
|
7855
|
+
getChatDefinitions(request: ChatRequest): Promise<OperationResult<ChatDefinitions>>;
|
|
7856
|
+
getChannels(request: ChatRequest): Promise<OperationResult<ChatChannelsResponse>>;
|
|
7857
|
+
poll(request: ChatRequest): Promise<OperationResult<ChatPollResponse>>;
|
|
7858
|
+
getHistory(request: ChatRequest): Promise<OperationResult<ChatHistoryResponse>>;
|
|
7859
|
+
getConversations(request: ChatRequest): Promise<OperationResult<ChatConversationsResponse>>;
|
|
7860
|
+
sendMessage(request: ChatRequest): Promise<OperationResult<ChatSendResponse>>;
|
|
7861
|
+
openDirectChannel(request: ChatRequest): Promise<OperationResult<ChatDirectChannelResponse>>;
|
|
7862
|
+
markRead(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7863
|
+
joinChannel(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7864
|
+
leaveChannel(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7865
|
+
reportMessage(request: ChatRequest): Promise<OperationResult<ChatReportResponse>>;
|
|
7866
|
+
ignoreUser(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7867
|
+
unignoreUser(request: ChatRequest): Promise<OperationResult<ChatStateResponse>>;
|
|
7868
|
+
}
|
|
7869
|
+
|
|
7870
|
+
/** Thin transport wrapper for push subscriptions (port of PushV2). */
|
|
7871
|
+
declare class PushApi {
|
|
7358
7872
|
private readonly ctx;
|
|
7359
7873
|
constructor(ctx: ClientContext);
|
|
7360
7874
|
private send;
|
|
7361
|
-
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
|
|
7365
|
-
setPublicData(request: UserCustomDataRequest): Promise<OperationResult<SetUserCustomDataResponse>>;
|
|
7366
|
-
deleteKey(request: UserCustomDataRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7367
|
-
batchSet(request: UserCustomDataRequest): Promise<OperationResult<BatchSetUserCustomDataResponse>>;
|
|
7368
|
-
batchDelete(request: UserCustomDataRequest): Promise<OperationResult<BatchDeleteUserCustomDataResponse>>;
|
|
7369
|
-
batchGetPublicUserCustomDataOf(request: UserCustomDataRequest): Promise<OperationResult<BatchGetPublicUserCustomDataResponse>>;
|
|
7875
|
+
getPushConfig(request: PushRequest): Promise<OperationResult<PushConfigResponse>>;
|
|
7876
|
+
subscribePush(request: PushRequest): Promise<OperationResult<PushSubscriptionView>>;
|
|
7877
|
+
unsubscribePush(request: PushRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7878
|
+
getPushSubscriptions(request: PushRequest): Promise<OperationResult<PushSubscriptionListResponse>>;
|
|
7370
7879
|
}
|
|
7371
7880
|
|
|
7372
|
-
/** Thin transport wrapper for the
|
|
7373
|
-
declare class
|
|
7881
|
+
/** Thin transport wrapper for the Localization feature (port of LocalizationV2). */
|
|
7882
|
+
declare class LocalizationApi {
|
|
7374
7883
|
private readonly ctx;
|
|
7375
7884
|
constructor(ctx: ClientContext);
|
|
7376
7885
|
private send;
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7886
|
+
/** Which languages exist and what their table versions are. Downloads no table. */
|
|
7887
|
+
getLocalizationManifest(request: LocalizationRequest): Promise<OperationResult<LocalizationManifestResponse>>;
|
|
7888
|
+
/**
|
|
7889
|
+
* A translation table in the response body.
|
|
7890
|
+
*
|
|
7891
|
+
* This is the FALLBACK path: the main one is the immutable CDN artifact referenced by
|
|
7892
|
+
* `ClientState.Localization.Url`. Coming here is normal (first player after a translation
|
|
7893
|
+
* edit, blocked CDN, a manual language switch) — it just costs one more round trip.
|
|
7894
|
+
*/
|
|
7895
|
+
getLocalizationTable(request: LocalizationRequest): Promise<OperationResult<LocalizationTableResponse>>;
|
|
7380
7896
|
}
|
|
7381
7897
|
|
|
7382
|
-
/** Thin transport wrapper for the
|
|
7383
|
-
declare class
|
|
7898
|
+
/** Thin transport wrapper for the Quest feature (port of QuestAPI.cs). */
|
|
7899
|
+
declare class QuestApi {
|
|
7384
7900
|
private readonly ctx;
|
|
7385
7901
|
constructor(ctx: ClientContext);
|
|
7386
7902
|
private send;
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
getItemDefinitions(request: TitleRequest): Promise<OperationResult<ItemDefinitions>>;
|
|
7397
|
-
getServerTime(request: TitleRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7903
|
+
getQuestDefinitions(request: QuestRequest): Promise<OperationResult<QuestDefinitions>>;
|
|
7904
|
+
getUserQuestState(request: QuestRequest): Promise<OperationResult<GetUserQuestStateResponse>>;
|
|
7905
|
+
refreshQuestCycles(request: QuestRequest): Promise<OperationResult<SuccessResponse>>;
|
|
7906
|
+
claimQuestReward(request: QuestRequest): Promise<OperationResult<ClaimQuestRewardResponse>>;
|
|
7907
|
+
claimQuestRewardsBatch(request: QuestRequest): Promise<OperationResult<ClaimQuestRewardsBatchResponse>>;
|
|
7908
|
+
claimMilestoneReward(request: QuestRequest): Promise<OperationResult<ClaimMilestoneRewardResponse>>;
|
|
7909
|
+
claimMilestoneRewardsBatch(request: QuestRequest): Promise<OperationResult<ClaimMilestoneRewardsBatchResponse>>;
|
|
7910
|
+
claimGroupCompletionReward(request: QuestRequest): Promise<OperationResult<ClaimGroupCompletionRewardResponse>>;
|
|
7911
|
+
addQuestProgress(request: QuestRequest): Promise<OperationResult<AddQuestProgressResponse>>;
|
|
7398
7912
|
}
|
|
7399
7913
|
|
|
7400
|
-
/** Thin transport wrapper for the
|
|
7401
|
-
declare class
|
|
7914
|
+
/** Thin transport wrapper for the TimedEvent feature (port of TimedEventAPI.cs). */
|
|
7915
|
+
declare class TimedEventApi {
|
|
7402
7916
|
private readonly ctx;
|
|
7403
7917
|
constructor(ctx: ClientContext);
|
|
7404
7918
|
private send;
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
boardSpecialApplyMultiplier(request: GameLoopRequest): Promise<OperationResult<SpecialApplyMultiplierResponse>>;
|
|
7416
|
-
boardSpecialClaim(request: GameLoopRequest): Promise<OperationResult<SpecialClaimResponse>>;
|
|
7417
|
-
getCommunityChestState(request: GameLoopRequest): Promise<OperationResult<CommunityChestUserStateResponse>>;
|
|
7418
|
-
joinOrCreateCommunityChest(request: GameLoopRequest): Promise<OperationResult<CommunityChestGroupStateResponse>>;
|
|
7419
|
-
claimCommunityChestMilestone(request: GameLoopRequest): Promise<OperationResult<CommunityChestClaimResponse>>;
|
|
7420
|
-
claimCommunityChestGrandPrize(request: GameLoopRequest): Promise<OperationResult<CommunityChestClaimResponse>>;
|
|
7421
|
-
leaveCommunityChest(request: GameLoopRequest): Promise<OperationResult<CommunityChestLeaveResponse>>;
|
|
7919
|
+
getActiveEvents(request: TimedEventRequest): Promise<OperationResult<GetActiveEventsResponse>>;
|
|
7920
|
+
getDefinitions(request: TimedEventRequest): Promise<OperationResult<TimedEventDefinitions>>;
|
|
7921
|
+
getUserLteState(request: TimedEventRequest): Promise<OperationResult<UserTimedEventStateResponse>>;
|
|
7922
|
+
grantTokens(request: TimedEventRequest): Promise<OperationResult<ResourceOperation>>;
|
|
7923
|
+
spendTokens(request: TimedEventRequest): Promise<OperationResult<EventTokenSpendResponse>>;
|
|
7924
|
+
claimMilestone(request: TimedEventRequest): Promise<OperationResult<EventMilestoneClaimResponse>>;
|
|
7925
|
+
claimMilestonesBatch(request: TimedEventRequest): Promise<OperationResult<ClaimMilestonesBatchResponse>>;
|
|
7926
|
+
claimAllMilestones(request: TimedEventRequest): Promise<OperationResult<ClaimMilestonesBatchResponse>>;
|
|
7927
|
+
spendTokensBatch(request: TimedEventRequest): Promise<OperationResult<SpendTokensBatchResponse>>;
|
|
7928
|
+
grantTokensBatch(request: TimedEventRequest): Promise<OperationResult<GrantTokensBatchResponse>>;
|
|
7422
7929
|
}
|
|
7423
7930
|
|
|
7424
|
-
/** Thin transport wrapper for the
|
|
7425
|
-
declare class
|
|
7931
|
+
/** Thin transport wrapper for the Leaderboard feature (port of LeaderboardAPI.cs). */
|
|
7932
|
+
declare class LeaderboardApi {
|
|
7426
7933
|
private readonly ctx;
|
|
7427
7934
|
constructor(ctx: ClientContext);
|
|
7428
|
-
|
|
7935
|
+
private send;
|
|
7936
|
+
getDefinitions(request: LeaderboardRequest): Promise<OperationResult<LeaderboardDefinitions>>;
|
|
7937
|
+
getLeaderboard(request: LeaderboardRequest): Promise<OperationResult<GetLeaderboardResponse>>;
|
|
7938
|
+
getMyProgress(request: LeaderboardRequest): Promise<OperationResult<GetMyProgressResponse>>;
|
|
7939
|
+
submitScore(request: LeaderboardRequest): Promise<OperationResult<SubmitScoreResponse>>;
|
|
7940
|
+
submitScoreFromSource(request: LeaderboardRequest): Promise<OperationResult<SubmitScoreResponse>>;
|
|
7941
|
+
claimCycleReward(request: LeaderboardRequest): Promise<OperationResult<ClaimCycleRewardResponse>>;
|
|
7942
|
+
claimMilestone(request: LeaderboardRequest): Promise<OperationResult<ClaimLeaderboardMilestoneResponse>>;
|
|
7943
|
+
getFriendsLeaderboard(request: LeaderboardRequest): Promise<OperationResult<GetLeaderboardResponse>>;
|
|
7944
|
+
getLeaderboardsBatch(request: LeaderboardRequest): Promise<OperationResult<GetLeaderboardsBatchResponse>>;
|
|
7945
|
+
getProgressBatch(request: LeaderboardRequest): Promise<OperationResult<GetProgressBatchResponse>>;
|
|
7946
|
+
claimCycleRewardsBatch(request: LeaderboardRequest): Promise<OperationResult<ClaimCycleRewardsBatchResponse>>;
|
|
7947
|
+
claimMilestonesBatch(request: LeaderboardRequest): Promise<OperationResult<ClaimLeaderboardMilestonesBatchResponse>>;
|
|
7948
|
+
submitScoresBatch(request: LeaderboardRequest): Promise<OperationResult<SubmitScoresBatchResponse>>;
|
|
7949
|
+
claimAllRewardsBatch(request: LeaderboardRequest): Promise<OperationResult<ClaimAllRewardsBatchResponse>>;
|
|
7950
|
+
getOverviewBatch(request: LeaderboardRequest): Promise<OperationResult<GetOverviewBatchResponse>>;
|
|
7429
7951
|
}
|
|
7430
7952
|
|
|
7431
|
-
/** Thin transport wrapper for the
|
|
7432
|
-
declare class
|
|
7953
|
+
/** Thin transport wrapper for the Season feature (port of SeasonAPI.cs). */
|
|
7954
|
+
declare class SeasonApi {
|
|
7433
7955
|
private readonly ctx;
|
|
7434
7956
|
constructor(ctx: ClientContext);
|
|
7435
7957
|
private send;
|
|
7436
|
-
getDefinitions(request:
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
getTransactionHistory(request: BlockchainRequest): Promise<OperationResult<TransactionHistoryResponse>>;
|
|
7443
|
-
retryWithdrawal(request: BlockchainRequest): Promise<OperationResult<RetryWithdrawalResponse>>;
|
|
7444
|
-
confirmWithdrawal(request: BlockchainRequest): Promise<OperationResult<ConfirmWithdrawalResponse>>;
|
|
7445
|
-
donateToDeveloper(request: BlockchainRequest): Promise<OperationResult<DonationResponse>>;
|
|
7446
|
-
donateToUsersPool(request: BlockchainRequest): Promise<OperationResult<DonationResponse>>;
|
|
7958
|
+
getDefinitions(request: SeasonRequest): Promise<OperationResult<SeasonDefinitions>>;
|
|
7959
|
+
getActiveSeason(request: SeasonRequest): Promise<OperationResult<ActiveSeasonInfo>>;
|
|
7960
|
+
getUserState(request: SeasonRequest): Promise<OperationResult<UserSeasonStateResponse>>;
|
|
7961
|
+
grantStatusTokens(request: SeasonRequest): Promise<OperationResult<GrantStatusTokensResponse>>;
|
|
7962
|
+
claimTierReward(request: SeasonRequest): Promise<OperationResult<ClaimTierRewardResponse>>;
|
|
7963
|
+
claimTierRewardsBatch(request: SeasonRequest): Promise<OperationResult<ClaimTierRewardsBatchResponse>>;
|
|
7447
7964
|
}
|
|
7448
7965
|
|
|
7449
|
-
/** Thin transport wrapper for the
|
|
7450
|
-
declare class
|
|
7966
|
+
/** Thin transport wrapper for the Premium feature (port of PremiumAPI.cs). */
|
|
7967
|
+
declare class PremiumApi {
|
|
7451
7968
|
private readonly ctx;
|
|
7452
7969
|
constructor(ctx: ClientContext);
|
|
7453
7970
|
private send;
|
|
7454
|
-
getDefinitions(request:
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
getMyState(request: MarketplaceRequest): Promise<OperationResult<MarketplaceMyStateResponse>>;
|
|
7460
|
-
getHistory(request: MarketplaceRequest): Promise<OperationResult<MarketplaceHistoryResponse>>;
|
|
7461
|
-
createListing(request: MarketplaceRequest): Promise<OperationResult<MarketplaceCreateOfferResponse>>;
|
|
7462
|
-
cancelListing(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
7463
|
-
buy(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
7464
|
-
marketBuy(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
7465
|
-
marketSell(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
7466
|
-
createAuction(request: MarketplaceRequest): Promise<OperationResult<MarketplaceCreateOfferResponse>>;
|
|
7467
|
-
placeBid(request: MarketplaceRequest): Promise<OperationResult<MarketplacePlaceBidResponse>>;
|
|
7468
|
-
claimAuction(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
7469
|
-
createBuyOrder(request: MarketplaceRequest): Promise<OperationResult<MarketplaceCreateOfferResponse>>;
|
|
7470
|
-
cancelBuyOrder(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
7471
|
-
fillBuyOrder(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
7472
|
-
createDirectTrade(request: MarketplaceRequest): Promise<OperationResult<MarketplaceCreateOfferResponse>>;
|
|
7473
|
-
respondDirectTrade(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
7474
|
-
cancelDirectTrade(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
7475
|
-
claimBack(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
7971
|
+
getDefinitions(request: PremiumRequest): Promise<OperationResult<PremiumDefinitionsResponse>>;
|
|
7972
|
+
getUserState(request: PremiumRequest): Promise<OperationResult<PremiumStateResponse>>;
|
|
7973
|
+
activateTrial(request: PremiumRequest): Promise<OperationResult<PremiumPurchaseResponse>>;
|
|
7974
|
+
purchaseItemOrCurrency(request: PremiumRequest): Promise<OperationResult<PremiumPurchaseResponse>>;
|
|
7975
|
+
purchaseRealMoney(request: PremiumRequest): Promise<OperationResult<PremiumPurchaseResponse>>;
|
|
7476
7976
|
}
|
|
7477
7977
|
|
|
7478
|
-
/** Thin transport wrapper for the
|
|
7479
|
-
declare class
|
|
7978
|
+
/** Thin transport wrapper for the Character feature (port of CharacterAPI.cs). */
|
|
7979
|
+
declare class CharacterApi {
|
|
7480
7980
|
private readonly ctx;
|
|
7481
7981
|
constructor(ctx: ClientContext);
|
|
7482
7982
|
private send;
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7983
|
+
getCharacterDefinitions(request: CharacterRequest): Promise<OperationResult<CharacterDefinitions>>;
|
|
7984
|
+
getUserCharacters(request: CharacterRequest): Promise<OperationResult<GetCharactersResponse>>;
|
|
7985
|
+
unlockCharacter(request: CharacterRequest): Promise<OperationResult<UnlockCharacterResponse>>;
|
|
7986
|
+
upgradeStatLevel(request: CharacterRequest): Promise<OperationResult<UpgradeStatLevelResponse>>;
|
|
7987
|
+
upgradeCharacterLevel(request: CharacterRequest): Promise<OperationResult<UpgradeCharacterLevelResponse>>;
|
|
7988
|
+
equipItems(request: CharacterRequest): Promise<OperationResult<EquipItemsResponse>>;
|
|
7989
|
+
unequipItems(request: CharacterRequest): Promise<OperationResult<UnequipItemsResponse>>;
|
|
7990
|
+
unequipAllCharacters(request: CharacterRequest): Promise<OperationResult<UnequipAllCharactersResponse>>;
|
|
7991
|
+
unlockCharactersBatch(request: CharacterRequest): Promise<OperationResult<UnlockCharactersBatchResponse>>;
|
|
7992
|
+
upgradeCharacterLevelsBatch(request: CharacterRequest): Promise<OperationResult<UpgradeCharacterLevelsBatchResponse>>;
|
|
7993
|
+
upgradeStatLevelsBatch(request: CharacterRequest): Promise<OperationResult<UpgradeStatLevelsBatchResponse>>;
|
|
7994
|
+
unlockSkin(request: CharacterRequest): Promise<OperationResult<UnlockSkinResponse>>;
|
|
7995
|
+
equipSkin(request: CharacterRequest): Promise<OperationResult<EquipSkinResponse>>;
|
|
7996
|
+
unequipSkin(request: CharacterRequest): Promise<OperationResult<UnequipSkinResponse>>;
|
|
7997
|
+
getCharacterSkins(request: CharacterRequest): Promise<OperationResult<GetCharacterSkinsResponse>>;
|
|
7493
7998
|
}
|
|
7494
7999
|
|
|
7495
|
-
/** Thin transport wrapper for the
|
|
7496
|
-
declare class
|
|
8000
|
+
/** Thin transport wrapper for the Match feature (port of MatchAPI.cs). */
|
|
8001
|
+
declare class MatchApi {
|
|
7497
8002
|
private readonly ctx;
|
|
7498
8003
|
constructor(ctx: ClientContext);
|
|
7499
8004
|
private send;
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
|
|
7522
|
-
|
|
7523
|
-
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7534
|
-
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
8005
|
+
createMatch(request: MatchRequest): Promise<OperationResult<CreateMatchResponse>>;
|
|
8006
|
+
updateMatch(request: MatchRequest): Promise<OperationResult<UpdateMatchResponse>>;
|
|
8007
|
+
cancelMatch(request: MatchRequest): Promise<OperationResult<CancelMatchResponse>>;
|
|
8008
|
+
instantBattle(request: MatchRequest): Promise<OperationResult<InstantBattleResponse>>;
|
|
8009
|
+
saveStrategy(request: MatchRequest): Promise<OperationResult<SuccessResponse>>;
|
|
8010
|
+
getMyMatches(request: MatchRequest): Promise<OperationResult<MatchesPageResponse>>;
|
|
8011
|
+
getAvailableMatches(request: MatchRequest): Promise<OperationResult<MatchesPageResponse>>;
|
|
8012
|
+
getDefinitions(request: MatchRequest): Promise<OperationResult<GetMatchDefinitionsResponse>>;
|
|
8013
|
+
}
|
|
8014
|
+
|
|
8015
|
+
/** Thin transport wrapper for the Craft feature (port of CraftAPI.cs). */
|
|
8016
|
+
declare class CraftApi {
|
|
8017
|
+
private readonly ctx;
|
|
8018
|
+
constructor(ctx: ClientContext);
|
|
8019
|
+
private send;
|
|
8020
|
+
getDefinitions(request: CraftRequest): Promise<OperationResult<CraftDefinitionsResponse>>;
|
|
8021
|
+
craft(request: CraftRequest): Promise<OperationResult<CraftResponse>>;
|
|
8022
|
+
}
|
|
8023
|
+
|
|
8024
|
+
/** Thin transport wrapper for the AI feature (port of AIAPI.cs). */
|
|
8025
|
+
declare class AIApi {
|
|
8026
|
+
private readonly ctx;
|
|
8027
|
+
constructor(ctx: ClientContext);
|
|
8028
|
+
private send;
|
|
8029
|
+
/**
|
|
8030
|
+
* A paid generate call: long timeout and NO transport auto-retry. A timed-out submit most likely
|
|
8031
|
+
* reached the server, and a silent resend would race it. The failure surfaces as `connection`
|
|
8032
|
+
* instead; the caller retries with the SAME `RelatedEntityID`, which the server answers with the
|
|
8033
|
+
* original generation.
|
|
8034
|
+
*/
|
|
8035
|
+
private generate;
|
|
8036
|
+
/**
|
|
8037
|
+
* A read of one generation. The throttle key includes the generation, so polling two jobs back
|
|
8038
|
+
* to back is not rejected as a duplicate — while polling the SAME job faster than the throttle
|
|
8039
|
+
* window still is.
|
|
8040
|
+
*/
|
|
8041
|
+
private readGeneration;
|
|
8042
|
+
getDefinitions(request: AIRequest): Promise<OperationResult<AIPublicDefinitions>>;
|
|
8043
|
+
generateText(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8044
|
+
getText(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8045
|
+
generateImage(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8046
|
+
editImage(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8047
|
+
getImage(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8048
|
+
generateVideo(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8049
|
+
getVideo(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8050
|
+
generateAudio(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8051
|
+
getAudio(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8052
|
+
generateMusic(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8053
|
+
getMusic(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8054
|
+
generateThreeD(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8055
|
+
getThreeD(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8056
|
+
listGenerations(request: AIRequest): Promise<OperationResult<AIGenerationListView>>;
|
|
8057
|
+
getGeneration(request: AIRequest): Promise<OperationResult<AIGenerationView>>;
|
|
8058
|
+
}
|
|
8059
|
+
|
|
8060
|
+
/** Thin transport wrapper for the Collection feature (port of CollectionAPI.cs). */
|
|
8061
|
+
declare class CollectionApi {
|
|
8062
|
+
private readonly ctx;
|
|
8063
|
+
constructor(ctx: ClientContext);
|
|
8064
|
+
private send;
|
|
8065
|
+
getDefinitions(request: CollectionRequest): Promise<OperationResult<CollectionDefinitions>>;
|
|
8066
|
+
getUserState(request: CollectionRequest): Promise<OperationResult<UserCollectionState>>;
|
|
8067
|
+
openPack(request: CollectionRequest): Promise<OperationResult<OpenPackResponse>>;
|
|
8068
|
+
openCollectionChest(request: CollectionRequest): Promise<OperationResult<OpenCollectionChestResponse>>;
|
|
8069
|
+
useCollectibleJoker(request: CollectionRequest): Promise<OperationResult<UseCollectibleJokerResponse>>;
|
|
8070
|
+
claimSetReward(request: CollectionRequest): Promise<OperationResult<ClaimSetRewardResponse>>;
|
|
8071
|
+
claimSetRewardsBatch(request: CollectionRequest): Promise<OperationResult<ClaimSetRewardsBatchResponse>>;
|
|
8072
|
+
claimGrandPrize(request: CollectionRequest): Promise<OperationResult<ClaimGrandPrizeResponse>>;
|
|
8073
|
+
sendTradeOffer(request: CollectionRequest): Promise<OperationResult<SendTradeOfferResponse>>;
|
|
8074
|
+
cancelTradeOffer(request: CollectionRequest): Promise<OperationResult<CancelTradeOfferResponse>>;
|
|
8075
|
+
acceptTradeOffer(request: CollectionRequest): Promise<OperationResult<AcceptTradeOfferResponse>>;
|
|
8076
|
+
declineTradeOffer(request: CollectionRequest): Promise<OperationResult<DeclineTradeOfferResponse>>;
|
|
8077
|
+
getMyTradeOffers(request: CollectionRequest): Promise<OperationResult<GetTradeOffersResponse>>;
|
|
8078
|
+
getIncomingTradeOffers(request: CollectionRequest): Promise<OperationResult<GetTradeOffersResponse>>;
|
|
8079
|
+
}
|
|
8080
|
+
|
|
8081
|
+
/** Thin transport wrapper for the CoopEvent feature (port of CoopEventAPI.cs). */
|
|
8082
|
+
declare class CoopEventApi {
|
|
8083
|
+
private readonly ctx;
|
|
8084
|
+
constructor(ctx: ClientContext);
|
|
8085
|
+
private send;
|
|
8086
|
+
getDefinitions(request: CoopEventRequest): Promise<OperationResult<CoopEventDefinitions>>;
|
|
8087
|
+
getActiveEvent(request: CoopEventRequest): Promise<OperationResult<ActiveCoopEventInfo>>;
|
|
8088
|
+
getUserState(request: CoopEventRequest): Promise<OperationResult<CoopUserStateResponse>>;
|
|
8089
|
+
getGroupState(request: CoopEventRequest): Promise<OperationResult<CoopGroupStateResponse>>;
|
|
8090
|
+
joinOrCreateGroup(request: CoopEventRequest): Promise<OperationResult<CoopGroupStateResponse>>;
|
|
8091
|
+
spin(request: CoopEventRequest): Promise<OperationResult<CoopSpinResponse>>;
|
|
8092
|
+
claimObjectReward(request: CoopEventRequest): Promise<OperationResult<CoopClaimRewardResponse>>;
|
|
8093
|
+
claimGrandPrize(request: CoopEventRequest): Promise<OperationResult<CoopClaimRewardResponse>>;
|
|
8094
|
+
leaveGroup(request: CoopEventRequest): Promise<OperationResult<CoopLeaveGroupResponse>>;
|
|
8095
|
+
}
|
|
8096
|
+
|
|
8097
|
+
/** Thin transport wrapper for the DealOffer feature (port of DealOfferAPI.cs). */
|
|
8098
|
+
declare class DealOfferApi {
|
|
8099
|
+
private readonly ctx;
|
|
8100
|
+
constructor(ctx: ClientContext);
|
|
8101
|
+
private send;
|
|
8102
|
+
getDefinition(request: DealOfferRequest): Promise<OperationResult<DealOffersDefinitionResponse>>;
|
|
8103
|
+
getUserState(request: DealOfferRequest): Promise<OperationResult<UserDealOffersStateResponse>>;
|
|
8104
|
+
getActiveDeals(request: DealOfferRequest): Promise<OperationResult<GetActiveDealsResponse>>;
|
|
8105
|
+
dismissDeal(request: DealOfferRequest): Promise<OperationResult<DismissDealResponse>>;
|
|
8106
|
+
executeNode(request: DealOfferRequest): Promise<OperationResult<ExecuteNodeResponse>>;
|
|
8107
|
+
recordShow(request: DealOfferRequest): Promise<OperationResult<RecordShowResponse>>;
|
|
8108
|
+
claimMilestone(request: DealOfferRequest): Promise<OperationResult<ClaimDealMilestoneResponse>>;
|
|
8109
|
+
claimMilestonesBatch(request: DealOfferRequest): Promise<OperationResult<ClaimDealMilestonesBatchResponse>>;
|
|
8110
|
+
}
|
|
8111
|
+
|
|
8112
|
+
/** Thin transport wrapper for the Referral feature (port of ReferralAPI.cs). */
|
|
8113
|
+
declare class ReferralApi {
|
|
8114
|
+
private readonly ctx;
|
|
8115
|
+
constructor(ctx: ClientContext);
|
|
8116
|
+
private send;
|
|
8117
|
+
getDefinitions(request: ReferralRequest): Promise<OperationResult<ReferralDefinitionsResponse>>;
|
|
8118
|
+
getUserState(request: ReferralRequest): Promise<OperationResult<UserReferralStateResponse>>;
|
|
8119
|
+
activateReferralCode(request: ReferralRequest): Promise<OperationResult<ActivateReferralCodeResponse>>;
|
|
8120
|
+
claimInviteReward(request: ReferralRequest): Promise<OperationResult<ClaimInviteRewardResponse>>;
|
|
8121
|
+
claimInviteRewardsBatch(request: ReferralRequest): Promise<OperationResult<ClaimInviteRewardsBatchResponse>>;
|
|
8122
|
+
}
|
|
8123
|
+
|
|
8124
|
+
/** Thin transport wrapper for the Social feature (port of SocialAPI.cs). */
|
|
8125
|
+
declare class SocialApi {
|
|
8126
|
+
private readonly ctx;
|
|
8127
|
+
constructor(ctx: ClientContext);
|
|
8128
|
+
private send;
|
|
8129
|
+
getFriendsList(request: SocialRequest): Promise<OperationResult<FriendsListResponse>>;
|
|
8130
|
+
getIncomingRequests(request: SocialRequest): Promise<OperationResult<FriendsListResponse>>;
|
|
8131
|
+
getOutgoingRequests(request: SocialRequest): Promise<OperationResult<FriendsListResponse>>;
|
|
8132
|
+
getRecommendedFriends(request: SocialRequest): Promise<OperationResult<FriendsListResponse>>;
|
|
8133
|
+
sendFriendRequest(request: SocialRequest): Promise<OperationResult<FriendActionResponse>>;
|
|
8134
|
+
acceptFriendRequest(request: SocialRequest): Promise<OperationResult<FriendActionResponse>>;
|
|
8135
|
+
declineFriendRequest(request: SocialRequest): Promise<OperationResult<FriendActionResponse>>;
|
|
8136
|
+
removeFriend(request: SocialRequest): Promise<OperationResult<FriendActionResponse>>;
|
|
8137
|
+
getTimeline(request: SocialRequest): Promise<OperationResult<TimelineResponse>>;
|
|
8138
|
+
}
|
|
8139
|
+
|
|
8140
|
+
/** Thin transport wrapper for the TimedBoost feature (port of TimedBoostAPI.cs). */
|
|
8141
|
+
declare class TimedBoostApi {
|
|
8142
|
+
private readonly ctx;
|
|
8143
|
+
constructor(ctx: ClientContext);
|
|
8144
|
+
private send;
|
|
8145
|
+
getDefinitions(request: TimedBoostRequest): Promise<OperationResult<TimedBoostDefinitions>>;
|
|
8146
|
+
getActive(request: TimedBoostRequest): Promise<OperationResult<GetActiveTimedBoostsResponse>>;
|
|
8147
|
+
getActiveWindows(request: TimedBoostRequest): Promise<OperationResult<GetActiveBoostWindowsResponse>>;
|
|
8148
|
+
activate(request: TimedBoostRequest): Promise<OperationResult<ActivateTimedBoostResponse>>;
|
|
8149
|
+
cleanupExpired(request: TimedBoostRequest): Promise<OperationResult<SuccessResponse>>;
|
|
8150
|
+
}
|
|
8151
|
+
|
|
8152
|
+
/** Thin transport wrapper for the UserCustomData feature (port of UserCustomDataAPI.cs). */
|
|
8153
|
+
declare class UserCustomDataApi {
|
|
8154
|
+
private readonly ctx;
|
|
8155
|
+
constructor(ctx: ClientContext);
|
|
8156
|
+
private send;
|
|
8157
|
+
getUserCustomDataDefinitions(request: UserCustomDataRequest): Promise<OperationResult<UserCustomDataDefinitions>>;
|
|
8158
|
+
getMyUserCustomData(request: UserCustomDataRequest): Promise<OperationResult<GetMyUserCustomDataResponse>>;
|
|
8159
|
+
getPublicUserCustomDataOf(request: UserCustomDataRequest): Promise<OperationResult<GetPublicUserCustomDataResponse>>;
|
|
8160
|
+
setPrivateData(request: UserCustomDataRequest): Promise<OperationResult<SetUserCustomDataResponse>>;
|
|
8161
|
+
setPublicData(request: UserCustomDataRequest): Promise<OperationResult<SetUserCustomDataResponse>>;
|
|
8162
|
+
deleteKey(request: UserCustomDataRequest): Promise<OperationResult<SuccessResponse>>;
|
|
8163
|
+
batchSet(request: UserCustomDataRequest): Promise<OperationResult<BatchSetUserCustomDataResponse>>;
|
|
8164
|
+
batchDelete(request: UserCustomDataRequest): Promise<OperationResult<BatchDeleteUserCustomDataResponse>>;
|
|
8165
|
+
batchGetPublicUserCustomDataOf(request: UserCustomDataRequest): Promise<OperationResult<BatchGetPublicUserCustomDataResponse>>;
|
|
8166
|
+
}
|
|
8167
|
+
|
|
8168
|
+
/** Thin transport wrapper for the TitleCustomData feature (port of TitleCustomDataV2.cs). */
|
|
8169
|
+
declare class TitleCustomDataApi {
|
|
8170
|
+
private readonly ctx;
|
|
8171
|
+
constructor(ctx: ClientContext);
|
|
8172
|
+
private send;
|
|
8173
|
+
getTitleCustomDataDefinitions(request: TitleCustomDataRequest): Promise<OperationResult<TitleCustomDataDefinitions>>;
|
|
8174
|
+
getPublicTitleData(request: TitleCustomDataRequest): Promise<OperationResult<GetPublicTitleDataResponse>>;
|
|
8175
|
+
getPublicTitleDataKeys(request: TitleCustomDataRequest): Promise<OperationResult<GetPublicTitleDataResponse>>;
|
|
8176
|
+
}
|
|
8177
|
+
|
|
8178
|
+
/** Thin transport wrapper for the Title feature (port of TitleAPI.cs). */
|
|
8179
|
+
declare class TitleApi {
|
|
8180
|
+
private readonly ctx;
|
|
8181
|
+
constructor(ctx: ClientContext);
|
|
8182
|
+
private send;
|
|
8183
|
+
getTitlePublicConfiguration(request: TitleRequest): Promise<OperationResult<TitlePublicConfigurationModel>>;
|
|
8184
|
+
/**
|
|
8185
|
+
* Всё, кроме перечисленного в `request.ExcludeFields`. Нужен `UserService` как фолбэк:
|
|
8186
|
+
* `GetClientState` отдаёт только ссылку на CDN, и когда по ней не скачалось, конфиг
|
|
8187
|
+
* запрашивается телом — но ровно тем же набором полей, иначе он не будет соответствовать
|
|
8188
|
+
* версии, под которой клиент его сохранит.
|
|
8189
|
+
*/
|
|
8190
|
+
getTitlePublicConfigurationExcept(request: TitleRequest): Promise<OperationResult<TitlePublicConfigurationModel>>;
|
|
8191
|
+
getCurrencyDefinitions(request: TitleRequest): Promise<OperationResult<CurrencyDefinitions>>;
|
|
8192
|
+
getItemDefinitions(request: TitleRequest): Promise<OperationResult<ItemDefinitions>>;
|
|
8193
|
+
getServerTime(request: TitleRequest): Promise<OperationResult<SuccessResponse>>;
|
|
8194
|
+
}
|
|
8195
|
+
|
|
8196
|
+
/** Thin transport wrapper for the GameLoop feature (port of GameLoopAPI.cs; board core). */
|
|
8197
|
+
declare class GameLoopApi {
|
|
8198
|
+
private readonly ctx;
|
|
8199
|
+
constructor(ctx: ClientContext);
|
|
8200
|
+
private send;
|
|
8201
|
+
getGameLoops(request: GameLoopRequest): Promise<OperationResult<GameLoopDefinitions>>;
|
|
8202
|
+
getBoardDefinition(request: GameLoopRequest, silent?: boolean): Promise<OperationResult<BoardLoopDefinition>>;
|
|
8203
|
+
getBoardDefinitionForLevel(request: GameLoopRequest, silent?: boolean): Promise<OperationResult<BoardLoopDefinition>>;
|
|
8204
|
+
getUserBoardState(request: GameLoopRequest): Promise<OperationResult<BoardLoopState>>;
|
|
8205
|
+
boardLoopRoll(request: GameLoopRequest): Promise<OperationResult<BoardRollResponse>>;
|
|
8206
|
+
boardLoopAttack(request: GameLoopRequest): Promise<OperationResult<AttackResponse>>;
|
|
8207
|
+
boardLoopRaid(request: GameLoopRequest): Promise<OperationResult<RaidResponse>>;
|
|
8208
|
+
boardLoopRaidFast(request: GameLoopRequest): Promise<OperationResult<RaidResponse>>;
|
|
8209
|
+
boardLoopBuild(request: GameLoopRequest): Promise<OperationResult<BuildResponse>>;
|
|
8210
|
+
boardSpecialChoose(request: GameLoopRequest): Promise<OperationResult<SpecialChooseResponse>>;
|
|
8211
|
+
boardSpecialApplyMultiplier(request: GameLoopRequest): Promise<OperationResult<SpecialApplyMultiplierResponse>>;
|
|
8212
|
+
boardSpecialClaim(request: GameLoopRequest): Promise<OperationResult<SpecialClaimResponse>>;
|
|
8213
|
+
getCommunityChestState(request: GameLoopRequest): Promise<OperationResult<CommunityChestUserStateResponse>>;
|
|
8214
|
+
joinOrCreateCommunityChest(request: GameLoopRequest): Promise<OperationResult<CommunityChestGroupStateResponse>>;
|
|
8215
|
+
claimCommunityChestMilestone(request: GameLoopRequest): Promise<OperationResult<CommunityChestClaimResponse>>;
|
|
8216
|
+
claimCommunityChestGrandPrize(request: GameLoopRequest): Promise<OperationResult<CommunityChestClaimResponse>>;
|
|
8217
|
+
leaveCommunityChest(request: GameLoopRequest): Promise<OperationResult<CommunityChestLeaveResponse>>;
|
|
8218
|
+
}
|
|
8219
|
+
|
|
8220
|
+
/** Thin transport wrapper for the CloudCode feature (port of CloudCodeV2.cs). */
|
|
8221
|
+
declare class CloudCodeApi {
|
|
8222
|
+
private readonly ctx;
|
|
8223
|
+
constructor(ctx: ClientContext);
|
|
8224
|
+
execute(request: CloudCodeRequest): Promise<OperationResult<ExecuteCloudCodeResponse>>;
|
|
8225
|
+
}
|
|
8226
|
+
|
|
8227
|
+
/** Thin transport wrapper for the Blockchain feature (port of Blockchain/Blockchain.cs). */
|
|
8228
|
+
declare class BlockchainApi {
|
|
8229
|
+
private readonly ctx;
|
|
8230
|
+
constructor(ctx: ClientContext);
|
|
8231
|
+
private send;
|
|
8232
|
+
getDefinitions(request: BlockchainRequest): Promise<OperationResult<BlockchainConfigResponse>>;
|
|
8233
|
+
getUserState(request: BlockchainRequest): Promise<OperationResult<UserBlockchainStateResponse>>;
|
|
8234
|
+
depositToken(request: BlockchainRequest): Promise<OperationResult<DepositTokenResponse>>;
|
|
8235
|
+
depositNFT(request: BlockchainRequest): Promise<OperationResult<DepositNFTResponse>>;
|
|
8236
|
+
requestTokenWithdrawal(request: BlockchainRequest): Promise<OperationResult<TokenWithdrawalResponse>>;
|
|
8237
|
+
requestNFTWithdrawal(request: BlockchainRequest): Promise<OperationResult<NFTWithdrawalResponse>>;
|
|
8238
|
+
getTransactionHistory(request: BlockchainRequest): Promise<OperationResult<TransactionHistoryResponse>>;
|
|
8239
|
+
retryWithdrawal(request: BlockchainRequest): Promise<OperationResult<RetryWithdrawalResponse>>;
|
|
8240
|
+
confirmWithdrawal(request: BlockchainRequest): Promise<OperationResult<ConfirmWithdrawalResponse>>;
|
|
8241
|
+
donateToDeveloper(request: BlockchainRequest): Promise<OperationResult<DonationResponse>>;
|
|
8242
|
+
donateToUsersPool(request: BlockchainRequest): Promise<OperationResult<DonationResponse>>;
|
|
8243
|
+
}
|
|
8244
|
+
|
|
8245
|
+
/** Thin transport wrapper for the Marketplace feature (port of Marketplace/Marketplace.cs). */
|
|
8246
|
+
declare class MarketplaceApi {
|
|
8247
|
+
private readonly ctx;
|
|
8248
|
+
constructor(ctx: ClientContext);
|
|
8249
|
+
private send;
|
|
8250
|
+
getDefinitions(request: MarketplaceRequest): Promise<OperationResult<MarketplaceGetDefinitionsResponse>>;
|
|
8251
|
+
getGroupedOffers(request: MarketplaceRequest): Promise<OperationResult<MarketplaceGroupedOffersResponse>>;
|
|
8252
|
+
getOffersByItem(request: MarketplaceRequest): Promise<OperationResult<MarketplaceBrowseResponse>>;
|
|
8253
|
+
getOffer(request: MarketplaceRequest): Promise<OperationResult<MarketplaceOfferResponse>>;
|
|
8254
|
+
getBuyOrders(request: MarketplaceRequest): Promise<OperationResult<MarketplaceBrowseResponse>>;
|
|
8255
|
+
getMyState(request: MarketplaceRequest): Promise<OperationResult<MarketplaceMyStateResponse>>;
|
|
8256
|
+
getHistory(request: MarketplaceRequest): Promise<OperationResult<MarketplaceHistoryResponse>>;
|
|
8257
|
+
createListing(request: MarketplaceRequest): Promise<OperationResult<MarketplaceCreateOfferResponse>>;
|
|
8258
|
+
cancelListing(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
8259
|
+
buy(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
8260
|
+
marketBuy(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
8261
|
+
marketSell(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
8262
|
+
createAuction(request: MarketplaceRequest): Promise<OperationResult<MarketplaceCreateOfferResponse>>;
|
|
8263
|
+
placeBid(request: MarketplaceRequest): Promise<OperationResult<MarketplacePlaceBidResponse>>;
|
|
8264
|
+
claimAuction(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
8265
|
+
createBuyOrder(request: MarketplaceRequest): Promise<OperationResult<MarketplaceCreateOfferResponse>>;
|
|
8266
|
+
cancelBuyOrder(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
8267
|
+
fillBuyOrder(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
8268
|
+
createDirectTrade(request: MarketplaceRequest): Promise<OperationResult<MarketplaceCreateOfferResponse>>;
|
|
8269
|
+
respondDirectTrade(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
8270
|
+
cancelDirectTrade(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
8271
|
+
claimBack(request: MarketplaceRequest): Promise<OperationResult<MarketplaceSettlementResponse>>;
|
|
8272
|
+
}
|
|
8273
|
+
|
|
8274
|
+
/** Thin transport wrapper for the Multiplayer feature (port of Multiplayer/Multiplayer.cs). */
|
|
8275
|
+
declare class MultiplayerApi {
|
|
8276
|
+
private readonly ctx;
|
|
8277
|
+
constructor(ctx: ClientContext);
|
|
8278
|
+
private send;
|
|
8279
|
+
createRoom(request: MultiplayerRequest): Promise<OperationResult<RoomSnapshotResponse>>;
|
|
8280
|
+
joinRoom(request: MultiplayerRequest): Promise<OperationResult<RoomSnapshotResponse>>;
|
|
8281
|
+
leaveRoom(request: MultiplayerRequest): Promise<OperationResult<LeaveRoomResponse>>;
|
|
8282
|
+
listRooms(request: MultiplayerRequest): Promise<OperationResult<RoomsPageResponse>>;
|
|
8283
|
+
getRoom(request: MultiplayerRequest): Promise<OperationResult<RoomSnapshotResponse>>;
|
|
8284
|
+
closeRoom(request: MultiplayerRequest): Promise<OperationResult<LeaveRoomResponse>>;
|
|
8285
|
+
poll(request: MultiplayerRequest): Promise<OperationResult<PollResponse>>;
|
|
8286
|
+
sendSignal(request: MultiplayerRequest): Promise<OperationResult<PublishResponse>>;
|
|
8287
|
+
sendChat(request: MultiplayerRequest): Promise<OperationResult<PublishResponse>>;
|
|
8288
|
+
setMemberState(request: MultiplayerRequest): Promise<OperationResult<PublishResponse>>;
|
|
8289
|
+
}
|
|
8290
|
+
|
|
8291
|
+
/** Thin transport wrapper for the Workshop feature (port of Workshop/Workshop.cs). */
|
|
8292
|
+
declare class WorkshopApi {
|
|
8293
|
+
private readonly ctx;
|
|
8294
|
+
constructor(ctx: ClientContext);
|
|
8295
|
+
private send;
|
|
8296
|
+
getDefinitions(r: WorkshopRequest): Promise<OperationResult<{
|
|
8297
|
+
[x: string]: unknown;
|
|
8298
|
+
Definitions?: {
|
|
8299
|
+
[x: string]: unknown;
|
|
8300
|
+
Enabled?: boolean | null | undefined;
|
|
8301
|
+
Gate?: {
|
|
8302
|
+
[x: string]: unknown;
|
|
8303
|
+
Segments?: string[] | null | undefined;
|
|
8304
|
+
MinPremiumTier?: number | null | undefined;
|
|
8305
|
+
RequiredPremiumIDs?: string[] | null | undefined;
|
|
8306
|
+
MinLevel?: number | null | undefined;
|
|
8307
|
+
MaxLevel?: number | null | undefined;
|
|
8308
|
+
Countries?: string[] | null | undefined;
|
|
8309
|
+
RegisteredWithinDays?: number | null | undefined;
|
|
8310
|
+
ActiveWithinDays?: number | null | undefined;
|
|
8311
|
+
Experiment?: {
|
|
8312
|
+
[x: string]: unknown;
|
|
8313
|
+
ExperimentID?: string | null | undefined;
|
|
8314
|
+
Variants?: string[] | null | undefined;
|
|
8315
|
+
} | null | undefined;
|
|
8316
|
+
Tutorial?: {
|
|
8317
|
+
[x: string]: unknown;
|
|
8318
|
+
FlowIDs?: string[] | null | undefined;
|
|
8319
|
+
Mode?: "Completed" | "Started" | "StepReached" | null | undefined;
|
|
8320
|
+
StepID?: string | null | undefined;
|
|
8321
|
+
Negate?: boolean | null | undefined;
|
|
8322
|
+
SkippedCountsAsCompleted?: boolean | null | undefined;
|
|
8323
|
+
} | null | undefined;
|
|
8324
|
+
Platforms?: ("Unknown" | "Web" | "Android" | "Ios")[] | null | undefined;
|
|
8325
|
+
} | null | undefined;
|
|
8326
|
+
Schedule?: {
|
|
8327
|
+
[x: string]: unknown;
|
|
8328
|
+
Mode?: string | null | undefined;
|
|
8329
|
+
IsActive?: boolean | null | undefined;
|
|
8330
|
+
Scheduled?: {
|
|
8331
|
+
[x: string]: unknown;
|
|
8332
|
+
StartUtc?: string | null | undefined;
|
|
8333
|
+
EndUtc?: string | null | undefined;
|
|
8334
|
+
AllowEarningAfterEnd?: boolean | null | undefined;
|
|
8335
|
+
ClaimGraceHours?: number | null | undefined;
|
|
8336
|
+
} | null | undefined;
|
|
8337
|
+
Chain?: {
|
|
8338
|
+
[x: string]: unknown;
|
|
8339
|
+
AnchorUtc?: string | null | undefined;
|
|
8340
|
+
MaxCycles?: number | null | undefined;
|
|
8341
|
+
PauseBetweenPhasesSec?: number | null | undefined;
|
|
7546
8342
|
PauseBetweenCyclesSec?: number | null | undefined;
|
|
7547
8343
|
} | null | undefined;
|
|
7548
8344
|
Cyclic?: {
|
|
@@ -7714,152 +8510,542 @@ declare class WorkshopApi {
|
|
|
7714
8510
|
} | null | undefined;
|
|
7715
8511
|
Commission?: {
|
|
7716
8512
|
[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;
|
|
8513
|
+
Percent?: number | null | undefined;
|
|
8514
|
+
MinPerPosition?: number | null | undefined;
|
|
8515
|
+
Sink?: "Burn" | "Ledger" | null | undefined;
|
|
8516
|
+
LedgerAccountID?: string | null | undefined;
|
|
8517
|
+
PerCatalogOverrides?: Record<string, {
|
|
8518
|
+
[x: string]: unknown;
|
|
8519
|
+
Percent?: number | null | undefined;
|
|
8520
|
+
MinPerPosition?: number | null | undefined;
|
|
8521
|
+
}> | null | undefined;
|
|
8522
|
+
ApplyToDirectTrades?: boolean | null | undefined;
|
|
8523
|
+
} | null | undefined;
|
|
8524
|
+
HoldingPolicy?: {
|
|
8525
|
+
[x: string]: unknown;
|
|
8526
|
+
Allowed?: {
|
|
8527
|
+
[x: string]: unknown;
|
|
8528
|
+
Kind?: "Item" | "VirtualCurrency" | "EventToken" | null | undefined;
|
|
8529
|
+
CurrencyID?: string | null | undefined;
|
|
8530
|
+
CatalogID?: string | null | undefined;
|
|
8531
|
+
ItemID?: string | null | undefined;
|
|
8532
|
+
TokenType?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8533
|
+
EntityID?: string | null | undefined;
|
|
8534
|
+
MinAmount?: number | null | undefined;
|
|
8535
|
+
MaxAmount?: number | null | undefined;
|
|
8536
|
+
}[] | null | undefined;
|
|
8537
|
+
MaxRequirements?: number | null | undefined;
|
|
8538
|
+
} | null | undefined;
|
|
8539
|
+
Moderation?: {
|
|
8540
|
+
[x: string]: unknown;
|
|
8541
|
+
AutoHideReportThreshold?: number | null | undefined;
|
|
8542
|
+
RequireApproval?: boolean | null | undefined;
|
|
8543
|
+
} | null | undefined;
|
|
8544
|
+
Limits?: {
|
|
8545
|
+
[x: string]: unknown;
|
|
8546
|
+
MaxTitleLength?: number | null | undefined;
|
|
8547
|
+
MaxDescriptionLength?: number | null | undefined;
|
|
8548
|
+
MaxTags?: number | null | undefined;
|
|
8549
|
+
MaxTagLength?: number | null | undefined;
|
|
8550
|
+
MaxMetadataKeys?: number | null | undefined;
|
|
8551
|
+
MaxMetadataValueLength?: number | null | undefined;
|
|
8552
|
+
MaxAccessOptions?: number | null | undefined;
|
|
8553
|
+
ThumbnailMaxBytes?: number | null | undefined;
|
|
8554
|
+
} | null | undefined;
|
|
8555
|
+
Featured?: {
|
|
8556
|
+
[x: string]: unknown;
|
|
8557
|
+
CollectionID?: string | null | undefined;
|
|
8558
|
+
Name?: string | null | undefined;
|
|
8559
|
+
Description?: string | null | undefined;
|
|
8560
|
+
ContentIDs?: string[] | null | undefined;
|
|
8561
|
+
Schedule?: {
|
|
8562
|
+
[x: string]: unknown;
|
|
8563
|
+
Mode?: string | null | undefined;
|
|
8564
|
+
IsActive?: boolean | null | undefined;
|
|
8565
|
+
Scheduled?: {
|
|
8566
|
+
[x: string]: unknown;
|
|
8567
|
+
StartUtc?: string | null | undefined;
|
|
8568
|
+
EndUtc?: string | null | undefined;
|
|
8569
|
+
AllowEarningAfterEnd?: boolean | null | undefined;
|
|
8570
|
+
ClaimGraceHours?: number | null | undefined;
|
|
8571
|
+
} | null | undefined;
|
|
8572
|
+
Chain?: {
|
|
8573
|
+
[x: string]: unknown;
|
|
8574
|
+
AnchorUtc?: string | null | undefined;
|
|
8575
|
+
MaxCycles?: number | null | undefined;
|
|
8576
|
+
PauseBetweenPhasesSec?: number | null | undefined;
|
|
8577
|
+
PauseBetweenCyclesSec?: number | null | undefined;
|
|
8578
|
+
} | null | undefined;
|
|
8579
|
+
Cyclic?: {
|
|
8580
|
+
[x: string]: unknown;
|
|
8581
|
+
Reset?: string | null | undefined;
|
|
8582
|
+
IntervalSeconds?: number | null | undefined;
|
|
8583
|
+
AnchorUtc?: string | null | undefined;
|
|
8584
|
+
PauseBetweenCyclesSec?: number | null | undefined;
|
|
8585
|
+
ClaimGraceHours?: number | null | undefined;
|
|
8586
|
+
} | null | undefined;
|
|
8587
|
+
ActivationTriggers?: {
|
|
8588
|
+
[x: string]: unknown;
|
|
8589
|
+
SourceType?: string | null | undefined;
|
|
8590
|
+
BaseWeight?: number | null | undefined;
|
|
8591
|
+
ScaleWithRollMultiplier?: boolean | null | undefined;
|
|
8592
|
+
TileTypeFilter?: string[] | null | undefined;
|
|
8593
|
+
TileIndexFilter?: number[] | null | undefined;
|
|
8594
|
+
ChanceOutcomeFilter?: string[] | null | undefined;
|
|
8595
|
+
OutcomeFilter?: string[] | null | undefined;
|
|
8596
|
+
Params?: Record<string, string> | null | undefined;
|
|
8597
|
+
Limits?: {
|
|
8598
|
+
[x: string]: unknown;
|
|
8599
|
+
TotalCap?: number | null | undefined;
|
|
8600
|
+
DailyCap?: number | null | undefined;
|
|
8601
|
+
DailyWeightCap?: number | null | undefined;
|
|
8602
|
+
PerActivationCap?: number | null | undefined;
|
|
8603
|
+
CooldownSeconds?: number | null | undefined;
|
|
8604
|
+
MaxPerWindow?: number | null | undefined;
|
|
8605
|
+
WindowSeconds?: number | null | undefined;
|
|
8606
|
+
} | null | undefined;
|
|
8607
|
+
}[] | null | undefined;
|
|
8608
|
+
Relative?: {
|
|
8609
|
+
[x: string]: unknown;
|
|
8610
|
+
OffsetSecondsFromParentStart?: number | null | undefined;
|
|
8611
|
+
DurationSeconds?: number | null | undefined;
|
|
8612
|
+
AllowEarningAfterEnd?: boolean | null | undefined;
|
|
8613
|
+
ClaimGraceHours?: number | null | undefined;
|
|
8614
|
+
} | null | undefined;
|
|
8615
|
+
} | null | undefined;
|
|
8616
|
+
Gate?: {
|
|
8617
|
+
[x: string]: unknown;
|
|
8618
|
+
Segments?: string[] | null | undefined;
|
|
8619
|
+
MinPremiumTier?: number | null | undefined;
|
|
8620
|
+
RequiredPremiumIDs?: string[] | null | undefined;
|
|
8621
|
+
MinLevel?: number | null | undefined;
|
|
8622
|
+
MaxLevel?: number | null | undefined;
|
|
8623
|
+
Countries?: string[] | null | undefined;
|
|
8624
|
+
RegisteredWithinDays?: number | null | undefined;
|
|
8625
|
+
ActiveWithinDays?: number | null | undefined;
|
|
8626
|
+
Experiment?: {
|
|
8627
|
+
[x: string]: unknown;
|
|
8628
|
+
ExperimentID?: string | null | undefined;
|
|
8629
|
+
Variants?: string[] | null | undefined;
|
|
8630
|
+
} | null | undefined;
|
|
8631
|
+
Tutorial?: {
|
|
8632
|
+
[x: string]: unknown;
|
|
8633
|
+
FlowIDs?: string[] | null | undefined;
|
|
8634
|
+
Mode?: "Completed" | "Started" | "StepReached" | null | undefined;
|
|
8635
|
+
StepID?: string | null | undefined;
|
|
8636
|
+
Negate?: boolean | null | undefined;
|
|
8637
|
+
SkippedCountsAsCompleted?: boolean | null | undefined;
|
|
8638
|
+
} | null | undefined;
|
|
8639
|
+
Platforms?: ("Unknown" | "Web" | "Android" | "Ios")[] | null | undefined;
|
|
8640
|
+
} | null | undefined;
|
|
8641
|
+
Order?: number | null | undefined;
|
|
8642
|
+
}[] | null | undefined;
|
|
8643
|
+
} | null | undefined;
|
|
8644
|
+
IsOpenNow?: boolean | null | undefined;
|
|
8645
|
+
GatePassed?: boolean | null | undefined;
|
|
8646
|
+
CanPublish?: Record<string, boolean> | null | undefined;
|
|
8647
|
+
Collections?: {
|
|
8648
|
+
[x: string]: unknown;
|
|
8649
|
+
CollectionID?: string | null | undefined;
|
|
8650
|
+
Name?: string | null | undefined;
|
|
8651
|
+
Description?: string | null | undefined;
|
|
8652
|
+
ContentIDs?: string[] | null | undefined;
|
|
8653
|
+
Order?: number | null | undefined;
|
|
8654
|
+
}[] | null | undefined;
|
|
8655
|
+
}>>;
|
|
8656
|
+
browse(r: WorkshopRequest): Promise<OperationResult<{
|
|
8657
|
+
[x: string]: unknown;
|
|
8658
|
+
Items?: {
|
|
8659
|
+
[x: string]: unknown;
|
|
8660
|
+
ContentID?: string | null | undefined;
|
|
8661
|
+
ContentType?: string | null | undefined;
|
|
8662
|
+
CreatorUserID?: string | null | undefined;
|
|
8663
|
+
IsOfficial?: boolean | null | undefined;
|
|
8664
|
+
CreatorPublicData?: {
|
|
8665
|
+
[x: string]: unknown;
|
|
8666
|
+
Username?: string | null | undefined;
|
|
8667
|
+
Country?: string | null | undefined;
|
|
8668
|
+
AvatarUrl?: string | null | undefined;
|
|
8669
|
+
Premium?: boolean | null | undefined;
|
|
8670
|
+
Level?: number | null | undefined;
|
|
8671
|
+
Power?: number | null | undefined;
|
|
8672
|
+
BoardRank?: number | null | undefined;
|
|
8673
|
+
} | null | undefined;
|
|
8674
|
+
Title?: string | null | undefined;
|
|
8675
|
+
Description?: string | null | undefined;
|
|
8676
|
+
Tags?: string[] | null | undefined;
|
|
8677
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
8678
|
+
ThumbnailUrl?: string | null | undefined;
|
|
8679
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8680
|
+
Access?: {
|
|
8681
|
+
[x: string]: unknown;
|
|
8682
|
+
OptionID?: string | null | undefined;
|
|
8683
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8684
|
+
Price?: {
|
|
8685
|
+
Entries?: {
|
|
8686
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8687
|
+
CurrencyID?: string | null | undefined;
|
|
8688
|
+
Amount?: number | null | undefined;
|
|
8689
|
+
AmountUsd?: number | null | undefined;
|
|
8690
|
+
CatalogID?: string | null | undefined;
|
|
8691
|
+
ItemID?: string | null | undefined;
|
|
8692
|
+
ProductID?: string | null | undefined;
|
|
8693
|
+
}[] | null | undefined;
|
|
8694
|
+
EventTokens?: {
|
|
8695
|
+
Address?: {
|
|
8696
|
+
EntityID: string;
|
|
8697
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8698
|
+
} | null | undefined;
|
|
8699
|
+
Amount?: number | null | undefined;
|
|
8700
|
+
Source?: string | null | undefined;
|
|
8701
|
+
}[] | null | undefined;
|
|
8702
|
+
} | null | undefined;
|
|
8703
|
+
Holding?: {
|
|
8704
|
+
[x: string]: unknown;
|
|
8705
|
+
Requirements?: {
|
|
8706
|
+
[x: string]: unknown;
|
|
8707
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8708
|
+
CurrencyID?: string | null | undefined;
|
|
8709
|
+
CatalogID?: string | null | undefined;
|
|
8710
|
+
ItemID?: string | null | undefined;
|
|
8711
|
+
Amount?: number | null | undefined;
|
|
8712
|
+
MinLevel?: number | null | undefined;
|
|
8713
|
+
}[] | null | undefined;
|
|
8714
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8715
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8716
|
+
} | null | undefined;
|
|
8717
|
+
}[] | null | undefined;
|
|
8718
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8719
|
+
ModerationNote?: string | null | undefined;
|
|
8720
|
+
Stats?: {
|
|
8721
|
+
[x: string]: unknown;
|
|
8722
|
+
Acquisitions?: number | null | undefined;
|
|
8723
|
+
Downloads?: number | null | undefined;
|
|
8724
|
+
Likes?: number | null | undefined;
|
|
8725
|
+
Favorites?: number | null | undefined;
|
|
8726
|
+
ReportCount?: number | null | undefined;
|
|
8727
|
+
} | null | undefined;
|
|
8728
|
+
Revision?: number | null | undefined;
|
|
8729
|
+
FileCount?: number | null | undefined;
|
|
8730
|
+
TotalBytes?: number | null | undefined;
|
|
8731
|
+
CreatedAt?: string | null | undefined;
|
|
8732
|
+
UpdatedAt?: string | null | undefined;
|
|
8733
|
+
PublishedAt?: string | null | undefined;
|
|
8734
|
+
IsMine?: boolean | null | undefined;
|
|
8735
|
+
Owned?: boolean | null | undefined;
|
|
8736
|
+
Liked?: boolean | null | undefined;
|
|
8737
|
+
Favorited?: boolean | null | undefined;
|
|
8738
|
+
}[] | null | undefined;
|
|
8739
|
+
ContinuationToken?: string | null | undefined;
|
|
8740
|
+
}>>;
|
|
8741
|
+
getContent(r: WorkshopRequest): Promise<OperationResult<{
|
|
8742
|
+
[x: string]: unknown;
|
|
8743
|
+
Content?: {
|
|
8744
|
+
[x: string]: unknown;
|
|
8745
|
+
ContentID?: string | null | undefined;
|
|
8746
|
+
ContentType?: string | null | undefined;
|
|
8747
|
+
CreatorUserID?: string | null | undefined;
|
|
8748
|
+
IsOfficial?: boolean | null | undefined;
|
|
8749
|
+
CreatorPublicData?: {
|
|
8750
|
+
[x: string]: unknown;
|
|
8751
|
+
Username?: string | null | undefined;
|
|
8752
|
+
Country?: string | null | undefined;
|
|
8753
|
+
AvatarUrl?: string | null | undefined;
|
|
8754
|
+
Premium?: boolean | null | undefined;
|
|
8755
|
+
Level?: number | null | undefined;
|
|
8756
|
+
Power?: number | null | undefined;
|
|
8757
|
+
BoardRank?: number | null | undefined;
|
|
7727
8758
|
} | null | undefined;
|
|
7728
|
-
|
|
8759
|
+
Title?: string | null | undefined;
|
|
8760
|
+
Description?: string | null | undefined;
|
|
8761
|
+
Tags?: string[] | null | undefined;
|
|
8762
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
8763
|
+
ThumbnailUrl?: string | null | undefined;
|
|
8764
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8765
|
+
Access?: {
|
|
7729
8766
|
[x: string]: unknown;
|
|
7730
|
-
|
|
8767
|
+
OptionID?: string | null | undefined;
|
|
8768
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8769
|
+
Price?: {
|
|
8770
|
+
Entries?: {
|
|
8771
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8772
|
+
CurrencyID?: string | null | undefined;
|
|
8773
|
+
Amount?: number | null | undefined;
|
|
8774
|
+
AmountUsd?: number | null | undefined;
|
|
8775
|
+
CatalogID?: string | null | undefined;
|
|
8776
|
+
ItemID?: string | null | undefined;
|
|
8777
|
+
ProductID?: string | null | undefined;
|
|
8778
|
+
}[] | null | undefined;
|
|
8779
|
+
EventTokens?: {
|
|
8780
|
+
Address?: {
|
|
8781
|
+
EntityID: string;
|
|
8782
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8783
|
+
} | null | undefined;
|
|
8784
|
+
Amount?: number | null | undefined;
|
|
8785
|
+
Source?: string | null | undefined;
|
|
8786
|
+
}[] | null | undefined;
|
|
8787
|
+
} | null | undefined;
|
|
8788
|
+
Holding?: {
|
|
7731
8789
|
[x: string]: unknown;
|
|
7732
|
-
|
|
7733
|
-
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
8790
|
+
Requirements?: {
|
|
8791
|
+
[x: string]: unknown;
|
|
8792
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8793
|
+
CurrencyID?: string | null | undefined;
|
|
8794
|
+
CatalogID?: string | null | undefined;
|
|
8795
|
+
ItemID?: string | null | undefined;
|
|
8796
|
+
Amount?: number | null | undefined;
|
|
8797
|
+
MinLevel?: number | null | undefined;
|
|
8798
|
+
}[] | null | undefined;
|
|
8799
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8800
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8801
|
+
} | null | undefined;
|
|
8802
|
+
}[] | null | undefined;
|
|
8803
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8804
|
+
ModerationNote?: string | null | undefined;
|
|
8805
|
+
Stats?: {
|
|
7744
8806
|
[x: string]: unknown;
|
|
7745
|
-
|
|
7746
|
-
|
|
8807
|
+
Acquisitions?: number | null | undefined;
|
|
8808
|
+
Downloads?: number | null | undefined;
|
|
8809
|
+
Likes?: number | null | undefined;
|
|
8810
|
+
Favorites?: number | null | undefined;
|
|
8811
|
+
ReportCount?: number | null | undefined;
|
|
7747
8812
|
} | null | undefined;
|
|
7748
|
-
|
|
8813
|
+
Revision?: number | null | undefined;
|
|
8814
|
+
FileCount?: number | null | undefined;
|
|
8815
|
+
TotalBytes?: number | null | undefined;
|
|
8816
|
+
CreatedAt?: string | null | undefined;
|
|
8817
|
+
UpdatedAt?: string | null | undefined;
|
|
8818
|
+
PublishedAt?: string | null | undefined;
|
|
8819
|
+
IsMine?: boolean | null | undefined;
|
|
8820
|
+
Owned?: boolean | null | undefined;
|
|
8821
|
+
Liked?: boolean | null | undefined;
|
|
8822
|
+
Favorited?: boolean | null | undefined;
|
|
8823
|
+
} | null | undefined;
|
|
8824
|
+
AccessState?: {
|
|
8825
|
+
[x: string]: unknown;
|
|
8826
|
+
OptionID?: string | null | undefined;
|
|
8827
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8828
|
+
Available?: boolean | null | undefined;
|
|
8829
|
+
}[] | null | undefined;
|
|
8830
|
+
CanDownload?: boolean | null | undefined;
|
|
8831
|
+
}>>;
|
|
8832
|
+
getCollection(r: WorkshopRequest): Promise<OperationResult<{
|
|
8833
|
+
[x: string]: unknown;
|
|
8834
|
+
Collection?: {
|
|
8835
|
+
[x: string]: unknown;
|
|
8836
|
+
CollectionID?: string | null | undefined;
|
|
8837
|
+
Name?: string | null | undefined;
|
|
8838
|
+
Description?: string | null | undefined;
|
|
8839
|
+
ContentIDs?: string[] | null | undefined;
|
|
8840
|
+
Order?: number | null | undefined;
|
|
8841
|
+
} | null | undefined;
|
|
8842
|
+
Items?: {
|
|
8843
|
+
[x: string]: unknown;
|
|
8844
|
+
ContentID?: string | null | undefined;
|
|
8845
|
+
ContentType?: string | null | undefined;
|
|
8846
|
+
CreatorUserID?: string | null | undefined;
|
|
8847
|
+
IsOfficial?: boolean | null | undefined;
|
|
8848
|
+
CreatorPublicData?: {
|
|
7749
8849
|
[x: string]: unknown;
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
ThumbnailMaxBytes?: number | null | undefined;
|
|
8850
|
+
Username?: string | null | undefined;
|
|
8851
|
+
Country?: string | null | undefined;
|
|
8852
|
+
AvatarUrl?: string | null | undefined;
|
|
8853
|
+
Premium?: boolean | null | undefined;
|
|
8854
|
+
Level?: number | null | undefined;
|
|
8855
|
+
Power?: number | null | undefined;
|
|
8856
|
+
BoardRank?: number | null | undefined;
|
|
7758
8857
|
} | null | undefined;
|
|
7759
|
-
|
|
8858
|
+
Title?: string | null | undefined;
|
|
8859
|
+
Description?: string | null | undefined;
|
|
8860
|
+
Tags?: string[] | null | undefined;
|
|
8861
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
8862
|
+
ThumbnailUrl?: string | null | undefined;
|
|
8863
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8864
|
+
Access?: {
|
|
7760
8865
|
[x: string]: unknown;
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
8866
|
+
OptionID?: string | null | undefined;
|
|
8867
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8868
|
+
Price?: {
|
|
8869
|
+
Entries?: {
|
|
8870
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8871
|
+
CurrencyID?: string | null | undefined;
|
|
8872
|
+
Amount?: number | null | undefined;
|
|
8873
|
+
AmountUsd?: number | null | undefined;
|
|
8874
|
+
CatalogID?: string | null | undefined;
|
|
8875
|
+
ItemID?: string | null | undefined;
|
|
8876
|
+
ProductID?: string | null | undefined;
|
|
8877
|
+
}[] | null | undefined;
|
|
8878
|
+
EventTokens?: {
|
|
8879
|
+
Address?: {
|
|
8880
|
+
EntityID: string;
|
|
8881
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8882
|
+
} | null | undefined;
|
|
8883
|
+
Amount?: number | null | undefined;
|
|
8884
|
+
Source?: string | null | undefined;
|
|
8885
|
+
}[] | null | undefined;
|
|
8886
|
+
} | null | undefined;
|
|
8887
|
+
Holding?: {
|
|
7766
8888
|
[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?: {
|
|
8889
|
+
Requirements?: {
|
|
7792
8890
|
[x: string]: unknown;
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
8891
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8892
|
+
CurrencyID?: string | null | undefined;
|
|
8893
|
+
CatalogID?: string | null | undefined;
|
|
8894
|
+
ItemID?: string | null | undefined;
|
|
8895
|
+
Amount?: number | null | undefined;
|
|
8896
|
+
MinLevel?: number | null | undefined;
|
|
8897
|
+
}[] | null | undefined;
|
|
8898
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8899
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8900
|
+
} | null | undefined;
|
|
8901
|
+
}[] | null | undefined;
|
|
8902
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8903
|
+
ModerationNote?: string | null | undefined;
|
|
8904
|
+
Stats?: {
|
|
8905
|
+
[x: string]: unknown;
|
|
8906
|
+
Acquisitions?: number | null | undefined;
|
|
8907
|
+
Downloads?: number | null | undefined;
|
|
8908
|
+
Likes?: number | null | undefined;
|
|
8909
|
+
Favorites?: number | null | undefined;
|
|
8910
|
+
ReportCount?: number | null | undefined;
|
|
8911
|
+
} | null | undefined;
|
|
8912
|
+
Revision?: number | null | undefined;
|
|
8913
|
+
FileCount?: number | null | undefined;
|
|
8914
|
+
TotalBytes?: number | null | undefined;
|
|
8915
|
+
CreatedAt?: string | null | undefined;
|
|
8916
|
+
UpdatedAt?: string | null | undefined;
|
|
8917
|
+
PublishedAt?: string | null | undefined;
|
|
8918
|
+
IsMine?: boolean | null | undefined;
|
|
8919
|
+
Owned?: boolean | null | undefined;
|
|
8920
|
+
Liked?: boolean | null | undefined;
|
|
8921
|
+
Favorited?: boolean | null | undefined;
|
|
8922
|
+
}[] | null | undefined;
|
|
8923
|
+
}>>;
|
|
8924
|
+
getCreatorProfile(r: WorkshopRequest): Promise<OperationResult<{
|
|
8925
|
+
[x: string]: unknown;
|
|
8926
|
+
CreatorUserID?: string | null | undefined;
|
|
8927
|
+
PublicData?: {
|
|
8928
|
+
[x: string]: unknown;
|
|
8929
|
+
Username?: string | null | undefined;
|
|
8930
|
+
Country?: string | null | undefined;
|
|
8931
|
+
AvatarUrl?: string | null | undefined;
|
|
8932
|
+
Premium?: boolean | null | undefined;
|
|
8933
|
+
Level?: number | null | undefined;
|
|
8934
|
+
Power?: number | null | undefined;
|
|
8935
|
+
BoardRank?: number | null | undefined;
|
|
8936
|
+
} | null | undefined;
|
|
8937
|
+
PublishedCount?: number | null | undefined;
|
|
8938
|
+
FollowerCount?: number | null | undefined;
|
|
8939
|
+
IsFollowing?: boolean | null | undefined;
|
|
8940
|
+
Items?: {
|
|
8941
|
+
[x: string]: unknown;
|
|
8942
|
+
ContentID?: string | null | undefined;
|
|
8943
|
+
ContentType?: string | null | undefined;
|
|
8944
|
+
CreatorUserID?: string | null | undefined;
|
|
8945
|
+
IsOfficial?: boolean | null | undefined;
|
|
8946
|
+
CreatorPublicData?: {
|
|
8947
|
+
[x: string]: unknown;
|
|
8948
|
+
Username?: string | null | undefined;
|
|
8949
|
+
Country?: string | null | undefined;
|
|
8950
|
+
AvatarUrl?: string | null | undefined;
|
|
8951
|
+
Premium?: boolean | null | undefined;
|
|
8952
|
+
Level?: number | null | undefined;
|
|
8953
|
+
Power?: number | null | undefined;
|
|
8954
|
+
BoardRank?: number | null | undefined;
|
|
8955
|
+
} | null | undefined;
|
|
8956
|
+
Title?: string | null | undefined;
|
|
8957
|
+
Description?: string | null | undefined;
|
|
8958
|
+
Tags?: string[] | null | undefined;
|
|
8959
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
8960
|
+
ThumbnailUrl?: string | null | undefined;
|
|
8961
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8962
|
+
Access?: {
|
|
8963
|
+
[x: string]: unknown;
|
|
8964
|
+
OptionID?: string | null | undefined;
|
|
8965
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8966
|
+
Price?: {
|
|
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;
|
|
7810
8980
|
} | null | undefined;
|
|
8981
|
+
Amount?: number | null | undefined;
|
|
8982
|
+
Source?: string | null | undefined;
|
|
7811
8983
|
}[] | 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
8984
|
} | null | undefined;
|
|
7820
|
-
|
|
8985
|
+
Holding?: {
|
|
7821
8986
|
[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?: {
|
|
8987
|
+
Requirements?: {
|
|
7836
8988
|
[x: string]: unknown;
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
8989
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8990
|
+
CurrencyID?: string | null | undefined;
|
|
8991
|
+
CatalogID?: string | null | undefined;
|
|
8992
|
+
ItemID?: string | null | undefined;
|
|
8993
|
+
Amount?: number | null | undefined;
|
|
8994
|
+
MinLevel?: number | null | undefined;
|
|
8995
|
+
}[] | null | undefined;
|
|
8996
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8997
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
7844
8998
|
} | null | undefined;
|
|
7845
|
-
Order?: number | null | undefined;
|
|
7846
8999
|
}[] | null | undefined;
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
9000
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
9001
|
+
ModerationNote?: string | null | undefined;
|
|
9002
|
+
Stats?: {
|
|
9003
|
+
[x: string]: unknown;
|
|
9004
|
+
Acquisitions?: number | null | undefined;
|
|
9005
|
+
Downloads?: number | null | undefined;
|
|
9006
|
+
Likes?: number | null | undefined;
|
|
9007
|
+
Favorites?: number | null | undefined;
|
|
9008
|
+
ReportCount?: number | null | undefined;
|
|
9009
|
+
} | null | undefined;
|
|
9010
|
+
Revision?: number | null | undefined;
|
|
9011
|
+
FileCount?: number | null | undefined;
|
|
9012
|
+
TotalBytes?: number | null | undefined;
|
|
9013
|
+
CreatedAt?: string | null | undefined;
|
|
9014
|
+
UpdatedAt?: string | null | undefined;
|
|
9015
|
+
PublishedAt?: string | null | undefined;
|
|
9016
|
+
IsMine?: boolean | null | undefined;
|
|
9017
|
+
Owned?: boolean | null | undefined;
|
|
9018
|
+
Liked?: boolean | null | undefined;
|
|
9019
|
+
Favorited?: boolean | null | undefined;
|
|
9020
|
+
}[] | null | undefined;
|
|
9021
|
+
}>>;
|
|
9022
|
+
beginUpload(r: WorkshopRequest): Promise<OperationResult<{
|
|
9023
|
+
[x: string]: unknown;
|
|
9024
|
+
ContentID?: string | null | undefined;
|
|
9025
|
+
Revision?: number | null | undefined;
|
|
9026
|
+
Uploads?: {
|
|
7852
9027
|
[x: string]: unknown;
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
9028
|
+
Role?: string | null | undefined;
|
|
9029
|
+
Index?: number | null | undefined;
|
|
9030
|
+
Url?: string | null | undefined;
|
|
9031
|
+
ContentType?: string | null | undefined;
|
|
9032
|
+
Size?: number | null | undefined;
|
|
9033
|
+
ServerCopy?: boolean | null | undefined;
|
|
7858
9034
|
}[] | null | undefined;
|
|
9035
|
+
ThumbnailUpload?: {
|
|
9036
|
+
[x: string]: unknown;
|
|
9037
|
+
Role?: string | null | undefined;
|
|
9038
|
+
Index?: number | null | undefined;
|
|
9039
|
+
Url?: string | null | undefined;
|
|
9040
|
+
ContentType?: string | null | undefined;
|
|
9041
|
+
Size?: number | null | undefined;
|
|
9042
|
+
ServerCopy?: boolean | null | undefined;
|
|
9043
|
+
} | null | undefined;
|
|
9044
|
+
ExpiresAt?: string | null | undefined;
|
|
7859
9045
|
}>>;
|
|
7860
|
-
|
|
9046
|
+
publish(r: WorkshopRequest): Promise<OperationResult<{
|
|
7861
9047
|
[x: string]: unknown;
|
|
7862
|
-
|
|
9048
|
+
Content?: {
|
|
7863
9049
|
[x: string]: unknown;
|
|
7864
9050
|
ContentID?: string | null | undefined;
|
|
7865
9051
|
ContentType?: string | null | undefined;
|
|
@@ -7875,17 +9061,119 @@ declare class WorkshopApi {
|
|
|
7875
9061
|
Power?: number | null | undefined;
|
|
7876
9062
|
BoardRank?: number | null | undefined;
|
|
7877
9063
|
} | 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?: {
|
|
9064
|
+
Title?: string | null | undefined;
|
|
9065
|
+
Description?: string | null | undefined;
|
|
9066
|
+
Tags?: string[] | null | undefined;
|
|
9067
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
9068
|
+
ThumbnailUrl?: string | null | undefined;
|
|
9069
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
9070
|
+
Access?: {
|
|
9071
|
+
[x: string]: unknown;
|
|
9072
|
+
OptionID?: string | null | undefined;
|
|
9073
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
9074
|
+
Price?: {
|
|
9075
|
+
Entries?: {
|
|
9076
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9077
|
+
CurrencyID?: string | null | undefined;
|
|
9078
|
+
Amount?: number | null | undefined;
|
|
9079
|
+
AmountUsd?: number | null | undefined;
|
|
9080
|
+
CatalogID?: string | null | undefined;
|
|
9081
|
+
ItemID?: string | null | undefined;
|
|
9082
|
+
ProductID?: string | null | undefined;
|
|
9083
|
+
}[] | null | undefined;
|
|
9084
|
+
EventTokens?: {
|
|
9085
|
+
Address?: {
|
|
9086
|
+
EntityID: string;
|
|
9087
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9088
|
+
} | null | undefined;
|
|
9089
|
+
Amount?: number | null | undefined;
|
|
9090
|
+
Source?: string | null | undefined;
|
|
9091
|
+
}[] | null | undefined;
|
|
9092
|
+
} | null | undefined;
|
|
9093
|
+
Holding?: {
|
|
9094
|
+
[x: string]: unknown;
|
|
9095
|
+
Requirements?: {
|
|
9096
|
+
[x: string]: unknown;
|
|
9097
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9098
|
+
CurrencyID?: string | null | undefined;
|
|
9099
|
+
CatalogID?: string | null | undefined;
|
|
9100
|
+
ItemID?: string | null | undefined;
|
|
9101
|
+
Amount?: number | null | undefined;
|
|
9102
|
+
MinLevel?: number | null | undefined;
|
|
9103
|
+
}[] | null | undefined;
|
|
9104
|
+
Match?: "All" | "Any" | null | undefined;
|
|
9105
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
9106
|
+
} | null | undefined;
|
|
9107
|
+
}[] | null | undefined;
|
|
9108
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
9109
|
+
ModerationNote?: string | null | undefined;
|
|
9110
|
+
Stats?: {
|
|
9111
|
+
[x: string]: unknown;
|
|
9112
|
+
Acquisitions?: number | null | undefined;
|
|
9113
|
+
Downloads?: number | null | undefined;
|
|
9114
|
+
Likes?: number | null | undefined;
|
|
9115
|
+
Favorites?: number | null | undefined;
|
|
9116
|
+
ReportCount?: number | null | undefined;
|
|
9117
|
+
} | null | undefined;
|
|
9118
|
+
Revision?: number | null | undefined;
|
|
9119
|
+
FileCount?: number | null | undefined;
|
|
9120
|
+
TotalBytes?: number | null | undefined;
|
|
9121
|
+
CreatedAt?: string | null | undefined;
|
|
9122
|
+
UpdatedAt?: string | null | undefined;
|
|
9123
|
+
PublishedAt?: string | null | undefined;
|
|
9124
|
+
IsMine?: boolean | null | undefined;
|
|
9125
|
+
Owned?: boolean | null | undefined;
|
|
9126
|
+
Liked?: boolean | null | undefined;
|
|
9127
|
+
Favorited?: boolean | null | undefined;
|
|
9128
|
+
} | null | undefined;
|
|
9129
|
+
Resources?: {
|
|
9130
|
+
Grant?: {
|
|
9131
|
+
Standard?: {
|
|
9132
|
+
Entries?: {
|
|
9133
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9134
|
+
CurrencyID?: string | null | undefined;
|
|
9135
|
+
Amount?: number | null | undefined;
|
|
9136
|
+
AmountUsd?: number | null | undefined;
|
|
9137
|
+
CatalogID?: string | null | undefined;
|
|
9138
|
+
ItemID?: string | null | undefined;
|
|
9139
|
+
ProductID?: string | null | undefined;
|
|
9140
|
+
}[] | null | undefined;
|
|
9141
|
+
EventTokens?: {
|
|
9142
|
+
Address?: {
|
|
9143
|
+
EntityID: string;
|
|
9144
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9145
|
+
} | null | undefined;
|
|
9146
|
+
Amount?: number | null | undefined;
|
|
9147
|
+
Source?: string | null | undefined;
|
|
9148
|
+
}[] | null | undefined;
|
|
9149
|
+
} | null | undefined;
|
|
9150
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
9151
|
+
PremiumTiers?: {
|
|
9152
|
+
MinPremiumTier?: number | null | undefined;
|
|
9153
|
+
RequiredPremiumID?: string | null | undefined;
|
|
9154
|
+
Resources?: {
|
|
9155
|
+
Entries?: {
|
|
9156
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9157
|
+
CurrencyID?: string | null | undefined;
|
|
9158
|
+
Amount?: number | null | undefined;
|
|
9159
|
+
AmountUsd?: number | null | undefined;
|
|
9160
|
+
CatalogID?: string | null | undefined;
|
|
9161
|
+
ItemID?: string | null | undefined;
|
|
9162
|
+
ProductID?: string | null | undefined;
|
|
9163
|
+
}[] | null | undefined;
|
|
9164
|
+
EventTokens?: {
|
|
9165
|
+
Address?: {
|
|
9166
|
+
EntityID: string;
|
|
9167
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9168
|
+
} | null | undefined;
|
|
9169
|
+
Amount?: number | null | undefined;
|
|
9170
|
+
Source?: string | null | undefined;
|
|
9171
|
+
}[] | null | undefined;
|
|
9172
|
+
} | null | undefined;
|
|
9173
|
+
}[] | null | undefined;
|
|
9174
|
+
} | null | undefined;
|
|
9175
|
+
Consume?: {
|
|
9176
|
+
Standard?: {
|
|
7889
9177
|
Entries?: {
|
|
7890
9178
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7891
9179
|
CurrencyID?: string | null | undefined;
|
|
@@ -7904,45 +9192,34 @@ declare class WorkshopApi {
|
|
|
7904
9192
|
Source?: string | null | undefined;
|
|
7905
9193
|
}[] | null | undefined;
|
|
7906
9194
|
} | 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
|
-
|
|
9195
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
9196
|
+
PremiumTiers?: {
|
|
9197
|
+
MinPremiumTier?: number | null | undefined;
|
|
9198
|
+
RequiredPremiumID?: string | null | undefined;
|
|
9199
|
+
Resources?: {
|
|
9200
|
+
Entries?: {
|
|
9201
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9202
|
+
CurrencyID?: string | null | undefined;
|
|
9203
|
+
Amount?: number | null | undefined;
|
|
9204
|
+
AmountUsd?: number | null | undefined;
|
|
9205
|
+
CatalogID?: string | null | undefined;
|
|
9206
|
+
ItemID?: string | null | undefined;
|
|
9207
|
+
ProductID?: string | null | undefined;
|
|
9208
|
+
}[] | null | undefined;
|
|
9209
|
+
EventTokens?: {
|
|
9210
|
+
Address?: {
|
|
9211
|
+
EntityID: string;
|
|
9212
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9213
|
+
} | null | undefined;
|
|
9214
|
+
Amount?: number | null | undefined;
|
|
9215
|
+
Source?: string | null | undefined;
|
|
9216
|
+
}[] | null | undefined;
|
|
9217
|
+
} | null | undefined;
|
|
9218
|
+
}[] | null | undefined;
|
|
7931
9219
|
} | 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;
|
|
9220
|
+
} | null | undefined;
|
|
7944
9221
|
}>>;
|
|
7945
|
-
|
|
9222
|
+
updateContent(r: WorkshopRequest): Promise<OperationResult<{
|
|
7946
9223
|
[x: string]: unknown;
|
|
7947
9224
|
Content?: {
|
|
7948
9225
|
[x: string]: unknown;
|
|
@@ -8025,25 +9302,10 @@ declare class WorkshopApi {
|
|
|
8025
9302
|
Liked?: boolean | null | undefined;
|
|
8026
9303
|
Favorited?: boolean | null | undefined;
|
|
8027
9304
|
} | 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
9305
|
}>>;
|
|
8036
|
-
|
|
9306
|
+
unpublish(r: WorkshopRequest): Promise<OperationResult<{
|
|
8037
9307
|
[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?: {
|
|
9308
|
+
Content?: {
|
|
8047
9309
|
[x: string]: unknown;
|
|
8048
9310
|
ContentID?: string | null | undefined;
|
|
8049
9311
|
ContentType?: string | null | undefined;
|
|
@@ -8123,24 +9385,10 @@ declare class WorkshopApi {
|
|
|
8123
9385
|
Owned?: boolean | null | undefined;
|
|
8124
9386
|
Liked?: boolean | null | undefined;
|
|
8125
9387
|
Favorited?: boolean | null | undefined;
|
|
8126
|
-
}
|
|
9388
|
+
} | null | undefined;
|
|
8127
9389
|
}>>;
|
|
8128
|
-
|
|
9390
|
+
getMyContent(r: WorkshopRequest): Promise<OperationResult<{
|
|
8129
9391
|
[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
9392
|
Items?: {
|
|
8145
9393
|
[x: string]: unknown;
|
|
8146
9394
|
ContentID?: string | null | undefined;
|
|
@@ -8222,113 +9470,202 @@ declare class WorkshopApi {
|
|
|
8222
9470
|
Liked?: boolean | null | undefined;
|
|
8223
9471
|
Favorited?: boolean | null | undefined;
|
|
8224
9472
|
}[] | null | undefined;
|
|
9473
|
+
ContinuationToken?: string | null | undefined;
|
|
8225
9474
|
}>>;
|
|
8226
|
-
|
|
9475
|
+
acquire(r: WorkshopRequest): Promise<OperationResult<{
|
|
8227
9476
|
[x: string]: unknown;
|
|
8228
9477
|
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
|
-
|
|
9478
|
+
OptionID?: string | null | undefined;
|
|
9479
|
+
Source?: "Purchase" | "Free" | "Holding" | null | undefined;
|
|
9480
|
+
AlreadyOwned?: boolean | null | undefined;
|
|
9481
|
+
AccessActive?: boolean | null | undefined;
|
|
9482
|
+
Settlement?: {
|
|
9483
|
+
FromUserID?: string | null | undefined;
|
|
9484
|
+
ToUserID?: string | null | undefined;
|
|
9485
|
+
FromResult?: {
|
|
9486
|
+
Grant?: {
|
|
9487
|
+
Standard?: {
|
|
9488
|
+
Entries?: {
|
|
9489
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9490
|
+
CurrencyID?: string | null | undefined;
|
|
9491
|
+
Amount?: number | null | undefined;
|
|
9492
|
+
AmountUsd?: number | null | undefined;
|
|
9493
|
+
CatalogID?: string | null | undefined;
|
|
9494
|
+
ItemID?: string | null | undefined;
|
|
9495
|
+
ProductID?: string | null | undefined;
|
|
9496
|
+
}[] | null | undefined;
|
|
9497
|
+
EventTokens?: {
|
|
9498
|
+
Address?: {
|
|
9499
|
+
EntityID: string;
|
|
9500
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9501
|
+
} | null | undefined;
|
|
9502
|
+
Amount?: number | null | undefined;
|
|
9503
|
+
Source?: string | null | undefined;
|
|
9504
|
+
}[] | null | undefined;
|
|
9505
|
+
} | null | undefined;
|
|
9506
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
9507
|
+
PremiumTiers?: {
|
|
9508
|
+
MinPremiumTier?: number | null | undefined;
|
|
9509
|
+
RequiredPremiumID?: string | null | undefined;
|
|
9510
|
+
Resources?: {
|
|
9511
|
+
Entries?: {
|
|
9512
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9513
|
+
CurrencyID?: string | null | undefined;
|
|
9514
|
+
Amount?: number | null | undefined;
|
|
9515
|
+
AmountUsd?: number | null | undefined;
|
|
9516
|
+
CatalogID?: string | null | undefined;
|
|
9517
|
+
ItemID?: string | null | undefined;
|
|
9518
|
+
ProductID?: string | null | undefined;
|
|
9519
|
+
}[] | null | undefined;
|
|
9520
|
+
EventTokens?: {
|
|
9521
|
+
Address?: {
|
|
9522
|
+
EntityID: string;
|
|
9523
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9524
|
+
} | null | undefined;
|
|
9525
|
+
Amount?: number | null | undefined;
|
|
9526
|
+
Source?: string | null | undefined;
|
|
9527
|
+
}[] | null | undefined;
|
|
9528
|
+
} | null | undefined;
|
|
9529
|
+
}[] | null | undefined;
|
|
9530
|
+
} | null | undefined;
|
|
9531
|
+
Consume?: {
|
|
9532
|
+
Standard?: {
|
|
9533
|
+
Entries?: {
|
|
9534
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9535
|
+
CurrencyID?: string | null | undefined;
|
|
9536
|
+
Amount?: number | null | undefined;
|
|
9537
|
+
AmountUsd?: number | null | undefined;
|
|
9538
|
+
CatalogID?: string | null | undefined;
|
|
9539
|
+
ItemID?: string | null | undefined;
|
|
9540
|
+
ProductID?: string | null | undefined;
|
|
9541
|
+
}[] | null | undefined;
|
|
9542
|
+
EventTokens?: {
|
|
9543
|
+
Address?: {
|
|
9544
|
+
EntityID: string;
|
|
9545
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9546
|
+
} | null | undefined;
|
|
9547
|
+
Amount?: number | null | undefined;
|
|
9548
|
+
Source?: string | null | undefined;
|
|
9549
|
+
}[] | null | undefined;
|
|
9550
|
+
} | null | undefined;
|
|
9551
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
9552
|
+
PremiumTiers?: {
|
|
9553
|
+
MinPremiumTier?: number | null | undefined;
|
|
9554
|
+
RequiredPremiumID?: string | null | undefined;
|
|
9555
|
+
Resources?: {
|
|
9556
|
+
Entries?: {
|
|
9557
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9558
|
+
CurrencyID?: string | null | undefined;
|
|
9559
|
+
Amount?: number | null | undefined;
|
|
9560
|
+
AmountUsd?: number | null | undefined;
|
|
9561
|
+
CatalogID?: string | null | undefined;
|
|
9562
|
+
ItemID?: string | null | undefined;
|
|
9563
|
+
ProductID?: string | null | undefined;
|
|
9564
|
+
}[] | null | undefined;
|
|
9565
|
+
EventTokens?: {
|
|
9566
|
+
Address?: {
|
|
9567
|
+
EntityID: string;
|
|
9568
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9569
|
+
} | null | undefined;
|
|
9570
|
+
Amount?: number | null | undefined;
|
|
9571
|
+
Source?: string | null | undefined;
|
|
9572
|
+
}[] | null | undefined;
|
|
9573
|
+
} | null | undefined;
|
|
8287
9574
|
}[] | null | undefined;
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
9575
|
+
} | null | undefined;
|
|
9576
|
+
} | null | undefined;
|
|
9577
|
+
ToResult?: {
|
|
9578
|
+
Grant?: {
|
|
9579
|
+
Standard?: {
|
|
9580
|
+
Entries?: {
|
|
9581
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9582
|
+
CurrencyID?: string | null | undefined;
|
|
9583
|
+
Amount?: number | null | undefined;
|
|
9584
|
+
AmountUsd?: number | null | undefined;
|
|
9585
|
+
CatalogID?: string | null | undefined;
|
|
9586
|
+
ItemID?: string | null | undefined;
|
|
9587
|
+
ProductID?: string | null | undefined;
|
|
9588
|
+
}[] | null | undefined;
|
|
9589
|
+
EventTokens?: {
|
|
9590
|
+
Address?: {
|
|
9591
|
+
EntityID: string;
|
|
9592
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9593
|
+
} | null | undefined;
|
|
9594
|
+
Amount?: number | null | undefined;
|
|
9595
|
+
Source?: string | null | undefined;
|
|
9596
|
+
}[] | null | undefined;
|
|
9597
|
+
} | null | undefined;
|
|
9598
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
9599
|
+
PremiumTiers?: {
|
|
9600
|
+
MinPremiumTier?: number | null | undefined;
|
|
9601
|
+
RequiredPremiumID?: string | null | undefined;
|
|
9602
|
+
Resources?: {
|
|
9603
|
+
Entries?: {
|
|
9604
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9605
|
+
CurrencyID?: string | null | undefined;
|
|
9606
|
+
Amount?: number | null | undefined;
|
|
9607
|
+
AmountUsd?: number | null | undefined;
|
|
9608
|
+
CatalogID?: string | null | undefined;
|
|
9609
|
+
ItemID?: string | null | undefined;
|
|
9610
|
+
ProductID?: string | null | undefined;
|
|
9611
|
+
}[] | null | undefined;
|
|
9612
|
+
EventTokens?: {
|
|
9613
|
+
Address?: {
|
|
9614
|
+
EntityID: string;
|
|
9615
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9616
|
+
} | null | undefined;
|
|
9617
|
+
Amount?: number | null | undefined;
|
|
9618
|
+
Source?: string | null | undefined;
|
|
9619
|
+
}[] | null | undefined;
|
|
8292
9620
|
} | null | undefined;
|
|
8293
|
-
Amount?: number | null | undefined;
|
|
8294
|
-
Source?: string | null | undefined;
|
|
8295
9621
|
}[] | null | undefined;
|
|
8296
9622
|
} | null | undefined;
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
9623
|
+
Consume?: {
|
|
9624
|
+
Standard?: {
|
|
9625
|
+
Entries?: {
|
|
9626
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9627
|
+
CurrencyID?: string | null | undefined;
|
|
9628
|
+
Amount?: number | null | undefined;
|
|
9629
|
+
AmountUsd?: number | null | undefined;
|
|
9630
|
+
CatalogID?: string | null | undefined;
|
|
9631
|
+
ItemID?: string | null | undefined;
|
|
9632
|
+
ProductID?: string | null | undefined;
|
|
9633
|
+
}[] | null | undefined;
|
|
9634
|
+
EventTokens?: {
|
|
9635
|
+
Address?: {
|
|
9636
|
+
EntityID: string;
|
|
9637
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9638
|
+
} | null | undefined;
|
|
9639
|
+
Amount?: number | null | undefined;
|
|
9640
|
+
Source?: string | null | undefined;
|
|
9641
|
+
}[] | null | undefined;
|
|
9642
|
+
} | null | undefined;
|
|
9643
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
9644
|
+
PremiumTiers?: {
|
|
9645
|
+
MinPremiumTier?: number | null | undefined;
|
|
9646
|
+
RequiredPremiumID?: string | null | undefined;
|
|
9647
|
+
Resources?: {
|
|
9648
|
+
Entries?: {
|
|
9649
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9650
|
+
CurrencyID?: string | null | undefined;
|
|
9651
|
+
Amount?: number | null | undefined;
|
|
9652
|
+
AmountUsd?: number | null | undefined;
|
|
9653
|
+
CatalogID?: string | null | undefined;
|
|
9654
|
+
ItemID?: string | null | undefined;
|
|
9655
|
+
ProductID?: string | null | undefined;
|
|
9656
|
+
}[] | null | undefined;
|
|
9657
|
+
EventTokens?: {
|
|
9658
|
+
Address?: {
|
|
9659
|
+
EntityID: string;
|
|
9660
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9661
|
+
} | null | undefined;
|
|
9662
|
+
Amount?: number | null | undefined;
|
|
9663
|
+
Source?: string | null | undefined;
|
|
9664
|
+
}[] | null | undefined;
|
|
9665
|
+
} | null | undefined;
|
|
8307
9666
|
}[] | null | undefined;
|
|
8308
|
-
Match?: "All" | "Any" | null | undefined;
|
|
8309
|
-
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8310
9667
|
} | 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
9668
|
} | 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
9669
|
} | null | undefined;
|
|
8333
9670
|
Resources?: {
|
|
8334
9671
|
Grant?: {
|
|
@@ -8422,176 +9759,161 @@ declare class WorkshopApi {
|
|
|
8422
9759
|
}[] | null | undefined;
|
|
8423
9760
|
} | null | undefined;
|
|
8424
9761
|
} | 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;
|
|
9762
|
+
CommissionTaken?: {
|
|
9763
|
+
Entries?: {
|
|
9764
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9765
|
+
CurrencyID?: string | null | undefined;
|
|
9766
|
+
Amount?: number | null | undefined;
|
|
9767
|
+
AmountUsd?: number | null | undefined;
|
|
9768
|
+
CatalogID?: string | null | undefined;
|
|
9769
|
+
ItemID?: string | null | undefined;
|
|
9770
|
+
ProductID?: string | null | undefined;
|
|
9771
|
+
}[] | null | undefined;
|
|
9772
|
+
EventTokens?: {
|
|
9773
|
+
Address?: {
|
|
9774
|
+
EntityID: string;
|
|
9775
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8486
9776
|
} | null | undefined;
|
|
9777
|
+
Amount?: number | null | undefined;
|
|
9778
|
+
Source?: string | null | undefined;
|
|
8487
9779
|
}[] | 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
9780
|
} | null | undefined;
|
|
8509
9781
|
}>>;
|
|
8510
|
-
|
|
9782
|
+
getDownload(r: WorkshopRequest): Promise<OperationResult<{
|
|
9783
|
+
[x: string]: unknown;
|
|
9784
|
+
ContentID?: string | null | undefined;
|
|
9785
|
+
ContentType?: string | null | undefined;
|
|
9786
|
+
Revision?: number | null | undefined;
|
|
9787
|
+
AccessVia?: "Creator" | "Free" | "Holding" | "License" | null | undefined;
|
|
9788
|
+
Files?: {
|
|
9789
|
+
[x: string]: unknown;
|
|
9790
|
+
Role?: string | null | undefined;
|
|
9791
|
+
Url?: string | null | undefined;
|
|
9792
|
+
ContentType?: string | null | undefined;
|
|
9793
|
+
Size?: number | null | undefined;
|
|
9794
|
+
}[] | null | undefined;
|
|
9795
|
+
ThumbnailUrl?: string | null | undefined;
|
|
9796
|
+
ExpiresAt?: string | null | undefined;
|
|
9797
|
+
}>>;
|
|
9798
|
+
getMyLicenses(r: WorkshopRequest): Promise<OperationResult<{
|
|
8511
9799
|
[x: string]: unknown;
|
|
8512
|
-
|
|
9800
|
+
Licenses?: {
|
|
8513
9801
|
[x: string]: unknown;
|
|
8514
9802
|
ContentID?: string | null | undefined;
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
9803
|
+
Source?: "Purchase" | "Free" | "Holding" | null | undefined;
|
|
9804
|
+
OptionID?: string | null | undefined;
|
|
9805
|
+
PricePaid?: {
|
|
9806
|
+
Entries?: {
|
|
9807
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9808
|
+
CurrencyID?: string | null | undefined;
|
|
9809
|
+
Amount?: number | null | undefined;
|
|
9810
|
+
AmountUsd?: number | null | undefined;
|
|
9811
|
+
CatalogID?: string | null | undefined;
|
|
9812
|
+
ItemID?: string | null | undefined;
|
|
9813
|
+
ProductID?: string | null | undefined;
|
|
9814
|
+
}[] | null | undefined;
|
|
9815
|
+
EventTokens?: {
|
|
9816
|
+
Address?: {
|
|
9817
|
+
EntityID: string;
|
|
9818
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9819
|
+
} | null | undefined;
|
|
9820
|
+
Amount?: number | null | undefined;
|
|
9821
|
+
Source?: string | null | undefined;
|
|
9822
|
+
}[] | null | undefined;
|
|
8527
9823
|
} | 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?: {
|
|
9824
|
+
AcquiredAt?: string | null | undefined;
|
|
9825
|
+
Content?: {
|
|
8535
9826
|
[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;
|
|
9827
|
+
ContentID?: string | null | undefined;
|
|
9828
|
+
ContentType?: string | null | undefined;
|
|
9829
|
+
CreatorUserID?: string | null | undefined;
|
|
9830
|
+
IsOfficial?: boolean | null | undefined;
|
|
9831
|
+
CreatorPublicData?: {
|
|
9832
|
+
[x: string]: unknown;
|
|
9833
|
+
Username?: string | null | undefined;
|
|
9834
|
+
Country?: string | null | undefined;
|
|
9835
|
+
AvatarUrl?: string | null | undefined;
|
|
9836
|
+
Premium?: boolean | null | undefined;
|
|
9837
|
+
Level?: number | null | undefined;
|
|
9838
|
+
Power?: number | null | undefined;
|
|
9839
|
+
BoardRank?: number | null | undefined;
|
|
8556
9840
|
} | null | undefined;
|
|
8557
|
-
|
|
9841
|
+
Title?: string | null | undefined;
|
|
9842
|
+
Description?: string | null | undefined;
|
|
9843
|
+
Tags?: string[] | null | undefined;
|
|
9844
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
9845
|
+
ThumbnailUrl?: string | null | undefined;
|
|
9846
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
9847
|
+
Access?: {
|
|
8558
9848
|
[x: string]: unknown;
|
|
8559
|
-
|
|
9849
|
+
OptionID?: string | null | undefined;
|
|
9850
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
9851
|
+
Price?: {
|
|
9852
|
+
Entries?: {
|
|
9853
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9854
|
+
CurrencyID?: string | null | undefined;
|
|
9855
|
+
Amount?: number | null | undefined;
|
|
9856
|
+
AmountUsd?: number | null | undefined;
|
|
9857
|
+
CatalogID?: string | null | undefined;
|
|
9858
|
+
ItemID?: string | null | undefined;
|
|
9859
|
+
ProductID?: string | null | undefined;
|
|
9860
|
+
}[] | null | undefined;
|
|
9861
|
+
EventTokens?: {
|
|
9862
|
+
Address?: {
|
|
9863
|
+
EntityID: string;
|
|
9864
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9865
|
+
} | null | undefined;
|
|
9866
|
+
Amount?: number | null | undefined;
|
|
9867
|
+
Source?: string | null | undefined;
|
|
9868
|
+
}[] | null | undefined;
|
|
9869
|
+
} | null | undefined;
|
|
9870
|
+
Holding?: {
|
|
8560
9871
|
[x: string]: unknown;
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
9872
|
+
Requirements?: {
|
|
9873
|
+
[x: string]: unknown;
|
|
9874
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9875
|
+
CurrencyID?: string | null | undefined;
|
|
9876
|
+
CatalogID?: string | null | undefined;
|
|
9877
|
+
ItemID?: string | null | undefined;
|
|
9878
|
+
Amount?: number | null | undefined;
|
|
9879
|
+
MinLevel?: number | null | undefined;
|
|
9880
|
+
}[] | null | undefined;
|
|
9881
|
+
Match?: "All" | "Any" | null | undefined;
|
|
9882
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
9883
|
+
} | null | undefined;
|
|
9884
|
+
}[] | null | undefined;
|
|
9885
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
9886
|
+
ModerationNote?: string | null | undefined;
|
|
9887
|
+
Stats?: {
|
|
9888
|
+
[x: string]: unknown;
|
|
9889
|
+
Acquisitions?: number | null | undefined;
|
|
9890
|
+
Downloads?: number | null | undefined;
|
|
9891
|
+
Likes?: number | null | undefined;
|
|
9892
|
+
Favorites?: number | null | undefined;
|
|
9893
|
+
ReportCount?: number | null | undefined;
|
|
8570
9894
|
} | null | undefined;
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
9895
|
+
Revision?: number | null | undefined;
|
|
9896
|
+
FileCount?: number | null | undefined;
|
|
9897
|
+
TotalBytes?: number | null | undefined;
|
|
9898
|
+
CreatedAt?: string | null | undefined;
|
|
9899
|
+
UpdatedAt?: string | null | undefined;
|
|
9900
|
+
PublishedAt?: string | null | undefined;
|
|
9901
|
+
IsMine?: boolean | null | undefined;
|
|
9902
|
+
Owned?: boolean | null | undefined;
|
|
9903
|
+
Liked?: boolean | null | undefined;
|
|
9904
|
+
Favorited?: boolean | null | undefined;
|
|
8581
9905
|
} | 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;
|
|
9906
|
+
}[] | null | undefined;
|
|
9907
|
+
ContinuationToken?: string | null | undefined;
|
|
8593
9908
|
}>>;
|
|
8594
|
-
|
|
9909
|
+
react(action: "Like" | "Unlike" | "Favorite" | "Unfavorite", r: WorkshopRequest): Promise<OperationResult<{
|
|
9910
|
+
[x: string]: unknown;
|
|
9911
|
+
ContentID?: string | null | undefined;
|
|
9912
|
+
Kind?: "Like" | "Favorite" | null | undefined;
|
|
9913
|
+
Active?: boolean | null | undefined;
|
|
9914
|
+
Count?: number | null | undefined;
|
|
9915
|
+
}>>;
|
|
9916
|
+
getMyFavorites(r: WorkshopRequest): Promise<OperationResult<{
|
|
8595
9917
|
[x: string]: unknown;
|
|
8596
9918
|
Items?: {
|
|
8597
9919
|
[x: string]: unknown;
|
|
@@ -8676,19 +9998,153 @@ declare class WorkshopApi {
|
|
|
8676
9998
|
}[] | null | undefined;
|
|
8677
9999
|
ContinuationToken?: string | null | undefined;
|
|
8678
10000
|
}>>;
|
|
8679
|
-
|
|
10001
|
+
follow(action: "Follow" | "Unfollow", r: WorkshopRequest): Promise<OperationResult<{
|
|
8680
10002
|
[x: string]: unknown;
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
|
|
8691
|
-
|
|
10003
|
+
CreatorUserID?: string | null | undefined;
|
|
10004
|
+
Following?: boolean | null | undefined;
|
|
10005
|
+
FollowerCount?: number | null | undefined;
|
|
10006
|
+
}>>;
|
|
10007
|
+
report(r: WorkshopRequest): Promise<OperationResult<{
|
|
10008
|
+
[x: string]: unknown;
|
|
10009
|
+
ReportID?: string | null | undefined;
|
|
10010
|
+
AlreadyReported?: boolean | null | undefined;
|
|
10011
|
+
AutoHidden?: boolean | null | undefined;
|
|
10012
|
+
}>>;
|
|
10013
|
+
}
|
|
10014
|
+
|
|
10015
|
+
/**
|
|
10016
|
+
* Thin transport wrapper for DataCollections (port of DataCollections/DataCollections.cs) plus the
|
|
10017
|
+
* anonymous entry `v2/{titleID}/Public/DataCollections/{action}` used by sites without a session.
|
|
10018
|
+
*
|
|
10019
|
+
* ⚠ One route serves many DIFFERENT requests (every collection, every record, every page), so the
|
|
10020
|
+
* throttle/dedup key is the request itself, not the route: with the default key a second query to
|
|
10021
|
+
* another collection — or the next page — would be skipped as a duplicate.
|
|
10022
|
+
*/
|
|
10023
|
+
declare class DataCollectionsApi {
|
|
10024
|
+
private readonly ctx;
|
|
10025
|
+
constructor(ctx: ClientContext);
|
|
10026
|
+
private send;
|
|
10027
|
+
private sendPublic;
|
|
10028
|
+
getDefinitions(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10029
|
+
Collections: Record<string, {
|
|
10030
|
+
Kind: "UserOwned" | "Shared" | "Temporary" | "Log";
|
|
10031
|
+
DisplayName?: string | null | undefined;
|
|
10032
|
+
Description?: string | null | undefined;
|
|
10033
|
+
Namespace?: string | null | undefined;
|
|
10034
|
+
Tags?: string[] | null | undefined;
|
|
10035
|
+
Enabled?: boolean | null | undefined;
|
|
10036
|
+
Mode?: "Strict" | "Loose" | undefined;
|
|
10037
|
+
SchemaVersion?: number | undefined;
|
|
10038
|
+
Fields?: Record<string, {
|
|
10039
|
+
Type: "Text" | "Date" | "String" | "Int" | "Bool" | "Json" | "Number" | "Array" | "Ref" | "File";
|
|
10040
|
+
ItemType?: "Text" | "Date" | "String" | "Int" | "Bool" | "Json" | "Number" | "Array" | "Ref" | "File" | null | undefined;
|
|
10041
|
+
Ref?: {
|
|
10042
|
+
Kind: "Item" | "Quest" | "Leaderboard" | "User" | "Currency" | "DataItem" | "ItemInstance" | "StoreOffer" | "WorkshopContent";
|
|
10043
|
+
Collection?: string | null | undefined;
|
|
10044
|
+
Validate?: boolean | null | undefined;
|
|
10045
|
+
} | null | undefined;
|
|
10046
|
+
Required?: boolean | undefined;
|
|
10047
|
+
Default?: string | null | undefined;
|
|
10048
|
+
Min?: number | null | undefined;
|
|
10049
|
+
Max?: number | null | undefined;
|
|
10050
|
+
MaxLength?: number | null | undefined;
|
|
10051
|
+
MaxItems?: number | null | undefined;
|
|
10052
|
+
Enum?: string[] | null | undefined;
|
|
10053
|
+
Unique?: boolean | undefined;
|
|
10054
|
+
UniqueIgnoreCase?: boolean | undefined;
|
|
10055
|
+
Indexed?: boolean | undefined;
|
|
10056
|
+
Visibility?: "Server" | "Everyone" | "Owner" | undefined;
|
|
10057
|
+
ClientWritable?: boolean | null | undefined;
|
|
10058
|
+
Immutable?: boolean | undefined;
|
|
10059
|
+
Description?: string | null | undefined;
|
|
10060
|
+
AllowedMimeTypes?: string[] | null | undefined;
|
|
10061
|
+
MaxFileBytes?: number | null | undefined;
|
|
10062
|
+
}> | null | undefined;
|
|
10063
|
+
SortKeys?: {
|
|
10064
|
+
ID: string;
|
|
10065
|
+
Components: {
|
|
10066
|
+
Field: string;
|
|
10067
|
+
Descending?: boolean | undefined;
|
|
10068
|
+
}[];
|
|
10069
|
+
}[] | null | undefined;
|
|
10070
|
+
Access?: {
|
|
10071
|
+
Read?: {
|
|
10072
|
+
Mode: "Anyone" | "Members" | "Server" | "Role" | "Owner" | "Authenticated";
|
|
10073
|
+
Role?: string | null | undefined;
|
|
10074
|
+
MembersField?: string | null | undefined;
|
|
10075
|
+
}[] | null | undefined;
|
|
10076
|
+
Create?: {
|
|
10077
|
+
Mode: "Anyone" | "Members" | "Server" | "Role" | "Owner" | "Authenticated";
|
|
10078
|
+
Role?: string | null | undefined;
|
|
10079
|
+
MembersField?: string | null | undefined;
|
|
10080
|
+
}[] | null | undefined;
|
|
10081
|
+
Update?: {
|
|
10082
|
+
Mode: "Anyone" | "Members" | "Server" | "Role" | "Owner" | "Authenticated";
|
|
10083
|
+
Role?: string | null | undefined;
|
|
10084
|
+
MembersField?: string | null | undefined;
|
|
10085
|
+
}[] | null | undefined;
|
|
10086
|
+
Delete?: {
|
|
10087
|
+
Mode: "Anyone" | "Members" | "Server" | "Role" | "Owner" | "Authenticated";
|
|
10088
|
+
Role?: string | null | undefined;
|
|
10089
|
+
MembersField?: string | null | undefined;
|
|
10090
|
+
}[] | null | undefined;
|
|
10091
|
+
} | null | undefined;
|
|
10092
|
+
Limits?: {
|
|
10093
|
+
MaxItemBytes?: number | null | undefined;
|
|
10094
|
+
MaxItemsPerOwner?: number | null | undefined;
|
|
10095
|
+
TtlSeconds?: number | null | undefined;
|
|
10096
|
+
} | null | undefined;
|
|
10097
|
+
OnOwnerDeleted?: "Delete" | "Anonymize" | "Keep" | undefined;
|
|
10098
|
+
Counters?: {
|
|
10099
|
+
ID: string;
|
|
10100
|
+
Kind: "Count" | "Sum";
|
|
10101
|
+
SumField?: string | null | undefined;
|
|
10102
|
+
GroupBy?: string | null | undefined;
|
|
10103
|
+
Visibility?: "Server" | "Everyone" | "Owner" | undefined;
|
|
10104
|
+
}[] | null | undefined;
|
|
10105
|
+
Economy?: {
|
|
10106
|
+
OnCreate?: {
|
|
10107
|
+
Cost?: {
|
|
10108
|
+
Entries?: {
|
|
10109
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
10110
|
+
CurrencyID?: string | null | undefined;
|
|
10111
|
+
Amount?: number | null | undefined;
|
|
10112
|
+
AmountUsd?: number | null | undefined;
|
|
10113
|
+
CatalogID?: string | null | undefined;
|
|
10114
|
+
ItemID?: string | null | undefined;
|
|
10115
|
+
ProductID?: string | null | undefined;
|
|
10116
|
+
}[] | null | undefined;
|
|
10117
|
+
EventTokens?: {
|
|
10118
|
+
Address?: {
|
|
10119
|
+
EntityID: string;
|
|
10120
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10121
|
+
} | null | undefined;
|
|
10122
|
+
Amount?: number | null | undefined;
|
|
10123
|
+
Source?: string | null | undefined;
|
|
10124
|
+
}[] | null | undefined;
|
|
10125
|
+
} | null | undefined;
|
|
10126
|
+
Grant?: {
|
|
10127
|
+
Entries?: {
|
|
10128
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
10129
|
+
CurrencyID?: string | null | undefined;
|
|
10130
|
+
Amount?: number | null | undefined;
|
|
10131
|
+
AmountUsd?: number | null | undefined;
|
|
10132
|
+
CatalogID?: string | null | undefined;
|
|
10133
|
+
ItemID?: string | null | undefined;
|
|
10134
|
+
ProductID?: string | null | undefined;
|
|
10135
|
+
}[] | null | undefined;
|
|
10136
|
+
EventTokens?: {
|
|
10137
|
+
Address?: {
|
|
10138
|
+
EntityID: string;
|
|
10139
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10140
|
+
} | null | undefined;
|
|
10141
|
+
Amount?: number | null | undefined;
|
|
10142
|
+
Source?: string | null | undefined;
|
|
10143
|
+
}[] | null | undefined;
|
|
10144
|
+
} | null | undefined;
|
|
10145
|
+
} | null | undefined;
|
|
10146
|
+
OnUpdate?: {
|
|
10147
|
+
Cost?: {
|
|
8692
10148
|
Entries?: {
|
|
8693
10149
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8694
10150
|
CurrencyID?: string | null | undefined;
|
|
@@ -8707,33 +10163,7 @@ declare class WorkshopApi {
|
|
|
8707
10163
|
Source?: string | null | undefined;
|
|
8708
10164
|
}[] | null | undefined;
|
|
8709
10165
|
} | 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?: {
|
|
10166
|
+
Grant?: {
|
|
8737
10167
|
Entries?: {
|
|
8738
10168
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8739
10169
|
CurrencyID?: string | null | undefined;
|
|
@@ -8752,35 +10182,9 @@ declare class WorkshopApi {
|
|
|
8752
10182
|
Source?: string | null | undefined;
|
|
8753
10183
|
}[] | null | undefined;
|
|
8754
10184
|
} | 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
10185
|
} | null | undefined;
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
Grant?: {
|
|
8783
|
-
Standard?: {
|
|
10186
|
+
OnDelete?: {
|
|
10187
|
+
Cost?: {
|
|
8784
10188
|
Entries?: {
|
|
8785
10189
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8786
10190
|
CurrencyID?: string | null | undefined;
|
|
@@ -8799,33 +10203,7 @@ declare class WorkshopApi {
|
|
|
8799
10203
|
Source?: string | null | undefined;
|
|
8800
10204
|
}[] | null | undefined;
|
|
8801
10205
|
} | 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?: {
|
|
10206
|
+
Grant?: {
|
|
8829
10207
|
Entries?: {
|
|
8830
10208
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8831
10209
|
CurrencyID?: string | null | undefined;
|
|
@@ -8844,34 +10222,128 @@ declare class WorkshopApi {
|
|
|
8844
10222
|
Source?: string | null | undefined;
|
|
8845
10223
|
}[] | null | undefined;
|
|
8846
10224
|
} | 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
10225
|
} | null | undefined;
|
|
8872
10226
|
} | null | undefined;
|
|
8873
|
-
|
|
8874
|
-
|
|
10227
|
+
WriteGate?: {
|
|
10228
|
+
[x: string]: unknown;
|
|
10229
|
+
Segments?: string[] | null | undefined;
|
|
10230
|
+
MinPremiumTier?: number | null | undefined;
|
|
10231
|
+
RequiredPremiumIDs?: string[] | null | undefined;
|
|
10232
|
+
MinLevel?: number | null | undefined;
|
|
10233
|
+
MaxLevel?: number | null | undefined;
|
|
10234
|
+
Countries?: string[] | null | undefined;
|
|
10235
|
+
RegisteredWithinDays?: number | null | undefined;
|
|
10236
|
+
ActiveWithinDays?: number | null | undefined;
|
|
10237
|
+
Experiment?: {
|
|
10238
|
+
[x: string]: unknown;
|
|
10239
|
+
ExperimentID?: string | null | undefined;
|
|
10240
|
+
Variants?: string[] | null | undefined;
|
|
10241
|
+
} | null | undefined;
|
|
10242
|
+
Tutorial?: {
|
|
10243
|
+
[x: string]: unknown;
|
|
10244
|
+
FlowIDs?: string[] | null | undefined;
|
|
10245
|
+
Mode?: "Completed" | "Started" | "StepReached" | null | undefined;
|
|
10246
|
+
StepID?: string | null | undefined;
|
|
10247
|
+
Negate?: boolean | null | undefined;
|
|
10248
|
+
SkippedCountsAsCompleted?: boolean | null | undefined;
|
|
10249
|
+
} | null | undefined;
|
|
10250
|
+
Platforms?: ("Unknown" | "Web" | "Android" | "Ios")[] | null | undefined;
|
|
10251
|
+
} | null | undefined;
|
|
10252
|
+
PublicViews?: {
|
|
10253
|
+
ID: string;
|
|
10254
|
+
SortKey: string;
|
|
10255
|
+
PartitionField?: string | null | undefined;
|
|
10256
|
+
PageSize?: number | undefined;
|
|
10257
|
+
MaxItems?: number | undefined;
|
|
10258
|
+
PublishItems?: boolean | undefined;
|
|
10259
|
+
}[] | null | undefined;
|
|
10260
|
+
AnonymousSearch?: boolean | null | undefined;
|
|
10261
|
+
}>;
|
|
10262
|
+
Enabled?: boolean | undefined;
|
|
10263
|
+
}>>;
|
|
10264
|
+
get(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10265
|
+
Item: {
|
|
10266
|
+
Collection: string;
|
|
10267
|
+
ItemID: string;
|
|
10268
|
+
Data: Record<string, unknown>;
|
|
10269
|
+
Version: number;
|
|
10270
|
+
CreatedAt: string;
|
|
10271
|
+
UpdatedAt: string;
|
|
10272
|
+
OwnerUserID?: string | null | undefined;
|
|
10273
|
+
ExpireAt?: string | null | undefined;
|
|
10274
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10275
|
+
Files?: Record<string, {
|
|
10276
|
+
FileID: string;
|
|
10277
|
+
Url: string;
|
|
10278
|
+
Size: number;
|
|
10279
|
+
ContentType?: string | null | undefined;
|
|
10280
|
+
}> | null | undefined;
|
|
10281
|
+
};
|
|
10282
|
+
}>>;
|
|
10283
|
+
getMany(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10284
|
+
Items: {
|
|
10285
|
+
Collection: string;
|
|
10286
|
+
ItemID: string;
|
|
10287
|
+
Data: Record<string, unknown>;
|
|
10288
|
+
Version: number;
|
|
10289
|
+
CreatedAt: string;
|
|
10290
|
+
UpdatedAt: string;
|
|
10291
|
+
OwnerUserID?: string | null | undefined;
|
|
10292
|
+
ExpireAt?: string | null | undefined;
|
|
10293
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10294
|
+
Files?: Record<string, {
|
|
10295
|
+
FileID: string;
|
|
10296
|
+
Url: string;
|
|
10297
|
+
Size: number;
|
|
10298
|
+
ContentType?: string | null | undefined;
|
|
10299
|
+
}> | null | undefined;
|
|
10300
|
+
}[];
|
|
10301
|
+
Missing: string[];
|
|
10302
|
+
}>>;
|
|
10303
|
+
query(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10304
|
+
Items: {
|
|
10305
|
+
Collection: string;
|
|
10306
|
+
ItemID: string;
|
|
10307
|
+
Data: Record<string, unknown>;
|
|
10308
|
+
Version: number;
|
|
10309
|
+
CreatedAt: string;
|
|
10310
|
+
UpdatedAt: string;
|
|
10311
|
+
OwnerUserID?: string | null | undefined;
|
|
10312
|
+
ExpireAt?: string | null | undefined;
|
|
10313
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10314
|
+
Files?: Record<string, {
|
|
10315
|
+
FileID: string;
|
|
10316
|
+
Url: string;
|
|
10317
|
+
Size: number;
|
|
10318
|
+
ContentType?: string | null | undefined;
|
|
10319
|
+
}> | null | undefined;
|
|
10320
|
+
}[];
|
|
10321
|
+
NextCursor?: string | null | undefined;
|
|
10322
|
+
}>>;
|
|
10323
|
+
count(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10324
|
+
Count: number;
|
|
10325
|
+
Capped?: boolean | undefined;
|
|
10326
|
+
}>>;
|
|
10327
|
+
create(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10328
|
+
Item: {
|
|
10329
|
+
Collection: string;
|
|
10330
|
+
ItemID: string;
|
|
10331
|
+
Data: Record<string, unknown>;
|
|
10332
|
+
Version: number;
|
|
10333
|
+
CreatedAt: string;
|
|
10334
|
+
UpdatedAt: string;
|
|
10335
|
+
OwnerUserID?: string | null | undefined;
|
|
10336
|
+
ExpireAt?: string | null | undefined;
|
|
10337
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10338
|
+
Files?: Record<string, {
|
|
10339
|
+
FileID: string;
|
|
10340
|
+
Url: string;
|
|
10341
|
+
Size: number;
|
|
10342
|
+
ContentType?: string | null | undefined;
|
|
10343
|
+
}> | null | undefined;
|
|
10344
|
+
};
|
|
10345
|
+
AlreadyExists?: boolean | undefined;
|
|
10346
|
+
Economy?: {
|
|
8875
10347
|
Grant?: {
|
|
8876
10348
|
Standard?: {
|
|
8877
10349
|
Entries?: {
|
|
@@ -8963,96 +10435,52 @@ declare class WorkshopApi {
|
|
|
8963
10435
|
}[] | null | undefined;
|
|
8964
10436
|
} | null | undefined;
|
|
8965
10437
|
} | 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
10438
|
}>>;
|
|
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;
|
|
10439
|
+
update(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10440
|
+
Item: {
|
|
10441
|
+
Collection: string;
|
|
10442
|
+
ItemID: string;
|
|
10443
|
+
Data: Record<string, unknown>;
|
|
10444
|
+
Version: number;
|
|
10445
|
+
CreatedAt: string;
|
|
10446
|
+
UpdatedAt: string;
|
|
10447
|
+
OwnerUserID?: string | null | undefined;
|
|
10448
|
+
ExpireAt?: string | null | undefined;
|
|
10449
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10450
|
+
Files?: Record<string, {
|
|
10451
|
+
FileID: string;
|
|
10452
|
+
Url: string;
|
|
10453
|
+
Size: number;
|
|
9032
10454
|
ContentType?: string | null | undefined;
|
|
9033
|
-
|
|
9034
|
-
|
|
9035
|
-
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
10455
|
+
}> | null | undefined;
|
|
10456
|
+
};
|
|
10457
|
+
AlreadyExists?: boolean | undefined;
|
|
10458
|
+
Economy?: {
|
|
10459
|
+
Grant?: {
|
|
10460
|
+
Standard?: {
|
|
10461
|
+
Entries?: {
|
|
10462
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
10463
|
+
CurrencyID?: string | null | undefined;
|
|
10464
|
+
Amount?: number | null | undefined;
|
|
10465
|
+
AmountUsd?: number | null | undefined;
|
|
10466
|
+
CatalogID?: string | null | undefined;
|
|
10467
|
+
ItemID?: string | null | undefined;
|
|
10468
|
+
ProductID?: string | null | undefined;
|
|
10469
|
+
}[] | null | undefined;
|
|
10470
|
+
EventTokens?: {
|
|
10471
|
+
Address?: {
|
|
10472
|
+
EntityID: string;
|
|
10473
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10474
|
+
} | null | undefined;
|
|
10475
|
+
Amount?: number | null | undefined;
|
|
10476
|
+
Source?: string | null | undefined;
|
|
10477
|
+
}[] | null | undefined;
|
|
9044
10478
|
} | 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?: {
|
|
10479
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
10480
|
+
PremiumTiers?: {
|
|
10481
|
+
MinPremiumTier?: number | null | undefined;
|
|
10482
|
+
RequiredPremiumID?: string | null | undefined;
|
|
10483
|
+
Resources?: {
|
|
9056
10484
|
Entries?: {
|
|
9057
10485
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9058
10486
|
CurrencyID?: string | null | undefined;
|
|
@@ -9071,81 +10499,61 @@ declare class WorkshopApi {
|
|
|
9071
10499
|
Source?: string | null | undefined;
|
|
9072
10500
|
}[] | null | undefined;
|
|
9073
10501
|
} | null | undefined;
|
|
9074
|
-
|
|
9075
|
-
|
|
9076
|
-
|
|
9077
|
-
|
|
10502
|
+
}[] | null | undefined;
|
|
10503
|
+
} | null | undefined;
|
|
10504
|
+
Consume?: {
|
|
10505
|
+
Standard?: {
|
|
10506
|
+
Entries?: {
|
|
10507
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
10508
|
+
CurrencyID?: string | null | undefined;
|
|
10509
|
+
Amount?: number | null | undefined;
|
|
10510
|
+
AmountUsd?: number | null | undefined;
|
|
10511
|
+
CatalogID?: string | null | undefined;
|
|
10512
|
+
ItemID?: string | null | undefined;
|
|
10513
|
+
ProductID?: string | null | undefined;
|
|
10514
|
+
}[] | null | undefined;
|
|
10515
|
+
EventTokens?: {
|
|
10516
|
+
Address?: {
|
|
10517
|
+
EntityID: string;
|
|
10518
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10519
|
+
} | null | undefined;
|
|
10520
|
+
Amount?: number | null | undefined;
|
|
10521
|
+
Source?: string | null | undefined;
|
|
10522
|
+
}[] | null | undefined;
|
|
10523
|
+
} | null | undefined;
|
|
10524
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
10525
|
+
PremiumTiers?: {
|
|
10526
|
+
MinPremiumTier?: number | null | undefined;
|
|
10527
|
+
RequiredPremiumID?: string | null | undefined;
|
|
10528
|
+
Resources?: {
|
|
10529
|
+
Entries?: {
|
|
9078
10530
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9079
10531
|
CurrencyID?: string | null | undefined;
|
|
10532
|
+
Amount?: number | null | undefined;
|
|
10533
|
+
AmountUsd?: number | null | undefined;
|
|
9080
10534
|
CatalogID?: string | null | undefined;
|
|
9081
10535
|
ItemID?: string | null | undefined;
|
|
10536
|
+
ProductID?: string | null | undefined;
|
|
10537
|
+
}[] | null | undefined;
|
|
10538
|
+
EventTokens?: {
|
|
10539
|
+
Address?: {
|
|
10540
|
+
EntityID: string;
|
|
10541
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10542
|
+
} | null | undefined;
|
|
9082
10543
|
Amount?: number | null | undefined;
|
|
9083
|
-
|
|
10544
|
+
Source?: string | null | undefined;
|
|
9084
10545
|
}[] | null | undefined;
|
|
9085
|
-
Match?: "All" | "Any" | null | undefined;
|
|
9086
|
-
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
9087
10546
|
} | null | undefined;
|
|
9088
10547
|
}[] | 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
10548
|
} | 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;
|
|
10549
|
+
} | null | undefined;
|
|
9119
10550
|
}>>;
|
|
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?: {
|
|
10551
|
+
delete(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10552
|
+
ItemID: string;
|
|
10553
|
+
Deleted: boolean;
|
|
10554
|
+
Economy?: {
|
|
10555
|
+
Grant?: {
|
|
10556
|
+
Standard?: {
|
|
9149
10557
|
Entries?: {
|
|
9150
10558
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9151
10559
|
CurrencyID?: string | null | undefined;
|
|
@@ -9164,55 +10572,160 @@ declare class WorkshopApi {
|
|
|
9164
10572
|
Source?: string | null | undefined;
|
|
9165
10573
|
}[] | null | undefined;
|
|
9166
10574
|
} | null | undefined;
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
|
|
9170
|
-
|
|
10575
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
10576
|
+
PremiumTiers?: {
|
|
10577
|
+
MinPremiumTier?: number | null | undefined;
|
|
10578
|
+
RequiredPremiumID?: string | null | undefined;
|
|
10579
|
+
Resources?: {
|
|
10580
|
+
Entries?: {
|
|
10581
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
10582
|
+
CurrencyID?: string | null | undefined;
|
|
10583
|
+
Amount?: number | null | undefined;
|
|
10584
|
+
AmountUsd?: number | null | undefined;
|
|
10585
|
+
CatalogID?: string | null | undefined;
|
|
10586
|
+
ItemID?: string | null | undefined;
|
|
10587
|
+
ProductID?: string | null | undefined;
|
|
10588
|
+
}[] | null | undefined;
|
|
10589
|
+
EventTokens?: {
|
|
10590
|
+
Address?: {
|
|
10591
|
+
EntityID: string;
|
|
10592
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10593
|
+
} | null | undefined;
|
|
10594
|
+
Amount?: number | null | undefined;
|
|
10595
|
+
Source?: string | null | undefined;
|
|
10596
|
+
}[] | null | undefined;
|
|
10597
|
+
} | null | undefined;
|
|
10598
|
+
}[] | null | undefined;
|
|
10599
|
+
} | null | undefined;
|
|
10600
|
+
Consume?: {
|
|
10601
|
+
Standard?: {
|
|
10602
|
+
Entries?: {
|
|
9171
10603
|
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9172
10604
|
CurrencyID?: string | null | undefined;
|
|
10605
|
+
Amount?: number | null | undefined;
|
|
10606
|
+
AmountUsd?: number | null | undefined;
|
|
9173
10607
|
CatalogID?: string | null | undefined;
|
|
9174
10608
|
ItemID?: string | null | undefined;
|
|
10609
|
+
ProductID?: string | null | undefined;
|
|
10610
|
+
}[] | null | undefined;
|
|
10611
|
+
EventTokens?: {
|
|
10612
|
+
Address?: {
|
|
10613
|
+
EntityID: string;
|
|
10614
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10615
|
+
} | null | undefined;
|
|
9175
10616
|
Amount?: number | null | undefined;
|
|
9176
|
-
|
|
10617
|
+
Source?: string | null | undefined;
|
|
9177
10618
|
}[] | null | undefined;
|
|
9178
|
-
Match?: "All" | "Any" | null | undefined;
|
|
9179
|
-
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
9180
10619
|
} | null | undefined;
|
|
9181
|
-
|
|
9182
|
-
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9190
|
-
|
|
10620
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
10621
|
+
PremiumTiers?: {
|
|
10622
|
+
MinPremiumTier?: number | null | undefined;
|
|
10623
|
+
RequiredPremiumID?: string | null | undefined;
|
|
10624
|
+
Resources?: {
|
|
10625
|
+
Entries?: {
|
|
10626
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
10627
|
+
CurrencyID?: string | null | undefined;
|
|
10628
|
+
Amount?: number | null | undefined;
|
|
10629
|
+
AmountUsd?: number | null | undefined;
|
|
10630
|
+
CatalogID?: string | null | undefined;
|
|
10631
|
+
ItemID?: string | null | undefined;
|
|
10632
|
+
ProductID?: string | null | undefined;
|
|
10633
|
+
}[] | null | undefined;
|
|
10634
|
+
EventTokens?: {
|
|
10635
|
+
Address?: {
|
|
10636
|
+
EntityID: string;
|
|
10637
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
10638
|
+
} | null | undefined;
|
|
10639
|
+
Amount?: number | null | undefined;
|
|
10640
|
+
Source?: string | null | undefined;
|
|
10641
|
+
}[] | null | undefined;
|
|
10642
|
+
} | null | undefined;
|
|
10643
|
+
}[] | null | undefined;
|
|
9191
10644
|
} | 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;
|
|
10645
|
+
} | null | undefined;
|
|
9204
10646
|
}>>;
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
10647
|
+
batch(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10648
|
+
Results: {
|
|
10649
|
+
Op: string;
|
|
10650
|
+
Collection: string;
|
|
10651
|
+
ItemID: string;
|
|
10652
|
+
Item?: {
|
|
10653
|
+
Collection: string;
|
|
10654
|
+
ItemID: string;
|
|
10655
|
+
Data: Record<string, unknown>;
|
|
10656
|
+
Version: number;
|
|
10657
|
+
CreatedAt: string;
|
|
10658
|
+
UpdatedAt: string;
|
|
10659
|
+
OwnerUserID?: string | null | undefined;
|
|
10660
|
+
ExpireAt?: string | null | undefined;
|
|
10661
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10662
|
+
Files?: Record<string, {
|
|
10663
|
+
FileID: string;
|
|
10664
|
+
Url: string;
|
|
10665
|
+
Size: number;
|
|
10666
|
+
ContentType?: string | null | undefined;
|
|
10667
|
+
}> | null | undefined;
|
|
10668
|
+
} | null | undefined;
|
|
10669
|
+
Deleted?: boolean | undefined;
|
|
10670
|
+
}[];
|
|
9210
10671
|
}>>;
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
10672
|
+
getCounter(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10673
|
+
CounterID: string;
|
|
10674
|
+
Value: number;
|
|
10675
|
+
Group?: unknown;
|
|
10676
|
+
}>>;
|
|
10677
|
+
getMyRoles(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10678
|
+
Roles: string[];
|
|
10679
|
+
}>>;
|
|
10680
|
+
beginFileUpload(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10681
|
+
FileID: string;
|
|
10682
|
+
UploadUrl: string;
|
|
10683
|
+
ContentType: string;
|
|
10684
|
+
MaxBytes: number;
|
|
10685
|
+
ExpiresAt: string;
|
|
10686
|
+
}>>;
|
|
10687
|
+
publicGetViews(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10688
|
+
Views: Record<string, string>;
|
|
10689
|
+
ItemUrlTemplate?: string | null | undefined;
|
|
10690
|
+
}>>;
|
|
10691
|
+
publicGet(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10692
|
+
Item: {
|
|
10693
|
+
Collection: string;
|
|
10694
|
+
ItemID: string;
|
|
10695
|
+
Data: Record<string, unknown>;
|
|
10696
|
+
Version: number;
|
|
10697
|
+
CreatedAt: string;
|
|
10698
|
+
UpdatedAt: string;
|
|
10699
|
+
OwnerUserID?: string | null | undefined;
|
|
10700
|
+
ExpireAt?: string | null | undefined;
|
|
10701
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10702
|
+
Files?: Record<string, {
|
|
10703
|
+
FileID: string;
|
|
10704
|
+
Url: string;
|
|
10705
|
+
Size: number;
|
|
10706
|
+
ContentType?: string | null | undefined;
|
|
10707
|
+
}> | null | undefined;
|
|
10708
|
+
};
|
|
10709
|
+
}>>;
|
|
10710
|
+
publicQuery(r: DataCollectionsRequest): Promise<OperationResult<{
|
|
10711
|
+
Items: {
|
|
10712
|
+
Collection: string;
|
|
10713
|
+
ItemID: string;
|
|
10714
|
+
Data: Record<string, unknown>;
|
|
10715
|
+
Version: number;
|
|
10716
|
+
CreatedAt: string;
|
|
10717
|
+
UpdatedAt: string;
|
|
10718
|
+
OwnerUserID?: string | null | undefined;
|
|
10719
|
+
ExpireAt?: string | null | undefined;
|
|
10720
|
+
Expanded?: Record<string, unknown> | null | undefined;
|
|
10721
|
+
Files?: Record<string, {
|
|
10722
|
+
FileID: string;
|
|
10723
|
+
Url: string;
|
|
10724
|
+
Size: number;
|
|
10725
|
+
ContentType?: string | null | undefined;
|
|
10726
|
+
}> | null | undefined;
|
|
10727
|
+
}[];
|
|
10728
|
+
NextCursor?: string | null | undefined;
|
|
9216
10729
|
}>>;
|
|
9217
10730
|
}
|
|
9218
10731
|
|
|
@@ -9292,6 +10805,9 @@ declare class ClientContext {
|
|
|
9292
10805
|
marketplace: MarketplaceApi;
|
|
9293
10806
|
multiplayer: MultiplayerApi;
|
|
9294
10807
|
workshop: WorkshopApi;
|
|
10808
|
+
dataCollections: DataCollectionsApi;
|
|
10809
|
+
analytics: AnalyticsApi;
|
|
10810
|
+
experiment: ExperimentApi;
|
|
9295
10811
|
};
|
|
9296
10812
|
readonly auth: AuthenticationService;
|
|
9297
10813
|
readonly userService: UserService;
|
|
@@ -9331,6 +10847,11 @@ declare class ClientContext {
|
|
|
9331
10847
|
readonly marketplace: MarketplaceService;
|
|
9332
10848
|
readonly multiplayer: MultiplayerService;
|
|
9333
10849
|
readonly workshop: WorkshopService;
|
|
10850
|
+
/** Data collections: the title's own data structures (not `collection` — card sets). */
|
|
10851
|
+
readonly dataCollections: DataCollectionsService;
|
|
10852
|
+
/** Custom events; batched and delivered by itself — see the service docs. */
|
|
10853
|
+
readonly analytics: AnalyticsService;
|
|
10854
|
+
readonly experiments: ExperimentsService;
|
|
9334
10855
|
constructor(config: IDosGamesClientConfig);
|
|
9335
10856
|
/** Authed base request: UserID + ticket + buildKey + webAppLink + a fresh idempotency key. */
|
|
9336
10857
|
buildAuthedBaseRequest(): BaseRequest;
|
|
@@ -9363,6 +10884,17 @@ declare class IDosGamesClient {
|
|
|
9363
10884
|
get quest(): QuestService;
|
|
9364
10885
|
/** Onboarding flows: start, advance, skip and claim tutorial steps. */
|
|
9365
10886
|
get tutorial(): TutorialService;
|
|
10887
|
+
/**
|
|
10888
|
+
* Custom events, Firebase-style: `analytics.logEvent("level_complete", { level: 5 })`.
|
|
10889
|
+
* Batched (25 events / 30 s / tab hidden) — every batch is one billed call, so never flush per
|
|
10890
|
+
* event. Sends nothing while the title has event analytics switched off.
|
|
10891
|
+
*/
|
|
10892
|
+
get analytics(): AnalyticsService;
|
|
10893
|
+
/**
|
|
10894
|
+
* A/B variants in effect for this player and their `Params`. Call `experiments.load()` once
|
|
10895
|
+
* per session; content gated by a variant is already resolved by the server.
|
|
10896
|
+
*/
|
|
10897
|
+
get experiments(): ExperimentsService;
|
|
9366
10898
|
/**
|
|
9367
10899
|
* Creator reward programme: state, earnings and claiming.
|
|
9368
10900
|
*
|
|
@@ -9431,6 +10963,13 @@ declare class IDosGamesClient {
|
|
|
9431
10963
|
* the price you showed, so a changed price is refused instead of charged.
|
|
9432
10964
|
*/
|
|
9433
10965
|
get workshop(): WorkshopService;
|
|
10966
|
+
/**
|
|
10967
|
+
* Data collections: the title's own data structures (guilds, auctions, orders, catalogs, articles,
|
|
10968
|
+
* saved levels…) with declared fields, searchable fields, sort keys and access rules — for what no
|
|
10969
|
+
* ready module covers. ⚠ Not `collection` (collectible card sets). Public collections are readable
|
|
10970
|
+
* without login via `readPublicView` (CDN) and `searchPublic`.
|
|
10971
|
+
*/
|
|
10972
|
+
get dataCollections(): DataCollectionsService;
|
|
9434
10973
|
/** Local cache (config + user state). Read here; react via `on(...)`. */
|
|
9435
10974
|
get data(): IDosGamesData;
|
|
9436
10975
|
get platform(): PlatformAdapter;
|
|
@@ -9548,6 +11087,23 @@ declare function isCurveConfigured(spec: ScalarCurveSpec | null | undefined): bo
|
|
|
9548
11087
|
*/
|
|
9549
11088
|
declare function roundAmount(value: number): number;
|
|
9550
11089
|
|
|
11090
|
+
/** What the user agent says about the device. */
|
|
11091
|
+
interface DeviceDescription {
|
|
11092
|
+
osName?: string;
|
|
11093
|
+
osVersion?: string;
|
|
11094
|
+
deviceCategory?: "phone" | "tablet" | "desktop";
|
|
11095
|
+
deviceModel?: string;
|
|
11096
|
+
}
|
|
11097
|
+
/**
|
|
11098
|
+
* Reads the OS, its version, the device class and — where the browser still tells — the model
|
|
11099
|
+
* from a user-agent string. Pure, so it is tested with fixed strings.
|
|
11100
|
+
*
|
|
11101
|
+
* `maxTouchPoints` exists for one case: iPadOS in its default "desktop" mode reports itself as a
|
|
11102
|
+
* Mac, and a touch screen is the only thing that gives it away. Counting those iPads as Macs would
|
|
11103
|
+
* put every tablet player of a title into the desktop slice.
|
|
11104
|
+
*/
|
|
11105
|
+
declare function describeUserAgent(userAgent: string, maxTouchPoints?: number): DeviceDescription;
|
|
11106
|
+
|
|
9551
11107
|
/** enum AdType — ad format. */
|
|
9552
11108
|
declare const AdType: {
|
|
9553
11109
|
readonly Banner: "Banner";
|
|
@@ -9634,7 +11190,7 @@ type BroadcastStatus = (typeof BroadcastStatus)[keyof typeof BroadcastStatus];
|
|
|
9634
11190
|
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
11191
|
type MailboxSegmentDefinition = { SegmentID?: null | string; DisplayName?: null | string; Gate?: null | SegmentGate; [key: string]: unknown; };
|
|
9636
11192
|
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' | '
|
|
11193
|
+
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
11194
|
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
11195
|
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
11196
|
|
|
@@ -9680,4 +11236,4 @@ declare class LocalizationCache {
|
|
|
9680
11236
|
private versionsKey;
|
|
9681
11237
|
}
|
|
9682
11238
|
|
|
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 };
|
|
11239
|
+
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, 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 };
|