@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* The
|
|
2
|
+
* Neynar API
|
|
3
|
+
* The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.18.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,7 +19,6 @@ import type { ChannelMemberListResponse } from '../models';
|
|
|
19
19
|
import type { ChannelResponse } from '../models';
|
|
20
20
|
import type { ChannelResponseBulk } from '../models';
|
|
21
21
|
import type { ChannelSearchResponse } from '../models';
|
|
22
|
-
import type { ChannelType } from '../models';
|
|
23
22
|
import type { InviteChannelMemberReqBody } from '../models';
|
|
24
23
|
import type { OperationResponse } from '../models';
|
|
25
24
|
import type { RelevantFollowersResponse } from '../models';
|
|
@@ -50,7 +49,7 @@ export declare const ChannelApiAxiosParamCreator: (configuration?: Configuration
|
|
|
50
49
|
* Returns details of multiple channels
|
|
51
50
|
* @summary Bulk fetch
|
|
52
51
|
* @param {string} ids Comma separated list of channel IDs or parent_urls, up to 100 at a time
|
|
53
|
-
* @param {
|
|
52
|
+
* @param {FetchBulkChannelsTypeEnum} [type] Type of identifier being used to query the channels. Defaults to ID.
|
|
54
53
|
* @param {number} [viewerFid] FID of the user viewing the channels.
|
|
55
54
|
* @param {*} [options] Override http request option.
|
|
56
55
|
* @throws {RequiredError}
|
|
@@ -59,7 +58,7 @@ export declare const ChannelApiAxiosParamCreator: (configuration?: Configuration
|
|
|
59
58
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-channels)
|
|
60
59
|
*
|
|
61
60
|
*/
|
|
62
|
-
fetchBulkChannels: (ids: string, type?:
|
|
61
|
+
fetchBulkChannels: (ids: string, type?: FetchBulkChannelsTypeEnum, viewerFid?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
62
|
/**
|
|
64
63
|
* Fetch a list of invites, either in a channel or for a user. If both are provided, open channel invite for that user is returned.
|
|
65
64
|
* @summary Open invites
|
|
@@ -79,10 +78,10 @@ export declare const ChannelApiAxiosParamCreator: (configuration?: Configuration
|
|
|
79
78
|
* Fetch a list of members in a channel
|
|
80
79
|
* @summary Fetch members
|
|
81
80
|
* @param {string} channelId Channel ID for the channel being queried
|
|
81
|
+
* @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.
|
|
82
82
|
* @param {number} [fid] FID of the user being queried. Specify this to check if a user is a member of the channel without paginating through all members.
|
|
83
83
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 100)
|
|
84
84
|
* @param {string} [cursor] Pagination cursor.
|
|
85
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
86
85
|
* @param {*} [options] Override http request option.
|
|
87
86
|
* @throws {RequiredError}
|
|
88
87
|
* @returns {Promise<ChannelMemberListResponse>} A promise that resolves to a `ChannelMemberListResponse` object
|
|
@@ -90,15 +89,15 @@ export declare const ChannelApiAxiosParamCreator: (configuration?: Configuration
|
|
|
90
89
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-channel-members)
|
|
91
90
|
*
|
|
92
91
|
*/
|
|
93
|
-
fetchChannelMembers: (channelId: string, fid?: number, limit?: number, cursor?: string,
|
|
92
|
+
fetchChannelMembers: (channelId: string, xNeynarExperimental?: boolean, fid?: number, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
94
93
|
/**
|
|
95
94
|
* Returns a list of followers for a specific channel. Max limit is 1000. Use cursor for pagination.
|
|
96
95
|
* @summary For channel
|
|
97
96
|
* @param {string} id Channel ID for the channel being queried
|
|
97
|
+
* @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.
|
|
98
98
|
* @param {number} [viewerFid] Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
99
99
|
* @param {string} [cursor] Pagination cursor.
|
|
100
100
|
* @param {number} [limit] Number of followers to fetch (Default: 25, Maximum: 1000)
|
|
101
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
102
101
|
* @param {*} [options] Override http request option.
|
|
103
102
|
* @throws {RequiredError}
|
|
104
103
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -106,7 +105,7 @@ export declare const ChannelApiAxiosParamCreator: (configuration?: Configuration
|
|
|
106
105
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-followers-for-a-channel)
|
|
107
106
|
*
|
|
108
107
|
*/
|
|
109
|
-
fetchFollowersForAChannel: (id: string, viewerFid?: number, cursor?: string, limit?: number,
|
|
108
|
+
fetchFollowersForAChannel: (id: string, xNeynarExperimental?: boolean, viewerFid?: number, cursor?: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
110
109
|
/**
|
|
111
110
|
* Returns a list of relevant channel followers for a specific FID. This usually shows on a channel as \"X, Y, Z follow this channel\".
|
|
112
111
|
* @summary Relevant followers
|
|
@@ -205,7 +204,7 @@ export declare const ChannelApiAxiosParamCreator: (configuration?: Configuration
|
|
|
205
204
|
* Returns details of a channel
|
|
206
205
|
* @summary By ID or parent_url
|
|
207
206
|
* @param {string} id Channel ID for the channel being queried
|
|
208
|
-
* @param {
|
|
207
|
+
* @param {LookupChannelTypeEnum} [type] Type of identifier being used to query the channel. Defaults to ID.
|
|
209
208
|
* @param {number} [viewerFid] FID of the user viewing the channel.
|
|
210
209
|
* @param {*} [options] Override http request option.
|
|
211
210
|
* @throws {RequiredError}
|
|
@@ -214,7 +213,7 @@ export declare const ChannelApiAxiosParamCreator: (configuration?: Configuration
|
|
|
214
213
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-channel)
|
|
215
214
|
*
|
|
216
215
|
*/
|
|
217
|
-
lookupChannel: (id: string, type?:
|
|
216
|
+
lookupChannel: (id: string, type?: LookupChannelTypeEnum, viewerFid?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
218
217
|
/**
|
|
219
218
|
* Remove a user from a channel or a user\'s invite to a channel role
|
|
220
219
|
* @summary Remove user
|
|
@@ -288,7 +287,7 @@ export declare const ChannelApiFp: (configuration?: Configuration) => {
|
|
|
288
287
|
* Returns details of multiple channels
|
|
289
288
|
* @summary Bulk fetch
|
|
290
289
|
* @param {string} ids Comma separated list of channel IDs or parent_urls, up to 100 at a time
|
|
291
|
-
* @param {
|
|
290
|
+
* @param {FetchBulkChannelsTypeEnum} [type] Type of identifier being used to query the channels. Defaults to ID.
|
|
292
291
|
* @param {number} [viewerFid] FID of the user viewing the channels.
|
|
293
292
|
* @param {*} [options] Override http request option.
|
|
294
293
|
* @throws {RequiredError}
|
|
@@ -297,7 +296,7 @@ export declare const ChannelApiFp: (configuration?: Configuration) => {
|
|
|
297
296
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-channels)
|
|
298
297
|
*
|
|
299
298
|
*/
|
|
300
|
-
fetchBulkChannels(ids: string, type?:
|
|
299
|
+
fetchBulkChannels(ids: string, type?: FetchBulkChannelsTypeEnum, viewerFid?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChannelResponseBulk>>;
|
|
301
300
|
/**
|
|
302
301
|
* Fetch a list of invites, either in a channel or for a user. If both are provided, open channel invite for that user is returned.
|
|
303
302
|
* @summary Open invites
|
|
@@ -317,10 +316,10 @@ export declare const ChannelApiFp: (configuration?: Configuration) => {
|
|
|
317
316
|
* Fetch a list of members in a channel
|
|
318
317
|
* @summary Fetch members
|
|
319
318
|
* @param {string} channelId Channel ID for the channel being queried
|
|
319
|
+
* @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.
|
|
320
320
|
* @param {number} [fid] FID of the user being queried. Specify this to check if a user is a member of the channel without paginating through all members.
|
|
321
321
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 100)
|
|
322
322
|
* @param {string} [cursor] Pagination cursor.
|
|
323
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
324
323
|
* @param {*} [options] Override http request option.
|
|
325
324
|
* @throws {RequiredError}
|
|
326
325
|
* @returns {Promise<ChannelMemberListResponse>} A promise that resolves to a `ChannelMemberListResponse` object
|
|
@@ -328,15 +327,15 @@ export declare const ChannelApiFp: (configuration?: Configuration) => {
|
|
|
328
327
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-channel-members)
|
|
329
328
|
*
|
|
330
329
|
*/
|
|
331
|
-
fetchChannelMembers(channelId: string, fid?: number, limit?: number, cursor?: string,
|
|
330
|
+
fetchChannelMembers(channelId: string, xNeynarExperimental?: boolean, fid?: number, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChannelMemberListResponse>>;
|
|
332
331
|
/**
|
|
333
332
|
* Returns a list of followers for a specific channel. Max limit is 1000. Use cursor for pagination.
|
|
334
333
|
* @summary For channel
|
|
335
334
|
* @param {string} id Channel ID for the channel being queried
|
|
335
|
+
* @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
336
|
* @param {number} [viewerFid] Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
337
337
|
* @param {string} [cursor] Pagination cursor.
|
|
338
338
|
* @param {number} [limit] Number of followers to fetch (Default: 25, Maximum: 1000)
|
|
339
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
340
339
|
* @param {*} [options] Override http request option.
|
|
341
340
|
* @throws {RequiredError}
|
|
342
341
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -344,7 +343,7 @@ export declare const ChannelApiFp: (configuration?: Configuration) => {
|
|
|
344
343
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-followers-for-a-channel)
|
|
345
344
|
*
|
|
346
345
|
*/
|
|
347
|
-
fetchFollowersForAChannel(id: string, viewerFid?: number, cursor?: string, limit?: number,
|
|
346
|
+
fetchFollowersForAChannel(id: string, xNeynarExperimental?: boolean, viewerFid?: number, cursor?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsersResponse>>;
|
|
348
347
|
/**
|
|
349
348
|
* Returns a list of relevant channel followers for a specific FID. This usually shows on a channel as \"X, Y, Z follow this channel\".
|
|
350
349
|
* @summary Relevant followers
|
|
@@ -443,7 +442,7 @@ export declare const ChannelApiFp: (configuration?: Configuration) => {
|
|
|
443
442
|
* Returns details of a channel
|
|
444
443
|
* @summary By ID or parent_url
|
|
445
444
|
* @param {string} id Channel ID for the channel being queried
|
|
446
|
-
* @param {
|
|
445
|
+
* @param {LookupChannelTypeEnum} [type] Type of identifier being used to query the channel. Defaults to ID.
|
|
447
446
|
* @param {number} [viewerFid] FID of the user viewing the channel.
|
|
448
447
|
* @param {*} [options] Override http request option.
|
|
449
448
|
* @throws {RequiredError}
|
|
@@ -452,7 +451,7 @@ export declare const ChannelApiFp: (configuration?: Configuration) => {
|
|
|
452
451
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-channel)
|
|
453
452
|
*
|
|
454
453
|
*/
|
|
455
|
-
lookupChannel(id: string, type?:
|
|
454
|
+
lookupChannel(id: string, type?: LookupChannelTypeEnum, viewerFid?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChannelResponse>>;
|
|
456
455
|
/**
|
|
457
456
|
* Remove a user from a channel or a user\'s invite to a channel role
|
|
458
457
|
* @summary Remove user
|
|
@@ -987,10 +986,10 @@ export interface ChannelApiFetchBulkChannelsRequest {
|
|
|
987
986
|
*
|
|
988
987
|
*
|
|
989
988
|
*
|
|
990
|
-
* @type {
|
|
989
|
+
* @type {'id' | 'parent_url'}
|
|
991
990
|
* @memberof ChannelApiFetchBulkChannels
|
|
992
991
|
*/
|
|
993
|
-
readonly type?:
|
|
992
|
+
readonly type?: FetchBulkChannelsTypeEnum;
|
|
994
993
|
/**
|
|
995
994
|
* FID of the user viewing the channels.
|
|
996
995
|
*
|
|
@@ -1059,6 +1058,15 @@ export interface ChannelApiFetchChannelMembersRequest {
|
|
|
1059
1058
|
* @memberof ChannelApiFetchChannelMembers
|
|
1060
1059
|
*/
|
|
1061
1060
|
readonly channelId: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1063
|
+
*
|
|
1064
|
+
*
|
|
1065
|
+
* @globalHeader
|
|
1066
|
+
* @type {boolean}
|
|
1067
|
+
* @memberof ChannelApiFetchChannelMembers
|
|
1068
|
+
*/
|
|
1069
|
+
readonly xNeynarExperimental?: boolean;
|
|
1062
1070
|
/**
|
|
1063
1071
|
* FID of the user being queried. Specify this to check if a user is a member of the channel without paginating through all members.
|
|
1064
1072
|
*
|
|
@@ -1086,15 +1094,6 @@ export interface ChannelApiFetchChannelMembersRequest {
|
|
|
1086
1094
|
* @memberof ChannelApiFetchChannelMembers
|
|
1087
1095
|
*/
|
|
1088
1096
|
readonly cursor?: string;
|
|
1089
|
-
/**
|
|
1090
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1091
|
-
*
|
|
1092
|
-
*
|
|
1093
|
-
* @globalHeader
|
|
1094
|
-
* @type {boolean}
|
|
1095
|
-
* @memberof ChannelApiFetchChannelMembers
|
|
1096
|
-
*/
|
|
1097
|
-
readonly xNeynarExperimental?: boolean;
|
|
1098
1097
|
}
|
|
1099
1098
|
/**
|
|
1100
1099
|
* Request parameters for fetchFollowersForAChannel operation in ChannelApi.
|
|
@@ -1111,6 +1110,15 @@ export interface ChannelApiFetchFollowersForAChannelRequest {
|
|
|
1111
1110
|
* @memberof ChannelApiFetchFollowersForAChannel
|
|
1112
1111
|
*/
|
|
1113
1112
|
readonly id: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1115
|
+
*
|
|
1116
|
+
*
|
|
1117
|
+
* @globalHeader
|
|
1118
|
+
* @type {boolean}
|
|
1119
|
+
* @memberof ChannelApiFetchFollowersForAChannel
|
|
1120
|
+
*/
|
|
1121
|
+
readonly xNeynarExperimental?: boolean;
|
|
1114
1122
|
/**
|
|
1115
1123
|
* Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
1116
1124
|
*
|
|
@@ -1138,15 +1146,6 @@ export interface ChannelApiFetchFollowersForAChannelRequest {
|
|
|
1138
1146
|
* @memberof ChannelApiFetchFollowersForAChannel
|
|
1139
1147
|
*/
|
|
1140
1148
|
readonly limit?: number;
|
|
1141
|
-
/**
|
|
1142
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
1143
|
-
*
|
|
1144
|
-
*
|
|
1145
|
-
* @globalHeader
|
|
1146
|
-
* @type {boolean}
|
|
1147
|
-
* @memberof ChannelApiFetchFollowersForAChannel
|
|
1148
|
-
*/
|
|
1149
|
-
readonly xNeynarExperimental?: boolean;
|
|
1150
1149
|
}
|
|
1151
1150
|
/**
|
|
1152
1151
|
* Request parameters for fetchRelevantFollowersForAChannel operation in ChannelApi.
|
|
@@ -1370,10 +1369,10 @@ export interface ChannelApiLookupChannelRequest {
|
|
|
1370
1369
|
*
|
|
1371
1370
|
*
|
|
1372
1371
|
*
|
|
1373
|
-
* @type {
|
|
1372
|
+
* @type {'id' | 'parent_url'}
|
|
1374
1373
|
* @memberof ChannelApiLookupChannel
|
|
1375
1374
|
*/
|
|
1376
|
-
readonly type?:
|
|
1375
|
+
readonly type?: LookupChannelTypeEnum;
|
|
1377
1376
|
/**
|
|
1378
1377
|
* FID of the user viewing the channel.
|
|
1379
1378
|
*
|
|
@@ -1695,6 +1694,14 @@ export declare class ChannelApi extends BaseAPI implements ChannelApiInterface {
|
|
|
1695
1694
|
*/
|
|
1696
1695
|
unfollowChannel(requestParameters: ChannelApiUnfollowChannelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationResponse, any>>;
|
|
1697
1696
|
}
|
|
1697
|
+
/**
|
|
1698
|
+
* @export
|
|
1699
|
+
*/
|
|
1700
|
+
export declare const FetchBulkChannelsTypeEnum: {
|
|
1701
|
+
readonly Id: "id";
|
|
1702
|
+
readonly ParentUrl: "parent_url";
|
|
1703
|
+
};
|
|
1704
|
+
export type FetchBulkChannelsTypeEnum = typeof FetchBulkChannelsTypeEnum[keyof typeof FetchBulkChannelsTypeEnum];
|
|
1698
1705
|
/**
|
|
1699
1706
|
* @export
|
|
1700
1707
|
*/
|
|
@@ -1704,3 +1711,11 @@ export declare const FetchTrendingChannelsTimeWindowEnum: {
|
|
|
1704
1711
|
readonly _30d: "30d";
|
|
1705
1712
|
};
|
|
1706
1713
|
export type FetchTrendingChannelsTimeWindowEnum = typeof FetchTrendingChannelsTimeWindowEnum[keyof typeof FetchTrendingChannelsTimeWindowEnum];
|
|
1714
|
+
/**
|
|
1715
|
+
* @export
|
|
1716
|
+
*/
|
|
1717
|
+
export declare const LookupChannelTypeEnum: {
|
|
1718
|
+
readonly Id: "id";
|
|
1719
|
+
readonly ParentUrl: "parent_url";
|
|
1720
|
+
};
|
|
1721
|
+
export type LookupChannelTypeEnum = typeof LookupChannelTypeEnum[keyof typeof LookupChannelTypeEnum];
|
|
@@ -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.FetchTrendingChannelsTimeWindowEnum = exports.ChannelApi = exports.ChannelApiFactory = exports.ChannelApiFp = exports.ChannelApiAxiosParamCreator = void 0;
|
|
19
|
+
exports.LookupChannelTypeEnum = exports.FetchTrendingChannelsTimeWindowEnum = exports.FetchBulkChannelsTypeEnum = exports.ChannelApi = exports.ChannelApiFactory = exports.ChannelApiFp = exports.ChannelApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -42,7 +42,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
42
42
|
*
|
|
43
43
|
*/
|
|
44
44
|
fetchAllChannels: async (limit, cursor, options = {}) => {
|
|
45
|
-
const localVarPath = `/farcaster/channel/list
|
|
45
|
+
const localVarPath = `/v2/farcaster/channel/list/`;
|
|
46
46
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
47
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
48
48
|
let baseOptions;
|
|
@@ -72,7 +72,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
72
72
|
* Returns details of multiple channels
|
|
73
73
|
* @summary Bulk fetch
|
|
74
74
|
* @param {string} ids Comma separated list of channel IDs or parent_urls, up to 100 at a time
|
|
75
|
-
* @param {
|
|
75
|
+
* @param {FetchBulkChannelsTypeEnum} [type] Type of identifier being used to query the channels. Defaults to ID.
|
|
76
76
|
* @param {number} [viewerFid] FID of the user viewing the channels.
|
|
77
77
|
* @param {*} [options] Override http request option.
|
|
78
78
|
* @throws {RequiredError}
|
|
@@ -84,7 +84,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
84
84
|
fetchBulkChannels: async (ids, type, viewerFid, options = {}) => {
|
|
85
85
|
// verify required parameter 'ids' is not null or undefined
|
|
86
86
|
(0, common_1.assertParamExists)('fetchBulkChannels', 'ids', ids);
|
|
87
|
-
const localVarPath = `/farcaster/channel/bulk
|
|
87
|
+
const localVarPath = `/v2/farcaster/channel/bulk/`;
|
|
88
88
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
89
89
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
90
90
|
let baseOptions;
|
|
@@ -128,7 +128,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
*
|
|
129
129
|
*/
|
|
130
130
|
fetchChannelInvites: async (channelId, invitedFid, limit, cursor, options = {}) => {
|
|
131
|
-
const localVarPath = `/farcaster/channel/member/invite/list
|
|
131
|
+
const localVarPath = `/v2/farcaster/channel/member/invite/list/`;
|
|
132
132
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
133
133
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
134
134
|
let baseOptions;
|
|
@@ -164,10 +164,10 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
164
164
|
* Fetch a list of members in a channel
|
|
165
165
|
* @summary Fetch members
|
|
166
166
|
* @param {string} channelId Channel ID for the channel being queried
|
|
167
|
+
* @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.
|
|
167
168
|
* @param {number} [fid] FID of the user being queried. Specify this to check if a user is a member of the channel without paginating through all members.
|
|
168
169
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 100)
|
|
169
170
|
* @param {string} [cursor] Pagination cursor.
|
|
170
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
171
171
|
* @param {*} [options] Override http request option.
|
|
172
172
|
* @throws {RequiredError}
|
|
173
173
|
* @returns {Promise<ChannelMemberListResponse>} A promise that resolves to a `ChannelMemberListResponse` object
|
|
@@ -175,10 +175,10 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
175
175
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-channel-members)
|
|
176
176
|
*
|
|
177
177
|
*/
|
|
178
|
-
fetchChannelMembers: async (channelId, fid, limit, cursor,
|
|
178
|
+
fetchChannelMembers: async (channelId, xNeynarExperimental, fid, limit, cursor, options = {}) => {
|
|
179
179
|
// verify required parameter 'channelId' is not null or undefined
|
|
180
180
|
(0, common_1.assertParamExists)('fetchChannelMembers', 'channelId', channelId);
|
|
181
|
-
const localVarPath = `/farcaster/channel/member/list
|
|
181
|
+
const localVarPath = `/v2/farcaster/channel/member/list/`;
|
|
182
182
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
183
183
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
184
184
|
let baseOptions;
|
|
@@ -219,10 +219,10 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
219
219
|
* Returns a list of followers for a specific channel. Max limit is 1000. Use cursor for pagination.
|
|
220
220
|
* @summary For channel
|
|
221
221
|
* @param {string} id Channel ID for the channel being queried
|
|
222
|
+
* @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.
|
|
222
223
|
* @param {number} [viewerFid] Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
223
224
|
* @param {string} [cursor] Pagination cursor.
|
|
224
225
|
* @param {number} [limit] Number of followers to fetch (Default: 25, Maximum: 1000)
|
|
225
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
226
226
|
* @param {*} [options] Override http request option.
|
|
227
227
|
* @throws {RequiredError}
|
|
228
228
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -230,10 +230,10 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
230
230
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-followers-for-a-channel)
|
|
231
231
|
*
|
|
232
232
|
*/
|
|
233
|
-
fetchFollowersForAChannel: async (id, viewerFid, cursor, limit,
|
|
233
|
+
fetchFollowersForAChannel: async (id, xNeynarExperimental, viewerFid, cursor, limit, options = {}) => {
|
|
234
234
|
// verify required parameter 'id' is not null or undefined
|
|
235
235
|
(0, common_1.assertParamExists)('fetchFollowersForAChannel', 'id', id);
|
|
236
|
-
const localVarPath = `/farcaster/channel/followers
|
|
236
|
+
const localVarPath = `/v2/farcaster/channel/followers/`;
|
|
237
237
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
238
238
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
239
239
|
let baseOptions;
|
|
@@ -288,7 +288,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
288
288
|
(0, common_1.assertParamExists)('fetchRelevantFollowersForAChannel', 'id', id);
|
|
289
289
|
// verify required parameter 'viewerFid' is not null or undefined
|
|
290
290
|
(0, common_1.assertParamExists)('fetchRelevantFollowersForAChannel', 'viewerFid', viewerFid);
|
|
291
|
-
const localVarPath = `/farcaster/channel/followers/relevant
|
|
291
|
+
const localVarPath = `/v2/farcaster/channel/followers/relevant/`;
|
|
292
292
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
293
293
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
294
294
|
let baseOptions;
|
|
@@ -333,7 +333,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
333
333
|
*
|
|
334
334
|
*/
|
|
335
335
|
fetchTrendingChannels: async (timeWindow, limit, cursor, options = {}) => {
|
|
336
|
-
const localVarPath = `/farcaster/channel/trending
|
|
336
|
+
const localVarPath = `/v2/farcaster/channel/trending/`;
|
|
337
337
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
338
338
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
339
339
|
let baseOptions;
|
|
@@ -378,7 +378,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
378
378
|
fetchUserChannelMemberships: async (fid, limit, cursor, options = {}) => {
|
|
379
379
|
// verify required parameter 'fid' is not null or undefined
|
|
380
380
|
(0, common_1.assertParamExists)('fetchUserChannelMemberships', 'fid', fid);
|
|
381
|
-
const localVarPath = `/farcaster/user/memberships/list
|
|
381
|
+
const localVarPath = `/v2/farcaster/user/memberships/list/`;
|
|
382
382
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
383
383
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
384
384
|
let baseOptions;
|
|
@@ -423,7 +423,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
423
423
|
fetchUserChannels: async (fid, limit, cursor, options = {}) => {
|
|
424
424
|
// verify required parameter 'fid' is not null or undefined
|
|
425
425
|
(0, common_1.assertParamExists)('fetchUserChannels', 'fid', fid);
|
|
426
|
-
const localVarPath = `/farcaster/user/channels
|
|
426
|
+
const localVarPath = `/v2/farcaster/user/channels/`;
|
|
427
427
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
428
428
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
429
429
|
let baseOptions;
|
|
@@ -468,7 +468,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
468
468
|
fetchUsersActiveChannels: async (fid, limit, cursor, options = {}) => {
|
|
469
469
|
// verify required parameter 'fid' is not null or undefined
|
|
470
470
|
(0, common_1.assertParamExists)('fetchUsersActiveChannels', 'fid', fid);
|
|
471
|
-
const localVarPath = `/farcaster/channel/user
|
|
471
|
+
const localVarPath = `/v2/farcaster/channel/user/`;
|
|
472
472
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
473
473
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
474
474
|
let baseOptions;
|
|
@@ -511,7 +511,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
511
511
|
followChannel: async (channelFollowReqBody, options = {}) => {
|
|
512
512
|
// verify required parameter 'channelFollowReqBody' is not null or undefined
|
|
513
513
|
(0, common_1.assertParamExists)('followChannel', 'channelFollowReqBody', channelFollowReqBody);
|
|
514
|
-
const localVarPath = `/farcaster/channel/follow
|
|
514
|
+
const localVarPath = `/v2/farcaster/channel/follow/`;
|
|
515
515
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
516
516
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
517
517
|
let baseOptions;
|
|
@@ -547,7 +547,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
547
547
|
inviteChannelMember: async (inviteChannelMemberReqBody, options = {}) => {
|
|
548
548
|
// verify required parameter 'inviteChannelMemberReqBody' is not null or undefined
|
|
549
549
|
(0, common_1.assertParamExists)('inviteChannelMember', 'inviteChannelMemberReqBody', inviteChannelMemberReqBody);
|
|
550
|
-
const localVarPath = `/farcaster/channel/member/invite
|
|
550
|
+
const localVarPath = `/v2/farcaster/channel/member/invite/`;
|
|
551
551
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
552
552
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
553
553
|
let baseOptions;
|
|
@@ -573,7 +573,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
573
573
|
* Returns details of a channel
|
|
574
574
|
* @summary By ID or parent_url
|
|
575
575
|
* @param {string} id Channel ID for the channel being queried
|
|
576
|
-
* @param {
|
|
576
|
+
* @param {LookupChannelTypeEnum} [type] Type of identifier being used to query the channel. Defaults to ID.
|
|
577
577
|
* @param {number} [viewerFid] FID of the user viewing the channel.
|
|
578
578
|
* @param {*} [options] Override http request option.
|
|
579
579
|
* @throws {RequiredError}
|
|
@@ -585,7 +585,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
585
585
|
lookupChannel: async (id, type, viewerFid, options = {}) => {
|
|
586
586
|
// verify required parameter 'id' is not null or undefined
|
|
587
587
|
(0, common_1.assertParamExists)('lookupChannel', 'id', id);
|
|
588
|
-
const localVarPath = `/farcaster/channel
|
|
588
|
+
const localVarPath = `/v2/farcaster/channel/`;
|
|
589
589
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
590
590
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
591
591
|
let baseOptions;
|
|
@@ -628,7 +628,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
628
628
|
removeChannelMember: async (removeChannelMemberReqBody, options = {}) => {
|
|
629
629
|
// verify required parameter 'removeChannelMemberReqBody' is not null or undefined
|
|
630
630
|
(0, common_1.assertParamExists)('removeChannelMember', 'removeChannelMemberReqBody', removeChannelMemberReqBody);
|
|
631
|
-
const localVarPath = `/farcaster/channel/member
|
|
631
|
+
const localVarPath = `/v2/farcaster/channel/member/`;
|
|
632
632
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
633
633
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
634
634
|
let baseOptions;
|
|
@@ -664,7 +664,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
664
664
|
respondChannelInvite: async (respondChannelInviteReqBody, options = {}) => {
|
|
665
665
|
// verify required parameter 'respondChannelInviteReqBody' is not null or undefined
|
|
666
666
|
(0, common_1.assertParamExists)('respondChannelInvite', 'respondChannelInviteReqBody', respondChannelInviteReqBody);
|
|
667
|
-
const localVarPath = `/farcaster/channel/member/invite
|
|
667
|
+
const localVarPath = `/v2/farcaster/channel/member/invite/`;
|
|
668
668
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
669
669
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
670
670
|
let baseOptions;
|
|
@@ -702,7 +702,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
702
702
|
searchChannels: async (q, limit, cursor, options = {}) => {
|
|
703
703
|
// verify required parameter 'q' is not null or undefined
|
|
704
704
|
(0, common_1.assertParamExists)('searchChannels', 'q', q);
|
|
705
|
-
const localVarPath = `/farcaster/channel/search
|
|
705
|
+
const localVarPath = `/v2/farcaster/channel/search/`;
|
|
706
706
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
707
707
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
708
708
|
let baseOptions;
|
|
@@ -745,7 +745,7 @@ const ChannelApiAxiosParamCreator = function (configuration) {
|
|
|
745
745
|
unfollowChannel: async (channelFollowReqBody, options = {}) => {
|
|
746
746
|
// verify required parameter 'channelFollowReqBody' is not null or undefined
|
|
747
747
|
(0, common_1.assertParamExists)('unfollowChannel', 'channelFollowReqBody', channelFollowReqBody);
|
|
748
|
-
const localVarPath = `/farcaster/channel/follow
|
|
748
|
+
const localVarPath = `/v2/farcaster/channel/follow/`;
|
|
749
749
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
750
750
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
751
751
|
let baseOptions;
|
|
@@ -800,7 +800,7 @@ const ChannelApiFp = function (configuration) {
|
|
|
800
800
|
* Returns details of multiple channels
|
|
801
801
|
* @summary Bulk fetch
|
|
802
802
|
* @param {string} ids Comma separated list of channel IDs or parent_urls, up to 100 at a time
|
|
803
|
-
* @param {
|
|
803
|
+
* @param {FetchBulkChannelsTypeEnum} [type] Type of identifier being used to query the channels. Defaults to ID.
|
|
804
804
|
* @param {number} [viewerFid] FID of the user viewing the channels.
|
|
805
805
|
* @param {*} [options] Override http request option.
|
|
806
806
|
* @throws {RequiredError}
|
|
@@ -841,10 +841,10 @@ const ChannelApiFp = function (configuration) {
|
|
|
841
841
|
* Fetch a list of members in a channel
|
|
842
842
|
* @summary Fetch members
|
|
843
843
|
* @param {string} channelId Channel ID for the channel being queried
|
|
844
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
844
845
|
* @param {number} [fid] FID of the user being queried. Specify this to check if a user is a member of the channel without paginating through all members.
|
|
845
846
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 100)
|
|
846
847
|
* @param {string} [cursor] Pagination cursor.
|
|
847
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
848
848
|
* @param {*} [options] Override http request option.
|
|
849
849
|
* @throws {RequiredError}
|
|
850
850
|
* @returns {Promise<ChannelMemberListResponse>} A promise that resolves to a `ChannelMemberListResponse` object
|
|
@@ -852,9 +852,9 @@ const ChannelApiFp = function (configuration) {
|
|
|
852
852
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-channel-members)
|
|
853
853
|
*
|
|
854
854
|
*/
|
|
855
|
-
async fetchChannelMembers(channelId, fid, limit, cursor,
|
|
855
|
+
async fetchChannelMembers(channelId, xNeynarExperimental, fid, limit, cursor, options) {
|
|
856
856
|
var _a, _b, _c;
|
|
857
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchChannelMembers(channelId, fid, limit, cursor,
|
|
857
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchChannelMembers(channelId, xNeynarExperimental, fid, limit, cursor, options);
|
|
858
858
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
859
859
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChannelApi.fetchChannelMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
860
860
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -863,10 +863,10 @@ const ChannelApiFp = function (configuration) {
|
|
|
863
863
|
* Returns a list of followers for a specific channel. Max limit is 1000. Use cursor for pagination.
|
|
864
864
|
* @summary For channel
|
|
865
865
|
* @param {string} id Channel ID for the channel being queried
|
|
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.
|
|
866
867
|
* @param {number} [viewerFid] Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
867
868
|
* @param {string} [cursor] Pagination cursor.
|
|
868
869
|
* @param {number} [limit] Number of followers to fetch (Default: 25, Maximum: 1000)
|
|
869
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
870
870
|
* @param {*} [options] Override http request option.
|
|
871
871
|
* @throws {RequiredError}
|
|
872
872
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -874,9 +874,9 @@ const ChannelApiFp = function (configuration) {
|
|
|
874
874
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-followers-for-a-channel)
|
|
875
875
|
*
|
|
876
876
|
*/
|
|
877
|
-
async fetchFollowersForAChannel(id, viewerFid, cursor, limit,
|
|
877
|
+
async fetchFollowersForAChannel(id, xNeynarExperimental, viewerFid, cursor, limit, options) {
|
|
878
878
|
var _a, _b, _c;
|
|
879
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFollowersForAChannel(id, viewerFid, cursor, limit,
|
|
879
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFollowersForAChannel(id, xNeynarExperimental, viewerFid, cursor, limit, options);
|
|
880
880
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
881
881
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChannelApi.fetchFollowersForAChannel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
882
882
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1021,7 +1021,7 @@ const ChannelApiFp = function (configuration) {
|
|
|
1021
1021
|
* Returns details of a channel
|
|
1022
1022
|
* @summary By ID or parent_url
|
|
1023
1023
|
* @param {string} id Channel ID for the channel being queried
|
|
1024
|
-
* @param {
|
|
1024
|
+
* @param {LookupChannelTypeEnum} [type] Type of identifier being used to query the channel. Defaults to ID.
|
|
1025
1025
|
* @param {number} [viewerFid] FID of the user viewing the channel.
|
|
1026
1026
|
* @param {*} [options] Override http request option.
|
|
1027
1027
|
* @throws {RequiredError}
|
|
@@ -1175,7 +1175,7 @@ const ChannelApiFactory = function (configuration, basePath, axios) {
|
|
|
1175
1175
|
*
|
|
1176
1176
|
*/
|
|
1177
1177
|
fetchChannelMembers(requestParameters, options) {
|
|
1178
|
-
return localVarFp.fetchChannelMembers(requestParameters.channelId, requestParameters.
|
|
1178
|
+
return localVarFp.fetchChannelMembers(requestParameters.channelId, requestParameters.xNeynarExperimental, requestParameters.fid, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
1179
1179
|
},
|
|
1180
1180
|
/**
|
|
1181
1181
|
* Returns a list of followers for a specific channel. Max limit is 1000. Use cursor for pagination.
|
|
@@ -1189,7 +1189,7 @@ const ChannelApiFactory = function (configuration, basePath, axios) {
|
|
|
1189
1189
|
*
|
|
1190
1190
|
*/
|
|
1191
1191
|
fetchFollowersForAChannel(requestParameters, options) {
|
|
1192
|
-
return localVarFp.fetchFollowersForAChannel(requestParameters.id, requestParameters.
|
|
1192
|
+
return localVarFp.fetchFollowersForAChannel(requestParameters.id, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.cursor, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
1193
1193
|
},
|
|
1194
1194
|
/**
|
|
1195
1195
|
* Returns a list of relevant channel followers for a specific FID. This usually shows on a channel as \"X, Y, Z follow this channel\".
|
|
@@ -1427,7 +1427,7 @@ class ChannelApi extends base_1.BaseAPI {
|
|
|
1427
1427
|
*
|
|
1428
1428
|
*/
|
|
1429
1429
|
fetchChannelMembers(requestParameters, options) {
|
|
1430
|
-
return (0, exports.ChannelApiFp)(this.configuration).fetchChannelMembers(requestParameters.channelId, requestParameters.
|
|
1430
|
+
return (0, exports.ChannelApiFp)(this.configuration).fetchChannelMembers(requestParameters.channelId, requestParameters.xNeynarExperimental, requestParameters.fid, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
1431
1431
|
}
|
|
1432
1432
|
/**
|
|
1433
1433
|
* Returns a list of followers for a specific channel. Max limit is 1000. Use cursor for pagination.
|
|
@@ -1442,7 +1442,7 @@ class ChannelApi extends base_1.BaseAPI {
|
|
|
1442
1442
|
*
|
|
1443
1443
|
*/
|
|
1444
1444
|
fetchFollowersForAChannel(requestParameters, options) {
|
|
1445
|
-
return (0, exports.ChannelApiFp)(this.configuration).fetchFollowersForAChannel(requestParameters.id, requestParameters.
|
|
1445
|
+
return (0, exports.ChannelApiFp)(this.configuration).fetchFollowersForAChannel(requestParameters.id, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.cursor, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
1446
1446
|
}
|
|
1447
1447
|
/**
|
|
1448
1448
|
* Returns a list of relevant channel followers for a specific FID. This usually shows on a channel as \"X, Y, Z follow this channel\".
|
|
@@ -1626,6 +1626,13 @@ class ChannelApi extends base_1.BaseAPI {
|
|
|
1626
1626
|
}
|
|
1627
1627
|
}
|
|
1628
1628
|
exports.ChannelApi = ChannelApi;
|
|
1629
|
+
/**
|
|
1630
|
+
* @export
|
|
1631
|
+
*/
|
|
1632
|
+
exports.FetchBulkChannelsTypeEnum = {
|
|
1633
|
+
Id: 'id',
|
|
1634
|
+
ParentUrl: 'parent_url'
|
|
1635
|
+
};
|
|
1629
1636
|
/**
|
|
1630
1637
|
* @export
|
|
1631
1638
|
*/
|
|
@@ -1634,3 +1641,10 @@ exports.FetchTrendingChannelsTimeWindowEnum = {
|
|
|
1634
1641
|
_7d: '7d',
|
|
1635
1642
|
_30d: '30d'
|
|
1636
1643
|
};
|
|
1644
|
+
/**
|
|
1645
|
+
* @export
|
|
1646
|
+
*/
|
|
1647
|
+
exports.LookupChannelTypeEnum = {
|
|
1648
|
+
Id: 'id',
|
|
1649
|
+
ParentUrl: 'parent_url'
|
|
1650
|
+
};
|