@neynar/nodejs-sdk 2.13.1 → 2.17.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 +2 -1
- package/build/api/api.js +2 -1
- package/build/api/apis/action-api.d.ts +1 -1
- package/build/api/apis/action-api.js +1 -1
- package/build/api/apis/agents-api.d.ts +229 -0
- package/build/api/apis/agents-api.js +238 -0
- package/build/api/apis/ban-api.d.ts +1 -1
- package/build/api/apis/ban-api.js +1 -1
- package/build/api/apis/block-api.d.ts +1 -1
- package/build/api/apis/block-api.js +1 -1
- package/build/api/apis/cast-api.d.ts +23 -104
- package/build/api/apis/cast-api.js +20 -101
- package/build/api/apis/channel-api.d.ts +1 -1
- package/build/api/apis/channel-api.js +1 -1
- package/build/api/apis/feed-api.d.ts +14 -3
- package/build/api/apis/feed-api.js +11 -6
- package/build/api/apis/fname-api.d.ts +1 -1
- package/build/api/apis/fname-api.js +1 -1
- package/build/api/apis/follows-api.d.ts +11 -11
- package/build/api/apis/follows-api.js +9 -9
- package/build/api/apis/frame-api.d.ts +14 -3
- package/build/api/apis/frame-api.js +11 -6
- package/build/api/apis/login-api.d.ts +1 -1
- package/build/api/apis/login-api.js +1 -1
- package/build/api/apis/metrics-api.d.ts +1 -1
- package/build/api/apis/metrics-api.js +1 -1
- package/build/api/apis/mute-api.d.ts +1 -1
- package/build/api/apis/mute-api.js +1 -1
- package/build/api/apis/notifications-api.d.ts +40 -7
- package/build/api/apis/notifications-api.js +31 -16
- package/build/api/apis/onchain-api.d.ts +1 -1
- package/build/api/apis/onchain-api.js +1 -1
- package/build/api/apis/reaction-api.d.ts +1 -1
- package/build/api/apis/reaction-api.js +1 -1
- package/build/api/apis/signer-api.d.ts +1 -1
- package/build/api/apis/signer-api.js +1 -1
- package/build/api/apis/storage-api.d.ts +1 -1
- package/build/api/apis/storage-api.js +1 -1
- package/build/api/apis/subscribers-api.d.ts +1 -1
- package/build/api/apis/subscribers-api.js +1 -1
- package/build/api/apis/user-api.d.ts +1 -82
- package/build/api/apis/user-api.js +1 -82
- package/build/api/apis/webhook-api.d.ts +1 -1
- package/build/api/apis/webhook-api.js +1 -1
- package/build/api/base.d.ts +1 -1
- package/build/api/base.js +1 -1
- package/build/api/common.d.ts +1 -1
- package/build/api/common.js +1 -1
- package/build/api/configuration.d.ts +1 -1
- package/build/api/configuration.js +1 -1
- package/build/api/index.d.ts +1 -1
- package/build/api/index.js +1 -1
- package/build/api/models/add-verification-req-body.d.ts +1 -1
- package/build/api/models/add-verification-req-body.js +1 -1
- package/build/api/models/address-balance-verified-address.d.ts +1 -1
- package/build/api/models/address-balance-verified-address.js +1 -1
- package/build/api/models/address-balance.d.ts +1 -1
- package/build/api/models/address-balance.js +1 -1
- package/build/api/models/authorization-url-response-type.d.ts +1 -1
- package/build/api/models/authorization-url-response-type.js +1 -1
- package/build/api/models/authorization-url-response.d.ts +1 -1
- package/build/api/models/authorization-url-response.js +1 -1
- package/build/api/models/balance-response-user-balance.d.ts +1 -1
- package/build/api/models/balance-response-user-balance.js +1 -1
- package/build/api/models/balance-response.d.ts +1 -1
- package/build/api/models/balance-response.js +1 -1
- package/build/api/models/ban-list-response.d.ts +1 -1
- package/build/api/models/ban-list-response.js +1 -1
- package/build/api/models/ban-record.d.ts +1 -1
- package/build/api/models/ban-record.js +1 -1
- package/build/api/models/ban-req-body.d.ts +1 -1
- package/build/api/models/ban-req-body.js +1 -1
- package/build/api/models/ban-response.d.ts +1 -1
- package/build/api/models/ban-response.js +1 -1
- package/build/api/models/block-list-response.d.ts +1 -1
- package/build/api/models/block-list-response.js +1 -1
- package/build/api/models/block-record.d.ts +1 -1
- package/build/api/models/block-record.js +1 -1
- package/build/api/models/block-req-body.d.ts +1 -1
- package/build/api/models/block-req-body.js +1 -1
- package/build/api/models/bulk-casts-response.d.ts +1 -1
- package/build/api/models/bulk-casts-response.js +1 -1
- package/build/api/models/bulk-follow-response.d.ts +1 -1
- package/build/api/models/bulk-follow-response.js +1 -1
- package/build/api/models/bulk-user-address-type.d.ts +1 -1
- package/build/api/models/bulk-user-address-type.js +1 -1
- package/build/api/models/bulk-users-by-address-response.d.ts +1 -1
- package/build/api/models/bulk-users-by-address-response.js +1 -1
- package/build/api/models/bulk-users-response.d.ts +1 -1
- package/build/api/models/bulk-users-response.js +1 -1
- package/build/api/models/buy-storage-req-body.d.ts +1 -1
- package/build/api/models/buy-storage-req-body.js +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.js +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner.js +1 -1
- package/build/api/models/cast-composer-actions-list-response.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response.js +1 -1
- package/build/api/models/cast-composer-type.d.ts +1 -1
- package/build/api/models/cast-composer-type.js +1 -1
- package/build/api/models/cast-conversation-sort-type.d.ts +1 -1
- package/build/api/models/cast-conversation-sort-type.js +1 -1
- package/build/api/models/cast-dehydrated.d.ts +7 -1
- package/build/api/models/cast-dehydrated.js +1 -1
- package/build/api/models/cast-embed-crawl-response.d.ts +1 -1
- package/build/api/models/cast-embed-crawl-response.js +1 -1
- package/build/api/models/cast-embedded-parent-author.d.ts +1 -1
- package/build/api/models/cast-embedded-parent-author.js +1 -1
- package/build/api/models/cast-embedded.d.ts +7 -1
- package/build/api/models/cast-embedded.js +1 -1
- package/build/api/models/cast-id.d.ts +1 -1
- package/build/api/models/cast-id.js +1 -1
- package/build/api/models/cast-notification-type.d.ts +1 -1
- package/build/api/models/cast-notification-type.js +1 -1
- package/build/api/models/cast-param-type.d.ts +1 -1
- package/build/api/models/cast-param-type.js +1 -1
- package/build/api/models/cast-response.d.ts +1 -1
- package/build/api/models/cast-response.js +1 -1
- package/build/api/models/cast-text-range.d.ts +30 -0
- package/build/api/models/cast-text-range.js +15 -0
- package/build/api/models/cast-viewer-context.d.ts +1 -1
- package/build/api/models/cast-viewer-context.js +1 -1
- package/build/api/models/cast-with-interactions-all-of.d.ts +21 -1
- package/build/api/models/cast-with-interactions-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations.js +1 -1
- package/build/api/models/cast-with-interactions-reactions.d.ts +1 -1
- package/build/api/models/cast-with-interactions-reactions.js +1 -1
- package/build/api/models/cast-with-interactions-replies.d.ts +1 -1
- package/build/api/models/cast-with-interactions-replies.js +1 -1
- package/build/api/models/cast-with-interactions.d.ts +1 -1
- package/build/api/models/cast-with-interactions.js +1 -1
- package/build/api/models/cast.d.ts +1 -1
- package/build/api/models/cast.js +1 -1
- package/build/api/models/casts-metrics-response.d.ts +1 -1
- package/build/api/models/casts-metrics-response.js +1 -1
- package/build/api/models/casts-metrics.d.ts +1 -1
- package/build/api/models/casts-metrics.js +1 -1
- package/build/api/models/casts-response-result.d.ts +1 -1
- package/build/api/models/casts-response-result.js +1 -1
- package/build/api/models/casts-response.d.ts +1 -1
- package/build/api/models/casts-response.js +1 -1
- package/build/api/models/casts-search-response-result.d.ts +1 -1
- package/build/api/models/casts-search-response-result.js +1 -1
- package/build/api/models/casts-search-response.d.ts +1 -1
- package/build/api/models/casts-search-response.js +1 -1
- package/build/api/models/channel-activity.d.ts +1 -1
- package/build/api/models/channel-activity.js +1 -1
- package/build/api/models/channel-external-link.d.ts +1 -1
- package/build/api/models/channel-external-link.js +1 -1
- package/build/api/models/channel-follow-req-body.d.ts +1 -1
- package/build/api/models/channel-follow-req-body.js +1 -1
- package/build/api/models/channel-list-response.d.ts +1 -1
- package/build/api/models/channel-list-response.js +1 -1
- package/build/api/models/channel-member-channel.d.ts +1 -1
- package/build/api/models/channel-member-channel.js +1 -1
- package/build/api/models/channel-member-invite-list-response.d.ts +1 -1
- package/build/api/models/channel-member-invite-list-response.js +1 -1
- package/build/api/models/channel-member-invite.d.ts +1 -1
- package/build/api/models/channel-member-invite.js +1 -1
- package/build/api/models/channel-member-list-response.d.ts +1 -1
- package/build/api/models/channel-member-list-response.js +1 -1
- package/build/api/models/channel-member-role.d.ts +1 -1
- package/build/api/models/channel-member-role.js +1 -1
- package/build/api/models/channel-member-user.d.ts +1 -1
- package/build/api/models/channel-member-user.js +1 -1
- package/build/api/models/channel-member.d.ts +1 -1
- package/build/api/models/channel-member.js +1 -1
- package/build/api/models/channel-or-dehydrated-channel.d.ts +1 -1
- package/build/api/models/channel-or-dehydrated-channel.js +1 -1
- package/build/api/models/channel-response-bulk.d.ts +1 -1
- package/build/api/models/channel-response-bulk.js +1 -1
- package/build/api/models/channel-response.d.ts +1 -1
- package/build/api/models/channel-response.js +1 -1
- package/build/api/models/channel-search-response.d.ts +1 -1
- package/build/api/models/channel-search-response.js +1 -1
- package/build/api/models/channel-type.d.ts +1 -1
- package/build/api/models/channel-type.js +1 -1
- package/build/api/models/channel-user-context.d.ts +1 -1
- package/build/api/models/channel-user-context.js +1 -1
- package/build/api/models/channel.d.ts +1 -1
- package/build/api/models/channel.js +1 -1
- package/build/api/models/conflict-error-res.d.ts +1 -1
- package/build/api/models/conflict-error-res.js +1 -1
- package/build/api/models/conversation-conversation.d.ts +1 -1
- package/build/api/models/conversation-conversation.js +1 -1
- package/build/api/models/conversation-summary-summary.d.ts +1 -1
- package/build/api/models/conversation-summary-summary.js +1 -1
- package/build/api/models/conversation-summary.d.ts +1 -1
- package/build/api/models/conversation-summary.js +1 -1
- package/build/api/models/conversation.d.ts +1 -1
- package/build/api/models/conversation.js +1 -1
- package/build/api/models/dehydrated-channel.d.ts +1 -1
- package/build/api/models/dehydrated-channel.js +1 -1
- package/build/api/models/dehydrated-follower.d.ts +1 -1
- package/build/api/models/dehydrated-follower.js +1 -1
- package/build/api/models/delete-cast-req-body.d.ts +1 -1
- package/build/api/models/delete-cast-req-body.js +1 -1
- package/build/api/models/delete-frame-req-body.d.ts +1 -1
- package/build/api/models/delete-frame-req-body.js +1 -1
- package/build/api/models/delete-frame-response.d.ts +1 -1
- package/build/api/models/delete-frame-response.js +1 -1
- package/build/api/models/deploy-fungible-req-body-metadata-media.d.ts +1 -1
- package/build/api/models/deploy-fungible-req-body-metadata-media.js +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.js +1 -1
- package/build/api/models/deploy-fungible-response-contract.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract.js +1 -1
- package/build/api/models/deploy-fungible-response.d.ts +1 -1
- package/build/api/models/deploy-fungible-response.js +1 -1
- package/build/api/models/developer-managed-signer.d.ts +1 -1
- package/build/api/models/developer-managed-signer.js +1 -1
- package/build/api/models/embed-cast-deep.d.ts +1 -1
- package/build/api/models/embed-cast-deep.js +1 -1
- package/build/api/models/embed-cast.d.ts +1 -1
- package/build/api/models/embed-cast.js +1 -1
- package/build/api/models/embed-deep.d.ts +1 -1
- package/build/api/models/embed-deep.js +1 -1
- package/build/api/models/embed-type.d.ts +1 -1
- package/build/api/models/embed-type.js +1 -1
- package/build/api/models/embed-url-metadata-html-all-of-oembed.d.ts +1 -1
- package/build/api/models/embed-url-metadata-html-all-of-oembed.js +1 -1
- package/build/api/models/embed-url-metadata-html-all-of.d.ts +1 -1
- package/build/api/models/embed-url-metadata-html-all-of.js +1 -1
- package/build/api/models/embed-url-metadata-html.d.ts +1 -1
- package/build/api/models/embed-url-metadata-html.js +1 -1
- package/build/api/models/embed-url-metadata-image.d.ts +1 -1
- package/build/api/models/embed-url-metadata-image.js +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.js +1 -1
- package/build/api/models/embed-url-metadata-video.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video.js +1 -1
- package/build/api/models/embed-url-metadata.d.ts +1 -1
- package/build/api/models/embed-url-metadata.js +1 -1
- package/build/api/models/embed-url.d.ts +1 -1
- package/build/api/models/embed-url.js +1 -1
- package/build/api/models/embed.d.ts +1 -1
- package/build/api/models/embed.js +1 -1
- package/build/api/models/error-res.d.ts +1 -1
- package/build/api/models/error-res.js +1 -1
- package/build/api/models/farcaster-action-req-body-action.d.ts +1 -1
- package/build/api/models/farcaster-action-req-body-action.js +1 -1
- package/build/api/models/farcaster-action-req-body.d.ts +1 -1
- package/build/api/models/farcaster-action-req-body.js +1 -1
- package/build/api/models/farcaster-manifest-account-association.d.ts +1 -1
- package/build/api/models/farcaster-manifest-account-association.js +1 -1
- package/build/api/models/farcaster-manifest-frame.d.ts +1 -1
- package/build/api/models/farcaster-manifest-frame.js +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of.d.ts +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of.js +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of1.d.ts +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of1.js +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner.d.ts +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner.js +1 -1
- package/build/api/models/farcaster-manifest.d.ts +1 -1
- package/build/api/models/farcaster-manifest.js +1 -1
- package/build/api/models/feed-response.d.ts +1 -1
- package/build/api/models/feed-response.js +1 -1
- package/build/api/models/feed-trending-provider.d.ts +1 -1
- package/build/api/models/feed-trending-provider.js +1 -1
- package/build/api/models/feed-type.d.ts +1 -1
- package/build/api/models/feed-type.js +1 -1
- package/build/api/models/fetch-feed-for-you400-response.d.ts +1 -1
- package/build/api/models/fetch-feed-for-you400-response.js +1 -1
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.d.ts +1 -1
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +1 -1
- package/build/api/models/fetch-user-interactions200-response.d.ts +1 -1
- package/build/api/models/fetch-user-interactions200-response.js +1 -1
- package/build/api/models/fids.d.ts +1 -1
- package/build/api/models/fids.js +1 -1
- package/build/api/models/filter-type.d.ts +1 -1
- package/build/api/models/filter-type.js +1 -1
- package/build/api/models/fname-availability-response.d.ts +1 -1
- package/build/api/models/fname-availability-response.js +1 -1
- package/build/api/models/follow-req-body.d.ts +1 -1
- package/build/api/models/follow-req-body.js +1 -1
- package/build/api/models/follow-response.d.ts +1 -1
- package/build/api/models/follow-response.js +1 -1
- package/build/api/models/follow-sort-type.d.ts +1 -1
- package/build/api/models/follow-sort-type.js +1 -1
- package/build/api/models/follow.d.ts +1 -1
- package/build/api/models/follow.js +1 -1
- package/build/api/models/followers-response.d.ts +1 -1
- package/build/api/models/followers-response.js +1 -1
- package/build/api/models/for-you-provider.d.ts +1 -1
- package/build/api/models/for-you-provider.js +1 -1
- package/build/api/models/frame-action-button.d.ts +1 -1
- package/build/api/models/frame-action-button.js +1 -1
- package/build/api/models/frame-action-req-body.d.ts +1 -1
- package/build/api/models/frame-action-req-body.js +1 -1
- package/build/api/models/frame-action.d.ts +1 -1
- package/build/api/models/frame-action.js +1 -1
- package/build/api/models/frame-base.d.ts +1 -1
- package/build/api/models/frame-base.js +1 -1
- package/build/api/models/frame-button-action-type.d.ts +1 -1
- package/build/api/models/frame-button-action-type.js +1 -1
- package/build/api/models/frame-catalog-response.d.ts +1 -1
- package/build/api/models/frame-catalog-response.js +1 -1
- package/build/api/models/frame-developer-managed-action-req-body.d.ts +1 -1
- package/build/api/models/frame-developer-managed-action-req-body.js +1 -1
- package/build/api/models/frame-input.d.ts +1 -1
- package/build/api/models/frame-input.js +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +1 -1
- package/build/api/models/frame-notification-tokens.d.ts +1 -1
- package/build/api/models/frame-notification-tokens.js +1 -1
- package/build/api/models/frame-signature-packet-trusted-data.d.ts +1 -1
- package/build/api/models/frame-signature-packet-trusted-data.js +1 -1
- package/build/api/models/frame-signature-packet-untrusted-data.d.ts +1 -1
- package/build/api/models/frame-signature-packet-untrusted-data.js +1 -1
- package/build/api/models/frame-signature-packet.d.ts +1 -1
- package/build/api/models/frame-signature-packet.js +1 -1
- package/build/api/models/frame-state.d.ts +1 -1
- package/build/api/models/frame-state.js +1 -1
- package/build/api/models/frame-transaction.d.ts +1 -1
- package/build/api/models/frame-transaction.js +1 -1
- package/build/api/models/frame-type.d.ts +1 -1
- package/build/api/models/frame-type.js +1 -1
- package/build/api/models/frame-v1-all-of-input.d.ts +1 -1
- package/build/api/models/frame-v1-all-of-input.js +1 -1
- package/build/api/models/frame-v1-all-of-state.d.ts +1 -1
- package/build/api/models/frame-v1-all-of-state.js +1 -1
- package/build/api/models/frame-v1-all-of.d.ts +1 -1
- package/build/api/models/frame-v1-all-of.js +1 -1
- package/build/api/models/frame-v1.d.ts +1 -1
- package/build/api/models/frame-v1.js +1 -1
- package/build/api/models/frame-v2-all-of.d.ts +7 -1
- package/build/api/models/frame-v2-all-of.js +1 -1
- package/build/api/models/frame-v2.d.ts +1 -1
- package/build/api/models/frame-v2.js +1 -1
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-input-text.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-input-text.js +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast.js +1 -1
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-interactors.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactors.js +1 -1
- package/build/api/models/frame-validate-analytics-response.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-response.js +1 -1
- package/build/api/models/frame-validate-analytics-total-interactors.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-total-interactors.js +1 -1
- package/build/api/models/frame-validate-list-response.d.ts +1 -1
- package/build/api/models/frame-validate-list-response.js +1 -1
- package/build/api/models/frame.d.ts +1 -1
- package/build/api/models/frame.js +1 -1
- package/build/api/models/hydrated-follower.d.ts +1 -1
- package/build/api/models/hydrated-follower.js +1 -1
- package/build/api/models/image-object.d.ts +1 -1
- package/build/api/models/image-object.js +1 -1
- package/build/api/models/index.d.ts +1 -0
- package/build/api/models/index.js +1 -0
- package/build/api/models/invite-channel-member-req-body.d.ts +1 -1
- package/build/api/models/invite-channel-member-req-body.js +1 -1
- package/build/api/models/location-address.d.ts +1 -1
- package/build/api/models/location-address.js +1 -1
- package/build/api/models/location.d.ts +1 -1
- package/build/api/models/location.js +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.d.ts +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.js +1 -1
- package/build/api/models/mute-list-response.d.ts +1 -1
- package/build/api/models/mute-list-response.js +1 -1
- package/build/api/models/mute-record.d.ts +1 -1
- package/build/api/models/mute-record.js +1 -1
- package/build/api/models/mute-req-body.d.ts +1 -1
- package/build/api/models/mute-req-body.js +1 -1
- package/build/api/models/mute-response.d.ts +1 -1
- package/build/api/models/mute-response.js +1 -1
- package/build/api/models/networks.d.ts +1 -1
- package/build/api/models/networks.js +1 -1
- package/build/api/models/next-cursor.d.ts +1 -1
- package/build/api/models/next-cursor.js +1 -1
- package/build/api/models/neynar-frame-creation-req-body.d.ts +1 -1
- package/build/api/models/neynar-frame-creation-req-body.js +1 -1
- package/build/api/models/neynar-frame-page.d.ts +1 -1
- package/build/api/models/neynar-frame-page.js +1 -1
- package/build/api/models/neynar-frame-update-req-body.d.ts +1 -1
- package/build/api/models/neynar-frame-update-req-body.js +1 -1
- package/build/api/models/neynar-frame.d.ts +1 -1
- package/build/api/models/neynar-frame.js +1 -1
- package/build/api/models/neynar-next-frame-page-mint-url.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page-mint-url.js +1 -1
- package/build/api/models/neynar-next-frame-page-redirect.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page-redirect.js +1 -1
- package/build/api/models/neynar-next-frame-page.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page.js +1 -1
- package/build/api/models/neynar-page-button-next-page.d.ts +1 -1
- package/build/api/models/neynar-page-button-next-page.js +1 -1
- package/build/api/models/neynar-page-button.d.ts +1 -1
- package/build/api/models/neynar-page-button.js +1 -1
- package/build/api/models/neynar-page-image.d.ts +1 -1
- package/build/api/models/neynar-page-image.js +1 -1
- package/build/api/models/neynar-page-input-text.d.ts +1 -1
- package/build/api/models/neynar-page-input-text.js +1 -1
- package/build/api/models/neynar-page-input.d.ts +1 -1
- package/build/api/models/neynar-page-input.js +1 -1
- package/build/api/models/nonce-response.d.ts +1 -1
- package/build/api/models/nonce-response.js +1 -1
- package/build/api/models/notification-delivery.d.ts +1 -1
- package/build/api/models/notification-delivery.js +1 -1
- package/build/api/models/notification-type.d.ts +1 -1
- package/build/api/models/notification-type.js +1 -1
- package/build/api/models/notification.d.ts +1 -1
- package/build/api/models/notification.js +1 -1
- package/build/api/models/notifications-response.d.ts +1 -1
- package/build/api/models/notifications-response.js +1 -1
- package/build/api/models/oembed-data.d.ts +1 -1
- package/build/api/models/oembed-data.js +1 -1
- package/build/api/models/oembed-link-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-link-data-all-of.js +1 -1
- package/build/api/models/oembed-link-data.d.ts +1 -1
- package/build/api/models/oembed-link-data.js +1 -1
- package/build/api/models/oembed-photo-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-photo-data-all-of.js +1 -1
- package/build/api/models/oembed-photo-data.d.ts +1 -1
- package/build/api/models/oembed-photo-data.js +1 -1
- package/build/api/models/oembed-rich-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-rich-data-all-of.js +1 -1
- package/build/api/models/oembed-rich-data.d.ts +1 -1
- package/build/api/models/oembed-rich-data.js +1 -1
- package/build/api/models/oembed-video-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-video-data-all-of.js +1 -1
- package/build/api/models/oembed-video-data.d.ts +1 -1
- package/build/api/models/oembed-video-data.js +1 -1
- package/build/api/models/og-object.d.ts +1 -1
- package/build/api/models/og-object.js +1 -1
- package/build/api/models/operation-response.d.ts +1 -1
- package/build/api/models/operation-response.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +1 -1
- package/build/api/models/post-cast-req-body-embeds.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds.js +1 -1
- package/build/api/models/post-cast-req-body.d.ts +1 -1
- package/build/api/models/post-cast-req-body.js +1 -1
- package/build/api/models/post-cast-response-cast.d.ts +1 -1
- package/build/api/models/post-cast-response-cast.js +1 -1
- package/build/api/models/post-cast-response.d.ts +1 -1
- package/build/api/models/post-cast-response.js +1 -1
- package/build/api/models/profile-url-pfp.d.ts +1 -1
- package/build/api/models/profile-url-pfp.js +1 -1
- package/build/api/models/profile-url.d.ts +1 -1
- package/build/api/models/profile-url.js +1 -1
- package/build/api/models/reaction-for-cast.d.ts +1 -1
- package/build/api/models/reaction-for-cast.js +1 -1
- package/build/api/models/reaction-like.d.ts +1 -1
- package/build/api/models/reaction-like.js +1 -1
- package/build/api/models/reaction-recast.d.ts +1 -1
- package/build/api/models/reaction-recast.js +1 -1
- package/build/api/models/reaction-req-body.d.ts +1 -1
- package/build/api/models/reaction-req-body.js +1 -1
- package/build/api/models/reaction-type.d.ts +1 -1
- package/build/api/models/reaction-type.js +1 -1
- package/build/api/models/reaction-with-cast-info.d.ts +1 -1
- package/build/api/models/reaction-with-cast-info.js +1 -1
- package/build/api/models/reaction-with-user-info.d.ts +1 -1
- package/build/api/models/reaction-with-user-info.js +1 -1
- package/build/api/models/reactions-cast-response.d.ts +1 -1
- package/build/api/models/reactions-cast-response.js +1 -1
- package/build/api/models/reactions-response.d.ts +1 -1
- package/build/api/models/reactions-response.js +1 -1
- package/build/api/models/reactions-type.d.ts +1 -1
- package/build/api/models/reactions-type.js +1 -1
- package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +1 -1
- package/build/api/models/register-developer-managed-signed-key-req-body.js +1 -1
- package/build/api/models/register-signer-key-req-body.d.ts +1 -1
- package/build/api/models/register-signer-key-req-body.js +1 -1
- package/build/api/models/register-user-req-body-metadata.d.ts +1 -1
- package/build/api/models/register-user-req-body-metadata.js +1 -1
- package/build/api/models/register-user-req-body.d.ts +1 -1
- package/build/api/models/register-user-req-body.js +1 -1
- package/build/api/models/register-user-response.d.ts +1 -1
- package/build/api/models/register-user-response.js +1 -1
- package/build/api/models/relevant-followers-response.d.ts +1 -1
- package/build/api/models/relevant-followers-response.js +1 -1
- package/build/api/models/relevant-fungible-owners-response.d.ts +1 -1
- package/build/api/models/relevant-fungible-owners-response.js +1 -1
- package/build/api/models/remove-channel-member-req-body.d.ts +1 -1
- package/build/api/models/remove-channel-member-req-body.js +1 -1
- package/build/api/models/remove-verification-req-body.d.ts +1 -1
- package/build/api/models/remove-verification-req-body.js +1 -1
- package/build/api/models/respond-channel-invite-req-body.d.ts +1 -1
- package/build/api/models/respond-channel-invite-req-body.js +1 -1
- package/build/api/models/searched-user.d.ts +1 -1
- package/build/api/models/searched-user.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.js +1 -1
- package/build/api/models/send-frame-notifications-req-body.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body.js +1 -1
- package/build/api/models/send-frame-notifications-response.d.ts +1 -1
- package/build/api/models/send-frame-notifications-response.js +1 -1
- package/build/api/models/shared-signer-permission.d.ts +1 -1
- package/build/api/models/shared-signer-permission.js +1 -1
- package/build/api/models/signed-key-request-sponsor.d.ts +1 -1
- package/build/api/models/signed-key-request-sponsor.js +1 -1
- package/build/api/models/signer-list-response.d.ts +1 -1
- package/build/api/models/signer-list-response.js +1 -1
- package/build/api/models/signer.d.ts +1 -1
- package/build/api/models/signer.js +1 -1
- package/build/api/models/storage-allocation.d.ts +1 -1
- package/build/api/models/storage-allocation.js +1 -1
- package/build/api/models/storage-allocations-response.d.ts +1 -1
- package/build/api/models/storage-allocations-response.js +1 -1
- package/build/api/models/storage-object.d.ts +1 -1
- package/build/api/models/storage-object.js +1 -1
- package/build/api/models/storage-usage-response.d.ts +1 -1
- package/build/api/models/storage-usage-response.js +1 -1
- package/build/api/models/subscribed-to-all-of.d.ts +1 -1
- package/build/api/models/subscribed-to-all-of.js +1 -1
- package/build/api/models/subscribed-to-object.d.ts +1 -1
- package/build/api/models/subscribed-to-object.js +1 -1
- package/build/api/models/subscribed-to-response.d.ts +1 -1
- package/build/api/models/subscribed-to-response.js +1 -1
- package/build/api/models/subscribed-to.d.ts +1 -1
- package/build/api/models/subscribed-to.js +1 -1
- package/build/api/models/subscriber.d.ts +1 -1
- package/build/api/models/subscriber.js +1 -1
- package/build/api/models/subscribers-response.d.ts +1 -1
- package/build/api/models/subscribers-response.js +1 -1
- package/build/api/models/subscription-check-response.d.ts +1 -1
- package/build/api/models/subscription-check-response.js +1 -1
- package/build/api/models/subscription-metadata.d.ts +1 -1
- package/build/api/models/subscription-metadata.js +1 -1
- package/build/api/models/subscription-price.d.ts +1 -1
- package/build/api/models/subscription-price.js +1 -1
- package/build/api/models/subscription-provider.d.ts +1 -1
- package/build/api/models/subscription-provider.js +1 -1
- package/build/api/models/subscription-providers.d.ts +1 -1
- package/build/api/models/subscription-providers.js +1 -1
- package/build/api/models/subscription-status.d.ts +1 -1
- package/build/api/models/subscription-status.js +1 -1
- package/build/api/models/subscription-tier-price.d.ts +1 -1
- package/build/api/models/subscription-tier-price.js +1 -1
- package/build/api/models/subscription-tier.d.ts +1 -1
- package/build/api/models/subscription-tier.js +1 -1
- package/build/api/models/subscription-token.d.ts +1 -1
- package/build/api/models/subscription-token.js +1 -1
- package/build/api/models/subscription.d.ts +1 -1
- package/build/api/models/subscription.js +1 -1
- package/build/api/models/subscriptions-response.d.ts +1 -1
- package/build/api/models/subscriptions-response.js +1 -1
- package/build/api/models/subscriptions.d.ts +1 -1
- package/build/api/models/subscriptions.js +1 -1
- package/build/api/models/token-balance-balance.d.ts +1 -1
- package/build/api/models/token-balance-balance.js +1 -1
- package/build/api/models/token-balance-token.d.ts +1 -1
- package/build/api/models/token-balance-token.js +1 -1
- package/build/api/models/token-balance.d.ts +1 -1
- package/build/api/models/token-balance.js +1 -1
- package/build/api/models/trending-channel-response.d.ts +1 -1
- package/build/api/models/trending-channel-response.js +1 -1
- package/build/api/models/update-user-req-body-location.d.ts +1 -1
- package/build/api/models/update-user-req-body-location.js +1 -1
- package/build/api/models/update-user-req-body-verified-accounts.d.ts +1 -1
- package/build/api/models/update-user-req-body-verified-accounts.js +1 -1
- package/build/api/models/update-user-req-body.d.ts +1 -1
- package/build/api/models/update-user-req-body.js +1 -1
- package/build/api/models/user-dehydrated.d.ts +1 -1
- package/build/api/models/user-dehydrated.js +1 -1
- package/build/api/models/user-experimental.d.ts +1 -1
- package/build/api/models/user-experimental.js +1 -1
- package/build/api/models/user-fidresponse.d.ts +1 -1
- package/build/api/models/user-fidresponse.js +1 -1
- package/build/api/models/user-power-lite-response-result.d.ts +1 -1
- package/build/api/models/user-power-lite-response-result.js +1 -1
- package/build/api/models/user-power-lite-response.d.ts +1 -1
- package/build/api/models/user-power-lite-response.js +1 -1
- package/build/api/models/user-profile-bio.d.ts +1 -1
- package/build/api/models/user-profile-bio.js +1 -1
- package/build/api/models/user-profile.d.ts +1 -1
- package/build/api/models/user-profile.js +1 -1
- package/build/api/models/user-response.d.ts +1 -1
- package/build/api/models/user-response.js +1 -1
- package/build/api/models/user-search-response-result.d.ts +1 -1
- package/build/api/models/user-search-response-result.js +1 -1
- package/build/api/models/user-search-response.d.ts +1 -1
- package/build/api/models/user-search-response.js +1 -1
- package/build/api/models/user-verified-accounts-inner.d.ts +1 -1
- package/build/api/models/user-verified-accounts-inner.js +1 -1
- package/build/api/models/user-verified-addresses.d.ts +1 -1
- package/build/api/models/user-verified-addresses.js +1 -1
- package/build/api/models/user-viewer-context.d.ts +1 -1
- package/build/api/models/user-viewer-context.js +1 -1
- package/build/api/models/user.d.ts +1 -1
- package/build/api/models/user.js +1 -1
- package/build/api/models/users-active-channels-response.d.ts +1 -1
- package/build/api/models/users-active-channels-response.js +1 -1
- package/build/api/models/users-response.d.ts +1 -1
- package/build/api/models/users-response.js +1 -1
- package/build/api/models/validate-frame-action-req-body.d.ts +1 -1
- package/build/api/models/validate-frame-action-req-body.js +1 -1
- package/build/api/models/validate-frame-action-response.d.ts +1 -1
- package/build/api/models/validate-frame-action-response.js +1 -1
- package/build/api/models/validate-frame-aggregate-window.d.ts +1 -1
- package/build/api/models/validate-frame-aggregate-window.js +1 -1
- package/build/api/models/validate-frame-analytics-type.d.ts +1 -1
- package/build/api/models/validate-frame-analytics-type.js +1 -1
- package/build/api/models/validated-frame-action-signer.d.ts +1 -1
- package/build/api/models/validated-frame-action-signer.js +1 -1
- package/build/api/models/validated-frame-action-tapped-button.d.ts +1 -1
- package/build/api/models/validated-frame-action-tapped-button.js +1 -1
- package/build/api/models/validated-frame-action.d.ts +1 -1
- package/build/api/models/validated-frame-action.js +1 -1
- package/build/api/models/verification-chain-id.d.ts +1 -1
- package/build/api/models/verification-chain-id.js +1 -1
- package/build/api/models/verification-type.d.ts +1 -1
- package/build/api/models/verification-type.js +1 -1
- package/build/api/models/video-object.d.ts +1 -1
- package/build/api/models/video-object.js +1 -1
- package/build/api/models/webhook-delete-req-body.d.ts +1 -1
- package/build/api/models/webhook-delete-req-body.js +1 -1
- package/build/api/models/webhook-list-response.d.ts +1 -1
- package/build/api/models/webhook-list-response.js +1 -1
- package/build/api/models/webhook-patch-req-body.d.ts +1 -1
- package/build/api/models/webhook-patch-req-body.js +1 -1
- package/build/api/models/webhook-post-req-body.d.ts +1 -1
- package/build/api/models/webhook-post-req-body.js +1 -1
- package/build/api/models/webhook-put-req-body.d.ts +1 -1
- package/build/api/models/webhook-put-req-body.js +1 -1
- package/build/api/models/webhook-response.d.ts +1 -1
- package/build/api/models/webhook-response.js +1 -1
- package/build/api/models/webhook-secret.d.ts +1 -1
- package/build/api/models/webhook-secret.js +1 -1
- package/build/api/models/webhook-subscription-filters-cast.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-cast.js +1 -1
- package/build/api/models/webhook-subscription-filters-follow.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-follow.js +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.js +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.js +1 -1
- package/build/api/models/webhook-subscription-filters.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters.js +1 -1
- package/build/api/models/webhook-subscription.d.ts +1 -1
- package/build/api/models/webhook-subscription.js +1 -1
- package/build/api/models/webhook.d.ts +1 -1
- package/build/api/models/webhook.js +1 -1
- package/build/api/models/zod-error-errors-inner.d.ts +1 -1
- package/build/api/models/zod-error-errors-inner.js +1 -1
- package/build/api/models/zod-error.d.ts +1 -1
- package/build/api/models/zod-error.js +1 -1
- package/build/clients/NeynarAPIClient.d.ts +81 -64
- package/build/clients/NeynarAPIClient.js +85 -72
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.17.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -35,6 +35,7 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
35
35
|
* @param {number} fid FID of the user you you want to fetch notifications for. The response will respect this user\'s mutes and blocks.
|
|
36
36
|
* @param {Array<NotificationType>} [type] Notification type to fetch. Comma separated values of follows, recasts, likes, mentions, replies.
|
|
37
37
|
* @param {boolean} [priorityMode] When true, only returns notifications from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
38
|
+
* @param {number} [limit] Number of results to fetch (Default: 15, Maximum: 25)
|
|
38
39
|
* @param {string} [cursor] Pagination cursor.
|
|
39
40
|
* @param {*} [options] Override http request option.
|
|
40
41
|
* @throws {RequiredError}
|
|
@@ -43,7 +44,7 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
43
44
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-all-notifications)
|
|
44
45
|
*
|
|
45
46
|
*/
|
|
46
|
-
fetchAllNotifications: async (fid, type, priorityMode, cursor, options = {}) => {
|
|
47
|
+
fetchAllNotifications: async (fid, type, priorityMode, limit, cursor, options = {}) => {
|
|
47
48
|
// verify required parameter 'fid' is not null or undefined
|
|
48
49
|
(0, common_1.assertParamExists)('fetchAllNotifications', 'fid', fid);
|
|
49
50
|
const localVarPath = `/farcaster/notifications`;
|
|
@@ -67,6 +68,9 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
67
68
|
if (priorityMode !== undefined) {
|
|
68
69
|
localVarQueryParameter['priority_mode'] = priorityMode;
|
|
69
70
|
}
|
|
71
|
+
if (limit !== undefined) {
|
|
72
|
+
localVarQueryParameter['limit'] = limit;
|
|
73
|
+
}
|
|
70
74
|
if (cursor !== undefined) {
|
|
71
75
|
localVarQueryParameter['cursor'] = cursor;
|
|
72
76
|
}
|
|
@@ -84,6 +88,7 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
84
88
|
* @param {number} fid FID of the user you you want to fetch notifications for. The response will respect this user\'s mutes and blocks.
|
|
85
89
|
* @param {string} channelIds Comma separated channel_ids (find list of all channels here - https://docs.neynar.com/reference/list-all-channels)
|
|
86
90
|
* @param {boolean} [priorityMode] When true, only returns notifications from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
91
|
+
* @param {number} [limit] Number of results to fetch (Default: 15, Maximum: 25)
|
|
87
92
|
* @param {string} [cursor] Pagination cursor.
|
|
88
93
|
* @param {*} [options] Override http request option.
|
|
89
94
|
* @throws {RequiredError}
|
|
@@ -92,7 +97,7 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
92
97
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-channel-notifications-for-user)
|
|
93
98
|
*
|
|
94
99
|
*/
|
|
95
|
-
fetchChannelNotificationsForUser: async (fid, channelIds, priorityMode, cursor, options = {}) => {
|
|
100
|
+
fetchChannelNotificationsForUser: async (fid, channelIds, priorityMode, limit, cursor, options = {}) => {
|
|
96
101
|
// verify required parameter 'fid' is not null or undefined
|
|
97
102
|
(0, common_1.assertParamExists)('fetchChannelNotificationsForUser', 'fid', fid);
|
|
98
103
|
// verify required parameter 'channelIds' is not null or undefined
|
|
@@ -118,6 +123,9 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
118
123
|
if (priorityMode !== undefined) {
|
|
119
124
|
localVarQueryParameter['priority_mode'] = priorityMode;
|
|
120
125
|
}
|
|
126
|
+
if (limit !== undefined) {
|
|
127
|
+
localVarQueryParameter['limit'] = limit;
|
|
128
|
+
}
|
|
121
129
|
if (cursor !== undefined) {
|
|
122
130
|
localVarQueryParameter['cursor'] = cursor;
|
|
123
131
|
}
|
|
@@ -135,6 +143,7 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
135
143
|
* @param {number} fid FID of the user you you want to fetch notifications for. The response will respect this user\'s mutes and blocks.
|
|
136
144
|
* @param {string} parentUrls Comma separated parent_urls
|
|
137
145
|
* @param {boolean} [priorityMode] When true, only returns notifications from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
146
|
+
* @param {number} [limit] Number of results to fetch (Default: 15, Maximum: 25)
|
|
138
147
|
* @param {string} [cursor] Pagination cursor.
|
|
139
148
|
* @param {*} [options] Override http request option.
|
|
140
149
|
* @throws {RequiredError}
|
|
@@ -143,7 +152,7 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
143
152
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-notifications-by-parent-url-for-user)
|
|
144
153
|
*
|
|
145
154
|
*/
|
|
146
|
-
fetchNotificationsByParentUrlForUser: async (fid, parentUrls, priorityMode, cursor, options = {}) => {
|
|
155
|
+
fetchNotificationsByParentUrlForUser: async (fid, parentUrls, priorityMode, limit, cursor, options = {}) => {
|
|
147
156
|
// verify required parameter 'fid' is not null or undefined
|
|
148
157
|
(0, common_1.assertParamExists)('fetchNotificationsByParentUrlForUser', 'fid', fid);
|
|
149
158
|
// verify required parameter 'parentUrls' is not null or undefined
|
|
@@ -169,6 +178,9 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
169
178
|
if (priorityMode !== undefined) {
|
|
170
179
|
localVarQueryParameter['priority_mode'] = priorityMode;
|
|
171
180
|
}
|
|
181
|
+
if (limit !== undefined) {
|
|
182
|
+
localVarQueryParameter['limit'] = limit;
|
|
183
|
+
}
|
|
172
184
|
if (cursor !== undefined) {
|
|
173
185
|
localVarQueryParameter['cursor'] = cursor;
|
|
174
186
|
}
|
|
@@ -232,6 +244,7 @@ const NotificationsApiFp = function (configuration) {
|
|
|
232
244
|
* @param {number} fid FID of the user you you want to fetch notifications for. The response will respect this user\'s mutes and blocks.
|
|
233
245
|
* @param {Array<NotificationType>} [type] Notification type to fetch. Comma separated values of follows, recasts, likes, mentions, replies.
|
|
234
246
|
* @param {boolean} [priorityMode] When true, only returns notifications from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
247
|
+
* @param {number} [limit] Number of results to fetch (Default: 15, Maximum: 25)
|
|
235
248
|
* @param {string} [cursor] Pagination cursor.
|
|
236
249
|
* @param {*} [options] Override http request option.
|
|
237
250
|
* @throws {RequiredError}
|
|
@@ -240,9 +253,9 @@ const NotificationsApiFp = function (configuration) {
|
|
|
240
253
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-all-notifications)
|
|
241
254
|
*
|
|
242
255
|
*/
|
|
243
|
-
async fetchAllNotifications(fid, type, priorityMode, cursor, options) {
|
|
256
|
+
async fetchAllNotifications(fid, type, priorityMode, limit, cursor, options) {
|
|
244
257
|
var _a, _b, _c;
|
|
245
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchAllNotifications(fid, type, priorityMode, cursor, options);
|
|
258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchAllNotifications(fid, type, priorityMode, limit, cursor, options);
|
|
246
259
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
247
260
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.fetchAllNotifications']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
248
261
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -253,6 +266,7 @@ const NotificationsApiFp = function (configuration) {
|
|
|
253
266
|
* @param {number} fid FID of the user you you want to fetch notifications for. The response will respect this user\'s mutes and blocks.
|
|
254
267
|
* @param {string} channelIds Comma separated channel_ids (find list of all channels here - https://docs.neynar.com/reference/list-all-channels)
|
|
255
268
|
* @param {boolean} [priorityMode] When true, only returns notifications from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
269
|
+
* @param {number} [limit] Number of results to fetch (Default: 15, Maximum: 25)
|
|
256
270
|
* @param {string} [cursor] Pagination cursor.
|
|
257
271
|
* @param {*} [options] Override http request option.
|
|
258
272
|
* @throws {RequiredError}
|
|
@@ -261,9 +275,9 @@ const NotificationsApiFp = function (configuration) {
|
|
|
261
275
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-channel-notifications-for-user)
|
|
262
276
|
*
|
|
263
277
|
*/
|
|
264
|
-
async fetchChannelNotificationsForUser(fid, channelIds, priorityMode, cursor, options) {
|
|
278
|
+
async fetchChannelNotificationsForUser(fid, channelIds, priorityMode, limit, cursor, options) {
|
|
265
279
|
var _a, _b, _c;
|
|
266
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchChannelNotificationsForUser(fid, channelIds, priorityMode, cursor, options);
|
|
280
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchChannelNotificationsForUser(fid, channelIds, priorityMode, limit, cursor, options);
|
|
267
281
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
268
282
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.fetchChannelNotificationsForUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
269
283
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -274,6 +288,7 @@ const NotificationsApiFp = function (configuration) {
|
|
|
274
288
|
* @param {number} fid FID of the user you you want to fetch notifications for. The response will respect this user\'s mutes and blocks.
|
|
275
289
|
* @param {string} parentUrls Comma separated parent_urls
|
|
276
290
|
* @param {boolean} [priorityMode] When true, only returns notifications from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
291
|
+
* @param {number} [limit] Number of results to fetch (Default: 15, Maximum: 25)
|
|
277
292
|
* @param {string} [cursor] Pagination cursor.
|
|
278
293
|
* @param {*} [options] Override http request option.
|
|
279
294
|
* @throws {RequiredError}
|
|
@@ -282,9 +297,9 @@ const NotificationsApiFp = function (configuration) {
|
|
|
282
297
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-notifications-by-parent-url-for-user)
|
|
283
298
|
*
|
|
284
299
|
*/
|
|
285
|
-
async fetchNotificationsByParentUrlForUser(fid, parentUrls, priorityMode, cursor, options) {
|
|
300
|
+
async fetchNotificationsByParentUrlForUser(fid, parentUrls, priorityMode, limit, cursor, options) {
|
|
286
301
|
var _a, _b, _c;
|
|
287
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchNotificationsByParentUrlForUser(fid, parentUrls, priorityMode, cursor, options);
|
|
302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchNotificationsByParentUrlForUser(fid, parentUrls, priorityMode, limit, cursor, options);
|
|
288
303
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
289
304
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.fetchNotificationsByParentUrlForUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
290
305
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -329,7 +344,7 @@ const NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
329
344
|
*
|
|
330
345
|
*/
|
|
331
346
|
fetchAllNotifications(requestParameters, options) {
|
|
332
|
-
return localVarFp.fetchAllNotifications(requestParameters.fid, requestParameters.type, requestParameters.priorityMode, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
347
|
+
return localVarFp.fetchAllNotifications(requestParameters.fid, requestParameters.type, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
333
348
|
},
|
|
334
349
|
/**
|
|
335
350
|
* Returns a list of notifications for a user in specific channels
|
|
@@ -343,7 +358,7 @@ const NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
343
358
|
*
|
|
344
359
|
*/
|
|
345
360
|
fetchChannelNotificationsForUser(requestParameters, options) {
|
|
346
|
-
return localVarFp.fetchChannelNotificationsForUser(requestParameters.fid, requestParameters.channelIds, requestParameters.priorityMode, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
361
|
+
return localVarFp.fetchChannelNotificationsForUser(requestParameters.fid, requestParameters.channelIds, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
347
362
|
},
|
|
348
363
|
/**
|
|
349
364
|
* Returns a list of notifications for a user in specific parent_urls
|
|
@@ -357,7 +372,7 @@ const NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
357
372
|
*
|
|
358
373
|
*/
|
|
359
374
|
fetchNotificationsByParentUrlForUser(requestParameters, options) {
|
|
360
|
-
return localVarFp.fetchNotificationsByParentUrlForUser(requestParameters.fid, requestParameters.parentUrls, requestParameters.priorityMode, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
375
|
+
return localVarFp.fetchNotificationsByParentUrlForUser(requestParameters.fid, requestParameters.parentUrls, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
361
376
|
},
|
|
362
377
|
/**
|
|
363
378
|
* Mark notifications as seen
|
|
@@ -396,7 +411,7 @@ class NotificationsApi extends base_1.BaseAPI {
|
|
|
396
411
|
*
|
|
397
412
|
*/
|
|
398
413
|
fetchAllNotifications(requestParameters, options) {
|
|
399
|
-
return (0, exports.NotificationsApiFp)(this.configuration).fetchAllNotifications(requestParameters.fid, requestParameters.type, requestParameters.priorityMode, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
414
|
+
return (0, exports.NotificationsApiFp)(this.configuration).fetchAllNotifications(requestParameters.fid, requestParameters.type, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
400
415
|
}
|
|
401
416
|
/**
|
|
402
417
|
* Returns a list of notifications for a user in specific channels
|
|
@@ -411,7 +426,7 @@ class NotificationsApi extends base_1.BaseAPI {
|
|
|
411
426
|
*
|
|
412
427
|
*/
|
|
413
428
|
fetchChannelNotificationsForUser(requestParameters, options) {
|
|
414
|
-
return (0, exports.NotificationsApiFp)(this.configuration).fetchChannelNotificationsForUser(requestParameters.fid, requestParameters.channelIds, requestParameters.priorityMode, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
429
|
+
return (0, exports.NotificationsApiFp)(this.configuration).fetchChannelNotificationsForUser(requestParameters.fid, requestParameters.channelIds, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
415
430
|
}
|
|
416
431
|
/**
|
|
417
432
|
* Returns a list of notifications for a user in specific parent_urls
|
|
@@ -426,7 +441,7 @@ class NotificationsApi extends base_1.BaseAPI {
|
|
|
426
441
|
*
|
|
427
442
|
*/
|
|
428
443
|
fetchNotificationsByParentUrlForUser(requestParameters, options) {
|
|
429
|
-
return (0, exports.NotificationsApiFp)(this.configuration).fetchNotificationsByParentUrlForUser(requestParameters.fid, requestParameters.parentUrls, requestParameters.priorityMode, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
444
|
+
return (0, exports.NotificationsApiFp)(this.configuration).fetchNotificationsByParentUrlForUser(requestParameters.fid, requestParameters.parentUrls, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
430
445
|
}
|
|
431
446
|
/**
|
|
432
447
|
* Mark notifications as seen
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster API V2
|
|
3
3
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.17.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster API V2
|
|
3
3
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.17.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster API V2
|
|
3
3
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.17.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster API V2
|
|
3
3
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.17.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster API V2
|
|
3
3
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.17.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster API V2
|
|
3
3
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,9 +17,7 @@ import type { BulkFollowResponse } from '../models';
|
|
|
17
17
|
import type { BulkUserAddressType } from '../models';
|
|
18
18
|
import type { BulkUsersByAddressResponse } from '../models';
|
|
19
19
|
import type { BulkUsersResponse } from '../models';
|
|
20
|
-
import type { FetchUserInteractions200Response } from '../models';
|
|
21
20
|
import type { FollowReqBody } from '../models';
|
|
22
|
-
import type { NotificationType } from '../models';
|
|
23
21
|
import type { OperationResponse } from '../models';
|
|
24
22
|
import type { RegisterUserReqBody } from '../models';
|
|
25
23
|
import type { RegisterUserResponse } from '../models';
|
|
@@ -103,17 +101,6 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
103
101
|
*
|
|
104
102
|
*/
|
|
105
103
|
fetchPowerUsersLite: (xNeynarExperimental?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
106
|
-
/**
|
|
107
|
-
* Returns a list of interactions between two users
|
|
108
|
-
* @summary User interactions
|
|
109
|
-
* @param {string} fids Comma separated list of two FIDs
|
|
110
|
-
* @param {Array<NotificationType>} [type] Comma seperated list of Interaction type to fetch
|
|
111
|
-
* @param {*} [options] Override http request option.
|
|
112
|
-
* @throws {RequiredError}
|
|
113
|
-
* @returns {Promise<FetchUserInteractions200Response>} A promise that resolves to a `FetchUserInteractions200Response` object
|
|
114
|
-
*
|
|
115
|
-
*/
|
|
116
|
-
fetchUserInteractions: (fids: string, type?: Array<NotificationType>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
117
104
|
/**
|
|
118
105
|
* Fetches a list of users given a location
|
|
119
106
|
* @summary By location
|
|
@@ -319,17 +306,6 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
319
306
|
*
|
|
320
307
|
*/
|
|
321
308
|
fetchPowerUsersLite(xNeynarExperimental?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPowerLiteResponse>>;
|
|
322
|
-
/**
|
|
323
|
-
* Returns a list of interactions between two users
|
|
324
|
-
* @summary User interactions
|
|
325
|
-
* @param {string} fids Comma separated list of two FIDs
|
|
326
|
-
* @param {Array<NotificationType>} [type] Comma seperated list of Interaction type to fetch
|
|
327
|
-
* @param {*} [options] Override http request option.
|
|
328
|
-
* @throws {RequiredError}
|
|
329
|
-
* @returns {Promise<FetchUserInteractions200Response>} A promise that resolves to a `FetchUserInteractions200Response` object
|
|
330
|
-
*
|
|
331
|
-
*/
|
|
332
|
-
fetchUserInteractions(fids: string, type?: Array<NotificationType>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FetchUserInteractions200Response>>;
|
|
333
309
|
/**
|
|
334
310
|
* Fetches a list of users given a location
|
|
335
311
|
* @summary By location
|
|
@@ -527,16 +503,6 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
527
503
|
*
|
|
528
504
|
*/
|
|
529
505
|
fetchPowerUsersLite(requestParameters?: UserApiFetchPowerUsersLiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserPowerLiteResponse>;
|
|
530
|
-
/**
|
|
531
|
-
* Returns a list of interactions between two users
|
|
532
|
-
* @summary User interactions
|
|
533
|
-
* @param {UserApiFetchUserInteractionsRequest} requestParameters Request parameters.
|
|
534
|
-
* @param {*} [options] Override http request option.
|
|
535
|
-
* @throws {RequiredError}
|
|
536
|
-
* @returns {Promise<FetchUserInteractions200Response>} A promise that resolves to a `FetchUserInteractions200Response` object
|
|
537
|
-
*
|
|
538
|
-
*/
|
|
539
|
-
fetchUserInteractions(requestParameters: UserApiFetchUserInteractionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<FetchUserInteractions200Response>;
|
|
540
506
|
/**
|
|
541
507
|
* Fetches a list of users given a location
|
|
542
508
|
* @summary By location
|
|
@@ -729,17 +695,6 @@ export interface UserApiInterface {
|
|
|
729
695
|
*
|
|
730
696
|
*/
|
|
731
697
|
fetchPowerUsersLite(requestParameters?: UserApiFetchPowerUsersLiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserPowerLiteResponse>;
|
|
732
|
-
/**
|
|
733
|
-
* Returns a list of interactions between two users
|
|
734
|
-
* @summary User interactions
|
|
735
|
-
* @param {UserApiFetchUserInteractionsRequest} requestParameters Request parameters.
|
|
736
|
-
* @param {*} [options] Override http request option.
|
|
737
|
-
* @throws {RequiredError}
|
|
738
|
-
* @memberof UserApiInterface
|
|
739
|
-
* @returns {Promise<FetchUserInteractions200Response>} A promise that resolves to a `FetchUserInteractions200Response` object
|
|
740
|
-
*
|
|
741
|
-
*/
|
|
742
|
-
fetchUserInteractions(requestParameters: UserApiFetchUserInteractionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<FetchUserInteractions200Response>;
|
|
743
698
|
/**
|
|
744
699
|
* Fetches a list of users given a location
|
|
745
700
|
* @summary By location
|
|
@@ -1023,31 +978,6 @@ export interface UserApiFetchPowerUsersLiteRequest {
|
|
|
1023
978
|
*/
|
|
1024
979
|
readonly xNeynarExperimental?: boolean;
|
|
1025
980
|
}
|
|
1026
|
-
/**
|
|
1027
|
-
* Request parameters for fetchUserInteractions operation in UserApi.
|
|
1028
|
-
* @export
|
|
1029
|
-
* @interface UserApiFetchUserInteractionsRequest
|
|
1030
|
-
*/
|
|
1031
|
-
export interface UserApiFetchUserInteractionsRequest {
|
|
1032
|
-
/**
|
|
1033
|
-
* Comma separated list of two FIDs
|
|
1034
|
-
* @acceptAs integer
|
|
1035
|
-
* @commaSeparated
|
|
1036
|
-
*
|
|
1037
|
-
* @type {string}
|
|
1038
|
-
* @memberof UserApiFetchUserInteractions
|
|
1039
|
-
*/
|
|
1040
|
-
readonly fids: string;
|
|
1041
|
-
/**
|
|
1042
|
-
* Comma seperated list of Interaction type to fetch
|
|
1043
|
-
*
|
|
1044
|
-
*
|
|
1045
|
-
*
|
|
1046
|
-
* @type {Array<NotificationType>}
|
|
1047
|
-
* @memberof UserApiFetchUserInteractions
|
|
1048
|
-
*/
|
|
1049
|
-
readonly type?: Array<NotificationType>;
|
|
1050
|
-
}
|
|
1051
981
|
/**
|
|
1052
982
|
* Request parameters for fetchUsersByLocation operation in UserApi.
|
|
1053
983
|
* @export
|
|
@@ -1379,17 +1309,6 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
1379
1309
|
*
|
|
1380
1310
|
*/
|
|
1381
1311
|
fetchPowerUsersLite(requestParameters?: UserApiFetchPowerUsersLiteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPowerLiteResponse, any>>;
|
|
1382
|
-
/**
|
|
1383
|
-
* Returns a list of interactions between two users
|
|
1384
|
-
* @summary User interactions
|
|
1385
|
-
* @param {UserApiFetchUserInteractionsRequest} requestParameters Request parameters.
|
|
1386
|
-
* @param {*} [options] Override http request option.
|
|
1387
|
-
* @throws {RequiredError}
|
|
1388
|
-
* @memberof UserApi
|
|
1389
|
-
* @returns {Promise<FetchUserInteractions200Response>} A promise that resolves to a `FetchUserInteractions200Response` object
|
|
1390
|
-
*
|
|
1391
|
-
*/
|
|
1392
|
-
fetchUserInteractions(requestParameters: UserApiFetchUserInteractionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FetchUserInteractions200Response, any>>;
|
|
1393
1312
|
/**
|
|
1394
1313
|
* Fetches a list of users given a location
|
|
1395
1314
|
* @summary By location
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.17.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -249,45 +249,6 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
249
249
|
options: localVarRequestOptions,
|
|
250
250
|
};
|
|
251
251
|
},
|
|
252
|
-
/**
|
|
253
|
-
* Returns a list of interactions between two users
|
|
254
|
-
* @summary User interactions
|
|
255
|
-
* @param {string} fids Comma separated list of two FIDs
|
|
256
|
-
* @param {Array<NotificationType>} [type] Comma seperated list of Interaction type to fetch
|
|
257
|
-
* @param {*} [options] Override http request option.
|
|
258
|
-
* @throws {RequiredError}
|
|
259
|
-
* @returns {Promise<FetchUserInteractions200Response>} A promise that resolves to a `FetchUserInteractions200Response` object
|
|
260
|
-
*
|
|
261
|
-
*/
|
|
262
|
-
fetchUserInteractions: async (fids, type, options = {}) => {
|
|
263
|
-
// verify required parameter 'fids' is not null or undefined
|
|
264
|
-
(0, common_1.assertParamExists)('fetchUserInteractions', 'fids', fids);
|
|
265
|
-
const localVarPath = `/farcaster/user/interactions`;
|
|
266
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
267
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
268
|
-
let baseOptions;
|
|
269
|
-
if (configuration) {
|
|
270
|
-
baseOptions = configuration.baseOptions;
|
|
271
|
-
}
|
|
272
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
273
|
-
const localVarHeaderParameter = {};
|
|
274
|
-
const localVarQueryParameter = {};
|
|
275
|
-
// authentication ApiKeyAuth required
|
|
276
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
277
|
-
if (fids !== undefined) {
|
|
278
|
-
localVarQueryParameter['fids'] = fids;
|
|
279
|
-
}
|
|
280
|
-
if (type) {
|
|
281
|
-
localVarQueryParameter['type'] = type.join(base_1.COLLECTION_FORMATS.csv);
|
|
282
|
-
}
|
|
283
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
284
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
285
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
286
|
-
return {
|
|
287
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
288
|
-
options: localVarRequestOptions,
|
|
289
|
-
};
|
|
290
|
-
},
|
|
291
252
|
/**
|
|
292
253
|
* Fetches a list of users given a location
|
|
293
254
|
* @summary By location
|
|
@@ -813,23 +774,6 @@ const UserApiFp = function (configuration) {
|
|
|
813
774
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.fetchPowerUsersLite']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
814
775
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
815
776
|
},
|
|
816
|
-
/**
|
|
817
|
-
* Returns a list of interactions between two users
|
|
818
|
-
* @summary User interactions
|
|
819
|
-
* @param {string} fids Comma separated list of two FIDs
|
|
820
|
-
* @param {Array<NotificationType>} [type] Comma seperated list of Interaction type to fetch
|
|
821
|
-
* @param {*} [options] Override http request option.
|
|
822
|
-
* @throws {RequiredError}
|
|
823
|
-
* @returns {Promise<FetchUserInteractions200Response>} A promise that resolves to a `FetchUserInteractions200Response` object
|
|
824
|
-
*
|
|
825
|
-
*/
|
|
826
|
-
async fetchUserInteractions(fids, type, options) {
|
|
827
|
-
var _a, _b, _c;
|
|
828
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchUserInteractions(fids, type, options);
|
|
829
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
830
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.fetchUserInteractions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
831
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
832
|
-
},
|
|
833
777
|
/**
|
|
834
778
|
* Fetches a list of users given a location
|
|
835
779
|
* @summary By location
|
|
@@ -1101,18 +1045,6 @@ const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1101
1045
|
fetchPowerUsersLite(requestParameters = {}, options) {
|
|
1102
1046
|
return localVarFp.fetchPowerUsersLite(requestParameters.xNeynarExperimental, options).then((request) => request(axios, basePath));
|
|
1103
1047
|
},
|
|
1104
|
-
/**
|
|
1105
|
-
* Returns a list of interactions between two users
|
|
1106
|
-
* @summary User interactions
|
|
1107
|
-
* @param {UserApiFetchUserInteractionsRequest} requestParameters Request parameters.
|
|
1108
|
-
* @param {*} [options] Override http request option.
|
|
1109
|
-
* @throws {RequiredError}
|
|
1110
|
-
* @returns {Promise<FetchUserInteractions200Response>} A promise that resolves to a `FetchUserInteractions200Response` object
|
|
1111
|
-
*
|
|
1112
|
-
*/
|
|
1113
|
-
fetchUserInteractions(requestParameters, options) {
|
|
1114
|
-
return localVarFp.fetchUserInteractions(requestParameters.fids, requestParameters.type, options).then((request) => request(axios, basePath));
|
|
1115
|
-
},
|
|
1116
1048
|
/**
|
|
1117
1049
|
* Fetches a list of users given a location
|
|
1118
1050
|
* @summary By location
|
|
@@ -1338,19 +1270,6 @@ class UserApi extends base_1.BaseAPI {
|
|
|
1338
1270
|
fetchPowerUsersLite(requestParameters = {}, options) {
|
|
1339
1271
|
return (0, exports.UserApiFp)(this.configuration).fetchPowerUsersLite(requestParameters.xNeynarExperimental, options).then((request) => request(this.axios, this.basePath));
|
|
1340
1272
|
}
|
|
1341
|
-
/**
|
|
1342
|
-
* Returns a list of interactions between two users
|
|
1343
|
-
* @summary User interactions
|
|
1344
|
-
* @param {UserApiFetchUserInteractionsRequest} requestParameters Request parameters.
|
|
1345
|
-
* @param {*} [options] Override http request option.
|
|
1346
|
-
* @throws {RequiredError}
|
|
1347
|
-
* @memberof UserApi
|
|
1348
|
-
* @returns {Promise<FetchUserInteractions200Response>} A promise that resolves to a `FetchUserInteractions200Response` object
|
|
1349
|
-
*
|
|
1350
|
-
*/
|
|
1351
|
-
fetchUserInteractions(requestParameters, options) {
|
|
1352
|
-
return (0, exports.UserApiFp)(this.configuration).fetchUserInteractions(requestParameters.fids, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
1353
|
-
}
|
|
1354
1273
|
/**
|
|
1355
1274
|
* Fetches a list of users given a location
|
|
1356
1275
|
* @summary By location
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster API V2
|
|
3
3
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.17.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/build/api/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster API V2
|
|
3
3
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/build/api/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.17.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/build/api/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster API V2
|
|
3
3
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/build/api/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.17.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster API V2
|
|
3
3
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster API V2
|
|
6
6
|
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.17.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|