@neynar/nodejs-sdk 2.43.2 → 2.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/api.d.ts +2 -1
- package/build/api/api.js +2 -1
- package/build/api/apis/action-api.d.ts +1 -1
- package/build/api/apis/action-api.js +1 -1
- package/build/api/apis/agents-api.d.ts +6 -6
- package/build/api/apis/agents-api.js +5 -5
- package/build/api/apis/app-host-api.d.ts +278 -0
- package/build/api/apis/app-host-api.js +304 -0
- package/build/api/apis/ban-api.d.ts +1 -1
- package/build/api/apis/ban-api.js +1 -1
- package/build/api/apis/block-api.d.ts +1 -1
- package/build/api/apis/block-api.js +1 -1
- package/build/api/apis/cast-api.d.ts +11 -11
- package/build/api/apis/cast-api.js +9 -9
- 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 +92 -1
- package/build/api/apis/frame-api.js +85 -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 +7 -5
- package/build/api/apis/metrics-api.js +6 -4
- 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 +13 -12
- package/build/api/apis/onchain-api.js +7 -7
- 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/app-host-event-type.d.ts +23 -0
- package/build/api/models/app-host-event-type.js +27 -0
- package/build/api/models/app-host-get-event-response-notification-details.d.ts +30 -0
- package/build/api/models/app-host-get-event-response-notification-details.js +15 -0
- package/build/api/models/app-host-get-event-response.d.ts +31 -0
- package/build/api/models/app-host-get-event-response.js +15 -0
- package/build/api/models/app-host-post-event-body-one-of.d.ts +30 -0
- package/build/api/models/app-host-post-event-body-one-of.js +15 -0
- package/build/api/models/app-host-post-event-body-one-of1.d.ts +43 -0
- package/build/api/models/app-host-post-event-body-one-of1.js +15 -0
- package/build/api/models/app-host-post-event-body.d.ts +19 -0
- package/build/api/models/app-host-post-event-body.js +15 -0
- package/build/api/models/app-host-post-event-response.d.ts +30 -0
- package/build/api/models/app-host-post-event-response.js +15 -0
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +36 -0
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.js +15 -0
- package/build/api/models/app-host-user-state-response.d.ts +25 -0
- package/build/api/models/app-host-user-state-response.js +15 -0
- package/build/api/models/authorization-url-response-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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +1 -1
- package/build/api/models/casts-metrics-response.js +1 -1
- package/build/api/models/casts-metrics.d.ts +1 -1
- package/build/api/models/casts-metrics.js +1 -1
- package/build/api/models/casts-response-result.d.ts +1 -1
- package/build/api/models/casts-response-result.js +1 -1
- package/build/api/models/casts-response.d.ts +1 -1
- package/build/api/models/casts-response.js +1 -1
- package/build/api/models/casts-search-response-result.d.ts +1 -1
- package/build/api/models/casts-search-response-result.js +1 -1
- package/build/api/models/casts-search-response.d.ts +1 -1
- package/build/api/models/casts-search-response.js +1 -1
- package/build/api/models/channel-activity.d.ts +1 -1
- package/build/api/models/channel-activity.js +1 -1
- package/build/api/models/channel-dehydrated.d.ts +1 -1
- package/build/api/models/channel-dehydrated.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-channel-dehydrated.d.ts +1 -1
- package/build/api/models/channel-or-channel-dehydrated.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/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-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 +2 -2
- 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-image.d.ts +1 -1
- package/build/api/models/embed-url-metadata-image.js +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.js +1 -1
- package/build/api/models/embed-url-metadata-video.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video.js +1 -1
- package/build/api/models/embed-url-metadata.d.ts +1 -1
- package/build/api/models/embed-url-metadata.js +1 -1
- package/build/api/models/embed-url.d.ts +1 -1
- package/build/api/models/embed-url.js +1 -1
- package/build/api/models/embed.d.ts +1 -1
- package/build/api/models/embed.js +1 -1
- package/build/api/models/error-res.d.ts +1 -1
- package/build/api/models/error-res.js +1 -1
- package/build/api/models/farcaster-action-req-body-action.d.ts +1 -1
- package/build/api/models/farcaster-action-req-body-action.js +1 -1
- package/build/api/models/farcaster-action-req-body.d.ts +1 -1
- package/build/api/models/farcaster-action-req-body.js +1 -1
- package/build/api/models/farcaster-manifest-account-association.d.ts +1 -1
- package/build/api/models/farcaster-manifest-account-association.js +1 -1
- package/build/api/models/farcaster-manifest-frame.d.ts +1 -1
- package/build/api/models/farcaster-manifest-frame.js +1 -1
- package/build/api/models/farcaster-manifest.d.ts +1 -1
- package/build/api/models/farcaster-manifest.js +1 -1
- package/build/api/models/feed-response.d.ts +1 -1
- package/build/api/models/feed-response.js +1 -1
- package/build/api/models/feed-trending-provider.d.ts +1 -1
- package/build/api/models/feed-trending-provider.js +1 -1
- package/build/api/models/feed-type.d.ts +1 -1
- package/build/api/models/feed-type.js +1 -1
- package/build/api/models/fetch-feed-for-you400-response.d.ts +1 -1
- package/build/api/models/fetch-feed-for-you400-response.js +1 -1
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.d.ts +1 -1
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +1 -1
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.d.ts +1 -1
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.js +1 -1
- package/build/api/models/fetch-relevant-frames200-response.d.ts +1 -1
- package/build/api/models/fetch-relevant-frames200-response.js +1 -1
- package/build/api/models/fetch-user-interactions200-response.d.ts +1 -1
- package/build/api/models/fetch-user-interactions200-response.js +1 -1
- package/build/api/models/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 +2 -2
- 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/follower-dehydrated.d.ts +1 -1
- package/build/api/models/follower-dehydrated.js +1 -1
- package/build/api/models/follower.d.ts +1 -1
- package/build/api/models/follower.js +1 -1
- package/build/api/models/followers-response.d.ts +1 -1
- package/build/api/models/followers-response.js +1 -1
- package/build/api/models/for-you-provider.d.ts +1 -1
- package/build/api/models/for-you-provider.js +1 -1
- package/build/api/models/frame-action-button.d.ts +1 -1
- package/build/api/models/frame-action-button.js +1 -1
- package/build/api/models/frame-action-req-body.d.ts +1 -1
- package/build/api/models/frame-action-req-body.js +1 -1
- package/build/api/models/frame-action.d.ts +1 -1
- package/build/api/models/frame-action.js +1 -1
- package/build/api/models/frame-base.d.ts +1 -1
- package/build/api/models/frame-base.js +1 -1
- package/build/api/models/frame-button-action-type.d.ts +1 -1
- package/build/api/models/frame-button-action-type.js +1 -1
- package/build/api/models/frame-catalog-response.d.ts +1 -1
- package/build/api/models/frame-catalog-response.js +1 -1
- package/build/api/models/frame-developer-managed-action-req-body.d.ts +1 -1
- package/build/api/models/frame-developer-managed-action-req-body.js +1 -1
- package/build/api/models/frame-input.d.ts +1 -1
- package/build/api/models/frame-input.js +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +2 -2
- 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-pay-transaction-request-body.d.ts +1 -1
- package/build/api/models/frame-pay-transaction-request-body.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 +2 -2
- package/build/api/models/frame-signature-packet-untrusted-data.js +1 -1
- package/build/api/models/frame-signature-packet.d.ts +1 -1
- package/build/api/models/frame-signature-packet.js +1 -1
- package/build/api/models/frame-state.d.ts +1 -1
- package/build/api/models/frame-state.js +1 -1
- package/build/api/models/frame-transaction.d.ts +1 -1
- package/build/api/models/frame-transaction.js +1 -1
- package/build/api/models/frame-type.d.ts +1 -1
- package/build/api/models/frame-type.js +1 -1
- package/build/api/models/frame-v1-all-of-input.d.ts +1 -1
- package/build/api/models/frame-v1-all-of-input.js +1 -1
- package/build/api/models/frame-v1-all-of-state.d.ts +1 -1
- package/build/api/models/frame-v1-all-of-state.js +1 -1
- package/build/api/models/frame-v1-all-of.d.ts +1 -1
- package/build/api/models/frame-v1-all-of.js +1 -1
- package/build/api/models/frame-v1.d.ts +1 -1
- package/build/api/models/frame-v1.js +1 -1
- package/build/api/models/frame-v2-all-of-metadata.d.ts +1 -1
- package/build/api/models/frame-v2-all-of-metadata.js +1 -1
- package/build/api/models/frame-v2-all-of.d.ts +1 -1
- package/build/api/models/frame-v2-all-of.js +1 -1
- package/build/api/models/frame-v2-with-full-author-all-of.d.ts +1 -1
- package/build/api/models/frame-v2-with-full-author-all-of.js +1 -1
- package/build/api/models/frame-v2-with-full-author.d.ts +1 -1
- package/build/api/models/frame-v2-with-full-author.js +1 -1
- package/build/api/models/frame-v2.d.ts +1 -1
- package/build/api/models/frame-v2.js +1 -1
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +2 -2
- 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 +2 -2
- 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/fungible-owner-relevant-network.d.ts +24 -0
- package/build/api/models/fungible-owner-relevant-network.js +28 -0
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.d.ts +72 -0
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.js +15 -0
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.d.ts +49 -0
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.js +15 -0
- package/build/api/models/get-notification-campaign-stats200-response.d.ts +32 -0
- package/build/api/models/get-notification-campaign-stats200-response.js +15 -0
- package/build/api/models/html-metadata-all-of-oembed.d.ts +1 -1
- package/build/api/models/html-metadata-all-of-oembed.js +1 -1
- package/build/api/models/html-metadata-all-of.d.ts +1 -1
- package/build/api/models/html-metadata-all-of.js +1 -1
- package/build/api/models/html-metadata.d.ts +1 -1
- package/build/api/models/html-metadata.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 +13 -0
- package/build/api/models/index.js +13 -0
- package/build/api/models/invite-channel-member-req-body.d.ts +2 -2
- 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/mini-app-time-window.d.ts +1 -1
- package/build/api/models/mini-app-time-window.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 +3 -3
- 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/network.d.ts +1 -1
- package/build/api/models/network.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 +8 -2
- 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 +2 -2
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-one-of.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-one-of.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-one-of1.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-one-of1.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-one-of2.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-one-of2.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 +2 -2
- package/build/api/models/post-cast-req-body.js +1 -1
- package/build/api/models/post-cast-response-cast-author.d.ts +2 -2
- package/build/api/models/post-cast-response-cast-author.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 +2 -2
- package/build/api/models/reaction-like.js +1 -1
- package/build/api/models/reaction-recast.d.ts +2 -2
- package/build/api/models/reaction-recast.js +1 -1
- package/build/api/models/reaction-req-body.d.ts +2 -2
- 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 +2 -2
- 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 +2 -2
- package/build/api/models/register-signer-key-req-body.js +1 -1
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.d.ts +1 -1
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.js +1 -1
- package/build/api/models/register-user-on-chain-req-body-registration.d.ts +1 -1
- package/build/api/models/register-user-on-chain-req-body-registration.js +1 -1
- package/build/api/models/register-user-on-chain-req-body-signers-inner.d.ts +1 -1
- package/build/api/models/register-user-on-chain-req-body-signers-inner.js +1 -1
- package/build/api/models/register-user-on-chain-req-body.d.ts +1 -1
- package/build/api/models/register-user-on-chain-req-body.js +1 -1
- package/build/api/models/register-user-on-chain-response.d.ts +1 -1
- package/build/api/models/register-user-on-chain-response.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 +3 -3
- package/build/api/models/relevant-fungible-owners-response.js +1 -1
- package/build/api/models/remove-channel-member-req-body.d.ts +2 -2
- 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/search-sort-type.d.ts +1 -1
- package/build/api/models/search-sort-type.js +1 -1
- package/build/api/models/searched-user.d.ts +2 -2
- package/build/api/models/searched-user.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-filters.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body-filters.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 +2 -2
- 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 +2 -2
- 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/text-range.d.ts +1 -1
- package/build/api/models/text-range.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/transaction-frame-action.d.ts +1 -1
- package/build/api/models/transaction-frame-action.js +1 -1
- package/build/api/models/transaction-frame-base.d.ts +1 -1
- package/build/api/models/transaction-frame-base.js +1 -1
- package/build/api/models/transaction-frame-config.d.ts +1 -1
- package/build/api/models/transaction-frame-config.js +1 -1
- package/build/api/models/transaction-frame-destination.d.ts +1 -1
- package/build/api/models/transaction-frame-destination.js +1 -1
- package/build/api/models/transaction-frame-line-item.d.ts +1 -1
- package/build/api/models/transaction-frame-line-item.js +1 -1
- package/build/api/models/transaction-frame-pay-all-of-transaction.d.ts +1 -1
- package/build/api/models/transaction-frame-pay-all-of-transaction.js +1 -1
- package/build/api/models/transaction-frame-pay-all-of.d.ts +1 -1
- package/build/api/models/transaction-frame-pay-all-of.js +1 -1
- package/build/api/models/transaction-frame-pay.d.ts +1 -1
- package/build/api/models/transaction-frame-pay.js +1 -1
- package/build/api/models/transaction-frame-response.d.ts +1 -1
- package/build/api/models/transaction-frame-response.js +1 -1
- package/build/api/models/transaction-frame-status.d.ts +1 -1
- package/build/api/models/transaction-frame-status.js +1 -1
- package/build/api/models/transaction-frame-type.d.ts +1 -1
- package/build/api/models/transaction-frame-type.js +1 -1
- package/build/api/models/transaction-frame.d.ts +1 -1
- package/build/api/models/transaction-frame.js +1 -1
- package/build/api/models/transaction-send-fungibles-receipt.d.ts +2 -2
- package/build/api/models/transaction-send-fungibles-receipt.js +1 -1
- package/build/api/models/transaction-send-fungibles-recipient.d.ts +2 -2
- package/build/api/models/transaction-send-fungibles-recipient.js +1 -1
- package/build/api/models/transaction-send-fungibles-request.d.ts +1 -1
- package/build/api/models/transaction-send-fungibles-request.js +1 -1
- package/build/api/models/transaction-send-fungibles-response.d.ts +1 -1
- package/build/api/models/transaction-send-fungibles-response.js +1 -1
- package/build/api/models/transaction-send-tx-info.d.ts +1 -1
- package/build/api/models/transaction-send-tx-info.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 +2 -2
- 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-primary.d.ts +1 -1
- package/build/api/models/user-verified-addresses-primary.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 +2 -2
- 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 +120 -21
- package/build/clients/NeynarAPIClient.js +128 -19
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { Logger } from "../common/logger";
|
|
|
2
2
|
import { AxiosError, AxiosInstance } from "axios";
|
|
3
3
|
import type { SetRequired } from "type-fest";
|
|
4
4
|
import { Configuration } from './configuration';
|
|
5
|
-
import type { AuthorizationUrlResponse, AuthorizationUrlResponseType, BalanceResponse, BanListResponse, BanResponse, BlockListResponse, BulkCastsResponse, BulkFollowResponse, BulkUserAddressType, BulkUsersByAddressResponse, BulkUsersResponse, CastComposerActionsListResponse, CastComposerType, CastConversationSortType, CastEmbedCrawlResponse, CastParamType, CastResponse, CastsMetricsResponse, CastsResponse, CastsSearchResponse, ChannelListResponse, ChannelMemberInviteListResponse, ChannelMemberListResponse, ChannelMemberRole, ChannelResponse, ChannelResponseBulk, ChannelSearchResponse, ChannelType, Conversation, ConversationSummary, DeleteFrameResponse, DeployFungibleFactoryEnum, DeployFungibleMetadataNsfwEnum, DeployFungibleNetworkEnum, DeployFungibleResponse, DeveloperManagedSigner, EmbedType, ErrorRes, FarcasterActionReqBodyAction, FeedResponse, FeedTrendingProvider, FeedType, FetchBulkCastsSortTypeEnum, FetchCastMetricsIntervalEnum, FetchFrameCatalogCategoriesEnum, FetchFrameMetaTagsFromUrl200Response, FetchRelevantFrames200Response, FetchRepliesAndRecastsForUserFilterEnum, FetchTrendingChannelsTimeWindowEnum, FetchTrendingFeedTimeWindowEnum, FetchUserInteractions200Response, FilterType, FnameAvailabilityResponse, FollowSortType, FollowersResponse, ForYouProvider, Frame, FrameAction, FrameCatalogResponse, FrameNotificationTokens, FramePayTransactionRequestBody, FrameSignaturePacket, FrameType, FrameValidateAnalyticsResponse, FrameValidateListResponse, LookupCastConversationFoldEnum, MiniAppTimeWindow, MuteListResponse, MuteResponse, Network, NeynarFrame, NeynarFramePage, NonceResponse, NotificationType, NotificationsResponse, OperationResponse, PostCastReqBodyEmbeds, PostCastResponse, ReactionType, ReactionsCastResponse, ReactionsResponse, ReactionsType, RegisterUserOnChainReqBodyPreRegistrationCallsInner, RegisterUserOnChainReqBodyRegistration, RegisterUserOnChainReqBodySignersInner, RegisterUserOnChainResponse, RegisterUserReqBodyMetadata, RegisterUserResponse, RelevantFollowersResponse, RelevantFungibleOwnersResponse, SearchCastsModeEnum, SearchSortType, SendFrameNotificationsReqBodyFilters, SendFrameNotificationsReqBodyNotification, SendFrameNotificationsResponse, SignedKeyRequestSponsor, Signer, SignerListResponse, StorageAllocationsResponse, StorageUsageResponse, SubscribedToResponse, SubscribersResponse, SubscriptionCheckResponse, SubscriptionProvider, SubscriptionProviders, SubscriptionsResponse, TransactionFrameResponse, TransactionSendFungiblesRequest, TransactionSendFungiblesResponse, TrendingChannelResponse, UpdateUserReqBodyLocation, UpdateUserReqBodyVerifiedAccounts, UserFIDResponse, UserPowerLiteResponse, UserResponse, UserSearchResponse, UsersActiveChannelsResponse, UsersResponse, ValidateFrameActionResponse, ValidateFrameAggregateWindow, ValidateFrameAnalyticsType, VerificationChainId, VerificationType, WebhookListResponse, WebhookPatchReqBodyActiveEnum, WebhookResponse, WebhookSubscriptionFilters } from '../api';
|
|
5
|
+
import type { AppHostEventType, AppHostGetEventResponse, AppHostPostEventBody, AppHostPostEventResponse, AppHostUserStateResponse, AuthorizationUrlResponse, AuthorizationUrlResponseType, BalanceResponse, BanListResponse, BanResponse, BlockListResponse, BulkCastsResponse, BulkFollowResponse, BulkUserAddressType, BulkUsersByAddressResponse, BulkUsersResponse, CastComposerActionsListResponse, CastComposerType, CastConversationSortType, CastEmbedCrawlResponse, CastParamType, CastResponse, CastsMetricsResponse, CastsResponse, CastsSearchResponse, ChannelListResponse, ChannelMemberInviteListResponse, ChannelMemberListResponse, ChannelMemberRole, ChannelResponse, ChannelResponseBulk, ChannelSearchResponse, ChannelType, Conversation, ConversationSummary, DeleteFrameResponse, DeployFungibleFactoryEnum, DeployFungibleMetadataNsfwEnum, DeployFungibleNetworkEnum, DeployFungibleResponse, DeveloperManagedSigner, EmbedType, ErrorRes, FarcasterActionReqBodyAction, FeedResponse, FeedTrendingProvider, FeedType, FetchBulkCastsSortTypeEnum, FetchCastMetricsIntervalEnum, FetchFrameCatalogCategoriesEnum, FetchFrameMetaTagsFromUrl200Response, FetchRelevantFrames200Response, FetchRepliesAndRecastsForUserFilterEnum, FetchTrendingChannelsTimeWindowEnum, FetchTrendingFeedTimeWindowEnum, FetchUserInteractions200Response, FilterType, FnameAvailabilityResponse, FollowSortType, FollowersResponse, ForYouProvider, Frame, FrameAction, FrameCatalogResponse, FrameNotificationTokens, FramePayTransactionRequestBody, FrameSignaturePacket, FrameType, FrameValidateAnalyticsResponse, FrameValidateListResponse, FungibleOwnerRelevantNetwork, GetNotificationCampaignStats200Response, LookupCastConversationFoldEnum, MiniAppTimeWindow, MuteListResponse, MuteResponse, Network, NeynarFrame, NeynarFramePage, NonceResponse, NotificationType, NotificationsResponse, OperationResponse, PostCastReqBodyEmbeds, PostCastResponse, ReactionType, ReactionsCastResponse, ReactionsResponse, ReactionsType, RegisterUserOnChainReqBodyPreRegistrationCallsInner, RegisterUserOnChainReqBodyRegistration, RegisterUserOnChainReqBodySignersInner, RegisterUserOnChainResponse, RegisterUserReqBodyMetadata, RegisterUserResponse, RelevantFollowersResponse, RelevantFungibleOwnersResponse, SearchCastsModeEnum, SearchSortType, SendFrameNotificationsReqBodyFilters, SendFrameNotificationsReqBodyNotification, SendFrameNotificationsResponse, SignedKeyRequestSponsor, Signer, SignerListResponse, StorageAllocationsResponse, StorageUsageResponse, SubscribedToResponse, SubscribersResponse, SubscriptionCheckResponse, SubscriptionProvider, SubscriptionProviders, SubscriptionsResponse, TransactionFrameResponse, TransactionSendFungiblesRequest, TransactionSendFungiblesResponse, TrendingChannelResponse, UpdateUserReqBodyLocation, UpdateUserReqBodyVerifiedAccounts, UserFIDResponse, UserPowerLiteResponse, UserResponse, UserSearchResponse, UsersActiveChannelsResponse, UsersResponse, ValidateFrameActionResponse, ValidateFrameAggregateWindow, ValidateFrameAnalyticsType, VerificationChainId, VerificationType, WebhookListResponse, WebhookPatchReqBodyActiveEnum, WebhookResponse, WebhookSubscriptionFilters } from '../api';
|
|
6
6
|
export interface NeynarAPIClientOptions {
|
|
7
7
|
logger?: Logger;
|
|
8
8
|
axiosInstance?: AxiosInstance;
|
|
@@ -94,7 +94,7 @@ export declare class NeynarAPIClient {
|
|
|
94
94
|
type?: Array<NotificationType>;
|
|
95
95
|
}): Promise<FetchUserInteractions200Response>;
|
|
96
96
|
/**
|
|
97
|
-
* Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or
|
|
97
|
+
* Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Farcaster URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
|
|
98
98
|
*
|
|
99
99
|
* @summary Cast conversation summary
|
|
100
100
|
*
|
|
@@ -124,6 +124,78 @@ export declare class NeynarAPIClient {
|
|
|
124
124
|
limit?: number;
|
|
125
125
|
prompt?: string;
|
|
126
126
|
}): Promise<ConversationSummary>;
|
|
127
|
+
/**
|
|
128
|
+
* Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
|
|
129
|
+
*
|
|
130
|
+
* @summary Get app host event
|
|
131
|
+
*
|
|
132
|
+
* @param {object} params
|
|
133
|
+
* @param {string} params.appDomain - The domain of the mini app
|
|
134
|
+
* @param {number} params.fid - The FID of the user who initiated the event
|
|
135
|
+
* @param {AppHostEventType} params.event - The type of event
|
|
136
|
+
*
|
|
137
|
+
* @returns {Promise<AppHostGetEventResponse>} A promise that resolves to a `AppHostGetEventResponse` object.
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
*
|
|
141
|
+
* // Fill in the appropriate values
|
|
142
|
+
* const appDomain =
|
|
143
|
+
* const fid =
|
|
144
|
+
* const event =
|
|
145
|
+
*
|
|
146
|
+
* client.appHostGetEvent({ appDomain, fid, event }).then(response => {
|
|
147
|
+
* console.log('response:', response);
|
|
148
|
+
* });
|
|
149
|
+
*/
|
|
150
|
+
appHostGetEvent(params: {
|
|
151
|
+
appDomain: string;
|
|
152
|
+
fid: number;
|
|
153
|
+
event: AppHostEventType;
|
|
154
|
+
}): Promise<AppHostGetEventResponse>;
|
|
155
|
+
/**
|
|
156
|
+
* Returns the current notification state for a specific user across all mini app domains in this app host. Shows which domains have notifications enabled.
|
|
157
|
+
*
|
|
158
|
+
* @summary Get the user\'s notification subscriptions
|
|
159
|
+
*
|
|
160
|
+
* @param {object} params
|
|
161
|
+
* @param {number} params.fid - The FID of the user
|
|
162
|
+
*
|
|
163
|
+
* @returns {Promise<AppHostUserStateResponse>} A promise that resolves to a `AppHostUserStateResponse` object.
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
*
|
|
167
|
+
* // Fill in the appropriate values
|
|
168
|
+
* const fid =
|
|
169
|
+
*
|
|
170
|
+
* client.appHostGetUserState({ fid }).then(response => {
|
|
171
|
+
* console.log('response:', response);
|
|
172
|
+
* });
|
|
173
|
+
*/
|
|
174
|
+
appHostGetUserState(params: {
|
|
175
|
+
fid: number;
|
|
176
|
+
}): Promise<AppHostUserStateResponse>;
|
|
177
|
+
/**
|
|
178
|
+
* Post an app_host event to the domain\'s webhook. Events such as enabling or disabling notifications for a user. Provide either a signed message or the signer UUID of an authorized neynar-hosted signers.
|
|
179
|
+
*
|
|
180
|
+
* @summary Process app host event
|
|
181
|
+
*
|
|
182
|
+
* @param {object} params
|
|
183
|
+
* @param {AppHostPostEventBody} params.appHostPostEventBody
|
|
184
|
+
*
|
|
185
|
+
* @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object.
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
*
|
|
189
|
+
* // Fill in the appropriate values
|
|
190
|
+
* const appHostPostEventBody =
|
|
191
|
+
*
|
|
192
|
+
* client.appHostPostEvent({ appHostPostEventBody }).then(response => {
|
|
193
|
+
* console.log('response:', response);
|
|
194
|
+
* });
|
|
195
|
+
*/
|
|
196
|
+
appHostPostEvent(params: {
|
|
197
|
+
appHostPostEventBody: AppHostPostEventBody;
|
|
198
|
+
}): Promise<AppHostPostEventResponse>;
|
|
127
199
|
/**
|
|
128
200
|
* Deletes a list of FIDs from the app associated with your API key.
|
|
129
201
|
*
|
|
@@ -208,7 +280,7 @@ export declare class NeynarAPIClient {
|
|
|
208
280
|
*
|
|
209
281
|
* @param {object} params
|
|
210
282
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
211
|
-
* @param {number} params.blockedFid - The unique identifier of a farcaster user (unsigned integer)
|
|
283
|
+
* @param {number} params.blockedFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
212
284
|
*
|
|
213
285
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
214
286
|
*
|
|
@@ -269,7 +341,7 @@ export declare class NeynarAPIClient {
|
|
|
269
341
|
*
|
|
270
342
|
* @param {object} params
|
|
271
343
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
272
|
-
* @param {number} params.blockedFid - The unique identifier of a farcaster user (unsigned integer)
|
|
344
|
+
* @param {number} params.blockedFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
273
345
|
*
|
|
274
346
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
275
347
|
*
|
|
@@ -405,7 +477,7 @@ export declare class NeynarAPIClient {
|
|
|
405
477
|
url: string;
|
|
406
478
|
}): Promise<CastEmbedCrawlResponse>;
|
|
407
479
|
/**
|
|
408
|
-
* Gets information about an individual cast by passing in a
|
|
480
|
+
* Gets information about an individual cast by passing in a Farcaster web URL or cast hash
|
|
409
481
|
*
|
|
410
482
|
* @summary By hash or URL
|
|
411
483
|
*
|
|
@@ -436,7 +508,7 @@ export declare class NeynarAPIClient {
|
|
|
436
508
|
viewerFid?: number;
|
|
437
509
|
}): Promise<CastResponse>;
|
|
438
510
|
/**
|
|
439
|
-
* Gets all casts related to a conversation surrounding a cast by passing in a cast hash or
|
|
511
|
+
* Gets all casts related to a conversation surrounding a cast by passing in a cast hash or Farcaster URL. Includes all the ancestors of a cast up to the root parent in a chronological order. Includes all direct_replies to the cast up to the reply_depth specified in the query parameter.
|
|
440
512
|
*
|
|
441
513
|
* @summary Conversation for a cast
|
|
442
514
|
*
|
|
@@ -495,7 +567,7 @@ export declare class NeynarAPIClient {
|
|
|
495
567
|
* @param {string} params.parent [optional] - parent_url of the channel the cast is in, or hash of the cast
|
|
496
568
|
* @param {string} params.channelId [optional] - Channel ID of the channel where the cast is to be posted. e.g. neynar, farcaster, warpcast
|
|
497
569
|
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
498
|
-
* @param {number} params.parentAuthorFid [optional] - The unique identifier of a farcaster user (unsigned integer)
|
|
570
|
+
* @param {number} params.parentAuthorFid [optional] - The unique identifier of a farcaster user or app (unsigned integer)
|
|
499
571
|
*
|
|
500
572
|
* @returns {Promise<PostCastResponse>} A promise that resolves to a `PostCastResponse` object.
|
|
501
573
|
*
|
|
@@ -918,7 +990,7 @@ export declare class NeynarAPIClient {
|
|
|
918
990
|
* @param {object} params
|
|
919
991
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
920
992
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
921
|
-
* @param {number} params.fid - The unique identifier of a farcaster user (unsigned integer)
|
|
993
|
+
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
922
994
|
* @param {ChannelMemberRole} params.role
|
|
923
995
|
*
|
|
924
996
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -983,7 +1055,7 @@ export declare class NeynarAPIClient {
|
|
|
983
1055
|
* @param {object} params
|
|
984
1056
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
985
1057
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
986
|
-
* @param {number} params.fid - The unique identifier of a farcaster user (unsigned integer)
|
|
1058
|
+
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
987
1059
|
* @param {ChannelMemberRole} params.role
|
|
988
1060
|
*
|
|
989
1061
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -1874,6 +1946,33 @@ export declare class NeynarAPIClient {
|
|
|
1874
1946
|
*
|
|
1875
1947
|
*/
|
|
1876
1948
|
fetchValidateFrameList(): Promise<FrameValidateListResponse>;
|
|
1949
|
+
/**
|
|
1950
|
+
* Retrieve notification delivery and opened stats for notification campaigns
|
|
1951
|
+
*
|
|
1952
|
+
* @summary Get notification campaign stats
|
|
1953
|
+
*
|
|
1954
|
+
* @param {object} params
|
|
1955
|
+
* @param {string} params.campaignId [optional] - An ID of a specific notification campaign to query
|
|
1956
|
+
* @param {number} params.limit [optional] - The number of results to return (Default: 100,
|
|
1957
|
+
* @param {string} params.cursor [optional] - Pagination cursor
|
|
1958
|
+
*
|
|
1959
|
+
* @returns {Promise<GetNotificationCampaignStats200Response>} A promise that resolves to a `GetNotificationCampaignStats200Response` object.
|
|
1960
|
+
*
|
|
1961
|
+
* @example
|
|
1962
|
+
*
|
|
1963
|
+
* // Fill in the appropriate values
|
|
1964
|
+
* const campaignId =
|
|
1965
|
+
* const limit =
|
|
1966
|
+
*
|
|
1967
|
+
* client.getNotificationCampaignStats({ campaignId, limit }).then(response => {
|
|
1968
|
+
* console.log('response:', response);
|
|
1969
|
+
* });
|
|
1970
|
+
*/
|
|
1971
|
+
getNotificationCampaignStats(params: {
|
|
1972
|
+
campaignId?: string;
|
|
1973
|
+
limit?: number;
|
|
1974
|
+
cursor?: string;
|
|
1975
|
+
}): Promise<GetNotificationCampaignStats200Response>;
|
|
1877
1976
|
/**
|
|
1878
1977
|
* Retrieves details about a transaction pay mini app by ID
|
|
1879
1978
|
*
|
|
@@ -2171,7 +2270,7 @@ export declare class NeynarAPIClient {
|
|
|
2171
2270
|
*
|
|
2172
2271
|
* @param {object} params
|
|
2173
2272
|
* @param {string} params.q - Query string to search for casts
|
|
2174
|
-
* @param {FetchCastMetricsIntervalEnum} params.interval [optional] - Interval of time for which to fetch metrics.
|
|
2273
|
+
* @param {FetchCastMetricsIntervalEnum} params.interval [optional] - Interval of time for which to fetch metrics. Default is 30d.
|
|
2175
2274
|
* @param {number} params.authorFid [optional] - Fid of the user whose casts you want to search
|
|
2176
2275
|
* @param {string} params.channelId [optional] - Channel ID of the casts you want to search
|
|
2177
2276
|
*
|
|
@@ -2204,8 +2303,8 @@ export declare class NeynarAPIClient {
|
|
|
2204
2303
|
* @summary Unmute FID
|
|
2205
2304
|
*
|
|
2206
2305
|
* @param {object} params
|
|
2207
|
-
* @param {number} params.fid - The unique identifier of a farcaster user (unsigned integer)
|
|
2208
|
-
* @param {number} params.mutedFid - The unique identifier of a farcaster user (unsigned integer)
|
|
2306
|
+
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2307
|
+
* @param {number} params.mutedFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2209
2308
|
*
|
|
2210
2309
|
* @returns {Promise<MuteResponse>} A promise that resolves to a `MuteResponse` object.
|
|
2211
2310
|
*
|
|
@@ -2262,8 +2361,8 @@ export declare class NeynarAPIClient {
|
|
|
2262
2361
|
* @summary Mute FID
|
|
2263
2362
|
*
|
|
2264
2363
|
* @param {object} params
|
|
2265
|
-
* @param {number} params.fid - The unique identifier of a farcaster user (unsigned integer)
|
|
2266
|
-
* @param {number} params.mutedFid - The unique identifier of a farcaster user (unsigned integer)
|
|
2364
|
+
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2365
|
+
* @param {number} params.mutedFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2267
2366
|
*
|
|
2268
2367
|
* @returns {Promise<MuteResponse>} A promise that resolves to a `MuteResponse` object.
|
|
2269
2368
|
*
|
|
@@ -2424,7 +2523,7 @@ export declare class NeynarAPIClient {
|
|
|
2424
2523
|
authorization?: string;
|
|
2425
2524
|
}): Promise<OperationResponse>;
|
|
2426
2525
|
/**
|
|
2427
|
-
* Creates a new token.
|
|
2526
|
+
* Creates a new token.
|
|
2428
2527
|
*
|
|
2429
2528
|
* @summary Deploy fungible
|
|
2430
2529
|
*
|
|
@@ -2488,7 +2587,7 @@ export declare class NeynarAPIClient {
|
|
|
2488
2587
|
*
|
|
2489
2588
|
* @param {object} params
|
|
2490
2589
|
* @param {string} params.contractAddress - Contract address of the fungible asset
|
|
2491
|
-
* @param {
|
|
2590
|
+
* @param {FungibleOwnerRelevantNetwork} params.network - Network of the fungible asset.
|
|
2492
2591
|
* @param {number} params.viewerFid [optional] - If you provide a viewer_fid, the response will include token holders from the user's network, respecting their mutes and blocks and including viewer_context; if not provided, the response will show top token holders across the network—both sets can be combined to generate a longer list if desired.
|
|
2493
2592
|
*
|
|
2494
2593
|
* @returns {Promise<RelevantFungibleOwnersResponse>} A promise that resolves to a `RelevantFungibleOwnersResponse` object.
|
|
@@ -2509,7 +2608,7 @@ export declare class NeynarAPIClient {
|
|
|
2509
2608
|
*/
|
|
2510
2609
|
fetchRelevantFungibleOwners(params: {
|
|
2511
2610
|
contractAddress: string;
|
|
2512
|
-
network:
|
|
2611
|
+
network: FungibleOwnerRelevantNetwork;
|
|
2513
2612
|
viewerFid?: number;
|
|
2514
2613
|
}): Promise<RelevantFungibleOwnersResponse>;
|
|
2515
2614
|
/**
|
|
@@ -2614,7 +2713,7 @@ export declare class NeynarAPIClient {
|
|
|
2614
2713
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
2615
2714
|
* @param {ReactionType} params.reactionType
|
|
2616
2715
|
* @param {string} params.target - Target cast hash (hex string starting with 0x) OR a valid URL.
|
|
2617
|
-
* @param {number} params.targetAuthorFid [optional] - The unique identifier of a farcaster user (unsigned integer)
|
|
2716
|
+
* @param {number} params.targetAuthorFid [optional] - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2618
2717
|
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
2619
2718
|
*
|
|
2620
2719
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -2723,7 +2822,7 @@ export declare class NeynarAPIClient {
|
|
|
2723
2822
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
2724
2823
|
* @param {ReactionType} params.reactionType
|
|
2725
2824
|
* @param {string} params.target - Target cast hash (hex string starting with 0x) OR a valid URL.
|
|
2726
|
-
* @param {number} params.targetAuthorFid [optional] - The unique identifier of a farcaster user (unsigned integer)
|
|
2825
|
+
* @param {number} params.targetAuthorFid [optional] - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2727
2826
|
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
2728
2827
|
*
|
|
2729
2828
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -2908,7 +3007,7 @@ export declare class NeynarAPIClient {
|
|
|
2908
3007
|
* @param {object} params
|
|
2909
3008
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
2910
3009
|
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer’s public key
|
|
2911
|
-
* @param {number} params.appFid - The unique identifier of a farcaster user (unsigned integer)
|
|
3010
|
+
* @param {number} params.appFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2912
3011
|
* @param {number} params.deadline - unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)
|
|
2913
3012
|
* @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
|
|
2914
3013
|
* @param {SignedKeyRequestSponsor} params.sponsor [optional]
|
|
@@ -2948,7 +3047,7 @@ export declare class NeynarAPIClient {
|
|
|
2948
3047
|
* @param {object} params
|
|
2949
3048
|
* @param {string} params.publicKey - Ed25519 public key
|
|
2950
3049
|
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer’s public key
|
|
2951
|
-
* @param {number} params.appFid - The unique identifier of a farcaster user (unsigned integer)
|
|
3050
|
+
* @param {number} params.appFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2952
3051
|
* @param {number} params.deadline - unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)
|
|
2953
3052
|
* @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
|
|
2954
3053
|
* @param {SignedKeyRequestSponsor} params.sponsor [optional]
|
|
@@ -32,6 +32,7 @@ const constants_1 = require("../common/constants");
|
|
|
32
32
|
const utils_1 = require("../utils");
|
|
33
33
|
const action_api_1 = require("../api/apis/action-api");
|
|
34
34
|
const agents_api_1 = require("../api/apis/agents-api");
|
|
35
|
+
const app_host_api_1 = require("../api/apis/app-host-api");
|
|
35
36
|
const ban_api_1 = require("../api/apis/ban-api");
|
|
36
37
|
const block_api_1 = require("../api/apis/block-api");
|
|
37
38
|
const cast_api_1 = require("../api/apis/cast-api");
|
|
@@ -140,6 +141,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
140
141
|
this.apis = {
|
|
141
142
|
actionApi: new action_api_1.ActionApi(this.config, undefined, axiosInstance),
|
|
142
143
|
agentsApi: new agents_api_1.AgentsApi(this.config, undefined, axiosInstance),
|
|
144
|
+
appHostApi: new app_host_api_1.AppHostApi(this.config, undefined, axiosInstance),
|
|
143
145
|
banApi: new ban_api_1.BanApi(this.config, undefined, axiosInstance),
|
|
144
146
|
blockApi: new block_api_1.BlockApi(this.config, undefined, axiosInstance),
|
|
145
147
|
castApi: new cast_api_1.CastApi(this.config, undefined, axiosInstance),
|
|
@@ -259,7 +261,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
259
261
|
return response.data;
|
|
260
262
|
}
|
|
261
263
|
/**
|
|
262
|
-
* Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or
|
|
264
|
+
* Generates a summary of all casts related to a conversation surrounding a cast by passing in a cast hash or Farcaster URL. Summary is generated by an LLM and is intended to be passed as a context to AI agents.
|
|
263
265
|
*
|
|
264
266
|
* @summary Cast conversation summary
|
|
265
267
|
*
|
|
@@ -290,6 +292,85 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
290
292
|
const response = await this.apis.agentsApi.lookupCastConversationSummary(adjustedParams);
|
|
291
293
|
return response.data;
|
|
292
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
* Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
|
|
297
|
+
*
|
|
298
|
+
* @summary Get app host event
|
|
299
|
+
*
|
|
300
|
+
* @param {object} params
|
|
301
|
+
* @param {string} params.appDomain - The domain of the mini app
|
|
302
|
+
* @param {number} params.fid - The FID of the user who initiated the event
|
|
303
|
+
* @param {AppHostEventType} params.event - The type of event
|
|
304
|
+
*
|
|
305
|
+
* @returns {Promise<AppHostGetEventResponse>} A promise that resolves to a `AppHostGetEventResponse` object.
|
|
306
|
+
*
|
|
307
|
+
* @example
|
|
308
|
+
*
|
|
309
|
+
* // Fill in the appropriate values
|
|
310
|
+
* const appDomain =
|
|
311
|
+
* const fid =
|
|
312
|
+
* const event =
|
|
313
|
+
*
|
|
314
|
+
* client.appHostGetEvent({ appDomain, fid, event }).then(response => {
|
|
315
|
+
* console.log('response:', response);
|
|
316
|
+
* });
|
|
317
|
+
*/
|
|
318
|
+
async appHostGetEvent(params) {
|
|
319
|
+
const adjustedParams = {};
|
|
320
|
+
Object.assign(adjustedParams, params);
|
|
321
|
+
const response = await this.apis.appHostApi.appHostGetEvent(adjustedParams);
|
|
322
|
+
return response.data;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Returns the current notification state for a specific user across all mini app domains in this app host. Shows which domains have notifications enabled.
|
|
326
|
+
*
|
|
327
|
+
* @summary Get the user\'s notification subscriptions
|
|
328
|
+
*
|
|
329
|
+
* @param {object} params
|
|
330
|
+
* @param {number} params.fid - The FID of the user
|
|
331
|
+
*
|
|
332
|
+
* @returns {Promise<AppHostUserStateResponse>} A promise that resolves to a `AppHostUserStateResponse` object.
|
|
333
|
+
*
|
|
334
|
+
* @example
|
|
335
|
+
*
|
|
336
|
+
* // Fill in the appropriate values
|
|
337
|
+
* const fid =
|
|
338
|
+
*
|
|
339
|
+
* client.appHostGetUserState({ fid }).then(response => {
|
|
340
|
+
* console.log('response:', response);
|
|
341
|
+
* });
|
|
342
|
+
*/
|
|
343
|
+
async appHostGetUserState(params) {
|
|
344
|
+
const adjustedParams = {};
|
|
345
|
+
Object.assign(adjustedParams, params);
|
|
346
|
+
const response = await this.apis.appHostApi.appHostGetUserState(adjustedParams);
|
|
347
|
+
return response.data;
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Post an app_host event to the domain\'s webhook. Events such as enabling or disabling notifications for a user. Provide either a signed message or the signer UUID of an authorized neynar-hosted signers.
|
|
351
|
+
*
|
|
352
|
+
* @summary Process app host event
|
|
353
|
+
*
|
|
354
|
+
* @param {object} params
|
|
355
|
+
* @param {AppHostPostEventBody} params.appHostPostEventBody
|
|
356
|
+
*
|
|
357
|
+
* @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object.
|
|
358
|
+
*
|
|
359
|
+
* @example
|
|
360
|
+
*
|
|
361
|
+
* // Fill in the appropriate values
|
|
362
|
+
* const appHostPostEventBody =
|
|
363
|
+
*
|
|
364
|
+
* client.appHostPostEvent({ appHostPostEventBody }).then(response => {
|
|
365
|
+
* console.log('response:', response);
|
|
366
|
+
* });
|
|
367
|
+
*/
|
|
368
|
+
async appHostPostEvent(params) {
|
|
369
|
+
const adjustedParams = {};
|
|
370
|
+
Object.assign(adjustedParams, params);
|
|
371
|
+
const response = await this.apis.appHostApi.appHostPostEvent(adjustedParams);
|
|
372
|
+
return response.data;
|
|
373
|
+
}
|
|
293
374
|
/**
|
|
294
375
|
* Deletes a list of FIDs from the app associated with your API key.
|
|
295
376
|
*
|
|
@@ -386,7 +467,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
386
467
|
*
|
|
387
468
|
* @param {object} params
|
|
388
469
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
389
|
-
* @param {number} params.blockedFid - The unique identifier of a farcaster user (unsigned integer)
|
|
470
|
+
* @param {number} params.blockedFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
390
471
|
*
|
|
391
472
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
392
473
|
*
|
|
@@ -452,7 +533,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
452
533
|
*
|
|
453
534
|
* @param {object} params
|
|
454
535
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
455
|
-
* @param {number} params.blockedFid - The unique identifier of a farcaster user (unsigned integer)
|
|
536
|
+
* @param {number} params.blockedFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
456
537
|
*
|
|
457
538
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
458
539
|
*
|
|
@@ -604,7 +685,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
604
685
|
return response.data;
|
|
605
686
|
}
|
|
606
687
|
/**
|
|
607
|
-
* Gets information about an individual cast by passing in a
|
|
688
|
+
* Gets information about an individual cast by passing in a Farcaster web URL or cast hash
|
|
608
689
|
*
|
|
609
690
|
* @summary By hash or URL
|
|
610
691
|
*
|
|
@@ -638,7 +719,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
638
719
|
return response.data;
|
|
639
720
|
}
|
|
640
721
|
/**
|
|
641
|
-
* Gets all casts related to a conversation surrounding a cast by passing in a cast hash or
|
|
722
|
+
* Gets all casts related to a conversation surrounding a cast by passing in a cast hash or Farcaster URL. Includes all the ancestors of a cast up to the root parent in a chronological order. Includes all direct_replies to the cast up to the reply_depth specified in the query parameter.
|
|
642
723
|
*
|
|
643
724
|
* @summary Conversation for a cast
|
|
644
725
|
*
|
|
@@ -694,7 +775,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
694
775
|
* @param {string} params.parent [optional] - parent_url of the channel the cast is in, or hash of the cast
|
|
695
776
|
* @param {string} params.channelId [optional] - Channel ID of the channel where the cast is to be posted. e.g. neynar, farcaster, warpcast
|
|
696
777
|
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
697
|
-
* @param {number} params.parentAuthorFid [optional] - The unique identifier of a farcaster user (unsigned integer)
|
|
778
|
+
* @param {number} params.parentAuthorFid [optional] - The unique identifier of a farcaster user or app (unsigned integer)
|
|
698
779
|
*
|
|
699
780
|
* @returns {Promise<PostCastResponse>} A promise that resolves to a `PostCastResponse` object.
|
|
700
781
|
*
|
|
@@ -1132,7 +1213,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1132
1213
|
* @param {object} params
|
|
1133
1214
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
1134
1215
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
1135
|
-
* @param {number} params.fid - The unique identifier of a farcaster user (unsigned integer)
|
|
1216
|
+
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
1136
1217
|
* @param {ChannelMemberRole} params.role
|
|
1137
1218
|
*
|
|
1138
1219
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -1199,7 +1280,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1199
1280
|
* @param {object} params
|
|
1200
1281
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
1201
1282
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
1202
|
-
* @param {number} params.fid - The unique identifier of a farcaster user (unsigned integer)
|
|
1283
|
+
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
1203
1284
|
* @param {ChannelMemberRole} params.role
|
|
1204
1285
|
*
|
|
1205
1286
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -2132,6 +2213,34 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2132
2213
|
const response = await this.apis.frameApi.fetchValidateFrameList();
|
|
2133
2214
|
return response.data;
|
|
2134
2215
|
}
|
|
2216
|
+
/**
|
|
2217
|
+
* Retrieve notification delivery and opened stats for notification campaigns
|
|
2218
|
+
*
|
|
2219
|
+
* @summary Get notification campaign stats
|
|
2220
|
+
*
|
|
2221
|
+
* @param {object} params
|
|
2222
|
+
* @param {string} params.campaignId [optional] - An ID of a specific notification campaign to query
|
|
2223
|
+
* @param {number} params.limit [optional] - The number of results to return (Default: 100,
|
|
2224
|
+
* @param {string} params.cursor [optional] - Pagination cursor
|
|
2225
|
+
*
|
|
2226
|
+
* @returns {Promise<GetNotificationCampaignStats200Response>} A promise that resolves to a `GetNotificationCampaignStats200Response` object.
|
|
2227
|
+
*
|
|
2228
|
+
* @example
|
|
2229
|
+
*
|
|
2230
|
+
* // Fill in the appropriate values
|
|
2231
|
+
* const campaignId =
|
|
2232
|
+
* const limit =
|
|
2233
|
+
*
|
|
2234
|
+
* client.getNotificationCampaignStats({ campaignId, limit }).then(response => {
|
|
2235
|
+
* console.log('response:', response);
|
|
2236
|
+
* });
|
|
2237
|
+
*/
|
|
2238
|
+
async getNotificationCampaignStats(params) {
|
|
2239
|
+
const adjustedParams = {};
|
|
2240
|
+
Object.assign(adjustedParams, params);
|
|
2241
|
+
const response = await this.apis.frameApi.getNotificationCampaignStats(adjustedParams);
|
|
2242
|
+
return response.data;
|
|
2243
|
+
}
|
|
2135
2244
|
/**
|
|
2136
2245
|
* Retrieves details about a transaction pay mini app by ID
|
|
2137
2246
|
*
|
|
@@ -2448,7 +2557,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2448
2557
|
*
|
|
2449
2558
|
* @param {object} params
|
|
2450
2559
|
* @param {string} params.q - Query string to search for casts
|
|
2451
|
-
* @param {FetchCastMetricsIntervalEnum} params.interval [optional] - Interval of time for which to fetch metrics.
|
|
2560
|
+
* @param {FetchCastMetricsIntervalEnum} params.interval [optional] - Interval of time for which to fetch metrics. Default is 30d.
|
|
2452
2561
|
* @param {number} params.authorFid [optional] - Fid of the user whose casts you want to search
|
|
2453
2562
|
* @param {string} params.channelId [optional] - Channel ID of the casts you want to search
|
|
2454
2563
|
*
|
|
@@ -2483,8 +2592,8 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2483
2592
|
* @summary Unmute FID
|
|
2484
2593
|
*
|
|
2485
2594
|
* @param {object} params
|
|
2486
|
-
* @param {number} params.fid - The unique identifier of a farcaster user (unsigned integer)
|
|
2487
|
-
* @param {number} params.mutedFid - The unique identifier of a farcaster user (unsigned integer)
|
|
2595
|
+
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2596
|
+
* @param {number} params.mutedFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2488
2597
|
*
|
|
2489
2598
|
* @returns {Promise<MuteResponse>} A promise that resolves to a `MuteResponse` object.
|
|
2490
2599
|
*
|
|
@@ -2547,8 +2656,8 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2547
2656
|
* @summary Mute FID
|
|
2548
2657
|
*
|
|
2549
2658
|
* @param {object} params
|
|
2550
|
-
* @param {number} params.fid - The unique identifier of a farcaster user (unsigned integer)
|
|
2551
|
-
* @param {number} params.mutedFid - The unique identifier of a farcaster user (unsigned integer)
|
|
2659
|
+
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2660
|
+
* @param {number} params.mutedFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2552
2661
|
*
|
|
2553
2662
|
* @returns {Promise<MuteResponse>} A promise that resolves to a `MuteResponse` object.
|
|
2554
2663
|
*
|
|
@@ -2717,7 +2826,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2717
2826
|
return response.data;
|
|
2718
2827
|
}
|
|
2719
2828
|
/**
|
|
2720
|
-
* Creates a new token.
|
|
2829
|
+
* Creates a new token.
|
|
2721
2830
|
*
|
|
2722
2831
|
* @summary Deploy fungible
|
|
2723
2832
|
*
|
|
@@ -2773,7 +2882,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2773
2882
|
*
|
|
2774
2883
|
* @param {object} params
|
|
2775
2884
|
* @param {string} params.contractAddress - Contract address of the fungible asset
|
|
2776
|
-
* @param {
|
|
2885
|
+
* @param {FungibleOwnerRelevantNetwork} params.network - Network of the fungible asset.
|
|
2777
2886
|
* @param {number} params.viewerFid [optional] - If you provide a viewer_fid, the response will include token holders from the user's network, respecting their mutes and blocks and including viewer_context; if not provided, the response will show top token holders across the network—both sets can be combined to generate a longer list if desired.
|
|
2778
2887
|
*
|
|
2779
2888
|
* @returns {Promise<RelevantFungibleOwnersResponse>} A promise that resolves to a `RelevantFungibleOwnersResponse` object.
|
|
@@ -2904,7 +3013,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2904
3013
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
2905
3014
|
* @param {ReactionType} params.reactionType
|
|
2906
3015
|
* @param {string} params.target - Target cast hash (hex string starting with 0x) OR a valid URL.
|
|
2907
|
-
* @param {number} params.targetAuthorFid [optional] - The unique identifier of a farcaster user (unsigned integer)
|
|
3016
|
+
* @param {number} params.targetAuthorFid [optional] - The unique identifier of a farcaster user or app (unsigned integer)
|
|
2908
3017
|
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
2909
3018
|
*
|
|
2910
3019
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -3011,7 +3120,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3011
3120
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
3012
3121
|
* @param {ReactionType} params.reactionType
|
|
3013
3122
|
* @param {string} params.target - Target cast hash (hex string starting with 0x) OR a valid URL.
|
|
3014
|
-
* @param {number} params.targetAuthorFid [optional] - The unique identifier of a farcaster user (unsigned integer)
|
|
3123
|
+
* @param {number} params.targetAuthorFid [optional] - The unique identifier of a farcaster user or app (unsigned integer)
|
|
3015
3124
|
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
3016
3125
|
*
|
|
3017
3126
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -3212,7 +3321,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3212
3321
|
* @param {object} params
|
|
3213
3322
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
3214
3323
|
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer’s public key
|
|
3215
|
-
* @param {number} params.appFid - The unique identifier of a farcaster user (unsigned integer)
|
|
3324
|
+
* @param {number} params.appFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
3216
3325
|
* @param {number} params.deadline - unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)
|
|
3217
3326
|
* @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
|
|
3218
3327
|
* @param {SignedKeyRequestSponsor} params.sponsor [optional]
|
|
@@ -3251,7 +3360,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3251
3360
|
* @param {object} params
|
|
3252
3361
|
* @param {string} params.publicKey - Ed25519 public key
|
|
3253
3362
|
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer’s public key
|
|
3254
|
-
* @param {number} params.appFid - The unique identifier of a farcaster user (unsigned integer)
|
|
3363
|
+
* @param {number} params.appFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
3255
3364
|
* @param {number} params.deadline - unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)
|
|
3256
3365
|
* @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
|
|
3257
3366
|
* @param {SignedKeyRequestSponsor} params.sponsor [optional]
|
package/package.json
CHANGED