@neynar/nodejs-sdk 2.44.0 → 3.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/api.d.ts +5 -3
- package/build/api/api.js +5 -3
- package/build/api/apis/action-api.d.ts +8 -8
- package/build/api/apis/action-api.js +8 -8
- package/build/api/apis/agents-api.d.ts +56 -25
- package/build/api/apis/agents-api.js +53 -26
- package/build/api/apis/app-host-api.d.ts +317 -0
- package/build/api/apis/app-host-api.js +337 -0
- package/build/api/apis/auth-address-api.d.ts +205 -0
- package/build/api/apis/auth-address-api.js +230 -0
- package/build/api/apis/ban-api.d.ts +16 -16
- package/build/api/apis/ban-api.js +13 -13
- package/build/api/apis/block-api.d.ts +16 -16
- package/build/api/apis/block-api.js +13 -13
- package/build/api/apis/cast-api.d.ts +282 -113
- package/build/api/apis/cast-api.js +231 -76
- package/build/api/apis/channel-api.d.ts +57 -42
- package/build/api/apis/channel-api.js +53 -39
- package/build/api/apis/feed-api.d.ts +225 -181
- package/build/api/apis/feed-api.js +160 -112
- package/build/api/apis/fname-api.d.ts +3 -3
- package/build/api/apis/fname-api.js +4 -4
- package/build/api/apis/follows-api.d.ts +72 -57
- package/build/api/apis/follows-api.js +51 -37
- package/build/api/apis/frame-api.d.ts +232 -58
- package/build/api/apis/frame-api.js +208 -48
- package/build/api/apis/login-api.d.ts +3 -3
- package/build/api/apis/login-api.js +4 -4
- package/build/api/apis/metrics-api.d.ts +22 -20
- package/build/api/apis/metrics-api.js +16 -14
- package/build/api/apis/mute-api.d.ts +16 -16
- package/build/api/apis/mute-api.js +13 -13
- package/build/api/apis/notifications-api.d.ts +43 -32
- package/build/api/apis/notifications-api.js +58 -41
- package/build/api/apis/onchain-api.d.ts +260 -40
- package/build/api/apis/onchain-api.js +249 -34
- package/build/api/apis/reaction-api.d.ts +46 -29
- package/build/api/apis/reaction-api.js +39 -23
- package/build/api/apis/signer-api.d.ts +30 -24
- package/build/api/apis/signer-api.js +30 -24
- package/build/api/apis/storage-api.d.ts +9 -9
- package/build/api/apis/storage-api.js +10 -10
- package/build/api/apis/subscribers-api.d.ts +55 -35
- package/build/api/apis/subscribers-api.js +39 -20
- package/build/api/apis/user-api.d.ts +223 -305
- package/build/api/apis/user-api.js +192 -274
- package/build/api/apis/webhook-api.d.ts +3 -3
- package/build/api/apis/webhook-api.js +9 -9
- package/build/api/base.d.ts +3 -3
- package/build/api/base.js +4 -4
- package/build/api/common.d.ts +3 -3
- package/build/api/common.js +3 -3
- package/build/api/configuration.d.ts +3 -3
- package/build/api/configuration.js +3 -3
- package/build/api/index.d.ts +3 -3
- package/build/api/index.js +3 -3
- package/build/api/models/add-verification-req-body.d.ts +3 -3
- package/build/api/models/add-verification-req-body.js +3 -3
- package/build/api/models/address-balance-verified-address.d.ts +3 -3
- package/build/api/models/address-balance-verified-address.js +3 -3
- package/build/api/models/address-balance.d.ts +3 -3
- package/build/api/models/address-balance.js +3 -3
- package/build/api/models/app-host-event-type.d.ts +23 -0
- package/build/api/models/app-host-event-type.js +27 -0
- package/build/api/models/app-host-get-event-response-notification-details.d.ts +30 -0
- package/build/api/models/{cast-with-interactions-and-conversations-ref-all-of.js → app-host-get-event-response-notification-details.js} +3 -3
- package/build/api/models/app-host-get-event-response.d.ts +31 -0
- package/build/api/models/{cast-with-interactions-and-conversations-ref.js → app-host-get-event-response.js} +3 -3
- package/build/api/models/app-host-post-event-req-body-one-of-signed-message-one-of.d.ts +36 -0
- package/build/api/models/{cast-with-interactions-all-of.js → app-host-post-event-req-body-one-of-signed-message-one-of.js} +3 -3
- package/build/api/models/app-host-post-event-req-body-one-of-signed-message.d.ts +18 -0
- package/build/api/models/{cast-with-interactions-and-conversations-all-of.js → app-host-post-event-req-body-one-of-signed-message.js} +3 -3
- package/build/api/models/app-host-post-event-req-body-one-of.d.ts +31 -0
- package/build/api/models/app-host-post-event-req-body-one-of.js +15 -0
- package/build/api/models/app-host-post-event-req-body-one-of1.d.ts +43 -0
- package/build/api/models/app-host-post-event-req-body-one-of1.js +15 -0
- package/build/api/models/app-host-post-event-req-body.d.ts +19 -0
- package/build/api/models/app-host-post-event-req-body.js +15 -0
- package/build/api/models/app-host-post-event-response.d.ts +30 -0
- package/build/api/models/app-host-post-event-response.js +15 -0
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +36 -0
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.js +15 -0
- package/build/api/models/app-host-user-state-response.d.ts +25 -0
- package/build/api/models/app-host-user-state-response.js +15 -0
- package/build/api/models/authorization-url-response.d.ts +3 -3
- package/build/api/models/authorization-url-response.js +3 -3
- package/build/api/models/balance-response-user-balance.d.ts +3 -3
- package/build/api/models/balance-response-user-balance.js +3 -3
- package/build/api/models/balance-response.d.ts +3 -3
- package/build/api/models/balance-response.js +3 -3
- package/build/api/models/ban-list-response.d.ts +3 -3
- package/build/api/models/ban-list-response.js +3 -3
- package/build/api/models/ban-record.d.ts +3 -3
- package/build/api/models/ban-record.js +3 -3
- package/build/api/models/ban-req-body.d.ts +3 -3
- package/build/api/models/ban-req-body.js +3 -3
- package/build/api/models/ban-response.d.ts +3 -3
- package/build/api/models/ban-response.js +3 -3
- package/build/api/models/best-friends-response-users-inner.d.ts +36 -0
- package/build/api/models/best-friends-response-users-inner.js +15 -0
- package/build/api/models/best-friends-response.d.ts +32 -0
- package/build/api/models/best-friends-response.js +15 -0
- package/build/api/models/block-list-response.d.ts +3 -3
- package/build/api/models/block-list-response.js +3 -3
- package/build/api/models/block-record.d.ts +3 -3
- package/build/api/models/block-record.js +3 -3
- package/build/api/models/block-req-body.d.ts +4 -4
- package/build/api/models/block-req-body.js +3 -3
- package/build/api/models/bulk-casts-response.d.ts +6 -6
- package/build/api/models/bulk-casts-response.js +3 -3
- package/build/api/models/bulk-follow-response.d.ts +3 -3
- package/build/api/models/bulk-follow-response.js +3 -3
- package/build/api/models/bulk-users-by-address-response.d.ts +3 -3
- package/build/api/models/bulk-users-by-address-response.js +3 -3
- package/build/api/models/bulk-users-response.d.ts +3 -3
- package/build/api/models/bulk-users-response.js +3 -3
- package/build/api/models/buy-storage-req-body.d.ts +3 -3
- package/build/api/models/buy-storage-req-body.js +3 -3
- package/build/api/models/cast-and-conversations-ref.d.ts +179 -0
- package/build/api/models/cast-and-conversations-ref.js +19 -0
- package/build/api/models/cast-and-conversations.d.ts +180 -0
- package/build/api/models/cast-and-conversations.js +19 -0
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.d.ts +3 -3
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.js +3 -3
- package/build/api/models/cast-composer-actions-list-response-actions-inner.d.ts +3 -3
- package/build/api/models/cast-composer-actions-list-response-actions-inner.js +3 -3
- package/build/api/models/cast-composer-actions-list-response.d.ts +3 -3
- package/build/api/models/cast-composer-actions-list-response.js +3 -3
- package/build/api/models/cast-dehydrated.d.ts +3 -3
- package/build/api/models/cast-dehydrated.js +3 -3
- package/build/api/models/cast-embed-crawl-response.d.ts +3 -3
- package/build/api/models/cast-embed-crawl-response.js +3 -3
- package/build/api/models/cast-embedded-parent-author.d.ts +4 -4
- package/build/api/models/cast-embedded-parent-author.js +3 -3
- package/build/api/models/cast-embedded.d.ts +3 -10
- package/build/api/models/cast-embedded.js +3 -3
- package/build/api/models/cast-id.d.ts +4 -4
- package/build/api/models/cast-id.js +3 -3
- package/build/api/models/cast-notification-type.d.ts +3 -3
- package/build/api/models/cast-notification-type.js +3 -3
- package/build/api/models/{cast-with-interactions-reactions.d.ts → cast-reactions.d.ts} +9 -9
- package/build/api/models/cast-reactions.js +15 -0
- package/build/api/models/cast-replies.d.ts +24 -0
- package/build/api/models/cast-replies.js +15 -0
- package/build/api/models/cast-response.d.ts +6 -6
- package/build/api/models/cast-response.js +3 -3
- package/build/api/models/cast-viewer-context.d.ts +3 -3
- package/build/api/models/cast-viewer-context.js +3 -3
- package/build/api/models/cast.d.ts +77 -3
- package/build/api/models/cast.js +3 -3
- package/build/api/models/casts-metrics-response.d.ts +3 -3
- package/build/api/models/casts-metrics-response.js +3 -3
- package/build/api/models/casts-metrics.d.ts +3 -3
- package/build/api/models/casts-metrics.js +3 -3
- package/build/api/models/casts-response-result.d.ts +6 -6
- package/build/api/models/casts-response-result.js +3 -3
- package/build/api/models/casts-response.d.ts +3 -3
- package/build/api/models/casts-response.js +3 -3
- package/build/api/models/casts-search-response.d.ts +6 -6
- package/build/api/models/casts-search-response.js +3 -3
- package/build/api/models/channel-activity.d.ts +3 -3
- package/build/api/models/channel-activity.js +3 -3
- package/build/api/models/channel-dehydrated.d.ts +3 -3
- package/build/api/models/channel-dehydrated.js +3 -3
- package/build/api/models/channel-external-link.d.ts +3 -3
- package/build/api/models/channel-external-link.js +3 -3
- package/build/api/models/channel-follow-req-body.d.ts +3 -3
- package/build/api/models/channel-follow-req-body.js +3 -3
- package/build/api/models/channel-list-response.d.ts +3 -3
- package/build/api/models/channel-list-response.js +3 -3
- package/build/api/models/channel-member-channel.d.ts +3 -3
- package/build/api/models/channel-member-channel.js +3 -3
- package/build/api/models/channel-member-invite-list-response.d.ts +3 -3
- package/build/api/models/channel-member-invite-list-response.js +3 -3
- package/build/api/models/channel-member-invite.d.ts +3 -3
- package/build/api/models/channel-member-invite.js +3 -3
- package/build/api/models/channel-member-list-response.d.ts +3 -3
- package/build/api/models/channel-member-list-response.js +3 -3
- package/build/api/models/channel-member-role.d.ts +4 -3
- package/build/api/models/channel-member-role.js +5 -4
- package/build/api/models/channel-member-user.d.ts +3 -3
- package/build/api/models/channel-member-user.js +3 -3
- package/build/api/models/channel-member.d.ts +3 -3
- package/build/api/models/channel-member.js +3 -3
- package/build/api/models/channel-or-channel-dehydrated.d.ts +3 -3
- package/build/api/models/channel-or-channel-dehydrated.js +3 -3
- package/build/api/models/channel-response-bulk.d.ts +3 -3
- package/build/api/models/channel-response-bulk.js +3 -3
- package/build/api/models/channel-response.d.ts +3 -3
- package/build/api/models/channel-response.js +3 -3
- package/build/api/models/channel-search-response.d.ts +3 -3
- package/build/api/models/channel-search-response.js +3 -3
- package/build/api/models/channel-user-context.d.ts +3 -3
- package/build/api/models/channel-user-context.js +3 -3
- package/build/api/models/channel.d.ts +18 -18
- package/build/api/models/channel.js +3 -3
- package/build/api/models/conflict-error-res.d.ts +3 -3
- package/build/api/models/conflict-error-res.js +3 -3
- package/build/api/models/conversation-conversation.d.ts +9 -9
- package/build/api/models/conversation-conversation.js +3 -3
- package/build/api/models/conversation-summary-summary.d.ts +3 -3
- package/build/api/models/conversation-summary-summary.js +3 -3
- package/build/api/models/conversation-summary.d.ts +3 -3
- package/build/api/models/conversation-summary.js +3 -3
- package/build/api/models/conversation.d.ts +3 -3
- package/build/api/models/conversation.js +3 -3
- package/build/api/models/delete-cast-req-body.d.ts +4 -4
- package/build/api/models/delete-cast-req-body.js +3 -3
- package/build/api/models/delete-frame-req-body.d.ts +3 -3
- package/build/api/models/delete-frame-req-body.js +3 -3
- package/build/api/models/delete-frame-response.d.ts +3 -3
- package/build/api/models/delete-frame-response.js +3 -3
- package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +3 -3
- package/build/api/models/deploy-fungible-response-contract-fungible.js +3 -3
- package/build/api/models/deploy-fungible-response-contract.d.ts +3 -3
- package/build/api/models/deploy-fungible-response-contract.js +3 -3
- package/build/api/models/deploy-fungible-response.d.ts +3 -3
- package/build/api/models/deploy-fungible-response.js +3 -3
- package/build/api/models/developer-managed-signer.d.ts +4 -4
- package/build/api/models/developer-managed-signer.js +3 -3
- package/build/api/models/embed-cast-deep.d.ts +3 -3
- package/build/api/models/embed-cast-deep.js +3 -3
- package/build/api/models/embed-cast.d.ts +3 -3
- package/build/api/models/embed-cast.js +3 -3
- package/build/api/models/embed-deep.d.ts +3 -3
- package/build/api/models/embed-deep.js +3 -3
- package/build/api/models/embed-url-metadata-image.d.ts +3 -3
- package/build/api/models/embed-url-metadata-image.js +3 -3
- package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +3 -3
- package/build/api/models/embed-url-metadata-video-stream-inner.js +3 -3
- package/build/api/models/embed-url-metadata-video.d.ts +3 -3
- package/build/api/models/embed-url-metadata-video.js +3 -3
- package/build/api/models/embed-url-metadata.d.ts +3 -3
- package/build/api/models/embed-url-metadata.js +3 -3
- package/build/api/models/embed-url.d.ts +3 -3
- package/build/api/models/embed-url.js +3 -3
- package/build/api/models/embed.d.ts +3 -3
- package/build/api/models/embed.js +3 -3
- package/build/api/models/error-res.d.ts +3 -3
- package/build/api/models/error-res.js +3 -3
- package/build/api/models/farcaster-action-req-body-action.d.ts +3 -3
- package/build/api/models/farcaster-action-req-body-action.js +3 -3
- package/build/api/models/farcaster-action-req-body.d.ts +3 -3
- package/build/api/models/farcaster-action-req-body.js +3 -3
- package/build/api/models/farcaster-manifest-frame.d.ts +3 -3
- package/build/api/models/farcaster-manifest-frame.js +3 -3
- package/build/api/models/farcaster-manifest.d.ts +6 -6
- package/build/api/models/farcaster-manifest.js +3 -3
- package/build/api/models/feed-response.d.ts +6 -6
- package/build/api/models/feed-response.js +3 -3
- package/build/api/models/fetch-cast-quotes-identifier-parameter.d.ts +16 -0
- package/build/api/models/fetch-cast-quotes-identifier-parameter.js +15 -0
- package/build/api/models/fetch-cast-quotes200-response.d.ts +32 -0
- package/build/api/models/fetch-cast-quotes200-response.js +15 -0
- package/build/api/models/fetch-feed-for-you400-response.d.ts +3 -3
- package/build/api/models/fetch-feed-for-you400-response.js +3 -3
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.d.ts +3 -3
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +3 -3
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.d.ts +3 -3
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.js +3 -3
- package/build/api/models/fetch-relevant-frames200-response.d.ts +3 -3
- package/build/api/models/fetch-relevant-frames200-response.js +3 -3
- package/build/api/models/fetch-user-interactions200-response.d.ts +3 -3
- package/build/api/models/fetch-user-interactions200-response.js +3 -3
- package/build/api/models/fname-availability-response.d.ts +3 -3
- package/build/api/models/fname-availability-response.js +3 -3
- package/build/api/models/follow-req-body.d.ts +3 -3
- package/build/api/models/follow-req-body.js +3 -3
- package/build/api/models/follow-response.d.ts +4 -4
- package/build/api/models/follow-response.js +3 -3
- package/build/api/models/follower-dehydrated.d.ts +3 -3
- package/build/api/models/follower-dehydrated.js +3 -3
- package/build/api/models/follower.d.ts +3 -3
- package/build/api/models/follower.js +3 -3
- package/build/api/models/followers-response.d.ts +3 -3
- package/build/api/models/followers-response.js +3 -3
- package/build/api/models/frame-action-button.d.ts +3 -3
- package/build/api/models/frame-action-button.js +3 -3
- package/build/api/models/frame-action-req-body.d.ts +4 -4
- package/build/api/models/frame-action-req-body.js +3 -3
- package/build/api/models/frame-action.d.ts +3 -3
- package/build/api/models/frame-action.js +3 -3
- package/build/api/models/frame-button-action-type.d.ts +3 -3
- package/build/api/models/frame-button-action-type.js +3 -3
- package/build/api/models/frame-catalog-response.d.ts +3 -3
- package/build/api/models/frame-catalog-response.js +3 -3
- package/build/api/models/frame-developer-managed-action-req-body.d.ts +4 -4
- package/build/api/models/frame-developer-managed-action-req-body.js +3 -3
- package/build/api/models/frame-input.d.ts +3 -3
- package/build/api/models/frame-input.js +3 -3
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +4 -4
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +3 -3
- package/build/api/models/frame-notification-tokens.d.ts +3 -3
- package/build/api/models/frame-notification-tokens.js +3 -3
- package/build/api/models/{transaction-frame-pay-all-of-transaction.d.ts → frame-pay-transaction-req-body-transaction.d.ts} +6 -6
- package/build/api/models/frame-pay-transaction-req-body-transaction.js +15 -0
- package/build/api/models/{frame-pay-transaction-request-body.d.ts → frame-pay-transaction-req-body.d.ts} +11 -11
- package/build/api/models/frame-pay-transaction-req-body.js +15 -0
- package/build/api/models/frame-signature-packet-trusted-data.d.ts +3 -3
- package/build/api/models/frame-signature-packet-trusted-data.js +3 -3
- package/build/api/models/frame-signature-packet-untrusted-data.d.ts +4 -4
- package/build/api/models/frame-signature-packet-untrusted-data.js +3 -3
- package/build/api/models/frame-signature-packet.d.ts +3 -3
- package/build/api/models/frame-signature-packet.js +3 -3
- package/build/api/models/frame-state.d.ts +3 -3
- package/build/api/models/frame-state.js +3 -3
- package/build/api/models/frame-transaction.d.ts +3 -3
- package/build/api/models/frame-transaction.js +3 -3
- package/build/api/models/{frame-v1-all-of-input.d.ts → frame-v1-input.d.ts} +6 -6
- package/build/api/models/frame-v1-input.js +15 -0
- package/build/api/models/{frame-v1-all-of-state.d.ts → frame-v1-state.d.ts} +6 -6
- package/build/api/models/frame-v1-state.js +15 -0
- package/build/api/models/frame-v1.d.ts +63 -7
- package/build/api/models/frame-v1.js +3 -3
- package/build/api/models/{frame-v2-all-of-metadata.d.ts → frame-v2-metadata.d.ts} +6 -6
- package/build/api/models/frame-v2-metadata.js +15 -0
- package/build/api/models/frame-v2-with-full-author.d.ts +51 -7
- package/build/api/models/frame-v2-with-full-author.js +3 -3
- package/build/api/models/frame-v2.d.ts +51 -7
- package/build/api/models/frame-v2.js +3 -3
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +4 -4
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.js +3 -3
- package/build/api/models/frame-validate-analytics-input-text.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-input-text.js +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.js +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactions-per-cast.js +3 -3
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.d.ts +4 -4
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.js +3 -3
- package/build/api/models/frame-validate-analytics-interactors.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-interactors.js +3 -3
- package/build/api/models/frame-validate-analytics-response.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-response.js +3 -3
- package/build/api/models/frame-validate-analytics-total-interactors.d.ts +3 -3
- package/build/api/models/frame-validate-analytics-total-interactors.js +3 -3
- package/build/api/models/frame-validate-list-response.d.ts +3 -3
- package/build/api/models/frame-validate-list-response.js +3 -3
- package/build/api/models/frame.d.ts +3 -3
- package/build/api/models/frame.js +3 -3
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.d.ts +72 -0
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.js +15 -0
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.d.ts +49 -0
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.js +15 -0
- package/build/api/models/get-notification-campaign-stats200-response.d.ts +32 -0
- package/build/api/models/get-notification-campaign-stats200-response.js +15 -0
- package/build/api/models/{html-metadata-all-of-oembed.d.ts → html-metadata-oembed.d.ts} +5 -5
- package/build/api/models/html-metadata-oembed.js +15 -0
- package/build/api/models/html-metadata.d.ts +310 -7
- package/build/api/models/html-metadata.js +3 -3
- package/build/api/models/image-object.d.ts +3 -3
- package/build/api/models/image-object.js +3 -3
- package/build/api/models/index.d.ts +42 -56
- package/build/api/models/index.js +42 -56
- package/build/api/models/invite-channel-member-req-body.d.ts +4 -4
- package/build/api/models/invite-channel-member-req-body.js +3 -3
- package/build/api/models/location-address.d.ts +3 -3
- package/build/api/models/location-address.js +3 -3
- package/build/api/models/location.d.ts +9 -9
- package/build/api/models/location.js +3 -3
- package/build/api/models/mark-notifications-as-seen-req-body.d.ts +3 -3
- package/build/api/models/mark-notifications-as-seen-req-body.js +3 -3
- package/build/api/models/mint-nft-request-recipients-inner.d.ts +36 -0
- package/build/api/models/mint-nft-request-recipients-inner.js +15 -0
- package/build/api/models/mint-nft-request.d.ts +49 -0
- package/build/api/models/{transaction-send-fungibles-request.js → mint-nft-request.js} +5 -5
- package/build/api/models/mint-nft200-response-transactions-inner-receipt.d.ts +36 -0
- package/build/api/models/mint-nft200-response-transactions-inner-receipt.js +15 -0
- package/build/api/models/mint-nft200-response-transactions-inner-recipient.d.ts +36 -0
- package/build/api/models/mint-nft200-response-transactions-inner-recipient.js +15 -0
- package/build/api/models/mint-nft200-response-transactions-inner.d.ts +38 -0
- package/build/api/models/mint-nft200-response-transactions-inner.js +15 -0
- package/build/api/models/mint-nft200-response.d.ts +25 -0
- package/build/api/models/mint-nft200-response.js +15 -0
- package/build/api/models/mute-list-response.d.ts +3 -3
- package/build/api/models/mute-list-response.js +3 -3
- package/build/api/models/mute-record.d.ts +3 -3
- package/build/api/models/mute-record.js +3 -3
- package/build/api/models/mute-req-body.d.ts +5 -5
- package/build/api/models/mute-req-body.js +3 -3
- package/build/api/models/mute-response.d.ts +3 -3
- package/build/api/models/mute-response.js +3 -3
- package/build/api/models/network.d.ts +3 -3
- package/build/api/models/network.js +3 -3
- package/build/api/models/next-cursor.d.ts +3 -3
- package/build/api/models/next-cursor.js +3 -3
- package/build/api/models/neynar-frame-creation-req-body.d.ts +3 -3
- package/build/api/models/neynar-frame-creation-req-body.js +3 -3
- package/build/api/models/neynar-frame-page.d.ts +4 -4
- package/build/api/models/neynar-frame-page.js +3 -3
- package/build/api/models/neynar-frame-update-req-body.d.ts +3 -3
- package/build/api/models/neynar-frame-update-req-body.js +3 -3
- package/build/api/models/neynar-frame.d.ts +3 -3
- package/build/api/models/neynar-frame.js +3 -3
- package/build/api/models/neynar-next-frame-page-mint-url.d.ts +3 -3
- package/build/api/models/neynar-next-frame-page-mint-url.js +3 -3
- package/build/api/models/neynar-next-frame-page-redirect.d.ts +3 -3
- package/build/api/models/neynar-next-frame-page-redirect.js +3 -3
- package/build/api/models/neynar-next-frame-page.d.ts +3 -3
- package/build/api/models/neynar-next-frame-page.js +3 -3
- package/build/api/models/neynar-page-button-next-page.d.ts +3 -3
- package/build/api/models/neynar-page-button-next-page.js +3 -3
- package/build/api/models/neynar-page-button.d.ts +3 -3
- package/build/api/models/neynar-page-button.js +3 -3
- package/build/api/models/neynar-page-image.d.ts +3 -3
- package/build/api/models/neynar-page-image.js +3 -3
- package/build/api/models/neynar-page-input-text.d.ts +4 -4
- package/build/api/models/neynar-page-input-text.js +3 -3
- package/build/api/models/neynar-page-input.d.ts +3 -3
- package/build/api/models/neynar-page-input.js +3 -3
- package/build/api/models/nonce-response.d.ts +3 -3
- package/build/api/models/nonce-response.js +3 -3
- package/build/api/models/notification-delivery.d.ts +10 -4
- package/build/api/models/notification-delivery.js +3 -3
- package/build/api/models/notification-type.d.ts +4 -4
- package/build/api/models/notification-type.js +4 -4
- package/build/api/models/notification.d.ts +6 -6
- package/build/api/models/notification.js +3 -3
- package/build/api/models/notifications-response.d.ts +3 -3
- package/build/api/models/notifications-response.js +3 -3
- package/build/api/models/oembed-link-data.d.ts +77 -7
- package/build/api/models/oembed-link-data.js +7 -3
- package/build/api/models/oembed-photo-data.d.ts +95 -7
- package/build/api/models/oembed-photo-data.js +7 -3
- package/build/api/models/oembed-rich-data.d.ts +95 -7
- package/build/api/models/oembed-rich-data.js +7 -3
- package/build/api/models/oembed-video-data.d.ts +95 -7
- package/build/api/models/oembed-video-data.js +7 -3
- package/build/api/models/operation-response.d.ts +3 -3
- package/build/api/models/operation-response.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +4 -4
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of1.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of1.js +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of2.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds-one-of2.js +3 -3
- package/build/api/models/post-cast-req-body-embeds.d.ts +3 -3
- package/build/api/models/post-cast-req-body-embeds.js +3 -3
- package/build/api/models/post-cast-req-body.d.ts +4 -4
- package/build/api/models/post-cast-req-body.js +3 -3
- package/build/api/models/post-cast-response-cast-author.d.ts +4 -4
- package/build/api/models/post-cast-response-cast-author.js +3 -3
- package/build/api/models/post-cast-response-cast.d.ts +4 -4
- package/build/api/models/post-cast-response-cast.js +3 -3
- package/build/api/models/post-cast-response.d.ts +3 -3
- package/build/api/models/post-cast-response.js +3 -3
- package/build/api/models/reaction-for-cast.d.ts +6 -10
- package/build/api/models/reaction-for-cast.js +4 -8
- package/build/api/models/reaction-like.d.ts +4 -4
- package/build/api/models/reaction-like.js +3 -3
- package/build/api/models/reaction-recast.d.ts +4 -4
- package/build/api/models/reaction-recast.js +3 -3
- package/build/api/models/reaction-req-body.d.ts +4 -4
- package/build/api/models/reaction-req-body.js +3 -3
- package/build/api/models/reaction-type.d.ts +3 -3
- package/build/api/models/reaction-type.js +3 -3
- package/build/api/models/reaction-with-cast-info.d.ts +6 -6
- package/build/api/models/reaction-with-cast-info.js +3 -3
- package/build/api/models/reaction-with-user-info.d.ts +3 -3
- package/build/api/models/reaction-with-user-info.js +3 -3
- package/build/api/models/reactions-cast-response.d.ts +3 -3
- package/build/api/models/reactions-cast-response.js +3 -3
- package/build/api/models/reactions-response.d.ts +3 -3
- package/build/api/models/reactions-response.js +3 -3
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.d.ts +55 -0
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.js +15 -0
- package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +6 -6
- package/build/api/models/register-developer-managed-signed-key-req-body.js +3 -3
- package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.d.ts +48 -0
- package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.js +21 -0
- package/build/api/models/register-signer-key-req-body.d.ts +6 -6
- package/build/api/models/register-signer-key-req-body.js +3 -3
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.d.ts +14 -14
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.js +3 -3
- package/build/api/models/register-user-on-chain-req-body-registration.d.ts +3 -3
- package/build/api/models/register-user-on-chain-req-body-registration.js +3 -3
- package/build/api/models/register-user-on-chain-req-body-signers-inner.d.ts +3 -3
- package/build/api/models/register-user-on-chain-req-body-signers-inner.js +3 -3
- package/build/api/models/register-user-on-chain-req-body.d.ts +14 -14
- package/build/api/models/register-user-on-chain-req-body.js +3 -3
- package/build/api/models/register-user-on-chain-response.d.ts +3 -3
- package/build/api/models/register-user-on-chain-response.js +3 -3
- package/build/api/models/register-user-req-body-metadata.d.ts +3 -3
- package/build/api/models/register-user-req-body-metadata.js +3 -3
- package/build/api/models/register-user-req-body.d.ts +3 -3
- package/build/api/models/register-user-req-body.js +3 -3
- package/build/api/models/register-user-response.d.ts +3 -3
- package/build/api/models/register-user-response.js +3 -3
- package/build/api/models/relevant-followers-response.d.ts +3 -3
- package/build/api/models/relevant-followers-response.js +3 -3
- package/build/api/models/relevant-fungible-owners-response.d.ts +5 -5
- package/build/api/models/relevant-fungible-owners-response.js +3 -3
- package/build/api/models/remove-channel-member-req-body.d.ts +4 -4
- package/build/api/models/remove-channel-member-req-body.js +3 -3
- package/build/api/models/remove-verification-req-body.d.ts +9 -3
- package/build/api/models/remove-verification-req-body.js +3 -3
- package/build/api/models/respond-channel-invite-req-body.d.ts +3 -3
- package/build/api/models/respond-channel-invite-req-body.js +3 -3
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.d.ts +32 -6
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.js +3 -3
- package/build/api/models/send-frame-notifications-req-body-filters.d.ts +3 -3
- package/build/api/models/send-frame-notifications-req-body-filters.js +3 -3
- package/build/api/models/send-frame-notifications-req-body-notification.d.ts +3 -3
- package/build/api/models/send-frame-notifications-req-body-notification.js +3 -3
- package/build/api/models/send-frame-notifications-req-body.d.ts +7 -7
- package/build/api/models/send-frame-notifications-req-body.js +3 -3
- package/build/api/models/send-frame-notifications-response.d.ts +3 -3
- package/build/api/models/send-frame-notifications-response.js +3 -3
- package/build/api/models/shared-signer-permission.d.ts +3 -3
- package/build/api/models/shared-signer-permission.js +3 -3
- package/build/api/models/signed-key-request-sponsor.d.ts +5 -5
- package/build/api/models/signed-key-request-sponsor.js +3 -3
- package/build/api/models/signer-list-response.d.ts +3 -3
- package/build/api/models/signer-list-response.js +3 -3
- package/build/api/models/signer.d.ts +4 -4
- package/build/api/models/signer.js +3 -3
- package/build/api/models/simulate-nft-mint-response-inner.d.ts +73 -0
- package/build/api/models/simulate-nft-mint-response-inner.js +15 -0
- package/build/api/models/simulate-nft-mint-response.d.ts +19 -0
- package/build/api/models/simulate-nft-mint-response.js +15 -0
- package/build/api/models/storage-allocation.d.ts +3 -3
- package/build/api/models/storage-allocation.js +3 -3
- package/build/api/models/storage-allocations-response.d.ts +3 -3
- package/build/api/models/storage-allocations-response.js +3 -3
- package/build/api/models/storage-object.d.ts +3 -3
- package/build/api/models/storage-object.js +3 -3
- package/build/api/models/storage-usage-response.d.ts +3 -3
- package/build/api/models/storage-usage-response.js +3 -3
- package/build/api/models/subscribed-to-object.d.ts +3 -3
- package/build/api/models/subscribed-to-object.js +3 -3
- package/build/api/models/subscribed-to-response.d.ts +3 -3
- package/build/api/models/subscribed-to-response.js +3 -3
- package/build/api/models/subscribed-to.d.ts +100 -7
- package/build/api/models/subscribed-to.js +7 -3
- package/build/api/models/subscriber.d.ts +3 -3
- package/build/api/models/subscriber.js +3 -3
- package/build/api/models/subscribers-response.d.ts +3 -3
- package/build/api/models/subscribers-response.js +3 -3
- package/build/api/models/subscription-check-response-value.d.ts +53 -0
- package/build/api/models/{subscription-status.js → subscription-check-response-value.js} +5 -5
- package/build/api/models/subscription-check-response.d.ts +5 -5
- package/build/api/models/subscription-check-response.js +3 -3
- package/build/api/models/subscription-metadata.d.ts +3 -3
- package/build/api/models/subscription-metadata.js +3 -3
- package/build/api/models/subscription-price.d.ts +3 -3
- package/build/api/models/subscription-price.js +3 -3
- package/build/api/models/subscription-tier-price.d.ts +3 -3
- package/build/api/models/subscription-tier-price.js +3 -3
- package/build/api/models/subscription-tier.d.ts +3 -3
- package/build/api/models/subscription-tier.js +3 -3
- package/build/api/models/subscription-token.d.ts +3 -3
- package/build/api/models/subscription-token.js +3 -3
- package/build/api/models/subscription.d.ts +3 -3
- package/build/api/models/subscription.js +3 -3
- package/build/api/models/subscriptions-response.d.ts +3 -3
- package/build/api/models/subscriptions-response.js +3 -3
- package/build/api/models/subscriptions.d.ts +3 -3
- package/build/api/models/subscriptions.js +3 -3
- package/build/api/models/text-range.d.ts +3 -3
- package/build/api/models/text-range.js +3 -3
- package/build/api/models/token-balance-balance.d.ts +3 -3
- package/build/api/models/token-balance-balance.js +3 -3
- package/build/api/models/token-balance-token.d.ts +3 -3
- package/build/api/models/token-balance-token.js +3 -3
- package/build/api/models/token-balance.d.ts +3 -3
- package/build/api/models/token-balance.js +3 -3
- package/build/api/models/transaction-frame-action.d.ts +4 -4
- package/build/api/models/transaction-frame-action.js +3 -3
- package/build/api/models/transaction-frame-config.d.ts +4 -4
- package/build/api/models/transaction-frame-config.js +3 -3
- package/build/api/models/transaction-frame-destination.d.ts +3 -3
- package/build/api/models/transaction-frame-destination.js +3 -3
- package/build/api/models/transaction-frame-line-item.d.ts +3 -3
- package/build/api/models/transaction-frame-line-item.js +3 -3
- package/build/api/models/transaction-frame-pay.d.ts +47 -7
- package/build/api/models/transaction-frame-pay.js +3 -3
- package/build/api/models/transaction-frame-response.d.ts +3 -3
- package/build/api/models/transaction-frame-response.js +3 -3
- package/build/api/models/transaction-frame-status.d.ts +3 -3
- package/build/api/models/transaction-frame-status.js +3 -3
- package/build/api/models/transaction-frame-type.d.ts +3 -3
- package/build/api/models/transaction-frame-type.js +3 -3
- package/build/api/models/transaction-frame.d.ts +3 -3
- package/build/api/models/transaction-frame.js +3 -3
- package/build/api/models/transaction-send-fungibles-receipt.d.ts +4 -4
- package/build/api/models/transaction-send-fungibles-receipt.js +3 -3
- package/build/api/models/transaction-send-fungibles-recipient.d.ts +4 -4
- package/build/api/models/transaction-send-fungibles-recipient.js +3 -3
- package/build/api/models/{transaction-send-fungibles-request.d.ts → transaction-send-fungibles-req-body.d.ts} +11 -11
- package/build/api/models/transaction-send-fungibles-req-body.js +21 -0
- package/build/api/models/transaction-send-fungibles-response.d.ts +3 -3
- package/build/api/models/transaction-send-fungibles-response.js +3 -3
- package/build/api/models/transaction-send-tx-info.d.ts +3 -3
- package/build/api/models/transaction-send-tx-info.js +3 -3
- package/build/api/models/trending-channel-response.d.ts +3 -3
- package/build/api/models/trending-channel-response.js +3 -3
- package/build/api/models/update-user-req-body-location.d.ts +3 -3
- package/build/api/models/update-user-req-body-location.js +3 -3
- package/build/api/models/update-user-req-body-verified-accounts.d.ts +3 -3
- package/build/api/models/update-user-req-body-verified-accounts.js +3 -3
- package/build/api/models/update-user-req-body.d.ts +9 -3
- package/build/api/models/update-user-req-body.js +3 -3
- package/build/api/models/user-dehydrated.d.ts +4 -4
- package/build/api/models/user-dehydrated.js +3 -3
- package/build/api/models/user-experimental.d.ts +3 -3
- package/build/api/models/user-experimental.js +3 -3
- package/build/api/models/user-fidresponse.d.ts +4 -4
- package/build/api/models/user-fidresponse.js +3 -3
- package/build/api/models/user-power-lite-response-result.d.ts +3 -3
- package/build/api/models/user-power-lite-response-result.js +3 -3
- package/build/api/models/user-power-lite-response.d.ts +3 -3
- package/build/api/models/user-power-lite-response.js +3 -3
- package/build/api/models/user-pro.d.ts +41 -0
- package/build/api/models/user-pro.js +20 -0
- package/build/api/models/user-profile-banner.d.ts +24 -0
- package/build/api/models/user-profile-banner.js +15 -0
- package/build/api/models/user-profile-bio.d.ts +3 -3
- package/build/api/models/user-profile-bio.js +3 -3
- package/build/api/models/user-profile.d.ts +10 -3
- package/build/api/models/user-profile.js +3 -3
- package/build/api/models/user-response.d.ts +3 -3
- package/build/api/models/user-response.js +3 -3
- package/build/api/models/user-search-response-result.d.ts +6 -6
- package/build/api/models/user-search-response-result.js +3 -3
- package/build/api/models/user-search-response.d.ts +3 -3
- package/build/api/models/user-search-response.js +3 -3
- package/build/api/models/user-verified-accounts-inner.d.ts +4 -4
- package/build/api/models/user-verified-accounts-inner.js +3 -3
- package/build/api/models/user-verified-addresses-primary.d.ts +3 -3
- package/build/api/models/user-verified-addresses-primary.js +3 -3
- package/build/api/models/user-verified-addresses.d.ts +3 -3
- package/build/api/models/user-verified-addresses.js +3 -3
- package/build/api/models/user-viewer-context.d.ts +3 -3
- package/build/api/models/user-viewer-context.js +3 -3
- package/build/api/models/user.d.ts +18 -11
- package/build/api/models/user.js +3 -3
- package/build/api/models/users-active-channels-response.d.ts +3 -3
- package/build/api/models/users-active-channels-response.js +3 -3
- package/build/api/models/users-response.d.ts +3 -3
- package/build/api/models/users-response.js +3 -3
- package/build/api/models/validate-frame-action-req-body.d.ts +3 -3
- package/build/api/models/validate-frame-action-req-body.js +3 -3
- package/build/api/models/validate-frame-action-response.d.ts +3 -3
- package/build/api/models/validate-frame-action-response.js +3 -3
- package/build/api/models/validated-frame-action-signer.d.ts +3 -3
- package/build/api/models/validated-frame-action-signer.js +3 -3
- package/build/api/models/validated-frame-action-tapped-button.d.ts +3 -3
- package/build/api/models/validated-frame-action-tapped-button.js +3 -3
- package/build/api/models/validated-frame-action.d.ts +6 -6
- package/build/api/models/validated-frame-action.js +3 -3
- package/build/api/models/verification-chain-id.d.ts +3 -3
- package/build/api/models/verification-chain-id.js +3 -3
- package/build/api/models/verification-type.d.ts +3 -3
- package/build/api/models/verification-type.js +3 -3
- package/build/api/models/video-object.d.ts +3 -3
- package/build/api/models/video-object.js +3 -3
- package/build/api/models/webhook-delete-req-body.d.ts +3 -3
- package/build/api/models/webhook-delete-req-body.js +3 -3
- package/build/api/models/webhook-list-response.d.ts +3 -3
- package/build/api/models/webhook-list-response.js +3 -3
- package/build/api/models/webhook-patch-req-body.d.ts +3 -3
- package/build/api/models/webhook-patch-req-body.js +3 -3
- package/build/api/models/webhook-post-req-body.d.ts +3 -3
- package/build/api/models/webhook-post-req-body.js +3 -3
- package/build/api/models/webhook-put-req-body.d.ts +3 -3
- package/build/api/models/webhook-put-req-body.js +3 -3
- package/build/api/models/webhook-response.d.ts +3 -3
- package/build/api/models/webhook-response.js +3 -3
- package/build/api/models/webhook-secret.d.ts +3 -3
- package/build/api/models/webhook-secret.js +3 -3
- package/build/api/models/webhook-subscription-filters-cast.d.ts +9 -3
- package/build/api/models/webhook-subscription-filters-cast.js +3 -3
- package/build/api/models/webhook-subscription-filters-follow.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters-follow.js +3 -3
- package/build/api/models/webhook-subscription-filters-reaction.d.ts +9 -3
- package/build/api/models/webhook-subscription-filters-reaction.js +3 -3
- package/build/api/models/webhook-subscription-filters-user-updated.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters-user-updated.js +3 -3
- package/build/api/models/webhook-subscription-filters.d.ts +3 -3
- package/build/api/models/webhook-subscription-filters.js +3 -3
- package/build/api/models/webhook-subscription.d.ts +3 -3
- package/build/api/models/webhook-subscription.js +3 -3
- package/build/api/models/webhook.d.ts +3 -3
- package/build/api/models/webhook.js +3 -3
- package/build/api/models/zod-error-errors-inner.d.ts +3 -3
- package/build/api/models/zod-error-errors-inner.js +3 -3
- package/build/api/models/zod-error.d.ts +3 -3
- package/build/api/models/zod-error.js +3 -3
- package/build/clients/NeynarAPIClient.d.ts +508 -252
- package/build/clients/NeynarAPIClient.js +490 -201
- package/build/hub-api/models/index.d.ts +2 -0
- package/build/hub-api/models/index.js +2 -0
- package/build/hub-api/models/storage-limits-response-tier-subscriptions-inner.d.ts +34 -0
- package/build/hub-api/models/storage-limits-response-tier-subscriptions-inner.js +19 -0
- package/build/hub-api/models/storage-limits-response-unit-details.d.ts +35 -0
- package/build/hub-api/models/storage-limits-response-unit-details.js +20 -0
- package/build/hub-api/models/storage-limits-response.d.ts +20 -0
- package/build/types/webhooks.d.ts +1 -12
- package/package.json +3 -3
- package/build/api/models/authorization-url-response-type.d.ts +0 -20
- package/build/api/models/authorization-url-response-type.js +0 -24
- package/build/api/models/bulk-user-address-type.d.ts +0 -21
- package/build/api/models/bulk-user-address-type.js +0 -25
- package/build/api/models/cast-composer-type.d.ts +0 -21
- package/build/api/models/cast-composer-type.js +0 -25
- package/build/api/models/cast-conversation-sort-type.d.ts +0 -22
- package/build/api/models/cast-conversation-sort-type.js +0 -26
- package/build/api/models/cast-param-type.d.ts +0 -21
- package/build/api/models/cast-param-type.js +0 -25
- package/build/api/models/cast-with-interactions-all-of.d.ts +0 -93
- package/build/api/models/cast-with-interactions-and-conversations-all-of.d.ts +0 -25
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.d.ts +0 -24
- package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +0 -19
- package/build/api/models/cast-with-interactions-and-conversations.d.ts +0 -18
- package/build/api/models/cast-with-interactions-and-conversations.js +0 -15
- package/build/api/models/cast-with-interactions-reactions.js +0 -15
- package/build/api/models/cast-with-interactions-replies.d.ts +0 -24
- package/build/api/models/cast-with-interactions-replies.js +0 -15
- package/build/api/models/cast-with-interactions.d.ts +0 -18
- package/build/api/models/cast-with-interactions.js +0 -15
- package/build/api/models/casts-search-response-result.d.ts +0 -32
- package/build/api/models/casts-search-response-result.js +0 -15
- package/build/api/models/channel-type.d.ts +0 -21
- package/build/api/models/channel-type.js +0 -25
- package/build/api/models/embed-type.d.ts +0 -37
- package/build/api/models/embed-type.js +0 -41
- package/build/api/models/farcaster-manifest-account-association.d.ts +0 -36
- package/build/api/models/farcaster-manifest-account-association.js +0 -15
- package/build/api/models/feed-trending-provider.d.ts +0 -22
- package/build/api/models/feed-trending-provider.js +0 -26
- package/build/api/models/feed-type.d.ts +0 -21
- package/build/api/models/feed-type.js +0 -25
- package/build/api/models/filter-type.d.ts +0 -25
- package/build/api/models/filter-type.js +0 -29
- package/build/api/models/follow-sort-type.d.ts +0 -21
- package/build/api/models/follow-sort-type.js +0 -25
- package/build/api/models/for-you-provider.d.ts +0 -22
- package/build/api/models/for-you-provider.js +0 -26
- package/build/api/models/frame-base.d.ts +0 -36
- package/build/api/models/frame-base.js +0 -15
- package/build/api/models/frame-pay-transaction-request-body.js +0 -15
- package/build/api/models/frame-type.d.ts +0 -21
- package/build/api/models/frame-type.js +0 -25
- package/build/api/models/frame-v1-all-of-input.js +0 -15
- package/build/api/models/frame-v1-all-of-state.js +0 -15
- package/build/api/models/frame-v1-all-of.d.ts +0 -57
- package/build/api/models/frame-v1-all-of.js +0 -15
- package/build/api/models/frame-v2-all-of-metadata.js +0 -15
- package/build/api/models/frame-v2-all-of.d.ts +0 -45
- package/build/api/models/frame-v2-all-of.js +0 -15
- package/build/api/models/frame-v2-with-full-author-all-of.d.ts +0 -45
- package/build/api/models/frame-v2-with-full-author-all-of.js +0 -15
- package/build/api/models/fungible-owner-relevant-network.d.ts +0 -24
- package/build/api/models/fungible-owner-relevant-network.js +0 -28
- package/build/api/models/html-metadata-all-of-oembed.js +0 -15
- package/build/api/models/html-metadata-all-of.d.ts +0 -25
- package/build/api/models/html-metadata-all-of.js +0 -15
- package/build/api/models/mini-app-time-window.d.ts +0 -24
- package/build/api/models/mini-app-time-window.js +0 -28
- package/build/api/models/oembed-data.d.ts +0 -84
- package/build/api/models/oembed-data.js +0 -15
- package/build/api/models/oembed-link-data-all-of.d.ts +0 -28
- package/build/api/models/oembed-link-data-all-of.js +0 -19
- package/build/api/models/oembed-photo-data-all-of.d.ts +0 -46
- package/build/api/models/oembed-photo-data-all-of.js +0 -19
- package/build/api/models/oembed-rich-data-all-of.d.ts +0 -46
- package/build/api/models/oembed-rich-data-all-of.js +0 -19
- package/build/api/models/oembed-video-data-all-of.d.ts +0 -46
- package/build/api/models/oembed-video-data-all-of.js +0 -19
- package/build/api/models/og-object.d.ts +0 -314
- package/build/api/models/og-object.js +0 -15
- package/build/api/models/profile-url-pfp.d.ts +0 -24
- package/build/api/models/profile-url-pfp.js +0 -15
- package/build/api/models/profile-url.d.ts +0 -25
- package/build/api/models/profile-url.js +0 -15
- package/build/api/models/reactions-type.d.ts +0 -22
- package/build/api/models/reactions-type.js +0 -26
- package/build/api/models/search-sort-type.d.ts +0 -21
- package/build/api/models/search-sort-type.js +0 -25
- package/build/api/models/searched-user.d.ts +0 -130
- package/build/api/models/searched-user.js +0 -19
- package/build/api/models/subscribed-to-all-of.d.ts +0 -44
- package/build/api/models/subscribed-to-all-of.js +0 -15
- package/build/api/models/subscription-provider.d.ts +0 -20
- package/build/api/models/subscription-provider.js +0 -24
- package/build/api/models/subscription-providers.d.ts +0 -21
- package/build/api/models/subscription-providers.js +0 -25
- package/build/api/models/subscription-status.d.ts +0 -53
- package/build/api/models/transaction-frame-base.d.ts +0 -51
- package/build/api/models/transaction-frame-base.js +0 -15
- package/build/api/models/transaction-frame-pay-all-of-transaction.js +0 -15
- package/build/api/models/transaction-frame-pay-all-of.d.ts +0 -25
- package/build/api/models/transaction-frame-pay-all-of.js +0 -15
- package/build/api/models/validate-frame-aggregate-window.d.ts +0 -30
- package/build/api/models/validate-frame-aggregate-window.js +0 -34
- package/build/api/models/validate-frame-analytics-type.d.ts +0 -23
- package/build/api/models/validate-frame-analytics-type.js +0 -27
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* The
|
|
5
|
+
* Neynar API
|
|
6
|
+
* The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.18.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.SearchCastsModeEnum = exports.LookupCastConversationFoldEnum = exports.FetchBulkCastsSortTypeEnum = exports.CastApi = exports.CastApiFactory = exports.CastApiFp = exports.CastApiAxiosParamCreator = void 0;
|
|
19
|
+
exports.SearchCastsSortTypeEnum = exports.SearchCastsModeEnum = exports.LookupCastConversationFoldEnum = exports.LookupCastConversationSortTypeEnum = exports.LookupCastConversationTypeEnum = exports.LookupCastByHashOrWarpcastUrlTypeEnum = exports.FetchComposerActionsListEnum = exports.FetchCastQuotesTypeEnum = exports.FetchBulkCastsSortTypeEnum = exports.CastApi = exports.CastApiFactory = exports.CastApiFp = exports.CastApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -30,7 +30,7 @@ const base_1 = require("../base");
|
|
|
30
30
|
const CastApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
|
-
* Delete an existing cast.
|
|
33
|
+
* Delete an existing cast. (In order to delete a cast `signer_uuid` must be approved)
|
|
34
34
|
* @summary Delete a cast
|
|
35
35
|
* @param {DeleteCastReqBody} deleteCastReqBody
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
@@ -43,7 +43,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
43
43
|
deleteCast: async (deleteCastReqBody, options = {}) => {
|
|
44
44
|
// verify required parameter 'deleteCastReqBody' is not null or undefined
|
|
45
45
|
(0, common_1.assertParamExists)('deleteCast', 'deleteCastReqBody', deleteCastReqBody);
|
|
46
|
-
const localVarPath = `/farcaster/cast
|
|
46
|
+
const localVarPath = `/v2/farcaster/cast/`;
|
|
47
47
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
48
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
49
49
|
let baseOptions;
|
|
@@ -69,9 +69,9 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
69
69
|
* Fetch multiple casts using their respective hashes.
|
|
70
70
|
* @summary Bulk fetch casts
|
|
71
71
|
* @param {string} casts Hashes of the cast to be retrived (Comma separated, no spaces)
|
|
72
|
+
* @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.
|
|
72
73
|
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
73
74
|
* @param {FetchBulkCastsSortTypeEnum} [sortType] Optional parameter to sort the casts based on different criteria
|
|
74
|
-
* @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.
|
|
75
75
|
* @param {*} [options] Override http request option.
|
|
76
76
|
* @throws {RequiredError}
|
|
77
77
|
* @returns {Promise<CastsResponse>} A promise that resolves to a `CastsResponse` object
|
|
@@ -79,10 +79,10 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
79
79
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-casts)
|
|
80
80
|
*
|
|
81
81
|
*/
|
|
82
|
-
fetchBulkCasts: async (casts, viewerFid, sortType,
|
|
82
|
+
fetchBulkCasts: async (casts, xNeynarExperimental, viewerFid, sortType, options = {}) => {
|
|
83
83
|
// verify required parameter 'casts' is not null or undefined
|
|
84
84
|
(0, common_1.assertParamExists)('fetchBulkCasts', 'casts', casts);
|
|
85
|
-
const localVarPath = `/farcaster/casts
|
|
85
|
+
const localVarPath = `/v2/farcaster/casts/`;
|
|
86
86
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
87
87
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
88
88
|
let baseOptions;
|
|
@@ -116,10 +116,73 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
116
116
|
options: localVarRequestOptions,
|
|
117
117
|
};
|
|
118
118
|
},
|
|
119
|
+
/**
|
|
120
|
+
* Fetch casts that quote a given cast
|
|
121
|
+
* @summary Cast Quotes
|
|
122
|
+
* @param {FetchCastQuotesIdentifierParameter} identifier Cast identifier (It\'s either a URL or a hash)
|
|
123
|
+
* @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
|
|
124
|
+
* @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.
|
|
125
|
+
* @param {number} [viewerFid]
|
|
126
|
+
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
127
|
+
* @param {string} [cursor] Pagination cursor.
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
* @returns {Promise<FetchCastQuotes200Response>} A promise that resolves to a `FetchCastQuotes200Response` object
|
|
131
|
+
*
|
|
132
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-cast-quotes)
|
|
133
|
+
*
|
|
134
|
+
*/
|
|
135
|
+
fetchCastQuotes: async (identifier, type, xNeynarExperimental, viewerFid, limit, cursor, options = {}) => {
|
|
136
|
+
// verify required parameter 'identifier' is not null or undefined
|
|
137
|
+
(0, common_1.assertParamExists)('fetchCastQuotes', 'identifier', identifier);
|
|
138
|
+
// verify required parameter 'type' is not null or undefined
|
|
139
|
+
(0, common_1.assertParamExists)('fetchCastQuotes', 'type', type);
|
|
140
|
+
const localVarPath = `/v2/farcaster/cast/quotes/`;
|
|
141
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
142
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
143
|
+
let baseOptions;
|
|
144
|
+
if (configuration) {
|
|
145
|
+
baseOptions = configuration.baseOptions;
|
|
146
|
+
}
|
|
147
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
148
|
+
const localVarHeaderParameter = {};
|
|
149
|
+
const localVarQueryParameter = {};
|
|
150
|
+
// authentication ApiKeyAuth required
|
|
151
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
152
|
+
if (identifier !== undefined) {
|
|
153
|
+
for (const [key, value] of Object.entries(identifier)) {
|
|
154
|
+
localVarQueryParameter[key] = value;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
if (type !== undefined) {
|
|
158
|
+
localVarQueryParameter['type'] = type;
|
|
159
|
+
}
|
|
160
|
+
if (viewerFid !== undefined) {
|
|
161
|
+
localVarQueryParameter['viewer_fid'] = viewerFid;
|
|
162
|
+
}
|
|
163
|
+
if (limit !== undefined) {
|
|
164
|
+
localVarQueryParameter['limit'] = limit;
|
|
165
|
+
}
|
|
166
|
+
if (cursor !== undefined) {
|
|
167
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
168
|
+
}
|
|
169
|
+
if (xNeynarExperimental != null) {
|
|
170
|
+
localVarHeaderParameter['x-neynar-experimental'] = typeof xNeynarExperimental === 'string'
|
|
171
|
+
? xNeynarExperimental
|
|
172
|
+
: JSON.stringify(xNeynarExperimental);
|
|
173
|
+
}
|
|
174
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
175
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
176
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
177
|
+
return {
|
|
178
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
179
|
+
options: localVarRequestOptions,
|
|
180
|
+
};
|
|
181
|
+
},
|
|
119
182
|
/**
|
|
120
183
|
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
121
184
|
* @summary Fetch composer actions
|
|
122
|
-
* @param {
|
|
185
|
+
* @param {FetchComposerActionsListEnum} list Type of list to fetch.
|
|
123
186
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 25)
|
|
124
187
|
* @param {string} [cursor] Pagination cursor.
|
|
125
188
|
* @param {*} [options] Override http request option.
|
|
@@ -132,7 +195,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
132
195
|
fetchComposerActions: async (list, limit, cursor, options = {}) => {
|
|
133
196
|
// verify required parameter 'list' is not null or undefined
|
|
134
197
|
(0, common_1.assertParamExists)('fetchComposerActions', 'list', list);
|
|
135
|
-
const localVarPath = `/farcaster/cast/composer_actions/list
|
|
198
|
+
const localVarPath = `/v2/farcaster/cast/composer_actions/list/`;
|
|
136
199
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
137
200
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
138
201
|
let baseOptions;
|
|
@@ -175,7 +238,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
175
238
|
fetchEmbeddedUrlMetadata: async (url, options = {}) => {
|
|
176
239
|
// verify required parameter 'url' is not null or undefined
|
|
177
240
|
(0, common_1.assertParamExists)('fetchEmbeddedUrlMetadata', 'url', url);
|
|
178
|
-
const localVarPath = `/farcaster/cast/embed/crawl
|
|
241
|
+
const localVarPath = `/v2/farcaster/cast/embed/crawl/`;
|
|
179
242
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
180
243
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
181
244
|
let baseOptions;
|
|
@@ -199,12 +262,12 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
199
262
|
};
|
|
200
263
|
},
|
|
201
264
|
/**
|
|
202
|
-
* Gets information about an individual cast by passing in a
|
|
265
|
+
* Gets information about an individual cast by passing in a Farcaster web URL or cast hash
|
|
203
266
|
* @summary By hash or URL
|
|
204
|
-
* @param {
|
|
205
|
-
* @param {
|
|
206
|
-
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
267
|
+
* @param {FetchCastQuotesIdentifierParameter} identifier Cast identifier (It\'s either a URL or a hash)
|
|
268
|
+
* @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
|
|
207
269
|
* @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.
|
|
270
|
+
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
208
271
|
* @param {*} [options] Override http request option.
|
|
209
272
|
* @throws {RequiredError}
|
|
210
273
|
* @returns {Promise<CastResponse>} A promise that resolves to a `CastResponse` object
|
|
@@ -212,12 +275,12 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
212
275
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-by-hash-or-warpcast-url)
|
|
213
276
|
*
|
|
214
277
|
*/
|
|
215
|
-
lookupCastByHashOrWarpcastUrl: async (identifier, type,
|
|
278
|
+
lookupCastByHashOrWarpcastUrl: async (identifier, type, xNeynarExperimental, viewerFid, options = {}) => {
|
|
216
279
|
// verify required parameter 'identifier' is not null or undefined
|
|
217
280
|
(0, common_1.assertParamExists)('lookupCastByHashOrWarpcastUrl', 'identifier', identifier);
|
|
218
281
|
// verify required parameter 'type' is not null or undefined
|
|
219
282
|
(0, common_1.assertParamExists)('lookupCastByHashOrWarpcastUrl', 'type', type);
|
|
220
|
-
const localVarPath = `/farcaster/cast
|
|
283
|
+
const localVarPath = `/v2/farcaster/cast/`;
|
|
221
284
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
222
285
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
223
286
|
let baseOptions;
|
|
@@ -230,7 +293,9 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
230
293
|
// authentication ApiKeyAuth required
|
|
231
294
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
232
295
|
if (identifier !== undefined) {
|
|
233
|
-
|
|
296
|
+
for (const [key, value] of Object.entries(identifier)) {
|
|
297
|
+
localVarQueryParameter[key] = value;
|
|
298
|
+
}
|
|
234
299
|
}
|
|
235
300
|
if (type !== undefined) {
|
|
236
301
|
localVarQueryParameter['type'] = type;
|
|
@@ -252,18 +317,18 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
252
317
|
};
|
|
253
318
|
},
|
|
254
319
|
/**
|
|
255
|
-
* Gets all casts related to a conversation surrounding a cast by passing in a cast hash or
|
|
320
|
+
* 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.
|
|
256
321
|
* @summary Conversation for a cast
|
|
257
|
-
* @param {string} identifier Cast identifier (
|
|
258
|
-
* @param {
|
|
259
|
-
* @param {
|
|
260
|
-
* @param {
|
|
322
|
+
* @param {string} identifier Cast identifier (It\'s either a URL or a hash)
|
|
323
|
+
* @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
|
|
324
|
+
* @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.
|
|
325
|
+
* @param {number | null} [replyDepth] The depth of replies in the conversation that will be returned (default 2)
|
|
326
|
+
* @param {boolean | null} [includeChronologicalParentCasts] Include all parent casts in chronological order
|
|
261
327
|
* @param {number} [viewerFid] Providing this will return a conversation that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
262
|
-
* @param {
|
|
328
|
+
* @param {LookupCastConversationSortTypeEnum} [sortType] Sort type for the ordering of descendants. Default is `chron`
|
|
263
329
|
* @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.
|
|
264
330
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 50)
|
|
265
331
|
* @param {string} [cursor] Pagination cursor.
|
|
266
|
-
* @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.
|
|
267
332
|
* @param {*} [options] Override http request option.
|
|
268
333
|
* @throws {RequiredError}
|
|
269
334
|
* @returns {Promise<Conversation>} A promise that resolves to a `Conversation` object
|
|
@@ -271,12 +336,12 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
271
336
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation)
|
|
272
337
|
*
|
|
273
338
|
*/
|
|
274
|
-
lookupCastConversation: async (identifier, type, replyDepth, includeChronologicalParentCasts, viewerFid, sortType, fold, limit, cursor,
|
|
339
|
+
lookupCastConversation: async (identifier, type, xNeynarExperimental, replyDepth, includeChronologicalParentCasts, viewerFid, sortType, fold, limit, cursor, options = {}) => {
|
|
275
340
|
// verify required parameter 'identifier' is not null or undefined
|
|
276
341
|
(0, common_1.assertParamExists)('lookupCastConversation', 'identifier', identifier);
|
|
277
342
|
// verify required parameter 'type' is not null or undefined
|
|
278
343
|
(0, common_1.assertParamExists)('lookupCastConversation', 'type', type);
|
|
279
|
-
const localVarPath = `/farcaster/cast/conversation
|
|
344
|
+
const localVarPath = `/v2/farcaster/cast/conversation/`;
|
|
280
345
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
281
346
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
282
347
|
let baseOptions;
|
|
@@ -342,7 +407,7 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
342
407
|
publishCast: async (postCastReqBody, options = {}) => {
|
|
343
408
|
// verify required parameter 'postCastReqBody' is not null or undefined
|
|
344
409
|
(0, common_1.assertParamExists)('publishCast', 'postCastReqBody', postCastReqBody);
|
|
345
|
-
const localVarPath = `/farcaster/cast
|
|
410
|
+
const localVarPath = `/v2/farcaster/cast/`;
|
|
346
411
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
347
412
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
348
413
|
let baseOptions;
|
|
@@ -368,16 +433,15 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
368
433
|
* Search for casts based on a query string, with optional AND filters
|
|
369
434
|
* @summary Search for casts
|
|
370
435
|
* @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`) |
|
|
436
|
+
* @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.
|
|
371
437
|
* @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
|
|
372
|
-
* @param {
|
|
438
|
+
* @param {SearchCastsSortTypeEnum} [sortType] Choices are: - `desc_chron` - All casts sorted by time (default) - `algorithmic` - Casts sorted by engagement and time
|
|
373
439
|
* @param {number} [authorFid] Fid of the user whose casts you want to search
|
|
374
440
|
* @param {number} [viewerFid] Providing this will return search results that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
375
441
|
* @param {string} [parentUrl] Parent URL of the casts you want to search
|
|
376
442
|
* @param {string} [channelId] Channel ID of the casts you want to search
|
|
377
|
-
* @param {boolean} [priorityMode] When true, only returns search results from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
378
443
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
379
444
|
* @param {string} [cursor] Pagination cursor
|
|
380
|
-
* @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.
|
|
381
445
|
* @param {*} [options] Override http request option.
|
|
382
446
|
* @throws {RequiredError}
|
|
383
447
|
* @returns {Promise<CastsSearchResponse>} A promise that resolves to a `CastsSearchResponse` object
|
|
@@ -385,10 +449,10 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
385
449
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
|
|
386
450
|
*
|
|
387
451
|
*/
|
|
388
|
-
searchCasts: async (q, mode, sortType, authorFid, viewerFid, parentUrl, channelId,
|
|
452
|
+
searchCasts: async (q, xNeynarExperimental, mode, sortType, authorFid, viewerFid, parentUrl, channelId, limit, cursor, options = {}) => {
|
|
389
453
|
// verify required parameter 'q' is not null or undefined
|
|
390
454
|
(0, common_1.assertParamExists)('searchCasts', 'q', q);
|
|
391
|
-
const localVarPath = `/farcaster/cast/search
|
|
455
|
+
const localVarPath = `/v2/farcaster/cast/search/`;
|
|
392
456
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
393
457
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
394
458
|
let baseOptions;
|
|
@@ -421,9 +485,6 @@ const CastApiAxiosParamCreator = function (configuration) {
|
|
|
421
485
|
if (channelId !== undefined) {
|
|
422
486
|
localVarQueryParameter['channel_id'] = channelId;
|
|
423
487
|
}
|
|
424
|
-
if (priorityMode !== undefined) {
|
|
425
|
-
localVarQueryParameter['priority_mode'] = priorityMode;
|
|
426
|
-
}
|
|
427
488
|
if (limit !== undefined) {
|
|
428
489
|
localVarQueryParameter['limit'] = limit;
|
|
429
490
|
}
|
|
@@ -454,7 +515,7 @@ const CastApiFp = function (configuration) {
|
|
|
454
515
|
const localVarAxiosParamCreator = (0, exports.CastApiAxiosParamCreator)(configuration);
|
|
455
516
|
return {
|
|
456
517
|
/**
|
|
457
|
-
* Delete an existing cast.
|
|
518
|
+
* Delete an existing cast. (In order to delete a cast `signer_uuid` must be approved)
|
|
458
519
|
* @summary Delete a cast
|
|
459
520
|
* @param {DeleteCastReqBody} deleteCastReqBody
|
|
460
521
|
* @param {*} [options] Override http request option.
|
|
@@ -475,9 +536,9 @@ const CastApiFp = function (configuration) {
|
|
|
475
536
|
* Fetch multiple casts using their respective hashes.
|
|
476
537
|
* @summary Bulk fetch casts
|
|
477
538
|
* @param {string} casts Hashes of the cast to be retrived (Comma separated, no spaces)
|
|
539
|
+
* @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.
|
|
478
540
|
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
479
541
|
* @param {FetchBulkCastsSortTypeEnum} [sortType] Optional parameter to sort the casts based on different criteria
|
|
480
|
-
* @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.
|
|
481
542
|
* @param {*} [options] Override http request option.
|
|
482
543
|
* @throws {RequiredError}
|
|
483
544
|
* @returns {Promise<CastsResponse>} A promise that resolves to a `CastsResponse` object
|
|
@@ -485,17 +546,40 @@ const CastApiFp = function (configuration) {
|
|
|
485
546
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-casts)
|
|
486
547
|
*
|
|
487
548
|
*/
|
|
488
|
-
async fetchBulkCasts(casts, viewerFid, sortType,
|
|
549
|
+
async fetchBulkCasts(casts, xNeynarExperimental, viewerFid, sortType, options) {
|
|
489
550
|
var _a, _b, _c;
|
|
490
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchBulkCasts(casts, viewerFid, sortType,
|
|
551
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchBulkCasts(casts, xNeynarExperimental, viewerFid, sortType, options);
|
|
491
552
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
492
553
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.fetchBulkCasts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
493
554
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
494
555
|
},
|
|
556
|
+
/**
|
|
557
|
+
* Fetch casts that quote a given cast
|
|
558
|
+
* @summary Cast Quotes
|
|
559
|
+
* @param {FetchCastQuotesIdentifierParameter} identifier Cast identifier (It\'s either a URL or a hash)
|
|
560
|
+
* @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
|
|
561
|
+
* @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.
|
|
562
|
+
* @param {number} [viewerFid]
|
|
563
|
+
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
564
|
+
* @param {string} [cursor] Pagination cursor.
|
|
565
|
+
* @param {*} [options] Override http request option.
|
|
566
|
+
* @throws {RequiredError}
|
|
567
|
+
* @returns {Promise<FetchCastQuotes200Response>} A promise that resolves to a `FetchCastQuotes200Response` object
|
|
568
|
+
*
|
|
569
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-cast-quotes)
|
|
570
|
+
*
|
|
571
|
+
*/
|
|
572
|
+
async fetchCastQuotes(identifier, type, xNeynarExperimental, viewerFid, limit, cursor, options) {
|
|
573
|
+
var _a, _b, _c;
|
|
574
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchCastQuotes(identifier, type, xNeynarExperimental, viewerFid, limit, cursor, options);
|
|
575
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
576
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.fetchCastQuotes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
577
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
578
|
+
},
|
|
495
579
|
/**
|
|
496
580
|
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
497
581
|
* @summary Fetch composer actions
|
|
498
|
-
* @param {
|
|
582
|
+
* @param {FetchComposerActionsListEnum} list Type of list to fetch.
|
|
499
583
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 25)
|
|
500
584
|
* @param {string} [cursor] Pagination cursor.
|
|
501
585
|
* @param {*} [options] Override http request option.
|
|
@@ -531,12 +615,12 @@ const CastApiFp = function (configuration) {
|
|
|
531
615
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
532
616
|
},
|
|
533
617
|
/**
|
|
534
|
-
* Gets information about an individual cast by passing in a
|
|
618
|
+
* Gets information about an individual cast by passing in a Farcaster web URL or cast hash
|
|
535
619
|
* @summary By hash or URL
|
|
536
|
-
* @param {
|
|
537
|
-
* @param {
|
|
538
|
-
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
620
|
+
* @param {FetchCastQuotesIdentifierParameter} identifier Cast identifier (It\'s either a URL or a hash)
|
|
621
|
+
* @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
|
|
539
622
|
* @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.
|
|
623
|
+
* @param {number} [viewerFid] adds viewer_context to cast object to show whether viewer has liked or recasted the cast.
|
|
540
624
|
* @param {*} [options] Override http request option.
|
|
541
625
|
* @throws {RequiredError}
|
|
542
626
|
* @returns {Promise<CastResponse>} A promise that resolves to a `CastResponse` object
|
|
@@ -544,26 +628,26 @@ const CastApiFp = function (configuration) {
|
|
|
544
628
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-by-hash-or-warpcast-url)
|
|
545
629
|
*
|
|
546
630
|
*/
|
|
547
|
-
async lookupCastByHashOrWarpcastUrl(identifier, type,
|
|
631
|
+
async lookupCastByHashOrWarpcastUrl(identifier, type, xNeynarExperimental, viewerFid, options) {
|
|
548
632
|
var _a, _b, _c;
|
|
549
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lookupCastByHashOrWarpcastUrl(identifier, type,
|
|
633
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lookupCastByHashOrWarpcastUrl(identifier, type, xNeynarExperimental, viewerFid, options);
|
|
550
634
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
551
635
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.lookupCastByHashOrWarpcastUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
552
636
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
553
637
|
},
|
|
554
638
|
/**
|
|
555
|
-
* Gets all casts related to a conversation surrounding a cast by passing in a cast hash or
|
|
639
|
+
* 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.
|
|
556
640
|
* @summary Conversation for a cast
|
|
557
|
-
* @param {string} identifier Cast identifier (
|
|
558
|
-
* @param {
|
|
559
|
-
* @param {
|
|
560
|
-
* @param {
|
|
641
|
+
* @param {string} identifier Cast identifier (It\'s either a URL or a hash)
|
|
642
|
+
* @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
|
|
643
|
+
* @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.
|
|
644
|
+
* @param {number | null} [replyDepth] The depth of replies in the conversation that will be returned (default 2)
|
|
645
|
+
* @param {boolean | null} [includeChronologicalParentCasts] Include all parent casts in chronological order
|
|
561
646
|
* @param {number} [viewerFid] Providing this will return a conversation that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
562
|
-
* @param {
|
|
647
|
+
* @param {LookupCastConversationSortTypeEnum} [sortType] Sort type for the ordering of descendants. Default is `chron`
|
|
563
648
|
* @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.
|
|
564
649
|
* @param {number} [limit] Number of results to fetch (Default: 20, Maximum: 50)
|
|
565
650
|
* @param {string} [cursor] Pagination cursor.
|
|
566
|
-
* @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.
|
|
567
651
|
* @param {*} [options] Override http request option.
|
|
568
652
|
* @throws {RequiredError}
|
|
569
653
|
* @returns {Promise<Conversation>} A promise that resolves to a `Conversation` object
|
|
@@ -571,9 +655,9 @@ const CastApiFp = function (configuration) {
|
|
|
571
655
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-cast-conversation)
|
|
572
656
|
*
|
|
573
657
|
*/
|
|
574
|
-
async lookupCastConversation(identifier, type, replyDepth, includeChronologicalParentCasts, viewerFid, sortType, fold, limit, cursor,
|
|
658
|
+
async lookupCastConversation(identifier, type, xNeynarExperimental, replyDepth, includeChronologicalParentCasts, viewerFid, sortType, fold, limit, cursor, options) {
|
|
575
659
|
var _a, _b, _c;
|
|
576
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lookupCastConversation(identifier, type, replyDepth, includeChronologicalParentCasts, viewerFid, sortType, fold, limit, cursor,
|
|
660
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lookupCastConversation(identifier, type, xNeynarExperimental, replyDepth, includeChronologicalParentCasts, viewerFid, sortType, fold, limit, cursor, options);
|
|
577
661
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
578
662
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.lookupCastConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
579
663
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -600,16 +684,15 @@ const CastApiFp = function (configuration) {
|
|
|
600
684
|
* Search for casts based on a query string, with optional AND filters
|
|
601
685
|
* @summary Search for casts
|
|
602
686
|
* @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`) |
|
|
687
|
+
* @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.
|
|
603
688
|
* @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
|
|
604
|
-
* @param {
|
|
689
|
+
* @param {SearchCastsSortTypeEnum} [sortType] Choices are: - `desc_chron` - All casts sorted by time (default) - `algorithmic` - Casts sorted by engagement and time
|
|
605
690
|
* @param {number} [authorFid] Fid of the user whose casts you want to search
|
|
606
691
|
* @param {number} [viewerFid] Providing this will return search results that respects this user\'s mutes and blocks and includes `viewer_context`.
|
|
607
692
|
* @param {string} [parentUrl] Parent URL of the casts you want to search
|
|
608
693
|
* @param {string} [channelId] Channel ID of the casts you want to search
|
|
609
|
-
* @param {boolean} [priorityMode] When true, only returns search results from power badge users and users that the viewer follows (if viewer_fid is provided).
|
|
610
694
|
* @param {number} [limit] Number of results to fetch (Default: 25, Maximum: 100)
|
|
611
695
|
* @param {string} [cursor] Pagination cursor
|
|
612
|
-
* @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.
|
|
613
696
|
* @param {*} [options] Override http request option.
|
|
614
697
|
* @throws {RequiredError}
|
|
615
698
|
* @returns {Promise<CastsSearchResponse>} A promise that resolves to a `CastsSearchResponse` object
|
|
@@ -617,9 +700,9 @@ const CastApiFp = function (configuration) {
|
|
|
617
700
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/search-casts)
|
|
618
701
|
*
|
|
619
702
|
*/
|
|
620
|
-
async searchCasts(q, mode, sortType, authorFid, viewerFid, parentUrl, channelId,
|
|
703
|
+
async searchCasts(q, xNeynarExperimental, mode, sortType, authorFid, viewerFid, parentUrl, channelId, limit, cursor, options) {
|
|
621
704
|
var _a, _b, _c;
|
|
622
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchCasts(q, mode, sortType, authorFid, viewerFid, parentUrl, channelId,
|
|
705
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchCasts(q, xNeynarExperimental, mode, sortType, authorFid, viewerFid, parentUrl, channelId, limit, cursor, options);
|
|
623
706
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
624
707
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CastApi.searchCasts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
625
708
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -635,7 +718,7 @@ const CastApiFactory = function (configuration, basePath, axios) {
|
|
|
635
718
|
const localVarFp = (0, exports.CastApiFp)(configuration);
|
|
636
719
|
return {
|
|
637
720
|
/**
|
|
638
|
-
* Delete an existing cast.
|
|
721
|
+
* Delete an existing cast. (In order to delete a cast `signer_uuid` must be approved)
|
|
639
722
|
* @summary Delete a cast
|
|
640
723
|
* @param {CastApiDeleteCastRequest} requestParameters Request parameters.
|
|
641
724
|
* @param {*} [options] Override http request option.
|
|
@@ -660,7 +743,21 @@ const CastApiFactory = function (configuration, basePath, axios) {
|
|
|
660
743
|
*
|
|
661
744
|
*/
|
|
662
745
|
fetchBulkCasts(requestParameters, options) {
|
|
663
|
-
return localVarFp.fetchBulkCasts(requestParameters.casts, requestParameters.
|
|
746
|
+
return localVarFp.fetchBulkCasts(requestParameters.casts, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.sortType, options).then((request) => request(axios, basePath));
|
|
747
|
+
},
|
|
748
|
+
/**
|
|
749
|
+
* Fetch casts that quote a given cast
|
|
750
|
+
* @summary Cast Quotes
|
|
751
|
+
* @param {CastApiFetchCastQuotesRequest} requestParameters Request parameters.
|
|
752
|
+
* @param {*} [options] Override http request option.
|
|
753
|
+
* @throws {RequiredError}
|
|
754
|
+
* @returns {Promise<FetchCastQuotes200Response>} A promise that resolves to a `FetchCastQuotes200Response` object
|
|
755
|
+
*
|
|
756
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-cast-quotes)
|
|
757
|
+
*
|
|
758
|
+
*/
|
|
759
|
+
fetchCastQuotes(requestParameters, options) {
|
|
760
|
+
return localVarFp.fetchCastQuotes(requestParameters.identifier, requestParameters.type, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
664
761
|
},
|
|
665
762
|
/**
|
|
666
763
|
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
@@ -691,7 +788,7 @@ const CastApiFactory = function (configuration, basePath, axios) {
|
|
|
691
788
|
return localVarFp.fetchEmbeddedUrlMetadata(requestParameters.url, options).then((request) => request(axios, basePath));
|
|
692
789
|
},
|
|
693
790
|
/**
|
|
694
|
-
* Gets information about an individual cast by passing in a
|
|
791
|
+
* Gets information about an individual cast by passing in a Farcaster web URL or cast hash
|
|
695
792
|
* @summary By hash or URL
|
|
696
793
|
* @param {CastApiLookupCastByHashOrWarpcastUrlRequest} requestParameters Request parameters.
|
|
697
794
|
* @param {*} [options] Override http request option.
|
|
@@ -702,10 +799,10 @@ const CastApiFactory = function (configuration, basePath, axios) {
|
|
|
702
799
|
*
|
|
703
800
|
*/
|
|
704
801
|
lookupCastByHashOrWarpcastUrl(requestParameters, options) {
|
|
705
|
-
return localVarFp.lookupCastByHashOrWarpcastUrl(requestParameters.identifier, requestParameters.type, requestParameters.
|
|
802
|
+
return localVarFp.lookupCastByHashOrWarpcastUrl(requestParameters.identifier, requestParameters.type, requestParameters.xNeynarExperimental, requestParameters.viewerFid, options).then((request) => request(axios, basePath));
|
|
706
803
|
},
|
|
707
804
|
/**
|
|
708
|
-
* Gets all casts related to a conversation surrounding a cast by passing in a cast hash or
|
|
805
|
+
* 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.
|
|
709
806
|
* @summary Conversation for a cast
|
|
710
807
|
* @param {CastApiLookupCastConversationRequest} requestParameters Request parameters.
|
|
711
808
|
* @param {*} [options] Override http request option.
|
|
@@ -716,7 +813,7 @@ const CastApiFactory = function (configuration, basePath, axios) {
|
|
|
716
813
|
*
|
|
717
814
|
*/
|
|
718
815
|
lookupCastConversation(requestParameters, options) {
|
|
719
|
-
return localVarFp.lookupCastConversation(requestParameters.identifier, requestParameters.type, requestParameters.replyDepth, requestParameters.includeChronologicalParentCasts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.fold, requestParameters.limit, requestParameters.cursor,
|
|
816
|
+
return localVarFp.lookupCastConversation(requestParameters.identifier, requestParameters.type, requestParameters.xNeynarExperimental, requestParameters.replyDepth, requestParameters.includeChronologicalParentCasts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.fold, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
720
817
|
},
|
|
721
818
|
/**
|
|
722
819
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
@@ -744,7 +841,7 @@ const CastApiFactory = function (configuration, basePath, axios) {
|
|
|
744
841
|
*
|
|
745
842
|
*/
|
|
746
843
|
searchCasts(requestParameters, options) {
|
|
747
|
-
return localVarFp.searchCasts(requestParameters.q, requestParameters.mode, requestParameters.sortType, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.
|
|
844
|
+
return localVarFp.searchCasts(requestParameters.q, requestParameters.xNeynarExperimental, requestParameters.mode, requestParameters.sortType, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
748
845
|
},
|
|
749
846
|
};
|
|
750
847
|
};
|
|
@@ -757,7 +854,7 @@ exports.CastApiFactory = CastApiFactory;
|
|
|
757
854
|
*/
|
|
758
855
|
class CastApi extends base_1.BaseAPI {
|
|
759
856
|
/**
|
|
760
|
-
* Delete an existing cast.
|
|
857
|
+
* Delete an existing cast. (In order to delete a cast `signer_uuid` must be approved)
|
|
761
858
|
* @summary Delete a cast
|
|
762
859
|
* @param {CastApiDeleteCastRequest} requestParameters Request parameters.
|
|
763
860
|
* @param {*} [options] Override http request option.
|
|
@@ -784,7 +881,22 @@ class CastApi extends base_1.BaseAPI {
|
|
|
784
881
|
*
|
|
785
882
|
*/
|
|
786
883
|
fetchBulkCasts(requestParameters, options) {
|
|
787
|
-
return (0, exports.CastApiFp)(this.configuration).fetchBulkCasts(requestParameters.casts, requestParameters.
|
|
884
|
+
return (0, exports.CastApiFp)(this.configuration).fetchBulkCasts(requestParameters.casts, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.sortType, options).then((request) => request(this.axios, this.basePath));
|
|
885
|
+
}
|
|
886
|
+
/**
|
|
887
|
+
* Fetch casts that quote a given cast
|
|
888
|
+
* @summary Cast Quotes
|
|
889
|
+
* @param {CastApiFetchCastQuotesRequest} requestParameters Request parameters.
|
|
890
|
+
* @param {*} [options] Override http request option.
|
|
891
|
+
* @throws {RequiredError}
|
|
892
|
+
* @memberof CastApi
|
|
893
|
+
* @returns {Promise<FetchCastQuotes200Response>} A promise that resolves to a `FetchCastQuotes200Response` object
|
|
894
|
+
*
|
|
895
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-cast-quotes)
|
|
896
|
+
*
|
|
897
|
+
*/
|
|
898
|
+
fetchCastQuotes(requestParameters, options) {
|
|
899
|
+
return (0, exports.CastApiFp)(this.configuration).fetchCastQuotes(requestParameters.identifier, requestParameters.type, requestParameters.xNeynarExperimental, requestParameters.viewerFid, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
788
900
|
}
|
|
789
901
|
/**
|
|
790
902
|
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
@@ -817,7 +929,7 @@ class CastApi extends base_1.BaseAPI {
|
|
|
817
929
|
return (0, exports.CastApiFp)(this.configuration).fetchEmbeddedUrlMetadata(requestParameters.url, options).then((request) => request(this.axios, this.basePath));
|
|
818
930
|
}
|
|
819
931
|
/**
|
|
820
|
-
* Gets information about an individual cast by passing in a
|
|
932
|
+
* Gets information about an individual cast by passing in a Farcaster web URL or cast hash
|
|
821
933
|
* @summary By hash or URL
|
|
822
934
|
* @param {CastApiLookupCastByHashOrWarpcastUrlRequest} requestParameters Request parameters.
|
|
823
935
|
* @param {*} [options] Override http request option.
|
|
@@ -829,10 +941,10 @@ class CastApi extends base_1.BaseAPI {
|
|
|
829
941
|
*
|
|
830
942
|
*/
|
|
831
943
|
lookupCastByHashOrWarpcastUrl(requestParameters, options) {
|
|
832
|
-
return (0, exports.CastApiFp)(this.configuration).lookupCastByHashOrWarpcastUrl(requestParameters.identifier, requestParameters.type, requestParameters.
|
|
944
|
+
return (0, exports.CastApiFp)(this.configuration).lookupCastByHashOrWarpcastUrl(requestParameters.identifier, requestParameters.type, requestParameters.xNeynarExperimental, requestParameters.viewerFid, options).then((request) => request(this.axios, this.basePath));
|
|
833
945
|
}
|
|
834
946
|
/**
|
|
835
|
-
* Gets all casts related to a conversation surrounding a cast by passing in a cast hash or
|
|
947
|
+
* 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.
|
|
836
948
|
* @summary Conversation for a cast
|
|
837
949
|
* @param {CastApiLookupCastConversationRequest} requestParameters Request parameters.
|
|
838
950
|
* @param {*} [options] Override http request option.
|
|
@@ -844,7 +956,7 @@ class CastApi extends base_1.BaseAPI {
|
|
|
844
956
|
*
|
|
845
957
|
*/
|
|
846
958
|
lookupCastConversation(requestParameters, options) {
|
|
847
|
-
return (0, exports.CastApiFp)(this.configuration).lookupCastConversation(requestParameters.identifier, requestParameters.type, requestParameters.replyDepth, requestParameters.includeChronologicalParentCasts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.fold, requestParameters.limit, requestParameters.cursor,
|
|
959
|
+
return (0, exports.CastApiFp)(this.configuration).lookupCastConversation(requestParameters.identifier, requestParameters.type, requestParameters.xNeynarExperimental, requestParameters.replyDepth, requestParameters.includeChronologicalParentCasts, requestParameters.viewerFid, requestParameters.sortType, requestParameters.fold, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
848
960
|
}
|
|
849
961
|
/**
|
|
850
962
|
* Posts a cast or cast reply. Works with mentions and embeds. (In order to post a cast `signer_uuid` must be approved)
|
|
@@ -874,7 +986,7 @@ class CastApi extends base_1.BaseAPI {
|
|
|
874
986
|
*
|
|
875
987
|
*/
|
|
876
988
|
searchCasts(requestParameters, options) {
|
|
877
|
-
return (0, exports.CastApiFp)(this.configuration).searchCasts(requestParameters.q, requestParameters.mode, requestParameters.sortType, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.
|
|
989
|
+
return (0, exports.CastApiFp)(this.configuration).searchCasts(requestParameters.q, requestParameters.xNeynarExperimental, requestParameters.mode, requestParameters.sortType, requestParameters.authorFid, requestParameters.viewerFid, requestParameters.parentUrl, requestParameters.channelId, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
878
990
|
}
|
|
879
991
|
}
|
|
880
992
|
exports.CastApi = CastApi;
|
|
@@ -888,6 +1000,42 @@ exports.FetchBulkCastsSortTypeEnum = {
|
|
|
888
1000
|
Replies: 'replies',
|
|
889
1001
|
Recent: 'recent'
|
|
890
1002
|
};
|
|
1003
|
+
/**
|
|
1004
|
+
* @export
|
|
1005
|
+
*/
|
|
1006
|
+
exports.FetchCastQuotesTypeEnum = {
|
|
1007
|
+
Url: 'url',
|
|
1008
|
+
Hash: 'hash'
|
|
1009
|
+
};
|
|
1010
|
+
/**
|
|
1011
|
+
* @export
|
|
1012
|
+
*/
|
|
1013
|
+
exports.FetchComposerActionsListEnum = {
|
|
1014
|
+
Top: 'top',
|
|
1015
|
+
Featured: 'featured'
|
|
1016
|
+
};
|
|
1017
|
+
/**
|
|
1018
|
+
* @export
|
|
1019
|
+
*/
|
|
1020
|
+
exports.LookupCastByHashOrWarpcastUrlTypeEnum = {
|
|
1021
|
+
Url: 'url',
|
|
1022
|
+
Hash: 'hash'
|
|
1023
|
+
};
|
|
1024
|
+
/**
|
|
1025
|
+
* @export
|
|
1026
|
+
*/
|
|
1027
|
+
exports.LookupCastConversationTypeEnum = {
|
|
1028
|
+
Url: 'url',
|
|
1029
|
+
Hash: 'hash'
|
|
1030
|
+
};
|
|
1031
|
+
/**
|
|
1032
|
+
* @export
|
|
1033
|
+
*/
|
|
1034
|
+
exports.LookupCastConversationSortTypeEnum = {
|
|
1035
|
+
Chron: 'chron',
|
|
1036
|
+
DescChron: 'desc_chron',
|
|
1037
|
+
Algorithmic: 'algorithmic'
|
|
1038
|
+
};
|
|
891
1039
|
/**
|
|
892
1040
|
* @export
|
|
893
1041
|
*/
|
|
@@ -903,3 +1051,10 @@ exports.SearchCastsModeEnum = {
|
|
|
903
1051
|
Semantic: 'semantic',
|
|
904
1052
|
Hybrid: 'hybrid'
|
|
905
1053
|
};
|
|
1054
|
+
/**
|
|
1055
|
+
* @export
|
|
1056
|
+
*/
|
|
1057
|
+
exports.SearchCastsSortTypeEnum = {
|
|
1058
|
+
DescChron: 'desc_chron',
|
|
1059
|
+
Algorithmic: 'algorithmic'
|
|
1060
|
+
};
|