@neynar/nodejs-sdk 2.31.0 → 2.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/api.d.ts +1 -1
- package/build/api/api.js +1 -1
- package/build/api/apis/action-api.d.ts +1 -1
- package/build/api/apis/action-api.js +1 -1
- package/build/api/apis/agents-api.d.ts +11 -11
- package/build/api/apis/agents-api.js +9 -9
- package/build/api/apis/ban-api.d.ts +1 -1
- package/build/api/apis/ban-api.js +1 -1
- package/build/api/apis/block-api.d.ts +1 -1
- package/build/api/apis/block-api.js +1 -1
- package/build/api/apis/cast-api.d.ts +1 -1
- package/build/api/apis/cast-api.js +1 -1
- package/build/api/apis/channel-api.d.ts +1 -1
- package/build/api/apis/channel-api.js +1 -1
- package/build/api/apis/feed-api.d.ts +11 -11
- package/build/api/apis/feed-api.js +9 -9
- package/build/api/apis/fname-api.d.ts +1 -1
- package/build/api/apis/fname-api.js +1 -1
- package/build/api/apis/follows-api.d.ts +1 -1
- package/build/api/apis/follows-api.js +1 -1
- package/build/api/apis/frame-api.d.ts +226 -226
- package/build/api/apis/frame-api.js +191 -191
- package/build/api/apis/login-api.d.ts +1 -1
- package/build/api/apis/login-api.js +1 -1
- package/build/api/apis/metrics-api.d.ts +1 -1
- package/build/api/apis/metrics-api.js +1 -1
- package/build/api/apis/mute-api.d.ts +1 -1
- package/build/api/apis/mute-api.js +1 -1
- package/build/api/apis/notifications-api.d.ts +1 -1
- package/build/api/apis/notifications-api.js +1 -1
- package/build/api/apis/onchain-api.d.ts +1 -1
- package/build/api/apis/onchain-api.js +1 -1
- package/build/api/apis/reaction-api.d.ts +1 -1
- package/build/api/apis/reaction-api.js +1 -1
- package/build/api/apis/signer-api.d.ts +1 -1
- package/build/api/apis/signer-api.js +1 -1
- package/build/api/apis/storage-api.d.ts +1 -1
- package/build/api/apis/storage-api.js +1 -1
- package/build/api/apis/subscribers-api.d.ts +1 -1
- package/build/api/apis/subscribers-api.js +1 -1
- package/build/api/apis/user-api.d.ts +1 -1
- package/build/api/apis/user-api.js +1 -1
- package/build/api/apis/webhook-api.d.ts +1 -1
- package/build/api/apis/webhook-api.js +1 -1
- package/build/api/base.d.ts +1 -1
- package/build/api/base.js +1 -1
- package/build/api/common.d.ts +1 -1
- package/build/api/common.js +1 -1
- package/build/api/configuration.d.ts +1 -1
- package/build/api/configuration.js +1 -1
- package/build/api/index.d.ts +1 -1
- package/build/api/index.js +1 -1
- package/build/api/models/add-verification-req-body.d.ts +1 -1
- package/build/api/models/add-verification-req-body.js +1 -1
- package/build/api/models/address-balance-verified-address.d.ts +1 -1
- package/build/api/models/address-balance-verified-address.js +1 -1
- package/build/api/models/address-balance.d.ts +1 -1
- package/build/api/models/address-balance.js +1 -1
- package/build/api/models/authorization-url-response-type.d.ts +1 -1
- package/build/api/models/authorization-url-response-type.js +1 -1
- package/build/api/models/authorization-url-response.d.ts +1 -1
- package/build/api/models/authorization-url-response.js +1 -1
- package/build/api/models/balance-response-user-balance.d.ts +1 -1
- package/build/api/models/balance-response-user-balance.js +1 -1
- package/build/api/models/balance-response.d.ts +1 -1
- package/build/api/models/balance-response.js +1 -1
- package/build/api/models/ban-list-response.d.ts +1 -1
- package/build/api/models/ban-list-response.js +1 -1
- package/build/api/models/ban-record.d.ts +1 -1
- package/build/api/models/ban-record.js +1 -1
- package/build/api/models/ban-req-body.d.ts +1 -1
- package/build/api/models/ban-req-body.js +1 -1
- package/build/api/models/ban-response.d.ts +1 -1
- package/build/api/models/ban-response.js +1 -1
- package/build/api/models/block-list-response.d.ts +1 -1
- package/build/api/models/block-list-response.js +1 -1
- package/build/api/models/block-record.d.ts +1 -1
- package/build/api/models/block-record.js +1 -1
- package/build/api/models/block-req-body.d.ts +1 -1
- package/build/api/models/block-req-body.js +1 -1
- package/build/api/models/bulk-casts-response.d.ts +1 -1
- package/build/api/models/bulk-casts-response.js +1 -1
- package/build/api/models/bulk-follow-response.d.ts +1 -1
- package/build/api/models/bulk-follow-response.js +1 -1
- package/build/api/models/bulk-user-address-type.d.ts +1 -1
- package/build/api/models/bulk-user-address-type.js +1 -1
- package/build/api/models/bulk-users-by-address-response.d.ts +1 -1
- package/build/api/models/bulk-users-by-address-response.js +1 -1
- package/build/api/models/bulk-users-response.d.ts +1 -1
- package/build/api/models/bulk-users-response.js +1 -1
- package/build/api/models/buy-storage-req-body.d.ts +1 -1
- package/build/api/models/buy-storage-req-body.js +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner-action.js +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response-actions-inner.js +1 -1
- package/build/api/models/cast-composer-actions-list-response.d.ts +1 -1
- package/build/api/models/cast-composer-actions-list-response.js +1 -1
- package/build/api/models/cast-composer-type.d.ts +1 -1
- package/build/api/models/cast-composer-type.js +1 -1
- package/build/api/models/cast-conversation-sort-type.d.ts +1 -1
- package/build/api/models/cast-conversation-sort-type.js +1 -1
- package/build/api/models/cast-dehydrated.d.ts +1 -1
- package/build/api/models/cast-dehydrated.js +1 -1
- package/build/api/models/cast-embed-crawl-response.d.ts +1 -1
- package/build/api/models/cast-embed-crawl-response.js +1 -1
- package/build/api/models/cast-embedded-parent-author.d.ts +1 -1
- package/build/api/models/cast-embedded-parent-author.js +1 -1
- package/build/api/models/cast-embedded.d.ts +1 -1
- package/build/api/models/cast-embedded.js +1 -1
- package/build/api/models/cast-id.d.ts +1 -1
- package/build/api/models/cast-id.js +1 -1
- package/build/api/models/cast-notification-type.d.ts +1 -1
- package/build/api/models/cast-notification-type.js +1 -1
- package/build/api/models/cast-param-type.d.ts +1 -1
- package/build/api/models/cast-param-type.js +1 -1
- package/build/api/models/cast-response.d.ts +1 -1
- package/build/api/models/cast-response.js +1 -1
- package/build/api/models/cast-viewer-context.d.ts +1 -1
- package/build/api/models/cast-viewer-context.js +1 -1
- package/build/api/models/cast-with-interactions-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref-all-of.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations-ref.js +1 -1
- package/build/api/models/cast-with-interactions-and-conversations.d.ts +1 -1
- package/build/api/models/cast-with-interactions-and-conversations.js +1 -1
- package/build/api/models/cast-with-interactions-reactions.d.ts +1 -1
- package/build/api/models/cast-with-interactions-reactions.js +1 -1
- package/build/api/models/cast-with-interactions-replies.d.ts +1 -1
- package/build/api/models/cast-with-interactions-replies.js +1 -1
- package/build/api/models/cast-with-interactions.d.ts +1 -1
- package/build/api/models/cast-with-interactions.js +1 -1
- package/build/api/models/cast.d.ts +1 -1
- package/build/api/models/cast.js +1 -1
- package/build/api/models/casts-metrics-response.d.ts +1 -1
- package/build/api/models/casts-metrics-response.js +1 -1
- package/build/api/models/casts-metrics.d.ts +1 -1
- package/build/api/models/casts-metrics.js +1 -1
- package/build/api/models/casts-response-result.d.ts +1 -1
- package/build/api/models/casts-response-result.js +1 -1
- package/build/api/models/casts-response.d.ts +1 -1
- package/build/api/models/casts-response.js +1 -1
- package/build/api/models/casts-search-response-result.d.ts +1 -1
- package/build/api/models/casts-search-response-result.js +1 -1
- package/build/api/models/casts-search-response.d.ts +1 -1
- package/build/api/models/casts-search-response.js +1 -1
- package/build/api/models/channel-activity.d.ts +1 -1
- package/build/api/models/channel-activity.js +1 -1
- package/build/api/models/channel-dehydrated.d.ts +1 -1
- package/build/api/models/channel-dehydrated.js +1 -1
- package/build/api/models/channel-external-link.d.ts +1 -1
- package/build/api/models/channel-external-link.js +1 -1
- package/build/api/models/channel-follow-req-body.d.ts +1 -1
- package/build/api/models/channel-follow-req-body.js +1 -1
- package/build/api/models/channel-list-response.d.ts +1 -1
- package/build/api/models/channel-list-response.js +1 -1
- package/build/api/models/channel-member-channel.d.ts +1 -1
- package/build/api/models/channel-member-channel.js +1 -1
- package/build/api/models/channel-member-invite-list-response.d.ts +1 -1
- package/build/api/models/channel-member-invite-list-response.js +1 -1
- package/build/api/models/channel-member-invite.d.ts +1 -1
- package/build/api/models/channel-member-invite.js +1 -1
- package/build/api/models/channel-member-list-response.d.ts +1 -1
- package/build/api/models/channel-member-list-response.js +1 -1
- package/build/api/models/channel-member-role.d.ts +1 -1
- package/build/api/models/channel-member-role.js +1 -1
- package/build/api/models/channel-member-user.d.ts +1 -1
- package/build/api/models/channel-member-user.js +1 -1
- package/build/api/models/channel-member.d.ts +1 -1
- package/build/api/models/channel-member.js +1 -1
- package/build/api/models/channel-or-channel-dehydrated.d.ts +1 -1
- package/build/api/models/channel-or-channel-dehydrated.js +1 -1
- package/build/api/models/channel-response-bulk.d.ts +1 -1
- package/build/api/models/channel-response-bulk.js +1 -1
- package/build/api/models/channel-response.d.ts +1 -1
- package/build/api/models/channel-response.js +1 -1
- package/build/api/models/channel-search-response.d.ts +1 -1
- package/build/api/models/channel-search-response.js +1 -1
- package/build/api/models/channel-type.d.ts +1 -1
- package/build/api/models/channel-type.js +1 -1
- package/build/api/models/channel-user-context.d.ts +1 -1
- package/build/api/models/channel-user-context.js +1 -1
- package/build/api/models/channel.d.ts +1 -1
- package/build/api/models/channel.js +1 -1
- package/build/api/models/conflict-error-res.d.ts +1 -1
- package/build/api/models/conflict-error-res.js +1 -1
- package/build/api/models/conversation-conversation.d.ts +1 -1
- package/build/api/models/conversation-conversation.js +1 -1
- package/build/api/models/conversation-summary-summary.d.ts +1 -1
- package/build/api/models/conversation-summary-summary.js +1 -1
- package/build/api/models/conversation-summary.d.ts +1 -1
- package/build/api/models/conversation-summary.js +1 -1
- package/build/api/models/conversation.d.ts +1 -1
- package/build/api/models/conversation.js +1 -1
- package/build/api/models/delete-cast-req-body.d.ts +1 -1
- package/build/api/models/delete-cast-req-body.js +1 -1
- package/build/api/models/delete-frame-req-body.d.ts +1 -1
- package/build/api/models/delete-frame-req-body.js +1 -1
- package/build/api/models/delete-frame-response.d.ts +1 -1
- package/build/api/models/delete-frame-response.js +1 -1
- package/build/api/models/deploy-fungible-req-body-metadata-media.d.ts +1 -1
- package/build/api/models/deploy-fungible-req-body-metadata-media.js +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract-fungible.js +1 -1
- package/build/api/models/deploy-fungible-response-contract.d.ts +1 -1
- package/build/api/models/deploy-fungible-response-contract.js +1 -1
- package/build/api/models/deploy-fungible-response.d.ts +1 -1
- package/build/api/models/deploy-fungible-response.js +1 -1
- package/build/api/models/developer-managed-signer.d.ts +1 -1
- package/build/api/models/developer-managed-signer.js +1 -1
- package/build/api/models/embed-cast-deep.d.ts +1 -1
- package/build/api/models/embed-cast-deep.js +1 -1
- package/build/api/models/embed-cast.d.ts +1 -1
- package/build/api/models/embed-cast.js +1 -1
- package/build/api/models/embed-deep.d.ts +1 -1
- package/build/api/models/embed-deep.js +1 -1
- package/build/api/models/embed-type.d.ts +1 -1
- package/build/api/models/embed-type.js +1 -1
- package/build/api/models/embed-url-metadata-image.d.ts +1 -1
- package/build/api/models/embed-url-metadata-image.js +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video-stream-inner.js +1 -1
- package/build/api/models/embed-url-metadata-video.d.ts +1 -1
- package/build/api/models/embed-url-metadata-video.js +1 -1
- package/build/api/models/embed-url-metadata.d.ts +1 -1
- package/build/api/models/embed-url-metadata.js +1 -1
- package/build/api/models/embed-url.d.ts +1 -1
- package/build/api/models/embed-url.js +1 -1
- package/build/api/models/embed.d.ts +1 -1
- package/build/api/models/embed.js +1 -1
- package/build/api/models/error-res.d.ts +1 -1
- package/build/api/models/error-res.js +1 -1
- package/build/api/models/farcaster-action-req-body-action.d.ts +1 -1
- package/build/api/models/farcaster-action-req-body-action.js +1 -1
- package/build/api/models/farcaster-action-req-body.d.ts +1 -1
- package/build/api/models/farcaster-action-req-body.js +1 -1
- package/build/api/models/farcaster-manifest-account-association.d.ts +1 -1
- package/build/api/models/farcaster-manifest-account-association.js +1 -1
- package/build/api/models/farcaster-manifest-frame.d.ts +1 -1
- package/build/api/models/farcaster-manifest-frame.js +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of.d.ts +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of.js +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of1.d.ts +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner-one-of1.js +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner.d.ts +1 -1
- package/build/api/models/farcaster-manifest-triggers-inner.js +1 -1
- package/build/api/models/farcaster-manifest.d.ts +1 -1
- package/build/api/models/farcaster-manifest.js +1 -1
- package/build/api/models/feed-response.d.ts +1 -1
- package/build/api/models/feed-response.js +1 -1
- package/build/api/models/feed-trending-provider.d.ts +1 -1
- package/build/api/models/feed-trending-provider.js +1 -1
- package/build/api/models/feed-type.d.ts +1 -1
- package/build/api/models/feed-type.js +1 -1
- package/build/api/models/fetch-feed-for-you400-response.d.ts +1 -1
- package/build/api/models/fetch-feed-for-you400-response.js +1 -1
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.d.ts +2 -2
- package/build/api/models/fetch-frame-meta-tags-from-url200-response.js +1 -1
- package/build/api/models/{fetch-relevant-frames200-response-relevant-frames-inner.d.ts → fetch-frame-relevant200-response-relevant-frames-inner.d.ts} +6 -6
- package/build/api/models/{fetch-relevant-frames200-response-relevant-frames-inner.js → fetch-frame-relevant200-response-relevant-frames-inner.js} +1 -1
- package/build/api/models/fetch-frame-relevant200-response.d.ts +25 -0
- package/build/api/models/{fetch-relevant-frames200-response.js → fetch-frame-relevant200-response.js} +1 -1
- package/build/api/models/fetch-user-interactions200-response.d.ts +1 -1
- package/build/api/models/fetch-user-interactions200-response.js +1 -1
- package/build/api/models/fids.d.ts +1 -1
- package/build/api/models/fids.js +1 -1
- package/build/api/models/filter-type.d.ts +1 -1
- package/build/api/models/filter-type.js +1 -1
- package/build/api/models/fname-availability-response.d.ts +1 -1
- package/build/api/models/fname-availability-response.js +1 -1
- package/build/api/models/follow-req-body.d.ts +1 -1
- package/build/api/models/follow-req-body.js +1 -1
- package/build/api/models/follow-response.d.ts +1 -1
- package/build/api/models/follow-response.js +1 -1
- package/build/api/models/follow-sort-type.d.ts +1 -1
- package/build/api/models/follow-sort-type.js +1 -1
- package/build/api/models/follower-dehydrated.d.ts +1 -1
- package/build/api/models/follower-dehydrated.js +1 -1
- package/build/api/models/follower.d.ts +1 -1
- package/build/api/models/follower.js +1 -1
- package/build/api/models/followers-response.d.ts +1 -1
- package/build/api/models/followers-response.js +1 -1
- package/build/api/models/for-you-provider.d.ts +1 -1
- package/build/api/models/for-you-provider.js +1 -1
- package/build/api/models/frame-action-button.d.ts +1 -1
- package/build/api/models/frame-action-button.js +1 -1
- package/build/api/models/frame-action-req-body.d.ts +1 -1
- package/build/api/models/frame-action-req-body.js +1 -1
- package/build/api/models/frame-action.d.ts +3 -3
- package/build/api/models/frame-action.js +1 -1
- package/build/api/models/frame-base.d.ts +4 -4
- package/build/api/models/frame-base.js +1 -1
- package/build/api/models/frame-button-action-type.d.ts +2 -2
- package/build/api/models/frame-button-action-type.js +2 -2
- package/build/api/models/frame-catalog-response.d.ts +1 -1
- package/build/api/models/frame-catalog-response.js +1 -1
- package/build/api/models/frame-developer-managed-action-req-body.d.ts +1 -1
- package/build/api/models/frame-developer-managed-action-req-body.js +1 -1
- package/build/api/models/frame-input.d.ts +2 -2
- package/build/api/models/frame-input.js +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.d.ts +1 -1
- package/build/api/models/frame-notification-tokens-notification-tokens-inner.js +1 -1
- package/build/api/models/frame-notification-tokens.d.ts +1 -1
- package/build/api/models/frame-notification-tokens.js +1 -1
- package/build/api/models/frame-pay-transaction-request-body.d.ts +1 -1
- package/build/api/models/frame-pay-transaction-request-body.js +1 -1
- package/build/api/models/frame-signature-packet-trusted-data.d.ts +1 -1
- package/build/api/models/frame-signature-packet-trusted-data.js +1 -1
- package/build/api/models/frame-signature-packet-untrusted-data.d.ts +2 -2
- package/build/api/models/frame-signature-packet-untrusted-data.js +1 -1
- package/build/api/models/frame-signature-packet.d.ts +2 -2
- package/build/api/models/frame-signature-packet.js +1 -1
- package/build/api/models/frame-state.d.ts +2 -2
- package/build/api/models/frame-state.js +1 -1
- package/build/api/models/frame-transaction.d.ts +1 -1
- package/build/api/models/frame-transaction.js +1 -1
- package/build/api/models/frame-type.d.ts +1 -1
- package/build/api/models/frame-type.js +1 -1
- package/build/api/models/frame-v1-all-of-input.d.ts +2 -2
- package/build/api/models/frame-v1-all-of-input.js +1 -1
- package/build/api/models/frame-v1-all-of-state.d.ts +2 -2
- package/build/api/models/frame-v1-all-of-state.js +1 -1
- package/build/api/models/frame-v1-all-of.d.ts +2 -2
- package/build/api/models/frame-v1-all-of.js +1 -1
- package/build/api/models/frame-v1.d.ts +2 -2
- package/build/api/models/frame-v1.js +1 -1
- package/build/api/models/frame-v2-all-of-metadata.d.ts +1 -1
- package/build/api/models/frame-v2-all-of-metadata.js +1 -1
- package/build/api/models/frame-v2-all-of.d.ts +2 -2
- package/build/api/models/frame-v2-all-of.js +1 -1
- package/build/api/models/frame-v2-with-full-author-all-of.d.ts +2 -2
- package/build/api/models/frame-v2-with-full-author-all-of.js +1 -1
- package/build/api/models/frame-v2-with-full-author.d.ts +2 -2
- package/build/api/models/frame-v2-with-full-author.js +1 -1
- package/build/api/models/frame-v2.d.ts +2 -2
- package/build/api/models/frame-v2.js +1 -1
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-input-text-input-texts-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-input-text.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-input-text.js +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast-interactions-per-cast-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactions-per-cast.js +1 -1
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactors-interactors-inner.js +1 -1
- package/build/api/models/frame-validate-analytics-interactors.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-interactors.js +1 -1
- package/build/api/models/frame-validate-analytics-response.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-response.js +1 -1
- package/build/api/models/frame-validate-analytics-total-interactors.d.ts +1 -1
- package/build/api/models/frame-validate-analytics-total-interactors.js +1 -1
- package/build/api/models/frame-validate-list-response.d.ts +1 -1
- package/build/api/models/frame-validate-list-response.js +1 -1
- package/build/api/models/frame.d.ts +1 -1
- package/build/api/models/frame.js +1 -1
- package/build/api/models/html-metadata-all-of-oembed.d.ts +1 -1
- package/build/api/models/html-metadata-all-of-oembed.js +1 -1
- package/build/api/models/html-metadata-all-of.d.ts +1 -1
- package/build/api/models/html-metadata-all-of.js +1 -1
- package/build/api/models/html-metadata.d.ts +1 -1
- package/build/api/models/html-metadata.js +1 -1
- package/build/api/models/image-object.d.ts +1 -1
- package/build/api/models/image-object.js +1 -1
- package/build/api/models/index.d.ts +2 -2
- package/build/api/models/index.js +2 -2
- package/build/api/models/invite-channel-member-req-body.d.ts +1 -1
- package/build/api/models/invite-channel-member-req-body.js +1 -1
- package/build/api/models/location-address.d.ts +1 -1
- package/build/api/models/location-address.js +1 -1
- package/build/api/models/location.d.ts +1 -1
- package/build/api/models/location.js +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.d.ts +1 -1
- package/build/api/models/mark-notifications-as-seen-req-body.js +1 -1
- package/build/api/models/mute-list-response.d.ts +1 -1
- package/build/api/models/mute-list-response.js +1 -1
- package/build/api/models/mute-record.d.ts +1 -1
- package/build/api/models/mute-record.js +1 -1
- package/build/api/models/mute-req-body.d.ts +1 -1
- package/build/api/models/mute-req-body.js +1 -1
- package/build/api/models/mute-response.d.ts +1 -1
- package/build/api/models/mute-response.js +1 -1
- package/build/api/models/networks.d.ts +1 -1
- package/build/api/models/networks.js +1 -1
- package/build/api/models/next-cursor.d.ts +1 -1
- package/build/api/models/next-cursor.js +1 -1
- package/build/api/models/neynar-frame-creation-req-body.d.ts +2 -2
- package/build/api/models/neynar-frame-creation-req-body.js +1 -1
- package/build/api/models/neynar-frame-page.d.ts +1 -1
- package/build/api/models/neynar-frame-page.js +1 -1
- package/build/api/models/neynar-frame-update-req-body.d.ts +3 -3
- package/build/api/models/neynar-frame-update-req-body.js +1 -1
- package/build/api/models/neynar-frame.d.ts +5 -5
- package/build/api/models/neynar-frame.js +1 -1
- package/build/api/models/neynar-next-frame-page-mint-url.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page-mint-url.js +1 -1
- package/build/api/models/neynar-next-frame-page-redirect.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page-redirect.js +1 -1
- package/build/api/models/neynar-next-frame-page.d.ts +1 -1
- package/build/api/models/neynar-next-frame-page.js +1 -1
- package/build/api/models/neynar-page-button-next-page.d.ts +1 -1
- package/build/api/models/neynar-page-button-next-page.js +1 -1
- package/build/api/models/neynar-page-button.d.ts +1 -1
- package/build/api/models/neynar-page-button.js +1 -1
- package/build/api/models/neynar-page-image.d.ts +1 -1
- package/build/api/models/neynar-page-image.js +1 -1
- package/build/api/models/neynar-page-input-text.d.ts +1 -1
- package/build/api/models/neynar-page-input-text.js +1 -1
- package/build/api/models/neynar-page-input.d.ts +1 -1
- package/build/api/models/neynar-page-input.js +1 -1
- package/build/api/models/nonce-response.d.ts +1 -1
- package/build/api/models/nonce-response.js +1 -1
- package/build/api/models/notification-delivery.d.ts +1 -1
- package/build/api/models/notification-delivery.js +1 -1
- package/build/api/models/notification-type.d.ts +1 -1
- package/build/api/models/notification-type.js +1 -1
- package/build/api/models/notification.d.ts +1 -1
- package/build/api/models/notification.js +1 -1
- package/build/api/models/notifications-response.d.ts +1 -1
- package/build/api/models/notifications-response.js +1 -1
- package/build/api/models/oembed-data.d.ts +1 -1
- package/build/api/models/oembed-data.js +1 -1
- package/build/api/models/oembed-link-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-link-data-all-of.js +1 -1
- package/build/api/models/oembed-link-data.d.ts +1 -1
- package/build/api/models/oembed-link-data.js +1 -1
- package/build/api/models/oembed-photo-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-photo-data-all-of.js +1 -1
- package/build/api/models/oembed-photo-data.d.ts +1 -1
- package/build/api/models/oembed-photo-data.js +1 -1
- package/build/api/models/oembed-rich-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-rich-data-all-of.js +1 -1
- package/build/api/models/oembed-rich-data.d.ts +1 -1
- package/build/api/models/oembed-rich-data.js +1 -1
- package/build/api/models/oembed-video-data-all-of.d.ts +1 -1
- package/build/api/models/oembed-video-data-all-of.js +1 -1
- package/build/api/models/oembed-video-data.d.ts +1 -1
- package/build/api/models/oembed-video-data.js +1 -1
- package/build/api/models/og-object.d.ts +1 -1
- package/build/api/models/og-object.js +1 -1
- package/build/api/models/operation-response.d.ts +1 -1
- package/build/api/models/operation-response.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-cast-id-properties.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-one-of.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-one-of.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-one-of1.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-one-of1.js +1 -1
- package/build/api/models/post-cast-req-body-embeds-one-of2.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds-one-of2.js +1 -1
- package/build/api/models/post-cast-req-body-embeds.d.ts +1 -1
- package/build/api/models/post-cast-req-body-embeds.js +1 -1
- package/build/api/models/post-cast-req-body.d.ts +1 -1
- package/build/api/models/post-cast-req-body.js +1 -1
- package/build/api/models/post-cast-response-cast.d.ts +1 -1
- package/build/api/models/post-cast-response-cast.js +1 -1
- package/build/api/models/post-cast-response.d.ts +1 -1
- package/build/api/models/post-cast-response.js +1 -1
- package/build/api/models/profile-url-pfp.d.ts +1 -1
- package/build/api/models/profile-url-pfp.js +1 -1
- package/build/api/models/profile-url.d.ts +1 -1
- package/build/api/models/profile-url.js +1 -1
- package/build/api/models/reaction-for-cast.d.ts +1 -1
- package/build/api/models/reaction-for-cast.js +1 -1
- package/build/api/models/reaction-like.d.ts +1 -1
- package/build/api/models/reaction-like.js +1 -1
- package/build/api/models/reaction-recast.d.ts +1 -1
- package/build/api/models/reaction-recast.js +1 -1
- package/build/api/models/reaction-req-body.d.ts +1 -1
- package/build/api/models/reaction-req-body.js +1 -1
- package/build/api/models/reaction-type.d.ts +1 -1
- package/build/api/models/reaction-type.js +1 -1
- package/build/api/models/reaction-with-cast-info.d.ts +1 -1
- package/build/api/models/reaction-with-cast-info.js +1 -1
- package/build/api/models/reaction-with-user-info.d.ts +1 -1
- package/build/api/models/reaction-with-user-info.js +1 -1
- package/build/api/models/reactions-cast-response.d.ts +1 -1
- package/build/api/models/reactions-cast-response.js +1 -1
- package/build/api/models/reactions-response.d.ts +1 -1
- package/build/api/models/reactions-response.js +1 -1
- package/build/api/models/reactions-type.d.ts +1 -1
- package/build/api/models/reactions-type.js +1 -1
- package/build/api/models/register-developer-managed-signed-key-req-body.d.ts +1 -1
- package/build/api/models/register-developer-managed-signed-key-req-body.js +1 -1
- package/build/api/models/register-signer-key-req-body.d.ts +1 -1
- package/build/api/models/register-signer-key-req-body.js +1 -1
- package/build/api/models/register-user-req-body-metadata.d.ts +1 -1
- package/build/api/models/register-user-req-body-metadata.js +1 -1
- package/build/api/models/register-user-req-body.d.ts +1 -1
- package/build/api/models/register-user-req-body.js +1 -1
- package/build/api/models/register-user-response.d.ts +1 -1
- package/build/api/models/register-user-response.js +1 -1
- package/build/api/models/relevant-followers-response.d.ts +1 -1
- package/build/api/models/relevant-followers-response.js +1 -1
- package/build/api/models/relevant-fungible-owners-response.d.ts +1 -1
- package/build/api/models/relevant-fungible-owners-response.js +1 -1
- package/build/api/models/remove-channel-member-req-body.d.ts +1 -1
- package/build/api/models/remove-channel-member-req-body.js +1 -1
- package/build/api/models/remove-verification-req-body.d.ts +1 -1
- package/build/api/models/remove-verification-req-body.js +1 -1
- package/build/api/models/respond-channel-invite-req-body.d.ts +1 -1
- package/build/api/models/respond-channel-invite-req-body.js +1 -1
- package/build/api/models/search-sort-type.d.ts +1 -1
- package/build/api/models/search-sort-type.js +1 -1
- package/build/api/models/searched-user.d.ts +7 -1
- package/build/api/models/searched-user.js +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body-notification.js +1 -1
- package/build/api/models/send-frame-notifications-req-body.d.ts +1 -1
- package/build/api/models/send-frame-notifications-req-body.js +1 -1
- package/build/api/models/send-frame-notifications-response.d.ts +1 -1
- package/build/api/models/send-frame-notifications-response.js +1 -1
- package/build/api/models/shared-signer-permission.d.ts +1 -1
- package/build/api/models/shared-signer-permission.js +1 -1
- package/build/api/models/signed-key-request-sponsor.d.ts +1 -1
- package/build/api/models/signed-key-request-sponsor.js +1 -1
- package/build/api/models/signer-list-response.d.ts +1 -1
- package/build/api/models/signer-list-response.js +1 -1
- package/build/api/models/signer.d.ts +1 -1
- package/build/api/models/signer.js +1 -1
- package/build/api/models/storage-allocation.d.ts +1 -1
- package/build/api/models/storage-allocation.js +1 -1
- package/build/api/models/storage-allocations-response.d.ts +1 -1
- package/build/api/models/storage-allocations-response.js +1 -1
- package/build/api/models/storage-object.d.ts +1 -1
- package/build/api/models/storage-object.js +1 -1
- package/build/api/models/storage-usage-response.d.ts +1 -1
- package/build/api/models/storage-usage-response.js +1 -1
- package/build/api/models/subscribed-to-all-of.d.ts +1 -1
- package/build/api/models/subscribed-to-all-of.js +1 -1
- package/build/api/models/subscribed-to-object.d.ts +1 -1
- package/build/api/models/subscribed-to-object.js +1 -1
- package/build/api/models/subscribed-to-response.d.ts +1 -1
- package/build/api/models/subscribed-to-response.js +1 -1
- package/build/api/models/subscribed-to.d.ts +1 -1
- package/build/api/models/subscribed-to.js +1 -1
- package/build/api/models/subscriber.d.ts +1 -1
- package/build/api/models/subscriber.js +1 -1
- package/build/api/models/subscribers-response.d.ts +1 -1
- package/build/api/models/subscribers-response.js +1 -1
- package/build/api/models/subscription-check-response.d.ts +1 -1
- package/build/api/models/subscription-check-response.js +1 -1
- package/build/api/models/subscription-metadata.d.ts +1 -1
- package/build/api/models/subscription-metadata.js +1 -1
- package/build/api/models/subscription-price.d.ts +1 -1
- package/build/api/models/subscription-price.js +1 -1
- package/build/api/models/subscription-provider.d.ts +1 -1
- package/build/api/models/subscription-provider.js +1 -1
- package/build/api/models/subscription-providers.d.ts +1 -1
- package/build/api/models/subscription-providers.js +1 -1
- package/build/api/models/subscription-status.d.ts +1 -1
- package/build/api/models/subscription-status.js +1 -1
- package/build/api/models/subscription-tier-price.d.ts +1 -1
- package/build/api/models/subscription-tier-price.js +1 -1
- package/build/api/models/subscription-tier.d.ts +1 -1
- package/build/api/models/subscription-tier.js +1 -1
- package/build/api/models/subscription-token.d.ts +1 -1
- package/build/api/models/subscription-token.js +1 -1
- package/build/api/models/subscription.d.ts +1 -1
- package/build/api/models/subscription.js +1 -1
- package/build/api/models/subscriptions-response.d.ts +1 -1
- package/build/api/models/subscriptions-response.js +1 -1
- package/build/api/models/subscriptions.d.ts +1 -1
- package/build/api/models/subscriptions.js +1 -1
- package/build/api/models/text-range.d.ts +1 -1
- package/build/api/models/text-range.js +1 -1
- package/build/api/models/token-balance-balance.d.ts +1 -1
- package/build/api/models/token-balance-balance.js +1 -1
- package/build/api/models/token-balance-token.d.ts +1 -1
- package/build/api/models/token-balance-token.js +1 -1
- package/build/api/models/token-balance.d.ts +1 -1
- package/build/api/models/token-balance.js +1 -1
- package/build/api/models/transaction-frame-action.d.ts +1 -1
- package/build/api/models/transaction-frame-action.js +1 -1
- package/build/api/models/transaction-frame-base.d.ts +3 -3
- package/build/api/models/transaction-frame-base.js +1 -1
- package/build/api/models/transaction-frame-config.d.ts +3 -3
- package/build/api/models/transaction-frame-config.js +1 -1
- package/build/api/models/transaction-frame-destination.d.ts +1 -1
- package/build/api/models/transaction-frame-destination.js +1 -1
- package/build/api/models/transaction-frame-line-item.d.ts +1 -1
- package/build/api/models/transaction-frame-line-item.js +1 -1
- package/build/api/models/transaction-frame-pay-all-of-transaction.d.ts +1 -1
- package/build/api/models/transaction-frame-pay-all-of-transaction.js +1 -1
- package/build/api/models/transaction-frame-pay-all-of.d.ts +1 -1
- package/build/api/models/transaction-frame-pay-all-of.js +1 -1
- package/build/api/models/transaction-frame-pay.d.ts +1 -1
- package/build/api/models/transaction-frame-pay.js +1 -1
- package/build/api/models/transaction-frame-response.d.ts +1 -1
- package/build/api/models/transaction-frame-response.js +1 -1
- package/build/api/models/transaction-frame-status.d.ts +1 -1
- package/build/api/models/transaction-frame-status.js +1 -1
- package/build/api/models/transaction-frame-type.d.ts +2 -2
- package/build/api/models/transaction-frame-type.js +2 -2
- package/build/api/models/transaction-frame.d.ts +1 -1
- package/build/api/models/transaction-frame.js +1 -1
- package/build/api/models/trending-channel-response.d.ts +1 -1
- package/build/api/models/trending-channel-response.js +1 -1
- package/build/api/models/trending-time-window.d.ts +1 -1
- package/build/api/models/trending-time-window.js +1 -1
- package/build/api/models/update-user-req-body-location.d.ts +1 -1
- package/build/api/models/update-user-req-body-location.js +1 -1
- package/build/api/models/update-user-req-body-verified-accounts.d.ts +1 -1
- package/build/api/models/update-user-req-body-verified-accounts.js +1 -1
- package/build/api/models/update-user-req-body.d.ts +1 -1
- package/build/api/models/update-user-req-body.js +1 -1
- package/build/api/models/user-dehydrated.d.ts +1 -1
- package/build/api/models/user-dehydrated.js +1 -1
- package/build/api/models/user-experimental.d.ts +1 -1
- package/build/api/models/user-experimental.js +1 -1
- package/build/api/models/user-fidresponse.d.ts +1 -1
- package/build/api/models/user-fidresponse.js +1 -1
- package/build/api/models/user-power-lite-response-result.d.ts +1 -1
- package/build/api/models/user-power-lite-response-result.js +1 -1
- package/build/api/models/user-power-lite-response.d.ts +1 -1
- package/build/api/models/user-power-lite-response.js +1 -1
- package/build/api/models/user-profile-bio.d.ts +1 -1
- package/build/api/models/user-profile-bio.js +1 -1
- package/build/api/models/user-profile.d.ts +1 -1
- package/build/api/models/user-profile.js +1 -1
- package/build/api/models/user-response.d.ts +1 -1
- package/build/api/models/user-response.js +1 -1
- package/build/api/models/user-search-response-result.d.ts +1 -1
- package/build/api/models/user-search-response-result.js +1 -1
- package/build/api/models/user-search-response.d.ts +1 -1
- package/build/api/models/user-search-response.js +1 -1
- package/build/api/models/user-verified-accounts-inner.d.ts +1 -1
- package/build/api/models/user-verified-accounts-inner.js +1 -1
- package/build/api/models/user-verified-addresses-primary.d.ts +1 -1
- package/build/api/models/user-verified-addresses-primary.js +1 -1
- package/build/api/models/user-verified-addresses.d.ts +1 -1
- package/build/api/models/user-verified-addresses.js +1 -1
- package/build/api/models/user-viewer-context.d.ts +1 -1
- package/build/api/models/user-viewer-context.js +1 -1
- package/build/api/models/user.d.ts +7 -1
- package/build/api/models/user.js +1 -1
- package/build/api/models/users-active-channels-response.d.ts +1 -1
- package/build/api/models/users-active-channels-response.js +1 -1
- package/build/api/models/users-response.d.ts +1 -1
- package/build/api/models/users-response.js +1 -1
- package/build/api/models/validate-frame-action-req-body.d.ts +2 -2
- package/build/api/models/validate-frame-action-req-body.js +1 -1
- package/build/api/models/validate-frame-action-response.d.ts +1 -1
- package/build/api/models/validate-frame-action-response.js +1 -1
- package/build/api/models/validate-frame-aggregate-window.d.ts +1 -1
- package/build/api/models/validate-frame-aggregate-window.js +1 -1
- package/build/api/models/validate-frame-analytics-type.d.ts +1 -1
- package/build/api/models/validate-frame-analytics-type.js +1 -1
- package/build/api/models/validated-frame-action-signer.d.ts +1 -1
- package/build/api/models/validated-frame-action-signer.js +1 -1
- package/build/api/models/validated-frame-action-tapped-button.d.ts +1 -1
- package/build/api/models/validated-frame-action-tapped-button.js +1 -1
- package/build/api/models/validated-frame-action.d.ts +1 -1
- package/build/api/models/validated-frame-action.js +1 -1
- package/build/api/models/verification-chain-id.d.ts +1 -1
- package/build/api/models/verification-chain-id.js +1 -1
- package/build/api/models/verification-type.d.ts +1 -1
- package/build/api/models/verification-type.js +1 -1
- package/build/api/models/video-object.d.ts +1 -1
- package/build/api/models/video-object.js +1 -1
- package/build/api/models/webhook-delete-req-body.d.ts +1 -1
- package/build/api/models/webhook-delete-req-body.js +1 -1
- package/build/api/models/webhook-list-response.d.ts +1 -1
- package/build/api/models/webhook-list-response.js +1 -1
- package/build/api/models/webhook-patch-req-body.d.ts +1 -1
- package/build/api/models/webhook-patch-req-body.js +1 -1
- package/build/api/models/webhook-post-req-body.d.ts +1 -1
- package/build/api/models/webhook-post-req-body.js +1 -1
- package/build/api/models/webhook-put-req-body.d.ts +1 -1
- package/build/api/models/webhook-put-req-body.js +1 -1
- package/build/api/models/webhook-response.d.ts +1 -1
- package/build/api/models/webhook-response.js +1 -1
- package/build/api/models/webhook-secret.d.ts +1 -1
- package/build/api/models/webhook-secret.js +1 -1
- package/build/api/models/webhook-subscription-filters-cast.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-cast.js +1 -1
- package/build/api/models/webhook-subscription-filters-follow.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-follow.js +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-reaction.js +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters-user-updated.js +1 -1
- package/build/api/models/webhook-subscription-filters.d.ts +1 -1
- package/build/api/models/webhook-subscription-filters.js +1 -1
- package/build/api/models/webhook-subscription.d.ts +1 -1
- package/build/api/models/webhook-subscription.js +1 -1
- package/build/api/models/webhook.d.ts +1 -1
- package/build/api/models/webhook.js +1 -1
- package/build/api/models/zod-error-errors-inner.d.ts +1 -1
- package/build/api/models/zod-error-errors-inner.js +1 -1
- package/build/api/models/zod-error.d.ts +1 -1
- package/build/api/models/zod-error.js +1 -1
- package/build/clients/NeynarAPIClient.d.ts +65 -65
- package/build/clients/NeynarAPIClient.js +66 -66
- package/package.json +1 -1
- package/build/api/models/fetch-relevant-frames200-response.d.ts +0 -25
|
@@ -2,7 +2,7 @@ import { Logger } from "../common/logger";
|
|
|
2
2
|
import { AxiosError, AxiosInstance } from "axios";
|
|
3
3
|
import type { SetRequired } from "type-fest";
|
|
4
4
|
import { Configuration } from './configuration';
|
|
5
|
-
import type { AuthorizationUrlResponse, AuthorizationUrlResponseType, BalanceResponse, BanListResponse, BanResponse, BlockListResponse, BulkCastsResponse, BulkFollowResponse, BulkUserAddressType, BulkUsersByAddressResponse, BulkUsersResponse, CastComposerActionsListResponse, CastComposerType, CastConversationSortType, CastEmbedCrawlResponse, CastParamType, CastResponse, CastsMetricsResponse, CastsResponse, CastsSearchResponse, ChannelListResponse, ChannelMemberInviteListResponse, ChannelMemberListResponse, ChannelMemberRole, ChannelResponse, ChannelResponseBulk, ChannelSearchResponse, ChannelType, Conversation, ConversationSummary, DeleteFrameResponse, DeployFungibleFactoryEnum, DeployFungibleMetadataNsfwEnum, DeployFungibleNetworkEnum, DeployFungibleReqBodyMetadataMedia, DeployFungibleResponse, DeveloperManagedSigner, EmbedType, ErrorRes, FarcasterActionReqBodyAction, FeedResponse, FeedTrendingProvider, FeedType, FetchBulkCastsSortTypeEnum, FetchCastMetricsIntervalEnum, FetchFrameMetaTagsFromUrl200Response,
|
|
5
|
+
import type { AuthorizationUrlResponse, AuthorizationUrlResponseType, BalanceResponse, BanListResponse, BanResponse, BlockListResponse, BulkCastsResponse, BulkFollowResponse, BulkUserAddressType, BulkUsersByAddressResponse, BulkUsersResponse, CastComposerActionsListResponse, CastComposerType, CastConversationSortType, CastEmbedCrawlResponse, CastParamType, CastResponse, CastsMetricsResponse, CastsResponse, CastsSearchResponse, ChannelListResponse, ChannelMemberInviteListResponse, ChannelMemberListResponse, ChannelMemberRole, ChannelResponse, ChannelResponseBulk, ChannelSearchResponse, ChannelType, Conversation, ConversationSummary, DeleteFrameResponse, DeployFungibleFactoryEnum, DeployFungibleMetadataNsfwEnum, DeployFungibleNetworkEnum, DeployFungibleReqBodyMetadataMedia, DeployFungibleResponse, DeveloperManagedSigner, EmbedType, ErrorRes, FarcasterActionReqBodyAction, FeedResponse, FeedTrendingProvider, FeedType, FetchBulkCastsSortTypeEnum, FetchCastMetricsIntervalEnum, FetchFrameMetaTagsFromUrl200Response, FetchFrameRelevant200Response, FetchRepliesAndRecastsForUserFilterEnum, FetchTrendingChannelsTimeWindowEnum, FetchUserInteractions200Response, FilterType, FnameAvailabilityResponse, FollowSortType, FollowersResponse, ForYouProvider, Frame, FrameAction, FrameCatalogResponse, FrameNotificationTokens, FramePayTransactionRequestBody, FrameSignaturePacket, FrameType, FrameValidateAnalyticsResponse, FrameValidateListResponse, LookupCastConversationFoldEnum, MuteListResponse, MuteResponse, Networks, NeynarFrame, NeynarFramePage, NonceResponse, NotificationType, NotificationsResponse, OperationResponse, PostCastReqBodyEmbeds, PostCastResponse, ReactionType, ReactionsCastResponse, ReactionsResponse, ReactionsType, RegisterUserReqBodyMetadata, RegisterUserResponse, RelevantFollowersResponse, RelevantFungibleOwnersResponse, SearchCastsModeEnum, SearchSortType, SendFrameNotificationsReqBodyNotification, SendFrameNotificationsResponse, SignedKeyRequestSponsor, Signer, SignerListResponse, StorageAllocationsResponse, StorageUsageResponse, SubscribedToResponse, SubscribersResponse, SubscriptionCheckResponse, SubscriptionProvider, SubscriptionProviders, SubscriptionsResponse, TransactionFrameResponse, TrendingChannelResponse, TrendingTimeWindow, UpdateUserReqBodyLocation, UpdateUserReqBodyVerifiedAccounts, UserFIDResponse, UserPowerLiteResponse, UserResponse, UserSearchResponse, UsersActiveChannelsResponse, UsersResponse, ValidateFrameActionResponse, ValidateFrameAggregateWindow, ValidateFrameAnalyticsType, VerificationChainId, VerificationType, WebhookListResponse, WebhookPatchReqBodyActiveEnum, WebhookResponse, WebhookSubscriptionFilters } from '../api';
|
|
6
6
|
export interface NeynarAPIClientOptions {
|
|
7
7
|
logger?: Logger;
|
|
8
8
|
axiosInstance?: AxiosInstance;
|
|
@@ -47,9 +47,9 @@ export declare class NeynarAPIClient {
|
|
|
47
47
|
[key: string]: any;
|
|
48
48
|
}>;
|
|
49
49
|
/**
|
|
50
|
-
* Creates a new transaction pay
|
|
50
|
+
* Creates a new transaction pay mini app that can be used to collect payments through a mini app
|
|
51
51
|
*
|
|
52
|
-
* @summary Create transaction pay
|
|
52
|
+
* @summary Create transaction pay mini app
|
|
53
53
|
*
|
|
54
54
|
* @param {object} params
|
|
55
55
|
* @param {FramePayTransactionRequestBody} params.framePayTransactionRequestBody
|
|
@@ -1333,9 +1333,9 @@ export declare class NeynarAPIClient {
|
|
|
1333
1333
|
providerMetadata?: string;
|
|
1334
1334
|
}): Promise<FeedResponse>;
|
|
1335
1335
|
/**
|
|
1336
|
-
* Fetch feed of casts with
|
|
1336
|
+
* Fetch feed of casts with mini apps, reverse chronological order
|
|
1337
1337
|
*
|
|
1338
|
-
* @summary Casts with
|
|
1338
|
+
* @summary Casts with mini apps
|
|
1339
1339
|
*
|
|
1340
1340
|
* @param {object} params
|
|
1341
1341
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
|
|
@@ -1664,9 +1664,9 @@ export declare class NeynarAPIClient {
|
|
|
1664
1664
|
cursor?: string;
|
|
1665
1665
|
}): Promise<FollowersResponse>;
|
|
1666
1666
|
/**
|
|
1667
|
-
* Delete an existing
|
|
1667
|
+
* Delete an existing mini app, if it was made by the developer (identified by API key)
|
|
1668
1668
|
*
|
|
1669
|
-
* @summary Delete
|
|
1669
|
+
* @summary Delete mini app
|
|
1670
1670
|
*
|
|
1671
1671
|
* @param {object} params
|
|
1672
1672
|
* @param {string} params.uuid [optional]
|
|
@@ -1689,14 +1689,14 @@ export declare class NeynarAPIClient {
|
|
|
1689
1689
|
uuid?: string;
|
|
1690
1690
|
}): Promise<DeleteFrameResponse>;
|
|
1691
1691
|
/**
|
|
1692
|
-
* A curated list of featured
|
|
1692
|
+
* A curated list of featured mini apps
|
|
1693
1693
|
*
|
|
1694
|
-
* @summary
|
|
1694
|
+
* @summary Mini apps catalog
|
|
1695
1695
|
*
|
|
1696
1696
|
* @param {object} params
|
|
1697
1697
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 100, Maximum: 100)
|
|
1698
1698
|
* @param {string} params.cursor [optional] - Pagination cursor
|
|
1699
|
-
* @param {TrendingTimeWindow} params.timeWindow [optional] - Time window used to calculate the change in trending score for each
|
|
1699
|
+
* @param {TrendingTimeWindow} params.timeWindow [optional] - Time window used to calculate the change in trending score for each mini app, used to sort mini app results
|
|
1700
1700
|
*
|
|
1701
1701
|
* @returns {Promise<FrameCatalogResponse>} A promise that resolves to a `FrameCatalogResponse` object.
|
|
1702
1702
|
*
|
|
@@ -1716,12 +1716,12 @@ export declare class NeynarAPIClient {
|
|
|
1716
1716
|
timeWindow?: TrendingTimeWindow;
|
|
1717
1717
|
}): Promise<FrameCatalogResponse>;
|
|
1718
1718
|
/**
|
|
1719
|
-
* Fetches the
|
|
1719
|
+
* Fetches the mini app meta tags from the URL
|
|
1720
1720
|
*
|
|
1721
1721
|
* @summary Meta tags from URL
|
|
1722
1722
|
*
|
|
1723
1723
|
* @param {object} params
|
|
1724
|
-
* @param {string} params.url - The
|
|
1724
|
+
* @param {string} params.url - The mini app URL to crawl
|
|
1725
1725
|
*
|
|
1726
1726
|
* @returns {Promise<FetchFrameMetaTagsFromUrl200Response>} A promise that resolves to a `FetchFrameMetaTagsFromUrl200Response` object.
|
|
1727
1727
|
*
|
|
@@ -1741,9 +1741,34 @@ export declare class NeynarAPIClient {
|
|
|
1741
1741
|
url: string;
|
|
1742
1742
|
}): Promise<FetchFrameMetaTagsFromUrl200Response>;
|
|
1743
1743
|
/**
|
|
1744
|
-
* Fetch a list of
|
|
1744
|
+
* Fetch a list of mini apps relevant to the user based on casts by users with strong affinity score for the user
|
|
1745
1745
|
*
|
|
1746
|
-
* @summary
|
|
1746
|
+
* @summary Relevant mini apps
|
|
1747
|
+
*
|
|
1748
|
+
* @param {object} params
|
|
1749
|
+
* @param {number} params.viewerFid - FID of the user to fetch relevant mini apps for
|
|
1750
|
+
* @param {TrendingTimeWindow} params.timeWindow [optional] - Time window used to limit statistics used to calculate mini app relevance
|
|
1751
|
+
*
|
|
1752
|
+
* @returns {Promise<FetchFrameRelevant200Response>} A promise that resolves to a `FetchFrameRelevant200Response` object.
|
|
1753
|
+
*
|
|
1754
|
+
* @example
|
|
1755
|
+
*
|
|
1756
|
+
* // Fill in the appropriate values
|
|
1757
|
+
* const viewerFid =
|
|
1758
|
+
* const timeWindow =
|
|
1759
|
+
*
|
|
1760
|
+
* client.fetchFrameRelevant({ viewerFid, timeWindow }).then(response => {
|
|
1761
|
+
* console.log('response:', response);
|
|
1762
|
+
* });
|
|
1763
|
+
*/
|
|
1764
|
+
fetchFrameRelevant(params: {
|
|
1765
|
+
viewerFid: number;
|
|
1766
|
+
timeWindow?: TrendingTimeWindow;
|
|
1767
|
+
}): Promise<FetchFrameRelevant200Response>;
|
|
1768
|
+
/**
|
|
1769
|
+
* Fetch a list of mini apps made by the developer (identified by API key)
|
|
1770
|
+
*
|
|
1771
|
+
* @summary List of mini apps
|
|
1747
1772
|
*
|
|
1748
1773
|
*
|
|
1749
1774
|
* @returns {Promise<Array<NeynarFrame>>} A promise that resolves to a `Array<NeynarFrame>` object.
|
|
@@ -1759,9 +1784,9 @@ export declare class NeynarAPIClient {
|
|
|
1759
1784
|
*/
|
|
1760
1785
|
fetchNeynarFrames(): Promise<Array<NeynarFrame>>;
|
|
1761
1786
|
/**
|
|
1762
|
-
* Returns a list of notifications tokens related
|
|
1787
|
+
* Returns a list of notifications tokens related to a mini app
|
|
1763
1788
|
*
|
|
1764
|
-
* @summary List of
|
|
1789
|
+
* @summary List of mini app notification tokens
|
|
1765
1790
|
*
|
|
1766
1791
|
* @param {object} params
|
|
1767
1792
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 20, Maximum: 100)
|
|
@@ -1788,35 +1813,10 @@ export declare class NeynarAPIClient {
|
|
|
1788
1813
|
fids?: number[];
|
|
1789
1814
|
cursor?: string;
|
|
1790
1815
|
}): Promise<FrameNotificationTokens>;
|
|
1791
|
-
/**
|
|
1792
|
-
* Fetch a list of frames relevant to the user based on casts by users with strong affinity score for the user
|
|
1793
|
-
*
|
|
1794
|
-
* @summary Relevant frames
|
|
1795
|
-
*
|
|
1796
|
-
* @param {object} params
|
|
1797
|
-
* @param {number} params.viewerFid - FID of the user to fetch relevant frames for
|
|
1798
|
-
* @param {TrendingTimeWindow} params.timeWindow [optional] - Time window used to limit statistics used to calculate frame relevance
|
|
1799
|
-
*
|
|
1800
|
-
* @returns {Promise<FetchRelevantFrames200Response>} A promise that resolves to a `FetchRelevantFrames200Response` object.
|
|
1801
|
-
*
|
|
1802
|
-
* @example
|
|
1803
|
-
*
|
|
1804
|
-
* // Fill in the appropriate values
|
|
1805
|
-
* const viewerFid =
|
|
1806
|
-
* const timeWindow =
|
|
1807
|
-
*
|
|
1808
|
-
* client.fetchRelevantFrames({ viewerFid, timeWindow }).then(response => {
|
|
1809
|
-
* console.log('response:', response);
|
|
1810
|
-
* });
|
|
1811
|
-
*/
|
|
1812
|
-
fetchRelevantFrames(params: {
|
|
1813
|
-
viewerFid: number;
|
|
1814
|
-
timeWindow?: TrendingTimeWindow;
|
|
1815
|
-
}): Promise<FetchRelevantFrames200Response>;
|
|
1816
1816
|
/**
|
|
1817
1817
|
* Fetch analytics for total-interactors, interactors, nteractions-per-cast and input-text.
|
|
1818
1818
|
*
|
|
1819
|
-
* @summary Analytics for the
|
|
1819
|
+
* @summary Analytics for the mini app
|
|
1820
1820
|
*
|
|
1821
1821
|
* @param {object} params
|
|
1822
1822
|
* @param {string} params.frameUrl
|
|
@@ -1851,9 +1851,9 @@ export declare class NeynarAPIClient {
|
|
|
1851
1851
|
aggregateWindow?: ValidateFrameAggregateWindow;
|
|
1852
1852
|
}): Promise<FrameValidateAnalyticsResponse>;
|
|
1853
1853
|
/**
|
|
1854
|
-
* Fetch a list of all the
|
|
1854
|
+
* Fetch a list of all the mini apps validated by a user
|
|
1855
1855
|
*
|
|
1856
|
-
* @summary All
|
|
1856
|
+
* @summary All mini apps validated by user
|
|
1857
1857
|
*
|
|
1858
1858
|
*
|
|
1859
1859
|
* @returns {Promise<FrameValidateListResponse>} A promise that resolves to a `FrameValidateListResponse` object.
|
|
@@ -1869,12 +1869,12 @@ export declare class NeynarAPIClient {
|
|
|
1869
1869
|
*/
|
|
1870
1870
|
fetchValidateFrameList(): Promise<FrameValidateListResponse>;
|
|
1871
1871
|
/**
|
|
1872
|
-
* Retrieves details about a transaction pay
|
|
1872
|
+
* Retrieves details about a transaction pay mini app by ID
|
|
1873
1873
|
*
|
|
1874
|
-
* @summary Get transaction pay
|
|
1874
|
+
* @summary Get transaction pay mini app
|
|
1875
1875
|
*
|
|
1876
1876
|
* @param {object} params
|
|
1877
|
-
* @param {string} params.id - ID of the transaction
|
|
1877
|
+
* @param {string} params.id - ID of the transaction mini app to retrieve
|
|
1878
1878
|
*
|
|
1879
1879
|
* @returns {Promise<TransactionFrameResponse>} A promise that resolves to a `TransactionFrameResponse` object.
|
|
1880
1880
|
*
|
|
@@ -1891,14 +1891,14 @@ export declare class NeynarAPIClient {
|
|
|
1891
1891
|
id: string;
|
|
1892
1892
|
}): Promise<TransactionFrameResponse>;
|
|
1893
1893
|
/**
|
|
1894
|
-
* Fetch a
|
|
1894
|
+
* Fetch a mini app either by UUID or Neynar URL
|
|
1895
1895
|
*
|
|
1896
|
-
* @summary
|
|
1896
|
+
* @summary Mini app by UUID or URL
|
|
1897
1897
|
*
|
|
1898
1898
|
* @param {object} params
|
|
1899
1899
|
* @param {FrameType} params.type
|
|
1900
|
-
* @param {string} params.uuid [optional] - UUID of the
|
|
1901
|
-
* @param {string} params.url [optional] - URL of the Neynar
|
|
1900
|
+
* @param {string} params.uuid [optional] - UUID of the mini app to fetch
|
|
1901
|
+
* @param {string} params.url [optional] - URL of the Neynar mini app to fetch
|
|
1902
1902
|
*
|
|
1903
1903
|
* @returns {Promise<NeynarFrame>} A promise that resolves to a `NeynarFrame` object.
|
|
1904
1904
|
*
|
|
@@ -1922,9 +1922,9 @@ export declare class NeynarAPIClient {
|
|
|
1922
1922
|
url?: string;
|
|
1923
1923
|
}): Promise<NeynarFrame>;
|
|
1924
1924
|
/**
|
|
1925
|
-
* Post
|
|
1925
|
+
* Post mini app actions, cast actions or cast composer actions to the server \\ (In order to post any of these actions, you need to have an approved `signer_uuid`) The POST request to the post_url has a timeout of 5 seconds for mini apps.
|
|
1926
1926
|
*
|
|
1927
|
-
* @summary Post a
|
|
1927
|
+
* @summary Post a mini app action, cast action or a cast composer action
|
|
1928
1928
|
*
|
|
1929
1929
|
* @param {object} params
|
|
1930
1930
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
@@ -1953,7 +1953,7 @@ export declare class NeynarAPIClient {
|
|
|
1953
1953
|
action: FrameAction;
|
|
1954
1954
|
}): Promise<Frame>;
|
|
1955
1955
|
/**
|
|
1956
|
-
* Post a
|
|
1956
|
+
* Post a mini app action that has been signed with a developer managed signer The POST request to the post_url has a timeout of 5 seconds.
|
|
1957
1957
|
*
|
|
1958
1958
|
* @summary Signature packet
|
|
1959
1959
|
*
|
|
@@ -1984,7 +1984,7 @@ export declare class NeynarAPIClient {
|
|
|
1984
1984
|
signaturePacket: FrameSignaturePacket;
|
|
1985
1985
|
}): Promise<Frame>;
|
|
1986
1986
|
/**
|
|
1987
|
-
* Send notifications to interactors of a
|
|
1987
|
+
* Send notifications to interactors of a mini app
|
|
1988
1988
|
*
|
|
1989
1989
|
* @summary Send notifications
|
|
1990
1990
|
*
|
|
@@ -2012,12 +2012,12 @@ export declare class NeynarAPIClient {
|
|
|
2012
2012
|
notification: SendFrameNotificationsReqBodyNotification;
|
|
2013
2013
|
}): Promise<SendFrameNotificationsResponse>;
|
|
2014
2014
|
/**
|
|
2015
|
-
* Create a new
|
|
2015
|
+
* Create a new mini app with a list of pages.
|
|
2016
2016
|
*
|
|
2017
|
-
* @summary Create
|
|
2017
|
+
* @summary Create mini app
|
|
2018
2018
|
*
|
|
2019
2019
|
* @param {object} params
|
|
2020
|
-
* @param {string} params.name - The name of the
|
|
2020
|
+
* @param {string} params.name - The name of the mini app.
|
|
2021
2021
|
* @param {Array<NeynarFramePage>} params.pages
|
|
2022
2022
|
*
|
|
2023
2023
|
* @returns {Promise<NeynarFrame>} A promise that resolves to a `NeynarFrame` object.
|
|
@@ -2040,13 +2040,13 @@ export declare class NeynarAPIClient {
|
|
|
2040
2040
|
pages: Array<NeynarFramePage>;
|
|
2041
2041
|
}): Promise<NeynarFrame>;
|
|
2042
2042
|
/**
|
|
2043
|
-
* Update an existing
|
|
2043
|
+
* Update an existing mini app with a list of pages, if it was made by the developer (identified by API key)
|
|
2044
2044
|
*
|
|
2045
|
-
* @summary Update
|
|
2045
|
+
* @summary Update mini app
|
|
2046
2046
|
*
|
|
2047
2047
|
* @param {object} params
|
|
2048
|
-
* @param {string} params.uuid - The UUID of the
|
|
2049
|
-
* @param {string} params.name [optional] - The name of the
|
|
2048
|
+
* @param {string} params.uuid - The UUID of the mini app to update.
|
|
2049
|
+
* @param {string} params.name [optional] - The name of the mini app.
|
|
2050
2050
|
* @param {Array<NeynarFramePage>} params.pages
|
|
2051
2051
|
*
|
|
2052
2052
|
* @returns {Promise<NeynarFrame>} A promise that resolves to a `NeynarFrame` object.
|
|
@@ -2071,13 +2071,13 @@ export declare class NeynarAPIClient {
|
|
|
2071
2071
|
pages: Array<NeynarFramePage>;
|
|
2072
2072
|
}): Promise<NeynarFrame>;
|
|
2073
2073
|
/**
|
|
2074
|
-
* Validates a
|
|
2074
|
+
* Validates a mini app against by an interacting user against a Farcaster Hub \\ (In order to validate a mini app, message bytes from Frame Action must be provided in hex)
|
|
2075
2075
|
*
|
|
2076
|
-
* @summary Validate
|
|
2076
|
+
* @summary Validate mini app action
|
|
2077
2077
|
*
|
|
2078
2078
|
* @param {object} params
|
|
2079
2079
|
* @param {string} params.messageBytesInHex - Hexadecimal string of message bytes.
|
|
2080
|
-
* @param {boolean} params.castReactionContext [optional] - Adds viewer_context inside the cast object to indicate whether the interactor reacted to the cast housing the
|
|
2080
|
+
* @param {boolean} params.castReactionContext [optional] - Adds viewer_context inside the cast object to indicate whether the interactor reacted to the cast housing the mini app.
|
|
2081
2081
|
* @param {boolean} params.followContext [optional] - Adds viewer_context inside the user (interactor) object to indicate whether the interactor follows or is followed by the cast author.
|
|
2082
2082
|
* @param {boolean} params.signerContext [optional] - Adds context about the app used by the user inside `frame.action`.
|
|
2083
2083
|
* @param {boolean} params.channelFollowContext [optional] - Adds context about the channel that the cast belongs to inside of the cast object.
|
|
@@ -201,9 +201,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
201
201
|
return response.data;
|
|
202
202
|
}
|
|
203
203
|
/**
|
|
204
|
-
* Creates a new transaction pay
|
|
204
|
+
* Creates a new transaction pay mini app that can be used to collect payments through a mini app
|
|
205
205
|
*
|
|
206
|
-
* @summary Create transaction pay
|
|
206
|
+
* @summary Create transaction pay mini app
|
|
207
207
|
*
|
|
208
208
|
* @param {object} params
|
|
209
209
|
* @param {FramePayTransactionRequestBody} params.framePayTransactionRequestBody
|
|
@@ -1555,9 +1555,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1555
1555
|
return response.data;
|
|
1556
1556
|
}
|
|
1557
1557
|
/**
|
|
1558
|
-
* Fetch feed of casts with
|
|
1558
|
+
* Fetch feed of casts with mini apps, reverse chronological order
|
|
1559
1559
|
*
|
|
1560
|
-
* @summary Casts with
|
|
1560
|
+
* @summary Casts with mini apps
|
|
1561
1561
|
*
|
|
1562
1562
|
* @param {object} params
|
|
1563
1563
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 25, Maximum: 100)
|
|
@@ -1901,9 +1901,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1901
1901
|
return response.data;
|
|
1902
1902
|
}
|
|
1903
1903
|
/**
|
|
1904
|
-
* Delete an existing
|
|
1904
|
+
* Delete an existing mini app, if it was made by the developer (identified by API key)
|
|
1905
1905
|
*
|
|
1906
|
-
* @summary Delete
|
|
1906
|
+
* @summary Delete mini app
|
|
1907
1907
|
*
|
|
1908
1908
|
* @param {object} params
|
|
1909
1909
|
* @param {string} params.uuid [optional]
|
|
@@ -1930,14 +1930,14 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1930
1930
|
return response.data;
|
|
1931
1931
|
}
|
|
1932
1932
|
/**
|
|
1933
|
-
* A curated list of featured
|
|
1933
|
+
* A curated list of featured mini apps
|
|
1934
1934
|
*
|
|
1935
|
-
* @summary
|
|
1935
|
+
* @summary Mini apps catalog
|
|
1936
1936
|
*
|
|
1937
1937
|
* @param {object} params
|
|
1938
1938
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 100, Maximum: 100)
|
|
1939
1939
|
* @param {string} params.cursor [optional] - Pagination cursor
|
|
1940
|
-
* @param {TrendingTimeWindow} params.timeWindow [optional] - Time window used to calculate the change in trending score for each
|
|
1940
|
+
* @param {TrendingTimeWindow} params.timeWindow [optional] - Time window used to calculate the change in trending score for each mini app, used to sort mini app results
|
|
1941
1941
|
*
|
|
1942
1942
|
* @returns {Promise<FrameCatalogResponse>} A promise that resolves to a `FrameCatalogResponse` object.
|
|
1943
1943
|
*
|
|
@@ -1958,12 +1958,12 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1958
1958
|
return response.data;
|
|
1959
1959
|
}
|
|
1960
1960
|
/**
|
|
1961
|
-
* Fetches the
|
|
1961
|
+
* Fetches the mini app meta tags from the URL
|
|
1962
1962
|
*
|
|
1963
1963
|
* @summary Meta tags from URL
|
|
1964
1964
|
*
|
|
1965
1965
|
* @param {object} params
|
|
1966
|
-
* @param {string} params.url - The
|
|
1966
|
+
* @param {string} params.url - The mini app URL to crawl
|
|
1967
1967
|
*
|
|
1968
1968
|
* @returns {Promise<FetchFrameMetaTagsFromUrl200Response>} A promise that resolves to a `FetchFrameMetaTagsFromUrl200Response` object.
|
|
1969
1969
|
*
|
|
@@ -1986,9 +1986,36 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
1986
1986
|
return response.data;
|
|
1987
1987
|
}
|
|
1988
1988
|
/**
|
|
1989
|
-
* Fetch a list of
|
|
1989
|
+
* Fetch a list of mini apps relevant to the user based on casts by users with strong affinity score for the user
|
|
1990
1990
|
*
|
|
1991
|
-
* @summary
|
|
1991
|
+
* @summary Relevant mini apps
|
|
1992
|
+
*
|
|
1993
|
+
* @param {object} params
|
|
1994
|
+
* @param {number} params.viewerFid - FID of the user to fetch relevant mini apps for
|
|
1995
|
+
* @param {TrendingTimeWindow} params.timeWindow [optional] - Time window used to limit statistics used to calculate mini app relevance
|
|
1996
|
+
*
|
|
1997
|
+
* @returns {Promise<FetchFrameRelevant200Response>} A promise that resolves to a `FetchFrameRelevant200Response` object.
|
|
1998
|
+
*
|
|
1999
|
+
* @example
|
|
2000
|
+
*
|
|
2001
|
+
* // Fill in the appropriate values
|
|
2002
|
+
* const viewerFid =
|
|
2003
|
+
* const timeWindow =
|
|
2004
|
+
*
|
|
2005
|
+
* client.fetchFrameRelevant({ viewerFid, timeWindow }).then(response => {
|
|
2006
|
+
* console.log('response:', response);
|
|
2007
|
+
* });
|
|
2008
|
+
*/
|
|
2009
|
+
async fetchFrameRelevant(params) {
|
|
2010
|
+
const adjustedParams = {};
|
|
2011
|
+
Object.assign(adjustedParams, params);
|
|
2012
|
+
const response = await this.apis.frameApi.fetchFrameRelevant(adjustedParams);
|
|
2013
|
+
return response.data;
|
|
2014
|
+
}
|
|
2015
|
+
/**
|
|
2016
|
+
* Fetch a list of mini apps made by the developer (identified by API key)
|
|
2017
|
+
*
|
|
2018
|
+
* @summary List of mini apps
|
|
1992
2019
|
*
|
|
1993
2020
|
*
|
|
1994
2021
|
* @returns {Promise<Array<NeynarFrame>>} A promise that resolves to a `Array<NeynarFrame>` object.
|
|
@@ -2007,9 +2034,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2007
2034
|
return response.data;
|
|
2008
2035
|
}
|
|
2009
2036
|
/**
|
|
2010
|
-
* Returns a list of notifications tokens related
|
|
2037
|
+
* Returns a list of notifications tokens related to a mini app
|
|
2011
2038
|
*
|
|
2012
|
-
* @summary List of
|
|
2039
|
+
* @summary List of mini app notification tokens
|
|
2013
2040
|
*
|
|
2014
2041
|
* @param {object} params
|
|
2015
2042
|
* @param {number} params.limit [optional] - Number of results to fetch (Default: 20, Maximum: 100)
|
|
@@ -2043,37 +2070,10 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2043
2070
|
const response = await this.apis.frameApi.fetchNotificationTokens(adjustedParams);
|
|
2044
2071
|
return response.data;
|
|
2045
2072
|
}
|
|
2046
|
-
/**
|
|
2047
|
-
* Fetch a list of frames relevant to the user based on casts by users with strong affinity score for the user
|
|
2048
|
-
*
|
|
2049
|
-
* @summary Relevant frames
|
|
2050
|
-
*
|
|
2051
|
-
* @param {object} params
|
|
2052
|
-
* @param {number} params.viewerFid - FID of the user to fetch relevant frames for
|
|
2053
|
-
* @param {TrendingTimeWindow} params.timeWindow [optional] - Time window used to limit statistics used to calculate frame relevance
|
|
2054
|
-
*
|
|
2055
|
-
* @returns {Promise<FetchRelevantFrames200Response>} A promise that resolves to a `FetchRelevantFrames200Response` object.
|
|
2056
|
-
*
|
|
2057
|
-
* @example
|
|
2058
|
-
*
|
|
2059
|
-
* // Fill in the appropriate values
|
|
2060
|
-
* const viewerFid =
|
|
2061
|
-
* const timeWindow =
|
|
2062
|
-
*
|
|
2063
|
-
* client.fetchRelevantFrames({ viewerFid, timeWindow }).then(response => {
|
|
2064
|
-
* console.log('response:', response);
|
|
2065
|
-
* });
|
|
2066
|
-
*/
|
|
2067
|
-
async fetchRelevantFrames(params) {
|
|
2068
|
-
const adjustedParams = {};
|
|
2069
|
-
Object.assign(adjustedParams, params);
|
|
2070
|
-
const response = await this.apis.frameApi.fetchRelevantFrames(adjustedParams);
|
|
2071
|
-
return response.data;
|
|
2072
|
-
}
|
|
2073
2073
|
/**
|
|
2074
2074
|
* Fetch analytics for total-interactors, interactors, nteractions-per-cast and input-text.
|
|
2075
2075
|
*
|
|
2076
|
-
* @summary Analytics for the
|
|
2076
|
+
* @summary Analytics for the mini app
|
|
2077
2077
|
*
|
|
2078
2078
|
* @param {object} params
|
|
2079
2079
|
* @param {string} params.frameUrl
|
|
@@ -2107,9 +2107,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2107
2107
|
return response.data;
|
|
2108
2108
|
}
|
|
2109
2109
|
/**
|
|
2110
|
-
* Fetch a list of all the
|
|
2110
|
+
* Fetch a list of all the mini apps validated by a user
|
|
2111
2111
|
*
|
|
2112
|
-
* @summary All
|
|
2112
|
+
* @summary All mini apps validated by user
|
|
2113
2113
|
*
|
|
2114
2114
|
*
|
|
2115
2115
|
* @returns {Promise<FrameValidateListResponse>} A promise that resolves to a `FrameValidateListResponse` object.
|
|
@@ -2128,12 +2128,12 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2128
2128
|
return response.data;
|
|
2129
2129
|
}
|
|
2130
2130
|
/**
|
|
2131
|
-
* Retrieves details about a transaction pay
|
|
2131
|
+
* Retrieves details about a transaction pay mini app by ID
|
|
2132
2132
|
*
|
|
2133
|
-
* @summary Get transaction pay
|
|
2133
|
+
* @summary Get transaction pay mini app
|
|
2134
2134
|
*
|
|
2135
2135
|
* @param {object} params
|
|
2136
|
-
* @param {string} params.id - ID of the transaction
|
|
2136
|
+
* @param {string} params.id - ID of the transaction mini app to retrieve
|
|
2137
2137
|
*
|
|
2138
2138
|
* @returns {Promise<TransactionFrameResponse>} A promise that resolves to a `TransactionFrameResponse` object.
|
|
2139
2139
|
*
|
|
@@ -2153,14 +2153,14 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2153
2153
|
return response.data;
|
|
2154
2154
|
}
|
|
2155
2155
|
/**
|
|
2156
|
-
* Fetch a
|
|
2156
|
+
* Fetch a mini app either by UUID or Neynar URL
|
|
2157
2157
|
*
|
|
2158
|
-
* @summary
|
|
2158
|
+
* @summary Mini app by UUID or URL
|
|
2159
2159
|
*
|
|
2160
2160
|
* @param {object} params
|
|
2161
2161
|
* @param {FrameType} params.type
|
|
2162
|
-
* @param {string} params.uuid [optional] - UUID of the
|
|
2163
|
-
* @param {string} params.url [optional] - URL of the Neynar
|
|
2162
|
+
* @param {string} params.uuid [optional] - UUID of the mini app to fetch
|
|
2163
|
+
* @param {string} params.url [optional] - URL of the Neynar mini app to fetch
|
|
2164
2164
|
*
|
|
2165
2165
|
* @returns {Promise<NeynarFrame>} A promise that resolves to a `NeynarFrame` object.
|
|
2166
2166
|
*
|
|
@@ -2185,9 +2185,9 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2185
2185
|
return response.data;
|
|
2186
2186
|
}
|
|
2187
2187
|
/**
|
|
2188
|
-
* Post
|
|
2188
|
+
* Post mini app actions, cast actions or cast composer actions to the server \\ (In order to post any of these actions, you need to have an approved `signer_uuid`) The POST request to the post_url has a timeout of 5 seconds for mini apps.
|
|
2189
2189
|
*
|
|
2190
|
-
* @summary Post a
|
|
2190
|
+
* @summary Post a mini app action, cast action or a cast composer action
|
|
2191
2191
|
*
|
|
2192
2192
|
* @param {object} params
|
|
2193
2193
|
* @param {string} params.signerUuid - UUID of the signer. `signer_uuid` is paired with API key, can't use a `uuid` made with a different API key.
|
|
@@ -2218,7 +2218,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2218
2218
|
return response.data;
|
|
2219
2219
|
}
|
|
2220
2220
|
/**
|
|
2221
|
-
* Post a
|
|
2221
|
+
* Post a mini app action that has been signed with a developer managed signer The POST request to the post_url has a timeout of 5 seconds.
|
|
2222
2222
|
*
|
|
2223
2223
|
* @summary Signature packet
|
|
2224
2224
|
*
|
|
@@ -2251,7 +2251,7 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2251
2251
|
return response.data;
|
|
2252
2252
|
}
|
|
2253
2253
|
/**
|
|
2254
|
-
* Send notifications to interactors of a
|
|
2254
|
+
* Send notifications to interactors of a mini app
|
|
2255
2255
|
*
|
|
2256
2256
|
* @summary Send notifications
|
|
2257
2257
|
*
|
|
@@ -2282,12 +2282,12 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2282
2282
|
return response.data;
|
|
2283
2283
|
}
|
|
2284
2284
|
/**
|
|
2285
|
-
* Create a new
|
|
2285
|
+
* Create a new mini app with a list of pages.
|
|
2286
2286
|
*
|
|
2287
|
-
* @summary Create
|
|
2287
|
+
* @summary Create mini app
|
|
2288
2288
|
*
|
|
2289
2289
|
* @param {object} params
|
|
2290
|
-
* @param {string} params.name - The name of the
|
|
2290
|
+
* @param {string} params.name - The name of the mini app.
|
|
2291
2291
|
* @param {Array<NeynarFramePage>} params.pages
|
|
2292
2292
|
*
|
|
2293
2293
|
* @returns {Promise<NeynarFrame>} A promise that resolves to a `NeynarFrame` object.
|
|
@@ -2313,13 +2313,13 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2313
2313
|
return response.data;
|
|
2314
2314
|
}
|
|
2315
2315
|
/**
|
|
2316
|
-
* Update an existing
|
|
2316
|
+
* Update an existing mini app with a list of pages, if it was made by the developer (identified by API key)
|
|
2317
2317
|
*
|
|
2318
|
-
* @summary Update
|
|
2318
|
+
* @summary Update mini app
|
|
2319
2319
|
*
|
|
2320
2320
|
* @param {object} params
|
|
2321
|
-
* @param {string} params.uuid - The UUID of the
|
|
2322
|
-
* @param {string} params.name [optional] - The name of the
|
|
2321
|
+
* @param {string} params.uuid - The UUID of the mini app to update.
|
|
2322
|
+
* @param {string} params.name [optional] - The name of the mini app.
|
|
2323
2323
|
* @param {Array<NeynarFramePage>} params.pages
|
|
2324
2324
|
*
|
|
2325
2325
|
* @returns {Promise<NeynarFrame>} A promise that resolves to a `NeynarFrame` object.
|
|
@@ -2346,13 +2346,13 @@ const client = new NeynarAPIClient(config);\n`);
|
|
|
2346
2346
|
return response.data;
|
|
2347
2347
|
}
|
|
2348
2348
|
/**
|
|
2349
|
-
* Validates a
|
|
2349
|
+
* Validates a mini app against by an interacting user against a Farcaster Hub \\ (In order to validate a mini app, message bytes from Frame Action must be provided in hex)
|
|
2350
2350
|
*
|
|
2351
|
-
* @summary Validate
|
|
2351
|
+
* @summary Validate mini app action
|
|
2352
2352
|
*
|
|
2353
2353
|
* @param {object} params
|
|
2354
2354
|
* @param {string} params.messageBytesInHex - Hexadecimal string of message bytes.
|
|
2355
|
-
* @param {boolean} params.castReactionContext [optional] - Adds viewer_context inside the cast object to indicate whether the interactor reacted to the cast housing the
|
|
2355
|
+
* @param {boolean} params.castReactionContext [optional] - Adds viewer_context inside the cast object to indicate whether the interactor reacted to the cast housing the mini app.
|
|
2356
2356
|
* @param {boolean} params.followContext [optional] - Adds viewer_context inside the user (interactor) object to indicate whether the interactor follows or is followed by the cast author.
|
|
2357
2357
|
* @param {boolean} params.signerContext [optional] - Adds context about the app used by the user inside `frame.action`.
|
|
2358
2358
|
* @param {boolean} params.channelFollowContext [optional] - Adds context about the channel that the cast belongs to inside of the cast object.
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Farcaster API V2
|
|
3
|
-
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2.31.0
|
|
6
|
-
* Contact: team@neynar.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { FetchRelevantFrames200ResponseRelevantFramesInner } from './fetch-relevant-frames200-response-relevant-frames-inner';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FetchRelevantFrames200Response
|
|
17
|
-
*/
|
|
18
|
-
export interface FetchRelevantFrames200Response {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<FetchRelevantFrames200ResponseRelevantFramesInner>}
|
|
22
|
-
* @memberof FetchRelevantFrames200Response
|
|
23
|
-
*/
|
|
24
|
-
'relevant_frames': Array<FetchRelevantFrames200ResponseRelevantFramesInner>;
|
|
25
|
-
}
|