@neynar/nodejs-sdk 2.46.0 → 3.18.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 (804) hide show
  1. package/build/api/api.d.ts +4 -3
  2. package/build/api/api.js +4 -3
  3. package/build/api/apis/action-api.d.ts +8 -8
  4. package/build/api/apis/action-api.js +8 -8
  5. package/build/api/apis/agents-api.d.ts +51 -20
  6. package/build/api/apis/agents-api.js +49 -22
  7. package/build/api/apis/app-host-api.d.ts +71 -32
  8. package/build/api/apis/app-host-api.js +64 -31
  9. package/build/api/apis/auth-address-api.d.ts +205 -0
  10. package/build/api/apis/auth-address-api.js +230 -0
  11. package/build/api/apis/ban-api.d.ts +16 -16
  12. package/build/api/apis/ban-api.js +13 -13
  13. package/build/api/apis/block-api.d.ts +16 -16
  14. package/build/api/apis/block-api.js +13 -13
  15. package/build/api/apis/cast-api.d.ts +272 -103
  16. package/build/api/apis/cast-api.js +223 -68
  17. package/build/api/apis/channel-api.d.ts +57 -42
  18. package/build/api/apis/channel-api.js +53 -39
  19. package/build/api/apis/feed-api.d.ts +225 -181
  20. package/build/api/apis/feed-api.js +160 -112
  21. package/build/api/apis/fname-api.d.ts +3 -3
  22. package/build/api/apis/fname-api.js +4 -4
  23. package/build/api/apis/follows-api.d.ts +72 -57
  24. package/build/api/apis/follows-api.js +51 -37
  25. package/build/api/apis/frame-api.d.ts +144 -61
  26. package/build/api/apis/frame-api.js +127 -51
  27. package/build/api/apis/login-api.d.ts +3 -3
  28. package/build/api/apis/login-api.js +4 -4
  29. package/build/api/apis/metrics-api.d.ts +16 -16
  30. package/build/api/apis/metrics-api.js +11 -11
  31. package/build/api/apis/mute-api.d.ts +16 -16
  32. package/build/api/apis/mute-api.js +13 -13
  33. package/build/api/apis/notifications-api.d.ts +43 -32
  34. package/build/api/apis/notifications-api.js +58 -41
  35. package/build/api/apis/onchain-api.d.ts +265 -45
  36. package/build/api/apis/onchain-api.js +253 -38
  37. package/build/api/apis/reaction-api.d.ts +46 -29
  38. package/build/api/apis/reaction-api.js +39 -23
  39. package/build/api/apis/signer-api.d.ts +30 -24
  40. package/build/api/apis/signer-api.js +30 -24
  41. package/build/api/apis/storage-api.d.ts +9 -9
  42. package/build/api/apis/storage-api.js +10 -10
  43. package/build/api/apis/subscribers-api.d.ts +55 -35
  44. package/build/api/apis/subscribers-api.js +39 -20
  45. package/build/api/apis/user-api.d.ts +223 -305
  46. package/build/api/apis/user-api.js +192 -274
  47. package/build/api/apis/webhook-api.d.ts +3 -3
  48. package/build/api/apis/webhook-api.js +9 -9
  49. package/build/api/base.d.ts +3 -3
  50. package/build/api/base.js +4 -4
  51. package/build/api/common.d.ts +3 -3
  52. package/build/api/common.js +3 -3
  53. package/build/api/configuration.d.ts +3 -3
  54. package/build/api/configuration.js +3 -3
  55. package/build/api/index.d.ts +3 -3
  56. package/build/api/index.js +3 -3
  57. package/build/api/models/add-verification-req-body.d.ts +3 -3
  58. package/build/api/models/add-verification-req-body.js +3 -3
  59. package/build/api/models/address-balance-verified-address.d.ts +3 -3
  60. package/build/api/models/address-balance-verified-address.js +3 -3
  61. package/build/api/models/address-balance.d.ts +3 -3
  62. package/build/api/models/address-balance.js +3 -3
  63. package/build/api/models/app-host-event-type.d.ts +3 -3
  64. package/build/api/models/app-host-event-type.js +3 -3
  65. package/build/api/models/app-host-get-event-response-notification-details.d.ts +3 -3
  66. package/build/api/models/app-host-get-event-response-notification-details.js +3 -3
  67. package/build/api/models/app-host-get-event-response.d.ts +3 -3
  68. package/build/api/models/app-host-get-event-response.js +3 -3
  69. package/build/api/models/app-host-post-event-req-body-one-of-signed-message-one-of.d.ts +36 -0
  70. package/build/api/models/{app-host-post-event-body.js → app-host-post-event-req-body-one-of-signed-message-one-of.js} +3 -3
  71. package/build/api/models/app-host-post-event-req-body-one-of-signed-message.d.ts +18 -0
  72. package/build/api/models/{app-host-post-event-body-one-of.js → app-host-post-event-req-body-one-of-signed-message.js} +3 -3
  73. package/build/api/models/app-host-post-event-req-body-one-of.d.ts +31 -0
  74. package/build/api/models/{cast-with-interactions-all-of.js → app-host-post-event-req-body-one-of.js} +3 -3
  75. package/build/api/models/{app-host-post-event-body-one-of1.d.ts → app-host-post-event-req-body-one-of1.d.ts} +9 -9
  76. package/build/api/models/{app-host-post-event-body-one-of1.js → app-host-post-event-req-body-one-of1.js} +3 -3
  77. package/build/api/models/app-host-post-event-req-body.d.ts +19 -0
  78. package/build/api/models/app-host-post-event-req-body.js +15 -0
  79. package/build/api/models/app-host-post-event-response.d.ts +3 -3
  80. package/build/api/models/app-host-post-event-response.js +3 -3
  81. package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +3 -3
  82. package/build/api/models/app-host-user-state-response-notifications-enabled-inner.js +3 -3
  83. package/build/api/models/app-host-user-state-response.d.ts +3 -3
  84. package/build/api/models/app-host-user-state-response.js +3 -3
  85. package/build/api/models/authorization-url-response.d.ts +3 -3
  86. package/build/api/models/authorization-url-response.js +3 -3
  87. package/build/api/models/balance-response-user-balance.d.ts +3 -3
  88. package/build/api/models/balance-response-user-balance.js +3 -3
  89. package/build/api/models/balance-response.d.ts +3 -3
  90. package/build/api/models/balance-response.js +3 -3
  91. package/build/api/models/ban-list-response.d.ts +3 -3
  92. package/build/api/models/ban-list-response.js +3 -3
  93. package/build/api/models/ban-record.d.ts +3 -3
  94. package/build/api/models/ban-record.js +3 -3
  95. package/build/api/models/ban-req-body.d.ts +3 -3
  96. package/build/api/models/ban-req-body.js +3 -3
  97. package/build/api/models/ban-response.d.ts +3 -3
  98. package/build/api/models/ban-response.js +3 -3
  99. package/build/api/models/best-friends-response-users-inner.d.ts +36 -0
  100. package/build/api/models/best-friends-response-users-inner.js +15 -0
  101. package/build/api/models/best-friends-response.d.ts +32 -0
  102. package/build/api/models/best-friends-response.js +15 -0
  103. package/build/api/models/block-list-response.d.ts +3 -3
  104. package/build/api/models/block-list-response.js +3 -3
  105. package/build/api/models/block-record.d.ts +3 -3
  106. package/build/api/models/block-record.js +3 -3
  107. package/build/api/models/block-req-body.d.ts +3 -3
  108. package/build/api/models/block-req-body.js +3 -3
  109. package/build/api/models/bulk-casts-response.d.ts +6 -6
  110. package/build/api/models/bulk-casts-response.js +3 -3
  111. package/build/api/models/bulk-follow-response.d.ts +3 -3
  112. package/build/api/models/bulk-follow-response.js +3 -3
  113. package/build/api/models/bulk-users-by-address-response.d.ts +3 -3
  114. package/build/api/models/bulk-users-by-address-response.js +3 -3
  115. package/build/api/models/bulk-users-response.d.ts +3 -3
  116. package/build/api/models/bulk-users-response.js +3 -3
  117. package/build/api/models/buy-storage-req-body.d.ts +3 -3
  118. package/build/api/models/buy-storage-req-body.js +3 -3
  119. package/build/api/models/cast-and-conversations-ref.d.ts +179 -0
  120. package/build/api/models/cast-and-conversations-ref.js +19 -0
  121. package/build/api/models/cast-and-conversations.d.ts +180 -0
  122. package/build/api/models/cast-and-conversations.js +19 -0
  123. package/build/api/models/cast-composer-actions-list-response-actions-inner-action.d.ts +3 -3
  124. package/build/api/models/cast-composer-actions-list-response-actions-inner-action.js +3 -3
  125. package/build/api/models/cast-composer-actions-list-response-actions-inner.d.ts +3 -3
  126. package/build/api/models/cast-composer-actions-list-response-actions-inner.js +3 -3
  127. package/build/api/models/cast-composer-actions-list-response.d.ts +3 -3
  128. package/build/api/models/cast-composer-actions-list-response.js +3 -3
  129. package/build/api/models/cast-dehydrated.d.ts +3 -3
  130. package/build/api/models/cast-dehydrated.js +3 -3
  131. package/build/api/models/cast-embed-crawl-response.d.ts +3 -3
  132. package/build/api/models/cast-embed-crawl-response.js +3 -3
  133. package/build/api/models/cast-embedded-parent-author.d.ts +3 -3
  134. package/build/api/models/cast-embedded-parent-author.js +3 -3
  135. package/build/api/models/cast-embedded.d.ts +3 -10
  136. package/build/api/models/cast-embedded.js +3 -3
  137. package/build/api/models/cast-id.d.ts +3 -3
  138. package/build/api/models/cast-id.js +3 -3
  139. package/build/api/models/cast-notification-type.d.ts +3 -3
  140. package/build/api/models/cast-notification-type.js +3 -3
  141. package/build/api/models/{cast-with-interactions-reactions.d.ts → cast-reactions.d.ts} +9 -9
  142. package/build/api/models/cast-reactions.js +15 -0
  143. package/build/api/models/cast-replies.d.ts +24 -0
  144. package/build/api/models/cast-replies.js +15 -0
  145. package/build/api/models/cast-response.d.ts +6 -6
  146. package/build/api/models/cast-response.js +3 -3
  147. package/build/api/models/cast-viewer-context.d.ts +3 -3
  148. package/build/api/models/cast-viewer-context.js +3 -3
  149. package/build/api/models/cast.d.ts +77 -3
  150. package/build/api/models/cast.js +3 -3
  151. package/build/api/models/casts-metrics-response.d.ts +3 -3
  152. package/build/api/models/casts-metrics-response.js +3 -3
  153. package/build/api/models/casts-metrics.d.ts +3 -3
  154. package/build/api/models/casts-metrics.js +3 -3
  155. package/build/api/models/casts-response-result.d.ts +6 -6
  156. package/build/api/models/casts-response-result.js +3 -3
  157. package/build/api/models/casts-response.d.ts +3 -3
  158. package/build/api/models/casts-response.js +3 -3
  159. package/build/api/models/casts-search-response.d.ts +6 -6
  160. package/build/api/models/casts-search-response.js +3 -3
  161. package/build/api/models/channel-activity.d.ts +3 -3
  162. package/build/api/models/channel-activity.js +3 -3
  163. package/build/api/models/channel-dehydrated.d.ts +3 -3
  164. package/build/api/models/channel-dehydrated.js +3 -3
  165. package/build/api/models/channel-external-link.d.ts +3 -3
  166. package/build/api/models/channel-external-link.js +3 -3
  167. package/build/api/models/channel-follow-req-body.d.ts +3 -3
  168. package/build/api/models/channel-follow-req-body.js +3 -3
  169. package/build/api/models/channel-list-response.d.ts +3 -3
  170. package/build/api/models/channel-list-response.js +3 -3
  171. package/build/api/models/channel-member-channel.d.ts +3 -3
  172. package/build/api/models/channel-member-channel.js +3 -3
  173. package/build/api/models/channel-member-invite-list-response.d.ts +3 -3
  174. package/build/api/models/channel-member-invite-list-response.js +3 -3
  175. package/build/api/models/channel-member-invite.d.ts +3 -3
  176. package/build/api/models/channel-member-invite.js +3 -3
  177. package/build/api/models/channel-member-list-response.d.ts +3 -3
  178. package/build/api/models/channel-member-list-response.js +3 -3
  179. package/build/api/models/channel-member-role.d.ts +4 -3
  180. package/build/api/models/channel-member-role.js +5 -4
  181. package/build/api/models/channel-member-user.d.ts +3 -3
  182. package/build/api/models/channel-member-user.js +3 -3
  183. package/build/api/models/channel-member.d.ts +3 -3
  184. package/build/api/models/channel-member.js +3 -3
  185. package/build/api/models/channel-or-channel-dehydrated.d.ts +3 -3
  186. package/build/api/models/channel-or-channel-dehydrated.js +3 -3
  187. package/build/api/models/channel-response-bulk.d.ts +3 -3
  188. package/build/api/models/channel-response-bulk.js +3 -3
  189. package/build/api/models/channel-response.d.ts +3 -3
  190. package/build/api/models/channel-response.js +3 -3
  191. package/build/api/models/channel-search-response.d.ts +3 -3
  192. package/build/api/models/channel-search-response.js +3 -3
  193. package/build/api/models/channel-user-context.d.ts +3 -3
  194. package/build/api/models/channel-user-context.js +3 -3
  195. package/build/api/models/channel.d.ts +18 -18
  196. package/build/api/models/channel.js +3 -3
  197. package/build/api/models/conflict-error-res.d.ts +3 -3
  198. package/build/api/models/conflict-error-res.js +3 -3
  199. package/build/api/models/conversation-conversation.d.ts +9 -9
  200. package/build/api/models/conversation-conversation.js +3 -3
  201. package/build/api/models/conversation-summary-summary.d.ts +3 -3
  202. package/build/api/models/conversation-summary-summary.js +3 -3
  203. package/build/api/models/conversation-summary.d.ts +3 -3
  204. package/build/api/models/conversation-summary.js +3 -3
  205. package/build/api/models/conversation.d.ts +3 -3
  206. package/build/api/models/conversation.js +3 -3
  207. package/build/api/models/delete-cast-req-body.d.ts +4 -4
  208. package/build/api/models/delete-cast-req-body.js +3 -3
  209. package/build/api/models/delete-frame-req-body.d.ts +3 -3
  210. package/build/api/models/delete-frame-req-body.js +3 -3
  211. package/build/api/models/delete-frame-response.d.ts +3 -3
  212. package/build/api/models/delete-frame-response.js +3 -3
  213. package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +3 -3
  214. package/build/api/models/deploy-fungible-response-contract-fungible.js +3 -3
  215. package/build/api/models/deploy-fungible-response-contract.d.ts +3 -3
  216. package/build/api/models/deploy-fungible-response-contract.js +3 -3
  217. package/build/api/models/deploy-fungible-response.d.ts +3 -3
  218. package/build/api/models/deploy-fungible-response.js +3 -3
  219. package/build/api/models/developer-managed-signer.d.ts +3 -3
  220. package/build/api/models/developer-managed-signer.js +3 -3
  221. package/build/api/models/embed-cast-deep.d.ts +3 -3
  222. package/build/api/models/embed-cast-deep.js +3 -3
  223. package/build/api/models/embed-cast.d.ts +3 -3
  224. package/build/api/models/embed-cast.js +3 -3
  225. package/build/api/models/embed-deep.d.ts +3 -3
  226. package/build/api/models/embed-deep.js +3 -3
  227. package/build/api/models/embed-url-metadata-image.d.ts +3 -3
  228. package/build/api/models/embed-url-metadata-image.js +3 -3
  229. package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +3 -3
  230. package/build/api/models/embed-url-metadata-video-stream-inner.js +3 -3
  231. package/build/api/models/embed-url-metadata-video.d.ts +3 -3
  232. package/build/api/models/embed-url-metadata-video.js +3 -3
  233. package/build/api/models/embed-url-metadata.d.ts +3 -3
  234. package/build/api/models/embed-url-metadata.js +3 -3
  235. package/build/api/models/embed-url.d.ts +3 -3
  236. package/build/api/models/embed-url.js +3 -3
  237. package/build/api/models/embed.d.ts +3 -3
  238. package/build/api/models/embed.js +3 -3
  239. package/build/api/models/error-res.d.ts +3 -3
  240. package/build/api/models/error-res.js +3 -3
  241. package/build/api/models/farcaster-action-req-body-action.d.ts +3 -3
  242. package/build/api/models/farcaster-action-req-body-action.js +3 -3
  243. package/build/api/models/farcaster-action-req-body.d.ts +3 -3
  244. package/build/api/models/farcaster-action-req-body.js +3 -3
  245. package/build/api/models/farcaster-manifest-frame.d.ts +3 -3
  246. package/build/api/models/farcaster-manifest-frame.js +3 -3
  247. package/build/api/models/farcaster-manifest.d.ts +6 -6
  248. package/build/api/models/farcaster-manifest.js +3 -3
  249. package/build/api/models/feed-response.d.ts +6 -6
  250. package/build/api/models/feed-response.js +3 -3
  251. package/build/api/models/fetch-cast-quotes-identifier-parameter.d.ts +16 -0
  252. package/build/api/models/fetch-cast-quotes-identifier-parameter.js +15 -0
  253. package/build/api/models/fetch-cast-quotes200-response.d.ts +32 -0
  254. package/build/api/models/fetch-cast-quotes200-response.js +15 -0
  255. package/build/api/models/fetch-feed-for-you400-response.d.ts +3 -3
  256. package/build/api/models/fetch-feed-for-you400-response.js +3 -3
  257. package/build/api/models/fetch-frame-meta-tags-from-url200-response.d.ts +3 -3
  258. package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +3 -3
  259. package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.d.ts +3 -3
  260. package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.js +3 -3
  261. package/build/api/models/fetch-relevant-frames200-response.d.ts +3 -3
  262. package/build/api/models/fetch-relevant-frames200-response.js +3 -3
  263. package/build/api/models/fetch-user-interactions200-response.d.ts +3 -3
  264. package/build/api/models/fetch-user-interactions200-response.js +3 -3
  265. package/build/api/models/fname-availability-response.d.ts +3 -3
  266. package/build/api/models/fname-availability-response.js +3 -3
  267. package/build/api/models/follow-req-body.d.ts +3 -3
  268. package/build/api/models/follow-req-body.js +3 -3
  269. package/build/api/models/follow-response.d.ts +3 -3
  270. package/build/api/models/follow-response.js +3 -3
  271. package/build/api/models/follower-dehydrated.d.ts +3 -3
  272. package/build/api/models/follower-dehydrated.js +3 -3
  273. package/build/api/models/follower.d.ts +3 -3
  274. package/build/api/models/follower.js +3 -3
  275. package/build/api/models/followers-response.d.ts +3 -3
  276. package/build/api/models/followers-response.js +3 -3
  277. package/build/api/models/frame-action-button.d.ts +3 -3
  278. package/build/api/models/frame-action-button.js +3 -3
  279. package/build/api/models/frame-action-req-body.d.ts +4 -4
  280. package/build/api/models/frame-action-req-body.js +3 -3
  281. package/build/api/models/frame-action.d.ts +3 -3
  282. package/build/api/models/frame-action.js +3 -3
  283. package/build/api/models/frame-button-action-type.d.ts +3 -3
  284. package/build/api/models/frame-button-action-type.js +3 -3
  285. package/build/api/models/frame-catalog-response.d.ts +3 -3
  286. package/build/api/models/frame-catalog-response.js +3 -3
  287. package/build/api/models/frame-developer-managed-action-req-body.d.ts +4 -4
  288. package/build/api/models/frame-developer-managed-action-req-body.js +3 -3
  289. package/build/api/models/frame-input.d.ts +3 -3
  290. package/build/api/models/frame-input.js +3 -3
  291. package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +3 -3
  292. package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +3 -3
  293. package/build/api/models/frame-notification-tokens.d.ts +3 -3
  294. package/build/api/models/frame-notification-tokens.js +3 -3
  295. package/build/api/models/{transaction-frame-pay-all-of-transaction.d.ts → frame-pay-transaction-req-body-transaction.d.ts} +6 -6
  296. package/build/api/models/frame-pay-transaction-req-body-transaction.js +15 -0
  297. package/build/api/models/{frame-pay-transaction-request-body.d.ts → frame-pay-transaction-req-body.d.ts} +11 -11
  298. package/build/api/models/frame-pay-transaction-req-body.js +15 -0
  299. package/build/api/models/frame-signature-packet-trusted-data.d.ts +3 -3
  300. package/build/api/models/frame-signature-packet-trusted-data.js +3 -3
  301. package/build/api/models/frame-signature-packet-untrusted-data.d.ts +3 -3
  302. package/build/api/models/frame-signature-packet-untrusted-data.js +3 -3
  303. package/build/api/models/frame-signature-packet.d.ts +3 -3
  304. package/build/api/models/frame-signature-packet.js +3 -3
  305. package/build/api/models/frame-state.d.ts +3 -3
  306. package/build/api/models/frame-state.js +3 -3
  307. package/build/api/models/frame-transaction.d.ts +3 -3
  308. package/build/api/models/frame-transaction.js +3 -3
  309. package/build/api/models/{frame-v1-all-of-input.d.ts → frame-v1-input.d.ts} +6 -6
  310. package/build/api/models/frame-v1-input.js +15 -0
  311. package/build/api/models/{frame-v1-all-of-state.d.ts → frame-v1-state.d.ts} +6 -6
  312. package/build/api/models/frame-v1-state.js +15 -0
  313. package/build/api/models/frame-v1.d.ts +63 -7
  314. package/build/api/models/frame-v1.js +3 -3
  315. package/build/api/models/{frame-v2-all-of-metadata.d.ts → frame-v2-metadata.d.ts} +6 -6
  316. package/build/api/models/frame-v2-metadata.js +15 -0
  317. package/build/api/models/frame-v2-with-full-author.d.ts +51 -7
  318. package/build/api/models/frame-v2-with-full-author.js +3 -3
  319. package/build/api/models/frame-v2.d.ts +51 -7
  320. package/build/api/models/frame-v2.js +3 -3
  321. package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +3 -3
  322. package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.js +3 -3
  323. package/build/api/models/frame-validate-analytics-input-text.d.ts +3 -3
  324. package/build/api/models/frame-validate-analytics-input-text.js +3 -3
  325. package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.d.ts +3 -3
  326. package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.js +3 -3
  327. package/build/api/models/frame-validate-analytics-interactions-per-cast.d.ts +3 -3
  328. package/build/api/models/frame-validate-analytics-interactions-per-cast.js +3 -3
  329. package/build/api/models/frame-validate-analytics-interactors-interactors-inner.d.ts +3 -3
  330. package/build/api/models/frame-validate-analytics-interactors-interactors-inner.js +3 -3
  331. package/build/api/models/frame-validate-analytics-interactors.d.ts +3 -3
  332. package/build/api/models/frame-validate-analytics-interactors.js +3 -3
  333. package/build/api/models/frame-validate-analytics-response.d.ts +3 -3
  334. package/build/api/models/frame-validate-analytics-response.js +3 -3
  335. package/build/api/models/frame-validate-analytics-total-interactors.d.ts +3 -3
  336. package/build/api/models/frame-validate-analytics-total-interactors.js +3 -3
  337. package/build/api/models/frame-validate-list-response.d.ts +3 -3
  338. package/build/api/models/frame-validate-list-response.js +3 -3
  339. package/build/api/models/frame.d.ts +3 -3
  340. package/build/api/models/frame.js +3 -3
  341. package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.d.ts +11 -11
  342. package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.js +3 -3
  343. package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.d.ts +8 -8
  344. package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.js +3 -3
  345. package/build/api/models/get-notification-campaign-stats200-response.d.ts +5 -5
  346. package/build/api/models/get-notification-campaign-stats200-response.js +3 -3
  347. package/build/api/models/{html-metadata-all-of-oembed.d.ts → html-metadata-oembed.d.ts} +5 -5
  348. package/build/api/models/html-metadata-oembed.js +15 -0
  349. package/build/api/models/html-metadata.d.ts +310 -7
  350. package/build/api/models/html-metadata.js +3 -3
  351. package/build/api/models/image-object.d.ts +3 -3
  352. package/build/api/models/image-object.js +3 -3
  353. package/build/api/models/index.d.ts +33 -59
  354. package/build/api/models/index.js +33 -59
  355. package/build/api/models/invite-channel-member-req-body.d.ts +3 -3
  356. package/build/api/models/invite-channel-member-req-body.js +3 -3
  357. package/build/api/models/location-address.d.ts +3 -3
  358. package/build/api/models/location-address.js +3 -3
  359. package/build/api/models/location.d.ts +9 -9
  360. package/build/api/models/location.js +3 -3
  361. package/build/api/models/mark-notifications-as-seen-req-body.d.ts +3 -3
  362. package/build/api/models/mark-notifications-as-seen-req-body.js +3 -3
  363. package/build/api/models/mint-nft-request-recipients-inner.d.ts +36 -0
  364. package/build/api/models/mint-nft-request-recipients-inner.js +15 -0
  365. package/build/api/models/mint-nft-request.d.ts +49 -0
  366. package/build/api/models/{transaction-send-fungibles-request.js → mint-nft-request.js} +5 -5
  367. package/build/api/models/mint-nft200-response-transactions-inner-receipt.d.ts +36 -0
  368. package/build/api/models/mint-nft200-response-transactions-inner-receipt.js +15 -0
  369. package/build/api/models/mint-nft200-response-transactions-inner-recipient.d.ts +36 -0
  370. package/build/api/models/mint-nft200-response-transactions-inner-recipient.js +15 -0
  371. package/build/api/models/mint-nft200-response-transactions-inner.d.ts +38 -0
  372. package/build/api/models/mint-nft200-response-transactions-inner.js +15 -0
  373. package/build/api/models/mint-nft200-response.d.ts +25 -0
  374. package/build/api/models/mint-nft200-response.js +15 -0
  375. package/build/api/models/mute-list-response.d.ts +3 -3
  376. package/build/api/models/mute-list-response.js +3 -3
  377. package/build/api/models/mute-record.d.ts +3 -3
  378. package/build/api/models/mute-record.js +3 -3
  379. package/build/api/models/mute-req-body.d.ts +3 -3
  380. package/build/api/models/mute-req-body.js +3 -3
  381. package/build/api/models/mute-response.d.ts +3 -3
  382. package/build/api/models/mute-response.js +3 -3
  383. package/build/api/models/network.d.ts +3 -3
  384. package/build/api/models/network.js +3 -3
  385. package/build/api/models/next-cursor.d.ts +3 -3
  386. package/build/api/models/next-cursor.js +3 -3
  387. package/build/api/models/neynar-frame-creation-req-body.d.ts +3 -3
  388. package/build/api/models/neynar-frame-creation-req-body.js +3 -3
  389. package/build/api/models/neynar-frame-page.d.ts +4 -4
  390. package/build/api/models/neynar-frame-page.js +3 -3
  391. package/build/api/models/neynar-frame-update-req-body.d.ts +3 -3
  392. package/build/api/models/neynar-frame-update-req-body.js +3 -3
  393. package/build/api/models/neynar-frame.d.ts +3 -3
  394. package/build/api/models/neynar-frame.js +3 -3
  395. package/build/api/models/neynar-next-frame-page-mint-url.d.ts +3 -3
  396. package/build/api/models/neynar-next-frame-page-mint-url.js +3 -3
  397. package/build/api/models/neynar-next-frame-page-redirect.d.ts +3 -3
  398. package/build/api/models/neynar-next-frame-page-redirect.js +3 -3
  399. package/build/api/models/neynar-next-frame-page.d.ts +3 -3
  400. package/build/api/models/neynar-next-frame-page.js +3 -3
  401. package/build/api/models/neynar-page-button-next-page.d.ts +3 -3
  402. package/build/api/models/neynar-page-button-next-page.js +3 -3
  403. package/build/api/models/neynar-page-button.d.ts +3 -3
  404. package/build/api/models/neynar-page-button.js +3 -3
  405. package/build/api/models/neynar-page-image.d.ts +3 -3
  406. package/build/api/models/neynar-page-image.js +3 -3
  407. package/build/api/models/neynar-page-input-text.d.ts +4 -4
  408. package/build/api/models/neynar-page-input-text.js +3 -3
  409. package/build/api/models/neynar-page-input.d.ts +3 -3
  410. package/build/api/models/neynar-page-input.js +3 -3
  411. package/build/api/models/nonce-response.d.ts +3 -3
  412. package/build/api/models/nonce-response.js +3 -3
  413. package/build/api/models/notification-delivery.d.ts +3 -3
  414. package/build/api/models/notification-delivery.js +3 -3
  415. package/build/api/models/notification-type.d.ts +4 -4
  416. package/build/api/models/notification-type.js +4 -4
  417. package/build/api/models/notification.d.ts +6 -6
  418. package/build/api/models/notification.js +3 -3
  419. package/build/api/models/notifications-response.d.ts +3 -3
  420. package/build/api/models/notifications-response.js +3 -3
  421. package/build/api/models/oembed-link-data.d.ts +77 -7
  422. package/build/api/models/oembed-link-data.js +7 -3
  423. package/build/api/models/oembed-photo-data.d.ts +95 -7
  424. package/build/api/models/oembed-photo-data.js +7 -3
  425. package/build/api/models/oembed-rich-data.d.ts +95 -7
  426. package/build/api/models/oembed-rich-data.js +7 -3
  427. package/build/api/models/oembed-video-data.d.ts +95 -7
  428. package/build/api/models/oembed-video-data.js +7 -3
  429. package/build/api/models/operation-response.d.ts +3 -3
  430. package/build/api/models/operation-response.js +3 -3
  431. package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +3 -3
  432. package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +3 -3
  433. package/build/api/models/post-cast-req-body-embeds-one-of.d.ts +3 -3
  434. package/build/api/models/post-cast-req-body-embeds-one-of.js +3 -3
  435. package/build/api/models/post-cast-req-body-embeds-one-of1.d.ts +3 -3
  436. package/build/api/models/post-cast-req-body-embeds-one-of1.js +3 -3
  437. package/build/api/models/post-cast-req-body-embeds-one-of2.d.ts +3 -3
  438. package/build/api/models/post-cast-req-body-embeds-one-of2.js +3 -3
  439. package/build/api/models/post-cast-req-body-embeds.d.ts +3 -3
  440. package/build/api/models/post-cast-req-body-embeds.js +3 -3
  441. package/build/api/models/post-cast-req-body.d.ts +3 -3
  442. package/build/api/models/post-cast-req-body.js +3 -3
  443. package/build/api/models/post-cast-response-cast-author.d.ts +3 -3
  444. package/build/api/models/post-cast-response-cast-author.js +3 -3
  445. package/build/api/models/post-cast-response-cast.d.ts +4 -4
  446. package/build/api/models/post-cast-response-cast.js +3 -3
  447. package/build/api/models/post-cast-response.d.ts +3 -3
  448. package/build/api/models/post-cast-response.js +3 -3
  449. package/build/api/models/reaction-for-cast.d.ts +6 -10
  450. package/build/api/models/reaction-for-cast.js +4 -8
  451. package/build/api/models/reaction-like.d.ts +3 -3
  452. package/build/api/models/reaction-like.js +3 -3
  453. package/build/api/models/reaction-recast.d.ts +3 -3
  454. package/build/api/models/reaction-recast.js +3 -3
  455. package/build/api/models/reaction-req-body.d.ts +3 -3
  456. package/build/api/models/reaction-req-body.js +3 -3
  457. package/build/api/models/reaction-type.d.ts +3 -3
  458. package/build/api/models/reaction-type.js +3 -3
  459. package/build/api/models/reaction-with-cast-info.d.ts +6 -6
  460. package/build/api/models/reaction-with-cast-info.js +3 -3
  461. package/build/api/models/reaction-with-user-info.d.ts +3 -3
  462. package/build/api/models/reaction-with-user-info.js +3 -3
  463. package/build/api/models/reactions-cast-response.d.ts +3 -3
  464. package/build/api/models/reactions-cast-response.js +3 -3
  465. package/build/api/models/reactions-response.d.ts +3 -3
  466. package/build/api/models/reactions-response.js +3 -3
  467. package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.d.ts +55 -0
  468. package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.js +15 -0
  469. package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +5 -5
  470. package/build/api/models/register-developer-managed-signed-key-req-body.js +3 -3
  471. package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.d.ts +48 -0
  472. package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.js +21 -0
  473. package/build/api/models/register-signer-key-req-body.d.ts +5 -5
  474. package/build/api/models/register-signer-key-req-body.js +3 -3
  475. package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.d.ts +14 -14
  476. package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.js +3 -3
  477. package/build/api/models/register-user-on-chain-req-body-registration.d.ts +3 -3
  478. package/build/api/models/register-user-on-chain-req-body-registration.js +3 -3
  479. package/build/api/models/register-user-on-chain-req-body-signers-inner.d.ts +3 -3
  480. package/build/api/models/register-user-on-chain-req-body-signers-inner.js +3 -3
  481. package/build/api/models/register-user-on-chain-req-body.d.ts +14 -14
  482. package/build/api/models/register-user-on-chain-req-body.js +3 -3
  483. package/build/api/models/register-user-on-chain-response.d.ts +3 -3
  484. package/build/api/models/register-user-on-chain-response.js +3 -3
  485. package/build/api/models/register-user-req-body-metadata.d.ts +3 -3
  486. package/build/api/models/register-user-req-body-metadata.js +3 -3
  487. package/build/api/models/register-user-req-body.d.ts +3 -3
  488. package/build/api/models/register-user-req-body.js +3 -3
  489. package/build/api/models/register-user-response.d.ts +3 -3
  490. package/build/api/models/register-user-response.js +3 -3
  491. package/build/api/models/relevant-followers-response.d.ts +3 -3
  492. package/build/api/models/relevant-followers-response.js +3 -3
  493. package/build/api/models/relevant-fungible-owners-response.d.ts +3 -3
  494. package/build/api/models/relevant-fungible-owners-response.js +3 -3
  495. package/build/api/models/remove-channel-member-req-body.d.ts +3 -3
  496. package/build/api/models/remove-channel-member-req-body.js +3 -3
  497. package/build/api/models/remove-verification-req-body.d.ts +9 -3
  498. package/build/api/models/remove-verification-req-body.js +3 -3
  499. package/build/api/models/respond-channel-invite-req-body.d.ts +3 -3
  500. package/build/api/models/respond-channel-invite-req-body.js +3 -3
  501. package/build/api/models/send-frame-notifications-req-body-filters-near-location.d.ts +32 -6
  502. package/build/api/models/send-frame-notifications-req-body-filters-near-location.js +3 -3
  503. package/build/api/models/send-frame-notifications-req-body-filters.d.ts +3 -3
  504. package/build/api/models/send-frame-notifications-req-body-filters.js +3 -3
  505. package/build/api/models/send-frame-notifications-req-body-notification.d.ts +3 -3
  506. package/build/api/models/send-frame-notifications-req-body-notification.js +3 -3
  507. package/build/api/models/send-frame-notifications-req-body.d.ts +7 -7
  508. package/build/api/models/send-frame-notifications-req-body.js +3 -3
  509. package/build/api/models/send-frame-notifications-response.d.ts +3 -3
  510. package/build/api/models/send-frame-notifications-response.js +3 -3
  511. package/build/api/models/shared-signer-permission.d.ts +3 -3
  512. package/build/api/models/shared-signer-permission.js +3 -3
  513. package/build/api/models/signed-key-request-sponsor.d.ts +4 -4
  514. package/build/api/models/signed-key-request-sponsor.js +3 -3
  515. package/build/api/models/signer-list-response.d.ts +3 -3
  516. package/build/api/models/signer-list-response.js +3 -3
  517. package/build/api/models/signer.d.ts +3 -3
  518. package/build/api/models/signer.js +3 -3
  519. package/build/api/models/simulate-nft-mint-response-inner.d.ts +73 -0
  520. package/build/api/models/simulate-nft-mint-response-inner.js +15 -0
  521. package/build/api/models/simulate-nft-mint-response.d.ts +19 -0
  522. package/build/api/models/simulate-nft-mint-response.js +15 -0
  523. package/build/api/models/storage-allocation.d.ts +3 -3
  524. package/build/api/models/storage-allocation.js +3 -3
  525. package/build/api/models/storage-allocations-response.d.ts +3 -3
  526. package/build/api/models/storage-allocations-response.js +3 -3
  527. package/build/api/models/storage-object.d.ts +3 -3
  528. package/build/api/models/storage-object.js +3 -3
  529. package/build/api/models/storage-usage-response.d.ts +3 -3
  530. package/build/api/models/storage-usage-response.js +3 -3
  531. package/build/api/models/subscribed-to-object.d.ts +3 -3
  532. package/build/api/models/subscribed-to-object.js +3 -3
  533. package/build/api/models/subscribed-to-response.d.ts +3 -3
  534. package/build/api/models/subscribed-to-response.js +3 -3
  535. package/build/api/models/subscribed-to.d.ts +100 -7
  536. package/build/api/models/subscribed-to.js +7 -3
  537. package/build/api/models/subscriber.d.ts +3 -3
  538. package/build/api/models/subscriber.js +3 -3
  539. package/build/api/models/subscribers-response.d.ts +3 -3
  540. package/build/api/models/subscribers-response.js +3 -3
  541. package/build/api/models/subscription-check-response-value.d.ts +53 -0
  542. package/build/api/models/{subscription-status.js → subscription-check-response-value.js} +5 -5
  543. package/build/api/models/subscription-check-response.d.ts +5 -5
  544. package/build/api/models/subscription-check-response.js +3 -3
  545. package/build/api/models/subscription-metadata.d.ts +3 -3
  546. package/build/api/models/subscription-metadata.js +3 -3
  547. package/build/api/models/subscription-price.d.ts +3 -3
  548. package/build/api/models/subscription-price.js +3 -3
  549. package/build/api/models/subscription-tier-price.d.ts +3 -3
  550. package/build/api/models/subscription-tier-price.js +3 -3
  551. package/build/api/models/subscription-tier.d.ts +3 -3
  552. package/build/api/models/subscription-tier.js +3 -3
  553. package/build/api/models/subscription-token.d.ts +3 -3
  554. package/build/api/models/subscription-token.js +3 -3
  555. package/build/api/models/subscription.d.ts +3 -3
  556. package/build/api/models/subscription.js +3 -3
  557. package/build/api/models/subscriptions-response.d.ts +3 -3
  558. package/build/api/models/subscriptions-response.js +3 -3
  559. package/build/api/models/subscriptions.d.ts +3 -3
  560. package/build/api/models/subscriptions.js +3 -3
  561. package/build/api/models/text-range.d.ts +3 -3
  562. package/build/api/models/text-range.js +3 -3
  563. package/build/api/models/token-balance-balance.d.ts +3 -3
  564. package/build/api/models/token-balance-balance.js +3 -3
  565. package/build/api/models/token-balance-token.d.ts +3 -3
  566. package/build/api/models/token-balance-token.js +3 -3
  567. package/build/api/models/token-balance.d.ts +3 -3
  568. package/build/api/models/token-balance.js +3 -3
  569. package/build/api/models/transaction-frame-action.d.ts +4 -4
  570. package/build/api/models/transaction-frame-action.js +3 -3
  571. package/build/api/models/transaction-frame-config.d.ts +4 -4
  572. package/build/api/models/transaction-frame-config.js +3 -3
  573. package/build/api/models/transaction-frame-destination.d.ts +3 -3
  574. package/build/api/models/transaction-frame-destination.js +3 -3
  575. package/build/api/models/transaction-frame-line-item.d.ts +3 -3
  576. package/build/api/models/transaction-frame-line-item.js +3 -3
  577. package/build/api/models/transaction-frame-pay.d.ts +47 -7
  578. package/build/api/models/transaction-frame-pay.js +3 -3
  579. package/build/api/models/transaction-frame-response.d.ts +3 -3
  580. package/build/api/models/transaction-frame-response.js +3 -3
  581. package/build/api/models/transaction-frame-status.d.ts +3 -3
  582. package/build/api/models/transaction-frame-status.js +3 -3
  583. package/build/api/models/transaction-frame-type.d.ts +3 -3
  584. package/build/api/models/transaction-frame-type.js +3 -3
  585. package/build/api/models/transaction-frame.d.ts +3 -3
  586. package/build/api/models/transaction-frame.js +3 -3
  587. package/build/api/models/transaction-send-fungibles-receipt.d.ts +3 -3
  588. package/build/api/models/transaction-send-fungibles-receipt.js +3 -3
  589. package/build/api/models/transaction-send-fungibles-recipient.d.ts +3 -3
  590. package/build/api/models/transaction-send-fungibles-recipient.js +3 -3
  591. package/build/api/models/{transaction-send-fungibles-request.d.ts → transaction-send-fungibles-req-body.d.ts} +11 -11
  592. package/build/api/models/transaction-send-fungibles-req-body.js +21 -0
  593. package/build/api/models/transaction-send-fungibles-response.d.ts +3 -3
  594. package/build/api/models/transaction-send-fungibles-response.js +3 -3
  595. package/build/api/models/transaction-send-tx-info.d.ts +3 -3
  596. package/build/api/models/transaction-send-tx-info.js +3 -3
  597. package/build/api/models/trending-channel-response.d.ts +3 -3
  598. package/build/api/models/trending-channel-response.js +3 -3
  599. package/build/api/models/update-user-req-body-location.d.ts +3 -3
  600. package/build/api/models/update-user-req-body-location.js +3 -3
  601. package/build/api/models/update-user-req-body-verified-accounts.d.ts +3 -3
  602. package/build/api/models/update-user-req-body-verified-accounts.js +3 -3
  603. package/build/api/models/update-user-req-body.d.ts +9 -3
  604. package/build/api/models/update-user-req-body.js +3 -3
  605. package/build/api/models/user-dehydrated.d.ts +3 -3
  606. package/build/api/models/user-dehydrated.js +3 -3
  607. package/build/api/models/user-experimental.d.ts +3 -3
  608. package/build/api/models/user-experimental.js +3 -3
  609. package/build/api/models/user-fidresponse.d.ts +4 -4
  610. package/build/api/models/user-fidresponse.js +3 -3
  611. package/build/api/models/user-power-lite-response-result.d.ts +3 -3
  612. package/build/api/models/user-power-lite-response-result.js +3 -3
  613. package/build/api/models/user-power-lite-response.d.ts +3 -3
  614. package/build/api/models/user-power-lite-response.js +3 -3
  615. package/build/api/models/user-pro.d.ts +41 -0
  616. package/build/api/models/user-pro.js +20 -0
  617. package/build/api/models/user-profile-banner.d.ts +24 -0
  618. package/build/api/models/user-profile-banner.js +15 -0
  619. package/build/api/models/user-profile-bio.d.ts +3 -3
  620. package/build/api/models/user-profile-bio.js +3 -3
  621. package/build/api/models/user-profile.d.ts +10 -3
  622. package/build/api/models/user-profile.js +3 -3
  623. package/build/api/models/user-response.d.ts +3 -3
  624. package/build/api/models/user-response.js +3 -3
  625. package/build/api/models/user-search-response-result.d.ts +6 -6
  626. package/build/api/models/user-search-response-result.js +3 -3
  627. package/build/api/models/user-search-response.d.ts +3 -3
  628. package/build/api/models/user-search-response.js +3 -3
  629. package/build/api/models/user-verified-accounts-inner.d.ts +4 -4
  630. package/build/api/models/user-verified-accounts-inner.js +3 -3
  631. package/build/api/models/user-verified-addresses-primary.d.ts +3 -3
  632. package/build/api/models/user-verified-addresses-primary.js +3 -3
  633. package/build/api/models/user-verified-addresses.d.ts +3 -3
  634. package/build/api/models/user-verified-addresses.js +3 -3
  635. package/build/api/models/user-viewer-context.d.ts +3 -3
  636. package/build/api/models/user-viewer-context.js +3 -3
  637. package/build/api/models/user.d.ts +17 -10
  638. package/build/api/models/user.js +3 -3
  639. package/build/api/models/users-active-channels-response.d.ts +3 -3
  640. package/build/api/models/users-active-channels-response.js +3 -3
  641. package/build/api/models/users-response.d.ts +3 -3
  642. package/build/api/models/users-response.js +3 -3
  643. package/build/api/models/validate-frame-action-req-body.d.ts +3 -3
  644. package/build/api/models/validate-frame-action-req-body.js +3 -3
  645. package/build/api/models/validate-frame-action-response.d.ts +3 -3
  646. package/build/api/models/validate-frame-action-response.js +3 -3
  647. package/build/api/models/validated-frame-action-signer.d.ts +3 -3
  648. package/build/api/models/validated-frame-action-signer.js +3 -3
  649. package/build/api/models/validated-frame-action-tapped-button.d.ts +3 -3
  650. package/build/api/models/validated-frame-action-tapped-button.js +3 -3
  651. package/build/api/models/validated-frame-action.d.ts +6 -6
  652. package/build/api/models/validated-frame-action.js +3 -3
  653. package/build/api/models/verification-chain-id.d.ts +3 -3
  654. package/build/api/models/verification-chain-id.js +3 -3
  655. package/build/api/models/verification-type.d.ts +3 -3
  656. package/build/api/models/verification-type.js +3 -3
  657. package/build/api/models/video-object.d.ts +3 -3
  658. package/build/api/models/video-object.js +3 -3
  659. package/build/api/models/webhook-delete-req-body.d.ts +3 -3
  660. package/build/api/models/webhook-delete-req-body.js +3 -3
  661. package/build/api/models/webhook-list-response.d.ts +3 -3
  662. package/build/api/models/webhook-list-response.js +3 -3
  663. package/build/api/models/webhook-patch-req-body.d.ts +3 -3
  664. package/build/api/models/webhook-patch-req-body.js +3 -3
  665. package/build/api/models/webhook-post-req-body.d.ts +3 -3
  666. package/build/api/models/webhook-post-req-body.js +3 -3
  667. package/build/api/models/webhook-put-req-body.d.ts +3 -3
  668. package/build/api/models/webhook-put-req-body.js +3 -3
  669. package/build/api/models/webhook-response.d.ts +3 -3
  670. package/build/api/models/webhook-response.js +3 -3
  671. package/build/api/models/webhook-secret.d.ts +3 -3
  672. package/build/api/models/webhook-secret.js +3 -3
  673. package/build/api/models/webhook-subscription-filters-cast.d.ts +9 -3
  674. package/build/api/models/webhook-subscription-filters-cast.js +3 -3
  675. package/build/api/models/webhook-subscription-filters-follow.d.ts +3 -3
  676. package/build/api/models/webhook-subscription-filters-follow.js +3 -3
  677. package/build/api/models/webhook-subscription-filters-reaction.d.ts +9 -3
  678. package/build/api/models/webhook-subscription-filters-reaction.js +3 -3
  679. package/build/api/models/webhook-subscription-filters-user-updated.d.ts +3 -3
  680. package/build/api/models/webhook-subscription-filters-user-updated.js +3 -3
  681. package/build/api/models/webhook-subscription-filters.d.ts +3 -3
  682. package/build/api/models/webhook-subscription-filters.js +3 -3
  683. package/build/api/models/webhook-subscription.d.ts +3 -3
  684. package/build/api/models/webhook-subscription.js +3 -3
  685. package/build/api/models/webhook.d.ts +3 -3
  686. package/build/api/models/webhook.js +3 -3
  687. package/build/api/models/zod-error-errors-inner.d.ts +3 -3
  688. package/build/api/models/zod-error-errors-inner.js +3 -3
  689. package/build/api/models/zod-error.d.ts +3 -3
  690. package/build/api/models/zod-error.js +3 -3
  691. package/build/clients/NeynarAPIClient.d.ts +403 -246
  692. package/build/clients/NeynarAPIClient.js +374 -194
  693. package/build/hub-api/models/index.d.ts +2 -0
  694. package/build/hub-api/models/index.js +2 -0
  695. package/build/hub-api/models/storage-limits-response-tier-subscriptions-inner.d.ts +34 -0
  696. package/build/hub-api/models/storage-limits-response-tier-subscriptions-inner.js +19 -0
  697. package/build/hub-api/models/storage-limits-response-unit-details.d.ts +35 -0
  698. package/build/hub-api/models/storage-limits-response-unit-details.js +20 -0
  699. package/build/hub-api/models/storage-limits-response.d.ts +20 -0
  700. package/build/types/webhooks.d.ts +1 -12
  701. package/package.json +3 -3
  702. package/build/api/models/app-host-post-event-body-one-of.d.ts +0 -30
  703. package/build/api/models/app-host-post-event-body.d.ts +0 -19
  704. package/build/api/models/authorization-url-response-type.d.ts +0 -20
  705. package/build/api/models/authorization-url-response-type.js +0 -24
  706. package/build/api/models/bulk-user-address-type.d.ts +0 -21
  707. package/build/api/models/bulk-user-address-type.js +0 -25
  708. package/build/api/models/cast-composer-type.d.ts +0 -21
  709. package/build/api/models/cast-composer-type.js +0 -25
  710. package/build/api/models/cast-conversation-sort-type.d.ts +0 -22
  711. package/build/api/models/cast-conversation-sort-type.js +0 -26
  712. package/build/api/models/cast-param-type.d.ts +0 -21
  713. package/build/api/models/cast-param-type.js +0 -25
  714. package/build/api/models/cast-with-interactions-all-of.d.ts +0 -93
  715. package/build/api/models/cast-with-interactions-and-conversations-all-of.d.ts +0 -25
  716. package/build/api/models/cast-with-interactions-and-conversations-all-of.js +0 -15
  717. package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.d.ts +0 -24
  718. package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.js +0 -15
  719. package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +0 -19
  720. package/build/api/models/cast-with-interactions-and-conversations-ref.js +0 -15
  721. package/build/api/models/cast-with-interactions-and-conversations.d.ts +0 -18
  722. package/build/api/models/cast-with-interactions-and-conversations.js +0 -15
  723. package/build/api/models/cast-with-interactions-reactions.js +0 -15
  724. package/build/api/models/cast-with-interactions-replies.d.ts +0 -24
  725. package/build/api/models/cast-with-interactions-replies.js +0 -15
  726. package/build/api/models/cast-with-interactions.d.ts +0 -18
  727. package/build/api/models/cast-with-interactions.js +0 -15
  728. package/build/api/models/casts-search-response-result.d.ts +0 -32
  729. package/build/api/models/casts-search-response-result.js +0 -15
  730. package/build/api/models/channel-type.d.ts +0 -21
  731. package/build/api/models/channel-type.js +0 -25
  732. package/build/api/models/embed-type.d.ts +0 -37
  733. package/build/api/models/embed-type.js +0 -41
  734. package/build/api/models/farcaster-manifest-account-association.d.ts +0 -36
  735. package/build/api/models/farcaster-manifest-account-association.js +0 -15
  736. package/build/api/models/feed-trending-provider.d.ts +0 -22
  737. package/build/api/models/feed-trending-provider.js +0 -26
  738. package/build/api/models/feed-type.d.ts +0 -21
  739. package/build/api/models/feed-type.js +0 -25
  740. package/build/api/models/filter-type.d.ts +0 -25
  741. package/build/api/models/filter-type.js +0 -29
  742. package/build/api/models/follow-sort-type.d.ts +0 -21
  743. package/build/api/models/follow-sort-type.js +0 -25
  744. package/build/api/models/for-you-provider.d.ts +0 -22
  745. package/build/api/models/for-you-provider.js +0 -26
  746. package/build/api/models/frame-base.d.ts +0 -36
  747. package/build/api/models/frame-base.js +0 -15
  748. package/build/api/models/frame-pay-transaction-request-body.js +0 -15
  749. package/build/api/models/frame-type.d.ts +0 -21
  750. package/build/api/models/frame-type.js +0 -25
  751. package/build/api/models/frame-v1-all-of-input.js +0 -15
  752. package/build/api/models/frame-v1-all-of-state.js +0 -15
  753. package/build/api/models/frame-v1-all-of.d.ts +0 -57
  754. package/build/api/models/frame-v1-all-of.js +0 -15
  755. package/build/api/models/frame-v2-all-of-metadata.js +0 -15
  756. package/build/api/models/frame-v2-all-of.d.ts +0 -45
  757. package/build/api/models/frame-v2-all-of.js +0 -15
  758. package/build/api/models/frame-v2-with-full-author-all-of.d.ts +0 -45
  759. package/build/api/models/frame-v2-with-full-author-all-of.js +0 -15
  760. package/build/api/models/fungible-owner-relevant-network.d.ts +0 -24
  761. package/build/api/models/fungible-owner-relevant-network.js +0 -28
  762. package/build/api/models/html-metadata-all-of-oembed.js +0 -15
  763. package/build/api/models/html-metadata-all-of.d.ts +0 -25
  764. package/build/api/models/html-metadata-all-of.js +0 -15
  765. package/build/api/models/mini-app-time-window.d.ts +0 -24
  766. package/build/api/models/mini-app-time-window.js +0 -28
  767. package/build/api/models/oembed-data.d.ts +0 -84
  768. package/build/api/models/oembed-data.js +0 -15
  769. package/build/api/models/oembed-link-data-all-of.d.ts +0 -28
  770. package/build/api/models/oembed-link-data-all-of.js +0 -19
  771. package/build/api/models/oembed-photo-data-all-of.d.ts +0 -46
  772. package/build/api/models/oembed-photo-data-all-of.js +0 -19
  773. package/build/api/models/oembed-rich-data-all-of.d.ts +0 -46
  774. package/build/api/models/oembed-rich-data-all-of.js +0 -19
  775. package/build/api/models/oembed-video-data-all-of.d.ts +0 -46
  776. package/build/api/models/oembed-video-data-all-of.js +0 -19
  777. package/build/api/models/og-object.d.ts +0 -314
  778. package/build/api/models/og-object.js +0 -15
  779. package/build/api/models/profile-url-pfp.d.ts +0 -24
  780. package/build/api/models/profile-url-pfp.js +0 -15
  781. package/build/api/models/profile-url.d.ts +0 -25
  782. package/build/api/models/profile-url.js +0 -15
  783. package/build/api/models/reactions-type.d.ts +0 -22
  784. package/build/api/models/reactions-type.js +0 -26
  785. package/build/api/models/search-sort-type.d.ts +0 -21
  786. package/build/api/models/search-sort-type.js +0 -25
  787. package/build/api/models/searched-user.d.ts +0 -130
  788. package/build/api/models/searched-user.js +0 -19
  789. package/build/api/models/subscribed-to-all-of.d.ts +0 -44
  790. package/build/api/models/subscribed-to-all-of.js +0 -15
  791. package/build/api/models/subscription-provider.d.ts +0 -20
  792. package/build/api/models/subscription-provider.js +0 -24
  793. package/build/api/models/subscription-providers.d.ts +0 -21
  794. package/build/api/models/subscription-providers.js +0 -25
  795. package/build/api/models/subscription-status.d.ts +0 -53
  796. package/build/api/models/transaction-frame-base.d.ts +0 -51
  797. package/build/api/models/transaction-frame-base.js +0 -15
  798. package/build/api/models/transaction-frame-pay-all-of-transaction.js +0 -15
  799. package/build/api/models/transaction-frame-pay-all-of.d.ts +0 -25
  800. package/build/api/models/transaction-frame-pay-all-of.js +0 -15
  801. package/build/api/models/validate-frame-aggregate-window.d.ts +0 -30
  802. package/build/api/models/validate-frame-aggregate-window.js +0 -34
  803. package/build/api/models/validate-frame-analytics-type.d.ts +0 -23
  804. package/build/api/models/validate-frame-analytics-type.js +0 -27
@@ -2,7 +2,7 @@ import { Logger } from "../common/logger";
2
2
  import { AxiosError, AxiosInstance } from "axios";
3
3
  import type { SetRequired } from "type-fest";
4
4
  import { Configuration } from './configuration';
5
- import type { AppHostEventType, AppHostGetEventResponse, AppHostPostEventBody, AppHostPostEventResponse, AppHostUserStateResponse, AuthorizationUrlResponse, AuthorizationUrlResponseType, BalanceResponse, BanListResponse, BanResponse, BlockListResponse, BulkCastsResponse, BulkFollowResponse, BulkUserAddressType, BulkUsersByAddressResponse, BulkUsersResponse, CastComposerActionsListResponse, CastComposerType, CastConversationSortType, CastEmbedCrawlResponse, CastParamType, CastResponse, CastsMetricsResponse, CastsResponse, CastsSearchResponse, ChannelListResponse, ChannelMemberInviteListResponse, ChannelMemberListResponse, ChannelMemberRole, ChannelResponse, ChannelResponseBulk, ChannelSearchResponse, ChannelType, Conversation, ConversationSummary, DeleteFrameResponse, DeployFungibleFactoryEnum, DeployFungibleMetadataNsfwEnum, DeployFungibleNetworkEnum, DeployFungibleResponse, DeveloperManagedSigner, EmbedType, ErrorRes, FarcasterActionReqBodyAction, FeedResponse, FeedTrendingProvider, FeedType, FetchBulkCastsSortTypeEnum, FetchCastMetricsIntervalEnum, FetchFrameCatalogCategoriesEnum, FetchFrameMetaTagsFromUrl200Response, FetchRelevantFrames200Response, FetchRepliesAndRecastsForUserFilterEnum, FetchTrendingChannelsTimeWindowEnum, FetchTrendingFeedTimeWindowEnum, FetchUserInteractions200Response, FilterType, FnameAvailabilityResponse, FollowSortType, FollowersResponse, ForYouProvider, Frame, FrameAction, FrameCatalogResponse, FrameNotificationTokens, FramePayTransactionRequestBody, FrameSignaturePacket, FrameType, FrameValidateAnalyticsResponse, FrameValidateListResponse, FungibleOwnerRelevantNetwork, GetNotificationCampaignStats200Response, LookupCastConversationFoldEnum, MiniAppTimeWindow, MuteListResponse, MuteResponse, Network, NeynarFrame, NeynarFramePage, NonceResponse, NotificationType, NotificationsResponse, OperationResponse, PostCastReqBodyEmbeds, PostCastResponse, ReactionType, ReactionsCastResponse, ReactionsResponse, ReactionsType, RegisterUserOnChainReqBodyPreRegistrationCallsInner, RegisterUserOnChainReqBodyRegistration, RegisterUserOnChainReqBodySignersInner, RegisterUserOnChainResponse, RegisterUserReqBodyMetadata, RegisterUserResponse, RelevantFollowersResponse, RelevantFungibleOwnersResponse, SearchCastsModeEnum, SearchSortType, SendFrameNotificationsReqBodyFilters, SendFrameNotificationsReqBodyNotification, SendFrameNotificationsResponse, SignedKeyRequestSponsor, Signer, SignerListResponse, StorageAllocationsResponse, StorageUsageResponse, SubscribedToResponse, SubscribersResponse, SubscriptionCheckResponse, SubscriptionProvider, SubscriptionProviders, SubscriptionsResponse, TransactionFrameResponse, TransactionSendFungiblesRequest, TransactionSendFungiblesResponse, TrendingChannelResponse, UpdateUserReqBodyLocation, UpdateUserReqBodyVerifiedAccounts, UserFIDResponse, UserPowerLiteResponse, UserResponse, UserSearchResponse, UsersActiveChannelsResponse, UsersResponse, ValidateFrameActionResponse, ValidateFrameAggregateWindow, ValidateFrameAnalyticsType, VerificationChainId, VerificationType, WebhookListResponse, WebhookPatchReqBodyActiveEnum, WebhookResponse, WebhookSubscriptionFilters } from '../api';
5
+ import type { AppHostGetEventEventEnum, AppHostGetEventResponse, AppHostPostEventResponse, AppHostUserStateResponse, AuthorizationUrlResponse, BalanceResponse, BanListResponse, BanResponse, BestFriendsResponse, BlockListResponse, BulkCastsResponse, BulkFollowResponse, BulkUsersByAddressResponse, BulkUsersResponse, CastComposerActionsListResponse, CastEmbedCrawlResponse, CastResponse, CastsMetricsResponse, CastsResponse, CastsSearchResponse, ChannelListResponse, ChannelMemberInviteListResponse, ChannelMemberListResponse, ChannelMemberRole, ChannelResponse, ChannelResponseBulk, ChannelSearchResponse, Conversation, ConversationSummary, DeleteFrameResponse, DeployFungibleFactoryEnum, DeployFungibleMetadataNsfwEnum, DeployFungibleNetworkEnum, DeployFungibleResponse, DeveloperManagedSigner, ErrorRes, FarcasterActionReqBodyAction, FeedResponse, FetchAllNotificationsTypeEnum, FetchAuthorizationUrlResponseTypeEnum, FetchBulkCastsSortTypeEnum, FetchBulkChannelsTypeEnum, FetchBulkUsersByEthOrSolAddressAddressTypesEnum, FetchCastMetricsIntervalEnum, FetchCastQuotes200Response, FetchCastQuotesIdentifierParameter, FetchCastQuotesTypeEnum, FetchCastReactionsTypesEnum, FetchComposerActionsListEnum, FetchFeedEmbedTypesEnum, FetchFeedFeedTypeEnum, FetchFeedFilterTypeEnum, FetchFeedForYouProviderEnum, FetchFrameCatalogCategoriesEnum, FetchFrameCatalogTimeWindowEnum, FetchFrameMetaTagsFromUrl200Response, FetchRelevantFrames200Response, FetchRelevantFramesTimeWindowEnum, FetchRelevantFungibleOwnersNetworkEnum, FetchRepliesAndRecastsForUserFilterEnum, FetchSubscribedToForFidSubscriptionProviderEnum, FetchSubscribersForFidSubscriptionProviderEnum, FetchSubscriptionsForFidSubscriptionProviderEnum, FetchTrendingChannelsTimeWindowEnum, FetchTrendingFeedProviderEnum, FetchTrendingFeedTimeWindowEnum, FetchUserBalanceNetworksEnum, FetchUserFollowersSortTypeEnum, FetchUserFollowingSortTypeEnum, FetchUserInteractions200Response, FetchUserInteractionsTypeEnum, FetchUserReactionsTypeEnum, FetchValidateFrameAnalyticsAggregateWindowEnum, FetchValidateFrameAnalyticsAnalyticsTypeEnum, FnameAvailabilityResponse, FollowersResponse, Frame, FrameAction, FrameCatalogResponse, FrameNotificationTokens, FramePayTransactionReqBodyTransaction, FrameSignaturePacket, FrameValidateAnalyticsResponse, FrameValidateListResponse, GetNotificationCampaignStats200Response, LookupCastByHashOrWarpcastUrlTypeEnum, LookupCastConversationFoldEnum, LookupCastConversationSortTypeEnum, LookupCastConversationTypeEnum, LookupChannelTypeEnum, LookupNeynarFrameTypeEnum, MintNft200Response, MintNftRequest, MuteListResponse, MuteResponse, NeynarFrame, NeynarFramePage, NonceResponse, NotificationType, NotificationsResponse, OperationResponse, PostCastReqBodyEmbeds, PostCastResponse, ReactionType, ReactionsCastResponse, ReactionsResponse, RegisterSignedKeyForDeveloperManagedAuthAddress200Response, RegisterUserOnChainReqBodyPreRegistrationCallsInner, RegisterUserOnChainReqBodyRegistration, RegisterUserOnChainReqBodySignersInner, RegisterUserOnChainResponse, RegisterUserReqBodyMetadata, RegisterUserResponse, RelevantFollowersResponse, RelevantFungibleOwnersResponse, SearchCastsModeEnum, SearchCastsSortTypeEnum, SendFrameNotificationsReqBodyFilters, SendFrameNotificationsReqBodyNotification, SendFrameNotificationsResponse, SignedKeyRequestSponsor, Signer, SignerListResponse, SimulateNftMintNetworkEnum, SimulateNftMintResponse, StorageAllocationsResponse, StorageUsageResponse, SubscribedToResponse, SubscribersResponse, SubscriptionCheckResponse, SubscriptionsResponse, TransactionFrameConfig, TransactionFrameResponse, TransactionSendFungiblesRecipient, TransactionSendFungiblesReqBodyNetworkEnum, TransactionSendFungiblesResponse, TrendingChannelResponse, UpdateUserReqBodyLocation, UpdateUserReqBodyVerifiedAccounts, UserFIDResponse, UserResponse, UserSearchResponse, UsersActiveChannelsResponse, UsersResponse, ValidateFrameActionResponse, VerificationChainId, VerificationType, WebhookListResponse, WebhookPatchReqBodyActiveEnum, WebhookResponse, WebhookSubscriptionFilters } from '../api';
6
6
  export interface NeynarAPIClientOptions {
7
7
  logger?: Logger;
8
8
  axiosInstance?: AxiosInstance;
@@ -36,7 +36,7 @@ export declare class NeynarAPIClient {
36
36
  * console.log('response:', response);
37
37
  * });
38
38
  *
39
- * For more information, refer to the [API documentation](https://docs.neynar.com/docs/farcaster-actions-spec)
39
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/publish-farcaster-action)
40
40
  *
41
41
  */
42
42
  publishFarcasterAction(params: {
@@ -52,21 +52,30 @@ export declare class NeynarAPIClient {
52
52
  * @summary Create transaction pay mini app
53
53
  *
54
54
  * @param {object} params
55
- * @param {FramePayTransactionRequestBody} params.framePayTransactionRequestBody
55
+ * @param {FramePayTransactionReqBodyTransaction} params.transaction
56
+ * @param {TransactionFrameConfig} params.config
57
+ * @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
56
58
  *
57
59
  * @returns {Promise<TransactionFrameResponse>} A promise that resolves to a `TransactionFrameResponse` object.
58
60
  *
59
61
  * @example
60
62
  *
61
63
  * // Fill in the appropriate values
62
- * const framePayTransactionRequestBody =
64
+ * const transaction =
65
+ * const config =
66
+ * const idem =
63
67
  *
64
- * client.createTransactionPayFrame({ framePayTransactionRequestBody }).then(response => {
68
+ * client.createTransactionPayFrame({transaction, config, idem}).then(response => {
65
69
  * console.log('response:', response);
66
70
  * });
71
+ *
72
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/create-transaction-pay-frame)
73
+ *
67
74
  */
68
75
  createTransactionPayFrame(params: {
69
- framePayTransactionRequestBody: FramePayTransactionRequestBody;
76
+ transaction: FramePayTransactionReqBodyTransaction;
77
+ config: TransactionFrameConfig;
78
+ idem?: string;
70
79
  }): Promise<TransactionFrameResponse>;
71
80
  /**
72
81
  * Returns a list of interactions between two users
@@ -75,7 +84,7 @@ export declare class NeynarAPIClient {
75
84
  *
76
85
  * @param {object} params
77
86
  * @param {number[]} params.fids - Comma separated list of two FIDs
78
- * @param {Array<NotificationType>} params.type [optional] - Comma seperated list of Interaction type to fetch
87
+ * @param {Array<FetchUserInteractionsTypeEnum>} params.type [optional] - Comma seperated list of Interaction type to fetch
79
88
  *
80
89
  * @returns {Promise<FetchUserInteractions200Response>} A promise that resolves to a `FetchUserInteractions200Response` object.
81
90
  *
@@ -88,10 +97,13 @@ export declare class NeynarAPIClient {
88
97
  * client.fetchUserInteractions({ fids, type }).then(response => {
89
98
  * console.log('response:', response);
90
99
  * });
100
+ *
101
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-interactions)
102
+ *
91
103
  */
92
104
  fetchUserInteractions(params: {
93
105
  fids: number[];
94
- type?: Array<NotificationType>;
106
+ type?: Array<FetchUserInteractionsTypeEnum>;
95
107
  }): Promise<FetchUserInteractions200Response>;
96
108
  /**
97
109
  * Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Farcaster URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
@@ -99,7 +111,7 @@ export declare class NeynarAPIClient {
99
111
  * @summary Cast conversation summary
100
112
  *
101
113
  * @param {object} params
102
- * @param {string} params.identifier - Cast identifier (Its either a url or a hash)
114
+ * @param {string} params.identifier - Cast identifier (It's either a URL or a hash))
103
115
  * @param {number} params.limit [optional] - Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
104
116
  * @param {string} params.prompt [optional] - Additional prompt used to generate a summary
105
117
  *
@@ -127,12 +139,12 @@ export declare class NeynarAPIClient {
127
139
  /**
128
140
  * Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
129
141
  *
130
- * @summary Get app host event
142
+ * @summary Generate event
131
143
  *
132
144
  * @param {object} params
133
145
  * @param {string} params.appDomain - The domain of the mini app
134
146
  * @param {number} params.fid - The FID of the user who initiated the event
135
- * @param {AppHostEventType} params.event - The type of event
147
+ * @param {AppHostGetEventEventEnum} params.event - The type of event
136
148
  *
137
149
  * @returns {Promise<AppHostGetEventResponse>} A promise that resolves to a `AppHostGetEventResponse` object.
138
150
  *
@@ -146,16 +158,19 @@ export declare class NeynarAPIClient {
146
158
  * client.appHostGetEvent({ appDomain, fid, event }).then(response => {
147
159
  * console.log('response:', response);
148
160
  * });
161
+ *
162
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-event)
163
+ *
149
164
  */
150
165
  appHostGetEvent(params: {
151
166
  appDomain: string;
152
167
  fid: number;
153
- event: AppHostEventType;
168
+ event: AppHostGetEventEventEnum;
154
169
  }): Promise<AppHostGetEventResponse>;
155
170
  /**
156
171
  * Returns the current notification state for a specific user across all mini app domains in this app host. Shows which domains have notifications enabled.
157
172
  *
158
- * @summary Get the user\'s notification subscriptions
173
+ * @summary Enabled notifications
159
174
  *
160
175
  * @param {object} params
161
176
  * @param {number} params.fid - The FID of the user
@@ -170,6 +185,9 @@ export declare class NeynarAPIClient {
170
185
  * client.appHostGetUserState({ fid }).then(response => {
171
186
  * console.log('response:', response);
172
187
  * });
188
+ *
189
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-user-state)
190
+ *
173
191
  */
174
192
  appHostGetUserState(params: {
175
193
  fid: number;
@@ -177,25 +195,93 @@ export declare class NeynarAPIClient {
177
195
  /**
178
196
  * Post an app_host event to the domain\'s webhook. Events such as enabling or disabling notifications for a user. Provide either a signed message or the signer UUID of an authorized neynar-hosted signers.
179
197
  *
180
- * @summary Process app host event
198
+ * @summary Send event
181
199
  *
182
200
  * @param {object} params
183
- * @param {AppHostPostEventBody} params.appHostPostEventBody
201
+ * @param {any} params.appHostPostEventReqBody
184
202
  *
185
203
  * @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object.
186
204
  *
187
205
  * @example
188
206
  *
189
207
  * // Fill in the appropriate values
190
- * const appHostPostEventBody =
208
+ * const appHostPostEventReqBody =
191
209
  *
192
- * client.appHostPostEvent({ appHostPostEventBody }).then(response => {
210
+ * client.appHostPostEvent({appHostPostEventReqBody}).then(response => {
193
211
  * console.log('response:', response);
194
212
  * });
213
+ *
214
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-post-event)
215
+ *
195
216
  */
196
217
  appHostPostEvent(params: {
197
- appHostPostEventBody: AppHostPostEventBody;
218
+ appHostPostEventReqBody: any;
198
219
  }): Promise<AppHostPostEventResponse>;
220
+ /**
221
+ * Fetches the status of a developer managed auth address by auth address
222
+ *
223
+ * @summary Status by auth address
224
+ *
225
+ * @param {object} params
226
+ * @param {string} params.address - Ethereum address
227
+ *
228
+ * @returns {Promise<RegisterSignedKeyForDeveloperManagedAuthAddress200Response>} A promise that resolves to a `RegisterSignedKeyForDeveloperManagedAuthAddress200Response` object.
229
+ *
230
+ * @example
231
+ *
232
+ * // Fill in the appropriate values
233
+ * const address =
234
+ *
235
+ * client.lookupDeveloperManagedAuthAddress({ address }).then(response => {
236
+ * console.log('response:', response);
237
+ * });
238
+ *
239
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-developer-managed-auth-address)
240
+ *
241
+ */
242
+ lookupDeveloperManagedAuthAddress(params: {
243
+ address: string;
244
+ }): Promise<RegisterSignedKeyForDeveloperManagedAuthAddress200Response>;
245
+ /**
246
+ * Allow apps to register an Ethereum addresses as authorized \"auth addresses\" for a user\'s Farcaster account, enabling seamless Sign-In With Farcaster (SIWF) across applications without repeated custody wallet authorizations.
247
+ *
248
+ * @summary Register Signed Key
249
+ *
250
+ * @param {object} params
251
+ * @param {string} params.address - Ethereum address
252
+ * @param {number} params.appFid - The unique identifier of a farcaster user or app (unsigned integer)
253
+ * @param {number} params.deadline - unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)
254
+ * @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, 32 bytes padded auth address. [Refer guide for more details.](https://docs.neynar.com/docs/auth-address-signature-generation)
255
+ * @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
256
+ * @param {SignedKeyRequestSponsor} params.sponsor [optional]
257
+ *
258
+ * @returns {Promise<RegisterSignedKeyForDeveloperManagedAuthAddress200Response>} A promise that resolves to a `RegisterSignedKeyForDeveloperManagedAuthAddress200Response` object.
259
+ *
260
+ * @example
261
+ *
262
+ * // Fill in the appropriate values
263
+ * const address =
264
+ * const appFid =
265
+ * const deadline =
266
+ * const signature =
267
+ * const redirectUrl =
268
+ * const sponsor =
269
+ *
270
+ * client.registerSignedKeyForDeveloperManagedAuthAddress({address, appFid, deadline, signature, redirectUrl, sponsor}).then(response => {
271
+ * console.log('response:', response);
272
+ * });
273
+ *
274
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/register-signed-key-for-developer-managed-auth-address)
275
+ *
276
+ */
277
+ registerSignedKeyForDeveloperManagedAuthAddress(params: {
278
+ address: string;
279
+ appFid: number;
280
+ deadline: number;
281
+ signature: string;
282
+ redirectUrl?: string;
283
+ sponsor?: SignedKeyRequestSponsor;
284
+ }): Promise<RegisterSignedKeyForDeveloperManagedAuthAddress200Response>;
199
285
  /**
200
286
  * Deletes a list of FIDs from the app associated with your API key.
201
287
  *
@@ -363,13 +449,13 @@ export declare class NeynarAPIClient {
363
449
  blockedFid: number;
364
450
  }): Promise<OperationResponse>;
365
451
  /**
366
- * Delete an existing cast. \\ (In order to delete a cast `signer_uuid` must be approved)
452
+ * Delete an existing cast. (In order to delete a cast `signer_uuid` must be approved)
367
453
  *
368
454
  * @summary Delete a cast
369
455
  *
370
456
  * @param {object} params
371
457
  * @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
372
- * @param {string} params.targetHash - Cast Hash
458
+ * @param {string} params.targetHash
373
459
  *
374
460
  * @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
375
461
  *
@@ -421,13 +507,49 @@ export declare class NeynarAPIClient {
421
507
  viewerFid?: number;
422
508
  sortType?: FetchBulkCastsSortTypeEnum;
423
509
  }): Promise<CastsResponse>;
510
+ /**
511
+ * Fetch casts that quote a given cast
512
+ *
513
+ * @summary Cast Quotes
514
+ *
515
+ * @param {object} params
516
+ * @param {FetchCastQuotesIdentifierParameter} params.identifier - Cast identifier (It's either a URL or a hash)
517
+ * @param {FetchCastQuotesTypeEnum} params.type - The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
518
+ * @param {number} params.viewerFid [optional]
519
+ * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
520
+ * @param {string} params.cursor [optional] - Pagination cursor.
521
+ *
522
+ * @returns {Promise<FetchCastQuotes200Response>} A promise that resolves to a `FetchCastQuotes200Response` object.
523
+ *
524
+ * @example
525
+ *
526
+ * // Fill in the appropriate values
527
+ * const identifier =
528
+ * const type =
529
+ * const viewerFid =
530
+ * const limit =
531
+ *
532
+ * client.fetchCastQuotes({ identifier, type, viewerFid, limit }).then(response => {
533
+ * console.log('response:', response);
534
+ * });
535
+ *
536
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-cast-quotes)
537
+ *
538
+ */
539
+ fetchCastQuotes(params: {
540
+ identifier: FetchCastQuotesIdentifierParameter;
541
+ type: FetchCastQuotesTypeEnum;
542
+ viewerFid?: number;
543
+ limit?: number;
544
+ cursor?: string;
545
+ }): Promise<FetchCastQuotes200Response>;
424
546
  /**
425
547
  * Fetches all composer actions on Warpcast. You can filter by top or featured.
426
548
  *
427
549
  * @summary Fetch composer actions
428
550
  *
429
551
  * @param {object} params
430
- * @param {CastComposerType} params.list - Type of list to fetch.
552
+ * @param {FetchComposerActionsListEnum} params.list - Type of list to fetch.
431
553
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 25)
432
554
  * @param {string} params.cursor [optional] - Pagination cursor.
433
555
  *
@@ -447,7 +569,7 @@ export declare class NeynarAPIClient {
447
569
  *
448
570
  */
449
571
  fetchComposerActions(params: {
450
- list: CastComposerType;
572
+ list: FetchComposerActionsListEnum;
451
573
  limit?: number;
452
574
  cursor?: string;
453
575
  }): Promise<CastComposerActionsListResponse>;
@@ -482,8 +604,8 @@ export declare class NeynarAPIClient {
482
604
  * @summary By hash or URL
483
605
  *
484
606
  * @param {object} params
485
- * @param {string} params.identifier - Cast identifier (Its either a url or a hash)
486
- * @param {CastParamType} params.type
607
+ * @param {FetchCastQuotesIdentifierParameter} params.identifier - Cast identifier (It's either a URL or a hash)
608
+ * @param {LookupCastByHashOrWarpcastUrlTypeEnum} params.type - The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
487
609
  * @param {number} params.viewerFid [optional] - adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
488
610
  *
489
611
  * @returns {Promise<CastResponse>} A promise that resolves to a `CastResponse` object.
@@ -503,8 +625,8 @@ export declare class NeynarAPIClient {
503
625
  *
504
626
  */
505
627
  lookupCastByHashOrWarpcastUrl(params: {
506
- identifier: string;
507
- type: CastParamType;
628
+ identifier: FetchCastQuotesIdentifierParameter;
629
+ type: LookupCastByHashOrWarpcastUrlTypeEnum;
508
630
  viewerFid?: number;
509
631
  }): Promise<CastResponse>;
510
632
  /**
@@ -513,12 +635,12 @@ export declare class NeynarAPIClient {
513
635
  * @summary Conversation for a cast
514
636
  *
515
637
  * @param {object} params
516
- * @param {string} params.identifier - Cast identifier (Its either a url or a hash)
517
- * @param {CastParamType} params.type
518
- * @param {number} params.replyDepth [optional] - The depth of replies in the conversation that will be returned (default 2)
519
- * @param {boolean} params.includeChronologicalParentCasts [optional] - Include all parent casts in chronological order
638
+ * @param {string} params.identifier - Cast identifier (It's either a URL or a hash)
639
+ * @param {LookupCastConversationTypeEnum} params.type - The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
640
+ * @param {number | null} params.replyDepth [optional] - The depth of replies in the conversation that will be returned (default 2)
641
+ * @param {boolean | null} params.includeChronologicalParentCasts [optional] - Include all parent casts in chronological order
520
642
  * @param {number} params.viewerFid [optional] - Providing this will return a conversation that respects this user's mutes and blocks and includes `viewer_context`.
521
- * @param {CastConversationSortType} params.sortType [optional] - Sort type for the ordering of descendants. Default is `chron`
643
+ * @param {LookupCastConversationSortTypeEnum} params.sortType [optional] - Sort type for the ordering of descendants. Default is `chron`
522
644
  * @param {LookupCastConversationFoldEnum} params.fold [optional] - Show conversation above or below the fold. Lower quality responses are hidden below the fold. Not passing in a value shows the full conversation without any folding.
523
645
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 20, Maximum: 50)
524
646
  * @param {string} params.cursor [optional] - Pagination cursor.
@@ -546,11 +668,11 @@ export declare class NeynarAPIClient {
546
668
  */
547
669
  lookupCastConversation(params: {
548
670
  identifier: string;
549
- type: CastParamType;
550
- replyDepth?: number;
551
- includeChronologicalParentCasts?: boolean;
671
+ type: LookupCastConversationTypeEnum;
672
+ replyDepth?: number | null;
673
+ includeChronologicalParentCasts?: boolean | null;
552
674
  viewerFid?: number;
553
- sortType?: CastConversationSortType;
675
+ sortType?: LookupCastConversationSortTypeEnum;
554
676
  fold?: LookupCastConversationFoldEnum;
555
677
  limit?: number;
556
678
  cursor?: string;
@@ -606,12 +728,11 @@ export declare class NeynarAPIClient {
606
728
  * @param {object} params
607
729
  * @param {string} params.q - Query string to search for casts. Supported operators: | Operator | Description | | --------- | -------------------------------------------------------------------------------------------------------- | | `+` | Acts as the AND operator. This is the default operator between terms and can usually be omitted. | | `|` | Acts as the OR operator. | | `*` | When used at the end of a term, signifies a prefix query. | | `"` | Wraps several terms into a phrase (for example, `"star wars"`). | | `(`, `)` | Wrap a clause for precedence (for example, `star + (wars | trek)`). | | `~n` | When used after a term (for example, `satr~3`), sets `fuzziness`. When used after a phrase, sets `slop`. | | `-` | Negates the term. | | `before:` | Search for casts before a specific date. (e.g. `before:2025-04-20`) | | `after:` | Search for casts after a specific date. (e.g. `after:2025-04-20`) |
608
730
  * @param {SearchCastsModeEnum} params.mode [optional] - Choices are: - `literal` - Searches for the words in the query string (default) - `semantic` - Searches for the meaning of the query string - `hybrid` - Combines both literal and semantic results
609
- * @param {SearchSortType} params.sortType [optional] - Choices are: - `desc_chron` - All casts sorted by time (default) - `algorithmic` - Casts sorted by engagement and time
731
+ * @param {SearchCastsSortTypeEnum} params.sortType [optional] - Choices are: - `desc_chron` - All casts sorted by time (default) - `algorithmic` - Casts sorted by engagement and time
610
732
  * @param {number} params.authorFid [optional] - Fid of the user whose casts you want to search
611
733
  * @param {number} params.viewerFid [optional] - Providing this will return search results that respects this user's mutes and blocks and includes `viewer_context`.
612
734
  * @param {string} params.parentUrl [optional] - Parent URL of the casts you want to search
613
735
  * @param {string} params.channelId [optional] - Channel ID of the casts you want to search
614
- * @param {boolean} params.priorityMode [optional] - When true, only returns search results from power badge users and users that the viewer follows (if viewer_fid is provided).
615
736
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
616
737
  * @param {string} params.cursor [optional] - Pagination cursor
617
738
  *
@@ -627,10 +748,9 @@ export declare class NeynarAPIClient {
627
748
  * const viewerFid =
628
749
  * const parentUrl =
629
750
  * const channelId =
630
- * const priorityMode =
631
751
  * const limit =
632
752
  *
633
- * client.searchCasts({ q, mode, sortType, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit }).then(response => {
753
+ * client.searchCasts({ q, mode, sortType, authorFid, viewerFid, parentUrl, channelId, limit }).then(response => {
634
754
  * console.log('response:', response);
635
755
  * });
636
756
  *
@@ -640,12 +760,11 @@ export declare class NeynarAPIClient {
640
760
  searchCasts(params: {
641
761
  q: string;
642
762
  mode?: SearchCastsModeEnum;
643
- sortType?: SearchSortType;
763
+ sortType?: SearchCastsSortTypeEnum;
644
764
  authorFid?: number;
645
765
  viewerFid?: number;
646
766
  parentUrl?: string;
647
767
  channelId?: string;
648
- priorityMode?: boolean;
649
768
  limit?: number;
650
769
  cursor?: string;
651
770
  }): Promise<CastsSearchResponse>;
@@ -683,7 +802,7 @@ export declare class NeynarAPIClient {
683
802
  *
684
803
  * @param {object} params
685
804
  * @param {string[]} params.ids - Comma separated list of channel IDs or parent_urls, up to 100 at a time
686
- * @param {ChannelType} params.type [optional] - Type of identifier being used to query the channels. Defaults to ID.
805
+ * @param {FetchBulkChannelsTypeEnum} params.type [optional] - Type of identifier being used to query the channels. Defaults to ID.
687
806
  * @param {number} params.viewerFid [optional] - FID of the user viewing the channels.
688
807
  *
689
808
  * @returns {Promise<ChannelResponseBulk>} A promise that resolves to a `ChannelResponseBulk` object.
@@ -704,7 +823,7 @@ export declare class NeynarAPIClient {
704
823
  */
705
824
  fetchBulkChannels(params: {
706
825
  ids: string[];
707
- type?: ChannelType;
826
+ type?: FetchBulkChannelsTypeEnum;
708
827
  viewerFid?: number;
709
828
  }): Promise<ChannelResponseBulk>;
710
829
  /**
@@ -1023,7 +1142,7 @@ export declare class NeynarAPIClient {
1023
1142
  *
1024
1143
  * @param {object} params
1025
1144
  * @param {string} params.id - Channel ID for the channel being queried
1026
- * @param {ChannelType} params.type [optional] - Type of identifier being used to query the channel. Defaults to ID.
1145
+ * @param {LookupChannelTypeEnum} params.type [optional] - Type of identifier being used to query the channel. Defaults to ID.
1027
1146
  * @param {number} params.viewerFid [optional] - FID of the user viewing the channel.
1028
1147
  *
1029
1148
  * @returns {Promise<ChannelResponse>} A promise that resolves to a `ChannelResponse` object.
@@ -1044,7 +1163,7 @@ export declare class NeynarAPIClient {
1044
1163
  */
1045
1164
  lookupChannel(params: {
1046
1165
  id: string;
1047
- type?: ChannelType;
1166
+ type?: LookupChannelTypeEnum;
1048
1167
  viewerFid?: number;
1049
1168
  }): Promise<ChannelResponse>;
1050
1169
  /**
@@ -1184,7 +1303,7 @@ export declare class NeynarAPIClient {
1184
1303
  * @param {number} params.viewerFid [optional] - FID of the user viewing the feed
1185
1304
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 150)
1186
1305
  * @param {string} params.cursor [optional] - Pagination cursor
1187
- * @param {boolean} params.includeReplies [optional] - Include reply casts by the author in the response, true by default
1306
+ * @param {boolean | null} params.includeReplies [optional] - Include reply casts by the author in the response, true by default
1188
1307
  * @param {string} params.parentUrl [optional] - Parent URL to filter the feed; mutually exclusive with channel_id
1189
1308
  * @param {string} params.channelId [optional] - Channel ID to filter the feed; mutually exclusive with parent_url
1190
1309
  *
@@ -1214,7 +1333,7 @@ export declare class NeynarAPIClient {
1214
1333
  viewerFid?: number;
1215
1334
  limit?: number;
1216
1335
  cursor?: string;
1217
- includeReplies?: boolean;
1336
+ includeReplies?: boolean | null;
1218
1337
  parentUrl?: string;
1219
1338
  channelId?: string;
1220
1339
  }): Promise<FeedResponse>;
@@ -1224,16 +1343,16 @@ export declare class NeynarAPIClient {
1224
1343
  * @summary By filters
1225
1344
  *
1226
1345
  * @param {object} params
1227
- * @param {FeedType} params.feedType - Defaults to following (requires FID or address). If set to filter (requires filter_type)
1228
- * @param {FilterType} params.filterType [optional] - Used when feed_type=filter. Can be set to FIDs (requires FIDs) or parent_url (requires parent_url) or channel_id (requires channel_id)
1346
+ * @param {FetchFeedFeedTypeEnum} params.feedType [optional] - Defaults to following (requires FID or address). If set to filter (requires filter_type)
1347
+ * @param {FetchFeedFilterTypeEnum} params.filterType [optional] - Used when feed_type=filter. Can be set to FIDs (requires FIDs) or parent_url (requires parent_url) or channel_id (requires channel_id)
1229
1348
  * @param {number} params.fid [optional] - (Optional) FID of user whose feed you want to create. By default, the API expects this field, except if you pass a filter_type
1230
- * @param {string} params.fids [optional] - Used when filter_type=FIDs . Create a feed based on a list of FIDs. Max array size is 100. Requires feed_type and filter_type.
1349
+ * @param {number[]} params.fids [optional] - Used when filter_type=FIDs . Create a feed based on a list of FIDs. Max array size is 100. Requires feed_type and filter_type.
1231
1350
  * @param {string} params.parentUrl [optional] - Used when filter_type=parent_url can be used to fetch content under any parent url e.g. FIP-2 channels on Warpcast. Requires feed_type and filter_type.
1232
1351
  * @param {string} params.channelId [optional] - Used when filter_type=channel_id can be used to fetch casts under a channel. Requires feed_type and filter_type.
1233
- * @param {boolean} params.membersOnly [optional] - Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
1352
+ * @param {boolean | null} params.membersOnly [optional] - Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
1234
1353
  * @param {string} params.embedUrl [optional] - Used when filter_type=embed_url. Casts with embedded URLs prefixed by this embed_url param will be returned. We normalize your given URL prefix and prepend 'https://' if no protocol is included. Requires feed_type and filter_type.
1235
- * @param {Array<EmbedType>} params.embedTypes [optional] - Used when filter_type=embed_types can be used to fetch all casts with matching content types. Requires feed_type and filter_type.
1236
- * @param {boolean} params.withRecasts [optional] - Include recasts in the response, true by default
1354
+ * @param {Array<FetchFeedEmbedTypesEnum>} params.embedTypes [optional] - Used when filter_type=embed_types can be used to fetch all casts with matching content types. Requires feed_type and filter_type.
1355
+ * @param {boolean | null} params.withRecasts [optional] - Include recasts in the response, true by default
1237
1356
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
1238
1357
  * @param {string} params.cursor [optional] - Pagination cursor.
1239
1358
  * @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
@@ -1264,16 +1383,16 @@ export declare class NeynarAPIClient {
1264
1383
  *
1265
1384
  */
1266
1385
  fetchFeed(params: {
1267
- feedType: FeedType;
1268
- filterType?: FilterType;
1386
+ feedType?: FetchFeedFeedTypeEnum;
1387
+ filterType?: FetchFeedFilterTypeEnum;
1269
1388
  fid?: number;
1270
- fids?: string;
1389
+ fids?: number[];
1271
1390
  parentUrl?: string;
1272
1391
  channelId?: string;
1273
- membersOnly?: boolean;
1392
+ membersOnly?: boolean | null;
1274
1393
  embedUrl?: string;
1275
- embedTypes?: Array<EmbedType>;
1276
- withRecasts?: boolean;
1394
+ embedTypes?: Array<FetchFeedEmbedTypesEnum>;
1395
+ withRecasts?: boolean | null;
1277
1396
  limit?: number;
1278
1397
  cursor?: string;
1279
1398
  viewerFid?: number;
@@ -1285,14 +1404,14 @@ export declare class NeynarAPIClient {
1285
1404
  *
1286
1405
  * @param {object} params
1287
1406
  * @param {string[]} params.channelIds - Comma separated list of up to 10 channel IDs e.g. neynar,farcaster
1288
- * @param {boolean} params.withRecasts [optional] - Include recasts in the response, true by default
1407
+ * @param {boolean | null} params.withRecasts [optional] - Include recasts in the response, true by default
1289
1408
  * @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
1290
- * @param {boolean} params.withReplies [optional] - Include replies in the response, false by default
1291
- * @param {boolean} params.membersOnly [optional] - Only include casts from members of the channel. True by default.
1409
+ * @param {boolean | null} params.withReplies [optional] - Include replies in the response, false by default
1410
+ * @param {boolean | null} params.membersOnly [optional] - Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
1292
1411
  * @param {number[]} params.fids [optional] - Comma separated list of FIDs to filter the feed by, up to 10 at a time
1293
1412
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
1294
1413
  * @param {string} params.cursor [optional] - Pagination cursor.
1295
- * @param {boolean} params.shouldModerate [optional] - If true, only casts that have been liked by the moderator (if one exists) will be returned.
1414
+ * @param {boolean | null} params.shouldModerate [optional] - If true, only casts that have been liked by the moderator (if one exists) will be returned.
1296
1415
  *
1297
1416
  * @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object.
1298
1417
  *
@@ -1317,14 +1436,14 @@ export declare class NeynarAPIClient {
1317
1436
  */
1318
1437
  fetchFeedByChannelIds(params: {
1319
1438
  channelIds: string[];
1320
- withRecasts?: boolean;
1439
+ withRecasts?: boolean | null;
1321
1440
  viewerFid?: number;
1322
- withReplies?: boolean;
1323
- membersOnly?: boolean;
1441
+ withReplies?: boolean | null;
1442
+ membersOnly?: boolean | null;
1324
1443
  fids?: number[];
1325
1444
  limit?: number;
1326
1445
  cursor?: string;
1327
- shouldModerate?: boolean;
1446
+ shouldModerate?: boolean | null;
1328
1447
  }): Promise<FeedResponse>;
1329
1448
  /**
1330
1449
  * Fetch feed based on parent URLs
@@ -1333,9 +1452,9 @@ export declare class NeynarAPIClient {
1333
1452
  *
1334
1453
  * @param {object} params
1335
1454
  * @param {string[]} params.parentUrls - Comma separated list of parent_urls
1336
- * @param {boolean} params.withRecasts [optional] - Include recasts in the response, true by default
1455
+ * @param {boolean | null} params.withRecasts [optional] - Include recasts in the response, true by default
1337
1456
  * @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
1338
- * @param {boolean} params.withReplies [optional] - Include replies in the response, false by default
1457
+ * @param {boolean | null} params.withReplies [optional] - Include replies in the response, false by default
1339
1458
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
1340
1459
  * @param {string} params.cursor [optional] - Pagination cursor.
1341
1460
  *
@@ -1359,9 +1478,9 @@ export declare class NeynarAPIClient {
1359
1478
  */
1360
1479
  fetchFeedByParentUrls(params: {
1361
1480
  parentUrls: string[];
1362
- withRecasts?: boolean;
1481
+ withRecasts?: boolean | null;
1363
1482
  viewerFid?: number;
1364
- withReplies?: boolean;
1483
+ withReplies?: boolean | null;
1365
1484
  limit?: number;
1366
1485
  cursor?: string;
1367
1486
  }): Promise<FeedResponse>;
@@ -1373,10 +1492,9 @@ export declare class NeynarAPIClient {
1373
1492
  * @param {object} params
1374
1493
  * @param {number} params.fid - FID of user whose feed you want to create
1375
1494
  * @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
1376
- * @param {ForYouProvider} params.provider [optional]
1495
+ * @param {FetchFeedForYouProviderEnum} params.provider [optional] - The provider of the For You feed.
1377
1496
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 50)
1378
1497
  * @param {string} params.cursor [optional] - Pagination cursor.
1379
- * @param {string} params.providerMetadata [optional] - provider_metadata is a URI-encoded stringified JSON object that can be used to pass additional metadata to the provider. Only available for mbd provider right now. See [here](https://docs.neynar.com/docs/feed-for-you-w-external-providers) on how to use.
1380
1498
  *
1381
1499
  * @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object.
1382
1500
  *
@@ -1387,9 +1505,8 @@ export declare class NeynarAPIClient {
1387
1505
  * const viewerFid =
1388
1506
  * const provider =
1389
1507
  * const limit =
1390
- * const providerMetadata =
1391
1508
  *
1392
- * client.fetchFeedForYou({ fid, viewerFid, provider, limit, providerMetadata }).then(response => {
1509
+ * client.fetchFeedForYou({ fid, viewerFid, provider, limit }).then(response => {
1393
1510
  * console.log('response:', response);
1394
1511
  * });
1395
1512
  *
@@ -1399,10 +1516,9 @@ export declare class NeynarAPIClient {
1399
1516
  fetchFeedForYou(params: {
1400
1517
  fid: number;
1401
1518
  viewerFid?: number;
1402
- provider?: ForYouProvider;
1519
+ provider?: FetchFeedForYouProviderEnum;
1403
1520
  limit?: number;
1404
1521
  cursor?: string;
1405
- providerMetadata?: string;
1406
1522
  }): Promise<FeedResponse>;
1407
1523
  /**
1408
1524
  * Fetch feed of casts with mini apps, reverse chronological order
@@ -1469,7 +1585,7 @@ export declare class NeynarAPIClient {
1469
1585
  *
1470
1586
  * @param {object} params
1471
1587
  * @param {number} params.fid - FID of user whose replies and recasts you want to fetch
1472
- * @param {FetchRepliesAndRecastsForUserFilterEnum} params.filter [optional] - filter to fetch only replies or recasts
1588
+ * @param {FetchRepliesAndRecastsForUserFilterEnum} params.filter [optional] - Filter to fetch only replies or recasts
1473
1589
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 50)
1474
1590
  * @param {string} params.cursor [optional] - Pagination cursor.
1475
1591
  * @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
@@ -1510,7 +1626,7 @@ export declare class NeynarAPIClient {
1510
1626
  * @param {FetchTrendingFeedTimeWindowEnum} params.timeWindow [optional] - Time window for trending casts (7d window for channel feeds only)
1511
1627
  * @param {string} params.channelId [optional] - Channel ID to filter trending casts. Less active channels might have no casts in the time window selected. Provide either `channel_id` or `parent_url`, not both.
1512
1628
  * @param {string} params.parentUrl [optional] - Parent URL to filter trending casts. Less active channels might have no casts in the time window selected. Provide either `channel_id` or `parent_url`, not both.
1513
- * @param {FeedTrendingProvider} params.provider [optional] - The provider of the trending casts feed.
1629
+ * @param {FetchTrendingFeedProviderEnum} params.provider [optional] - The provider of the trending casts feed.
1514
1630
  * @param {string} params.providerMetadata [optional] - provider_metadata is a URI-encoded stringified JSON object that can be used to pass additional metadata to the provider. Only available for mbd provider right now. See [here](https://docs.neynar.com/docs/feed-for-you-w-external-providers) on how to use.
1515
1631
  *
1516
1632
  * @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object.
@@ -1540,7 +1656,7 @@ export declare class NeynarAPIClient {
1540
1656
  timeWindow?: FetchTrendingFeedTimeWindowEnum;
1541
1657
  channelId?: string;
1542
1658
  parentUrl?: string;
1543
- provider?: FeedTrendingProvider;
1659
+ provider?: FetchTrendingFeedProviderEnum;
1544
1660
  providerMetadata?: string;
1545
1661
  }): Promise<FeedResponse>;
1546
1662
  /**
@@ -1551,7 +1667,7 @@ export declare class NeynarAPIClient {
1551
1667
  * @param {object} params
1552
1668
  * @param {number} params.fid - FID of user whose feed you want to create
1553
1669
  * @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
1554
- * @param {boolean} params.withRecasts [optional] - Include recasts in the response, true by default
1670
+ * @param {boolean | null} params.withRecasts [optional] - Include recasts in the response, true by default
1555
1671
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
1556
1672
  * @param {string} params.cursor [optional] - Pagination cursor.
1557
1673
  *
@@ -1575,7 +1691,7 @@ export declare class NeynarAPIClient {
1575
1691
  fetchUserFollowingFeed(params: {
1576
1692
  fid: number;
1577
1693
  viewerFid?: number;
1578
- withRecasts?: boolean;
1694
+ withRecasts?: boolean | null;
1579
1695
  limit?: number;
1580
1696
  cursor?: string;
1581
1697
  }): Promise<FeedResponse>;
@@ -1610,8 +1726,8 @@ export declare class NeynarAPIClient {
1610
1726
  * @summary Suggest Follows
1611
1727
  *
1612
1728
  * @param {object} params
1613
- * @param {number} params.fid - FID of the user whose following you want to fetch.
1614
- * @param {number} params.viewerFid [optional] - Providing this will return a list of users that respects this user's mutes and blocks and includes `viewer_context`.
1729
+ * @param {number | null} params.fid - FID of the user whose following you want to fetch.
1730
+ * @param {number | null} params.viewerFid [optional] - Providing this will return a list of users that respects this user's mutes and blocks and includes `viewer_context`.
1615
1731
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
1616
1732
  *
1617
1733
  * @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object.
@@ -1631,8 +1747,8 @@ export declare class NeynarAPIClient {
1631
1747
  *
1632
1748
  */
1633
1749
  fetchFollowSuggestions(params: {
1634
- fid: number;
1635
- viewerFid?: number;
1750
+ fid: number | null;
1751
+ viewerFid?: number | null;
1636
1752
  limit?: number;
1637
1753
  }): Promise<UsersResponse>;
1638
1754
  /**
@@ -1671,7 +1787,7 @@ export declare class NeynarAPIClient {
1671
1787
  * @param {object} params
1672
1788
  * @param {number} params.fid - User who's profile you are looking at
1673
1789
  * @param {number} params.viewerFid [optional] - Providing this will return a list of followers that respects this user's mutes and blocks and includes `viewer_context`.
1674
- * @param {FollowSortType} params.sortType [optional] - Sort type for fetch followers. Default is `desc_chron`
1790
+ * @param {FetchUserFollowersSortTypeEnum} params.sortType [optional] - Sort type for fetch followers. Default is `desc_chron`
1675
1791
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 20, Maximum: 100)
1676
1792
  * @param {string} params.cursor [optional] - Pagination cursor.
1677
1793
  *
@@ -1695,7 +1811,7 @@ export declare class NeynarAPIClient {
1695
1811
  fetchUserFollowers(params: {
1696
1812
  fid: number;
1697
1813
  viewerFid?: number;
1698
- sortType?: FollowSortType;
1814
+ sortType?: FetchUserFollowersSortTypeEnum;
1699
1815
  limit?: number;
1700
1816
  cursor?: string;
1701
1817
  }): Promise<FollowersResponse>;
@@ -1707,7 +1823,7 @@ export declare class NeynarAPIClient {
1707
1823
  * @param {object} params
1708
1824
  * @param {number} params.fid - FID of the user whose following you want to fetch.
1709
1825
  * @param {number} params.viewerFid [optional] - Providing this will return a list of users that respects this user's mutes and blocks and includes `viewer_context`.
1710
- * @param {FollowSortType} params.sortType [optional] - Optional parameter to sort the users based on different criteria.
1826
+ * @param {FetchUserFollowingSortTypeEnum} params.sortType [optional] - Optional parameter to sort the users based on different criteria.
1711
1827
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
1712
1828
  * @param {string} params.cursor [optional] - Pagination cursor.
1713
1829
  *
@@ -1731,7 +1847,7 @@ export declare class NeynarAPIClient {
1731
1847
  fetchUserFollowing(params: {
1732
1848
  fid: number;
1733
1849
  viewerFid?: number;
1734
- sortType?: FollowSortType;
1850
+ sortType?: FetchUserFollowingSortTypeEnum;
1735
1851
  limit?: number;
1736
1852
  cursor?: string;
1737
1853
  }): Promise<FollowersResponse>;
@@ -1768,8 +1884,8 @@ export declare class NeynarAPIClient {
1768
1884
  * @param {object} params
1769
1885
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 100, Maximum: 100)
1770
1886
  * @param {string} params.cursor [optional] - Pagination cursor
1771
- * @param {MiniAppTimeWindow} params.timeWindow [optional] - Time window used to calculate the change in trending score for each mini app, used to sort mini app results
1772
- * @param {Array<FetchFrameCatalogCategoriesEnum>} params.categories [optional] - Comma separated list of categories to include in the results. Includes all if left blank. Example: `categories=games,social` OR: `categories=games&categories=social`
1887
+ * @param {FetchFrameCatalogTimeWindowEnum} params.timeWindow [optional] - Time window used to calculate the change in trending score for each mini app, used to sort mini app results
1888
+ * @param {Array<FetchFrameCatalogCategoriesEnum>} params.categories [optional] - Comma separated list of categories to include in the results. Includes all if left blank. Example: categories=games,social OR categories=games&categories=social
1773
1889
  *
1774
1890
  * @returns {Promise<FrameCatalogResponse>} A promise that resolves to a `FrameCatalogResponse` object.
1775
1891
  *
@@ -1783,11 +1899,14 @@ export declare class NeynarAPIClient {
1783
1899
  * client.fetchFrameCatalog({ limit, timeWindow, categories }).then(response => {
1784
1900
  * console.log('response:', response);
1785
1901
  * });
1902
+ *
1903
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frame-catalog)
1904
+ *
1786
1905
  */
1787
1906
  fetchFrameCatalog(params: {
1788
1907
  limit?: number;
1789
1908
  cursor?: string;
1790
- timeWindow?: MiniAppTimeWindow;
1909
+ timeWindow?: FetchFrameCatalogTimeWindowEnum;
1791
1910
  categories?: Array<FetchFrameCatalogCategoriesEnum>;
1792
1911
  }): Promise<FrameCatalogResponse>;
1793
1912
  /**
@@ -1870,7 +1989,7 @@ export declare class NeynarAPIClient {
1870
1989
  *
1871
1990
  * @param {object} params
1872
1991
  * @param {number} params.viewerFid - FID of the user to fetch relevant mini apps for
1873
- * @param {MiniAppTimeWindow} params.timeWindow [optional] - Time window used to limit statistics used to calculate mini app relevance
1992
+ * @param {FetchRelevantFramesTimeWindowEnum} params.timeWindow [optional] - Time window used to limit statistics used to calculate mini app relevance
1874
1993
  *
1875
1994
  * @returns {Promise<FetchRelevantFrames200Response>} A promise that resolves to a `FetchRelevantFrames200Response` object.
1876
1995
  *
@@ -1884,12 +2003,12 @@ export declare class NeynarAPIClient {
1884
2003
  * console.log('response:', response);
1885
2004
  * });
1886
2005
  *
1887
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frame-relevant)
2006
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-relevant-frames)
1888
2007
  *
1889
2008
  */
1890
2009
  fetchRelevantFrames(params: {
1891
2010
  viewerFid: number;
1892
- timeWindow?: MiniAppTimeWindow;
2011
+ timeWindow?: FetchRelevantFramesTimeWindowEnum;
1893
2012
  }): Promise<FetchRelevantFrames200Response>;
1894
2013
  /**
1895
2014
  * Fetch analytics for total-interactors, interactors, nteractions-per-cast and input-text.
@@ -1897,11 +2016,11 @@ export declare class NeynarAPIClient {
1897
2016
  * @summary Analytics for the mini app
1898
2017
  *
1899
2018
  * @param {object} params
1900
- * @param {string} params.frameUrl
1901
- * @param {ValidateFrameAnalyticsType} params.analyticsType
2019
+ * @param {string} params.frameUrl - URL of the mini app to fetch analytics for
2020
+ * @param {FetchValidateFrameAnalyticsAnalyticsTypeEnum} params.analyticsType - Type of analytics to fetch
1902
2021
  * @param {string} params.start
1903
2022
  * @param {string} params.stop
1904
- * @param {ValidateFrameAggregateWindow} params.aggregateWindow [optional] - Required for `analytics_type=interactions-per-cast`
2023
+ * @param {FetchValidateFrameAnalyticsAggregateWindowEnum} params.aggregateWindow [optional] - Required for `analytics_type=interactions-per-cast`
1905
2024
  *
1906
2025
  * @returns {Promise<FrameValidateAnalyticsResponse>} A promise that resolves to a `FrameValidateAnalyticsResponse` object.
1907
2026
  *
@@ -1923,10 +2042,10 @@ export declare class NeynarAPIClient {
1923
2042
  */
1924
2043
  fetchValidateFrameAnalytics(params: {
1925
2044
  frameUrl: string;
1926
- analyticsType: ValidateFrameAnalyticsType;
2045
+ analyticsType: FetchValidateFrameAnalyticsAnalyticsTypeEnum;
1927
2046
  start: string;
1928
2047
  stop: string;
1929
- aggregateWindow?: ValidateFrameAggregateWindow;
2048
+ aggregateWindow?: FetchValidateFrameAnalyticsAggregateWindowEnum;
1930
2049
  }): Promise<FrameValidateAnalyticsResponse>;
1931
2050
  /**
1932
2051
  * Fetch a list of all the mini apps validated by a user
@@ -1953,7 +2072,7 @@ export declare class NeynarAPIClient {
1953
2072
  *
1954
2073
  * @param {object} params
1955
2074
  * @param {string} params.campaignId [optional] - An ID of a specific notification campaign to query
1956
- * @param {number} params.limit [optional] - The number of results to return (Default: 100,
2075
+ * @param {number} params.limit [optional] - The number of results to return (Default: 100, Maximum: 1000)
1957
2076
  * @param {string} params.cursor [optional] - Pagination cursor
1958
2077
  *
1959
2078
  * @returns {Promise<GetNotificationCampaignStats200Response>} A promise that resolves to a `GetNotificationCampaignStats200Response` object.
@@ -1967,6 +2086,9 @@ export declare class NeynarAPIClient {
1967
2086
  * client.getNotificationCampaignStats({ campaignId, limit }).then(response => {
1968
2087
  * console.log('response:', response);
1969
2088
  * });
2089
+ *
2090
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-notification-campaign-stats)
2091
+ *
1970
2092
  */
1971
2093
  getNotificationCampaignStats(params: {
1972
2094
  campaignId?: string;
@@ -1991,6 +2113,9 @@ export declare class NeynarAPIClient {
1991
2113
  * client.getTransactionPayFrame({ id }).then(response => {
1992
2114
  * console.log('response:', response);
1993
2115
  * });
2116
+ *
2117
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-transaction-pay-frame)
2118
+ *
1994
2119
  */
1995
2120
  getTransactionPayFrame(params: {
1996
2121
  id: string;
@@ -2001,7 +2126,7 @@ export declare class NeynarAPIClient {
2001
2126
  * @summary Mini app by UUID or URL
2002
2127
  *
2003
2128
  * @param {object} params
2004
- * @param {FrameType} params.type
2129
+ * @param {LookupNeynarFrameTypeEnum} params.type - Type of identifier (either 'uuid' or 'url')
2005
2130
  * @param {string} params.uuid [optional] - UUID of the mini app to fetch
2006
2131
  * @param {string} params.url [optional] - URL of the Neynar mini app to fetch
2007
2132
  *
@@ -2022,18 +2147,18 @@ export declare class NeynarAPIClient {
2022
2147
  *
2023
2148
  */
2024
2149
  lookupNeynarFrame(params: {
2025
- type: FrameType;
2150
+ type: LookupNeynarFrameTypeEnum;
2026
2151
  uuid?: string;
2027
2152
  url?: string;
2028
2153
  }): Promise<NeynarFrame>;
2029
2154
  /**
2030
- * Post mini app actions, cast actions or cast composer actions to the server \\ (In order to post any of these actions, you need to have an approved `signer_uuid`) The POST request to the post_url has a timeout of 5 seconds for mini apps.
2155
+ * Post mini app actions, cast actions or cast composer actions to the server (In order to post any of these actions, you need to have an approved `signer_uuid`) The POST request to the post_url has a timeout of 5 seconds for mini apps.
2031
2156
  *
2032
2157
  * @summary Post a mini app action, cast action or a cast composer action
2033
2158
  *
2034
2159
  * @param {object} params
2035
2160
  * @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
2036
- * @param {string} params.castHash [optional] - Cast Hash
2161
+ * @param {string} params.castHash [optional]
2037
2162
  * @param {FrameAction} params.action
2038
2163
  *
2039
2164
  * @returns {Promise<Frame>} A promise that resolves to a `Frame` object.
@@ -2063,7 +2188,7 @@ export declare class NeynarAPIClient {
2063
2188
  * @summary Signature packet
2064
2189
  *
2065
2190
  * @param {object} params
2066
- * @param {string} params.castHash [optional] - Cast Hash
2191
+ * @param {string} params.castHash [optional]
2067
2192
  * @param {FrameAction} params.action
2068
2193
  * @param {FrameSignaturePacket} params.signaturePacket
2069
2194
  *
@@ -2095,8 +2220,8 @@ export declare class NeynarAPIClient {
2095
2220
  *
2096
2221
  * @param {object} params
2097
2222
  * @param {Array<number>} params.targetFids - An array of target FIDs to whom the notifications should be sent. Each FID must be a positive integer. Pass an empty array to send notifications to all FIDs with notifications enabled for the mini app.
2098
- * @param {SendFrameNotificationsReqBodyNotification} params.notification
2099
2223
  * @param {SendFrameNotificationsReqBodyFilters} params.filters [optional]
2224
+ * @param {SendFrameNotificationsReqBodyNotification} params.notification
2100
2225
  *
2101
2226
  * @returns {Promise<SendFrameNotificationsResponse>} A promise that resolves to a `SendFrameNotificationsResponse` object.
2102
2227
  *
@@ -2104,10 +2229,10 @@ export declare class NeynarAPIClient {
2104
2229
  *
2105
2230
  * // Fill in the appropriate values
2106
2231
  * const targetFids =
2107
- * const notification =
2108
2232
  * const filters =
2233
+ * const notification =
2109
2234
  *
2110
- * client.publishFrameNotifications({targetFids, notification, filters}).then(response => {
2235
+ * client.publishFrameNotifications({targetFids, filters, notification}).then(response => {
2111
2236
  * console.log('response:', response);
2112
2237
  * });
2113
2238
  *
@@ -2116,8 +2241,8 @@ export declare class NeynarAPIClient {
2116
2241
  */
2117
2242
  publishFrameNotifications(params: {
2118
2243
  targetFids: Array<number>;
2119
- notification: SendFrameNotificationsReqBodyNotification;
2120
2244
  filters?: SendFrameNotificationsReqBodyFilters;
2245
+ notification: SendFrameNotificationsReqBodyNotification;
2121
2246
  }): Promise<SendFrameNotificationsResponse>;
2122
2247
  /**
2123
2248
  * Create a new mini app with a list of pages.
@@ -2209,7 +2334,7 @@ export declare class NeynarAPIClient {
2209
2334
  pages: Array<NeynarFramePage>;
2210
2335
  }): Promise<NeynarFrame>;
2211
2336
  /**
2212
- * Validates a mini app against by an interacting user against a Farcaster Hub \\ (In order to validate a mini app, message bytes from Frame Action must be provided in hex)
2337
+ * Validates a mini app against by an interacting user against a Farcaster Hub (In order to validate a mini app, message bytes from Frame Action must be provided in hex)
2213
2338
  *
2214
2339
  * @summary Validate mini app action
2215
2340
  *
@@ -2390,8 +2515,7 @@ export declare class NeynarAPIClient {
2390
2515
  *
2391
2516
  * @param {object} params
2392
2517
  * @param {number} params.fid - FID of the user you you want to fetch notifications for. The response will respect this user's mutes and blocks.
2393
- * @param {Array<NotificationType>} params.type [optional] - Notification type to fetch. Comma separated values of follows, recasts, likes, mentions, replies.
2394
- * @param {boolean} params.priorityMode [optional] - When true, only returns notifications from power badge users and users that the user follows.
2518
+ * @param {Array<FetchAllNotificationsTypeEnum>} params.type [optional] - Notification type to fetch. Comma separated values of follows, recasts, likes, mentions, replies.
2395
2519
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 15, Maximum: 25)
2396
2520
  * @param {string} params.cursor [optional] - Pagination cursor.
2397
2521
  *
@@ -2402,10 +2526,9 @@ export declare class NeynarAPIClient {
2402
2526
  * // Fill in the appropriate values
2403
2527
  * const fid =
2404
2528
  * const type =
2405
- * const priorityMode =
2406
2529
  * const limit =
2407
2530
  *
2408
- * client.fetchAllNotifications({ fid, type, priorityMode, limit }).then(response => {
2531
+ * client.fetchAllNotifications({ fid, type, limit }).then(response => {
2409
2532
  * console.log('response:', response);
2410
2533
  * });
2411
2534
  *
@@ -2414,8 +2537,7 @@ export declare class NeynarAPIClient {
2414
2537
  */
2415
2538
  fetchAllNotifications(params: {
2416
2539
  fid: number;
2417
- type?: Array<NotificationType>;
2418
- priorityMode?: boolean;
2540
+ type?: Array<FetchAllNotificationsTypeEnum>;
2419
2541
  limit?: number;
2420
2542
  cursor?: string;
2421
2543
  }): Promise<NotificationsResponse>;
@@ -2427,7 +2549,6 @@ export declare class NeynarAPIClient {
2427
2549
  * @param {object} params
2428
2550
  * @param {number} params.fid - FID of the user you you want to fetch notifications for. The response will respect this user's mutes and blocks.
2429
2551
  * @param {string[]} params.channelIds - Comma separated channel_ids (find list of all channels here - https://docs.neynar.com/reference/list-all-channels)
2430
- * @param {boolean} params.priorityMode [optional] - When true, only returns notifications from power badge users and users that the user follows.
2431
2552
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 15, Maximum: 25)
2432
2553
  * @param {string} params.cursor [optional] - Pagination cursor.
2433
2554
  *
@@ -2438,10 +2559,9 @@ export declare class NeynarAPIClient {
2438
2559
  * // Fill in the appropriate values
2439
2560
  * const fid =
2440
2561
  * const channelIds =
2441
- * const priorityMode =
2442
2562
  * const limit =
2443
2563
  *
2444
- * client.fetchChannelNotificationsForUser({ fid, channelIds, priorityMode, limit }).then(response => {
2564
+ * client.fetchChannelNotificationsForUser({ fid, channelIds, limit }).then(response => {
2445
2565
  * console.log('response:', response);
2446
2566
  * });
2447
2567
  *
@@ -2451,7 +2571,6 @@ export declare class NeynarAPIClient {
2451
2571
  fetchChannelNotificationsForUser(params: {
2452
2572
  fid: number;
2453
2573
  channelIds: string[];
2454
- priorityMode?: boolean;
2455
2574
  limit?: number;
2456
2575
  cursor?: string;
2457
2576
  }): Promise<NotificationsResponse>;
@@ -2463,7 +2582,6 @@ export declare class NeynarAPIClient {
2463
2582
  * @param {object} params
2464
2583
  * @param {number} params.fid - FID of the user you you want to fetch notifications for. The response will respect this user's mutes and blocks.
2465
2584
  * @param {string[]} params.parentUrls - Comma separated parent_urls
2466
- * @param {boolean} params.priorityMode [optional] - When true, only returns notifications from power badge users and users that the user follows.
2467
2585
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 15, Maximum: 25)
2468
2586
  * @param {string} params.cursor [optional] - Pagination cursor.
2469
2587
  *
@@ -2474,10 +2592,9 @@ export declare class NeynarAPIClient {
2474
2592
  * // Fill in the appropriate values
2475
2593
  * const fid =
2476
2594
  * const parentUrls =
2477
- * const priorityMode =
2478
2595
  * const limit =
2479
2596
  *
2480
- * client.fetchNotificationsByParentUrlForUser({ fid, parentUrls, priorityMode, limit }).then(response => {
2597
+ * client.fetchNotificationsByParentUrlForUser({ fid, parentUrls, limit }).then(response => {
2481
2598
  * console.log('response:', response);
2482
2599
  * });
2483
2600
  *
@@ -2487,7 +2604,6 @@ export declare class NeynarAPIClient {
2487
2604
  fetchNotificationsByParentUrlForUser(params: {
2488
2605
  fid: number;
2489
2606
  parentUrls: string[];
2490
- priorityMode?: boolean;
2491
2607
  limit?: number;
2492
2608
  cursor?: string;
2493
2609
  }): Promise<NotificationsResponse>;
@@ -2499,7 +2615,6 @@ export declare class NeynarAPIClient {
2499
2615
  * @param {object} params
2500
2616
  * @param {string} params.signerUuid [optional] - The UUID of a signer with at least one write permission. Required unless a valid Authorization Bearer token is provided in the header.
2501
2617
  * @param {NotificationType} params.type [optional]
2502
- * @param {string} params.authorization [optional] - Optional Bearer token for certain endpoints. The token format is described [here](https://docs.farcaster.xyz/reference/warpcast/api#authentication).
2503
2618
  *
2504
2619
  * @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
2505
2620
  *
@@ -2508,9 +2623,8 @@ export declare class NeynarAPIClient {
2508
2623
  * // Fill in the appropriate values
2509
2624
  * const signerUuid =
2510
2625
  * const type =
2511
- * const authorization =
2512
2626
  *
2513
- * client.markNotificationsAsSeen({signerUuid, type, authorization}).then(response => {
2627
+ * client.markNotificationsAsSeen({signerUuid, type}).then(response => {
2514
2628
  * console.log('response:', response);
2515
2629
  * });
2516
2630
  *
@@ -2520,10 +2634,9 @@ export declare class NeynarAPIClient {
2520
2634
  markNotificationsAsSeen(params: {
2521
2635
  signerUuid?: string;
2522
2636
  type?: NotificationType;
2523
- authorization?: string;
2524
2637
  }): Promise<OperationResponse>;
2525
2638
  /**
2526
- * Creates a new token.
2639
+ * Creates a new token. This is an allowlisted API, reach out if you want access.
2527
2640
  *
2528
2641
  * @summary Deploy fungible
2529
2642
  *
@@ -2531,7 +2644,7 @@ export declare class NeynarAPIClient {
2531
2644
  * @param {string} params.owner - Ethereum address of the one who is creating the token
2532
2645
  * @param {string} params.symbol - Symbol/Ticker for the token
2533
2646
  * @param {string} params.name - Name of the token
2534
- * @param {File} params.metadataMedia [optional] - Media file associated with the token. Supported formats are image/jpeg, image/gif and image/png
2647
+ * @param {File | null} params.metadataMedia [optional] - Media file associated with the token. Supported formats are image/jpeg, image/gif and image/png
2535
2648
  * @param {string} params.metadataDescription [optional] - Description of the token
2536
2649
  * @param {DeployFungibleMetadataNsfwEnum} params.metadataNsfw [optional] - Indicates if the token is NSFW (Not Safe For Work).
2537
2650
  * @param {string} params.metadataWebsiteLink [optional] - Website link related to the token
@@ -2570,7 +2683,7 @@ export declare class NeynarAPIClient {
2570
2683
  owner: string;
2571
2684
  symbol: string;
2572
2685
  name: string;
2573
- metadataMedia?: File;
2686
+ metadataMedia?: File | null;
2574
2687
  metadataDescription?: string;
2575
2688
  metadataNsfw?: DeployFungibleMetadataNsfwEnum;
2576
2689
  metadataWebsiteLink?: string;
@@ -2581,13 +2694,13 @@ export declare class NeynarAPIClient {
2581
2694
  factory?: DeployFungibleFactoryEnum;
2582
2695
  }): Promise<DeployFungibleResponse>;
2583
2696
  /**
2584
- * Fetch a list of relevant owners for a specific FID. This usually shows on a fungible asset page as \"X, Y, Z and N others you know own this asset\".
2697
+ * Fetch a list of relevant owners for a on chain asset. If a viewer is provided, only relevant holders will be shown. This usually shows on a fungible asset page as \"X, Y, Z and N others you know own this asset\".
2585
2698
  *
2586
2699
  * @summary Relevant owners
2587
2700
  *
2588
2701
  * @param {object} params
2589
2702
  * @param {string} params.contractAddress - Contract address of the fungible asset
2590
- * @param {FungibleOwnerRelevantNetwork} params.network - Network of the fungible asset.
2703
+ * @param {FetchRelevantFungibleOwnersNetworkEnum} params.network - Network of the fungible asset.
2591
2704
  * @param {number} params.viewerFid [optional] - If you provide a viewer_fid, the response will include token holders from the user's network, respecting their mutes and blocks and including viewer_context; if not provided, the response will show top token holders across the network—both sets can be combined to generate a longer list if desired.
2592
2705
  *
2593
2706
  * @returns {Promise<RelevantFungibleOwnersResponse>} A promise that resolves to a `RelevantFungibleOwnersResponse` object.
@@ -2608,7 +2721,7 @@ export declare class NeynarAPIClient {
2608
2721
  */
2609
2722
  fetchRelevantFungibleOwners(params: {
2610
2723
  contractAddress: string;
2611
- network: FungibleOwnerRelevantNetwork;
2724
+ network: FetchRelevantFungibleOwnersNetworkEnum;
2612
2725
  viewerFid?: number;
2613
2726
  }): Promise<RelevantFungibleOwnersResponse>;
2614
2727
  /**
@@ -2618,7 +2731,7 @@ export declare class NeynarAPIClient {
2618
2731
  *
2619
2732
  * @param {object} params
2620
2733
  * @param {number} params.fid - FID of the user to fetch
2621
- * @param {Array<Network>} params.networks - Comma separated list of networks to fetch balances for
2734
+ * @param {Array<FetchUserBalanceNetworksEnum>} params.networks - Comma separated list of networks to fetch balances for
2622
2735
  *
2623
2736
  * @returns {Promise<BalanceResponse>} A promise that resolves to a `BalanceResponse` object.
2624
2737
  *
@@ -2637,32 +2750,57 @@ export declare class NeynarAPIClient {
2637
2750
  */
2638
2751
  fetchUserBalance(params: {
2639
2752
  fid: number;
2640
- networks: Array<Network>;
2753
+ networks: Array<FetchUserBalanceNetworksEnum>;
2641
2754
  }): Promise<BalanceResponse>;
2642
2755
  /**
2643
- * Register a new farcaster account onchain. Optionally you can pass in signers along to register a new account and create multiple signers in a single transaction
2756
+ * Mints an NFT to one or more recipients on a specified network and contract, using a configured server wallet. Contact us to set up your wallet configuration if you don\'t have one.
2757
+ *
2758
+ * @summary Mint NFT(s)
2759
+ *
2760
+ * @param {object} params
2761
+ * @param {MintNftRequest} params.mintNftRequest
2762
+ *
2763
+ * @returns {Promise<MintNft200Response>} A promise that resolves to a `MintNft200Response` object.
2764
+ *
2765
+ * @example
2766
+ *
2767
+ * // Fill in the appropriate values
2768
+ * const mintNftRequest =
2769
+ *
2770
+ * client.mintNft({ mintNftRequest }).then(response => {
2771
+ * console.log('response:', response);
2772
+ * });
2773
+ *
2774
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/mint-nft)
2775
+ *
2776
+ */
2777
+ mintNft(params: {
2778
+ mintNftRequest: MintNftRequest;
2779
+ }): Promise<MintNft200Response>;
2780
+ /**
2781
+ * Register a new farcaster account onchain. Optionally you can pass in signers to register a new account and create multiple signers in a single transaction
2644
2782
  *
2645
2783
  * @summary Register Farcaster account onchain
2646
2784
  *
2647
2785
  * @param {object} params
2786
+ * @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) Pre-registration calls must be idempotent when using idempotency keys. 2) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 3) This should be a unique identifier for each request. 4) Recommended format is a 16-character string generated by the developer at the time of making this request.
2787
+ * @param {Array<RegisterUserOnChainReqBodyPreRegistrationCallsInner>} params.preRegistrationCalls [optional]
2648
2788
  * @param {RegisterUserOnChainReqBodyRegistration} params.registration
2649
2789
  * @param {number} params.storageUnits [optional]
2650
2790
  * @param {Array<RegisterUserOnChainReqBodySignersInner>} params.signers [optional]
2651
- * @param {Array<RegisterUserOnChainReqBodyPreRegistrationCallsInner>} params.preRegistrationCalls [optional]
2652
- * @param {string} params.idem [optional]
2653
2791
  *
2654
2792
  * @returns {Promise<RegisterUserOnChainResponse>} A promise that resolves to a `RegisterUserOnChainResponse` object.
2655
2793
  *
2656
2794
  * @example
2657
2795
  *
2658
2796
  * // Fill in the appropriate values
2797
+ * const idem =
2798
+ * const preRegistrationCalls =
2659
2799
  * const registration =
2660
2800
  * const storageUnits =
2661
2801
  * const signers =
2662
- * const preRegistrationCalls =
2663
- * const idem =
2664
2802
  *
2665
- * client.registerAccountOnchain({registration, storageUnits, signers, preRegistrationCalls, idem}).then(response => {
2803
+ * client.registerAccountOnchain({idem, preRegistrationCalls, registration, storageUnits, signers}).then(response => {
2666
2804
  * console.log('response:', response);
2667
2805
  * });
2668
2806
  *
@@ -2670,11 +2808,11 @@ export declare class NeynarAPIClient {
2670
2808
  *
2671
2809
  */
2672
2810
  registerAccountOnchain(params: {
2811
+ idem?: string;
2812
+ preRegistrationCalls?: Array<RegisterUserOnChainReqBodyPreRegistrationCallsInner>;
2673
2813
  registration: RegisterUserOnChainReqBodyRegistration;
2674
2814
  storageUnits?: number;
2675
2815
  signers?: Array<RegisterUserOnChainReqBodySignersInner>;
2676
- preRegistrationCalls?: Array<RegisterUserOnChainReqBodyPreRegistrationCallsInner>;
2677
- idem?: string;
2678
2816
  }): Promise<RegisterUserOnChainResponse>;
2679
2817
  /**
2680
2818
  * Send fungibles in bulk to several farcaster users. A funded wallet is to required use this API. React out to us on the Neynar channel on farcaster to get your wallet address.
@@ -2682,18 +2820,20 @@ export declare class NeynarAPIClient {
2682
2820
  * @summary Send fungibles
2683
2821
  *
2684
2822
  * @param {object} params
2685
- * @param {string} params.xWalletId - Wallet ID to use for transactions
2686
- * @param {TransactionSendFungiblesRequest} params.transactionSendFungiblesRequest
2823
+ * @param {TransactionSendFungiblesReqBodyNetworkEnum} params.network
2824
+ * @param {string} params.fungibleContractAddress [optional] - Contract address of the fungible token to send. If not provided, the default is the native token of the network.
2825
+ * @param {Array<TransactionSendFungiblesRecipient>} params.recipients
2687
2826
  *
2688
2827
  * @returns {Promise<TransactionSendFungiblesResponse>} A promise that resolves to a `TransactionSendFungiblesResponse` object.
2689
2828
  *
2690
2829
  * @example
2691
2830
  *
2692
2831
  * // Fill in the appropriate values
2693
- * const xWalletId =
2694
- * const transactionSendFungiblesRequest =
2832
+ * const network =
2833
+ * const fungibleContractAddress =
2834
+ * const recipients =
2695
2835
  *
2696
- * client.sendFungiblesToUsers({ xWalletId, transactionSendFungiblesRequest }).then(response => {
2836
+ * client.sendFungiblesToUsers({network, fungibleContractAddress, recipients}).then(response => {
2697
2837
  * console.log('response:', response);
2698
2838
  * });
2699
2839
  *
@@ -2701,11 +2841,43 @@ export declare class NeynarAPIClient {
2701
2841
  *
2702
2842
  */
2703
2843
  sendFungiblesToUsers(params: {
2704
- xWalletId: string;
2705
- transactionSendFungiblesRequest: TransactionSendFungiblesRequest;
2844
+ network: TransactionSendFungiblesReqBodyNetworkEnum;
2845
+ fungibleContractAddress?: string;
2846
+ recipients: Array<TransactionSendFungiblesRecipient>;
2706
2847
  }): Promise<TransactionSendFungiblesResponse>;
2707
2848
  /**
2708
- * Delete a reaction (like or recast) to a cast \\ (In order to delete a reaction `signer_uuid` must be approved)
2849
+ * Simulates mint calldata for the given recipients, contract, and network. Useful for previewing calldata and ABI before minting.
2850
+ *
2851
+ * @summary Simulate NFT mint calldata
2852
+ *
2853
+ * @param {object} params
2854
+ * @param {string} params.recipients - JSON array of recipients (same structure as POST).
2855
+ * @param {string} params.nftContractAddress - Ethereum address
2856
+ * @param {SimulateNftMintNetworkEnum} params.network - Network to mint on.
2857
+ *
2858
+ * @returns {Promise<SimulateNftMintResponse>} A promise that resolves to a `SimulateNftMintResponse` object.
2859
+ *
2860
+ * @example
2861
+ *
2862
+ * // Fill in the appropriate values
2863
+ * const recipients =
2864
+ * const nftContractAddress =
2865
+ * const network =
2866
+ *
2867
+ * client.simulateNftMint({ recipients, nftContractAddress, network }).then(response => {
2868
+ * console.log('response:', response);
2869
+ * });
2870
+ *
2871
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/simulate-nft-mint)
2872
+ *
2873
+ */
2874
+ simulateNftMint(params: {
2875
+ recipients: string;
2876
+ nftContractAddress: string;
2877
+ network: SimulateNftMintNetworkEnum;
2878
+ }): Promise<SimulateNftMintResponse>;
2879
+ /**
2880
+ * Delete a reaction (like or recast) to a cast (In order to delete a reaction `signer_uuid` must be approved)
2709
2881
  *
2710
2882
  * @summary Delete reaction
2711
2883
  *
@@ -2748,7 +2920,7 @@ export declare class NeynarAPIClient {
2748
2920
  *
2749
2921
  * @param {object} params
2750
2922
  * @param {string} params.hash
2751
- * @param {Array<ReactionsType>} params.types - Customize which reaction types the request should search for. This is a comma-separated string that can include the following values: 'likes' and 'recasts'. By default api returns both. To select multiple types, use a comma-separated list of these values.
2923
+ * @param {Array<FetchCastReactionsTypesEnum>} params.types - Customize which reaction types the request should search for. This is a comma-separated string that can include the following values: 'likes' and 'recasts'. By default api returns both. To select multiple types, use a comma-separated list of these values.
2752
2924
  * @param {number} params.viewerFid [optional] - Providing this will return a list of reactions that respects this user's mutes and blocks and includes `viewer_context`.
2753
2925
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
2754
2926
  * @param {string} params.cursor [optional] - Pagination cursor.
@@ -2772,7 +2944,7 @@ export declare class NeynarAPIClient {
2772
2944
  */
2773
2945
  fetchCastReactions(params: {
2774
2946
  hash: string;
2775
- types: Array<ReactionsType>;
2947
+ types: Array<FetchCastReactionsTypesEnum>;
2776
2948
  viewerFid?: number;
2777
2949
  limit?: number;
2778
2950
  cursor?: string;
@@ -2783,8 +2955,8 @@ export declare class NeynarAPIClient {
2783
2955
  * @summary Reactions for user
2784
2956
  *
2785
2957
  * @param {object} params
2786
- * @param {number} params.fid
2787
- * @param {ReactionsType} params.type - Type of reaction to fetch (likes or recasts or all)
2958
+ * @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
2959
+ * @param {FetchUserReactionsTypeEnum} params.type - Type of reaction to fetch (likes or recasts or all)
2788
2960
  * @param {number} params.viewerFid [optional] - Providing this will return a list of reactions that respects this user's mutes and blocks and includes `viewer_context`.
2789
2961
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
2790
2962
  * @param {string} params.cursor [optional] - Pagination cursor.
@@ -2808,13 +2980,13 @@ export declare class NeynarAPIClient {
2808
2980
  */
2809
2981
  fetchUserReactions(params: {
2810
2982
  fid: number;
2811
- type: ReactionsType;
2983
+ type: FetchUserReactionsTypeEnum;
2812
2984
  viewerFid?: number;
2813
2985
  limit?: number;
2814
2986
  cursor?: string;
2815
2987
  }): Promise<ReactionsResponse>;
2816
2988
  /**
2817
- * Post a reaction (like or recast) to a given cast \\ (In order to post a reaction `signer_uuid` must be approved)
2989
+ * Post a reaction (like or recast) to a given cast (In order to post a reaction `signer_uuid` must be approved)
2818
2990
  *
2819
2991
  * @summary Post a reaction
2820
2992
  *
@@ -2851,7 +3023,7 @@ export declare class NeynarAPIClient {
2851
3023
  idem?: string;
2852
3024
  }): Promise<OperationResponse>;
2853
3025
  /**
2854
- * Creates a signer and returns the signer status. \\ **Note**: While tesing please reuse the signer, it costs money to approve a signer.
3026
+ * Creates a signer and returns the signer status. **Note**: While tesing please reuse the signer, it costs money to approve a signer.
2855
3027
  *
2856
3028
  * @summary Create signer
2857
3029
  *
@@ -2875,7 +3047,7 @@ export declare class NeynarAPIClient {
2875
3047
  *
2876
3048
  * @param {object} params
2877
3049
  * @param {string} params.clientId
2878
- * @param {AuthorizationUrlResponseType} params.responseType
3050
+ * @param {FetchAuthorizationUrlResponseTypeEnum} params.responseType
2879
3051
  *
2880
3052
  * @returns {Promise<AuthorizationUrlResponse>} A promise that resolves to a `AuthorizationUrlResponse` object.
2881
3053
  *
@@ -2894,7 +3066,7 @@ export declare class NeynarAPIClient {
2894
3066
  */
2895
3067
  fetchAuthorizationUrl(params: {
2896
3068
  clientId: string;
2897
- responseType: AuthorizationUrlResponseType;
3069
+ responseType: FetchAuthorizationUrlResponseTypeEnum;
2898
3070
  }): Promise<AuthorizationUrlResponse>;
2899
3071
  /**
2900
3072
  * Fetches a list of signers for a custody address
@@ -2902,7 +3074,7 @@ export declare class NeynarAPIClient {
2902
3074
  * @summary List signers
2903
3075
  *
2904
3076
  * @param {object} params
2905
- * @param {string} params.message - A Sign-In with Ethereum (SIWE) message that the user's Ethereum wallet signs. This message includes details such as the domain, address, statement, URI, nonce, and other relevant information following the EIP-4361 standard. It should be structured and URL-encoded. example: example.com wants you to sign in with your Ethereum account:n0x23A...F232nnSign in to continue.nnURI: example.comnVersion: 1nChain ID: 1nNonce: xyz123nIssued At: 2021-09-01T14:52:07Z Note: This is just an example message (So, message is invalid, since we don't want any signers related to NEYNAR_API_DOCS to be exposed). [Checkout fetch-signers API documentation for more details.](https://docs.neynar.com/docs/fetch-signers-1)
3077
+ * @param {string} params.message - A Sign-In with Ethereum (SIWE) message that the user's Ethereum wallet signs. This message includes details such as the domain, address, statement, URI, nonce, and other relevant information following the EIP-4361 standard. It should be structured and URL-encoded.
2906
3078
  * @param {string} params.signature - The digital signature produced by signing the provided SIWE message with the user's Ethereum private key. This signature is used to verify the authenticity of the message and the identity of the signer.
2907
3079
  *
2908
3080
  * @returns {Promise<SignerListResponse>} A promise that resolves to a `SignerListResponse` object.
@@ -2930,7 +3102,7 @@ export declare class NeynarAPIClient {
2930
3102
  * @summary Status by public key
2931
3103
  *
2932
3104
  * @param {object} params
2933
- * @param {string} params.publicKey
3105
+ * @param {string} params.publicKey - Ed25519 public key
2934
3106
  *
2935
3107
  * @returns {Promise<DeveloperManagedSigner>} A promise that resolves to a `DeveloperManagedSigner` object.
2936
3108
  *
@@ -2955,7 +3127,7 @@ export declare class NeynarAPIClient {
2955
3127
  * @summary Status
2956
3128
  *
2957
3129
  * @param {object} params
2958
- * @param {string} params.signerUuid
3130
+ * @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
2959
3131
  *
2960
3132
  * @returns {Promise<Signer>} A promise that resolves to a `Signer` object.
2961
3133
  *
@@ -3006,10 +3178,10 @@ export declare class NeynarAPIClient {
3006
3178
  *
3007
3179
  * @param {object} params
3008
3180
  * @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
3009
- * @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signers public key
3181
+ * @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer's public key
3010
3182
  * @param {number} params.appFid - The unique identifier of a farcaster user or app (unsigned integer)
3011
3183
  * @param {number} params.deadline - unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)
3012
- * @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
3184
+ * @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
3013
3185
  * @param {SignedKeyRequestSponsor} params.sponsor [optional]
3014
3186
  *
3015
3187
  * @returns {Promise<Signer>} A promise that resolves to a `Signer` object.
@@ -3046,10 +3218,10 @@ export declare class NeynarAPIClient {
3046
3218
  *
3047
3219
  * @param {object} params
3048
3220
  * @param {string} params.publicKey - Ed25519 public key
3049
- * @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signers public key
3221
+ * @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer's public key
3050
3222
  * @param {number} params.appFid - The unique identifier of a farcaster user or app (unsigned integer)
3051
3223
  * @param {number} params.deadline - unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)
3052
- * @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
3224
+ * @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
3053
3225
  * @param {SignedKeyRequestSponsor} params.sponsor [optional]
3054
3226
  *
3055
3227
  * @returns {Promise<DeveloperManagedSigner>} A promise that resolves to a `DeveloperManagedSigner` object.
@@ -3116,7 +3288,7 @@ export declare class NeynarAPIClient {
3116
3288
  * @summary Allocation of user
3117
3289
  *
3118
3290
  * @param {object} params
3119
- * @param {number} params.fid
3291
+ * @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
3120
3292
  *
3121
3293
  * @returns {Promise<StorageAllocationsResponse>} A promise that resolves to a `StorageAllocationsResponse` object.
3122
3294
  *
@@ -3141,7 +3313,7 @@ export declare class NeynarAPIClient {
3141
3313
  * @summary Usage of user
3142
3314
  *
3143
3315
  * @param {object} params
3144
- * @param {number} params.fid
3316
+ * @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
3145
3317
  *
3146
3318
  * @returns {Promise<StorageUsageResponse>} A promise that resolves to a `StorageUsageResponse` object.
3147
3319
  *
@@ -3166,8 +3338,8 @@ export declare class NeynarAPIClient {
3166
3338
  * @summary Subscribed to
3167
3339
  *
3168
3340
  * @param {object} params
3169
- * @param {number} params.fid
3170
- * @param {SubscriptionProvider} params.subscriptionProvider
3341
+ * @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
3342
+ * @param {FetchSubscribedToForFidSubscriptionProviderEnum} params.subscriptionProvider - The provider of the subscription.
3171
3343
  * @param {number} params.viewerFid [optional]
3172
3344
  *
3173
3345
  * @returns {Promise<SubscribedToResponse>} A promise that resolves to a `SubscribedToResponse` object.
@@ -3188,7 +3360,7 @@ export declare class NeynarAPIClient {
3188
3360
  */
3189
3361
  fetchSubscribedToForFid(params: {
3190
3362
  fid: number;
3191
- subscriptionProvider: SubscriptionProvider;
3363
+ subscriptionProvider: FetchSubscribedToForFidSubscriptionProviderEnum;
3192
3364
  viewerFid?: number;
3193
3365
  }): Promise<SubscribedToResponse>;
3194
3366
  /**
@@ -3197,8 +3369,8 @@ export declare class NeynarAPIClient {
3197
3369
  * @summary Subscribers of a user
3198
3370
  *
3199
3371
  * @param {object} params
3200
- * @param {number} params.fid
3201
- * @param {SubscriptionProviders} params.subscriptionProvider
3372
+ * @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
3373
+ * @param {FetchSubscribersForFidSubscriptionProviderEnum} params.subscriptionProvider - The provider of the subscription.
3202
3374
  * @param {number} params.viewerFid [optional]
3203
3375
  *
3204
3376
  * @returns {Promise<SubscribersResponse>} A promise that resolves to a `SubscribersResponse` object.
@@ -3219,7 +3391,7 @@ export declare class NeynarAPIClient {
3219
3391
  */
3220
3392
  fetchSubscribersForFid(params: {
3221
3393
  fid: number;
3222
- subscriptionProvider: SubscriptionProviders;
3394
+ subscriptionProvider: FetchSubscribersForFidSubscriptionProviderEnum;
3223
3395
  viewerFid?: number;
3224
3396
  }): Promise<SubscribersResponse>;
3225
3397
  /**
@@ -3259,8 +3431,8 @@ export declare class NeynarAPIClient {
3259
3431
  * @summary Subscriptions created by FID
3260
3432
  *
3261
3433
  * @param {object} params
3262
- * @param {number} params.fid
3263
- * @param {SubscriptionProvider} params.subscriptionProvider
3434
+ * @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
3435
+ * @param {FetchSubscriptionsForFidSubscriptionProviderEnum} params.subscriptionProvider - The provider of the subscription.
3264
3436
  *
3265
3437
  * @returns {Promise<SubscriptionsResponse>} A promise that resolves to a `SubscriptionsResponse` object.
3266
3438
  *
@@ -3279,10 +3451,10 @@ export declare class NeynarAPIClient {
3279
3451
  */
3280
3452
  fetchSubscriptionsForFid(params: {
3281
3453
  fid: number;
3282
- subscriptionProvider: SubscriptionProvider;
3454
+ subscriptionProvider: FetchSubscriptionsForFidSubscriptionProviderEnum;
3283
3455
  }): Promise<SubscriptionsResponse>;
3284
3456
  /**
3285
- * Removes verification for an eth address for the user \\ (In order to delete verification `signer_uuid` must be approved)
3457
+ * Removes verification for an eth address for the user (In order to delete verification `signer_uuid` must be approved)
3286
3458
  *
3287
3459
  * @summary Delete verification
3288
3460
  *
@@ -3290,6 +3462,7 @@ export declare class NeynarAPIClient {
3290
3462
  * @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
3291
3463
  * @param {string} params.address - Ethereum address
3292
3464
  * @param {string} params.blockHash
3465
+ * @param {string} params.ethSignature
3293
3466
  *
3294
3467
  * @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
3295
3468
  *
@@ -3299,8 +3472,9 @@ export declare class NeynarAPIClient {
3299
3472
  * const signerUuid =
3300
3473
  * const address =
3301
3474
  * const blockHash =
3475
+ * const ethSignature =
3302
3476
  *
3303
- * client.deleteVerification({signerUuid, address, blockHash}).then(response => {
3477
+ * client.deleteVerification({signerUuid, address, blockHash, ethSignature}).then(response => {
3304
3478
  * console.log('response:', response);
3305
3479
  * });
3306
3480
  *
@@ -3311,6 +3485,7 @@ export declare class NeynarAPIClient {
3311
3485
  signerUuid: string;
3312
3486
  address: string;
3313
3487
  blockHash: string;
3488
+ ethSignature: string;
3314
3489
  }): Promise<OperationResponse>;
3315
3490
  /**
3316
3491
  * Fetches information about multiple users based on FIDs
@@ -3347,7 +3522,7 @@ export declare class NeynarAPIClient {
3347
3522
  *
3348
3523
  * @param {object} params
3349
3524
  * @param {string[]} params.addresses - Comma separated list of Ethereum addresses, up to 350 at a time
3350
- * @param {Array<BulkUserAddressType>} params.addressTypes [optional] - Customize which address types the request should search for. This is a comma-separated string that can include the following values: 'custody_address' and 'verified_address'. By default api returns both. To select multiple types, use a comma-separated list of these values.
3525
+ * @param {Array<FetchBulkUsersByEthOrSolAddressAddressTypesEnum>} params.addressTypes [optional] - Customize which address types the request should search for. This is a comma-separated string that can include the following values: 'custody_address' and 'verified_address'. By default api returns both. To select multiple types, use a comma-separated list of these values.
3351
3526
  * @param {number} params.viewerFid [optional]
3352
3527
  *
3353
3528
  * @returns {Promise<BulkUsersByAddressResponse>} A promise that resolves to a `BulkUsersByAddressResponse` object.
@@ -3368,68 +3543,17 @@ export declare class NeynarAPIClient {
3368
3543
  */
3369
3544
  fetchBulkUsersByEthOrSolAddress(params: {
3370
3545
  addresses: string[];
3371
- addressTypes?: Array<BulkUserAddressType>;
3546
+ addressTypes?: Array<FetchBulkUsersByEthOrSolAddressAddressTypesEnum>;
3372
3547
  viewerFid?: number;
3373
3548
  }): Promise<BulkUsersByAddressResponse>;
3374
- /**
3375
- * Fetches power users based on Warpcast power badges. Information is updated once a day.
3376
- *
3377
- * @summary Power users
3378
- *
3379
- * @param {object} params
3380
- * @param {number} params.viewerFid [optional]
3381
- * @param {number} params.limit [optional] - Number of power users to fetch (Default: 25, Maximum: 100)
3382
- * @param {string} params.cursor [optional] - Pagination cursor.
3383
- *
3384
- * @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object.
3385
- *
3386
- * @example
3387
- *
3388
- * // Fill in the appropriate values
3389
- * const viewerFid =
3390
- * const limit =
3391
- *
3392
- * client.fetchPowerUsers({ viewerFid, limit }).then(response => {
3393
- * console.log('response:', response);
3394
- * });
3395
- *
3396
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users)
3397
- *
3398
- */
3399
- fetchPowerUsers(params: {
3400
- viewerFid?: number;
3401
- limit?: number;
3402
- cursor?: string;
3403
- }): Promise<UsersResponse>;
3404
- /**
3405
- * Fetches power users and respond in a backwards compatible format to Warpcast\'s deprecated power badge endpoint.
3406
- *
3407
- * @summary Power user FIDs
3408
- *
3409
- * @param {object} params
3410
- *
3411
- * @returns {Promise<UserPowerLiteResponse>} A promise that resolves to a `UserPowerLiteResponse` object.
3412
- *
3413
- * @example
3414
- *
3415
- * // Fill in the appropriate values
3416
- *
3417
- * client.fetchPowerUsersLite().then(response => {
3418
- * console.log('response:', response);
3419
- * });
3420
- *
3421
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users-lite)
3422
- *
3423
- */
3424
- fetchPowerUsersLite(): Promise<UserPowerLiteResponse>;
3425
3549
  /**
3426
3550
  * Fetches a list of users given a location
3427
3551
  *
3428
3552
  * @summary By location
3429
3553
  *
3430
3554
  * @param {object} params
3431
- * @param {number} params.latitude - Latitude of the location
3432
- * @param {number} params.longitude - Longitude of the location
3555
+ * @param {number | null} params.latitude - Latitude of the location
3556
+ * @param {number | null} params.longitude - Longitude of the location
3433
3557
  * @param {number} params.viewerFid [optional] - FID of the user viewing the feed. Providing this will return a list of users that respects this user's mutes and blocks and includes `viewer_context`.
3434
3558
  * @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
3435
3559
  * @param {string} params.cursor [optional] - Pagination cursor
@@ -3452,14 +3576,14 @@ export declare class NeynarAPIClient {
3452
3576
  *
3453
3577
  */
3454
3578
  fetchUsersByLocation(params: {
3455
- latitude: number;
3456
- longitude: number;
3579
+ latitude: number | null;
3580
+ longitude: number | null;
3457
3581
  viewerFid?: number;
3458
3582
  limit?: number;
3459
3583
  cursor?: string;
3460
3584
  }): Promise<UsersResponse>;
3461
3585
  /**
3462
- * Follow a user \\ (In order to follow a user `signer_uuid` must be approved)
3586
+ * Follow a user (In order to follow a user `signer_uuid` must be approved)
3463
3587
  *
3464
3588
  * @summary Follow user
3465
3589
  *
@@ -3507,6 +3631,36 @@ export declare class NeynarAPIClient {
3507
3631
  *
3508
3632
  */
3509
3633
  getFreshAccountFID(): Promise<UserFIDResponse>;
3634
+ /**
3635
+ * Returns the best friends of a user ranked by mutual affinity score based on interactions with each other.
3636
+ *
3637
+ * @summary Best friends
3638
+ *
3639
+ * @param {object} params
3640
+ * @param {number} params.fid - The FID of the user
3641
+ * @param {number} params.limit [optional] - Number of results to fetch (Default: 3, Maximum: 100)
3642
+ * @param {string} params.cursor [optional] - Pagination cursor
3643
+ *
3644
+ * @returns {Promise<BestFriendsResponse>} A promise that resolves to a `BestFriendsResponse` object.
3645
+ *
3646
+ * @example
3647
+ *
3648
+ * // Fill in the appropriate values
3649
+ * const fid =
3650
+ * const limit =
3651
+ *
3652
+ * client.getUserBestFriends({ fid, limit }).then(response => {
3653
+ * console.log('response:', response);
3654
+ * });
3655
+ *
3656
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-user-best-friends)
3657
+ *
3658
+ */
3659
+ getUserBestFriends(params: {
3660
+ fid: number;
3661
+ limit?: number;
3662
+ cursor?: string;
3663
+ }): Promise<BestFriendsResponse>;
3510
3664
  /**
3511
3665
  * Lookup a user by custody-address
3512
3666
  *
@@ -3589,7 +3743,7 @@ export declare class NeynarAPIClient {
3589
3743
  viewerFid?: number;
3590
3744
  }): Promise<BulkUsersResponse>;
3591
3745
  /**
3592
- * Adds verification for an eth address or contract for the user \\ (In order to add verification `signer_uuid` must be approved)
3746
+ * Adds verification for an eth address or contract for the user (In order to add verification `signer_uuid` must be approved)
3593
3747
  *
3594
3748
  * @summary Add verification
3595
3749
  *
@@ -3629,7 +3783,7 @@ export declare class NeynarAPIClient {
3629
3783
  chainId?: VerificationChainId;
3630
3784
  }): Promise<OperationResponse>;
3631
3785
  /**
3632
- * Register account on farcaster. **Note:** This API must be called within 10 minutes of the fetch FID API call (i.e., /v2/farcaster/user/fid). Otherwise, Neynar will assign this FID to another available user.
3786
+ * Register account on farcaster. **Note:** This API must be called within 10 minutes of the fetch FID API call (i.e., /v2/farcaster/user/fid). Otherwise, Neynar will assign this FID to another available user.
3633
3787
  *
3634
3788
  * @summary Register new account
3635
3789
  *
@@ -3702,7 +3856,7 @@ export declare class NeynarAPIClient {
3702
3856
  cursor?: string;
3703
3857
  }): Promise<UserSearchResponse>;
3704
3858
  /**
3705
- * Unfollow a user \\ (In order to unfollow a user `signer_uuid` must be approved)
3859
+ * Unfollow a user (In order to unfollow a user `signer_uuid` must be approved)
3706
3860
  *
3707
3861
  * @summary Unfollow user
3708
3862
  *
@@ -3730,7 +3884,7 @@ export declare class NeynarAPIClient {
3730
3884
  targetFids: Array<number>;
3731
3885
  }): Promise<BulkFollowResponse>;
3732
3886
  /**
3733
- * Update user profile \\ (In order to update user\'s profile `signer_uuid` must be approved)
3887
+ * Update user profile (In order to update user\'s profile `signer_uuid` must be approved)
3734
3888
  *
3735
3889
  * @summary Update user profile
3736
3890
  *
@@ -3742,6 +3896,7 @@ export declare class NeynarAPIClient {
3742
3896
  * @param {string} params.username [optional]
3743
3897
  * @param {string} params.displayName [optional]
3744
3898
  * @param {UpdateUserReqBodyLocation} params.location [optional]
3899
+ * @param {string} params.banner [optional]
3745
3900
  * @param {UpdateUserReqBodyVerifiedAccounts} params.verifiedAccounts [optional]
3746
3901
  *
3747
3902
  * @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
@@ -3756,9 +3911,10 @@ export declare class NeynarAPIClient {
3756
3911
  * const username =
3757
3912
  * const displayName =
3758
3913
  * const location =
3914
+ * const banner =
3759
3915
  * const verifiedAccounts =
3760
3916
  *
3761
- * client.updateUser({signerUuid, bio, pfpUrl, url, username, displayName, location, verifiedAccounts}).then(response => {
3917
+ * client.updateUser({signerUuid, bio, pfpUrl, url, username, displayName, location, banner, verifiedAccounts}).then(response => {
3762
3918
  * console.log('response:', response);
3763
3919
  * });
3764
3920
  *
@@ -3773,6 +3929,7 @@ export declare class NeynarAPIClient {
3773
3929
  username?: string;
3774
3930
  displayName?: string;
3775
3931
  location?: UpdateUserReqBodyLocation;
3932
+ banner?: string;
3776
3933
  verifiedAccounts?: UpdateUserReqBodyVerifiedAccounts;
3777
3934
  }): Promise<OperationResponse>;
3778
3935
  /**