├── .cspell.json ├── .czrc ├── .eslintrc.json ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md ├── auto-merge.yml ├── dependabot.yml └── workflows │ └── farcaster-js.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .releaserc.json ├── .vscode ├── extensions.json ├── project.code-workspace └── settings.json ├── .yarn └── releases │ └── yarn-sources.cjs ├── .yarnrc.yml ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── commitlint.config.cjs ├── examples ├── hubRest.ts └── neynar.ts ├── package.json ├── packages ├── farcaster-js-cli │ ├── README.md │ ├── package.json │ ├── src │ │ ├── abi │ │ │ ├── IdRegistryABI.ts │ │ │ ├── KeyGatewayABI.ts │ │ │ └── SignedKeyRequestMetadataABI.ts │ │ ├── bin.ts │ │ ├── cli.ts │ │ ├── index.ts │ │ └── keyGateWayClient.ts │ └── tsconfig.json ├── farcaster-js-hub-rest │ ├── .env.example │ ├── .mocharc.yaml │ ├── CONTRIBUTING.md │ ├── README.md │ ├── docs │ │ ├── .nojekyll │ │ ├── README.md │ │ ├── classes │ │ │ ├── hubRestApiClient.HubRestAPIClient.md │ │ │ ├── openapi.CastsApi.md │ │ │ ├── openapi.Configuration.md │ │ │ ├── openapi.FIDsApi.md │ │ │ ├── openapi.HubEventsApi.md │ │ │ ├── openapi.InfoApi.md │ │ │ ├── openapi.LinksApi.md │ │ │ ├── openapi.OnChainEventsApi.md │ │ │ ├── openapi.ReactionsApi.md │ │ │ ├── openapi.StorageApi.md │ │ │ ├── openapi.SubmitMessageApi.md │ │ │ ├── openapi.UserDataApi.md │ │ │ ├── openapi.UsernamesApi.md │ │ │ ├── openapi.ValidateMessageApi.md │ │ │ └── openapi.VerificationsApi.md │ │ ├── enums │ │ │ ├── openapi.FarcasterNetwork.md │ │ │ ├── openapi.HashScheme.md │ │ │ ├── openapi.IdRegisterEventType.md │ │ │ ├── openapi.LinkType.md │ │ │ ├── openapi.MessageType.md │ │ │ ├── openapi.OnChainEventType.md │ │ │ ├── openapi.ReactionType.md │ │ │ ├── openapi.SignatureScheme.md │ │ │ ├── openapi.SignerEventType.md │ │ │ ├── openapi.StoreType.md │ │ │ ├── openapi.UserDataType.md │ │ │ └── openapi.UserNameType.md │ │ ├── interfaces │ │ │ ├── hubRestApiClient.HubRestAPIClientConfig.md │ │ │ ├── hubRestApiClient.PaginationOptions.md │ │ │ ├── logger.Logger.md │ │ │ ├── openapi.CastAddAllOf.md │ │ │ ├── openapi.CastAddAllOfDataAllOf.md │ │ │ ├── openapi.CastAddBody.md │ │ │ ├── openapi.CastEmbed.md │ │ │ ├── openapi.CastId.md │ │ │ ├── openapi.CastRemoveAllOf.md │ │ │ ├── openapi.CastRemoveBody.md │ │ │ ├── openapi.CastsApiGetCastByIdRequest.md │ │ │ ├── openapi.CastsApiListCastsByFidRequest.md │ │ │ ├── openapi.CastsApiListCastsByMentionRequest.md │ │ │ ├── openapi.CastsApiListCastsByParentRequest.md │ │ │ ├── openapi.ConfigurationParameters.md │ │ │ ├── openapi.DbStats.md │ │ │ ├── openapi.ErrorResponse.md │ │ │ ├── openapi.ErrorResponseMetadata.md │ │ │ ├── openapi.FIDsApiListFidsRequest.md │ │ │ ├── openapi.FidsResponse.md │ │ │ ├── openapi.FrameActionBody.md │ │ │ ├── openapi.GetUserDataByFid200ResponseOneOf.md │ │ │ ├── openapi.HubEventMergeMessage.md │ │ │ ├── openapi.HubEventMergeOnChainEvent.md │ │ │ ├── openapi.HubEventMergeUsernameProof.md │ │ │ ├── openapi.HubEventPruneMessage.md │ │ │ ├── openapi.HubEventRevokeMessage.md │ │ │ ├── openapi.HubEventsApiGetEventByIdRequest.md │ │ │ ├── openapi.HubEventsApiListEventsRequest.md │ │ │ ├── openapi.HubInfoResponse.md │ │ │ ├── openapi.IdRegisterEventBody.md │ │ │ ├── openapi.InfoApiGetInfoRequest.md │ │ │ ├── openapi.LinkAddAllOf.md │ │ │ ├── openapi.LinkBody.md │ │ │ ├── openapi.LinksApiGetLinkByIdRequest.md │ │ │ ├── openapi.LinksApiListLinksByFidRequest.md │ │ │ ├── openapi.LinksApiListLinksByTargetFidRequest.md │ │ │ ├── openapi.ListCastsByFid200Response.md │ │ │ ├── openapi.ListEvents200Response.md │ │ │ ├── openapi.ListLinksByFid200Response.md │ │ │ ├── openapi.ListOnChainEventsByFid200Response.md │ │ │ ├── openapi.ListOnChainSignersByFid200ResponseOneOf.md │ │ │ ├── openapi.ListReactionsByCast200Response.md │ │ │ ├── openapi.ListVerificationsByFid200Response.md │ │ │ ├── openapi.MergeMessageBody.md │ │ │ ├── openapi.MergeOnChainEventBody.md │ │ │ ├── openapi.MergeUserNameProofBody.md │ │ │ ├── openapi.MessageAllOf.md │ │ │ ├── openapi.MessageCommon.md │ │ │ ├── openapi.MessageDataCastAddAllOf.md │ │ │ ├── openapi.MessageDataCastRemoveAllOf.md │ │ │ ├── openapi.MessageDataCommon.md │ │ │ ├── openapi.MessageDataFrameActionAllOf.md │ │ │ ├── openapi.MessageDataLinkAllOf.md │ │ │ ├── openapi.MessageDataReactionAllOf.md │ │ │ ├── openapi.MessageDataUserDataAddAllOf.md │ │ │ ├── openapi.MessageDataUsernameProofAllOf.md │ │ │ ├── openapi.MessageDataVerificationAddAllOf.md │ │ │ ├── openapi.MessageDataVerificationRemoveAllOf.md │ │ │ ├── openapi.OnChainEventCommon.md │ │ │ ├── openapi.OnChainEventIdRegisterAllOf.md │ │ │ ├── openapi.OnChainEventSignerAllOf.md │ │ │ ├── openapi.OnChainEventSignerMigratedAllOf.md │ │ │ ├── openapi.OnChainEventStorageRentAllOf.md │ │ │ ├── openapi.OnChainEventsApiGetOnChainIdRegistrationByAddressRequest.md │ │ │ ├── openapi.OnChainEventsApiListOnChainEventsByFidRequest.md │ │ │ ├── openapi.OnChainEventsApiListOnChainSignersByFidRequest.md │ │ │ ├── openapi.PruneMessageBody.md │ │ │ ├── openapi.ReactionAllOf.md │ │ │ ├── openapi.ReactionBody.md │ │ │ ├── openapi.ReactionRemoveAllOf.md │ │ │ ├── openapi.ReactionsApiGetReactionByIdRequest.md │ │ │ ├── openapi.ReactionsApiListReactionsByCastRequest.md │ │ │ ├── openapi.ReactionsApiListReactionsByFidRequest.md │ │ │ ├── openapi.ReactionsApiListReactionsByTargetRequest.md │ │ │ ├── openapi.RevokeMessageBody.md │ │ │ ├── openapi.SignerEventBody.md │ │ │ ├── openapi.SignerMigratedEventBody.md │ │ │ ├── openapi.StorageApiGetStorageLimitsByFidRequest.md │ │ │ ├── openapi.StorageLimit.md │ │ │ ├── openapi.StorageLimitsResponse.md │ │ │ ├── openapi.StorageRentEventBody.md │ │ │ ├── openapi.SubmitMessageApiSubmitMessageRequest.md │ │ │ ├── openapi.UrlEmbed.md │ │ │ ├── openapi.UserDataAddAllOf.md │ │ │ ├── openapi.UserDataApiGetUserDataByFidRequest.md │ │ │ ├── openapi.UserDataBody.md │ │ │ ├── openapi.UserNameProof.md │ │ │ ├── openapi.UsernameProofsResponse.md │ │ │ ├── openapi.UsernamesApiGetUsernameProofRequest.md │ │ │ ├── openapi.UsernamesApiListUsernameProofsByFidRequest.md │ │ │ ├── openapi.ValidateMessageApiValidateMessageRequest.md │ │ │ ├── openapi.ValidateMessageResponse.md │ │ │ ├── openapi.VerificationAddEthAddressBody.md │ │ │ ├── openapi.VerificationAllOf.md │ │ │ ├── openapi.VerificationRemoveAllOf.md │ │ │ ├── openapi.VerificationRemoveBody.md │ │ │ └── openapi.VerificationsApiListVerificationsByFidRequest.md │ │ ├── modules.md │ │ └── modules │ │ │ ├── farcasterEpochTimestamp.md │ │ │ ├── hubRestApiClient.md │ │ │ ├── logger.md │ │ │ └── openapi.md │ ├── examples │ │ ├── changeTargetHub.ts │ │ ├── followUser.ts │ │ ├── getCastById.ts │ │ ├── hubInfo.ts │ │ ├── listCastsByFid.ts │ │ ├── publishCast.ts │ │ ├── reactToCast.ts │ │ ├── validateMessage.ts │ │ └── verifyAddress.ts │ ├── openapi-generator-config.json │ ├── openapitools.json │ ├── package.json │ ├── src │ │ ├── farcasterEpochTimestamp.ts │ │ ├── hubRestApiClient.ts │ │ ├── index.ts │ │ ├── logger.ts │ │ ├── openapi │ │ │ ├── generated │ │ │ │ ├── .openapi-generator │ │ │ │ │ ├── FILES │ │ │ │ │ └── VERSION │ │ │ │ ├── api.ts │ │ │ │ ├── apis │ │ │ │ │ ├── casts-api.ts │ │ │ │ │ ├── fids-api.ts │ │ │ │ │ ├── hub-events-api.ts │ │ │ │ │ ├── info-api.ts │ │ │ │ │ ├── links-api.ts │ │ │ │ │ ├── on-chain-events-api.ts │ │ │ │ │ ├── reactions-api.ts │ │ │ │ │ ├── storage-api.ts │ │ │ │ │ ├── submit-message-api.ts │ │ │ │ │ ├── user-data-api.ts │ │ │ │ │ ├── usernames-api.ts │ │ │ │ │ ├── validate-message-api.ts │ │ │ │ │ └── verifications-api.ts │ │ │ │ ├── base.ts │ │ │ │ ├── common.ts │ │ │ │ ├── configuration.ts │ │ │ │ ├── index.ts │ │ │ │ ├── models │ │ │ │ │ ├── cast-add-all-of-data-all-of.ts │ │ │ │ │ ├── cast-add-all-of-data.ts │ │ │ │ │ ├── cast-add-all-of.ts │ │ │ │ │ ├── cast-add-body.ts │ │ │ │ │ ├── cast-add.ts │ │ │ │ │ ├── cast-embed.ts │ │ │ │ │ ├── cast-id.ts │ │ │ │ │ ├── cast-remove-all-of-data.ts │ │ │ │ │ ├── cast-remove-all-of.ts │ │ │ │ │ ├── cast-remove-body.ts │ │ │ │ │ ├── cast-remove.ts │ │ │ │ │ ├── db-stats.ts │ │ │ │ │ ├── embed.ts │ │ │ │ │ ├── error-response-metadata.ts │ │ │ │ │ ├── error-response.ts │ │ │ │ │ ├── farcaster-network.ts │ │ │ │ │ ├── fids-response.ts │ │ │ │ │ ├── frame-action-body.ts │ │ │ │ │ ├── get-user-data-by-fid200-response-one-of.ts │ │ │ │ │ ├── get-user-data-by-fid200-response.ts │ │ │ │ │ ├── hash-scheme.ts │ │ │ │ │ ├── hub-event-merge-message.ts │ │ │ │ │ ├── hub-event-merge-on-chain-event.ts │ │ │ │ │ ├── hub-event-merge-username-proof.ts │ │ │ │ │ ├── hub-event-prune-message.ts │ │ │ │ │ ├── hub-event-revoke-message.ts │ │ │ │ │ ├── hub-event.ts │ │ │ │ │ ├── hub-info-response.ts │ │ │ │ │ ├── id-register-event-body.ts │ │ │ │ │ ├── id-register-event-type.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── link-add-all-of-data.ts │ │ │ │ │ ├── link-add-all-of.ts │ │ │ │ │ ├── link-add.ts │ │ │ │ │ ├── link-body.ts │ │ │ │ │ ├── link-remove.ts │ │ │ │ │ ├── link-type.ts │ │ │ │ │ ├── list-casts-by-fid200-response.ts │ │ │ │ │ ├── list-events200-response.ts │ │ │ │ │ ├── list-links-by-fid200-response.ts │ │ │ │ │ ├── list-on-chain-events-by-fid200-response.ts │ │ │ │ │ ├── list-on-chain-signers-by-fid200-response-one-of.ts │ │ │ │ │ ├── list-on-chain-signers-by-fid200-response.ts │ │ │ │ │ ├── list-reactions-by-cast200-response.ts │ │ │ │ │ ├── list-verifications-by-fid200-response.ts │ │ │ │ │ ├── merge-message-body.ts │ │ │ │ │ ├── merge-on-chain-event-body.ts │ │ │ │ │ ├── merge-user-name-proof-body.ts │ │ │ │ │ ├── message-all-of-data.ts │ │ │ │ │ ├── message-all-of.ts │ │ │ │ │ ├── message-common.ts │ │ │ │ │ ├── message-data-cast-add-all-of.ts │ │ │ │ │ ├── message-data-cast-add.ts │ │ │ │ │ ├── message-data-cast-remove-all-of.ts │ │ │ │ │ ├── message-data-cast-remove.ts │ │ │ │ │ ├── message-data-common.ts │ │ │ │ │ ├── message-data-frame-action-all-of.ts │ │ │ │ │ ├── message-data-frame-action.ts │ │ │ │ │ ├── message-data-link-all-of.ts │ │ │ │ │ ├── message-data-link.ts │ │ │ │ │ ├── message-data-reaction-all-of.ts │ │ │ │ │ ├── message-data-reaction.ts │ │ │ │ │ ├── message-data-user-data-add-all-of.ts │ │ │ │ │ ├── message-data-user-data-add.ts │ │ │ │ │ ├── message-data-username-proof-all-of.ts │ │ │ │ │ ├── message-data-username-proof.ts │ │ │ │ │ ├── message-data-verification-add-all-of.ts │ │ │ │ │ ├── message-data-verification-add.ts │ │ │ │ │ ├── message-data-verification-remove-all-of.ts │ │ │ │ │ ├── message-data-verification-remove.ts │ │ │ │ │ ├── message-type.ts │ │ │ │ │ ├── message.ts │ │ │ │ │ ├── on-chain-event-common.ts │ │ │ │ │ ├── on-chain-event-id-register-all-of.ts │ │ │ │ │ ├── on-chain-event-id-register.ts │ │ │ │ │ ├── on-chain-event-signer-all-of.ts │ │ │ │ │ ├── on-chain-event-signer-migrated-all-of.ts │ │ │ │ │ ├── on-chain-event-signer-migrated.ts │ │ │ │ │ ├── on-chain-event-signer.ts │ │ │ │ │ ├── on-chain-event-storage-rent-all-of.ts │ │ │ │ │ ├── on-chain-event-storage-rent.ts │ │ │ │ │ ├── on-chain-event-type.ts │ │ │ │ │ ├── on-chain-event.ts │ │ │ │ │ ├── prune-message-body.ts │ │ │ │ │ ├── reaction-all-of-data.ts │ │ │ │ │ ├── reaction-all-of.ts │ │ │ │ │ ├── reaction-body.ts │ │ │ │ │ ├── reaction-remove-all-of.ts │ │ │ │ │ ├── reaction-remove.ts │ │ │ │ │ ├── reaction-type.ts │ │ │ │ │ ├── reaction.ts │ │ │ │ │ ├── revoke-message-body.ts │ │ │ │ │ ├── signature-scheme.ts │ │ │ │ │ ├── signer-event-body.ts │ │ │ │ │ ├── signer-event-type.ts │ │ │ │ │ ├── signer-migrated-event-body.ts │ │ │ │ │ ├── storage-limit.ts │ │ │ │ │ ├── storage-limits-response.ts │ │ │ │ │ ├── storage-rent-event-body.ts │ │ │ │ │ ├── store-type.ts │ │ │ │ │ ├── url-embed.ts │ │ │ │ │ ├── user-data-add-all-of-data.ts │ │ │ │ │ ├── user-data-add-all-of.ts │ │ │ │ │ ├── user-data-add.ts │ │ │ │ │ ├── user-data-body.ts │ │ │ │ │ ├── user-data-type.ts │ │ │ │ │ ├── user-name-proof.ts │ │ │ │ │ ├── user-name-type.ts │ │ │ │ │ ├── username-proofs-response.ts │ │ │ │ │ ├── validate-message-response.ts │ │ │ │ │ ├── verification-add-eth-address-body.ts │ │ │ │ │ ├── verification-all-of-data.ts │ │ │ │ │ ├── verification-all-of.ts │ │ │ │ │ ├── verification-remove-all-of-data.ts │ │ │ │ │ ├── verification-remove-all-of.ts │ │ │ │ │ ├── verification-remove-body.ts │ │ │ │ │ ├── verification-remove.ts │ │ │ │ │ └── verification.ts │ │ │ │ └── schema.d.ts │ │ │ ├── index.ts │ │ │ ├── post-process.sh │ │ │ └── spec.yaml │ │ ├── signers.ts │ │ └── utils.ts │ ├── tests │ │ ├── integration │ │ │ └── hubRestAPIClient.ts │ │ └── utils.ts │ ├── tsconfig.json │ └── typedoc.json ├── farcaster-js-neynar │ ├── .env.example │ ├── .mocharc.yaml │ ├── CONTRIBUTING.md │ ├── README.md │ ├── docs │ │ ├── .nojekyll │ │ ├── README.md │ │ ├── classes │ │ │ ├── NeynarAPIClient.NeynarAPIClient.md │ │ │ ├── v1.CastApi.md │ │ │ ├── v1.Configuration.md │ │ │ ├── v1.FollowsApi.md │ │ │ ├── v1.NeynarV1APIClient.md │ │ │ ├── v1.NotificationsApi.md │ │ │ ├── v1.ReactionsApi.md │ │ │ ├── v1.UserApi.md │ │ │ ├── v1.VerificationApi.md │ │ │ ├── v2.CastApi.md │ │ │ ├── v2.Configuration.md │ │ │ ├── v2.FeedApi.md │ │ │ ├── v2.FollowsApi.md │ │ │ ├── v2.NeynarV2APIClient.md │ │ │ ├── v2.NotificationsApi.md │ │ │ ├── v2.ReactionApi.md │ │ │ ├── v2.SignerApi.md │ │ │ └── v2.UserApi.md │ │ ├── enums │ │ │ ├── v1.ActiveStatus.md │ │ │ ├── v1.CastType.md │ │ │ ├── v1.ReactionType.md │ │ │ ├── v2.ActiveStatus.md │ │ │ ├── v2.CastNotificationType.md │ │ │ ├── v2.CastParamType.md │ │ │ ├── v2.DehydratedFollowerObjectEnum.md │ │ │ ├── v2.HydratedFollowerObjectEnum.md │ │ │ ├── v2.NotificationFollowObjectEnum.md │ │ │ ├── v2.NotificationReactionsCastObjectEnum.md │ │ │ ├── v2.NotificationReactionsObjectEnum.md │ │ │ ├── v2.NotificationTypeEnum.md │ │ │ ├── v2.ReactionType.md │ │ │ ├── v2.SignerStatusEnum.md │ │ │ ├── v2.UserDehydratedObjectEnum.md │ │ │ └── v2.UserObjectEnum.md │ │ ├── interfaces │ │ │ ├── logger.Logger.md │ │ │ ├── v1.AllCastsInThreadResponse.md │ │ │ ├── v1.AllCastsInThreadResponseResult.md │ │ │ ├── v1.Cast.md │ │ │ ├── v1.CastApiAllCastsInThreadRequest.md │ │ │ ├── v1.CastApiCastRequest.md │ │ │ ├── v1.CastApiCastsRequest.md │ │ │ ├── v1.CastApiRecentCastsRequest.md │ │ │ ├── v1.CastAuthorOneOf.md │ │ │ ├── v1.CastLikesResponse.md │ │ │ ├── v1.CastLikesResponseResult.md │ │ │ ├── v1.CastParentAuthorAllOf.md │ │ │ ├── v1.CastReactionsResponse.md │ │ │ ├── v1.CastReactionsResponseResult.md │ │ │ ├── v1.CastRecasterResponse.md │ │ │ ├── v1.CastRecasterResponseResult.md │ │ │ ├── v1.CastResponse.md │ │ │ ├── v1.CastResponseResult.md │ │ │ ├── v1.CastWithInteractionsAllOf.md │ │ │ ├── v1.CastWithInteractionsReactionsOrRecasts.md │ │ │ ├── v1.CastWithInteractionsReplies.md │ │ │ ├── v1.CastsResponse.md │ │ │ ├── v1.CastsResponseResult.md │ │ │ ├── v1.ConfigurationParameters.md │ │ │ ├── v1.CustodyAddressResponse.md │ │ │ ├── v1.CustodyAddressResponseResult.md │ │ │ ├── v1.EmbedUrl.md │ │ │ ├── v1.ErrorRes.md │ │ │ ├── v1.FollowResponse.md │ │ │ ├── v1.FollowResponseResult.md │ │ │ ├── v1.FollowsApiFollowersRequest.md │ │ │ ├── v1.FollowsApiFollowingRequest.md │ │ │ ├── v1.MentionsAndRepliesResponse.md │ │ │ ├── v1.MentionsAndRepliesResponseResult.md │ │ │ ├── v1.NextCursor.md │ │ │ ├── v1.NotificationsApiMentionsAndRepliesRequest.md │ │ │ ├── v1.NotificationsApiReactionsAndRecastsRequest.md │ │ │ ├── v1.Reaction.md │ │ │ ├── v1.ReactionWithCastMeta.md │ │ │ ├── v1.ReactionWithCastMetaCast.md │ │ │ ├── v1.ReactionWithCastMetaReaction.md │ │ │ ├── v1.ReactionsAndRecastsNotificationAllOf.md │ │ │ ├── v1.ReactionsAndRecastsResponse.md │ │ │ ├── v1.ReactionsAndRecastsResponseResult.md │ │ │ ├── v1.ReactionsApiCastLikesRequest.md │ │ │ ├── v1.ReactionsApiCastReactionsRequest.md │ │ │ ├── v1.ReactionsApiCastRecastersRequest.md │ │ │ ├── v1.Reactor.md │ │ │ ├── v1.ReactorPfp.md │ │ │ ├── v1.ReactorViewerContext.md │ │ │ ├── v1.Recaster.md │ │ │ ├── v1.RecasterPfp.md │ │ │ ├── v1.RecasterProfile.md │ │ │ ├── v1.RecasterProfileBio.md │ │ │ ├── v1.RecasterViewerContext.md │ │ │ ├── v1.RecentCastsResponse.md │ │ │ ├── v1.RecentUsersResponse.md │ │ │ ├── v1.RecentUsersResponseResult.md │ │ │ ├── v1.User.md │ │ │ ├── v1.User200Response.md │ │ │ ├── v1.User200ResponseResult.md │ │ │ ├── v1.UserApiCustodyAddressRequest.md │ │ │ ├── v1.UserApiRecentUsersRequest.md │ │ │ ├── v1.UserApiUserByUsernameRequest.md │ │ │ ├── v1.UserApiUserCastLikesRequest.md │ │ │ ├── v1.UserApiUserRequest.md │ │ │ ├── v1.UserCastLikeResponse.md │ │ │ ├── v1.UserCastLikeResponseResult.md │ │ │ ├── v1.UserPfp.md │ │ │ ├── v1.UserProfile.md │ │ │ ├── v1.UserProfileBio.md │ │ │ ├── v1.VerificationApiUserByVerificationRequest.md │ │ │ ├── v1.VerificationApiVerificationsRequest.md │ │ │ ├── v1.VerificationResponse.md │ │ │ ├── v1.VerificationResponseResult.md │ │ │ ├── v1.ViewerContext.md │ │ │ ├── v2.AddVerificationReqBody.md │ │ │ ├── v2.BulkFollowResponse.md │ │ │ ├── v2.Cast.md │ │ │ ├── v2.CastApiCastRequest.md │ │ │ ├── v2.CastApiCastsRequest.md │ │ │ ├── v2.CastApiDeleteCastRequest.md │ │ │ ├── v2.CastApiPostCastRequest.md │ │ │ ├── v2.CastId.md │ │ │ ├── v2.CastParentAuthorAllOf.md │ │ │ ├── v2.CastResponse.md │ │ │ ├── v2.CastWithInteractionsAllOf.md │ │ │ ├── v2.CastWithInteractionsReactions.md │ │ │ ├── v2.CastWithInteractionsReplies.md │ │ │ ├── v2.CastsResponse.md │ │ │ ├── v2.CastsResponseResult.md │ │ │ ├── v2.ConfigurationParameters.md │ │ │ ├── v2.DehydratedFollower.md │ │ │ ├── v2.DeleteCastReqBody.md │ │ │ ├── v2.EmbedCastId.md │ │ │ ├── v2.EmbedUrl.md │ │ │ ├── v2.ErrorRes.md │ │ │ ├── v2.FeedApiFeedRequest.md │ │ │ ├── v2.FeedResponse.md │ │ │ ├── v2.FollowReqBody.md │ │ │ ├── v2.FollowResponse.md │ │ │ ├── v2.FollowsApiRelevantFollowersRequest.md │ │ │ ├── v2.GetCastsReqBody.md │ │ │ ├── v2.HydratedFollower.md │ │ │ ├── v2.IndividualHashObj.md │ │ │ ├── v2.NextCursor.md │ │ │ ├── v2.Notification.md │ │ │ ├── v2.NotificationFollow.md │ │ │ ├── v2.NotificationReactions.md │ │ │ ├── v2.NotificationReactionsCast.md │ │ │ ├── v2.NotificationsApiNotificationsRequest.md │ │ │ ├── v2.NotificationsResponse.md │ │ │ ├── v2.OperationResponse.md │ │ │ ├── v2.PostCastReqBody.md │ │ │ ├── v2.PostCastResponse.md │ │ │ ├── v2.PostCastResponseCast.md │ │ │ ├── v2.PostCastResponseCastAuthor.md │ │ │ ├── v2.ProfileUrl.md │ │ │ ├── v2.ProfileUrlPfp.md │ │ │ ├── v2.ReactionApiDeleteReactionRequest.md │ │ │ ├── v2.ReactionApiPostReactionRequest.md │ │ │ ├── v2.ReactionLike.md │ │ │ ├── v2.ReactionRecast.md │ │ │ ├── v2.ReactionReqBody.md │ │ │ ├── v2.RegisterSignerKeyReqBody.md │ │ │ ├── v2.RelevantFollowersResponse.md │ │ │ ├── v2.RemoveVerificationReqBody.md │ │ │ ├── v2.Signer.md │ │ │ ├── v2.SignerApiRegisterSignedKeyRequest.md │ │ │ ├── v2.SignerApiSignerRequest.md │ │ │ ├── v2.UpdateUserReqBody.md │ │ │ ├── v2.User.md │ │ │ ├── v2.UserApiFarcasterUserVerificationDeleteRequest.md │ │ │ ├── v2.UserApiFarcasterUserVerificationPostRequest.md │ │ │ ├── v2.UserApiFollowUserRequest.md │ │ │ ├── v2.UserApiLookupUserByCustodyAddressRequest.md │ │ │ ├── v2.UserApiUnfollowUserRequest.md │ │ │ ├── v2.UserApiUpdateUserRequest.md │ │ │ ├── v2.UserApiUserBulkRequest.md │ │ │ ├── v2.UserApiUserSearchRequest.md │ │ │ ├── v2.UserBulk200Response.md │ │ │ ├── v2.UserDehydrated.md │ │ │ ├── v2.UserProfile.md │ │ │ ├── v2.UserProfileBio.md │ │ │ ├── v2.UserResponse.md │ │ │ ├── v2.UserSearchResponse.md │ │ │ ├── v2.UserSearchResponseResult.md │ │ │ └── v2.UserViewerContext.md │ │ ├── modules.md │ │ └── modules │ │ │ ├── NeynarAPIClient.md │ │ │ ├── logger.md │ │ │ ├── utils.md │ │ │ ├── v1.md │ │ │ └── v2.md │ ├── examples │ │ ├── createSigner.ts │ │ ├── followUser.ts │ │ ├── getUserActivity.ts │ │ ├── likeAndRecast.ts │ │ ├── publishCast.ts │ │ └── replyToCast.ts │ ├── openapi-generator-config.json │ ├── openapitools.json │ ├── package.json │ ├── src │ │ ├── NeynarAPIClient.ts │ │ ├── index.ts │ │ ├── logger.ts │ │ ├── utils.ts │ │ ├── v1 │ │ │ ├── NeynarV1APIClient.ts │ │ │ ├── index.ts │ │ │ └── openapi │ │ │ │ ├── generated │ │ │ │ ├── .openapi-generator │ │ │ │ │ ├── FILES │ │ │ │ │ └── VERSION │ │ │ │ ├── api.ts │ │ │ │ ├── apis │ │ │ │ │ ├── cast-api.ts │ │ │ │ │ ├── follows-api.ts │ │ │ │ │ ├── notifications-api.ts │ │ │ │ │ ├── reactions-api.ts │ │ │ │ │ ├── user-api.ts │ │ │ │ │ └── verification-api.ts │ │ │ │ ├── base.ts │ │ │ │ ├── common.ts │ │ │ │ ├── configuration.ts │ │ │ │ ├── index.ts │ │ │ │ ├── models │ │ │ │ │ ├── active-status.ts │ │ │ │ │ ├── all-casts-in-thread-response-result.ts │ │ │ │ │ ├── all-casts-in-thread-response.ts │ │ │ │ │ ├── cast-author-one-of.ts │ │ │ │ │ ├── cast-author.ts │ │ │ │ │ ├── cast-likes-response-result.ts │ │ │ │ │ ├── cast-likes-response.ts │ │ │ │ │ ├── cast-parent-author-all-of.ts │ │ │ │ │ ├── cast-parent-author.ts │ │ │ │ │ ├── cast-reactions-response-result.ts │ │ │ │ │ ├── cast-reactions-response.ts │ │ │ │ │ ├── cast-recaster-response-result.ts │ │ │ │ │ ├── cast-recaster-response.ts │ │ │ │ │ ├── cast-response-result.ts │ │ │ │ │ ├── cast-response.ts │ │ │ │ │ ├── cast-type.ts │ │ │ │ │ ├── cast-with-interactions-all-of.ts │ │ │ │ │ ├── cast-with-interactions-reactions-or-recasts.ts │ │ │ │ │ ├── cast-with-interactions-replies.ts │ │ │ │ │ ├── cast-with-interactions.ts │ │ │ │ │ ├── cast.ts │ │ │ │ │ ├── casts-response-result.ts │ │ │ │ │ ├── casts-response.ts │ │ │ │ │ ├── custody-address-response-result.ts │ │ │ │ │ ├── custody-address-response.ts │ │ │ │ │ ├── embed-url.ts │ │ │ │ │ ├── error-res.ts │ │ │ │ │ ├── follow-response-result.ts │ │ │ │ │ ├── follow-response.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── mentions-and-replies-response-result.ts │ │ │ │ │ ├── mentions-and-replies-response.ts │ │ │ │ │ ├── next-cursor.ts │ │ │ │ │ ├── reaction-type.ts │ │ │ │ │ ├── reaction-with-cast-meta-cast.ts │ │ │ │ │ ├── reaction-with-cast-meta-reaction.ts │ │ │ │ │ ├── reaction-with-cast-meta.ts │ │ │ │ │ ├── reaction.ts │ │ │ │ │ ├── reactions-and-recasts-notification-all-of.ts │ │ │ │ │ ├── reactions-and-recasts-notification.ts │ │ │ │ │ ├── reactions-and-recasts-response-result.ts │ │ │ │ │ ├── reactions-and-recasts-response.ts │ │ │ │ │ ├── reactor-pfp.ts │ │ │ │ │ ├── reactor-viewer-context.ts │ │ │ │ │ ├── reactor.ts │ │ │ │ │ ├── recaster-pfp.ts │ │ │ │ │ ├── recaster-profile-bio.ts │ │ │ │ │ ├── recaster-profile.ts │ │ │ │ │ ├── recaster-viewer-context.ts │ │ │ │ │ ├── recaster.ts │ │ │ │ │ ├── recent-casts-response.ts │ │ │ │ │ ├── recent-users-response-result.ts │ │ │ │ │ ├── recent-users-response.ts │ │ │ │ │ ├── user-cast-like-response-result.ts │ │ │ │ │ ├── user-cast-like-response.ts │ │ │ │ │ ├── user-pfp.ts │ │ │ │ │ ├── user-profile-bio.ts │ │ │ │ │ ├── user-profile.ts │ │ │ │ │ ├── user.ts │ │ │ │ │ ├── user200-response-result.ts │ │ │ │ │ ├── user200-response.ts │ │ │ │ │ ├── verification-response-result.ts │ │ │ │ │ ├── verification-response.ts │ │ │ │ │ └── viewer-context.ts │ │ │ │ └── schema.d.ts │ │ │ │ ├── index.ts │ │ │ │ └── spec.yaml │ │ └── v2 │ │ │ ├── NeynarV2APIClient.ts │ │ │ ├── index.ts │ │ │ └── openapi │ │ │ ├── generated │ │ │ ├── .openapi-generator │ │ │ │ ├── FILES │ │ │ │ └── VERSION │ │ │ ├── api.ts │ │ │ ├── apis │ │ │ │ ├── cast-api.ts │ │ │ │ ├── feed-api.ts │ │ │ │ ├── follows-api.ts │ │ │ │ ├── notifications-api.ts │ │ │ │ ├── reaction-api.ts │ │ │ │ ├── signer-api.ts │ │ │ │ └── user-api.ts │ │ │ ├── base.ts │ │ │ ├── common.ts │ │ │ ├── configuration.ts │ │ │ ├── index.ts │ │ │ ├── models │ │ │ │ ├── active-status.ts │ │ │ │ ├── add-verification-req-body.ts │ │ │ │ ├── bulk-follow-response.ts │ │ │ │ ├── cast-id.ts │ │ │ │ ├── cast-notification-type.ts │ │ │ │ ├── cast-param-type.ts │ │ │ │ ├── cast-parent-author-all-of.ts │ │ │ │ ├── cast-parent-author.ts │ │ │ │ ├── cast-response.ts │ │ │ │ ├── cast-with-interactions-all-of.ts │ │ │ │ ├── cast-with-interactions-reactions.ts │ │ │ │ ├── cast-with-interactions-replies.ts │ │ │ │ ├── cast-with-interactions.ts │ │ │ │ ├── cast.ts │ │ │ │ ├── casts-response-result.ts │ │ │ │ ├── casts-response.ts │ │ │ │ ├── dehydrated-follower.ts │ │ │ │ ├── delete-cast-req-body.ts │ │ │ │ ├── embed-cast-id.ts │ │ │ │ ├── embed-url.ts │ │ │ │ ├── embedded-cast.ts │ │ │ │ ├── error-res.ts │ │ │ │ ├── feed-response.ts │ │ │ │ ├── follow-req-body.ts │ │ │ │ ├── follow-response.ts │ │ │ │ ├── get-casts-req-body.ts │ │ │ │ ├── hydrated-follower.ts │ │ │ │ ├── index.ts │ │ │ │ ├── individual-hash-obj.ts │ │ │ │ ├── next-cursor.ts │ │ │ │ ├── notification-follow.ts │ │ │ │ ├── notification-reactions-cast.ts │ │ │ │ ├── notification-reactions.ts │ │ │ │ ├── notification.ts │ │ │ │ ├── notifications-response.ts │ │ │ │ ├── operation-response.ts │ │ │ │ ├── post-cast-req-body.ts │ │ │ │ ├── post-cast-response-cast-author.ts │ │ │ │ ├── post-cast-response-cast.ts │ │ │ │ ├── post-cast-response.ts │ │ │ │ ├── profile-url-pfp.ts │ │ │ │ ├── profile-url.ts │ │ │ │ ├── reaction-like.ts │ │ │ │ ├── reaction-recast.ts │ │ │ │ ├── reaction-req-body.ts │ │ │ │ ├── reaction-type.ts │ │ │ │ ├── register-signer-key-req-body.ts │ │ │ │ ├── relevant-followers-response.ts │ │ │ │ ├── remove-verification-req-body.ts │ │ │ │ ├── searched-user.ts │ │ │ │ ├── signer.ts │ │ │ │ ├── update-user-req-body.ts │ │ │ │ ├── user-bulk200-response.ts │ │ │ │ ├── user-dehydrated.ts │ │ │ │ ├── user-profile-bio.ts │ │ │ │ ├── user-profile.ts │ │ │ │ ├── user-response.ts │ │ │ │ ├── user-search-response-result.ts │ │ │ │ ├── user-search-response.ts │ │ │ │ ├── user-viewer-context.ts │ │ │ │ └── user.ts │ │ │ └── schema.d.ts │ │ │ ├── index.ts │ │ │ └── spec.yaml │ ├── tests │ │ ├── integration │ │ │ └── neynarAPI.ts │ │ └── utils.ts │ ├── tsconfig.json │ └── typedoc.json └── farcaster-js │ ├── package.json │ ├── src │ ├── cli.ts │ └── index.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── tsconfig.json └── yarn.lock /.cspell.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2", 3 | "language": "en", 4 | "words": [ 5 | "arrayify", 6 | "esbuild", 7 | "farcaster", 8 | "gavi", 9 | "keccak", 10 | "neynar", 11 | "recasters", 12 | "rmrf", 13 | "socio", 14 | "canonicalize", 15 | "millis", 16 | "recasted", 17 | "unfollow", 18 | "healthcheck", 19 | "recaster", 20 | "unwatch", 21 | "openapi", 22 | "viem", 23 | "warpcast", 24 | "dbstats", 25 | "protobuf", 26 | "errcode", 27 | "devnet", 28 | "corepack", 29 | "codegen", 30 | "fname", 31 | "openapitools", 32 | "commitlint", 33 | "Redocly", 34 | "qrcode", 35 | "TYPEHASH", 36 | "Seedable", 37 | "Solana", 38 | "neverthrow" 39 | ], 40 | "flagWords": [], 41 | "ignorePaths": [ 42 | "CHANGELOG.md", 43 | "package.json", 44 | "package-lock.json", 45 | "yarn.lock", 46 | "**/tsconfig.json", 47 | "**/node_modules/**", 48 | "**/generated/**", 49 | "**/docs/**" 50 | ] 51 | } 52 | -------------------------------------------------------------------------------- /.czrc: -------------------------------------------------------------------------------- 1 | { 2 | "path": "./node_modules/cz-lerna-changelog" 3 | } 4 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @gsgalloway 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. 16 | 2. 17 | 3. 18 | 19 | **Expected behavior** 20 | A clear and concise description of what you expected to happen. 21 | 22 | **Screenshots** 23 | If applicable, add screenshots to help explain your problem. 24 | 25 | **Desktop (please complete the following information):** 26 | - OS: [e.g. Ubuntu 22.04, macOS 11.4] 27 | - Node version [e.g 16.4.2] 28 | - Code Version [e.g. 1.1.0] 29 | 30 | **Additional context** 31 | Add any other context about the problem here. 32 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: GitHub Discussions 4 | url: https://github.com/gjuchault/typescript-library-starter/discussions 5 | about: Please discuss non bug-related topics there 6 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Fixes # 2 | 3 | ## Description of the changes 4 | 5 | - 6 | - 7 | - 8 | -------------------------------------------------------------------------------- /.github/auto-merge.yml: -------------------------------------------------------------------------------- 1 | rules: 2 | - requiredAuthor: app/dependabot 3 | minApprovals: 4 | NONE: 0 5 | requiredLabels: 6 | - dependencies 7 | updateBranch: true 8 | mergeMethod: rebase 9 | reportStatus: true 10 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "github-actions" 4 | directory: "/" 5 | target-branch: "develop" 6 | schedule: 7 | interval: "daily" 8 | 9 | - package-ecosystem: "npm" 10 | directory: "/" 11 | target-branch: "develop" 12 | schedule: 13 | interval: "daily" 14 | commit-message: 15 | include: scope 16 | prefix: fix 17 | prefix-development: chore 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | .nyc_output/ 4 | coverage/ 5 | .DS_Store 6 | types/ 7 | swagger-tmp 8 | .env 9 | .tshy 10 | 11 | # https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored 12 | .pnp.* 13 | .yarn/* 14 | !.yarn/cache 15 | !.yarn/patches 16 | !.yarn/plugins 17 | !.yarn/releases 18 | !.yarn/sdks 19 | !.yarn/versions 20 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | echo "Running commitlint. If this fails, you may have forgotten to use 'yarn cz' to commit" 5 | npx --no-install commitlint --edit "$1" 6 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | yarn workspaces foreach --all run clean:generated 5 | 6 | # recreate generated files 7 | yarn workspaces foreach --all run generate:openapi-axios 8 | yarn workspaces foreach --all run generate:openapi-typescript 9 | yarn workspaces foreach --all run fixup-imports 10 | yarn workspaces foreach --all run generate:docs 11 | git add ':(glob)**/generated/**' 12 | git add ':(glob)**/README.md' ':(glob)**/docs/**' 13 | 14 | # typecheck 15 | yarn type:check 16 | 17 | # lint (includes prettier) 18 | yarn lint 19 | 20 | yarn spell:check 21 | -------------------------------------------------------------------------------- /.releaserc.json: -------------------------------------------------------------------------------- 1 | { 2 | "branches": [ 3 | "+([0-9])?(.{+([0-9]),x}).x", 4 | "main", 5 | "master", 6 | "next", 7 | "next-major", 8 | { 9 | "name": "beta", 10 | "prerelease": true 11 | }, 12 | { 13 | "name": "alpha", 14 | "prerelease": true 15 | } 16 | ], 17 | "repositoryUrl": "https://github.com/standard-crypto/farcaster-js.git", 18 | "plugins": [ 19 | ["@semantic-release/commit-analyzer", { 20 | "releaseRules": [ 21 | {"type": "docs", "release": "patch"}, 22 | {"scope": "no-release", "release": false} 23 | ] 24 | }], 25 | "@semantic-release/release-notes-generator", 26 | "@semantic-release/changelog", 27 | "@semantic-release/git", 28 | "@semantic-release/npm", 29 | "@semantic-release/github" 30 | ] 31 | } 32 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "dbaeumer.vscode-eslint", 4 | "esbenp.prettier-vscode", 5 | "eamodio.gitlens", 6 | "streetsidesoftware.code-spell-checker" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /.vscode/project.code-workspace: -------------------------------------------------------------------------------- 1 | { 2 | "folders": [ 3 | { 4 | "name": "project root", 5 | "path": "../" 6 | }, 7 | { 8 | "name": "packages/farcaster-js", 9 | "path": "../packages/farcaster-js" 10 | }, 11 | { 12 | "name": "packages/farcaster-js-hub-rest", 13 | "path": "../packages/farcaster-js-hub-rest" 14 | }, 15 | { 16 | "name": "packages/farcaster-js-neynar", 17 | "path": "../packages/farcaster-js-neynar" 18 | }, 19 | ], 20 | "settings": { 21 | "files.exclude": { 22 | "packages/": true, 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | // only use words from .cspell.json 3 | "cSpell.userWords": [], 4 | "cSpell.enabled": true, 5 | "editor.formatOnSave": false, 6 | "typescript.tsdk": "node_modules/typescript/lib", 7 | "typescript.enablePromptUseWorkspaceTsdk": true, 8 | "eslint.lintTask.enable": true, 9 | "files.insertFinalNewline": true, 10 | "editor.defaultFormatter": "dbaeumer.vscode-eslint", 11 | "eslint.format.enable": true, 12 | "editor.codeActionsOnSave": { 13 | "source.fixAll.eslint": true 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- 1 | yarnPath: .yarn/releases/yarn-sources.cjs 2 | nodeLinker: node-modules 3 | -------------------------------------------------------------------------------- /commitlint.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = {extends: ['@commitlint/config-conventional', '@commitlint/config-lerna-scopes']} 2 | -------------------------------------------------------------------------------- /examples/neynar.ts: -------------------------------------------------------------------------------- 1 | import { NeynarAPIClient, NeynarV2 } from '@standard-crypto/farcaster-js'; 2 | 3 | const signerUuid = 'approvedSignerUUID'; 4 | const client = new NeynarAPIClient('apiKey'); 5 | 6 | // Publish cast 7 | const cast = await client.v2.publishCast(signerUuid, 'This is a test cast.'); 8 | 9 | // React to cast 10 | await client.v2.reactToCast(signerUuid, NeynarV2.ReactionType.Like, cast.hash); 11 | -------------------------------------------------------------------------------- /packages/farcaster-js-cli/README.md: -------------------------------------------------------------------------------- 1 | # Farcaster JS CLI 2 | 3 | A tool for creating Farcaster signers. 4 | 5 | ![NPM](https://img.shields.io/npm/l/@standard-crypto/farcaster-js-cli?no-cache) 6 | ![NPM](https://img.shields.io/npm/v/@standard-crypto/farcaster-js-cli?no-cache) 7 | ![GitHub Workflow Status](https://github.com/standard-crypto/farcaster-js/actions/workflows/farcaster-js.yml/badge.svg?branch=main) 8 | 9 | ## Setup 10 | 11 | Install the library: 12 | 13 | ```bash 14 | npm install @standard-crypto/farcaster-js-cli 15 | ``` 16 | 17 | ## Creating a Signer 18 | 19 | There are 2 paths for creating a signer - developer managed and Neynar managed. The CLI will walk you through creating the correct signer for your use case. 20 | 21 | ``` 22 | $ farcaster-js-cli create-signer 23 | ``` 24 | -------------------------------------------------------------------------------- /packages/farcaster-js-cli/src/bin.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | import { runCli } from './cli.js'; 3 | 4 | void runCli(); 5 | -------------------------------------------------------------------------------- /packages/farcaster-js-cli/src/index.ts: -------------------------------------------------------------------------------- 1 | export { runCli } from './cli.js'; 2 | -------------------------------------------------------------------------------- /packages/farcaster-js-cli/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "declaration": true, 6 | "paths": {} 7 | }, 8 | "include": [ 9 | "./src/**/*.ts" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/.env.example: -------------------------------------------------------------------------------- 1 | INTEGRATION_TEST_HUB_SIGNER_PRIVATE_KEY= 2 | INTEGRATION_TEST_HUB_VERIFICATION_ADDRESS_MNEMONIC=0x... 3 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/.mocharc.yaml: -------------------------------------------------------------------------------- 1 | require: 2 | - ts-node/register 3 | - dotenv/config 4 | extensions: ['ts'] 5 | spec: ['tests/**/*.ts'] 6 | loader: ts-node/esm 7 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/.nojekyll: -------------------------------------------------------------------------------- 1 | TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/enums/openapi.HashScheme.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / HashScheme 2 | 3 | # Enumeration: HashScheme 4 | 5 | [openapi](../modules/openapi.md).HashScheme 6 | 7 | Type of hashing scheme used to produce a digest of MessageData. - HASH_SCHEME_BLAKE3: Default scheme for hashing MessageData 8 | 9 | **`Export`** 10 | 11 | ## Table of contents 12 | 13 | ### Enumeration Members 14 | 15 | - [HashSchemeBlake3](openapi.HashScheme.md#hashschemeblake3) 16 | 17 | ## Enumeration Members 18 | 19 | ### HashSchemeBlake3 20 | 21 | • **HashSchemeBlake3** = ``"HASH_SCHEME_BLAKE3"`` 22 | 23 | #### Defined in 24 | 25 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/hash-scheme.ts:24](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/hash-scheme.ts#L24) 26 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/enums/openapi.LinkType.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / LinkType 2 | 3 | # Enumeration: LinkType 4 | 5 | [openapi](../modules/openapi.md).LinkType 6 | 7 | Type of Link. - follow: Follow another user 8 | 9 | **`Export`** 10 | 11 | ## Table of contents 12 | 13 | ### Enumeration Members 14 | 15 | - [Follow](openapi.LinkType.md#follow) 16 | 17 | ## Enumeration Members 18 | 19 | ### Follow 20 | 21 | • **Follow** = ``"follow"`` 22 | 23 | #### Defined in 24 | 25 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/link-type.ts:24](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/link-type.ts#L24) 26 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.CastAddAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / CastAddAllOf 2 | 3 | # Interface: CastAddAllOf 4 | 5 | [openapi](../modules/openapi.md).CastAddAllOf 6 | 7 | **`Export`** 8 | 9 | CastAddAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [data](openapi.CastAddAllOf.md#data) 16 | 17 | ## Properties 18 | 19 | ### data 20 | 21 | • **data**: [`CastAddAllOfData`](../modules/openapi.md#castaddallofdata) 22 | 23 | **`Memberof`** 24 | 25 | CastAddAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/cast-add-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/cast-add-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.CastAddAllOfDataAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / CastAddAllOfDataAllOf 2 | 3 | # Interface: CastAddAllOfDataAllOf 4 | 5 | [openapi](../modules/openapi.md).CastAddAllOfDataAllOf 6 | 7 | **`Export`** 8 | 9 | CastAddAllOfDataAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [type](openapi.CastAddAllOfDataAllOf.md#type) 16 | 17 | ## Properties 18 | 19 | ### type 20 | 21 | • **type**: [`MessageType`](../enums/openapi.MessageType.md) 22 | 23 | **`Memberof`** 24 | 25 | CastAddAllOfDataAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/cast-add-all-of-data-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/cast-add-all-of-data-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.CastEmbed.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / CastEmbed 2 | 3 | # Interface: CastEmbed 4 | 5 | [openapi](../modules/openapi.md).CastEmbed 6 | 7 | **`Export`** 8 | 9 | CastEmbed 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [castId](openapi.CastEmbed.md#castid) 16 | 17 | ## Properties 18 | 19 | ### castId 20 | 21 | • **castId**: [`CastId`](openapi.CastId.md) 22 | 23 | **`Memberof`** 24 | 25 | CastEmbed 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/cast-embed.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/cast-embed.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.CastRemoveAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / CastRemoveAllOf 2 | 3 | # Interface: CastRemoveAllOf 4 | 5 | [openapi](../modules/openapi.md).CastRemoveAllOf 6 | 7 | **`Export`** 8 | 9 | CastRemoveAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [data](openapi.CastRemoveAllOf.md#data) 16 | 17 | ## Properties 18 | 19 | ### data 20 | 21 | • **data**: [`CastRemoveAllOfData`](../modules/openapi.md#castremoveallofdata) 22 | 23 | **`Memberof`** 24 | 25 | CastRemoveAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/cast-remove-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/cast-remove-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.CastRemoveBody.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / CastRemoveBody 2 | 3 | # Interface: CastRemoveBody 4 | 5 | [openapi](../modules/openapi.md).CastRemoveBody 6 | 7 | Removes an existing Cast 8 | 9 | **`Export`** 10 | 11 | CastRemoveBody 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [targetHash](openapi.CastRemoveBody.md#targethash) 18 | 19 | ## Properties 20 | 21 | ### targetHash 22 | 23 | • **targetHash**: `string` 24 | 25 | **`Memberof`** 26 | 27 | CastRemoveBody 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/cast-remove-body.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/cast-remove-body.ts#L28) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.ErrorResponseMetadata.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / ErrorResponseMetadata 2 | 3 | # Interface: ErrorResponseMetadata 4 | 5 | [openapi](../modules/openapi.md).ErrorResponseMetadata 6 | 7 | **`Export`** 8 | 9 | ErrorResponseMetadata 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [errcode](openapi.ErrorResponseMetadata.md#errcode) 16 | 17 | ## Properties 18 | 19 | ### errcode 20 | 21 | • **errcode**: `string`[] 22 | 23 | **`Memberof`** 24 | 25 | ErrorResponseMetadata 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/error-response-metadata.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/error-response-metadata.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.InfoApiGetInfoRequest.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / InfoApiGetInfoRequest 2 | 3 | # Interface: InfoApiGetInfoRequest 4 | 5 | [openapi](../modules/openapi.md).InfoApiGetInfoRequest 6 | 7 | Request parameters for getInfo operation in InfoApi. 8 | 9 | **`Export`** 10 | 11 | InfoApiGetInfoRequest 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [dbstats](openapi.InfoApiGetInfoRequest.md#dbstats) 18 | 19 | ## Properties 20 | 21 | ### dbstats 22 | 23 | • `Readonly` **dbstats**: `boolean` 24 | 25 | Whether to return DB stats 26 | 27 | **`Memberof`** 28 | 29 | InfoApiGetInfo 30 | 31 | #### Defined in 32 | 33 | [packages/farcaster-js-hub-rest/src/openapi/generated/apis/info-api.ts:126](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/apis/info-api.ts#L126) 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.LinkAddAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / LinkAddAllOf 2 | 3 | # Interface: LinkAddAllOf 4 | 5 | [openapi](../modules/openapi.md).LinkAddAllOf 6 | 7 | **`Export`** 8 | 9 | LinkAddAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [data](openapi.LinkAddAllOf.md#data) 16 | 17 | ## Properties 18 | 19 | ### data 20 | 21 | • **data**: [`LinkAddAllOfData`](../modules/openapi.md#linkaddallofdata) 22 | 23 | **`Memberof`** 24 | 25 | LinkAddAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/link-add-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/link-add-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.MergeOnChainEventBody.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / MergeOnChainEventBody 2 | 3 | # Interface: MergeOnChainEventBody 4 | 5 | [openapi](../modules/openapi.md).MergeOnChainEventBody 6 | 7 | **`Export`** 8 | 9 | MergeOnChainEventBody 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [onChainEvent](openapi.MergeOnChainEventBody.md#onchainevent) 16 | 17 | ## Properties 18 | 19 | ### onChainEvent 20 | 21 | • **onChainEvent**: [`OnChainEvent`](../modules/openapi.md#onchainevent) 22 | 23 | **`Memberof`** 24 | 25 | MergeOnChainEventBody 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/merge-on-chain-event-body.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/merge-on-chain-event-body.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.MessageAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / MessageAllOf 2 | 3 | # Interface: MessageAllOf 4 | 5 | [openapi](../modules/openapi.md).MessageAllOf 6 | 7 | **`Export`** 8 | 9 | MessageAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [data](openapi.MessageAllOf.md#data) 16 | 17 | ## Properties 18 | 19 | ### data 20 | 21 | • **data**: [`MessageAllOfData`](../modules/openapi.md#messageallofdata) 22 | 23 | **`Memberof`** 24 | 25 | MessageAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/message-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/message-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.MessageDataCastAddAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / MessageDataCastAddAllOf 2 | 3 | # Interface: MessageDataCastAddAllOf 4 | 5 | [openapi](../modules/openapi.md).MessageDataCastAddAllOf 6 | 7 | **`Export`** 8 | 9 | MessageDataCastAddAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [castAddBody](openapi.MessageDataCastAddAllOf.md#castaddbody) 16 | 17 | ## Properties 18 | 19 | ### castAddBody 20 | 21 | • **castAddBody**: [`CastAddBody`](openapi.CastAddBody.md) 22 | 23 | **`Memberof`** 24 | 25 | MessageDataCastAddAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-cast-add-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-cast-add-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.MessageDataCastRemoveAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / MessageDataCastRemoveAllOf 2 | 3 | # Interface: MessageDataCastRemoveAllOf 4 | 5 | [openapi](../modules/openapi.md).MessageDataCastRemoveAllOf 6 | 7 | **`Export`** 8 | 9 | MessageDataCastRemoveAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [castRemoveBody](openapi.MessageDataCastRemoveAllOf.md#castremovebody) 16 | 17 | ## Properties 18 | 19 | ### castRemoveBody 20 | 21 | • **castRemoveBody**: [`CastRemoveBody`](openapi.CastRemoveBody.md) 22 | 23 | **`Memberof`** 24 | 25 | MessageDataCastRemoveAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-cast-remove-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-cast-remove-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.MessageDataFrameActionAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / MessageDataFrameActionAllOf 2 | 3 | # Interface: MessageDataFrameActionAllOf 4 | 5 | [openapi](../modules/openapi.md).MessageDataFrameActionAllOf 6 | 7 | **`Export`** 8 | 9 | MessageDataFrameActionAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [frameActionBody](openapi.MessageDataFrameActionAllOf.md#frameactionbody) 16 | 17 | ## Properties 18 | 19 | ### frameActionBody 20 | 21 | • **frameActionBody**: [`FrameActionBody`](openapi.FrameActionBody.md) 22 | 23 | **`Memberof`** 24 | 25 | MessageDataFrameActionAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-frame-action-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-frame-action-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.MessageDataLinkAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / MessageDataLinkAllOf 2 | 3 | # Interface: MessageDataLinkAllOf 4 | 5 | [openapi](../modules/openapi.md).MessageDataLinkAllOf 6 | 7 | **`Export`** 8 | 9 | MessageDataLinkAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [linkBody](openapi.MessageDataLinkAllOf.md#linkbody) 16 | 17 | ## Properties 18 | 19 | ### linkBody 20 | 21 | • **linkBody**: [`LinkBody`](openapi.LinkBody.md) 22 | 23 | **`Memberof`** 24 | 25 | MessageDataLinkAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-link-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-link-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.MessageDataReactionAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / MessageDataReactionAllOf 2 | 3 | # Interface: MessageDataReactionAllOf 4 | 5 | [openapi](../modules/openapi.md).MessageDataReactionAllOf 6 | 7 | **`Export`** 8 | 9 | MessageDataReactionAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [reactionBody](openapi.MessageDataReactionAllOf.md#reactionbody) 16 | 17 | ## Properties 18 | 19 | ### reactionBody 20 | 21 | • **reactionBody**: [`ReactionBody`](openapi.ReactionBody.md) 22 | 23 | **`Memberof`** 24 | 25 | MessageDataReactionAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-reaction-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-reaction-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.MessageDataUserDataAddAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / MessageDataUserDataAddAllOf 2 | 3 | # Interface: MessageDataUserDataAddAllOf 4 | 5 | [openapi](../modules/openapi.md).MessageDataUserDataAddAllOf 6 | 7 | **`Export`** 8 | 9 | MessageDataUserDataAddAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [userDataBody](openapi.MessageDataUserDataAddAllOf.md#userdatabody) 16 | 17 | ## Properties 18 | 19 | ### userDataBody 20 | 21 | • **userDataBody**: [`UserDataBody`](openapi.UserDataBody.md) 22 | 23 | **`Memberof`** 24 | 25 | MessageDataUserDataAddAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-user-data-add-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-user-data-add-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.MessageDataUsernameProofAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / MessageDataUsernameProofAllOf 2 | 3 | # Interface: MessageDataUsernameProofAllOf 4 | 5 | [openapi](../modules/openapi.md).MessageDataUsernameProofAllOf 6 | 7 | **`Export`** 8 | 9 | MessageDataUsernameProofAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [usernameProofBody](openapi.MessageDataUsernameProofAllOf.md#usernameproofbody) 16 | 17 | ## Properties 18 | 19 | ### usernameProofBody 20 | 21 | • **usernameProofBody**: [`UserNameProof`](openapi.UserNameProof.md) 22 | 23 | **`Memberof`** 24 | 25 | MessageDataUsernameProofAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-username-proof-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/message-data-username-proof-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.OnChainEventSignerAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / OnChainEventSignerAllOf 2 | 3 | # Interface: OnChainEventSignerAllOf 4 | 5 | [openapi](../modules/openapi.md).OnChainEventSignerAllOf 6 | 7 | **`Export`** 8 | 9 | OnChainEventSignerAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [signerEventBody](openapi.OnChainEventSignerAllOf.md#signereventbody) 16 | 17 | ## Properties 18 | 19 | ### signerEventBody 20 | 21 | • **signerEventBody**: [`SignerEventBody`](openapi.SignerEventBody.md) 22 | 23 | **`Memberof`** 24 | 25 | OnChainEventSignerAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/on-chain-event-signer-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/on-chain-event-signer-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.PruneMessageBody.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / PruneMessageBody 2 | 3 | # Interface: PruneMessageBody 4 | 5 | [openapi](../modules/openapi.md).PruneMessageBody 6 | 7 | **`Export`** 8 | 9 | PruneMessageBody 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [message](openapi.PruneMessageBody.md#message) 16 | 17 | ## Properties 18 | 19 | ### message 20 | 21 | • **message**: [`Message`](../modules/openapi.md#message) 22 | 23 | **`Memberof`** 24 | 25 | PruneMessageBody 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/prune-message-body.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/prune-message-body.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.ReactionAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / ReactionAllOf 2 | 3 | # Interface: ReactionAllOf 4 | 5 | [openapi](../modules/openapi.md).ReactionAllOf 6 | 7 | **`Export`** 8 | 9 | ReactionAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [data](openapi.ReactionAllOf.md#data) 16 | 17 | ## Properties 18 | 19 | ### data 20 | 21 | • **data**: [`ReactionAllOfData`](../modules/openapi.md#reactionallofdata) 22 | 23 | **`Memberof`** 24 | 25 | ReactionAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/reaction-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/reaction-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.ReactionRemoveAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / ReactionRemoveAllOf 2 | 3 | # Interface: ReactionRemoveAllOf 4 | 5 | [openapi](../modules/openapi.md).ReactionRemoveAllOf 6 | 7 | **`Export`** 8 | 9 | ReactionRemoveAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [data](openapi.ReactionRemoveAllOf.md#data) 16 | 17 | ## Properties 18 | 19 | ### data 20 | 21 | • **data**: [`MessageDataReaction`](../modules/openapi.md#messagedatareaction) 22 | 23 | **`Memberof`** 24 | 25 | ReactionRemoveAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/reaction-remove-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/reaction-remove-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.RevokeMessageBody.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / RevokeMessageBody 2 | 3 | # Interface: RevokeMessageBody 4 | 5 | [openapi](../modules/openapi.md).RevokeMessageBody 6 | 7 | **`Export`** 8 | 9 | RevokeMessageBody 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [message](openapi.RevokeMessageBody.md#message) 16 | 17 | ## Properties 18 | 19 | ### message 20 | 21 | • **message**: [`Message`](../modules/openapi.md#message) 22 | 23 | **`Memberof`** 24 | 25 | RevokeMessageBody 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/revoke-message-body.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/revoke-message-body.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.SignerMigratedEventBody.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / SignerMigratedEventBody 2 | 3 | # Interface: SignerMigratedEventBody 4 | 5 | [openapi](../modules/openapi.md).SignerMigratedEventBody 6 | 7 | **`Export`** 8 | 9 | SignerMigratedEventBody 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [migratedAt](openapi.SignerMigratedEventBody.md#migratedat) 16 | 17 | ## Properties 18 | 19 | ### migratedAt 20 | 21 | • **migratedAt**: `number` 22 | 23 | **`Memberof`** 24 | 25 | SignerMigratedEventBody 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/signer-migrated-event-body.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/signer-migrated-event-body.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.StorageLimitsResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / StorageLimitsResponse 2 | 3 | # Interface: StorageLimitsResponse 4 | 5 | [openapi](../modules/openapi.md).StorageLimitsResponse 6 | 7 | **`Export`** 8 | 9 | StorageLimitsResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [limits](openapi.StorageLimitsResponse.md#limits) 16 | 17 | ## Properties 18 | 19 | ### limits 20 | 21 | • **limits**: [`StorageLimit`](openapi.StorageLimit.md)[] 22 | 23 | **`Memberof`** 24 | 25 | StorageLimitsResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/storage-limits-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/storage-limits-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.UrlEmbed.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / UrlEmbed 2 | 3 | # Interface: UrlEmbed 4 | 5 | [openapi](../modules/openapi.md).UrlEmbed 6 | 7 | **`Export`** 8 | 9 | UrlEmbed 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [url](openapi.UrlEmbed.md#url) 16 | 17 | ## Properties 18 | 19 | ### url 20 | 21 | • **url**: `string` 22 | 23 | **`Memberof`** 24 | 25 | UrlEmbed 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/url-embed.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/url-embed.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.UserDataAddAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / UserDataAddAllOf 2 | 3 | # Interface: UserDataAddAllOf 4 | 5 | [openapi](../modules/openapi.md).UserDataAddAllOf 6 | 7 | **`Export`** 8 | 9 | UserDataAddAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [data](openapi.UserDataAddAllOf.md#data) 16 | 17 | ## Properties 18 | 19 | ### data 20 | 21 | • **data**: [`UserDataAddAllOfData`](../modules/openapi.md#userdataaddallofdata) 22 | 23 | **`Memberof`** 24 | 25 | UserDataAddAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/user-data-add-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/user-data-add-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.UsernameProofsResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / UsernameProofsResponse 2 | 3 | # Interface: UsernameProofsResponse 4 | 5 | [openapi](../modules/openapi.md).UsernameProofsResponse 6 | 7 | **`Export`** 8 | 9 | UsernameProofsResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [proofs](openapi.UsernameProofsResponse.md#proofs) 16 | 17 | ## Properties 18 | 19 | ### proofs 20 | 21 | • **proofs**: [`UserNameProof`](openapi.UserNameProof.md)[] 22 | 23 | **`Memberof`** 24 | 25 | UsernameProofsResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/username-proofs-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/username-proofs-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.VerificationAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / VerificationAllOf 2 | 3 | # Interface: VerificationAllOf 4 | 5 | [openapi](../modules/openapi.md).VerificationAllOf 6 | 7 | **`Export`** 8 | 9 | VerificationAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [data](openapi.VerificationAllOf.md#data) 16 | 17 | ## Properties 18 | 19 | ### data 20 | 21 | • **data**: [`VerificationAllOfData`](../modules/openapi.md#verificationallofdata) 22 | 23 | **`Memberof`** 24 | 25 | VerificationAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/verification-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/verification-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.VerificationRemoveAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / VerificationRemoveAllOf 2 | 3 | # Interface: VerificationRemoveAllOf 4 | 5 | [openapi](../modules/openapi.md).VerificationRemoveAllOf 6 | 7 | **`Export`** 8 | 9 | VerificationRemoveAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [data](openapi.VerificationRemoveAllOf.md#data) 16 | 17 | ## Properties 18 | 19 | ### data 20 | 21 | • **data**: [`VerificationRemoveAllOfData`](../modules/openapi.md#verificationremoveallofdata) 22 | 23 | **`Memberof`** 24 | 25 | VerificationRemoveAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/verification-remove-all-of.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/verification-remove-all-of.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/interfaces/openapi.VerificationRemoveBody.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / VerificationRemoveBody 2 | 3 | # Interface: VerificationRemoveBody 4 | 5 | [openapi](../modules/openapi.md).VerificationRemoveBody 6 | 7 | Removes a Verification of any type 8 | 9 | **`Export`** 10 | 11 | VerificationRemoveBody 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [address](openapi.VerificationRemoveBody.md#address) 18 | 19 | ## Properties 20 | 21 | ### address 22 | 23 | • **address**: `string` 24 | 25 | **`Memberof`** 26 | 27 | VerificationRemoveBody 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-hub-rest/src/openapi/generated/models/verification-remove-body.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/openapi/generated/models/verification-remove-body.ts#L28) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/modules.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](README.md) / Modules 2 | 3 | # @standard-crypto/farcaster-js-hub-rest 4 | 5 | ## Table of contents 6 | 7 | ### Modules 8 | 9 | - [farcasterEpochTimestamp](modules/farcasterEpochTimestamp.md) 10 | - [hubRestApiClient](modules/hubRestApiClient.md) 11 | - [logger](modules/logger.md) 12 | - [openapi](modules/openapi.md) 13 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/docs/modules/logger.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-hub-rest](../README.md) / [Modules](../modules.md) / logger 2 | 3 | # Module: logger 4 | 5 | ## Table of contents 6 | 7 | ### Interfaces 8 | 9 | - [Logger](../interfaces/logger.Logger.md) 10 | 11 | ### Variables 12 | 13 | - [silentLogger](logger.md#silentlogger) 14 | 15 | ## Variables 16 | 17 | ### silentLogger 18 | 19 | • `Const` **silentLogger**: [`Logger`](../interfaces/logger.Logger.md) 20 | 21 | #### Defined in 22 | 23 | [packages/farcaster-js-hub-rest/src/logger.ts:14](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-hub-rest/src/logger.ts#L14) 24 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/examples/changeTargetHub.ts: -------------------------------------------------------------------------------- 1 | import { HubRestAPIClient } from '@standard-crypto/farcaster-js-hub-rest'; 2 | 3 | const client = new HubRestAPIClient({ hubUrl: 'https://hub.farcaster.standardcrypto.vc:2281' }); 4 | console.log(await client.getHubInfo()); 5 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/examples/followUser.ts: -------------------------------------------------------------------------------- 1 | import { HubRestAPIClient } from '@standard-crypto/farcaster-js-hub-rest'; 2 | 3 | const signerPrivateKey = '0x...'; 4 | const fid = 111; 5 | const targetFid = 6365; 6 | const client = new HubRestAPIClient({ hubUrl: 'https://hub.farcaster.standardcrypto.vc:2281' }); 7 | 8 | const followResponse = await client.followUser(targetFid, fid, signerPrivateKey); 9 | console.log(`follow hash: ${followResponse.hash}`); 10 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/examples/getCastById.ts: -------------------------------------------------------------------------------- 1 | import { FarcasterEpochTimestamp, HubRestAPIClient } from '@standard-crypto/farcaster-js-hub-rest'; 2 | 3 | const client = new HubRestAPIClient(); 4 | 5 | const cast = await client.getCastById({ 6 | fid: 2, 7 | hash: '0xd2b1ddc6c88e865a33cb1a565e0058d757042974', 8 | }); 9 | if (cast === null) { 10 | throw new Error('Cast not found'); 11 | } 12 | 13 | console.log(cast.data.castAddBody.text); // text 14 | console.log(FarcasterEpochTimestamp.parse(cast.data.timestamp)); // timestamp 15 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/examples/hubInfo.ts: -------------------------------------------------------------------------------- 1 | import { HubRestAPIClient } from '@standard-crypto/farcaster-js-hub-rest'; 2 | 3 | const client = new HubRestAPIClient(); 4 | 5 | const hubInfo = await client.getHubInfo(); 6 | console.log(hubInfo.nickname); 7 | 8 | const hubInfoWithStats = await client.getHubInfo({ includeDbStats: true }); 9 | console.log(hubInfoWithStats.dbStats.numMessages); 10 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/examples/listCastsByFid.ts: -------------------------------------------------------------------------------- 1 | import { HubRestAPIClient } from '@standard-crypto/farcaster-js-hub-rest'; 2 | 3 | const client = new HubRestAPIClient(); 4 | 5 | const casts = client.listCastsByFid(2); 6 | for await (const cast of casts) { 7 | console.log(cast.data.castAddBody.text); 8 | } 9 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/examples/publishCast.ts: -------------------------------------------------------------------------------- 1 | import { HubRestAPIClient } from '@standard-crypto/farcaster-js-hub-rest'; 2 | 3 | const signerPrivateKey = '0x...'; 4 | const fid = 111; 5 | const client = new HubRestAPIClient({ hubUrl: 'https://hub.farcaster.standardcrypto.vc:2281' }); 6 | 7 | const publishCastResponse = await client.submitCast({ text: 'This is a test cast submitted from farcaster-js-hub-rest' }, fid, signerPrivateKey); 8 | console.log(`new cast hash: ${publishCastResponse.hash}`); 9 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/examples/reactToCast.ts: -------------------------------------------------------------------------------- 1 | import { HubRestAPIClient } from '@standard-crypto/farcaster-js-hub-rest'; 2 | 3 | const signerPrivateKey = '0x...'; 4 | const fid = 111; 5 | const targetFid = 6365; 6 | const targetCastHash = '0x3dba25e25db088f1a981da2b65b00f6008faee06'; 7 | const client = new HubRestAPIClient({ hubUrl: 'https://hub.farcaster.standardcrypto.vc:2281' }); 8 | 9 | const reactToCastResponse = await client.submitReaction({ type: 'like', target: { fid: targetFid, hash: targetCastHash } }, fid, signerPrivateKey); 10 | console.log(`reaction hash: ${reactToCastResponse.hash}`); 11 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/examples/validateMessage.ts: -------------------------------------------------------------------------------- 1 | import { HubRestAPIClient } from '@standard-crypto/farcaster-js-hub-rest'; 2 | 3 | const client = new HubRestAPIClient(); 4 | const rawMessageBytes = '0x0a42080d10c4aa0118c6d1922e20018201320a12687474703a2f2f6578616d706c652e636f6d10011a1a08c4aa0112141fd48ddc9d5910046acfa5e1b91d253763e320c31214230a1291ae8e220bf9173d9090716981402bdd3d18012240f08c907486afe1c3311565b7a27c1f0011c74bd22ba167abe8ba30a35e808cbeae674aef7b74d3161c6186e48e3cc4d843c5ec9dc1dce9c6b71547adcc02c90c28013220196a70ac9847d59e039d0cfcf0cde1adac12f5fb447bb53334d67ab18246306c'; 5 | 6 | const validateCastResponse = await client.validateMessage(rawMessageBytes); 7 | console.log(`valid message: ${validateCastResponse.valid}`); 8 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/examples/verifyAddress.ts: -------------------------------------------------------------------------------- 1 | import { HubRestAPIClient } from '@standard-crypto/farcaster-js-hub-rest'; 2 | 3 | const signerPrivateKey = '0x...'; 4 | const fid = 111; 5 | const verifiedAddressMnemonic = 'the mnemonic or private key for your address to verify'; 6 | const client = new HubRestAPIClient({ hubUrl: 'https://hub.farcaster.standardcrypto.vc:2281' }); 7 | 8 | const followResponse = await client.submitVerification({ verifiedAddressMnemonicOrPrivateKey: verifiedAddressMnemonic, verificationType: 'EOA', network: 'MAINNET', chainId: 0 }, fid, signerPrivateKey); 9 | console.log(`follow hash: ${followResponse.hash}`); 10 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/openapi-generator-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "withSeparateModelsAndApi": true, 3 | "apiPackage": "apis", 4 | "modelPackage": "models", 5 | "stringEnums": true, 6 | "useSingleRequestParameter": true, 7 | "supportsES6": true, 8 | "enablePostProcessFile": true 9 | } 10 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/openapitools.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../node_modules/@openapitools/openapi-generator-cli/config.schema.json", 3 | "spaces": 2, 4 | "generator-cli": { 5 | "version": "6.6.0" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/farcasterEpochTimestamp.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Utilities for interacting with serialized timestamps in the 3 | * Farcaster protocol. See [Farcaster docs](https://github.com/farcasterxyz/protocol/blob/main/docs/SPECIFICATION.md#timestamps) 4 | * for more information. 5 | * @module 6 | */ 7 | 8 | export const START = new Date('01 Jan 2021 00:00:00 UTC'); 9 | 10 | /** 11 | * Parses a Farcaster timestamp 12 | * @param timestamp seconds since Jan 1, 2021 00:00:00UTC 13 | * @returns 14 | */ 15 | export function parse(timestamp: number): Date { 16 | return new Date(START.getTime() + timestamp * 1000); 17 | } 18 | 19 | /** 20 | * Serialized a timestamp to seconds since the Farcaster epoch 21 | * @param d timestamp as a Date instance 22 | * @returns 23 | */ 24 | export function serialize(d: Date): number { 25 | return (d.getTime() - START.getTime()) / 1000; 26 | } 27 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hubRestApiClient.js'; 2 | export * as FarcasterEpochTimestamp from './farcasterEpochTimestamp.js'; 3 | export * from './logger.js'; 4 | export * from './openapi/index.js'; 5 | export * from './signers.js'; 6 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 6.6.0 -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | export * from "./api.js"; 17 | export * from "./configuration.js"; 18 | export * from "./models/index.js"; 19 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/models/cast-remove-body.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * Removes an existing Cast 19 | * @export 20 | * @interface CastRemoveBody 21 | */ 22 | export interface CastRemoveBody { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof CastRemoveBody 27 | */ 28 | 'targetHash': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/models/error-response-metadata.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface ErrorResponseMetadata 21 | */ 22 | export interface ErrorResponseMetadata { 23 | /** 24 | * 25 | * @type {Array} 26 | * @memberof ErrorResponseMetadata 27 | */ 28 | 'errcode': Array; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/models/hash-scheme.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * Type of hashing scheme used to produce a digest of MessageData. - HASH_SCHEME_BLAKE3: Default scheme for hashing MessageData 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum HashScheme { 24 | HashSchemeBlake3 = 'HASH_SCHEME_BLAKE3' 25 | } 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/models/id-register-event-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum IdRegisterEventType { 24 | Register = 'ID_REGISTER_EVENT_TYPE_REGISTER', 25 | Transfer = 'ID_REGISTER_EVENT_TYPE_TRANSFER', 26 | ChangeRecovery = 'ID_REGISTER_EVENT_TYPE_CHANGE_RECOVERY' 27 | } 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/models/link-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * Type of Link. - follow: Follow another user 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum LinkType { 24 | Follow = 'follow' 25 | } 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/models/on-chain-event-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum OnChainEventType { 24 | Signer = 'EVENT_TYPE_SIGNER', 25 | SignerMigrated = 'EVENT_TYPE_SIGNER_MIGRATED', 26 | IdRegister = 'EVENT_TYPE_ID_REGISTER', 27 | StorageRent = 'EVENT_TYPE_STORAGE_RENT' 28 | } 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/models/reaction-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * Type of Reaction. - REACTION_TYPE_LIKE: Like the target cast - REACTION_TYPE_RECAST: Share target cast to the user\'s audience 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum ReactionType { 24 | Like = 'REACTION_TYPE_LIKE', 25 | Recast = 'REACTION_TYPE_RECAST' 26 | } 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/models/signer-event-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum SignerEventType { 24 | Add = 'SIGNER_EVENT_TYPE_ADD', 25 | Remove = 'SIGNER_EVENT_TYPE_REMOVE', 26 | AdminReset = 'SIGNER_EVENT_TYPE_ADMIN_RESET' 27 | } 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/models/signer-migrated-event-body.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface SignerMigratedEventBody 21 | */ 22 | export interface SignerMigratedEventBody { 23 | /** 24 | * 25 | * @type {number} 26 | * @memberof SignerMigratedEventBody 27 | */ 28 | 'migratedAt': number; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/models/url-embed.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface UrlEmbed 21 | */ 22 | export interface UrlEmbed { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof UrlEmbed 27 | */ 28 | 'url': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/models/user-name-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum UserNameType { 24 | Fname = 'USERNAME_TYPE_FNAME', 25 | EnsL1 = 'USERNAME_TYPE_ENS_L1' 26 | } 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/generated/models/verification-remove-body.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster Hub REST API 5 | * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * Removes a Verification of any type 19 | * @export 20 | * @interface VerificationRemoveBody 21 | */ 22 | export interface VerificationRemoveBody { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof VerificationRemoveBody 27 | */ 28 | 'address': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/index.ts: -------------------------------------------------------------------------------- 1 | export * from './generated/index.js'; 2 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/src/openapi/post-process.sh: -------------------------------------------------------------------------------- 1 | sed 's/File/Buffer/g' src/openapi/generated/apis/submit-message-api.ts > src/openapi/generated/apis/submit-message-api-temp.ts 2 | rm src/openapi/generated/apis/submit-message-api.ts 3 | mv src/openapi/generated/apis/submit-message-api-temp.ts src/openapi/generated/apis/submit-message-api.ts 4 | sed 's/File/Buffer/g' src/openapi/generated/apis/validate-message-api.ts > src/openapi/generated/apis/validate-message-api-temp.ts 5 | rm src/openapi/generated/apis/validate-message-api.ts 6 | mv src/openapi/generated/apis/validate-message-api-temp.ts src/openapi/generated/apis/validate-message-api.ts 7 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/tests/utils.ts: -------------------------------------------------------------------------------- 1 | import { expect } from 'chai'; 2 | 3 | export function expectDefinedNonNull(arg: T): asserts arg is NonNullable { 4 | expect(arg).to.not.be.undefined; 5 | expect(arg).to.not.be.null; 6 | } 7 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "declaration": true, 6 | "rootDir": "." 7 | }, 8 | "include": [ 9 | "./src/**/*.ts", 10 | "./examples/**/*.ts", 11 | "./tests/**/*.ts" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /packages/farcaster-js-hub-rest/typedoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "entryPoints": [ 3 | "./src/hubRestApiClient.ts", 4 | "./src/openapi/index.ts", 5 | "./src/farcasterEpochTimestamp.ts", 6 | "./src/logger.ts" 7 | ], 8 | "out": "docs", 9 | "exclude": [], 10 | "gitRevision": "main", 11 | "theme": "markdown", 12 | "readme": "./README.md", 13 | "excludePrivate": true 14 | } 15 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/.env.example: -------------------------------------------------------------------------------- 1 | SIGNER_USER_MNEMONIC=twelve words here only required to generate signer 2 | INTEGRATION_TEST_NEYNAR_API_KEY=neynar_api_key 3 | INTEGRATION_TEST_NEYNAR_SIGNER_UUID=signer_uuid 4 | INTEGRATION_TEST_NEYNAR_SIGNER_PUBLIC_KEY=0x1234 5 | INTEGRATION_TEST_NEYNAR_SIGNER_FID=000 6 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/.mocharc.yaml: -------------------------------------------------------------------------------- 1 | require: 2 | - ts-node/register 3 | - dotenv/config 4 | extensions: [ts] 5 | spec: [tests/**/*.ts] 6 | loader: ts-node/esm 7 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/.nojekyll: -------------------------------------------------------------------------------- 1 | TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/enums/v2.DehydratedFollowerObjectEnum.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / DehydratedFollowerObjectEnum 2 | 3 | # Enumeration: DehydratedFollowerObjectEnum 4 | 5 | [v2](../modules/v2.md).DehydratedFollowerObjectEnum 6 | 7 | **`Export`** 8 | 9 | ## Table of contents 10 | 11 | ### Enumeration Members 12 | 13 | - [Follow](v2.DehydratedFollowerObjectEnum.md#follow) 14 | 15 | ## Enumeration Members 16 | 17 | ### Follow 18 | 19 | • **Follow** = ``"follow"`` 20 | 21 | #### Defined in 22 | 23 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/dehydrated-follower.ts:45](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/dehydrated-follower.ts#L45) 24 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/enums/v2.HydratedFollowerObjectEnum.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / HydratedFollowerObjectEnum 2 | 3 | # Enumeration: HydratedFollowerObjectEnum 4 | 5 | [v2](../modules/v2.md).HydratedFollowerObjectEnum 6 | 7 | **`Export`** 8 | 9 | ## Table of contents 10 | 11 | ### Enumeration Members 12 | 13 | - [Follow](v2.HydratedFollowerObjectEnum.md#follow) 14 | 15 | ## Enumeration Members 16 | 17 | ### Follow 18 | 19 | • **Follow** = ``"follow"`` 20 | 21 | #### Defined in 22 | 23 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/hydrated-follower.ts:45](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/hydrated-follower.ts#L45) 24 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/enums/v2.NotificationFollowObjectEnum.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / NotificationFollowObjectEnum 2 | 3 | # Enumeration: NotificationFollowObjectEnum 4 | 5 | [v2](../modules/v2.md).NotificationFollowObjectEnum 6 | 7 | **`Export`** 8 | 9 | ## Table of contents 10 | 11 | ### Enumeration Members 12 | 13 | - [Follow](v2.NotificationFollowObjectEnum.md#follow) 14 | 15 | ## Enumeration Members 16 | 17 | ### Follow 18 | 19 | • **Follow** = ``"follow"`` 20 | 21 | #### Defined in 22 | 23 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/notification-follow.ts:45](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/notification-follow.ts#L45) 24 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/enums/v2.NotificationReactionsCastObjectEnum.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / NotificationReactionsCastObjectEnum 2 | 3 | # Enumeration: NotificationReactionsCastObjectEnum 4 | 5 | [v2](../modules/v2.md).NotificationReactionsCastObjectEnum 6 | 7 | **`Export`** 8 | 9 | ## Table of contents 10 | 11 | ### Enumeration Members 12 | 13 | - [CastDehydrated](v2.NotificationReactionsCastObjectEnum.md#castdehydrated) 14 | 15 | ## Enumeration Members 16 | 17 | ### CastDehydrated 18 | 19 | • **CastDehydrated** = ``"cast_dehydrated"`` 20 | 21 | #### Defined in 22 | 23 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/notification-reactions-cast.ts:42](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/notification-reactions-cast.ts#L42) 24 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/enums/v2.UserDehydratedObjectEnum.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / UserDehydratedObjectEnum 2 | 3 | # Enumeration: UserDehydratedObjectEnum 4 | 5 | [v2](../modules/v2.md).UserDehydratedObjectEnum 6 | 7 | **`Export`** 8 | 9 | ## Table of contents 10 | 11 | ### Enumeration Members 12 | 13 | - [UserDehydrated](v2.UserDehydratedObjectEnum.md#userdehydrated) 14 | 15 | ## Enumeration Members 16 | 17 | ### UserDehydrated 18 | 19 | • **UserDehydrated** = ``"user_dehydrated"`` 20 | 21 | #### Defined in 22 | 23 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-dehydrated.ts:42](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-dehydrated.ts#L42) 24 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/enums/v2.UserObjectEnum.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / UserObjectEnum 2 | 3 | # Enumeration: UserObjectEnum 4 | 5 | [v2](../modules/v2.md).UserObjectEnum 6 | 7 | **`Export`** 8 | 9 | ## Table of contents 10 | 11 | ### Enumeration Members 12 | 13 | - [User](v2.UserObjectEnum.md#user) 14 | 15 | ## Enumeration Members 16 | 17 | ### User 18 | 19 | • **User** = ``"user"`` 20 | 21 | #### Defined in 22 | 23 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/user.ts:111](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/user.ts#L111) 24 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.AllCastsInThreadResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / AllCastsInThreadResponse 2 | 3 | # Interface: AllCastsInThreadResponse 4 | 5 | [v1](../modules/v1.md).AllCastsInThreadResponse 6 | 7 | **`Export`** 8 | 9 | AllCastsInThreadResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.AllCastsInThreadResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`AllCastsInThreadResponseResult`](v1.AllCastsInThreadResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | AllCastsInThreadResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/all-casts-in-thread-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/all-casts-in-thread-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.AllCastsInThreadResponseResult.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / AllCastsInThreadResponseResult 2 | 3 | # Interface: AllCastsInThreadResponseResult 4 | 5 | [v1](../modules/v1.md).AllCastsInThreadResponseResult 6 | 7 | **`Export`** 8 | 9 | AllCastsInThreadResponseResult 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [casts](v1.AllCastsInThreadResponseResult.md#casts) 16 | 17 | ## Properties 18 | 19 | ### casts 20 | 21 | • **casts**: [`CastWithInteractions`](../modules/v1.md#castwithinteractions)[] 22 | 23 | **`Memberof`** 24 | 25 | AllCastsInThreadResponseResult 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/all-casts-in-thread-response-result.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/all-casts-in-thread-response-result.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.CastAuthorOneOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / CastAuthorOneOf 2 | 3 | # Interface: CastAuthorOneOf 4 | 5 | [v1](../modules/v1.md).CastAuthorOneOf 6 | 7 | **`Export`** 8 | 9 | CastAuthorOneOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [fid](v1.CastAuthorOneOf.md#fid) 16 | 17 | ## Properties 18 | 19 | ### fid 20 | 21 | • **fid**: `string` 22 | 23 | **`Memberof`** 24 | 25 | CastAuthorOneOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-author-one-of.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-author-one-of.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.CastLikesResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / CastLikesResponse 2 | 3 | # Interface: CastLikesResponse 4 | 5 | [v1](../modules/v1.md).CastLikesResponse 6 | 7 | **`Export`** 8 | 9 | CastLikesResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.CastLikesResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`CastLikesResponseResult`](v1.CastLikesResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | CastLikesResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-likes-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-likes-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.CastParentAuthorAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / CastParentAuthorAllOf 2 | 3 | # Interface: CastParentAuthorAllOf 4 | 5 | [v1](../modules/v1.md).CastParentAuthorAllOf 6 | 7 | **`Export`** 8 | 9 | CastParentAuthorAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [fid](v1.CastParentAuthorAllOf.md#fid) 16 | 17 | ## Properties 18 | 19 | ### fid 20 | 21 | • **fid**: ``null`` \| `string` 22 | 23 | **`Memberof`** 24 | 25 | CastParentAuthorAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-parent-author-all-of.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-parent-author-all-of.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.CastReactionsResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / CastReactionsResponse 2 | 3 | # Interface: CastReactionsResponse 4 | 5 | [v1](../modules/v1.md).CastReactionsResponse 6 | 7 | **`Export`** 8 | 9 | CastReactionsResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.CastReactionsResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`CastReactionsResponseResult`](v1.CastReactionsResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | CastReactionsResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-reactions-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-reactions-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.CastRecasterResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / CastRecasterResponse 2 | 3 | # Interface: CastRecasterResponse 4 | 5 | [v1](../modules/v1.md).CastRecasterResponse 6 | 7 | **`Export`** 8 | 9 | CastRecasterResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.CastRecasterResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`CastRecasterResponseResult`](v1.CastRecasterResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | CastRecasterResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-recaster-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-recaster-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.CastResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / CastResponse 2 | 3 | # Interface: CastResponse 4 | 5 | [v1](../modules/v1.md).CastResponse 6 | 7 | **`Export`** 8 | 9 | CastResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.CastResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`CastResponseResult`](v1.CastResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | CastResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.CastResponseResult.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / CastResponseResult 2 | 3 | # Interface: CastResponseResult 4 | 5 | [v1](../modules/v1.md).CastResponseResult 6 | 7 | **`Export`** 8 | 9 | CastResponseResult 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [cast](v1.CastResponseResult.md#cast) 16 | 17 | ## Properties 18 | 19 | ### cast 20 | 21 | • **cast**: [`CastWithInteractions`](../modules/v1.md#castwithinteractions) 22 | 23 | **`Memberof`** 24 | 25 | CastResponseResult 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-response-result.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-response-result.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.CastWithInteractionsReplies.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / CastWithInteractionsReplies 2 | 3 | # Interface: CastWithInteractionsReplies 4 | 5 | [v1](../modules/v1.md).CastWithInteractionsReplies 6 | 7 | **`Export`** 8 | 9 | CastWithInteractionsReplies 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [count](v1.CastWithInteractionsReplies.md#count) 16 | 17 | ## Properties 18 | 19 | ### count 20 | 21 | • **count**: `number` 22 | 23 | **`Memberof`** 24 | 25 | CastWithInteractionsReplies 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-with-interactions-replies.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-with-interactions-replies.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.CastsResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / CastsResponse 2 | 3 | # Interface: CastsResponse 4 | 5 | [v1](../modules/v1.md).CastsResponse 6 | 7 | **`Export`** 8 | 9 | CastsResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.CastsResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`CastsResponseResult`](v1.CastsResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | CastsResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/casts-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/casts-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.CustodyAddressResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / CustodyAddressResponse 2 | 3 | # Interface: CustodyAddressResponse 4 | 5 | [v1](../modules/v1.md).CustodyAddressResponse 6 | 7 | **`Export`** 8 | 9 | CustodyAddressResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.CustodyAddressResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`CustodyAddressResponseResult`](v1.CustodyAddressResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | CustodyAddressResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/custody-address-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/custody-address-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.EmbedUrl.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / EmbedUrl 2 | 3 | # Interface: EmbedUrl 4 | 5 | [v1](../modules/v1.md).EmbedUrl 6 | 7 | **`Export`** 8 | 9 | EmbedUrl 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [url](v1.EmbedUrl.md#url) 16 | 17 | ## Properties 18 | 19 | ### url 20 | 21 | • **url**: `string` 22 | 23 | **`Memberof`** 24 | 25 | EmbedUrl 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/embed-url.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/embed-url.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.FollowResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / FollowResponse 2 | 3 | # Interface: FollowResponse 4 | 5 | [v1](../modules/v1.md).FollowResponse 6 | 7 | **`Export`** 8 | 9 | FollowResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.FollowResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`FollowResponseResult`](v1.FollowResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | FollowResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/follow-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/follow-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.FollowResponseResult.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / FollowResponseResult 2 | 3 | # Interface: FollowResponseResult 4 | 5 | [v1](../modules/v1.md).FollowResponseResult 6 | 7 | **`Export`** 8 | 9 | FollowResponseResult 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [users](v1.FollowResponseResult.md#users) 16 | 17 | ## Properties 18 | 19 | ### users 20 | 21 | • **users**: [`User`](v1.User.md)[] 22 | 23 | **`Memberof`** 24 | 25 | FollowResponseResult 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/follow-response-result.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/follow-response-result.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.MentionsAndRepliesResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / MentionsAndRepliesResponse 2 | 3 | # Interface: MentionsAndRepliesResponse 4 | 5 | [v1](../modules/v1.md).MentionsAndRepliesResponse 6 | 7 | **`Export`** 8 | 9 | MentionsAndRepliesResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.MentionsAndRepliesResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`MentionsAndRepliesResponseResult`](v1.MentionsAndRepliesResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | MentionsAndRepliesResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/mentions-and-replies-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/mentions-and-replies-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.NextCursor.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / NextCursor 2 | 3 | # Interface: NextCursor 4 | 5 | [v1](../modules/v1.md).NextCursor 6 | 7 | Returns next cursor 8 | 9 | **`Export`** 10 | 11 | NextCursor 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [cursor](v1.NextCursor.md#cursor) 18 | 19 | ## Properties 20 | 21 | ### cursor 22 | 23 | • **cursor**: ``null`` \| `string` 24 | 25 | **`Memberof`** 26 | 27 | NextCursor 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/next-cursor.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/next-cursor.ts#L28) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.ReactionsAndRecastsResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / ReactionsAndRecastsResponse 2 | 3 | # Interface: ReactionsAndRecastsResponse 4 | 5 | [v1](../modules/v1.md).ReactionsAndRecastsResponse 6 | 7 | **`Export`** 8 | 9 | ReactionsAndRecastsResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.ReactionsAndRecastsResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`ReactionsAndRecastsResponseResult`](v1.ReactionsAndRecastsResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | ReactionsAndRecastsResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/reactions-and-recasts-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/reactions-and-recasts-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.ReactorPfp.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / ReactorPfp 2 | 3 | # Interface: ReactorPfp 4 | 5 | [v1](../modules/v1.md).ReactorPfp 6 | 7 | **`Export`** 8 | 9 | ReactorPfp 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [url](v1.ReactorPfp.md#url) 16 | 17 | ## Properties 18 | 19 | ### url 20 | 21 | • **url**: `string` 22 | 23 | The URL of the reactor\'s profile picture. 24 | 25 | **`Memberof`** 26 | 27 | ReactorPfp 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/reactor-pfp.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/reactor-pfp.ts#L28) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.RecasterPfp.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / RecasterPfp 2 | 3 | # Interface: RecasterPfp 4 | 5 | [v1](../modules/v1.md).RecasterPfp 6 | 7 | **`Export`** 8 | 9 | RecasterPfp 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [url](v1.RecasterPfp.md#url) 16 | 17 | ## Properties 18 | 19 | ### url 20 | 21 | • **url**: `string` 22 | 23 | The URL of the recaster\'s profile picture. 24 | 25 | **`Memberof`** 26 | 27 | RecasterPfp 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/recaster-pfp.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/recaster-pfp.ts#L28) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.RecasterProfile.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / RecasterProfile 2 | 3 | # Interface: RecasterProfile 4 | 5 | [v1](../modules/v1.md).RecasterProfile 6 | 7 | **`Export`** 8 | 9 | RecasterProfile 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [bio](v1.RecasterProfile.md#bio) 16 | 17 | ## Properties 18 | 19 | ### bio 20 | 21 | • **bio**: [`RecasterProfileBio`](v1.RecasterProfileBio.md) 22 | 23 | **`Memberof`** 24 | 25 | RecasterProfile 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/recaster-profile.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/recaster-profile.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.RecentCastsResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / RecentCastsResponse 2 | 3 | # Interface: RecentCastsResponse 4 | 5 | [v1](../modules/v1.md).RecentCastsResponse 6 | 7 | **`Export`** 8 | 9 | RecentCastsResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.RecentCastsResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`CastsResponseResult`](v1.CastsResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | RecentCastsResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/recent-casts-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/recent-casts-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.RecentUsersResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / RecentUsersResponse 2 | 3 | # Interface: RecentUsersResponse 4 | 5 | [v1](../modules/v1.md).RecentUsersResponse 6 | 7 | **`Export`** 8 | 9 | RecentUsersResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.RecentUsersResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`RecentUsersResponseResult`](v1.RecentUsersResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | RecentUsersResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/recent-users-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/recent-users-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.User200Response.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / User200Response 2 | 3 | # Interface: User200Response 4 | 5 | [v1](../modules/v1.md).User200Response 6 | 7 | **`Export`** 8 | 9 | User200Response 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.User200Response.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`User200ResponseResult`](v1.User200ResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | User200Response 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/user200-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/user200-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.User200ResponseResult.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / User200ResponseResult 2 | 3 | # Interface: User200ResponseResult 4 | 5 | [v1](../modules/v1.md).User200ResponseResult 6 | 7 | **`Export`** 8 | 9 | User200ResponseResult 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [user](v1.User200ResponseResult.md#user) 16 | 17 | ## Properties 18 | 19 | ### user 20 | 21 | • **user**: [`User`](v1.User.md) 22 | 23 | **`Memberof`** 24 | 25 | User200ResponseResult 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/user200-response-result.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/user200-response-result.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.UserApiCustodyAddressRequest.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / UserApiCustodyAddressRequest 2 | 3 | # Interface: UserApiCustodyAddressRequest 4 | 5 | [v1](../modules/v1.md).UserApiCustodyAddressRequest 6 | 7 | Request parameters for custodyAddress operation in UserApi. 8 | 9 | **`Export`** 10 | 11 | UserApiCustodyAddressRequest 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [fid](v1.UserApiCustodyAddressRequest.md#fid) 18 | 19 | ## Properties 20 | 21 | ### fid 22 | 23 | • `Readonly` **fid**: `number` 24 | 25 | fid of a user 26 | 27 | **`Memberof`** 28 | 29 | UserApiCustodyAddress 30 | 31 | #### Defined in 32 | 33 | [packages/farcaster-js-neynar/src/v1/openapi/generated/apis/user-api.ts:419](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/apis/user-api.ts#L419) 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.UserCastLikeResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / UserCastLikeResponse 2 | 3 | # Interface: UserCastLikeResponse 4 | 5 | [v1](../modules/v1.md).UserCastLikeResponse 6 | 7 | **`Export`** 8 | 9 | UserCastLikeResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.UserCastLikeResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`UserCastLikeResponseResult`](v1.UserCastLikeResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | UserCastLikeResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/user-cast-like-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/user-cast-like-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.UserPfp.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / UserPfp 2 | 3 | # Interface: UserPfp 4 | 5 | [v1](../modules/v1.md).UserPfp 6 | 7 | **`Export`** 8 | 9 | UserPfp 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [url](v1.UserPfp.md#url) 16 | 17 | ## Properties 18 | 19 | ### url 20 | 21 | • **url**: `string` 22 | 23 | The URL of the user\'s profile picture. 24 | 25 | **`Memberof`** 26 | 27 | UserPfp 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/user-pfp.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/user-pfp.ts#L28) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.UserProfile.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / UserProfile 2 | 3 | # Interface: UserProfile 4 | 5 | [v1](../modules/v1.md).UserProfile 6 | 7 | **`Export`** 8 | 9 | UserProfile 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [bio](v1.UserProfile.md#bio) 16 | 17 | ## Properties 18 | 19 | ### bio 20 | 21 | • **bio**: [`UserProfileBio`](v1.UserProfileBio.md) 22 | 23 | **`Memberof`** 24 | 25 | UserProfile 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/user-profile.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/user-profile.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.VerificationApiVerificationsRequest.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / VerificationApiVerificationsRequest 2 | 3 | # Interface: VerificationApiVerificationsRequest 4 | 5 | [v1](../modules/v1.md).VerificationApiVerificationsRequest 6 | 7 | Request parameters for verifications operation in VerificationApi. 8 | 9 | **`Export`** 10 | 11 | VerificationApiVerificationsRequest 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [fid](v1.VerificationApiVerificationsRequest.md#fid) 18 | 19 | ## Properties 20 | 21 | ### fid 22 | 23 | • `Readonly` **fid**: `number` 24 | 25 | FID of the user 26 | 27 | **`Memberof`** 28 | 29 | VerificationApiVerifications 30 | 31 | #### Defined in 32 | 33 | [packages/farcaster-js-neynar/src/v1/openapi/generated/apis/verification-api.ts:206](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/apis/verification-api.ts#L206) 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v1.VerificationResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v1](../modules/v1.md) / VerificationResponse 2 | 3 | # Interface: VerificationResponse 4 | 5 | [v1](../modules/v1.md).VerificationResponse 6 | 7 | **`Export`** 8 | 9 | VerificationResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v1.VerificationResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`VerificationResponseResult`](v1.VerificationResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | VerificationResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v1/openapi/generated/models/verification-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v1/openapi/generated/models/verification-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.CastApiCastsRequest.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / CastApiCastsRequest 2 | 3 | # Interface: CastApiCastsRequest 4 | 5 | [v2](../modules/v2.md).CastApiCastsRequest 6 | 7 | Request parameters for casts operation in CastApi. 8 | 9 | **`Export`** 10 | 11 | CastApiCastsRequest 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [casts](v2.CastApiCastsRequest.md#casts) 18 | 19 | ## Properties 20 | 21 | ### casts 22 | 23 | • `Readonly` **casts**: `string` 24 | 25 | Hashes of the cast to be retrieved (Comma separated) 26 | 27 | **`Memberof`** 28 | 29 | CastApiCasts 30 | 31 | #### Defined in 32 | 33 | [packages/farcaster-js-neynar/src/v2/openapi/generated/apis/cast-api.ts:351](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/apis/cast-api.ts#L351) 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.CastApiDeleteCastRequest.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / CastApiDeleteCastRequest 2 | 3 | # Interface: CastApiDeleteCastRequest 4 | 5 | [v2](../modules/v2.md).CastApiDeleteCastRequest 6 | 7 | Request parameters for deleteCast operation in CastApi. 8 | 9 | **`Export`** 10 | 11 | CastApiDeleteCastRequest 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [deleteCastReqBody](v2.CastApiDeleteCastRequest.md#deletecastreqbody) 18 | 19 | ## Properties 20 | 21 | ### deleteCastReqBody 22 | 23 | • `Readonly` **deleteCastReqBody**: `DeleteCastReqBody` 24 | 25 | **`Memberof`** 26 | 27 | CastApiDeleteCast 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v2/openapi/generated/apis/cast-api.ts:365](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/apis/cast-api.ts#L365) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.CastApiPostCastRequest.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / CastApiPostCastRequest 2 | 3 | # Interface: CastApiPostCastRequest 4 | 5 | [v2](../modules/v2.md).CastApiPostCastRequest 6 | 7 | Request parameters for postCast operation in CastApi. 8 | 9 | **`Export`** 10 | 11 | CastApiPostCastRequest 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [postCastReqBody](v2.CastApiPostCastRequest.md#postcastreqbody) 18 | 19 | ## Properties 20 | 21 | ### postCastReqBody 22 | 23 | • `Readonly` **postCastReqBody**: `PostCastReqBody` 24 | 25 | **`Memberof`** 26 | 27 | CastApiPostCast 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v2/openapi/generated/apis/cast-api.ts:379](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/apis/cast-api.ts#L379) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.CastParentAuthorAllOf.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / CastParentAuthorAllOf 2 | 3 | # Interface: CastParentAuthorAllOf 4 | 5 | [v2](../modules/v2.md).CastParentAuthorAllOf 6 | 7 | **`Export`** 8 | 9 | CastParentAuthorAllOf 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [fid](v2.CastParentAuthorAllOf.md#fid) 16 | 17 | ## Properties 18 | 19 | ### fid 20 | 21 | • **fid**: ``null`` \| `string` 22 | 23 | **`Memberof`** 24 | 25 | CastParentAuthorAllOf 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-parent-author-all-of.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-parent-author-all-of.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.CastResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / CastResponse 2 | 3 | # Interface: CastResponse 4 | 5 | [v2](../modules/v2.md).CastResponse 6 | 7 | **`Export`** 8 | 9 | CastResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [cast](v2.CastResponse.md#cast) 16 | 17 | ## Properties 18 | 19 | ### cast 20 | 21 | • **cast**: [`CastWithInteractions`](../modules/v2.md#castwithinteractions) 22 | 23 | **`Memberof`** 24 | 25 | CastResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.CastWithInteractionsReplies.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / CastWithInteractionsReplies 2 | 3 | # Interface: CastWithInteractionsReplies 4 | 5 | [v2](../modules/v2.md).CastWithInteractionsReplies 6 | 7 | **`Export`** 8 | 9 | CastWithInteractionsReplies 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [count](v2.CastWithInteractionsReplies.md#count) 16 | 17 | ## Properties 18 | 19 | ### count 20 | 21 | • **count**: `number` 22 | 23 | **`Memberof`** 24 | 25 | CastWithInteractionsReplies 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-with-interactions-replies.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-with-interactions-replies.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.CastsResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / CastsResponse 2 | 3 | # Interface: CastsResponse 4 | 5 | [v2](../modules/v2.md).CastsResponse 6 | 7 | **`Export`** 8 | 9 | CastsResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v2.CastsResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`CastsResponseResult`](v2.CastsResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | CastsResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/casts-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/casts-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.CastsResponseResult.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / CastsResponseResult 2 | 3 | # Interface: CastsResponseResult 4 | 5 | [v2](../modules/v2.md).CastsResponseResult 6 | 7 | **`Export`** 8 | 9 | CastsResponseResult 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [casts](v2.CastsResponseResult.md#casts) 16 | 17 | ## Properties 18 | 19 | ### casts 20 | 21 | • **casts**: [`CastWithInteractions`](../modules/v2.md#castwithinteractions)[] 22 | 23 | **`Memberof`** 24 | 25 | CastsResponseResult 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/casts-response-result.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/casts-response-result.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.EmbedCastId.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / EmbedCastId 2 | 3 | # Interface: EmbedCastId 4 | 5 | [v2](../modules/v2.md).EmbedCastId 6 | 7 | **`Export`** 8 | 9 | EmbedCastId 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [cast\_id](v2.EmbedCastId.md#cast_id) 16 | 17 | ## Properties 18 | 19 | ### cast\_id 20 | 21 | • **cast\_id**: [`CastId`](v2.CastId.md) 22 | 23 | **`Memberof`** 24 | 25 | EmbedCastId 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/embed-cast-id.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/embed-cast-id.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.EmbedUrl.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / EmbedUrl 2 | 3 | # Interface: EmbedUrl 4 | 5 | [v2](../modules/v2.md).EmbedUrl 6 | 7 | **`Export`** 8 | 9 | EmbedUrl 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [url](v2.EmbedUrl.md#url) 16 | 17 | ## Properties 18 | 19 | ### url 20 | 21 | • **url**: `string` 22 | 23 | **`Memberof`** 24 | 25 | EmbedUrl 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/embed-url.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/embed-url.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.GetCastsReqBody.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / GetCastsReqBody 2 | 3 | # Interface: GetCastsReqBody 4 | 5 | [v2](../modules/v2.md).GetCastsReqBody 6 | 7 | **`Export`** 8 | 9 | GetCastsReqBody 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [casts](v2.GetCastsReqBody.md#casts) 16 | 17 | ## Properties 18 | 19 | ### casts 20 | 21 | • `Optional` **casts**: [`IndividualHashObj`](v2.IndividualHashObj.md)[] 22 | 23 | **`Memberof`** 24 | 25 | GetCastsReqBody 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/get-casts-req-body.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/get-casts-req-body.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.IndividualHashObj.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / IndividualHashObj 2 | 3 | # Interface: IndividualHashObj 4 | 5 | [v2](../modules/v2.md).IndividualHashObj 6 | 7 | **`Export`** 8 | 9 | IndividualHashObj 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [hash](v2.IndividualHashObj.md#hash) 16 | 17 | ## Properties 18 | 19 | ### hash 20 | 21 | • **hash**: `string` 22 | 23 | **`Memberof`** 24 | 25 | IndividualHashObj 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/individual-hash-obj.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/individual-hash-obj.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.NextCursor.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / NextCursor 2 | 3 | # Interface: NextCursor 4 | 5 | [v2](../modules/v2.md).NextCursor 6 | 7 | Returns next cursor 8 | 9 | **`Export`** 10 | 11 | NextCursor 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [cursor](v2.NextCursor.md#cursor) 18 | 19 | ## Properties 20 | 21 | ### cursor 22 | 23 | • **cursor**: ``null`` \| `string` 24 | 25 | **`Memberof`** 26 | 27 | NextCursor 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/next-cursor.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/next-cursor.ts#L28) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.OperationResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / OperationResponse 2 | 3 | # Interface: OperationResponse 4 | 5 | [v2](../modules/v2.md).OperationResponse 6 | 7 | **`Export`** 8 | 9 | OperationResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [success](v2.OperationResponse.md#success) 16 | 17 | ## Properties 18 | 19 | ### success 20 | 21 | • **success**: `boolean` 22 | 23 | **`Memberof`** 24 | 25 | OperationResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/operation-response.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/operation-response.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.PostCastResponseCastAuthor.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / PostCastResponseCastAuthor 2 | 3 | # Interface: PostCastResponseCastAuthor 4 | 5 | [v2](../modules/v2.md).PostCastResponseCastAuthor 6 | 7 | **`Export`** 8 | 9 | PostCastResponseCastAuthor 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [fid](v2.PostCastResponseCastAuthor.md#fid) 16 | 17 | ## Properties 18 | 19 | ### fid 20 | 21 | • **fid**: `number` 22 | 23 | User identifier (unsigned integer) 24 | 25 | **`Memberof`** 26 | 27 | PostCastResponseCastAuthor 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/post-cast-response-cast-author.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/post-cast-response-cast-author.ts#L28) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.ProfileUrl.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / ProfileUrl 2 | 3 | # Interface: ProfileUrl 4 | 5 | [v2](../modules/v2.md).ProfileUrl 6 | 7 | **`Export`** 8 | 9 | ProfileUrl 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [pfp](v2.ProfileUrl.md#pfp) 16 | 17 | ## Properties 18 | 19 | ### pfp 20 | 21 | • **pfp**: [`ProfileUrlPfp`](v2.ProfileUrlPfp.md) 22 | 23 | **`Memberof`** 24 | 25 | ProfileUrl 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/profile-url.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/profile-url.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.ProfileUrlPfp.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / ProfileUrlPfp 2 | 3 | # Interface: ProfileUrlPfp 4 | 5 | [v2](../modules/v2.md).ProfileUrlPfp 6 | 7 | **`Export`** 8 | 9 | ProfileUrlPfp 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [url](v2.ProfileUrlPfp.md#url) 16 | 17 | ## Properties 18 | 19 | ### url 20 | 21 | • **url**: `string` 22 | 23 | **`Memberof`** 24 | 25 | ProfileUrlPfp 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/profile-url-pfp.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/profile-url-pfp.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.ReactionApiDeleteReactionRequest.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / ReactionApiDeleteReactionRequest 2 | 3 | # Interface: ReactionApiDeleteReactionRequest 4 | 5 | [v2](../modules/v2.md).ReactionApiDeleteReactionRequest 6 | 7 | Request parameters for deleteReaction operation in ReactionApi. 8 | 9 | **`Export`** 10 | 11 | ReactionApiDeleteReactionRequest 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [reactionReqBody](v2.ReactionApiDeleteReactionRequest.md#reactionreqbody) 18 | 19 | ## Properties 20 | 21 | ### reactionReqBody 22 | 23 | • `Readonly` **reactionReqBody**: `ReactionReqBody` 24 | 25 | **`Memberof`** 26 | 27 | ReactionApiDeleteReaction 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v2/openapi/generated/apis/reaction-api.ts:190](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/apis/reaction-api.ts#L190) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.ReactionApiPostReactionRequest.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / ReactionApiPostReactionRequest 2 | 3 | # Interface: ReactionApiPostReactionRequest 4 | 5 | [v2](../modules/v2.md).ReactionApiPostReactionRequest 6 | 7 | Request parameters for postReaction operation in ReactionApi. 8 | 9 | **`Export`** 10 | 11 | ReactionApiPostReactionRequest 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [reactionReqBody](v2.ReactionApiPostReactionRequest.md#reactionreqbody) 18 | 19 | ## Properties 20 | 21 | ### reactionReqBody 22 | 23 | • `Readonly` **reactionReqBody**: `ReactionReqBody` 24 | 25 | **`Memberof`** 26 | 27 | ReactionApiPostReaction 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v2/openapi/generated/apis/reaction-api.ts:204](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/apis/reaction-api.ts#L204) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.ReactionLike.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / ReactionLike 2 | 3 | # Interface: ReactionLike 4 | 5 | [v2](../modules/v2.md).ReactionLike 6 | 7 | **`Export`** 8 | 9 | ReactionLike 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [fid](v2.ReactionLike.md#fid) 16 | 17 | ## Properties 18 | 19 | ### fid 20 | 21 | • **fid**: `number` 22 | 23 | User identifier (unsigned integer) 24 | 25 | **`Memberof`** 26 | 27 | ReactionLike 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/reaction-like.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/reaction-like.ts#L28) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.SignerApiSignerRequest.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / SignerApiSignerRequest 2 | 3 | # Interface: SignerApiSignerRequest 4 | 5 | [v2](../modules/v2.md).SignerApiSignerRequest 6 | 7 | Request parameters for signer operation in SignerApi. 8 | 9 | **`Export`** 10 | 11 | SignerApiSignerRequest 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [signerUuid](v2.SignerApiSignerRequest.md#signeruuid) 18 | 19 | ## Properties 20 | 21 | ### signerUuid 22 | 23 | • `Readonly` **signerUuid**: `string` 24 | 25 | **`Memberof`** 26 | 27 | SignerApiSigner 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v2/openapi/generated/apis/signer-api.ts:257](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/apis/signer-api.ts#L257) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.UserApiFollowUserRequest.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / UserApiFollowUserRequest 2 | 3 | # Interface: UserApiFollowUserRequest 4 | 5 | [v2](../modules/v2.md).UserApiFollowUserRequest 6 | 7 | Request parameters for followUser operation in UserApi. 8 | 9 | **`Export`** 10 | 11 | UserApiFollowUserRequest 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [followReqBody](v2.UserApiFollowUserRequest.md#followreqbody) 18 | 19 | ## Properties 20 | 21 | ### followReqBody 22 | 23 | • `Readonly` **followReqBody**: `FollowReqBody` 24 | 25 | **`Memberof`** 26 | 27 | UserApiFollowUser 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v2/openapi/generated/apis/user-api.ts:609](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/apis/user-api.ts#L609) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.UserApiUnfollowUserRequest.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / UserApiUnfollowUserRequest 2 | 3 | # Interface: UserApiUnfollowUserRequest 4 | 5 | [v2](../modules/v2.md).UserApiUnfollowUserRequest 6 | 7 | Request parameters for unfollowUser operation in UserApi. 8 | 9 | **`Export`** 10 | 11 | UserApiUnfollowUserRequest 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [followReqBody](v2.UserApiUnfollowUserRequest.md#followreqbody) 18 | 19 | ## Properties 20 | 21 | ### followReqBody 22 | 23 | • `Readonly` **followReqBody**: `FollowReqBody` 24 | 25 | **`Memberof`** 26 | 27 | UserApiUnfollowUser 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v2/openapi/generated/apis/user-api.ts:637](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/apis/user-api.ts#L637) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.UserApiUpdateUserRequest.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / UserApiUpdateUserRequest 2 | 3 | # Interface: UserApiUpdateUserRequest 4 | 5 | [v2](../modules/v2.md).UserApiUpdateUserRequest 6 | 7 | Request parameters for updateUser operation in UserApi. 8 | 9 | **`Export`** 10 | 11 | UserApiUpdateUserRequest 12 | 13 | ## Table of contents 14 | 15 | ### Properties 16 | 17 | - [updateUserReqBody](v2.UserApiUpdateUserRequest.md#updateuserreqbody) 18 | 19 | ## Properties 20 | 21 | ### updateUserReqBody 22 | 23 | • `Readonly` **updateUserReqBody**: `UpdateUserReqBody` 24 | 25 | **`Memberof`** 26 | 27 | UserApiUpdateUser 28 | 29 | #### Defined in 30 | 31 | [packages/farcaster-js-neynar/src/v2/openapi/generated/apis/user-api.ts:651](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/apis/user-api.ts#L651) 32 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.UserBulk200Response.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / UserBulk200Response 2 | 3 | # Interface: UserBulk200Response 4 | 5 | [v2](../modules/v2.md).UserBulk200Response 6 | 7 | **`Export`** 8 | 9 | UserBulk200Response 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [users](v2.UserBulk200Response.md#users) 16 | 17 | ## Properties 18 | 19 | ### users 20 | 21 | • **users**: [`User`](v2.User.md)[] 22 | 23 | **`Memberof`** 24 | 25 | UserBulk200Response 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-bulk200-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-bulk200-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.UserProfile.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / UserProfile 2 | 3 | # Interface: UserProfile 4 | 5 | [v2](../modules/v2.md).UserProfile 6 | 7 | **`Export`** 8 | 9 | UserProfile 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [bio](v2.UserProfile.md#bio) 16 | 17 | ## Properties 18 | 19 | ### bio 20 | 21 | • **bio**: [`UserProfileBio`](v2.UserProfileBio.md) 22 | 23 | **`Memberof`** 24 | 25 | UserProfile 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-profile.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-profile.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.UserProfileBio.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / UserProfileBio 2 | 3 | # Interface: UserProfileBio 4 | 5 | [v2](../modules/v2.md).UserProfileBio 6 | 7 | **`Export`** 8 | 9 | UserProfileBio 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [text](v2.UserProfileBio.md#text) 16 | 17 | ## Properties 18 | 19 | ### text 20 | 21 | • **text**: `string` 22 | 23 | **`Memberof`** 24 | 25 | UserProfileBio 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-profile-bio.ts:28](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-profile-bio.ts#L28) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.UserResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / UserResponse 2 | 3 | # Interface: UserResponse 4 | 5 | [v2](../modules/v2.md).UserResponse 6 | 7 | **`Export`** 8 | 9 | UserResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [user](v2.UserResponse.md#user) 16 | 17 | ## Properties 18 | 19 | ### user 20 | 21 | • **user**: [`User`](v2.User.md) 22 | 23 | **`Memberof`** 24 | 25 | UserResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.UserSearchResponse.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / UserSearchResponse 2 | 3 | # Interface: UserSearchResponse 4 | 5 | [v2](../modules/v2.md).UserSearchResponse 6 | 7 | **`Export`** 8 | 9 | UserSearchResponse 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [result](v2.UserSearchResponse.md#result) 16 | 17 | ## Properties 18 | 19 | ### result 20 | 21 | • **result**: [`UserSearchResponseResult`](v2.UserSearchResponseResult.md) 22 | 23 | **`Memberof`** 24 | 25 | UserSearchResponse 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-search-response.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-search-response.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/interfaces/v2.UserSearchResponseResult.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / [v2](../modules/v2.md) / UserSearchResponseResult 2 | 3 | # Interface: UserSearchResponseResult 4 | 5 | [v2](../modules/v2.md).UserSearchResponseResult 6 | 7 | **`Export`** 8 | 9 | UserSearchResponseResult 10 | 11 | ## Table of contents 12 | 13 | ### Properties 14 | 15 | - [users](v2.UserSearchResponseResult.md#users) 16 | 17 | ## Properties 18 | 19 | ### users 20 | 21 | • **users**: [`SearchedUser`](../modules/v2.md#searcheduser)[] 22 | 23 | **`Memberof`** 24 | 25 | UserSearchResponseResult 26 | 27 | #### Defined in 28 | 29 | [packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-search-response-result.ts:31](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-search-response-result.ts#L31) 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/modules.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](README.md) / Modules 2 | 3 | # @standard-crypto/farcaster-js-neynar 4 | 5 | ## Table of contents 6 | 7 | ### Modules 8 | 9 | - [NeynarAPIClient](modules/NeynarAPIClient.md) 10 | - [logger](modules/logger.md) 11 | - [utils](modules/utils.md) 12 | - [v1](modules/v1.md) 13 | - [v2](modules/v2.md) 14 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/modules/NeynarAPIClient.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / NeynarAPIClient 2 | 3 | # Module: NeynarAPIClient 4 | 5 | ## Table of contents 6 | 7 | ### Classes 8 | 9 | - [NeynarAPIClient](../classes/NeynarAPIClient.NeynarAPIClient.md) 10 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/docs/modules/logger.md: -------------------------------------------------------------------------------- 1 | [@standard-crypto/farcaster-js-neynar](../README.md) / [Modules](../modules.md) / logger 2 | 3 | # Module: logger 4 | 5 | ## Table of contents 6 | 7 | ### Interfaces 8 | 9 | - [Logger](../interfaces/logger.Logger.md) 10 | 11 | ### Variables 12 | 13 | - [silentLogger](logger.md#silentlogger) 14 | 15 | ## Variables 16 | 17 | ### silentLogger 18 | 19 | • `Const` **silentLogger**: [`Logger`](../interfaces/logger.Logger.md) 20 | 21 | #### Defined in 22 | 23 | [packages/farcaster-js-neynar/src/logger.ts:14](https://github.com/standard-crypto/farcaster-js/blob/main/packages/farcaster-js-neynar/src/logger.ts#L14) 24 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/examples/createSigner.ts: -------------------------------------------------------------------------------- 1 | import { NeynarAPIClient, waitForNeynarSignerApproval } from '@standard-crypto/farcaster-js-neynar'; 2 | import QRCode from 'qrcode'; 3 | 4 | const client = new NeynarAPIClient('apiKey'); 5 | 6 | const developerMnemonic = 'your farcaster recovery phrase'; 7 | 8 | // create signer 9 | const signer = await client.v2.createSigner( 10 | developerMnemonic, 11 | ); 12 | 13 | console.log('Scan the QR code below on a logged in device to approve signer'); 14 | console.log(await QRCode.toString(signer.signer_approval_url ?? '', { type: 'terminal', small: true })); 15 | console.log(`url: ${signer.signer_approval_url}`); 16 | console.log('Once approved, you can start using your signer to write data to Farcaster'); 17 | console.log(`signer uuid: ${signer.signer_uuid}`); 18 | console.log('waiting for signer to be approved...'); 19 | await waitForNeynarSignerApproval(client, signer.signer_uuid); 20 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/examples/followUser.ts: -------------------------------------------------------------------------------- 1 | import { NeynarAPIClient } from '@standard-crypto/farcaster-js-neynar'; 2 | 3 | const signerUuid = 'approvedSignerUUID'; 4 | const client = new NeynarAPIClient('apiKey'); 5 | 6 | const userToFollowFid = 13525; 7 | await client.v2.followUsers(signerUuid, [userToFollowFid]); 8 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/examples/getUserActivity.ts: -------------------------------------------------------------------------------- 1 | import { NeynarAPIClient } from '@standard-crypto/farcaster-js-neynar'; 2 | 3 | const client = new NeynarAPIClient('apiKey'); 4 | 5 | const username = 'dwr'; 6 | 7 | const user = await client.v1.lookupUserByUsername(username); 8 | if (user === null) throw new Error(`No user ${username} found.`); 9 | 10 | const numCastsToFetch = 100; 11 | let castsFetched = 0; 12 | console.log('User Casts:'); 13 | for await (const cast of await client.v1.fetchCastsForUser(user.fid)) { 14 | console.log(cast.text); 15 | castsFetched++; 16 | if (castsFetched === numCastsToFetch) break; 17 | } 18 | 19 | const numLikesToFetch = 100; 20 | let likesFetched = 0; 21 | console.log('User Likes:'); 22 | for await (const like of await client.v1.fetchUserCastLikes(user.fid)) { 23 | console.log(`${like.cast_author?.username} : ${like.cast?.cast_text}`); 24 | likesFetched++; 25 | if (likesFetched === numLikesToFetch) break; 26 | } 27 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/examples/likeAndRecast.ts: -------------------------------------------------------------------------------- 1 | import { NeynarAPIClient } from '@standard-crypto/farcaster-js-neynar'; 2 | 3 | const signerUuid = 'approvedSignerUUID'; 4 | const client = new NeynarAPIClient('apiKey'); 5 | 6 | const existingCastHash = 'existingCastHash'; 7 | await client.v2.reactToCast(signerUuid, 'like', existingCastHash); // Like Cast 8 | await client.v2.reactToCast(signerUuid, 'recast', existingCastHash); // Recast Cast 9 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/examples/publishCast.ts: -------------------------------------------------------------------------------- 1 | import { NeynarAPIClient } from '@standard-crypto/farcaster-js-neynar'; 2 | 3 | const signerUuid = 'approvedSignerUUID'; 4 | const client = new NeynarAPIClient('apiKey'); 5 | 6 | const publishedCast = await client.v2.publishCast(signerUuid, 'This is a test cast.'); 7 | 8 | console.log(`New cast hash: ${publishedCast.hash}`); 9 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/examples/replyToCast.ts: -------------------------------------------------------------------------------- 1 | import { NeynarAPIClient } from '@standard-crypto/farcaster-js-neynar'; 2 | 3 | const signerUuid = 'approvedSignerUUID'; 4 | const client = new NeynarAPIClient('apiKey'); 5 | 6 | const existingCastHash = 'existingCastHash'; 7 | const publishedCast = await client.v2.publishCast(signerUuid, 'This is a reply cast.', { replyTo: existingCastHash }); 8 | 9 | console.log(`Reply hash:${publishedCast.hash}`); 10 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/openapi-generator-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "withSeparateModelsAndApi": true, 3 | "apiPackage": "apis", 4 | "modelPackage": "models", 5 | "stringEnums": true, 6 | "useSingleRequestParameter": true, 7 | "supportsES6": true 8 | } 9 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/openapitools.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../node_modules/@openapitools/openapi-generator-cli/config.schema.json", 3 | "spaces": 2, 4 | "generator-cli": { 5 | "version": "6.6.0" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './NeynarAPIClient.js'; 2 | export { NeynarV1APIClient } from './v1/index.js'; 3 | export { NeynarV2APIClient, ReactionType } from './v2/index.js'; 4 | export * from './utils.js'; 5 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/index.ts: -------------------------------------------------------------------------------- 1 | export * from './openapi/index.js'; 2 | export * from './NeynarV1APIClient.js'; 3 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 6.6.0 -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/api.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | export * from './apis/cast-api.js'; 18 | export * from './apis/follows-api.js'; 19 | export * from './apis/notifications-api.js'; 20 | export * from './apis/reactions-api.js'; 21 | export * from './apis/user-api.js'; 22 | export * from './apis/verification-api.js'; 23 | 24 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | export * from "./api.js"; 17 | export * from "./configuration.js"; 18 | export * from "./models/index.js"; 19 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/active-status.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * The status of a user. - active: The user is currently active. - inactive: The user is not currently active. 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum ActiveStatus { 24 | Active = 'active', 25 | Inactive = 'inactive' 26 | } 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/all-casts-in-thread-response-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastWithInteractions } from './cast-with-interactions.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface AllCastsInThreadResponseResult 24 | */ 25 | export interface AllCastsInThreadResponseResult { 26 | /** 27 | * 28 | * @type {Array} 29 | * @memberof AllCastsInThreadResponseResult 30 | */ 31 | 'casts': Array; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/all-casts-in-thread-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { AllCastsInThreadResponseResult } from './all-casts-in-thread-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface AllCastsInThreadResponse 24 | */ 25 | export interface AllCastsInThreadResponse { 26 | /** 27 | * 28 | * @type {AllCastsInThreadResponseResult} 29 | * @memberof AllCastsInThreadResponse 30 | */ 31 | 'result': AllCastsInThreadResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-author-one-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface CastAuthorOneOf 21 | */ 22 | export interface CastAuthorOneOf { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof CastAuthorOneOf 27 | */ 28 | 'fid': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-likes-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastLikesResponseResult } from './cast-likes-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface CastLikesResponse 24 | */ 25 | export interface CastLikesResponse { 26 | /** 27 | * 28 | * @type {CastLikesResponseResult} 29 | * @memberof CastLikesResponse 30 | */ 31 | 'result': CastLikesResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-parent-author-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface CastParentAuthorAllOf 21 | */ 22 | export interface CastParentAuthorAllOf { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof CastParentAuthorAllOf 27 | */ 28 | 'fid': string | null; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-parent-author.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastParentAuthorAllOf } from './cast-parent-author-all-of.js'; 19 | 20 | /** 21 | * @type CastParentAuthor 22 | * @export 23 | */ 24 | export type CastParentAuthor = CastParentAuthorAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-reactions-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastReactionsResponseResult } from './cast-reactions-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface CastReactionsResponse 24 | */ 25 | export interface CastReactionsResponse { 26 | /** 27 | * 28 | * @type {CastReactionsResponseResult} 29 | * @memberof CastReactionsResponse 30 | */ 31 | 'result': CastReactionsResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-recaster-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastRecasterResponseResult } from './cast-recaster-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface CastRecasterResponse 24 | */ 25 | export interface CastRecasterResponse { 26 | /** 27 | * 28 | * @type {CastRecasterResponseResult} 29 | * @memberof CastRecasterResponse 30 | */ 31 | 'result': CastRecasterResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-response-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastWithInteractions } from './cast-with-interactions.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface CastResponseResult 24 | */ 25 | export interface CastResponseResult { 26 | /** 27 | * 28 | * @type {CastWithInteractions} 29 | * @memberof CastResponseResult 30 | */ 31 | 'cast': CastWithInteractions; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastResponseResult } from './cast-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface CastResponse 24 | */ 25 | export interface CastResponse { 26 | /** 27 | * 28 | * @type {CastResponseResult} 29 | * @memberof CastResponse 30 | */ 31 | 'result': CastResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * The notification type of a cast. 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum CastType { 24 | Mention = 'cast-mention', 25 | Reply = 'cast-reply' 26 | } 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-with-interactions-reactions-or-recasts.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface CastWithInteractionsReactionsOrRecasts 21 | */ 22 | export interface CastWithInteractionsReactionsOrRecasts { 23 | /** 24 | * 25 | * @type {number} 26 | * @memberof CastWithInteractionsReactionsOrRecasts 27 | */ 28 | 'count': number; 29 | /** 30 | * 31 | * @type {Array} 32 | * @memberof CastWithInteractionsReactionsOrRecasts 33 | */ 34 | 'fids': Array; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/cast-with-interactions-replies.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface CastWithInteractionsReplies 21 | */ 22 | export interface CastWithInteractionsReplies { 23 | /** 24 | * 25 | * @type {number} 26 | * @memberof CastWithInteractionsReplies 27 | */ 28 | 'count': number; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/casts-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastsResponseResult } from './casts-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface CastsResponse 24 | */ 25 | export interface CastsResponse { 26 | /** 27 | * 28 | * @type {CastsResponseResult} 29 | * @memberof CastsResponse 30 | */ 31 | 'result': CastsResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/custody-address-response-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface CustodyAddressResponseResult 21 | */ 22 | export interface CustodyAddressResponseResult { 23 | /** 24 | * User identifier (unsigned integer) 25 | * @type {number} 26 | * @memberof CustodyAddressResponseResult 27 | */ 28 | 'fid': number; 29 | /** 30 | * 31 | * @type {string} 32 | * @memberof CustodyAddressResponseResult 33 | */ 34 | 'custodyAddress': string | null; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/custody-address-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CustodyAddressResponseResult } from './custody-address-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface CustodyAddressResponse 24 | */ 25 | export interface CustodyAddressResponse { 26 | /** 27 | * 28 | * @type {CustodyAddressResponseResult} 29 | * @memberof CustodyAddressResponse 30 | */ 31 | 'result': CustodyAddressResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/embed-url.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface EmbedUrl 21 | */ 22 | export interface EmbedUrl { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof EmbedUrl 27 | */ 28 | 'url': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/error-res.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * Returns ErrorRes metadata 19 | * @export 20 | * @interface ErrorRes 21 | */ 22 | export interface ErrorRes { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof ErrorRes 27 | */ 28 | 'code'?: string; 29 | /** 30 | * 31 | * @type {string} 32 | * @memberof ErrorRes 33 | */ 34 | 'message': string; 35 | /** 36 | * 37 | * @type {string} 38 | * @memberof ErrorRes 39 | */ 40 | 'property'?: string; 41 | } 42 | 43 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/follow-response-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { User } from './user.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface FollowResponseResult 24 | */ 25 | export interface FollowResponseResult { 26 | /** 27 | * 28 | * @type {Array} 29 | * @memberof FollowResponseResult 30 | */ 31 | 'users': Array; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/follow-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { FollowResponseResult } from './follow-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface FollowResponse 24 | */ 25 | export interface FollowResponse { 26 | /** 27 | * 28 | * @type {FollowResponseResult} 29 | * @memberof FollowResponse 30 | */ 31 | 'result': FollowResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/mentions-and-replies-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { MentionsAndRepliesResponseResult } from './mentions-and-replies-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface MentionsAndRepliesResponse 24 | */ 25 | export interface MentionsAndRepliesResponse { 26 | /** 27 | * 28 | * @type {MentionsAndRepliesResponseResult} 29 | * @memberof MentionsAndRepliesResponse 30 | */ 31 | 'result': MentionsAndRepliesResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/next-cursor.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * Returns next cursor 19 | * @export 20 | * @interface NextCursor 21 | */ 22 | export interface NextCursor { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof NextCursor 27 | */ 28 | 'cursor': string | null; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/reaction-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * The reaction type of a cast. - like: Cast is being liked by a user. - recast: Cast is being recasted by a user. 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum ReactionType { 24 | Like = 'like', 25 | Recast = 'recast' 26 | } 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/reactor-pfp.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface ReactorPfp 21 | */ 22 | export interface ReactorPfp { 23 | /** 24 | * The URL of the reactor\'s profile picture. 25 | * @type {string} 26 | * @memberof ReactorPfp 27 | */ 28 | 'url': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/reactor-viewer-context.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface ReactorViewerContext 21 | */ 22 | export interface ReactorViewerContext { 23 | /** 24 | * Indicates if the viewer is following the reactor. 25 | * @type {boolean} 26 | * @memberof ReactorViewerContext 27 | */ 28 | 'following': boolean; 29 | /** 30 | * Indicates if the reactor is followed by the viewer. 31 | * @type {boolean} 32 | * @memberof ReactorViewerContext 33 | */ 34 | 'followedBy': boolean; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/recaster-pfp.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface RecasterPfp 21 | */ 22 | export interface RecasterPfp { 23 | /** 24 | * The URL of the recaster\'s profile picture. 25 | * @type {string} 26 | * @memberof RecasterPfp 27 | */ 28 | 'url': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/recaster-profile-bio.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface RecasterProfileBio 21 | */ 22 | export interface RecasterProfileBio { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof RecasterProfileBio 27 | */ 28 | 'text': string; 29 | /** 30 | * 31 | * @type {Array} 32 | * @memberof RecasterProfileBio 33 | */ 34 | 'mentions': Array; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/recaster-profile.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { RecasterProfileBio } from './recaster-profile-bio.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface RecasterProfile 24 | */ 25 | export interface RecasterProfile { 26 | /** 27 | * 28 | * @type {RecasterProfileBio} 29 | * @memberof RecasterProfile 30 | */ 31 | 'bio': RecasterProfileBio; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/recent-casts-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastsResponseResult } from './casts-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface RecentCastsResponse 24 | */ 25 | export interface RecentCastsResponse { 26 | /** 27 | * 28 | * @type {CastsResponseResult} 29 | * @memberof RecentCastsResponse 30 | */ 31 | 'result': CastsResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/recent-users-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { RecentUsersResponseResult } from './recent-users-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface RecentUsersResponse 24 | */ 25 | export interface RecentUsersResponse { 26 | /** 27 | * 28 | * @type {RecentUsersResponseResult} 29 | * @memberof RecentUsersResponse 30 | */ 31 | 'result': RecentUsersResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/user-cast-like-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { UserCastLikeResponseResult } from './user-cast-like-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface UserCastLikeResponse 24 | */ 25 | export interface UserCastLikeResponse { 26 | /** 27 | * 28 | * @type {UserCastLikeResponseResult} 29 | * @memberof UserCastLikeResponse 30 | */ 31 | 'result': UserCastLikeResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/user-pfp.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface UserPfp 21 | */ 22 | export interface UserPfp { 23 | /** 24 | * The URL of the user\'s profile picture. 25 | * @type {string} 26 | * @memberof UserPfp 27 | */ 28 | 'url': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/user-profile-bio.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface UserProfileBio 21 | */ 22 | export interface UserProfileBio { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof UserProfileBio 27 | */ 28 | 'text': string; 29 | /** 30 | * 31 | * @type {Array} 32 | * @memberof UserProfileBio 33 | */ 34 | 'mentions': Array; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/user-profile.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { UserProfileBio } from './user-profile-bio.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface UserProfile 24 | */ 25 | export interface UserProfile { 26 | /** 27 | * 28 | * @type {UserProfileBio} 29 | * @memberof UserProfile 30 | */ 31 | 'bio': UserProfileBio; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/user200-response-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { User } from './user.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface User200ResponseResult 24 | */ 25 | export interface User200ResponseResult { 26 | /** 27 | * 28 | * @type {User} 29 | * @memberof User200ResponseResult 30 | */ 31 | 'user': User; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/user200-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { User200ResponseResult } from './user200-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface User200Response 24 | */ 25 | export interface User200Response { 26 | /** 27 | * 28 | * @type {User200ResponseResult} 29 | * @memberof User200Response 30 | */ 31 | 'result': User200ResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/generated/models/verification-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * v1 Farcaster 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 1.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { VerificationResponseResult } from './verification-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface VerificationResponse 24 | */ 25 | export interface VerificationResponse { 26 | /** 27 | * 28 | * @type {VerificationResponseResult} 29 | * @memberof VerificationResponse 30 | */ 31 | 'result': VerificationResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v1/openapi/index.ts: -------------------------------------------------------------------------------- 1 | export * from './generated/index.js'; 2 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/index.ts: -------------------------------------------------------------------------------- 1 | export * from './openapi/index.js'; 2 | export * from './NeynarV2APIClient.js'; 3 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 6.6.0 -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/api.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | export * from './apis/cast-api.js'; 18 | export * from './apis/feed-api.js'; 19 | export * from './apis/follows-api.js'; 20 | export * from './apis/notifications-api.js'; 21 | export * from './apis/reaction-api.js'; 22 | export * from './apis/signer-api.js'; 23 | export * from './apis/user-api.js'; 24 | 25 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | export * from "./api.js"; 17 | export * from "./configuration.js"; 18 | export * from "./models/index.js"; 19 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/active-status.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * The status of a user. - active: The user is currently active. - inactive: The user is not currently active. 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum ActiveStatus { 24 | Active = 'active', 25 | Inactive = 'inactive' 26 | } 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-id.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface CastId 21 | */ 22 | export interface CastId { 23 | /** 24 | * 25 | * @type {number} 26 | * @memberof CastId 27 | */ 28 | 'fid': number; 29 | /** 30 | * 31 | * @type {string} 32 | * @memberof CastId 33 | */ 34 | 'hash': string; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-notification-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * The notification type of a cast. 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum CastNotificationType { 24 | Mention = 'cast-mention', 25 | Reply = 'cast-reply' 26 | } 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-param-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum CastParamType { 24 | Url = 'url', 25 | Hash = 'hash' 26 | } 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-parent-author-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface CastParentAuthorAllOf 21 | */ 22 | export interface CastParentAuthorAllOf { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof CastParentAuthorAllOf 27 | */ 28 | 'fid': string | null; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-parent-author.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastParentAuthorAllOf } from './cast-parent-author-all-of.js'; 19 | 20 | /** 21 | * @type CastParentAuthor 22 | * @export 23 | */ 24 | export type CastParentAuthor = CastParentAuthorAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastWithInteractions } from './cast-with-interactions.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface CastResponse 24 | */ 25 | export interface CastResponse { 26 | /** 27 | * 28 | * @type {CastWithInteractions} 29 | * @memberof CastResponse 30 | */ 31 | 'cast': CastWithInteractions; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/cast-with-interactions-replies.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface CastWithInteractionsReplies 21 | */ 22 | export interface CastWithInteractionsReplies { 23 | /** 24 | * 25 | * @type {number} 26 | * @memberof CastWithInteractionsReplies 27 | */ 28 | 'count': number; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/casts-response-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastWithInteractions } from './cast-with-interactions.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface CastsResponseResult 24 | */ 25 | export interface CastsResponseResult { 26 | /** 27 | * 28 | * @type {Array} 29 | * @memberof CastsResponseResult 30 | */ 31 | 'casts': Array; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/casts-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastsResponseResult } from './casts-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface CastsResponse 24 | */ 25 | export interface CastsResponse { 26 | /** 27 | * 28 | * @type {CastsResponseResult} 29 | * @memberof CastsResponse 30 | */ 31 | 'result': CastsResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/delete-cast-req-body.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface DeleteCastReqBody 21 | */ 22 | export interface DeleteCastReqBody { 23 | /** 24 | * UUID of the signer 25 | * @type {string} 26 | * @memberof DeleteCastReqBody 27 | */ 28 | 'signer_uuid': string; 29 | /** 30 | * Ethereum address 31 | * @type {string} 32 | * @memberof DeleteCastReqBody 33 | */ 34 | 'target_hash': string; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/embed-cast-id.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastId } from './cast-id.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface EmbedCastId 24 | */ 25 | export interface EmbedCastId { 26 | /** 27 | * 28 | * @type {CastId} 29 | * @memberof EmbedCastId 30 | */ 31 | 'cast_id': CastId; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/embed-url.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface EmbedUrl 21 | */ 22 | export interface EmbedUrl { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof EmbedUrl 27 | */ 28 | 'url': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/embedded-cast.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { CastId } from './cast-id.js'; 19 | // May contain unused imports in some cases 20 | // @ts-ignore 21 | import { EmbedCastId } from './embed-cast-id.js'; 22 | // May contain unused imports in some cases 23 | // @ts-ignore 24 | import { EmbedUrl } from './embed-url.js'; 25 | 26 | /** 27 | * @type EmbeddedCast 28 | * @export 29 | */ 30 | export type EmbeddedCast = EmbedCastId | EmbedUrl; 31 | 32 | 33 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/follow-req-body.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface FollowReqBody 21 | */ 22 | export interface FollowReqBody { 23 | /** 24 | * UUID of the signer 25 | * @type {string} 26 | * @memberof FollowReqBody 27 | */ 28 | 'signer_uuid': string; 29 | /** 30 | * 31 | * @type {Array} 32 | * @memberof FollowReqBody 33 | */ 34 | 'target_fids': Array; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/follow-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface FollowResponse 21 | */ 22 | export interface FollowResponse { 23 | /** 24 | * 25 | * @type {boolean} 26 | * @memberof FollowResponse 27 | */ 28 | 'success': boolean; 29 | /** 30 | * User identifier (unsigned integer) 31 | * @type {number} 32 | * @memberof FollowResponse 33 | */ 34 | 'target_fid': number; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/get-casts-req-body.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { IndividualHashObj } from './individual-hash-obj.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface GetCastsReqBody 24 | */ 25 | export interface GetCastsReqBody { 26 | /** 27 | * 28 | * @type {Array} 29 | * @memberof GetCastsReqBody 30 | */ 31 | 'casts'?: Array; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/individual-hash-obj.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface IndividualHashObj 21 | */ 22 | export interface IndividualHashObj { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof IndividualHashObj 27 | */ 28 | 'hash': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/next-cursor.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * Returns next cursor 19 | * @export 20 | * @interface NextCursor 21 | */ 22 | export interface NextCursor { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof NextCursor 27 | */ 28 | 'cursor': string | null; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/operation-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface OperationResponse 21 | */ 22 | export interface OperationResponse { 23 | /** 24 | * 25 | * @type {boolean} 26 | * @memberof OperationResponse 27 | */ 28 | 'success': boolean; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/post-cast-response-cast-author.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface PostCastResponseCastAuthor 21 | */ 22 | export interface PostCastResponseCastAuthor { 23 | /** 24 | * User identifier (unsigned integer) 25 | * @type {number} 26 | * @memberof PostCastResponseCastAuthor 27 | */ 28 | 'fid': number; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/profile-url-pfp.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface ProfileUrlPfp 21 | */ 22 | export interface ProfileUrlPfp { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof ProfileUrlPfp 27 | */ 28 | 'url': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/profile-url.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { ProfileUrlPfp } from './profile-url-pfp.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface ProfileUrl 24 | */ 25 | export interface ProfileUrl { 26 | /** 27 | * 28 | * @type {ProfileUrlPfp} 29 | * @memberof ProfileUrl 30 | */ 31 | 'pfp': ProfileUrlPfp; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/reaction-like.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface ReactionLike 21 | */ 22 | export interface ReactionLike { 23 | /** 24 | * User identifier (unsigned integer) 25 | * @type {number} 26 | * @memberof ReactionLike 27 | */ 28 | 'fid': number; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/reaction-recast.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface ReactionRecast 21 | */ 22 | export interface ReactionRecast { 23 | /** 24 | * User identifier (unsigned integer) 25 | * @type {number} 26 | * @memberof ReactionRecast 27 | */ 28 | 'fid': number; 29 | /** 30 | * 31 | * @type {string} 32 | * @memberof ReactionRecast 33 | */ 34 | 'fname': string; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/reaction-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum ReactionType { 24 | Like = 'like', 25 | Recast = 'recast' 26 | } 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/remove-verification-req-body.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface RemoveVerificationReqBody 21 | */ 22 | export interface RemoveVerificationReqBody { 23 | /** 24 | * UUID of the signer 25 | * @type {string} 26 | * @memberof RemoveVerificationReqBody 27 | */ 28 | 'signer_uuid': string; 29 | /** 30 | * Ethereum address 31 | * @type {string} 32 | * @memberof RemoveVerificationReqBody 33 | */ 34 | 'address': string; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-bulk200-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { User } from './user.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface UserBulk200Response 24 | */ 25 | export interface UserBulk200Response { 26 | /** 27 | * 28 | * @type {Array} 29 | * @memberof UserBulk200Response 30 | */ 31 | 'users': Array; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-profile-bio.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface UserProfileBio 21 | */ 22 | export interface UserProfileBio { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof UserProfileBio 27 | */ 28 | 'text': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-profile.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { UserProfileBio } from './user-profile-bio.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface UserProfile 24 | */ 25 | export interface UserProfile { 26 | /** 27 | * 28 | * @type {UserProfileBio} 29 | * @memberof UserProfile 30 | */ 31 | 'bio': UserProfileBio; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { User } from './user.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface UserResponse 24 | */ 25 | export interface UserResponse { 26 | /** 27 | * 28 | * @type {User} 29 | * @memberof UserResponse 30 | */ 31 | 'user': User; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-search-response-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { SearchedUser } from './searched-user.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface UserSearchResponseResult 24 | */ 25 | export interface UserSearchResponseResult { 26 | /** 27 | * 28 | * @type {Array} 29 | * @memberof UserSearchResponseResult 30 | */ 31 | 'users': Array; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-search-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | // May contain unused imports in some cases 17 | // @ts-ignore 18 | import { UserSearchResponseResult } from './user-search-response-result.js'; 19 | 20 | /** 21 | * 22 | * @export 23 | * @interface UserSearchResponse 24 | */ 25 | export interface UserSearchResponse { 26 | /** 27 | * 28 | * @type {UserSearchResponseResult} 29 | * @memberof UserSearchResponse 30 | */ 31 | 'result': UserSearchResponseResult; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/generated/models/user-viewer-context.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Farcaster API V2 5 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 6 | * 7 | * The version of the OpenAPI document: 2.0 8 | * 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface UserViewerContext 21 | */ 22 | export interface UserViewerContext { 23 | /** 24 | * 25 | * @type {number} 26 | * @memberof UserViewerContext 27 | */ 28 | 'following': number; 29 | /** 30 | * 31 | * @type {number} 32 | * @memberof UserViewerContext 33 | */ 34 | 'followed_by': number; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/src/v2/openapi/index.ts: -------------------------------------------------------------------------------- 1 | export * from './generated/index.js'; 2 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/tests/utils.ts: -------------------------------------------------------------------------------- 1 | import { expect } from 'chai'; 2 | 3 | export function expectDefinedNonNull(arg: T): asserts arg is NonNullable { 4 | expect(arg).to.not.be.undefined; 5 | expect(arg).to.not.be.null; 6 | } 7 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "declaration": true, 6 | "rootDir": "." 7 | }, 8 | "include": [ 9 | "./src/**/*.ts", 10 | "./examples/**/*.ts", 11 | "./tests/**/*.ts", 12 | "scripts/generateSigner.ts" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /packages/farcaster-js-neynar/typedoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "entryPoints": [ 3 | "./src/NeynarAPIClient.ts", 4 | "./src/v1/index.ts", 5 | "./src/v2/index.ts", 6 | "./src/utils.ts", 7 | "./src/logger.ts" 8 | ], 9 | "out": "docs", 10 | "exclude": [], 11 | "gitRevision": "main", 12 | "theme": "markdown", 13 | "readme": "./README.md", 14 | "excludePrivate": true 15 | } 16 | -------------------------------------------------------------------------------- /packages/farcaster-js/src/cli.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | import { runCli } from '@standard-crypto/farcaster-js-cli'; 3 | void runCli(); 4 | -------------------------------------------------------------------------------- /packages/farcaster-js/src/index.ts: -------------------------------------------------------------------------------- 1 | export { HubRestAPIClient, FarcasterEpochTimestamp, ExternalEd25519Signer } from '@standard-crypto/farcaster-js-hub-rest'; 2 | export { NeynarAPIClient, waitForNeynarSignerApproval } from '@standard-crypto/farcaster-js-neynar'; 3 | export * as NeynarV1 from '@standard-crypto/farcaster-js-neynar/v1'; 4 | export * as NeynarV2 from '@standard-crypto/farcaster-js-neynar/v2'; 5 | -------------------------------------------------------------------------------- /packages/farcaster-js/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "declaration": true, 6 | "paths": {} 7 | }, 8 | "include": [ 9 | "./src/**/*.ts" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/farcaster-js/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "declaration": true, 6 | "rootDir": "." 7 | }, 8 | "include": [ 9 | "./src/**/*.ts" 10 | ] 11 | } 12 | --------------------------------------------------------------------------------