@playdrop/playdrop-cli 0.16.5 → 0.16.11

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.
Files changed (383) hide show
  1. package/bin/playdrop +1 -2
  2. package/config/client-meta.json +4 -4
  3. package/dist/apiClient.d.ts +2 -2
  4. package/dist/apiClient.js +16 -20
  5. package/dist/appUrls.d.ts +2 -2
  6. package/dist/appUrls.js +31 -33
  7. package/dist/apps/build.d.ts +2 -2
  8. package/dist/apps/build.js +83 -83
  9. package/dist/apps/index.d.ts +7 -7
  10. package/dist/apps/index.js +8 -8
  11. package/dist/apps/loadCheck.d.ts +28 -16
  12. package/dist/apps/loadCheck.js +411 -279
  13. package/dist/apps/registration.d.ts +3 -3
  14. package/dist/apps/registration.js +1 -1
  15. package/dist/apps/staticHtml.d.ts +3 -3
  16. package/dist/apps/staticHtml.js +90 -91
  17. package/dist/apps/surfaceProfiles.d.ts +2 -2
  18. package/dist/apps/surfaceProfiles.js +6 -6
  19. package/dist/apps/upload.d.ts +5 -5
  20. package/dist/apps/upload.js +75 -81
  21. package/dist/apps/validate.d.ts +2 -2
  22. package/dist/apps/validate.js +18 -22
  23. package/dist/assetSpecs.d.ts +2 -2
  24. package/dist/assetSpecs.js +35 -35
  25. package/dist/assets/model-artifacts.d.ts +1 -1
  26. package/dist/assets/model-artifacts.js +81 -77
  27. package/dist/assets/model-worker.d.ts +1 -1
  28. package/dist/assets/model-worker.js +6 -6
  29. package/dist/browser.js +9 -9
  30. package/dist/catalogue-utils.d.ts +1 -1
  31. package/dist/catalogue-utils.js +26 -26
  32. package/dist/catalogue.d.ts +21 -16
  33. package/dist/catalogue.js +509 -413
  34. package/dist/clientInfo.d.ts +1 -1
  35. package/dist/clientInfo.js +28 -28
  36. package/dist/commandContext.d.ts +5 -5
  37. package/dist/commandContext.js +19 -23
  38. package/dist/commands/accounts.js +6 -6
  39. package/dist/commands/ads.js +16 -16
  40. package/dist/commands/agents.d.ts +2 -2
  41. package/dist/commands/agents.js +131 -127
  42. package/dist/commands/boosts.js +41 -31
  43. package/dist/commands/browse.d.ts +2 -2
  44. package/dist/commands/browse.js +168 -128
  45. package/dist/commands/build.js +9 -9
  46. package/dist/commands/captureListing.d.ts +8 -8
  47. package/dist/commands/captureListing.js +292 -332
  48. package/dist/commands/changelog.js +1 -1
  49. package/dist/commands/chat.js +51 -53
  50. package/dist/commands/check.d.ts +1 -1
  51. package/dist/commands/check.js +44 -44
  52. package/dist/commands/clients.d.ts +3 -3
  53. package/dist/commands/clients.js +67 -64
  54. package/dist/commands/comments.js +36 -29
  55. package/dist/commands/create.js +305 -312
  56. package/dist/commands/createRemixContent.d.ts +1 -1
  57. package/dist/commands/createRemixContent.js +65 -60
  58. package/dist/commands/creations.js +205 -135
  59. package/dist/commands/credits.js +37 -27
  60. package/dist/commands/detail.js +40 -34
  61. package/dist/commands/dev.js +103 -126
  62. package/dist/commands/devBrowser.js +74 -65
  63. package/dist/commands/devRuntimeAssets.d.ts +4 -4
  64. package/dist/commands/devRuntimeAssets.js +38 -40
  65. package/dist/commands/devServer.d.ts +4 -4
  66. package/dist/commands/devServer.js +183 -174
  67. package/dist/commands/devShared.d.ts +3 -3
  68. package/dist/commands/devShared.js +31 -31
  69. package/dist/commands/doctor.d.ts +5 -5
  70. package/dist/commands/doctor.js +63 -57
  71. package/dist/commands/documentation.js +42 -32
  72. package/dist/commands/feedback.js +59 -42
  73. package/dist/commands/format.js +9 -9
  74. package/dist/commands/generation.d.ts +2 -2
  75. package/dist/commands/generation.js +344 -326
  76. package/dist/commands/init.d.ts +4 -4
  77. package/dist/commands/init.js +64 -61
  78. package/dist/commands/login.d.ts +2 -2
  79. package/dist/commands/login.js +42 -62
  80. package/dist/commands/logout.js +4 -4
  81. package/dist/commands/marketing.d.ts +8 -8
  82. package/dist/commands/marketing.js +246 -297
  83. package/dist/commands/notes.js +19 -19
  84. package/dist/commands/notifications.js +34 -22
  85. package/dist/commands/npmProcess.js +3 -3
  86. package/dist/commands/ownedRuntimeImageValidation.d.ts +1 -1
  87. package/dist/commands/ownedRuntimeImageValidation.js +19 -17
  88. package/dist/commands/play.js +12 -21
  89. package/dist/commands/publicPages.js +8 -4
  90. package/dist/commands/review.js +123 -110
  91. package/dist/commands/search.js +107 -88
  92. package/dist/commands/tags.js +10 -12
  93. package/dist/commands/taskCaptureSession.d.ts +3 -3
  94. package/dist/commands/taskCaptureSession.js +3 -3
  95. package/dist/commands/tweaks.js +25 -23
  96. package/dist/commands/upgrade.js +40 -31
  97. package/dist/commands/upload-content.d.ts +5 -5
  98. package/dist/commands/upload-content.js +130 -122
  99. package/dist/commands/upload-graph.d.ts +1 -1
  100. package/dist/commands/upload-graph.js +7 -11
  101. package/dist/commands/upload.d.ts +7 -7
  102. package/dist/commands/upload.js +196 -217
  103. package/dist/commands/validate.js +33 -32
  104. package/dist/commands/versionsBrowse.js +61 -51
  105. package/dist/commands/whoami.js +11 -14
  106. package/dist/commands/worker/archive-staging.d.ts +9 -0
  107. package/dist/commands/worker/archive-staging.js +257 -0
  108. package/dist/commands/worker/instrument-evidence.d.ts +1 -1
  109. package/dist/commands/worker/instrument-evidence.js +41 -43
  110. package/dist/commands/worker/provider-telemetry.d.ts +2 -1
  111. package/dist/commands/worker/provider-telemetry.js +181 -64
  112. package/dist/commands/worker/runtime.d.ts +18 -3
  113. package/dist/commands/worker/runtime.js +291 -239
  114. package/dist/commands/worker.d.ts +83 -22
  115. package/dist/commands/worker.js +1980 -1411
  116. package/dist/commands/workspaces.d.ts +2 -2
  117. package/dist/commands/workspaces.js +57 -57
  118. package/dist/config.js +23 -20
  119. package/dist/devAuth.d.ts +3 -3
  120. package/dist/devAuth.js +20 -17
  121. package/dist/environment.d.ts +1 -1
  122. package/dist/environment.js +34 -34
  123. package/dist/errors.d.ts +1 -1
  124. package/dist/errors.js +7 -7
  125. package/dist/externalAssetPackValidation.d.ts +1 -1
  126. package/dist/externalAssetPackValidation.js +9 -9
  127. package/dist/http.d.ts +1 -1
  128. package/dist/http.js +9 -9
  129. package/dist/index.js +657 -664
  130. package/dist/listingCaptureLease.js +23 -23
  131. package/dist/listingPreflight.d.ts +2 -2
  132. package/dist/listingPreflight.js +33 -33
  133. package/dist/messages.js +6 -14
  134. package/dist/output.js +9 -9
  135. package/dist/playwright.d.ts +1 -1
  136. package/dist/playwright.js +35 -40
  137. package/dist/proxyFetch.js +30 -27
  138. package/dist/recorderRelease.js +8 -8
  139. package/dist/refs.d.ts +5 -5
  140. package/dist/refs.js +40 -37
  141. package/dist/sessionCookie.js +15 -21
  142. package/dist/shellProbe.js +5 -5
  143. package/dist/taskSelection.d.ts +3 -3
  144. package/dist/taskSelection.js +67 -62
  145. package/dist/taskUtils.d.ts +1 -1
  146. package/dist/taskUtils.js +4 -4
  147. package/dist/tweakStaleness.d.ts +3 -3
  148. package/dist/tweakStaleness.js +8 -8
  149. package/dist/uploadLog.d.ts +3 -3
  150. package/dist/uploadLog.js +51 -51
  151. package/dist/versionCompare.js +3 -3
  152. package/dist/workerAppProject.d.ts +1 -1
  153. package/dist/workerAppProject.js +10 -17
  154. package/dist/workspaceAuth.d.ts +1 -1
  155. package/dist/workspaceAuth.js +28 -22
  156. package/node_modules/@playdrop/ai-client/dist/index.d.ts +35 -35
  157. package/node_modules/@playdrop/ai-client/dist/index.d.ts.map +1 -1
  158. package/node_modules/@playdrop/api-client/dist/client.d.ts +34 -33
  159. package/node_modules/@playdrop/api-client/dist/client.d.ts.map +1 -1
  160. package/node_modules/@playdrop/api-client/dist/core/errors.d.ts +1 -1
  161. package/node_modules/@playdrop/api-client/dist/core/errors.d.ts.map +1 -1
  162. package/node_modules/@playdrop/api-client/dist/core/request.d.ts +2 -2
  163. package/node_modules/@playdrop/api-client/dist/core/request.d.ts.map +1 -1
  164. package/node_modules/@playdrop/api-client/dist/domains/admin.d.ts +2 -2
  165. package/node_modules/@playdrop/api-client/dist/domains/admin.d.ts.map +1 -1
  166. package/node_modules/@playdrop/api-client/dist/domains/admin.js +4 -1
  167. package/node_modules/@playdrop/api-client/dist/domains/agent-tasks.d.ts +4 -3
  168. package/node_modules/@playdrop/api-client/dist/domains/agent-tasks.d.ts.map +1 -1
  169. package/node_modules/@playdrop/api-client/dist/domains/agent-tasks.js +12 -0
  170. package/node_modules/@playdrop/api-client/dist/domains/ai.d.ts +2 -2
  171. package/node_modules/@playdrop/api-client/dist/domains/ai.d.ts.map +1 -1
  172. package/node_modules/@playdrop/api-client/dist/domains/apps.d.ts +4 -4
  173. package/node_modules/@playdrop/api-client/dist/domains/apps.d.ts.map +1 -1
  174. package/node_modules/@playdrop/api-client/dist/domains/asset-packs.d.ts +4 -4
  175. package/node_modules/@playdrop/api-client/dist/domains/asset-packs.d.ts.map +1 -1
  176. package/node_modules/@playdrop/api-client/dist/domains/assets.d.ts +4 -4
  177. package/node_modules/@playdrop/api-client/dist/domains/assets.d.ts.map +1 -1
  178. package/node_modules/@playdrop/api-client/dist/domains/auth.d.ts +2 -2
  179. package/node_modules/@playdrop/api-client/dist/domains/auth.d.ts.map +1 -1
  180. package/node_modules/@playdrop/api-client/dist/domains/chat.d.ts +2 -2
  181. package/node_modules/@playdrop/api-client/dist/domains/chat.d.ts.map +1 -1
  182. package/node_modules/@playdrop/api-client/dist/domains/comments.d.ts +3 -3
  183. package/node_modules/@playdrop/api-client/dist/domains/comments.d.ts.map +1 -1
  184. package/node_modules/@playdrop/api-client/dist/domains/free-credits.d.ts +2 -2
  185. package/node_modules/@playdrop/api-client/dist/domains/free-credits.d.ts.map +1 -1
  186. package/node_modules/@playdrop/api-client/dist/domains/me.d.ts +2 -2
  187. package/node_modules/@playdrop/api-client/dist/domains/me.d.ts.map +1 -1
  188. package/node_modules/@playdrop/api-client/dist/domains/payments.d.ts +2 -2
  189. package/node_modules/@playdrop/api-client/dist/domains/payments.d.ts.map +1 -1
  190. package/node_modules/@playdrop/api-client/dist/domains/player-meta.d.ts +2 -2
  191. package/node_modules/@playdrop/api-client/dist/domains/player-meta.d.ts.map +1 -1
  192. package/node_modules/@playdrop/api-client/dist/domains/playtrade.d.ts +3 -3
  193. package/node_modules/@playdrop/api-client/dist/domains/playtrade.d.ts.map +1 -1
  194. package/node_modules/@playdrop/api-client/dist/domains/playtrade.js +2 -2
  195. package/node_modules/@playdrop/api-client/dist/domains/search.d.ts +2 -2
  196. package/node_modules/@playdrop/api-client/dist/domains/search.d.ts.map +1 -1
  197. package/node_modules/@playdrop/api-client/dist/domains/tags.d.ts +2 -2
  198. package/node_modules/@playdrop/api-client/dist/domains/tags.d.ts.map +1 -1
  199. package/node_modules/@playdrop/api-client/dist/index.d.ts +19 -18
  200. package/node_modules/@playdrop/api-client/dist/index.d.ts.map +1 -1
  201. package/node_modules/@playdrop/api-client/dist/index.js +7 -2
  202. package/node_modules/@playdrop/boxel-core/dist/src/entity-cleaner.d.ts +1 -1
  203. package/node_modules/@playdrop/boxel-core/dist/src/entity-cleaner.js +47 -47
  204. package/node_modules/@playdrop/boxel-core/dist/src/entity-cleaner.js.map +1 -1
  205. package/node_modules/@playdrop/boxel-core/dist/src/entity-utils.d.ts +3 -3
  206. package/node_modules/@playdrop/boxel-core/dist/src/entity-utils.js +32 -47
  207. package/node_modules/@playdrop/boxel-core/dist/src/entity-utils.js.map +1 -1
  208. package/node_modules/@playdrop/boxel-core/dist/src/format-utils.js +16 -18
  209. package/node_modules/@playdrop/boxel-core/dist/src/format-utils.js.map +1 -1
  210. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/geometry.d.ts +2 -2
  211. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/index.d.ts +4 -4
  212. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/common.d.ts +1 -1
  213. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/index.d.ts +3 -3
  214. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/textured-builder.d.ts +2 -2
  215. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/textured-builder.js +44 -45
  216. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/textured-builder.js.map +1 -1
  217. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/types.d.ts +1 -1
  218. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/voxel-builder.d.ts +2 -2
  219. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/voxel-builder.js +40 -44
  220. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/voxel-builder.js.map +1 -1
  221. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/builder.d.ts +2 -2
  222. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/builder.js +30 -34
  223. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/builder.js.map +1 -1
  224. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/index.d.ts +4 -4
  225. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/index.js.map +1 -1
  226. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/scanner.d.ts +3 -3
  227. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/scanner.js +23 -20
  228. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/scanner.js.map +1 -1
  229. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/textures/artifacts.d.ts +3 -3
  230. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/textures/artifacts.js +3 -3
  231. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/textures/face-map.d.ts +1 -1
  232. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/textures/face-map.js +21 -21
  233. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/textures/face-map.js.map +1 -1
  234. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/templates/index.d.ts +1 -1
  235. package/node_modules/@playdrop/boxel-core/dist/src/humanoid/templates/index.js +2 -2
  236. package/node_modules/@playdrop/boxel-core/dist/src/index.d.ts +19 -19
  237. package/node_modules/@playdrop/boxel-core/dist/src/materials.d.ts +1 -1
  238. package/node_modules/@playdrop/boxel-core/dist/src/materials.js +12 -16
  239. package/node_modules/@playdrop/boxel-core/dist/src/materials.js.map +1 -1
  240. package/node_modules/@playdrop/boxel-core/dist/src/palette_tools.d.ts +1 -1
  241. package/node_modules/@playdrop/boxel-core/dist/src/palette_tools.js +38 -41
  242. package/node_modules/@playdrop/boxel-core/dist/src/palette_tools.js.map +1 -1
  243. package/node_modules/@playdrop/boxel-core/dist/src/serialization.d.ts +1 -1
  244. package/node_modules/@playdrop/boxel-core/dist/src/serialization.js +54 -56
  245. package/node_modules/@playdrop/boxel-core/dist/src/serialization.js.map +1 -1
  246. package/node_modules/@playdrop/boxel-core/dist/src/textures.d.ts +3 -3
  247. package/node_modules/@playdrop/boxel-core/dist/src/textures.js +39 -45
  248. package/node_modules/@playdrop/boxel-core/dist/src/textures.js.map +1 -1
  249. package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/infer-face.d.ts +2 -2
  250. package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/infer-face.js +39 -43
  251. package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/infer-face.js.map +1 -1
  252. package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/layer-mode.d.ts +3 -3
  253. package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/layer-mode.js +35 -35
  254. package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/layer-mode.js.map +1 -1
  255. package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/merge-overlay.d.ts +1 -1
  256. package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/merge-overlay.js +18 -18
  257. package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/merge-overlay.js.map +1 -1
  258. package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/slice.d.ts +3 -3
  259. package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/slice.js +50 -48
  260. package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/slice.js.map +1 -1
  261. package/node_modules/@playdrop/boxel-core/dist/src/transforms/upscale.d.ts +1 -1
  262. package/node_modules/@playdrop/boxel-core/dist/src/transforms/upscale.js +22 -26
  263. package/node_modules/@playdrop/boxel-core/dist/src/transforms/upscale.js.map +1 -1
  264. package/node_modules/@playdrop/boxel-core/dist/src/transforms/voxels/slice.d.ts +2 -2
  265. package/node_modules/@playdrop/boxel-core/dist/src/transforms/voxels/slice.js +8 -8
  266. package/node_modules/@playdrop/boxel-core/dist/src/transforms/voxels/slice.js.map +1 -1
  267. package/node_modules/@playdrop/boxel-core/dist/src/transforms/voxels/textured-to-voxel.d.ts +2 -2
  268. package/node_modules/@playdrop/boxel-core/dist/src/transforms/voxels/textured-to-voxel.js +23 -28
  269. package/node_modules/@playdrop/boxel-core/dist/src/transforms/voxels/textured-to-voxel.js.map +1 -1
  270. package/node_modules/@playdrop/boxel-core/dist/src/types.d.ts +8 -8
  271. package/node_modules/@playdrop/boxel-core/dist/src/validation.d.ts +1 -1
  272. package/node_modules/@playdrop/boxel-core/dist/src/validation.js +93 -95
  273. package/node_modules/@playdrop/boxel-core/dist/src/validation.js.map +1 -1
  274. package/node_modules/@playdrop/boxel-core/dist/src/voxels/greedy-mesher.d.ts +1 -1
  275. package/node_modules/@playdrop/boxel-core/dist/src/voxels/greedy-mesher.js +2 -2
  276. package/node_modules/@playdrop/boxel-core/dist/src/voxels/greedy-mesher.js.map +1 -1
  277. package/node_modules/@playdrop/boxel-core/dist/src/voxels.d.ts +1 -1
  278. package/node_modules/@playdrop/boxel-core/dist/src/voxels.js +2 -7
  279. package/node_modules/@playdrop/boxel-core/dist/src/voxels.js.map +1 -1
  280. package/node_modules/@playdrop/boxel-three/dist/src/animations.d.ts +3 -3
  281. package/node_modules/@playdrop/boxel-three/dist/src/builders.d.ts +4 -4
  282. package/node_modules/@playdrop/boxel-three/dist/src/context.d.ts +3 -3
  283. package/node_modules/@playdrop/boxel-three/dist/src/exporters/glb.d.ts +6 -6
  284. package/node_modules/@playdrop/boxel-three/dist/src/exporters/glb.js +9 -1
  285. package/node_modules/@playdrop/boxel-three/dist/src/exporters/image.d.ts +3 -3
  286. package/node_modules/@playdrop/boxel-three/dist/src/index.d.ts +17 -17
  287. package/node_modules/@playdrop/boxel-three/dist/src/instantiate.d.ts +9 -9
  288. package/node_modules/@playdrop/boxel-three/dist/src/nodes.d.ts +3 -3
  289. package/node_modules/@playdrop/boxel-three/dist/src/nodes.js +1 -1
  290. package/node_modules/@playdrop/boxel-three/dist/src/overlays.d.ts +2 -2
  291. package/node_modules/@playdrop/boxel-three/dist/src/primitives.d.ts +1 -1
  292. package/node_modules/@playdrop/boxel-three/dist/src/scene.d.ts +1 -1
  293. package/node_modules/@playdrop/boxel-three/dist/src/skinned-mesh.d.ts +2 -2
  294. package/node_modules/@playdrop/boxel-three/dist/src/texture-atlas.d.ts +1 -1
  295. package/node_modules/@playdrop/boxel-three/dist/src/textures.d.ts +3 -3
  296. package/node_modules/@playdrop/boxel-three/dist/src/types.d.ts +4 -4
  297. package/node_modules/@playdrop/boxel-three/dist/src/voxels/faces.d.ts +2 -2
  298. package/node_modules/@playdrop/boxel-three/dist/src/voxels/mesher.d.ts +1 -1
  299. package/node_modules/@playdrop/boxel-three/dist/test/fixtures/render-worker.d.ts +1 -1
  300. package/node_modules/@playdrop/config/client-meta.json +4 -4
  301. package/node_modules/@playdrop/config/dist/src/client-meta.d.ts +1 -1
  302. package/node_modules/@playdrop/config/dist/src/client-meta.d.ts.map +1 -1
  303. package/node_modules/@playdrop/config/dist/src/client-meta.js +10 -10
  304. package/node_modules/@playdrop/config/dist/src/constants.js +10 -10
  305. package/node_modules/@playdrop/config/dist/src/creator-plans.d.ts +1 -1
  306. package/node_modules/@playdrop/config/dist/src/creator-plans.d.ts.map +1 -1
  307. package/node_modules/@playdrop/config/dist/src/creator-plans.js +27 -28
  308. package/node_modules/@playdrop/config/dist/src/deployment.d.ts +4 -4
  309. package/node_modules/@playdrop/config/dist/src/deployment.d.ts.map +1 -1
  310. package/node_modules/@playdrop/config/dist/src/deployment.js +42 -41
  311. package/node_modules/@playdrop/config/dist/src/game-arena.js +12 -12
  312. package/node_modules/@playdrop/config/dist/src/index.d.ts +9 -9
  313. package/node_modules/@playdrop/config/dist/src/index.d.ts.map +1 -1
  314. package/node_modules/@playdrop/config/dist/src/index.js +24 -25
  315. package/node_modules/@playdrop/config/dist/src/public-deployment.d.ts +4 -4
  316. package/node_modules/@playdrop/config/dist/src/public-deployment.d.ts.map +1 -1
  317. package/node_modules/@playdrop/config/dist/src/public-deployment.js +41 -39
  318. package/node_modules/@playdrop/config/dist/src/runtime-client-meta.js +1 -3
  319. package/node_modules/@playdrop/config/dist/src/runtime-service-origins.d.ts.map +1 -1
  320. package/node_modules/@playdrop/config/dist/src/runtime-service-origins.js +23 -25
  321. package/node_modules/@playdrop/config/dist/src/server/fastify.d.ts +5 -5
  322. package/node_modules/@playdrop/config/dist/src/server/fastify.d.ts.map +1 -1
  323. package/node_modules/@playdrop/config/dist/src/server/fastify.js +44 -46
  324. package/node_modules/@playdrop/config/dist/src/server/logging.d.ts +1 -1
  325. package/node_modules/@playdrop/config/dist/src/server/logging.d.ts.map +1 -1
  326. package/node_modules/@playdrop/config/dist/src/server/logging.js +6 -8
  327. package/node_modules/@playdrop/config/dist/src/types.d.ts +2 -2
  328. package/node_modules/@playdrop/config/dist/test/creator-plans.test.js +12 -12
  329. package/node_modules/@playdrop/config/dist/test/deployment.test.js +59 -59
  330. package/node_modules/@playdrop/config/dist/test/fastify.test.js +4 -4
  331. package/node_modules/@playdrop/config/dist/test/game-arena.test.js +8 -8
  332. package/node_modules/@playdrop/config/dist/test/logging.test.js +6 -6
  333. package/node_modules/@playdrop/config/dist/test/validateClientEnvironment.test.js +57 -57
  334. package/node_modules/@playdrop/config/dist/tsconfig.tsbuildinfo +1 -1
  335. package/node_modules/@playdrop/types/dist/agent-task-playtest.d.ts.map +1 -1
  336. package/node_modules/@playdrop/types/dist/agent-task-terminal.d.ts +2 -2
  337. package/node_modules/@playdrop/types/dist/agent-task-terminal.d.ts.map +1 -1
  338. package/node_modules/@playdrop/types/dist/api.d.ts +314 -250
  339. package/node_modules/@playdrop/types/dist/api.d.ts.map +1 -1
  340. package/node_modules/@playdrop/types/dist/api.js +40 -59
  341. package/node_modules/@playdrop/types/dist/app-capability-filters.d.ts +2 -2
  342. package/node_modules/@playdrop/types/dist/app-playtest-tape.d.ts +6 -6
  343. package/node_modules/@playdrop/types/dist/app-playtest-tape.d.ts.map +1 -1
  344. package/node_modules/@playdrop/types/dist/app-review.d.ts +2 -2
  345. package/node_modules/@playdrop/types/dist/app-review.d.ts.map +1 -1
  346. package/node_modules/@playdrop/types/dist/app-review.js +1 -6
  347. package/node_modules/@playdrop/types/dist/app.d.ts.map +1 -1
  348. package/node_modules/@playdrop/types/dist/asset-pack.d.ts +5 -5
  349. package/node_modules/@playdrop/types/dist/asset-spec.d.ts +4 -4
  350. package/node_modules/@playdrop/types/dist/asset.d.ts +11 -11
  351. package/node_modules/@playdrop/types/dist/attachment-policy.d.ts.map +1 -1
  352. package/node_modules/@playdrop/types/dist/chat.d.ts +3 -3
  353. package/node_modules/@playdrop/types/dist/creator-public-image.d.ts.map +1 -1
  354. package/node_modules/@playdrop/types/dist/graph.d.ts +4 -4
  355. package/node_modules/@playdrop/types/dist/index.d.ts +25 -25
  356. package/node_modules/@playdrop/types/dist/instrument-evidence.d.ts +2 -2
  357. package/node_modules/@playdrop/types/dist/instrument-evidence.d.ts.map +1 -1
  358. package/node_modules/@playdrop/types/dist/instrument-evidence.js +2 -11
  359. package/node_modules/@playdrop/types/dist/locale.d.ts +2 -2
  360. package/node_modules/@playdrop/types/dist/locale.d.ts.map +1 -1
  361. package/node_modules/@playdrop/types/dist/locale.js +2 -17
  362. package/node_modules/@playdrop/types/dist/owned-assets.d.ts +2 -2
  363. package/node_modules/@playdrop/types/dist/owned-assets.d.ts.map +1 -1
  364. package/node_modules/@playdrop/types/dist/player-meta.d.ts +3 -3
  365. package/node_modules/@playdrop/types/dist/player-meta.d.ts.map +1 -1
  366. package/node_modules/@playdrop/types/dist/playtest-notes.d.ts +11 -11
  367. package/node_modules/@playdrop/types/dist/playtest-notes.d.ts.map +1 -1
  368. package/node_modules/@playdrop/types/dist/playtrade.d.ts +8 -5
  369. package/node_modules/@playdrop/types/dist/playtrade.d.ts.map +1 -1
  370. package/node_modules/@playdrop/types/dist/realtime.d.ts +1 -1
  371. package/node_modules/@playdrop/types/dist/tweaks.d.ts +4 -4
  372. package/node_modules/@playdrop/types/dist/tweaks.d.ts.map +1 -1
  373. package/node_modules/@playdrop/types/dist/tweaks.js +12 -2
  374. package/node_modules/@playdrop/types/dist/version.d.ts +14 -14
  375. package/node_modules/@playdrop/types/dist/version.d.ts.map +1 -1
  376. package/node_modules/@playdrop/types/dist/version.js +4 -1
  377. package/node_modules/@playdrop/vox-three/dist/src/index.d.ts +1 -1
  378. package/node_modules/@playdrop/vox-three/dist/src/vox.d.ts +2 -2
  379. package/node_modules/@playdrop/vox-three/dist/src/vox.js +20 -18
  380. package/node_modules/@playdrop/vox-three/dist/src/vox.js.map +1 -1
  381. package/node_modules/@playdrop/vox-three/dist/test/vox.test.js +11 -14
  382. package/node_modules/@playdrop/vox-three/dist/test/vox.test.js.map +1 -1
  383. package/package.json +1 -1
@@ -1,20 +1,20 @@
1
- import type { AppAuthFilter, AppControllerFilter, AppSurfaceFilter } from './app-capability-filters.js';
2
- import type { AppOrigin, AppSurface, AppType } from './app.js';
3
- import type { AppPlaytestTapes } from './app-playtest-tape.js';
4
- import type { AssetPackResponse } from './asset-pack.js';
5
- import type { AppMetadataAssetSpecSupport, AssetSpecListResponse, AssetSpecResponse, AssetSpecSearchResult, AssetSpecVersionResponse, AssetSpecVersionsListResponse } from './asset-spec.js';
6
- import type { AssetCategory, AssetResponse } from './asset.js';
7
- import type { ContentLicense, ContentPermissions } from './content-license.js';
8
- import type { InstrumentEvidenceManifest } from './instrument-evidence.js';
9
- import type { SupportedLocale } from './locale.js';
10
- import type { TweakValues } from './tweaks.js';
11
- import type { AppAuthMode, AppControllerMode, AppHostingMode, AppListingMediaItem, AppVersionResponse, AppVersionSummary, AppVersionVisibility, ReviewState } from './version.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';
1
+ import type { AppAuthFilter, AppControllerFilter, AppSurfaceFilter } from "./app-capability-filters.js";
2
+ import type { AppOrigin, AppSurface, AppType } from "./app.js";
3
+ import type { AppPlaytestTapes } from "./app-playtest-tape.js";
4
+ import type { AssetPackResponse } from "./asset-pack.js";
5
+ import type { AppMetadataAssetSpecSupport, AssetSpecListResponse, AssetSpecResponse, AssetSpecSearchResult, AssetSpecVersionResponse, AssetSpecVersionsListResponse } from "./asset-spec.js";
6
+ import type { AssetCategory, AssetResponse } from "./asset.js";
7
+ import type { ContentLicense, ContentPermissions } from "./content-license.js";
8
+ import type { InstrumentEvidenceManifest } from "./instrument-evidence.js";
9
+ import type { SupportedLocale } from "./locale.js";
10
+ import type { TweakValues } from "./tweaks.js";
11
+ import type { AppAuthMode, AppControllerMode, AppHostingMode, AppListingMediaItem, AppVersionResponse, AppVersionSummary, AppVersionVisibility, ReviewState } from "./version.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
- export type AcquisitionAttributionType = typeof ACQUISITION_ATTRIBUTION_TYPES[number];
15
+ export type AcquisitionAttributionType = (typeof ACQUISITION_ATTRIBUTION_TYPES)[number];
16
16
  export declare const ACQUISITION_PLATFORMS: readonly ["ios", "android", "web"];
17
- export type AcquisitionPlatform = typeof ACQUISITION_PLATFORMS[number];
17
+ export type AcquisitionPlatform = (typeof ACQUISITION_PLATFORMS)[number];
18
18
  export interface AcquisitionAttributionPayload {
19
19
  schemaVersion: 1;
20
20
  id: string;
@@ -55,7 +55,7 @@ export interface AcquisitionFeedContext {
55
55
  schemaVersion: 1;
56
56
  id: string;
57
57
  source: string;
58
- targetType: 'game';
58
+ targetType: "game";
59
59
  targetId: string;
60
60
  }
61
61
  export interface AcquisitionFeedAcknowledgement {
@@ -109,12 +109,12 @@ export interface CliLoginPollRequest {
109
109
  pollToken: string;
110
110
  }
111
111
  export interface CliLoginPendingResponse {
112
- status: 'pending';
112
+ status: "pending";
113
113
  expiresAt: string;
114
114
  }
115
115
  export type CliLoginPollResponse = LoginResponse | CliLoginPendingResponse;
116
116
  export interface CliLoginStatusResponse {
117
- status: 'pending' | 'approved' | 'expired';
117
+ status: "pending" | "approved" | "expired";
118
118
  expiresAt: string;
119
119
  }
120
120
  export interface CliLoginApproveRequest {
@@ -163,8 +163,8 @@ export interface DeleteCliApiTokenResponse {
163
163
  export interface CreateUserRequest {
164
164
  username: string;
165
165
  password: string;
166
- role: 'CREATOR' | 'ADMIN';
167
- kind?: 'HUMAN' | 'BOT' | 'AGENT';
166
+ role: "CREATOR" | "ADMIN";
167
+ kind?: "HUMAN" | "BOT" | "AGENT";
168
168
  }
169
169
  export interface SetProfileAssetRequest {
170
170
  assetRef: string;
@@ -173,15 +173,15 @@ export interface SetProfileAssetResponse {
173
173
  selectedProfileAssetRef: string;
174
174
  }
175
175
  export declare const CREATOR_ADVERTISING_EVENT_NAMES: readonly ["creator_generation_accepted", "creator_first_game_uploaded", "creator_game_published", "creator_game_playtested", "creator_subscription_started", "creator_referral_succeeded", "creator_game_shared", "creator_game_reached_10_plays"];
176
- export type CreatorAdvertisingEventName = typeof CREATOR_ADVERTISING_EVENT_NAMES[number];
176
+ export type CreatorAdvertisingEventName = (typeof CREATOR_ADVERTISING_EVENT_NAMES)[number];
177
177
  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", "creator_prompt_submit_intent", "creator_generation_accepted", "creator_first_game_uploaded", "creator_game_published", "creator_game_playtested", "creator_subscription_started", "creator_referral_succeeded", "creator_game_shared", "creator_game_reached_10_plays"];
178
- export type CreatorFunnelEventName = typeof CREATOR_FUNNEL_EVENT_NAMES[number];
178
+ export type CreatorFunnelEventName = (typeof CREATOR_FUNNEL_EVENT_NAMES)[number];
179
179
  export declare const CREATOR_FUNNEL_SOURCE_SURFACES: readonly ["home", "dream_team", "create", "getting_started", "signup", "cli", "api"];
180
- export type CreatorFunnelSourceSurface = typeof CREATOR_FUNNEL_SOURCE_SURFACES[number];
180
+ export type CreatorFunnelSourceSurface = (typeof CREATOR_FUNNEL_SOURCE_SURFACES)[number];
181
181
  export declare const CREATOR_CREATE_MODES: readonly ["agent", "scratch", "guided", "remix"];
182
- export type CreatorCreateMode = typeof CREATOR_CREATE_MODES[number];
182
+ export type CreatorCreateMode = (typeof CREATOR_CREATE_MODES)[number];
183
183
  export declare const CREATOR_FUNNEL_AI_AGENTS: readonly ["CODEX", "CLAUDE_CODE", "OTHER"];
184
- export type CreatorFunnelAiAgent = typeof CREATOR_FUNNEL_AI_AGENTS[number];
184
+ export type CreatorFunnelAiAgent = (typeof CREATOR_FUNNEL_AI_AGENTS)[number];
185
185
  export interface ApiErrorResponse {
186
186
  error: string;
187
187
  message?: string;
@@ -195,22 +195,22 @@ export interface ContentTagSummary {
195
195
  displayName: string;
196
196
  }
197
197
  export declare const AGENT_TASK_STATUS_VALUES: readonly ["QUEUED", "RUNNING", "DONE", "FAILED", "EXPIRED", "CANCELLED"];
198
- export type AgentTaskStatus = typeof AGENT_TASK_STATUS_VALUES[number];
198
+ export type AgentTaskStatus = (typeof AGENT_TASK_STATUS_VALUES)[number];
199
199
  export type JsonValue = null | boolean | number | string | JsonValue[] | {
200
200
  [key: string]: JsonValue;
201
201
  };
202
202
  export declare const AGENT_TASK_CREATOR_FEEDBACK_STATUS_VALUES: readonly ["UNSEEN", "VIEWED", "PLAYED", "APPROVED", "DISAPPROVED"];
203
- export type AgentTaskCreatorFeedbackStatus = typeof AGENT_TASK_CREATOR_FEEDBACK_STATUS_VALUES[number];
203
+ export type AgentTaskCreatorFeedbackStatus = (typeof AGENT_TASK_CREATOR_FEEDBACK_STATUS_VALUES)[number];
204
204
  export declare const AGENT_TASK_KIND_VALUES: readonly ["NEW_GAME", "STATIC_GAME", "REMIX_GAME", "GAME_UPDATE", "GAME_REVIEW", "GAME_EVAL", "RELEASE_SMOKE"];
205
- export type AgentTaskKind = typeof AGENT_TASK_KIND_VALUES[number];
205
+ export type AgentTaskKind = (typeof AGENT_TASK_KIND_VALUES)[number];
206
206
  export declare const AGENT_EXECUTION_TARGET_VALUES: readonly ["FIRST_PARTY", "PERSONAL"];
207
- export type AgentExecutionTarget = typeof AGENT_EXECUTION_TARGET_VALUES[number];
207
+ export type AgentExecutionTarget = (typeof AGENT_EXECUTION_TARGET_VALUES)[number];
208
208
  export declare const AGENT_TASK_SURFACE_SOURCE_CLIENT_VALUES: readonly ["WEB", "IOS", "IPADOS", "MACOS", "ANDROID", "WINDOWS", "UNKNOWN"];
209
- export type AgentTaskSurfaceSourceClient = typeof AGENT_TASK_SURFACE_SOURCE_CLIENT_VALUES[number];
209
+ export type AgentTaskSurfaceSourceClient = (typeof AGENT_TASK_SURFACE_SOURCE_CLIENT_VALUES)[number];
210
210
  export declare const AGENT_TASK_SURFACE_DEVICE_CLASS_VALUES: readonly ["PHONE", "TABLET", "DESKTOP", "UNKNOWN"];
211
- export type AgentTaskSurfaceDeviceClass = typeof AGENT_TASK_SURFACE_DEVICE_CLASS_VALUES[number];
211
+ export type AgentTaskSurfaceDeviceClass = (typeof AGENT_TASK_SURFACE_DEVICE_CLASS_VALUES)[number];
212
212
  export declare const AGENT_TASK_SURFACE_ORIENTATION_VALUES: readonly ["PORTRAIT", "LANDSCAPE", "UNKNOWN"];
213
- export type AgentTaskSurfaceOrientation = typeof AGENT_TASK_SURFACE_ORIENTATION_VALUES[number];
213
+ export type AgentTaskSurfaceOrientation = (typeof AGENT_TASK_SURFACE_ORIENTATION_VALUES)[number];
214
214
  export interface AgentTaskSurfaceContextRequest {
215
215
  deviceClass?: AgentTaskSurfaceDeviceClass;
216
216
  orientation?: AgentTaskSurfaceOrientation;
@@ -221,12 +221,12 @@ export interface AgentTaskSurfaceContext extends AgentTaskSurfaceContextRequest
221
221
  orientation: AgentTaskSurfaceOrientation;
222
222
  }
223
223
  export declare const GAME_CREATION_SOURCE_VALUES: readonly ["playdrop_cloud", "my_agent", "direct_upload"];
224
- export type GameCreationSource = typeof GAME_CREATION_SOURCE_VALUES[number];
224
+ export type GameCreationSource = (typeof GAME_CREATION_SOURCE_VALUES)[number];
225
225
  export declare const GAME_CREATION_SOURCE_LABELS: Record<GameCreationSource, string>;
226
226
  export declare const AGENT_TASK_PROMPT_MIN_LENGTH = 4;
227
227
  export declare const AGENT_TASK_PROMPT_MAX_LENGTH = 100000;
228
228
  export declare const AGENT_TASK_SAFETY_REJECT_CATEGORIES: readonly ["PRIVATE_PLAYDROP_INFORMATION", "NOT_A_GAME_REQUEST", "APP_STORE_CONTENT_POLICY"];
229
- export type AgentTaskSafetyRejectCategory = typeof AGENT_TASK_SAFETY_REJECT_CATEGORIES[number];
229
+ export type AgentTaskSafetyRejectCategory = (typeof AGENT_TASK_SAFETY_REJECT_CATEGORIES)[number];
230
230
  export declare const AGENT_TASK_SAFETY_REJECT_ERROR_CODES: {
231
231
  readonly PRIVATE_PLAYDROP_INFORMATION: "playdrop_private_information_request";
232
232
  readonly NOT_A_GAME_REQUEST: "game_request_not_understood";
@@ -234,19 +234,19 @@ export declare const AGENT_TASK_SAFETY_REJECT_ERROR_CODES: {
234
234
  };
235
235
  export type AgentTaskSafetyRejectErrorCode = (typeof AGENT_TASK_SAFETY_REJECT_ERROR_CODES)[AgentTaskSafetyRejectCategory];
236
236
  export declare const AGENT_TASK_INPUT_MAX_COUNT = 20;
237
- export declare const AGENT_RUNTIME_VALUES: readonly ["CODEX", "CLAUDE_CODE", "CURSOR_COMPOSER"];
238
- export type AgentRuntime = typeof AGENT_RUNTIME_VALUES[number];
237
+ export declare const AGENT_RUNTIME_VALUES: readonly ["CODEX", "CLAUDE_CODE", "GROK_BUILD", "CURSOR_COMPOSER"];
238
+ export type AgentRuntime = (typeof AGENT_RUNTIME_VALUES)[number];
239
239
  export declare function normalizeAgentTaskModel(_agent: AgentRuntime, model: string): string | null;
240
240
  export declare const AGENT_TASK_EFFORT_VALUES: readonly ["simple", "standard", "complex"];
241
- export type AgentTaskEffort = typeof AGENT_TASK_EFFORT_VALUES[number];
241
+ export type AgentTaskEffort = (typeof AGENT_TASK_EFFORT_VALUES)[number];
242
242
  export declare const AGENT_TASK_EFFORT_KIND_VALUES: readonly ["BUILD_COMPLEXITY", "CHANGE_MAGNITUDE", "REVIEW_DEPTH"];
243
- export type AgentTaskEffortKind = typeof AGENT_TASK_EFFORT_KIND_VALUES[number];
243
+ export type AgentTaskEffortKind = (typeof AGENT_TASK_EFFORT_KIND_VALUES)[number];
244
244
  export declare const AGENT_WORKER_LIFECYCLE_STATE_VALUES: readonly ["READY", "QUIESCING", "UPDATING", "DEGRADED", "STOPPED"];
245
- export type AgentWorkerLifecycleState = typeof AGENT_WORKER_LIFECYCLE_STATE_VALUES[number];
245
+ export type AgentWorkerLifecycleState = (typeof AGENT_WORKER_LIFECYCLE_STATE_VALUES)[number];
246
246
  export declare const AGENT_WORKER_UPDATE_STATE_VALUES: readonly ["CURRENT", "UPDATE_AVAILABLE", "UPDATE_REQUIRED", "UPDATING", "UPDATE_BLOCKED"];
247
- export type AgentWorkerUpdateState = typeof AGENT_WORKER_UPDATE_STATE_VALUES[number];
247
+ export type AgentWorkerUpdateState = (typeof AGENT_WORKER_UPDATE_STATE_VALUES)[number];
248
248
  export declare const AGENT_TASK_AVAILABILITY_FAILURE_REASON_VALUES: readonly ["agent_not_installed", "agent_not_authenticated", "agent_quota_exhausted", "agent_temporarily_unavailable", "unavailable_runtime", "agent_model_unsupported", "worker_capability_missing"];
249
- export type AgentAvailabilityFailureReason = typeof AGENT_TASK_AVAILABILITY_FAILURE_REASON_VALUES[number];
249
+ export type AgentAvailabilityFailureReason = (typeof AGENT_TASK_AVAILABILITY_FAILURE_REASON_VALUES)[number];
250
250
  export interface AgentAttemptOption {
251
251
  agent: AgentRuntime;
252
252
  model: string;
@@ -262,19 +262,19 @@ export interface AgentAttemptResult {
262
262
  reasoningEffort?: string | null;
263
263
  workerId?: number | null;
264
264
  retryOnAlternateWorker?: boolean;
265
- status: 'selected' | 'unavailable' | 'started' | 'completed' | 'failed';
265
+ status: "selected" | "unavailable" | "started" | "completed" | "failed";
266
266
  reason?: AgentAvailabilityFailureReason | string | null;
267
267
  message?: string | null;
268
- source?: 'server' | 'worker';
268
+ source?: "server" | "worker";
269
269
  recordedAt: string;
270
270
  }
271
271
  export interface AgentTaskAgentPreference extends AgentAttemptOption {
272
272
  reason?: string | null;
273
273
  }
274
274
  export declare const AGENT_TASK_EVENT_KIND_VALUES: readonly ["progress", "agent_message", "system", "catalogue_preview"];
275
- export type AgentTaskEventKind = typeof AGENT_TASK_EVENT_KIND_VALUES[number];
275
+ export type AgentTaskEventKind = (typeof AGENT_TASK_EVENT_KIND_VALUES)[number];
276
276
  export declare const AGENT_TASK_TRANSCRIPT_STREAM_VALUES: readonly ["stdout", "stderr", "combined"];
277
- export type AgentTaskTranscriptStream = typeof AGENT_TASK_TRANSCRIPT_STREAM_VALUES[number];
277
+ export type AgentTaskTranscriptStream = (typeof AGENT_TASK_TRANSCRIPT_STREAM_VALUES)[number];
278
278
  export interface AgentWorkerWeeklyUsage {
279
279
  usedPercent: number;
280
280
  remainingPercent: number;
@@ -282,7 +282,7 @@ export interface AgentWorkerWeeklyUsage {
282
282
  targetRemainingPercent?: number;
283
283
  surplusPercent?: number;
284
284
  }
285
- export type AgentWorkerWeeklyUsageStatus = 'AVAILABLE' | 'NOT_APPLICABLE' | 'UNAVAILABLE';
285
+ export type AgentWorkerWeeklyUsageStatus = "AVAILABLE" | "NOT_APPLICABLE" | "UNAVAILABLE";
286
286
  export interface AgentWorkerCapabilities {
287
287
  supportedKinds: AgentTaskKind[];
288
288
  maxParallelTasks: number;
@@ -373,17 +373,17 @@ export interface AgentTaskDurationEstimate {
373
373
  max: number;
374
374
  }
375
375
  export interface AgentTaskTerminalReason {
376
- kind: 'failure' | 'expiration' | 'cancellation';
377
- category: 'provider_capacity' | 'provider_connection' | 'provider_timeout' | 'instrument_error' | 'upload_validation' | 'agent_failure' | 'queue_expired' | 'cancelled';
376
+ kind: "failure" | "expiration" | "cancellation";
377
+ category: "provider_capacity" | "provider_connection" | "provider_timeout" | "instrument_error" | "upload_validation" | "agent_failure" | "queue_expired" | "cancelled";
378
378
  code: string;
379
379
  message: string;
380
380
  /** True only when the exact same task input can be submitted again without creator changes. */
381
381
  retryable: boolean;
382
382
  rawError: string | null;
383
- source: 'server' | 'worker' | 'agent' | 'provider' | 'instrument';
383
+ source: "server" | "worker" | "agent" | "provider" | "instrument";
384
384
  }
385
385
  export interface AgentTaskRefundResponse {
386
- state: 'refunded' | 'withheld';
386
+ state: "refunded" | "withheld";
387
387
  credits: number;
388
388
  note: string;
389
389
  }
@@ -397,7 +397,7 @@ export interface AgentTaskSubjectResponse {
397
397
  }
398
398
  export declare const AGENT_TASK_NEXT_STEP_CATEGORIES: readonly ["POLISH", "CONTENT", "MECHANICS", "VISUALS", "AUDIO", "MONETIZATION", "PUBLISHING"];
399
399
  export declare const AGENT_TASK_NEXT_STEP_ID_REGEX: RegExp;
400
- export type AgentTaskNextStepCategory = typeof AGENT_TASK_NEXT_STEP_CATEGORIES[number];
400
+ export type AgentTaskNextStepCategory = (typeof AGENT_TASK_NEXT_STEP_CATEGORIES)[number];
401
401
  export interface AgentTaskNextStepSuggestion {
402
402
  id: string;
403
403
  title: string;
@@ -499,9 +499,9 @@ export interface AgentTaskAttachmentInput {
499
499
  export interface AgentTaskAttachmentUploadResponse {
500
500
  attachment: AgentTaskAttachmentInput;
501
501
  }
502
- export type AgentTaskInputKind = 'MEDIA' | 'GAME_PLAN' | 'REFERENCE_GAME' | 'REFERENCE_ASSET' | 'REFERENCE_PACK';
503
- export type GamePlanQuestionId = 'graphics' | 'surface_targets' | 'genre' | 'theme' | 'controls' | 'player_goal' | 'challenge' | 'first_version_scope' | 'notes';
504
- export type GamePlanQuestionKind = 'SINGLE_CHOICE' | 'MULTI_CHOICE' | 'TEXT';
502
+ export type AgentTaskInputKind = "MEDIA" | "GAME_PLAN" | "REFERENCE_GAME" | "REFERENCE_ASSET" | "REFERENCE_PACK";
503
+ export type GamePlanQuestionId = "graphics" | "surface_targets" | "genre" | "theme" | "controls" | "player_goal" | "challenge" | "first_version_scope" | "notes";
504
+ export type GamePlanQuestionKind = "SINGLE_CHOICE" | "MULTI_CHOICE" | "TEXT";
505
505
  export interface GamePlanSelectedOption {
506
506
  optionId: string;
507
507
  optionLabel: string;
@@ -520,17 +520,17 @@ export interface AgentTaskInputBase {
520
520
  note?: string | null;
521
521
  }
522
522
  export interface AgentTaskMediaInput extends AgentTaskInputBase {
523
- kind: 'MEDIA';
523
+ kind: "MEDIA";
524
524
  media: AgentTaskAttachmentInput;
525
525
  }
526
526
  export interface AgentTaskGamePlanInput extends AgentTaskInputBase {
527
- kind: 'GAME_PLAN';
527
+ kind: "GAME_PLAN";
528
528
  gamePlan: {
529
529
  answers: GamePlanAnswerInput[];
530
530
  };
531
531
  }
532
532
  export interface AgentTaskReferenceInput extends AgentTaskInputBase {
533
- kind: 'REFERENCE_GAME' | 'REFERENCE_ASSET' | 'REFERENCE_PACK';
533
+ kind: "REFERENCE_GAME" | "REFERENCE_ASSET" | "REFERENCE_PACK";
534
534
  reference: {
535
535
  ref: string;
536
536
  creatorUsername?: string | null;
@@ -555,7 +555,7 @@ export interface CreateNewGameAgentTaskResponse {
555
555
  events: AgentTaskEventResponse[];
556
556
  }
557
557
  export interface CreateStaticGameAgentTaskRequest {
558
- target: 'FIRST_PARTY';
558
+ target: "FIRST_PARTY";
559
559
  agent?: AgentRuntime;
560
560
  model?: string;
561
561
  agentPreference?: AgentTaskAgentPreference;
@@ -584,9 +584,9 @@ export interface CreateRemixGameAgentTaskResponse {
584
584
  events: AgentTaskEventResponse[];
585
585
  }
586
586
  export declare const GAME_EVAL_MODE_VALUES: readonly ["absolute", "pairwise", "n-way"];
587
- export type GameEvalMode = typeof GAME_EVAL_MODE_VALUES[number];
587
+ export type GameEvalMode = (typeof GAME_EVAL_MODE_VALUES)[number];
588
588
  export declare const GAME_EVAL_DIMENSION_VALUES: readonly ["request_fidelity", "core_loop_fun", "controls", "polish", "stability", "store_listing"];
589
- export type GameEvalDimension = typeof GAME_EVAL_DIMENSION_VALUES[number];
589
+ export type GameEvalDimension = (typeof GAME_EVAL_DIMENSION_VALUES)[number];
590
590
  export interface GameEvalTargetInput {
591
591
  appVersionRef: string;
592
592
  creatorPrompt: string;
@@ -613,15 +613,15 @@ export interface CreateGameEvalAgentTaskResponse {
613
613
  events: AgentTaskEventResponse[];
614
614
  }
615
615
  export declare const ARENA_ROUND_STATUS_VALUES: readonly ["DRAFT", "ACTIVE", "CLOSED"];
616
- export type ArenaRoundStatus = typeof ARENA_ROUND_STATUS_VALUES[number];
616
+ export type ArenaRoundStatus = (typeof ARENA_ROUND_STATUS_VALUES)[number];
617
617
  export declare const ARENA_HARNESS_VALUES: readonly ["BARE", "PLAYDROP"];
618
- export type ArenaHarness = typeof ARENA_HARNESS_VALUES[number];
618
+ export type ArenaHarness = (typeof ARENA_HARNESS_VALUES)[number];
619
619
  export declare const ARENA_COMPARISON_MODE_VALUES: readonly ["RANDOM", "BARE_SOL_OPUS", "BARE_SOL_FABLE", "BARE_SONNET_TERRA", "BARE_FABLE_OPUS", "PLAYDROP_RANDOM", "PLAYDROP_FABLE_OPUS", "OPUS_HARNESS", "BARE_MODEL", "PLAYDROP_MODEL", "CODEX_HARNESS", "CLAUDE_HARNESS"];
620
- export type ArenaComparisonMode = typeof ARENA_COMPARISON_MODE_VALUES[number];
620
+ export type ArenaComparisonMode = (typeof ARENA_COMPARISON_MODE_VALUES)[number];
621
621
  export declare const ARENA_VOTE_CHOICE_VALUES: readonly ["A", "B"];
622
- export type ArenaVoteChoice = typeof ARENA_VOTE_CHOICE_VALUES[number];
622
+ export type ArenaVoteChoice = (typeof ARENA_VOTE_CHOICE_VALUES)[number];
623
623
  export declare const ARENA_VOTE_VERDICT_VALUES: readonly ["A", "B", "TIE", "BOTH_BAD"];
624
- export type ArenaVoteVerdict = typeof ARENA_VOTE_VERDICT_VALUES[number];
624
+ export type ArenaVoteVerdict = (typeof ARENA_VOTE_VERDICT_VALUES)[number];
625
625
  export interface AdminArenaEntryInput {
626
626
  slot: string;
627
627
  appVersionId: number;
@@ -660,11 +660,11 @@ export interface ArenaMatchup {
660
660
  matchupToken: string;
661
661
  shareToken: string;
662
662
  prompt: string;
663
- previewAspectRatio: '16:9' | '9:16';
663
+ previewAspectRatio: "16:9" | "9:16";
664
664
  gameA: ArenaGameSide;
665
665
  gameB: ArenaGameSide;
666
666
  }
667
- export type GameArenaModelId = 'OPUS_5' | 'SOL_5_6';
667
+ export type GameArenaModelId = "OPUS_5" | "SOL_5_6";
668
668
  export interface GameArenaStandingEntry {
669
669
  id: GameArenaModelId;
670
670
  label: string;
@@ -674,7 +674,7 @@ export interface GameArenaStandingEntry {
674
674
  }
675
675
  export interface GameArenaPromptResult {
676
676
  prompt: string;
677
- winner: GameArenaModelId | 'TIE';
677
+ winner: GameArenaModelId | "TIE";
678
678
  opusVotes: number;
679
679
  solVotes: number;
680
680
  }
@@ -719,7 +719,7 @@ export interface ArenaAiLeaderboardEntry {
719
719
  gameCount: number;
720
720
  judgeReplicaCount: number;
721
721
  }
722
- export type ArenaAiLeaderboardMetric = 'overall' | GameEvalDimension;
722
+ export type ArenaAiLeaderboardMetric = "overall" | GameEvalDimension;
723
723
  export type ArenaAiLeaderboards = Record<ArenaAiLeaderboardMetric, ArenaAiLeaderboardEntry[]>;
724
724
  export interface ArenaResponse {
725
725
  matchups: ArenaMatchup[];
@@ -807,7 +807,7 @@ export interface WorkerPresenceRequest {
807
807
  }
808
808
  export interface WorkerPresenceResponse {
809
809
  worker: AgentWorkerResponse;
810
- action?: 'continue' | 'quiesce_for_update';
810
+ action?: "continue" | "quiesce_for_update";
811
811
  updatePolicy?: AgentWorkerUpdatePolicyResponse | null;
812
812
  }
813
813
  export interface WorkerClaimTaskRequestV2 {
@@ -815,6 +815,11 @@ export interface WorkerClaimTaskRequestV2 {
815
815
  workerKey: string;
816
816
  capabilities: AgentWorkerCapabilities;
817
817
  }
818
+ export interface WorkerClaimTaskRequestV3 {
819
+ protocolVersion: 3;
820
+ workerKey: string;
821
+ capabilities: AgentWorkerCapabilities;
822
+ }
818
823
  export interface WorkerTaskPluginV2 {
819
824
  sha256: string;
820
825
  fileName: string;
@@ -823,11 +828,17 @@ export interface WorkerTaskPluginV2 {
823
828
  }
824
829
  export interface WorkerTaskWorkspaceArchiveV2 {
825
830
  path: string;
826
- format: 'zip';
831
+ format: "zip";
827
832
  sha256: string;
828
833
  sizeBytes: number;
829
834
  contentBase64: string;
830
835
  }
836
+ export interface WorkerTaskWorkspaceArchiveV3 {
837
+ path: string;
838
+ format: "zip";
839
+ downloadUrl: string;
840
+ sizeBytes: number;
841
+ }
831
842
  export interface WorkerTaskWorkspaceFileV2 {
832
843
  path: string;
833
844
  sha256: string;
@@ -867,18 +878,25 @@ export interface WorkerTaskAssignmentV2 {
867
878
  runtime: AgentRuntime;
868
879
  model: string;
869
880
  reasoningEffort: string | null;
870
- browser: 'NONE' | 'CHROME' | 'PLAYWRIGHT';
881
+ browser: "NONE" | "CHROME" | "PLAYWRIGHT";
882
+ };
883
+ }
884
+ export interface WorkerTaskAssignmentV3 extends Omit<WorkerTaskAssignmentV2, "workspace"> {
885
+ workspace: {
886
+ folderName: string;
887
+ archives: WorkerTaskWorkspaceArchiveV3[];
888
+ files: WorkerTaskWorkspaceFileV2[];
871
889
  };
872
890
  }
873
891
  export type WorkerClaimTaskResponseV2 = {
874
892
  protocolVersion: 2;
875
- action: 'idle' | 'quiesce_for_update';
893
+ action: "idle" | "quiesce_for_update";
876
894
  assignment: null;
877
895
  lease: null;
878
896
  updatePolicy: AgentWorkerUpdatePolicyResponse | null;
879
897
  } | {
880
898
  protocolVersion: 2;
881
- action: 'run';
899
+ action: "run";
882
900
  assignment: WorkerTaskAssignmentV2;
883
901
  lease: {
884
902
  token: string;
@@ -886,8 +904,36 @@ export type WorkerClaimTaskResponseV2 = {
886
904
  };
887
905
  updatePolicy: AgentWorkerUpdatePolicyResponse | null;
888
906
  };
889
- export type WorkerClaimAgentTaskRequest = WorkerClaimTaskRequestV2;
890
- export type WorkerClaimAgentTaskResponse = WorkerClaimTaskResponseV2;
907
+ export type WorkerClaimTaskResponseV3 = {
908
+ protocolVersion: 3;
909
+ action: "idle" | "quiesce_for_update";
910
+ assignment: null;
911
+ lease: null;
912
+ updatePolicy: AgentWorkerUpdatePolicyResponse | null;
913
+ } | {
914
+ protocolVersion: 3;
915
+ action: "run";
916
+ assignment: WorkerTaskAssignmentV3;
917
+ lease: {
918
+ token: string;
919
+ expiresAt: string;
920
+ };
921
+ updatePolicy: AgentWorkerUpdatePolicyResponse | null;
922
+ };
923
+ export type WorkerClaimAgentTaskRequest = WorkerClaimTaskRequestV2 | WorkerClaimTaskRequestV3;
924
+ export type WorkerClaimAgentTaskResponse = WorkerClaimTaskResponseV2 | WorkerClaimTaskResponseV3;
925
+ export interface WorkerAcknowledgeAgentTaskClaimRequest {
926
+ workerKey: string;
927
+ leaseToken: string;
928
+ }
929
+ export interface WorkerAcknowledgeAgentTaskClaimResponse {
930
+ taskId: number;
931
+ acknowledged: true;
932
+ lease: {
933
+ token: string;
934
+ expiresAt: string;
935
+ };
936
+ }
891
937
  export interface RegisterAgentBundleRequest {
892
938
  sha256: string;
893
939
  fileName: string;
@@ -899,7 +945,7 @@ export interface RegisterAgentBundleResponse {
899
945
  sha256: string;
900
946
  fileName: string;
901
947
  sizeBytes: number;
902
- registrationSource: 'EVAL';
948
+ registrationSource: "EVAL";
903
949
  createdAt: string;
904
950
  };
905
951
  }
@@ -940,7 +986,7 @@ export interface AgentWorkerUpdatePolicyResponse {
940
986
  export interface WorkerUpdateIntentRequest {
941
987
  workerKey: string;
942
988
  environment?: string;
943
- reason?: 'manual_update' | 'setup_apply' | 'server_policy';
989
+ reason?: "manual_update" | "setup_apply" | "server_policy";
944
990
  }
945
991
  export interface WorkerUpdateIntentResponse {
946
992
  intent: {
@@ -960,7 +1006,7 @@ export interface WorkerHeartbeatAgentTaskRequest {
960
1006
  }
961
1007
  export interface WorkerHeartbeatAgentTaskResponse {
962
1008
  leaseExpiresAt: string;
963
- action: 'continue' | 'abort';
1009
+ action: "continue" | "abort";
964
1010
  }
965
1011
  export interface WorkerCreateAgentTaskEventRequest {
966
1012
  kind?: AgentTaskEventKind;
@@ -1127,7 +1173,7 @@ export interface GameEvalTargetResult {
1127
1173
  evidence?: Record<string, unknown>;
1128
1174
  }
1129
1175
  export declare const GAME_EVAL_DEGRADATION_ATTRIBUTION_VALUES: readonly ["instrument", "game", "none"];
1130
- export type GameEvalDegradationAttribution = typeof GAME_EVAL_DEGRADATION_ATTRIBUTION_VALUES[number];
1176
+ export type GameEvalDegradationAttribution = (typeof GAME_EVAL_DEGRADATION_ATTRIBUTION_VALUES)[number];
1131
1177
  export interface GameEvalVerdict {
1132
1178
  mode: GameEvalMode;
1133
1179
  judgeAgent: AgentRuntime;
@@ -1229,22 +1275,22 @@ export interface AdminAgentWorkersStatusResponse {
1229
1275
  oldestQueuedAgeMs: number | null;
1230
1276
  }
1231
1277
  export declare const AGENT_TASK_UNAVAILABLE_REASON_VALUES: readonly ["insufficient_credits", "weekly_generation_limit_reached", "game_count_limit_reached", "storage_limit_reached", "active_task_exists", "active_task_cap_reached", "no_online_worker", "app_not_eligible_for_update", "first_party_requires_playdrop_cloud_origin"];
1232
- export type AgentTaskUnavailableReason = typeof AGENT_TASK_UNAVAILABLE_REASON_VALUES[number];
1278
+ export type AgentTaskUnavailableReason = (typeof AGENT_TASK_UNAVAILABLE_REASON_VALUES)[number];
1233
1279
  export declare const CREATOR_PLAN_TIER_VALUES: readonly ["BASIC", "PLUS", "PRO"];
1234
- export type CreatorPlanTier = typeof CREATOR_PLAN_TIER_VALUES[number];
1235
- export type CreatorTaskFundingSource = 'INCLUDED' | 'CREDITS' | 'PERSONAL';
1280
+ export type CreatorPlanTier = (typeof CREATOR_PLAN_TIER_VALUES)[number];
1281
+ export type CreatorTaskFundingSource = "INCLUDED" | "CREDITS" | "PERSONAL";
1236
1282
  export interface CreatorPaidSubscriptionSummary {
1237
- tier: Exclude<CreatorPlanTier, 'BASIC'>;
1283
+ tier: Exclude<CreatorPlanTier, "BASIC">;
1238
1284
  status: string;
1239
1285
  currentPeriodStart: string | null;
1240
1286
  currentPeriodEnd: string | null;
1241
1287
  cancelAtPeriodEnd: boolean;
1242
- scheduledTier: Exclude<CreatorPlanTier, 'BASIC'> | null;
1288
+ scheduledTier: Exclude<CreatorPlanTier, "BASIC"> | null;
1243
1289
  scheduledChangeAt: string | null;
1244
1290
  }
1245
1291
  export interface CreatorPlanGrantSummary {
1246
1292
  id: number;
1247
- tier: Exclude<CreatorPlanTier, 'BASIC'>;
1293
+ tier: Exclude<CreatorPlanTier, "BASIC">;
1248
1294
  startsAt: string;
1249
1295
  endsAt: string;
1250
1296
  }
@@ -1329,8 +1375,8 @@ export interface AppAgentTaskResponse {
1329
1375
  task: AgentTaskResponse | null;
1330
1376
  events: AgentTaskEventResponse[];
1331
1377
  }
1332
- export type CreatorGameState = 'CREATING' | 'FAILED_CREATE' | 'DRAFT' | 'LIVE' | 'LIVE_WITH_DRAFT' | 'UPDATING' | 'FAILED_UPDATE';
1333
- export type CreatorGameActionKind = 'notify' | 'publish' | 'share' | 'play' | 'edit' | 'retry' | 'cancel' | 'delete' | 'history';
1378
+ export type CreatorGameState = "CREATING" | "FAILED_CREATE" | "DRAFT" | "LIVE" | "LIVE_WITH_DRAFT" | "UPDATING" | "FAILED_UPDATE";
1379
+ export type CreatorGameActionKind = "notify" | "publish" | "share" | "play" | "edit" | "retry" | "cancel" | "delete" | "history";
1334
1380
  export interface CreatorGameAction {
1335
1381
  kind: CreatorGameActionKind;
1336
1382
  enabled: boolean;
@@ -1349,7 +1395,7 @@ export interface CreatorGameListItem {
1349
1395
  emoji?: string | null;
1350
1396
  color?: string | null;
1351
1397
  draftPlayed: boolean;
1352
- primaryAction: 'open' | 'retry' | 'cancel' | 'play' | 'publish' | 'share';
1398
+ primaryAction: "open" | "retry" | "cancel" | "play" | "publish" | "share";
1353
1399
  actions: CreatorGameAction[];
1354
1400
  }
1355
1401
  export interface CreatorGamesListResponse {
@@ -1377,7 +1423,7 @@ export interface CreatorGameShareResponse {
1377
1423
  }
1378
1424
  export interface CreatorGameCreatorFeedbackStatusRequest {
1379
1425
  appVersionId: number;
1380
- creatorFeedbackStatus: Extract<AgentTaskCreatorFeedbackStatus, 'VIEWED' | 'PLAYED' | 'APPROVED' | 'DISAPPROVED'>;
1426
+ creatorFeedbackStatus: Extract<AgentTaskCreatorFeedbackStatus, "VIEWED" | "PLAYED" | "APPROVED" | "DISAPPROVED">;
1381
1427
  comment?: string;
1382
1428
  }
1383
1429
  export interface CreatorGameCreatorFeedbackStatusResponse {
@@ -1406,6 +1452,7 @@ export interface CreationGameListItem {
1406
1452
  clearable?: boolean;
1407
1453
  activeTask?: {
1408
1454
  taskId: number;
1455
+ status: "queued" | "running";
1409
1456
  stepLabel: string;
1410
1457
  message: string;
1411
1458
  startedAt: string;
@@ -1417,7 +1464,7 @@ export interface CreationGameListItem {
1417
1464
  updatedAt: string;
1418
1465
  }
1419
1466
  export declare const APP_LISTING_DRAFT_MEDIA_SLOT_VALUES: readonly ["icon", "heroPortrait", "heroLandscape", "socialLandscape", "screenshotPortrait", "screenshotLandscape", "videoPortrait", "videoLandscape"];
1420
- export type AppListingDraftMediaSlot = typeof APP_LISTING_DRAFT_MEDIA_SLOT_VALUES[number];
1467
+ export type AppListingDraftMediaSlot = (typeof APP_LISTING_DRAFT_MEDIA_SLOT_VALUES)[number];
1421
1468
  export interface AppListingDraftResponse {
1422
1469
  appId: number;
1423
1470
  appName: string;
@@ -1471,7 +1518,7 @@ export interface CreationConversationItemBase {
1471
1518
  versionId?: number;
1472
1519
  }
1473
1520
  export interface CreationCreatorPromptItem extends CreationConversationItemBase {
1474
- kind: 'creator_prompt';
1521
+ kind: "creator_prompt";
1475
1522
  taskId: number;
1476
1523
  text: string;
1477
1524
  attachments: Array<{
@@ -1485,7 +1532,7 @@ export interface CreationTaskMaterial {
1485
1532
  id: number;
1486
1533
  kind: string;
1487
1534
  title: string;
1488
- presentation: 'frame' | 'asset';
1535
+ presentation: "frame" | "asset";
1489
1536
  url: string;
1490
1537
  posterUrl?: string | null;
1491
1538
  phase?: string | null;
@@ -1499,8 +1546,9 @@ export interface CreationGamePreview {
1499
1546
  iconUrl?: string | null;
1500
1547
  }
1501
1548
  export interface CreationTaskItem extends CreationConversationItemBase {
1502
- kind: 'task';
1549
+ kind: "task";
1503
1550
  taskId: number;
1551
+ taskKind: AgentTaskKind;
1504
1552
  attempt: number;
1505
1553
  status: string;
1506
1554
  cleared?: boolean;
@@ -1519,7 +1567,7 @@ export interface CreationTaskItem extends CreationConversationItemBase {
1519
1567
  gamePreview?: CreationGamePreview;
1520
1568
  }
1521
1569
  export interface CreationAgentResponseItem extends CreationConversationItemBase {
1522
- kind: 'agent_response';
1570
+ kind: "agent_response";
1523
1571
  taskId: number;
1524
1572
  attempt: number;
1525
1573
  text: string;
@@ -1537,7 +1585,7 @@ export interface CreationAgentResponseItem extends CreationConversationItemBase
1537
1585
  }>;
1538
1586
  }
1539
1587
  export interface CreationVersionItem extends CreationConversationItemBase, CreationVersionCard {
1540
- kind: 'version';
1588
+ kind: "version";
1541
1589
  versionId: number;
1542
1590
  }
1543
1591
  export type CreationConversationItem = CreationCreatorPromptItem | CreationTaskItem | CreationAgentResponseItem | CreationVersionItem;
@@ -1653,7 +1701,7 @@ export interface AdminAppsListResponse {
1653
1701
  apps: AdminAppResponse[];
1654
1702
  }
1655
1703
  export declare const PLATFORM_ANALYTICS_CLIENT_SURFACE_VALUES: readonly ["web_desktop", "web_mobile", "native_ios", "native_macos", "native_android", "native_windows", "cli", "admin"];
1656
- export type PlatformAnalyticsClientSurface = typeof PLATFORM_ANALYTICS_CLIENT_SURFACE_VALUES[number];
1704
+ export type PlatformAnalyticsClientSurface = (typeof PLATFORM_ANALYTICS_CLIENT_SURFACE_VALUES)[number];
1657
1705
  export interface AdminPlatformAnalyticsDailyBucket {
1658
1706
  dateUtc: string;
1659
1707
  newAccounts: number;
@@ -1760,9 +1808,9 @@ export interface AdminPlatformAnalyticsResponse {
1760
1808
  clientSurfacesDaily: AdminPlatformAnalyticsClientSurfaceDailyPoint[];
1761
1809
  }
1762
1810
  export declare const GAMEPLAY_SESSION_MODE_VALUES: readonly ["PLAY", "CREATOR_PLAYTEST", "REVIEW", "CAPTURE"];
1763
- export type GameplaySessionMode = typeof GAMEPLAY_SESSION_MODE_VALUES[number];
1811
+ export type GameplaySessionMode = (typeof GAMEPLAY_SESSION_MODE_VALUES)[number];
1764
1812
  export declare const GAMEPLAY_SESSION_ACTIVITY_STATE_VALUES: readonly ["ACTIVE", "PAUSED"];
1765
- export type GameplaySessionActivityState = typeof GAMEPLAY_SESSION_ACTIVITY_STATE_VALUES[number];
1813
+ export type GameplaySessionActivityState = (typeof GAMEPLAY_SESSION_ACTIVITY_STATE_VALUES)[number];
1766
1814
  export interface GameplaySessionStartRequest {
1767
1815
  sessionId: string;
1768
1816
  appId: number;
@@ -1786,8 +1834,8 @@ export interface GameplaySessionResponse {
1786
1834
  export declare const TRACTION_ANALYTICS_GRANULARITY_VALUES: readonly ["day", "week", "month"];
1787
1835
  export declare const TRACTION_ANALYTICS_MAX_RANGE_DAYS = 731;
1788
1836
  export declare const TRACTION_ANALYTICS_SPLIT_VALUES: readonly ["all", "client", "credential", "attribution"];
1789
- export type TractionAnalyticsGranularity = typeof TRACTION_ANALYTICS_GRANULARITY_VALUES[number];
1790
- export type TractionAnalyticsSplit = typeof TRACTION_ANALYTICS_SPLIT_VALUES[number];
1837
+ export type TractionAnalyticsGranularity = (typeof TRACTION_ANALYTICS_GRANULARITY_VALUES)[number];
1838
+ export type TractionAnalyticsSplit = (typeof TRACTION_ANALYTICS_SPLIT_VALUES)[number];
1791
1839
  export interface AdminTractionAnalyticsRequest {
1792
1840
  fromDate: string;
1793
1841
  toDate: string;
@@ -1831,14 +1879,14 @@ export interface TractionAnalyticsResponse {
1831
1879
  breakdown: TractionAnalyticsBreakdown | null;
1832
1880
  }
1833
1881
  export declare const ADMIN_PLAY_TRADE_VIEW_VALUES: readonly ["creator", "game"];
1834
- export type AdminPlayTradeView = typeof ADMIN_PLAY_TRADE_VIEW_VALUES[number];
1882
+ export type AdminPlayTradeView = (typeof ADMIN_PLAY_TRADE_VIEW_VALUES)[number];
1835
1883
  export interface AdminPlayTradeRequest {
1836
1884
  fromDate: string;
1837
1885
  toDate: string;
1838
1886
  view: AdminPlayTradeView;
1839
1887
  }
1840
1888
  export interface AdminPlayTradeCreatorRow {
1841
- kind: 'creator';
1889
+ kind: "creator";
1842
1890
  creatorId: number;
1843
1891
  username: string;
1844
1892
  displayName: string;
@@ -1847,7 +1895,7 @@ export interface AdminPlayTradeCreatorRow {
1847
1895
  balance: number;
1848
1896
  }
1849
1897
  export interface AdminPlayTradeGameRow {
1850
- kind: 'game';
1898
+ kind: "game";
1851
1899
  appId: number;
1852
1900
  appName: string;
1853
1901
  displayName: string;
@@ -1866,7 +1914,7 @@ export interface AdminPlayTradeResponse {
1866
1914
  rows: AdminPlayTradeRow[];
1867
1915
  }
1868
1916
  export declare const CREATOR_ACQUISITION_SOURCE_VALUES: readonly ["google_ads", "applovin", "organic", "social", "search", "other", "unattributed"];
1869
- export type CreatorAcquisitionSource = typeof CREATOR_ACQUISITION_SOURCE_VALUES[number];
1917
+ export type CreatorAcquisitionSource = (typeof CREATOR_ACQUISITION_SOURCE_VALUES)[number];
1870
1918
  export interface AdminCreatorAcquisitionAnalyticsRequest {
1871
1919
  fromDate: string;
1872
1920
  toDate: string;
@@ -1904,18 +1952,18 @@ export interface AdminPaidAcquisitionAnalyticsRequest {
1904
1952
  toDate: string;
1905
1953
  refreshProviders?: boolean;
1906
1954
  }
1907
- export type PaidAcquisitionSource = 'PLAYDROP' | 'GOOGLE_ADS' | 'APPLOVIN' | 'SINGULAR';
1908
- export type PaidAcquisitionSourceStatus = 'ready' | 'syncing' | 'unconfigured' | 'error';
1955
+ export type PaidAcquisitionSource = "PLAYDROP" | "GOOGLE_ADS" | "APPLOVIN" | "SINGULAR";
1956
+ export type PaidAcquisitionSourceStatus = "ready" | "syncing" | "unconfigured" | "error";
1909
1957
  export interface PaidAcquisitionSourceHealth {
1910
1958
  source: PaidAcquisitionSource;
1911
1959
  status: PaidAcquisitionSourceStatus;
1912
1960
  message: string | null;
1913
1961
  }
1914
1962
  export interface PaidAcquisitionCreatorCampaign {
1915
- provider: 'GOOGLE_ADS';
1963
+ provider: "GOOGLE_ADS";
1916
1964
  providerCampaignId: string | null;
1917
1965
  campaignName: string;
1918
- surface: 'WEB';
1966
+ surface: "WEB";
1919
1967
  spendCents: number | null;
1920
1968
  clicks: number | null;
1921
1969
  accounts: number;
@@ -1926,11 +1974,11 @@ export interface PaidAcquisitionCreatorCampaign {
1926
1974
  reachedTenPlays: number;
1927
1975
  }
1928
1976
  export interface PaidAcquisitionPlayerCampaign {
1929
- provider: 'GOOGLE_ADS' | 'APPLOVIN';
1977
+ provider: "GOOGLE_ADS" | "APPLOVIN";
1930
1978
  providerCampaignId: string;
1931
1979
  campaignName: string;
1932
1980
  gameName: string | null;
1933
- surface: 'IOS' | 'UNKNOWN';
1981
+ surface: "IOS" | "UNKNOWN";
1934
1982
  spendCents: number | null;
1935
1983
  clicks: number | null;
1936
1984
  installs: number | null;
@@ -1940,7 +1988,7 @@ export interface PaidAcquisitionPlayerCampaign {
1940
1988
  export interface PaidAcquisitionAnalyticsResponse {
1941
1989
  fromDate: string;
1942
1990
  toDate: string;
1943
- timezone: 'UTC';
1991
+ timezone: "UTC";
1944
1992
  generatedAt: string;
1945
1993
  sources: PaidAcquisitionSourceHealth[];
1946
1994
  creatorCampaigns: PaidAcquisitionCreatorCampaign[];
@@ -1995,7 +2043,7 @@ export interface PublicUser {
1995
2043
  id: number;
1996
2044
  username: string;
1997
2045
  displayName: string;
1998
- role: 'CREATOR' | 'ADMIN';
2046
+ role: "CREATOR" | "ADMIN";
1999
2047
  selectedProfileAssetRef: string;
2000
2048
  profileAssetPreviewUrl: string;
2001
2049
  socialImageUrl: string | null;
@@ -2028,7 +2076,7 @@ export interface MeUser extends PublicUser {
2028
2076
  unclaimedFreeCreditCount: number;
2029
2077
  creatorQuota?: CreatorQuotaResponse | null;
2030
2078
  creatorPlan?: CreatorPlanState | null;
2031
- preferredAiAgent: 'CODEX' | 'CLAUDE_CODE' | 'OTHER' | null;
2079
+ preferredAiAgent: "CODEX" | "CLAUDE_CODE" | "OTHER" | null;
2032
2080
  preferredLocale: SupportedLocale;
2033
2081
  preferredLocaleAutoDetect: boolean;
2034
2082
  }
@@ -2056,19 +2104,19 @@ export interface CreatorQuotaUsageResponse {
2056
2104
  storedContentBytes: number;
2057
2105
  }
2058
2106
  export interface CreatorQuotaResponse {
2059
- tier: 'CREATOR' | 'ADMIN';
2107
+ tier: "CREATOR" | "ADMIN";
2060
2108
  limits: CreatorQuotaLimitsResponse;
2061
2109
  usage: CreatorQuotaUsageResponse;
2062
2110
  }
2063
2111
  export type AdminUserDetail = MeUser & {
2064
- kind: 'HUMAN' | 'BOT' | 'AGENT';
2112
+ kind: "HUMAN" | "BOT" | "AGENT";
2065
2113
  };
2066
2114
  export interface AdminUserSummary {
2067
2115
  id: number;
2068
2116
  username: string;
2069
2117
  displayName: string;
2070
- role: 'GUEST' | 'CREATOR' | 'TEST_PLAYER' | 'ADMIN';
2071
- kind: 'HUMAN' | 'BOT' | 'AGENT';
2118
+ role: "GUEST" | "CREATOR" | "TEST_PLAYER" | "ADMIN";
2119
+ kind: "HUMAN" | "BOT" | "AGENT";
2072
2120
  selectedProfileAssetRef: string | null;
2073
2121
  creditBalance: number;
2074
2122
  createdAt: string;
@@ -2081,7 +2129,7 @@ export interface UpdateProfileRequest {
2081
2129
  githubUsername?: string | null;
2082
2130
  websiteUrl?: string | null;
2083
2131
  supportUrl?: string | null;
2084
- preferredAiAgent?: 'CODEX' | 'CLAUDE_CODE' | 'OTHER' | null;
2132
+ preferredAiAgent?: "CODEX" | "CLAUDE_CODE" | "OTHER" | null;
2085
2133
  }
2086
2134
  export interface UpdateProfileResponse {
2087
2135
  user: MeUser;
@@ -2108,20 +2156,20 @@ export interface DeleteMyAccountRequest {
2108
2156
  export interface DeleteMyAccountResponse {
2109
2157
  success: boolean;
2110
2158
  }
2111
- export type CreatorDeleteBlockingContentKind = 'ASSET_PACK' | 'ASSET' | 'ASSET_SPEC';
2112
- export type CreatorDeleteBlockingContentReason = 'asset_pack_in_use' | 'asset_in_use' | 'asset_spec_in_use' | 'asset_spec_has_assets' | 'asset_spec_has_versions';
2159
+ export type CreatorDeleteBlockingContentKind = "ASSET_PACK" | "ASSET" | "ASSET_SPEC";
2160
+ export type CreatorDeleteBlockingContentReason = "asset_pack_in_use" | "asset_in_use" | "asset_spec_in_use" | "asset_spec_has_assets" | "asset_spec_has_versions";
2113
2161
  export interface CreatorDeleteBlockingContent {
2114
2162
  kind: CreatorDeleteBlockingContentKind;
2115
2163
  name: string;
2116
2164
  reason: CreatorDeleteBlockingContentReason;
2117
2165
  }
2118
2166
  export interface CreatorDeleteBlockedResponse extends ApiErrorResponse {
2119
- error: 'creator_delete_blocked';
2167
+ error: "creator_delete_blocked";
2120
2168
  message: string;
2121
2169
  blockingContent: CreatorDeleteBlockingContent[];
2122
2170
  }
2123
2171
  export interface PrivacyExportLinkedAccount {
2124
- provider: 'PASSWORD' | 'GOOGLE' | 'X' | 'APPLE';
2172
+ provider: "PASSWORD" | "GOOGLE" | "X" | "APPLE";
2125
2173
  identifier: string | null;
2126
2174
  }
2127
2175
  export interface PrivacyExportFollowedCreator {
@@ -2171,7 +2219,7 @@ export interface PrivacyExportPublishedPack {
2171
2219
  export interface PrivacyExportAiGenerationJob {
2172
2220
  id: string;
2173
2221
  modality: AiGenerationType;
2174
- status: 'PENDING' | 'RUNNING' | 'SUCCESS' | 'FAILURE';
2222
+ status: "PENDING" | "RUNNING" | "SUCCESS" | "FAILURE";
2175
2223
  requestPrompt: string;
2176
2224
  requestPayload: unknown;
2177
2225
  resultData: unknown;
@@ -2210,10 +2258,10 @@ export interface UnlinkXResponse {
2210
2258
  export interface UnlinkGoogleResponse {
2211
2259
  success: boolean;
2212
2260
  }
2213
- export type NativeOAuthProvider = 'google' | 'x' | 'apple';
2261
+ export type NativeOAuthProvider = "google" | "x" | "apple";
2214
2262
  export type AppleOAuthProvider = NativeOAuthProvider;
2215
- export type AppleOAuthTarget = 'apple-playdrop-ios' | 'apple-playdrop-mac' | 'apple-playdrop-mac-beta' | 'apple-playdrop-mac-debug' | 'apple-music' | 'apple-games';
2216
- export type NativeOAuthTarget = AppleOAuthTarget | 'windows-playdrop';
2263
+ export type AppleOAuthTarget = "apple-playdrop-ios" | "apple-playdrop-mac" | "apple-playdrop-mac-beta" | "apple-playdrop-mac-debug" | "apple-music" | "apple-games";
2264
+ export type NativeOAuthTarget = AppleOAuthTarget | "windows-playdrop";
2217
2265
  export interface NativeOAuthLinkStartRequest {
2218
2266
  provider: NativeOAuthProvider;
2219
2267
  target?: NativeOAuthTarget;
@@ -2234,12 +2282,12 @@ export interface GoogleAppleSignInRequest {
2234
2282
  idToken: string;
2235
2283
  }
2236
2284
  export interface GoogleAppleLoginResponse {
2237
- result: 'login';
2285
+ result: "login";
2238
2286
  accessToken: string;
2239
2287
  user: PublicUser;
2240
2288
  }
2241
2289
  export interface GoogleAppleSignupResponse {
2242
- result: 'signup';
2290
+ result: "signup";
2243
2291
  pendingToken: string;
2244
2292
  }
2245
2293
  export type GoogleAppleSignInResponse = GoogleAppleLoginResponse | GoogleAppleSignupResponse;
@@ -2302,12 +2350,12 @@ export interface AppleSignInRequest {
2302
2350
  fullName?: string | null;
2303
2351
  }
2304
2352
  export interface AppleLoginResponse {
2305
- result: 'login';
2353
+ result: "login";
2306
2354
  accessToken: string;
2307
2355
  user: PublicUser;
2308
2356
  }
2309
2357
  export interface AppleSignupResponse {
2310
- result: 'signup';
2358
+ result: "signup";
2311
2359
  pendingToken: string;
2312
2360
  }
2313
2361
  export type AppleSignInResponse = AppleLoginResponse | AppleSignupResponse;
@@ -2342,12 +2390,12 @@ export interface GoogleOneTapExchangeRequest {
2342
2390
  nextPath?: string | null;
2343
2391
  }
2344
2392
  export interface GoogleOneTapLoginResponse {
2345
- result: 'login';
2393
+ result: "login";
2346
2394
  accessToken?: string;
2347
2395
  user: PublicUser;
2348
2396
  }
2349
2397
  export interface GoogleOneTapSignupResponse {
2350
- result: 'signup';
2398
+ result: "signup";
2351
2399
  pendingToken: string;
2352
2400
  }
2353
2401
  export type GoogleOneTapExchangeResponse = GoogleOneTapLoginResponse | GoogleOneTapSignupResponse;
@@ -2366,7 +2414,7 @@ export interface AppRuntimeAssetFileSummary {
2366
2414
  export interface AppRuntimeAssetSummary {
2367
2415
  assetRef: string;
2368
2416
  runtimeKey: string | null;
2369
- sourceType: 'OWNED' | 'DIRECT' | 'PACK';
2417
+ sourceType: "OWNED" | "DIRECT" | "PACK";
2370
2418
  sourcePackRef?: string | null;
2371
2419
  files: AppRuntimeAssetFileSummary[];
2372
2420
  }
@@ -2425,13 +2473,13 @@ export interface AppDetailResponse {
2425
2473
  export declare const APP_MORE_COLLECTION_KEYS: readonly ["by-creator", "similar", "remixes", "contains", "uses"];
2426
2474
  export type AppMoreCollectionKey = (typeof APP_MORE_COLLECTION_KEYS)[number];
2427
2475
  export type AppMoreItem = {
2428
- kind: 'APP';
2476
+ kind: "APP";
2429
2477
  app: AppResponse;
2430
2478
  } | {
2431
- kind: 'ASSET';
2479
+ kind: "ASSET";
2432
2480
  asset: AssetResponse;
2433
2481
  } | {
2434
- kind: 'PACK';
2482
+ kind: "PACK";
2435
2483
  pack: AssetPackResponse;
2436
2484
  };
2437
2485
  export interface AppMoreCollectionsRequest {
@@ -2455,12 +2503,12 @@ type RemixRelatedItemSummaryBase = {
2455
2503
  linkedVersionRef: string | null;
2456
2504
  };
2457
2505
  export type RemixRelatedItemSummary = ({
2458
- kind: 'APP';
2506
+ kind: "APP";
2459
2507
  appType: AppType;
2460
2508
  } & RemixRelatedItemSummaryBase) | ({
2461
- kind: 'ASSET';
2509
+ kind: "ASSET";
2462
2510
  } & RemixRelatedItemSummaryBase) | ({
2463
- kind: 'PACK';
2511
+ kind: "PACK";
2464
2512
  } & RemixRelatedItemSummaryBase);
2465
2513
  export interface ContentRemixRelationsResponse {
2466
2514
  remixedFrom: RemixRelatedItemSummary[];
@@ -2492,8 +2540,8 @@ export interface DevPlayerSummary {
2492
2540
  slot: number;
2493
2541
  username: string;
2494
2542
  displayName: string;
2495
- role: 'TEST_PLAYER';
2496
- kind: 'HUMAN';
2543
+ role: "TEST_PLAYER";
2544
+ kind: "HUMAN";
2497
2545
  ownerUserId: number;
2498
2546
  ownerUsername: string;
2499
2547
  }
@@ -2508,7 +2556,7 @@ export interface DevPlayerResetResponse {
2508
2556
  deletedLeaderboardScoreCount: number;
2509
2557
  deletedIapReceiptCount: number;
2510
2558
  }
2511
- export type LogSeverity = 'debug' | 'info' | 'warn' | 'error';
2559
+ export type LogSeverity = "debug" | "info" | "warn" | "error";
2512
2560
  export interface AppLogEntryContext {
2513
2561
  appName?: string | null;
2514
2562
  creatorUsername?: string | null;
@@ -2529,7 +2577,7 @@ export interface CreateAppResponse {
2529
2577
  templateUrl: string;
2530
2578
  sourceArchiveUrl?: string;
2531
2579
  }
2532
- export type RemixScaffoldMode = 'archive' | 'inline-html' | 'external-metadata-only';
2580
+ export type RemixScaffoldMode = "archive" | "inline-html" | "external-metadata-only";
2533
2581
  export interface ExternalRemixScaffoldMetadata {
2534
2582
  name: string;
2535
2583
  displayName: string;
@@ -2541,21 +2589,21 @@ export interface ExternalRemixScaffoldMetadata {
2541
2589
  surfaceTargets: AppSurface[];
2542
2590
  }
2543
2591
  export interface ArchiveRemixScaffoldResponse {
2544
- remixMode: 'archive';
2592
+ remixMode: "archive";
2545
2593
  html?: string | null;
2546
2594
  metadata?: Record<string, unknown>;
2547
2595
  archiveUrl: string;
2548
2596
  externalListingUrl?: string;
2549
2597
  }
2550
2598
  export interface InlineHtmlRemixScaffoldResponse {
2551
- remixMode: 'inline-html';
2599
+ remixMode: "inline-html";
2552
2600
  html: string;
2553
2601
  metadata?: Record<string, unknown>;
2554
2602
  archiveUrl?: string;
2555
2603
  externalListingUrl?: string;
2556
2604
  }
2557
2605
  export interface ExternalMetadataOnlyRemixScaffoldResponse {
2558
- remixMode: 'external-metadata-only';
2606
+ remixMode: "external-metadata-only";
2559
2607
  html?: string | null;
2560
2608
  metadata: ExternalRemixScaffoldMetadata;
2561
2609
  archiveUrl?: string;
@@ -2656,13 +2704,13 @@ export interface PaginationMeta {
2656
2704
  hasMore: boolean;
2657
2705
  }
2658
2706
  export declare const FEEDBACK_CLIENT_VALUES: readonly ["cli", "web", "games-ios", "music-ios", "games-android", "mac", "windows-playdrop", "other"];
2659
- export type FeedbackClient = typeof FEEDBACK_CLIENT_VALUES[number];
2707
+ export type FeedbackClient = (typeof FEEDBACK_CLIENT_VALUES)[number];
2660
2708
  export declare const MANUAL_FEEDBACK_CATEGORY_VALUES: readonly ["bug", "feature", "question", "content", "account", "other"];
2661
- export type ManualFeedbackCategory = typeof MANUAL_FEEDBACK_CATEGORY_VALUES[number];
2709
+ export type ManualFeedbackCategory = (typeof MANUAL_FEEDBACK_CATEGORY_VALUES)[number];
2662
2710
  export declare const FEEDBACK_CATEGORY_VALUES: readonly ["bug", "feature", "question", "content", "account", "other", "creator-task", "creator-survey", "worker-task", "daily-drop-idea"];
2663
- export type FeedbackCategory = typeof FEEDBACK_CATEGORY_VALUES[number];
2711
+ export type FeedbackCategory = (typeof FEEDBACK_CATEGORY_VALUES)[number];
2664
2712
  export declare const FEEDBACK_STATUS_VALUES: readonly ["sent", "ignored", "planned", "done"];
2665
- export type FeedbackStatus = typeof FEEDBACK_STATUS_VALUES[number];
2713
+ export type FeedbackStatus = (typeof FEEDBACK_STATUS_VALUES)[number];
2666
2714
  export interface FeedbackEntry {
2667
2715
  id: number;
2668
2716
  userId: number | null;
@@ -2743,6 +2791,7 @@ export interface CreatorSummaryResponse {
2743
2791
  appCount: number;
2744
2792
  assetCount: number;
2745
2793
  packCount: number;
2794
+ totalGamePlayCount: number;
2746
2795
  creatorAppTabCounts: {
2747
2796
  games: number;
2748
2797
  demos: number;
@@ -2765,15 +2814,15 @@ export interface AdminUserResponse {
2765
2814
  }
2766
2815
  export type UserDetailResponse = PublicUserResponse;
2767
2816
  export declare const SEARCH_RESULT_KIND_VALUES: readonly ["creator", "app", "asset", "asset-spec", "pack"];
2768
- export type SearchResultKind = typeof SEARCH_RESULT_KIND_VALUES[number];
2817
+ export type SearchResultKind = (typeof SEARCH_RESULT_KIND_VALUES)[number];
2769
2818
  export declare const SEARCH_KIND_VALUES: readonly ["all", "creator", "app", "asset", "asset-spec", "pack"];
2770
- export type SearchKind = typeof SEARCH_KIND_VALUES[number];
2819
+ export type SearchKind = (typeof SEARCH_KIND_VALUES)[number];
2771
2820
  export declare const SEARCH_MODE_VALUES: readonly ["grouped", "flat"];
2772
- export type SearchMode = typeof SEARCH_MODE_VALUES[number];
2821
+ export type SearchMode = (typeof SEARCH_MODE_VALUES)[number];
2773
2822
  export declare const SEARCH_ASSET_TYPE_VALUES: readonly ["image", "video", "audio", "song", "sfx", "3d"];
2774
- export type SearchAssetType = typeof SEARCH_ASSET_TYPE_VALUES[number];
2823
+ export type SearchAssetType = (typeof SEARCH_ASSET_TYPE_VALUES)[number];
2775
2824
  export declare const SEARCH_SORT_VALUES: readonly ["relevance", "views", "recent", "updated", "used", "newest", "likes", "downloads", "remixes", "comments", "assets", "apps", "alpha"];
2776
- export type SearchSort = typeof SEARCH_SORT_VALUES[number];
2825
+ export type SearchSort = (typeof SEARCH_SORT_VALUES)[number];
2777
2826
  export interface SearchRequest {
2778
2827
  q: string;
2779
2828
  mode?: SearchMode;
@@ -2798,7 +2847,7 @@ export interface SearchRequest {
2798
2847
  includeCounts?: boolean;
2799
2848
  }
2800
2849
  export declare const APP_LIST_SORT_VALUES: readonly ["newest", "updated", "views", "likes", "used"];
2801
- export type AppListSort = typeof APP_LIST_SORT_VALUES[number];
2850
+ export type AppListSort = (typeof APP_LIST_SORT_VALUES)[number];
2802
2851
  export interface AppBrowseRequest {
2803
2852
  limit?: number;
2804
2853
  offset?: number;
@@ -2852,7 +2901,7 @@ export interface HomeCreatorResponse {
2852
2901
  followsViewer?: boolean;
2853
2902
  }
2854
2903
  export declare const SAVED_ITEM_KIND_VALUES: readonly ["APP", "ASSET", "PACK"];
2855
- export type SavedItemKind = typeof SAVED_ITEM_KIND_VALUES[number];
2904
+ export type SavedItemKind = (typeof SAVED_ITEM_KIND_VALUES)[number];
2856
2905
  export interface ListTagsRequest {
2857
2906
  targetKind?: SavedItemKind;
2858
2907
  groupSlug?: string;
@@ -2882,7 +2931,7 @@ export interface TagDetailResponse {
2882
2931
  };
2883
2932
  }
2884
2933
  export declare const TAG_GROUP_SORT_VALUES: readonly ["alpha", "popularity"];
2885
- export type TagGroupSort = typeof TAG_GROUP_SORT_VALUES[number];
2934
+ export type TagGroupSort = (typeof TAG_GROUP_SORT_VALUES)[number];
2886
2935
  export interface TagGroupDetailResponse {
2887
2936
  group: TagGroupSummary;
2888
2937
  tags: PopularTagSummary[];
@@ -2935,39 +2984,39 @@ export declare function parseTagRef(value: string): {
2935
2984
  } | null;
2936
2985
  export declare function normalizeTagRef(value: string): string;
2937
2986
  export declare const ENGAGEMENT_EVENT_TYPE_VALUES: readonly ["VIEW", "LAUNCH", "PLAY", "DOWNLOAD", "LIKE", "UNLIKE", "DISLIKE", "UNDISLIKE", "SAVE", "UNSAVE", "FOLLOW", "UNFOLLOW"];
2938
- export type EngagementEventType = typeof ENGAGEMENT_EVENT_TYPE_VALUES[number];
2987
+ export type EngagementEventType = (typeof ENGAGEMENT_EVENT_TYPE_VALUES)[number];
2939
2988
  export declare const ENGAGEMENT_TARGET_KIND_VALUES: readonly ["CREATOR", "APP", "ASSET", "PACK"];
2940
- export type EngagementTargetKind = typeof ENGAGEMENT_TARGET_KIND_VALUES[number];
2989
+ export type EngagementTargetKind = (typeof ENGAGEMENT_TARGET_KIND_VALUES)[number];
2941
2990
  export declare const APP_LAUNCH_CONTEXT_VALUES: readonly ["CARD", "DETAIL", "OTHER", "PLAYTRADE", "ARENA"];
2942
- export type AppLaunchContext = typeof APP_LAUNCH_CONTEXT_VALUES[number];
2991
+ export type AppLaunchContext = (typeof APP_LAUNCH_CONTEXT_VALUES)[number];
2943
2992
  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"];
2944
- export type NotificationEventType = typeof NOTIFICATION_EVENT_TYPE_VALUES[number];
2993
+ export type NotificationEventType = (typeof NOTIFICATION_EVENT_TYPE_VALUES)[number];
2945
2994
  export declare const LIBRARY_CATEGORY_VALUES: readonly ["games", "demos", "tools", "templates", "images", "music", "sfx", "videos", "3d", "packs"];
2946
- export type LibraryCategory = typeof LIBRARY_CATEGORY_VALUES[number];
2995
+ export type LibraryCategory = (typeof LIBRARY_CATEGORY_VALUES)[number];
2947
2996
  export declare const LIBRARY_SORT_VALUES: readonly ["saved_desc", "alpha_asc"];
2948
- export type LibrarySort = typeof LIBRARY_SORT_VALUES[number];
2997
+ export type LibrarySort = (typeof LIBRARY_SORT_VALUES)[number];
2949
2998
  export declare const FOLLOWING_SORT_VALUES: readonly ["activity_desc", "alpha_asc"];
2950
- export type FollowingSort = typeof FOLLOWING_SORT_VALUES[number];
2999
+ export type FollowingSort = (typeof FOLLOWING_SORT_VALUES)[number];
2951
3000
  export declare const NOTIFICATION_STATUS_VALUES: readonly ["all", "unread"];
2952
- export type NotificationStatus = typeof NOTIFICATION_STATUS_VALUES[number];
3001
+ export type NotificationStatus = (typeof NOTIFICATION_STATUS_VALUES)[number];
2953
3002
  export declare const NOTIFICATION_PREVIEW_KIND_VALUES: readonly ["item", "person", "credit", "account"];
2954
- export type NotificationPreviewKind = typeof NOTIFICATION_PREVIEW_KIND_VALUES[number];
3003
+ export type NotificationPreviewKind = (typeof NOTIFICATION_PREVIEW_KIND_VALUES)[number];
2955
3004
  export declare const FOLLOWING_APP_SECTION_VALUES: readonly ["games", "demos", "tools", "templates"];
2956
- export type FollowingAppSection = typeof FOLLOWING_APP_SECTION_VALUES[number];
3005
+ export type FollowingAppSection = (typeof FOLLOWING_APP_SECTION_VALUES)[number];
2957
3006
  export declare const FOLLOWING_FEED_SECTION_VALUES: readonly ["games", "demos", "tools", "templates", "images", "music", "sfx", "speech", "videos", "3d", "packs"];
2958
- export type FollowingFeedSection = typeof FOLLOWING_FEED_SECTION_VALUES[number];
3007
+ export type FollowingFeedSection = (typeof FOLLOWING_FEED_SECTION_VALUES)[number];
2959
3008
  export interface SavedAppItem {
2960
- kind: 'APP';
3009
+ kind: "APP";
2961
3010
  savedAt: string;
2962
3011
  app: AppResponse;
2963
3012
  }
2964
3013
  export interface SavedAssetItem {
2965
- kind: 'ASSET';
3014
+ kind: "ASSET";
2966
3015
  savedAt: string;
2967
3016
  asset: AssetResponse;
2968
3017
  }
2969
3018
  export interface SavedPackItem {
2970
- kind: 'PACK';
3019
+ kind: "PACK";
2971
3020
  savedAt: string;
2972
3021
  pack: AssetPackResponse;
2973
3022
  }
@@ -3006,27 +3055,27 @@ export interface FollowingAssetsFeedResponse {
3006
3055
  assets: AssetResponse[];
3007
3056
  }
3008
3057
  export interface FollowingPacksFeedResponse {
3009
- section: 'packs';
3058
+ section: "packs";
3010
3059
  packs: AssetPackResponse[];
3011
3060
  }
3012
3061
  export type FollowingFeedResponse = FollowingAppsFeedResponse | FollowingAssetsFeedResponse | FollowingPacksFeedResponse;
3013
3062
  export interface CreatorSearchResult {
3014
- kind: 'creator';
3063
+ kind: "creator";
3015
3064
  targetPath: string;
3016
3065
  creator: HomeCreatorResponse;
3017
3066
  }
3018
3067
  export interface AppSearchResult {
3019
- kind: 'app';
3068
+ kind: "app";
3020
3069
  targetPath: string;
3021
3070
  app: AppResponse;
3022
3071
  }
3023
3072
  export interface AssetSearchResult {
3024
- kind: 'asset';
3073
+ kind: "asset";
3025
3074
  targetPath: string;
3026
3075
  asset: AssetResponse;
3027
3076
  }
3028
3077
  export interface AssetPackSearchResult {
3029
- kind: 'pack';
3078
+ kind: "pack";
3030
3079
  targetPath: string;
3031
3080
  pack: AssetPackResponse;
3032
3081
  }
@@ -3072,7 +3121,7 @@ export interface CreatorBlockMutationResponse {
3072
3121
  blocked: boolean;
3073
3122
  }
3074
3123
  export declare const MODERATION_REPORT_REASON_CODE_VALUES: readonly ["SPAM", "HARASSMENT", "NSFW", "COPYRIGHT", "IMPERSONATION", "OTHER"];
3075
- export type ModerationReportReasonCode = typeof MODERATION_REPORT_REASON_CODE_VALUES[number];
3124
+ export type ModerationReportReasonCode = (typeof MODERATION_REPORT_REASON_CODE_VALUES)[number];
3076
3125
  export interface CreateModerationReportRequest {
3077
3126
  reasonCode: ModerationReportReasonCode;
3078
3127
  message?: string;
@@ -3123,10 +3172,10 @@ export interface DeleteContentCommentResponse {
3123
3172
  export interface CreatorFollowMutationResponse {
3124
3173
  following: boolean;
3125
3174
  }
3126
- 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"];
3127
- export type FreeCreditObjectiveKey = typeof FREE_CREDIT_OBJECTIVE_VALUES[number];
3175
+ 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", "FIRST_CREATOR_PLAY", "CREATOR_PLAYS_10", "CREATOR_PLAYS_100", "CREATOR_PLAYS_1000", "CREATOR_PLAYS_10000", "CREATOR_SURVEY", "SHARE_GAME", "BOOST_GAME"];
3176
+ export type FreeCreditObjectiveKey = (typeof FREE_CREDIT_OBJECTIVE_VALUES)[number];
3128
3177
  export declare const FREE_CREDIT_REWARD_STATUS_VALUES: readonly ["INCOMPLETE", "CLAIMABLE", "CLAIMED"];
3129
- export type FreeCreditRewardStatus = typeof FREE_CREDIT_REWARD_STATUS_VALUES[number];
3178
+ export type FreeCreditRewardStatus = (typeof FREE_CREDIT_REWARD_STATUS_VALUES)[number];
3130
3179
  export interface FreeCreditObjectiveSummary {
3131
3180
  objective: FreeCreditObjectiveKey;
3132
3181
  title: string;
@@ -3141,11 +3190,24 @@ export interface FreeCreditObjectiveSummary {
3141
3190
  lastCompletedAt: string | null;
3142
3191
  lastClaimedAt: string | null;
3143
3192
  }
3193
+ export interface CreatorChallengePlanReward {
3194
+ tier: Exclude<CreatorPlanTier, "BASIC">;
3195
+ durationDays: number;
3196
+ }
3197
+ export interface CreatorChallengeMilestoneSummary extends FreeCreditObjectiveSummary {
3198
+ playsRequired: number;
3199
+ creatorPlanReward: CreatorChallengePlanReward | null;
3200
+ }
3201
+ export interface CreatorChallengeState {
3202
+ eligiblePlays: number;
3203
+ milestones: CreatorChallengeMilestoneSummary[];
3204
+ }
3144
3205
  export interface FreeCreditsResponse {
3145
3206
  items: FreeCreditObjectiveSummary[];
3146
3207
  unclaimedCount: number;
3147
3208
  inviteCode: string | null;
3148
3209
  inviteUrlPath: string | null;
3210
+ creatorChallenge?: CreatorChallengeState | null;
3149
3211
  }
3150
3212
  export interface InvitePreviewResponse {
3151
3213
  inviteCode: string;
@@ -3173,20 +3235,22 @@ export interface ClaimFreeCreditRewardResponse {
3173
3235
  rewardId: number;
3174
3236
  objective: FreeCreditObjectiveKey;
3175
3237
  rewardCredits: number;
3176
- transactionId: number;
3238
+ transactionId: number | null;
3177
3239
  creditBalance: number;
3178
3240
  unclaimedCount: number;
3179
3241
  objectiveSummary: FreeCreditObjectiveSummary;
3180
3242
  counterpartUser: InviteUserSummary | null;
3243
+ creatorPlanGrant: CreatorPlanGrantSummary | null;
3244
+ creatorChallenge: CreatorChallengeState | null;
3181
3245
  }
3182
3246
  export declare const CREATOR_SURVEY_GAME_RESULT_VALUES: readonly ["JUST_LIKE_IMAGINED", "PRETTY_CLOSE", "PRETTY_DIFFERENT"];
3183
- export type CreatorSurveyGameResult = typeof CREATOR_SURVEY_GAME_RESULT_VALUES[number];
3247
+ export type CreatorSurveyGameResult = (typeof CREATOR_SURVEY_GAME_RESULT_VALUES)[number];
3184
3248
  export declare const CREATOR_SURVEY_BEST_PART_VALUES: readonly ["IDEA_TO_GAME", "PLAY_RIGHT_AWAY", "CHAT_WITH_AI", "SHARE_WITH_PEOPLE", "OTHER"];
3185
- export type CreatorSurveyBestPart = typeof CREATOR_SURVEY_BEST_PART_VALUES[number];
3249
+ export type CreatorSurveyBestPart = (typeof CREATOR_SURVEY_BEST_PART_VALUES)[number];
3186
3250
  export declare const CREATOR_SURVEY_TRICKIEST_PART_VALUES: readonly ["AI_UNDERSTANDING", "FIXING_PROBLEMS", "PUBLISHING_AND_SHARING", "NOTHING", "OTHER"];
3187
- export type CreatorSurveyTrickiestPart = typeof CREATOR_SURVEY_TRICKIEST_PART_VALUES[number];
3251
+ export type CreatorSurveyTrickiestPart = (typeof CREATOR_SURVEY_TRICKIEST_PART_VALUES)[number];
3188
3252
  export declare const CREATOR_SURVEY_TELL_FRIENDS_VALUES: readonly ["YES_FOR_SURE", "NOT_YET"];
3189
- export type CreatorSurveyTellFriends = typeof CREATOR_SURVEY_TELL_FRIENDS_VALUES[number];
3253
+ export type CreatorSurveyTellFriends = (typeof CREATOR_SURVEY_TELL_FRIENDS_VALUES)[number];
3190
3254
  export interface SubmitCreatorSurveyRequest {
3191
3255
  gameResult: CreatorSurveyGameResult;
3192
3256
  bestPart: CreatorSurveyBestPart;
@@ -3199,7 +3263,7 @@ export interface SubmitCreatorSurveyRequest {
3199
3263
  export interface SubmitCreatorSurveyResponse {
3200
3264
  feedbackId: number;
3201
3265
  rewardId: number;
3202
- objective: Extract<FreeCreditObjectiveKey, 'CREATOR_SURVEY'>;
3266
+ objective: Extract<FreeCreditObjectiveKey, "CREATOR_SURVEY">;
3203
3267
  rewardCredits: number;
3204
3268
  transactionId: number;
3205
3269
  creditBalance: number;
@@ -3260,19 +3324,19 @@ export interface PushSubscriptionMutationResponse {
3260
3324
  subscribed: boolean;
3261
3325
  }
3262
3326
  export declare const CREATOR_EMAIL_CHANNEL_VALUES: readonly ["WELCOME", "CREATOR_ACTIVITY", "CREATOR_TIPS", "CREATOR_NEWS"];
3263
- export type CreatorEmailChannel = typeof CREATOR_EMAIL_CHANNEL_VALUES[number];
3327
+ export type CreatorEmailChannel = (typeof CREATOR_EMAIL_CHANNEL_VALUES)[number];
3264
3328
  export declare const CREATOR_ENGAGEMENT_RULE_EXECUTION_STATUS_VALUES: readonly ["PENDING", "PROCESSING", "SUPPRESSED", "COMPLETED", "PARTIAL_FAILED", "FAILED"];
3265
- export type CreatorEngagementRuleExecutionStatus = typeof CREATOR_ENGAGEMENT_RULE_EXECUTION_STATUS_VALUES[number];
3329
+ export type CreatorEngagementRuleExecutionStatus = (typeof CREATOR_ENGAGEMENT_RULE_EXECUTION_STATUS_VALUES)[number];
3266
3330
  export declare const COMMUNICATION_ACTION_EXECUTION_STATUS_VALUES: readonly ["PENDING", "PROCESSING", "SUPPRESSED", "DRY_RUN", "SENT", "DELIVERED", "FAILED"];
3267
- export type CommunicationActionExecutionStatus = typeof COMMUNICATION_ACTION_EXECUTION_STATUS_VALUES[number];
3331
+ export type CommunicationActionExecutionStatus = (typeof COMMUNICATION_ACTION_EXECUTION_STATUS_VALUES)[number];
3268
3332
  export declare const COMMUNICATION_ACTION_TYPE_VALUES: readonly ["EMAIL", "IN_APP_NOTIFICATION"];
3269
- export type CommunicationActionType = typeof COMMUNICATION_ACTION_TYPE_VALUES[number];
3333
+ export type CommunicationActionType = (typeof COMMUNICATION_ACTION_TYPE_VALUES)[number];
3270
3334
  export declare const EMAIL_SUPPRESSION_REASON_VALUES: readonly ["HARD_BOUNCE", "COMPLAINT", "SOFT_BOUNCE_THRESHOLD", "MANUAL"];
3271
- export type EmailSuppressionReason = typeof EMAIL_SUPPRESSION_REASON_VALUES[number];
3335
+ export type EmailSuppressionReason = (typeof EMAIL_SUPPRESSION_REASON_VALUES)[number];
3272
3336
  export declare const EMAIL_MESSAGE_PROVIDER_STATUS_VALUES: readonly ["PROCESSING", "DRY_RUN", "SENT", "FAILED"];
3273
- export type EmailMessageProviderStatus = typeof EMAIL_MESSAGE_PROVIDER_STATUS_VALUES[number];
3337
+ export type EmailMessageProviderStatus = (typeof EMAIL_MESSAGE_PROVIDER_STATUS_VALUES)[number];
3274
3338
  export declare const EMAIL_EVENT_TYPE_VALUES: readonly ["SEND", "DELIVERY", "BOUNCE", "COMPLAINT", "REJECT", "DELIVERY_DELAY", "OPEN", "CLICK"];
3275
- export type EmailEventType = typeof EMAIL_EVENT_TYPE_VALUES[number];
3339
+ export type EmailEventType = (typeof EMAIL_EVENT_TYPE_VALUES)[number];
3276
3340
  export interface UserCommunicationPreferencesResponse {
3277
3341
  userId: number;
3278
3342
  creatorActivityEnabled: boolean;
@@ -3476,7 +3540,7 @@ export interface AdminCreatorEngagementRulePreviewResponse {
3476
3540
  body: string;
3477
3541
  } | null;
3478
3542
  }
3479
- export type ApplePushEnvironment = 'development' | 'production';
3543
+ export type ApplePushEnvironment = "development" | "production";
3480
3544
  export interface ApplePushDeviceRequest {
3481
3545
  deviceToken: string;
3482
3546
  apnsEnvironment: ApplePushEnvironment;
@@ -3503,7 +3567,7 @@ export declare const HOME_GAMES_COLLECTION_IDS: {
3503
3567
  readonly FOLLOWING_CREATORS: "following_creators";
3504
3568
  readonly AROUND_THE_WEB: "around_the_web";
3505
3569
  };
3506
- export type HomeGamesCollectionId = typeof HOME_GAMES_COLLECTION_IDS[keyof typeof HOME_GAMES_COLLECTION_IDS];
3570
+ export type HomeGamesCollectionId = (typeof HOME_GAMES_COLLECTION_IDS)[keyof typeof HOME_GAMES_COLLECTION_IDS];
3507
3571
  interface HomeCollectionBase {
3508
3572
  id: string;
3509
3573
  title: string;
@@ -3511,26 +3575,26 @@ interface HomeCollectionBase {
3511
3575
  metadata?: Record<string, unknown> | null;
3512
3576
  }
3513
3577
  export interface AppsHomeCollection extends HomeCollectionBase {
3514
- type: 'apps';
3578
+ type: "apps";
3515
3579
  apps: AppResponse[];
3516
3580
  }
3517
3581
  export interface CreatorsHomeCollection extends HomeCollectionBase {
3518
- type: 'creators';
3582
+ type: "creators";
3519
3583
  creators: HomeCreatorResponse[];
3520
3584
  }
3521
3585
  export interface TagsHomeCollection extends HomeCollectionBase {
3522
- type: 'tags';
3586
+ type: "tags";
3523
3587
  group: TagGroupSummary;
3524
3588
  tags: PopularTagSummary[];
3525
3589
  }
3526
3590
  export type HomeCollection = AppsHomeCollection | CreatorsHomeCollection | TagsHomeCollection;
3527
3591
  export interface HomeCollectionsResponse {
3528
- section: 'games';
3592
+ section: "games";
3529
3593
  collections: HomeCollection[];
3530
3594
  acquisitionFeed?: AcquisitionFeedAcknowledgement;
3531
3595
  }
3532
3596
  export interface HomeCollectionPageResponse {
3533
- section: 'games';
3597
+ section: "games";
3534
3598
  collection: HomeCollection;
3535
3599
  pagination: PaginationMeta;
3536
3600
  }
@@ -3538,15 +3602,15 @@ export interface CreatorsListResponse {
3538
3602
  creators: HomeCreatorResponse[];
3539
3603
  pagination: PaginationMeta;
3540
3604
  }
3541
- export type HomeAssetSectionKey = 'images' | 'music' | 'sfx' | 'speech' | 'videos' | '3d';
3542
- export type HomeSectionKey = 'games' | HomeAssetSectionKey | 'packs';
3605
+ export type HomeAssetSectionKey = "images" | "music" | "sfx" | "speech" | "videos" | "3d";
3606
+ export type HomeSectionKey = "games" | HomeAssetSectionKey | "packs";
3543
3607
  export interface HomeAssetsSectionResponse {
3544
3608
  section: HomeAssetSectionKey;
3545
3609
  assets: AssetResponse[];
3546
3610
  pagination: PaginationMeta;
3547
3611
  }
3548
3612
  export interface HomePacksSectionResponse {
3549
- section: 'packs';
3613
+ section: "packs";
3550
3614
  packs: AssetPackResponse[];
3551
3615
  pagination: PaginationMeta;
3552
3616
  }
@@ -3575,8 +3639,8 @@ export interface CreateUserResponse {
3575
3639
  user: AdminUserDetail;
3576
3640
  }
3577
3641
  export interface UpdateAdminUserRequest {
3578
- role?: 'CREATOR' | 'ADMIN';
3579
- kind?: 'HUMAN' | 'BOT' | 'AGENT';
3642
+ role?: "CREATOR" | "ADMIN";
3643
+ kind?: "HUMAN" | "BOT" | "AGENT";
3580
3644
  displayName?: string;
3581
3645
  creditDelta?: number;
3582
3646
  bio?: string | null;
@@ -3597,7 +3661,7 @@ export interface CreatorPlanCheckoutSessionResponse {
3597
3661
  }
3598
3662
  export interface CreatorPlanCheckoutSessionStatusResponse {
3599
3663
  sessionId: string;
3600
- status: 'open' | 'complete' | 'expired';
3664
+ status: "open" | "complete" | "expired";
3601
3665
  paymentStatus: string | null;
3602
3666
  creatorPlan: CreatorPlanState;
3603
3667
  }
@@ -3605,14 +3669,14 @@ export interface CreatorPlanPortalSessionResponse {
3605
3669
  url: string;
3606
3670
  }
3607
3671
  export interface AdminCreatorSubscriptionRecord {
3608
- user: Pick<AdminUserDetail, 'id' | 'username' | 'displayName'>;
3672
+ user: Pick<AdminUserDetail, "id" | "username" | "displayName">;
3609
3673
  creatorPlan: CreatorPlanState;
3610
3674
  }
3611
3675
  export interface AdminCreatorSubscriptionsResponse {
3612
3676
  subscriptions: AdminCreatorSubscriptionRecord[];
3613
3677
  }
3614
3678
  export interface CreateCreatorPlanGrantRequest {
3615
- tier: Exclude<CreatorPlanTier, 'BASIC'>;
3679
+ tier: Exclude<CreatorPlanTier, "BASIC">;
3616
3680
  startsAt?: string;
3617
3681
  endsAt: string;
3618
3682
  }
@@ -3628,7 +3692,7 @@ export interface BatchCreateUsersResponse {
3628
3692
  errors: number;
3629
3693
  details: Array<{
3630
3694
  xUsername: string;
3631
- status: 'created' | 'skipped' | 'error';
3695
+ status: "created" | "skipped" | "error";
3632
3696
  message?: string;
3633
3697
  }>;
3634
3698
  }
@@ -3656,14 +3720,14 @@ export interface ShopCollection {
3656
3720
  items: ShopItem[];
3657
3721
  }
3658
3722
  export type ShopItem = {
3659
- type: 'credit_pack';
3723
+ type: "credit_pack";
3660
3724
  id: string;
3661
3725
  sku: string;
3662
3726
  name: string;
3663
3727
  amount: number;
3664
3728
  costCents: number;
3665
3729
  } | {
3666
- type: 'asset';
3730
+ type: "asset";
3667
3731
  id: string;
3668
3732
  assetId: number;
3669
3733
  assetRef: string;
@@ -3676,7 +3740,7 @@ export type ShopItem = {
3676
3740
  owned: boolean;
3677
3741
  creatorUsername: string;
3678
3742
  } | {
3679
- type: 'boost_pack';
3743
+ type: "boost_pack";
3680
3744
  id: string;
3681
3745
  sku: BoostSku;
3682
3746
  name: string;
@@ -3697,20 +3761,20 @@ export interface AdminCreditPack {
3697
3761
  createdAt: string;
3698
3762
  updatedAt: string;
3699
3763
  }
3700
- export type PaymentProvider = 'STRIPE' | 'APPLE_IAP' | 'GOOGLE_PLAY';
3701
- export type PaymentStatus = 'PENDING' | 'AUTHORIZED' | 'SUCCEEDED' | 'FULFILLED' | 'FAILED' | 'CANCELLED' | 'REFUNDED';
3702
- export type PaymentEventProcessStatus = 'PENDING' | 'PROCESSED' | 'FAILED';
3703
- export type PaymentRefundStatus = 'PENDING' | 'SUCCEEDED' | 'FAILED' | 'CANCELLED';
3764
+ export type PaymentProvider = "STRIPE" | "APPLE_IAP" | "GOOGLE_PLAY";
3765
+ export type PaymentStatus = "PENDING" | "AUTHORIZED" | "SUCCEEDED" | "FULFILLED" | "FAILED" | "CANCELLED" | "REFUNDED";
3766
+ export type PaymentEventProcessStatus = "PENDING" | "PROCESSED" | "FAILED";
3767
+ export type PaymentRefundStatus = "PENDING" | "SUCCEEDED" | "FAILED" | "CANCELLED";
3704
3768
  export interface CreditPacksResponse {
3705
3769
  creditPacks: AdminCreditPack[];
3706
3770
  }
3707
3771
  export interface CreditPackResponse {
3708
3772
  creditPack: AdminCreditPack;
3709
3773
  }
3710
- export type CreditTransactionDirection = 'IN' | 'OUT';
3711
- export type CreditTransactionKind = 'CONSUMABLE' | 'ENTITLEMENT';
3712
- export type CreditTransactionStatus = 'PENDING' | 'AUTHORIZED' | 'CONSUMED' | 'GRANTED' | 'CANCELLED';
3713
- export type CreditTransactionType = 'CREDIT_PACK' | 'ASSET' | 'IN_APP' | 'AI_SERVICE' | 'ADMIN_GRANT' | 'FREE_CREDIT' | 'AD_PAYOUT' | 'BOOST_PURCHASE';
3774
+ export type CreditTransactionDirection = "IN" | "OUT";
3775
+ export type CreditTransactionKind = "CONSUMABLE" | "ENTITLEMENT";
3776
+ export type CreditTransactionStatus = "PENDING" | "AUTHORIZED" | "CONSUMED" | "GRANTED" | "CANCELLED";
3777
+ export type CreditTransactionType = "CREDIT_PACK" | "ASSET" | "IN_APP" | "AI_SERVICE" | "ADMIN_GRANT" | "FREE_CREDIT" | "AD_PAYOUT" | "BOOST_PURCHASE";
3714
3778
  export interface CreditTransaction {
3715
3779
  id: number;
3716
3780
  sourceId: number;
@@ -3760,7 +3824,7 @@ export interface AdminCreditTransaction {
3760
3824
  updatedAt: string;
3761
3825
  }
3762
3826
  export declare const BOOST_SKU_VALUES: readonly ["boost_1", "boost_3", "boost_7", "boost_14", "boost_31"];
3763
- export type BoostSku = typeof BOOST_SKU_VALUES[number];
3827
+ export type BoostSku = (typeof BOOST_SKU_VALUES)[number];
3764
3828
  export interface BoostOffer {
3765
3829
  sku: BoostSku;
3766
3830
  displayName: string;
@@ -3797,7 +3861,7 @@ export interface BoostActivationRequest {
3797
3861
  }
3798
3862
  export interface BoostRunSummary {
3799
3863
  id: number;
3800
- status: 'ACTIVE' | 'EXPIRED' | 'CANCELLED';
3864
+ status: "ACTIVE" | "EXPIRED" | "CANCELLED";
3801
3865
  startedAt: string;
3802
3866
  endsAt: string;
3803
3867
  consumedUnits: number;
@@ -3855,7 +3919,7 @@ export interface CreatorEarningsAppDayRow {
3855
3919
  appId: number;
3856
3920
  appName: string;
3857
3921
  creatorUsername: string;
3858
- format: 'interstitial' | 'rewarded';
3922
+ format: "interstitial" | "rewarded";
3859
3923
  amount: number;
3860
3924
  servedCount: number;
3861
3925
  creditedCount: number;
@@ -3881,11 +3945,11 @@ export interface CreatorEarningsResponse {
3881
3945
  summary: CreatorEarningsSummary;
3882
3946
  days: CreatorEarningsDay[];
3883
3947
  }
3884
- export type AdFormat = 'INTERSTITIAL' | 'REWARDED';
3885
- export type AdLoadStatus = 'ready' | 'no_fill' | 'rate_limited' | 'blocked';
3886
- export type AdInterstitialShowStatus = 'dismissed' | 'not_ready' | 'expired';
3887
- export type AdRewardedShowStatus = 'completed' | 'dismissed' | 'not_ready' | 'expired';
3888
- export type AdTargetType = 'BOOSTED_APP' | 'HOUSE_AVATAR' | 'HOUSE_GAME' | 'HOUSE_CREATE_ACCOUNT' | 'HOUSE_INVITE_FRIENDS';
3948
+ export type AdFormat = "INTERSTITIAL" | "REWARDED";
3949
+ export type AdLoadStatus = "ready" | "no_fill" | "rate_limited" | "blocked";
3950
+ export type AdInterstitialShowStatus = "dismissed" | "not_ready" | "expired";
3951
+ export type AdRewardedShowStatus = "completed" | "dismissed" | "not_ready" | "expired";
3952
+ export type AdTargetType = "BOOSTED_APP" | "HOUSE_AVATAR" | "HOUSE_GAME" | "HOUSE_CREATE_ACCOUNT" | "HOUSE_INVITE_FRIENDS";
3889
3953
  export interface AdCreative {
3890
3954
  targetType: AdTargetType;
3891
3955
  title: string;
@@ -3900,30 +3964,30 @@ export interface AdLoadRequest {
3900
3964
  viewerSurface: AppSurface;
3901
3965
  }
3902
3966
  export type AdLoadResult = {
3903
- status: 'ready';
3967
+ status: "ready";
3904
3968
  } | {
3905
- status: 'no_fill';
3969
+ status: "no_fill";
3906
3970
  } | {
3907
- status: 'rate_limited';
3971
+ status: "rate_limited";
3908
3972
  retryAfterSeconds: number;
3909
3973
  } | {
3910
- status: 'blocked';
3974
+ status: "blocked";
3911
3975
  reason: string;
3912
3976
  };
3913
3977
  export type AdLoadResponse = {
3914
- status: 'ready';
3978
+ status: "ready";
3915
3979
  format: AdFormat;
3916
3980
  reservationId: string;
3917
3981
  creative: AdCreative;
3918
3982
  } | {
3919
- status: 'no_fill';
3983
+ status: "no_fill";
3920
3984
  format: AdFormat;
3921
3985
  } | {
3922
- status: 'rate_limited';
3986
+ status: "rate_limited";
3923
3987
  format: AdFormat;
3924
3988
  retryAfterSeconds: number;
3925
3989
  } | {
3926
- status: 'blocked';
3990
+ status: "blocked";
3927
3991
  format: AdFormat;
3928
3992
  reason: string;
3929
3993
  };
@@ -3932,28 +3996,28 @@ export interface AdShowRequest {
3932
3996
  viewedMs: number;
3933
3997
  }
3934
3998
  export type AdInterstitialShowResponse = {
3935
- status: 'dismissed';
3999
+ status: "dismissed";
3936
4000
  reservationId: string;
3937
4001
  impressionId: number;
3938
4002
  } | {
3939
- status: 'not_ready';
4003
+ status: "not_ready";
3940
4004
  reservationId: null;
3941
4005
  impressionId?: null;
3942
4006
  } | {
3943
- status: 'expired';
4007
+ status: "expired";
3944
4008
  reservationId: string | null;
3945
4009
  impressionId?: null;
3946
4010
  };
3947
4011
  export type AdRewardedShowResponse = {
3948
- status: 'completed' | 'dismissed';
4012
+ status: "completed" | "dismissed";
3949
4013
  reservationId: string;
3950
4014
  impressionId: number;
3951
4015
  } | {
3952
- status: 'not_ready';
4016
+ status: "not_ready";
3953
4017
  reservationId: null;
3954
4018
  impressionId?: null;
3955
4019
  } | {
3956
- status: 'expired';
4020
+ status: "expired";
3957
4021
  reservationId: string | null;
3958
4022
  impressionId?: null;
3959
4023
  };
@@ -3986,15 +4050,15 @@ export interface IapReceiptsResponse {
3986
4050
  }
3987
4051
  export interface IapPurchaseRequest {
3988
4052
  appId: number;
3989
- kind: 'consumable' | 'entitlement';
4053
+ kind: "consumable" | "entitlement";
3990
4054
  sku: string;
3991
4055
  displayName: string;
3992
4056
  priceCredits: number;
3993
4057
  }
3994
4058
  export declare const MUSIC_PROMPT_MAX_LENGTH = 4000;
3995
- export type AiGenerationType = 'TEXT' | 'JSON' | 'IMAGE' | 'MUSIC' | 'SFX' | 'SPEECH' | 'VIDEO' | 'MODEL_3D';
3996
- export type AiGenerationStatus = 'SUCCESS' | 'FAILURE';
3997
- export type AiGenerationPaidBy = 'USER' | 'CREATOR';
4059
+ export type AiGenerationType = "TEXT" | "JSON" | "IMAGE" | "MUSIC" | "SFX" | "SPEECH" | "VIDEO" | "MODEL_3D";
4060
+ export type AiGenerationStatus = "SUCCESS" | "FAILURE";
4061
+ export type AiGenerationPaidBy = "USER" | "CREATOR";
3998
4062
  export interface AiGenerationSummary {
3999
4063
  id: string;
4000
4064
  createdAt: string;
@@ -4036,7 +4100,7 @@ export interface IapReceiptResponse {
4036
4100
  receipt: IapReceipt;
4037
4101
  }
4038
4102
  export interface IapReceiptListParams {
4039
- kind?: 'consumable' | 'entitlement';
4103
+ kind?: "consumable" | "entitlement";
4040
4104
  status?: CreditTransactionStatus | CreditTransactionStatus[];
4041
4105
  from?: string | Date;
4042
4106
  to?: string | Date;
@@ -4045,7 +4109,7 @@ export interface IapReceiptListParams {
4045
4109
  offset?: number;
4046
4110
  }
4047
4111
  export interface AssetPurchaseRequest {
4048
- type: 'asset';
4112
+ type: "asset";
4049
4113
  assetRef: string;
4050
4114
  }
4051
4115
  export type PurchaseRequest = AssetPurchaseRequest;