@neynar/nodejs-sdk 3.34.0 → 3.77.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/README.md +1 -1
- 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 +1 -1
- package/build/api/apis/agents-api.js +1 -1
- package/build/api/apis/app-host-api.d.ts +1 -1
- package/build/api/apis/app-host-api.js +1 -1
- package/build/api/apis/auth-address-api.d.ts +1 -1
- package/build/api/apis/auth-address-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 +4 -113
- package/build/api/apis/cast-api.js +4 -105
- 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 +2 -115
- package/build/api/apis/feed-api.js +2 -103
- 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 -931
- package/build/api/apis/frame-api.js +19 -991
- package/build/api/apis/login-api.d.ts +1 -1
- package/build/api/apis/login-api.js +1 -1
- package/build/api/apis/metrics-api.d.ts +1 -1
- package/build/api/apis/metrics-api.js +1 -1
- package/build/api/apis/mute-api.d.ts +1 -1
- package/build/api/apis/mute-api.js +1 -1
- package/build/api/apis/notifications-api.d.ts +1 -1
- package/build/api/apis/notifications-api.js +1 -1
- package/build/api/apis/onchain-api.d.ts +188 -1
- package/build/api/apis/onchain-api.js +191 -2
- 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/studio-api.d.ts +1287 -0
- package/build/api/apis/studio-api.js +1304 -0
- 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 +1 -1
- package/build/api/models/app-host-event-type.js +1 -1
- package/build/api/models/app-host-get-event-response-notification-details.d.ts +1 -1
- package/build/api/models/app-host-get-event-response-notification-details.js +1 -1
- package/build/api/models/app-host-get-event-response.d.ts +1 -1
- package/build/api/models/app-host-get-event-response.js +1 -1
- package/build/api/models/app-host-post-event-req-body.d.ts +4 -4
- package/build/api/models/app-host-post-event-req-body.js +1 -1
- package/build/api/models/app-host-post-event-response.d.ts +1 -1
- package/build/api/models/app-host-post-event-response.js +1 -1
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +1 -1
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.js +1 -1
- package/build/api/models/app-host-user-state-response.d.ts +1 -1
- package/build/api/models/app-host-user-state-response.js +1 -1
- package/build/api/models/associate-deployment-request-account-association.d.ts +36 -0
- package/build/api/models/{cast-composer-actions-list-response-actions-inner-action.js → associate-deployment-request-account-association.js} +1 -1
- package/build/api/models/associate-deployment-request.d.ts +37 -0
- package/build/api/models/{app-host-post-event-req-body-one-of-signed-message.js → associate-deployment-request.js} +1 -1
- package/build/api/models/{neynar-page-input-text.d.ts → associate-deployment200-response.d.ts} +9 -9
- package/build/api/models/{app-host-post-event-req-body-one-of1.js → associate-deployment200-response.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/best-friends-response-users-inner.d.ts +1 -1
- package/build/api/models/best-friends-response-users-inner.js +1 -1
- package/build/api/models/best-friends-response.d.ts +1 -1
- package/build/api/models/best-friends-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-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-and-conversations-ref.d.ts +1 -8
- package/build/api/models/cast-and-conversations-ref.js +1 -1
- package/build/api/models/cast-and-conversations.d.ts +1 -8
- package/build/api/models/cast-and-conversations.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-notification-type.d.ts +1 -1
- package/build/api/models/cast-notification-type.js +1 -1
- package/build/api/models/cast-reactions.d.ts +5 -3
- package/build/api/models/cast-reactions.js +1 -1
- package/build/api/models/cast-replies.d.ts +1 -1
- package/build/api/models/cast-replies.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.d.ts +1 -8
- 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.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-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/create-deployment-request.d.ts +38 -0
- package/build/api/models/{app-host-post-event-req-body-one-of.js → create-deployment-request.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/{neynar-frame-creation-req-body.d.ts → delete-deployment-request.d.ts} +11 -12
- package/build/api/models/delete-deployment-request.js +15 -0
- package/build/api/models/{delete-frame-response.d.ts → delete-deployment200-response.d.ts} +8 -8
- package/build/api/models/delete-deployment200-response.js +15 -0
- 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/{cast-id.d.ts → embed-cast-deep-cast-id.d.ts} +6 -6
- package/build/api/models/embed-cast-deep-cast-id.js +15 -0
- package/build/api/models/embed-cast-deep.d.ts +5 -5
- package/build/api/models/embed-cast-deep.js +1 -1
- package/build/api/models/embed-cast.d.ts +5 -5
- 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-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/encoded-json-farcaster-signature.d.ts +1 -1
- package/build/api/models/encoded-json-farcaster-signature.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-fungible.d.ts +41 -0
- package/build/api/models/{neynar-page-image.js → farcaster-fungible.js} +4 -5
- 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/fetch-cast-quotes200-response.d.ts +1 -1
- package/build/api/models/fetch-cast-quotes200-response.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-relevant-frames200-response-relevant-frames-inner-frame-metadata.d.ts +1 -1
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame-metadata.js +1 -1
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame.d.ts +1 -1
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame.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/{frame-input.d.ts → fetch-trending-fungibles200-response-trending-inner-fungible-price.d.ts} +6 -6
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible-price.js +15 -0
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible.d.ts +78 -0
- package/build/api/models/{neynar-page-button.js → fetch-trending-fungibles200-response-trending-inner-fungible.js} +4 -7
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner.d.ts +35 -0
- package/build/api/models/{validated-frame-action.js → fetch-trending-fungibles200-response-trending-inner.js} +4 -4
- package/build/api/models/fetch-trending-fungibles200-response.d.ts +25 -0
- package/build/api/models/fetch-trending-fungibles200-response.js +15 -0
- 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/fetch-user-reciprocal-followers200-response.d.ts +1 -1
- package/build/api/models/fetch-user-reciprocal-followers200-response.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/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/frame-action-button.d.ts +1 -1
- package/build/api/models/frame-action-button.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-notification-tokens-notification-tokens-inner.d.ts +2 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +3 -2
- 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-req-body-transaction.d.ts +1 -1
- package/build/api/models/frame-pay-transaction-req-body-transaction.js +1 -1
- package/build/api/models/frame-pay-transaction-req-body.d.ts +1 -1
- package/build/api/models/frame-pay-transaction-req-body.js +1 -1
- package/build/api/models/frame-v1-input.d.ts +1 -1
- package/build/api/models/frame-v1-input.js +1 -1
- package/build/api/models/frame-v1-state.d.ts +1 -1
- package/build/api/models/frame-v1-state.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-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.d.ts +1 -1
- package/build/api/models/frame.js +1 -1
- package/build/api/models/fungible.d.ts +71 -0
- package/build/api/models/fungible.js +19 -0
- package/build/api/models/{fetch-frame-meta-tags-from-url200-response.d.ts → fungibles-response-schema.d.ts} +8 -8
- package/build/api/models/fungibles-response-schema.js +15 -0
- package/build/api/models/get-conversation-messages200-response-messages-inner.d.ts +66 -0
- package/build/api/models/get-conversation-messages200-response-messages-inner.js +21 -0
- package/build/api/models/get-conversation-messages200-response.d.ts +25 -0
- package/build/api/models/get-conversation-messages200-response.js +15 -0
- package/build/api/models/get-deployment-file200-response.d.ts +30 -0
- package/build/api/models/get-deployment-file200-response.js +15 -0
- package/build/api/models/{frame-state.d.ts → get-deployment-logs200-response.d.ts} +6 -6
- package/build/api/models/get-deployment-logs200-response.js +15 -0
- package/build/api/models/get-notification-campaign-stats200-response.d.ts +4 -4
- package/build/api/models/get-notification-campaign-stats200-response.js +1 -1
- package/build/api/models/html-metadata-oembed.d.ts +1 -1
- package/build/api/models/html-metadata-oembed.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 +39 -48
- package/build/api/models/index.js +39 -48
- 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/list-conversations200-response-conversations-inner.d.ts +48 -0
- package/build/api/models/list-conversations200-response-conversations-inner.js +15 -0
- package/build/api/models/list-conversations200-response.d.ts +25 -0
- package/build/api/models/list-conversations200-response.js +15 -0
- package/build/api/models/list-deployment-files200-response-files-inner.d.ts +36 -0
- package/build/api/models/list-deployment-files200-response-files-inner.js +15 -0
- package/build/api/models/list-deployment-files200-response.d.ts +25 -0
- package/build/api/models/list-deployment-files200-response.js +15 -0
- package/build/api/models/list-deployments200-response-inner.d.ts +72 -0
- package/build/api/models/list-deployments200-response-inner.js +15 -0
- package/build/api/models/{delete-frame-req-body.d.ts → list-deployments400-response.d.ts} +5 -5
- package/build/api/models/list-deployments400-response.js +15 -0
- 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/mint-nft-request-recipients-inner.d.ts +1 -1
- package/build/api/models/mint-nft-request-recipients-inner.js +1 -1
- package/build/api/models/mint-nft-request.d.ts +1 -1
- package/build/api/models/mint-nft-request.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-receipt.d.ts +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-receipt.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-recipient.d.ts +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-recipient.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner.d.ts +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner.js +1 -1
- package/build/api/models/mint-nft200-response.d.ts +1 -1
- package/build/api/models/mint-nft200-response.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/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/nonce-response.d.ts +1 -1
- package/build/api/models/nonce-response.js +1 -1
- package/build/api/models/{get-notification-campaign-stats200-response-notification-campaigns-inner-stats-error-breakdown.d.ts → notification-campaign-stats-error-breakdown.d.ts} +5 -5
- package/build/api/models/notification-campaign-stats-error-breakdown.js +15 -0
- package/build/api/models/{get-notification-campaign-stats200-response-notification-campaigns-inner-stats.d.ts → notification-campaign-stats.d.ts} +15 -15
- package/build/api/models/notification-campaign-stats.js +15 -0
- package/build/api/models/notification-campaign.d.ts +49 -0
- package/build/api/models/notification-campaign.js +15 -0
- package/build/api/models/notification-delivery.d.ts +6 -2
- package/build/api/models/notification-delivery.js +6 -2
- 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-link-data.d.ts +1 -1
- package/build/api/models/oembed-link-data.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.d.ts +1 -1
- package/build/api/models/oembed-rich-data.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/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-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 +1 -1
- package/build/api/models/post-cast-req-body.js +1 -1
- package/build/api/models/post-cast-response-cast-author.d.ts +1 -1
- 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/prompt-deployment-request.d.ts +50 -0
- package/build/api/models/prompt-deployment-request.js +15 -0
- package/build/api/models/prompt-deployment200-response.d.ts +30 -0
- package/build/api/models/prompt-deployment200-response.js +15 -0
- 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/reciprocal-follower.d.ts +1 -1
- package/build/api/models/reciprocal-follower.js +1 -1
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.d.ts +1 -1
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.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-signed-key-for-developer-managed-auth-address200-response.d.ts +1 -1
- package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.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-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/{neynar-frame-update-req-body.d.ts → register-user-req-body-signer.d.ts} +17 -12
- package/build/api/models/register-user-req-body-signer.js +15 -0
- package/build/api/models/register-user-req-body.d.ts +8 -1
- package/build/api/models/register-user-req-body.js +1 -1
- package/build/api/models/register-user-response-signers-inner.d.ts +72 -0
- package/build/api/models/register-user-response-signers-inner.js +25 -0
- package/build/api/models/register-user-response.d.ts +9 -2
- 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/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 +2 -2
- 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/{app-host-post-event-req-body-one-of-signed-message.d.ts → signed-message-body-signed-message.d.ts} +3 -3
- package/build/api/models/signed-message-body-signed-message.js +15 -0
- package/build/api/models/{app-host-post-event-req-body-one-of.d.ts → signed-message-body.d.ts} +8 -8
- package/build/api/models/signed-message-body.js +15 -0
- 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/{app-host-post-event-req-body-one-of1.d.ts → signer-uuid-body.d.ts} +7 -7
- package/build/api/models/signer-uuid-body.js +15 -0
- package/build/api/models/signer.d.ts +1 -1
- package/build/api/models/signer.js +1 -1
- package/build/api/models/simulate-nft-mint-response-inner.d.ts +1 -1
- package/build/api/models/simulate-nft-mint-response-inner.js +1 -1
- package/build/api/models/simulate-nft-mint-response.d.ts +1 -1
- package/build/api/models/simulate-nft-mint-response.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-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-value.d.ts +1 -1
- package/build/api/models/subscription-check-response-value.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-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-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.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 +1 -1
- package/build/api/models/transaction-send-fungibles-receipt.js +1 -1
- package/build/api/models/transaction-send-fungibles-recipient.d.ts +1 -1
- package/build/api/models/transaction-send-fungibles-recipient.js +1 -1
- package/build/api/models/transaction-send-fungibles-req-body.d.ts +1 -1
- package/build/api/models/transaction-send-fungibles-req-body.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 +14 -2
- package/build/api/models/update-user-req-body.js +1 -1
- package/build/api/models/{frame-transaction.d.ts → update-user207-response-errors-inner.d.ts} +6 -6
- package/build/api/models/update-user207-response-errors-inner.js +15 -0
- package/build/api/models/{validate-frame-action-response.d.ts → update-user207-response.d.ts} +9 -9
- package/build/api/models/update-user207-response.js +15 -0
- package/build/api/models/{cast-composer-actions-list-response-actions-inner-action.d.ts → upload-image-url-request.d.ts} +15 -9
- package/build/api/models/upload-image-url-request.js +15 -0
- package/build/api/models/upload-image200-response.d.ts +42 -0
- package/build/api/models/upload-image200-response.js +15 -0
- package/build/api/models/user-auth-addresses-inner.d.ts +1 -1
- package/build/api/models/user-auth-addresses-inner.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-pro.d.ts +1 -1
- package/build/api/models/user-pro.js +1 -1
- package/build/api/models/user-profile-banner.d.ts +1 -1
- package/build/api/models/user-profile-banner.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 +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/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 +13 -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-trade.d.ts +36 -0
- package/build/api/models/webhook-subscription-filters-trade.js +15 -0
- 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 +8 -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 +461 -379
- package/build/clients/NeynarAPIClient.js +491 -403
- package/build/hub-api/base.js +1 -1
- package/package.json +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner.d.ts +0 -97
- package/build/api/models/cast-composer-actions-list-response-actions-inner.js +0 -15
- package/build/api/models/cast-composer-actions-list-response.d.ts +0 -32
- package/build/api/models/cast-composer-actions-list-response.js +0 -15
- package/build/api/models/cast-id.js +0 -15
- package/build/api/models/delete-frame-req-body.js +0 -15
- package/build/api/models/delete-frame-response.js +0 -15
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +0 -15
- package/build/api/models/frame-action-req-body.d.ts +0 -37
- package/build/api/models/frame-action-req-body.js +0 -15
- package/build/api/models/frame-action.d.ts +0 -82
- package/build/api/models/frame-action.js +0 -15
- package/build/api/models/frame-developer-managed-action-req-body.d.ts +0 -38
- package/build/api/models/frame-developer-managed-action-req-body.js +0 -15
- package/build/api/models/frame-input.js +0 -15
- package/build/api/models/frame-signature-packet-trusted-data.d.ts +0 -24
- package/build/api/models/frame-signature-packet-trusted-data.js +0 -15
- package/build/api/models/frame-signature-packet-untrusted-data.d.ts +0 -85
- package/build/api/models/frame-signature-packet-untrusted-data.js +0 -15
- package/build/api/models/frame-signature-packet.d.ts +0 -32
- package/build/api/models/frame-signature-packet.js +0 -15
- package/build/api/models/frame-state.js +0 -15
- package/build/api/models/frame-transaction.js +0 -15
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +0 -36
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.js +0 -15
- package/build/api/models/frame-validate-analytics-input-text.d.ts +0 -25
- package/build/api/models/frame-validate-analytics-input-text.js +0 -15
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.d.ts +0 -48
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.js +0 -15
- package/build/api/models/frame-validate-analytics-interactions-per-cast.d.ts +0 -25
- package/build/api/models/frame-validate-analytics-interactions-per-cast.js +0 -15
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.d.ts +0 -36
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.js +0 -15
- package/build/api/models/frame-validate-analytics-interactors.d.ts +0 -25
- package/build/api/models/frame-validate-analytics-interactors.js +0 -15
- package/build/api/models/frame-validate-analytics-response.d.ts +0 -20
- package/build/api/models/frame-validate-analytics-response.js +0 -15
- package/build/api/models/frame-validate-analytics-total-interactors.d.ts +0 -24
- package/build/api/models/frame-validate-analytics-total-interactors.js +0 -15
- package/build/api/models/frame-validate-list-response.d.ts +0 -24
- package/build/api/models/frame-validate-list-response.js +0 -15
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats-error-breakdown.js +0 -15
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner-stats.js +0 -15
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.d.ts +0 -49
- package/build/api/models/get-notification-campaign-stats200-response-notification-campaigns-inner.js +0 -15
- package/build/api/models/neynar-frame-creation-req-body.js +0 -15
- package/build/api/models/neynar-frame-page.d.ts +0 -57
- package/build/api/models/neynar-frame-page.js +0 -15
- package/build/api/models/neynar-frame-update-req-body.js +0 -15
- package/build/api/models/neynar-frame.d.ts +0 -49
- package/build/api/models/neynar-frame.js +0 -15
- package/build/api/models/neynar-next-frame-page-mint-url.d.ts +0 -24
- package/build/api/models/neynar-next-frame-page-mint-url.js +0 -15
- package/build/api/models/neynar-next-frame-page-redirect.d.ts +0 -24
- package/build/api/models/neynar-next-frame-page-redirect.js +0 -15
- package/build/api/models/neynar-next-frame-page.d.ts +0 -24
- package/build/api/models/neynar-next-frame-page.js +0 -15
- package/build/api/models/neynar-page-button-next-page.d.ts +0 -19
- package/build/api/models/neynar-page-button-next-page.js +0 -15
- package/build/api/models/neynar-page-button.d.ts +0 -50
- package/build/api/models/neynar-page-image.d.ts +0 -35
- package/build/api/models/neynar-page-input-text.js +0 -15
- package/build/api/models/neynar-page-input.d.ts +0 -25
- package/build/api/models/neynar-page-input.js +0 -15
- package/build/api/models/validate-frame-action-req-body.d.ts +0 -48
- package/build/api/models/validate-frame-action-req-body.js +0 -15
- package/build/api/models/validate-frame-action-response.js +0 -15
- package/build/api/models/validated-frame-action-signer.d.ts +0 -25
- package/build/api/models/validated-frame-action-signer.js +0 -15
- package/build/api/models/validated-frame-action-tapped-button.d.ts +0 -24
- package/build/api/models/validated-frame-action-tapped-button.js +0 -15
- package/build/api/models/validated-frame-action.d.ts +0 -95
|
@@ -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 { AppHostGetEventEventEnum, AppHostGetEventResponse, AppHostPostEventResponse, AppHostUserStateResponse, AuthorizationUrlResponse, BalanceResponse, BanListResponse, BanResponse, BestFriendsResponse, BlockListResponse, BulkCastsResponse, BulkFollowResponse, BulkUsersByAddressResponse, BulkUsersResponse,
|
|
5
|
+
import type { AppHostGetEventEventEnum, AppHostGetEventResponse, AppHostPostEventResponse, AppHostUserStateResponse, AssociateDeployment200Response, AssociateDeploymentRequest, AuthorizationUrlResponse, BalanceResponse, BanListResponse, BanResponse, BestFriendsResponse, BlockListResponse, BulkCastsResponse, BulkFollowResponse, BulkUsersByAddressResponse, BulkUsersResponse, CastEmbedCrawlResponse, CastResponse, CastsMetricsResponse, CastsResponse, CastsSearchResponse, ChannelListResponse, ChannelMemberInviteListResponse, ChannelMemberListResponse, ChannelMemberRole, ChannelResponse, ChannelResponseBulk, ChannelSearchResponse, Conversation, ConversationSummary, CreateDeploymentRequest, DeleteDeployment200Response, DeleteDeploymentRequest, DeployFungibleFactoryEnum, DeployFungibleMetadataNsfwEnum, DeployFungibleNetworkEnum, DeployFungibleResponse, DeveloperManagedSigner, ErrorRes, FarcasterActionReqBodyAction, FeedResponse, FetchAllNotificationsTypeEnum, FetchAuthorizationUrlResponseTypeEnum, FetchBulkCastsSortTypeEnum, FetchBulkChannelsTypeEnum, FetchBulkUsersByEthOrSolAddressAddressTypesEnum, FetchCastMetricsIntervalEnum, FetchCastQuotes200Response, FetchCastQuotesTypeEnum, FetchCastReactionsTypesEnum, FetchFeedEmbedTypesEnum, FetchFeedFeedTypeEnum, FetchFeedFilterTypeEnum, FetchFeedForYouProviderEnum, FetchFrameCatalogCategoriesEnum, FetchFrameCatalogNetworksEnum, FetchFrameCatalogTimeWindowEnum, FetchRelevantFrames200Response, FetchRelevantFramesNetworksEnum, FetchRelevantFramesTimeWindowEnum, FetchRelevantFungibleOwnersNetworkEnum, FetchRepliesAndRecastsForUserFilterEnum, FetchSubscribedToForFidSubscriptionProviderEnum, FetchSubscribersForFidSubscriptionProviderEnum, FetchSubscriptionsForFidSubscriptionProviderEnum, FetchTrendingChannelsTimeWindowEnum, FetchTrendingFeedProviderEnum, FetchTrendingFeedTimeWindowEnum, FetchTrendingFungibles200Response, FetchTrendingFungiblesNetworkEnum, FetchTrendingFungiblesTimeWindowEnum, FetchUserBalanceNetworksEnum, FetchUserFollowersSortTypeEnum, FetchUserFollowingSortTypeEnum, FetchUserInteractions200Response, FetchUserInteractionsTypeEnum, FetchUserReactionsTypeEnum, FetchUserReciprocalFollowers200Response, FetchUserReciprocalFollowersSortTypeEnum, FnameAvailabilityResponse, FollowersResponse, FrameCatalogResponse, FrameNotificationTokens, FramePayTransactionReqBodyTransaction, FungiblesResponseSchema, GetConversationMessages200Response, GetDeploymentFile200Response, GetDeploymentLogs200Response, GetNotificationCampaignStats200Response, ListConversations200Response, ListDeploymentFiles200Response, ListDeployments200ResponseInner, LookupCastByHashOrUrlTypeEnum, LookupCastConversationFoldEnum, LookupCastConversationSortTypeEnum, LookupCastConversationTypeEnum, LookupChannelTypeEnum, MintNft200Response, MintNftRequest, MuteListResponse, MuteResponse, NonceResponse, NotificationType, NotificationsResponse, OperationResponse, PostCastReqBodyEmbeds, PostCastResponse, PromptDeployment200Response, PromptDeploymentRequest, ReactionType, ReactionsCastResponse, ReactionsResponse, RegisterSignedKeyForDeveloperManagedAuthAddress200Response, RegisterUserOnChainReqBodyPreRegistrationCallsInner, RegisterUserOnChainReqBodyRegistration, RegisterUserOnChainReqBodySignersInner, RegisterUserOnChainResponse, RegisterUserReqBodyMetadata, RegisterUserReqBodySigner, RegisterUserResponse, RelevantFollowersResponse, RelevantFungibleOwnersResponse, SearchCastsModeEnum, SearchCastsSortTypeEnum, SearchFramesNetworksEnum, SendFrameNotificationsReqBodyFilters, SendFrameNotificationsReqBodyNotification, SendFrameNotificationsResponse, SignedKeyRequestSponsor, Signer, SignerListResponse, SimulateNftMintNetworkEnum, SimulateNftMintResponse, StorageAllocationsResponse, StorageUsageResponse, SubscribedToResponse, SubscribersResponse, SubscriptionCheckResponse, SubscriptionsResponse, TransactionFrameConfig, TransactionFrameResponse, TransactionSendFungiblesRecipient, TransactionSendFungiblesReqBodyNetworkEnum, TransactionSendFungiblesResponse, TrendingChannelResponse, UpdateUserReqBodyLocation, UpdateUserReqBodyVerifiedAccounts, UploadImage200Response, UploadImageUrlRequest, UserFIDResponse, UserResponse, UserSearchResponse, UsersActiveChannelsResponse, UsersResponse, VerificationChainId, VerificationType, WebhookListResponse, WebhookPatchReqBodyActiveEnum, WebhookResponse, WebhookSubscriptionFilters } from '../api';
|
|
6
6
|
export interface NeynarAPIClientOptions {
|
|
7
7
|
logger?: Logger;
|
|
8
8
|
axiosInstance?: AxiosInstance;
|
|
@@ -543,36 +543,6 @@ export declare class NeynarAPIClient {
|
|
|
543
543
|
limit?: number;
|
|
544
544
|
cursor?: string;
|
|
545
545
|
}): Promise<FetchCastQuotes200Response>;
|
|
546
|
-
/**
|
|
547
|
-
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
548
|
-
*
|
|
549
|
-
* @summary Fetch composer actions
|
|
550
|
-
*
|
|
551
|
-
* @param {object} params
|
|
552
|
-
* @param {FetchComposerActionsListEnum} params.list - Type of list to fetch.
|
|
553
|
-
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 25)
|
|
554
|
-
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
555
|
-
*
|
|
556
|
-
* @returns {Promise<CastComposerActionsListResponse>} A promise that resolves to a `CastComposerActionsListResponse` object.
|
|
557
|
-
*
|
|
558
|
-
* @example
|
|
559
|
-
*
|
|
560
|
-
* // Fill in the appropriate values
|
|
561
|
-
* const list =
|
|
562
|
-
* const limit =
|
|
563
|
-
*
|
|
564
|
-
* client.fetchComposerActions({ list, limit }).then(response => {
|
|
565
|
-
* console.log('response:', response);
|
|
566
|
-
* });
|
|
567
|
-
*
|
|
568
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-composer-actions)
|
|
569
|
-
*
|
|
570
|
-
*/
|
|
571
|
-
fetchComposerActions(params: {
|
|
572
|
-
list: FetchComposerActionsListEnum;
|
|
573
|
-
limit?: number;
|
|
574
|
-
cursor?: string;
|
|
575
|
-
}): Promise<CastComposerActionsListResponse>;
|
|
576
546
|
/**
|
|
577
547
|
* Crawls the given URL and returns metadata useful when embedding the URL in a cast.
|
|
578
548
|
*
|
|
@@ -726,7 +696,7 @@ export declare class NeynarAPIClient {
|
|
|
726
696
|
* @summary Search for casts
|
|
727
697
|
*
|
|
728
698
|
* @param {object} params
|
|
729
|
-
* @param {string} params.q - Query string to search for casts. Supported operators: | Operator | Description | | --------- | -------------------------------------------------------------------------------------------------------- | | `+` | Acts as the AND operator. This is the default operator between terms and can usually be omitted. | | `|` | Acts as the OR operator. | | `*` | When used at the end of a term, signifies a prefix query. | | `"` | Wraps several terms into a phrase (for example, `"star wars"`). | | `(`, `)` | Wrap a clause for precedence (for example, `star + (wars | trek)`). | | `~n` | When used after a term (for example, `satr~3`), sets `fuzziness`. When used after a phrase, sets `slop`. | | `-` | Negates the term. | | `before:` | Search for casts before a specific date. (e.g. `before:2025-04-20`)
|
|
699
|
+
* @param {string} params.q - Query string to search for casts. Supported operators: | Operator | Description | | --------- | -------------------------------------------------------------------------------------------------------- | | `+` | Acts as the AND operator. This is the default operator between terms and can usually be omitted. | | `|` | Acts as the OR operator. | | `*` | When used at the end of a term, signifies a prefix query. | | `"` | Wraps several terms into a phrase (for example, `"star wars"`). | | `(`, `)` | Wrap a clause for precedence (for example, `star + (wars | trek)`). | | `~n` | When used after a term (for example, `satr~3`), sets `fuzziness`. When used after a phrase, sets `slop`. | | `-` | Negates the term. | | `before:` | Search for casts before a specific date. (e.g. `before:2025-04-20` or `before:2025-04-20T23:59:59`) | | `after:` | Search for casts after a specific date. (e.g. `after:2025-04-20` or `after:2025-04-20T00:00:00`) |
|
|
730
700
|
* @param {SearchCastsModeEnum} params.mode [optional] - Choices are: - `literal` - Searches for the words in the query string (default) - `semantic` - Searches for the meaning of the query string - `hybrid` - Combines both literal and semantic results
|
|
731
701
|
* @param {SearchCastsSortTypeEnum} params.sortType [optional] - Choices are: - `desc_chron` - All casts sorted by time in a descending order (default) - `chron` - All casts sorted by time in ascending order - `algorithmic` - Casts sorted by engagement and time
|
|
732
702
|
* @param {number} params.authorFid [optional] - Fid of the user whose casts you want to search
|
|
@@ -1523,36 +1493,6 @@ export declare class NeynarAPIClient {
|
|
|
1523
1493
|
limit?: number;
|
|
1524
1494
|
cursor?: string;
|
|
1525
1495
|
}): Promise<FeedResponse>;
|
|
1526
|
-
/**
|
|
1527
|
-
* Fetch feed of casts with mini apps, reverse chronological order
|
|
1528
|
-
*
|
|
1529
|
-
* @summary Casts with mini apps
|
|
1530
|
-
*
|
|
1531
|
-
* @param {object} params
|
|
1532
|
-
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
|
|
1533
|
-
* @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
|
|
1534
|
-
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
1535
|
-
*
|
|
1536
|
-
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object.
|
|
1537
|
-
*
|
|
1538
|
-
* @example
|
|
1539
|
-
*
|
|
1540
|
-
* // Fill in the appropriate values
|
|
1541
|
-
* const limit =
|
|
1542
|
-
* const viewerFid =
|
|
1543
|
-
*
|
|
1544
|
-
* client.fetchFramesOnlyFeed({ limit, viewerFid }).then(response => {
|
|
1545
|
-
* console.log('response:', response);
|
|
1546
|
-
* });
|
|
1547
|
-
*
|
|
1548
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frames-only-feed)
|
|
1549
|
-
*
|
|
1550
|
-
*/
|
|
1551
|
-
fetchFramesOnlyFeed(params: {
|
|
1552
|
-
limit?: number;
|
|
1553
|
-
viewerFid?: number;
|
|
1554
|
-
cursor?: string;
|
|
1555
|
-
}): Promise<FeedResponse>;
|
|
1556
1496
|
/**
|
|
1557
1497
|
* Fetch 10 most popular casts for a given user FID; popularity based on replies, likes and recasts; sorted by most popular first
|
|
1558
1498
|
*
|
|
@@ -1890,31 +1830,6 @@ export declare class NeynarAPIClient {
|
|
|
1890
1830
|
cursor?: string;
|
|
1891
1831
|
sortType?: FetchUserReciprocalFollowersSortTypeEnum;
|
|
1892
1832
|
}): Promise<FetchUserReciprocalFollowers200Response>;
|
|
1893
|
-
/**
|
|
1894
|
-
* Delete an existing mini app, if it was made by the developer (identified by API key)
|
|
1895
|
-
*
|
|
1896
|
-
* @summary Delete mini app
|
|
1897
|
-
*
|
|
1898
|
-
* @param {object} params
|
|
1899
|
-
* @param {string} params.uuid [optional]
|
|
1900
|
-
*
|
|
1901
|
-
* @returns {Promise<DeleteFrameResponse>} A promise that resolves to a `DeleteFrameResponse` object.
|
|
1902
|
-
*
|
|
1903
|
-
* @example
|
|
1904
|
-
*
|
|
1905
|
-
* // Fill in the appropriate values
|
|
1906
|
-
* const uuid =
|
|
1907
|
-
*
|
|
1908
|
-
* client.deleteNeynarFrame({uuid}).then(response => {
|
|
1909
|
-
* console.log('response:', response);
|
|
1910
|
-
* });
|
|
1911
|
-
*
|
|
1912
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-neynar-frame)
|
|
1913
|
-
*
|
|
1914
|
-
*/
|
|
1915
|
-
deleteNeynarFrame(params: {
|
|
1916
|
-
uuid?: string;
|
|
1917
|
-
}): Promise<DeleteFrameResponse>;
|
|
1918
1833
|
/**
|
|
1919
1834
|
* A curated list of featured mini apps
|
|
1920
1835
|
*
|
|
@@ -1951,49 +1866,6 @@ export declare class NeynarAPIClient {
|
|
|
1951
1866
|
categories?: Array<FetchFrameCatalogCategoriesEnum>;
|
|
1952
1867
|
networks?: Array<FetchFrameCatalogNetworksEnum>;
|
|
1953
1868
|
}): Promise<FrameCatalogResponse>;
|
|
1954
|
-
/**
|
|
1955
|
-
* Fetches the mini app meta tags from the URL
|
|
1956
|
-
*
|
|
1957
|
-
* @summary Meta tags from URL
|
|
1958
|
-
*
|
|
1959
|
-
* @param {object} params
|
|
1960
|
-
* @param {string} params.url - The mini app URL to crawl
|
|
1961
|
-
*
|
|
1962
|
-
* @returns {Promise<FetchFrameMetaTagsFromUrl200Response>} A promise that resolves to a `FetchFrameMetaTagsFromUrl200Response` object.
|
|
1963
|
-
*
|
|
1964
|
-
* @example
|
|
1965
|
-
*
|
|
1966
|
-
* // Fill in the appropriate values
|
|
1967
|
-
* const url =
|
|
1968
|
-
*
|
|
1969
|
-
* client.fetchFrameMetaTagsFromUrl({ url }).then(response => {
|
|
1970
|
-
* console.log('response:', response);
|
|
1971
|
-
* });
|
|
1972
|
-
*
|
|
1973
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frame-meta-tags-from-url)
|
|
1974
|
-
*
|
|
1975
|
-
*/
|
|
1976
|
-
fetchFrameMetaTagsFromUrl(params: {
|
|
1977
|
-
url: string;
|
|
1978
|
-
}): Promise<FetchFrameMetaTagsFromUrl200Response>;
|
|
1979
|
-
/**
|
|
1980
|
-
* Fetch a list of mini apps made by the developer (identified by API key)
|
|
1981
|
-
*
|
|
1982
|
-
* @summary List of mini apps
|
|
1983
|
-
*
|
|
1984
|
-
*
|
|
1985
|
-
* @returns {Promise<Array<NeynarFrame>>} A promise that resolves to a `Array<NeynarFrame>` object.
|
|
1986
|
-
*
|
|
1987
|
-
* @example
|
|
1988
|
-
*
|
|
1989
|
-
* client.fetchNeynarFrames().then(response => {
|
|
1990
|
-
* console.log('response:', response);
|
|
1991
|
-
* });
|
|
1992
|
-
*
|
|
1993
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-neynar-frames)
|
|
1994
|
-
*
|
|
1995
|
-
*/
|
|
1996
|
-
fetchNeynarFrames(): Promise<Array<NeynarFrame>>;
|
|
1997
1869
|
/**
|
|
1998
1870
|
* Returns a list of notifications tokens related to a mini app
|
|
1999
1871
|
*
|
|
@@ -2055,61 +1927,6 @@ export declare class NeynarAPIClient {
|
|
|
2055
1927
|
timeWindow?: FetchRelevantFramesTimeWindowEnum;
|
|
2056
1928
|
networks?: Array<FetchRelevantFramesNetworksEnum>;
|
|
2057
1929
|
}): Promise<FetchRelevantFrames200Response>;
|
|
2058
|
-
/**
|
|
2059
|
-
* Fetch analytics for total-interactors, interactors, nteractions-per-cast and input-text.
|
|
2060
|
-
*
|
|
2061
|
-
* @summary Analytics for the mini app
|
|
2062
|
-
*
|
|
2063
|
-
* @param {object} params
|
|
2064
|
-
* @param {string} params.frameUrl - URL of the mini app to fetch analytics for
|
|
2065
|
-
* @param {FetchValidateFrameAnalyticsAnalyticsTypeEnum} params.analyticsType - Type of analytics to fetch
|
|
2066
|
-
* @param {string} params.start
|
|
2067
|
-
* @param {string} params.stop
|
|
2068
|
-
* @param {FetchValidateFrameAnalyticsAggregateWindowEnum} params.aggregateWindow [optional] - Required for `analytics_type=interactions-per-cast`
|
|
2069
|
-
*
|
|
2070
|
-
* @returns {Promise<FrameValidateAnalyticsResponse>} A promise that resolves to a `FrameValidateAnalyticsResponse` object.
|
|
2071
|
-
*
|
|
2072
|
-
* @example
|
|
2073
|
-
*
|
|
2074
|
-
* // Fill in the appropriate values
|
|
2075
|
-
* const frameUrl =
|
|
2076
|
-
* const analyticsType =
|
|
2077
|
-
* const start =
|
|
2078
|
-
* const stop =
|
|
2079
|
-
* const aggregateWindow =
|
|
2080
|
-
*
|
|
2081
|
-
* client.fetchValidateFrameAnalytics({ frameUrl, analyticsType, start, stop, aggregateWindow }).then(response => {
|
|
2082
|
-
* console.log('response:', response);
|
|
2083
|
-
* });
|
|
2084
|
-
*
|
|
2085
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-validate-frame-analytics)
|
|
2086
|
-
*
|
|
2087
|
-
*/
|
|
2088
|
-
fetchValidateFrameAnalytics(params: {
|
|
2089
|
-
frameUrl: string;
|
|
2090
|
-
analyticsType: FetchValidateFrameAnalyticsAnalyticsTypeEnum;
|
|
2091
|
-
start: string;
|
|
2092
|
-
stop: string;
|
|
2093
|
-
aggregateWindow?: FetchValidateFrameAnalyticsAggregateWindowEnum;
|
|
2094
|
-
}): Promise<FrameValidateAnalyticsResponse>;
|
|
2095
|
-
/**
|
|
2096
|
-
* Fetch a list of all the mini apps validated by a user
|
|
2097
|
-
*
|
|
2098
|
-
* @summary All mini apps validated by user
|
|
2099
|
-
*
|
|
2100
|
-
*
|
|
2101
|
-
* @returns {Promise<FrameValidateListResponse>} A promise that resolves to a `FrameValidateListResponse` object.
|
|
2102
|
-
*
|
|
2103
|
-
* @example
|
|
2104
|
-
*
|
|
2105
|
-
* client.fetchValidateFrameList().then(response => {
|
|
2106
|
-
* console.log('response:', response);
|
|
2107
|
-
* });
|
|
2108
|
-
*
|
|
2109
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-validate-frame-list)
|
|
2110
|
-
*
|
|
2111
|
-
*/
|
|
2112
|
-
fetchValidateFrameList(): Promise<FrameValidateListResponse>;
|
|
2113
1930
|
/**
|
|
2114
1931
|
* Retrieve notification delivery and opened stats for notification campaigns
|
|
2115
1932
|
*
|
|
@@ -2165,106 +1982,13 @@ export declare class NeynarAPIClient {
|
|
|
2165
1982
|
getTransactionPayFrame(params: {
|
|
2166
1983
|
id: string;
|
|
2167
1984
|
}): Promise<TransactionFrameResponse>;
|
|
2168
|
-
/**
|
|
2169
|
-
* Fetch a mini app either by UUID or Neynar URL
|
|
2170
|
-
*
|
|
2171
|
-
* @summary Mini app by UUID or URL
|
|
2172
|
-
*
|
|
2173
|
-
* @param {object} params
|
|
2174
|
-
* @param {LookupNeynarFrameTypeEnum} params.type - Type of identifier (either 'uuid' or 'url')
|
|
2175
|
-
* @param {string} params.uuid [optional] - UUID of the mini app to fetch
|
|
2176
|
-
* @param {string} params.url [optional] - URL of the Neynar mini app to fetch
|
|
2177
|
-
*
|
|
2178
|
-
* @returns {Promise<NeynarFrame>} A promise that resolves to a `NeynarFrame` object.
|
|
2179
|
-
*
|
|
2180
|
-
* @example
|
|
2181
|
-
*
|
|
2182
|
-
* // Fill in the appropriate values
|
|
2183
|
-
* const type =
|
|
2184
|
-
* const uuid =
|
|
2185
|
-
* const url =
|
|
2186
|
-
*
|
|
2187
|
-
* client.lookupNeynarFrame({ type, uuid, url }).then(response => {
|
|
2188
|
-
* console.log('response:', response);
|
|
2189
|
-
* });
|
|
2190
|
-
*
|
|
2191
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-neynar-frame)
|
|
2192
|
-
*
|
|
2193
|
-
*/
|
|
2194
|
-
lookupNeynarFrame(params: {
|
|
2195
|
-
type: LookupNeynarFrameTypeEnum;
|
|
2196
|
-
uuid?: string;
|
|
2197
|
-
url?: string;
|
|
2198
|
-
}): Promise<NeynarFrame>;
|
|
2199
|
-
/**
|
|
2200
|
-
* Post mini app actions, cast actions or cast composer actions to the server (In order to post any of these actions, you need to have an approved `signer_uuid`) The POST request to the post_url has a timeout of 5 seconds for mini apps.
|
|
2201
|
-
*
|
|
2202
|
-
* @summary Post a mini app action, cast action or a cast composer action
|
|
2203
|
-
*
|
|
2204
|
-
* @param {object} params
|
|
2205
|
-
* @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.
|
|
2206
|
-
* @param {string} params.castHash [optional]
|
|
2207
|
-
* @param {FrameAction} params.action
|
|
2208
|
-
*
|
|
2209
|
-
* @returns {Promise<Frame>} A promise that resolves to a `Frame` object.
|
|
2210
|
-
*
|
|
2211
|
-
* @example
|
|
2212
|
-
*
|
|
2213
|
-
* // Fill in the appropriate values
|
|
2214
|
-
* const signerUuid =
|
|
2215
|
-
* const castHash =
|
|
2216
|
-
* const action =
|
|
2217
|
-
*
|
|
2218
|
-
* client.postFrameAction({signerUuid, castHash, action}).then(response => {
|
|
2219
|
-
* console.log('response:', response);
|
|
2220
|
-
* });
|
|
2221
|
-
*
|
|
2222
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/post-frame-action)
|
|
2223
|
-
*
|
|
2224
|
-
*/
|
|
2225
|
-
postFrameAction(params: {
|
|
2226
|
-
signerUuid: string;
|
|
2227
|
-
castHash?: string;
|
|
2228
|
-
action: FrameAction;
|
|
2229
|
-
}): Promise<Frame>;
|
|
2230
|
-
/**
|
|
2231
|
-
* Post a mini app action that has been signed with a developer managed signer The POST request to the post_url has a timeout of 5 seconds.
|
|
2232
|
-
*
|
|
2233
|
-
* @summary Signature packet
|
|
2234
|
-
*
|
|
2235
|
-
* @param {object} params
|
|
2236
|
-
* @param {string} params.castHash [optional]
|
|
2237
|
-
* @param {FrameAction} params.action
|
|
2238
|
-
* @param {FrameSignaturePacket} params.signaturePacket
|
|
2239
|
-
*
|
|
2240
|
-
* @returns {Promise<Frame>} A promise that resolves to a `Frame` object.
|
|
2241
|
-
*
|
|
2242
|
-
* @example
|
|
2243
|
-
*
|
|
2244
|
-
* // Fill in the appropriate values
|
|
2245
|
-
* const castHash =
|
|
2246
|
-
* const action =
|
|
2247
|
-
* const signaturePacket =
|
|
2248
|
-
*
|
|
2249
|
-
* client.postFrameActionDeveloperManaged({castHash, action, signaturePacket}).then(response => {
|
|
2250
|
-
* console.log('response:', response);
|
|
2251
|
-
* });
|
|
2252
|
-
*
|
|
2253
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/post-frame-action-developer-managed)
|
|
2254
|
-
*
|
|
2255
|
-
*/
|
|
2256
|
-
postFrameActionDeveloperManaged(params: {
|
|
2257
|
-
castHash?: string;
|
|
2258
|
-
action: FrameAction;
|
|
2259
|
-
signaturePacket: FrameSignaturePacket;
|
|
2260
|
-
}): Promise<Frame>;
|
|
2261
1985
|
/**
|
|
2262
1986
|
* Send notifications to interactors of a mini app
|
|
2263
1987
|
*
|
|
2264
1988
|
* @summary Send notifications
|
|
2265
1989
|
*
|
|
2266
1990
|
* @param {object} params
|
|
2267
|
-
* @param {Array<number>} params.targetFids - An array of target FIDs to whom the notifications should be sent. Each FID must be a positive integer. Pass an empty array to send notifications to all FIDs with notifications enabled for the mini app.
|
|
1991
|
+
* @param {Array<number>} params.targetFids [optional] - An array of target FIDs to whom the notifications should be sent. Each FID must be a positive integer. Pass an empty array to send notifications to all FIDs with notifications enabled for the mini app.
|
|
2268
1992
|
* @param {SendFrameNotificationsReqBodyFilters} params.filters [optional]
|
|
2269
1993
|
* @param {SendFrameNotificationsReqBodyNotification} params.notification
|
|
2270
1994
|
*
|
|
@@ -2285,38 +2009,10 @@ export declare class NeynarAPIClient {
|
|
|
2285
2009
|
*
|
|
2286
2010
|
*/
|
|
2287
2011
|
publishFrameNotifications(params: {
|
|
2288
|
-
targetFids
|
|
2012
|
+
targetFids?: Array<number>;
|
|
2289
2013
|
filters?: SendFrameNotificationsReqBodyFilters;
|
|
2290
2014
|
notification: SendFrameNotificationsReqBodyNotification;
|
|
2291
2015
|
}): Promise<SendFrameNotificationsResponse>;
|
|
2292
|
-
/**
|
|
2293
|
-
* Create a new mini app with a list of pages.
|
|
2294
|
-
*
|
|
2295
|
-
* @summary Create mini app
|
|
2296
|
-
*
|
|
2297
|
-
* @param {object} params
|
|
2298
|
-
* @param {string} params.name - The name of the mini app.
|
|
2299
|
-
* @param {Array<NeynarFramePage>} params.pages
|
|
2300
|
-
*
|
|
2301
|
-
* @returns {Promise<NeynarFrame>} A promise that resolves to a `NeynarFrame` object.
|
|
2302
|
-
*
|
|
2303
|
-
* @example
|
|
2304
|
-
*
|
|
2305
|
-
* // Fill in the appropriate values
|
|
2306
|
-
* const name =
|
|
2307
|
-
* const pages =
|
|
2308
|
-
*
|
|
2309
|
-
* client.publishNeynarFrame({name, pages}).then(response => {
|
|
2310
|
-
* console.log('response:', response);
|
|
2311
|
-
* });
|
|
2312
|
-
*
|
|
2313
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/publish-neynar-frame)
|
|
2314
|
-
*
|
|
2315
|
-
*/
|
|
2316
|
-
publishNeynarFrame(params: {
|
|
2317
|
-
name: string;
|
|
2318
|
-
pages: Array<NeynarFramePage>;
|
|
2319
|
-
}): Promise<NeynarFrame>;
|
|
2320
2016
|
/**
|
|
2321
2017
|
* Search for mini apps based on a query string
|
|
2322
2018
|
*
|
|
@@ -2350,74 +2046,6 @@ export declare class NeynarAPIClient {
|
|
|
2350
2046
|
cursor?: string;
|
|
2351
2047
|
networks?: Array<SearchFramesNetworksEnum>;
|
|
2352
2048
|
}): Promise<FrameCatalogResponse>;
|
|
2353
|
-
/**
|
|
2354
|
-
* Update an existing mini app with a list of pages, if it was made by the developer (identified by API key)
|
|
2355
|
-
*
|
|
2356
|
-
* @summary Update mini app
|
|
2357
|
-
*
|
|
2358
|
-
* @param {object} params
|
|
2359
|
-
* @param {string} params.uuid - The UUID of the mini app to update.
|
|
2360
|
-
* @param {string} params.name [optional] - The name of the mini app.
|
|
2361
|
-
* @param {Array<NeynarFramePage>} params.pages
|
|
2362
|
-
*
|
|
2363
|
-
* @returns {Promise<NeynarFrame>} A promise that resolves to a `NeynarFrame` object.
|
|
2364
|
-
*
|
|
2365
|
-
* @example
|
|
2366
|
-
*
|
|
2367
|
-
* // Fill in the appropriate values
|
|
2368
|
-
* const uuid =
|
|
2369
|
-
* const name =
|
|
2370
|
-
* const pages =
|
|
2371
|
-
*
|
|
2372
|
-
* client.updateNeynarFrame({uuid, name, pages}).then(response => {
|
|
2373
|
-
* console.log('response:', response);
|
|
2374
|
-
* });
|
|
2375
|
-
*
|
|
2376
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/update-neynar-frame)
|
|
2377
|
-
*
|
|
2378
|
-
*/
|
|
2379
|
-
updateNeynarFrame(params: {
|
|
2380
|
-
uuid: string;
|
|
2381
|
-
name?: string;
|
|
2382
|
-
pages: Array<NeynarFramePage>;
|
|
2383
|
-
}): Promise<NeynarFrame>;
|
|
2384
|
-
/**
|
|
2385
|
-
* Validates a mini app against by an interacting user against a Farcaster Hub (In order to validate a mini app, message bytes from Frame Action must be provided in hex)
|
|
2386
|
-
*
|
|
2387
|
-
* @summary Validate mini app action
|
|
2388
|
-
*
|
|
2389
|
-
* @param {object} params
|
|
2390
|
-
* @param {string} params.messageBytesInHex - Hexadecimal string of message bytes.
|
|
2391
|
-
* @param {boolean} params.castReactionContext [optional] - Adds viewer_context inside the cast object to indicate whether the interactor reacted to the cast housing the mini app.
|
|
2392
|
-
* @param {boolean} params.followContext [optional] - Adds viewer_context inside the user (interactor) object to indicate whether the interactor follows or is followed by the cast author.
|
|
2393
|
-
* @param {boolean} params.signerContext [optional] - Adds context about the app used by the user inside `frame.action`.
|
|
2394
|
-
* @param {boolean} params.channelFollowContext [optional] - Adds context about the channel that the cast belongs to inside of the cast object.
|
|
2395
|
-
*
|
|
2396
|
-
* @returns {Promise<ValidateFrameActionResponse>} A promise that resolves to a `ValidateFrameActionResponse` object.
|
|
2397
|
-
*
|
|
2398
|
-
* @example
|
|
2399
|
-
*
|
|
2400
|
-
* // Fill in the appropriate values
|
|
2401
|
-
* const messageBytesInHex =
|
|
2402
|
-
* const castReactionContext =
|
|
2403
|
-
* const followContext =
|
|
2404
|
-
* const signerContext =
|
|
2405
|
-
* const channelFollowContext =
|
|
2406
|
-
*
|
|
2407
|
-
* client.validateFrameAction({messageBytesInHex, castReactionContext, followContext, signerContext, channelFollowContext}).then(response => {
|
|
2408
|
-
* console.log('response:', response);
|
|
2409
|
-
* });
|
|
2410
|
-
*
|
|
2411
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/validate-frame-action)
|
|
2412
|
-
*
|
|
2413
|
-
*/
|
|
2414
|
-
validateFrameAction(params: {
|
|
2415
|
-
messageBytesInHex: string;
|
|
2416
|
-
castReactionContext?: boolean;
|
|
2417
|
-
followContext?: boolean;
|
|
2418
|
-
signerContext?: boolean;
|
|
2419
|
-
channelFollowContext?: boolean;
|
|
2420
|
-
}): Promise<ValidateFrameActionResponse>;
|
|
2421
2049
|
/**
|
|
2422
2050
|
* Nonce to sign a message
|
|
2423
2051
|
*
|
|
@@ -2741,6 +2369,31 @@ export declare class NeynarAPIClient {
|
|
|
2741
2369
|
network?: DeployFungibleNetworkEnum;
|
|
2742
2370
|
factory?: DeployFungibleFactoryEnum;
|
|
2743
2371
|
}): Promise<DeployFungibleResponse>;
|
|
2372
|
+
/**
|
|
2373
|
+
* Fetch details for fungible assets identified by fungible identifiers.
|
|
2374
|
+
*
|
|
2375
|
+
* @summary Fetch fungibles
|
|
2376
|
+
*
|
|
2377
|
+
* @param {object} params
|
|
2378
|
+
* @param {string} params.fungibles - Comma-separated fungible identifiers
|
|
2379
|
+
*
|
|
2380
|
+
* @returns {Promise<FungiblesResponseSchema>} A promise that resolves to a `FungiblesResponseSchema` object.
|
|
2381
|
+
*
|
|
2382
|
+
* @example
|
|
2383
|
+
*
|
|
2384
|
+
* // Fill in the appropriate values
|
|
2385
|
+
* const fungibles =
|
|
2386
|
+
*
|
|
2387
|
+
* client.fetchFungibles({ fungibles }).then(response => {
|
|
2388
|
+
* console.log('response:', response);
|
|
2389
|
+
* });
|
|
2390
|
+
*
|
|
2391
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-fungibles)
|
|
2392
|
+
*
|
|
2393
|
+
*/
|
|
2394
|
+
fetchFungibles(params: {
|
|
2395
|
+
fungibles: string;
|
|
2396
|
+
}): Promise<FungiblesResponseSchema>;
|
|
2744
2397
|
/**
|
|
2745
2398
|
* Fetch a list of relevant owners for a on chain asset. If a viewer is provided, only relevant holders will be shown. This usually shows on a fungible asset page as \"X, Y, Z and N others you know own this asset\".
|
|
2746
2399
|
*
|
|
@@ -2772,6 +2425,34 @@ export declare class NeynarAPIClient {
|
|
|
2772
2425
|
network: FetchRelevantFungibleOwnersNetworkEnum;
|
|
2773
2426
|
viewerFid?: number;
|
|
2774
2427
|
}): Promise<RelevantFungibleOwnersResponse>;
|
|
2428
|
+
/**
|
|
2429
|
+
* Fetch trending fungibles based on buy activity from watched addresses. Returns fungibles ranked by USD buy volume and buy count within the specified time window.
|
|
2430
|
+
*
|
|
2431
|
+
* @summary Trending fungibles
|
|
2432
|
+
*
|
|
2433
|
+
* @param {object} params
|
|
2434
|
+
* @param {FetchTrendingFungiblesNetworkEnum} params.network
|
|
2435
|
+
* @param {FetchTrendingFungiblesTimeWindowEnum} params.timeWindow [optional] - Time window for trending calculations e.g. "1h", "6h", "12h", "24h", "7d"
|
|
2436
|
+
*
|
|
2437
|
+
* @returns {Promise<FetchTrendingFungibles200Response>} A promise that resolves to a `FetchTrendingFungibles200Response` object.
|
|
2438
|
+
*
|
|
2439
|
+
* @example
|
|
2440
|
+
*
|
|
2441
|
+
* // Fill in the appropriate values
|
|
2442
|
+
* const network =
|
|
2443
|
+
* const timeWindow =
|
|
2444
|
+
*
|
|
2445
|
+
* client.fetchTrendingFungibles({ network, timeWindow }).then(response => {
|
|
2446
|
+
* console.log('response:', response);
|
|
2447
|
+
* });
|
|
2448
|
+
*
|
|
2449
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-trending-fungibles)
|
|
2450
|
+
*
|
|
2451
|
+
*/
|
|
2452
|
+
fetchTrendingFungibles(params: {
|
|
2453
|
+
network: FetchTrendingFungiblesNetworkEnum;
|
|
2454
|
+
timeWindow?: FetchTrendingFungiblesTimeWindowEnum;
|
|
2455
|
+
}): Promise<FetchTrendingFungibles200Response>;
|
|
2775
2456
|
/**
|
|
2776
2457
|
* Fetches the token balances of a user given their FID
|
|
2777
2458
|
*
|
|
@@ -3380,6 +3061,398 @@ export declare class NeynarAPIClient {
|
|
|
3380
3061
|
lookupUserStorageUsage(params: {
|
|
3381
3062
|
fid: number;
|
|
3382
3063
|
}): Promise<StorageUsageResponse>;
|
|
3064
|
+
/**
|
|
3065
|
+
* Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication.
|
|
3066
|
+
*
|
|
3067
|
+
* @summary Set account association
|
|
3068
|
+
*
|
|
3069
|
+
* @param {object} params
|
|
3070
|
+
* @param {AssociateDeploymentRequest} params.associateDeploymentRequest
|
|
3071
|
+
*
|
|
3072
|
+
* @returns {Promise<AssociateDeployment200Response>} A promise that resolves to a `AssociateDeployment200Response` object.
|
|
3073
|
+
*
|
|
3074
|
+
* @example
|
|
3075
|
+
*
|
|
3076
|
+
* // Fill in the appropriate values
|
|
3077
|
+
* const associateDeploymentRequest =
|
|
3078
|
+
*
|
|
3079
|
+
* client.associateDeployment({ associateDeploymentRequest }).then(response => {
|
|
3080
|
+
* console.log('response:', response);
|
|
3081
|
+
* });
|
|
3082
|
+
*
|
|
3083
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/associate-deployment)
|
|
3084
|
+
*
|
|
3085
|
+
*/
|
|
3086
|
+
associateDeployment(params: {
|
|
3087
|
+
associateDeploymentRequest: AssociateDeploymentRequest;
|
|
3088
|
+
}): Promise<AssociateDeployment200Response>;
|
|
3089
|
+
/**
|
|
3090
|
+
* Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header.
|
|
3091
|
+
*
|
|
3092
|
+
* @summary Create a miniapp generator deployment
|
|
3093
|
+
*
|
|
3094
|
+
* @param {object} params
|
|
3095
|
+
* @param {CreateDeploymentRequest} params.createDeploymentRequest
|
|
3096
|
+
*
|
|
3097
|
+
* @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object.
|
|
3098
|
+
*
|
|
3099
|
+
* @example
|
|
3100
|
+
*
|
|
3101
|
+
* // Fill in the appropriate values
|
|
3102
|
+
* const createDeploymentRequest =
|
|
3103
|
+
*
|
|
3104
|
+
* client.createDeployment({ createDeploymentRequest }).then(response => {
|
|
3105
|
+
* console.log('response:', response);
|
|
3106
|
+
* });
|
|
3107
|
+
*
|
|
3108
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/create-deployment)
|
|
3109
|
+
*
|
|
3110
|
+
*/
|
|
3111
|
+
createDeployment(params: {
|
|
3112
|
+
createDeploymentRequest: CreateDeploymentRequest;
|
|
3113
|
+
}): Promise<ListDeployments200ResponseInner>;
|
|
3114
|
+
/**
|
|
3115
|
+
* Deletes a specific miniapp generator deployment or all deployments for a FID. If name is provided, deletes single deployment. If only FID is provided, deletes all deployments for that FID. Requires API key authentication.
|
|
3116
|
+
*
|
|
3117
|
+
* @summary Delete deployment(s)
|
|
3118
|
+
*
|
|
3119
|
+
* @param {object} params
|
|
3120
|
+
* @param {DeleteDeploymentRequest} params.deleteDeploymentRequest
|
|
3121
|
+
*
|
|
3122
|
+
* @returns {Promise<DeleteDeployment200Response>} A promise that resolves to a `DeleteDeployment200Response` object.
|
|
3123
|
+
*
|
|
3124
|
+
* @example
|
|
3125
|
+
*
|
|
3126
|
+
* // Fill in the appropriate values
|
|
3127
|
+
* const deleteDeploymentRequest =
|
|
3128
|
+
*
|
|
3129
|
+
* client.deleteDeployment({ deleteDeploymentRequest }).then(response => {
|
|
3130
|
+
* console.log('response:', response);
|
|
3131
|
+
* });
|
|
3132
|
+
*
|
|
3133
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-deployment)
|
|
3134
|
+
*
|
|
3135
|
+
*/
|
|
3136
|
+
deleteDeployment(params: {
|
|
3137
|
+
deleteDeploymentRequest: DeleteDeploymentRequest;
|
|
3138
|
+
}): Promise<DeleteDeployment200Response>;
|
|
3139
|
+
/**
|
|
3140
|
+
* Retrieves all messages in a specific conversation. Requires API key authentication.
|
|
3141
|
+
*
|
|
3142
|
+
* @summary Get messages in a conversation
|
|
3143
|
+
*
|
|
3144
|
+
* @param {object} params
|
|
3145
|
+
* @param {number} params.fid - Farcaster ID of the user
|
|
3146
|
+
* @param {string} params.name - Kubernetes deployment name
|
|
3147
|
+
* @param {string} params.conversationId - Conversation ID
|
|
3148
|
+
* @param {boolean | null} params.includeDeleted [optional] - Include deleted messages in the response. Defaults to false.
|
|
3149
|
+
*
|
|
3150
|
+
* @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object.
|
|
3151
|
+
*
|
|
3152
|
+
* @example
|
|
3153
|
+
*
|
|
3154
|
+
* // Fill in the appropriate values
|
|
3155
|
+
* const fid =
|
|
3156
|
+
* const name =
|
|
3157
|
+
* const conversationId =
|
|
3158
|
+
* const includeDeleted =
|
|
3159
|
+
*
|
|
3160
|
+
* client.getConversationMessages({ fid, name, conversationId, includeDeleted }).then(response => {
|
|
3161
|
+
* console.log('response:', response);
|
|
3162
|
+
* });
|
|
3163
|
+
*
|
|
3164
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
|
|
3165
|
+
*
|
|
3166
|
+
*/
|
|
3167
|
+
getConversationMessages(params: {
|
|
3168
|
+
fid: number;
|
|
3169
|
+
name: string;
|
|
3170
|
+
conversationId: string;
|
|
3171
|
+
includeDeleted?: boolean | null;
|
|
3172
|
+
}): Promise<GetConversationMessages200Response>;
|
|
3173
|
+
/**
|
|
3174
|
+
* Fetches info about a miniapp generator deployment by its name and creator\'s Farcaster ID. Requires API key authentication.
|
|
3175
|
+
*
|
|
3176
|
+
* @summary Get deployment info
|
|
3177
|
+
*
|
|
3178
|
+
* @param {object} params
|
|
3179
|
+
* @param {number} params.fid - Farcaster ID of the user
|
|
3180
|
+
* @param {string} params.name - Kubernetes deployment name
|
|
3181
|
+
*
|
|
3182
|
+
* @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object.
|
|
3183
|
+
*
|
|
3184
|
+
* @example
|
|
3185
|
+
*
|
|
3186
|
+
* // Fill in the appropriate values
|
|
3187
|
+
* const fid =
|
|
3188
|
+
* const name =
|
|
3189
|
+
*
|
|
3190
|
+
* client.getDeployment({ fid, name }).then(response => {
|
|
3191
|
+
* console.log('response:', response);
|
|
3192
|
+
* });
|
|
3193
|
+
*
|
|
3194
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment)
|
|
3195
|
+
*
|
|
3196
|
+
*/
|
|
3197
|
+
getDeployment(params: {
|
|
3198
|
+
fid: number;
|
|
3199
|
+
name: string;
|
|
3200
|
+
}): Promise<ListDeployments200ResponseInner>;
|
|
3201
|
+
/**
|
|
3202
|
+
* Retrieves the contents of a specific file from the generated app. Requires Studio admin authentication.
|
|
3203
|
+
*
|
|
3204
|
+
* @summary Get deployment file contents
|
|
3205
|
+
*
|
|
3206
|
+
* @param {object} params
|
|
3207
|
+
* @param {number} params.fid - Farcaster ID of the user
|
|
3208
|
+
* @param {string} params.name - Kubernetes deployment name
|
|
3209
|
+
* @param {string} params.filePath - File path relative to gen/
|
|
3210
|
+
*
|
|
3211
|
+
* @returns {Promise<GetDeploymentFile200Response>} A promise that resolves to a `GetDeploymentFile200Response` object.
|
|
3212
|
+
*
|
|
3213
|
+
* @example
|
|
3214
|
+
*
|
|
3215
|
+
* // Fill in the appropriate values
|
|
3216
|
+
* const fid =
|
|
3217
|
+
* const name =
|
|
3218
|
+
* const filePath =
|
|
3219
|
+
*
|
|
3220
|
+
* client.getDeploymentFile({ fid, name, filePath }).then(response => {
|
|
3221
|
+
* console.log('response:', response);
|
|
3222
|
+
* });
|
|
3223
|
+
*
|
|
3224
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment-file)
|
|
3225
|
+
*
|
|
3226
|
+
*/
|
|
3227
|
+
getDeploymentFile(params: {
|
|
3228
|
+
fid: number;
|
|
3229
|
+
name: string;
|
|
3230
|
+
filePath: string;
|
|
3231
|
+
}): Promise<GetDeploymentFile200Response>;
|
|
3232
|
+
/**
|
|
3233
|
+
* Retrieves the server.log file from a miniapp-generator deployment. Requires Studio admin authentication.
|
|
3234
|
+
*
|
|
3235
|
+
* @summary Get deployment logs
|
|
3236
|
+
*
|
|
3237
|
+
* @param {object} params
|
|
3238
|
+
* @param {number} params.fid - Farcaster ID of the user
|
|
3239
|
+
* @param {string} params.name - Kubernetes deployment name
|
|
3240
|
+
*
|
|
3241
|
+
* @returns {Promise<GetDeploymentLogs200Response>} A promise that resolves to a `GetDeploymentLogs200Response` object.
|
|
3242
|
+
*
|
|
3243
|
+
* @example
|
|
3244
|
+
*
|
|
3245
|
+
* // Fill in the appropriate values
|
|
3246
|
+
* const fid =
|
|
3247
|
+
* const name =
|
|
3248
|
+
*
|
|
3249
|
+
* client.getDeploymentLogs({ fid, name }).then(response => {
|
|
3250
|
+
* console.log('response:', response);
|
|
3251
|
+
* });
|
|
3252
|
+
*
|
|
3253
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment-logs)
|
|
3254
|
+
*
|
|
3255
|
+
*/
|
|
3256
|
+
getDeploymentLogs(params: {
|
|
3257
|
+
fid: number;
|
|
3258
|
+
name: string;
|
|
3259
|
+
}): Promise<GetDeploymentLogs200Response>;
|
|
3260
|
+
/**
|
|
3261
|
+
* Lists all conversations for a specific deployment. Requires API key authentication.
|
|
3262
|
+
*
|
|
3263
|
+
* @summary List conversations for a deployment
|
|
3264
|
+
*
|
|
3265
|
+
* @param {object} params
|
|
3266
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
|
|
3267
|
+
* @param {string} params.name [optional] - Kubernetes deployment name. If provided, filters conversations to this deployment only.
|
|
3268
|
+
* @param {boolean | null} params.includeDeleted [optional] - Include deleted conversations in the response. Defaults to false.
|
|
3269
|
+
*
|
|
3270
|
+
* @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object.
|
|
3271
|
+
*
|
|
3272
|
+
* @example
|
|
3273
|
+
*
|
|
3274
|
+
* // Fill in the appropriate values
|
|
3275
|
+
* const fid =
|
|
3276
|
+
* const name =
|
|
3277
|
+
* const includeDeleted =
|
|
3278
|
+
*
|
|
3279
|
+
* client.listConversations({ fid, name, includeDeleted }).then(response => {
|
|
3280
|
+
* console.log('response:', response);
|
|
3281
|
+
* });
|
|
3282
|
+
*
|
|
3283
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-conversations)
|
|
3284
|
+
*
|
|
3285
|
+
*/
|
|
3286
|
+
listConversations(params: {
|
|
3287
|
+
fid?: number;
|
|
3288
|
+
name?: string;
|
|
3289
|
+
includeDeleted?: boolean | null;
|
|
3290
|
+
}): Promise<ListConversations200Response>;
|
|
3291
|
+
/**
|
|
3292
|
+
* Lists files in a directory of the generated app. Requires Studio admin authentication.
|
|
3293
|
+
*
|
|
3294
|
+
* @summary List deployment files
|
|
3295
|
+
*
|
|
3296
|
+
* @param {object} params
|
|
3297
|
+
* @param {number} params.fid - Farcaster ID of the user
|
|
3298
|
+
* @param {string} params.name - Kubernetes deployment name
|
|
3299
|
+
* @param {string} params.directory [optional] - Directory path relative to gen/ (defaults to root)
|
|
3300
|
+
*
|
|
3301
|
+
* @returns {Promise<ListDeploymentFiles200Response>} A promise that resolves to a `ListDeploymentFiles200Response` object.
|
|
3302
|
+
*
|
|
3303
|
+
* @example
|
|
3304
|
+
*
|
|
3305
|
+
* // Fill in the appropriate values
|
|
3306
|
+
* const fid =
|
|
3307
|
+
* const name =
|
|
3308
|
+
* const directory =
|
|
3309
|
+
*
|
|
3310
|
+
* client.listDeploymentFiles({ fid, name, directory }).then(response => {
|
|
3311
|
+
* console.log('response:', response);
|
|
3312
|
+
* });
|
|
3313
|
+
*
|
|
3314
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployment-files)
|
|
3315
|
+
*
|
|
3316
|
+
*/
|
|
3317
|
+
listDeploymentFiles(params: {
|
|
3318
|
+
fid: number;
|
|
3319
|
+
name: string;
|
|
3320
|
+
directory?: string;
|
|
3321
|
+
}): Promise<ListDeploymentFiles200Response>;
|
|
3322
|
+
/**
|
|
3323
|
+
* Lists all miniapp generator deployments for a user. Requires API key authentication.
|
|
3324
|
+
*
|
|
3325
|
+
* @summary List deployments
|
|
3326
|
+
*
|
|
3327
|
+
* @param {object} params
|
|
3328
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
|
|
3329
|
+
* @param {number} params.limit [optional] - Maximum number of deployments to return. Defaults to 50, max 1000. (Default: 50, Maximum: 1000)
|
|
3330
|
+
* @param {number | null} params.offset [optional] - Number of deployments to skip for pagination. Defaults to 0.
|
|
3331
|
+
* @param {boolean | null} params.includeDeleted [optional] - Include deleted deployments in the response. Defaults to false.
|
|
3332
|
+
*
|
|
3333
|
+
* @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object.
|
|
3334
|
+
*
|
|
3335
|
+
* @example
|
|
3336
|
+
*
|
|
3337
|
+
* // Fill in the appropriate values
|
|
3338
|
+
* const fid =
|
|
3339
|
+
* const limit =
|
|
3340
|
+
* const offset =
|
|
3341
|
+
* const includeDeleted =
|
|
3342
|
+
*
|
|
3343
|
+
* client.listDeployments({ fid, limit, offset, includeDeleted }).then(response => {
|
|
3344
|
+
* console.log('response:', response);
|
|
3345
|
+
* });
|
|
3346
|
+
*
|
|
3347
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
|
|
3348
|
+
*
|
|
3349
|
+
*/
|
|
3350
|
+
listDeployments(params: {
|
|
3351
|
+
fid?: number;
|
|
3352
|
+
limit?: number;
|
|
3353
|
+
offset?: number | null;
|
|
3354
|
+
includeDeleted?: boolean | null;
|
|
3355
|
+
}): Promise<Array<ListDeployments200ResponseInner>>;
|
|
3356
|
+
/**
|
|
3357
|
+
* Sends a prompt to a specific miniapp generator deployment. Requires authentication via API key in the request header.
|
|
3358
|
+
*
|
|
3359
|
+
* @summary Prompt a deployment
|
|
3360
|
+
*
|
|
3361
|
+
* @param {object} params
|
|
3362
|
+
* @param {PromptDeploymentRequest} params.promptDeploymentRequest
|
|
3363
|
+
*
|
|
3364
|
+
* @returns {Promise<PromptDeployment200Response>} A promise that resolves to a `PromptDeployment200Response` object.
|
|
3365
|
+
*
|
|
3366
|
+
* @example
|
|
3367
|
+
*
|
|
3368
|
+
* // Fill in the appropriate values
|
|
3369
|
+
* const promptDeploymentRequest =
|
|
3370
|
+
*
|
|
3371
|
+
* client.promptDeployment({ promptDeploymentRequest }).then(response => {
|
|
3372
|
+
* console.log('response:', response);
|
|
3373
|
+
* });
|
|
3374
|
+
*
|
|
3375
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/prompt-deployment)
|
|
3376
|
+
*
|
|
3377
|
+
*/
|
|
3378
|
+
promptDeployment(params: {
|
|
3379
|
+
promptDeploymentRequest: PromptDeploymentRequest;
|
|
3380
|
+
}): Promise<PromptDeployment200Response>;
|
|
3381
|
+
/**
|
|
3382
|
+
* Sends a prompt to a specific miniapp generator deployment and returns a streaming response using Server-Sent Events. The response is a continuous stream of Server-Sent Events, not a single JSON payload. Each event contains a JSON object with type, message, and other fields specific to the message type. Requires authentication via API key in the request header.
|
|
3383
|
+
*
|
|
3384
|
+
* @summary Prompt a deployment with streaming response
|
|
3385
|
+
*
|
|
3386
|
+
* @param {object} params
|
|
3387
|
+
* @param {PromptDeploymentRequest} params.promptDeploymentRequest
|
|
3388
|
+
*
|
|
3389
|
+
* @returns {Promise<void>} A promise that resolves to a `void` object.
|
|
3390
|
+
*
|
|
3391
|
+
* @example
|
|
3392
|
+
*
|
|
3393
|
+
* // Fill in the appropriate values
|
|
3394
|
+
* const promptDeploymentRequest =
|
|
3395
|
+
*
|
|
3396
|
+
* client.promptDeploymentStream({ promptDeploymentRequest }).then(response => {
|
|
3397
|
+
* console.log('response:', response);
|
|
3398
|
+
* });
|
|
3399
|
+
*
|
|
3400
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/prompt-deployment-stream)
|
|
3401
|
+
*
|
|
3402
|
+
*/
|
|
3403
|
+
promptDeploymentStream(params: {
|
|
3404
|
+
promptDeploymentRequest: PromptDeploymentRequest;
|
|
3405
|
+
}): Promise<void>;
|
|
3406
|
+
/**
|
|
3407
|
+
* Uploads an image file to the generated miniapp public folder. The image will be accessible as a static asset on the deployed miniapp. Requires API key authentication.
|
|
3408
|
+
*
|
|
3409
|
+
* @summary Upload image to deployment
|
|
3410
|
+
*
|
|
3411
|
+
* @param {object} params
|
|
3412
|
+
* @param {UploadImageUrlRequest} params.uploadImageUrlRequest
|
|
3413
|
+
*
|
|
3414
|
+
* @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object.
|
|
3415
|
+
*
|
|
3416
|
+
* @example
|
|
3417
|
+
*
|
|
3418
|
+
* // Fill in the appropriate values
|
|
3419
|
+
* const uploadImageUrlRequest =
|
|
3420
|
+
*
|
|
3421
|
+
* client.uploadImage({ uploadImageUrlRequest }).then(response => {
|
|
3422
|
+
* console.log('response:', response);
|
|
3423
|
+
* });
|
|
3424
|
+
*
|
|
3425
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image)
|
|
3426
|
+
*
|
|
3427
|
+
*/
|
|
3428
|
+
uploadImage(params: {
|
|
3429
|
+
uploadImageUrlRequest: UploadImageUrlRequest;
|
|
3430
|
+
}): Promise<UploadImage200Response>;
|
|
3431
|
+
/**
|
|
3432
|
+
* Downloads an image from the provided URL and saves it to the generated miniapp public folder. The image will be accessible as a static asset on the deployed miniapp. Requires API key authentication.
|
|
3433
|
+
*
|
|
3434
|
+
* @summary Upload image from URL to deployment
|
|
3435
|
+
*
|
|
3436
|
+
* @param {object} params
|
|
3437
|
+
* @param {UploadImageUrlRequest} params.uploadImageUrlRequest
|
|
3438
|
+
*
|
|
3439
|
+
* @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object.
|
|
3440
|
+
*
|
|
3441
|
+
* @example
|
|
3442
|
+
*
|
|
3443
|
+
* // Fill in the appropriate values
|
|
3444
|
+
* const uploadImageUrlRequest =
|
|
3445
|
+
*
|
|
3446
|
+
* client.uploadImageUrl({ uploadImageUrlRequest }).then(response => {
|
|
3447
|
+
* console.log('response:', response);
|
|
3448
|
+
* });
|
|
3449
|
+
*
|
|
3450
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image-url)
|
|
3451
|
+
*
|
|
3452
|
+
*/
|
|
3453
|
+
uploadImageUrl(params: {
|
|
3454
|
+
uploadImageUrlRequest: UploadImageUrlRequest;
|
|
3455
|
+
}): Promise<UploadImage200Response>;
|
|
3383
3456
|
/**
|
|
3384
3457
|
* Fetch what FIDs and contracts a FID is subscribed to.
|
|
3385
3458
|
*
|
|
@@ -3836,6 +3909,7 @@ export declare class NeynarAPIClient {
|
|
|
3836
3909
|
* @summary Register new account
|
|
3837
3910
|
*
|
|
3838
3911
|
* @param {object} params
|
|
3912
|
+
* @param {RegisterUserReqBodySigner} params.signer [optional]
|
|
3839
3913
|
* @param {string} params.signature
|
|
3840
3914
|
* @param {number} params.fid
|
|
3841
3915
|
* @param {string} params.requestedUserCustodyAddress
|
|
@@ -3848,6 +3922,7 @@ export declare class NeynarAPIClient {
|
|
|
3848
3922
|
* @example
|
|
3849
3923
|
*
|
|
3850
3924
|
* // Fill in the appropriate values
|
|
3925
|
+
* const signer =
|
|
3851
3926
|
* const signature =
|
|
3852
3927
|
* const fid =
|
|
3853
3928
|
* const requestedUserCustodyAddress =
|
|
@@ -3855,7 +3930,7 @@ export declare class NeynarAPIClient {
|
|
|
3855
3930
|
* const fname =
|
|
3856
3931
|
* const metadata =
|
|
3857
3932
|
*
|
|
3858
|
-
* client.registerAccount({signature, fid, requestedUserCustodyAddress, deadline, fname, metadata}).then(response => {
|
|
3933
|
+
* client.registerAccount({signer, signature, fid, requestedUserCustodyAddress, deadline, fname, metadata}).then(response => {
|
|
3859
3934
|
* console.log('response:', response);
|
|
3860
3935
|
* });
|
|
3861
3936
|
*
|
|
@@ -3863,6 +3938,7 @@ export declare class NeynarAPIClient {
|
|
|
3863
3938
|
*
|
|
3864
3939
|
*/
|
|
3865
3940
|
registerAccount(params: {
|
|
3941
|
+
signer?: RegisterUserReqBodySigner;
|
|
3866
3942
|
signature: string;
|
|
3867
3943
|
fid: number;
|
|
3868
3944
|
requestedUserCustodyAddress: string;
|
|
@@ -3944,7 +4020,9 @@ export declare class NeynarAPIClient {
|
|
|
3944
4020
|
* @param {string} params.username [optional]
|
|
3945
4021
|
* @param {string} params.displayName [optional]
|
|
3946
4022
|
* @param {UpdateUserReqBodyLocation} params.location [optional]
|
|
3947
|
-
* @param {string} params.banner [optional]
|
|
4023
|
+
* @param {string} params.banner [optional] - Requires pro subscription.
|
|
4024
|
+
* @param {string} params.primaryEthAddress [optional] - Must be one of the verified addresses.
|
|
4025
|
+
* @param {string} params.primarySolAddress [optional] - Must be one of the verified addresses.
|
|
3948
4026
|
* @param {UpdateUserReqBodyVerifiedAccounts} params.verifiedAccounts [optional]
|
|
3949
4027
|
*
|
|
3950
4028
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -3960,9 +4038,11 @@ export declare class NeynarAPIClient {
|
|
|
3960
4038
|
* const displayName =
|
|
3961
4039
|
* const location =
|
|
3962
4040
|
* const banner =
|
|
4041
|
+
* const primaryEthAddress =
|
|
4042
|
+
* const primarySolAddress =
|
|
3963
4043
|
* const verifiedAccounts =
|
|
3964
4044
|
*
|
|
3965
|
-
* client.updateUser({signerUuid, bio, pfpUrl, url, username, displayName, location, banner, verifiedAccounts}).then(response => {
|
|
4045
|
+
* client.updateUser({signerUuid, bio, pfpUrl, url, username, displayName, location, banner, primaryEthAddress, primarySolAddress, verifiedAccounts}).then(response => {
|
|
3966
4046
|
* console.log('response:', response);
|
|
3967
4047
|
* });
|
|
3968
4048
|
*
|
|
@@ -3978,6 +4058,8 @@ export declare class NeynarAPIClient {
|
|
|
3978
4058
|
displayName?: string;
|
|
3979
4059
|
location?: UpdateUserReqBodyLocation;
|
|
3980
4060
|
banner?: string;
|
|
4061
|
+
primaryEthAddress?: string;
|
|
4062
|
+
primarySolAddress?: string;
|
|
3981
4063
|
verifiedAccounts?: UpdateUserReqBodyVerifiedAccounts;
|
|
3982
4064
|
}): Promise<OperationResponse>;
|
|
3983
4065
|
/**
|