@playdrop/playdrop-cli 0.15.29 → 0.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.
- 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 +26 -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/admin.d.ts +2 -1
- package/node_modules/@playdrop/api-client/dist/domains/admin.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/domains/admin.js +21 -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 +78 -6
- package/node_modules/@playdrop/types/dist/api.d.ts.map +1 -1
- package/node_modules/@playdrop/types/dist/api.js +37 -1
- 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 +105 -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
|
@@ -28,6 +28,7 @@ __export(dist_exports, {
|
|
|
28
28
|
FEEDBACK_STATUS_VALUES: () => import_types2.FEEDBACK_STATUS_VALUES,
|
|
29
29
|
MANUAL_FEEDBACK_CATEGORY_VALUES: () => import_types2.MANUAL_FEEDBACK_CATEGORY_VALUES,
|
|
30
30
|
UnsupportedClientError: () => import_types3.UnsupportedClientError,
|
|
31
|
+
abandonPlayTradeSession: () => abandonPlayTradeSession,
|
|
31
32
|
abortAppUpload: () => abortAppUpload,
|
|
32
33
|
activateAppBoost: () => activateAppBoost,
|
|
33
34
|
adminGetAgentTask: () => adminGetAgentTask,
|
|
@@ -48,6 +49,7 @@ __export(dist_exports, {
|
|
|
48
49
|
clearPlaytestNotes: () => clearPlaytestNotes,
|
|
49
50
|
completeAppleSignup: () => completeAppleSignup,
|
|
50
51
|
completeGoogleSignup: () => completeGoogleSignup,
|
|
52
|
+
completePlayTradeSession: () => completePlayTradeSession,
|
|
51
53
|
completeXSignup: () => completeXSignup,
|
|
52
54
|
configureWebClientRuntime: () => configureWebClientRuntime,
|
|
53
55
|
consumeAppIapReceipt: () => consumeAppIapReceipt,
|
|
@@ -65,6 +67,7 @@ __export(dist_exports, {
|
|
|
65
67
|
createCreditPackCheckoutSession: () => createCreditPackCheckoutSession,
|
|
66
68
|
createNativeOAuthLinkStart: () => createNativeOAuthLinkStart,
|
|
67
69
|
createNewGameAgentTask: () => createNewGameAgentTask,
|
|
70
|
+
createPlayTradeSession: () => createPlayTradeSession,
|
|
68
71
|
createRemixGameAgentTask: () => createRemixGameAgentTask,
|
|
69
72
|
createStaticGameAgentTask: () => createStaticGameAgentTask,
|
|
70
73
|
deleteAccount: () => deleteAccount,
|
|
@@ -190,6 +193,7 @@ __export(dist_exports, {
|
|
|
190
193
|
getCreatorGameStatus: () => getCreatorGameStatus,
|
|
191
194
|
getLatestAppTweaks: () => getLatestAppTweaks,
|
|
192
195
|
getLeaderboard: () => getLeaderboard,
|
|
196
|
+
getPlayTradeSession: () => getPlayTradeSession,
|
|
193
197
|
getRuntimeState: () => getRuntimeState,
|
|
194
198
|
grantAppIapReceipt: () => grantAppIapReceipt,
|
|
195
199
|
heartbeatGameplaySession: () => heartbeatGameplaySession,
|
|
@@ -242,6 +246,7 @@ __export(dist_exports, {
|
|
|
242
246
|
reconcileCreatorPlanSubscription: () => reconcileCreatorPlanSubscription,
|
|
243
247
|
recordAppUploadLaunchCheck: () => recordAppUploadLaunchCheck,
|
|
244
248
|
recordCreatorGameShare: () => recordCreatorGameShare,
|
|
249
|
+
recordPlayTradeActivity: () => recordPlayTradeActivity,
|
|
245
250
|
register: () => register,
|
|
246
251
|
registerAgentBundle: () => registerAgentBundle,
|
|
247
252
|
removeAppListingDraftMedia: () => removeAppListingDraftMedia,
|
|
@@ -275,6 +280,7 @@ __export(dist_exports, {
|
|
|
275
280
|
startCliLogin: () => startCliLogin,
|
|
276
281
|
startCliWebLaunch: () => startCliWebLaunch,
|
|
277
282
|
startGameplaySession: () => startGameplaySession,
|
|
283
|
+
submitCreatorSurvey: () => submitCreatorSurvey,
|
|
278
284
|
submitFeedback: () => submitFeedback,
|
|
279
285
|
submitLeaderboardScore: () => submitLeaderboardScore,
|
|
280
286
|
submitMyInviteCode: () => submitMyInviteCode,
|
|
@@ -303,6 +309,7 @@ __export(dist_exports, {
|
|
|
303
309
|
updateAssetPackVersion: () => updateAssetPackVersion,
|
|
304
310
|
updateAssetVersion: () => updateAssetVersion,
|
|
305
311
|
updateCreatorGameFeedbackStatus: () => updateCreatorGameFeedbackStatus,
|
|
312
|
+
updateCreatorPlanAutoPublish: () => updateCreatorPlanAutoPublish,
|
|
306
313
|
updateCreatorPlanCreditUsage: () => updateCreatorPlanCreditUsage,
|
|
307
314
|
updateEmailPreferences: () => updateEmailPreferences,
|
|
308
315
|
updatePreferredLocale: () => updatePreferredLocale,
|
|
@@ -404,6 +411,21 @@ function getDefaultClient() {
|
|
|
404
411
|
}
|
|
405
412
|
return defaultClient;
|
|
406
413
|
}
|
|
414
|
+
async function createPlayTradeSession(request) {
|
|
415
|
+
return await getDefaultClient().createPlayTradeSession(request);
|
|
416
|
+
}
|
|
417
|
+
async function getPlayTradeSession(sessionId) {
|
|
418
|
+
return await getDefaultClient().getPlayTradeSession(sessionId);
|
|
419
|
+
}
|
|
420
|
+
async function recordPlayTradeActivity(sessionId, request) {
|
|
421
|
+
return await getDefaultClient().recordPlayTradeActivity(sessionId, request);
|
|
422
|
+
}
|
|
423
|
+
async function completePlayTradeSession(sessionId, request) {
|
|
424
|
+
return await getDefaultClient().completePlayTradeSession(sessionId, request);
|
|
425
|
+
}
|
|
426
|
+
async function abandonPlayTradeSession(sessionId) {
|
|
427
|
+
return await getDefaultClient().abandonPlayTradeSession(sessionId);
|
|
428
|
+
}
|
|
407
429
|
async function apiFetch(path, init = {}) {
|
|
408
430
|
const state = getRuntimeState();
|
|
409
431
|
if (!state.platform || !state.client) {
|
|
@@ -554,6 +576,9 @@ async function fetchFreeCredits() {
|
|
|
554
576
|
async function claimFreeCreditReward(rewardId) {
|
|
555
577
|
return await getDefaultClient().claimFreeCreditReward(rewardId);
|
|
556
578
|
}
|
|
579
|
+
async function submitCreatorSurvey(request) {
|
|
580
|
+
return await getDefaultClient().submitCreatorSurvey(request);
|
|
581
|
+
}
|
|
557
582
|
async function fetchInvitePreview(inviteCode) {
|
|
558
583
|
return await getDefaultClient().fetchInvitePreview(inviteCode);
|
|
559
584
|
}
|
|
@@ -1048,6 +1073,9 @@ async function reconcileCreatorPlanSubscription() {
|
|
|
1048
1073
|
async function updateCreatorPlanCreditUsage(enabled) {
|
|
1049
1074
|
return await getDefaultClient().updateCreatorPlanCreditUsage(enabled);
|
|
1050
1075
|
}
|
|
1076
|
+
async function updateCreatorPlanAutoPublish(enabled) {
|
|
1077
|
+
return await getDefaultClient().updateCreatorPlanAutoPublish(enabled);
|
|
1078
|
+
}
|
|
1051
1079
|
async function fulfillAppleCreditPackPurchase(request) {
|
|
1052
1080
|
return await getDefaultClient().fulfillAppleCreditPackPurchase(request);
|
|
1053
1081
|
}
|
|
@@ -1391,6 +1419,7 @@ function getClientVersionLabel() {
|
|
|
1391
1419
|
FEEDBACK_STATUS_VALUES,
|
|
1392
1420
|
MANUAL_FEEDBACK_CATEGORY_VALUES,
|
|
1393
1421
|
UnsupportedClientError,
|
|
1422
|
+
abandonPlayTradeSession,
|
|
1394
1423
|
abortAppUpload,
|
|
1395
1424
|
activateAppBoost,
|
|
1396
1425
|
adminGetAgentTask,
|
|
@@ -1411,6 +1440,7 @@ function getClientVersionLabel() {
|
|
|
1411
1440
|
clearPlaytestNotes,
|
|
1412
1441
|
completeAppleSignup,
|
|
1413
1442
|
completeGoogleSignup,
|
|
1443
|
+
completePlayTradeSession,
|
|
1414
1444
|
completeXSignup,
|
|
1415
1445
|
configureWebClientRuntime,
|
|
1416
1446
|
consumeAppIapReceipt,
|
|
@@ -1428,6 +1458,7 @@ function getClientVersionLabel() {
|
|
|
1428
1458
|
createCreditPackCheckoutSession,
|
|
1429
1459
|
createNativeOAuthLinkStart,
|
|
1430
1460
|
createNewGameAgentTask,
|
|
1461
|
+
createPlayTradeSession,
|
|
1431
1462
|
createRemixGameAgentTask,
|
|
1432
1463
|
createStaticGameAgentTask,
|
|
1433
1464
|
deleteAccount,
|
|
@@ -1553,6 +1584,7 @@ function getClientVersionLabel() {
|
|
|
1553
1584
|
getCreatorGameStatus,
|
|
1554
1585
|
getLatestAppTweaks,
|
|
1555
1586
|
getLeaderboard,
|
|
1587
|
+
getPlayTradeSession,
|
|
1556
1588
|
getRuntimeState,
|
|
1557
1589
|
grantAppIapReceipt,
|
|
1558
1590
|
heartbeatGameplaySession,
|
|
@@ -1605,6 +1637,7 @@ function getClientVersionLabel() {
|
|
|
1605
1637
|
reconcileCreatorPlanSubscription,
|
|
1606
1638
|
recordAppUploadLaunchCheck,
|
|
1607
1639
|
recordCreatorGameShare,
|
|
1640
|
+
recordPlayTradeActivity,
|
|
1608
1641
|
register,
|
|
1609
1642
|
registerAgentBundle,
|
|
1610
1643
|
removeAppListingDraftMedia,
|
|
@@ -1638,6 +1671,7 @@ function getClientVersionLabel() {
|
|
|
1638
1671
|
startCliLogin,
|
|
1639
1672
|
startCliWebLaunch,
|
|
1640
1673
|
startGameplaySession,
|
|
1674
|
+
submitCreatorSurvey,
|
|
1641
1675
|
submitFeedback,
|
|
1642
1676
|
submitLeaderboardScore,
|
|
1643
1677
|
submitMyInviteCode,
|
|
@@ -1666,6 +1700,7 @@ function getClientVersionLabel() {
|
|
|
1666
1700
|
updateAssetPackVersion,
|
|
1667
1701
|
updateAssetVersion,
|
|
1668
1702
|
updateCreatorGameFeedbackStatus,
|
|
1703
|
+
updateCreatorPlanAutoPublish,
|
|
1669
1704
|
updateCreatorPlanCreditUsage,
|
|
1670
1705
|
updateEmailPreferences,
|
|
1671
1706
|
updatePreferredLocale,
|
|
@@ -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;
|
|
@@ -1762,6 +1766,7 @@ export interface GameplaySessionStartRequest {
|
|
|
1762
1766
|
sessionId: string;
|
|
1763
1767
|
appId: number;
|
|
1764
1768
|
appVersionId: number;
|
|
1769
|
+
launchContext?: AppLaunchContext;
|
|
1765
1770
|
}
|
|
1766
1771
|
export interface GameplaySessionActivityRequest {
|
|
1767
1772
|
sequence: number;
|
|
@@ -1824,6 +1829,41 @@ export interface TractionAnalyticsResponse {
|
|
|
1824
1829
|
buckets: TractionAnalyticsBucket[];
|
|
1825
1830
|
breakdown: TractionAnalyticsBreakdown | null;
|
|
1826
1831
|
}
|
|
1832
|
+
export declare const ADMIN_PLAY_TRADE_VIEW_VALUES: readonly ["creator", "game"];
|
|
1833
|
+
export type AdminPlayTradeView = typeof ADMIN_PLAY_TRADE_VIEW_VALUES[number];
|
|
1834
|
+
export interface AdminPlayTradeRequest {
|
|
1835
|
+
fromDate: string;
|
|
1836
|
+
toDate: string;
|
|
1837
|
+
view: AdminPlayTradeView;
|
|
1838
|
+
}
|
|
1839
|
+
export interface AdminPlayTradeCreatorRow {
|
|
1840
|
+
kind: 'creator';
|
|
1841
|
+
creatorId: number;
|
|
1842
|
+
username: string;
|
|
1843
|
+
displayName: string;
|
|
1844
|
+
given: number;
|
|
1845
|
+
received: number;
|
|
1846
|
+
balance: number;
|
|
1847
|
+
}
|
|
1848
|
+
export interface AdminPlayTradeGameRow {
|
|
1849
|
+
kind: 'game';
|
|
1850
|
+
appId: number;
|
|
1851
|
+
appName: string;
|
|
1852
|
+
displayName: string;
|
|
1853
|
+
creatorId: number;
|
|
1854
|
+
creatorUsername: string;
|
|
1855
|
+
creatorDisplayName: string;
|
|
1856
|
+
given: number;
|
|
1857
|
+
received: number;
|
|
1858
|
+
balance: number;
|
|
1859
|
+
}
|
|
1860
|
+
export type AdminPlayTradeRow = AdminPlayTradeCreatorRow | AdminPlayTradeGameRow;
|
|
1861
|
+
export interface AdminPlayTradeResponse {
|
|
1862
|
+
fromDate: string;
|
|
1863
|
+
toDate: string;
|
|
1864
|
+
view: AdminPlayTradeView;
|
|
1865
|
+
rows: AdminPlayTradeRow[];
|
|
1866
|
+
}
|
|
1827
1867
|
export declare const CREATOR_ACQUISITION_SOURCE_VALUES: readonly ["google_ads", "applovin", "organic", "social", "search", "other", "unattributed"];
|
|
1828
1868
|
export type CreatorAcquisitionSource = typeof CREATOR_ACQUISITION_SOURCE_VALUES[number];
|
|
1829
1869
|
export interface AdminCreatorAcquisitionAnalyticsRequest {
|
|
@@ -2017,12 +2057,15 @@ export interface CreatorQuotaResponse {
|
|
|
2017
2057
|
limits: CreatorQuotaLimitsResponse;
|
|
2018
2058
|
usage: CreatorQuotaUsageResponse;
|
|
2019
2059
|
}
|
|
2020
|
-
export type AdminUserDetail = MeUser
|
|
2060
|
+
export type AdminUserDetail = MeUser & {
|
|
2061
|
+
kind: 'HUMAN' | 'BOT' | 'AGENT';
|
|
2062
|
+
};
|
|
2021
2063
|
export interface AdminUserSummary {
|
|
2022
2064
|
id: number;
|
|
2023
2065
|
username: string;
|
|
2024
2066
|
displayName: string;
|
|
2025
|
-
role: 'GUEST' | 'CREATOR' | 'ADMIN';
|
|
2067
|
+
role: 'GUEST' | 'CREATOR' | 'TEST_PLAYER' | 'ADMIN';
|
|
2068
|
+
kind: 'HUMAN' | 'BOT' | 'AGENT';
|
|
2026
2069
|
selectedProfileAssetRef: string | null;
|
|
2027
2070
|
creditBalance: number;
|
|
2028
2071
|
createdAt: string;
|
|
@@ -2446,7 +2489,8 @@ export interface DevPlayerSummary {
|
|
|
2446
2489
|
slot: number;
|
|
2447
2490
|
username: string;
|
|
2448
2491
|
displayName: string;
|
|
2449
|
-
|
|
2492
|
+
role: 'TEST_PLAYER';
|
|
2493
|
+
kind: 'HUMAN';
|
|
2450
2494
|
ownerUserId: number;
|
|
2451
2495
|
ownerUsername: string;
|
|
2452
2496
|
}
|
|
@@ -2612,7 +2656,7 @@ export declare const FEEDBACK_CLIENT_VALUES: readonly ["cli", "web", "games-ios"
|
|
|
2612
2656
|
export type FeedbackClient = typeof FEEDBACK_CLIENT_VALUES[number];
|
|
2613
2657
|
export declare const MANUAL_FEEDBACK_CATEGORY_VALUES: readonly ["bug", "feature", "question", "content", "account", "other"];
|
|
2614
2658
|
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"];
|
|
2659
|
+
export declare const FEEDBACK_CATEGORY_VALUES: readonly ["bug", "feature", "question", "content", "account", "other", "creator-task", "creator-survey", "worker-task", "daily-drop-idea"];
|
|
2616
2660
|
export type FeedbackCategory = typeof FEEDBACK_CATEGORY_VALUES[number];
|
|
2617
2661
|
export declare const FEEDBACK_STATUS_VALUES: readonly ["sent", "ignored", "planned", "done"];
|
|
2618
2662
|
export type FeedbackStatus = typeof FEEDBACK_STATUS_VALUES[number];
|
|
@@ -2891,7 +2935,7 @@ export declare const ENGAGEMENT_EVENT_TYPE_VALUES: readonly ["VIEW", "LAUNCH", "
|
|
|
2891
2935
|
export type EngagementEventType = typeof ENGAGEMENT_EVENT_TYPE_VALUES[number];
|
|
2892
2936
|
export declare const ENGAGEMENT_TARGET_KIND_VALUES: readonly ["CREATOR", "APP", "ASSET", "PACK"];
|
|
2893
2937
|
export type EngagementTargetKind = typeof ENGAGEMENT_TARGET_KIND_VALUES[number];
|
|
2894
|
-
export declare const APP_LAUNCH_CONTEXT_VALUES: readonly ["CARD", "DETAIL", "OTHER"];
|
|
2938
|
+
export declare const APP_LAUNCH_CONTEXT_VALUES: readonly ["CARD", "DETAIL", "OTHER", "PLAYTRADE", "ARENA"];
|
|
2895
2939
|
export type AppLaunchContext = typeof APP_LAUNCH_CONTEXT_VALUES[number];
|
|
2896
2940
|
export declare const NOTIFICATION_EVENT_TYPE_VALUES: readonly ["NEW_CONTENT", "UPDATED", "CONTENT_COMMENT", "CONTENT_REPLY", "CONTENT_LIKE", "NEW_FOLLOWER", "ASSET_PURCHASED", "PAYMENT_SUCCEEDED", "PAYMENT_REFUNDED", "ADMIN_ACTION", "AI_JOB_SUCCEEDED", "AI_JOB_FAILED", "GAME_PLAY_MILESTONE", "GAME_RECOMMENDED", "REMIX_PUBLISHED"];
|
|
2897
2941
|
export type NotificationEventType = typeof NOTIFICATION_EVENT_TYPE_VALUES[number];
|
|
@@ -3076,7 +3120,7 @@ export interface DeleteContentCommentResponse {
|
|
|
3076
3120
|
export interface CreatorFollowMutationResponse {
|
|
3077
3121
|
following: boolean;
|
|
3078
3122
|
}
|
|
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"];
|
|
3123
|
+
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
3124
|
export type FreeCreditObjectiveKey = typeof FREE_CREDIT_OBJECTIVE_VALUES[number];
|
|
3081
3125
|
export declare const FREE_CREDIT_REWARD_STATUS_VALUES: readonly ["INCOMPLETE", "CLAIMABLE", "CLAIMED"];
|
|
3082
3126
|
export type FreeCreditRewardStatus = typeof FREE_CREDIT_REWARD_STATUS_VALUES[number];
|
|
@@ -3132,6 +3176,33 @@ export interface ClaimFreeCreditRewardResponse {
|
|
|
3132
3176
|
objectiveSummary: FreeCreditObjectiveSummary;
|
|
3133
3177
|
counterpartUser: InviteUserSummary | null;
|
|
3134
3178
|
}
|
|
3179
|
+
export declare const CREATOR_SURVEY_GAME_RESULT_VALUES: readonly ["JUST_LIKE_IMAGINED", "PRETTY_CLOSE", "PRETTY_DIFFERENT"];
|
|
3180
|
+
export type CreatorSurveyGameResult = typeof CREATOR_SURVEY_GAME_RESULT_VALUES[number];
|
|
3181
|
+
export declare const CREATOR_SURVEY_BEST_PART_VALUES: readonly ["IDEA_TO_GAME", "PLAY_RIGHT_AWAY", "CHAT_WITH_AI", "SHARE_WITH_PEOPLE", "OTHER"];
|
|
3182
|
+
export type CreatorSurveyBestPart = typeof CREATOR_SURVEY_BEST_PART_VALUES[number];
|
|
3183
|
+
export declare const CREATOR_SURVEY_TRICKIEST_PART_VALUES: readonly ["AI_UNDERSTANDING", "FIXING_PROBLEMS", "PUBLISHING_AND_SHARING", "NOTHING", "OTHER"];
|
|
3184
|
+
export type CreatorSurveyTrickiestPart = typeof CREATOR_SURVEY_TRICKIEST_PART_VALUES[number];
|
|
3185
|
+
export declare const CREATOR_SURVEY_TELL_FRIENDS_VALUES: readonly ["YES_FOR_SURE", "NOT_YET"];
|
|
3186
|
+
export type CreatorSurveyTellFriends = typeof CREATOR_SURVEY_TELL_FRIENDS_VALUES[number];
|
|
3187
|
+
export interface SubmitCreatorSurveyRequest {
|
|
3188
|
+
gameResult: CreatorSurveyGameResult;
|
|
3189
|
+
bestPart: CreatorSurveyBestPart;
|
|
3190
|
+
bestPartOther?: string | null;
|
|
3191
|
+
trickiestPart: CreatorSurveyTrickiestPart;
|
|
3192
|
+
trickiestPartOther?: string | null;
|
|
3193
|
+
improvement?: string | null;
|
|
3194
|
+
tellFriends: CreatorSurveyTellFriends;
|
|
3195
|
+
}
|
|
3196
|
+
export interface SubmitCreatorSurveyResponse {
|
|
3197
|
+
feedbackId: number;
|
|
3198
|
+
rewardId: number;
|
|
3199
|
+
objective: Extract<FreeCreditObjectiveKey, 'CREATOR_SURVEY'>;
|
|
3200
|
+
rewardCredits: number;
|
|
3201
|
+
transactionId: number;
|
|
3202
|
+
creditBalance: number;
|
|
3203
|
+
unclaimedCount: number;
|
|
3204
|
+
objectiveSummary: FreeCreditObjectiveSummary;
|
|
3205
|
+
}
|
|
3135
3206
|
export type NotificationMetadata = Record<string, unknown>;
|
|
3136
3207
|
export interface UserNotificationResponse {
|
|
3137
3208
|
id: number;
|
|
@@ -3502,6 +3573,7 @@ export interface CreateUserResponse {
|
|
|
3502
3573
|
}
|
|
3503
3574
|
export interface UpdateAdminUserRequest {
|
|
3504
3575
|
role?: 'CREATOR' | 'ADMIN';
|
|
3576
|
+
kind?: 'HUMAN' | 'BOT' | 'AGENT';
|
|
3505
3577
|
displayName?: string;
|
|
3506
3578
|
creditDelta?: number;
|
|
3507
3579
|
bio?: string | null;
|