@neynar/nodejs-sdk 3.137.2 → 3.170.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/api.d.ts +364 -26
- package/build/api/api.js +335 -40
- 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 +9 -9
- package/build/api/apis/cast-api.js +5 -5
- 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 +46 -46
- package/build/api/apis/feed-api.js +23 -23
- 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 +9 -9
- package/build/api/apis/follows-api.js +5 -5
- package/build/api/apis/frame-api.d.ts +6 -6
- package/build/api/apis/frame-api.js +5 -5
- 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 +316 -22
- package/build/api/apis/onchain-api.js +298 -12
- package/build/api/apis/organization-api.d.ts +105 -0
- package/build/api/apis/organization-api.js +138 -0
- package/build/api/apis/portal-api.d.ts +283 -0
- package/build/api/apis/portal-api.js +317 -0
- 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 +731 -68
- package/build/api/apis/studio-api.js +682 -44
- package/build/api/apis/subscribers-api.d.ts +1 -1
- package/build/api/apis/subscribers-api.js +1 -1
- package/build/api/apis/subscription-api.d.ts +225 -0
- package/build/api/apis/subscription-api.js +242 -0
- package/build/api/apis/topic-api.d.ts +1 -1
- package/build/api/apis/topic-api.js +1 -1
- package/build/api/apis/user-api.d.ts +14 -14
- package/build/api/apis/user-api.js +7 -7
- 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-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 +28 -5
- package/build/api/models/app-host-post-event-req-body.js +8 -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/assign-custom-domain-request.d.ts +21 -0
- package/build/api/models/{embed-cast-deep-cast-id.js → assign-custom-domain-request.js} +1 -1
- package/build/api/models/assign-custom-domain200-response.d.ts +22 -0
- package/build/api/models/{mint-nft-request-recipients-inner-one-of1.js → assign-custom-domain200-response.js} +1 -1
- package/build/api/models/associate-deployment-request-account-association.d.ts +1 -1
- package/build/api/models/associate-deployment-request-account-association.js +1 -1
- package/build/api/models/associate-deployment-request.d.ts +1 -1
- package/build/api/models/associate-deployment-request.js +1 -1
- package/build/api/models/associate-deployment200-response.d.ts +1 -1
- package/build/api/models/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/batch-get-token-metadata200-response-tokens-inner.d.ts +2 -2
- package/build/api/models/batch-get-token-metadata200-response-tokens-inner.js +1 -1
- package/build/api/models/batch-get-token-metadata200-response.d.ts +1 -1
- package/build/api/models/batch-get-token-metadata200-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/billing200-response.d.ts +29 -0
- package/build/api/models/{mint-nft-request-recipients-inner-one-of.js → billing200-response.js} +1 -1
- package/build/api/models/billing400-response.d.ts +15 -0
- package/build/api/models/{deploy-erc721-request-collection-config.js → billing400-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/build-request.d.ts +1 -1
- package/build/api/models/build-request.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-relevant-fungible-owners-response-value.d.ts +17 -0
- package/build/api/models/bulk-relevant-fungible-owners-response-value.js +15 -0
- package/build/api/models/bulk-relevant-fungible-owners-response.d.ts +15 -0
- package/build/api/models/bulk-relevant-fungible-owners-response.js +15 -0
- 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 +4 -1
- package/build/api/models/buy-storage-req-body.js +1 -1
- package/build/api/models/cancel-session-request.d.ts +33 -0
- package/build/api/models/cancel-session-request.js +15 -0
- package/build/api/models/cancel-session200-response.d.ts +17 -0
- package/build/api/models/cancel-session200-response.js +15 -0
- package/build/api/models/cast-and-conversations-ref.d.ts +1 -1
- package/build/api/models/cast-and-conversations-ref.js +1 -1
- package/build/api/models/cast-and-conversations.d.ts +1 -1
- 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/{embed-cast-deep-cast-id.d.ts → cast-id.d.ts} +2 -2
- package/build/api/models/cast-id.js +15 -0
- 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 +1 -1
- 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 -1
- package/build/api/models/cast.js +1 -1
- package/build/api/models/casts-metrics-response.d.ts +1 -1
- package/build/api/models/casts-metrics-response.js +1 -1
- package/build/api/models/casts-metrics.d.ts +1 -1
- package/build/api/models/casts-metrics.js +1 -1
- package/build/api/models/casts-response-result.d.ts +1 -1
- package/build/api/models/casts-response-result.js +1 -1
- package/build/api/models/casts-response.d.ts +1 -1
- package/build/api/models/casts-response.js +1 -1
- package/build/api/models/casts-search-response.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 +6 -2
- 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 +6 -2
- 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/{deploy-erc721-request-collection-config.d.ts → check-domain-availability200-response.d.ts} +8 -9
- package/build/api/models/check-domain-availability200-response.js +15 -0
- package/build/api/models/claim-credit-drop-request.d.ts +17 -0
- package/build/api/models/claim-credit-drop-request.js +15 -0
- package/build/api/models/claim-credit-drop200-response.d.ts +22 -0
- package/build/api/models/claim-credit-drop200-response.js +15 -0
- 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 +1 -1
- package/build/api/models/create-deployment-request.js +1 -1
- package/build/api/models/create-x402-signature-request-payment-requirements-accepts-inner.d.ts +3 -3
- package/build/api/models/create-x402-signature-request-payment-requirements-accepts-inner.js +1 -1
- package/build/api/models/create-x402-signature-request-payment-requirements.d.ts +1 -1
- package/build/api/models/create-x402-signature-request-payment-requirements.js +1 -1
- package/build/api/models/create-x402-signature-request.d.ts +1 -1
- package/build/api/models/create-x402-signature-request.js +1 -1
- package/build/api/models/create-x402-signature200-response-payload-authorization.d.ts +1 -1
- package/build/api/models/create-x402-signature200-response-payload-authorization.js +1 -1
- package/build/api/models/create-x402-signature200-response-payload.d.ts +1 -1
- package/build/api/models/create-x402-signature200-response-payload.js +1 -1
- package/build/api/models/create-x402-signature200-response.d.ts +1 -1
- package/build/api/models/create-x402-signature200-response.js +1 -1
- package/build/api/models/delete-cast-req-body.d.ts +1 -1
- package/build/api/models/delete-cast-req-body.js +1 -1
- package/build/api/models/delete-deployment-request.d.ts +1 -1
- package/build/api/models/delete-deployment-request.js +1 -1
- package/build/api/models/delete-deployment200-response.d.ts +1 -1
- package/build/api/models/delete-deployment200-response.js +1 -1
- package/build/api/models/delete-rows-request.d.ts +2 -2
- package/build/api/models/delete-rows-request.js +1 -1
- package/build/api/models/delete-rows200-response.d.ts +1 -1
- package/build/api/models/delete-rows200-response.js +1 -1
- package/build/api/models/delete-secrets-request.d.ts +1 -1
- package/build/api/models/delete-secrets-request.js +1 -1
- package/build/api/models/deploy-erc721-request-mint-config.d.ts +1 -1
- package/build/api/models/deploy-erc721-request-mint-config.js +1 -1
- package/build/api/models/deploy-erc721-request.d.ts +14 -8
- package/build/api/models/deploy-erc721-request.js +1 -1
- package/build/api/models/deploy-erc721201-response-collection.d.ts +1 -4
- package/build/api/models/deploy-erc721201-response-collection.js +1 -1
- package/build/api/models/deploy-erc721201-response.d.ts +1 -1
- package/build/api/models/deploy-erc721201-response.js +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.js +1 -1
- package/build/api/models/deploy-fungible-response-contract.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract.js +1 -1
- package/build/api/models/deploy-fungible-response.d.ts +1 -1
- package/build/api/models/deploy-fungible-response.js +1 -1
- package/build/api/models/deploy-to-vercel-request.d.ts +1 -1
- package/build/api/models/deploy-to-vercel-request.js +1 -1
- package/build/api/models/deploy-to-vercel200-response.d.ts +1 -1
- package/build/api/models/deploy-to-vercel200-response.js +1 -1
- package/build/api/models/deploy-to-vercel400-response.d.ts +1 -1
- package/build/api/models/deploy-to-vercel400-response.js +1 -1
- package/build/api/models/developer-managed-signer.d.ts +1 -1
- package/build/api/models/developer-managed-signer.js +1 -1
- package/build/api/models/embed-cast-deep.d.ts +3 -3
- package/build/api/models/embed-cast-deep.js +1 -1
- package/build/api/models/embed-cast.d.ts +3 -3
- package/build/api/models/embed-cast.js +1 -1
- package/build/api/models/embed-deep.d.ts +13 -7
- 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 +13 -7
- 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/execute-sql-request.d.ts +1 -1
- package/build/api/models/execute-sql-request.js +1 -1
- package/build/api/models/execute-sql200-response.d.ts +2 -2
- package/build/api/models/execute-sql200-response.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 +1 -1
- package/build/api/models/farcaster-fungible.js +1 -1
- package/build/api/models/farcaster-manifest-frame.d.ts +2 -2
- package/build/api/models/farcaster-manifest-frame.js +2 -2
- 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-fungible-trades200-response-trades-inner-pool.d.ts +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-pool.js +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-net-transfer.d.ts +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-net-transfer.js +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-network.d.ts +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-network.js +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction.d.ts +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction.js +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner.d.ts +1 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner.js +1 -1
- package/build/api/models/fetch-fungible-trades200-response.d.ts +1 -1
- package/build/api/models/fetch-fungible-trades200-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/fetch-trending-fungibles200-response-trending-inner-fungible-price.d.ts +1 -1
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible-price.js +1 -1
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible.d.ts +1 -1
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible.js +1 -1
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner.d.ts +1 -1
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner.js +1 -1
- package/build/api/models/fetch-trending-fungibles200-response.d.ts +1 -1
- package/build/api/models/fetch-trending-fungibles200-response.js +1 -1
- package/build/api/models/fetch-user-interactions200-response.d.ts +1 -1
- package/build/api/models/fetch-user-interactions200-response.js +1 -1
- package/build/api/models/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/fetch-verifications200-response.d.ts +1 -1
- package/build/api/models/fetch-verifications200-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 +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +1 -1
- package/build/api/models/frame-notification-tokens.d.ts +1 -1
- package/build/api/models/frame-notification-tokens.js +1 -1
- package/build/api/models/frame-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 +36 -17
- package/build/api/models/frame.js +1 -1
- package/build/api/models/fungible-balance-balance.d.ts +1 -1
- package/build/api/models/fungible-balance-balance.js +1 -1
- package/build/api/models/fungible-balance.d.ts +1 -1
- package/build/api/models/fungible-balance.js +1 -1
- package/build/api/models/fungible.d.ts +1 -1
- package/build/api/models/fungible.js +1 -1
- package/build/api/models/fungibles-response-schema.d.ts +1 -1
- package/build/api/models/fungibles-response-schema.js +1 -1
- package/build/api/models/generate-image-request.d.ts +43 -0
- package/build/api/models/generate-image-request.js +21 -0
- package/build/api/models/generate-image200-response.d.ts +14 -0
- package/build/api/models/generate-image200-response.js +15 -0
- package/build/api/models/get-account-association200-response.d.ts +1 -1
- package/build/api/models/get-account-association200-response.js +1 -1
- package/build/api/models/get-conversation-messages200-response-messages-inner.d.ts +1 -1
- package/build/api/models/get-conversation-messages200-response-messages-inner.js +1 -1
- package/build/api/models/get-conversation-messages200-response.d.ts +3 -1
- package/build/api/models/get-conversation-messages200-response.js +1 -1
- package/build/api/models/get-credit-drop200-response.d.ts +49 -0
- package/build/api/models/get-credit-drop200-response.js +15 -0
- package/build/api/models/get-credit-drop402-response.d.ts +15 -0
- package/build/api/models/get-credit-drop402-response.js +15 -0
- package/build/api/models/get-deployment-file200-response.d.ts +1 -1
- package/build/api/models/get-deployment-file200-response.js +1 -1
- package/build/api/models/get-dev-status200-response-one-of.d.ts +1 -1
- package/build/api/models/get-dev-status200-response-one-of.js +1 -1
- package/build/api/models/get-dev-status200-response-one-of1.d.ts +2 -2
- package/build/api/models/get-dev-status200-response-one-of1.js +1 -1
- package/build/api/models/get-dev-status200-response.d.ts +1 -1
- package/build/api/models/get-dev-status200-response.js +1 -1
- package/build/api/models/get-notification-campaign-stats200-response.d.ts +1 -1
- package/build/api/models/get-notification-campaign-stats200-response.js +1 -1
- package/build/api/models/get-table-schema200-response-columns-inner.d.ts +1 -1
- package/build/api/models/get-table-schema200-response-columns-inner.js +1 -1
- package/build/api/models/get-table-schema200-response-foreign-keys-inner.d.ts +1 -1
- package/build/api/models/get-table-schema200-response-foreign-keys-inner.js +1 -1
- package/build/api/models/get-table-schema200-response-indexes-inner.d.ts +1 -1
- package/build/api/models/get-table-schema200-response-indexes-inner.js +1 -1
- package/build/api/models/get-table-schema200-response.d.ts +1 -1
- package/build/api/models/get-table-schema200-response.js +1 -1
- package/build/api/models/get-token-metadata200-response-token.d.ts +2 -2
- package/build/api/models/get-token-metadata200-response-token.js +1 -1
- package/build/api/models/get-token-metadata200-response.d.ts +1 -1
- package/build/api/models/get-token-metadata200-response.js +1 -1
- package/build/api/models/get-wallet-balances200-response-balances-inner.d.ts +2 -2
- package/build/api/models/get-wallet-balances200-response-balances-inner.js +1 -1
- package/build/api/models/get-wallet-balances200-response-next.d.ts +1 -1
- package/build/api/models/get-wallet-balances200-response-next.js +1 -1
- package/build/api/models/get-wallet-balances200-response.d.ts +1 -1
- package/build/api/models/get-wallet-balances200-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 +48 -10
- package/build/api/models/index.js +48 -10
- package/build/api/models/insert-rows-request.d.ts +2 -2
- package/build/api/models/insert-rows-request.js +1 -1
- package/build/api/models/insert-rows200-response.d.ts +2 -2
- package/build/api/models/insert-rows200-response.js +1 -1
- 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 +1 -1
- package/build/api/models/list-conversations200-response-conversations-inner.js +1 -1
- package/build/api/models/list-conversations200-response.d.ts +1 -1
- package/build/api/models/list-conversations200-response.js +1 -1
- package/build/api/models/list-deployment-files200-response-files-inner.d.ts +1 -1
- package/build/api/models/list-deployment-files200-response-files-inner.js +1 -1
- package/build/api/models/list-deployment-files200-response.d.ts +1 -1
- package/build/api/models/list-deployment-files200-response.js +1 -1
- package/build/api/models/list-deployments200-response-inner-production-app-status.d.ts +1 -1
- package/build/api/models/list-deployments200-response-inner-production-app-status.js +1 -1
- package/build/api/models/list-deployments200-response-inner.d.ts +16 -1
- package/build/api/models/list-deployments200-response-inner.js +8 -1
- package/build/api/models/list-deployments400-response.d.ts +1 -1
- package/build/api/models/list-deployments400-response.js +1 -1
- package/build/api/models/list-secrets200-response-secrets-inner.d.ts +14 -1
- package/build/api/models/list-secrets200-response-secrets-inner.js +6 -1
- package/build/api/models/list-secrets200-response.d.ts +1 -1
- package/build/api/models/list-secrets200-response.js +1 -1
- package/build/api/models/list-tables200-response-tables-inner.d.ts +1 -1
- package/build/api/models/list-tables200-response-tables-inner.js +1 -1
- package/build/api/models/list-tables200-response.d.ts +1 -1
- package/build/api/models/list-tables200-response.js +1 -1
- package/build/api/models/list-tables400-response.d.ts +1 -1
- package/build/api/models/list-tables400-response.js +1 -1
- package/build/api/models/location-address.d.ts +1 -1
- package/build/api/models/location-address.js +1 -1
- package/build/api/models/location.d.ts +1 -1
- package/build/api/models/location.js +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.d.ts +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.js +1 -1
- package/build/api/models/miniapp-domain-response.d.ts +2 -2
- package/build/api/models/miniapp-domain-response.js +1 -1
- package/build/api/models/{mint-nft-request-recipients-inner-one-of.d.ts → mint-nft-request-recipients-inner-any-of.d.ts} +2 -2
- package/build/api/models/mint-nft-request-recipients-inner-any-of.js +15 -0
- package/build/api/models/{mint-nft-request-recipients-inner-one-of1.d.ts → mint-nft-request-recipients-inner-any-of1.d.ts} +2 -2
- package/build/api/models/mint-nft-request-recipients-inner-any-of1.js +15 -0
- package/build/api/models/mint-nft-request-recipients-inner.d.ts +12 -5
- 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-one-of-receipt.d.ts +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-receipt.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient-tokens-inner.d.ts +14 -0
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient-tokens-inner.js +15 -0
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient.d.ts +6 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of.d.ts +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of1-recipient.d.ts +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of1-recipient.js +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of1.d.ts +1 -1
- package/build/api/models/mint-nft200-response-transactions-inner-one-of1.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/notification-campaign-stats-error-breakdown.d.ts +1 -1
- package/build/api/models/notification-campaign-stats-error-breakdown.js +1 -1
- package/build/api/models/notification-campaign-stats.d.ts +5 -5
- package/build/api/models/notification-campaign-stats.js +1 -1
- package/build/api/models/notification-campaign-status.d.ts +22 -0
- package/build/api/models/notification-campaign-status.js +26 -0
- package/build/api/models/notification-campaign.d.ts +21 -1
- package/build/api/models/notification-campaign.js +9 -1
- package/build/api/models/notification-type.d.ts +1 -1
- package/build/api/models/notification-type.js +1 -1
- package/build/api/models/notification.d.ts +1 -1
- package/build/api/models/notification.js +1 -1
- package/build/api/models/notifications-response.d.ts +1 -1
- package/build/api/models/notifications-response.js +1 -1
- package/build/api/models/oembed-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-one-of.d.ts → post-cast-req-body-embeds-any-of.d.ts} +2 -2
- package/build/api/models/post-cast-req-body-embeds-any-of.js +15 -0
- package/build/api/models/{post-cast-req-body-embeds-one-of1.d.ts → post-cast-req-body-embeds-any-of1.d.ts} +2 -2
- package/build/api/models/post-cast-req-body-embeds-any-of1.js +15 -0
- package/build/api/models/{post-cast-req-body-embeds-one-of2.d.ts → post-cast-req-body-embeds-any-of2.d.ts} +2 -2
- package/build/api/models/post-cast-req-body-embeds-any-of2.js +15 -0
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +1 -1
- package/build/api/models/post-cast-req-body-embeds.d.ts +7 -8
- 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-stream-request-images-inner.d.ts +28 -0
- package/build/api/models/prompt-deployment-stream-request-images-inner.js +22 -0
- package/build/api/models/prompt-deployment-stream-request.d.ts +6 -1
- package/build/api/models/prompt-deployment-stream-request.js +1 -1
- package/build/api/models/prompt-deployment-stream202-response.d.ts +25 -0
- package/build/api/models/prompt-deployment-stream202-response.js +15 -0
- package/build/api/models/protocol.d.ts +1 -1
- package/build/api/models/protocol.js +1 -1
- package/build/api/models/provision-request.d.ts +25 -0
- package/build/api/models/provision-request.js +15 -0
- package/build/api/models/provision200-response.d.ts +18 -0
- package/build/api/models/provision200-response.js +15 -0
- package/build/api/models/query-table-request.d.ts +1 -1
- package/build/api/models/query-table-request.js +1 -1
- package/build/api/models/query-table200-response-columns-inner.d.ts +1 -1
- package/build/api/models/query-table200-response-columns-inner.js +1 -1
- package/build/api/models/query-table200-response.d.ts +2 -2
- package/build/api/models/query-table200-response.js +1 -1
- package/build/api/models/queued-frame-notifications-response.d.ts +19 -0
- package/build/api/models/queued-frame-notifications-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/recover-request.d.ts +1 -1
- package/build/api/models/recover-request.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/register-user-req-body-signer.d.ts +1 -1
- package/build/api/models/register-user-req-body-signer.js +1 -1
- package/build/api/models/register-user-req-body.d.ts +1 -1
- package/build/api/models/register-user-req-body.js +1 -1
- package/build/api/models/register-user-response-signers-inner.d.ts +1 -1
- package/build/api/models/register-user-response-signers-inner.js +1 -1
- package/build/api/models/register-user-response.d.ts +1 -1
- package/build/api/models/register-user-response.js +1 -1
- package/build/api/models/relevant-followers-response.d.ts +1 -1
- package/build/api/models/relevant-followers-response.js +1 -1
- package/build/api/models/relevant-fungible-owners-response.d.ts +1 -1
- package/build/api/models/relevant-fungible-owners-response.js +1 -1
- package/build/api/models/remove-channel-member-req-body.d.ts +1 -1
- package/build/api/models/remove-channel-member-req-body.js +1 -1
- package/build/api/models/remove-verification-req-body.d.ts +1 -1
- package/build/api/models/remove-verification-req-body.js +1 -1
- package/build/api/models/respond-channel-invite-req-body.d.ts +1 -1
- package/build/api/models/respond-channel-invite-req-body.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-filters.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body-filters.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.js +1 -1
- package/build/api/models/send-frame-notifications-req-body.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body.js +1 -1
- package/build/api/models/send-frame-notifications-response.d.ts +4 -4
- package/build/api/models/send-frame-notifications-response.js +1 -1
- package/build/api/models/shared-signer-permission.d.ts +1 -1
- package/build/api/models/shared-signer-permission.js +1 -1
- package/build/api/models/signed-key-request-sponsor.d.ts +1 -1
- package/build/api/models/signed-key-request-sponsor.js +1 -1
- package/build/api/models/signed-message-body-signed-message.d.ts +6 -4
- package/build/api/models/signed-message-body-signed-message.js +1 -1
- package/build/api/models/signed-message-body.d.ts +1 -1
- package/build/api/models/signed-message-body.js +1 -1
- package/build/api/models/signer-list-response.d.ts +1 -1
- package/build/api/models/signer-list-response.js +1 -1
- package/build/api/models/signer-uuid-body.d.ts +12 -3
- package/build/api/models/signer-uuid-body.js +8 -1
- 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-recipient-one-of.d.ts → simulate-nft-mint-response-inner-recipient-any-of.d.ts} +2 -2
- package/build/api/models/simulate-nft-mint-response-inner-recipient-any-of.js +15 -0
- package/build/api/models/{simulate-nft-mint-response-inner-recipient-one-of1.d.ts → simulate-nft-mint-response-inner-recipient-any-of1.d.ts} +2 -2
- package/build/api/models/simulate-nft-mint-response-inner-recipient-any-of1.js +15 -0
- package/build/api/models/simulate-nft-mint-response-inner-recipient.d.ts +12 -5
- package/build/api/models/simulate-nft-mint-response-inner-recipient.js +1 -1
- package/build/api/models/simulate-nft-mint-response-inner.d.ts +7 -3
- 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/start-app-request.d.ts +1 -1
- package/build/api/models/start-app-request.js +1 -1
- package/build/api/models/start-app200-response.d.ts +1 -1
- package/build/api/models/start-app200-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/top-level-topic.d.ts +36 -0
- package/build/api/models/top-level-topic.js +40 -0
- 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-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/trending-topic.d.ts +3 -27
- package/build/api/models/trending-topic.js +1 -23
- package/build/api/models/trending-topics-response.d.ts +1 -1
- package/build/api/models/trending-topics-response.js +1 -1
- package/build/api/models/update-rows-request.d.ts +3 -3
- package/build/api/models/update-rows-request.js +1 -1
- package/build/api/models/update-rows200-response.d.ts +1 -1
- package/build/api/models/update-rows200-response.js +1 -1
- package/build/api/models/update-user-req-body-location.d.ts +1 -1
- package/build/api/models/update-user-req-body-location.js +1 -1
- package/build/api/models/update-user-req-body-verified-accounts.d.ts +1 -1
- package/build/api/models/update-user-req-body-verified-accounts.js +1 -1
- package/build/api/models/update-user-req-body.d.ts +1 -1
- package/build/api/models/update-user-req-body.js +1 -1
- package/build/api/models/update-user207-response-errors-inner.d.ts +1 -1
- package/build/api/models/update-user207-response-errors-inner.js +1 -1
- package/build/api/models/update-user207-response.d.ts +1 -1
- package/build/api/models/update-user207-response.js +1 -1
- package/build/api/models/upgrade-preview200-response-credit.d.ts +16 -0
- package/build/api/models/upgrade-preview200-response-credit.js +15 -0
- package/build/api/models/upgrade-preview200-response-current-plan.d.ts +17 -0
- package/build/api/models/upgrade-preview200-response-current-plan.js +15 -0
- package/build/api/models/upgrade-preview200-response-new-plan.d.ts +16 -0
- package/build/api/models/upgrade-preview200-response-new-plan.js +15 -0
- package/build/api/models/upgrade-preview200-response.d.ts +22 -0
- package/build/api/models/upgrade-preview200-response.js +15 -0
- package/build/api/models/upgrade-preview400-response-payment-method.d.ts +15 -0
- package/build/api/models/upgrade-preview400-response-payment-method.js +15 -0
- package/build/api/models/upgrade-preview400-response.d.ts +17 -0
- package/build/api/models/upgrade-preview400-response.js +15 -0
- package/build/api/models/upgrade-request.d.ts +20 -0
- package/build/api/models/upgrade-request.js +20 -0
- package/build/api/models/upgrade200-response.d.ts +18 -0
- package/build/api/models/upgrade200-response.js +15 -0
- package/build/api/models/upload-image-url-request.d.ts +1 -1
- package/build/api/models/upload-image-url-request.js +1 -1
- package/build/api/models/upload-image200-response.d.ts +1 -1
- package/build/api/models/upload-image200-response.js +1 -1
- package/build/api/models/upload-token-metadata-request-tokens-inner-metadata-attributes-inner-value.d.ts +15 -0
- package/build/api/models/upload-token-metadata-request-tokens-inner-metadata-attributes-inner-value.js +15 -0
- package/build/api/models/upload-token-metadata-request-tokens-inner-metadata-attributes-inner.d.ts +25 -0
- package/build/api/models/upload-token-metadata-request-tokens-inner-metadata-attributes-inner.js +22 -0
- package/build/api/models/upload-token-metadata-request-tokens-inner-metadata.d.ts +22 -0
- package/build/api/models/upload-token-metadata-request-tokens-inner-metadata.js +15 -0
- package/build/api/models/upload-token-metadata-request-tokens-inner.d.ts +16 -0
- package/build/api/models/upload-token-metadata-request-tokens-inner.js +15 -0
- package/build/api/models/upload-token-metadata-request.d.ts +26 -0
- package/build/api/models/upload-token-metadata-request.js +21 -0
- package/build/api/models/upload-token-metadata200-response-tokens-inner-one-of.d.ts +15 -0
- package/build/api/models/upload-token-metadata200-response-tokens-inner-one-of.js +15 -0
- package/build/api/models/upload-token-metadata200-response-tokens-inner-one-of1.d.ts +15 -0
- package/build/api/models/upload-token-metadata200-response-tokens-inner-one-of1.js +15 -0
- package/build/api/models/upload-token-metadata200-response-tokens-inner.d.ts +17 -0
- package/build/api/models/upload-token-metadata200-response-tokens-inner.js +15 -0
- package/build/api/models/upload-token-metadata200-response.d.ts +15 -0
- package/build/api/models/upload-token-metadata200-response.js +15 -0
- package/build/api/models/upsert-secrets-request-secrets-inner.d.ts +1 -1
- package/build/api/models/upsert-secrets-request-secrets-inner.js +1 -1
- package/build/api/models/upsert-secrets-request.d.ts +1 -1
- package/build/api/models/upsert-secrets-request.js +1 -1
- package/build/api/models/upsert-secrets200-response.d.ts +1 -1
- package/build/api/models/upsert-secrets200-response.js +1 -1
- 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/vercel-deployment-logs200-response-logs-inner.d.ts +1 -1
- package/build/api/models/vercel-deployment-logs200-response-logs-inner.js +1 -1
- package/build/api/models/vercel-deployment-logs200-response.d.ts +1 -1
- package/build/api/models/vercel-deployment-logs200-response.js +1 -1
- package/build/api/models/vercel-deployment-status200-response.d.ts +1 -1
- package/build/api/models/vercel-deployment-status200-response.js +1 -1
- package/build/api/models/verification-chain-id.d.ts +3 -7
- package/build/api/models/verification-chain-id.js +1 -10
- package/build/api/models/verification-type.d.ts +3 -6
- package/build/api/models/verification-type.js +1 -9
- package/build/api/models/verification.d.ts +1 -1
- package/build/api/models/verification.js +1 -1
- package/build/api/models/video-object.d.ts +1 -1
- package/build/api/models/video-object.js +1 -1
- package/build/api/models/webhook-delete-req-body.d.ts +1 -1
- package/build/api/models/webhook-delete-req-body.js +1 -1
- package/build/api/models/webhook-list-response.d.ts +1 -1
- package/build/api/models/webhook-list-response.js +1 -1
- package/build/api/models/webhook-patch-req-body.d.ts +1 -1
- package/build/api/models/webhook-patch-req-body.js +1 -1
- package/build/api/models/webhook-post-req-body.d.ts +1 -1
- package/build/api/models/webhook-post-req-body.js +1 -1
- package/build/api/models/webhook-put-req-body.d.ts +1 -1
- package/build/api/models/webhook-put-req-body.js +1 -1
- package/build/api/models/webhook-response.d.ts +1 -1
- package/build/api/models/webhook-response.js +1 -1
- package/build/api/models/webhook-secret.d.ts +1 -1
- package/build/api/models/webhook-secret.js +1 -1
- package/build/api/models/webhook-subscription-filters-cast.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-cast.js +1 -1
- package/build/api/models/webhook-subscription-filters-follow.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-follow.js +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.js +1 -1
- package/build/api/models/webhook-subscription-filters-trade.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-trade.js +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.js +1 -1
- package/build/api/models/webhook-subscription-filters.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters.js +1 -1
- package/build/api/models/webhook-subscription.d.ts +1 -1
- package/build/api/models/webhook-subscription.js +1 -1
- package/build/api/models/webhook.d.ts +1 -1
- package/build/api/models/webhook.js +1 -1
- package/build/api/models/zod-error-errors-inner.d.ts +1 -1
- package/build/api/models/zod-error-errors-inner.js +1 -1
- package/build/api/models/zod-error.d.ts +1 -1
- package/build/api/models/zod-error.js +1 -1
- package/build/clients/NeynarAPIClient.d.ts +466 -101
- package/build/clients/NeynarAPIClient.js +465 -64
- package/build/hub-api/api.d.ts +85 -12
- package/build/hub-api/api.js +97 -26
- package/package.json +3 -3
- package/build/api/models/app-host-event-type.d.ts +0 -21
- package/build/api/models/app-host-event-type.js +0 -25
- package/build/api/models/post-cast-req-body-embeds-one-of.js +0 -15
- package/build/api/models/post-cast-req-body-embeds-one-of1.js +0 -15
- package/build/api/models/post-cast-req-body-embeds-one-of2.js +0 -15
- package/build/api/models/simulate-nft-mint-response-inner-recipient-one-of.js +0 -15
- package/build/api/models/simulate-nft-mint-response-inner-recipient-one-of1.js +0 -15
|
@@ -57,11 +57,14 @@ const metrics_api_1 = require("../api/apis/metrics-api");
|
|
|
57
57
|
const mute_api_1 = require("../api/apis/mute-api");
|
|
58
58
|
const notifications_api_1 = require("../api/apis/notifications-api");
|
|
59
59
|
const onchain_api_1 = require("../api/apis/onchain-api");
|
|
60
|
+
const organization_api_1 = require("../api/apis/organization-api");
|
|
61
|
+
const portal_api_1 = require("../api/apis/portal-api");
|
|
60
62
|
const reaction_api_1 = require("../api/apis/reaction-api");
|
|
61
63
|
const signer_api_1 = require("../api/apis/signer-api");
|
|
62
64
|
const storage_api_1 = require("../api/apis/storage-api");
|
|
63
65
|
const studio_api_1 = require("../api/apis/studio-api");
|
|
64
66
|
const subscribers_api_1 = require("../api/apis/subscribers-api");
|
|
67
|
+
const subscription_api_1 = require("../api/apis/subscription-api");
|
|
65
68
|
const topic_api_1 = require("../api/apis/topic-api");
|
|
66
69
|
const user_api_1 = require("../api/apis/user-api");
|
|
67
70
|
const webhook_api_1 = require("../api/apis/webhook-api");
|
|
@@ -169,11 +172,14 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
169
172
|
muteApi: new mute_api_1.MuteApi(this.config, undefined, axiosInstance),
|
|
170
173
|
notificationsApi: new notifications_api_1.NotificationsApi(this.config, undefined, axiosInstance),
|
|
171
174
|
onchainApi: new onchain_api_1.OnchainApi(this.config, undefined, axiosInstance),
|
|
175
|
+
organizationApi: new organization_api_1.OrganizationApi(this.config, undefined, axiosInstance),
|
|
176
|
+
portalApi: new portal_api_1.PortalApi(this.config, undefined, axiosInstance),
|
|
172
177
|
reactionApi: new reaction_api_1.ReactionApi(this.config, undefined, axiosInstance),
|
|
173
178
|
signerApi: new signer_api_1.SignerApi(this.config, undefined, axiosInstance),
|
|
174
179
|
storageApi: new storage_api_1.StorageApi(this.config, undefined, axiosInstance),
|
|
175
180
|
studioApi: new studio_api_1.StudioApi(this.config, undefined, axiosInstance),
|
|
176
181
|
subscribersApi: new subscribers_api_1.SubscribersApi(this.config, undefined, axiosInstance),
|
|
182
|
+
subscriptionApi: new subscription_api_1.SubscriptionApi(this.config, undefined, axiosInstance),
|
|
177
183
|
topicApi: new topic_api_1.TopicApi(this.config, undefined, axiosInstance),
|
|
178
184
|
userApi: new user_api_1.UserApi(this.config, undefined, axiosInstance),
|
|
179
185
|
webhookApi: new webhook_api_1.WebhookApi(this.config, undefined, axiosInstance),
|
|
@@ -385,16 +391,24 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
385
391
|
* @summary Send event
|
|
386
392
|
*
|
|
387
393
|
* @param {object} params
|
|
388
|
-
* @param {
|
|
394
|
+
* @param {SignedMessageBodySignedMessage} params.signedMessage
|
|
395
|
+
* @param {string} params.appDomain - Domain of the mini app
|
|
396
|
+
* @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.
|
|
397
|
+
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
398
|
+
* @param {AppHostPostEventReqBodyEventEnum} params.event - Types of events that can occur between a user and an app host: - frame_added: User adds a mini app to their account - frame_removed: User removes a mini app from their account - notifications_enabled: User enables notifications for a mini app - notifications_disabled: User disables notifications for a mini app
|
|
389
399
|
*
|
|
390
400
|
* @returns {Promise<AppHostPostEventResponse>} A promise that resolves to a `AppHostPostEventResponse` object.
|
|
391
401
|
*
|
|
392
402
|
* @example
|
|
393
403
|
*
|
|
394
404
|
* // Fill in the appropriate values
|
|
395
|
-
* const
|
|
405
|
+
* const signedMessage =
|
|
406
|
+
* const appDomain =
|
|
407
|
+
* const signerUuid =
|
|
408
|
+
* const fid =
|
|
409
|
+
* const event =
|
|
396
410
|
*
|
|
397
|
-
* client.appHostPostEvent({
|
|
411
|
+
* client.appHostPostEvent({signedMessage, appDomain, signerUuid, fid, event}).then(response => {
|
|
398
412
|
* console.log('response:', response);
|
|
399
413
|
* });
|
|
400
414
|
*
|
|
@@ -570,7 +584,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
570
584
|
* @summary Unblock FID
|
|
571
585
|
*
|
|
572
586
|
* @param {object} params
|
|
573
|
-
* @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.
|
|
587
|
+
* @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.
|
|
574
588
|
* @param {number} params.blockedFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
575
589
|
*
|
|
576
590
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -636,7 +650,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
636
650
|
* @summary Block FID
|
|
637
651
|
*
|
|
638
652
|
* @param {object} params
|
|
639
|
-
* @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.
|
|
653
|
+
* @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.
|
|
640
654
|
* @param {number} params.blockedFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
641
655
|
*
|
|
642
656
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -667,7 +681,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
667
681
|
* @summary Delete a cast
|
|
668
682
|
*
|
|
669
683
|
* @param {object} params
|
|
670
|
-
* @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.
|
|
684
|
+
* @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.
|
|
671
685
|
* @param {string} params.targetHash
|
|
672
686
|
*
|
|
673
687
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -836,8 +850,8 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
836
850
|
* @param {object} params
|
|
837
851
|
* @param {string} params.identifier - Cast identifier (It's either a URL or a hash)
|
|
838
852
|
* @param {LookupCastConversationTypeEnum} params.type - The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash
|
|
839
|
-
* @param {number
|
|
840
|
-
* @param {boolean
|
|
853
|
+
* @param {number} params.replyDepth [optional] - The depth of replies in the conversation that will be returned (default 2)
|
|
854
|
+
* @param {boolean} params.includeChronologicalParentCasts [optional] - Include all parent casts in chronological order
|
|
841
855
|
* @param {number} params.viewerFid [optional] - Providing this will return a conversation that respects this user's mutes and blocks and includes `viewer_context`.
|
|
842
856
|
* @param {LookupCastConversationSortTypeEnum} params.sortType [optional] - Sort type for the ordering of descendants. Default is `chron`
|
|
843
857
|
* @param {LookupCastConversationFoldEnum} params.fold [optional] - Show conversation above or below the fold. Lower quality responses are hidden below the fold. Not passing in a value shows the full conversation without any folding.
|
|
@@ -879,7 +893,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
879
893
|
* @summary Post a cast
|
|
880
894
|
*
|
|
881
895
|
* @param {object} params
|
|
882
|
-
* @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.
|
|
896
|
+
* @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.
|
|
883
897
|
* @param {string} params.text [optional]
|
|
884
898
|
* @param {Array<PostCastReqBodyEmbeds>} params.embeds [optional]
|
|
885
899
|
* @param {string} params.parent [optional] - parent_url of the channel the cast is in, or hash of the cast
|
|
@@ -920,7 +934,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
920
934
|
* @summary Search for casts
|
|
921
935
|
*
|
|
922
936
|
* @param {object} params
|
|
923
|
-
* @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. | |
|
|
937
|
+
* @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`) |
|
|
924
938
|
* @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
|
|
925
939
|
* @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
|
|
926
940
|
* @param {number} params.authorFid [optional] - Fid of the user whose casts you want to search
|
|
@@ -1288,7 +1302,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1288
1302
|
* @summary Follow a channel
|
|
1289
1303
|
*
|
|
1290
1304
|
* @param {object} params
|
|
1291
|
-
* @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.
|
|
1305
|
+
* @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.
|
|
1292
1306
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
1293
1307
|
*
|
|
1294
1308
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -1319,7 +1333,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1319
1333
|
* @summary Invite
|
|
1320
1334
|
*
|
|
1321
1335
|
* @param {object} params
|
|
1322
|
-
* @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.
|
|
1336
|
+
* @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.
|
|
1323
1337
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
1324
1338
|
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
1325
1339
|
* @param {ChannelMemberRole} params.role
|
|
@@ -1386,7 +1400,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1386
1400
|
* @summary Remove user
|
|
1387
1401
|
*
|
|
1388
1402
|
* @param {object} params
|
|
1389
|
-
* @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.
|
|
1403
|
+
* @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.
|
|
1390
1404
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
1391
1405
|
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
1392
1406
|
* @param {ChannelMemberRole} params.role
|
|
@@ -1421,7 +1435,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1421
1435
|
* @summary Accept or reject an invite
|
|
1422
1436
|
*
|
|
1423
1437
|
* @param {object} params
|
|
1424
|
-
* @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.
|
|
1438
|
+
* @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.
|
|
1425
1439
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
1426
1440
|
* @param {ChannelMemberRole} params.role
|
|
1427
1441
|
* @param {boolean} params.accept - Accept or reject the invite
|
|
@@ -1489,7 +1503,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1489
1503
|
* @summary Unfollow a channel
|
|
1490
1504
|
*
|
|
1491
1505
|
* @param {object} params
|
|
1492
|
-
* @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.
|
|
1506
|
+
* @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.
|
|
1493
1507
|
* @param {string} params.channelId - The unique identifier of a farcaster channel
|
|
1494
1508
|
*
|
|
1495
1509
|
* @returns {Promise<OperationResponse>} A promise that resolves to a `OperationResponse` object.
|
|
@@ -1525,7 +1539,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1525
1539
|
* @param {number} params.viewerFid [optional] - FID of the user viewing the feed
|
|
1526
1540
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 150)
|
|
1527
1541
|
* @param {string} params.cursor [optional] - Pagination cursor
|
|
1528
|
-
* @param {boolean
|
|
1542
|
+
* @param {boolean} params.includeReplies [optional] - Include reply casts by the author in the response, true by default
|
|
1529
1543
|
* @param {string} params.parentUrl [optional] - Parent URL to filter the feed; mutually exclusive with channel_id
|
|
1530
1544
|
* @param {string} params.channelId [optional] - Channel ID to filter the feed; mutually exclusive with parent_url
|
|
1531
1545
|
*
|
|
@@ -1569,10 +1583,10 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1569
1583
|
* @param {number[]} params.fids [optional] - Used when filter_type=FIDs . Create a feed based on a list of FIDs. Max array size is 100. Requires feed_type and filter_type.
|
|
1570
1584
|
* @param {string} params.parentUrl [optional] - Used when filter_type=parent_url can be used to fetch content under any parent url e.g. FIP-2 channels on Warpcast. Requires feed_type and filter_type.
|
|
1571
1585
|
* @param {string} params.channelId [optional] - Used when filter_type=channel_id can be used to fetch casts under a channel. Requires feed_type and filter_type.
|
|
1572
|
-
* @param {boolean
|
|
1586
|
+
* @param {boolean} params.membersOnly [optional] - Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
1573
1587
|
* @param {string} params.embedUrl [optional] - Used when filter_type=embed_url. Casts with embedded URLs prefixed by this embed_url param will be returned. We normalize your given URL prefix and prepend 'https://' if no protocol is included. Requires feed_type and filter_type.
|
|
1574
1588
|
* @param {Array<FetchFeedEmbedTypesEnum>} params.embedTypes [optional] - Used when filter_type=embed_types can be used to fetch all casts with matching content types. Requires feed_type and filter_type.
|
|
1575
|
-
* @param {boolean
|
|
1589
|
+
* @param {boolean} params.withRecasts [optional] - Include recasts in the response, true by default
|
|
1576
1590
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
|
|
1577
1591
|
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
1578
1592
|
* @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
|
|
@@ -1623,14 +1637,14 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1623
1637
|
*
|
|
1624
1638
|
* @param {object} params
|
|
1625
1639
|
* @param {string[]} params.channelIds - Comma separated list of up to 10 channel IDs e.g. neynar,farcaster
|
|
1626
|
-
* @param {boolean
|
|
1640
|
+
* @param {boolean} params.withRecasts [optional] - Include recasts in the response, true by default
|
|
1627
1641
|
* @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
|
|
1628
|
-
* @param {boolean
|
|
1629
|
-
* @param {boolean
|
|
1642
|
+
* @param {boolean} params.withReplies [optional] - Include replies in the response, false by default
|
|
1643
|
+
* @param {boolean} params.membersOnly [optional] - Used when filter_type=channel_id. Only include casts from members of the channel. True by default.
|
|
1630
1644
|
* @param {number[]} params.fids [optional] - Comma separated list of FIDs to filter the feed by, up to 10 at a time
|
|
1631
1645
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
|
|
1632
1646
|
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
1633
|
-
* @param {boolean
|
|
1647
|
+
* @param {boolean} params.shouldModerate [optional] - If true, only casts that have been liked by the moderator (if one exists) will be returned.
|
|
1634
1648
|
*
|
|
1635
1649
|
* @returns {Promise<FeedResponse>} A promise that resolves to a `FeedResponse` object.
|
|
1636
1650
|
*
|
|
@@ -1677,9 +1691,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1677
1691
|
*
|
|
1678
1692
|
* @param {object} params
|
|
1679
1693
|
* @param {string[]} params.parentUrls - Comma separated list of parent_urls
|
|
1680
|
-
* @param {boolean
|
|
1694
|
+
* @param {boolean} params.withRecasts [optional] - Include recasts in the response, true by default
|
|
1681
1695
|
* @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
|
|
1682
|
-
* @param {boolean
|
|
1696
|
+
* @param {boolean} params.withReplies [optional] - Include replies in the response, false by default
|
|
1683
1697
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
|
|
1684
1698
|
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
1685
1699
|
*
|
|
@@ -1719,7 +1733,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1719
1733
|
*
|
|
1720
1734
|
* @param {object} params
|
|
1721
1735
|
* @param {string} params.slug - Topic slug to filter casts by. Must be lowercase and contain only alphanumeric characters and underscores.
|
|
1722
|
-
* @param {boolean
|
|
1736
|
+
* @param {boolean} params.withRecasts [optional] - Include recasts in the response, true by default.
|
|
1723
1737
|
* @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
|
|
1724
1738
|
* @param {number} params.limit [optional] - Number of results to fetch. (Default: 25, Maximum: 100)
|
|
1725
1739
|
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
@@ -1900,7 +1914,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1900
1914
|
* @param {object} params
|
|
1901
1915
|
* @param {number} params.fid - FID of user whose feed you want to create
|
|
1902
1916
|
* @param {number} params.viewerFid [optional] - Providing this will return a feed that respects this user's mutes and blocks and includes `viewer_context`.
|
|
1903
|
-
* @param {boolean
|
|
1917
|
+
* @param {boolean} params.withRecasts [optional] - Include recasts in the response, true by default
|
|
1904
1918
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
|
|
1905
1919
|
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
1906
1920
|
*
|
|
@@ -1963,8 +1977,8 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1963
1977
|
* @summary Suggest Follows
|
|
1964
1978
|
*
|
|
1965
1979
|
* @param {object} params
|
|
1966
|
-
* @param {number
|
|
1967
|
-
* @param {number
|
|
1980
|
+
* @param {number} params.fid - FID of the user whose following you want to fetch.
|
|
1981
|
+
* @param {number} params.viewerFid [optional] - Providing this will return a list of users that respects this user's mutes and blocks and includes `viewer_context`.
|
|
1968
1982
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
|
|
1969
1983
|
*
|
|
1970
1984
|
* @returns {Promise<UsersResponse>} A promise that resolves to a `UsersResponse` object.
|
|
@@ -2298,7 +2312,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2298
2312
|
return response.data;
|
|
2299
2313
|
}
|
|
2300
2314
|
/**
|
|
2301
|
-
* Send notifications to interactors of a mini app
|
|
2315
|
+
* Send notifications to interactors of a mini app. By default every broadcast is delivered synchronously and returns 200 with aggregate counts. When the `ASYNC_NOTIFICATIONS_ENABLED` server flag is on, broadcasts with more than 100 notification tokens are queued and return 202 with a campaign_id instead; poll the campaign stats endpoint for progress. Small broadcasts always stay synchronous.
|
|
2302
2316
|
*
|
|
2303
2317
|
* @summary Send notifications
|
|
2304
2318
|
*
|
|
@@ -2766,7 +2780,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2766
2780
|
* @param {string} params.owner - Ethereum address of the one who is creating the token
|
|
2767
2781
|
* @param {string} params.symbol - Symbol/Ticker for the token
|
|
2768
2782
|
* @param {string} params.name - Name of the token
|
|
2769
|
-
* @param {File
|
|
2783
|
+
* @param {File} params.metadataMedia [optional] - Media file associated with the token. Supported formats are image/jpeg, image/gif and image/png
|
|
2770
2784
|
* @param {string} params.metadataDescription [optional] - Description of the token
|
|
2771
2785
|
* @param {DeployFungibleMetadataNsfwEnum} params.metadataNsfw [optional] - Indicates if the token is NSFW (Not Safe For Work).
|
|
2772
2786
|
* @param {string} params.metadataWebsiteLink [optional] - Website link related to the token
|
|
@@ -2807,6 +2821,41 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2807
2821
|
const response = await this.apis.onchainApi.deployFungible(adjustedParams);
|
|
2808
2822
|
return response.data;
|
|
2809
2823
|
}
|
|
2824
|
+
/**
|
|
2825
|
+
* Fetch relevant owners for multiple on chain assets in a single request, up to 10 contract addresses at a time.
|
|
2826
|
+
*
|
|
2827
|
+
* @summary Bulk relevant owners
|
|
2828
|
+
*
|
|
2829
|
+
* @param {object} params
|
|
2830
|
+
* @param {string[]} params.contractAddresses - Comma separated list of contract addresses, up to 10 at a time
|
|
2831
|
+
* @param {FetchBulkRelevantFungibleOwnersNetworkEnum} params.network - Network of the fungible assets.
|
|
2832
|
+
* @param {number} params.viewerFid [optional] - If you provide a viewer_fid, the response will include token holders from the user's network, respecting their mutes and blocks and including viewer_context.
|
|
2833
|
+
*
|
|
2834
|
+
* @returns {Promise<BulkRelevantFungibleOwnersResponse>} A promise that resolves to a `BulkRelevantFungibleOwnersResponse` object.
|
|
2835
|
+
*
|
|
2836
|
+
* @example
|
|
2837
|
+
*
|
|
2838
|
+
* // Fill in the appropriate values
|
|
2839
|
+
* const contractAddresses =
|
|
2840
|
+
* const network =
|
|
2841
|
+
* const viewerFid =
|
|
2842
|
+
*
|
|
2843
|
+
* client.fetchBulkRelevantFungibleOwners({ contractAddresses, network, viewerFid }).then(response => {
|
|
2844
|
+
* console.log('response:', response);
|
|
2845
|
+
* });
|
|
2846
|
+
*
|
|
2847
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/fetch-bulk-relevant-fungible-owners)
|
|
2848
|
+
*
|
|
2849
|
+
*/
|
|
2850
|
+
async fetchBulkRelevantFungibleOwners(params) {
|
|
2851
|
+
const adjustedParams = {};
|
|
2852
|
+
Object.assign(adjustedParams, params);
|
|
2853
|
+
if (adjustedParams.contractAddresses && Array.isArray(adjustedParams.contractAddresses)) {
|
|
2854
|
+
adjustedParams.contractAddresses = adjustedParams.contractAddresses.join(",");
|
|
2855
|
+
}
|
|
2856
|
+
const response = await this.apis.onchainApi.fetchBulkRelevantFungibleOwners(adjustedParams);
|
|
2857
|
+
return response.data;
|
|
2858
|
+
}
|
|
2810
2859
|
/**
|
|
2811
2860
|
* Get recent trades for a specific fungible within a timeframe. Returns trades ordered by timestamp (most recent first).
|
|
2812
2861
|
*
|
|
@@ -2816,7 +2865,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2816
2865
|
* @param {FetchFungibleTradesNetworkEnum} params.network
|
|
2817
2866
|
* @param {string} params.address - Contract address
|
|
2818
2867
|
* @param {FetchFungibleTradesTimeWindowEnum} params.timeWindow [optional] - Time window for trades e.g. "1h", "6h", "12h", "24h", "7d"
|
|
2819
|
-
* @param {number
|
|
2868
|
+
* @param {number} params.minAmountUsd [optional] - Minimum USD amount to filter trades
|
|
2820
2869
|
*
|
|
2821
2870
|
* @returns {Promise<FetchFungibleTrades200Response>} A promise that resolves to a `FetchFungibleTrades200Response` object.
|
|
2822
2871
|
*
|
|
@@ -2848,7 +2897,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2848
2897
|
*
|
|
2849
2898
|
* @param {object} params
|
|
2850
2899
|
* @param {string} params.fungibles - Comma-separated fungible identifiers
|
|
2851
|
-
* @param {number
|
|
2900
|
+
* @param {number} params.viewerFid [optional] - Optional FID of the viewer to personalize cast count filtering
|
|
2852
2901
|
*
|
|
2853
2902
|
* @returns {Promise<FungiblesResponseSchema>} A promise that resolves to a `FungiblesResponseSchema` object.
|
|
2854
2903
|
*
|
|
@@ -2965,6 +3014,36 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2965
3014
|
const response = await this.apis.onchainApi.fetchUserBalance(adjustedParams);
|
|
2966
3015
|
return response.data;
|
|
2967
3016
|
}
|
|
3017
|
+
/**
|
|
3018
|
+
* Generate a new image or edit existing images using AI. Returns a publicly accessible URL to the generated image.
|
|
3019
|
+
*
|
|
3020
|
+
* @summary Generate an NFT image
|
|
3021
|
+
*
|
|
3022
|
+
* @param {object} params
|
|
3023
|
+
* @param {GenerateImageRequest} params.generateImageRequest
|
|
3024
|
+
*
|
|
3025
|
+
* @returns {Promise<GenerateImage200Response>} A promise that resolves to a `GenerateImage200Response` object.
|
|
3026
|
+
*
|
|
3027
|
+
* @example
|
|
3028
|
+
*
|
|
3029
|
+
* // Fill in the appropriate values
|
|
3030
|
+
* const generateImageRequest =
|
|
3031
|
+
*
|
|
3032
|
+
* client.generateImage({ generateImageRequest }).then(response => {
|
|
3033
|
+
* console.log('response:', response);
|
|
3034
|
+
* });
|
|
3035
|
+
*
|
|
3036
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/generate-image)
|
|
3037
|
+
*
|
|
3038
|
+
*/
|
|
3039
|
+
async generateImage(params) {
|
|
3040
|
+
var _a, _b;
|
|
3041
|
+
const adjustedParams = {};
|
|
3042
|
+
Object.assign(adjustedParams, params);
|
|
3043
|
+
adjustedParams['xWalletId'] = (_b = (_a = this.config.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b['x-wallet-id'];
|
|
3044
|
+
const response = await this.apis.onchainApi.generateImage(adjustedParams);
|
|
3045
|
+
return response.data;
|
|
3046
|
+
}
|
|
2968
3047
|
/**
|
|
2969
3048
|
* Fetch metadata for a specific token including price, market data, and basic information. Data is fetched from onchain-indexer with fallback to third-party providers.
|
|
2970
3049
|
*
|
|
@@ -3008,7 +3087,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3008
3087
|
*
|
|
3009
3088
|
* @param {object} params
|
|
3010
3089
|
* @param {string[]} params.networks - Comma-separated list of networks to query. Each value must be a valid network (ethereum, optimism, base, arbitrum).
|
|
3011
|
-
* @param {string} params.address -
|
|
3090
|
+
* @param {string} params.address - Wallet address
|
|
3012
3091
|
* @param {number} params.limit [optional] - Number of results to return (max 100) (Default: 50, Maximum: 100)
|
|
3013
3092
|
* @param {string} params.cursor [optional] - Pagination cursor.
|
|
3014
3093
|
*
|
|
@@ -3173,13 +3252,122 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3173
3252
|
const response = await this.apis.onchainApi.simulateNftMint(adjustedParams);
|
|
3174
3253
|
return response.data;
|
|
3175
3254
|
}
|
|
3255
|
+
/**
|
|
3256
|
+
* Uploads metadata JSON to S3 for one or more tokens on a deployed contract. Requires contract ownership via the wallet header.
|
|
3257
|
+
*
|
|
3258
|
+
* @summary Upload NFT token metadata
|
|
3259
|
+
*
|
|
3260
|
+
* @param {object} params
|
|
3261
|
+
* @param {UploadTokenMetadataRequest} params.uploadTokenMetadataRequest
|
|
3262
|
+
*
|
|
3263
|
+
* @returns {Promise<UploadTokenMetadata200Response>} A promise that resolves to a `UploadTokenMetadata200Response` object.
|
|
3264
|
+
*
|
|
3265
|
+
* @example
|
|
3266
|
+
*
|
|
3267
|
+
* // Fill in the appropriate values
|
|
3268
|
+
* const uploadTokenMetadataRequest =
|
|
3269
|
+
*
|
|
3270
|
+
* client.uploadTokenMetadata({ uploadTokenMetadataRequest }).then(response => {
|
|
3271
|
+
* console.log('response:', response);
|
|
3272
|
+
* });
|
|
3273
|
+
*
|
|
3274
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-token-metadata)
|
|
3275
|
+
*
|
|
3276
|
+
*/
|
|
3277
|
+
async uploadTokenMetadata(params) {
|
|
3278
|
+
var _a, _b;
|
|
3279
|
+
const adjustedParams = {};
|
|
3280
|
+
Object.assign(adjustedParams, params);
|
|
3281
|
+
adjustedParams['xWalletId'] = (_b = (_a = this.config.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b['x-wallet-id'];
|
|
3282
|
+
const response = await this.apis.onchainApi.uploadTokenMetadata(adjustedParams);
|
|
3283
|
+
return response.data;
|
|
3284
|
+
}
|
|
3285
|
+
/**
|
|
3286
|
+
* Retrieves billing and subscription details for the current organization, including plan status, product category, billing email, and effective plan.
|
|
3287
|
+
*
|
|
3288
|
+
* @summary Get billing information for the current organization
|
|
3289
|
+
*
|
|
3290
|
+
*
|
|
3291
|
+
* @returns {Promise<Billing200Response>} A promise that resolves to a `Billing200Response` object.
|
|
3292
|
+
*
|
|
3293
|
+
* @example
|
|
3294
|
+
*
|
|
3295
|
+
* client.billing().then(response => {
|
|
3296
|
+
* console.log('response:', response);
|
|
3297
|
+
* });
|
|
3298
|
+
*
|
|
3299
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/billing)
|
|
3300
|
+
*
|
|
3301
|
+
*/
|
|
3302
|
+
async billing() {
|
|
3303
|
+
const response = await this.apis.organizationApi.billing();
|
|
3304
|
+
return response.data;
|
|
3305
|
+
}
|
|
3306
|
+
/**
|
|
3307
|
+
* Applies a subscription plan change for the current organization and returns the applied credit, charge amount, and whether the change takes effect immediately.
|
|
3308
|
+
*
|
|
3309
|
+
* @summary Process subscription upgrade with credit
|
|
3310
|
+
*
|
|
3311
|
+
* @param {object} params
|
|
3312
|
+
* @param {UpgradeRequest} params.upgradeRequest
|
|
3313
|
+
*
|
|
3314
|
+
* @returns {Promise<Upgrade200Response>} A promise that resolves to a `Upgrade200Response` object.
|
|
3315
|
+
*
|
|
3316
|
+
* @example
|
|
3317
|
+
*
|
|
3318
|
+
* // Fill in the appropriate values
|
|
3319
|
+
* const upgradeRequest =
|
|
3320
|
+
*
|
|
3321
|
+
* client.upgrade({ upgradeRequest }).then(response => {
|
|
3322
|
+
* console.log('response:', response);
|
|
3323
|
+
* });
|
|
3324
|
+
*
|
|
3325
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/upgrade)
|
|
3326
|
+
*
|
|
3327
|
+
*/
|
|
3328
|
+
async upgrade(params) {
|
|
3329
|
+
const adjustedParams = {};
|
|
3330
|
+
Object.assign(adjustedParams, params);
|
|
3331
|
+
const response = await this.apis.portalApi.upgrade(adjustedParams);
|
|
3332
|
+
return response.data;
|
|
3333
|
+
}
|
|
3334
|
+
/**
|
|
3335
|
+
* Calculates the billing impact of changing to a new subscription plan, including available credit, charge amount, and whether the billing date or usage carryover changes.
|
|
3336
|
+
*
|
|
3337
|
+
* @summary Get upgrade preview with credit calculation
|
|
3338
|
+
*
|
|
3339
|
+
* @param {object} params
|
|
3340
|
+
* @param {string} params.newPlan
|
|
3341
|
+
* @param {UpgradePreviewProductCategoryEnum} params.productCategory [optional]
|
|
3342
|
+
*
|
|
3343
|
+
* @returns {Promise<UpgradePreview200Response>} A promise that resolves to a `UpgradePreview200Response` object.
|
|
3344
|
+
*
|
|
3345
|
+
* @example
|
|
3346
|
+
*
|
|
3347
|
+
* // Fill in the appropriate values
|
|
3348
|
+
* const newPlan =
|
|
3349
|
+
* const productCategory =
|
|
3350
|
+
*
|
|
3351
|
+
* client.upgradePreview({ newPlan, productCategory }).then(response => {
|
|
3352
|
+
* console.log('response:', response);
|
|
3353
|
+
* });
|
|
3354
|
+
*
|
|
3355
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/upgrade-preview)
|
|
3356
|
+
*
|
|
3357
|
+
*/
|
|
3358
|
+
async upgradePreview(params) {
|
|
3359
|
+
const adjustedParams = {};
|
|
3360
|
+
Object.assign(adjustedParams, params);
|
|
3361
|
+
const response = await this.apis.portalApi.upgradePreview(adjustedParams);
|
|
3362
|
+
return response.data;
|
|
3363
|
+
}
|
|
3176
3364
|
/**
|
|
3177
3365
|
* Delete a reaction (like or recast) to a cast (In order to delete a reaction `signer_uuid` must be approved)
|
|
3178
3366
|
*
|
|
3179
3367
|
* @summary Delete reaction
|
|
3180
3368
|
*
|
|
3181
3369
|
* @param {object} params
|
|
3182
|
-
* @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.
|
|
3370
|
+
* @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.
|
|
3183
3371
|
* @param {ReactionType} params.reactionType
|
|
3184
3372
|
* @param {string} params.target - Target cast hash (hex string starting with 0x) OR a valid URL.
|
|
3185
3373
|
* @param {number} params.targetAuthorFid [optional] - The unique identifier of a farcaster user or app (unsigned integer)
|
|
@@ -3286,7 +3474,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3286
3474
|
* @summary Post a reaction
|
|
3287
3475
|
*
|
|
3288
3476
|
* @param {object} params
|
|
3289
|
-
* @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.
|
|
3477
|
+
* @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.
|
|
3290
3478
|
* @param {ReactionType} params.reactionType
|
|
3291
3479
|
* @param {string} params.target - Target cast hash (hex string starting with 0x) OR a valid URL.
|
|
3292
3480
|
* @param {number} params.targetAuthorFid [optional] - The unique identifier of a farcaster user or app (unsigned integer)
|
|
@@ -3488,8 +3676,8 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3488
3676
|
* @summary Register Signed Key
|
|
3489
3677
|
*
|
|
3490
3678
|
* @param {object} params
|
|
3491
|
-
* @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.
|
|
3492
|
-
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer's public key
|
|
3679
|
+
* @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.
|
|
3680
|
+
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer\'s public key
|
|
3493
3681
|
* @param {number} params.appFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
3494
3682
|
* @param {number} params.deadline - unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)
|
|
3495
3683
|
* @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
|
|
@@ -3528,7 +3716,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3528
3716
|
*
|
|
3529
3717
|
* @param {object} params
|
|
3530
3718
|
* @param {string} params.publicKey - Ed25519 public key
|
|
3531
|
-
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer's public key
|
|
3719
|
+
* @param {string} params.signature - Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer\'s public key
|
|
3532
3720
|
* @param {number} params.appFid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
3533
3721
|
* @param {number} params.deadline - unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)
|
|
3534
3722
|
* @param {string} params.redirectUrl [optional] - Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application.
|
|
@@ -3566,7 +3754,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3566
3754
|
* @summary Buy storage
|
|
3567
3755
|
*
|
|
3568
3756
|
* @param {object} params
|
|
3569
|
-
* @param {number} params.fid
|
|
3757
|
+
* @param {number} params.fid - The unique identifier of a farcaster user or app (unsigned integer)
|
|
3570
3758
|
* @param {number} params.units [optional] - Number of storage units to buy. A storage unit lets you store 5000 casts, 2500 reactions and 2500 links.
|
|
3571
3759
|
* @param {string} params.idem [optional] - An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request.
|
|
3572
3760
|
*
|
|
@@ -3651,6 +3839,36 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3651
3839
|
const response = await this.apis.storageApi.lookupUserStorageUsage(adjustedParams);
|
|
3652
3840
|
return response.data;
|
|
3653
3841
|
}
|
|
3842
|
+
/**
|
|
3843
|
+
* Assigns a custom *.neynar.app subdomain to the user\'s deployed miniapp. The new domain is added to the Vercel project alongside the existing auto-assigned domain. The productionDomain in the database is updated to the custom domain. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
3844
|
+
*
|
|
3845
|
+
* @summary Assign a custom subdomain to a deployed miniapp
|
|
3846
|
+
*
|
|
3847
|
+
* @param {object} params
|
|
3848
|
+
* @param {number} params.fid - Farcaster ID of the requesting user
|
|
3849
|
+
* @param {AssignCustomDomainRequest} params.assignCustomDomainRequest
|
|
3850
|
+
*
|
|
3851
|
+
* @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object.
|
|
3852
|
+
*
|
|
3853
|
+
* @example
|
|
3854
|
+
*
|
|
3855
|
+
* // Fill in the appropriate values
|
|
3856
|
+
* const fid =
|
|
3857
|
+
* const assignCustomDomainRequest =
|
|
3858
|
+
*
|
|
3859
|
+
* client.assignCustomDomain({ fid, assignCustomDomainRequest }).then(response => {
|
|
3860
|
+
* console.log('response:', response);
|
|
3861
|
+
* });
|
|
3862
|
+
*
|
|
3863
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
|
|
3864
|
+
*
|
|
3865
|
+
*/
|
|
3866
|
+
async assignCustomDomain(params) {
|
|
3867
|
+
const adjustedParams = {};
|
|
3868
|
+
Object.assign(adjustedParams, params);
|
|
3869
|
+
const response = await this.apis.studioApi.assignCustomDomain(adjustedParams);
|
|
3870
|
+
return response.data;
|
|
3871
|
+
}
|
|
3654
3872
|
/**
|
|
3655
3873
|
* Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
3656
3874
|
*
|
|
@@ -3707,6 +3925,92 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3707
3925
|
const response = await this.apis.studioApi.build(adjustedParams);
|
|
3708
3926
|
return response.data;
|
|
3709
3927
|
}
|
|
3928
|
+
/**
|
|
3929
|
+
* Cancels an in-progress Claude Code session for a deployment. Safe to call even if no session is active — returns cancelled: false in that case.
|
|
3930
|
+
*
|
|
3931
|
+
* @summary Cancel an active Claude session for a deployment
|
|
3932
|
+
*
|
|
3933
|
+
* @param {object} params
|
|
3934
|
+
* @param {CancelSessionRequest} params.cancelSessionRequest
|
|
3935
|
+
*
|
|
3936
|
+
* @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object.
|
|
3937
|
+
*
|
|
3938
|
+
* @example
|
|
3939
|
+
*
|
|
3940
|
+
* // Fill in the appropriate values
|
|
3941
|
+
* const cancelSessionRequest =
|
|
3942
|
+
*
|
|
3943
|
+
* client.cancelSession({ cancelSessionRequest }).then(response => {
|
|
3944
|
+
* console.log('response:', response);
|
|
3945
|
+
* });
|
|
3946
|
+
*
|
|
3947
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
|
|
3948
|
+
*
|
|
3949
|
+
*/
|
|
3950
|
+
async cancelSession(params) {
|
|
3951
|
+
const adjustedParams = {};
|
|
3952
|
+
Object.assign(adjustedParams, params);
|
|
3953
|
+
const response = await this.apis.studioApi.cancelSession(adjustedParams);
|
|
3954
|
+
return response.data;
|
|
3955
|
+
}
|
|
3956
|
+
/**
|
|
3957
|
+
* Checks whether a custom *.neynar.app subdomain is available for assignment. Validates format, checks reserved names, and verifies no other active deployment is using it. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
3958
|
+
*
|
|
3959
|
+
* @summary Check if a custom subdomain is available
|
|
3960
|
+
*
|
|
3961
|
+
* @param {object} params
|
|
3962
|
+
* @param {number} params.fid - Farcaster ID of the requesting user
|
|
3963
|
+
* @param {string} params.subdomain - The desired subdomain (without .neynar.app suffix). Must be 3-63 characters, lowercase alphanumeric and hyphens only.
|
|
3964
|
+
*
|
|
3965
|
+
* @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object.
|
|
3966
|
+
*
|
|
3967
|
+
* @example
|
|
3968
|
+
*
|
|
3969
|
+
* // Fill in the appropriate values
|
|
3970
|
+
* const fid =
|
|
3971
|
+
* const subdomain =
|
|
3972
|
+
*
|
|
3973
|
+
* client.checkDomainAvailability({ fid, subdomain }).then(response => {
|
|
3974
|
+
* console.log('response:', response);
|
|
3975
|
+
* });
|
|
3976
|
+
*
|
|
3977
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
|
|
3978
|
+
*
|
|
3979
|
+
*/
|
|
3980
|
+
async checkDomainAvailability(params) {
|
|
3981
|
+
const adjustedParams = {};
|
|
3982
|
+
Object.assign(adjustedParams, params);
|
|
3983
|
+
const response = await this.apis.studioApi.checkDomainAvailability(adjustedParams);
|
|
3984
|
+
return response.data;
|
|
3985
|
+
}
|
|
3986
|
+
/**
|
|
3987
|
+
* Claims the most recent credit drop for the authenticated user. The drop\'s allowance is surfaced dynamically until expires_at and does not mutate extra_credits. Only drops created within the past 24 hours can be claimed.
|
|
3988
|
+
*
|
|
3989
|
+
* @summary Claim credit drop
|
|
3990
|
+
*
|
|
3991
|
+
* @param {object} params
|
|
3992
|
+
* @param {ClaimCreditDropRequest} params.claimCreditDropRequest
|
|
3993
|
+
*
|
|
3994
|
+
* @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object.
|
|
3995
|
+
*
|
|
3996
|
+
* @example
|
|
3997
|
+
*
|
|
3998
|
+
* // Fill in the appropriate values
|
|
3999
|
+
* const claimCreditDropRequest =
|
|
4000
|
+
*
|
|
4001
|
+
* client.claimCreditDrop({ claimCreditDropRequest }).then(response => {
|
|
4002
|
+
* console.log('response:', response);
|
|
4003
|
+
* });
|
|
4004
|
+
*
|
|
4005
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
|
|
4006
|
+
*
|
|
4007
|
+
*/
|
|
4008
|
+
async claimCreditDrop(params) {
|
|
4009
|
+
const adjustedParams = {};
|
|
4010
|
+
Object.assign(adjustedParams, params);
|
|
4011
|
+
const response = await this.apis.studioApi.claimCreditDrop(adjustedParams);
|
|
4012
|
+
return response.data;
|
|
4013
|
+
}
|
|
3710
4014
|
/**
|
|
3711
4015
|
* Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
3712
4016
|
*
|
|
@@ -3877,6 +4181,40 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3877
4181
|
const response = await this.apis.studioApi.executeSql(adjustedParams);
|
|
3878
4182
|
return response.data;
|
|
3879
4183
|
}
|
|
4184
|
+
/**
|
|
4185
|
+
* Downloads the generated miniapp source code as a binary ZIP archive (Content-Type: application/zip). Requires a paid Studio subscription (GROWTH, STUDIO_PLUS, STUDIO_MAX, or INTERNAL). The deployment must be running. The 200 response body is a raw binary stream, not JSON.
|
|
4186
|
+
*
|
|
4187
|
+
* @summary Export deployment source code as ZIP
|
|
4188
|
+
*
|
|
4189
|
+
* @param {object} params
|
|
4190
|
+
* @param {string} params.deploymentId [optional] - Deployment ID (UUID). Required if name not provided.
|
|
4191
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user; if not provided, namespace must be provided
|
|
4192
|
+
* @param {string} params.name [optional] - Kubernetes deployment name. Required if deployment_id not provided.
|
|
4193
|
+
* @param {string} params.namespace [optional] - Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
4194
|
+
*
|
|
4195
|
+
* @returns {Promise<void>} A promise that resolves to a `void` object.
|
|
4196
|
+
*
|
|
4197
|
+
* @example
|
|
4198
|
+
*
|
|
4199
|
+
* // Fill in the appropriate values
|
|
4200
|
+
* const deploymentId =
|
|
4201
|
+
* const fid =
|
|
4202
|
+
* const name =
|
|
4203
|
+
* const namespace =
|
|
4204
|
+
*
|
|
4205
|
+
* client.exportZip({ deploymentId, fid, name, namespace }).then(response => {
|
|
4206
|
+
* console.log('response:', response);
|
|
4207
|
+
* });
|
|
4208
|
+
*
|
|
4209
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
|
|
4210
|
+
*
|
|
4211
|
+
*/
|
|
4212
|
+
async exportZip(params) {
|
|
4213
|
+
const adjustedParams = {};
|
|
4214
|
+
Object.assign(adjustedParams, params);
|
|
4215
|
+
const response = await this.apis.studioApi.exportZip(adjustedParams);
|
|
4216
|
+
return response.data;
|
|
4217
|
+
}
|
|
3880
4218
|
/**
|
|
3881
4219
|
* Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
|
|
3882
4220
|
*
|
|
@@ -3910,17 +4248,19 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3910
4248
|
return response.data;
|
|
3911
4249
|
}
|
|
3912
4250
|
/**
|
|
3913
|
-
* Retrieves
|
|
4251
|
+
* Retrieves messages in a specific conversation with cursor-based pagination (newest first). Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
3914
4252
|
*
|
|
3915
4253
|
* @summary Get messages in a conversation
|
|
3916
4254
|
*
|
|
3917
4255
|
* @param {object} params
|
|
3918
4256
|
* @param {string} params.conversationId - Conversation ID
|
|
3919
4257
|
* @param {string} params.deploymentId [optional] - Deployment ID (UUID). Required if name not provided.
|
|
3920
|
-
* @param {number
|
|
4258
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user; if not provided, namespace must be provided
|
|
3921
4259
|
* @param {string} params.name [optional] - Kubernetes deployment name. Required if deployment_id not provided.
|
|
3922
4260
|
* @param {string} params.namespace [optional] - Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
3923
|
-
* @param {boolean
|
|
4261
|
+
* @param {boolean} params.includeDeleted [optional] - Include deleted messages in the response. Defaults to false.
|
|
4262
|
+
* @param {number} params.limit [optional] - Maximum number of messages to return per page. Defaults to 50, max 100. (Default: 50, Maximum: 100)
|
|
4263
|
+
* @param {string} params.cursor [optional] - Pagination cursor for fetching older messages. Omit to start from most recent.
|
|
3924
4264
|
*
|
|
3925
4265
|
* @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object.
|
|
3926
4266
|
*
|
|
@@ -3933,8 +4273,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3933
4273
|
* const name =
|
|
3934
4274
|
* const namespace =
|
|
3935
4275
|
* const includeDeleted =
|
|
4276
|
+
* const limit =
|
|
3936
4277
|
*
|
|
3937
|
-
* client.getConversationMessages({ conversationId, deploymentId, fid, name, namespace, includeDeleted }).then(response => {
|
|
4278
|
+
* client.getConversationMessages({ conversationId, deploymentId, fid, name, namespace, includeDeleted, limit }).then(response => {
|
|
3938
4279
|
* console.log('response:', response);
|
|
3939
4280
|
* });
|
|
3940
4281
|
*
|
|
@@ -3947,6 +4288,34 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3947
4288
|
const response = await this.apis.studioApi.getConversationMessages(adjustedParams);
|
|
3948
4289
|
return response.data;
|
|
3949
4290
|
}
|
|
4291
|
+
/**
|
|
4292
|
+
* Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
|
|
4293
|
+
*
|
|
4294
|
+
* @summary Get most recent credit drop
|
|
4295
|
+
*
|
|
4296
|
+
* @param {object} params
|
|
4297
|
+
* @param {number} params.fid - Farcaster ID of the user
|
|
4298
|
+
*
|
|
4299
|
+
* @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object.
|
|
4300
|
+
*
|
|
4301
|
+
* @example
|
|
4302
|
+
*
|
|
4303
|
+
* // Fill in the appropriate values
|
|
4304
|
+
* const fid =
|
|
4305
|
+
*
|
|
4306
|
+
* client.getCreditDrop({ fid }).then(response => {
|
|
4307
|
+
* console.log('response:', response);
|
|
4308
|
+
* });
|
|
4309
|
+
*
|
|
4310
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
|
|
4311
|
+
*
|
|
4312
|
+
*/
|
|
4313
|
+
async getCreditDrop(params) {
|
|
4314
|
+
const adjustedParams = {};
|
|
4315
|
+
Object.assign(adjustedParams, params);
|
|
4316
|
+
const response = await this.apis.studioApi.getCreditDrop(adjustedParams);
|
|
4317
|
+
return response.data;
|
|
4318
|
+
}
|
|
3950
4319
|
/**
|
|
3951
4320
|
* Fetches info about a miniapp generator deployment by its deployment_id or name and creator\'s Farcaster ID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
3952
4321
|
*
|
|
@@ -3954,7 +4323,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3954
4323
|
*
|
|
3955
4324
|
* @param {object} params
|
|
3956
4325
|
* @param {string} params.deploymentId [optional] - Deployment ID (UUID). Required if name not provided.
|
|
3957
|
-
* @param {number
|
|
4326
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user; if not provided, namespace must be provided
|
|
3958
4327
|
* @param {string} params.name [optional] - Kubernetes deployment name. Required if deployment_id not provided.
|
|
3959
4328
|
* @param {string} params.namespace [optional] - Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
3960
4329
|
*
|
|
@@ -3989,7 +4358,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
3989
4358
|
* @param {object} params
|
|
3990
4359
|
* @param {string} params.filePath - File path relative to gen/
|
|
3991
4360
|
* @param {string} params.deploymentId [optional] - Deployment ID (UUID). Required if name not provided.
|
|
3992
|
-
* @param {number
|
|
4361
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user; if not provided, namespace must be provided
|
|
3993
4362
|
* @param {string} params.name [optional] - Kubernetes deployment name. Required if deployment_id not provided.
|
|
3994
4363
|
* @param {string} params.namespace [optional] - Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
3995
4364
|
*
|
|
@@ -4057,7 +4426,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4057
4426
|
* @param {object} params
|
|
4058
4427
|
* @param {string} params.tableName
|
|
4059
4428
|
* @param {string} params.deploymentId - Deployment ID (UUID)
|
|
4060
|
-
* @param {number
|
|
4429
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user. Required for non-admin users.
|
|
4061
4430
|
*
|
|
4062
4431
|
* @returns {Promise<GetTableSchema200Response>} A promise that resolves to a `GetTableSchema200Response` object.
|
|
4063
4432
|
*
|
|
@@ -4118,9 +4487,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4118
4487
|
*
|
|
4119
4488
|
* @param {object} params
|
|
4120
4489
|
* @param {string} params.deploymentId [optional] - Deployment ID (UUID). If provided, filters conversations to this deployment only.
|
|
4121
|
-
* @param {number
|
|
4490
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
|
|
4122
4491
|
* @param {string} params.name [optional] - Kubernetes deployment name. If provided, filters conversations to this deployment only.
|
|
4123
|
-
* @param {boolean
|
|
4492
|
+
* @param {boolean} params.includeDeleted [optional] - Include deleted conversations in the response. Defaults to false.
|
|
4124
4493
|
*
|
|
4125
4494
|
* @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object.
|
|
4126
4495
|
*
|
|
@@ -4152,7 +4521,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4152
4521
|
*
|
|
4153
4522
|
* @param {object} params
|
|
4154
4523
|
* @param {string} params.deploymentId [optional] - Deployment ID (UUID). Required if name not provided.
|
|
4155
|
-
* @param {number
|
|
4524
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user; if not provided, namespace must be provided
|
|
4156
4525
|
* @param {string} params.name [optional] - Kubernetes deployment name. Required if deployment_id not provided.
|
|
4157
4526
|
* @param {string} params.namespace [optional] - Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
4158
4527
|
* @param {string} params.directory [optional] - Directory path relative to gen/ (defaults to root)
|
|
@@ -4187,10 +4556,12 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4187
4556
|
* @summary List deployments
|
|
4188
4557
|
*
|
|
4189
4558
|
* @param {object} params
|
|
4190
|
-
* @param {number
|
|
4559
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
|
|
4191
4560
|
* @param {number} params.limit [optional] - Maximum number of deployments to return. Defaults to 50, max 1000. (Default: 50, Maximum: 1000)
|
|
4192
|
-
* @param {number
|
|
4193
|
-
* @param {
|
|
4561
|
+
* @param {number} params.offset [optional] - Number of deployments to skip for pagination. Defaults to 0.
|
|
4562
|
+
* @param {string} params.query [optional] - Search string to filter deployments by name, display name, or FID.
|
|
4563
|
+
* @param {ListDeploymentsSortByEnum} params.sortBy [optional] - Field to sort deployments by. Defaults to updated_at (most recently updated first).
|
|
4564
|
+
* @param {boolean} params.includeDeleted [optional] - Include deleted deployments in the response. Defaults to false.
|
|
4194
4565
|
*
|
|
4195
4566
|
* @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object.
|
|
4196
4567
|
*
|
|
@@ -4200,9 +4571,11 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4200
4571
|
* const fid =
|
|
4201
4572
|
* const limit =
|
|
4202
4573
|
* const offset =
|
|
4574
|
+
* const query =
|
|
4575
|
+
* const sortBy =
|
|
4203
4576
|
* const includeDeleted =
|
|
4204
4577
|
*
|
|
4205
|
-
* client.listDeployments({ fid, limit, offset, includeDeleted }).then(response => {
|
|
4578
|
+
* client.listDeployments({ fid, limit, offset, query, sortBy, includeDeleted }).then(response => {
|
|
4206
4579
|
* console.log('response:', response);
|
|
4207
4580
|
* });
|
|
4208
4581
|
*
|
|
@@ -4252,7 +4625,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4252
4625
|
*
|
|
4253
4626
|
* @param {object} params
|
|
4254
4627
|
* @param {string} params.deploymentId - Deployment ID (UUID)
|
|
4255
|
-
* @param {number
|
|
4628
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user. Required for non-admin users.
|
|
4256
4629
|
*
|
|
4257
4630
|
* @returns {Promise<ListTables200Response>} A promise that resolves to a `ListTables200Response` object.
|
|
4258
4631
|
*
|
|
@@ -4303,6 +4676,34 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4303
4676
|
const response = await this.apis.studioApi.promptDeploymentStream(adjustedParams);
|
|
4304
4677
|
return response.data;
|
|
4305
4678
|
}
|
|
4679
|
+
/**
|
|
4680
|
+
* Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
|
|
4681
|
+
*
|
|
4682
|
+
* @summary Provision a database for a deployment
|
|
4683
|
+
*
|
|
4684
|
+
* @param {object} params
|
|
4685
|
+
* @param {ProvisionRequest} params.provisionRequest
|
|
4686
|
+
*
|
|
4687
|
+
* @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object.
|
|
4688
|
+
*
|
|
4689
|
+
* @example
|
|
4690
|
+
*
|
|
4691
|
+
* // Fill in the appropriate values
|
|
4692
|
+
* const provisionRequest =
|
|
4693
|
+
*
|
|
4694
|
+
* client.provision({ provisionRequest }).then(response => {
|
|
4695
|
+
* console.log('response:', response);
|
|
4696
|
+
* });
|
|
4697
|
+
*
|
|
4698
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
|
|
4699
|
+
*
|
|
4700
|
+
*/
|
|
4701
|
+
async provision(params) {
|
|
4702
|
+
const adjustedParams = {};
|
|
4703
|
+
Object.assign(adjustedParams, params);
|
|
4704
|
+
const response = await this.apis.studioApi.provision(adjustedParams);
|
|
4705
|
+
return response.data;
|
|
4706
|
+
}
|
|
4306
4707
|
/**
|
|
4307
4708
|
* Query data from a table with pagination and sorting.
|
|
4308
4709
|
*
|
|
@@ -4536,7 +4937,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4536
4937
|
*
|
|
4537
4938
|
* @param {object} params
|
|
4538
4939
|
* @param {string} params.deploymentId [optional] - Deployment ID (UUID). Required if name not provided.
|
|
4539
|
-
* @param {number
|
|
4940
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user
|
|
4540
4941
|
* @param {string} params.namespace [optional] - K8s Namespace name
|
|
4541
4942
|
* @param {string} params.name [optional] - Deployment name used to identify the Vercel project. Required if deployment_id not provided.
|
|
4542
4943
|
* @param {number} params.limit [optional] - Maximum number of log events to return. Defaults to 100.
|
|
@@ -4572,7 +4973,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4572
4973
|
*
|
|
4573
4974
|
* @param {object} params
|
|
4574
4975
|
* @param {string} params.deploymentId [optional] - Deployment ID (UUID). Required if name not provided.
|
|
4575
|
-
* @param {number
|
|
4976
|
+
* @param {number} params.fid [optional] - Farcaster ID of the user; if not provided, namespace must be provided
|
|
4576
4977
|
* @param {string} params.namespace [optional] - K8s Namespace name
|
|
4577
4978
|
* @param {string} params.name [optional] - Deployment name used to identify the Vercel project. Required if deployment_id not provided.
|
|
4578
4979
|
*
|
|
@@ -4763,7 +5164,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4763
5164
|
* @summary Delete verification
|
|
4764
5165
|
*
|
|
4765
5166
|
* @param {object} params
|
|
4766
|
-
* @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.
|
|
5167
|
+
* @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.
|
|
4767
5168
|
* @param {string} params.address - Ethereum address
|
|
4768
5169
|
* @param {string} params.blockHash
|
|
4769
5170
|
* @param {string} params.ethSignature
|
|
@@ -4873,8 +5274,8 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4873
5274
|
* @summary By location
|
|
4874
5275
|
*
|
|
4875
5276
|
* @param {object} params
|
|
4876
|
-
* @param {number
|
|
4877
|
-
* @param {number
|
|
5277
|
+
* @param {number} params.latitude - Latitude of the location
|
|
5278
|
+
* @param {number} params.longitude - Longitude of the location
|
|
4878
5279
|
* @param {number} params.viewerFid [optional] - FID of the user viewing the feed. Providing this will return a list of users that respects this user's mutes and blocks and includes `viewer_context`.
|
|
4879
5280
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
|
|
4880
5281
|
* @param {string} params.cursor [optional] - Pagination cursor
|
|
@@ -4910,7 +5311,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4910
5311
|
* @summary Fetch verifications
|
|
4911
5312
|
*
|
|
4912
5313
|
* @param {object} params
|
|
4913
|
-
* @param {number
|
|
5314
|
+
* @param {number} params.fid - FID of the user whose verifications to fetch
|
|
4914
5315
|
*
|
|
4915
5316
|
* @returns {Promise<FetchVerifications200Response>} A promise that resolves to a `FetchVerifications200Response` object.
|
|
4916
5317
|
*
|
|
@@ -4938,7 +5339,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
4938
5339
|
* @summary Follow user
|
|
4939
5340
|
*
|
|
4940
5341
|
* @param {object} params
|
|
4941
|
-
* @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.
|
|
5342
|
+
* @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.
|
|
4942
5343
|
* @param {Array<number>} params.targetFids
|
|
4943
5344
|
*
|
|
4944
5345
|
* @returns {Promise<BulkFollowResponse>} A promise that resolves to a `BulkFollowResponse` object.
|
|
@@ -5120,7 +5521,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
5120
5521
|
* @summary Add verification
|
|
5121
5522
|
*
|
|
5122
5523
|
* @param {object} params
|
|
5123
|
-
* @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.
|
|
5524
|
+
* @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.
|
|
5124
5525
|
* @param {string} params.address - Ethereum address
|
|
5125
5526
|
* @param {string} params.blockHash
|
|
5126
5527
|
* @param {string} params.ethSignature
|
|
@@ -5237,7 +5638,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
5237
5638
|
* @summary Unfollow user
|
|
5238
5639
|
*
|
|
5239
5640
|
* @param {object} params
|
|
5240
|
-
* @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.
|
|
5641
|
+
* @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.
|
|
5241
5642
|
* @param {Array<number>} params.targetFids
|
|
5242
5643
|
*
|
|
5243
5644
|
* @returns {Promise<BulkFollowResponse>} A promise that resolves to a `BulkFollowResponse` object.
|
|
@@ -5268,7 +5669,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
5268
5669
|
* @summary Update user profile
|
|
5269
5670
|
*
|
|
5270
5671
|
* @param {object} params
|
|
5271
|
-
* @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.
|
|
5672
|
+
* @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.
|
|
5272
5673
|
* @param {string} params.bio [optional]
|
|
5273
5674
|
* @param {string} params.pfpUrl [optional]
|
|
5274
5675
|
* @param {string} params.url [optional]
|