@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
|
@@ -31,6 +31,7 @@ const configuration_1 = require("../api/configuration");
|
|
|
31
31
|
const constants_1 = require("../common/constants");
|
|
32
32
|
const utils_1 = require("../utils");
|
|
33
33
|
const action_api_1 = require("../api/apis/action-api");
|
|
34
|
+
const agents_api_1 = require("../api/apis/agents-api");
|
|
34
35
|
const ban_api_1 = require("../api/apis/ban-api");
|
|
35
36
|
const block_api_1 = require("../api/apis/block-api");
|
|
36
37
|
const cast_api_1 = require("../api/apis/cast-api");
|
|
@@ -138,6 +139,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
138
139
|
});
|
|
139
140
|
this.apis = {
|
|
140
141
|
actionApi: new action_api_1.ActionApi(this.config, undefined, axiosInstance),
|
|
142
|
+
agentsApi: new agents_api_1.AgentsApi(this.config, undefined, axiosInstance),
|
|
141
143
|
banApi: new ban_api_1.BanApi(this.config, undefined, axiosInstance),
|
|
142
144
|
blockApi: new block_api_1.BlockApi(this.config, undefined, axiosInstance),
|
|
143
145
|
castApi: new cast_api_1.CastApi(this.config, undefined, axiosInstance),
|
|
@@ -198,6 +200,71 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
198
200
|
const response = await this.apis.actionApi.publishFarcasterAction(adjustedParams);
|
|
199
201
|
return response.data;
|
|
200
202
|
}
|
|
203
|
+
/**
|
|
204
|
+
* Returns a list of interactions between two users
|
|
205
|
+
*
|
|
206
|
+
* @summary User interactions
|
|
207
|
+
*
|
|
208
|
+
* @param {object} params
|
|
209
|
+
* @param {number[]} params.fids - Comma separated list of two FIDs
|
|
210
|
+
* @param {Array<NotificationType>} params.type [optional] - Comma seperated list of Interaction type to fetch
|
|
211
|
+
*
|
|
212
|
+
* @returns {Promise<FetchUserInteractions200Response>} A promise that resolves to a `FetchUserInteractions200Response` object.
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
*
|
|
216
|
+
* // Fill in the appropriate values
|
|
217
|
+
* const fids =
|
|
218
|
+
* const type =
|
|
219
|
+
*
|
|
220
|
+
* client.fetchUserInteractions({ fids, type }).then(response => {
|
|
221
|
+
* console.log('response:', response);
|
|
222
|
+
* });
|
|
223
|
+
*/
|
|
224
|
+
async fetchUserInteractions(params) {
|
|
225
|
+
const adjustedParams = {};
|
|
226
|
+
Object.assign(adjustedParams, params);
|
|
227
|
+
if (adjustedParams.fids && Array.isArray(adjustedParams.fids)) {
|
|
228
|
+
adjustedParams.fids = adjustedParams.fids.map(value => (String(value)));
|
|
229
|
+
}
|
|
230
|
+
if (adjustedParams.fids && Array.isArray(adjustedParams.fids)) {
|
|
231
|
+
adjustedParams.fids = adjustedParams.fids.join(",");
|
|
232
|
+
}
|
|
233
|
+
const response = await this.apis.agentsApi.fetchUserInteractions(adjustedParams);
|
|
234
|
+
return response.data;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
|
|
238
|
+
*
|
|
239
|
+
* @summary Conversation summary for a cast
|
|
240
|
+
*
|
|
241
|
+
* @param {object} params
|
|
242
|
+
* @param {string} params.identifier - Cast identifier (Its either a url or a hash)
|
|
243
|
+
* @param {number} params.limit [optional] - Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
|
|
244
|
+
* @param {string} params.prompt [optional] - Additional prompt used to generate a summary
|
|
245
|
+
*
|
|
246
|
+
* @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object.
|
|
247
|
+
*
|
|
248
|
+
* @example
|
|
249
|
+
*
|
|
250
|
+
* // Fill in the appropriate values
|
|
251
|
+
* const identifier =
|
|
252
|
+
* const limit =
|
|
253
|
+
* const prompt =
|
|
254
|
+
*
|
|
255
|
+
* client.lookupCastConversationSummary({ identifier, limit, prompt }).then(response => {
|
|
256
|
+
* console.log('response:', response);
|
|
257
|
+
* });
|
|
258
|
+
*
|
|
259
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
|
|
260
|
+
*
|
|
261
|
+
*/
|
|
262
|
+
async lookupCastConversationSummary(params) {
|
|
263
|
+
const adjustedParams = {};
|
|
264
|
+
Object.assign(adjustedParams, params);
|
|
265
|
+
const response = await this.apis.agentsApi.lookupCastConversationSummary(adjustedParams);
|
|
266
|
+
return response.data;
|
|
267
|
+
}
|
|
201
268
|
/**
|
|
202
269
|
* Deletes a list of FIDs from the app associated with your API key.
|
|
203
270
|
*
|
|
@@ -584,38 +651,6 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
584
651
|
const response = await this.apis.castApi.lookupCastConversation(adjustedParams);
|
|
585
652
|
return response.data;
|
|
586
653
|
}
|
|
587
|
-
/**
|
|
588
|
-
* Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Warpcast URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
|
|
589
|
-
*
|
|
590
|
-
* @summary Conversation summary for a cast
|
|
591
|
-
*
|
|
592
|
-
* @param {object} params
|
|
593
|
-
* @param {string} params.identifier - Cast identifier (Its either a url or a hash)
|
|
594
|
-
* @param {number} params.limit [optional] - Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
|
|
595
|
-
* @param {string} params.prompt [optional] - Additional prompt used to generate a summary
|
|
596
|
-
*
|
|
597
|
-
* @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object.
|
|
598
|
-
*
|
|
599
|
-
* @example
|
|
600
|
-
*
|
|
601
|
-
* // Fill in the appropriate values
|
|
602
|
-
* const identifier =
|
|
603
|
-
* const limit =
|
|
604
|
-
* const prompt =
|
|
605
|
-
*
|
|
606
|
-
* client.lookupCastConversationSummary({ identifier, limit, prompt }).then(response => {
|
|
607
|
-
* console.log('response:', response);
|
|
608
|
-
* });
|
|
609
|
-
*
|
|
610
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
|
|
611
|
-
*
|
|
612
|
-
*/
|
|
613
|
-
async lookupCastConversationSummary(params) {
|
|
614
|
-
const adjustedParams = {};
|
|
615
|
-
Object.assign(adjustedParams, params);
|
|
616
|
-
const response = await this.apis.castApi.lookupCastConversationSummary(adjustedParams);
|
|
617
|
-
return response.data;
|
|
618
|
-
}
|
|
619
654
|
/**
|
|
620
655
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
621
656
|
*
|
|
@@ -664,6 +699,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
664
699
|
*
|
|
665
700
|
* @param {object} params
|
|
666
701
|
* @param {string} params.q - Query string to search for casts. Include 'before:YYYY-MM-DD' or 'after:YYYY-MM-DD' to search for casts before or after a specific date.
|
|
702
|
+
* @param {SearchCastsModeEnum} params.mode [optional] - Choices are `literal` (default), `semantic`, `hybrid`
|
|
667
703
|
* @param {number} params.authorFid [optional] - Fid of the user whose casts you want to search
|
|
668
704
|
* @param {number} params.viewerFid [optional] - Providing this will return search results that respects this user's mutes and blocks and includes `viewer_context`.
|
|
669
705
|
* @param {string} params.parentUrl [optional] - Parent URL of the casts you want to search
|
|
@@ -678,6 +714,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
678
714
|
*
|
|
679
715
|
* // Fill in the appropriate values
|
|
680
716
|
* const q =
|
|
717
|
+
* const mode =
|
|
681
718
|
* const authorFid =
|
|
682
719
|
* const viewerFid =
|
|
683
720
|
* const parentUrl =
|
|
@@ -685,7 +722,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
685
722
|
* const priorityMode =
|
|
686
723
|
* const limit =
|
|
687
724
|
*
|
|
688
|
-
* client.searchCasts({ q, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit }).then(response => {
|
|
725
|
+
* client.searchCasts({ q, mode, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit }).then(response => {
|
|
689
726
|
* console.log('response:', response);
|
|
690
727
|
* });
|
|
691
728
|
*
|
|
@@ -1258,6 +1295,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1258
1295
|
*
|
|
1259
1296
|
* @param {object} params
|
|
1260
1297
|
* @param {number} params.fid - FID of user whose recent casts you want to fetch
|
|
1298
|
+
* @param {number} params.appFid [optional] - Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
|
|
1261
1299
|
* @param {number} params.viewerFid [optional] - FID of the user viewing the feed
|
|
1262
1300
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 150)
|
|
1263
1301
|
* @param {string} params.cursor [optional] - Pagination cursor
|
|
@@ -1271,13 +1309,14 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1271
1309
|
*
|
|
1272
1310
|
* // Fill in the appropriate values
|
|
1273
1311
|
* const fid =
|
|
1312
|
+
* const appFid =
|
|
1274
1313
|
* const viewerFid =
|
|
1275
1314
|
* const limit =
|
|
1276
1315
|
* const includeReplies =
|
|
1277
1316
|
* const parentUrl =
|
|
1278
1317
|
* const channelId =
|
|
1279
1318
|
*
|
|
1280
|
-
* client.fetchCastsForUser({ fid, viewerFid, limit, includeReplies, parentUrl, channelId }).then(response => {
|
|
1319
|
+
* client.fetchCastsForUser({ fid, appFid, viewerFid, limit, includeReplies, parentUrl, channelId }).then(response => {
|
|
1281
1320
|
* console.log('response:', response);
|
|
1282
1321
|
* });
|
|
1283
1322
|
*
|
|
@@ -1772,9 +1811,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1772
1811
|
return response.data;
|
|
1773
1812
|
}
|
|
1774
1813
|
/**
|
|
1775
|
-
* Fetch a list of users
|
|
1814
|
+
* Fetch a list of users who a given user is following. Can optionally include a viewer_fid and sort_type.
|
|
1776
1815
|
*
|
|
1777
|
-
* @summary
|
|
1816
|
+
* @summary Following
|
|
1778
1817
|
*
|
|
1779
1818
|
* @param {object} params
|
|
1780
1819
|
* @param {number} params.fid - FID of the user whose following you want to fetch.
|
|
@@ -1920,6 +1959,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1920
1959
|
* @param {object} params
|
|
1921
1960
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 20, Maximum: 100)
|
|
1922
1961
|
* @param {number[]} params.fids [optional] - Comma separated list of FIDs, up to 100 at a time
|
|
1962
|
+
* @param {string} params.cursor [optional] - Pagination cursor
|
|
1923
1963
|
*
|
|
1924
1964
|
* @returns {Promise<FrameNotificationTokens>} A promise that resolves to a `FrameNotificationTokens` object.
|
|
1925
1965
|
*
|
|
@@ -2394,6 +2434,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2394
2434
|
* @param {number} params.fid - FID of the user you you want to fetch notifications for. The response will respect this user's mutes and blocks.
|
|
2395
2435
|
* @param {Array<NotificationType>} params.type [optional] - Notification type to fetch. Comma separated values of follows, recasts, likes, mentions, replies.
|
|
2396
2436
|
* @param {boolean} params.priorityMode [optional] - When true, only returns notifications from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
2437
|
+
* @param {number} params.limit [optional] - Number of results to fetch (Default: 15, Maximum: 25)
|
|
2397
2438
|
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
2398
2439
|
*
|
|
2399
2440
|
* @returns {Promise<NotificationsResponse>} A promise that resolves to a `NotificationsResponse` object.
|
|
@@ -2404,8 +2445,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2404
2445
|
* const fid =
|
|
2405
2446
|
* const type =
|
|
2406
2447
|
* const priorityMode =
|
|
2448
|
+
* const limit =
|
|
2407
2449
|
*
|
|
2408
|
-
* client.fetchAllNotifications({ fid, type, priorityMode }).then(response => {
|
|
2450
|
+
* client.fetchAllNotifications({ fid, type, priorityMode, limit }).then(response => {
|
|
2409
2451
|
* console.log('response:', response);
|
|
2410
2452
|
* });
|
|
2411
2453
|
*
|
|
@@ -2427,6 +2469,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2427
2469
|
* @param {number} params.fid - FID of the user you you want to fetch notifications for. The response will respect this user's mutes and blocks.
|
|
2428
2470
|
* @param {string[]} params.channelIds - Comma separated channel_ids (find list of all channels here - https://docs.neynar.com/reference/list-all-channels)
|
|
2429
2471
|
* @param {boolean} params.priorityMode [optional] - When true, only returns notifications from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
2472
|
+
* @param {number} params.limit [optional] - Number of results to fetch (Default: 15, Maximum: 25)
|
|
2430
2473
|
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
2431
2474
|
*
|
|
2432
2475
|
* @returns {Promise<NotificationsResponse>} A promise that resolves to a `NotificationsResponse` object.
|
|
@@ -2437,8 +2480,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2437
2480
|
* const fid =
|
|
2438
2481
|
* const channelIds =
|
|
2439
2482
|
* const priorityMode =
|
|
2483
|
+
* const limit =
|
|
2440
2484
|
*
|
|
2441
|
-
* client.fetchChannelNotificationsForUser({ fid, channelIds, priorityMode }).then(response => {
|
|
2485
|
+
* client.fetchChannelNotificationsForUser({ fid, channelIds, priorityMode, limit }).then(response => {
|
|
2442
2486
|
* console.log('response:', response);
|
|
2443
2487
|
* });
|
|
2444
2488
|
*
|
|
@@ -2463,6 +2507,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2463
2507
|
* @param {number} params.fid - FID of the user you you want to fetch notifications for. The response will respect this user's mutes and blocks.
|
|
2464
2508
|
* @param {string[]} params.parentUrls - Comma separated parent_urls
|
|
2465
2509
|
* @param {boolean} params.priorityMode [optional] - When true, only returns notifications from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
2510
|
+
* @param {number} params.limit [optional] - Number of results to fetch (Default: 15, Maximum: 25)
|
|
2466
2511
|
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
2467
2512
|
*
|
|
2468
2513
|
* @returns {Promise<NotificationsResponse>} A promise that resolves to a `NotificationsResponse` object.
|
|
@@ -2473,8 +2518,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2473
2518
|
* const fid =
|
|
2474
2519
|
* const parentUrls =
|
|
2475
2520
|
* const priorityMode =
|
|
2521
|
+
* const limit =
|
|
2476
2522
|
*
|
|
2477
|
-
* client.fetchNotificationsByParentUrlForUser({ fid, parentUrls, priorityMode }).then(response => {
|
|
2523
|
+
* client.fetchNotificationsByParentUrlForUser({ fid, parentUrls, priorityMode, limit }).then(response => {
|
|
2478
2524
|
* console.log('response:', response);
|
|
2479
2525
|
* });
|
|
2480
2526
|
*
|
|
@@ -3406,39 +3452,6 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3406
3452
|
const response = await this.apis.userApi.fetchPowerUsersLite(adjustedParams);
|
|
3407
3453
|
return response.data;
|
|
3408
3454
|
}
|
|
3409
|
-
/**
|
|
3410
|
-
* Returns a list of interactions between two users
|
|
3411
|
-
*
|
|
3412
|
-
* @summary User interactions
|
|
3413
|
-
*
|
|
3414
|
-
* @param {object} params
|
|
3415
|
-
* @param {number[]} params.fids - Comma separated list of two FIDs
|
|
3416
|
-
* @param {Array<NotificationType>} params.type [optional] - Comma seperated list of Interaction type to fetch
|
|
3417
|
-
*
|
|
3418
|
-
* @returns {Promise<FetchUserInteractions200Response>} A promise that resolves to a `FetchUserInteractions200Response` object.
|
|
3419
|
-
*
|
|
3420
|
-
* @example
|
|
3421
|
-
*
|
|
3422
|
-
* // Fill in the appropriate values
|
|
3423
|
-
* const fids =
|
|
3424
|
-
* const type =
|
|
3425
|
-
*
|
|
3426
|
-
* client.fetchUserInteractions({ fids, type }).then(response => {
|
|
3427
|
-
* console.log('response:', response);
|
|
3428
|
-
* });
|
|
3429
|
-
*/
|
|
3430
|
-
async fetchUserInteractions(params) {
|
|
3431
|
-
const adjustedParams = {};
|
|
3432
|
-
Object.assign(adjustedParams, params);
|
|
3433
|
-
if (adjustedParams.fids && Array.isArray(adjustedParams.fids)) {
|
|
3434
|
-
adjustedParams.fids = adjustedParams.fids.map(value => (String(value)));
|
|
3435
|
-
}
|
|
3436
|
-
if (adjustedParams.fids && Array.isArray(adjustedParams.fids)) {
|
|
3437
|
-
adjustedParams.fids = adjustedParams.fids.join(",");
|
|
3438
|
-
}
|
|
3439
|
-
const response = await this.apis.userApi.fetchUserInteractions(adjustedParams);
|
|
3440
|
-
return response.data;
|
|
3441
|
-
}
|
|
3442
3455
|
/**
|
|
3443
3456
|
* Fetches a list of users given a location
|
|
3444
3457
|
*
|
package/package.json
CHANGED