@neynar/nodejs-sdk 2.13.1 → 2.17.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 (653) hide show
  1. package/build/api/api.d.ts +2 -1
  2. package/build/api/api.js +2 -1
  3. package/build/api/apis/action-api.d.ts +1 -1
  4. package/build/api/apis/action-api.js +1 -1
  5. package/build/api/apis/agents-api.d.ts +229 -0
  6. package/build/api/apis/agents-api.js +238 -0
  7. package/build/api/apis/ban-api.d.ts +1 -1
  8. package/build/api/apis/ban-api.js +1 -1
  9. package/build/api/apis/block-api.d.ts +1 -1
  10. package/build/api/apis/block-api.js +1 -1
  11. package/build/api/apis/cast-api.d.ts +23 -104
  12. package/build/api/apis/cast-api.js +20 -101
  13. package/build/api/apis/channel-api.d.ts +1 -1
  14. package/build/api/apis/channel-api.js +1 -1
  15. package/build/api/apis/feed-api.d.ts +14 -3
  16. package/build/api/apis/feed-api.js +11 -6
  17. package/build/api/apis/fname-api.d.ts +1 -1
  18. package/build/api/apis/fname-api.js +1 -1
  19. package/build/api/apis/follows-api.d.ts +11 -11
  20. package/build/api/apis/follows-api.js +9 -9
  21. package/build/api/apis/frame-api.d.ts +14 -3
  22. package/build/api/apis/frame-api.js +11 -6
  23. package/build/api/apis/login-api.d.ts +1 -1
  24. package/build/api/apis/login-api.js +1 -1
  25. package/build/api/apis/metrics-api.d.ts +1 -1
  26. package/build/api/apis/metrics-api.js +1 -1
  27. package/build/api/apis/mute-api.d.ts +1 -1
  28. package/build/api/apis/mute-api.js +1 -1
  29. package/build/api/apis/notifications-api.d.ts +40 -7
  30. package/build/api/apis/notifications-api.js +31 -16
  31. package/build/api/apis/onchain-api.d.ts +1 -1
  32. package/build/api/apis/onchain-api.js +1 -1
  33. package/build/api/apis/reaction-api.d.ts +1 -1
  34. package/build/api/apis/reaction-api.js +1 -1
  35. package/build/api/apis/signer-api.d.ts +1 -1
  36. package/build/api/apis/signer-api.js +1 -1
  37. package/build/api/apis/storage-api.d.ts +1 -1
  38. package/build/api/apis/storage-api.js +1 -1
  39. package/build/api/apis/subscribers-api.d.ts +1 -1
  40. package/build/api/apis/subscribers-api.js +1 -1
  41. package/build/api/apis/user-api.d.ts +1 -82
  42. package/build/api/apis/user-api.js +1 -82
  43. package/build/api/apis/webhook-api.d.ts +1 -1
  44. package/build/api/apis/webhook-api.js +1 -1
  45. package/build/api/base.d.ts +1 -1
  46. package/build/api/base.js +1 -1
  47. package/build/api/common.d.ts +1 -1
  48. package/build/api/common.js +1 -1
  49. package/build/api/configuration.d.ts +1 -1
  50. package/build/api/configuration.js +1 -1
  51. package/build/api/index.d.ts +1 -1
  52. package/build/api/index.js +1 -1
  53. package/build/api/models/add-verification-req-body.d.ts +1 -1
  54. package/build/api/models/add-verification-req-body.js +1 -1
  55. package/build/api/models/address-balance-verified-address.d.ts +1 -1
  56. package/build/api/models/address-balance-verified-address.js +1 -1
  57. package/build/api/models/address-balance.d.ts +1 -1
  58. package/build/api/models/address-balance.js +1 -1
  59. package/build/api/models/authorization-url-response-type.d.ts +1 -1
  60. package/build/api/models/authorization-url-response-type.js +1 -1
  61. package/build/api/models/authorization-url-response.d.ts +1 -1
  62. package/build/api/models/authorization-url-response.js +1 -1
  63. package/build/api/models/balance-response-user-balance.d.ts +1 -1
  64. package/build/api/models/balance-response-user-balance.js +1 -1
  65. package/build/api/models/balance-response.d.ts +1 -1
  66. package/build/api/models/balance-response.js +1 -1
  67. package/build/api/models/ban-list-response.d.ts +1 -1
  68. package/build/api/models/ban-list-response.js +1 -1
  69. package/build/api/models/ban-record.d.ts +1 -1
  70. package/build/api/models/ban-record.js +1 -1
  71. package/build/api/models/ban-req-body.d.ts +1 -1
  72. package/build/api/models/ban-req-body.js +1 -1
  73. package/build/api/models/ban-response.d.ts +1 -1
  74. package/build/api/models/ban-response.js +1 -1
  75. package/build/api/models/block-list-response.d.ts +1 -1
  76. package/build/api/models/block-list-response.js +1 -1
  77. package/build/api/models/block-record.d.ts +1 -1
  78. package/build/api/models/block-record.js +1 -1
  79. package/build/api/models/block-req-body.d.ts +1 -1
  80. package/build/api/models/block-req-body.js +1 -1
  81. package/build/api/models/bulk-casts-response.d.ts +1 -1
  82. package/build/api/models/bulk-casts-response.js +1 -1
  83. package/build/api/models/bulk-follow-response.d.ts +1 -1
  84. package/build/api/models/bulk-follow-response.js +1 -1
  85. package/build/api/models/bulk-user-address-type.d.ts +1 -1
  86. package/build/api/models/bulk-user-address-type.js +1 -1
  87. package/build/api/models/bulk-users-by-address-response.d.ts +1 -1
  88. package/build/api/models/bulk-users-by-address-response.js +1 -1
  89. package/build/api/models/bulk-users-response.d.ts +1 -1
  90. package/build/api/models/bulk-users-response.js +1 -1
  91. package/build/api/models/buy-storage-req-body.d.ts +1 -1
  92. package/build/api/models/buy-storage-req-body.js +1 -1
  93. package/build/api/models/cast-composer-actions-list-response-actions-inner-action.d.ts +1 -1
  94. package/build/api/models/cast-composer-actions-list-response-actions-inner-action.js +1 -1
  95. package/build/api/models/cast-composer-actions-list-response-actions-inner.d.ts +1 -1
  96. package/build/api/models/cast-composer-actions-list-response-actions-inner.js +1 -1
  97. package/build/api/models/cast-composer-actions-list-response.d.ts +1 -1
  98. package/build/api/models/cast-composer-actions-list-response.js +1 -1
  99. package/build/api/models/cast-composer-type.d.ts +1 -1
  100. package/build/api/models/cast-composer-type.js +1 -1
  101. package/build/api/models/cast-conversation-sort-type.d.ts +1 -1
  102. package/build/api/models/cast-conversation-sort-type.js +1 -1
  103. package/build/api/models/cast-dehydrated.d.ts +7 -1
  104. package/build/api/models/cast-dehydrated.js +1 -1
  105. package/build/api/models/cast-embed-crawl-response.d.ts +1 -1
  106. package/build/api/models/cast-embed-crawl-response.js +1 -1
  107. package/build/api/models/cast-embedded-parent-author.d.ts +1 -1
  108. package/build/api/models/cast-embedded-parent-author.js +1 -1
  109. package/build/api/models/cast-embedded.d.ts +7 -1
  110. package/build/api/models/cast-embedded.js +1 -1
  111. package/build/api/models/cast-id.d.ts +1 -1
  112. package/build/api/models/cast-id.js +1 -1
  113. package/build/api/models/cast-notification-type.d.ts +1 -1
  114. package/build/api/models/cast-notification-type.js +1 -1
  115. package/build/api/models/cast-param-type.d.ts +1 -1
  116. package/build/api/models/cast-param-type.js +1 -1
  117. package/build/api/models/cast-response.d.ts +1 -1
  118. package/build/api/models/cast-response.js +1 -1
  119. package/build/api/models/cast-text-range.d.ts +30 -0
  120. package/build/api/models/cast-text-range.js +15 -0
  121. package/build/api/models/cast-viewer-context.d.ts +1 -1
  122. package/build/api/models/cast-viewer-context.js +1 -1
  123. package/build/api/models/cast-with-interactions-all-of.d.ts +21 -1
  124. package/build/api/models/cast-with-interactions-all-of.js +1 -1
  125. package/build/api/models/cast-with-interactions-and-conversations-all-of.d.ts +1 -1
  126. package/build/api/models/cast-with-interactions-and-conversations-all-of.js +1 -1
  127. package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.d.ts +1 -1
  128. package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.js +1 -1
  129. package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +1 -1
  130. package/build/api/models/cast-with-interactions-and-conversations-ref.js +1 -1
  131. package/build/api/models/cast-with-interactions-and-conversations.d.ts +1 -1
  132. package/build/api/models/cast-with-interactions-and-conversations.js +1 -1
  133. package/build/api/models/cast-with-interactions-reactions.d.ts +1 -1
  134. package/build/api/models/cast-with-interactions-reactions.js +1 -1
  135. package/build/api/models/cast-with-interactions-replies.d.ts +1 -1
  136. package/build/api/models/cast-with-interactions-replies.js +1 -1
  137. package/build/api/models/cast-with-interactions.d.ts +1 -1
  138. package/build/api/models/cast-with-interactions.js +1 -1
  139. package/build/api/models/cast.d.ts +1 -1
  140. package/build/api/models/cast.js +1 -1
  141. package/build/api/models/casts-metrics-response.d.ts +1 -1
  142. package/build/api/models/casts-metrics-response.js +1 -1
  143. package/build/api/models/casts-metrics.d.ts +1 -1
  144. package/build/api/models/casts-metrics.js +1 -1
  145. package/build/api/models/casts-response-result.d.ts +1 -1
  146. package/build/api/models/casts-response-result.js +1 -1
  147. package/build/api/models/casts-response.d.ts +1 -1
  148. package/build/api/models/casts-response.js +1 -1
  149. package/build/api/models/casts-search-response-result.d.ts +1 -1
  150. package/build/api/models/casts-search-response-result.js +1 -1
  151. package/build/api/models/casts-search-response.d.ts +1 -1
  152. package/build/api/models/casts-search-response.js +1 -1
  153. package/build/api/models/channel-activity.d.ts +1 -1
  154. package/build/api/models/channel-activity.js +1 -1
  155. package/build/api/models/channel-external-link.d.ts +1 -1
  156. package/build/api/models/channel-external-link.js +1 -1
  157. package/build/api/models/channel-follow-req-body.d.ts +1 -1
  158. package/build/api/models/channel-follow-req-body.js +1 -1
  159. package/build/api/models/channel-list-response.d.ts +1 -1
  160. package/build/api/models/channel-list-response.js +1 -1
  161. package/build/api/models/channel-member-channel.d.ts +1 -1
  162. package/build/api/models/channel-member-channel.js +1 -1
  163. package/build/api/models/channel-member-invite-list-response.d.ts +1 -1
  164. package/build/api/models/channel-member-invite-list-response.js +1 -1
  165. package/build/api/models/channel-member-invite.d.ts +1 -1
  166. package/build/api/models/channel-member-invite.js +1 -1
  167. package/build/api/models/channel-member-list-response.d.ts +1 -1
  168. package/build/api/models/channel-member-list-response.js +1 -1
  169. package/build/api/models/channel-member-role.d.ts +1 -1
  170. package/build/api/models/channel-member-role.js +1 -1
  171. package/build/api/models/channel-member-user.d.ts +1 -1
  172. package/build/api/models/channel-member-user.js +1 -1
  173. package/build/api/models/channel-member.d.ts +1 -1
  174. package/build/api/models/channel-member.js +1 -1
  175. package/build/api/models/channel-or-dehydrated-channel.d.ts +1 -1
  176. package/build/api/models/channel-or-dehydrated-channel.js +1 -1
  177. package/build/api/models/channel-response-bulk.d.ts +1 -1
  178. package/build/api/models/channel-response-bulk.js +1 -1
  179. package/build/api/models/channel-response.d.ts +1 -1
  180. package/build/api/models/channel-response.js +1 -1
  181. package/build/api/models/channel-search-response.d.ts +1 -1
  182. package/build/api/models/channel-search-response.js +1 -1
  183. package/build/api/models/channel-type.d.ts +1 -1
  184. package/build/api/models/channel-type.js +1 -1
  185. package/build/api/models/channel-user-context.d.ts +1 -1
  186. package/build/api/models/channel-user-context.js +1 -1
  187. package/build/api/models/channel.d.ts +1 -1
  188. package/build/api/models/channel.js +1 -1
  189. package/build/api/models/conflict-error-res.d.ts +1 -1
  190. package/build/api/models/conflict-error-res.js +1 -1
  191. package/build/api/models/conversation-conversation.d.ts +1 -1
  192. package/build/api/models/conversation-conversation.js +1 -1
  193. package/build/api/models/conversation-summary-summary.d.ts +1 -1
  194. package/build/api/models/conversation-summary-summary.js +1 -1
  195. package/build/api/models/conversation-summary.d.ts +1 -1
  196. package/build/api/models/conversation-summary.js +1 -1
  197. package/build/api/models/conversation.d.ts +1 -1
  198. package/build/api/models/conversation.js +1 -1
  199. package/build/api/models/dehydrated-channel.d.ts +1 -1
  200. package/build/api/models/dehydrated-channel.js +1 -1
  201. package/build/api/models/dehydrated-follower.d.ts +1 -1
  202. package/build/api/models/dehydrated-follower.js +1 -1
  203. package/build/api/models/delete-cast-req-body.d.ts +1 -1
  204. package/build/api/models/delete-cast-req-body.js +1 -1
  205. package/build/api/models/delete-frame-req-body.d.ts +1 -1
  206. package/build/api/models/delete-frame-req-body.js +1 -1
  207. package/build/api/models/delete-frame-response.d.ts +1 -1
  208. package/build/api/models/delete-frame-response.js +1 -1
  209. package/build/api/models/deploy-fungible-req-body-metadata-media.d.ts +1 -1
  210. package/build/api/models/deploy-fungible-req-body-metadata-media.js +1 -1
  211. package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +1 -1
  212. package/build/api/models/deploy-fungible-response-contract-fungible.js +1 -1
  213. package/build/api/models/deploy-fungible-response-contract.d.ts +1 -1
  214. package/build/api/models/deploy-fungible-response-contract.js +1 -1
  215. package/build/api/models/deploy-fungible-response.d.ts +1 -1
  216. package/build/api/models/deploy-fungible-response.js +1 -1
  217. package/build/api/models/developer-managed-signer.d.ts +1 -1
  218. package/build/api/models/developer-managed-signer.js +1 -1
  219. package/build/api/models/embed-cast-deep.d.ts +1 -1
  220. package/build/api/models/embed-cast-deep.js +1 -1
  221. package/build/api/models/embed-cast.d.ts +1 -1
  222. package/build/api/models/embed-cast.js +1 -1
  223. package/build/api/models/embed-deep.d.ts +1 -1
  224. package/build/api/models/embed-deep.js +1 -1
  225. package/build/api/models/embed-type.d.ts +1 -1
  226. package/build/api/models/embed-type.js +1 -1
  227. package/build/api/models/embed-url-metadata-html-all-of-oembed.d.ts +1 -1
  228. package/build/api/models/embed-url-metadata-html-all-of-oembed.js +1 -1
  229. package/build/api/models/embed-url-metadata-html-all-of.d.ts +1 -1
  230. package/build/api/models/embed-url-metadata-html-all-of.js +1 -1
  231. package/build/api/models/embed-url-metadata-html.d.ts +1 -1
  232. package/build/api/models/embed-url-metadata-html.js +1 -1
  233. package/build/api/models/embed-url-metadata-image.d.ts +1 -1
  234. package/build/api/models/embed-url-metadata-image.js +1 -1
  235. package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +1 -1
  236. package/build/api/models/embed-url-metadata-video-stream-inner.js +1 -1
  237. package/build/api/models/embed-url-metadata-video.d.ts +1 -1
  238. package/build/api/models/embed-url-metadata-video.js +1 -1
  239. package/build/api/models/embed-url-metadata.d.ts +1 -1
  240. package/build/api/models/embed-url-metadata.js +1 -1
  241. package/build/api/models/embed-url.d.ts +1 -1
  242. package/build/api/models/embed-url.js +1 -1
  243. package/build/api/models/embed.d.ts +1 -1
  244. package/build/api/models/embed.js +1 -1
  245. package/build/api/models/error-res.d.ts +1 -1
  246. package/build/api/models/error-res.js +1 -1
  247. package/build/api/models/farcaster-action-req-body-action.d.ts +1 -1
  248. package/build/api/models/farcaster-action-req-body-action.js +1 -1
  249. package/build/api/models/farcaster-action-req-body.d.ts +1 -1
  250. package/build/api/models/farcaster-action-req-body.js +1 -1
  251. package/build/api/models/farcaster-manifest-account-association.d.ts +1 -1
  252. package/build/api/models/farcaster-manifest-account-association.js +1 -1
  253. package/build/api/models/farcaster-manifest-frame.d.ts +1 -1
  254. package/build/api/models/farcaster-manifest-frame.js +1 -1
  255. package/build/api/models/farcaster-manifest-triggers-inner-one-of.d.ts +1 -1
  256. package/build/api/models/farcaster-manifest-triggers-inner-one-of.js +1 -1
  257. package/build/api/models/farcaster-manifest-triggers-inner-one-of1.d.ts +1 -1
  258. package/build/api/models/farcaster-manifest-triggers-inner-one-of1.js +1 -1
  259. package/build/api/models/farcaster-manifest-triggers-inner.d.ts +1 -1
  260. package/build/api/models/farcaster-manifest-triggers-inner.js +1 -1
  261. package/build/api/models/farcaster-manifest.d.ts +1 -1
  262. package/build/api/models/farcaster-manifest.js +1 -1
  263. package/build/api/models/feed-response.d.ts +1 -1
  264. package/build/api/models/feed-response.js +1 -1
  265. package/build/api/models/feed-trending-provider.d.ts +1 -1
  266. package/build/api/models/feed-trending-provider.js +1 -1
  267. package/build/api/models/feed-type.d.ts +1 -1
  268. package/build/api/models/feed-type.js +1 -1
  269. package/build/api/models/fetch-feed-for-you400-response.d.ts +1 -1
  270. package/build/api/models/fetch-feed-for-you400-response.js +1 -1
  271. package/build/api/models/fetch-frame-meta-tags-from-url200-response.d.ts +1 -1
  272. package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +1 -1
  273. package/build/api/models/fetch-user-interactions200-response.d.ts +1 -1
  274. package/build/api/models/fetch-user-interactions200-response.js +1 -1
  275. package/build/api/models/fids.d.ts +1 -1
  276. package/build/api/models/fids.js +1 -1
  277. package/build/api/models/filter-type.d.ts +1 -1
  278. package/build/api/models/filter-type.js +1 -1
  279. package/build/api/models/fname-availability-response.d.ts +1 -1
  280. package/build/api/models/fname-availability-response.js +1 -1
  281. package/build/api/models/follow-req-body.d.ts +1 -1
  282. package/build/api/models/follow-req-body.js +1 -1
  283. package/build/api/models/follow-response.d.ts +1 -1
  284. package/build/api/models/follow-response.js +1 -1
  285. package/build/api/models/follow-sort-type.d.ts +1 -1
  286. package/build/api/models/follow-sort-type.js +1 -1
  287. package/build/api/models/follow.d.ts +1 -1
  288. package/build/api/models/follow.js +1 -1
  289. package/build/api/models/followers-response.d.ts +1 -1
  290. package/build/api/models/followers-response.js +1 -1
  291. package/build/api/models/for-you-provider.d.ts +1 -1
  292. package/build/api/models/for-you-provider.js +1 -1
  293. package/build/api/models/frame-action-button.d.ts +1 -1
  294. package/build/api/models/frame-action-button.js +1 -1
  295. package/build/api/models/frame-action-req-body.d.ts +1 -1
  296. package/build/api/models/frame-action-req-body.js +1 -1
  297. package/build/api/models/frame-action.d.ts +1 -1
  298. package/build/api/models/frame-action.js +1 -1
  299. package/build/api/models/frame-base.d.ts +1 -1
  300. package/build/api/models/frame-base.js +1 -1
  301. package/build/api/models/frame-button-action-type.d.ts +1 -1
  302. package/build/api/models/frame-button-action-type.js +1 -1
  303. package/build/api/models/frame-catalog-response.d.ts +1 -1
  304. package/build/api/models/frame-catalog-response.js +1 -1
  305. package/build/api/models/frame-developer-managed-action-req-body.d.ts +1 -1
  306. package/build/api/models/frame-developer-managed-action-req-body.js +1 -1
  307. package/build/api/models/frame-input.d.ts +1 -1
  308. package/build/api/models/frame-input.js +1 -1
  309. package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +1 -1
  310. package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +1 -1
  311. package/build/api/models/frame-notification-tokens.d.ts +1 -1
  312. package/build/api/models/frame-notification-tokens.js +1 -1
  313. package/build/api/models/frame-signature-packet-trusted-data.d.ts +1 -1
  314. package/build/api/models/frame-signature-packet-trusted-data.js +1 -1
  315. package/build/api/models/frame-signature-packet-untrusted-data.d.ts +1 -1
  316. package/build/api/models/frame-signature-packet-untrusted-data.js +1 -1
  317. package/build/api/models/frame-signature-packet.d.ts +1 -1
  318. package/build/api/models/frame-signature-packet.js +1 -1
  319. package/build/api/models/frame-state.d.ts +1 -1
  320. package/build/api/models/frame-state.js +1 -1
  321. package/build/api/models/frame-transaction.d.ts +1 -1
  322. package/build/api/models/frame-transaction.js +1 -1
  323. package/build/api/models/frame-type.d.ts +1 -1
  324. package/build/api/models/frame-type.js +1 -1
  325. package/build/api/models/frame-v1-all-of-input.d.ts +1 -1
  326. package/build/api/models/frame-v1-all-of-input.js +1 -1
  327. package/build/api/models/frame-v1-all-of-state.d.ts +1 -1
  328. package/build/api/models/frame-v1-all-of-state.js +1 -1
  329. package/build/api/models/frame-v1-all-of.d.ts +1 -1
  330. package/build/api/models/frame-v1-all-of.js +1 -1
  331. package/build/api/models/frame-v1.d.ts +1 -1
  332. package/build/api/models/frame-v1.js +1 -1
  333. package/build/api/models/frame-v2-all-of.d.ts +7 -1
  334. package/build/api/models/frame-v2-all-of.js +1 -1
  335. package/build/api/models/frame-v2.d.ts +1 -1
  336. package/build/api/models/frame-v2.js +1 -1
  337. package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +1 -1
  338. package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.js +1 -1
  339. package/build/api/models/frame-validate-analytics-input-text.d.ts +1 -1
  340. package/build/api/models/frame-validate-analytics-input-text.js +1 -1
  341. package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.d.ts +1 -1
  342. package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.js +1 -1
  343. package/build/api/models/frame-validate-analytics-interactions-per-cast.d.ts +1 -1
  344. package/build/api/models/frame-validate-analytics-interactions-per-cast.js +1 -1
  345. package/build/api/models/frame-validate-analytics-interactors-interactors-inner.d.ts +1 -1
  346. package/build/api/models/frame-validate-analytics-interactors-interactors-inner.js +1 -1
  347. package/build/api/models/frame-validate-analytics-interactors.d.ts +1 -1
  348. package/build/api/models/frame-validate-analytics-interactors.js +1 -1
  349. package/build/api/models/frame-validate-analytics-response.d.ts +1 -1
  350. package/build/api/models/frame-validate-analytics-response.js +1 -1
  351. package/build/api/models/frame-validate-analytics-total-interactors.d.ts +1 -1
  352. package/build/api/models/frame-validate-analytics-total-interactors.js +1 -1
  353. package/build/api/models/frame-validate-list-response.d.ts +1 -1
  354. package/build/api/models/frame-validate-list-response.js +1 -1
  355. package/build/api/models/frame.d.ts +1 -1
  356. package/build/api/models/frame.js +1 -1
  357. package/build/api/models/hydrated-follower.d.ts +1 -1
  358. package/build/api/models/hydrated-follower.js +1 -1
  359. package/build/api/models/image-object.d.ts +1 -1
  360. package/build/api/models/image-object.js +1 -1
  361. package/build/api/models/index.d.ts +1 -0
  362. package/build/api/models/index.js +1 -0
  363. package/build/api/models/invite-channel-member-req-body.d.ts +1 -1
  364. package/build/api/models/invite-channel-member-req-body.js +1 -1
  365. package/build/api/models/location-address.d.ts +1 -1
  366. package/build/api/models/location-address.js +1 -1
  367. package/build/api/models/location.d.ts +1 -1
  368. package/build/api/models/location.js +1 -1
  369. package/build/api/models/mark-notifications-as-seen-req-body.d.ts +1 -1
  370. package/build/api/models/mark-notifications-as-seen-req-body.js +1 -1
  371. package/build/api/models/mute-list-response.d.ts +1 -1
  372. package/build/api/models/mute-list-response.js +1 -1
  373. package/build/api/models/mute-record.d.ts +1 -1
  374. package/build/api/models/mute-record.js +1 -1
  375. package/build/api/models/mute-req-body.d.ts +1 -1
  376. package/build/api/models/mute-req-body.js +1 -1
  377. package/build/api/models/mute-response.d.ts +1 -1
  378. package/build/api/models/mute-response.js +1 -1
  379. package/build/api/models/networks.d.ts +1 -1
  380. package/build/api/models/networks.js +1 -1
  381. package/build/api/models/next-cursor.d.ts +1 -1
  382. package/build/api/models/next-cursor.js +1 -1
  383. package/build/api/models/neynar-frame-creation-req-body.d.ts +1 -1
  384. package/build/api/models/neynar-frame-creation-req-body.js +1 -1
  385. package/build/api/models/neynar-frame-page.d.ts +1 -1
  386. package/build/api/models/neynar-frame-page.js +1 -1
  387. package/build/api/models/neynar-frame-update-req-body.d.ts +1 -1
  388. package/build/api/models/neynar-frame-update-req-body.js +1 -1
  389. package/build/api/models/neynar-frame.d.ts +1 -1
  390. package/build/api/models/neynar-frame.js +1 -1
  391. package/build/api/models/neynar-next-frame-page-mint-url.d.ts +1 -1
  392. package/build/api/models/neynar-next-frame-page-mint-url.js +1 -1
  393. package/build/api/models/neynar-next-frame-page-redirect.d.ts +1 -1
  394. package/build/api/models/neynar-next-frame-page-redirect.js +1 -1
  395. package/build/api/models/neynar-next-frame-page.d.ts +1 -1
  396. package/build/api/models/neynar-next-frame-page.js +1 -1
  397. package/build/api/models/neynar-page-button-next-page.d.ts +1 -1
  398. package/build/api/models/neynar-page-button-next-page.js +1 -1
  399. package/build/api/models/neynar-page-button.d.ts +1 -1
  400. package/build/api/models/neynar-page-button.js +1 -1
  401. package/build/api/models/neynar-page-image.d.ts +1 -1
  402. package/build/api/models/neynar-page-image.js +1 -1
  403. package/build/api/models/neynar-page-input-text.d.ts +1 -1
  404. package/build/api/models/neynar-page-input-text.js +1 -1
  405. package/build/api/models/neynar-page-input.d.ts +1 -1
  406. package/build/api/models/neynar-page-input.js +1 -1
  407. package/build/api/models/nonce-response.d.ts +1 -1
  408. package/build/api/models/nonce-response.js +1 -1
  409. package/build/api/models/notification-delivery.d.ts +1 -1
  410. package/build/api/models/notification-delivery.js +1 -1
  411. package/build/api/models/notification-type.d.ts +1 -1
  412. package/build/api/models/notification-type.js +1 -1
  413. package/build/api/models/notification.d.ts +1 -1
  414. package/build/api/models/notification.js +1 -1
  415. package/build/api/models/notifications-response.d.ts +1 -1
  416. package/build/api/models/notifications-response.js +1 -1
  417. package/build/api/models/oembed-data.d.ts +1 -1
  418. package/build/api/models/oembed-data.js +1 -1
  419. package/build/api/models/oembed-link-data-all-of.d.ts +1 -1
  420. package/build/api/models/oembed-link-data-all-of.js +1 -1
  421. package/build/api/models/oembed-link-data.d.ts +1 -1
  422. package/build/api/models/oembed-link-data.js +1 -1
  423. package/build/api/models/oembed-photo-data-all-of.d.ts +1 -1
  424. package/build/api/models/oembed-photo-data-all-of.js +1 -1
  425. package/build/api/models/oembed-photo-data.d.ts +1 -1
  426. package/build/api/models/oembed-photo-data.js +1 -1
  427. package/build/api/models/oembed-rich-data-all-of.d.ts +1 -1
  428. package/build/api/models/oembed-rich-data-all-of.js +1 -1
  429. package/build/api/models/oembed-rich-data.d.ts +1 -1
  430. package/build/api/models/oembed-rich-data.js +1 -1
  431. package/build/api/models/oembed-video-data-all-of.d.ts +1 -1
  432. package/build/api/models/oembed-video-data-all-of.js +1 -1
  433. package/build/api/models/oembed-video-data.d.ts +1 -1
  434. package/build/api/models/oembed-video-data.js +1 -1
  435. package/build/api/models/og-object.d.ts +1 -1
  436. package/build/api/models/og-object.js +1 -1
  437. package/build/api/models/operation-response.d.ts +1 -1
  438. package/build/api/models/operation-response.js +1 -1
  439. package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +1 -1
  440. package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +1 -1
  441. package/build/api/models/post-cast-req-body-embeds.d.ts +1 -1
  442. package/build/api/models/post-cast-req-body-embeds.js +1 -1
  443. package/build/api/models/post-cast-req-body.d.ts +1 -1
  444. package/build/api/models/post-cast-req-body.js +1 -1
  445. package/build/api/models/post-cast-response-cast.d.ts +1 -1
  446. package/build/api/models/post-cast-response-cast.js +1 -1
  447. package/build/api/models/post-cast-response.d.ts +1 -1
  448. package/build/api/models/post-cast-response.js +1 -1
  449. package/build/api/models/profile-url-pfp.d.ts +1 -1
  450. package/build/api/models/profile-url-pfp.js +1 -1
  451. package/build/api/models/profile-url.d.ts +1 -1
  452. package/build/api/models/profile-url.js +1 -1
  453. package/build/api/models/reaction-for-cast.d.ts +1 -1
  454. package/build/api/models/reaction-for-cast.js +1 -1
  455. package/build/api/models/reaction-like.d.ts +1 -1
  456. package/build/api/models/reaction-like.js +1 -1
  457. package/build/api/models/reaction-recast.d.ts +1 -1
  458. package/build/api/models/reaction-recast.js +1 -1
  459. package/build/api/models/reaction-req-body.d.ts +1 -1
  460. package/build/api/models/reaction-req-body.js +1 -1
  461. package/build/api/models/reaction-type.d.ts +1 -1
  462. package/build/api/models/reaction-type.js +1 -1
  463. package/build/api/models/reaction-with-cast-info.d.ts +1 -1
  464. package/build/api/models/reaction-with-cast-info.js +1 -1
  465. package/build/api/models/reaction-with-user-info.d.ts +1 -1
  466. package/build/api/models/reaction-with-user-info.js +1 -1
  467. package/build/api/models/reactions-cast-response.d.ts +1 -1
  468. package/build/api/models/reactions-cast-response.js +1 -1
  469. package/build/api/models/reactions-response.d.ts +1 -1
  470. package/build/api/models/reactions-response.js +1 -1
  471. package/build/api/models/reactions-type.d.ts +1 -1
  472. package/build/api/models/reactions-type.js +1 -1
  473. package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +1 -1
  474. package/build/api/models/register-developer-managed-signed-key-req-body.js +1 -1
  475. package/build/api/models/register-signer-key-req-body.d.ts +1 -1
  476. package/build/api/models/register-signer-key-req-body.js +1 -1
  477. package/build/api/models/register-user-req-body-metadata.d.ts +1 -1
  478. package/build/api/models/register-user-req-body-metadata.js +1 -1
  479. package/build/api/models/register-user-req-body.d.ts +1 -1
  480. package/build/api/models/register-user-req-body.js +1 -1
  481. package/build/api/models/register-user-response.d.ts +1 -1
  482. package/build/api/models/register-user-response.js +1 -1
  483. package/build/api/models/relevant-followers-response.d.ts +1 -1
  484. package/build/api/models/relevant-followers-response.js +1 -1
  485. package/build/api/models/relevant-fungible-owners-response.d.ts +1 -1
  486. package/build/api/models/relevant-fungible-owners-response.js +1 -1
  487. package/build/api/models/remove-channel-member-req-body.d.ts +1 -1
  488. package/build/api/models/remove-channel-member-req-body.js +1 -1
  489. package/build/api/models/remove-verification-req-body.d.ts +1 -1
  490. package/build/api/models/remove-verification-req-body.js +1 -1
  491. package/build/api/models/respond-channel-invite-req-body.d.ts +1 -1
  492. package/build/api/models/respond-channel-invite-req-body.js +1 -1
  493. package/build/api/models/searched-user.d.ts +1 -1
  494. package/build/api/models/searched-user.js +1 -1
  495. package/build/api/models/send-frame-notifications-req-body-notification.d.ts +1 -1
  496. package/build/api/models/send-frame-notifications-req-body-notification.js +1 -1
  497. package/build/api/models/send-frame-notifications-req-body.d.ts +1 -1
  498. package/build/api/models/send-frame-notifications-req-body.js +1 -1
  499. package/build/api/models/send-frame-notifications-response.d.ts +1 -1
  500. package/build/api/models/send-frame-notifications-response.js +1 -1
  501. package/build/api/models/shared-signer-permission.d.ts +1 -1
  502. package/build/api/models/shared-signer-permission.js +1 -1
  503. package/build/api/models/signed-key-request-sponsor.d.ts +1 -1
  504. package/build/api/models/signed-key-request-sponsor.js +1 -1
  505. package/build/api/models/signer-list-response.d.ts +1 -1
  506. package/build/api/models/signer-list-response.js +1 -1
  507. package/build/api/models/signer.d.ts +1 -1
  508. package/build/api/models/signer.js +1 -1
  509. package/build/api/models/storage-allocation.d.ts +1 -1
  510. package/build/api/models/storage-allocation.js +1 -1
  511. package/build/api/models/storage-allocations-response.d.ts +1 -1
  512. package/build/api/models/storage-allocations-response.js +1 -1
  513. package/build/api/models/storage-object.d.ts +1 -1
  514. package/build/api/models/storage-object.js +1 -1
  515. package/build/api/models/storage-usage-response.d.ts +1 -1
  516. package/build/api/models/storage-usage-response.js +1 -1
  517. package/build/api/models/subscribed-to-all-of.d.ts +1 -1
  518. package/build/api/models/subscribed-to-all-of.js +1 -1
  519. package/build/api/models/subscribed-to-object.d.ts +1 -1
  520. package/build/api/models/subscribed-to-object.js +1 -1
  521. package/build/api/models/subscribed-to-response.d.ts +1 -1
  522. package/build/api/models/subscribed-to-response.js +1 -1
  523. package/build/api/models/subscribed-to.d.ts +1 -1
  524. package/build/api/models/subscribed-to.js +1 -1
  525. package/build/api/models/subscriber.d.ts +1 -1
  526. package/build/api/models/subscriber.js +1 -1
  527. package/build/api/models/subscribers-response.d.ts +1 -1
  528. package/build/api/models/subscribers-response.js +1 -1
  529. package/build/api/models/subscription-check-response.d.ts +1 -1
  530. package/build/api/models/subscription-check-response.js +1 -1
  531. package/build/api/models/subscription-metadata.d.ts +1 -1
  532. package/build/api/models/subscription-metadata.js +1 -1
  533. package/build/api/models/subscription-price.d.ts +1 -1
  534. package/build/api/models/subscription-price.js +1 -1
  535. package/build/api/models/subscription-provider.d.ts +1 -1
  536. package/build/api/models/subscription-provider.js +1 -1
  537. package/build/api/models/subscription-providers.d.ts +1 -1
  538. package/build/api/models/subscription-providers.js +1 -1
  539. package/build/api/models/subscription-status.d.ts +1 -1
  540. package/build/api/models/subscription-status.js +1 -1
  541. package/build/api/models/subscription-tier-price.d.ts +1 -1
  542. package/build/api/models/subscription-tier-price.js +1 -1
  543. package/build/api/models/subscription-tier.d.ts +1 -1
  544. package/build/api/models/subscription-tier.js +1 -1
  545. package/build/api/models/subscription-token.d.ts +1 -1
  546. package/build/api/models/subscription-token.js +1 -1
  547. package/build/api/models/subscription.d.ts +1 -1
  548. package/build/api/models/subscription.js +1 -1
  549. package/build/api/models/subscriptions-response.d.ts +1 -1
  550. package/build/api/models/subscriptions-response.js +1 -1
  551. package/build/api/models/subscriptions.d.ts +1 -1
  552. package/build/api/models/subscriptions.js +1 -1
  553. package/build/api/models/token-balance-balance.d.ts +1 -1
  554. package/build/api/models/token-balance-balance.js +1 -1
  555. package/build/api/models/token-balance-token.d.ts +1 -1
  556. package/build/api/models/token-balance-token.js +1 -1
  557. package/build/api/models/token-balance.d.ts +1 -1
  558. package/build/api/models/token-balance.js +1 -1
  559. package/build/api/models/trending-channel-response.d.ts +1 -1
  560. package/build/api/models/trending-channel-response.js +1 -1
  561. package/build/api/models/update-user-req-body-location.d.ts +1 -1
  562. package/build/api/models/update-user-req-body-location.js +1 -1
  563. package/build/api/models/update-user-req-body-verified-accounts.d.ts +1 -1
  564. package/build/api/models/update-user-req-body-verified-accounts.js +1 -1
  565. package/build/api/models/update-user-req-body.d.ts +1 -1
  566. package/build/api/models/update-user-req-body.js +1 -1
  567. package/build/api/models/user-dehydrated.d.ts +1 -1
  568. package/build/api/models/user-dehydrated.js +1 -1
  569. package/build/api/models/user-experimental.d.ts +1 -1
  570. package/build/api/models/user-experimental.js +1 -1
  571. package/build/api/models/user-fidresponse.d.ts +1 -1
  572. package/build/api/models/user-fidresponse.js +1 -1
  573. package/build/api/models/user-power-lite-response-result.d.ts +1 -1
  574. package/build/api/models/user-power-lite-response-result.js +1 -1
  575. package/build/api/models/user-power-lite-response.d.ts +1 -1
  576. package/build/api/models/user-power-lite-response.js +1 -1
  577. package/build/api/models/user-profile-bio.d.ts +1 -1
  578. package/build/api/models/user-profile-bio.js +1 -1
  579. package/build/api/models/user-profile.d.ts +1 -1
  580. package/build/api/models/user-profile.js +1 -1
  581. package/build/api/models/user-response.d.ts +1 -1
  582. package/build/api/models/user-response.js +1 -1
  583. package/build/api/models/user-search-response-result.d.ts +1 -1
  584. package/build/api/models/user-search-response-result.js +1 -1
  585. package/build/api/models/user-search-response.d.ts +1 -1
  586. package/build/api/models/user-search-response.js +1 -1
  587. package/build/api/models/user-verified-accounts-inner.d.ts +1 -1
  588. package/build/api/models/user-verified-accounts-inner.js +1 -1
  589. package/build/api/models/user-verified-addresses.d.ts +1 -1
  590. package/build/api/models/user-verified-addresses.js +1 -1
  591. package/build/api/models/user-viewer-context.d.ts +1 -1
  592. package/build/api/models/user-viewer-context.js +1 -1
  593. package/build/api/models/user.d.ts +1 -1
  594. package/build/api/models/user.js +1 -1
  595. package/build/api/models/users-active-channels-response.d.ts +1 -1
  596. package/build/api/models/users-active-channels-response.js +1 -1
  597. package/build/api/models/users-response.d.ts +1 -1
  598. package/build/api/models/users-response.js +1 -1
  599. package/build/api/models/validate-frame-action-req-body.d.ts +1 -1
  600. package/build/api/models/validate-frame-action-req-body.js +1 -1
  601. package/build/api/models/validate-frame-action-response.d.ts +1 -1
  602. package/build/api/models/validate-frame-action-response.js +1 -1
  603. package/build/api/models/validate-frame-aggregate-window.d.ts +1 -1
  604. package/build/api/models/validate-frame-aggregate-window.js +1 -1
  605. package/build/api/models/validate-frame-analytics-type.d.ts +1 -1
  606. package/build/api/models/validate-frame-analytics-type.js +1 -1
  607. package/build/api/models/validated-frame-action-signer.d.ts +1 -1
  608. package/build/api/models/validated-frame-action-signer.js +1 -1
  609. package/build/api/models/validated-frame-action-tapped-button.d.ts +1 -1
  610. package/build/api/models/validated-frame-action-tapped-button.js +1 -1
  611. package/build/api/models/validated-frame-action.d.ts +1 -1
  612. package/build/api/models/validated-frame-action.js +1 -1
  613. package/build/api/models/verification-chain-id.d.ts +1 -1
  614. package/build/api/models/verification-chain-id.js +1 -1
  615. package/build/api/models/verification-type.d.ts +1 -1
  616. package/build/api/models/verification-type.js +1 -1
  617. package/build/api/models/video-object.d.ts +1 -1
  618. package/build/api/models/video-object.js +1 -1
  619. package/build/api/models/webhook-delete-req-body.d.ts +1 -1
  620. package/build/api/models/webhook-delete-req-body.js +1 -1
  621. package/build/api/models/webhook-list-response.d.ts +1 -1
  622. package/build/api/models/webhook-list-response.js +1 -1
  623. package/build/api/models/webhook-patch-req-body.d.ts +1 -1
  624. package/build/api/models/webhook-patch-req-body.js +1 -1
  625. package/build/api/models/webhook-post-req-body.d.ts +1 -1
  626. package/build/api/models/webhook-post-req-body.js +1 -1
  627. package/build/api/models/webhook-put-req-body.d.ts +1 -1
  628. package/build/api/models/webhook-put-req-body.js +1 -1
  629. package/build/api/models/webhook-response.d.ts +1 -1
  630. package/build/api/models/webhook-response.js +1 -1
  631. package/build/api/models/webhook-secret.d.ts +1 -1
  632. package/build/api/models/webhook-secret.js +1 -1
  633. package/build/api/models/webhook-subscription-filters-cast.d.ts +1 -1
  634. package/build/api/models/webhook-subscription-filters-cast.js +1 -1
  635. package/build/api/models/webhook-subscription-filters-follow.d.ts +1 -1
  636. package/build/api/models/webhook-subscription-filters-follow.js +1 -1
  637. package/build/api/models/webhook-subscription-filters-reaction.d.ts +1 -1
  638. package/build/api/models/webhook-subscription-filters-reaction.js +1 -1
  639. package/build/api/models/webhook-subscription-filters-user-updated.d.ts +1 -1
  640. package/build/api/models/webhook-subscription-filters-user-updated.js +1 -1
  641. package/build/api/models/webhook-subscription-filters.d.ts +1 -1
  642. package/build/api/models/webhook-subscription-filters.js +1 -1
  643. package/build/api/models/webhook-subscription.d.ts +1 -1
  644. package/build/api/models/webhook-subscription.js +1 -1
  645. package/build/api/models/webhook.d.ts +1 -1
  646. package/build/api/models/webhook.js +1 -1
  647. package/build/api/models/zod-error-errors-inner.d.ts +1 -1
  648. package/build/api/models/zod-error-errors-inner.js +1 -1
  649. package/build/api/models/zod-error.d.ts +1 -1
  650. package/build/api/models/zod-error.js +1 -1
  651. package/build/clients/NeynarAPIClient.d.ts +81 -64
  652. package/build/clients/NeynarAPIClient.js +85 -72
  653. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  * Farcaster API V2
3
3
  * The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
4
4
  *
5
- * The version of the OpenAPI document: 2.13.1
5
+ * The version of the OpenAPI document: 2.17.0
6
6
  * Contact: team@neynar.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -21,7 +21,6 @@ import type { CastResponse } from '../models';
21
21
  import type { CastsResponse } from '../models';
22
22
  import type { CastsSearchResponse } from '../models';
23
23
  import type { Conversation } from '../models';
24
- import type { ConversationSummary } from '../models';
25
24
  import type { DeleteCastReqBody } from '../models';
26
25
  import type { OperationResponse } from '../models';
27
26
  import type { PostCastReqBody } from '../models';
@@ -117,20 +116,6 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
117
116
  *
118
117
  */
119
118
  lookupCastConversation: (identifier: string, type: CastParamType, replyDepth?: number, includeChronologicalParentCasts?: boolean, viewerFid?: number, sortType?: CastConversationSortType, fold?: LookupCastConversationFoldEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
120
- /**
121
- * Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
122
- * @summary Conversation summary for a cast
123
- * @param {string} identifier Cast identifier (Its either a url or a hash)
124
- * @param {number} [limit] Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
125
- * @param {string} [prompt] Additional prompt used to generate a summary
126
- * @param {*} [options] Override http request option.
127
- * @throws {RequiredError}
128
- * @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
129
- *
130
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
131
- *
132
- */
133
- lookupCastConversationSummary: (identifier: string, limit?: number, prompt?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
134
119
  /**
135
120
  * Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
136
121
  * @summary Post a cast
@@ -147,6 +132,7 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
147
132
  * Search for casts based on a query string, with optional AND filters
148
133
  * @summary Search for casts
149
134
  * @param {string} q Query string to search for casts. Include \&#39;before:YYYY-MM-DD\&#39; or \&#39;after:YYYY-MM-DD\&#39; to search for casts before or after a specific date.
135
+ * @param {SearchCastsModeEnum} [mode] Choices are &#x60;literal&#x60; (default), &#x60;semantic&#x60;, &#x60;hybrid&#x60;
150
136
  * @param {number} [authorFid] Fid of the user whose casts you want to search
151
137
  * @param {number} [viewerFid] Providing this will return search results that respects this user\&#39;s mutes and blocks and includes &#x60;viewer_context&#x60;.
152
138
  * @param {string} [parentUrl] Parent URL of the casts you want to search
@@ -161,7 +147,7 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
161
147
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
162
148
  *
163
149
  */
164
- searchCasts: (q: string, authorFid?: number, viewerFid?: number, parentUrl?: string, channelId?: string, priorityMode?: boolean, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
150
+ searchCasts: (q: string, mode?: SearchCastsModeEnum, authorFid?: number, viewerFid?: number, parentUrl?: string, channelId?: string, priorityMode?: boolean, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
165
151
  };
166
152
  /**
167
153
  * CastApi - functional programming interface
@@ -254,20 +240,6 @@ export declare const CastApiFp: (configuration?: Configuration) => {
254
240
  *
255
241
  */
256
242
  lookupCastConversation(identifier: string, type: CastParamType, replyDepth?: number, includeChronologicalParentCasts?: boolean, viewerFid?: number, sortType?: CastConversationSortType, fold?: LookupCastConversationFoldEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Conversation>>;
257
- /**
258
- * Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
259
- * @summary Conversation summary for a cast
260
- * @param {string} identifier Cast identifier (Its either a url or a hash)
261
- * @param {number} [limit] Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
262
- * @param {string} [prompt] Additional prompt used to generate a summary
263
- * @param {*} [options] Override http request option.
264
- * @throws {RequiredError}
265
- * @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
266
- *
267
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
268
- *
269
- */
270
- lookupCastConversationSummary(identifier: string, limit?: number, prompt?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConversationSummary>>;
271
243
  /**
272
244
  * Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
273
245
  * @summary Post a cast
@@ -284,6 +256,7 @@ export declare const CastApiFp: (configuration?: Configuration) => {
284
256
  * Search for casts based on a query string, with optional AND filters
285
257
  * @summary Search for casts
286
258
  * @param {string} q Query string to search for casts. Include \&#39;before:YYYY-MM-DD\&#39; or \&#39;after:YYYY-MM-DD\&#39; to search for casts before or after a specific date.
259
+ * @param {SearchCastsModeEnum} [mode] Choices are &#x60;literal&#x60; (default), &#x60;semantic&#x60;, &#x60;hybrid&#x60;
287
260
  * @param {number} [authorFid] Fid of the user whose casts you want to search
288
261
  * @param {number} [viewerFid] Providing this will return search results that respects this user\&#39;s mutes and blocks and includes &#x60;viewer_context&#x60;.
289
262
  * @param {string} [parentUrl] Parent URL of the casts you want to search
@@ -298,7 +271,7 @@ export declare const CastApiFp: (configuration?: Configuration) => {
298
271
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
299
272
  *
300
273
  */
301
- searchCasts(q: string, authorFid?: number, viewerFid?: number, parentUrl?: string, channelId?: string, priorityMode?: boolean, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CastsSearchResponse>>;
274
+ searchCasts(q: string, mode?: SearchCastsModeEnum, authorFid?: number, viewerFid?: number, parentUrl?: string, channelId?: string, priorityMode?: boolean, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CastsSearchResponse>>;
302
275
  };
303
276
  /**
304
277
  * CastApi - factory interface
@@ -377,18 +350,6 @@ export declare const CastApiFactory: (configuration?: Configuration, basePath?:
377
350
  *
378
351
  */
379
352
  lookupCastConversation(requestParameters: CastApiLookupCastConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Conversation>;
380
- /**
381
- * Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
382
- * @summary Conversation summary for a cast
383
- * @param {CastApiLookupCastConversationSummaryRequest} requestParameters Request parameters.
384
- * @param {*} [options] Override http request option.
385
- * @throws {RequiredError}
386
- * @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
387
- *
388
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
389
- *
390
- */
391
- lookupCastConversationSummary(requestParameters: CastApiLookupCastConversationSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConversationSummary>;
392
353
  /**
393
354
  * Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
394
355
  * @summary Post a cast
@@ -498,19 +459,6 @@ export interface CastApiInterface {
498
459
  *
499
460
  */
500
461
  lookupCastConversation(requestParameters: CastApiLookupCastConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Conversation>;
501
- /**
502
- * Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
503
- * @summary Conversation summary for a cast
504
- * @param {CastApiLookupCastConversationSummaryRequest} requestParameters Request parameters.
505
- * @param {*} [options] Override http request option.
506
- * @throws {RequiredError}
507
- * @memberof CastApiInterface
508
- * @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
509
- *
510
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
511
- *
512
- */
513
- lookupCastConversationSummary(requestParameters: CastApiLookupCastConversationSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConversationSummary>;
514
462
  /**
515
463
  * Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
516
464
  * @summary Post a cast
@@ -760,40 +708,6 @@ export interface CastApiLookupCastConversationRequest {
760
708
  */
761
709
  readonly cursor?: string;
762
710
  }
763
- /**
764
- * Request parameters for lookupCastConversationSummary operation in CastApi.
765
- * @export
766
- * @interface CastApiLookupCastConversationSummaryRequest
767
- */
768
- export interface CastApiLookupCastConversationSummaryRequest {
769
- /**
770
- * Cast identifier (Its either a url or a hash)
771
- *
772
- *
773
- *
774
- * @type {string}
775
- * @memberof CastApiLookupCastConversationSummary
776
- */
777
- readonly identifier: string;
778
- /**
779
- * Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
780
- *
781
- *
782
- *
783
- * @type {number}
784
- * @memberof CastApiLookupCastConversationSummary
785
- */
786
- readonly limit?: number;
787
- /**
788
- * Additional prompt used to generate a summary
789
- *
790
- *
791
- *
792
- * @type {string}
793
- * @memberof CastApiLookupCastConversationSummary
794
- */
795
- readonly prompt?: string;
796
- }
797
711
  /**
798
712
  * Request parameters for publishCast operation in CastApi.
799
713
  * @export
@@ -825,6 +739,15 @@ export interface CastApiSearchCastsRequest {
825
739
  * @memberof CastApiSearchCasts
826
740
  */
827
741
  readonly q: string;
742
+ /**
743
+ * Choices are &#x60;literal&#x60; (default), &#x60;semantic&#x60;, &#x60;hybrid&#x60;
744
+ *
745
+ *
746
+ *
747
+ * @type {'literal' | 'semantic' | 'hybrid'}
748
+ * @memberof CastApiSearchCasts
749
+ */
750
+ readonly mode?: SearchCastsModeEnum;
828
751
  /**
829
752
  * Fid of the user whose casts you want to search
830
753
  *
@@ -974,19 +897,6 @@ export declare class CastApi extends BaseAPI implements CastApiInterface {
974
897
  *
975
898
  */
976
899
  lookupCastConversation(requestParameters: CastApiLookupCastConversationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Conversation, any>>;
977
- /**
978
- * Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
979
- * @summary Conversation summary for a cast
980
- * @param {CastApiLookupCastConversationSummaryRequest} requestParameters Request parameters.
981
- * @param {*} [options] Override http request option.
982
- * @throws {RequiredError}
983
- * @memberof CastApi
984
- * @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
985
- *
986
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
987
- *
988
- */
989
- lookupCastConversationSummary(requestParameters: CastApiLookupCastConversationSummaryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConversationSummary, any>>;
990
900
  /**
991
901
  * Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
992
902
  * @summary Post a cast
@@ -1033,3 +943,12 @@ export declare const LookupCastConversationFoldEnum: {
1033
943
  readonly Below: "below";
1034
944
  };
1035
945
  export type LookupCastConversationFoldEnum = typeof LookupCastConversationFoldEnum[keyof typeof LookupCastConversationFoldEnum];
946
+ /**
947
+ * @export
948
+ */
949
+ export declare const SearchCastsModeEnum: {
950
+ readonly Literal: "literal";
951
+ readonly Semantic: "semantic";
952
+ readonly Hybrid: "hybrid";
953
+ };
954
+ export type SearchCastsModeEnum = typeof SearchCastsModeEnum[keyof typeof SearchCastsModeEnum];
@@ -5,7 +5,7 @@
5
5
  * Farcaster API V2
6
6
  * The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
7
7
  *
8
- * The version of the OpenAPI document: 2.13.1
8
+ * The version of the OpenAPI document: 2.17.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.LookupCastConversationFoldEnum = exports.FetchBulkCastsSortTypeEnum = exports.CastApi = exports.CastApiFactory = exports.CastApiFp = exports.CastApiAxiosParamCreator = void 0;
19
+ exports.SearchCastsModeEnum = exports.LookupCastConversationFoldEnum = exports.FetchBulkCastsSortTypeEnum = exports.CastApi = exports.CastApiFactory = exports.CastApiFp = exports.CastApiAxiosParamCreator = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  // Some imports not used depending on template conditions
22
22
  // @ts-ignore
@@ -308,51 +308,6 @@ const CastApiAxiosParamCreator = function (configuration) {
308
308
  options: localVarRequestOptions,
309
309
  };
310
310
  },
311
- /**
312
- * Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
313
- * @summary Conversation summary for a cast
314
- * @param {string} identifier Cast identifier (Its either a url or a hash)
315
- * @param {number} [limit] Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
316
- * @param {string} [prompt] Additional prompt used to generate a summary
317
- * @param {*} [options] Override http request option.
318
- * @throws {RequiredError}
319
- * @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
320
- *
321
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
322
- *
323
- */
324
- lookupCastConversationSummary: async (identifier, limit, prompt, options = {}) => {
325
- // verify required parameter 'identifier' is not null or undefined
326
- (0, common_1.assertParamExists)('lookupCastConversationSummary', 'identifier', identifier);
327
- const localVarPath = `/farcaster/cast/conversation/summary`;
328
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
329
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
330
- let baseOptions;
331
- if (configuration) {
332
- baseOptions = configuration.baseOptions;
333
- }
334
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
335
- const localVarHeaderParameter = {};
336
- const localVarQueryParameter = {};
337
- // authentication ApiKeyAuth required
338
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
339
- if (identifier !== undefined) {
340
- localVarQueryParameter['identifier'] = identifier;
341
- }
342
- if (limit !== undefined) {
343
- localVarQueryParameter['limit'] = limit;
344
- }
345
- if (prompt !== undefined) {
346
- localVarQueryParameter['prompt'] = prompt;
347
- }
348
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
349
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
350
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
351
- return {
352
- url: (0, common_1.toPathString)(localVarUrlObj),
353
- options: localVarRequestOptions,
354
- };
355
- },
356
311
  /**
357
312
  * Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
358
313
  * @summary Post a cast
@@ -393,6 +348,7 @@ const CastApiAxiosParamCreator = function (configuration) {
393
348
  * Search for casts based on a query string, with optional AND filters
394
349
  * @summary Search for casts
395
350
  * @param {string} q Query string to search for casts. Include \&#39;before:YYYY-MM-DD\&#39; or \&#39;after:YYYY-MM-DD\&#39; to search for casts before or after a specific date.
351
+ * @param {SearchCastsModeEnum} [mode] Choices are &#x60;literal&#x60; (default), &#x60;semantic&#x60;, &#x60;hybrid&#x60;
396
352
  * @param {number} [authorFid] Fid of the user whose casts you want to search
397
353
  * @param {number} [viewerFid] Providing this will return search results that respects this user\&#39;s mutes and blocks and includes &#x60;viewer_context&#x60;.
398
354
  * @param {string} [parentUrl] Parent URL of the casts you want to search
@@ -407,7 +363,7 @@ const CastApiAxiosParamCreator = function (configuration) {
407
363
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
408
364
  *
409
365
  */
410
- searchCasts: async (q, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options = {}) => {
366
+ searchCasts: async (q, mode, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options = {}) => {
411
367
  // verify required parameter 'q' is not null or undefined
412
368
  (0, common_1.assertParamExists)('searchCasts', 'q', q);
413
369
  const localVarPath = `/farcaster/cast/search`;
@@ -425,6 +381,9 @@ const CastApiAxiosParamCreator = function (configuration) {
425
381
  if (q !== undefined) {
426
382
  localVarQueryParameter['q'] = q;
427
383
  }
384
+ if (mode !== undefined) {
385
+ localVarQueryParameter['mode'] = mode;
386
+ }
428
387
  if (authorFid !== undefined) {
429
388
  localVarQueryParameter['author_fid'] = authorFid;
430
389
  }
@@ -586,26 +545,6 @@ const CastApiFp = function (configuration) {
586
545
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.lookupCastConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
587
546
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
588
547
  },
589
- /**
590
- * Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
591
- * @summary Conversation summary for a cast
592
- * @param {string} identifier Cast identifier (Its either a url or a hash)
593
- * @param {number} [limit] Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
594
- * @param {string} [prompt] Additional prompt used to generate a summary
595
- * @param {*} [options] Override http request option.
596
- * @throws {RequiredError}
597
- * @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
598
- *
599
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
600
- *
601
- */
602
- async lookupCastConversationSummary(identifier, limit, prompt, options) {
603
- var _a, _b, _c;
604
- const localVarAxiosArgs = await localVarAxiosParamCreator.lookupCastConversationSummary(identifier, limit, prompt, options);
605
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
606
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.lookupCastConversationSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
607
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
608
- },
609
548
  /**
610
549
  * Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
611
550
  * @summary Post a cast
@@ -628,6 +567,7 @@ const CastApiFp = function (configuration) {
628
567
  * Search for casts based on a query string, with optional AND filters
629
568
  * @summary Search for casts
630
569
  * @param {string} q Query string to search for casts. Include \&#39;before:YYYY-MM-DD\&#39; or \&#39;after:YYYY-MM-DD\&#39; to search for casts before or after a specific date.
570
+ * @param {SearchCastsModeEnum} [mode] Choices are &#x60;literal&#x60; (default), &#x60;semantic&#x60;, &#x60;hybrid&#x60;
631
571
  * @param {number} [authorFid] Fid of the user whose casts you want to search
632
572
  * @param {number} [viewerFid] Providing this will return search results that respects this user\&#39;s mutes and blocks and includes &#x60;viewer_context&#x60;.
633
573
  * @param {string} [parentUrl] Parent URL of the casts you want to search
@@ -642,9 +582,9 @@ const CastApiFp = function (configuration) {
642
582
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
643
583
  *
644
584
  */
645
- async searchCasts(q, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options) {
585
+ async searchCasts(q, mode, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options) {
646
586
  var _a, _b, _c;
647
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchCasts(q, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options);
587
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchCasts(q, mode, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options);
648
588
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
649
589
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.searchCasts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
650
590
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -743,20 +683,6 @@ const CastApiFactory = function (configuration, basePath, axios) {
743
683
  lookupCastConversation(requestParameters, options) {
744
684
  return localVarFp.lookupCastConversation(requestParameters.identifier, requestParameters.type, requestParameters.replyDepth, requestParameters.includeChronologicalParentCasts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.fold, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
745
685
  },
746
- /**
747
- * Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
748
- * @summary Conversation summary for a cast
749
- * @param {CastApiLookupCastConversationSummaryRequest} requestParameters Request parameters.
750
- * @param {*} [options] Override http request option.
751
- * @throws {RequiredError}
752
- * @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
753
- *
754
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
755
- *
756
- */
757
- lookupCastConversationSummary(requestParameters, options) {
758
- return localVarFp.lookupCastConversationSummary(requestParameters.identifier, requestParameters.limit, requestParameters.prompt, options).then((request) => request(axios, basePath));
759
- },
760
686
  /**
761
687
  * Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
762
688
  * @summary Post a cast
@@ -783,7 +709,7 @@ const CastApiFactory = function (configuration, basePath, axios) {
783
709
  *
784
710
  */
785
711
  searchCasts(requestParameters, options) {
786
- return localVarFp.searchCasts(requestParameters.q, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
712
+ return localVarFp.searchCasts(requestParameters.q, requestParameters.mode, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
787
713
  },
788
714
  };
789
715
  };
@@ -885,21 +811,6 @@ class CastApi extends base_1.BaseAPI {
885
811
  lookupCastConversation(requestParameters, options) {
886
812
  return (0, exports.CastApiFp)(this.configuration).lookupCastConversation(requestParameters.identifier, requestParameters.type, requestParameters.replyDepth, requestParameters.includeChronologicalParentCasts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.fold, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
887
813
  }
888
- /**
889
- * Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
890
- * @summary Conversation summary for a cast
891
- * @param {CastApiLookupCastConversationSummaryRequest} requestParameters Request parameters.
892
- * @param {*} [options] Override http request option.
893
- * @throws {RequiredError}
894
- * @memberof CastApi
895
- * @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
896
- *
897
- * For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
898
- *
899
- */
900
- lookupCastConversationSummary(requestParameters, options) {
901
- return (0, exports.CastApiFp)(this.configuration).lookupCastConversationSummary(requestParameters.identifier, requestParameters.limit, requestParameters.prompt, options).then((request) => request(this.axios, this.basePath));
902
- }
903
814
  /**
904
815
  * Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
905
816
  * @summary Post a cast
@@ -928,7 +839,7 @@ class CastApi extends base_1.BaseAPI {
928
839
  *
929
840
  */
930
841
  searchCasts(requestParameters, options) {
931
- return (0, exports.CastApiFp)(this.configuration).searchCasts(requestParameters.q, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
842
+ return (0, exports.CastApiFp)(this.configuration).searchCasts(requestParameters.q, requestParameters.mode, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
932
843
  }
933
844
  }
934
845
  exports.CastApi = CastApi;
@@ -949,3 +860,11 @@ exports.LookupCastConversationFoldEnum = {
949
860
  Above: 'above',
950
861
  Below: 'below'
951
862
  };
863
+ /**
864
+ * @export
865
+ */
866
+ exports.SearchCastsModeEnum = {
867
+ Literal: 'literal',
868
+ Semantic: 'semantic',
869
+ Hybrid: 'hybrid'
870
+ };
@@ -2,7 +2,7 @@
2
2
  * Farcaster API V2
3
3
  * The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
4
4
  *
5
- * The version of the OpenAPI document: 2.13.1
5
+ * The version of the OpenAPI document: 2.17.0
6
6
  * Contact: team@neynar.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Farcaster API V2
6
6
  * The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
7
7
  *
8
- * The version of the OpenAPI document: 2.13.1
8
+ * The version of the OpenAPI document: 2.17.0
9
9
  * Contact: team@neynar.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Farcaster API V2
3
3
  * The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
4
4
  *
5
- * The version of the OpenAPI document: 2.13.1
5
+ * The version of the OpenAPI document: 2.17.0
6
6
  * Contact: team@neynar.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,6 +28,7 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
28
28
  * Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
29
29
  * @summary Chronologically
30
30
  * @param {number} fid FID of user whose recent casts you want to fetch
31
+ * @param {number} [appFid] Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
31
32
  * @param {number} [viewerFid] FID of the user viewing the feed
32
33
  * @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 150)
33
34
  * @param {string} [cursor] Pagination cursor
@@ -41,7 +42,7 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
41
42
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
42
43
  *
43
44
  */
44
- fetchCastsForUser: (fid: number, viewerFid?: number, limit?: number, cursor?: string, includeReplies?: boolean, parentUrl?: string, channelId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
+ fetchCastsForUser: (fid: number, appFid?: number, viewerFid?: number, limit?: number, cursor?: string, includeReplies?: boolean, parentUrl?: string, channelId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
46
  /**
46
47
  * Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
47
48
  * @summary By filters
@@ -207,6 +208,7 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
207
208
  * Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
208
209
  * @summary Chronologically
209
210
  * @param {number} fid FID of user whose recent casts you want to fetch
211
+ * @param {number} [appFid] Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
210
212
  * @param {number} [viewerFid] FID of the user viewing the feed
211
213
  * @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 150)
212
214
  * @param {string} [cursor] Pagination cursor
@@ -220,7 +222,7 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
220
222
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
221
223
  *
222
224
  */
223
- fetchCastsForUser(fid: number, viewerFid?: number, limit?: number, cursor?: string, includeReplies?: boolean, parentUrl?: string, channelId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedResponse>>;
225
+ fetchCastsForUser(fid: number, appFid?: number, viewerFid?: number, limit?: number, cursor?: string, includeReplies?: boolean, parentUrl?: string, channelId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedResponse>>;
224
226
  /**
225
227
  * Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
226
228
  * @summary By filters
@@ -655,6 +657,15 @@ export interface FeedApiFetchCastsForUserRequest {
655
657
  * @memberof FeedApiFetchCastsForUser
656
658
  */
657
659
  readonly fid: number;
660
+ /**
661
+ * Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
662
+ *
663
+ *
664
+ *
665
+ * @type {number}
666
+ * @memberof FeedApiFetchCastsForUser
667
+ */
668
+ readonly appFid?: number;
658
669
  /**
659
670
  * FID of the user viewing the feed
660
671
  *
@@ -5,7 +5,7 @@
5
5
  * Farcaster API V2
6
6
  * The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
7
7
  *
8
- * The version of the OpenAPI document: 2.13.1
8
+ * The version of the OpenAPI document: 2.17.0
9
9
  * Contact: team@neynar.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -33,6 +33,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
33
33
  * Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
34
34
  * @summary Chronologically
35
35
  * @param {number} fid FID of user whose recent casts you want to fetch
36
+ * @param {number} [appFid] Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
36
37
  * @param {number} [viewerFid] FID of the user viewing the feed
37
38
  * @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 150)
38
39
  * @param {string} [cursor] Pagination cursor
@@ -46,7 +47,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
46
47
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
47
48
  *
48
49
  */
49
- fetchCastsForUser: async (fid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options = {}) => {
50
+ fetchCastsForUser: async (fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options = {}) => {
50
51
  // verify required parameter 'fid' is not null or undefined
51
52
  (0, common_1.assertParamExists)('fetchCastsForUser', 'fid', fid);
52
53
  const localVarPath = `/farcaster/feed/user/casts`;
@@ -64,6 +65,9 @@ const FeedApiAxiosParamCreator = function (configuration) {
64
65
  if (fid !== undefined) {
65
66
  localVarQueryParameter['fid'] = fid;
66
67
  }
68
+ if (appFid !== undefined) {
69
+ localVarQueryParameter['app_fid'] = appFid;
70
+ }
67
71
  if (viewerFid !== undefined) {
68
72
  localVarQueryParameter['viewer_fid'] = viewerFid;
69
73
  }
@@ -621,6 +625,7 @@ const FeedApiFp = function (configuration) {
621
625
  * Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
622
626
  * @summary Chronologically
623
627
  * @param {number} fid FID of user whose recent casts you want to fetch
628
+ * @param {number} [appFid] Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
624
629
  * @param {number} [viewerFid] FID of the user viewing the feed
625
630
  * @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 150)
626
631
  * @param {string} [cursor] Pagination cursor
@@ -634,9 +639,9 @@ const FeedApiFp = function (configuration) {
634
639
  * For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
635
640
  *
636
641
  */
637
- async fetchCastsForUser(fid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options) {
642
+ async fetchCastsForUser(fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options) {
638
643
  var _a, _b, _c;
639
- const localVarAxiosArgs = await localVarAxiosParamCreator.fetchCastsForUser(fid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options);
644
+ const localVarAxiosArgs = await localVarAxiosParamCreator.fetchCastsForUser(fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options);
640
645
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
641
646
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeedApi.fetchCastsForUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
642
647
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -872,7 +877,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
872
877
  *
873
878
  */
874
879
  fetchCastsForUser(requestParameters, options) {
875
- return localVarFp.fetchCastsForUser(requestParameters.fid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, options).then((request) => request(axios, basePath));
880
+ return localVarFp.fetchCastsForUser(requestParameters.fid, requestParameters.appFid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, options).then((request) => request(axios, basePath));
876
881
  },
877
882
  /**
878
883
  * Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
@@ -1023,7 +1028,7 @@ class FeedApi extends base_1.BaseAPI {
1023
1028
  *
1024
1029
  */
1025
1030
  fetchCastsForUser(requestParameters, options) {
1026
- return (0, exports.FeedApiFp)(this.configuration).fetchCastsForUser(requestParameters.fid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, options).then((request) => request(this.axios, this.basePath));
1031
+ return (0, exports.FeedApiFp)(this.configuration).fetchCastsForUser(requestParameters.fid, requestParameters.appFid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, options).then((request) => request(this.axios, this.basePath));
1027
1032
  }
1028
1033
  /**
1029
1034
  * Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
@@ -2,7 +2,7 @@
2
2
  * Farcaster API V2
3
3
  * The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
4
4
  *
5
- * The version of the OpenAPI document: 2.13.1
5
+ * The version of the OpenAPI document: 2.17.0
6
6
  * Contact: team@neynar.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Farcaster API V2
6
6
  * The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
7
7
  *
8
- * The version of the OpenAPI document: 2.13.1
8
+ * The version of the OpenAPI document: 2.17.0
9
9
  * Contact: team@neynar.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).