@series-inc/rundot-game-sdk 5.15.1-beta.8 → 5.16.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.
@@ -1554,6 +1554,7 @@ interface UgcUnvoteParams {
1554
1554
  entryId: string;
1555
1555
  /** Votes to remove in this call. Defaults to 1. Min 1, max 15. */
1556
1556
  count?: number;
1557
+ clientRequestId?: string;
1557
1558
  }
1558
1559
  interface UgcMyVotesResponse {
1559
1560
  weekKey: string;
@@ -1901,8 +1902,6 @@ interface ImageGenParams {
1901
1902
  removeBackground?: boolean;
1902
1903
  /** Model to use. Defaults to 'gemini-3.1-flash-image-preview' (Nano Banana 2). */
1903
1904
  model?: ImageGenModel;
1904
- /** Opaque correlation ID echoed back in job events for client-side recovery. */
1905
- clientRef?: string;
1906
1905
  }
1907
1906
  interface ImageGenResult {
1908
1907
  imageUrl: string;
@@ -2203,70 +2202,6 @@ interface FilesApi {
2203
2202
  getCompletedJobs(): Promise<FilesJobEvent[]>;
2204
2203
  }
2205
2204
 
2206
- type SpriteGenModel = string;
2207
- interface SpriteGenParams {
2208
- prompt: string;
2209
- /** Pixel art (true) or detailed HD art (false). Default true. */
2210
- pixel?: boolean;
2211
- width?: number;
2212
- height?: number;
2213
- bgMode?: 'transparent' | 'white' | 'include';
2214
- theme?: string;
2215
- style?: string;
2216
- colors?: string[];
2217
- /** SpriteCook asset ID from a prior generation, for style consistency. */
2218
- referenceAssetId?: string;
2219
- /** Creator-storage file key to use as style reference (resolved server-side). */
2220
- referenceFileKey?: string;
2221
- model?: SpriteGenModel;
2222
- }
2223
- interface SpriteGenResult {
2224
- generationId: string;
2225
- imageUrl: string;
2226
- spriteCookAssetId: string;
2227
- prompt: string;
2228
- model: string;
2229
- width: number;
2230
- height: number;
2231
- }
2232
- interface AnimateSpriteParams {
2233
- /** generationId from a prior spriteGen.generate() call. */
2234
- sourceGenerationId?: string;
2235
- /** Or: a creator-storage file key to animate (imported to SpriteCook on the fly). */
2236
- sourceFileKey?: string;
2237
- /** Or: an HTTPS URL to import and animate. */
2238
- sourceImageUrl?: string;
2239
- /** Motion description, e.g. "walk cycle, side view" or "idle breathing". */
2240
- prompt: string;
2241
- /** Frame count. Pixel: 2-16 (even), HD: 2-24 (even). Default 8. */
2242
- outputFrames?: number;
2243
- /** Output format. Default 'spritesheet'. */
2244
- outputFormat?: 'spritesheet' | 'gif' | 'webp';
2245
- /** Background removal mode. Default 'Basic'. */
2246
- removeBg?: 'None' | 'Basic' | 'Pro';
2247
- }
2248
- interface AnimateSpriteResult {
2249
- generationId: string;
2250
- spriteSheetUrl: string;
2251
- frameCount: number;
2252
- frameWidth: number;
2253
- frameHeight: number;
2254
- prompt: string;
2255
- }
2256
- interface SpriteGenJobEvent {
2257
- jobId: string;
2258
- status: 'completed' | 'failed';
2259
- type: 'generate' | 'animate';
2260
- params: SpriteGenParams | AnimateSpriteParams;
2261
- result?: SpriteGenResult | AnimateSpriteResult;
2262
- error?: string;
2263
- }
2264
- interface SpriteGenApi {
2265
- generate(params: SpriteGenParams): Promise<SpriteGenResult>;
2266
- animate(params: AnimateSpriteParams): Promise<AnimateSpriteResult>;
2267
- getCompletedJobs(): Promise<SpriteGenJobEvent[]>;
2268
- }
2269
-
2270
2205
  interface Entitlement {
2271
2206
  docId: string;
2272
2207
  userId: string;
@@ -2678,121 +2613,10 @@ interface AdminImageGenApi {
2678
2613
  listReports(params?: AdminImageGenListReportsParams): Promise<AdminImageGenListReportsResponse>;
2679
2614
  resolveReport(reportId: string, action: AdminImageGenResolveAction): Promise<void>;
2680
2615
  }
2681
- interface SpriteGenEntry {
2682
- id: string;
2683
- appId: string;
2684
- profileId: string;
2685
- type: 'generate' | 'animate';
2686
- prompt: string;
2687
- model?: string;
2688
- pixel?: boolean;
2689
- width?: number;
2690
- height?: number;
2691
- outputFrames?: number;
2692
- outputFormat?: string;
2693
- frameWidth?: number;
2694
- frameHeight?: number;
2695
- imageUrl: string;
2696
- creditsUsed?: number;
2697
- createdAt: number;
2698
- status: 'active' | 'removed';
2699
- }
2700
- interface AdminSpriteGenBrowseParams {
2701
- profileId?: string;
2702
- status?: 'active' | 'removed';
2703
- cursor?: string;
2704
- limit?: number;
2705
- sortOrder?: 'asc' | 'desc';
2706
- }
2707
- interface AdminSpriteGenBrowseResponse {
2708
- entries: SpriteGenEntry[];
2709
- nextCursor?: string;
2710
- }
2711
- interface SpriteGenReport {
2712
- id: string;
2713
- generationId: string;
2714
- appId: string;
2715
- reporterId: string;
2716
- reason: 'inappropriate' | 'spam' | 'harassment' | 'other';
2717
- details?: string;
2718
- createdAt: number;
2719
- status: 'pending' | 'reviewed' | 'dismissed';
2720
- }
2721
- interface AdminSpriteGenListReportsParams {
2722
- status?: 'pending' | 'reviewed' | 'dismissed';
2723
- cursor?: string;
2724
- limit?: number;
2725
- }
2726
- interface AdminSpriteGenListReportsResponse {
2727
- reports: SpriteGenReport[];
2728
- nextCursor?: string;
2729
- }
2730
- type AdminSpriteGenResolveAction = 'reviewed' | 'dismissed';
2731
- interface AdminSpriteGenApi {
2732
- browse(params?: AdminSpriteGenBrowseParams): Promise<AdminSpriteGenBrowseResponse>;
2733
- removeEntry(generationId: string): Promise<void>;
2734
- listReports(params?: AdminSpriteGenListReportsParams): Promise<AdminSpriteGenListReportsResponse>;
2735
- resolveReport(reportId: string, action: AdminSpriteGenResolveAction): Promise<void>;
2736
- }
2737
- interface VideoGenEntry {
2738
- id: string;
2739
- appId: string;
2740
- profileId: string;
2741
- provider: string;
2742
- mode: string;
2743
- prompt: string;
2744
- videoUrl: string;
2745
- posterUrl?: string;
2746
- durationSeconds: number;
2747
- width: number;
2748
- height: number;
2749
- generationCostUsd?: number;
2750
- createdAt: number;
2751
- status: 'active' | 'removed';
2752
- }
2753
- interface AdminVideoGenBrowseParams {
2754
- profileId?: string;
2755
- status?: 'active' | 'removed';
2756
- cursor?: string;
2757
- limit?: number;
2758
- sortOrder?: 'asc' | 'desc';
2759
- }
2760
- interface AdminVideoGenBrowseResponse {
2761
- entries: VideoGenEntry[];
2762
- nextCursor?: string;
2763
- }
2764
- interface VideoGenReport {
2765
- id: string;
2766
- generationId: string;
2767
- appId: string;
2768
- reporterId: string;
2769
- reason: 'inappropriate' | 'spam' | 'harassment' | 'other';
2770
- details?: string;
2771
- createdAt: number;
2772
- status: 'pending' | 'reviewed' | 'dismissed';
2773
- }
2774
- interface AdminVideoGenListReportsParams {
2775
- status?: 'pending' | 'reviewed' | 'dismissed';
2776
- cursor?: string;
2777
- limit?: number;
2778
- }
2779
- interface AdminVideoGenListReportsResponse {
2780
- reports: VideoGenReport[];
2781
- nextCursor?: string;
2782
- }
2783
- type AdminVideoGenResolveAction = 'reviewed' | 'dismissed';
2784
- interface AdminVideoGenApi {
2785
- browse(params?: AdminVideoGenBrowseParams): Promise<AdminVideoGenBrowseResponse>;
2786
- removeEntry(generationId: string): Promise<void>;
2787
- listReports(params?: AdminVideoGenListReportsParams): Promise<AdminVideoGenListReportsResponse>;
2788
- resolveReport(reportId: string, action: AdminVideoGenResolveAction): Promise<void>;
2789
- }
2790
2616
  interface AppApi {
2791
2617
  getMyRole(): Promise<AppRole>;
2792
2618
  readonly adminUgc: AdminUgcApi;
2793
2619
  readonly adminImageGen: AdminImageGenApi;
2794
- readonly adminSpriteGen: AdminSpriteGenApi;
2795
- readonly adminVideoGen: AdminVideoGenApi;
2796
2620
  }
2797
2621
 
2798
2622
  interface CampaignParams {
@@ -2893,7 +2717,6 @@ interface Host {
2893
2717
  readonly audioGen: AudioGenApi;
2894
2718
  readonly videoGen: VideoGenApi;
2895
2719
  readonly files: FilesApi;
2896
- readonly spriteGen: SpriteGenApi;
2897
2720
  readonly entitlements: EntitlementApi;
2898
2721
  readonly shop: ShopApi;
2899
2722
  readonly accessGate: AccessGateApi;
@@ -3386,7 +3209,6 @@ interface RundotGameAPI {
3386
3209
  audioGen: AudioGenApi;
3387
3210
  videoGen: VideoGenApi;
3388
3211
  files: FilesApi;
3389
- spriteGen: SpriteGenApi;
3390
3212
  entitlements: EntitlementApi;
3391
3213
  shop: ShopApi;
3392
3214
  accessGate: AccessGateApi;
@@ -3411,4 +3233,4 @@ interface AdsApi {
3411
3233
  showInterstitialAd(options?: ShowInterstitialAdOptions): Promise<boolean>;
3412
3234
  }
3413
3235
 
3414
- export { type FetchFromCdnOptions as $, type AnalyticsApi as A, type BatchRecipeRequirementsResult as B, type NotificationsApi as C, type ScheduleLocalNotification as D, type ScheduleNotificationOptions as E, type RCSAvailabilityStatus as F, type ScheduleRCSInput as G, type Host as H, type ScheduleRCSResult as I, type PopupsApi as J, type ShowToastOptions as K, type ShowInterstitialAdOptions as L, type ShowRewardedAdOptions as M, type NavigationApi as N, type ProfileApi as O, type Profile as P, type QuitOptions as Q, type RundotGameAPI as R, type SimulationActiveRunsUpdate as S, type DeviceApi as T, type DeviceInfo as U, type EnvironmentApi as V, type EnvironmentInfo as W, type SystemApi as X, type SafeArea as Y, type AddToHomeScreenResult as Z, type CdnApi as _, type RecipeRequirementQuery as a, type SubscriptionTier as a$, type AssetUrlResult as a0, type TimeApi as a1, type ServerTimeData as a2, type GetFutureTimeOptions as a3, type AiApi as a4, type AiChatCompletionRequest as a5, type AiChatCompletionData as a6, type HapticsApi as a7, HapticFeedbackStyle as a8, type FeaturesApi as a9, type ExecuteScopedRecipeResult as aA, type GetAvailableRecipesOptions as aB, type GetAvailableRecipesResult as aC, type Recipe as aD, type GetBatchRecipeRequirements as aE, type TriggerRecipeChainOptions as aF, type RoomDataUpdate as aG, type RoomMessageEvent as aH, type ProposedMoveEvent as aI, RundotGameTransport as aJ, type RoomsApi as aK, type CreateRoomOptions as aL, type JoinOrCreateRoomOptions as aM, type JoinOrCreateResult as aN, type ListRoomsOptions as aO, type UpdateRoomDataOptions as aP, type RoomMessageRequest as aQ, type StartRoomGameOptions as aR, type ProposeMoveRequest as aS, type ProposeMoveResult as aT, type ValidateMoveVerdict as aU, type ValidateMoveResult as aV, type RoomSubscriptionOptions as aW, type LoggingApi as aX, type IapApi as aY, type SpendCurrencyOptions as aZ, type SpendCurrencyResult as a_, type Experiment as aa, type LifecycleApi as ab, type SleepCallback as ac, type Subscription as ad, type AwakeCallback as ae, type PauseCallback as af, type ResumeCallback as ag, type QuitCallback as ah, type BackButtonCallback as ai, type SimulationApi as aj, type SimulationSlotValidationResult as ak, type SimulationBatchOperation as al, type SimulationBatchOperationsResult as am, type SimulationAvailableItem as an, type SimulationPowerPreview as ao, type SimulationSlotMutationResult as ap, type SimulationSlotContainer as aq, type SimulationAssignment as ar, type SimulationState as as, type ExecuteRecipeOptions as at, type ExecuteRecipeResponse as au, type CollectRecipeResult as av, type ResetStateOptions as aw, type ResetStateResult as ax, type GetActiveRunsOptions as ay, type ExecuteScopedRecipeOptions as az, type RecipeRequirementResult as b, type ShowEditorOptions as b$, type RunSubscriptionsResponse as b0, type SubscriptionInterval as b1, type PurchaseSubscriptionResponse as b2, type OpenStoreResult as b3, type LoadEmbeddedAssetsResponse as b4, type SharedAssetsApi as b5, type LeaderboardApi as b6, type ScoreToken as b7, type SubmitScoreParams as b8, type SubmitScoreResult as b9, type SpriteGenApi as bA, type UgcApi as bB, type VideoApi as bC, type AppApi as bD, type AdminUgcApi as bE, type AdminImageGenApi as bF, type AdminSpriteGenApi as bG, type AdminVideoGenApi as bH, type AppRole as bI, type AdminUgcBrowseParams as bJ, type AdminUgcBrowseResponse as bK, type AdminUgcListReportsParams as bL, type AdminUgcListReportsResponse as bM, type AdminUgcResolveAction as bN, type AdminImageGenBrowseParams as bO, type AdminImageGenBrowseResponse as bP, type AdminImageGenListReportsParams as bQ, type AdminImageGenListReportsResponse as bR, type AdminImageGenResolveAction as bS, type AdminSpriteGenBrowseParams as bT, type AdminSpriteGenBrowseResponse as bU, type AdminSpriteGenListReportsParams as bV, type AdminSpriteGenListReportsResponse as bW, type AdminSpriteGenResolveAction as bX, type Avatar3dApi as bY, type AssetManifest as bZ, type Avatar3dConfig as b_, type GetPagedScoresOptions as ba, type PagedScoresResponse as bb, type PlayerRankOptions as bc, type PlayerRankResult as bd, type GetPodiumScoresOptions as be, type PodiumScoresResponse as bf, type PreloaderApi as bg, type SocialApi as bh, type ShareMetadata as bi, type ShareLinkResult as bj, type SocialQRCodeOptions as bk, type QRCodeResult as bl, type ShareClickData as bm, type EntitlementApi as bn, type Entitlement as bo, type LedgerEntry as bp, type ShopApi as bq, type StorefrontResponse as br, type StorefrontItem as bs, type ShopPurchaseResponse as bt, type ShopOrderHistoryResponse as bu, type PromptLoginResult as bv, type AccessTier as bw, type AccessGateApi as bx, type ImageGenApi as by, type AudioGenApi as bz, type RundotGameAvailableRecipe as c, type RoomsEnvelopeResponse as c$, type Avatar3dEdits as c0, type AdsApi as c1, type ImageGenParams as c2, type ImageGenResult as c3, type ImageGenJobEvent as c4, type SharedStorageHostApi as c5, type VideoGenApi as c6, type FilesApi as c7, type MultiplayerApi as c8, type AttributionApi as c9, type JoinOrCreateRoomEnvelopeResponse as cA, type JoinRoomMatchCriteria as cB, type LeaderboardAntiCheatConfig as cC, type LeaderboardConfig as cD, type LeaderboardDisplaySettings as cE, type LeaderboardEntry as cF, type LeaderboardModeConfig as cG, type LeaderboardPeriodConfig as cH, type LeaderboardPeriodType as cI, type LoadEmbeddedAssetsRequest as cJ, MockAvatarApi as cK, type NotificationTriggerInput as cL, type OnNotificationCallback as cM, type OnRequestCallback as cN, type OnResponseCallback as cO, type PodiumScoresContext as cP, type ProposedMovePayload as cQ, type Protocol as cR, type PurchaseSubscriptionRequest as cS, type RCSAvailabilityReason as cT, ROOM_GAME_PHASES as cU, type RecipeInfo as cV, type RoomEnvelopeResponse as cW, type RoomEvents as cX, type RoomGamePhase as cY, type RoomMessageEventType as cZ, type RoomMessagePayload as c_, type InitializationContext as ca, type InitializationOptions as cb, AccessDeniedError as cc, type AdminUgcEntry as cd, type AdminVideoGenBrowseParams as ce, type AdminVideoGenBrowseResponse as cf, type AdminVideoGenListReportsParams as cg, type AdminVideoGenListReportsResponse as ch, type AdminVideoGenResolveAction as ci, type AiContentBlock as cj, type AiImageContent as ck, type AiImageUrlContent as cl, type AiMessage as cm, type AiTextContent as cn, type Asset as co, type Category as cp, type ConnectionState as cq, type GetSubscriptionsForTierRequest as cr, type HudInsets as cs, type ImageGenEntry as ct, type ImageGenModel as cu, type ImageGenReport as cv, type InboundForKeyEntry as cw, type InboundMethodIds as cx, type InboundStorageApi as cy, type IsPlayerSubscribedRequest as cz, type RundotGameCollectRecipeResult as d, RpcInboundStorageApi as d0, RpcSharedAssetsApi as d1, type RpcTransport as d2, type RunSubscription as d3, type RundotGameRoomCustomMetadata as d4, type RundotGameRoomPayload as d5, type RundotGameRoomRules as d6, type RundotGameRoomRulesGameState as d7, type ScheduleRCSStatus as d8, type ServerPlayer as d9, type ServerRoom as da, type ShopOrder as db, type SimulationBatchOperationAssign as dc, type SimulationBatchOperationRemove as dd, type SimulationBatchOperationResult as de, type SimulationPersonalState as df, type SimulationRoomActiveRecipe as dg, type SimulationRoomState as dh, type SpriteGenEntry as di, type SpriteGenReport as dj, type StorefrontCollection as dk, type StorefrontCollectionItem as dl, type SubPath as dm, type TimeIntervalTriggerInput as dn, type UgcReport as dp, type VideoGenEntry as dq, type VideoGenReport as dr, createHost as ds, resolveCollectionItemPrice as dt, type RundotGameExecuteRecipeOptions as e, type RundotGameExecuteRecipeResult as f, type RundotGameExecuteScopedRecipeOptions as g, RundotGameRoom as h, type RundotGameSimulationConfig as i, type RundotGameSimulationEffect as j, type RundotGameSimulationRecipe as k, type RundotGameSimulationStateResponse as l, type SimulationEntityUpdate as m, type SimulationRunSummary as n, type SimulationSnapshotUpdate as o, type SimulationSubscribeOptions as p, type SimulationUpdateData as q, type SimulationUpdateType as r, type RpcRequest as s, type RpcResponse as t, type RpcNotification as u, RpcClient as v, type StorageApi as w, type NavigationStackInfo as x, type PushAppOptions as y, type NavigateToGameOptions as z };
3236
+ export { type FetchFromCdnOptions as $, type AnalyticsApi as A, type BatchRecipeRequirementsResult as B, type NotificationsApi as C, type ScheduleLocalNotification as D, type ScheduleNotificationOptions as E, type RCSAvailabilityStatus as F, type ScheduleRCSInput as G, type Host as H, type ScheduleRCSResult as I, type PopupsApi as J, type ShowToastOptions as K, type ShowInterstitialAdOptions as L, type ShowRewardedAdOptions as M, type NavigationApi as N, type ProfileApi as O, type Profile as P, type QuitOptions as Q, type RundotGameAPI as R, type SimulationActiveRunsUpdate as S, type DeviceApi as T, type DeviceInfo as U, type EnvironmentApi as V, type EnvironmentInfo as W, type SystemApi as X, type SafeArea as Y, type AddToHomeScreenResult as Z, type CdnApi as _, type RecipeRequirementQuery as a, type SubscriptionTier as a$, type AssetUrlResult as a0, type TimeApi as a1, type ServerTimeData as a2, type GetFutureTimeOptions as a3, type AiApi as a4, type AiChatCompletionRequest as a5, type AiChatCompletionData as a6, type HapticsApi as a7, HapticFeedbackStyle as a8, type FeaturesApi as a9, type ExecuteScopedRecipeResult as aA, type GetAvailableRecipesOptions as aB, type GetAvailableRecipesResult as aC, type Recipe as aD, type GetBatchRecipeRequirements as aE, type TriggerRecipeChainOptions as aF, type RoomDataUpdate as aG, type RoomMessageEvent as aH, type ProposedMoveEvent as aI, RundotGameTransport as aJ, type RoomsApi as aK, type CreateRoomOptions as aL, type JoinOrCreateRoomOptions as aM, type JoinOrCreateResult as aN, type ListRoomsOptions as aO, type UpdateRoomDataOptions as aP, type RoomMessageRequest as aQ, type StartRoomGameOptions as aR, type ProposeMoveRequest as aS, type ProposeMoveResult as aT, type ValidateMoveVerdict as aU, type ValidateMoveResult as aV, type RoomSubscriptionOptions as aW, type LoggingApi as aX, type IapApi as aY, type SpendCurrencyOptions as aZ, type SpendCurrencyResult as a_, type Experiment as aa, type LifecycleApi as ab, type SleepCallback as ac, type Subscription as ad, type AwakeCallback as ae, type PauseCallback as af, type ResumeCallback as ag, type QuitCallback as ah, type BackButtonCallback as ai, type SimulationApi as aj, type SimulationSlotValidationResult as ak, type SimulationBatchOperation as al, type SimulationBatchOperationsResult as am, type SimulationAvailableItem as an, type SimulationPowerPreview as ao, type SimulationSlotMutationResult as ap, type SimulationSlotContainer as aq, type SimulationAssignment as ar, type SimulationState as as, type ExecuteRecipeOptions as at, type ExecuteRecipeResponse as au, type CollectRecipeResult as av, type ResetStateOptions as aw, type ResetStateResult as ax, type GetActiveRunsOptions as ay, type ExecuteScopedRecipeOptions as az, type RecipeRequirementResult as b, type FilesApi as b$, type RunSubscriptionsResponse as b0, type SubscriptionInterval as b1, type PurchaseSubscriptionResponse as b2, type OpenStoreResult as b3, type LoadEmbeddedAssetsResponse as b4, type SharedAssetsApi as b5, type LeaderboardApi as b6, type ScoreToken as b7, type SubmitScoreParams as b8, type SubmitScoreResult as b9, type UgcApi as bA, type VideoApi as bB, type AppApi as bC, type AdminUgcApi as bD, type AdminImageGenApi as bE, type AppRole as bF, type AdminUgcBrowseParams as bG, type AdminUgcBrowseResponse as bH, type AdminUgcListReportsParams as bI, type AdminUgcListReportsResponse as bJ, type AdminUgcResolveAction as bK, type AdminImageGenBrowseParams as bL, type AdminImageGenBrowseResponse as bM, type AdminImageGenListReportsParams as bN, type AdminImageGenListReportsResponse as bO, type AdminImageGenResolveAction as bP, type Avatar3dApi as bQ, type AssetManifest as bR, type Avatar3dConfig as bS, type ShowEditorOptions as bT, type Avatar3dEdits as bU, type AdsApi as bV, type ImageGenParams as bW, type ImageGenResult as bX, type ImageGenJobEvent as bY, type SharedStorageHostApi as bZ, type VideoGenApi as b_, type GetPagedScoresOptions as ba, type PagedScoresResponse as bb, type PlayerRankOptions as bc, type PlayerRankResult as bd, type GetPodiumScoresOptions as be, type PodiumScoresResponse as bf, type PreloaderApi as bg, type SocialApi as bh, type ShareMetadata as bi, type ShareLinkResult as bj, type SocialQRCodeOptions as bk, type QRCodeResult as bl, type ShareClickData as bm, type EntitlementApi as bn, type Entitlement as bo, type LedgerEntry as bp, type ShopApi as bq, type StorefrontResponse as br, type StorefrontItem as bs, type ShopPurchaseResponse as bt, type ShopOrderHistoryResponse as bu, type PromptLoginResult as bv, type AccessTier as bw, type AccessGateApi as bx, type ImageGenApi as by, type AudioGenApi as bz, type RundotGameAvailableRecipe as c, type SimulationBatchOperationAssign as c$, type MultiplayerApi as c0, type AttributionApi as c1, type InitializationContext as c2, type InitializationOptions as c3, AccessDeniedError as c4, type AdminUgcEntry as c5, type AiContentBlock as c6, type AiImageContent as c7, type AiImageUrlContent as c8, type AiMessage as c9, type OnRequestCallback as cA, type OnResponseCallback as cB, type PodiumScoresContext as cC, type ProposedMovePayload as cD, type Protocol as cE, type PurchaseSubscriptionRequest as cF, type RCSAvailabilityReason as cG, ROOM_GAME_PHASES as cH, type RecipeInfo as cI, type RoomEnvelopeResponse as cJ, type RoomEvents as cK, type RoomGamePhase as cL, type RoomMessageEventType as cM, type RoomMessagePayload as cN, type RoomsEnvelopeResponse as cO, RpcInboundStorageApi as cP, RpcSharedAssetsApi as cQ, type RpcTransport as cR, type RunSubscription as cS, type RundotGameRoomCustomMetadata as cT, type RundotGameRoomPayload as cU, type RundotGameRoomRules as cV, type RundotGameRoomRulesGameState as cW, type ScheduleRCSStatus as cX, type ServerPlayer as cY, type ServerRoom as cZ, type ShopOrder as c_, type AiTextContent as ca, type Asset as cb, type Category as cc, type ConnectionState as cd, type GetSubscriptionsForTierRequest as ce, type HudInsets as cf, type ImageGenEntry as cg, type ImageGenModel as ch, type ImageGenReport as ci, type InboundForKeyEntry as cj, type InboundMethodIds as ck, type InboundStorageApi as cl, type IsPlayerSubscribedRequest as cm, type JoinOrCreateRoomEnvelopeResponse as cn, type JoinRoomMatchCriteria as co, type LeaderboardAntiCheatConfig as cp, type LeaderboardConfig as cq, type LeaderboardDisplaySettings as cr, type LeaderboardEntry as cs, type LeaderboardModeConfig as ct, type LeaderboardPeriodConfig as cu, type LeaderboardPeriodType as cv, type LoadEmbeddedAssetsRequest as cw, MockAvatarApi as cx, type NotificationTriggerInput as cy, type OnNotificationCallback as cz, type RundotGameCollectRecipeResult as d, type SimulationBatchOperationRemove as d0, type SimulationBatchOperationResult as d1, type SimulationPersonalState as d2, type SimulationRoomActiveRecipe as d3, type SimulationRoomState as d4, type StorefrontCollection as d5, type StorefrontCollectionItem as d6, type SubPath as d7, type TimeIntervalTriggerInput as d8, type UgcReport as d9, createHost as da, resolveCollectionItemPrice as db, type RundotGameExecuteRecipeOptions as e, type RundotGameExecuteRecipeResult as f, type RundotGameExecuteScopedRecipeOptions as g, RundotGameRoom as h, type RundotGameSimulationConfig as i, type RundotGameSimulationEffect as j, type RundotGameSimulationRecipe as k, type RundotGameSimulationStateResponse as l, type SimulationEntityUpdate as m, type SimulationRunSummary as n, type SimulationSnapshotUpdate as o, type SimulationSubscribeOptions as p, type SimulationUpdateData as q, type SimulationUpdateType as r, type RpcRequest as s, type RpcResponse as t, type RpcNotification as u, RpcClient as v, type StorageApi as w, type NavigationStackInfo as x, type PushAppOptions as y, type NavigateToGameOptions as z };
@@ -196,8 +196,6 @@ var RundotGameMessageId = /* @__PURE__ */ ((RundotGameMessageId2) => {
196
196
  RundotGameMessageId2["H5_FILES_GET_QUOTA"] = "H5_FILES_GET_QUOTA";
197
197
  RundotGameMessageId2["H5_FILES_SET_VISIBILITY"] = "H5_FILES_SET_VISIBILITY";
198
198
  RundotGameMessageId2["H5_FILES_TRANSFORM"] = "H5_FILES_TRANSFORM";
199
- RundotGameMessageId2["H5_SPRITE_GEN_GENERATE"] = "H5_SPRITE_GEN_GENERATE";
200
- RundotGameMessageId2["H5_SPRITE_GEN_ANIMATE"] = "H5_SPRITE_GEN_ANIMATE";
201
199
  RundotGameMessageId2["H5_PROMPT_LOGIN"] = "H5_PROMPT_LOGIN";
202
200
  RundotGameMessageId2["H5_ENTITLEMENT_LIST"] = "H5_ENTITLEMENT_LIST";
203
201
  RundotGameMessageId2["H5_ENTITLEMENT_CONSUME"] = "H5_ENTITLEMENT_CONSUME";
@@ -222,14 +220,6 @@ var RundotGameMessageId = /* @__PURE__ */ ((RundotGameMessageId2) => {
222
220
  RundotGameMessageId2["H5_APP_ADMIN_IMAGEGEN_REMOVE_ENTRY"] = "H5_APP_ADMIN_IMAGEGEN_REMOVE_ENTRY";
223
221
  RundotGameMessageId2["H5_APP_ADMIN_IMAGEGEN_LIST_REPORTS"] = "H5_APP_ADMIN_IMAGEGEN_LIST_REPORTS";
224
222
  RundotGameMessageId2["H5_APP_ADMIN_IMAGEGEN_RESOLVE_REPORT"] = "H5_APP_ADMIN_IMAGEGEN_RESOLVE_REPORT";
225
- RundotGameMessageId2["H5_APP_ADMIN_SPRITEGEN_BROWSE"] = "H5_APP_ADMIN_SPRITEGEN_BROWSE";
226
- RundotGameMessageId2["H5_APP_ADMIN_SPRITEGEN_REMOVE_ENTRY"] = "H5_APP_ADMIN_SPRITEGEN_REMOVE_ENTRY";
227
- RundotGameMessageId2["H5_APP_ADMIN_SPRITEGEN_LIST_REPORTS"] = "H5_APP_ADMIN_SPRITEGEN_LIST_REPORTS";
228
- RundotGameMessageId2["H5_APP_ADMIN_SPRITEGEN_RESOLVE_REPORT"] = "H5_APP_ADMIN_SPRITEGEN_RESOLVE_REPORT";
229
- RundotGameMessageId2["H5_APP_ADMIN_VIDEOGEN_BROWSE"] = "H5_APP_ADMIN_VIDEOGEN_BROWSE";
230
- RundotGameMessageId2["H5_APP_ADMIN_VIDEOGEN_REMOVE_ENTRY"] = "H5_APP_ADMIN_VIDEOGEN_REMOVE_ENTRY";
231
- RundotGameMessageId2["H5_APP_ADMIN_VIDEOGEN_LIST_REPORTS"] = "H5_APP_ADMIN_VIDEOGEN_LIST_REPORTS";
232
- RundotGameMessageId2["H5_APP_ADMIN_VIDEOGEN_RESOLVE_REPORT"] = "H5_APP_ADMIN_VIDEOGEN_RESOLVE_REPORT";
233
223
  RundotGameMessageId2["H5_REQUEST_JOIN_TICKET"] = "H5_REQUEST_JOIN_TICKET";
234
224
  RundotGameMessageId2["H5_VIDEO_REQUEST_PIP"] = "H5_VIDEO_REQUEST_PIP";
235
225
  RundotGameMessageId2["H5_VIDEO_WEB_READY"] = "H5_VIDEO_WEB_READY";
@@ -4313,12 +4303,6 @@ function applyAccessGates(host) {
4313
4303
  "authenticated_18plus",
4314
4304
  gateConfig
4315
4305
  );
4316
- host.spriteGen = createAccessGatedApi(
4317
- host.spriteGen,
4318
- ["generate", "animate"],
4319
- "authenticated_18plus",
4320
- gateConfig
4321
- );
4322
4306
  host.ugc = createAccessGatedApi(
4323
4307
  host.ugc,
4324
4308
  ["create", "update", "delete", "like", "unlike", "recordUse", "report"],
@@ -4528,32 +4512,6 @@ var MockAdminImageGenApi = class {
4528
4512
  }
4529
4513
  };
4530
4514
 
4531
- // src/app/MockAdminSpriteGenApi.ts
4532
- var MockAdminSpriteGenApi = class {
4533
- async browse(_params) {
4534
- console.warn(
4535
- "[RUN:mock] adminSpriteGen.browse() returning empty results"
4536
- );
4537
- return { entries: [] };
4538
- }
4539
- async removeEntry(_generationId) {
4540
- console.warn(
4541
- "[RUN:mock] adminSpriteGen.removeEntry() is a no-op in mock mode"
4542
- );
4543
- }
4544
- async listReports(_params) {
4545
- console.warn(
4546
- "[RUN:mock] adminSpriteGen.listReports() returning empty results"
4547
- );
4548
- return { reports: [] };
4549
- }
4550
- async resolveReport(_reportId, _action) {
4551
- console.warn(
4552
- "[RUN:mock] adminSpriteGen.resolveReport() is a no-op in mock mode"
4553
- );
4554
- }
4555
- };
4556
-
4557
4515
  // src/config/sandbox.ts
4558
4516
  function getSandboxConfig() {
4559
4517
  if (typeof globalThis === "undefined") {
@@ -5271,93 +5229,15 @@ var HttpAdminImageGenApi = class {
5271
5229
  }
5272
5230
  };
5273
5231
 
5274
- // src/app/HttpAdminSpriteGenApi.ts
5275
- var HttpAdminSpriteGenApi = class {
5276
- appId;
5277
- constructor(appId) {
5278
- this.appId = appId;
5279
- }
5280
- async browse(params) {
5281
- const response = await authedFetch(
5282
- `/v1/spritegen/${this.appId}/admin/browse`,
5283
- { method: "POST", body: JSON.stringify(params ?? {}) }
5284
- );
5285
- return await response.json();
5286
- }
5287
- async removeEntry(generationId) {
5288
- await authedFetch(
5289
- `/v1/spritegen/${this.appId}/admin/generations/${generationId}/remove`,
5290
- { method: "POST" }
5291
- );
5292
- }
5293
- async listReports(params) {
5294
- const queryParams = new URLSearchParams();
5295
- if (params?.status) queryParams.set("status", params.status);
5296
- if (params?.cursor) queryParams.set("cursor", params.cursor);
5297
- if (params?.limit) queryParams.set("limit", String(params.limit));
5298
- const qs = queryParams.toString();
5299
- const path = `/v1/spritegen/${this.appId}/admin/reports${qs ? `?${qs}` : ""}`;
5300
- const response = await authedFetch(path, { method: "GET" });
5301
- return await response.json();
5302
- }
5303
- async resolveReport(reportId, action) {
5304
- await authedFetch(
5305
- `/v1/spritegen/${this.appId}/admin/reports/${reportId}/resolve`,
5306
- { method: "POST", body: JSON.stringify({ action }) }
5307
- );
5308
- }
5309
- };
5310
-
5311
- // src/app/HttpAdminVideoGenApi.ts
5312
- var HttpAdminVideoGenApi = class {
5313
- appId;
5314
- constructor(appId) {
5315
- this.appId = appId;
5316
- }
5317
- async browse(params) {
5318
- const response = await authedFetch(
5319
- `/v1/videogen/${this.appId}/admin/browse`,
5320
- { method: "POST", body: JSON.stringify(params ?? {}) }
5321
- );
5322
- return await response.json();
5323
- }
5324
- async removeEntry(generationId) {
5325
- await authedFetch(
5326
- `/v1/videogen/${this.appId}/admin/generations/${generationId}/remove`,
5327
- { method: "POST" }
5328
- );
5329
- }
5330
- async listReports(params) {
5331
- const queryParams = new URLSearchParams();
5332
- if (params?.status) queryParams.set("status", params.status);
5333
- if (params?.cursor) queryParams.set("cursor", params.cursor);
5334
- if (params?.limit) queryParams.set("limit", String(params.limit));
5335
- const qs = queryParams.toString();
5336
- const path = `/v1/videogen/${this.appId}/admin/reports${qs ? `?${qs}` : ""}`;
5337
- const response = await authedFetch(path, { method: "GET" });
5338
- return await response.json();
5339
- }
5340
- async resolveReport(reportId, action) {
5341
- await authedFetch(
5342
- `/v1/videogen/${this.appId}/admin/reports/${reportId}/resolve`,
5343
- { method: "POST", body: JSON.stringify({ action }) }
5344
- );
5345
- }
5346
- };
5347
-
5348
5232
  // src/app/HttpAppApi.ts
5349
5233
  var HttpAppApi = class {
5350
5234
  appId;
5351
5235
  adminUgc;
5352
5236
  adminImageGen;
5353
- adminSpriteGen;
5354
- adminVideoGen;
5355
5237
  constructor(appId) {
5356
5238
  this.appId = appId;
5357
5239
  this.adminUgc = new HttpAdminUgcApi(appId);
5358
5240
  this.adminImageGen = new HttpAdminImageGenApi(appId);
5359
- this.adminSpriteGen = new HttpAdminSpriteGenApi(appId);
5360
- this.adminVideoGen = new HttpAdminVideoGenApi(appId);
5361
5241
  }
5362
5242
  async getMyRole() {
5363
5243
  const response = await authedFetch(
@@ -5369,32 +5249,6 @@ var HttpAppApi = class {
5369
5249
  }
5370
5250
  };
5371
5251
 
5372
- // src/app/MockAdminVideoGenApi.ts
5373
- var MockAdminVideoGenApi = class {
5374
- async browse(_params) {
5375
- console.warn(
5376
- "[RUN:mock] adminVideoGen.browse() returning empty results"
5377
- );
5378
- return { entries: [] };
5379
- }
5380
- async removeEntry(_generationId) {
5381
- console.warn(
5382
- "[RUN:mock] adminVideoGen.removeEntry() is a no-op in mock mode"
5383
- );
5384
- }
5385
- async listReports(_params) {
5386
- console.warn(
5387
- "[RUN:mock] adminVideoGen.listReports() returning empty results"
5388
- );
5389
- return { reports: [] };
5390
- }
5391
- async resolveReport(_reportId, _action) {
5392
- console.warn(
5393
- "[RUN:mock] adminVideoGen.resolveReport() is a no-op in mock mode"
5394
- );
5395
- }
5396
- };
5397
-
5398
5252
  // src/app/SandboxAppApi.ts
5399
5253
  var LOCAL_STORAGE_KEY = "rundot-game-sandbox-app-role";
5400
5254
  var ROLE_RANK = { owner: 2, editor: 1, none: 0 };
@@ -5420,8 +5274,6 @@ function setStoredAppRole(role) {
5420
5274
  var SandboxAppApi = class {
5421
5275
  adminUgc;
5422
5276
  adminImageGen;
5423
- adminSpriteGen;
5424
- adminVideoGen;
5425
5277
  configRole;
5426
5278
  httpApp;
5427
5279
  constructor(appId, configRole, useHttp = true) {
@@ -5430,14 +5282,10 @@ var SandboxAppApi = class {
5430
5282
  this.httpApp = new HttpAppApi(appId);
5431
5283
  this.adminUgc = this.httpApp.adminUgc;
5432
5284
  this.adminImageGen = this.httpApp.adminImageGen;
5433
- this.adminSpriteGen = this.httpApp.adminSpriteGen;
5434
- this.adminVideoGen = this.httpApp.adminVideoGen;
5435
5285
  } else {
5436
5286
  this.httpApp = null;
5437
5287
  this.adminUgc = new MockAdminUgcApi();
5438
5288
  this.adminImageGen = new MockAdminImageGenApi();
5439
- this.adminSpriteGen = new MockAdminSpriteGenApi();
5440
- this.adminVideoGen = new MockAdminVideoGenApi();
5441
5289
  }
5442
5290
  }
5443
5291
  async getMyRole() {
@@ -6105,6 +5953,6 @@ var MockMultiplayerApi = class {
6105
5953
  }
6106
5954
  };
6107
5955
 
6108
- export { AccessDeniedError, BaseCdnApi, DEFAULT_SHARED_LIB_CDN_BASE, DualEmitStorageApi, EMBEDDED_LIBRARIES, EMBEDDED_LIBRARY_BY_KEY, FILE_EXTENSION_PATTERN, HapticFeedbackStyle, HostCdnApi, HostDeviceApi, HostEnvironmentApi, HostProfileApi, HostSystemApi, HostTimeApi, MIN_CDN_PATH_SEGMENTS, MODULE_TO_LIBRARY_SPECIFIERS, MockAccessGateApi, MockAdminImageGenApi, MockAdminSpriteGenApi, MockAdminUgcApi, MockAdminVideoGenApi, MockAdsApi, MockAnalyticsApi, MockAttributionApi, MockAvatarApi, MockCdnApi, MockDebug, MockDeviceApi, MockEntitlementApi, MockEnvironmentApi, MockFeaturesApi, MockHapticsApi, MockIapApi, MockLifecycleApi, MockLoggingApi, MockMultiplayerApi, MockNavigationApi, MockNotificationsApi, MockPopupsApi, MockPreloaderApi, MockProfileApi, MockSharedAssetsApi, MockShopApi, MockStorageApi, MockSystemApi, MockTimeApi, MockVideoApi, ROOM_GAME_PHASES, RateLimitedError, RpcAccessGateApi, RpcAdsApi, RpcAnalyticsApi, RpcAttributionApi, RpcAvatarApi, RpcEntitlementApi, RpcFeaturesApi, RpcHapticsApi, RpcIapApi, RpcInboundStorageApi, RpcLifecycleApi, RpcLoggingApi, RpcNavigationApi, RpcNotificationsApi, RpcPopupsApi, RpcPreloaderApi, RpcRoomsApi, RpcSharedAssetsApi, RpcShopApi, RpcStorageApi, RpcVideoApi, RundotApiError, RundotGameMessageId, RundotGameRoom, SandboxAppApi, SandboxProfileApi, WsMultiplayerApi, applyAccessGates, base64ToArrayBuffer, base64ToUtf8, buildFunctionsBaseUrl, createAccessGatedApi, createMockStorageApi, exchangeForCustomToken, generateId, getCloudRunUrl, getFirebaseClient, getLibraryDefinition, getSandboxConfig, hasHostedUrlStructure, initializeAccessGate, initializeAds, initializeAnalytics, initializeAttribution, initializeAvatar3d, initializeCdn, initializeEntitlements, initializeFeaturesApi, initializeHaptics, initializeIap, initializeLifecycleApi, initializeLocalNotifications, initializeLoggingApi, initializePopups, initializePreloader, initializeProfile, initializeRoomsApi, initializeShop, initializeStackNavigation, initializeStorage, initializeSystem, initializeTime, initializeVideo, isPacificDaylightTime, isSandboxEnabled, mockLog, observeFirestoreCollection, observeFirestoreDocument, parseCdnPathSegments, resolveCollectionItemPrice, setStoredAppRole, setupRoomNotifications, signInWithGoogle };
6109
- //# sourceMappingURL=chunk-TYQ7ISU3.js.map
6110
- //# sourceMappingURL=chunk-TYQ7ISU3.js.map
5956
+ export { AccessDeniedError, BaseCdnApi, DEFAULT_SHARED_LIB_CDN_BASE, DualEmitStorageApi, EMBEDDED_LIBRARIES, EMBEDDED_LIBRARY_BY_KEY, FILE_EXTENSION_PATTERN, HapticFeedbackStyle, HostCdnApi, HostDeviceApi, HostEnvironmentApi, HostProfileApi, HostSystemApi, HostTimeApi, MIN_CDN_PATH_SEGMENTS, MODULE_TO_LIBRARY_SPECIFIERS, MockAccessGateApi, MockAdminImageGenApi, MockAdminUgcApi, MockAdsApi, MockAnalyticsApi, MockAttributionApi, MockAvatarApi, MockCdnApi, MockDebug, MockDeviceApi, MockEntitlementApi, MockEnvironmentApi, MockFeaturesApi, MockHapticsApi, MockIapApi, MockLifecycleApi, MockLoggingApi, MockMultiplayerApi, MockNavigationApi, MockNotificationsApi, MockPopupsApi, MockPreloaderApi, MockProfileApi, MockSharedAssetsApi, MockShopApi, MockStorageApi, MockSystemApi, MockTimeApi, MockVideoApi, ROOM_GAME_PHASES, RateLimitedError, RpcAccessGateApi, RpcAdsApi, RpcAnalyticsApi, RpcAttributionApi, RpcAvatarApi, RpcEntitlementApi, RpcFeaturesApi, RpcHapticsApi, RpcIapApi, RpcInboundStorageApi, RpcLifecycleApi, RpcLoggingApi, RpcNavigationApi, RpcNotificationsApi, RpcPopupsApi, RpcPreloaderApi, RpcRoomsApi, RpcSharedAssetsApi, RpcShopApi, RpcStorageApi, RpcVideoApi, RundotApiError, RundotGameMessageId, RundotGameRoom, SandboxAppApi, SandboxProfileApi, WsMultiplayerApi, applyAccessGates, base64ToArrayBuffer, base64ToUtf8, buildFunctionsBaseUrl, createAccessGatedApi, createMockStorageApi, exchangeForCustomToken, generateId, getCloudRunUrl, getFirebaseClient, getLibraryDefinition, getSandboxConfig, hasHostedUrlStructure, initializeAccessGate, initializeAds, initializeAnalytics, initializeAttribution, initializeAvatar3d, initializeCdn, initializeEntitlements, initializeFeaturesApi, initializeHaptics, initializeIap, initializeLifecycleApi, initializeLocalNotifications, initializeLoggingApi, initializePopups, initializePreloader, initializeProfile, initializeRoomsApi, initializeShop, initializeStackNavigation, initializeStorage, initializeSystem, initializeTime, initializeVideo, isPacificDaylightTime, isSandboxEnabled, mockLog, observeFirestoreCollection, observeFirestoreDocument, parseCdnPathSegments, resolveCollectionItemPrice, setStoredAppRole, setupRoomNotifications, signInWithGoogle };
5957
+ //# sourceMappingURL=chunk-B5FONOVZ.js.map
5958
+ //# sourceMappingURL=chunk-B5FONOVZ.js.map