@neynar/nodejs-sdk 3.137.2 → 3.169.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (928) hide show
  1. package/build/api/api.d.ts +364 -26
  2. package/build/api/api.js +335 -40
  3. package/build/api/apis/action-api.d.ts +1 -1
  4. package/build/api/apis/action-api.js +1 -1
  5. package/build/api/apis/agents-api.d.ts +1 -1
  6. package/build/api/apis/agents-api.js +1 -1
  7. package/build/api/apis/app-host-api.d.ts +1 -1
  8. package/build/api/apis/app-host-api.js +1 -1
  9. package/build/api/apis/auth-address-api.d.ts +1 -1
  10. package/build/api/apis/auth-address-api.js +1 -1
  11. package/build/api/apis/ban-api.d.ts +1 -1
  12. package/build/api/apis/ban-api.js +1 -1
  13. package/build/api/apis/block-api.d.ts +1 -1
  14. package/build/api/apis/block-api.js +1 -1
  15. package/build/api/apis/cast-api.d.ts +9 -9
  16. package/build/api/apis/cast-api.js +5 -5
  17. package/build/api/apis/channel-api.d.ts +1 -1
  18. package/build/api/apis/channel-api.js +1 -1
  19. package/build/api/apis/feed-api.d.ts +46 -46
  20. package/build/api/apis/feed-api.js +23 -23
  21. package/build/api/apis/fname-api.d.ts +1 -1
  22. package/build/api/apis/fname-api.js +1 -1
  23. package/build/api/apis/follows-api.d.ts +9 -9
  24. package/build/api/apis/follows-api.js +5 -5
  25. package/build/api/apis/frame-api.d.ts +6 -6
  26. package/build/api/apis/frame-api.js +5 -5
  27. package/build/api/apis/login-api.d.ts +1 -1
  28. package/build/api/apis/login-api.js +1 -1
  29. package/build/api/apis/metrics-api.d.ts +1 -1
  30. package/build/api/apis/metrics-api.js +1 -1
  31. package/build/api/apis/mute-api.d.ts +1 -1
  32. package/build/api/apis/mute-api.js +1 -1
  33. package/build/api/apis/notifications-api.d.ts +1 -1
  34. package/build/api/apis/notifications-api.js +1 -1
  35. package/build/api/apis/onchain-api.d.ts +316 -22
  36. package/build/api/apis/onchain-api.js +298 -12
  37. package/build/api/apis/organization-api.d.ts +105 -0
  38. package/build/api/apis/organization-api.js +138 -0
  39. package/build/api/apis/portal-api.d.ts +283 -0
  40. package/build/api/apis/portal-api.js +317 -0
  41. package/build/api/apis/reaction-api.d.ts +1 -1
  42. package/build/api/apis/reaction-api.js +1 -1
  43. package/build/api/apis/signer-api.d.ts +1 -1
  44. package/build/api/apis/signer-api.js +1 -1
  45. package/build/api/apis/storage-api.d.ts +1 -1
  46. package/build/api/apis/storage-api.js +1 -1
  47. package/build/api/apis/studio-api.d.ts +731 -68
  48. package/build/api/apis/studio-api.js +682 -44
  49. package/build/api/apis/subscribers-api.d.ts +1 -1
  50. package/build/api/apis/subscribers-api.js +1 -1
  51. package/build/api/apis/subscription-api.d.ts +225 -0
  52. package/build/api/apis/subscription-api.js +242 -0
  53. package/build/api/apis/topic-api.d.ts +1 -1
  54. package/build/api/apis/topic-api.js +1 -1
  55. package/build/api/apis/user-api.d.ts +14 -14
  56. package/build/api/apis/user-api.js +7 -7
  57. package/build/api/apis/webhook-api.d.ts +1 -1
  58. package/build/api/apis/webhook-api.js +1 -1
  59. package/build/api/base.d.ts +1 -1
  60. package/build/api/base.js +1 -1
  61. package/build/api/common.d.ts +1 -1
  62. package/build/api/common.js +1 -1
  63. package/build/api/configuration.d.ts +1 -1
  64. package/build/api/configuration.js +1 -1
  65. package/build/api/index.d.ts +1 -1
  66. package/build/api/index.js +1 -1
  67. package/build/api/models/add-verification-req-body.d.ts +1 -1
  68. package/build/api/models/add-verification-req-body.js +1 -1
  69. package/build/api/models/address-balance-verified-address.d.ts +1 -1
  70. package/build/api/models/address-balance-verified-address.js +1 -1
  71. package/build/api/models/address-balance.d.ts +1 -1
  72. package/build/api/models/address-balance.js +1 -1
  73. package/build/api/models/app-host-get-event-response-notification-details.d.ts +1 -1
  74. package/build/api/models/app-host-get-event-response-notification-details.js +1 -1
  75. package/build/api/models/app-host-get-event-response.d.ts +1 -1
  76. package/build/api/models/app-host-get-event-response.js +1 -1
  77. package/build/api/models/app-host-post-event-req-body.d.ts +28 -5
  78. package/build/api/models/app-host-post-event-req-body.js +8 -1
  79. package/build/api/models/app-host-post-event-response.d.ts +1 -1
  80. package/build/api/models/app-host-post-event-response.js +1 -1
  81. package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +1 -1
  82. package/build/api/models/app-host-user-state-response-notifications-enabled-inner.js +1 -1
  83. package/build/api/models/app-host-user-state-response.d.ts +1 -1
  84. package/build/api/models/app-host-user-state-response.js +1 -1
  85. package/build/api/models/assign-custom-domain-request.d.ts +21 -0
  86. package/build/api/models/{embed-cast-deep-cast-id.js → assign-custom-domain-request.js} +1 -1
  87. package/build/api/models/assign-custom-domain200-response.d.ts +22 -0
  88. package/build/api/models/{mint-nft-request-recipients-inner-one-of1.js → assign-custom-domain200-response.js} +1 -1
  89. package/build/api/models/associate-deployment-request-account-association.d.ts +1 -1
  90. package/build/api/models/associate-deployment-request-account-association.js +1 -1
  91. package/build/api/models/associate-deployment-request.d.ts +1 -1
  92. package/build/api/models/associate-deployment-request.js +1 -1
  93. package/build/api/models/associate-deployment200-response.d.ts +1 -1
  94. package/build/api/models/associate-deployment200-response.js +1 -1
  95. package/build/api/models/authorization-url-response.d.ts +1 -1
  96. package/build/api/models/authorization-url-response.js +1 -1
  97. package/build/api/models/balance-response-user-balance.d.ts +1 -1
  98. package/build/api/models/balance-response-user-balance.js +1 -1
  99. package/build/api/models/balance-response.d.ts +1 -1
  100. package/build/api/models/balance-response.js +1 -1
  101. package/build/api/models/ban-list-response.d.ts +1 -1
  102. package/build/api/models/ban-list-response.js +1 -1
  103. package/build/api/models/ban-record.d.ts +1 -1
  104. package/build/api/models/ban-record.js +1 -1
  105. package/build/api/models/ban-req-body.d.ts +1 -1
  106. package/build/api/models/ban-req-body.js +1 -1
  107. package/build/api/models/ban-response.d.ts +1 -1
  108. package/build/api/models/ban-response.js +1 -1
  109. package/build/api/models/batch-get-token-metadata200-response-tokens-inner.d.ts +2 -2
  110. package/build/api/models/batch-get-token-metadata200-response-tokens-inner.js +1 -1
  111. package/build/api/models/batch-get-token-metadata200-response.d.ts +1 -1
  112. package/build/api/models/batch-get-token-metadata200-response.js +1 -1
  113. package/build/api/models/best-friends-response-users-inner.d.ts +1 -1
  114. package/build/api/models/best-friends-response-users-inner.js +1 -1
  115. package/build/api/models/best-friends-response.d.ts +1 -1
  116. package/build/api/models/best-friends-response.js +1 -1
  117. package/build/api/models/billing200-response.d.ts +29 -0
  118. package/build/api/models/{mint-nft-request-recipients-inner-one-of.js → billing200-response.js} +1 -1
  119. package/build/api/models/billing400-response.d.ts +15 -0
  120. package/build/api/models/{deploy-erc721-request-collection-config.js → billing400-response.js} +1 -1
  121. package/build/api/models/block-list-response.d.ts +1 -1
  122. package/build/api/models/block-list-response.js +1 -1
  123. package/build/api/models/block-record.d.ts +1 -1
  124. package/build/api/models/block-record.js +1 -1
  125. package/build/api/models/block-req-body.d.ts +1 -1
  126. package/build/api/models/block-req-body.js +1 -1
  127. package/build/api/models/build-request.d.ts +1 -1
  128. package/build/api/models/build-request.js +1 -1
  129. package/build/api/models/bulk-casts-response.d.ts +1 -1
  130. package/build/api/models/bulk-casts-response.js +1 -1
  131. package/build/api/models/bulk-follow-response.d.ts +1 -1
  132. package/build/api/models/bulk-follow-response.js +1 -1
  133. package/build/api/models/bulk-relevant-fungible-owners-response-value.d.ts +17 -0
  134. package/build/api/models/bulk-relevant-fungible-owners-response-value.js +15 -0
  135. package/build/api/models/bulk-relevant-fungible-owners-response.d.ts +15 -0
  136. package/build/api/models/bulk-relevant-fungible-owners-response.js +15 -0
  137. package/build/api/models/bulk-users-by-address-response.d.ts +1 -1
  138. package/build/api/models/bulk-users-by-address-response.js +1 -1
  139. package/build/api/models/bulk-users-response.d.ts +1 -1
  140. package/build/api/models/bulk-users-response.js +1 -1
  141. package/build/api/models/buy-storage-req-body.d.ts +4 -1
  142. package/build/api/models/buy-storage-req-body.js +1 -1
  143. package/build/api/models/cancel-session-request.d.ts +33 -0
  144. package/build/api/models/cancel-session-request.js +15 -0
  145. package/build/api/models/cancel-session200-response.d.ts +17 -0
  146. package/build/api/models/cancel-session200-response.js +15 -0
  147. package/build/api/models/cast-and-conversations-ref.d.ts +1 -1
  148. package/build/api/models/cast-and-conversations-ref.js +1 -1
  149. package/build/api/models/cast-and-conversations.d.ts +1 -1
  150. package/build/api/models/cast-and-conversations.js +1 -1
  151. package/build/api/models/cast-dehydrated.d.ts +1 -1
  152. package/build/api/models/cast-dehydrated.js +1 -1
  153. package/build/api/models/cast-embed-crawl-response.d.ts +1 -1
  154. package/build/api/models/cast-embed-crawl-response.js +1 -1
  155. package/build/api/models/cast-embedded-parent-author.d.ts +1 -1
  156. package/build/api/models/cast-embedded-parent-author.js +1 -1
  157. package/build/api/models/cast-embedded.d.ts +1 -1
  158. package/build/api/models/cast-embedded.js +1 -1
  159. package/build/api/models/{embed-cast-deep-cast-id.d.ts → cast-id.d.ts} +2 -2
  160. package/build/api/models/cast-id.js +15 -0
  161. package/build/api/models/cast-notification-type.d.ts +1 -1
  162. package/build/api/models/cast-notification-type.js +1 -1
  163. package/build/api/models/cast-reactions.d.ts +1 -1
  164. package/build/api/models/cast-reactions.js +1 -1
  165. package/build/api/models/cast-replies.d.ts +1 -1
  166. package/build/api/models/cast-replies.js +1 -1
  167. package/build/api/models/cast-response.d.ts +1 -1
  168. package/build/api/models/cast-response.js +1 -1
  169. package/build/api/models/cast-viewer-context.d.ts +1 -1
  170. package/build/api/models/cast-viewer-context.js +1 -1
  171. package/build/api/models/cast.d.ts +1 -1
  172. package/build/api/models/cast.js +1 -1
  173. package/build/api/models/casts-metrics-response.d.ts +1 -1
  174. package/build/api/models/casts-metrics-response.js +1 -1
  175. package/build/api/models/casts-metrics.d.ts +1 -1
  176. package/build/api/models/casts-metrics.js +1 -1
  177. package/build/api/models/casts-response-result.d.ts +1 -1
  178. package/build/api/models/casts-response-result.js +1 -1
  179. package/build/api/models/casts-response.d.ts +1 -1
  180. package/build/api/models/casts-response.js +1 -1
  181. package/build/api/models/casts-search-response.d.ts +1 -1
  182. package/build/api/models/casts-search-response.js +1 -1
  183. package/build/api/models/channel-activity.d.ts +1 -1
  184. package/build/api/models/channel-activity.js +1 -1
  185. package/build/api/models/channel-dehydrated.d.ts +1 -1
  186. package/build/api/models/channel-dehydrated.js +1 -1
  187. package/build/api/models/channel-external-link.d.ts +1 -1
  188. package/build/api/models/channel-external-link.js +1 -1
  189. package/build/api/models/channel-follow-req-body.d.ts +1 -1
  190. package/build/api/models/channel-follow-req-body.js +1 -1
  191. package/build/api/models/channel-list-response.d.ts +1 -1
  192. package/build/api/models/channel-list-response.js +1 -1
  193. package/build/api/models/channel-member-channel.d.ts +6 -2
  194. package/build/api/models/channel-member-channel.js +1 -1
  195. package/build/api/models/channel-member-invite-list-response.d.ts +1 -1
  196. package/build/api/models/channel-member-invite-list-response.js +1 -1
  197. package/build/api/models/channel-member-invite.d.ts +1 -1
  198. package/build/api/models/channel-member-invite.js +1 -1
  199. package/build/api/models/channel-member-list-response.d.ts +1 -1
  200. package/build/api/models/channel-member-list-response.js +1 -1
  201. package/build/api/models/channel-member-role.d.ts +1 -1
  202. package/build/api/models/channel-member-role.js +1 -1
  203. package/build/api/models/channel-member-user.d.ts +6 -2
  204. package/build/api/models/channel-member-user.js +1 -1
  205. package/build/api/models/channel-member.d.ts +1 -1
  206. package/build/api/models/channel-member.js +1 -1
  207. package/build/api/models/channel-or-channel-dehydrated.d.ts +1 -1
  208. package/build/api/models/channel-or-channel-dehydrated.js +1 -1
  209. package/build/api/models/channel-response-bulk.d.ts +1 -1
  210. package/build/api/models/channel-response-bulk.js +1 -1
  211. package/build/api/models/channel-response.d.ts +1 -1
  212. package/build/api/models/channel-response.js +1 -1
  213. package/build/api/models/channel-search-response.d.ts +1 -1
  214. package/build/api/models/channel-search-response.js +1 -1
  215. package/build/api/models/channel-user-context.d.ts +1 -1
  216. package/build/api/models/channel-user-context.js +1 -1
  217. package/build/api/models/channel.d.ts +1 -1
  218. package/build/api/models/channel.js +1 -1
  219. package/build/api/models/{deploy-erc721-request-collection-config.d.ts → check-domain-availability200-response.d.ts} +8 -9
  220. package/build/api/models/check-domain-availability200-response.js +15 -0
  221. package/build/api/models/claim-credit-drop-request.d.ts +17 -0
  222. package/build/api/models/claim-credit-drop-request.js +15 -0
  223. package/build/api/models/claim-credit-drop200-response.d.ts +22 -0
  224. package/build/api/models/claim-credit-drop200-response.js +15 -0
  225. package/build/api/models/conflict-error-res.d.ts +1 -1
  226. package/build/api/models/conflict-error-res.js +1 -1
  227. package/build/api/models/conversation-conversation.d.ts +1 -1
  228. package/build/api/models/conversation-conversation.js +1 -1
  229. package/build/api/models/conversation-summary-summary.d.ts +1 -1
  230. package/build/api/models/conversation-summary-summary.js +1 -1
  231. package/build/api/models/conversation-summary.d.ts +1 -1
  232. package/build/api/models/conversation-summary.js +1 -1
  233. package/build/api/models/conversation.d.ts +1 -1
  234. package/build/api/models/conversation.js +1 -1
  235. package/build/api/models/create-deployment-request.d.ts +1 -1
  236. package/build/api/models/create-deployment-request.js +1 -1
  237. package/build/api/models/create-x402-signature-request-payment-requirements-accepts-inner.d.ts +3 -3
  238. package/build/api/models/create-x402-signature-request-payment-requirements-accepts-inner.js +1 -1
  239. package/build/api/models/create-x402-signature-request-payment-requirements.d.ts +1 -1
  240. package/build/api/models/create-x402-signature-request-payment-requirements.js +1 -1
  241. package/build/api/models/create-x402-signature-request.d.ts +1 -1
  242. package/build/api/models/create-x402-signature-request.js +1 -1
  243. package/build/api/models/create-x402-signature200-response-payload-authorization.d.ts +1 -1
  244. package/build/api/models/create-x402-signature200-response-payload-authorization.js +1 -1
  245. package/build/api/models/create-x402-signature200-response-payload.d.ts +1 -1
  246. package/build/api/models/create-x402-signature200-response-payload.js +1 -1
  247. package/build/api/models/create-x402-signature200-response.d.ts +1 -1
  248. package/build/api/models/create-x402-signature200-response.js +1 -1
  249. package/build/api/models/delete-cast-req-body.d.ts +1 -1
  250. package/build/api/models/delete-cast-req-body.js +1 -1
  251. package/build/api/models/delete-deployment-request.d.ts +1 -1
  252. package/build/api/models/delete-deployment-request.js +1 -1
  253. package/build/api/models/delete-deployment200-response.d.ts +1 -1
  254. package/build/api/models/delete-deployment200-response.js +1 -1
  255. package/build/api/models/delete-rows-request.d.ts +2 -2
  256. package/build/api/models/delete-rows-request.js +1 -1
  257. package/build/api/models/delete-rows200-response.d.ts +1 -1
  258. package/build/api/models/delete-rows200-response.js +1 -1
  259. package/build/api/models/delete-secrets-request.d.ts +1 -1
  260. package/build/api/models/delete-secrets-request.js +1 -1
  261. package/build/api/models/deploy-erc721-request-mint-config.d.ts +1 -1
  262. package/build/api/models/deploy-erc721-request-mint-config.js +1 -1
  263. package/build/api/models/deploy-erc721-request.d.ts +14 -8
  264. package/build/api/models/deploy-erc721-request.js +1 -1
  265. package/build/api/models/deploy-erc721201-response-collection.d.ts +1 -4
  266. package/build/api/models/deploy-erc721201-response-collection.js +1 -1
  267. package/build/api/models/deploy-erc721201-response.d.ts +1 -1
  268. package/build/api/models/deploy-erc721201-response.js +1 -1
  269. package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +1 -1
  270. package/build/api/models/deploy-fungible-response-contract-fungible.js +1 -1
  271. package/build/api/models/deploy-fungible-response-contract.d.ts +1 -1
  272. package/build/api/models/deploy-fungible-response-contract.js +1 -1
  273. package/build/api/models/deploy-fungible-response.d.ts +1 -1
  274. package/build/api/models/deploy-fungible-response.js +1 -1
  275. package/build/api/models/deploy-to-vercel-request.d.ts +1 -1
  276. package/build/api/models/deploy-to-vercel-request.js +1 -1
  277. package/build/api/models/deploy-to-vercel200-response.d.ts +1 -1
  278. package/build/api/models/deploy-to-vercel200-response.js +1 -1
  279. package/build/api/models/deploy-to-vercel400-response.d.ts +1 -1
  280. package/build/api/models/deploy-to-vercel400-response.js +1 -1
  281. package/build/api/models/developer-managed-signer.d.ts +1 -1
  282. package/build/api/models/developer-managed-signer.js +1 -1
  283. package/build/api/models/embed-cast-deep.d.ts +3 -3
  284. package/build/api/models/embed-cast-deep.js +1 -1
  285. package/build/api/models/embed-cast.d.ts +3 -3
  286. package/build/api/models/embed-cast.js +1 -1
  287. package/build/api/models/embed-deep.d.ts +13 -7
  288. package/build/api/models/embed-deep.js +1 -1
  289. package/build/api/models/embed-url-metadata-image.d.ts +1 -1
  290. package/build/api/models/embed-url-metadata-image.js +1 -1
  291. package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +1 -1
  292. package/build/api/models/embed-url-metadata-video-stream-inner.js +1 -1
  293. package/build/api/models/embed-url-metadata-video.d.ts +1 -1
  294. package/build/api/models/embed-url-metadata-video.js +1 -1
  295. package/build/api/models/embed-url-metadata.d.ts +1 -1
  296. package/build/api/models/embed-url-metadata.js +1 -1
  297. package/build/api/models/embed-url.d.ts +1 -1
  298. package/build/api/models/embed-url.js +1 -1
  299. package/build/api/models/embed.d.ts +13 -7
  300. package/build/api/models/embed.js +1 -1
  301. package/build/api/models/encoded-json-farcaster-signature.d.ts +1 -1
  302. package/build/api/models/encoded-json-farcaster-signature.js +1 -1
  303. package/build/api/models/error-res.d.ts +1 -1
  304. package/build/api/models/error-res.js +1 -1
  305. package/build/api/models/execute-sql-request.d.ts +1 -1
  306. package/build/api/models/execute-sql-request.js +1 -1
  307. package/build/api/models/execute-sql200-response.d.ts +2 -2
  308. package/build/api/models/execute-sql200-response.js +1 -1
  309. package/build/api/models/farcaster-action-req-body-action.d.ts +1 -1
  310. package/build/api/models/farcaster-action-req-body-action.js +1 -1
  311. package/build/api/models/farcaster-action-req-body.d.ts +1 -1
  312. package/build/api/models/farcaster-action-req-body.js +1 -1
  313. package/build/api/models/farcaster-fungible.d.ts +1 -1
  314. package/build/api/models/farcaster-fungible.js +1 -1
  315. package/build/api/models/farcaster-manifest-frame.d.ts +2 -2
  316. package/build/api/models/farcaster-manifest-frame.js +2 -2
  317. package/build/api/models/farcaster-manifest.d.ts +1 -1
  318. package/build/api/models/farcaster-manifest.js +1 -1
  319. package/build/api/models/feed-response.d.ts +1 -1
  320. package/build/api/models/feed-response.js +1 -1
  321. package/build/api/models/fetch-cast-quotes200-response.d.ts +1 -1
  322. package/build/api/models/fetch-cast-quotes200-response.js +1 -1
  323. package/build/api/models/fetch-feed-for-you400-response.d.ts +1 -1
  324. package/build/api/models/fetch-feed-for-you400-response.js +1 -1
  325. package/build/api/models/fetch-fungible-trades200-response-trades-inner-pool.d.ts +1 -1
  326. package/build/api/models/fetch-fungible-trades200-response-trades-inner-pool.js +1 -1
  327. package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-net-transfer.d.ts +1 -1
  328. package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-net-transfer.js +1 -1
  329. package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-network.d.ts +1 -1
  330. package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-network.js +1 -1
  331. package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction.d.ts +1 -1
  332. package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction.js +1 -1
  333. package/build/api/models/fetch-fungible-trades200-response-trades-inner.d.ts +1 -1
  334. package/build/api/models/fetch-fungible-trades200-response-trades-inner.js +1 -1
  335. package/build/api/models/fetch-fungible-trades200-response.d.ts +1 -1
  336. package/build/api/models/fetch-fungible-trades200-response.js +1 -1
  337. package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame-metadata.d.ts +1 -1
  338. package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame-metadata.js +1 -1
  339. package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame.d.ts +1 -1
  340. package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame.js +1 -1
  341. package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.d.ts +1 -1
  342. package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.js +1 -1
  343. package/build/api/models/fetch-relevant-frames200-response.d.ts +1 -1
  344. package/build/api/models/fetch-relevant-frames200-response.js +1 -1
  345. package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible-price.d.ts +1 -1
  346. package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible-price.js +1 -1
  347. package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible.d.ts +1 -1
  348. package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible.js +1 -1
  349. package/build/api/models/fetch-trending-fungibles200-response-trending-inner.d.ts +1 -1
  350. package/build/api/models/fetch-trending-fungibles200-response-trending-inner.js +1 -1
  351. package/build/api/models/fetch-trending-fungibles200-response.d.ts +1 -1
  352. package/build/api/models/fetch-trending-fungibles200-response.js +1 -1
  353. package/build/api/models/fetch-user-interactions200-response.d.ts +1 -1
  354. package/build/api/models/fetch-user-interactions200-response.js +1 -1
  355. package/build/api/models/fetch-user-reciprocal-followers200-response.d.ts +1 -1
  356. package/build/api/models/fetch-user-reciprocal-followers200-response.js +1 -1
  357. package/build/api/models/fetch-verifications200-response.d.ts +1 -1
  358. package/build/api/models/fetch-verifications200-response.js +1 -1
  359. package/build/api/models/fname-availability-response.d.ts +1 -1
  360. package/build/api/models/fname-availability-response.js +1 -1
  361. package/build/api/models/follow-req-body.d.ts +1 -1
  362. package/build/api/models/follow-req-body.js +1 -1
  363. package/build/api/models/follow-response.d.ts +1 -1
  364. package/build/api/models/follow-response.js +1 -1
  365. package/build/api/models/follower-dehydrated.d.ts +1 -1
  366. package/build/api/models/follower-dehydrated.js +1 -1
  367. package/build/api/models/follower.d.ts +1 -1
  368. package/build/api/models/follower.js +1 -1
  369. package/build/api/models/followers-response.d.ts +1 -1
  370. package/build/api/models/followers-response.js +1 -1
  371. package/build/api/models/frame-action-button.d.ts +1 -1
  372. package/build/api/models/frame-action-button.js +1 -1
  373. package/build/api/models/frame-button-action-type.d.ts +1 -1
  374. package/build/api/models/frame-button-action-type.js +1 -1
  375. package/build/api/models/frame-catalog-response.d.ts +1 -1
  376. package/build/api/models/frame-catalog-response.js +1 -1
  377. package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +1 -1
  378. package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +1 -1
  379. package/build/api/models/frame-notification-tokens.d.ts +1 -1
  380. package/build/api/models/frame-notification-tokens.js +1 -1
  381. package/build/api/models/frame-pay-transaction-req-body-transaction.d.ts +1 -1
  382. package/build/api/models/frame-pay-transaction-req-body-transaction.js +1 -1
  383. package/build/api/models/frame-pay-transaction-req-body.d.ts +1 -1
  384. package/build/api/models/frame-pay-transaction-req-body.js +1 -1
  385. package/build/api/models/frame-v1-input.d.ts +1 -1
  386. package/build/api/models/frame-v1-input.js +1 -1
  387. package/build/api/models/frame-v1-state.d.ts +1 -1
  388. package/build/api/models/frame-v1-state.js +1 -1
  389. package/build/api/models/frame-v1.d.ts +1 -1
  390. package/build/api/models/frame-v1.js +1 -1
  391. package/build/api/models/frame-v2-with-full-author.d.ts +1 -1
  392. package/build/api/models/frame-v2-with-full-author.js +1 -1
  393. package/build/api/models/frame-v2.d.ts +1 -1
  394. package/build/api/models/frame-v2.js +1 -1
  395. package/build/api/models/frame.d.ts +36 -17
  396. package/build/api/models/frame.js +1 -1
  397. package/build/api/models/fungible-balance-balance.d.ts +1 -1
  398. package/build/api/models/fungible-balance-balance.js +1 -1
  399. package/build/api/models/fungible-balance.d.ts +1 -1
  400. package/build/api/models/fungible-balance.js +1 -1
  401. package/build/api/models/fungible.d.ts +1 -1
  402. package/build/api/models/fungible.js +1 -1
  403. package/build/api/models/fungibles-response-schema.d.ts +1 -1
  404. package/build/api/models/fungibles-response-schema.js +1 -1
  405. package/build/api/models/generate-image-request.d.ts +43 -0
  406. package/build/api/models/generate-image-request.js +21 -0
  407. package/build/api/models/generate-image200-response.d.ts +14 -0
  408. package/build/api/models/generate-image200-response.js +15 -0
  409. package/build/api/models/get-account-association200-response.d.ts +1 -1
  410. package/build/api/models/get-account-association200-response.js +1 -1
  411. package/build/api/models/get-conversation-messages200-response-messages-inner.d.ts +1 -1
  412. package/build/api/models/get-conversation-messages200-response-messages-inner.js +1 -1
  413. package/build/api/models/get-conversation-messages200-response.d.ts +3 -1
  414. package/build/api/models/get-conversation-messages200-response.js +1 -1
  415. package/build/api/models/get-credit-drop200-response.d.ts +49 -0
  416. package/build/api/models/get-credit-drop200-response.js +15 -0
  417. package/build/api/models/get-credit-drop402-response.d.ts +15 -0
  418. package/build/api/models/get-credit-drop402-response.js +15 -0
  419. package/build/api/models/get-deployment-file200-response.d.ts +1 -1
  420. package/build/api/models/get-deployment-file200-response.js +1 -1
  421. package/build/api/models/get-dev-status200-response-one-of.d.ts +1 -1
  422. package/build/api/models/get-dev-status200-response-one-of.js +1 -1
  423. package/build/api/models/get-dev-status200-response-one-of1.d.ts +2 -2
  424. package/build/api/models/get-dev-status200-response-one-of1.js +1 -1
  425. package/build/api/models/get-dev-status200-response.d.ts +1 -1
  426. package/build/api/models/get-dev-status200-response.js +1 -1
  427. package/build/api/models/get-notification-campaign-stats200-response.d.ts +1 -1
  428. package/build/api/models/get-notification-campaign-stats200-response.js +1 -1
  429. package/build/api/models/get-table-schema200-response-columns-inner.d.ts +1 -1
  430. package/build/api/models/get-table-schema200-response-columns-inner.js +1 -1
  431. package/build/api/models/get-table-schema200-response-foreign-keys-inner.d.ts +1 -1
  432. package/build/api/models/get-table-schema200-response-foreign-keys-inner.js +1 -1
  433. package/build/api/models/get-table-schema200-response-indexes-inner.d.ts +1 -1
  434. package/build/api/models/get-table-schema200-response-indexes-inner.js +1 -1
  435. package/build/api/models/get-table-schema200-response.d.ts +1 -1
  436. package/build/api/models/get-table-schema200-response.js +1 -1
  437. package/build/api/models/get-token-metadata200-response-token.d.ts +2 -2
  438. package/build/api/models/get-token-metadata200-response-token.js +1 -1
  439. package/build/api/models/get-token-metadata200-response.d.ts +1 -1
  440. package/build/api/models/get-token-metadata200-response.js +1 -1
  441. package/build/api/models/get-wallet-balances200-response-balances-inner.d.ts +2 -2
  442. package/build/api/models/get-wallet-balances200-response-balances-inner.js +1 -1
  443. package/build/api/models/get-wallet-balances200-response-next.d.ts +1 -1
  444. package/build/api/models/get-wallet-balances200-response-next.js +1 -1
  445. package/build/api/models/get-wallet-balances200-response.d.ts +1 -1
  446. package/build/api/models/get-wallet-balances200-response.js +1 -1
  447. package/build/api/models/html-metadata-oembed.d.ts +1 -1
  448. package/build/api/models/html-metadata-oembed.js +1 -1
  449. package/build/api/models/html-metadata.d.ts +1 -1
  450. package/build/api/models/html-metadata.js +1 -1
  451. package/build/api/models/image-object.d.ts +1 -1
  452. package/build/api/models/image-object.js +1 -1
  453. package/build/api/models/index.d.ts +48 -10
  454. package/build/api/models/index.js +48 -10
  455. package/build/api/models/insert-rows-request.d.ts +2 -2
  456. package/build/api/models/insert-rows-request.js +1 -1
  457. package/build/api/models/insert-rows200-response.d.ts +2 -2
  458. package/build/api/models/insert-rows200-response.js +1 -1
  459. package/build/api/models/invite-channel-member-req-body.d.ts +1 -1
  460. package/build/api/models/invite-channel-member-req-body.js +1 -1
  461. package/build/api/models/list-conversations200-response-conversations-inner.d.ts +1 -1
  462. package/build/api/models/list-conversations200-response-conversations-inner.js +1 -1
  463. package/build/api/models/list-conversations200-response.d.ts +1 -1
  464. package/build/api/models/list-conversations200-response.js +1 -1
  465. package/build/api/models/list-deployment-files200-response-files-inner.d.ts +1 -1
  466. package/build/api/models/list-deployment-files200-response-files-inner.js +1 -1
  467. package/build/api/models/list-deployment-files200-response.d.ts +1 -1
  468. package/build/api/models/list-deployment-files200-response.js +1 -1
  469. package/build/api/models/list-deployments200-response-inner-production-app-status.d.ts +1 -1
  470. package/build/api/models/list-deployments200-response-inner-production-app-status.js +1 -1
  471. package/build/api/models/list-deployments200-response-inner.d.ts +16 -1
  472. package/build/api/models/list-deployments200-response-inner.js +8 -1
  473. package/build/api/models/list-deployments400-response.d.ts +1 -1
  474. package/build/api/models/list-deployments400-response.js +1 -1
  475. package/build/api/models/list-secrets200-response-secrets-inner.d.ts +14 -1
  476. package/build/api/models/list-secrets200-response-secrets-inner.js +6 -1
  477. package/build/api/models/list-secrets200-response.d.ts +1 -1
  478. package/build/api/models/list-secrets200-response.js +1 -1
  479. package/build/api/models/list-tables200-response-tables-inner.d.ts +1 -1
  480. package/build/api/models/list-tables200-response-tables-inner.js +1 -1
  481. package/build/api/models/list-tables200-response.d.ts +1 -1
  482. package/build/api/models/list-tables200-response.js +1 -1
  483. package/build/api/models/list-tables400-response.d.ts +1 -1
  484. package/build/api/models/list-tables400-response.js +1 -1
  485. package/build/api/models/location-address.d.ts +1 -1
  486. package/build/api/models/location-address.js +1 -1
  487. package/build/api/models/location.d.ts +1 -1
  488. package/build/api/models/location.js +1 -1
  489. package/build/api/models/mark-notifications-as-seen-req-body.d.ts +1 -1
  490. package/build/api/models/mark-notifications-as-seen-req-body.js +1 -1
  491. package/build/api/models/miniapp-domain-response.d.ts +2 -2
  492. package/build/api/models/miniapp-domain-response.js +1 -1
  493. package/build/api/models/{mint-nft-request-recipients-inner-one-of.d.ts → mint-nft-request-recipients-inner-any-of.d.ts} +2 -2
  494. package/build/api/models/mint-nft-request-recipients-inner-any-of.js +15 -0
  495. package/build/api/models/{mint-nft-request-recipients-inner-one-of1.d.ts → mint-nft-request-recipients-inner-any-of1.d.ts} +2 -2
  496. package/build/api/models/mint-nft-request-recipients-inner-any-of1.js +15 -0
  497. package/build/api/models/mint-nft-request-recipients-inner.d.ts +12 -5
  498. package/build/api/models/mint-nft-request-recipients-inner.js +1 -1
  499. package/build/api/models/mint-nft-request.d.ts +1 -1
  500. package/build/api/models/mint-nft-request.js +1 -1
  501. package/build/api/models/mint-nft200-response-transactions-inner-one-of-receipt.d.ts +1 -1
  502. package/build/api/models/mint-nft200-response-transactions-inner-one-of-receipt.js +1 -1
  503. package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient-tokens-inner.d.ts +14 -0
  504. package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient-tokens-inner.js +15 -0
  505. package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient.d.ts +6 -1
  506. package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient.js +1 -1
  507. package/build/api/models/mint-nft200-response-transactions-inner-one-of.d.ts +1 -1
  508. package/build/api/models/mint-nft200-response-transactions-inner-one-of.js +1 -1
  509. package/build/api/models/mint-nft200-response-transactions-inner-one-of1-recipient.d.ts +1 -1
  510. package/build/api/models/mint-nft200-response-transactions-inner-one-of1-recipient.js +1 -1
  511. package/build/api/models/mint-nft200-response-transactions-inner-one-of1.d.ts +1 -1
  512. package/build/api/models/mint-nft200-response-transactions-inner-one-of1.js +1 -1
  513. package/build/api/models/mint-nft200-response-transactions-inner.d.ts +1 -1
  514. package/build/api/models/mint-nft200-response-transactions-inner.js +1 -1
  515. package/build/api/models/mint-nft200-response.d.ts +1 -1
  516. package/build/api/models/mint-nft200-response.js +1 -1
  517. package/build/api/models/mute-list-response.d.ts +1 -1
  518. package/build/api/models/mute-list-response.js +1 -1
  519. package/build/api/models/mute-record.d.ts +1 -1
  520. package/build/api/models/mute-record.js +1 -1
  521. package/build/api/models/mute-req-body.d.ts +1 -1
  522. package/build/api/models/mute-req-body.js +1 -1
  523. package/build/api/models/mute-response.d.ts +1 -1
  524. package/build/api/models/mute-response.js +1 -1
  525. package/build/api/models/network.d.ts +1 -1
  526. package/build/api/models/network.js +1 -1
  527. package/build/api/models/next-cursor.d.ts +1 -1
  528. package/build/api/models/next-cursor.js +1 -1
  529. package/build/api/models/nonce-response.d.ts +1 -1
  530. package/build/api/models/nonce-response.js +1 -1
  531. package/build/api/models/notification-campaign-stats-error-breakdown.d.ts +1 -1
  532. package/build/api/models/notification-campaign-stats-error-breakdown.js +1 -1
  533. package/build/api/models/notification-campaign-stats.d.ts +5 -5
  534. package/build/api/models/notification-campaign-stats.js +1 -1
  535. package/build/api/models/notification-campaign-status.d.ts +22 -0
  536. package/build/api/models/notification-campaign-status.js +26 -0
  537. package/build/api/models/notification-campaign.d.ts +21 -1
  538. package/build/api/models/notification-campaign.js +9 -1
  539. package/build/api/models/notification-type.d.ts +1 -1
  540. package/build/api/models/notification-type.js +1 -1
  541. package/build/api/models/notification.d.ts +1 -1
  542. package/build/api/models/notification.js +1 -1
  543. package/build/api/models/notifications-response.d.ts +1 -1
  544. package/build/api/models/notifications-response.js +1 -1
  545. package/build/api/models/oembed-link-data.d.ts +1 -1
  546. package/build/api/models/oembed-link-data.js +1 -1
  547. package/build/api/models/oembed-photo-data.d.ts +1 -1
  548. package/build/api/models/oembed-photo-data.js +1 -1
  549. package/build/api/models/oembed-rich-data.d.ts +1 -1
  550. package/build/api/models/oembed-rich-data.js +1 -1
  551. package/build/api/models/oembed-video-data.d.ts +1 -1
  552. package/build/api/models/oembed-video-data.js +1 -1
  553. package/build/api/models/operation-response.d.ts +1 -1
  554. package/build/api/models/operation-response.js +1 -1
  555. package/build/api/models/{post-cast-req-body-embeds-one-of.d.ts → post-cast-req-body-embeds-any-of.d.ts} +2 -2
  556. package/build/api/models/post-cast-req-body-embeds-any-of.js +15 -0
  557. package/build/api/models/{post-cast-req-body-embeds-one-of1.d.ts → post-cast-req-body-embeds-any-of1.d.ts} +2 -2
  558. package/build/api/models/post-cast-req-body-embeds-any-of1.js +15 -0
  559. package/build/api/models/{post-cast-req-body-embeds-one-of2.d.ts → post-cast-req-body-embeds-any-of2.d.ts} +2 -2
  560. package/build/api/models/post-cast-req-body-embeds-any-of2.js +15 -0
  561. package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +1 -1
  562. package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +1 -1
  563. package/build/api/models/post-cast-req-body-embeds.d.ts +7 -8
  564. package/build/api/models/post-cast-req-body-embeds.js +1 -1
  565. package/build/api/models/post-cast-req-body.d.ts +1 -1
  566. package/build/api/models/post-cast-req-body.js +1 -1
  567. package/build/api/models/post-cast-response-cast-author.d.ts +1 -1
  568. package/build/api/models/post-cast-response-cast-author.js +1 -1
  569. package/build/api/models/post-cast-response-cast.d.ts +1 -1
  570. package/build/api/models/post-cast-response-cast.js +1 -1
  571. package/build/api/models/post-cast-response.d.ts +1 -1
  572. package/build/api/models/post-cast-response.js +1 -1
  573. package/build/api/models/prompt-deployment-stream-request-images-inner.d.ts +28 -0
  574. package/build/api/models/prompt-deployment-stream-request-images-inner.js +22 -0
  575. package/build/api/models/prompt-deployment-stream-request.d.ts +6 -1
  576. package/build/api/models/prompt-deployment-stream-request.js +1 -1
  577. package/build/api/models/prompt-deployment-stream202-response.d.ts +25 -0
  578. package/build/api/models/prompt-deployment-stream202-response.js +15 -0
  579. package/build/api/models/protocol.d.ts +1 -1
  580. package/build/api/models/protocol.js +1 -1
  581. package/build/api/models/provision-request.d.ts +25 -0
  582. package/build/api/models/provision-request.js +15 -0
  583. package/build/api/models/provision200-response.d.ts +18 -0
  584. package/build/api/models/provision200-response.js +15 -0
  585. package/build/api/models/query-table-request.d.ts +1 -1
  586. package/build/api/models/query-table-request.js +1 -1
  587. package/build/api/models/query-table200-response-columns-inner.d.ts +1 -1
  588. package/build/api/models/query-table200-response-columns-inner.js +1 -1
  589. package/build/api/models/query-table200-response.d.ts +2 -2
  590. package/build/api/models/query-table200-response.js +1 -1
  591. package/build/api/models/queued-frame-notifications-response.d.ts +19 -0
  592. package/build/api/models/queued-frame-notifications-response.js +15 -0
  593. package/build/api/models/reaction-for-cast.d.ts +1 -1
  594. package/build/api/models/reaction-for-cast.js +1 -1
  595. package/build/api/models/reaction-like.d.ts +1 -1
  596. package/build/api/models/reaction-like.js +1 -1
  597. package/build/api/models/reaction-recast.d.ts +1 -1
  598. package/build/api/models/reaction-recast.js +1 -1
  599. package/build/api/models/reaction-req-body.d.ts +1 -1
  600. package/build/api/models/reaction-req-body.js +1 -1
  601. package/build/api/models/reaction-type.d.ts +1 -1
  602. package/build/api/models/reaction-type.js +1 -1
  603. package/build/api/models/reaction-with-cast-info.d.ts +1 -1
  604. package/build/api/models/reaction-with-cast-info.js +1 -1
  605. package/build/api/models/reaction-with-user-info.d.ts +1 -1
  606. package/build/api/models/reaction-with-user-info.js +1 -1
  607. package/build/api/models/reactions-cast-response.d.ts +1 -1
  608. package/build/api/models/reactions-cast-response.js +1 -1
  609. package/build/api/models/reactions-response.d.ts +1 -1
  610. package/build/api/models/reactions-response.js +1 -1
  611. package/build/api/models/reciprocal-follower.d.ts +1 -1
  612. package/build/api/models/reciprocal-follower.js +1 -1
  613. package/build/api/models/recover-request.d.ts +1 -1
  614. package/build/api/models/recover-request.js +1 -1
  615. package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.d.ts +1 -1
  616. package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.js +1 -1
  617. package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +1 -1
  618. package/build/api/models/register-developer-managed-signed-key-req-body.js +1 -1
  619. package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.d.ts +1 -1
  620. package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.js +1 -1
  621. package/build/api/models/register-signer-key-req-body.d.ts +1 -1
  622. package/build/api/models/register-signer-key-req-body.js +1 -1
  623. package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.d.ts +1 -1
  624. package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.js +1 -1
  625. package/build/api/models/register-user-on-chain-req-body-registration.d.ts +1 -1
  626. package/build/api/models/register-user-on-chain-req-body-registration.js +1 -1
  627. package/build/api/models/register-user-on-chain-req-body-signers-inner.d.ts +1 -1
  628. package/build/api/models/register-user-on-chain-req-body-signers-inner.js +1 -1
  629. package/build/api/models/register-user-on-chain-req-body.d.ts +1 -1
  630. package/build/api/models/register-user-on-chain-req-body.js +1 -1
  631. package/build/api/models/register-user-on-chain-response.d.ts +1 -1
  632. package/build/api/models/register-user-on-chain-response.js +1 -1
  633. package/build/api/models/register-user-req-body-metadata.d.ts +1 -1
  634. package/build/api/models/register-user-req-body-metadata.js +1 -1
  635. package/build/api/models/register-user-req-body-signer.d.ts +1 -1
  636. package/build/api/models/register-user-req-body-signer.js +1 -1
  637. package/build/api/models/register-user-req-body.d.ts +1 -1
  638. package/build/api/models/register-user-req-body.js +1 -1
  639. package/build/api/models/register-user-response-signers-inner.d.ts +1 -1
  640. package/build/api/models/register-user-response-signers-inner.js +1 -1
  641. package/build/api/models/register-user-response.d.ts +1 -1
  642. package/build/api/models/register-user-response.js +1 -1
  643. package/build/api/models/relevant-followers-response.d.ts +1 -1
  644. package/build/api/models/relevant-followers-response.js +1 -1
  645. package/build/api/models/relevant-fungible-owners-response.d.ts +1 -1
  646. package/build/api/models/relevant-fungible-owners-response.js +1 -1
  647. package/build/api/models/remove-channel-member-req-body.d.ts +1 -1
  648. package/build/api/models/remove-channel-member-req-body.js +1 -1
  649. package/build/api/models/remove-verification-req-body.d.ts +1 -1
  650. package/build/api/models/remove-verification-req-body.js +1 -1
  651. package/build/api/models/respond-channel-invite-req-body.d.ts +1 -1
  652. package/build/api/models/respond-channel-invite-req-body.js +1 -1
  653. package/build/api/models/send-frame-notifications-req-body-filters-near-location.d.ts +1 -1
  654. package/build/api/models/send-frame-notifications-req-body-filters-near-location.js +1 -1
  655. package/build/api/models/send-frame-notifications-req-body-filters.d.ts +1 -1
  656. package/build/api/models/send-frame-notifications-req-body-filters.js +1 -1
  657. package/build/api/models/send-frame-notifications-req-body-notification.d.ts +1 -1
  658. package/build/api/models/send-frame-notifications-req-body-notification.js +1 -1
  659. package/build/api/models/send-frame-notifications-req-body.d.ts +1 -1
  660. package/build/api/models/send-frame-notifications-req-body.js +1 -1
  661. package/build/api/models/send-frame-notifications-response.d.ts +4 -4
  662. package/build/api/models/send-frame-notifications-response.js +1 -1
  663. package/build/api/models/shared-signer-permission.d.ts +1 -1
  664. package/build/api/models/shared-signer-permission.js +1 -1
  665. package/build/api/models/signed-key-request-sponsor.d.ts +1 -1
  666. package/build/api/models/signed-key-request-sponsor.js +1 -1
  667. package/build/api/models/signed-message-body-signed-message.d.ts +6 -4
  668. package/build/api/models/signed-message-body-signed-message.js +1 -1
  669. package/build/api/models/signed-message-body.d.ts +1 -1
  670. package/build/api/models/signed-message-body.js +1 -1
  671. package/build/api/models/signer-list-response.d.ts +1 -1
  672. package/build/api/models/signer-list-response.js +1 -1
  673. package/build/api/models/signer-uuid-body.d.ts +12 -3
  674. package/build/api/models/signer-uuid-body.js +8 -1
  675. package/build/api/models/signer.d.ts +1 -1
  676. package/build/api/models/signer.js +1 -1
  677. package/build/api/models/{simulate-nft-mint-response-inner-recipient-one-of.d.ts → simulate-nft-mint-response-inner-recipient-any-of.d.ts} +2 -2
  678. package/build/api/models/simulate-nft-mint-response-inner-recipient-any-of.js +15 -0
  679. package/build/api/models/{simulate-nft-mint-response-inner-recipient-one-of1.d.ts → simulate-nft-mint-response-inner-recipient-any-of1.d.ts} +2 -2
  680. package/build/api/models/simulate-nft-mint-response-inner-recipient-any-of1.js +15 -0
  681. package/build/api/models/simulate-nft-mint-response-inner-recipient.d.ts +12 -5
  682. package/build/api/models/simulate-nft-mint-response-inner-recipient.js +1 -1
  683. package/build/api/models/simulate-nft-mint-response-inner.d.ts +7 -3
  684. package/build/api/models/simulate-nft-mint-response-inner.js +1 -1
  685. package/build/api/models/simulate-nft-mint-response.d.ts +1 -1
  686. package/build/api/models/simulate-nft-mint-response.js +1 -1
  687. package/build/api/models/start-app-request.d.ts +1 -1
  688. package/build/api/models/start-app-request.js +1 -1
  689. package/build/api/models/start-app200-response.d.ts +1 -1
  690. package/build/api/models/start-app200-response.js +1 -1
  691. package/build/api/models/storage-allocation.d.ts +1 -1
  692. package/build/api/models/storage-allocation.js +1 -1
  693. package/build/api/models/storage-allocations-response.d.ts +1 -1
  694. package/build/api/models/storage-allocations-response.js +1 -1
  695. package/build/api/models/storage-object.d.ts +1 -1
  696. package/build/api/models/storage-object.js +1 -1
  697. package/build/api/models/storage-usage-response.d.ts +1 -1
  698. package/build/api/models/storage-usage-response.js +1 -1
  699. package/build/api/models/subscribed-to-object.d.ts +1 -1
  700. package/build/api/models/subscribed-to-object.js +1 -1
  701. package/build/api/models/subscribed-to-response.d.ts +1 -1
  702. package/build/api/models/subscribed-to-response.js +1 -1
  703. package/build/api/models/subscribed-to.d.ts +1 -1
  704. package/build/api/models/subscribed-to.js +1 -1
  705. package/build/api/models/subscriber.d.ts +1 -1
  706. package/build/api/models/subscriber.js +1 -1
  707. package/build/api/models/subscribers-response.d.ts +1 -1
  708. package/build/api/models/subscribers-response.js +1 -1
  709. package/build/api/models/subscription-check-response-value.d.ts +1 -1
  710. package/build/api/models/subscription-check-response-value.js +1 -1
  711. package/build/api/models/subscription-check-response.d.ts +1 -1
  712. package/build/api/models/subscription-check-response.js +1 -1
  713. package/build/api/models/subscription-metadata.d.ts +1 -1
  714. package/build/api/models/subscription-metadata.js +1 -1
  715. package/build/api/models/subscription-price.d.ts +1 -1
  716. package/build/api/models/subscription-price.js +1 -1
  717. package/build/api/models/subscription-tier-price.d.ts +1 -1
  718. package/build/api/models/subscription-tier-price.js +1 -1
  719. package/build/api/models/subscription-tier.d.ts +1 -1
  720. package/build/api/models/subscription-tier.js +1 -1
  721. package/build/api/models/subscription-token.d.ts +1 -1
  722. package/build/api/models/subscription-token.js +1 -1
  723. package/build/api/models/subscription.d.ts +1 -1
  724. package/build/api/models/subscription.js +1 -1
  725. package/build/api/models/subscriptions-response.d.ts +1 -1
  726. package/build/api/models/subscriptions-response.js +1 -1
  727. package/build/api/models/subscriptions.d.ts +1 -1
  728. package/build/api/models/subscriptions.js +1 -1
  729. package/build/api/models/text-range.d.ts +1 -1
  730. package/build/api/models/text-range.js +1 -1
  731. package/build/api/models/token-balance-balance.d.ts +1 -1
  732. package/build/api/models/token-balance-balance.js +1 -1
  733. package/build/api/models/token-balance-token.d.ts +1 -1
  734. package/build/api/models/token-balance-token.js +1 -1
  735. package/build/api/models/token-balance.d.ts +1 -1
  736. package/build/api/models/token-balance.js +1 -1
  737. package/build/api/models/top-level-topic.d.ts +36 -0
  738. package/build/api/models/top-level-topic.js +40 -0
  739. package/build/api/models/transaction-frame-action.d.ts +1 -1
  740. package/build/api/models/transaction-frame-action.js +1 -1
  741. package/build/api/models/transaction-frame-config.d.ts +1 -1
  742. package/build/api/models/transaction-frame-config.js +1 -1
  743. package/build/api/models/transaction-frame-destination.d.ts +1 -1
  744. package/build/api/models/transaction-frame-destination.js +1 -1
  745. package/build/api/models/transaction-frame-line-item.d.ts +1 -1
  746. package/build/api/models/transaction-frame-line-item.js +1 -1
  747. package/build/api/models/transaction-frame-pay.d.ts +1 -1
  748. package/build/api/models/transaction-frame-pay.js +1 -1
  749. package/build/api/models/transaction-frame-response.d.ts +1 -1
  750. package/build/api/models/transaction-frame-response.js +1 -1
  751. package/build/api/models/transaction-frame-status.d.ts +1 -1
  752. package/build/api/models/transaction-frame-status.js +1 -1
  753. package/build/api/models/transaction-frame-type.d.ts +1 -1
  754. package/build/api/models/transaction-frame-type.js +1 -1
  755. package/build/api/models/transaction-send-fungibles-receipt.d.ts +1 -1
  756. package/build/api/models/transaction-send-fungibles-receipt.js +1 -1
  757. package/build/api/models/transaction-send-fungibles-recipient.d.ts +1 -1
  758. package/build/api/models/transaction-send-fungibles-recipient.js +1 -1
  759. package/build/api/models/transaction-send-fungibles-req-body.d.ts +1 -1
  760. package/build/api/models/transaction-send-fungibles-req-body.js +1 -1
  761. package/build/api/models/transaction-send-fungibles-response.d.ts +1 -1
  762. package/build/api/models/transaction-send-fungibles-response.js +1 -1
  763. package/build/api/models/transaction-send-tx-info.d.ts +1 -1
  764. package/build/api/models/transaction-send-tx-info.js +1 -1
  765. package/build/api/models/trending-channel-response.d.ts +1 -1
  766. package/build/api/models/trending-channel-response.js +1 -1
  767. package/build/api/models/trending-topic.d.ts +3 -27
  768. package/build/api/models/trending-topic.js +1 -23
  769. package/build/api/models/trending-topics-response.d.ts +1 -1
  770. package/build/api/models/trending-topics-response.js +1 -1
  771. package/build/api/models/update-rows-request.d.ts +3 -3
  772. package/build/api/models/update-rows-request.js +1 -1
  773. package/build/api/models/update-rows200-response.d.ts +1 -1
  774. package/build/api/models/update-rows200-response.js +1 -1
  775. package/build/api/models/update-user-req-body-location.d.ts +1 -1
  776. package/build/api/models/update-user-req-body-location.js +1 -1
  777. package/build/api/models/update-user-req-body-verified-accounts.d.ts +1 -1
  778. package/build/api/models/update-user-req-body-verified-accounts.js +1 -1
  779. package/build/api/models/update-user-req-body.d.ts +1 -1
  780. package/build/api/models/update-user-req-body.js +1 -1
  781. package/build/api/models/update-user207-response-errors-inner.d.ts +1 -1
  782. package/build/api/models/update-user207-response-errors-inner.js +1 -1
  783. package/build/api/models/update-user207-response.d.ts +1 -1
  784. package/build/api/models/update-user207-response.js +1 -1
  785. package/build/api/models/upgrade-preview200-response-credit.d.ts +16 -0
  786. package/build/api/models/upgrade-preview200-response-credit.js +15 -0
  787. package/build/api/models/upgrade-preview200-response-current-plan.d.ts +17 -0
  788. package/build/api/models/upgrade-preview200-response-current-plan.js +15 -0
  789. package/build/api/models/upgrade-preview200-response-new-plan.d.ts +16 -0
  790. package/build/api/models/upgrade-preview200-response-new-plan.js +15 -0
  791. package/build/api/models/upgrade-preview200-response.d.ts +22 -0
  792. package/build/api/models/upgrade-preview200-response.js +15 -0
  793. package/build/api/models/upgrade-preview400-response-payment-method.d.ts +15 -0
  794. package/build/api/models/upgrade-preview400-response-payment-method.js +15 -0
  795. package/build/api/models/upgrade-preview400-response.d.ts +17 -0
  796. package/build/api/models/upgrade-preview400-response.js +15 -0
  797. package/build/api/models/upgrade-request.d.ts +20 -0
  798. package/build/api/models/upgrade-request.js +20 -0
  799. package/build/api/models/upgrade200-response.d.ts +18 -0
  800. package/build/api/models/upgrade200-response.js +15 -0
  801. package/build/api/models/upload-image-url-request.d.ts +1 -1
  802. package/build/api/models/upload-image-url-request.js +1 -1
  803. package/build/api/models/upload-image200-response.d.ts +1 -1
  804. package/build/api/models/upload-image200-response.js +1 -1
  805. package/build/api/models/upload-token-metadata-request-tokens-inner-metadata-attributes-inner-value.d.ts +15 -0
  806. package/build/api/models/upload-token-metadata-request-tokens-inner-metadata-attributes-inner-value.js +15 -0
  807. package/build/api/models/upload-token-metadata-request-tokens-inner-metadata-attributes-inner.d.ts +25 -0
  808. package/build/api/models/upload-token-metadata-request-tokens-inner-metadata-attributes-inner.js +22 -0
  809. package/build/api/models/upload-token-metadata-request-tokens-inner-metadata.d.ts +22 -0
  810. package/build/api/models/upload-token-metadata-request-tokens-inner-metadata.js +15 -0
  811. package/build/api/models/upload-token-metadata-request-tokens-inner.d.ts +16 -0
  812. package/build/api/models/upload-token-metadata-request-tokens-inner.js +15 -0
  813. package/build/api/models/upload-token-metadata-request.d.ts +26 -0
  814. package/build/api/models/upload-token-metadata-request.js +21 -0
  815. package/build/api/models/upload-token-metadata200-response-tokens-inner-one-of.d.ts +15 -0
  816. package/build/api/models/upload-token-metadata200-response-tokens-inner-one-of.js +15 -0
  817. package/build/api/models/upload-token-metadata200-response-tokens-inner-one-of1.d.ts +15 -0
  818. package/build/api/models/upload-token-metadata200-response-tokens-inner-one-of1.js +15 -0
  819. package/build/api/models/upload-token-metadata200-response-tokens-inner.d.ts +17 -0
  820. package/build/api/models/upload-token-metadata200-response-tokens-inner.js +15 -0
  821. package/build/api/models/upload-token-metadata200-response.d.ts +15 -0
  822. package/build/api/models/upload-token-metadata200-response.js +15 -0
  823. package/build/api/models/upsert-secrets-request-secrets-inner.d.ts +1 -1
  824. package/build/api/models/upsert-secrets-request-secrets-inner.js +1 -1
  825. package/build/api/models/upsert-secrets-request.d.ts +1 -1
  826. package/build/api/models/upsert-secrets-request.js +1 -1
  827. package/build/api/models/upsert-secrets200-response.d.ts +1 -1
  828. package/build/api/models/upsert-secrets200-response.js +1 -1
  829. package/build/api/models/user-auth-addresses-inner.d.ts +1 -1
  830. package/build/api/models/user-auth-addresses-inner.js +1 -1
  831. package/build/api/models/user-dehydrated.d.ts +1 -1
  832. package/build/api/models/user-dehydrated.js +1 -1
  833. package/build/api/models/user-experimental.d.ts +1 -1
  834. package/build/api/models/user-experimental.js +1 -1
  835. package/build/api/models/user-fidresponse.d.ts +1 -1
  836. package/build/api/models/user-fidresponse.js +1 -1
  837. package/build/api/models/user-power-lite-response-result.d.ts +1 -1
  838. package/build/api/models/user-power-lite-response-result.js +1 -1
  839. package/build/api/models/user-power-lite-response.d.ts +1 -1
  840. package/build/api/models/user-power-lite-response.js +1 -1
  841. package/build/api/models/user-pro.d.ts +1 -1
  842. package/build/api/models/user-pro.js +1 -1
  843. package/build/api/models/user-profile-banner.d.ts +1 -1
  844. package/build/api/models/user-profile-banner.js +1 -1
  845. package/build/api/models/user-profile-bio.d.ts +1 -1
  846. package/build/api/models/user-profile-bio.js +1 -1
  847. package/build/api/models/user-profile.d.ts +1 -1
  848. package/build/api/models/user-profile.js +1 -1
  849. package/build/api/models/user-response.d.ts +1 -1
  850. package/build/api/models/user-response.js +1 -1
  851. package/build/api/models/user-search-response-result.d.ts +1 -1
  852. package/build/api/models/user-search-response-result.js +1 -1
  853. package/build/api/models/user-search-response.d.ts +1 -1
  854. package/build/api/models/user-search-response.js +1 -1
  855. package/build/api/models/user-verified-accounts-inner.d.ts +1 -1
  856. package/build/api/models/user-verified-accounts-inner.js +1 -1
  857. package/build/api/models/user-verified-addresses-primary.d.ts +1 -1
  858. package/build/api/models/user-verified-addresses-primary.js +1 -1
  859. package/build/api/models/user-verified-addresses.d.ts +1 -1
  860. package/build/api/models/user-verified-addresses.js +1 -1
  861. package/build/api/models/user-viewer-context.d.ts +1 -1
  862. package/build/api/models/user-viewer-context.js +1 -1
  863. package/build/api/models/user.d.ts +1 -1
  864. package/build/api/models/user.js +1 -1
  865. package/build/api/models/users-active-channels-response.d.ts +1 -1
  866. package/build/api/models/users-active-channels-response.js +1 -1
  867. package/build/api/models/users-response.d.ts +1 -1
  868. package/build/api/models/users-response.js +1 -1
  869. package/build/api/models/vercel-deployment-logs200-response-logs-inner.d.ts +1 -1
  870. package/build/api/models/vercel-deployment-logs200-response-logs-inner.js +1 -1
  871. package/build/api/models/vercel-deployment-logs200-response.d.ts +1 -1
  872. package/build/api/models/vercel-deployment-logs200-response.js +1 -1
  873. package/build/api/models/vercel-deployment-status200-response.d.ts +1 -1
  874. package/build/api/models/vercel-deployment-status200-response.js +1 -1
  875. package/build/api/models/verification-chain-id.d.ts +3 -7
  876. package/build/api/models/verification-chain-id.js +1 -10
  877. package/build/api/models/verification-type.d.ts +3 -6
  878. package/build/api/models/verification-type.js +1 -9
  879. package/build/api/models/verification.d.ts +1 -1
  880. package/build/api/models/verification.js +1 -1
  881. package/build/api/models/video-object.d.ts +1 -1
  882. package/build/api/models/video-object.js +1 -1
  883. package/build/api/models/webhook-delete-req-body.d.ts +1 -1
  884. package/build/api/models/webhook-delete-req-body.js +1 -1
  885. package/build/api/models/webhook-list-response.d.ts +1 -1
  886. package/build/api/models/webhook-list-response.js +1 -1
  887. package/build/api/models/webhook-patch-req-body.d.ts +1 -1
  888. package/build/api/models/webhook-patch-req-body.js +1 -1
  889. package/build/api/models/webhook-post-req-body.d.ts +1 -1
  890. package/build/api/models/webhook-post-req-body.js +1 -1
  891. package/build/api/models/webhook-put-req-body.d.ts +1 -1
  892. package/build/api/models/webhook-put-req-body.js +1 -1
  893. package/build/api/models/webhook-response.d.ts +1 -1
  894. package/build/api/models/webhook-response.js +1 -1
  895. package/build/api/models/webhook-secret.d.ts +1 -1
  896. package/build/api/models/webhook-secret.js +1 -1
  897. package/build/api/models/webhook-subscription-filters-cast.d.ts +1 -1
  898. package/build/api/models/webhook-subscription-filters-cast.js +1 -1
  899. package/build/api/models/webhook-subscription-filters-follow.d.ts +1 -1
  900. package/build/api/models/webhook-subscription-filters-follow.js +1 -1
  901. package/build/api/models/webhook-subscription-filters-reaction.d.ts +1 -1
  902. package/build/api/models/webhook-subscription-filters-reaction.js +1 -1
  903. package/build/api/models/webhook-subscription-filters-trade.d.ts +1 -1
  904. package/build/api/models/webhook-subscription-filters-trade.js +1 -1
  905. package/build/api/models/webhook-subscription-filters-user-updated.d.ts +1 -1
  906. package/build/api/models/webhook-subscription-filters-user-updated.js +1 -1
  907. package/build/api/models/webhook-subscription-filters.d.ts +1 -1
  908. package/build/api/models/webhook-subscription-filters.js +1 -1
  909. package/build/api/models/webhook-subscription.d.ts +1 -1
  910. package/build/api/models/webhook-subscription.js +1 -1
  911. package/build/api/models/webhook.d.ts +1 -1
  912. package/build/api/models/webhook.js +1 -1
  913. package/build/api/models/zod-error-errors-inner.d.ts +1 -1
  914. package/build/api/models/zod-error-errors-inner.js +1 -1
  915. package/build/api/models/zod-error.d.ts +1 -1
  916. package/build/api/models/zod-error.js +1 -1
  917. package/build/clients/NeynarAPIClient.d.ts +460 -101
  918. package/build/clients/NeynarAPIClient.js +459 -64
  919. package/build/hub-api/api.d.ts +85 -12
  920. package/build/hub-api/api.js +97 -26
  921. package/package.json +3 -3
  922. package/build/api/models/app-host-event-type.d.ts +0 -21
  923. package/build/api/models/app-host-event-type.js +0 -25
  924. package/build/api/models/post-cast-req-body-embeds-one-of.js +0 -15
  925. package/build/api/models/post-cast-req-body-embeds-one-of1.js +0 -15
  926. package/build/api/models/post-cast-req-body-embeds-one-of2.js +0 -15
  927. package/build/api/models/simulate-nft-mint-response-inner-recipient-one-of.js +0 -15
  928. package/build/api/models/simulate-nft-mint-response-inner-recipient-one-of1.js +0 -15
@@ -2,7 +2,7 @@
2
2
  * Neynar API
3
3
  * The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
4
4
  *
5
- * The version of the OpenAPI document: 3.137.0
5
+ * The version of the OpenAPI document: 3.169.0
6
6
  * Contact: team@neynar.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,9 +12,16 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { AssignCustomDomain200Response } from '../models';
16
+ import type { AssignCustomDomainRequest } from '../models';
15
17
  import type { AssociateDeployment200Response } from '../models';
16
18
  import type { AssociateDeploymentRequest } from '../models';
17
19
  import type { BuildRequest } from '../models';
20
+ import type { CancelSession200Response } from '../models';
21
+ import type { CancelSessionRequest } from '../models';
22
+ import type { CheckDomainAvailability200Response } from '../models';
23
+ import type { ClaimCreditDrop200Response } from '../models';
24
+ import type { ClaimCreditDropRequest } from '../models';
18
25
  import type { CreateDeploymentRequest } from '../models';
19
26
  import type { DeleteDeployment200Response } from '../models';
20
27
  import type { DeleteDeploymentRequest } from '../models';
@@ -27,6 +34,7 @@ import type { ExecuteSql200Response } from '../models';
27
34
  import type { ExecuteSqlRequest } from '../models';
28
35
  import type { GetAccountAssociation200Response } from '../models';
29
36
  import type { GetConversationMessages200Response } from '../models';
37
+ import type { GetCreditDrop200Response } from '../models';
30
38
  import type { GetDeploymentFile200Response } from '../models';
31
39
  import type { GetDevStatus200Response } from '../models';
32
40
  import type { GetTableSchema200Response } from '../models';
@@ -38,6 +46,8 @@ import type { ListDeployments200ResponseInner } from '../models';
38
46
  import type { ListSecrets200Response } from '../models';
39
47
  import type { ListTables200Response } from '../models';
40
48
  import type { PromptDeploymentStreamRequest } from '../models';
49
+ import type { Provision200Response } from '../models';
50
+ import type { ProvisionRequest } from '../models';
41
51
  import type { QueryTable200Response } from '../models';
42
52
  import type { QueryTableRequest } from '../models';
43
53
  import type { RecoverRequest } from '../models';
@@ -56,6 +66,19 @@ import type { VercelDeploymentStatus200Response } from '../models';
56
66
  * @export
57
67
  */
58
68
  export declare const StudioApiAxiosParamCreator: (configuration?: Configuration) => {
69
+ /**
70
+ * Assigns a custom *.neynar.app subdomain to the user\'s deployed miniapp. The new domain is added to the Vercel project alongside the existing auto-assigned domain. The productionDomain in the database is updated to the custom domain. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
71
+ * @summary Assign a custom subdomain to a deployed miniapp
72
+ * @param {number} fid Farcaster ID of the requesting user
73
+ * @param {AssignCustomDomainRequest} assignCustomDomainRequest
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
77
+ *
78
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
79
+ *
80
+ */
81
+ assignCustomDomain: (fid: number, assignCustomDomainRequest: AssignCustomDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
59
82
  /**
60
83
  * Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
61
84
  * @summary Set account association
@@ -80,6 +103,43 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
80
103
  *
81
104
  */
82
105
  build: (buildRequest: BuildRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
106
+ /**
107
+ * Cancels an in-progress Claude Code session for a deployment. Safe to call even if no session is active — returns cancelled: false in that case.
108
+ * @summary Cancel an active Claude session for a deployment
109
+ * @param {CancelSessionRequest} cancelSessionRequest
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
113
+ *
114
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
115
+ *
116
+ */
117
+ cancelSession: (cancelSessionRequest: CancelSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
118
+ /**
119
+ * Checks whether a custom *.neynar.app subdomain is available for assignment. Validates format, checks reserved names, and verifies no other active deployment is using it. Note: Studio CU is tracked based on LLM token usage, not per API call.
120
+ * @summary Check if a custom subdomain is available
121
+ * @param {number} fid Farcaster ID of the requesting user
122
+ * @param {string} subdomain The desired subdomain (without .neynar.app suffix). Must be 3-63 characters, lowercase alphanumeric and hyphens only.
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
126
+ *
127
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
128
+ *
129
+ */
130
+ checkDomainAvailability: (fid: number, subdomain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
131
+ /**
132
+ * Claims the most recent credit drop for the authenticated user. The drop\'s allowance is surfaced dynamically until expires_at and does not mutate extra_credits. Only drops created within the past 24 hours can be claimed.
133
+ * @summary Claim credit drop
134
+ * @param {ClaimCreditDropRequest} claimCreditDropRequest
135
+ * @param {*} [options] Override http request option.
136
+ * @throws {RequiredError}
137
+ * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
138
+ *
139
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
140
+ *
141
+ */
142
+ claimCreditDrop: (claimCreditDropRequest: ClaimCreditDropRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
83
143
  /**
84
144
  * Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
85
145
  * @summary Create a miniapp generator deployment
@@ -153,6 +213,21 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
153
213
  *
154
214
  */
155
215
  executeSql: (executeSqlRequest: ExecuteSqlRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
216
+ /**
217
+ * Downloads the generated miniapp source code as a binary ZIP archive (Content-Type: application/zip). Requires a paid Studio subscription (GROWTH, STUDIO_PLUS, STUDIO_MAX, or INTERNAL). The deployment must be running. The 200 response body is a raw binary stream, not JSON.
218
+ * @summary Export deployment source code as ZIP
219
+ * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
220
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
221
+ * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
222
+ * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ * @returns {Promise<>} A promise that resolves to a `` object
226
+ *
227
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
228
+ *
229
+ */
230
+ exportZip: (deploymentId?: string, fid?: number, name?: string, namespace?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
156
231
  /**
157
232
  * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
158
233
  * @summary Get account association of a miniapp
@@ -168,14 +243,16 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
168
243
  */
169
244
  getAccountAssociation: (deploymentId?: string, namespace?: string, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
170
245
  /**
171
- * Retrieves all messages in a specific conversation. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
246
+ * Retrieves messages in a specific conversation with cursor-based pagination (newest first). Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
172
247
  * @summary Get messages in a conversation
173
248
  * @param {string} conversationId Conversation ID
174
249
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
175
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
250
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
176
251
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
177
252
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
178
- * @param {boolean | null} [includeDeleted] Include deleted messages in the response. Defaults to false.
253
+ * @param {boolean} [includeDeleted] Include deleted messages in the response. Defaults to false.
254
+ * @param {number} [limit] Maximum number of messages to return per page. Defaults to 50, max 100. (Default: 50, Maximum: 100)
255
+ * @param {string} [cursor] Pagination cursor for fetching older messages. Omit to start from most recent.
179
256
  * @param {*} [options] Override http request option.
180
257
  * @throws {RequiredError}
181
258
  * @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object
@@ -183,12 +260,24 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
183
260
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
184
261
  *
185
262
  */
186
- getConversationMessages: (conversationId: string, deploymentId?: string, fid?: number | null, name?: string, namespace?: string, includeDeleted?: boolean | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
263
+ getConversationMessages: (conversationId: string, deploymentId?: string, fid?: number, name?: string, namespace?: string, includeDeleted?: boolean, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
264
+ /**
265
+ * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
266
+ * @summary Get most recent credit drop
267
+ * @param {number} fid Farcaster ID of the user
268
+ * @param {*} [options] Override http request option.
269
+ * @throws {RequiredError}
270
+ * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
271
+ *
272
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
273
+ *
274
+ */
275
+ getCreditDrop: (fid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
187
276
  /**
188
277
  * Fetches info about a miniapp generator deployment by its deployment_id or name and creator\'s Farcaster ID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
189
278
  * @summary Get deployment info
190
279
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
191
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
280
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
192
281
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
193
282
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
194
283
  * @param {*} [options] Override http request option.
@@ -198,13 +287,13 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
198
287
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment)
199
288
  *
200
289
  */
201
- getDeployment: (deploymentId?: string, fid?: number | null, name?: string, namespace?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
290
+ getDeployment: (deploymentId?: string, fid?: number, name?: string, namespace?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
202
291
  /**
203
292
  * Retrieves the contents of a specific file from the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
204
293
  * @summary Get deployment file contents
205
294
  * @param {string} filePath File path relative to gen/
206
295
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
207
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
296
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
208
297
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
209
298
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
210
299
  * @param {*} [options] Override http request option.
@@ -214,7 +303,7 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
214
303
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment-file)
215
304
  *
216
305
  */
217
- getDeploymentFile: (filePath: string, deploymentId?: string, fid?: number | null, name?: string, namespace?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
306
+ getDeploymentFile: (filePath: string, deploymentId?: string, fid?: number, name?: string, namespace?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
218
307
  /**
219
308
  * Retrieves the dev-status.json file from a miniapp deployment, which tracks the progress of app development phases. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
220
309
  * @summary Get dev status of a miniapp
@@ -234,7 +323,7 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
234
323
  * @summary Get table schema
235
324
  * @param {string} tableName
236
325
  * @param {string} deploymentId Deployment ID (UUID)
237
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users.
326
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
238
327
  * @param {*} [options] Override http request option.
239
328
  * @throws {RequiredError}
240
329
  * @returns {Promise<GetTableSchema200Response>} A promise that resolves to a `GetTableSchema200Response` object
@@ -242,7 +331,7 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
242
331
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-table-schema)
243
332
  *
244
333
  */
245
- getTableSchema: (tableName: string, deploymentId: string, fid?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
334
+ getTableSchema: (tableName: string, deploymentId: string, fid?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
246
335
  /**
247
336
  * Inserts one or more rows into the specified table. Returns the inserted rows with generated values.
248
337
  * @summary Insert rows into table
@@ -260,9 +349,9 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
260
349
  * Lists all conversations for a specific deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
261
350
  * @summary List conversations for a deployment
262
351
  * @param {string} [deploymentId] Deployment ID (UUID). If provided, filters conversations to this deployment only.
263
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
352
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
264
353
  * @param {string} [name] Kubernetes deployment name. If provided, filters conversations to this deployment only.
265
- * @param {boolean | null} [includeDeleted] Include deleted conversations in the response. Defaults to false.
354
+ * @param {boolean} [includeDeleted] Include deleted conversations in the response. Defaults to false.
266
355
  * @param {*} [options] Override http request option.
267
356
  * @throws {RequiredError}
268
357
  * @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object
@@ -270,12 +359,12 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
270
359
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-conversations)
271
360
  *
272
361
  */
273
- listConversations: (deploymentId?: string, fid?: number | null, name?: string, includeDeleted?: boolean | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
362
+ listConversations: (deploymentId?: string, fid?: number, name?: string, includeDeleted?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
274
363
  /**
275
364
  * Lists files in a directory of the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
276
365
  * @summary List deployment files
277
366
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
278
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
367
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
279
368
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
280
369
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
281
370
  * @param {string} [directory] Directory path relative to gen/ (defaults to root)
@@ -286,14 +375,16 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
286
375
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployment-files)
287
376
  *
288
377
  */
289
- listDeploymentFiles: (deploymentId?: string, fid?: number | null, name?: string, namespace?: string, directory?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
378
+ listDeploymentFiles: (deploymentId?: string, fid?: number, name?: string, namespace?: string, directory?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
290
379
  /**
291
380
  * Lists all miniapp generator deployments for a user. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
292
381
  * @summary List deployments
293
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
382
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
294
383
  * @param {number} [limit] Maximum number of deployments to return. Defaults to 50, max 1000. (Default: 50, Maximum: 1000)
295
- * @param {number | null} [offset] Number of deployments to skip for pagination. Defaults to 0.
296
- * @param {boolean | null} [includeDeleted] Include deleted deployments in the response. Defaults to false.
384
+ * @param {number} [offset] Number of deployments to skip for pagination. Defaults to 0.
385
+ * @param {string} [query] Search string to filter deployments by name, display name, or FID.
386
+ * @param {ListDeploymentsSortByEnum} [sortBy] Field to sort deployments by. Defaults to updated_at (most recently updated first).
387
+ * @param {boolean} [includeDeleted] Include deleted deployments in the response. Defaults to false.
297
388
  * @param {*} [options] Override http request option.
298
389
  * @throws {RequiredError}
299
390
  * @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object
@@ -301,7 +392,7 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
301
392
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
302
393
  *
303
394
  */
304
- listDeployments: (fid?: number | null, limit?: number, offset?: number | null, includeDeleted?: boolean | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
395
+ listDeployments: (fid?: number, limit?: number, offset?: number, query?: string, sortBy?: ListDeploymentsSortByEnum, includeDeleted?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
305
396
  /**
306
397
  * Retrieves all secrets for a deployment.
307
398
  * @summary List deployment secrets
@@ -319,7 +410,7 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
319
410
  * Lists all tables and views in the deployment database, excluding system tables.
320
411
  * @summary List all tables in deployment database
321
412
  * @param {string} deploymentId Deployment ID (UUID)
322
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users.
413
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
323
414
  * @param {*} [options] Override http request option.
324
415
  * @throws {RequiredError}
325
416
  * @returns {Promise<ListTables200Response>} A promise that resolves to a `ListTables200Response` object
@@ -327,7 +418,7 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
327
418
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-tables)
328
419
  *
329
420
  */
330
- listTables: (deploymentId: string, fid?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
421
+ listTables: (deploymentId: string, fid?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
331
422
  /**
332
423
  * Sends a prompt to a specific miniapp generator deployment and returns a streaming response using Server-Sent Events. The response is a continuous stream of Server-Sent Events, not a single JSON payload. Each event contains a JSON object with type, message, and other fields specific to the message type. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
333
424
  * @summary Prompt a deployment with streaming response
@@ -340,6 +431,18 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
340
431
  *
341
432
  */
342
433
  promptDeploymentStream: (promptDeploymentStreamRequest: PromptDeploymentStreamRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
434
+ /**
435
+ * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
436
+ * @summary Provision a database for a deployment
437
+ * @param {ProvisionRequest} provisionRequest
438
+ * @param {*} [options] Override http request option.
439
+ * @throws {RequiredError}
440
+ * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
441
+ *
442
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
443
+ *
444
+ */
445
+ provision: (provisionRequest: ProvisionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
343
446
  /**
344
447
  * Query data from a table with pagination and sorting.
345
448
  * @summary Query table data
@@ -440,7 +543,7 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
440
543
  * Retrieves the build logs for a Vercel deployment. Useful for debugging failed deployments. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
441
544
  * @summary Get Vercel deployment build logs
442
545
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
443
- * @param {number | null} [fid] Farcaster ID of the user
546
+ * @param {number} [fid] Farcaster ID of the user
444
547
  * @param {string} [namespace] K8s Namespace name
445
548
  * @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
446
549
  * @param {number} [limit] Maximum number of log events to return. Defaults to 100.
@@ -451,12 +554,12 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
451
554
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-logs)
452
555
  *
453
556
  */
454
- vercelDeploymentLogs: (deploymentId?: string, fid?: number | null, namespace?: string, name?: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
557
+ vercelDeploymentLogs: (deploymentId?: string, fid?: number, namespace?: string, name?: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
455
558
  /**
456
559
  * Retrieves the status of a Vercel deployment for a miniapp. Looks up the Vercel project ID from the deployment and queries Vercel API for deployment status. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
457
560
  * @summary Get Vercel deployment status
458
561
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
459
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
562
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
460
563
  * @param {string} [namespace] K8s Namespace name
461
564
  * @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
462
565
  * @param {*} [options] Override http request option.
@@ -466,13 +569,26 @@ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration)
466
569
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-status)
467
570
  *
468
571
  */
469
- vercelDeploymentStatus: (deploymentId?: string, fid?: number | null, namespace?: string, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
572
+ vercelDeploymentStatus: (deploymentId?: string, fid?: number, namespace?: string, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
470
573
  };
471
574
  /**
472
575
  * StudioApi - functional programming interface
473
576
  * @export
474
577
  */
475
578
  export declare const StudioApiFp: (configuration?: Configuration) => {
579
+ /**
580
+ * Assigns a custom *.neynar.app subdomain to the user\'s deployed miniapp. The new domain is added to the Vercel project alongside the existing auto-assigned domain. The productionDomain in the database is updated to the custom domain. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
581
+ * @summary Assign a custom subdomain to a deployed miniapp
582
+ * @param {number} fid Farcaster ID of the requesting user
583
+ * @param {AssignCustomDomainRequest} assignCustomDomainRequest
584
+ * @param {*} [options] Override http request option.
585
+ * @throws {RequiredError}
586
+ * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
587
+ *
588
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
589
+ *
590
+ */
591
+ assignCustomDomain(fid: number, assignCustomDomainRequest: AssignCustomDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssignCustomDomain200Response>>;
476
592
  /**
477
593
  * Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
478
594
  * @summary Set account association
@@ -497,6 +613,43 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
497
613
  *
498
614
  */
499
615
  build(buildRequest: BuildRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
616
+ /**
617
+ * Cancels an in-progress Claude Code session for a deployment. Safe to call even if no session is active — returns cancelled: false in that case.
618
+ * @summary Cancel an active Claude session for a deployment
619
+ * @param {CancelSessionRequest} cancelSessionRequest
620
+ * @param {*} [options] Override http request option.
621
+ * @throws {RequiredError}
622
+ * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
623
+ *
624
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
625
+ *
626
+ */
627
+ cancelSession(cancelSessionRequest: CancelSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelSession200Response>>;
628
+ /**
629
+ * Checks whether a custom *.neynar.app subdomain is available for assignment. Validates format, checks reserved names, and verifies no other active deployment is using it. Note: Studio CU is tracked based on LLM token usage, not per API call.
630
+ * @summary Check if a custom subdomain is available
631
+ * @param {number} fid Farcaster ID of the requesting user
632
+ * @param {string} subdomain The desired subdomain (without .neynar.app suffix). Must be 3-63 characters, lowercase alphanumeric and hyphens only.
633
+ * @param {*} [options] Override http request option.
634
+ * @throws {RequiredError}
635
+ * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
636
+ *
637
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
638
+ *
639
+ */
640
+ checkDomainAvailability(fid: number, subdomain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckDomainAvailability200Response>>;
641
+ /**
642
+ * Claims the most recent credit drop for the authenticated user. The drop\'s allowance is surfaced dynamically until expires_at and does not mutate extra_credits. Only drops created within the past 24 hours can be claimed.
643
+ * @summary Claim credit drop
644
+ * @param {ClaimCreditDropRequest} claimCreditDropRequest
645
+ * @param {*} [options] Override http request option.
646
+ * @throws {RequiredError}
647
+ * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
648
+ *
649
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
650
+ *
651
+ */
652
+ claimCreditDrop(claimCreditDropRequest: ClaimCreditDropRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimCreditDrop200Response>>;
500
653
  /**
501
654
  * Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
502
655
  * @summary Create a miniapp generator deployment
@@ -570,6 +723,21 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
570
723
  *
571
724
  */
572
725
  executeSql(executeSqlRequest: ExecuteSqlRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteSql200Response>>;
726
+ /**
727
+ * Downloads the generated miniapp source code as a binary ZIP archive (Content-Type: application/zip). Requires a paid Studio subscription (GROWTH, STUDIO_PLUS, STUDIO_MAX, or INTERNAL). The deployment must be running. The 200 response body is a raw binary stream, not JSON.
728
+ * @summary Export deployment source code as ZIP
729
+ * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
730
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
731
+ * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
732
+ * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
733
+ * @param {*} [options] Override http request option.
734
+ * @throws {RequiredError}
735
+ * @returns {Promise<>} A promise that resolves to a `` object
736
+ *
737
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
738
+ *
739
+ */
740
+ exportZip(deploymentId?: string, fid?: number, name?: string, namespace?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
573
741
  /**
574
742
  * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
575
743
  * @summary Get account association of a miniapp
@@ -585,14 +753,16 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
585
753
  */
586
754
  getAccountAssociation(deploymentId?: string, namespace?: string, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountAssociation200Response>>;
587
755
  /**
588
- * Retrieves all messages in a specific conversation. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
756
+ * Retrieves messages in a specific conversation with cursor-based pagination (newest first). Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
589
757
  * @summary Get messages in a conversation
590
758
  * @param {string} conversationId Conversation ID
591
759
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
592
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
760
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
593
761
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
594
762
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
595
- * @param {boolean | null} [includeDeleted] Include deleted messages in the response. Defaults to false.
763
+ * @param {boolean} [includeDeleted] Include deleted messages in the response. Defaults to false.
764
+ * @param {number} [limit] Maximum number of messages to return per page. Defaults to 50, max 100. (Default: 50, Maximum: 100)
765
+ * @param {string} [cursor] Pagination cursor for fetching older messages. Omit to start from most recent.
596
766
  * @param {*} [options] Override http request option.
597
767
  * @throws {RequiredError}
598
768
  * @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object
@@ -600,12 +770,24 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
600
770
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
601
771
  *
602
772
  */
603
- getConversationMessages(conversationId: string, deploymentId?: string, fid?: number | null, name?: string, namespace?: string, includeDeleted?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetConversationMessages200Response>>;
773
+ getConversationMessages(conversationId: string, deploymentId?: string, fid?: number, name?: string, namespace?: string, includeDeleted?: boolean, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetConversationMessages200Response>>;
774
+ /**
775
+ * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
776
+ * @summary Get most recent credit drop
777
+ * @param {number} fid Farcaster ID of the user
778
+ * @param {*} [options] Override http request option.
779
+ * @throws {RequiredError}
780
+ * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
781
+ *
782
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
783
+ *
784
+ */
785
+ getCreditDrop(fid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCreditDrop200Response>>;
604
786
  /**
605
787
  * Fetches info about a miniapp generator deployment by its deployment_id or name and creator\'s Farcaster ID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
606
788
  * @summary Get deployment info
607
789
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
608
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
790
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
609
791
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
610
792
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
611
793
  * @param {*} [options] Override http request option.
@@ -615,13 +797,13 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
615
797
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment)
616
798
  *
617
799
  */
618
- getDeployment(deploymentId?: string, fid?: number | null, name?: string, namespace?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDeployments200ResponseInner>>;
800
+ getDeployment(deploymentId?: string, fid?: number, name?: string, namespace?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDeployments200ResponseInner>>;
619
801
  /**
620
802
  * Retrieves the contents of a specific file from the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
621
803
  * @summary Get deployment file contents
622
804
  * @param {string} filePath File path relative to gen/
623
805
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
624
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
806
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
625
807
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
626
808
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
627
809
  * @param {*} [options] Override http request option.
@@ -631,7 +813,7 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
631
813
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment-file)
632
814
  *
633
815
  */
634
- getDeploymentFile(filePath: string, deploymentId?: string, fid?: number | null, name?: string, namespace?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDeploymentFile200Response>>;
816
+ getDeploymentFile(filePath: string, deploymentId?: string, fid?: number, name?: string, namespace?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDeploymentFile200Response>>;
635
817
  /**
636
818
  * Retrieves the dev-status.json file from a miniapp deployment, which tracks the progress of app development phases. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
637
819
  * @summary Get dev status of a miniapp
@@ -651,7 +833,7 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
651
833
  * @summary Get table schema
652
834
  * @param {string} tableName
653
835
  * @param {string} deploymentId Deployment ID (UUID)
654
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users.
836
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
655
837
  * @param {*} [options] Override http request option.
656
838
  * @throws {RequiredError}
657
839
  * @returns {Promise<GetTableSchema200Response>} A promise that resolves to a `GetTableSchema200Response` object
@@ -659,7 +841,7 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
659
841
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-table-schema)
660
842
  *
661
843
  */
662
- getTableSchema(tableName: string, deploymentId: string, fid?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTableSchema200Response>>;
844
+ getTableSchema(tableName: string, deploymentId: string, fid?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTableSchema200Response>>;
663
845
  /**
664
846
  * Inserts one or more rows into the specified table. Returns the inserted rows with generated values.
665
847
  * @summary Insert rows into table
@@ -677,9 +859,9 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
677
859
  * Lists all conversations for a specific deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
678
860
  * @summary List conversations for a deployment
679
861
  * @param {string} [deploymentId] Deployment ID (UUID). If provided, filters conversations to this deployment only.
680
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
862
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
681
863
  * @param {string} [name] Kubernetes deployment name. If provided, filters conversations to this deployment only.
682
- * @param {boolean | null} [includeDeleted] Include deleted conversations in the response. Defaults to false.
864
+ * @param {boolean} [includeDeleted] Include deleted conversations in the response. Defaults to false.
683
865
  * @param {*} [options] Override http request option.
684
866
  * @throws {RequiredError}
685
867
  * @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object
@@ -687,12 +869,12 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
687
869
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-conversations)
688
870
  *
689
871
  */
690
- listConversations(deploymentId?: string, fid?: number | null, name?: string, includeDeleted?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListConversations200Response>>;
872
+ listConversations(deploymentId?: string, fid?: number, name?: string, includeDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListConversations200Response>>;
691
873
  /**
692
874
  * Lists files in a directory of the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
693
875
  * @summary List deployment files
694
876
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
695
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
877
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
696
878
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
697
879
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
698
880
  * @param {string} [directory] Directory path relative to gen/ (defaults to root)
@@ -703,14 +885,16 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
703
885
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployment-files)
704
886
  *
705
887
  */
706
- listDeploymentFiles(deploymentId?: string, fid?: number | null, name?: string, namespace?: string, directory?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDeploymentFiles200Response>>;
888
+ listDeploymentFiles(deploymentId?: string, fid?: number, name?: string, namespace?: string, directory?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDeploymentFiles200Response>>;
707
889
  /**
708
890
  * Lists all miniapp generator deployments for a user. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
709
891
  * @summary List deployments
710
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
892
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
711
893
  * @param {number} [limit] Maximum number of deployments to return. Defaults to 50, max 1000. (Default: 50, Maximum: 1000)
712
- * @param {number | null} [offset] Number of deployments to skip for pagination. Defaults to 0.
713
- * @param {boolean | null} [includeDeleted] Include deleted deployments in the response. Defaults to false.
894
+ * @param {number} [offset] Number of deployments to skip for pagination. Defaults to 0.
895
+ * @param {string} [query] Search string to filter deployments by name, display name, or FID.
896
+ * @param {ListDeploymentsSortByEnum} [sortBy] Field to sort deployments by. Defaults to updated_at (most recently updated first).
897
+ * @param {boolean} [includeDeleted] Include deleted deployments in the response. Defaults to false.
714
898
  * @param {*} [options] Override http request option.
715
899
  * @throws {RequiredError}
716
900
  * @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object
@@ -718,7 +902,7 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
718
902
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
719
903
  *
720
904
  */
721
- listDeployments(fid?: number | null, limit?: number, offset?: number | null, includeDeleted?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListDeployments200ResponseInner>>>;
905
+ listDeployments(fid?: number, limit?: number, offset?: number, query?: string, sortBy?: ListDeploymentsSortByEnum, includeDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListDeployments200ResponseInner>>>;
722
906
  /**
723
907
  * Retrieves all secrets for a deployment.
724
908
  * @summary List deployment secrets
@@ -736,7 +920,7 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
736
920
  * Lists all tables and views in the deployment database, excluding system tables.
737
921
  * @summary List all tables in deployment database
738
922
  * @param {string} deploymentId Deployment ID (UUID)
739
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users.
923
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
740
924
  * @param {*} [options] Override http request option.
741
925
  * @throws {RequiredError}
742
926
  * @returns {Promise<ListTables200Response>} A promise that resolves to a `ListTables200Response` object
@@ -744,7 +928,7 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
744
928
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-tables)
745
929
  *
746
930
  */
747
- listTables(deploymentId: string, fid?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTables200Response>>;
931
+ listTables(deploymentId: string, fid?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTables200Response>>;
748
932
  /**
749
933
  * Sends a prompt to a specific miniapp generator deployment and returns a streaming response using Server-Sent Events. The response is a continuous stream of Server-Sent Events, not a single JSON payload. Each event contains a JSON object with type, message, and other fields specific to the message type. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
750
934
  * @summary Prompt a deployment with streaming response
@@ -757,6 +941,18 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
757
941
  *
758
942
  */
759
943
  promptDeploymentStream(promptDeploymentStreamRequest: PromptDeploymentStreamRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
944
+ /**
945
+ * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
946
+ * @summary Provision a database for a deployment
947
+ * @param {ProvisionRequest} provisionRequest
948
+ * @param {*} [options] Override http request option.
949
+ * @throws {RequiredError}
950
+ * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
951
+ *
952
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
953
+ *
954
+ */
955
+ provision(provisionRequest: ProvisionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Provision200Response>>;
760
956
  /**
761
957
  * Query data from a table with pagination and sorting.
762
958
  * @summary Query table data
@@ -857,7 +1053,7 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
857
1053
  * Retrieves the build logs for a Vercel deployment. Useful for debugging failed deployments. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
858
1054
  * @summary Get Vercel deployment build logs
859
1055
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
860
- * @param {number | null} [fid] Farcaster ID of the user
1056
+ * @param {number} [fid] Farcaster ID of the user
861
1057
  * @param {string} [namespace] K8s Namespace name
862
1058
  * @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
863
1059
  * @param {number} [limit] Maximum number of log events to return. Defaults to 100.
@@ -868,12 +1064,12 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
868
1064
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-logs)
869
1065
  *
870
1066
  */
871
- vercelDeploymentLogs(deploymentId?: string, fid?: number | null, namespace?: string, name?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VercelDeploymentLogs200Response>>;
1067
+ vercelDeploymentLogs(deploymentId?: string, fid?: number, namespace?: string, name?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VercelDeploymentLogs200Response>>;
872
1068
  /**
873
1069
  * Retrieves the status of a Vercel deployment for a miniapp. Looks up the Vercel project ID from the deployment and queries Vercel API for deployment status. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
874
1070
  * @summary Get Vercel deployment status
875
1071
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
876
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
1072
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
877
1073
  * @param {string} [namespace] K8s Namespace name
878
1074
  * @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
879
1075
  * @param {*} [options] Override http request option.
@@ -883,13 +1079,25 @@ export declare const StudioApiFp: (configuration?: Configuration) => {
883
1079
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-status)
884
1080
  *
885
1081
  */
886
- vercelDeploymentStatus(deploymentId?: string, fid?: number | null, namespace?: string, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VercelDeploymentStatus200Response>>;
1082
+ vercelDeploymentStatus(deploymentId?: string, fid?: number, namespace?: string, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VercelDeploymentStatus200Response>>;
887
1083
  };
888
1084
  /**
889
1085
  * StudioApi - factory interface
890
1086
  * @export
891
1087
  */
892
1088
  export declare const StudioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1089
+ /**
1090
+ * Assigns a custom *.neynar.app subdomain to the user\'s deployed miniapp. The new domain is added to the Vercel project alongside the existing auto-assigned domain. The productionDomain in the database is updated to the custom domain. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
1091
+ * @summary Assign a custom subdomain to a deployed miniapp
1092
+ * @param {StudioApiAssignCustomDomainRequest} requestParameters Request parameters.
1093
+ * @param {*} [options] Override http request option.
1094
+ * @throws {RequiredError}
1095
+ * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
1096
+ *
1097
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
1098
+ *
1099
+ */
1100
+ assignCustomDomain(requestParameters: StudioApiAssignCustomDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<AssignCustomDomain200Response>;
893
1101
  /**
894
1102
  * Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
895
1103
  * @summary Set account association
@@ -914,6 +1122,42 @@ export declare const StudioApiFactory: (configuration?: Configuration, basePath?
914
1122
  *
915
1123
  */
916
1124
  build(requestParameters: StudioApiBuildRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1125
+ /**
1126
+ * Cancels an in-progress Claude Code session for a deployment. Safe to call even if no session is active — returns cancelled: false in that case.
1127
+ * @summary Cancel an active Claude session for a deployment
1128
+ * @param {StudioApiCancelSessionRequest} requestParameters Request parameters.
1129
+ * @param {*} [options] Override http request option.
1130
+ * @throws {RequiredError}
1131
+ * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
1132
+ *
1133
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
1134
+ *
1135
+ */
1136
+ cancelSession(requestParameters: StudioApiCancelSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelSession200Response>;
1137
+ /**
1138
+ * Checks whether a custom *.neynar.app subdomain is available for assignment. Validates format, checks reserved names, and verifies no other active deployment is using it. Note: Studio CU is tracked based on LLM token usage, not per API call.
1139
+ * @summary Check if a custom subdomain is available
1140
+ * @param {StudioApiCheckDomainAvailabilityRequest} requestParameters Request parameters.
1141
+ * @param {*} [options] Override http request option.
1142
+ * @throws {RequiredError}
1143
+ * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
1144
+ *
1145
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
1146
+ *
1147
+ */
1148
+ checkDomainAvailability(requestParameters: StudioApiCheckDomainAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckDomainAvailability200Response>;
1149
+ /**
1150
+ * Claims the most recent credit drop for the authenticated user. The drop\'s allowance is surfaced dynamically until expires_at and does not mutate extra_credits. Only drops created within the past 24 hours can be claimed.
1151
+ * @summary Claim credit drop
1152
+ * @param {StudioApiClaimCreditDropRequest} requestParameters Request parameters.
1153
+ * @param {*} [options] Override http request option.
1154
+ * @throws {RequiredError}
1155
+ * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
1156
+ *
1157
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
1158
+ *
1159
+ */
1160
+ claimCreditDrop(requestParameters: StudioApiClaimCreditDropRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClaimCreditDrop200Response>;
917
1161
  /**
918
1162
  * Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
919
1163
  * @summary Create a miniapp generator deployment
@@ -986,6 +1230,18 @@ export declare const StudioApiFactory: (configuration?: Configuration, basePath?
986
1230
  *
987
1231
  */
988
1232
  executeSql(requestParameters: StudioApiExecuteSqlRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteSql200Response>;
1233
+ /**
1234
+ * Downloads the generated miniapp source code as a binary ZIP archive (Content-Type: application/zip). Requires a paid Studio subscription (GROWTH, STUDIO_PLUS, STUDIO_MAX, or INTERNAL). The deployment must be running. The 200 response body is a raw binary stream, not JSON.
1235
+ * @summary Export deployment source code as ZIP
1236
+ * @param {StudioApiExportZipRequest} requestParameters Request parameters.
1237
+ * @param {*} [options] Override http request option.
1238
+ * @throws {RequiredError}
1239
+ * @returns {Promise<>} A promise that resolves to a `` object
1240
+ *
1241
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
1242
+ *
1243
+ */
1244
+ exportZip(requestParameters?: StudioApiExportZipRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
989
1245
  /**
990
1246
  * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
991
1247
  * @summary Get account association of a miniapp
@@ -999,7 +1255,7 @@ export declare const StudioApiFactory: (configuration?: Configuration, basePath?
999
1255
  */
1000
1256
  getAccountAssociation(requestParameters?: StudioApiGetAccountAssociationRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountAssociation200Response>;
1001
1257
  /**
1002
- * Retrieves all messages in a specific conversation. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
1258
+ * Retrieves messages in a specific conversation with cursor-based pagination (newest first). Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
1003
1259
  * @summary Get messages in a conversation
1004
1260
  * @param {StudioApiGetConversationMessagesRequest} requestParameters Request parameters.
1005
1261
  * @param {*} [options] Override http request option.
@@ -1010,6 +1266,18 @@ export declare const StudioApiFactory: (configuration?: Configuration, basePath?
1010
1266
  *
1011
1267
  */
1012
1268
  getConversationMessages(requestParameters: StudioApiGetConversationMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetConversationMessages200Response>;
1269
+ /**
1270
+ * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
1271
+ * @summary Get most recent credit drop
1272
+ * @param {StudioApiGetCreditDropRequest} requestParameters Request parameters.
1273
+ * @param {*} [options] Override http request option.
1274
+ * @throws {RequiredError}
1275
+ * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
1276
+ *
1277
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
1278
+ *
1279
+ */
1280
+ getCreditDrop(requestParameters: StudioApiGetCreditDropRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCreditDrop200Response>;
1013
1281
  /**
1014
1282
  * Fetches info about a miniapp generator deployment by its deployment_id or name and creator\'s Farcaster ID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
1015
1283
  * @summary Get deployment info
@@ -1142,6 +1410,18 @@ export declare const StudioApiFactory: (configuration?: Configuration, basePath?
1142
1410
  *
1143
1411
  */
1144
1412
  promptDeploymentStream(requestParameters: StudioApiPromptDeploymentStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1413
+ /**
1414
+ * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
1415
+ * @summary Provision a database for a deployment
1416
+ * @param {StudioApiProvisionRequest} requestParameters Request parameters.
1417
+ * @param {*} [options] Override http request option.
1418
+ * @throws {RequiredError}
1419
+ * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
1420
+ *
1421
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
1422
+ *
1423
+ */
1424
+ provision(requestParameters: StudioApiProvisionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Provision200Response>;
1145
1425
  /**
1146
1426
  * Query data from a table with pagination and sorting.
1147
1427
  * @summary Query table data
@@ -1268,6 +1548,19 @@ export declare const StudioApiFactory: (configuration?: Configuration, basePath?
1268
1548
  * @interface StudioApi
1269
1549
  */
1270
1550
  export interface StudioApiInterface {
1551
+ /**
1552
+ * Assigns a custom *.neynar.app subdomain to the user\'s deployed miniapp. The new domain is added to the Vercel project alongside the existing auto-assigned domain. The productionDomain in the database is updated to the custom domain. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
1553
+ * @summary Assign a custom subdomain to a deployed miniapp
1554
+ * @param {StudioApiAssignCustomDomainRequest} requestParameters Request parameters.
1555
+ * @param {*} [options] Override http request option.
1556
+ * @throws {RequiredError}
1557
+ * @memberof StudioApiInterface
1558
+ * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
1559
+ *
1560
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
1561
+ *
1562
+ */
1563
+ assignCustomDomain(requestParameters: StudioApiAssignCustomDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<AssignCustomDomain200Response>;
1271
1564
  /**
1272
1565
  * Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
1273
1566
  * @summary Set account association
@@ -1294,6 +1587,45 @@ export interface StudioApiInterface {
1294
1587
  *
1295
1588
  */
1296
1589
  build(requestParameters: StudioApiBuildRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1590
+ /**
1591
+ * Cancels an in-progress Claude Code session for a deployment. Safe to call even if no session is active — returns cancelled: false in that case.
1592
+ * @summary Cancel an active Claude session for a deployment
1593
+ * @param {StudioApiCancelSessionRequest} requestParameters Request parameters.
1594
+ * @param {*} [options] Override http request option.
1595
+ * @throws {RequiredError}
1596
+ * @memberof StudioApiInterface
1597
+ * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
1598
+ *
1599
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
1600
+ *
1601
+ */
1602
+ cancelSession(requestParameters: StudioApiCancelSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelSession200Response>;
1603
+ /**
1604
+ * Checks whether a custom *.neynar.app subdomain is available for assignment. Validates format, checks reserved names, and verifies no other active deployment is using it. Note: Studio CU is tracked based on LLM token usage, not per API call.
1605
+ * @summary Check if a custom subdomain is available
1606
+ * @param {StudioApiCheckDomainAvailabilityRequest} requestParameters Request parameters.
1607
+ * @param {*} [options] Override http request option.
1608
+ * @throws {RequiredError}
1609
+ * @memberof StudioApiInterface
1610
+ * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
1611
+ *
1612
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
1613
+ *
1614
+ */
1615
+ checkDomainAvailability(requestParameters: StudioApiCheckDomainAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckDomainAvailability200Response>;
1616
+ /**
1617
+ * Claims the most recent credit drop for the authenticated user. The drop\'s allowance is surfaced dynamically until expires_at and does not mutate extra_credits. Only drops created within the past 24 hours can be claimed.
1618
+ * @summary Claim credit drop
1619
+ * @param {StudioApiClaimCreditDropRequest} requestParameters Request parameters.
1620
+ * @param {*} [options] Override http request option.
1621
+ * @throws {RequiredError}
1622
+ * @memberof StudioApiInterface
1623
+ * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
1624
+ *
1625
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
1626
+ *
1627
+ */
1628
+ claimCreditDrop(requestParameters: StudioApiClaimCreditDropRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClaimCreditDrop200Response>;
1297
1629
  /**
1298
1630
  * Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
1299
1631
  * @summary Create a miniapp generator deployment
@@ -1372,6 +1704,19 @@ export interface StudioApiInterface {
1372
1704
  *
1373
1705
  */
1374
1706
  executeSql(requestParameters: StudioApiExecuteSqlRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteSql200Response>;
1707
+ /**
1708
+ * Downloads the generated miniapp source code as a binary ZIP archive (Content-Type: application/zip). Requires a paid Studio subscription (GROWTH, STUDIO_PLUS, STUDIO_MAX, or INTERNAL). The deployment must be running. The 200 response body is a raw binary stream, not JSON.
1709
+ * @summary Export deployment source code as ZIP
1710
+ * @param {StudioApiExportZipRequest} requestParameters Request parameters.
1711
+ * @param {*} [options] Override http request option.
1712
+ * @throws {RequiredError}
1713
+ * @memberof StudioApiInterface
1714
+ * @returns {Promise<>} A promise that resolves to a `` object
1715
+ *
1716
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
1717
+ *
1718
+ */
1719
+ exportZip(requestParameters?: StudioApiExportZipRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1375
1720
  /**
1376
1721
  * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
1377
1722
  * @summary Get account association of a miniapp
@@ -1386,7 +1731,7 @@ export interface StudioApiInterface {
1386
1731
  */
1387
1732
  getAccountAssociation(requestParameters?: StudioApiGetAccountAssociationRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountAssociation200Response>;
1388
1733
  /**
1389
- * Retrieves all messages in a specific conversation. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
1734
+ * Retrieves messages in a specific conversation with cursor-based pagination (newest first). Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
1390
1735
  * @summary Get messages in a conversation
1391
1736
  * @param {StudioApiGetConversationMessagesRequest} requestParameters Request parameters.
1392
1737
  * @param {*} [options] Override http request option.
@@ -1398,6 +1743,19 @@ export interface StudioApiInterface {
1398
1743
  *
1399
1744
  */
1400
1745
  getConversationMessages(requestParameters: StudioApiGetConversationMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetConversationMessages200Response>;
1746
+ /**
1747
+ * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
1748
+ * @summary Get most recent credit drop
1749
+ * @param {StudioApiGetCreditDropRequest} requestParameters Request parameters.
1750
+ * @param {*} [options] Override http request option.
1751
+ * @throws {RequiredError}
1752
+ * @memberof StudioApiInterface
1753
+ * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
1754
+ *
1755
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
1756
+ *
1757
+ */
1758
+ getCreditDrop(requestParameters: StudioApiGetCreditDropRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCreditDrop200Response>;
1401
1759
  /**
1402
1760
  * Fetches info about a miniapp generator deployment by its deployment_id or name and creator\'s Farcaster ID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
1403
1761
  * @summary Get deployment info
@@ -1541,6 +1899,19 @@ export interface StudioApiInterface {
1541
1899
  *
1542
1900
  */
1543
1901
  promptDeploymentStream(requestParameters: StudioApiPromptDeploymentStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1902
+ /**
1903
+ * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
1904
+ * @summary Provision a database for a deployment
1905
+ * @param {StudioApiProvisionRequest} requestParameters Request parameters.
1906
+ * @param {*} [options] Override http request option.
1907
+ * @throws {RequiredError}
1908
+ * @memberof StudioApiInterface
1909
+ * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
1910
+ *
1911
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
1912
+ *
1913
+ */
1914
+ provision(requestParameters: StudioApiProvisionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Provision200Response>;
1544
1915
  /**
1545
1916
  * Query data from a table with pagination and sorting.
1546
1917
  * @summary Query table data
@@ -1671,6 +2042,31 @@ export interface StudioApiInterface {
1671
2042
  */
1672
2043
  vercelDeploymentStatus(requestParameters?: StudioApiVercelDeploymentStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<VercelDeploymentStatus200Response>;
1673
2044
  }
2045
+ /**
2046
+ * Request parameters for assignCustomDomain operation in StudioApi.
2047
+ * @export
2048
+ * @interface StudioApiAssignCustomDomainRequest
2049
+ */
2050
+ export interface StudioApiAssignCustomDomainRequest {
2051
+ /**
2052
+ * Farcaster ID of the requesting user
2053
+ *
2054
+ *
2055
+ *
2056
+ * @type {number}
2057
+ * @memberof StudioApiAssignCustomDomain
2058
+ */
2059
+ readonly fid: number;
2060
+ /**
2061
+ *
2062
+ *
2063
+ *
2064
+ *
2065
+ * @type {AssignCustomDomainRequest}
2066
+ * @memberof StudioApiAssignCustomDomain
2067
+ */
2068
+ readonly assignCustomDomainRequest: AssignCustomDomainRequest;
2069
+ }
1674
2070
  /**
1675
2071
  * Request parameters for associateDeployment operation in StudioApi.
1676
2072
  * @export
@@ -1703,6 +2099,63 @@ export interface StudioApiBuildRequest {
1703
2099
  */
1704
2100
  readonly buildRequest: BuildRequest;
1705
2101
  }
2102
+ /**
2103
+ * Request parameters for cancelSession operation in StudioApi.
2104
+ * @export
2105
+ * @interface StudioApiCancelSessionRequest
2106
+ */
2107
+ export interface StudioApiCancelSessionRequest {
2108
+ /**
2109
+ *
2110
+ *
2111
+ *
2112
+ *
2113
+ * @type {CancelSessionRequest}
2114
+ * @memberof StudioApiCancelSession
2115
+ */
2116
+ readonly cancelSessionRequest: CancelSessionRequest;
2117
+ }
2118
+ /**
2119
+ * Request parameters for checkDomainAvailability operation in StudioApi.
2120
+ * @export
2121
+ * @interface StudioApiCheckDomainAvailabilityRequest
2122
+ */
2123
+ export interface StudioApiCheckDomainAvailabilityRequest {
2124
+ /**
2125
+ * Farcaster ID of the requesting user
2126
+ *
2127
+ *
2128
+ *
2129
+ * @type {number}
2130
+ * @memberof StudioApiCheckDomainAvailability
2131
+ */
2132
+ readonly fid: number;
2133
+ /**
2134
+ * The desired subdomain (without .neynar.app suffix). Must be 3-63 characters, lowercase alphanumeric and hyphens only.
2135
+ *
2136
+ *
2137
+ *
2138
+ * @type {string}
2139
+ * @memberof StudioApiCheckDomainAvailability
2140
+ */
2141
+ readonly subdomain: string;
2142
+ }
2143
+ /**
2144
+ * Request parameters for claimCreditDrop operation in StudioApi.
2145
+ * @export
2146
+ * @interface StudioApiClaimCreditDropRequest
2147
+ */
2148
+ export interface StudioApiClaimCreditDropRequest {
2149
+ /**
2150
+ *
2151
+ *
2152
+ *
2153
+ *
2154
+ * @type {ClaimCreditDropRequest}
2155
+ * @memberof StudioApiClaimCreditDrop
2156
+ */
2157
+ readonly claimCreditDropRequest: ClaimCreditDropRequest;
2158
+ }
1706
2159
  /**
1707
2160
  * Request parameters for createDeployment operation in StudioApi.
1708
2161
  * @export
@@ -1808,6 +2261,49 @@ export interface StudioApiExecuteSqlRequest {
1808
2261
  */
1809
2262
  readonly executeSqlRequest: ExecuteSqlRequest;
1810
2263
  }
2264
+ /**
2265
+ * Request parameters for exportZip operation in StudioApi.
2266
+ * @export
2267
+ * @interface StudioApiExportZipRequest
2268
+ */
2269
+ export interface StudioApiExportZipRequest {
2270
+ /**
2271
+ * Deployment ID (UUID). Required if name not provided.
2272
+ *
2273
+ *
2274
+ *
2275
+ * @type {string}
2276
+ * @memberof StudioApiExportZip
2277
+ */
2278
+ readonly deploymentId?: string;
2279
+ /**
2280
+ * Farcaster ID of the user; if not provided, namespace must be provided
2281
+ *
2282
+ *
2283
+ *
2284
+ * @type {number}
2285
+ * @memberof StudioApiExportZip
2286
+ */
2287
+ readonly fid?: number;
2288
+ /**
2289
+ * Kubernetes deployment name. Required if deployment_id not provided.
2290
+ *
2291
+ *
2292
+ *
2293
+ * @type {string}
2294
+ * @memberof StudioApiExportZip
2295
+ */
2296
+ readonly name?: string;
2297
+ /**
2298
+ * Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
2299
+ *
2300
+ *
2301
+ *
2302
+ * @type {string}
2303
+ * @memberof StudioApiExportZip
2304
+ */
2305
+ readonly namespace?: string;
2306
+ }
1811
2307
  /**
1812
2308
  * Request parameters for getAccountAssociation operation in StudioApi.
1813
2309
  * @export
@@ -1874,7 +2370,7 @@ export interface StudioApiGetConversationMessagesRequest {
1874
2370
  * @type {number}
1875
2371
  * @memberof StudioApiGetConversationMessages
1876
2372
  */
1877
- readonly fid?: number | null;
2373
+ readonly fid?: number;
1878
2374
  /**
1879
2375
  * Kubernetes deployment name. Required if deployment_id not provided.
1880
2376
  *
@@ -1901,7 +2397,41 @@ export interface StudioApiGetConversationMessagesRequest {
1901
2397
  * @type {boolean}
1902
2398
  * @memberof StudioApiGetConversationMessages
1903
2399
  */
1904
- readonly includeDeleted?: boolean | null;
2400
+ readonly includeDeleted?: boolean;
2401
+ /**
2402
+ * Maximum number of messages to return per page. Defaults to 50, max 100. (Default: 50, Maximum: 100)
2403
+ *
2404
+ *
2405
+ *
2406
+ * @type {number}
2407
+ * @memberof StudioApiGetConversationMessages
2408
+ */
2409
+ readonly limit?: number;
2410
+ /**
2411
+ * Pagination cursor for fetching older messages. Omit to start from most recent.
2412
+ *
2413
+ *
2414
+ *
2415
+ * @type {string}
2416
+ * @memberof StudioApiGetConversationMessages
2417
+ */
2418
+ readonly cursor?: string;
2419
+ }
2420
+ /**
2421
+ * Request parameters for getCreditDrop operation in StudioApi.
2422
+ * @export
2423
+ * @interface StudioApiGetCreditDropRequest
2424
+ */
2425
+ export interface StudioApiGetCreditDropRequest {
2426
+ /**
2427
+ * Farcaster ID of the user
2428
+ *
2429
+ *
2430
+ *
2431
+ * @type {number}
2432
+ * @memberof StudioApiGetCreditDrop
2433
+ */
2434
+ readonly fid: number;
1905
2435
  }
1906
2436
  /**
1907
2437
  * Request parameters for getDeployment operation in StudioApi.
@@ -1926,7 +2456,7 @@ export interface StudioApiGetDeploymentRequest {
1926
2456
  * @type {number}
1927
2457
  * @memberof StudioApiGetDeployment
1928
2458
  */
1929
- readonly fid?: number | null;
2459
+ readonly fid?: number;
1930
2460
  /**
1931
2461
  * Kubernetes deployment name. Required if deployment_id not provided.
1932
2462
  *
@@ -1978,7 +2508,7 @@ export interface StudioApiGetDeploymentFileRequest {
1978
2508
  * @type {number}
1979
2509
  * @memberof StudioApiGetDeploymentFile
1980
2510
  */
1981
- readonly fid?: number | null;
2511
+ readonly fid?: number;
1982
2512
  /**
1983
2513
  * Kubernetes deployment name. Required if deployment_id not provided.
1984
2514
  *
@@ -2064,7 +2594,7 @@ export interface StudioApiGetTableSchemaRequest {
2064
2594
  * @type {number}
2065
2595
  * @memberof StudioApiGetTableSchema
2066
2596
  */
2067
- readonly fid?: number | null;
2597
+ readonly fid?: number;
2068
2598
  }
2069
2599
  /**
2070
2600
  * Request parameters for insertRows operation in StudioApi.
@@ -2114,7 +2644,7 @@ export interface StudioApiListConversationsRequest {
2114
2644
  * @type {number}
2115
2645
  * @memberof StudioApiListConversations
2116
2646
  */
2117
- readonly fid?: number | null;
2647
+ readonly fid?: number;
2118
2648
  /**
2119
2649
  * Kubernetes deployment name. If provided, filters conversations to this deployment only.
2120
2650
  *
@@ -2132,7 +2662,7 @@ export interface StudioApiListConversationsRequest {
2132
2662
  * @type {boolean}
2133
2663
  * @memberof StudioApiListConversations
2134
2664
  */
2135
- readonly includeDeleted?: boolean | null;
2665
+ readonly includeDeleted?: boolean;
2136
2666
  }
2137
2667
  /**
2138
2668
  * Request parameters for listDeploymentFiles operation in StudioApi.
@@ -2157,7 +2687,7 @@ export interface StudioApiListDeploymentFilesRequest {
2157
2687
  * @type {number}
2158
2688
  * @memberof StudioApiListDeploymentFiles
2159
2689
  */
2160
- readonly fid?: number | null;
2690
+ readonly fid?: number;
2161
2691
  /**
2162
2692
  * Kubernetes deployment name. Required if deployment_id not provided.
2163
2693
  *
@@ -2200,7 +2730,7 @@ export interface StudioApiListDeploymentsRequest {
2200
2730
  * @type {number}
2201
2731
  * @memberof StudioApiListDeployments
2202
2732
  */
2203
- readonly fid?: number | null;
2733
+ readonly fid?: number;
2204
2734
  /**
2205
2735
  * Maximum number of deployments to return. Defaults to 50, max 1000. (Default: 50, Maximum: 1000)
2206
2736
  *
@@ -2218,7 +2748,25 @@ export interface StudioApiListDeploymentsRequest {
2218
2748
  * @type {number}
2219
2749
  * @memberof StudioApiListDeployments
2220
2750
  */
2221
- readonly offset?: number | null;
2751
+ readonly offset?: number;
2752
+ /**
2753
+ * Search string to filter deployments by name, display name, or FID.
2754
+ *
2755
+ *
2756
+ *
2757
+ * @type {string}
2758
+ * @memberof StudioApiListDeployments
2759
+ */
2760
+ readonly query?: string;
2761
+ /**
2762
+ * Field to sort deployments by. Defaults to updated_at (most recently updated first).
2763
+ *
2764
+ *
2765
+ *
2766
+ * @type {'created_at' | 'updated_at'}
2767
+ * @memberof StudioApiListDeployments
2768
+ */
2769
+ readonly sortBy?: ListDeploymentsSortByEnum;
2222
2770
  /**
2223
2771
  * Include deleted deployments in the response. Defaults to false.
2224
2772
  *
@@ -2227,7 +2775,7 @@ export interface StudioApiListDeploymentsRequest {
2227
2775
  * @type {boolean}
2228
2776
  * @memberof StudioApiListDeployments
2229
2777
  */
2230
- readonly includeDeleted?: boolean | null;
2778
+ readonly includeDeleted?: boolean;
2231
2779
  }
2232
2780
  /**
2233
2781
  * Request parameters for listSecrets operation in StudioApi.
@@ -2277,7 +2825,7 @@ export interface StudioApiListTablesRequest {
2277
2825
  * @type {number}
2278
2826
  * @memberof StudioApiListTables
2279
2827
  */
2280
- readonly fid?: number | null;
2828
+ readonly fid?: number;
2281
2829
  }
2282
2830
  /**
2283
2831
  * Request parameters for promptDeploymentStream operation in StudioApi.
@@ -2295,6 +2843,22 @@ export interface StudioApiPromptDeploymentStreamRequest {
2295
2843
  */
2296
2844
  readonly promptDeploymentStreamRequest: PromptDeploymentStreamRequest;
2297
2845
  }
2846
+ /**
2847
+ * Request parameters for provision operation in StudioApi.
2848
+ * @export
2849
+ * @interface StudioApiProvisionRequest
2850
+ */
2851
+ export interface StudioApiProvisionRequest {
2852
+ /**
2853
+ *
2854
+ *
2855
+ *
2856
+ *
2857
+ * @type {ProvisionRequest}
2858
+ * @memberof StudioApiProvision
2859
+ */
2860
+ readonly provisionRequest: ProvisionRequest;
2861
+ }
2298
2862
  /**
2299
2863
  * Request parameters for queryTable operation in StudioApi.
2300
2864
  * @export
@@ -2439,7 +3003,7 @@ export interface StudioApiVercelDeploymentLogsRequest {
2439
3003
  * @type {number}
2440
3004
  * @memberof StudioApiVercelDeploymentLogs
2441
3005
  */
2442
- readonly fid?: number | null;
3006
+ readonly fid?: number;
2443
3007
  /**
2444
3008
  * K8s Namespace name
2445
3009
  *
@@ -2491,7 +3055,7 @@ export interface StudioApiVercelDeploymentStatusRequest {
2491
3055
  * @type {number}
2492
3056
  * @memberof StudioApiVercelDeploymentStatus
2493
3057
  */
2494
- readonly fid?: number | null;
3058
+ readonly fid?: number;
2495
3059
  /**
2496
3060
  * K8s Namespace name
2497
3061
  *
@@ -2518,6 +3082,19 @@ export interface StudioApiVercelDeploymentStatusRequest {
2518
3082
  * @extends {BaseAPI}
2519
3083
  */
2520
3084
  export declare class StudioApi extends BaseAPI implements StudioApiInterface {
3085
+ /**
3086
+ * Assigns a custom *.neynar.app subdomain to the user\'s deployed miniapp. The new domain is added to the Vercel project alongside the existing auto-assigned domain. The productionDomain in the database is updated to the custom domain. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
3087
+ * @summary Assign a custom subdomain to a deployed miniapp
3088
+ * @param {StudioApiAssignCustomDomainRequest} requestParameters Request parameters.
3089
+ * @param {*} [options] Override http request option.
3090
+ * @throws {RequiredError}
3091
+ * @memberof StudioApi
3092
+ * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
3093
+ *
3094
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
3095
+ *
3096
+ */
3097
+ assignCustomDomain(requestParameters: StudioApiAssignCustomDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AssignCustomDomain200Response, any, {}>>;
2521
3098
  /**
2522
3099
  * Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
2523
3100
  * @summary Set account association
@@ -2544,6 +3121,45 @@ export declare class StudioApi extends BaseAPI implements StudioApiInterface {
2544
3121
  *
2545
3122
  */
2546
3123
  build(requestParameters: StudioApiBuildRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
3124
+ /**
3125
+ * Cancels an in-progress Claude Code session for a deployment. Safe to call even if no session is active — returns cancelled: false in that case.
3126
+ * @summary Cancel an active Claude session for a deployment
3127
+ * @param {StudioApiCancelSessionRequest} requestParameters Request parameters.
3128
+ * @param {*} [options] Override http request option.
3129
+ * @throws {RequiredError}
3130
+ * @memberof StudioApi
3131
+ * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
3132
+ *
3133
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
3134
+ *
3135
+ */
3136
+ cancelSession(requestParameters: StudioApiCancelSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelSession200Response, any, {}>>;
3137
+ /**
3138
+ * Checks whether a custom *.neynar.app subdomain is available for assignment. Validates format, checks reserved names, and verifies no other active deployment is using it. Note: Studio CU is tracked based on LLM token usage, not per API call.
3139
+ * @summary Check if a custom subdomain is available
3140
+ * @param {StudioApiCheckDomainAvailabilityRequest} requestParameters Request parameters.
3141
+ * @param {*} [options] Override http request option.
3142
+ * @throws {RequiredError}
3143
+ * @memberof StudioApi
3144
+ * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
3145
+ *
3146
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
3147
+ *
3148
+ */
3149
+ checkDomainAvailability(requestParameters: StudioApiCheckDomainAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckDomainAvailability200Response, any, {}>>;
3150
+ /**
3151
+ * Claims the most recent credit drop for the authenticated user. The drop\'s allowance is surfaced dynamically until expires_at and does not mutate extra_credits. Only drops created within the past 24 hours can be claimed.
3152
+ * @summary Claim credit drop
3153
+ * @param {StudioApiClaimCreditDropRequest} requestParameters Request parameters.
3154
+ * @param {*} [options] Override http request option.
3155
+ * @throws {RequiredError}
3156
+ * @memberof StudioApi
3157
+ * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
3158
+ *
3159
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
3160
+ *
3161
+ */
3162
+ claimCreditDrop(requestParameters: StudioApiClaimCreditDropRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClaimCreditDrop200Response, any, {}>>;
2547
3163
  /**
2548
3164
  * Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
2549
3165
  * @summary Create a miniapp generator deployment
@@ -2622,6 +3238,19 @@ export declare class StudioApi extends BaseAPI implements StudioApiInterface {
2622
3238
  *
2623
3239
  */
2624
3240
  executeSql(requestParameters: StudioApiExecuteSqlRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteSql200Response, any, {}>>;
3241
+ /**
3242
+ * Downloads the generated miniapp source code as a binary ZIP archive (Content-Type: application/zip). Requires a paid Studio subscription (GROWTH, STUDIO_PLUS, STUDIO_MAX, or INTERNAL). The deployment must be running. The 200 response body is a raw binary stream, not JSON.
3243
+ * @summary Export deployment source code as ZIP
3244
+ * @param {StudioApiExportZipRequest} requestParameters Request parameters.
3245
+ * @param {*} [options] Override http request option.
3246
+ * @throws {RequiredError}
3247
+ * @memberof StudioApi
3248
+ * @returns {Promise<>} A promise that resolves to a `` object
3249
+ *
3250
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
3251
+ *
3252
+ */
3253
+ exportZip(requestParameters?: StudioApiExportZipRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2625
3254
  /**
2626
3255
  * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
2627
3256
  * @summary Get account association of a miniapp
@@ -2636,7 +3265,7 @@ export declare class StudioApi extends BaseAPI implements StudioApiInterface {
2636
3265
  */
2637
3266
  getAccountAssociation(requestParameters?: StudioApiGetAccountAssociationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountAssociation200Response, any, {}>>;
2638
3267
  /**
2639
- * Retrieves all messages in a specific conversation. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
3268
+ * Retrieves messages in a specific conversation with cursor-based pagination (newest first). Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
2640
3269
  * @summary Get messages in a conversation
2641
3270
  * @param {StudioApiGetConversationMessagesRequest} requestParameters Request parameters.
2642
3271
  * @param {*} [options] Override http request option.
@@ -2648,6 +3277,19 @@ export declare class StudioApi extends BaseAPI implements StudioApiInterface {
2648
3277
  *
2649
3278
  */
2650
3279
  getConversationMessages(requestParameters: StudioApiGetConversationMessagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetConversationMessages200Response, any, {}>>;
3280
+ /**
3281
+ * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
3282
+ * @summary Get most recent credit drop
3283
+ * @param {StudioApiGetCreditDropRequest} requestParameters Request parameters.
3284
+ * @param {*} [options] Override http request option.
3285
+ * @throws {RequiredError}
3286
+ * @memberof StudioApi
3287
+ * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
3288
+ *
3289
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
3290
+ *
3291
+ */
3292
+ getCreditDrop(requestParameters: StudioApiGetCreditDropRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCreditDrop200Response, any, {}>>;
2651
3293
  /**
2652
3294
  * Fetches info about a miniapp generator deployment by its deployment_id or name and creator\'s Farcaster ID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
2653
3295
  * @summary Get deployment info
@@ -2791,6 +3433,19 @@ export declare class StudioApi extends BaseAPI implements StudioApiInterface {
2791
3433
  *
2792
3434
  */
2793
3435
  promptDeploymentStream(requestParameters: StudioApiPromptDeploymentStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
3436
+ /**
3437
+ * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
3438
+ * @summary Provision a database for a deployment
3439
+ * @param {StudioApiProvisionRequest} requestParameters Request parameters.
3440
+ * @param {*} [options] Override http request option.
3441
+ * @throws {RequiredError}
3442
+ * @memberof StudioApi
3443
+ * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
3444
+ *
3445
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
3446
+ *
3447
+ */
3448
+ provision(requestParameters: StudioApiProvisionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Provision200Response, any, {}>>;
2794
3449
  /**
2795
3450
  * Query data from a table with pagination and sorting.
2796
3451
  * @summary Query table data
@@ -2921,3 +3576,11 @@ export declare class StudioApi extends BaseAPI implements StudioApiInterface {
2921
3576
  */
2922
3577
  vercelDeploymentStatus(requestParameters?: StudioApiVercelDeploymentStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VercelDeploymentStatus200Response, any, {}>>;
2923
3578
  }
3579
+ /**
3580
+ * @export
3581
+ */
3582
+ export declare const ListDeploymentsSortByEnum: {
3583
+ readonly CreatedAt: "created_at";
3584
+ readonly UpdatedAt: "updated_at";
3585
+ };
3586
+ export type ListDeploymentsSortByEnum = typeof ListDeploymentsSortByEnum[keyof typeof ListDeploymentsSortByEnum];