@neynar/nodejs-sdk 2.26.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 +105 -17
- package/build/api/apis/feed-api.js +97 -41
- 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.js +24 -0
- 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);
|
|
@@ -510,6 +546,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
510
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.
|
|
511
547
|
* @param {FeedTrendingProvider} [provider] The provider of the trending casts feed.
|
|
512
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.
|
|
513
550
|
* @param {*} [options] Override http request option.
|
|
514
551
|
* @throws {RequiredError}
|
|
515
552
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -517,7 +554,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
517
554
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-trending-feed)
|
|
518
555
|
*
|
|
519
556
|
*/
|
|
520
|
-
fetchTrendingFeed: async (limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata, options = {}) => {
|
|
557
|
+
fetchTrendingFeed: async (limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata, xNeynarExperimental, options = {}) => {
|
|
521
558
|
const localVarPath = `/farcaster/feed/trending`;
|
|
522
559
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
523
560
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -554,6 +591,11 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
554
591
|
if (providerMetadata !== undefined) {
|
|
555
592
|
localVarQueryParameter['provider_metadata'] = providerMetadata;
|
|
556
593
|
}
|
|
594
|
+
if (xNeynarExperimental != null) {
|
|
595
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
596
|
+
? xNeynarExperimental
|
|
597
|
+
: JSON.stringify(xNeynarExperimental);
|
|
598
|
+
}
|
|
557
599
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
558
600
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
559
601
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -570,6 +612,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
570
612
|
* @param {boolean} [withRecasts] Include recasts in the response, true by default
|
|
571
613
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
572
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.
|
|
573
616
|
* @param {*} [options] Override http request option.
|
|
574
617
|
* @throws {RequiredError}
|
|
575
618
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -577,7 +620,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
577
620
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-following-feed)
|
|
578
621
|
*
|
|
579
622
|
*/
|
|
580
|
-
fetchUserFollowingFeed: async (fid, viewerFid, withRecasts, limit, cursor, options = {}) => {
|
|
623
|
+
fetchUserFollowingFeed: async (fid, viewerFid, withRecasts, limit, cursor, xNeynarExperimental, options = {}) => {
|
|
581
624
|
// verify required parameter 'fid' is not null or undefined
|
|
582
625
|
(0, common_1.assertParamExists)('fetchUserFollowingFeed', 'fid', fid);
|
|
583
626
|
const localVarPath = `/farcaster/feed/following`;
|
|
@@ -607,6 +650,11 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
607
650
|
if (cursor !== undefined) {
|
|
608
651
|
localVarQueryParameter['cursor'] = cursor;
|
|
609
652
|
}
|
|
653
|
+
if (xNeynarExperimental != null) {
|
|
654
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
655
|
+
? xNeynarExperimental
|
|
656
|
+
: JSON.stringify(xNeynarExperimental);
|
|
657
|
+
}
|
|
610
658
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
611
659
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
612
660
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -636,6 +684,7 @@ const FeedApiFp = function (configuration) {
|
|
|
636
684
|
* @param {boolean} [includeReplies] Include reply casts by the author in the response, true by default
|
|
637
685
|
* @param {string} [parentUrl] Parent URL to filter the feed; mutually exclusive with channel_id
|
|
638
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.
|
|
639
688
|
* @param {*} [options] Override http request option.
|
|
640
689
|
* @throws {RequiredError}
|
|
641
690
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -643,9 +692,9 @@ const FeedApiFp = function (configuration) {
|
|
|
643
692
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
|
|
644
693
|
*
|
|
645
694
|
*/
|
|
646
|
-
async fetchCastsForUser(fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options) {
|
|
695
|
+
async fetchCastsForUser(fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, xNeynarExperimental, options) {
|
|
647
696
|
var _a, _b, _c;
|
|
648
|
-
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);
|
|
649
698
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
650
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;
|
|
651
700
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -666,6 +715,7 @@ const FeedApiFp = function (configuration) {
|
|
|
666
715
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
667
716
|
* @param {string} [cursor] Pagination cursor.
|
|
668
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.
|
|
669
719
|
* @param {*} [options] Override http request option.
|
|
670
720
|
* @throws {RequiredError}
|
|
671
721
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -673,9 +723,9 @@ const FeedApiFp = function (configuration) {
|
|
|
673
723
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed)
|
|
674
724
|
*
|
|
675
725
|
*/
|
|
676
|
-
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) {
|
|
677
727
|
var _a, _b, _c;
|
|
678
|
-
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);
|
|
679
729
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
680
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;
|
|
681
731
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -692,6 +742,7 @@ const FeedApiFp = function (configuration) {
|
|
|
692
742
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
693
743
|
* @param {string} [cursor] Pagination cursor.
|
|
694
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.
|
|
695
746
|
* @param {*} [options] Override http request option.
|
|
696
747
|
* @throws {RequiredError}
|
|
697
748
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -699,9 +750,9 @@ const FeedApiFp = function (configuration) {
|
|
|
699
750
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-channel-ids)
|
|
700
751
|
*
|
|
701
752
|
*/
|
|
702
|
-
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) {
|
|
703
754
|
var _a, _b, _c;
|
|
704
|
-
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);
|
|
705
756
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
706
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;
|
|
707
758
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -715,6 +766,7 @@ const FeedApiFp = function (configuration) {
|
|
|
715
766
|
* @param {boolean} [withReplies] Include replies in the response, false by default
|
|
716
767
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
717
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.
|
|
718
770
|
* @param {*} [options] Override http request option.
|
|
719
771
|
* @throws {RequiredError}
|
|
720
772
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -722,9 +774,9 @@ const FeedApiFp = function (configuration) {
|
|
|
722
774
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-parent-urls)
|
|
723
775
|
*
|
|
724
776
|
*/
|
|
725
|
-
async fetchFeedByParentUrls(parentUrls, withRecasts, viewerFid, withReplies, limit, cursor, options) {
|
|
777
|
+
async fetchFeedByParentUrls(parentUrls, withRecasts, viewerFid, withReplies, limit, cursor, xNeynarExperimental, options) {
|
|
726
778
|
var _a, _b, _c;
|
|
727
|
-
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);
|
|
728
780
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
729
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;
|
|
730
782
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -738,6 +790,7 @@ const FeedApiFp = function (configuration) {
|
|
|
738
790
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 50)
|
|
739
791
|
* @param {string} [cursor] Pagination cursor.
|
|
740
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.
|
|
741
794
|
* @param {*} [options] Override http request option.
|
|
742
795
|
* @throws {RequiredError}
|
|
743
796
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -745,9 +798,9 @@ const FeedApiFp = function (configuration) {
|
|
|
745
798
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-for-you)
|
|
746
799
|
*
|
|
747
800
|
*/
|
|
748
|
-
async fetchFeedForYou(fid, viewerFid, provider, limit, cursor, providerMetadata, options) {
|
|
801
|
+
async fetchFeedForYou(fid, viewerFid, provider, limit, cursor, providerMetadata, xNeynarExperimental, options) {
|
|
749
802
|
var _a, _b, _c;
|
|
750
|
-
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);
|
|
751
804
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
752
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;
|
|
753
806
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -758,6 +811,7 @@ const FeedApiFp = function (configuration) {
|
|
|
758
811
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
759
812
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
760
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.
|
|
761
815
|
* @param {*} [options] Override http request option.
|
|
762
816
|
* @throws {RequiredError}
|
|
763
817
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -765,9 +819,9 @@ const FeedApiFp = function (configuration) {
|
|
|
765
819
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frames-only-feed)
|
|
766
820
|
*
|
|
767
821
|
*/
|
|
768
|
-
async fetchFramesOnlyFeed(limit, viewerFid, cursor, options) {
|
|
822
|
+
async fetchFramesOnlyFeed(limit, viewerFid, cursor, xNeynarExperimental, options) {
|
|
769
823
|
var _a, _b, _c;
|
|
770
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFramesOnlyFeed(limit, viewerFid, cursor, options);
|
|
824
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFramesOnlyFeed(limit, viewerFid, cursor, xNeynarExperimental, options);
|
|
771
825
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
772
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;
|
|
773
827
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -824,6 +878,7 @@ const FeedApiFp = function (configuration) {
|
|
|
824
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.
|
|
825
879
|
* @param {FeedTrendingProvider} [provider] The provider of the trending casts feed.
|
|
826
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.
|
|
827
882
|
* @param {*} [options] Override http request option.
|
|
828
883
|
* @throws {RequiredError}
|
|
829
884
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -831,9 +886,9 @@ const FeedApiFp = function (configuration) {
|
|
|
831
886
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-trending-feed)
|
|
832
887
|
*
|
|
833
888
|
*/
|
|
834
|
-
async fetchTrendingFeed(limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata, options) {
|
|
889
|
+
async fetchTrendingFeed(limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata, xNeynarExperimental, options) {
|
|
835
890
|
var _a, _b, _c;
|
|
836
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchTrendingFeed(limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata, options);
|
|
891
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchTrendingFeed(limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata, xNeynarExperimental, options);
|
|
837
892
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
838
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;
|
|
839
894
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -846,6 +901,7 @@ const FeedApiFp = function (configuration) {
|
|
|
846
901
|
* @param {boolean} [withRecasts] Include recasts in the response, true by default
|
|
847
902
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
848
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.
|
|
849
905
|
* @param {*} [options] Override http request option.
|
|
850
906
|
* @throws {RequiredError}
|
|
851
907
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -853,9 +909,9 @@ const FeedApiFp = function (configuration) {
|
|
|
853
909
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-following-feed)
|
|
854
910
|
*
|
|
855
911
|
*/
|
|
856
|
-
async fetchUserFollowingFeed(fid, viewerFid, withRecasts, limit, cursor, options) {
|
|
912
|
+
async fetchUserFollowingFeed(fid, viewerFid, withRecasts, limit, cursor, xNeynarExperimental, options) {
|
|
857
913
|
var _a, _b, _c;
|
|
858
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUserFollowingFeed(fid, viewerFid, withRecasts, limit, cursor, options);
|
|
914
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUserFollowingFeed(fid, viewerFid, withRecasts, limit, cursor, xNeynarExperimental, options);
|
|
859
915
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
860
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;
|
|
861
917
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -882,7 +938,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
882
938
|
*
|
|
883
939
|
*/
|
|
884
940
|
fetchCastsForUser(requestParameters, options) {
|
|
885
|
-
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));
|
|
886
942
|
},
|
|
887
943
|
/**
|
|
888
944
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
@@ -896,7 +952,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
896
952
|
*
|
|
897
953
|
*/
|
|
898
954
|
fetchFeed(requestParameters, options) {
|
|
899
|
-
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));
|
|
900
956
|
},
|
|
901
957
|
/**
|
|
902
958
|
* Fetch feed based on channel IDs
|
|
@@ -910,7 +966,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
910
966
|
*
|
|
911
967
|
*/
|
|
912
968
|
fetchFeedByChannelIds(requestParameters, options) {
|
|
913
|
-
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));
|
|
914
970
|
},
|
|
915
971
|
/**
|
|
916
972
|
* Fetch feed based on parent URLs
|
|
@@ -924,7 +980,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
924
980
|
*
|
|
925
981
|
*/
|
|
926
982
|
fetchFeedByParentUrls(requestParameters, options) {
|
|
927
|
-
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));
|
|
928
984
|
},
|
|
929
985
|
/**
|
|
930
986
|
* Fetch a personalized For You feed for a user
|
|
@@ -938,7 +994,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
938
994
|
*
|
|
939
995
|
*/
|
|
940
996
|
fetchFeedForYou(requestParameters, options) {
|
|
941
|
-
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));
|
|
942
998
|
},
|
|
943
999
|
/**
|
|
944
1000
|
* Fetch feed of casts with Frames, reverse chronological order
|
|
@@ -952,7 +1008,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
952
1008
|
*
|
|
953
1009
|
*/
|
|
954
1010
|
fetchFramesOnlyFeed(requestParameters = {}, options) {
|
|
955
|
-
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));
|
|
956
1012
|
},
|
|
957
1013
|
/**
|
|
958
1014
|
* Fetch 10 most popular casts for a given user FID; popularity based on replies, likes and recasts; sorted by most popular first
|
|
@@ -994,7 +1050,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
994
1050
|
*
|
|
995
1051
|
*/
|
|
996
1052
|
fetchTrendingFeed(requestParameters = {}, options) {
|
|
997
|
-
return localVarFp.fetchTrendingFeed(requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, requestParameters.timeWindow, requestParameters.channelId, requestParameters.parentUrl, 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));
|
|
998
1054
|
},
|
|
999
1055
|
/**
|
|
1000
1056
|
* Fetch feed based on who a user is following
|
|
@@ -1008,7 +1064,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
1008
1064
|
*
|
|
1009
1065
|
*/
|
|
1010
1066
|
fetchUserFollowingFeed(requestParameters, options) {
|
|
1011
|
-
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));
|
|
1012
1068
|
},
|
|
1013
1069
|
};
|
|
1014
1070
|
};
|
|
@@ -1033,7 +1089,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1033
1089
|
*
|
|
1034
1090
|
*/
|
|
1035
1091
|
fetchCastsForUser(requestParameters, options) {
|
|
1036
|
-
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));
|
|
1037
1093
|
}
|
|
1038
1094
|
/**
|
|
1039
1095
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
@@ -1048,7 +1104,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1048
1104
|
*
|
|
1049
1105
|
*/
|
|
1050
1106
|
fetchFeed(requestParameters, options) {
|
|
1051
|
-
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));
|
|
1052
1108
|
}
|
|
1053
1109
|
/**
|
|
1054
1110
|
* Fetch feed based on channel IDs
|
|
@@ -1063,7 +1119,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1063
1119
|
*
|
|
1064
1120
|
*/
|
|
1065
1121
|
fetchFeedByChannelIds(requestParameters, options) {
|
|
1066
|
-
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));
|
|
1067
1123
|
}
|
|
1068
1124
|
/**
|
|
1069
1125
|
* Fetch feed based on parent URLs
|
|
@@ -1078,7 +1134,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1078
1134
|
*
|
|
1079
1135
|
*/
|
|
1080
1136
|
fetchFeedByParentUrls(requestParameters, options) {
|
|
1081
|
-
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));
|
|
1082
1138
|
}
|
|
1083
1139
|
/**
|
|
1084
1140
|
* Fetch a personalized For You feed for a user
|
|
@@ -1093,7 +1149,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1093
1149
|
*
|
|
1094
1150
|
*/
|
|
1095
1151
|
fetchFeedForYou(requestParameters, options) {
|
|
1096
|
-
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));
|
|
1097
1153
|
}
|
|
1098
1154
|
/**
|
|
1099
1155
|
* Fetch feed of casts with Frames, reverse chronological order
|
|
@@ -1108,7 +1164,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1108
1164
|
*
|
|
1109
1165
|
*/
|
|
1110
1166
|
fetchFramesOnlyFeed(requestParameters = {}, options) {
|
|
1111
|
-
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));
|
|
1112
1168
|
}
|
|
1113
1169
|
/**
|
|
1114
1170
|
* Fetch 10 most popular casts for a given user FID; popularity based on replies, likes and recasts; sorted by most popular first
|
|
@@ -1153,7 +1209,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1153
1209
|
*
|
|
1154
1210
|
*/
|
|
1155
1211
|
fetchTrendingFeed(requestParameters = {}, options) {
|
|
1156
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchTrendingFeed(requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, requestParameters.timeWindow, requestParameters.channelId, requestParameters.parentUrl, 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));
|
|
1157
1213
|
}
|
|
1158
1214
|
/**
|
|
1159
1215
|
* Fetch feed based on who a user is following
|
|
@@ -1168,7 +1224,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1168
1224
|
*
|
|
1169
1225
|
*/
|
|
1170
1226
|
fetchUserFollowingFeed(requestParameters, options) {
|
|
1171
|
-
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));
|
|
1172
1228
|
}
|
|
1173
1229
|
}
|
|
1174
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).
|