@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/hub-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/hub-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://snapchain-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 = {};
|
|
@@ -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/hub-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;
|
|
@@ -10,16 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { MessageType } from './message-type';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CastAddAllOfDataAllOf
|
|
17
|
-
*/
|
|
18
13
|
export interface CastAddAllOfDataAllOf {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {MessageType}
|
|
22
|
-
* @memberof CastAddAllOfDataAllOf
|
|
23
|
-
*/
|
|
24
14
|
'type': MessageType;
|
|
25
15
|
}
|
|
@@ -13,6 +13,5 @@ import type { CastAddAllOfDataAllOf } from './cast-add-all-of-data-all-of';
|
|
|
13
13
|
import type { MessageDataCastAdd } from './message-data-cast-add';
|
|
14
14
|
/**
|
|
15
15
|
* @type CastAddAllOfData
|
|
16
|
-
* @export
|
|
17
16
|
*/
|
|
18
17
|
export type CastAddAllOfData = CastAddAllOfDataAllOf & MessageDataCastAdd;
|
|
@@ -10,16 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { CastAddAllOfData } from './cast-add-all-of-data';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CastAddAllOf
|
|
17
|
-
*/
|
|
18
13
|
export interface CastAddAllOf {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {CastAddAllOfData}
|
|
22
|
-
* @memberof CastAddAllOf
|
|
23
|
-
*/
|
|
24
14
|
'data': CastAddAllOfData;
|
|
25
15
|
}
|
|
@@ -13,50 +13,13 @@ import type { CastId } from './cast-id';
|
|
|
13
13
|
import type { Embed } from './embed';
|
|
14
14
|
/**
|
|
15
15
|
* Adds a new Cast
|
|
16
|
-
* @export
|
|
17
|
-
* @interface CastAddBody
|
|
18
16
|
*/
|
|
19
17
|
export interface CastAddBody {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<string>}
|
|
23
|
-
* @memberof CastAddBody
|
|
24
|
-
*/
|
|
25
18
|
'embedsDeprecated': Array<string>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Array<number>}
|
|
29
|
-
* @memberof CastAddBody
|
|
30
|
-
*/
|
|
31
19
|
'mentions': Array<number>;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {CastId}
|
|
35
|
-
* @memberof CastAddBody
|
|
36
|
-
*/
|
|
37
20
|
'parentCastId'?: CastId;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof CastAddBody
|
|
42
|
-
*/
|
|
43
21
|
'parentUrl'?: string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof CastAddBody
|
|
48
|
-
*/
|
|
49
22
|
'text': string;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {Array<number>}
|
|
53
|
-
* @memberof CastAddBody
|
|
54
|
-
*/
|
|
55
23
|
'mentionsPositions': Array<number>;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {Array<Embed>}
|
|
59
|
-
* @memberof CastAddBody
|
|
60
|
-
*/
|
|
61
24
|
'embeds': Array<Embed>;
|
|
62
25
|
}
|
|
@@ -10,16 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { CastId } from './cast-id';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CastEmbed
|
|
17
|
-
*/
|
|
18
13
|
export interface CastEmbed {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {CastId}
|
|
22
|
-
* @memberof CastEmbed
|
|
23
|
-
*/
|
|
24
14
|
'castId': CastId;
|
|
25
15
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A unique identifier for a cast (post) in the Farcaster network, consisting of the creator\'s FID and a hash of the cast\'s content. This combination ensures global uniqueness across all casts.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface CastId
|
|
16
14
|
*/
|
|
17
15
|
export interface CastId {
|
|
18
16
|
/**
|
|
19
17
|
* The Farcaster ID (FID) of the user who created the cast. Required to uniquely identify the cast\'s author in the network.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof CastId
|
|
22
18
|
*/
|
|
23
19
|
'fid': number;
|
|
24
20
|
/**
|
|
25
21
|
* A unique hash that identifies a specific cast within the creator\'s posts. Generated using HASH_SCHEME_BLAKE3 of the cast\'s content.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CastId
|
|
28
22
|
*/
|
|
29
23
|
'hash': string;
|
|
30
24
|
}
|
|
@@ -9,28 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DbStats
|
|
16
|
-
*/
|
|
17
12
|
export interface DbStats {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof DbStats
|
|
22
|
-
*/
|
|
23
13
|
'numMessages': number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof DbStats
|
|
28
|
-
*/
|
|
29
14
|
'numFidEvents': number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof DbStats
|
|
34
|
-
*/
|
|
35
15
|
'numFnameEvents': number;
|
|
36
16
|
}
|
|
@@ -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 ErrorResponseMetadata
|
|
16
|
-
*/
|
|
17
12
|
export interface ErrorResponseMetadata {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<string>}
|
|
21
|
-
* @memberof ErrorResponseMetadata
|
|
22
|
-
*/
|
|
23
13
|
'errcode': Array<string>;
|
|
24
14
|
}
|
|
@@ -10,46 +10,11 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ErrorResponseMetadata } from './error-response-metadata';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ErrorResponse
|
|
17
|
-
*/
|
|
18
13
|
export interface ErrorResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ErrorResponse
|
|
23
|
-
*/
|
|
24
14
|
'errCode': string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof ErrorResponse
|
|
29
|
-
*/
|
|
30
15
|
'presentable': boolean;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ErrorResponse
|
|
35
|
-
*/
|
|
36
16
|
'name': string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ErrorResponse
|
|
41
|
-
*/
|
|
42
17
|
'code': number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ErrorResponse
|
|
47
|
-
*/
|
|
48
18
|
'details': string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {ErrorResponseMetadata}
|
|
52
|
-
* @memberof ErrorResponse
|
|
53
|
-
*/
|
|
54
19
|
'metadata': ErrorResponseMetadata;
|
|
55
20
|
}
|
|
@@ -11,12 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Farcaster network the message is intended for. - FARCASTER_NETWORK_MAINNET: Public primary network - FARCASTER_NETWORK_TESTNET: Public test network - FARCASTER_NETWORK_DEVNET: Private test network
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
14
|
*/
|
|
17
15
|
export declare const FarcasterNetwork: {
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
16
|
+
readonly FarcasterNetworkMainnet: "FARCASTER_NETWORK_MAINNET";
|
|
17
|
+
readonly FarcasterNetworkTestnet: "FARCASTER_NETWORK_TESTNET";
|
|
18
|
+
readonly FarcasterNetworkDevnet: "FARCASTER_NETWORK_DEVNET";
|
|
21
19
|
};
|
|
22
20
|
export type FarcasterNetwork = typeof FarcasterNetwork[keyof typeof FarcasterNetwork];
|
|
@@ -16,11 +16,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.FarcasterNetwork = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* Farcaster network the message is intended for. - FARCASTER_NETWORK_MAINNET: Public primary network - FARCASTER_NETWORK_TESTNET: Public test network - FARCASTER_NETWORK_DEVNET: Private test network
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
19
|
*/
|
|
22
20
|
exports.FarcasterNetwork = {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
FarcasterNetworkMainnet: 'FARCASTER_NETWORK_MAINNET',
|
|
22
|
+
FarcasterNetworkTestnet: 'FARCASTER_NETWORK_TESTNET',
|
|
23
|
+
FarcasterNetworkDevnet: 'FARCASTER_NETWORK_DEVNET'
|
|
26
24
|
};
|
|
@@ -10,16 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Reaction } from './reaction';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FetchCastReactions200ResponseAllOf
|
|
17
|
-
*/
|
|
18
13
|
export interface FetchCastReactions200ResponseAllOf {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<Reaction>}
|
|
22
|
-
* @memberof FetchCastReactions200ResponseAllOf
|
|
23
|
-
*/
|
|
24
14
|
'messages': Array<Reaction>;
|
|
25
15
|
}
|
|
@@ -13,6 +13,5 @@ import type { FetchCastReactions200ResponseAllOf } from './fetch-cast-reactions2
|
|
|
13
13
|
import type { PaginationResponse } from './pagination-response';
|
|
14
14
|
/**
|
|
15
15
|
* @type FetchCastReactions200Response
|
|
16
|
-
* @export
|
|
17
16
|
*/
|
|
18
17
|
export type FetchCastReactions200Response = FetchCastReactions200ResponseAllOf & PaginationResponse;
|
|
@@ -10,16 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { CastAdd } from './cast-add';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FetchCastsByParent200ResponseAllOf
|
|
17
|
-
*/
|
|
18
13
|
export interface FetchCastsByParent200ResponseAllOf {
|
|
19
14
|
/**
|
|
20
15
|
* An array of reply casts to the specified parent cast, ordered by oldest first. Each cast includes its content, timestamp, and other metadata.
|
|
21
|
-
* @type {Array<CastAdd>}
|
|
22
|
-
* @memberof FetchCastsByParent200ResponseAllOf
|
|
23
16
|
*/
|
|
24
17
|
'messages': Array<CastAdd>;
|
|
25
18
|
}
|
|
@@ -13,6 +13,5 @@ import type { FetchCastsByParent200ResponseAllOf } from './fetch-casts-by-parent
|
|
|
13
13
|
import type { PaginationResponse } from './pagination-response';
|
|
14
14
|
/**
|
|
15
15
|
* @type FetchCastsByParent200Response
|
|
16
|
-
* @export
|
|
17
16
|
*/
|
|
18
17
|
export type FetchCastsByParent200Response = FetchCastsByParent200ResponseAllOf & PaginationResponse;
|
|
@@ -10,22 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { HubEvent } from './hub-event';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FetchEvents200Response
|
|
17
|
-
*/
|
|
18
13
|
export interface FetchEvents200Response {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof FetchEvents200Response
|
|
23
|
-
*/
|
|
24
14
|
'nextPageEventId': number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<HubEvent>}
|
|
28
|
-
* @memberof FetchEvents200Response
|
|
29
|
-
*/
|
|
30
15
|
'events': Array<HubEvent>;
|
|
31
16
|
}
|
|
@@ -10,16 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { UserDataAdd } from './user-data-add';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FetchUserData200ResponseOneOfAllOf
|
|
17
|
-
*/
|
|
18
13
|
export interface FetchUserData200ResponseOneOfAllOf {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<UserDataAdd>}
|
|
22
|
-
* @memberof FetchUserData200ResponseOneOfAllOf
|
|
23
|
-
*/
|
|
24
14
|
'messages': Array<UserDataAdd>;
|
|
25
15
|
}
|
|
@@ -13,6 +13,5 @@ import type { FetchUserData200ResponseOneOfAllOf } from './fetch-user-data200-re
|
|
|
13
13
|
import type { PaginationResponse } from './pagination-response';
|
|
14
14
|
/**
|
|
15
15
|
* @type FetchUserData200ResponseOneOf
|
|
16
|
-
* @export
|
|
17
16
|
*/
|
|
18
17
|
export type FetchUserData200ResponseOneOf = FetchUserData200ResponseOneOfAllOf & PaginationResponse;
|
|
@@ -13,6 +13,5 @@ import type { FetchUserData200ResponseOneOf } from './fetch-user-data200-respons
|
|
|
13
13
|
import type { UserDataAdd } from './user-data-add';
|
|
14
14
|
/**
|
|
15
15
|
* @type FetchUserData200Response
|
|
16
|
-
* @export
|
|
17
16
|
*/
|
|
18
17
|
export type FetchUserData200Response = FetchUserData200ResponseOneOf | UserDataAdd;
|