@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
@@ -5,7 +5,7 @@
5
5
  * Neynar API
6
6
  * 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.
7
7
  *
8
- * The version of the OpenAPI document: 3.137.0
8
+ * The version of the OpenAPI document: 3.169.0
9
9
  * Contact: team@neynar.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.StudioApi = exports.StudioApiFactory = exports.StudioApiFp = exports.StudioApiAxiosParamCreator = void 0;
19
+ exports.ListDeploymentsSortByEnum = exports.StudioApi = exports.StudioApiFactory = exports.StudioApiFp = exports.StudioApiAxiosParamCreator = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  // Some imports not used depending on template conditions
22
22
  // @ts-ignore
@@ -29,6 +29,48 @@ const base_1 = require("../base");
29
29
  */
30
30
  const StudioApiAxiosParamCreator = function (configuration) {
31
31
  return {
32
+ /**
33
+ * 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.
34
+ * @summary Assign a custom subdomain to a deployed miniapp
35
+ * @param {number} fid Farcaster ID of the requesting user
36
+ * @param {AssignCustomDomainRequest} assignCustomDomainRequest
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
40
+ *
41
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
42
+ *
43
+ */
44
+ assignCustomDomain: async (fid, assignCustomDomainRequest, options = {}) => {
45
+ // verify required parameter 'fid' is not null or undefined
46
+ (0, common_1.assertParamExists)('assignCustomDomain', 'fid', fid);
47
+ // verify required parameter 'assignCustomDomainRequest' is not null or undefined
48
+ (0, common_1.assertParamExists)('assignCustomDomain', 'assignCustomDomainRequest', assignCustomDomainRequest);
49
+ const localVarPath = `/v2/studio/vercel/domain`;
50
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
52
+ let baseOptions;
53
+ if (configuration) {
54
+ baseOptions = configuration.baseOptions;
55
+ }
56
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
57
+ const localVarHeaderParameter = {};
58
+ const localVarQueryParameter = {};
59
+ // authentication ApiKeyAuth required
60
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
61
+ if (fid !== undefined) {
62
+ localVarQueryParameter['fid'] = fid;
63
+ }
64
+ localVarHeaderParameter['Content-Type'] = 'application/json';
65
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
66
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
67
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
68
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(assignCustomDomainRequest, localVarRequestOptions, configuration);
69
+ return {
70
+ url: (0, common_1.toPathString)(localVarUrlObj),
71
+ options: localVarRequestOptions,
72
+ };
73
+ },
32
74
  /**
33
75
  * 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.
34
76
  * @summary Set account association
@@ -101,6 +143,121 @@ const StudioApiAxiosParamCreator = function (configuration) {
101
143
  options: localVarRequestOptions,
102
144
  };
103
145
  },
146
+ /**
147
+ * 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.
148
+ * @summary Cancel an active Claude session for a deployment
149
+ * @param {CancelSessionRequest} cancelSessionRequest
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
153
+ *
154
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
155
+ *
156
+ */
157
+ cancelSession: async (cancelSessionRequest, options = {}) => {
158
+ // verify required parameter 'cancelSessionRequest' is not null or undefined
159
+ (0, common_1.assertParamExists)('cancelSession', 'cancelSessionRequest', cancelSessionRequest);
160
+ const localVarPath = `/v2/studio/deployment/session/cancel`;
161
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
162
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
163
+ let baseOptions;
164
+ if (configuration) {
165
+ baseOptions = configuration.baseOptions;
166
+ }
167
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
168
+ const localVarHeaderParameter = {};
169
+ const localVarQueryParameter = {};
170
+ // authentication ApiKeyAuth required
171
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
172
+ localVarHeaderParameter['Content-Type'] = 'application/json';
173
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
174
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
175
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
176
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cancelSessionRequest, localVarRequestOptions, configuration);
177
+ return {
178
+ url: (0, common_1.toPathString)(localVarUrlObj),
179
+ options: localVarRequestOptions,
180
+ };
181
+ },
182
+ /**
183
+ * 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.
184
+ * @summary Check if a custom subdomain is available
185
+ * @param {number} fid Farcaster ID of the requesting user
186
+ * @param {string} subdomain The desired subdomain (without .neynar.app suffix). Must be 3-63 characters, lowercase alphanumeric and hyphens only.
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
190
+ *
191
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
192
+ *
193
+ */
194
+ checkDomainAvailability: async (fid, subdomain, options = {}) => {
195
+ // verify required parameter 'fid' is not null or undefined
196
+ (0, common_1.assertParamExists)('checkDomainAvailability', 'fid', fid);
197
+ // verify required parameter 'subdomain' is not null or undefined
198
+ (0, common_1.assertParamExists)('checkDomainAvailability', 'subdomain', subdomain);
199
+ const localVarPath = `/v2/studio/vercel/domain/check`;
200
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
201
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
202
+ let baseOptions;
203
+ if (configuration) {
204
+ baseOptions = configuration.baseOptions;
205
+ }
206
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
207
+ const localVarHeaderParameter = {};
208
+ const localVarQueryParameter = {};
209
+ // authentication ApiKeyAuth required
210
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
211
+ if (fid !== undefined) {
212
+ localVarQueryParameter['fid'] = fid;
213
+ }
214
+ if (subdomain !== undefined) {
215
+ localVarQueryParameter['subdomain'] = subdomain;
216
+ }
217
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
218
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
219
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
220
+ return {
221
+ url: (0, common_1.toPathString)(localVarUrlObj),
222
+ options: localVarRequestOptions,
223
+ };
224
+ },
225
+ /**
226
+ * 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.
227
+ * @summary Claim credit drop
228
+ * @param {ClaimCreditDropRequest} claimCreditDropRequest
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
232
+ *
233
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
234
+ *
235
+ */
236
+ claimCreditDrop: async (claimCreditDropRequest, options = {}) => {
237
+ // verify required parameter 'claimCreditDropRequest' is not null or undefined
238
+ (0, common_1.assertParamExists)('claimCreditDrop', 'claimCreditDropRequest', claimCreditDropRequest);
239
+ const localVarPath = `/v2/studio/credit-drops/claim`;
240
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
241
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
242
+ let baseOptions;
243
+ if (configuration) {
244
+ baseOptions = configuration.baseOptions;
245
+ }
246
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
247
+ const localVarHeaderParameter = {};
248
+ const localVarQueryParameter = {};
249
+ // authentication ApiKeyAuth required
250
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
251
+ localVarHeaderParameter['Content-Type'] = 'application/json';
252
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
253
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
254
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
255
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(claimCreditDropRequest, localVarRequestOptions, configuration);
256
+ return {
257
+ url: (0, common_1.toPathString)(localVarUrlObj),
258
+ options: localVarRequestOptions,
259
+ };
260
+ },
104
261
  /**
105
262
  * 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.
106
263
  * @summary Create a miniapp generator deployment
@@ -321,6 +478,53 @@ const StudioApiAxiosParamCreator = function (configuration) {
321
478
  options: localVarRequestOptions,
322
479
  };
323
480
  },
481
+ /**
482
+ * 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.
483
+ * @summary Export deployment source code as ZIP
484
+ * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
485
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
486
+ * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
487
+ * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
488
+ * @param {*} [options] Override http request option.
489
+ * @throws {RequiredError}
490
+ * @returns {Promise<>} A promise that resolves to a `` object
491
+ *
492
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
493
+ *
494
+ */
495
+ exportZip: async (deploymentId, fid, name, namespace, options = {}) => {
496
+ const localVarPath = `/v2/studio/deployment/export-zip`;
497
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
498
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
499
+ let baseOptions;
500
+ if (configuration) {
501
+ baseOptions = configuration.baseOptions;
502
+ }
503
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
504
+ const localVarHeaderParameter = {};
505
+ const localVarQueryParameter = {};
506
+ // authentication ApiKeyAuth required
507
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
508
+ if (deploymentId !== undefined) {
509
+ localVarQueryParameter['deployment_id'] = deploymentId;
510
+ }
511
+ if (fid !== undefined) {
512
+ localVarQueryParameter['fid'] = fid;
513
+ }
514
+ if (name !== undefined) {
515
+ localVarQueryParameter['name'] = name;
516
+ }
517
+ if (namespace !== undefined) {
518
+ localVarQueryParameter['namespace'] = namespace;
519
+ }
520
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
521
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
522
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
523
+ return {
524
+ url: (0, common_1.toPathString)(localVarUrlObj),
525
+ options: localVarRequestOptions,
526
+ };
527
+ },
324
528
  /**
325
529
  * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
326
530
  * @summary Get account association of a miniapp
@@ -365,14 +569,16 @@ const StudioApiAxiosParamCreator = function (configuration) {
365
569
  };
366
570
  },
367
571
  /**
368
- * 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.
572
+ * 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.
369
573
  * @summary Get messages in a conversation
370
574
  * @param {string} conversationId Conversation ID
371
575
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
372
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
576
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
373
577
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
374
578
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
375
- * @param {boolean | null} [includeDeleted] Include deleted messages in the response. Defaults to false.
579
+ * @param {boolean} [includeDeleted] Include deleted messages in the response. Defaults to false.
580
+ * @param {number} [limit] Maximum number of messages to return per page. Defaults to 50, max 100. (Default: 50, Maximum: 100)
581
+ * @param {string} [cursor] Pagination cursor for fetching older messages. Omit to start from most recent.
376
582
  * @param {*} [options] Override http request option.
377
583
  * @throws {RequiredError}
378
584
  * @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object
@@ -380,7 +586,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
380
586
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
381
587
  *
382
588
  */
383
- getConversationMessages: async (conversationId, deploymentId, fid, name, namespace, includeDeleted, options = {}) => {
589
+ getConversationMessages: async (conversationId, deploymentId, fid, name, namespace, includeDeleted, limit, cursor, options = {}) => {
384
590
  // verify required parameter 'conversationId' is not null or undefined
385
591
  (0, common_1.assertParamExists)('getConversationMessages', 'conversationId', conversationId);
386
592
  const localVarPath = `/v2/studio/deployment/conversations/messages`;
@@ -413,6 +619,49 @@ const StudioApiAxiosParamCreator = function (configuration) {
413
619
  if (includeDeleted !== undefined) {
414
620
  localVarQueryParameter['include_deleted'] = includeDeleted;
415
621
  }
622
+ if (limit !== undefined) {
623
+ localVarQueryParameter['limit'] = limit;
624
+ }
625
+ if (cursor !== undefined) {
626
+ localVarQueryParameter['cursor'] = cursor;
627
+ }
628
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
629
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
630
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
631
+ return {
632
+ url: (0, common_1.toPathString)(localVarUrlObj),
633
+ options: localVarRequestOptions,
634
+ };
635
+ },
636
+ /**
637
+ * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
638
+ * @summary Get most recent credit drop
639
+ * @param {number} fid Farcaster ID of the user
640
+ * @param {*} [options] Override http request option.
641
+ * @throws {RequiredError}
642
+ * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
643
+ *
644
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
645
+ *
646
+ */
647
+ getCreditDrop: async (fid, options = {}) => {
648
+ // verify required parameter 'fid' is not null or undefined
649
+ (0, common_1.assertParamExists)('getCreditDrop', 'fid', fid);
650
+ const localVarPath = `/v2/studio/credit-drops/`;
651
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
652
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
653
+ let baseOptions;
654
+ if (configuration) {
655
+ baseOptions = configuration.baseOptions;
656
+ }
657
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
658
+ const localVarHeaderParameter = {};
659
+ const localVarQueryParameter = {};
660
+ // authentication ApiKeyAuth required
661
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
662
+ if (fid !== undefined) {
663
+ localVarQueryParameter['fid'] = fid;
664
+ }
416
665
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
417
666
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
418
667
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -425,7 +674,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
425
674
  * 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.
426
675
  * @summary Get deployment info
427
676
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
428
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
677
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
429
678
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
430
679
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
431
680
  * @param {*} [options] Override http request option.
@@ -473,7 +722,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
473
722
  * @summary Get deployment file contents
474
723
  * @param {string} filePath File path relative to gen/
475
724
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
476
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
725
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
477
726
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
478
727
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
479
728
  * @param {*} [options] Override http request option.
@@ -569,7 +818,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
569
818
  * @summary Get table schema
570
819
  * @param {string} tableName
571
820
  * @param {string} deploymentId Deployment ID (UUID)
572
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users.
821
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
573
822
  * @param {*} [options] Override http request option.
574
823
  * @throws {RequiredError}
575
824
  * @returns {Promise<GetTableSchema200Response>} A promise that resolves to a `GetTableSchema200Response` object
@@ -653,9 +902,9 @@ const StudioApiAxiosParamCreator = function (configuration) {
653
902
  * 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.
654
903
  * @summary List conversations for a deployment
655
904
  * @param {string} [deploymentId] Deployment ID (UUID). If provided, filters conversations to this deployment only.
656
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
905
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
657
906
  * @param {string} [name] Kubernetes deployment name. If provided, filters conversations to this deployment only.
658
- * @param {boolean | null} [includeDeleted] Include deleted conversations in the response. Defaults to false.
907
+ * @param {boolean} [includeDeleted] Include deleted conversations in the response. Defaults to false.
659
908
  * @param {*} [options] Override http request option.
660
909
  * @throws {RequiredError}
661
910
  * @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object
@@ -700,7 +949,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
700
949
  * 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.
701
950
  * @summary List deployment files
702
951
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
703
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
952
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
704
953
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
705
954
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
706
955
  * @param {string} [directory] Directory path relative to gen/ (defaults to root)
@@ -750,10 +999,12 @@ const StudioApiAxiosParamCreator = function (configuration) {
750
999
  /**
751
1000
  * 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.
752
1001
  * @summary List deployments
753
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
1002
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
754
1003
  * @param {number} [limit] Maximum number of deployments to return. Defaults to 50, max 1000. (Default: 50, Maximum: 1000)
755
- * @param {number | null} [offset] Number of deployments to skip for pagination. Defaults to 0.
756
- * @param {boolean | null} [includeDeleted] Include deleted deployments in the response. Defaults to false.
1004
+ * @param {number} [offset] Number of deployments to skip for pagination. Defaults to 0.
1005
+ * @param {string} [query] Search string to filter deployments by name, display name, or FID.
1006
+ * @param {ListDeploymentsSortByEnum} [sortBy] Field to sort deployments by. Defaults to updated_at (most recently updated first).
1007
+ * @param {boolean} [includeDeleted] Include deleted deployments in the response. Defaults to false.
757
1008
  * @param {*} [options] Override http request option.
758
1009
  * @throws {RequiredError}
759
1010
  * @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object
@@ -761,7 +1012,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
761
1012
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
762
1013
  *
763
1014
  */
764
- listDeployments: async (fid, limit, offset, includeDeleted, options = {}) => {
1015
+ listDeployments: async (fid, limit, offset, query, sortBy, includeDeleted, options = {}) => {
765
1016
  const localVarPath = `/v2/studio/deployment/`;
766
1017
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
767
1018
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -783,6 +1034,12 @@ const StudioApiAxiosParamCreator = function (configuration) {
783
1034
  if (offset !== undefined) {
784
1035
  localVarQueryParameter['offset'] = offset;
785
1036
  }
1037
+ if (query !== undefined) {
1038
+ localVarQueryParameter['query'] = query;
1039
+ }
1040
+ if (sortBy !== undefined) {
1041
+ localVarQueryParameter['sort_by'] = sortBy;
1042
+ }
786
1043
  if (includeDeleted !== undefined) {
787
1044
  localVarQueryParameter['include_deleted'] = includeDeleted;
788
1045
  }
@@ -839,7 +1096,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
839
1096
  * Lists all tables and views in the deployment database, excluding system tables.
840
1097
  * @summary List all tables in deployment database
841
1098
  * @param {string} deploymentId Deployment ID (UUID)
842
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users.
1099
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
843
1100
  * @param {*} [options] Override http request option.
844
1101
  * @throws {RequiredError}
845
1102
  * @returns {Promise<ListTables200Response>} A promise that resolves to a `ListTables200Response` object
@@ -912,6 +1169,42 @@ const StudioApiAxiosParamCreator = function (configuration) {
912
1169
  options: localVarRequestOptions,
913
1170
  };
914
1171
  },
1172
+ /**
1173
+ * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
1174
+ * @summary Provision a database for a deployment
1175
+ * @param {ProvisionRequest} provisionRequest
1176
+ * @param {*} [options] Override http request option.
1177
+ * @throws {RequiredError}
1178
+ * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
1179
+ *
1180
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
1181
+ *
1182
+ */
1183
+ provision: async (provisionRequest, options = {}) => {
1184
+ // verify required parameter 'provisionRequest' is not null or undefined
1185
+ (0, common_1.assertParamExists)('provision', 'provisionRequest', provisionRequest);
1186
+ const localVarPath = `/v2/studio/deployment/database/provision`;
1187
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1188
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1189
+ let baseOptions;
1190
+ if (configuration) {
1191
+ baseOptions = configuration.baseOptions;
1192
+ }
1193
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1194
+ const localVarHeaderParameter = {};
1195
+ const localVarQueryParameter = {};
1196
+ // authentication ApiKeyAuth required
1197
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
1198
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1199
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1200
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1201
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1202
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(provisionRequest, localVarRequestOptions, configuration);
1203
+ return {
1204
+ url: (0, common_1.toPathString)(localVarUrlObj),
1205
+ options: localVarRequestOptions,
1206
+ };
1207
+ },
915
1208
  /**
916
1209
  * Query data from a table with pagination and sorting.
917
1210
  * @summary Query table data
@@ -1203,7 +1496,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
1203
1496
  * 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.
1204
1497
  * @summary Get Vercel deployment build logs
1205
1498
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
1206
- * @param {number | null} [fid] Farcaster ID of the user
1499
+ * @param {number} [fid] Farcaster ID of the user
1207
1500
  * @param {string} [namespace] K8s Namespace name
1208
1501
  * @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
1209
1502
  * @param {number} [limit] Maximum number of log events to return. Defaults to 100.
@@ -1254,7 +1547,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
1254
1547
  * 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.
1255
1548
  * @summary Get Vercel deployment status
1256
1549
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
1257
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
1550
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
1258
1551
  * @param {string} [namespace] K8s Namespace name
1259
1552
  * @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
1260
1553
  * @param {*} [options] Override http request option.
@@ -1307,6 +1600,25 @@ exports.StudioApiAxiosParamCreator = StudioApiAxiosParamCreator;
1307
1600
  const StudioApiFp = function (configuration) {
1308
1601
  const localVarAxiosParamCreator = (0, exports.StudioApiAxiosParamCreator)(configuration);
1309
1602
  return {
1603
+ /**
1604
+ * 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.
1605
+ * @summary Assign a custom subdomain to a deployed miniapp
1606
+ * @param {number} fid Farcaster ID of the requesting user
1607
+ * @param {AssignCustomDomainRequest} assignCustomDomainRequest
1608
+ * @param {*} [options] Override http request option.
1609
+ * @throws {RequiredError}
1610
+ * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
1611
+ *
1612
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
1613
+ *
1614
+ */
1615
+ async assignCustomDomain(fid, assignCustomDomainRequest, options) {
1616
+ var _a, _b, _c;
1617
+ const localVarAxiosArgs = await localVarAxiosParamCreator.assignCustomDomain(fid, assignCustomDomainRequest, options);
1618
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1619
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.assignCustomDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1620
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1621
+ },
1310
1622
  /**
1311
1623
  * 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.
1312
1624
  * @summary Set account association
@@ -1343,6 +1655,61 @@ const StudioApiFp = function (configuration) {
1343
1655
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.build']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1344
1656
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1345
1657
  },
1658
+ /**
1659
+ * 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.
1660
+ * @summary Cancel an active Claude session for a deployment
1661
+ * @param {CancelSessionRequest} cancelSessionRequest
1662
+ * @param {*} [options] Override http request option.
1663
+ * @throws {RequiredError}
1664
+ * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
1665
+ *
1666
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
1667
+ *
1668
+ */
1669
+ async cancelSession(cancelSessionRequest, options) {
1670
+ var _a, _b, _c;
1671
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cancelSession(cancelSessionRequest, options);
1672
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1673
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.cancelSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1674
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1675
+ },
1676
+ /**
1677
+ * 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.
1678
+ * @summary Check if a custom subdomain is available
1679
+ * @param {number} fid Farcaster ID of the requesting user
1680
+ * @param {string} subdomain The desired subdomain (without .neynar.app suffix). Must be 3-63 characters, lowercase alphanumeric and hyphens only.
1681
+ * @param {*} [options] Override http request option.
1682
+ * @throws {RequiredError}
1683
+ * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
1684
+ *
1685
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
1686
+ *
1687
+ */
1688
+ async checkDomainAvailability(fid, subdomain, options) {
1689
+ var _a, _b, _c;
1690
+ const localVarAxiosArgs = await localVarAxiosParamCreator.checkDomainAvailability(fid, subdomain, options);
1691
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1692
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.checkDomainAvailability']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1693
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1694
+ },
1695
+ /**
1696
+ * 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.
1697
+ * @summary Claim credit drop
1698
+ * @param {ClaimCreditDropRequest} claimCreditDropRequest
1699
+ * @param {*} [options] Override http request option.
1700
+ * @throws {RequiredError}
1701
+ * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
1702
+ *
1703
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
1704
+ *
1705
+ */
1706
+ async claimCreditDrop(claimCreditDropRequest, options) {
1707
+ var _a, _b, _c;
1708
+ const localVarAxiosArgs = await localVarAxiosParamCreator.claimCreditDrop(claimCreditDropRequest, options);
1709
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1710
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.claimCreditDrop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1711
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1712
+ },
1346
1713
  /**
1347
1714
  * 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.
1348
1715
  * @summary Create a miniapp generator deployment
@@ -1452,6 +1819,27 @@ const StudioApiFp = function (configuration) {
1452
1819
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.executeSql']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1453
1820
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1454
1821
  },
1822
+ /**
1823
+ * 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.
1824
+ * @summary Export deployment source code as ZIP
1825
+ * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
1826
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
1827
+ * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
1828
+ * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
1829
+ * @param {*} [options] Override http request option.
1830
+ * @throws {RequiredError}
1831
+ * @returns {Promise<>} A promise that resolves to a `` object
1832
+ *
1833
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
1834
+ *
1835
+ */
1836
+ async exportZip(deploymentId, fid, name, namespace, options) {
1837
+ var _a, _b, _c;
1838
+ const localVarAxiosArgs = await localVarAxiosParamCreator.exportZip(deploymentId, fid, name, namespace, options);
1839
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1840
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.exportZip']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1841
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1842
+ },
1455
1843
  /**
1456
1844
  * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
1457
1845
  * @summary Get account association of a miniapp
@@ -1473,14 +1861,16 @@ const StudioApiFp = function (configuration) {
1473
1861
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1474
1862
  },
1475
1863
  /**
1476
- * 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.
1864
+ * 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.
1477
1865
  * @summary Get messages in a conversation
1478
1866
  * @param {string} conversationId Conversation ID
1479
1867
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
1480
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
1868
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
1481
1869
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
1482
1870
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
1483
- * @param {boolean | null} [includeDeleted] Include deleted messages in the response. Defaults to false.
1871
+ * @param {boolean} [includeDeleted] Include deleted messages in the response. Defaults to false.
1872
+ * @param {number} [limit] Maximum number of messages to return per page. Defaults to 50, max 100. (Default: 50, Maximum: 100)
1873
+ * @param {string} [cursor] Pagination cursor for fetching older messages. Omit to start from most recent.
1484
1874
  * @param {*} [options] Override http request option.
1485
1875
  * @throws {RequiredError}
1486
1876
  * @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object
@@ -1488,18 +1878,36 @@ const StudioApiFp = function (configuration) {
1488
1878
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
1489
1879
  *
1490
1880
  */
1491
- async getConversationMessages(conversationId, deploymentId, fid, name, namespace, includeDeleted, options) {
1881
+ async getConversationMessages(conversationId, deploymentId, fid, name, namespace, includeDeleted, limit, cursor, options) {
1492
1882
  var _a, _b, _c;
1493
- const localVarAxiosArgs = await localVarAxiosParamCreator.getConversationMessages(conversationId, deploymentId, fid, name, namespace, includeDeleted, options);
1883
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getConversationMessages(conversationId, deploymentId, fid, name, namespace, includeDeleted, limit, cursor, options);
1494
1884
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1495
1885
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.getConversationMessages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1496
1886
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1497
1887
  },
1888
+ /**
1889
+ * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
1890
+ * @summary Get most recent credit drop
1891
+ * @param {number} fid Farcaster ID of the user
1892
+ * @param {*} [options] Override http request option.
1893
+ * @throws {RequiredError}
1894
+ * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
1895
+ *
1896
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
1897
+ *
1898
+ */
1899
+ async getCreditDrop(fid, options) {
1900
+ var _a, _b, _c;
1901
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCreditDrop(fid, options);
1902
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1903
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.getCreditDrop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1904
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1905
+ },
1498
1906
  /**
1499
1907
  * 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.
1500
1908
  * @summary Get deployment info
1501
1909
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
1502
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
1910
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
1503
1911
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
1504
1912
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
1505
1913
  * @param {*} [options] Override http request option.
@@ -1521,7 +1929,7 @@ const StudioApiFp = function (configuration) {
1521
1929
  * @summary Get deployment file contents
1522
1930
  * @param {string} filePath File path relative to gen/
1523
1931
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
1524
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
1932
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
1525
1933
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
1526
1934
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
1527
1935
  * @param {*} [options] Override http request option.
@@ -1563,7 +1971,7 @@ const StudioApiFp = function (configuration) {
1563
1971
  * @summary Get table schema
1564
1972
  * @param {string} tableName
1565
1973
  * @param {string} deploymentId Deployment ID (UUID)
1566
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users.
1974
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
1567
1975
  * @param {*} [options] Override http request option.
1568
1976
  * @throws {RequiredError}
1569
1977
  * @returns {Promise<GetTableSchema200Response>} A promise that resolves to a `GetTableSchema200Response` object
@@ -1601,9 +2009,9 @@ const StudioApiFp = function (configuration) {
1601
2009
  * 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.
1602
2010
  * @summary List conversations for a deployment
1603
2011
  * @param {string} [deploymentId] Deployment ID (UUID). If provided, filters conversations to this deployment only.
1604
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
2012
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
1605
2013
  * @param {string} [name] Kubernetes deployment name. If provided, filters conversations to this deployment only.
1606
- * @param {boolean | null} [includeDeleted] Include deleted conversations in the response. Defaults to false.
2014
+ * @param {boolean} [includeDeleted] Include deleted conversations in the response. Defaults to false.
1607
2015
  * @param {*} [options] Override http request option.
1608
2016
  * @throws {RequiredError}
1609
2017
  * @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object
@@ -1622,7 +2030,7 @@ const StudioApiFp = function (configuration) {
1622
2030
  * 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.
1623
2031
  * @summary List deployment files
1624
2032
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
1625
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
2033
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
1626
2034
  * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
1627
2035
  * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
1628
2036
  * @param {string} [directory] Directory path relative to gen/ (defaults to root)
@@ -1643,10 +2051,12 @@ const StudioApiFp = function (configuration) {
1643
2051
  /**
1644
2052
  * 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.
1645
2053
  * @summary List deployments
1646
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
2054
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
1647
2055
  * @param {number} [limit] Maximum number of deployments to return. Defaults to 50, max 1000. (Default: 50, Maximum: 1000)
1648
- * @param {number | null} [offset] Number of deployments to skip for pagination. Defaults to 0.
1649
- * @param {boolean | null} [includeDeleted] Include deleted deployments in the response. Defaults to false.
2056
+ * @param {number} [offset] Number of deployments to skip for pagination. Defaults to 0.
2057
+ * @param {string} [query] Search string to filter deployments by name, display name, or FID.
2058
+ * @param {ListDeploymentsSortByEnum} [sortBy] Field to sort deployments by. Defaults to updated_at (most recently updated first).
2059
+ * @param {boolean} [includeDeleted] Include deleted deployments in the response. Defaults to false.
1650
2060
  * @param {*} [options] Override http request option.
1651
2061
  * @throws {RequiredError}
1652
2062
  * @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object
@@ -1654,9 +2064,9 @@ const StudioApiFp = function (configuration) {
1654
2064
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
1655
2065
  *
1656
2066
  */
1657
- async listDeployments(fid, limit, offset, includeDeleted, options) {
2067
+ async listDeployments(fid, limit, offset, query, sortBy, includeDeleted, options) {
1658
2068
  var _a, _b, _c;
1659
- const localVarAxiosArgs = await localVarAxiosParamCreator.listDeployments(fid, limit, offset, includeDeleted, options);
2069
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDeployments(fid, limit, offset, query, sortBy, includeDeleted, options);
1660
2070
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1661
2071
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.listDeployments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1662
2072
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1684,7 +2094,7 @@ const StudioApiFp = function (configuration) {
1684
2094
  * Lists all tables and views in the deployment database, excluding system tables.
1685
2095
  * @summary List all tables in deployment database
1686
2096
  * @param {string} deploymentId Deployment ID (UUID)
1687
- * @param {number | null} [fid] Farcaster ID of the user. Required for non-admin users.
2097
+ * @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
1688
2098
  * @param {*} [options] Override http request option.
1689
2099
  * @throws {RequiredError}
1690
2100
  * @returns {Promise<ListTables200Response>} A promise that resolves to a `ListTables200Response` object
@@ -1717,6 +2127,24 @@ const StudioApiFp = function (configuration) {
1717
2127
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.promptDeploymentStream']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1718
2128
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1719
2129
  },
2130
+ /**
2131
+ * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
2132
+ * @summary Provision a database for a deployment
2133
+ * @param {ProvisionRequest} provisionRequest
2134
+ * @param {*} [options] Override http request option.
2135
+ * @throws {RequiredError}
2136
+ * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
2137
+ *
2138
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
2139
+ *
2140
+ */
2141
+ async provision(provisionRequest, options) {
2142
+ var _a, _b, _c;
2143
+ const localVarAxiosArgs = await localVarAxiosParamCreator.provision(provisionRequest, options);
2144
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2145
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.provision']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2146
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2147
+ },
1720
2148
  /**
1721
2149
  * Query data from a table with pagination and sorting.
1722
2150
  * @summary Query table data
@@ -1865,7 +2293,7 @@ const StudioApiFp = function (configuration) {
1865
2293
  * 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.
1866
2294
  * @summary Get Vercel deployment build logs
1867
2295
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
1868
- * @param {number | null} [fid] Farcaster ID of the user
2296
+ * @param {number} [fid] Farcaster ID of the user
1869
2297
  * @param {string} [namespace] K8s Namespace name
1870
2298
  * @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
1871
2299
  * @param {number} [limit] Maximum number of log events to return. Defaults to 100.
@@ -1887,7 +2315,7 @@ const StudioApiFp = function (configuration) {
1887
2315
  * 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.
1888
2316
  * @summary Get Vercel deployment status
1889
2317
  * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
1890
- * @param {number | null} [fid] Farcaster ID of the user; if not provided, namespace must be provided
2318
+ * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
1891
2319
  * @param {string} [namespace] K8s Namespace name
1892
2320
  * @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
1893
2321
  * @param {*} [options] Override http request option.
@@ -1914,6 +2342,20 @@ exports.StudioApiFp = StudioApiFp;
1914
2342
  const StudioApiFactory = function (configuration, basePath, axios) {
1915
2343
  const localVarFp = (0, exports.StudioApiFp)(configuration);
1916
2344
  return {
2345
+ /**
2346
+ * 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.
2347
+ * @summary Assign a custom subdomain to a deployed miniapp
2348
+ * @param {StudioApiAssignCustomDomainRequest} requestParameters Request parameters.
2349
+ * @param {*} [options] Override http request option.
2350
+ * @throws {RequiredError}
2351
+ * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
2352
+ *
2353
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
2354
+ *
2355
+ */
2356
+ assignCustomDomain(requestParameters, options) {
2357
+ return localVarFp.assignCustomDomain(requestParameters.fid, requestParameters.assignCustomDomainRequest, options).then((request) => request(axios, basePath));
2358
+ },
1917
2359
  /**
1918
2360
  * 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.
1919
2361
  * @summary Set account association
@@ -1942,6 +2384,48 @@ const StudioApiFactory = function (configuration, basePath, axios) {
1942
2384
  build(requestParameters, options) {
1943
2385
  return localVarFp.build(requestParameters.buildRequest, options).then((request) => request(axios, basePath));
1944
2386
  },
2387
+ /**
2388
+ * 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.
2389
+ * @summary Cancel an active Claude session for a deployment
2390
+ * @param {StudioApiCancelSessionRequest} requestParameters Request parameters.
2391
+ * @param {*} [options] Override http request option.
2392
+ * @throws {RequiredError}
2393
+ * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
2394
+ *
2395
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
2396
+ *
2397
+ */
2398
+ cancelSession(requestParameters, options) {
2399
+ return localVarFp.cancelSession(requestParameters.cancelSessionRequest, options).then((request) => request(axios, basePath));
2400
+ },
2401
+ /**
2402
+ * 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.
2403
+ * @summary Check if a custom subdomain is available
2404
+ * @param {StudioApiCheckDomainAvailabilityRequest} requestParameters Request parameters.
2405
+ * @param {*} [options] Override http request option.
2406
+ * @throws {RequiredError}
2407
+ * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
2408
+ *
2409
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
2410
+ *
2411
+ */
2412
+ checkDomainAvailability(requestParameters, options) {
2413
+ return localVarFp.checkDomainAvailability(requestParameters.fid, requestParameters.subdomain, options).then((request) => request(axios, basePath));
2414
+ },
2415
+ /**
2416
+ * 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.
2417
+ * @summary Claim credit drop
2418
+ * @param {StudioApiClaimCreditDropRequest} requestParameters Request parameters.
2419
+ * @param {*} [options] Override http request option.
2420
+ * @throws {RequiredError}
2421
+ * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
2422
+ *
2423
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
2424
+ *
2425
+ */
2426
+ claimCreditDrop(requestParameters, options) {
2427
+ return localVarFp.claimCreditDrop(requestParameters.claimCreditDropRequest, options).then((request) => request(axios, basePath));
2428
+ },
1945
2429
  /**
1946
2430
  * 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.
1947
2431
  * @summary Create a miniapp generator deployment
@@ -2026,6 +2510,20 @@ const StudioApiFactory = function (configuration, basePath, axios) {
2026
2510
  executeSql(requestParameters, options) {
2027
2511
  return localVarFp.executeSql(requestParameters.executeSqlRequest, options).then((request) => request(axios, basePath));
2028
2512
  },
2513
+ /**
2514
+ * 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.
2515
+ * @summary Export deployment source code as ZIP
2516
+ * @param {StudioApiExportZipRequest} requestParameters Request parameters.
2517
+ * @param {*} [options] Override http request option.
2518
+ * @throws {RequiredError}
2519
+ * @returns {Promise<>} A promise that resolves to a `` object
2520
+ *
2521
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
2522
+ *
2523
+ */
2524
+ exportZip(requestParameters = {}, options) {
2525
+ return localVarFp.exportZip(requestParameters.deploymentId, requestParameters.fid, requestParameters.name, requestParameters.namespace, options).then((request) => request(axios, basePath));
2526
+ },
2029
2527
  /**
2030
2528
  * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
2031
2529
  * @summary Get account association of a miniapp
@@ -2041,7 +2539,7 @@ const StudioApiFactory = function (configuration, basePath, axios) {
2041
2539
  return localVarFp.getAccountAssociation(requestParameters.deploymentId, requestParameters.namespace, requestParameters.name, options).then((request) => request(axios, basePath));
2042
2540
  },
2043
2541
  /**
2044
- * 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.
2542
+ * 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.
2045
2543
  * @summary Get messages in a conversation
2046
2544
  * @param {StudioApiGetConversationMessagesRequest} requestParameters Request parameters.
2047
2545
  * @param {*} [options] Override http request option.
@@ -2052,7 +2550,21 @@ const StudioApiFactory = function (configuration, basePath, axios) {
2052
2550
  *
2053
2551
  */
2054
2552
  getConversationMessages(requestParameters, options) {
2055
- return localVarFp.getConversationMessages(requestParameters.conversationId, requestParameters.deploymentId, requestParameters.fid, requestParameters.name, requestParameters.namespace, requestParameters.includeDeleted, options).then((request) => request(axios, basePath));
2553
+ return localVarFp.getConversationMessages(requestParameters.conversationId, requestParameters.deploymentId, requestParameters.fid, requestParameters.name, requestParameters.namespace, requestParameters.includeDeleted, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
2554
+ },
2555
+ /**
2556
+ * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
2557
+ * @summary Get most recent credit drop
2558
+ * @param {StudioApiGetCreditDropRequest} requestParameters Request parameters.
2559
+ * @param {*} [options] Override http request option.
2560
+ * @throws {RequiredError}
2561
+ * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
2562
+ *
2563
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
2564
+ *
2565
+ */
2566
+ getCreditDrop(requestParameters, options) {
2567
+ return localVarFp.getCreditDrop(requestParameters.fid, options).then((request) => request(axios, basePath));
2056
2568
  },
2057
2569
  /**
2058
2570
  * 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.
@@ -2164,7 +2676,7 @@ const StudioApiFactory = function (configuration, basePath, axios) {
2164
2676
  *
2165
2677
  */
2166
2678
  listDeployments(requestParameters = {}, options) {
2167
- return localVarFp.listDeployments(requestParameters.fid, requestParameters.limit, requestParameters.offset, requestParameters.includeDeleted, options).then((request) => request(axios, basePath));
2679
+ return localVarFp.listDeployments(requestParameters.fid, requestParameters.limit, requestParameters.offset, requestParameters.query, requestParameters.sortBy, requestParameters.includeDeleted, options).then((request) => request(axios, basePath));
2168
2680
  },
2169
2681
  /**
2170
2682
  * Retrieves all secrets for a deployment.
@@ -2208,6 +2720,20 @@ const StudioApiFactory = function (configuration, basePath, axios) {
2208
2720
  promptDeploymentStream(requestParameters, options) {
2209
2721
  return localVarFp.promptDeploymentStream(requestParameters.promptDeploymentStreamRequest, options).then((request) => request(axios, basePath));
2210
2722
  },
2723
+ /**
2724
+ * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
2725
+ * @summary Provision a database for a deployment
2726
+ * @param {StudioApiProvisionRequest} requestParameters Request parameters.
2727
+ * @param {*} [options] Override http request option.
2728
+ * @throws {RequiredError}
2729
+ * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
2730
+ *
2731
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
2732
+ *
2733
+ */
2734
+ provision(requestParameters, options) {
2735
+ return localVarFp.provision(requestParameters.provisionRequest, options).then((request) => request(axios, basePath));
2736
+ },
2211
2737
  /**
2212
2738
  * Query data from a table with pagination and sorting.
2213
2739
  * @summary Query table data
@@ -2357,6 +2883,21 @@ exports.StudioApiFactory = StudioApiFactory;
2357
2883
  * @extends {BaseAPI}
2358
2884
  */
2359
2885
  class StudioApi extends base_1.BaseAPI {
2886
+ /**
2887
+ * 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.
2888
+ * @summary Assign a custom subdomain to a deployed miniapp
2889
+ * @param {StudioApiAssignCustomDomainRequest} requestParameters Request parameters.
2890
+ * @param {*} [options] Override http request option.
2891
+ * @throws {RequiredError}
2892
+ * @memberof StudioApi
2893
+ * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
2894
+ *
2895
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
2896
+ *
2897
+ */
2898
+ assignCustomDomain(requestParameters, options) {
2899
+ return (0, exports.StudioApiFp)(this.configuration).assignCustomDomain(requestParameters.fid, requestParameters.assignCustomDomainRequest, options).then((request) => request(this.axios, this.basePath));
2900
+ }
2360
2901
  /**
2361
2902
  * 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.
2362
2903
  * @summary Set account association
@@ -2387,6 +2928,51 @@ class StudioApi extends base_1.BaseAPI {
2387
2928
  build(requestParameters, options) {
2388
2929
  return (0, exports.StudioApiFp)(this.configuration).build(requestParameters.buildRequest, options).then((request) => request(this.axios, this.basePath));
2389
2930
  }
2931
+ /**
2932
+ * 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.
2933
+ * @summary Cancel an active Claude session for a deployment
2934
+ * @param {StudioApiCancelSessionRequest} requestParameters Request parameters.
2935
+ * @param {*} [options] Override http request option.
2936
+ * @throws {RequiredError}
2937
+ * @memberof StudioApi
2938
+ * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
2939
+ *
2940
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
2941
+ *
2942
+ */
2943
+ cancelSession(requestParameters, options) {
2944
+ return (0, exports.StudioApiFp)(this.configuration).cancelSession(requestParameters.cancelSessionRequest, options).then((request) => request(this.axios, this.basePath));
2945
+ }
2946
+ /**
2947
+ * 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.
2948
+ * @summary Check if a custom subdomain is available
2949
+ * @param {StudioApiCheckDomainAvailabilityRequest} requestParameters Request parameters.
2950
+ * @param {*} [options] Override http request option.
2951
+ * @throws {RequiredError}
2952
+ * @memberof StudioApi
2953
+ * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
2954
+ *
2955
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
2956
+ *
2957
+ */
2958
+ checkDomainAvailability(requestParameters, options) {
2959
+ return (0, exports.StudioApiFp)(this.configuration).checkDomainAvailability(requestParameters.fid, requestParameters.subdomain, options).then((request) => request(this.axios, this.basePath));
2960
+ }
2961
+ /**
2962
+ * 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.
2963
+ * @summary Claim credit drop
2964
+ * @param {StudioApiClaimCreditDropRequest} requestParameters Request parameters.
2965
+ * @param {*} [options] Override http request option.
2966
+ * @throws {RequiredError}
2967
+ * @memberof StudioApi
2968
+ * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
2969
+ *
2970
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
2971
+ *
2972
+ */
2973
+ claimCreditDrop(requestParameters, options) {
2974
+ return (0, exports.StudioApiFp)(this.configuration).claimCreditDrop(requestParameters.claimCreditDropRequest, options).then((request) => request(this.axios, this.basePath));
2975
+ }
2390
2976
  /**
2391
2977
  * 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.
2392
2978
  * @summary Create a miniapp generator deployment
@@ -2477,6 +3063,21 @@ class StudioApi extends base_1.BaseAPI {
2477
3063
  executeSql(requestParameters, options) {
2478
3064
  return (0, exports.StudioApiFp)(this.configuration).executeSql(requestParameters.executeSqlRequest, options).then((request) => request(this.axios, this.basePath));
2479
3065
  }
3066
+ /**
3067
+ * 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.
3068
+ * @summary Export deployment source code as ZIP
3069
+ * @param {StudioApiExportZipRequest} requestParameters Request parameters.
3070
+ * @param {*} [options] Override http request option.
3071
+ * @throws {RequiredError}
3072
+ * @memberof StudioApi
3073
+ * @returns {Promise<>} A promise that resolves to a `` object
3074
+ *
3075
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
3076
+ *
3077
+ */
3078
+ exportZip(requestParameters = {}, options) {
3079
+ return (0, exports.StudioApiFp)(this.configuration).exportZip(requestParameters.deploymentId, requestParameters.fid, requestParameters.name, requestParameters.namespace, options).then((request) => request(this.axios, this.basePath));
3080
+ }
2480
3081
  /**
2481
3082
  * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
2482
3083
  * @summary Get account association of a miniapp
@@ -2493,7 +3094,7 @@ class StudioApi extends base_1.BaseAPI {
2493
3094
  return (0, exports.StudioApiFp)(this.configuration).getAccountAssociation(requestParameters.deploymentId, requestParameters.namespace, requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2494
3095
  }
2495
3096
  /**
2496
- * 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.
3097
+ * 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.
2497
3098
  * @summary Get messages in a conversation
2498
3099
  * @param {StudioApiGetConversationMessagesRequest} requestParameters Request parameters.
2499
3100
  * @param {*} [options] Override http request option.
@@ -2505,7 +3106,22 @@ class StudioApi extends base_1.BaseAPI {
2505
3106
  *
2506
3107
  */
2507
3108
  getConversationMessages(requestParameters, options) {
2508
- return (0, exports.StudioApiFp)(this.configuration).getConversationMessages(requestParameters.conversationId, requestParameters.deploymentId, requestParameters.fid, requestParameters.name, requestParameters.namespace, requestParameters.includeDeleted, options).then((request) => request(this.axios, this.basePath));
3109
+ return (0, exports.StudioApiFp)(this.configuration).getConversationMessages(requestParameters.conversationId, requestParameters.deploymentId, requestParameters.fid, requestParameters.name, requestParameters.namespace, requestParameters.includeDeleted, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
3110
+ }
3111
+ /**
3112
+ * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
3113
+ * @summary Get most recent credit drop
3114
+ * @param {StudioApiGetCreditDropRequest} requestParameters Request parameters.
3115
+ * @param {*} [options] Override http request option.
3116
+ * @throws {RequiredError}
3117
+ * @memberof StudioApi
3118
+ * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
3119
+ *
3120
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
3121
+ *
3122
+ */
3123
+ getCreditDrop(requestParameters, options) {
3124
+ return (0, exports.StudioApiFp)(this.configuration).getCreditDrop(requestParameters.fid, options).then((request) => request(this.axios, this.basePath));
2509
3125
  }
2510
3126
  /**
2511
3127
  * 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.
@@ -2625,7 +3241,7 @@ class StudioApi extends base_1.BaseAPI {
2625
3241
  *
2626
3242
  */
2627
3243
  listDeployments(requestParameters = {}, options) {
2628
- return (0, exports.StudioApiFp)(this.configuration).listDeployments(requestParameters.fid, requestParameters.limit, requestParameters.offset, requestParameters.includeDeleted, options).then((request) => request(this.axios, this.basePath));
3244
+ return (0, exports.StudioApiFp)(this.configuration).listDeployments(requestParameters.fid, requestParameters.limit, requestParameters.offset, requestParameters.query, requestParameters.sortBy, requestParameters.includeDeleted, options).then((request) => request(this.axios, this.basePath));
2629
3245
  }
2630
3246
  /**
2631
3247
  * Retrieves all secrets for a deployment.
@@ -2672,6 +3288,21 @@ class StudioApi extends base_1.BaseAPI {
2672
3288
  promptDeploymentStream(requestParameters, options) {
2673
3289
  return (0, exports.StudioApiFp)(this.configuration).promptDeploymentStream(requestParameters.promptDeploymentStreamRequest, options).then((request) => request(this.axios, this.basePath));
2674
3290
  }
3291
+ /**
3292
+ * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
3293
+ * @summary Provision a database for a deployment
3294
+ * @param {StudioApiProvisionRequest} requestParameters Request parameters.
3295
+ * @param {*} [options] Override http request option.
3296
+ * @throws {RequiredError}
3297
+ * @memberof StudioApi
3298
+ * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
3299
+ *
3300
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
3301
+ *
3302
+ */
3303
+ provision(requestParameters, options) {
3304
+ return (0, exports.StudioApiFp)(this.configuration).provision(requestParameters.provisionRequest, options).then((request) => request(this.axios, this.basePath));
3305
+ }
2675
3306
  /**
2676
3307
  * Query data from a table with pagination and sorting.
2677
3308
  * @summary Query table data
@@ -2823,3 +3454,10 @@ class StudioApi extends base_1.BaseAPI {
2823
3454
  }
2824
3455
  }
2825
3456
  exports.StudioApi = StudioApi;
3457
+ /**
3458
+ * @export
3459
+ */
3460
+ exports.ListDeploymentsSortByEnum = {
3461
+ CreatedAt: 'created_at',
3462
+ UpdatedAt: 'updated_at'
3463
+ };