@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
|
@@ -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).
|
|
@@ -21,7 +21,6 @@ import type { CastResponse } from '../models';
|
|
|
21
21
|
import type { CastsResponse } from '../models';
|
|
22
22
|
import type { CastsSearchResponse } from '../models';
|
|
23
23
|
import type { Conversation } from '../models';
|
|
24
|
-
import type { ConversationSummary } from '../models';
|
|
25
24
|
import type { DeleteCastReqBody } from '../models';
|
|
26
25
|
import type { OperationResponse } from '../models';
|
|
27
26
|
import type { PostCastReqBody } from '../models';
|
|
@@ -117,20 +116,6 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
117
116
|
*
|
|
118
117
|
*/
|
|
119
118
|
lookupCastConversation: (identifier: string, type: CastParamType, replyDepth?: number, includeChronologicalParentCasts?: boolean, viewerFid?: number, sortType?: CastConversationSortType, fold?: LookupCastConversationFoldEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
120
|
-
/**
|
|
121
|
-
* 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.
|
|
122
|
-
* @summary Conversation summary for a cast
|
|
123
|
-
* @param {string} identifier Cast identifier (Its either a url or a hash)
|
|
124
|
-
* @param {number} [limit] Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
|
|
125
|
-
* @param {string} [prompt] Additional prompt used to generate a summary
|
|
126
|
-
* @param {*} [options] Override http request option.
|
|
127
|
-
* @throws {RequiredError}
|
|
128
|
-
* @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
|
|
129
|
-
*
|
|
130
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
|
|
131
|
-
*
|
|
132
|
-
*/
|
|
133
|
-
lookupCastConversationSummary: (identifier: string, limit?: number, prompt?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
134
119
|
/**
|
|
135
120
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
136
121
|
* @summary Post a cast
|
|
@@ -147,6 +132,7 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
147
132
|
* Search for casts based on a query string, with optional AND filters
|
|
148
133
|
* @summary Search for casts
|
|
149
134
|
* @param {string} 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.
|
|
135
|
+
* @param {SearchCastsModeEnum} [mode] Choices are `literal` (default), `semantic`, `hybrid`
|
|
150
136
|
* @param {number} [authorFid] Fid of the user whose casts you want to search
|
|
151
137
|
* @param {number} [viewerFid] Providing this will return search results that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
152
138
|
* @param {string} [parentUrl] Parent URL of the casts you want to search
|
|
@@ -161,7 +147,7 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
161
147
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
|
|
162
148
|
*
|
|
163
149
|
*/
|
|
164
|
-
searchCasts: (q: string, authorFid?: number, viewerFid?: number, parentUrl?: string, channelId?: string, priorityMode?: boolean, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
150
|
+
searchCasts: (q: string, mode?: SearchCastsModeEnum, authorFid?: number, viewerFid?: number, parentUrl?: string, channelId?: string, priorityMode?: boolean, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
165
151
|
};
|
|
166
152
|
/**
|
|
167
153
|
* CastApi - functional programming interface
|
|
@@ -254,20 +240,6 @@ export declare const CastApiFp: (configuration?: Configuration) => {
|
|
|
254
240
|
*
|
|
255
241
|
*/
|
|
256
242
|
lookupCastConversation(identifier: string, type: CastParamType, replyDepth?: number, includeChronologicalParentCasts?: boolean, viewerFid?: number, sortType?: CastConversationSortType, fold?: LookupCastConversationFoldEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Conversation>>;
|
|
257
|
-
/**
|
|
258
|
-
* 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.
|
|
259
|
-
* @summary Conversation summary for a cast
|
|
260
|
-
* @param {string} identifier Cast identifier (Its either a url or a hash)
|
|
261
|
-
* @param {number} [limit] Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
|
|
262
|
-
* @param {string} [prompt] Additional prompt used to generate a summary
|
|
263
|
-
* @param {*} [options] Override http request option.
|
|
264
|
-
* @throws {RequiredError}
|
|
265
|
-
* @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
|
|
266
|
-
*
|
|
267
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
|
|
268
|
-
*
|
|
269
|
-
*/
|
|
270
|
-
lookupCastConversationSummary(identifier: string, limit?: number, prompt?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConversationSummary>>;
|
|
271
243
|
/**
|
|
272
244
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
273
245
|
* @summary Post a cast
|
|
@@ -284,6 +256,7 @@ export declare const CastApiFp: (configuration?: Configuration) => {
|
|
|
284
256
|
* Search for casts based on a query string, with optional AND filters
|
|
285
257
|
* @summary Search for casts
|
|
286
258
|
* @param {string} 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.
|
|
259
|
+
* @param {SearchCastsModeEnum} [mode] Choices are `literal` (default), `semantic`, `hybrid`
|
|
287
260
|
* @param {number} [authorFid] Fid of the user whose casts you want to search
|
|
288
261
|
* @param {number} [viewerFid] Providing this will return search results that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
289
262
|
* @param {string} [parentUrl] Parent URL of the casts you want to search
|
|
@@ -298,7 +271,7 @@ export declare const CastApiFp: (configuration?: Configuration) => {
|
|
|
298
271
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
|
|
299
272
|
*
|
|
300
273
|
*/
|
|
301
|
-
searchCasts(q: string, authorFid?: number, viewerFid?: number, parentUrl?: string, channelId?: string, priorityMode?: boolean, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CastsSearchResponse>>;
|
|
274
|
+
searchCasts(q: string, mode?: SearchCastsModeEnum, authorFid?: number, viewerFid?: number, parentUrl?: string, channelId?: string, priorityMode?: boolean, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CastsSearchResponse>>;
|
|
302
275
|
};
|
|
303
276
|
/**
|
|
304
277
|
* CastApi - factory interface
|
|
@@ -377,18 +350,6 @@ export declare const CastApiFactory: (configuration?: Configuration, basePath?:
|
|
|
377
350
|
*
|
|
378
351
|
*/
|
|
379
352
|
lookupCastConversation(requestParameters: CastApiLookupCastConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Conversation>;
|
|
380
|
-
/**
|
|
381
|
-
* 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.
|
|
382
|
-
* @summary Conversation summary for a cast
|
|
383
|
-
* @param {CastApiLookupCastConversationSummaryRequest} requestParameters Request parameters.
|
|
384
|
-
* @param {*} [options] Override http request option.
|
|
385
|
-
* @throws {RequiredError}
|
|
386
|
-
* @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
|
|
387
|
-
*
|
|
388
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
|
|
389
|
-
*
|
|
390
|
-
*/
|
|
391
|
-
lookupCastConversationSummary(requestParameters: CastApiLookupCastConversationSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConversationSummary>;
|
|
392
353
|
/**
|
|
393
354
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
394
355
|
* @summary Post a cast
|
|
@@ -498,19 +459,6 @@ export interface CastApiInterface {
|
|
|
498
459
|
*
|
|
499
460
|
*/
|
|
500
461
|
lookupCastConversation(requestParameters: CastApiLookupCastConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Conversation>;
|
|
501
|
-
/**
|
|
502
|
-
* 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.
|
|
503
|
-
* @summary Conversation summary for a cast
|
|
504
|
-
* @param {CastApiLookupCastConversationSummaryRequest} requestParameters Request parameters.
|
|
505
|
-
* @param {*} [options] Override http request option.
|
|
506
|
-
* @throws {RequiredError}
|
|
507
|
-
* @memberof CastApiInterface
|
|
508
|
-
* @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
|
|
509
|
-
*
|
|
510
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
|
|
511
|
-
*
|
|
512
|
-
*/
|
|
513
|
-
lookupCastConversationSummary(requestParameters: CastApiLookupCastConversationSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConversationSummary>;
|
|
514
462
|
/**
|
|
515
463
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
516
464
|
* @summary Post a cast
|
|
@@ -760,40 +708,6 @@ export interface CastApiLookupCastConversationRequest {
|
|
|
760
708
|
*/
|
|
761
709
|
readonly cursor?: string;
|
|
762
710
|
}
|
|
763
|
-
/**
|
|
764
|
-
* Request parameters for lookupCastConversationSummary operation in CastApi.
|
|
765
|
-
* @export
|
|
766
|
-
* @interface CastApiLookupCastConversationSummaryRequest
|
|
767
|
-
*/
|
|
768
|
-
export interface CastApiLookupCastConversationSummaryRequest {
|
|
769
|
-
/**
|
|
770
|
-
* Cast identifier (Its either a url or a hash)
|
|
771
|
-
*
|
|
772
|
-
*
|
|
773
|
-
*
|
|
774
|
-
* @type {string}
|
|
775
|
-
* @memberof CastApiLookupCastConversationSummary
|
|
776
|
-
*/
|
|
777
|
-
readonly identifier: string;
|
|
778
|
-
/**
|
|
779
|
-
* Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
|
|
780
|
-
*
|
|
781
|
-
*
|
|
782
|
-
*
|
|
783
|
-
* @type {number}
|
|
784
|
-
* @memberof CastApiLookupCastConversationSummary
|
|
785
|
-
*/
|
|
786
|
-
readonly limit?: number;
|
|
787
|
-
/**
|
|
788
|
-
* Additional prompt used to generate a summary
|
|
789
|
-
*
|
|
790
|
-
*
|
|
791
|
-
*
|
|
792
|
-
* @type {string}
|
|
793
|
-
* @memberof CastApiLookupCastConversationSummary
|
|
794
|
-
*/
|
|
795
|
-
readonly prompt?: string;
|
|
796
|
-
}
|
|
797
711
|
/**
|
|
798
712
|
* Request parameters for publishCast operation in CastApi.
|
|
799
713
|
* @export
|
|
@@ -825,6 +739,15 @@ export interface CastApiSearchCastsRequest {
|
|
|
825
739
|
* @memberof CastApiSearchCasts
|
|
826
740
|
*/
|
|
827
741
|
readonly q: string;
|
|
742
|
+
/**
|
|
743
|
+
* Choices are `literal` (default), `semantic`, `hybrid`
|
|
744
|
+
*
|
|
745
|
+
*
|
|
746
|
+
*
|
|
747
|
+
* @type {'literal' | 'semantic' | 'hybrid'}
|
|
748
|
+
* @memberof CastApiSearchCasts
|
|
749
|
+
*/
|
|
750
|
+
readonly mode?: SearchCastsModeEnum;
|
|
828
751
|
/**
|
|
829
752
|
* Fid of the user whose casts you want to search
|
|
830
753
|
*
|
|
@@ -974,19 +897,6 @@ export declare class CastApi extends BaseAPI implements CastApiInterface {
|
|
|
974
897
|
*
|
|
975
898
|
*/
|
|
976
899
|
lookupCastConversation(requestParameters: CastApiLookupCastConversationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Conversation, any>>;
|
|
977
|
-
/**
|
|
978
|
-
* 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.
|
|
979
|
-
* @summary Conversation summary for a cast
|
|
980
|
-
* @param {CastApiLookupCastConversationSummaryRequest} requestParameters Request parameters.
|
|
981
|
-
* @param {*} [options] Override http request option.
|
|
982
|
-
* @throws {RequiredError}
|
|
983
|
-
* @memberof CastApi
|
|
984
|
-
* @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
|
|
985
|
-
*
|
|
986
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
|
|
987
|
-
*
|
|
988
|
-
*/
|
|
989
|
-
lookupCastConversationSummary(requestParameters: CastApiLookupCastConversationSummaryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConversationSummary, any>>;
|
|
990
900
|
/**
|
|
991
901
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
992
902
|
* @summary Post a cast
|
|
@@ -1033,3 +943,12 @@ export declare const LookupCastConversationFoldEnum: {
|
|
|
1033
943
|
readonly Below: "below";
|
|
1034
944
|
};
|
|
1035
945
|
export type LookupCastConversationFoldEnum = typeof LookupCastConversationFoldEnum[keyof typeof LookupCastConversationFoldEnum];
|
|
946
|
+
/**
|
|
947
|
+
* @export
|
|
948
|
+
*/
|
|
949
|
+
export declare const SearchCastsModeEnum: {
|
|
950
|
+
readonly Literal: "literal";
|
|
951
|
+
readonly Semantic: "semantic";
|
|
952
|
+
readonly Hybrid: "hybrid";
|
|
953
|
+
};
|
|
954
|
+
export type SearchCastsModeEnum = typeof SearchCastsModeEnum[keyof typeof SearchCastsModeEnum];
|
|
@@ -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).
|
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.LookupCastConversationFoldEnum = exports.FetchBulkCastsSortTypeEnum = exports.CastApi = exports.CastApiFactory = exports.CastApiFp = exports.CastApiAxiosParamCreator = void 0;
|
|
19
|
+
exports.SearchCastsModeEnum = exports.LookupCastConversationFoldEnum = exports.FetchBulkCastsSortTypeEnum = exports.CastApi = exports.CastApiFactory = exports.CastApiFp = exports.CastApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -308,51 +308,6 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
308
308
|
options: localVarRequestOptions,
|
|
309
309
|
};
|
|
310
310
|
},
|
|
311
|
-
/**
|
|
312
|
-
* 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.
|
|
313
|
-
* @summary Conversation summary for a cast
|
|
314
|
-
* @param {string} identifier Cast identifier (Its either a url or a hash)
|
|
315
|
-
* @param {number} [limit] Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
|
|
316
|
-
* @param {string} [prompt] Additional prompt used to generate a summary
|
|
317
|
-
* @param {*} [options] Override http request option.
|
|
318
|
-
* @throws {RequiredError}
|
|
319
|
-
* @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
|
|
320
|
-
*
|
|
321
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
|
|
322
|
-
*
|
|
323
|
-
*/
|
|
324
|
-
lookupCastConversationSummary: async (identifier, limit, prompt, options = {}) => {
|
|
325
|
-
// verify required parameter 'identifier' is not null or undefined
|
|
326
|
-
(0, common_1.assertParamExists)('lookupCastConversationSummary', 'identifier', identifier);
|
|
327
|
-
const localVarPath = `/farcaster/cast/conversation/summary`;
|
|
328
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
329
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
330
|
-
let baseOptions;
|
|
331
|
-
if (configuration) {
|
|
332
|
-
baseOptions = configuration.baseOptions;
|
|
333
|
-
}
|
|
334
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
335
|
-
const localVarHeaderParameter = {};
|
|
336
|
-
const localVarQueryParameter = {};
|
|
337
|
-
// authentication ApiKeyAuth required
|
|
338
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
339
|
-
if (identifier !== undefined) {
|
|
340
|
-
localVarQueryParameter['identifier'] = identifier;
|
|
341
|
-
}
|
|
342
|
-
if (limit !== undefined) {
|
|
343
|
-
localVarQueryParameter['limit'] = limit;
|
|
344
|
-
}
|
|
345
|
-
if (prompt !== undefined) {
|
|
346
|
-
localVarQueryParameter['prompt'] = prompt;
|
|
347
|
-
}
|
|
348
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
349
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
350
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
351
|
-
return {
|
|
352
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
353
|
-
options: localVarRequestOptions,
|
|
354
|
-
};
|
|
355
|
-
},
|
|
356
311
|
/**
|
|
357
312
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
358
313
|
* @summary Post a cast
|
|
@@ -393,6 +348,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
393
348
|
* Search for casts based on a query string, with optional AND filters
|
|
394
349
|
* @summary Search for casts
|
|
395
350
|
* @param {string} 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.
|
|
351
|
+
* @param {SearchCastsModeEnum} [mode] Choices are `literal` (default), `semantic`, `hybrid`
|
|
396
352
|
* @param {number} [authorFid] Fid of the user whose casts you want to search
|
|
397
353
|
* @param {number} [viewerFid] Providing this will return search results that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
398
354
|
* @param {string} [parentUrl] Parent URL of the casts you want to search
|
|
@@ -407,7 +363,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
407
363
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
|
|
408
364
|
*
|
|
409
365
|
*/
|
|
410
|
-
searchCasts: async (q, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options = {}) => {
|
|
366
|
+
searchCasts: async (q, mode, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options = {}) => {
|
|
411
367
|
// verify required parameter 'q' is not null or undefined
|
|
412
368
|
(0, common_1.assertParamExists)('searchCasts', 'q', q);
|
|
413
369
|
const localVarPath = `/farcaster/cast/search`;
|
|
@@ -425,6 +381,9 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
425
381
|
if (q !== undefined) {
|
|
426
382
|
localVarQueryParameter['q'] = q;
|
|
427
383
|
}
|
|
384
|
+
if (mode !== undefined) {
|
|
385
|
+
localVarQueryParameter['mode'] = mode;
|
|
386
|
+
}
|
|
428
387
|
if (authorFid !== undefined) {
|
|
429
388
|
localVarQueryParameter['author_fid'] = authorFid;
|
|
430
389
|
}
|
|
@@ -586,26 +545,6 @@ const CastApiFp = function (configuration) {
|
|
|
586
545
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.lookupCastConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
587
546
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
588
547
|
},
|
|
589
|
-
/**
|
|
590
|
-
* 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.
|
|
591
|
-
* @summary Conversation summary for a cast
|
|
592
|
-
* @param {string} identifier Cast identifier (Its either a url or a hash)
|
|
593
|
-
* @param {number} [limit] Number of casts to consider in a summary up to a point of target cast (Default: 20, Maximum: 50)
|
|
594
|
-
* @param {string} [prompt] Additional prompt used to generate a summary
|
|
595
|
-
* @param {*} [options] Override http request option.
|
|
596
|
-
* @throws {RequiredError}
|
|
597
|
-
* @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
|
|
598
|
-
*
|
|
599
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
|
|
600
|
-
*
|
|
601
|
-
*/
|
|
602
|
-
async lookupCastConversationSummary(identifier, limit, prompt, options) {
|
|
603
|
-
var _a, _b, _c;
|
|
604
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lookupCastConversationSummary(identifier, limit, prompt, options);
|
|
605
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
606
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.lookupCastConversationSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
607
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
608
|
-
},
|
|
609
548
|
/**
|
|
610
549
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
611
550
|
* @summary Post a cast
|
|
@@ -628,6 +567,7 @@ const CastApiFp = function (configuration) {
|
|
|
628
567
|
* Search for casts based on a query string, with optional AND filters
|
|
629
568
|
* @summary Search for casts
|
|
630
569
|
* @param {string} 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.
|
|
570
|
+
* @param {SearchCastsModeEnum} [mode] Choices are `literal` (default), `semantic`, `hybrid`
|
|
631
571
|
* @param {number} [authorFid] Fid of the user whose casts you want to search
|
|
632
572
|
* @param {number} [viewerFid] Providing this will return search results that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
633
573
|
* @param {string} [parentUrl] Parent URL of the casts you want to search
|
|
@@ -642,9 +582,9 @@ const CastApiFp = function (configuration) {
|
|
|
642
582
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
|
|
643
583
|
*
|
|
644
584
|
*/
|
|
645
|
-
async searchCasts(q, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options) {
|
|
585
|
+
async searchCasts(q, mode, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options) {
|
|
646
586
|
var _a, _b, _c;
|
|
647
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchCasts(q, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options);
|
|
587
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchCasts(q, mode, authorFid, viewerFid, parentUrl, channelId, priorityMode, limit, cursor, options);
|
|
648
588
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
649
589
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.searchCasts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
650
590
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -743,20 +683,6 @@ const CastApiFactory = function (configuration, basePath, axios) {
|
|
|
743
683
|
lookupCastConversation(requestParameters, options) {
|
|
744
684
|
return localVarFp.lookupCastConversation(requestParameters.identifier, requestParameters.type, requestParameters.replyDepth, requestParameters.includeChronologicalParentCasts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.fold, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
745
685
|
},
|
|
746
|
-
/**
|
|
747
|
-
* 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.
|
|
748
|
-
* @summary Conversation summary for a cast
|
|
749
|
-
* @param {CastApiLookupCastConversationSummaryRequest} requestParameters Request parameters.
|
|
750
|
-
* @param {*} [options] Override http request option.
|
|
751
|
-
* @throws {RequiredError}
|
|
752
|
-
* @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
|
|
753
|
-
*
|
|
754
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
|
|
755
|
-
*
|
|
756
|
-
*/
|
|
757
|
-
lookupCastConversationSummary(requestParameters, options) {
|
|
758
|
-
return localVarFp.lookupCastConversationSummary(requestParameters.identifier, requestParameters.limit, requestParameters.prompt, options).then((request) => request(axios, basePath));
|
|
759
|
-
},
|
|
760
686
|
/**
|
|
761
687
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
762
688
|
* @summary Post a cast
|
|
@@ -783,7 +709,7 @@ const CastApiFactory = function (configuration, basePath, axios) {
|
|
|
783
709
|
*
|
|
784
710
|
*/
|
|
785
711
|
searchCasts(requestParameters, options) {
|
|
786
|
-
return localVarFp.searchCasts(requestParameters.q, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
712
|
+
return localVarFp.searchCasts(requestParameters.q, requestParameters.mode, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
787
713
|
},
|
|
788
714
|
};
|
|
789
715
|
};
|
|
@@ -885,21 +811,6 @@ class CastApi extends base_1.BaseAPI {
|
|
|
885
811
|
lookupCastConversation(requestParameters, options) {
|
|
886
812
|
return (0, exports.CastApiFp)(this.configuration).lookupCastConversation(requestParameters.identifier, requestParameters.type, requestParameters.replyDepth, requestParameters.includeChronologicalParentCasts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.fold, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
887
813
|
}
|
|
888
|
-
/**
|
|
889
|
-
* 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.
|
|
890
|
-
* @summary Conversation summary for a cast
|
|
891
|
-
* @param {CastApiLookupCastConversationSummaryRequest} requestParameters Request parameters.
|
|
892
|
-
* @param {*} [options] Override http request option.
|
|
893
|
-
* @throws {RequiredError}
|
|
894
|
-
* @memberof CastApi
|
|
895
|
-
* @returns {Promise<ConversationSummary>} A promise that resolves to a `ConversationSummary` object
|
|
896
|
-
*
|
|
897
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation-summary)
|
|
898
|
-
*
|
|
899
|
-
*/
|
|
900
|
-
lookupCastConversationSummary(requestParameters, options) {
|
|
901
|
-
return (0, exports.CastApiFp)(this.configuration).lookupCastConversationSummary(requestParameters.identifier, requestParameters.limit, requestParameters.prompt, options).then((request) => request(this.axios, this.basePath));
|
|
902
|
-
}
|
|
903
814
|
/**
|
|
904
815
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
905
816
|
* @summary Post a cast
|
|
@@ -928,7 +839,7 @@ class CastApi extends base_1.BaseAPI {
|
|
|
928
839
|
*
|
|
929
840
|
*/
|
|
930
841
|
searchCasts(requestParameters, options) {
|
|
931
|
-
return (0, exports.CastApiFp)(this.configuration).searchCasts(requestParameters.q, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
842
|
+
return (0, exports.CastApiFp)(this.configuration).searchCasts(requestParameters.q, requestParameters.mode, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.priorityMode, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
932
843
|
}
|
|
933
844
|
}
|
|
934
845
|
exports.CastApi = CastApi;
|
|
@@ -949,3 +860,11 @@ exports.LookupCastConversationFoldEnum = {
|
|
|
949
860
|
Above: 'above',
|
|
950
861
|
Below: 'below'
|
|
951
862
|
};
|
|
863
|
+
/**
|
|
864
|
+
* @export
|
|
865
|
+
*/
|
|
866
|
+
exports.SearchCastsModeEnum = {
|
|
867
|
+
Literal: 'literal',
|
|
868
|
+
Semantic: 'semantic',
|
|
869
|
+
Hybrid: 'hybrid'
|
|
870
|
+
};
|
|
@@ -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).
|
|
@@ -28,6 +28,7 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
28
28
|
* Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
|
|
29
29
|
* @summary Chronologically
|
|
30
30
|
* @param {number} fid FID of user whose recent casts you want to fetch
|
|
31
|
+
* @param {number} [appFid] Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
|
|
31
32
|
* @param {number} [viewerFid] FID of the user viewing the feed
|
|
32
33
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 150)
|
|
33
34
|
* @param {string} [cursor] Pagination cursor
|
|
@@ -41,7 +42,7 @@ export declare const FeedApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
41
42
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
|
|
42
43
|
*
|
|
43
44
|
*/
|
|
44
|
-
fetchCastsForUser: (fid: number, viewerFid?: number, limit?: number, cursor?: string, includeReplies?: boolean, parentUrl?: string, channelId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
fetchCastsForUser: (fid: number, appFid?: number, viewerFid?: number, limit?: number, cursor?: string, includeReplies?: boolean, parentUrl?: string, channelId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
46
|
/**
|
|
46
47
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
47
48
|
* @summary By filters
|
|
@@ -207,6 +208,7 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
207
208
|
* Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
|
|
208
209
|
* @summary Chronologically
|
|
209
210
|
* @param {number} fid FID of user whose recent casts you want to fetch
|
|
211
|
+
* @param {number} [appFid] Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
|
|
210
212
|
* @param {number} [viewerFid] FID of the user viewing the feed
|
|
211
213
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 150)
|
|
212
214
|
* @param {string} [cursor] Pagination cursor
|
|
@@ -220,7 +222,7 @@ export declare const FeedApiFp: (configuration?: Configuration) => {
|
|
|
220
222
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
|
|
221
223
|
*
|
|
222
224
|
*/
|
|
223
|
-
fetchCastsForUser(fid: number, viewerFid?: number, limit?: number, cursor?: string, includeReplies?: boolean, parentUrl?: string, channelId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedResponse>>;
|
|
225
|
+
fetchCastsForUser(fid: number, appFid?: number, viewerFid?: number, limit?: number, cursor?: string, includeReplies?: boolean, parentUrl?: string, channelId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedResponse>>;
|
|
224
226
|
/**
|
|
225
227
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
226
228
|
* @summary By filters
|
|
@@ -655,6 +657,15 @@ export interface FeedApiFetchCastsForUserRequest {
|
|
|
655
657
|
* @memberof FeedApiFetchCastsForUser
|
|
656
658
|
*/
|
|
657
659
|
readonly fid: number;
|
|
660
|
+
/**
|
|
661
|
+
* Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
|
|
662
|
+
*
|
|
663
|
+
*
|
|
664
|
+
*
|
|
665
|
+
* @type {number}
|
|
666
|
+
* @memberof FeedApiFetchCastsForUser
|
|
667
|
+
*/
|
|
668
|
+
readonly appFid?: number;
|
|
658
669
|
/**
|
|
659
670
|
* FID of the user viewing the feed
|
|
660
671
|
*
|
|
@@ -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).
|
|
@@ -33,6 +33,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
33
33
|
* Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
|
|
34
34
|
* @summary Chronologically
|
|
35
35
|
* @param {number} fid FID of user whose recent casts you want to fetch
|
|
36
|
+
* @param {number} [appFid] Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
|
|
36
37
|
* @param {number} [viewerFid] FID of the user viewing the feed
|
|
37
38
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 150)
|
|
38
39
|
* @param {string} [cursor] Pagination cursor
|
|
@@ -46,7 +47,7 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
46
47
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
|
|
47
48
|
*
|
|
48
49
|
*/
|
|
49
|
-
fetchCastsForUser: async (fid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options = {}) => {
|
|
50
|
+
fetchCastsForUser: async (fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options = {}) => {
|
|
50
51
|
// verify required parameter 'fid' is not null or undefined
|
|
51
52
|
(0, common_1.assertParamExists)('fetchCastsForUser', 'fid', fid);
|
|
52
53
|
const localVarPath = `/farcaster/feed/user/casts`;
|
|
@@ -64,6 +65,9 @@ const FeedApiAxiosParamCreator = function (configuration) {
|
|
|
64
65
|
if (fid !== undefined) {
|
|
65
66
|
localVarQueryParameter['fid'] = fid;
|
|
66
67
|
}
|
|
68
|
+
if (appFid !== undefined) {
|
|
69
|
+
localVarQueryParameter['app_fid'] = appFid;
|
|
70
|
+
}
|
|
67
71
|
if (viewerFid !== undefined) {
|
|
68
72
|
localVarQueryParameter['viewer_fid'] = viewerFid;
|
|
69
73
|
}
|
|
@@ -621,6 +625,7 @@ const FeedApiFp = function (configuration) {
|
|
|
621
625
|
* Fetch casts for a given user FID in reverse chronological order. Also allows filtering by parent_url and channel
|
|
622
626
|
* @summary Chronologically
|
|
623
627
|
* @param {number} fid FID of user whose recent casts you want to fetch
|
|
628
|
+
* @param {number} [appFid] Optionally filter to casts created via a specific app FID, e.g. 9152 for Warpcast
|
|
624
629
|
* @param {number} [viewerFid] FID of the user viewing the feed
|
|
625
630
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 150)
|
|
626
631
|
* @param {string} [cursor] Pagination cursor
|
|
@@ -634,9 +639,9 @@ const FeedApiFp = function (configuration) {
|
|
|
634
639
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-for-user)
|
|
635
640
|
*
|
|
636
641
|
*/
|
|
637
|
-
async fetchCastsForUser(fid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options) {
|
|
642
|
+
async fetchCastsForUser(fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options) {
|
|
638
643
|
var _a, _b, _c;
|
|
639
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchCastsForUser(fid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options);
|
|
644
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchCastsForUser(fid, appFid, viewerFid, limit, cursor, includeReplies, parentUrl, channelId, options);
|
|
640
645
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
641
646
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeedApi.fetchCastsForUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
642
647
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -872,7 +877,7 @@ const FeedApiFactory = function (configuration, basePath, axios) {
|
|
|
872
877
|
*
|
|
873
878
|
*/
|
|
874
879
|
fetchCastsForUser(requestParameters, options) {
|
|
875
|
-
return localVarFp.fetchCastsForUser(requestParameters.fid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, options).then((request) => request(axios, basePath));
|
|
880
|
+
return localVarFp.fetchCastsForUser(requestParameters.fid, requestParameters.appFid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, options).then((request) => request(axios, basePath));
|
|
876
881
|
},
|
|
877
882
|
/**
|
|
878
883
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
@@ -1023,7 +1028,7 @@ class FeedApi extends base_1.BaseAPI {
|
|
|
1023
1028
|
*
|
|
1024
1029
|
*/
|
|
1025
1030
|
fetchCastsForUser(requestParameters, options) {
|
|
1026
|
-
return (0, exports.FeedApiFp)(this.configuration).fetchCastsForUser(requestParameters.fid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, options).then((request) => request(this.axios, this.basePath));
|
|
1031
|
+
return (0, exports.FeedApiFp)(this.configuration).fetchCastsForUser(requestParameters.fid, requestParameters.appFid, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, requestParameters.includeReplies, requestParameters.parentUrl, requestParameters.channelId, options).then((request) => request(this.axios, this.basePath));
|
|
1027
1032
|
}
|
|
1028
1033
|
/**
|
|
1029
1034
|
* Fetch casts based on filters. Ensure setting the correct parameters based on the feed_type and filter_type.
|
|
@@ -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).
|