@neynar/nodejs-sdk 2.25.1 → 2.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/api.d.ts +1 -1
- package/build/api/api.js +1 -1
- package/build/api/apis/action-api.d.ts +1 -1
- package/build/api/apis/action-api.js +1 -1
- package/build/api/apis/agents-api.d.ts +1 -1
- package/build/api/apis/agents-api.js +1 -1
- package/build/api/apis/ban-api.d.ts +4 -4
- package/build/api/apis/ban-api.js +3 -3
- package/build/api/apis/block-api.d.ts +4 -4
- package/build/api/apis/block-api.js +3 -3
- package/build/api/apis/cast-api.d.ts +53 -9
- package/build/api/apis/cast-api.js +49 -21
- package/build/api/apis/channel-api.d.ts +10 -10
- package/build/api/apis/channel-api.js +7 -7
- package/build/api/apis/feed-api.d.ts +119 -20
- package/build/api/apis/feed-api.js +104 -43
- package/build/api/apis/fname-api.d.ts +1 -1
- package/build/api/apis/fname-api.js +1 -1
- package/build/api/apis/follows-api.d.ts +13 -13
- package/build/api/apis/follows-api.js +9 -9
- package/build/api/apis/frame-api.d.ts +1 -1
- package/build/api/apis/frame-api.js +1 -1
- package/build/api/apis/login-api.d.ts +1 -1
- package/build/api/apis/login-api.js +1 -1
- package/build/api/apis/metrics-api.d.ts +1 -1
- package/build/api/apis/metrics-api.js +1 -1
- package/build/api/apis/mute-api.d.ts +4 -4
- package/build/api/apis/mute-api.js +3 -3
- package/build/api/apis/notifications-api.d.ts +1 -1
- package/build/api/apis/notifications-api.js +1 -1
- package/build/api/apis/onchain-api.d.ts +1 -1
- package/build/api/apis/onchain-api.js +1 -1
- package/build/api/apis/reaction-api.d.ts +1 -1
- package/build/api/apis/reaction-api.js +1 -1
- package/build/api/apis/signer-api.d.ts +1 -1
- package/build/api/apis/signer-api.js +1 -1
- package/build/api/apis/storage-api.d.ts +1 -1
- package/build/api/apis/storage-api.js +1 -1
- package/build/api/apis/subscribers-api.d.ts +1 -1
- package/build/api/apis/subscribers-api.js +1 -1
- package/build/api/apis/user-api.d.ts +25 -25
- package/build/api/apis/user-api.js +17 -17
- package/build/api/apis/webhook-api.d.ts +1 -1
- package/build/api/apis/webhook-api.js +1 -1
- package/build/api/base.d.ts +1 -1
- package/build/api/base.js +1 -1
- package/build/api/common.d.ts +1 -1
- package/build/api/common.js +1 -1
- package/build/api/configuration.d.ts +1 -1
- package/build/api/configuration.js +1 -1
- package/build/api/index.d.ts +1 -1
- package/build/api/index.js +1 -1
- package/build/api/models/add-verification-req-body.d.ts +1 -1
- package/build/api/models/add-verification-req-body.js +1 -1
- package/build/api/models/address-balance-verified-address.d.ts +1 -1
- package/build/api/models/address-balance-verified-address.js +1 -1
- package/build/api/models/address-balance.d.ts +1 -1
- package/build/api/models/address-balance.js +1 -1
- package/build/api/models/authorization-url-response-type.d.ts +1 -1
- package/build/api/models/authorization-url-response-type.js +1 -1
- package/build/api/models/authorization-url-response.d.ts +1 -1
- package/build/api/models/authorization-url-response.js +1 -1
- package/build/api/models/balance-response-user-balance.d.ts +1 -1
- package/build/api/models/balance-response-user-balance.js +1 -1
- package/build/api/models/balance-response.d.ts +1 -1
- package/build/api/models/balance-response.js +1 -1
- package/build/api/models/ban-list-response.d.ts +1 -1
- package/build/api/models/ban-list-response.js +1 -1
- package/build/api/models/ban-record.d.ts +1 -1
- package/build/api/models/ban-record.js +1 -1
- package/build/api/models/ban-req-body.d.ts +1 -1
- package/build/api/models/ban-req-body.js +1 -1
- package/build/api/models/ban-response.d.ts +1 -1
- package/build/api/models/ban-response.js +1 -1
- package/build/api/models/block-list-response.d.ts +1 -1
- package/build/api/models/block-list-response.js +1 -1
- package/build/api/models/block-record.d.ts +1 -1
- package/build/api/models/block-record.js +1 -1
- package/build/api/models/block-req-body.d.ts +1 -1
- package/build/api/models/block-req-body.js +1 -1
- package/build/api/models/bulk-casts-response.d.ts +1 -1
- package/build/api/models/bulk-casts-response.js +1 -1
- package/build/api/models/bulk-follow-response.d.ts +1 -1
- package/build/api/models/bulk-follow-response.js +1 -1
- package/build/api/models/bulk-user-address-type.d.ts +1 -1
- package/build/api/models/bulk-user-address-type.js +1 -1
- package/build/api/models/bulk-users-by-address-response.d.ts +1 -1
- package/build/api/models/bulk-users-by-address-response.js +1 -1
- package/build/api/models/bulk-users-response.d.ts +1 -1
- package/build/api/models/bulk-users-response.js +1 -1
- package/build/api/models/buy-storage-req-body.d.ts +1 -1
- package/build/api/models/buy-storage-req-body.js +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.js +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner.js +1 -1
- package/build/api/models/cast-composer-actions-list-response.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response.js +1 -1
- package/build/api/models/cast-composer-type.d.ts +1 -1
- package/build/api/models/cast-composer-type.js +1 -1
- package/build/api/models/cast-conversation-sort-type.d.ts +1 -1
- package/build/api/models/cast-conversation-sort-type.js +1 -1
- package/build/api/models/cast-dehydrated.d.ts +1 -1
- package/build/api/models/cast-dehydrated.js +1 -1
- package/build/api/models/cast-embed-crawl-response.d.ts +1 -1
- package/build/api/models/cast-embed-crawl-response.js +1 -1
- package/build/api/models/cast-embedded-parent-author.d.ts +1 -1
- package/build/api/models/cast-embedded-parent-author.js +1 -1
- package/build/api/models/cast-embedded.d.ts +1 -1
- package/build/api/models/cast-embedded.js +1 -1
- package/build/api/models/cast-id.d.ts +1 -1
- package/build/api/models/cast-id.js +1 -1
- package/build/api/models/cast-notification-type.d.ts +1 -1
- package/build/api/models/cast-notification-type.js +1 -1
- package/build/api/models/cast-param-type.d.ts +1 -1
- package/build/api/models/cast-param-type.js +1 -1
- package/build/api/models/cast-response.d.ts +1 -1
- package/build/api/models/cast-response.js +1 -1
- package/build/api/models/cast-text-range.d.ts +1 -1
- package/build/api/models/cast-text-range.js +1 -1
- package/build/api/models/cast-viewer-context.d.ts +1 -1
- package/build/api/models/cast-viewer-context.js +1 -1
- package/build/api/models/cast-with-interactions-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations.js +1 -1
- package/build/api/models/cast-with-interactions-reactions.d.ts +1 -1
- package/build/api/models/cast-with-interactions-reactions.js +1 -1
- package/build/api/models/cast-with-interactions-replies.d.ts +1 -1
- package/build/api/models/cast-with-interactions-replies.js +1 -1
- package/build/api/models/cast-with-interactions.d.ts +1 -1
- package/build/api/models/cast-with-interactions.js +1 -1
- package/build/api/models/cast.d.ts +1 -1
- package/build/api/models/cast.js +1 -1
- package/build/api/models/casts-metrics-response.d.ts +1 -1
- package/build/api/models/casts-metrics-response.js +1 -1
- package/build/api/models/casts-metrics.d.ts +1 -1
- package/build/api/models/casts-metrics.js +1 -1
- package/build/api/models/casts-response-result.d.ts +1 -1
- package/build/api/models/casts-response-result.js +1 -1
- package/build/api/models/casts-response.d.ts +1 -1
- package/build/api/models/casts-response.js +1 -1
- package/build/api/models/casts-search-response-result.d.ts +1 -1
- package/build/api/models/casts-search-response-result.js +1 -1
- package/build/api/models/casts-search-response.d.ts +1 -1
- package/build/api/models/casts-search-response.js +1 -1
- package/build/api/models/channel-activity.d.ts +1 -1
- package/build/api/models/channel-activity.js +1 -1
- package/build/api/models/channel-external-link.d.ts +1 -1
- package/build/api/models/channel-external-link.js +1 -1
- package/build/api/models/channel-follow-req-body.d.ts +1 -1
- package/build/api/models/channel-follow-req-body.js +1 -1
- package/build/api/models/channel-list-response.d.ts +1 -1
- package/build/api/models/channel-list-response.js +1 -1
- package/build/api/models/channel-member-channel.d.ts +1 -1
- package/build/api/models/channel-member-channel.js +1 -1
- package/build/api/models/channel-member-invite-list-response.d.ts +1 -1
- package/build/api/models/channel-member-invite-list-response.js +1 -1
- package/build/api/models/channel-member-invite.d.ts +1 -1
- package/build/api/models/channel-member-invite.js +1 -1
- package/build/api/models/channel-member-list-response.d.ts +1 -1
- package/build/api/models/channel-member-list-response.js +1 -1
- package/build/api/models/channel-member-role.d.ts +1 -1
- package/build/api/models/channel-member-role.js +1 -1
- package/build/api/models/channel-member-user.d.ts +1 -1
- package/build/api/models/channel-member-user.js +1 -1
- package/build/api/models/channel-member.d.ts +1 -1
- package/build/api/models/channel-member.js +1 -1
- package/build/api/models/channel-or-dehydrated-channel.d.ts +1 -1
- package/build/api/models/channel-or-dehydrated-channel.js +1 -1
- package/build/api/models/channel-response-bulk.d.ts +1 -1
- package/build/api/models/channel-response-bulk.js +1 -1
- package/build/api/models/channel-response.d.ts +1 -1
- package/build/api/models/channel-response.js +1 -1
- package/build/api/models/channel-search-response.d.ts +1 -1
- package/build/api/models/channel-search-response.js +1 -1
- package/build/api/models/channel-type.d.ts +1 -1
- package/build/api/models/channel-type.js +1 -1
- package/build/api/models/channel-user-context.d.ts +1 -1
- package/build/api/models/channel-user-context.js +1 -1
- package/build/api/models/channel.d.ts +1 -1
- package/build/api/models/channel.js +1 -1
- package/build/api/models/conflict-error-res.d.ts +1 -1
- package/build/api/models/conflict-error-res.js +1 -1
- package/build/api/models/conversation-conversation.d.ts +1 -1
- package/build/api/models/conversation-conversation.js +1 -1
- package/build/api/models/conversation-summary-summary.d.ts +1 -1
- package/build/api/models/conversation-summary-summary.js +1 -1
- package/build/api/models/conversation-summary.d.ts +1 -1
- package/build/api/models/conversation-summary.js +1 -1
- package/build/api/models/conversation.d.ts +1 -1
- package/build/api/models/conversation.js +1 -1
- package/build/api/models/dehydrated-channel.d.ts +1 -1
- package/build/api/models/dehydrated-channel.js +1 -1
- package/build/api/models/dehydrated-follower.d.ts +1 -1
- package/build/api/models/dehydrated-follower.js +1 -1
- package/build/api/models/delete-cast-req-body.d.ts +1 -1
- package/build/api/models/delete-cast-req-body.js +1 -1
- package/build/api/models/delete-frame-req-body.d.ts +1 -1
- package/build/api/models/delete-frame-req-body.js +1 -1
- package/build/api/models/delete-frame-response.d.ts +1 -1
- package/build/api/models/delete-frame-response.js +1 -1
- package/build/api/models/deploy-fungible-req-body-metadata-media.d.ts +1 -1
- package/build/api/models/deploy-fungible-req-body-metadata-media.js +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.js +1 -1
- package/build/api/models/deploy-fungible-response-contract.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract.js +1 -1
- package/build/api/models/deploy-fungible-response.d.ts +1 -1
- package/build/api/models/deploy-fungible-response.js +1 -1
- package/build/api/models/developer-managed-signer.d.ts +1 -1
- package/build/api/models/developer-managed-signer.js +1 -1
- package/build/api/models/embed-cast-deep.d.ts +1 -1
- package/build/api/models/embed-cast-deep.js +1 -1
- package/build/api/models/embed-cast.d.ts +1 -1
- package/build/api/models/embed-cast.js +1 -1
- package/build/api/models/embed-deep.d.ts +1 -1
- package/build/api/models/embed-deep.js +1 -1
- package/build/api/models/embed-type.d.ts +1 -1
- package/build/api/models/embed-type.js +1 -1
- package/build/api/models/embed-url-metadata-image.d.ts +1 -1
- package/build/api/models/embed-url-metadata-image.js +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.js +1 -1
- package/build/api/models/embed-url-metadata-video.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video.js +1 -1
- package/build/api/models/embed-url-metadata.d.ts +1 -1
- package/build/api/models/embed-url-metadata.js +1 -1
- package/build/api/models/embed-url.d.ts +1 -1
- package/build/api/models/embed-url.js +1 -1
- package/build/api/models/embed.d.ts +1 -1
- package/build/api/models/embed.js +1 -1
- package/build/api/models/error-res.d.ts +1 -1
- package/build/api/models/error-res.js +1 -1
- package/build/api/models/farcaster-action-req-body-action.d.ts +1 -1
- package/build/api/models/farcaster-action-req-body-action.js +1 -1
- package/build/api/models/farcaster-action-req-body.d.ts +1 -1
- package/build/api/models/farcaster-action-req-body.js +1 -1
- package/build/api/models/farcaster-manifest-account-association.d.ts +1 -1
- package/build/api/models/farcaster-manifest-account-association.js +1 -1
- package/build/api/models/farcaster-manifest-frame.d.ts +1 -1
- package/build/api/models/farcaster-manifest-frame.js +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of.d.ts +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of.js +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of1.d.ts +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of1.js +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner.d.ts +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner.js +1 -1
- package/build/api/models/farcaster-manifest.d.ts +1 -1
- package/build/api/models/farcaster-manifest.js +1 -1
- package/build/api/models/feed-response.d.ts +1 -1
- package/build/api/models/feed-response.js +1 -1
- package/build/api/models/feed-trending-provider.d.ts +1 -1
- package/build/api/models/feed-trending-provider.js +1 -1
- package/build/api/models/feed-type.d.ts +1 -1
- package/build/api/models/feed-type.js +1 -1
- package/build/api/models/fetch-feed-for-you400-response.d.ts +1 -1
- package/build/api/models/fetch-feed-for-you400-response.js +1 -1
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.d.ts +1 -1
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +1 -1
- package/build/api/models/fetch-user-interactions200-response.d.ts +1 -1
- package/build/api/models/fetch-user-interactions200-response.js +1 -1
- package/build/api/models/fids.d.ts +1 -1
- package/build/api/models/fids.js +1 -1
- package/build/api/models/filter-type.d.ts +1 -1
- package/build/api/models/filter-type.js +1 -1
- package/build/api/models/fname-availability-response.d.ts +1 -1
- package/build/api/models/fname-availability-response.js +1 -1
- package/build/api/models/follow-req-body.d.ts +1 -1
- package/build/api/models/follow-req-body.js +1 -1
- package/build/api/models/follow-response.d.ts +1 -1
- package/build/api/models/follow-response.js +1 -1
- package/build/api/models/follow-sort-type.d.ts +1 -1
- package/build/api/models/follow-sort-type.js +1 -1
- package/build/api/models/follow.d.ts +1 -1
- package/build/api/models/follow.js +1 -1
- package/build/api/models/followers-response.d.ts +1 -1
- package/build/api/models/followers-response.js +1 -1
- package/build/api/models/for-you-provider.d.ts +1 -1
- package/build/api/models/for-you-provider.js +1 -1
- package/build/api/models/frame-action-button.d.ts +1 -1
- package/build/api/models/frame-action-button.js +1 -1
- package/build/api/models/frame-action-req-body.d.ts +1 -1
- package/build/api/models/frame-action-req-body.js +1 -1
- package/build/api/models/frame-action.d.ts +1 -1
- package/build/api/models/frame-action.js +1 -1
- package/build/api/models/frame-base.d.ts +1 -1
- package/build/api/models/frame-base.js +1 -1
- package/build/api/models/frame-button-action-type.d.ts +1 -1
- package/build/api/models/frame-button-action-type.js +1 -1
- package/build/api/models/frame-catalog-response.d.ts +1 -1
- package/build/api/models/frame-catalog-response.js +1 -1
- package/build/api/models/frame-developer-managed-action-req-body.d.ts +1 -1
- package/build/api/models/frame-developer-managed-action-req-body.js +1 -1
- package/build/api/models/frame-input.d.ts +1 -1
- package/build/api/models/frame-input.js +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +1 -1
- package/build/api/models/frame-notification-tokens.d.ts +1 -1
- package/build/api/models/frame-notification-tokens.js +1 -1
- package/build/api/models/frame-pay-transaction-request-body.d.ts +1 -1
- package/build/api/models/frame-pay-transaction-request-body.js +1 -1
- package/build/api/models/frame-signature-packet-trusted-data.d.ts +1 -1
- package/build/api/models/frame-signature-packet-trusted-data.js +1 -1
- package/build/api/models/frame-signature-packet-untrusted-data.d.ts +1 -1
- package/build/api/models/frame-signature-packet-untrusted-data.js +1 -1
- package/build/api/models/frame-signature-packet.d.ts +1 -1
- package/build/api/models/frame-signature-packet.js +1 -1
- package/build/api/models/frame-state.d.ts +1 -1
- package/build/api/models/frame-state.js +1 -1
- package/build/api/models/frame-transaction.d.ts +1 -1
- package/build/api/models/frame-transaction.js +1 -1
- package/build/api/models/frame-type.d.ts +1 -1
- package/build/api/models/frame-type.js +1 -1
- package/build/api/models/frame-v1-all-of-input.d.ts +1 -1
- package/build/api/models/frame-v1-all-of-input.js +1 -1
- package/build/api/models/frame-v1-all-of-state.d.ts +1 -1
- package/build/api/models/frame-v1-all-of-state.js +1 -1
- package/build/api/models/frame-v1-all-of.d.ts +1 -1
- package/build/api/models/frame-v1-all-of.js +1 -1
- package/build/api/models/frame-v1.d.ts +1 -1
- package/build/api/models/frame-v1.js +1 -1
- package/build/api/models/frame-v2-all-of-metadata.d.ts +1 -1
- package/build/api/models/frame-v2-all-of-metadata.js +1 -1
- package/build/api/models/frame-v2-all-of.d.ts +1 -1
- package/build/api/models/frame-v2-all-of.js +1 -1
- package/build/api/models/frame-v2.d.ts +1 -1
- package/build/api/models/frame-v2.js +1 -1
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-input-text.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-input-text.js +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast.js +1 -1
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-interactors.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactors.js +1 -1
- package/build/api/models/frame-validate-analytics-response.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-response.js +1 -1
- package/build/api/models/frame-validate-analytics-total-interactors.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-total-interactors.js +1 -1
- package/build/api/models/frame-validate-list-response.d.ts +1 -1
- package/build/api/models/frame-validate-list-response.js +1 -1
- package/build/api/models/frame.d.ts +1 -1
- package/build/api/models/frame.js +1 -1
- package/build/api/models/html-metadata-all-of-oembed.d.ts +1 -1
- package/build/api/models/html-metadata-all-of-oembed.js +1 -1
- package/build/api/models/html-metadata-all-of.d.ts +1 -1
- package/build/api/models/html-metadata-all-of.js +1 -1
- package/build/api/models/html-metadata.d.ts +1 -1
- package/build/api/models/html-metadata.js +1 -1
- package/build/api/models/hydrated-follower.d.ts +1 -1
- package/build/api/models/hydrated-follower.js +1 -1
- package/build/api/models/image-object.d.ts +1 -1
- package/build/api/models/image-object.js +1 -1
- package/build/api/models/invite-channel-member-req-body.d.ts +1 -1
- package/build/api/models/invite-channel-member-req-body.js +1 -1
- package/build/api/models/location-address.d.ts +1 -1
- package/build/api/models/location-address.js +1 -1
- package/build/api/models/location.d.ts +1 -1
- package/build/api/models/location.js +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.d.ts +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.js +1 -1
- package/build/api/models/mute-list-response.d.ts +1 -1
- package/build/api/models/mute-list-response.js +1 -1
- package/build/api/models/mute-record.d.ts +1 -1
- package/build/api/models/mute-record.js +1 -1
- package/build/api/models/mute-req-body.d.ts +1 -1
- package/build/api/models/mute-req-body.js +1 -1
- package/build/api/models/mute-response.d.ts +1 -1
- package/build/api/models/mute-response.js +1 -1
- package/build/api/models/networks.d.ts +1 -1
- package/build/api/models/networks.js +1 -1
- package/build/api/models/next-cursor.d.ts +1 -1
- package/build/api/models/next-cursor.js +1 -1
- package/build/api/models/neynar-frame-creation-req-body.d.ts +1 -1
- package/build/api/models/neynar-frame-creation-req-body.js +1 -1
- package/build/api/models/neynar-frame-page.d.ts +1 -1
- package/build/api/models/neynar-frame-page.js +1 -1
- package/build/api/models/neynar-frame-update-req-body.d.ts +1 -1
- package/build/api/models/neynar-frame-update-req-body.js +1 -1
- package/build/api/models/neynar-frame.d.ts +1 -1
- package/build/api/models/neynar-frame.js +1 -1
- package/build/api/models/neynar-next-frame-page-mint-url.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page-mint-url.js +1 -1
- package/build/api/models/neynar-next-frame-page-redirect.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page-redirect.js +1 -1
- package/build/api/models/neynar-next-frame-page.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page.js +1 -1
- package/build/api/models/neynar-page-button-next-page.d.ts +1 -1
- package/build/api/models/neynar-page-button-next-page.js +1 -1
- package/build/api/models/neynar-page-button.d.ts +1 -1
- package/build/api/models/neynar-page-button.js +1 -1
- package/build/api/models/neynar-page-image.d.ts +1 -1
- package/build/api/models/neynar-page-image.js +1 -1
- package/build/api/models/neynar-page-input-text.d.ts +1 -1
- package/build/api/models/neynar-page-input-text.js +1 -1
- package/build/api/models/neynar-page-input.d.ts +1 -1
- package/build/api/models/neynar-page-input.js +1 -1
- package/build/api/models/nonce-response.d.ts +1 -1
- package/build/api/models/nonce-response.js +1 -1
- package/build/api/models/notification-delivery.d.ts +1 -1
- package/build/api/models/notification-delivery.js +1 -1
- package/build/api/models/notification-type.d.ts +1 -1
- package/build/api/models/notification-type.js +1 -1
- package/build/api/models/notification.d.ts +1 -1
- package/build/api/models/notification.js +1 -1
- package/build/api/models/notifications-response.d.ts +1 -1
- package/build/api/models/notifications-response.js +1 -1
- package/build/api/models/oembed-data.d.ts +1 -1
- package/build/api/models/oembed-data.js +1 -1
- package/build/api/models/oembed-link-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-link-data-all-of.js +1 -1
- package/build/api/models/oembed-link-data.d.ts +1 -1
- package/build/api/models/oembed-link-data.js +1 -1
- package/build/api/models/oembed-photo-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-photo-data-all-of.js +1 -1
- package/build/api/models/oembed-photo-data.d.ts +1 -1
- package/build/api/models/oembed-photo-data.js +1 -1
- package/build/api/models/oembed-rich-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-rich-data-all-of.js +1 -1
- package/build/api/models/oembed-rich-data.d.ts +1 -1
- package/build/api/models/oembed-rich-data.js +1 -1
- package/build/api/models/oembed-video-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-video-data-all-of.js +1 -1
- package/build/api/models/oembed-video-data.d.ts +1 -1
- package/build/api/models/oembed-video-data.js +1 -1
- package/build/api/models/og-object.d.ts +1 -1
- package/build/api/models/og-object.js +1 -1
- package/build/api/models/operation-response.d.ts +1 -1
- package/build/api/models/operation-response.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +1 -1
- package/build/api/models/post-cast-req-body-embeds.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds.js +1 -1
- package/build/api/models/post-cast-req-body.d.ts +1 -1
- package/build/api/models/post-cast-req-body.js +1 -1
- package/build/api/models/post-cast-response-cast.d.ts +1 -1
- package/build/api/models/post-cast-response-cast.js +1 -1
- package/build/api/models/post-cast-response.d.ts +1 -1
- package/build/api/models/post-cast-response.js +1 -1
- package/build/api/models/profile-url-pfp.d.ts +1 -1
- package/build/api/models/profile-url-pfp.js +1 -1
- package/build/api/models/profile-url.d.ts +1 -1
- package/build/api/models/profile-url.js +1 -1
- package/build/api/models/reaction-for-cast.d.ts +1 -1
- package/build/api/models/reaction-for-cast.js +1 -1
- package/build/api/models/reaction-like.d.ts +1 -1
- package/build/api/models/reaction-like.js +1 -1
- package/build/api/models/reaction-recast.d.ts +1 -1
- package/build/api/models/reaction-recast.js +1 -1
- package/build/api/models/reaction-req-body.d.ts +1 -1
- package/build/api/models/reaction-req-body.js +1 -1
- package/build/api/models/reaction-type.d.ts +1 -1
- package/build/api/models/reaction-type.js +1 -1
- package/build/api/models/reaction-with-cast-info.d.ts +1 -1
- package/build/api/models/reaction-with-cast-info.js +1 -1
- package/build/api/models/reaction-with-user-info.d.ts +1 -1
- package/build/api/models/reaction-with-user-info.js +1 -1
- package/build/api/models/reactions-cast-response.d.ts +1 -1
- package/build/api/models/reactions-cast-response.js +1 -1
- package/build/api/models/reactions-response.d.ts +1 -1
- package/build/api/models/reactions-response.js +1 -1
- package/build/api/models/reactions-type.d.ts +1 -1
- package/build/api/models/reactions-type.js +1 -1
- package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +1 -1
- package/build/api/models/register-developer-managed-signed-key-req-body.js +1 -1
- package/build/api/models/register-signer-key-req-body.d.ts +1 -1
- package/build/api/models/register-signer-key-req-body.js +1 -1
- package/build/api/models/register-user-req-body-metadata.d.ts +1 -1
- package/build/api/models/register-user-req-body-metadata.js +1 -1
- package/build/api/models/register-user-req-body.d.ts +1 -1
- package/build/api/models/register-user-req-body.js +1 -1
- package/build/api/models/register-user-response.d.ts +1 -1
- package/build/api/models/register-user-response.js +1 -1
- package/build/api/models/relevant-followers-response.d.ts +1 -1
- package/build/api/models/relevant-followers-response.js +1 -1
- package/build/api/models/relevant-fungible-owners-response.d.ts +1 -1
- package/build/api/models/relevant-fungible-owners-response.js +1 -1
- package/build/api/models/remove-channel-member-req-body.d.ts +1 -1
- package/build/api/models/remove-channel-member-req-body.js +1 -1
- package/build/api/models/remove-verification-req-body.d.ts +1 -1
- package/build/api/models/remove-verification-req-body.js +1 -1
- package/build/api/models/respond-channel-invite-req-body.d.ts +1 -1
- package/build/api/models/respond-channel-invite-req-body.js +1 -1
- package/build/api/models/searched-user.d.ts +1 -1
- package/build/api/models/searched-user.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.js +1 -1
- package/build/api/models/send-frame-notifications-req-body.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body.js +1 -1
- package/build/api/models/send-frame-notifications-response.d.ts +1 -1
- package/build/api/models/send-frame-notifications-response.js +1 -1
- package/build/api/models/shared-signer-permission.d.ts +1 -1
- package/build/api/models/shared-signer-permission.js +1 -1
- package/build/api/models/signed-key-request-sponsor.d.ts +1 -1
- package/build/api/models/signed-key-request-sponsor.js +1 -1
- package/build/api/models/signer-list-response.d.ts +1 -1
- package/build/api/models/signer-list-response.js +1 -1
- package/build/api/models/signer.d.ts +1 -1
- package/build/api/models/signer.js +1 -1
- package/build/api/models/storage-allocation.d.ts +1 -1
- package/build/api/models/storage-allocation.js +1 -1
- package/build/api/models/storage-allocations-response.d.ts +1 -1
- package/build/api/models/storage-allocations-response.js +1 -1
- package/build/api/models/storage-object.d.ts +1 -1
- package/build/api/models/storage-object.js +1 -1
- package/build/api/models/storage-usage-response.d.ts +1 -1
- package/build/api/models/storage-usage-response.js +1 -1
- package/build/api/models/subscribed-to-all-of.d.ts +1 -1
- package/build/api/models/subscribed-to-all-of.js +1 -1
- package/build/api/models/subscribed-to-object.d.ts +1 -1
- package/build/api/models/subscribed-to-object.js +1 -1
- package/build/api/models/subscribed-to-response.d.ts +1 -1
- package/build/api/models/subscribed-to-response.js +1 -1
- package/build/api/models/subscribed-to.d.ts +1 -1
- package/build/api/models/subscribed-to.js +1 -1
- package/build/api/models/subscriber.d.ts +1 -1
- package/build/api/models/subscriber.js +1 -1
- package/build/api/models/subscribers-response.d.ts +1 -1
- package/build/api/models/subscribers-response.js +1 -1
- package/build/api/models/subscription-check-response.d.ts +1 -1
- package/build/api/models/subscription-check-response.js +1 -1
- package/build/api/models/subscription-metadata.d.ts +1 -1
- package/build/api/models/subscription-metadata.js +1 -1
- package/build/api/models/subscription-price.d.ts +1 -1
- package/build/api/models/subscription-price.js +1 -1
- package/build/api/models/subscription-provider.d.ts +1 -1
- package/build/api/models/subscription-provider.js +1 -1
- package/build/api/models/subscription-providers.d.ts +1 -1
- package/build/api/models/subscription-providers.js +1 -1
- package/build/api/models/subscription-status.d.ts +1 -1
- package/build/api/models/subscription-status.js +1 -1
- package/build/api/models/subscription-tier-price.d.ts +1 -1
- package/build/api/models/subscription-tier-price.js +1 -1
- package/build/api/models/subscription-tier.d.ts +1 -1
- package/build/api/models/subscription-tier.js +1 -1
- package/build/api/models/subscription-token.d.ts +1 -1
- package/build/api/models/subscription-token.js +1 -1
- package/build/api/models/subscription.d.ts +1 -1
- package/build/api/models/subscription.js +1 -1
- package/build/api/models/subscriptions-response.d.ts +1 -1
- package/build/api/models/subscriptions-response.js +1 -1
- package/build/api/models/subscriptions.d.ts +1 -1
- package/build/api/models/subscriptions.js +1 -1
- package/build/api/models/token-balance-balance.d.ts +1 -1
- package/build/api/models/token-balance-balance.js +1 -1
- package/build/api/models/token-balance-token.d.ts +1 -1
- package/build/api/models/token-balance-token.js +1 -1
- package/build/api/models/token-balance.d.ts +1 -1
- package/build/api/models/token-balance.js +1 -1
- package/build/api/models/transaction-frame-action.d.ts +1 -1
- package/build/api/models/transaction-frame-action.js +1 -1
- package/build/api/models/transaction-frame-base.d.ts +1 -1
- package/build/api/models/transaction-frame-base.js +1 -1
- package/build/api/models/transaction-frame-config.d.ts +1 -1
- package/build/api/models/transaction-frame-config.js +1 -1
- package/build/api/models/transaction-frame-destination.d.ts +1 -1
- package/build/api/models/transaction-frame-destination.js +1 -1
- package/build/api/models/transaction-frame-line-item.d.ts +1 -1
- package/build/api/models/transaction-frame-line-item.js +1 -1
- package/build/api/models/transaction-frame-pay-all-of-transaction.d.ts +1 -1
- package/build/api/models/transaction-frame-pay-all-of-transaction.js +1 -1
- package/build/api/models/transaction-frame-pay-all-of.d.ts +1 -1
- package/build/api/models/transaction-frame-pay-all-of.js +1 -1
- package/build/api/models/transaction-frame-pay.d.ts +1 -1
- package/build/api/models/transaction-frame-pay.js +1 -1
- package/build/api/models/transaction-frame-response.d.ts +1 -1
- package/build/api/models/transaction-frame-response.js +1 -1
- package/build/api/models/transaction-frame-status.d.ts +1 -1
- package/build/api/models/transaction-frame-status.js +1 -1
- package/build/api/models/transaction-frame-type.d.ts +1 -1
- package/build/api/models/transaction-frame-type.js +1 -1
- package/build/api/models/transaction-frame.d.ts +1 -1
- package/build/api/models/transaction-frame.js +1 -1
- package/build/api/models/trending-channel-response.d.ts +1 -1
- package/build/api/models/trending-channel-response.js +1 -1
- package/build/api/models/update-user-req-body-location.d.ts +1 -1
- package/build/api/models/update-user-req-body-location.js +1 -1
- package/build/api/models/update-user-req-body-verified-accounts.d.ts +1 -1
- package/build/api/models/update-user-req-body-verified-accounts.js +1 -1
- package/build/api/models/update-user-req-body.d.ts +1 -1
- package/build/api/models/update-user-req-body.js +1 -1
- package/build/api/models/user-dehydrated.d.ts +1 -1
- package/build/api/models/user-dehydrated.js +1 -1
- package/build/api/models/user-experimental.d.ts +1 -1
- package/build/api/models/user-experimental.js +1 -1
- package/build/api/models/user-fidresponse.d.ts +1 -1
- package/build/api/models/user-fidresponse.js +1 -1
- package/build/api/models/user-power-lite-response-result.d.ts +1 -1
- package/build/api/models/user-power-lite-response-result.js +1 -1
- package/build/api/models/user-power-lite-response.d.ts +1 -1
- package/build/api/models/user-power-lite-response.js +1 -1
- package/build/api/models/user-profile-bio.d.ts +1 -1
- package/build/api/models/user-profile-bio.js +1 -1
- package/build/api/models/user-profile.d.ts +1 -1
- package/build/api/models/user-profile.js +1 -1
- package/build/api/models/user-response.d.ts +1 -1
- package/build/api/models/user-response.js +1 -1
- package/build/api/models/user-search-response-result.d.ts +1 -1
- package/build/api/models/user-search-response-result.js +1 -1
- package/build/api/models/user-search-response.d.ts +1 -1
- package/build/api/models/user-search-response.js +1 -1
- package/build/api/models/user-verified-accounts-inner.d.ts +1 -1
- package/build/api/models/user-verified-accounts-inner.js +1 -1
- package/build/api/models/user-verified-addresses-primary.d.ts +1 -1
- package/build/api/models/user-verified-addresses-primary.js +1 -1
- package/build/api/models/user-verified-addresses.d.ts +1 -1
- package/build/api/models/user-verified-addresses.js +1 -1
- package/build/api/models/user-viewer-context.d.ts +1 -1
- package/build/api/models/user-viewer-context.js +1 -1
- package/build/api/models/user.d.ts +1 -1
- package/build/api/models/user.js +1 -1
- package/build/api/models/users-active-channels-response.d.ts +1 -1
- package/build/api/models/users-active-channels-response.js +1 -1
- package/build/api/models/users-response.d.ts +1 -1
- package/build/api/models/users-response.js +1 -1
- package/build/api/models/validate-frame-action-req-body.d.ts +1 -1
- package/build/api/models/validate-frame-action-req-body.js +1 -1
- package/build/api/models/validate-frame-action-response.d.ts +1 -1
- package/build/api/models/validate-frame-action-response.js +1 -1
- package/build/api/models/validate-frame-aggregate-window.d.ts +1 -1
- package/build/api/models/validate-frame-aggregate-window.js +1 -1
- package/build/api/models/validate-frame-analytics-type.d.ts +1 -1
- package/build/api/models/validate-frame-analytics-type.js +1 -1
- package/build/api/models/validated-frame-action-signer.d.ts +1 -1
- package/build/api/models/validated-frame-action-signer.js +1 -1
- package/build/api/models/validated-frame-action-tapped-button.d.ts +1 -1
- package/build/api/models/validated-frame-action-tapped-button.js +1 -1
- package/build/api/models/validated-frame-action.d.ts +1 -1
- package/build/api/models/validated-frame-action.js +1 -1
- package/build/api/models/verification-chain-id.d.ts +1 -1
- package/build/api/models/verification-chain-id.js +1 -1
- package/build/api/models/verification-type.d.ts +1 -1
- package/build/api/models/verification-type.js +1 -1
- package/build/api/models/video-object.d.ts +1 -1
- package/build/api/models/video-object.js +1 -1
- package/build/api/models/webhook-delete-req-body.d.ts +1 -1
- package/build/api/models/webhook-delete-req-body.js +1 -1
- package/build/api/models/webhook-list-response.d.ts +1 -1
- package/build/api/models/webhook-list-response.js +1 -1
- package/build/api/models/webhook-patch-req-body.d.ts +1 -1
- package/build/api/models/webhook-patch-req-body.js +1 -1
- package/build/api/models/webhook-post-req-body.d.ts +1 -1
- package/build/api/models/webhook-post-req-body.js +1 -1
- package/build/api/models/webhook-put-req-body.d.ts +1 -1
- package/build/api/models/webhook-put-req-body.js +1 -1
- package/build/api/models/webhook-response.d.ts +1 -1
- package/build/api/models/webhook-response.js +1 -1
- package/build/api/models/webhook-secret.d.ts +1 -1
- package/build/api/models/webhook-secret.js +1 -1
- package/build/api/models/webhook-subscription-filters-cast.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-cast.js +1 -1
- package/build/api/models/webhook-subscription-filters-follow.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-follow.js +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.js +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.js +1 -1
- package/build/api/models/webhook-subscription-filters.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters.js +1 -1
- package/build/api/models/webhook-subscription.d.ts +1 -1
- package/build/api/models/webhook-subscription.js +1 -1
- package/build/api/models/webhook.d.ts +1 -1
- package/build/api/models/webhook.js +1 -1
- package/build/api/models/zod-error-errors-inner.d.ts +1 -1
- package/build/api/models/zod-error-errors-inner.js +1 -1
- package/build/api/models/zod-error.d.ts +1 -1
- package/build/api/models/zod-error.js +1 -1
- package/build/clients/NeynarAPIClient.d.ts +5 -2
- package/build/clients/NeynarAPIClient.js +28 -2
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.27.1
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -40,6 +40,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
40
40
|
* @param {boolean} [includeReplies] Include reply casts by the author in the response, true by default
|
|
41
41
|
* @param {string} [parentUrl] Parent URL to filter the feed; mutually exclusive with channel_id
|
|
42
42
|
* @param {string} [channelId] Channel ID to filter the feed; mutually exclusive with parent_url
|
|
43
|
+
* @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.
|
|
43
44
|
* @param {*} [options] Override http request option.
|
|
44
45
|
* @throws {RequiredError}
|
|
45
46
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -47,7 +48,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
47
48
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
|
|
48
49
|
*
|
|
49
50
|
*/
|
|
50
|
-
fetchCastsForUser: async (fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options = {}) => {
|
|
51
|
+
fetchCastsForUser: async (fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, xNeynarExperimental, options = {}) => {
|
|
51
52
|
// verify required parameter 'fid' is not null or undefined
|
|
52
53
|
(0, common_1.assertParamExists)('fetchCastsForUser', 'fid', fid);
|
|
53
54
|
const localVarPath = `/farcaster/feed/user/casts`;
|
|
@@ -86,6 +87,11 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
86
87
|
if (channelId !== undefined) {
|
|
87
88
|
localVarQueryParameter['channel_id'] = channelId;
|
|
88
89
|
}
|
|
90
|
+
if (xNeynarExperimental != null) {
|
|
91
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
92
|
+
? xNeynarExperimental
|
|
93
|
+
: JSON.stringify(xNeynarExperimental);
|
|
94
|
+
}
|
|
89
95
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
90
96
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
91
97
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -110,6 +116,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
110
116
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
111
117
|
* @param {string} [cursor] Pagination cursor.
|
|
112
118
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
119
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
113
120
|
* @param {*} [options] Override http request option.
|
|
114
121
|
* @throws {RequiredError}
|
|
115
122
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -117,7 +124,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
117
124
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed)
|
|
118
125
|
*
|
|
119
126
|
*/
|
|
120
|
-
fetchFeed: async (feedType, filterType, fid, fids, parentUrl, channelId, membersOnly, embedUrl, embedTypes, withRecasts, limit, cursor, viewerFid, options = {}) => {
|
|
127
|
+
fetchFeed: async (feedType, filterType, fid, fids, parentUrl, channelId, membersOnly, embedUrl, embedTypes, withRecasts, limit, cursor, viewerFid, xNeynarExperimental, options = {}) => {
|
|
121
128
|
// verify required parameter 'feedType' is not null or undefined
|
|
122
129
|
(0, common_1.assertParamExists)('fetchFeed', 'feedType', feedType);
|
|
123
130
|
const localVarPath = `/farcaster/feed`;
|
|
@@ -171,6 +178,11 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
171
178
|
if (viewerFid !== undefined) {
|
|
172
179
|
localVarQueryParameter['viewer_fid'] = viewerFid;
|
|
173
180
|
}
|
|
181
|
+
if (xNeynarExperimental != null) {
|
|
182
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
183
|
+
? xNeynarExperimental
|
|
184
|
+
: JSON.stringify(xNeynarExperimental);
|
|
185
|
+
}
|
|
174
186
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
175
187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
176
188
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -191,6 +203,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
191
203
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
192
204
|
* @param {string} [cursor] Pagination cursor.
|
|
193
205
|
* @param {boolean} [shouldModerate] If true, only casts that have been liked by the moderator (if one exists) will be returned.
|
|
206
|
+
* @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.
|
|
194
207
|
* @param {*} [options] Override http request option.
|
|
195
208
|
* @throws {RequiredError}
|
|
196
209
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -198,7 +211,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
198
211
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-channel-ids)
|
|
199
212
|
*
|
|
200
213
|
*/
|
|
201
|
-
fetchFeedByChannelIds: async (channelIds, withRecasts, viewerFid, withReplies, membersOnly, fids, limit, cursor, shouldModerate, options = {}) => {
|
|
214
|
+
fetchFeedByChannelIds: async (channelIds, withRecasts, viewerFid, withReplies, membersOnly, fids, limit, cursor, shouldModerate, xNeynarExperimental, options = {}) => {
|
|
202
215
|
// verify required parameter 'channelIds' is not null or undefined
|
|
203
216
|
(0, common_1.assertParamExists)('fetchFeedByChannelIds', 'channelIds', channelIds);
|
|
204
217
|
const localVarPath = `/farcaster/feed/channels`;
|
|
@@ -240,6 +253,11 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
240
253
|
if (shouldModerate !== undefined) {
|
|
241
254
|
localVarQueryParameter['should_moderate'] = shouldModerate;
|
|
242
255
|
}
|
|
256
|
+
if (xNeynarExperimental != null) {
|
|
257
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
258
|
+
? xNeynarExperimental
|
|
259
|
+
: JSON.stringify(xNeynarExperimental);
|
|
260
|
+
}
|
|
243
261
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
244
262
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
245
263
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -257,6 +275,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
257
275
|
* @param {boolean} [withReplies] Include replies in the response, false by default
|
|
258
276
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
259
277
|
* @param {string} [cursor] Pagination cursor.
|
|
278
|
+
* @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
279
|
* @param {*} [options] Override http request option.
|
|
261
280
|
* @throws {RequiredError}
|
|
262
281
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -264,7 +283,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
264
283
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-parent-urls)
|
|
265
284
|
*
|
|
266
285
|
*/
|
|
267
|
-
fetchFeedByParentUrls: async (parentUrls, withRecasts, viewerFid, withReplies, limit, cursor, options = {}) => {
|
|
286
|
+
fetchFeedByParentUrls: async (parentUrls, withRecasts, viewerFid, withReplies, limit, cursor, xNeynarExperimental, options = {}) => {
|
|
268
287
|
// verify required parameter 'parentUrls' is not null or undefined
|
|
269
288
|
(0, common_1.assertParamExists)('fetchFeedByParentUrls', 'parentUrls', parentUrls);
|
|
270
289
|
const localVarPath = `/farcaster/feed/parent_urls`;
|
|
@@ -297,6 +316,11 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
297
316
|
if (cursor !== undefined) {
|
|
298
317
|
localVarQueryParameter['cursor'] = cursor;
|
|
299
318
|
}
|
|
319
|
+
if (xNeynarExperimental != null) {
|
|
320
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
321
|
+
? xNeynarExperimental
|
|
322
|
+
: JSON.stringify(xNeynarExperimental);
|
|
323
|
+
}
|
|
300
324
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
301
325
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
302
326
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -314,6 +338,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
314
338
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 50)
|
|
315
339
|
* @param {string} [cursor] Pagination cursor.
|
|
316
340
|
* @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.
|
|
341
|
+
* @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.
|
|
317
342
|
* @param {*} [options] Override http request option.
|
|
318
343
|
* @throws {RequiredError}
|
|
319
344
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -321,7 +346,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
321
346
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-for-you)
|
|
322
347
|
*
|
|
323
348
|
*/
|
|
324
|
-
fetchFeedForYou: async (fid, viewerFid, provider, limit, cursor, providerMetadata, options = {}) => {
|
|
349
|
+
fetchFeedForYou: async (fid, viewerFid, provider, limit, cursor, providerMetadata, xNeynarExperimental, options = {}) => {
|
|
325
350
|
// verify required parameter 'fid' is not null or undefined
|
|
326
351
|
(0, common_1.assertParamExists)('fetchFeedForYou', 'fid', fid);
|
|
327
352
|
const localVarPath = `/farcaster/feed/for_you`;
|
|
@@ -354,6 +379,11 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
354
379
|
if (providerMetadata !== undefined) {
|
|
355
380
|
localVarQueryParameter['provider_metadata'] = providerMetadata;
|
|
356
381
|
}
|
|
382
|
+
if (xNeynarExperimental != null) {
|
|
383
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
384
|
+
? xNeynarExperimental
|
|
385
|
+
: JSON.stringify(xNeynarExperimental);
|
|
386
|
+
}
|
|
357
387
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
358
388
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
359
389
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -368,6 +398,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
368
398
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
369
399
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
370
400
|
* @param {string} [cursor] Pagination cursor.
|
|
401
|
+
* @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.
|
|
371
402
|
* @param {*} [options] Override http request option.
|
|
372
403
|
* @throws {RequiredError}
|
|
373
404
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -375,7 +406,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
375
406
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frames-only-feed)
|
|
376
407
|
*
|
|
377
408
|
*/
|
|
378
|
-
fetchFramesOnlyFeed: async (limit, viewerFid, cursor, options = {}) => {
|
|
409
|
+
fetchFramesOnlyFeed: async (limit, viewerFid, cursor, xNeynarExperimental, options = {}) => {
|
|
379
410
|
const localVarPath = `/farcaster/feed/frames`;
|
|
380
411
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
381
412
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -397,6 +428,11 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
397
428
|
if (cursor !== undefined) {
|
|
398
429
|
localVarQueryParameter['cursor'] = cursor;
|
|
399
430
|
}
|
|
431
|
+
if (xNeynarExperimental != null) {
|
|
432
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
433
|
+
? xNeynarExperimental
|
|
434
|
+
: JSON.stringify(xNeynarExperimental);
|
|
435
|
+
}
|
|
400
436
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
401
437
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
402
438
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -506,9 +542,11 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
506
542
|
* @param {string} [cursor] Pagination cursor
|
|
507
543
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
508
544
|
* @param {FetchTrendingFeedTimeWindowEnum} [timeWindow] Time window for trending casts (7d window for channel feeds only)
|
|
509
|
-
* @param {string} [channelId] Channel ID to filter trending casts. Less active channels might have no casts in the time window selected.
|
|
545
|
+
* @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.
|
|
546
|
+
* @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.
|
|
510
547
|
* @param {FeedTrendingProvider} [provider] The provider of the trending casts feed.
|
|
511
548
|
* @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.
|
|
549
|
+
* @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.
|
|
512
550
|
* @param {*} [options] Override http request option.
|
|
513
551
|
* @throws {RequiredError}
|
|
514
552
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -516,7 +554,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
516
554
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-trending-feed)
|
|
517
555
|
*
|
|
518
556
|
*/
|
|
519
|
-
fetchTrendingFeed: async (limit, cursor, viewerFid, timeWindow, channelId, provider, providerMetadata, options = {}) => {
|
|
557
|
+
fetchTrendingFeed: async (limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata, xNeynarExperimental, options = {}) => {
|
|
520
558
|
const localVarPath = `/farcaster/feed/trending`;
|
|
521
559
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
522
560
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -544,12 +582,20 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
544
582
|
if (channelId !== undefined) {
|
|
545
583
|
localVarQueryParameter['channel_id'] = channelId;
|
|
546
584
|
}
|
|
585
|
+
if (parentUrl !== undefined) {
|
|
586
|
+
localVarQueryParameter['parent_url'] = parentUrl;
|
|
587
|
+
}
|
|
547
588
|
if (provider !== undefined) {
|
|
548
589
|
localVarQueryParameter['provider'] = provider;
|
|
549
590
|
}
|
|
550
591
|
if (providerMetadata !== undefined) {
|
|
551
592
|
localVarQueryParameter['provider_metadata'] = providerMetadata;
|
|
552
593
|
}
|
|
594
|
+
if (xNeynarExperimental != null) {
|
|
595
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
596
|
+
? xNeynarExperimental
|
|
597
|
+
: JSON.stringify(xNeynarExperimental);
|
|
598
|
+
}
|
|
553
599
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
554
600
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
555
601
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -566,6 +612,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
566
612
|
* @param {boolean} [withRecasts] Include recasts in the response, true by default
|
|
567
613
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
568
614
|
* @param {string} [cursor] Pagination cursor.
|
|
615
|
+
* @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.
|
|
569
616
|
* @param {*} [options] Override http request option.
|
|
570
617
|
* @throws {RequiredError}
|
|
571
618
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -573,7 +620,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
573
620
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-following-feed)
|
|
574
621
|
*
|
|
575
622
|
*/
|
|
576
|
-
fetchUserFollowingFeed: async (fid, viewerFid, withRecasts, limit, cursor, options = {}) => {
|
|
623
|
+
fetchUserFollowingFeed: async (fid, viewerFid, withRecasts, limit, cursor, xNeynarExperimental, options = {}) => {
|
|
577
624
|
// verify required parameter 'fid' is not null or undefined
|
|
578
625
|
(0, common_1.assertParamExists)('fetchUserFollowingFeed', 'fid', fid);
|
|
579
626
|
const localVarPath = `/farcaster/feed/following`;
|
|
@@ -603,6 +650,11 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
603
650
|
if (cursor !== undefined) {
|
|
604
651
|
localVarQueryParameter['cursor'] = cursor;
|
|
605
652
|
}
|
|
653
|
+
if (xNeynarExperimental != null) {
|
|
654
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
655
|
+
? xNeynarExperimental
|
|
656
|
+
: JSON.stringify(xNeynarExperimental);
|
|
657
|
+
}
|
|
606
658
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
607
659
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
608
660
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -632,6 +684,7 @@ const FeedApiFp = function (configuration) {
|
|
|
632
684
|
* @param {boolean} [includeReplies] Include reply casts by the author in the response, true by default
|
|
633
685
|
* @param {string} [parentUrl] Parent URL to filter the feed; mutually exclusive with channel_id
|
|
634
686
|
* @param {string} [channelId] Channel ID to filter the feed; mutually exclusive with parent_url
|
|
687
|
+
* @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.
|
|
635
688
|
* @param {*} [options] Override http request option.
|
|
636
689
|
* @throws {RequiredError}
|
|
637
690
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -639,9 +692,9 @@ const FeedApiFp = function (configuration) {
|
|
|
639
692
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
|
|
640
693
|
*
|
|
641
694
|
*/
|
|
642
|
-
async fetchCastsForUser(fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options) {
|
|
695
|
+
async fetchCastsForUser(fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, xNeynarExperimental, options) {
|
|
643
696
|
var _a, _b, _c;
|
|
644
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchCastsForUser(fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options);
|
|
697
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchCastsForUser(fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, xNeynarExperimental, options);
|
|
645
698
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
646
699
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeedApi.fetchCastsForUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
647
700
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -662,6 +715,7 @@ const FeedApiFp = function (configuration) {
|
|
|
662
715
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
663
716
|
* @param {string} [cursor] Pagination cursor.
|
|
664
717
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
718
|
+
* @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.
|
|
665
719
|
* @param {*} [options] Override http request option.
|
|
666
720
|
* @throws {RequiredError}
|
|
667
721
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -669,9 +723,9 @@ const FeedApiFp = function (configuration) {
|
|
|
669
723
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed)
|
|
670
724
|
*
|
|
671
725
|
*/
|
|
672
|
-
async fetchFeed(feedType, filterType, fid, fids, parentUrl, channelId, membersOnly, embedUrl, embedTypes, withRecasts, limit, cursor, viewerFid, options) {
|
|
726
|
+
async fetchFeed(feedType, filterType, fid, fids, parentUrl, channelId, membersOnly, embedUrl, embedTypes, withRecasts, limit, cursor, viewerFid, xNeynarExperimental, options) {
|
|
673
727
|
var _a, _b, _c;
|
|
674
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeed(feedType, filterType, fid, fids, parentUrl, channelId, membersOnly, embedUrl, embedTypes, withRecasts, limit, cursor, viewerFid, options);
|
|
728
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeed(feedType, filterType, fid, fids, parentUrl, channelId, membersOnly, embedUrl, embedTypes, withRecasts, limit, cursor, viewerFid, xNeynarExperimental, options);
|
|
675
729
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
676
730
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeedApi.fetchFeed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
677
731
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -688,6 +742,7 @@ const FeedApiFp = function (configuration) {
|
|
|
688
742
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
689
743
|
* @param {string} [cursor] Pagination cursor.
|
|
690
744
|
* @param {boolean} [shouldModerate] If true, only casts that have been liked by the moderator (if one exists) will be returned.
|
|
745
|
+
* @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.
|
|
691
746
|
* @param {*} [options] Override http request option.
|
|
692
747
|
* @throws {RequiredError}
|
|
693
748
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -695,9 +750,9 @@ const FeedApiFp = function (configuration) {
|
|
|
695
750
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-channel-ids)
|
|
696
751
|
*
|
|
697
752
|
*/
|
|
698
|
-
async fetchFeedByChannelIds(channelIds, withRecasts, viewerFid, withReplies, membersOnly, fids, limit, cursor, shouldModerate, options) {
|
|
753
|
+
async fetchFeedByChannelIds(channelIds, withRecasts, viewerFid, withReplies, membersOnly, fids, limit, cursor, shouldModerate, xNeynarExperimental, options) {
|
|
699
754
|
var _a, _b, _c;
|
|
700
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeedByChannelIds(channelIds, withRecasts, viewerFid, withReplies, membersOnly, fids, limit, cursor, shouldModerate, options);
|
|
755
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeedByChannelIds(channelIds, withRecasts, viewerFid, withReplies, membersOnly, fids, limit, cursor, shouldModerate, xNeynarExperimental, options);
|
|
701
756
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
702
757
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeedApi.fetchFeedByChannelIds']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
703
758
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -711,6 +766,7 @@ const FeedApiFp = function (configuration) {
|
|
|
711
766
|
* @param {boolean} [withReplies] Include replies in the response, false by default
|
|
712
767
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
713
768
|
* @param {string} [cursor] Pagination cursor.
|
|
769
|
+
* @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.
|
|
714
770
|
* @param {*} [options] Override http request option.
|
|
715
771
|
* @throws {RequiredError}
|
|
716
772
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -718,9 +774,9 @@ const FeedApiFp = function (configuration) {
|
|
|
718
774
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-parent-urls)
|
|
719
775
|
*
|
|
720
776
|
*/
|
|
721
|
-
async fetchFeedByParentUrls(parentUrls, withRecasts, viewerFid, withReplies, limit, cursor, options) {
|
|
777
|
+
async fetchFeedByParentUrls(parentUrls, withRecasts, viewerFid, withReplies, limit, cursor, xNeynarExperimental, options) {
|
|
722
778
|
var _a, _b, _c;
|
|
723
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeedByParentUrls(parentUrls, withRecasts, viewerFid, withReplies, limit, cursor, options);
|
|
779
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeedByParentUrls(parentUrls, withRecasts, viewerFid, withReplies, limit, cursor, xNeynarExperimental, options);
|
|
724
780
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
725
781
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeedApi.fetchFeedByParentUrls']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
726
782
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -734,6 +790,7 @@ const FeedApiFp = function (configuration) {
|
|
|
734
790
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 50)
|
|
735
791
|
* @param {string} [cursor] Pagination cursor.
|
|
736
792
|
* @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.
|
|
793
|
+
* @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.
|
|
737
794
|
* @param {*} [options] Override http request option.
|
|
738
795
|
* @throws {RequiredError}
|
|
739
796
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -741,9 +798,9 @@ const FeedApiFp = function (configuration) {
|
|
|
741
798
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-for-you)
|
|
742
799
|
*
|
|
743
800
|
*/
|
|
744
|
-
async fetchFeedForYou(fid, viewerFid, provider, limit, cursor, providerMetadata, options) {
|
|
801
|
+
async fetchFeedForYou(fid, viewerFid, provider, limit, cursor, providerMetadata, xNeynarExperimental, options) {
|
|
745
802
|
var _a, _b, _c;
|
|
746
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeedForYou(fid, viewerFid, provider, limit, cursor, providerMetadata, options);
|
|
803
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeedForYou(fid, viewerFid, provider, limit, cursor, providerMetadata, xNeynarExperimental, options);
|
|
747
804
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
748
805
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeedApi.fetchFeedForYou']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
749
806
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -754,6 +811,7 @@ const FeedApiFp = function (configuration) {
|
|
|
754
811
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
755
812
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
756
813
|
* @param {string} [cursor] Pagination cursor.
|
|
814
|
+
* @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.
|
|
757
815
|
* @param {*} [options] Override http request option.
|
|
758
816
|
* @throws {RequiredError}
|
|
759
817
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -761,9 +819,9 @@ const FeedApiFp = function (configuration) {
|
|
|
761
819
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frames-only-feed)
|
|
762
820
|
*
|
|
763
821
|
*/
|
|
764
|
-
async fetchFramesOnlyFeed(limit, viewerFid, cursor, options) {
|
|
822
|
+
async fetchFramesOnlyFeed(limit, viewerFid, cursor, xNeynarExperimental, options) {
|
|
765
823
|
var _a, _b, _c;
|
|
766
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFramesOnlyFeed(limit, viewerFid, cursor, options);
|
|
824
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFramesOnlyFeed(limit, viewerFid, cursor, xNeynarExperimental, options);
|
|
767
825
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
768
826
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeedApi.fetchFramesOnlyFeed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
769
827
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -816,9 +874,11 @@ const FeedApiFp = function (configuration) {
|
|
|
816
874
|
* @param {string} [cursor] Pagination cursor
|
|
817
875
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
818
876
|
* @param {FetchTrendingFeedTimeWindowEnum} [timeWindow] Time window for trending casts (7d window for channel feeds only)
|
|
819
|
-
* @param {string} [channelId] Channel ID to filter trending casts. Less active channels might have no casts in the time window selected.
|
|
877
|
+
* @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.
|
|
878
|
+
* @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.
|
|
820
879
|
* @param {FeedTrendingProvider} [provider] The provider of the trending casts feed.
|
|
821
880
|
* @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.
|
|
881
|
+
* @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.
|
|
822
882
|
* @param {*} [options] Override http request option.
|
|
823
883
|
* @throws {RequiredError}
|
|
824
884
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -826,9 +886,9 @@ const FeedApiFp = function (configuration) {
|
|
|
826
886
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-trending-feed)
|
|
827
887
|
*
|
|
828
888
|
*/
|
|
829
|
-
async fetchTrendingFeed(limit, cursor, viewerFid, timeWindow, channelId, provider, providerMetadata, options) {
|
|
889
|
+
async fetchTrendingFeed(limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata, xNeynarExperimental, options) {
|
|
830
890
|
var _a, _b, _c;
|
|
831
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchTrendingFeed(limit, cursor, viewerFid, timeWindow, channelId, provider, providerMetadata, options);
|
|
891
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchTrendingFeed(limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata, xNeynarExperimental, options);
|
|
832
892
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
833
893
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeedApi.fetchTrendingFeed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
834
894
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -841,6 +901,7 @@ const FeedApiFp = function (configuration) {
|
|
|
841
901
|
* @param {boolean} [withRecasts] Include recasts in the response, true by default
|
|
842
902
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
843
903
|
* @param {string} [cursor] Pagination cursor.
|
|
904
|
+
* @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.
|
|
844
905
|
* @param {*} [options] Override http request option.
|
|
845
906
|
* @throws {RequiredError}
|
|
846
907
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -848,9 +909,9 @@ const FeedApiFp = function (configuration) {
|
|
|
848
909
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-following-feed)
|
|
849
910
|
*
|
|
850
911
|
*/
|
|
851
|
-
async fetchUserFollowingFeed(fid, viewerFid, withRecasts, limit, cursor, options) {
|
|
912
|
+
async fetchUserFollowingFeed(fid, viewerFid, withRecasts, limit, cursor, xNeynarExperimental, options) {
|
|
852
913
|
var _a, _b, _c;
|
|
853
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUserFollowingFeed(fid, viewerFid, withRecasts, limit, cursor, options);
|
|
914
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUserFollowingFeed(fid, viewerFid, withRecasts, limit, cursor, xNeynarExperimental, options);
|
|
854
915
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
855
916
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeedApi.fetchUserFollowingFeed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
856
917
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -877,7 +938,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
877
938
|
*
|
|
878
939
|
*/
|
|
879
940
|
fetchCastsForUser(requestParameters, options) {
|
|
880
|
-
return localVarFp.fetchCastsForUser(requestParameters.fid, requestParameters.appFid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, options).then((request) => request(axios, basePath));
|
|
941
|
+
return localVarFp.fetchCastsForUser(requestParameters.fid, requestParameters.appFid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
881
942
|
},
|
|
882
943
|
/**
|
|
883
944
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
@@ -891,7 +952,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
891
952
|
*
|
|
892
953
|
*/
|
|
893
954
|
fetchFeed(requestParameters, options) {
|
|
894
|
-
return localVarFp.fetchFeed(requestParameters.feedType, requestParameters.filterType, requestParameters.fid, requestParameters.fids, requestParameters.parentUrl, requestParameters.channelId, requestParameters.membersOnly, requestParameters.embedUrl, requestParameters.embedTypes, requestParameters.withRecasts, requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, options).then((request) => request(axios, basePath));
|
|
955
|
+
return localVarFp.fetchFeed(requestParameters.feedType, requestParameters.filterType, requestParameters.fid, requestParameters.fids, requestParameters.parentUrl, requestParameters.channelId, requestParameters.membersOnly, requestParameters.embedUrl, requestParameters.embedTypes, requestParameters.withRecasts, requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
895
956
|
},
|
|
896
957
|
/**
|
|
897
958
|
* Fetch feed based on channel IDs
|
|
@@ -905,7 +966,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
905
966
|
*
|
|
906
967
|
*/
|
|
907
968
|
fetchFeedByChannelIds(requestParameters, options) {
|
|
908
|
-
return localVarFp.fetchFeedByChannelIds(requestParameters.channelIds, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.membersOnly, requestParameters.fids, requestParameters.limit, requestParameters.cursor, requestParameters.shouldModerate, options).then((request) => request(axios, basePath));
|
|
969
|
+
return localVarFp.fetchFeedByChannelIds(requestParameters.channelIds, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.membersOnly, requestParameters.fids, requestParameters.limit, requestParameters.cursor, requestParameters.shouldModerate, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
909
970
|
},
|
|
910
971
|
/**
|
|
911
972
|
* Fetch feed based on parent URLs
|
|
@@ -919,7 +980,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
919
980
|
*
|
|
920
981
|
*/
|
|
921
982
|
fetchFeedByParentUrls(requestParameters, options) {
|
|
922
|
-
return localVarFp.fetchFeedByParentUrls(requestParameters.parentUrls, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
983
|
+
return localVarFp.fetchFeedByParentUrls(requestParameters.parentUrls, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
923
984
|
},
|
|
924
985
|
/**
|
|
925
986
|
* Fetch a personalized For You feed for a user
|
|
@@ -933,7 +994,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
933
994
|
*
|
|
934
995
|
*/
|
|
935
996
|
fetchFeedForYou(requestParameters, options) {
|
|
936
|
-
return localVarFp.fetchFeedForYou(requestParameters.fid, requestParameters.viewerFid, requestParameters.provider, requestParameters.limit, requestParameters.cursor, requestParameters.providerMetadata, options).then((request) => request(axios, basePath));
|
|
997
|
+
return localVarFp.fetchFeedForYou(requestParameters.fid, requestParameters.viewerFid, requestParameters.provider, requestParameters.limit, requestParameters.cursor, requestParameters.providerMetadata, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
937
998
|
},
|
|
938
999
|
/**
|
|
939
1000
|
* Fetch feed of casts with Frames, reverse chronological order
|
|
@@ -947,7 +1008,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
947
1008
|
*
|
|
948
1009
|
*/
|
|
949
1010
|
fetchFramesOnlyFeed(requestParameters = {}, options) {
|
|
950
|
-
return localVarFp.fetchFramesOnlyFeed(requestParameters.limit, requestParameters.viewerFid, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
1011
|
+
return localVarFp.fetchFramesOnlyFeed(requestParameters.limit, requestParameters.viewerFid, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
951
1012
|
},
|
|
952
1013
|
/**
|
|
953
1014
|
* Fetch 10 most popular casts for a given user FID; popularity based on replies, likes and recasts; sorted by most popular first
|
|
@@ -989,7 +1050,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
989
1050
|
*
|
|
990
1051
|
*/
|
|
991
1052
|
fetchTrendingFeed(requestParameters = {}, options) {
|
|
992
|
-
return localVarFp.fetchTrendingFeed(requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, requestParameters.timeWindow, requestParameters.channelId, requestParameters.provider, requestParameters.providerMetadata, options).then((request) => request(axios, basePath));
|
|
1053
|
+
return localVarFp.fetchTrendingFeed(requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, requestParameters.timeWindow, requestParameters.channelId, requestParameters.parentUrl, requestParameters.provider, requestParameters.providerMetadata, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
993
1054
|
},
|
|
994
1055
|
/**
|
|
995
1056
|
* Fetch feed based on who a user is following
|
|
@@ -1003,7 +1064,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
1003
1064
|
*
|
|
1004
1065
|
*/
|
|
1005
1066
|
fetchUserFollowingFeed(requestParameters, options) {
|
|
1006
|
-
return localVarFp.fetchUserFollowingFeed(requestParameters.fid, requestParameters.viewerFid, requestParameters.withRecasts, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
1067
|
+
return localVarFp.fetchUserFollowingFeed(requestParameters.fid, requestParameters.viewerFid, requestParameters.withRecasts, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
1007
1068
|
},
|
|
1008
1069
|
};
|
|
1009
1070
|
};
|
|
@@ -1028,7 +1089,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1028
1089
|
*
|
|
1029
1090
|
*/
|
|
1030
1091
|
fetchCastsForUser(requestParameters, options) {
|
|
1031
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchCastsForUser(requestParameters.fid, requestParameters.appFid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, options).then((request) => request(this.axios, this.basePath));
|
|
1092
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchCastsForUser(requestParameters.fid, requestParameters.appFid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
1032
1093
|
}
|
|
1033
1094
|
/**
|
|
1034
1095
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
@@ -1043,7 +1104,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1043
1104
|
*
|
|
1044
1105
|
*/
|
|
1045
1106
|
fetchFeed(requestParameters, options) {
|
|
1046
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchFeed(requestParameters.feedType, requestParameters.filterType, requestParameters.fid, requestParameters.fids, requestParameters.parentUrl, requestParameters.channelId, requestParameters.membersOnly, requestParameters.embedUrl, requestParameters.embedTypes, requestParameters.withRecasts, requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, options).then((request) => request(this.axios, this.basePath));
|
|
1107
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchFeed(requestParameters.feedType, requestParameters.filterType, requestParameters.fid, requestParameters.fids, requestParameters.parentUrl, requestParameters.channelId, requestParameters.membersOnly, requestParameters.embedUrl, requestParameters.embedTypes, requestParameters.withRecasts, requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
1047
1108
|
}
|
|
1048
1109
|
/**
|
|
1049
1110
|
* Fetch feed based on channel IDs
|
|
@@ -1058,7 +1119,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1058
1119
|
*
|
|
1059
1120
|
*/
|
|
1060
1121
|
fetchFeedByChannelIds(requestParameters, options) {
|
|
1061
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchFeedByChannelIds(requestParameters.channelIds, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.membersOnly, requestParameters.fids, requestParameters.limit, requestParameters.cursor, requestParameters.shouldModerate, options).then((request) => request(this.axios, this.basePath));
|
|
1122
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchFeedByChannelIds(requestParameters.channelIds, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.membersOnly, requestParameters.fids, requestParameters.limit, requestParameters.cursor, requestParameters.shouldModerate, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
1062
1123
|
}
|
|
1063
1124
|
/**
|
|
1064
1125
|
* Fetch feed based on parent URLs
|
|
@@ -1073,7 +1134,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1073
1134
|
*
|
|
1074
1135
|
*/
|
|
1075
1136
|
fetchFeedByParentUrls(requestParameters, options) {
|
|
1076
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchFeedByParentUrls(requestParameters.parentUrls, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
1137
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchFeedByParentUrls(requestParameters.parentUrls, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
1077
1138
|
}
|
|
1078
1139
|
/**
|
|
1079
1140
|
* Fetch a personalized For You feed for a user
|
|
@@ -1088,7 +1149,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1088
1149
|
*
|
|
1089
1150
|
*/
|
|
1090
1151
|
fetchFeedForYou(requestParameters, options) {
|
|
1091
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchFeedForYou(requestParameters.fid, requestParameters.viewerFid, requestParameters.provider, requestParameters.limit, requestParameters.cursor, requestParameters.providerMetadata, options).then((request) => request(this.axios, this.basePath));
|
|
1152
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchFeedForYou(requestParameters.fid, requestParameters.viewerFid, requestParameters.provider, requestParameters.limit, requestParameters.cursor, requestParameters.providerMetadata, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
1092
1153
|
}
|
|
1093
1154
|
/**
|
|
1094
1155
|
* Fetch feed of casts with Frames, reverse chronological order
|
|
@@ -1103,7 +1164,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1103
1164
|
*
|
|
1104
1165
|
*/
|
|
1105
1166
|
fetchFramesOnlyFeed(requestParameters = {}, options) {
|
|
1106
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchFramesOnlyFeed(requestParameters.limit, requestParameters.viewerFid, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
1167
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchFramesOnlyFeed(requestParameters.limit, requestParameters.viewerFid, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
1107
1168
|
}
|
|
1108
1169
|
/**
|
|
1109
1170
|
* Fetch 10 most popular casts for a given user FID; popularity based on replies, likes and recasts; sorted by most popular first
|
|
@@ -1148,7 +1209,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1148
1209
|
*
|
|
1149
1210
|
*/
|
|
1150
1211
|
fetchTrendingFeed(requestParameters = {}, options) {
|
|
1151
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchTrendingFeed(requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, requestParameters.timeWindow, requestParameters.channelId, requestParameters.provider, requestParameters.providerMetadata, options).then((request) => request(this.axios, this.basePath));
|
|
1212
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchTrendingFeed(requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, requestParameters.timeWindow, requestParameters.channelId, requestParameters.parentUrl, requestParameters.provider, requestParameters.providerMetadata, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
1152
1213
|
}
|
|
1153
1214
|
/**
|
|
1154
1215
|
* Fetch feed based on who a user is following
|
|
@@ -1163,7 +1224,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1163
1224
|
*
|
|
1164
1225
|
*/
|
|
1165
1226
|
fetchUserFollowingFeed(requestParameters, options) {
|
|
1166
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchUserFollowingFeed(requestParameters.fid, requestParameters.viewerFid, requestParameters.withRecasts, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
1227
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchUserFollowingFeed(requestParameters.fid, requestParameters.viewerFid, requestParameters.withRecasts, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
1167
1228
|
}
|
|
1168
1229
|
}
|
|
1169
1230
|
exports.FeedApi = FeedApi;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster API V2
|
|
3
3
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.27.1
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.27.1
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|