@playdrop/playdrop-cli 0.15.29 → 0.15.30
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/config/client-meta.json +4 -4
- package/dist/commands/chat.d.ts +27 -0
- package/dist/commands/chat.js +224 -0
- package/dist/commands/upgrade.js +1 -1
- package/dist/commands/worker/provider-telemetry.d.ts +4 -0
- package/dist/commands/worker/provider-telemetry.js +30 -3
- package/dist/commands/worker.d.ts +0 -8
- package/dist/commands/worker.js +0 -80
- package/dist/index.js +43 -0
- package/node_modules/@playdrop/api-client/dist/client.d.ts +25 -1
- package/node_modules/@playdrop/api-client/dist/client.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/client.js +14 -0
- package/node_modules/@playdrop/api-client/dist/domains/chat.d.ts +60 -0
- package/node_modules/@playdrop/api-client/dist/domains/chat.d.ts.map +1 -0
- package/node_modules/@playdrop/api-client/dist/domains/chat.js +208 -0
- package/node_modules/@playdrop/api-client/dist/domains/free-credits.d.ts +2 -1
- package/node_modules/@playdrop/api-client/dist/domains/free-credits.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/domains/free-credits.js +11 -0
- package/node_modules/@playdrop/api-client/dist/domains/payments.d.ts +1 -0
- package/node_modules/@playdrop/api-client/dist/domains/payments.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/domains/payments.js +10 -0
- package/node_modules/@playdrop/api-client/dist/domains/playtrade.d.ts +26 -0
- package/node_modules/@playdrop/api-client/dist/domains/playtrade.d.ts.map +1 -0
- package/node_modules/@playdrop/api-client/dist/domains/playtrade.js +91 -0
- package/node_modules/@playdrop/api-client/dist/index.d.ts +9 -1
- package/node_modules/@playdrop/api-client/dist/index.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/index.js +35 -0
- package/node_modules/@playdrop/config/client-meta.json +4 -4
- package/node_modules/@playdrop/types/dist/api.d.ts +41 -5
- package/node_modules/@playdrop/types/dist/api.d.ts.map +1 -1
- package/node_modules/@playdrop/types/dist/api.js +33 -0
- package/node_modules/@playdrop/types/dist/app-review.d.ts +1 -1
- package/node_modules/@playdrop/types/dist/app-review.d.ts.map +1 -1
- package/node_modules/@playdrop/types/dist/app-review.js +1 -0
- package/node_modules/@playdrop/types/dist/attachment-policy.d.ts +8 -0
- package/node_modules/@playdrop/types/dist/attachment-policy.d.ts.map +1 -0
- package/node_modules/@playdrop/types/dist/attachment-policy.js +58 -0
- package/node_modules/@playdrop/types/dist/chat.d.ts +104 -0
- package/node_modules/@playdrop/types/dist/chat.d.ts.map +1 -0
- package/node_modules/@playdrop/types/dist/chat.js +40 -0
- package/node_modules/@playdrop/types/dist/index.d.ts +3 -0
- package/node_modules/@playdrop/types/dist/index.d.ts.map +1 -1
- package/node_modules/@playdrop/types/dist/index.js +7 -1
- package/node_modules/@playdrop/types/dist/playtrade.d.ts +72 -0
- package/node_modules/@playdrop/types/dist/playtrade.d.ts.map +1 -0
- package/node_modules/@playdrop/types/dist/playtrade.js +27 -0
- package/node_modules/@playdrop/types/dist/version.d.ts +6 -0
- package/node_modules/@playdrop/types/dist/version.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -163,6 +163,7 @@ export interface CreateUserRequest {
|
|
|
163
163
|
username: string;
|
|
164
164
|
password: string;
|
|
165
165
|
role: 'CREATOR' | 'ADMIN';
|
|
166
|
+
kind?: 'HUMAN' | 'BOT' | 'AGENT';
|
|
166
167
|
}
|
|
167
168
|
export interface SetProfileAssetRequest {
|
|
168
169
|
assetRef: string;
|
|
@@ -277,6 +278,8 @@ export interface AgentWorkerWeeklyUsage {
|
|
|
277
278
|
usedPercent: number;
|
|
278
279
|
remainingPercent: number;
|
|
279
280
|
resetsAt: string | null;
|
|
281
|
+
targetRemainingPercent?: number;
|
|
282
|
+
surplusPercent?: number;
|
|
280
283
|
}
|
|
281
284
|
export type AgentWorkerWeeklyUsageStatus = 'AVAILABLE' | 'NOT_APPLICABLE' | 'UNAVAILABLE';
|
|
282
285
|
export interface AgentWorkerCapabilities {
|
|
@@ -1272,6 +1275,7 @@ export interface CreatorPlanState {
|
|
|
1272
1275
|
storage: CreatorStorageUsageState;
|
|
1273
1276
|
referralBonus: CreatorReferralBonusState;
|
|
1274
1277
|
creditUsageEnabled: boolean;
|
|
1278
|
+
autoPublishEnabled: boolean;
|
|
1275
1279
|
}
|
|
1276
1280
|
export interface AgentTaskTargetAvailability {
|
|
1277
1281
|
target: AgentExecutionTarget;
|
|
@@ -2017,12 +2021,15 @@ export interface CreatorQuotaResponse {
|
|
|
2017
2021
|
limits: CreatorQuotaLimitsResponse;
|
|
2018
2022
|
usage: CreatorQuotaUsageResponse;
|
|
2019
2023
|
}
|
|
2020
|
-
export type AdminUserDetail = MeUser
|
|
2024
|
+
export type AdminUserDetail = MeUser & {
|
|
2025
|
+
kind: 'HUMAN' | 'BOT' | 'AGENT';
|
|
2026
|
+
};
|
|
2021
2027
|
export interface AdminUserSummary {
|
|
2022
2028
|
id: number;
|
|
2023
2029
|
username: string;
|
|
2024
2030
|
displayName: string;
|
|
2025
|
-
role: 'GUEST' | 'CREATOR' | 'ADMIN';
|
|
2031
|
+
role: 'GUEST' | 'CREATOR' | 'TEST_PLAYER' | 'ADMIN';
|
|
2032
|
+
kind: 'HUMAN' | 'BOT' | 'AGENT';
|
|
2026
2033
|
selectedProfileAssetRef: string | null;
|
|
2027
2034
|
creditBalance: number;
|
|
2028
2035
|
createdAt: string;
|
|
@@ -2446,7 +2453,8 @@ export interface DevPlayerSummary {
|
|
|
2446
2453
|
slot: number;
|
|
2447
2454
|
username: string;
|
|
2448
2455
|
displayName: string;
|
|
2449
|
-
|
|
2456
|
+
role: 'TEST_PLAYER';
|
|
2457
|
+
kind: 'HUMAN';
|
|
2450
2458
|
ownerUserId: number;
|
|
2451
2459
|
ownerUsername: string;
|
|
2452
2460
|
}
|
|
@@ -2612,7 +2620,7 @@ export declare const FEEDBACK_CLIENT_VALUES: readonly ["cli", "web", "games-ios"
|
|
|
2612
2620
|
export type FeedbackClient = typeof FEEDBACK_CLIENT_VALUES[number];
|
|
2613
2621
|
export declare const MANUAL_FEEDBACK_CATEGORY_VALUES: readonly ["bug", "feature", "question", "content", "account", "other"];
|
|
2614
2622
|
export type ManualFeedbackCategory = typeof MANUAL_FEEDBACK_CATEGORY_VALUES[number];
|
|
2615
|
-
export declare const FEEDBACK_CATEGORY_VALUES: readonly ["bug", "feature", "question", "content", "account", "other", "creator-task", "worker-task", "daily-drop-idea"];
|
|
2623
|
+
export declare const FEEDBACK_CATEGORY_VALUES: readonly ["bug", "feature", "question", "content", "account", "other", "creator-task", "creator-survey", "worker-task", "daily-drop-idea"];
|
|
2616
2624
|
export type FeedbackCategory = typeof FEEDBACK_CATEGORY_VALUES[number];
|
|
2617
2625
|
export declare const FEEDBACK_STATUS_VALUES: readonly ["sent", "ignored", "planned", "done"];
|
|
2618
2626
|
export type FeedbackStatus = typeof FEEDBACK_STATUS_VALUES[number];
|
|
@@ -3076,7 +3084,7 @@ export interface DeleteContentCommentResponse {
|
|
|
3076
3084
|
export interface CreatorFollowMutationResponse {
|
|
3077
3085
|
following: boolean;
|
|
3078
3086
|
}
|
|
3079
|
-
export declare const FREE_CREDIT_OBJECTIVE_VALUES: readonly ["WELCOME", "PLAY_GAME", "PLAY_ON_MOBILE", "FOLLOW_CREATOR", "INVITED", "SHARE_CODE", "ENABLE_PUSH", "CREATE_SONG", "CREATE_IMAGE", "CREATE_3D", "CLI_LOGIN", "CREATE_GAME", "CREATE_GAME_UPDATE", "CREATE_GAME_REMIX", "PUBLISH_GAME", "SHARE_GAME", "BOOST_GAME"];
|
|
3087
|
+
export declare const FREE_CREDIT_OBJECTIVE_VALUES: readonly ["WELCOME", "PLAY_GAME", "PLAY_ON_MOBILE", "FOLLOW_CREATOR", "INVITED", "SHARE_CODE", "ENABLE_PUSH", "CREATE_SONG", "CREATE_IMAGE", "CREATE_3D", "CLI_LOGIN", "CREATE_GAME", "CREATE_GAME_UPDATE", "CREATE_GAME_REMIX", "PUBLISH_GAME", "CREATOR_SURVEY", "SHARE_GAME", "BOOST_GAME"];
|
|
3080
3088
|
export type FreeCreditObjectiveKey = typeof FREE_CREDIT_OBJECTIVE_VALUES[number];
|
|
3081
3089
|
export declare const FREE_CREDIT_REWARD_STATUS_VALUES: readonly ["INCOMPLETE", "CLAIMABLE", "CLAIMED"];
|
|
3082
3090
|
export type FreeCreditRewardStatus = typeof FREE_CREDIT_REWARD_STATUS_VALUES[number];
|
|
@@ -3132,6 +3140,33 @@ export interface ClaimFreeCreditRewardResponse {
|
|
|
3132
3140
|
objectiveSummary: FreeCreditObjectiveSummary;
|
|
3133
3141
|
counterpartUser: InviteUserSummary | null;
|
|
3134
3142
|
}
|
|
3143
|
+
export declare const CREATOR_SURVEY_GAME_RESULT_VALUES: readonly ["JUST_LIKE_IMAGINED", "PRETTY_CLOSE", "PRETTY_DIFFERENT"];
|
|
3144
|
+
export type CreatorSurveyGameResult = typeof CREATOR_SURVEY_GAME_RESULT_VALUES[number];
|
|
3145
|
+
export declare const CREATOR_SURVEY_BEST_PART_VALUES: readonly ["IDEA_TO_GAME", "PLAY_RIGHT_AWAY", "CHAT_WITH_AI", "SHARE_WITH_PEOPLE", "OTHER"];
|
|
3146
|
+
export type CreatorSurveyBestPart = typeof CREATOR_SURVEY_BEST_PART_VALUES[number];
|
|
3147
|
+
export declare const CREATOR_SURVEY_TRICKIEST_PART_VALUES: readonly ["AI_UNDERSTANDING", "FIXING_PROBLEMS", "PUBLISHING_AND_SHARING", "NOTHING", "OTHER"];
|
|
3148
|
+
export type CreatorSurveyTrickiestPart = typeof CREATOR_SURVEY_TRICKIEST_PART_VALUES[number];
|
|
3149
|
+
export declare const CREATOR_SURVEY_TELL_FRIENDS_VALUES: readonly ["YES_FOR_SURE", "NOT_YET"];
|
|
3150
|
+
export type CreatorSurveyTellFriends = typeof CREATOR_SURVEY_TELL_FRIENDS_VALUES[number];
|
|
3151
|
+
export interface SubmitCreatorSurveyRequest {
|
|
3152
|
+
gameResult: CreatorSurveyGameResult;
|
|
3153
|
+
bestPart: CreatorSurveyBestPart;
|
|
3154
|
+
bestPartOther?: string | null;
|
|
3155
|
+
trickiestPart: CreatorSurveyTrickiestPart;
|
|
3156
|
+
trickiestPartOther?: string | null;
|
|
3157
|
+
improvement?: string | null;
|
|
3158
|
+
tellFriends: CreatorSurveyTellFriends;
|
|
3159
|
+
}
|
|
3160
|
+
export interface SubmitCreatorSurveyResponse {
|
|
3161
|
+
feedbackId: number;
|
|
3162
|
+
rewardId: number;
|
|
3163
|
+
objective: Extract<FreeCreditObjectiveKey, 'CREATOR_SURVEY'>;
|
|
3164
|
+
rewardCredits: number;
|
|
3165
|
+
transactionId: number;
|
|
3166
|
+
creditBalance: number;
|
|
3167
|
+
unclaimedCount: number;
|
|
3168
|
+
objectiveSummary: FreeCreditObjectiveSummary;
|
|
3169
|
+
}
|
|
3135
3170
|
export type NotificationMetadata = Record<string, unknown>;
|
|
3136
3171
|
export interface UserNotificationResponse {
|
|
3137
3172
|
id: number;
|
|
@@ -3502,6 +3537,7 @@ export interface CreateUserResponse {
|
|
|
3502
3537
|
}
|
|
3503
3538
|
export interface UpdateAdminUserRequest {
|
|
3504
3539
|
role?: 'CREATOR' | 'ADMIN';
|
|
3540
|
+
kind?: 'HUMAN' | 'BOT' | 'AGENT';
|
|
3505
3541
|
displayName?: string;
|
|
3506
3542
|
creditDelta?: number;
|
|
3507
3543
|
bio?: string | null;
|