@neynar/nodejs-sdk 2.6.1 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/api.d.ts +2 -1
- package/build/api/api.js +2 -1
- package/build/api/apis/action-api.d.ts +1 -1
- package/build/api/apis/action-api.js +1 -1
- package/build/api/apis/ban-api.d.ts +1 -1
- package/build/api/apis/ban-api.js +1 -1
- package/build/api/apis/block-api.d.ts +1 -1
- package/build/api/apis/block-api.js +1 -1
- package/build/api/apis/cast-api.d.ts +1 -1
- package/build/api/apis/cast-api.js +1 -1
- package/build/api/apis/channel-api.d.ts +1 -1
- package/build/api/apis/channel-api.js +1 -1
- package/build/api/apis/feed-api.d.ts +1 -1
- package/build/api/apis/feed-api.js +1 -1
- package/build/api/apis/fname-api.d.ts +1 -1
- package/build/api/apis/fname-api.js +1 -1
- package/build/api/apis/follows-api.d.ts +1 -1
- package/build/api/apis/follows-api.js +1 -1
- package/build/api/apis/frame-api.d.ts +1 -1
- package/build/api/apis/frame-api.js +1 -1
- package/build/api/apis/login-api.d.ts +1 -1
- package/build/api/apis/login-api.js +1 -1
- package/build/api/apis/metrics-api.d.ts +168 -0
- package/build/api/apis/metrics-api.js +170 -0
- package/build/api/apis/mute-api.d.ts +1 -1
- package/build/api/apis/mute-api.js +1 -1
- package/build/api/apis/notifications-api.d.ts +1 -1
- package/build/api/apis/notifications-api.js +1 -1
- package/build/api/apis/onchain-api.d.ts +1 -1
- package/build/api/apis/onchain-api.js +1 -1
- package/build/api/apis/reaction-api.d.ts +1 -1
- package/build/api/apis/reaction-api.js +1 -1
- package/build/api/apis/signer-api.d.ts +1 -1
- package/build/api/apis/signer-api.js +1 -1
- package/build/api/apis/storage-api.d.ts +1 -1
- package/build/api/apis/storage-api.js +1 -1
- package/build/api/apis/subscribers-api.d.ts +1 -1
- package/build/api/apis/subscribers-api.js +1 -1
- package/build/api/apis/user-api.d.ts +1 -1
- package/build/api/apis/user-api.js +1 -1
- package/build/api/apis/webhook-api.d.ts +1 -1
- package/build/api/apis/webhook-api.js +1 -1
- package/build/api/base.d.ts +1 -1
- package/build/api/base.js +1 -1
- package/build/api/common.d.ts +1 -1
- package/build/api/common.js +1 -1
- package/build/api/configuration.d.ts +1 -1
- package/build/api/configuration.js +1 -1
- package/build/api/index.d.ts +1 -1
- package/build/api/index.js +1 -1
- package/build/api/models/add-verification-req-body.d.ts +1 -1
- package/build/api/models/add-verification-req-body.js +1 -1
- package/build/api/models/address-balance-verified-address.d.ts +1 -1
- package/build/api/models/address-balance-verified-address.js +1 -1
- package/build/api/models/address-balance.d.ts +1 -1
- package/build/api/models/address-balance.js +1 -1
- package/build/api/models/authorization-url-response-type.d.ts +1 -1
- package/build/api/models/authorization-url-response-type.js +1 -1
- package/build/api/models/authorization-url-response.d.ts +1 -1
- package/build/api/models/authorization-url-response.js +1 -1
- package/build/api/models/balance-response-user-balance.d.ts +1 -1
- package/build/api/models/balance-response-user-balance.js +1 -1
- package/build/api/models/balance-response.d.ts +1 -1
- package/build/api/models/balance-response.js +1 -1
- package/build/api/models/ban-list-response.d.ts +1 -1
- package/build/api/models/ban-list-response.js +1 -1
- package/build/api/models/ban-record.d.ts +1 -1
- package/build/api/models/ban-record.js +1 -1
- package/build/api/models/ban-req-body.d.ts +1 -1
- package/build/api/models/ban-req-body.js +1 -1
- package/build/api/models/ban-response.d.ts +1 -1
- package/build/api/models/ban-response.js +1 -1
- package/build/api/models/block-list-response.d.ts +1 -1
- package/build/api/models/block-list-response.js +1 -1
- package/build/api/models/block-record.d.ts +1 -1
- package/build/api/models/block-record.js +1 -1
- package/build/api/models/block-req-body.d.ts +1 -1
- package/build/api/models/block-req-body.js +1 -1
- package/build/api/models/bulk-casts-response.d.ts +1 -1
- package/build/api/models/bulk-casts-response.js +1 -1
- package/build/api/models/bulk-follow-response.d.ts +1 -1
- package/build/api/models/bulk-follow-response.js +1 -1
- package/build/api/models/bulk-user-address-type.d.ts +1 -1
- package/build/api/models/bulk-user-address-type.js +1 -1
- package/build/api/models/bulk-users-by-address-response.d.ts +1 -1
- package/build/api/models/bulk-users-by-address-response.js +1 -1
- package/build/api/models/bulk-users-response.d.ts +1 -1
- package/build/api/models/bulk-users-response.js +1 -1
- package/build/api/models/buy-storage-req-body.d.ts +1 -1
- package/build/api/models/buy-storage-req-body.js +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.js +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner.js +1 -1
- package/build/api/models/cast-composer-actions-list-response.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response.js +1 -1
- package/build/api/models/cast-composer-type.d.ts +1 -1
- package/build/api/models/cast-composer-type.js +1 -1
- package/build/api/models/cast-conversation-sort-type.d.ts +1 -1
- package/build/api/models/cast-conversation-sort-type.js +1 -1
- package/build/api/models/cast-dehydrated.d.ts +1 -1
- package/build/api/models/cast-dehydrated.js +1 -1
- package/build/api/models/cast-embed-crawl-response.d.ts +1 -1
- package/build/api/models/cast-embed-crawl-response.js +1 -1
- package/build/api/models/cast-embedded-parent-author.d.ts +1 -1
- package/build/api/models/cast-embedded-parent-author.js +1 -1
- package/build/api/models/cast-embedded.d.ts +1 -1
- package/build/api/models/cast-embedded.js +1 -1
- package/build/api/models/cast-id.d.ts +1 -1
- package/build/api/models/cast-id.js +1 -1
- package/build/api/models/cast-notification-type.d.ts +1 -1
- package/build/api/models/cast-notification-type.js +1 -1
- package/build/api/models/cast-param-type.d.ts +1 -1
- package/build/api/models/cast-param-type.js +1 -1
- package/build/api/models/cast-response.d.ts +1 -1
- package/build/api/models/cast-response.js +1 -1
- package/build/api/models/cast-viewer-context.d.ts +1 -1
- package/build/api/models/cast-viewer-context.js +1 -1
- package/build/api/models/cast-with-interactions-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations.js +1 -1
- package/build/api/models/cast-with-interactions-reactions.d.ts +1 -1
- package/build/api/models/cast-with-interactions-reactions.js +1 -1
- package/build/api/models/cast-with-interactions-replies.d.ts +1 -1
- package/build/api/models/cast-with-interactions-replies.js +1 -1
- package/build/api/models/cast-with-interactions.d.ts +1 -1
- package/build/api/models/cast-with-interactions.js +1 -1
- package/build/api/models/cast.d.ts +1 -1
- package/build/api/models/cast.js +1 -1
- package/build/api/models/casts-metrics-response.d.ts +25 -0
- package/build/api/models/casts-metrics-response.js +15 -0
- package/build/api/models/casts-metrics.d.ts +36 -0
- package/build/api/models/casts-metrics.js +15 -0
- package/build/api/models/casts-response-result.d.ts +1 -1
- package/build/api/models/casts-response-result.js +1 -1
- package/build/api/models/casts-response.d.ts +1 -1
- package/build/api/models/casts-response.js +1 -1
- package/build/api/models/casts-search-response-result.d.ts +1 -1
- package/build/api/models/casts-search-response-result.js +1 -1
- package/build/api/models/casts-search-response.d.ts +1 -1
- package/build/api/models/casts-search-response.js +1 -1
- package/build/api/models/channel-activity.d.ts +1 -1
- package/build/api/models/channel-activity.js +1 -1
- package/build/api/models/channel-external-link.d.ts +1 -1
- package/build/api/models/channel-external-link.js +1 -1
- package/build/api/models/channel-follow-req-body.d.ts +1 -1
- package/build/api/models/channel-follow-req-body.js +1 -1
- package/build/api/models/channel-list-response.d.ts +1 -1
- package/build/api/models/channel-list-response.js +1 -1
- package/build/api/models/channel-member-channel.d.ts +1 -1
- package/build/api/models/channel-member-channel.js +1 -1
- package/build/api/models/channel-member-invite-list-response.d.ts +1 -1
- package/build/api/models/channel-member-invite-list-response.js +1 -1
- package/build/api/models/channel-member-invite.d.ts +1 -1
- package/build/api/models/channel-member-invite.js +1 -1
- package/build/api/models/channel-member-list-response.d.ts +1 -1
- package/build/api/models/channel-member-list-response.js +1 -1
- package/build/api/models/channel-member-role.d.ts +1 -1
- package/build/api/models/channel-member-role.js +1 -1
- package/build/api/models/channel-member-user.d.ts +1 -1
- package/build/api/models/channel-member-user.js +1 -1
- package/build/api/models/channel-member.d.ts +1 -1
- package/build/api/models/channel-member.js +1 -1
- package/build/api/models/channel-or-dehydrated-channel.d.ts +1 -1
- package/build/api/models/channel-or-dehydrated-channel.js +1 -1
- package/build/api/models/channel-response-bulk.d.ts +1 -1
- package/build/api/models/channel-response-bulk.js +1 -1
- package/build/api/models/channel-response.d.ts +1 -1
- package/build/api/models/channel-response.js +1 -1
- package/build/api/models/channel-search-response.d.ts +1 -1
- package/build/api/models/channel-search-response.js +1 -1
- package/build/api/models/channel-type.d.ts +1 -1
- package/build/api/models/channel-type.js +1 -1
- package/build/api/models/channel-user-context.d.ts +1 -1
- package/build/api/models/channel-user-context.js +1 -1
- package/build/api/models/channel.d.ts +1 -1
- package/build/api/models/channel.js +1 -1
- package/build/api/models/conflict-error-res.d.ts +1 -1
- package/build/api/models/conflict-error-res.js +1 -1
- package/build/api/models/conversation-conversation.d.ts +1 -1
- package/build/api/models/conversation-conversation.js +1 -1
- package/build/api/models/conversation-summary-summary.d.ts +1 -1
- package/build/api/models/conversation-summary-summary.js +1 -1
- package/build/api/models/conversation-summary.d.ts +1 -1
- package/build/api/models/conversation-summary.js +1 -1
- package/build/api/models/conversation.d.ts +1 -1
- package/build/api/models/conversation.js +1 -1
- package/build/api/models/dehydrated-channel.d.ts +1 -1
- package/build/api/models/dehydrated-channel.js +1 -1
- package/build/api/models/dehydrated-follower.d.ts +1 -1
- package/build/api/models/dehydrated-follower.js +1 -1
- package/build/api/models/delete-cast-req-body.d.ts +1 -1
- package/build/api/models/delete-cast-req-body.js +1 -1
- package/build/api/models/delete-frame-req-body.d.ts +1 -1
- package/build/api/models/delete-frame-req-body.js +1 -1
- package/build/api/models/delete-frame-response.d.ts +1 -1
- package/build/api/models/delete-frame-response.js +1 -1
- package/build/api/models/deploy-fungible-req-body-metadata-media.d.ts +1 -1
- package/build/api/models/deploy-fungible-req-body-metadata-media.js +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.js +1 -1
- package/build/api/models/deploy-fungible-response-contract.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract.js +1 -1
- package/build/api/models/deploy-fungible-response.d.ts +1 -1
- package/build/api/models/deploy-fungible-response.js +1 -1
- package/build/api/models/developer-managed-signer.d.ts +1 -1
- package/build/api/models/developer-managed-signer.js +1 -1
- package/build/api/models/embed-cast-deep.d.ts +1 -1
- package/build/api/models/embed-cast-deep.js +1 -1
- package/build/api/models/embed-cast.d.ts +1 -1
- package/build/api/models/embed-cast.js +1 -1
- package/build/api/models/embed-deep.d.ts +1 -1
- package/build/api/models/embed-deep.js +1 -1
- package/build/api/models/embed-type.d.ts +1 -1
- package/build/api/models/embed-type.js +1 -1
- package/build/api/models/embed-url-metadata-html-all-of-oembed.d.ts +1 -1
- package/build/api/models/embed-url-metadata-html-all-of-oembed.js +1 -1
- package/build/api/models/embed-url-metadata-html-all-of.d.ts +1 -1
- package/build/api/models/embed-url-metadata-html-all-of.js +1 -1
- package/build/api/models/embed-url-metadata-html.d.ts +1 -1
- package/build/api/models/embed-url-metadata-html.js +1 -1
- package/build/api/models/embed-url-metadata-image.d.ts +1 -1
- package/build/api/models/embed-url-metadata-image.js +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.js +1 -1
- package/build/api/models/embed-url-metadata-video.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video.js +1 -1
- package/build/api/models/embed-url-metadata.d.ts +1 -1
- package/build/api/models/embed-url-metadata.js +1 -1
- package/build/api/models/embed-url.d.ts +1 -1
- package/build/api/models/embed-url.js +1 -1
- package/build/api/models/embed.d.ts +1 -1
- package/build/api/models/embed.js +1 -1
- package/build/api/models/error-res.d.ts +1 -1
- package/build/api/models/error-res.js +1 -1
- package/build/api/models/farcaster-action-req-body-action.d.ts +1 -1
- package/build/api/models/farcaster-action-req-body-action.js +1 -1
- package/build/api/models/farcaster-action-req-body.d.ts +1 -1
- package/build/api/models/farcaster-action-req-body.js +1 -1
- package/build/api/models/feed-response.d.ts +1 -1
- package/build/api/models/feed-response.js +1 -1
- package/build/api/models/feed-trending-provider.d.ts +1 -1
- package/build/api/models/feed-trending-provider.js +1 -1
- package/build/api/models/feed-type.d.ts +1 -1
- package/build/api/models/feed-type.js +1 -1
- package/build/api/models/fetch-feed-for-you400-response.d.ts +1 -1
- package/build/api/models/fetch-feed-for-you400-response.js +1 -1
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.d.ts +1 -1
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +1 -1
- package/build/api/models/fids.d.ts +1 -1
- package/build/api/models/fids.js +1 -1
- package/build/api/models/filter-type.d.ts +1 -1
- package/build/api/models/filter-type.js +1 -1
- package/build/api/models/fname-availability-response.d.ts +1 -1
- package/build/api/models/fname-availability-response.js +1 -1
- package/build/api/models/follow-req-body.d.ts +1 -1
- package/build/api/models/follow-req-body.js +1 -1
- package/build/api/models/follow-response.d.ts +1 -1
- package/build/api/models/follow-response.js +1 -1
- package/build/api/models/follow-sort-type.d.ts +1 -1
- package/build/api/models/follow-sort-type.js +1 -1
- package/build/api/models/follow.d.ts +1 -1
- package/build/api/models/follow.js +1 -1
- package/build/api/models/followers-response.d.ts +1 -1
- package/build/api/models/followers-response.js +1 -1
- package/build/api/models/for-you-provider.d.ts +1 -1
- package/build/api/models/for-you-provider.js +1 -1
- package/build/api/models/frame-action-button.d.ts +1 -1
- package/build/api/models/frame-action-button.js +1 -1
- package/build/api/models/frame-action-req-body.d.ts +1 -1
- package/build/api/models/frame-action-req-body.js +1 -1
- package/build/api/models/frame-action.d.ts +1 -1
- package/build/api/models/frame-action.js +1 -1
- package/build/api/models/frame-button-action-type.d.ts +1 -1
- package/build/api/models/frame-button-action-type.js +1 -1
- package/build/api/models/frame-developer-managed-action-req-body.d.ts +1 -1
- package/build/api/models/frame-developer-managed-action-req-body.js +1 -1
- package/build/api/models/frame-input.d.ts +1 -1
- package/build/api/models/frame-input.js +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +1 -1
- package/build/api/models/frame-notification-tokens.d.ts +1 -1
- package/build/api/models/frame-notification-tokens.js +1 -1
- package/build/api/models/frame-signature-packet-trusted-data.d.ts +1 -1
- package/build/api/models/frame-signature-packet-trusted-data.js +1 -1
- package/build/api/models/frame-signature-packet-untrusted-data.d.ts +1 -1
- package/build/api/models/frame-signature-packet-untrusted-data.js +1 -1
- package/build/api/models/frame-signature-packet.d.ts +1 -1
- package/build/api/models/frame-signature-packet.js +1 -1
- package/build/api/models/frame-state.d.ts +1 -1
- package/build/api/models/frame-state.js +1 -1
- package/build/api/models/frame-transaction.d.ts +1 -1
- package/build/api/models/frame-transaction.js +1 -1
- package/build/api/models/frame-type.d.ts +1 -1
- package/build/api/models/frame-type.js +1 -1
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-input-text.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-input-text.js +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast.js +1 -1
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-interactors.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactors.js +1 -1
- package/build/api/models/frame-validate-analytics-response.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-response.js +1 -1
- package/build/api/models/frame-validate-analytics-total-interactors.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-total-interactors.js +1 -1
- package/build/api/models/frame-validate-list-response.d.ts +1 -1
- package/build/api/models/frame-validate-list-response.js +1 -1
- package/build/api/models/frame.d.ts +1 -1
- package/build/api/models/frame.js +1 -1
- package/build/api/models/hydrated-follower.d.ts +1 -1
- package/build/api/models/hydrated-follower.js +1 -1
- package/build/api/models/image-object.d.ts +1 -1
- package/build/api/models/image-object.js +1 -1
- package/build/api/models/index.d.ts +2 -0
- package/build/api/models/index.js +2 -0
- package/build/api/models/invite-channel-member-req-body.d.ts +1 -1
- package/build/api/models/invite-channel-member-req-body.js +1 -1
- package/build/api/models/location-address.d.ts +1 -1
- package/build/api/models/location-address.js +1 -1
- package/build/api/models/location.d.ts +1 -1
- package/build/api/models/location.js +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.d.ts +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.js +1 -1
- package/build/api/models/mute-list-response.d.ts +1 -1
- package/build/api/models/mute-list-response.js +1 -1
- package/build/api/models/mute-record.d.ts +1 -1
- package/build/api/models/mute-record.js +1 -1
- package/build/api/models/mute-req-body.d.ts +1 -1
- package/build/api/models/mute-req-body.js +1 -1
- package/build/api/models/mute-response.d.ts +1 -1
- package/build/api/models/mute-response.js +1 -1
- package/build/api/models/networks.d.ts +1 -1
- package/build/api/models/networks.js +1 -1
- package/build/api/models/next-cursor.d.ts +1 -1
- package/build/api/models/next-cursor.js +1 -1
- package/build/api/models/neynar-frame-creation-req-body.d.ts +1 -1
- package/build/api/models/neynar-frame-creation-req-body.js +1 -1
- package/build/api/models/neynar-frame-page.d.ts +1 -1
- package/build/api/models/neynar-frame-page.js +1 -1
- package/build/api/models/neynar-frame-update-req-body.d.ts +1 -1
- package/build/api/models/neynar-frame-update-req-body.js +1 -1
- package/build/api/models/neynar-frame.d.ts +1 -1
- package/build/api/models/neynar-frame.js +1 -1
- package/build/api/models/neynar-next-frame-page-mint-url.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page-mint-url.js +1 -1
- package/build/api/models/neynar-next-frame-page-redirect.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page-redirect.js +1 -1
- package/build/api/models/neynar-next-frame-page.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page.js +1 -1
- package/build/api/models/neynar-page-button-next-page.d.ts +1 -1
- package/build/api/models/neynar-page-button-next-page.js +1 -1
- package/build/api/models/neynar-page-button.d.ts +1 -1
- package/build/api/models/neynar-page-button.js +1 -1
- package/build/api/models/neynar-page-image.d.ts +1 -1
- package/build/api/models/neynar-page-image.js +1 -1
- package/build/api/models/neynar-page-input-text.d.ts +1 -1
- package/build/api/models/neynar-page-input-text.js +1 -1
- package/build/api/models/neynar-page-input.d.ts +1 -1
- package/build/api/models/neynar-page-input.js +1 -1
- package/build/api/models/nonce-response.d.ts +1 -1
- package/build/api/models/nonce-response.js +1 -1
- package/build/api/models/notification-delivery.d.ts +1 -1
- package/build/api/models/notification-delivery.js +1 -1
- package/build/api/models/notification-type.d.ts +1 -1
- package/build/api/models/notification-type.js +1 -1
- package/build/api/models/notification.d.ts +1 -1
- package/build/api/models/notification.js +1 -1
- package/build/api/models/notifications-response.d.ts +1 -1
- package/build/api/models/notifications-response.js +1 -1
- package/build/api/models/oembed-data.d.ts +1 -1
- package/build/api/models/oembed-data.js +1 -1
- package/build/api/models/oembed-link-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-link-data-all-of.js +1 -1
- package/build/api/models/oembed-link-data.d.ts +1 -1
- package/build/api/models/oembed-link-data.js +1 -1
- package/build/api/models/oembed-photo-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-photo-data-all-of.js +1 -1
- package/build/api/models/oembed-photo-data.d.ts +1 -1
- package/build/api/models/oembed-photo-data.js +1 -1
- package/build/api/models/oembed-rich-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-rich-data-all-of.js +1 -1
- package/build/api/models/oembed-rich-data.d.ts +1 -1
- package/build/api/models/oembed-rich-data.js +1 -1
- package/build/api/models/oembed-video-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-video-data-all-of.js +1 -1
- package/build/api/models/oembed-video-data.d.ts +1 -1
- package/build/api/models/oembed-video-data.js +1 -1
- package/build/api/models/og-object.d.ts +1 -1
- package/build/api/models/og-object.js +1 -1
- package/build/api/models/operation-response.d.ts +1 -1
- package/build/api/models/operation-response.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +1 -1
- package/build/api/models/post-cast-req-body-embeds.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds.js +1 -1
- package/build/api/models/post-cast-req-body.d.ts +1 -1
- package/build/api/models/post-cast-req-body.js +1 -1
- package/build/api/models/post-cast-response-cast.d.ts +1 -1
- package/build/api/models/post-cast-response-cast.js +1 -1
- package/build/api/models/post-cast-response.d.ts +1 -1
- package/build/api/models/post-cast-response.js +1 -1
- package/build/api/models/profile-url-pfp.d.ts +1 -1
- package/build/api/models/profile-url-pfp.js +1 -1
- package/build/api/models/profile-url.d.ts +1 -1
- package/build/api/models/profile-url.js +1 -1
- package/build/api/models/reaction-for-cast.d.ts +1 -1
- package/build/api/models/reaction-for-cast.js +1 -1
- package/build/api/models/reaction-like.d.ts +1 -1
- package/build/api/models/reaction-like.js +1 -1
- package/build/api/models/reaction-recast.d.ts +1 -1
- package/build/api/models/reaction-recast.js +1 -1
- package/build/api/models/reaction-req-body.d.ts +1 -1
- package/build/api/models/reaction-req-body.js +1 -1
- package/build/api/models/reaction-type.d.ts +1 -1
- package/build/api/models/reaction-type.js +1 -1
- package/build/api/models/reaction-with-cast-info.d.ts +1 -1
- package/build/api/models/reaction-with-cast-info.js +1 -1
- package/build/api/models/reaction-with-user-info.d.ts +1 -1
- package/build/api/models/reaction-with-user-info.js +1 -1
- package/build/api/models/reactions-cast-response.d.ts +1 -1
- package/build/api/models/reactions-cast-response.js +1 -1
- package/build/api/models/reactions-response.d.ts +1 -1
- package/build/api/models/reactions-response.js +1 -1
- package/build/api/models/reactions-type.d.ts +1 -1
- package/build/api/models/reactions-type.js +1 -1
- package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +1 -1
- package/build/api/models/register-developer-managed-signed-key-req-body.js +1 -1
- package/build/api/models/register-signer-key-req-body.d.ts +1 -1
- package/build/api/models/register-signer-key-req-body.js +1 -1
- package/build/api/models/register-user-req-body-metadata.d.ts +1 -1
- package/build/api/models/register-user-req-body-metadata.js +1 -1
- package/build/api/models/register-user-req-body.d.ts +1 -1
- package/build/api/models/register-user-req-body.js +1 -1
- package/build/api/models/register-user-response.d.ts +1 -1
- package/build/api/models/register-user-response.js +1 -1
- package/build/api/models/relevant-followers-response.d.ts +1 -1
- package/build/api/models/relevant-followers-response.js +1 -1
- package/build/api/models/relevant-fungible-owners-response.d.ts +1 -1
- package/build/api/models/relevant-fungible-owners-response.js +1 -1
- package/build/api/models/remove-channel-member-req-body.d.ts +1 -1
- package/build/api/models/remove-channel-member-req-body.js +1 -1
- package/build/api/models/remove-verification-req-body.d.ts +1 -1
- package/build/api/models/remove-verification-req-body.js +1 -1
- package/build/api/models/respond-channel-invite-req-body.d.ts +1 -1
- package/build/api/models/respond-channel-invite-req-body.js +1 -1
- package/build/api/models/searched-user.d.ts +1 -1
- package/build/api/models/searched-user.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.js +1 -1
- package/build/api/models/send-frame-notifications-req-body.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body.js +1 -1
- package/build/api/models/send-frame-notifications-response.d.ts +1 -1
- package/build/api/models/send-frame-notifications-response.js +1 -1
- package/build/api/models/shared-signer-permission.d.ts +1 -1
- package/build/api/models/shared-signer-permission.js +1 -1
- package/build/api/models/signed-key-request-sponsor.d.ts +1 -1
- package/build/api/models/signed-key-request-sponsor.js +1 -1
- package/build/api/models/signer-list-response.d.ts +1 -1
- package/build/api/models/signer-list-response.js +1 -1
- package/build/api/models/signer.d.ts +1 -1
- package/build/api/models/signer.js +1 -1
- package/build/api/models/storage-allocation.d.ts +1 -1
- package/build/api/models/storage-allocation.js +1 -1
- package/build/api/models/storage-allocations-response.d.ts +1 -1
- package/build/api/models/storage-allocations-response.js +1 -1
- package/build/api/models/storage-object.d.ts +1 -1
- package/build/api/models/storage-object.js +1 -1
- package/build/api/models/storage-usage-response.d.ts +1 -1
- package/build/api/models/storage-usage-response.js +1 -1
- package/build/api/models/subscribed-to-all-of.d.ts +1 -1
- package/build/api/models/subscribed-to-all-of.js +1 -1
- package/build/api/models/subscribed-to-object.d.ts +1 -1
- package/build/api/models/subscribed-to-object.js +1 -1
- package/build/api/models/subscribed-to-response.d.ts +1 -1
- package/build/api/models/subscribed-to-response.js +1 -1
- package/build/api/models/subscribed-to.d.ts +1 -1
- package/build/api/models/subscribed-to.js +1 -1
- package/build/api/models/subscriber.d.ts +1 -1
- package/build/api/models/subscriber.js +1 -1
- package/build/api/models/subscribers-response.d.ts +1 -1
- package/build/api/models/subscribers-response.js +1 -1
- package/build/api/models/subscription-check-response.d.ts +1 -1
- package/build/api/models/subscription-check-response.js +1 -1
- package/build/api/models/subscription-metadata.d.ts +1 -1
- package/build/api/models/subscription-metadata.js +1 -1
- package/build/api/models/subscription-price.d.ts +1 -1
- package/build/api/models/subscription-price.js +1 -1
- package/build/api/models/subscription-provider.d.ts +1 -1
- package/build/api/models/subscription-provider.js +1 -1
- package/build/api/models/subscription-providers.d.ts +1 -1
- package/build/api/models/subscription-providers.js +1 -1
- package/build/api/models/subscription-status.d.ts +1 -1
- package/build/api/models/subscription-status.js +1 -1
- package/build/api/models/subscription-tier-price.d.ts +1 -1
- package/build/api/models/subscription-tier-price.js +1 -1
- package/build/api/models/subscription-tier.d.ts +1 -1
- package/build/api/models/subscription-tier.js +1 -1
- package/build/api/models/subscription-token.d.ts +1 -1
- package/build/api/models/subscription-token.js +1 -1
- package/build/api/models/subscription.d.ts +1 -1
- package/build/api/models/subscription.js +1 -1
- package/build/api/models/subscriptions-response.d.ts +1 -1
- package/build/api/models/subscriptions-response.js +1 -1
- package/build/api/models/subscriptions.d.ts +1 -1
- package/build/api/models/subscriptions.js +1 -1
- package/build/api/models/token-balance-balance.d.ts +1 -1
- package/build/api/models/token-balance-balance.js +1 -1
- package/build/api/models/token-balance-token.d.ts +1 -1
- package/build/api/models/token-balance-token.js +1 -1
- package/build/api/models/token-balance.d.ts +1 -1
- package/build/api/models/token-balance.js +1 -1
- package/build/api/models/trending-channel-response.d.ts +1 -1
- package/build/api/models/trending-channel-response.js +1 -1
- package/build/api/models/update-user-req-body-location.d.ts +1 -1
- package/build/api/models/update-user-req-body-location.js +1 -1
- package/build/api/models/update-user-req-body-verified-accounts.d.ts +1 -1
- package/build/api/models/update-user-req-body-verified-accounts.js +1 -1
- package/build/api/models/update-user-req-body.d.ts +1 -1
- package/build/api/models/update-user-req-body.js +1 -1
- package/build/api/models/user-dehydrated.d.ts +1 -1
- package/build/api/models/user-dehydrated.js +1 -1
- package/build/api/models/user-experimental.d.ts +1 -1
- package/build/api/models/user-experimental.js +1 -1
- package/build/api/models/user-fidresponse.d.ts +1 -1
- package/build/api/models/user-fidresponse.js +1 -1
- package/build/api/models/user-power-lite-response-result.d.ts +1 -1
- package/build/api/models/user-power-lite-response-result.js +1 -1
- package/build/api/models/user-power-lite-response.d.ts +1 -1
- package/build/api/models/user-power-lite-response.js +1 -1
- package/build/api/models/user-profile-bio.d.ts +1 -1
- package/build/api/models/user-profile-bio.js +1 -1
- package/build/api/models/user-profile.d.ts +1 -1
- package/build/api/models/user-profile.js +1 -1
- package/build/api/models/user-response.d.ts +1 -1
- package/build/api/models/user-response.js +1 -1
- package/build/api/models/user-search-response-result.d.ts +1 -1
- package/build/api/models/user-search-response-result.js +1 -1
- package/build/api/models/user-search-response.d.ts +1 -1
- package/build/api/models/user-search-response.js +1 -1
- package/build/api/models/user-verified-accounts-inner.d.ts +1 -1
- package/build/api/models/user-verified-accounts-inner.js +1 -1
- package/build/api/models/user-verified-addresses.d.ts +1 -1
- package/build/api/models/user-verified-addresses.js +1 -1
- package/build/api/models/user-viewer-context.d.ts +1 -1
- package/build/api/models/user-viewer-context.js +1 -1
- package/build/api/models/user.d.ts +1 -1
- package/build/api/models/user.js +1 -1
- package/build/api/models/users-active-channels-response.d.ts +1 -1
- package/build/api/models/users-active-channels-response.js +1 -1
- package/build/api/models/users-response.d.ts +1 -1
- package/build/api/models/users-response.js +1 -1
- package/build/api/models/validate-frame-action-req-body.d.ts +1 -1
- package/build/api/models/validate-frame-action-req-body.js +1 -1
- package/build/api/models/validate-frame-action-response.d.ts +1 -1
- package/build/api/models/validate-frame-action-response.js +1 -1
- package/build/api/models/validate-frame-aggregate-window.d.ts +1 -1
- package/build/api/models/validate-frame-aggregate-window.js +1 -1
- package/build/api/models/validate-frame-analytics-type.d.ts +1 -1
- package/build/api/models/validate-frame-analytics-type.js +1 -1
- package/build/api/models/validated-frame-action-signer.d.ts +1 -1
- package/build/api/models/validated-frame-action-signer.js +1 -1
- package/build/api/models/validated-frame-action-tapped-button.d.ts +1 -1
- package/build/api/models/validated-frame-action-tapped-button.js +1 -1
- package/build/api/models/validated-frame-action.d.ts +1 -1
- package/build/api/models/validated-frame-action.js +1 -1
- package/build/api/models/verification-chain-id.d.ts +1 -1
- package/build/api/models/verification-chain-id.js +1 -1
- package/build/api/models/verification-type.d.ts +1 -1
- package/build/api/models/verification-type.js +1 -1
- package/build/api/models/video-object.d.ts +1 -1
- package/build/api/models/video-object.js +1 -1
- package/build/api/models/webhook-delete-req-body.d.ts +1 -1
- package/build/api/models/webhook-delete-req-body.js +1 -1
- package/build/api/models/webhook-list-response.d.ts +1 -1
- package/build/api/models/webhook-list-response.js +1 -1
- package/build/api/models/webhook-patch-req-body.d.ts +1 -1
- package/build/api/models/webhook-patch-req-body.js +1 -1
- package/build/api/models/webhook-post-req-body.d.ts +1 -1
- package/build/api/models/webhook-post-req-body.js +1 -1
- package/build/api/models/webhook-put-req-body.d.ts +1 -1
- package/build/api/models/webhook-put-req-body.js +1 -1
- package/build/api/models/webhook-response.d.ts +1 -1
- package/build/api/models/webhook-response.js +1 -1
- package/build/api/models/webhook-secret.d.ts +1 -1
- package/build/api/models/webhook-secret.js +1 -1
- package/build/api/models/webhook-subscription-filters-cast.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-cast.js +1 -1
- package/build/api/models/webhook-subscription-filters-follow.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-follow.js +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.js +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.js +1 -1
- package/build/api/models/webhook-subscription-filters.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters.js +1 -1
- package/build/api/models/webhook-subscription.d.ts +1 -1
- package/build/api/models/webhook-subscription.js +1 -1
- package/build/api/models/webhook.d.ts +1 -1
- package/build/api/models/webhook.js +1 -1
- package/build/api/models/zod-error-errors-inner.d.ts +1 -1
- package/build/api/models/zod-error-errors-inner.js +1 -1
- package/build/api/models/zod-error.d.ts +1 -1
- package/build/api/models/zod-error.js +1 -1
- package/build/clients/NeynarAPIClient.d.ts +35 -1
- package/build/clients/NeynarAPIClient.js +36 -0
- package/build/clients/NeynarHubClient.d.ts +23 -23
- package/build/clients/NeynarHubClient.js +21 -21
- package/build/hub-api/api.d.ts +1 -1
- package/build/hub-api/api.js +1 -1
- package/build/hub-api/apis/casts-api.d.ts +28 -27
- package/build/hub-api/apis/casts-api.js +17 -17
- package/build/hub-api/apis/fids-api.d.ts +1 -1
- package/build/hub-api/apis/fids-api.js +1 -1
- package/build/hub-api/apis/hub-events-api.d.ts +1 -1
- package/build/hub-api/apis/hub-events-api.js +1 -1
- package/build/hub-api/apis/info-api.d.ts +4 -4
- package/build/hub-api/apis/info-api.js +3 -3
- package/build/hub-api/apis/links-api.d.ts +16 -16
- package/build/hub-api/apis/links-api.js +11 -11
- package/build/hub-api/apis/message-api.d.ts +1 -1
- package/build/hub-api/apis/message-api.js +1 -1
- package/build/hub-api/apis/on-chain-events-api.d.ts +1 -1
- package/build/hub-api/apis/on-chain-events-api.js +1 -1
- package/build/hub-api/apis/reactions-api.d.ts +32 -32
- package/build/hub-api/apis/reactions-api.js +23 -23
- package/build/hub-api/apis/storage-api.d.ts +1 -1
- package/build/hub-api/apis/storage-api.js +1 -1
- package/build/hub-api/apis/user-data-api.d.ts +1 -1
- package/build/hub-api/apis/user-data-api.js +1 -1
- package/build/hub-api/apis/usernames-api.d.ts +1 -1
- package/build/hub-api/apis/usernames-api.js +1 -1
- package/build/hub-api/apis/verifications-api.d.ts +1 -1
- package/build/hub-api/apis/verifications-api.js +1 -1
- package/build/hub-api/base.d.ts +1 -1
- package/build/hub-api/base.js +1 -1
- package/build/hub-api/common.d.ts +1 -1
- package/build/hub-api/common.js +1 -1
- package/build/hub-api/configuration.d.ts +1 -1
- package/build/hub-api/configuration.js +1 -1
- package/build/hub-api/index.d.ts +1 -1
- package/build/hub-api/index.js +1 -1
- package/build/hub-api/models/cast-add-all-of-data-all-of.d.ts +1 -1
- package/build/hub-api/models/cast-add-all-of-data-all-of.js +1 -1
- package/build/hub-api/models/cast-add-all-of-data.d.ts +1 -1
- package/build/hub-api/models/cast-add-all-of-data.js +1 -1
- package/build/hub-api/models/cast-add-all-of.d.ts +1 -1
- package/build/hub-api/models/cast-add-all-of.js +1 -1
- package/build/hub-api/models/cast-add-body.d.ts +1 -1
- package/build/hub-api/models/cast-add-body.js +1 -1
- package/build/hub-api/models/cast-add.d.ts +1 -1
- package/build/hub-api/models/cast-add.js +1 -1
- package/build/hub-api/models/cast-embed.d.ts +1 -1
- package/build/hub-api/models/cast-embed.js +1 -1
- package/build/hub-api/models/cast-id.d.ts +4 -4
- package/build/hub-api/models/cast-id.js +1 -1
- package/build/hub-api/models/db-stats.d.ts +1 -1
- package/build/hub-api/models/db-stats.js +1 -1
- package/build/hub-api/models/embed.d.ts +1 -1
- package/build/hub-api/models/embed.js +1 -1
- package/build/hub-api/models/error-response-metadata.d.ts +1 -1
- package/build/hub-api/models/error-response-metadata.js +1 -1
- package/build/hub-api/models/error-response.d.ts +1 -1
- package/build/hub-api/models/error-response.js +1 -1
- package/build/hub-api/models/farcaster-network.d.ts +1 -1
- package/build/hub-api/models/farcaster-network.js +1 -1
- package/build/hub-api/models/fetch-cast-reactions200-response-all-of.d.ts +25 -0
- package/build/hub-api/models/fetch-cast-reactions200-response-all-of.js +15 -0
- package/build/hub-api/models/fetch-cast-reactions200-response.d.ts +5 -18
- package/build/hub-api/models/fetch-cast-reactions200-response.js +1 -1
- package/build/hub-api/models/fetch-casts-by-parent200-response-all-of.d.ts +25 -0
- package/build/hub-api/models/fetch-casts-by-parent200-response-all-of.js +15 -0
- package/build/hub-api/models/fetch-casts-by-parent200-response.d.ts +18 -0
- package/build/hub-api/models/fetch-casts-by-parent200-response.js +15 -0
- package/build/hub-api/models/fetch-events200-response.d.ts +1 -1
- package/build/hub-api/models/fetch-events200-response.js +1 -1
- package/build/hub-api/models/fetch-user-data200-response-one-of-all-of.d.ts +25 -0
- package/build/hub-api/models/fetch-user-data200-response-one-of-all-of.js +15 -0
- package/build/hub-api/models/fetch-user-data200-response-one-of.d.ts +5 -18
- package/build/hub-api/models/fetch-user-data200-response-one-of.js +1 -1
- package/build/hub-api/models/fetch-user-data200-response.d.ts +1 -1
- package/build/hub-api/models/fetch-user-data200-response.js +1 -1
- package/build/hub-api/models/fetch-user-following200-response-all-of.d.ts +25 -0
- package/build/hub-api/models/fetch-user-following200-response-all-of.js +15 -0
- package/build/hub-api/models/fetch-user-following200-response.d.ts +5 -18
- package/build/hub-api/models/fetch-user-following200-response.js +1 -1
- package/build/hub-api/models/fetch-user-on-chain-events200-response.d.ts +1 -1
- package/build/hub-api/models/fetch-user-on-chain-events200-response.js +1 -1
- package/build/hub-api/models/fetch-user-on-chain-signers-events200-response-one-of.d.ts +1 -1
- package/build/hub-api/models/fetch-user-on-chain-signers-events200-response-one-of.js +1 -1
- package/build/hub-api/models/fetch-user-on-chain-signers-events200-response.d.ts +1 -1
- package/build/hub-api/models/fetch-user-on-chain-signers-events200-response.js +1 -1
- package/build/hub-api/models/fetch-users-casts200-response-all-of.d.ts +25 -0
- package/build/hub-api/models/fetch-users-casts200-response-all-of.js +15 -0
- package/build/hub-api/models/fetch-users-casts200-response.d.ts +5 -18
- package/build/hub-api/models/fetch-users-casts200-response.js +1 -1
- package/build/hub-api/models/fetch-verifications-by-fid200-response.d.ts +1 -1
- package/build/hub-api/models/fetch-verifications-by-fid200-response.js +1 -1
- package/build/hub-api/models/fids-response-all-of.d.ts +24 -0
- package/build/hub-api/models/fids-response-all-of.js +15 -0
- package/build/hub-api/models/fids-response.d.ts +5 -17
- package/build/hub-api/models/fids-response.js +1 -1
- package/build/hub-api/models/frame-action-body.d.ts +5 -5
- package/build/hub-api/models/frame-action-body.js +1 -1
- package/build/hub-api/models/hash-scheme.d.ts +1 -1
- package/build/hub-api/models/hash-scheme.js +1 -1
- package/build/hub-api/models/hub-event-merge-message.d.ts +1 -1
- package/build/hub-api/models/hub-event-merge-message.js +1 -1
- package/build/hub-api/models/hub-event-merge-on-chain-event.d.ts +1 -1
- package/build/hub-api/models/hub-event-merge-on-chain-event.js +1 -1
- package/build/hub-api/models/hub-event-merge-username-proof.d.ts +1 -1
- package/build/hub-api/models/hub-event-merge-username-proof.js +1 -1
- package/build/hub-api/models/hub-event-prune-message.d.ts +1 -1
- package/build/hub-api/models/hub-event-prune-message.js +1 -1
- package/build/hub-api/models/hub-event-revoke-message.d.ts +1 -1
- package/build/hub-api/models/hub-event-revoke-message.js +1 -1
- package/build/hub-api/models/hub-event.d.ts +1 -1
- package/build/hub-api/models/hub-event.js +1 -1
- package/build/hub-api/models/hub-info-response.d.ts +1 -1
- package/build/hub-api/models/hub-info-response.js +1 -1
- package/build/hub-api/models/id-register-event-body.d.ts +1 -1
- package/build/hub-api/models/id-register-event-body.js +1 -1
- package/build/hub-api/models/id-register-event-type.d.ts +1 -1
- package/build/hub-api/models/id-register-event-type.js +1 -1
- package/build/hub-api/models/index.d.ts +8 -0
- package/build/hub-api/models/index.js +8 -0
- package/build/hub-api/models/link-add-all-of-data.d.ts +1 -1
- package/build/hub-api/models/link-add-all-of-data.js +1 -1
- package/build/hub-api/models/link-add-all-of.d.ts +1 -1
- package/build/hub-api/models/link-add-all-of.js +1 -1
- package/build/hub-api/models/link-add.d.ts +1 -1
- package/build/hub-api/models/link-add.js +1 -1
- package/build/hub-api/models/link-body.d.ts +4 -4
- package/build/hub-api/models/link-body.js +1 -1
- package/build/hub-api/models/link-type.d.ts +2 -2
- package/build/hub-api/models/link-type.js +2 -2
- package/build/hub-api/models/merge-message-body.d.ts +1 -1
- package/build/hub-api/models/merge-message-body.js +1 -1
- package/build/hub-api/models/merge-on-chain-event-body.d.ts +1 -1
- package/build/hub-api/models/merge-on-chain-event-body.js +1 -1
- package/build/hub-api/models/merge-user-name-proof-body.d.ts +1 -1
- package/build/hub-api/models/merge-user-name-proof-body.js +1 -1
- package/build/hub-api/models/message-all-of-data.d.ts +1 -1
- package/build/hub-api/models/message-all-of-data.js +1 -1
- package/build/hub-api/models/message-all-of.d.ts +1 -1
- package/build/hub-api/models/message-all-of.js +1 -1
- package/build/hub-api/models/message-common.d.ts +1 -1
- package/build/hub-api/models/message-common.js +1 -1
- package/build/hub-api/models/message-data-cast-add-all-of.d.ts +2 -2
- package/build/hub-api/models/message-data-cast-add-all-of.js +1 -1
- package/build/hub-api/models/message-data-cast-add.d.ts +2 -1
- package/build/hub-api/models/message-data-cast-add.js +1 -1
- package/build/hub-api/models/message-data-cast-remove-all-of.d.ts +2 -2
- package/build/hub-api/models/message-data-cast-remove-all-of.js +1 -1
- package/build/hub-api/models/message-data-cast-remove.d.ts +2 -1
- package/build/hub-api/models/message-data-cast-remove.js +1 -1
- package/build/hub-api/models/message-data-common.d.ts +4 -4
- package/build/hub-api/models/message-data-common.js +1 -1
- package/build/hub-api/models/message-data-frame-action-all-of.d.ts +2 -2
- package/build/hub-api/models/message-data-frame-action-all-of.js +1 -1
- package/build/hub-api/models/message-data-frame-action.d.ts +2 -1
- package/build/hub-api/models/message-data-frame-action.js +1 -1
- package/build/hub-api/models/message-data-link-all-of.d.ts +2 -2
- package/build/hub-api/models/message-data-link-all-of.js +1 -1
- package/build/hub-api/models/message-data-link.d.ts +2 -1
- package/build/hub-api/models/message-data-link.js +1 -1
- package/build/hub-api/models/message-data-reaction-all-of.d.ts +2 -2
- package/build/hub-api/models/message-data-reaction-all-of.js +1 -1
- package/build/hub-api/models/message-data-reaction.d.ts +2 -1
- package/build/hub-api/models/message-data-reaction.js +1 -1
- package/build/hub-api/models/message-data-user-data-add-all-of.d.ts +2 -2
- package/build/hub-api/models/message-data-user-data-add-all-of.js +1 -1
- package/build/hub-api/models/message-data-user-data-add.d.ts +2 -1
- package/build/hub-api/models/message-data-user-data-add.js +1 -1
- package/build/hub-api/models/message-data-username-proof-all-of.d.ts +1 -1
- package/build/hub-api/models/message-data-username-proof-all-of.js +1 -1
- package/build/hub-api/models/message-data-username-proof.d.ts +1 -1
- package/build/hub-api/models/message-data-username-proof.js +1 -1
- package/build/hub-api/models/message-data-verification-add-all-of.d.ts +2 -2
- package/build/hub-api/models/message-data-verification-add-all-of.js +1 -1
- package/build/hub-api/models/message-data-verification-add.d.ts +2 -1
- package/build/hub-api/models/message-data-verification-add.js +1 -1
- package/build/hub-api/models/message-data-verification-remove-all-of.d.ts +2 -2
- package/build/hub-api/models/message-data-verification-remove-all-of.js +1 -1
- package/build/hub-api/models/message-data-verification-remove.d.ts +2 -1
- package/build/hub-api/models/message-data-verification-remove.js +1 -1
- package/build/hub-api/models/message-type.d.ts +1 -1
- package/build/hub-api/models/message-type.js +1 -1
- package/build/hub-api/models/message.d.ts +2 -2
- package/build/hub-api/models/message.js +1 -1
- package/build/hub-api/models/on-chain-event-common.d.ts +1 -1
- package/build/hub-api/models/on-chain-event-common.js +1 -1
- package/build/hub-api/models/on-chain-event-id-register-all-of.d.ts +1 -1
- package/build/hub-api/models/on-chain-event-id-register-all-of.js +1 -1
- package/build/hub-api/models/on-chain-event-id-register.d.ts +1 -1
- package/build/hub-api/models/on-chain-event-id-register.js +1 -1
- package/build/hub-api/models/on-chain-event-signer-all-of.d.ts +1 -1
- package/build/hub-api/models/on-chain-event-signer-all-of.js +1 -1
- package/build/hub-api/models/on-chain-event-signer-migrated-all-of.d.ts +1 -1
- package/build/hub-api/models/on-chain-event-signer-migrated-all-of.js +1 -1
- package/build/hub-api/models/on-chain-event-signer-migrated.d.ts +1 -1
- package/build/hub-api/models/on-chain-event-signer-migrated.js +1 -1
- package/build/hub-api/models/on-chain-event-signer.d.ts +1 -1
- package/build/hub-api/models/on-chain-event-signer.js +1 -1
- package/build/hub-api/models/on-chain-event-storage-rent-all-of.d.ts +1 -1
- package/build/hub-api/models/on-chain-event-storage-rent-all-of.js +1 -1
- package/build/hub-api/models/on-chain-event-storage-rent.d.ts +1 -1
- package/build/hub-api/models/on-chain-event-storage-rent.js +1 -1
- package/build/hub-api/models/on-chain-event-type.d.ts +1 -1
- package/build/hub-api/models/on-chain-event-type.js +1 -1
- package/build/hub-api/models/on-chain-event.d.ts +1 -1
- package/build/hub-api/models/on-chain-event.js +1 -1
- package/build/hub-api/models/pagination-response.d.ts +24 -0
- package/build/hub-api/models/pagination-response.js +15 -0
- package/build/hub-api/models/prune-message-body.d.ts +1 -1
- package/build/hub-api/models/prune-message-body.js +1 -1
- package/build/hub-api/models/reaction-all-of-data.d.ts +1 -1
- package/build/hub-api/models/reaction-all-of-data.js +1 -1
- package/build/hub-api/models/reaction-all-of.d.ts +1 -1
- package/build/hub-api/models/reaction-all-of.js +1 -1
- package/build/hub-api/models/reaction-body.d.ts +4 -4
- package/build/hub-api/models/reaction-body.js +1 -1
- package/build/hub-api/models/reaction-type.d.ts +2 -2
- package/build/hub-api/models/reaction-type.js +2 -2
- package/build/hub-api/models/reaction.d.ts +1 -1
- package/build/hub-api/models/reaction.js +1 -1
- package/build/hub-api/models/revoke-message-body.d.ts +1 -1
- package/build/hub-api/models/revoke-message-body.js +1 -1
- package/build/hub-api/models/signature-scheme.d.ts +1 -1
- package/build/hub-api/models/signature-scheme.js +1 -1
- package/build/hub-api/models/signer-event-body.d.ts +1 -1
- package/build/hub-api/models/signer-event-body.js +1 -1
- package/build/hub-api/models/signer-event-type.d.ts +1 -1
- package/build/hub-api/models/signer-event-type.js +1 -1
- package/build/hub-api/models/signer-migrated-event-body.d.ts +1 -1
- package/build/hub-api/models/signer-migrated-event-body.js +1 -1
- package/build/hub-api/models/storage-limit.d.ts +1 -1
- package/build/hub-api/models/storage-limit.js +1 -1
- package/build/hub-api/models/storage-limits-response.d.ts +1 -1
- package/build/hub-api/models/storage-limits-response.js +1 -1
- package/build/hub-api/models/storage-rent-event-body.d.ts +1 -1
- package/build/hub-api/models/storage-rent-event-body.js +1 -1
- package/build/hub-api/models/store-type.d.ts +1 -1
- package/build/hub-api/models/store-type.js +1 -1
- package/build/hub-api/models/url-embed.d.ts +1 -1
- package/build/hub-api/models/url-embed.js +1 -1
- package/build/hub-api/models/user-data-add-all-of-data.d.ts +1 -1
- package/build/hub-api/models/user-data-add-all-of-data.js +1 -1
- package/build/hub-api/models/user-data-add-all-of.d.ts +1 -1
- package/build/hub-api/models/user-data-add-all-of.js +1 -1
- package/build/hub-api/models/user-data-add.d.ts +1 -1
- package/build/hub-api/models/user-data-add.js +1 -1
- package/build/hub-api/models/user-data-body.d.ts +4 -4
- package/build/hub-api/models/user-data-body.js +1 -1
- package/build/hub-api/models/user-data-type.d.ts +2 -2
- package/build/hub-api/models/user-data-type.js +2 -2
- package/build/hub-api/models/user-name-proof.d.ts +2 -2
- package/build/hub-api/models/user-name-proof.js +1 -1
- package/build/hub-api/models/user-name-type.d.ts +1 -1
- package/build/hub-api/models/user-name-type.js +1 -1
- package/build/hub-api/models/username-proofs-response.d.ts +1 -1
- package/build/hub-api/models/username-proofs-response.js +1 -1
- package/build/hub-api/models/validate-message-response.d.ts +1 -1
- package/build/hub-api/models/validate-message-response.js +1 -1
- package/build/hub-api/models/verification-add-eth-address-body.d.ts +5 -5
- package/build/hub-api/models/verification-add-eth-address-body.js +1 -1
- package/build/hub-api/models/verification-all-of-data.d.ts +1 -1
- package/build/hub-api/models/verification-all-of-data.js +1 -1
- package/build/hub-api/models/verification-all-of.d.ts +1 -1
- package/build/hub-api/models/verification-all-of.js +1 -1
- package/build/hub-api/models/verification-remove-body.d.ts +3 -3
- package/build/hub-api/models/verification-remove-body.js +1 -1
- package/build/hub-api/models/verification.d.ts +1 -1
- package/build/hub-api/models/verification.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Logger } from "../common/logger";
|
|
2
2
|
import { AxiosInstance } from "axios";
|
|
3
3
|
import { Configuration } from './configuration';
|
|
4
|
-
import type { CastAdd, FetchCastReactions200Response, FetchEvents200Response, FetchUserData200Response, FetchUserFollowing200Response, FetchUserOnChainEvents200Response, FetchUserOnChainSignersEvents200Response, FetchUsersCasts200Response, FetchVerificationsByFid200Response, FidsResponse, HubEvent, HubInfoResponse, LinkAdd, LinkType, Message, OnChainEventIdRegister, OnChainEventType, Reaction, ReactionType, StorageLimitsResponse, UserDataType, UserNameProof, UsernameProofsResponse, ValidateMessageResponse } from '../hub-api';
|
|
4
|
+
import type { CastAdd, FetchCastReactions200Response, FetchCastsByParent200Response, FetchEvents200Response, FetchUserData200Response, FetchUserFollowing200Response, FetchUserOnChainEvents200Response, FetchUserOnChainSignersEvents200Response, FetchUsersCasts200Response, FetchVerificationsByFid200Response, FidsResponse, HubEvent, HubInfoResponse, LinkAdd, LinkType, Message, OnChainEventIdRegister, OnChainEventType, Reaction, ReactionType, StorageLimitsResponse, UserDataType, UserNameProof, UsernameProofsResponse, ValidateMessageResponse } from '../hub-api';
|
|
5
5
|
export interface NeynarHubClientOptions {
|
|
6
6
|
logger?: Logger;
|
|
7
7
|
axiosInstance?: AxiosInstance;
|
|
@@ -13,19 +13,19 @@ export declare class NeynarHubClient {
|
|
|
13
13
|
constructor(config: Configuration, options?: NeynarHubClientOptions);
|
|
14
14
|
static isApiErrorResponse(error: any): boolean;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Retrieve all reply casts (responses) to a specific parent cast in the Farcaster network. Parent casts can be identified using either a combination of FID and hash, or by their URL. This endpoint enables traversal of conversation threads and retrieval of all responses to a particular cast.
|
|
17
17
|
*
|
|
18
18
|
* @summary By parent cast
|
|
19
19
|
*
|
|
20
20
|
* @param {object} params
|
|
21
|
-
* @param {number} params.fid [optional] - The FID of the parent cast
|
|
22
|
-
* @param {string} params.hash [optional] - The parent cast's
|
|
23
|
-
* @param {string} params.url [optional]
|
|
21
|
+
* @param {number} params.fid [optional] - The Farcaster ID (FID) of the parent cast's creator. This parameter must be used together with the 'hash' parameter to uniquely identify a parent cast. Required only when using hash-based lookup instead of URL-based lookup. The FID is a unique identifier assigned to each Farcaster user.
|
|
22
|
+
* @param {string} params.hash [optional] - The unique hash identifier of the parent cast. Must be used together with the 'fid' parameter when doing hash-based lookup. This is a 40-character hexadecimal string prefixed with '0x' that uniquely identifies the cast within the creator's posts. Not required if using URL-based lookup.
|
|
23
|
+
* @param {string} params.url [optional] - Cast URL starting with 'chain://'
|
|
24
24
|
* @param {number} params.pageSize [optional] - Maximum number of messages to return in a single response
|
|
25
25
|
* @param {boolean} params.reverse [optional] - Reverse the sort order, returning latest messages first
|
|
26
26
|
* @param {string} params.pageToken [optional] - The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
27
27
|
*
|
|
28
|
-
* @returns {Promise<
|
|
28
|
+
* @returns {Promise<FetchCastsByParent200Response>} A promise that resolves to a `FetchCastsByParent200Response` object.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
*
|
|
@@ -51,7 +51,7 @@ export declare class NeynarHubClient {
|
|
|
51
51
|
pageSize?: number;
|
|
52
52
|
reverse?: boolean;
|
|
53
53
|
pageToken?: string;
|
|
54
|
-
}): Promise<
|
|
54
|
+
}): Promise<FetchCastsByParent200Response>;
|
|
55
55
|
/**
|
|
56
56
|
* Fetch casts mentioning a user.
|
|
57
57
|
*
|
|
@@ -127,7 +127,7 @@ export declare class NeynarHubClient {
|
|
|
127
127
|
*
|
|
128
128
|
* @param {object} params
|
|
129
129
|
* @param {number} params.fid - The FID of the cast's creator
|
|
130
|
-
* @param {string} params.hash - The cast'
|
|
130
|
+
* @param {string} params.hash - The unique hash identifier of the cast. This is a 40-character hexadecimal string prefixed with '0x' that uniquely identifies a specific cast in the Farcaster network.
|
|
131
131
|
*
|
|
132
132
|
* @returns {Promise<CastAdd>} A promise that resolves to a `CastAdd` object.
|
|
133
133
|
*
|
|
@@ -235,7 +235,7 @@ export declare class NeynarHubClient {
|
|
|
235
235
|
* @summary Sync Methods
|
|
236
236
|
*
|
|
237
237
|
* @param {object} params
|
|
238
|
-
* @param {boolean} params.dbstats -
|
|
238
|
+
* @param {boolean} params.dbstats - Controls whether the response includes database statistics. When true, the response includes information about the hub's database state, storage usage, and performance metrics.
|
|
239
239
|
*
|
|
240
240
|
* @returns {Promise<HubInfoResponse>} A promise that resolves to a `HubInfoResponse` object.
|
|
241
241
|
*
|
|
@@ -260,8 +260,8 @@ export declare class NeynarHubClient {
|
|
|
260
260
|
* @summary To target FID
|
|
261
261
|
*
|
|
262
262
|
* @param {object} params
|
|
263
|
-
* @param {number} params.targetFid - The FID of the target
|
|
264
|
-
* @param {LinkType} params.linkType [optional]
|
|
263
|
+
* @param {number} params.targetFid - The FID of the target user for this link
|
|
264
|
+
* @param {LinkType} params.linkType [optional]
|
|
265
265
|
* @param {number} params.pageSize [optional] - Maximum number of messages to return in a single response
|
|
266
266
|
* @param {boolean} params.reverse [optional] - Reverse the sort order, returning latest messages first
|
|
267
267
|
* @param {string} params.pageToken [optional] - The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
@@ -298,7 +298,7 @@ export declare class NeynarHubClient {
|
|
|
298
298
|
*
|
|
299
299
|
* @param {object} params
|
|
300
300
|
* @param {number} params.fid - The FID of the link's originator
|
|
301
|
-
* @param {LinkType} params.linkType [optional]
|
|
301
|
+
* @param {LinkType} params.linkType [optional]
|
|
302
302
|
* @param {number} params.pageSize [optional] - Maximum number of messages to return in a single response
|
|
303
303
|
* @param {boolean} params.reverse [optional] - Reverse the sort order, returning latest messages first
|
|
304
304
|
* @param {string} params.pageToken [optional] - The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
@@ -335,8 +335,8 @@ export declare class NeynarHubClient {
|
|
|
335
335
|
*
|
|
336
336
|
* @param {object} params
|
|
337
337
|
* @param {number} params.fid - The FID of the link's originator
|
|
338
|
-
* @param {number} params.targetFid - The FID of the target
|
|
339
|
-
* @param {LinkType} params.linkType
|
|
338
|
+
* @param {number} params.targetFid - The FID of the target user for this link
|
|
339
|
+
* @param {LinkType} params.linkType
|
|
340
340
|
*
|
|
341
341
|
* @returns {Promise<LinkAdd>} A promise that resolves to a `LinkAdd` object.
|
|
342
342
|
*
|
|
@@ -491,14 +491,14 @@ export declare class NeynarHubClient {
|
|
|
491
491
|
address: string;
|
|
492
492
|
}): Promise<OnChainEventIdRegister>;
|
|
493
493
|
/**
|
|
494
|
-
*
|
|
494
|
+
* Retrieve all reactions (likes or recasts) on a specific cast in the Farcaster network. The cast is identified by its creator\'s FID and unique hash. This endpoint helps track engagement metrics and user interactions with specific content.
|
|
495
495
|
*
|
|
496
496
|
* @summary On cast
|
|
497
497
|
*
|
|
498
498
|
* @param {object} params
|
|
499
|
-
* @param {number} params.targetFid - The FID of the cast's creator
|
|
500
|
-
* @param {string} params.targetHash - The hash of the cast
|
|
501
|
-
* @param {ReactionType} params.reactionType
|
|
499
|
+
* @param {number} params.targetFid - The FID of the cast's creator. Required to uniquely identify the cast that received the reactions. Must be used in conjunction with target_hash.
|
|
500
|
+
* @param {string} params.targetHash - The unique hash identifier of the cast that received the reactions. This is a 40-character hexadecimal string prefixed with '0x' that uniquely identifies the cast within the creator's posts. Must be used with target_fid.
|
|
501
|
+
* @param {ReactionType} params.reactionType
|
|
502
502
|
* @param {number} params.pageSize [optional] - Maximum number of messages to return in a single response
|
|
503
503
|
* @param {boolean} params.reverse [optional] - Reverse the sort order, returning latest messages first
|
|
504
504
|
* @param {string} params.pageToken [optional] - The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
@@ -531,13 +531,13 @@ export declare class NeynarHubClient {
|
|
|
531
531
|
pageToken?: string;
|
|
532
532
|
}): Promise<FetchCastReactions200Response>;
|
|
533
533
|
/**
|
|
534
|
-
* Fetch reactions
|
|
534
|
+
* Fetch all reactions of a specific type (like or recast) that target a given URL. This endpoint is useful for tracking engagement with content across the Farcaster network.
|
|
535
535
|
*
|
|
536
536
|
* @summary To a target URL
|
|
537
537
|
*
|
|
538
538
|
* @param {object} params
|
|
539
|
-
* @param {string} params.url -
|
|
540
|
-
* @param {ReactionType} params.reactionType
|
|
539
|
+
* @param {string} params.url - Target URL starting with 'chain://'.
|
|
540
|
+
* @param {ReactionType} params.reactionType
|
|
541
541
|
* @param {number} params.pageSize [optional] - Maximum number of messages to return in a single response
|
|
542
542
|
* @param {boolean} params.reverse [optional] - Reverse the sort order, returning latest messages first
|
|
543
543
|
* @param {string} params.pageToken [optional] - The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
@@ -574,7 +574,7 @@ export declare class NeynarHubClient {
|
|
|
574
574
|
*
|
|
575
575
|
* @param {object} params
|
|
576
576
|
* @param {number} params.fid - The FID of the reaction's creator
|
|
577
|
-
* @param {ReactionType} params.reactionType
|
|
577
|
+
* @param {ReactionType} params.reactionType
|
|
578
578
|
* @param {number} params.pageSize [optional] - Maximum number of messages to return in a single response
|
|
579
579
|
* @param {boolean} params.reverse [optional] - Reverse the sort order, returning latest messages first
|
|
580
580
|
* @param {string} params.pageToken [optional] - The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
@@ -613,7 +613,7 @@ export declare class NeynarHubClient {
|
|
|
613
613
|
* @param {number} params.fid - The FID of the reaction's creator
|
|
614
614
|
* @param {number} params.targetFid - The FID of the cast's creator
|
|
615
615
|
* @param {string} params.targetHash - The cast's hash
|
|
616
|
-
* @param {ReactionType} params.reactionType
|
|
616
|
+
* @param {ReactionType} params.reactionType
|
|
617
617
|
*
|
|
618
618
|
* @returns {Promise<Reaction>} A promise that resolves to a `Reaction` object.
|
|
619
619
|
*
|
|
@@ -147,19 +147,19 @@ const client = new NeynarHubClient(config);\n`);
|
|
|
147
147
|
return (((_a = error.response) === null || _a === void 0 ? void 0 : _a.data) !== undefined && "message" in error.response.data);
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
150
|
+
* Retrieve all reply casts (responses) to a specific parent cast in the Farcaster network. Parent casts can be identified using either a combination of FID and hash, or by their URL. This endpoint enables traversal of conversation threads and retrieval of all responses to a particular cast.
|
|
151
151
|
*
|
|
152
152
|
* @summary By parent cast
|
|
153
153
|
*
|
|
154
154
|
* @param {object} params
|
|
155
|
-
* @param {number} params.fid [optional] - The FID of the parent cast
|
|
156
|
-
* @param {string} params.hash [optional] - The parent cast's
|
|
157
|
-
* @param {string} params.url [optional]
|
|
155
|
+
* @param {number} params.fid [optional] - The Farcaster ID (FID) of the parent cast's creator. This parameter must be used together with the 'hash' parameter to uniquely identify a parent cast. Required only when using hash-based lookup instead of URL-based lookup. The FID is a unique identifier assigned to each Farcaster user.
|
|
156
|
+
* @param {string} params.hash [optional] - The unique hash identifier of the parent cast. Must be used together with the 'fid' parameter when doing hash-based lookup. This is a 40-character hexadecimal string prefixed with '0x' that uniquely identifies the cast within the creator's posts. Not required if using URL-based lookup.
|
|
157
|
+
* @param {string} params.url [optional] - Cast URL starting with 'chain://'
|
|
158
158
|
* @param {number} params.pageSize [optional] - Maximum number of messages to return in a single response
|
|
159
159
|
* @param {boolean} params.reverse [optional] - Reverse the sort order, returning latest messages first
|
|
160
160
|
* @param {string} params.pageToken [optional] - The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
161
161
|
*
|
|
162
|
-
* @returns {Promise<
|
|
162
|
+
* @returns {Promise<FetchCastsByParent200Response>} A promise that resolves to a `FetchCastsByParent200Response` object.
|
|
163
163
|
*
|
|
164
164
|
* @example
|
|
165
165
|
*
|
|
@@ -259,7 +259,7 @@ const client = new NeynarHubClient(config);\n`);
|
|
|
259
259
|
*
|
|
260
260
|
* @param {object} params
|
|
261
261
|
* @param {number} params.fid - The FID of the cast's creator
|
|
262
|
-
* @param {string} params.hash - The cast'
|
|
262
|
+
* @param {string} params.hash - The unique hash identifier of the cast. This is a 40-character hexadecimal string prefixed with '0x' that uniquely identifies a specific cast in the Farcaster network.
|
|
263
263
|
*
|
|
264
264
|
* @returns {Promise<CastAdd>} A promise that resolves to a `CastAdd` object.
|
|
265
265
|
*
|
|
@@ -376,7 +376,7 @@ const client = new NeynarHubClient(config);\n`);
|
|
|
376
376
|
* @summary Sync Methods
|
|
377
377
|
*
|
|
378
378
|
* @param {object} params
|
|
379
|
-
* @param {boolean} params.dbstats -
|
|
379
|
+
* @param {boolean} params.dbstats - Controls whether the response includes database statistics. When true, the response includes information about the hub's database state, storage usage, and performance metrics.
|
|
380
380
|
*
|
|
381
381
|
* @returns {Promise<HubInfoResponse>} A promise that resolves to a `HubInfoResponse` object.
|
|
382
382
|
*
|
|
@@ -404,8 +404,8 @@ const client = new NeynarHubClient(config);\n`);
|
|
|
404
404
|
* @summary To target FID
|
|
405
405
|
*
|
|
406
406
|
* @param {object} params
|
|
407
|
-
* @param {number} params.targetFid - The FID of the target
|
|
408
|
-
* @param {LinkType} params.linkType [optional]
|
|
407
|
+
* @param {number} params.targetFid - The FID of the target user for this link
|
|
408
|
+
* @param {LinkType} params.linkType [optional]
|
|
409
409
|
* @param {number} params.pageSize [optional] - Maximum number of messages to return in a single response
|
|
410
410
|
* @param {boolean} params.reverse [optional] - Reverse the sort order, returning latest messages first
|
|
411
411
|
* @param {string} params.pageToken [optional] - The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
@@ -441,7 +441,7 @@ const client = new NeynarHubClient(config);\n`);
|
|
|
441
441
|
*
|
|
442
442
|
* @param {object} params
|
|
443
443
|
* @param {number} params.fid - The FID of the link's originator
|
|
444
|
-
* @param {LinkType} params.linkType [optional]
|
|
444
|
+
* @param {LinkType} params.linkType [optional]
|
|
445
445
|
* @param {number} params.pageSize [optional] - Maximum number of messages to return in a single response
|
|
446
446
|
* @param {boolean} params.reverse [optional] - Reverse the sort order, returning latest messages first
|
|
447
447
|
* @param {string} params.pageToken [optional] - The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
@@ -477,8 +477,8 @@ const client = new NeynarHubClient(config);\n`);
|
|
|
477
477
|
*
|
|
478
478
|
* @param {object} params
|
|
479
479
|
* @param {number} params.fid - The FID of the link's originator
|
|
480
|
-
* @param {number} params.targetFid - The FID of the target
|
|
481
|
-
* @param {LinkType} params.linkType
|
|
480
|
+
* @param {number} params.targetFid - The FID of the target user for this link
|
|
481
|
+
* @param {LinkType} params.linkType
|
|
482
482
|
*
|
|
483
483
|
* @returns {Promise<LinkAdd>} A promise that resolves to a `LinkAdd` object.
|
|
484
484
|
*
|
|
@@ -647,14 +647,14 @@ const client = new NeynarHubClient(config);\n`);
|
|
|
647
647
|
return response.data;
|
|
648
648
|
}
|
|
649
649
|
/**
|
|
650
|
-
*
|
|
650
|
+
* Retrieve all reactions (likes or recasts) on a specific cast in the Farcaster network. The cast is identified by its creator\'s FID and unique hash. This endpoint helps track engagement metrics and user interactions with specific content.
|
|
651
651
|
*
|
|
652
652
|
* @summary On cast
|
|
653
653
|
*
|
|
654
654
|
* @param {object} params
|
|
655
|
-
* @param {number} params.targetFid - The FID of the cast's creator
|
|
656
|
-
* @param {string} params.targetHash - The hash of the cast
|
|
657
|
-
* @param {ReactionType} params.reactionType
|
|
655
|
+
* @param {number} params.targetFid - The FID of the cast's creator. Required to uniquely identify the cast that received the reactions. Must be used in conjunction with target_hash.
|
|
656
|
+
* @param {string} params.targetHash - The unique hash identifier of the cast that received the reactions. This is a 40-character hexadecimal string prefixed with '0x' that uniquely identifies the cast within the creator's posts. Must be used with target_fid.
|
|
657
|
+
* @param {ReactionType} params.reactionType
|
|
658
658
|
* @param {number} params.pageSize [optional] - Maximum number of messages to return in a single response
|
|
659
659
|
* @param {boolean} params.reverse [optional] - Reverse the sort order, returning latest messages first
|
|
660
660
|
* @param {string} params.pageToken [optional] - The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
@@ -685,13 +685,13 @@ const client = new NeynarHubClient(config);\n`);
|
|
|
685
685
|
return response.data;
|
|
686
686
|
}
|
|
687
687
|
/**
|
|
688
|
-
* Fetch reactions
|
|
688
|
+
* Fetch all reactions of a specific type (like or recast) that target a given URL. This endpoint is useful for tracking engagement with content across the Farcaster network.
|
|
689
689
|
*
|
|
690
690
|
* @summary To a target URL
|
|
691
691
|
*
|
|
692
692
|
* @param {object} params
|
|
693
|
-
* @param {string} params.url -
|
|
694
|
-
* @param {ReactionType} params.reactionType
|
|
693
|
+
* @param {string} params.url - Target URL starting with 'chain://'.
|
|
694
|
+
* @param {ReactionType} params.reactionType
|
|
695
695
|
* @param {number} params.pageSize [optional] - Maximum number of messages to return in a single response
|
|
696
696
|
* @param {boolean} params.reverse [optional] - Reverse the sort order, returning latest messages first
|
|
697
697
|
* @param {string} params.pageToken [optional] - The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
@@ -727,7 +727,7 @@ const client = new NeynarHubClient(config);\n`);
|
|
|
727
727
|
*
|
|
728
728
|
* @param {object} params
|
|
729
729
|
* @param {number} params.fid - The FID of the reaction's creator
|
|
730
|
-
* @param {ReactionType} params.reactionType
|
|
730
|
+
* @param {ReactionType} params.reactionType
|
|
731
731
|
* @param {number} params.pageSize [optional] - Maximum number of messages to return in a single response
|
|
732
732
|
* @param {boolean} params.reverse [optional] - Reverse the sort order, returning latest messages first
|
|
733
733
|
* @param {string} params.pageToken [optional] - The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
@@ -765,7 +765,7 @@ const client = new NeynarHubClient(config);\n`);
|
|
|
765
765
|
* @param {number} params.fid - The FID of the reaction's creator
|
|
766
766
|
* @param {number} params.targetFid - The FID of the cast's creator
|
|
767
767
|
* @param {string} params.targetHash - The cast's hash
|
|
768
|
-
* @param {ReactionType} params.reactionType
|
|
768
|
+
* @param {ReactionType} params.reactionType
|
|
769
769
|
*
|
|
770
770
|
* @returns {Promise<Reaction>} A promise that resolves to a `Reaction` object.
|
|
771
771
|
*
|
package/build/hub-api/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster Hub API
|
|
3
3
|
* Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1
|
|
5
|
+
* The version of the OpenAPI document: 2.7.1
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/build/hub-api/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster Hub API
|
|
6
6
|
* Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1
|
|
8
|
+
* The version of the OpenAPI document: 2.7.1
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster Hub API
|
|
3
3
|
* Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1
|
|
5
|
+
* The version of the OpenAPI document: 2.7.1
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { CastAdd } from '../models';
|
|
16
|
+
import type { FetchCastsByParent200Response } from '../models';
|
|
16
17
|
import type { FetchUsersCasts200Response } from '../models';
|
|
17
18
|
/**
|
|
18
19
|
* CastsApi - axios parameter creator
|
|
@@ -20,17 +21,17 @@ import type { FetchUsersCasts200Response } from '../models';
|
|
|
20
21
|
*/
|
|
21
22
|
export declare const CastsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
23
|
/**
|
|
23
|
-
*
|
|
24
|
+
* Retrieve all reply casts (responses) to a specific parent cast in the Farcaster network. Parent casts can be identified using either a combination of FID and hash, or by their URL. This endpoint enables traversal of conversation threads and retrieval of all responses to a particular cast.
|
|
24
25
|
* @summary By parent cast
|
|
25
|
-
* @param {number} [fid] The FID of the parent cast
|
|
26
|
-
* @param {string} [hash] The parent cast\'s
|
|
27
|
-
* @param {string} [url]
|
|
26
|
+
* @param {number} [fid] The Farcaster ID (FID) of the parent cast\'s creator. This parameter must be used together with the \'hash\' parameter to uniquely identify a parent cast. Required only when using hash-based lookup instead of URL-based lookup. The FID is a unique identifier assigned to each Farcaster user.
|
|
27
|
+
* @param {string} [hash] The unique hash identifier of the parent cast. Must be used together with the \'fid\' parameter when doing hash-based lookup. This is a 40-character hexadecimal string prefixed with \'0x\' that uniquely identifies the cast within the creator\'s posts. Not required if using URL-based lookup.
|
|
28
|
+
* @param {string} [url] Cast URL starting with \'chain://\'
|
|
28
29
|
* @param {number} [pageSize] Maximum number of messages to return in a single response
|
|
29
30
|
* @param {boolean} [reverse] Reverse the sort order, returning latest messages first
|
|
30
31
|
* @param {string} [pageToken] The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
31
32
|
* @param {*} [options] Override http request option.
|
|
32
33
|
* @throws {RequiredError}
|
|
33
|
-
* @returns {Promise<
|
|
34
|
+
* @returns {Promise<FetchCastsByParent200Response>} A promise that resolves to a `FetchCastsByParent200Response` object
|
|
34
35
|
*
|
|
35
36
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-by-parent)
|
|
36
37
|
*
|
|
@@ -70,7 +71,7 @@ export declare const CastsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
70
71
|
* Lookup a cast by its FID and hash.
|
|
71
72
|
* @summary By FID and Hash
|
|
72
73
|
* @param {number} fid The FID of the cast\'s creator
|
|
73
|
-
* @param {string} hash The cast\'
|
|
74
|
+
* @param {string} hash The unique hash identifier of the cast. This is a 40-character hexadecimal string prefixed with \'0x\' that uniquely identifies a specific cast in the Farcaster network.
|
|
74
75
|
* @param {*} [options] Override http request option.
|
|
75
76
|
* @throws {RequiredError}
|
|
76
77
|
* @returns {Promise<CastAdd>} A promise that resolves to a `CastAdd` object
|
|
@@ -86,22 +87,22 @@ export declare const CastsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
86
87
|
*/
|
|
87
88
|
export declare const CastsApiFp: (configuration?: Configuration) => {
|
|
88
89
|
/**
|
|
89
|
-
*
|
|
90
|
+
* Retrieve all reply casts (responses) to a specific parent cast in the Farcaster network. Parent casts can be identified using either a combination of FID and hash, or by their URL. This endpoint enables traversal of conversation threads and retrieval of all responses to a particular cast.
|
|
90
91
|
* @summary By parent cast
|
|
91
|
-
* @param {number} [fid] The FID of the parent cast
|
|
92
|
-
* @param {string} [hash] The parent cast\'s
|
|
93
|
-
* @param {string} [url]
|
|
92
|
+
* @param {number} [fid] The Farcaster ID (FID) of the parent cast\'s creator. This parameter must be used together with the \'hash\' parameter to uniquely identify a parent cast. Required only when using hash-based lookup instead of URL-based lookup. The FID is a unique identifier assigned to each Farcaster user.
|
|
93
|
+
* @param {string} [hash] The unique hash identifier of the parent cast. Must be used together with the \'fid\' parameter when doing hash-based lookup. This is a 40-character hexadecimal string prefixed with \'0x\' that uniquely identifies the cast within the creator\'s posts. Not required if using URL-based lookup.
|
|
94
|
+
* @param {string} [url] Cast URL starting with \'chain://\'
|
|
94
95
|
* @param {number} [pageSize] Maximum number of messages to return in a single response
|
|
95
96
|
* @param {boolean} [reverse] Reverse the sort order, returning latest messages first
|
|
96
97
|
* @param {string} [pageToken] The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
97
98
|
* @param {*} [options] Override http request option.
|
|
98
99
|
* @throws {RequiredError}
|
|
99
|
-
* @returns {Promise<
|
|
100
|
+
* @returns {Promise<FetchCastsByParent200Response>} A promise that resolves to a `FetchCastsByParent200Response` object
|
|
100
101
|
*
|
|
101
102
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-by-parent)
|
|
102
103
|
*
|
|
103
104
|
*/
|
|
104
|
-
fetchCastsByParent(fid?: number, hash?: string, url?: string, pageSize?: number, reverse?: boolean, pageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
105
|
+
fetchCastsByParent(fid?: number, hash?: string, url?: string, pageSize?: number, reverse?: boolean, pageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FetchCastsByParent200Response>>;
|
|
105
106
|
/**
|
|
106
107
|
* Fetch casts mentioning a user.
|
|
107
108
|
* @summary Mentioning an FID
|
|
@@ -136,7 +137,7 @@ export declare const CastsApiFp: (configuration?: Configuration) => {
|
|
|
136
137
|
* Lookup a cast by its FID and hash.
|
|
137
138
|
* @summary By FID and Hash
|
|
138
139
|
* @param {number} fid The FID of the cast\'s creator
|
|
139
|
-
* @param {string} hash The cast\'
|
|
140
|
+
* @param {string} hash The unique hash identifier of the cast. This is a 40-character hexadecimal string prefixed with \'0x\' that uniquely identifies a specific cast in the Farcaster network.
|
|
140
141
|
* @param {*} [options] Override http request option.
|
|
141
142
|
* @throws {RequiredError}
|
|
142
143
|
* @returns {Promise<CastAdd>} A promise that resolves to a `CastAdd` object
|
|
@@ -152,17 +153,17 @@ export declare const CastsApiFp: (configuration?: Configuration) => {
|
|
|
152
153
|
*/
|
|
153
154
|
export declare const CastsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
154
155
|
/**
|
|
155
|
-
*
|
|
156
|
+
* Retrieve all reply casts (responses) to a specific parent cast in the Farcaster network. Parent casts can be identified using either a combination of FID and hash, or by their URL. This endpoint enables traversal of conversation threads and retrieval of all responses to a particular cast.
|
|
156
157
|
* @summary By parent cast
|
|
157
158
|
* @param {CastsApiFetchCastsByParentRequest} requestParameters Request parameters.
|
|
158
159
|
* @param {*} [options] Override http request option.
|
|
159
160
|
* @throws {RequiredError}
|
|
160
|
-
* @returns {Promise<
|
|
161
|
+
* @returns {Promise<FetchCastsByParent200Response>} A promise that resolves to a `FetchCastsByParent200Response` object
|
|
161
162
|
*
|
|
162
163
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-by-parent)
|
|
163
164
|
*
|
|
164
165
|
*/
|
|
165
|
-
fetchCastsByParent(requestParameters?: CastsApiFetchCastsByParentRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
166
|
+
fetchCastsByParent(requestParameters?: CastsApiFetchCastsByParentRequest, options?: RawAxiosRequestConfig): AxiosPromise<FetchCastsByParent200Response>;
|
|
166
167
|
/**
|
|
167
168
|
* Fetch casts mentioning a user.
|
|
168
169
|
* @summary Mentioning an FID
|
|
@@ -207,18 +208,18 @@ export declare const CastsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
207
208
|
*/
|
|
208
209
|
export interface CastsApiInterface {
|
|
209
210
|
/**
|
|
210
|
-
*
|
|
211
|
+
* Retrieve all reply casts (responses) to a specific parent cast in the Farcaster network. Parent casts can be identified using either a combination of FID and hash, or by their URL. This endpoint enables traversal of conversation threads and retrieval of all responses to a particular cast.
|
|
211
212
|
* @summary By parent cast
|
|
212
213
|
* @param {CastsApiFetchCastsByParentRequest} requestParameters Request parameters.
|
|
213
214
|
* @param {*} [options] Override http request option.
|
|
214
215
|
* @throws {RequiredError}
|
|
215
216
|
* @memberof CastsApiInterface
|
|
216
|
-
* @returns {Promise<
|
|
217
|
+
* @returns {Promise<FetchCastsByParent200Response>} A promise that resolves to a `FetchCastsByParent200Response` object
|
|
217
218
|
*
|
|
218
219
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-by-parent)
|
|
219
220
|
*
|
|
220
221
|
*/
|
|
221
|
-
fetchCastsByParent(requestParameters?: CastsApiFetchCastsByParentRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
222
|
+
fetchCastsByParent(requestParameters?: CastsApiFetchCastsByParentRequest, options?: RawAxiosRequestConfig): AxiosPromise<FetchCastsByParent200Response>;
|
|
222
223
|
/**
|
|
223
224
|
* Fetch casts mentioning a user.
|
|
224
225
|
* @summary Mentioning an FID
|
|
@@ -266,7 +267,7 @@ export interface CastsApiInterface {
|
|
|
266
267
|
*/
|
|
267
268
|
export interface CastsApiFetchCastsByParentRequest {
|
|
268
269
|
/**
|
|
269
|
-
* The FID of the parent cast
|
|
270
|
+
* The Farcaster ID (FID) of the parent cast\'s creator. This parameter must be used together with the \'hash\' parameter to uniquely identify a parent cast. Required only when using hash-based lookup instead of URL-based lookup. The FID is a unique identifier assigned to each Farcaster user.
|
|
270
271
|
*
|
|
271
272
|
*
|
|
272
273
|
*
|
|
@@ -275,7 +276,7 @@ export interface CastsApiFetchCastsByParentRequest {
|
|
|
275
276
|
*/
|
|
276
277
|
readonly fid?: number;
|
|
277
278
|
/**
|
|
278
|
-
* The parent cast\'s
|
|
279
|
+
* The unique hash identifier of the parent cast. Must be used together with the \'fid\' parameter when doing hash-based lookup. This is a 40-character hexadecimal string prefixed with \'0x\' that uniquely identifies the cast within the creator\'s posts. Not required if using URL-based lookup.
|
|
279
280
|
*
|
|
280
281
|
*
|
|
281
282
|
*
|
|
@@ -284,7 +285,7 @@ export interface CastsApiFetchCastsByParentRequest {
|
|
|
284
285
|
*/
|
|
285
286
|
readonly hash?: string;
|
|
286
287
|
/**
|
|
287
|
-
*
|
|
288
|
+
* Cast URL starting with \'chain://\'
|
|
288
289
|
*
|
|
289
290
|
*
|
|
290
291
|
*
|
|
@@ -422,7 +423,7 @@ export interface CastsApiLookupCastByHashAndFidRequest {
|
|
|
422
423
|
*/
|
|
423
424
|
readonly fid: number;
|
|
424
425
|
/**
|
|
425
|
-
* The cast\'
|
|
426
|
+
* The unique hash identifier of the cast. This is a 40-character hexadecimal string prefixed with \'0x\' that uniquely identifies a specific cast in the Farcaster network.
|
|
426
427
|
*
|
|
427
428
|
*
|
|
428
429
|
*
|
|
@@ -439,18 +440,18 @@ export interface CastsApiLookupCastByHashAndFidRequest {
|
|
|
439
440
|
*/
|
|
440
441
|
export declare class CastsApi extends BaseAPI implements CastsApiInterface {
|
|
441
442
|
/**
|
|
442
|
-
*
|
|
443
|
+
* Retrieve all reply casts (responses) to a specific parent cast in the Farcaster network. Parent casts can be identified using either a combination of FID and hash, or by their URL. This endpoint enables traversal of conversation threads and retrieval of all responses to a particular cast.
|
|
443
444
|
* @summary By parent cast
|
|
444
445
|
* @param {CastsApiFetchCastsByParentRequest} requestParameters Request parameters.
|
|
445
446
|
* @param {*} [options] Override http request option.
|
|
446
447
|
* @throws {RequiredError}
|
|
447
448
|
* @memberof CastsApi
|
|
448
|
-
* @returns {Promise<
|
|
449
|
+
* @returns {Promise<FetchCastsByParent200Response>} A promise that resolves to a `FetchCastsByParent200Response` object
|
|
449
450
|
*
|
|
450
451
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-by-parent)
|
|
451
452
|
*
|
|
452
453
|
*/
|
|
453
|
-
fetchCastsByParent(requestParameters?: CastsApiFetchCastsByParentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
454
|
+
fetchCastsByParent(requestParameters?: CastsApiFetchCastsByParentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FetchCastsByParent200Response, any>>;
|
|
454
455
|
/**
|
|
455
456
|
* Fetch casts mentioning a user.
|
|
456
457
|
* @summary Mentioning an FID
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster Hub API
|
|
6
6
|
* Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1
|
|
8
|
+
* The version of the OpenAPI document: 2.7.1
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,17 +30,17 @@ const base_1 = require("../base");
|
|
|
30
30
|
const CastsApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Retrieve all reply casts (responses) to a specific parent cast in the Farcaster network. Parent casts can be identified using either a combination of FID and hash, or by their URL. This endpoint enables traversal of conversation threads and retrieval of all responses to a particular cast.
|
|
34
34
|
* @summary By parent cast
|
|
35
|
-
* @param {number} [fid] The FID of the parent cast
|
|
36
|
-
* @param {string} [hash] The parent cast\'s
|
|
37
|
-
* @param {string} [url]
|
|
35
|
+
* @param {number} [fid] The Farcaster ID (FID) of the parent cast\'s creator. This parameter must be used together with the \'hash\' parameter to uniquely identify a parent cast. Required only when using hash-based lookup instead of URL-based lookup. The FID is a unique identifier assigned to each Farcaster user.
|
|
36
|
+
* @param {string} [hash] The unique hash identifier of the parent cast. Must be used together with the \'fid\' parameter when doing hash-based lookup. This is a 40-character hexadecimal string prefixed with \'0x\' that uniquely identifies the cast within the creator\'s posts. Not required if using URL-based lookup.
|
|
37
|
+
* @param {string} [url] Cast URL starting with \'chain://\'
|
|
38
38
|
* @param {number} [pageSize] Maximum number of messages to return in a single response
|
|
39
39
|
* @param {boolean} [reverse] Reverse the sort order, returning latest messages first
|
|
40
40
|
* @param {string} [pageToken] The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
42
42
|
* @throws {RequiredError}
|
|
43
|
-
* @returns {Promise<
|
|
43
|
+
* @returns {Promise<FetchCastsByParent200Response>} A promise that resolves to a `FetchCastsByParent200Response` object
|
|
44
44
|
*
|
|
45
45
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-by-parent)
|
|
46
46
|
*
|
|
@@ -186,7 +186,7 @@ const CastsApiAxiosParamCreator = function (configuration) {
|
|
|
186
186
|
* Lookup a cast by its FID and hash.
|
|
187
187
|
* @summary By FID and Hash
|
|
188
188
|
* @param {number} fid The FID of the cast\'s creator
|
|
189
|
-
* @param {string} hash The cast\'
|
|
189
|
+
* @param {string} hash The unique hash identifier of the cast. This is a 40-character hexadecimal string prefixed with \'0x\' that uniquely identifies a specific cast in the Farcaster network.
|
|
190
190
|
* @param {*} [options] Override http request option.
|
|
191
191
|
* @throws {RequiredError}
|
|
192
192
|
* @returns {Promise<CastAdd>} A promise that resolves to a `CastAdd` object
|
|
@@ -236,17 +236,17 @@ const CastsApiFp = function (configuration) {
|
|
|
236
236
|
const localVarAxiosParamCreator = (0, exports.CastsApiAxiosParamCreator)(configuration);
|
|
237
237
|
return {
|
|
238
238
|
/**
|
|
239
|
-
*
|
|
239
|
+
* Retrieve all reply casts (responses) to a specific parent cast in the Farcaster network. Parent casts can be identified using either a combination of FID and hash, or by their URL. This endpoint enables traversal of conversation threads and retrieval of all responses to a particular cast.
|
|
240
240
|
* @summary By parent cast
|
|
241
|
-
* @param {number} [fid] The FID of the parent cast
|
|
242
|
-
* @param {string} [hash] The parent cast\'s
|
|
243
|
-
* @param {string} [url]
|
|
241
|
+
* @param {number} [fid] The Farcaster ID (FID) of the parent cast\'s creator. This parameter must be used together with the \'hash\' parameter to uniquely identify a parent cast. Required only when using hash-based lookup instead of URL-based lookup. The FID is a unique identifier assigned to each Farcaster user.
|
|
242
|
+
* @param {string} [hash] The unique hash identifier of the parent cast. Must be used together with the \'fid\' parameter when doing hash-based lookup. This is a 40-character hexadecimal string prefixed with \'0x\' that uniquely identifies the cast within the creator\'s posts. Not required if using URL-based lookup.
|
|
243
|
+
* @param {string} [url] Cast URL starting with \'chain://\'
|
|
244
244
|
* @param {number} [pageSize] Maximum number of messages to return in a single response
|
|
245
245
|
* @param {boolean} [reverse] Reverse the sort order, returning latest messages first
|
|
246
246
|
* @param {string} [pageToken] The page token returned by the previous query, to fetch the next page. If this parameter is empty, fetch the first page
|
|
247
247
|
* @param {*} [options] Override http request option.
|
|
248
248
|
* @throws {RequiredError}
|
|
249
|
-
* @returns {Promise<
|
|
249
|
+
* @returns {Promise<FetchCastsByParent200Response>} A promise that resolves to a `FetchCastsByParent200Response` object
|
|
250
250
|
*
|
|
251
251
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-by-parent)
|
|
252
252
|
*
|
|
@@ -304,7 +304,7 @@ const CastsApiFp = function (configuration) {
|
|
|
304
304
|
* Lookup a cast by its FID and hash.
|
|
305
305
|
* @summary By FID and Hash
|
|
306
306
|
* @param {number} fid The FID of the cast\'s creator
|
|
307
|
-
* @param {string} hash The cast\'
|
|
307
|
+
* @param {string} hash The unique hash identifier of the cast. This is a 40-character hexadecimal string prefixed with \'0x\' that uniquely identifies a specific cast in the Farcaster network.
|
|
308
308
|
* @param {*} [options] Override http request option.
|
|
309
309
|
* @throws {RequiredError}
|
|
310
310
|
* @returns {Promise<CastAdd>} A promise that resolves to a `CastAdd` object
|
|
@@ -330,12 +330,12 @@ const CastsApiFactory = function (configuration, basePath, axios) {
|
|
|
330
330
|
const localVarFp = (0, exports.CastsApiFp)(configuration);
|
|
331
331
|
return {
|
|
332
332
|
/**
|
|
333
|
-
*
|
|
333
|
+
* Retrieve all reply casts (responses) to a specific parent cast in the Farcaster network. Parent casts can be identified using either a combination of FID and hash, or by their URL. This endpoint enables traversal of conversation threads and retrieval of all responses to a particular cast.
|
|
334
334
|
* @summary By parent cast
|
|
335
335
|
* @param {CastsApiFetchCastsByParentRequest} requestParameters Request parameters.
|
|
336
336
|
* @param {*} [options] Override http request option.
|
|
337
337
|
* @throws {RequiredError}
|
|
338
|
-
* @returns {Promise<
|
|
338
|
+
* @returns {Promise<FetchCastsByParent200Response>} A promise that resolves to a `FetchCastsByParent200Response` object
|
|
339
339
|
*
|
|
340
340
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-by-parent)
|
|
341
341
|
*
|
|
@@ -396,13 +396,13 @@ exports.CastsApiFactory = CastsApiFactory;
|
|
|
396
396
|
*/
|
|
397
397
|
class CastsApi extends base_1.BaseAPI {
|
|
398
398
|
/**
|
|
399
|
-
*
|
|
399
|
+
* Retrieve all reply casts (responses) to a specific parent cast in the Farcaster network. Parent casts can be identified using either a combination of FID and hash, or by their URL. This endpoint enables traversal of conversation threads and retrieval of all responses to a particular cast.
|
|
400
400
|
* @summary By parent cast
|
|
401
401
|
* @param {CastsApiFetchCastsByParentRequest} requestParameters Request parameters.
|
|
402
402
|
* @param {*} [options] Override http request option.
|
|
403
403
|
* @throws {RequiredError}
|
|
404
404
|
* @memberof CastsApi
|
|
405
|
-
* @returns {Promise<
|
|
405
|
+
* @returns {Promise<FetchCastsByParent200Response>} A promise that resolves to a `FetchCastsByParent200Response` object
|
|
406
406
|
*
|
|
407
407
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-casts-by-parent)
|
|
408
408
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster Hub API
|
|
3
3
|
* Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1
|
|
5
|
+
* The version of the OpenAPI document: 2.7.1
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster Hub API
|
|
6
6
|
* Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1
|
|
8
|
+
* The version of the OpenAPI document: 2.7.1
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Farcaster Hub API
|
|
3
3
|
* Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1
|
|
5
|
+
* The version of the OpenAPI document: 2.7.1
|
|
6
6
|
* Contact: team@neynar.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Farcaster Hub API
|
|
6
6
|
* Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1
|
|
8
|
+
* The version of the OpenAPI document: 2.7.1
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|