@neynar/nodejs-sdk 2.44.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 +5 -3
- package/build/api/api.js +5 -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 +56 -25
- package/build/api/apis/agents-api.js +53 -26
- package/build/api/apis/app-host-api.d.ts +317 -0
- package/build/api/apis/app-host-api.js +337 -0
- 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 +282 -113
- package/build/api/apis/cast-api.js +231 -76
- 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 +232 -58
- package/build/api/apis/frame-api.js +208 -48
- 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 +22 -20
- package/build/api/apis/metrics-api.js +16 -14
- 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 +260 -40
- package/build/api/apis/onchain-api.js +249 -34
- 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 +23 -0
- package/build/api/models/app-host-event-type.js +27 -0
- package/build/api/models/app-host-get-event-response-notification-details.d.ts +30 -0
- package/build/api/models/{cast-with-interactions-and-conversations-ref-all-of.js → app-host-get-event-response-notification-details.js} +3 -3
- package/build/api/models/app-host-get-event-response.d.ts +31 -0
- package/build/api/models/{cast-with-interactions-and-conversations-ref.js → 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/{cast-with-interactions-all-of.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/{cast-with-interactions-and-conversations-all-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/app-host-post-event-req-body-one-of.js +15 -0
- package/build/api/models/app-host-post-event-req-body-one-of1.d.ts +43 -0
- package/build/api/models/app-host-post-event-req-body-one-of1.js +15 -0
- 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 +30 -0
- package/build/api/models/app-host-post-event-response.js +15 -0
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +36 -0
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.js +15 -0
- package/build/api/models/app-host-user-state-response.d.ts +25 -0
- package/build/api/models/app-host-user-state-response.js +15 -0
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +72 -0
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.js +15 -0
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.d.ts +49 -0
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.js +15 -0
- package/build/api/models/get-notification-campaign-stats200-response.d.ts +32 -0
- package/build/api/models/get-notification-campaign-stats200-response.js +15 -0
- 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 +42 -56
- package/build/api/models/index.js +42 -56
- package/build/api/models/invite-channel-member-req-body.d.ts +4 -4
- 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 +5 -5
- 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 +10 -4
- 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 +4 -4
- 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 +4 -4
- package/build/api/models/post-cast-req-body.js +3 -3
- package/build/api/models/post-cast-response-cast-author.d.ts +4 -4
- 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 +4 -4
- package/build/api/models/reaction-like.js +3 -3
- package/build/api/models/reaction-recast.d.ts +4 -4
- package/build/api/models/reaction-recast.js +3 -3
- package/build/api/models/reaction-req-body.d.ts +4 -4
- 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 +6 -6
- 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 +6 -6
- 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 +5 -5
- package/build/api/models/relevant-fungible-owners-response.js +3 -3
- package/build/api/models/remove-channel-member-req-body.d.ts +4 -4
- 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 +5 -5
- 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 +4 -4
- 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 +4 -4
- package/build/api/models/transaction-send-fungibles-receipt.js +3 -3
- package/build/api/models/transaction-send-fungibles-recipient.d.ts +4 -4
- 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 +4 -4
- 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 +18 -11
- 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 +508 -252
- package/build/clients/NeynarAPIClient.js +490 -201
- 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/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-ref-all-of.d.ts +0 -24
- package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +0 -19
- 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).
|
|
@@ -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).
|
|
@@ -43,7 +43,7 @@ const FnameApiAxiosParamCreator = function (configuration) {
|
|
|
43
43
|
isFnameAvailable: async (fname, options = {}) => {
|
|
44
44
|
// verify required parameter 'fname' is not null or undefined
|
|
45
45
|
(0, common_1.assertParamExists)('isFnameAvailable', 'fname', fname);
|
|
46
|
-
const localVarPath = `/farcaster/fname/availability
|
|
46
|
+
const localVarPath = `/v2/farcaster/fname/availability/`;
|
|
47
47
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
48
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
49
49
|
let baseOptions;
|
|
@@ -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).
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type { FollowSortType } from '../models';
|
|
16
15
|
import type { FollowersResponse } from '../models';
|
|
17
16
|
import type { RelevantFollowersResponse } from '../models';
|
|
18
17
|
import type { UsersResponse } from '../models';
|
|
@@ -24,10 +23,10 @@ export declare const FollowsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
24
23
|
/**
|
|
25
24
|
* Fetch a list of suggested users to follow. Used to help users discover new users to follow
|
|
26
25
|
* @summary Suggest Follows
|
|
27
|
-
* @param {number} fid FID of the user whose following you want to fetch.
|
|
28
|
-
* @param {number} [viewerFid] Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
29
|
-
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
26
|
+
* @param {number | null} fid FID of the user whose following you want to fetch.
|
|
30
27
|
* @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.
|
|
28
|
+
* @param {number | null} [viewerFid] Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
29
|
+
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
31
30
|
* @param {*} [options] Override http request option.
|
|
32
31
|
* @throws {RequiredError}
|
|
33
32
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -35,7 +34,7 @@ export declare const FollowsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35
34
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-follow-suggestions)
|
|
36
35
|
*
|
|
37
36
|
*/
|
|
38
|
-
fetchFollowSuggestions: (fid: number,
|
|
37
|
+
fetchFollowSuggestions: (fid: number | null, xNeynarExperimental?: boolean, viewerFid?: number | null, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
38
|
/**
|
|
40
39
|
* Returns a list of relevant followers for a specific FID. This usually shows on a profile as \"X, Y and Z follow this user\".
|
|
41
40
|
* @summary Relevant followers
|
|
@@ -54,11 +53,11 @@ export declare const FollowsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
54
53
|
* Returns a list of followers for a specific FID.
|
|
55
54
|
* @summary Followers
|
|
56
55
|
* @param {number} fid User who\'s profile you are looking at
|
|
56
|
+
* @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.
|
|
57
57
|
* @param {number} [viewerFid] Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
58
|
-
* @param {
|
|
58
|
+
* @param {FetchUserFollowersSortTypeEnum} [sortType] Sort type for fetch followers. Default is `desc_chron`
|
|
59
59
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 100)
|
|
60
60
|
* @param {string} [cursor] Pagination cursor.
|
|
61
|
-
* @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.
|
|
62
61
|
* @param {*} [options] Override http request option.
|
|
63
62
|
* @throws {RequiredError}
|
|
64
63
|
* @returns {Promise<FollowersResponse>} A promise that resolves to a `FollowersResponse` object
|
|
@@ -66,16 +65,16 @@ export declare const FollowsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
66
65
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-followers)
|
|
67
66
|
*
|
|
68
67
|
*/
|
|
69
|
-
fetchUserFollowers: (fid: number, viewerFid?: number, sortType?:
|
|
68
|
+
fetchUserFollowers: (fid: number, xNeynarExperimental?: boolean, viewerFid?: number, sortType?: FetchUserFollowersSortTypeEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
69
|
/**
|
|
71
70
|
* Fetch a list of users who a given user is following. Can optionally include a viewer_fid and sort_type.
|
|
72
71
|
* @summary Following
|
|
73
72
|
* @param {number} fid FID of the user whose following you want to fetch.
|
|
73
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
74
74
|
* @param {number} [viewerFid] Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
75
|
-
* @param {
|
|
75
|
+
* @param {FetchUserFollowingSortTypeEnum} [sortType] Optional parameter to sort the users based on different criteria.
|
|
76
76
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
77
77
|
* @param {string} [cursor] Pagination cursor.
|
|
78
|
-
* @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.
|
|
79
78
|
* @param {*} [options] Override http request option.
|
|
80
79
|
* @throws {RequiredError}
|
|
81
80
|
* @returns {Promise<FollowersResponse>} A promise that resolves to a `FollowersResponse` object
|
|
@@ -83,7 +82,7 @@ export declare const FollowsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
83
82
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-following)
|
|
84
83
|
*
|
|
85
84
|
*/
|
|
86
|
-
fetchUserFollowing: (fid: number, viewerFid?: number, sortType?:
|
|
85
|
+
fetchUserFollowing: (fid: number, xNeynarExperimental?: boolean, viewerFid?: number, sortType?: FetchUserFollowingSortTypeEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
87
86
|
};
|
|
88
87
|
/**
|
|
89
88
|
* FollowsApi - functional programming interface
|
|
@@ -93,10 +92,10 @@ export declare const FollowsApiFp: (configuration?: Configuration) => {
|
|
|
93
92
|
/**
|
|
94
93
|
* Fetch a list of suggested users to follow. Used to help users discover new users to follow
|
|
95
94
|
* @summary Suggest Follows
|
|
96
|
-
* @param {number} fid FID of the user whose following you want to fetch.
|
|
97
|
-
* @param {number} [viewerFid] Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
98
|
-
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
95
|
+
* @param {number | null} fid FID of the user whose following you want to fetch.
|
|
99
96
|
* @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.
|
|
97
|
+
* @param {number | null} [viewerFid] Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
98
|
+
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
100
99
|
* @param {*} [options] Override http request option.
|
|
101
100
|
* @throws {RequiredError}
|
|
102
101
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -104,7 +103,7 @@ export declare const FollowsApiFp: (configuration?: Configuration) => {
|
|
|
104
103
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-follow-suggestions)
|
|
105
104
|
*
|
|
106
105
|
*/
|
|
107
|
-
fetchFollowSuggestions(fid: number,
|
|
106
|
+
fetchFollowSuggestions(fid: number | null, xNeynarExperimental?: boolean, viewerFid?: number | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsersResponse>>;
|
|
108
107
|
/**
|
|
109
108
|
* Returns a list of relevant followers for a specific FID. This usually shows on a profile as \"X, Y and Z follow this user\".
|
|
110
109
|
* @summary Relevant followers
|
|
@@ -123,11 +122,11 @@ export declare const FollowsApiFp: (configuration?: Configuration) => {
|
|
|
123
122
|
* Returns a list of followers for a specific FID.
|
|
124
123
|
* @summary Followers
|
|
125
124
|
* @param {number} fid User who\'s profile you are looking at
|
|
125
|
+
* @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.
|
|
126
126
|
* @param {number} [viewerFid] Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
127
|
-
* @param {
|
|
127
|
+
* @param {FetchUserFollowersSortTypeEnum} [sortType] Sort type for fetch followers. Default is `desc_chron`
|
|
128
128
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 100)
|
|
129
129
|
* @param {string} [cursor] Pagination cursor.
|
|
130
|
-
* @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.
|
|
131
130
|
* @param {*} [options] Override http request option.
|
|
132
131
|
* @throws {RequiredError}
|
|
133
132
|
* @returns {Promise<FollowersResponse>} A promise that resolves to a `FollowersResponse` object
|
|
@@ -135,16 +134,16 @@ export declare const FollowsApiFp: (configuration?: Configuration) => {
|
|
|
135
134
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-followers)
|
|
136
135
|
*
|
|
137
136
|
*/
|
|
138
|
-
fetchUserFollowers(fid: number, viewerFid?: number, sortType?:
|
|
137
|
+
fetchUserFollowers(fid: number, xNeynarExperimental?: boolean, viewerFid?: number, sortType?: FetchUserFollowersSortTypeEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FollowersResponse>>;
|
|
139
138
|
/**
|
|
140
139
|
* Fetch a list of users who a given user is following. Can optionally include a viewer_fid and sort_type.
|
|
141
140
|
* @summary Following
|
|
142
141
|
* @param {number} fid FID of the user whose following you want to fetch.
|
|
142
|
+
* @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.
|
|
143
143
|
* @param {number} [viewerFid] Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
144
|
-
* @param {
|
|
144
|
+
* @param {FetchUserFollowingSortTypeEnum} [sortType] Optional parameter to sort the users based on different criteria.
|
|
145
145
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
146
146
|
* @param {string} [cursor] Pagination cursor.
|
|
147
|
-
* @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.
|
|
148
147
|
* @param {*} [options] Override http request option.
|
|
149
148
|
* @throws {RequiredError}
|
|
150
149
|
* @returns {Promise<FollowersResponse>} A promise that resolves to a `FollowersResponse` object
|
|
@@ -152,7 +151,7 @@ export declare const FollowsApiFp: (configuration?: Configuration) => {
|
|
|
152
151
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-following)
|
|
153
152
|
*
|
|
154
153
|
*/
|
|
155
|
-
fetchUserFollowing(fid: number, viewerFid?: number, sortType?:
|
|
154
|
+
fetchUserFollowing(fid: number, xNeynarExperimental?: boolean, viewerFid?: number, sortType?: FetchUserFollowingSortTypeEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FollowersResponse>>;
|
|
156
155
|
};
|
|
157
156
|
/**
|
|
158
157
|
* FollowsApi - factory interface
|
|
@@ -281,34 +280,34 @@ export interface FollowsApiFetchFollowSuggestionsRequest {
|
|
|
281
280
|
* @type {number}
|
|
282
281
|
* @memberof FollowsApiFetchFollowSuggestions
|
|
283
282
|
*/
|
|
284
|
-
readonly fid: number;
|
|
283
|
+
readonly fid: number | null;
|
|
285
284
|
/**
|
|
286
|
-
*
|
|
287
|
-
*
|
|
285
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
288
286
|
*
|
|
289
287
|
*
|
|
290
|
-
* @
|
|
288
|
+
* @globalHeader
|
|
289
|
+
* @type {boolean}
|
|
291
290
|
* @memberof FollowsApiFetchFollowSuggestions
|
|
292
291
|
*/
|
|
293
|
-
readonly
|
|
292
|
+
readonly xNeynarExperimental?: boolean;
|
|
294
293
|
/**
|
|
295
|
-
*
|
|
294
|
+
* Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
296
295
|
*
|
|
297
296
|
*
|
|
298
297
|
*
|
|
299
298
|
* @type {number}
|
|
300
299
|
* @memberof FollowsApiFetchFollowSuggestions
|
|
301
300
|
*/
|
|
302
|
-
readonly
|
|
301
|
+
readonly viewerFid?: number | null;
|
|
303
302
|
/**
|
|
304
|
-
*
|
|
303
|
+
* Number of results to fetch (Default: 25, Maximum: 100)
|
|
305
304
|
*
|
|
306
305
|
*
|
|
307
|
-
*
|
|
308
|
-
* @type {
|
|
306
|
+
*
|
|
307
|
+
* @type {number}
|
|
309
308
|
* @memberof FollowsApiFetchFollowSuggestions
|
|
310
309
|
*/
|
|
311
|
-
readonly
|
|
310
|
+
readonly limit?: number;
|
|
312
311
|
}
|
|
313
312
|
/**
|
|
314
313
|
* Request parameters for fetchRelevantFollowers operation in FollowsApi.
|
|
@@ -359,6 +358,15 @@ export interface FollowsApiFetchUserFollowersRequest {
|
|
|
359
358
|
* @memberof FollowsApiFetchUserFollowers
|
|
360
359
|
*/
|
|
361
360
|
readonly fid: number;
|
|
361
|
+
/**
|
|
362
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
363
|
+
*
|
|
364
|
+
*
|
|
365
|
+
* @globalHeader
|
|
366
|
+
* @type {boolean}
|
|
367
|
+
* @memberof FollowsApiFetchUserFollowers
|
|
368
|
+
*/
|
|
369
|
+
readonly xNeynarExperimental?: boolean;
|
|
362
370
|
/**
|
|
363
371
|
* Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
364
372
|
*
|
|
@@ -373,10 +381,10 @@ export interface FollowsApiFetchUserFollowersRequest {
|
|
|
373
381
|
*
|
|
374
382
|
*
|
|
375
383
|
*
|
|
376
|
-
* @type {
|
|
384
|
+
* @type {'desc_chron' | 'algorithmic'}
|
|
377
385
|
* @memberof FollowsApiFetchUserFollowers
|
|
378
386
|
*/
|
|
379
|
-
readonly sortType?:
|
|
387
|
+
readonly sortType?: FetchUserFollowersSortTypeEnum;
|
|
380
388
|
/**
|
|
381
389
|
* Number of results to fetch (Default: 20, Maximum: 100)
|
|
382
390
|
*
|
|
@@ -395,15 +403,6 @@ export interface FollowsApiFetchUserFollowersRequest {
|
|
|
395
403
|
* @memberof FollowsApiFetchUserFollowers
|
|
396
404
|
*/
|
|
397
405
|
readonly cursor?: string;
|
|
398
|
-
/**
|
|
399
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
400
|
-
*
|
|
401
|
-
*
|
|
402
|
-
* @globalHeader
|
|
403
|
-
* @type {boolean}
|
|
404
|
-
* @memberof FollowsApiFetchUserFollowers
|
|
405
|
-
*/
|
|
406
|
-
readonly xNeynarExperimental?: boolean;
|
|
407
406
|
}
|
|
408
407
|
/**
|
|
409
408
|
* Request parameters for fetchUserFollowing operation in FollowsApi.
|
|
@@ -420,6 +419,15 @@ export interface FollowsApiFetchUserFollowingRequest {
|
|
|
420
419
|
* @memberof FollowsApiFetchUserFollowing
|
|
421
420
|
*/
|
|
422
421
|
readonly fid: number;
|
|
422
|
+
/**
|
|
423
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
424
|
+
*
|
|
425
|
+
*
|
|
426
|
+
* @globalHeader
|
|
427
|
+
* @type {boolean}
|
|
428
|
+
* @memberof FollowsApiFetchUserFollowing
|
|
429
|
+
*/
|
|
430
|
+
readonly xNeynarExperimental?: boolean;
|
|
423
431
|
/**
|
|
424
432
|
* Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
425
433
|
*
|
|
@@ -434,10 +442,10 @@ export interface FollowsApiFetchUserFollowingRequest {
|
|
|
434
442
|
*
|
|
435
443
|
*
|
|
436
444
|
*
|
|
437
|
-
* @type {
|
|
445
|
+
* @type {'desc_chron' | 'algorithmic'}
|
|
438
446
|
* @memberof FollowsApiFetchUserFollowing
|
|
439
447
|
*/
|
|
440
|
-
readonly sortType?:
|
|
448
|
+
readonly sortType?: FetchUserFollowingSortTypeEnum;
|
|
441
449
|
/**
|
|
442
450
|
* Number of results to fetch (Default: 25, Maximum: 100)
|
|
443
451
|
*
|
|
@@ -456,15 +464,6 @@ export interface FollowsApiFetchUserFollowingRequest {
|
|
|
456
464
|
* @memberof FollowsApiFetchUserFollowing
|
|
457
465
|
*/
|
|
458
466
|
readonly cursor?: string;
|
|
459
|
-
/**
|
|
460
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
461
|
-
*
|
|
462
|
-
*
|
|
463
|
-
* @globalHeader
|
|
464
|
-
* @type {boolean}
|
|
465
|
-
* @memberof FollowsApiFetchUserFollowing
|
|
466
|
-
*/
|
|
467
|
-
readonly xNeynarExperimental?: boolean;
|
|
468
467
|
}
|
|
469
468
|
/**
|
|
470
469
|
* FollowsApi - object-oriented interface
|
|
@@ -526,3 +525,19 @@ export declare class FollowsApi extends BaseAPI implements FollowsApiInterface {
|
|
|
526
525
|
*/
|
|
527
526
|
fetchUserFollowing(requestParameters: FollowsApiFetchUserFollowingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FollowersResponse, any>>;
|
|
528
527
|
}
|
|
528
|
+
/**
|
|
529
|
+
* @export
|
|
530
|
+
*/
|
|
531
|
+
export declare const FetchUserFollowersSortTypeEnum: {
|
|
532
|
+
readonly DescChron: "desc_chron";
|
|
533
|
+
readonly Algorithmic: "algorithmic";
|
|
534
|
+
};
|
|
535
|
+
export type FetchUserFollowersSortTypeEnum = typeof FetchUserFollowersSortTypeEnum[keyof typeof FetchUserFollowersSortTypeEnum];
|
|
536
|
+
/**
|
|
537
|
+
* @export
|
|
538
|
+
*/
|
|
539
|
+
export declare const FetchUserFollowingSortTypeEnum: {
|
|
540
|
+
readonly DescChron: "desc_chron";
|
|
541
|
+
readonly Algorithmic: "algorithmic";
|
|
542
|
+
};
|
|
543
|
+
export type FetchUserFollowingSortTypeEnum = typeof FetchUserFollowingSortTypeEnum[keyof typeof FetchUserFollowingSortTypeEnum];
|
|
@@ -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.FollowsApi = exports.FollowsApiFactory = exports.FollowsApiFp = exports.FollowsApiAxiosParamCreator = void 0;
|
|
19
|
+
exports.FetchUserFollowingSortTypeEnum = exports.FetchUserFollowersSortTypeEnum = exports.FollowsApi = exports.FollowsApiFactory = exports.FollowsApiFp = exports.FollowsApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -32,10 +32,10 @@ const FollowsApiAxiosParamCreator = function (configuration) {
|
|
|
32
32
|
/**
|
|
33
33
|
* Fetch a list of suggested users to follow. Used to help users discover new users to follow
|
|
34
34
|
* @summary Suggest Follows
|
|
35
|
-
* @param {number} fid FID of the user whose following you want to fetch.
|
|
36
|
-
* @param {number} [viewerFid] Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
37
|
-
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
35
|
+
* @param {number | null} fid FID of the user whose following you want to fetch.
|
|
38
36
|
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
37
|
+
* @param {number | null} [viewerFid] Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
38
|
+
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -43,10 +43,10 @@ const FollowsApiAxiosParamCreator = function (configuration) {
|
|
|
43
43
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-follow-suggestions)
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
46
|
-
fetchFollowSuggestions: async (fid, viewerFid, limit,
|
|
46
|
+
fetchFollowSuggestions: async (fid, xNeynarExperimental, viewerFid, limit, options = {}) => {
|
|
47
47
|
// verify required parameter 'fid' is not null or undefined
|
|
48
48
|
(0, common_1.assertParamExists)('fetchFollowSuggestions', 'fid', fid);
|
|
49
|
-
const localVarPath = `/farcaster/following/suggested
|
|
49
|
+
const localVarPath = `/v2/farcaster/following/suggested/`;
|
|
50
50
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
51
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
52
52
|
let baseOptions;
|
|
@@ -98,7 +98,7 @@ const FollowsApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
(0, common_1.assertParamExists)('fetchRelevantFollowers', 'targetFid', targetFid);
|
|
99
99
|
// verify required parameter 'viewerFid' is not null or undefined
|
|
100
100
|
(0, common_1.assertParamExists)('fetchRelevantFollowers', 'viewerFid', viewerFid);
|
|
101
|
-
const localVarPath = `/farcaster/followers/relevant
|
|
101
|
+
const localVarPath = `/v2/farcaster/followers/relevant/`;
|
|
102
102
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
103
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
104
104
|
let baseOptions;
|
|
@@ -133,11 +133,11 @@ const FollowsApiAxiosParamCreator = function (configuration) {
|
|
|
133
133
|
* Returns a list of followers for a specific FID.
|
|
134
134
|
* @summary Followers
|
|
135
135
|
* @param {number} fid User who\'s profile you are looking at
|
|
136
|
+
* @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.
|
|
136
137
|
* @param {number} [viewerFid] Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
137
|
-
* @param {
|
|
138
|
+
* @param {FetchUserFollowersSortTypeEnum} [sortType] Sort type for fetch followers. Default is `desc_chron`
|
|
138
139
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 100)
|
|
139
140
|
* @param {string} [cursor] Pagination cursor.
|
|
140
|
-
* @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.
|
|
141
141
|
* @param {*} [options] Override http request option.
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
* @returns {Promise<FollowersResponse>} A promise that resolves to a `FollowersResponse` object
|
|
@@ -145,10 +145,10 @@ const FollowsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-followers)
|
|
146
146
|
*
|
|
147
147
|
*/
|
|
148
|
-
fetchUserFollowers: async (fid, viewerFid, sortType, limit, cursor,
|
|
148
|
+
fetchUserFollowers: async (fid, xNeynarExperimental, viewerFid, sortType, limit, cursor, options = {}) => {
|
|
149
149
|
// verify required parameter 'fid' is not null or undefined
|
|
150
150
|
(0, common_1.assertParamExists)('fetchUserFollowers', 'fid', fid);
|
|
151
|
-
const localVarPath = `/farcaster/followers
|
|
151
|
+
const localVarPath = `/v2/farcaster/followers/`;
|
|
152
152
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
153
153
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
154
154
|
let baseOptions;
|
|
@@ -192,11 +192,11 @@ const FollowsApiAxiosParamCreator = function (configuration) {
|
|
|
192
192
|
* Fetch a list of users who a given user is following. Can optionally include a viewer_fid and sort_type.
|
|
193
193
|
* @summary Following
|
|
194
194
|
* @param {number} fid FID of the user whose following you want to fetch.
|
|
195
|
+
* @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.
|
|
195
196
|
* @param {number} [viewerFid] Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
196
|
-
* @param {
|
|
197
|
+
* @param {FetchUserFollowingSortTypeEnum} [sortType] Optional parameter to sort the users based on different criteria.
|
|
197
198
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
198
199
|
* @param {string} [cursor] Pagination cursor.
|
|
199
|
-
* @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.
|
|
200
200
|
* @param {*} [options] Override http request option.
|
|
201
201
|
* @throws {RequiredError}
|
|
202
202
|
* @returns {Promise<FollowersResponse>} A promise that resolves to a `FollowersResponse` object
|
|
@@ -204,10 +204,10 @@ const FollowsApiAxiosParamCreator = function (configuration) {
|
|
|
204
204
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-following)
|
|
205
205
|
*
|
|
206
206
|
*/
|
|
207
|
-
fetchUserFollowing: async (fid, viewerFid, sortType, limit, cursor,
|
|
207
|
+
fetchUserFollowing: async (fid, xNeynarExperimental, viewerFid, sortType, limit, cursor, options = {}) => {
|
|
208
208
|
// verify required parameter 'fid' is not null or undefined
|
|
209
209
|
(0, common_1.assertParamExists)('fetchUserFollowing', 'fid', fid);
|
|
210
|
-
const localVarPath = `/farcaster/following
|
|
210
|
+
const localVarPath = `/v2/farcaster/following/`;
|
|
211
211
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
212
212
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
213
213
|
let baseOptions;
|
|
@@ -260,10 +260,10 @@ const FollowsApiFp = function (configuration) {
|
|
|
260
260
|
/**
|
|
261
261
|
* Fetch a list of suggested users to follow. Used to help users discover new users to follow
|
|
262
262
|
* @summary Suggest Follows
|
|
263
|
-
* @param {number} fid FID of the user whose following you want to fetch.
|
|
264
|
-
* @param {number} [viewerFid] Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
265
|
-
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
263
|
+
* @param {number | null} fid FID of the user whose following you want to fetch.
|
|
266
264
|
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
265
|
+
* @param {number | null} [viewerFid] Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
266
|
+
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
267
267
|
* @param {*} [options] Override http request option.
|
|
268
268
|
* @throws {RequiredError}
|
|
269
269
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object
|
|
@@ -271,9 +271,9 @@ const FollowsApiFp = function (configuration) {
|
|
|
271
271
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-follow-suggestions)
|
|
272
272
|
*
|
|
273
273
|
*/
|
|
274
|
-
async fetchFollowSuggestions(fid, viewerFid, limit,
|
|
274
|
+
async fetchFollowSuggestions(fid, xNeynarExperimental, viewerFid, limit, options) {
|
|
275
275
|
var _a, _b, _c;
|
|
276
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFollowSuggestions(fid, viewerFid, limit,
|
|
276
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchFollowSuggestions(fid, xNeynarExperimental, viewerFid, limit, options);
|
|
277
277
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
278
278
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FollowsApi.fetchFollowSuggestions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
279
279
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -302,11 +302,11 @@ const FollowsApiFp = function (configuration) {
|
|
|
302
302
|
* Returns a list of followers for a specific FID.
|
|
303
303
|
* @summary Followers
|
|
304
304
|
* @param {number} fid User who\'s profile you are looking at
|
|
305
|
+
* @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.
|
|
305
306
|
* @param {number} [viewerFid] Providing this will return a list of followers that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
306
|
-
* @param {
|
|
307
|
+
* @param {FetchUserFollowersSortTypeEnum} [sortType] Sort type for fetch followers. Default is `desc_chron`
|
|
307
308
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 100)
|
|
308
309
|
* @param {string} [cursor] Pagination cursor.
|
|
309
|
-
* @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.
|
|
310
310
|
* @param {*} [options] Override http request option.
|
|
311
311
|
* @throws {RequiredError}
|
|
312
312
|
* @returns {Promise<FollowersResponse>} A promise that resolves to a `FollowersResponse` object
|
|
@@ -314,9 +314,9 @@ const FollowsApiFp = function (configuration) {
|
|
|
314
314
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-followers)
|
|
315
315
|
*
|
|
316
316
|
*/
|
|
317
|
-
async fetchUserFollowers(fid, viewerFid, sortType, limit, cursor,
|
|
317
|
+
async fetchUserFollowers(fid, xNeynarExperimental, viewerFid, sortType, limit, cursor, options) {
|
|
318
318
|
var _a, _b, _c;
|
|
319
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUserFollowers(fid, viewerFid, sortType, limit, cursor,
|
|
319
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUserFollowers(fid, xNeynarExperimental, viewerFid, sortType, limit, cursor, options);
|
|
320
320
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
321
321
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FollowsApi.fetchUserFollowers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
322
322
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -325,11 +325,11 @@ const FollowsApiFp = function (configuration) {
|
|
|
325
325
|
* Fetch a list of users who a given user is following. Can optionally include a viewer_fid and sort_type.
|
|
326
326
|
* @summary Following
|
|
327
327
|
* @param {number} fid FID of the user whose following you want to fetch.
|
|
328
|
+
* @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.
|
|
328
329
|
* @param {number} [viewerFid] Providing this will return a list of users that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
329
|
-
* @param {
|
|
330
|
+
* @param {FetchUserFollowingSortTypeEnum} [sortType] Optional parameter to sort the users based on different criteria.
|
|
330
331
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
331
332
|
* @param {string} [cursor] Pagination cursor.
|
|
332
|
-
* @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.
|
|
333
333
|
* @param {*} [options] Override http request option.
|
|
334
334
|
* @throws {RequiredError}
|
|
335
335
|
* @returns {Promise<FollowersResponse>} A promise that resolves to a `FollowersResponse` object
|
|
@@ -337,9 +337,9 @@ const FollowsApiFp = function (configuration) {
|
|
|
337
337
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-user-following)
|
|
338
338
|
*
|
|
339
339
|
*/
|
|
340
|
-
async fetchUserFollowing(fid, viewerFid, sortType, limit, cursor,
|
|
340
|
+
async fetchUserFollowing(fid, xNeynarExperimental, viewerFid, sortType, limit, cursor, options) {
|
|
341
341
|
var _a, _b, _c;
|
|
342
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUserFollowing(fid, viewerFid, sortType, limit, cursor,
|
|
342
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUserFollowing(fid, xNeynarExperimental, viewerFid, sortType, limit, cursor, options);
|
|
343
343
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
344
344
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FollowsApi.fetchUserFollowing']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
345
345
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -366,7 +366,7 @@ const FollowsApiFactory = function (configuration, basePath, axios) {
|
|
|
366
366
|
*
|
|
367
367
|
*/
|
|
368
368
|
fetchFollowSuggestions(requestParameters, options) {
|
|
369
|
-
return localVarFp.fetchFollowSuggestions(requestParameters.fid, requestParameters.
|
|
369
|
+
return localVarFp.fetchFollowSuggestions(requestParameters.fid, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
370
370
|
},
|
|
371
371
|
/**
|
|
372
372
|
* Returns a list of relevant followers for a specific FID. This usually shows on a profile as \"X, Y and Z follow this user\".
|
|
@@ -394,7 +394,7 @@ const FollowsApiFactory = function (configuration, basePath, axios) {
|
|
|
394
394
|
*
|
|
395
395
|
*/
|
|
396
396
|
fetchUserFollowers(requestParameters, options) {
|
|
397
|
-
return localVarFp.fetchUserFollowers(requestParameters.fid, requestParameters.viewerFid, requestParameters.sortType, requestParameters.limit, requestParameters.cursor,
|
|
397
|
+
return localVarFp.fetchUserFollowers(requestParameters.fid, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.sortType, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
398
398
|
},
|
|
399
399
|
/**
|
|
400
400
|
* Fetch a list of users who a given user is following. Can optionally include a viewer_fid and sort_type.
|
|
@@ -408,7 +408,7 @@ const FollowsApiFactory = function (configuration, basePath, axios) {
|
|
|
408
408
|
*
|
|
409
409
|
*/
|
|
410
410
|
fetchUserFollowing(requestParameters, options) {
|
|
411
|
-
return localVarFp.fetchUserFollowing(requestParameters.fid, requestParameters.viewerFid, requestParameters.sortType, requestParameters.limit, requestParameters.cursor,
|
|
411
|
+
return localVarFp.fetchUserFollowing(requestParameters.fid, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.sortType, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
412
412
|
},
|
|
413
413
|
};
|
|
414
414
|
};
|
|
@@ -433,7 +433,7 @@ class FollowsApi extends base_1.BaseAPI {
|
|
|
433
433
|
*
|
|
434
434
|
*/
|
|
435
435
|
fetchFollowSuggestions(requestParameters, options) {
|
|
436
|
-
return (0, exports.FollowsApiFp)(this.configuration).fetchFollowSuggestions(requestParameters.fid, requestParameters.
|
|
436
|
+
return (0, exports.FollowsApiFp)(this.configuration).fetchFollowSuggestions(requestParameters.fid, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
437
437
|
}
|
|
438
438
|
/**
|
|
439
439
|
* Returns a list of relevant followers for a specific FID. This usually shows on a profile as \"X, Y and Z follow this user\".
|
|
@@ -463,7 +463,7 @@ class FollowsApi extends base_1.BaseAPI {
|
|
|
463
463
|
*
|
|
464
464
|
*/
|
|
465
465
|
fetchUserFollowers(requestParameters, options) {
|
|
466
|
-
return (0, exports.FollowsApiFp)(this.configuration).fetchUserFollowers(requestParameters.fid, requestParameters.viewerFid, requestParameters.sortType, requestParameters.limit, requestParameters.cursor,
|
|
466
|
+
return (0, exports.FollowsApiFp)(this.configuration).fetchUserFollowers(requestParameters.fid, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.sortType, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
467
467
|
}
|
|
468
468
|
/**
|
|
469
469
|
* Fetch a list of users who a given user is following. Can optionally include a viewer_fid and sort_type.
|
|
@@ -478,7 +478,21 @@ class FollowsApi extends base_1.BaseAPI {
|
|
|
478
478
|
*
|
|
479
479
|
*/
|
|
480
480
|
fetchUserFollowing(requestParameters, options) {
|
|
481
|
-
return (0, exports.FollowsApiFp)(this.configuration).fetchUserFollowing(requestParameters.fid, requestParameters.viewerFid, requestParameters.sortType, requestParameters.limit, requestParameters.cursor,
|
|
481
|
+
return (0, exports.FollowsApiFp)(this.configuration).fetchUserFollowing(requestParameters.fid, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.sortType, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
exports.FollowsApi = FollowsApi;
|
|
485
|
+
/**
|
|
486
|
+
* @export
|
|
487
|
+
*/
|
|
488
|
+
exports.FetchUserFollowersSortTypeEnum = {
|
|
489
|
+
DescChron: 'desc_chron',
|
|
490
|
+
Algorithmic: 'algorithmic'
|
|
491
|
+
};
|
|
492
|
+
/**
|
|
493
|
+
* @export
|
|
494
|
+
*/
|
|
495
|
+
exports.FetchUserFollowingSortTypeEnum = {
|
|
496
|
+
DescChron: 'desc_chron',
|
|
497
|
+
Algorithmic: 'algorithmic'
|
|
498
|
+
};
|