@playdrop/playdrop-cli 0.15.11 → 0.15.15

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.
@@ -24,6 +24,10 @@
24
24
  "./game-arena": {
25
25
  "types": "./dist/src/game-arena.d.ts",
26
26
  "default": "./dist/src/game-arena.js"
27
+ },
28
+ "./creator-plans": {
29
+ "types": "./dist/src/creator-plans.d.ts",
30
+ "default": "./dist/src/creator-plans.js"
27
31
  }
28
32
  },
29
33
  "scripts": {
@@ -9,8 +9,8 @@ import type { InstrumentEvidenceManifest } from './instrument-evidence.js';
9
9
  import type { SupportedLocale } from './locale.js';
10
10
  import type { TweakValues } from './tweaks.js';
11
11
  import type { AppAuthMode, AppControllerMode, AppHostingMode, AppListingMediaItem, AppVersionResponse, AppVersionSummary, AppVersionVisibility, ReviewState } from './version.js';
12
- export { DEFAULT_LOCALE, SUPPORTED_LOCALES, isSupportedLocale, } from './locale.js';
13
- export type { SupportedLocale } from './locale.js';
12
+ export { DEFAULT_LOCALE, PRIMARY_LOCALE, SECONDARY_LOCALES, SUPPORTED_LOCALES, TERTIARY_LOCALES, isSupportedLocale, localePriority, } from './locale.js';
13
+ export type { LocalePriority, SupportedLocale } from './locale.js';
14
14
  export declare const ACQUISITION_ATTRIBUTION_TYPES: readonly ["install", "reengagement", "web_visit"];
15
15
  export type AcquisitionAttributionType = typeof ACQUISITION_ATTRIBUTION_TYPES[number];
16
16
  export declare const ACQUISITION_PLATFORMS: readonly ["ios", "android", "web"];
@@ -170,7 +170,9 @@ export interface SetProfileAssetRequest {
170
170
  export interface SetProfileAssetResponse {
171
171
  selectedProfileAssetRef: string;
172
172
  }
173
- export declare const CREATOR_FUNNEL_EVENT_NAMES: readonly ["creator_landed", "sign_up", "creator_signup_provider_selected", "creator_agent_selected", "creator_install_prompt_copied", "creator_install_prompt_sent", "creator_cli_connected", "creator_create_unlocked", "creator_create_option_selected", "creator_agent_prompt_copied", "creator_agent_deep_link_retried", "new_game_prompt_sent", "creator_game_registered", "creator_game_uploaded"];
173
+ export declare const CREATOR_ADVERTISING_EVENT_NAMES: readonly ["creator_game_playtested", "creator_subscription_started", "creator_referral_succeeded", "creator_game_shared"];
174
+ export type CreatorAdvertisingEventName = typeof CREATOR_ADVERTISING_EVENT_NAMES[number];
175
+ export declare const CREATOR_FUNNEL_EVENT_NAMES: readonly ["creator_landed", "sign_up", "creator_signup_provider_selected", "creator_agent_selected", "creator_install_prompt_copied", "creator_install_prompt_sent", "creator_cli_connected", "creator_create_unlocked", "creator_create_option_selected", "creator_agent_prompt_copied", "creator_agent_deep_link_retried", "new_game_prompt_sent", "creator_game_registered", "creator_game_uploaded", "creator_game_playtested", "creator_subscription_started", "creator_referral_succeeded", "creator_game_shared"];
174
176
  export type CreatorFunnelEventName = typeof CREATOR_FUNNEL_EVENT_NAMES[number];
175
177
  export declare const CREATOR_FUNNEL_SOURCE_SURFACES: readonly ["home", "dream_team", "create", "getting_started", "signup", "cli", "api"];
176
178
  export type CreatorFunnelSourceSurface = typeof CREATOR_FUNNEL_SOURCE_SURFACES[number];
@@ -1242,6 +1244,12 @@ export interface CreatorWeeklyGenerationState {
1242
1244
  limit: number;
1243
1245
  resetsAt: string;
1244
1246
  }
1247
+ export interface CreatorReferralBonusState {
1248
+ successfulReferrals: number;
1249
+ rewardedReferrals: number;
1250
+ gameSlots: number;
1251
+ storageBytes: number;
1252
+ }
1245
1253
  export interface CreatorPlanState {
1246
1254
  effectiveTier: CreatorPlanTier;
1247
1255
  paidSubscription: CreatorPaidSubscriptionSummary | null;
@@ -1249,6 +1257,7 @@ export interface CreatorPlanState {
1249
1257
  weeklyGenerations: CreatorWeeklyGenerationState;
1250
1258
  games: CreatorUsageState;
1251
1259
  storage: CreatorStorageUsageState;
1260
+ referralBonus: CreatorReferralBonusState;
1252
1261
  creditUsageEnabled: boolean;
1253
1262
  }
1254
1263
  export interface AgentTaskTargetAvailability {
@@ -1841,7 +1850,7 @@ export interface AdminPaidAcquisitionAnalyticsRequest {
1841
1850
  refreshProviders?: boolean;
1842
1851
  }
1843
1852
  export type PaidAcquisitionSource = 'PLAYDROP' | 'GOOGLE_ADS' | 'APPLOVIN' | 'SINGULAR';
1844
- export type PaidAcquisitionSourceStatus = 'ready' | 'unconfigured' | 'error';
1853
+ export type PaidAcquisitionSourceStatus = 'ready' | 'syncing' | 'unconfigured' | 'error';
1845
1854
  export interface PaidAcquisitionSourceHealth {
1846
1855
  source: PaidAcquisitionSource;
1847
1856
  status: PaidAcquisitionSourceStatus;
@@ -1995,6 +2004,16 @@ export interface CreatorQuotaResponse {
1995
2004
  usage: CreatorQuotaUsageResponse;
1996
2005
  }
1997
2006
  export type AdminUserDetail = MeUser;
2007
+ export interface AdminUserSummary {
2008
+ id: number;
2009
+ username: string;
2010
+ displayName: string;
2011
+ role: 'GUEST' | 'CREATOR' | 'ADMIN';
2012
+ selectedProfileAssetRef: string | null;
2013
+ creditBalance: number;
2014
+ createdAt: string;
2015
+ updatedAt: string;
2016
+ }
1998
2017
  export interface UpdateProfileRequest {
1999
2018
  displayName?: string;
2000
2019
  bio?: string | null;
@@ -3081,6 +3100,11 @@ export interface MyInviteCodeResponse {
3081
3100
  shareLimit: number;
3082
3101
  canEnterInviteCode: boolean;
3083
3102
  inviteEntryDeadline: string | null;
3103
+ referralReward: {
3104
+ credits: number;
3105
+ gameSlots: number;
3106
+ storageBytes: number;
3107
+ };
3084
3108
  invitedBy: InviteUserSummary | null;
3085
3109
  invitedUsers: InviteUserSummary[];
3086
3110
  }
@@ -3452,7 +3476,12 @@ export interface DeleteAppResponse {
3452
3476
  success: boolean;
3453
3477
  }
3454
3478
  export interface UsersListResponse {
3455
- users: AdminUserDetail[];
3479
+ users: AdminUserSummary[];
3480
+ pagination: PaginationMeta;
3481
+ }
3482
+ export interface FetchAdminUsersOptions {
3483
+ limit?: number;
3484
+ offset?: number;
3456
3485
  }
3457
3486
  export interface CreateUserResponse {
3458
3487
  user: AdminUserDetail;