@idosgames/core 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2500 -7
- package/dist/index.d.ts +2500 -7
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -477,7 +477,7 @@ interface UserEventTokensState {
|
|
|
477
477
|
type PriceOption = { OptionID?: null | string; Name?: null | string; Cost?: null | ResourceConsume; AllowedPlatforms?: null | Array<'Unknown' | 'Web' | 'Android' | 'Ios'>; AssetPaths?: null | Record<string, string>; [key: string]: unknown; };
|
|
478
478
|
type PriceOptions = Record<string, PriceOption>;
|
|
479
479
|
type PaymentProof = { Store: 'GooglePlay' | 'AppleAppStore'; Receipt: string; Signature?: null | string; [key: string]: unknown; };
|
|
480
|
-
type ResourceEntry = { Type?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'RewardedVideoCredit' | 'Purchase'; CurrencyID?: null | string; Amount?: null | number; CatalogID?: null | string; ItemID?: null | string; ProductID?: null | string; };
|
|
480
|
+
type ResourceEntry = { Type?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'RewardedVideoCredit' | 'Purchase'; CurrencyID?: null | string; Amount?: null | number; AmountUsd?: null | number; CatalogID?: null | string; ItemID?: null | string; ProductID?: null | string; };
|
|
481
481
|
type EventTokenAddress = { EntityID: string; Type?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; };
|
|
482
482
|
type EventTokenOperation = { Address?: null | EventTokenAddress; Amount?: null | number; Source?: null | string; };
|
|
483
483
|
type ResourceBundle = { Entries?: null | Array<ResourceEntry>; EventTokens?: null | Array<EventTokenOperation>; };
|
|
@@ -3169,6 +3169,187 @@ declare const BlockchainAction: {
|
|
|
3169
3169
|
};
|
|
3170
3170
|
type BlockchainAction = (typeof BlockchainAction)[keyof typeof BlockchainAction];
|
|
3171
3171
|
|
|
3172
|
+
/** How a publication can be obtained. A player gets access if ANY option of the publication passes. */
|
|
3173
|
+
declare const WorkshopAccessMode: {
|
|
3174
|
+
readonly Free: "Free";
|
|
3175
|
+
/** Paid in resources: charged to the buyer, the author receives it minus commission. */
|
|
3176
|
+
readonly Price: "Price";
|
|
3177
|
+
/** Open while (or once) the player holds the resources. Nothing is charged. */
|
|
3178
|
+
readonly Holding: "Holding";
|
|
3179
|
+
};
|
|
3180
|
+
type WorkshopAccessMode = (typeof WorkshopAccessMode)[keyof typeof WorkshopAccessMode];
|
|
3181
|
+
/** Holding mode, chosen by the author. */
|
|
3182
|
+
declare const WorkshopHoldingMode: {
|
|
3183
|
+
/** Re-checked on every download: spend the resource — lose access. */
|
|
3184
|
+
readonly WhileHeld: "WhileHeld";
|
|
3185
|
+
/** Checked once when acquiring, then a permanent license. */
|
|
3186
|
+
readonly UnlockOnce: "UnlockOnce";
|
|
3187
|
+
};
|
|
3188
|
+
type WorkshopHoldingMode = (typeof WorkshopHoldingMode)[keyof typeof WorkshopHoldingMode];
|
|
3189
|
+
declare const WorkshopHoldingMatch: {
|
|
3190
|
+
readonly All: "All";
|
|
3191
|
+
readonly Any: "Any";
|
|
3192
|
+
};
|
|
3193
|
+
type WorkshopHoldingMatch = (typeof WorkshopHoldingMatch)[keyof typeof WorkshopHoldingMatch];
|
|
3194
|
+
declare const WorkshopVisibility: {
|
|
3195
|
+
readonly Public: "Public";
|
|
3196
|
+
/** Not listed; reachable by id (ContentID is unguessable). */
|
|
3197
|
+
readonly Unlisted: "Unlisted";
|
|
3198
|
+
/** Only the author's friends. */
|
|
3199
|
+
readonly Friends: "Friends";
|
|
3200
|
+
};
|
|
3201
|
+
type WorkshopVisibility = (typeof WorkshopVisibility)[keyof typeof WorkshopVisibility];
|
|
3202
|
+
declare const WorkshopContentStatus: {
|
|
3203
|
+
readonly Uploading: "Uploading";
|
|
3204
|
+
readonly PendingReview: "PendingReview";
|
|
3205
|
+
readonly Published: "Published";
|
|
3206
|
+
/** Hidden by moderation; players who already have access still download. */
|
|
3207
|
+
readonly Hidden: "Hidden";
|
|
3208
|
+
/** Unpublished (terminal); players who already have access still download. */
|
|
3209
|
+
readonly Removed: "Removed";
|
|
3210
|
+
};
|
|
3211
|
+
type WorkshopContentStatus = (typeof WorkshopContentStatus)[keyof typeof WorkshopContentStatus];
|
|
3212
|
+
declare const WorkshopLicenseSource: {
|
|
3213
|
+
readonly Purchase: "Purchase";
|
|
3214
|
+
readonly Free: "Free";
|
|
3215
|
+
readonly Holding: "Holding";
|
|
3216
|
+
};
|
|
3217
|
+
type WorkshopLicenseSource = (typeof WorkshopLicenseSource)[keyof typeof WorkshopLicenseSource];
|
|
3218
|
+
declare const WorkshopReactionKind: {
|
|
3219
|
+
readonly Like: "Like";
|
|
3220
|
+
readonly Favorite: "Favorite";
|
|
3221
|
+
};
|
|
3222
|
+
type WorkshopReactionKind = (typeof WorkshopReactionKind)[keyof typeof WorkshopReactionKind];
|
|
3223
|
+
declare const WorkshopReportReason: {
|
|
3224
|
+
readonly Inappropriate: "Inappropriate";
|
|
3225
|
+
readonly Spam: "Spam";
|
|
3226
|
+
readonly Stolen: "Stolen";
|
|
3227
|
+
readonly Broken: "Broken";
|
|
3228
|
+
readonly Other: "Other";
|
|
3229
|
+
};
|
|
3230
|
+
type WorkshopReportReason = (typeof WorkshopReportReason)[keyof typeof WorkshopReportReason];
|
|
3231
|
+
declare const WorkshopSort: {
|
|
3232
|
+
readonly New: "New";
|
|
3233
|
+
readonly Popular: "Popular";
|
|
3234
|
+
readonly MostLiked: "MostLiked";
|
|
3235
|
+
};
|
|
3236
|
+
type WorkshopSort = (typeof WorkshopSort)[keyof typeof WorkshopSort];
|
|
3237
|
+
/** How the player's access to the files was established. */
|
|
3238
|
+
declare const WorkshopAccessVia: {
|
|
3239
|
+
readonly Creator: "Creator";
|
|
3240
|
+
readonly License: "License";
|
|
3241
|
+
readonly Free: "Free";
|
|
3242
|
+
readonly Holding: "Holding";
|
|
3243
|
+
};
|
|
3244
|
+
type WorkshopAccessVia = (typeof WorkshopAccessVia)[keyof typeof WorkshopAccessVia];
|
|
3245
|
+
type WorkshopHoldingRequirement = { Type?: null | 'Item' | 'VirtualCurrency' | 'CryptoCurrency' | 'RewardedVideoCredit' | 'Purchase'; CurrencyID?: null | string; CatalogID?: null | string; ItemID?: null | string; Amount?: null | number; MinLevel?: null | number; [key: string]: unknown; };
|
|
3246
|
+
type WorkshopHoldingRule = { Requirements?: null | Array<WorkshopHoldingRequirement>; Match?: null | 'All' | 'Any'; Mode?: null | 'WhileHeld' | 'UnlockOnce'; [key: string]: unknown; };
|
|
3247
|
+
type WorkshopAccessOption = { OptionID?: null | string; Mode?: null | 'Price' | 'Free' | 'Holding'; Price?: null | ResourceBundle; Holding?: null | WorkshopHoldingRule; [key: string]: unknown; };
|
|
3248
|
+
/** Shape of an access option when SENDING it (publish / update). Ids are optional — the server fills `opt{n}`. */
|
|
3249
|
+
interface WorkshopAccessOptionInput {
|
|
3250
|
+
OptionID?: string;
|
|
3251
|
+
Mode: WorkshopAccessMode;
|
|
3252
|
+
Price?: ResourceBundle;
|
|
3253
|
+
Holding?: {
|
|
3254
|
+
Requirements: Array<{
|
|
3255
|
+
Type: "VirtualCurrency" | "Item";
|
|
3256
|
+
CurrencyID?: string;
|
|
3257
|
+
CatalogID?: string;
|
|
3258
|
+
ItemID?: string;
|
|
3259
|
+
Amount: number;
|
|
3260
|
+
MinLevel?: number;
|
|
3261
|
+
}>;
|
|
3262
|
+
Match?: WorkshopHoldingMatch;
|
|
3263
|
+
Mode: WorkshopHoldingMode;
|
|
3264
|
+
};
|
|
3265
|
+
}
|
|
3266
|
+
type WorkshopFileRole = { AllowedMimeTypes?: null | Array<string>; MaxBytes?: null | number; MaxCount?: null | number; Required?: null | boolean; [key: string]: unknown; };
|
|
3267
|
+
type WorkshopContentType = { DisplayName?: null | string; Enabled?: null | boolean; Files?: null | Record<string, WorkshopFileRole>; ThumbnailRequired?: null | boolean; AllowedAccessModes?: null | Array<'Price' | 'Free' | 'Holding'>; PricePolicy?: null | MarketplacePricePolicy; PublishGate?: null | SegmentGate; PublishFeeOptions?: null | PriceOptions; TagVocabulary?: null | Array<string>; MaxPublishedPerPlayer?: null | number; DailyPublishCap?: null | number; [key: string]: unknown; };
|
|
3268
|
+
type WorkshopHoldingPolicy = { Allowed?: null | Array<{ Kind?: null | 'Item' | 'VirtualCurrency' | 'EventToken'; CurrencyID?: null | string; CatalogID?: null | string; ItemID?: null | string; TokenType?: null | 'TimedEvent' | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season'; EntityID?: null | string; MinAmount?: null | number; MaxAmount?: null | number; [key: string]: unknown; }>; MaxRequirements?: null | number; [key: string]: unknown; };
|
|
3269
|
+
type WorkshopModerationSettings = { AutoHideReportThreshold?: null | number; RequireApproval?: null | boolean; [key: string]: unknown; };
|
|
3270
|
+
type WorkshopLimits = { MaxTitleLength?: null | number; MaxDescriptionLength?: null | number; MaxTags?: null | number; MaxTagLength?: null | number; MaxMetadataKeys?: null | number; MaxMetadataValueLength?: null | number; MaxAccessOptions?: null | number; ThumbnailMaxBytes?: null | number; [key: string]: unknown; };
|
|
3271
|
+
type WorkshopCollection = { CollectionID?: null | string; Name?: null | string; Description?: null | string; ContentIDs?: null | Array<string>; Schedule?: null | ScheduleSpec; Gate?: null | SegmentGate; Order?: null | number; [key: string]: unknown; };
|
|
3272
|
+
type WorkshopDefinitions = { Enabled?: null | boolean; Gate?: null | SegmentGate; Schedule?: null | ScheduleSpec; ContentTypes?: null | Record<string, WorkshopContentType>; PricePolicy?: null | MarketplacePricePolicy; Commission?: null | MarketplaceCommissionPolicy; HoldingPolicy?: null | WorkshopHoldingPolicy; Moderation?: null | WorkshopModerationSettings; Limits?: null | WorkshopLimits; Featured?: null | Array<WorkshopCollection>; [key: string]: unknown; };
|
|
3273
|
+
type WorkshopContentStats = { Acquisitions?: null | number; Downloads?: null | number; Likes?: null | number; Favorites?: null | number; ReportCount?: null | number; [key: string]: unknown; };
|
|
3274
|
+
type WorkshopContentView = { ContentID?: null | string; ContentType?: null | string; CreatorUserID?: null | string; IsOfficial?: null | boolean; CreatorPublicData?: null | UserPublicDataModel; Title?: null | string; Description?: null | string; Tags?: null | Array<string>; Metadata?: null | Record<string, string>; ThumbnailUrl?: null | string; Visibility?: null | 'Friends' | 'Public' | 'Unlisted'; Access?: null | Array<WorkshopAccessOption>; Status?: null | 'Hidden' | 'Uploading' | 'PendingReview' | 'Published' | 'Removed'; ModerationNote?: null | string; Stats?: null | WorkshopContentStats; Revision?: null | number; FileCount?: null | number; TotalBytes?: null | number; CreatedAt?: null | string; UpdatedAt?: null | string; PublishedAt?: null | string; IsMine?: null | boolean; Owned?: null | boolean; Liked?: null | boolean; Favorited?: null | boolean; [key: string]: unknown; };
|
|
3275
|
+
type WorkshopAccessState = { OptionID?: null | string; Mode?: null | 'Price' | 'Free' | 'Holding'; Available?: null | boolean; [key: string]: unknown; };
|
|
3276
|
+
type WorkshopCollectionView = { CollectionID?: null | string; Name?: null | string; Description?: null | string; ContentIDs?: null | Array<string>; Order?: null | number; [key: string]: unknown; };
|
|
3277
|
+
type WorkshopDefinitionsResponse = { Definitions?: null | WorkshopDefinitions; IsOpenNow?: null | boolean; GatePassed?: null | boolean; CanPublish?: null | Record<string, boolean>; Collections?: null | Array<WorkshopCollectionView>; [key: string]: unknown; };
|
|
3278
|
+
type WorkshopBrowseResponse = { Items?: null | Array<WorkshopContentView>; ContinuationToken?: null | string; [key: string]: unknown; };
|
|
3279
|
+
type WorkshopContentResponse = { Content?: null | WorkshopContentView; AccessState?: null | Array<WorkshopAccessState>; CanDownload?: null | boolean; [key: string]: unknown; };
|
|
3280
|
+
type WorkshopCollectionResponse = { Collection?: null | WorkshopCollectionView; Items?: null | Array<WorkshopContentView>; [key: string]: unknown; };
|
|
3281
|
+
type WorkshopCreatorProfileResponse = { CreatorUserID?: null | string; PublicData?: null | UserPublicDataModel; PublishedCount?: null | number; FollowerCount?: null | number; IsFollowing?: null | boolean; Items?: null | Array<WorkshopContentView>; [key: string]: unknown; };
|
|
3282
|
+
type WorkshopUploadTarget = { Role?: null | string; Index?: null | number; Url?: null | string; ContentType?: null | string; Size?: null | number; ServerCopy?: null | boolean; [key: string]: unknown; };
|
|
3283
|
+
type WorkshopBeginUploadResponse = { ContentID?: null | string; Revision?: null | number; Uploads?: null | Array<WorkshopUploadTarget>; ThumbnailUpload?: null | WorkshopUploadTarget; ExpiresAt?: null | string; [key: string]: unknown; };
|
|
3284
|
+
type WorkshopPublishResponse = { Content?: null | WorkshopContentView; Resources?: null | ResourceOperation; [key: string]: unknown; };
|
|
3285
|
+
type WorkshopContentMutationResponse = { Content?: null | WorkshopContentView; [key: string]: unknown; };
|
|
3286
|
+
type WorkshopAcquireResponse = { ContentID?: null | string; OptionID?: null | string; Source?: null | 'Purchase' | 'Free' | 'Holding'; AlreadyOwned?: null | boolean; AccessActive?: null | boolean; Settlement?: null | ResourceDualPartyResult; Resources?: null | ResourceOperation; CommissionTaken?: null | ResourceBundle; [key: string]: unknown; };
|
|
3287
|
+
type WorkshopDownloadFile = { Role?: null | string; Url?: null | string; ContentType?: null | string; Size?: null | number; [key: string]: unknown; };
|
|
3288
|
+
type WorkshopDownloadResponse = { ContentID?: null | string; ContentType?: null | string; Revision?: null | number; AccessVia?: null | 'Free' | 'Holding' | 'Creator' | 'License'; Files?: null | Array<WorkshopDownloadFile>; ThumbnailUrl?: null | string; ExpiresAt?: null | string; [key: string]: unknown; };
|
|
3289
|
+
type WorkshopLicenseView = { ContentID?: null | string; Source?: null | 'Purchase' | 'Free' | 'Holding'; OptionID?: null | string; PricePaid?: null | ResourceBundle; AcquiredAt?: null | string; Content?: null | WorkshopContentView; [key: string]: unknown; };
|
|
3290
|
+
type WorkshopLicensesResponse = { Licenses?: null | Array<WorkshopLicenseView>; ContinuationToken?: null | string; [key: string]: unknown; };
|
|
3291
|
+
type WorkshopReactionResponse = { ContentID?: null | string; Kind?: null | 'Like' | 'Favorite'; Active?: null | boolean; Count?: null | number; [key: string]: unknown; };
|
|
3292
|
+
type WorkshopFollowResponse = { CreatorUserID?: null | string; Following?: null | boolean; FollowerCount?: null | number; [key: string]: unknown; };
|
|
3293
|
+
type WorkshopReportResponse = { ReportID?: null | string; AlreadyReported?: null | boolean; AutoHidden?: null | boolean; [key: string]: unknown; };
|
|
3294
|
+
interface WorkshopFileDeclaration {
|
|
3295
|
+
Role: string;
|
|
3296
|
+
ContentType: string;
|
|
3297
|
+
Size?: number;
|
|
3298
|
+
/** Instead of uploading: a `client.ai` asset URL of THIS player — the server copies it. */
|
|
3299
|
+
SourceAssetUrl?: string;
|
|
3300
|
+
}
|
|
3301
|
+
interface WorkshopRequest extends BaseRequest {
|
|
3302
|
+
ContentID?: string;
|
|
3303
|
+
ContentType?: string;
|
|
3304
|
+
Title?: string;
|
|
3305
|
+
Description?: string;
|
|
3306
|
+
Tags?: string[];
|
|
3307
|
+
Metadata?: Record<string, string>;
|
|
3308
|
+
Visibility?: WorkshopVisibility;
|
|
3309
|
+
Access?: WorkshopAccessOptionInput[];
|
|
3310
|
+
Files?: WorkshopFileDeclaration[];
|
|
3311
|
+
Thumbnail?: WorkshopFileDeclaration;
|
|
3312
|
+
/** Way to pay the publish fee (`PriceOption.OptionID`). */
|
|
3313
|
+
SelectedOptionID?: string;
|
|
3314
|
+
OptionID?: string;
|
|
3315
|
+
ExpectedPrice?: ResourceBundle;
|
|
3316
|
+
CreatorUserID?: string;
|
|
3317
|
+
Tag?: string;
|
|
3318
|
+
MetadataKey?: string;
|
|
3319
|
+
MetadataValue?: string;
|
|
3320
|
+
Sort?: WorkshopSort;
|
|
3321
|
+
FromFollowing?: boolean;
|
|
3322
|
+
CollectionID?: string;
|
|
3323
|
+
PageSize?: number;
|
|
3324
|
+
ContinuationToken?: string;
|
|
3325
|
+
ReportReason?: WorkshopReportReason;
|
|
3326
|
+
Comment?: string;
|
|
3327
|
+
}
|
|
3328
|
+
declare const WorkshopAction: {
|
|
3329
|
+
readonly GetDefinitions: "GetDefinitions";
|
|
3330
|
+
readonly Browse: "Browse";
|
|
3331
|
+
readonly GetContent: "GetContent";
|
|
3332
|
+
readonly GetCollection: "GetCollection";
|
|
3333
|
+
readonly GetCreatorProfile: "GetCreatorProfile";
|
|
3334
|
+
readonly BeginUpload: "BeginUpload";
|
|
3335
|
+
readonly Publish: "Publish";
|
|
3336
|
+
readonly UpdateContent: "UpdateContent";
|
|
3337
|
+
readonly Unpublish: "Unpublish";
|
|
3338
|
+
readonly GetMyContent: "GetMyContent";
|
|
3339
|
+
readonly Acquire: "Acquire";
|
|
3340
|
+
readonly GetDownload: "GetDownload";
|
|
3341
|
+
readonly GetMyLicenses: "GetMyLicenses";
|
|
3342
|
+
readonly Like: "Like";
|
|
3343
|
+
readonly Unlike: "Unlike";
|
|
3344
|
+
readonly Favorite: "Favorite";
|
|
3345
|
+
readonly Unfavorite: "Unfavorite";
|
|
3346
|
+
readonly GetMyFavorites: "GetMyFavorites";
|
|
3347
|
+
readonly Follow: "Follow";
|
|
3348
|
+
readonly Unfollow: "Unfollow";
|
|
3349
|
+
readonly Report: "Report";
|
|
3350
|
+
};
|
|
3351
|
+
type WorkshopAction = (typeof WorkshopAction)[keyof typeof WorkshopAction];
|
|
3352
|
+
|
|
3172
3353
|
/** enum MultiplayerTopology — p2p connection topology within a room. */
|
|
3173
3354
|
declare const MultiplayerTopology: {
|
|
3174
3355
|
readonly Mesh: "Mesh";
|
|
@@ -3678,6 +3859,230 @@ declare const CraftAction: {
|
|
|
3678
3859
|
};
|
|
3679
3860
|
type CraftAction = (typeof CraftAction)[keyof typeof CraftAction];
|
|
3680
3861
|
|
|
3862
|
+
/** Generation modality of a feature. Determines which generate action the feature accepts. */
|
|
3863
|
+
declare const AIModality: {
|
|
3864
|
+
/** Text, optionally with input images ("picture + description → text"). */
|
|
3865
|
+
readonly Text: "Text";
|
|
3866
|
+
/** Image generation and editing. */
|
|
3867
|
+
readonly Image: "Image";
|
|
3868
|
+
/** Video — asynchronous: submit, then poll `getVideo`. */
|
|
3869
|
+
readonly Video: "Video";
|
|
3870
|
+
/** Speech from text (TTS). */
|
|
3871
|
+
readonly Audio: "Audio";
|
|
3872
|
+
readonly Music: "Music";
|
|
3873
|
+
/** 3D model — asynchronous: submit, then poll `getThreeD`. */
|
|
3874
|
+
readonly ThreeD: "ThreeD";
|
|
3875
|
+
};
|
|
3876
|
+
type AIModality = (typeof AIModality)[keyof typeof AIModality];
|
|
3877
|
+
/**
|
|
3878
|
+
* Status of a generation. The wire type is a plain string on purpose: a status the backend adds
|
|
3879
|
+
* later must not fail parsing of the whole response — see {@link isAIGenerationTerminal}.
|
|
3880
|
+
*/
|
|
3881
|
+
declare const AIGenerationStatus: {
|
|
3882
|
+
readonly Pending: "pending";
|
|
3883
|
+
readonly Running: "running";
|
|
3884
|
+
readonly Completed: "completed";
|
|
3885
|
+
readonly Failed: "failed";
|
|
3886
|
+
};
|
|
3887
|
+
type AIGenerationStatus = (typeof AIGenerationStatus)[keyof typeof AIGenerationStatus];
|
|
3888
|
+
/**
|
|
3889
|
+
* `true` once polling this generation can stop. Only `pending` and `running` are in progress;
|
|
3890
|
+
* anything else — including a status this SDK does not know yet — is final, so a newer backend
|
|
3891
|
+
* can never make a caller's poll loop spin forever.
|
|
3892
|
+
*/
|
|
3893
|
+
declare function isAIGenerationTerminal(status: string | null | undefined): boolean;
|
|
3894
|
+
/**
|
|
3895
|
+
* Stable reason codes of the AI module (server: `InAppAIErrors`). A REFUSED request fails with
|
|
3896
|
+
* `error` = `"AI_LIMIT_REACHED: <safe message>"` — read the code with {@link parseAIErrorCode}.
|
|
3897
|
+
* A generation that RAN and failed carries its code in `AIGenerationView.Error.Code`.
|
|
3898
|
+
* Branch on the code, show the message; never branch on the message text.
|
|
3899
|
+
*/
|
|
3900
|
+
declare const AIErrorCode: {
|
|
3901
|
+
/** The title's AI is switched off. */
|
|
3902
|
+
readonly Disabled: "AI_DISABLED";
|
|
3903
|
+
readonly FeatureNotFound: "AI_FEATURE_NOT_FOUND";
|
|
3904
|
+
readonly FeatureDisabled: "AI_FEATURE_DISABLED";
|
|
3905
|
+
/** The action does not match the feature's modality (e.g. generateImage on a Text feature). */
|
|
3906
|
+
readonly WrongAction: "AI_WRONG_ACTION";
|
|
3907
|
+
/** The feature's audience gate excludes this player. */
|
|
3908
|
+
readonly NotAvailableForPlayer: "AI_NOT_AVAILABLE_FOR_PLAYER";
|
|
3909
|
+
/** Outside the feature's schedule. */
|
|
3910
|
+
readonly FeatureClosed: "AI_FEATURE_CLOSED";
|
|
3911
|
+
readonly LimitReached: "AI_LIMIT_REACHED";
|
|
3912
|
+
readonly Cooldown: "AI_COOLDOWN";
|
|
3913
|
+
/** Invalid input: too long, too many / too large / wrong-type images, a foreign AssetUrl… */
|
|
3914
|
+
readonly BadInput: "AI_BAD_INPUT";
|
|
3915
|
+
/** The prompt hit the feature's blocked terms. */
|
|
3916
|
+
readonly PromptRejected: "AI_PROMPT_REJECTED";
|
|
3917
|
+
/**
|
|
3918
|
+
* Temporarily unavailable for a reason the player must not be told (the publisher's side:
|
|
3919
|
+
* credits, plan, caps). Show a neutral "not available right now".
|
|
3920
|
+
*/
|
|
3921
|
+
readonly Unavailable: "AI_UNAVAILABLE";
|
|
3922
|
+
/** The provider failed. Everything charged for it has been returned. */
|
|
3923
|
+
readonly GenerationFailed: "AI_GENERATION_FAILED";
|
|
3924
|
+
readonly GenerationNotFound: "AI_GENERATION_NOT_FOUND";
|
|
3925
|
+
};
|
|
3926
|
+
type AIErrorCode = (typeof AIErrorCode)[keyof typeof AIErrorCode];
|
|
3927
|
+
/**
|
|
3928
|
+
* The AI reason code inside a failed result's `error` (`"AI_COOLDOWN: Try again in 30 s."`, also
|
|
3929
|
+
* when prefixed by `"HTTP 400: "`). `null` when there is none — a transport failure, a throttle.
|
|
3930
|
+
* Returns the raw code, so a code added by a newer backend still comes through.
|
|
3931
|
+
*/
|
|
3932
|
+
declare function parseAIErrorCode(error: string | null | undefined): string | null;
|
|
3933
|
+
/**
|
|
3934
|
+
* An input image. Exactly one of the two sources:
|
|
3935
|
+
* - `Base64` — raw base64 or a data-URL (`data:image/png;base64,...`);
|
|
3936
|
+
* - `AssetUrl` — a `Url` of an asset THIS title already generated. Any other address is refused:
|
|
3937
|
+
* the server does not fetch arbitrary links supplied by the client.
|
|
3938
|
+
*/
|
|
3939
|
+
interface AIInputImage {
|
|
3940
|
+
Base64?: string;
|
|
3941
|
+
/** MIME type of `Base64` (`image/png`, `image/jpeg`, `image/webp`). */
|
|
3942
|
+
ContentType?: string;
|
|
3943
|
+
AssetUrl?: string;
|
|
3944
|
+
}
|
|
3945
|
+
/** One history message of a text dialogue. */
|
|
3946
|
+
interface AIChatMessage {
|
|
3947
|
+
/** `"user"` or `"assistant"`. */
|
|
3948
|
+
Role: string;
|
|
3949
|
+
Content: string;
|
|
3950
|
+
}
|
|
3951
|
+
/** Text: prompt + history + (if the feature allows it) images. */
|
|
3952
|
+
interface AITextInput {
|
|
3953
|
+
Prompt?: string;
|
|
3954
|
+
/** Dialogue history; the server keeps at most the feature's `HistoryMessages` last ones. */
|
|
3955
|
+
Messages?: AIChatMessage[];
|
|
3956
|
+
/** Images attached to the last message. Only when the feature has `AllowImages`. */
|
|
3957
|
+
Images?: AIInputImage[];
|
|
3958
|
+
/** Response token ceiling — can only LOWER the feature's `MaxTokens`, never raise it. */
|
|
3959
|
+
MaxTokens?: number;
|
|
3960
|
+
}
|
|
3961
|
+
interface AIImageInput {
|
|
3962
|
+
Prompt?: string;
|
|
3963
|
+
/** e.g. `"1024x1024"`. Ignored when the feature has `LockBehavior`. */
|
|
3964
|
+
Size?: string;
|
|
3965
|
+
/** `"low"` / `"medium"` / `"high"`. */
|
|
3966
|
+
Quality?: string;
|
|
3967
|
+
/** `"png"` / `"jpeg"` / `"webp"`. */
|
|
3968
|
+
Format?: string;
|
|
3969
|
+
/** `"transparent"` / `"opaque"` / `"auto"`. */
|
|
3970
|
+
Background?: string;
|
|
3971
|
+
/** Number of images; capped by the feature's `MaxImages`. Absent/0 = 1. */
|
|
3972
|
+
N?: number;
|
|
3973
|
+
}
|
|
3974
|
+
/** Edit source images with a prompt. Only on a feature with `AllowEdit`. */
|
|
3975
|
+
interface AIImageEditInput {
|
|
3976
|
+
Prompt?: string;
|
|
3977
|
+
Images?: AIInputImage[];
|
|
3978
|
+
Size?: string;
|
|
3979
|
+
Format?: string;
|
|
3980
|
+
}
|
|
3981
|
+
interface AIVideoInput {
|
|
3982
|
+
Prompt?: string;
|
|
3983
|
+
/** e.g. `"1280x720"`. */
|
|
3984
|
+
Size?: string;
|
|
3985
|
+
Seconds?: number;
|
|
3986
|
+
/** Reference frame — only when the feature has `AllowReferenceImage`. */
|
|
3987
|
+
ReferenceImage?: AIInputImage;
|
|
3988
|
+
}
|
|
3989
|
+
/** Speech from text (TTS). */
|
|
3990
|
+
interface AIAudioInput {
|
|
3991
|
+
Text?: string;
|
|
3992
|
+
Voice?: string;
|
|
3993
|
+
/** `"mp3"` / `"wav"` / `"opus"`. */
|
|
3994
|
+
Format?: string;
|
|
3995
|
+
}
|
|
3996
|
+
interface AIMusicInput {
|
|
3997
|
+
Prompt?: string;
|
|
3998
|
+
/** `"mp3"` / `"wav"`. */
|
|
3999
|
+
Format?: string;
|
|
4000
|
+
}
|
|
4001
|
+
interface AIThreeDInput {
|
|
4002
|
+
Prompt?: string;
|
|
4003
|
+
/** Source image for an `image-to-3d` feature. */
|
|
4004
|
+
Image?: AIInputImage;
|
|
4005
|
+
/** `"realistic"` / `"sculpture"`. */
|
|
4006
|
+
ArtStyle?: string;
|
|
4007
|
+
/** `"glb"` / `"fbx"` / `"obj"` / `"usdz"`. */
|
|
4008
|
+
Format?: string;
|
|
4009
|
+
}
|
|
4010
|
+
/** Filter + page of the player's generation history (`listGenerations`). */
|
|
4011
|
+
interface AIHistoryQuery {
|
|
4012
|
+
Modality?: AIModality;
|
|
4013
|
+
FeatureKey?: string;
|
|
4014
|
+
/** `"pending"` / `"running"` / `"completed"` / `"failed"`. Absent = all. */
|
|
4015
|
+
Status?: string;
|
|
4016
|
+
Skip?: number;
|
|
4017
|
+
/** 1..50; the server defaults to 20. */
|
|
4018
|
+
Limit?: number;
|
|
4019
|
+
}
|
|
4020
|
+
/** Request envelope of every AI action. Fields are filled per action. */
|
|
4021
|
+
interface AIRequest extends BaseRequest {
|
|
4022
|
+
/** Feature key from the title's AI config. Required by every generate action. */
|
|
4023
|
+
FeatureKey?: string;
|
|
4024
|
+
/** Payment option (`PriceOption.OptionID`) the player pays with. Absent = first available. */
|
|
4025
|
+
SelectedOptionID?: string;
|
|
4026
|
+
/**
|
|
4027
|
+
* Store receipt. Required exactly when the chosen option is paid with a store purchase (a
|
|
4028
|
+
* `Purchase` entry) — one purchase pays for exactly one generation.
|
|
4029
|
+
*/
|
|
4030
|
+
Payment?: PaymentProof;
|
|
4031
|
+
Text?: AITextInput;
|
|
4032
|
+
Image?: AIImageInput;
|
|
4033
|
+
ImageEdit?: AIImageEditInput;
|
|
4034
|
+
Video?: AIVideoInput;
|
|
4035
|
+
Audio?: AIAudioInput;
|
|
4036
|
+
Music?: AIMusicInput;
|
|
4037
|
+
ThreeD?: AIThreeDInput;
|
|
4038
|
+
/** For GetGeneration and for polling jobs (GetText / GetImage / GetAudio / GetMusic / GetVideo / GetThreeD). */
|
|
4039
|
+
GenerationID?: string;
|
|
4040
|
+
/** ListGenerations only. */
|
|
4041
|
+
Query?: AIHistoryQuery;
|
|
4042
|
+
}
|
|
4043
|
+
type AIGenerationAssetView = { Url?: null | string; ContentType?: null | string; Variant?: null | string; };
|
|
4044
|
+
type AIGenerationErrorView = { Code?: null | string; Message?: null | string; };
|
|
4045
|
+
type AIGenerationView = { GenerationID: string; Status: string; FeatureKey?: null | string; Modality?: null | 'Text' | 'Image' | 'Video' | 'Audio' | 'Music' | 'ThreeD'; Progress?: null | number; OutputText?: null | string; Assets?: null | Array<AIGenerationAssetView>; Error?: null | AIGenerationErrorView; Charge?: null | ResourceOperation; PlayerRefunded?: null | boolean; PaymentSettled?: null | boolean; CreatedAt?: null | string; UpdatedAt?: null | string; };
|
|
4046
|
+
type AIGenerationListView = { Data?: null | Array<AIGenerationView>; Skip?: null | number; Limit?: null | number; };
|
|
4047
|
+
type AIPublicFeature = { Modality?: null | 'Text' | 'Image' | 'Video' | 'Audio' | 'Music' | 'ThreeD'; Async?: null | boolean; Limits?: null | LimitSpec; PriceOptions?: null | PriceOptions; Tags?: null | Array<string>; HistoryMessages?: null | number; MaxTokens?: null | number; AllowImages?: null | boolean; MaxInputImages?: null | number; MaxInputImageBytes?: null | number; AllowedImageTypes?: null | Array<string>; MaxImages?: null | number; AllowEdit?: null | boolean; AllowReferenceImage?: null | boolean; MaxPromptChars?: null | number; LockBehavior?: null | boolean; ImageSize?: null | string; VideoSize?: null | string; VideoSeconds?: null | number; Voice?: null | string; AudioFormat?: null | string; MusicFormat?: null | string; ThreeDOperation?: null | string; ArtStyle?: null | string; ThreeDFormat?: null | string; [key: string]: unknown; };
|
|
4048
|
+
/** The title's AI features, returned by `getDefinitions()`. */
|
|
4049
|
+
interface AIPublicDefinitions {
|
|
4050
|
+
/** Master switch. `false` = every generate request fails. */
|
|
4051
|
+
Enabled?: boolean | null;
|
|
4052
|
+
/** Key = `FeatureKey`. A missing key means the feature does not exist. */
|
|
4053
|
+
Features?: Record<string, AIPublicFeature> | null;
|
|
4054
|
+
}
|
|
4055
|
+
declare const AIAction: {
|
|
4056
|
+
/** Sanitized feature list of the title. */
|
|
4057
|
+
readonly GetDefinitions: "GetDefinitions";
|
|
4058
|
+
/** Text: submits the job (status `pending`) — every generation is a job, poll `GetText`. */
|
|
4059
|
+
readonly GenerateText: "GenerateText";
|
|
4060
|
+
/** Poll a text job. */
|
|
4061
|
+
readonly GetText: "GetText";
|
|
4062
|
+
readonly GenerateImage: "GenerateImage";
|
|
4063
|
+
readonly EditImage: "EditImage";
|
|
4064
|
+
/** Video: submits the job (status `running`). */
|
|
4065
|
+
readonly GenerateVideo: "GenerateVideo";
|
|
4066
|
+
/** Poll a video job. */
|
|
4067
|
+
readonly GetVideo: "GetVideo";
|
|
4068
|
+
/** Speech from text (TTS). */
|
|
4069
|
+
readonly GenerateAudio: "GenerateAudio";
|
|
4070
|
+
readonly GenerateMusic: "GenerateMusic";
|
|
4071
|
+
/** 3D: submits the job (status `running`). */
|
|
4072
|
+
readonly GenerateThreeD: "GenerateThreeD";
|
|
4073
|
+
/** Poll a 3D job. */
|
|
4074
|
+
readonly GetThreeD: "GetThreeD";
|
|
4075
|
+
readonly ListGenerations: "ListGenerations";
|
|
4076
|
+
readonly GetGeneration: "GetGeneration";
|
|
4077
|
+
/** Poll an image job (generation and edit). */
|
|
4078
|
+
readonly GetImage: "GetImage";
|
|
4079
|
+
/** Poll a speech job. */
|
|
4080
|
+
readonly GetAudio: "GetAudio";
|
|
4081
|
+
/** Poll a music job. */
|
|
4082
|
+
readonly GetMusic: "GetMusic";
|
|
4083
|
+
};
|
|
4084
|
+
type AIAction = (typeof AIAction)[keyof typeof AIAction];
|
|
4085
|
+
|
|
3681
4086
|
/** Storage scope: who may write a record and whether it is cached server-side. */
|
|
3682
4087
|
declare const TitleDataScope: {
|
|
3683
4088
|
/** Authored configuration. Written by the publisher / AI Coder; cached with the title config. */
|
|
@@ -3992,6 +4397,16 @@ interface SdkEvents {
|
|
|
3992
4397
|
"match:definitionsLoaded": GetMatchDefinitionsResponse;
|
|
3993
4398
|
"craft:definitionsLoaded": CraftDefinitions;
|
|
3994
4399
|
"craft:completed": CraftResponse;
|
|
4400
|
+
"ai:definitionsLoaded": AIPublicDefinitions;
|
|
4401
|
+
/** Every generate / poll response, whatever its status (progress bars redraw on this). */
|
|
4402
|
+
"ai:generationUpdated": AIGenerationView;
|
|
4403
|
+
/** A generate or poll response came back `completed`. */
|
|
4404
|
+
"ai:generationCompleted": AIGenerationView;
|
|
4405
|
+
/**
|
|
4406
|
+
* A generate or poll response came back `failed` (the call itself succeeded). Read
|
|
4407
|
+
* `Error.Code` to branch, show `Error.Message` to the player.
|
|
4408
|
+
*/
|
|
4409
|
+
"ai:generationFailed": AIGenerationView;
|
|
3995
4410
|
"collection:definitionsLoaded": CollectionDefinitions;
|
|
3996
4411
|
"collection:userStateLoaded": UserCollectionState;
|
|
3997
4412
|
"collection:packOpened": OpenPackResponse;
|
|
@@ -4109,6 +4524,11 @@ interface SdkEvents {
|
|
|
4109
4524
|
"marketplace:directTradeResponded": MarketplaceSettlementResponse;
|
|
4110
4525
|
"marketplace:directTradeCancelled": MarketplaceSettlementResponse;
|
|
4111
4526
|
"marketplace:claimedBack": MarketplaceSettlementResponse;
|
|
4527
|
+
"workshop:definitionsLoaded": WorkshopDefinitionsResponse;
|
|
4528
|
+
"workshop:published": WorkshopPublishResponse;
|
|
4529
|
+
"workshop:updated": WorkshopContentMutationResponse;
|
|
4530
|
+
"workshop:acquired": WorkshopAcquireResponse;
|
|
4531
|
+
"workshop:reacted": WorkshopReactionResponse;
|
|
4112
4532
|
"multiplayer:roomCreated": RoomSnapshotResponse;
|
|
4113
4533
|
"multiplayer:roomJoined": RoomSnapshotResponse;
|
|
4114
4534
|
"multiplayer:roomLeft": LeaveRoomResponse;
|
|
@@ -5341,10 +5761,10 @@ interface PushSubscribeOptions {
|
|
|
5341
5761
|
/**
|
|
5342
5762
|
* Where the service worker script lives, resolved against the page.
|
|
5343
5763
|
*
|
|
5344
|
-
* Default `"./sw.js"` — deliberately RELATIVE. A hosted build
|
|
5345
|
-
* `
|
|
5346
|
-
*
|
|
5347
|
-
*
|
|
5764
|
+
* Default `"./sw.js"` — deliberately RELATIVE. A hosted build runs on the title's own origin
|
|
5765
|
+
* (`{titleid}.idos.games`), where relative and root resolve alike; but a pinned version lives
|
|
5766
|
+
* under `/v/{buildId}/`, and legacy links still reach `cloud.idosgames.com/drive/app/{titleID}/`,
|
|
5767
|
+
* where a leading slash would point at another game's folder. Relative is right in every case.
|
|
5348
5768
|
*/
|
|
5349
5769
|
swPath?: string;
|
|
5350
5770
|
/** Overrides `navigator.language`. */
|
|
@@ -5797,6 +6217,141 @@ declare class CraftService {
|
|
|
5797
6217
|
private baseRequest;
|
|
5798
6218
|
}
|
|
5799
6219
|
|
|
6220
|
+
/** Per-call options of every generate method. */
|
|
6221
|
+
interface AIGenerateOptions {
|
|
6222
|
+
/**
|
|
6223
|
+
* Idempotency key. Omit it and every call is a new, separately paid generation. Pass your own
|
|
6224
|
+
* (e.g. `crypto.randomUUID()`) when you may need to RETRY the same generation — after a
|
|
6225
|
+
* `connection` failure a retry with the same key returns the original generation and is never
|
|
6226
|
+
* charged twice; a retry without one is a second generation.
|
|
6227
|
+
*
|
|
6228
|
+
* 1–128 characters of `A–Z a–z 0–9 _ -` (a UUID fits) — anything else fails with
|
|
6229
|
+
* `reason: "client"`, because the server would strip it and two keys could become one.
|
|
6230
|
+
*/
|
|
6231
|
+
relatedEntityID?: string;
|
|
6232
|
+
/** `PriceOption.OptionID` of the feature the player pays with. Omit = first available option. */
|
|
6233
|
+
selectedOptionID?: string;
|
|
6234
|
+
/**
|
|
6235
|
+
* Store receipt, required when the chosen option is paid with a store purchase — one purchase
|
|
6236
|
+
* pays for exactly one generation. Finish (consume) the store transaction only when the view
|
|
6237
|
+
* reports `PaymentSettled: true`; after a failed generation keep it and retry with the same
|
|
6238
|
+
* receipt and a NEW `relatedEntityID` — the retry is free for the player.
|
|
6239
|
+
*/
|
|
6240
|
+
payment?: PaymentProof;
|
|
6241
|
+
}
|
|
6242
|
+
/** Options of {@link AIService.waitForGeneration}. */
|
|
6243
|
+
interface AIWaitOptions {
|
|
6244
|
+
/** First pause between polls, ms. Default 2000; it grows ×1.5 up to `maxIntervalMs`. */
|
|
6245
|
+
intervalMs?: number;
|
|
6246
|
+
/** Longest pause between polls, ms. Default 5000. */
|
|
6247
|
+
maxIntervalMs?: number;
|
|
6248
|
+
/**
|
|
6249
|
+
* Give up WAITING after this long, ms. Default 30 minutes. The server has no time ceiling for a
|
|
6250
|
+
* text generation (it runs while the model keeps answering), so set this to how long the player
|
|
6251
|
+
* will wait. Giving up does NOT cancel the generation: it keeps running (and stays paid), and
|
|
6252
|
+
* `getGeneration` reads it later.
|
|
6253
|
+
*/
|
|
6254
|
+
timeoutMs?: number;
|
|
6255
|
+
/** Stops waiting (e.g. the player left the screen). The generation keeps running on the server. */
|
|
6256
|
+
signal?: AbortSignal;
|
|
6257
|
+
/** Called with every polled view that is still in progress — for a progress bar. */
|
|
6258
|
+
onUpdate?: (view: AIGenerationView) => void;
|
|
6259
|
+
}
|
|
6260
|
+
/**
|
|
6261
|
+
* InApp AI generation: text (NPC dialogue, optionally from images), images and edits, video,
|
|
6262
|
+
* speech, music and 3D models — every feature configured by the publisher in the dashboard.
|
|
6263
|
+
*
|
|
6264
|
+
* **What to know before wiring a UI to this.**
|
|
6265
|
+
*
|
|
6266
|
+
* 1. **The client never picks the model or the price.** It names a `FeatureKey`; the model, the
|
|
6267
|
+
* system prompt and the player's price live in the title's AI config on the server.
|
|
6268
|
+
*
|
|
6269
|
+
* 2. **Every generation is a job, and YOU wait for it.** A generate call only submits: it returns
|
|
6270
|
+
* `Status: "pending"` (or `"running"`) and a `GenerationID` — the server never waits for the
|
|
6271
|
+
* model inside the request. Pass the returned view to {@link AIService.waitForGeneration}: it
|
|
6272
|
+
* polls the right action (`getText` / `getImage` / `getAudio` / `getMusic` / `getVideo` /
|
|
6273
|
+
* `getThreeD`) until `isTerminal(status)`. Nothing polls on its own — every poll is an API call
|
|
6274
|
+
* billed to the publisher, so wait only while the player needs the result.
|
|
6275
|
+
*
|
|
6276
|
+
* 3. **`result.ok` is about the CALL, not the generation.** A generation that ran and failed comes
|
|
6277
|
+
* back as `ok: true` with `Status: "failed"` and an `Error { Code, Message }`. A request the
|
|
6278
|
+
* server refused outright is `ok: false, reason: "server"`.
|
|
6279
|
+
*
|
|
6280
|
+
* 4. **`Charge` is applied to the cache once, by the generate call that returned it.** Polls and
|
|
6281
|
+
* history reads never touch the cache — an old generation's charge is already in the balances.
|
|
6282
|
+
* A generation with `PlayerRefunded` is never applied; if this session applied its Charge
|
|
6283
|
+
* earlier (an async job is charged at submit), the service re-reads the inventory.
|
|
6284
|
+
*/
|
|
6285
|
+
declare class AIService {
|
|
6286
|
+
private readonly ctx;
|
|
6287
|
+
/** Generations whose `Charge` is already in the cache — a replay must not deduct it again. */
|
|
6288
|
+
private readonly charged;
|
|
6289
|
+
constructor(ctx: ClientContext);
|
|
6290
|
+
/** The title's AI features (sanitized: no model, no prompts). Cached as config section `"AI"`. */
|
|
6291
|
+
getDefinitions(): Promise<OperationResult<AIPublicDefinitions>>;
|
|
6292
|
+
/** Text (NPC lines, a world description from pictures…): submits a job — see {@link waitForGeneration}. */
|
|
6293
|
+
generateText(featureKey: string, input: AITextInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6294
|
+
/** Poll a text job. */
|
|
6295
|
+
getText(generationID: string): Promise<OperationResult<AIGenerationView>>;
|
|
6296
|
+
generateImage(featureKey: string, input: AIImageInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6297
|
+
/** Edit source images with a prompt. Only on a feature with `AllowEdit`. */
|
|
6298
|
+
editImage(featureKey: string, input: AIImageEditInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6299
|
+
/** Poll an image job (generation or edit). */
|
|
6300
|
+
getImage(generationID: string): Promise<OperationResult<AIGenerationView>>;
|
|
6301
|
+
/** Submits a video job (`running`) — poll {@link getVideo}. */
|
|
6302
|
+
generateVideo(featureKey: string, input: AIVideoInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6303
|
+
/** Poll a video job. */
|
|
6304
|
+
getVideo(generationID: string): Promise<OperationResult<AIGenerationView>>;
|
|
6305
|
+
/** Speech from text (TTS). */
|
|
6306
|
+
generateAudio(featureKey: string, input: AIAudioInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6307
|
+
/** Poll a speech job. */
|
|
6308
|
+
getAudio(generationID: string): Promise<OperationResult<AIGenerationView>>;
|
|
6309
|
+
generateMusic(featureKey: string, input: AIMusicInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6310
|
+
/** Poll a music job. */
|
|
6311
|
+
getMusic(generationID: string): Promise<OperationResult<AIGenerationView>>;
|
|
6312
|
+
/** Submits a 3D job (`running`) — poll {@link getThreeD}. */
|
|
6313
|
+
generateThreeD(featureKey: string, input: AIThreeDInput, options?: AIGenerateOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6314
|
+
/** Poll a 3D job. */
|
|
6315
|
+
getThreeD(generationID: string): Promise<OperationResult<AIGenerationView>>;
|
|
6316
|
+
/** A page of the player's generation history, newest first. */
|
|
6317
|
+
listGenerations(query?: AIHistoryQuery): Promise<OperationResult<AIGenerationListView>>;
|
|
6318
|
+
/** One generation by id (history). Emits no events and never touches the cache. */
|
|
6319
|
+
getGeneration(generationID: string): Promise<OperationResult<AIGenerationView>>;
|
|
6320
|
+
/** `true` once polling can stop — see {@link isAIGenerationTerminal}. */
|
|
6321
|
+
isTerminal(status: string | null | undefined): boolean;
|
|
6322
|
+
/**
|
|
6323
|
+
* Waits for a generation to finish and returns its final view (`completed` or `failed`).
|
|
6324
|
+
*
|
|
6325
|
+
* ```ts
|
|
6326
|
+
* const submitted = await client.ai.generateText("npc-chat", { Prompt: "Hi!" });
|
|
6327
|
+
* if (!submitted.ok) return;
|
|
6328
|
+
* const done = await client.ai.waitForGeneration(submitted.data, { onUpdate: showProgress });
|
|
6329
|
+
* if (done.ok && done.data.Status === "completed") say(done.data.OutputText);
|
|
6330
|
+
* ```
|
|
6331
|
+
*
|
|
6332
|
+
* Polls the action of the generation's modality, starting every `intervalMs` and slowing down to
|
|
6333
|
+
* `maxIntervalMs`, so a long job stays cheap (every poll is an API call billed to the publisher).
|
|
6334
|
+
* A dropped connection does not end the wait — the next poll tries again. Timing out or `signal`
|
|
6335
|
+
* ends it with `reason: "client"`; the generation itself keeps running and can be read later.
|
|
6336
|
+
* Pass a `GenerationID` alone and it is read once first to learn its modality.
|
|
6337
|
+
*/
|
|
6338
|
+
waitForGeneration(generation: AIGenerationView | string, options?: AIWaitOptions): Promise<OperationResult<AIGenerationView>>;
|
|
6339
|
+
/** The poll of the generation's own modality — only it moves a provider job (video, 3D) forward. */
|
|
6340
|
+
private pollFor;
|
|
6341
|
+
private generate;
|
|
6342
|
+
private poll;
|
|
6343
|
+
/**
|
|
6344
|
+
* Keeps the cache in step with what the server took. The Charge is applied once per generation
|
|
6345
|
+
* and only from the generate call — polls and history carry the same Charge, already in the
|
|
6346
|
+
* balances. A refunded generation is never applied; if this session applied it earlier, the
|
|
6347
|
+
* inventory is re-read (the server's truth, not a guessed inverse — premium discounts may have
|
|
6348
|
+
* changed what was actually taken). Runs before the events, so listeners see fresh balances.
|
|
6349
|
+
*/
|
|
6350
|
+
private reconcileCharge;
|
|
6351
|
+
private emitView;
|
|
6352
|
+
private baseRequest;
|
|
6353
|
+
}
|
|
6354
|
+
|
|
5800
6355
|
/** Port of CollectionService.cs. Resource-affecting actions patch the cache; trade-offer
|
|
5801
6356
|
* actions are domain-only and surface via events. */
|
|
5802
6357
|
declare class CollectionService {
|
|
@@ -6182,6 +6737,164 @@ declare class MultiplayerService {
|
|
|
6182
6737
|
private baseRequest;
|
|
6183
6738
|
}
|
|
6184
6739
|
|
|
6740
|
+
/** Bytes of one file to publish. Strings are UTF-8 encoded (JSON saves are the common case). */
|
|
6741
|
+
type WorkshopFileData = Blob | ArrayBuffer | Uint8Array | string;
|
|
6742
|
+
/** One file of a publication: either bytes to upload, or a `client.ai` asset URL the server copies. */
|
|
6743
|
+
type WorkshopPublishFile = {
|
|
6744
|
+
role: string;
|
|
6745
|
+
contentType: string;
|
|
6746
|
+
data: WorkshopFileData;
|
|
6747
|
+
} | {
|
|
6748
|
+
role: string;
|
|
6749
|
+
contentType: string;
|
|
6750
|
+
sourceAssetUrl: string;
|
|
6751
|
+
};
|
|
6752
|
+
interface WorkshopPublishInput {
|
|
6753
|
+
/** Content type id from the title config (`voxelcraft.world`, `level`, …). Ignored for a new revision. */
|
|
6754
|
+
contentType: string;
|
|
6755
|
+
/** Set to upload a NEW REVISION of your own publication; omit to publish something new. */
|
|
6756
|
+
contentID?: string;
|
|
6757
|
+
files: WorkshopPublishFile[];
|
|
6758
|
+
thumbnail?: {
|
|
6759
|
+
contentType: "image/png" | "image/jpeg" | "image/webp";
|
|
6760
|
+
data: WorkshopFileData;
|
|
6761
|
+
};
|
|
6762
|
+
title?: string;
|
|
6763
|
+
description?: string;
|
|
6764
|
+
tags?: string[];
|
|
6765
|
+
metadata?: Record<string, string>;
|
|
6766
|
+
visibility?: WorkshopVisibility;
|
|
6767
|
+
/** Ways to get it; ANY option opens access. Required on the first publication. */
|
|
6768
|
+
access?: WorkshopAccessOptionInput[];
|
|
6769
|
+
/** Way to pay the publish fee (`PriceOption.OptionID`), if the type charges one. */
|
|
6770
|
+
selectedFeeOptionID?: string;
|
|
6771
|
+
}
|
|
6772
|
+
interface WorkshopBrowseQuery {
|
|
6773
|
+
contentType?: string;
|
|
6774
|
+
tag?: string;
|
|
6775
|
+
metadataKey?: string;
|
|
6776
|
+
metadataValue?: string;
|
|
6777
|
+
creatorUserID?: string;
|
|
6778
|
+
/** Only authors this player follows. */
|
|
6779
|
+
fromFollowing?: boolean;
|
|
6780
|
+
sort?: WorkshopSort;
|
|
6781
|
+
pageSize?: number;
|
|
6782
|
+
continuationToken?: string;
|
|
6783
|
+
}
|
|
6784
|
+
interface WorkshopDownloadedFile {
|
|
6785
|
+
role: string;
|
|
6786
|
+
contentType: string;
|
|
6787
|
+
data: ArrayBuffer;
|
|
6788
|
+
}
|
|
6789
|
+
/**
|
|
6790
|
+
* Port of Workshop/Workshop.cs (client surface): a catalog of content made by players and the
|
|
6791
|
+
* publisher, and LICENSES to it. Nothing is transferred: acquiring grants access to a digital copy,
|
|
6792
|
+
* the author keeps it.
|
|
6793
|
+
*
|
|
6794
|
+
* - Publishing is `publish(...)`: it declares the files, uploads the bytes straight to storage by
|
|
6795
|
+
* signed URLs, then asks the server to verify and release them. The server re-checks sizes and
|
|
6796
|
+
* file signatures itself — the declaration guarantees nothing.
|
|
6797
|
+
* - Getting something is `acquire(content, option)`: pass the option from `content.Access` so the
|
|
6798
|
+
* price you showed is the price you pay (`ExpectedPrice` — a changed price is refused, not charged).
|
|
6799
|
+
* - Opening it is `downloadFiles(contentID)`: short-lived signed links, fetched right away.
|
|
6800
|
+
*/
|
|
6801
|
+
declare class WorkshopService {
|
|
6802
|
+
private readonly ctx;
|
|
6803
|
+
constructor(ctx: ClientContext);
|
|
6804
|
+
/** Config without the moderation blocklist + which types this player may publish + active collections. */
|
|
6805
|
+
getDefinitions(): Promise<OperationResult<WorkshopDefinitionsResponse>>;
|
|
6806
|
+
browse(query?: WorkshopBrowseQuery): Promise<OperationResult<WorkshopBrowseResponse>>;
|
|
6807
|
+
getContent(contentID: string): Promise<OperationResult<WorkshopContentResponse>>;
|
|
6808
|
+
getCollection(collectionID: string): Promise<OperationResult<WorkshopCollectionResponse>>;
|
|
6809
|
+
getCreatorProfile(creatorUserID: string, continuationToken?: string, pageSize?: number): Promise<OperationResult<WorkshopCreatorProfileResponse>>;
|
|
6810
|
+
/**
|
|
6811
|
+
* Full publication in one call: declare → upload by signed URLs → verify and release.
|
|
6812
|
+
* With `contentID` it uploads a NEW REVISION of your own publication (buyers get the new files).
|
|
6813
|
+
*/
|
|
6814
|
+
publish(input: WorkshopPublishInput): Promise<OperationResult<WorkshopPublishResponse>>;
|
|
6815
|
+
/** Low-level step 1: declare the files; returns signed upload URLs. Prefer `publish(...)`. */
|
|
6816
|
+
beginUpload(args: WorkshopRequest): Promise<OperationResult<WorkshopBeginUploadResponse>>;
|
|
6817
|
+
/** Low-level step 3: verify what was uploaded and release it. Prefer `publish(...)`. */
|
|
6818
|
+
publishUploaded(args: WorkshopRequest): Promise<OperationResult<WorkshopPublishResponse>>;
|
|
6819
|
+
/** Card, access and visibility of your publication. Files are changed by `publish({ contentID, ... })`. */
|
|
6820
|
+
updateContent(contentID: string, changes: {
|
|
6821
|
+
title?: string;
|
|
6822
|
+
description?: string;
|
|
6823
|
+
tags?: string[];
|
|
6824
|
+
metadata?: Record<string, string>;
|
|
6825
|
+
visibility?: WorkshopVisibility;
|
|
6826
|
+
access?: WorkshopAccessOptionInput[];
|
|
6827
|
+
}): Promise<OperationResult<WorkshopContentMutationResponse>>;
|
|
6828
|
+
/** Take it out of the catalog for good. Players who already have access keep it. */
|
|
6829
|
+
unpublish(contentID: string): Promise<OperationResult<WorkshopContentMutationResponse>>;
|
|
6830
|
+
getMyContent(contentType?: string, continuationToken?: string, pageSize?: number): Promise<OperationResult<WorkshopBrowseResponse>>;
|
|
6831
|
+
/**
|
|
6832
|
+
* Get access by one option of the publication. For a Price option the option's price is sent
|
|
6833
|
+
* back as `ExpectedPrice`: if the author changed it meanwhile, the server refuses instead of
|
|
6834
|
+
* charging a price the player never saw.
|
|
6835
|
+
*/
|
|
6836
|
+
acquire(contentID: string, option?: WorkshopAccessOption | null): Promise<OperationResult<WorkshopAcquireResponse>>;
|
|
6837
|
+
/** Signed links to the files (short-lived) — only with access. Use `downloadFiles` to fetch the bytes too. */
|
|
6838
|
+
getDownload(contentID: string): Promise<OperationResult<WorkshopDownloadResponse>>;
|
|
6839
|
+
/** Links + bytes of every file, fetched immediately (the links expire in minutes). */
|
|
6840
|
+
downloadFiles(contentID: string): Promise<OperationResult<{
|
|
6841
|
+
download: WorkshopDownloadResponse;
|
|
6842
|
+
files: WorkshopDownloadedFile[];
|
|
6843
|
+
}>>;
|
|
6844
|
+
getMyLicenses(continuationToken?: string, pageSize?: number): Promise<OperationResult<WorkshopLicensesResponse>>;
|
|
6845
|
+
like(contentID: string): Promise<OperationResult<{
|
|
6846
|
+
[x: string]: unknown;
|
|
6847
|
+
ContentID?: string | null | undefined;
|
|
6848
|
+
Kind?: "Like" | "Favorite" | null | undefined;
|
|
6849
|
+
Active?: boolean | null | undefined;
|
|
6850
|
+
Count?: number | null | undefined;
|
|
6851
|
+
}>>;
|
|
6852
|
+
unlike(contentID: string): Promise<OperationResult<{
|
|
6853
|
+
[x: string]: unknown;
|
|
6854
|
+
ContentID?: string | null | undefined;
|
|
6855
|
+
Kind?: "Like" | "Favorite" | null | undefined;
|
|
6856
|
+
Active?: boolean | null | undefined;
|
|
6857
|
+
Count?: number | null | undefined;
|
|
6858
|
+
}>>;
|
|
6859
|
+
favorite(contentID: string): Promise<OperationResult<{
|
|
6860
|
+
[x: string]: unknown;
|
|
6861
|
+
ContentID?: string | null | undefined;
|
|
6862
|
+
Kind?: "Like" | "Favorite" | null | undefined;
|
|
6863
|
+
Active?: boolean | null | undefined;
|
|
6864
|
+
Count?: number | null | undefined;
|
|
6865
|
+
}>>;
|
|
6866
|
+
unfavorite(contentID: string): Promise<OperationResult<{
|
|
6867
|
+
[x: string]: unknown;
|
|
6868
|
+
ContentID?: string | null | undefined;
|
|
6869
|
+
Kind?: "Like" | "Favorite" | null | undefined;
|
|
6870
|
+
Active?: boolean | null | undefined;
|
|
6871
|
+
Count?: number | null | undefined;
|
|
6872
|
+
}>>;
|
|
6873
|
+
getMyFavorites(continuationToken?: string, pageSize?: number): Promise<OperationResult<WorkshopBrowseResponse>>;
|
|
6874
|
+
follow(creatorUserID: string): Promise<OperationResult<{
|
|
6875
|
+
[x: string]: unknown;
|
|
6876
|
+
CreatorUserID?: string | null | undefined;
|
|
6877
|
+
Following?: boolean | null | undefined;
|
|
6878
|
+
FollowerCount?: number | null | undefined;
|
|
6879
|
+
}>>;
|
|
6880
|
+
unfollow(creatorUserID: string): Promise<OperationResult<{
|
|
6881
|
+
[x: string]: unknown;
|
|
6882
|
+
CreatorUserID?: string | null | undefined;
|
|
6883
|
+
Following?: boolean | null | undefined;
|
|
6884
|
+
FollowerCount?: number | null | undefined;
|
|
6885
|
+
}>>;
|
|
6886
|
+
/** One report per player per publication; repeating it is harmless (`AlreadyReported`). */
|
|
6887
|
+
report(contentID: string, reason: WorkshopReportReason, comment?: string): Promise<OperationResult<WorkshopReportResponse>>;
|
|
6888
|
+
private react;
|
|
6889
|
+
private followAction;
|
|
6890
|
+
/** PUT to a signed storage URL. Not our API: raw fetch, no auth header, no envelope. */
|
|
6891
|
+
private putBytes;
|
|
6892
|
+
private contentRequest;
|
|
6893
|
+
/** Applies whichever side of a dual-party settlement belongs to the current user. */
|
|
6894
|
+
private applyDualPartySettlement;
|
|
6895
|
+
private baseRequest;
|
|
6896
|
+
}
|
|
6897
|
+
|
|
6185
6898
|
/** Thin transport wrapper for the Authentication feature (port of AuthenticationAPI.cs).
|
|
6186
6899
|
* Authentication endpoints omit the userID segment and carry no ticket. */
|
|
6187
6900
|
declare class AuthenticationApi {
|
|
@@ -6512,6 +7225,42 @@ declare class CraftApi {
|
|
|
6512
7225
|
craft(request: CraftRequest): Promise<OperationResult<CraftResponse>>;
|
|
6513
7226
|
}
|
|
6514
7227
|
|
|
7228
|
+
/** Thin transport wrapper for the AI feature (port of AIAPI.cs). */
|
|
7229
|
+
declare class AIApi {
|
|
7230
|
+
private readonly ctx;
|
|
7231
|
+
constructor(ctx: ClientContext);
|
|
7232
|
+
private send;
|
|
7233
|
+
/**
|
|
7234
|
+
* A paid generate call: long timeout and NO transport auto-retry. A timed-out submit most likely
|
|
7235
|
+
* reached the server, and a silent resend would race it. The failure surfaces as `connection`
|
|
7236
|
+
* instead; the caller retries with the SAME `RelatedEntityID`, which the server answers with the
|
|
7237
|
+
* original generation.
|
|
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.
|
|
7244
|
+
*/
|
|
7245
|
+
private readGeneration;
|
|
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>>;
|
|
7262
|
+
}
|
|
7263
|
+
|
|
6515
7264
|
/** Thin transport wrapper for the Collection feature (port of CollectionAPI.cs). */
|
|
6516
7265
|
declare class CollectionApi {
|
|
6517
7266
|
private readonly ctx;
|
|
@@ -6743,6 +7492,1730 @@ declare class MultiplayerApi {
|
|
|
6743
7492
|
setMemberState(request: MultiplayerRequest): Promise<OperationResult<PublishResponse>>;
|
|
6744
7493
|
}
|
|
6745
7494
|
|
|
7495
|
+
/** Thin transport wrapper for the Workshop feature (port of Workshop/Workshop.cs). */
|
|
7496
|
+
declare class WorkshopApi {
|
|
7497
|
+
private readonly ctx;
|
|
7498
|
+
constructor(ctx: ClientContext);
|
|
7499
|
+
private send;
|
|
7500
|
+
getDefinitions(r: WorkshopRequest): Promise<OperationResult<{
|
|
7501
|
+
[x: string]: unknown;
|
|
7502
|
+
Definitions?: {
|
|
7503
|
+
[x: string]: unknown;
|
|
7504
|
+
Enabled?: boolean | null | undefined;
|
|
7505
|
+
Gate?: {
|
|
7506
|
+
[x: string]: unknown;
|
|
7507
|
+
Segments?: string[] | null | undefined;
|
|
7508
|
+
MinPremiumTier?: number | null | undefined;
|
|
7509
|
+
RequiredPremiumIDs?: string[] | null | undefined;
|
|
7510
|
+
MinLevel?: number | null | undefined;
|
|
7511
|
+
MaxLevel?: number | null | undefined;
|
|
7512
|
+
Countries?: string[] | null | undefined;
|
|
7513
|
+
RegisteredWithinDays?: number | null | undefined;
|
|
7514
|
+
ActiveWithinDays?: number | null | undefined;
|
|
7515
|
+
Experiment?: {
|
|
7516
|
+
[x: string]: unknown;
|
|
7517
|
+
ExperimentID?: string | null | undefined;
|
|
7518
|
+
Variants?: string[] | null | undefined;
|
|
7519
|
+
} | null | undefined;
|
|
7520
|
+
Tutorial?: {
|
|
7521
|
+
[x: string]: unknown;
|
|
7522
|
+
FlowIDs?: string[] | null | undefined;
|
|
7523
|
+
Mode?: "Completed" | "Started" | "StepReached" | null | undefined;
|
|
7524
|
+
StepID?: string | null | undefined;
|
|
7525
|
+
Negate?: boolean | null | undefined;
|
|
7526
|
+
SkippedCountsAsCompleted?: boolean | null | undefined;
|
|
7527
|
+
} | null | undefined;
|
|
7528
|
+
Platforms?: ("Unknown" | "Web" | "Android" | "Ios")[] | null | undefined;
|
|
7529
|
+
} | null | undefined;
|
|
7530
|
+
Schedule?: {
|
|
7531
|
+
[x: string]: unknown;
|
|
7532
|
+
Mode?: string | null | undefined;
|
|
7533
|
+
IsActive?: boolean | null | undefined;
|
|
7534
|
+
Scheduled?: {
|
|
7535
|
+
[x: string]: unknown;
|
|
7536
|
+
StartUtc?: string | null | undefined;
|
|
7537
|
+
EndUtc?: string | null | undefined;
|
|
7538
|
+
AllowEarningAfterEnd?: boolean | null | undefined;
|
|
7539
|
+
ClaimGraceHours?: number | null | undefined;
|
|
7540
|
+
} | null | undefined;
|
|
7541
|
+
Chain?: {
|
|
7542
|
+
[x: string]: unknown;
|
|
7543
|
+
AnchorUtc?: string | null | undefined;
|
|
7544
|
+
MaxCycles?: number | null | undefined;
|
|
7545
|
+
PauseBetweenPhasesSec?: number | null | undefined;
|
|
7546
|
+
PauseBetweenCyclesSec?: number | null | undefined;
|
|
7547
|
+
} | null | undefined;
|
|
7548
|
+
Cyclic?: {
|
|
7549
|
+
[x: string]: unknown;
|
|
7550
|
+
Reset?: string | null | undefined;
|
|
7551
|
+
IntervalSeconds?: number | null | undefined;
|
|
7552
|
+
AnchorUtc?: string | null | undefined;
|
|
7553
|
+
PauseBetweenCyclesSec?: number | null | undefined;
|
|
7554
|
+
ClaimGraceHours?: number | null | undefined;
|
|
7555
|
+
} | null | undefined;
|
|
7556
|
+
ActivationTriggers?: {
|
|
7557
|
+
[x: string]: unknown;
|
|
7558
|
+
SourceType?: string | null | undefined;
|
|
7559
|
+
BaseWeight?: number | null | undefined;
|
|
7560
|
+
ScaleWithRollMultiplier?: boolean | null | undefined;
|
|
7561
|
+
TileTypeFilter?: string[] | null | undefined;
|
|
7562
|
+
TileIndexFilter?: number[] | null | undefined;
|
|
7563
|
+
ChanceOutcomeFilter?: string[] | null | undefined;
|
|
7564
|
+
OutcomeFilter?: string[] | null | undefined;
|
|
7565
|
+
Params?: Record<string, string> | null | undefined;
|
|
7566
|
+
Limits?: {
|
|
7567
|
+
[x: string]: unknown;
|
|
7568
|
+
TotalCap?: number | null | undefined;
|
|
7569
|
+
DailyCap?: number | null | undefined;
|
|
7570
|
+
DailyWeightCap?: number | null | undefined;
|
|
7571
|
+
PerActivationCap?: number | null | undefined;
|
|
7572
|
+
CooldownSeconds?: number | null | undefined;
|
|
7573
|
+
MaxPerWindow?: number | null | undefined;
|
|
7574
|
+
WindowSeconds?: number | null | undefined;
|
|
7575
|
+
} | null | undefined;
|
|
7576
|
+
}[] | null | undefined;
|
|
7577
|
+
Relative?: {
|
|
7578
|
+
[x: string]: unknown;
|
|
7579
|
+
OffsetSecondsFromParentStart?: number | null | undefined;
|
|
7580
|
+
DurationSeconds?: number | null | undefined;
|
|
7581
|
+
AllowEarningAfterEnd?: boolean | null | undefined;
|
|
7582
|
+
ClaimGraceHours?: number | null | undefined;
|
|
7583
|
+
} | null | undefined;
|
|
7584
|
+
} | null | undefined;
|
|
7585
|
+
ContentTypes?: Record<string, {
|
|
7586
|
+
[x: string]: unknown;
|
|
7587
|
+
DisplayName?: string | null | undefined;
|
|
7588
|
+
Enabled?: boolean | null | undefined;
|
|
7589
|
+
Files?: Record<string, {
|
|
7590
|
+
[x: string]: unknown;
|
|
7591
|
+
AllowedMimeTypes?: string[] | null | undefined;
|
|
7592
|
+
MaxBytes?: number | null | undefined;
|
|
7593
|
+
MaxCount?: number | null | undefined;
|
|
7594
|
+
Required?: boolean | null | undefined;
|
|
7595
|
+
}> | null | undefined;
|
|
7596
|
+
ThumbnailRequired?: boolean | null | undefined;
|
|
7597
|
+
AllowedAccessModes?: ("Price" | "Free" | "Holding")[] | null | undefined;
|
|
7598
|
+
PricePolicy?: {
|
|
7599
|
+
[x: string]: unknown;
|
|
7600
|
+
AllowVirtualCurrency?: boolean | null | undefined;
|
|
7601
|
+
AllowItems?: boolean | null | undefined;
|
|
7602
|
+
AllowEventTokens?: boolean | null | undefined;
|
|
7603
|
+
Allowed?: {
|
|
7604
|
+
[x: string]: unknown;
|
|
7605
|
+
Kind?: "Item" | "VirtualCurrency" | "EventToken" | null | undefined;
|
|
7606
|
+
CurrencyID?: string | null | undefined;
|
|
7607
|
+
CatalogID?: string | null | undefined;
|
|
7608
|
+
ItemID?: string | null | undefined;
|
|
7609
|
+
TokenType?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7610
|
+
EntityID?: string | null | undefined;
|
|
7611
|
+
MinAmount?: number | null | undefined;
|
|
7612
|
+
MaxAmount?: number | null | undefined;
|
|
7613
|
+
}[] | null | undefined;
|
|
7614
|
+
MaxPositions?: number | null | undefined;
|
|
7615
|
+
} | null | undefined;
|
|
7616
|
+
PublishGate?: {
|
|
7617
|
+
[x: string]: unknown;
|
|
7618
|
+
Segments?: string[] | null | undefined;
|
|
7619
|
+
MinPremiumTier?: number | null | undefined;
|
|
7620
|
+
RequiredPremiumIDs?: string[] | null | undefined;
|
|
7621
|
+
MinLevel?: number | null | undefined;
|
|
7622
|
+
MaxLevel?: number | null | undefined;
|
|
7623
|
+
Countries?: string[] | null | undefined;
|
|
7624
|
+
RegisteredWithinDays?: number | null | undefined;
|
|
7625
|
+
ActiveWithinDays?: number | null | undefined;
|
|
7626
|
+
Experiment?: {
|
|
7627
|
+
[x: string]: unknown;
|
|
7628
|
+
ExperimentID?: string | null | undefined;
|
|
7629
|
+
Variants?: string[] | null | undefined;
|
|
7630
|
+
} | null | undefined;
|
|
7631
|
+
Tutorial?: {
|
|
7632
|
+
[x: string]: unknown;
|
|
7633
|
+
FlowIDs?: string[] | null | undefined;
|
|
7634
|
+
Mode?: "Completed" | "Started" | "StepReached" | null | undefined;
|
|
7635
|
+
StepID?: string | null | undefined;
|
|
7636
|
+
Negate?: boolean | null | undefined;
|
|
7637
|
+
SkippedCountsAsCompleted?: boolean | null | undefined;
|
|
7638
|
+
} | null | undefined;
|
|
7639
|
+
Platforms?: ("Unknown" | "Web" | "Android" | "Ios")[] | null | undefined;
|
|
7640
|
+
} | null | undefined;
|
|
7641
|
+
PublishFeeOptions?: Record<string, {
|
|
7642
|
+
[x: string]: unknown;
|
|
7643
|
+
OptionID?: string | null | undefined;
|
|
7644
|
+
Name?: string | null | undefined;
|
|
7645
|
+
Cost?: {
|
|
7646
|
+
Standard?: {
|
|
7647
|
+
Entries?: {
|
|
7648
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7649
|
+
CurrencyID?: string | null | undefined;
|
|
7650
|
+
Amount?: number | null | undefined;
|
|
7651
|
+
AmountUsd?: number | null | undefined;
|
|
7652
|
+
CatalogID?: string | null | undefined;
|
|
7653
|
+
ItemID?: string | null | undefined;
|
|
7654
|
+
ProductID?: string | null | undefined;
|
|
7655
|
+
}[] | null | undefined;
|
|
7656
|
+
EventTokens?: {
|
|
7657
|
+
Address?: {
|
|
7658
|
+
EntityID: string;
|
|
7659
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7660
|
+
} | null | undefined;
|
|
7661
|
+
Amount?: number | null | undefined;
|
|
7662
|
+
Source?: string | null | undefined;
|
|
7663
|
+
}[] | null | undefined;
|
|
7664
|
+
} | null | undefined;
|
|
7665
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
7666
|
+
PremiumTiers?: {
|
|
7667
|
+
MinPremiumTier?: number | null | undefined;
|
|
7668
|
+
RequiredPremiumID?: string | null | undefined;
|
|
7669
|
+
Resources?: {
|
|
7670
|
+
Entries?: {
|
|
7671
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7672
|
+
CurrencyID?: string | null | undefined;
|
|
7673
|
+
Amount?: number | null | undefined;
|
|
7674
|
+
AmountUsd?: number | null | undefined;
|
|
7675
|
+
CatalogID?: string | null | undefined;
|
|
7676
|
+
ItemID?: string | null | undefined;
|
|
7677
|
+
ProductID?: string | null | undefined;
|
|
7678
|
+
}[] | null | undefined;
|
|
7679
|
+
EventTokens?: {
|
|
7680
|
+
Address?: {
|
|
7681
|
+
EntityID: string;
|
|
7682
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7683
|
+
} | null | undefined;
|
|
7684
|
+
Amount?: number | null | undefined;
|
|
7685
|
+
Source?: string | null | undefined;
|
|
7686
|
+
}[] | null | undefined;
|
|
7687
|
+
} | null | undefined;
|
|
7688
|
+
}[] | null | undefined;
|
|
7689
|
+
} | null | undefined;
|
|
7690
|
+
AllowedPlatforms?: ("Unknown" | "Web" | "Android" | "Ios")[] | null | undefined;
|
|
7691
|
+
AssetPaths?: Record<string, string> | null | undefined;
|
|
7692
|
+
}> | null | undefined;
|
|
7693
|
+
TagVocabulary?: string[] | null | undefined;
|
|
7694
|
+
MaxPublishedPerPlayer?: number | null | undefined;
|
|
7695
|
+
DailyPublishCap?: number | null | undefined;
|
|
7696
|
+
}> | null | undefined;
|
|
7697
|
+
PricePolicy?: {
|
|
7698
|
+
[x: string]: unknown;
|
|
7699
|
+
AllowVirtualCurrency?: boolean | null | undefined;
|
|
7700
|
+
AllowItems?: boolean | null | undefined;
|
|
7701
|
+
AllowEventTokens?: boolean | null | undefined;
|
|
7702
|
+
Allowed?: {
|
|
7703
|
+
[x: string]: unknown;
|
|
7704
|
+
Kind?: "Item" | "VirtualCurrency" | "EventToken" | null | undefined;
|
|
7705
|
+
CurrencyID?: string | null | undefined;
|
|
7706
|
+
CatalogID?: string | null | undefined;
|
|
7707
|
+
ItemID?: string | null | undefined;
|
|
7708
|
+
TokenType?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7709
|
+
EntityID?: string | null | undefined;
|
|
7710
|
+
MinAmount?: number | null | undefined;
|
|
7711
|
+
MaxAmount?: number | null | undefined;
|
|
7712
|
+
}[] | null | undefined;
|
|
7713
|
+
MaxPositions?: number | null | undefined;
|
|
7714
|
+
} | null | undefined;
|
|
7715
|
+
Commission?: {
|
|
7716
|
+
[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;
|
|
7727
|
+
} | null | undefined;
|
|
7728
|
+
HoldingPolicy?: {
|
|
7729
|
+
[x: string]: unknown;
|
|
7730
|
+
Allowed?: {
|
|
7731
|
+
[x: string]: unknown;
|
|
7732
|
+
Kind?: "Item" | "VirtualCurrency" | "EventToken" | null | undefined;
|
|
7733
|
+
CurrencyID?: string | null | undefined;
|
|
7734
|
+
CatalogID?: string | null | undefined;
|
|
7735
|
+
ItemID?: string | null | undefined;
|
|
7736
|
+
TokenType?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7737
|
+
EntityID?: string | null | undefined;
|
|
7738
|
+
MinAmount?: number | null | undefined;
|
|
7739
|
+
MaxAmount?: number | null | undefined;
|
|
7740
|
+
}[] | null | undefined;
|
|
7741
|
+
MaxRequirements?: number | null | undefined;
|
|
7742
|
+
} | null | undefined;
|
|
7743
|
+
Moderation?: {
|
|
7744
|
+
[x: string]: unknown;
|
|
7745
|
+
AutoHideReportThreshold?: number | null | undefined;
|
|
7746
|
+
RequireApproval?: boolean | null | undefined;
|
|
7747
|
+
} | null | undefined;
|
|
7748
|
+
Limits?: {
|
|
7749
|
+
[x: string]: unknown;
|
|
7750
|
+
MaxTitleLength?: number | null | undefined;
|
|
7751
|
+
MaxDescriptionLength?: number | null | undefined;
|
|
7752
|
+
MaxTags?: number | null | undefined;
|
|
7753
|
+
MaxTagLength?: number | null | undefined;
|
|
7754
|
+
MaxMetadataKeys?: number | null | undefined;
|
|
7755
|
+
MaxMetadataValueLength?: number | null | undefined;
|
|
7756
|
+
MaxAccessOptions?: number | null | undefined;
|
|
7757
|
+
ThumbnailMaxBytes?: number | null | undefined;
|
|
7758
|
+
} | null | undefined;
|
|
7759
|
+
Featured?: {
|
|
7760
|
+
[x: string]: unknown;
|
|
7761
|
+
CollectionID?: string | null | undefined;
|
|
7762
|
+
Name?: string | null | undefined;
|
|
7763
|
+
Description?: string | null | undefined;
|
|
7764
|
+
ContentIDs?: string[] | null | undefined;
|
|
7765
|
+
Schedule?: {
|
|
7766
|
+
[x: string]: unknown;
|
|
7767
|
+
Mode?: string | null | undefined;
|
|
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?: {
|
|
7792
|
+
[x: string]: unknown;
|
|
7793
|
+
SourceType?: string | null | undefined;
|
|
7794
|
+
BaseWeight?: number | null | undefined;
|
|
7795
|
+
ScaleWithRollMultiplier?: boolean | null | undefined;
|
|
7796
|
+
TileTypeFilter?: string[] | null | undefined;
|
|
7797
|
+
TileIndexFilter?: number[] | null | undefined;
|
|
7798
|
+
ChanceOutcomeFilter?: string[] | null | undefined;
|
|
7799
|
+
OutcomeFilter?: string[] | null | undefined;
|
|
7800
|
+
Params?: Record<string, string> | null | undefined;
|
|
7801
|
+
Limits?: {
|
|
7802
|
+
[x: string]: unknown;
|
|
7803
|
+
TotalCap?: number | null | undefined;
|
|
7804
|
+
DailyCap?: number | null | undefined;
|
|
7805
|
+
DailyWeightCap?: number | null | undefined;
|
|
7806
|
+
PerActivationCap?: number | null | undefined;
|
|
7807
|
+
CooldownSeconds?: number | null | undefined;
|
|
7808
|
+
MaxPerWindow?: number | null | undefined;
|
|
7809
|
+
WindowSeconds?: number | null | undefined;
|
|
7810
|
+
} | null | undefined;
|
|
7811
|
+
}[] | 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
|
+
} | null | undefined;
|
|
7820
|
+
Gate?: {
|
|
7821
|
+
[x: string]: unknown;
|
|
7822
|
+
Segments?: string[] | null | undefined;
|
|
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?: {
|
|
7836
|
+
[x: string]: unknown;
|
|
7837
|
+
FlowIDs?: string[] | null | undefined;
|
|
7838
|
+
Mode?: "Completed" | "Started" | "StepReached" | null | undefined;
|
|
7839
|
+
StepID?: string | null | undefined;
|
|
7840
|
+
Negate?: boolean | null | undefined;
|
|
7841
|
+
SkippedCountsAsCompleted?: boolean | null | undefined;
|
|
7842
|
+
} | null | undefined;
|
|
7843
|
+
Platforms?: ("Unknown" | "Web" | "Android" | "Ios")[] | null | undefined;
|
|
7844
|
+
} | null | undefined;
|
|
7845
|
+
Order?: number | null | undefined;
|
|
7846
|
+
}[] | null | undefined;
|
|
7847
|
+
} | null | undefined;
|
|
7848
|
+
IsOpenNow?: boolean | null | undefined;
|
|
7849
|
+
GatePassed?: boolean | null | undefined;
|
|
7850
|
+
CanPublish?: Record<string, boolean> | null | undefined;
|
|
7851
|
+
Collections?: {
|
|
7852
|
+
[x: string]: unknown;
|
|
7853
|
+
CollectionID?: string | null | undefined;
|
|
7854
|
+
Name?: string | null | undefined;
|
|
7855
|
+
Description?: string | null | undefined;
|
|
7856
|
+
ContentIDs?: string[] | null | undefined;
|
|
7857
|
+
Order?: number | null | undefined;
|
|
7858
|
+
}[] | null | undefined;
|
|
7859
|
+
}>>;
|
|
7860
|
+
browse(r: WorkshopRequest): Promise<OperationResult<{
|
|
7861
|
+
[x: string]: unknown;
|
|
7862
|
+
Items?: {
|
|
7863
|
+
[x: string]: unknown;
|
|
7864
|
+
ContentID?: string | null | undefined;
|
|
7865
|
+
ContentType?: string | null | undefined;
|
|
7866
|
+
CreatorUserID?: string | null | undefined;
|
|
7867
|
+
IsOfficial?: boolean | null | undefined;
|
|
7868
|
+
CreatorPublicData?: {
|
|
7869
|
+
[x: string]: unknown;
|
|
7870
|
+
Username?: string | null | undefined;
|
|
7871
|
+
Country?: string | null | undefined;
|
|
7872
|
+
AvatarUrl?: string | null | undefined;
|
|
7873
|
+
Premium?: boolean | null | undefined;
|
|
7874
|
+
Level?: number | null | undefined;
|
|
7875
|
+
Power?: number | null | undefined;
|
|
7876
|
+
BoardRank?: number | null | undefined;
|
|
7877
|
+
} | 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?: {
|
|
7889
|
+
Entries?: {
|
|
7890
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7891
|
+
CurrencyID?: string | null | undefined;
|
|
7892
|
+
Amount?: number | null | undefined;
|
|
7893
|
+
AmountUsd?: number | null | undefined;
|
|
7894
|
+
CatalogID?: string | null | undefined;
|
|
7895
|
+
ItemID?: string | null | undefined;
|
|
7896
|
+
ProductID?: string | null | undefined;
|
|
7897
|
+
}[] | null | undefined;
|
|
7898
|
+
EventTokens?: {
|
|
7899
|
+
Address?: {
|
|
7900
|
+
EntityID: string;
|
|
7901
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7902
|
+
} | null | undefined;
|
|
7903
|
+
Amount?: number | null | undefined;
|
|
7904
|
+
Source?: string | null | undefined;
|
|
7905
|
+
}[] | null | undefined;
|
|
7906
|
+
} | null | undefined;
|
|
7907
|
+
Holding?: {
|
|
7908
|
+
[x: string]: unknown;
|
|
7909
|
+
Requirements?: {
|
|
7910
|
+
[x: string]: unknown;
|
|
7911
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7912
|
+
CurrencyID?: string | null | undefined;
|
|
7913
|
+
CatalogID?: string | null | undefined;
|
|
7914
|
+
ItemID?: string | null | undefined;
|
|
7915
|
+
Amount?: number | null | undefined;
|
|
7916
|
+
MinLevel?: number | null | undefined;
|
|
7917
|
+
}[] | null | undefined;
|
|
7918
|
+
Match?: "All" | "Any" | null | undefined;
|
|
7919
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
7920
|
+
} | null | undefined;
|
|
7921
|
+
}[] | null | undefined;
|
|
7922
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
7923
|
+
ModerationNote?: string | null | undefined;
|
|
7924
|
+
Stats?: {
|
|
7925
|
+
[x: string]: unknown;
|
|
7926
|
+
Acquisitions?: number | null | undefined;
|
|
7927
|
+
Downloads?: number | null | undefined;
|
|
7928
|
+
Likes?: number | null | undefined;
|
|
7929
|
+
Favorites?: number | null | undefined;
|
|
7930
|
+
ReportCount?: number | null | undefined;
|
|
7931
|
+
} | null | undefined;
|
|
7932
|
+
Revision?: number | null | undefined;
|
|
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;
|
|
7944
|
+
}>>;
|
|
7945
|
+
getContent(r: WorkshopRequest): Promise<OperationResult<{
|
|
7946
|
+
[x: string]: unknown;
|
|
7947
|
+
Content?: {
|
|
7948
|
+
[x: string]: unknown;
|
|
7949
|
+
ContentID?: string | null | undefined;
|
|
7950
|
+
ContentType?: string | null | undefined;
|
|
7951
|
+
CreatorUserID?: string | null | undefined;
|
|
7952
|
+
IsOfficial?: boolean | null | undefined;
|
|
7953
|
+
CreatorPublicData?: {
|
|
7954
|
+
[x: string]: unknown;
|
|
7955
|
+
Username?: string | null | undefined;
|
|
7956
|
+
Country?: string | null | undefined;
|
|
7957
|
+
AvatarUrl?: string | null | undefined;
|
|
7958
|
+
Premium?: boolean | null | undefined;
|
|
7959
|
+
Level?: number | null | undefined;
|
|
7960
|
+
Power?: number | null | undefined;
|
|
7961
|
+
BoardRank?: number | null | undefined;
|
|
7962
|
+
} | null | undefined;
|
|
7963
|
+
Title?: string | null | undefined;
|
|
7964
|
+
Description?: string | null | undefined;
|
|
7965
|
+
Tags?: string[] | null | undefined;
|
|
7966
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
7967
|
+
ThumbnailUrl?: string | null | undefined;
|
|
7968
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
7969
|
+
Access?: {
|
|
7970
|
+
[x: string]: unknown;
|
|
7971
|
+
OptionID?: string | null | undefined;
|
|
7972
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
7973
|
+
Price?: {
|
|
7974
|
+
Entries?: {
|
|
7975
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7976
|
+
CurrencyID?: string | null | undefined;
|
|
7977
|
+
Amount?: number | null | undefined;
|
|
7978
|
+
AmountUsd?: number | null | undefined;
|
|
7979
|
+
CatalogID?: string | null | undefined;
|
|
7980
|
+
ItemID?: string | null | undefined;
|
|
7981
|
+
ProductID?: string | null | undefined;
|
|
7982
|
+
}[] | null | undefined;
|
|
7983
|
+
EventTokens?: {
|
|
7984
|
+
Address?: {
|
|
7985
|
+
EntityID: string;
|
|
7986
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
7987
|
+
} | null | undefined;
|
|
7988
|
+
Amount?: number | null | undefined;
|
|
7989
|
+
Source?: string | null | undefined;
|
|
7990
|
+
}[] | null | undefined;
|
|
7991
|
+
} | null | undefined;
|
|
7992
|
+
Holding?: {
|
|
7993
|
+
[x: string]: unknown;
|
|
7994
|
+
Requirements?: {
|
|
7995
|
+
[x: string]: unknown;
|
|
7996
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
7997
|
+
CurrencyID?: string | null | undefined;
|
|
7998
|
+
CatalogID?: string | null | undefined;
|
|
7999
|
+
ItemID?: string | null | undefined;
|
|
8000
|
+
Amount?: number | null | undefined;
|
|
8001
|
+
MinLevel?: number | null | undefined;
|
|
8002
|
+
}[] | null | undefined;
|
|
8003
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8004
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8005
|
+
} | null | undefined;
|
|
8006
|
+
}[] | null | undefined;
|
|
8007
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8008
|
+
ModerationNote?: string | null | undefined;
|
|
8009
|
+
Stats?: {
|
|
8010
|
+
[x: string]: unknown;
|
|
8011
|
+
Acquisitions?: number | null | undefined;
|
|
8012
|
+
Downloads?: number | null | undefined;
|
|
8013
|
+
Likes?: number | null | undefined;
|
|
8014
|
+
Favorites?: number | null | undefined;
|
|
8015
|
+
ReportCount?: number | null | undefined;
|
|
8016
|
+
} | null | undefined;
|
|
8017
|
+
Revision?: number | null | undefined;
|
|
8018
|
+
FileCount?: number | null | undefined;
|
|
8019
|
+
TotalBytes?: number | null | undefined;
|
|
8020
|
+
CreatedAt?: string | null | undefined;
|
|
8021
|
+
UpdatedAt?: string | null | undefined;
|
|
8022
|
+
PublishedAt?: string | null | undefined;
|
|
8023
|
+
IsMine?: boolean | null | undefined;
|
|
8024
|
+
Owned?: boolean | null | undefined;
|
|
8025
|
+
Liked?: boolean | null | undefined;
|
|
8026
|
+
Favorited?: boolean | null | undefined;
|
|
8027
|
+
} | 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
|
+
}>>;
|
|
8036
|
+
getCollection(r: WorkshopRequest): Promise<OperationResult<{
|
|
8037
|
+
[x: string]: unknown;
|
|
8038
|
+
Collection?: {
|
|
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?: {
|
|
8047
|
+
[x: string]: unknown;
|
|
8048
|
+
ContentID?: string | null | undefined;
|
|
8049
|
+
ContentType?: string | null | undefined;
|
|
8050
|
+
CreatorUserID?: string | null | undefined;
|
|
8051
|
+
IsOfficial?: boolean | null | undefined;
|
|
8052
|
+
CreatorPublicData?: {
|
|
8053
|
+
[x: string]: unknown;
|
|
8054
|
+
Username?: string | null | undefined;
|
|
8055
|
+
Country?: string | null | undefined;
|
|
8056
|
+
AvatarUrl?: string | null | undefined;
|
|
8057
|
+
Premium?: boolean | null | undefined;
|
|
8058
|
+
Level?: number | null | undefined;
|
|
8059
|
+
Power?: number | null | undefined;
|
|
8060
|
+
BoardRank?: number | null | undefined;
|
|
8061
|
+
} | null | undefined;
|
|
8062
|
+
Title?: string | null | undefined;
|
|
8063
|
+
Description?: string | null | undefined;
|
|
8064
|
+
Tags?: string[] | null | undefined;
|
|
8065
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
8066
|
+
ThumbnailUrl?: string | null | undefined;
|
|
8067
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8068
|
+
Access?: {
|
|
8069
|
+
[x: string]: unknown;
|
|
8070
|
+
OptionID?: string | null | undefined;
|
|
8071
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8072
|
+
Price?: {
|
|
8073
|
+
Entries?: {
|
|
8074
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8075
|
+
CurrencyID?: string | null | undefined;
|
|
8076
|
+
Amount?: number | null | undefined;
|
|
8077
|
+
AmountUsd?: number | null | undefined;
|
|
8078
|
+
CatalogID?: string | null | undefined;
|
|
8079
|
+
ItemID?: string | null | undefined;
|
|
8080
|
+
ProductID?: string | null | undefined;
|
|
8081
|
+
}[] | null | undefined;
|
|
8082
|
+
EventTokens?: {
|
|
8083
|
+
Address?: {
|
|
8084
|
+
EntityID: string;
|
|
8085
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8086
|
+
} | null | undefined;
|
|
8087
|
+
Amount?: number | null | undefined;
|
|
8088
|
+
Source?: string | null | undefined;
|
|
8089
|
+
}[] | null | undefined;
|
|
8090
|
+
} | null | undefined;
|
|
8091
|
+
Holding?: {
|
|
8092
|
+
[x: string]: unknown;
|
|
8093
|
+
Requirements?: {
|
|
8094
|
+
[x: string]: unknown;
|
|
8095
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8096
|
+
CurrencyID?: string | null | undefined;
|
|
8097
|
+
CatalogID?: string | null | undefined;
|
|
8098
|
+
ItemID?: string | null | undefined;
|
|
8099
|
+
Amount?: number | null | undefined;
|
|
8100
|
+
MinLevel?: number | null | undefined;
|
|
8101
|
+
}[] | null | undefined;
|
|
8102
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8103
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8104
|
+
} | null | undefined;
|
|
8105
|
+
}[] | null | undefined;
|
|
8106
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8107
|
+
ModerationNote?: string | null | undefined;
|
|
8108
|
+
Stats?: {
|
|
8109
|
+
[x: string]: unknown;
|
|
8110
|
+
Acquisitions?: number | null | undefined;
|
|
8111
|
+
Downloads?: number | null | undefined;
|
|
8112
|
+
Likes?: number | null | undefined;
|
|
8113
|
+
Favorites?: number | null | undefined;
|
|
8114
|
+
ReportCount?: number | null | undefined;
|
|
8115
|
+
} | null | undefined;
|
|
8116
|
+
Revision?: number | null | undefined;
|
|
8117
|
+
FileCount?: number | null | undefined;
|
|
8118
|
+
TotalBytes?: number | null | undefined;
|
|
8119
|
+
CreatedAt?: string | null | undefined;
|
|
8120
|
+
UpdatedAt?: string | null | undefined;
|
|
8121
|
+
PublishedAt?: string | null | undefined;
|
|
8122
|
+
IsMine?: boolean | null | undefined;
|
|
8123
|
+
Owned?: boolean | null | undefined;
|
|
8124
|
+
Liked?: boolean | null | undefined;
|
|
8125
|
+
Favorited?: boolean | null | undefined;
|
|
8126
|
+
}[] | null | undefined;
|
|
8127
|
+
}>>;
|
|
8128
|
+
getCreatorProfile(r: WorkshopRequest): Promise<OperationResult<{
|
|
8129
|
+
[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
|
+
Items?: {
|
|
8145
|
+
[x: string]: unknown;
|
|
8146
|
+
ContentID?: string | null | undefined;
|
|
8147
|
+
ContentType?: string | null | undefined;
|
|
8148
|
+
CreatorUserID?: string | null | undefined;
|
|
8149
|
+
IsOfficial?: boolean | null | undefined;
|
|
8150
|
+
CreatorPublicData?: {
|
|
8151
|
+
[x: string]: unknown;
|
|
8152
|
+
Username?: string | null | undefined;
|
|
8153
|
+
Country?: string | null | undefined;
|
|
8154
|
+
AvatarUrl?: string | null | undefined;
|
|
8155
|
+
Premium?: boolean | null | undefined;
|
|
8156
|
+
Level?: number | null | undefined;
|
|
8157
|
+
Power?: number | null | undefined;
|
|
8158
|
+
BoardRank?: number | null | undefined;
|
|
8159
|
+
} | null | undefined;
|
|
8160
|
+
Title?: string | null | undefined;
|
|
8161
|
+
Description?: string | null | undefined;
|
|
8162
|
+
Tags?: string[] | null | undefined;
|
|
8163
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
8164
|
+
ThumbnailUrl?: string | null | undefined;
|
|
8165
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8166
|
+
Access?: {
|
|
8167
|
+
[x: string]: unknown;
|
|
8168
|
+
OptionID?: string | null | undefined;
|
|
8169
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8170
|
+
Price?: {
|
|
8171
|
+
Entries?: {
|
|
8172
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8173
|
+
CurrencyID?: string | null | undefined;
|
|
8174
|
+
Amount?: number | null | undefined;
|
|
8175
|
+
AmountUsd?: number | null | undefined;
|
|
8176
|
+
CatalogID?: string | null | undefined;
|
|
8177
|
+
ItemID?: string | null | undefined;
|
|
8178
|
+
ProductID?: string | null | undefined;
|
|
8179
|
+
}[] | null | undefined;
|
|
8180
|
+
EventTokens?: {
|
|
8181
|
+
Address?: {
|
|
8182
|
+
EntityID: string;
|
|
8183
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8184
|
+
} | null | undefined;
|
|
8185
|
+
Amount?: number | null | undefined;
|
|
8186
|
+
Source?: string | null | undefined;
|
|
8187
|
+
}[] | null | undefined;
|
|
8188
|
+
} | null | undefined;
|
|
8189
|
+
Holding?: {
|
|
8190
|
+
[x: string]: unknown;
|
|
8191
|
+
Requirements?: {
|
|
8192
|
+
[x: string]: unknown;
|
|
8193
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8194
|
+
CurrencyID?: string | null | undefined;
|
|
8195
|
+
CatalogID?: string | null | undefined;
|
|
8196
|
+
ItemID?: string | null | undefined;
|
|
8197
|
+
Amount?: number | null | undefined;
|
|
8198
|
+
MinLevel?: number | null | undefined;
|
|
8199
|
+
}[] | null | undefined;
|
|
8200
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8201
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8202
|
+
} | null | undefined;
|
|
8203
|
+
}[] | null | undefined;
|
|
8204
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8205
|
+
ModerationNote?: string | null | undefined;
|
|
8206
|
+
Stats?: {
|
|
8207
|
+
[x: string]: unknown;
|
|
8208
|
+
Acquisitions?: number | null | undefined;
|
|
8209
|
+
Downloads?: number | null | undefined;
|
|
8210
|
+
Likes?: number | null | undefined;
|
|
8211
|
+
Favorites?: number | null | undefined;
|
|
8212
|
+
ReportCount?: number | null | undefined;
|
|
8213
|
+
} | null | undefined;
|
|
8214
|
+
Revision?: number | null | undefined;
|
|
8215
|
+
FileCount?: number | null | undefined;
|
|
8216
|
+
TotalBytes?: number | null | undefined;
|
|
8217
|
+
CreatedAt?: string | null | undefined;
|
|
8218
|
+
UpdatedAt?: string | null | undefined;
|
|
8219
|
+
PublishedAt?: string | null | undefined;
|
|
8220
|
+
IsMine?: boolean | null | undefined;
|
|
8221
|
+
Owned?: boolean | null | undefined;
|
|
8222
|
+
Liked?: boolean | null | undefined;
|
|
8223
|
+
Favorited?: boolean | null | undefined;
|
|
8224
|
+
}[] | null | undefined;
|
|
8225
|
+
}>>;
|
|
8226
|
+
beginUpload(r: WorkshopRequest): Promise<OperationResult<{
|
|
8227
|
+
[x: string]: unknown;
|
|
8228
|
+
ContentID?: string | null | undefined;
|
|
8229
|
+
Revision?: number | null | undefined;
|
|
8230
|
+
Uploads?: {
|
|
8231
|
+
[x: string]: unknown;
|
|
8232
|
+
Role?: string | null | undefined;
|
|
8233
|
+
Index?: number | null | undefined;
|
|
8234
|
+
Url?: string | null | undefined;
|
|
8235
|
+
ContentType?: string | null | undefined;
|
|
8236
|
+
Size?: number | null | undefined;
|
|
8237
|
+
ServerCopy?: boolean | null | undefined;
|
|
8238
|
+
}[] | null | undefined;
|
|
8239
|
+
ThumbnailUpload?: {
|
|
8240
|
+
[x: string]: unknown;
|
|
8241
|
+
Role?: string | null | undefined;
|
|
8242
|
+
Index?: number | null | undefined;
|
|
8243
|
+
Url?: string | null | undefined;
|
|
8244
|
+
ContentType?: string | null | undefined;
|
|
8245
|
+
Size?: number | null | undefined;
|
|
8246
|
+
ServerCopy?: boolean | null | undefined;
|
|
8247
|
+
} | null | undefined;
|
|
8248
|
+
ExpiresAt?: string | null | undefined;
|
|
8249
|
+
}>>;
|
|
8250
|
+
publish(r: WorkshopRequest): Promise<OperationResult<{
|
|
8251
|
+
[x: string]: unknown;
|
|
8252
|
+
Content?: {
|
|
8253
|
+
[x: string]: unknown;
|
|
8254
|
+
ContentID?: string | null | undefined;
|
|
8255
|
+
ContentType?: string | null | undefined;
|
|
8256
|
+
CreatorUserID?: string | null | undefined;
|
|
8257
|
+
IsOfficial?: boolean | null | undefined;
|
|
8258
|
+
CreatorPublicData?: {
|
|
8259
|
+
[x: string]: unknown;
|
|
8260
|
+
Username?: string | null | undefined;
|
|
8261
|
+
Country?: string | null | undefined;
|
|
8262
|
+
AvatarUrl?: string | null | undefined;
|
|
8263
|
+
Premium?: boolean | null | undefined;
|
|
8264
|
+
Level?: number | null | undefined;
|
|
8265
|
+
Power?: number | null | undefined;
|
|
8266
|
+
BoardRank?: number | null | undefined;
|
|
8267
|
+
} | null | undefined;
|
|
8268
|
+
Title?: string | null | undefined;
|
|
8269
|
+
Description?: string | null | undefined;
|
|
8270
|
+
Tags?: string[] | null | undefined;
|
|
8271
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
8272
|
+
ThumbnailUrl?: string | null | undefined;
|
|
8273
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8274
|
+
Access?: {
|
|
8275
|
+
[x: string]: unknown;
|
|
8276
|
+
OptionID?: string | null | undefined;
|
|
8277
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8278
|
+
Price?: {
|
|
8279
|
+
Entries?: {
|
|
8280
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8281
|
+
CurrencyID?: string | null | undefined;
|
|
8282
|
+
Amount?: number | null | undefined;
|
|
8283
|
+
AmountUsd?: number | null | undefined;
|
|
8284
|
+
CatalogID?: string | null | undefined;
|
|
8285
|
+
ItemID?: string | null | undefined;
|
|
8286
|
+
ProductID?: string | null | undefined;
|
|
8287
|
+
}[] | null | undefined;
|
|
8288
|
+
EventTokens?: {
|
|
8289
|
+
Address?: {
|
|
8290
|
+
EntityID: string;
|
|
8291
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8292
|
+
} | null | undefined;
|
|
8293
|
+
Amount?: number | null | undefined;
|
|
8294
|
+
Source?: string | null | undefined;
|
|
8295
|
+
}[] | null | undefined;
|
|
8296
|
+
} | null | undefined;
|
|
8297
|
+
Holding?: {
|
|
8298
|
+
[x: string]: unknown;
|
|
8299
|
+
Requirements?: {
|
|
8300
|
+
[x: string]: unknown;
|
|
8301
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8302
|
+
CurrencyID?: string | null | undefined;
|
|
8303
|
+
CatalogID?: string | null | undefined;
|
|
8304
|
+
ItemID?: string | null | undefined;
|
|
8305
|
+
Amount?: number | null | undefined;
|
|
8306
|
+
MinLevel?: number | null | undefined;
|
|
8307
|
+
}[] | null | undefined;
|
|
8308
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8309
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8310
|
+
} | 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
|
+
} | 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
|
+
} | null | undefined;
|
|
8333
|
+
Resources?: {
|
|
8334
|
+
Grant?: {
|
|
8335
|
+
Standard?: {
|
|
8336
|
+
Entries?: {
|
|
8337
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8338
|
+
CurrencyID?: string | null | undefined;
|
|
8339
|
+
Amount?: number | null | undefined;
|
|
8340
|
+
AmountUsd?: number | null | undefined;
|
|
8341
|
+
CatalogID?: string | null | undefined;
|
|
8342
|
+
ItemID?: string | null | undefined;
|
|
8343
|
+
ProductID?: string | null | undefined;
|
|
8344
|
+
}[] | null | undefined;
|
|
8345
|
+
EventTokens?: {
|
|
8346
|
+
Address?: {
|
|
8347
|
+
EntityID: string;
|
|
8348
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8349
|
+
} | null | undefined;
|
|
8350
|
+
Amount?: number | null | undefined;
|
|
8351
|
+
Source?: string | null | undefined;
|
|
8352
|
+
}[] | null | undefined;
|
|
8353
|
+
} | null | undefined;
|
|
8354
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
8355
|
+
PremiumTiers?: {
|
|
8356
|
+
MinPremiumTier?: number | null | undefined;
|
|
8357
|
+
RequiredPremiumID?: string | null | undefined;
|
|
8358
|
+
Resources?: {
|
|
8359
|
+
Entries?: {
|
|
8360
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8361
|
+
CurrencyID?: string | null | undefined;
|
|
8362
|
+
Amount?: number | null | undefined;
|
|
8363
|
+
AmountUsd?: number | null | undefined;
|
|
8364
|
+
CatalogID?: string | null | undefined;
|
|
8365
|
+
ItemID?: string | null | undefined;
|
|
8366
|
+
ProductID?: string | null | undefined;
|
|
8367
|
+
}[] | null | undefined;
|
|
8368
|
+
EventTokens?: {
|
|
8369
|
+
Address?: {
|
|
8370
|
+
EntityID: string;
|
|
8371
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8372
|
+
} | null | undefined;
|
|
8373
|
+
Amount?: number | null | undefined;
|
|
8374
|
+
Source?: string | null | undefined;
|
|
8375
|
+
}[] | null | undefined;
|
|
8376
|
+
} | null | undefined;
|
|
8377
|
+
}[] | null | undefined;
|
|
8378
|
+
} | null | undefined;
|
|
8379
|
+
Consume?: {
|
|
8380
|
+
Standard?: {
|
|
8381
|
+
Entries?: {
|
|
8382
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8383
|
+
CurrencyID?: string | null | undefined;
|
|
8384
|
+
Amount?: number | null | undefined;
|
|
8385
|
+
AmountUsd?: number | null | undefined;
|
|
8386
|
+
CatalogID?: string | null | undefined;
|
|
8387
|
+
ItemID?: string | null | undefined;
|
|
8388
|
+
ProductID?: string | null | undefined;
|
|
8389
|
+
}[] | null | undefined;
|
|
8390
|
+
EventTokens?: {
|
|
8391
|
+
Address?: {
|
|
8392
|
+
EntityID: string;
|
|
8393
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8394
|
+
} | null | undefined;
|
|
8395
|
+
Amount?: number | null | undefined;
|
|
8396
|
+
Source?: string | null | undefined;
|
|
8397
|
+
}[] | null | undefined;
|
|
8398
|
+
} | null | undefined;
|
|
8399
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
8400
|
+
PremiumTiers?: {
|
|
8401
|
+
MinPremiumTier?: number | null | undefined;
|
|
8402
|
+
RequiredPremiumID?: string | null | undefined;
|
|
8403
|
+
Resources?: {
|
|
8404
|
+
Entries?: {
|
|
8405
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8406
|
+
CurrencyID?: string | null | undefined;
|
|
8407
|
+
Amount?: number | null | undefined;
|
|
8408
|
+
AmountUsd?: number | null | undefined;
|
|
8409
|
+
CatalogID?: string | null | undefined;
|
|
8410
|
+
ItemID?: string | null | undefined;
|
|
8411
|
+
ProductID?: string | null | undefined;
|
|
8412
|
+
}[] | null | undefined;
|
|
8413
|
+
EventTokens?: {
|
|
8414
|
+
Address?: {
|
|
8415
|
+
EntityID: string;
|
|
8416
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8417
|
+
} | null | undefined;
|
|
8418
|
+
Amount?: number | null | undefined;
|
|
8419
|
+
Source?: string | null | undefined;
|
|
8420
|
+
}[] | null | undefined;
|
|
8421
|
+
} | null | undefined;
|
|
8422
|
+
}[] | null | undefined;
|
|
8423
|
+
} | null | undefined;
|
|
8424
|
+
} | null | undefined;
|
|
8425
|
+
}>>;
|
|
8426
|
+
updateContent(r: WorkshopRequest): Promise<OperationResult<{
|
|
8427
|
+
[x: string]: unknown;
|
|
8428
|
+
Content?: {
|
|
8429
|
+
[x: string]: unknown;
|
|
8430
|
+
ContentID?: string | null | undefined;
|
|
8431
|
+
ContentType?: string | null | undefined;
|
|
8432
|
+
CreatorUserID?: string | null | undefined;
|
|
8433
|
+
IsOfficial?: boolean | null | undefined;
|
|
8434
|
+
CreatorPublicData?: {
|
|
8435
|
+
[x: string]: unknown;
|
|
8436
|
+
Username?: string | null | undefined;
|
|
8437
|
+
Country?: string | null | undefined;
|
|
8438
|
+
AvatarUrl?: string | null | undefined;
|
|
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;
|
|
8486
|
+
} | null | undefined;
|
|
8487
|
+
}[] | 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
|
+
} | null | undefined;
|
|
8509
|
+
}>>;
|
|
8510
|
+
unpublish(r: WorkshopRequest): Promise<OperationResult<{
|
|
8511
|
+
[x: string]: unknown;
|
|
8512
|
+
Content?: {
|
|
8513
|
+
[x: string]: unknown;
|
|
8514
|
+
ContentID?: string | null | undefined;
|
|
8515
|
+
ContentType?: string | null | undefined;
|
|
8516
|
+
CreatorUserID?: string | null | undefined;
|
|
8517
|
+
IsOfficial?: boolean | null | undefined;
|
|
8518
|
+
CreatorPublicData?: {
|
|
8519
|
+
[x: string]: unknown;
|
|
8520
|
+
Username?: string | null | undefined;
|
|
8521
|
+
Country?: string | null | undefined;
|
|
8522
|
+
AvatarUrl?: string | null | undefined;
|
|
8523
|
+
Premium?: boolean | null | undefined;
|
|
8524
|
+
Level?: number | null | undefined;
|
|
8525
|
+
Power?: number | null | undefined;
|
|
8526
|
+
BoardRank?: number | null | undefined;
|
|
8527
|
+
} | null | undefined;
|
|
8528
|
+
Title?: string | null | undefined;
|
|
8529
|
+
Description?: string | null | undefined;
|
|
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?: {
|
|
8535
|
+
[x: string]: unknown;
|
|
8536
|
+
OptionID?: string | null | undefined;
|
|
8537
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8538
|
+
Price?: {
|
|
8539
|
+
Entries?: {
|
|
8540
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8541
|
+
CurrencyID?: string | null | undefined;
|
|
8542
|
+
Amount?: number | null | undefined;
|
|
8543
|
+
AmountUsd?: number | null | undefined;
|
|
8544
|
+
CatalogID?: string | null | undefined;
|
|
8545
|
+
ItemID?: string | null | undefined;
|
|
8546
|
+
ProductID?: string | null | undefined;
|
|
8547
|
+
}[] | null | undefined;
|
|
8548
|
+
EventTokens?: {
|
|
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;
|
|
8556
|
+
} | null | undefined;
|
|
8557
|
+
Holding?: {
|
|
8558
|
+
[x: string]: unknown;
|
|
8559
|
+
Requirements?: {
|
|
8560
|
+
[x: string]: unknown;
|
|
8561
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8562
|
+
CurrencyID?: string | null | undefined;
|
|
8563
|
+
CatalogID?: string | null | undefined;
|
|
8564
|
+
ItemID?: string | null | undefined;
|
|
8565
|
+
Amount?: number | null | undefined;
|
|
8566
|
+
MinLevel?: number | null | undefined;
|
|
8567
|
+
}[] | null | undefined;
|
|
8568
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8569
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8570
|
+
} | null | undefined;
|
|
8571
|
+
}[] | null | undefined;
|
|
8572
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8573
|
+
ModerationNote?: string | null | undefined;
|
|
8574
|
+
Stats?: {
|
|
8575
|
+
[x: string]: unknown;
|
|
8576
|
+
Acquisitions?: number | null | undefined;
|
|
8577
|
+
Downloads?: number | null | undefined;
|
|
8578
|
+
Likes?: number | null | undefined;
|
|
8579
|
+
Favorites?: number | null | undefined;
|
|
8580
|
+
ReportCount?: number | null | undefined;
|
|
8581
|
+
} | null | undefined;
|
|
8582
|
+
Revision?: number | null | undefined;
|
|
8583
|
+
FileCount?: number | null | undefined;
|
|
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;
|
|
8593
|
+
}>>;
|
|
8594
|
+
getMyContent(r: WorkshopRequest): Promise<OperationResult<{
|
|
8595
|
+
[x: string]: unknown;
|
|
8596
|
+
Items?: {
|
|
8597
|
+
[x: string]: unknown;
|
|
8598
|
+
ContentID?: string | null | undefined;
|
|
8599
|
+
ContentType?: string | null | undefined;
|
|
8600
|
+
CreatorUserID?: string | null | undefined;
|
|
8601
|
+
IsOfficial?: boolean | null | undefined;
|
|
8602
|
+
CreatorPublicData?: {
|
|
8603
|
+
[x: string]: unknown;
|
|
8604
|
+
Username?: string | null | undefined;
|
|
8605
|
+
Country?: string | null | undefined;
|
|
8606
|
+
AvatarUrl?: string | null | undefined;
|
|
8607
|
+
Premium?: boolean | null | undefined;
|
|
8608
|
+
Level?: number | null | undefined;
|
|
8609
|
+
Power?: number | null | undefined;
|
|
8610
|
+
BoardRank?: number | null | undefined;
|
|
8611
|
+
} | null | undefined;
|
|
8612
|
+
Title?: string | null | undefined;
|
|
8613
|
+
Description?: string | null | undefined;
|
|
8614
|
+
Tags?: string[] | null | undefined;
|
|
8615
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
8616
|
+
ThumbnailUrl?: string | null | undefined;
|
|
8617
|
+
Visibility?: "Friends" | "Public" | "Unlisted" | null | undefined;
|
|
8618
|
+
Access?: {
|
|
8619
|
+
[x: string]: unknown;
|
|
8620
|
+
OptionID?: string | null | undefined;
|
|
8621
|
+
Mode?: "Price" | "Free" | "Holding" | null | undefined;
|
|
8622
|
+
Price?: {
|
|
8623
|
+
Entries?: {
|
|
8624
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8625
|
+
CurrencyID?: string | null | undefined;
|
|
8626
|
+
Amount?: number | null | undefined;
|
|
8627
|
+
AmountUsd?: number | null | undefined;
|
|
8628
|
+
CatalogID?: string | null | undefined;
|
|
8629
|
+
ItemID?: string | null | undefined;
|
|
8630
|
+
ProductID?: string | null | undefined;
|
|
8631
|
+
}[] | null | undefined;
|
|
8632
|
+
EventTokens?: {
|
|
8633
|
+
Address?: {
|
|
8634
|
+
EntityID: string;
|
|
8635
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8636
|
+
} | null | undefined;
|
|
8637
|
+
Amount?: number | null | undefined;
|
|
8638
|
+
Source?: string | null | undefined;
|
|
8639
|
+
}[] | null | undefined;
|
|
8640
|
+
} | null | undefined;
|
|
8641
|
+
Holding?: {
|
|
8642
|
+
[x: string]: unknown;
|
|
8643
|
+
Requirements?: {
|
|
8644
|
+
[x: string]: unknown;
|
|
8645
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8646
|
+
CurrencyID?: string | null | undefined;
|
|
8647
|
+
CatalogID?: string | null | undefined;
|
|
8648
|
+
ItemID?: string | null | undefined;
|
|
8649
|
+
Amount?: number | null | undefined;
|
|
8650
|
+
MinLevel?: number | null | undefined;
|
|
8651
|
+
}[] | null | undefined;
|
|
8652
|
+
Match?: "All" | "Any" | null | undefined;
|
|
8653
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
8654
|
+
} | null | undefined;
|
|
8655
|
+
}[] | null | undefined;
|
|
8656
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
8657
|
+
ModerationNote?: string | null | undefined;
|
|
8658
|
+
Stats?: {
|
|
8659
|
+
[x: string]: unknown;
|
|
8660
|
+
Acquisitions?: number | null | undefined;
|
|
8661
|
+
Downloads?: number | null | undefined;
|
|
8662
|
+
Likes?: number | null | undefined;
|
|
8663
|
+
Favorites?: number | null | undefined;
|
|
8664
|
+
ReportCount?: number | null | undefined;
|
|
8665
|
+
} | null | undefined;
|
|
8666
|
+
Revision?: number | null | undefined;
|
|
8667
|
+
FileCount?: number | null | undefined;
|
|
8668
|
+
TotalBytes?: number | null | undefined;
|
|
8669
|
+
CreatedAt?: string | null | undefined;
|
|
8670
|
+
UpdatedAt?: string | null | undefined;
|
|
8671
|
+
PublishedAt?: string | null | undefined;
|
|
8672
|
+
IsMine?: boolean | null | undefined;
|
|
8673
|
+
Owned?: boolean | null | undefined;
|
|
8674
|
+
Liked?: boolean | null | undefined;
|
|
8675
|
+
Favorited?: boolean | null | undefined;
|
|
8676
|
+
}[] | null | undefined;
|
|
8677
|
+
ContinuationToken?: string | null | undefined;
|
|
8678
|
+
}>>;
|
|
8679
|
+
acquire(r: WorkshopRequest): Promise<OperationResult<{
|
|
8680
|
+
[x: string]: unknown;
|
|
8681
|
+
ContentID?: string | null | undefined;
|
|
8682
|
+
OptionID?: string | null | undefined;
|
|
8683
|
+
Source?: "Purchase" | "Free" | "Holding" | null | undefined;
|
|
8684
|
+
AlreadyOwned?: boolean | null | undefined;
|
|
8685
|
+
AccessActive?: boolean | null | undefined;
|
|
8686
|
+
Settlement?: {
|
|
8687
|
+
FromUserID?: string | null | undefined;
|
|
8688
|
+
ToUserID?: string | null | undefined;
|
|
8689
|
+
FromResult?: {
|
|
8690
|
+
Grant?: {
|
|
8691
|
+
Standard?: {
|
|
8692
|
+
Entries?: {
|
|
8693
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8694
|
+
CurrencyID?: string | null | undefined;
|
|
8695
|
+
Amount?: number | null | undefined;
|
|
8696
|
+
AmountUsd?: number | null | undefined;
|
|
8697
|
+
CatalogID?: string | null | undefined;
|
|
8698
|
+
ItemID?: string | null | undefined;
|
|
8699
|
+
ProductID?: string | null | undefined;
|
|
8700
|
+
}[] | null | undefined;
|
|
8701
|
+
EventTokens?: {
|
|
8702
|
+
Address?: {
|
|
8703
|
+
EntityID: string;
|
|
8704
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8705
|
+
} | null | undefined;
|
|
8706
|
+
Amount?: number | null | undefined;
|
|
8707
|
+
Source?: string | null | undefined;
|
|
8708
|
+
}[] | null | undefined;
|
|
8709
|
+
} | null | undefined;
|
|
8710
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
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?: {
|
|
8737
|
+
Entries?: {
|
|
8738
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8739
|
+
CurrencyID?: string | null | undefined;
|
|
8740
|
+
Amount?: number | null | undefined;
|
|
8741
|
+
AmountUsd?: number | null | undefined;
|
|
8742
|
+
CatalogID?: string | null | undefined;
|
|
8743
|
+
ItemID?: string | null | undefined;
|
|
8744
|
+
ProductID?: string | null | undefined;
|
|
8745
|
+
}[] | null | undefined;
|
|
8746
|
+
EventTokens?: {
|
|
8747
|
+
Address?: {
|
|
8748
|
+
EntityID: string;
|
|
8749
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8750
|
+
} | null | undefined;
|
|
8751
|
+
Amount?: number | null | undefined;
|
|
8752
|
+
Source?: string | null | undefined;
|
|
8753
|
+
}[] | null | undefined;
|
|
8754
|
+
} | 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
|
+
} | null | undefined;
|
|
8780
|
+
} | null | undefined;
|
|
8781
|
+
ToResult?: {
|
|
8782
|
+
Grant?: {
|
|
8783
|
+
Standard?: {
|
|
8784
|
+
Entries?: {
|
|
8785
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8786
|
+
CurrencyID?: string | null | undefined;
|
|
8787
|
+
Amount?: number | null | undefined;
|
|
8788
|
+
AmountUsd?: number | null | undefined;
|
|
8789
|
+
CatalogID?: string | null | undefined;
|
|
8790
|
+
ItemID?: string | null | undefined;
|
|
8791
|
+
ProductID?: string | null | undefined;
|
|
8792
|
+
}[] | null | undefined;
|
|
8793
|
+
EventTokens?: {
|
|
8794
|
+
Address?: {
|
|
8795
|
+
EntityID: string;
|
|
8796
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8797
|
+
} | null | undefined;
|
|
8798
|
+
Amount?: number | null | undefined;
|
|
8799
|
+
Source?: string | null | undefined;
|
|
8800
|
+
}[] | null | undefined;
|
|
8801
|
+
} | null | undefined;
|
|
8802
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
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?: {
|
|
8829
|
+
Entries?: {
|
|
8830
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8831
|
+
CurrencyID?: string | null | undefined;
|
|
8832
|
+
Amount?: number | null | undefined;
|
|
8833
|
+
AmountUsd?: number | null | undefined;
|
|
8834
|
+
CatalogID?: string | null | undefined;
|
|
8835
|
+
ItemID?: string | null | undefined;
|
|
8836
|
+
ProductID?: string | null | undefined;
|
|
8837
|
+
}[] | null | undefined;
|
|
8838
|
+
EventTokens?: {
|
|
8839
|
+
Address?: {
|
|
8840
|
+
EntityID: string;
|
|
8841
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8842
|
+
} | null | undefined;
|
|
8843
|
+
Amount?: number | null | undefined;
|
|
8844
|
+
Source?: string | null | undefined;
|
|
8845
|
+
}[] | null | undefined;
|
|
8846
|
+
} | 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
|
+
} | null | undefined;
|
|
8872
|
+
} | null | undefined;
|
|
8873
|
+
} | null | undefined;
|
|
8874
|
+
Resources?: {
|
|
8875
|
+
Grant?: {
|
|
8876
|
+
Standard?: {
|
|
8877
|
+
Entries?: {
|
|
8878
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8879
|
+
CurrencyID?: string | null | undefined;
|
|
8880
|
+
Amount?: number | null | undefined;
|
|
8881
|
+
AmountUsd?: number | null | undefined;
|
|
8882
|
+
CatalogID?: string | null | undefined;
|
|
8883
|
+
ItemID?: string | null | undefined;
|
|
8884
|
+
ProductID?: string | null | undefined;
|
|
8885
|
+
}[] | null | undefined;
|
|
8886
|
+
EventTokens?: {
|
|
8887
|
+
Address?: {
|
|
8888
|
+
EntityID: string;
|
|
8889
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8890
|
+
} | null | undefined;
|
|
8891
|
+
Amount?: number | null | undefined;
|
|
8892
|
+
Source?: string | null | undefined;
|
|
8893
|
+
}[] | null | undefined;
|
|
8894
|
+
} | null | undefined;
|
|
8895
|
+
PremiumBonuses?: unknown[] | null | undefined;
|
|
8896
|
+
PremiumTiers?: {
|
|
8897
|
+
MinPremiumTier?: number | null | undefined;
|
|
8898
|
+
RequiredPremiumID?: string | null | undefined;
|
|
8899
|
+
Resources?: {
|
|
8900
|
+
Entries?: {
|
|
8901
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8902
|
+
CurrencyID?: string | null | undefined;
|
|
8903
|
+
Amount?: number | null | undefined;
|
|
8904
|
+
AmountUsd?: number | null | undefined;
|
|
8905
|
+
CatalogID?: string | null | undefined;
|
|
8906
|
+
ItemID?: string | null | undefined;
|
|
8907
|
+
ProductID?: string | null | undefined;
|
|
8908
|
+
}[] | null | undefined;
|
|
8909
|
+
EventTokens?: {
|
|
8910
|
+
Address?: {
|
|
8911
|
+
EntityID: string;
|
|
8912
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8913
|
+
} | null | undefined;
|
|
8914
|
+
Amount?: number | null | undefined;
|
|
8915
|
+
Source?: string | null | undefined;
|
|
8916
|
+
}[] | null | undefined;
|
|
8917
|
+
} | null | undefined;
|
|
8918
|
+
}[] | null | undefined;
|
|
8919
|
+
} | null | undefined;
|
|
8920
|
+
Consume?: {
|
|
8921
|
+
Standard?: {
|
|
8922
|
+
Entries?: {
|
|
8923
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8924
|
+
CurrencyID?: string | null | undefined;
|
|
8925
|
+
Amount?: number | null | undefined;
|
|
8926
|
+
AmountUsd?: number | null | undefined;
|
|
8927
|
+
CatalogID?: string | null | undefined;
|
|
8928
|
+
ItemID?: string | null | undefined;
|
|
8929
|
+
ProductID?: string | null | undefined;
|
|
8930
|
+
}[] | null | undefined;
|
|
8931
|
+
EventTokens?: {
|
|
8932
|
+
Address?: {
|
|
8933
|
+
EntityID: string;
|
|
8934
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8935
|
+
} | null | undefined;
|
|
8936
|
+
Amount?: number | null | undefined;
|
|
8937
|
+
Source?: string | null | undefined;
|
|
8938
|
+
}[] | null | undefined;
|
|
8939
|
+
} | null | undefined;
|
|
8940
|
+
PremiumDiscounts?: unknown[] | null | undefined;
|
|
8941
|
+
PremiumTiers?: {
|
|
8942
|
+
MinPremiumTier?: number | null | undefined;
|
|
8943
|
+
RequiredPremiumID?: string | null | undefined;
|
|
8944
|
+
Resources?: {
|
|
8945
|
+
Entries?: {
|
|
8946
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
8947
|
+
CurrencyID?: string | null | undefined;
|
|
8948
|
+
Amount?: number | null | undefined;
|
|
8949
|
+
AmountUsd?: number | null | undefined;
|
|
8950
|
+
CatalogID?: string | null | undefined;
|
|
8951
|
+
ItemID?: string | null | undefined;
|
|
8952
|
+
ProductID?: string | null | undefined;
|
|
8953
|
+
}[] | null | undefined;
|
|
8954
|
+
EventTokens?: {
|
|
8955
|
+
Address?: {
|
|
8956
|
+
EntityID: string;
|
|
8957
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
8958
|
+
} | null | undefined;
|
|
8959
|
+
Amount?: number | null | undefined;
|
|
8960
|
+
Source?: string | null | undefined;
|
|
8961
|
+
}[] | null | undefined;
|
|
8962
|
+
} | null | undefined;
|
|
8963
|
+
}[] | null | undefined;
|
|
8964
|
+
} | null | undefined;
|
|
8965
|
+
} | 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
|
+
}>>;
|
|
9002
|
+
getMyLicenses(r: WorkshopRequest): Promise<OperationResult<{
|
|
9003
|
+
[x: string]: unknown;
|
|
9004
|
+
Licenses?: {
|
|
9005
|
+
[x: string]: unknown;
|
|
9006
|
+
ContentID?: string | null | undefined;
|
|
9007
|
+
Source?: "Purchase" | "Free" | "Holding" | null | undefined;
|
|
9008
|
+
OptionID?: string | null | undefined;
|
|
9009
|
+
PricePaid?: {
|
|
9010
|
+
Entries?: {
|
|
9011
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9012
|
+
CurrencyID?: string | null | undefined;
|
|
9013
|
+
Amount?: number | null | undefined;
|
|
9014
|
+
AmountUsd?: number | null | undefined;
|
|
9015
|
+
CatalogID?: string | null | undefined;
|
|
9016
|
+
ItemID?: string | null | undefined;
|
|
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;
|
|
9032
|
+
ContentType?: string | null | undefined;
|
|
9033
|
+
CreatorUserID?: string | null | undefined;
|
|
9034
|
+
IsOfficial?: boolean | null | undefined;
|
|
9035
|
+
CreatorPublicData?: {
|
|
9036
|
+
[x: string]: unknown;
|
|
9037
|
+
Username?: string | null | undefined;
|
|
9038
|
+
Country?: string | null | undefined;
|
|
9039
|
+
AvatarUrl?: string | null | undefined;
|
|
9040
|
+
Premium?: boolean | null | undefined;
|
|
9041
|
+
Level?: number | null | undefined;
|
|
9042
|
+
Power?: number | null | undefined;
|
|
9043
|
+
BoardRank?: number | null | undefined;
|
|
9044
|
+
} | null | undefined;
|
|
9045
|
+
Title?: string | null | undefined;
|
|
9046
|
+
Description?: string | null | undefined;
|
|
9047
|
+
Tags?: string[] | null | undefined;
|
|
9048
|
+
Metadata?: Record<string, string> | null | undefined;
|
|
9049
|
+
ThumbnailUrl?: string | null | undefined;
|
|
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?: {
|
|
9056
|
+
Entries?: {
|
|
9057
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9058
|
+
CurrencyID?: string | null | undefined;
|
|
9059
|
+
Amount?: number | null | undefined;
|
|
9060
|
+
AmountUsd?: number | null | undefined;
|
|
9061
|
+
CatalogID?: string | null | undefined;
|
|
9062
|
+
ItemID?: string | null | undefined;
|
|
9063
|
+
ProductID?: string | null | undefined;
|
|
9064
|
+
}[] | null | undefined;
|
|
9065
|
+
EventTokens?: {
|
|
9066
|
+
Address?: {
|
|
9067
|
+
EntityID: string;
|
|
9068
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9069
|
+
} | null | undefined;
|
|
9070
|
+
Amount?: number | null | undefined;
|
|
9071
|
+
Source?: string | null | undefined;
|
|
9072
|
+
}[] | null | undefined;
|
|
9073
|
+
} | null | undefined;
|
|
9074
|
+
Holding?: {
|
|
9075
|
+
[x: string]: unknown;
|
|
9076
|
+
Requirements?: {
|
|
9077
|
+
[x: string]: unknown;
|
|
9078
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9079
|
+
CurrencyID?: string | null | undefined;
|
|
9080
|
+
CatalogID?: string | null | undefined;
|
|
9081
|
+
ItemID?: string | null | undefined;
|
|
9082
|
+
Amount?: number | null | undefined;
|
|
9083
|
+
MinLevel?: number | null | undefined;
|
|
9084
|
+
}[] | null | undefined;
|
|
9085
|
+
Match?: "All" | "Any" | null | undefined;
|
|
9086
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
9087
|
+
} | null | undefined;
|
|
9088
|
+
}[] | 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
|
+
} | null | undefined;
|
|
9110
|
+
}[] | null | undefined;
|
|
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;
|
|
9119
|
+
}>>;
|
|
9120
|
+
getMyFavorites(r: WorkshopRequest): Promise<OperationResult<{
|
|
9121
|
+
[x: string]: unknown;
|
|
9122
|
+
Items?: {
|
|
9123
|
+
[x: string]: unknown;
|
|
9124
|
+
ContentID?: string | null | undefined;
|
|
9125
|
+
ContentType?: string | null | undefined;
|
|
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?: {
|
|
9149
|
+
Entries?: {
|
|
9150
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9151
|
+
CurrencyID?: string | null | undefined;
|
|
9152
|
+
Amount?: number | null | undefined;
|
|
9153
|
+
AmountUsd?: number | null | undefined;
|
|
9154
|
+
CatalogID?: string | null | undefined;
|
|
9155
|
+
ItemID?: string | null | undefined;
|
|
9156
|
+
ProductID?: string | null | undefined;
|
|
9157
|
+
}[] | null | undefined;
|
|
9158
|
+
EventTokens?: {
|
|
9159
|
+
Address?: {
|
|
9160
|
+
EntityID: string;
|
|
9161
|
+
Type?: "TimedEvent" | "Quest" | "Leaderboard" | "CoopEvent" | "Season" | null | undefined;
|
|
9162
|
+
} | null | undefined;
|
|
9163
|
+
Amount?: number | null | undefined;
|
|
9164
|
+
Source?: string | null | undefined;
|
|
9165
|
+
}[] | null | undefined;
|
|
9166
|
+
} | null | undefined;
|
|
9167
|
+
Holding?: {
|
|
9168
|
+
[x: string]: unknown;
|
|
9169
|
+
Requirements?: {
|
|
9170
|
+
[x: string]: unknown;
|
|
9171
|
+
Type?: "Item" | "VirtualCurrency" | "CryptoCurrency" | "RewardedVideoCredit" | "Purchase" | null | undefined;
|
|
9172
|
+
CurrencyID?: string | null | undefined;
|
|
9173
|
+
CatalogID?: string | null | undefined;
|
|
9174
|
+
ItemID?: string | null | undefined;
|
|
9175
|
+
Amount?: number | null | undefined;
|
|
9176
|
+
MinLevel?: number | null | undefined;
|
|
9177
|
+
}[] | null | undefined;
|
|
9178
|
+
Match?: "All" | "Any" | null | undefined;
|
|
9179
|
+
Mode?: "WhileHeld" | "UnlockOnce" | null | undefined;
|
|
9180
|
+
} | null | undefined;
|
|
9181
|
+
}[] | null | undefined;
|
|
9182
|
+
Status?: "Hidden" | "Removed" | "Uploading" | "PendingReview" | "Published" | null | undefined;
|
|
9183
|
+
ModerationNote?: string | null | undefined;
|
|
9184
|
+
Stats?: {
|
|
9185
|
+
[x: string]: unknown;
|
|
9186
|
+
Acquisitions?: number | null | undefined;
|
|
9187
|
+
Downloads?: number | null | undefined;
|
|
9188
|
+
Likes?: number | null | undefined;
|
|
9189
|
+
Favorites?: number | null | undefined;
|
|
9190
|
+
ReportCount?: number | null | undefined;
|
|
9191
|
+
} | null | undefined;
|
|
9192
|
+
Revision?: number | null | undefined;
|
|
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;
|
|
9204
|
+
}>>;
|
|
9205
|
+
follow(action: "Follow" | "Unfollow", r: WorkshopRequest): Promise<OperationResult<{
|
|
9206
|
+
[x: string]: unknown;
|
|
9207
|
+
CreatorUserID?: string | null | undefined;
|
|
9208
|
+
Following?: boolean | null | undefined;
|
|
9209
|
+
FollowerCount?: number | null | undefined;
|
|
9210
|
+
}>>;
|
|
9211
|
+
report(r: WorkshopRequest): Promise<OperationResult<{
|
|
9212
|
+
[x: string]: unknown;
|
|
9213
|
+
ReportID?: string | null | undefined;
|
|
9214
|
+
AlreadyReported?: boolean | null | undefined;
|
|
9215
|
+
AutoHidden?: boolean | null | undefined;
|
|
9216
|
+
}>>;
|
|
9217
|
+
}
|
|
9218
|
+
|
|
6746
9219
|
interface IDosGamesClientConfig extends SettingsInput {
|
|
6747
9220
|
/** Platform adapter (defaults to BrowserPlatformAdapter). Inject NoopPlatformAdapter in tests. */
|
|
6748
9221
|
platform?: PlatformAdapter;
|
|
@@ -6803,6 +9276,7 @@ declare class ClientContext {
|
|
|
6803
9276
|
character: CharacterApi;
|
|
6804
9277
|
match: MatchApi;
|
|
6805
9278
|
craft: CraftApi;
|
|
9279
|
+
ai: AIApi;
|
|
6806
9280
|
collection: CollectionApi;
|
|
6807
9281
|
coopEvent: CoopEventApi;
|
|
6808
9282
|
dealOffer: DealOfferApi;
|
|
@@ -6817,6 +9291,7 @@ declare class ClientContext {
|
|
|
6817
9291
|
blockchain: BlockchainApi;
|
|
6818
9292
|
marketplace: MarketplaceApi;
|
|
6819
9293
|
multiplayer: MultiplayerApi;
|
|
9294
|
+
workshop: WorkshopApi;
|
|
6820
9295
|
};
|
|
6821
9296
|
readonly auth: AuthenticationService;
|
|
6822
9297
|
readonly userService: UserService;
|
|
@@ -6840,6 +9315,7 @@ declare class ClientContext {
|
|
|
6840
9315
|
readonly character: CharacterService;
|
|
6841
9316
|
readonly match: MatchService;
|
|
6842
9317
|
readonly craft: CraftService;
|
|
9318
|
+
readonly ai: AIService;
|
|
6843
9319
|
readonly collection: CollectionService;
|
|
6844
9320
|
readonly coopEvent: CoopEventService;
|
|
6845
9321
|
readonly dealOffer: DealOfferService;
|
|
@@ -6854,6 +9330,7 @@ declare class ClientContext {
|
|
|
6854
9330
|
readonly blockchain: BlockchainService;
|
|
6855
9331
|
readonly marketplace: MarketplaceService;
|
|
6856
9332
|
readonly multiplayer: MultiplayerService;
|
|
9333
|
+
readonly workshop: WorkshopService;
|
|
6857
9334
|
constructor(config: IDosGamesClientConfig);
|
|
6858
9335
|
/** Authed base request: UserID + ticket + buildKey + webAppLink + a fresh idempotency key. */
|
|
6859
9336
|
buildAuthedBaseRequest(): BaseRequest;
|
|
@@ -6924,6 +9401,15 @@ declare class IDosGamesClient {
|
|
|
6924
9401
|
get character(): CharacterService;
|
|
6925
9402
|
get match(): MatchService;
|
|
6926
9403
|
get craft(): CraftService;
|
|
9404
|
+
/**
|
|
9405
|
+
* InApp AI generation (text, images, video, speech, music, 3D) by `FeatureKey` — features,
|
|
9406
|
+
* models and player prices are configured by the publisher, never chosen by the client.
|
|
9407
|
+
*
|
|
9408
|
+
* Every generation is a job: a generate call returns `pending` / `running`, and
|
|
9409
|
+
* `ai.waitForGeneration(view)` polls it to the end. Wait only while the player needs the result —
|
|
9410
|
+
* every poll is billed against the publisher's API quota.
|
|
9411
|
+
*/
|
|
9412
|
+
get ai(): AIService;
|
|
6927
9413
|
get collection(): CollectionService;
|
|
6928
9414
|
get coopEvent(): CoopEventService;
|
|
6929
9415
|
get dealOffer(): DealOfferService;
|
|
@@ -6938,6 +9424,13 @@ declare class IDosGamesClient {
|
|
|
6938
9424
|
get blockchain(): BlockchainService;
|
|
6939
9425
|
get marketplace(): MarketplaceService;
|
|
6940
9426
|
get multiplayer(): MultiplayerService;
|
|
9427
|
+
/**
|
|
9428
|
+
* Workshop: content made by players and the publisher (maps, levels, skins, models) and licenses
|
|
9429
|
+
* to it — publish, browse, acquire (free / for resources / by holding), download, like, follow,
|
|
9430
|
+
* report. `publish(...)` uploads straight to storage by signed URLs; `acquire(id, option)` sends
|
|
9431
|
+
* the price you showed, so a changed price is refused instead of charged.
|
|
9432
|
+
*/
|
|
9433
|
+
get workshop(): WorkshopService;
|
|
6941
9434
|
/** Local cache (config + user state). Read here; react via `on(...)`. */
|
|
6942
9435
|
get data(): IDosGamesData;
|
|
6943
9436
|
get platform(): PlatformAdapter;
|
|
@@ -7141,7 +9634,7 @@ type BroadcastStatus = (typeof BroadcastStatus)[keyof typeof BroadcastStatus];
|
|
|
7141
9634
|
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; };
|
|
7142
9635
|
type MailboxSegmentDefinition = { SegmentID?: null | string; DisplayName?: null | string; Gate?: null | SegmentGate; [key: string]: unknown; };
|
|
7143
9636
|
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; };
|
|
7144
|
-
type MailboxMessageDocument = { MessageID?: null | string; TitleID?: null | string; RecipientUserID?: null | string; MessageTypeID?: null | string; Source?: null | 'Quest' | 'Leaderboard' | 'CoopEvent' | 'Season' | 'Referral' | '
|
|
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' | 'Unread' | 'Read' | 'Deleted'; CreatedAtUtc?: null | string; ExpiresAtUtc?: null | string; ReadAtUtc?: null | string; BroadcastID?: null | string; Version?: null | number; [key: string]: unknown; };
|
|
7145
9638
|
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; };
|
|
7146
9639
|
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; };
|
|
7147
9640
|
|
|
@@ -7187,4 +9680,4 @@ declare class LocalizationCache {
|
|
|
7187
9680
|
private versionsKey;
|
|
7188
9681
|
}
|
|
7189
9682
|
|
|
7190
|
-
export { type AcceptTradeOfferResponse, AcquisitionCapture, type ActivateReferralCodeResponse, type ActivateTimedBoostResponse, type ActiveBoostWindowInfo, type ActiveCoopEventInfo, type ActiveDealSlotInfo, type ActiveEventInfo, type ActiveSeasonInfo, type ActiveTimedBoost, type AdConsentSettings, type AdConsentState, type AdCreditsData, type AdDailyData, type AdFraudFlags, type AdFrequencyCappingSettings, type AdPendingRequest, type AdPlacementDefinition, type AdPlacementUserState, type AdProviderDefinition, AdProviderKind, type AdSessionData, AdType, type AdUnitConfig, type AdVerificationSettings, type AddQuestProgressResponse, type AdvertisingDefinitions, type AppOpenSettings, AttackOutcome, type AttackResponse, type AttributionInput, type AuthContext, AuthType, AuthenticationAction, type AuthenticationRequest, AuthenticationService, BannerPosition, type BannerSettings, type BaseRequest, type BatchDeleteUserCustomDataResponse, type BatchGetPublicUserCustomDataResponse, type BatchItemResult, type BatchResponse, type BatchSetUserCustomDataResponse, type BattleResult, type BattleStepConfig, type BlockchainAccountSafetyPolicy, BlockchainAction, type BlockchainConfigResponse, type BlockchainDefinitions, type BlockchainNetworkDefinition, BlockchainNetworkType, type BlockchainNftCollectionBinding, BlockchainOperationCategory, type BlockchainRequest, BlockchainService, type BlockchainStats, type BlockchainSystemState, BlockchainTransactionStatus, BlockchainTransactionType, type BoardLoopDefinition, type BoardLoopState, type BoardPendingInteraction, type BoardRollResponse, BodyPart, type BoostTriggerCounter, BoostWindowKind, BroadcastStatus, type BuildResponse, type BuildingState, type CancelMatchResponse, type CancelTradeOfferResponse, type ChangeUsernameResponse, CharacterAction, type CharacterClassification, type CharacterDefinition, type CharacterDefinitions, type CharacterEquipment, type CharacterEquipmentSlot, type CharacterIdentity, type CharacterLevelRef, type CharacterModel, type CharacterRankLadder, type CharacterRequest, CharacterService, type CharacterSkinDefinition, type CharacterSkinItem, type CharacterSkinRequirements, type CharacterSkinSale, type CharacterSkinView, type CharacterSkins, type CharacterSkinsView, type CharacterStatRef, type CharacterUnequipResult, type CharacterUnlock, ChatAction, ChatAuthorType, ChatBlockedTermAction, type ChatChannelAvailability, type ChatChannelDefinition, type ChatChannelIdentity, type ChatChannelPresetBindings, type ChatChannelRetention, ChatChannelType, type ChatChannelView, type ChatChannelWriteRules, type ChatChannelsResponse, type ChatConversationView, type ChatConversationsResponse, type ChatCursor, type ChatDefinitions, ChatDirectAudience, type ChatDirectChannelResponse, type ChatHistoryResponse, type ChatMessageView, type ChatModerationSettings, ChatPartitioning, type ChatPollResponse, type ChatPollingSettings, type ChatPresetRegistry, ChatReportReason, type ChatReportResponse, type ChatRequest, type ChatRoomUpdate, type ChatSendResponse, type ChatStateResponse, CheckoutService, type ClaimAllRewardsBatchResponse, type ClaimAllRewardsResult, type ClaimComebackRewardResponse, type ClaimCycleRewardResponse, type ClaimCycleRewardsBatchResponse, type ClaimDailyRewardResponse, type ClaimDealMilestoneResponse, type ClaimDealMilestonesBatchResponse, type ClaimGrandPrizeResponse, type ClaimGroupCompletionRewardResponse, type ClaimInviteRewardResponse, type ClaimInviteRewardsBatchResponse, type ClaimLeaderboardMilestoneResponse, type ClaimLeaderboardMilestonesBatchResponse, type ClaimMilestoneRewardResponse, type ClaimMilestoneRewardsBatchResponse, type ClaimMilestonesBatchResponse, type ClaimQuestRewardResponse, type ClaimQuestRewardsBatchResponse, type ClaimRewardResponse, type ClaimSetRewardResponse, type ClaimSetRewardsBatchResponse, type ClaimTierRewardResponse, type ClaimTierRewardsBatchResponse, ClientPlatform, type ClientState, CloudCodeAction, CloudCodeErrorCode, type CloudCodeLogEntry, CloudCodeLogLevel, type CloudCodeRequest, CloudCodeRevisionSelection, CloudCodeService, type CodeExecutionError, type CollectIdleAccrualResponse, CollectionAction, type CollectionDefinitions, type CollectionGlobalSettings, type CollectionRequest, CollectionService, type CollectionSetRef, type CollectionTradeOfferDocument, CommissionSink, type CommunityAccrualLine, type CommunityCampaignSummary, type CommunityChestClaimResponse, type CommunityChestGroupDocument, type CommunityChestGroupStateResponse, type CommunityChestHistoryEntry, type CommunityChestLeaveResponse, type CommunityChestMember, CommunityChestMemberStatus, type CommunityChestSharedState, CommunityChestStatus, type CommunityChestUserStateResponse, type CommunityClaimResponse, CommunityCreatorStatus, type CommunityEarningsLine, type CommunityEarningsResponse, type CommunityEligibilityCondition, type CommunityEligibilityResponse, CommunityMarketingAction, type CommunityMarketingRequest, type CommunityMarketingState, CommunityMetricKind, CommunityParticipationMode, CommunityPayoutCurrencyKind, type CommunityPayoutSummary, type CommunitySolanaWithdrawalSignature, type CommunityWithdrawalResponse, type ConfirmWithdrawalResponse, type ConversionDailyCounter, ConversionRateMode, type ConversionTarget, type ConvertResponse, type CoopBuildObjectsMemberState, type CoopBuildObjectsState, type CoopClaimRewardResponse, CoopEventAction, type CoopEventDefinitions, type CoopEventRequest, CoopEventService, type CoopGroupDocument, type CoopGroupMember, type CoopGroupStateResponse, CoopGroupStatus, type CoopLeaveGroupResponse, CoopMemberStatus, type CoopPartnerObjectState, type CoopSpinResponse, type CoopUserStateResponse, CraftAction, type CraftBurnedInstance, type CraftDefinition, type CraftDefinitions, type CraftDefinitionsResponse, CraftInputSelectionMode, CraftOutputLevelMode, CraftOutputLevelOverflow, type CraftRequest, type CraftResponse, CraftService, type CraftSingleResult, CraftType, type CreateMatchResponse, type CryptoConvertResponse, type CryptoCurrencyDefinition, type CryptoCurrencyPermissions, type CryptoLimits, type CryptoNetworkBinding, type CryptoShortfall, CurrencyAction, type CurrencyAudit, type CurrencyConversion, type CurrencyDefinitions, type CurrencyRequest, CurrencyService, CurrencyStatus, CurrencyType, CurveInterpolation, type CurvePoint, CurveShape, CustomDataBucket, CustomDataValueType, CustomDataWriter, type CyclicSchedule, DEFAULT_BASE_URL, type DailyUsageRecord, type DealAvailability, DealComparisonOperator, type DealIdentity, type DealMilestoneBlock, type DealMilestoneProgressInfo, type DealNodeActionDefinition, type DealNodeDefinition, type DealNodePresetBindings, type DealNodePricing, type DealNodeReward, DealNodeRuntimeStatus, DealNodeType, type DealNodeUnlockRules, DealOfferAction, DealOfferActivationStatus, type DealOfferDefinition, type DealOfferDefinitions, type DealOfferGraph, type DealOfferPresetBindings, type DealOfferPresetRegistry, type DealOfferRequest, DealOfferService, type DealOffersDefinitionResponse, type DealRewardedVideoActionDefinition, type DealSlotBehaviour, type DealSlotDefinition, type DealSlotPresetBindings, type DealSlotQueueEntry, type DealTrackChange, type DealTrackDefinition, type DealTrackRequirement, type DeclineTradeOfferResponse, type DepositNFTResponse, type DepositTokenResponse, type DirectMessageSettings, type DismissDealResponse, type DonationResponse, EnvelopeType, type EquipItemsResponse, type EquipSkinResponse, type EquipSlotPair, type EquipmentPreset, type EquipmentSlot, type EquippedItem, type EventMap, type EventMilestoneClaimResponse, type EventTokenAddress, type EventTokenConversion, type EventTokenDefinition, type EventTokenGrantResponse, type EventTokenMilestoneData, type EventTokenOperation, type EventTokenSpendResponse, EventTokenType, type ExecuteCloudCodeResponse, type ExecuteNodeResponse, type ExperimentDefinition, type ExperimentDefinitions, type ExperimentVariant, type ExperimentVariantCondition, type FodderConsumedEntry, FodderSelectionMode, FodderValuationMode, type FriendActionResponse, FriendActionStatus, type FriendPublicProfile, type FriendsListResponse, GameLoopAction, type GameLoopDefinitions, type GameLoopRequest, GameLoopService, type GetActiveBoostWindowsResponse, type GetActiveDealsResponse, type GetActiveEventsResponse, type GetActiveTimedBoostsResponse, type GetCharacterSkinsResponse, type GetCharactersResponse, type GetLeaderboardResponse, type GetLeaderboardsBatchResponse, type GetMatchDefinitionsResponse, type GetMilestoneRewardMultiplierResponse, type GetMyProgressResponse, type GetMyUserCustomDataResponse, type GetOverviewBatchResponse, type GetProgressBatchResponse, type GetPublicTitleDataResponse, type GetPublicUserCustomDataResponse, type GetStorefrontResponse, type GetTradeOffersResponse, type GetUserQuestStateResponse, type GetUserTutorialStateResponse, type GrantStatusTokensResponse, type GrantTokensBatchResponse, type GrantedCollectible, type HeistCell, IDosGamesClient, type IDosGamesClientConfig, IDosGamesData, type IDosGamesSettings, type IapProductDefinition, type IapProductPurchaseState, type IapProductRules, IapProductType, IapPurchaseStatus, type IapStore, IapStore$1 as IapStoreValues, type IceServer, type InstantBattleDefinitions, type InstantBattleResponse, type InstantBattleRule, type InterstitialSettings, type InventoryDelta, ItemAction, type ItemCatalog, type ItemDefinition, type ItemDefinitions, type ItemEquipment, type ItemMetadata, type ItemRequest, ItemService, type ItemStats, type ItemTotals, type ItemUpgrade, type ItemUpgradeFodder, type ItemUpgradeRef, type JsonValue, KeyValueStorage, KycStatus, KycTier, LeaderboardAction, type LeaderboardDefinitions, type LeaderboardMilestoneRef, type LeaderboardOverview, type LeaderboardRequest, type LeaderboardScoreRef, LeaderboardService, type LeaderboardUserEntry, type LeaveRoomResponse, type LevelsPreset, type LimitSpec, type LinkedWalletInfo, type Listener, LocalizationAction, LocalizationCache, type LocalizationDefinitions, type LocalizationLocaleDefinition, type LocalizationLocaleInfo, type LocalizationManifestResponse, LocalizationMissingKeyMode, type LocalizationParams, type LocalizationRequest, LocalizationService, type LocalizationState, type LocalizationTableRef, type LocalizationTableResponse, LootboxAction, type LootboxAmountRange, type LootboxDefinitions, type LootboxDefinitionsResponse, type LootboxGlobalSettings, type LootboxOpenResponse, type LootboxPityRule, type LootboxPityTriggerResponse, type LootboxRequest, type LootboxRewardRoll, type LootboxRewardSlot, LootboxService, type LootboxSupplyRule, type MailboxBroadcastDocument, type MailboxDefinition, type MailboxMessageDocument, MailboxMessageSource, MailboxMessageStatus, type MailboxMessageTypeDefinition, type MailboxSegmentDefinition, MarketGoodsType, MarketOfferStatus, MarketOfferType, MarketplaceAction, type MarketplaceActionCounter, type MarketplaceAuctionSettings, type MarketplaceAuctionState, type MarketplaceBidRefund, type MarketplaceBrowseResponse, type MarketplaceBuyOrderSettings, type MarketplaceCommissionOverride, type MarketplaceCommissionPolicy, type MarketplaceCreateOfferResponse, type MarketplaceDefinitions, type MarketplaceDirectTradeSettings, type MarketplaceGetDefinitionsResponse, type MarketplaceGroupedOfferView, type MarketplaceGroupedOffersResponse, type MarketplaceHistoryEntryView, type MarketplaceHistoryResponse, type MarketplaceListingSettings, type MarketplaceMatchingSettings, type MarketplaceMyStateResponse, type MarketplaceOfferResponse, type MarketplaceOfferView, type MarketplacePlaceBidResponse, type MarketplacePricePolicy, type MarketplaceRequest, MarketplaceService, type MarketplaceSettlementResponse, type MarketplaceTradabilityPolicy, MatchAction, type MatchDefinitions, type MatchRequest, MatchService, MatchStatus, type MatchesPageResponse, type MilestoneClaimEntry, type MilestoneClaimRef, type MilestoneDefinition, MultiplayerAction, MultiplayerChatMode, type MultiplayerDefinitions, type MultiplayerRequest, MultiplayerService, type MultiplayerSystemState, MultiplayerTopology, type NFTModel, type NFTNetworkBinding, type NFTTransactionDocument, type NFTWithdrawalResponse, type NftCollectionStats, type NftStatsContainer, OFFER_NOT_IN_ROTATION, type OpenCollectionChestResponse, type OpenPackResponse, type OperationFailure, type OperationFailureReason, type OperationResult, type OperationSuccess, type PackOpenResult, type PaymentProof, type PaymentRequirement, type PendingWithdrawalRef, PlatformAdapter, type PlatformBlockchainState, type PlatformLoginResponse, type PlayerEconomyTuningState, PlaytimeTracker, type PollResponse, PremiumAction, type PremiumAdReduction, type PremiumDefinitions, type PremiumDefinitionsResponse, type PremiumPurchaseResponse, type PremiumRequest, PremiumService, type PremiumStateResponse, type PremiumSubscription, type PriceOption, type PriceOptions, type PublishResponse, PurchaseAction, type PurchaseBatchResponse, type PurchaseDefinitions, type PurchaseReceiptRef, type PurchaseRequest, PurchaseService, type PurchaseValidationBatchResponse, type PurchaseValidationResponse, PushAction, type PushConfigResponse, PushPermissionState, type PushRequest, type PushSubscribeOptions, type PushSubscribeResult, type PushSubscriptionListResponse, type PushSubscriptionView, PushTopic, type PushTopicView, PushTransport, type PvPMatch, QuestAction, type QuestAvailability, type QuestClaimRef, type QuestCycleDefinition, type QuestDefinition, type QuestDefinitions, type QuestGroupCompletionDefinition, type QuestIdentity, type QuestLinking, type QuestObjectiveDefinition, QuestObjectiveSource, type QuestPhaseDefinition, type QuestPointsTrackView, QuestPrerequisiteMode, type QuestPresetBindings, type QuestPresetRegistry, type QuestProgressUpdate, type QuestRequest, type QuestReward, QuestService, QuestStatus, RaidMode, type RaidResponse, type RealtimeEnvelope, type RechargeConfig, type RecordShowResponse, ReferralAction, type ReferralDefinitions, type ReferralDefinitionsResponse, type ReferralInviteRewardState, type ReferralRequest, ReferralService, type RelativeWindow, type ResourceBundle, type ResourceConsume, type ResourceDualPartyResult, type ResourceEntry, ResourceEntryType, type ResourceGrant, type ResourceOperation, type ResourceTransferResult, type RetryWithdrawalResponse, RewardAction, type RewardDefinitions, type RewardDefinitionsResponse, type RewardRequest, RewardService, type RewardedVideoSettings, type RollActionData, type RoomListItem, type RoomMemberView, type RoomSnapshotResponse, RoomVisibility, type RoomsPageResponse, SKIN_ALREADY_OWNED, SKIN_SLOT, type ScalarCurveSpec, type ScheduleChain, type ScheduleChainPhase, ScheduleMode, type ScheduleSpec, type ScheduledWindow, type SdkEvents, SeasonAction, type SeasonDefinitions, type SeasonRequest, SeasonService, type SeasonTierRewardBundle, type SeasonTierRewardMultiplier, type SeasonTierRewardSet, type SegmentGate, type SendTradeOfferResponse, type SetUserCustomDataResponse, type SettingsInput, SocialAction, type SocialCounters, type SocialRequest, SocialService, type SocialTimelineEvent, type SolanaWithdrawalSignature, type SpecialApplyMultiplierResponse, SpecialChoiceMode, type SpecialChooseResponse, type SpecialClaimResponse, type SpecialModeOfferData, type SpecialPendingState, type SpendRewardDefinition, type SpendTokensBatchResponse, type SsoCodeFromUrl, type StatDefinition, type StatRequirement, type StatsPreset, StoreAction, type StoreAvailability, type StoreDefinition, type StoreDefinitions, type StoreIdentity, type StoreLayout, type StoreOfferAvailability, type StoreOfferDefinition, type StoreOfferPricing, type StoreOfferReward, type StoreOfferStateView, type StorePurchaseRef, type StorePurchaseResponse, type StorePurchaseState, type StoreRequest, StoreRotationMode, type StoreRotationPurchaseState, type StoreSectionDefinition, StoreService, type StoreSlotDefinition, type StoreSlotPoolEntry, type StoreSlotRotation, StoreType, type StoredLocalizationTable, type StorefrontOfferView, type StorefrontPriceOptionView, type StorefrontSectionView, type StorefrontSlotView, type StorefrontView, type SubmitScoreResponse, type SubmitScoresBatchResponse, type SuccessResponse, TimedBoostAction, type TimedBoostDefinitions, type TimedBoostRequest, TimedBoostService, TimedBoostStackingPolicy, TimedEventAction, type TimedEventDefinitions, type TimedEventGrantRef, type TimedEventInstanceRef, type TimedEventMilestoneRef, type TimedEventRequest, TimedEventService, type TimedEventSpendRef, TimelineEventType, type TimelineResponse, TitleAction, TitleConfig, TitleCustomDataAction, type TitleCustomDataDefinitions, type TitleCustomDataKeyDefinition, type TitleCustomDataRecord, type TitleCustomDataRequest, TitleCustomDataService, TitleDataBucket, TitleDataScope, type TitlePublicConfigurationModel, type TitleRequest, TitleService, type TokenCurrencyStats, type TokenStatsContainer, type TokenTransactionDocument, type TokenWithdrawalResponse, TradeOfferStatus, TransactionDirection, type TransactionHistoryResponse, type TriggerContext, type TriggerSource, TutorialAction, type TutorialAvailability, type TutorialBlockingPolicy, TutorialBoardAction, type TutorialBoardScript, type TutorialClaimResponse, type TutorialDefinitions, type TutorialFlowBatchResponse, type TutorialFlowDefinition, type TutorialFlowPolicy, type TutorialFlowResponse, TutorialFlowStatus, type TutorialFlowView, type TutorialGateCondition, TutorialGateMode, type TutorialGlobalSettings, type TutorialIdentity, type TutorialPresetBindings, type TutorialPresetRegistry, type TutorialRequest, TutorialRestartPolicy, type TutorialReward, TutorialScriptModule, type TutorialScriptedOutcome, type TutorialStepCompletion, TutorialStepCompletionMode, type TutorialStepDefinition, type TutorialStepEffects, type TutorialStepIdentity, type TutorialStepPolicy, type TutorialStepProgress, TypedEmitter, type UnequipAllCharactersResponse, type UnequipItemsResponse, type UnequipSkinResponse, type UnlockCharacterResponse, type UnlockCharactersBatchResponse, type UnlockSkinResponse, type UnstackableItemInstanceState, type Unsubscribe, type UpdateMatchResponse, type UpgradeCharacterLevelResponse, type UpgradeCharacterLevelsBatchResponse, type UpgradeItemLevelResponse, type UpgradeLevelsBatchResponse, type UpgradeLevelsOptions, type UpgradeStatLevelResponse, type UpgradeStatLevelsBatchResponse, type UsagePeriodRecord, type UsageReactivationEvent, type UsageTimeStats, type UseCollectibleJokerResponse, UserAction, type UserAdvertisingState, type UserBlockchainState, type UserBlockchainStateResponse, type UserCharactersState, type UserChatChannelState, type UserChatLimitState, type UserChatState, type UserClaimRewardState, type UserCollectionState, type UserComebackState, type UserCommunityChestState, type UserCoopEventState, type UserCryptoComplianceCounters, type UserCryptoCurrencyState, UserCustomDataAction, type UserCustomDataBatchDeleteItem, type UserCustomDataBatchSetItem, type UserCustomDataDefinitions, type UserCustomDataKeyDefinition, type UserCustomDataRecord, type UserCustomDataRequest, UserCustomDataService, type UserCustomDataState, type UserDailyCalendarState, type UserDailyCounters, UserData, type UserDealNodeLifetimeCounts, type UserDealNodeState, type UserDealOfferActivationState, type UserDealOfferHistory, type UserDealOffersState, type UserDealOffersStateResponse, type UserDealSlotState, type UserDealTrackState, type UserDepositAddress, type UserEventTokenProgress, type UserEventTokensState, type UserGameLoopsState, type UserIdleAccrualState, type UserInventoryState, type UserKycState, type UserLeaderboardProgress, type UserLeaderboardsState, type UserLootboxPityCounter, type UserLootboxState, type UserMailboxState, type UserMarketplaceState, type UserMatchCreationLimitState, type UserMatchState, type UserPremiumState, type UserPublicDataModel, type UserPurchaseState, type UserQuestCycleState, type UserQuestObjectiveProgress, type UserQuestProgress, type UserQuestState, type UserReferralState, type UserReferralStateResponse, type UserRequest, type UserRewardState, type UserRewardsStateResponse, type UserSeasonState, type UserSeasonStateResponse, type UserSeasonsState, UserService, type UserSocialState, type UserState, type UserStateSlice, type UserStateVersions, type UserStoreState, type UserTimedBoostsState, type UserTimedEventStateResponse, type UserTutorialFlowState, type UserTutorialState, type UserTutorialStepState, type UserUsageState, type UserVirtualCurrencyState, type VirtualCurrencyDefinition, type VirtualCurrencyEconomy, type VirtualCurrencyPermissions, type WalletChallengeResponse, WalletLinkType, type WithdrawalSignatureResponse, type WithdrawalSplit, beginSsoRedirect, claimedMilestoneIDs, createIDosGamesClient, curveMultiplier, evaluateCurve, grantedPremiumTiers, isCurveConfigured, isFail, isMilestoneClaimed, isOk, isReservedSlot, normalizeBlockchainCategory, readSsoCodeFromUrl, roundAmount, zPaymentProof, zPriceOption, zPriceOptions };
|
|
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 };
|