@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
|
@@ -50,6 +50,7 @@ const onchain_api_1 = require("../api/apis/onchain-api");
|
|
|
50
50
|
const reaction_api_1 = require("../api/apis/reaction-api");
|
|
51
51
|
const signer_api_1 = require("../api/apis/signer-api");
|
|
52
52
|
const storage_api_1 = require("../api/apis/storage-api");
|
|
53
|
+
const studio_api_1 = require("../api/apis/studio-api");
|
|
53
54
|
const subscribers_api_1 = require("../api/apis/subscribers-api");
|
|
54
55
|
const user_api_1 = require("../api/apis/user-api");
|
|
55
56
|
const webhook_api_1 = require("../api/apis/webhook-api");
|
|
@@ -160,6 +161,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
160
161
|
reactionApi: new reaction_api_1.ReactionApi(this.config, undefined, axiosInstance),
|
|
161
162
|
signerApi: new signer_api_1.SignerApi(this.config, undefined, axiosInstance),
|
|
162
163
|
storageApi: new storage_api_1.StorageApi(this.config, undefined, axiosInstance),
|
|
164
|
+
studioApi: new studio_api_1.StudioApi(this.config, undefined, axiosInstance),
|
|
163
165
|
subscribersApi: new subscribers_api_1.SubscribersApi(this.config, undefined, axiosInstance),
|
|
164
166
|
userApi: new user_api_1.UserApi(this.config, undefined, axiosInstance),
|
|
165
167
|
webhookApi: new webhook_api_1.WebhookApi(this.config, undefined, axiosInstance),
|
|
@@ -752,37 +754,6 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
752
754
|
const response = await this.apis.castApi.fetchCastQuotes(adjustedParams);
|
|
753
755
|
return response.data;
|
|
754
756
|
}
|
|
755
|
-
/**
|
|
756
|
-
* Fetches all composer actions on Warpcast. You can filter by top or featured.
|
|
757
|
-
*
|
|
758
|
-
* @summary Fetch composer actions
|
|
759
|
-
*
|
|
760
|
-
* @param {object} params
|
|
761
|
-
* @param {FetchComposerActionsListEnum} params.list - Type of list to fetch.
|
|
762
|
-
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 25)
|
|
763
|
-
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
764
|
-
*
|
|
765
|
-
* @returns {Promise<CastComposerActionsListResponse>} A promise that resolves to a `CastComposerActionsListResponse` object.
|
|
766
|
-
*
|
|
767
|
-
* @example
|
|
768
|
-
*
|
|
769
|
-
* // Fill in the appropriate values
|
|
770
|
-
* const list =
|
|
771
|
-
* const limit =
|
|
772
|
-
*
|
|
773
|
-
* client.fetchComposerActions({ list, limit }).then(response => {
|
|
774
|
-
* console.log('response:', response);
|
|
775
|
-
* });
|
|
776
|
-
*
|
|
777
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-composer-actions)
|
|
778
|
-
*
|
|
779
|
-
*/
|
|
780
|
-
async fetchComposerActions(params) {
|
|
781
|
-
const adjustedParams = {};
|
|
782
|
-
Object.assign(adjustedParams, params);
|
|
783
|
-
const response = await this.apis.castApi.fetchComposerActions(adjustedParams);
|
|
784
|
-
return response.data;
|
|
785
|
-
}
|
|
786
757
|
/**
|
|
787
758
|
* Crawls the given URL and returns metadata useful when embedding the URL in a cast.
|
|
788
759
|
*
|
|
@@ -937,7 +908,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
937
908
|
* @summary Search for casts
|
|
938
909
|
*
|
|
939
910
|
* @param {object} params
|
|
940
|
-
* @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`)
|
|
911
|
+
* @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`) |
|
|
941
912
|
* @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
|
|
942
913
|
* @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
|
|
943
914
|
* @param {number} params.authorFid [optional] - Fid of the user whose casts you want to search
|
|
@@ -1766,39 +1737,6 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1766
1737
|
const response = await this.apis.feedApi.fetchFeedForYou(adjustedParams);
|
|
1767
1738
|
return response.data;
|
|
1768
1739
|
}
|
|
1769
|
-
/**
|
|
1770
|
-
* Fetch feed of casts with mini apps, reverse chronological order
|
|
1771
|
-
*
|
|
1772
|
-
* @summary Casts with mini apps
|
|
1773
|
-
*
|
|
1774
|
-
* @param {object} params
|
|
1775
|
-
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
|
|
1776
|
-
* @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
|
|
1777
|
-
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
1778
|
-
*
|
|
1779
|
-
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object.
|
|
1780
|
-
*
|
|
1781
|
-
* @example
|
|
1782
|
-
*
|
|
1783
|
-
* // Fill in the appropriate values
|
|
1784
|
-
* const limit =
|
|
1785
|
-
* const viewerFid =
|
|
1786
|
-
*
|
|
1787
|
-
* client.fetchFramesOnlyFeed({ limit, viewerFid }).then(response => {
|
|
1788
|
-
* console.log('response:', response);
|
|
1789
|
-
* });
|
|
1790
|
-
*
|
|
1791
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frames-only-feed)
|
|
1792
|
-
*
|
|
1793
|
-
*/
|
|
1794
|
-
async fetchFramesOnlyFeed(params) {
|
|
1795
|
-
var _a, _b;
|
|
1796
|
-
const adjustedParams = {};
|
|
1797
|
-
Object.assign(adjustedParams, params);
|
|
1798
|
-
adjustedParams['xNeynarExperimental'] = (_b = (_a = this.config.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b['x-neynar-experimental'];
|
|
1799
|
-
const response = await this.apis.feedApi.fetchFramesOnlyFeed(adjustedParams);
|
|
1800
|
-
return response.data;
|
|
1801
|
-
}
|
|
1802
1740
|
/**
|
|
1803
1741
|
* Fetch 10 most popular casts for a given user FID; popularity based on replies, likes and recasts; sorted by most popular first
|
|
1804
1742
|
*
|
|
@@ -2149,35 +2087,6 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2149
2087
|
const response = await this.apis.followsApi.fetchUserReciprocalFollowers(adjustedParams);
|
|
2150
2088
|
return response.data;
|
|
2151
2089
|
}
|
|
2152
|
-
/**
|
|
2153
|
-
* Delete an existing mini app, if it was made by the developer (identified by API key)
|
|
2154
|
-
*
|
|
2155
|
-
* @summary Delete mini app
|
|
2156
|
-
*
|
|
2157
|
-
* @param {object} params
|
|
2158
|
-
* @param {string} params.uuid [optional]
|
|
2159
|
-
*
|
|
2160
|
-
* @returns {Promise<DeleteFrameResponse>} A promise that resolves to a `DeleteFrameResponse` object.
|
|
2161
|
-
*
|
|
2162
|
-
* @example
|
|
2163
|
-
*
|
|
2164
|
-
* // Fill in the appropriate values
|
|
2165
|
-
* const uuid =
|
|
2166
|
-
*
|
|
2167
|
-
* client.deleteNeynarFrame({uuid}).then(response => {
|
|
2168
|
-
* console.log('response:', response);
|
|
2169
|
-
* });
|
|
2170
|
-
*
|
|
2171
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-neynar-frame)
|
|
2172
|
-
*
|
|
2173
|
-
*/
|
|
2174
|
-
async deleteNeynarFrame(params) {
|
|
2175
|
-
const adjustedParams = {};
|
|
2176
|
-
const _params = { deleteFrameReqBody: camelCaseToSnakeCaseKeys(params) };
|
|
2177
|
-
Object.assign(adjustedParams, _params);
|
|
2178
|
-
const response = await this.apis.frameApi.deleteNeynarFrame(adjustedParams);
|
|
2179
|
-
return response.data;
|
|
2180
|
-
}
|
|
2181
2090
|
/**
|
|
2182
2091
|
* A curated list of featured mini apps
|
|
2183
2092
|
*
|
|
@@ -2213,55 +2122,6 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2213
2122
|
const response = await this.apis.frameApi.fetchFrameCatalog(adjustedParams);
|
|
2214
2123
|
return response.data;
|
|
2215
2124
|
}
|
|
2216
|
-
/**
|
|
2217
|
-
* Fetches the mini app meta tags from the URL
|
|
2218
|
-
*
|
|
2219
|
-
* @summary Meta tags from URL
|
|
2220
|
-
*
|
|
2221
|
-
* @param {object} params
|
|
2222
|
-
* @param {string} params.url - The mini app URL to crawl
|
|
2223
|
-
*
|
|
2224
|
-
* @returns {Promise<FetchFrameMetaTagsFromUrl200Response>} A promise that resolves to a `FetchFrameMetaTagsFromUrl200Response` object.
|
|
2225
|
-
*
|
|
2226
|
-
* @example
|
|
2227
|
-
*
|
|
2228
|
-
* // Fill in the appropriate values
|
|
2229
|
-
* const url =
|
|
2230
|
-
*
|
|
2231
|
-
* client.fetchFrameMetaTagsFromUrl({ url }).then(response => {
|
|
2232
|
-
* console.log('response:', response);
|
|
2233
|
-
* });
|
|
2234
|
-
*
|
|
2235
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-frame-meta-tags-from-url)
|
|
2236
|
-
*
|
|
2237
|
-
*/
|
|
2238
|
-
async fetchFrameMetaTagsFromUrl(params) {
|
|
2239
|
-
const adjustedParams = {};
|
|
2240
|
-
Object.assign(adjustedParams, params);
|
|
2241
|
-
const response = await this.apis.frameApi.fetchFrameMetaTagsFromUrl(adjustedParams);
|
|
2242
|
-
return response.data;
|
|
2243
|
-
}
|
|
2244
|
-
/**
|
|
2245
|
-
* Fetch a list of mini apps made by the developer (identified by API key)
|
|
2246
|
-
*
|
|
2247
|
-
* @summary List of mini apps
|
|
2248
|
-
*
|
|
2249
|
-
*
|
|
2250
|
-
* @returns {Promise<Array<NeynarFrame>>} A promise that resolves to a `Array<NeynarFrame>` object.
|
|
2251
|
-
*
|
|
2252
|
-
* @example
|
|
2253
|
-
*
|
|
2254
|
-
* client.fetchNeynarFrames().then(response => {
|
|
2255
|
-
* console.log('response:', response);
|
|
2256
|
-
* });
|
|
2257
|
-
*
|
|
2258
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-neynar-frames)
|
|
2259
|
-
*
|
|
2260
|
-
*/
|
|
2261
|
-
async fetchNeynarFrames() {
|
|
2262
|
-
const response = await this.apis.frameApi.fetchNeynarFrames();
|
|
2263
|
-
return response.data;
|
|
2264
|
-
}
|
|
2265
2125
|
/**
|
|
2266
2126
|
* Returns a list of notifications tokens related to a mini app
|
|
2267
2127
|
*
|
|
@@ -2331,63 +2191,6 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2331
2191
|
const response = await this.apis.frameApi.fetchRelevantFrames(adjustedParams);
|
|
2332
2192
|
return response.data;
|
|
2333
2193
|
}
|
|
2334
|
-
/**
|
|
2335
|
-
* Fetch analytics for total-interactors, interactors, nteractions-per-cast and input-text.
|
|
2336
|
-
*
|
|
2337
|
-
* @summary Analytics for the mini app
|
|
2338
|
-
*
|
|
2339
|
-
* @param {object} params
|
|
2340
|
-
* @param {string} params.frameUrl - URL of the mini app to fetch analytics for
|
|
2341
|
-
* @param {FetchValidateFrameAnalyticsAnalyticsTypeEnum} params.analyticsType - Type of analytics to fetch
|
|
2342
|
-
* @param {string} params.start
|
|
2343
|
-
* @param {string} params.stop
|
|
2344
|
-
* @param {FetchValidateFrameAnalyticsAggregateWindowEnum} params.aggregateWindow [optional] - Required for `analytics_type=interactions-per-cast`
|
|
2345
|
-
*
|
|
2346
|
-
* @returns {Promise<FrameValidateAnalyticsResponse>} A promise that resolves to a `FrameValidateAnalyticsResponse` object.
|
|
2347
|
-
*
|
|
2348
|
-
* @example
|
|
2349
|
-
*
|
|
2350
|
-
* // Fill in the appropriate values
|
|
2351
|
-
* const frameUrl =
|
|
2352
|
-
* const analyticsType =
|
|
2353
|
-
* const start =
|
|
2354
|
-
* const stop =
|
|
2355
|
-
* const aggregateWindow =
|
|
2356
|
-
*
|
|
2357
|
-
* client.fetchValidateFrameAnalytics({ frameUrl, analyticsType, start, stop, aggregateWindow }).then(response => {
|
|
2358
|
-
* console.log('response:', response);
|
|
2359
|
-
* });
|
|
2360
|
-
*
|
|
2361
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-validate-frame-analytics)
|
|
2362
|
-
*
|
|
2363
|
-
*/
|
|
2364
|
-
async fetchValidateFrameAnalytics(params) {
|
|
2365
|
-
const adjustedParams = {};
|
|
2366
|
-
Object.assign(adjustedParams, params);
|
|
2367
|
-
const response = await this.apis.frameApi.fetchValidateFrameAnalytics(adjustedParams);
|
|
2368
|
-
return response.data;
|
|
2369
|
-
}
|
|
2370
|
-
/**
|
|
2371
|
-
* Fetch a list of all the mini apps validated by a user
|
|
2372
|
-
*
|
|
2373
|
-
* @summary All mini apps validated by user
|
|
2374
|
-
*
|
|
2375
|
-
*
|
|
2376
|
-
* @returns {Promise<FrameValidateListResponse>} A promise that resolves to a `FrameValidateListResponse` object.
|
|
2377
|
-
*
|
|
2378
|
-
* @example
|
|
2379
|
-
*
|
|
2380
|
-
* client.fetchValidateFrameList().then(response => {
|
|
2381
|
-
* console.log('response:', response);
|
|
2382
|
-
* });
|
|
2383
|
-
*
|
|
2384
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-validate-frame-list)
|
|
2385
|
-
*
|
|
2386
|
-
*/
|
|
2387
|
-
async fetchValidateFrameList() {
|
|
2388
|
-
const response = await this.apis.frameApi.fetchValidateFrameList();
|
|
2389
|
-
return response.data;
|
|
2390
|
-
}
|
|
2391
2194
|
/**
|
|
2392
2195
|
* Retrieve notification delivery and opened stats for notification campaigns
|
|
2393
2196
|
*
|
|
@@ -2447,111 +2250,13 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2447
2250
|
const response = await this.apis.frameApi.getTransactionPayFrame(adjustedParams);
|
|
2448
2251
|
return response.data;
|
|
2449
2252
|
}
|
|
2450
|
-
/**
|
|
2451
|
-
* Fetch a mini app either by UUID or Neynar URL
|
|
2452
|
-
*
|
|
2453
|
-
* @summary Mini app by UUID or URL
|
|
2454
|
-
*
|
|
2455
|
-
* @param {object} params
|
|
2456
|
-
* @param {LookupNeynarFrameTypeEnum} params.type - Type of identifier (either 'uuid' or 'url')
|
|
2457
|
-
* @param {string} params.uuid [optional] - UUID of the mini app to fetch
|
|
2458
|
-
* @param {string} params.url [optional] - URL of the Neynar mini app to fetch
|
|
2459
|
-
*
|
|
2460
|
-
* @returns {Promise<NeynarFrame>} A promise that resolves to a `NeynarFrame` object.
|
|
2461
|
-
*
|
|
2462
|
-
* @example
|
|
2463
|
-
*
|
|
2464
|
-
* // Fill in the appropriate values
|
|
2465
|
-
* const type =
|
|
2466
|
-
* const uuid =
|
|
2467
|
-
* const url =
|
|
2468
|
-
*
|
|
2469
|
-
* client.lookupNeynarFrame({ type, uuid, url }).then(response => {
|
|
2470
|
-
* console.log('response:', response);
|
|
2471
|
-
* });
|
|
2472
|
-
*
|
|
2473
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/lookup-neynar-frame)
|
|
2474
|
-
*
|
|
2475
|
-
*/
|
|
2476
|
-
async lookupNeynarFrame(params) {
|
|
2477
|
-
const adjustedParams = {};
|
|
2478
|
-
Object.assign(adjustedParams, params);
|
|
2479
|
-
const response = await this.apis.frameApi.lookupNeynarFrame(adjustedParams);
|
|
2480
|
-
return response.data;
|
|
2481
|
-
}
|
|
2482
|
-
/**
|
|
2483
|
-
* 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.
|
|
2484
|
-
*
|
|
2485
|
-
* @summary Post a mini app action, cast action or a cast composer action
|
|
2486
|
-
*
|
|
2487
|
-
* @param {object} params
|
|
2488
|
-
* @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.
|
|
2489
|
-
* @param {string} params.castHash [optional]
|
|
2490
|
-
* @param {FrameAction} params.action
|
|
2491
|
-
*
|
|
2492
|
-
* @returns {Promise<Frame>} A promise that resolves to a `Frame` object.
|
|
2493
|
-
*
|
|
2494
|
-
* @example
|
|
2495
|
-
*
|
|
2496
|
-
* // Fill in the appropriate values
|
|
2497
|
-
* const signerUuid =
|
|
2498
|
-
* const castHash =
|
|
2499
|
-
* const action =
|
|
2500
|
-
*
|
|
2501
|
-
* client.postFrameAction({signerUuid, castHash, action}).then(response => {
|
|
2502
|
-
* console.log('response:', response);
|
|
2503
|
-
* });
|
|
2504
|
-
*
|
|
2505
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/post-frame-action)
|
|
2506
|
-
*
|
|
2507
|
-
*/
|
|
2508
|
-
async postFrameAction(params) {
|
|
2509
|
-
const adjustedParams = {};
|
|
2510
|
-
const _params = { frameActionReqBody: camelCaseToSnakeCaseKeys(params) };
|
|
2511
|
-
Object.assign(adjustedParams, _params);
|
|
2512
|
-
const response = await this.apis.frameApi.postFrameAction(adjustedParams);
|
|
2513
|
-
return response.data;
|
|
2514
|
-
}
|
|
2515
|
-
/**
|
|
2516
|
-
* 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.
|
|
2517
|
-
*
|
|
2518
|
-
* @summary Signature packet
|
|
2519
|
-
*
|
|
2520
|
-
* @param {object} params
|
|
2521
|
-
* @param {string} params.castHash [optional]
|
|
2522
|
-
* @param {FrameAction} params.action
|
|
2523
|
-
* @param {FrameSignaturePacket} params.signaturePacket
|
|
2524
|
-
*
|
|
2525
|
-
* @returns {Promise<Frame>} A promise that resolves to a `Frame` object.
|
|
2526
|
-
*
|
|
2527
|
-
* @example
|
|
2528
|
-
*
|
|
2529
|
-
* // Fill in the appropriate values
|
|
2530
|
-
* const castHash =
|
|
2531
|
-
* const action =
|
|
2532
|
-
* const signaturePacket =
|
|
2533
|
-
*
|
|
2534
|
-
* client.postFrameActionDeveloperManaged({castHash, action, signaturePacket}).then(response => {
|
|
2535
|
-
* console.log('response:', response);
|
|
2536
|
-
* });
|
|
2537
|
-
*
|
|
2538
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/post-frame-action-developer-managed)
|
|
2539
|
-
*
|
|
2540
|
-
*/
|
|
2541
|
-
async postFrameActionDeveloperManaged(params) {
|
|
2542
|
-
const adjustedParams = {};
|
|
2543
|
-
const _params = { frameDeveloperManagedActionReqBody: camelCaseToSnakeCaseKeys(params) };
|
|
2544
|
-
Object.assign(adjustedParams, _params);
|
|
2545
|
-
const response = await this.apis.frameApi.postFrameActionDeveloperManaged(adjustedParams);
|
|
2546
|
-
return response.data;
|
|
2547
|
-
}
|
|
2548
2253
|
/**
|
|
2549
2254
|
* Send notifications to interactors of a mini app
|
|
2550
2255
|
*
|
|
2551
2256
|
* @summary Send notifications
|
|
2552
2257
|
*
|
|
2553
2258
|
* @param {object} params
|
|
2554
|
-
* @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.
|
|
2259
|
+
* @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.
|
|
2555
2260
|
* @param {SendFrameNotificationsReqBodyFilters} params.filters [optional]
|
|
2556
2261
|
* @param {SendFrameNotificationsReqBodyNotification} params.notification
|
|
2557
2262
|
*
|
|
@@ -2578,37 +2283,6 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2578
2283
|
const response = await this.apis.frameApi.publishFrameNotifications(adjustedParams);
|
|
2579
2284
|
return response.data;
|
|
2580
2285
|
}
|
|
2581
|
-
/**
|
|
2582
|
-
* Create a new mini app with a list of pages.
|
|
2583
|
-
*
|
|
2584
|
-
* @summary Create mini app
|
|
2585
|
-
*
|
|
2586
|
-
* @param {object} params
|
|
2587
|
-
* @param {string} params.name - The name of the mini app.
|
|
2588
|
-
* @param {Array<NeynarFramePage>} params.pages
|
|
2589
|
-
*
|
|
2590
|
-
* @returns {Promise<NeynarFrame>} A promise that resolves to a `NeynarFrame` object.
|
|
2591
|
-
*
|
|
2592
|
-
* @example
|
|
2593
|
-
*
|
|
2594
|
-
* // Fill in the appropriate values
|
|
2595
|
-
* const name =
|
|
2596
|
-
* const pages =
|
|
2597
|
-
*
|
|
2598
|
-
* client.publishNeynarFrame({name, pages}).then(response => {
|
|
2599
|
-
* console.log('response:', response);
|
|
2600
|
-
* });
|
|
2601
|
-
*
|
|
2602
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/publish-neynar-frame)
|
|
2603
|
-
*
|
|
2604
|
-
*/
|
|
2605
|
-
async publishNeynarFrame(params) {
|
|
2606
|
-
const adjustedParams = {};
|
|
2607
|
-
const _params = { neynarFrameCreationReqBody: camelCaseToSnakeCaseKeys(params) };
|
|
2608
|
-
Object.assign(adjustedParams, _params);
|
|
2609
|
-
const response = await this.apis.frameApi.publishNeynarFrame(adjustedParams);
|
|
2610
|
-
return response.data;
|
|
2611
|
-
}
|
|
2612
2286
|
/**
|
|
2613
2287
|
* Search for mini apps based on a query string
|
|
2614
2288
|
*
|
|
@@ -2642,76 +2316,6 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2642
2316
|
const response = await this.apis.frameApi.searchFrames(adjustedParams);
|
|
2643
2317
|
return response.data;
|
|
2644
2318
|
}
|
|
2645
|
-
/**
|
|
2646
|
-
* Update an existing mini app with a list of pages, if it was made by the developer (identified by API key)
|
|
2647
|
-
*
|
|
2648
|
-
* @summary Update mini app
|
|
2649
|
-
*
|
|
2650
|
-
* @param {object} params
|
|
2651
|
-
* @param {string} params.uuid - The UUID of the mini app to update.
|
|
2652
|
-
* @param {string} params.name [optional] - The name of the mini app.
|
|
2653
|
-
* @param {Array<NeynarFramePage>} params.pages
|
|
2654
|
-
*
|
|
2655
|
-
* @returns {Promise<NeynarFrame>} A promise that resolves to a `NeynarFrame` object.
|
|
2656
|
-
*
|
|
2657
|
-
* @example
|
|
2658
|
-
*
|
|
2659
|
-
* // Fill in the appropriate values
|
|
2660
|
-
* const uuid =
|
|
2661
|
-
* const name =
|
|
2662
|
-
* const pages =
|
|
2663
|
-
*
|
|
2664
|
-
* client.updateNeynarFrame({uuid, name, pages}).then(response => {
|
|
2665
|
-
* console.log('response:', response);
|
|
2666
|
-
* });
|
|
2667
|
-
*
|
|
2668
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/update-neynar-frame)
|
|
2669
|
-
*
|
|
2670
|
-
*/
|
|
2671
|
-
async updateNeynarFrame(params) {
|
|
2672
|
-
const adjustedParams = {};
|
|
2673
|
-
const _params = { neynarFrameUpdateReqBody: camelCaseToSnakeCaseKeys(params) };
|
|
2674
|
-
Object.assign(adjustedParams, _params);
|
|
2675
|
-
const response = await this.apis.frameApi.updateNeynarFrame(adjustedParams);
|
|
2676
|
-
return response.data;
|
|
2677
|
-
}
|
|
2678
|
-
/**
|
|
2679
|
-
* 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)
|
|
2680
|
-
*
|
|
2681
|
-
* @summary Validate mini app action
|
|
2682
|
-
*
|
|
2683
|
-
* @param {object} params
|
|
2684
|
-
* @param {string} params.messageBytesInHex - Hexadecimal string of message bytes.
|
|
2685
|
-
* @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.
|
|
2686
|
-
* @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.
|
|
2687
|
-
* @param {boolean} params.signerContext [optional] - Adds context about the app used by the user inside `frame.action`.
|
|
2688
|
-
* @param {boolean} params.channelFollowContext [optional] - Adds context about the channel that the cast belongs to inside of the cast object.
|
|
2689
|
-
*
|
|
2690
|
-
* @returns {Promise<ValidateFrameActionResponse>} A promise that resolves to a `ValidateFrameActionResponse` object.
|
|
2691
|
-
*
|
|
2692
|
-
* @example
|
|
2693
|
-
*
|
|
2694
|
-
* // Fill in the appropriate values
|
|
2695
|
-
* const messageBytesInHex =
|
|
2696
|
-
* const castReactionContext =
|
|
2697
|
-
* const followContext =
|
|
2698
|
-
* const signerContext =
|
|
2699
|
-
* const channelFollowContext =
|
|
2700
|
-
*
|
|
2701
|
-
* client.validateFrameAction({messageBytesInHex, castReactionContext, followContext, signerContext, channelFollowContext}).then(response => {
|
|
2702
|
-
* console.log('response:', response);
|
|
2703
|
-
* });
|
|
2704
|
-
*
|
|
2705
|
-
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/validate-frame-action)
|
|
2706
|
-
*
|
|
2707
|
-
*/
|
|
2708
|
-
async validateFrameAction(params) {
|
|
2709
|
-
const adjustedParams = {};
|
|
2710
|
-
const _params = { validateFrameActionReqBody: camelCaseToSnakeCaseKeys(params) };
|
|
2711
|
-
Object.assign(adjustedParams, _params);
|
|
2712
|
-
const response = await this.apis.frameApi.validateFrameAction(adjustedParams);
|
|
2713
|
-
return response.data;
|
|
2714
|
-
}
|
|
2715
2319
|
/**
|
|
2716
2320
|
* Nonce to sign a message
|
|
2717
2321
|
*
|
|
@@ -3058,6 +2662,34 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3058
2662
|
const response = await this.apis.onchainApi.deployFungible(adjustedParams);
|
|
3059
2663
|
return response.data;
|
|
3060
2664
|
}
|
|
2665
|
+
/**
|
|
2666
|
+
* Fetch details for fungible assets identified by fungible identifiers.
|
|
2667
|
+
*
|
|
2668
|
+
* @summary Fetch fungibles
|
|
2669
|
+
*
|
|
2670
|
+
* @param {object} params
|
|
2671
|
+
* @param {string} params.fungibles - Comma-separated fungible identifiers
|
|
2672
|
+
*
|
|
2673
|
+
* @returns {Promise<FungiblesResponseSchema>} A promise that resolves to a `FungiblesResponseSchema` object.
|
|
2674
|
+
*
|
|
2675
|
+
* @example
|
|
2676
|
+
*
|
|
2677
|
+
* // Fill in the appropriate values
|
|
2678
|
+
* const fungibles =
|
|
2679
|
+
*
|
|
2680
|
+
* client.fetchFungibles({ fungibles }).then(response => {
|
|
2681
|
+
* console.log('response:', response);
|
|
2682
|
+
* });
|
|
2683
|
+
*
|
|
2684
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-fungibles)
|
|
2685
|
+
*
|
|
2686
|
+
*/
|
|
2687
|
+
async fetchFungibles(params) {
|
|
2688
|
+
const adjustedParams = {};
|
|
2689
|
+
Object.assign(adjustedParams, params);
|
|
2690
|
+
const response = await this.apis.onchainApi.fetchFungibles(adjustedParams);
|
|
2691
|
+
return response.data;
|
|
2692
|
+
}
|
|
3061
2693
|
/**
|
|
3062
2694
|
* 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\".
|
|
3063
2695
|
*
|
|
@@ -3090,6 +2722,36 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3090
2722
|
const response = await this.apis.onchainApi.fetchRelevantFungibleOwners(adjustedParams);
|
|
3091
2723
|
return response.data;
|
|
3092
2724
|
}
|
|
2725
|
+
/**
|
|
2726
|
+
* 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.
|
|
2727
|
+
*
|
|
2728
|
+
* @summary Trending fungibles
|
|
2729
|
+
*
|
|
2730
|
+
* @param {object} params
|
|
2731
|
+
* @param {FetchTrendingFungiblesNetworkEnum} params.network
|
|
2732
|
+
* @param {FetchTrendingFungiblesTimeWindowEnum} params.timeWindow [optional] - Time window for trending calculations e.g. "1h", "6h", "12h", "24h", "7d"
|
|
2733
|
+
*
|
|
2734
|
+
* @returns {Promise<FetchTrendingFungibles200Response>} A promise that resolves to a `FetchTrendingFungibles200Response` object.
|
|
2735
|
+
*
|
|
2736
|
+
* @example
|
|
2737
|
+
*
|
|
2738
|
+
* // Fill in the appropriate values
|
|
2739
|
+
* const network =
|
|
2740
|
+
* const timeWindow =
|
|
2741
|
+
*
|
|
2742
|
+
* client.fetchTrendingFungibles({ network, timeWindow }).then(response => {
|
|
2743
|
+
* console.log('response:', response);
|
|
2744
|
+
* });
|
|
2745
|
+
*
|
|
2746
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-trending-fungibles)
|
|
2747
|
+
*
|
|
2748
|
+
*/
|
|
2749
|
+
async fetchTrendingFungibles(params) {
|
|
2750
|
+
const adjustedParams = {};
|
|
2751
|
+
Object.assign(adjustedParams, params);
|
|
2752
|
+
const response = await this.apis.onchainApi.fetchTrendingFungibles(adjustedParams);
|
|
2753
|
+
return response.data;
|
|
2754
|
+
}
|
|
3093
2755
|
/**
|
|
3094
2756
|
* Fetches the token balances of a user given their FID
|
|
3095
2757
|
*
|
|
@@ -3730,6 +3392,426 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3730
3392
|
const response = await this.apis.storageApi.lookupUserStorageUsage(adjustedParams);
|
|
3731
3393
|
return response.data;
|
|
3732
3394
|
}
|
|
3395
|
+
/**
|
|
3396
|
+
* Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication.
|
|
3397
|
+
*
|
|
3398
|
+
* @summary Set account association
|
|
3399
|
+
*
|
|
3400
|
+
* @param {object} params
|
|
3401
|
+
* @param {AssociateDeploymentRequest} params.associateDeploymentRequest
|
|
3402
|
+
*
|
|
3403
|
+
* @returns {Promise<AssociateDeployment200Response>} A promise that resolves to a `AssociateDeployment200Response` object.
|
|
3404
|
+
*
|
|
3405
|
+
* @example
|
|
3406
|
+
*
|
|
3407
|
+
* // Fill in the appropriate values
|
|
3408
|
+
* const associateDeploymentRequest =
|
|
3409
|
+
*
|
|
3410
|
+
* client.associateDeployment({ associateDeploymentRequest }).then(response => {
|
|
3411
|
+
* console.log('response:', response);
|
|
3412
|
+
* });
|
|
3413
|
+
*
|
|
3414
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/associate-deployment)
|
|
3415
|
+
*
|
|
3416
|
+
*/
|
|
3417
|
+
async associateDeployment(params) {
|
|
3418
|
+
const adjustedParams = {};
|
|
3419
|
+
Object.assign(adjustedParams, params);
|
|
3420
|
+
const response = await this.apis.studioApi.associateDeployment(adjustedParams);
|
|
3421
|
+
return response.data;
|
|
3422
|
+
}
|
|
3423
|
+
/**
|
|
3424
|
+
* Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header.
|
|
3425
|
+
*
|
|
3426
|
+
* @summary Create a miniapp generator deployment
|
|
3427
|
+
*
|
|
3428
|
+
* @param {object} params
|
|
3429
|
+
* @param {CreateDeploymentRequest} params.createDeploymentRequest
|
|
3430
|
+
*
|
|
3431
|
+
* @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object.
|
|
3432
|
+
*
|
|
3433
|
+
* @example
|
|
3434
|
+
*
|
|
3435
|
+
* // Fill in the appropriate values
|
|
3436
|
+
* const createDeploymentRequest =
|
|
3437
|
+
*
|
|
3438
|
+
* client.createDeployment({ createDeploymentRequest }).then(response => {
|
|
3439
|
+
* console.log('response:', response);
|
|
3440
|
+
* });
|
|
3441
|
+
*
|
|
3442
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/create-deployment)
|
|
3443
|
+
*
|
|
3444
|
+
*/
|
|
3445
|
+
async createDeployment(params) {
|
|
3446
|
+
const adjustedParams = {};
|
|
3447
|
+
Object.assign(adjustedParams, params);
|
|
3448
|
+
const response = await this.apis.studioApi.createDeployment(adjustedParams);
|
|
3449
|
+
return response.data;
|
|
3450
|
+
}
|
|
3451
|
+
/**
|
|
3452
|
+
* 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.
|
|
3453
|
+
*
|
|
3454
|
+
* @summary Delete deployment(s)
|
|
3455
|
+
*
|
|
3456
|
+
* @param {object} params
|
|
3457
|
+
* @param {DeleteDeploymentRequest} params.deleteDeploymentRequest
|
|
3458
|
+
*
|
|
3459
|
+
* @returns {Promise<DeleteDeployment200Response>} A promise that resolves to a `DeleteDeployment200Response` object.
|
|
3460
|
+
*
|
|
3461
|
+
* @example
|
|
3462
|
+
*
|
|
3463
|
+
* // Fill in the appropriate values
|
|
3464
|
+
* const deleteDeploymentRequest =
|
|
3465
|
+
*
|
|
3466
|
+
* client.deleteDeployment({ deleteDeploymentRequest }).then(response => {
|
|
3467
|
+
* console.log('response:', response);
|
|
3468
|
+
* });
|
|
3469
|
+
*
|
|
3470
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-deployment)
|
|
3471
|
+
*
|
|
3472
|
+
*/
|
|
3473
|
+
async deleteDeployment(params) {
|
|
3474
|
+
const adjustedParams = {};
|
|
3475
|
+
Object.assign(adjustedParams, params);
|
|
3476
|
+
const response = await this.apis.studioApi.deleteDeployment(adjustedParams);
|
|
3477
|
+
return response.data;
|
|
3478
|
+
}
|
|
3479
|
+
/**
|
|
3480
|
+
* Retrieves all messages in a specific conversation. Requires API key authentication.
|
|
3481
|
+
*
|
|
3482
|
+
* @summary Get messages in a conversation
|
|
3483
|
+
*
|
|
3484
|
+
* @param {object} params
|
|
3485
|
+
* @param {number} params.fid - Farcaster ID of the user
|
|
3486
|
+
* @param {string} params.name - Kubernetes deployment name
|
|
3487
|
+
* @param {string} params.conversationId - Conversation ID
|
|
3488
|
+
* @param {boolean | null} params.includeDeleted [optional] - Include deleted messages in the response. Defaults to false.
|
|
3489
|
+
*
|
|
3490
|
+
* @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object.
|
|
3491
|
+
*
|
|
3492
|
+
* @example
|
|
3493
|
+
*
|
|
3494
|
+
* // Fill in the appropriate values
|
|
3495
|
+
* const fid =
|
|
3496
|
+
* const name =
|
|
3497
|
+
* const conversationId =
|
|
3498
|
+
* const includeDeleted =
|
|
3499
|
+
*
|
|
3500
|
+
* client.getConversationMessages({ fid, name, conversationId, includeDeleted }).then(response => {
|
|
3501
|
+
* console.log('response:', response);
|
|
3502
|
+
* });
|
|
3503
|
+
*
|
|
3504
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
|
|
3505
|
+
*
|
|
3506
|
+
*/
|
|
3507
|
+
async getConversationMessages(params) {
|
|
3508
|
+
const adjustedParams = {};
|
|
3509
|
+
Object.assign(adjustedParams, params);
|
|
3510
|
+
const response = await this.apis.studioApi.getConversationMessages(adjustedParams);
|
|
3511
|
+
return response.data;
|
|
3512
|
+
}
|
|
3513
|
+
/**
|
|
3514
|
+
* Fetches info about a miniapp generator deployment by its name and creator\'s Farcaster ID. Requires API key authentication.
|
|
3515
|
+
*
|
|
3516
|
+
* @summary Get deployment info
|
|
3517
|
+
*
|
|
3518
|
+
* @param {object} params
|
|
3519
|
+
* @param {number} params.fid - Farcaster ID of the user
|
|
3520
|
+
* @param {string} params.name - Kubernetes deployment name
|
|
3521
|
+
*
|
|
3522
|
+
* @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object.
|
|
3523
|
+
*
|
|
3524
|
+
* @example
|
|
3525
|
+
*
|
|
3526
|
+
* // Fill in the appropriate values
|
|
3527
|
+
* const fid =
|
|
3528
|
+
* const name =
|
|
3529
|
+
*
|
|
3530
|
+
* client.getDeployment({ fid, name }).then(response => {
|
|
3531
|
+
* console.log('response:', response);
|
|
3532
|
+
* });
|
|
3533
|
+
*
|
|
3534
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment)
|
|
3535
|
+
*
|
|
3536
|
+
*/
|
|
3537
|
+
async getDeployment(params) {
|
|
3538
|
+
const adjustedParams = {};
|
|
3539
|
+
Object.assign(adjustedParams, params);
|
|
3540
|
+
const response = await this.apis.studioApi.getDeployment(adjustedParams);
|
|
3541
|
+
return response.data;
|
|
3542
|
+
}
|
|
3543
|
+
/**
|
|
3544
|
+
* Retrieves the contents of a specific file from the generated app. Requires Studio admin authentication.
|
|
3545
|
+
*
|
|
3546
|
+
* @summary Get deployment file contents
|
|
3547
|
+
*
|
|
3548
|
+
* @param {object} params
|
|
3549
|
+
* @param {number} params.fid - Farcaster ID of the user
|
|
3550
|
+
* @param {string} params.name - Kubernetes deployment name
|
|
3551
|
+
* @param {string} params.filePath - File path relative to gen/
|
|
3552
|
+
*
|
|
3553
|
+
* @returns {Promise<GetDeploymentFile200Response>} A promise that resolves to a `GetDeploymentFile200Response` object.
|
|
3554
|
+
*
|
|
3555
|
+
* @example
|
|
3556
|
+
*
|
|
3557
|
+
* // Fill in the appropriate values
|
|
3558
|
+
* const fid =
|
|
3559
|
+
* const name =
|
|
3560
|
+
* const filePath =
|
|
3561
|
+
*
|
|
3562
|
+
* client.getDeploymentFile({ fid, name, filePath }).then(response => {
|
|
3563
|
+
* console.log('response:', response);
|
|
3564
|
+
* });
|
|
3565
|
+
*
|
|
3566
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment-file)
|
|
3567
|
+
*
|
|
3568
|
+
*/
|
|
3569
|
+
async getDeploymentFile(params) {
|
|
3570
|
+
const adjustedParams = {};
|
|
3571
|
+
Object.assign(adjustedParams, params);
|
|
3572
|
+
const response = await this.apis.studioApi.getDeploymentFile(adjustedParams);
|
|
3573
|
+
return response.data;
|
|
3574
|
+
}
|
|
3575
|
+
/**
|
|
3576
|
+
* Retrieves the server.log file from a miniapp-generator deployment. Requires Studio admin authentication.
|
|
3577
|
+
*
|
|
3578
|
+
* @summary Get deployment logs
|
|
3579
|
+
*
|
|
3580
|
+
* @param {object} params
|
|
3581
|
+
* @param {number} params.fid - Farcaster ID of the user
|
|
3582
|
+
* @param {string} params.name - Kubernetes deployment name
|
|
3583
|
+
*
|
|
3584
|
+
* @returns {Promise<GetDeploymentLogs200Response>} A promise that resolves to a `GetDeploymentLogs200Response` object.
|
|
3585
|
+
*
|
|
3586
|
+
* @example
|
|
3587
|
+
*
|
|
3588
|
+
* // Fill in the appropriate values
|
|
3589
|
+
* const fid =
|
|
3590
|
+
* const name =
|
|
3591
|
+
*
|
|
3592
|
+
* client.getDeploymentLogs({ fid, name }).then(response => {
|
|
3593
|
+
* console.log('response:', response);
|
|
3594
|
+
* });
|
|
3595
|
+
*
|
|
3596
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment-logs)
|
|
3597
|
+
*
|
|
3598
|
+
*/
|
|
3599
|
+
async getDeploymentLogs(params) {
|
|
3600
|
+
const adjustedParams = {};
|
|
3601
|
+
Object.assign(adjustedParams, params);
|
|
3602
|
+
const response = await this.apis.studioApi.getDeploymentLogs(adjustedParams);
|
|
3603
|
+
return response.data;
|
|
3604
|
+
}
|
|
3605
|
+
/**
|
|
3606
|
+
* Lists all conversations for a specific deployment. Requires API key authentication.
|
|
3607
|
+
*
|
|
3608
|
+
* @summary List conversations for a deployment
|
|
3609
|
+
*
|
|
3610
|
+
* @param {object} params
|
|
3611
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
|
|
3612
|
+
* @param {string} params.name [optional] - Kubernetes deployment name. If provided, filters conversations to this deployment only.
|
|
3613
|
+
* @param {boolean | null} params.includeDeleted [optional] - Include deleted conversations in the response. Defaults to false.
|
|
3614
|
+
*
|
|
3615
|
+
* @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object.
|
|
3616
|
+
*
|
|
3617
|
+
* @example
|
|
3618
|
+
*
|
|
3619
|
+
* // Fill in the appropriate values
|
|
3620
|
+
* const fid =
|
|
3621
|
+
* const name =
|
|
3622
|
+
* const includeDeleted =
|
|
3623
|
+
*
|
|
3624
|
+
* client.listConversations({ fid, name, includeDeleted }).then(response => {
|
|
3625
|
+
* console.log('response:', response);
|
|
3626
|
+
* });
|
|
3627
|
+
*
|
|
3628
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-conversations)
|
|
3629
|
+
*
|
|
3630
|
+
*/
|
|
3631
|
+
async listConversations(params) {
|
|
3632
|
+
const adjustedParams = {};
|
|
3633
|
+
Object.assign(adjustedParams, params);
|
|
3634
|
+
const response = await this.apis.studioApi.listConversations(adjustedParams);
|
|
3635
|
+
return response.data;
|
|
3636
|
+
}
|
|
3637
|
+
/**
|
|
3638
|
+
* Lists files in a directory of the generated app. Requires Studio admin authentication.
|
|
3639
|
+
*
|
|
3640
|
+
* @summary List deployment files
|
|
3641
|
+
*
|
|
3642
|
+
* @param {object} params
|
|
3643
|
+
* @param {number} params.fid - Farcaster ID of the user
|
|
3644
|
+
* @param {string} params.name - Kubernetes deployment name
|
|
3645
|
+
* @param {string} params.directory [optional] - Directory path relative to gen/ (defaults to root)
|
|
3646
|
+
*
|
|
3647
|
+
* @returns {Promise<ListDeploymentFiles200Response>} A promise that resolves to a `ListDeploymentFiles200Response` object.
|
|
3648
|
+
*
|
|
3649
|
+
* @example
|
|
3650
|
+
*
|
|
3651
|
+
* // Fill in the appropriate values
|
|
3652
|
+
* const fid =
|
|
3653
|
+
* const name =
|
|
3654
|
+
* const directory =
|
|
3655
|
+
*
|
|
3656
|
+
* client.listDeploymentFiles({ fid, name, directory }).then(response => {
|
|
3657
|
+
* console.log('response:', response);
|
|
3658
|
+
* });
|
|
3659
|
+
*
|
|
3660
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployment-files)
|
|
3661
|
+
*
|
|
3662
|
+
*/
|
|
3663
|
+
async listDeploymentFiles(params) {
|
|
3664
|
+
const adjustedParams = {};
|
|
3665
|
+
Object.assign(adjustedParams, params);
|
|
3666
|
+
const response = await this.apis.studioApi.listDeploymentFiles(adjustedParams);
|
|
3667
|
+
return response.data;
|
|
3668
|
+
}
|
|
3669
|
+
/**
|
|
3670
|
+
* Lists all miniapp generator deployments for a user. Requires API key authentication.
|
|
3671
|
+
*
|
|
3672
|
+
* @summary List deployments
|
|
3673
|
+
*
|
|
3674
|
+
* @param {object} params
|
|
3675
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
|
|
3676
|
+
* @param {number} params.limit [optional] - Maximum number of deployments to return. Defaults to 50, max 1000. (Default: 50, Maximum: 1000)
|
|
3677
|
+
* @param {number | null} params.offset [optional] - Number of deployments to skip for pagination. Defaults to 0.
|
|
3678
|
+
* @param {boolean | null} params.includeDeleted [optional] - Include deleted deployments in the response. Defaults to false.
|
|
3679
|
+
*
|
|
3680
|
+
* @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object.
|
|
3681
|
+
*
|
|
3682
|
+
* @example
|
|
3683
|
+
*
|
|
3684
|
+
* // Fill in the appropriate values
|
|
3685
|
+
* const fid =
|
|
3686
|
+
* const limit =
|
|
3687
|
+
* const offset =
|
|
3688
|
+
* const includeDeleted =
|
|
3689
|
+
*
|
|
3690
|
+
* client.listDeployments({ fid, limit, offset, includeDeleted }).then(response => {
|
|
3691
|
+
* console.log('response:', response);
|
|
3692
|
+
* });
|
|
3693
|
+
*
|
|
3694
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
|
|
3695
|
+
*
|
|
3696
|
+
*/
|
|
3697
|
+
async listDeployments(params) {
|
|
3698
|
+
const adjustedParams = {};
|
|
3699
|
+
Object.assign(adjustedParams, params);
|
|
3700
|
+
const response = await this.apis.studioApi.listDeployments(adjustedParams);
|
|
3701
|
+
return response.data;
|
|
3702
|
+
}
|
|
3703
|
+
/**
|
|
3704
|
+
* Sends a prompt to a specific miniapp generator deployment. Requires authentication via API key in the request header.
|
|
3705
|
+
*
|
|
3706
|
+
* @summary Prompt a deployment
|
|
3707
|
+
*
|
|
3708
|
+
* @param {object} params
|
|
3709
|
+
* @param {PromptDeploymentRequest} params.promptDeploymentRequest
|
|
3710
|
+
*
|
|
3711
|
+
* @returns {Promise<PromptDeployment200Response>} A promise that resolves to a `PromptDeployment200Response` object.
|
|
3712
|
+
*
|
|
3713
|
+
* @example
|
|
3714
|
+
*
|
|
3715
|
+
* // Fill in the appropriate values
|
|
3716
|
+
* const promptDeploymentRequest =
|
|
3717
|
+
*
|
|
3718
|
+
* client.promptDeployment({ promptDeploymentRequest }).then(response => {
|
|
3719
|
+
* console.log('response:', response);
|
|
3720
|
+
* });
|
|
3721
|
+
*
|
|
3722
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/prompt-deployment)
|
|
3723
|
+
*
|
|
3724
|
+
*/
|
|
3725
|
+
async promptDeployment(params) {
|
|
3726
|
+
const adjustedParams = {};
|
|
3727
|
+
Object.assign(adjustedParams, params);
|
|
3728
|
+
const response = await this.apis.studioApi.promptDeployment(adjustedParams);
|
|
3729
|
+
return response.data;
|
|
3730
|
+
}
|
|
3731
|
+
/**
|
|
3732
|
+
* 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.
|
|
3733
|
+
*
|
|
3734
|
+
* @summary Prompt a deployment with streaming response
|
|
3735
|
+
*
|
|
3736
|
+
* @param {object} params
|
|
3737
|
+
* @param {PromptDeploymentRequest} params.promptDeploymentRequest
|
|
3738
|
+
*
|
|
3739
|
+
* @returns {Promise<void>} A promise that resolves to a `void` object.
|
|
3740
|
+
*
|
|
3741
|
+
* @example
|
|
3742
|
+
*
|
|
3743
|
+
* // Fill in the appropriate values
|
|
3744
|
+
* const promptDeploymentRequest =
|
|
3745
|
+
*
|
|
3746
|
+
* client.promptDeploymentStream({ promptDeploymentRequest }).then(response => {
|
|
3747
|
+
* console.log('response:', response);
|
|
3748
|
+
* });
|
|
3749
|
+
*
|
|
3750
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/prompt-deployment-stream)
|
|
3751
|
+
*
|
|
3752
|
+
*/
|
|
3753
|
+
async promptDeploymentStream(params) {
|
|
3754
|
+
const adjustedParams = {};
|
|
3755
|
+
Object.assign(adjustedParams, params);
|
|
3756
|
+
const response = await this.apis.studioApi.promptDeploymentStream(adjustedParams);
|
|
3757
|
+
return response.data;
|
|
3758
|
+
}
|
|
3759
|
+
/**
|
|
3760
|
+
* 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.
|
|
3761
|
+
*
|
|
3762
|
+
* @summary Upload image to deployment
|
|
3763
|
+
*
|
|
3764
|
+
* @param {object} params
|
|
3765
|
+
* @param {UploadImageUrlRequest} params.uploadImageUrlRequest
|
|
3766
|
+
*
|
|
3767
|
+
* @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object.
|
|
3768
|
+
*
|
|
3769
|
+
* @example
|
|
3770
|
+
*
|
|
3771
|
+
* // Fill in the appropriate values
|
|
3772
|
+
* const uploadImageUrlRequest =
|
|
3773
|
+
*
|
|
3774
|
+
* client.uploadImage({ uploadImageUrlRequest }).then(response => {
|
|
3775
|
+
* console.log('response:', response);
|
|
3776
|
+
* });
|
|
3777
|
+
*
|
|
3778
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image)
|
|
3779
|
+
*
|
|
3780
|
+
*/
|
|
3781
|
+
async uploadImage(params) {
|
|
3782
|
+
const adjustedParams = {};
|
|
3783
|
+
Object.assign(adjustedParams, params);
|
|
3784
|
+
const response = await this.apis.studioApi.uploadImage(adjustedParams);
|
|
3785
|
+
return response.data;
|
|
3786
|
+
}
|
|
3787
|
+
/**
|
|
3788
|
+
* 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.
|
|
3789
|
+
*
|
|
3790
|
+
* @summary Upload image from URL to deployment
|
|
3791
|
+
*
|
|
3792
|
+
* @param {object} params
|
|
3793
|
+
* @param {UploadImageUrlRequest} params.uploadImageUrlRequest
|
|
3794
|
+
*
|
|
3795
|
+
* @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object.
|
|
3796
|
+
*
|
|
3797
|
+
* @example
|
|
3798
|
+
*
|
|
3799
|
+
* // Fill in the appropriate values
|
|
3800
|
+
* const uploadImageUrlRequest =
|
|
3801
|
+
*
|
|
3802
|
+
* client.uploadImageUrl({ uploadImageUrlRequest }).then(response => {
|
|
3803
|
+
* console.log('response:', response);
|
|
3804
|
+
* });
|
|
3805
|
+
*
|
|
3806
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image-url)
|
|
3807
|
+
*
|
|
3808
|
+
*/
|
|
3809
|
+
async uploadImageUrl(params) {
|
|
3810
|
+
const adjustedParams = {};
|
|
3811
|
+
Object.assign(adjustedParams, params);
|
|
3812
|
+
const response = await this.apis.studioApi.uploadImageUrl(adjustedParams);
|
|
3813
|
+
return response.data;
|
|
3814
|
+
}
|
|
3733
3815
|
/**
|
|
3734
3816
|
* Fetch what FIDs and contracts a FID is subscribed to.
|
|
3735
3817
|
*
|
|
@@ -4232,6 +4314,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4232
4314
|
* @summary Register new account
|
|
4233
4315
|
*
|
|
4234
4316
|
* @param {object} params
|
|
4317
|
+
* @param {RegisterUserReqBodySigner} params.signer [optional]
|
|
4235
4318
|
* @param {string} params.signature
|
|
4236
4319
|
* @param {number} params.fid
|
|
4237
4320
|
* @param {string} params.requestedUserCustodyAddress
|
|
@@ -4244,6 +4327,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4244
4327
|
* @example
|
|
4245
4328
|
*
|
|
4246
4329
|
* // Fill in the appropriate values
|
|
4330
|
+
* const signer =
|
|
4247
4331
|
* const signature =
|
|
4248
4332
|
* const fid =
|
|
4249
4333
|
* const requestedUserCustodyAddress =
|
|
@@ -4251,7 +4335,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4251
4335
|
* const fname =
|
|
4252
4336
|
* const metadata =
|
|
4253
4337
|
*
|
|
4254
|
-
* client.registerAccount({signature, fid, requestedUserCustodyAddress, deadline, fname, metadata}).then(response => {
|
|
4338
|
+
* client.registerAccount({signer, signature, fid, requestedUserCustodyAddress, deadline, fname, metadata}).then(response => {
|
|
4255
4339
|
* console.log('response:', response);
|
|
4256
4340
|
* });
|
|
4257
4341
|
*
|
|
@@ -4344,7 +4428,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4344
4428
|
* @param {string} params.username [optional]
|
|
4345
4429
|
* @param {string} params.displayName [optional]
|
|
4346
4430
|
* @param {UpdateUserReqBodyLocation} params.location [optional]
|
|
4347
|
-
* @param {string} params.banner [optional]
|
|
4431
|
+
* @param {string} params.banner [optional] - Requires pro subscription.
|
|
4432
|
+
* @param {string} params.primaryEthAddress [optional] - Must be one of the verified addresses.
|
|
4433
|
+
* @param {string} params.primarySolAddress [optional] - Must be one of the verified addresses.
|
|
4348
4434
|
* @param {UpdateUserReqBodyVerifiedAccounts} params.verifiedAccounts [optional]
|
|
4349
4435
|
*
|
|
4350
4436
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -4360,9 +4446,11 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4360
4446
|
* const displayName =
|
|
4361
4447
|
* const location =
|
|
4362
4448
|
* const banner =
|
|
4449
|
+
* const primaryEthAddress =
|
|
4450
|
+
* const primarySolAddress =
|
|
4363
4451
|
* const verifiedAccounts =
|
|
4364
4452
|
*
|
|
4365
|
-
* client.updateUser({signerUuid, bio, pfpUrl, url, username, displayName, location, banner, verifiedAccounts}).then(response => {
|
|
4453
|
+
* client.updateUser({signerUuid, bio, pfpUrl, url, username, displayName, location, banner, primaryEthAddress, primarySolAddress, verifiedAccounts}).then(response => {
|
|
4366
4454
|
* console.log('response:', response);
|
|
4367
4455
|
* });
|
|
4368
4456
|
*
|