@neynar/nodejs-sdk 3.169.0 → 3.171.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.
- package/build/api/api.d.ts +2 -2
- package/build/api/api.js +6 -6
- package/build/api/apis/action-api.d.ts +1 -1
- package/build/api/apis/action-api.js +1 -1
- package/build/api/apis/agents-api.d.ts +1 -1
- package/build/api/apis/agents-api.js +1 -1
- package/build/api/apis/app-host-api.d.ts +1 -1
- package/build/api/apis/app-host-api.js +1 -1
- package/build/api/apis/auth-address-api.d.ts +20 -20
- package/build/api/apis/auth-address-api.js +9 -9
- package/build/api/apis/ban-api.d.ts +1 -1
- package/build/api/apis/ban-api.js +1 -1
- package/build/api/apis/block-api.d.ts +1 -1
- package/build/api/apis/block-api.js +1 -1
- package/build/api/apis/cast-api.d.ts +1 -1
- package/build/api/apis/cast-api.js +1 -1
- package/build/api/apis/channel-api.d.ts +1 -1
- package/build/api/apis/channel-api.js +1 -1
- package/build/api/apis/feed-api.d.ts +1 -1
- package/build/api/apis/feed-api.js +1 -1
- package/build/api/apis/fname-api.d.ts +1 -1
- package/build/api/apis/fname-api.js +1 -1
- package/build/api/apis/follows-api.d.ts +1 -1
- package/build/api/apis/follows-api.js +1 -1
- package/build/api/apis/frame-api.d.ts +1 -1
- package/build/api/apis/frame-api.js +1 -1
- package/build/api/apis/login-api.d.ts +1 -1
- package/build/api/apis/login-api.js +1 -1
- package/build/api/apis/metrics-api.d.ts +1 -1
- package/build/api/apis/metrics-api.js +1 -1
- package/build/api/apis/mute-api.d.ts +1 -1
- package/build/api/apis/mute-api.js +1 -1
- package/build/api/apis/notifications-api.d.ts +1 -1
- package/build/api/apis/notifications-api.js +1 -1
- package/build/api/apis/onchain-api.d.ts +47 -47
- package/build/api/apis/onchain-api.js +45 -45
- package/build/api/apis/organization-api.d.ts +6 -6
- package/build/api/apis/organization-api.js +5 -5
- package/build/api/apis/portal-api.d.ts +16 -16
- package/build/api/apis/portal-api.js +13 -13
- package/build/api/apis/reaction-api.d.ts +1 -1
- package/build/api/apis/reaction-api.js +1 -1
- package/build/api/apis/signer-api.d.ts +1 -1
- package/build/api/apis/signer-api.js +1 -1
- package/build/api/apis/storage-api.d.ts +1 -1
- package/build/api/apis/storage-api.js +1 -1
- package/build/api/apis/studio-api.d.ts +1 -1
- package/build/api/apis/studio-api.js +1 -1
- package/build/api/apis/subscribers-api.d.ts +1 -1
- package/build/api/apis/subscribers-api.js +1 -1
- package/build/api/apis/subscription-api.d.ts +11 -11
- package/build/api/apis/subscription-api.js +9 -9
- package/build/api/apis/topic-api.d.ts +1 -1
- package/build/api/apis/topic-api.js +1 -1
- package/build/api/apis/user-api.d.ts +1 -1
- package/build/api/apis/user-api.js +1 -1
- package/build/api/apis/webhook-api.d.ts +1 -1
- package/build/api/apis/webhook-api.js +1 -1
- package/build/api/base.d.ts +1 -1
- package/build/api/base.js +1 -1
- package/build/api/common.d.ts +1 -1
- package/build/api/common.js +1 -1
- package/build/api/configuration.d.ts +1 -1
- package/build/api/configuration.js +1 -1
- package/build/api/index.d.ts +1 -1
- package/build/api/index.js +1 -1
- package/build/api/models/add-verification-req-body.d.ts +6 -6
- package/build/api/models/add-verification-req-body.js +1 -1
- package/build/api/models/address-balance-verified-address.d.ts +1 -1
- package/build/api/models/address-balance-verified-address.js +1 -1
- package/build/api/models/address-balance.d.ts +2 -2
- package/build/api/models/address-balance.js +1 -1
- package/build/api/models/app-host-get-event-response-notification-details.d.ts +5 -5
- package/build/api/models/app-host-get-event-response-notification-details.js +1 -1
- package/build/api/models/app-host-get-event-response.d.ts +1 -1
- package/build/api/models/app-host-get-event-response.js +1 -1
- package/build/api/models/app-host-post-event-req-body.d.ts +6 -6
- package/build/api/models/app-host-post-event-req-body.js +1 -1
- package/build/api/models/app-host-post-event-response.d.ts +2 -2
- package/build/api/models/app-host-post-event-response.js +1 -1
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +1 -1
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.js +1 -1
- package/build/api/models/app-host-user-state-response.d.ts +1 -1
- package/build/api/models/app-host-user-state-response.js +1 -1
- package/build/api/models/assign-custom-domain-request.d.ts +1 -1
- package/build/api/models/assign-custom-domain-request.js +1 -1
- package/build/api/models/assign-custom-domain200-response.d.ts +2 -2
- package/build/api/models/assign-custom-domain200-response.js +1 -1
- package/build/api/models/associate-deployment-request-account-association.d.ts +1 -1
- package/build/api/models/associate-deployment-request-account-association.js +1 -1
- package/build/api/models/associate-deployment-request.d.ts +2 -2
- package/build/api/models/associate-deployment-request.js +1 -1
- package/build/api/models/associate-deployment200-response.d.ts +2 -2
- package/build/api/models/associate-deployment200-response.js +1 -1
- package/build/api/models/authorization-url-response.d.ts +1 -1
- package/build/api/models/authorization-url-response.js +1 -1
- package/build/api/models/balance-response-user-balance.d.ts +2 -2
- package/build/api/models/balance-response-user-balance.js +1 -1
- package/build/api/models/balance-response.d.ts +1 -1
- package/build/api/models/balance-response.js +1 -1
- package/build/api/models/ban-list-response.d.ts +1 -1
- package/build/api/models/ban-list-response.js +1 -1
- package/build/api/models/ban-record.d.ts +2 -2
- package/build/api/models/ban-record.js +1 -1
- package/build/api/models/ban-req-body.d.ts +1 -1
- package/build/api/models/ban-req-body.js +1 -1
- package/build/api/models/ban-response.d.ts +2 -2
- package/build/api/models/ban-response.js +1 -1
- package/build/api/models/batch-get-token-metadata200-response-tokens-inner.d.ts +32 -32
- package/build/api/models/batch-get-token-metadata200-response-tokens-inner.js +1 -1
- package/build/api/models/batch-get-token-metadata200-response.d.ts +1 -1
- package/build/api/models/batch-get-token-metadata200-response.js +1 -1
- package/build/api/models/best-friends-response-users-inner.d.ts +1 -1
- package/build/api/models/best-friends-response-users-inner.js +1 -1
- package/build/api/models/best-friends-response.d.ts +2 -2
- package/build/api/models/best-friends-response.js +1 -1
- package/build/api/models/billing200-response.d.ts +12 -12
- package/build/api/models/billing200-response.js +1 -1
- package/build/api/models/billing400-response.d.ts +1 -1
- package/build/api/models/billing400-response.js +1 -1
- package/build/api/models/block-list-response.d.ts +1 -1
- package/build/api/models/block-list-response.js +1 -1
- package/build/api/models/block-record.d.ts +3 -3
- package/build/api/models/block-record.js +1 -1
- package/build/api/models/block-req-body.d.ts +5 -5
- package/build/api/models/block-req-body.js +1 -1
- package/build/api/models/build-request.d.ts +5 -5
- package/build/api/models/build-request.js +1 -1
- package/build/api/models/bulk-casts-response.d.ts +1 -1
- package/build/api/models/bulk-casts-response.js +1 -1
- package/build/api/models/bulk-follow-response.d.ts +2 -2
- package/build/api/models/bulk-follow-response.js +1 -1
- package/build/api/models/bulk-relevant-fungible-owners-response-value.d.ts +2 -2
- package/build/api/models/bulk-relevant-fungible-owners-response-value.js +1 -1
- package/build/api/models/bulk-relevant-fungible-owners-response.d.ts +1 -1
- package/build/api/models/bulk-relevant-fungible-owners-response.js +1 -1
- package/build/api/models/bulk-users-by-address-response.d.ts +1 -1
- package/build/api/models/bulk-users-by-address-response.js +1 -1
- package/build/api/models/bulk-users-response.d.ts +1 -1
- package/build/api/models/bulk-users-response.js +1 -1
- package/build/api/models/buy-storage-req-body.d.ts +5 -5
- package/build/api/models/buy-storage-req-body.js +1 -1
- package/build/api/models/cancel-session-request.d.ts +5 -5
- package/build/api/models/cancel-session-request.js +1 -1
- package/build/api/models/cancel-session200-response.d.ts +1 -1
- package/build/api/models/cancel-session200-response.js +1 -1
- package/build/api/models/cast-and-conversations-ref.d.ts +24 -24
- package/build/api/models/cast-and-conversations-ref.js +1 -1
- package/build/api/models/cast-and-conversations.d.ts +24 -24
- package/build/api/models/cast-and-conversations.js +1 -1
- package/build/api/models/cast-dehydrated.d.ts +4 -4
- package/build/api/models/cast-dehydrated.js +1 -1
- package/build/api/models/cast-embed-crawl-response.d.ts +1 -1
- package/build/api/models/cast-embed-crawl-response.js +1 -1
- package/build/api/models/cast-embedded.d.ts +7 -7
- package/build/api/models/cast-embedded.js +1 -1
- package/build/api/models/cast-id.d.ts +1 -1
- package/build/api/models/cast-id.js +1 -1
- package/build/api/models/cast-notification-type.d.ts +1 -1
- package/build/api/models/cast-notification-type.js +1 -1
- package/build/api/models/{cast-embedded-parent-author.d.ts → cast-parent-author.d.ts} +2 -2
- package/build/api/models/{list-tables400-response.js → cast-parent-author.js} +1 -1
- package/build/api/models/cast-reactions.d.ts +2 -2
- package/build/api/models/cast-reactions.js +1 -1
- package/build/api/models/cast-replies.d.ts +1 -1
- package/build/api/models/cast-replies.js +1 -1
- package/build/api/models/cast-response.d.ts +1 -1
- package/build/api/models/cast-response.js +1 -1
- package/build/api/models/cast-viewer-context.d.ts +1 -1
- package/build/api/models/cast-viewer-context.js +1 -1
- package/build/api/models/cast.d.ts +22 -22
- package/build/api/models/cast.js +1 -1
- package/build/api/models/casts-metrics-response.d.ts +1 -1
- package/build/api/models/casts-metrics-response.js +1 -1
- package/build/api/models/casts-metrics.d.ts +3 -3
- package/build/api/models/casts-metrics.js +1 -1
- package/build/api/models/casts-response-result.d.ts +1 -1
- package/build/api/models/casts-response-result.js +1 -1
- package/build/api/models/casts-response.d.ts +1 -1
- package/build/api/models/casts-response.js +1 -1
- package/build/api/models/casts-search-response.d.ts +1 -1
- package/build/api/models/casts-search-response.js +1 -1
- package/build/api/models/channel-activity.d.ts +3 -3
- package/build/api/models/channel-activity.js +1 -1
- package/build/api/models/channel-dehydrated.d.ts +2 -2
- package/build/api/models/channel-dehydrated.js +1 -1
- package/build/api/models/channel-external-link.d.ts +1 -1
- package/build/api/models/channel-external-link.js +1 -1
- package/build/api/models/channel-follow-req-body.d.ts +5 -5
- package/build/api/models/channel-follow-req-body.js +1 -1
- package/build/api/models/channel-list-response.d.ts +1 -1
- package/build/api/models/channel-list-response.js +1 -1
- package/build/api/models/channel-member-channel.d.ts +1 -1
- package/build/api/models/channel-member-channel.js +1 -1
- package/build/api/models/channel-member-invite-list-response.d.ts +1 -1
- package/build/api/models/channel-member-invite-list-response.js +1 -1
- package/build/api/models/channel-member-invite.d.ts +3 -3
- package/build/api/models/channel-member-invite.js +1 -1
- package/build/api/models/channel-member-list-response.d.ts +1 -1
- package/build/api/models/channel-member-list-response.js +1 -1
- package/build/api/models/channel-member-role.d.ts +1 -1
- package/build/api/models/channel-member-role.js +1 -1
- package/build/api/models/channel-member-user.d.ts +1 -1
- package/build/api/models/channel-member-user.js +1 -1
- package/build/api/models/channel-member.d.ts +2 -2
- package/build/api/models/channel-member.js +1 -1
- package/build/api/models/channel-or-channel-dehydrated.d.ts +1 -1
- package/build/api/models/channel-or-channel-dehydrated.js +1 -1
- package/build/api/models/channel-response-bulk.d.ts +1 -1
- package/build/api/models/channel-response-bulk.js +1 -1
- package/build/api/models/channel-response.d.ts +1 -1
- package/build/api/models/channel-response.js +1 -1
- package/build/api/models/channel-search-response.d.ts +1 -1
- package/build/api/models/channel-search-response.js +1 -1
- package/build/api/models/channel-user-context.d.ts +1 -1
- package/build/api/models/channel-user-context.js +1 -1
- package/build/api/models/channel.d.ts +18 -18
- package/build/api/models/channel.js +1 -1
- package/build/api/models/check-domain-availability200-response.d.ts +1 -1
- package/build/api/models/check-domain-availability200-response.js +1 -1
- package/build/api/models/claim-credit-drop-request.d.ts +1 -1
- package/build/api/models/claim-credit-drop-request.js +1 -1
- package/build/api/models/claim-credit-drop200-response.d.ts +5 -5
- package/build/api/models/claim-credit-drop200-response.js +1 -1
- package/build/api/models/conflict-error-res.d.ts +2 -2
- package/build/api/models/conflict-error-res.js +1 -1
- package/build/api/models/conversation-conversation.d.ts +1 -1
- package/build/api/models/conversation-conversation.js +1 -1
- package/build/api/models/conversation-summary-summary.d.ts +5 -5
- package/build/api/models/conversation-summary-summary.js +1 -1
- package/build/api/models/conversation-summary.d.ts +1 -1
- package/build/api/models/conversation-summary.js +1 -1
- package/build/api/models/conversation.d.ts +1 -1
- package/build/api/models/conversation.js +1 -1
- package/build/api/models/create-deployment-request.d.ts +5 -5
- package/build/api/models/create-deployment-request.js +1 -1
- package/build/api/models/create-x402-signature-request-payment-requirements-accepts-inner.d.ts +16 -16
- package/build/api/models/create-x402-signature-request-payment-requirements-accepts-inner.js +5 -5
- package/build/api/models/create-x402-signature-request-payment-requirements.d.ts +2 -2
- package/build/api/models/create-x402-signature-request-payment-requirements.js +1 -1
- package/build/api/models/create-x402-signature-request.d.ts +1 -1
- package/build/api/models/create-x402-signature-request.js +1 -1
- package/build/api/models/create-x402-signature200-response-payload-authorization.d.ts +3 -3
- package/build/api/models/create-x402-signature200-response-payload-authorization.js +1 -1
- package/build/api/models/create-x402-signature200-response-payload.d.ts +2 -2
- package/build/api/models/create-x402-signature200-response-payload.js +1 -1
- package/build/api/models/create-x402-signature200-response.d.ts +10 -10
- package/build/api/models/create-x402-signature200-response.js +7 -7
- package/build/api/models/delete-cast-req-body.d.ts +1 -1
- package/build/api/models/delete-cast-req-body.js +1 -1
- package/build/api/models/delete-deployment-request.d.ts +1 -1
- package/build/api/models/delete-deployment-request.js +1 -1
- package/build/api/models/delete-deployment200-response.d.ts +2 -2
- package/build/api/models/delete-deployment200-response.js +1 -1
- package/build/api/models/delete-rows-request.d.ts +5 -5
- package/build/api/models/delete-rows-request.js +1 -1
- package/build/api/models/delete-rows200-response.d.ts +1 -1
- package/build/api/models/delete-rows200-response.js +1 -1
- package/build/api/models/delete-secrets-request.d.ts +1 -1
- package/build/api/models/delete-secrets-request.js +1 -1
- package/build/api/models/deploy-erc721-request-mint-config.d.ts +9 -9
- package/build/api/models/deploy-erc721-request-mint-config.js +1 -1
- package/build/api/models/deploy-erc721-request.d.ts +6 -6
- package/build/api/models/deploy-erc721-request.js +1 -1
- package/build/api/models/deploy-erc721201-response-collection.d.ts +7 -7
- package/build/api/models/deploy-erc721201-response-collection.js +5 -5
- package/build/api/models/deploy-erc721201-response.d.ts +2 -2
- package/build/api/models/deploy-erc721201-response.js +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +10 -10
- package/build/api/models/deploy-fungible-response-contract-fungible.js +1 -1
- package/build/api/models/deploy-fungible-response-contract.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract.js +1 -1
- package/build/api/models/deploy-fungible-response.d.ts +1 -1
- package/build/api/models/deploy-fungible-response.js +1 -1
- package/build/api/models/deploy-to-vercel-request.d.ts +7 -7
- package/build/api/models/deploy-to-vercel-request.js +1 -1
- package/build/api/models/deploy-to-vercel200-response.d.ts +7 -7
- package/build/api/models/deploy-to-vercel200-response.js +1 -1
- package/build/api/models/deploy-to-vercel400-response.d.ts +2 -2
- package/build/api/models/deploy-to-vercel400-response.js +1 -1
- package/build/api/models/developer-managed-signer.d.ts +6 -6
- package/build/api/models/developer-managed-signer.js +1 -1
- package/build/api/models/embed-cast-deep.d.ts +2 -2
- package/build/api/models/embed-cast-deep.js +1 -1
- package/build/api/models/embed-cast.d.ts +2 -2
- package/build/api/models/embed-cast.js +1 -1
- package/build/api/models/embed-deep.d.ts +3 -3
- package/build/api/models/embed-deep.js +1 -1
- package/build/api/models/embed-url-metadata-image.d.ts +1 -1
- package/build/api/models/embed-url-metadata-image.js +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.js +1 -1
- package/build/api/models/embed-url-metadata-video.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video.js +1 -1
- package/build/api/models/embed-url-metadata.d.ts +4 -4
- package/build/api/models/embed-url-metadata.js +1 -1
- package/build/api/models/embed-url.d.ts +2 -2
- package/build/api/models/embed-url.js +1 -1
- package/build/api/models/embed.d.ts +3 -3
- package/build/api/models/embed.js +1 -1
- package/build/api/models/encoded-json-farcaster-signature.d.ts +1 -1
- package/build/api/models/encoded-json-farcaster-signature.js +1 -1
- package/build/api/models/error-res.d.ts +1 -1
- package/build/api/models/error-res.js +1 -1
- package/build/api/models/execute-sql-request.d.ts +1 -1
- package/build/api/models/execute-sql-request.js +1 -1
- package/build/api/models/execute-sql200-response.d.ts +7 -7
- package/build/api/models/execute-sql200-response.js +1 -1
- package/build/api/models/farcaster-action-req-body-action.d.ts +5 -5
- package/build/api/models/farcaster-action-req-body-action.js +1 -1
- package/build/api/models/farcaster-action-req-body.d.ts +6 -6
- package/build/api/models/farcaster-action-req-body.js +1 -1
- package/build/api/models/farcaster-fungible.d.ts +3 -3
- package/build/api/models/farcaster-fungible.js +1 -1
- package/build/api/models/farcaster-manifest-frame.d.ts +31 -31
- package/build/api/models/farcaster-manifest-frame.js +1 -1
- package/build/api/models/farcaster-manifest.d.ts +1 -1
- package/build/api/models/farcaster-manifest.js +1 -1
- package/build/api/models/feed-response.d.ts +1 -1
- package/build/api/models/feed-response.js +1 -1
- package/build/api/models/fetch-cast-quotes200-response.d.ts +1 -1
- package/build/api/models/fetch-cast-quotes200-response.js +1 -1
- package/build/api/models/fetch-feed-for-you400-response.d.ts +1 -1
- package/build/api/models/fetch-feed-for-you400-response.js +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-pool.d.ts +2 -2
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-pool.js +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-net-transfer.d.ts +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-net-transfer.js +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-network.d.ts +2 -2
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-network.js +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction.d.ts +2 -2
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction.js +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner.d.ts +2 -2
- package/build/api/models/fetch-fungible-trades200-response-trades-inner.js +1 -1
- package/build/api/models/fetch-fungible-trades200-response.d.ts +1 -1
- package/build/api/models/fetch-fungible-trades200-response.js +1 -1
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame-metadata.d.ts +1 -1
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame-metadata.js +1 -1
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame.d.ts +10 -10
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame.js +1 -1
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.d.ts +5 -5
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.js +1 -1
- package/build/api/models/fetch-relevant-frames200-response.d.ts +1 -1
- package/build/api/models/fetch-relevant-frames200-response.js +1 -1
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible-price.d.ts +1 -1
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible-price.js +1 -1
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible.d.ts +15 -15
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible.js +1 -1
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner.d.ts +2 -2
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner.js +1 -1
- package/build/api/models/fetch-trending-fungibles200-response.d.ts +1 -1
- package/build/api/models/fetch-trending-fungibles200-response.js +1 -1
- package/build/api/models/fetch-user-interactions200-response.d.ts +1 -1
- package/build/api/models/fetch-user-interactions200-response.js +1 -1
- package/build/api/models/fetch-user-reciprocal-followers200-response.d.ts +2 -2
- package/build/api/models/fetch-user-reciprocal-followers200-response.js +1 -1
- package/build/api/models/fetch-verifications200-response.d.ts +1 -1
- package/build/api/models/fetch-verifications200-response.js +1 -1
- package/build/api/models/fname-availability-response.d.ts +1 -1
- package/build/api/models/fname-availability-response.js +1 -1
- package/build/api/models/follow-req-body.d.ts +1 -1
- package/build/api/models/follow-req-body.js +1 -1
- package/build/api/models/follow-response.d.ts +2 -2
- package/build/api/models/follow-response.js +1 -1
- package/build/api/models/follower-dehydrated.d.ts +1 -1
- package/build/api/models/follower-dehydrated.js +1 -1
- package/build/api/models/follower.d.ts +2 -2
- package/build/api/models/follower.js +1 -1
- package/build/api/models/followers-response.d.ts +2 -2
- package/build/api/models/followers-response.js +1 -1
- package/build/api/models/frame-action-button.d.ts +8 -8
- package/build/api/models/frame-action-button.js +1 -1
- package/build/api/models/frame-button-action-type.d.ts +1 -1
- package/build/api/models/frame-button-action-type.js +1 -1
- package/build/api/models/frame-catalog-response.d.ts +1 -1
- package/build/api/models/frame-catalog-response.js +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +6 -6
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +1 -1
- package/build/api/models/frame-notification-tokens.d.ts +2 -2
- package/build/api/models/frame-notification-tokens.js +1 -1
- package/build/api/models/frame-pay-transaction-req-body-transaction.d.ts +1 -1
- package/build/api/models/frame-pay-transaction-req-body-transaction.js +1 -1
- package/build/api/models/frame-pay-transaction-req-body.d.ts +2 -2
- package/build/api/models/frame-pay-transaction-req-body.js +1 -1
- package/build/api/models/frame-v1-input.d.ts +1 -1
- package/build/api/models/frame-v1-input.js +1 -1
- package/build/api/models/frame-v1-state.d.ts +1 -1
- package/build/api/models/frame-v1-state.js +1 -1
- package/build/api/models/frame-v1.d.ts +11 -11
- package/build/api/models/frame-v1.js +1 -1
- package/build/api/models/frame-v2-with-full-author.d.ts +10 -10
- package/build/api/models/frame-v2-with-full-author.js +1 -1
- package/build/api/models/frame-v2.d.ts +10 -10
- package/build/api/models/frame-v2.js +1 -1
- package/build/api/models/frame.d.ts +12 -12
- package/build/api/models/frame.js +1 -1
- package/build/api/models/fungible-balance-balance.d.ts +2 -2
- package/build/api/models/fungible-balance-balance.js +1 -1
- package/build/api/models/fungible-balance.d.ts +2 -2
- package/build/api/models/fungible-balance.js +1 -1
- package/build/api/models/fungible.d.ts +15 -15
- package/build/api/models/fungible.js +1 -1
- package/build/api/models/fungibles-response-schema.d.ts +1 -1
- package/build/api/models/fungibles-response-schema.js +1 -1
- package/build/api/models/generate-image-request.d.ts +13 -13
- package/build/api/models/generate-image-request.js +1 -1
- package/build/api/models/generate-image200-response.d.ts +1 -1
- package/build/api/models/generate-image200-response.js +1 -1
- package/build/api/models/get-account-association200-response.d.ts +1 -1
- package/build/api/models/get-account-association200-response.js +1 -1
- package/build/api/models/get-conversation-messages200-response-messages-inner.d.ts +9 -9
- package/build/api/models/get-conversation-messages200-response-messages-inner.js +1 -1
- package/build/api/models/get-conversation-messages200-response.d.ts +1 -1
- package/build/api/models/get-conversation-messages200-response.js +1 -1
- package/build/api/models/get-credit-drop200-response.d.ts +19 -19
- package/build/api/models/get-credit-drop200-response.js +1 -1
- package/build/api/models/get-deployment-file200-response.d.ts +1 -1
- package/build/api/models/get-deployment-file200-response.js +1 -1
- package/build/api/models/get-dev-status200-response-one-of.d.ts +2 -2
- package/build/api/models/get-dev-status200-response-one-of.js +1 -1
- package/build/api/models/get-dev-status200-response-one-of1.d.ts +8 -8
- package/build/api/models/get-dev-status200-response-one-of1.js +1 -1
- package/build/api/models/get-dev-status200-response.d.ts +1 -1
- package/build/api/models/get-dev-status200-response.js +1 -1
- package/build/api/models/get-notification-campaign-stats200-response.d.ts +2 -2
- package/build/api/models/get-notification-campaign-stats200-response.js +1 -1
- package/build/api/models/get-table-schema200-response-columns-inner.d.ts +13 -13
- package/build/api/models/get-table-schema200-response-columns-inner.js +1 -1
- package/build/api/models/get-table-schema200-response-foreign-keys-inner.d.ts +7 -7
- package/build/api/models/get-table-schema200-response-foreign-keys-inner.js +1 -1
- package/build/api/models/get-table-schema200-response-indexes-inner.d.ts +7 -7
- package/build/api/models/get-table-schema200-response-indexes-inner.js +1 -1
- package/build/api/models/get-table-schema200-response.d.ts +9 -9
- package/build/api/models/get-table-schema200-response.js +1 -1
- package/build/api/models/get-token-metadata200-response-token.d.ts +32 -32
- package/build/api/models/get-token-metadata200-response-token.js +1 -1
- package/build/api/models/get-token-metadata200-response.d.ts +1 -1
- package/build/api/models/get-token-metadata200-response.js +1 -1
- package/build/api/models/get-wallet-balances200-response-balances-inner.d.ts +12 -12
- package/build/api/models/get-wallet-balances200-response-balances-inner.js +1 -1
- package/build/api/models/get-wallet-balances200-response-next.d.ts +1 -1
- package/build/api/models/get-wallet-balances200-response-next.js +1 -1
- package/build/api/models/get-wallet-balances200-response.d.ts +1 -1
- package/build/api/models/get-wallet-balances200-response.js +1 -1
- package/build/api/models/html-metadata-oembed.d.ts +1 -1
- package/build/api/models/html-metadata-oembed.js +1 -1
- package/build/api/models/html-metadata.d.ts +2 -2
- package/build/api/models/html-metadata.js +1 -1
- package/build/api/models/image-object.d.ts +2 -2
- package/build/api/models/image-object.js +1 -1
- package/build/api/models/index.d.ts +10 -11
- package/build/api/models/index.js +10 -11
- package/build/api/models/insert-rows-request.d.ts +1 -1
- package/build/api/models/insert-rows-request.js +1 -1
- package/build/api/models/insert-rows200-response.d.ts +1 -1
- package/build/api/models/insert-rows200-response.js +1 -1
- package/build/api/models/invite-channel-member-req-body.d.ts +5 -5
- package/build/api/models/invite-channel-member-req-body.js +1 -1
- package/build/api/models/list-conversations200-response-conversations-inner.d.ts +11 -11
- package/build/api/models/list-conversations200-response-conversations-inner.js +1 -1
- package/build/api/models/list-conversations200-response.d.ts +1 -1
- package/build/api/models/list-conversations200-response.js +1 -1
- package/build/api/models/list-deployment-files200-response-files-inner.d.ts +5 -5
- package/build/api/models/list-deployment-files200-response-files-inner.js +1 -1
- package/build/api/models/list-deployment-files200-response.d.ts +1 -1
- package/build/api/models/list-deployment-files200-response.js +1 -1
- package/build/api/models/list-deployments200-response-inner-production-app-status.d.ts +9 -9
- package/build/api/models/list-deployments200-response-inner-production-app-status.js +1 -1
- package/build/api/models/list-deployments200-response-inner.d.ts +28 -28
- package/build/api/models/list-deployments200-response-inner.js +1 -1
- package/build/api/models/list-deployments400-response.d.ts +1 -1
- package/build/api/models/list-deployments400-response.js +1 -1
- package/build/api/models/list-secrets200-response-secrets-inner.d.ts +7 -7
- package/build/api/models/list-secrets200-response-secrets-inner.js +1 -1
- package/build/api/models/list-secrets200-response.d.ts +2 -2
- package/build/api/models/list-secrets200-response.js +1 -1
- package/build/api/models/list-tables200-response-tables-inner.d.ts +5 -5
- package/build/api/models/list-tables200-response-tables-inner.js +1 -1
- package/build/api/models/list-tables200-response.d.ts +1 -1
- package/build/api/models/list-tables200-response.js +1 -1
- package/build/api/models/location-address.d.ts +3 -3
- package/build/api/models/location-address.js +1 -1
- package/build/api/models/location.d.ts +2 -2
- package/build/api/models/location.js +1 -1
- package/build/api/models/{register-signed-key-for-developer-managed-auth-address200-response.d.ts → lookup-developer-managed-auth-address200-response.d.ts} +5 -5
- package/build/api/models/{register-signed-key-for-developer-managed-auth-address200-response.js → lookup-developer-managed-auth-address200-response.js} +3 -3
- package/build/api/models/mark-notifications-as-seen-req-body.d.ts +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.js +1 -1
- package/build/api/models/miniapp-domain-response.d.ts +14 -14
- package/build/api/models/miniapp-domain-response.js +1 -1
- package/build/api/models/mint-nft-request-recipients-inner-any-of.d.ts +1 -1
- package/build/api/models/mint-nft-request-recipients-inner-any-of.js +1 -1
- package/build/api/models/mint-nft-request-recipients-inner-any-of1.d.ts +1 -1
- package/build/api/models/mint-nft-request-recipients-inner-any-of1.js +1 -1
- package/build/api/models/mint-nft-request-recipients-inner.d.ts +1 -1
- package/build/api/models/mint-nft-request-recipients-inner.js +1 -1
- package/build/api/models/mint-nft-request.d.ts +7 -7
- package/build/api/models/mint-nft-request.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-receipt.d.ts +3 -3
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-receipt.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient-tokens-inner.d.ts +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient-tokens-inner.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient.d.ts +2 -2
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of.d.ts +2 -2
- package/build/api/models/mint-nft200-response-transactions-inner-one-of.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of1-recipient.d.ts +2 -2
- package/build/api/models/mint-nft200-response-transactions-inner-one-of1-recipient.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of1.d.ts +2 -2
- package/build/api/models/mint-nft200-response-transactions-inner-one-of1.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner.d.ts +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner.js +1 -1
- package/build/api/models/mint-nft200-response.d.ts +1 -1
- package/build/api/models/mint-nft200-response.js +1 -1
- package/build/api/models/mute-list-response.d.ts +1 -1
- package/build/api/models/mute-list-response.js +1 -1
- package/build/api/models/mute-record.d.ts +2 -2
- package/build/api/models/mute-record.js +1 -1
- package/build/api/models/mute-req-body.d.ts +1 -1
- package/build/api/models/mute-req-body.js +1 -1
- package/build/api/models/mute-response.d.ts +2 -2
- package/build/api/models/mute-response.js +1 -1
- package/build/api/models/network.d.ts +1 -1
- package/build/api/models/network.js +1 -1
- package/build/api/models/next-cursor.d.ts +1 -1
- package/build/api/models/next-cursor.js +1 -1
- package/build/api/models/nonce-response.d.ts +1 -1
- package/build/api/models/nonce-response.js +1 -1
- package/build/api/models/notification-campaign-stats-error-breakdown.d.ts +1 -1
- package/build/api/models/notification-campaign-stats-error-breakdown.js +1 -1
- package/build/api/models/notification-campaign-stats.d.ts +6 -6
- package/build/api/models/notification-campaign-stats.js +1 -1
- package/build/api/models/notification-campaign-status.d.ts +1 -1
- package/build/api/models/notification-campaign-status.js +1 -1
- package/build/api/models/notification-campaign.d.ts +14 -14
- package/build/api/models/notification-campaign.js +1 -1
- package/build/api/models/notification-type.d.ts +1 -1
- package/build/api/models/notification-type.js +1 -1
- package/build/api/models/notification.d.ts +7 -7
- package/build/api/models/notification.js +1 -1
- package/build/api/models/notifications-response.d.ts +3 -3
- package/build/api/models/notifications-response.js +1 -1
- package/build/api/models/oembed-link-data.d.ts +11 -11
- package/build/api/models/oembed-link-data.js +1 -1
- package/build/api/models/oembed-photo-data.d.ts +16 -16
- package/build/api/models/oembed-photo-data.js +1 -1
- package/build/api/models/oembed-rich-data.d.ts +20 -20
- package/build/api/models/oembed-rich-data.js +1 -1
- package/build/api/models/oembed-video-data.d.ts +20 -20
- package/build/api/models/oembed-video-data.js +1 -1
- package/build/api/models/operation-response.d.ts +2 -2
- package/build/api/models/operation-response.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-any-of.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-any-of.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-any-of1.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-any-of1.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-any-of2.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-any-of2.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +2 -2
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +1 -1
- package/build/api/models/post-cast-req-body-embeds.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds.js +1 -1
- package/build/api/models/post-cast-req-body.d.ts +11 -11
- package/build/api/models/post-cast-req-body.js +1 -1
- package/build/api/models/post-cast-response-cast-author.d.ts +1 -1
- package/build/api/models/post-cast-response-cast-author.js +1 -1
- package/build/api/models/post-cast-response-cast.d.ts +2 -2
- package/build/api/models/post-cast-response-cast.js +1 -1
- package/build/api/models/post-cast-response.d.ts +2 -2
- package/build/api/models/post-cast-response.js +1 -1
- package/build/api/models/prompt-deployment-stream-request-images-inner.d.ts +5 -5
- package/build/api/models/prompt-deployment-stream-request-images-inner.js +1 -1
- package/build/api/models/prompt-deployment-stream-request.d.ts +9 -9
- package/build/api/models/prompt-deployment-stream-request.js +1 -1
- package/build/api/models/prompt-deployment-stream202-response.d.ts +5 -5
- package/build/api/models/prompt-deployment-stream202-response.js +1 -1
- package/build/api/models/protocol.d.ts +1 -1
- package/build/api/models/protocol.js +1 -1
- package/build/api/models/provision-request.d.ts +5 -5
- package/build/api/models/provision-request.js +1 -1
- package/build/api/models/provision200-response.d.ts +2 -2
- package/build/api/models/provision200-response.js +1 -1
- package/build/api/models/{list-tables400-response.d.ts → provision400-response.d.ts} +3 -3
- package/build/api/models/{cast-embedded-parent-author.js → provision400-response.js} +1 -1
- package/build/api/models/query-table-request.d.ts +9 -9
- package/build/api/models/query-table-request.js +1 -1
- package/build/api/models/query-table200-response-columns-inner.d.ts +1 -1
- package/build/api/models/query-table200-response-columns-inner.js +1 -1
- package/build/api/models/query-table200-response.d.ts +11 -11
- package/build/api/models/query-table200-response.js +1 -1
- package/build/api/models/queued-frame-notifications-response.d.ts +1 -1
- package/build/api/models/queued-frame-notifications-response.js +1 -1
- package/build/api/models/reaction-for-cast.d.ts +3 -3
- package/build/api/models/reaction-for-cast.js +1 -1
- package/build/api/models/reaction-like.d.ts +1 -1
- package/build/api/models/reaction-like.js +1 -1
- package/build/api/models/reaction-recast.d.ts +1 -1
- package/build/api/models/reaction-recast.js +1 -1
- package/build/api/models/reaction-req-body.d.ts +6 -6
- package/build/api/models/reaction-req-body.js +1 -1
- package/build/api/models/reaction-type.d.ts +1 -1
- package/build/api/models/reaction-type.js +1 -1
- package/build/api/models/reaction-with-cast-info.d.ts +8 -8
- package/build/api/models/reaction-with-cast-info.js +6 -6
- package/build/api/models/reaction-with-user-info.d.ts +2 -2
- package/build/api/models/reaction-with-user-info.js +1 -1
- package/build/api/models/reactions-cast-response.d.ts +2 -2
- package/build/api/models/reactions-cast-response.js +1 -1
- package/build/api/models/reactions-response.d.ts +2 -2
- package/build/api/models/reactions-response.js +1 -1
- package/build/api/models/reciprocal-follower.d.ts +2 -2
- package/build/api/models/reciprocal-follower.js +1 -1
- package/build/api/models/recover-request.d.ts +1 -1
- package/build/api/models/recover-request.js +1 -1
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.d.ts +5 -5
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.js +1 -1
- package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +9 -9
- package/build/api/models/register-developer-managed-signed-key-req-body.js +1 -1
- package/build/api/models/register-signer-key-req-body.d.ts +9 -9
- package/build/api/models/register-signer-key-req-body.js +1 -1
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.d.ts +1 -1
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.js +1 -1
- package/build/api/models/register-user-on-chain-req-body-registration.d.ts +6 -6
- package/build/api/models/register-user-on-chain-req-body-registration.js +1 -1
- package/build/api/models/register-user-on-chain-req-body-signers-inner.d.ts +8 -8
- package/build/api/models/register-user-on-chain-req-body-signers-inner.js +1 -1
- package/build/api/models/register-user-on-chain-req-body.d.ts +2 -2
- package/build/api/models/register-user-on-chain-req-body.js +1 -1
- package/build/api/models/register-user-on-chain-response.d.ts +1 -1
- package/build/api/models/register-user-on-chain-response.js +1 -1
- package/build/api/models/{update-user-req-body-location.d.ts → register-user-req-body-metadata-location.d.ts} +2 -2
- package/build/api/models/{subscription-metadata.js → register-user-req-body-metadata-location.js} +1 -1
- package/build/api/models/{update-user-req-body-verified-accounts.d.ts → register-user-req-body-metadata-verified-accounts.d.ts} +3 -3
- package/build/api/models/{get-credit-drop402-response.js → register-user-req-body-metadata-verified-accounts.js} +1 -1
- package/build/api/models/register-user-req-body-metadata.d.ts +6 -6
- package/build/api/models/register-user-req-body-metadata.js +1 -1
- package/build/api/models/register-user-req-body-signer.d.ts +3 -3
- package/build/api/models/register-user-req-body-signer.js +1 -1
- package/build/api/models/register-user-req-body.d.ts +5 -5
- package/build/api/models/register-user-req-body.js +1 -1
- package/build/api/models/register-user-response-signers-inner.d.ts +7 -7
- package/build/api/models/register-user-response-signers-inner.js +1 -1
- package/build/api/models/register-user-response.d.ts +2 -2
- package/build/api/models/register-user-response.js +1 -1
- package/build/api/models/relevant-followers-response.d.ts +2 -2
- package/build/api/models/relevant-followers-response.js +1 -1
- package/build/api/models/relevant-fungible-owners-response.d.ts +2 -2
- package/build/api/models/relevant-fungible-owners-response.js +1 -1
- package/build/api/models/remove-channel-member-req-body.d.ts +5 -5
- package/build/api/models/remove-channel-member-req-body.js +1 -1
- package/build/api/models/remove-verification-req-body.d.ts +5 -5
- package/build/api/models/remove-verification-req-body.js +1 -1
- package/build/api/models/respond-channel-invite-req-body.d.ts +5 -5
- package/build/api/models/respond-channel-invite-req-body.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.d.ts +2 -2
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-filters.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body-filters.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.d.ts +5 -5
- package/build/api/models/send-frame-notifications-req-body-notification.js +1 -1
- package/build/api/models/send-frame-notifications-req-body.d.ts +3 -3
- package/build/api/models/send-frame-notifications-req-body.js +1 -1
- package/build/api/models/send-frame-notifications-response.d.ts +5 -5
- package/build/api/models/send-frame-notifications-response.js +1 -1
- package/build/api/models/shared-signer-permission.d.ts +1 -1
- package/build/api/models/shared-signer-permission.js +1 -1
- package/build/api/models/signed-key-request-sponsor.d.ts +1 -1
- package/build/api/models/signed-key-request-sponsor.js +1 -1
- package/build/api/models/signed-message-body-signed-message.d.ts +1 -1
- package/build/api/models/signed-message-body-signed-message.js +1 -1
- package/build/api/models/signed-message-body.d.ts +2 -2
- package/build/api/models/signed-message-body.js +1 -1
- package/build/api/models/signer-list-response.d.ts +1 -1
- package/build/api/models/signer-list-response.js +1 -1
- package/build/api/models/signer-uuid-body.d.ts +7 -7
- package/build/api/models/signer-uuid-body.js +1 -1
- package/build/api/models/signer.d.ts +8 -8
- package/build/api/models/signer.js +1 -1
- package/build/api/models/simulate-nft-mint-response-inner-recipient-any-of.d.ts +1 -1
- package/build/api/models/simulate-nft-mint-response-inner-recipient-any-of.js +1 -1
- package/build/api/models/simulate-nft-mint-response-inner-recipient-any-of1.d.ts +1 -1
- package/build/api/models/simulate-nft-mint-response-inner-recipient-any-of1.js +1 -1
- package/build/api/models/simulate-nft-mint-response-inner-recipient.d.ts +1 -1
- package/build/api/models/simulate-nft-mint-response-inner-recipient.js +1 -1
- package/build/api/models/simulate-nft-mint-response-inner.d.ts +12 -12
- package/build/api/models/simulate-nft-mint-response-inner.js +1 -1
- package/build/api/models/simulate-nft-mint-response.d.ts +1 -1
- package/build/api/models/simulate-nft-mint-response.js +1 -1
- package/build/api/models/start-app-request.d.ts +1 -1
- package/build/api/models/start-app-request.js +1 -1
- package/build/api/models/start-app200-response.d.ts +2 -2
- package/build/api/models/start-app200-response.js +1 -1
- package/build/api/models/storage-allocation.d.ts +4 -4
- package/build/api/models/storage-allocation.js +1 -1
- package/build/api/models/storage-allocations-response.d.ts +2 -2
- package/build/api/models/storage-allocations-response.js +1 -1
- package/build/api/models/storage-object.d.ts +2 -2
- package/build/api/models/storage-object.js +1 -1
- package/build/api/models/storage-usage-response.d.ts +6 -6
- package/build/api/models/storage-usage-response.js +1 -1
- package/build/api/models/{subscription-metadata.d.ts → subscribed-to-metadata.d.ts} +4 -4
- package/build/api/models/subscribed-to-metadata.js +15 -0
- package/build/api/models/subscribed-to-object.d.ts +5 -5
- package/build/api/models/subscribed-to-object.js +1 -1
- package/build/api/models/{subscription-price.d.ts → subscribed-to-price.d.ts} +3 -3
- package/build/api/models/subscribed-to-price.js +15 -0
- package/build/api/models/subscribed-to-response.d.ts +1 -1
- package/build/api/models/subscribed-to-response.js +1 -1
- package/build/api/models/{subscription-token.d.ts → subscribed-to-token.d.ts} +3 -3
- package/build/api/models/subscribed-to-token.js +15 -0
- package/build/api/models/subscribed-to.d.ts +13 -13
- package/build/api/models/subscribed-to.js +1 -1
- package/build/api/models/subscriber.d.ts +2 -2
- package/build/api/models/subscriber.js +1 -1
- package/build/api/models/subscribers-response.d.ts +1 -1
- package/build/api/models/subscribers-response.js +1 -1
- package/build/api/models/subscription-check-response-value.d.ts +2 -2
- package/build/api/models/subscription-check-response-value.js +1 -1
- package/build/api/models/subscription-check-response.d.ts +1 -1
- package/build/api/models/subscription-check-response.js +1 -1
- package/build/api/models/subscription-tier-price.d.ts +2 -2
- package/build/api/models/subscription-tier-price.js +1 -1
- package/build/api/models/subscription-tier.d.ts +1 -1
- package/build/api/models/subscription-tier.js +1 -1
- package/build/api/models/subscription.d.ts +11 -11
- package/build/api/models/subscription.js +1 -1
- package/build/api/models/subscriptions-response.d.ts +1 -1
- package/build/api/models/subscriptions-response.js +1 -1
- package/build/api/models/subscriptions.d.ts +1 -1
- package/build/api/models/subscriptions.js +1 -1
- package/build/api/models/text-range.d.ts +2 -2
- package/build/api/models/text-range.js +1 -1
- package/build/api/models/token-balance-balance.d.ts +1 -1
- package/build/api/models/token-balance-balance.js +1 -1
- package/build/api/models/token-balance-token.d.ts +10 -10
- package/build/api/models/token-balance-token.js +1 -1
- package/build/api/models/token-balance.d.ts +2 -2
- package/build/api/models/token-balance.js +1 -1
- package/build/api/models/top-level-topic.d.ts +1 -1
- package/build/api/models/top-level-topic.js +1 -1
- package/build/api/models/transaction-frame-action.d.ts +5 -5
- package/build/api/models/transaction-frame-action.js +1 -1
- package/build/api/models/transaction-frame-config.d.ts +2 -2
- package/build/api/models/transaction-frame-config.js +1 -1
- package/build/api/models/transaction-frame-destination.d.ts +5 -5
- package/build/api/models/transaction-frame-destination.js +1 -1
- package/build/api/models/transaction-frame-line-item.d.ts +5 -5
- package/build/api/models/transaction-frame-line-item.js +1 -1
- package/build/api/models/transaction-frame-pay.d.ts +5 -5
- package/build/api/models/transaction-frame-pay.js +1 -1
- package/build/api/models/transaction-frame-response.d.ts +1 -1
- package/build/api/models/transaction-frame-response.js +1 -1
- package/build/api/models/transaction-frame-status.d.ts +1 -1
- package/build/api/models/transaction-frame-status.js +1 -1
- package/build/api/models/transaction-frame-type.d.ts +1 -1
- package/build/api/models/transaction-frame-type.js +1 -1
- package/build/api/models/transaction-send-fungibles-receipt.d.ts +3 -3
- package/build/api/models/transaction-send-fungibles-receipt.js +1 -1
- package/build/api/models/transaction-send-fungibles-recipient.d.ts +5 -5
- package/build/api/models/transaction-send-fungibles-recipient.js +1 -1
- package/build/api/models/transaction-send-fungibles-req-body.d.ts +2 -2
- package/build/api/models/transaction-send-fungibles-req-body.js +1 -1
- package/build/api/models/transaction-send-fungibles-response.d.ts +1 -1
- package/build/api/models/transaction-send-fungibles-response.js +1 -1
- package/build/api/models/transaction-send-tx-info.d.ts +7 -7
- package/build/api/models/transaction-send-tx-info.js +1 -1
- package/build/api/models/trending-channel-response.d.ts +1 -1
- package/build/api/models/trending-channel-response.js +1 -1
- package/build/api/models/trending-topic.d.ts +6 -6
- package/build/api/models/trending-topic.js +1 -1
- package/build/api/models/trending-topics-response.d.ts +2 -2
- package/build/api/models/trending-topics-response.js +1 -1
- package/build/api/models/update-rows-request.d.ts +5 -5
- package/build/api/models/update-rows-request.js +1 -1
- package/build/api/models/update-rows200-response.d.ts +1 -1
- package/build/api/models/update-rows200-response.js +1 -1
- package/build/api/models/update-user-req-body.d.ts +14 -14
- package/build/api/models/update-user-req-body.js +1 -1
- package/build/api/models/update-user207-response-errors-inner.d.ts +1 -1
- package/build/api/models/update-user207-response-errors-inner.js +1 -1
- package/build/api/models/update-user207-response.d.ts +2 -2
- package/build/api/models/update-user207-response.js +1 -1
- package/build/api/models/upgrade-preview200-response-credit.d.ts +3 -3
- package/build/api/models/upgrade-preview200-response-credit.js +1 -1
- package/build/api/models/upgrade-preview200-response-current-plan.d.ts +3 -3
- package/build/api/models/upgrade-preview200-response-current-plan.js +1 -1
- package/build/api/models/upgrade-preview200-response-new-plan.d.ts +2 -2
- package/build/api/models/upgrade-preview200-response-new-plan.js +1 -1
- package/build/api/models/upgrade-preview200-response.d.ts +4 -4
- package/build/api/models/upgrade-preview200-response.js +1 -1
- package/build/api/models/upgrade-request.d.ts +1 -1
- package/build/api/models/upgrade-request.js +1 -1
- package/build/api/models/upgrade200-response.d.ts +4 -4
- package/build/api/models/upgrade200-response.js +1 -1
- package/build/api/models/{upgrade-preview400-response-payment-method.d.ts → upgrade400-response-payment-method.d.ts} +2 -2
- package/build/api/models/upgrade400-response-payment-method.js +15 -0
- package/build/api/models/{get-credit-drop402-response.d.ts → upgrade400-response.d.ts} +5 -3
- package/build/api/models/upgrade400-response.js +15 -0
- package/build/api/models/upload-image-url-request.d.ts +1 -1
- package/build/api/models/upload-image-url-request.js +1 -1
- package/build/api/models/upload-image200-response.d.ts +5 -5
- package/build/api/models/upload-image200-response.js +1 -1
- package/build/api/models/upload-token-metadata-request-tokens-inner-metadata-attributes-inner-value.d.ts +1 -1
- package/build/api/models/upload-token-metadata-request-tokens-inner-metadata-attributes-inner-value.js +1 -1
- package/build/api/models/upload-token-metadata-request-tokens-inner-metadata-attributes-inner.d.ts +3 -3
- package/build/api/models/upload-token-metadata-request-tokens-inner-metadata-attributes-inner.js +1 -1
- package/build/api/models/upload-token-metadata-request-tokens-inner-metadata.d.ts +6 -6
- package/build/api/models/upload-token-metadata-request-tokens-inner-metadata.js +1 -1
- package/build/api/models/upload-token-metadata-request-tokens-inner.d.ts +2 -2
- package/build/api/models/upload-token-metadata-request-tokens-inner.js +1 -1
- package/build/api/models/upload-token-metadata-request.d.ts +2 -2
- package/build/api/models/upload-token-metadata-request.js +1 -1
- package/build/api/models/upload-token-metadata200-response-tokens-inner-one-of.d.ts +1 -1
- package/build/api/models/upload-token-metadata200-response-tokens-inner-one-of.js +1 -1
- package/build/api/models/upload-token-metadata200-response-tokens-inner-one-of1.d.ts +2 -2
- package/build/api/models/upload-token-metadata200-response-tokens-inner-one-of1.js +1 -1
- package/build/api/models/upload-token-metadata200-response-tokens-inner.d.ts +1 -1
- package/build/api/models/upload-token-metadata200-response-tokens-inner.js +1 -1
- package/build/api/models/upload-token-metadata200-response.d.ts +1 -1
- package/build/api/models/upload-token-metadata200-response.js +1 -1
- package/build/api/models/upsert-secrets-request-secrets-inner.d.ts +1 -1
- package/build/api/models/upsert-secrets-request-secrets-inner.js +1 -1
- package/build/api/models/upsert-secrets-request.d.ts +1 -1
- package/build/api/models/upsert-secrets-request.js +1 -1
- package/build/api/models/upsert-secrets200-response.d.ts +1 -1
- package/build/api/models/upsert-secrets200-response.js +1 -1
- package/build/api/models/user-auth-addresses-inner.d.ts +1 -1
- package/build/api/models/user-auth-addresses-inner.js +1 -1
- package/build/api/models/user-dehydrated.d.ts +9 -9
- package/build/api/models/user-dehydrated.js +1 -1
- package/build/api/models/user-experimental.d.ts +1 -1
- package/build/api/models/user-experimental.js +1 -1
- package/build/api/models/user-fidresponse.d.ts +1 -1
- package/build/api/models/user-fidresponse.js +1 -1
- package/build/api/models/user-power-lite-response-result.d.ts +1 -1
- package/build/api/models/user-power-lite-response-result.js +1 -1
- package/build/api/models/user-power-lite-response.d.ts +1 -1
- package/build/api/models/user-power-lite-response.js +1 -1
- package/build/api/models/user-pro.d.ts +2 -2
- package/build/api/models/user-pro.js +1 -1
- package/build/api/models/user-profile-banner.d.ts +1 -1
- package/build/api/models/user-profile-banner.js +1 -1
- package/build/api/models/user-profile-bio.d.ts +7 -7
- package/build/api/models/user-profile-bio.js +1 -1
- package/build/api/models/user-profile.d.ts +2 -2
- package/build/api/models/user-profile.js +1 -1
- package/build/api/models/user-response.d.ts +1 -1
- package/build/api/models/user-response.js +1 -1
- package/build/api/models/user-search-response-result.d.ts +2 -2
- package/build/api/models/user-search-response-result.js +1 -1
- package/build/api/models/user-search-response.d.ts +1 -1
- package/build/api/models/user-search-response.js +1 -1
- package/build/api/models/user-verified-accounts-inner.d.ts +1 -1
- package/build/api/models/user-verified-accounts-inner.js +1 -1
- package/build/api/models/user-verified-addresses-primary.d.ts +1 -1
- package/build/api/models/user-verified-addresses-primary.js +1 -1
- package/build/api/models/user-verified-addresses.d.ts +2 -2
- package/build/api/models/user-verified-addresses.js +1 -1
- package/build/api/models/user-viewer-context.d.ts +9 -9
- package/build/api/models/user-viewer-context.js +1 -1
- package/build/api/models/user.d.ts +19 -19
- package/build/api/models/user.js +1 -1
- package/build/api/models/users-active-channels-response.d.ts +1 -1
- package/build/api/models/users-active-channels-response.js +1 -1
- package/build/api/models/users-response.d.ts +2 -2
- package/build/api/models/users-response.js +1 -1
- package/build/api/models/vercel-deployment-logs200-response-logs-inner.d.ts +9 -9
- package/build/api/models/vercel-deployment-logs200-response-logs-inner.js +1 -1
- package/build/api/models/vercel-deployment-logs200-response.d.ts +5 -5
- package/build/api/models/vercel-deployment-logs200-response.js +1 -1
- package/build/api/models/vercel-deployment-status200-response.d.ts +9 -9
- package/build/api/models/vercel-deployment-status200-response.js +1 -1
- package/build/api/models/verification-chain-id.d.ts +1 -1
- package/build/api/models/verification-chain-id.js +1 -1
- package/build/api/models/verification-type.d.ts +1 -1
- package/build/api/models/verification-type.js +1 -1
- package/build/api/models/verification.d.ts +3 -3
- package/build/api/models/verification.js +1 -1
- package/build/api/models/video-object.d.ts +1 -1
- package/build/api/models/video-object.js +1 -1
- package/build/api/models/webhook-delete-req-body.d.ts +1 -1
- package/build/api/models/webhook-delete-req-body.js +1 -1
- package/build/api/models/webhook-list-response.d.ts +1 -1
- package/build/api/models/webhook-list-response.js +1 -1
- package/build/api/models/webhook-patch-req-body.d.ts +2 -2
- package/build/api/models/webhook-patch-req-body.js +1 -1
- package/build/api/models/webhook-post-req-body.d.ts +2 -2
- package/build/api/models/webhook-post-req-body.js +1 -1
- package/build/api/models/webhook-put-req-body.d.ts +2 -2
- package/build/api/models/webhook-put-req-body.js +1 -1
- package/build/api/models/webhook-response.d.ts +1 -1
- package/build/api/models/webhook-response.js +1 -1
- package/build/api/models/webhook-secret.d.ts +5 -5
- package/build/api/models/webhook-secret.js +1 -1
- package/build/api/models/webhook-subscription-filters-cast.d.ts +16 -16
- package/build/api/models/webhook-subscription-filters-cast.js +1 -1
- package/build/api/models/webhook-subscription-filters-follow.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-follow.js +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.d.ts +2 -2
- package/build/api/models/webhook-subscription-filters-reaction.js +1 -1
- package/build/api/models/webhook-subscription-filters-trade.d.ts +2 -2
- package/build/api/models/webhook-subscription-filters-trade.js +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.js +1 -1
- package/build/api/models/webhook-subscription-filters.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters.js +1 -1
- package/build/api/models/webhook-subscription.d.ts +3 -3
- package/build/api/models/webhook-subscription.js +1 -1
- package/build/api/models/webhook.d.ts +11 -11
- package/build/api/models/webhook.js +1 -1
- package/build/api/models/zod-error-errors-inner.d.ts +3 -3
- package/build/api/models/zod-error-errors-inner.js +1 -1
- package/build/api/models/zod-error.d.ts +2 -2
- package/build/api/models/zod-error.js +1 -1
- package/build/clients/NeynarAPIClient.d.ts +199 -193
- package/build/clients/NeynarAPIClient.js +142 -136
- package/package.json +1 -1
- package/build/api/models/subscription-price.js +0 -15
- package/build/api/models/subscription-token.js +0 -15
- package/build/api/models/update-user-req-body-location.js +0 -15
- package/build/api/models/update-user-req-body-verified-accounts.js +0 -15
- package/build/api/models/upgrade-preview400-response-payment-method.js +0 -15
- package/build/api/models/upgrade-preview400-response.d.ts +0 -17
- package/build/api/models/upgrade-preview400-response.js +0 -15
|
@@ -2,7 +2,7 @@ import { Logger } from "../common/logger";
|
|
|
2
2
|
import { AxiosError, AxiosInstance } from "axios";
|
|
3
3
|
import type { SetRequired } from "type-fest";
|
|
4
4
|
import { Configuration } from './configuration';
|
|
5
|
-
import type { AppHostGetEventEventEnum, AppHostGetEventResponse, AppHostPostEventReqBodyEventEnum, AppHostPostEventResponse, AppHostUserStateResponse, AssignCustomDomain200Response, AssignCustomDomainRequest, AssociateDeployment200Response, AssociateDeploymentRequest, AuthorizationUrlResponse, BalanceResponse, BanListResponse, BanResponse, BatchGetTokenMetadata200Response, BestFriendsResponse, Billing200Response, BlockListResponse, BuildRequest, BulkCastsResponse, BulkFollowResponse, BulkRelevantFungibleOwnersResponse, BulkUsersByAddressResponse, BulkUsersResponse, CancelSession200Response, CancelSessionRequest, CastEmbedCrawlResponse, CastResponse, CastsMetricsResponse, CastsResponse, CastsSearchResponse, ChannelListResponse, ChannelMemberInviteListResponse, ChannelMemberListResponse, ChannelMemberRole, ChannelResponse, ChannelResponseBulk, ChannelSearchResponse, CheckDomainAvailability200Response, ClaimCreditDrop200Response, ClaimCreditDropRequest, Conversation, ConversationSummary, CreateDeploymentRequest, CreateX402Signature200Response, CreateX402SignatureRequest, DeleteDeployment200Response, DeleteDeploymentRequest, DeleteRows200Response, DeleteRowsRequest, DeleteSecretsRequest, DeployErc721201Response, DeployErc721Request, DeployFungibleFactoryEnum, DeployFungibleMetadataNsfwEnum, DeployFungibleNetworkEnum, DeployFungibleResponse, DeployToVercel200Response, DeployToVercelRequest, DeveloperManagedSigner, ErrorRes, ExecuteSql200Response, ExecuteSqlRequest, FarcasterActionReqBodyAction, FeedResponse, FetchAllNotificationsTypeEnum, FetchAuthorizationUrlResponseTypeEnum, FetchBulkCastsSortTypeEnum, FetchBulkChannelsTypeEnum, FetchBulkRelevantFungibleOwnersNetworkEnum, FetchBulkUsersByEthOrSolAddressAddressTypesEnum, FetchCastMetricsIntervalEnum, FetchCastQuotes200Response, FetchCastQuotesTypeEnum, FetchCastReactionsTypesEnum, FetchFeedEmbedTypesEnum, FetchFeedFeedTypeEnum, FetchFeedFilterTypeEnum, FetchFeedForYouProviderEnum, FetchFrameCatalogCategoriesEnum, FetchFrameCatalogNetworksEnum, FetchFrameCatalogTimeWindowEnum, FetchFungibleTrades200Response, FetchFungibleTradesNetworkEnum, FetchFungibleTradesTimeWindowEnum, FetchRelevantFrames200Response, FetchRelevantFramesNetworksEnum, FetchRelevantFramesTimeWindowEnum, FetchRelevantFungibleOwnersNetworkEnum, FetchRepliesAndRecastsForUserFilterEnum, FetchSubscribedToForFidSubscriptionProviderEnum, FetchSubscribersForFidSubscriptionProviderEnum, FetchSubscriptionsForFidSubscriptionProviderEnum, FetchTrendingChannelsTimeWindowEnum, FetchTrendingFeedProviderEnum, FetchTrendingFeedTimeWindowEnum, FetchTrendingFungibles200Response, FetchTrendingFungiblesNetworkEnum, FetchTrendingFungiblesTimeWindowEnum, FetchUserBalanceNetworksEnum, FetchUserFollowersSortTypeEnum, FetchUserFollowingSortTypeEnum, FetchUserInteractions200Response, FetchUserInteractionsTypeEnum, FetchUserReactionsTypeEnum, FetchUserReciprocalFollowers200Response, FetchUserReciprocalFollowersSortTypeEnum, FetchVerifications200Response, FnameAvailabilityResponse, FollowersResponse, FrameCatalogResponse, FrameNotificationTokens, FramePayTransactionReqBodyTransaction, FungiblesResponseSchema, GenerateImage200Response, GenerateImageRequest, GetAccountAssociation200Response, GetConversationMessages200Response, GetCreditDrop200Response, GetDeploymentFile200Response, GetDevStatus200Response, GetNotificationCampaignStats200Response, GetTableSchema200Response, GetTokenMetadata200Response, GetWalletBalances200Response, InsertRows200Response, InsertRowsRequest, ListConversations200Response, ListDeploymentFiles200Response, ListDeployments200ResponseInner, ListDeploymentsSortByEnum, ListSecrets200Response, ListTables200Response, LookupCastByHashOrUrlTypeEnum, LookupCastConversationFoldEnum, LookupCastConversationSortTypeEnum, LookupCastConversationTypeEnum, LookupChannelTypeEnum, MintNft200Response, MintNftRequest, MuteListResponse, MuteResponse, NonceResponse, NotificationType, NotificationsResponse, OperationResponse, PostCastReqBodyEmbeds, PostCastResponse, PromptDeploymentStreamRequest, Provision200Response, ProvisionRequest, QueryTable200Response, QueryTableRequest, ReactionType, ReactionsCastResponse, ReactionsResponse, RecoverRequest,
|
|
5
|
+
import type { AppHostGetEventEventEnum, AppHostGetEventResponse, AppHostPostEventReqBodyEventEnum, AppHostPostEventResponse, AppHostUserStateResponse, AssignCustomDomain200Response, AssignCustomDomainRequest, AssociateDeployment200Response, AssociateDeploymentRequest, AuthorizationUrlResponse, BalanceResponse, BanListResponse, BanResponse, BatchGetTokenMetadata200Response, BestFriendsResponse, Billing200Response, BlockListResponse, BuildRequest, BulkCastsResponse, BulkFollowResponse, BulkRelevantFungibleOwnersResponse, BulkUsersByAddressResponse, BulkUsersResponse, CancelSession200Response, CancelSessionRequest, CastEmbedCrawlResponse, CastResponse, CastsMetricsResponse, CastsResponse, CastsSearchResponse, ChannelListResponse, ChannelMemberInviteListResponse, ChannelMemberListResponse, ChannelMemberRole, ChannelResponse, ChannelResponseBulk, ChannelSearchResponse, CheckDomainAvailability200Response, ClaimCreditDrop200Response, ClaimCreditDropRequest, Conversation, ConversationSummary, CreateDeploymentRequest, CreateX402Signature200Response, CreateX402SignatureRequest, DeleteDeployment200Response, DeleteDeploymentRequest, DeleteRows200Response, DeleteRowsRequest, DeleteSecretsRequest, DeployErc721201Response, DeployErc721Request, DeployFungibleFactoryEnum, DeployFungibleMetadataNsfwEnum, DeployFungibleNetworkEnum, DeployFungibleResponse, DeployToVercel200Response, DeployToVercelRequest, DeveloperManagedSigner, ErrorRes, ExecuteSql200Response, ExecuteSqlRequest, FarcasterActionReqBodyAction, FeedResponse, FetchAllNotificationsTypeEnum, FetchAuthorizationUrlResponseTypeEnum, FetchBulkCastsSortTypeEnum, FetchBulkChannelsTypeEnum, FetchBulkRelevantFungibleOwnersNetworkEnum, FetchBulkUsersByEthOrSolAddressAddressTypesEnum, FetchCastMetricsIntervalEnum, FetchCastQuotes200Response, FetchCastQuotesTypeEnum, FetchCastReactionsTypesEnum, FetchFeedEmbedTypesEnum, FetchFeedFeedTypeEnum, FetchFeedFilterTypeEnum, FetchFeedForYouProviderEnum, FetchFrameCatalogCategoriesEnum, FetchFrameCatalogNetworksEnum, FetchFrameCatalogTimeWindowEnum, FetchFungibleTrades200Response, FetchFungibleTradesNetworkEnum, FetchFungibleTradesTimeWindowEnum, FetchRelevantFrames200Response, FetchRelevantFramesNetworksEnum, FetchRelevantFramesTimeWindowEnum, FetchRelevantFungibleOwnersNetworkEnum, FetchRepliesAndRecastsForUserFilterEnum, FetchSubscribedToForFidSubscriptionProviderEnum, FetchSubscribersForFidSubscriptionProviderEnum, FetchSubscriptionsForFidSubscriptionProviderEnum, FetchTrendingChannelsTimeWindowEnum, FetchTrendingFeedProviderEnum, FetchTrendingFeedTimeWindowEnum, FetchTrendingFungibles200Response, FetchTrendingFungiblesNetworkEnum, FetchTrendingFungiblesTimeWindowEnum, FetchUserBalanceNetworksEnum, FetchUserFollowersSortTypeEnum, FetchUserFollowingSortTypeEnum, FetchUserInteractions200Response, FetchUserInteractionsTypeEnum, FetchUserReactionsTypeEnum, FetchUserReciprocalFollowers200Response, FetchUserReciprocalFollowersSortTypeEnum, FetchVerifications200Response, FnameAvailabilityResponse, FollowersResponse, FrameCatalogResponse, FrameNotificationTokens, FramePayTransactionReqBodyTransaction, FungiblesResponseSchema, GenerateImage200Response, GenerateImageRequest, GetAccountAssociation200Response, GetConversationMessages200Response, GetCreditDrop200Response, GetDeploymentFile200Response, GetDevStatus200Response, GetNotificationCampaignStats200Response, GetTableSchema200Response, GetTokenMetadata200Response, GetWalletBalances200Response, InsertRows200Response, InsertRowsRequest, ListConversations200Response, ListDeploymentFiles200Response, ListDeployments200ResponseInner, ListDeploymentsSortByEnum, ListSecrets200Response, ListTables200Response, LookupCastByHashOrUrlTypeEnum, LookupCastConversationFoldEnum, LookupCastConversationSortTypeEnum, LookupCastConversationTypeEnum, LookupChannelTypeEnum, LookupDeveloperManagedAuthAddress200Response, MintNft200Response, MintNftRequest, MuteListResponse, MuteResponse, NonceResponse, NotificationType, NotificationsResponse, OperationResponse, PostCastReqBodyEmbeds, PostCastResponse, PromptDeploymentStreamRequest, Provision200Response, ProvisionRequest, QueryTable200Response, QueryTableRequest, ReactionType, ReactionsCastResponse, ReactionsResponse, RecoverRequest, RegisterUserOnChainReqBodyPreRegistrationCallsInner, RegisterUserOnChainReqBodyRegistration, RegisterUserOnChainReqBodySignersInner, RegisterUserOnChainResponse, RegisterUserReqBodyMetadata, RegisterUserReqBodyMetadataLocation, RegisterUserReqBodyMetadataVerifiedAccounts, RegisterUserReqBodySigner, RegisterUserResponse, RelevantFollowersResponse, RelevantFungibleOwnersResponse, SearchCastsModeEnum, SearchCastsSortTypeEnum, SearchFramesNetworksEnum, SendFrameNotificationsReqBodyFilters, SendFrameNotificationsReqBodyNotification, SendFrameNotificationsResponse, SignedKeyRequestSponsor, SignedMessageBodySignedMessage, Signer, SignerListResponse, SimulateNftMintNetworkEnum, SimulateNftMintResponse, StartApp200Response, StartAppRequest, StorageAllocationsResponse, StorageUsageResponse, SubscribedToResponse, SubscribersResponse, SubscriptionCheckResponse, SubscriptionsResponse, TransactionFrameConfig, TransactionFrameResponse, TransactionSendFungiblesRecipient, TransactionSendFungiblesReqBodyNetworkEnum, TransactionSendFungiblesResponse, TrendingChannelResponse, TrendingTopicsResponse, UpdateRows200Response, UpdateRowsRequest, Upgrade200Response, UpgradePreview200Response, UpgradePreviewProductCategoryEnum, UpgradeRequest, UploadImage200Response, UploadImageUrlRequest, UploadTokenMetadata200Response, UploadTokenMetadataRequest, UpsertSecrets200Response, UpsertSecretsRequest, UserFIDResponse, UserResponse, UserSearchResponse, UsersActiveChannelsResponse, UsersResponse, VercelDeploymentLogs200Response, VercelDeploymentStatus200Response, VerificationChainId, VerificationType, WebhookListResponse, WebhookPatchReqBodyActiveEnum, WebhookResponse, WebhookSubscriptionFilters } from '../api';
|
|
6
6
|
export interface NeynarAPIClientOptions {
|
|
7
7
|
logger?: Logger;
|
|
8
8
|
axiosInstance?: AxiosInstance;
|
|
@@ -19,20 +19,20 @@ export declare class NeynarAPIClient {
|
|
|
19
19
|
* @summary User actions across apps
|
|
20
20
|
*
|
|
21
21
|
* @param {object} params
|
|
22
|
-
* @param {string} params.signerUuid - The signer_uuid of the user on behalf of whom the action is being performed.
|
|
23
|
-
* @param {string} params.baseUrl - The base URL of the app on which the action is being performed.
|
|
24
22
|
* @param {FarcasterActionReqBodyAction} params.action
|
|
23
|
+
* @param {string} params.baseUrl - The base URL of the app on which the action is being performed.
|
|
24
|
+
* @param {string} params.signerUuid - The signer_uuid of the user on behalf of whom the action is being performed.
|
|
25
25
|
*
|
|
26
26
|
* @returns {Promise<{ [key: string]: any; }>} A promise that resolves to a `{ [key: string]: any; }` object.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
*
|
|
30
30
|
* // Fill in the appropriate values
|
|
31
|
-
* const signerUuid =
|
|
32
|
-
* const baseUrl =
|
|
33
31
|
* const action =
|
|
32
|
+
* const baseUrl =
|
|
33
|
+
* const signerUuid =
|
|
34
34
|
*
|
|
35
|
-
* client.publishFarcasterAction({
|
|
35
|
+
* client.publishFarcasterAction({action, baseUrl, signerUuid}).then(response => {
|
|
36
36
|
* console.log('response:', response);
|
|
37
37
|
* });
|
|
38
38
|
*
|
|
@@ -40,9 +40,9 @@ export declare class NeynarAPIClient {
|
|
|
40
40
|
*
|
|
41
41
|
*/
|
|
42
42
|
publishFarcasterAction(params: {
|
|
43
|
-
signerUuid: string;
|
|
44
|
-
baseUrl: string;
|
|
45
43
|
action: FarcasterActionReqBodyAction;
|
|
44
|
+
baseUrl: string;
|
|
45
|
+
signerUuid: string;
|
|
46
46
|
}): Promise<{
|
|
47
47
|
[key: string]: any;
|
|
48
48
|
}>;
|
|
@@ -52,20 +52,20 @@ export declare class NeynarAPIClient {
|
|
|
52
52
|
* @summary Create transaction pay mini app
|
|
53
53
|
*
|
|
54
54
|
* @param {object} params
|
|
55
|
-
* @param {FramePayTransactionReqBodyTransaction} params.transaction
|
|
56
55
|
* @param {TransactionFrameConfig} params.config
|
|
57
56
|
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
57
|
+
* @param {FramePayTransactionReqBodyTransaction} params.transaction
|
|
58
58
|
*
|
|
59
59
|
* @returns {Promise<TransactionFrameResponse>} A promise that resolves to a `TransactionFrameResponse` object.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
*
|
|
63
63
|
* // Fill in the appropriate values
|
|
64
|
-
* const transaction =
|
|
65
64
|
* const config =
|
|
66
65
|
* const idem =
|
|
66
|
+
* const transaction =
|
|
67
67
|
*
|
|
68
|
-
* client.createTransactionPayFrame({
|
|
68
|
+
* client.createTransactionPayFrame({config, idem, transaction}).then(response => {
|
|
69
69
|
* console.log('response:', response);
|
|
70
70
|
* });
|
|
71
71
|
*
|
|
@@ -73,9 +73,9 @@ export declare class NeynarAPIClient {
|
|
|
73
73
|
*
|
|
74
74
|
*/
|
|
75
75
|
createTransactionPayFrame(params: {
|
|
76
|
-
transaction: FramePayTransactionReqBodyTransaction;
|
|
77
76
|
config: TransactionFrameConfig;
|
|
78
77
|
idem?: string;
|
|
78
|
+
transaction: FramePayTransactionReqBodyTransaction;
|
|
79
79
|
}): Promise<TransactionFrameResponse>;
|
|
80
80
|
/**
|
|
81
81
|
* Returns a list of interactions between two users
|
|
@@ -198,24 +198,24 @@ export declare class NeynarAPIClient {
|
|
|
198
198
|
* @summary Send event
|
|
199
199
|
*
|
|
200
200
|
* @param {object} params
|
|
201
|
-
* @param {SignedMessageBodySignedMessage} params.signedMessage
|
|
202
201
|
* @param {string} params.appDomain - Domain of the mini app
|
|
203
|
-
* @param {
|
|
204
|
-
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
202
|
+
* @param {SignedMessageBodySignedMessage} params.signedMessage
|
|
205
203
|
* @param {AppHostPostEventReqBodyEventEnum} params.event - 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
|
|
204
|
+
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
205
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
206
206
|
*
|
|
207
207
|
* @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object.
|
|
208
208
|
*
|
|
209
209
|
* @example
|
|
210
210
|
*
|
|
211
211
|
* // Fill in the appropriate values
|
|
212
|
-
* const signedMessage =
|
|
213
212
|
* const appDomain =
|
|
214
|
-
* const
|
|
215
|
-
* const fid =
|
|
213
|
+
* const signedMessage =
|
|
216
214
|
* const event =
|
|
215
|
+
* const fid =
|
|
216
|
+
* const signerUuid =
|
|
217
217
|
*
|
|
218
|
-
* client.appHostPostEvent({
|
|
218
|
+
* client.appHostPostEvent({appDomain, signedMessage, event, fid, signerUuid}).then(response => {
|
|
219
219
|
* console.log('response:', response);
|
|
220
220
|
* });
|
|
221
221
|
*
|
|
@@ -223,11 +223,11 @@ export declare class NeynarAPIClient {
|
|
|
223
223
|
*
|
|
224
224
|
*/
|
|
225
225
|
appHostPostEvent(params: {
|
|
226
|
-
signedMessage: SignedMessageBodySignedMessage;
|
|
227
226
|
appDomain: string;
|
|
228
|
-
|
|
229
|
-
fid: number;
|
|
227
|
+
signedMessage: SignedMessageBodySignedMessage;
|
|
230
228
|
event: AppHostPostEventReqBodyEventEnum;
|
|
229
|
+
fid: number;
|
|
230
|
+
signerUuid: string;
|
|
231
231
|
}): Promise<AppHostPostEventResponse>;
|
|
232
232
|
/**
|
|
233
233
|
* Fetches the status of a developer managed auth address by auth address
|
|
@@ -237,7 +237,7 @@ export declare class NeynarAPIClient {
|
|
|
237
237
|
* @param {object} params
|
|
238
238
|
* @param {string} params.address - Ethereum address
|
|
239
239
|
*
|
|
240
|
-
* @returns {Promise<
|
|
240
|
+
* @returns {Promise<LookupDeveloperManagedAuthAddress200Response>} A promise that resolves to a `LookupDeveloperManagedAuthAddress200Response` object.
|
|
241
241
|
*
|
|
242
242
|
* @example
|
|
243
243
|
*
|
|
@@ -253,7 +253,7 @@ export declare class NeynarAPIClient {
|
|
|
253
253
|
*/
|
|
254
254
|
lookupDeveloperManagedAuthAddress(params: {
|
|
255
255
|
address: string;
|
|
256
|
-
}): Promise<
|
|
256
|
+
}): Promise<LookupDeveloperManagedAuthAddress200Response>;
|
|
257
257
|
/**
|
|
258
258
|
* Allow apps to register an Ethereum addresses as authorized \"auth addresses\" for a user\'s Farcaster account, enabling seamless Sign-In With Farcaster (SIWF) across applications without repeated custody wallet authorizations.
|
|
259
259
|
*
|
|
@@ -263,11 +263,11 @@ export declare class NeynarAPIClient {
|
|
|
263
263
|
* @param {string} params.address - Ethereum address
|
|
264
264
|
* @param {number} params.appFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
265
265
|
* @param {number} params.deadline - unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)
|
|
266
|
-
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, 32 bytes padded auth address. [Refer guide for more details.](https://docs.neynar.com/docs/auth-address-signature-generation)
|
|
267
266
|
* @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
|
|
267
|
+
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, 32 bytes padded auth address. [Refer guide for more details.](https://docs.neynar.com/docs/auth-address-signature-generation)
|
|
268
268
|
* @param {SignedKeyRequestSponsor} params.sponsor [optional]
|
|
269
269
|
*
|
|
270
|
-
* @returns {Promise<
|
|
270
|
+
* @returns {Promise<LookupDeveloperManagedAuthAddress200Response>} A promise that resolves to a `LookupDeveloperManagedAuthAddress200Response` object.
|
|
271
271
|
*
|
|
272
272
|
* @example
|
|
273
273
|
*
|
|
@@ -275,11 +275,11 @@ export declare class NeynarAPIClient {
|
|
|
275
275
|
* const address =
|
|
276
276
|
* const appFid =
|
|
277
277
|
* const deadline =
|
|
278
|
-
* const signature =
|
|
279
278
|
* const redirectUrl =
|
|
279
|
+
* const signature =
|
|
280
280
|
* const sponsor =
|
|
281
281
|
*
|
|
282
|
-
* client.registerSignedKeyForDeveloperManagedAuthAddress({address, appFid, deadline,
|
|
282
|
+
* client.registerSignedKeyForDeveloperManagedAuthAddress({address, appFid, deadline, redirectUrl, signature, sponsor}).then(response => {
|
|
283
283
|
* console.log('response:', response);
|
|
284
284
|
* });
|
|
285
285
|
*
|
|
@@ -290,10 +290,10 @@ export declare class NeynarAPIClient {
|
|
|
290
290
|
address: string;
|
|
291
291
|
appFid: number;
|
|
292
292
|
deadline: number;
|
|
293
|
-
signature: string;
|
|
294
293
|
redirectUrl?: string;
|
|
294
|
+
signature: string;
|
|
295
295
|
sponsor?: SignedKeyRequestSponsor;
|
|
296
|
-
}): Promise<
|
|
296
|
+
}): Promise<LookupDeveloperManagedAuthAddress200Response>;
|
|
297
297
|
/**
|
|
298
298
|
* Deletes a list of FIDs from the app associated with your API key.
|
|
299
299
|
*
|
|
@@ -377,18 +377,18 @@ export declare class NeynarAPIClient {
|
|
|
377
377
|
* @summary Unblock FID
|
|
378
378
|
*
|
|
379
379
|
* @param {object} params
|
|
380
|
-
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
381
380
|
* @param {number} params.blockedFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
381
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
382
382
|
*
|
|
383
383
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
384
384
|
*
|
|
385
385
|
* @example
|
|
386
386
|
*
|
|
387
387
|
* // Fill in the appropriate values
|
|
388
|
-
* const signerUuid =
|
|
389
388
|
* const blockedFid =
|
|
389
|
+
* const signerUuid =
|
|
390
390
|
*
|
|
391
|
-
* client.deleteBlock({
|
|
391
|
+
* client.deleteBlock({blockedFid, signerUuid}).then(response => {
|
|
392
392
|
* console.log('response:', response);
|
|
393
393
|
* });
|
|
394
394
|
*
|
|
@@ -396,8 +396,8 @@ export declare class NeynarAPIClient {
|
|
|
396
396
|
*
|
|
397
397
|
*/
|
|
398
398
|
deleteBlock(params: {
|
|
399
|
-
signerUuid: string;
|
|
400
399
|
blockedFid: number;
|
|
400
|
+
signerUuid: string;
|
|
401
401
|
}): Promise<OperationResponse>;
|
|
402
402
|
/**
|
|
403
403
|
* Fetches all FIDs that a user has blocked or has been blocked by
|
|
@@ -438,18 +438,18 @@ export declare class NeynarAPIClient {
|
|
|
438
438
|
* @summary Block FID
|
|
439
439
|
*
|
|
440
440
|
* @param {object} params
|
|
441
|
-
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
442
441
|
* @param {number} params.blockedFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
442
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
443
443
|
*
|
|
444
444
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
445
445
|
*
|
|
446
446
|
* @example
|
|
447
447
|
*
|
|
448
448
|
* // Fill in the appropriate values
|
|
449
|
-
* const signerUuid =
|
|
450
449
|
* const blockedFid =
|
|
450
|
+
* const signerUuid =
|
|
451
451
|
*
|
|
452
|
-
* client.publishBlock({
|
|
452
|
+
* client.publishBlock({blockedFid, signerUuid}).then(response => {
|
|
453
453
|
* console.log('response:', response);
|
|
454
454
|
* });
|
|
455
455
|
*
|
|
@@ -457,8 +457,8 @@ export declare class NeynarAPIClient {
|
|
|
457
457
|
*
|
|
458
458
|
*/
|
|
459
459
|
publishBlock(params: {
|
|
460
|
-
signerUuid: string;
|
|
461
460
|
blockedFid: number;
|
|
461
|
+
signerUuid: string;
|
|
462
462
|
}): Promise<OperationResponse>;
|
|
463
463
|
/**
|
|
464
464
|
* Delete an existing cast. (In order to delete a cast `signer_uuid` must be approved)
|
|
@@ -665,28 +665,28 @@ export declare class NeynarAPIClient {
|
|
|
665
665
|
* @summary Post a cast
|
|
666
666
|
*
|
|
667
667
|
* @param {object} params
|
|
668
|
-
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
669
|
-
* @param {string} params.text [optional]
|
|
670
|
-
* @param {Array<PostCastReqBodyEmbeds>} params.embeds [optional]
|
|
671
|
-
* @param {string} params.parent [optional] - parent_url of the channel the cast is in, or hash of the cast
|
|
672
668
|
* @param {string} params.channelId [optional] - Channel ID of the channel where the cast is to be posted. e.g. neynar, farcaster, warpcast
|
|
669
|
+
* @param {Array<PostCastReqBodyEmbeds>} params.embeds [optional]
|
|
673
670
|
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
671
|
+
* @param {string} params.parent [optional] - parent_url of the channel the cast is in, or hash of the cast
|
|
674
672
|
* @param {number} params.parentAuthorFid [optional] - The unique identifier of a farcaster user or app (unsigned integer)
|
|
673
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
674
|
+
* @param {string} params.text [optional]
|
|
675
675
|
*
|
|
676
676
|
* @returns {Promise<PostCastResponse>} A promise that resolves to a `PostCastResponse` object.
|
|
677
677
|
*
|
|
678
678
|
* @example
|
|
679
679
|
*
|
|
680
680
|
* // Fill in the appropriate values
|
|
681
|
-
* const signerUuid =
|
|
682
|
-
* const text =
|
|
683
|
-
* const embeds =
|
|
684
|
-
* const parent =
|
|
685
681
|
* const channelId =
|
|
682
|
+
* const embeds =
|
|
686
683
|
* const idem =
|
|
684
|
+
* const parent =
|
|
687
685
|
* const parentAuthorFid =
|
|
686
|
+
* const signerUuid =
|
|
687
|
+
* const text =
|
|
688
688
|
*
|
|
689
|
-
* client.publishCast({
|
|
689
|
+
* client.publishCast({channelId, embeds, idem, parent, parentAuthorFid, signerUuid, text}).then(response => {
|
|
690
690
|
* console.log('response:', response);
|
|
691
691
|
* });
|
|
692
692
|
*
|
|
@@ -694,13 +694,13 @@ export declare class NeynarAPIClient {
|
|
|
694
694
|
*
|
|
695
695
|
*/
|
|
696
696
|
publishCast(params: {
|
|
697
|
-
signerUuid: string;
|
|
698
|
-
text?: string;
|
|
699
|
-
embeds?: Array<PostCastReqBodyEmbeds>;
|
|
700
|
-
parent?: string;
|
|
701
697
|
channelId?: string;
|
|
698
|
+
embeds?: Array<PostCastReqBodyEmbeds>;
|
|
702
699
|
idem?: string;
|
|
700
|
+
parent?: string;
|
|
703
701
|
parentAuthorFid?: number;
|
|
702
|
+
signerUuid: string;
|
|
703
|
+
text?: string;
|
|
704
704
|
}): Promise<PostCastResponse>;
|
|
705
705
|
/**
|
|
706
706
|
* Search for casts based on a query string, with optional AND filters
|
|
@@ -1061,18 +1061,18 @@ export declare class NeynarAPIClient {
|
|
|
1061
1061
|
* @summary Follow a channel
|
|
1062
1062
|
*
|
|
1063
1063
|
* @param {object} params
|
|
1064
|
-
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
1065
1064
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
1065
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
1066
1066
|
*
|
|
1067
1067
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
1068
1068
|
*
|
|
1069
1069
|
* @example
|
|
1070
1070
|
*
|
|
1071
1071
|
* // Fill in the appropriate values
|
|
1072
|
-
* const signerUuid =
|
|
1073
1072
|
* const channelId =
|
|
1073
|
+
* const signerUuid =
|
|
1074
1074
|
*
|
|
1075
|
-
* client.followChannel({
|
|
1075
|
+
* client.followChannel({channelId, signerUuid}).then(response => {
|
|
1076
1076
|
* console.log('response:', response);
|
|
1077
1077
|
* });
|
|
1078
1078
|
*
|
|
@@ -1080,8 +1080,8 @@ export declare class NeynarAPIClient {
|
|
|
1080
1080
|
*
|
|
1081
1081
|
*/
|
|
1082
1082
|
followChannel(params: {
|
|
1083
|
-
signerUuid: string;
|
|
1084
1083
|
channelId: string;
|
|
1084
|
+
signerUuid: string;
|
|
1085
1085
|
}): Promise<OperationResponse>;
|
|
1086
1086
|
/**
|
|
1087
1087
|
* Invite a user to a channel
|
|
@@ -1089,22 +1089,22 @@ export declare class NeynarAPIClient {
|
|
|
1089
1089
|
* @summary Invite
|
|
1090
1090
|
*
|
|
1091
1091
|
* @param {object} params
|
|
1092
|
-
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
1093
1092
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
1094
1093
|
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
1095
1094
|
* @param {ChannelMemberRole} params.role
|
|
1095
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
1096
1096
|
*
|
|
1097
1097
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
1098
1098
|
*
|
|
1099
1099
|
* @example
|
|
1100
1100
|
*
|
|
1101
1101
|
* // Fill in the appropriate values
|
|
1102
|
-
* const signerUuid =
|
|
1103
1102
|
* const channelId =
|
|
1104
1103
|
* const fid =
|
|
1105
1104
|
* const role =
|
|
1105
|
+
* const signerUuid =
|
|
1106
1106
|
*
|
|
1107
|
-
* client.inviteChannelMember({
|
|
1107
|
+
* client.inviteChannelMember({channelId, fid, role, signerUuid}).then(response => {
|
|
1108
1108
|
* console.log('response:', response);
|
|
1109
1109
|
* });
|
|
1110
1110
|
*
|
|
@@ -1112,10 +1112,10 @@ export declare class NeynarAPIClient {
|
|
|
1112
1112
|
*
|
|
1113
1113
|
*/
|
|
1114
1114
|
inviteChannelMember(params: {
|
|
1115
|
-
signerUuid: string;
|
|
1116
1115
|
channelId: string;
|
|
1117
1116
|
fid: number;
|
|
1118
1117
|
role: ChannelMemberRole;
|
|
1118
|
+
signerUuid: string;
|
|
1119
1119
|
}): Promise<OperationResponse>;
|
|
1120
1120
|
/**
|
|
1121
1121
|
* Returns details of a channel
|
|
@@ -1154,22 +1154,22 @@ export declare class NeynarAPIClient {
|
|
|
1154
1154
|
* @summary Remove user
|
|
1155
1155
|
*
|
|
1156
1156
|
* @param {object} params
|
|
1157
|
-
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
1158
1157
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
1159
1158
|
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
1160
1159
|
* @param {ChannelMemberRole} params.role
|
|
1160
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
1161
1161
|
*
|
|
1162
1162
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
1163
1163
|
*
|
|
1164
1164
|
* @example
|
|
1165
1165
|
*
|
|
1166
1166
|
* // Fill in the appropriate values
|
|
1167
|
-
* const signerUuid =
|
|
1168
1167
|
* const channelId =
|
|
1169
1168
|
* const fid =
|
|
1170
1169
|
* const role =
|
|
1170
|
+
* const signerUuid =
|
|
1171
1171
|
*
|
|
1172
|
-
* client.removeChannelMember({
|
|
1172
|
+
* client.removeChannelMember({channelId, fid, role, signerUuid}).then(response => {
|
|
1173
1173
|
* console.log('response:', response);
|
|
1174
1174
|
* });
|
|
1175
1175
|
*
|
|
@@ -1177,10 +1177,10 @@ export declare class NeynarAPIClient {
|
|
|
1177
1177
|
*
|
|
1178
1178
|
*/
|
|
1179
1179
|
removeChannelMember(params: {
|
|
1180
|
-
signerUuid: string;
|
|
1181
1180
|
channelId: string;
|
|
1182
1181
|
fid: number;
|
|
1183
1182
|
role: ChannelMemberRole;
|
|
1183
|
+
signerUuid: string;
|
|
1184
1184
|
}): Promise<OperationResponse>;
|
|
1185
1185
|
/**
|
|
1186
1186
|
* Accept or reject a channel invite
|
|
@@ -1188,22 +1188,22 @@ export declare class NeynarAPIClient {
|
|
|
1188
1188
|
* @summary Accept or reject an invite
|
|
1189
1189
|
*
|
|
1190
1190
|
* @param {object} params
|
|
1191
|
-
* @param {
|
|
1191
|
+
* @param {boolean} params.accept - Accept or reject the invite
|
|
1192
1192
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
1193
1193
|
* @param {ChannelMemberRole} params.role
|
|
1194
|
-
* @param {
|
|
1194
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
1195
1195
|
*
|
|
1196
1196
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
1197
1197
|
*
|
|
1198
1198
|
* @example
|
|
1199
1199
|
*
|
|
1200
1200
|
* // Fill in the appropriate values
|
|
1201
|
-
* const
|
|
1201
|
+
* const accept =
|
|
1202
1202
|
* const channelId =
|
|
1203
1203
|
* const role =
|
|
1204
|
-
* const
|
|
1204
|
+
* const signerUuid =
|
|
1205
1205
|
*
|
|
1206
|
-
* client.respondChannelInvite({
|
|
1206
|
+
* client.respondChannelInvite({accept, channelId, role, signerUuid}).then(response => {
|
|
1207
1207
|
* console.log('response:', response);
|
|
1208
1208
|
* });
|
|
1209
1209
|
*
|
|
@@ -1211,10 +1211,10 @@ export declare class NeynarAPIClient {
|
|
|
1211
1211
|
*
|
|
1212
1212
|
*/
|
|
1213
1213
|
respondChannelInvite(params: {
|
|
1214
|
-
|
|
1214
|
+
accept: boolean;
|
|
1215
1215
|
channelId: string;
|
|
1216
1216
|
role: ChannelMemberRole;
|
|
1217
|
-
|
|
1217
|
+
signerUuid: string;
|
|
1218
1218
|
}): Promise<OperationResponse>;
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Returns a list of channels based on ID or name
|
|
@@ -1255,18 +1255,18 @@ export declare class NeynarAPIClient {
|
|
|
1255
1255
|
* @summary Unfollow a channel
|
|
1256
1256
|
*
|
|
1257
1257
|
* @param {object} params
|
|
1258
|
-
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
1259
1258
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
1259
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
1260
1260
|
*
|
|
1261
1261
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
1262
1262
|
*
|
|
1263
1263
|
* @example
|
|
1264
1264
|
*
|
|
1265
1265
|
* // Fill in the appropriate values
|
|
1266
|
-
* const signerUuid =
|
|
1267
1266
|
* const channelId =
|
|
1267
|
+
* const signerUuid =
|
|
1268
1268
|
*
|
|
1269
|
-
* client.unfollowChannel({
|
|
1269
|
+
* client.unfollowChannel({channelId, signerUuid}).then(response => {
|
|
1270
1270
|
* console.log('response:', response);
|
|
1271
1271
|
* });
|
|
1272
1272
|
*
|
|
@@ -1274,8 +1274,8 @@ export declare class NeynarAPIClient {
|
|
|
1274
1274
|
*
|
|
1275
1275
|
*/
|
|
1276
1276
|
unfollowChannel(params: {
|
|
1277
|
-
signerUuid: string;
|
|
1278
1277
|
channelId: string;
|
|
1278
|
+
signerUuid: string;
|
|
1279
1279
|
}): Promise<OperationResponse>;
|
|
1280
1280
|
/**
|
|
1281
1281
|
* Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
|
|
@@ -2033,20 +2033,20 @@ export declare class NeynarAPIClient {
|
|
|
2033
2033
|
* @summary Send notifications
|
|
2034
2034
|
*
|
|
2035
2035
|
* @param {object} params
|
|
2036
|
-
* @param {Array<number>} params.targetFids [optional] - An array of target FIDs to whom the notifications should be sent. Each FID must be a positive integer. Pass an empty array to send notifications to all FIDs with notifications enabled for the mini app.
|
|
2037
2036
|
* @param {SendFrameNotificationsReqBodyFilters} params.filters [optional]
|
|
2038
2037
|
* @param {SendFrameNotificationsReqBodyNotification} params.notification
|
|
2038
|
+
* @param {Array<number>} params.targetFids [optional] - An array of target FIDs to whom the notifications should be sent. Each FID must be a positive integer. Pass an empty array to send notifications to all FIDs with notifications enabled for the mini app.
|
|
2039
2039
|
*
|
|
2040
2040
|
* @returns {Promise<SendFrameNotificationsResponse>} A promise that resolves to a `SendFrameNotificationsResponse` object.
|
|
2041
2041
|
*
|
|
2042
2042
|
* @example
|
|
2043
2043
|
*
|
|
2044
2044
|
* // Fill in the appropriate values
|
|
2045
|
-
* const targetFids =
|
|
2046
2045
|
* const filters =
|
|
2047
2046
|
* const notification =
|
|
2047
|
+
* const targetFids =
|
|
2048
2048
|
*
|
|
2049
|
-
* client.publishFrameNotifications({
|
|
2049
|
+
* client.publishFrameNotifications({filters, notification, targetFids}).then(response => {
|
|
2050
2050
|
* console.log('response:', response);
|
|
2051
2051
|
* });
|
|
2052
2052
|
*
|
|
@@ -2054,9 +2054,9 @@ export declare class NeynarAPIClient {
|
|
|
2054
2054
|
*
|
|
2055
2055
|
*/
|
|
2056
2056
|
publishFrameNotifications(params: {
|
|
2057
|
-
targetFids?: Array<number>;
|
|
2058
2057
|
filters?: SendFrameNotificationsReqBodyFilters;
|
|
2059
2058
|
notification: SendFrameNotificationsReqBodyNotification;
|
|
2059
|
+
targetFids?: Array<number>;
|
|
2060
2060
|
}): Promise<SendFrameNotificationsResponse>;
|
|
2061
2061
|
/**
|
|
2062
2062
|
* Search for mini apps based on a query string
|
|
@@ -2443,38 +2443,38 @@ export declare class NeynarAPIClient {
|
|
|
2443
2443
|
* @summary Deploy fungible
|
|
2444
2444
|
*
|
|
2445
2445
|
* @param {object} params
|
|
2446
|
+
* @param {string} params.name - Name of the token
|
|
2446
2447
|
* @param {string} params.owner - Ethereum address of the one who is creating the token
|
|
2447
2448
|
* @param {string} params.symbol - Symbol/Ticker for the token
|
|
2448
|
-
* @param {
|
|
2449
|
-
* @param {File} params.metadataMedia [optional] - Media file associated with the token. Supported formats are image/jpeg, image/gif and image/png
|
|
2449
|
+
* @param {DeployFungibleFactoryEnum} params.factory [optional] - Factory name - wow -> [wow.xyz](https://wow.xyz) - clanker -> [clanker.world](https://www.clanker.world)
|
|
2450
2450
|
* @param {string} params.metadataDescription [optional] - Description of the token
|
|
2451
|
-
* @param {DeployFungibleMetadataNsfwEnum} params.metadataNsfw [optional] - Indicates if the token is NSFW (Not Safe For Work).
|
|
2452
|
-
* @param {string} params.metadataWebsiteLink [optional] - Website link related to the token
|
|
2453
|
-
* @param {string} params.metadataTwitter [optional] - Twitter profile link
|
|
2454
2451
|
* @param {string} params.metadataDiscord [optional] - Discord server link
|
|
2452
|
+
* @param {File | null} params.metadataMedia [optional] - Media file associated with the token. Supported formats are image/jpeg, image/gif and image/png
|
|
2453
|
+
* @param {DeployFungibleMetadataNsfwEnum} params.metadataNsfw [optional] - Indicates if the token is NSFW (Not Safe For Work).
|
|
2455
2454
|
* @param {string} params.metadataTelegram [optional] - Telegram link
|
|
2455
|
+
* @param {string} params.metadataTwitter [optional] - Twitter profile link
|
|
2456
|
+
* @param {string} params.metadataWebsiteLink [optional] - Website link related to the token
|
|
2456
2457
|
* @param {DeployFungibleNetworkEnum} params.network [optional] - Network/Chain name
|
|
2457
|
-
* @param {DeployFungibleFactoryEnum} params.factory [optional] - Factory name - wow -> [wow.xyz](https://wow.xyz) - clanker -> [clanker.world](https://www.clanker.world)
|
|
2458
2458
|
*
|
|
2459
2459
|
* @returns {Promise<DeployFungibleResponse>} A promise that resolves to a `DeployFungibleResponse` object.
|
|
2460
2460
|
*
|
|
2461
2461
|
* @example
|
|
2462
2462
|
*
|
|
2463
2463
|
* // Fill in the appropriate values
|
|
2464
|
+
* const name =
|
|
2464
2465
|
* const owner =
|
|
2465
2466
|
* const symbol =
|
|
2466
|
-
* const
|
|
2467
|
-
* const metadataMedia =
|
|
2467
|
+
* const factory =
|
|
2468
2468
|
* const metadataDescription =
|
|
2469
|
-
* const metadataNsfw =
|
|
2470
|
-
* const metadataWebsiteLink =
|
|
2471
|
-
* const metadataTwitter =
|
|
2472
2469
|
* const metadataDiscord =
|
|
2470
|
+
* const metadataMedia =
|
|
2471
|
+
* const metadataNsfw =
|
|
2473
2472
|
* const metadataTelegram =
|
|
2473
|
+
* const metadataTwitter =
|
|
2474
|
+
* const metadataWebsiteLink =
|
|
2474
2475
|
* const network =
|
|
2475
|
-
* const factory =
|
|
2476
2476
|
*
|
|
2477
|
-
* client.deployFungible({ owner, symbol,
|
|
2477
|
+
* client.deployFungible({ name, owner, symbol, factory, metadataDescription, metadataDiscord, metadataMedia, metadataNsfw, metadataTelegram, metadataTwitter, metadataWebsiteLink, network }).then(response => {
|
|
2478
2478
|
* console.log('response:', response);
|
|
2479
2479
|
* });
|
|
2480
2480
|
*
|
|
@@ -2482,18 +2482,18 @@ export declare class NeynarAPIClient {
|
|
|
2482
2482
|
*
|
|
2483
2483
|
*/
|
|
2484
2484
|
deployFungible(params: {
|
|
2485
|
+
name: string;
|
|
2485
2486
|
owner: string;
|
|
2486
2487
|
symbol: string;
|
|
2487
|
-
|
|
2488
|
-
metadataMedia?: File;
|
|
2488
|
+
factory?: DeployFungibleFactoryEnum;
|
|
2489
2489
|
metadataDescription?: string;
|
|
2490
|
-
metadataNsfw?: DeployFungibleMetadataNsfwEnum;
|
|
2491
|
-
metadataWebsiteLink?: string;
|
|
2492
|
-
metadataTwitter?: string;
|
|
2493
2490
|
metadataDiscord?: string;
|
|
2491
|
+
metadataMedia?: File | null;
|
|
2492
|
+
metadataNsfw?: DeployFungibleMetadataNsfwEnum;
|
|
2494
2493
|
metadataTelegram?: string;
|
|
2494
|
+
metadataTwitter?: string;
|
|
2495
|
+
metadataWebsiteLink?: string;
|
|
2495
2496
|
network?: DeployFungibleNetworkEnum;
|
|
2496
|
-
factory?: DeployFungibleFactoryEnum;
|
|
2497
2497
|
}): Promise<DeployFungibleResponse>;
|
|
2498
2498
|
/**
|
|
2499
2499
|
* Fetch relevant owners for multiple on chain assets in a single request, up to 10 contract addresses at a time.
|
|
@@ -2795,8 +2795,8 @@ export declare class NeynarAPIClient {
|
|
|
2795
2795
|
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) Pre-registration calls must be idempotent when using idempotency keys. 2) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 3) This should be a unique identifier for each request. 4) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
2796
2796
|
* @param {Array<RegisterUserOnChainReqBodyPreRegistrationCallsInner>} params.preRegistrationCalls [optional]
|
|
2797
2797
|
* @param {RegisterUserOnChainReqBodyRegistration} params.registration
|
|
2798
|
-
* @param {number} params.storageUnits [optional]
|
|
2799
2798
|
* @param {Array<RegisterUserOnChainReqBodySignersInner>} params.signers [optional]
|
|
2799
|
+
* @param {number} params.storageUnits [optional]
|
|
2800
2800
|
*
|
|
2801
2801
|
* @returns {Promise<RegisterUserOnChainResponse>} A promise that resolves to a `RegisterUserOnChainResponse` object.
|
|
2802
2802
|
*
|
|
@@ -2806,10 +2806,10 @@ export declare class NeynarAPIClient {
|
|
|
2806
2806
|
* const idem =
|
|
2807
2807
|
* const preRegistrationCalls =
|
|
2808
2808
|
* const registration =
|
|
2809
|
-
* const storageUnits =
|
|
2810
2809
|
* const signers =
|
|
2810
|
+
* const storageUnits =
|
|
2811
2811
|
*
|
|
2812
|
-
* client.registerAccountOnchain({idem, preRegistrationCalls, registration,
|
|
2812
|
+
* client.registerAccountOnchain({idem, preRegistrationCalls, registration, signers, storageUnits}).then(response => {
|
|
2813
2813
|
* console.log('response:', response);
|
|
2814
2814
|
* });
|
|
2815
2815
|
*
|
|
@@ -2820,8 +2820,8 @@ export declare class NeynarAPIClient {
|
|
|
2820
2820
|
idem?: string;
|
|
2821
2821
|
preRegistrationCalls?: Array<RegisterUserOnChainReqBodyPreRegistrationCallsInner>;
|
|
2822
2822
|
registration: RegisterUserOnChainReqBodyRegistration;
|
|
2823
|
-
storageUnits?: number;
|
|
2824
2823
|
signers?: Array<RegisterUserOnChainReqBodySignersInner>;
|
|
2824
|
+
storageUnits?: number;
|
|
2825
2825
|
}): Promise<RegisterUserOnChainResponse>;
|
|
2826
2826
|
/**
|
|
2827
2827
|
* Send fungibles in bulk to several farcaster users. A funded wallet is to required use this API. React out to us on the Neynar channel on farcaster to get your wallet address.
|
|
@@ -2829,8 +2829,8 @@ export declare class NeynarAPIClient {
|
|
|
2829
2829
|
* @summary Send fungibles
|
|
2830
2830
|
*
|
|
2831
2831
|
* @param {object} params
|
|
2832
|
-
* @param {TransactionSendFungiblesReqBodyNetworkEnum} params.network
|
|
2833
2832
|
* @param {string} params.fungibleContractAddress [optional] - Contract address of the fungible token to send. If not provided, the default is the native token of the network.
|
|
2833
|
+
* @param {TransactionSendFungiblesReqBodyNetworkEnum} params.network
|
|
2834
2834
|
* @param {Array<TransactionSendFungiblesRecipient>} params.recipients
|
|
2835
2835
|
*
|
|
2836
2836
|
* @returns {Promise<TransactionSendFungiblesResponse>} A promise that resolves to a `TransactionSendFungiblesResponse` object.
|
|
@@ -2838,11 +2838,11 @@ export declare class NeynarAPIClient {
|
|
|
2838
2838
|
* @example
|
|
2839
2839
|
*
|
|
2840
2840
|
* // Fill in the appropriate values
|
|
2841
|
-
* const network =
|
|
2842
2841
|
* const fungibleContractAddress =
|
|
2842
|
+
* const network =
|
|
2843
2843
|
* const recipients =
|
|
2844
2844
|
*
|
|
2845
|
-
* client.sendFungiblesToUsers({
|
|
2845
|
+
* client.sendFungiblesToUsers({fungibleContractAddress, network, recipients}).then(response => {
|
|
2846
2846
|
* console.log('response:', response);
|
|
2847
2847
|
* });
|
|
2848
2848
|
*
|
|
@@ -2850,8 +2850,8 @@ export declare class NeynarAPIClient {
|
|
|
2850
2850
|
*
|
|
2851
2851
|
*/
|
|
2852
2852
|
sendFungiblesToUsers(params: {
|
|
2853
|
-
network: TransactionSendFungiblesReqBodyNetworkEnum;
|
|
2854
2853
|
fungibleContractAddress?: string;
|
|
2854
|
+
network: TransactionSendFungiblesReqBodyNetworkEnum;
|
|
2855
2855
|
recipients: Array<TransactionSendFungiblesRecipient>;
|
|
2856
2856
|
}): Promise<TransactionSendFungiblesResponse>;
|
|
2857
2857
|
/**
|
|
@@ -2911,6 +2911,8 @@ export declare class NeynarAPIClient {
|
|
|
2911
2911
|
uploadTokenMetadataRequest: UploadTokenMetadataRequest;
|
|
2912
2912
|
}): Promise<UploadTokenMetadata200Response>;
|
|
2913
2913
|
/**
|
|
2914
|
+
* Retrieves billing and subscription details for the current organization, including plan status, product category, billing email, and effective plan.
|
|
2915
|
+
*
|
|
2914
2916
|
* @summary Get billing information for the current organization
|
|
2915
2917
|
*
|
|
2916
2918
|
*
|
|
@@ -2927,6 +2929,8 @@ export declare class NeynarAPIClient {
|
|
|
2927
2929
|
*/
|
|
2928
2930
|
billing(): Promise<Billing200Response>;
|
|
2929
2931
|
/**
|
|
2932
|
+
* Applies a subscription plan change for the current organization and returns the applied credit, charge amount, and whether the change takes effect immediately.
|
|
2933
|
+
*
|
|
2930
2934
|
* @summary Process subscription upgrade with credit
|
|
2931
2935
|
*
|
|
2932
2936
|
* @param {object} params
|
|
@@ -2950,6 +2954,8 @@ export declare class NeynarAPIClient {
|
|
|
2950
2954
|
upgradeRequest: UpgradeRequest;
|
|
2951
2955
|
}): Promise<Upgrade200Response>;
|
|
2952
2956
|
/**
|
|
2957
|
+
* Calculates the billing impact of changing to a new subscription plan, including available credit, charge amount, and whether the billing date or usage carryover changes.
|
|
2958
|
+
*
|
|
2953
2959
|
* @summary Get upgrade preview with credit calculation
|
|
2954
2960
|
*
|
|
2955
2961
|
* @param {object} params
|
|
@@ -2981,24 +2987,24 @@ export declare class NeynarAPIClient {
|
|
|
2981
2987
|
* @summary Delete reaction
|
|
2982
2988
|
*
|
|
2983
2989
|
* @param {object} params
|
|
2984
|
-
* @param {string} params.
|
|
2990
|
+
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
2985
2991
|
* @param {ReactionType} params.reactionType
|
|
2992
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
2986
2993
|
* @param {string} params.target - Target cast hash (hex string starting with 0x) OR a valid URL.
|
|
2987
2994
|
* @param {number} params.targetAuthorFid [optional] - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2988
|
-
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
2989
2995
|
*
|
|
2990
2996
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
2991
2997
|
*
|
|
2992
2998
|
* @example
|
|
2993
2999
|
*
|
|
2994
3000
|
* // Fill in the appropriate values
|
|
2995
|
-
* const
|
|
3001
|
+
* const idem =
|
|
2996
3002
|
* const reactionType =
|
|
3003
|
+
* const signerUuid =
|
|
2997
3004
|
* const target =
|
|
2998
3005
|
* const targetAuthorFid =
|
|
2999
|
-
* const idem =
|
|
3000
3006
|
*
|
|
3001
|
-
* client.deleteReaction({
|
|
3007
|
+
* client.deleteReaction({idem, reactionType, signerUuid, target, targetAuthorFid}).then(response => {
|
|
3002
3008
|
* console.log('response:', response);
|
|
3003
3009
|
* });
|
|
3004
3010
|
*
|
|
@@ -3006,11 +3012,11 @@ export declare class NeynarAPIClient {
|
|
|
3006
3012
|
*
|
|
3007
3013
|
*/
|
|
3008
3014
|
deleteReaction(params: {
|
|
3009
|
-
|
|
3015
|
+
idem?: string;
|
|
3010
3016
|
reactionType: ReactionType;
|
|
3017
|
+
signerUuid: string;
|
|
3011
3018
|
target: string;
|
|
3012
3019
|
targetAuthorFid?: number;
|
|
3013
|
-
idem?: string;
|
|
3014
3020
|
}): Promise<OperationResponse>;
|
|
3015
3021
|
/**
|
|
3016
3022
|
* Fetches reactions for a given cast
|
|
@@ -3090,24 +3096,24 @@ export declare class NeynarAPIClient {
|
|
|
3090
3096
|
* @summary Post a reaction
|
|
3091
3097
|
*
|
|
3092
3098
|
* @param {object} params
|
|
3093
|
-
* @param {string} params.
|
|
3099
|
+
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
3094
3100
|
* @param {ReactionType} params.reactionType
|
|
3101
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
3095
3102
|
* @param {string} params.target - Target cast hash (hex string starting with 0x) OR a valid URL.
|
|
3096
3103
|
* @param {number} params.targetAuthorFid [optional] - The unique identifier of a farcaster user or app (unsigned integer)
|
|
3097
|
-
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
3098
3104
|
*
|
|
3099
3105
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
3100
3106
|
*
|
|
3101
3107
|
* @example
|
|
3102
3108
|
*
|
|
3103
3109
|
* // Fill in the appropriate values
|
|
3104
|
-
* const
|
|
3110
|
+
* const idem =
|
|
3105
3111
|
* const reactionType =
|
|
3112
|
+
* const signerUuid =
|
|
3106
3113
|
* const target =
|
|
3107
3114
|
* const targetAuthorFid =
|
|
3108
|
-
* const idem =
|
|
3109
3115
|
*
|
|
3110
|
-
* client.publishReaction({
|
|
3116
|
+
* client.publishReaction({idem, reactionType, signerUuid, target, targetAuthorFid}).then(response => {
|
|
3111
3117
|
* console.log('response:', response);
|
|
3112
3118
|
* });
|
|
3113
3119
|
*
|
|
@@ -3115,11 +3121,11 @@ export declare class NeynarAPIClient {
|
|
|
3115
3121
|
*
|
|
3116
3122
|
*/
|
|
3117
3123
|
publishReaction(params: {
|
|
3118
|
-
|
|
3124
|
+
idem?: string;
|
|
3119
3125
|
reactionType: ReactionType;
|
|
3126
|
+
signerUuid: string;
|
|
3120
3127
|
target: string;
|
|
3121
3128
|
targetAuthorFid?: number;
|
|
3122
|
-
idem?: string;
|
|
3123
3129
|
}): Promise<OperationResponse>;
|
|
3124
3130
|
/**
|
|
3125
3131
|
* Creates a signer and returns the signer status. **Note**: While tesing please reuse the signer, it costs money to approve a signer.
|
|
@@ -3276,11 +3282,11 @@ export declare class NeynarAPIClient {
|
|
|
3276
3282
|
* @summary Register Signed Key
|
|
3277
3283
|
*
|
|
3278
3284
|
* @param {object} params
|
|
3279
|
-
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
3280
|
-
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer\'s public key
|
|
3281
3285
|
* @param {number} params.appFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
3282
3286
|
* @param {number} params.deadline - unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)
|
|
3283
3287
|
* @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
|
|
3288
|
+
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer\'s public key
|
|
3289
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
3284
3290
|
* @param {SignedKeyRequestSponsor} params.sponsor [optional]
|
|
3285
3291
|
*
|
|
3286
3292
|
* @returns {Promise<Signer>} A promise that resolves to a `Signer` object.
|
|
@@ -3288,14 +3294,14 @@ export declare class NeynarAPIClient {
|
|
|
3288
3294
|
* @example
|
|
3289
3295
|
*
|
|
3290
3296
|
* // Fill in the appropriate values
|
|
3291
|
-
* const signerUuid =
|
|
3292
|
-
* const signature =
|
|
3293
3297
|
* const appFid =
|
|
3294
3298
|
* const deadline =
|
|
3295
3299
|
* const redirectUrl =
|
|
3300
|
+
* const signature =
|
|
3301
|
+
* const signerUuid =
|
|
3296
3302
|
* const sponsor =
|
|
3297
3303
|
*
|
|
3298
|
-
* client.registerSignedKey({
|
|
3304
|
+
* client.registerSignedKey({appFid, deadline, redirectUrl, signature, signerUuid, sponsor}).then(response => {
|
|
3299
3305
|
* console.log('response:', response);
|
|
3300
3306
|
* });
|
|
3301
3307
|
*
|
|
@@ -3303,11 +3309,11 @@ export declare class NeynarAPIClient {
|
|
|
3303
3309
|
*
|
|
3304
3310
|
*/
|
|
3305
3311
|
registerSignedKey(params: {
|
|
3306
|
-
signerUuid: string;
|
|
3307
|
-
signature: string;
|
|
3308
3312
|
appFid: number;
|
|
3309
3313
|
deadline: number;
|
|
3310
3314
|
redirectUrl?: string;
|
|
3315
|
+
signature: string;
|
|
3316
|
+
signerUuid: string;
|
|
3311
3317
|
sponsor?: SignedKeyRequestSponsor;
|
|
3312
3318
|
}): Promise<Signer>;
|
|
3313
3319
|
/**
|
|
@@ -3316,11 +3322,11 @@ export declare class NeynarAPIClient {
|
|
|
3316
3322
|
* @summary Register Signed Key
|
|
3317
3323
|
*
|
|
3318
3324
|
* @param {object} params
|
|
3319
|
-
* @param {string} params.publicKey - Ed25519 public key
|
|
3320
|
-
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer\'s public key
|
|
3321
3325
|
* @param {number} params.appFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
3322
3326
|
* @param {number} params.deadline - unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)
|
|
3327
|
+
* @param {string} params.publicKey - Ed25519 public key
|
|
3323
3328
|
* @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
|
|
3329
|
+
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer\'s public key
|
|
3324
3330
|
* @param {SignedKeyRequestSponsor} params.sponsor [optional]
|
|
3325
3331
|
*
|
|
3326
3332
|
* @returns {Promise<DeveloperManagedSigner>} A promise that resolves to a `DeveloperManagedSigner` object.
|
|
@@ -3328,14 +3334,14 @@ export declare class NeynarAPIClient {
|
|
|
3328
3334
|
* @example
|
|
3329
3335
|
*
|
|
3330
3336
|
* // Fill in the appropriate values
|
|
3331
|
-
* const publicKey =
|
|
3332
|
-
* const signature =
|
|
3333
3337
|
* const appFid =
|
|
3334
3338
|
* const deadline =
|
|
3339
|
+
* const publicKey =
|
|
3335
3340
|
* const redirectUrl =
|
|
3341
|
+
* const signature =
|
|
3336
3342
|
* const sponsor =
|
|
3337
3343
|
*
|
|
3338
|
-
* client.registerSignedKeyForDeveloperManagedSigner({
|
|
3344
|
+
* client.registerSignedKeyForDeveloperManagedSigner({appFid, deadline, publicKey, redirectUrl, signature, sponsor}).then(response => {
|
|
3339
3345
|
* console.log('response:', response);
|
|
3340
3346
|
* });
|
|
3341
3347
|
*
|
|
@@ -3343,11 +3349,11 @@ export declare class NeynarAPIClient {
|
|
|
3343
3349
|
*
|
|
3344
3350
|
*/
|
|
3345
3351
|
registerSignedKeyForDeveloperManagedSigner(params: {
|
|
3346
|
-
publicKey: string;
|
|
3347
|
-
signature: string;
|
|
3348
3352
|
appFid: number;
|
|
3349
3353
|
deadline: number;
|
|
3354
|
+
publicKey: string;
|
|
3350
3355
|
redirectUrl?: string;
|
|
3356
|
+
signature: string;
|
|
3351
3357
|
sponsor?: SignedKeyRequestSponsor;
|
|
3352
3358
|
}): Promise<DeveloperManagedSigner>;
|
|
3353
3359
|
/**
|
|
@@ -3357,8 +3363,8 @@ export declare class NeynarAPIClient {
|
|
|
3357
3363
|
*
|
|
3358
3364
|
* @param {object} params
|
|
3359
3365
|
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
3360
|
-
* @param {number} params.units [optional] - Number of storage units to buy. A storage unit lets you store 5000 casts, 2500 reactions and 2500 links.
|
|
3361
3366
|
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
3367
|
+
* @param {number} params.units [optional] - Number of storage units to buy. A storage unit lets you store 5000 casts, 2500 reactions and 2500 links.
|
|
3362
3368
|
*
|
|
3363
3369
|
* @returns {Promise<StorageAllocationsResponse>} A promise that resolves to a `StorageAllocationsResponse` object.
|
|
3364
3370
|
*
|
|
@@ -3366,10 +3372,10 @@ export declare class NeynarAPIClient {
|
|
|
3366
3372
|
*
|
|
3367
3373
|
* // Fill in the appropriate values
|
|
3368
3374
|
* const fid =
|
|
3369
|
-
* const units =
|
|
3370
3375
|
* const idem =
|
|
3376
|
+
* const units =
|
|
3371
3377
|
*
|
|
3372
|
-
* client.buyStorage({fid,
|
|
3378
|
+
* client.buyStorage({fid, idem, units}).then(response => {
|
|
3373
3379
|
* console.log('response:', response);
|
|
3374
3380
|
* });
|
|
3375
3381
|
*
|
|
@@ -3378,8 +3384,8 @@ export declare class NeynarAPIClient {
|
|
|
3378
3384
|
*/
|
|
3379
3385
|
buyStorage(params: {
|
|
3380
3386
|
fid: number;
|
|
3381
|
-
units?: number;
|
|
3382
3387
|
idem?: string;
|
|
3388
|
+
units?: number;
|
|
3383
3389
|
}): Promise<StorageAllocationsResponse>;
|
|
3384
3390
|
/**
|
|
3385
3391
|
* Fetches storage allocations for a given user
|
|
@@ -4681,22 +4687,22 @@ export declare class NeynarAPIClient {
|
|
|
4681
4687
|
* @summary Delete verification
|
|
4682
4688
|
*
|
|
4683
4689
|
* @param {object} params
|
|
4684
|
-
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
4685
4690
|
* @param {string} params.address - Ethereum address
|
|
4686
4691
|
* @param {string} params.blockHash
|
|
4687
4692
|
* @param {string} params.ethSignature
|
|
4693
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
4688
4694
|
*
|
|
4689
4695
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
4690
4696
|
*
|
|
4691
4697
|
* @example
|
|
4692
4698
|
*
|
|
4693
4699
|
* // Fill in the appropriate values
|
|
4694
|
-
* const signerUuid =
|
|
4695
4700
|
* const address =
|
|
4696
4701
|
* const blockHash =
|
|
4697
4702
|
* const ethSignature =
|
|
4703
|
+
* const signerUuid =
|
|
4698
4704
|
*
|
|
4699
|
-
* client.deleteVerification({
|
|
4705
|
+
* client.deleteVerification({address, blockHash, ethSignature, signerUuid}).then(response => {
|
|
4700
4706
|
* console.log('response:', response);
|
|
4701
4707
|
* });
|
|
4702
4708
|
*
|
|
@@ -4704,10 +4710,10 @@ export declare class NeynarAPIClient {
|
|
|
4704
4710
|
*
|
|
4705
4711
|
*/
|
|
4706
4712
|
deleteVerification(params: {
|
|
4707
|
-
signerUuid: string;
|
|
4708
4713
|
address: string;
|
|
4709
4714
|
blockHash: string;
|
|
4710
4715
|
ethSignature: string;
|
|
4716
|
+
signerUuid: string;
|
|
4711
4717
|
}): Promise<OperationResponse>;
|
|
4712
4718
|
/**
|
|
4713
4719
|
* Fetches information about multiple users based on FIDs
|
|
@@ -4995,26 +5001,26 @@ export declare class NeynarAPIClient {
|
|
|
4995
5001
|
* @summary Add verification
|
|
4996
5002
|
*
|
|
4997
5003
|
* @param {object} params
|
|
4998
|
-
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
4999
5004
|
* @param {string} params.address - Ethereum address
|
|
5000
5005
|
* @param {string} params.blockHash
|
|
5006
|
+
* @param {VerificationChainId} params.chainId [optional]
|
|
5001
5007
|
* @param {string} params.ethSignature
|
|
5008
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
5002
5009
|
* @param {VerificationType} params.verificationType [optional]
|
|
5003
|
-
* @param {VerificationChainId} params.chainId [optional]
|
|
5004
5010
|
*
|
|
5005
5011
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
5006
5012
|
*
|
|
5007
5013
|
* @example
|
|
5008
5014
|
*
|
|
5009
5015
|
* // Fill in the appropriate values
|
|
5010
|
-
* const signerUuid =
|
|
5011
5016
|
* const address =
|
|
5012
5017
|
* const blockHash =
|
|
5018
|
+
* const chainId =
|
|
5013
5019
|
* const ethSignature =
|
|
5020
|
+
* const signerUuid =
|
|
5014
5021
|
* const verificationType =
|
|
5015
|
-
* const chainId =
|
|
5016
5022
|
*
|
|
5017
|
-
* client.publishVerification({
|
|
5023
|
+
* client.publishVerification({address, blockHash, chainId, ethSignature, signerUuid, verificationType}).then(response => {
|
|
5018
5024
|
* console.log('response:', response);
|
|
5019
5025
|
* });
|
|
5020
5026
|
*
|
|
@@ -5022,12 +5028,12 @@ export declare class NeynarAPIClient {
|
|
|
5022
5028
|
*
|
|
5023
5029
|
*/
|
|
5024
5030
|
publishVerification(params: {
|
|
5025
|
-
signerUuid: string;
|
|
5026
5031
|
address: string;
|
|
5027
5032
|
blockHash: string;
|
|
5033
|
+
chainId?: VerificationChainId;
|
|
5028
5034
|
ethSignature: string;
|
|
5035
|
+
signerUuid: string;
|
|
5029
5036
|
verificationType?: VerificationType;
|
|
5030
|
-
chainId?: VerificationChainId;
|
|
5031
5037
|
}): Promise<OperationResponse>;
|
|
5032
5038
|
/**
|
|
5033
5039
|
* Register account on farcaster. Optionally provide x-wallet-id header to use your own wallet. **Note:** This API must be called within 10 minutes of the fetch FID API call (i.e., /v2/farcaster/user/fid). Otherwise, Neynar will assign this FID to another available user.
|
|
@@ -5035,28 +5041,28 @@ export declare class NeynarAPIClient {
|
|
|
5035
5041
|
* @summary Register new account
|
|
5036
5042
|
*
|
|
5037
5043
|
* @param {object} params
|
|
5038
|
-
* @param {RegisterUserReqBodySigner} params.signer [optional]
|
|
5039
|
-
* @param {string} params.signature
|
|
5040
|
-
* @param {number} params.fid
|
|
5041
|
-
* @param {string} params.requestedUserCustodyAddress
|
|
5042
5044
|
* @param {number} params.deadline
|
|
5045
|
+
* @param {number} params.fid
|
|
5043
5046
|
* @param {string} params.fname [optional]
|
|
5044
5047
|
* @param {RegisterUserReqBodyMetadata} params.metadata [optional]
|
|
5048
|
+
* @param {string} params.requestedUserCustodyAddress
|
|
5049
|
+
* @param {string} params.signature
|
|
5050
|
+
* @param {RegisterUserReqBodySigner} params.signer [optional]
|
|
5045
5051
|
*
|
|
5046
5052
|
* @returns {Promise<RegisterUserResponse>} A promise that resolves to a `RegisterUserResponse` object.
|
|
5047
5053
|
*
|
|
5048
5054
|
* @example
|
|
5049
5055
|
*
|
|
5050
5056
|
* // Fill in the appropriate values
|
|
5051
|
-
* const signer =
|
|
5052
|
-
* const signature =
|
|
5053
|
-
* const fid =
|
|
5054
|
-
* const requestedUserCustodyAddress =
|
|
5055
5057
|
* const deadline =
|
|
5058
|
+
* const fid =
|
|
5056
5059
|
* const fname =
|
|
5057
5060
|
* const metadata =
|
|
5061
|
+
* const requestedUserCustodyAddress =
|
|
5062
|
+
* const signature =
|
|
5063
|
+
* const signer =
|
|
5058
5064
|
*
|
|
5059
|
-
* client.registerAccount({
|
|
5065
|
+
* client.registerAccount({deadline, fid, fname, metadata, requestedUserCustodyAddress, signature, signer}).then(response => {
|
|
5060
5066
|
* console.log('response:', response);
|
|
5061
5067
|
* });
|
|
5062
5068
|
*
|
|
@@ -5064,13 +5070,13 @@ export declare class NeynarAPIClient {
|
|
|
5064
5070
|
*
|
|
5065
5071
|
*/
|
|
5066
5072
|
registerAccount(params: {
|
|
5067
|
-
signer?: RegisterUserReqBodySigner;
|
|
5068
|
-
signature: string;
|
|
5069
|
-
fid: number;
|
|
5070
|
-
requestedUserCustodyAddress: string;
|
|
5071
5073
|
deadline: number;
|
|
5074
|
+
fid: number;
|
|
5072
5075
|
fname?: string;
|
|
5073
5076
|
metadata?: RegisterUserReqBodyMetadata;
|
|
5077
|
+
requestedUserCustodyAddress: string;
|
|
5078
|
+
signature: string;
|
|
5079
|
+
signer?: RegisterUserReqBodySigner;
|
|
5074
5080
|
}): Promise<RegisterUserResponse>;
|
|
5075
5081
|
/**
|
|
5076
5082
|
* Search for Usernames
|
|
@@ -5139,36 +5145,36 @@ export declare class NeynarAPIClient {
|
|
|
5139
5145
|
* @summary Update user profile
|
|
5140
5146
|
*
|
|
5141
5147
|
* @param {object} params
|
|
5142
|
-
* @param {string} params.
|
|
5148
|
+
* @param {string} params.banner [optional] - Requires pro subscription.
|
|
5143
5149
|
* @param {string} params.bio [optional]
|
|
5144
|
-
* @param {string} params.pfpUrl [optional]
|
|
5145
|
-
* @param {string} params.url [optional]
|
|
5146
|
-
* @param {string} params.username [optional]
|
|
5147
5150
|
* @param {string} params.displayName [optional]
|
|
5148
|
-
* @param {
|
|
5149
|
-
* @param {string} params.
|
|
5151
|
+
* @param {RegisterUserReqBodyMetadataLocation} params.location [optional]
|
|
5152
|
+
* @param {string} params.pfpUrl [optional]
|
|
5150
5153
|
* @param {string} params.primaryEthAddress [optional] - Must be one of the verified addresses.
|
|
5151
5154
|
* @param {string} params.primarySolAddress [optional] - Must be one of the verified addresses.
|
|
5152
|
-
* @param {
|
|
5155
|
+
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
5156
|
+
* @param {string} params.url [optional]
|
|
5157
|
+
* @param {string} params.username [optional]
|
|
5158
|
+
* @param {RegisterUserReqBodyMetadataVerifiedAccounts} params.verifiedAccounts [optional]
|
|
5153
5159
|
*
|
|
5154
5160
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
5155
5161
|
*
|
|
5156
5162
|
* @example
|
|
5157
5163
|
*
|
|
5158
5164
|
* // Fill in the appropriate values
|
|
5159
|
-
* const
|
|
5165
|
+
* const banner =
|
|
5160
5166
|
* const bio =
|
|
5161
|
-
* const pfpUrl =
|
|
5162
|
-
* const url =
|
|
5163
|
-
* const username =
|
|
5164
5167
|
* const displayName =
|
|
5165
5168
|
* const location =
|
|
5166
|
-
* const
|
|
5169
|
+
* const pfpUrl =
|
|
5167
5170
|
* const primaryEthAddress =
|
|
5168
5171
|
* const primarySolAddress =
|
|
5172
|
+
* const signerUuid =
|
|
5173
|
+
* const url =
|
|
5174
|
+
* const username =
|
|
5169
5175
|
* const verifiedAccounts =
|
|
5170
5176
|
*
|
|
5171
|
-
* client.updateUser({
|
|
5177
|
+
* client.updateUser({banner, bio, displayName, location, pfpUrl, primaryEthAddress, primarySolAddress, signerUuid, url, username, verifiedAccounts}).then(response => {
|
|
5172
5178
|
* console.log('response:', response);
|
|
5173
5179
|
* });
|
|
5174
5180
|
*
|
|
@@ -5176,17 +5182,17 @@ export declare class NeynarAPIClient {
|
|
|
5176
5182
|
*
|
|
5177
5183
|
*/
|
|
5178
5184
|
updateUser(params: {
|
|
5179
|
-
|
|
5185
|
+
banner?: string;
|
|
5180
5186
|
bio?: string;
|
|
5181
|
-
pfpUrl?: string;
|
|
5182
|
-
url?: string;
|
|
5183
|
-
username?: string;
|
|
5184
5187
|
displayName?: string;
|
|
5185
|
-
location?:
|
|
5186
|
-
|
|
5188
|
+
location?: RegisterUserReqBodyMetadataLocation;
|
|
5189
|
+
pfpUrl?: string;
|
|
5187
5190
|
primaryEthAddress?: string;
|
|
5188
5191
|
primarySolAddress?: string;
|
|
5189
|
-
|
|
5192
|
+
signerUuid: string;
|
|
5193
|
+
url?: string;
|
|
5194
|
+
username?: string;
|
|
5195
|
+
verifiedAccounts?: RegisterUserReqBodyMetadataVerifiedAccounts;
|
|
5190
5196
|
}): Promise<OperationResponse>;
|
|
5191
5197
|
/**
|
|
5192
5198
|
* Delete a webhook
|
|
@@ -5263,8 +5269,8 @@ export declare class NeynarAPIClient {
|
|
|
5263
5269
|
*
|
|
5264
5270
|
* @param {object} params
|
|
5265
5271
|
* @param {string} params.name
|
|
5266
|
-
* @param {string} params.url
|
|
5267
5272
|
* @param {WebhookSubscriptionFilters} params.subscription [optional]
|
|
5273
|
+
* @param {string} params.url
|
|
5268
5274
|
*
|
|
5269
5275
|
* @returns {Promise<WebhookResponse>} A promise that resolves to a `WebhookResponse` object.
|
|
5270
5276
|
*
|
|
@@ -5272,10 +5278,10 @@ export declare class NeynarAPIClient {
|
|
|
5272
5278
|
*
|
|
5273
5279
|
* // Fill in the appropriate values
|
|
5274
5280
|
* const name =
|
|
5275
|
-
* const url =
|
|
5276
5281
|
* const subscription =
|
|
5282
|
+
* const url =
|
|
5277
5283
|
*
|
|
5278
|
-
* client.publishWebhook({name,
|
|
5284
|
+
* client.publishWebhook({name, subscription, url}).then(response => {
|
|
5279
5285
|
* console.log('response:', response);
|
|
5280
5286
|
* });
|
|
5281
5287
|
*
|
|
@@ -5284,8 +5290,8 @@ export declare class NeynarAPIClient {
|
|
|
5284
5290
|
*/
|
|
5285
5291
|
publishWebhook(params: {
|
|
5286
5292
|
name: string;
|
|
5287
|
-
url: string;
|
|
5288
5293
|
subscription?: WebhookSubscriptionFilters;
|
|
5294
|
+
url: string;
|
|
5289
5295
|
}): Promise<WebhookResponse>;
|
|
5290
5296
|
/**
|
|
5291
5297
|
* Update a webhook
|
|
@@ -5294,8 +5300,8 @@ export declare class NeynarAPIClient {
|
|
|
5294
5300
|
*
|
|
5295
5301
|
* @param {object} params
|
|
5296
5302
|
* @param {string} params.name
|
|
5297
|
-
* @param {string} params.url
|
|
5298
5303
|
* @param {WebhookSubscriptionFilters} params.subscription [optional]
|
|
5304
|
+
* @param {string} params.url
|
|
5299
5305
|
* @param {string} params.webhookId
|
|
5300
5306
|
*
|
|
5301
5307
|
* @returns {Promise<WebhookResponse>} A promise that resolves to a `WebhookResponse` object.
|
|
@@ -5304,11 +5310,11 @@ export declare class NeynarAPIClient {
|
|
|
5304
5310
|
*
|
|
5305
5311
|
* // Fill in the appropriate values
|
|
5306
5312
|
* const name =
|
|
5307
|
-
* const url =
|
|
5308
5313
|
* const subscription =
|
|
5314
|
+
* const url =
|
|
5309
5315
|
* const webhookId =
|
|
5310
5316
|
*
|
|
5311
|
-
* client.updateWebhook({name,
|
|
5317
|
+
* client.updateWebhook({name, subscription, url, webhookId}).then(response => {
|
|
5312
5318
|
* console.log('response:', response);
|
|
5313
5319
|
* });
|
|
5314
5320
|
*
|
|
@@ -5317,8 +5323,8 @@ export declare class NeynarAPIClient {
|
|
|
5317
5323
|
*/
|
|
5318
5324
|
updateWebhook(params: {
|
|
5319
5325
|
name: string;
|
|
5320
|
-
url: string;
|
|
5321
5326
|
subscription?: WebhookSubscriptionFilters;
|
|
5327
|
+
url: string;
|
|
5322
5328
|
webhookId: string;
|
|
5323
5329
|
}): Promise<WebhookResponse>;
|
|
5324
5330
|
/**
|
|
@@ -5327,18 +5333,18 @@ export declare class NeynarAPIClient {
|
|
|
5327
5333
|
* @summary Update webhook status
|
|
5328
5334
|
*
|
|
5329
5335
|
* @param {object} params
|
|
5330
|
-
* @param {string} params.webhookId
|
|
5331
5336
|
* @param {WebhookPatchReqBodyActiveEnum} params.active
|
|
5337
|
+
* @param {string} params.webhookId
|
|
5332
5338
|
*
|
|
5333
5339
|
* @returns {Promise<WebhookResponse>} A promise that resolves to a `WebhookResponse` object.
|
|
5334
5340
|
*
|
|
5335
5341
|
* @example
|
|
5336
5342
|
*
|
|
5337
5343
|
* // Fill in the appropriate values
|
|
5338
|
-
* const webhookId =
|
|
5339
5344
|
* const active =
|
|
5345
|
+
* const webhookId =
|
|
5340
5346
|
*
|
|
5341
|
-
* client.updateWebhookActiveStatus({
|
|
5347
|
+
* client.updateWebhookActiveStatus({active, webhookId}).then(response => {
|
|
5342
5348
|
* console.log('response:', response);
|
|
5343
5349
|
* });
|
|
5344
5350
|
*
|
|
@@ -5346,8 +5352,8 @@ export declare class NeynarAPIClient {
|
|
|
5346
5352
|
*
|
|
5347
5353
|
*/
|
|
5348
5354
|
updateWebhookActiveStatus(params: {
|
|
5349
|
-
webhookId: string;
|
|
5350
5355
|
active: WebhookPatchReqBodyActiveEnum;
|
|
5356
|
+
webhookId: string;
|
|
5351
5357
|
}): Promise<WebhookResponse>;
|
|
5352
5358
|
/**
|
|
5353
5359
|
* Creates a signer and registers a signed key for the signer.
|