@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,12 +13,7 @@ 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 { BulkCastsResponse } from '../models';
|
|
16
|
-
import type { EmbedType } from '../models';
|
|
17
16
|
import type { FeedResponse } from '../models';
|
|
18
|
-
import type { FeedTrendingProvider } from '../models';
|
|
19
|
-
import type { FeedType } from '../models';
|
|
20
|
-
import type { FilterType } from '../models';
|
|
21
|
-
import type { ForYouProvider } from '../models';
|
|
22
17
|
/**
|
|
23
18
|
* FeedApi - axios parameter creator
|
|
24
19
|
* @export
|
|
@@ -28,14 +23,14 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
28
23
|
* Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
|
|
29
24
|
* @summary Chronologically
|
|
30
25
|
* @param {number} fid FID of user whose recent casts you want to fetch
|
|
26
|
+
* @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.
|
|
31
27
|
* @param {number} [appFid] Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
|
|
32
28
|
* @param {number} [viewerFid] FID of the user viewing the feed
|
|
33
29
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 150)
|
|
34
30
|
* @param {string} [cursor] Pagination cursor
|
|
35
|
-
* @param {boolean} [includeReplies] Include reply casts by the author in the response, true by default
|
|
31
|
+
* @param {boolean | null} [includeReplies] Include reply casts by the author in the response, true by default
|
|
36
32
|
* @param {string} [parentUrl] Parent URL to filter the feed; mutually exclusive with channel_id
|
|
37
33
|
* @param {string} [channelId] Channel ID to filter the feed; mutually exclusive with parent_url
|
|
38
|
-
* @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.
|
|
39
34
|
* @param {*} [options] Override http request option.
|
|
40
35
|
* @throws {RequiredError}
|
|
41
36
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -43,24 +38,24 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
43
38
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
|
|
44
39
|
*
|
|
45
40
|
*/
|
|
46
|
-
fetchCastsForUser: (fid: number, appFid?: number, viewerFid?: number, limit?: number, cursor?: string, includeReplies?: boolean, parentUrl?: string, channelId?: string,
|
|
41
|
+
fetchCastsForUser: (fid: number, xNeynarExperimental?: boolean, appFid?: number, viewerFid?: number, limit?: number, cursor?: string, includeReplies?: boolean | null, parentUrl?: string, channelId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
42
|
/**
|
|
48
43
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
49
44
|
* @summary By filters
|
|
50
|
-
* @param {
|
|
51
|
-
* @param {
|
|
45
|
+
* @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.
|
|
46
|
+
* @param {FetchFeedFeedTypeEnum} [feedType] Defaults to following (requires FID or address). If set to filter (requires filter_type)
|
|
47
|
+
* @param {FetchFeedFilterTypeEnum} [filterType] Used when feed_type=filter. Can be set to FIDs (requires FIDs) or parent_url (requires parent_url) or channel_id (requires channel_id)
|
|
52
48
|
* @param {number} [fid] (Optional) FID of user whose feed you want to create. By default, the API expects this field, except if you pass a filter_type
|
|
53
49
|
* @param {string} [fids] Used when filter_type=FIDs . Create a feed based on a list of FIDs. Max array size is 100. Requires feed_type and filter_type.
|
|
54
50
|
* @param {string} [parentUrl] Used when filter_type=parent_url can be used to fetch content under any parent url e.g. FIP-2 channels on Warpcast. Requires feed_type and filter_type.
|
|
55
51
|
* @param {string} [channelId] Used when filter_type=channel_id can be used to fetch casts under a channel. Requires feed_type and filter_type.
|
|
56
|
-
* @param {boolean} [membersOnly] Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
52
|
+
* @param {boolean | null} [membersOnly] Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
57
53
|
* @param {string} [embedUrl] Used when filter_type=embed_url. Casts with embedded URLs prefixed by this embed_url param will be returned. We normalize your given URL prefix and prepend \'https://\' if no protocol is included. Requires feed_type and filter_type.
|
|
58
|
-
* @param {Array<
|
|
59
|
-
* @param {boolean} [withRecasts] Include recasts in the response, true by default
|
|
54
|
+
* @param {Array<FetchFeedEmbedTypesEnum>} [embedTypes] Used when filter_type=embed_types can be used to fetch all casts with matching content types. Requires feed_type and filter_type.
|
|
55
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
60
56
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
61
57
|
* @param {string} [cursor] Pagination cursor.
|
|
62
58
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
63
|
-
* @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.
|
|
64
59
|
* @param {*} [options] Override http request option.
|
|
65
60
|
* @throws {RequiredError}
|
|
66
61
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -68,20 +63,20 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
68
63
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed)
|
|
69
64
|
*
|
|
70
65
|
*/
|
|
71
|
-
fetchFeed: (feedType
|
|
66
|
+
fetchFeed: (xNeynarExperimental?: boolean, feedType?: FetchFeedFeedTypeEnum, filterType?: FetchFeedFilterTypeEnum, fid?: number, fids?: string, parentUrl?: string, channelId?: string, membersOnly?: boolean | null, embedUrl?: string, embedTypes?: Array<FetchFeedEmbedTypesEnum>, withRecasts?: boolean | null, limit?: number, cursor?: string, viewerFid?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
72
67
|
/**
|
|
73
68
|
* Fetch feed based on channel IDs
|
|
74
69
|
* @summary By channel IDs
|
|
75
70
|
* @param {string} channelIds Comma separated list of up to 10 channel IDs e.g. neynar,farcaster
|
|
76
|
-
* @param {boolean} [
|
|
71
|
+
* @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.
|
|
72
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
77
73
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
78
|
-
* @param {boolean} [withReplies] Include replies in the response, false by default
|
|
79
|
-
* @param {boolean} [membersOnly] Only include casts from members of the channel. True by default.
|
|
74
|
+
* @param {boolean | null} [withReplies] Include replies in the response, false by default
|
|
75
|
+
* @param {boolean | null} [membersOnly] Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
80
76
|
* @param {string} [fids] Comma separated list of FIDs to filter the feed by, up to 10 at a time
|
|
81
77
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
82
78
|
* @param {string} [cursor] Pagination cursor.
|
|
83
|
-
* @param {boolean} [shouldModerate] If true, only casts that have been liked by the moderator (if one exists) will be returned.
|
|
84
|
-
* @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.
|
|
79
|
+
* @param {boolean | null} [shouldModerate] If true, only casts that have been liked by the moderator (if one exists) will be returned.
|
|
85
80
|
* @param {*} [options] Override http request option.
|
|
86
81
|
* @throws {RequiredError}
|
|
87
82
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -89,17 +84,17 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
89
84
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-channel-ids)
|
|
90
85
|
*
|
|
91
86
|
*/
|
|
92
|
-
fetchFeedByChannelIds: (channelIds: string, withRecasts?: boolean, viewerFid?: number, withReplies?: boolean, membersOnly?: boolean, fids?: string, limit?: number, cursor?: string, shouldModerate?: boolean
|
|
87
|
+
fetchFeedByChannelIds: (channelIds: string, xNeynarExperimental?: boolean, withRecasts?: boolean | null, viewerFid?: number, withReplies?: boolean | null, membersOnly?: boolean | null, fids?: string, limit?: number, cursor?: string, shouldModerate?: boolean | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
93
88
|
/**
|
|
94
89
|
* Fetch feed based on parent URLs
|
|
95
90
|
* @summary By parent URLs
|
|
96
91
|
* @param {string} parentUrls Comma separated list of parent_urls
|
|
97
|
-
* @param {boolean} [
|
|
92
|
+
* @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.
|
|
93
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
98
94
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
99
|
-
* @param {boolean} [withReplies] Include replies in the response, false by default
|
|
95
|
+
* @param {boolean | null} [withReplies] Include replies in the response, false by default
|
|
100
96
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
101
97
|
* @param {string} [cursor] Pagination cursor.
|
|
102
|
-
* @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.
|
|
103
98
|
* @param {*} [options] Override http request option.
|
|
104
99
|
* @throws {RequiredError}
|
|
105
100
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -107,17 +102,16 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
107
102
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-parent-urls)
|
|
108
103
|
*
|
|
109
104
|
*/
|
|
110
|
-
fetchFeedByParentUrls: (parentUrls: string, withRecasts?: boolean, viewerFid?: number, withReplies?: boolean, limit?: number, cursor?: string,
|
|
105
|
+
fetchFeedByParentUrls: (parentUrls: string, xNeynarExperimental?: boolean, withRecasts?: boolean | null, viewerFid?: number, withReplies?: boolean | null, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
111
106
|
/**
|
|
112
107
|
* Fetch a personalized For You feed for a user
|
|
113
108
|
* @summary For you
|
|
114
109
|
* @param {number} fid FID of user whose feed you want to create
|
|
110
|
+
* @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.
|
|
115
111
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
116
|
-
* @param {
|
|
112
|
+
* @param {FetchFeedForYouProviderEnum} [provider] The provider of the For You feed.
|
|
117
113
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 50)
|
|
118
114
|
* @param {string} [cursor] Pagination cursor.
|
|
119
|
-
* @param {string} [providerMetadata] provider_metadata is a URI-encoded stringified JSON object that can be used to pass additional metadata to the provider. Only available for mbd provider right now. See [here](https://docs.neynar.com/docs/feed-for-you-w-external-providers) on how to use.
|
|
120
|
-
* @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.
|
|
121
115
|
* @param {*} [options] Override http request option.
|
|
122
116
|
* @throws {RequiredError}
|
|
123
117
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -125,14 +119,14 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
125
119
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-for-you)
|
|
126
120
|
*
|
|
127
121
|
*/
|
|
128
|
-
fetchFeedForYou: (fid: number, viewerFid?: number, provider?:
|
|
122
|
+
fetchFeedForYou: (fid: number, xNeynarExperimental?: boolean, viewerFid?: number, provider?: FetchFeedForYouProviderEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
129
123
|
/**
|
|
130
124
|
* Fetch feed of casts with mini apps, reverse chronological order
|
|
131
125
|
* @summary Casts with mini apps
|
|
126
|
+
* @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.
|
|
132
127
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
133
128
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
134
129
|
* @param {string} [cursor] Pagination cursor.
|
|
135
|
-
* @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.
|
|
136
130
|
* @param {*} [options] Override http request option.
|
|
137
131
|
* @throws {RequiredError}
|
|
138
132
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -140,7 +134,7 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
140
134
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frames-only-feed)
|
|
141
135
|
*
|
|
142
136
|
*/
|
|
143
|
-
fetchFramesOnlyFeed: (limit?: number, viewerFid?: number, cursor?: string,
|
|
137
|
+
fetchFramesOnlyFeed: (xNeynarExperimental?: boolean, limit?: number, viewerFid?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
144
138
|
/**
|
|
145
139
|
* Fetch 10 most popular casts for a given user FID; popularity based on replies, likes and recasts; sorted by most popular first
|
|
146
140
|
* @summary 10 most popular casts
|
|
@@ -158,7 +152,7 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
158
152
|
* Fetch recent replies and recasts for a given user FID; sorted by most recent first
|
|
159
153
|
* @summary Replies and recasts
|
|
160
154
|
* @param {number} fid FID of user whose replies and recasts you want to fetch
|
|
161
|
-
* @param {FetchRepliesAndRecastsForUserFilterEnum} [filter]
|
|
155
|
+
* @param {FetchRepliesAndRecastsForUserFilterEnum} [filter] Filter to fetch only replies or recasts
|
|
162
156
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 50)
|
|
163
157
|
* @param {string} [cursor] Pagination cursor.
|
|
164
158
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
@@ -173,15 +167,15 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
173
167
|
/**
|
|
174
168
|
* Fetch trending casts or on the global feed or channels feeds. 7d time window available for channel feeds only.
|
|
175
169
|
* @summary Trending feeds
|
|
170
|
+
* @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.
|
|
176
171
|
* @param {number} [limit] Number of results to fetch (Default: 10, Maximum: 10)
|
|
177
172
|
* @param {string} [cursor] Pagination cursor
|
|
178
173
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
179
174
|
* @param {FetchTrendingFeedTimeWindowEnum} [timeWindow] Time window for trending casts (7d window for channel feeds only)
|
|
180
175
|
* @param {string} [channelId] Channel ID to filter trending casts. Less active channels might have no casts in the time window selected. Provide either `channel_id` or `parent_url`, not both.
|
|
181
176
|
* @param {string} [parentUrl] Parent URL to filter trending casts. Less active channels might have no casts in the time window selected. Provide either `channel_id` or `parent_url`, not both.
|
|
182
|
-
* @param {
|
|
177
|
+
* @param {FetchTrendingFeedProviderEnum} [provider] The provider of the trending casts feed.
|
|
183
178
|
* @param {string} [providerMetadata] provider_metadata is a URI-encoded stringified JSON object that can be used to pass additional metadata to the provider. Only available for mbd provider right now. See [here](https://docs.neynar.com/docs/feed-for-you-w-external-providers) on how to use.
|
|
184
|
-
* @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.
|
|
185
179
|
* @param {*} [options] Override http request option.
|
|
186
180
|
* @throws {RequiredError}
|
|
187
181
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -189,16 +183,16 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
189
183
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-trending-feed)
|
|
190
184
|
*
|
|
191
185
|
*/
|
|
192
|
-
fetchTrendingFeed: (limit?: number, cursor?: string, viewerFid?: number, timeWindow?: FetchTrendingFeedTimeWindowEnum, channelId?: string, parentUrl?: string, provider?:
|
|
186
|
+
fetchTrendingFeed: (xNeynarExperimental?: boolean, limit?: number, cursor?: string, viewerFid?: number, timeWindow?: FetchTrendingFeedTimeWindowEnum, channelId?: string, parentUrl?: string, provider?: FetchTrendingFeedProviderEnum, providerMetadata?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
193
187
|
/**
|
|
194
188
|
* Fetch feed based on who a user is following
|
|
195
189
|
* @summary Following
|
|
196
190
|
* @param {number} fid FID of user whose feed you want to create
|
|
191
|
+
* @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.
|
|
197
192
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
198
|
-
* @param {boolean} [withRecasts] Include recasts in the response, true by default
|
|
193
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
199
194
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
200
195
|
* @param {string} [cursor] Pagination cursor.
|
|
201
|
-
* @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.
|
|
202
196
|
* @param {*} [options] Override http request option.
|
|
203
197
|
* @throws {RequiredError}
|
|
204
198
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -206,7 +200,7 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
206
200
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-following-feed)
|
|
207
201
|
*
|
|
208
202
|
*/
|
|
209
|
-
fetchUserFollowingFeed: (fid: number, viewerFid?: number, withRecasts?: boolean, limit?: number, cursor?: string,
|
|
203
|
+
fetchUserFollowingFeed: (fid: number, xNeynarExperimental?: boolean, viewerFid?: number, withRecasts?: boolean | null, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
210
204
|
};
|
|
211
205
|
/**
|
|
212
206
|
* FeedApi - functional programming interface
|
|
@@ -217,14 +211,14 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
217
211
|
* Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
|
|
218
212
|
* @summary Chronologically
|
|
219
213
|
* @param {number} fid FID of user whose recent casts you want to fetch
|
|
214
|
+
* @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.
|
|
220
215
|
* @param {number} [appFid] Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
|
|
221
216
|
* @param {number} [viewerFid] FID of the user viewing the feed
|
|
222
217
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 150)
|
|
223
218
|
* @param {string} [cursor] Pagination cursor
|
|
224
|
-
* @param {boolean} [includeReplies] Include reply casts by the author in the response, true by default
|
|
219
|
+
* @param {boolean | null} [includeReplies] Include reply casts by the author in the response, true by default
|
|
225
220
|
* @param {string} [parentUrl] Parent URL to filter the feed; mutually exclusive with channel_id
|
|
226
221
|
* @param {string} [channelId] Channel ID to filter the feed; mutually exclusive with parent_url
|
|
227
|
-
* @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.
|
|
228
222
|
* @param {*} [options] Override http request option.
|
|
229
223
|
* @throws {RequiredError}
|
|
230
224
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -232,24 +226,24 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
232
226
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
|
|
233
227
|
*
|
|
234
228
|
*/
|
|
235
|
-
fetchCastsForUser(fid: number, appFid?: number, viewerFid?: number, limit?: number, cursor?: string, includeReplies?: boolean, parentUrl?: string, channelId?: string,
|
|
229
|
+
fetchCastsForUser(fid: number, xNeynarExperimental?: boolean, appFid?: number, viewerFid?: number, limit?: number, cursor?: string, includeReplies?: boolean | null, parentUrl?: string, channelId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedResponse>>;
|
|
236
230
|
/**
|
|
237
231
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
238
232
|
* @summary By filters
|
|
239
|
-
* @param {
|
|
240
|
-
* @param {
|
|
233
|
+
* @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.
|
|
234
|
+
* @param {FetchFeedFeedTypeEnum} [feedType] Defaults to following (requires FID or address). If set to filter (requires filter_type)
|
|
235
|
+
* @param {FetchFeedFilterTypeEnum} [filterType] Used when feed_type=filter. Can be set to FIDs (requires FIDs) or parent_url (requires parent_url) or channel_id (requires channel_id)
|
|
241
236
|
* @param {number} [fid] (Optional) FID of user whose feed you want to create. By default, the API expects this field, except if you pass a filter_type
|
|
242
237
|
* @param {string} [fids] Used when filter_type=FIDs . Create a feed based on a list of FIDs. Max array size is 100. Requires feed_type and filter_type.
|
|
243
238
|
* @param {string} [parentUrl] Used when filter_type=parent_url can be used to fetch content under any parent url e.g. FIP-2 channels on Warpcast. Requires feed_type and filter_type.
|
|
244
239
|
* @param {string} [channelId] Used when filter_type=channel_id can be used to fetch casts under a channel. Requires feed_type and filter_type.
|
|
245
|
-
* @param {boolean} [membersOnly] Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
240
|
+
* @param {boolean | null} [membersOnly] Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
246
241
|
* @param {string} [embedUrl] Used when filter_type=embed_url. Casts with embedded URLs prefixed by this embed_url param will be returned. We normalize your given URL prefix and prepend \'https://\' if no protocol is included. Requires feed_type and filter_type.
|
|
247
|
-
* @param {Array<
|
|
248
|
-
* @param {boolean} [withRecasts] Include recasts in the response, true by default
|
|
242
|
+
* @param {Array<FetchFeedEmbedTypesEnum>} [embedTypes] Used when filter_type=embed_types can be used to fetch all casts with matching content types. Requires feed_type and filter_type.
|
|
243
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
249
244
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
250
245
|
* @param {string} [cursor] Pagination cursor.
|
|
251
246
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
252
|
-
* @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.
|
|
253
247
|
* @param {*} [options] Override http request option.
|
|
254
248
|
* @throws {RequiredError}
|
|
255
249
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -257,20 +251,20 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
257
251
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed)
|
|
258
252
|
*
|
|
259
253
|
*/
|
|
260
|
-
fetchFeed(feedType
|
|
254
|
+
fetchFeed(xNeynarExperimental?: boolean, feedType?: FetchFeedFeedTypeEnum, filterType?: FetchFeedFilterTypeEnum, fid?: number, fids?: string, parentUrl?: string, channelId?: string, membersOnly?: boolean | null, embedUrl?: string, embedTypes?: Array<FetchFeedEmbedTypesEnum>, withRecasts?: boolean | null, limit?: number, cursor?: string, viewerFid?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedResponse>>;
|
|
261
255
|
/**
|
|
262
256
|
* Fetch feed based on channel IDs
|
|
263
257
|
* @summary By channel IDs
|
|
264
258
|
* @param {string} channelIds Comma separated list of up to 10 channel IDs e.g. neynar,farcaster
|
|
265
|
-
* @param {boolean} [
|
|
259
|
+
* @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.
|
|
260
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
266
261
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
267
|
-
* @param {boolean} [withReplies] Include replies in the response, false by default
|
|
268
|
-
* @param {boolean} [membersOnly] Only include casts from members of the channel. True by default.
|
|
262
|
+
* @param {boolean | null} [withReplies] Include replies in the response, false by default
|
|
263
|
+
* @param {boolean | null} [membersOnly] Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
269
264
|
* @param {string} [fids] Comma separated list of FIDs to filter the feed by, up to 10 at a time
|
|
270
265
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
271
266
|
* @param {string} [cursor] Pagination cursor.
|
|
272
|
-
* @param {boolean} [shouldModerate] If true, only casts that have been liked by the moderator (if one exists) will be returned.
|
|
273
|
-
* @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.
|
|
267
|
+
* @param {boolean | null} [shouldModerate] If true, only casts that have been liked by the moderator (if one exists) will be returned.
|
|
274
268
|
* @param {*} [options] Override http request option.
|
|
275
269
|
* @throws {RequiredError}
|
|
276
270
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -278,17 +272,17 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
278
272
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-channel-ids)
|
|
279
273
|
*
|
|
280
274
|
*/
|
|
281
|
-
fetchFeedByChannelIds(channelIds: string, withRecasts?: boolean, viewerFid?: number, withReplies?: boolean, membersOnly?: boolean, fids?: string, limit?: number, cursor?: string, shouldModerate?: boolean
|
|
275
|
+
fetchFeedByChannelIds(channelIds: string, xNeynarExperimental?: boolean, withRecasts?: boolean | null, viewerFid?: number, withReplies?: boolean | null, membersOnly?: boolean | null, fids?: string, limit?: number, cursor?: string, shouldModerate?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedResponse>>;
|
|
282
276
|
/**
|
|
283
277
|
* Fetch feed based on parent URLs
|
|
284
278
|
* @summary By parent URLs
|
|
285
279
|
* @param {string} parentUrls Comma separated list of parent_urls
|
|
286
|
-
* @param {boolean} [
|
|
280
|
+
* @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.
|
|
281
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
287
282
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
288
|
-
* @param {boolean} [withReplies] Include replies in the response, false by default
|
|
283
|
+
* @param {boolean | null} [withReplies] Include replies in the response, false by default
|
|
289
284
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
290
285
|
* @param {string} [cursor] Pagination cursor.
|
|
291
|
-
* @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.
|
|
292
286
|
* @param {*} [options] Override http request option.
|
|
293
287
|
* @throws {RequiredError}
|
|
294
288
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -296,17 +290,16 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
296
290
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-parent-urls)
|
|
297
291
|
*
|
|
298
292
|
*/
|
|
299
|
-
fetchFeedByParentUrls(parentUrls: string, withRecasts?: boolean, viewerFid?: number, withReplies?: boolean, limit?: number, cursor?: string,
|
|
293
|
+
fetchFeedByParentUrls(parentUrls: string, xNeynarExperimental?: boolean, withRecasts?: boolean | null, viewerFid?: number, withReplies?: boolean | null, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedResponse>>;
|
|
300
294
|
/**
|
|
301
295
|
* Fetch a personalized For You feed for a user
|
|
302
296
|
* @summary For you
|
|
303
297
|
* @param {number} fid FID of user whose feed you want to create
|
|
298
|
+
* @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.
|
|
304
299
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
305
|
-
* @param {
|
|
300
|
+
* @param {FetchFeedForYouProviderEnum} [provider] The provider of the For You feed.
|
|
306
301
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 50)
|
|
307
302
|
* @param {string} [cursor] Pagination cursor.
|
|
308
|
-
* @param {string} [providerMetadata] provider_metadata is a URI-encoded stringified JSON object that can be used to pass additional metadata to the provider. Only available for mbd provider right now. See [here](https://docs.neynar.com/docs/feed-for-you-w-external-providers) on how to use.
|
|
309
|
-
* @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.
|
|
310
303
|
* @param {*} [options] Override http request option.
|
|
311
304
|
* @throws {RequiredError}
|
|
312
305
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -314,14 +307,14 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
314
307
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-for-you)
|
|
315
308
|
*
|
|
316
309
|
*/
|
|
317
|
-
fetchFeedForYou(fid: number, viewerFid?: number, provider?:
|
|
310
|
+
fetchFeedForYou(fid: number, xNeynarExperimental?: boolean, viewerFid?: number, provider?: FetchFeedForYouProviderEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedResponse>>;
|
|
318
311
|
/**
|
|
319
312
|
* Fetch feed of casts with mini apps, reverse chronological order
|
|
320
313
|
* @summary Casts with mini apps
|
|
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.
|
|
321
315
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
322
316
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
323
317
|
* @param {string} [cursor] Pagination cursor.
|
|
324
|
-
* @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.
|
|
325
318
|
* @param {*} [options] Override http request option.
|
|
326
319
|
* @throws {RequiredError}
|
|
327
320
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -329,7 +322,7 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
329
322
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frames-only-feed)
|
|
330
323
|
*
|
|
331
324
|
*/
|
|
332
|
-
fetchFramesOnlyFeed(limit?: number, viewerFid?: number, cursor?: string,
|
|
325
|
+
fetchFramesOnlyFeed(xNeynarExperimental?: boolean, limit?: number, viewerFid?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedResponse>>;
|
|
333
326
|
/**
|
|
334
327
|
* Fetch 10 most popular casts for a given user FID; popularity based on replies, likes and recasts; sorted by most popular first
|
|
335
328
|
* @summary 10 most popular casts
|
|
@@ -347,7 +340,7 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
347
340
|
* Fetch recent replies and recasts for a given user FID; sorted by most recent first
|
|
348
341
|
* @summary Replies and recasts
|
|
349
342
|
* @param {number} fid FID of user whose replies and recasts you want to fetch
|
|
350
|
-
* @param {FetchRepliesAndRecastsForUserFilterEnum} [filter]
|
|
343
|
+
* @param {FetchRepliesAndRecastsForUserFilterEnum} [filter] Filter to fetch only replies or recasts
|
|
351
344
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 50)
|
|
352
345
|
* @param {string} [cursor] Pagination cursor.
|
|
353
346
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
@@ -362,15 +355,15 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
362
355
|
/**
|
|
363
356
|
* Fetch trending casts or on the global feed or channels feeds. 7d time window available for channel feeds only.
|
|
364
357
|
* @summary Trending feeds
|
|
358
|
+
* @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.
|
|
365
359
|
* @param {number} [limit] Number of results to fetch (Default: 10, Maximum: 10)
|
|
366
360
|
* @param {string} [cursor] Pagination cursor
|
|
367
361
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
368
362
|
* @param {FetchTrendingFeedTimeWindowEnum} [timeWindow] Time window for trending casts (7d window for channel feeds only)
|
|
369
363
|
* @param {string} [channelId] Channel ID to filter trending casts. Less active channels might have no casts in the time window selected. Provide either `channel_id` or `parent_url`, not both.
|
|
370
364
|
* @param {string} [parentUrl] Parent URL to filter trending casts. Less active channels might have no casts in the time window selected. Provide either `channel_id` or `parent_url`, not both.
|
|
371
|
-
* @param {
|
|
365
|
+
* @param {FetchTrendingFeedProviderEnum} [provider] The provider of the trending casts feed.
|
|
372
366
|
* @param {string} [providerMetadata] provider_metadata is a URI-encoded stringified JSON object that can be used to pass additional metadata to the provider. Only available for mbd provider right now. See [here](https://docs.neynar.com/docs/feed-for-you-w-external-providers) on how to use.
|
|
373
|
-
* @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.
|
|
374
367
|
* @param {*} [options] Override http request option.
|
|
375
368
|
* @throws {RequiredError}
|
|
376
369
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -378,16 +371,16 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
378
371
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-trending-feed)
|
|
379
372
|
*
|
|
380
373
|
*/
|
|
381
|
-
fetchTrendingFeed(limit?: number, cursor?: string, viewerFid?: number, timeWindow?: FetchTrendingFeedTimeWindowEnum, channelId?: string, parentUrl?: string, provider?:
|
|
374
|
+
fetchTrendingFeed(xNeynarExperimental?: boolean, limit?: number, cursor?: string, viewerFid?: number, timeWindow?: FetchTrendingFeedTimeWindowEnum, channelId?: string, parentUrl?: string, provider?: FetchTrendingFeedProviderEnum, providerMetadata?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedResponse>>;
|
|
382
375
|
/**
|
|
383
376
|
* Fetch feed based on who a user is following
|
|
384
377
|
* @summary Following
|
|
385
378
|
* @param {number} fid FID of user whose feed you want to create
|
|
379
|
+
* @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.
|
|
386
380
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
387
|
-
* @param {boolean} [withRecasts] Include recasts in the response, true by default
|
|
381
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
388
382
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
389
383
|
* @param {string} [cursor] Pagination cursor.
|
|
390
|
-
* @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.
|
|
391
384
|
* @param {*} [options] Override http request option.
|
|
392
385
|
* @throws {RequiredError}
|
|
393
386
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -395,7 +388,7 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
395
388
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-following-feed)
|
|
396
389
|
*
|
|
397
390
|
*/
|
|
398
|
-
fetchUserFollowingFeed(fid: number, viewerFid?: number, withRecasts?: boolean, limit?: number, cursor?: string,
|
|
391
|
+
fetchUserFollowingFeed(fid: number, xNeynarExperimental?: boolean, viewerFid?: number, withRecasts?: boolean | null, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedResponse>>;
|
|
399
392
|
};
|
|
400
393
|
/**
|
|
401
394
|
* FeedApi - factory interface
|
|
@@ -425,7 +418,7 @@ export declare const FeedApiFactory: (configuration?: Configuration, basePath?:
|
|
|
425
418
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed)
|
|
426
419
|
*
|
|
427
420
|
*/
|
|
428
|
-
fetchFeed(requestParameters
|
|
421
|
+
fetchFeed(requestParameters?: FeedApiFetchFeedRequest, options?: RawAxiosRequestConfig): AxiosPromise<FeedResponse>;
|
|
429
422
|
/**
|
|
430
423
|
* Fetch feed based on channel IDs
|
|
431
424
|
* @summary By channel IDs
|
|
@@ -554,7 +547,7 @@ export interface FeedApiInterface {
|
|
|
554
547
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed)
|
|
555
548
|
*
|
|
556
549
|
*/
|
|
557
|
-
fetchFeed(requestParameters
|
|
550
|
+
fetchFeed(requestParameters?: FeedApiFetchFeedRequest, options?: RawAxiosRequestConfig): AxiosPromise<FeedResponse>;
|
|
558
551
|
/**
|
|
559
552
|
* Fetch feed based on channel IDs
|
|
560
553
|
* @summary By channel IDs
|
|
@@ -675,6 +668,15 @@ export interface FeedApiFetchCastsForUserRequest {
|
|
|
675
668
|
* @memberof FeedApiFetchCastsForUser
|
|
676
669
|
*/
|
|
677
670
|
readonly fid: number;
|
|
671
|
+
/**
|
|
672
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
673
|
+
*
|
|
674
|
+
*
|
|
675
|
+
* @globalHeader
|
|
676
|
+
* @type {boolean}
|
|
677
|
+
* @memberof FeedApiFetchCastsForUser
|
|
678
|
+
*/
|
|
679
|
+
readonly xNeynarExperimental?: boolean;
|
|
678
680
|
/**
|
|
679
681
|
* Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
|
|
680
682
|
*
|
|
@@ -719,7 +721,7 @@ export interface FeedApiFetchCastsForUserRequest {
|
|
|
719
721
|
* @type {boolean}
|
|
720
722
|
* @memberof FeedApiFetchCastsForUser
|
|
721
723
|
*/
|
|
722
|
-
readonly includeReplies?: boolean;
|
|
724
|
+
readonly includeReplies?: boolean | null;
|
|
723
725
|
/**
|
|
724
726
|
* Parent URL to filter the feed; mutually exclusive with channel_id
|
|
725
727
|
*
|
|
@@ -738,40 +740,40 @@ export interface FeedApiFetchCastsForUserRequest {
|
|
|
738
740
|
* @memberof FeedApiFetchCastsForUser
|
|
739
741
|
*/
|
|
740
742
|
readonly channelId?: string;
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* Request parameters for fetchFeed operation in FeedApi.
|
|
746
|
+
* @export
|
|
747
|
+
* @interface FeedApiFetchFeedRequest
|
|
748
|
+
*/
|
|
749
|
+
export interface FeedApiFetchFeedRequest {
|
|
741
750
|
/**
|
|
742
751
|
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
743
752
|
*
|
|
744
753
|
*
|
|
745
754
|
* @globalHeader
|
|
746
755
|
* @type {boolean}
|
|
747
|
-
* @memberof
|
|
756
|
+
* @memberof FeedApiFetchFeed
|
|
748
757
|
*/
|
|
749
758
|
readonly xNeynarExperimental?: boolean;
|
|
750
|
-
}
|
|
751
|
-
/**
|
|
752
|
-
* Request parameters for fetchFeed operation in FeedApi.
|
|
753
|
-
* @export
|
|
754
|
-
* @interface FeedApiFetchFeedRequest
|
|
755
|
-
*/
|
|
756
|
-
export interface FeedApiFetchFeedRequest {
|
|
757
759
|
/**
|
|
758
760
|
* Defaults to following (requires FID or address). If set to filter (requires filter_type)
|
|
759
761
|
*
|
|
760
762
|
*
|
|
761
763
|
*
|
|
762
|
-
* @type {
|
|
764
|
+
* @type {'following' | 'filter'}
|
|
763
765
|
* @memberof FeedApiFetchFeed
|
|
764
766
|
*/
|
|
765
|
-
readonly feedType
|
|
767
|
+
readonly feedType?: FetchFeedFeedTypeEnum;
|
|
766
768
|
/**
|
|
767
769
|
* Used when feed_type=filter. Can be set to FIDs (requires FIDs) or parent_url (requires parent_url) or channel_id (requires channel_id)
|
|
768
770
|
*
|
|
769
771
|
*
|
|
770
772
|
*
|
|
771
|
-
* @type {
|
|
773
|
+
* @type {'fids' | 'parent_url' | 'channel_id' | 'embed_url' | 'embed_types' | 'global_trending'}
|
|
772
774
|
* @memberof FeedApiFetchFeed
|
|
773
775
|
*/
|
|
774
|
-
readonly filterType?:
|
|
776
|
+
readonly filterType?: FetchFeedFilterTypeEnum;
|
|
775
777
|
/**
|
|
776
778
|
* (Optional) FID of user whose feed you want to create. By default, the API expects this field, except if you pass a filter_type
|
|
777
779
|
*
|
|
@@ -783,8 +785,8 @@ export interface FeedApiFetchFeedRequest {
|
|
|
783
785
|
readonly fid?: number;
|
|
784
786
|
/**
|
|
785
787
|
* Used when filter_type=FIDs . Create a feed based on a list of FIDs. Max array size is 100. Requires feed_type and filter_type.
|
|
786
|
-
*
|
|
787
|
-
*
|
|
788
|
+
* @acceptAs integer
|
|
789
|
+
* @commaSeparated
|
|
788
790
|
*
|
|
789
791
|
* @type {string}
|
|
790
792
|
* @memberof FeedApiFetchFeed
|
|
@@ -816,7 +818,7 @@ export interface FeedApiFetchFeedRequest {
|
|
|
816
818
|
* @type {boolean}
|
|
817
819
|
* @memberof FeedApiFetchFeed
|
|
818
820
|
*/
|
|
819
|
-
readonly membersOnly?: boolean;
|
|
821
|
+
readonly membersOnly?: boolean | null;
|
|
820
822
|
/**
|
|
821
823
|
* Used when filter_type=embed_url. Casts with embedded URLs prefixed by this embed_url param will be returned. We normalize your given URL prefix and prepend \'https://\' if no protocol is included. Requires feed_type and filter_type.
|
|
822
824
|
*
|
|
@@ -831,10 +833,10 @@ export interface FeedApiFetchFeedRequest {
|
|
|
831
833
|
*
|
|
832
834
|
*
|
|
833
835
|
*
|
|
834
|
-
* @type {Array<
|
|
836
|
+
* @type {Array<'text' | 'image' | 'video' | 'audio' | 'text/html' | 'text/plain' | 'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp' | 'image/svg+xml' | 'image/heif' | 'video/mp4' | 'video/quicktime' | 'audio/mpeg' | 'application/pdf' | 'application/json' | 'application/x-mpegurl'>}
|
|
835
837
|
* @memberof FeedApiFetchFeed
|
|
836
838
|
*/
|
|
837
|
-
readonly embedTypes?: Array<
|
|
839
|
+
readonly embedTypes?: Array<FetchFeedEmbedTypesEnum>;
|
|
838
840
|
/**
|
|
839
841
|
* Include recasts in the response, true by default
|
|
840
842
|
*
|
|
@@ -843,7 +845,7 @@ export interface FeedApiFetchFeedRequest {
|
|
|
843
845
|
* @type {boolean}
|
|
844
846
|
* @memberof FeedApiFetchFeed
|
|
845
847
|
*/
|
|
846
|
-
readonly withRecasts?: boolean;
|
|
848
|
+
readonly withRecasts?: boolean | null;
|
|
847
849
|
/**
|
|
848
850
|
* Number of results to fetch (Default: 25, Maximum: 100)
|
|
849
851
|
*
|
|
@@ -871,15 +873,6 @@ export interface FeedApiFetchFeedRequest {
|
|
|
871
873
|
* @memberof FeedApiFetchFeed
|
|
872
874
|
*/
|
|
873
875
|
readonly viewerFid?: number;
|
|
874
|
-
/**
|
|
875
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
876
|
-
*
|
|
877
|
-
*
|
|
878
|
-
* @globalHeader
|
|
879
|
-
* @type {boolean}
|
|
880
|
-
* @memberof FeedApiFetchFeed
|
|
881
|
-
*/
|
|
882
|
-
readonly xNeynarExperimental?: boolean;
|
|
883
876
|
}
|
|
884
877
|
/**
|
|
885
878
|
* Request parameters for fetchFeedByChannelIds operation in FeedApi.
|
|
@@ -896,6 +889,15 @@ export interface FeedApiFetchFeedByChannelIdsRequest {
|
|
|
896
889
|
* @memberof FeedApiFetchFeedByChannelIds
|
|
897
890
|
*/
|
|
898
891
|
readonly channelIds: string;
|
|
892
|
+
/**
|
|
893
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
894
|
+
*
|
|
895
|
+
*
|
|
896
|
+
* @globalHeader
|
|
897
|
+
* @type {boolean}
|
|
898
|
+
* @memberof FeedApiFetchFeedByChannelIds
|
|
899
|
+
*/
|
|
900
|
+
readonly xNeynarExperimental?: boolean;
|
|
899
901
|
/**
|
|
900
902
|
* Include recasts in the response, true by default
|
|
901
903
|
*
|
|
@@ -904,7 +906,7 @@ export interface FeedApiFetchFeedByChannelIdsRequest {
|
|
|
904
906
|
* @type {boolean}
|
|
905
907
|
* @memberof FeedApiFetchFeedByChannelIds
|
|
906
908
|
*/
|
|
907
|
-
readonly withRecasts?: boolean;
|
|
909
|
+
readonly withRecasts?: boolean | null;
|
|
908
910
|
/**
|
|
909
911
|
* Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
910
912
|
*
|
|
@@ -922,16 +924,16 @@ export interface FeedApiFetchFeedByChannelIdsRequest {
|
|
|
922
924
|
* @type {boolean}
|
|
923
925
|
* @memberof FeedApiFetchFeedByChannelIds
|
|
924
926
|
*/
|
|
925
|
-
readonly withReplies?: boolean;
|
|
927
|
+
readonly withReplies?: boolean | null;
|
|
926
928
|
/**
|
|
927
|
-
* Only include casts from members of the channel. True by default.
|
|
929
|
+
* Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
928
930
|
*
|
|
929
931
|
*
|
|
930
932
|
*
|
|
931
933
|
* @type {boolean}
|
|
932
934
|
* @memberof FeedApiFetchFeedByChannelIds
|
|
933
935
|
*/
|
|
934
|
-
readonly membersOnly?: boolean;
|
|
936
|
+
readonly membersOnly?: boolean | null;
|
|
935
937
|
/**
|
|
936
938
|
* Comma separated list of FIDs to filter the feed by, up to 10 at a time
|
|
937
939
|
* @acceptAs integer
|
|
@@ -967,16 +969,7 @@ export interface FeedApiFetchFeedByChannelIdsRequest {
|
|
|
967
969
|
* @type {boolean}
|
|
968
970
|
* @memberof FeedApiFetchFeedByChannelIds
|
|
969
971
|
*/
|
|
970
|
-
readonly shouldModerate?: boolean;
|
|
971
|
-
/**
|
|
972
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
973
|
-
*
|
|
974
|
-
*
|
|
975
|
-
* @globalHeader
|
|
976
|
-
* @type {boolean}
|
|
977
|
-
* @memberof FeedApiFetchFeedByChannelIds
|
|
978
|
-
*/
|
|
979
|
-
readonly xNeynarExperimental?: boolean;
|
|
972
|
+
readonly shouldModerate?: boolean | null;
|
|
980
973
|
}
|
|
981
974
|
/**
|
|
982
975
|
* Request parameters for fetchFeedByParentUrls operation in FeedApi.
|
|
@@ -993,6 +986,15 @@ export interface FeedApiFetchFeedByParentUrlsRequest {
|
|
|
993
986
|
* @memberof FeedApiFetchFeedByParentUrls
|
|
994
987
|
*/
|
|
995
988
|
readonly parentUrls: string;
|
|
989
|
+
/**
|
|
990
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
991
|
+
*
|
|
992
|
+
*
|
|
993
|
+
* @globalHeader
|
|
994
|
+
* @type {boolean}
|
|
995
|
+
* @memberof FeedApiFetchFeedByParentUrls
|
|
996
|
+
*/
|
|
997
|
+
readonly xNeynarExperimental?: boolean;
|
|
996
998
|
/**
|
|
997
999
|
* Include recasts in the response, true by default
|
|
998
1000
|
*
|
|
@@ -1001,7 +1003,7 @@ export interface FeedApiFetchFeedByParentUrlsRequest {
|
|
|
1001
1003
|
* @type {boolean}
|
|
1002
1004
|
* @memberof FeedApiFetchFeedByParentUrls
|
|
1003
1005
|
*/
|
|
1004
|
-
readonly withRecasts?: boolean;
|
|
1006
|
+
readonly withRecasts?: boolean | null;
|
|
1005
1007
|
/**
|
|
1006
1008
|
* Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
1007
1009
|
*
|
|
@@ -1019,7 +1021,7 @@ export interface FeedApiFetchFeedByParentUrlsRequest {
|
|
|
1019
1021
|
* @type {boolean}
|
|
1020
1022
|
* @memberof FeedApiFetchFeedByParentUrls
|
|
1021
1023
|
*/
|
|
1022
|
-
readonly withReplies?: boolean;
|
|
1024
|
+
readonly withReplies?: boolean | null;
|
|
1023
1025
|
/**
|
|
1024
1026
|
* Number of results to fetch (Default: 25, Maximum: 100)
|
|
1025
1027
|
*
|
|
@@ -1038,15 +1040,6 @@ export interface FeedApiFetchFeedByParentUrlsRequest {
|
|
|
1038
1040
|
* @memberof FeedApiFetchFeedByParentUrls
|
|
1039
1041
|
*/
|
|
1040
1042
|
readonly cursor?: string;
|
|
1041
|
-
/**
|
|
1042
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1043
|
-
*
|
|
1044
|
-
*
|
|
1045
|
-
* @globalHeader
|
|
1046
|
-
* @type {boolean}
|
|
1047
|
-
* @memberof FeedApiFetchFeedByParentUrls
|
|
1048
|
-
*/
|
|
1049
|
-
readonly xNeynarExperimental?: boolean;
|
|
1050
1043
|
}
|
|
1051
1044
|
/**
|
|
1052
1045
|
* Request parameters for fetchFeedForYou operation in FeedApi.
|
|
@@ -1063,6 +1056,15 @@ export interface FeedApiFetchFeedForYouRequest {
|
|
|
1063
1056
|
* @memberof FeedApiFetchFeedForYou
|
|
1064
1057
|
*/
|
|
1065
1058
|
readonly fid: number;
|
|
1059
|
+
/**
|
|
1060
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1061
|
+
*
|
|
1062
|
+
*
|
|
1063
|
+
* @globalHeader
|
|
1064
|
+
* @type {boolean}
|
|
1065
|
+
* @memberof FeedApiFetchFeedForYou
|
|
1066
|
+
*/
|
|
1067
|
+
readonly xNeynarExperimental?: boolean;
|
|
1066
1068
|
/**
|
|
1067
1069
|
* Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
1068
1070
|
*
|
|
@@ -1073,14 +1075,14 @@ export interface FeedApiFetchFeedForYouRequest {
|
|
|
1073
1075
|
*/
|
|
1074
1076
|
readonly viewerFid?: number;
|
|
1075
1077
|
/**
|
|
1078
|
+
* The provider of the For You feed.
|
|
1076
1079
|
*
|
|
1077
1080
|
*
|
|
1078
1081
|
*
|
|
1079
|
-
*
|
|
1080
|
-
* @type {ForYouProvider}
|
|
1082
|
+
* @type {'neynar'}
|
|
1081
1083
|
* @memberof FeedApiFetchFeedForYou
|
|
1082
1084
|
*/
|
|
1083
|
-
readonly provider?:
|
|
1085
|
+
readonly provider?: FetchFeedForYouProviderEnum;
|
|
1084
1086
|
/**
|
|
1085
1087
|
* Number of results to fetch (Default: 25, Maximum: 50)
|
|
1086
1088
|
*
|
|
@@ -1099,31 +1101,22 @@ export interface FeedApiFetchFeedForYouRequest {
|
|
|
1099
1101
|
* @memberof FeedApiFetchFeedForYou
|
|
1100
1102
|
*/
|
|
1101
1103
|
readonly cursor?: string;
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
*/
|
|
1110
|
-
readonly providerMetadata?: string;
|
|
1104
|
+
}
|
|
1105
|
+
/**
|
|
1106
|
+
* Request parameters for fetchFramesOnlyFeed operation in FeedApi.
|
|
1107
|
+
* @export
|
|
1108
|
+
* @interface FeedApiFetchFramesOnlyFeedRequest
|
|
1109
|
+
*/
|
|
1110
|
+
export interface FeedApiFetchFramesOnlyFeedRequest {
|
|
1111
1111
|
/**
|
|
1112
1112
|
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1113
1113
|
*
|
|
1114
1114
|
*
|
|
1115
1115
|
* @globalHeader
|
|
1116
1116
|
* @type {boolean}
|
|
1117
|
-
* @memberof
|
|
1117
|
+
* @memberof FeedApiFetchFramesOnlyFeed
|
|
1118
1118
|
*/
|
|
1119
1119
|
readonly xNeynarExperimental?: boolean;
|
|
1120
|
-
}
|
|
1121
|
-
/**
|
|
1122
|
-
* Request parameters for fetchFramesOnlyFeed operation in FeedApi.
|
|
1123
|
-
* @export
|
|
1124
|
-
* @interface FeedApiFetchFramesOnlyFeedRequest
|
|
1125
|
-
*/
|
|
1126
|
-
export interface FeedApiFetchFramesOnlyFeedRequest {
|
|
1127
1120
|
/**
|
|
1128
1121
|
* Number of results to fetch (Default: 25, Maximum: 100)
|
|
1129
1122
|
*
|
|
@@ -1151,15 +1144,6 @@ export interface FeedApiFetchFramesOnlyFeedRequest {
|
|
|
1151
1144
|
* @memberof FeedApiFetchFramesOnlyFeed
|
|
1152
1145
|
*/
|
|
1153
1146
|
readonly cursor?: string;
|
|
1154
|
-
/**
|
|
1155
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1156
|
-
*
|
|
1157
|
-
*
|
|
1158
|
-
* @globalHeader
|
|
1159
|
-
* @type {boolean}
|
|
1160
|
-
* @memberof FeedApiFetchFramesOnlyFeed
|
|
1161
|
-
*/
|
|
1162
|
-
readonly xNeynarExperimental?: boolean;
|
|
1163
1147
|
}
|
|
1164
1148
|
/**
|
|
1165
1149
|
* Request parameters for fetchPopularCastsByUser operation in FeedApi.
|
|
@@ -1202,7 +1186,7 @@ export interface FeedApiFetchRepliesAndRecastsForUserRequest {
|
|
|
1202
1186
|
*/
|
|
1203
1187
|
readonly fid: number;
|
|
1204
1188
|
/**
|
|
1205
|
-
*
|
|
1189
|
+
* Filter to fetch only replies or recasts
|
|
1206
1190
|
*
|
|
1207
1191
|
*
|
|
1208
1192
|
*
|
|
@@ -1244,6 +1228,15 @@ export interface FeedApiFetchRepliesAndRecastsForUserRequest {
|
|
|
1244
1228
|
* @interface FeedApiFetchTrendingFeedRequest
|
|
1245
1229
|
*/
|
|
1246
1230
|
export interface FeedApiFetchTrendingFeedRequest {
|
|
1231
|
+
/**
|
|
1232
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1233
|
+
*
|
|
1234
|
+
*
|
|
1235
|
+
* @globalHeader
|
|
1236
|
+
* @type {boolean}
|
|
1237
|
+
* @memberof FeedApiFetchTrendingFeed
|
|
1238
|
+
*/
|
|
1239
|
+
readonly xNeynarExperimental?: boolean;
|
|
1247
1240
|
/**
|
|
1248
1241
|
* Number of results to fetch (Default: 10, Maximum: 10)
|
|
1249
1242
|
*
|
|
@@ -1303,10 +1296,10 @@ export interface FeedApiFetchTrendingFeedRequest {
|
|
|
1303
1296
|
*
|
|
1304
1297
|
*
|
|
1305
1298
|
*
|
|
1306
|
-
* @type {
|
|
1299
|
+
* @type {'neynar' | 'openrank' | 'mbd'}
|
|
1307
1300
|
* @memberof FeedApiFetchTrendingFeed
|
|
1308
1301
|
*/
|
|
1309
|
-
readonly provider?:
|
|
1302
|
+
readonly provider?: FetchTrendingFeedProviderEnum;
|
|
1310
1303
|
/**
|
|
1311
1304
|
* provider_metadata is a URI-encoded stringified JSON object that can be used to pass additional metadata to the provider. Only available for mbd provider right now. See [here](https://docs.neynar.com/docs/feed-for-you-w-external-providers) on how to use.
|
|
1312
1305
|
*
|
|
@@ -1316,15 +1309,6 @@ export interface FeedApiFetchTrendingFeedRequest {
|
|
|
1316
1309
|
* @memberof FeedApiFetchTrendingFeed
|
|
1317
1310
|
*/
|
|
1318
1311
|
readonly providerMetadata?: string;
|
|
1319
|
-
/**
|
|
1320
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1321
|
-
*
|
|
1322
|
-
*
|
|
1323
|
-
* @globalHeader
|
|
1324
|
-
* @type {boolean}
|
|
1325
|
-
* @memberof FeedApiFetchTrendingFeed
|
|
1326
|
-
*/
|
|
1327
|
-
readonly xNeynarExperimental?: boolean;
|
|
1328
1312
|
}
|
|
1329
1313
|
/**
|
|
1330
1314
|
* Request parameters for fetchUserFollowingFeed operation in FeedApi.
|
|
@@ -1341,6 +1325,15 @@ export interface FeedApiFetchUserFollowingFeedRequest {
|
|
|
1341
1325
|
* @memberof FeedApiFetchUserFollowingFeed
|
|
1342
1326
|
*/
|
|
1343
1327
|
readonly fid: number;
|
|
1328
|
+
/**
|
|
1329
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1330
|
+
*
|
|
1331
|
+
*
|
|
1332
|
+
* @globalHeader
|
|
1333
|
+
* @type {boolean}
|
|
1334
|
+
* @memberof FeedApiFetchUserFollowingFeed
|
|
1335
|
+
*/
|
|
1336
|
+
readonly xNeynarExperimental?: boolean;
|
|
1344
1337
|
/**
|
|
1345
1338
|
* Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
1346
1339
|
*
|
|
@@ -1358,7 +1351,7 @@ export interface FeedApiFetchUserFollowingFeedRequest {
|
|
|
1358
1351
|
* @type {boolean}
|
|
1359
1352
|
* @memberof FeedApiFetchUserFollowingFeed
|
|
1360
1353
|
*/
|
|
1361
|
-
readonly withRecasts?: boolean;
|
|
1354
|
+
readonly withRecasts?: boolean | null;
|
|
1362
1355
|
/**
|
|
1363
1356
|
* Number of results to fetch (Default: 25, Maximum: 100)
|
|
1364
1357
|
*
|
|
@@ -1377,15 +1370,6 @@ export interface FeedApiFetchUserFollowingFeedRequest {
|
|
|
1377
1370
|
* @memberof FeedApiFetchUserFollowingFeed
|
|
1378
1371
|
*/
|
|
1379
1372
|
readonly cursor?: string;
|
|
1380
|
-
/**
|
|
1381
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1382
|
-
*
|
|
1383
|
-
*
|
|
1384
|
-
* @globalHeader
|
|
1385
|
-
* @type {boolean}
|
|
1386
|
-
* @memberof FeedApiFetchUserFollowingFeed
|
|
1387
|
-
*/
|
|
1388
|
-
readonly xNeynarExperimental?: boolean;
|
|
1389
1373
|
}
|
|
1390
1374
|
/**
|
|
1391
1375
|
* FeedApi - object-oriented interface
|
|
@@ -1419,7 +1403,7 @@ export declare class FeedApi extends BaseAPI implements FeedApiInterface {
|
|
|
1419
1403
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed)
|
|
1420
1404
|
*
|
|
1421
1405
|
*/
|
|
1422
|
-
fetchFeed(requestParameters
|
|
1406
|
+
fetchFeed(requestParameters?: FeedApiFetchFeedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FeedResponse, any>>;
|
|
1423
1407
|
/**
|
|
1424
1408
|
* Fetch feed based on channel IDs
|
|
1425
1409
|
* @summary By channel IDs
|
|
@@ -1525,6 +1509,57 @@ export declare class FeedApi extends BaseAPI implements FeedApiInterface {
|
|
|
1525
1509
|
*/
|
|
1526
1510
|
fetchUserFollowingFeed(requestParameters: FeedApiFetchUserFollowingFeedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FeedResponse, any>>;
|
|
1527
1511
|
}
|
|
1512
|
+
/**
|
|
1513
|
+
* @export
|
|
1514
|
+
*/
|
|
1515
|
+
export declare const FetchFeedFeedTypeEnum: {
|
|
1516
|
+
readonly Following: "following";
|
|
1517
|
+
readonly Filter: "filter";
|
|
1518
|
+
};
|
|
1519
|
+
export type FetchFeedFeedTypeEnum = typeof FetchFeedFeedTypeEnum[keyof typeof FetchFeedFeedTypeEnum];
|
|
1520
|
+
/**
|
|
1521
|
+
* @export
|
|
1522
|
+
*/
|
|
1523
|
+
export declare const FetchFeedFilterTypeEnum: {
|
|
1524
|
+
readonly Fids: "fids";
|
|
1525
|
+
readonly ParentUrl: "parent_url";
|
|
1526
|
+
readonly ChannelId: "channel_id";
|
|
1527
|
+
readonly EmbedUrl: "embed_url";
|
|
1528
|
+
readonly EmbedTypes: "embed_types";
|
|
1529
|
+
readonly GlobalTrending: "global_trending";
|
|
1530
|
+
};
|
|
1531
|
+
export type FetchFeedFilterTypeEnum = typeof FetchFeedFilterTypeEnum[keyof typeof FetchFeedFilterTypeEnum];
|
|
1532
|
+
/**
|
|
1533
|
+
* @export
|
|
1534
|
+
*/
|
|
1535
|
+
export declare const FetchFeedEmbedTypesEnum: {
|
|
1536
|
+
readonly Text: "text";
|
|
1537
|
+
readonly Image: "image";
|
|
1538
|
+
readonly Video: "video";
|
|
1539
|
+
readonly Audio: "audio";
|
|
1540
|
+
readonly TextHtml: "text/html";
|
|
1541
|
+
readonly TextPlain: "text/plain";
|
|
1542
|
+
readonly ImageJpeg: "image/jpeg";
|
|
1543
|
+
readonly ImagePng: "image/png";
|
|
1544
|
+
readonly ImageGif: "image/gif";
|
|
1545
|
+
readonly ImageWebp: "image/webp";
|
|
1546
|
+
readonly ImageSvgxml: "image/svg+xml";
|
|
1547
|
+
readonly ImageHeif: "image/heif";
|
|
1548
|
+
readonly VideoMp4: "video/mp4";
|
|
1549
|
+
readonly VideoQuicktime: "video/quicktime";
|
|
1550
|
+
readonly AudioMpeg: "audio/mpeg";
|
|
1551
|
+
readonly ApplicationPdf: "application/pdf";
|
|
1552
|
+
readonly ApplicationJson: "application/json";
|
|
1553
|
+
readonly ApplicationXMpegurl: "application/x-mpegurl";
|
|
1554
|
+
};
|
|
1555
|
+
export type FetchFeedEmbedTypesEnum = typeof FetchFeedEmbedTypesEnum[keyof typeof FetchFeedEmbedTypesEnum];
|
|
1556
|
+
/**
|
|
1557
|
+
* @export
|
|
1558
|
+
*/
|
|
1559
|
+
export declare const FetchFeedForYouProviderEnum: {
|
|
1560
|
+
readonly Neynar: "neynar";
|
|
1561
|
+
};
|
|
1562
|
+
export type FetchFeedForYouProviderEnum = typeof FetchFeedForYouProviderEnum[keyof typeof FetchFeedForYouProviderEnum];
|
|
1528
1563
|
/**
|
|
1529
1564
|
* @export
|
|
1530
1565
|
*/
|
|
@@ -1545,3 +1580,12 @@ export declare const FetchTrendingFeedTimeWindowEnum: {
|
|
|
1545
1580
|
readonly _7d: "7d";
|
|
1546
1581
|
};
|
|
1547
1582
|
export type FetchTrendingFeedTimeWindowEnum = typeof FetchTrendingFeedTimeWindowEnum[keyof typeof FetchTrendingFeedTimeWindowEnum];
|
|
1583
|
+
/**
|
|
1584
|
+
* @export
|
|
1585
|
+
*/
|
|
1586
|
+
export declare const FetchTrendingFeedProviderEnum: {
|
|
1587
|
+
readonly Neynar: "neynar";
|
|
1588
|
+
readonly Openrank: "openrank";
|
|
1589
|
+
readonly Mbd: "mbd";
|
|
1590
|
+
};
|
|
1591
|
+
export type FetchTrendingFeedProviderEnum = typeof FetchTrendingFeedProviderEnum[keyof typeof FetchTrendingFeedProviderEnum];
|