@neynar/nodejs-sdk 2.44.0 → 3.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (799) hide show
  1. package/build/api/api.d.ts +5 -3
  2. package/build/api/api.js +5 -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 +56 -25
  6. package/build/api/apis/agents-api.js +53 -26
  7. package/build/api/apis/app-host-api.d.ts +317 -0
  8. package/build/api/apis/app-host-api.js +337 -0
  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 +282 -113
  16. package/build/api/apis/cast-api.js +231 -76
  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 +232 -58
  26. package/build/api/apis/frame-api.js +208 -48
  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 +22 -20
  30. package/build/api/apis/metrics-api.js +16 -14
  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 +260 -40
  36. package/build/api/apis/onchain-api.js +249 -34
  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 +23 -0
  64. package/build/api/models/app-host-event-type.js +27 -0
  65. package/build/api/models/app-host-get-event-response-notification-details.d.ts +30 -0
  66. package/build/api/models/{cast-with-interactions-and-conversations-ref-all-of.js → app-host-get-event-response-notification-details.js} +3 -3
  67. package/build/api/models/app-host-get-event-response.d.ts +31 -0
  68. package/build/api/models/{cast-with-interactions-and-conversations-ref.js → 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/{cast-with-interactions-all-of.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/{cast-with-interactions-and-conversations-all-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/app-host-post-event-req-body-one-of.js +15 -0
  75. package/build/api/models/app-host-post-event-req-body-one-of1.d.ts +43 -0
  76. package/build/api/models/app-host-post-event-req-body-one-of1.js +15 -0
  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 +30 -0
  80. package/build/api/models/app-host-post-event-response.js +15 -0
  81. package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +36 -0
  82. package/build/api/models/app-host-user-state-response-notifications-enabled-inner.js +15 -0
  83. package/build/api/models/app-host-user-state-response.d.ts +25 -0
  84. package/build/api/models/app-host-user-state-response.js +15 -0
  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 +4 -4
  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 +4 -4
  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 +4 -4
  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 +4 -4
  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 +4 -4
  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 +4 -4
  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 +4 -4
  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 +4 -4
  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 +4 -4
  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 +72 -0
  342. package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.js +15 -0
  343. package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.d.ts +49 -0
  344. package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.js +15 -0
  345. package/build/api/models/get-notification-campaign-stats200-response.d.ts +32 -0
  346. package/build/api/models/get-notification-campaign-stats200-response.js +15 -0
  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 +42 -56
  354. package/build/api/models/index.js +42 -56
  355. package/build/api/models/invite-channel-member-req-body.d.ts +4 -4
  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 +5 -5
  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 +10 -4
  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 +4 -4
  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 +4 -4
  442. package/build/api/models/post-cast-req-body.js +3 -3
  443. package/build/api/models/post-cast-response-cast-author.d.ts +4 -4
  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 +4 -4
  452. package/build/api/models/reaction-like.js +3 -3
  453. package/build/api/models/reaction-recast.d.ts +4 -4
  454. package/build/api/models/reaction-recast.js +3 -3
  455. package/build/api/models/reaction-req-body.d.ts +4 -4
  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 +6 -6
  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 +6 -6
  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 +5 -5
  494. package/build/api/models/relevant-fungible-owners-response.js +3 -3
  495. package/build/api/models/remove-channel-member-req-body.d.ts +4 -4
  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 +5 -5
  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 +4 -4
  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 +4 -4
  588. package/build/api/models/transaction-send-fungibles-receipt.js +3 -3
  589. package/build/api/models/transaction-send-fungibles-recipient.d.ts +4 -4
  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 +4 -4
  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 +18 -11
  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 +508 -252
  692. package/build/clients/NeynarAPIClient.js +490 -201
  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/authorization-url-response-type.d.ts +0 -20
  703. package/build/api/models/authorization-url-response-type.js +0 -24
  704. package/build/api/models/bulk-user-address-type.d.ts +0 -21
  705. package/build/api/models/bulk-user-address-type.js +0 -25
  706. package/build/api/models/cast-composer-type.d.ts +0 -21
  707. package/build/api/models/cast-composer-type.js +0 -25
  708. package/build/api/models/cast-conversation-sort-type.d.ts +0 -22
  709. package/build/api/models/cast-conversation-sort-type.js +0 -26
  710. package/build/api/models/cast-param-type.d.ts +0 -21
  711. package/build/api/models/cast-param-type.js +0 -25
  712. package/build/api/models/cast-with-interactions-all-of.d.ts +0 -93
  713. package/build/api/models/cast-with-interactions-and-conversations-all-of.d.ts +0 -25
  714. package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.d.ts +0 -24
  715. package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +0 -19
  716. package/build/api/models/cast-with-interactions-and-conversations.d.ts +0 -18
  717. package/build/api/models/cast-with-interactions-and-conversations.js +0 -15
  718. package/build/api/models/cast-with-interactions-reactions.js +0 -15
  719. package/build/api/models/cast-with-interactions-replies.d.ts +0 -24
  720. package/build/api/models/cast-with-interactions-replies.js +0 -15
  721. package/build/api/models/cast-with-interactions.d.ts +0 -18
  722. package/build/api/models/cast-with-interactions.js +0 -15
  723. package/build/api/models/casts-search-response-result.d.ts +0 -32
  724. package/build/api/models/casts-search-response-result.js +0 -15
  725. package/build/api/models/channel-type.d.ts +0 -21
  726. package/build/api/models/channel-type.js +0 -25
  727. package/build/api/models/embed-type.d.ts +0 -37
  728. package/build/api/models/embed-type.js +0 -41
  729. package/build/api/models/farcaster-manifest-account-association.d.ts +0 -36
  730. package/build/api/models/farcaster-manifest-account-association.js +0 -15
  731. package/build/api/models/feed-trending-provider.d.ts +0 -22
  732. package/build/api/models/feed-trending-provider.js +0 -26
  733. package/build/api/models/feed-type.d.ts +0 -21
  734. package/build/api/models/feed-type.js +0 -25
  735. package/build/api/models/filter-type.d.ts +0 -25
  736. package/build/api/models/filter-type.js +0 -29
  737. package/build/api/models/follow-sort-type.d.ts +0 -21
  738. package/build/api/models/follow-sort-type.js +0 -25
  739. package/build/api/models/for-you-provider.d.ts +0 -22
  740. package/build/api/models/for-you-provider.js +0 -26
  741. package/build/api/models/frame-base.d.ts +0 -36
  742. package/build/api/models/frame-base.js +0 -15
  743. package/build/api/models/frame-pay-transaction-request-body.js +0 -15
  744. package/build/api/models/frame-type.d.ts +0 -21
  745. package/build/api/models/frame-type.js +0 -25
  746. package/build/api/models/frame-v1-all-of-input.js +0 -15
  747. package/build/api/models/frame-v1-all-of-state.js +0 -15
  748. package/build/api/models/frame-v1-all-of.d.ts +0 -57
  749. package/build/api/models/frame-v1-all-of.js +0 -15
  750. package/build/api/models/frame-v2-all-of-metadata.js +0 -15
  751. package/build/api/models/frame-v2-all-of.d.ts +0 -45
  752. package/build/api/models/frame-v2-all-of.js +0 -15
  753. package/build/api/models/frame-v2-with-full-author-all-of.d.ts +0 -45
  754. package/build/api/models/frame-v2-with-full-author-all-of.js +0 -15
  755. package/build/api/models/fungible-owner-relevant-network.d.ts +0 -24
  756. package/build/api/models/fungible-owner-relevant-network.js +0 -28
  757. package/build/api/models/html-metadata-all-of-oembed.js +0 -15
  758. package/build/api/models/html-metadata-all-of.d.ts +0 -25
  759. package/build/api/models/html-metadata-all-of.js +0 -15
  760. package/build/api/models/mini-app-time-window.d.ts +0 -24
  761. package/build/api/models/mini-app-time-window.js +0 -28
  762. package/build/api/models/oembed-data.d.ts +0 -84
  763. package/build/api/models/oembed-data.js +0 -15
  764. package/build/api/models/oembed-link-data-all-of.d.ts +0 -28
  765. package/build/api/models/oembed-link-data-all-of.js +0 -19
  766. package/build/api/models/oembed-photo-data-all-of.d.ts +0 -46
  767. package/build/api/models/oembed-photo-data-all-of.js +0 -19
  768. package/build/api/models/oembed-rich-data-all-of.d.ts +0 -46
  769. package/build/api/models/oembed-rich-data-all-of.js +0 -19
  770. package/build/api/models/oembed-video-data-all-of.d.ts +0 -46
  771. package/build/api/models/oembed-video-data-all-of.js +0 -19
  772. package/build/api/models/og-object.d.ts +0 -314
  773. package/build/api/models/og-object.js +0 -15
  774. package/build/api/models/profile-url-pfp.d.ts +0 -24
  775. package/build/api/models/profile-url-pfp.js +0 -15
  776. package/build/api/models/profile-url.d.ts +0 -25
  777. package/build/api/models/profile-url.js +0 -15
  778. package/build/api/models/reactions-type.d.ts +0 -22
  779. package/build/api/models/reactions-type.js +0 -26
  780. package/build/api/models/search-sort-type.d.ts +0 -21
  781. package/build/api/models/search-sort-type.js +0 -25
  782. package/build/api/models/searched-user.d.ts +0 -130
  783. package/build/api/models/searched-user.js +0 -19
  784. package/build/api/models/subscribed-to-all-of.d.ts +0 -44
  785. package/build/api/models/subscribed-to-all-of.js +0 -15
  786. package/build/api/models/subscription-provider.d.ts +0 -20
  787. package/build/api/models/subscription-provider.js +0 -24
  788. package/build/api/models/subscription-providers.d.ts +0 -21
  789. package/build/api/models/subscription-providers.js +0 -25
  790. package/build/api/models/subscription-status.d.ts +0 -53
  791. package/build/api/models/transaction-frame-base.d.ts +0 -51
  792. package/build/api/models/transaction-frame-base.js +0 -15
  793. package/build/api/models/transaction-frame-pay-all-of-transaction.js +0 -15
  794. package/build/api/models/transaction-frame-pay-all-of.d.ts +0 -25
  795. package/build/api/models/transaction-frame-pay-all-of.js +0 -15
  796. package/build/api/models/validate-frame-aggregate-window.d.ts +0 -30
  797. package/build/api/models/validate-frame-aggregate-window.js +0 -34
  798. package/build/api/models/validate-frame-analytics-type.d.ts +0 -23
  799. package/build/api/models/validate-frame-analytics-type.js +0 -27
@@ -0,0 +1,317 @@
1
+ /**
2
+ * Neynar API
3
+ * The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
4
+ *
5
+ * The version of the OpenAPI document: 3.18.0
6
+ * Contact: team@neynar.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { AppHostGetEventResponse } from '../models';
16
+ import type { AppHostPostEventReqBody } from '../models';
17
+ import type { AppHostPostEventResponse } from '../models';
18
+ import type { AppHostUserStateResponse } from '../models';
19
+ /**
20
+ * AppHostApi - axios parameter creator
21
+ * @export
22
+ */
23
+ export declare const AppHostApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ * Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
26
+ * @summary Generate event
27
+ * @param {string} appDomain The domain of the mini app
28
+ * @param {number} fid The FID of the user who initiated the event
29
+ * @param {AppHostGetEventEventEnum} event The type of event
30
+ * @param {*} [options] Override http request option.
31
+ * @throws {RequiredError}
32
+ * @returns {Promise<AppHostGetEventResponse>} A promise that resolves to a `AppHostGetEventResponse` object
33
+ *
34
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-event)
35
+ *
36
+ */
37
+ appHostGetEvent: (appDomain: string, fid: number, event: AppHostGetEventEventEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ * Returns the current notification state for a specific user across all mini app domains in this app host. Shows which domains have notifications enabled.
40
+ * @summary Enabled notifications
41
+ * @param {number} fid The FID of the user
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ * @returns {Promise<AppHostUserStateResponse>} A promise that resolves to a `AppHostUserStateResponse` object
45
+ *
46
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-user-state)
47
+ *
48
+ */
49
+ appHostGetUserState: (fid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
50
+ /**
51
+ * Post an app_host event to the domain\'s webhook. Events such as enabling or disabling notifications for a user. Provide either a signed message or the signer UUID of an authorized neynar-hosted signers.
52
+ * @summary Send event
53
+ * @param {AppHostPostEventReqBody} appHostPostEventReqBody
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ * @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object
57
+ *
58
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-post-event)
59
+ *
60
+ */
61
+ appHostPostEvent: (appHostPostEventReqBody: AppHostPostEventReqBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
62
+ };
63
+ /**
64
+ * AppHostApi - functional programming interface
65
+ * @export
66
+ */
67
+ export declare const AppHostApiFp: (configuration?: Configuration) => {
68
+ /**
69
+ * Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
70
+ * @summary Generate event
71
+ * @param {string} appDomain The domain of the mini app
72
+ * @param {number} fid The FID of the user who initiated the event
73
+ * @param {AppHostGetEventEventEnum} event The type of event
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ * @returns {Promise<AppHostGetEventResponse>} A promise that resolves to a `AppHostGetEventResponse` object
77
+ *
78
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-event)
79
+ *
80
+ */
81
+ appHostGetEvent(appDomain: string, fid: number, event: AppHostGetEventEventEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppHostGetEventResponse>>;
82
+ /**
83
+ * Returns the current notification state for a specific user across all mini app domains in this app host. Shows which domains have notifications enabled.
84
+ * @summary Enabled notifications
85
+ * @param {number} fid The FID of the user
86
+ * @param {*} [options] Override http request option.
87
+ * @throws {RequiredError}
88
+ * @returns {Promise<AppHostUserStateResponse>} A promise that resolves to a `AppHostUserStateResponse` object
89
+ *
90
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-user-state)
91
+ *
92
+ */
93
+ appHostGetUserState(fid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppHostUserStateResponse>>;
94
+ /**
95
+ * Post an app_host event to the domain\'s webhook. Events such as enabling or disabling notifications for a user. Provide either a signed message or the signer UUID of an authorized neynar-hosted signers.
96
+ * @summary Send event
97
+ * @param {AppHostPostEventReqBody} appHostPostEventReqBody
98
+ * @param {*} [options] Override http request option.
99
+ * @throws {RequiredError}
100
+ * @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object
101
+ *
102
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-post-event)
103
+ *
104
+ */
105
+ appHostPostEvent(appHostPostEventReqBody: AppHostPostEventReqBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppHostPostEventResponse>>;
106
+ };
107
+ /**
108
+ * AppHostApi - factory interface
109
+ * @export
110
+ */
111
+ export declare const AppHostApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
112
+ /**
113
+ * Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
114
+ * @summary Generate event
115
+ * @param {AppHostApiAppHostGetEventRequest} requestParameters Request parameters.
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ * @returns {Promise<AppHostGetEventResponse>} A promise that resolves to a `AppHostGetEventResponse` object
119
+ *
120
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-event)
121
+ *
122
+ */
123
+ appHostGetEvent(requestParameters: AppHostApiAppHostGetEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<AppHostGetEventResponse>;
124
+ /**
125
+ * Returns the current notification state for a specific user across all mini app domains in this app host. Shows which domains have notifications enabled.
126
+ * @summary Enabled notifications
127
+ * @param {AppHostApiAppHostGetUserStateRequest} requestParameters Request parameters.
128
+ * @param {*} [options] Override http request option.
129
+ * @throws {RequiredError}
130
+ * @returns {Promise<AppHostUserStateResponse>} A promise that resolves to a `AppHostUserStateResponse` object
131
+ *
132
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-user-state)
133
+ *
134
+ */
135
+ appHostGetUserState(requestParameters: AppHostApiAppHostGetUserStateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AppHostUserStateResponse>;
136
+ /**
137
+ * Post an app_host event to the domain\'s webhook. Events such as enabling or disabling notifications for a user. Provide either a signed message or the signer UUID of an authorized neynar-hosted signers.
138
+ * @summary Send event
139
+ * @param {AppHostApiAppHostPostEventRequest} requestParameters Request parameters.
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ * @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object
143
+ *
144
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-post-event)
145
+ *
146
+ */
147
+ appHostPostEvent(requestParameters: AppHostApiAppHostPostEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<AppHostPostEventResponse>;
148
+ };
149
+ /**
150
+ * AppHostApi - interface
151
+ * @export
152
+ * @interface AppHostApi
153
+ */
154
+ export interface AppHostApiInterface {
155
+ /**
156
+ * Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
157
+ * @summary Generate event
158
+ * @param {AppHostApiAppHostGetEventRequest} requestParameters Request parameters.
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ * @memberof AppHostApiInterface
162
+ * @returns {Promise<AppHostGetEventResponse>} A promise that resolves to a `AppHostGetEventResponse` object
163
+ *
164
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-event)
165
+ *
166
+ */
167
+ appHostGetEvent(requestParameters: AppHostApiAppHostGetEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<AppHostGetEventResponse>;
168
+ /**
169
+ * Returns the current notification state for a specific user across all mini app domains in this app host. Shows which domains have notifications enabled.
170
+ * @summary Enabled notifications
171
+ * @param {AppHostApiAppHostGetUserStateRequest} requestParameters Request parameters.
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ * @memberof AppHostApiInterface
175
+ * @returns {Promise<AppHostUserStateResponse>} A promise that resolves to a `AppHostUserStateResponse` object
176
+ *
177
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-user-state)
178
+ *
179
+ */
180
+ appHostGetUserState(requestParameters: AppHostApiAppHostGetUserStateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AppHostUserStateResponse>;
181
+ /**
182
+ * Post an app_host event to the domain\'s webhook. Events such as enabling or disabling notifications for a user. Provide either a signed message or the signer UUID of an authorized neynar-hosted signers.
183
+ * @summary Send event
184
+ * @param {AppHostApiAppHostPostEventRequest} requestParameters Request parameters.
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ * @memberof AppHostApiInterface
188
+ * @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object
189
+ *
190
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-post-event)
191
+ *
192
+ */
193
+ appHostPostEvent(requestParameters: AppHostApiAppHostPostEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<AppHostPostEventResponse>;
194
+ }
195
+ /**
196
+ * Request parameters for appHostGetEvent operation in AppHostApi.
197
+ * @export
198
+ * @interface AppHostApiAppHostGetEventRequest
199
+ */
200
+ export interface AppHostApiAppHostGetEventRequest {
201
+ /**
202
+ * The domain of the mini app
203
+ *
204
+ *
205
+ *
206
+ * @type {string}
207
+ * @memberof AppHostApiAppHostGetEvent
208
+ */
209
+ readonly appDomain: string;
210
+ /**
211
+ * The FID of the user who initiated the event
212
+ *
213
+ *
214
+ *
215
+ * @type {number}
216
+ * @memberof AppHostApiAppHostGetEvent
217
+ */
218
+ readonly fid: number;
219
+ /**
220
+ * The type of event
221
+ *
222
+ *
223
+ *
224
+ * @type {'frame_added' | 'frame_removed' | 'notifications_enabled' | 'notifications_disabled'}
225
+ * @memberof AppHostApiAppHostGetEvent
226
+ */
227
+ readonly event: AppHostGetEventEventEnum;
228
+ }
229
+ /**
230
+ * Request parameters for appHostGetUserState operation in AppHostApi.
231
+ * @export
232
+ * @interface AppHostApiAppHostGetUserStateRequest
233
+ */
234
+ export interface AppHostApiAppHostGetUserStateRequest {
235
+ /**
236
+ * The FID of the user
237
+ *
238
+ *
239
+ *
240
+ * @type {number}
241
+ * @memberof AppHostApiAppHostGetUserState
242
+ */
243
+ readonly fid: number;
244
+ }
245
+ /**
246
+ * Request parameters for appHostPostEvent operation in AppHostApi.
247
+ * @export
248
+ * @interface AppHostApiAppHostPostEventRequest
249
+ */
250
+ export interface AppHostApiAppHostPostEventRequest {
251
+ /**
252
+ *
253
+ *
254
+ *
255
+ *
256
+ * @type {AppHostPostEventReqBody}
257
+ * @memberof AppHostApiAppHostPostEvent
258
+ */
259
+ readonly appHostPostEventReqBody: AppHostPostEventReqBody;
260
+ }
261
+ /**
262
+ * AppHostApi - object-oriented interface
263
+ * @export
264
+ * @class AppHostApi
265
+ * @extends {BaseAPI}
266
+ */
267
+ export declare class AppHostApi extends BaseAPI implements AppHostApiInterface {
268
+ /**
269
+ * Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
270
+ * @summary Generate event
271
+ * @param {AppHostApiAppHostGetEventRequest} requestParameters Request parameters.
272
+ * @param {*} [options] Override http request option.
273
+ * @throws {RequiredError}
274
+ * @memberof AppHostApi
275
+ * @returns {Promise<AppHostGetEventResponse>} A promise that resolves to a `AppHostGetEventResponse` object
276
+ *
277
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-event)
278
+ *
279
+ */
280
+ appHostGetEvent(requestParameters: AppHostApiAppHostGetEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AppHostGetEventResponse, any>>;
281
+ /**
282
+ * Returns the current notification state for a specific user across all mini app domains in this app host. Shows which domains have notifications enabled.
283
+ * @summary Enabled notifications
284
+ * @param {AppHostApiAppHostGetUserStateRequest} requestParameters Request parameters.
285
+ * @param {*} [options] Override http request option.
286
+ * @throws {RequiredError}
287
+ * @memberof AppHostApi
288
+ * @returns {Promise<AppHostUserStateResponse>} A promise that resolves to a `AppHostUserStateResponse` object
289
+ *
290
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-user-state)
291
+ *
292
+ */
293
+ appHostGetUserState(requestParameters: AppHostApiAppHostGetUserStateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AppHostUserStateResponse, any>>;
294
+ /**
295
+ * Post an app_host event to the domain\'s webhook. Events such as enabling or disabling notifications for a user. Provide either a signed message or the signer UUID of an authorized neynar-hosted signers.
296
+ * @summary Send event
297
+ * @param {AppHostApiAppHostPostEventRequest} requestParameters Request parameters.
298
+ * @param {*} [options] Override http request option.
299
+ * @throws {RequiredError}
300
+ * @memberof AppHostApi
301
+ * @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object
302
+ *
303
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-post-event)
304
+ *
305
+ */
306
+ appHostPostEvent(requestParameters: AppHostApiAppHostPostEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AppHostPostEventResponse, any>>;
307
+ }
308
+ /**
309
+ * @export
310
+ */
311
+ export declare const AppHostGetEventEventEnum: {
312
+ readonly FrameAdded: "frame_added";
313
+ readonly FrameRemoved: "frame_removed";
314
+ readonly NotificationsEnabled: "notifications_enabled";
315
+ readonly NotificationsDisabled: "notifications_disabled";
316
+ };
317
+ export type AppHostGetEventEventEnum = typeof AppHostGetEventEventEnum[keyof typeof AppHostGetEventEventEnum];
@@ -0,0 +1,337 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
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
+ *
8
+ * The version of the OpenAPI document: 3.18.0
9
+ * Contact: team@neynar.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __importDefault = (this && this.__importDefault) || function (mod) {
16
+ return (mod && mod.__esModule) ? mod : { "default": mod };
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.AppHostGetEventEventEnum = exports.AppHostApi = exports.AppHostApiFactory = exports.AppHostApiFp = exports.AppHostApiAxiosParamCreator = void 0;
20
+ const axios_1 = __importDefault(require("axios"));
21
+ // Some imports not used depending on template conditions
22
+ // @ts-ignore
23
+ const common_1 = require("../common");
24
+ // @ts-ignore
25
+ const base_1 = require("../base");
26
+ /**
27
+ * AppHostApi - axios parameter creator
28
+ * @export
29
+ */
30
+ const AppHostApiAxiosParamCreator = function (configuration) {
31
+ return {
32
+ /**
33
+ * Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
34
+ * @summary Generate event
35
+ * @param {string} appDomain The domain of the mini app
36
+ * @param {number} fid The FID of the user who initiated the event
37
+ * @param {AppHostGetEventEventEnum} event The type of event
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ * @returns {Promise<AppHostGetEventResponse>} A promise that resolves to a `AppHostGetEventResponse` object
41
+ *
42
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-event)
43
+ *
44
+ */
45
+ appHostGetEvent: async (appDomain, fid, event, options = {}) => {
46
+ // verify required parameter 'appDomain' is not null or undefined
47
+ (0, common_1.assertParamExists)('appHostGetEvent', 'appDomain', appDomain);
48
+ // verify required parameter 'fid' is not null or undefined
49
+ (0, common_1.assertParamExists)('appHostGetEvent', 'fid', fid);
50
+ // verify required parameter 'event' is not null or undefined
51
+ (0, common_1.assertParamExists)('appHostGetEvent', 'event', event);
52
+ const localVarPath = `/v2/farcaster/app_host/user/event/`;
53
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
54
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
55
+ let baseOptions;
56
+ if (configuration) {
57
+ baseOptions = configuration.baseOptions;
58
+ }
59
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
60
+ const localVarHeaderParameter = {};
61
+ const localVarQueryParameter = {};
62
+ // authentication ApiKeyAuth required
63
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
64
+ if (appDomain !== undefined) {
65
+ localVarQueryParameter['app_domain'] = appDomain;
66
+ }
67
+ if (fid !== undefined) {
68
+ localVarQueryParameter['fid'] = fid;
69
+ }
70
+ if (event !== undefined) {
71
+ localVarQueryParameter['event'] = event;
72
+ }
73
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
74
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
75
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
76
+ return {
77
+ url: (0, common_1.toPathString)(localVarUrlObj),
78
+ options: localVarRequestOptions,
79
+ };
80
+ },
81
+ /**
82
+ * Returns the current notification state for a specific user across all mini app domains in this app host. Shows which domains have notifications enabled.
83
+ * @summary Enabled notifications
84
+ * @param {number} fid The FID of the user
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ * @returns {Promise<AppHostUserStateResponse>} A promise that resolves to a `AppHostUserStateResponse` object
88
+ *
89
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-user-state)
90
+ *
91
+ */
92
+ appHostGetUserState: async (fid, options = {}) => {
93
+ // verify required parameter 'fid' is not null or undefined
94
+ (0, common_1.assertParamExists)('appHostGetUserState', 'fid', fid);
95
+ const localVarPath = `/v2/farcaster/app_host/user/state/`;
96
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
97
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
98
+ let baseOptions;
99
+ if (configuration) {
100
+ baseOptions = configuration.baseOptions;
101
+ }
102
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
103
+ const localVarHeaderParameter = {};
104
+ const localVarQueryParameter = {};
105
+ // authentication ApiKeyAuth required
106
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
107
+ if (fid !== undefined) {
108
+ localVarQueryParameter['fid'] = fid;
109
+ }
110
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
111
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
112
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
113
+ return {
114
+ url: (0, common_1.toPathString)(localVarUrlObj),
115
+ options: localVarRequestOptions,
116
+ };
117
+ },
118
+ /**
119
+ * Post an app_host event to the domain\'s webhook. Events such as enabling or disabling notifications for a user. Provide either a signed message or the signer UUID of an authorized neynar-hosted signers.
120
+ * @summary Send event
121
+ * @param {AppHostPostEventReqBody} appHostPostEventReqBody
122
+ * @param {*} [options] Override http request option.
123
+ * @throws {RequiredError}
124
+ * @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object
125
+ *
126
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-post-event)
127
+ *
128
+ */
129
+ appHostPostEvent: async (appHostPostEventReqBody, options = {}) => {
130
+ // verify required parameter 'appHostPostEventReqBody' is not null or undefined
131
+ (0, common_1.assertParamExists)('appHostPostEvent', 'appHostPostEventReqBody', appHostPostEventReqBody);
132
+ const localVarPath = `/v2/farcaster/app_host/user/event/`;
133
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
134
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
135
+ let baseOptions;
136
+ if (configuration) {
137
+ baseOptions = configuration.baseOptions;
138
+ }
139
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
140
+ const localVarHeaderParameter = {};
141
+ const localVarQueryParameter = {};
142
+ // authentication ApiKeyAuth required
143
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
144
+ localVarHeaderParameter['Content-Type'] = 'application/json';
145
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
147
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
148
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(appHostPostEventReqBody, localVarRequestOptions, configuration);
149
+ return {
150
+ url: (0, common_1.toPathString)(localVarUrlObj),
151
+ options: localVarRequestOptions,
152
+ };
153
+ },
154
+ };
155
+ };
156
+ exports.AppHostApiAxiosParamCreator = AppHostApiAxiosParamCreator;
157
+ /**
158
+ * AppHostApi - functional programming interface
159
+ * @export
160
+ */
161
+ const AppHostApiFp = function (configuration) {
162
+ const localVarAxiosParamCreator = (0, exports.AppHostApiAxiosParamCreator)(configuration);
163
+ return {
164
+ /**
165
+ * Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
166
+ * @summary Generate event
167
+ * @param {string} appDomain The domain of the mini app
168
+ * @param {number} fid The FID of the user who initiated the event
169
+ * @param {AppHostGetEventEventEnum} event The type of event
170
+ * @param {*} [options] Override http request option.
171
+ * @throws {RequiredError}
172
+ * @returns {Promise<AppHostGetEventResponse>} A promise that resolves to a `AppHostGetEventResponse` object
173
+ *
174
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-event)
175
+ *
176
+ */
177
+ async appHostGetEvent(appDomain, fid, event, options) {
178
+ var _a, _b, _c;
179
+ const localVarAxiosArgs = await localVarAxiosParamCreator.appHostGetEvent(appDomain, fid, event, options);
180
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
181
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppHostApi.appHostGetEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
182
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
183
+ },
184
+ /**
185
+ * Returns the current notification state for a specific user across all mini app domains in this app host. Shows which domains have notifications enabled.
186
+ * @summary Enabled notifications
187
+ * @param {number} fid The FID of the user
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ * @returns {Promise<AppHostUserStateResponse>} A promise that resolves to a `AppHostUserStateResponse` object
191
+ *
192
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-user-state)
193
+ *
194
+ */
195
+ async appHostGetUserState(fid, options) {
196
+ var _a, _b, _c;
197
+ const localVarAxiosArgs = await localVarAxiosParamCreator.appHostGetUserState(fid, options);
198
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
199
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppHostApi.appHostGetUserState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
200
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
201
+ },
202
+ /**
203
+ * Post an app_host event to the domain\'s webhook. Events such as enabling or disabling notifications for a user. Provide either a signed message or the signer UUID of an authorized neynar-hosted signers.
204
+ * @summary Send event
205
+ * @param {AppHostPostEventReqBody} appHostPostEventReqBody
206
+ * @param {*} [options] Override http request option.
207
+ * @throws {RequiredError}
208
+ * @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object
209
+ *
210
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-post-event)
211
+ *
212
+ */
213
+ async appHostPostEvent(appHostPostEventReqBody, options) {
214
+ var _a, _b, _c;
215
+ const localVarAxiosArgs = await localVarAxiosParamCreator.appHostPostEvent(appHostPostEventReqBody, options);
216
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
217
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppHostApi.appHostPostEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
218
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
219
+ },
220
+ };
221
+ };
222
+ exports.AppHostApiFp = AppHostApiFp;
223
+ /**
224
+ * AppHostApi - factory interface
225
+ * @export
226
+ */
227
+ const AppHostApiFactory = function (configuration, basePath, axios) {
228
+ const localVarFp = (0, exports.AppHostApiFp)(configuration);
229
+ return {
230
+ /**
231
+ * Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
232
+ * @summary Generate event
233
+ * @param {AppHostApiAppHostGetEventRequest} requestParameters Request parameters.
234
+ * @param {*} [options] Override http request option.
235
+ * @throws {RequiredError}
236
+ * @returns {Promise<AppHostGetEventResponse>} A promise that resolves to a `AppHostGetEventResponse` object
237
+ *
238
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-event)
239
+ *
240
+ */
241
+ appHostGetEvent(requestParameters, options) {
242
+ return localVarFp.appHostGetEvent(requestParameters.appDomain, requestParameters.fid, requestParameters.event, options).then((request) => request(axios, basePath));
243
+ },
244
+ /**
245
+ * Returns the current notification state for a specific user across all mini app domains in this app host. Shows which domains have notifications enabled.
246
+ * @summary Enabled notifications
247
+ * @param {AppHostApiAppHostGetUserStateRequest} requestParameters Request parameters.
248
+ * @param {*} [options] Override http request option.
249
+ * @throws {RequiredError}
250
+ * @returns {Promise<AppHostUserStateResponse>} A promise that resolves to a `AppHostUserStateResponse` object
251
+ *
252
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-user-state)
253
+ *
254
+ */
255
+ appHostGetUserState(requestParameters, options) {
256
+ return localVarFp.appHostGetUserState(requestParameters.fid, options).then((request) => request(axios, basePath));
257
+ },
258
+ /**
259
+ * Post an app_host event to the domain\'s webhook. Events such as enabling or disabling notifications for a user. Provide either a signed message or the signer UUID of an authorized neynar-hosted signers.
260
+ * @summary Send event
261
+ * @param {AppHostApiAppHostPostEventRequest} requestParameters Request parameters.
262
+ * @param {*} [options] Override http request option.
263
+ * @throws {RequiredError}
264
+ * @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object
265
+ *
266
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-post-event)
267
+ *
268
+ */
269
+ appHostPostEvent(requestParameters, options) {
270
+ return localVarFp.appHostPostEvent(requestParameters.appHostPostEventReqBody, options).then((request) => request(axios, basePath));
271
+ },
272
+ };
273
+ };
274
+ exports.AppHostApiFactory = AppHostApiFactory;
275
+ /**
276
+ * AppHostApi - object-oriented interface
277
+ * @export
278
+ * @class AppHostApi
279
+ * @extends {BaseAPI}
280
+ */
281
+ class AppHostApi extends base_1.BaseAPI {
282
+ /**
283
+ * Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
284
+ * @summary Generate event
285
+ * @param {AppHostApiAppHostGetEventRequest} requestParameters Request parameters.
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ * @memberof AppHostApi
289
+ * @returns {Promise<AppHostGetEventResponse>} A promise that resolves to a `AppHostGetEventResponse` object
290
+ *
291
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-event)
292
+ *
293
+ */
294
+ appHostGetEvent(requestParameters, options) {
295
+ return (0, exports.AppHostApiFp)(this.configuration).appHostGetEvent(requestParameters.appDomain, requestParameters.fid, requestParameters.event, options).then((request) => request(this.axios, this.basePath));
296
+ }
297
+ /**
298
+ * Returns the current notification state for a specific user across all mini app domains in this app host. Shows which domains have notifications enabled.
299
+ * @summary Enabled notifications
300
+ * @param {AppHostApiAppHostGetUserStateRequest} requestParameters Request parameters.
301
+ * @param {*} [options] Override http request option.
302
+ * @throws {RequiredError}
303
+ * @memberof AppHostApi
304
+ * @returns {Promise<AppHostUserStateResponse>} A promise that resolves to a `AppHostUserStateResponse` object
305
+ *
306
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-get-user-state)
307
+ *
308
+ */
309
+ appHostGetUserState(requestParameters, options) {
310
+ return (0, exports.AppHostApiFp)(this.configuration).appHostGetUserState(requestParameters.fid, options).then((request) => request(this.axios, this.basePath));
311
+ }
312
+ /**
313
+ * Post an app_host event to the domain\'s webhook. Events such as enabling or disabling notifications for a user. Provide either a signed message or the signer UUID of an authorized neynar-hosted signers.
314
+ * @summary Send event
315
+ * @param {AppHostApiAppHostPostEventRequest} requestParameters Request parameters.
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ * @memberof AppHostApi
319
+ * @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object
320
+ *
321
+ * For more information, refer to the [API documentation](https://docs.neynar.com/reference/app-host-post-event)
322
+ *
323
+ */
324
+ appHostPostEvent(requestParameters, options) {
325
+ return (0, exports.AppHostApiFp)(this.configuration).appHostPostEvent(requestParameters.appHostPostEventReqBody, options).then((request) => request(this.axios, this.basePath));
326
+ }
327
+ }
328
+ exports.AppHostApi = AppHostApi;
329
+ /**
330
+ * @export
331
+ */
332
+ exports.AppHostGetEventEventEnum = {
333
+ FrameAdded: 'frame_added',
334
+ FrameRemoved: 'frame_removed',
335
+ NotificationsEnabled: 'notifications_enabled',
336
+ NotificationsDisabled: 'notifications_disabled'
337
+ };