@neynar/nodejs-sdk 3.137.0 → 3.137.1
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/base.d.ts +0 -24
- package/build/api/base.js +0 -19
- package/build/api/common.d.ts +5 -36
- package/build/api/common.js +16 -38
- package/build/api/models/add-verification-req-body.d.ts +0 -29
- package/build/api/models/address-balance-verified-address.d.ts +0 -12
- package/build/api/models/address-balance.d.ts +0 -17
- package/build/api/models/app-host-event-type.d.ts +0 -2
- package/build/api/models/app-host-event-type.js +0 -2
- package/build/api/models/app-host-get-event-response-notification-details.d.ts +0 -6
- package/build/api/models/app-host-get-event-response.d.ts +0 -12
- package/build/api/models/app-host-post-event-req-body.d.ts +0 -1
- package/build/api/models/app-host-post-event-response.d.ts +0 -15
- package/build/api/models/app-host-user-state-response-notifications-enabled-inner.d.ts +0 -11
- package/build/api/models/app-host-user-state-response.d.ts +0 -7
- package/build/api/models/associate-deployment-request-account-association.d.ts +0 -8
- package/build/api/models/associate-deployment-request.d.ts +0 -18
- package/build/api/models/associate-deployment200-response.d.ts +0 -12
- package/build/api/models/authorization-url-response.d.ts +0 -10
- package/build/api/models/balance-response-user-balance.d.ts +0 -20
- package/build/api/models/balance-response.d.ts +0 -10
- package/build/api/models/ban-list-response.d.ts +0 -15
- package/build/api/models/ban-record.d.ts +0 -20
- package/build/api/models/ban-req-body.d.ts +0 -10
- package/build/api/models/ban-response.d.ts +0 -15
- package/build/api/models/batch-get-token-metadata200-response-tokens-inner.d.ts +0 -46
- package/build/api/models/batch-get-token-metadata200-response.d.ts +0 -10
- package/build/api/models/best-friends-response-users-inner.d.ts +0 -20
- package/build/api/models/best-friends-response.d.ts +0 -15
- package/build/api/models/block-list-response.d.ts +0 -15
- package/build/api/models/block-record.d.ts +0 -25
- package/build/api/models/block-req-body.d.ts +0 -9
- package/build/api/models/build-request.d.ts +0 -13
- package/build/api/models/bulk-casts-response.d.ts +0 -10
- package/build/api/models/bulk-follow-response.d.ts +0 -15
- package/build/api/models/bulk-users-by-address-response.d.ts +0 -5
- package/build/api/models/bulk-users-response.d.ts +0 -10
- package/build/api/models/buy-storage-req-body.d.ts +0 -14
- package/build/api/models/cast-and-conversations-ref.d.ts +0 -108
- package/build/api/models/cast-and-conversations.d.ts +0 -111
- package/build/api/models/cast-dehydrated.d.ts +0 -25
- package/build/api/models/cast-embed-crawl-response.d.ts +0 -10
- package/build/api/models/cast-embedded-parent-author.d.ts +0 -7
- package/build/api/models/cast-embedded.d.ts +0 -60
- package/build/api/models/cast-notification-type.d.ts +2 -4
- package/build/api/models/cast-notification-type.js +2 -4
- package/build/api/models/cast-reactions.d.ts +0 -19
- package/build/api/models/cast-replies.d.ts +0 -10
- package/build/api/models/cast-response.d.ts +0 -10
- package/build/api/models/cast-viewer-context.d.ts +0 -6
- package/build/api/models/cast.d.ts +0 -109
- package/build/api/models/casts-metrics-response.d.ts +0 -10
- package/build/api/models/casts-metrics.d.ts +0 -20
- package/build/api/models/casts-response-result.d.ts +0 -10
- package/build/api/models/casts-response.d.ts +0 -10
- package/build/api/models/casts-search-response.d.ts +0 -10
- package/build/api/models/channel-activity.d.ts +0 -30
- package/build/api/models/channel-dehydrated.d.ts +0 -30
- package/build/api/models/channel-external-link.d.ts +0 -12
- package/build/api/models/channel-follow-req-body.d.ts +0 -9
- package/build/api/models/channel-list-response.d.ts +0 -15
- package/build/api/models/channel-member-channel.d.ts +0 -1
- package/build/api/models/channel-member-invite-list-response.d.ts +0 -15
- package/build/api/models/channel-member-invite.d.ts +0 -22
- package/build/api/models/channel-member-list-response.d.ts +0 -15
- package/build/api/models/channel-member-role.d.ts +0 -2
- package/build/api/models/channel-member-role.js +0 -2
- package/build/api/models/channel-member-user.d.ts +0 -1
- package/build/api/models/channel-member.d.ts +0 -25
- package/build/api/models/channel-or-channel-dehydrated.d.ts +0 -1
- package/build/api/models/channel-response-bulk.d.ts +0 -10
- package/build/api/models/channel-response.d.ts +0 -10
- package/build/api/models/channel-search-response.d.ts +0 -15
- package/build/api/models/channel-user-context.d.ts +0 -9
- package/build/api/models/channel.d.ts +0 -89
- package/build/api/models/conflict-error-res.d.ts +0 -22
- package/build/api/models/conversation-conversation.d.ts +0 -15
- package/build/api/models/conversation-summary-summary.d.ts +0 -11
- package/build/api/models/conversation-summary.d.ts +0 -10
- package/build/api/models/conversation.d.ts +0 -15
- package/build/api/models/create-deployment-request.d.ts +0 -11
- package/build/api/models/create-x402-signature-request-payment-requirements-accepts-inner.d.ts +0 -54
- package/build/api/models/create-x402-signature-request-payment-requirements.d.ts +0 -15
- package/build/api/models/create-x402-signature-request.d.ts +0 -10
- package/build/api/models/create-x402-signature200-response-payload-authorization.d.ts +0 -29
- package/build/api/models/create-x402-signature200-response-payload.d.ts +0 -15
- package/build/api/models/create-x402-signature200-response.d.ts +0 -25
- package/build/api/models/delete-cast-req-body.d.ts +0 -12
- package/build/api/models/delete-deployment-request.d.ts +0 -13
- package/build/api/models/delete-deployment200-response.d.ts +0 -15
- package/build/api/models/delete-rows-request.d.ts +0 -13
- package/build/api/models/delete-rows200-response.d.ts +0 -7
- package/build/api/models/delete-secrets-request.d.ts +0 -9
- package/build/api/models/deploy-erc721-request-collection-config.d.ts +0 -16
- package/build/api/models/deploy-erc721-request-mint-config.d.ts +0 -15
- package/build/api/models/deploy-erc721-request.d.ts +0 -29
- package/build/api/models/deploy-erc721201-response-collection.d.ts +0 -29
- package/build/api/models/deploy-erc721201-response.d.ts +0 -15
- package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +0 -20
- package/build/api/models/deploy-fungible-response-contract.d.ts +0 -10
- package/build/api/models/deploy-fungible-response.d.ts +0 -10
- package/build/api/models/deploy-to-vercel-request.d.ts +0 -15
- package/build/api/models/deploy-to-vercel200-response.d.ts +0 -13
- package/build/api/models/deploy-to-vercel400-response.d.ts +0 -15
- package/build/api/models/developer-managed-signer.d.ts +0 -19
- package/build/api/models/embed-cast-deep-cast-id.d.ts +0 -9
- package/build/api/models/embed-cast-deep.d.ts +0 -13
- package/build/api/models/embed-cast.d.ts +0 -13
- package/build/api/models/embed-deep.d.ts +0 -1
- package/build/api/models/embed-url-metadata-image.d.ts +0 -15
- package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +0 -20
- package/build/api/models/embed-url-metadata-video.d.ts +0 -15
- package/build/api/models/embed-url-metadata.d.ts +0 -40
- package/build/api/models/embed-url.d.ts +0 -15
- package/build/api/models/embed.d.ts +0 -1
- package/build/api/models/encoded-json-farcaster-signature.d.ts +0 -17
- package/build/api/models/error-res.d.ts +0 -22
- package/build/api/models/execute-sql-request.d.ts +0 -11
- package/build/api/models/execute-sql200-response.d.ts +0 -13
- package/build/api/models/farcaster-action-req-body-action.d.ts +0 -9
- package/build/api/models/farcaster-action-req-body.d.ts +0 -14
- package/build/api/models/farcaster-fungible.d.ts +0 -17
- package/build/api/models/farcaster-manifest-frame.d.ts +0 -72
- package/build/api/models/farcaster-manifest.d.ts +0 -20
- package/build/api/models/feed-response.d.ts +0 -15
- package/build/api/models/fetch-cast-quotes200-response.d.ts +0 -15
- package/build/api/models/fetch-feed-for-you400-response.d.ts +0 -1
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-pool.d.ts +0 -25
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-net-transfer.d.ts +0 -20
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction-network.d.ts +0 -15
- package/build/api/models/fetch-fungible-trades200-response-trades-inner-transaction.d.ts +0 -20
- package/build/api/models/fetch-fungible-trades200-response-trades-inner.d.ts +0 -25
- package/build/api/models/fetch-fungible-trades200-response.d.ts +0 -15
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame-metadata.d.ts +0 -10
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner-frame.d.ts +0 -25
- package/build/api/models/fetch-relevant-frames200-response-relevant-frames-inner.d.ts +0 -14
- package/build/api/models/fetch-relevant-frames200-response.d.ts +0 -10
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible-price.d.ts +0 -10
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner-fungible.d.ts +0 -32
- package/build/api/models/fetch-trending-fungibles200-response-trending-inner.d.ts +0 -15
- package/build/api/models/fetch-trending-fungibles200-response.d.ts +0 -10
- package/build/api/models/fetch-user-interactions200-response.d.ts +0 -10
- package/build/api/models/fetch-user-reciprocal-followers200-response.d.ts +0 -15
- package/build/api/models/fetch-verifications200-response.d.ts +0 -10
- package/build/api/models/fname-availability-response.d.ts +0 -10
- package/build/api/models/follow-req-body.d.ts +0 -12
- package/build/api/models/follow-response.d.ts +0 -17
- package/build/api/models/follower-dehydrated.d.ts +0 -15
- package/build/api/models/follower.d.ts +0 -20
- package/build/api/models/followers-response.d.ts +0 -15
- package/build/api/models/frame-action-button.d.ts +0 -18
- package/build/api/models/frame-button-action-type.d.ts +0 -2
- package/build/api/models/frame-button-action-type.js +0 -2
- package/build/api/models/frame-catalog-response.d.ts +0 -15
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +0 -37
- package/build/api/models/frame-notification-tokens.d.ts +0 -15
- package/build/api/models/frame-pay-transaction-req-body-transaction.d.ts +0 -10
- package/build/api/models/frame-pay-transaction-req-body.d.ts +0 -17
- package/build/api/models/frame-v1-input.d.ts +0 -7
- package/build/api/models/frame-v1-state.d.ts +0 -7
- package/build/api/models/frame-v1.d.ts +0 -35
- package/build/api/models/frame-v2-with-full-author.d.ts +0 -25
- package/build/api/models/frame-v2.d.ts +0 -25
- package/build/api/models/frame.d.ts +0 -1
- package/build/api/models/fungible-balance-balance.d.ts +0 -15
- package/build/api/models/fungible-balance.d.ts +0 -20
- package/build/api/models/fungible.d.ts +0 -27
- package/build/api/models/fungibles-response-schema.d.ts +0 -7
- package/build/api/models/get-account-association200-response.d.ts +0 -11
- package/build/api/models/get-conversation-messages200-response-messages-inner.d.ts +0 -19
- package/build/api/models/get-conversation-messages200-response.d.ts +0 -7
- package/build/api/models/get-deployment-file200-response.d.ts +0 -9
- package/build/api/models/get-dev-status200-response-one-of.d.ts +0 -15
- package/build/api/models/get-dev-status200-response-one-of1.d.ts +0 -45
- package/build/api/models/get-dev-status200-response.d.ts +0 -1
- package/build/api/models/get-notification-campaign-stats200-response.d.ts +0 -15
- package/build/api/models/get-table-schema200-response-columns-inner.d.ts +0 -17
- package/build/api/models/get-table-schema200-response-foreign-keys-inner.d.ts +0 -13
- package/build/api/models/get-table-schema200-response-indexes-inner.d.ts +0 -13
- package/build/api/models/get-table-schema200-response.d.ts +0 -15
- package/build/api/models/get-token-metadata200-response-token.d.ts +0 -46
- package/build/api/models/get-token-metadata200-response.d.ts +0 -10
- package/build/api/models/get-wallet-balances200-response-balances-inner.d.ts +0 -26
- package/build/api/models/get-wallet-balances200-response-next.d.ts +0 -7
- package/build/api/models/get-wallet-balances200-response.d.ts +0 -15
- package/build/api/models/html-metadata-oembed.d.ts +0 -1
- package/build/api/models/html-metadata.d.ts +0 -255
- package/build/api/models/image-object.d.ts +0 -30
- package/build/api/models/index.d.ts +0 -1
- package/build/api/models/index.js +0 -1
- package/build/api/models/insert-rows-request.d.ts +0 -11
- package/build/api/models/insert-rows200-response.d.ts +0 -9
- package/build/api/models/invite-channel-member-req-body.d.ts +0 -16
- package/build/api/models/list-conversations200-response-conversations-inner.d.ts +0 -19
- package/build/api/models/list-conversations200-response.d.ts +0 -7
- package/build/api/models/list-deployment-files200-response-files-inner.d.ts +0 -11
- package/build/api/models/list-deployment-files200-response.d.ts +0 -7
- package/build/api/models/list-deployments200-response-inner-production-app-status.d.ts +0 -12
- package/build/api/models/list-deployments200-response-inner.d.ts +0 -34
- package/build/api/models/list-deployments400-response.d.ts +0 -10
- package/build/api/models/list-secrets200-response-secrets-inner.d.ts +0 -9
- package/build/api/models/list-secrets200-response.d.ts +0 -15
- package/build/api/models/list-tables200-response-tables-inner.d.ts +0 -13
- package/build/api/models/list-tables200-response.d.ts +0 -7
- package/build/api/models/list-tables400-response.d.ts +0 -15
- package/build/api/models/location-address.d.ts +0 -30
- package/build/api/models/location.d.ts +0 -19
- package/build/api/models/mark-notifications-as-seen-req-body.d.ts +0 -12
- package/build/api/models/miniapp-domain-response.d.ts +0 -25
- package/build/api/models/mint-nft-request-recipients-inner-one-of.d.ts +0 -14
- package/build/api/models/mint-nft-request-recipients-inner-one-of1.d.ts +0 -14
- package/build/api/models/mint-nft-request-recipients-inner.d.ts +0 -1
- package/build/api/models/mint-nft-request.d.ts +0 -10
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-receipt.d.ts +0 -17
- package/build/api/models/mint-nft200-response-transactions-inner-one-of-recipient.d.ts +0 -11
- package/build/api/models/mint-nft200-response-transactions-inner-one-of.d.ts +0 -14
- package/build/api/models/mint-nft200-response-transactions-inner-one-of1-recipient.d.ts +0 -11
- package/build/api/models/mint-nft200-response-transactions-inner-one-of1.d.ts +0 -9
- package/build/api/models/mint-nft200-response-transactions-inner.d.ts +0 -1
- package/build/api/models/mint-nft200-response.d.ts +0 -4
- package/build/api/models/mute-list-response.d.ts +0 -15
- package/build/api/models/mute-record.d.ts +0 -20
- package/build/api/models/mute-req-body.d.ts +0 -9
- package/build/api/models/mute-response.d.ts +0 -15
- package/build/api/models/network.d.ts +0 -2
- package/build/api/models/network.js +0 -2
- package/build/api/models/next-cursor.d.ts +0 -7
- package/build/api/models/nonce-response.d.ts +0 -7
- package/build/api/models/notification-campaign-stats-error-breakdown.d.ts +0 -6
- package/build/api/models/notification-campaign-stats.d.ts +0 -26
- package/build/api/models/notification-campaign.d.ts +0 -21
- package/build/api/models/notification-type.d.ts +0 -2
- package/build/api/models/notification-type.js +0 -2
- package/build/api/models/notification.d.ts +0 -42
- package/build/api/models/notifications-response.d.ts +0 -20
- package/build/api/models/oembed-link-data.d.ts +0 -30
- package/build/api/models/oembed-photo-data.d.ts +0 -36
- package/build/api/models/oembed-rich-data.d.ts +0 -36
- package/build/api/models/oembed-video-data.d.ts +0 -36
- package/build/api/models/operation-response.d.ts +0 -15
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +0 -12
- package/build/api/models/post-cast-req-body-embeds-one-of.d.ts +0 -10
- package/build/api/models/post-cast-req-body-embeds-one-of1.d.ts +0 -10
- package/build/api/models/post-cast-req-body-embeds-one-of2.d.ts +0 -10
- package/build/api/models/post-cast-req-body-embeds.d.ts +0 -1
- package/build/api/models/post-cast-req-body.d.ts +0 -25
- package/build/api/models/post-cast-response-cast-author.d.ts +0 -7
- package/build/api/models/post-cast-response-cast.d.ts +0 -20
- package/build/api/models/post-cast-response.d.ts +0 -15
- package/build/api/models/prompt-deployment-stream-request.d.ts +0 -21
- package/build/api/models/protocol.d.ts +0 -2
- package/build/api/models/protocol.js +0 -2
- package/build/api/models/query-table-request.d.ts +0 -21
- package/build/api/models/query-table200-response-columns-inner.d.ts +0 -9
- package/build/api/models/query-table200-response.d.ts +0 -17
- package/build/api/models/reaction-for-cast.d.ts +0 -30
- package/build/api/models/reaction-like.d.ts +0 -12
- package/build/api/models/reaction-recast.d.ts +0 -12
- package/build/api/models/reaction-req-body.d.ts +0 -18
- package/build/api/models/reaction-type.d.ts +0 -5
- package/build/api/models/reaction-type.js +0 -5
- package/build/api/models/reaction-with-cast-info.d.ts +0 -35
- package/build/api/models/reaction-with-user-info.d.ts +0 -20
- package/build/api/models/reactions-cast-response.d.ts +0 -15
- package/build/api/models/reactions-response.d.ts +0 -15
- package/build/api/models/reciprocal-follower.d.ts +0 -20
- package/build/api/models/recover-request.d.ts +0 -11
- package/build/api/models/register-auth-address-developer-managed-signed-key-req-body.d.ts +0 -20
- package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +0 -20
- package/build/api/models/register-signed-key-for-developer-managed-auth-address200-response.d.ts +0 -19
- package/build/api/models/register-signer-key-req-body.d.ts +0 -20
- package/build/api/models/register-user-on-chain-req-body-pre-registration-calls-inner.d.ts +0 -13
- package/build/api/models/register-user-on-chain-req-body-registration.d.ts +0 -16
- package/build/api/models/register-user-on-chain-req-body-signers-inner.d.ts +0 -26
- package/build/api/models/register-user-on-chain-req-body.d.ts +0 -27
- package/build/api/models/register-user-on-chain-response.d.ts +0 -20
- package/build/api/models/register-user-req-body-metadata.d.ts +0 -40
- package/build/api/models/register-user-req-body-signer.d.ts +0 -25
- package/build/api/models/register-user-req-body.d.ts +0 -40
- package/build/api/models/register-user-response-signers-inner.d.ts +0 -31
- package/build/api/models/register-user-response.d.ts +0 -30
- package/build/api/models/relevant-followers-response.d.ts +0 -15
- package/build/api/models/relevant-fungible-owners-response.d.ts +0 -15
- package/build/api/models/remove-channel-member-req-body.d.ts +0 -16
- package/build/api/models/remove-verification-req-body.d.ts +0 -19
- package/build/api/models/respond-channel-invite-req-body.d.ts +0 -16
- package/build/api/models/send-frame-notifications-req-body-filters-near-location.d.ts +0 -19
- package/build/api/models/send-frame-notifications-req-body-filters.d.ts +0 -13
- package/build/api/models/send-frame-notifications-req-body-notification.d.ts +0 -13
- package/build/api/models/send-frame-notifications-req-body.d.ts +0 -17
- package/build/api/models/send-frame-notifications-response.d.ts +0 -15
- package/build/api/models/shared-signer-permission.d.ts +0 -5
- package/build/api/models/shared-signer-permission.js +0 -5
- package/build/api/models/signed-key-request-sponsor.d.ts +0 -11
- package/build/api/models/signed-message-body-signed-message.d.ts +0 -1
- package/build/api/models/signed-message-body.d.ts +0 -12
- package/build/api/models/signer-list-response.d.ts +0 -10
- package/build/api/models/signer-uuid-body.d.ts +0 -16
- package/build/api/models/signer.d.ts +0 -31
- package/build/api/models/simulate-nft-mint-response-inner-recipient-one-of.d.ts +0 -14
- package/build/api/models/simulate-nft-mint-response-inner-recipient-one-of1.d.ts +0 -14
- package/build/api/models/simulate-nft-mint-response-inner-recipient.d.ts +0 -1
- package/build/api/models/simulate-nft-mint-response-inner.d.ts +0 -41
- package/build/api/models/simulate-nft-mint-response.d.ts +0 -2
- package/build/api/models/start-app-request.d.ts +0 -13
- package/build/api/models/start-app200-response.d.ts +0 -12
- package/build/api/models/storage-allocation.d.ts +0 -30
- package/build/api/models/storage-allocations-response.d.ts +0 -15
- package/build/api/models/storage-object.d.ts +0 -20
- package/build/api/models/storage-usage-response.d.ts +0 -50
- package/build/api/models/subscribed-to-object.d.ts +0 -45
- package/build/api/models/subscribed-to-response.d.ts +0 -10
- package/build/api/models/subscribed-to.d.ts +0 -75
- package/build/api/models/subscriber.d.ts +0 -20
- package/build/api/models/subscribers-response.d.ts +0 -10
- package/build/api/models/subscription-check-response-value.d.ts +0 -30
- package/build/api/models/subscription-check-response.d.ts +0 -5
- package/build/api/models/subscription-metadata.d.ts +0 -20
- package/build/api/models/subscription-price.d.ts +0 -20
- package/build/api/models/subscription-tier-price.d.ts +0 -20
- package/build/api/models/subscription-tier.d.ts +0 -15
- package/build/api/models/subscription-token.d.ts +0 -25
- package/build/api/models/subscription.d.ts +0 -55
- package/build/api/models/subscriptions-response.d.ts +0 -10
- package/build/api/models/subscriptions.d.ts +0 -10
- package/build/api/models/text-range.d.ts +0 -15
- package/build/api/models/token-balance-balance.d.ts +0 -9
- package/build/api/models/token-balance-token.d.ts +0 -18
- package/build/api/models/token-balance.d.ts +0 -17
- package/build/api/models/transaction-frame-action.d.ts +0 -8
- package/build/api/models/transaction-frame-config.d.ts +0 -14
- package/build/api/models/transaction-frame-destination.d.ts +0 -16
- package/build/api/models/transaction-frame-line-item.d.ts +0 -11
- package/build/api/models/transaction-frame-pay.d.ts +0 -29
- package/build/api/models/transaction-frame-response.d.ts +2 -12
- package/build/api/models/transaction-frame-status.d.ts +0 -5
- package/build/api/models/transaction-frame-status.js +0 -5
- package/build/api/models/transaction-frame-type.d.ts +0 -2
- package/build/api/models/transaction-frame-type.js +0 -2
- package/build/api/models/transaction-send-fungibles-receipt.d.ts +0 -19
- package/build/api/models/transaction-send-fungibles-recipient.d.ts +0 -9
- package/build/api/models/transaction-send-fungibles-req-body.d.ts +0 -17
- package/build/api/models/transaction-send-fungibles-response.d.ts +0 -15
- package/build/api/models/transaction-send-tx-info.d.ts +0 -19
- package/build/api/models/trending-channel-response.d.ts +0 -15
- package/build/api/models/trending-topic.d.ts +0 -15
- package/build/api/models/trending-topics-response.d.ts +0 -15
- package/build/api/models/update-rows-request.d.ts +0 -15
- package/build/api/models/update-rows200-response.d.ts +0 -7
- package/build/api/models/update-user-req-body-location.d.ts +0 -15
- package/build/api/models/update-user-req-body-verified-accounts.d.ts +0 -15
- package/build/api/models/update-user-req-body.d.ts +0 -48
- package/build/api/models/update-user207-response-errors-inner.d.ts +0 -10
- package/build/api/models/update-user207-response.d.ts +0 -15
- package/build/api/models/upload-image-url-request.d.ts +0 -15
- package/build/api/models/upload-image200-response.d.ts +0 -13
- package/build/api/models/upsert-secrets-request-secrets-inner.d.ts +0 -9
- package/build/api/models/upsert-secrets-request.d.ts +0 -9
- package/build/api/models/upsert-secrets200-response.d.ts +0 -10
- package/build/api/models/user-auth-addresses-inner.d.ts +0 -12
- package/build/api/models/user-dehydrated.d.ts +0 -34
- package/build/api/models/user-experimental.d.ts +0 -12
- package/build/api/models/user-fidresponse.d.ts +0 -7
- package/build/api/models/user-power-lite-response-result.d.ts +0 -7
- package/build/api/models/user-power-lite-response.d.ts +0 -10
- package/build/api/models/user-pro.d.ts +0 -17
- package/build/api/models/user-profile-banner.d.ts +0 -7
- package/build/api/models/user-profile-bio.d.ts +0 -24
- package/build/api/models/user-profile.d.ts +0 -20
- package/build/api/models/user-response.d.ts +0 -10
- package/build/api/models/user-search-response-result.d.ts +0 -15
- package/build/api/models/user-search-response.d.ts +0 -10
- package/build/api/models/user-verified-accounts-inner.d.ts +0 -12
- package/build/api/models/user-verified-addresses-primary.d.ts +0 -9
- package/build/api/models/user-verified-addresses.d.ts +0 -14
- package/build/api/models/user-viewer-context.d.ts +0 -10
- package/build/api/models/user.d.ts +0 -77
- package/build/api/models/users-active-channels-response.d.ts +0 -15
- package/build/api/models/users-response.d.ts +0 -15
- package/build/api/models/vercel-deployment-logs200-response-logs-inner.d.ts +0 -13
- package/build/api/models/vercel-deployment-logs200-response.d.ts +0 -9
- package/build/api/models/vercel-deployment-status200-response.d.ts +0 -17
- package/build/api/models/verification-chain-id.d.ts +0 -2
- package/build/api/models/verification-chain-id.js +0 -2
- package/build/api/models/verification-type.d.ts +0 -2
- package/build/api/models/verification-type.js +0 -2
- package/build/api/models/verification.d.ts +0 -21
- package/build/api/models/video-object.d.ts +0 -25
- package/build/api/models/webhook-delete-req-body.d.ts +0 -10
- package/build/api/models/webhook-list-response.d.ts +0 -10
- package/build/api/models/webhook-patch-req-body.d.ts +0 -15
- package/build/api/models/webhook-post-req-body.d.ts +0 -20
- package/build/api/models/webhook-put-req-body.d.ts +0 -25
- package/build/api/models/webhook-response.d.ts +0 -20
- package/build/api/models/webhook-secret.d.ts +0 -35
- package/build/api/models/webhook-subscription-filters-cast.d.ts +0 -50
- package/build/api/models/webhook-subscription-filters-follow.d.ts +0 -15
- package/build/api/models/webhook-subscription-filters-reaction.d.ts +0 -20
- package/build/api/models/webhook-subscription-filters-trade.d.ts +0 -20
- package/build/api/models/webhook-subscription-filters-user-updated.d.ts +0 -10
- package/build/api/models/webhook-subscription-filters.d.ts +0 -50
- package/build/api/models/webhook-subscription.d.ts +0 -30
- package/build/api/models/webhook.d.ts +0 -80
- package/build/api/models/zod-error-errors-inner.d.ts +0 -30
- package/build/api/models/zod-error.d.ts +0 -20
- package/build/clients/NeynarAPIClient.js +17 -7
- package/build/clients/NeynarHubClient.js +17 -7
- package/build/hub-api/base.d.ts +0 -24
- package/build/hub-api/base.js +0 -19
- package/build/hub-api/common.d.ts +5 -36
- package/build/hub-api/common.js +16 -38
- package/build/hub-api/models/cast-add-all-of-data-all-of.d.ts +0 -10
- package/build/hub-api/models/cast-add-all-of-data.d.ts +0 -1
- package/build/hub-api/models/cast-add-all-of.d.ts +0 -10
- package/build/hub-api/models/cast-add-body.d.ts +0 -37
- package/build/hub-api/models/cast-add.d.ts +0 -1
- package/build/hub-api/models/cast-embed.d.ts +0 -10
- package/build/hub-api/models/cast-id.d.ts +0 -6
- package/build/hub-api/models/db-stats.d.ts +0 -20
- package/build/hub-api/models/embed.d.ts +0 -1
- package/build/hub-api/models/error-response-metadata.d.ts +0 -10
- package/build/hub-api/models/error-response.d.ts +0 -35
- package/build/hub-api/models/farcaster-network.d.ts +3 -5
- package/build/hub-api/models/farcaster-network.js +3 -5
- package/build/hub-api/models/fetch-cast-reactions200-response-all-of.d.ts +0 -10
- package/build/hub-api/models/fetch-cast-reactions200-response.d.ts +0 -1
- package/build/hub-api/models/fetch-casts-by-parent200-response-all-of.d.ts +0 -7
- package/build/hub-api/models/fetch-casts-by-parent200-response.d.ts +0 -1
- package/build/hub-api/models/fetch-events200-response.d.ts +0 -15
- package/build/hub-api/models/fetch-user-data200-response-one-of-all-of.d.ts +0 -10
- package/build/hub-api/models/fetch-user-data200-response-one-of.d.ts +0 -1
- package/build/hub-api/models/fetch-user-data200-response.d.ts +0 -1
- package/build/hub-api/models/fetch-user-following200-response-all-of.d.ts +0 -10
- package/build/hub-api/models/fetch-user-following200-response.d.ts +0 -1
- package/build/hub-api/models/fetch-user-on-chain-events200-response.d.ts +0 -10
- package/build/hub-api/models/fetch-user-on-chain-signers-events200-response-one-of.d.ts +0 -10
- package/build/hub-api/models/fetch-user-on-chain-signers-events200-response.d.ts +0 -1
- package/build/hub-api/models/fetch-users-casts200-response-all-of.d.ts +0 -10
- package/build/hub-api/models/fetch-users-casts200-response.d.ts +0 -1
- package/build/hub-api/models/fetch-verifications-by-fid200-response.d.ts +0 -15
- package/build/hub-api/models/fids-response-all-of.d.ts +0 -10
- package/build/hub-api/models/fids-response.d.ts +0 -1
- package/build/hub-api/models/frame-action-body.d.ts +0 -8
- package/build/hub-api/models/hash-scheme.d.ts +0 -2
- package/build/hub-api/models/hash-scheme.js +0 -2
- package/build/hub-api/models/hub-event-merge-message.d.ts +0 -20
- package/build/hub-api/models/hub-event-merge-on-chain-event.d.ts +0 -20
- package/build/hub-api/models/hub-event-merge-username-proof.d.ts +0 -20
- package/build/hub-api/models/hub-event-prune-message.d.ts +0 -20
- package/build/hub-api/models/hub-event-revoke-message.d.ts +0 -20
- package/build/hub-api/models/hub-event.d.ts +0 -1
- package/build/hub-api/models/hub-info-response.d.ts +0 -40
- package/build/hub-api/models/id-register-event-body.d.ts +0 -25
- package/build/hub-api/models/id-register-event-type.d.ts +3 -8
- package/build/hub-api/models/id-register-event-type.js +3 -8
- package/build/hub-api/models/link-add-all-of-data.d.ts +0 -1
- package/build/hub-api/models/link-add-all-of.d.ts +0 -10
- package/build/hub-api/models/link-add.d.ts +0 -1
- package/build/hub-api/models/link-body.d.ts +0 -11
- package/build/hub-api/models/link-type.d.ts +0 -2
- package/build/hub-api/models/link-type.js +0 -2
- package/build/hub-api/models/merge-message-body.d.ts +0 -15
- package/build/hub-api/models/merge-on-chain-event-body.d.ts +0 -10
- package/build/hub-api/models/merge-user-name-proof-body.d.ts +0 -25
- package/build/hub-api/models/message-all-of-data.d.ts +0 -1
- package/build/hub-api/models/message-all-of.d.ts +0 -10
- package/build/hub-api/models/message-common.d.ts +0 -30
- package/build/hub-api/models/message-data-cast-add-all-of.d.ts +0 -7
- package/build/hub-api/models/message-data-cast-add.d.ts +0 -1
- package/build/hub-api/models/message-data-cast-remove-all-of.d.ts +0 -7
- package/build/hub-api/models/message-data-cast-remove.d.ts +0 -1
- package/build/hub-api/models/message-data-common.d.ts +0 -16
- package/build/hub-api/models/message-data-frame-action-all-of.d.ts +0 -7
- package/build/hub-api/models/message-data-frame-action.d.ts +0 -1
- package/build/hub-api/models/message-data-link-all-of.d.ts +0 -7
- package/build/hub-api/models/message-data-link.d.ts +0 -1
- package/build/hub-api/models/message-data-reaction-all-of.d.ts +0 -7
- package/build/hub-api/models/message-data-reaction.d.ts +0 -1
- package/build/hub-api/models/message-data-user-data-add-all-of.d.ts +0 -7
- package/build/hub-api/models/message-data-user-data-add.d.ts +0 -1
- package/build/hub-api/models/message-data-username-proof-all-of.d.ts +0 -10
- package/build/hub-api/models/message-data-username-proof.d.ts +0 -1
- package/build/hub-api/models/message-data-verification-add-all-of.d.ts +0 -7
- package/build/hub-api/models/message-data-verification-add.d.ts +0 -1
- package/build/hub-api/models/message-data-verification-remove-all-of.d.ts +0 -7
- package/build/hub-api/models/message-data-verification-remove.d.ts +0 -1
- package/build/hub-api/models/message-type.d.ts +11 -13
- package/build/hub-api/models/message-type.js +11 -13
- package/build/hub-api/models/message.d.ts +0 -1
- package/build/hub-api/models/on-chain-event-common.d.ts +0 -50
- package/build/hub-api/models/on-chain-event-id-register-all-of.d.ts +0 -10
- package/build/hub-api/models/on-chain-event-id-register.d.ts +0 -1
- package/build/hub-api/models/on-chain-event-signer-all-of.d.ts +0 -10
- package/build/hub-api/models/on-chain-event-signer-migrated-all-of.d.ts +0 -10
- package/build/hub-api/models/on-chain-event-signer-migrated.d.ts +0 -1
- package/build/hub-api/models/on-chain-event-signer.d.ts +0 -1
- package/build/hub-api/models/on-chain-event-storage-rent-all-of.d.ts +0 -10
- package/build/hub-api/models/on-chain-event-storage-rent.d.ts +0 -1
- package/build/hub-api/models/on-chain-event-type.d.ts +4 -9
- package/build/hub-api/models/on-chain-event-type.js +4 -9
- package/build/hub-api/models/on-chain-event.d.ts +0 -1
- package/build/hub-api/models/pagination-response.d.ts +0 -7
- package/build/hub-api/models/prune-message-body.d.ts +0 -10
- package/build/hub-api/models/reaction-all-of-data.d.ts +0 -1
- package/build/hub-api/models/reaction-all-of.d.ts +0 -10
- package/build/hub-api/models/reaction-body.d.ts +0 -11
- package/build/hub-api/models/reaction-type.d.ts +0 -2
- package/build/hub-api/models/reaction-type.js +0 -2
- package/build/hub-api/models/reaction.d.ts +0 -1
- package/build/hub-api/models/revoke-message-body.d.ts +0 -10
- package/build/hub-api/models/signature-scheme.d.ts +2 -4
- package/build/hub-api/models/signature-scheme.js +2 -4
- package/build/hub-api/models/signer-event-body.d.ts +0 -30
- package/build/hub-api/models/signer-event-type.d.ts +3 -8
- package/build/hub-api/models/signer-event-type.js +3 -8
- package/build/hub-api/models/signer-migrated-event-body.d.ts +0 -10
- package/build/hub-api/models/storage-limit.d.ts +0 -15
- package/build/hub-api/models/storage-limits-response-tier-subscriptions-inner.d.ts +0 -9
- package/build/hub-api/models/storage-limits-response-unit-details.d.ts +0 -15
- package/build/hub-api/models/storage-limits-response.d.ts +0 -19
- package/build/hub-api/models/storage-rent-event-body.d.ts +0 -20
- package/build/hub-api/models/store-type.d.ts +6 -11
- package/build/hub-api/models/store-type.js +6 -11
- package/build/hub-api/models/url-embed.d.ts +0 -10
- package/build/hub-api/models/user-data-add-all-of-data.d.ts +0 -1
- package/build/hub-api/models/user-data-add-all-of.d.ts +0 -10
- package/build/hub-api/models/user-data-add.d.ts +0 -1
- package/build/hub-api/models/user-data-body.d.ts +0 -6
- package/build/hub-api/models/user-data-type.d.ts +5 -7
- package/build/hub-api/models/user-data-type.js +5 -7
- package/build/hub-api/models/user-name-proof.d.ts +0 -29
- package/build/hub-api/models/user-name-type.d.ts +2 -7
- package/build/hub-api/models/user-name-type.js +2 -7
- package/build/hub-api/models/username-proofs-response.d.ts +0 -10
- package/build/hub-api/models/validate-message-response.d.ts +0 -15
- package/build/hub-api/models/verification-add-eth-address-body.d.ts +0 -8
- package/build/hub-api/models/verification-all-of-data.d.ts +0 -1
- package/build/hub-api/models/verification-all-of.d.ts +0 -10
- package/build/hub-api/models/verification-remove-body.d.ts +0 -4
- package/build/hub-api/models/verification.d.ts +0 -1
- package/package.json +3 -3
- package/build/api/models/transaction-frame.d.ts +0 -19
- package/build/api/models/transaction-frame.js +0 -15
package/build/api/base.d.ts
CHANGED
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
package/build/api/base.js
CHANGED
|
@@ -19,21 +19,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
exports.BASE_PATH = "https://api.neynar.com".replace(/\/+$/, "");
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
22
|
exports.COLLECTION_FORMATS = {
|
|
27
23
|
csv: ",",
|
|
28
24
|
ssv: " ",
|
|
29
25
|
tsv: "\t",
|
|
30
26
|
pipes: "|",
|
|
31
27
|
};
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @export
|
|
35
|
-
* @class BaseAPI
|
|
36
|
-
*/
|
|
37
28
|
class BaseAPI {
|
|
38
29
|
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
39
30
|
var _a;
|
|
@@ -47,12 +38,6 @@ class BaseAPI {
|
|
|
47
38
|
}
|
|
48
39
|
exports.BaseAPI = BaseAPI;
|
|
49
40
|
;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @export
|
|
53
|
-
* @class RequiredError
|
|
54
|
-
* @extends {Error}
|
|
55
|
-
*/
|
|
56
41
|
class RequiredError extends Error {
|
|
57
42
|
constructor(field, msg) {
|
|
58
43
|
super(msg);
|
|
@@ -61,8 +46,4 @@ class RequiredError extends Error {
|
|
|
61
46
|
}
|
|
62
47
|
}
|
|
63
48
|
exports.RequiredError = RequiredError;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @export
|
|
67
|
-
*/
|
|
68
49
|
exports.operationServerMap = {};
|
package/build/api/common.d.ts
CHANGED
|
@@ -12,54 +12,23 @@
|
|
|
12
12
|
import type { Configuration } from "./configuration";
|
|
13
13
|
import type { RequestArgs } from "./base";
|
|
14
14
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
16
|
/**
|
|
21
17
|
*
|
|
22
18
|
* @throws {RequiredError}
|
|
23
|
-
* @export
|
|
24
19
|
*/
|
|
25
20
|
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
21
|
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
22
|
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
23
|
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
24
|
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
25
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
26
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
27
|
+
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
28
|
+
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
29
|
+
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
54
30
|
*/
|
|
31
|
+
export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
|
|
55
32
|
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
33
|
export declare const toPathString: (url: URL) => string;
|
|
61
|
-
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
34
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/build/api/common.js
CHANGED
|
@@ -13,17 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
16
|
+
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.replaceWithSerializableTypeIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
17
17
|
const base_1 = require("./base");
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
*/
|
|
22
18
|
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
23
19
|
/**
|
|
24
20
|
*
|
|
25
21
|
* @throws {RequiredError}
|
|
26
|
-
* @export
|
|
27
22
|
*/
|
|
28
23
|
const assertParamExists = function (functionName, paramName, paramValue) {
|
|
29
24
|
if (paramValue === null || paramValue === undefined) {
|
|
@@ -31,10 +26,6 @@ const assertParamExists = function (functionName, paramName, paramValue) {
|
|
|
31
26
|
}
|
|
32
27
|
};
|
|
33
28
|
exports.assertParamExists = assertParamExists;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
*/
|
|
38
29
|
const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
39
30
|
if (configuration && configuration.apiKey) {
|
|
40
31
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -44,20 +35,12 @@ const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
|
44
35
|
}
|
|
45
36
|
};
|
|
46
37
|
exports.setApiKeyToObject = setApiKeyToObject;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @export
|
|
50
|
-
*/
|
|
51
38
|
const setBasicAuthToObject = function (object, configuration) {
|
|
52
39
|
if (configuration && (configuration.username || configuration.password)) {
|
|
53
40
|
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
54
41
|
}
|
|
55
42
|
};
|
|
56
43
|
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @export
|
|
60
|
-
*/
|
|
61
44
|
const setBearerAuthToObject = async function (object, configuration) {
|
|
62
45
|
if (configuration && configuration.accessToken) {
|
|
63
46
|
const accessToken = typeof configuration.accessToken === 'function'
|
|
@@ -67,10 +50,6 @@ const setBearerAuthToObject = async function (object, configuration) {
|
|
|
67
50
|
}
|
|
68
51
|
};
|
|
69
52
|
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @export
|
|
73
|
-
*/
|
|
74
53
|
const setOAuthToObject = async function (object, name, scopes, configuration) {
|
|
75
54
|
if (configuration && configuration.accessToken) {
|
|
76
55
|
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
@@ -84,7 +63,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
84
63
|
if (parameter == null)
|
|
85
64
|
return;
|
|
86
65
|
if (typeof parameter === "object") {
|
|
87
|
-
if (Array.isArray(parameter)) {
|
|
66
|
+
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
88
67
|
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
89
68
|
}
|
|
90
69
|
else {
|
|
@@ -100,10 +79,6 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
100
79
|
}
|
|
101
80
|
}
|
|
102
81
|
}
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @export
|
|
106
|
-
*/
|
|
107
82
|
const setSearchParams = function (url, ...objects) {
|
|
108
83
|
const searchParams = new URLSearchParams(url.search);
|
|
109
84
|
setFlattenedQueryParams(searchParams, objects);
|
|
@@ -111,31 +86,34 @@ const setSearchParams = function (url, ...objects) {
|
|
|
111
86
|
};
|
|
112
87
|
exports.setSearchParams = setSearchParams;
|
|
113
88
|
/**
|
|
114
|
-
*
|
|
115
|
-
*
|
|
89
|
+
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
90
|
+
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
91
|
+
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
116
92
|
*/
|
|
93
|
+
// @ts-ignore
|
|
94
|
+
const replaceWithSerializableTypeIfNeeded = function (key, value) {
|
|
95
|
+
if (value instanceof Set) {
|
|
96
|
+
return Array.from(value);
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
exports.replaceWithSerializableTypeIfNeeded = replaceWithSerializableTypeIfNeeded;
|
|
117
103
|
const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
118
104
|
const nonString = typeof value !== 'string';
|
|
119
105
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
120
106
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
121
107
|
: nonString;
|
|
122
108
|
return needsSerialization
|
|
123
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
109
|
+
? JSON.stringify(value !== undefined ? value : {}, exports.replaceWithSerializableTypeIfNeeded)
|
|
124
110
|
: (value || "");
|
|
125
111
|
};
|
|
126
112
|
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
127
|
-
/**
|
|
128
|
-
*
|
|
129
|
-
* @export
|
|
130
|
-
*/
|
|
131
113
|
const toPathString = function (url) {
|
|
132
114
|
return url.pathname + url.search + url.hash;
|
|
133
115
|
};
|
|
134
116
|
exports.toPathString = toPathString;
|
|
135
|
-
/**
|
|
136
|
-
*
|
|
137
|
-
* @export
|
|
138
|
-
*/
|
|
139
117
|
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
140
118
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
141
119
|
var _a;
|
|
@@ -11,46 +11,17 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { VerificationChainId } from './verification-chain-id';
|
|
13
13
|
import type { VerificationType } from './verification-type';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface AddVerificationReqBody
|
|
18
|
-
*/
|
|
19
14
|
export interface AddVerificationReqBody {
|
|
20
15
|
/**
|
|
21
16
|
* UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof AddVerificationReqBody
|
|
24
17
|
*/
|
|
25
18
|
'signer_uuid': string;
|
|
26
19
|
/**
|
|
27
20
|
* Ethereum address
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof AddVerificationReqBody
|
|
30
21
|
*/
|
|
31
22
|
'address': string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof AddVerificationReqBody
|
|
36
|
-
*/
|
|
37
23
|
'block_hash': string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof AddVerificationReqBody
|
|
42
|
-
*/
|
|
43
24
|
'eth_signature': string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {VerificationType}
|
|
47
|
-
* @memberof AddVerificationReqBody
|
|
48
|
-
*/
|
|
49
25
|
'verification_type'?: VerificationType;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {VerificationChainId}
|
|
53
|
-
* @memberof AddVerificationReqBody
|
|
54
|
-
*/
|
|
55
26
|
'chain_id'?: VerificationChainId;
|
|
56
27
|
}
|
|
@@ -10,22 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Network } from './network';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AddressBalanceVerifiedAddress
|
|
17
|
-
*/
|
|
18
13
|
export interface AddressBalanceVerifiedAddress {
|
|
19
14
|
/**
|
|
20
15
|
* The wallet address
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof AddressBalanceVerifiedAddress
|
|
23
16
|
*/
|
|
24
17
|
'address': string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Network}
|
|
28
|
-
* @memberof AddressBalanceVerifiedAddress
|
|
29
|
-
*/
|
|
30
18
|
'network': Network;
|
|
31
19
|
}
|
|
@@ -13,27 +13,10 @@ import type { AddressBalanceVerifiedAddress } from './address-balance-verified-a
|
|
|
13
13
|
import type { TokenBalance } from './token-balance';
|
|
14
14
|
/**
|
|
15
15
|
* The token balances associated with a wallet address
|
|
16
|
-
* @export
|
|
17
|
-
* @interface AddressBalance
|
|
18
16
|
*/
|
|
19
17
|
export interface AddressBalance {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof AddressBalance
|
|
24
|
-
*/
|
|
25
18
|
'object': AddressBalanceObjectEnum;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {AddressBalanceVerifiedAddress}
|
|
29
|
-
* @memberof AddressBalance
|
|
30
|
-
*/
|
|
31
19
|
'verified_address': AddressBalanceVerifiedAddress;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Array<TokenBalance>}
|
|
35
|
-
* @memberof AddressBalance
|
|
36
|
-
*/
|
|
37
20
|
'token_balances': Array<TokenBalance>;
|
|
38
21
|
}
|
|
39
22
|
export declare const AddressBalanceObjectEnum: {
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Types of events that can occur between a user and an app host: - frame_added: User adds a mini app to their account - frame_removed: User removes a mini app from their account - notifications_enabled: User enables notifications for a mini app - notifications_disabled: User disables notifications for a mini app
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
14
|
*/
|
|
17
15
|
export declare const AppHostEventType: {
|
|
18
16
|
readonly FrameAdded: "frame_added";
|
|
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.AppHostEventType = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* Types of events that can occur between a user and an app host: - frame_added: User adds a mini app to their account - frame_removed: User removes a mini app from their account - notifications_enabled: User enables notifications for a mini app - notifications_disabled: User disables notifications for a mini app
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
19
|
*/
|
|
22
20
|
exports.AppHostEventType = {
|
|
23
21
|
FrameAdded: 'frame_added',
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Details for notification setup, only present when event is notifications_enabled
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AppHostGetEventResponseNotificationDetails
|
|
16
14
|
*/
|
|
17
15
|
export interface AppHostGetEventResponseNotificationDetails {
|
|
18
16
|
/**
|
|
19
17
|
* URL endpoint for sending notifications
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AppHostGetEventResponseNotificationDetails
|
|
22
18
|
*/
|
|
23
19
|
'url': string;
|
|
24
20
|
/**
|
|
25
21
|
* Token to use when sending notifications to this user
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AppHostGetEventResponseNotificationDetails
|
|
28
22
|
*/
|
|
29
23
|
'token': string;
|
|
30
24
|
}
|
|
@@ -10,22 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AppHostGetEventResponseNotificationDetails } from './app-host-get-event-response-notification-details';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AppHostGetEventResponse
|
|
17
|
-
*/
|
|
18
13
|
export interface AppHostGetEventResponse {
|
|
19
14
|
/**
|
|
20
15
|
* Legacy event type corresponding to the requested event type: - frame_added: User adds a mini app to their account - frame_removed: User removes a mini app from their account - notifications_enabled: User enables notifications for a mini app - notifications_disabled: User disables notifications for a mini app
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof AppHostGetEventResponse
|
|
23
16
|
*/
|
|
24
17
|
'event': string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {AppHostGetEventResponseNotificationDetails}
|
|
28
|
-
* @memberof AppHostGetEventResponse
|
|
29
|
-
*/
|
|
30
18
|
'notificationDetails'?: AppHostGetEventResponseNotificationDetails;
|
|
31
19
|
}
|
|
@@ -14,6 +14,5 @@ import type { SignerUuidBody } from './signer-uuid-body';
|
|
|
14
14
|
/**
|
|
15
15
|
* @type AppHostPostEventReqBody
|
|
16
16
|
* Request body for app host events. Can either provide a signed_message or a signer_uuid with event details.
|
|
17
|
-
* @export
|
|
18
17
|
*/
|
|
19
18
|
export type AppHostPostEventReqBody = SignedMessageBody | SignerUuidBody;
|
|
@@ -9,22 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AppHostPostEventResponse
|
|
16
|
-
*/
|
|
17
12
|
export interface AppHostPostEventResponse {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof AppHostPostEventResponse
|
|
22
|
-
*/
|
|
23
13
|
'success': boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AppHostPostEventResponse
|
|
28
|
-
*/
|
|
29
14
|
'message'?: string;
|
|
30
15
|
}
|
|
@@ -9,28 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AppHostUserStateResponseNotificationsEnabledInner
|
|
16
|
-
*/
|
|
17
12
|
export interface AppHostUserStateResponseNotificationsEnabledInner {
|
|
18
13
|
/**
|
|
19
14
|
* Domain of the mini app
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AppHostUserStateResponseNotificationsEnabledInner
|
|
22
15
|
*/
|
|
23
16
|
'domain': string;
|
|
24
17
|
/**
|
|
25
18
|
* Status of notifications for this domain (usually \'valid\')
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AppHostUserStateResponseNotificationsEnabledInner
|
|
28
19
|
*/
|
|
29
20
|
'status': string;
|
|
30
21
|
/**
|
|
31
22
|
* When the notification preference was last updated
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AppHostUserStateResponseNotificationsEnabledInner
|
|
34
23
|
*/
|
|
35
24
|
'updated_at': string;
|
|
36
25
|
}
|
|
@@ -10,16 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AppHostUserStateResponseNotificationsEnabledInner } from './app-host-user-state-response-notifications-enabled-inner';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AppHostUserStateResponse
|
|
17
|
-
*/
|
|
18
13
|
export interface AppHostUserStateResponse {
|
|
19
14
|
/**
|
|
20
15
|
* List of domains for which notifications are enabled for this user
|
|
21
|
-
* @type {Array<AppHostUserStateResponseNotificationsEnabledInner>}
|
|
22
|
-
* @memberof AppHostUserStateResponse
|
|
23
16
|
*/
|
|
24
17
|
'notifications_enabled': Array<AppHostUserStateResponseNotificationsEnabledInner>;
|
|
25
18
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Signed domain association linking this deployment to a Farcaster account
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AssociateDeploymentRequestAccountAssociation
|
|
16
14
|
*/
|
|
17
15
|
export interface AssociateDeploymentRequestAccountAssociation {
|
|
18
16
|
/**
|
|
19
17
|
* Base64URL encoded JFS header
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AssociateDeploymentRequestAccountAssociation
|
|
22
18
|
*/
|
|
23
19
|
'header': string;
|
|
24
20
|
/**
|
|
25
21
|
* Base64URL encoded JFS payload
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AssociateDeploymentRequestAccountAssociation
|
|
28
22
|
*/
|
|
29
23
|
'payload': string;
|
|
30
24
|
/**
|
|
31
25
|
* Base64URL encoded JFS signature
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AssociateDeploymentRequestAccountAssociation
|
|
34
26
|
*/
|
|
35
27
|
'signature': string;
|
|
36
28
|
}
|
|
@@ -10,40 +10,22 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AssociateDeploymentRequestAccountAssociation } from './associate-deployment-request-account-association';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AssociateDeploymentRequest
|
|
17
|
-
*/
|
|
18
13
|
export interface AssociateDeploymentRequest {
|
|
19
14
|
/**
|
|
20
15
|
* Deployment ID (UUID). Required if name not provided.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof AssociateDeploymentRequest
|
|
23
16
|
*/
|
|
24
17
|
'deployment_id'?: string;
|
|
25
18
|
/**
|
|
26
19
|
* Farcaster ID of the user; if not provided, namespace must be provided
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof AssociateDeploymentRequest
|
|
29
20
|
*/
|
|
30
21
|
'fid'?: number;
|
|
31
22
|
/**
|
|
32
23
|
* Kubernetes deployment name. Required if deployment_id not provided.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof AssociateDeploymentRequest
|
|
35
24
|
*/
|
|
36
25
|
'name'?: string;
|
|
37
26
|
/**
|
|
38
27
|
* Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof AssociateDeploymentRequest
|
|
41
28
|
*/
|
|
42
29
|
'namespace'?: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {AssociateDeploymentRequestAccountAssociation}
|
|
46
|
-
* @memberof AssociateDeploymentRequest
|
|
47
|
-
*/
|
|
48
30
|
'account_association': AssociateDeploymentRequestAccountAssociation;
|
|
49
31
|
}
|
|
@@ -9,22 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AssociateDeployment200Response
|
|
16
|
-
*/
|
|
17
12
|
export interface AssociateDeployment200Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof AssociateDeployment200Response
|
|
22
|
-
*/
|
|
23
13
|
'success': boolean;
|
|
24
14
|
/**
|
|
25
15
|
* Status message from the miniapp generator
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AssociateDeployment200Response
|
|
28
16
|
*/
|
|
29
17
|
'message': string;
|
|
30
18
|
}
|
|
@@ -9,16 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AuthorizationUrlResponse
|
|
16
|
-
*/
|
|
17
12
|
export interface AuthorizationUrlResponse {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AuthorizationUrlResponse
|
|
22
|
-
*/
|
|
23
13
|
'authorization_url': string;
|
|
24
14
|
}
|
|
@@ -11,29 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { AddressBalance } from './address-balance';
|
|
13
13
|
import type { UserDehydrated } from './user-dehydrated';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface BalanceResponseUserBalance
|
|
18
|
-
*/
|
|
19
14
|
export interface BalanceResponseUserBalance {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof BalanceResponseUserBalance
|
|
24
|
-
*/
|
|
25
15
|
'object': BalanceResponseUserBalanceObjectEnum;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {UserDehydrated}
|
|
29
|
-
* @memberof BalanceResponseUserBalance
|
|
30
|
-
*/
|
|
31
16
|
'user': UserDehydrated;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Array<AddressBalance>}
|
|
35
|
-
* @memberof BalanceResponseUserBalance
|
|
36
|
-
*/
|
|
37
17
|
'address_balances': Array<AddressBalance>;
|
|
38
18
|
}
|
|
39
19
|
export declare const BalanceResponseUserBalanceObjectEnum: {
|
|
@@ -10,16 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { BalanceResponseUserBalance } from './balance-response-user-balance';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BalanceResponse
|
|
17
|
-
*/
|
|
18
13
|
export interface BalanceResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {BalanceResponseUserBalance}
|
|
22
|
-
* @memberof BalanceResponse
|
|
23
|
-
*/
|
|
24
14
|
'user_balance'?: BalanceResponseUserBalance;
|
|
25
15
|
}
|