@neynar/nodejs-sdk 2.46.0 → 3.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/api.d.ts +4 -3
- package/build/api/api.js +4 -3
- package/build/api/apis/action-api.d.ts +8 -8
- package/build/api/apis/action-api.js +8 -8
- package/build/api/apis/agents-api.d.ts +51 -20
- package/build/api/apis/agents-api.js +49 -22
- package/build/api/apis/app-host-api.d.ts +71 -32
- package/build/api/apis/app-host-api.js +64 -31
- package/build/api/apis/auth-address-api.d.ts +205 -0
- package/build/api/apis/auth-address-api.js +230 -0
- package/build/api/apis/ban-api.d.ts +16 -16
- package/build/api/apis/ban-api.js +13 -13
- package/build/api/apis/block-api.d.ts +16 -16
- package/build/api/apis/block-api.js +13 -13
- package/build/api/apis/cast-api.d.ts +272 -103
- package/build/api/apis/cast-api.js +223 -68
- package/build/api/apis/channel-api.d.ts +57 -42
- package/build/api/apis/channel-api.js +53 -39
- package/build/api/apis/feed-api.d.ts +225 -181
- package/build/api/apis/feed-api.js +160 -112
- package/build/api/apis/fname-api.d.ts +3 -3
- package/build/api/apis/fname-api.js +4 -4
- package/build/api/apis/follows-api.d.ts +72 -57
- package/build/api/apis/follows-api.js +51 -37
- package/build/api/apis/frame-api.d.ts +144 -61
- package/build/api/apis/frame-api.js +127 -51
- package/build/api/apis/login-api.d.ts +3 -3
- package/build/api/apis/login-api.js +4 -4
- package/build/api/apis/metrics-api.d.ts +16 -16
- package/build/api/apis/metrics-api.js +11 -11
- package/build/api/apis/mute-api.d.ts +16 -16
- package/build/api/apis/mute-api.js +13 -13
- package/build/api/apis/notifications-api.d.ts +43 -32
- package/build/api/apis/notifications-api.js +58 -41
- package/build/api/apis/onchain-api.d.ts +265 -45
- package/build/api/apis/onchain-api.js +253 -38
- package/build/api/apis/reaction-api.d.ts +46 -29
- package/build/api/apis/reaction-api.js +39 -23
- package/build/api/apis/signer-api.d.ts +30 -24
- package/build/api/apis/signer-api.js +30 -24
- package/build/api/apis/storage-api.d.ts +9 -9
- package/build/api/apis/storage-api.js +10 -10
- package/build/api/apis/subscribers-api.d.ts +55 -35
- package/build/api/apis/subscribers-api.js +39 -20
- package/build/api/apis/user-api.d.ts +223 -305
- package/build/api/apis/user-api.js +192 -274
- package/build/api/apis/webhook-api.d.ts +3 -3
- package/build/api/apis/webhook-api.js +9 -9
- package/build/api/base.d.ts +3 -3
- package/build/api/base.js +4 -4
- package/build/api/common.d.ts +3 -3
- package/build/api/common.js +3 -3
- package/build/api/configuration.d.ts +3 -3
- package/build/api/configuration.js +3 -3
- package/build/api/index.d.ts +3 -3
- package/build/api/index.js +3 -3
- package/build/api/models/add-verification-req-body.d.ts +3 -3
- package/build/api/models/add-verification-req-body.js +3 -3
- package/build/api/models/address-balance-verified-address.d.ts +3 -3
- package/build/api/models/address-balance-verified-address.js +3 -3
- package/build/api/models/address-balance.d.ts +3 -3
- package/build/api/models/address-balance.js +3 -3
- package/build/api/models/app-host-event-type.d.ts +3 -3
- package/build/api/models/app-host-event-type.js +3 -3
- package/build/api/models/app-host-get-event-response-notification-details.d.ts +3 -3
- package/build/api/models/app-host-get-event-response-notification-details.js +3 -3
- package/build/api/models/app-host-get-event-response.d.ts +3 -3
- package/build/api/models/app-host-get-event-response.js +3 -3
- package/build/api/models/app-host-post-event-req-body-one-of-signed-message-one-of.d.ts +36 -0
- package/build/api/models/{app-host-post-event-body.js → app-host-post-event-req-body-one-of-signed-message-one-of.js} +3 -3
- package/build/api/models/app-host-post-event-req-body-one-of-signed-message.d.ts +18 -0
- package/build/api/models/{app-host-post-event-body-one-of.js → app-host-post-event-req-body-one-of-signed-message.js} +3 -3
- package/build/api/models/app-host-post-event-req-body-one-of.d.ts +31 -0
- package/build/api/models/{cast-with-interactions-all-of.js → app-host-post-event-req-body-one-of.js} +3 -3
- package/build/api/models/{app-host-post-event-body-one-of1.d.ts → app-host-post-event-req-body-one-of1.d.ts} +9 -9
- package/build/api/models/{app-host-post-event-body-one-of1.js → app-host-post-event-req-body-one-of1.js} +3 -3
- package/build/api/models/app-host-post-event-req-body.d.ts +19 -0
- package/build/api/models/app-host-post-event-req-body.js +15 -0
- package/build/api/models/app-host-post-event-response.d.ts +3 -3
- package/build/api/models/app-host-post-event-response.js +3 -3
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +3 -3
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.js +3 -3
- package/build/api/models/app-host-user-state-response.d.ts +3 -3
- package/build/api/models/app-host-user-state-response.js +3 -3
- package/build/api/models/authorization-url-response.d.ts +3 -3
- package/build/api/models/authorization-url-response.js +3 -3
- package/build/api/models/balance-response-user-balance.d.ts +3 -3
- package/build/api/models/balance-response-user-balance.js +3 -3
- package/build/api/models/balance-response.d.ts +3 -3
- package/build/api/models/balance-response.js +3 -3
- package/build/api/models/ban-list-response.d.ts +3 -3
- package/build/api/models/ban-list-response.js +3 -3
- package/build/api/models/ban-record.d.ts +3 -3
- package/build/api/models/ban-record.js +3 -3
- package/build/api/models/ban-req-body.d.ts +3 -3
- package/build/api/models/ban-req-body.js +3 -3
- package/build/api/models/ban-response.d.ts +3 -3
- package/build/api/models/ban-response.js +3 -3
- package/build/api/models/best-friends-response-users-inner.d.ts +36 -0
- package/build/api/models/best-friends-response-users-inner.js +15 -0
- package/build/api/models/best-friends-response.d.ts +32 -0
- package/build/api/models/best-friends-response.js +15 -0
- package/build/api/models/block-list-response.d.ts +3 -3
- package/build/api/models/block-list-response.js +3 -3
- package/build/api/models/block-record.d.ts +3 -3
- package/build/api/models/block-record.js +3 -3
- package/build/api/models/block-req-body.d.ts +3 -3
- package/build/api/models/block-req-body.js +3 -3
- package/build/api/models/bulk-casts-response.d.ts +6 -6
- package/build/api/models/bulk-casts-response.js +3 -3
- package/build/api/models/bulk-follow-response.d.ts +3 -3
- package/build/api/models/bulk-follow-response.js +3 -3
- package/build/api/models/bulk-users-by-address-response.d.ts +3 -3
- package/build/api/models/bulk-users-by-address-response.js +3 -3
- package/build/api/models/bulk-users-response.d.ts +3 -3
- package/build/api/models/bulk-users-response.js +3 -3
- package/build/api/models/buy-storage-req-body.d.ts +3 -3
- package/build/api/models/buy-storage-req-body.js +3 -3
- package/build/api/models/cast-and-conversations-ref.d.ts +179 -0
- package/build/api/models/cast-and-conversations-ref.js +19 -0
- package/build/api/models/cast-and-conversations.d.ts +180 -0
- package/build/api/models/cast-and-conversations.js +19 -0
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.d.ts +3 -3
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.js +3 -3
- package/build/api/models/cast-composer-actions-list-response-actions-inner.d.ts +3 -3
- package/build/api/models/cast-composer-actions-list-response-actions-inner.js +3 -3
- package/build/api/models/cast-composer-actions-list-response.d.ts +3 -3
- package/build/api/models/cast-composer-actions-list-response.js +3 -3
- package/build/api/models/cast-dehydrated.d.ts +3 -3
- package/build/api/models/cast-dehydrated.js +3 -3
- package/build/api/models/cast-embed-crawl-response.d.ts +3 -3
- package/build/api/models/cast-embed-crawl-response.js +3 -3
- package/build/api/models/cast-embedded-parent-author.d.ts +3 -3
- package/build/api/models/cast-embedded-parent-author.js +3 -3
- package/build/api/models/cast-embedded.d.ts +3 -10
- package/build/api/models/cast-embedded.js +3 -3
- package/build/api/models/cast-id.d.ts +3 -3
- package/build/api/models/cast-id.js +3 -3
- package/build/api/models/cast-notification-type.d.ts +3 -3
- package/build/api/models/cast-notification-type.js +3 -3
- package/build/api/models/{cast-with-interactions-reactions.d.ts → cast-reactions.d.ts} +9 -9
- package/build/api/models/cast-reactions.js +15 -0
- package/build/api/models/cast-replies.d.ts +24 -0
- package/build/api/models/cast-replies.js +15 -0
- package/build/api/models/cast-response.d.ts +6 -6
- package/build/api/models/cast-response.js +3 -3
- package/build/api/models/cast-viewer-context.d.ts +3 -3
- package/build/api/models/cast-viewer-context.js +3 -3
- package/build/api/models/cast.d.ts +77 -3
- package/build/api/models/cast.js +3 -3
- package/build/api/models/casts-metrics-response.d.ts +3 -3
- package/build/api/models/casts-metrics-response.js +3 -3
- package/build/api/models/casts-metrics.d.ts +3 -3
- package/build/api/models/casts-metrics.js +3 -3
- package/build/api/models/casts-response-result.d.ts +6 -6
- package/build/api/models/casts-response-result.js +3 -3
- package/build/api/models/casts-response.d.ts +3 -3
- package/build/api/models/casts-response.js +3 -3
- package/build/api/models/casts-search-response.d.ts +6 -6
- package/build/api/models/casts-search-response.js +3 -3
- package/build/api/models/channel-activity.d.ts +3 -3
- package/build/api/models/channel-activity.js +3 -3
- package/build/api/models/channel-dehydrated.d.ts +3 -3
- package/build/api/models/channel-dehydrated.js +3 -3
- package/build/api/models/channel-external-link.d.ts +3 -3
- package/build/api/models/channel-external-link.js +3 -3
- package/build/api/models/channel-follow-req-body.d.ts +3 -3
- package/build/api/models/channel-follow-req-body.js +3 -3
- package/build/api/models/channel-list-response.d.ts +3 -3
- package/build/api/models/channel-list-response.js +3 -3
- package/build/api/models/channel-member-channel.d.ts +3 -3
- package/build/api/models/channel-member-channel.js +3 -3
- package/build/api/models/channel-member-invite-list-response.d.ts +3 -3
- package/build/api/models/channel-member-invite-list-response.js +3 -3
- package/build/api/models/channel-member-invite.d.ts +3 -3
- package/build/api/models/channel-member-invite.js +3 -3
- package/build/api/models/channel-member-list-response.d.ts +3 -3
- package/build/api/models/channel-member-list-response.js +3 -3
- package/build/api/models/channel-member-role.d.ts +4 -3
- package/build/api/models/channel-member-role.js +5 -4
- package/build/api/models/channel-member-user.d.ts +3 -3
- package/build/api/models/channel-member-user.js +3 -3
- package/build/api/models/channel-member.d.ts +3 -3
- package/build/api/models/channel-member.js +3 -3
- package/build/api/models/channel-or-channel-dehydrated.d.ts +3 -3
- package/build/api/models/channel-or-channel-dehydrated.js +3 -3
- package/build/api/models/channel-response-bulk.d.ts +3 -3
- package/build/api/models/channel-response-bulk.js +3 -3
- package/build/api/models/channel-response.d.ts +3 -3
- package/build/api/models/channel-response.js +3 -3
- package/build/api/models/channel-search-response.d.ts +3 -3
- package/build/api/models/channel-search-response.js +3 -3
- package/build/api/models/channel-user-context.d.ts +3 -3
- package/build/api/models/channel-user-context.js +3 -3
- package/build/api/models/channel.d.ts +18 -18
- package/build/api/models/channel.js +3 -3
- package/build/api/models/conflict-error-res.d.ts +3 -3
- package/build/api/models/conflict-error-res.js +3 -3
- package/build/api/models/conversation-conversation.d.ts +9 -9
- package/build/api/models/conversation-conversation.js +3 -3
- package/build/api/models/conversation-summary-summary.d.ts +3 -3
- package/build/api/models/conversation-summary-summary.js +3 -3
- package/build/api/models/conversation-summary.d.ts +3 -3
- package/build/api/models/conversation-summary.js +3 -3
- package/build/api/models/conversation.d.ts +3 -3
- package/build/api/models/conversation.js +3 -3
- package/build/api/models/delete-cast-req-body.d.ts +4 -4
- package/build/api/models/delete-cast-req-body.js +3 -3
- package/build/api/models/delete-frame-req-body.d.ts +3 -3
- package/build/api/models/delete-frame-req-body.js +3 -3
- package/build/api/models/delete-frame-response.d.ts +3 -3
- package/build/api/models/delete-frame-response.js +3 -3
- package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +3 -3
- package/build/api/models/deploy-fungible-response-contract-fungible.js +3 -3
- package/build/api/models/deploy-fungible-response-contract.d.ts +3 -3
- package/build/api/models/deploy-fungible-response-contract.js +3 -3
- package/build/api/models/deploy-fungible-response.d.ts +3 -3
- package/build/api/models/deploy-fungible-response.js +3 -3
- package/build/api/models/developer-managed-signer.d.ts +3 -3
- package/build/api/models/developer-managed-signer.js +3 -3
- package/build/api/models/embed-cast-deep.d.ts +3 -3
- package/build/api/models/embed-cast-deep.js +3 -3
- package/build/api/models/embed-cast.d.ts +3 -3
- package/build/api/models/embed-cast.js +3 -3
- package/build/api/models/embed-deep.d.ts +3 -3
- package/build/api/models/embed-deep.js +3 -3
- package/build/api/models/embed-url-metadata-image.d.ts +3 -3
- package/build/api/models/embed-url-metadata-image.js +3 -3
- package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +3 -3
- package/build/api/models/embed-url-metadata-video-stream-inner.js +3 -3
- package/build/api/models/embed-url-metadata-video.d.ts +3 -3
- package/build/api/models/embed-url-metadata-video.js +3 -3
- package/build/api/models/embed-url-metadata.d.ts +3 -3
- package/build/api/models/embed-url-metadata.js +3 -3
- package/build/api/models/embed-url.d.ts +3 -3
- package/build/api/models/embed-url.js +3 -3
- package/build/api/models/embed.d.ts +3 -3
- package/build/api/models/embed.js +3 -3
- package/build/api/models/error-res.d.ts +3 -3
- package/build/api/models/error-res.js +3 -3
- package/build/api/models/farcaster-action-req-body-action.d.ts +3 -3
- package/build/api/models/farcaster-action-req-body-action.js +3 -3
- package/build/api/models/farcaster-action-req-body.d.ts +3 -3
- package/build/api/models/farcaster-action-req-body.js +3 -3
- package/build/api/models/farcaster-manifest-frame.d.ts +3 -3
- package/build/api/models/farcaster-manifest-frame.js +3 -3
- package/build/api/models/farcaster-manifest.d.ts +6 -6
- package/build/api/models/farcaster-manifest.js +3 -3
- package/build/api/models/feed-response.d.ts +6 -6
- package/build/api/models/feed-response.js +3 -3
- package/build/api/models/fetch-cast-quotes-identifier-parameter.d.ts +16 -0
- package/build/api/models/fetch-cast-quotes-identifier-parameter.js +15 -0
- package/build/api/models/fetch-cast-quotes200-response.d.ts +32 -0
- package/build/api/models/fetch-cast-quotes200-response.js +15 -0
- package/build/api/models/fetch-feed-for-you400-response.d.ts +3 -3
- package/build/api/models/fetch-feed-for-you400-response.js +3 -3
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.d.ts +3 -3
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +3 -3
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.d.ts +3 -3
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.js +3 -3
- package/build/api/models/fetch-relevant-frames200-response.d.ts +3 -3
- package/build/api/models/fetch-relevant-frames200-response.js +3 -3
- package/build/api/models/fetch-user-interactions200-response.d.ts +3 -3
- package/build/api/models/fetch-user-interactions200-response.js +3 -3
- package/build/api/models/fname-availability-response.d.ts +3 -3
- package/build/api/models/fname-availability-response.js +3 -3
- package/build/api/models/follow-req-body.d.ts +3 -3
- package/build/api/models/follow-req-body.js +3 -3
- package/build/api/models/follow-response.d.ts +3 -3
- package/build/api/models/follow-response.js +3 -3
- package/build/api/models/follower-dehydrated.d.ts +3 -3
- package/build/api/models/follower-dehydrated.js +3 -3
- package/build/api/models/follower.d.ts +3 -3
- package/build/api/models/follower.js +3 -3
- package/build/api/models/followers-response.d.ts +3 -3
- package/build/api/models/followers-response.js +3 -3
- package/build/api/models/frame-action-button.d.ts +3 -3
- package/build/api/models/frame-action-button.js +3 -3
- package/build/api/models/frame-action-req-body.d.ts +4 -4
- package/build/api/models/frame-action-req-body.js +3 -3
- package/build/api/models/frame-action.d.ts +3 -3
- package/build/api/models/frame-action.js +3 -3
- package/build/api/models/frame-button-action-type.d.ts +3 -3
- package/build/api/models/frame-button-action-type.js +3 -3
- package/build/api/models/frame-catalog-response.d.ts +3 -3
- package/build/api/models/frame-catalog-response.js +3 -3
- package/build/api/models/frame-developer-managed-action-req-body.d.ts +4 -4
- package/build/api/models/frame-developer-managed-action-req-body.js +3 -3
- package/build/api/models/frame-input.d.ts +3 -3
- package/build/api/models/frame-input.js +3 -3
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +3 -3
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +3 -3
- package/build/api/models/frame-notification-tokens.d.ts +3 -3
- package/build/api/models/frame-notification-tokens.js +3 -3
- package/build/api/models/{transaction-frame-pay-all-of-transaction.d.ts → frame-pay-transaction-req-body-transaction.d.ts} +6 -6
- package/build/api/models/frame-pay-transaction-req-body-transaction.js +15 -0
- package/build/api/models/{frame-pay-transaction-request-body.d.ts → frame-pay-transaction-req-body.d.ts} +11 -11
- package/build/api/models/frame-pay-transaction-req-body.js +15 -0
- package/build/api/models/frame-signature-packet-trusted-data.d.ts +3 -3
- package/build/api/models/frame-signature-packet-trusted-data.js +3 -3
- package/build/api/models/frame-signature-packet-untrusted-data.d.ts +3 -3
- package/build/api/models/frame-signature-packet-untrusted-data.js +3 -3
- package/build/api/models/frame-signature-packet.d.ts +3 -3
- package/build/api/models/frame-signature-packet.js +3 -3
- package/build/api/models/frame-state.d.ts +3 -3
- package/build/api/models/frame-state.js +3 -3
- package/build/api/models/frame-transaction.d.ts +3 -3
- package/build/api/models/frame-transaction.js +3 -3
- package/build/api/models/{frame-v1-all-of-input.d.ts → frame-v1-input.d.ts} +6 -6
- package/build/api/models/frame-v1-input.js +15 -0
- package/build/api/models/{frame-v1-all-of-state.d.ts → frame-v1-state.d.ts} +6 -6
- package/build/api/models/frame-v1-state.js +15 -0
- package/build/api/models/frame-v1.d.ts +63 -7
- package/build/api/models/frame-v1.js +3 -3
- package/build/api/models/{frame-v2-all-of-metadata.d.ts → frame-v2-metadata.d.ts} +6 -6
- package/build/api/models/frame-v2-metadata.js +15 -0
- package/build/api/models/frame-v2-with-full-author.d.ts +51 -7
- package/build/api/models/frame-v2-with-full-author.js +3 -3
- package/build/api/models/frame-v2.d.ts +51 -7
- package/build/api/models/frame-v2.js +3 -3
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.js +3 -3
- package/build/api/models/frame-validate-analytics-input-text.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-input-text.js +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.js +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast.js +3 -3
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.js +3 -3
- package/build/api/models/frame-validate-analytics-interactors.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactors.js +3 -3
- package/build/api/models/frame-validate-analytics-response.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-response.js +3 -3
- package/build/api/models/frame-validate-analytics-total-interactors.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-total-interactors.js +3 -3
- package/build/api/models/frame-validate-list-response.d.ts +3 -3
- package/build/api/models/frame-validate-list-response.js +3 -3
- package/build/api/models/frame.d.ts +3 -3
- package/build/api/models/frame.js +3 -3
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.d.ts +11 -11
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.js +3 -3
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.d.ts +8 -8
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.js +3 -3
- package/build/api/models/get-notification-campaign-stats200-response.d.ts +5 -5
- package/build/api/models/get-notification-campaign-stats200-response.js +3 -3
- package/build/api/models/{html-metadata-all-of-oembed.d.ts → html-metadata-oembed.d.ts} +5 -5
- package/build/api/models/html-metadata-oembed.js +15 -0
- package/build/api/models/html-metadata.d.ts +310 -7
- package/build/api/models/html-metadata.js +3 -3
- package/build/api/models/image-object.d.ts +3 -3
- package/build/api/models/image-object.js +3 -3
- package/build/api/models/index.d.ts +33 -59
- package/build/api/models/index.js +33 -59
- package/build/api/models/invite-channel-member-req-body.d.ts +3 -3
- package/build/api/models/invite-channel-member-req-body.js +3 -3
- package/build/api/models/location-address.d.ts +3 -3
- package/build/api/models/location-address.js +3 -3
- package/build/api/models/location.d.ts +9 -9
- package/build/api/models/location.js +3 -3
- package/build/api/models/mark-notifications-as-seen-req-body.d.ts +3 -3
- package/build/api/models/mark-notifications-as-seen-req-body.js +3 -3
- package/build/api/models/mint-nft-request-recipients-inner.d.ts +36 -0
- package/build/api/models/mint-nft-request-recipients-inner.js +15 -0
- package/build/api/models/mint-nft-request.d.ts +49 -0
- package/build/api/models/{transaction-send-fungibles-request.js → mint-nft-request.js} +5 -5
- package/build/api/models/mint-nft200-response-transactions-inner-receipt.d.ts +36 -0
- package/build/api/models/mint-nft200-response-transactions-inner-receipt.js +15 -0
- package/build/api/models/mint-nft200-response-transactions-inner-recipient.d.ts +36 -0
- package/build/api/models/mint-nft200-response-transactions-inner-recipient.js +15 -0
- package/build/api/models/mint-nft200-response-transactions-inner.d.ts +38 -0
- package/build/api/models/mint-nft200-response-transactions-inner.js +15 -0
- package/build/api/models/mint-nft200-response.d.ts +25 -0
- package/build/api/models/mint-nft200-response.js +15 -0
- package/build/api/models/mute-list-response.d.ts +3 -3
- package/build/api/models/mute-list-response.js +3 -3
- package/build/api/models/mute-record.d.ts +3 -3
- package/build/api/models/mute-record.js +3 -3
- package/build/api/models/mute-req-body.d.ts +3 -3
- package/build/api/models/mute-req-body.js +3 -3
- package/build/api/models/mute-response.d.ts +3 -3
- package/build/api/models/mute-response.js +3 -3
- package/build/api/models/network.d.ts +3 -3
- package/build/api/models/network.js +3 -3
- package/build/api/models/next-cursor.d.ts +3 -3
- package/build/api/models/next-cursor.js +3 -3
- package/build/api/models/neynar-frame-creation-req-body.d.ts +3 -3
- package/build/api/models/neynar-frame-creation-req-body.js +3 -3
- package/build/api/models/neynar-frame-page.d.ts +4 -4
- package/build/api/models/neynar-frame-page.js +3 -3
- package/build/api/models/neynar-frame-update-req-body.d.ts +3 -3
- package/build/api/models/neynar-frame-update-req-body.js +3 -3
- package/build/api/models/neynar-frame.d.ts +3 -3
- package/build/api/models/neynar-frame.js +3 -3
- package/build/api/models/neynar-next-frame-page-mint-url.d.ts +3 -3
- package/build/api/models/neynar-next-frame-page-mint-url.js +3 -3
- package/build/api/models/neynar-next-frame-page-redirect.d.ts +3 -3
- package/build/api/models/neynar-next-frame-page-redirect.js +3 -3
- package/build/api/models/neynar-next-frame-page.d.ts +3 -3
- package/build/api/models/neynar-next-frame-page.js +3 -3
- package/build/api/models/neynar-page-button-next-page.d.ts +3 -3
- package/build/api/models/neynar-page-button-next-page.js +3 -3
- package/build/api/models/neynar-page-button.d.ts +3 -3
- package/build/api/models/neynar-page-button.js +3 -3
- package/build/api/models/neynar-page-image.d.ts +3 -3
- package/build/api/models/neynar-page-image.js +3 -3
- package/build/api/models/neynar-page-input-text.d.ts +4 -4
- package/build/api/models/neynar-page-input-text.js +3 -3
- package/build/api/models/neynar-page-input.d.ts +3 -3
- package/build/api/models/neynar-page-input.js +3 -3
- package/build/api/models/nonce-response.d.ts +3 -3
- package/build/api/models/nonce-response.js +3 -3
- package/build/api/models/notification-delivery.d.ts +3 -3
- package/build/api/models/notification-delivery.js +3 -3
- package/build/api/models/notification-type.d.ts +4 -4
- package/build/api/models/notification-type.js +4 -4
- package/build/api/models/notification.d.ts +6 -6
- package/build/api/models/notification.js +3 -3
- package/build/api/models/notifications-response.d.ts +3 -3
- package/build/api/models/notifications-response.js +3 -3
- package/build/api/models/oembed-link-data.d.ts +77 -7
- package/build/api/models/oembed-link-data.js +7 -3
- package/build/api/models/oembed-photo-data.d.ts +95 -7
- package/build/api/models/oembed-photo-data.js +7 -3
- package/build/api/models/oembed-rich-data.d.ts +95 -7
- package/build/api/models/oembed-rich-data.js +7 -3
- package/build/api/models/oembed-video-data.d.ts +95 -7
- package/build/api/models/oembed-video-data.js +7 -3
- package/build/api/models/operation-response.d.ts +3 -3
- package/build/api/models/operation-response.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of1.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of1.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of2.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of2.js +3 -3
- package/build/api/models/post-cast-req-body-embeds.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds.js +3 -3
- package/build/api/models/post-cast-req-body.d.ts +3 -3
- package/build/api/models/post-cast-req-body.js +3 -3
- package/build/api/models/post-cast-response-cast-author.d.ts +3 -3
- package/build/api/models/post-cast-response-cast-author.js +3 -3
- package/build/api/models/post-cast-response-cast.d.ts +4 -4
- package/build/api/models/post-cast-response-cast.js +3 -3
- package/build/api/models/post-cast-response.d.ts +3 -3
- package/build/api/models/post-cast-response.js +3 -3
- package/build/api/models/reaction-for-cast.d.ts +6 -10
- package/build/api/models/reaction-for-cast.js +4 -8
- package/build/api/models/reaction-like.d.ts +3 -3
- package/build/api/models/reaction-like.js +3 -3
- package/build/api/models/reaction-recast.d.ts +3 -3
- package/build/api/models/reaction-recast.js +3 -3
- package/build/api/models/reaction-req-body.d.ts +3 -3
- package/build/api/models/reaction-req-body.js +3 -3
- package/build/api/models/reaction-type.d.ts +3 -3
- package/build/api/models/reaction-type.js +3 -3
- package/build/api/models/reaction-with-cast-info.d.ts +6 -6
- package/build/api/models/reaction-with-cast-info.js +3 -3
- package/build/api/models/reaction-with-user-info.d.ts +3 -3
- package/build/api/models/reaction-with-user-info.js +3 -3
- package/build/api/models/reactions-cast-response.d.ts +3 -3
- package/build/api/models/reactions-cast-response.js +3 -3
- package/build/api/models/reactions-response.d.ts +3 -3
- package/build/api/models/reactions-response.js +3 -3
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.d.ts +55 -0
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.js +15 -0
- package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +5 -5
- package/build/api/models/register-developer-managed-signed-key-req-body.js +3 -3
- package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.d.ts +48 -0
- package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.js +21 -0
- package/build/api/models/register-signer-key-req-body.d.ts +5 -5
- package/build/api/models/register-signer-key-req-body.js +3 -3
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.d.ts +14 -14
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.js +3 -3
- package/build/api/models/register-user-on-chain-req-body-registration.d.ts +3 -3
- package/build/api/models/register-user-on-chain-req-body-registration.js +3 -3
- package/build/api/models/register-user-on-chain-req-body-signers-inner.d.ts +3 -3
- package/build/api/models/register-user-on-chain-req-body-signers-inner.js +3 -3
- package/build/api/models/register-user-on-chain-req-body.d.ts +14 -14
- package/build/api/models/register-user-on-chain-req-body.js +3 -3
- package/build/api/models/register-user-on-chain-response.d.ts +3 -3
- package/build/api/models/register-user-on-chain-response.js +3 -3
- package/build/api/models/register-user-req-body-metadata.d.ts +3 -3
- package/build/api/models/register-user-req-body-metadata.js +3 -3
- package/build/api/models/register-user-req-body.d.ts +3 -3
- package/build/api/models/register-user-req-body.js +3 -3
- package/build/api/models/register-user-response.d.ts +3 -3
- package/build/api/models/register-user-response.js +3 -3
- package/build/api/models/relevant-followers-response.d.ts +3 -3
- package/build/api/models/relevant-followers-response.js +3 -3
- package/build/api/models/relevant-fungible-owners-response.d.ts +3 -3
- package/build/api/models/relevant-fungible-owners-response.js +3 -3
- package/build/api/models/remove-channel-member-req-body.d.ts +3 -3
- package/build/api/models/remove-channel-member-req-body.js +3 -3
- package/build/api/models/remove-verification-req-body.d.ts +9 -3
- package/build/api/models/remove-verification-req-body.js +3 -3
- package/build/api/models/respond-channel-invite-req-body.d.ts +3 -3
- package/build/api/models/respond-channel-invite-req-body.js +3 -3
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.d.ts +32 -6
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.js +3 -3
- package/build/api/models/send-frame-notifications-req-body-filters.d.ts +3 -3
- package/build/api/models/send-frame-notifications-req-body-filters.js +3 -3
- package/build/api/models/send-frame-notifications-req-body-notification.d.ts +3 -3
- package/build/api/models/send-frame-notifications-req-body-notification.js +3 -3
- package/build/api/models/send-frame-notifications-req-body.d.ts +7 -7
- package/build/api/models/send-frame-notifications-req-body.js +3 -3
- package/build/api/models/send-frame-notifications-response.d.ts +3 -3
- package/build/api/models/send-frame-notifications-response.js +3 -3
- package/build/api/models/shared-signer-permission.d.ts +3 -3
- package/build/api/models/shared-signer-permission.js +3 -3
- package/build/api/models/signed-key-request-sponsor.d.ts +4 -4
- package/build/api/models/signed-key-request-sponsor.js +3 -3
- package/build/api/models/signer-list-response.d.ts +3 -3
- package/build/api/models/signer-list-response.js +3 -3
- package/build/api/models/signer.d.ts +3 -3
- package/build/api/models/signer.js +3 -3
- package/build/api/models/simulate-nft-mint-response-inner.d.ts +73 -0
- package/build/api/models/simulate-nft-mint-response-inner.js +15 -0
- package/build/api/models/simulate-nft-mint-response.d.ts +19 -0
- package/build/api/models/simulate-nft-mint-response.js +15 -0
- package/build/api/models/storage-allocation.d.ts +3 -3
- package/build/api/models/storage-allocation.js +3 -3
- package/build/api/models/storage-allocations-response.d.ts +3 -3
- package/build/api/models/storage-allocations-response.js +3 -3
- package/build/api/models/storage-object.d.ts +3 -3
- package/build/api/models/storage-object.js +3 -3
- package/build/api/models/storage-usage-response.d.ts +3 -3
- package/build/api/models/storage-usage-response.js +3 -3
- package/build/api/models/subscribed-to-object.d.ts +3 -3
- package/build/api/models/subscribed-to-object.js +3 -3
- package/build/api/models/subscribed-to-response.d.ts +3 -3
- package/build/api/models/subscribed-to-response.js +3 -3
- package/build/api/models/subscribed-to.d.ts +100 -7
- package/build/api/models/subscribed-to.js +7 -3
- package/build/api/models/subscriber.d.ts +3 -3
- package/build/api/models/subscriber.js +3 -3
- package/build/api/models/subscribers-response.d.ts +3 -3
- package/build/api/models/subscribers-response.js +3 -3
- package/build/api/models/subscription-check-response-value.d.ts +53 -0
- package/build/api/models/{subscription-status.js → subscription-check-response-value.js} +5 -5
- package/build/api/models/subscription-check-response.d.ts +5 -5
- package/build/api/models/subscription-check-response.js +3 -3
- package/build/api/models/subscription-metadata.d.ts +3 -3
- package/build/api/models/subscription-metadata.js +3 -3
- package/build/api/models/subscription-price.d.ts +3 -3
- package/build/api/models/subscription-price.js +3 -3
- package/build/api/models/subscription-tier-price.d.ts +3 -3
- package/build/api/models/subscription-tier-price.js +3 -3
- package/build/api/models/subscription-tier.d.ts +3 -3
- package/build/api/models/subscription-tier.js +3 -3
- package/build/api/models/subscription-token.d.ts +3 -3
- package/build/api/models/subscription-token.js +3 -3
- package/build/api/models/subscription.d.ts +3 -3
- package/build/api/models/subscription.js +3 -3
- package/build/api/models/subscriptions-response.d.ts +3 -3
- package/build/api/models/subscriptions-response.js +3 -3
- package/build/api/models/subscriptions.d.ts +3 -3
- package/build/api/models/subscriptions.js +3 -3
- package/build/api/models/text-range.d.ts +3 -3
- package/build/api/models/text-range.js +3 -3
- package/build/api/models/token-balance-balance.d.ts +3 -3
- package/build/api/models/token-balance-balance.js +3 -3
- package/build/api/models/token-balance-token.d.ts +3 -3
- package/build/api/models/token-balance-token.js +3 -3
- package/build/api/models/token-balance.d.ts +3 -3
- package/build/api/models/token-balance.js +3 -3
- package/build/api/models/transaction-frame-action.d.ts +4 -4
- package/build/api/models/transaction-frame-action.js +3 -3
- package/build/api/models/transaction-frame-config.d.ts +4 -4
- package/build/api/models/transaction-frame-config.js +3 -3
- package/build/api/models/transaction-frame-destination.d.ts +3 -3
- package/build/api/models/transaction-frame-destination.js +3 -3
- package/build/api/models/transaction-frame-line-item.d.ts +3 -3
- package/build/api/models/transaction-frame-line-item.js +3 -3
- package/build/api/models/transaction-frame-pay.d.ts +47 -7
- package/build/api/models/transaction-frame-pay.js +3 -3
- package/build/api/models/transaction-frame-response.d.ts +3 -3
- package/build/api/models/transaction-frame-response.js +3 -3
- package/build/api/models/transaction-frame-status.d.ts +3 -3
- package/build/api/models/transaction-frame-status.js +3 -3
- package/build/api/models/transaction-frame-type.d.ts +3 -3
- package/build/api/models/transaction-frame-type.js +3 -3
- package/build/api/models/transaction-frame.d.ts +3 -3
- package/build/api/models/transaction-frame.js +3 -3
- package/build/api/models/transaction-send-fungibles-receipt.d.ts +3 -3
- package/build/api/models/transaction-send-fungibles-receipt.js +3 -3
- package/build/api/models/transaction-send-fungibles-recipient.d.ts +3 -3
- package/build/api/models/transaction-send-fungibles-recipient.js +3 -3
- package/build/api/models/{transaction-send-fungibles-request.d.ts → transaction-send-fungibles-req-body.d.ts} +11 -11
- package/build/api/models/transaction-send-fungibles-req-body.js +21 -0
- package/build/api/models/transaction-send-fungibles-response.d.ts +3 -3
- package/build/api/models/transaction-send-fungibles-response.js +3 -3
- package/build/api/models/transaction-send-tx-info.d.ts +3 -3
- package/build/api/models/transaction-send-tx-info.js +3 -3
- package/build/api/models/trending-channel-response.d.ts +3 -3
- package/build/api/models/trending-channel-response.js +3 -3
- package/build/api/models/update-user-req-body-location.d.ts +3 -3
- package/build/api/models/update-user-req-body-location.js +3 -3
- package/build/api/models/update-user-req-body-verified-accounts.d.ts +3 -3
- package/build/api/models/update-user-req-body-verified-accounts.js +3 -3
- package/build/api/models/update-user-req-body.d.ts +9 -3
- package/build/api/models/update-user-req-body.js +3 -3
- package/build/api/models/user-dehydrated.d.ts +3 -3
- package/build/api/models/user-dehydrated.js +3 -3
- package/build/api/models/user-experimental.d.ts +3 -3
- package/build/api/models/user-experimental.js +3 -3
- package/build/api/models/user-fidresponse.d.ts +4 -4
- package/build/api/models/user-fidresponse.js +3 -3
- package/build/api/models/user-power-lite-response-result.d.ts +3 -3
- package/build/api/models/user-power-lite-response-result.js +3 -3
- package/build/api/models/user-power-lite-response.d.ts +3 -3
- package/build/api/models/user-power-lite-response.js +3 -3
- package/build/api/models/user-pro.d.ts +41 -0
- package/build/api/models/user-pro.js +20 -0
- package/build/api/models/user-profile-banner.d.ts +24 -0
- package/build/api/models/user-profile-banner.js +15 -0
- package/build/api/models/user-profile-bio.d.ts +3 -3
- package/build/api/models/user-profile-bio.js +3 -3
- package/build/api/models/user-profile.d.ts +10 -3
- package/build/api/models/user-profile.js +3 -3
- package/build/api/models/user-response.d.ts +3 -3
- package/build/api/models/user-response.js +3 -3
- package/build/api/models/user-search-response-result.d.ts +6 -6
- package/build/api/models/user-search-response-result.js +3 -3
- package/build/api/models/user-search-response.d.ts +3 -3
- package/build/api/models/user-search-response.js +3 -3
- package/build/api/models/user-verified-accounts-inner.d.ts +4 -4
- package/build/api/models/user-verified-accounts-inner.js +3 -3
- package/build/api/models/user-verified-addresses-primary.d.ts +3 -3
- package/build/api/models/user-verified-addresses-primary.js +3 -3
- package/build/api/models/user-verified-addresses.d.ts +3 -3
- package/build/api/models/user-verified-addresses.js +3 -3
- package/build/api/models/user-viewer-context.d.ts +3 -3
- package/build/api/models/user-viewer-context.js +3 -3
- package/build/api/models/user.d.ts +17 -10
- package/build/api/models/user.js +3 -3
- package/build/api/models/users-active-channels-response.d.ts +3 -3
- package/build/api/models/users-active-channels-response.js +3 -3
- package/build/api/models/users-response.d.ts +3 -3
- package/build/api/models/users-response.js +3 -3
- package/build/api/models/validate-frame-action-req-body.d.ts +3 -3
- package/build/api/models/validate-frame-action-req-body.js +3 -3
- package/build/api/models/validate-frame-action-response.d.ts +3 -3
- package/build/api/models/validate-frame-action-response.js +3 -3
- package/build/api/models/validated-frame-action-signer.d.ts +3 -3
- package/build/api/models/validated-frame-action-signer.js +3 -3
- package/build/api/models/validated-frame-action-tapped-button.d.ts +3 -3
- package/build/api/models/validated-frame-action-tapped-button.js +3 -3
- package/build/api/models/validated-frame-action.d.ts +6 -6
- package/build/api/models/validated-frame-action.js +3 -3
- package/build/api/models/verification-chain-id.d.ts +3 -3
- package/build/api/models/verification-chain-id.js +3 -3
- package/build/api/models/verification-type.d.ts +3 -3
- package/build/api/models/verification-type.js +3 -3
- package/build/api/models/video-object.d.ts +3 -3
- package/build/api/models/video-object.js +3 -3
- package/build/api/models/webhook-delete-req-body.d.ts +3 -3
- package/build/api/models/webhook-delete-req-body.js +3 -3
- package/build/api/models/webhook-list-response.d.ts +3 -3
- package/build/api/models/webhook-list-response.js +3 -3
- package/build/api/models/webhook-patch-req-body.d.ts +3 -3
- package/build/api/models/webhook-patch-req-body.js +3 -3
- package/build/api/models/webhook-post-req-body.d.ts +3 -3
- package/build/api/models/webhook-post-req-body.js +3 -3
- package/build/api/models/webhook-put-req-body.d.ts +3 -3
- package/build/api/models/webhook-put-req-body.js +3 -3
- package/build/api/models/webhook-response.d.ts +3 -3
- package/build/api/models/webhook-response.js +3 -3
- package/build/api/models/webhook-secret.d.ts +3 -3
- package/build/api/models/webhook-secret.js +3 -3
- package/build/api/models/webhook-subscription-filters-cast.d.ts +9 -3
- package/build/api/models/webhook-subscription-filters-cast.js +3 -3
- package/build/api/models/webhook-subscription-filters-follow.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters-follow.js +3 -3
- package/build/api/models/webhook-subscription-filters-reaction.d.ts +9 -3
- package/build/api/models/webhook-subscription-filters-reaction.js +3 -3
- package/build/api/models/webhook-subscription-filters-user-updated.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters-user-updated.js +3 -3
- package/build/api/models/webhook-subscription-filters.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters.js +3 -3
- package/build/api/models/webhook-subscription.d.ts +3 -3
- package/build/api/models/webhook-subscription.js +3 -3
- package/build/api/models/webhook.d.ts +3 -3
- package/build/api/models/webhook.js +3 -3
- package/build/api/models/zod-error-errors-inner.d.ts +3 -3
- package/build/api/models/zod-error-errors-inner.js +3 -3
- package/build/api/models/zod-error.d.ts +3 -3
- package/build/api/models/zod-error.js +3 -3
- package/build/clients/NeynarAPIClient.d.ts +403 -246
- package/build/clients/NeynarAPIClient.js +374 -194
- package/build/hub-api/models/index.d.ts +2 -0
- package/build/hub-api/models/index.js +2 -0
- package/build/hub-api/models/storage-limits-response-tier-subscriptions-inner.d.ts +34 -0
- package/build/hub-api/models/storage-limits-response-tier-subscriptions-inner.js +19 -0
- package/build/hub-api/models/storage-limits-response-unit-details.d.ts +35 -0
- package/build/hub-api/models/storage-limits-response-unit-details.js +20 -0
- package/build/hub-api/models/storage-limits-response.d.ts +20 -0
- package/build/types/webhooks.d.ts +1 -12
- package/package.json +3 -3
- package/build/api/models/app-host-post-event-body-one-of.d.ts +0 -30
- package/build/api/models/app-host-post-event-body.d.ts +0 -19
- package/build/api/models/authorization-url-response-type.d.ts +0 -20
- package/build/api/models/authorization-url-response-type.js +0 -24
- package/build/api/models/bulk-user-address-type.d.ts +0 -21
- package/build/api/models/bulk-user-address-type.js +0 -25
- package/build/api/models/cast-composer-type.d.ts +0 -21
- package/build/api/models/cast-composer-type.js +0 -25
- package/build/api/models/cast-conversation-sort-type.d.ts +0 -22
- package/build/api/models/cast-conversation-sort-type.js +0 -26
- package/build/api/models/cast-param-type.d.ts +0 -21
- package/build/api/models/cast-param-type.js +0 -25
- package/build/api/models/cast-with-interactions-all-of.d.ts +0 -93
- package/build/api/models/cast-with-interactions-and-conversations-all-of.d.ts +0 -25
- package/build/api/models/cast-with-interactions-and-conversations-all-of.js +0 -15
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.d.ts +0 -24
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.js +0 -15
- package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +0 -19
- package/build/api/models/cast-with-interactions-and-conversations-ref.js +0 -15
- package/build/api/models/cast-with-interactions-and-conversations.d.ts +0 -18
- package/build/api/models/cast-with-interactions-and-conversations.js +0 -15
- package/build/api/models/cast-with-interactions-reactions.js +0 -15
- package/build/api/models/cast-with-interactions-replies.d.ts +0 -24
- package/build/api/models/cast-with-interactions-replies.js +0 -15
- package/build/api/models/cast-with-interactions.d.ts +0 -18
- package/build/api/models/cast-with-interactions.js +0 -15
- package/build/api/models/casts-search-response-result.d.ts +0 -32
- package/build/api/models/casts-search-response-result.js +0 -15
- package/build/api/models/channel-type.d.ts +0 -21
- package/build/api/models/channel-type.js +0 -25
- package/build/api/models/embed-type.d.ts +0 -37
- package/build/api/models/embed-type.js +0 -41
- package/build/api/models/farcaster-manifest-account-association.d.ts +0 -36
- package/build/api/models/farcaster-manifest-account-association.js +0 -15
- package/build/api/models/feed-trending-provider.d.ts +0 -22
- package/build/api/models/feed-trending-provider.js +0 -26
- package/build/api/models/feed-type.d.ts +0 -21
- package/build/api/models/feed-type.js +0 -25
- package/build/api/models/filter-type.d.ts +0 -25
- package/build/api/models/filter-type.js +0 -29
- package/build/api/models/follow-sort-type.d.ts +0 -21
- package/build/api/models/follow-sort-type.js +0 -25
- package/build/api/models/for-you-provider.d.ts +0 -22
- package/build/api/models/for-you-provider.js +0 -26
- package/build/api/models/frame-base.d.ts +0 -36
- package/build/api/models/frame-base.js +0 -15
- package/build/api/models/frame-pay-transaction-request-body.js +0 -15
- package/build/api/models/frame-type.d.ts +0 -21
- package/build/api/models/frame-type.js +0 -25
- package/build/api/models/frame-v1-all-of-input.js +0 -15
- package/build/api/models/frame-v1-all-of-state.js +0 -15
- package/build/api/models/frame-v1-all-of.d.ts +0 -57
- package/build/api/models/frame-v1-all-of.js +0 -15
- package/build/api/models/frame-v2-all-of-metadata.js +0 -15
- package/build/api/models/frame-v2-all-of.d.ts +0 -45
- package/build/api/models/frame-v2-all-of.js +0 -15
- package/build/api/models/frame-v2-with-full-author-all-of.d.ts +0 -45
- package/build/api/models/frame-v2-with-full-author-all-of.js +0 -15
- package/build/api/models/fungible-owner-relevant-network.d.ts +0 -24
- package/build/api/models/fungible-owner-relevant-network.js +0 -28
- package/build/api/models/html-metadata-all-of-oembed.js +0 -15
- package/build/api/models/html-metadata-all-of.d.ts +0 -25
- package/build/api/models/html-metadata-all-of.js +0 -15
- package/build/api/models/mini-app-time-window.d.ts +0 -24
- package/build/api/models/mini-app-time-window.js +0 -28
- package/build/api/models/oembed-data.d.ts +0 -84
- package/build/api/models/oembed-data.js +0 -15
- package/build/api/models/oembed-link-data-all-of.d.ts +0 -28
- package/build/api/models/oembed-link-data-all-of.js +0 -19
- package/build/api/models/oembed-photo-data-all-of.d.ts +0 -46
- package/build/api/models/oembed-photo-data-all-of.js +0 -19
- package/build/api/models/oembed-rich-data-all-of.d.ts +0 -46
- package/build/api/models/oembed-rich-data-all-of.js +0 -19
- package/build/api/models/oembed-video-data-all-of.d.ts +0 -46
- package/build/api/models/oembed-video-data-all-of.js +0 -19
- package/build/api/models/og-object.d.ts +0 -314
- package/build/api/models/og-object.js +0 -15
- package/build/api/models/profile-url-pfp.d.ts +0 -24
- package/build/api/models/profile-url-pfp.js +0 -15
- package/build/api/models/profile-url.d.ts +0 -25
- package/build/api/models/profile-url.js +0 -15
- package/build/api/models/reactions-type.d.ts +0 -22
- package/build/api/models/reactions-type.js +0 -26
- package/build/api/models/search-sort-type.d.ts +0 -21
- package/build/api/models/search-sort-type.js +0 -25
- package/build/api/models/searched-user.d.ts +0 -130
- package/build/api/models/searched-user.js +0 -19
- package/build/api/models/subscribed-to-all-of.d.ts +0 -44
- package/build/api/models/subscribed-to-all-of.js +0 -15
- package/build/api/models/subscription-provider.d.ts +0 -20
- package/build/api/models/subscription-provider.js +0 -24
- package/build/api/models/subscription-providers.d.ts +0 -21
- package/build/api/models/subscription-providers.js +0 -25
- package/build/api/models/subscription-status.d.ts +0 -53
- package/build/api/models/transaction-frame-base.d.ts +0 -51
- package/build/api/models/transaction-frame-base.js +0 -15
- package/build/api/models/transaction-frame-pay-all-of-transaction.js +0 -15
- package/build/api/models/transaction-frame-pay-all-of.d.ts +0 -25
- package/build/api/models/transaction-frame-pay-all-of.js +0 -15
- package/build/api/models/validate-frame-aggregate-window.d.ts +0 -30
- package/build/api/models/validate-frame-aggregate-window.js +0 -34
- package/build/api/models/validate-frame-analytics-type.d.ts +0 -23
- package/build/api/models/validate-frame-analytics-type.js +0 -27
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* The
|
|
2
|
+
* Neynar API
|
|
3
|
+
* The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.19.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { AddVerificationReqBody } from '../models';
|
|
16
|
+
import type { BestFriendsResponse } from '../models';
|
|
16
17
|
import type { BulkFollowResponse } from '../models';
|
|
17
|
-
import type { BulkUserAddressType } from '../models';
|
|
18
18
|
import type { BulkUsersByAddressResponse } from '../models';
|
|
19
19
|
import type { BulkUsersResponse } from '../models';
|
|
20
20
|
import type { FollowReqBody } from '../models';
|
|
@@ -24,7 +24,6 @@ import type { RegisterUserResponse } from '../models';
|
|
|
24
24
|
import type { RemoveVerificationReqBody } from '../models';
|
|
25
25
|
import type { UpdateUserReqBody } from '../models';
|
|
26
26
|
import type { UserFIDResponse } from '../models';
|
|
27
|
-
import type { UserPowerLiteResponse } from '../models';
|
|
28
27
|
import type { UserResponse } from '../models';
|
|
29
28
|
import type { UserSearchResponse } from '../models';
|
|
30
29
|
import type { UsersResponse } from '../models';
|
|
@@ -34,7 +33,7 @@ import type { UsersResponse } from '../models';
|
|
|
34
33
|
*/
|
|
35
34
|
export declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
36
35
|
/**
|
|
37
|
-
* Removes verification for an eth address for the user
|
|
36
|
+
* Removes verification for an eth address for the user (In order to delete verification `signer_uuid` must be approved)
|
|
38
37
|
* @summary Delete verification
|
|
39
38
|
* @param {RemoveVerificationReqBody} removeVerificationReqBody
|
|
40
39
|
* @param {*} [options] Override http request option.
|
|
@@ -49,8 +48,8 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
49
48
|
* Fetches information about multiple users based on FIDs
|
|
50
49
|
* @summary By FIDs
|
|
51
50
|
* @param {string} fids Comma separated list of FIDs, up to 100 at a time
|
|
52
|
-
* @param {number} [viewerFid]
|
|
53
51
|
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
52
|
+
* @param {number} [viewerFid]
|
|
54
53
|
* @param {*} [options] Override http request option.
|
|
55
54
|
* @throws {RequiredError}
|
|
56
55
|
* @returns {Promise<BulkUsersResponse>} A promise that resolves to a `BulkUsersResponse` object
|
|
@@ -58,14 +57,14 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
58
57
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-users)
|
|
59
58
|
*
|
|
60
59
|
*/
|
|
61
|
-
fetchBulkUsers: (fids: string,
|
|
60
|
+
fetchBulkUsers: (fids: string, xNeynarExperimental?: boolean, viewerFid?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
61
|
/**
|
|
63
62
|
* Fetches all users based on multiple Ethereum or Solana addresses. Each farcaster user has a custody Ethereum address and optionally verified Ethereum or Solana addresses. This endpoint returns all users that have any of the given addresses as their custody or verified Ethereum or Solana addresses. A custody address can be associated with only 1 farcaster user at a time but a verified address can be associated with multiple users. You can pass in Ethereum and Solana addresses, comma separated, in the same request. The response will contain users associated with the given addresses.
|
|
64
63
|
* @summary By Eth or Sol addresses
|
|
65
64
|
* @param {string} addresses Comma separated list of Ethereum addresses, up to 350 at a time
|
|
66
|
-
* @param {Array<BulkUserAddressType>} [addressTypes] Customize which address types the request should search for. This is a comma-separated string that can include the following values: \'custody_address\' and \'verified_address\'. By default api returns both. To select multiple types, use a comma-separated list of these values.
|
|
67
|
-
* @param {number} [viewerFid]
|
|
68
65
|
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
66
|
+
* @param {Array<FetchBulkUsersByEthOrSolAddressAddressTypesEnum>} [addressTypes] Customize which address types the request should search for. This is a comma-separated string that can include the following values: \'custody_address\' and \'verified_address\'. By default api returns both. To select multiple types, use a comma-separated list of these values.
|
|
67
|
+
* @param {number} [viewerFid]
|
|
69
68
|
* @param {*} [options] Override http request option.
|
|
70
69
|
* @throws {RequiredError}
|
|
71
70
|
* @returns {Promise<BulkUsersByAddressResponse>} A promise that resolves to a `BulkUsersByAddressResponse` object
|
|
@@ -73,43 +72,16 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
73
72
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-users-by-eth-or-sol-address)
|
|
74
73
|
*
|
|
75
74
|
*/
|
|
76
|
-
fetchBulkUsersByEthOrSolAddress: (addresses: string, addressTypes?: Array<
|
|
77
|
-
/**
|
|
78
|
-
* Fetches power users based on Warpcast power badges. Information is updated once a day.
|
|
79
|
-
* @summary Power users
|
|
80
|
-
* @param {number} [viewerFid]
|
|
81
|
-
* @param {number} [limit] Number of power users to fetch (Default: 25, Maximum: 100)
|
|
82
|
-
* @param {string} [cursor] Pagination cursor.
|
|
83
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
84
|
-
* @param {*} [options] Override http request option.
|
|
85
|
-
* @throws {RequiredError}
|
|
86
|
-
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
87
|
-
*
|
|
88
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users)
|
|
89
|
-
*
|
|
90
|
-
*/
|
|
91
|
-
fetchPowerUsers: (viewerFid?: number, limit?: number, cursor?: string, xNeynarExperimental?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
|
-
/**
|
|
93
|
-
* Fetches power users and respond in a backwards compatible format to Warpcast\'s deprecated power badge endpoint.
|
|
94
|
-
* @summary Power user FIDs
|
|
95
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
96
|
-
* @param {*} [options] Override http request option.
|
|
97
|
-
* @throws {RequiredError}
|
|
98
|
-
* @returns {Promise<UserPowerLiteResponse>} A promise that resolves to a `UserPowerLiteResponse` object
|
|
99
|
-
*
|
|
100
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users-lite)
|
|
101
|
-
*
|
|
102
|
-
*/
|
|
103
|
-
fetchPowerUsersLite: (xNeynarExperimental?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
|
+
fetchBulkUsersByEthOrSolAddress: (addresses: string, xNeynarExperimental?: boolean, addressTypes?: Array<FetchBulkUsersByEthOrSolAddressAddressTypesEnum>, viewerFid?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
104
76
|
/**
|
|
105
77
|
* Fetches a list of users given a location
|
|
106
78
|
* @summary By location
|
|
107
|
-
* @param {number} latitude Latitude of the location
|
|
108
|
-
* @param {number} longitude Longitude of the location
|
|
79
|
+
* @param {number | null} latitude Latitude of the location
|
|
80
|
+
* @param {number | null} longitude Longitude of the location
|
|
81
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
109
82
|
* @param {number} [viewerFid] FID of the user viewing the feed. Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
110
83
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
111
84
|
* @param {string} [cursor] Pagination cursor
|
|
112
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
113
85
|
* @param {*} [options] Override http request option.
|
|
114
86
|
* @throws {RequiredError}
|
|
115
87
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -117,9 +89,9 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
117
89
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-users-by-location)
|
|
118
90
|
*
|
|
119
91
|
*/
|
|
120
|
-
fetchUsersByLocation: (latitude: number, longitude: number, viewerFid?: number, limit?: number, cursor?: string,
|
|
92
|
+
fetchUsersByLocation: (latitude: number | null, longitude: number | null, xNeynarExperimental?: boolean, viewerFid?: number, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
121
93
|
/**
|
|
122
|
-
* Follow a user
|
|
94
|
+
* Follow a user (In order to follow a user `signer_uuid` must be approved)
|
|
123
95
|
* @summary Follow user
|
|
124
96
|
* @param {FollowReqBody} followReqBody
|
|
125
97
|
* @param {*} [options] Override http request option.
|
|
@@ -142,6 +114,20 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
142
114
|
*
|
|
143
115
|
*/
|
|
144
116
|
getFreshAccountFID: (xNeynarExperimental?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
117
|
+
/**
|
|
118
|
+
* Returns the best friends of a user ranked by mutual affinity score based on interactions with each other.
|
|
119
|
+
* @summary Best friends
|
|
120
|
+
* @param {number} fid The FID of the user
|
|
121
|
+
* @param {number} [limit] Number of results to fetch (Default: 3, Maximum: 100)
|
|
122
|
+
* @param {string} [cursor] Pagination cursor
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
* @returns {Promise<BestFriendsResponse>} A promise that resolves to a `BestFriendsResponse` object
|
|
126
|
+
*
|
|
127
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-user-best-friends)
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
getUserBestFriends: (fid: number, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
145
131
|
/**
|
|
146
132
|
* Lookup a user by custody-address
|
|
147
133
|
* @summary By custody-address
|
|
@@ -158,8 +144,8 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
158
144
|
* Fetches a single hydrated user object given a username
|
|
159
145
|
* @summary By username
|
|
160
146
|
* @param {string} username Username of the user to fetch
|
|
161
|
-
* @param {number} [viewerFid]
|
|
162
147
|
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
148
|
+
* @param {number} [viewerFid]
|
|
163
149
|
* @param {*} [options] Override http request option.
|
|
164
150
|
* @throws {RequiredError}
|
|
165
151
|
* @returns {Promise<UserResponse>} A promise that resolves to a `UserResponse` object
|
|
@@ -167,13 +153,13 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
167
153
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-user-by-username)
|
|
168
154
|
*
|
|
169
155
|
*/
|
|
170
|
-
lookupUserByUsername: (username: string,
|
|
156
|
+
lookupUserByUsername: (username: string, xNeynarExperimental?: boolean, viewerFid?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
171
157
|
/**
|
|
172
158
|
* Fetches the users who have verified the specified X (Twitter) username
|
|
173
159
|
* @summary By X username
|
|
174
160
|
* @param {string} xUsername X (Twitter) username to search for, without the @ symbol
|
|
175
|
-
* @param {number} [viewerFid] FID of the viewer for contextual information like follows and blocks
|
|
176
161
|
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
162
|
+
* @param {number} [viewerFid] FID of the viewer for contextual information like follows and blocks
|
|
177
163
|
* @param {*} [options] Override http request option.
|
|
178
164
|
* @throws {RequiredError}
|
|
179
165
|
* @returns {Promise<BulkUsersResponse>} A promise that resolves to a `BulkUsersResponse` object
|
|
@@ -181,9 +167,9 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
181
167
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-users-by-x-username)
|
|
182
168
|
*
|
|
183
169
|
*/
|
|
184
|
-
lookupUsersByXUsername: (xUsername: string,
|
|
170
|
+
lookupUsersByXUsername: (xUsername: string, xNeynarExperimental?: boolean, viewerFid?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
185
171
|
/**
|
|
186
|
-
* Adds verification for an eth address or contract for the user
|
|
172
|
+
* Adds verification for an eth address or contract for the user (In order to add verification `signer_uuid` must be approved)
|
|
187
173
|
* @summary Add verification
|
|
188
174
|
* @param {AddVerificationReqBody} addVerificationReqBody
|
|
189
175
|
* @param {*} [options] Override http request option.
|
|
@@ -195,7 +181,7 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
195
181
|
*/
|
|
196
182
|
publishVerification: (addVerificationReqBody: AddVerificationReqBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
197
183
|
/**
|
|
198
|
-
* Register account on farcaster.
|
|
184
|
+
* Register account on farcaster. **Note:** This API must be called within 10 minutes of the fetch FID API call (i.e., /v2/farcaster/user/fid). Otherwise, Neynar will assign this FID to another available user.
|
|
199
185
|
* @summary Register new account
|
|
200
186
|
* @param {RegisterUserReqBody} registerUserReqBody
|
|
201
187
|
* @param {*} [options] Override http request option.
|
|
@@ -210,10 +196,10 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
210
196
|
* Search for Usernames
|
|
211
197
|
* @summary Search for Usernames
|
|
212
198
|
* @param {string} q
|
|
199
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
213
200
|
* @param {number} [viewerFid] Providing this will return search results that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
214
201
|
* @param {number} [limit] Number of users to fetch (Default: 5, Maximum: 10)
|
|
215
202
|
* @param {string} [cursor] Pagination cursor.
|
|
216
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
217
203
|
* @param {*} [options] Override http request option.
|
|
218
204
|
* @throws {RequiredError}
|
|
219
205
|
* @returns {Promise<UserSearchResponse>} A promise that resolves to a `UserSearchResponse` object
|
|
@@ -221,9 +207,9 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
221
207
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-user)
|
|
222
208
|
*
|
|
223
209
|
*/
|
|
224
|
-
searchUser: (q: string, viewerFid?: number, limit?: number, cursor?: string,
|
|
210
|
+
searchUser: (q: string, xNeynarExperimental?: boolean, viewerFid?: number, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
225
211
|
/**
|
|
226
|
-
* Unfollow a user
|
|
212
|
+
* Unfollow a user (In order to unfollow a user `signer_uuid` must be approved)
|
|
227
213
|
* @summary Unfollow user
|
|
228
214
|
* @param {FollowReqBody} followReqBody
|
|
229
215
|
* @param {*} [options] Override http request option.
|
|
@@ -235,7 +221,7 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
235
221
|
*/
|
|
236
222
|
unfollowUser: (followReqBody: FollowReqBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
237
223
|
/**
|
|
238
|
-
* Update user profile
|
|
224
|
+
* Update user profile (In order to update user\'s profile `signer_uuid` must be approved)
|
|
239
225
|
* @summary Update user profile
|
|
240
226
|
* @param {UpdateUserReqBody} updateUserReqBody
|
|
241
227
|
* @param {*} [options] Override http request option.
|
|
@@ -253,7 +239,7 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
253
239
|
*/
|
|
254
240
|
export declare const UserApiFp: (configuration?: Configuration) => {
|
|
255
241
|
/**
|
|
256
|
-
* Removes verification for an eth address for the user
|
|
242
|
+
* Removes verification for an eth address for the user (In order to delete verification `signer_uuid` must be approved)
|
|
257
243
|
* @summary Delete verification
|
|
258
244
|
* @param {RemoveVerificationReqBody} removeVerificationReqBody
|
|
259
245
|
* @param {*} [options] Override http request option.
|
|
@@ -268,8 +254,8 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
268
254
|
* Fetches information about multiple users based on FIDs
|
|
269
255
|
* @summary By FIDs
|
|
270
256
|
* @param {string} fids Comma separated list of FIDs, up to 100 at a time
|
|
271
|
-
* @param {number} [viewerFid]
|
|
272
257
|
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
258
|
+
* @param {number} [viewerFid]
|
|
273
259
|
* @param {*} [options] Override http request option.
|
|
274
260
|
* @throws {RequiredError}
|
|
275
261
|
* @returns {Promise<BulkUsersResponse>} A promise that resolves to a `BulkUsersResponse` object
|
|
@@ -277,14 +263,14 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
277
263
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-users)
|
|
278
264
|
*
|
|
279
265
|
*/
|
|
280
|
-
fetchBulkUsers(fids: string,
|
|
266
|
+
fetchBulkUsers(fids: string, xNeynarExperimental?: boolean, viewerFid?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkUsersResponse>>;
|
|
281
267
|
/**
|
|
282
268
|
* Fetches all users based on multiple Ethereum or Solana addresses. Each farcaster user has a custody Ethereum address and optionally verified Ethereum or Solana addresses. This endpoint returns all users that have any of the given addresses as their custody or verified Ethereum or Solana addresses. A custody address can be associated with only 1 farcaster user at a time but a verified address can be associated with multiple users. You can pass in Ethereum and Solana addresses, comma separated, in the same request. The response will contain users associated with the given addresses.
|
|
283
269
|
* @summary By Eth or Sol addresses
|
|
284
270
|
* @param {string} addresses Comma separated list of Ethereum addresses, up to 350 at a time
|
|
285
|
-
* @param {Array<BulkUserAddressType>} [addressTypes] Customize which address types the request should search for. This is a comma-separated string that can include the following values: \'custody_address\' and \'verified_address\'. By default api returns both. To select multiple types, use a comma-separated list of these values.
|
|
286
|
-
* @param {number} [viewerFid]
|
|
287
271
|
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
272
|
+
* @param {Array<FetchBulkUsersByEthOrSolAddressAddressTypesEnum>} [addressTypes] Customize which address types the request should search for. This is a comma-separated string that can include the following values: \'custody_address\' and \'verified_address\'. By default api returns both. To select multiple types, use a comma-separated list of these values.
|
|
273
|
+
* @param {number} [viewerFid]
|
|
288
274
|
* @param {*} [options] Override http request option.
|
|
289
275
|
* @throws {RequiredError}
|
|
290
276
|
* @returns {Promise<BulkUsersByAddressResponse>} A promise that resolves to a `BulkUsersByAddressResponse` object
|
|
@@ -292,43 +278,16 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
292
278
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-users-by-eth-or-sol-address)
|
|
293
279
|
*
|
|
294
280
|
*/
|
|
295
|
-
fetchBulkUsersByEthOrSolAddress(addresses: string, addressTypes?: Array<
|
|
296
|
-
/**
|
|
297
|
-
* Fetches power users based on Warpcast power badges. Information is updated once a day.
|
|
298
|
-
* @summary Power users
|
|
299
|
-
* @param {number} [viewerFid]
|
|
300
|
-
* @param {number} [limit] Number of power users to fetch (Default: 25, Maximum: 100)
|
|
301
|
-
* @param {string} [cursor] Pagination cursor.
|
|
302
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
303
|
-
* @param {*} [options] Override http request option.
|
|
304
|
-
* @throws {RequiredError}
|
|
305
|
-
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
306
|
-
*
|
|
307
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users)
|
|
308
|
-
*
|
|
309
|
-
*/
|
|
310
|
-
fetchPowerUsers(viewerFid?: number, limit?: number, cursor?: string, xNeynarExperimental?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsersResponse>>;
|
|
311
|
-
/**
|
|
312
|
-
* Fetches power users and respond in a backwards compatible format to Warpcast\'s deprecated power badge endpoint.
|
|
313
|
-
* @summary Power user FIDs
|
|
314
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
315
|
-
* @param {*} [options] Override http request option.
|
|
316
|
-
* @throws {RequiredError}
|
|
317
|
-
* @returns {Promise<UserPowerLiteResponse>} A promise that resolves to a `UserPowerLiteResponse` object
|
|
318
|
-
*
|
|
319
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users-lite)
|
|
320
|
-
*
|
|
321
|
-
*/
|
|
322
|
-
fetchPowerUsersLite(xNeynarExperimental?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPowerLiteResponse>>;
|
|
281
|
+
fetchBulkUsersByEthOrSolAddress(addresses: string, xNeynarExperimental?: boolean, addressTypes?: Array<FetchBulkUsersByEthOrSolAddressAddressTypesEnum>, viewerFid?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkUsersByAddressResponse>>;
|
|
323
282
|
/**
|
|
324
283
|
* Fetches a list of users given a location
|
|
325
284
|
* @summary By location
|
|
326
|
-
* @param {number} latitude Latitude of the location
|
|
327
|
-
* @param {number} longitude Longitude of the location
|
|
285
|
+
* @param {number | null} latitude Latitude of the location
|
|
286
|
+
* @param {number | null} longitude Longitude of the location
|
|
287
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
328
288
|
* @param {number} [viewerFid] FID of the user viewing the feed. Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
329
289
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
330
290
|
* @param {string} [cursor] Pagination cursor
|
|
331
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
332
291
|
* @param {*} [options] Override http request option.
|
|
333
292
|
* @throws {RequiredError}
|
|
334
293
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -336,9 +295,9 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
336
295
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-users-by-location)
|
|
337
296
|
*
|
|
338
297
|
*/
|
|
339
|
-
fetchUsersByLocation(latitude: number, longitude: number, viewerFid?: number, limit?: number, cursor?: string,
|
|
298
|
+
fetchUsersByLocation(latitude: number | null, longitude: number | null, xNeynarExperimental?: boolean, viewerFid?: number, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsersResponse>>;
|
|
340
299
|
/**
|
|
341
|
-
* Follow a user
|
|
300
|
+
* Follow a user (In order to follow a user `signer_uuid` must be approved)
|
|
342
301
|
* @summary Follow user
|
|
343
302
|
* @param {FollowReqBody} followReqBody
|
|
344
303
|
* @param {*} [options] Override http request option.
|
|
@@ -361,6 +320,20 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
361
320
|
*
|
|
362
321
|
*/
|
|
363
322
|
getFreshAccountFID(xNeynarExperimental?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserFIDResponse>>;
|
|
323
|
+
/**
|
|
324
|
+
* Returns the best friends of a user ranked by mutual affinity score based on interactions with each other.
|
|
325
|
+
* @summary Best friends
|
|
326
|
+
* @param {number} fid The FID of the user
|
|
327
|
+
* @param {number} [limit] Number of results to fetch (Default: 3, Maximum: 100)
|
|
328
|
+
* @param {string} [cursor] Pagination cursor
|
|
329
|
+
* @param {*} [options] Override http request option.
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
* @returns {Promise<BestFriendsResponse>} A promise that resolves to a `BestFriendsResponse` object
|
|
332
|
+
*
|
|
333
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-user-best-friends)
|
|
334
|
+
*
|
|
335
|
+
*/
|
|
336
|
+
getUserBestFriends(fid: number, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BestFriendsResponse>>;
|
|
364
337
|
/**
|
|
365
338
|
* Lookup a user by custody-address
|
|
366
339
|
* @summary By custody-address
|
|
@@ -377,8 +350,8 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
377
350
|
* Fetches a single hydrated user object given a username
|
|
378
351
|
* @summary By username
|
|
379
352
|
* @param {string} username Username of the user to fetch
|
|
380
|
-
* @param {number} [viewerFid]
|
|
381
353
|
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
354
|
+
* @param {number} [viewerFid]
|
|
382
355
|
* @param {*} [options] Override http request option.
|
|
383
356
|
* @throws {RequiredError}
|
|
384
357
|
* @returns {Promise<UserResponse>} A promise that resolves to a `UserResponse` object
|
|
@@ -386,13 +359,13 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
386
359
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-user-by-username)
|
|
387
360
|
*
|
|
388
361
|
*/
|
|
389
|
-
lookupUserByUsername(username: string,
|
|
362
|
+
lookupUserByUsername(username: string, xNeynarExperimental?: boolean, viewerFid?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>>;
|
|
390
363
|
/**
|
|
391
364
|
* Fetches the users who have verified the specified X (Twitter) username
|
|
392
365
|
* @summary By X username
|
|
393
366
|
* @param {string} xUsername X (Twitter) username to search for, without the @ symbol
|
|
394
|
-
* @param {number} [viewerFid] FID of the viewer for contextual information like follows and blocks
|
|
395
367
|
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
368
|
+
* @param {number} [viewerFid] FID of the viewer for contextual information like follows and blocks
|
|
396
369
|
* @param {*} [options] Override http request option.
|
|
397
370
|
* @throws {RequiredError}
|
|
398
371
|
* @returns {Promise<BulkUsersResponse>} A promise that resolves to a `BulkUsersResponse` object
|
|
@@ -400,9 +373,9 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
400
373
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-users-by-x-username)
|
|
401
374
|
*
|
|
402
375
|
*/
|
|
403
|
-
lookupUsersByXUsername(xUsername: string,
|
|
376
|
+
lookupUsersByXUsername(xUsername: string, xNeynarExperimental?: boolean, viewerFid?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkUsersResponse>>;
|
|
404
377
|
/**
|
|
405
|
-
* Adds verification for an eth address or contract for the user
|
|
378
|
+
* Adds verification for an eth address or contract for the user (In order to add verification `signer_uuid` must be approved)
|
|
406
379
|
* @summary Add verification
|
|
407
380
|
* @param {AddVerificationReqBody} addVerificationReqBody
|
|
408
381
|
* @param {*} [options] Override http request option.
|
|
@@ -414,7 +387,7 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
414
387
|
*/
|
|
415
388
|
publishVerification(addVerificationReqBody: AddVerificationReqBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OperationResponse>>;
|
|
416
389
|
/**
|
|
417
|
-
* Register account on farcaster.
|
|
390
|
+
* Register account on farcaster. **Note:** This API must be called within 10 minutes of the fetch FID API call (i.e., /v2/farcaster/user/fid). Otherwise, Neynar will assign this FID to another available user.
|
|
418
391
|
* @summary Register new account
|
|
419
392
|
* @param {RegisterUserReqBody} registerUserReqBody
|
|
420
393
|
* @param {*} [options] Override http request option.
|
|
@@ -429,10 +402,10 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
429
402
|
* Search for Usernames
|
|
430
403
|
* @summary Search for Usernames
|
|
431
404
|
* @param {string} q
|
|
405
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
432
406
|
* @param {number} [viewerFid] Providing this will return search results that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
433
407
|
* @param {number} [limit] Number of users to fetch (Default: 5, Maximum: 10)
|
|
434
408
|
* @param {string} [cursor] Pagination cursor.
|
|
435
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
436
409
|
* @param {*} [options] Override http request option.
|
|
437
410
|
* @throws {RequiredError}
|
|
438
411
|
* @returns {Promise<UserSearchResponse>} A promise that resolves to a `UserSearchResponse` object
|
|
@@ -440,9 +413,9 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
440
413
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-user)
|
|
441
414
|
*
|
|
442
415
|
*/
|
|
443
|
-
searchUser(q: string, viewerFid?: number, limit?: number, cursor?: string,
|
|
416
|
+
searchUser(q: string, xNeynarExperimental?: boolean, viewerFid?: number, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserSearchResponse>>;
|
|
444
417
|
/**
|
|
445
|
-
* Unfollow a user
|
|
418
|
+
* Unfollow a user (In order to unfollow a user `signer_uuid` must be approved)
|
|
446
419
|
* @summary Unfollow user
|
|
447
420
|
* @param {FollowReqBody} followReqBody
|
|
448
421
|
* @param {*} [options] Override http request option.
|
|
@@ -454,7 +427,7 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
454
427
|
*/
|
|
455
428
|
unfollowUser(followReqBody: FollowReqBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkFollowResponse>>;
|
|
456
429
|
/**
|
|
457
|
-
* Update user profile
|
|
430
|
+
* Update user profile (In order to update user\'s profile `signer_uuid` must be approved)
|
|
458
431
|
* @summary Update user profile
|
|
459
432
|
* @param {UpdateUserReqBody} updateUserReqBody
|
|
460
433
|
* @param {*} [options] Override http request option.
|
|
@@ -472,7 +445,7 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
472
445
|
*/
|
|
473
446
|
export declare const UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
474
447
|
/**
|
|
475
|
-
* Removes verification for an eth address for the user
|
|
448
|
+
* Removes verification for an eth address for the user (In order to delete verification `signer_uuid` must be approved)
|
|
476
449
|
* @summary Delete verification
|
|
477
450
|
* @param {UserApiDeleteVerificationRequest} requestParameters Request parameters.
|
|
478
451
|
* @param {*} [options] Override http request option.
|
|
@@ -507,30 +480,6 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
507
480
|
*
|
|
508
481
|
*/
|
|
509
482
|
fetchBulkUsersByEthOrSolAddress(requestParameters: UserApiFetchBulkUsersByEthOrSolAddressRequest, options?: RawAxiosRequestConfig): AxiosPromise<BulkUsersByAddressResponse>;
|
|
510
|
-
/**
|
|
511
|
-
* Fetches power users based on Warpcast power badges. Information is updated once a day.
|
|
512
|
-
* @summary Power users
|
|
513
|
-
* @param {UserApiFetchPowerUsersRequest} requestParameters Request parameters.
|
|
514
|
-
* @param {*} [options] Override http request option.
|
|
515
|
-
* @throws {RequiredError}
|
|
516
|
-
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
517
|
-
*
|
|
518
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users)
|
|
519
|
-
*
|
|
520
|
-
*/
|
|
521
|
-
fetchPowerUsers(requestParameters?: UserApiFetchPowerUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<UsersResponse>;
|
|
522
|
-
/**
|
|
523
|
-
* Fetches power users and respond in a backwards compatible format to Warpcast\'s deprecated power badge endpoint.
|
|
524
|
-
* @summary Power user FIDs
|
|
525
|
-
* @param {UserApiFetchPowerUsersLiteRequest} requestParameters Request parameters.
|
|
526
|
-
* @param {*} [options] Override http request option.
|
|
527
|
-
* @throws {RequiredError}
|
|
528
|
-
* @returns {Promise<UserPowerLiteResponse>} A promise that resolves to a `UserPowerLiteResponse` object
|
|
529
|
-
*
|
|
530
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users-lite)
|
|
531
|
-
*
|
|
532
|
-
*/
|
|
533
|
-
fetchPowerUsersLite(requestParameters?: UserApiFetchPowerUsersLiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserPowerLiteResponse>;
|
|
534
483
|
/**
|
|
535
484
|
* Fetches a list of users given a location
|
|
536
485
|
* @summary By location
|
|
@@ -544,7 +493,7 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
544
493
|
*/
|
|
545
494
|
fetchUsersByLocation(requestParameters: UserApiFetchUsersByLocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<UsersResponse>;
|
|
546
495
|
/**
|
|
547
|
-
* Follow a user
|
|
496
|
+
* Follow a user (In order to follow a user `signer_uuid` must be approved)
|
|
548
497
|
* @summary Follow user
|
|
549
498
|
* @param {UserApiFollowUserRequest} requestParameters Request parameters.
|
|
550
499
|
* @param {*} [options] Override http request option.
|
|
@@ -567,6 +516,18 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
567
516
|
*
|
|
568
517
|
*/
|
|
569
518
|
getFreshAccountFID(requestParameters?: UserApiGetFreshAccountFIDRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserFIDResponse>;
|
|
519
|
+
/**
|
|
520
|
+
* Returns the best friends of a user ranked by mutual affinity score based on interactions with each other.
|
|
521
|
+
* @summary Best friends
|
|
522
|
+
* @param {UserApiGetUserBestFriendsRequest} requestParameters Request parameters.
|
|
523
|
+
* @param {*} [options] Override http request option.
|
|
524
|
+
* @throws {RequiredError}
|
|
525
|
+
* @returns {Promise<BestFriendsResponse>} A promise that resolves to a `BestFriendsResponse` object
|
|
526
|
+
*
|
|
527
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-user-best-friends)
|
|
528
|
+
*
|
|
529
|
+
*/
|
|
530
|
+
getUserBestFriends(requestParameters: UserApiGetUserBestFriendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BestFriendsResponse>;
|
|
570
531
|
/**
|
|
571
532
|
* Lookup a user by custody-address
|
|
572
533
|
* @summary By custody-address
|
|
@@ -604,7 +565,7 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
604
565
|
*/
|
|
605
566
|
lookupUsersByXUsername(requestParameters: UserApiLookupUsersByXUsernameRequest, options?: RawAxiosRequestConfig): AxiosPromise<BulkUsersResponse>;
|
|
606
567
|
/**
|
|
607
|
-
* Adds verification for an eth address or contract for the user
|
|
568
|
+
* Adds verification for an eth address or contract for the user (In order to add verification `signer_uuid` must be approved)
|
|
608
569
|
* @summary Add verification
|
|
609
570
|
* @param {UserApiPublishVerificationRequest} requestParameters Request parameters.
|
|
610
571
|
* @param {*} [options] Override http request option.
|
|
@@ -616,7 +577,7 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
616
577
|
*/
|
|
617
578
|
publishVerification(requestParameters: UserApiPublishVerificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<OperationResponse>;
|
|
618
579
|
/**
|
|
619
|
-
* Register account on farcaster.
|
|
580
|
+
* Register account on farcaster. **Note:** This API must be called within 10 minutes of the fetch FID API call (i.e., /v2/farcaster/user/fid). Otherwise, Neynar will assign this FID to another available user.
|
|
620
581
|
* @summary Register new account
|
|
621
582
|
* @param {UserApiRegisterAccountRequest} requestParameters Request parameters.
|
|
622
583
|
* @param {*} [options] Override http request option.
|
|
@@ -640,7 +601,7 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
640
601
|
*/
|
|
641
602
|
searchUser(requestParameters: UserApiSearchUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserSearchResponse>;
|
|
642
603
|
/**
|
|
643
|
-
* Unfollow a user
|
|
604
|
+
* Unfollow a user (In order to unfollow a user `signer_uuid` must be approved)
|
|
644
605
|
* @summary Unfollow user
|
|
645
606
|
* @param {UserApiUnfollowUserRequest} requestParameters Request parameters.
|
|
646
607
|
* @param {*} [options] Override http request option.
|
|
@@ -652,7 +613,7 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
652
613
|
*/
|
|
653
614
|
unfollowUser(requestParameters: UserApiUnfollowUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<BulkFollowResponse>;
|
|
654
615
|
/**
|
|
655
|
-
* Update user profile
|
|
616
|
+
* Update user profile (In order to update user\'s profile `signer_uuid` must be approved)
|
|
656
617
|
* @summary Update user profile
|
|
657
618
|
* @param {UserApiUpdateUserRequest} requestParameters Request parameters.
|
|
658
619
|
* @param {*} [options] Override http request option.
|
|
@@ -671,7 +632,7 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
671
632
|
*/
|
|
672
633
|
export interface UserApiInterface {
|
|
673
634
|
/**
|
|
674
|
-
* Removes verification for an eth address for the user
|
|
635
|
+
* Removes verification for an eth address for the user (In order to delete verification `signer_uuid` must be approved)
|
|
675
636
|
* @summary Delete verification
|
|
676
637
|
* @param {UserApiDeleteVerificationRequest} requestParameters Request parameters.
|
|
677
638
|
* @param {*} [options] Override http request option.
|
|
@@ -709,32 +670,6 @@ export interface UserApiInterface {
|
|
|
709
670
|
*
|
|
710
671
|
*/
|
|
711
672
|
fetchBulkUsersByEthOrSolAddress(requestParameters: UserApiFetchBulkUsersByEthOrSolAddressRequest, options?: RawAxiosRequestConfig): AxiosPromise<BulkUsersByAddressResponse>;
|
|
712
|
-
/**
|
|
713
|
-
* Fetches power users based on Warpcast power badges. Information is updated once a day.
|
|
714
|
-
* @summary Power users
|
|
715
|
-
* @param {UserApiFetchPowerUsersRequest} requestParameters Request parameters.
|
|
716
|
-
* @param {*} [options] Override http request option.
|
|
717
|
-
* @throws {RequiredError}
|
|
718
|
-
* @memberof UserApiInterface
|
|
719
|
-
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
720
|
-
*
|
|
721
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users)
|
|
722
|
-
*
|
|
723
|
-
*/
|
|
724
|
-
fetchPowerUsers(requestParameters?: UserApiFetchPowerUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<UsersResponse>;
|
|
725
|
-
/**
|
|
726
|
-
* Fetches power users and respond in a backwards compatible format to Warpcast\'s deprecated power badge endpoint.
|
|
727
|
-
* @summary Power user FIDs
|
|
728
|
-
* @param {UserApiFetchPowerUsersLiteRequest} requestParameters Request parameters.
|
|
729
|
-
* @param {*} [options] Override http request option.
|
|
730
|
-
* @throws {RequiredError}
|
|
731
|
-
* @memberof UserApiInterface
|
|
732
|
-
* @returns {Promise<UserPowerLiteResponse>} A promise that resolves to a `UserPowerLiteResponse` object
|
|
733
|
-
*
|
|
734
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users-lite)
|
|
735
|
-
*
|
|
736
|
-
*/
|
|
737
|
-
fetchPowerUsersLite(requestParameters?: UserApiFetchPowerUsersLiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserPowerLiteResponse>;
|
|
738
673
|
/**
|
|
739
674
|
* Fetches a list of users given a location
|
|
740
675
|
* @summary By location
|
|
@@ -749,7 +684,7 @@ export interface UserApiInterface {
|
|
|
749
684
|
*/
|
|
750
685
|
fetchUsersByLocation(requestParameters: UserApiFetchUsersByLocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<UsersResponse>;
|
|
751
686
|
/**
|
|
752
|
-
* Follow a user
|
|
687
|
+
* Follow a user (In order to follow a user `signer_uuid` must be approved)
|
|
753
688
|
* @summary Follow user
|
|
754
689
|
* @param {UserApiFollowUserRequest} requestParameters Request parameters.
|
|
755
690
|
* @param {*} [options] Override http request option.
|
|
@@ -774,6 +709,19 @@ export interface UserApiInterface {
|
|
|
774
709
|
*
|
|
775
710
|
*/
|
|
776
711
|
getFreshAccountFID(requestParameters?: UserApiGetFreshAccountFIDRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserFIDResponse>;
|
|
712
|
+
/**
|
|
713
|
+
* Returns the best friends of a user ranked by mutual affinity score based on interactions with each other.
|
|
714
|
+
* @summary Best friends
|
|
715
|
+
* @param {UserApiGetUserBestFriendsRequest} requestParameters Request parameters.
|
|
716
|
+
* @param {*} [options] Override http request option.
|
|
717
|
+
* @throws {RequiredError}
|
|
718
|
+
* @memberof UserApiInterface
|
|
719
|
+
* @returns {Promise<BestFriendsResponse>} A promise that resolves to a `BestFriendsResponse` object
|
|
720
|
+
*
|
|
721
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-user-best-friends)
|
|
722
|
+
*
|
|
723
|
+
*/
|
|
724
|
+
getUserBestFriends(requestParameters: UserApiGetUserBestFriendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BestFriendsResponse>;
|
|
777
725
|
/**
|
|
778
726
|
* Lookup a user by custody-address
|
|
779
727
|
* @summary By custody-address
|
|
@@ -814,7 +762,7 @@ export interface UserApiInterface {
|
|
|
814
762
|
*/
|
|
815
763
|
lookupUsersByXUsername(requestParameters: UserApiLookupUsersByXUsernameRequest, options?: RawAxiosRequestConfig): AxiosPromise<BulkUsersResponse>;
|
|
816
764
|
/**
|
|
817
|
-
* Adds verification for an eth address or contract for the user
|
|
765
|
+
* Adds verification for an eth address or contract for the user (In order to add verification `signer_uuid` must be approved)
|
|
818
766
|
* @summary Add verification
|
|
819
767
|
* @param {UserApiPublishVerificationRequest} requestParameters Request parameters.
|
|
820
768
|
* @param {*} [options] Override http request option.
|
|
@@ -827,7 +775,7 @@ export interface UserApiInterface {
|
|
|
827
775
|
*/
|
|
828
776
|
publishVerification(requestParameters: UserApiPublishVerificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<OperationResponse>;
|
|
829
777
|
/**
|
|
830
|
-
* Register account on farcaster.
|
|
778
|
+
* Register account on farcaster. **Note:** This API must be called within 10 minutes of the fetch FID API call (i.e., /v2/farcaster/user/fid). Otherwise, Neynar will assign this FID to another available user.
|
|
831
779
|
* @summary Register new account
|
|
832
780
|
* @param {UserApiRegisterAccountRequest} requestParameters Request parameters.
|
|
833
781
|
* @param {*} [options] Override http request option.
|
|
@@ -853,7 +801,7 @@ export interface UserApiInterface {
|
|
|
853
801
|
*/
|
|
854
802
|
searchUser(requestParameters: UserApiSearchUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserSearchResponse>;
|
|
855
803
|
/**
|
|
856
|
-
* Unfollow a user
|
|
804
|
+
* Unfollow a user (In order to unfollow a user `signer_uuid` must be approved)
|
|
857
805
|
* @summary Unfollow user
|
|
858
806
|
* @param {UserApiUnfollowUserRequest} requestParameters Request parameters.
|
|
859
807
|
* @param {*} [options] Override http request option.
|
|
@@ -866,7 +814,7 @@ export interface UserApiInterface {
|
|
|
866
814
|
*/
|
|
867
815
|
unfollowUser(requestParameters: UserApiUnfollowUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<BulkFollowResponse>;
|
|
868
816
|
/**
|
|
869
|
-
* Update user profile
|
|
817
|
+
* Update user profile (In order to update user\'s profile `signer_uuid` must be approved)
|
|
870
818
|
* @summary Update user profile
|
|
871
819
|
* @param {UserApiUpdateUserRequest} requestParameters Request parameters.
|
|
872
820
|
* @param {*} [options] Override http request option.
|
|
@@ -911,23 +859,23 @@ export interface UserApiFetchBulkUsersRequest {
|
|
|
911
859
|
*/
|
|
912
860
|
readonly fids: string;
|
|
913
861
|
/**
|
|
862
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
914
863
|
*
|
|
915
864
|
*
|
|
916
|
-
*
|
|
917
|
-
*
|
|
918
|
-
* @type {number}
|
|
865
|
+
* @globalHeader
|
|
866
|
+
* @type {boolean}
|
|
919
867
|
* @memberof UserApiFetchBulkUsers
|
|
920
868
|
*/
|
|
921
|
-
readonly
|
|
869
|
+
readonly xNeynarExperimental?: boolean;
|
|
922
870
|
/**
|
|
923
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
924
871
|
*
|
|
925
872
|
*
|
|
926
|
-
*
|
|
927
|
-
*
|
|
873
|
+
*
|
|
874
|
+
*
|
|
875
|
+
* @type {number}
|
|
928
876
|
* @memberof UserApiFetchBulkUsers
|
|
929
877
|
*/
|
|
930
|
-
readonly
|
|
878
|
+
readonly viewerFid?: number;
|
|
931
879
|
}
|
|
932
880
|
/**
|
|
933
881
|
* Request parameters for fetchBulkUsersByEthOrSolAddress operation in UserApi.
|
|
@@ -944,24 +892,6 @@ export interface UserApiFetchBulkUsersByEthOrSolAddressRequest {
|
|
|
944
892
|
* @memberof UserApiFetchBulkUsersByEthOrSolAddress
|
|
945
893
|
*/
|
|
946
894
|
readonly addresses: string;
|
|
947
|
-
/**
|
|
948
|
-
* Customize which address types the request should search for. This is a comma-separated string that can include the following values: \'custody_address\' and \'verified_address\'. By default api returns both. To select multiple types, use a comma-separated list of these values.
|
|
949
|
-
*
|
|
950
|
-
*
|
|
951
|
-
*
|
|
952
|
-
* @type {Array<BulkUserAddressType>}
|
|
953
|
-
* @memberof UserApiFetchBulkUsersByEthOrSolAddress
|
|
954
|
-
*/
|
|
955
|
-
readonly addressTypes?: Array<BulkUserAddressType>;
|
|
956
|
-
/**
|
|
957
|
-
*
|
|
958
|
-
*
|
|
959
|
-
*
|
|
960
|
-
*
|
|
961
|
-
* @type {number}
|
|
962
|
-
* @memberof UserApiFetchBulkUsersByEthOrSolAddress
|
|
963
|
-
*/
|
|
964
|
-
readonly viewerFid?: number;
|
|
965
895
|
/**
|
|
966
896
|
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
967
897
|
*
|
|
@@ -971,65 +901,24 @@ export interface UserApiFetchBulkUsersByEthOrSolAddressRequest {
|
|
|
971
901
|
* @memberof UserApiFetchBulkUsersByEthOrSolAddress
|
|
972
902
|
*/
|
|
973
903
|
readonly xNeynarExperimental?: boolean;
|
|
974
|
-
}
|
|
975
|
-
/**
|
|
976
|
-
* Request parameters for fetchPowerUsers operation in UserApi.
|
|
977
|
-
* @export
|
|
978
|
-
* @interface UserApiFetchPowerUsersRequest
|
|
979
|
-
*/
|
|
980
|
-
export interface UserApiFetchPowerUsersRequest {
|
|
981
904
|
/**
|
|
905
|
+
* Customize which address types the request should search for. This is a comma-separated string that can include the following values: \'custody_address\' and \'verified_address\'. By default api returns both. To select multiple types, use a comma-separated list of these values.
|
|
982
906
|
*
|
|
983
907
|
*
|
|
984
908
|
*
|
|
985
|
-
*
|
|
986
|
-
* @
|
|
987
|
-
* @memberof UserApiFetchPowerUsers
|
|
988
|
-
*/
|
|
989
|
-
readonly viewerFid?: number;
|
|
990
|
-
/**
|
|
991
|
-
* Number of power users to fetch (Default: 25, Maximum: 100)
|
|
992
|
-
*
|
|
993
|
-
*
|
|
994
|
-
*
|
|
995
|
-
* @type {number}
|
|
996
|
-
* @memberof UserApiFetchPowerUsers
|
|
997
|
-
*/
|
|
998
|
-
readonly limit?: number;
|
|
999
|
-
/**
|
|
1000
|
-
* Pagination cursor.
|
|
1001
|
-
*
|
|
1002
|
-
*
|
|
1003
|
-
*
|
|
1004
|
-
* @type {string}
|
|
1005
|
-
* @memberof UserApiFetchPowerUsers
|
|
909
|
+
* @type {Array<'custody_address' | 'verified_address'>}
|
|
910
|
+
* @memberof UserApiFetchBulkUsersByEthOrSolAddress
|
|
1006
911
|
*/
|
|
1007
|
-
readonly
|
|
912
|
+
readonly addressTypes?: Array<FetchBulkUsersByEthOrSolAddressAddressTypesEnum>;
|
|
1008
913
|
/**
|
|
1009
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1010
914
|
*
|
|
1011
915
|
*
|
|
1012
|
-
* @globalHeader
|
|
1013
|
-
* @type {boolean}
|
|
1014
|
-
* @memberof UserApiFetchPowerUsers
|
|
1015
|
-
*/
|
|
1016
|
-
readonly xNeynarExperimental?: boolean;
|
|
1017
|
-
}
|
|
1018
|
-
/**
|
|
1019
|
-
* Request parameters for fetchPowerUsersLite operation in UserApi.
|
|
1020
|
-
* @export
|
|
1021
|
-
* @interface UserApiFetchPowerUsersLiteRequest
|
|
1022
|
-
*/
|
|
1023
|
-
export interface UserApiFetchPowerUsersLiteRequest {
|
|
1024
|
-
/**
|
|
1025
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1026
916
|
*
|
|
1027
917
|
*
|
|
1028
|
-
* @
|
|
1029
|
-
* @
|
|
1030
|
-
* @memberof UserApiFetchPowerUsersLite
|
|
918
|
+
* @type {number}
|
|
919
|
+
* @memberof UserApiFetchBulkUsersByEthOrSolAddress
|
|
1031
920
|
*/
|
|
1032
|
-
readonly
|
|
921
|
+
readonly viewerFid?: number;
|
|
1033
922
|
}
|
|
1034
923
|
/**
|
|
1035
924
|
* Request parameters for fetchUsersByLocation operation in UserApi.
|
|
@@ -1045,7 +934,7 @@ export interface UserApiFetchUsersByLocationRequest {
|
|
|
1045
934
|
* @type {number}
|
|
1046
935
|
* @memberof UserApiFetchUsersByLocation
|
|
1047
936
|
*/
|
|
1048
|
-
readonly latitude: number;
|
|
937
|
+
readonly latitude: number | null;
|
|
1049
938
|
/**
|
|
1050
939
|
* Longitude of the location
|
|
1051
940
|
*
|
|
@@ -1054,7 +943,16 @@ export interface UserApiFetchUsersByLocationRequest {
|
|
|
1054
943
|
* @type {number}
|
|
1055
944
|
* @memberof UserApiFetchUsersByLocation
|
|
1056
945
|
*/
|
|
1057
|
-
readonly longitude: number;
|
|
946
|
+
readonly longitude: number | null;
|
|
947
|
+
/**
|
|
948
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
949
|
+
*
|
|
950
|
+
*
|
|
951
|
+
* @globalHeader
|
|
952
|
+
* @type {boolean}
|
|
953
|
+
* @memberof UserApiFetchUsersByLocation
|
|
954
|
+
*/
|
|
955
|
+
readonly xNeynarExperimental?: boolean;
|
|
1058
956
|
/**
|
|
1059
957
|
* FID of the user viewing the feed. Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
1060
958
|
*
|
|
@@ -1082,15 +980,6 @@ export interface UserApiFetchUsersByLocationRequest {
|
|
|
1082
980
|
* @memberof UserApiFetchUsersByLocation
|
|
1083
981
|
*/
|
|
1084
982
|
readonly cursor?: string;
|
|
1085
|
-
/**
|
|
1086
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1087
|
-
*
|
|
1088
|
-
*
|
|
1089
|
-
* @globalHeader
|
|
1090
|
-
* @type {boolean}
|
|
1091
|
-
* @memberof UserApiFetchUsersByLocation
|
|
1092
|
-
*/
|
|
1093
|
-
readonly xNeynarExperimental?: boolean;
|
|
1094
983
|
}
|
|
1095
984
|
/**
|
|
1096
985
|
* Request parameters for followUser operation in UserApi.
|
|
@@ -1124,6 +1013,40 @@ export interface UserApiGetFreshAccountFIDRequest {
|
|
|
1124
1013
|
*/
|
|
1125
1014
|
readonly xNeynarExperimental?: boolean;
|
|
1126
1015
|
}
|
|
1016
|
+
/**
|
|
1017
|
+
* Request parameters for getUserBestFriends operation in UserApi.
|
|
1018
|
+
* @export
|
|
1019
|
+
* @interface UserApiGetUserBestFriendsRequest
|
|
1020
|
+
*/
|
|
1021
|
+
export interface UserApiGetUserBestFriendsRequest {
|
|
1022
|
+
/**
|
|
1023
|
+
* The FID of the user
|
|
1024
|
+
*
|
|
1025
|
+
*
|
|
1026
|
+
*
|
|
1027
|
+
* @type {number}
|
|
1028
|
+
* @memberof UserApiGetUserBestFriends
|
|
1029
|
+
*/
|
|
1030
|
+
readonly fid: number;
|
|
1031
|
+
/**
|
|
1032
|
+
* Number of results to fetch (Default: 3, Maximum: 100)
|
|
1033
|
+
*
|
|
1034
|
+
*
|
|
1035
|
+
*
|
|
1036
|
+
* @type {number}
|
|
1037
|
+
* @memberof UserApiGetUserBestFriends
|
|
1038
|
+
*/
|
|
1039
|
+
readonly limit?: number;
|
|
1040
|
+
/**
|
|
1041
|
+
* Pagination cursor
|
|
1042
|
+
*
|
|
1043
|
+
*
|
|
1044
|
+
*
|
|
1045
|
+
* @type {string}
|
|
1046
|
+
* @memberof UserApiGetUserBestFriends
|
|
1047
|
+
*/
|
|
1048
|
+
readonly cursor?: string;
|
|
1049
|
+
}
|
|
1127
1050
|
/**
|
|
1128
1051
|
* Request parameters for lookupUserByCustodyAddress operation in UserApi.
|
|
1129
1052
|
* @export
|
|
@@ -1156,23 +1079,23 @@ export interface UserApiLookupUserByUsernameRequest {
|
|
|
1156
1079
|
*/
|
|
1157
1080
|
readonly username: string;
|
|
1158
1081
|
/**
|
|
1082
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1159
1083
|
*
|
|
1160
1084
|
*
|
|
1161
|
-
*
|
|
1162
|
-
*
|
|
1163
|
-
* @type {number}
|
|
1085
|
+
* @globalHeader
|
|
1086
|
+
* @type {boolean}
|
|
1164
1087
|
* @memberof UserApiLookupUserByUsername
|
|
1165
1088
|
*/
|
|
1166
|
-
readonly
|
|
1089
|
+
readonly xNeynarExperimental?: boolean;
|
|
1167
1090
|
/**
|
|
1168
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1169
1091
|
*
|
|
1170
1092
|
*
|
|
1171
|
-
*
|
|
1172
|
-
*
|
|
1093
|
+
*
|
|
1094
|
+
*
|
|
1095
|
+
* @type {number}
|
|
1173
1096
|
* @memberof UserApiLookupUserByUsername
|
|
1174
1097
|
*/
|
|
1175
|
-
readonly
|
|
1098
|
+
readonly viewerFid?: number;
|
|
1176
1099
|
}
|
|
1177
1100
|
/**
|
|
1178
1101
|
* Request parameters for lookupUsersByXUsername operation in UserApi.
|
|
@@ -1190,23 +1113,23 @@ export interface UserApiLookupUsersByXUsernameRequest {
|
|
|
1190
1113
|
*/
|
|
1191
1114
|
readonly xUsername: string;
|
|
1192
1115
|
/**
|
|
1193
|
-
*
|
|
1194
|
-
*
|
|
1116
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1195
1117
|
*
|
|
1196
1118
|
*
|
|
1197
|
-
* @
|
|
1119
|
+
* @globalHeader
|
|
1120
|
+
* @type {boolean}
|
|
1198
1121
|
* @memberof UserApiLookupUsersByXUsername
|
|
1199
1122
|
*/
|
|
1200
|
-
readonly
|
|
1123
|
+
readonly xNeynarExperimental?: boolean;
|
|
1201
1124
|
/**
|
|
1202
|
-
*
|
|
1125
|
+
* FID of the viewer for contextual information like follows and blocks
|
|
1203
1126
|
*
|
|
1204
1127
|
*
|
|
1205
|
-
*
|
|
1206
|
-
* @type {
|
|
1128
|
+
*
|
|
1129
|
+
* @type {number}
|
|
1207
1130
|
* @memberof UserApiLookupUsersByXUsername
|
|
1208
1131
|
*/
|
|
1209
|
-
readonly
|
|
1132
|
+
readonly viewerFid?: number;
|
|
1210
1133
|
}
|
|
1211
1134
|
/**
|
|
1212
1135
|
* Request parameters for publishVerification operation in UserApi.
|
|
@@ -1255,6 +1178,15 @@ export interface UserApiSearchUserRequest {
|
|
|
1255
1178
|
* @memberof UserApiSearchUser
|
|
1256
1179
|
*/
|
|
1257
1180
|
readonly q: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1183
|
+
*
|
|
1184
|
+
*
|
|
1185
|
+
* @globalHeader
|
|
1186
|
+
* @type {boolean}
|
|
1187
|
+
* @memberof UserApiSearchUser
|
|
1188
|
+
*/
|
|
1189
|
+
readonly xNeynarExperimental?: boolean;
|
|
1258
1190
|
/**
|
|
1259
1191
|
* Providing this will return search results that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
1260
1192
|
*
|
|
@@ -1282,15 +1214,6 @@ export interface UserApiSearchUserRequest {
|
|
|
1282
1214
|
* @memberof UserApiSearchUser
|
|
1283
1215
|
*/
|
|
1284
1216
|
readonly cursor?: string;
|
|
1285
|
-
/**
|
|
1286
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1287
|
-
*
|
|
1288
|
-
*
|
|
1289
|
-
* @globalHeader
|
|
1290
|
-
* @type {boolean}
|
|
1291
|
-
* @memberof UserApiSearchUser
|
|
1292
|
-
*/
|
|
1293
|
-
readonly xNeynarExperimental?: boolean;
|
|
1294
1217
|
}
|
|
1295
1218
|
/**
|
|
1296
1219
|
* Request parameters for unfollowUser operation in UserApi.
|
|
@@ -1332,7 +1255,7 @@ export interface UserApiUpdateUserRequest {
|
|
|
1332
1255
|
*/
|
|
1333
1256
|
export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
1334
1257
|
/**
|
|
1335
|
-
* Removes verification for an eth address for the user
|
|
1258
|
+
* Removes verification for an eth address for the user (In order to delete verification `signer_uuid` must be approved)
|
|
1336
1259
|
* @summary Delete verification
|
|
1337
1260
|
* @param {UserApiDeleteVerificationRequest} requestParameters Request parameters.
|
|
1338
1261
|
* @param {*} [options] Override http request option.
|
|
@@ -1370,32 +1293,6 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
1370
1293
|
*
|
|
1371
1294
|
*/
|
|
1372
1295
|
fetchBulkUsersByEthOrSolAddress(requestParameters: UserApiFetchBulkUsersByEthOrSolAddressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BulkUsersByAddressResponse, any>>;
|
|
1373
|
-
/**
|
|
1374
|
-
* Fetches power users based on Warpcast power badges. Information is updated once a day.
|
|
1375
|
-
* @summary Power users
|
|
1376
|
-
* @param {UserApiFetchPowerUsersRequest} requestParameters Request parameters.
|
|
1377
|
-
* @param {*} [options] Override http request option.
|
|
1378
|
-
* @throws {RequiredError}
|
|
1379
|
-
* @memberof UserApi
|
|
1380
|
-
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
1381
|
-
*
|
|
1382
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users)
|
|
1383
|
-
*
|
|
1384
|
-
*/
|
|
1385
|
-
fetchPowerUsers(requestParameters?: UserApiFetchPowerUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UsersResponse, any>>;
|
|
1386
|
-
/**
|
|
1387
|
-
* Fetches power users and respond in a backwards compatible format to Warpcast\'s deprecated power badge endpoint.
|
|
1388
|
-
* @summary Power user FIDs
|
|
1389
|
-
* @param {UserApiFetchPowerUsersLiteRequest} requestParameters Request parameters.
|
|
1390
|
-
* @param {*} [options] Override http request option.
|
|
1391
|
-
* @throws {RequiredError}
|
|
1392
|
-
* @memberof UserApi
|
|
1393
|
-
* @returns {Promise<UserPowerLiteResponse>} A promise that resolves to a `UserPowerLiteResponse` object
|
|
1394
|
-
*
|
|
1395
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-power-users-lite)
|
|
1396
|
-
*
|
|
1397
|
-
*/
|
|
1398
|
-
fetchPowerUsersLite(requestParameters?: UserApiFetchPowerUsersLiteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPowerLiteResponse, any>>;
|
|
1399
1296
|
/**
|
|
1400
1297
|
* Fetches a list of users given a location
|
|
1401
1298
|
* @summary By location
|
|
@@ -1410,7 +1307,7 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
1410
1307
|
*/
|
|
1411
1308
|
fetchUsersByLocation(requestParameters: UserApiFetchUsersByLocationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UsersResponse, any>>;
|
|
1412
1309
|
/**
|
|
1413
|
-
* Follow a user
|
|
1310
|
+
* Follow a user (In order to follow a user `signer_uuid` must be approved)
|
|
1414
1311
|
* @summary Follow user
|
|
1415
1312
|
* @param {UserApiFollowUserRequest} requestParameters Request parameters.
|
|
1416
1313
|
* @param {*} [options] Override http request option.
|
|
@@ -1435,6 +1332,19 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
1435
1332
|
*
|
|
1436
1333
|
*/
|
|
1437
1334
|
getFreshAccountFID(requestParameters?: UserApiGetFreshAccountFIDRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserFIDResponse, any>>;
|
|
1335
|
+
/**
|
|
1336
|
+
* Returns the best friends of a user ranked by mutual affinity score based on interactions with each other.
|
|
1337
|
+
* @summary Best friends
|
|
1338
|
+
* @param {UserApiGetUserBestFriendsRequest} requestParameters Request parameters.
|
|
1339
|
+
* @param {*} [options] Override http request option.
|
|
1340
|
+
* @throws {RequiredError}
|
|
1341
|
+
* @memberof UserApi
|
|
1342
|
+
* @returns {Promise<BestFriendsResponse>} A promise that resolves to a `BestFriendsResponse` object
|
|
1343
|
+
*
|
|
1344
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-user-best-friends)
|
|
1345
|
+
*
|
|
1346
|
+
*/
|
|
1347
|
+
getUserBestFriends(requestParameters: UserApiGetUserBestFriendsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BestFriendsResponse, any>>;
|
|
1438
1348
|
/**
|
|
1439
1349
|
* Lookup a user by custody-address
|
|
1440
1350
|
* @summary By custody-address
|
|
@@ -1475,7 +1385,7 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
1475
1385
|
*/
|
|
1476
1386
|
lookupUsersByXUsername(requestParameters: UserApiLookupUsersByXUsernameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BulkUsersResponse, any>>;
|
|
1477
1387
|
/**
|
|
1478
|
-
* Adds verification for an eth address or contract for the user
|
|
1388
|
+
* Adds verification for an eth address or contract for the user (In order to add verification `signer_uuid` must be approved)
|
|
1479
1389
|
* @summary Add verification
|
|
1480
1390
|
* @param {UserApiPublishVerificationRequest} requestParameters Request parameters.
|
|
1481
1391
|
* @param {*} [options] Override http request option.
|
|
@@ -1488,7 +1398,7 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
1488
1398
|
*/
|
|
1489
1399
|
publishVerification(requestParameters: UserApiPublishVerificationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationResponse, any>>;
|
|
1490
1400
|
/**
|
|
1491
|
-
* Register account on farcaster.
|
|
1401
|
+
* Register account on farcaster. **Note:** This API must be called within 10 minutes of the fetch FID API call (i.e., /v2/farcaster/user/fid). Otherwise, Neynar will assign this FID to another available user.
|
|
1492
1402
|
* @summary Register new account
|
|
1493
1403
|
* @param {UserApiRegisterAccountRequest} requestParameters Request parameters.
|
|
1494
1404
|
* @param {*} [options] Override http request option.
|
|
@@ -1514,7 +1424,7 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
1514
1424
|
*/
|
|
1515
1425
|
searchUser(requestParameters: UserApiSearchUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserSearchResponse, any>>;
|
|
1516
1426
|
/**
|
|
1517
|
-
* Unfollow a user
|
|
1427
|
+
* Unfollow a user (In order to unfollow a user `signer_uuid` must be approved)
|
|
1518
1428
|
* @summary Unfollow user
|
|
1519
1429
|
* @param {UserApiUnfollowUserRequest} requestParameters Request parameters.
|
|
1520
1430
|
* @param {*} [options] Override http request option.
|
|
@@ -1527,7 +1437,7 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
1527
1437
|
*/
|
|
1528
1438
|
unfollowUser(requestParameters: UserApiUnfollowUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BulkFollowResponse, any>>;
|
|
1529
1439
|
/**
|
|
1530
|
-
* Update user profile
|
|
1440
|
+
* Update user profile (In order to update user\'s profile `signer_uuid` must be approved)
|
|
1531
1441
|
* @summary Update user profile
|
|
1532
1442
|
* @param {UserApiUpdateUserRequest} requestParameters Request parameters.
|
|
1533
1443
|
* @param {*} [options] Override http request option.
|
|
@@ -1540,3 +1450,11 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
1540
1450
|
*/
|
|
1541
1451
|
updateUser(requestParameters: UserApiUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationResponse, any>>;
|
|
1542
1452
|
}
|
|
1453
|
+
/**
|
|
1454
|
+
* @export
|
|
1455
|
+
*/
|
|
1456
|
+
export declare const FetchBulkUsersByEthOrSolAddressAddressTypesEnum: {
|
|
1457
|
+
readonly CustodyAddress: "custody_address";
|
|
1458
|
+
readonly VerifiedAddress: "verified_address";
|
|
1459
|
+
};
|
|
1460
|
+
export type FetchBulkUsersByEthOrSolAddressAddressTypesEnum = typeof FetchBulkUsersByEthOrSolAddressAddressTypesEnum[keyof typeof FetchBulkUsersByEthOrSolAddressAddressTypesEnum];
|