@neynar/nodejs-sdk 3.137.1 → 3.169.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 +460 -101
- package/build/clients/NeynarAPIClient.js +459 -64
- package/build/hub-api/api.d.ts +85 -12
- package/build/hub-api/api.js +97 -26
- package/package.json +4 -4
- 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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Neynar API
|
|
6
6
|
* The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.169.0
|
|
9
9
|
* Contact: team@neynar.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.StudioApi = exports.StudioApiFactory = exports.StudioApiFp = exports.StudioApiAxiosParamCreator = void 0;
|
|
19
|
+
exports.ListDeploymentsSortByEnum = exports.StudioApi = exports.StudioApiFactory = exports.StudioApiFp = exports.StudioApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -29,6 +29,48 @@ const base_1 = require("../base");
|
|
|
29
29
|
*/
|
|
30
30
|
const StudioApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
|
+
/**
|
|
33
|
+
* 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.
|
|
34
|
+
* @summary Assign a custom subdomain to a deployed miniapp
|
|
35
|
+
* @param {number} fid Farcaster ID of the requesting user
|
|
36
|
+
* @param {AssignCustomDomainRequest} assignCustomDomainRequest
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
* @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
|
|
40
|
+
*
|
|
41
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
assignCustomDomain: async (fid, assignCustomDomainRequest, options = {}) => {
|
|
45
|
+
// verify required parameter 'fid' is not null or undefined
|
|
46
|
+
(0, common_1.assertParamExists)('assignCustomDomain', 'fid', fid);
|
|
47
|
+
// verify required parameter 'assignCustomDomainRequest' is not null or undefined
|
|
48
|
+
(0, common_1.assertParamExists)('assignCustomDomain', 'assignCustomDomainRequest', assignCustomDomainRequest);
|
|
49
|
+
const localVarPath = `/v2/studio/vercel/domain`;
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
}
|
|
56
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
57
|
+
const localVarHeaderParameter = {};
|
|
58
|
+
const localVarQueryParameter = {};
|
|
59
|
+
// authentication ApiKeyAuth required
|
|
60
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
61
|
+
if (fid !== undefined) {
|
|
62
|
+
localVarQueryParameter['fid'] = fid;
|
|
63
|
+
}
|
|
64
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
65
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
66
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
67
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
68
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(assignCustomDomainRequest, localVarRequestOptions, configuration);
|
|
69
|
+
return {
|
|
70
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
71
|
+
options: localVarRequestOptions,
|
|
72
|
+
};
|
|
73
|
+
},
|
|
32
74
|
/**
|
|
33
75
|
* 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.
|
|
34
76
|
* @summary Set account association
|
|
@@ -101,6 +143,121 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
101
143
|
options: localVarRequestOptions,
|
|
102
144
|
};
|
|
103
145
|
},
|
|
146
|
+
/**
|
|
147
|
+
* 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.
|
|
148
|
+
* @summary Cancel an active Claude session for a deployment
|
|
149
|
+
* @param {CancelSessionRequest} cancelSessionRequest
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
* @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
|
|
153
|
+
*
|
|
154
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
cancelSession: async (cancelSessionRequest, options = {}) => {
|
|
158
|
+
// verify required parameter 'cancelSessionRequest' is not null or undefined
|
|
159
|
+
(0, common_1.assertParamExists)('cancelSession', 'cancelSessionRequest', cancelSessionRequest);
|
|
160
|
+
const localVarPath = `/v2/studio/deployment/session/cancel`;
|
|
161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
162
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
|
+
let baseOptions;
|
|
164
|
+
if (configuration) {
|
|
165
|
+
baseOptions = configuration.baseOptions;
|
|
166
|
+
}
|
|
167
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
168
|
+
const localVarHeaderParameter = {};
|
|
169
|
+
const localVarQueryParameter = {};
|
|
170
|
+
// authentication ApiKeyAuth required
|
|
171
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
172
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
173
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
174
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
175
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
176
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cancelSessionRequest, localVarRequestOptions, configuration);
|
|
177
|
+
return {
|
|
178
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
179
|
+
options: localVarRequestOptions,
|
|
180
|
+
};
|
|
181
|
+
},
|
|
182
|
+
/**
|
|
183
|
+
* 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.
|
|
184
|
+
* @summary Check if a custom subdomain is available
|
|
185
|
+
* @param {number} fid Farcaster ID of the requesting user
|
|
186
|
+
* @param {string} subdomain The desired subdomain (without .neynar.app suffix). Must be 3-63 characters, lowercase alphanumeric and hyphens only.
|
|
187
|
+
* @param {*} [options] Override http request option.
|
|
188
|
+
* @throws {RequiredError}
|
|
189
|
+
* @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
|
|
190
|
+
*
|
|
191
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
|
|
192
|
+
*
|
|
193
|
+
*/
|
|
194
|
+
checkDomainAvailability: async (fid, subdomain, options = {}) => {
|
|
195
|
+
// verify required parameter 'fid' is not null or undefined
|
|
196
|
+
(0, common_1.assertParamExists)('checkDomainAvailability', 'fid', fid);
|
|
197
|
+
// verify required parameter 'subdomain' is not null or undefined
|
|
198
|
+
(0, common_1.assertParamExists)('checkDomainAvailability', 'subdomain', subdomain);
|
|
199
|
+
const localVarPath = `/v2/studio/vercel/domain/check`;
|
|
200
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
201
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
202
|
+
let baseOptions;
|
|
203
|
+
if (configuration) {
|
|
204
|
+
baseOptions = configuration.baseOptions;
|
|
205
|
+
}
|
|
206
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
207
|
+
const localVarHeaderParameter = {};
|
|
208
|
+
const localVarQueryParameter = {};
|
|
209
|
+
// authentication ApiKeyAuth required
|
|
210
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
211
|
+
if (fid !== undefined) {
|
|
212
|
+
localVarQueryParameter['fid'] = fid;
|
|
213
|
+
}
|
|
214
|
+
if (subdomain !== undefined) {
|
|
215
|
+
localVarQueryParameter['subdomain'] = subdomain;
|
|
216
|
+
}
|
|
217
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
218
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
219
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
220
|
+
return {
|
|
221
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
222
|
+
options: localVarRequestOptions,
|
|
223
|
+
};
|
|
224
|
+
},
|
|
225
|
+
/**
|
|
226
|
+
* 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.
|
|
227
|
+
* @summary Claim credit drop
|
|
228
|
+
* @param {ClaimCreditDropRequest} claimCreditDropRequest
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
* @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
|
|
232
|
+
*
|
|
233
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
|
|
234
|
+
*
|
|
235
|
+
*/
|
|
236
|
+
claimCreditDrop: async (claimCreditDropRequest, options = {}) => {
|
|
237
|
+
// verify required parameter 'claimCreditDropRequest' is not null or undefined
|
|
238
|
+
(0, common_1.assertParamExists)('claimCreditDrop', 'claimCreditDropRequest', claimCreditDropRequest);
|
|
239
|
+
const localVarPath = `/v2/studio/credit-drops/claim`;
|
|
240
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
241
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
242
|
+
let baseOptions;
|
|
243
|
+
if (configuration) {
|
|
244
|
+
baseOptions = configuration.baseOptions;
|
|
245
|
+
}
|
|
246
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
247
|
+
const localVarHeaderParameter = {};
|
|
248
|
+
const localVarQueryParameter = {};
|
|
249
|
+
// authentication ApiKeyAuth required
|
|
250
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
251
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
252
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
253
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
254
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
255
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(claimCreditDropRequest, localVarRequestOptions, configuration);
|
|
256
|
+
return {
|
|
257
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
258
|
+
options: localVarRequestOptions,
|
|
259
|
+
};
|
|
260
|
+
},
|
|
104
261
|
/**
|
|
105
262
|
* 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.
|
|
106
263
|
* @summary Create a miniapp generator deployment
|
|
@@ -321,6 +478,53 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
321
478
|
options: localVarRequestOptions,
|
|
322
479
|
};
|
|
323
480
|
},
|
|
481
|
+
/**
|
|
482
|
+
* 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.
|
|
483
|
+
* @summary Export deployment source code as ZIP
|
|
484
|
+
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
485
|
+
* @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
|
|
486
|
+
* @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
|
|
487
|
+
* @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
488
|
+
* @param {*} [options] Override http request option.
|
|
489
|
+
* @throws {RequiredError}
|
|
490
|
+
* @returns {Promise<>} A promise that resolves to a `` object
|
|
491
|
+
*
|
|
492
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
|
|
493
|
+
*
|
|
494
|
+
*/
|
|
495
|
+
exportZip: async (deploymentId, fid, name, namespace, options = {}) => {
|
|
496
|
+
const localVarPath = `/v2/studio/deployment/export-zip`;
|
|
497
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
498
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
499
|
+
let baseOptions;
|
|
500
|
+
if (configuration) {
|
|
501
|
+
baseOptions = configuration.baseOptions;
|
|
502
|
+
}
|
|
503
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
504
|
+
const localVarHeaderParameter = {};
|
|
505
|
+
const localVarQueryParameter = {};
|
|
506
|
+
// authentication ApiKeyAuth required
|
|
507
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
508
|
+
if (deploymentId !== undefined) {
|
|
509
|
+
localVarQueryParameter['deployment_id'] = deploymentId;
|
|
510
|
+
}
|
|
511
|
+
if (fid !== undefined) {
|
|
512
|
+
localVarQueryParameter['fid'] = fid;
|
|
513
|
+
}
|
|
514
|
+
if (name !== undefined) {
|
|
515
|
+
localVarQueryParameter['name'] = name;
|
|
516
|
+
}
|
|
517
|
+
if (namespace !== undefined) {
|
|
518
|
+
localVarQueryParameter['namespace'] = namespace;
|
|
519
|
+
}
|
|
520
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
521
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
522
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
523
|
+
return {
|
|
524
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
525
|
+
options: localVarRequestOptions,
|
|
526
|
+
};
|
|
527
|
+
},
|
|
324
528
|
/**
|
|
325
529
|
* Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
|
|
326
530
|
* @summary Get account association of a miniapp
|
|
@@ -365,14 +569,16 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
365
569
|
};
|
|
366
570
|
},
|
|
367
571
|
/**
|
|
368
|
-
* Retrieves
|
|
572
|
+
* 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.
|
|
369
573
|
* @summary Get messages in a conversation
|
|
370
574
|
* @param {string} conversationId Conversation ID
|
|
371
575
|
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
372
|
-
* @param {number
|
|
576
|
+
* @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
|
|
373
577
|
* @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
|
|
374
578
|
* @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
375
|
-
* @param {boolean
|
|
579
|
+
* @param {boolean} [includeDeleted] Include deleted messages in the response. Defaults to false.
|
|
580
|
+
* @param {number} [limit] Maximum number of messages to return per page. Defaults to 50, max 100. (Default: 50, Maximum: 100)
|
|
581
|
+
* @param {string} [cursor] Pagination cursor for fetching older messages. Omit to start from most recent.
|
|
376
582
|
* @param {*} [options] Override http request option.
|
|
377
583
|
* @throws {RequiredError}
|
|
378
584
|
* @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object
|
|
@@ -380,7 +586,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
380
586
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
|
|
381
587
|
*
|
|
382
588
|
*/
|
|
383
|
-
getConversationMessages: async (conversationId, deploymentId, fid, name, namespace, includeDeleted, options = {}) => {
|
|
589
|
+
getConversationMessages: async (conversationId, deploymentId, fid, name, namespace, includeDeleted, limit, cursor, options = {}) => {
|
|
384
590
|
// verify required parameter 'conversationId' is not null or undefined
|
|
385
591
|
(0, common_1.assertParamExists)('getConversationMessages', 'conversationId', conversationId);
|
|
386
592
|
const localVarPath = `/v2/studio/deployment/conversations/messages`;
|
|
@@ -413,6 +619,49 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
413
619
|
if (includeDeleted !== undefined) {
|
|
414
620
|
localVarQueryParameter['include_deleted'] = includeDeleted;
|
|
415
621
|
}
|
|
622
|
+
if (limit !== undefined) {
|
|
623
|
+
localVarQueryParameter['limit'] = limit;
|
|
624
|
+
}
|
|
625
|
+
if (cursor !== undefined) {
|
|
626
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
627
|
+
}
|
|
628
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
629
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
630
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
631
|
+
return {
|
|
632
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
633
|
+
options: localVarRequestOptions,
|
|
634
|
+
};
|
|
635
|
+
},
|
|
636
|
+
/**
|
|
637
|
+
* Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
|
|
638
|
+
* @summary Get most recent credit drop
|
|
639
|
+
* @param {number} fid Farcaster ID of the user
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
* @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
|
|
643
|
+
*
|
|
644
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
|
|
645
|
+
*
|
|
646
|
+
*/
|
|
647
|
+
getCreditDrop: async (fid, options = {}) => {
|
|
648
|
+
// verify required parameter 'fid' is not null or undefined
|
|
649
|
+
(0, common_1.assertParamExists)('getCreditDrop', 'fid', fid);
|
|
650
|
+
const localVarPath = `/v2/studio/credit-drops/`;
|
|
651
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
652
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
653
|
+
let baseOptions;
|
|
654
|
+
if (configuration) {
|
|
655
|
+
baseOptions = configuration.baseOptions;
|
|
656
|
+
}
|
|
657
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
658
|
+
const localVarHeaderParameter = {};
|
|
659
|
+
const localVarQueryParameter = {};
|
|
660
|
+
// authentication ApiKeyAuth required
|
|
661
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
662
|
+
if (fid !== undefined) {
|
|
663
|
+
localVarQueryParameter['fid'] = fid;
|
|
664
|
+
}
|
|
416
665
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
417
666
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
418
667
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -425,7 +674,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
425
674
|
* 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.
|
|
426
675
|
* @summary Get deployment info
|
|
427
676
|
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
428
|
-
* @param {number
|
|
677
|
+
* @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
|
|
429
678
|
* @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
|
|
430
679
|
* @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
431
680
|
* @param {*} [options] Override http request option.
|
|
@@ -473,7 +722,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
473
722
|
* @summary Get deployment file contents
|
|
474
723
|
* @param {string} filePath File path relative to gen/
|
|
475
724
|
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
476
|
-
* @param {number
|
|
725
|
+
* @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
|
|
477
726
|
* @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
|
|
478
727
|
* @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
479
728
|
* @param {*} [options] Override http request option.
|
|
@@ -569,7 +818,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
569
818
|
* @summary Get table schema
|
|
570
819
|
* @param {string} tableName
|
|
571
820
|
* @param {string} deploymentId Deployment ID (UUID)
|
|
572
|
-
* @param {number
|
|
821
|
+
* @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
|
|
573
822
|
* @param {*} [options] Override http request option.
|
|
574
823
|
* @throws {RequiredError}
|
|
575
824
|
* @returns {Promise<GetTableSchema200Response>} A promise that resolves to a `GetTableSchema200Response` object
|
|
@@ -653,9 +902,9 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
653
902
|
* Lists all conversations for a specific deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
654
903
|
* @summary List conversations for a deployment
|
|
655
904
|
* @param {string} [deploymentId] Deployment ID (UUID). If provided, filters conversations to this deployment only.
|
|
656
|
-
* @param {number
|
|
905
|
+
* @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
|
|
657
906
|
* @param {string} [name] Kubernetes deployment name. If provided, filters conversations to this deployment only.
|
|
658
|
-
* @param {boolean
|
|
907
|
+
* @param {boolean} [includeDeleted] Include deleted conversations in the response. Defaults to false.
|
|
659
908
|
* @param {*} [options] Override http request option.
|
|
660
909
|
* @throws {RequiredError}
|
|
661
910
|
* @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object
|
|
@@ -700,7 +949,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
700
949
|
* Lists files in a directory of the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
701
950
|
* @summary List deployment files
|
|
702
951
|
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
703
|
-
* @param {number
|
|
952
|
+
* @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
|
|
704
953
|
* @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
|
|
705
954
|
* @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
706
955
|
* @param {string} [directory] Directory path relative to gen/ (defaults to root)
|
|
@@ -750,10 +999,12 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
750
999
|
/**
|
|
751
1000
|
* Lists all miniapp generator deployments for a user. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
752
1001
|
* @summary List deployments
|
|
753
|
-
* @param {number
|
|
1002
|
+
* @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
|
|
754
1003
|
* @param {number} [limit] Maximum number of deployments to return. Defaults to 50, max 1000. (Default: 50, Maximum: 1000)
|
|
755
|
-
* @param {number
|
|
756
|
-
* @param {
|
|
1004
|
+
* @param {number} [offset] Number of deployments to skip for pagination. Defaults to 0.
|
|
1005
|
+
* @param {string} [query] Search string to filter deployments by name, display name, or FID.
|
|
1006
|
+
* @param {ListDeploymentsSortByEnum} [sortBy] Field to sort deployments by. Defaults to updated_at (most recently updated first).
|
|
1007
|
+
* @param {boolean} [includeDeleted] Include deleted deployments in the response. Defaults to false.
|
|
757
1008
|
* @param {*} [options] Override http request option.
|
|
758
1009
|
* @throws {RequiredError}
|
|
759
1010
|
* @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object
|
|
@@ -761,7 +1012,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
761
1012
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
|
|
762
1013
|
*
|
|
763
1014
|
*/
|
|
764
|
-
listDeployments: async (fid, limit, offset, includeDeleted, options = {}) => {
|
|
1015
|
+
listDeployments: async (fid, limit, offset, query, sortBy, includeDeleted, options = {}) => {
|
|
765
1016
|
const localVarPath = `/v2/studio/deployment/`;
|
|
766
1017
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
767
1018
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -783,6 +1034,12 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
783
1034
|
if (offset !== undefined) {
|
|
784
1035
|
localVarQueryParameter['offset'] = offset;
|
|
785
1036
|
}
|
|
1037
|
+
if (query !== undefined) {
|
|
1038
|
+
localVarQueryParameter['query'] = query;
|
|
1039
|
+
}
|
|
1040
|
+
if (sortBy !== undefined) {
|
|
1041
|
+
localVarQueryParameter['sort_by'] = sortBy;
|
|
1042
|
+
}
|
|
786
1043
|
if (includeDeleted !== undefined) {
|
|
787
1044
|
localVarQueryParameter['include_deleted'] = includeDeleted;
|
|
788
1045
|
}
|
|
@@ -839,7 +1096,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
839
1096
|
* Lists all tables and views in the deployment database, excluding system tables.
|
|
840
1097
|
* @summary List all tables in deployment database
|
|
841
1098
|
* @param {string} deploymentId Deployment ID (UUID)
|
|
842
|
-
* @param {number
|
|
1099
|
+
* @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
|
|
843
1100
|
* @param {*} [options] Override http request option.
|
|
844
1101
|
* @throws {RequiredError}
|
|
845
1102
|
* @returns {Promise<ListTables200Response>} A promise that resolves to a `ListTables200Response` object
|
|
@@ -912,6 +1169,42 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
912
1169
|
options: localVarRequestOptions,
|
|
913
1170
|
};
|
|
914
1171
|
},
|
|
1172
|
+
/**
|
|
1173
|
+
* Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
|
|
1174
|
+
* @summary Provision a database for a deployment
|
|
1175
|
+
* @param {ProvisionRequest} provisionRequest
|
|
1176
|
+
* @param {*} [options] Override http request option.
|
|
1177
|
+
* @throws {RequiredError}
|
|
1178
|
+
* @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
|
|
1179
|
+
*
|
|
1180
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
|
|
1181
|
+
*
|
|
1182
|
+
*/
|
|
1183
|
+
provision: async (provisionRequest, options = {}) => {
|
|
1184
|
+
// verify required parameter 'provisionRequest' is not null or undefined
|
|
1185
|
+
(0, common_1.assertParamExists)('provision', 'provisionRequest', provisionRequest);
|
|
1186
|
+
const localVarPath = `/v2/studio/deployment/database/provision`;
|
|
1187
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1188
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1189
|
+
let baseOptions;
|
|
1190
|
+
if (configuration) {
|
|
1191
|
+
baseOptions = configuration.baseOptions;
|
|
1192
|
+
}
|
|
1193
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1194
|
+
const localVarHeaderParameter = {};
|
|
1195
|
+
const localVarQueryParameter = {};
|
|
1196
|
+
// authentication ApiKeyAuth required
|
|
1197
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
1198
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1199
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1200
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1201
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1202
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(provisionRequest, localVarRequestOptions, configuration);
|
|
1203
|
+
return {
|
|
1204
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1205
|
+
options: localVarRequestOptions,
|
|
1206
|
+
};
|
|
1207
|
+
},
|
|
915
1208
|
/**
|
|
916
1209
|
* Query data from a table with pagination and sorting.
|
|
917
1210
|
* @summary Query table data
|
|
@@ -1203,7 +1496,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
1203
1496
|
* Retrieves the build logs for a Vercel deployment. Useful for debugging failed deployments. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
1204
1497
|
* @summary Get Vercel deployment build logs
|
|
1205
1498
|
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
1206
|
-
* @param {number
|
|
1499
|
+
* @param {number} [fid] Farcaster ID of the user
|
|
1207
1500
|
* @param {string} [namespace] K8s Namespace name
|
|
1208
1501
|
* @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
|
|
1209
1502
|
* @param {number} [limit] Maximum number of log events to return. Defaults to 100.
|
|
@@ -1254,7 +1547,7 @@ const StudioApiAxiosParamCreator = function (configuration) {
|
|
|
1254
1547
|
* Retrieves the status of a Vercel deployment for a miniapp. Looks up the Vercel project ID from the deployment and queries Vercel API for deployment status. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
1255
1548
|
* @summary Get Vercel deployment status
|
|
1256
1549
|
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
1257
|
-
* @param {number
|
|
1550
|
+
* @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
|
|
1258
1551
|
* @param {string} [namespace] K8s Namespace name
|
|
1259
1552
|
* @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
|
|
1260
1553
|
* @param {*} [options] Override http request option.
|
|
@@ -1307,6 +1600,25 @@ exports.StudioApiAxiosParamCreator = StudioApiAxiosParamCreator;
|
|
|
1307
1600
|
const StudioApiFp = function (configuration) {
|
|
1308
1601
|
const localVarAxiosParamCreator = (0, exports.StudioApiAxiosParamCreator)(configuration);
|
|
1309
1602
|
return {
|
|
1603
|
+
/**
|
|
1604
|
+
* 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.
|
|
1605
|
+
* @summary Assign a custom subdomain to a deployed miniapp
|
|
1606
|
+
* @param {number} fid Farcaster ID of the requesting user
|
|
1607
|
+
* @param {AssignCustomDomainRequest} assignCustomDomainRequest
|
|
1608
|
+
* @param {*} [options] Override http request option.
|
|
1609
|
+
* @throws {RequiredError}
|
|
1610
|
+
* @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
|
|
1611
|
+
*
|
|
1612
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
|
|
1613
|
+
*
|
|
1614
|
+
*/
|
|
1615
|
+
async assignCustomDomain(fid, assignCustomDomainRequest, options) {
|
|
1616
|
+
var _a, _b, _c;
|
|
1617
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assignCustomDomain(fid, assignCustomDomainRequest, options);
|
|
1618
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1619
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.assignCustomDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1620
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1621
|
+
},
|
|
1310
1622
|
/**
|
|
1311
1623
|
* 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.
|
|
1312
1624
|
* @summary Set account association
|
|
@@ -1343,6 +1655,61 @@ const StudioApiFp = function (configuration) {
|
|
|
1343
1655
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.build']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1344
1656
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1345
1657
|
},
|
|
1658
|
+
/**
|
|
1659
|
+
* 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.
|
|
1660
|
+
* @summary Cancel an active Claude session for a deployment
|
|
1661
|
+
* @param {CancelSessionRequest} cancelSessionRequest
|
|
1662
|
+
* @param {*} [options] Override http request option.
|
|
1663
|
+
* @throws {RequiredError}
|
|
1664
|
+
* @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
|
|
1665
|
+
*
|
|
1666
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
|
|
1667
|
+
*
|
|
1668
|
+
*/
|
|
1669
|
+
async cancelSession(cancelSessionRequest, options) {
|
|
1670
|
+
var _a, _b, _c;
|
|
1671
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelSession(cancelSessionRequest, options);
|
|
1672
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1673
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.cancelSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1674
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1675
|
+
},
|
|
1676
|
+
/**
|
|
1677
|
+
* 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.
|
|
1678
|
+
* @summary Check if a custom subdomain is available
|
|
1679
|
+
* @param {number} fid Farcaster ID of the requesting user
|
|
1680
|
+
* @param {string} subdomain The desired subdomain (without .neynar.app suffix). Must be 3-63 characters, lowercase alphanumeric and hyphens only.
|
|
1681
|
+
* @param {*} [options] Override http request option.
|
|
1682
|
+
* @throws {RequiredError}
|
|
1683
|
+
* @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
|
|
1684
|
+
*
|
|
1685
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
|
|
1686
|
+
*
|
|
1687
|
+
*/
|
|
1688
|
+
async checkDomainAvailability(fid, subdomain, options) {
|
|
1689
|
+
var _a, _b, _c;
|
|
1690
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkDomainAvailability(fid, subdomain, options);
|
|
1691
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1692
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.checkDomainAvailability']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1693
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1694
|
+
},
|
|
1695
|
+
/**
|
|
1696
|
+
* 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.
|
|
1697
|
+
* @summary Claim credit drop
|
|
1698
|
+
* @param {ClaimCreditDropRequest} claimCreditDropRequest
|
|
1699
|
+
* @param {*} [options] Override http request option.
|
|
1700
|
+
* @throws {RequiredError}
|
|
1701
|
+
* @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
|
|
1702
|
+
*
|
|
1703
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
|
|
1704
|
+
*
|
|
1705
|
+
*/
|
|
1706
|
+
async claimCreditDrop(claimCreditDropRequest, options) {
|
|
1707
|
+
var _a, _b, _c;
|
|
1708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.claimCreditDrop(claimCreditDropRequest, options);
|
|
1709
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1710
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.claimCreditDrop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1711
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1712
|
+
},
|
|
1346
1713
|
/**
|
|
1347
1714
|
* 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.
|
|
1348
1715
|
* @summary Create a miniapp generator deployment
|
|
@@ -1452,6 +1819,27 @@ const StudioApiFp = function (configuration) {
|
|
|
1452
1819
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.executeSql']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1453
1820
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1454
1821
|
},
|
|
1822
|
+
/**
|
|
1823
|
+
* 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.
|
|
1824
|
+
* @summary Export deployment source code as ZIP
|
|
1825
|
+
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
1826
|
+
* @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
|
|
1827
|
+
* @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
|
|
1828
|
+
* @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
1829
|
+
* @param {*} [options] Override http request option.
|
|
1830
|
+
* @throws {RequiredError}
|
|
1831
|
+
* @returns {Promise<>} A promise that resolves to a `` object
|
|
1832
|
+
*
|
|
1833
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
|
|
1834
|
+
*
|
|
1835
|
+
*/
|
|
1836
|
+
async exportZip(deploymentId, fid, name, namespace, options) {
|
|
1837
|
+
var _a, _b, _c;
|
|
1838
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportZip(deploymentId, fid, name, namespace, options);
|
|
1839
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1840
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.exportZip']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1841
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1842
|
+
},
|
|
1455
1843
|
/**
|
|
1456
1844
|
* Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
|
|
1457
1845
|
* @summary Get account association of a miniapp
|
|
@@ -1473,14 +1861,16 @@ const StudioApiFp = function (configuration) {
|
|
|
1473
1861
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1474
1862
|
},
|
|
1475
1863
|
/**
|
|
1476
|
-
* Retrieves
|
|
1864
|
+
* 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.
|
|
1477
1865
|
* @summary Get messages in a conversation
|
|
1478
1866
|
* @param {string} conversationId Conversation ID
|
|
1479
1867
|
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
1480
|
-
* @param {number
|
|
1868
|
+
* @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
|
|
1481
1869
|
* @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
|
|
1482
1870
|
* @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
1483
|
-
* @param {boolean
|
|
1871
|
+
* @param {boolean} [includeDeleted] Include deleted messages in the response. Defaults to false.
|
|
1872
|
+
* @param {number} [limit] Maximum number of messages to return per page. Defaults to 50, max 100. (Default: 50, Maximum: 100)
|
|
1873
|
+
* @param {string} [cursor] Pagination cursor for fetching older messages. Omit to start from most recent.
|
|
1484
1874
|
* @param {*} [options] Override http request option.
|
|
1485
1875
|
* @throws {RequiredError}
|
|
1486
1876
|
* @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object
|
|
@@ -1488,18 +1878,36 @@ const StudioApiFp = function (configuration) {
|
|
|
1488
1878
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
|
|
1489
1879
|
*
|
|
1490
1880
|
*/
|
|
1491
|
-
async getConversationMessages(conversationId, deploymentId, fid, name, namespace, includeDeleted, options) {
|
|
1881
|
+
async getConversationMessages(conversationId, deploymentId, fid, name, namespace, includeDeleted, limit, cursor, options) {
|
|
1492
1882
|
var _a, _b, _c;
|
|
1493
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getConversationMessages(conversationId, deploymentId, fid, name, namespace, includeDeleted, options);
|
|
1883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getConversationMessages(conversationId, deploymentId, fid, name, namespace, includeDeleted, limit, cursor, options);
|
|
1494
1884
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1495
1885
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.getConversationMessages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1496
1886
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1497
1887
|
},
|
|
1888
|
+
/**
|
|
1889
|
+
* Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
|
|
1890
|
+
* @summary Get most recent credit drop
|
|
1891
|
+
* @param {number} fid Farcaster ID of the user
|
|
1892
|
+
* @param {*} [options] Override http request option.
|
|
1893
|
+
* @throws {RequiredError}
|
|
1894
|
+
* @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
|
|
1895
|
+
*
|
|
1896
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
|
|
1897
|
+
*
|
|
1898
|
+
*/
|
|
1899
|
+
async getCreditDrop(fid, options) {
|
|
1900
|
+
var _a, _b, _c;
|
|
1901
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCreditDrop(fid, options);
|
|
1902
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1903
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.getCreditDrop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1904
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1905
|
+
},
|
|
1498
1906
|
/**
|
|
1499
1907
|
* 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.
|
|
1500
1908
|
* @summary Get deployment info
|
|
1501
1909
|
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
1502
|
-
* @param {number
|
|
1910
|
+
* @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
|
|
1503
1911
|
* @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
|
|
1504
1912
|
* @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
1505
1913
|
* @param {*} [options] Override http request option.
|
|
@@ -1521,7 +1929,7 @@ const StudioApiFp = function (configuration) {
|
|
|
1521
1929
|
* @summary Get deployment file contents
|
|
1522
1930
|
* @param {string} filePath File path relative to gen/
|
|
1523
1931
|
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
1524
|
-
* @param {number
|
|
1932
|
+
* @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
|
|
1525
1933
|
* @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
|
|
1526
1934
|
* @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
1527
1935
|
* @param {*} [options] Override http request option.
|
|
@@ -1563,7 +1971,7 @@ const StudioApiFp = function (configuration) {
|
|
|
1563
1971
|
* @summary Get table schema
|
|
1564
1972
|
* @param {string} tableName
|
|
1565
1973
|
* @param {string} deploymentId Deployment ID (UUID)
|
|
1566
|
-
* @param {number
|
|
1974
|
+
* @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
|
|
1567
1975
|
* @param {*} [options] Override http request option.
|
|
1568
1976
|
* @throws {RequiredError}
|
|
1569
1977
|
* @returns {Promise<GetTableSchema200Response>} A promise that resolves to a `GetTableSchema200Response` object
|
|
@@ -1601,9 +2009,9 @@ const StudioApiFp = function (configuration) {
|
|
|
1601
2009
|
* Lists all conversations for a specific deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
1602
2010
|
* @summary List conversations for a deployment
|
|
1603
2011
|
* @param {string} [deploymentId] Deployment ID (UUID). If provided, filters conversations to this deployment only.
|
|
1604
|
-
* @param {number
|
|
2012
|
+
* @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
|
|
1605
2013
|
* @param {string} [name] Kubernetes deployment name. If provided, filters conversations to this deployment only.
|
|
1606
|
-
* @param {boolean
|
|
2014
|
+
* @param {boolean} [includeDeleted] Include deleted conversations in the response. Defaults to false.
|
|
1607
2015
|
* @param {*} [options] Override http request option.
|
|
1608
2016
|
* @throws {RequiredError}
|
|
1609
2017
|
* @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object
|
|
@@ -1622,7 +2030,7 @@ const StudioApiFp = function (configuration) {
|
|
|
1622
2030
|
* Lists files in a directory of the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
1623
2031
|
* @summary List deployment files
|
|
1624
2032
|
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
1625
|
-
* @param {number
|
|
2033
|
+
* @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
|
|
1626
2034
|
* @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
|
|
1627
2035
|
* @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
1628
2036
|
* @param {string} [directory] Directory path relative to gen/ (defaults to root)
|
|
@@ -1643,10 +2051,12 @@ const StudioApiFp = function (configuration) {
|
|
|
1643
2051
|
/**
|
|
1644
2052
|
* Lists all miniapp generator deployments for a user. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
1645
2053
|
* @summary List deployments
|
|
1646
|
-
* @param {number
|
|
2054
|
+
* @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
|
|
1647
2055
|
* @param {number} [limit] Maximum number of deployments to return. Defaults to 50, max 1000. (Default: 50, Maximum: 1000)
|
|
1648
|
-
* @param {number
|
|
1649
|
-
* @param {
|
|
2056
|
+
* @param {number} [offset] Number of deployments to skip for pagination. Defaults to 0.
|
|
2057
|
+
* @param {string} [query] Search string to filter deployments by name, display name, or FID.
|
|
2058
|
+
* @param {ListDeploymentsSortByEnum} [sortBy] Field to sort deployments by. Defaults to updated_at (most recently updated first).
|
|
2059
|
+
* @param {boolean} [includeDeleted] Include deleted deployments in the response. Defaults to false.
|
|
1650
2060
|
* @param {*} [options] Override http request option.
|
|
1651
2061
|
* @throws {RequiredError}
|
|
1652
2062
|
* @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object
|
|
@@ -1654,9 +2064,9 @@ const StudioApiFp = function (configuration) {
|
|
|
1654
2064
|
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
|
|
1655
2065
|
*
|
|
1656
2066
|
*/
|
|
1657
|
-
async listDeployments(fid, limit, offset, includeDeleted, options) {
|
|
2067
|
+
async listDeployments(fid, limit, offset, query, sortBy, includeDeleted, options) {
|
|
1658
2068
|
var _a, _b, _c;
|
|
1659
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listDeployments(fid, limit, offset, includeDeleted, options);
|
|
2069
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDeployments(fid, limit, offset, query, sortBy, includeDeleted, options);
|
|
1660
2070
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1661
2071
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.listDeployments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1662
2072
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1684,7 +2094,7 @@ const StudioApiFp = function (configuration) {
|
|
|
1684
2094
|
* Lists all tables and views in the deployment database, excluding system tables.
|
|
1685
2095
|
* @summary List all tables in deployment database
|
|
1686
2096
|
* @param {string} deploymentId Deployment ID (UUID)
|
|
1687
|
-
* @param {number
|
|
2097
|
+
* @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
|
|
1688
2098
|
* @param {*} [options] Override http request option.
|
|
1689
2099
|
* @throws {RequiredError}
|
|
1690
2100
|
* @returns {Promise<ListTables200Response>} A promise that resolves to a `ListTables200Response` object
|
|
@@ -1717,6 +2127,24 @@ const StudioApiFp = function (configuration) {
|
|
|
1717
2127
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.promptDeploymentStream']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1718
2128
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1719
2129
|
},
|
|
2130
|
+
/**
|
|
2131
|
+
* Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
|
|
2132
|
+
* @summary Provision a database for a deployment
|
|
2133
|
+
* @param {ProvisionRequest} provisionRequest
|
|
2134
|
+
* @param {*} [options] Override http request option.
|
|
2135
|
+
* @throws {RequiredError}
|
|
2136
|
+
* @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
|
|
2137
|
+
*
|
|
2138
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
|
|
2139
|
+
*
|
|
2140
|
+
*/
|
|
2141
|
+
async provision(provisionRequest, options) {
|
|
2142
|
+
var _a, _b, _c;
|
|
2143
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.provision(provisionRequest, options);
|
|
2144
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2145
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StudioApi.provision']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2146
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2147
|
+
},
|
|
1720
2148
|
/**
|
|
1721
2149
|
* Query data from a table with pagination and sorting.
|
|
1722
2150
|
* @summary Query table data
|
|
@@ -1865,7 +2293,7 @@ const StudioApiFp = function (configuration) {
|
|
|
1865
2293
|
* Retrieves the build logs for a Vercel deployment. Useful for debugging failed deployments. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
1866
2294
|
* @summary Get Vercel deployment build logs
|
|
1867
2295
|
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
1868
|
-
* @param {number
|
|
2296
|
+
* @param {number} [fid] Farcaster ID of the user
|
|
1869
2297
|
* @param {string} [namespace] K8s Namespace name
|
|
1870
2298
|
* @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
|
|
1871
2299
|
* @param {number} [limit] Maximum number of log events to return. Defaults to 100.
|
|
@@ -1887,7 +2315,7 @@ const StudioApiFp = function (configuration) {
|
|
|
1887
2315
|
* Retrieves the status of a Vercel deployment for a miniapp. Looks up the Vercel project ID from the deployment and queries Vercel API for deployment status. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
|
|
1888
2316
|
* @summary Get Vercel deployment status
|
|
1889
2317
|
* @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
|
|
1890
|
-
* @param {number
|
|
2318
|
+
* @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
|
|
1891
2319
|
* @param {string} [namespace] K8s Namespace name
|
|
1892
2320
|
* @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
|
|
1893
2321
|
* @param {*} [options] Override http request option.
|
|
@@ -1914,6 +2342,20 @@ exports.StudioApiFp = StudioApiFp;
|
|
|
1914
2342
|
const StudioApiFactory = function (configuration, basePath, axios) {
|
|
1915
2343
|
const localVarFp = (0, exports.StudioApiFp)(configuration);
|
|
1916
2344
|
return {
|
|
2345
|
+
/**
|
|
2346
|
+
* 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.
|
|
2347
|
+
* @summary Assign a custom subdomain to a deployed miniapp
|
|
2348
|
+
* @param {StudioApiAssignCustomDomainRequest} requestParameters Request parameters.
|
|
2349
|
+
* @param {*} [options] Override http request option.
|
|
2350
|
+
* @throws {RequiredError}
|
|
2351
|
+
* @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
|
|
2352
|
+
*
|
|
2353
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
|
|
2354
|
+
*
|
|
2355
|
+
*/
|
|
2356
|
+
assignCustomDomain(requestParameters, options) {
|
|
2357
|
+
return localVarFp.assignCustomDomain(requestParameters.fid, requestParameters.assignCustomDomainRequest, options).then((request) => request(axios, basePath));
|
|
2358
|
+
},
|
|
1917
2359
|
/**
|
|
1918
2360
|
* 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.
|
|
1919
2361
|
* @summary Set account association
|
|
@@ -1942,6 +2384,48 @@ const StudioApiFactory = function (configuration, basePath, axios) {
|
|
|
1942
2384
|
build(requestParameters, options) {
|
|
1943
2385
|
return localVarFp.build(requestParameters.buildRequest, options).then((request) => request(axios, basePath));
|
|
1944
2386
|
},
|
|
2387
|
+
/**
|
|
2388
|
+
* 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.
|
|
2389
|
+
* @summary Cancel an active Claude session for a deployment
|
|
2390
|
+
* @param {StudioApiCancelSessionRequest} requestParameters Request parameters.
|
|
2391
|
+
* @param {*} [options] Override http request option.
|
|
2392
|
+
* @throws {RequiredError}
|
|
2393
|
+
* @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
|
|
2394
|
+
*
|
|
2395
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
|
|
2396
|
+
*
|
|
2397
|
+
*/
|
|
2398
|
+
cancelSession(requestParameters, options) {
|
|
2399
|
+
return localVarFp.cancelSession(requestParameters.cancelSessionRequest, options).then((request) => request(axios, basePath));
|
|
2400
|
+
},
|
|
2401
|
+
/**
|
|
2402
|
+
* 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.
|
|
2403
|
+
* @summary Check if a custom subdomain is available
|
|
2404
|
+
* @param {StudioApiCheckDomainAvailabilityRequest} requestParameters Request parameters.
|
|
2405
|
+
* @param {*} [options] Override http request option.
|
|
2406
|
+
* @throws {RequiredError}
|
|
2407
|
+
* @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
|
|
2408
|
+
*
|
|
2409
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
|
|
2410
|
+
*
|
|
2411
|
+
*/
|
|
2412
|
+
checkDomainAvailability(requestParameters, options) {
|
|
2413
|
+
return localVarFp.checkDomainAvailability(requestParameters.fid, requestParameters.subdomain, options).then((request) => request(axios, basePath));
|
|
2414
|
+
},
|
|
2415
|
+
/**
|
|
2416
|
+
* 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.
|
|
2417
|
+
* @summary Claim credit drop
|
|
2418
|
+
* @param {StudioApiClaimCreditDropRequest} requestParameters Request parameters.
|
|
2419
|
+
* @param {*} [options] Override http request option.
|
|
2420
|
+
* @throws {RequiredError}
|
|
2421
|
+
* @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
|
|
2422
|
+
*
|
|
2423
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
|
|
2424
|
+
*
|
|
2425
|
+
*/
|
|
2426
|
+
claimCreditDrop(requestParameters, options) {
|
|
2427
|
+
return localVarFp.claimCreditDrop(requestParameters.claimCreditDropRequest, options).then((request) => request(axios, basePath));
|
|
2428
|
+
},
|
|
1945
2429
|
/**
|
|
1946
2430
|
* 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.
|
|
1947
2431
|
* @summary Create a miniapp generator deployment
|
|
@@ -2026,6 +2510,20 @@ const StudioApiFactory = function (configuration, basePath, axios) {
|
|
|
2026
2510
|
executeSql(requestParameters, options) {
|
|
2027
2511
|
return localVarFp.executeSql(requestParameters.executeSqlRequest, options).then((request) => request(axios, basePath));
|
|
2028
2512
|
},
|
|
2513
|
+
/**
|
|
2514
|
+
* 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.
|
|
2515
|
+
* @summary Export deployment source code as ZIP
|
|
2516
|
+
* @param {StudioApiExportZipRequest} requestParameters Request parameters.
|
|
2517
|
+
* @param {*} [options] Override http request option.
|
|
2518
|
+
* @throws {RequiredError}
|
|
2519
|
+
* @returns {Promise<>} A promise that resolves to a `` object
|
|
2520
|
+
*
|
|
2521
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
|
|
2522
|
+
*
|
|
2523
|
+
*/
|
|
2524
|
+
exportZip(requestParameters = {}, options) {
|
|
2525
|
+
return localVarFp.exportZip(requestParameters.deploymentId, requestParameters.fid, requestParameters.name, requestParameters.namespace, options).then((request) => request(axios, basePath));
|
|
2526
|
+
},
|
|
2029
2527
|
/**
|
|
2030
2528
|
* Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
|
|
2031
2529
|
* @summary Get account association of a miniapp
|
|
@@ -2041,7 +2539,7 @@ const StudioApiFactory = function (configuration, basePath, axios) {
|
|
|
2041
2539
|
return localVarFp.getAccountAssociation(requestParameters.deploymentId, requestParameters.namespace, requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2042
2540
|
},
|
|
2043
2541
|
/**
|
|
2044
|
-
* Retrieves
|
|
2542
|
+
* 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.
|
|
2045
2543
|
* @summary Get messages in a conversation
|
|
2046
2544
|
* @param {StudioApiGetConversationMessagesRequest} requestParameters Request parameters.
|
|
2047
2545
|
* @param {*} [options] Override http request option.
|
|
@@ -2052,7 +2550,21 @@ const StudioApiFactory = function (configuration, basePath, axios) {
|
|
|
2052
2550
|
*
|
|
2053
2551
|
*/
|
|
2054
2552
|
getConversationMessages(requestParameters, options) {
|
|
2055
|
-
return localVarFp.getConversationMessages(requestParameters.conversationId, requestParameters.deploymentId, requestParameters.fid, requestParameters.name, requestParameters.namespace, requestParameters.includeDeleted, options).then((request) => request(axios, basePath));
|
|
2553
|
+
return localVarFp.getConversationMessages(requestParameters.conversationId, requestParameters.deploymentId, requestParameters.fid, requestParameters.name, requestParameters.namespace, requestParameters.includeDeleted, requestParameters.limit, requestParameters.cursor, options).then((request) => request(axios, basePath));
|
|
2554
|
+
},
|
|
2555
|
+
/**
|
|
2556
|
+
* Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
|
|
2557
|
+
* @summary Get most recent credit drop
|
|
2558
|
+
* @param {StudioApiGetCreditDropRequest} requestParameters Request parameters.
|
|
2559
|
+
* @param {*} [options] Override http request option.
|
|
2560
|
+
* @throws {RequiredError}
|
|
2561
|
+
* @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
|
|
2562
|
+
*
|
|
2563
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
|
|
2564
|
+
*
|
|
2565
|
+
*/
|
|
2566
|
+
getCreditDrop(requestParameters, options) {
|
|
2567
|
+
return localVarFp.getCreditDrop(requestParameters.fid, options).then((request) => request(axios, basePath));
|
|
2056
2568
|
},
|
|
2057
2569
|
/**
|
|
2058
2570
|
* 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.
|
|
@@ -2164,7 +2676,7 @@ const StudioApiFactory = function (configuration, basePath, axios) {
|
|
|
2164
2676
|
*
|
|
2165
2677
|
*/
|
|
2166
2678
|
listDeployments(requestParameters = {}, options) {
|
|
2167
|
-
return localVarFp.listDeployments(requestParameters.fid, requestParameters.limit, requestParameters.offset, requestParameters.includeDeleted, options).then((request) => request(axios, basePath));
|
|
2679
|
+
return localVarFp.listDeployments(requestParameters.fid, requestParameters.limit, requestParameters.offset, requestParameters.query, requestParameters.sortBy, requestParameters.includeDeleted, options).then((request) => request(axios, basePath));
|
|
2168
2680
|
},
|
|
2169
2681
|
/**
|
|
2170
2682
|
* Retrieves all secrets for a deployment.
|
|
@@ -2208,6 +2720,20 @@ const StudioApiFactory = function (configuration, basePath, axios) {
|
|
|
2208
2720
|
promptDeploymentStream(requestParameters, options) {
|
|
2209
2721
|
return localVarFp.promptDeploymentStream(requestParameters.promptDeploymentStreamRequest, options).then((request) => request(axios, basePath));
|
|
2210
2722
|
},
|
|
2723
|
+
/**
|
|
2724
|
+
* Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
|
|
2725
|
+
* @summary Provision a database for a deployment
|
|
2726
|
+
* @param {StudioApiProvisionRequest} requestParameters Request parameters.
|
|
2727
|
+
* @param {*} [options] Override http request option.
|
|
2728
|
+
* @throws {RequiredError}
|
|
2729
|
+
* @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
|
|
2730
|
+
*
|
|
2731
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
|
|
2732
|
+
*
|
|
2733
|
+
*/
|
|
2734
|
+
provision(requestParameters, options) {
|
|
2735
|
+
return localVarFp.provision(requestParameters.provisionRequest, options).then((request) => request(axios, basePath));
|
|
2736
|
+
},
|
|
2211
2737
|
/**
|
|
2212
2738
|
* Query data from a table with pagination and sorting.
|
|
2213
2739
|
* @summary Query table data
|
|
@@ -2357,6 +2883,21 @@ exports.StudioApiFactory = StudioApiFactory;
|
|
|
2357
2883
|
* @extends {BaseAPI}
|
|
2358
2884
|
*/
|
|
2359
2885
|
class StudioApi extends base_1.BaseAPI {
|
|
2886
|
+
/**
|
|
2887
|
+
* 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.
|
|
2888
|
+
* @summary Assign a custom subdomain to a deployed miniapp
|
|
2889
|
+
* @param {StudioApiAssignCustomDomainRequest} requestParameters Request parameters.
|
|
2890
|
+
* @param {*} [options] Override http request option.
|
|
2891
|
+
* @throws {RequiredError}
|
|
2892
|
+
* @memberof StudioApi
|
|
2893
|
+
* @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
|
|
2894
|
+
*
|
|
2895
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
|
|
2896
|
+
*
|
|
2897
|
+
*/
|
|
2898
|
+
assignCustomDomain(requestParameters, options) {
|
|
2899
|
+
return (0, exports.StudioApiFp)(this.configuration).assignCustomDomain(requestParameters.fid, requestParameters.assignCustomDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2900
|
+
}
|
|
2360
2901
|
/**
|
|
2361
2902
|
* 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.
|
|
2362
2903
|
* @summary Set account association
|
|
@@ -2387,6 +2928,51 @@ class StudioApi extends base_1.BaseAPI {
|
|
|
2387
2928
|
build(requestParameters, options) {
|
|
2388
2929
|
return (0, exports.StudioApiFp)(this.configuration).build(requestParameters.buildRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2389
2930
|
}
|
|
2931
|
+
/**
|
|
2932
|
+
* 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.
|
|
2933
|
+
* @summary Cancel an active Claude session for a deployment
|
|
2934
|
+
* @param {StudioApiCancelSessionRequest} requestParameters Request parameters.
|
|
2935
|
+
* @param {*} [options] Override http request option.
|
|
2936
|
+
* @throws {RequiredError}
|
|
2937
|
+
* @memberof StudioApi
|
|
2938
|
+
* @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
|
|
2939
|
+
*
|
|
2940
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
|
|
2941
|
+
*
|
|
2942
|
+
*/
|
|
2943
|
+
cancelSession(requestParameters, options) {
|
|
2944
|
+
return (0, exports.StudioApiFp)(this.configuration).cancelSession(requestParameters.cancelSessionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2945
|
+
}
|
|
2946
|
+
/**
|
|
2947
|
+
* 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.
|
|
2948
|
+
* @summary Check if a custom subdomain is available
|
|
2949
|
+
* @param {StudioApiCheckDomainAvailabilityRequest} requestParameters Request parameters.
|
|
2950
|
+
* @param {*} [options] Override http request option.
|
|
2951
|
+
* @throws {RequiredError}
|
|
2952
|
+
* @memberof StudioApi
|
|
2953
|
+
* @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
|
|
2954
|
+
*
|
|
2955
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
|
|
2956
|
+
*
|
|
2957
|
+
*/
|
|
2958
|
+
checkDomainAvailability(requestParameters, options) {
|
|
2959
|
+
return (0, exports.StudioApiFp)(this.configuration).checkDomainAvailability(requestParameters.fid, requestParameters.subdomain, options).then((request) => request(this.axios, this.basePath));
|
|
2960
|
+
}
|
|
2961
|
+
/**
|
|
2962
|
+
* 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.
|
|
2963
|
+
* @summary Claim credit drop
|
|
2964
|
+
* @param {StudioApiClaimCreditDropRequest} requestParameters Request parameters.
|
|
2965
|
+
* @param {*} [options] Override http request option.
|
|
2966
|
+
* @throws {RequiredError}
|
|
2967
|
+
* @memberof StudioApi
|
|
2968
|
+
* @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
|
|
2969
|
+
*
|
|
2970
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
|
|
2971
|
+
*
|
|
2972
|
+
*/
|
|
2973
|
+
claimCreditDrop(requestParameters, options) {
|
|
2974
|
+
return (0, exports.StudioApiFp)(this.configuration).claimCreditDrop(requestParameters.claimCreditDropRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2975
|
+
}
|
|
2390
2976
|
/**
|
|
2391
2977
|
* 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.
|
|
2392
2978
|
* @summary Create a miniapp generator deployment
|
|
@@ -2477,6 +3063,21 @@ class StudioApi extends base_1.BaseAPI {
|
|
|
2477
3063
|
executeSql(requestParameters, options) {
|
|
2478
3064
|
return (0, exports.StudioApiFp)(this.configuration).executeSql(requestParameters.executeSqlRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2479
3065
|
}
|
|
3066
|
+
/**
|
|
3067
|
+
* 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.
|
|
3068
|
+
* @summary Export deployment source code as ZIP
|
|
3069
|
+
* @param {StudioApiExportZipRequest} requestParameters Request parameters.
|
|
3070
|
+
* @param {*} [options] Override http request option.
|
|
3071
|
+
* @throws {RequiredError}
|
|
3072
|
+
* @memberof StudioApi
|
|
3073
|
+
* @returns {Promise<>} A promise that resolves to a `` object
|
|
3074
|
+
*
|
|
3075
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
|
|
3076
|
+
*
|
|
3077
|
+
*/
|
|
3078
|
+
exportZip(requestParameters = {}, options) {
|
|
3079
|
+
return (0, exports.StudioApiFp)(this.configuration).exportZip(requestParameters.deploymentId, requestParameters.fid, requestParameters.name, requestParameters.namespace, options).then((request) => request(this.axios, this.basePath));
|
|
3080
|
+
}
|
|
2480
3081
|
/**
|
|
2481
3082
|
* Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
|
|
2482
3083
|
* @summary Get account association of a miniapp
|
|
@@ -2493,7 +3094,7 @@ class StudioApi extends base_1.BaseAPI {
|
|
|
2493
3094
|
return (0, exports.StudioApiFp)(this.configuration).getAccountAssociation(requestParameters.deploymentId, requestParameters.namespace, requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2494
3095
|
}
|
|
2495
3096
|
/**
|
|
2496
|
-
* Retrieves
|
|
3097
|
+
* 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.
|
|
2497
3098
|
* @summary Get messages in a conversation
|
|
2498
3099
|
* @param {StudioApiGetConversationMessagesRequest} requestParameters Request parameters.
|
|
2499
3100
|
* @param {*} [options] Override http request option.
|
|
@@ -2505,7 +3106,22 @@ class StudioApi extends base_1.BaseAPI {
|
|
|
2505
3106
|
*
|
|
2506
3107
|
*/
|
|
2507
3108
|
getConversationMessages(requestParameters, options) {
|
|
2508
|
-
return (0, exports.StudioApiFp)(this.configuration).getConversationMessages(requestParameters.conversationId, requestParameters.deploymentId, requestParameters.fid, requestParameters.name, requestParameters.namespace, requestParameters.includeDeleted, options).then((request) => request(this.axios, this.basePath));
|
|
3109
|
+
return (0, exports.StudioApiFp)(this.configuration).getConversationMessages(requestParameters.conversationId, requestParameters.deploymentId, requestParameters.fid, requestParameters.name, requestParameters.namespace, requestParameters.includeDeleted, requestParameters.limit, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
|
|
3110
|
+
}
|
|
3111
|
+
/**
|
|
3112
|
+
* Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
|
|
3113
|
+
* @summary Get most recent credit drop
|
|
3114
|
+
* @param {StudioApiGetCreditDropRequest} requestParameters Request parameters.
|
|
3115
|
+
* @param {*} [options] Override http request option.
|
|
3116
|
+
* @throws {RequiredError}
|
|
3117
|
+
* @memberof StudioApi
|
|
3118
|
+
* @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
|
|
3119
|
+
*
|
|
3120
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
|
|
3121
|
+
*
|
|
3122
|
+
*/
|
|
3123
|
+
getCreditDrop(requestParameters, options) {
|
|
3124
|
+
return (0, exports.StudioApiFp)(this.configuration).getCreditDrop(requestParameters.fid, options).then((request) => request(this.axios, this.basePath));
|
|
2509
3125
|
}
|
|
2510
3126
|
/**
|
|
2511
3127
|
* 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.
|
|
@@ -2625,7 +3241,7 @@ class StudioApi extends base_1.BaseAPI {
|
|
|
2625
3241
|
*
|
|
2626
3242
|
*/
|
|
2627
3243
|
listDeployments(requestParameters = {}, options) {
|
|
2628
|
-
return (0, exports.StudioApiFp)(this.configuration).listDeployments(requestParameters.fid, requestParameters.limit, requestParameters.offset, requestParameters.includeDeleted, options).then((request) => request(this.axios, this.basePath));
|
|
3244
|
+
return (0, exports.StudioApiFp)(this.configuration).listDeployments(requestParameters.fid, requestParameters.limit, requestParameters.offset, requestParameters.query, requestParameters.sortBy, requestParameters.includeDeleted, options).then((request) => request(this.axios, this.basePath));
|
|
2629
3245
|
}
|
|
2630
3246
|
/**
|
|
2631
3247
|
* Retrieves all secrets for a deployment.
|
|
@@ -2672,6 +3288,21 @@ class StudioApi extends base_1.BaseAPI {
|
|
|
2672
3288
|
promptDeploymentStream(requestParameters, options) {
|
|
2673
3289
|
return (0, exports.StudioApiFp)(this.configuration).promptDeploymentStream(requestParameters.promptDeploymentStreamRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2674
3290
|
}
|
|
3291
|
+
/**
|
|
3292
|
+
* Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
|
|
3293
|
+
* @summary Provision a database for a deployment
|
|
3294
|
+
* @param {StudioApiProvisionRequest} requestParameters Request parameters.
|
|
3295
|
+
* @param {*} [options] Override http request option.
|
|
3296
|
+
* @throws {RequiredError}
|
|
3297
|
+
* @memberof StudioApi
|
|
3298
|
+
* @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
|
|
3299
|
+
*
|
|
3300
|
+
* For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
|
|
3301
|
+
*
|
|
3302
|
+
*/
|
|
3303
|
+
provision(requestParameters, options) {
|
|
3304
|
+
return (0, exports.StudioApiFp)(this.configuration).provision(requestParameters.provisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3305
|
+
}
|
|
2675
3306
|
/**
|
|
2676
3307
|
* Query data from a table with pagination and sorting.
|
|
2677
3308
|
* @summary Query table data
|
|
@@ -2823,3 +3454,10 @@ class StudioApi extends base_1.BaseAPI {
|
|
|
2823
3454
|
}
|
|
2824
3455
|
}
|
|
2825
3456
|
exports.StudioApi = StudioApi;
|
|
3457
|
+
/**
|
|
3458
|
+
* @export
|
|
3459
|
+
*/
|
|
3460
|
+
exports.ListDeploymentsSortByEnum = {
|
|
3461
|
+
CreatedAt: 'created_at',
|
|
3462
|
+
UpdatedAt: 'updated_at'
|
|
3463
|
+
};
|