@neynar/nodejs-sdk 2.46.0 → 3.19.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,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Farcaster API V2
6
- * The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
5
+ * Neynar API
6
+ * The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
7
7
  *
8
- * The version of the OpenAPI document: 2.46.0
8
+ * The version of the OpenAPI document: 3.19.0
9
9
  * Contact: team@neynar.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = void 0;
19
+ exports.FetchBulkUsersByEthOrSolAddressAddressTypesEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  // Some imports not used depending on template conditions
22
22
  // @ts-ignore
@@ -30,7 +30,7 @@ const base_1 = require("../base");
30
30
  const UserApiAxiosParamCreator = function (configuration) {
31
31
  return {
32
32
  /**
33
- * Removes verification for an eth address for the user \\ (In order to delete verification `signer_uuid` must be approved)
33
+ * Removes verification for an eth address for the user (In order to delete verification `signer_uuid` must be approved)
34
34
  * @summary Delete verification
35
35
  * @param {RemoveVerificationReqBody} removeVerificationReqBody
36
36
  * @param {*} [options] Override http request option.
@@ -43,7 +43,7 @@ const UserApiAxiosParamCreator = function (configuration) {
43
43
  deleteVerification: async (removeVerificationReqBody, options = {}) => {
44
44
  // verify required parameter 'removeVerificationReqBody' is not null or undefined
45
45
  (0, common_1.assertParamExists)('deleteVerification', 'removeVerificationReqBody', removeVerificationReqBody);
46
- const localVarPath = `/farcaster/user/verification`;
46
+ const localVarPath = `/v2/farcaster/user/verification/`;
47
47
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
48
48
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
49
49
  let baseOptions;
@@ -69,8 +69,8 @@ const UserApiAxiosParamCreator = function (configuration) {
69
69
  * Fetches information about multiple users based on FIDs
70
70
  * @summary By FIDs
71
71
  * @param {string} fids Comma separated list of FIDs, up to 100 at a time
72
- * @param {number} [viewerFid]
73
72
  * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
73
+ * @param {number} [viewerFid]
74
74
  * @param {*} [options] Override http request option.
75
75
  * @throws {RequiredError}
76
76
  * @returns {Promise<BulkUsersResponse>} A promise that resolves to a `BulkUsersResponse` object
@@ -78,10 +78,10 @@ const UserApiAxiosParamCreator = function (configuration) {
78
78
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-users)
79
79
  *
80
80
  */
81
- fetchBulkUsers: async (fids, viewerFid, xNeynarExperimental, options = {}) => {
81
+ fetchBulkUsers: async (fids, xNeynarExperimental, viewerFid, options = {}) => {
82
82
  // verify required parameter 'fids' is not null or undefined
83
83
  (0, common_1.assertParamExists)('fetchBulkUsers', 'fids', fids);
84
- const localVarPath = `/farcaster/user/bulk`;
84
+ const localVarPath = `/v2/farcaster/user/bulk/`;
85
85
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
86
86
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
87
87
  let baseOptions;
@@ -116,9 +116,9 @@ const UserApiAxiosParamCreator = function (configuration) {
116
116
  * Fetches all users based on multiple Ethereum or Solana addresses. Each farcaster user has a custody Ethereum address and optionally verified Ethereum or Solana addresses. This endpoint returns all users that have any of the given addresses as their custody or verified Ethereum or Solana addresses. A custody address can be associated with only 1 farcaster user at a time but a verified address can be associated with multiple users. You can pass in Ethereum and Solana addresses, comma separated, in the same request. The response will contain users associated with the given addresses.
117
117
  * @summary By Eth or Sol addresses
118
118
  * @param {string} addresses Comma separated list of Ethereum addresses, up to 350 at a time
119
- * @param {Array<BulkUserAddressType>} [addressTypes] Customize which address types the request should search for. This is a comma-separated string that can include the following values: \&#39;custody_address\&#39; and \&#39;verified_address\&#39;. By default api returns both. To select multiple types, use a comma-separated list of these values.
120
- * @param {number} [viewerFid]
121
119
  * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
120
+ * @param {Array<FetchBulkUsersByEthOrSolAddressAddressTypesEnum>} [addressTypes] Customize which address types the request should search for. This is a comma-separated string that can include the following values: \&#39;custody_address\&#39; and \&#39;verified_address\&#39;. By default api returns both. To select multiple types, use a comma-separated list of these values.
121
+ * @param {number} [viewerFid]
122
122
  * @param {*} [options] Override http request option.
123
123
  * @throws {RequiredError}
124
124
  * @returns {Promise<BulkUsersByAddressResponse>} A promise that resolves to a `BulkUsersByAddressResponse` object
@@ -126,10 +126,10 @@ const UserApiAxiosParamCreator = function (configuration) {
126
126
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-users-by-eth-or-sol-address)
127
127
  *
128
128
  */
129
- fetchBulkUsersByEthOrSolAddress: async (addresses, addressTypes, viewerFid, xNeynarExperimental, options = {}) => {
129
+ fetchBulkUsersByEthOrSolAddress: async (addresses, xNeynarExperimental, addressTypes, viewerFid, options = {}) => {
130
130
  // verify required parameter 'addresses' is not null or undefined
131
131
  (0, common_1.assertParamExists)('fetchBulkUsersByEthOrSolAddress', 'addresses', addresses);
132
- const localVarPath = `/farcaster/user/bulk-by-address`;
132
+ const localVarPath = `/v2/farcaster/user/bulk-by-address/`;
133
133
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
134
134
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
135
135
  let baseOptions;
@@ -145,7 +145,7 @@ const UserApiAxiosParamCreator = function (configuration) {
145
145
  localVarQueryParameter['addresses'] = addresses;
146
146
  }
147
147
  if (addressTypes) {
148
- localVarQueryParameter['address_types'] = addressTypes.join(base_1.COLLECTION_FORMATS.csv);
148
+ localVarQueryParameter['address_types'] = addressTypes;
149
149
  }
150
150
  if (viewerFid !== undefined) {
151
151
  localVarQueryParameter['viewer_fid'] = viewerFid;
@@ -163,101 +163,15 @@ const UserApiAxiosParamCreator = function (configuration) {
163
163
  options: localVarRequestOptions,
164
164
  };
165
165
  },
166
- /**
167
- * Fetches power users based on Warpcast power badges. Information is updated once a day.
168
- * @summary Power users
169
- * @param {number} [viewerFid]
170
- * @param {number} [limit] Number of power users to fetch (Default: 25, Maximum: 100)
171
- * @param {string} [cursor] Pagination cursor.
172
- * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
173
- * @param {*} [options] Override http request option.
174
- * @throws {RequiredError}
175
- * @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
176
- *
177
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users)
178
- *
179
- */
180
- fetchPowerUsers: async (viewerFid, limit, cursor, xNeynarExperimental, options = {}) => {
181
- const localVarPath = `/farcaster/user/power`;
182
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
183
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
184
- let baseOptions;
185
- if (configuration) {
186
- baseOptions = configuration.baseOptions;
187
- }
188
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
189
- const localVarHeaderParameter = {};
190
- const localVarQueryParameter = {};
191
- // authentication ApiKeyAuth required
192
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
193
- if (viewerFid !== undefined) {
194
- localVarQueryParameter['viewer_fid'] = viewerFid;
195
- }
196
- if (limit !== undefined) {
197
- localVarQueryParameter['limit'] = limit;
198
- }
199
- if (cursor !== undefined) {
200
- localVarQueryParameter['cursor'] = cursor;
201
- }
202
- if (xNeynarExperimental != null) {
203
- localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
204
- ? xNeynarExperimental
205
- : JSON.stringify(xNeynarExperimental);
206
- }
207
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
208
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
209
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
210
- return {
211
- url: (0, common_1.toPathString)(localVarUrlObj),
212
- options: localVarRequestOptions,
213
- };
214
- },
215
- /**
216
- * Fetches power users and respond in a backwards compatible format to Warpcast\'s deprecated power badge endpoint.
217
- * @summary Power user FIDs
218
- * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
219
- * @param {*} [options] Override http request option.
220
- * @throws {RequiredError}
221
- * @returns {Promise<UserPowerLiteResponse>} A promise that resolves to a `UserPowerLiteResponse` object
222
- *
223
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users-lite)
224
- *
225
- */
226
- fetchPowerUsersLite: async (xNeynarExperimental, options = {}) => {
227
- const localVarPath = `/farcaster/user/power_lite`;
228
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
229
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
230
- let baseOptions;
231
- if (configuration) {
232
- baseOptions = configuration.baseOptions;
233
- }
234
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
235
- const localVarHeaderParameter = {};
236
- const localVarQueryParameter = {};
237
- // authentication ApiKeyAuth required
238
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
239
- if (xNeynarExperimental != null) {
240
- localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
241
- ? xNeynarExperimental
242
- : JSON.stringify(xNeynarExperimental);
243
- }
244
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
245
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
246
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
247
- return {
248
- url: (0, common_1.toPathString)(localVarUrlObj),
249
- options: localVarRequestOptions,
250
- };
251
- },
252
166
  /**
253
167
  * Fetches a list of users given a location
254
168
  * @summary By location
255
- * @param {number} latitude Latitude of the location
256
- * @param {number} longitude Longitude of the location
169
+ * @param {number | null} latitude Latitude of the location
170
+ * @param {number | null} longitude Longitude of the location
171
+ * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
257
172
  * @param {number} [viewerFid] FID of the user viewing the feed. Providing this will return a list of users that respects this user\&#39;s mutes and blocks and includes &#x60;viewer_context&#x60;.
258
173
  * @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
259
174
  * @param {string} [cursor] Pagination cursor
260
- * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
261
175
  * @param {*} [options] Override http request option.
262
176
  * @throws {RequiredError}
263
177
  * @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
@@ -265,12 +179,12 @@ const UserApiAxiosParamCreator = function (configuration) {
265
179
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-users-by-location)
266
180
  *
267
181
  */
268
- fetchUsersByLocation: async (latitude, longitude, viewerFid, limit, cursor, xNeynarExperimental, options = {}) => {
182
+ fetchUsersByLocation: async (latitude, longitude, xNeynarExperimental, viewerFid, limit, cursor, options = {}) => {
269
183
  // verify required parameter 'latitude' is not null or undefined
270
184
  (0, common_1.assertParamExists)('fetchUsersByLocation', 'latitude', latitude);
271
185
  // verify required parameter 'longitude' is not null or undefined
272
186
  (0, common_1.assertParamExists)('fetchUsersByLocation', 'longitude', longitude);
273
- const localVarPath = `/farcaster/user/by_location`;
187
+ const localVarPath = `/v2/farcaster/user/by_location/`;
274
188
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
275
189
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
276
190
  let baseOptions;
@@ -311,7 +225,7 @@ const UserApiAxiosParamCreator = function (configuration) {
311
225
  };
312
226
  },
313
227
  /**
314
- * Follow a user \\ (In order to follow a user `signer_uuid` must be approved)
228
+ * Follow a user (In order to follow a user `signer_uuid` must be approved)
315
229
  * @summary Follow user
316
230
  * @param {FollowReqBody} followReqBody
317
231
  * @param {*} [options] Override http request option.
@@ -324,7 +238,7 @@ const UserApiAxiosParamCreator = function (configuration) {
324
238
  followUser: async (followReqBody, options = {}) => {
325
239
  // verify required parameter 'followReqBody' is not null or undefined
326
240
  (0, common_1.assertParamExists)('followUser', 'followReqBody', followReqBody);
327
- const localVarPath = `/farcaster/user/follow`;
241
+ const localVarPath = `/v2/farcaster/user/follow/`;
328
242
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
329
243
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
330
244
  let baseOptions;
@@ -358,7 +272,7 @@ const UserApiAxiosParamCreator = function (configuration) {
358
272
  *
359
273
  */
360
274
  getFreshAccountFID: async (xNeynarExperimental, options = {}) => {
361
- const localVarPath = `/farcaster/user/fid`;
275
+ const localVarPath = `/v2/farcaster/user/fid/`;
362
276
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
363
277
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
364
278
  let baseOptions;
@@ -383,6 +297,51 @@ const UserApiAxiosParamCreator = function (configuration) {
383
297
  options: localVarRequestOptions,
384
298
  };
385
299
  },
300
+ /**
301
+ * Returns the best friends of a user ranked by mutual affinity score based on interactions with each other.
302
+ * @summary Best friends
303
+ * @param {number} fid The FID of the user
304
+ * @param {number} [limit] Number of results to fetch (Default: 3, Maximum: 100)
305
+ * @param {string} [cursor] Pagination cursor
306
+ * @param {*} [options] Override http request option.
307
+ * @throws {RequiredError}
308
+ * @returns {Promise<BestFriendsResponse>} A promise that resolves to a `BestFriendsResponse` object
309
+ *
310
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-user-best-friends)
311
+ *
312
+ */
313
+ getUserBestFriends: async (fid, limit, cursor, options = {}) => {
314
+ // verify required parameter 'fid' is not null or undefined
315
+ (0, common_1.assertParamExists)('getUserBestFriends', 'fid', fid);
316
+ const localVarPath = `/v2/farcaster/user/best_friends/`;
317
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
318
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
319
+ let baseOptions;
320
+ if (configuration) {
321
+ baseOptions = configuration.baseOptions;
322
+ }
323
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
324
+ const localVarHeaderParameter = {};
325
+ const localVarQueryParameter = {};
326
+ // authentication ApiKeyAuth required
327
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
328
+ if (fid !== undefined) {
329
+ localVarQueryParameter['fid'] = fid;
330
+ }
331
+ if (limit !== undefined) {
332
+ localVarQueryParameter['limit'] = limit;
333
+ }
334
+ if (cursor !== undefined) {
335
+ localVarQueryParameter['cursor'] = cursor;
336
+ }
337
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
338
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
339
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
340
+ return {
341
+ url: (0, common_1.toPathString)(localVarUrlObj),
342
+ options: localVarRequestOptions,
343
+ };
344
+ },
386
345
  /**
387
346
  * Lookup a user by custody-address
388
347
  * @summary By custody-address
@@ -397,7 +356,7 @@ const UserApiAxiosParamCreator = function (configuration) {
397
356
  lookupUserByCustodyAddress: async (custodyAddress, options = {}) => {
398
357
  // verify required parameter 'custodyAddress' is not null or undefined
399
358
  (0, common_1.assertParamExists)('lookupUserByCustodyAddress', 'custodyAddress', custodyAddress);
400
- const localVarPath = `/farcaster/user/custody-address`;
359
+ const localVarPath = `/v2/farcaster/user/custody-address/`;
401
360
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
402
361
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
403
362
  let baseOptions;
@@ -424,8 +383,8 @@ const UserApiAxiosParamCreator = function (configuration) {
424
383
  * Fetches a single hydrated user object given a username
425
384
  * @summary By username
426
385
  * @param {string} username Username of the user to fetch
427
- * @param {number} [viewerFid]
428
386
  * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
387
+ * @param {number} [viewerFid]
429
388
  * @param {*} [options] Override http request option.
430
389
  * @throws {RequiredError}
431
390
  * @returns {Promise<UserResponse>} A promise that resolves to a `UserResponse` object
@@ -433,10 +392,10 @@ const UserApiAxiosParamCreator = function (configuration) {
433
392
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-user-by-username)
434
393
  *
435
394
  */
436
- lookupUserByUsername: async (username, viewerFid, xNeynarExperimental, options = {}) => {
395
+ lookupUserByUsername: async (username, xNeynarExperimental, viewerFid, options = {}) => {
437
396
  // verify required parameter 'username' is not null or undefined
438
397
  (0, common_1.assertParamExists)('lookupUserByUsername', 'username', username);
439
- const localVarPath = `/farcaster/user/by_username`;
398
+ const localVarPath = `/v2/farcaster/user/by_username/`;
440
399
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
441
400
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
442
401
  let baseOptions;
@@ -471,8 +430,8 @@ const UserApiAxiosParamCreator = function (configuration) {
471
430
  * Fetches the users who have verified the specified X (Twitter) username
472
431
  * @summary By X username
473
432
  * @param {string} xUsername X (Twitter) username to search for, without the @ symbol
474
- * @param {number} [viewerFid] FID of the viewer for contextual information like follows and blocks
475
433
  * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
434
+ * @param {number} [viewerFid] FID of the viewer for contextual information like follows and blocks
476
435
  * @param {*} [options] Override http request option.
477
436
  * @throws {RequiredError}
478
437
  * @returns {Promise<BulkUsersResponse>} A promise that resolves to a `BulkUsersResponse` object
@@ -480,10 +439,10 @@ const UserApiAxiosParamCreator = function (configuration) {
480
439
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-users-by-x-username)
481
440
  *
482
441
  */
483
- lookupUsersByXUsername: async (xUsername, viewerFid, xNeynarExperimental, options = {}) => {
442
+ lookupUsersByXUsername: async (xUsername, xNeynarExperimental, viewerFid, options = {}) => {
484
443
  // verify required parameter 'xUsername' is not null or undefined
485
444
  (0, common_1.assertParamExists)('lookupUsersByXUsername', 'xUsername', xUsername);
486
- const localVarPath = `/farcaster/user/by_x_username`;
445
+ const localVarPath = `/v2/farcaster/user/by_x_username/`;
487
446
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
488
447
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
489
448
  let baseOptions;
@@ -515,7 +474,7 @@ const UserApiAxiosParamCreator = function (configuration) {
515
474
  };
516
475
  },
517
476
  /**
518
- * Adds verification for an eth address or contract for the user \\ (In order to add verification `signer_uuid` must be approved)
477
+ * Adds verification for an eth address or contract for the user (In order to add verification `signer_uuid` must be approved)
519
478
  * @summary Add verification
520
479
  * @param {AddVerificationReqBody} addVerificationReqBody
521
480
  * @param {*} [options] Override http request option.
@@ -528,7 +487,7 @@ const UserApiAxiosParamCreator = function (configuration) {
528
487
  publishVerification: async (addVerificationReqBody, options = {}) => {
529
488
  // verify required parameter 'addVerificationReqBody' is not null or undefined
530
489
  (0, common_1.assertParamExists)('publishVerification', 'addVerificationReqBody', addVerificationReqBody);
531
- const localVarPath = `/farcaster/user/verification`;
490
+ const localVarPath = `/v2/farcaster/user/verification/`;
532
491
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
533
492
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
534
493
  let baseOptions;
@@ -551,7 +510,7 @@ const UserApiAxiosParamCreator = function (configuration) {
551
510
  };
552
511
  },
553
512
  /**
554
- * 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.
513
+ * 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.
555
514
  * @summary Register new account
556
515
  * @param {RegisterUserReqBody} registerUserReqBody
557
516
  * @param {*} [options] Override http request option.
@@ -564,7 +523,7 @@ const UserApiAxiosParamCreator = function (configuration) {
564
523
  registerAccount: async (registerUserReqBody, options = {}) => {
565
524
  // verify required parameter 'registerUserReqBody' is not null or undefined
566
525
  (0, common_1.assertParamExists)('registerAccount', 'registerUserReqBody', registerUserReqBody);
567
- const localVarPath = `/farcaster/user`;
526
+ const localVarPath = `/v2/farcaster/user/`;
568
527
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
569
528
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
570
529
  let baseOptions;
@@ -590,10 +549,10 @@ const UserApiAxiosParamCreator = function (configuration) {
590
549
  * Search for Usernames
591
550
  * @summary Search for Usernames
592
551
  * @param {string} q
552
+ * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
593
553
  * @param {number} [viewerFid] Providing this will return search results that respects this user\&#39;s mutes and blocks and includes &#x60;viewer_context&#x60;.
594
554
  * @param {number} [limit] Number of users to fetch (Default: 5, Maximum: 10)
595
555
  * @param {string} [cursor] Pagination cursor.
596
- * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
597
556
  * @param {*} [options] Override http request option.
598
557
  * @throws {RequiredError}
599
558
  * @returns {Promise<UserSearchResponse>} A promise that resolves to a `UserSearchResponse` object
@@ -601,10 +560,10 @@ const UserApiAxiosParamCreator = function (configuration) {
601
560
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-user)
602
561
  *
603
562
  */
604
- searchUser: async (q, viewerFid, limit, cursor, xNeynarExperimental, options = {}) => {
563
+ searchUser: async (q, xNeynarExperimental, viewerFid, limit, cursor, options = {}) => {
605
564
  // verify required parameter 'q' is not null or undefined
606
565
  (0, common_1.assertParamExists)('searchUser', 'q', q);
607
- const localVarPath = `/farcaster/user/search`;
566
+ const localVarPath = `/v2/farcaster/user/search/`;
608
567
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
609
568
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
610
569
  let baseOptions;
@@ -642,7 +601,7 @@ const UserApiAxiosParamCreator = function (configuration) {
642
601
  };
643
602
  },
644
603
  /**
645
- * Unfollow a user \\ (In order to unfollow a user `signer_uuid` must be approved)
604
+ * Unfollow a user (In order to unfollow a user `signer_uuid` must be approved)
646
605
  * @summary Unfollow user
647
606
  * @param {FollowReqBody} followReqBody
648
607
  * @param {*} [options] Override http request option.
@@ -655,7 +614,7 @@ const UserApiAxiosParamCreator = function (configuration) {
655
614
  unfollowUser: async (followReqBody, options = {}) => {
656
615
  // verify required parameter 'followReqBody' is not null or undefined
657
616
  (0, common_1.assertParamExists)('unfollowUser', 'followReqBody', followReqBody);
658
- const localVarPath = `/farcaster/user/follow`;
617
+ const localVarPath = `/v2/farcaster/user/follow/`;
659
618
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
660
619
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
661
620
  let baseOptions;
@@ -678,7 +637,7 @@ const UserApiAxiosParamCreator = function (configuration) {
678
637
  };
679
638
  },
680
639
  /**
681
- * Update user profile \\ (In order to update user\'s profile `signer_uuid` must be approved)
640
+ * Update user profile (In order to update user\'s profile `signer_uuid` must be approved)
682
641
  * @summary Update user profile
683
642
  * @param {UpdateUserReqBody} updateUserReqBody
684
643
  * @param {*} [options] Override http request option.
@@ -691,7 +650,7 @@ const UserApiAxiosParamCreator = function (configuration) {
691
650
  updateUser: async (updateUserReqBody, options = {}) => {
692
651
  // verify required parameter 'updateUserReqBody' is not null or undefined
693
652
  (0, common_1.assertParamExists)('updateUser', 'updateUserReqBody', updateUserReqBody);
694
- const localVarPath = `/farcaster/user`;
653
+ const localVarPath = `/v2/farcaster/user/`;
695
654
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
696
655
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
697
656
  let baseOptions;
@@ -724,7 +683,7 @@ const UserApiFp = function (configuration) {
724
683
  const localVarAxiosParamCreator = (0, exports.UserApiAxiosParamCreator)(configuration);
725
684
  return {
726
685
  /**
727
- * Removes verification for an eth address for the user \\ (In order to delete verification `signer_uuid` must be approved)
686
+ * Removes verification for an eth address for the user (In order to delete verification `signer_uuid` must be approved)
728
687
  * @summary Delete verification
729
688
  * @param {RemoveVerificationReqBody} removeVerificationReqBody
730
689
  * @param {*} [options] Override http request option.
@@ -745,8 +704,8 @@ const UserApiFp = function (configuration) {
745
704
  * Fetches information about multiple users based on FIDs
746
705
  * @summary By FIDs
747
706
  * @param {string} fids Comma separated list of FIDs, up to 100 at a time
748
- * @param {number} [viewerFid]
749
707
  * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
708
+ * @param {number} [viewerFid]
750
709
  * @param {*} [options] Override http request option.
751
710
  * @throws {RequiredError}
752
711
  * @returns {Promise<BulkUsersResponse>} A promise that resolves to a `BulkUsersResponse` object
@@ -754,9 +713,9 @@ const UserApiFp = function (configuration) {
754
713
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-users)
755
714
  *
756
715
  */
757
- async fetchBulkUsers(fids, viewerFid, xNeynarExperimental, options) {
716
+ async fetchBulkUsers(fids, xNeynarExperimental, viewerFid, options) {
758
717
  var _a, _b, _c;
759
- const localVarAxiosArgs = await localVarAxiosParamCreator.fetchBulkUsers(fids, viewerFid, xNeynarExperimental, options);
718
+ const localVarAxiosArgs = await localVarAxiosParamCreator.fetchBulkUsers(fids, xNeynarExperimental, viewerFid, options);
760
719
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
761
720
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.fetchBulkUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
762
721
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -765,9 +724,9 @@ const UserApiFp = function (configuration) {
765
724
  * Fetches all users based on multiple Ethereum or Solana addresses. Each farcaster user has a custody Ethereum address and optionally verified Ethereum or Solana addresses. This endpoint returns all users that have any of the given addresses as their custody or verified Ethereum or Solana addresses. A custody address can be associated with only 1 farcaster user at a time but a verified address can be associated with multiple users. You can pass in Ethereum and Solana addresses, comma separated, in the same request. The response will contain users associated with the given addresses.
766
725
  * @summary By Eth or Sol addresses
767
726
  * @param {string} addresses Comma separated list of Ethereum addresses, up to 350 at a time
768
- * @param {Array<BulkUserAddressType>} [addressTypes] Customize which address types the request should search for. This is a comma-separated string that can include the following values: \&#39;custody_address\&#39; and \&#39;verified_address\&#39;. By default api returns both. To select multiple types, use a comma-separated list of these values.
769
- * @param {number} [viewerFid]
770
727
  * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
728
+ * @param {Array<FetchBulkUsersByEthOrSolAddressAddressTypesEnum>} [addressTypes] Customize which address types the request should search for. This is a comma-separated string that can include the following values: \&#39;custody_address\&#39; and \&#39;verified_address\&#39;. By default api returns both. To select multiple types, use a comma-separated list of these values.
729
+ * @param {number} [viewerFid]
771
730
  * @param {*} [options] Override http request option.
772
731
  * @throws {RequiredError}
773
732
  * @returns {Promise<BulkUsersByAddressResponse>} A promise that resolves to a `BulkUsersByAddressResponse` object
@@ -775,61 +734,22 @@ const UserApiFp = function (configuration) {
775
734
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-users-by-eth-or-sol-address)
776
735
  *
777
736
  */
778
- async fetchBulkUsersByEthOrSolAddress(addresses, addressTypes, viewerFid, xNeynarExperimental, options) {
737
+ async fetchBulkUsersByEthOrSolAddress(addresses, xNeynarExperimental, addressTypes, viewerFid, options) {
779
738
  var _a, _b, _c;
780
- const localVarAxiosArgs = await localVarAxiosParamCreator.fetchBulkUsersByEthOrSolAddress(addresses, addressTypes, viewerFid, xNeynarExperimental, options);
739
+ const localVarAxiosArgs = await localVarAxiosParamCreator.fetchBulkUsersByEthOrSolAddress(addresses, xNeynarExperimental, addressTypes, viewerFid, options);
781
740
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
782
741
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.fetchBulkUsersByEthOrSolAddress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
783
742
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
784
743
  },
785
- /**
786
- * Fetches power users based on Warpcast power badges. Information is updated once a day.
787
- * @summary Power users
788
- * @param {number} [viewerFid]
789
- * @param {number} [limit] Number of power users to fetch (Default: 25, Maximum: 100)
790
- * @param {string} [cursor] Pagination cursor.
791
- * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
792
- * @param {*} [options] Override http request option.
793
- * @throws {RequiredError}
794
- * @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
795
- *
796
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users)
797
- *
798
- */
799
- async fetchPowerUsers(viewerFid, limit, cursor, xNeynarExperimental, options) {
800
- var _a, _b, _c;
801
- const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPowerUsers(viewerFid, limit, cursor, xNeynarExperimental, options);
802
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
803
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.fetchPowerUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
804
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
805
- },
806
- /**
807
- * Fetches power users and respond in a backwards compatible format to Warpcast\'s deprecated power badge endpoint.
808
- * @summary Power user FIDs
809
- * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
810
- * @param {*} [options] Override http request option.
811
- * @throws {RequiredError}
812
- * @returns {Promise<UserPowerLiteResponse>} A promise that resolves to a `UserPowerLiteResponse` object
813
- *
814
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users-lite)
815
- *
816
- */
817
- async fetchPowerUsersLite(xNeynarExperimental, options) {
818
- var _a, _b, _c;
819
- const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPowerUsersLite(xNeynarExperimental, options);
820
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
821
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.fetchPowerUsersLite']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
822
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
823
- },
824
744
  /**
825
745
  * Fetches a list of users given a location
826
746
  * @summary By location
827
- * @param {number} latitude Latitude of the location
828
- * @param {number} longitude Longitude of the location
747
+ * @param {number | null} latitude Latitude of the location
748
+ * @param {number | null} longitude Longitude of the location
749
+ * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
829
750
  * @param {number} [viewerFid] FID of the user viewing the feed. Providing this will return a list of users that respects this user\&#39;s mutes and blocks and includes &#x60;viewer_context&#x60;.
830
751
  * @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
831
752
  * @param {string} [cursor] Pagination cursor
832
- * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
833
753
  * @param {*} [options] Override http request option.
834
754
  * @throws {RequiredError}
835
755
  * @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
@@ -837,15 +757,15 @@ const UserApiFp = function (configuration) {
837
757
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-users-by-location)
838
758
  *
839
759
  */
840
- async fetchUsersByLocation(latitude, longitude, viewerFid, limit, cursor, xNeynarExperimental, options) {
760
+ async fetchUsersByLocation(latitude, longitude, xNeynarExperimental, viewerFid, limit, cursor, options) {
841
761
  var _a, _b, _c;
842
- const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUsersByLocation(latitude, longitude, viewerFid, limit, cursor, xNeynarExperimental, options);
762
+ const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUsersByLocation(latitude, longitude, xNeynarExperimental, viewerFid, limit, cursor, options);
843
763
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
844
764
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.fetchUsersByLocation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
845
765
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
846
766
  },
847
767
  /**
848
- * Follow a user \\ (In order to follow a user `signer_uuid` must be approved)
768
+ * Follow a user (In order to follow a user `signer_uuid` must be approved)
849
769
  * @summary Follow user
850
770
  * @param {FollowReqBody} followReqBody
851
771
  * @param {*} [options] Override http request option.
@@ -880,6 +800,26 @@ const UserApiFp = function (configuration) {
880
800
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.getFreshAccountFID']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
881
801
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
882
802
  },
803
+ /**
804
+ * Returns the best friends of a user ranked by mutual affinity score based on interactions with each other.
805
+ * @summary Best friends
806
+ * @param {number} fid The FID of the user
807
+ * @param {number} [limit] Number of results to fetch (Default: 3, Maximum: 100)
808
+ * @param {string} [cursor] Pagination cursor
809
+ * @param {*} [options] Override http request option.
810
+ * @throws {RequiredError}
811
+ * @returns {Promise<BestFriendsResponse>} A promise that resolves to a `BestFriendsResponse` object
812
+ *
813
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-user-best-friends)
814
+ *
815
+ */
816
+ async getUserBestFriends(fid, limit, cursor, options) {
817
+ var _a, _b, _c;
818
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserBestFriends(fid, limit, cursor, options);
819
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
820
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.getUserBestFriends']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
821
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
822
+ },
883
823
  /**
884
824
  * Lookup a user by custody-address
885
825
  * @summary By custody-address
@@ -902,8 +842,8 @@ const UserApiFp = function (configuration) {
902
842
  * Fetches a single hydrated user object given a username
903
843
  * @summary By username
904
844
  * @param {string} username Username of the user to fetch
905
- * @param {number} [viewerFid]
906
845
  * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
846
+ * @param {number} [viewerFid]
907
847
  * @param {*} [options] Override http request option.
908
848
  * @throws {RequiredError}
909
849
  * @returns {Promise<UserResponse>} A promise that resolves to a `UserResponse` object
@@ -911,9 +851,9 @@ const UserApiFp = function (configuration) {
911
851
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-user-by-username)
912
852
  *
913
853
  */
914
- async lookupUserByUsername(username, viewerFid, xNeynarExperimental, options) {
854
+ async lookupUserByUsername(username, xNeynarExperimental, viewerFid, options) {
915
855
  var _a, _b, _c;
916
- const localVarAxiosArgs = await localVarAxiosParamCreator.lookupUserByUsername(username, viewerFid, xNeynarExperimental, options);
856
+ const localVarAxiosArgs = await localVarAxiosParamCreator.lookupUserByUsername(username, xNeynarExperimental, viewerFid, options);
917
857
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
918
858
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.lookupUserByUsername']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
919
859
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -922,8 +862,8 @@ const UserApiFp = function (configuration) {
922
862
  * Fetches the users who have verified the specified X (Twitter) username
923
863
  * @summary By X username
924
864
  * @param {string} xUsername X (Twitter) username to search for, without the @ symbol
925
- * @param {number} [viewerFid] FID of the viewer for contextual information like follows and blocks
926
865
  * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
866
+ * @param {number} [viewerFid] FID of the viewer for contextual information like follows and blocks
927
867
  * @param {*} [options] Override http request option.
928
868
  * @throws {RequiredError}
929
869
  * @returns {Promise<BulkUsersResponse>} A promise that resolves to a `BulkUsersResponse` object
@@ -931,15 +871,15 @@ const UserApiFp = function (configuration) {
931
871
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-users-by-x-username)
932
872
  *
933
873
  */
934
- async lookupUsersByXUsername(xUsername, viewerFid, xNeynarExperimental, options) {
874
+ async lookupUsersByXUsername(xUsername, xNeynarExperimental, viewerFid, options) {
935
875
  var _a, _b, _c;
936
- const localVarAxiosArgs = await localVarAxiosParamCreator.lookupUsersByXUsername(xUsername, viewerFid, xNeynarExperimental, options);
876
+ const localVarAxiosArgs = await localVarAxiosParamCreator.lookupUsersByXUsername(xUsername, xNeynarExperimental, viewerFid, options);
937
877
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
938
878
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.lookupUsersByXUsername']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
939
879
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
940
880
  },
941
881
  /**
942
- * Adds verification for an eth address or contract for the user \\ (In order to add verification `signer_uuid` must be approved)
882
+ * Adds verification for an eth address or contract for the user (In order to add verification `signer_uuid` must be approved)
943
883
  * @summary Add verification
944
884
  * @param {AddVerificationReqBody} addVerificationReqBody
945
885
  * @param {*} [options] Override http request option.
@@ -957,7 +897,7 @@ const UserApiFp = function (configuration) {
957
897
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
958
898
  },
959
899
  /**
960
- * 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.
900
+ * 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.
961
901
  * @summary Register new account
962
902
  * @param {RegisterUserReqBody} registerUserReqBody
963
903
  * @param {*} [options] Override http request option.
@@ -978,10 +918,10 @@ const UserApiFp = function (configuration) {
978
918
  * Search for Usernames
979
919
  * @summary Search for Usernames
980
920
  * @param {string} q
921
+ * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
981
922
  * @param {number} [viewerFid] Providing this will return search results that respects this user\&#39;s mutes and blocks and includes &#x60;viewer_context&#x60;.
982
923
  * @param {number} [limit] Number of users to fetch (Default: 5, Maximum: 10)
983
924
  * @param {string} [cursor] Pagination cursor.
984
- * @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
985
925
  * @param {*} [options] Override http request option.
986
926
  * @throws {RequiredError}
987
927
  * @returns {Promise<UserSearchResponse>} A promise that resolves to a `UserSearchResponse` object
@@ -989,15 +929,15 @@ const UserApiFp = function (configuration) {
989
929
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-user)
990
930
  *
991
931
  */
992
- async searchUser(q, viewerFid, limit, cursor, xNeynarExperimental, options) {
932
+ async searchUser(q, xNeynarExperimental, viewerFid, limit, cursor, options) {
993
933
  var _a, _b, _c;
994
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchUser(q, viewerFid, limit, cursor, xNeynarExperimental, options);
934
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchUser(q, xNeynarExperimental, viewerFid, limit, cursor, options);
995
935
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
996
936
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.searchUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
997
937
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
998
938
  },
999
939
  /**
1000
- * Unfollow a user \\ (In order to unfollow a user `signer_uuid` must be approved)
940
+ * Unfollow a user (In order to unfollow a user `signer_uuid` must be approved)
1001
941
  * @summary Unfollow user
1002
942
  * @param {FollowReqBody} followReqBody
1003
943
  * @param {*} [options] Override http request option.
@@ -1015,7 +955,7 @@ const UserApiFp = function (configuration) {
1015
955
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1016
956
  },
1017
957
  /**
1018
- * Update user profile \\ (In order to update user\'s profile `signer_uuid` must be approved)
958
+ * Update user profile (In order to update user\'s profile `signer_uuid` must be approved)
1019
959
  * @summary Update user profile
1020
960
  * @param {UpdateUserReqBody} updateUserReqBody
1021
961
  * @param {*} [options] Override http request option.
@@ -1043,7 +983,7 @@ const UserApiFactory = function (configuration, basePath, axios) {
1043
983
  const localVarFp = (0, exports.UserApiFp)(configuration);
1044
984
  return {
1045
985
  /**
1046
- * Removes verification for an eth address for the user \\ (In order to delete verification `signer_uuid` must be approved)
986
+ * Removes verification for an eth address for the user (In order to delete verification `signer_uuid` must be approved)
1047
987
  * @summary Delete verification
1048
988
  * @param {UserApiDeleteVerificationRequest} requestParameters Request parameters.
1049
989
  * @param {*} [options] Override http request option.
@@ -1068,7 +1008,7 @@ const UserApiFactory = function (configuration, basePath, axios) {
1068
1008
  *
1069
1009
  */
1070
1010
  fetchBulkUsers(requestParameters, options) {
1071
- return localVarFp.fetchBulkUsers(requestParameters.fids, requestParameters.viewerFid, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
1011
+ return localVarFp.fetchBulkUsers(requestParameters.fids, requestParameters.xNeynarExperimental, requestParameters.viewerFid, options).then((request) => request(axios, basePath));
1072
1012
  },
1073
1013
  /**
1074
1014
  * Fetches all users based on multiple Ethereum or Solana addresses. Each farcaster user has a custody Ethereum address and optionally verified Ethereum or Solana addresses. This endpoint returns all users that have any of the given addresses as their custody or verified Ethereum or Solana addresses. A custody address can be associated with only 1 farcaster user at a time but a verified address can be associated with multiple users. You can pass in Ethereum and Solana addresses, comma separated, in the same request. The response will contain users associated with the given addresses.
@@ -1082,35 +1022,7 @@ const UserApiFactory = function (configuration, basePath, axios) {
1082
1022
  *
1083
1023
  */
1084
1024
  fetchBulkUsersByEthOrSolAddress(requestParameters, options) {
1085
- return localVarFp.fetchBulkUsersByEthOrSolAddress(requestParameters.addresses, requestParameters.addressTypes, requestParameters.viewerFid, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
1086
- },
1087
- /**
1088
- * Fetches power users based on Warpcast power badges. Information is updated once a day.
1089
- * @summary Power users
1090
- * @param {UserApiFetchPowerUsersRequest} requestParameters Request parameters.
1091
- * @param {*} [options] Override http request option.
1092
- * @throws {RequiredError}
1093
- * @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
1094
- *
1095
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users)
1096
- *
1097
- */
1098
- fetchPowerUsers(requestParameters = {}, options) {
1099
- return localVarFp.fetchPowerUsers(requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
1100
- },
1101
- /**
1102
- * Fetches power users and respond in a backwards compatible format to Warpcast\'s deprecated power badge endpoint.
1103
- * @summary Power user FIDs
1104
- * @param {UserApiFetchPowerUsersLiteRequest} requestParameters Request parameters.
1105
- * @param {*} [options] Override http request option.
1106
- * @throws {RequiredError}
1107
- * @returns {Promise<UserPowerLiteResponse>} A promise that resolves to a `UserPowerLiteResponse` object
1108
- *
1109
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users-lite)
1110
- *
1111
- */
1112
- fetchPowerUsersLite(requestParameters = {}, options) {
1113
- return localVarFp.fetchPowerUsersLite(requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
1025
+ return localVarFp.fetchBulkUsersByEthOrSolAddress(requestParameters.addresses, requestParameters.xNeynarExperimental, requestParameters.addressTypes, requestParameters.viewerFid, options).then((request) => request(axios, basePath));
1114
1026
  },
1115
1027
  /**
1116
1028
  * Fetches a list of users given a location
@@ -1124,10 +1036,10 @@ const UserApiFactory = function (configuration, basePath, axios) {
1124
1036
  *
1125
1037
  */
1126
1038
  fetchUsersByLocation(requestParameters, options) {
1127
- return localVarFp.fetchUsersByLocation(requestParameters.latitude, requestParameters.longitude, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
1039
+ return localVarFp.fetchUsersByLocation(requestParameters.latitude, requestParameters.longitude, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
1128
1040
  },
1129
1041
  /**
1130
- * Follow a user \\ (In order to follow a user `signer_uuid` must be approved)
1042
+ * Follow a user (In order to follow a user `signer_uuid` must be approved)
1131
1043
  * @summary Follow user
1132
1044
  * @param {UserApiFollowUserRequest} requestParameters Request parameters.
1133
1045
  * @param {*} [options] Override http request option.
@@ -1154,6 +1066,20 @@ const UserApiFactory = function (configuration, basePath, axios) {
1154
1066
  getFreshAccountFID(requestParameters = {}, options) {
1155
1067
  return localVarFp.getFreshAccountFID(requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
1156
1068
  },
1069
+ /**
1070
+ * Returns the best friends of a user ranked by mutual affinity score based on interactions with each other.
1071
+ * @summary Best friends
1072
+ * @param {UserApiGetUserBestFriendsRequest} requestParameters Request parameters.
1073
+ * @param {*} [options] Override http request option.
1074
+ * @throws {RequiredError}
1075
+ * @returns {Promise<BestFriendsResponse>} A promise that resolves to a `BestFriendsResponse` object
1076
+ *
1077
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-user-best-friends)
1078
+ *
1079
+ */
1080
+ getUserBestFriends(requestParameters, options) {
1081
+ return localVarFp.getUserBestFriends(requestParameters.fid, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
1082
+ },
1157
1083
  /**
1158
1084
  * Lookup a user by custody-address
1159
1085
  * @summary By custody-address
@@ -1180,7 +1106,7 @@ const UserApiFactory = function (configuration, basePath, axios) {
1180
1106
  *
1181
1107
  */
1182
1108
  lookupUserByUsername(requestParameters, options) {
1183
- return localVarFp.lookupUserByUsername(requestParameters.username, requestParameters.viewerFid, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
1109
+ return localVarFp.lookupUserByUsername(requestParameters.username, requestParameters.xNeynarExperimental, requestParameters.viewerFid, options).then((request) => request(axios, basePath));
1184
1110
  },
1185
1111
  /**
1186
1112
  * Fetches the users who have verified the specified X (Twitter) username
@@ -1194,10 +1120,10 @@ const UserApiFactory = function (configuration, basePath, axios) {
1194
1120
  *
1195
1121
  */
1196
1122
  lookupUsersByXUsername(requestParameters, options) {
1197
- return localVarFp.lookupUsersByXUsername(requestParameters.xUsername, requestParameters.viewerFid, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
1123
+ return localVarFp.lookupUsersByXUsername(requestParameters.xUsername, requestParameters.xNeynarExperimental, requestParameters.viewerFid, options).then((request) => request(axios, basePath));
1198
1124
  },
1199
1125
  /**
1200
- * Adds verification for an eth address or contract for the user \\ (In order to add verification `signer_uuid` must be approved)
1126
+ * Adds verification for an eth address or contract for the user (In order to add verification `signer_uuid` must be approved)
1201
1127
  * @summary Add verification
1202
1128
  * @param {UserApiPublishVerificationRequest} requestParameters Request parameters.
1203
1129
  * @param {*} [options] Override http request option.
@@ -1211,7 +1137,7 @@ const UserApiFactory = function (configuration, basePath, axios) {
1211
1137
  return localVarFp.publishVerification(requestParameters.addVerificationReqBody, options).then((request) => request(axios, basePath));
1212
1138
  },
1213
1139
  /**
1214
- * 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.
1140
+ * 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.
1215
1141
  * @summary Register new account
1216
1142
  * @param {UserApiRegisterAccountRequest} requestParameters Request parameters.
1217
1143
  * @param {*} [options] Override http request option.
@@ -1236,10 +1162,10 @@ const UserApiFactory = function (configuration, basePath, axios) {
1236
1162
  *
1237
1163
  */
1238
1164
  searchUser(requestParameters, options) {
1239
- return localVarFp.searchUser(requestParameters.q, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
1165
+ return localVarFp.searchUser(requestParameters.q, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
1240
1166
  },
1241
1167
  /**
1242
- * Unfollow a user \\ (In order to unfollow a user `signer_uuid` must be approved)
1168
+ * Unfollow a user (In order to unfollow a user `signer_uuid` must be approved)
1243
1169
  * @summary Unfollow user
1244
1170
  * @param {UserApiUnfollowUserRequest} requestParameters Request parameters.
1245
1171
  * @param {*} [options] Override http request option.
@@ -1253,7 +1179,7 @@ const UserApiFactory = function (configuration, basePath, axios) {
1253
1179
  return localVarFp.unfollowUser(requestParameters.followReqBody, options).then((request) => request(axios, basePath));
1254
1180
  },
1255
1181
  /**
1256
- * Update user profile \\ (In order to update user\'s profile `signer_uuid` must be approved)
1182
+ * Update user profile (In order to update user\'s profile `signer_uuid` must be approved)
1257
1183
  * @summary Update user profile
1258
1184
  * @param {UserApiUpdateUserRequest} requestParameters Request parameters.
1259
1185
  * @param {*} [options] Override http request option.
@@ -1277,7 +1203,7 @@ exports.UserApiFactory = UserApiFactory;
1277
1203
  */
1278
1204
  class UserApi extends base_1.BaseAPI {
1279
1205
  /**
1280
- * Removes verification for an eth address for the user \\ (In order to delete verification `signer_uuid` must be approved)
1206
+ * Removes verification for an eth address for the user (In order to delete verification `signer_uuid` must be approved)
1281
1207
  * @summary Delete verification
1282
1208
  * @param {UserApiDeleteVerificationRequest} requestParameters Request parameters.
1283
1209
  * @param {*} [options] Override http request option.
@@ -1304,7 +1230,7 @@ class UserApi extends base_1.BaseAPI {
1304
1230
  *
1305
1231
  */
1306
1232
  fetchBulkUsers(requestParameters, options) {
1307
- return (0, exports.UserApiFp)(this.configuration).fetchBulkUsers(requestParameters.fids, requestParameters.viewerFid, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
1233
+ return (0, exports.UserApiFp)(this.configuration).fetchBulkUsers(requestParameters.fids, requestParameters.xNeynarExperimental, requestParameters.viewerFid, options).then((request) => request(this.axios, this.basePath));
1308
1234
  }
1309
1235
  /**
1310
1236
  * Fetches all users based on multiple Ethereum or Solana addresses. Each farcaster user has a custody Ethereum address and optionally verified Ethereum or Solana addresses. This endpoint returns all users that have any of the given addresses as their custody or verified Ethereum or Solana addresses. A custody address can be associated with only 1 farcaster user at a time but a verified address can be associated with multiple users. You can pass in Ethereum and Solana addresses, comma separated, in the same request. The response will contain users associated with the given addresses.
@@ -1319,37 +1245,7 @@ class UserApi extends base_1.BaseAPI {
1319
1245
  *
1320
1246
  */
1321
1247
  fetchBulkUsersByEthOrSolAddress(requestParameters, options) {
1322
- return (0, exports.UserApiFp)(this.configuration).fetchBulkUsersByEthOrSolAddress(requestParameters.addresses, requestParameters.addressTypes, requestParameters.viewerFid, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
1323
- }
1324
- /**
1325
- * Fetches power users based on Warpcast power badges. Information is updated once a day.
1326
- * @summary Power users
1327
- * @param {UserApiFetchPowerUsersRequest} requestParameters Request parameters.
1328
- * @param {*} [options] Override http request option.
1329
- * @throws {RequiredError}
1330
- * @memberof UserApi
1331
- * @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
1332
- *
1333
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users)
1334
- *
1335
- */
1336
- fetchPowerUsers(requestParameters = {}, options) {
1337
- return (0, exports.UserApiFp)(this.configuration).fetchPowerUsers(requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
1338
- }
1339
- /**
1340
- * Fetches power users and respond in a backwards compatible format to Warpcast\'s deprecated power badge endpoint.
1341
- * @summary Power user FIDs
1342
- * @param {UserApiFetchPowerUsersLiteRequest} requestParameters Request parameters.
1343
- * @param {*} [options] Override http request option.
1344
- * @throws {RequiredError}
1345
- * @memberof UserApi
1346
- * @returns {Promise<UserPowerLiteResponse>} A promise that resolves to a `UserPowerLiteResponse` object
1347
- *
1348
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users-lite)
1349
- *
1350
- */
1351
- fetchPowerUsersLite(requestParameters = {}, options) {
1352
- return (0, exports.UserApiFp)(this.configuration).fetchPowerUsersLite(requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
1248
+ return (0, exports.UserApiFp)(this.configuration).fetchBulkUsersByEthOrSolAddress(requestParameters.addresses, requestParameters.xNeynarExperimental, requestParameters.addressTypes, requestParameters.viewerFid, options).then((request) => request(this.axios, this.basePath));
1353
1249
  }
1354
1250
  /**
1355
1251
  * Fetches a list of users given a location
@@ -1364,10 +1260,10 @@ class UserApi extends base_1.BaseAPI {
1364
1260
  *
1365
1261
  */
1366
1262
  fetchUsersByLocation(requestParameters, options) {
1367
- return (0, exports.UserApiFp)(this.configuration).fetchUsersByLocation(requestParameters.latitude, requestParameters.longitude, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
1263
+ return (0, exports.UserApiFp)(this.configuration).fetchUsersByLocation(requestParameters.latitude, requestParameters.longitude, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
1368
1264
  }
1369
1265
  /**
1370
- * Follow a user \\ (In order to follow a user `signer_uuid` must be approved)
1266
+ * Follow a user (In order to follow a user `signer_uuid` must be approved)
1371
1267
  * @summary Follow user
1372
1268
  * @param {UserApiFollowUserRequest} requestParameters Request parameters.
1373
1269
  * @param {*} [options] Override http request option.
@@ -1396,6 +1292,21 @@ class UserApi extends base_1.BaseAPI {
1396
1292
  getFreshAccountFID(requestParameters = {}, options) {
1397
1293
  return (0, exports.UserApiFp)(this.configuration).getFreshAccountFID(requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
1398
1294
  }
1295
+ /**
1296
+ * Returns the best friends of a user ranked by mutual affinity score based on interactions with each other.
1297
+ * @summary Best friends
1298
+ * @param {UserApiGetUserBestFriendsRequest} requestParameters Request parameters.
1299
+ * @param {*} [options] Override http request option.
1300
+ * @throws {RequiredError}
1301
+ * @memberof UserApi
1302
+ * @returns {Promise<BestFriendsResponse>} A promise that resolves to a `BestFriendsResponse` object
1303
+ *
1304
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-user-best-friends)
1305
+ *
1306
+ */
1307
+ getUserBestFriends(requestParameters, options) {
1308
+ return (0, exports.UserApiFp)(this.configuration).getUserBestFriends(requestParameters.fid, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
1309
+ }
1399
1310
  /**
1400
1311
  * Lookup a user by custody-address
1401
1312
  * @summary By custody-address
@@ -1424,7 +1335,7 @@ class UserApi extends base_1.BaseAPI {
1424
1335
  *
1425
1336
  */
1426
1337
  lookupUserByUsername(requestParameters, options) {
1427
- return (0, exports.UserApiFp)(this.configuration).lookupUserByUsername(requestParameters.username, requestParameters.viewerFid, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
1338
+ return (0, exports.UserApiFp)(this.configuration).lookupUserByUsername(requestParameters.username, requestParameters.xNeynarExperimental, requestParameters.viewerFid, options).then((request) => request(this.axios, this.basePath));
1428
1339
  }
1429
1340
  /**
1430
1341
  * Fetches the users who have verified the specified X (Twitter) username
@@ -1439,10 +1350,10 @@ class UserApi extends base_1.BaseAPI {
1439
1350
  *
1440
1351
  */
1441
1352
  lookupUsersByXUsername(requestParameters, options) {
1442
- return (0, exports.UserApiFp)(this.configuration).lookupUsersByXUsername(requestParameters.xUsername, requestParameters.viewerFid, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
1353
+ return (0, exports.UserApiFp)(this.configuration).lookupUsersByXUsername(requestParameters.xUsername, requestParameters.xNeynarExperimental, requestParameters.viewerFid, options).then((request) => request(this.axios, this.basePath));
1443
1354
  }
1444
1355
  /**
1445
- * Adds verification for an eth address or contract for the user \\ (In order to add verification `signer_uuid` must be approved)
1356
+ * Adds verification for an eth address or contract for the user (In order to add verification `signer_uuid` must be approved)
1446
1357
  * @summary Add verification
1447
1358
  * @param {UserApiPublishVerificationRequest} requestParameters Request parameters.
1448
1359
  * @param {*} [options] Override http request option.
@@ -1457,7 +1368,7 @@ class UserApi extends base_1.BaseAPI {
1457
1368
  return (0, exports.UserApiFp)(this.configuration).publishVerification(requestParameters.addVerificationReqBody, options).then((request) => request(this.axios, this.basePath));
1458
1369
  }
1459
1370
  /**
1460
- * 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.
1371
+ * 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.
1461
1372
  * @summary Register new account
1462
1373
  * @param {UserApiRegisterAccountRequest} requestParameters Request parameters.
1463
1374
  * @param {*} [options] Override http request option.
@@ -1484,10 +1395,10 @@ class UserApi extends base_1.BaseAPI {
1484
1395
  *
1485
1396
  */
1486
1397
  searchUser(requestParameters, options) {
1487
- return (0, exports.UserApiFp)(this.configuration).searchUser(requestParameters.q, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
1398
+ return (0, exports.UserApiFp)(this.configuration).searchUser(requestParameters.q, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
1488
1399
  }
1489
1400
  /**
1490
- * Unfollow a user \\ (In order to unfollow a user `signer_uuid` must be approved)
1401
+ * Unfollow a user (In order to unfollow a user `signer_uuid` must be approved)
1491
1402
  * @summary Unfollow user
1492
1403
  * @param {UserApiUnfollowUserRequest} requestParameters Request parameters.
1493
1404
  * @param {*} [options] Override http request option.
@@ -1502,7 +1413,7 @@ class UserApi extends base_1.BaseAPI {
1502
1413
  return (0, exports.UserApiFp)(this.configuration).unfollowUser(requestParameters.followReqBody, options).then((request) => request(this.axios, this.basePath));
1503
1414
  }
1504
1415
  /**
1505
- * Update user profile \\ (In order to update user\'s profile `signer_uuid` must be approved)
1416
+ * Update user profile (In order to update user\'s profile `signer_uuid` must be approved)
1506
1417
  * @summary Update user profile
1507
1418
  * @param {UserApiUpdateUserRequest} requestParameters Request parameters.
1508
1419
  * @param {*} [options] Override http request option.
@@ -1518,3 +1429,10 @@ class UserApi extends base_1.BaseAPI {
1518
1429
  }
1519
1430
  }
1520
1431
  exports.UserApi = UserApi;
1432
+ /**
1433
+ * @export
1434
+ */
1435
+ exports.FetchBulkUsersByEthOrSolAddressAddressTypesEnum = {
1436
+ CustodyAddress: 'custody_address',
1437
+ VerifiedAddress: 'verified_address'
1438
+ };