@neynar/nodejs-sdk 2.25.1 → 2.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/api.d.ts +1 -1
- package/build/api/api.js +1 -1
- package/build/api/apis/action-api.d.ts +1 -1
- package/build/api/apis/action-api.js +1 -1
- package/build/api/apis/agents-api.d.ts +1 -1
- package/build/api/apis/agents-api.js +1 -1
- package/build/api/apis/ban-api.d.ts +4 -4
- package/build/api/apis/ban-api.js +3 -3
- package/build/api/apis/block-api.d.ts +4 -4
- package/build/api/apis/block-api.js +3 -3
- package/build/api/apis/cast-api.d.ts +53 -9
- package/build/api/apis/cast-api.js +49 -21
- package/build/api/apis/channel-api.d.ts +10 -10
- package/build/api/apis/channel-api.js +7 -7
- package/build/api/apis/feed-api.d.ts +119 -20
- package/build/api/apis/feed-api.js +104 -43
- package/build/api/apis/fname-api.d.ts +1 -1
- package/build/api/apis/fname-api.js +1 -1
- package/build/api/apis/follows-api.d.ts +13 -13
- package/build/api/apis/follows-api.js +9 -9
- package/build/api/apis/frame-api.d.ts +1 -1
- package/build/api/apis/frame-api.js +1 -1
- package/build/api/apis/login-api.d.ts +1 -1
- package/build/api/apis/login-api.js +1 -1
- package/build/api/apis/metrics-api.d.ts +1 -1
- package/build/api/apis/metrics-api.js +1 -1
- package/build/api/apis/mute-api.d.ts +4 -4
- package/build/api/apis/mute-api.js +3 -3
- package/build/api/apis/notifications-api.d.ts +1 -1
- package/build/api/apis/notifications-api.js +1 -1
- package/build/api/apis/onchain-api.d.ts +1 -1
- package/build/api/apis/onchain-api.js +1 -1
- package/build/api/apis/reaction-api.d.ts +1 -1
- package/build/api/apis/reaction-api.js +1 -1
- package/build/api/apis/signer-api.d.ts +1 -1
- package/build/api/apis/signer-api.js +1 -1
- package/build/api/apis/storage-api.d.ts +1 -1
- package/build/api/apis/storage-api.js +1 -1
- package/build/api/apis/subscribers-api.d.ts +1 -1
- package/build/api/apis/subscribers-api.js +1 -1
- package/build/api/apis/user-api.d.ts +25 -25
- package/build/api/apis/user-api.js +17 -17
- package/build/api/apis/webhook-api.d.ts +1 -1
- package/build/api/apis/webhook-api.js +1 -1
- package/build/api/base.d.ts +1 -1
- package/build/api/base.js +1 -1
- package/build/api/common.d.ts +1 -1
- package/build/api/common.js +1 -1
- package/build/api/configuration.d.ts +1 -1
- package/build/api/configuration.js +1 -1
- package/build/api/index.d.ts +1 -1
- package/build/api/index.js +1 -1
- package/build/api/models/add-verification-req-body.d.ts +1 -1
- package/build/api/models/add-verification-req-body.js +1 -1
- package/build/api/models/address-balance-verified-address.d.ts +1 -1
- package/build/api/models/address-balance-verified-address.js +1 -1
- package/build/api/models/address-balance.d.ts +1 -1
- package/build/api/models/address-balance.js +1 -1
- package/build/api/models/authorization-url-response-type.d.ts +1 -1
- package/build/api/models/authorization-url-response-type.js +1 -1
- package/build/api/models/authorization-url-response.d.ts +1 -1
- package/build/api/models/authorization-url-response.js +1 -1
- package/build/api/models/balance-response-user-balance.d.ts +1 -1
- package/build/api/models/balance-response-user-balance.js +1 -1
- package/build/api/models/balance-response.d.ts +1 -1
- package/build/api/models/balance-response.js +1 -1
- package/build/api/models/ban-list-response.d.ts +1 -1
- package/build/api/models/ban-list-response.js +1 -1
- package/build/api/models/ban-record.d.ts +1 -1
- package/build/api/models/ban-record.js +1 -1
- package/build/api/models/ban-req-body.d.ts +1 -1
- package/build/api/models/ban-req-body.js +1 -1
- package/build/api/models/ban-response.d.ts +1 -1
- package/build/api/models/ban-response.js +1 -1
- package/build/api/models/block-list-response.d.ts +1 -1
- package/build/api/models/block-list-response.js +1 -1
- package/build/api/models/block-record.d.ts +1 -1
- package/build/api/models/block-record.js +1 -1
- package/build/api/models/block-req-body.d.ts +1 -1
- package/build/api/models/block-req-body.js +1 -1
- package/build/api/models/bulk-casts-response.d.ts +1 -1
- package/build/api/models/bulk-casts-response.js +1 -1
- package/build/api/models/bulk-follow-response.d.ts +1 -1
- package/build/api/models/bulk-follow-response.js +1 -1
- package/build/api/models/bulk-user-address-type.d.ts +1 -1
- package/build/api/models/bulk-user-address-type.js +1 -1
- package/build/api/models/bulk-users-by-address-response.d.ts +1 -1
- package/build/api/models/bulk-users-by-address-response.js +1 -1
- package/build/api/models/bulk-users-response.d.ts +1 -1
- package/build/api/models/bulk-users-response.js +1 -1
- package/build/api/models/buy-storage-req-body.d.ts +1 -1
- package/build/api/models/buy-storage-req-body.js +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.js +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner.js +1 -1
- package/build/api/models/cast-composer-actions-list-response.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response.js +1 -1
- package/build/api/models/cast-composer-type.d.ts +1 -1
- package/build/api/models/cast-composer-type.js +1 -1
- package/build/api/models/cast-conversation-sort-type.d.ts +1 -1
- package/build/api/models/cast-conversation-sort-type.js +1 -1
- package/build/api/models/cast-dehydrated.d.ts +1 -1
- package/build/api/models/cast-dehydrated.js +1 -1
- package/build/api/models/cast-embed-crawl-response.d.ts +1 -1
- package/build/api/models/cast-embed-crawl-response.js +1 -1
- package/build/api/models/cast-embedded-parent-author.d.ts +1 -1
- package/build/api/models/cast-embedded-parent-author.js +1 -1
- package/build/api/models/cast-embedded.d.ts +1 -1
- package/build/api/models/cast-embedded.js +1 -1
- package/build/api/models/cast-id.d.ts +1 -1
- package/build/api/models/cast-id.js +1 -1
- package/build/api/models/cast-notification-type.d.ts +1 -1
- package/build/api/models/cast-notification-type.js +1 -1
- package/build/api/models/cast-param-type.d.ts +1 -1
- package/build/api/models/cast-param-type.js +1 -1
- package/build/api/models/cast-response.d.ts +1 -1
- package/build/api/models/cast-response.js +1 -1
- package/build/api/models/cast-text-range.d.ts +1 -1
- package/build/api/models/cast-text-range.js +1 -1
- package/build/api/models/cast-viewer-context.d.ts +1 -1
- package/build/api/models/cast-viewer-context.js +1 -1
- package/build/api/models/cast-with-interactions-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations.js +1 -1
- package/build/api/models/cast-with-interactions-reactions.d.ts +1 -1
- package/build/api/models/cast-with-interactions-reactions.js +1 -1
- package/build/api/models/cast-with-interactions-replies.d.ts +1 -1
- package/build/api/models/cast-with-interactions-replies.js +1 -1
- package/build/api/models/cast-with-interactions.d.ts +1 -1
- package/build/api/models/cast-with-interactions.js +1 -1
- package/build/api/models/cast.d.ts +1 -1
- package/build/api/models/cast.js +1 -1
- package/build/api/models/casts-metrics-response.d.ts +1 -1
- package/build/api/models/casts-metrics-response.js +1 -1
- package/build/api/models/casts-metrics.d.ts +1 -1
- package/build/api/models/casts-metrics.js +1 -1
- package/build/api/models/casts-response-result.d.ts +1 -1
- package/build/api/models/casts-response-result.js +1 -1
- package/build/api/models/casts-response.d.ts +1 -1
- package/build/api/models/casts-response.js +1 -1
- package/build/api/models/casts-search-response-result.d.ts +1 -1
- package/build/api/models/casts-search-response-result.js +1 -1
- package/build/api/models/casts-search-response.d.ts +1 -1
- package/build/api/models/casts-search-response.js +1 -1
- package/build/api/models/channel-activity.d.ts +1 -1
- package/build/api/models/channel-activity.js +1 -1
- package/build/api/models/channel-external-link.d.ts +1 -1
- package/build/api/models/channel-external-link.js +1 -1
- package/build/api/models/channel-follow-req-body.d.ts +1 -1
- package/build/api/models/channel-follow-req-body.js +1 -1
- package/build/api/models/channel-list-response.d.ts +1 -1
- package/build/api/models/channel-list-response.js +1 -1
- package/build/api/models/channel-member-channel.d.ts +1 -1
- package/build/api/models/channel-member-channel.js +1 -1
- package/build/api/models/channel-member-invite-list-response.d.ts +1 -1
- package/build/api/models/channel-member-invite-list-response.js +1 -1
- package/build/api/models/channel-member-invite.d.ts +1 -1
- package/build/api/models/channel-member-invite.js +1 -1
- package/build/api/models/channel-member-list-response.d.ts +1 -1
- package/build/api/models/channel-member-list-response.js +1 -1
- package/build/api/models/channel-member-role.d.ts +1 -1
- package/build/api/models/channel-member-role.js +1 -1
- package/build/api/models/channel-member-user.d.ts +1 -1
- package/build/api/models/channel-member-user.js +1 -1
- package/build/api/models/channel-member.d.ts +1 -1
- package/build/api/models/channel-member.js +1 -1
- package/build/api/models/channel-or-dehydrated-channel.d.ts +1 -1
- package/build/api/models/channel-or-dehydrated-channel.js +1 -1
- package/build/api/models/channel-response-bulk.d.ts +1 -1
- package/build/api/models/channel-response-bulk.js +1 -1
- package/build/api/models/channel-response.d.ts +1 -1
- package/build/api/models/channel-response.js +1 -1
- package/build/api/models/channel-search-response.d.ts +1 -1
- package/build/api/models/channel-search-response.js +1 -1
- package/build/api/models/channel-type.d.ts +1 -1
- package/build/api/models/channel-type.js +1 -1
- package/build/api/models/channel-user-context.d.ts +1 -1
- package/build/api/models/channel-user-context.js +1 -1
- package/build/api/models/channel.d.ts +1 -1
- package/build/api/models/channel.js +1 -1
- package/build/api/models/conflict-error-res.d.ts +1 -1
- package/build/api/models/conflict-error-res.js +1 -1
- package/build/api/models/conversation-conversation.d.ts +1 -1
- package/build/api/models/conversation-conversation.js +1 -1
- package/build/api/models/conversation-summary-summary.d.ts +1 -1
- package/build/api/models/conversation-summary-summary.js +1 -1
- package/build/api/models/conversation-summary.d.ts +1 -1
- package/build/api/models/conversation-summary.js +1 -1
- package/build/api/models/conversation.d.ts +1 -1
- package/build/api/models/conversation.js +1 -1
- package/build/api/models/dehydrated-channel.d.ts +1 -1
- package/build/api/models/dehydrated-channel.js +1 -1
- package/build/api/models/dehydrated-follower.d.ts +1 -1
- package/build/api/models/dehydrated-follower.js +1 -1
- package/build/api/models/delete-cast-req-body.d.ts +1 -1
- package/build/api/models/delete-cast-req-body.js +1 -1
- package/build/api/models/delete-frame-req-body.d.ts +1 -1
- package/build/api/models/delete-frame-req-body.js +1 -1
- package/build/api/models/delete-frame-response.d.ts +1 -1
- package/build/api/models/delete-frame-response.js +1 -1
- package/build/api/models/deploy-fungible-req-body-metadata-media.d.ts +1 -1
- package/build/api/models/deploy-fungible-req-body-metadata-media.js +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.js +1 -1
- package/build/api/models/deploy-fungible-response-contract.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract.js +1 -1
- package/build/api/models/deploy-fungible-response.d.ts +1 -1
- package/build/api/models/deploy-fungible-response.js +1 -1
- package/build/api/models/developer-managed-signer.d.ts +1 -1
- package/build/api/models/developer-managed-signer.js +1 -1
- package/build/api/models/embed-cast-deep.d.ts +1 -1
- package/build/api/models/embed-cast-deep.js +1 -1
- package/build/api/models/embed-cast.d.ts +1 -1
- package/build/api/models/embed-cast.js +1 -1
- package/build/api/models/embed-deep.d.ts +1 -1
- package/build/api/models/embed-deep.js +1 -1
- package/build/api/models/embed-type.d.ts +1 -1
- package/build/api/models/embed-type.js +1 -1
- package/build/api/models/embed-url-metadata-image.d.ts +1 -1
- package/build/api/models/embed-url-metadata-image.js +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.js +1 -1
- package/build/api/models/embed-url-metadata-video.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video.js +1 -1
- package/build/api/models/embed-url-metadata.d.ts +1 -1
- package/build/api/models/embed-url-metadata.js +1 -1
- package/build/api/models/embed-url.d.ts +1 -1
- package/build/api/models/embed-url.js +1 -1
- package/build/api/models/embed.d.ts +1 -1
- package/build/api/models/embed.js +1 -1
- package/build/api/models/error-res.d.ts +1 -1
- package/build/api/models/error-res.js +1 -1
- package/build/api/models/farcaster-action-req-body-action.d.ts +1 -1
- package/build/api/models/farcaster-action-req-body-action.js +1 -1
- package/build/api/models/farcaster-action-req-body.d.ts +1 -1
- package/build/api/models/farcaster-action-req-body.js +1 -1
- package/build/api/models/farcaster-manifest-account-association.d.ts +1 -1
- package/build/api/models/farcaster-manifest-account-association.js +1 -1
- package/build/api/models/farcaster-manifest-frame.d.ts +1 -1
- package/build/api/models/farcaster-manifest-frame.js +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of.d.ts +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of.js +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of1.d.ts +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of1.js +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner.d.ts +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner.js +1 -1
- package/build/api/models/farcaster-manifest.d.ts +1 -1
- package/build/api/models/farcaster-manifest.js +1 -1
- package/build/api/models/feed-response.d.ts +1 -1
- package/build/api/models/feed-response.js +1 -1
- package/build/api/models/feed-trending-provider.d.ts +1 -1
- package/build/api/models/feed-trending-provider.js +1 -1
- package/build/api/models/feed-type.d.ts +1 -1
- package/build/api/models/feed-type.js +1 -1
- package/build/api/models/fetch-feed-for-you400-response.d.ts +1 -1
- package/build/api/models/fetch-feed-for-you400-response.js +1 -1
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.d.ts +1 -1
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +1 -1
- package/build/api/models/fetch-user-interactions200-response.d.ts +1 -1
- package/build/api/models/fetch-user-interactions200-response.js +1 -1
- package/build/api/models/fids.d.ts +1 -1
- package/build/api/models/fids.js +1 -1
- package/build/api/models/filter-type.d.ts +1 -1
- package/build/api/models/filter-type.js +1 -1
- package/build/api/models/fname-availability-response.d.ts +1 -1
- package/build/api/models/fname-availability-response.js +1 -1
- package/build/api/models/follow-req-body.d.ts +1 -1
- package/build/api/models/follow-req-body.js +1 -1
- package/build/api/models/follow-response.d.ts +1 -1
- package/build/api/models/follow-response.js +1 -1
- package/build/api/models/follow-sort-type.d.ts +1 -1
- package/build/api/models/follow-sort-type.js +1 -1
- package/build/api/models/follow.d.ts +1 -1
- package/build/api/models/follow.js +1 -1
- package/build/api/models/followers-response.d.ts +1 -1
- package/build/api/models/followers-response.js +1 -1
- package/build/api/models/for-you-provider.d.ts +1 -1
- package/build/api/models/for-you-provider.js +1 -1
- package/build/api/models/frame-action-button.d.ts +1 -1
- package/build/api/models/frame-action-button.js +1 -1
- package/build/api/models/frame-action-req-body.d.ts +1 -1
- package/build/api/models/frame-action-req-body.js +1 -1
- package/build/api/models/frame-action.d.ts +1 -1
- package/build/api/models/frame-action.js +1 -1
- package/build/api/models/frame-base.d.ts +1 -1
- package/build/api/models/frame-base.js +1 -1
- package/build/api/models/frame-button-action-type.d.ts +1 -1
- package/build/api/models/frame-button-action-type.js +1 -1
- package/build/api/models/frame-catalog-response.d.ts +1 -1
- package/build/api/models/frame-catalog-response.js +1 -1
- package/build/api/models/frame-developer-managed-action-req-body.d.ts +1 -1
- package/build/api/models/frame-developer-managed-action-req-body.js +1 -1
- package/build/api/models/frame-input.d.ts +1 -1
- package/build/api/models/frame-input.js +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +1 -1
- package/build/api/models/frame-notification-tokens.d.ts +1 -1
- package/build/api/models/frame-notification-tokens.js +1 -1
- package/build/api/models/frame-pay-transaction-request-body.d.ts +1 -1
- package/build/api/models/frame-pay-transaction-request-body.js +1 -1
- package/build/api/models/frame-signature-packet-trusted-data.d.ts +1 -1
- package/build/api/models/frame-signature-packet-trusted-data.js +1 -1
- package/build/api/models/frame-signature-packet-untrusted-data.d.ts +1 -1
- package/build/api/models/frame-signature-packet-untrusted-data.js +1 -1
- package/build/api/models/frame-signature-packet.d.ts +1 -1
- package/build/api/models/frame-signature-packet.js +1 -1
- package/build/api/models/frame-state.d.ts +1 -1
- package/build/api/models/frame-state.js +1 -1
- package/build/api/models/frame-transaction.d.ts +1 -1
- package/build/api/models/frame-transaction.js +1 -1
- package/build/api/models/frame-type.d.ts +1 -1
- package/build/api/models/frame-type.js +1 -1
- package/build/api/models/frame-v1-all-of-input.d.ts +1 -1
- package/build/api/models/frame-v1-all-of-input.js +1 -1
- package/build/api/models/frame-v1-all-of-state.d.ts +1 -1
- package/build/api/models/frame-v1-all-of-state.js +1 -1
- package/build/api/models/frame-v1-all-of.d.ts +1 -1
- package/build/api/models/frame-v1-all-of.js +1 -1
- package/build/api/models/frame-v1.d.ts +1 -1
- package/build/api/models/frame-v1.js +1 -1
- package/build/api/models/frame-v2-all-of-metadata.d.ts +1 -1
- package/build/api/models/frame-v2-all-of-metadata.js +1 -1
- package/build/api/models/frame-v2-all-of.d.ts +1 -1
- package/build/api/models/frame-v2-all-of.js +1 -1
- package/build/api/models/frame-v2.d.ts +1 -1
- package/build/api/models/frame-v2.js +1 -1
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-input-text.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-input-text.js +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast.js +1 -1
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-interactors.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactors.js +1 -1
- package/build/api/models/frame-validate-analytics-response.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-response.js +1 -1
- package/build/api/models/frame-validate-analytics-total-interactors.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-total-interactors.js +1 -1
- package/build/api/models/frame-validate-list-response.d.ts +1 -1
- package/build/api/models/frame-validate-list-response.js +1 -1
- package/build/api/models/frame.d.ts +1 -1
- package/build/api/models/frame.js +1 -1
- package/build/api/models/html-metadata-all-of-oembed.d.ts +1 -1
- package/build/api/models/html-metadata-all-of-oembed.js +1 -1
- package/build/api/models/html-metadata-all-of.d.ts +1 -1
- package/build/api/models/html-metadata-all-of.js +1 -1
- package/build/api/models/html-metadata.d.ts +1 -1
- package/build/api/models/html-metadata.js +1 -1
- package/build/api/models/hydrated-follower.d.ts +1 -1
- package/build/api/models/hydrated-follower.js +1 -1
- package/build/api/models/image-object.d.ts +1 -1
- package/build/api/models/image-object.js +1 -1
- package/build/api/models/invite-channel-member-req-body.d.ts +1 -1
- package/build/api/models/invite-channel-member-req-body.js +1 -1
- package/build/api/models/location-address.d.ts +1 -1
- package/build/api/models/location-address.js +1 -1
- package/build/api/models/location.d.ts +1 -1
- package/build/api/models/location.js +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.d.ts +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.js +1 -1
- package/build/api/models/mute-list-response.d.ts +1 -1
- package/build/api/models/mute-list-response.js +1 -1
- package/build/api/models/mute-record.d.ts +1 -1
- package/build/api/models/mute-record.js +1 -1
- package/build/api/models/mute-req-body.d.ts +1 -1
- package/build/api/models/mute-req-body.js +1 -1
- package/build/api/models/mute-response.d.ts +1 -1
- package/build/api/models/mute-response.js +1 -1
- package/build/api/models/networks.d.ts +1 -1
- package/build/api/models/networks.js +1 -1
- package/build/api/models/next-cursor.d.ts +1 -1
- package/build/api/models/next-cursor.js +1 -1
- package/build/api/models/neynar-frame-creation-req-body.d.ts +1 -1
- package/build/api/models/neynar-frame-creation-req-body.js +1 -1
- package/build/api/models/neynar-frame-page.d.ts +1 -1
- package/build/api/models/neynar-frame-page.js +1 -1
- package/build/api/models/neynar-frame-update-req-body.d.ts +1 -1
- package/build/api/models/neynar-frame-update-req-body.js +1 -1
- package/build/api/models/neynar-frame.d.ts +1 -1
- package/build/api/models/neynar-frame.js +1 -1
- package/build/api/models/neynar-next-frame-page-mint-url.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page-mint-url.js +1 -1
- package/build/api/models/neynar-next-frame-page-redirect.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page-redirect.js +1 -1
- package/build/api/models/neynar-next-frame-page.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page.js +1 -1
- package/build/api/models/neynar-page-button-next-page.d.ts +1 -1
- package/build/api/models/neynar-page-button-next-page.js +1 -1
- package/build/api/models/neynar-page-button.d.ts +1 -1
- package/build/api/models/neynar-page-button.js +1 -1
- package/build/api/models/neynar-page-image.d.ts +1 -1
- package/build/api/models/neynar-page-image.js +1 -1
- package/build/api/models/neynar-page-input-text.d.ts +1 -1
- package/build/api/models/neynar-page-input-text.js +1 -1
- package/build/api/models/neynar-page-input.d.ts +1 -1
- package/build/api/models/neynar-page-input.js +1 -1
- package/build/api/models/nonce-response.d.ts +1 -1
- package/build/api/models/nonce-response.js +1 -1
- package/build/api/models/notification-delivery.d.ts +1 -1
- package/build/api/models/notification-delivery.js +1 -1
- package/build/api/models/notification-type.d.ts +1 -1
- package/build/api/models/notification-type.js +1 -1
- package/build/api/models/notification.d.ts +1 -1
- package/build/api/models/notification.js +1 -1
- package/build/api/models/notifications-response.d.ts +1 -1
- package/build/api/models/notifications-response.js +1 -1
- package/build/api/models/oembed-data.d.ts +1 -1
- package/build/api/models/oembed-data.js +1 -1
- package/build/api/models/oembed-link-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-link-data-all-of.js +1 -1
- package/build/api/models/oembed-link-data.d.ts +1 -1
- package/build/api/models/oembed-link-data.js +1 -1
- package/build/api/models/oembed-photo-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-photo-data-all-of.js +1 -1
- package/build/api/models/oembed-photo-data.d.ts +1 -1
- package/build/api/models/oembed-photo-data.js +1 -1
- package/build/api/models/oembed-rich-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-rich-data-all-of.js +1 -1
- package/build/api/models/oembed-rich-data.d.ts +1 -1
- package/build/api/models/oembed-rich-data.js +1 -1
- package/build/api/models/oembed-video-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-video-data-all-of.js +1 -1
- package/build/api/models/oembed-video-data.d.ts +1 -1
- package/build/api/models/oembed-video-data.js +1 -1
- package/build/api/models/og-object.d.ts +1 -1
- package/build/api/models/og-object.js +1 -1
- package/build/api/models/operation-response.d.ts +1 -1
- package/build/api/models/operation-response.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +1 -1
- package/build/api/models/post-cast-req-body-embeds.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds.js +1 -1
- package/build/api/models/post-cast-req-body.d.ts +1 -1
- package/build/api/models/post-cast-req-body.js +1 -1
- package/build/api/models/post-cast-response-cast.d.ts +1 -1
- package/build/api/models/post-cast-response-cast.js +1 -1
- package/build/api/models/post-cast-response.d.ts +1 -1
- package/build/api/models/post-cast-response.js +1 -1
- package/build/api/models/profile-url-pfp.d.ts +1 -1
- package/build/api/models/profile-url-pfp.js +1 -1
- package/build/api/models/profile-url.d.ts +1 -1
- package/build/api/models/profile-url.js +1 -1
- package/build/api/models/reaction-for-cast.d.ts +1 -1
- package/build/api/models/reaction-for-cast.js +1 -1
- package/build/api/models/reaction-like.d.ts +1 -1
- package/build/api/models/reaction-like.js +1 -1
- package/build/api/models/reaction-recast.d.ts +1 -1
- package/build/api/models/reaction-recast.js +1 -1
- package/build/api/models/reaction-req-body.d.ts +1 -1
- package/build/api/models/reaction-req-body.js +1 -1
- package/build/api/models/reaction-type.d.ts +1 -1
- package/build/api/models/reaction-type.js +1 -1
- package/build/api/models/reaction-with-cast-info.d.ts +1 -1
- package/build/api/models/reaction-with-cast-info.js +1 -1
- package/build/api/models/reaction-with-user-info.d.ts +1 -1
- package/build/api/models/reaction-with-user-info.js +1 -1
- package/build/api/models/reactions-cast-response.d.ts +1 -1
- package/build/api/models/reactions-cast-response.js +1 -1
- package/build/api/models/reactions-response.d.ts +1 -1
- package/build/api/models/reactions-response.js +1 -1
- package/build/api/models/reactions-type.d.ts +1 -1
- package/build/api/models/reactions-type.js +1 -1
- package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +1 -1
- package/build/api/models/register-developer-managed-signed-key-req-body.js +1 -1
- package/build/api/models/register-signer-key-req-body.d.ts +1 -1
- package/build/api/models/register-signer-key-req-body.js +1 -1
- package/build/api/models/register-user-req-body-metadata.d.ts +1 -1
- package/build/api/models/register-user-req-body-metadata.js +1 -1
- package/build/api/models/register-user-req-body.d.ts +1 -1
- package/build/api/models/register-user-req-body.js +1 -1
- package/build/api/models/register-user-response.d.ts +1 -1
- package/build/api/models/register-user-response.js +1 -1
- package/build/api/models/relevant-followers-response.d.ts +1 -1
- package/build/api/models/relevant-followers-response.js +1 -1
- package/build/api/models/relevant-fungible-owners-response.d.ts +1 -1
- package/build/api/models/relevant-fungible-owners-response.js +1 -1
- package/build/api/models/remove-channel-member-req-body.d.ts +1 -1
- package/build/api/models/remove-channel-member-req-body.js +1 -1
- package/build/api/models/remove-verification-req-body.d.ts +1 -1
- package/build/api/models/remove-verification-req-body.js +1 -1
- package/build/api/models/respond-channel-invite-req-body.d.ts +1 -1
- package/build/api/models/respond-channel-invite-req-body.js +1 -1
- package/build/api/models/searched-user.d.ts +1 -1
- package/build/api/models/searched-user.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.js +1 -1
- package/build/api/models/send-frame-notifications-req-body.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body.js +1 -1
- package/build/api/models/send-frame-notifications-response.d.ts +1 -1
- package/build/api/models/send-frame-notifications-response.js +1 -1
- package/build/api/models/shared-signer-permission.d.ts +1 -1
- package/build/api/models/shared-signer-permission.js +1 -1
- package/build/api/models/signed-key-request-sponsor.d.ts +1 -1
- package/build/api/models/signed-key-request-sponsor.js +1 -1
- package/build/api/models/signer-list-response.d.ts +1 -1
- package/build/api/models/signer-list-response.js +1 -1
- package/build/api/models/signer.d.ts +1 -1
- package/build/api/models/signer.js +1 -1
- package/build/api/models/storage-allocation.d.ts +1 -1
- package/build/api/models/storage-allocation.js +1 -1
- package/build/api/models/storage-allocations-response.d.ts +1 -1
- package/build/api/models/storage-allocations-response.js +1 -1
- package/build/api/models/storage-object.d.ts +1 -1
- package/build/api/models/storage-object.js +1 -1
- package/build/api/models/storage-usage-response.d.ts +1 -1
- package/build/api/models/storage-usage-response.js +1 -1
- package/build/api/models/subscribed-to-all-of.d.ts +1 -1
- package/build/api/models/subscribed-to-all-of.js +1 -1
- package/build/api/models/subscribed-to-object.d.ts +1 -1
- package/build/api/models/subscribed-to-object.js +1 -1
- package/build/api/models/subscribed-to-response.d.ts +1 -1
- package/build/api/models/subscribed-to-response.js +1 -1
- package/build/api/models/subscribed-to.d.ts +1 -1
- package/build/api/models/subscribed-to.js +1 -1
- package/build/api/models/subscriber.d.ts +1 -1
- package/build/api/models/subscriber.js +1 -1
- package/build/api/models/subscribers-response.d.ts +1 -1
- package/build/api/models/subscribers-response.js +1 -1
- package/build/api/models/subscription-check-response.d.ts +1 -1
- package/build/api/models/subscription-check-response.js +1 -1
- package/build/api/models/subscription-metadata.d.ts +1 -1
- package/build/api/models/subscription-metadata.js +1 -1
- package/build/api/models/subscription-price.d.ts +1 -1
- package/build/api/models/subscription-price.js +1 -1
- package/build/api/models/subscription-provider.d.ts +1 -1
- package/build/api/models/subscription-provider.js +1 -1
- package/build/api/models/subscription-providers.d.ts +1 -1
- package/build/api/models/subscription-providers.js +1 -1
- package/build/api/models/subscription-status.d.ts +1 -1
- package/build/api/models/subscription-status.js +1 -1
- package/build/api/models/subscription-tier-price.d.ts +1 -1
- package/build/api/models/subscription-tier-price.js +1 -1
- package/build/api/models/subscription-tier.d.ts +1 -1
- package/build/api/models/subscription-tier.js +1 -1
- package/build/api/models/subscription-token.d.ts +1 -1
- package/build/api/models/subscription-token.js +1 -1
- package/build/api/models/subscription.d.ts +1 -1
- package/build/api/models/subscription.js +1 -1
- package/build/api/models/subscriptions-response.d.ts +1 -1
- package/build/api/models/subscriptions-response.js +1 -1
- package/build/api/models/subscriptions.d.ts +1 -1
- package/build/api/models/subscriptions.js +1 -1
- package/build/api/models/token-balance-balance.d.ts +1 -1
- package/build/api/models/token-balance-balance.js +1 -1
- package/build/api/models/token-balance-token.d.ts +1 -1
- package/build/api/models/token-balance-token.js +1 -1
- package/build/api/models/token-balance.d.ts +1 -1
- package/build/api/models/token-balance.js +1 -1
- package/build/api/models/transaction-frame-action.d.ts +1 -1
- package/build/api/models/transaction-frame-action.js +1 -1
- package/build/api/models/transaction-frame-base.d.ts +1 -1
- package/build/api/models/transaction-frame-base.js +1 -1
- package/build/api/models/transaction-frame-config.d.ts +1 -1
- package/build/api/models/transaction-frame-config.js +1 -1
- package/build/api/models/transaction-frame-destination.d.ts +1 -1
- package/build/api/models/transaction-frame-destination.js +1 -1
- package/build/api/models/transaction-frame-line-item.d.ts +1 -1
- package/build/api/models/transaction-frame-line-item.js +1 -1
- package/build/api/models/transaction-frame-pay-all-of-transaction.d.ts +1 -1
- package/build/api/models/transaction-frame-pay-all-of-transaction.js +1 -1
- package/build/api/models/transaction-frame-pay-all-of.d.ts +1 -1
- package/build/api/models/transaction-frame-pay-all-of.js +1 -1
- package/build/api/models/transaction-frame-pay.d.ts +1 -1
- package/build/api/models/transaction-frame-pay.js +1 -1
- package/build/api/models/transaction-frame-response.d.ts +1 -1
- package/build/api/models/transaction-frame-response.js +1 -1
- package/build/api/models/transaction-frame-status.d.ts +1 -1
- package/build/api/models/transaction-frame-status.js +1 -1
- package/build/api/models/transaction-frame-type.d.ts +1 -1
- package/build/api/models/transaction-frame-type.js +1 -1
- package/build/api/models/transaction-frame.d.ts +1 -1
- package/build/api/models/transaction-frame.js +1 -1
- package/build/api/models/trending-channel-response.d.ts +1 -1
- package/build/api/models/trending-channel-response.js +1 -1
- package/build/api/models/update-user-req-body-location.d.ts +1 -1
- package/build/api/models/update-user-req-body-location.js +1 -1
- package/build/api/models/update-user-req-body-verified-accounts.d.ts +1 -1
- package/build/api/models/update-user-req-body-verified-accounts.js +1 -1
- package/build/api/models/update-user-req-body.d.ts +1 -1
- package/build/api/models/update-user-req-body.js +1 -1
- package/build/api/models/user-dehydrated.d.ts +1 -1
- package/build/api/models/user-dehydrated.js +1 -1
- package/build/api/models/user-experimental.d.ts +1 -1
- package/build/api/models/user-experimental.js +1 -1
- package/build/api/models/user-fidresponse.d.ts +1 -1
- package/build/api/models/user-fidresponse.js +1 -1
- package/build/api/models/user-power-lite-response-result.d.ts +1 -1
- package/build/api/models/user-power-lite-response-result.js +1 -1
- package/build/api/models/user-power-lite-response.d.ts +1 -1
- package/build/api/models/user-power-lite-response.js +1 -1
- package/build/api/models/user-profile-bio.d.ts +1 -1
- package/build/api/models/user-profile-bio.js +1 -1
- package/build/api/models/user-profile.d.ts +1 -1
- package/build/api/models/user-profile.js +1 -1
- package/build/api/models/user-response.d.ts +1 -1
- package/build/api/models/user-response.js +1 -1
- package/build/api/models/user-search-response-result.d.ts +1 -1
- package/build/api/models/user-search-response-result.js +1 -1
- package/build/api/models/user-search-response.d.ts +1 -1
- package/build/api/models/user-search-response.js +1 -1
- package/build/api/models/user-verified-accounts-inner.d.ts +1 -1
- package/build/api/models/user-verified-accounts-inner.js +1 -1
- package/build/api/models/user-verified-addresses-primary.d.ts +1 -1
- package/build/api/models/user-verified-addresses-primary.js +1 -1
- package/build/api/models/user-verified-addresses.d.ts +1 -1
- package/build/api/models/user-verified-addresses.js +1 -1
- package/build/api/models/user-viewer-context.d.ts +1 -1
- package/build/api/models/user-viewer-context.js +1 -1
- package/build/api/models/user.d.ts +1 -1
- package/build/api/models/user.js +1 -1
- package/build/api/models/users-active-channels-response.d.ts +1 -1
- package/build/api/models/users-active-channels-response.js +1 -1
- package/build/api/models/users-response.d.ts +1 -1
- package/build/api/models/users-response.js +1 -1
- package/build/api/models/validate-frame-action-req-body.d.ts +1 -1
- package/build/api/models/validate-frame-action-req-body.js +1 -1
- package/build/api/models/validate-frame-action-response.d.ts +1 -1
- package/build/api/models/validate-frame-action-response.js +1 -1
- package/build/api/models/validate-frame-aggregate-window.d.ts +1 -1
- package/build/api/models/validate-frame-aggregate-window.js +1 -1
- package/build/api/models/validate-frame-analytics-type.d.ts +1 -1
- package/build/api/models/validate-frame-analytics-type.js +1 -1
- package/build/api/models/validated-frame-action-signer.d.ts +1 -1
- package/build/api/models/validated-frame-action-signer.js +1 -1
- package/build/api/models/validated-frame-action-tapped-button.d.ts +1 -1
- package/build/api/models/validated-frame-action-tapped-button.js +1 -1
- package/build/api/models/validated-frame-action.d.ts +1 -1
- package/build/api/models/validated-frame-action.js +1 -1
- package/build/api/models/verification-chain-id.d.ts +1 -1
- package/build/api/models/verification-chain-id.js +1 -1
- package/build/api/models/verification-type.d.ts +1 -1
- package/build/api/models/verification-type.js +1 -1
- package/build/api/models/video-object.d.ts +1 -1
- package/build/api/models/video-object.js +1 -1
- package/build/api/models/webhook-delete-req-body.d.ts +1 -1
- package/build/api/models/webhook-delete-req-body.js +1 -1
- package/build/api/models/webhook-list-response.d.ts +1 -1
- package/build/api/models/webhook-list-response.js +1 -1
- package/build/api/models/webhook-patch-req-body.d.ts +1 -1
- package/build/api/models/webhook-patch-req-body.js +1 -1
- package/build/api/models/webhook-post-req-body.d.ts +1 -1
- package/build/api/models/webhook-post-req-body.js +1 -1
- package/build/api/models/webhook-put-req-body.d.ts +1 -1
- package/build/api/models/webhook-put-req-body.js +1 -1
- package/build/api/models/webhook-response.d.ts +1 -1
- package/build/api/models/webhook-response.js +1 -1
- package/build/api/models/webhook-secret.d.ts +1 -1
- package/build/api/models/webhook-secret.js +1 -1
- package/build/api/models/webhook-subscription-filters-cast.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-cast.js +1 -1
- package/build/api/models/webhook-subscription-filters-follow.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-follow.js +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.js +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.js +1 -1
- package/build/api/models/webhook-subscription-filters.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters.js +1 -1
- package/build/api/models/webhook-subscription.d.ts +1 -1
- package/build/api/models/webhook-subscription.js +1 -1
- package/build/api/models/webhook.d.ts +1 -1
- package/build/api/models/webhook.js +1 -1
- package/build/api/models/zod-error-errors-inner.d.ts +1 -1
- package/build/api/models/zod-error-errors-inner.js +1 -1
- package/build/api/models/zod-error.d.ts +1 -1
- package/build/api/models/zod-error.js +1 -1
- package/build/clients/NeynarAPIClient.d.ts +5 -2
- package/build/clients/NeynarAPIClient.js +28 -2
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.27.1
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -71,6 +71,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
71
71
|
* @param {string} casts Hashes of the cast to be retrived (Comma separated, no spaces)
|
|
72
72
|
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
73
73
|
* @param {FetchBulkCastsSortTypeEnum} [sortType] Optional parameter to sort the casts based on different criteria
|
|
74
|
+
* @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.
|
|
74
75
|
* @param {*} [options] Override http request option.
|
|
75
76
|
* @throws {RequiredError}
|
|
76
77
|
* @returns {Promise<CastsResponse>} A promise that resolves to a `CastsResponse` object
|
|
@@ -78,7 +79,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
78
79
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-casts)
|
|
79
80
|
*
|
|
80
81
|
*/
|
|
81
|
-
fetchBulkCasts: async (casts, viewerFid, sortType, options = {}) => {
|
|
82
|
+
fetchBulkCasts: async (casts, viewerFid, sortType, xNeynarExperimental, options = {}) => {
|
|
82
83
|
// verify required parameter 'casts' is not null or undefined
|
|
83
84
|
(0, common_1.assertParamExists)('fetchBulkCasts', 'casts', casts);
|
|
84
85
|
const localVarPath = `/farcaster/casts`;
|
|
@@ -102,6 +103,11 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
102
103
|
if (sortType !== undefined) {
|
|
103
104
|
localVarQueryParameter['sort_type'] = sortType;
|
|
104
105
|
}
|
|
106
|
+
if (xNeynarExperimental != null) {
|
|
107
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
108
|
+
? xNeynarExperimental
|
|
109
|
+
: JSON.stringify(xNeynarExperimental);
|
|
110
|
+
}
|
|
105
111
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
106
112
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107
113
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -196,6 +202,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
196
202
|
* @param {string} identifier Cast identifier (Its either a url or a hash)
|
|
197
203
|
* @param {CastParamType} type
|
|
198
204
|
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
205
|
+
* @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.
|
|
199
206
|
* @param {*} [options] Override http request option.
|
|
200
207
|
* @throws {RequiredError}
|
|
201
208
|
* @returns {Promise<CastResponse>} A promise that resolves to a `CastResponse` object
|
|
@@ -203,7 +210,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
203
210
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-by-hash-or-warpcast-url)
|
|
204
211
|
*
|
|
205
212
|
*/
|
|
206
|
-
lookupCastByHashOrWarpcastUrl: async (identifier, type, viewerFid, options = {}) => {
|
|
213
|
+
lookupCastByHashOrWarpcastUrl: async (identifier, type, viewerFid, xNeynarExperimental, options = {}) => {
|
|
207
214
|
// verify required parameter 'identifier' is not null or undefined
|
|
208
215
|
(0, common_1.assertParamExists)('lookupCastByHashOrWarpcastUrl', 'identifier', identifier);
|
|
209
216
|
// verify required parameter 'type' is not null or undefined
|
|
@@ -229,6 +236,11 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
229
236
|
if (viewerFid !== undefined) {
|
|
230
237
|
localVarQueryParameter['viewer_fid'] = viewerFid;
|
|
231
238
|
}
|
|
239
|
+
if (xNeynarExperimental != null) {
|
|
240
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
241
|
+
? xNeynarExperimental
|
|
242
|
+
: JSON.stringify(xNeynarExperimental);
|
|
243
|
+
}
|
|
232
244
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
233
245
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
234
246
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -249,6 +261,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
249
261
|
* @param {LookupCastConversationFoldEnum} [fold] Show conversation above or below the fold. Lower quality responses are hidden below the fold. Not passing in a value shows the full conversation without any folding.
|
|
250
262
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 50)
|
|
251
263
|
* @param {string} [cursor] Pagination cursor.
|
|
264
|
+
* @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.
|
|
252
265
|
* @param {*} [options] Override http request option.
|
|
253
266
|
* @throws {RequiredError}
|
|
254
267
|
* @returns {Promise<Conversation>} A promise that resolves to a `Conversation` object
|
|
@@ -256,7 +269,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
256
269
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation)
|
|
257
270
|
*
|
|
258
271
|
*/
|
|
259
|
-
lookupCastConversation: async (identifier, type, replyDepth, includeChronologicalParentCasts, viewerFid, sortType, fold, limit, cursor, options = {}) => {
|
|
272
|
+
lookupCastConversation: async (identifier, type, replyDepth, includeChronologicalParentCasts, viewerFid, sortType, fold, limit, cursor, xNeynarExperimental, options = {}) => {
|
|
260
273
|
// verify required parameter 'identifier' is not null or undefined
|
|
261
274
|
(0, common_1.assertParamExists)('lookupCastConversation', 'identifier', identifier);
|
|
262
275
|
// verify required parameter 'type' is not null or undefined
|
|
@@ -300,6 +313,11 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
300
313
|
if (cursor !== undefined) {
|
|
301
314
|
localVarQueryParameter['cursor'] = cursor;
|
|
302
315
|
}
|
|
316
|
+
if (xNeynarExperimental != null) {
|
|
317
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
318
|
+
? xNeynarExperimental
|
|
319
|
+
: JSON.stringify(xNeynarExperimental);
|
|
320
|
+
}
|
|
303
321
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
304
322
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
323
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -357,6 +375,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
357
375
|
* @param {boolean} [priorityMode] When true, only returns search results from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
358
376
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
359
377
|
* @param {string} [cursor] Pagination cursor
|
|
378
|
+
* @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.
|
|
360
379
|
* @param {*} [options] Override http request option.
|
|
361
380
|
* @throws {RequiredError}
|
|
362
381
|
* @returns {Promise<CastsSearchResponse>} A promise that resolves to a `CastsSearchResponse` object
|
|
@@ -364,7 +383,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
364
383
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
|
|
365
384
|
*
|
|
366
385
|
*/
|
|
367
|
-
searchCasts: async (q, mode, sortType, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options = {}) => {
|
|
386
|
+
searchCasts: async (q, mode, sortType, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, xNeynarExperimental, options = {}) => {
|
|
368
387
|
// verify required parameter 'q' is not null or undefined
|
|
369
388
|
(0, common_1.assertParamExists)('searchCasts', 'q', q);
|
|
370
389
|
const localVarPath = `/farcaster/cast/search`;
|
|
@@ -409,6 +428,11 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
409
428
|
if (cursor !== undefined) {
|
|
410
429
|
localVarQueryParameter['cursor'] = cursor;
|
|
411
430
|
}
|
|
431
|
+
if (xNeynarExperimental != null) {
|
|
432
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
433
|
+
? xNeynarExperimental
|
|
434
|
+
: JSON.stringify(xNeynarExperimental);
|
|
435
|
+
}
|
|
412
436
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
413
437
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
414
438
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -451,6 +475,7 @@ const CastApiFp = function (configuration) {
|
|
|
451
475
|
* @param {string} casts Hashes of the cast to be retrived (Comma separated, no spaces)
|
|
452
476
|
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
453
477
|
* @param {FetchBulkCastsSortTypeEnum} [sortType] Optional parameter to sort the casts based on different criteria
|
|
478
|
+
* @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.
|
|
454
479
|
* @param {*} [options] Override http request option.
|
|
455
480
|
* @throws {RequiredError}
|
|
456
481
|
* @returns {Promise<CastsResponse>} A promise that resolves to a `CastsResponse` object
|
|
@@ -458,9 +483,9 @@ const CastApiFp = function (configuration) {
|
|
|
458
483
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-casts)
|
|
459
484
|
*
|
|
460
485
|
*/
|
|
461
|
-
async fetchBulkCasts(casts, viewerFid, sortType, options) {
|
|
486
|
+
async fetchBulkCasts(casts, viewerFid, sortType, xNeynarExperimental, options) {
|
|
462
487
|
var _a, _b, _c;
|
|
463
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchBulkCasts(casts, viewerFid, sortType, options);
|
|
488
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchBulkCasts(casts, viewerFid, sortType, xNeynarExperimental, options);
|
|
464
489
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
465
490
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.fetchBulkCasts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
466
491
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -509,6 +534,7 @@ const CastApiFp = function (configuration) {
|
|
|
509
534
|
* @param {string} identifier Cast identifier (Its either a url or a hash)
|
|
510
535
|
* @param {CastParamType} type
|
|
511
536
|
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
537
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
512
538
|
* @param {*} [options] Override http request option.
|
|
513
539
|
* @throws {RequiredError}
|
|
514
540
|
* @returns {Promise<CastResponse>} A promise that resolves to a `CastResponse` object
|
|
@@ -516,9 +542,9 @@ const CastApiFp = function (configuration) {
|
|
|
516
542
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-by-hash-or-warpcast-url)
|
|
517
543
|
*
|
|
518
544
|
*/
|
|
519
|
-
async lookupCastByHashOrWarpcastUrl(identifier, type, viewerFid, options) {
|
|
545
|
+
async lookupCastByHashOrWarpcastUrl(identifier, type, viewerFid, xNeynarExperimental, options) {
|
|
520
546
|
var _a, _b, _c;
|
|
521
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lookupCastByHashOrWarpcastUrl(identifier, type, viewerFid, options);
|
|
547
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lookupCastByHashOrWarpcastUrl(identifier, type, viewerFid, xNeynarExperimental, options);
|
|
522
548
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
523
549
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.lookupCastByHashOrWarpcastUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
524
550
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -535,6 +561,7 @@ const CastApiFp = function (configuration) {
|
|
|
535
561
|
* @param {LookupCastConversationFoldEnum} [fold] Show conversation above or below the fold. Lower quality responses are hidden below the fold. Not passing in a value shows the full conversation without any folding.
|
|
536
562
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 50)
|
|
537
563
|
* @param {string} [cursor] Pagination cursor.
|
|
564
|
+
* @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.
|
|
538
565
|
* @param {*} [options] Override http request option.
|
|
539
566
|
* @throws {RequiredError}
|
|
540
567
|
* @returns {Promise<Conversation>} A promise that resolves to a `Conversation` object
|
|
@@ -542,9 +569,9 @@ const CastApiFp = function (configuration) {
|
|
|
542
569
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation)
|
|
543
570
|
*
|
|
544
571
|
*/
|
|
545
|
-
async lookupCastConversation(identifier, type, replyDepth, includeChronologicalParentCasts, viewerFid, sortType, fold, limit, cursor, options) {
|
|
572
|
+
async lookupCastConversation(identifier, type, replyDepth, includeChronologicalParentCasts, viewerFid, sortType, fold, limit, cursor, xNeynarExperimental, options) {
|
|
546
573
|
var _a, _b, _c;
|
|
547
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lookupCastConversation(identifier, type, replyDepth, includeChronologicalParentCasts, viewerFid, sortType, fold, limit, cursor, options);
|
|
574
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lookupCastConversation(identifier, type, replyDepth, includeChronologicalParentCasts, viewerFid, sortType, fold, limit, cursor, xNeynarExperimental, options);
|
|
548
575
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
549
576
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.lookupCastConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
550
577
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -580,6 +607,7 @@ const CastApiFp = function (configuration) {
|
|
|
580
607
|
* @param {boolean} [priorityMode] When true, only returns search results from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
581
608
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
582
609
|
* @param {string} [cursor] Pagination cursor
|
|
610
|
+
* @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.
|
|
583
611
|
* @param {*} [options] Override http request option.
|
|
584
612
|
* @throws {RequiredError}
|
|
585
613
|
* @returns {Promise<CastsSearchResponse>} A promise that resolves to a `CastsSearchResponse` object
|
|
@@ -587,9 +615,9 @@ const CastApiFp = function (configuration) {
|
|
|
587
615
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
|
|
588
616
|
*
|
|
589
617
|
*/
|
|
590
|
-
async searchCasts(q, mode, sortType, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options) {
|
|
618
|
+
async searchCasts(q, mode, sortType, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, xNeynarExperimental, options) {
|
|
591
619
|
var _a, _b, _c;
|
|
592
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchCasts(q, mode, sortType, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options);
|
|
620
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchCasts(q, mode, sortType, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, xNeynarExperimental, options);
|
|
593
621
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
594
622
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.searchCasts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
595
623
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -630,7 +658,7 @@ const CastApiFactory = function (configuration, basePath, axios) {
|
|
|
630
658
|
*
|
|
631
659
|
*/
|
|
632
660
|
fetchBulkCasts(requestParameters, options) {
|
|
633
|
-
return localVarFp.fetchBulkCasts(requestParameters.casts, requestParameters.viewerFid, requestParameters.sortType, options).then((request) => request(axios, basePath));
|
|
661
|
+
return localVarFp.fetchBulkCasts(requestParameters.casts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
634
662
|
},
|
|
635
663
|
/**
|
|
636
664
|
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
@@ -672,7 +700,7 @@ const CastApiFactory = function (configuration, basePath, axios) {
|
|
|
672
700
|
*
|
|
673
701
|
*/
|
|
674
702
|
lookupCastByHashOrWarpcastUrl(requestParameters, options) {
|
|
675
|
-
return localVarFp.lookupCastByHashOrWarpcastUrl(requestParameters.identifier, requestParameters.type, requestParameters.viewerFid, options).then((request) => request(axios, basePath));
|
|
703
|
+
return localVarFp.lookupCastByHashOrWarpcastUrl(requestParameters.identifier, requestParameters.type, requestParameters.viewerFid, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
676
704
|
},
|
|
677
705
|
/**
|
|
678
706
|
* Gets all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Includes all the ancestors of a cast up to the root parent in a chronological order. Includes all direct_replies to the cast up to the reply_depth specified in the query parameter.
|
|
@@ -686,7 +714,7 @@ const CastApiFactory = function (configuration, basePath, axios) {
|
|
|
686
714
|
*
|
|
687
715
|
*/
|
|
688
716
|
lookupCastConversation(requestParameters, options) {
|
|
689
|
-
return localVarFp.lookupCastConversation(requestParameters.identifier, requestParameters.type, requestParameters.replyDepth, requestParameters.includeChronologicalParentCasts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.fold, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
717
|
+
return localVarFp.lookupCastConversation(requestParameters.identifier, requestParameters.type, requestParameters.replyDepth, requestParameters.includeChronologicalParentCasts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.fold, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
690
718
|
},
|
|
691
719
|
/**
|
|
692
720
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
@@ -714,7 +742,7 @@ const CastApiFactory = function (configuration, basePath, axios) {
|
|
|
714
742
|
*
|
|
715
743
|
*/
|
|
716
744
|
searchCasts(requestParameters, options) {
|
|
717
|
-
return localVarFp.searchCasts(requestParameters.q, requestParameters.mode, requestParameters.sortType, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
745
|
+
return localVarFp.searchCasts(requestParameters.q, requestParameters.mode, requestParameters.sortType, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
718
746
|
},
|
|
719
747
|
};
|
|
720
748
|
};
|
|
@@ -754,7 +782,7 @@ class CastApi extends base_1.BaseAPI {
|
|
|
754
782
|
*
|
|
755
783
|
*/
|
|
756
784
|
fetchBulkCasts(requestParameters, options) {
|
|
757
|
-
return (0, exports.CastApiFp)(this.configuration).fetchBulkCasts(requestParameters.casts, requestParameters.viewerFid, requestParameters.sortType, options).then((request) => request(this.axios, this.basePath));
|
|
785
|
+
return (0, exports.CastApiFp)(this.configuration).fetchBulkCasts(requestParameters.casts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
758
786
|
}
|
|
759
787
|
/**
|
|
760
788
|
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
@@ -799,7 +827,7 @@ class CastApi extends base_1.BaseAPI {
|
|
|
799
827
|
*
|
|
800
828
|
*/
|
|
801
829
|
lookupCastByHashOrWarpcastUrl(requestParameters, options) {
|
|
802
|
-
return (0, exports.CastApiFp)(this.configuration).lookupCastByHashOrWarpcastUrl(requestParameters.identifier, requestParameters.type, requestParameters.viewerFid, options).then((request) => request(this.axios, this.basePath));
|
|
830
|
+
return (0, exports.CastApiFp)(this.configuration).lookupCastByHashOrWarpcastUrl(requestParameters.identifier, requestParameters.type, requestParameters.viewerFid, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
803
831
|
}
|
|
804
832
|
/**
|
|
805
833
|
* Gets all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Includes all the ancestors of a cast up to the root parent in a chronological order. Includes all direct_replies to the cast up to the reply_depth specified in the query parameter.
|
|
@@ -814,7 +842,7 @@ class CastApi extends base_1.BaseAPI {
|
|
|
814
842
|
*
|
|
815
843
|
*/
|
|
816
844
|
lookupCastConversation(requestParameters, options) {
|
|
817
|
-
return (0, exports.CastApiFp)(this.configuration).lookupCastConversation(requestParameters.identifier, requestParameters.type, requestParameters.replyDepth, requestParameters.includeChronologicalParentCasts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.fold, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
845
|
+
return (0, exports.CastApiFp)(this.configuration).lookupCastConversation(requestParameters.identifier, requestParameters.type, requestParameters.replyDepth, requestParameters.includeChronologicalParentCasts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.fold, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
818
846
|
}
|
|
819
847
|
/**
|
|
820
848
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
@@ -844,7 +872,7 @@ class CastApi extends base_1.BaseAPI {
|
|
|
844
872
|
*
|
|
845
873
|
*/
|
|
846
874
|
searchCasts(requestParameters, options) {
|
|
847
|
-
return (0, exports.CastApiFp)(this.configuration).searchCasts(requestParameters.q, requestParameters.mode, requestParameters.sortType, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
875
|
+
return (0, exports.CastApiFp)(this.configuration).searchCasts(requestParameters.q, requestParameters.mode, requestParameters.sortType, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
848
876
|
}
|
|
849
877
|
}
|
|
850
878
|
exports.CastApi = CastApi;
|
|
@@ -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).
|
|
@@ -82,7 +82,7 @@ export declare const ChannelApiAxiosParamCreator: (configuration?: Configuration
|
|
|
82
82
|
* @param {number} [fid] FID of the user being queried. Specify this to check if a user is a member of the channel without paginating through all members.
|
|
83
83
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 100)
|
|
84
84
|
* @param {string} [cursor] Pagination cursor.
|
|
85
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features
|
|
85
|
+
* @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.
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
* @returns {Promise<ChannelMemberListResponse>} A promise that resolves to a `ChannelMemberListResponse` object
|
|
@@ -98,7 +98,7 @@ export declare const ChannelApiAxiosParamCreator: (configuration?: Configuration
|
|
|
98
98
|
* @param {number} [viewerFid] Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
99
99
|
* @param {string} [cursor] Pagination cursor.
|
|
100
100
|
* @param {number} [limit] Number of followers to fetch (Default: 25, Maximum: 1000)
|
|
101
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features
|
|
101
|
+
* @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.
|
|
102
102
|
* @param {*} [options] Override http request option.
|
|
103
103
|
* @throws {RequiredError}
|
|
104
104
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -112,7 +112,7 @@ export declare const ChannelApiAxiosParamCreator: (configuration?: Configuration
|
|
|
112
112
|
* @summary Relevant followers
|
|
113
113
|
* @param {string} id Channel ID being queried
|
|
114
114
|
* @param {number} viewerFid The FID of the user to customize this response for. Providing this will also return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
115
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features
|
|
115
|
+
* @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.
|
|
116
116
|
* @param {*} [options] Override http request option.
|
|
117
117
|
* @throws {RequiredError}
|
|
118
118
|
* @returns {Promise<RelevantFollowersResponse>} A promise that resolves to a `RelevantFollowersResponse` object
|
|
@@ -320,7 +320,7 @@ export declare const ChannelApiFp: (configuration?: Configuration) => {
|
|
|
320
320
|
* @param {number} [fid] FID of the user being queried. Specify this to check if a user is a member of the channel without paginating through all members.
|
|
321
321
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 100)
|
|
322
322
|
* @param {string} [cursor] Pagination cursor.
|
|
323
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features
|
|
323
|
+
* @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.
|
|
324
324
|
* @param {*} [options] Override http request option.
|
|
325
325
|
* @throws {RequiredError}
|
|
326
326
|
* @returns {Promise<ChannelMemberListResponse>} A promise that resolves to a `ChannelMemberListResponse` object
|
|
@@ -336,7 +336,7 @@ export declare const ChannelApiFp: (configuration?: Configuration) => {
|
|
|
336
336
|
* @param {number} [viewerFid] Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
337
337
|
* @param {string} [cursor] Pagination cursor.
|
|
338
338
|
* @param {number} [limit] Number of followers to fetch (Default: 25, Maximum: 1000)
|
|
339
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features
|
|
339
|
+
* @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.
|
|
340
340
|
* @param {*} [options] Override http request option.
|
|
341
341
|
* @throws {RequiredError}
|
|
342
342
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -350,7 +350,7 @@ export declare const ChannelApiFp: (configuration?: Configuration) => {
|
|
|
350
350
|
* @summary Relevant followers
|
|
351
351
|
* @param {string} id Channel ID being queried
|
|
352
352
|
* @param {number} viewerFid The FID of the user to customize this response for. Providing this will also return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
353
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features
|
|
353
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
354
354
|
* @param {*} [options] Override http request option.
|
|
355
355
|
* @throws {RequiredError}
|
|
356
356
|
* @returns {Promise<RelevantFollowersResponse>} A promise that resolves to a `RelevantFollowersResponse` object
|
|
@@ -1087,7 +1087,7 @@ export interface ChannelApiFetchChannelMembersRequest {
|
|
|
1087
1087
|
*/
|
|
1088
1088
|
readonly cursor?: string;
|
|
1089
1089
|
/**
|
|
1090
|
-
* Enables experimental features
|
|
1090
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1091
1091
|
*
|
|
1092
1092
|
*
|
|
1093
1093
|
* @globalHeader
|
|
@@ -1139,7 +1139,7 @@ export interface ChannelApiFetchFollowersForAChannelRequest {
|
|
|
1139
1139
|
*/
|
|
1140
1140
|
readonly limit?: number;
|
|
1141
1141
|
/**
|
|
1142
|
-
* Enables experimental features
|
|
1142
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1143
1143
|
*
|
|
1144
1144
|
*
|
|
1145
1145
|
* @globalHeader
|
|
@@ -1173,7 +1173,7 @@ export interface ChannelApiFetchRelevantFollowersForAChannelRequest {
|
|
|
1173
1173
|
*/
|
|
1174
1174
|
readonly viewerFid: number;
|
|
1175
1175
|
/**
|
|
1176
|
-
* Enables experimental features
|
|
1176
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1177
1177
|
*
|
|
1178
1178
|
*
|
|
1179
1179
|
* @globalHeader
|
|
@@ -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).
|
|
@@ -167,7 +167,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
167
167
|
* @param {number} [fid] FID of the user being queried. Specify this to check if a user is a member of the channel without paginating through all members.
|
|
168
168
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 100)
|
|
169
169
|
* @param {string} [cursor] Pagination cursor.
|
|
170
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features
|
|
170
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
171
171
|
* @param {*} [options] Override http request option.
|
|
172
172
|
* @throws {RequiredError}
|
|
173
173
|
* @returns {Promise<ChannelMemberListResponse>} A promise that resolves to a `ChannelMemberListResponse` object
|
|
@@ -222,7 +222,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
222
222
|
* @param {number} [viewerFid] Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
223
223
|
* @param {string} [cursor] Pagination cursor.
|
|
224
224
|
* @param {number} [limit] Number of followers to fetch (Default: 25, Maximum: 1000)
|
|
225
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features
|
|
225
|
+
* @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.
|
|
226
226
|
* @param {*} [options] Override http request option.
|
|
227
227
|
* @throws {RequiredError}
|
|
228
228
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -275,7 +275,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
275
275
|
* @summary Relevant followers
|
|
276
276
|
* @param {string} id Channel ID being queried
|
|
277
277
|
* @param {number} viewerFid The FID of the user to customize this response for. Providing this will also return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
278
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features
|
|
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.
|
|
279
279
|
* @param {*} [options] Override http request option.
|
|
280
280
|
* @throws {RequiredError}
|
|
281
281
|
* @returns {Promise<RelevantFollowersResponse>} A promise that resolves to a `RelevantFollowersResponse` object
|
|
@@ -844,7 +844,7 @@ const ChannelApiFp = function (configuration) {
|
|
|
844
844
|
* @param {number} [fid] FID of the user being queried. Specify this to check if a user is a member of the channel without paginating through all members.
|
|
845
845
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 100)
|
|
846
846
|
* @param {string} [cursor] Pagination cursor.
|
|
847
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features
|
|
847
|
+
* @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.
|
|
848
848
|
* @param {*} [options] Override http request option.
|
|
849
849
|
* @throws {RequiredError}
|
|
850
850
|
* @returns {Promise<ChannelMemberListResponse>} A promise that resolves to a `ChannelMemberListResponse` object
|
|
@@ -866,7 +866,7 @@ const ChannelApiFp = function (configuration) {
|
|
|
866
866
|
* @param {number} [viewerFid] Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
867
867
|
* @param {string} [cursor] Pagination cursor.
|
|
868
868
|
* @param {number} [limit] Number of followers to fetch (Default: 25, Maximum: 1000)
|
|
869
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features
|
|
869
|
+
* @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.
|
|
870
870
|
* @param {*} [options] Override http request option.
|
|
871
871
|
* @throws {RequiredError}
|
|
872
872
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -886,7 +886,7 @@ const ChannelApiFp = function (configuration) {
|
|
|
886
886
|
* @summary Relevant followers
|
|
887
887
|
* @param {string} id Channel ID being queried
|
|
888
888
|
* @param {number} viewerFid The FID of the user to customize this response for. Providing this will also return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
889
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features
|
|
889
|
+
* @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.
|
|
890
890
|
* @param {*} [options] Override http request option.
|
|
891
891
|
* @throws {RequiredError}
|
|
892
892
|
* @returns {Promise<RelevantFollowersResponse>} A promise that resolves to a `RelevantFollowersResponse` object
|