@neynar/nodejs-sdk 2.46.0 → 3.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/api.d.ts +4 -3
- package/build/api/api.js +4 -3
- package/build/api/apis/action-api.d.ts +8 -8
- package/build/api/apis/action-api.js +8 -8
- package/build/api/apis/agents-api.d.ts +51 -20
- package/build/api/apis/agents-api.js +49 -22
- package/build/api/apis/app-host-api.d.ts +71 -32
- package/build/api/apis/app-host-api.js +64 -31
- package/build/api/apis/auth-address-api.d.ts +205 -0
- package/build/api/apis/auth-address-api.js +230 -0
- package/build/api/apis/ban-api.d.ts +16 -16
- package/build/api/apis/ban-api.js +13 -13
- package/build/api/apis/block-api.d.ts +16 -16
- package/build/api/apis/block-api.js +13 -13
- package/build/api/apis/cast-api.d.ts +272 -103
- package/build/api/apis/cast-api.js +223 -68
- package/build/api/apis/channel-api.d.ts +57 -42
- package/build/api/apis/channel-api.js +53 -39
- package/build/api/apis/feed-api.d.ts +225 -181
- package/build/api/apis/feed-api.js +160 -112
- package/build/api/apis/fname-api.d.ts +3 -3
- package/build/api/apis/fname-api.js +4 -4
- package/build/api/apis/follows-api.d.ts +72 -57
- package/build/api/apis/follows-api.js +51 -37
- package/build/api/apis/frame-api.d.ts +144 -61
- package/build/api/apis/frame-api.js +127 -51
- package/build/api/apis/login-api.d.ts +3 -3
- package/build/api/apis/login-api.js +4 -4
- package/build/api/apis/metrics-api.d.ts +16 -16
- package/build/api/apis/metrics-api.js +11 -11
- package/build/api/apis/mute-api.d.ts +16 -16
- package/build/api/apis/mute-api.js +13 -13
- package/build/api/apis/notifications-api.d.ts +43 -32
- package/build/api/apis/notifications-api.js +58 -41
- package/build/api/apis/onchain-api.d.ts +265 -45
- package/build/api/apis/onchain-api.js +253 -38
- package/build/api/apis/reaction-api.d.ts +46 -29
- package/build/api/apis/reaction-api.js +39 -23
- package/build/api/apis/signer-api.d.ts +30 -24
- package/build/api/apis/signer-api.js +30 -24
- package/build/api/apis/storage-api.d.ts +9 -9
- package/build/api/apis/storage-api.js +10 -10
- package/build/api/apis/subscribers-api.d.ts +55 -35
- package/build/api/apis/subscribers-api.js +39 -20
- package/build/api/apis/user-api.d.ts +223 -305
- package/build/api/apis/user-api.js +192 -274
- package/build/api/apis/webhook-api.d.ts +3 -3
- package/build/api/apis/webhook-api.js +9 -9
- package/build/api/base.d.ts +3 -3
- package/build/api/base.js +4 -4
- package/build/api/common.d.ts +3 -3
- package/build/api/common.js +3 -3
- package/build/api/configuration.d.ts +3 -3
- package/build/api/configuration.js +3 -3
- package/build/api/index.d.ts +3 -3
- package/build/api/index.js +3 -3
- package/build/api/models/add-verification-req-body.d.ts +3 -3
- package/build/api/models/add-verification-req-body.js +3 -3
- package/build/api/models/address-balance-verified-address.d.ts +3 -3
- package/build/api/models/address-balance-verified-address.js +3 -3
- package/build/api/models/address-balance.d.ts +3 -3
- package/build/api/models/address-balance.js +3 -3
- package/build/api/models/app-host-event-type.d.ts +3 -3
- package/build/api/models/app-host-event-type.js +3 -3
- package/build/api/models/app-host-get-event-response-notification-details.d.ts +3 -3
- package/build/api/models/app-host-get-event-response-notification-details.js +3 -3
- package/build/api/models/app-host-get-event-response.d.ts +3 -3
- package/build/api/models/app-host-get-event-response.js +3 -3
- package/build/api/models/app-host-post-event-req-body-one-of-signed-message-one-of.d.ts +36 -0
- package/build/api/models/{app-host-post-event-body.js → app-host-post-event-req-body-one-of-signed-message-one-of.js} +3 -3
- package/build/api/models/app-host-post-event-req-body-one-of-signed-message.d.ts +18 -0
- package/build/api/models/{app-host-post-event-body-one-of.js → app-host-post-event-req-body-one-of-signed-message.js} +3 -3
- package/build/api/models/app-host-post-event-req-body-one-of.d.ts +31 -0
- package/build/api/models/{cast-with-interactions-all-of.js → app-host-post-event-req-body-one-of.js} +3 -3
- package/build/api/models/{app-host-post-event-body-one-of1.d.ts → app-host-post-event-req-body-one-of1.d.ts} +9 -9
- package/build/api/models/{app-host-post-event-body-one-of1.js → app-host-post-event-req-body-one-of1.js} +3 -3
- package/build/api/models/app-host-post-event-req-body.d.ts +19 -0
- package/build/api/models/app-host-post-event-req-body.js +15 -0
- package/build/api/models/app-host-post-event-response.d.ts +3 -3
- package/build/api/models/app-host-post-event-response.js +3 -3
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +3 -3
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.js +3 -3
- package/build/api/models/app-host-user-state-response.d.ts +3 -3
- package/build/api/models/app-host-user-state-response.js +3 -3
- package/build/api/models/authorization-url-response.d.ts +3 -3
- package/build/api/models/authorization-url-response.js +3 -3
- package/build/api/models/balance-response-user-balance.d.ts +3 -3
- package/build/api/models/balance-response-user-balance.js +3 -3
- package/build/api/models/balance-response.d.ts +3 -3
- package/build/api/models/balance-response.js +3 -3
- package/build/api/models/ban-list-response.d.ts +3 -3
- package/build/api/models/ban-list-response.js +3 -3
- package/build/api/models/ban-record.d.ts +3 -3
- package/build/api/models/ban-record.js +3 -3
- package/build/api/models/ban-req-body.d.ts +3 -3
- package/build/api/models/ban-req-body.js +3 -3
- package/build/api/models/ban-response.d.ts +3 -3
- package/build/api/models/ban-response.js +3 -3
- package/build/api/models/best-friends-response-users-inner.d.ts +36 -0
- package/build/api/models/best-friends-response-users-inner.js +15 -0
- package/build/api/models/best-friends-response.d.ts +32 -0
- package/build/api/models/best-friends-response.js +15 -0
- package/build/api/models/block-list-response.d.ts +3 -3
- package/build/api/models/block-list-response.js +3 -3
- package/build/api/models/block-record.d.ts +3 -3
- package/build/api/models/block-record.js +3 -3
- package/build/api/models/block-req-body.d.ts +3 -3
- package/build/api/models/block-req-body.js +3 -3
- package/build/api/models/bulk-casts-response.d.ts +6 -6
- package/build/api/models/bulk-casts-response.js +3 -3
- package/build/api/models/bulk-follow-response.d.ts +3 -3
- package/build/api/models/bulk-follow-response.js +3 -3
- package/build/api/models/bulk-users-by-address-response.d.ts +3 -3
- package/build/api/models/bulk-users-by-address-response.js +3 -3
- package/build/api/models/bulk-users-response.d.ts +3 -3
- package/build/api/models/bulk-users-response.js +3 -3
- package/build/api/models/buy-storage-req-body.d.ts +3 -3
- package/build/api/models/buy-storage-req-body.js +3 -3
- package/build/api/models/cast-and-conversations-ref.d.ts +179 -0
- package/build/api/models/cast-and-conversations-ref.js +19 -0
- package/build/api/models/cast-and-conversations.d.ts +180 -0
- package/build/api/models/cast-and-conversations.js +19 -0
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.d.ts +3 -3
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.js +3 -3
- package/build/api/models/cast-composer-actions-list-response-actions-inner.d.ts +3 -3
- package/build/api/models/cast-composer-actions-list-response-actions-inner.js +3 -3
- package/build/api/models/cast-composer-actions-list-response.d.ts +3 -3
- package/build/api/models/cast-composer-actions-list-response.js +3 -3
- package/build/api/models/cast-dehydrated.d.ts +3 -3
- package/build/api/models/cast-dehydrated.js +3 -3
- package/build/api/models/cast-embed-crawl-response.d.ts +3 -3
- package/build/api/models/cast-embed-crawl-response.js +3 -3
- package/build/api/models/cast-embedded-parent-author.d.ts +3 -3
- package/build/api/models/cast-embedded-parent-author.js +3 -3
- package/build/api/models/cast-embedded.d.ts +3 -10
- package/build/api/models/cast-embedded.js +3 -3
- package/build/api/models/cast-id.d.ts +3 -3
- package/build/api/models/cast-id.js +3 -3
- package/build/api/models/cast-notification-type.d.ts +3 -3
- package/build/api/models/cast-notification-type.js +3 -3
- package/build/api/models/{cast-with-interactions-reactions.d.ts → cast-reactions.d.ts} +9 -9
- package/build/api/models/cast-reactions.js +15 -0
- package/build/api/models/cast-replies.d.ts +24 -0
- package/build/api/models/cast-replies.js +15 -0
- package/build/api/models/cast-response.d.ts +6 -6
- package/build/api/models/cast-response.js +3 -3
- package/build/api/models/cast-viewer-context.d.ts +3 -3
- package/build/api/models/cast-viewer-context.js +3 -3
- package/build/api/models/cast.d.ts +77 -3
- package/build/api/models/cast.js +3 -3
- package/build/api/models/casts-metrics-response.d.ts +3 -3
- package/build/api/models/casts-metrics-response.js +3 -3
- package/build/api/models/casts-metrics.d.ts +3 -3
- package/build/api/models/casts-metrics.js +3 -3
- package/build/api/models/casts-response-result.d.ts +6 -6
- package/build/api/models/casts-response-result.js +3 -3
- package/build/api/models/casts-response.d.ts +3 -3
- package/build/api/models/casts-response.js +3 -3
- package/build/api/models/casts-search-response.d.ts +6 -6
- package/build/api/models/casts-search-response.js +3 -3
- package/build/api/models/channel-activity.d.ts +3 -3
- package/build/api/models/channel-activity.js +3 -3
- package/build/api/models/channel-dehydrated.d.ts +3 -3
- package/build/api/models/channel-dehydrated.js +3 -3
- package/build/api/models/channel-external-link.d.ts +3 -3
- package/build/api/models/channel-external-link.js +3 -3
- package/build/api/models/channel-follow-req-body.d.ts +3 -3
- package/build/api/models/channel-follow-req-body.js +3 -3
- package/build/api/models/channel-list-response.d.ts +3 -3
- package/build/api/models/channel-list-response.js +3 -3
- package/build/api/models/channel-member-channel.d.ts +3 -3
- package/build/api/models/channel-member-channel.js +3 -3
- package/build/api/models/channel-member-invite-list-response.d.ts +3 -3
- package/build/api/models/channel-member-invite-list-response.js +3 -3
- package/build/api/models/channel-member-invite.d.ts +3 -3
- package/build/api/models/channel-member-invite.js +3 -3
- package/build/api/models/channel-member-list-response.d.ts +3 -3
- package/build/api/models/channel-member-list-response.js +3 -3
- package/build/api/models/channel-member-role.d.ts +4 -3
- package/build/api/models/channel-member-role.js +5 -4
- package/build/api/models/channel-member-user.d.ts +3 -3
- package/build/api/models/channel-member-user.js +3 -3
- package/build/api/models/channel-member.d.ts +3 -3
- package/build/api/models/channel-member.js +3 -3
- package/build/api/models/channel-or-channel-dehydrated.d.ts +3 -3
- package/build/api/models/channel-or-channel-dehydrated.js +3 -3
- package/build/api/models/channel-response-bulk.d.ts +3 -3
- package/build/api/models/channel-response-bulk.js +3 -3
- package/build/api/models/channel-response.d.ts +3 -3
- package/build/api/models/channel-response.js +3 -3
- package/build/api/models/channel-search-response.d.ts +3 -3
- package/build/api/models/channel-search-response.js +3 -3
- package/build/api/models/channel-user-context.d.ts +3 -3
- package/build/api/models/channel-user-context.js +3 -3
- package/build/api/models/channel.d.ts +18 -18
- package/build/api/models/channel.js +3 -3
- package/build/api/models/conflict-error-res.d.ts +3 -3
- package/build/api/models/conflict-error-res.js +3 -3
- package/build/api/models/conversation-conversation.d.ts +9 -9
- package/build/api/models/conversation-conversation.js +3 -3
- package/build/api/models/conversation-summary-summary.d.ts +3 -3
- package/build/api/models/conversation-summary-summary.js +3 -3
- package/build/api/models/conversation-summary.d.ts +3 -3
- package/build/api/models/conversation-summary.js +3 -3
- package/build/api/models/conversation.d.ts +3 -3
- package/build/api/models/conversation.js +3 -3
- package/build/api/models/delete-cast-req-body.d.ts +4 -4
- package/build/api/models/delete-cast-req-body.js +3 -3
- package/build/api/models/delete-frame-req-body.d.ts +3 -3
- package/build/api/models/delete-frame-req-body.js +3 -3
- package/build/api/models/delete-frame-response.d.ts +3 -3
- package/build/api/models/delete-frame-response.js +3 -3
- package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +3 -3
- package/build/api/models/deploy-fungible-response-contract-fungible.js +3 -3
- package/build/api/models/deploy-fungible-response-contract.d.ts +3 -3
- package/build/api/models/deploy-fungible-response-contract.js +3 -3
- package/build/api/models/deploy-fungible-response.d.ts +3 -3
- package/build/api/models/deploy-fungible-response.js +3 -3
- package/build/api/models/developer-managed-signer.d.ts +3 -3
- package/build/api/models/developer-managed-signer.js +3 -3
- package/build/api/models/embed-cast-deep.d.ts +3 -3
- package/build/api/models/embed-cast-deep.js +3 -3
- package/build/api/models/embed-cast.d.ts +3 -3
- package/build/api/models/embed-cast.js +3 -3
- package/build/api/models/embed-deep.d.ts +3 -3
- package/build/api/models/embed-deep.js +3 -3
- package/build/api/models/embed-url-metadata-image.d.ts +3 -3
- package/build/api/models/embed-url-metadata-image.js +3 -3
- package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +3 -3
- package/build/api/models/embed-url-metadata-video-stream-inner.js +3 -3
- package/build/api/models/embed-url-metadata-video.d.ts +3 -3
- package/build/api/models/embed-url-metadata-video.js +3 -3
- package/build/api/models/embed-url-metadata.d.ts +3 -3
- package/build/api/models/embed-url-metadata.js +3 -3
- package/build/api/models/embed-url.d.ts +3 -3
- package/build/api/models/embed-url.js +3 -3
- package/build/api/models/embed.d.ts +3 -3
- package/build/api/models/embed.js +3 -3
- package/build/api/models/error-res.d.ts +3 -3
- package/build/api/models/error-res.js +3 -3
- package/build/api/models/farcaster-action-req-body-action.d.ts +3 -3
- package/build/api/models/farcaster-action-req-body-action.js +3 -3
- package/build/api/models/farcaster-action-req-body.d.ts +3 -3
- package/build/api/models/farcaster-action-req-body.js +3 -3
- package/build/api/models/farcaster-manifest-frame.d.ts +3 -3
- package/build/api/models/farcaster-manifest-frame.js +3 -3
- package/build/api/models/farcaster-manifest.d.ts +6 -6
- package/build/api/models/farcaster-manifest.js +3 -3
- package/build/api/models/feed-response.d.ts +6 -6
- package/build/api/models/feed-response.js +3 -3
- package/build/api/models/fetch-cast-quotes-identifier-parameter.d.ts +16 -0
- package/build/api/models/fetch-cast-quotes-identifier-parameter.js +15 -0
- package/build/api/models/fetch-cast-quotes200-response.d.ts +32 -0
- package/build/api/models/fetch-cast-quotes200-response.js +15 -0
- package/build/api/models/fetch-feed-for-you400-response.d.ts +3 -3
- package/build/api/models/fetch-feed-for-you400-response.js +3 -3
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.d.ts +3 -3
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +3 -3
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.d.ts +3 -3
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.js +3 -3
- package/build/api/models/fetch-relevant-frames200-response.d.ts +3 -3
- package/build/api/models/fetch-relevant-frames200-response.js +3 -3
- package/build/api/models/fetch-user-interactions200-response.d.ts +3 -3
- package/build/api/models/fetch-user-interactions200-response.js +3 -3
- package/build/api/models/fname-availability-response.d.ts +3 -3
- package/build/api/models/fname-availability-response.js +3 -3
- package/build/api/models/follow-req-body.d.ts +3 -3
- package/build/api/models/follow-req-body.js +3 -3
- package/build/api/models/follow-response.d.ts +3 -3
- package/build/api/models/follow-response.js +3 -3
- package/build/api/models/follower-dehydrated.d.ts +3 -3
- package/build/api/models/follower-dehydrated.js +3 -3
- package/build/api/models/follower.d.ts +3 -3
- package/build/api/models/follower.js +3 -3
- package/build/api/models/followers-response.d.ts +3 -3
- package/build/api/models/followers-response.js +3 -3
- package/build/api/models/frame-action-button.d.ts +3 -3
- package/build/api/models/frame-action-button.js +3 -3
- package/build/api/models/frame-action-req-body.d.ts +4 -4
- package/build/api/models/frame-action-req-body.js +3 -3
- package/build/api/models/frame-action.d.ts +3 -3
- package/build/api/models/frame-action.js +3 -3
- package/build/api/models/frame-button-action-type.d.ts +3 -3
- package/build/api/models/frame-button-action-type.js +3 -3
- package/build/api/models/frame-catalog-response.d.ts +3 -3
- package/build/api/models/frame-catalog-response.js +3 -3
- package/build/api/models/frame-developer-managed-action-req-body.d.ts +4 -4
- package/build/api/models/frame-developer-managed-action-req-body.js +3 -3
- package/build/api/models/frame-input.d.ts +3 -3
- package/build/api/models/frame-input.js +3 -3
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +3 -3
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +3 -3
- package/build/api/models/frame-notification-tokens.d.ts +3 -3
- package/build/api/models/frame-notification-tokens.js +3 -3
- package/build/api/models/{transaction-frame-pay-all-of-transaction.d.ts → frame-pay-transaction-req-body-transaction.d.ts} +6 -6
- package/build/api/models/frame-pay-transaction-req-body-transaction.js +15 -0
- package/build/api/models/{frame-pay-transaction-request-body.d.ts → frame-pay-transaction-req-body.d.ts} +11 -11
- package/build/api/models/frame-pay-transaction-req-body.js +15 -0
- package/build/api/models/frame-signature-packet-trusted-data.d.ts +3 -3
- package/build/api/models/frame-signature-packet-trusted-data.js +3 -3
- package/build/api/models/frame-signature-packet-untrusted-data.d.ts +3 -3
- package/build/api/models/frame-signature-packet-untrusted-data.js +3 -3
- package/build/api/models/frame-signature-packet.d.ts +3 -3
- package/build/api/models/frame-signature-packet.js +3 -3
- package/build/api/models/frame-state.d.ts +3 -3
- package/build/api/models/frame-state.js +3 -3
- package/build/api/models/frame-transaction.d.ts +3 -3
- package/build/api/models/frame-transaction.js +3 -3
- package/build/api/models/{frame-v1-all-of-input.d.ts → frame-v1-input.d.ts} +6 -6
- package/build/api/models/frame-v1-input.js +15 -0
- package/build/api/models/{frame-v1-all-of-state.d.ts → frame-v1-state.d.ts} +6 -6
- package/build/api/models/frame-v1-state.js +15 -0
- package/build/api/models/frame-v1.d.ts +63 -7
- package/build/api/models/frame-v1.js +3 -3
- package/build/api/models/{frame-v2-all-of-metadata.d.ts → frame-v2-metadata.d.ts} +6 -6
- package/build/api/models/frame-v2-metadata.js +15 -0
- package/build/api/models/frame-v2-with-full-author.d.ts +51 -7
- package/build/api/models/frame-v2-with-full-author.js +3 -3
- package/build/api/models/frame-v2.d.ts +51 -7
- package/build/api/models/frame-v2.js +3 -3
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.js +3 -3
- package/build/api/models/frame-validate-analytics-input-text.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-input-text.js +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.js +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast.js +3 -3
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.js +3 -3
- package/build/api/models/frame-validate-analytics-interactors.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactors.js +3 -3
- package/build/api/models/frame-validate-analytics-response.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-response.js +3 -3
- package/build/api/models/frame-validate-analytics-total-interactors.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-total-interactors.js +3 -3
- package/build/api/models/frame-validate-list-response.d.ts +3 -3
- package/build/api/models/frame-validate-list-response.js +3 -3
- package/build/api/models/frame.d.ts +3 -3
- package/build/api/models/frame.js +3 -3
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.d.ts +11 -11
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.js +3 -3
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.d.ts +8 -8
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.js +3 -3
- package/build/api/models/get-notification-campaign-stats200-response.d.ts +5 -5
- package/build/api/models/get-notification-campaign-stats200-response.js +3 -3
- package/build/api/models/{html-metadata-all-of-oembed.d.ts → html-metadata-oembed.d.ts} +5 -5
- package/build/api/models/html-metadata-oembed.js +15 -0
- package/build/api/models/html-metadata.d.ts +310 -7
- package/build/api/models/html-metadata.js +3 -3
- package/build/api/models/image-object.d.ts +3 -3
- package/build/api/models/image-object.js +3 -3
- package/build/api/models/index.d.ts +33 -59
- package/build/api/models/index.js +33 -59
- package/build/api/models/invite-channel-member-req-body.d.ts +3 -3
- package/build/api/models/invite-channel-member-req-body.js +3 -3
- package/build/api/models/location-address.d.ts +3 -3
- package/build/api/models/location-address.js +3 -3
- package/build/api/models/location.d.ts +9 -9
- package/build/api/models/location.js +3 -3
- package/build/api/models/mark-notifications-as-seen-req-body.d.ts +3 -3
- package/build/api/models/mark-notifications-as-seen-req-body.js +3 -3
- package/build/api/models/mint-nft-request-recipients-inner.d.ts +36 -0
- package/build/api/models/mint-nft-request-recipients-inner.js +15 -0
- package/build/api/models/mint-nft-request.d.ts +49 -0
- package/build/api/models/{transaction-send-fungibles-request.js → mint-nft-request.js} +5 -5
- package/build/api/models/mint-nft200-response-transactions-inner-receipt.d.ts +36 -0
- package/build/api/models/mint-nft200-response-transactions-inner-receipt.js +15 -0
- package/build/api/models/mint-nft200-response-transactions-inner-recipient.d.ts +36 -0
- package/build/api/models/mint-nft200-response-transactions-inner-recipient.js +15 -0
- package/build/api/models/mint-nft200-response-transactions-inner.d.ts +38 -0
- package/build/api/models/mint-nft200-response-transactions-inner.js +15 -0
- package/build/api/models/mint-nft200-response.d.ts +25 -0
- package/build/api/models/mint-nft200-response.js +15 -0
- package/build/api/models/mute-list-response.d.ts +3 -3
- package/build/api/models/mute-list-response.js +3 -3
- package/build/api/models/mute-record.d.ts +3 -3
- package/build/api/models/mute-record.js +3 -3
- package/build/api/models/mute-req-body.d.ts +3 -3
- package/build/api/models/mute-req-body.js +3 -3
- package/build/api/models/mute-response.d.ts +3 -3
- package/build/api/models/mute-response.js +3 -3
- package/build/api/models/network.d.ts +3 -3
- package/build/api/models/network.js +3 -3
- package/build/api/models/next-cursor.d.ts +3 -3
- package/build/api/models/next-cursor.js +3 -3
- package/build/api/models/neynar-frame-creation-req-body.d.ts +3 -3
- package/build/api/models/neynar-frame-creation-req-body.js +3 -3
- package/build/api/models/neynar-frame-page.d.ts +4 -4
- package/build/api/models/neynar-frame-page.js +3 -3
- package/build/api/models/neynar-frame-update-req-body.d.ts +3 -3
- package/build/api/models/neynar-frame-update-req-body.js +3 -3
- package/build/api/models/neynar-frame.d.ts +3 -3
- package/build/api/models/neynar-frame.js +3 -3
- package/build/api/models/neynar-next-frame-page-mint-url.d.ts +3 -3
- package/build/api/models/neynar-next-frame-page-mint-url.js +3 -3
- package/build/api/models/neynar-next-frame-page-redirect.d.ts +3 -3
- package/build/api/models/neynar-next-frame-page-redirect.js +3 -3
- package/build/api/models/neynar-next-frame-page.d.ts +3 -3
- package/build/api/models/neynar-next-frame-page.js +3 -3
- package/build/api/models/neynar-page-button-next-page.d.ts +3 -3
- package/build/api/models/neynar-page-button-next-page.js +3 -3
- package/build/api/models/neynar-page-button.d.ts +3 -3
- package/build/api/models/neynar-page-button.js +3 -3
- package/build/api/models/neynar-page-image.d.ts +3 -3
- package/build/api/models/neynar-page-image.js +3 -3
- package/build/api/models/neynar-page-input-text.d.ts +4 -4
- package/build/api/models/neynar-page-input-text.js +3 -3
- package/build/api/models/neynar-page-input.d.ts +3 -3
- package/build/api/models/neynar-page-input.js +3 -3
- package/build/api/models/nonce-response.d.ts +3 -3
- package/build/api/models/nonce-response.js +3 -3
- package/build/api/models/notification-delivery.d.ts +3 -3
- package/build/api/models/notification-delivery.js +3 -3
- package/build/api/models/notification-type.d.ts +4 -4
- package/build/api/models/notification-type.js +4 -4
- package/build/api/models/notification.d.ts +6 -6
- package/build/api/models/notification.js +3 -3
- package/build/api/models/notifications-response.d.ts +3 -3
- package/build/api/models/notifications-response.js +3 -3
- package/build/api/models/oembed-link-data.d.ts +77 -7
- package/build/api/models/oembed-link-data.js +7 -3
- package/build/api/models/oembed-photo-data.d.ts +95 -7
- package/build/api/models/oembed-photo-data.js +7 -3
- package/build/api/models/oembed-rich-data.d.ts +95 -7
- package/build/api/models/oembed-rich-data.js +7 -3
- package/build/api/models/oembed-video-data.d.ts +95 -7
- package/build/api/models/oembed-video-data.js +7 -3
- package/build/api/models/operation-response.d.ts +3 -3
- package/build/api/models/operation-response.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of1.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of1.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of2.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of2.js +3 -3
- package/build/api/models/post-cast-req-body-embeds.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds.js +3 -3
- package/build/api/models/post-cast-req-body.d.ts +3 -3
- package/build/api/models/post-cast-req-body.js +3 -3
- package/build/api/models/post-cast-response-cast-author.d.ts +3 -3
- package/build/api/models/post-cast-response-cast-author.js +3 -3
- package/build/api/models/post-cast-response-cast.d.ts +4 -4
- package/build/api/models/post-cast-response-cast.js +3 -3
- package/build/api/models/post-cast-response.d.ts +3 -3
- package/build/api/models/post-cast-response.js +3 -3
- package/build/api/models/reaction-for-cast.d.ts +6 -10
- package/build/api/models/reaction-for-cast.js +4 -8
- package/build/api/models/reaction-like.d.ts +3 -3
- package/build/api/models/reaction-like.js +3 -3
- package/build/api/models/reaction-recast.d.ts +3 -3
- package/build/api/models/reaction-recast.js +3 -3
- package/build/api/models/reaction-req-body.d.ts +3 -3
- package/build/api/models/reaction-req-body.js +3 -3
- package/build/api/models/reaction-type.d.ts +3 -3
- package/build/api/models/reaction-type.js +3 -3
- package/build/api/models/reaction-with-cast-info.d.ts +6 -6
- package/build/api/models/reaction-with-cast-info.js +3 -3
- package/build/api/models/reaction-with-user-info.d.ts +3 -3
- package/build/api/models/reaction-with-user-info.js +3 -3
- package/build/api/models/reactions-cast-response.d.ts +3 -3
- package/build/api/models/reactions-cast-response.js +3 -3
- package/build/api/models/reactions-response.d.ts +3 -3
- package/build/api/models/reactions-response.js +3 -3
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.d.ts +55 -0
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.js +15 -0
- package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +5 -5
- package/build/api/models/register-developer-managed-signed-key-req-body.js +3 -3
- package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.d.ts +48 -0
- package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.js +21 -0
- package/build/api/models/register-signer-key-req-body.d.ts +5 -5
- package/build/api/models/register-signer-key-req-body.js +3 -3
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.d.ts +14 -14
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.js +3 -3
- package/build/api/models/register-user-on-chain-req-body-registration.d.ts +3 -3
- package/build/api/models/register-user-on-chain-req-body-registration.js +3 -3
- package/build/api/models/register-user-on-chain-req-body-signers-inner.d.ts +3 -3
- package/build/api/models/register-user-on-chain-req-body-signers-inner.js +3 -3
- package/build/api/models/register-user-on-chain-req-body.d.ts +14 -14
- package/build/api/models/register-user-on-chain-req-body.js +3 -3
- package/build/api/models/register-user-on-chain-response.d.ts +3 -3
- package/build/api/models/register-user-on-chain-response.js +3 -3
- package/build/api/models/register-user-req-body-metadata.d.ts +3 -3
- package/build/api/models/register-user-req-body-metadata.js +3 -3
- package/build/api/models/register-user-req-body.d.ts +3 -3
- package/build/api/models/register-user-req-body.js +3 -3
- package/build/api/models/register-user-response.d.ts +3 -3
- package/build/api/models/register-user-response.js +3 -3
- package/build/api/models/relevant-followers-response.d.ts +3 -3
- package/build/api/models/relevant-followers-response.js +3 -3
- package/build/api/models/relevant-fungible-owners-response.d.ts +3 -3
- package/build/api/models/relevant-fungible-owners-response.js +3 -3
- package/build/api/models/remove-channel-member-req-body.d.ts +3 -3
- package/build/api/models/remove-channel-member-req-body.js +3 -3
- package/build/api/models/remove-verification-req-body.d.ts +9 -3
- package/build/api/models/remove-verification-req-body.js +3 -3
- package/build/api/models/respond-channel-invite-req-body.d.ts +3 -3
- package/build/api/models/respond-channel-invite-req-body.js +3 -3
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.d.ts +32 -6
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.js +3 -3
- package/build/api/models/send-frame-notifications-req-body-filters.d.ts +3 -3
- package/build/api/models/send-frame-notifications-req-body-filters.js +3 -3
- package/build/api/models/send-frame-notifications-req-body-notification.d.ts +3 -3
- package/build/api/models/send-frame-notifications-req-body-notification.js +3 -3
- package/build/api/models/send-frame-notifications-req-body.d.ts +7 -7
- package/build/api/models/send-frame-notifications-req-body.js +3 -3
- package/build/api/models/send-frame-notifications-response.d.ts +3 -3
- package/build/api/models/send-frame-notifications-response.js +3 -3
- package/build/api/models/shared-signer-permission.d.ts +3 -3
- package/build/api/models/shared-signer-permission.js +3 -3
- package/build/api/models/signed-key-request-sponsor.d.ts +4 -4
- package/build/api/models/signed-key-request-sponsor.js +3 -3
- package/build/api/models/signer-list-response.d.ts +3 -3
- package/build/api/models/signer-list-response.js +3 -3
- package/build/api/models/signer.d.ts +3 -3
- package/build/api/models/signer.js +3 -3
- package/build/api/models/simulate-nft-mint-response-inner.d.ts +73 -0
- package/build/api/models/simulate-nft-mint-response-inner.js +15 -0
- package/build/api/models/simulate-nft-mint-response.d.ts +19 -0
- package/build/api/models/simulate-nft-mint-response.js +15 -0
- package/build/api/models/storage-allocation.d.ts +3 -3
- package/build/api/models/storage-allocation.js +3 -3
- package/build/api/models/storage-allocations-response.d.ts +3 -3
- package/build/api/models/storage-allocations-response.js +3 -3
- package/build/api/models/storage-object.d.ts +3 -3
- package/build/api/models/storage-object.js +3 -3
- package/build/api/models/storage-usage-response.d.ts +3 -3
- package/build/api/models/storage-usage-response.js +3 -3
- package/build/api/models/subscribed-to-object.d.ts +3 -3
- package/build/api/models/subscribed-to-object.js +3 -3
- package/build/api/models/subscribed-to-response.d.ts +3 -3
- package/build/api/models/subscribed-to-response.js +3 -3
- package/build/api/models/subscribed-to.d.ts +100 -7
- package/build/api/models/subscribed-to.js +7 -3
- package/build/api/models/subscriber.d.ts +3 -3
- package/build/api/models/subscriber.js +3 -3
- package/build/api/models/subscribers-response.d.ts +3 -3
- package/build/api/models/subscribers-response.js +3 -3
- package/build/api/models/subscription-check-response-value.d.ts +53 -0
- package/build/api/models/{subscription-status.js → subscription-check-response-value.js} +5 -5
- package/build/api/models/subscription-check-response.d.ts +5 -5
- package/build/api/models/subscription-check-response.js +3 -3
- package/build/api/models/subscription-metadata.d.ts +3 -3
- package/build/api/models/subscription-metadata.js +3 -3
- package/build/api/models/subscription-price.d.ts +3 -3
- package/build/api/models/subscription-price.js +3 -3
- package/build/api/models/subscription-tier-price.d.ts +3 -3
- package/build/api/models/subscription-tier-price.js +3 -3
- package/build/api/models/subscription-tier.d.ts +3 -3
- package/build/api/models/subscription-tier.js +3 -3
- package/build/api/models/subscription-token.d.ts +3 -3
- package/build/api/models/subscription-token.js +3 -3
- package/build/api/models/subscription.d.ts +3 -3
- package/build/api/models/subscription.js +3 -3
- package/build/api/models/subscriptions-response.d.ts +3 -3
- package/build/api/models/subscriptions-response.js +3 -3
- package/build/api/models/subscriptions.d.ts +3 -3
- package/build/api/models/subscriptions.js +3 -3
- package/build/api/models/text-range.d.ts +3 -3
- package/build/api/models/text-range.js +3 -3
- package/build/api/models/token-balance-balance.d.ts +3 -3
- package/build/api/models/token-balance-balance.js +3 -3
- package/build/api/models/token-balance-token.d.ts +3 -3
- package/build/api/models/token-balance-token.js +3 -3
- package/build/api/models/token-balance.d.ts +3 -3
- package/build/api/models/token-balance.js +3 -3
- package/build/api/models/transaction-frame-action.d.ts +4 -4
- package/build/api/models/transaction-frame-action.js +3 -3
- package/build/api/models/transaction-frame-config.d.ts +4 -4
- package/build/api/models/transaction-frame-config.js +3 -3
- package/build/api/models/transaction-frame-destination.d.ts +3 -3
- package/build/api/models/transaction-frame-destination.js +3 -3
- package/build/api/models/transaction-frame-line-item.d.ts +3 -3
- package/build/api/models/transaction-frame-line-item.js +3 -3
- package/build/api/models/transaction-frame-pay.d.ts +47 -7
- package/build/api/models/transaction-frame-pay.js +3 -3
- package/build/api/models/transaction-frame-response.d.ts +3 -3
- package/build/api/models/transaction-frame-response.js +3 -3
- package/build/api/models/transaction-frame-status.d.ts +3 -3
- package/build/api/models/transaction-frame-status.js +3 -3
- package/build/api/models/transaction-frame-type.d.ts +3 -3
- package/build/api/models/transaction-frame-type.js +3 -3
- package/build/api/models/transaction-frame.d.ts +3 -3
- package/build/api/models/transaction-frame.js +3 -3
- package/build/api/models/transaction-send-fungibles-receipt.d.ts +3 -3
- package/build/api/models/transaction-send-fungibles-receipt.js +3 -3
- package/build/api/models/transaction-send-fungibles-recipient.d.ts +3 -3
- package/build/api/models/transaction-send-fungibles-recipient.js +3 -3
- package/build/api/models/{transaction-send-fungibles-request.d.ts → transaction-send-fungibles-req-body.d.ts} +11 -11
- package/build/api/models/transaction-send-fungibles-req-body.js +21 -0
- package/build/api/models/transaction-send-fungibles-response.d.ts +3 -3
- package/build/api/models/transaction-send-fungibles-response.js +3 -3
- package/build/api/models/transaction-send-tx-info.d.ts +3 -3
- package/build/api/models/transaction-send-tx-info.js +3 -3
- package/build/api/models/trending-channel-response.d.ts +3 -3
- package/build/api/models/trending-channel-response.js +3 -3
- package/build/api/models/update-user-req-body-location.d.ts +3 -3
- package/build/api/models/update-user-req-body-location.js +3 -3
- package/build/api/models/update-user-req-body-verified-accounts.d.ts +3 -3
- package/build/api/models/update-user-req-body-verified-accounts.js +3 -3
- package/build/api/models/update-user-req-body.d.ts +9 -3
- package/build/api/models/update-user-req-body.js +3 -3
- package/build/api/models/user-dehydrated.d.ts +3 -3
- package/build/api/models/user-dehydrated.js +3 -3
- package/build/api/models/user-experimental.d.ts +3 -3
- package/build/api/models/user-experimental.js +3 -3
- package/build/api/models/user-fidresponse.d.ts +4 -4
- package/build/api/models/user-fidresponse.js +3 -3
- package/build/api/models/user-power-lite-response-result.d.ts +3 -3
- package/build/api/models/user-power-lite-response-result.js +3 -3
- package/build/api/models/user-power-lite-response.d.ts +3 -3
- package/build/api/models/user-power-lite-response.js +3 -3
- package/build/api/models/user-pro.d.ts +41 -0
- package/build/api/models/user-pro.js +20 -0
- package/build/api/models/user-profile-banner.d.ts +24 -0
- package/build/api/models/user-profile-banner.js +15 -0
- package/build/api/models/user-profile-bio.d.ts +3 -3
- package/build/api/models/user-profile-bio.js +3 -3
- package/build/api/models/user-profile.d.ts +10 -3
- package/build/api/models/user-profile.js +3 -3
- package/build/api/models/user-response.d.ts +3 -3
- package/build/api/models/user-response.js +3 -3
- package/build/api/models/user-search-response-result.d.ts +6 -6
- package/build/api/models/user-search-response-result.js +3 -3
- package/build/api/models/user-search-response.d.ts +3 -3
- package/build/api/models/user-search-response.js +3 -3
- package/build/api/models/user-verified-accounts-inner.d.ts +4 -4
- package/build/api/models/user-verified-accounts-inner.js +3 -3
- package/build/api/models/user-verified-addresses-primary.d.ts +3 -3
- package/build/api/models/user-verified-addresses-primary.js +3 -3
- package/build/api/models/user-verified-addresses.d.ts +3 -3
- package/build/api/models/user-verified-addresses.js +3 -3
- package/build/api/models/user-viewer-context.d.ts +3 -3
- package/build/api/models/user-viewer-context.js +3 -3
- package/build/api/models/user.d.ts +17 -10
- package/build/api/models/user.js +3 -3
- package/build/api/models/users-active-channels-response.d.ts +3 -3
- package/build/api/models/users-active-channels-response.js +3 -3
- package/build/api/models/users-response.d.ts +3 -3
- package/build/api/models/users-response.js +3 -3
- package/build/api/models/validate-frame-action-req-body.d.ts +3 -3
- package/build/api/models/validate-frame-action-req-body.js +3 -3
- package/build/api/models/validate-frame-action-response.d.ts +3 -3
- package/build/api/models/validate-frame-action-response.js +3 -3
- package/build/api/models/validated-frame-action-signer.d.ts +3 -3
- package/build/api/models/validated-frame-action-signer.js +3 -3
- package/build/api/models/validated-frame-action-tapped-button.d.ts +3 -3
- package/build/api/models/validated-frame-action-tapped-button.js +3 -3
- package/build/api/models/validated-frame-action.d.ts +6 -6
- package/build/api/models/validated-frame-action.js +3 -3
- package/build/api/models/verification-chain-id.d.ts +3 -3
- package/build/api/models/verification-chain-id.js +3 -3
- package/build/api/models/verification-type.d.ts +3 -3
- package/build/api/models/verification-type.js +3 -3
- package/build/api/models/video-object.d.ts +3 -3
- package/build/api/models/video-object.js +3 -3
- package/build/api/models/webhook-delete-req-body.d.ts +3 -3
- package/build/api/models/webhook-delete-req-body.js +3 -3
- package/build/api/models/webhook-list-response.d.ts +3 -3
- package/build/api/models/webhook-list-response.js +3 -3
- package/build/api/models/webhook-patch-req-body.d.ts +3 -3
- package/build/api/models/webhook-patch-req-body.js +3 -3
- package/build/api/models/webhook-post-req-body.d.ts +3 -3
- package/build/api/models/webhook-post-req-body.js +3 -3
- package/build/api/models/webhook-put-req-body.d.ts +3 -3
- package/build/api/models/webhook-put-req-body.js +3 -3
- package/build/api/models/webhook-response.d.ts +3 -3
- package/build/api/models/webhook-response.js +3 -3
- package/build/api/models/webhook-secret.d.ts +3 -3
- package/build/api/models/webhook-secret.js +3 -3
- package/build/api/models/webhook-subscription-filters-cast.d.ts +9 -3
- package/build/api/models/webhook-subscription-filters-cast.js +3 -3
- package/build/api/models/webhook-subscription-filters-follow.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters-follow.js +3 -3
- package/build/api/models/webhook-subscription-filters-reaction.d.ts +9 -3
- package/build/api/models/webhook-subscription-filters-reaction.js +3 -3
- package/build/api/models/webhook-subscription-filters-user-updated.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters-user-updated.js +3 -3
- package/build/api/models/webhook-subscription-filters.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters.js +3 -3
- package/build/api/models/webhook-subscription.d.ts +3 -3
- package/build/api/models/webhook-subscription.js +3 -3
- package/build/api/models/webhook.d.ts +3 -3
- package/build/api/models/webhook.js +3 -3
- package/build/api/models/zod-error-errors-inner.d.ts +3 -3
- package/build/api/models/zod-error-errors-inner.js +3 -3
- package/build/api/models/zod-error.d.ts +3 -3
- package/build/api/models/zod-error.js +3 -3
- package/build/clients/NeynarAPIClient.d.ts +403 -246
- package/build/clients/NeynarAPIClient.js +374 -194
- package/build/hub-api/models/index.d.ts +2 -0
- package/build/hub-api/models/index.js +2 -0
- package/build/hub-api/models/storage-limits-response-tier-subscriptions-inner.d.ts +34 -0
- package/build/hub-api/models/storage-limits-response-tier-subscriptions-inner.js +19 -0
- package/build/hub-api/models/storage-limits-response-unit-details.d.ts +35 -0
- package/build/hub-api/models/storage-limits-response-unit-details.js +20 -0
- package/build/hub-api/models/storage-limits-response.d.ts +20 -0
- package/build/types/webhooks.d.ts +1 -12
- package/package.json +3 -3
- package/build/api/models/app-host-post-event-body-one-of.d.ts +0 -30
- package/build/api/models/app-host-post-event-body.d.ts +0 -19
- package/build/api/models/authorization-url-response-type.d.ts +0 -20
- package/build/api/models/authorization-url-response-type.js +0 -24
- package/build/api/models/bulk-user-address-type.d.ts +0 -21
- package/build/api/models/bulk-user-address-type.js +0 -25
- package/build/api/models/cast-composer-type.d.ts +0 -21
- package/build/api/models/cast-composer-type.js +0 -25
- package/build/api/models/cast-conversation-sort-type.d.ts +0 -22
- package/build/api/models/cast-conversation-sort-type.js +0 -26
- package/build/api/models/cast-param-type.d.ts +0 -21
- package/build/api/models/cast-param-type.js +0 -25
- package/build/api/models/cast-with-interactions-all-of.d.ts +0 -93
- package/build/api/models/cast-with-interactions-and-conversations-all-of.d.ts +0 -25
- package/build/api/models/cast-with-interactions-and-conversations-all-of.js +0 -15
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.d.ts +0 -24
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.js +0 -15
- package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +0 -19
- package/build/api/models/cast-with-interactions-and-conversations-ref.js +0 -15
- package/build/api/models/cast-with-interactions-and-conversations.d.ts +0 -18
- package/build/api/models/cast-with-interactions-and-conversations.js +0 -15
- package/build/api/models/cast-with-interactions-reactions.js +0 -15
- package/build/api/models/cast-with-interactions-replies.d.ts +0 -24
- package/build/api/models/cast-with-interactions-replies.js +0 -15
- package/build/api/models/cast-with-interactions.d.ts +0 -18
- package/build/api/models/cast-with-interactions.js +0 -15
- package/build/api/models/casts-search-response-result.d.ts +0 -32
- package/build/api/models/casts-search-response-result.js +0 -15
- package/build/api/models/channel-type.d.ts +0 -21
- package/build/api/models/channel-type.js +0 -25
- package/build/api/models/embed-type.d.ts +0 -37
- package/build/api/models/embed-type.js +0 -41
- package/build/api/models/farcaster-manifest-account-association.d.ts +0 -36
- package/build/api/models/farcaster-manifest-account-association.js +0 -15
- package/build/api/models/feed-trending-provider.d.ts +0 -22
- package/build/api/models/feed-trending-provider.js +0 -26
- package/build/api/models/feed-type.d.ts +0 -21
- package/build/api/models/feed-type.js +0 -25
- package/build/api/models/filter-type.d.ts +0 -25
- package/build/api/models/filter-type.js +0 -29
- package/build/api/models/follow-sort-type.d.ts +0 -21
- package/build/api/models/follow-sort-type.js +0 -25
- package/build/api/models/for-you-provider.d.ts +0 -22
- package/build/api/models/for-you-provider.js +0 -26
- package/build/api/models/frame-base.d.ts +0 -36
- package/build/api/models/frame-base.js +0 -15
- package/build/api/models/frame-pay-transaction-request-body.js +0 -15
- package/build/api/models/frame-type.d.ts +0 -21
- package/build/api/models/frame-type.js +0 -25
- package/build/api/models/frame-v1-all-of-input.js +0 -15
- package/build/api/models/frame-v1-all-of-state.js +0 -15
- package/build/api/models/frame-v1-all-of.d.ts +0 -57
- package/build/api/models/frame-v1-all-of.js +0 -15
- package/build/api/models/frame-v2-all-of-metadata.js +0 -15
- package/build/api/models/frame-v2-all-of.d.ts +0 -45
- package/build/api/models/frame-v2-all-of.js +0 -15
- package/build/api/models/frame-v2-with-full-author-all-of.d.ts +0 -45
- package/build/api/models/frame-v2-with-full-author-all-of.js +0 -15
- package/build/api/models/fungible-owner-relevant-network.d.ts +0 -24
- package/build/api/models/fungible-owner-relevant-network.js +0 -28
- package/build/api/models/html-metadata-all-of-oembed.js +0 -15
- package/build/api/models/html-metadata-all-of.d.ts +0 -25
- package/build/api/models/html-metadata-all-of.js +0 -15
- package/build/api/models/mini-app-time-window.d.ts +0 -24
- package/build/api/models/mini-app-time-window.js +0 -28
- package/build/api/models/oembed-data.d.ts +0 -84
- package/build/api/models/oembed-data.js +0 -15
- package/build/api/models/oembed-link-data-all-of.d.ts +0 -28
- package/build/api/models/oembed-link-data-all-of.js +0 -19
- package/build/api/models/oembed-photo-data-all-of.d.ts +0 -46
- package/build/api/models/oembed-photo-data-all-of.js +0 -19
- package/build/api/models/oembed-rich-data-all-of.d.ts +0 -46
- package/build/api/models/oembed-rich-data-all-of.js +0 -19
- package/build/api/models/oembed-video-data-all-of.d.ts +0 -46
- package/build/api/models/oembed-video-data-all-of.js +0 -19
- package/build/api/models/og-object.d.ts +0 -314
- package/build/api/models/og-object.js +0 -15
- package/build/api/models/profile-url-pfp.d.ts +0 -24
- package/build/api/models/profile-url-pfp.js +0 -15
- package/build/api/models/profile-url.d.ts +0 -25
- package/build/api/models/profile-url.js +0 -15
- package/build/api/models/reactions-type.d.ts +0 -22
- package/build/api/models/reactions-type.js +0 -26
- package/build/api/models/search-sort-type.d.ts +0 -21
- package/build/api/models/search-sort-type.js +0 -25
- package/build/api/models/searched-user.d.ts +0 -130
- package/build/api/models/searched-user.js +0 -19
- package/build/api/models/subscribed-to-all-of.d.ts +0 -44
- package/build/api/models/subscribed-to-all-of.js +0 -15
- package/build/api/models/subscription-provider.d.ts +0 -20
- package/build/api/models/subscription-provider.js +0 -24
- package/build/api/models/subscription-providers.d.ts +0 -21
- package/build/api/models/subscription-providers.js +0 -25
- package/build/api/models/subscription-status.d.ts +0 -53
- package/build/api/models/transaction-frame-base.d.ts +0 -51
- package/build/api/models/transaction-frame-base.js +0 -15
- package/build/api/models/transaction-frame-pay-all-of-transaction.js +0 -15
- package/build/api/models/transaction-frame-pay-all-of.d.ts +0 -25
- package/build/api/models/transaction-frame-pay-all-of.js +0 -15
- package/build/api/models/validate-frame-aggregate-window.d.ts +0 -30
- package/build/api/models/validate-frame-aggregate-window.js +0 -34
- package/build/api/models/validate-frame-analytics-type.d.ts +0 -23
- package/build/api/models/validate-frame-analytics-type.js +0 -27
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* The
|
|
5
|
+
* Neynar API
|
|
6
|
+
* The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.18.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.FetchTrendingFeedTimeWindowEnum = exports.FetchRepliesAndRecastsForUserFilterEnum = exports.FeedApi = exports.FeedApiFactory = exports.FeedApiFp = exports.FeedApiAxiosParamCreator = void 0;
|
|
19
|
+
exports.FetchTrendingFeedProviderEnum = exports.FetchTrendingFeedTimeWindowEnum = exports.FetchRepliesAndRecastsForUserFilterEnum = exports.FetchFeedForYouProviderEnum = exports.FetchFeedEmbedTypesEnum = exports.FetchFeedFilterTypeEnum = exports.FetchFeedFeedTypeEnum = exports.FeedApi = exports.FeedApiFactory = exports.FeedApiFp = exports.FeedApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -33,14 +33,14 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
33
33
|
* Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
|
|
34
34
|
* @summary Chronologically
|
|
35
35
|
* @param {number} fid FID of user whose recent casts you want to fetch
|
|
36
|
+
* @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.
|
|
36
37
|
* @param {number} [appFid] Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
|
|
37
38
|
* @param {number} [viewerFid] FID of the user viewing the feed
|
|
38
39
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 150)
|
|
39
40
|
* @param {string} [cursor] Pagination cursor
|
|
40
|
-
* @param {boolean} [includeReplies] Include reply casts by the author in the response, true by default
|
|
41
|
+
* @param {boolean | null} [includeReplies] Include reply casts by the author in the response, true by default
|
|
41
42
|
* @param {string} [parentUrl] Parent URL to filter the feed; mutually exclusive with channel_id
|
|
42
43
|
* @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.
|
|
44
44
|
* @param {*} [options] Override http request option.
|
|
45
45
|
* @throws {RequiredError}
|
|
46
46
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -48,10 +48,10 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
48
48
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
|
|
49
49
|
*
|
|
50
50
|
*/
|
|
51
|
-
fetchCastsForUser: async (fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId,
|
|
51
|
+
fetchCastsForUser: async (fid, xNeynarExperimental, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options = {}) => {
|
|
52
52
|
// verify required parameter 'fid' is not null or undefined
|
|
53
53
|
(0, common_1.assertParamExists)('fetchCastsForUser', 'fid', fid);
|
|
54
|
-
const localVarPath = `/farcaster/feed/user/casts
|
|
54
|
+
const localVarPath = `/v2/farcaster/feed/user/casts/`;
|
|
55
55
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56
56
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
57
57
|
let baseOptions;
|
|
@@ -103,20 +103,20 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
/**
|
|
104
104
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
105
105
|
* @summary By filters
|
|
106
|
-
* @param {
|
|
107
|
-
* @param {
|
|
106
|
+
* @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.
|
|
107
|
+
* @param {FetchFeedFeedTypeEnum} [feedType] Defaults to following (requires FID or address). If set to filter (requires filter_type)
|
|
108
|
+
* @param {FetchFeedFilterTypeEnum} [filterType] Used when feed_type=filter. Can be set to FIDs (requires FIDs) or parent_url (requires parent_url) or channel_id (requires channel_id)
|
|
108
109
|
* @param {number} [fid] (Optional) FID of user whose feed you want to create. By default, the API expects this field, except if you pass a filter_type
|
|
109
110
|
* @param {string} [fids] Used when filter_type=FIDs . Create a feed based on a list of FIDs. Max array size is 100. Requires feed_type and filter_type.
|
|
110
111
|
* @param {string} [parentUrl] Used when filter_type=parent_url can be used to fetch content under any parent url e.g. FIP-2 channels on Warpcast. Requires feed_type and filter_type.
|
|
111
112
|
* @param {string} [channelId] Used when filter_type=channel_id can be used to fetch casts under a channel. Requires feed_type and filter_type.
|
|
112
|
-
* @param {boolean} [membersOnly] Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
113
|
+
* @param {boolean | null} [membersOnly] Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
113
114
|
* @param {string} [embedUrl] Used when filter_type=embed_url. Casts with embedded URLs prefixed by this embed_url param will be returned. We normalize your given URL prefix and prepend \'https://\' if no protocol is included. Requires feed_type and filter_type.
|
|
114
|
-
* @param {Array<
|
|
115
|
-
* @param {boolean} [withRecasts] Include recasts in the response, true by default
|
|
115
|
+
* @param {Array<FetchFeedEmbedTypesEnum>} [embedTypes] Used when filter_type=embed_types can be used to fetch all casts with matching content types. Requires feed_type and filter_type.
|
|
116
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
116
117
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
117
118
|
* @param {string} [cursor] Pagination cursor.
|
|
118
119
|
* @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.
|
|
120
120
|
* @param {*} [options] Override http request option.
|
|
121
121
|
* @throws {RequiredError}
|
|
122
122
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -124,10 +124,8 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed)
|
|
125
125
|
*
|
|
126
126
|
*/
|
|
127
|
-
fetchFeed: async (feedType, filterType, fid, fids, parentUrl, channelId, membersOnly, embedUrl, embedTypes, withRecasts, limit, cursor, viewerFid,
|
|
128
|
-
|
|
129
|
-
(0, common_1.assertParamExists)('fetchFeed', 'feedType', feedType);
|
|
130
|
-
const localVarPath = `/farcaster/feed`;
|
|
127
|
+
fetchFeed: async (xNeynarExperimental, feedType, filterType, fid, fids, parentUrl, channelId, membersOnly, embedUrl, embedTypes, withRecasts, limit, cursor, viewerFid, options = {}) => {
|
|
128
|
+
const localVarPath = `/v2/farcaster/feed/`;
|
|
131
129
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
132
130
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
133
131
|
let baseOptions;
|
|
@@ -164,7 +162,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
164
162
|
localVarQueryParameter['embed_url'] = embedUrl;
|
|
165
163
|
}
|
|
166
164
|
if (embedTypes) {
|
|
167
|
-
localVarQueryParameter['embed_types'] = embedTypes
|
|
165
|
+
localVarQueryParameter['embed_types'] = embedTypes;
|
|
168
166
|
}
|
|
169
167
|
if (withRecasts !== undefined) {
|
|
170
168
|
localVarQueryParameter['with_recasts'] = withRecasts;
|
|
@@ -195,15 +193,15 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
195
193
|
* Fetch feed based on channel IDs
|
|
196
194
|
* @summary By channel IDs
|
|
197
195
|
* @param {string} channelIds Comma separated list of up to 10 channel IDs e.g. neynar,farcaster
|
|
198
|
-
* @param {boolean} [
|
|
196
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
197
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
199
198
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
200
|
-
* @param {boolean} [withReplies] Include replies in the response, false by default
|
|
201
|
-
* @param {boolean} [membersOnly] Only include casts from members of the channel. True by default.
|
|
199
|
+
* @param {boolean | null} [withReplies] Include replies in the response, false by default
|
|
200
|
+
* @param {boolean | null} [membersOnly] Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
202
201
|
* @param {string} [fids] Comma separated list of FIDs to filter the feed by, up to 10 at a time
|
|
203
202
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
204
203
|
* @param {string} [cursor] Pagination cursor.
|
|
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.
|
|
204
|
+
* @param {boolean | null} [shouldModerate] If true, only casts that have been liked by the moderator (if one exists) will be returned.
|
|
207
205
|
* @param {*} [options] Override http request option.
|
|
208
206
|
* @throws {RequiredError}
|
|
209
207
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -211,10 +209,10 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
211
209
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-channel-ids)
|
|
212
210
|
*
|
|
213
211
|
*/
|
|
214
|
-
fetchFeedByChannelIds: async (channelIds, withRecasts, viewerFid, withReplies, membersOnly, fids, limit, cursor, shouldModerate,
|
|
212
|
+
fetchFeedByChannelIds: async (channelIds, xNeynarExperimental, withRecasts, viewerFid, withReplies, membersOnly, fids, limit, cursor, shouldModerate, options = {}) => {
|
|
215
213
|
// verify required parameter 'channelIds' is not null or undefined
|
|
216
214
|
(0, common_1.assertParamExists)('fetchFeedByChannelIds', 'channelIds', channelIds);
|
|
217
|
-
const localVarPath = `/farcaster/feed/channels
|
|
215
|
+
const localVarPath = `/v2/farcaster/feed/channels/`;
|
|
218
216
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
219
217
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
220
218
|
let baseOptions;
|
|
@@ -270,12 +268,12 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
270
268
|
* Fetch feed based on parent URLs
|
|
271
269
|
* @summary By parent URLs
|
|
272
270
|
* @param {string} parentUrls Comma separated list of parent_urls
|
|
273
|
-
* @param {boolean} [
|
|
271
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
272
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
274
273
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
275
|
-
* @param {boolean} [withReplies] Include replies in the response, false by default
|
|
274
|
+
* @param {boolean | null} [withReplies] Include replies in the response, false by default
|
|
276
275
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
277
276
|
* @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.
|
|
279
277
|
* @param {*} [options] Override http request option.
|
|
280
278
|
* @throws {RequiredError}
|
|
281
279
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -283,10 +281,10 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
283
281
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-parent-urls)
|
|
284
282
|
*
|
|
285
283
|
*/
|
|
286
|
-
fetchFeedByParentUrls: async (parentUrls, withRecasts, viewerFid, withReplies, limit, cursor,
|
|
284
|
+
fetchFeedByParentUrls: async (parentUrls, xNeynarExperimental, withRecasts, viewerFid, withReplies, limit, cursor, options = {}) => {
|
|
287
285
|
// verify required parameter 'parentUrls' is not null or undefined
|
|
288
286
|
(0, common_1.assertParamExists)('fetchFeedByParentUrls', 'parentUrls', parentUrls);
|
|
289
|
-
const localVarPath = `/farcaster/feed/parent_urls
|
|
287
|
+
const localVarPath = `/v2/farcaster/feed/parent_urls/`;
|
|
290
288
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
291
289
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
292
290
|
let baseOptions;
|
|
@@ -333,12 +331,11 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
333
331
|
* Fetch a personalized For You feed for a user
|
|
334
332
|
* @summary For you
|
|
335
333
|
* @param {number} fid FID of user whose feed you want to create
|
|
334
|
+
* @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.
|
|
336
335
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
337
|
-
* @param {
|
|
336
|
+
* @param {FetchFeedForYouProviderEnum} [provider] The provider of the For You feed.
|
|
338
337
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 50)
|
|
339
338
|
* @param {string} [cursor] Pagination cursor.
|
|
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.
|
|
342
339
|
* @param {*} [options] Override http request option.
|
|
343
340
|
* @throws {RequiredError}
|
|
344
341
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -346,10 +343,10 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
346
343
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-for-you)
|
|
347
344
|
*
|
|
348
345
|
*/
|
|
349
|
-
fetchFeedForYou: async (fid, viewerFid, provider, limit, cursor,
|
|
346
|
+
fetchFeedForYou: async (fid, xNeynarExperimental, viewerFid, provider, limit, cursor, options = {}) => {
|
|
350
347
|
// verify required parameter 'fid' is not null or undefined
|
|
351
348
|
(0, common_1.assertParamExists)('fetchFeedForYou', 'fid', fid);
|
|
352
|
-
const localVarPath = `/farcaster/feed/for_you
|
|
349
|
+
const localVarPath = `/v2/farcaster/feed/for_you/`;
|
|
353
350
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
354
351
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
355
352
|
let baseOptions;
|
|
@@ -376,9 +373,6 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
376
373
|
if (cursor !== undefined) {
|
|
377
374
|
localVarQueryParameter['cursor'] = cursor;
|
|
378
375
|
}
|
|
379
|
-
if (providerMetadata !== undefined) {
|
|
380
|
-
localVarQueryParameter['provider_metadata'] = providerMetadata;
|
|
381
|
-
}
|
|
382
376
|
if (xNeynarExperimental != null) {
|
|
383
377
|
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
384
378
|
? xNeynarExperimental
|
|
@@ -395,10 +389,10 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
395
389
|
/**
|
|
396
390
|
* Fetch feed of casts with mini apps, reverse chronological order
|
|
397
391
|
* @summary Casts with mini apps
|
|
392
|
+
* @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.
|
|
398
393
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
399
394
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
400
395
|
* @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.
|
|
402
396
|
* @param {*} [options] Override http request option.
|
|
403
397
|
* @throws {RequiredError}
|
|
404
398
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -406,8 +400,8 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
406
400
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frames-only-feed)
|
|
407
401
|
*
|
|
408
402
|
*/
|
|
409
|
-
fetchFramesOnlyFeed: async (limit, viewerFid, cursor,
|
|
410
|
-
const localVarPath = `/farcaster/feed/frames
|
|
403
|
+
fetchFramesOnlyFeed: async (xNeynarExperimental, limit, viewerFid, cursor, options = {}) => {
|
|
404
|
+
const localVarPath = `/v2/farcaster/feed/frames/`;
|
|
411
405
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
412
406
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
413
407
|
let baseOptions;
|
|
@@ -456,7 +450,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
456
450
|
fetchPopularCastsByUser: async (fid, viewerFid, options = {}) => {
|
|
457
451
|
// verify required parameter 'fid' is not null or undefined
|
|
458
452
|
(0, common_1.assertParamExists)('fetchPopularCastsByUser', 'fid', fid);
|
|
459
|
-
const localVarPath = `/farcaster/feed/user/popular
|
|
453
|
+
const localVarPath = `/v2/farcaster/feed/user/popular/`;
|
|
460
454
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
461
455
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
462
456
|
let baseOptions;
|
|
@@ -486,7 +480,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
486
480
|
* Fetch recent replies and recasts for a given user FID; sorted by most recent first
|
|
487
481
|
* @summary Replies and recasts
|
|
488
482
|
* @param {number} fid FID of user whose replies and recasts you want to fetch
|
|
489
|
-
* @param {FetchRepliesAndRecastsForUserFilterEnum} [filter]
|
|
483
|
+
* @param {FetchRepliesAndRecastsForUserFilterEnum} [filter] Filter to fetch only replies or recasts
|
|
490
484
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 50)
|
|
491
485
|
* @param {string} [cursor] Pagination cursor.
|
|
492
486
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
@@ -500,7 +494,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
500
494
|
fetchRepliesAndRecastsForUser: async (fid, filter, limit, cursor, viewerFid, options = {}) => {
|
|
501
495
|
// verify required parameter 'fid' is not null or undefined
|
|
502
496
|
(0, common_1.assertParamExists)('fetchRepliesAndRecastsForUser', 'fid', fid);
|
|
503
|
-
const localVarPath = `/farcaster/feed/user/replies_and_recasts
|
|
497
|
+
const localVarPath = `/v2/farcaster/feed/user/replies_and_recasts/`;
|
|
504
498
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
505
499
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
506
500
|
let baseOptions;
|
|
@@ -538,15 +532,15 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
538
532
|
/**
|
|
539
533
|
* Fetch trending casts or on the global feed or channels feeds. 7d time window available for channel feeds only.
|
|
540
534
|
* @summary Trending feeds
|
|
535
|
+
* @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.
|
|
541
536
|
* @param {number} [limit] Number of results to fetch (Default: 10, Maximum: 10)
|
|
542
537
|
* @param {string} [cursor] Pagination cursor
|
|
543
538
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
544
539
|
* @param {FetchTrendingFeedTimeWindowEnum} [timeWindow] Time window for trending casts (7d window for channel feeds only)
|
|
545
540
|
* @param {string} [channelId] Channel ID to filter trending casts. Less active channels might have no casts in the time window selected. Provide either `channel_id` or `parent_url`, not both.
|
|
546
541
|
* @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.
|
|
547
|
-
* @param {
|
|
542
|
+
* @param {FetchTrendingFeedProviderEnum} [provider] The provider of the trending casts feed.
|
|
548
543
|
* @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.
|
|
550
544
|
* @param {*} [options] Override http request option.
|
|
551
545
|
* @throws {RequiredError}
|
|
552
546
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -554,8 +548,8 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
554
548
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-trending-feed)
|
|
555
549
|
*
|
|
556
550
|
*/
|
|
557
|
-
fetchTrendingFeed: async (limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata,
|
|
558
|
-
const localVarPath = `/farcaster/feed/trending
|
|
551
|
+
fetchTrendingFeed: async (xNeynarExperimental, limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata, options = {}) => {
|
|
552
|
+
const localVarPath = `/v2/farcaster/feed/trending/`;
|
|
559
553
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
560
554
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
561
555
|
let baseOptions;
|
|
@@ -608,11 +602,11 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
608
602
|
* Fetch feed based on who a user is following
|
|
609
603
|
* @summary Following
|
|
610
604
|
* @param {number} fid FID of user whose feed you want to create
|
|
605
|
+
* @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.
|
|
611
606
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
612
|
-
* @param {boolean} [withRecasts] Include recasts in the response, true by default
|
|
607
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
613
608
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
614
609
|
* @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.
|
|
616
610
|
* @param {*} [options] Override http request option.
|
|
617
611
|
* @throws {RequiredError}
|
|
618
612
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -620,10 +614,10 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
620
614
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-following-feed)
|
|
621
615
|
*
|
|
622
616
|
*/
|
|
623
|
-
fetchUserFollowingFeed: async (fid, viewerFid, withRecasts, limit, cursor,
|
|
617
|
+
fetchUserFollowingFeed: async (fid, xNeynarExperimental, viewerFid, withRecasts, limit, cursor, options = {}) => {
|
|
624
618
|
// verify required parameter 'fid' is not null or undefined
|
|
625
619
|
(0, common_1.assertParamExists)('fetchUserFollowingFeed', 'fid', fid);
|
|
626
|
-
const localVarPath = `/farcaster/feed/following
|
|
620
|
+
const localVarPath = `/v2/farcaster/feed/following/`;
|
|
627
621
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
628
622
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
629
623
|
let baseOptions;
|
|
@@ -677,14 +671,14 @@ const FeedApiFp = function (configuration) {
|
|
|
677
671
|
* Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
|
|
678
672
|
* @summary Chronologically
|
|
679
673
|
* @param {number} fid FID of user whose recent casts you want to fetch
|
|
674
|
+
* @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.
|
|
680
675
|
* @param {number} [appFid] Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
|
|
681
676
|
* @param {number} [viewerFid] FID of the user viewing the feed
|
|
682
677
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 150)
|
|
683
678
|
* @param {string} [cursor] Pagination cursor
|
|
684
|
-
* @param {boolean} [includeReplies] Include reply casts by the author in the response, true by default
|
|
679
|
+
* @param {boolean | null} [includeReplies] Include reply casts by the author in the response, true by default
|
|
685
680
|
* @param {string} [parentUrl] Parent URL to filter the feed; mutually exclusive with channel_id
|
|
686
681
|
* @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.
|
|
688
682
|
* @param {*} [options] Override http request option.
|
|
689
683
|
* @throws {RequiredError}
|
|
690
684
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -692,9 +686,9 @@ const FeedApiFp = function (configuration) {
|
|
|
692
686
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
|
|
693
687
|
*
|
|
694
688
|
*/
|
|
695
|
-
async fetchCastsForUser(fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId,
|
|
689
|
+
async fetchCastsForUser(fid, xNeynarExperimental, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options) {
|
|
696
690
|
var _a, _b, _c;
|
|
697
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchCastsForUser(fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId,
|
|
691
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchCastsForUser(fid, xNeynarExperimental, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options);
|
|
698
692
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
699
693
|
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;
|
|
700
694
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -702,20 +696,20 @@ const FeedApiFp = function (configuration) {
|
|
|
702
696
|
/**
|
|
703
697
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
704
698
|
* @summary By filters
|
|
705
|
-
* @param {
|
|
706
|
-
* @param {
|
|
699
|
+
* @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.
|
|
700
|
+
* @param {FetchFeedFeedTypeEnum} [feedType] Defaults to following (requires FID or address). If set to filter (requires filter_type)
|
|
701
|
+
* @param {FetchFeedFilterTypeEnum} [filterType] Used when feed_type=filter. Can be set to FIDs (requires FIDs) or parent_url (requires parent_url) or channel_id (requires channel_id)
|
|
707
702
|
* @param {number} [fid] (Optional) FID of user whose feed you want to create. By default, the API expects this field, except if you pass a filter_type
|
|
708
703
|
* @param {string} [fids] Used when filter_type=FIDs . Create a feed based on a list of FIDs. Max array size is 100. Requires feed_type and filter_type.
|
|
709
704
|
* @param {string} [parentUrl] Used when filter_type=parent_url can be used to fetch content under any parent url e.g. FIP-2 channels on Warpcast. Requires feed_type and filter_type.
|
|
710
705
|
* @param {string} [channelId] Used when filter_type=channel_id can be used to fetch casts under a channel. Requires feed_type and filter_type.
|
|
711
|
-
* @param {boolean} [membersOnly] Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
706
|
+
* @param {boolean | null} [membersOnly] Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
712
707
|
* @param {string} [embedUrl] Used when filter_type=embed_url. Casts with embedded URLs prefixed by this embed_url param will be returned. We normalize your given URL prefix and prepend \'https://\' if no protocol is included. Requires feed_type and filter_type.
|
|
713
|
-
* @param {Array<
|
|
714
|
-
* @param {boolean} [withRecasts] Include recasts in the response, true by default
|
|
708
|
+
* @param {Array<FetchFeedEmbedTypesEnum>} [embedTypes] Used when filter_type=embed_types can be used to fetch all casts with matching content types. Requires feed_type and filter_type.
|
|
709
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
715
710
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
716
711
|
* @param {string} [cursor] Pagination cursor.
|
|
717
712
|
* @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.
|
|
719
713
|
* @param {*} [options] Override http request option.
|
|
720
714
|
* @throws {RequiredError}
|
|
721
715
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -723,9 +717,9 @@ const FeedApiFp = function (configuration) {
|
|
|
723
717
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed)
|
|
724
718
|
*
|
|
725
719
|
*/
|
|
726
|
-
async fetchFeed(feedType, filterType, fid, fids, parentUrl, channelId, membersOnly, embedUrl, embedTypes, withRecasts, limit, cursor, viewerFid,
|
|
720
|
+
async fetchFeed(xNeynarExperimental, feedType, filterType, fid, fids, parentUrl, channelId, membersOnly, embedUrl, embedTypes, withRecasts, limit, cursor, viewerFid, options) {
|
|
727
721
|
var _a, _b, _c;
|
|
728
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeed(feedType, filterType, fid, fids, parentUrl, channelId, membersOnly, embedUrl, embedTypes, withRecasts, limit, cursor, viewerFid,
|
|
722
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeed(xNeynarExperimental, feedType, filterType, fid, fids, parentUrl, channelId, membersOnly, embedUrl, embedTypes, withRecasts, limit, cursor, viewerFid, options);
|
|
729
723
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
730
724
|
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;
|
|
731
725
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -734,15 +728,15 @@ const FeedApiFp = function (configuration) {
|
|
|
734
728
|
* Fetch feed based on channel IDs
|
|
735
729
|
* @summary By channel IDs
|
|
736
730
|
* @param {string} channelIds Comma separated list of up to 10 channel IDs e.g. neynar,farcaster
|
|
737
|
-
* @param {boolean} [
|
|
731
|
+
* @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.
|
|
732
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
738
733
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
739
|
-
* @param {boolean} [withReplies] Include replies in the response, false by default
|
|
740
|
-
* @param {boolean} [membersOnly] Only include casts from members of the channel. True by default.
|
|
734
|
+
* @param {boolean | null} [withReplies] Include replies in the response, false by default
|
|
735
|
+
* @param {boolean | null} [membersOnly] Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
741
736
|
* @param {string} [fids] Comma separated list of FIDs to filter the feed by, up to 10 at a time
|
|
742
737
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
743
738
|
* @param {string} [cursor] Pagination cursor.
|
|
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.
|
|
739
|
+
* @param {boolean | null} [shouldModerate] If true, only casts that have been liked by the moderator (if one exists) will be returned.
|
|
746
740
|
* @param {*} [options] Override http request option.
|
|
747
741
|
* @throws {RequiredError}
|
|
748
742
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -750,9 +744,9 @@ const FeedApiFp = function (configuration) {
|
|
|
750
744
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-channel-ids)
|
|
751
745
|
*
|
|
752
746
|
*/
|
|
753
|
-
async fetchFeedByChannelIds(channelIds, withRecasts, viewerFid, withReplies, membersOnly, fids, limit, cursor, shouldModerate,
|
|
747
|
+
async fetchFeedByChannelIds(channelIds, xNeynarExperimental, withRecasts, viewerFid, withReplies, membersOnly, fids, limit, cursor, shouldModerate, options) {
|
|
754
748
|
var _a, _b, _c;
|
|
755
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeedByChannelIds(channelIds, withRecasts, viewerFid, withReplies, membersOnly, fids, limit, cursor, shouldModerate,
|
|
749
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeedByChannelIds(channelIds, xNeynarExperimental, withRecasts, viewerFid, withReplies, membersOnly, fids, limit, cursor, shouldModerate, options);
|
|
756
750
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
757
751
|
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;
|
|
758
752
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -761,12 +755,12 @@ const FeedApiFp = function (configuration) {
|
|
|
761
755
|
* Fetch feed based on parent URLs
|
|
762
756
|
* @summary By parent URLs
|
|
763
757
|
* @param {string} parentUrls Comma separated list of parent_urls
|
|
764
|
-
* @param {boolean} [
|
|
758
|
+
* @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.
|
|
759
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
765
760
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
766
|
-
* @param {boolean} [withReplies] Include replies in the response, false by default
|
|
761
|
+
* @param {boolean | null} [withReplies] Include replies in the response, false by default
|
|
767
762
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
768
763
|
* @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.
|
|
770
764
|
* @param {*} [options] Override http request option.
|
|
771
765
|
* @throws {RequiredError}
|
|
772
766
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -774,9 +768,9 @@ const FeedApiFp = function (configuration) {
|
|
|
774
768
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-by-parent-urls)
|
|
775
769
|
*
|
|
776
770
|
*/
|
|
777
|
-
async fetchFeedByParentUrls(parentUrls, withRecasts, viewerFid, withReplies, limit, cursor,
|
|
771
|
+
async fetchFeedByParentUrls(parentUrls, xNeynarExperimental, withRecasts, viewerFid, withReplies, limit, cursor, options) {
|
|
778
772
|
var _a, _b, _c;
|
|
779
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeedByParentUrls(parentUrls, withRecasts, viewerFid, withReplies, limit, cursor,
|
|
773
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeedByParentUrls(parentUrls, xNeynarExperimental, withRecasts, viewerFid, withReplies, limit, cursor, options);
|
|
780
774
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
781
775
|
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;
|
|
782
776
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -785,12 +779,11 @@ const FeedApiFp = function (configuration) {
|
|
|
785
779
|
* Fetch a personalized For You feed for a user
|
|
786
780
|
* @summary For you
|
|
787
781
|
* @param {number} fid FID of user whose feed you want to create
|
|
782
|
+
* @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.
|
|
788
783
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
789
|
-
* @param {
|
|
784
|
+
* @param {FetchFeedForYouProviderEnum} [provider] The provider of the For You feed.
|
|
790
785
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 50)
|
|
791
786
|
* @param {string} [cursor] Pagination cursor.
|
|
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.
|
|
794
787
|
* @param {*} [options] Override http request option.
|
|
795
788
|
* @throws {RequiredError}
|
|
796
789
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -798,9 +791,9 @@ const FeedApiFp = function (configuration) {
|
|
|
798
791
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed-for-you)
|
|
799
792
|
*
|
|
800
793
|
*/
|
|
801
|
-
async fetchFeedForYou(fid, viewerFid, provider, limit, cursor,
|
|
794
|
+
async fetchFeedForYou(fid, xNeynarExperimental, viewerFid, provider, limit, cursor, options) {
|
|
802
795
|
var _a, _b, _c;
|
|
803
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeedForYou(fid, viewerFid, provider, limit, cursor,
|
|
796
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFeedForYou(fid, xNeynarExperimental, viewerFid, provider, limit, cursor, options);
|
|
804
797
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
805
798
|
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;
|
|
806
799
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -808,10 +801,10 @@ const FeedApiFp = function (configuration) {
|
|
|
808
801
|
/**
|
|
809
802
|
* Fetch feed of casts with mini apps, reverse chronological order
|
|
810
803
|
* @summary Casts with mini apps
|
|
804
|
+
* @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.
|
|
811
805
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
812
806
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
813
807
|
* @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.
|
|
815
808
|
* @param {*} [options] Override http request option.
|
|
816
809
|
* @throws {RequiredError}
|
|
817
810
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -819,9 +812,9 @@ const FeedApiFp = function (configuration) {
|
|
|
819
812
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frames-only-feed)
|
|
820
813
|
*
|
|
821
814
|
*/
|
|
822
|
-
async fetchFramesOnlyFeed(limit, viewerFid, cursor,
|
|
815
|
+
async fetchFramesOnlyFeed(xNeynarExperimental, limit, viewerFid, cursor, options) {
|
|
823
816
|
var _a, _b, _c;
|
|
824
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFramesOnlyFeed(limit, viewerFid, cursor,
|
|
817
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFramesOnlyFeed(xNeynarExperimental, limit, viewerFid, cursor, options);
|
|
825
818
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
826
819
|
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;
|
|
827
820
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -849,7 +842,7 @@ const FeedApiFp = function (configuration) {
|
|
|
849
842
|
* Fetch recent replies and recasts for a given user FID; sorted by most recent first
|
|
850
843
|
* @summary Replies and recasts
|
|
851
844
|
* @param {number} fid FID of user whose replies and recasts you want to fetch
|
|
852
|
-
* @param {FetchRepliesAndRecastsForUserFilterEnum} [filter]
|
|
845
|
+
* @param {FetchRepliesAndRecastsForUserFilterEnum} [filter] Filter to fetch only replies or recasts
|
|
853
846
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 50)
|
|
854
847
|
* @param {string} [cursor] Pagination cursor.
|
|
855
848
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
@@ -870,15 +863,15 @@ const FeedApiFp = function (configuration) {
|
|
|
870
863
|
/**
|
|
871
864
|
* Fetch trending casts or on the global feed or channels feeds. 7d time window available for channel feeds only.
|
|
872
865
|
* @summary Trending feeds
|
|
866
|
+
* @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.
|
|
873
867
|
* @param {number} [limit] Number of results to fetch (Default: 10, Maximum: 10)
|
|
874
868
|
* @param {string} [cursor] Pagination cursor
|
|
875
869
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
876
870
|
* @param {FetchTrendingFeedTimeWindowEnum} [timeWindow] Time window for trending casts (7d window for channel feeds only)
|
|
877
871
|
* @param {string} [channelId] Channel ID to filter trending casts. Less active channels might have no casts in the time window selected. Provide either `channel_id` or `parent_url`, not both.
|
|
878
872
|
* @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.
|
|
879
|
-
* @param {
|
|
873
|
+
* @param {FetchTrendingFeedProviderEnum} [provider] The provider of the trending casts feed.
|
|
880
874
|
* @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.
|
|
882
875
|
* @param {*} [options] Override http request option.
|
|
883
876
|
* @throws {RequiredError}
|
|
884
877
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -886,9 +879,9 @@ const FeedApiFp = function (configuration) {
|
|
|
886
879
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-trending-feed)
|
|
887
880
|
*
|
|
888
881
|
*/
|
|
889
|
-
async fetchTrendingFeed(limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata,
|
|
882
|
+
async fetchTrendingFeed(xNeynarExperimental, limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata, options) {
|
|
890
883
|
var _a, _b, _c;
|
|
891
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchTrendingFeed(limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata,
|
|
884
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchTrendingFeed(xNeynarExperimental, limit, cursor, viewerFid, timeWindow, channelId, parentUrl, provider, providerMetadata, options);
|
|
892
885
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
893
886
|
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;
|
|
894
887
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -897,11 +890,11 @@ const FeedApiFp = function (configuration) {
|
|
|
897
890
|
* Fetch feed based on who a user is following
|
|
898
891
|
* @summary Following
|
|
899
892
|
* @param {number} fid FID of user whose feed you want to create
|
|
893
|
+
* @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.
|
|
900
894
|
* @param {number} [viewerFid] Providing this will return a feed that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
901
|
-
* @param {boolean} [withRecasts] Include recasts in the response, true by default
|
|
895
|
+
* @param {boolean | null} [withRecasts] Include recasts in the response, true by default
|
|
902
896
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
903
897
|
* @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.
|
|
905
898
|
* @param {*} [options] Override http request option.
|
|
906
899
|
* @throws {RequiredError}
|
|
907
900
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object
|
|
@@ -909,9 +902,9 @@ const FeedApiFp = function (configuration) {
|
|
|
909
902
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-following-feed)
|
|
910
903
|
*
|
|
911
904
|
*/
|
|
912
|
-
async fetchUserFollowingFeed(fid, viewerFid, withRecasts, limit, cursor,
|
|
905
|
+
async fetchUserFollowingFeed(fid, xNeynarExperimental, viewerFid, withRecasts, limit, cursor, options) {
|
|
913
906
|
var _a, _b, _c;
|
|
914
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUserFollowingFeed(fid, viewerFid, withRecasts, limit, cursor,
|
|
907
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUserFollowingFeed(fid, xNeynarExperimental, viewerFid, withRecasts, limit, cursor, options);
|
|
915
908
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
916
909
|
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;
|
|
917
910
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -938,7 +931,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
938
931
|
*
|
|
939
932
|
*/
|
|
940
933
|
fetchCastsForUser(requestParameters, options) {
|
|
941
|
-
return localVarFp.fetchCastsForUser(requestParameters.fid, requestParameters.appFid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId,
|
|
934
|
+
return localVarFp.fetchCastsForUser(requestParameters.fid, requestParameters.xNeynarExperimental, requestParameters.appFid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, options).then((request) => request(axios, basePath));
|
|
942
935
|
},
|
|
943
936
|
/**
|
|
944
937
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
@@ -951,8 +944,8 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
951
944
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed)
|
|
952
945
|
*
|
|
953
946
|
*/
|
|
954
|
-
fetchFeed(requestParameters, options) {
|
|
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,
|
|
947
|
+
fetchFeed(requestParameters = {}, options) {
|
|
948
|
+
return localVarFp.fetchFeed(requestParameters.xNeynarExperimental, 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));
|
|
956
949
|
},
|
|
957
950
|
/**
|
|
958
951
|
* Fetch feed based on channel IDs
|
|
@@ -966,7 +959,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
966
959
|
*
|
|
967
960
|
*/
|
|
968
961
|
fetchFeedByChannelIds(requestParameters, options) {
|
|
969
|
-
return localVarFp.fetchFeedByChannelIds(requestParameters.channelIds, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.membersOnly, requestParameters.fids, requestParameters.limit, requestParameters.cursor, requestParameters.shouldModerate,
|
|
962
|
+
return localVarFp.fetchFeedByChannelIds(requestParameters.channelIds, requestParameters.xNeynarExperimental, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.membersOnly, requestParameters.fids, requestParameters.limit, requestParameters.cursor, requestParameters.shouldModerate, options).then((request) => request(axios, basePath));
|
|
970
963
|
},
|
|
971
964
|
/**
|
|
972
965
|
* Fetch feed based on parent URLs
|
|
@@ -980,7 +973,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
980
973
|
*
|
|
981
974
|
*/
|
|
982
975
|
fetchFeedByParentUrls(requestParameters, options) {
|
|
983
|
-
return localVarFp.fetchFeedByParentUrls(requestParameters.parentUrls, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.limit, requestParameters.cursor,
|
|
976
|
+
return localVarFp.fetchFeedByParentUrls(requestParameters.parentUrls, requestParameters.xNeynarExperimental, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
984
977
|
},
|
|
985
978
|
/**
|
|
986
979
|
* Fetch a personalized For You feed for a user
|
|
@@ -994,7 +987,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
994
987
|
*
|
|
995
988
|
*/
|
|
996
989
|
fetchFeedForYou(requestParameters, options) {
|
|
997
|
-
return localVarFp.fetchFeedForYou(requestParameters.fid, requestParameters.viewerFid, requestParameters.provider, requestParameters.limit, requestParameters.cursor,
|
|
990
|
+
return localVarFp.fetchFeedForYou(requestParameters.fid, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.provider, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
998
991
|
},
|
|
999
992
|
/**
|
|
1000
993
|
* Fetch feed of casts with mini apps, reverse chronological order
|
|
@@ -1008,7 +1001,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
1008
1001
|
*
|
|
1009
1002
|
*/
|
|
1010
1003
|
fetchFramesOnlyFeed(requestParameters = {}, options) {
|
|
1011
|
-
return localVarFp.fetchFramesOnlyFeed(requestParameters.
|
|
1004
|
+
return localVarFp.fetchFramesOnlyFeed(requestParameters.xNeynarExperimental, requestParameters.limit, requestParameters.viewerFid, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
1012
1005
|
},
|
|
1013
1006
|
/**
|
|
1014
1007
|
* Fetch 10 most popular casts for a given user FID; popularity based on replies, likes and recasts; sorted by most popular first
|
|
@@ -1050,7 +1043,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
1050
1043
|
*
|
|
1051
1044
|
*/
|
|
1052
1045
|
fetchTrendingFeed(requestParameters = {}, options) {
|
|
1053
|
-
return localVarFp.fetchTrendingFeed(requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, requestParameters.timeWindow, requestParameters.channelId, requestParameters.parentUrl, requestParameters.provider, requestParameters.providerMetadata,
|
|
1046
|
+
return localVarFp.fetchTrendingFeed(requestParameters.xNeynarExperimental, requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, requestParameters.timeWindow, requestParameters.channelId, requestParameters.parentUrl, requestParameters.provider, requestParameters.providerMetadata, options).then((request) => request(axios, basePath));
|
|
1054
1047
|
},
|
|
1055
1048
|
/**
|
|
1056
1049
|
* Fetch feed based on who a user is following
|
|
@@ -1064,7 +1057,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
1064
1057
|
*
|
|
1065
1058
|
*/
|
|
1066
1059
|
fetchUserFollowingFeed(requestParameters, options) {
|
|
1067
|
-
return localVarFp.fetchUserFollowingFeed(requestParameters.fid, requestParameters.viewerFid, requestParameters.withRecasts, requestParameters.limit, requestParameters.cursor,
|
|
1060
|
+
return localVarFp.fetchUserFollowingFeed(requestParameters.fid, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.withRecasts, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
1068
1061
|
},
|
|
1069
1062
|
};
|
|
1070
1063
|
};
|
|
@@ -1089,7 +1082,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1089
1082
|
*
|
|
1090
1083
|
*/
|
|
1091
1084
|
fetchCastsForUser(requestParameters, options) {
|
|
1092
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchCastsForUser(requestParameters.fid, requestParameters.appFid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId,
|
|
1085
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchCastsForUser(requestParameters.fid, requestParameters.xNeynarExperimental, requestParameters.appFid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, options).then((request) => request(this.axios, this.basePath));
|
|
1093
1086
|
}
|
|
1094
1087
|
/**
|
|
1095
1088
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
@@ -1103,8 +1096,8 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1103
1096
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-feed)
|
|
1104
1097
|
*
|
|
1105
1098
|
*/
|
|
1106
|
-
fetchFeed(requestParameters, options) {
|
|
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,
|
|
1099
|
+
fetchFeed(requestParameters = {}, options) {
|
|
1100
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchFeed(requestParameters.xNeynarExperimental, 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));
|
|
1108
1101
|
}
|
|
1109
1102
|
/**
|
|
1110
1103
|
* Fetch feed based on channel IDs
|
|
@@ -1119,7 +1112,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1119
1112
|
*
|
|
1120
1113
|
*/
|
|
1121
1114
|
fetchFeedByChannelIds(requestParameters, options) {
|
|
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,
|
|
1115
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchFeedByChannelIds(requestParameters.channelIds, requestParameters.xNeynarExperimental, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.membersOnly, requestParameters.fids, requestParameters.limit, requestParameters.cursor, requestParameters.shouldModerate, options).then((request) => request(this.axios, this.basePath));
|
|
1123
1116
|
}
|
|
1124
1117
|
/**
|
|
1125
1118
|
* Fetch feed based on parent URLs
|
|
@@ -1134,7 +1127,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1134
1127
|
*
|
|
1135
1128
|
*/
|
|
1136
1129
|
fetchFeedByParentUrls(requestParameters, options) {
|
|
1137
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchFeedByParentUrls(requestParameters.parentUrls, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.limit, requestParameters.cursor,
|
|
1130
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchFeedByParentUrls(requestParameters.parentUrls, requestParameters.xNeynarExperimental, requestParameters.withRecasts, requestParameters.viewerFid, requestParameters.withReplies, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
1138
1131
|
}
|
|
1139
1132
|
/**
|
|
1140
1133
|
* Fetch a personalized For You feed for a user
|
|
@@ -1149,7 +1142,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1149
1142
|
*
|
|
1150
1143
|
*/
|
|
1151
1144
|
fetchFeedForYou(requestParameters, options) {
|
|
1152
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchFeedForYou(requestParameters.fid, requestParameters.viewerFid, requestParameters.provider, requestParameters.limit, requestParameters.cursor,
|
|
1145
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchFeedForYou(requestParameters.fid, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.provider, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
1153
1146
|
}
|
|
1154
1147
|
/**
|
|
1155
1148
|
* Fetch feed of casts with mini apps, reverse chronological order
|
|
@@ -1164,7 +1157,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1164
1157
|
*
|
|
1165
1158
|
*/
|
|
1166
1159
|
fetchFramesOnlyFeed(requestParameters = {}, options) {
|
|
1167
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchFramesOnlyFeed(requestParameters.
|
|
1160
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchFramesOnlyFeed(requestParameters.xNeynarExperimental, requestParameters.limit, requestParameters.viewerFid, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
1168
1161
|
}
|
|
1169
1162
|
/**
|
|
1170
1163
|
* Fetch 10 most popular casts for a given user FID; popularity based on replies, likes and recasts; sorted by most popular first
|
|
@@ -1209,7 +1202,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1209
1202
|
*
|
|
1210
1203
|
*/
|
|
1211
1204
|
fetchTrendingFeed(requestParameters = {}, options) {
|
|
1212
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchTrendingFeed(requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, requestParameters.timeWindow, requestParameters.channelId, requestParameters.parentUrl, requestParameters.provider, requestParameters.providerMetadata,
|
|
1205
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchTrendingFeed(requestParameters.xNeynarExperimental, requestParameters.limit, requestParameters.cursor, requestParameters.viewerFid, requestParameters.timeWindow, requestParameters.channelId, requestParameters.parentUrl, requestParameters.provider, requestParameters.providerMetadata, options).then((request) => request(this.axios, this.basePath));
|
|
1213
1206
|
}
|
|
1214
1207
|
/**
|
|
1215
1208
|
* Fetch feed based on who a user is following
|
|
@@ -1224,10 +1217,57 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1224
1217
|
*
|
|
1225
1218
|
*/
|
|
1226
1219
|
fetchUserFollowingFeed(requestParameters, options) {
|
|
1227
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchUserFollowingFeed(requestParameters.fid, requestParameters.viewerFid, requestParameters.withRecasts, requestParameters.limit, requestParameters.cursor,
|
|
1220
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchUserFollowingFeed(requestParameters.fid, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.withRecasts, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
1228
1221
|
}
|
|
1229
1222
|
}
|
|
1230
1223
|
exports.FeedApi = FeedApi;
|
|
1224
|
+
/**
|
|
1225
|
+
* @export
|
|
1226
|
+
*/
|
|
1227
|
+
exports.FetchFeedFeedTypeEnum = {
|
|
1228
|
+
Following: 'following',
|
|
1229
|
+
Filter: 'filter'
|
|
1230
|
+
};
|
|
1231
|
+
/**
|
|
1232
|
+
* @export
|
|
1233
|
+
*/
|
|
1234
|
+
exports.FetchFeedFilterTypeEnum = {
|
|
1235
|
+
Fids: 'fids',
|
|
1236
|
+
ParentUrl: 'parent_url',
|
|
1237
|
+
ChannelId: 'channel_id',
|
|
1238
|
+
EmbedUrl: 'embed_url',
|
|
1239
|
+
EmbedTypes: 'embed_types',
|
|
1240
|
+
GlobalTrending: 'global_trending'
|
|
1241
|
+
};
|
|
1242
|
+
/**
|
|
1243
|
+
* @export
|
|
1244
|
+
*/
|
|
1245
|
+
exports.FetchFeedEmbedTypesEnum = {
|
|
1246
|
+
Text: 'text',
|
|
1247
|
+
Image: 'image',
|
|
1248
|
+
Video: 'video',
|
|
1249
|
+
Audio: 'audio',
|
|
1250
|
+
TextHtml: 'text/html',
|
|
1251
|
+
TextPlain: 'text/plain',
|
|
1252
|
+
ImageJpeg: 'image/jpeg',
|
|
1253
|
+
ImagePng: 'image/png',
|
|
1254
|
+
ImageGif: 'image/gif',
|
|
1255
|
+
ImageWebp: 'image/webp',
|
|
1256
|
+
ImageSvgxml: 'image/svg+xml',
|
|
1257
|
+
ImageHeif: 'image/heif',
|
|
1258
|
+
VideoMp4: 'video/mp4',
|
|
1259
|
+
VideoQuicktime: 'video/quicktime',
|
|
1260
|
+
AudioMpeg: 'audio/mpeg',
|
|
1261
|
+
ApplicationPdf: 'application/pdf',
|
|
1262
|
+
ApplicationJson: 'application/json',
|
|
1263
|
+
ApplicationXMpegurl: 'application/x-mpegurl'
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
* @export
|
|
1267
|
+
*/
|
|
1268
|
+
exports.FetchFeedForYouProviderEnum = {
|
|
1269
|
+
Neynar: 'neynar'
|
|
1270
|
+
};
|
|
1231
1271
|
/**
|
|
1232
1272
|
* @export
|
|
1233
1273
|
*/
|
|
@@ -1246,3 +1286,11 @@ exports.FetchTrendingFeedTimeWindowEnum = {
|
|
|
1246
1286
|
_24h: '24h',
|
|
1247
1287
|
_7d: '7d'
|
|
1248
1288
|
};
|
|
1289
|
+
/**
|
|
1290
|
+
* @export
|
|
1291
|
+
*/
|
|
1292
|
+
exports.FetchTrendingFeedProviderEnum = {
|
|
1293
|
+
Neynar: 'neynar',
|
|
1294
|
+
Openrank: 'openrank',
|
|
1295
|
+
Mbd: 'mbd'
|
|
1296
|
+
};
|