@neynar/nodejs-sdk 3.137.0 → 3.137.1

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 (543) hide show
  1. package/build/api/base.d.ts +0 -24
  2. package/build/api/base.js +0 -19
  3. package/build/api/common.d.ts +5 -36
  4. package/build/api/common.js +16 -38
  5. package/build/api/models/add-verification-req-body.d.ts +0 -29
  6. package/build/api/models/address-balance-verified-address.d.ts +0 -12
  7. package/build/api/models/address-balance.d.ts +0 -17
  8. package/build/api/models/app-host-event-type.d.ts +0 -2
  9. package/build/api/models/app-host-event-type.js +0 -2
  10. package/build/api/models/app-host-get-event-response-notification-details.d.ts +0 -6
  11. package/build/api/models/app-host-get-event-response.d.ts +0 -12
  12. package/build/api/models/app-host-post-event-req-body.d.ts +0 -1
  13. package/build/api/models/app-host-post-event-response.d.ts +0 -15
  14. package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +0 -11
  15. package/build/api/models/app-host-user-state-response.d.ts +0 -7
  16. package/build/api/models/associate-deployment-request-account-association.d.ts +0 -8
  17. package/build/api/models/associate-deployment-request.d.ts +0 -18
  18. package/build/api/models/associate-deployment200-response.d.ts +0 -12
  19. package/build/api/models/authorization-url-response.d.ts +0 -10
  20. package/build/api/models/balance-response-user-balance.d.ts +0 -20
  21. package/build/api/models/balance-response.d.ts +0 -10
  22. package/build/api/models/ban-list-response.d.ts +0 -15
  23. package/build/api/models/ban-record.d.ts +0 -20
  24. package/build/api/models/ban-req-body.d.ts +0 -10
  25. package/build/api/models/ban-response.d.ts +0 -15
  26. package/build/api/models/batch-get-token-metadata200-response-tokens-inner.d.ts +0 -46
  27. package/build/api/models/batch-get-token-metadata200-response.d.ts +0 -10
  28. package/build/api/models/best-friends-response-users-inner.d.ts +0 -20
  29. package/build/api/models/best-friends-response.d.ts +0 -15
  30. package/build/api/models/block-list-response.d.ts +0 -15
  31. package/build/api/models/block-record.d.ts +0 -25
  32. package/build/api/models/block-req-body.d.ts +0 -9
  33. package/build/api/models/build-request.d.ts +0 -13
  34. package/build/api/models/bulk-casts-response.d.ts +0 -10
  35. package/build/api/models/bulk-follow-response.d.ts +0 -15
  36. package/build/api/models/bulk-users-by-address-response.d.ts +0 -5
  37. package/build/api/models/bulk-users-response.d.ts +0 -10
  38. package/build/api/models/buy-storage-req-body.d.ts +0 -14
  39. package/build/api/models/cast-and-conversations-ref.d.ts +0 -108
  40. package/build/api/models/cast-and-conversations.d.ts +0 -111
  41. package/build/api/models/cast-dehydrated.d.ts +0 -25
  42. package/build/api/models/cast-embed-crawl-response.d.ts +0 -10
  43. package/build/api/models/cast-embedded-parent-author.d.ts +0 -7
  44. package/build/api/models/cast-embedded.d.ts +0 -60
  45. package/build/api/models/cast-notification-type.d.ts +2 -4
  46. package/build/api/models/cast-notification-type.js +2 -4
  47. package/build/api/models/cast-reactions.d.ts +0 -19
  48. package/build/api/models/cast-replies.d.ts +0 -10
  49. package/build/api/models/cast-response.d.ts +0 -10
  50. package/build/api/models/cast-viewer-context.d.ts +0 -6
  51. package/build/api/models/cast.d.ts +0 -109
  52. package/build/api/models/casts-metrics-response.d.ts +0 -10
  53. package/build/api/models/casts-metrics.d.ts +0 -20
  54. package/build/api/models/casts-response-result.d.ts +0 -10
  55. package/build/api/models/casts-response.d.ts +0 -10
  56. package/build/api/models/casts-search-response.d.ts +0 -10
  57. package/build/api/models/channel-activity.d.ts +0 -30
  58. package/build/api/models/channel-dehydrated.d.ts +0 -30
  59. package/build/api/models/channel-external-link.d.ts +0 -12
  60. package/build/api/models/channel-follow-req-body.d.ts +0 -9
  61. package/build/api/models/channel-list-response.d.ts +0 -15
  62. package/build/api/models/channel-member-channel.d.ts +0 -1
  63. package/build/api/models/channel-member-invite-list-response.d.ts +0 -15
  64. package/build/api/models/channel-member-invite.d.ts +0 -22
  65. package/build/api/models/channel-member-list-response.d.ts +0 -15
  66. package/build/api/models/channel-member-role.d.ts +0 -2
  67. package/build/api/models/channel-member-role.js +0 -2
  68. package/build/api/models/channel-member-user.d.ts +0 -1
  69. package/build/api/models/channel-member.d.ts +0 -25
  70. package/build/api/models/channel-or-channel-dehydrated.d.ts +0 -1
  71. package/build/api/models/channel-response-bulk.d.ts +0 -10
  72. package/build/api/models/channel-response.d.ts +0 -10
  73. package/build/api/models/channel-search-response.d.ts +0 -15
  74. package/build/api/models/channel-user-context.d.ts +0 -9
  75. package/build/api/models/channel.d.ts +0 -89
  76. package/build/api/models/conflict-error-res.d.ts +0 -22
  77. package/build/api/models/conversation-conversation.d.ts +0 -15
  78. package/build/api/models/conversation-summary-summary.d.ts +0 -11
  79. package/build/api/models/conversation-summary.d.ts +0 -10
  80. package/build/api/models/conversation.d.ts +0 -15
  81. package/build/api/models/create-deployment-request.d.ts +0 -11
  82. package/build/api/models/create-x402-signature-request-payment-requirements-accepts-inner.d.ts +0 -54
  83. package/build/api/models/create-x402-signature-request-payment-requirements.d.ts +0 -15
  84. package/build/api/models/create-x402-signature-request.d.ts +0 -10
  85. package/build/api/models/create-x402-signature200-response-payload-authorization.d.ts +0 -29
  86. package/build/api/models/create-x402-signature200-response-payload.d.ts +0 -15
  87. package/build/api/models/create-x402-signature200-response.d.ts +0 -25
  88. package/build/api/models/delete-cast-req-body.d.ts +0 -12
  89. package/build/api/models/delete-deployment-request.d.ts +0 -13
  90. package/build/api/models/delete-deployment200-response.d.ts +0 -15
  91. package/build/api/models/delete-rows-request.d.ts +0 -13
  92. package/build/api/models/delete-rows200-response.d.ts +0 -7
  93. package/build/api/models/delete-secrets-request.d.ts +0 -9
  94. package/build/api/models/deploy-erc721-request-collection-config.d.ts +0 -16
  95. package/build/api/models/deploy-erc721-request-mint-config.d.ts +0 -15
  96. package/build/api/models/deploy-erc721-request.d.ts +0 -29
  97. package/build/api/models/deploy-erc721201-response-collection.d.ts +0 -29
  98. package/build/api/models/deploy-erc721201-response.d.ts +0 -15
  99. package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +0 -20
  100. package/build/api/models/deploy-fungible-response-contract.d.ts +0 -10
  101. package/build/api/models/deploy-fungible-response.d.ts +0 -10
  102. package/build/api/models/deploy-to-vercel-request.d.ts +0 -15
  103. package/build/api/models/deploy-to-vercel200-response.d.ts +0 -13
  104. package/build/api/models/deploy-to-vercel400-response.d.ts +0 -15
  105. package/build/api/models/developer-managed-signer.d.ts +0 -19
  106. package/build/api/models/embed-cast-deep-cast-id.d.ts +0 -9
  107. package/build/api/models/embed-cast-deep.d.ts +0 -13
  108. package/build/api/models/embed-cast.d.ts +0 -13
  109. package/build/api/models/embed-deep.d.ts +0 -1
  110. package/build/api/models/embed-url-metadata-image.d.ts +0 -15
  111. package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +0 -20
  112. package/build/api/models/embed-url-metadata-video.d.ts +0 -15
  113. package/build/api/models/embed-url-metadata.d.ts +0 -40
  114. package/build/api/models/embed-url.d.ts +0 -15
  115. package/build/api/models/embed.d.ts +0 -1
  116. package/build/api/models/encoded-json-farcaster-signature.d.ts +0 -17
  117. package/build/api/models/error-res.d.ts +0 -22
  118. package/build/api/models/execute-sql-request.d.ts +0 -11
  119. package/build/api/models/execute-sql200-response.d.ts +0 -13
  120. package/build/api/models/farcaster-action-req-body-action.d.ts +0 -9
  121. package/build/api/models/farcaster-action-req-body.d.ts +0 -14
  122. package/build/api/models/farcaster-fungible.d.ts +0 -17
  123. package/build/api/models/farcaster-manifest-frame.d.ts +0 -72
  124. package/build/api/models/farcaster-manifest.d.ts +0 -20
  125. package/build/api/models/feed-response.d.ts +0 -15
  126. package/build/api/models/fetch-cast-quotes200-response.d.ts +0 -15
  127. package/build/api/models/fetch-feed-for-you400-response.d.ts +0 -1
  128. package/build/api/models/fetch-fungible-trades200-response-trades-inner-pool.d.ts +0 -25
  129. package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-net-transfer.d.ts +0 -20
  130. package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-network.d.ts +0 -15
  131. package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction.d.ts +0 -20
  132. package/build/api/models/fetch-fungible-trades200-response-trades-inner.d.ts +0 -25
  133. package/build/api/models/fetch-fungible-trades200-response.d.ts +0 -15
  134. package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame-metadata.d.ts +0 -10
  135. package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame.d.ts +0 -25
  136. package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.d.ts +0 -14
  137. package/build/api/models/fetch-relevant-frames200-response.d.ts +0 -10
  138. package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible-price.d.ts +0 -10
  139. package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible.d.ts +0 -32
  140. package/build/api/models/fetch-trending-fungibles200-response-trending-inner.d.ts +0 -15
  141. package/build/api/models/fetch-trending-fungibles200-response.d.ts +0 -10
  142. package/build/api/models/fetch-user-interactions200-response.d.ts +0 -10
  143. package/build/api/models/fetch-user-reciprocal-followers200-response.d.ts +0 -15
  144. package/build/api/models/fetch-verifications200-response.d.ts +0 -10
  145. package/build/api/models/fname-availability-response.d.ts +0 -10
  146. package/build/api/models/follow-req-body.d.ts +0 -12
  147. package/build/api/models/follow-response.d.ts +0 -17
  148. package/build/api/models/follower-dehydrated.d.ts +0 -15
  149. package/build/api/models/follower.d.ts +0 -20
  150. package/build/api/models/followers-response.d.ts +0 -15
  151. package/build/api/models/frame-action-button.d.ts +0 -18
  152. package/build/api/models/frame-button-action-type.d.ts +0 -2
  153. package/build/api/models/frame-button-action-type.js +0 -2
  154. package/build/api/models/frame-catalog-response.d.ts +0 -15
  155. package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +0 -37
  156. package/build/api/models/frame-notification-tokens.d.ts +0 -15
  157. package/build/api/models/frame-pay-transaction-req-body-transaction.d.ts +0 -10
  158. package/build/api/models/frame-pay-transaction-req-body.d.ts +0 -17
  159. package/build/api/models/frame-v1-input.d.ts +0 -7
  160. package/build/api/models/frame-v1-state.d.ts +0 -7
  161. package/build/api/models/frame-v1.d.ts +0 -35
  162. package/build/api/models/frame-v2-with-full-author.d.ts +0 -25
  163. package/build/api/models/frame-v2.d.ts +0 -25
  164. package/build/api/models/frame.d.ts +0 -1
  165. package/build/api/models/fungible-balance-balance.d.ts +0 -15
  166. package/build/api/models/fungible-balance.d.ts +0 -20
  167. package/build/api/models/fungible.d.ts +0 -27
  168. package/build/api/models/fungibles-response-schema.d.ts +0 -7
  169. package/build/api/models/get-account-association200-response.d.ts +0 -11
  170. package/build/api/models/get-conversation-messages200-response-messages-inner.d.ts +0 -19
  171. package/build/api/models/get-conversation-messages200-response.d.ts +0 -7
  172. package/build/api/models/get-deployment-file200-response.d.ts +0 -9
  173. package/build/api/models/get-dev-status200-response-one-of.d.ts +0 -15
  174. package/build/api/models/get-dev-status200-response-one-of1.d.ts +0 -45
  175. package/build/api/models/get-dev-status200-response.d.ts +0 -1
  176. package/build/api/models/get-notification-campaign-stats200-response.d.ts +0 -15
  177. package/build/api/models/get-table-schema200-response-columns-inner.d.ts +0 -17
  178. package/build/api/models/get-table-schema200-response-foreign-keys-inner.d.ts +0 -13
  179. package/build/api/models/get-table-schema200-response-indexes-inner.d.ts +0 -13
  180. package/build/api/models/get-table-schema200-response.d.ts +0 -15
  181. package/build/api/models/get-token-metadata200-response-token.d.ts +0 -46
  182. package/build/api/models/get-token-metadata200-response.d.ts +0 -10
  183. package/build/api/models/get-wallet-balances200-response-balances-inner.d.ts +0 -26
  184. package/build/api/models/get-wallet-balances200-response-next.d.ts +0 -7
  185. package/build/api/models/get-wallet-balances200-response.d.ts +0 -15
  186. package/build/api/models/html-metadata-oembed.d.ts +0 -1
  187. package/build/api/models/html-metadata.d.ts +0 -255
  188. package/build/api/models/image-object.d.ts +0 -30
  189. package/build/api/models/index.d.ts +0 -1
  190. package/build/api/models/index.js +0 -1
  191. package/build/api/models/insert-rows-request.d.ts +0 -11
  192. package/build/api/models/insert-rows200-response.d.ts +0 -9
  193. package/build/api/models/invite-channel-member-req-body.d.ts +0 -16
  194. package/build/api/models/list-conversations200-response-conversations-inner.d.ts +0 -19
  195. package/build/api/models/list-conversations200-response.d.ts +0 -7
  196. package/build/api/models/list-deployment-files200-response-files-inner.d.ts +0 -11
  197. package/build/api/models/list-deployment-files200-response.d.ts +0 -7
  198. package/build/api/models/list-deployments200-response-inner-production-app-status.d.ts +0 -12
  199. package/build/api/models/list-deployments200-response-inner.d.ts +0 -34
  200. package/build/api/models/list-deployments400-response.d.ts +0 -10
  201. package/build/api/models/list-secrets200-response-secrets-inner.d.ts +0 -9
  202. package/build/api/models/list-secrets200-response.d.ts +0 -15
  203. package/build/api/models/list-tables200-response-tables-inner.d.ts +0 -13
  204. package/build/api/models/list-tables200-response.d.ts +0 -7
  205. package/build/api/models/list-tables400-response.d.ts +0 -15
  206. package/build/api/models/location-address.d.ts +0 -30
  207. package/build/api/models/location.d.ts +0 -19
  208. package/build/api/models/mark-notifications-as-seen-req-body.d.ts +0 -12
  209. package/build/api/models/miniapp-domain-response.d.ts +0 -25
  210. package/build/api/models/mint-nft-request-recipients-inner-one-of.d.ts +0 -14
  211. package/build/api/models/mint-nft-request-recipients-inner-one-of1.d.ts +0 -14
  212. package/build/api/models/mint-nft-request-recipients-inner.d.ts +0 -1
  213. package/build/api/models/mint-nft-request.d.ts +0 -10
  214. package/build/api/models/mint-nft200-response-transactions-inner-one-of-receipt.d.ts +0 -17
  215. package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient.d.ts +0 -11
  216. package/build/api/models/mint-nft200-response-transactions-inner-one-of.d.ts +0 -14
  217. package/build/api/models/mint-nft200-response-transactions-inner-one-of1-recipient.d.ts +0 -11
  218. package/build/api/models/mint-nft200-response-transactions-inner-one-of1.d.ts +0 -9
  219. package/build/api/models/mint-nft200-response-transactions-inner.d.ts +0 -1
  220. package/build/api/models/mint-nft200-response.d.ts +0 -4
  221. package/build/api/models/mute-list-response.d.ts +0 -15
  222. package/build/api/models/mute-record.d.ts +0 -20
  223. package/build/api/models/mute-req-body.d.ts +0 -9
  224. package/build/api/models/mute-response.d.ts +0 -15
  225. package/build/api/models/network.d.ts +0 -2
  226. package/build/api/models/network.js +0 -2
  227. package/build/api/models/next-cursor.d.ts +0 -7
  228. package/build/api/models/nonce-response.d.ts +0 -7
  229. package/build/api/models/notification-campaign-stats-error-breakdown.d.ts +0 -6
  230. package/build/api/models/notification-campaign-stats.d.ts +0 -26
  231. package/build/api/models/notification-campaign.d.ts +0 -21
  232. package/build/api/models/notification-type.d.ts +0 -2
  233. package/build/api/models/notification-type.js +0 -2
  234. package/build/api/models/notification.d.ts +0 -42
  235. package/build/api/models/notifications-response.d.ts +0 -20
  236. package/build/api/models/oembed-link-data.d.ts +0 -30
  237. package/build/api/models/oembed-photo-data.d.ts +0 -36
  238. package/build/api/models/oembed-rich-data.d.ts +0 -36
  239. package/build/api/models/oembed-video-data.d.ts +0 -36
  240. package/build/api/models/operation-response.d.ts +0 -15
  241. package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +0 -12
  242. package/build/api/models/post-cast-req-body-embeds-one-of.d.ts +0 -10
  243. package/build/api/models/post-cast-req-body-embeds-one-of1.d.ts +0 -10
  244. package/build/api/models/post-cast-req-body-embeds-one-of2.d.ts +0 -10
  245. package/build/api/models/post-cast-req-body-embeds.d.ts +0 -1
  246. package/build/api/models/post-cast-req-body.d.ts +0 -25
  247. package/build/api/models/post-cast-response-cast-author.d.ts +0 -7
  248. package/build/api/models/post-cast-response-cast.d.ts +0 -20
  249. package/build/api/models/post-cast-response.d.ts +0 -15
  250. package/build/api/models/prompt-deployment-stream-request.d.ts +0 -21
  251. package/build/api/models/protocol.d.ts +0 -2
  252. package/build/api/models/protocol.js +0 -2
  253. package/build/api/models/query-table-request.d.ts +0 -21
  254. package/build/api/models/query-table200-response-columns-inner.d.ts +0 -9
  255. package/build/api/models/query-table200-response.d.ts +0 -17
  256. package/build/api/models/reaction-for-cast.d.ts +0 -30
  257. package/build/api/models/reaction-like.d.ts +0 -12
  258. package/build/api/models/reaction-recast.d.ts +0 -12
  259. package/build/api/models/reaction-req-body.d.ts +0 -18
  260. package/build/api/models/reaction-type.d.ts +0 -5
  261. package/build/api/models/reaction-type.js +0 -5
  262. package/build/api/models/reaction-with-cast-info.d.ts +0 -35
  263. package/build/api/models/reaction-with-user-info.d.ts +0 -20
  264. package/build/api/models/reactions-cast-response.d.ts +0 -15
  265. package/build/api/models/reactions-response.d.ts +0 -15
  266. package/build/api/models/reciprocal-follower.d.ts +0 -20
  267. package/build/api/models/recover-request.d.ts +0 -11
  268. package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.d.ts +0 -20
  269. package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +0 -20
  270. package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.d.ts +0 -19
  271. package/build/api/models/register-signer-key-req-body.d.ts +0 -20
  272. package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.d.ts +0 -13
  273. package/build/api/models/register-user-on-chain-req-body-registration.d.ts +0 -16
  274. package/build/api/models/register-user-on-chain-req-body-signers-inner.d.ts +0 -26
  275. package/build/api/models/register-user-on-chain-req-body.d.ts +0 -27
  276. package/build/api/models/register-user-on-chain-response.d.ts +0 -20
  277. package/build/api/models/register-user-req-body-metadata.d.ts +0 -40
  278. package/build/api/models/register-user-req-body-signer.d.ts +0 -25
  279. package/build/api/models/register-user-req-body.d.ts +0 -40
  280. package/build/api/models/register-user-response-signers-inner.d.ts +0 -31
  281. package/build/api/models/register-user-response.d.ts +0 -30
  282. package/build/api/models/relevant-followers-response.d.ts +0 -15
  283. package/build/api/models/relevant-fungible-owners-response.d.ts +0 -15
  284. package/build/api/models/remove-channel-member-req-body.d.ts +0 -16
  285. package/build/api/models/remove-verification-req-body.d.ts +0 -19
  286. package/build/api/models/respond-channel-invite-req-body.d.ts +0 -16
  287. package/build/api/models/send-frame-notifications-req-body-filters-near-location.d.ts +0 -19
  288. package/build/api/models/send-frame-notifications-req-body-filters.d.ts +0 -13
  289. package/build/api/models/send-frame-notifications-req-body-notification.d.ts +0 -13
  290. package/build/api/models/send-frame-notifications-req-body.d.ts +0 -17
  291. package/build/api/models/send-frame-notifications-response.d.ts +0 -15
  292. package/build/api/models/shared-signer-permission.d.ts +0 -5
  293. package/build/api/models/shared-signer-permission.js +0 -5
  294. package/build/api/models/signed-key-request-sponsor.d.ts +0 -11
  295. package/build/api/models/signed-message-body-signed-message.d.ts +0 -1
  296. package/build/api/models/signed-message-body.d.ts +0 -12
  297. package/build/api/models/signer-list-response.d.ts +0 -10
  298. package/build/api/models/signer-uuid-body.d.ts +0 -16
  299. package/build/api/models/signer.d.ts +0 -31
  300. package/build/api/models/simulate-nft-mint-response-inner-recipient-one-of.d.ts +0 -14
  301. package/build/api/models/simulate-nft-mint-response-inner-recipient-one-of1.d.ts +0 -14
  302. package/build/api/models/simulate-nft-mint-response-inner-recipient.d.ts +0 -1
  303. package/build/api/models/simulate-nft-mint-response-inner.d.ts +0 -41
  304. package/build/api/models/simulate-nft-mint-response.d.ts +0 -2
  305. package/build/api/models/start-app-request.d.ts +0 -13
  306. package/build/api/models/start-app200-response.d.ts +0 -12
  307. package/build/api/models/storage-allocation.d.ts +0 -30
  308. package/build/api/models/storage-allocations-response.d.ts +0 -15
  309. package/build/api/models/storage-object.d.ts +0 -20
  310. package/build/api/models/storage-usage-response.d.ts +0 -50
  311. package/build/api/models/subscribed-to-object.d.ts +0 -45
  312. package/build/api/models/subscribed-to-response.d.ts +0 -10
  313. package/build/api/models/subscribed-to.d.ts +0 -75
  314. package/build/api/models/subscriber.d.ts +0 -20
  315. package/build/api/models/subscribers-response.d.ts +0 -10
  316. package/build/api/models/subscription-check-response-value.d.ts +0 -30
  317. package/build/api/models/subscription-check-response.d.ts +0 -5
  318. package/build/api/models/subscription-metadata.d.ts +0 -20
  319. package/build/api/models/subscription-price.d.ts +0 -20
  320. package/build/api/models/subscription-tier-price.d.ts +0 -20
  321. package/build/api/models/subscription-tier.d.ts +0 -15
  322. package/build/api/models/subscription-token.d.ts +0 -25
  323. package/build/api/models/subscription.d.ts +0 -55
  324. package/build/api/models/subscriptions-response.d.ts +0 -10
  325. package/build/api/models/subscriptions.d.ts +0 -10
  326. package/build/api/models/text-range.d.ts +0 -15
  327. package/build/api/models/token-balance-balance.d.ts +0 -9
  328. package/build/api/models/token-balance-token.d.ts +0 -18
  329. package/build/api/models/token-balance.d.ts +0 -17
  330. package/build/api/models/transaction-frame-action.d.ts +0 -8
  331. package/build/api/models/transaction-frame-config.d.ts +0 -14
  332. package/build/api/models/transaction-frame-destination.d.ts +0 -16
  333. package/build/api/models/transaction-frame-line-item.d.ts +0 -11
  334. package/build/api/models/transaction-frame-pay.d.ts +0 -29
  335. package/build/api/models/transaction-frame-response.d.ts +2 -12
  336. package/build/api/models/transaction-frame-status.d.ts +0 -5
  337. package/build/api/models/transaction-frame-status.js +0 -5
  338. package/build/api/models/transaction-frame-type.d.ts +0 -2
  339. package/build/api/models/transaction-frame-type.js +0 -2
  340. package/build/api/models/transaction-send-fungibles-receipt.d.ts +0 -19
  341. package/build/api/models/transaction-send-fungibles-recipient.d.ts +0 -9
  342. package/build/api/models/transaction-send-fungibles-req-body.d.ts +0 -17
  343. package/build/api/models/transaction-send-fungibles-response.d.ts +0 -15
  344. package/build/api/models/transaction-send-tx-info.d.ts +0 -19
  345. package/build/api/models/trending-channel-response.d.ts +0 -15
  346. package/build/api/models/trending-topic.d.ts +0 -15
  347. package/build/api/models/trending-topics-response.d.ts +0 -15
  348. package/build/api/models/update-rows-request.d.ts +0 -15
  349. package/build/api/models/update-rows200-response.d.ts +0 -7
  350. package/build/api/models/update-user-req-body-location.d.ts +0 -15
  351. package/build/api/models/update-user-req-body-verified-accounts.d.ts +0 -15
  352. package/build/api/models/update-user-req-body.d.ts +0 -48
  353. package/build/api/models/update-user207-response-errors-inner.d.ts +0 -10
  354. package/build/api/models/update-user207-response.d.ts +0 -15
  355. package/build/api/models/upload-image-url-request.d.ts +0 -15
  356. package/build/api/models/upload-image200-response.d.ts +0 -13
  357. package/build/api/models/upsert-secrets-request-secrets-inner.d.ts +0 -9
  358. package/build/api/models/upsert-secrets-request.d.ts +0 -9
  359. package/build/api/models/upsert-secrets200-response.d.ts +0 -10
  360. package/build/api/models/user-auth-addresses-inner.d.ts +0 -12
  361. package/build/api/models/user-dehydrated.d.ts +0 -34
  362. package/build/api/models/user-experimental.d.ts +0 -12
  363. package/build/api/models/user-fidresponse.d.ts +0 -7
  364. package/build/api/models/user-power-lite-response-result.d.ts +0 -7
  365. package/build/api/models/user-power-lite-response.d.ts +0 -10
  366. package/build/api/models/user-pro.d.ts +0 -17
  367. package/build/api/models/user-profile-banner.d.ts +0 -7
  368. package/build/api/models/user-profile-bio.d.ts +0 -24
  369. package/build/api/models/user-profile.d.ts +0 -20
  370. package/build/api/models/user-response.d.ts +0 -10
  371. package/build/api/models/user-search-response-result.d.ts +0 -15
  372. package/build/api/models/user-search-response.d.ts +0 -10
  373. package/build/api/models/user-verified-accounts-inner.d.ts +0 -12
  374. package/build/api/models/user-verified-addresses-primary.d.ts +0 -9
  375. package/build/api/models/user-verified-addresses.d.ts +0 -14
  376. package/build/api/models/user-viewer-context.d.ts +0 -10
  377. package/build/api/models/user.d.ts +0 -77
  378. package/build/api/models/users-active-channels-response.d.ts +0 -15
  379. package/build/api/models/users-response.d.ts +0 -15
  380. package/build/api/models/vercel-deployment-logs200-response-logs-inner.d.ts +0 -13
  381. package/build/api/models/vercel-deployment-logs200-response.d.ts +0 -9
  382. package/build/api/models/vercel-deployment-status200-response.d.ts +0 -17
  383. package/build/api/models/verification-chain-id.d.ts +0 -2
  384. package/build/api/models/verification-chain-id.js +0 -2
  385. package/build/api/models/verification-type.d.ts +0 -2
  386. package/build/api/models/verification-type.js +0 -2
  387. package/build/api/models/verification.d.ts +0 -21
  388. package/build/api/models/video-object.d.ts +0 -25
  389. package/build/api/models/webhook-delete-req-body.d.ts +0 -10
  390. package/build/api/models/webhook-list-response.d.ts +0 -10
  391. package/build/api/models/webhook-patch-req-body.d.ts +0 -15
  392. package/build/api/models/webhook-post-req-body.d.ts +0 -20
  393. package/build/api/models/webhook-put-req-body.d.ts +0 -25
  394. package/build/api/models/webhook-response.d.ts +0 -20
  395. package/build/api/models/webhook-secret.d.ts +0 -35
  396. package/build/api/models/webhook-subscription-filters-cast.d.ts +0 -50
  397. package/build/api/models/webhook-subscription-filters-follow.d.ts +0 -15
  398. package/build/api/models/webhook-subscription-filters-reaction.d.ts +0 -20
  399. package/build/api/models/webhook-subscription-filters-trade.d.ts +0 -20
  400. package/build/api/models/webhook-subscription-filters-user-updated.d.ts +0 -10
  401. package/build/api/models/webhook-subscription-filters.d.ts +0 -50
  402. package/build/api/models/webhook-subscription.d.ts +0 -30
  403. package/build/api/models/webhook.d.ts +0 -80
  404. package/build/api/models/zod-error-errors-inner.d.ts +0 -30
  405. package/build/api/models/zod-error.d.ts +0 -20
  406. package/build/clients/NeynarAPIClient.js +17 -7
  407. package/build/clients/NeynarHubClient.js +17 -7
  408. package/build/hub-api/base.d.ts +0 -24
  409. package/build/hub-api/base.js +0 -19
  410. package/build/hub-api/common.d.ts +5 -36
  411. package/build/hub-api/common.js +16 -38
  412. package/build/hub-api/models/cast-add-all-of-data-all-of.d.ts +0 -10
  413. package/build/hub-api/models/cast-add-all-of-data.d.ts +0 -1
  414. package/build/hub-api/models/cast-add-all-of.d.ts +0 -10
  415. package/build/hub-api/models/cast-add-body.d.ts +0 -37
  416. package/build/hub-api/models/cast-add.d.ts +0 -1
  417. package/build/hub-api/models/cast-embed.d.ts +0 -10
  418. package/build/hub-api/models/cast-id.d.ts +0 -6
  419. package/build/hub-api/models/db-stats.d.ts +0 -20
  420. package/build/hub-api/models/embed.d.ts +0 -1
  421. package/build/hub-api/models/error-response-metadata.d.ts +0 -10
  422. package/build/hub-api/models/error-response.d.ts +0 -35
  423. package/build/hub-api/models/farcaster-network.d.ts +3 -5
  424. package/build/hub-api/models/farcaster-network.js +3 -5
  425. package/build/hub-api/models/fetch-cast-reactions200-response-all-of.d.ts +0 -10
  426. package/build/hub-api/models/fetch-cast-reactions200-response.d.ts +0 -1
  427. package/build/hub-api/models/fetch-casts-by-parent200-response-all-of.d.ts +0 -7
  428. package/build/hub-api/models/fetch-casts-by-parent200-response.d.ts +0 -1
  429. package/build/hub-api/models/fetch-events200-response.d.ts +0 -15
  430. package/build/hub-api/models/fetch-user-data200-response-one-of-all-of.d.ts +0 -10
  431. package/build/hub-api/models/fetch-user-data200-response-one-of.d.ts +0 -1
  432. package/build/hub-api/models/fetch-user-data200-response.d.ts +0 -1
  433. package/build/hub-api/models/fetch-user-following200-response-all-of.d.ts +0 -10
  434. package/build/hub-api/models/fetch-user-following200-response.d.ts +0 -1
  435. package/build/hub-api/models/fetch-user-on-chain-events200-response.d.ts +0 -10
  436. package/build/hub-api/models/fetch-user-on-chain-signers-events200-response-one-of.d.ts +0 -10
  437. package/build/hub-api/models/fetch-user-on-chain-signers-events200-response.d.ts +0 -1
  438. package/build/hub-api/models/fetch-users-casts200-response-all-of.d.ts +0 -10
  439. package/build/hub-api/models/fetch-users-casts200-response.d.ts +0 -1
  440. package/build/hub-api/models/fetch-verifications-by-fid200-response.d.ts +0 -15
  441. package/build/hub-api/models/fids-response-all-of.d.ts +0 -10
  442. package/build/hub-api/models/fids-response.d.ts +0 -1
  443. package/build/hub-api/models/frame-action-body.d.ts +0 -8
  444. package/build/hub-api/models/hash-scheme.d.ts +0 -2
  445. package/build/hub-api/models/hash-scheme.js +0 -2
  446. package/build/hub-api/models/hub-event-merge-message.d.ts +0 -20
  447. package/build/hub-api/models/hub-event-merge-on-chain-event.d.ts +0 -20
  448. package/build/hub-api/models/hub-event-merge-username-proof.d.ts +0 -20
  449. package/build/hub-api/models/hub-event-prune-message.d.ts +0 -20
  450. package/build/hub-api/models/hub-event-revoke-message.d.ts +0 -20
  451. package/build/hub-api/models/hub-event.d.ts +0 -1
  452. package/build/hub-api/models/hub-info-response.d.ts +0 -40
  453. package/build/hub-api/models/id-register-event-body.d.ts +0 -25
  454. package/build/hub-api/models/id-register-event-type.d.ts +3 -8
  455. package/build/hub-api/models/id-register-event-type.js +3 -8
  456. package/build/hub-api/models/link-add-all-of-data.d.ts +0 -1
  457. package/build/hub-api/models/link-add-all-of.d.ts +0 -10
  458. package/build/hub-api/models/link-add.d.ts +0 -1
  459. package/build/hub-api/models/link-body.d.ts +0 -11
  460. package/build/hub-api/models/link-type.d.ts +0 -2
  461. package/build/hub-api/models/link-type.js +0 -2
  462. package/build/hub-api/models/merge-message-body.d.ts +0 -15
  463. package/build/hub-api/models/merge-on-chain-event-body.d.ts +0 -10
  464. package/build/hub-api/models/merge-user-name-proof-body.d.ts +0 -25
  465. package/build/hub-api/models/message-all-of-data.d.ts +0 -1
  466. package/build/hub-api/models/message-all-of.d.ts +0 -10
  467. package/build/hub-api/models/message-common.d.ts +0 -30
  468. package/build/hub-api/models/message-data-cast-add-all-of.d.ts +0 -7
  469. package/build/hub-api/models/message-data-cast-add.d.ts +0 -1
  470. package/build/hub-api/models/message-data-cast-remove-all-of.d.ts +0 -7
  471. package/build/hub-api/models/message-data-cast-remove.d.ts +0 -1
  472. package/build/hub-api/models/message-data-common.d.ts +0 -16
  473. package/build/hub-api/models/message-data-frame-action-all-of.d.ts +0 -7
  474. package/build/hub-api/models/message-data-frame-action.d.ts +0 -1
  475. package/build/hub-api/models/message-data-link-all-of.d.ts +0 -7
  476. package/build/hub-api/models/message-data-link.d.ts +0 -1
  477. package/build/hub-api/models/message-data-reaction-all-of.d.ts +0 -7
  478. package/build/hub-api/models/message-data-reaction.d.ts +0 -1
  479. package/build/hub-api/models/message-data-user-data-add-all-of.d.ts +0 -7
  480. package/build/hub-api/models/message-data-user-data-add.d.ts +0 -1
  481. package/build/hub-api/models/message-data-username-proof-all-of.d.ts +0 -10
  482. package/build/hub-api/models/message-data-username-proof.d.ts +0 -1
  483. package/build/hub-api/models/message-data-verification-add-all-of.d.ts +0 -7
  484. package/build/hub-api/models/message-data-verification-add.d.ts +0 -1
  485. package/build/hub-api/models/message-data-verification-remove-all-of.d.ts +0 -7
  486. package/build/hub-api/models/message-data-verification-remove.d.ts +0 -1
  487. package/build/hub-api/models/message-type.d.ts +11 -13
  488. package/build/hub-api/models/message-type.js +11 -13
  489. package/build/hub-api/models/message.d.ts +0 -1
  490. package/build/hub-api/models/on-chain-event-common.d.ts +0 -50
  491. package/build/hub-api/models/on-chain-event-id-register-all-of.d.ts +0 -10
  492. package/build/hub-api/models/on-chain-event-id-register.d.ts +0 -1
  493. package/build/hub-api/models/on-chain-event-signer-all-of.d.ts +0 -10
  494. package/build/hub-api/models/on-chain-event-signer-migrated-all-of.d.ts +0 -10
  495. package/build/hub-api/models/on-chain-event-signer-migrated.d.ts +0 -1
  496. package/build/hub-api/models/on-chain-event-signer.d.ts +0 -1
  497. package/build/hub-api/models/on-chain-event-storage-rent-all-of.d.ts +0 -10
  498. package/build/hub-api/models/on-chain-event-storage-rent.d.ts +0 -1
  499. package/build/hub-api/models/on-chain-event-type.d.ts +4 -9
  500. package/build/hub-api/models/on-chain-event-type.js +4 -9
  501. package/build/hub-api/models/on-chain-event.d.ts +0 -1
  502. package/build/hub-api/models/pagination-response.d.ts +0 -7
  503. package/build/hub-api/models/prune-message-body.d.ts +0 -10
  504. package/build/hub-api/models/reaction-all-of-data.d.ts +0 -1
  505. package/build/hub-api/models/reaction-all-of.d.ts +0 -10
  506. package/build/hub-api/models/reaction-body.d.ts +0 -11
  507. package/build/hub-api/models/reaction-type.d.ts +0 -2
  508. package/build/hub-api/models/reaction-type.js +0 -2
  509. package/build/hub-api/models/reaction.d.ts +0 -1
  510. package/build/hub-api/models/revoke-message-body.d.ts +0 -10
  511. package/build/hub-api/models/signature-scheme.d.ts +2 -4
  512. package/build/hub-api/models/signature-scheme.js +2 -4
  513. package/build/hub-api/models/signer-event-body.d.ts +0 -30
  514. package/build/hub-api/models/signer-event-type.d.ts +3 -8
  515. package/build/hub-api/models/signer-event-type.js +3 -8
  516. package/build/hub-api/models/signer-migrated-event-body.d.ts +0 -10
  517. package/build/hub-api/models/storage-limit.d.ts +0 -15
  518. package/build/hub-api/models/storage-limits-response-tier-subscriptions-inner.d.ts +0 -9
  519. package/build/hub-api/models/storage-limits-response-unit-details.d.ts +0 -15
  520. package/build/hub-api/models/storage-limits-response.d.ts +0 -19
  521. package/build/hub-api/models/storage-rent-event-body.d.ts +0 -20
  522. package/build/hub-api/models/store-type.d.ts +6 -11
  523. package/build/hub-api/models/store-type.js +6 -11
  524. package/build/hub-api/models/url-embed.d.ts +0 -10
  525. package/build/hub-api/models/user-data-add-all-of-data.d.ts +0 -1
  526. package/build/hub-api/models/user-data-add-all-of.d.ts +0 -10
  527. package/build/hub-api/models/user-data-add.d.ts +0 -1
  528. package/build/hub-api/models/user-data-body.d.ts +0 -6
  529. package/build/hub-api/models/user-data-type.d.ts +5 -7
  530. package/build/hub-api/models/user-data-type.js +5 -7
  531. package/build/hub-api/models/user-name-proof.d.ts +0 -29
  532. package/build/hub-api/models/user-name-type.d.ts +2 -7
  533. package/build/hub-api/models/user-name-type.js +2 -7
  534. package/build/hub-api/models/username-proofs-response.d.ts +0 -10
  535. package/build/hub-api/models/validate-message-response.d.ts +0 -15
  536. package/build/hub-api/models/verification-add-eth-address-body.d.ts +0 -8
  537. package/build/hub-api/models/verification-all-of-data.d.ts +0 -1
  538. package/build/hub-api/models/verification-all-of.d.ts +0 -10
  539. package/build/hub-api/models/verification-remove-body.d.ts +0 -4
  540. package/build/hub-api/models/verification.d.ts +0 -1
  541. package/package.json +3 -3
  542. package/build/api/models/transaction-frame.d.ts +0 -19
  543. package/build/api/models/transaction-frame.js +0 -15
@@ -12,42 +12,22 @@
12
12
  import type { Configuration } from './configuration';
13
13
  import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const COLLECTION_FORMATS: {
20
16
  csv: string;
21
17
  ssv: string;
22
18
  tsv: string;
23
19
  pipes: string;
24
20
  };
25
- /**
26
- *
27
- * @export
28
- * @interface RequestArgs
29
- */
30
21
  export interface RequestArgs {
31
22
  url: string;
32
23
  options: RawAxiosRequestConfig;
33
24
  }
34
- /**
35
- *
36
- * @export
37
- * @class BaseAPI
38
- */
39
25
  export declare class BaseAPI {
40
26
  protected basePath: string;
41
27
  protected axios: AxiosInstance;
42
28
  protected configuration: Configuration | undefined;
43
29
  constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
30
  }
45
- /**
46
- *
47
- * @export
48
- * @class RequiredError
49
- * @extends {Error}
50
- */
51
31
  export declare class RequiredError extends Error {
52
32
  field: string;
53
33
  constructor(field: string, msg?: string);
@@ -58,9 +38,5 @@ interface ServerMap {
58
38
  description: string;
59
39
  }[];
60
40
  }
61
- /**
62
- *
63
- * @export
64
- */
65
41
  export declare const operationServerMap: ServerMap;
66
42
  export {};
package/build/api/base.js CHANGED
@@ -19,21 +19,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  exports.BASE_PATH = "https://api.neynar.com".replace(/\/+$/, "");
22
- /**
23
- *
24
- * @export
25
- */
26
22
  exports.COLLECTION_FORMATS = {
27
23
  csv: ",",
28
24
  ssv: " ",
29
25
  tsv: "\t",
30
26
  pipes: "|",
31
27
  };
32
- /**
33
- *
34
- * @export
35
- * @class BaseAPI
36
- */
37
28
  class BaseAPI {
38
29
  constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
39
30
  var _a;
@@ -47,12 +38,6 @@ class BaseAPI {
47
38
  }
48
39
  exports.BaseAPI = BaseAPI;
49
40
  ;
50
- /**
51
- *
52
- * @export
53
- * @class RequiredError
54
- * @extends {Error}
55
- */
56
41
  class RequiredError extends Error {
57
42
  constructor(field, msg) {
58
43
  super(msg);
@@ -61,8 +46,4 @@ class RequiredError extends Error {
61
46
  }
62
47
  }
63
48
  exports.RequiredError = RequiredError;
64
- /**
65
- *
66
- * @export
67
- */
68
49
  exports.operationServerMap = {};
@@ -12,54 +12,23 @@
12
12
  import type { Configuration } from "./configuration";
13
13
  import type { RequestArgs } from "./base";
14
14
  import type { AxiosInstance, AxiosResponse } from 'axios';
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const DUMMY_BASE_URL = "https://example.com";
20
16
  /**
21
17
  *
22
18
  * @throws {RequiredError}
23
- * @export
24
19
  */
25
20
  export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
26
- /**
27
- *
28
- * @export
29
- */
30
21
  export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
- /**
32
- *
33
- * @export
34
- */
35
22
  export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
- /**
37
- *
38
- * @export
39
- */
40
23
  export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
- /**
42
- *
43
- * @export
44
- */
45
24
  export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
- /**
47
- *
48
- * @export
49
- */
50
25
  export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
26
  /**
52
- *
53
- * @export
27
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
28
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
54
30
  */
31
+ export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
55
32
  export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
- /**
57
- *
58
- * @export
59
- */
60
33
  export declare const toPathString: (url: URL) => string;
61
- /**
62
- *
63
- * @export
64
- */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
34
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -13,17 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
16
+ exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.replaceWithSerializableTypeIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
17
17
  const base_1 = require("./base");
18
- /**
19
- *
20
- * @export
21
- */
22
18
  exports.DUMMY_BASE_URL = 'https://example.com';
23
19
  /**
24
20
  *
25
21
  * @throws {RequiredError}
26
- * @export
27
22
  */
28
23
  const assertParamExists = function (functionName, paramName, paramValue) {
29
24
  if (paramValue === null || paramValue === undefined) {
@@ -31,10 +26,6 @@ const assertParamExists = function (functionName, paramName, paramValue) {
31
26
  }
32
27
  };
33
28
  exports.assertParamExists = assertParamExists;
34
- /**
35
- *
36
- * @export
37
- */
38
29
  const setApiKeyToObject = async function (object, keyParamName, configuration) {
39
30
  if (configuration && configuration.apiKey) {
40
31
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -44,20 +35,12 @@ const setApiKeyToObject = async function (object, keyParamName, configuration) {
44
35
  }
45
36
  };
46
37
  exports.setApiKeyToObject = setApiKeyToObject;
47
- /**
48
- *
49
- * @export
50
- */
51
38
  const setBasicAuthToObject = function (object, configuration) {
52
39
  if (configuration && (configuration.username || configuration.password)) {
53
40
  object["auth"] = { username: configuration.username, password: configuration.password };
54
41
  }
55
42
  };
56
43
  exports.setBasicAuthToObject = setBasicAuthToObject;
57
- /**
58
- *
59
- * @export
60
- */
61
44
  const setBearerAuthToObject = async function (object, configuration) {
62
45
  if (configuration && configuration.accessToken) {
63
46
  const accessToken = typeof configuration.accessToken === 'function'
@@ -67,10 +50,6 @@ const setBearerAuthToObject = async function (object, configuration) {
67
50
  }
68
51
  };
69
52
  exports.setBearerAuthToObject = setBearerAuthToObject;
70
- /**
71
- *
72
- * @export
73
- */
74
53
  const setOAuthToObject = async function (object, name, scopes, configuration) {
75
54
  if (configuration && configuration.accessToken) {
76
55
  const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
@@ -84,7 +63,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
84
63
  if (parameter == null)
85
64
  return;
86
65
  if (typeof parameter === "object") {
87
- if (Array.isArray(parameter)) {
66
+ if (Array.isArray(parameter) || parameter instanceof Set) {
88
67
  parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
89
68
  }
90
69
  else {
@@ -100,10 +79,6 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
100
79
  }
101
80
  }
102
81
  }
103
- /**
104
- *
105
- * @export
106
- */
107
82
  const setSearchParams = function (url, ...objects) {
108
83
  const searchParams = new URLSearchParams(url.search);
109
84
  setFlattenedQueryParams(searchParams, objects);
@@ -111,31 +86,34 @@ const setSearchParams = function (url, ...objects) {
111
86
  };
112
87
  exports.setSearchParams = setSearchParams;
113
88
  /**
114
- *
115
- * @export
89
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
90
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
91
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
116
92
  */
93
+ // @ts-ignore
94
+ const replaceWithSerializableTypeIfNeeded = function (key, value) {
95
+ if (value instanceof Set) {
96
+ return Array.from(value);
97
+ }
98
+ else {
99
+ return value;
100
+ }
101
+ };
102
+ exports.replaceWithSerializableTypeIfNeeded = replaceWithSerializableTypeIfNeeded;
117
103
  const serializeDataIfNeeded = function (value, requestOptions, configuration) {
118
104
  const nonString = typeof value !== 'string';
119
105
  const needsSerialization = nonString && configuration && configuration.isJsonMime
120
106
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
121
107
  : nonString;
122
108
  return needsSerialization
123
- ? JSON.stringify(value !== undefined ? value : {})
109
+ ? JSON.stringify(value !== undefined ? value : {}, exports.replaceWithSerializableTypeIfNeeded)
124
110
  : (value || "");
125
111
  };
126
112
  exports.serializeDataIfNeeded = serializeDataIfNeeded;
127
- /**
128
- *
129
- * @export
130
- */
131
113
  const toPathString = function (url) {
132
114
  return url.pathname + url.search + url.hash;
133
115
  };
134
116
  exports.toPathString = toPathString;
135
- /**
136
- *
137
- * @export
138
- */
139
117
  const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
140
118
  return (axios = globalAxios, basePath = BASE_PATH) => {
141
119
  var _a;
@@ -11,46 +11,17 @@
11
11
  */
12
12
  import type { VerificationChainId } from './verification-chain-id';
13
13
  import type { VerificationType } from './verification-type';
14
- /**
15
- *
16
- * @export
17
- * @interface AddVerificationReqBody
18
- */
19
14
  export interface AddVerificationReqBody {
20
15
  /**
21
16
  * UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
22
- * @type {string}
23
- * @memberof AddVerificationReqBody
24
17
  */
25
18
  'signer_uuid': string;
26
19
  /**
27
20
  * Ethereum address
28
- * @type {string}
29
- * @memberof AddVerificationReqBody
30
21
  */
31
22
  'address': string;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof AddVerificationReqBody
36
- */
37
23
  'block_hash': string;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof AddVerificationReqBody
42
- */
43
24
  'eth_signature': string;
44
- /**
45
- *
46
- * @type {VerificationType}
47
- * @memberof AddVerificationReqBody
48
- */
49
25
  'verification_type'?: VerificationType;
50
- /**
51
- *
52
- * @type {VerificationChainId}
53
- * @memberof AddVerificationReqBody
54
- */
55
26
  'chain_id'?: VerificationChainId;
56
27
  }
@@ -10,22 +10,10 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Network } from './network';
13
- /**
14
- *
15
- * @export
16
- * @interface AddressBalanceVerifiedAddress
17
- */
18
13
  export interface AddressBalanceVerifiedAddress {
19
14
  /**
20
15
  * The wallet address
21
- * @type {string}
22
- * @memberof AddressBalanceVerifiedAddress
23
16
  */
24
17
  'address': string;
25
- /**
26
- *
27
- * @type {Network}
28
- * @memberof AddressBalanceVerifiedAddress
29
- */
30
18
  'network': Network;
31
19
  }
@@ -13,27 +13,10 @@ import type { AddressBalanceVerifiedAddress } from './address-balance-verified-a
13
13
  import type { TokenBalance } from './token-balance';
14
14
  /**
15
15
  * The token balances associated with a wallet address
16
- * @export
17
- * @interface AddressBalance
18
16
  */
19
17
  export interface AddressBalance {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof AddressBalance
24
- */
25
18
  'object': AddressBalanceObjectEnum;
26
- /**
27
- *
28
- * @type {AddressBalanceVerifiedAddress}
29
- * @memberof AddressBalance
30
- */
31
19
  'verified_address': AddressBalanceVerifiedAddress;
32
- /**
33
- *
34
- * @type {Array<TokenBalance>}
35
- * @memberof AddressBalance
36
- */
37
20
  'token_balances': Array<TokenBalance>;
38
21
  }
39
22
  export declare const AddressBalanceObjectEnum: {
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * Types of events that can occur between a user and an app host: - frame_added: User adds a mini app to their account - frame_removed: User removes a mini app from their account - notifications_enabled: User enables notifications for a mini app - notifications_disabled: User disables notifications for a mini app
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const AppHostEventType: {
18
16
  readonly FrameAdded: "frame_added";
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AppHostEventType = void 0;
17
17
  /**
18
18
  * Types of events that can occur between a user and an app host: - frame_added: User adds a mini app to their account - frame_removed: User removes a mini app from their account - notifications_enabled: User enables notifications for a mini app - notifications_disabled: User disables notifications for a mini app
19
- * @export
20
- * @enum {string}
21
19
  */
22
20
  exports.AppHostEventType = {
23
21
  FrameAdded: 'frame_added',
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Details for notification setup, only present when event is notifications_enabled
14
- * @export
15
- * @interface AppHostGetEventResponseNotificationDetails
16
14
  */
17
15
  export interface AppHostGetEventResponseNotificationDetails {
18
16
  /**
19
17
  * URL endpoint for sending notifications
20
- * @type {string}
21
- * @memberof AppHostGetEventResponseNotificationDetails
22
18
  */
23
19
  'url': string;
24
20
  /**
25
21
  * Token to use when sending notifications to this user
26
- * @type {string}
27
- * @memberof AppHostGetEventResponseNotificationDetails
28
22
  */
29
23
  'token': string;
30
24
  }
@@ -10,22 +10,10 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { AppHostGetEventResponseNotificationDetails } from './app-host-get-event-response-notification-details';
13
- /**
14
- *
15
- * @export
16
- * @interface AppHostGetEventResponse
17
- */
18
13
  export interface AppHostGetEventResponse {
19
14
  /**
20
15
  * Legacy event type corresponding to the requested event type: - frame_added: User adds a mini app to their account - frame_removed: User removes a mini app from their account - notifications_enabled: User enables notifications for a mini app - notifications_disabled: User disables notifications for a mini app
21
- * @type {string}
22
- * @memberof AppHostGetEventResponse
23
16
  */
24
17
  'event': string;
25
- /**
26
- *
27
- * @type {AppHostGetEventResponseNotificationDetails}
28
- * @memberof AppHostGetEventResponse
29
- */
30
18
  'notificationDetails'?: AppHostGetEventResponseNotificationDetails;
31
19
  }
@@ -14,6 +14,5 @@ import type { SignerUuidBody } from './signer-uuid-body';
14
14
  /**
15
15
  * @type AppHostPostEventReqBody
16
16
  * Request body for app host events. Can either provide a signed_message or a signer_uuid with event details.
17
- * @export
18
17
  */
19
18
  export type AppHostPostEventReqBody = SignedMessageBody | SignerUuidBody;
@@ -9,22 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- /**
13
- *
14
- * @export
15
- * @interface AppHostPostEventResponse
16
- */
17
12
  export interface AppHostPostEventResponse {
18
- /**
19
- *
20
- * @type {boolean}
21
- * @memberof AppHostPostEventResponse
22
- */
23
13
  'success': boolean;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AppHostPostEventResponse
28
- */
29
14
  'message'?: string;
30
15
  }
@@ -9,28 +9,17 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- /**
13
- *
14
- * @export
15
- * @interface AppHostUserStateResponseNotificationsEnabledInner
16
- */
17
12
  export interface AppHostUserStateResponseNotificationsEnabledInner {
18
13
  /**
19
14
  * Domain of the mini app
20
- * @type {string}
21
- * @memberof AppHostUserStateResponseNotificationsEnabledInner
22
15
  */
23
16
  'domain': string;
24
17
  /**
25
18
  * Status of notifications for this domain (usually \'valid\')
26
- * @type {string}
27
- * @memberof AppHostUserStateResponseNotificationsEnabledInner
28
19
  */
29
20
  'status': string;
30
21
  /**
31
22
  * When the notification preference was last updated
32
- * @type {string}
33
- * @memberof AppHostUserStateResponseNotificationsEnabledInner
34
23
  */
35
24
  'updated_at': string;
36
25
  }
@@ -10,16 +10,9 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { AppHostUserStateResponseNotificationsEnabledInner } from './app-host-user-state-response-notifications-enabled-inner';
13
- /**
14
- *
15
- * @export
16
- * @interface AppHostUserStateResponse
17
- */
18
13
  export interface AppHostUserStateResponse {
19
14
  /**
20
15
  * List of domains for which notifications are enabled for this user
21
- * @type {Array<AppHostUserStateResponseNotificationsEnabledInner>}
22
- * @memberof AppHostUserStateResponse
23
16
  */
24
17
  'notifications_enabled': Array<AppHostUserStateResponseNotificationsEnabledInner>;
25
18
  }
@@ -11,26 +11,18 @@
11
11
  */
12
12
  /**
13
13
  * Signed domain association linking this deployment to a Farcaster account
14
- * @export
15
- * @interface AssociateDeploymentRequestAccountAssociation
16
14
  */
17
15
  export interface AssociateDeploymentRequestAccountAssociation {
18
16
  /**
19
17
  * Base64URL encoded JFS header
20
- * @type {string}
21
- * @memberof AssociateDeploymentRequestAccountAssociation
22
18
  */
23
19
  'header': string;
24
20
  /**
25
21
  * Base64URL encoded JFS payload
26
- * @type {string}
27
- * @memberof AssociateDeploymentRequestAccountAssociation
28
22
  */
29
23
  'payload': string;
30
24
  /**
31
25
  * Base64URL encoded JFS signature
32
- * @type {string}
33
- * @memberof AssociateDeploymentRequestAccountAssociation
34
26
  */
35
27
  'signature': string;
36
28
  }
@@ -10,40 +10,22 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { AssociateDeploymentRequestAccountAssociation } from './associate-deployment-request-account-association';
13
- /**
14
- *
15
- * @export
16
- * @interface AssociateDeploymentRequest
17
- */
18
13
  export interface AssociateDeploymentRequest {
19
14
  /**
20
15
  * Deployment ID (UUID). Required if name not provided.
21
- * @type {string}
22
- * @memberof AssociateDeploymentRequest
23
16
  */
24
17
  'deployment_id'?: string;
25
18
  /**
26
19
  * Farcaster ID of the user; if not provided, namespace must be provided
27
- * @type {number}
28
- * @memberof AssociateDeploymentRequest
29
20
  */
30
21
  'fid'?: number;
31
22
  /**
32
23
  * Kubernetes deployment name. Required if deployment_id not provided.
33
- * @type {string}
34
- * @memberof AssociateDeploymentRequest
35
24
  */
36
25
  'name'?: string;
37
26
  /**
38
27
  * Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
39
- * @type {string}
40
- * @memberof AssociateDeploymentRequest
41
28
  */
42
29
  'namespace'?: string;
43
- /**
44
- *
45
- * @type {AssociateDeploymentRequestAccountAssociation}
46
- * @memberof AssociateDeploymentRequest
47
- */
48
30
  'account_association': AssociateDeploymentRequestAccountAssociation;
49
31
  }
@@ -9,22 +9,10 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- /**
13
- *
14
- * @export
15
- * @interface AssociateDeployment200Response
16
- */
17
12
  export interface AssociateDeployment200Response {
18
- /**
19
- *
20
- * @type {boolean}
21
- * @memberof AssociateDeployment200Response
22
- */
23
13
  'success': boolean;
24
14
  /**
25
15
  * Status message from the miniapp generator
26
- * @type {string}
27
- * @memberof AssociateDeployment200Response
28
16
  */
29
17
  'message': string;
30
18
  }
@@ -9,16 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- /**
13
- *
14
- * @export
15
- * @interface AuthorizationUrlResponse
16
- */
17
12
  export interface AuthorizationUrlResponse {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AuthorizationUrlResponse
22
- */
23
13
  'authorization_url': string;
24
14
  }
@@ -11,29 +11,9 @@
11
11
  */
12
12
  import type { AddressBalance } from './address-balance';
13
13
  import type { UserDehydrated } from './user-dehydrated';
14
- /**
15
- *
16
- * @export
17
- * @interface BalanceResponseUserBalance
18
- */
19
14
  export interface BalanceResponseUserBalance {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof BalanceResponseUserBalance
24
- */
25
15
  'object': BalanceResponseUserBalanceObjectEnum;
26
- /**
27
- *
28
- * @type {UserDehydrated}
29
- * @memberof BalanceResponseUserBalance
30
- */
31
16
  'user': UserDehydrated;
32
- /**
33
- *
34
- * @type {Array<AddressBalance>}
35
- * @memberof BalanceResponseUserBalance
36
- */
37
17
  'address_balances': Array<AddressBalance>;
38
18
  }
39
19
  export declare const BalanceResponseUserBalanceObjectEnum: {
@@ -10,16 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { BalanceResponseUserBalance } from './balance-response-user-balance';
13
- /**
14
- *
15
- * @export
16
- * @interface BalanceResponse
17
- */
18
13
  export interface BalanceResponse {
19
- /**
20
- *
21
- * @type {BalanceResponseUserBalance}
22
- * @memberof BalanceResponse
23
- */
24
14
  'user_balance'?: BalanceResponseUserBalance;
25
15
  }