@neynar/nodejs-sdk 2.46.0 → 3.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/api.d.ts +4 -3
- package/build/api/api.js +4 -3
- package/build/api/apis/action-api.d.ts +8 -8
- package/build/api/apis/action-api.js +8 -8
- package/build/api/apis/agents-api.d.ts +51 -20
- package/build/api/apis/agents-api.js +49 -22
- package/build/api/apis/app-host-api.d.ts +71 -32
- package/build/api/apis/app-host-api.js +64 -31
- package/build/api/apis/auth-address-api.d.ts +205 -0
- package/build/api/apis/auth-address-api.js +230 -0
- package/build/api/apis/ban-api.d.ts +16 -16
- package/build/api/apis/ban-api.js +13 -13
- package/build/api/apis/block-api.d.ts +16 -16
- package/build/api/apis/block-api.js +13 -13
- package/build/api/apis/cast-api.d.ts +272 -103
- package/build/api/apis/cast-api.js +223 -68
- package/build/api/apis/channel-api.d.ts +57 -42
- package/build/api/apis/channel-api.js +53 -39
- package/build/api/apis/feed-api.d.ts +225 -181
- package/build/api/apis/feed-api.js +160 -112
- package/build/api/apis/fname-api.d.ts +3 -3
- package/build/api/apis/fname-api.js +4 -4
- package/build/api/apis/follows-api.d.ts +72 -57
- package/build/api/apis/follows-api.js +51 -37
- package/build/api/apis/frame-api.d.ts +144 -61
- package/build/api/apis/frame-api.js +127 -51
- package/build/api/apis/login-api.d.ts +3 -3
- package/build/api/apis/login-api.js +4 -4
- package/build/api/apis/metrics-api.d.ts +16 -16
- package/build/api/apis/metrics-api.js +11 -11
- package/build/api/apis/mute-api.d.ts +16 -16
- package/build/api/apis/mute-api.js +13 -13
- package/build/api/apis/notifications-api.d.ts +43 -32
- package/build/api/apis/notifications-api.js +58 -41
- package/build/api/apis/onchain-api.d.ts +265 -45
- package/build/api/apis/onchain-api.js +253 -38
- package/build/api/apis/reaction-api.d.ts +46 -29
- package/build/api/apis/reaction-api.js +39 -23
- package/build/api/apis/signer-api.d.ts +30 -24
- package/build/api/apis/signer-api.js +30 -24
- package/build/api/apis/storage-api.d.ts +9 -9
- package/build/api/apis/storage-api.js +10 -10
- package/build/api/apis/subscribers-api.d.ts +55 -35
- package/build/api/apis/subscribers-api.js +39 -20
- package/build/api/apis/user-api.d.ts +223 -305
- package/build/api/apis/user-api.js +192 -274
- package/build/api/apis/webhook-api.d.ts +3 -3
- package/build/api/apis/webhook-api.js +9 -9
- package/build/api/base.d.ts +3 -3
- package/build/api/base.js +4 -4
- package/build/api/common.d.ts +3 -3
- package/build/api/common.js +3 -3
- package/build/api/configuration.d.ts +3 -3
- package/build/api/configuration.js +3 -3
- package/build/api/index.d.ts +3 -3
- package/build/api/index.js +3 -3
- package/build/api/models/add-verification-req-body.d.ts +3 -3
- package/build/api/models/add-verification-req-body.js +3 -3
- package/build/api/models/address-balance-verified-address.d.ts +3 -3
- package/build/api/models/address-balance-verified-address.js +3 -3
- package/build/api/models/address-balance.d.ts +3 -3
- package/build/api/models/address-balance.js +3 -3
- package/build/api/models/app-host-event-type.d.ts +3 -3
- package/build/api/models/app-host-event-type.js +3 -3
- package/build/api/models/app-host-get-event-response-notification-details.d.ts +3 -3
- package/build/api/models/app-host-get-event-response-notification-details.js +3 -3
- package/build/api/models/app-host-get-event-response.d.ts +3 -3
- package/build/api/models/app-host-get-event-response.js +3 -3
- package/build/api/models/app-host-post-event-req-body-one-of-signed-message-one-of.d.ts +36 -0
- package/build/api/models/{app-host-post-event-body.js → app-host-post-event-req-body-one-of-signed-message-one-of.js} +3 -3
- package/build/api/models/app-host-post-event-req-body-one-of-signed-message.d.ts +18 -0
- package/build/api/models/{app-host-post-event-body-one-of.js → app-host-post-event-req-body-one-of-signed-message.js} +3 -3
- package/build/api/models/app-host-post-event-req-body-one-of.d.ts +31 -0
- package/build/api/models/{cast-with-interactions-all-of.js → app-host-post-event-req-body-one-of.js} +3 -3
- package/build/api/models/{app-host-post-event-body-one-of1.d.ts → app-host-post-event-req-body-one-of1.d.ts} +9 -9
- package/build/api/models/{app-host-post-event-body-one-of1.js → app-host-post-event-req-body-one-of1.js} +3 -3
- package/build/api/models/app-host-post-event-req-body.d.ts +19 -0
- package/build/api/models/app-host-post-event-req-body.js +15 -0
- package/build/api/models/app-host-post-event-response.d.ts +3 -3
- package/build/api/models/app-host-post-event-response.js +3 -3
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +3 -3
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.js +3 -3
- package/build/api/models/app-host-user-state-response.d.ts +3 -3
- package/build/api/models/app-host-user-state-response.js +3 -3
- package/build/api/models/authorization-url-response.d.ts +3 -3
- package/build/api/models/authorization-url-response.js +3 -3
- package/build/api/models/balance-response-user-balance.d.ts +3 -3
- package/build/api/models/balance-response-user-balance.js +3 -3
- package/build/api/models/balance-response.d.ts +3 -3
- package/build/api/models/balance-response.js +3 -3
- package/build/api/models/ban-list-response.d.ts +3 -3
- package/build/api/models/ban-list-response.js +3 -3
- package/build/api/models/ban-record.d.ts +3 -3
- package/build/api/models/ban-record.js +3 -3
- package/build/api/models/ban-req-body.d.ts +3 -3
- package/build/api/models/ban-req-body.js +3 -3
- package/build/api/models/ban-response.d.ts +3 -3
- package/build/api/models/ban-response.js +3 -3
- package/build/api/models/best-friends-response-users-inner.d.ts +36 -0
- package/build/api/models/best-friends-response-users-inner.js +15 -0
- package/build/api/models/best-friends-response.d.ts +32 -0
- package/build/api/models/best-friends-response.js +15 -0
- package/build/api/models/block-list-response.d.ts +3 -3
- package/build/api/models/block-list-response.js +3 -3
- package/build/api/models/block-record.d.ts +3 -3
- package/build/api/models/block-record.js +3 -3
- package/build/api/models/block-req-body.d.ts +3 -3
- package/build/api/models/block-req-body.js +3 -3
- package/build/api/models/bulk-casts-response.d.ts +6 -6
- package/build/api/models/bulk-casts-response.js +3 -3
- package/build/api/models/bulk-follow-response.d.ts +3 -3
- package/build/api/models/bulk-follow-response.js +3 -3
- package/build/api/models/bulk-users-by-address-response.d.ts +3 -3
- package/build/api/models/bulk-users-by-address-response.js +3 -3
- package/build/api/models/bulk-users-response.d.ts +3 -3
- package/build/api/models/bulk-users-response.js +3 -3
- package/build/api/models/buy-storage-req-body.d.ts +3 -3
- package/build/api/models/buy-storage-req-body.js +3 -3
- package/build/api/models/cast-and-conversations-ref.d.ts +179 -0
- package/build/api/models/cast-and-conversations-ref.js +19 -0
- package/build/api/models/cast-and-conversations.d.ts +180 -0
- package/build/api/models/cast-and-conversations.js +19 -0
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.d.ts +3 -3
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.js +3 -3
- package/build/api/models/cast-composer-actions-list-response-actions-inner.d.ts +3 -3
- package/build/api/models/cast-composer-actions-list-response-actions-inner.js +3 -3
- package/build/api/models/cast-composer-actions-list-response.d.ts +3 -3
- package/build/api/models/cast-composer-actions-list-response.js +3 -3
- package/build/api/models/cast-dehydrated.d.ts +3 -3
- package/build/api/models/cast-dehydrated.js +3 -3
- package/build/api/models/cast-embed-crawl-response.d.ts +3 -3
- package/build/api/models/cast-embed-crawl-response.js +3 -3
- package/build/api/models/cast-embedded-parent-author.d.ts +3 -3
- package/build/api/models/cast-embedded-parent-author.js +3 -3
- package/build/api/models/cast-embedded.d.ts +3 -10
- package/build/api/models/cast-embedded.js +3 -3
- package/build/api/models/cast-id.d.ts +3 -3
- package/build/api/models/cast-id.js +3 -3
- package/build/api/models/cast-notification-type.d.ts +3 -3
- package/build/api/models/cast-notification-type.js +3 -3
- package/build/api/models/{cast-with-interactions-reactions.d.ts → cast-reactions.d.ts} +9 -9
- package/build/api/models/cast-reactions.js +15 -0
- package/build/api/models/cast-replies.d.ts +24 -0
- package/build/api/models/cast-replies.js +15 -0
- package/build/api/models/cast-response.d.ts +6 -6
- package/build/api/models/cast-response.js +3 -3
- package/build/api/models/cast-viewer-context.d.ts +3 -3
- package/build/api/models/cast-viewer-context.js +3 -3
- package/build/api/models/cast.d.ts +77 -3
- package/build/api/models/cast.js +3 -3
- package/build/api/models/casts-metrics-response.d.ts +3 -3
- package/build/api/models/casts-metrics-response.js +3 -3
- package/build/api/models/casts-metrics.d.ts +3 -3
- package/build/api/models/casts-metrics.js +3 -3
- package/build/api/models/casts-response-result.d.ts +6 -6
- package/build/api/models/casts-response-result.js +3 -3
- package/build/api/models/casts-response.d.ts +3 -3
- package/build/api/models/casts-response.js +3 -3
- package/build/api/models/casts-search-response.d.ts +6 -6
- package/build/api/models/casts-search-response.js +3 -3
- package/build/api/models/channel-activity.d.ts +3 -3
- package/build/api/models/channel-activity.js +3 -3
- package/build/api/models/channel-dehydrated.d.ts +3 -3
- package/build/api/models/channel-dehydrated.js +3 -3
- package/build/api/models/channel-external-link.d.ts +3 -3
- package/build/api/models/channel-external-link.js +3 -3
- package/build/api/models/channel-follow-req-body.d.ts +3 -3
- package/build/api/models/channel-follow-req-body.js +3 -3
- package/build/api/models/channel-list-response.d.ts +3 -3
- package/build/api/models/channel-list-response.js +3 -3
- package/build/api/models/channel-member-channel.d.ts +3 -3
- package/build/api/models/channel-member-channel.js +3 -3
- package/build/api/models/channel-member-invite-list-response.d.ts +3 -3
- package/build/api/models/channel-member-invite-list-response.js +3 -3
- package/build/api/models/channel-member-invite.d.ts +3 -3
- package/build/api/models/channel-member-invite.js +3 -3
- package/build/api/models/channel-member-list-response.d.ts +3 -3
- package/build/api/models/channel-member-list-response.js +3 -3
- package/build/api/models/channel-member-role.d.ts +4 -3
- package/build/api/models/channel-member-role.js +5 -4
- package/build/api/models/channel-member-user.d.ts +3 -3
- package/build/api/models/channel-member-user.js +3 -3
- package/build/api/models/channel-member.d.ts +3 -3
- package/build/api/models/channel-member.js +3 -3
- package/build/api/models/channel-or-channel-dehydrated.d.ts +3 -3
- package/build/api/models/channel-or-channel-dehydrated.js +3 -3
- package/build/api/models/channel-response-bulk.d.ts +3 -3
- package/build/api/models/channel-response-bulk.js +3 -3
- package/build/api/models/channel-response.d.ts +3 -3
- package/build/api/models/channel-response.js +3 -3
- package/build/api/models/channel-search-response.d.ts +3 -3
- package/build/api/models/channel-search-response.js +3 -3
- package/build/api/models/channel-user-context.d.ts +3 -3
- package/build/api/models/channel-user-context.js +3 -3
- package/build/api/models/channel.d.ts +18 -18
- package/build/api/models/channel.js +3 -3
- package/build/api/models/conflict-error-res.d.ts +3 -3
- package/build/api/models/conflict-error-res.js +3 -3
- package/build/api/models/conversation-conversation.d.ts +9 -9
- package/build/api/models/conversation-conversation.js +3 -3
- package/build/api/models/conversation-summary-summary.d.ts +3 -3
- package/build/api/models/conversation-summary-summary.js +3 -3
- package/build/api/models/conversation-summary.d.ts +3 -3
- package/build/api/models/conversation-summary.js +3 -3
- package/build/api/models/conversation.d.ts +3 -3
- package/build/api/models/conversation.js +3 -3
- package/build/api/models/delete-cast-req-body.d.ts +4 -4
- package/build/api/models/delete-cast-req-body.js +3 -3
- package/build/api/models/delete-frame-req-body.d.ts +3 -3
- package/build/api/models/delete-frame-req-body.js +3 -3
- package/build/api/models/delete-frame-response.d.ts +3 -3
- package/build/api/models/delete-frame-response.js +3 -3
- package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +3 -3
- package/build/api/models/deploy-fungible-response-contract-fungible.js +3 -3
- package/build/api/models/deploy-fungible-response-contract.d.ts +3 -3
- package/build/api/models/deploy-fungible-response-contract.js +3 -3
- package/build/api/models/deploy-fungible-response.d.ts +3 -3
- package/build/api/models/deploy-fungible-response.js +3 -3
- package/build/api/models/developer-managed-signer.d.ts +3 -3
- package/build/api/models/developer-managed-signer.js +3 -3
- package/build/api/models/embed-cast-deep.d.ts +3 -3
- package/build/api/models/embed-cast-deep.js +3 -3
- package/build/api/models/embed-cast.d.ts +3 -3
- package/build/api/models/embed-cast.js +3 -3
- package/build/api/models/embed-deep.d.ts +3 -3
- package/build/api/models/embed-deep.js +3 -3
- package/build/api/models/embed-url-metadata-image.d.ts +3 -3
- package/build/api/models/embed-url-metadata-image.js +3 -3
- package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +3 -3
- package/build/api/models/embed-url-metadata-video-stream-inner.js +3 -3
- package/build/api/models/embed-url-metadata-video.d.ts +3 -3
- package/build/api/models/embed-url-metadata-video.js +3 -3
- package/build/api/models/embed-url-metadata.d.ts +3 -3
- package/build/api/models/embed-url-metadata.js +3 -3
- package/build/api/models/embed-url.d.ts +3 -3
- package/build/api/models/embed-url.js +3 -3
- package/build/api/models/embed.d.ts +3 -3
- package/build/api/models/embed.js +3 -3
- package/build/api/models/error-res.d.ts +3 -3
- package/build/api/models/error-res.js +3 -3
- package/build/api/models/farcaster-action-req-body-action.d.ts +3 -3
- package/build/api/models/farcaster-action-req-body-action.js +3 -3
- package/build/api/models/farcaster-action-req-body.d.ts +3 -3
- package/build/api/models/farcaster-action-req-body.js +3 -3
- package/build/api/models/farcaster-manifest-frame.d.ts +3 -3
- package/build/api/models/farcaster-manifest-frame.js +3 -3
- package/build/api/models/farcaster-manifest.d.ts +6 -6
- package/build/api/models/farcaster-manifest.js +3 -3
- package/build/api/models/feed-response.d.ts +6 -6
- package/build/api/models/feed-response.js +3 -3
- package/build/api/models/fetch-cast-quotes-identifier-parameter.d.ts +16 -0
- package/build/api/models/fetch-cast-quotes-identifier-parameter.js +15 -0
- package/build/api/models/fetch-cast-quotes200-response.d.ts +32 -0
- package/build/api/models/fetch-cast-quotes200-response.js +15 -0
- package/build/api/models/fetch-feed-for-you400-response.d.ts +3 -3
- package/build/api/models/fetch-feed-for-you400-response.js +3 -3
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.d.ts +3 -3
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +3 -3
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.d.ts +3 -3
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.js +3 -3
- package/build/api/models/fetch-relevant-frames200-response.d.ts +3 -3
- package/build/api/models/fetch-relevant-frames200-response.js +3 -3
- package/build/api/models/fetch-user-interactions200-response.d.ts +3 -3
- package/build/api/models/fetch-user-interactions200-response.js +3 -3
- package/build/api/models/fname-availability-response.d.ts +3 -3
- package/build/api/models/fname-availability-response.js +3 -3
- package/build/api/models/follow-req-body.d.ts +3 -3
- package/build/api/models/follow-req-body.js +3 -3
- package/build/api/models/follow-response.d.ts +3 -3
- package/build/api/models/follow-response.js +3 -3
- package/build/api/models/follower-dehydrated.d.ts +3 -3
- package/build/api/models/follower-dehydrated.js +3 -3
- package/build/api/models/follower.d.ts +3 -3
- package/build/api/models/follower.js +3 -3
- package/build/api/models/followers-response.d.ts +3 -3
- package/build/api/models/followers-response.js +3 -3
- package/build/api/models/frame-action-button.d.ts +3 -3
- package/build/api/models/frame-action-button.js +3 -3
- package/build/api/models/frame-action-req-body.d.ts +4 -4
- package/build/api/models/frame-action-req-body.js +3 -3
- package/build/api/models/frame-action.d.ts +3 -3
- package/build/api/models/frame-action.js +3 -3
- package/build/api/models/frame-button-action-type.d.ts +3 -3
- package/build/api/models/frame-button-action-type.js +3 -3
- package/build/api/models/frame-catalog-response.d.ts +3 -3
- package/build/api/models/frame-catalog-response.js +3 -3
- package/build/api/models/frame-developer-managed-action-req-body.d.ts +4 -4
- package/build/api/models/frame-developer-managed-action-req-body.js +3 -3
- package/build/api/models/frame-input.d.ts +3 -3
- package/build/api/models/frame-input.js +3 -3
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +3 -3
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +3 -3
- package/build/api/models/frame-notification-tokens.d.ts +3 -3
- package/build/api/models/frame-notification-tokens.js +3 -3
- package/build/api/models/{transaction-frame-pay-all-of-transaction.d.ts → frame-pay-transaction-req-body-transaction.d.ts} +6 -6
- package/build/api/models/frame-pay-transaction-req-body-transaction.js +15 -0
- package/build/api/models/{frame-pay-transaction-request-body.d.ts → frame-pay-transaction-req-body.d.ts} +11 -11
- package/build/api/models/frame-pay-transaction-req-body.js +15 -0
- package/build/api/models/frame-signature-packet-trusted-data.d.ts +3 -3
- package/build/api/models/frame-signature-packet-trusted-data.js +3 -3
- package/build/api/models/frame-signature-packet-untrusted-data.d.ts +3 -3
- package/build/api/models/frame-signature-packet-untrusted-data.js +3 -3
- package/build/api/models/frame-signature-packet.d.ts +3 -3
- package/build/api/models/frame-signature-packet.js +3 -3
- package/build/api/models/frame-state.d.ts +3 -3
- package/build/api/models/frame-state.js +3 -3
- package/build/api/models/frame-transaction.d.ts +3 -3
- package/build/api/models/frame-transaction.js +3 -3
- package/build/api/models/{frame-v1-all-of-input.d.ts → frame-v1-input.d.ts} +6 -6
- package/build/api/models/frame-v1-input.js +15 -0
- package/build/api/models/{frame-v1-all-of-state.d.ts → frame-v1-state.d.ts} +6 -6
- package/build/api/models/frame-v1-state.js +15 -0
- package/build/api/models/frame-v1.d.ts +63 -7
- package/build/api/models/frame-v1.js +3 -3
- package/build/api/models/{frame-v2-all-of-metadata.d.ts → frame-v2-metadata.d.ts} +6 -6
- package/build/api/models/frame-v2-metadata.js +15 -0
- package/build/api/models/frame-v2-with-full-author.d.ts +51 -7
- package/build/api/models/frame-v2-with-full-author.js +3 -3
- package/build/api/models/frame-v2.d.ts +51 -7
- package/build/api/models/frame-v2.js +3 -3
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.js +3 -3
- package/build/api/models/frame-validate-analytics-input-text.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-input-text.js +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.js +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast.js +3 -3
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.js +3 -3
- package/build/api/models/frame-validate-analytics-interactors.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactors.js +3 -3
- package/build/api/models/frame-validate-analytics-response.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-response.js +3 -3
- package/build/api/models/frame-validate-analytics-total-interactors.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-total-interactors.js +3 -3
- package/build/api/models/frame-validate-list-response.d.ts +3 -3
- package/build/api/models/frame-validate-list-response.js +3 -3
- package/build/api/models/frame.d.ts +3 -3
- package/build/api/models/frame.js +3 -3
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.d.ts +11 -11
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.js +3 -3
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.d.ts +8 -8
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.js +3 -3
- package/build/api/models/get-notification-campaign-stats200-response.d.ts +5 -5
- package/build/api/models/get-notification-campaign-stats200-response.js +3 -3
- package/build/api/models/{html-metadata-all-of-oembed.d.ts → html-metadata-oembed.d.ts} +5 -5
- package/build/api/models/html-metadata-oembed.js +15 -0
- package/build/api/models/html-metadata.d.ts +310 -7
- package/build/api/models/html-metadata.js +3 -3
- package/build/api/models/image-object.d.ts +3 -3
- package/build/api/models/image-object.js +3 -3
- package/build/api/models/index.d.ts +33 -59
- package/build/api/models/index.js +33 -59
- package/build/api/models/invite-channel-member-req-body.d.ts +3 -3
- package/build/api/models/invite-channel-member-req-body.js +3 -3
- package/build/api/models/location-address.d.ts +3 -3
- package/build/api/models/location-address.js +3 -3
- package/build/api/models/location.d.ts +9 -9
- package/build/api/models/location.js +3 -3
- package/build/api/models/mark-notifications-as-seen-req-body.d.ts +3 -3
- package/build/api/models/mark-notifications-as-seen-req-body.js +3 -3
- package/build/api/models/mint-nft-request-recipients-inner.d.ts +36 -0
- package/build/api/models/mint-nft-request-recipients-inner.js +15 -0
- package/build/api/models/mint-nft-request.d.ts +49 -0
- package/build/api/models/{transaction-send-fungibles-request.js → mint-nft-request.js} +5 -5
- package/build/api/models/mint-nft200-response-transactions-inner-receipt.d.ts +36 -0
- package/build/api/models/mint-nft200-response-transactions-inner-receipt.js +15 -0
- package/build/api/models/mint-nft200-response-transactions-inner-recipient.d.ts +36 -0
- package/build/api/models/mint-nft200-response-transactions-inner-recipient.js +15 -0
- package/build/api/models/mint-nft200-response-transactions-inner.d.ts +38 -0
- package/build/api/models/mint-nft200-response-transactions-inner.js +15 -0
- package/build/api/models/mint-nft200-response.d.ts +25 -0
- package/build/api/models/mint-nft200-response.js +15 -0
- package/build/api/models/mute-list-response.d.ts +3 -3
- package/build/api/models/mute-list-response.js +3 -3
- package/build/api/models/mute-record.d.ts +3 -3
- package/build/api/models/mute-record.js +3 -3
- package/build/api/models/mute-req-body.d.ts +3 -3
- package/build/api/models/mute-req-body.js +3 -3
- package/build/api/models/mute-response.d.ts +3 -3
- package/build/api/models/mute-response.js +3 -3
- package/build/api/models/network.d.ts +3 -3
- package/build/api/models/network.js +3 -3
- package/build/api/models/next-cursor.d.ts +3 -3
- package/build/api/models/next-cursor.js +3 -3
- package/build/api/models/neynar-frame-creation-req-body.d.ts +3 -3
- package/build/api/models/neynar-frame-creation-req-body.js +3 -3
- package/build/api/models/neynar-frame-page.d.ts +4 -4
- package/build/api/models/neynar-frame-page.js +3 -3
- package/build/api/models/neynar-frame-update-req-body.d.ts +3 -3
- package/build/api/models/neynar-frame-update-req-body.js +3 -3
- package/build/api/models/neynar-frame.d.ts +3 -3
- package/build/api/models/neynar-frame.js +3 -3
- package/build/api/models/neynar-next-frame-page-mint-url.d.ts +3 -3
- package/build/api/models/neynar-next-frame-page-mint-url.js +3 -3
- package/build/api/models/neynar-next-frame-page-redirect.d.ts +3 -3
- package/build/api/models/neynar-next-frame-page-redirect.js +3 -3
- package/build/api/models/neynar-next-frame-page.d.ts +3 -3
- package/build/api/models/neynar-next-frame-page.js +3 -3
- package/build/api/models/neynar-page-button-next-page.d.ts +3 -3
- package/build/api/models/neynar-page-button-next-page.js +3 -3
- package/build/api/models/neynar-page-button.d.ts +3 -3
- package/build/api/models/neynar-page-button.js +3 -3
- package/build/api/models/neynar-page-image.d.ts +3 -3
- package/build/api/models/neynar-page-image.js +3 -3
- package/build/api/models/neynar-page-input-text.d.ts +4 -4
- package/build/api/models/neynar-page-input-text.js +3 -3
- package/build/api/models/neynar-page-input.d.ts +3 -3
- package/build/api/models/neynar-page-input.js +3 -3
- package/build/api/models/nonce-response.d.ts +3 -3
- package/build/api/models/nonce-response.js +3 -3
- package/build/api/models/notification-delivery.d.ts +3 -3
- package/build/api/models/notification-delivery.js +3 -3
- package/build/api/models/notification-type.d.ts +4 -4
- package/build/api/models/notification-type.js +4 -4
- package/build/api/models/notification.d.ts +6 -6
- package/build/api/models/notification.js +3 -3
- package/build/api/models/notifications-response.d.ts +3 -3
- package/build/api/models/notifications-response.js +3 -3
- package/build/api/models/oembed-link-data.d.ts +77 -7
- package/build/api/models/oembed-link-data.js +7 -3
- package/build/api/models/oembed-photo-data.d.ts +95 -7
- package/build/api/models/oembed-photo-data.js +7 -3
- package/build/api/models/oembed-rich-data.d.ts +95 -7
- package/build/api/models/oembed-rich-data.js +7 -3
- package/build/api/models/oembed-video-data.d.ts +95 -7
- package/build/api/models/oembed-video-data.js +7 -3
- package/build/api/models/operation-response.d.ts +3 -3
- package/build/api/models/operation-response.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of1.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of1.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of2.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of2.js +3 -3
- package/build/api/models/post-cast-req-body-embeds.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds.js +3 -3
- package/build/api/models/post-cast-req-body.d.ts +3 -3
- package/build/api/models/post-cast-req-body.js +3 -3
- package/build/api/models/post-cast-response-cast-author.d.ts +3 -3
- package/build/api/models/post-cast-response-cast-author.js +3 -3
- package/build/api/models/post-cast-response-cast.d.ts +4 -4
- package/build/api/models/post-cast-response-cast.js +3 -3
- package/build/api/models/post-cast-response.d.ts +3 -3
- package/build/api/models/post-cast-response.js +3 -3
- package/build/api/models/reaction-for-cast.d.ts +6 -10
- package/build/api/models/reaction-for-cast.js +4 -8
- package/build/api/models/reaction-like.d.ts +3 -3
- package/build/api/models/reaction-like.js +3 -3
- package/build/api/models/reaction-recast.d.ts +3 -3
- package/build/api/models/reaction-recast.js +3 -3
- package/build/api/models/reaction-req-body.d.ts +3 -3
- package/build/api/models/reaction-req-body.js +3 -3
- package/build/api/models/reaction-type.d.ts +3 -3
- package/build/api/models/reaction-type.js +3 -3
- package/build/api/models/reaction-with-cast-info.d.ts +6 -6
- package/build/api/models/reaction-with-cast-info.js +3 -3
- package/build/api/models/reaction-with-user-info.d.ts +3 -3
- package/build/api/models/reaction-with-user-info.js +3 -3
- package/build/api/models/reactions-cast-response.d.ts +3 -3
- package/build/api/models/reactions-cast-response.js +3 -3
- package/build/api/models/reactions-response.d.ts +3 -3
- package/build/api/models/reactions-response.js +3 -3
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.d.ts +55 -0
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.js +15 -0
- package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +5 -5
- package/build/api/models/register-developer-managed-signed-key-req-body.js +3 -3
- package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.d.ts +48 -0
- package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.js +21 -0
- package/build/api/models/register-signer-key-req-body.d.ts +5 -5
- package/build/api/models/register-signer-key-req-body.js +3 -3
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.d.ts +14 -14
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.js +3 -3
- package/build/api/models/register-user-on-chain-req-body-registration.d.ts +3 -3
- package/build/api/models/register-user-on-chain-req-body-registration.js +3 -3
- package/build/api/models/register-user-on-chain-req-body-signers-inner.d.ts +3 -3
- package/build/api/models/register-user-on-chain-req-body-signers-inner.js +3 -3
- package/build/api/models/register-user-on-chain-req-body.d.ts +14 -14
- package/build/api/models/register-user-on-chain-req-body.js +3 -3
- package/build/api/models/register-user-on-chain-response.d.ts +3 -3
- package/build/api/models/register-user-on-chain-response.js +3 -3
- package/build/api/models/register-user-req-body-metadata.d.ts +3 -3
- package/build/api/models/register-user-req-body-metadata.js +3 -3
- package/build/api/models/register-user-req-body.d.ts +3 -3
- package/build/api/models/register-user-req-body.js +3 -3
- package/build/api/models/register-user-response.d.ts +3 -3
- package/build/api/models/register-user-response.js +3 -3
- package/build/api/models/relevant-followers-response.d.ts +3 -3
- package/build/api/models/relevant-followers-response.js +3 -3
- package/build/api/models/relevant-fungible-owners-response.d.ts +3 -3
- package/build/api/models/relevant-fungible-owners-response.js +3 -3
- package/build/api/models/remove-channel-member-req-body.d.ts +3 -3
- package/build/api/models/remove-channel-member-req-body.js +3 -3
- package/build/api/models/remove-verification-req-body.d.ts +9 -3
- package/build/api/models/remove-verification-req-body.js +3 -3
- package/build/api/models/respond-channel-invite-req-body.d.ts +3 -3
- package/build/api/models/respond-channel-invite-req-body.js +3 -3
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.d.ts +32 -6
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.js +3 -3
- package/build/api/models/send-frame-notifications-req-body-filters.d.ts +3 -3
- package/build/api/models/send-frame-notifications-req-body-filters.js +3 -3
- package/build/api/models/send-frame-notifications-req-body-notification.d.ts +3 -3
- package/build/api/models/send-frame-notifications-req-body-notification.js +3 -3
- package/build/api/models/send-frame-notifications-req-body.d.ts +7 -7
- package/build/api/models/send-frame-notifications-req-body.js +3 -3
- package/build/api/models/send-frame-notifications-response.d.ts +3 -3
- package/build/api/models/send-frame-notifications-response.js +3 -3
- package/build/api/models/shared-signer-permission.d.ts +3 -3
- package/build/api/models/shared-signer-permission.js +3 -3
- package/build/api/models/signed-key-request-sponsor.d.ts +4 -4
- package/build/api/models/signed-key-request-sponsor.js +3 -3
- package/build/api/models/signer-list-response.d.ts +3 -3
- package/build/api/models/signer-list-response.js +3 -3
- package/build/api/models/signer.d.ts +3 -3
- package/build/api/models/signer.js +3 -3
- package/build/api/models/simulate-nft-mint-response-inner.d.ts +73 -0
- package/build/api/models/simulate-nft-mint-response-inner.js +15 -0
- package/build/api/models/simulate-nft-mint-response.d.ts +19 -0
- package/build/api/models/simulate-nft-mint-response.js +15 -0
- package/build/api/models/storage-allocation.d.ts +3 -3
- package/build/api/models/storage-allocation.js +3 -3
- package/build/api/models/storage-allocations-response.d.ts +3 -3
- package/build/api/models/storage-allocations-response.js +3 -3
- package/build/api/models/storage-object.d.ts +3 -3
- package/build/api/models/storage-object.js +3 -3
- package/build/api/models/storage-usage-response.d.ts +3 -3
- package/build/api/models/storage-usage-response.js +3 -3
- package/build/api/models/subscribed-to-object.d.ts +3 -3
- package/build/api/models/subscribed-to-object.js +3 -3
- package/build/api/models/subscribed-to-response.d.ts +3 -3
- package/build/api/models/subscribed-to-response.js +3 -3
- package/build/api/models/subscribed-to.d.ts +100 -7
- package/build/api/models/subscribed-to.js +7 -3
- package/build/api/models/subscriber.d.ts +3 -3
- package/build/api/models/subscriber.js +3 -3
- package/build/api/models/subscribers-response.d.ts +3 -3
- package/build/api/models/subscribers-response.js +3 -3
- package/build/api/models/subscription-check-response-value.d.ts +53 -0
- package/build/api/models/{subscription-status.js → subscription-check-response-value.js} +5 -5
- package/build/api/models/subscription-check-response.d.ts +5 -5
- package/build/api/models/subscription-check-response.js +3 -3
- package/build/api/models/subscription-metadata.d.ts +3 -3
- package/build/api/models/subscription-metadata.js +3 -3
- package/build/api/models/subscription-price.d.ts +3 -3
- package/build/api/models/subscription-price.js +3 -3
- package/build/api/models/subscription-tier-price.d.ts +3 -3
- package/build/api/models/subscription-tier-price.js +3 -3
- package/build/api/models/subscription-tier.d.ts +3 -3
- package/build/api/models/subscription-tier.js +3 -3
- package/build/api/models/subscription-token.d.ts +3 -3
- package/build/api/models/subscription-token.js +3 -3
- package/build/api/models/subscription.d.ts +3 -3
- package/build/api/models/subscription.js +3 -3
- package/build/api/models/subscriptions-response.d.ts +3 -3
- package/build/api/models/subscriptions-response.js +3 -3
- package/build/api/models/subscriptions.d.ts +3 -3
- package/build/api/models/subscriptions.js +3 -3
- package/build/api/models/text-range.d.ts +3 -3
- package/build/api/models/text-range.js +3 -3
- package/build/api/models/token-balance-balance.d.ts +3 -3
- package/build/api/models/token-balance-balance.js +3 -3
- package/build/api/models/token-balance-token.d.ts +3 -3
- package/build/api/models/token-balance-token.js +3 -3
- package/build/api/models/token-balance.d.ts +3 -3
- package/build/api/models/token-balance.js +3 -3
- package/build/api/models/transaction-frame-action.d.ts +4 -4
- package/build/api/models/transaction-frame-action.js +3 -3
- package/build/api/models/transaction-frame-config.d.ts +4 -4
- package/build/api/models/transaction-frame-config.js +3 -3
- package/build/api/models/transaction-frame-destination.d.ts +3 -3
- package/build/api/models/transaction-frame-destination.js +3 -3
- package/build/api/models/transaction-frame-line-item.d.ts +3 -3
- package/build/api/models/transaction-frame-line-item.js +3 -3
- package/build/api/models/transaction-frame-pay.d.ts +47 -7
- package/build/api/models/transaction-frame-pay.js +3 -3
- package/build/api/models/transaction-frame-response.d.ts +3 -3
- package/build/api/models/transaction-frame-response.js +3 -3
- package/build/api/models/transaction-frame-status.d.ts +3 -3
- package/build/api/models/transaction-frame-status.js +3 -3
- package/build/api/models/transaction-frame-type.d.ts +3 -3
- package/build/api/models/transaction-frame-type.js +3 -3
- package/build/api/models/transaction-frame.d.ts +3 -3
- package/build/api/models/transaction-frame.js +3 -3
- package/build/api/models/transaction-send-fungibles-receipt.d.ts +3 -3
- package/build/api/models/transaction-send-fungibles-receipt.js +3 -3
- package/build/api/models/transaction-send-fungibles-recipient.d.ts +3 -3
- package/build/api/models/transaction-send-fungibles-recipient.js +3 -3
- package/build/api/models/{transaction-send-fungibles-request.d.ts → transaction-send-fungibles-req-body.d.ts} +11 -11
- package/build/api/models/transaction-send-fungibles-req-body.js +21 -0
- package/build/api/models/transaction-send-fungibles-response.d.ts +3 -3
- package/build/api/models/transaction-send-fungibles-response.js +3 -3
- package/build/api/models/transaction-send-tx-info.d.ts +3 -3
- package/build/api/models/transaction-send-tx-info.js +3 -3
- package/build/api/models/trending-channel-response.d.ts +3 -3
- package/build/api/models/trending-channel-response.js +3 -3
- package/build/api/models/update-user-req-body-location.d.ts +3 -3
- package/build/api/models/update-user-req-body-location.js +3 -3
- package/build/api/models/update-user-req-body-verified-accounts.d.ts +3 -3
- package/build/api/models/update-user-req-body-verified-accounts.js +3 -3
- package/build/api/models/update-user-req-body.d.ts +9 -3
- package/build/api/models/update-user-req-body.js +3 -3
- package/build/api/models/user-dehydrated.d.ts +3 -3
- package/build/api/models/user-dehydrated.js +3 -3
- package/build/api/models/user-experimental.d.ts +3 -3
- package/build/api/models/user-experimental.js +3 -3
- package/build/api/models/user-fidresponse.d.ts +4 -4
- package/build/api/models/user-fidresponse.js +3 -3
- package/build/api/models/user-power-lite-response-result.d.ts +3 -3
- package/build/api/models/user-power-lite-response-result.js +3 -3
- package/build/api/models/user-power-lite-response.d.ts +3 -3
- package/build/api/models/user-power-lite-response.js +3 -3
- package/build/api/models/user-pro.d.ts +41 -0
- package/build/api/models/user-pro.js +20 -0
- package/build/api/models/user-profile-banner.d.ts +24 -0
- package/build/api/models/user-profile-banner.js +15 -0
- package/build/api/models/user-profile-bio.d.ts +3 -3
- package/build/api/models/user-profile-bio.js +3 -3
- package/build/api/models/user-profile.d.ts +10 -3
- package/build/api/models/user-profile.js +3 -3
- package/build/api/models/user-response.d.ts +3 -3
- package/build/api/models/user-response.js +3 -3
- package/build/api/models/user-search-response-result.d.ts +6 -6
- package/build/api/models/user-search-response-result.js +3 -3
- package/build/api/models/user-search-response.d.ts +3 -3
- package/build/api/models/user-search-response.js +3 -3
- package/build/api/models/user-verified-accounts-inner.d.ts +4 -4
- package/build/api/models/user-verified-accounts-inner.js +3 -3
- package/build/api/models/user-verified-addresses-primary.d.ts +3 -3
- package/build/api/models/user-verified-addresses-primary.js +3 -3
- package/build/api/models/user-verified-addresses.d.ts +3 -3
- package/build/api/models/user-verified-addresses.js +3 -3
- package/build/api/models/user-viewer-context.d.ts +3 -3
- package/build/api/models/user-viewer-context.js +3 -3
- package/build/api/models/user.d.ts +17 -10
- package/build/api/models/user.js +3 -3
- package/build/api/models/users-active-channels-response.d.ts +3 -3
- package/build/api/models/users-active-channels-response.js +3 -3
- package/build/api/models/users-response.d.ts +3 -3
- package/build/api/models/users-response.js +3 -3
- package/build/api/models/validate-frame-action-req-body.d.ts +3 -3
- package/build/api/models/validate-frame-action-req-body.js +3 -3
- package/build/api/models/validate-frame-action-response.d.ts +3 -3
- package/build/api/models/validate-frame-action-response.js +3 -3
- package/build/api/models/validated-frame-action-signer.d.ts +3 -3
- package/build/api/models/validated-frame-action-signer.js +3 -3
- package/build/api/models/validated-frame-action-tapped-button.d.ts +3 -3
- package/build/api/models/validated-frame-action-tapped-button.js +3 -3
- package/build/api/models/validated-frame-action.d.ts +6 -6
- package/build/api/models/validated-frame-action.js +3 -3
- package/build/api/models/verification-chain-id.d.ts +3 -3
- package/build/api/models/verification-chain-id.js +3 -3
- package/build/api/models/verification-type.d.ts +3 -3
- package/build/api/models/verification-type.js +3 -3
- package/build/api/models/video-object.d.ts +3 -3
- package/build/api/models/video-object.js +3 -3
- package/build/api/models/webhook-delete-req-body.d.ts +3 -3
- package/build/api/models/webhook-delete-req-body.js +3 -3
- package/build/api/models/webhook-list-response.d.ts +3 -3
- package/build/api/models/webhook-list-response.js +3 -3
- package/build/api/models/webhook-patch-req-body.d.ts +3 -3
- package/build/api/models/webhook-patch-req-body.js +3 -3
- package/build/api/models/webhook-post-req-body.d.ts +3 -3
- package/build/api/models/webhook-post-req-body.js +3 -3
- package/build/api/models/webhook-put-req-body.d.ts +3 -3
- package/build/api/models/webhook-put-req-body.js +3 -3
- package/build/api/models/webhook-response.d.ts +3 -3
- package/build/api/models/webhook-response.js +3 -3
- package/build/api/models/webhook-secret.d.ts +3 -3
- package/build/api/models/webhook-secret.js +3 -3
- package/build/api/models/webhook-subscription-filters-cast.d.ts +9 -3
- package/build/api/models/webhook-subscription-filters-cast.js +3 -3
- package/build/api/models/webhook-subscription-filters-follow.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters-follow.js +3 -3
- package/build/api/models/webhook-subscription-filters-reaction.d.ts +9 -3
- package/build/api/models/webhook-subscription-filters-reaction.js +3 -3
- package/build/api/models/webhook-subscription-filters-user-updated.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters-user-updated.js +3 -3
- package/build/api/models/webhook-subscription-filters.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters.js +3 -3
- package/build/api/models/webhook-subscription.d.ts +3 -3
- package/build/api/models/webhook-subscription.js +3 -3
- package/build/api/models/webhook.d.ts +3 -3
- package/build/api/models/webhook.js +3 -3
- package/build/api/models/zod-error-errors-inner.d.ts +3 -3
- package/build/api/models/zod-error-errors-inner.js +3 -3
- package/build/api/models/zod-error.d.ts +3 -3
- package/build/api/models/zod-error.js +3 -3
- package/build/clients/NeynarAPIClient.d.ts +403 -246
- package/build/clients/NeynarAPIClient.js +374 -194
- package/build/hub-api/models/index.d.ts +2 -0
- package/build/hub-api/models/index.js +2 -0
- package/build/hub-api/models/storage-limits-response-tier-subscriptions-inner.d.ts +34 -0
- package/build/hub-api/models/storage-limits-response-tier-subscriptions-inner.js +19 -0
- package/build/hub-api/models/storage-limits-response-unit-details.d.ts +35 -0
- package/build/hub-api/models/storage-limits-response-unit-details.js +20 -0
- package/build/hub-api/models/storage-limits-response.d.ts +20 -0
- package/build/types/webhooks.d.ts +1 -12
- package/package.json +3 -3
- package/build/api/models/app-host-post-event-body-one-of.d.ts +0 -30
- package/build/api/models/app-host-post-event-body.d.ts +0 -19
- package/build/api/models/authorization-url-response-type.d.ts +0 -20
- package/build/api/models/authorization-url-response-type.js +0 -24
- package/build/api/models/bulk-user-address-type.d.ts +0 -21
- package/build/api/models/bulk-user-address-type.js +0 -25
- package/build/api/models/cast-composer-type.d.ts +0 -21
- package/build/api/models/cast-composer-type.js +0 -25
- package/build/api/models/cast-conversation-sort-type.d.ts +0 -22
- package/build/api/models/cast-conversation-sort-type.js +0 -26
- package/build/api/models/cast-param-type.d.ts +0 -21
- package/build/api/models/cast-param-type.js +0 -25
- package/build/api/models/cast-with-interactions-all-of.d.ts +0 -93
- package/build/api/models/cast-with-interactions-and-conversations-all-of.d.ts +0 -25
- package/build/api/models/cast-with-interactions-and-conversations-all-of.js +0 -15
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.d.ts +0 -24
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.js +0 -15
- package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +0 -19
- package/build/api/models/cast-with-interactions-and-conversations-ref.js +0 -15
- package/build/api/models/cast-with-interactions-and-conversations.d.ts +0 -18
- package/build/api/models/cast-with-interactions-and-conversations.js +0 -15
- package/build/api/models/cast-with-interactions-reactions.js +0 -15
- package/build/api/models/cast-with-interactions-replies.d.ts +0 -24
- package/build/api/models/cast-with-interactions-replies.js +0 -15
- package/build/api/models/cast-with-interactions.d.ts +0 -18
- package/build/api/models/cast-with-interactions.js +0 -15
- package/build/api/models/casts-search-response-result.d.ts +0 -32
- package/build/api/models/casts-search-response-result.js +0 -15
- package/build/api/models/channel-type.d.ts +0 -21
- package/build/api/models/channel-type.js +0 -25
- package/build/api/models/embed-type.d.ts +0 -37
- package/build/api/models/embed-type.js +0 -41
- package/build/api/models/farcaster-manifest-account-association.d.ts +0 -36
- package/build/api/models/farcaster-manifest-account-association.js +0 -15
- package/build/api/models/feed-trending-provider.d.ts +0 -22
- package/build/api/models/feed-trending-provider.js +0 -26
- package/build/api/models/feed-type.d.ts +0 -21
- package/build/api/models/feed-type.js +0 -25
- package/build/api/models/filter-type.d.ts +0 -25
- package/build/api/models/filter-type.js +0 -29
- package/build/api/models/follow-sort-type.d.ts +0 -21
- package/build/api/models/follow-sort-type.js +0 -25
- package/build/api/models/for-you-provider.d.ts +0 -22
- package/build/api/models/for-you-provider.js +0 -26
- package/build/api/models/frame-base.d.ts +0 -36
- package/build/api/models/frame-base.js +0 -15
- package/build/api/models/frame-pay-transaction-request-body.js +0 -15
- package/build/api/models/frame-type.d.ts +0 -21
- package/build/api/models/frame-type.js +0 -25
- package/build/api/models/frame-v1-all-of-input.js +0 -15
- package/build/api/models/frame-v1-all-of-state.js +0 -15
- package/build/api/models/frame-v1-all-of.d.ts +0 -57
- package/build/api/models/frame-v1-all-of.js +0 -15
- package/build/api/models/frame-v2-all-of-metadata.js +0 -15
- package/build/api/models/frame-v2-all-of.d.ts +0 -45
- package/build/api/models/frame-v2-all-of.js +0 -15
- package/build/api/models/frame-v2-with-full-author-all-of.d.ts +0 -45
- package/build/api/models/frame-v2-with-full-author-all-of.js +0 -15
- package/build/api/models/fungible-owner-relevant-network.d.ts +0 -24
- package/build/api/models/fungible-owner-relevant-network.js +0 -28
- package/build/api/models/html-metadata-all-of-oembed.js +0 -15
- package/build/api/models/html-metadata-all-of.d.ts +0 -25
- package/build/api/models/html-metadata-all-of.js +0 -15
- package/build/api/models/mini-app-time-window.d.ts +0 -24
- package/build/api/models/mini-app-time-window.js +0 -28
- package/build/api/models/oembed-data.d.ts +0 -84
- package/build/api/models/oembed-data.js +0 -15
- package/build/api/models/oembed-link-data-all-of.d.ts +0 -28
- package/build/api/models/oembed-link-data-all-of.js +0 -19
- package/build/api/models/oembed-photo-data-all-of.d.ts +0 -46
- package/build/api/models/oembed-photo-data-all-of.js +0 -19
- package/build/api/models/oembed-rich-data-all-of.d.ts +0 -46
- package/build/api/models/oembed-rich-data-all-of.js +0 -19
- package/build/api/models/oembed-video-data-all-of.d.ts +0 -46
- package/build/api/models/oembed-video-data-all-of.js +0 -19
- package/build/api/models/og-object.d.ts +0 -314
- package/build/api/models/og-object.js +0 -15
- package/build/api/models/profile-url-pfp.d.ts +0 -24
- package/build/api/models/profile-url-pfp.js +0 -15
- package/build/api/models/profile-url.d.ts +0 -25
- package/build/api/models/profile-url.js +0 -15
- package/build/api/models/reactions-type.d.ts +0 -22
- package/build/api/models/reactions-type.js +0 -26
- package/build/api/models/search-sort-type.d.ts +0 -21
- package/build/api/models/search-sort-type.js +0 -25
- package/build/api/models/searched-user.d.ts +0 -130
- package/build/api/models/searched-user.js +0 -19
- package/build/api/models/subscribed-to-all-of.d.ts +0 -44
- package/build/api/models/subscribed-to-all-of.js +0 -15
- package/build/api/models/subscription-provider.d.ts +0 -20
- package/build/api/models/subscription-provider.js +0 -24
- package/build/api/models/subscription-providers.d.ts +0 -21
- package/build/api/models/subscription-providers.js +0 -25
- package/build/api/models/subscription-status.d.ts +0 -53
- package/build/api/models/transaction-frame-base.d.ts +0 -51
- package/build/api/models/transaction-frame-base.js +0 -15
- package/build/api/models/transaction-frame-pay-all-of-transaction.js +0 -15
- package/build/api/models/transaction-frame-pay-all-of.d.ts +0 -25
- package/build/api/models/transaction-frame-pay-all-of.js +0 -15
- package/build/api/models/validate-frame-aggregate-window.d.ts +0 -30
- package/build/api/models/validate-frame-aggregate-window.js +0 -34
- package/build/api/models/validate-frame-analytics-type.d.ts +0 -23
- package/build/api/models/validate-frame-analytics-type.js +0 -27
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* The
|
|
2
|
+
* Neynar API
|
|
3
|
+
* The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.19.0
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,26 +13,24 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { CastComposerActionsListResponse } from '../models';
|
|
16
|
-
import type { CastComposerType } from '../models';
|
|
17
|
-
import type { CastConversationSortType } from '../models';
|
|
18
16
|
import type { CastEmbedCrawlResponse } from '../models';
|
|
19
|
-
import type { CastParamType } from '../models';
|
|
20
17
|
import type { CastResponse } from '../models';
|
|
21
18
|
import type { CastsResponse } from '../models';
|
|
22
19
|
import type { CastsSearchResponse } from '../models';
|
|
23
20
|
import type { Conversation } from '../models';
|
|
24
21
|
import type { DeleteCastReqBody } from '../models';
|
|
22
|
+
import type { FetchCastQuotes200Response } from '../models';
|
|
23
|
+
import type { FetchCastQuotesIdentifierParameter } from '../models';
|
|
25
24
|
import type { OperationResponse } from '../models';
|
|
26
25
|
import type { PostCastReqBody } from '../models';
|
|
27
26
|
import type { PostCastResponse } from '../models';
|
|
28
|
-
import type { SearchSortType } from '../models';
|
|
29
27
|
/**
|
|
30
28
|
* CastApi - axios parameter creator
|
|
31
29
|
* @export
|
|
32
30
|
*/
|
|
33
31
|
export declare const CastApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
34
32
|
/**
|
|
35
|
-
* Delete an existing cast.
|
|
33
|
+
* Delete an existing cast. (In order to delete a cast `signer_uuid` must be approved)
|
|
36
34
|
* @summary Delete a cast
|
|
37
35
|
* @param {DeleteCastReqBody} deleteCastReqBody
|
|
38
36
|
* @param {*} [options] Override http request option.
|
|
@@ -47,9 +45,9 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
47
45
|
* Fetch multiple casts using their respective hashes.
|
|
48
46
|
* @summary Bulk fetch casts
|
|
49
47
|
* @param {string} casts Hashes of the cast to be retrived (Comma separated, no spaces)
|
|
48
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
50
49
|
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
51
50
|
* @param {FetchBulkCastsSortTypeEnum} [sortType] Optional parameter to sort the casts based on different criteria
|
|
52
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
53
51
|
* @param {*} [options] Override http request option.
|
|
54
52
|
* @throws {RequiredError}
|
|
55
53
|
* @returns {Promise<CastsResponse>} A promise that resolves to a `CastsResponse` object
|
|
@@ -57,11 +55,28 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
57
55
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-casts)
|
|
58
56
|
*
|
|
59
57
|
*/
|
|
60
|
-
fetchBulkCasts: (casts: string, viewerFid?: number, sortType?: FetchBulkCastsSortTypeEnum,
|
|
58
|
+
fetchBulkCasts: (casts: string, xNeynarExperimental?: boolean, viewerFid?: number, sortType?: FetchBulkCastsSortTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
|
+
/**
|
|
60
|
+
* Fetch casts that quote a given cast
|
|
61
|
+
* @summary Cast Quotes
|
|
62
|
+
* @param {FetchCastQuotesIdentifierParameter} identifier Cast identifier (It\'s either a URL or a hash)
|
|
63
|
+
* @param {FetchCastQuotesTypeEnum} type The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
|
|
64
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
65
|
+
* @param {number} [viewerFid]
|
|
66
|
+
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
67
|
+
* @param {string} [cursor] Pagination cursor.
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
* @returns {Promise<FetchCastQuotes200Response>} A promise that resolves to a `FetchCastQuotes200Response` object
|
|
71
|
+
*
|
|
72
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-cast-quotes)
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
fetchCastQuotes: (identifier: FetchCastQuotesIdentifierParameter, type: FetchCastQuotesTypeEnum, xNeynarExperimental?: boolean, viewerFid?: number, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
76
|
/**
|
|
62
77
|
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
63
78
|
* @summary Fetch composer actions
|
|
64
|
-
* @param {
|
|
79
|
+
* @param {FetchComposerActionsListEnum} list Type of list to fetch.
|
|
65
80
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 25)
|
|
66
81
|
* @param {string} [cursor] Pagination cursor.
|
|
67
82
|
* @param {*} [options] Override http request option.
|
|
@@ -71,7 +86,7 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
71
86
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-composer-actions)
|
|
72
87
|
*
|
|
73
88
|
*/
|
|
74
|
-
fetchComposerActions: (list:
|
|
89
|
+
fetchComposerActions: (list: FetchComposerActionsListEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
90
|
/**
|
|
76
91
|
* Crawls the given URL and returns metadata useful when embedding the URL in a cast.
|
|
77
92
|
* @summary Embedded URL metadata
|
|
@@ -87,10 +102,10 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
87
102
|
/**
|
|
88
103
|
* Gets information about an individual cast by passing in a Farcaster web URL or cast hash
|
|
89
104
|
* @summary By hash or URL
|
|
90
|
-
* @param {
|
|
91
|
-
* @param {
|
|
92
|
-
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
105
|
+
* @param {FetchCastQuotesIdentifierParameter} identifier Cast identifier (It\'s either a URL or a hash)
|
|
106
|
+
* @param {LookupCastByHashOrWarpcastUrlTypeEnum} type The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
|
|
93
107
|
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
108
|
+
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
94
109
|
* @param {*} [options] Override http request option.
|
|
95
110
|
* @throws {RequiredError}
|
|
96
111
|
* @returns {Promise<CastResponse>} A promise that resolves to a `CastResponse` object
|
|
@@ -98,20 +113,20 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
98
113
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-by-hash-or-warpcast-url)
|
|
99
114
|
*
|
|
100
115
|
*/
|
|
101
|
-
lookupCastByHashOrWarpcastUrl: (identifier:
|
|
116
|
+
lookupCastByHashOrWarpcastUrl: (identifier: FetchCastQuotesIdentifierParameter, type: LookupCastByHashOrWarpcastUrlTypeEnum, xNeynarExperimental?: boolean, viewerFid?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
102
117
|
/**
|
|
103
118
|
* Gets all casts related to a conversation surrounding a cast by passing in a cast hash or Farcaster URL. Includes all the ancestors of a cast up to the root parent in a chronological order. Includes all direct_replies to the cast up to the reply_depth specified in the query parameter.
|
|
104
119
|
* @summary Conversation for a cast
|
|
105
|
-
* @param {string} identifier Cast identifier (
|
|
106
|
-
* @param {
|
|
107
|
-
* @param {
|
|
108
|
-
* @param {
|
|
120
|
+
* @param {string} identifier Cast identifier (It\'s either a URL or a hash)
|
|
121
|
+
* @param {LookupCastConversationTypeEnum} type The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
|
|
122
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
123
|
+
* @param {number | null} [replyDepth] The depth of replies in the conversation that will be returned (default 2)
|
|
124
|
+
* @param {boolean | null} [includeChronologicalParentCasts] Include all parent casts in chronological order
|
|
109
125
|
* @param {number} [viewerFid] Providing this will return a conversation that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
110
|
-
* @param {
|
|
126
|
+
* @param {LookupCastConversationSortTypeEnum} [sortType] Sort type for the ordering of descendants. Default is `chron`
|
|
111
127
|
* @param {LookupCastConversationFoldEnum} [fold] Show conversation above or below the fold. Lower quality responses are hidden below the fold. Not passing in a value shows the full conversation without any folding.
|
|
112
128
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 50)
|
|
113
129
|
* @param {string} [cursor] Pagination cursor.
|
|
114
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
115
130
|
* @param {*} [options] Override http request option.
|
|
116
131
|
* @throws {RequiredError}
|
|
117
132
|
* @returns {Promise<Conversation>} A promise that resolves to a `Conversation` object
|
|
@@ -119,7 +134,7 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
119
134
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation)
|
|
120
135
|
*
|
|
121
136
|
*/
|
|
122
|
-
lookupCastConversation: (identifier: string, type:
|
|
137
|
+
lookupCastConversation: (identifier: string, type: LookupCastConversationTypeEnum, xNeynarExperimental?: boolean, replyDepth?: number | null, includeChronologicalParentCasts?: boolean | null, viewerFid?: number, sortType?: LookupCastConversationSortTypeEnum, fold?: LookupCastConversationFoldEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
123
138
|
/**
|
|
124
139
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
125
140
|
* @summary Post a cast
|
|
@@ -136,16 +151,15 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
136
151
|
* Search for casts based on a query string, with optional AND filters
|
|
137
152
|
* @summary Search for casts
|
|
138
153
|
* @param {string} q Query string to search for casts. Supported operators: | Operator | Description | | --------- | -------------------------------------------------------------------------------------------------------- | | `+` | Acts as the AND operator. This is the default operator between terms and can usually be omitted. | | `\\|` | Acts as the OR operator. | | `*` | When used at the end of a term, signifies a prefix query. | | `\"` | Wraps several terms into a phrase (for example, `\"star wars\"`). | | `(`, `)` | Wrap a clause for precedence (for example, `star + (wars \\| trek)`). | | `~n` | When used after a term (for example, `satr~3`), sets `fuzziness`. When used after a phrase, sets `slop`. | | `-` | Negates the term. | | `before:` | Search for casts before a specific date. (e.g. `before:2025-04-20`) | | `after:` | Search for casts after a specific date. (e.g. `after:2025-04-20`) |
|
|
154
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
139
155
|
* @param {SearchCastsModeEnum} [mode] Choices are: - `literal` - Searches for the words in the query string (default) - `semantic` - Searches for the meaning of the query string - `hybrid` - Combines both literal and semantic results
|
|
140
|
-
* @param {
|
|
156
|
+
* @param {SearchCastsSortTypeEnum} [sortType] Choices are: - `desc_chron` - All casts sorted by time (default) - `algorithmic` - Casts sorted by engagement and time
|
|
141
157
|
* @param {number} [authorFid] Fid of the user whose casts you want to search
|
|
142
158
|
* @param {number} [viewerFid] Providing this will return search results that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
143
159
|
* @param {string} [parentUrl] Parent URL of the casts you want to search
|
|
144
160
|
* @param {string} [channelId] Channel ID of the casts you want to search
|
|
145
|
-
* @param {boolean} [priorityMode] When true, only returns search results from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
146
161
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
147
162
|
* @param {string} [cursor] Pagination cursor
|
|
148
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
149
163
|
* @param {*} [options] Override http request option.
|
|
150
164
|
* @throws {RequiredError}
|
|
151
165
|
* @returns {Promise<CastsSearchResponse>} A promise that resolves to a `CastsSearchResponse` object
|
|
@@ -153,7 +167,7 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
153
167
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
|
|
154
168
|
*
|
|
155
169
|
*/
|
|
156
|
-
searchCasts: (q: string, mode?: SearchCastsModeEnum, sortType?:
|
|
170
|
+
searchCasts: (q: string, xNeynarExperimental?: boolean, mode?: SearchCastsModeEnum, sortType?: SearchCastsSortTypeEnum, authorFid?: number, viewerFid?: number, parentUrl?: string, channelId?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
157
171
|
};
|
|
158
172
|
/**
|
|
159
173
|
* CastApi - functional programming interface
|
|
@@ -161,7 +175,7 @@ export declare const CastApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
161
175
|
*/
|
|
162
176
|
export declare const CastApiFp: (configuration?: Configuration) => {
|
|
163
177
|
/**
|
|
164
|
-
* Delete an existing cast.
|
|
178
|
+
* Delete an existing cast. (In order to delete a cast `signer_uuid` must be approved)
|
|
165
179
|
* @summary Delete a cast
|
|
166
180
|
* @param {DeleteCastReqBody} deleteCastReqBody
|
|
167
181
|
* @param {*} [options] Override http request option.
|
|
@@ -176,9 +190,9 @@ export declare const CastApiFp: (configuration?: Configuration) => {
|
|
|
176
190
|
* Fetch multiple casts using their respective hashes.
|
|
177
191
|
* @summary Bulk fetch casts
|
|
178
192
|
* @param {string} casts Hashes of the cast to be retrived (Comma separated, no spaces)
|
|
193
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
179
194
|
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
180
195
|
* @param {FetchBulkCastsSortTypeEnum} [sortType] Optional parameter to sort the casts based on different criteria
|
|
181
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
182
196
|
* @param {*} [options] Override http request option.
|
|
183
197
|
* @throws {RequiredError}
|
|
184
198
|
* @returns {Promise<CastsResponse>} A promise that resolves to a `CastsResponse` object
|
|
@@ -186,11 +200,28 @@ export declare const CastApiFp: (configuration?: Configuration) => {
|
|
|
186
200
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-casts)
|
|
187
201
|
*
|
|
188
202
|
*/
|
|
189
|
-
fetchBulkCasts(casts: string, viewerFid?: number, sortType?: FetchBulkCastsSortTypeEnum,
|
|
203
|
+
fetchBulkCasts(casts: string, xNeynarExperimental?: boolean, viewerFid?: number, sortType?: FetchBulkCastsSortTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CastsResponse>>;
|
|
204
|
+
/**
|
|
205
|
+
* Fetch casts that quote a given cast
|
|
206
|
+
* @summary Cast Quotes
|
|
207
|
+
* @param {FetchCastQuotesIdentifierParameter} identifier Cast identifier (It\'s either a URL or a hash)
|
|
208
|
+
* @param {FetchCastQuotesTypeEnum} type The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
|
|
209
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
210
|
+
* @param {number} [viewerFid]
|
|
211
|
+
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
212
|
+
* @param {string} [cursor] Pagination cursor.
|
|
213
|
+
* @param {*} [options] Override http request option.
|
|
214
|
+
* @throws {RequiredError}
|
|
215
|
+
* @returns {Promise<FetchCastQuotes200Response>} A promise that resolves to a `FetchCastQuotes200Response` object
|
|
216
|
+
*
|
|
217
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-cast-quotes)
|
|
218
|
+
*
|
|
219
|
+
*/
|
|
220
|
+
fetchCastQuotes(identifier: FetchCastQuotesIdentifierParameter, type: FetchCastQuotesTypeEnum, xNeynarExperimental?: boolean, viewerFid?: number, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FetchCastQuotes200Response>>;
|
|
190
221
|
/**
|
|
191
222
|
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
192
223
|
* @summary Fetch composer actions
|
|
193
|
-
* @param {
|
|
224
|
+
* @param {FetchComposerActionsListEnum} list Type of list to fetch.
|
|
194
225
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 25)
|
|
195
226
|
* @param {string} [cursor] Pagination cursor.
|
|
196
227
|
* @param {*} [options] Override http request option.
|
|
@@ -200,7 +231,7 @@ export declare const CastApiFp: (configuration?: Configuration) => {
|
|
|
200
231
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-composer-actions)
|
|
201
232
|
*
|
|
202
233
|
*/
|
|
203
|
-
fetchComposerActions(list:
|
|
234
|
+
fetchComposerActions(list: FetchComposerActionsListEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CastComposerActionsListResponse>>;
|
|
204
235
|
/**
|
|
205
236
|
* Crawls the given URL and returns metadata useful when embedding the URL in a cast.
|
|
206
237
|
* @summary Embedded URL metadata
|
|
@@ -216,10 +247,10 @@ export declare const CastApiFp: (configuration?: Configuration) => {
|
|
|
216
247
|
/**
|
|
217
248
|
* Gets information about an individual cast by passing in a Farcaster web URL or cast hash
|
|
218
249
|
* @summary By hash or URL
|
|
219
|
-
* @param {
|
|
220
|
-
* @param {
|
|
221
|
-
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
250
|
+
* @param {FetchCastQuotesIdentifierParameter} identifier Cast identifier (It\'s either a URL or a hash)
|
|
251
|
+
* @param {LookupCastByHashOrWarpcastUrlTypeEnum} type The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
|
|
222
252
|
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
253
|
+
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
223
254
|
* @param {*} [options] Override http request option.
|
|
224
255
|
* @throws {RequiredError}
|
|
225
256
|
* @returns {Promise<CastResponse>} A promise that resolves to a `CastResponse` object
|
|
@@ -227,20 +258,20 @@ export declare const CastApiFp: (configuration?: Configuration) => {
|
|
|
227
258
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-by-hash-or-warpcast-url)
|
|
228
259
|
*
|
|
229
260
|
*/
|
|
230
|
-
lookupCastByHashOrWarpcastUrl(identifier:
|
|
261
|
+
lookupCastByHashOrWarpcastUrl(identifier: FetchCastQuotesIdentifierParameter, type: LookupCastByHashOrWarpcastUrlTypeEnum, xNeynarExperimental?: boolean, viewerFid?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CastResponse>>;
|
|
231
262
|
/**
|
|
232
263
|
* Gets all casts related to a conversation surrounding a cast by passing in a cast hash or Farcaster URL. Includes all the ancestors of a cast up to the root parent in a chronological order. Includes all direct_replies to the cast up to the reply_depth specified in the query parameter.
|
|
233
264
|
* @summary Conversation for a cast
|
|
234
|
-
* @param {string} identifier Cast identifier (
|
|
235
|
-
* @param {
|
|
236
|
-
* @param {
|
|
237
|
-
* @param {
|
|
265
|
+
* @param {string} identifier Cast identifier (It\'s either a URL or a hash)
|
|
266
|
+
* @param {LookupCastConversationTypeEnum} type The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
|
|
267
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
268
|
+
* @param {number | null} [replyDepth] The depth of replies in the conversation that will be returned (default 2)
|
|
269
|
+
* @param {boolean | null} [includeChronologicalParentCasts] Include all parent casts in chronological order
|
|
238
270
|
* @param {number} [viewerFid] Providing this will return a conversation that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
239
|
-
* @param {
|
|
271
|
+
* @param {LookupCastConversationSortTypeEnum} [sortType] Sort type for the ordering of descendants. Default is `chron`
|
|
240
272
|
* @param {LookupCastConversationFoldEnum} [fold] Show conversation above or below the fold. Lower quality responses are hidden below the fold. Not passing in a value shows the full conversation without any folding.
|
|
241
273
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 50)
|
|
242
274
|
* @param {string} [cursor] Pagination cursor.
|
|
243
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
244
275
|
* @param {*} [options] Override http request option.
|
|
245
276
|
* @throws {RequiredError}
|
|
246
277
|
* @returns {Promise<Conversation>} A promise that resolves to a `Conversation` object
|
|
@@ -248,7 +279,7 @@ export declare const CastApiFp: (configuration?: Configuration) => {
|
|
|
248
279
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation)
|
|
249
280
|
*
|
|
250
281
|
*/
|
|
251
|
-
lookupCastConversation(identifier: string, type:
|
|
282
|
+
lookupCastConversation(identifier: string, type: LookupCastConversationTypeEnum, xNeynarExperimental?: boolean, replyDepth?: number | null, includeChronologicalParentCasts?: boolean | null, viewerFid?: number, sortType?: LookupCastConversationSortTypeEnum, fold?: LookupCastConversationFoldEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Conversation>>;
|
|
252
283
|
/**
|
|
253
284
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
254
285
|
* @summary Post a cast
|
|
@@ -265,16 +296,15 @@ export declare const CastApiFp: (configuration?: Configuration) => {
|
|
|
265
296
|
* Search for casts based on a query string, with optional AND filters
|
|
266
297
|
* @summary Search for casts
|
|
267
298
|
* @param {string} q Query string to search for casts. Supported operators: | Operator | Description | | --------- | -------------------------------------------------------------------------------------------------------- | | `+` | Acts as the AND operator. This is the default operator between terms and can usually be omitted. | | `\\|` | Acts as the OR operator. | | `*` | When used at the end of a term, signifies a prefix query. | | `\"` | Wraps several terms into a phrase (for example, `\"star wars\"`). | | `(`, `)` | Wrap a clause for precedence (for example, `star + (wars \\| trek)`). | | `~n` | When used after a term (for example, `satr~3`), sets `fuzziness`. When used after a phrase, sets `slop`. | | `-` | Negates the term. | | `before:` | Search for casts before a specific date. (e.g. `before:2025-04-20`) | | `after:` | Search for casts after a specific date. (e.g. `after:2025-04-20`) |
|
|
299
|
+
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
268
300
|
* @param {SearchCastsModeEnum} [mode] Choices are: - `literal` - Searches for the words in the query string (default) - `semantic` - Searches for the meaning of the query string - `hybrid` - Combines both literal and semantic results
|
|
269
|
-
* @param {
|
|
301
|
+
* @param {SearchCastsSortTypeEnum} [sortType] Choices are: - `desc_chron` - All casts sorted by time (default) - `algorithmic` - Casts sorted by engagement and time
|
|
270
302
|
* @param {number} [authorFid] Fid of the user whose casts you want to search
|
|
271
303
|
* @param {number} [viewerFid] Providing this will return search results that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
272
304
|
* @param {string} [parentUrl] Parent URL of the casts you want to search
|
|
273
305
|
* @param {string} [channelId] Channel ID of the casts you want to search
|
|
274
|
-
* @param {boolean} [priorityMode] When true, only returns search results from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
275
306
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
276
307
|
* @param {string} [cursor] Pagination cursor
|
|
277
|
-
* @param {boolean} [xNeynarExperimental] Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
278
308
|
* @param {*} [options] Override http request option.
|
|
279
309
|
* @throws {RequiredError}
|
|
280
310
|
* @returns {Promise<CastsSearchResponse>} A promise that resolves to a `CastsSearchResponse` object
|
|
@@ -282,7 +312,7 @@ export declare const CastApiFp: (configuration?: Configuration) => {
|
|
|
282
312
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
|
|
283
313
|
*
|
|
284
314
|
*/
|
|
285
|
-
searchCasts(q: string, mode?: SearchCastsModeEnum, sortType?:
|
|
315
|
+
searchCasts(q: string, xNeynarExperimental?: boolean, mode?: SearchCastsModeEnum, sortType?: SearchCastsSortTypeEnum, authorFid?: number, viewerFid?: number, parentUrl?: string, channelId?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CastsSearchResponse>>;
|
|
286
316
|
};
|
|
287
317
|
/**
|
|
288
318
|
* CastApi - factory interface
|
|
@@ -290,7 +320,7 @@ export declare const CastApiFp: (configuration?: Configuration) => {
|
|
|
290
320
|
*/
|
|
291
321
|
export declare const CastApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
292
322
|
/**
|
|
293
|
-
* Delete an existing cast.
|
|
323
|
+
* Delete an existing cast. (In order to delete a cast `signer_uuid` must be approved)
|
|
294
324
|
* @summary Delete a cast
|
|
295
325
|
* @param {CastApiDeleteCastRequest} requestParameters Request parameters.
|
|
296
326
|
* @param {*} [options] Override http request option.
|
|
@@ -313,6 +343,18 @@ export declare const CastApiFactory: (configuration?: Configuration, basePath?:
|
|
|
313
343
|
*
|
|
314
344
|
*/
|
|
315
345
|
fetchBulkCasts(requestParameters: CastApiFetchBulkCastsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CastsResponse>;
|
|
346
|
+
/**
|
|
347
|
+
* Fetch casts that quote a given cast
|
|
348
|
+
* @summary Cast Quotes
|
|
349
|
+
* @param {CastApiFetchCastQuotesRequest} requestParameters Request parameters.
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
* @returns {Promise<FetchCastQuotes200Response>} A promise that resolves to a `FetchCastQuotes200Response` object
|
|
353
|
+
*
|
|
354
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-cast-quotes)
|
|
355
|
+
*
|
|
356
|
+
*/
|
|
357
|
+
fetchCastQuotes(requestParameters: CastApiFetchCastQuotesRequest, options?: RawAxiosRequestConfig): AxiosPromise<FetchCastQuotes200Response>;
|
|
316
358
|
/**
|
|
317
359
|
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
318
360
|
* @summary Fetch composer actions
|
|
@@ -393,7 +435,7 @@ export declare const CastApiFactory: (configuration?: Configuration, basePath?:
|
|
|
393
435
|
*/
|
|
394
436
|
export interface CastApiInterface {
|
|
395
437
|
/**
|
|
396
|
-
* Delete an existing cast.
|
|
438
|
+
* Delete an existing cast. (In order to delete a cast `signer_uuid` must be approved)
|
|
397
439
|
* @summary Delete a cast
|
|
398
440
|
* @param {CastApiDeleteCastRequest} requestParameters Request parameters.
|
|
399
441
|
* @param {*} [options] Override http request option.
|
|
@@ -418,6 +460,19 @@ export interface CastApiInterface {
|
|
|
418
460
|
*
|
|
419
461
|
*/
|
|
420
462
|
fetchBulkCasts(requestParameters: CastApiFetchBulkCastsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CastsResponse>;
|
|
463
|
+
/**
|
|
464
|
+
* Fetch casts that quote a given cast
|
|
465
|
+
* @summary Cast Quotes
|
|
466
|
+
* @param {CastApiFetchCastQuotesRequest} requestParameters Request parameters.
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
* @memberof CastApiInterface
|
|
470
|
+
* @returns {Promise<FetchCastQuotes200Response>} A promise that resolves to a `FetchCastQuotes200Response` object
|
|
471
|
+
*
|
|
472
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-cast-quotes)
|
|
473
|
+
*
|
|
474
|
+
*/
|
|
475
|
+
fetchCastQuotes(requestParameters: CastApiFetchCastQuotesRequest, options?: RawAxiosRequestConfig): AxiosPromise<FetchCastQuotes200Response>;
|
|
421
476
|
/**
|
|
422
477
|
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
423
478
|
* @summary Fetch composer actions
|
|
@@ -528,6 +583,15 @@ export interface CastApiFetchBulkCastsRequest {
|
|
|
528
583
|
* @memberof CastApiFetchBulkCasts
|
|
529
584
|
*/
|
|
530
585
|
readonly casts: string;
|
|
586
|
+
/**
|
|
587
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
588
|
+
*
|
|
589
|
+
*
|
|
590
|
+
* @globalHeader
|
|
591
|
+
* @type {boolean}
|
|
592
|
+
* @memberof CastApiFetchBulkCasts
|
|
593
|
+
*/
|
|
594
|
+
readonly xNeynarExperimental?: boolean;
|
|
531
595
|
/**
|
|
532
596
|
* adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
533
597
|
*
|
|
@@ -546,15 +610,67 @@ export interface CastApiFetchBulkCastsRequest {
|
|
|
546
610
|
* @memberof CastApiFetchBulkCasts
|
|
547
611
|
*/
|
|
548
612
|
readonly sortType?: FetchBulkCastsSortTypeEnum;
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* Request parameters for fetchCastQuotes operation in CastApi.
|
|
616
|
+
* @export
|
|
617
|
+
* @interface CastApiFetchCastQuotesRequest
|
|
618
|
+
*/
|
|
619
|
+
export interface CastApiFetchCastQuotesRequest {
|
|
620
|
+
/**
|
|
621
|
+
* Cast identifier (It\'s either a URL or a hash)
|
|
622
|
+
*
|
|
623
|
+
*
|
|
624
|
+
*
|
|
625
|
+
* @type {FetchCastQuotesIdentifierParameter}
|
|
626
|
+
* @memberof CastApiFetchCastQuotes
|
|
627
|
+
*/
|
|
628
|
+
readonly identifier: FetchCastQuotesIdentifierParameter;
|
|
629
|
+
/**
|
|
630
|
+
* The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
|
|
631
|
+
*
|
|
632
|
+
*
|
|
633
|
+
*
|
|
634
|
+
* @type {'url' | 'hash'}
|
|
635
|
+
* @memberof CastApiFetchCastQuotes
|
|
636
|
+
*/
|
|
637
|
+
readonly type: FetchCastQuotesTypeEnum;
|
|
549
638
|
/**
|
|
550
639
|
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
551
640
|
*
|
|
552
641
|
*
|
|
553
642
|
* @globalHeader
|
|
554
643
|
* @type {boolean}
|
|
555
|
-
* @memberof
|
|
644
|
+
* @memberof CastApiFetchCastQuotes
|
|
556
645
|
*/
|
|
557
646
|
readonly xNeynarExperimental?: boolean;
|
|
647
|
+
/**
|
|
648
|
+
*
|
|
649
|
+
*
|
|
650
|
+
*
|
|
651
|
+
*
|
|
652
|
+
* @type {number}
|
|
653
|
+
* @memberof CastApiFetchCastQuotes
|
|
654
|
+
*/
|
|
655
|
+
readonly viewerFid?: number;
|
|
656
|
+
/**
|
|
657
|
+
* Number of results to fetch (Default: 25, Maximum: 100)
|
|
658
|
+
*
|
|
659
|
+
*
|
|
660
|
+
*
|
|
661
|
+
* @type {number}
|
|
662
|
+
* @memberof CastApiFetchCastQuotes
|
|
663
|
+
*/
|
|
664
|
+
readonly limit?: number;
|
|
665
|
+
/**
|
|
666
|
+
* Pagination cursor.
|
|
667
|
+
*
|
|
668
|
+
*
|
|
669
|
+
*
|
|
670
|
+
* @type {string}
|
|
671
|
+
* @memberof CastApiFetchCastQuotes
|
|
672
|
+
*/
|
|
673
|
+
readonly cursor?: string;
|
|
558
674
|
}
|
|
559
675
|
/**
|
|
560
676
|
* Request parameters for fetchComposerActions operation in CastApi.
|
|
@@ -567,10 +683,10 @@ export interface CastApiFetchComposerActionsRequest {
|
|
|
567
683
|
*
|
|
568
684
|
*
|
|
569
685
|
*
|
|
570
|
-
* @type {
|
|
686
|
+
* @type {'top' | 'featured'}
|
|
571
687
|
* @memberof CastApiFetchComposerActions
|
|
572
688
|
*/
|
|
573
|
-
readonly list:
|
|
689
|
+
readonly list: FetchComposerActionsListEnum;
|
|
574
690
|
/**
|
|
575
691
|
* Number of results to fetch (Default: 25, Maximum: 25)
|
|
576
692
|
*
|
|
@@ -613,41 +729,41 @@ export interface CastApiFetchEmbeddedUrlMetadataRequest {
|
|
|
613
729
|
*/
|
|
614
730
|
export interface CastApiLookupCastByHashOrWarpcastUrlRequest {
|
|
615
731
|
/**
|
|
616
|
-
* Cast identifier (
|
|
732
|
+
* Cast identifier (It\'s either a URL or a hash)
|
|
617
733
|
*
|
|
618
734
|
*
|
|
619
735
|
*
|
|
620
|
-
* @type {
|
|
736
|
+
* @type {FetchCastQuotesIdentifierParameter}
|
|
621
737
|
* @memberof CastApiLookupCastByHashOrWarpcastUrl
|
|
622
738
|
*/
|
|
623
|
-
readonly identifier:
|
|
739
|
+
readonly identifier: FetchCastQuotesIdentifierParameter;
|
|
624
740
|
/**
|
|
741
|
+
* The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
|
|
625
742
|
*
|
|
626
743
|
*
|
|
627
744
|
*
|
|
628
|
-
*
|
|
629
|
-
* @type {CastParamType}
|
|
745
|
+
* @type {'url' | 'hash'}
|
|
630
746
|
* @memberof CastApiLookupCastByHashOrWarpcastUrl
|
|
631
747
|
*/
|
|
632
|
-
readonly type:
|
|
748
|
+
readonly type: LookupCastByHashOrWarpcastUrlTypeEnum;
|
|
633
749
|
/**
|
|
634
|
-
*
|
|
635
|
-
*
|
|
750
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
636
751
|
*
|
|
637
752
|
*
|
|
638
|
-
* @
|
|
753
|
+
* @globalHeader
|
|
754
|
+
* @type {boolean}
|
|
639
755
|
* @memberof CastApiLookupCastByHashOrWarpcastUrl
|
|
640
756
|
*/
|
|
641
|
-
readonly
|
|
757
|
+
readonly xNeynarExperimental?: boolean;
|
|
642
758
|
/**
|
|
643
|
-
*
|
|
759
|
+
* adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
644
760
|
*
|
|
645
761
|
*
|
|
646
|
-
*
|
|
647
|
-
* @type {
|
|
762
|
+
*
|
|
763
|
+
* @type {number}
|
|
648
764
|
* @memberof CastApiLookupCastByHashOrWarpcastUrl
|
|
649
765
|
*/
|
|
650
|
-
readonly
|
|
766
|
+
readonly viewerFid?: number;
|
|
651
767
|
}
|
|
652
768
|
/**
|
|
653
769
|
* Request parameters for lookupCastConversation operation in CastApi.
|
|
@@ -656,7 +772,7 @@ export interface CastApiLookupCastByHashOrWarpcastUrlRequest {
|
|
|
656
772
|
*/
|
|
657
773
|
export interface CastApiLookupCastConversationRequest {
|
|
658
774
|
/**
|
|
659
|
-
* Cast identifier (
|
|
775
|
+
* Cast identifier (It\'s either a URL or a hash)
|
|
660
776
|
*
|
|
661
777
|
*
|
|
662
778
|
*
|
|
@@ -665,14 +781,23 @@ export interface CastApiLookupCastConversationRequest {
|
|
|
665
781
|
*/
|
|
666
782
|
readonly identifier: string;
|
|
667
783
|
/**
|
|
784
|
+
* The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
|
|
668
785
|
*
|
|
669
786
|
*
|
|
670
787
|
*
|
|
788
|
+
* @type {'url' | 'hash'}
|
|
789
|
+
* @memberof CastApiLookupCastConversation
|
|
790
|
+
*/
|
|
791
|
+
readonly type: LookupCastConversationTypeEnum;
|
|
792
|
+
/**
|
|
793
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
671
794
|
*
|
|
672
|
-
*
|
|
795
|
+
*
|
|
796
|
+
* @globalHeader
|
|
797
|
+
* @type {boolean}
|
|
673
798
|
* @memberof CastApiLookupCastConversation
|
|
674
799
|
*/
|
|
675
|
-
readonly
|
|
800
|
+
readonly xNeynarExperimental?: boolean;
|
|
676
801
|
/**
|
|
677
802
|
* The depth of replies in the conversation that will be returned (default 2)
|
|
678
803
|
*
|
|
@@ -681,7 +806,7 @@ export interface CastApiLookupCastConversationRequest {
|
|
|
681
806
|
* @type {number}
|
|
682
807
|
* @memberof CastApiLookupCastConversation
|
|
683
808
|
*/
|
|
684
|
-
readonly replyDepth?: number;
|
|
809
|
+
readonly replyDepth?: number | null;
|
|
685
810
|
/**
|
|
686
811
|
* Include all parent casts in chronological order
|
|
687
812
|
*
|
|
@@ -690,7 +815,7 @@ export interface CastApiLookupCastConversationRequest {
|
|
|
690
815
|
* @type {boolean}
|
|
691
816
|
* @memberof CastApiLookupCastConversation
|
|
692
817
|
*/
|
|
693
|
-
readonly includeChronologicalParentCasts?: boolean;
|
|
818
|
+
readonly includeChronologicalParentCasts?: boolean | null;
|
|
694
819
|
/**
|
|
695
820
|
* Providing this will return a conversation that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
696
821
|
*
|
|
@@ -705,10 +830,10 @@ export interface CastApiLookupCastConversationRequest {
|
|
|
705
830
|
*
|
|
706
831
|
*
|
|
707
832
|
*
|
|
708
|
-
* @type {
|
|
833
|
+
* @type {'chron' | 'desc_chron' | 'algorithmic'}
|
|
709
834
|
* @memberof CastApiLookupCastConversation
|
|
710
835
|
*/
|
|
711
|
-
readonly sortType?:
|
|
836
|
+
readonly sortType?: LookupCastConversationSortTypeEnum;
|
|
712
837
|
/**
|
|
713
838
|
* Show conversation above or below the fold. Lower quality responses are hidden below the fold. Not passing in a value shows the full conversation without any folding.
|
|
714
839
|
*
|
|
@@ -736,15 +861,6 @@ export interface CastApiLookupCastConversationRequest {
|
|
|
736
861
|
* @memberof CastApiLookupCastConversation
|
|
737
862
|
*/
|
|
738
863
|
readonly cursor?: string;
|
|
739
|
-
/**
|
|
740
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
741
|
-
*
|
|
742
|
-
*
|
|
743
|
-
* @globalHeader
|
|
744
|
-
* @type {boolean}
|
|
745
|
-
* @memberof CastApiLookupCastConversation
|
|
746
|
-
*/
|
|
747
|
-
readonly xNeynarExperimental?: boolean;
|
|
748
864
|
}
|
|
749
865
|
/**
|
|
750
866
|
* Request parameters for publishCast operation in CastApi.
|
|
@@ -777,6 +893,15 @@ export interface CastApiSearchCastsRequest {
|
|
|
777
893
|
* @memberof CastApiSearchCasts
|
|
778
894
|
*/
|
|
779
895
|
readonly q: string;
|
|
896
|
+
/**
|
|
897
|
+
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
898
|
+
*
|
|
899
|
+
*
|
|
900
|
+
* @globalHeader
|
|
901
|
+
* @type {boolean}
|
|
902
|
+
* @memberof CastApiSearchCasts
|
|
903
|
+
*/
|
|
904
|
+
readonly xNeynarExperimental?: boolean;
|
|
780
905
|
/**
|
|
781
906
|
* Choices are: - `literal` - Searches for the words in the query string (default) - `semantic` - Searches for the meaning of the query string - `hybrid` - Combines both literal and semantic results
|
|
782
907
|
*
|
|
@@ -791,10 +916,10 @@ export interface CastApiSearchCastsRequest {
|
|
|
791
916
|
*
|
|
792
917
|
*
|
|
793
918
|
*
|
|
794
|
-
* @type {
|
|
919
|
+
* @type {'desc_chron' | 'algorithmic'}
|
|
795
920
|
* @memberof CastApiSearchCasts
|
|
796
921
|
*/
|
|
797
|
-
readonly sortType?:
|
|
922
|
+
readonly sortType?: SearchCastsSortTypeEnum;
|
|
798
923
|
/**
|
|
799
924
|
* Fid of the user whose casts you want to search
|
|
800
925
|
*
|
|
@@ -831,15 +956,6 @@ export interface CastApiSearchCastsRequest {
|
|
|
831
956
|
* @memberof CastApiSearchCasts
|
|
832
957
|
*/
|
|
833
958
|
readonly channelId?: string;
|
|
834
|
-
/**
|
|
835
|
-
* When true, only returns search results from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
836
|
-
*
|
|
837
|
-
*
|
|
838
|
-
*
|
|
839
|
-
* @type {boolean}
|
|
840
|
-
* @memberof CastApiSearchCasts
|
|
841
|
-
*/
|
|
842
|
-
readonly priorityMode?: boolean;
|
|
843
959
|
/**
|
|
844
960
|
* Number of results to fetch (Default: 25, Maximum: 100)
|
|
845
961
|
*
|
|
@@ -858,15 +974,6 @@ export interface CastApiSearchCastsRequest {
|
|
|
858
974
|
* @memberof CastApiSearchCasts
|
|
859
975
|
*/
|
|
860
976
|
readonly cursor?: string;
|
|
861
|
-
/**
|
|
862
|
-
* Enables experimental features including filtering based on the Neynar score. See [docs](https://neynar.notion.site/Experimental-Features-1d2655195a8b80eb98b4d4ae7b76ae4a) for more details.
|
|
863
|
-
*
|
|
864
|
-
*
|
|
865
|
-
* @globalHeader
|
|
866
|
-
* @type {boolean}
|
|
867
|
-
* @memberof CastApiSearchCasts
|
|
868
|
-
*/
|
|
869
|
-
readonly xNeynarExperimental?: boolean;
|
|
870
977
|
}
|
|
871
978
|
/**
|
|
872
979
|
* CastApi - object-oriented interface
|
|
@@ -876,7 +983,7 @@ export interface CastApiSearchCastsRequest {
|
|
|
876
983
|
*/
|
|
877
984
|
export declare class CastApi extends BaseAPI implements CastApiInterface {
|
|
878
985
|
/**
|
|
879
|
-
* Delete an existing cast.
|
|
986
|
+
* Delete an existing cast. (In order to delete a cast `signer_uuid` must be approved)
|
|
880
987
|
* @summary Delete a cast
|
|
881
988
|
* @param {CastApiDeleteCastRequest} requestParameters Request parameters.
|
|
882
989
|
* @param {*} [options] Override http request option.
|
|
@@ -901,6 +1008,19 @@ export declare class CastApi extends BaseAPI implements CastApiInterface {
|
|
|
901
1008
|
*
|
|
902
1009
|
*/
|
|
903
1010
|
fetchBulkCasts(requestParameters: CastApiFetchBulkCastsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CastsResponse, any>>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Fetch casts that quote a given cast
|
|
1013
|
+
* @summary Cast Quotes
|
|
1014
|
+
* @param {CastApiFetchCastQuotesRequest} requestParameters Request parameters.
|
|
1015
|
+
* @param {*} [options] Override http request option.
|
|
1016
|
+
* @throws {RequiredError}
|
|
1017
|
+
* @memberof CastApi
|
|
1018
|
+
* @returns {Promise<FetchCastQuotes200Response>} A promise that resolves to a `FetchCastQuotes200Response` object
|
|
1019
|
+
*
|
|
1020
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-cast-quotes)
|
|
1021
|
+
*
|
|
1022
|
+
*/
|
|
1023
|
+
fetchCastQuotes(requestParameters: CastApiFetchCastQuotesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FetchCastQuotes200Response, any>>;
|
|
904
1024
|
/**
|
|
905
1025
|
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
906
1026
|
* @summary Fetch composer actions
|
|
@@ -991,6 +1111,47 @@ export declare const FetchBulkCastsSortTypeEnum: {
|
|
|
991
1111
|
readonly Recent: "recent";
|
|
992
1112
|
};
|
|
993
1113
|
export type FetchBulkCastsSortTypeEnum = typeof FetchBulkCastsSortTypeEnum[keyof typeof FetchBulkCastsSortTypeEnum];
|
|
1114
|
+
/**
|
|
1115
|
+
* @export
|
|
1116
|
+
*/
|
|
1117
|
+
export declare const FetchCastQuotesTypeEnum: {
|
|
1118
|
+
readonly Url: "url";
|
|
1119
|
+
readonly Hash: "hash";
|
|
1120
|
+
};
|
|
1121
|
+
export type FetchCastQuotesTypeEnum = typeof FetchCastQuotesTypeEnum[keyof typeof FetchCastQuotesTypeEnum];
|
|
1122
|
+
/**
|
|
1123
|
+
* @export
|
|
1124
|
+
*/
|
|
1125
|
+
export declare const FetchComposerActionsListEnum: {
|
|
1126
|
+
readonly Top: "top";
|
|
1127
|
+
readonly Featured: "featured";
|
|
1128
|
+
};
|
|
1129
|
+
export type FetchComposerActionsListEnum = typeof FetchComposerActionsListEnum[keyof typeof FetchComposerActionsListEnum];
|
|
1130
|
+
/**
|
|
1131
|
+
* @export
|
|
1132
|
+
*/
|
|
1133
|
+
export declare const LookupCastByHashOrWarpcastUrlTypeEnum: {
|
|
1134
|
+
readonly Url: "url";
|
|
1135
|
+
readonly Hash: "hash";
|
|
1136
|
+
};
|
|
1137
|
+
export type LookupCastByHashOrWarpcastUrlTypeEnum = typeof LookupCastByHashOrWarpcastUrlTypeEnum[keyof typeof LookupCastByHashOrWarpcastUrlTypeEnum];
|
|
1138
|
+
/**
|
|
1139
|
+
* @export
|
|
1140
|
+
*/
|
|
1141
|
+
export declare const LookupCastConversationTypeEnum: {
|
|
1142
|
+
readonly Url: "url";
|
|
1143
|
+
readonly Hash: "hash";
|
|
1144
|
+
};
|
|
1145
|
+
export type LookupCastConversationTypeEnum = typeof LookupCastConversationTypeEnum[keyof typeof LookupCastConversationTypeEnum];
|
|
1146
|
+
/**
|
|
1147
|
+
* @export
|
|
1148
|
+
*/
|
|
1149
|
+
export declare const LookupCastConversationSortTypeEnum: {
|
|
1150
|
+
readonly Chron: "chron";
|
|
1151
|
+
readonly DescChron: "desc_chron";
|
|
1152
|
+
readonly Algorithmic: "algorithmic";
|
|
1153
|
+
};
|
|
1154
|
+
export type LookupCastConversationSortTypeEnum = typeof LookupCastConversationSortTypeEnum[keyof typeof LookupCastConversationSortTypeEnum];
|
|
994
1155
|
/**
|
|
995
1156
|
* @export
|
|
996
1157
|
*/
|
|
@@ -1008,3 +1169,11 @@ export declare const SearchCastsModeEnum: {
|
|
|
1008
1169
|
readonly Hybrid: "hybrid";
|
|
1009
1170
|
};
|
|
1010
1171
|
export type SearchCastsModeEnum = typeof SearchCastsModeEnum[keyof typeof SearchCastsModeEnum];
|
|
1172
|
+
/**
|
|
1173
|
+
* @export
|
|
1174
|
+
*/
|
|
1175
|
+
export declare const SearchCastsSortTypeEnum: {
|
|
1176
|
+
readonly DescChron: "desc_chron";
|
|
1177
|
+
readonly Algorithmic: "algorithmic";
|
|
1178
|
+
};
|
|
1179
|
+
export type SearchCastsSortTypeEnum = typeof SearchCastsSortTypeEnum[keyof typeof SearchCastsSortTypeEnum];
|