From 11c7f9a9a136952c9b96bdb8eb0416697e1180d7 Mon Sep 17 00:00:00 2001 From: bigint <69431456+bigint@users.noreply.github.com> Date: Tue, 24 Oct 2023 20:19:08 +0530 Subject: [PATCH 01/17] feat: lens v2 --- codegen.yml | 2 +- src/constants.ts | 2 +- src/generated.ts | 8168 ++++++++++------- .../AnyPublicationMetadataFields.graphql | 47 + src/graphql/fragments/DACommentFields.graphql | 22 - src/graphql/fragments/DAMirrorFields.graphql | 22 - src/graphql/fragments/DAPostFields.graphql | 18 - .../fragments/MomokaCommentFields.graphql | 22 + .../fragments/MomokaMirrorFields.graphql | 22 + .../fragments/MomokaPostFields.graphql | 22 + src/graphql/fragments/ProfileFields.graphql | 70 +- src/graphql/queries/DASummary.graphql | 5 - src/graphql/queries/DATransaction.graphql | 13 - src/graphql/queries/DATransactions.graphql | 18 - ...tters.graphql => MomokaSubmitters.graphql} | 4 +- src/graphql/queries/MomokaSummary.graphql | 5 + src/graphql/queries/MomokaTransaction.graphql | 13 + .../queries/MomokaTransactions.graphql | 18 + src/graphql/queries/Profile.graphql | 3 +- src/graphql/queries/Profiles.graphql | 12 - src/graphql/queries/Publication.graphql | 23 +- src/graphql/queries/Publications.graphql | 5 +- 22 files changed, 4863 insertions(+), 3673 deletions(-) create mode 100644 src/graphql/fragments/AnyPublicationMetadataFields.graphql delete mode 100644 src/graphql/fragments/DACommentFields.graphql delete mode 100644 src/graphql/fragments/DAMirrorFields.graphql delete mode 100644 src/graphql/fragments/DAPostFields.graphql create mode 100644 src/graphql/fragments/MomokaCommentFields.graphql create mode 100644 src/graphql/fragments/MomokaMirrorFields.graphql create mode 100644 src/graphql/fragments/MomokaPostFields.graphql delete mode 100644 src/graphql/queries/DASummary.graphql delete mode 100644 src/graphql/queries/DATransaction.graphql delete mode 100644 src/graphql/queries/DATransactions.graphql rename src/graphql/queries/{DASubmitters.graphql => MomokaSubmitters.graphql} (61%) create mode 100644 src/graphql/queries/MomokaSummary.graphql create mode 100644 src/graphql/queries/MomokaTransaction.graphql create mode 100644 src/graphql/queries/MomokaTransactions.graphql delete mode 100644 src/graphql/queries/Profiles.graphql diff --git a/codegen.yml b/codegen.yml index c3e1d0f..b4d5c72 100644 --- a/codegen.yml +++ b/codegen.yml @@ -1,4 +1,4 @@ -schema: https://staging-api-social-mumbai.lens.crtlkey.com +schema: https://api-v2-mumbai.lens.dev documents: ['./src/graphql/queries/*.graphql', './src/graphql/fragments/*.graphql'] hooks: diff --git a/src/constants.ts b/src/constants.ts index f594f7b..888ee19 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -11,7 +11,7 @@ export enum HeyUrl { export enum LensEndpoint { STAGING = 'https://staging-api-social-mumbai.lens.crtlkey.com', - TESTNET = 'https://api-mumbai.lens.dev', + TESTNET = 'https://api-v2-mumbai.lens.dev', PRODUCTION = 'https://api.lens.dev' } diff --git a/src/generated.ts b/src/generated.ts index 7a10986..8962fd2 100644 --- a/src/generated.ts +++ b/src/generated.ts @@ -13,201 +13,217 @@ export type Scalars = { Boolean: boolean; Int: number; Float: number; + AppId: any; BlockchainData: any; BroadcastId: any; ChainId: any; - CollectModuleData: any; + ChallengeId: any; ContentEncryptionKey: any; - ContractAddress: any; CreateHandle: any; Cursor: any; - DataAvailabilityId: any; DateTime: any; - EncryptedValueScalar: any; + EncryptableDateTime: any; + EncryptableMarkdown: any; + EncryptableString: any; + EncryptableTxHash: any; + EncryptableURI: any; + EncryptedPath: any; Ens: any; - EthereumAddress: any; - FollowModuleData: any; + EvmAddress: any; Handle: any; - HandleClaimIdScalar: any; - InternalPublicationId: any; - IpfsCid: any; + ImageSizeTransform: any; Jwt: any; - LimitScalar: any; Locale: any; Markdown: any; MimeType: any; + MomokaId: any; + MomokaProof: any; NftGalleryId: any; NftGalleryName: any; - NftOwnershipId: any; Nonce: any; - NotificationId: any; + OnchainPublicationId: any; + PoapEventId: any; ProfileId: any; - ProfileInterest: any; - ProxyActionId: any; PublicationId: any; - PublicationTag: any; - PublicationUrl: any; - ReactionId: any; - ReferenceModuleData: any; - Search: any; Signature: any; - Sources: any; - TimestampScalar: any; TokenId: any; TxHash: any; TxId: any; + URI: any; + URL: any; + UUID: any; UnixTimestamp: any; - Url: any; Void: any; }; -export type AaveFeeCollectModuleParams = { - /** The collect module amount info */ - amount: ModuleFeeAmountParams; - /** The collect module limit */ - collectLimit?: InputMaybe; - /** The timestamp that this collect module will expire */ - endTimestamp?: InputMaybe; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; +export type ActOnOpenActionInput = { + multirecipientCollectOpenAction?: InputMaybe; + simpleCollectOpenAction?: InputMaybe; + unknownOpenAction?: InputMaybe; }; -export type AaveFeeCollectModuleSettings = { - __typename?: 'AaveFeeCollectModuleSettings'; - /** The collect module amount info */ - amount: ModuleFeeAmount; - /** The maximum number of collects for this publication. Omit for no limit. */ - collectLimit?: Maybe; - contractAddress: Scalars['ContractAddress']; - /** The end timestamp after which collecting is impossible. No expiry if missing. */ - endTimestamp?: Maybe; - /** True if only followers of publisher may collect the post. */ - followerOnly: Scalars['Boolean']; - /** Recipient of collect fees. */ - recipient: Scalars['EthereumAddress']; - /** The referral fee associated with this publication. */ - referralFee: Scalars['Float']; - /** The collect modules enum */ - type: CollectModules; -}; - -/** The access conditions for the publication */ -export type AccessConditionInput = { - /** AND condition */ - and?: InputMaybe; - /** Profile follow condition */ - collect?: InputMaybe; - /** EOA ownership condition */ - eoa?: InputMaybe; - /** Profile follow condition */ - follow?: InputMaybe; - /** NFT ownership condition */ - nft?: InputMaybe; - /** OR condition */ - or?: InputMaybe; - /** Profile ownership condition */ - profile?: InputMaybe; - /** ERC20 token ownership condition */ - token?: InputMaybe; -}; - -/** The access conditions for the publication */ -export type AccessConditionOutput = { - __typename?: 'AccessConditionOutput'; - /** AND condition */ - and?: Maybe; - /** Profile follow condition */ - collect?: Maybe; - /** EOA ownership condition */ - eoa?: Maybe; - /** Profile follow condition */ - follow?: Maybe; - /** NFT ownership condition */ - nft?: Maybe; - /** OR condition */ - or?: Maybe; - /** Profile ownership condition */ - profile?: Maybe; - /** ERC20 token ownership condition */ - token?: Maybe; -}; - -export type AchRequest = { - ethereumAddress: Scalars['EthereumAddress']; - freeTextHandle?: InputMaybe; - handle?: InputMaybe; - overrideAlreadyClaimed: Scalars['Boolean']; - overrideTradeMark: Scalars['Boolean']; - secret: Scalars['String']; +/** The lens manager will only support FREE open action modules, if you want your unknown module allowed to be signless please contact us */ +export type ActOnOpenActionLensManagerInput = { + simpleCollectOpenAction?: InputMaybe; + unknownOpenAction?: InputMaybe; }; -/** The request object to add interests to a profile */ -export type AddProfileInterestsRequest = { - /** The profile interest to add */ - interests: Array; - /** The profileId to add interests to */ - profileId: Scalars['ProfileId']; +export type ActOnOpenActionLensManagerRequest = { + actOn: ActOnOpenActionLensManagerInput; + for: Scalars['PublicationId']; + referrers?: InputMaybe>; }; -export type AllPublicationsTagsRequest = { - cursor?: InputMaybe; - limit?: InputMaybe; - sort: TagSortCriteria; - /** The App Id */ - source?: InputMaybe; +export type ActOnOpenActionRequest = { + actOn: ActOnOpenActionInput; + for: Scalars['PublicationId']; + referrers?: InputMaybe>; }; -export type AndConditionInput = { - /** The list of conditions to apply AND to. You can only use nested boolean conditions at the root level. */ - criteria: Array; +export type ActedNotification = { + __typename?: 'ActedNotification'; + actions: Array; + id: Scalars['UUID']; + publication: AnyPublication; }; -export type AndConditionOutput = { - __typename?: 'AndConditionOutput'; - /** The list of conditions to apply AND to. You can only use nested boolean conditions at the root level. */ - criteria: Array; +/** Condition that checks if the given on-chain contract function returns true. It only supports view functions */ +export type AdvancedContractCondition = { + __typename?: 'AdvancedContractCondition'; + /** The contract ABI. Has to be in human readable single string format containing the signature of the function you want to call. See https://docs.ethers.org/v5/api/utils/abi/fragments/#human-readable-abi for more info */ + abi: Scalars['String']; + /** The check to perform on the result of the function. In case of boolean outputs, "EQUALS" and "NOT_EQUALS" are supported. For BigNumber outputs, you can use every comparison option */ + comparison: ComparisonOperatorConditionType; + /** The address and chain ID of the contract to call */ + contract: NetworkAddress; + /** The name of the function to call. Must be included in the provided abi */ + functionName: Scalars['String']; + /** ABI encoded function parameters. In order to represent the address of the person trying to decrypt, you *have* to use the string ":userAddress" as this param represents the decrypting user address. If a param is an array or tuple, it will be in stringified format. */ + params: Array; + /** The value to compare the result of the function against. Can be "true", "false" or a number in string format */ + value: Scalars['String']; }; -export type ApprovedAllowanceAmount = { - __typename?: 'ApprovedAllowanceAmount'; - allowance: Scalars['String']; - contractAddress: Scalars['ContractAddress']; - currency: Scalars['ContractAddress']; - module: Scalars['String']; +export type AlreadyInvitedCheckRequest = { + for: Scalars['EvmAddress']; }; -export type ApprovedModuleAllowanceAmountRequest = { - collectModules?: InputMaybe>; - /** The contract addresses for the module approved currencies you want to find information on about the user */ - currencies: Array; - followModules?: InputMaybe>; - referenceModules?: InputMaybe>; - unknownCollectModules?: InputMaybe>; - unknownFollowModules?: InputMaybe>; - unknownReferenceModules?: InputMaybe>; +export type Amount = { + __typename?: 'Amount'; + /** The asset */ + asset: Asset; + rate?: Maybe; + /** Floating point number as string (e.g. 42.009837). It could have the entire precision of the Asset or be truncated to the last significant decimal. */ + value: Scalars['String']; }; -/** The Profile */ -export type Attribute = { - __typename?: 'Attribute'; - /** The display type */ - displayType?: Maybe; - /** identifier of this attribute, we will update by this id */ - key: Scalars['String']; - /** The trait type - can be anything its the name it will render so include spaces */ - traitType?: Maybe; - /** Value attribute */ +export type AmountRateArgs = { + request: RateRequest; +}; + +export type AmountInput = { + /** The currency */ + currency: Scalars['EvmAddress']; + /** Floating point number as string (e.g. 42.009837). It could have the entire precision of the Asset or be truncated to the last significant decimal. */ value: Scalars['String']; }; -/** The auth challenge result */ +export type AndCondition = { + __typename?: 'AndCondition'; + criteria: Array; +}; + +export type AnyPublication = Comment | Mirror | Post | Quote; + +export type App = { + __typename?: 'App'; + id: Scalars['AppId']; +}; + +export type ApprovedAllowanceAmountResult = { + __typename?: 'ApprovedAllowanceAmountResult'; + allowance: Amount; + moduleContract: NetworkAddress; + moduleName: Scalars['String']; +}; + +export type ApprovedAuthentication = { + __typename?: 'ApprovedAuthentication'; + authorizationId: Scalars['UUID']; + browser?: Maybe; + createdAt: Scalars['DateTime']; + device?: Maybe; + expiresAt: Scalars['DateTime']; + origin?: Maybe; + os?: Maybe; + updatedAt: Scalars['DateTime']; +}; + +export type ApprovedAuthenticationRequest = { + cursor?: InputMaybe; + limit?: InputMaybe; +}; + +export type ApprovedModuleAllowanceAmountRequest = { + currencies: Array; + followModules?: InputMaybe>; + openActionModules?: InputMaybe>; + referenceModules?: InputMaybe>; + unknownFollowModules?: InputMaybe>; + unknownOpenActionModules?: InputMaybe>; + unknownReferenceModules?: InputMaybe>; +}; + +export type ArticleMetadataV3 = { + __typename?: 'ArticleMetadataV3'; + appId?: Maybe; + attachments?: Maybe>; + attributes?: Maybe>; + content: Scalars['EncryptableMarkdown']; + contentWarning?: Maybe; + encryptedWith?: Maybe; + hideFromFeed: Scalars['Boolean']; + id: Scalars['String']; + locale: Scalars['Locale']; + marketplace?: Maybe; + rawURI: Scalars['URI']; + tags?: Maybe>; + /** The title of the article. Empty if not set. */ + title: Scalars['String']; +}; + +export type Asset = Erc20; + +export type Audio = { + __typename?: 'Audio'; + mimeType?: Maybe; + uri: Scalars['URI']; +}; + +export type AudioMetadataV3 = { + __typename?: 'AudioMetadataV3'; + appId?: Maybe; + asset: PublicationMetadataMediaAudio; + attachments?: Maybe>; + attributes?: Maybe>; + /** Optional content. Empty if not set. */ + content: Scalars['EncryptableMarkdown']; + contentWarning?: Maybe; + encryptedWith?: Maybe; + hideFromFeed: Scalars['Boolean']; + id: Scalars['String']; + locale: Scalars['Locale']; + marketplace?: Maybe; + rawURI: Scalars['URI']; + tags?: Maybe>; + /** The title of the audio. Empty if not set. */ + title: Scalars['String']; +}; + export type AuthChallengeResult = { __typename?: 'AuthChallengeResult'; - /** The text to sign */ + id: Scalars['ChallengeId']; + /** The text that needs to be signed */ text: Scalars['String']; }; @@ -220,393 +236,282 @@ export type AuthenticationResult = { refreshToken: Scalars['Jwt']; }; -export type BroadcastDataAvailabilityUnion = CreateDataAvailabilityPublicationResult | RelayError; +export type BlockRequest = { + profiles: Array; +}; + +export type BroadcastMomokaResult = CreateMomokaPublicationResult | RelayError; export type BroadcastRequest = { id: Scalars['BroadcastId']; signature: Scalars['Signature']; }; -export type BurnProfileRequest = { - profileId: Scalars['ProfileId']; -}; - -export type CanCommentResponse = { - __typename?: 'CanCommentResponse'; - result: Scalars['Boolean']; -}; - export type CanDecryptResponse = { __typename?: 'CanDecryptResponse'; extraDetails?: Maybe; - reasons?: Maybe>; + reasons?: Maybe>; result: Scalars['Boolean']; }; -export type CanMirrorResponse = { - __typename?: 'CanMirrorResponse'; - result: Scalars['Boolean']; +export type ChallengeRequest = { + /** The profile ID to initiate a challenge - note if you do not pass this in you be logging in as a wallet and wont be able to use all the features */ + for?: InputMaybe; + /** The Ethereum address that will sign the challenge */ + signedBy: Scalars['EvmAddress']; }; -/** The challenge request */ -export type ChallengeRequest = { - /** The ethereum address you want to login with */ - address: Scalars['EthereumAddress']; +export type ChangeProfileManager = { + action: ChangeProfileManagerActionType; + address: Scalars['EvmAddress']; }; -export type ClaimHandleRequest = { - /** The follow module */ - followModule?: InputMaybe; - freeTextHandle?: InputMaybe; - id?: InputMaybe; +export enum ChangeProfileManagerActionType { + Add = 'ADD', + Remove = 'REMOVE' +} + +export type ChangeProfileManagersRequest = { + approveLensManager?: InputMaybe; + changeManagers?: InputMaybe>; +}; + +export type CheckingInMetadataV3 = { + __typename?: 'CheckingInMetadataV3'; + address?: Maybe; + appId?: Maybe; + attachments?: Maybe>; + attributes?: Maybe>; + /** Optional content. Empty if not set. */ + content: Scalars['EncryptableMarkdown']; + contentWarning?: Maybe; + encryptedWith?: Maybe; + geographic?: Maybe; + hideFromFeed: Scalars['Boolean']; + id: Scalars['String']; + locale: Scalars['Locale']; + location: Scalars['EncryptableString']; + marketplace?: Maybe; + rawURI: Scalars['URI']; + tags?: Maybe>; }; -/** The claim status */ -export enum ClaimStatus { +export enum ClaimProfileStatusType { AlreadyClaimed = 'ALREADY_CLAIMED', ClaimFailed = 'CLAIM_FAILED', NotClaimed = 'NOT_CLAIMED' } -export type ClaimableHandles = { - __typename?: 'ClaimableHandles'; - canClaimFreeTextHandle: Scalars['Boolean']; - reservedHandles: Array; -}; - -/** Condition that signifies if address or profile has collected a publication */ -export type CollectConditionInput = { - /** The publication id that has to be collected to unlock content */ - publicationId?: InputMaybe; - /** True if the content will be unlocked for this specific publication */ - thisPublication?: InputMaybe; -}; - -/** Condition that signifies if address or profile has collected a publication */ -export type CollectConditionOutput = { - __typename?: 'CollectConditionOutput'; - /** The publication id that has to be collected to unlock content */ - publicationId?: Maybe; - /** True if the content will be unlocked for this specific publication */ - thisPublication?: Maybe; -}; - -export type CollectModule = - | AaveFeeCollectModuleSettings - | Erc4626FeeCollectModuleSettings - | FeeCollectModuleSettings - | FreeCollectModuleSettings - | LimitedFeeCollectModuleSettings - | LimitedTimedFeeCollectModuleSettings - | MultirecipientFeeCollectModuleSettings - | RevertCollectModuleSettings - | TimedFeeCollectModuleSettings - | UnknownCollectModuleSettings; - -export type CollectModuleParams = { - /** The collect aave fee collect module */ - aaveFeeCollectModule?: InputMaybe; - /** The collect ERC4626 fee collect module */ - erc4626FeeCollectModule?: InputMaybe; - /** The collect fee collect module */ - feeCollectModule?: InputMaybe; - /** The collect empty collect module */ - freeCollectModule?: InputMaybe; - /** The collect limited fee collect module */ - limitedFeeCollectModule?: InputMaybe; - /** The collect limited timed fee collect module */ - limitedTimedFeeCollectModule?: InputMaybe; - /** The multirecipient fee collect module */ - multirecipientFeeCollectModule?: InputMaybe; - /** The collect revert collect module */ - revertCollectModule?: InputMaybe; - /** The collect timed fee collect module */ - timedFeeCollectModule?: InputMaybe; - /** A unknown collect module */ - unknownCollectModule?: InputMaybe; -}; - -/** The collect module types */ -export enum CollectModules { - AaveFeeCollectModule = 'AaveFeeCollectModule', - Erc4626FeeCollectModule = 'ERC4626FeeCollectModule', - FeeCollectModule = 'FeeCollectModule', - FreeCollectModule = 'FreeCollectModule', - LimitedFeeCollectModule = 'LimitedFeeCollectModule', - LimitedTimedFeeCollectModule = 'LimitedTimedFeeCollectModule', - MultirecipientFeeCollectModule = 'MultirecipientFeeCollectModule', - RevertCollectModule = 'RevertCollectModule', - TimedFeeCollectModule = 'TimedFeeCollectModule', - UnknownCollectModule = 'UnknownCollectModule' +/** Claim profile with handle error reason type */ +export enum ClaimProfileWithHandleErrorReasonType { + CanNotFreeText = 'CAN_NOT_FREE_TEXT', + ClaimNotFound = 'CLAIM_NOT_FOUND', + ClaimNotLinkedToWallet = 'CLAIM_NOT_LINKED_TO_WALLET', + ClaimTimeExpired = 'CLAIM_TIME_EXPIRED', + ContractExecuted = 'CONTRACT_EXECUTED', + HandleAlreadyClaimed = 'HANDLE_ALREADY_CLAIMED', + HandleAlreadyExists = 'HANDLE_ALREADY_EXISTS', + HandleReserved = 'HANDLE_RESERVED' } -export type CollectProxyAction = { - freeCollect?: InputMaybe; +export type ClaimProfileWithHandleErrorResult = { + __typename?: 'ClaimProfileWithHandleErrorResult'; + reason: ClaimProfileWithHandleErrorReasonType; }; -export type CollectedEvent = { - __typename?: 'CollectedEvent'; - profile: Profile; - timestamp: Scalars['DateTime']; +export type ClaimProfileWithHandleRequest = { + followModule?: InputMaybe; + freeTextHandle?: InputMaybe; + id?: InputMaybe; }; -/** The social comment */ -export type Comment = { - __typename?: 'Comment'; - /** ID of the source */ - appId?: Maybe; - canComment: CanCommentResponse; - canDecrypt: CanDecryptResponse; - canMirror: CanMirrorResponse; - /** The collect module */ - collectModule: CollectModule; - /** The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed */ - collectNftAddress?: Maybe; - /** Who collected it, this is used for timeline results and like this for better caching for the client */ - collectedBy?: Maybe; - /** Which comment this points to if its null the pointer too deep so do another query to find it out */ - commentOn?: Maybe; - /** The date the post was created on */ - createdAt: Scalars['DateTime']; - /** The data availability proofs you can fetch from */ - dataAvailabilityProofs?: Maybe; - /** This will bring back the first comment of a comment and only be defined if using `publication` query and `commentOf` */ - firstComment?: Maybe; - hasCollectedByMe: Scalars['Boolean']; - /** If the publication has been hidden if it has then the content and media is not available */ - hidden: Scalars['Boolean']; - /** The internal publication id */ - id: Scalars['InternalPublicationId']; - /** Indicates if the publication is data availability post */ - isDataAvailability: Scalars['Boolean']; - /** Indicates if the publication is gated behind some access criteria */ - isGated: Scalars['Boolean']; - /** The top level post/mirror this comment lives on */ - mainPost: MainPostReference; - /** The metadata for the post */ - metadata: MetadataOutput; - mirrors: Array; - /** The on chain content uri could be `ipfs://` or `https` */ - onChainContentURI: Scalars['String']; - /** The profile ref */ - profile: Profile; - /** Comment ranking score */ - rankingScore?: Maybe; - reaction?: Maybe; - /** The reference module */ - referenceModule?: Maybe; - /** The publication stats */ - stats: PublicationStats; -}; +export type ClaimProfileWithHandleResult = ClaimProfileWithHandleErrorResult | RelaySuccess; -/** The social comment */ -export type CommentCanCommentArgs = { - profileId?: InputMaybe; +export type ClaimableProfilesResult = { + __typename?: 'ClaimableProfilesResult'; + canMintProfileWithFreeTextHandle: Scalars['Boolean']; + reserved: Array; }; -/** The social comment */ -export type CommentCanDecryptArgs = { - address?: InputMaybe; - profileId?: InputMaybe; +export type CollectActionModuleInput = { + multirecipientCollectOpenAction?: InputMaybe; + simpleCollectOpenAction?: InputMaybe; }; -/** The social comment */ -export type CommentCanMirrorArgs = { - profileId?: InputMaybe; +export type CollectCondition = { + __typename?: 'CollectCondition'; + publicationId: Scalars['PublicationId']; + thisPublication: Scalars['Boolean']; }; -/** The social comment */ -export type CommentHasCollectedByMeArgs = { - isFinalisedOnChain?: InputMaybe; -}; +export enum CollectOpenActionModuleType { + LegacyAaveFeeCollectModule = 'LegacyAaveFeeCollectModule', + LegacyErc4626FeeCollectModule = 'LegacyERC4626FeeCollectModule', + LegacyFeeCollectModule = 'LegacyFeeCollectModule', + LegacyFreeCollectModule = 'LegacyFreeCollectModule', + LegacyLimitedFeeCollectModule = 'LegacyLimitedFeeCollectModule', + LegacyLimitedTimedFeeCollectModule = 'LegacyLimitedTimedFeeCollectModule', + LegacyMultirecipientFeeCollectModule = 'LegacyMultirecipientFeeCollectModule', + LegacyRevertCollectModule = 'LegacyRevertCollectModule', + LegacySimpleCollectModule = 'LegacySimpleCollectModule', + LegacyTimedFeeCollectModule = 'LegacyTimedFeeCollectModule', + MultirecipientFeeCollectOpenActionModule = 'MultirecipientFeeCollectOpenActionModule', + SimpleCollectOpenActionModule = 'SimpleCollectOpenActionModule', + UnknownOpenActionModule = 'UnknownOpenActionModule' +} -/** The social comment */ -export type CommentMirrorsArgs = { - by?: InputMaybe; +export type Comment = { + __typename?: 'Comment'; + by: Profile; + commentOn: PrimaryPublication; + createdAt: Scalars['DateTime']; + firstComment?: Maybe; + id: Scalars['PublicationId']; + isHidden: Scalars['Boolean']; + metadata: PublicationMetadata; + momoka?: Maybe; + openActionModules?: Maybe>; + operations: PublicationOperations; + publishedOn?: Maybe; + referenceModule?: Maybe; + root: Post; + stats: PublicationStats; + txHash?: Maybe; }; -/** The social comment */ -export type CommentReactionArgs = { - request?: InputMaybe; +export type CommentStatsArgs = { + request?: InputMaybe; }; -/** The comment ordering types */ -export enum CommentOrderingTypes { - Desc = 'DESC', - Ranking = 'RANKING' -} +export type CommentNotification = { + __typename?: 'CommentNotification'; + comment: Comment; + id: Scalars['UUID']; +}; -/** The comment ranking filter types */ -export enum CommentRankingFilter { +export enum CommentRankingFilterType { + All = 'ALL', NoneRelevant = 'NONE_RELEVANT', Relevant = 'RELEVANT' } -/** The gated publication access criteria contract types */ -export enum ContractType { - Erc20 = 'ERC20', - Erc721 = 'ERC721', - Erc1155 = 'ERC1155' +export enum ComparisonOperatorConditionType { + Equal = 'EQUAL', + GreaterThan = 'GREATER_THAN', + GreaterThanOrEqual = 'GREATER_THAN_OR_EQUAL', + LessThan = 'LESS_THAN', + LessThanOrEqual = 'LESS_THAN_OR_EQUAL', + NotEqual = 'NOT_EQUAL' } -/** The create burn eip 712 typed data */ -export type CreateBurnEip712TypedData = { - __typename?: 'CreateBurnEIP712TypedData'; +export type CreateActOnOpenActionBroadcastItemResult = { + __typename?: 'CreateActOnOpenActionBroadcastItemResult'; + /** The date the broadcast item expiries */ + expiresAt: Scalars['DateTime']; + /** This broadcast item ID */ + id: Scalars['BroadcastId']; + /** The typed data */ + typedData: CreateActOnOpenActionEip712TypedData; +}; + +export type CreateActOnOpenActionEip712TypedData = { + __typename?: 'CreateActOnOpenActionEIP712TypedData'; /** The typed data domain */ domain: Eip712TypedDataDomain; /** The types */ - types: CreateBurnEip712TypedDataTypes; + types: CreateActOnOpenActionEip712TypedDataTypes; /** The values */ - value: CreateBurnEip712TypedDataValue; + value: CreateActOnOpenActionEip712TypedDataValue; }; -/** The create burn eip 712 typed data types */ -export type CreateBurnEip712TypedDataTypes = { - __typename?: 'CreateBurnEIP712TypedDataTypes'; - BurnWithSig: Array; +export type CreateActOnOpenActionEip712TypedDataTypes = { + __typename?: 'CreateActOnOpenActionEIP712TypedDataTypes'; + Act: Array; }; -/** The create burn eip 712 typed data value */ -export type CreateBurnEip712TypedDataValue = { - __typename?: 'CreateBurnEIP712TypedDataValue'; +export type CreateActOnOpenActionEip712TypedDataValue = { + __typename?: 'CreateActOnOpenActionEIP712TypedDataValue'; + actionModuleAddress: Scalars['EvmAddress']; + actionModuleData: Scalars['BlockchainData']; + actorProfileId: Scalars['ProfileId']; deadline: Scalars['UnixTimestamp']; nonce: Scalars['Nonce']; - tokenId: Scalars['String']; -}; - -/** The broadcast item */ -export type CreateBurnProfileBroadcastItemResult = { - __typename?: 'CreateBurnProfileBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateBurnEip712TypedData; + publicationActedId: Scalars['OnchainPublicationId']; + publicationActedProfileId: Scalars['ProfileId']; + referrerProfileIds: Array; + referrerPubIds: Array; }; -/** The broadcast item */ -export type CreateCollectBroadcastItemResult = { - __typename?: 'CreateCollectBroadcastItemResult'; +export type CreateBlockProfilesBroadcastItemResult = { + __typename?: 'CreateBlockProfilesBroadcastItemResult'; /** The date the broadcast item expiries */ expiresAt: Scalars['DateTime']; /** This broadcast item ID */ id: Scalars['BroadcastId']; /** The typed data */ - typedData: CreateCollectEip712TypedData; + typedData: CreateBlockProfilesEip712TypedData; }; -/** The collect eip 712 typed data */ -export type CreateCollectEip712TypedData = { - __typename?: 'CreateCollectEIP712TypedData'; +export type CreateBlockProfilesEip712TypedData = { + __typename?: 'CreateBlockProfilesEIP712TypedData'; /** The typed data domain */ domain: Eip712TypedDataDomain; /** The types */ - types: CreateCollectEip712TypedDataTypes; + types: CreateBlockProfilesEip712TypedDataTypes; /** The values */ - value: CreateCollectEip712TypedDataValue; + value: CreateBlockProfilesEip712TypedDataValue; }; -/** The collect eip 712 typed data types */ -export type CreateCollectEip712TypedDataTypes = { - __typename?: 'CreateCollectEIP712TypedDataTypes'; - CollectWithSig: Array; +export type CreateBlockProfilesEip712TypedDataTypes = { + __typename?: 'CreateBlockProfilesEIP712TypedDataTypes'; + SetBlockStatus: Array; }; -/** The collect eip 712 typed data value */ -export type CreateCollectEip712TypedDataValue = { - __typename?: 'CreateCollectEIP712TypedDataValue'; - data: Scalars['BlockchainData']; +export type CreateBlockProfilesEip712TypedDataValue = { + __typename?: 'CreateBlockProfilesEIP712TypedDataValue'; + blockStatus: Array; + byProfileId: Scalars['ProfileId']; deadline: Scalars['UnixTimestamp']; + idsOfProfilesToSetBlockStatus: Array; nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; - pubId: Scalars['PublicationId']; -}; - -export type CreateCollectRequest = { - publicationId: Scalars['InternalPublicationId']; - /** The encoded data to collect with if using an unknown module */ - unknownModuleData?: InputMaybe; }; -/** The broadcast item */ -export type CreateCommentBroadcastItemResult = { - __typename?: 'CreateCommentBroadcastItemResult'; +export type CreateChangeProfileManagersBroadcastItemResult = { + __typename?: 'CreateChangeProfileManagersBroadcastItemResult'; /** The date the broadcast item expiries */ expiresAt: Scalars['DateTime']; /** This broadcast item ID */ id: Scalars['BroadcastId']; /** The typed data */ - typedData: CreateCommentEip712TypedData; + typedData: CreateChangeProfileManagersEip712TypedData; }; -/** The create comment eip 712 typed data */ -export type CreateCommentEip712TypedData = { - __typename?: 'CreateCommentEIP712TypedData'; +export type CreateChangeProfileManagersEip712TypedData = { + __typename?: 'CreateChangeProfileManagersEIP712TypedData'; /** The typed data domain */ domain: Eip712TypedDataDomain; /** The types */ - types: CreateCommentEip712TypedDataTypes; + types: CreateChangeProfileManagersEip712TypedDataTypes; /** The values */ - value: CreateCommentEip712TypedDataValue; + value: CreateChangeProfileManagersEip712TypedDataValue; }; -/** The create comment eip 712 typed data types */ -export type CreateCommentEip712TypedDataTypes = { - __typename?: 'CreateCommentEIP712TypedDataTypes'; - CommentWithSig: Array; +export type CreateChangeProfileManagersEip712TypedDataTypes = { + __typename?: 'CreateChangeProfileManagersEIP712TypedDataTypes'; + ChangeDelegatedExecutorsConfig: Array; }; -/** The create comment eip 712 typed data value */ -export type CreateCommentEip712TypedDataValue = { - __typename?: 'CreateCommentEIP712TypedDataValue'; - collectModule: Scalars['ContractAddress']; - collectModuleInitData: Scalars['CollectModuleData']; - contentURI: Scalars['PublicationUrl']; +export type CreateChangeProfileManagersEip712TypedDataValue = { + __typename?: 'CreateChangeProfileManagersEIP712TypedDataValue'; + approvals: Array; + configNumber: Scalars['Int']; deadline: Scalars['UnixTimestamp']; + delegatedExecutors: Array; + delegatorProfileId: Scalars['ProfileId']; nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; - profileIdPointed: Scalars['ProfileId']; - pubIdPointed: Scalars['PublicationId']; - referenceModule: Scalars['ContractAddress']; - referenceModuleData: Scalars['ReferenceModuleData']; - referenceModuleInitData: Scalars['ReferenceModuleData']; + switchToGivenConfig: Scalars['Boolean']; }; -export type CreateDataAvailabilityCommentRequest = { - /** Publication your commenting on */ - commentOn: Scalars['InternalPublicationId']; - /** The metadata contentURI resolver */ - contentURI: Scalars['Url']; - /** Profile id */ - from: Scalars['ProfileId']; -}; - -export type CreateDataAvailabilityMirrorRequest = { - /** Profile id which will broadcast the mirror */ - from: Scalars['ProfileId']; - /** The publication to mirror */ - mirror: Scalars['InternalPublicationId']; -}; - -export type CreateDataAvailabilityPostRequest = { - /** The metadata contentURI resolver */ - contentURI: Scalars['Url']; - /** Profile id */ - from: Scalars['ProfileId']; -}; - -export type CreateDataAvailabilityPublicationResult = { - __typename?: 'CreateDataAvailabilityPublicationResult'; - /** The data availability id */ - dataAvailabilityId: Scalars['DataAvailabilityId']; - /** The id of the post */ - id: Scalars['InternalPublicationId']; - /** The proofs for the DA */ - proofs: Scalars['String']; -}; - -/** The broadcast item */ export type CreateFollowBroadcastItemResult = { __typename?: 'CreateFollowBroadcastItemResult'; /** The date the broadcast item expiries */ @@ -631,7 +536,7 @@ export type CreateFollowEip712TypedData = { /** The create follow eip 712 typed data types */ export type CreateFollowEip712TypedDataTypes = { __typename?: 'CreateFollowEIP712TypedDataTypes'; - FollowWithSig: Array; + Follow: Array; }; /** The create follow eip 712 typed data value */ @@ -639,582 +544,634 @@ export type CreateFollowEip712TypedDataValue = { __typename?: 'CreateFollowEIP712TypedDataValue'; datas: Array; deadline: Scalars['UnixTimestamp']; + followTokenIds: Array; + followerProfileId: Scalars['ProfileId']; + idsOfProfilesToFollow: Array; nonce: Scalars['Nonce']; - profileIds: Array; }; -/** The broadcast item */ -export type CreateMirrorBroadcastItemResult = { - __typename?: 'CreateMirrorBroadcastItemResult'; +export type CreateHandleLinkToProfileBroadcastItemResult = { + __typename?: 'CreateHandleLinkToProfileBroadcastItemResult'; /** The date the broadcast item expiries */ expiresAt: Scalars['DateTime']; /** This broadcast item ID */ id: Scalars['BroadcastId']; /** The typed data */ - typedData: CreateMirrorEip712TypedData; + typedData: CreateHandleLinkToProfileEip712TypedData; }; -/** The mirror eip 712 typed data */ -export type CreateMirrorEip712TypedData = { - __typename?: 'CreateMirrorEIP712TypedData'; +export type CreateHandleLinkToProfileEip712TypedData = { + __typename?: 'CreateHandleLinkToProfileEIP712TypedData'; /** The typed data domain */ domain: Eip712TypedDataDomain; /** The types */ - types: CreateMirrorEip712TypedDataTypes; + types: CreateHandleLinkToProfileEip712TypedDataTypes; /** The values */ - value: CreateMirrorEip712TypedDataValue; + value: CreateHandleLinkToProfileEip712TypedDataValue; }; -/** The mirror eip 712 typed data types */ -export type CreateMirrorEip712TypedDataTypes = { - __typename?: 'CreateMirrorEIP712TypedDataTypes'; - MirrorWithSig: Array; +export type CreateHandleLinkToProfileEip712TypedDataTypes = { + __typename?: 'CreateHandleLinkToProfileEIP712TypedDataTypes'; + Link: Array; }; -/** The mirror eip 712 typed data value */ -export type CreateMirrorEip712TypedDataValue = { - __typename?: 'CreateMirrorEIP712TypedDataValue'; +export type CreateHandleLinkToProfileEip712TypedDataValue = { + __typename?: 'CreateHandleLinkToProfileEIP712TypedDataValue'; deadline: Scalars['UnixTimestamp']; + handleId: Scalars['TokenId']; nonce: Scalars['Nonce']; profileId: Scalars['ProfileId']; - profileIdPointed: Scalars['ProfileId']; - pubIdPointed: Scalars['PublicationId']; - referenceModule: Scalars['ContractAddress']; - referenceModuleData: Scalars['ReferenceModuleData']; - referenceModuleInitData: Scalars['ReferenceModuleData']; }; -export type CreateMirrorRequest = { - /** Profile id */ - profileId: Scalars['ProfileId']; - /** Publication id of what you want to mirror on remember if this is a comment it will be that as the id */ - publicationId: Scalars['InternalPublicationId']; - /** The reference module info */ - referenceModule?: InputMaybe; -}; - -/** The broadcast item */ -export type CreatePostBroadcastItemResult = { - __typename?: 'CreatePostBroadcastItemResult'; +export type CreateHandleUnlinkFromProfileBroadcastItemResult = { + __typename?: 'CreateHandleUnlinkFromProfileBroadcastItemResult'; /** The date the broadcast item expiries */ expiresAt: Scalars['DateTime']; /** This broadcast item ID */ id: Scalars['BroadcastId']; /** The typed data */ - typedData: CreatePostEip712TypedData; + typedData: CreateHandleUnlinkFromProfileEip712TypedData; }; -/** The create post eip 712 typed data */ -export type CreatePostEip712TypedData = { - __typename?: 'CreatePostEIP712TypedData'; +export type CreateHandleUnlinkFromProfileEip712TypedData = { + __typename?: 'CreateHandleUnlinkFromProfileEIP712TypedData'; /** The typed data domain */ domain: Eip712TypedDataDomain; /** The types */ - types: CreatePostEip712TypedDataTypes; + types: CreateHandleUnlinkFromProfileEip712TypedDataTypes; /** The values */ - value: CreatePostEip712TypedDataValue; + value: CreateHandleUnlinkFromProfileEip712TypedDataValue; }; -/** The create post eip 712 typed data types */ -export type CreatePostEip712TypedDataTypes = { - __typename?: 'CreatePostEIP712TypedDataTypes'; - PostWithSig: Array; +export type CreateHandleUnlinkFromProfileEip712TypedDataTypes = { + __typename?: 'CreateHandleUnlinkFromProfileEIP712TypedDataTypes'; + Unlink: Array; }; -/** The create post eip 712 typed data value */ -export type CreatePostEip712TypedDataValue = { - __typename?: 'CreatePostEIP712TypedDataValue'; - collectModule: Scalars['ContractAddress']; - collectModuleInitData: Scalars['CollectModuleData']; - contentURI: Scalars['PublicationUrl']; +export type CreateHandleUnlinkFromProfileEip712TypedDataValue = { + __typename?: 'CreateHandleUnlinkFromProfileEIP712TypedDataValue'; deadline: Scalars['UnixTimestamp']; + handleId: Scalars['TokenId']; nonce: Scalars['Nonce']; profileId: Scalars['ProfileId']; - referenceModule: Scalars['ContractAddress']; - referenceModuleInitData: Scalars['ReferenceModuleData']; }; -export type CreateProfileRequest = { - /** The follow module */ - followModule?: InputMaybe; - /** The follow NFT URI is the NFT metadata your followers will mint when they follow you. This can be updated at all times. If you do not pass in anything it will create a super cool changing NFT which will show the last publication of your profile as the NFT which looks awesome! This means people do not have to worry about writing this logic but still have the ability to customise it for their followers */ - followNFTURI?: InputMaybe; - handle: Scalars['CreateHandle']; - /** The profile picture uri */ - profilePictureUri?: InputMaybe; -}; - -export type CreatePublicCommentRequest = { - /** The collect module */ - collectModule: CollectModuleParams; - /** The metadata contentURI resolver */ - contentURI: Scalars['Url']; - /** The criteria to access the publication data */ - gated?: InputMaybe; - /** Profile id */ - profileId: Scalars['ProfileId']; - /** Publication id of what your comments on remember if this is a comment you commented on it will be that as the id */ - publicationId: Scalars['InternalPublicationId']; - /** The reference module */ - referenceModule?: InputMaybe; -}; - -export type CreatePublicPostRequest = { - /** The collect module */ - collectModule: CollectModuleParams; - /** The metadata uploaded somewhere passing in the url to reach it */ - contentURI: Scalars['Url']; - /** The criteria to access the publication data */ - gated?: InputMaybe; - /** Profile id */ - profileId: Scalars['ProfileId']; - /** The reference module */ - referenceModule?: InputMaybe; +export type CreateLegacyCollectBroadcastItemResult = { + __typename?: 'CreateLegacyCollectBroadcastItemResult'; + /** The date the broadcast item expiries */ + expiresAt: Scalars['DateTime']; + /** This broadcast item ID */ + id: Scalars['BroadcastId']; + /** The typed data */ + typedData: CreateActOnOpenActionEip712TypedData; }; -export type CreatePublicSetProfileMetadataUriRequest = { - /** The metadata uploaded somewhere passing in the url to reach it */ - metadata: Scalars['Url']; - /** Profile id */ - profileId: Scalars['ProfileId']; +export type CreateMomokaCommentBroadcastItemResult = { + __typename?: 'CreateMomokaCommentBroadcastItemResult'; + /** The date the broadcast item expiries */ + expiresAt: Scalars['DateTime']; + /** This broadcast item ID */ + id: Scalars['BroadcastId']; + /** The typed data */ + typedData: CreateMomokaCommentEip712TypedData; +}; + +export type CreateMomokaCommentEip712TypedData = { + __typename?: 'CreateMomokaCommentEIP712TypedData'; + /** The typed data domain */ + domain: Eip712TypedDataDomain; + /** The types */ + types: CreateMomokaCommentEip712TypedDataTypes; + /** The values */ + value: CreateMomokaCommentEip712TypedDataValue; +}; + +export type CreateMomokaCommentEip712TypedDataTypes = { + __typename?: 'CreateMomokaCommentEIP712TypedDataTypes'; + Comment: Array; }; -export type CreateSetDefaultProfileRequest = { - /** Profile id */ +export type CreateMomokaCommentEip712TypedDataValue = { + __typename?: 'CreateMomokaCommentEIP712TypedDataValue'; + actionModules: Array; + actionModulesInitDatas: Array; + contentURI: Scalars['URI']; + deadline: Scalars['UnixTimestamp']; + nonce: Scalars['Nonce']; + pointedProfileId: Scalars['ProfileId']; + pointedPubId: Scalars['OnchainPublicationId']; profileId: Scalars['ProfileId']; + referenceModule: Scalars['EvmAddress']; + referenceModuleData: Scalars['BlockchainData']; + referenceModuleInitData: Scalars['BlockchainData']; + referrerProfileIds: Array; + referrerPubIds: Array; }; -/** The broadcast item */ -export type CreateSetDispatcherBroadcastItemResult = { - __typename?: 'CreateSetDispatcherBroadcastItemResult'; +export type CreateMomokaMirrorBroadcastItemResult = { + __typename?: 'CreateMomokaMirrorBroadcastItemResult'; /** The date the broadcast item expiries */ expiresAt: Scalars['DateTime']; /** This broadcast item ID */ id: Scalars['BroadcastId']; /** The typed data */ - typedData: CreateSetDispatcherEip712TypedData; + typedData: CreateMomokaMirrorEip712TypedData; }; -/** The set dispatcher eip 712 typed data */ -export type CreateSetDispatcherEip712TypedData = { - __typename?: 'CreateSetDispatcherEIP712TypedData'; +export type CreateMomokaMirrorEip712TypedData = { + __typename?: 'CreateMomokaMirrorEIP712TypedData'; /** The typed data domain */ domain: Eip712TypedDataDomain; /** The types */ - types: CreateSetDispatcherEip712TypedDataTypes; + types: CreateMomokaMirrorEip712TypedDataTypes; /** The values */ - value: CreateSetDispatcherEip712TypedDataValue; + value: CreateMomokaMirrorEip712TypedDataValue; }; -/** The set dispatcher eip 712 typed data types */ -export type CreateSetDispatcherEip712TypedDataTypes = { - __typename?: 'CreateSetDispatcherEIP712TypedDataTypes'; - SetDispatcherWithSig: Array; +export type CreateMomokaMirrorEip712TypedDataTypes = { + __typename?: 'CreateMomokaMirrorEIP712TypedDataTypes'; + Mirror: Array; }; -/** The set dispatcher eip 712 typed data value */ -export type CreateSetDispatcherEip712TypedDataValue = { - __typename?: 'CreateSetDispatcherEIP712TypedDataValue'; +export type CreateMomokaMirrorEip712TypedDataValue = { + __typename?: 'CreateMomokaMirrorEIP712TypedDataValue'; deadline: Scalars['UnixTimestamp']; - dispatcher: Scalars['EthereumAddress']; + metadataURI: Scalars['String']; nonce: Scalars['Nonce']; + pointedProfileId: Scalars['ProfileId']; + pointedPubId: Scalars['OnchainPublicationId']; profileId: Scalars['ProfileId']; + referenceModuleData: Scalars['BlockchainData']; + referrerProfileIds: Array; + referrerPubIds: Array; }; -/** The broadcast item */ -export type CreateSetFollowModuleBroadcastItemResult = { - __typename?: 'CreateSetFollowModuleBroadcastItemResult'; +export type CreateMomokaPostBroadcastItemResult = { + __typename?: 'CreateMomokaPostBroadcastItemResult'; /** The date the broadcast item expiries */ expiresAt: Scalars['DateTime']; /** This broadcast item ID */ id: Scalars['BroadcastId']; /** The typed data */ - typedData: CreateSetFollowModuleEip712TypedData; + typedData: CreateMomokaPostEip712TypedData; }; -/** The set follow module eip 712 typed data */ -export type CreateSetFollowModuleEip712TypedData = { - __typename?: 'CreateSetFollowModuleEIP712TypedData'; +export type CreateMomokaPostEip712TypedData = { + __typename?: 'CreateMomokaPostEIP712TypedData'; /** The typed data domain */ domain: Eip712TypedDataDomain; /** The types */ - types: CreateSetFollowModuleEip712TypedDataTypes; + types: CreateMomokaPostEip712TypedDataTypes; /** The values */ - value: CreateSetFollowModuleEip712TypedDataValue; + value: CreateMomokaPostEip712TypedDataValue; }; -/** The set follow module eip 712 typed data types */ -export type CreateSetFollowModuleEip712TypedDataTypes = { - __typename?: 'CreateSetFollowModuleEIP712TypedDataTypes'; - SetFollowModuleWithSig: Array; +export type CreateMomokaPostEip712TypedDataTypes = { + __typename?: 'CreateMomokaPostEIP712TypedDataTypes'; + Post: Array; }; -/** The set follow module eip 712 typed data value */ -export type CreateSetFollowModuleEip712TypedDataValue = { - __typename?: 'CreateSetFollowModuleEIP712TypedDataValue'; +export type CreateMomokaPostEip712TypedDataValue = { + __typename?: 'CreateMomokaPostEIP712TypedDataValue'; + actionModules: Array; + actionModulesInitDatas: Array; + contentURI: Scalars['URI']; deadline: Scalars['UnixTimestamp']; - followModule: Scalars['ContractAddress']; - followModuleInitData: Scalars['FollowModuleData']; nonce: Scalars['Nonce']; profileId: Scalars['ProfileId']; + referenceModule: Scalars['EvmAddress']; + referenceModuleInitData: Scalars['BlockchainData']; }; -export type CreateSetFollowModuleRequest = { - /** The follow module info */ - followModule: FollowModuleParams; - profileId: Scalars['ProfileId']; +export type CreateMomokaPublicationResult = { + __typename?: 'CreateMomokaPublicationResult'; + id: Scalars['PublicationId']; + momokaId: Scalars['MomokaId']; + proof: Scalars['MomokaProof']; }; -/** The broadcast item */ -export type CreateSetFollowNftUriBroadcastItemResult = { - __typename?: 'CreateSetFollowNFTUriBroadcastItemResult'; +export type CreateMomokaQuoteBroadcastItemResult = { + __typename?: 'CreateMomokaQuoteBroadcastItemResult'; /** The date the broadcast item expiries */ expiresAt: Scalars['DateTime']; /** This broadcast item ID */ id: Scalars['BroadcastId']; /** The typed data */ - typedData: CreateSetFollowNftUriEip712TypedData; + typedData: CreateMomokaQuoteEip712TypedData; }; -/** The set follow nft uri eip 712 typed data */ -export type CreateSetFollowNftUriEip712TypedData = { - __typename?: 'CreateSetFollowNFTUriEIP712TypedData'; +export type CreateMomokaQuoteEip712TypedData = { + __typename?: 'CreateMomokaQuoteEIP712TypedData'; /** The typed data domain */ domain: Eip712TypedDataDomain; /** The types */ - types: CreateSetFollowNftUriEip712TypedDataTypes; + types: CreateMomokaQuoteEip712TypedDataTypes; /** The values */ - value: CreateSetFollowNftUriEip712TypedDataValue; + value: CreateMomokaQuoteEip712TypedDataValue; }; -/** The set follow nft uri eip 712 typed data types */ -export type CreateSetFollowNftUriEip712TypedDataTypes = { - __typename?: 'CreateSetFollowNFTUriEIP712TypedDataTypes'; - SetFollowNFTURIWithSig: Array; +export type CreateMomokaQuoteEip712TypedDataTypes = { + __typename?: 'CreateMomokaQuoteEIP712TypedDataTypes'; + Quote: Array; }; -/** The set follow nft uri eip 712 typed data value */ -export type CreateSetFollowNftUriEip712TypedDataValue = { - __typename?: 'CreateSetFollowNFTUriEIP712TypedDataValue'; +export type CreateMomokaQuoteEip712TypedDataValue = { + __typename?: 'CreateMomokaQuoteEIP712TypedDataValue'; + actionModules: Array; + actionModulesInitDatas: Array; + contentURI: Scalars['URI']; deadline: Scalars['UnixTimestamp']; - followNFTURI: Scalars['Url']; nonce: Scalars['Nonce']; + pointedProfileId: Scalars['ProfileId']; + pointedPubId: Scalars['OnchainPublicationId']; profileId: Scalars['ProfileId']; + referenceModule: Scalars['EvmAddress']; + referenceModuleData: Scalars['BlockchainData']; + referenceModuleInitData: Scalars['BlockchainData']; + referrerProfileIds: Array; + referrerPubIds: Array; }; -export type CreateSetFollowNftUriRequest = { - /** The follow NFT URI is the NFT metadata your followers will mint when they follow you. This can be updated at all times. If you do not pass in anything it will create a super cool changing NFT which will show the last publication of your profile as the NFT which looks awesome! This means people do not have to worry about writing this logic but still have the ability to customise it for their followers */ - followNFTURI?: InputMaybe; - profileId: Scalars['ProfileId']; -}; - -/** The broadcast item */ -export type CreateSetProfileImageUriBroadcastItemResult = { - __typename?: 'CreateSetProfileImageUriBroadcastItemResult'; +export type CreateOnchainCommentBroadcastItemResult = { + __typename?: 'CreateOnchainCommentBroadcastItemResult'; /** The date the broadcast item expiries */ expiresAt: Scalars['DateTime']; /** This broadcast item ID */ id: Scalars['BroadcastId']; /** The typed data */ - typedData: CreateSetProfileImageUriEip712TypedData; + typedData: CreateOnchainCommentEip712TypedData; }; -/** The set profile uri eip 712 typed data */ -export type CreateSetProfileImageUriEip712TypedData = { - __typename?: 'CreateSetProfileImageUriEIP712TypedData'; +export type CreateOnchainCommentEip712TypedData = { + __typename?: 'CreateOnchainCommentEIP712TypedData'; /** The typed data domain */ domain: Eip712TypedDataDomain; /** The types */ - types: CreateSetProfileImageUriEip712TypedDataTypes; + types: CreateOnchainCommentEip712TypedDataTypes; /** The values */ - value: CreateSetProfileImageUriEip712TypedDataValue; + value: CreateOnchainCommentEip712TypedDataValue; }; -/** The set profile image uri eip 712 typed data types */ -export type CreateSetProfileImageUriEip712TypedDataTypes = { - __typename?: 'CreateSetProfileImageUriEIP712TypedDataTypes'; - SetProfileImageURIWithSig: Array; +export type CreateOnchainCommentEip712TypedDataTypes = { + __typename?: 'CreateOnchainCommentEIP712TypedDataTypes'; + Comment: Array; }; -/** The set profile uri eip 712 typed data value */ -export type CreateSetProfileImageUriEip712TypedDataValue = { - __typename?: 'CreateSetProfileImageUriEIP712TypedDataValue'; +export type CreateOnchainCommentEip712TypedDataValue = { + __typename?: 'CreateOnchainCommentEIP712TypedDataValue'; + actionModules: Array; + actionModulesInitDatas: Array; + contentURI: Scalars['URI']; deadline: Scalars['UnixTimestamp']; - imageURI: Scalars['Url']; nonce: Scalars['Nonce']; + pointedProfileId: Scalars['ProfileId']; + pointedPubId: Scalars['OnchainPublicationId']; profileId: Scalars['ProfileId']; + referenceModule: Scalars['EvmAddress']; + referenceModuleData: Scalars['BlockchainData']; + referenceModuleInitData: Scalars['BlockchainData']; + referrerProfileIds: Array; + referrerPubIds: Array; }; -/** The broadcast item */ -export type CreateSetProfileMetadataUriBroadcastItemResult = { - __typename?: 'CreateSetProfileMetadataURIBroadcastItemResult'; +export type CreateOnchainMirrorBroadcastItemResult = { + __typename?: 'CreateOnchainMirrorBroadcastItemResult'; /** The date the broadcast item expiries */ expiresAt: Scalars['DateTime']; /** This broadcast item ID */ id: Scalars['BroadcastId']; /** The typed data */ - typedData: CreateSetProfileMetadataUrieip712TypedData; + typedData: CreateOnchainMirrorEip712TypedData; }; -/** The set follow nft uri eip 712 typed data */ -export type CreateSetProfileMetadataUrieip712TypedData = { - __typename?: 'CreateSetProfileMetadataURIEIP712TypedData'; +export type CreateOnchainMirrorEip712TypedData = { + __typename?: 'CreateOnchainMirrorEIP712TypedData'; /** The typed data domain */ domain: Eip712TypedDataDomain; /** The types */ - types: CreateSetProfileMetadataUrieip712TypedDataTypes; + types: CreateOnchainMirrorEip712TypedDataTypes; /** The values */ - value: CreateSetProfileMetadataUrieip712TypedDataValue; + value: CreateOnchainMirrorEip712TypedDataValue; }; -/** The set follow nft uri eip 712 typed data types */ -export type CreateSetProfileMetadataUrieip712TypedDataTypes = { - __typename?: 'CreateSetProfileMetadataURIEIP712TypedDataTypes'; - SetProfileMetadataURIWithSig: Array; +export type CreateOnchainMirrorEip712TypedDataTypes = { + __typename?: 'CreateOnchainMirrorEIP712TypedDataTypes'; + Mirror: Array; }; -/** The set follow nft uri eip 712 typed data value */ -export type CreateSetProfileMetadataUrieip712TypedDataValue = { - __typename?: 'CreateSetProfileMetadataURIEIP712TypedDataValue'; +export type CreateOnchainMirrorEip712TypedDataValue = { + __typename?: 'CreateOnchainMirrorEIP712TypedDataValue'; deadline: Scalars['UnixTimestamp']; - metadata: Scalars['Url']; + metadataURI: Scalars['String']; nonce: Scalars['Nonce']; + pointedProfileId: Scalars['ProfileId']; + pointedPubId: Scalars['OnchainPublicationId']; profileId: Scalars['ProfileId']; + referenceModuleData: Scalars['BlockchainData']; + referrerProfileIds: Array; + referrerPubIds: Array; }; -/** The broadcast item */ -export type CreateToggleFollowBroadcastItemResult = { - __typename?: 'CreateToggleFollowBroadcastItemResult'; +export type CreateOnchainPostBroadcastItemResult = { + __typename?: 'CreateOnchainPostBroadcastItemResult'; /** The date the broadcast item expiries */ expiresAt: Scalars['DateTime']; /** This broadcast item ID */ id: Scalars['BroadcastId']; /** The typed data */ - typedData: CreateToggleFollowEip712TypedData; + typedData: CreateOnchainPostEip712TypedData; }; -/** The create toggle follows eip 712 typed data */ -export type CreateToggleFollowEip712TypedData = { - __typename?: 'CreateToggleFollowEIP712TypedData'; +export type CreateOnchainPostEip712TypedData = { + __typename?: 'CreateOnchainPostEIP712TypedData'; /** The typed data domain */ domain: Eip712TypedDataDomain; /** The types */ - types: CreateToggleFollowEip712TypedDataTypes; + types: CreateOnchainPostEip712TypedDataTypes; /** The values */ - value: CreateToggleFollowEip712TypedDataValue; + value: CreateOnchainPostEip712TypedDataValue; }; -/** The create toggle follows eip 712 typed data types */ -export type CreateToggleFollowEip712TypedDataTypes = { - __typename?: 'CreateToggleFollowEIP712TypedDataTypes'; - ToggleFollowWithSig: Array; +export type CreateOnchainPostEip712TypedDataTypes = { + __typename?: 'CreateOnchainPostEIP712TypedDataTypes'; + Post: Array; }; -/** The create toggle follow eip 712 typed data value */ -export type CreateToggleFollowEip712TypedDataValue = { - __typename?: 'CreateToggleFollowEIP712TypedDataValue'; +export type CreateOnchainPostEip712TypedDataValue = { + __typename?: 'CreateOnchainPostEIP712TypedDataValue'; + actionModules: Array; + actionModulesInitDatas: Array; + contentURI: Scalars['URI']; deadline: Scalars['UnixTimestamp']; - enables: Array; nonce: Scalars['Nonce']; - profileIds: Array; -}; - -export type CreateToggleFollowRequest = { - enables: Array; - profileIds: Array; + profileId: Scalars['ProfileId']; + referenceModule: Scalars['EvmAddress']; + referenceModuleInitData: Scalars['BlockchainData']; }; -/** The broadcast item */ -export type CreateUnfollowBroadcastItemResult = { - __typename?: 'CreateUnfollowBroadcastItemResult'; +export type CreateOnchainQuoteBroadcastItemResult = { + __typename?: 'CreateOnchainQuoteBroadcastItemResult'; /** The date the broadcast item expiries */ expiresAt: Scalars['DateTime']; /** This broadcast item ID */ id: Scalars['BroadcastId']; /** The typed data */ - typedData: CreateBurnEip712TypedData; + typedData: CreateOnchainQuoteEip712TypedData; }; -export type CurRequest = { - secret: Scalars['String']; +export type CreateOnchainQuoteEip712TypedData = { + __typename?: 'CreateOnchainQuoteEIP712TypedData'; + /** The typed data domain */ + domain: Eip712TypedDataDomain; + /** The types */ + types: CreateOnchainQuoteEip712TypedDataTypes; + /** The values */ + value: CreateOnchainQuoteEip712TypedDataValue; }; -/** The custom filters types */ -export enum CustomFiltersTypes { - Gardeners = 'GARDENERS' -} - -export type DataAvailabilityComment = { - __typename?: 'DataAvailabilityComment'; - appId?: Maybe; - commentedOnProfile: Profile; - commentedOnPublicationId: Scalars['InternalPublicationId']; - createdAt: Scalars['DateTime']; - profile: Profile; - publicationId: Scalars['InternalPublicationId']; - submitter: Scalars['EthereumAddress']; - transactionId: Scalars['String']; - verificationStatus: DataAvailabilityVerificationStatusUnion; +export type CreateOnchainQuoteEip712TypedDataTypes = { + __typename?: 'CreateOnchainQuoteEIP712TypedDataTypes'; + Quote: Array; }; -export type DataAvailabilityMirror = { - __typename?: 'DataAvailabilityMirror'; - appId?: Maybe; - createdAt: Scalars['DateTime']; - mirrorOfProfile: Profile; - mirrorOfPublicationId: Scalars['InternalPublicationId']; - profile: Profile; - publicationId: Scalars['InternalPublicationId']; - submitter: Scalars['EthereumAddress']; - transactionId: Scalars['String']; - verificationStatus: DataAvailabilityVerificationStatusUnion; +export type CreateOnchainQuoteEip712TypedDataValue = { + __typename?: 'CreateOnchainQuoteEIP712TypedDataValue'; + actionModules: Array; + actionModulesInitDatas: Array; + contentURI: Scalars['URI']; + deadline: Scalars['UnixTimestamp']; + nonce: Scalars['Nonce']; + pointedProfileId: Scalars['ProfileId']; + pointedPubId: Scalars['OnchainPublicationId']; + profileId: Scalars['ProfileId']; + referenceModule: Scalars['EvmAddress']; + referenceModuleData: Scalars['BlockchainData']; + referenceModuleInitData: Scalars['BlockchainData']; + referrerProfileIds: Array; + referrerPubIds: Array; }; -export type DataAvailabilityPost = { - __typename?: 'DataAvailabilityPost'; - appId?: Maybe; - createdAt: Scalars['DateTime']; - profile: Profile; - publicationId: Scalars['InternalPublicationId']; - submitter: Scalars['EthereumAddress']; - transactionId: Scalars['String']; - verificationStatus: DataAvailabilityVerificationStatusUnion; +export type CreateOnchainSetProfileMetadataBroadcastItemResult = { + __typename?: 'CreateOnchainSetProfileMetadataBroadcastItemResult'; + /** The date the broadcast item expiries */ + expiresAt: Scalars['DateTime']; + /** This broadcast item ID */ + id: Scalars['BroadcastId']; + /** The typed data */ + typedData: CreateOnchainSetProfileMetadataEip712TypedData; }; -export type DataAvailabilitySubmitterResult = { - __typename?: 'DataAvailabilitySubmitterResult'; - address: Scalars['EthereumAddress']; - name: Scalars['String']; - totalTransactions: Scalars['Int']; +export type CreateOnchainSetProfileMetadataEip712TypedData = { + __typename?: 'CreateOnchainSetProfileMetadataEIP712TypedData'; + /** The typed data domain */ + domain: Eip712TypedDataDomain; + /** The types */ + types: CreateOnchainSetProfileMetadataEip712TypedDataTypes; + /** The values */ + value: CreateOnchainSetProfileMetadataEip712TypedDataValue; }; -/** The paginated submitter results */ -export type DataAvailabilitySubmittersResult = { - __typename?: 'DataAvailabilitySubmittersResult'; - items: Array; - pageInfo: PaginatedResultInfo; +export type CreateOnchainSetProfileMetadataEip712TypedDataTypes = { + __typename?: 'CreateOnchainSetProfileMetadataEIP712TypedDataTypes'; + SetProfileMetadataURI: Array; }; -export type DataAvailabilitySummaryResult = { - __typename?: 'DataAvailabilitySummaryResult'; - totalTransactions: Scalars['Int']; +export type CreateOnchainSetProfileMetadataEip712TypedDataValue = { + __typename?: 'CreateOnchainSetProfileMetadataEIP712TypedDataValue'; + deadline: Scalars['UnixTimestamp']; + metadataURI: Scalars['URI']; + nonce: Scalars['Nonce']; + profileId: Scalars['ProfileId']; }; -export type DataAvailabilityTransactionRequest = { - /** The DA transaction id or internal publiation id */ - id: Scalars['String']; +export type CreateProfileRequest = { + followModule?: InputMaybe; + to: Scalars['EvmAddress']; }; -export type DataAvailabilityTransactionUnion = - | DataAvailabilityComment - | DataAvailabilityMirror - | DataAvailabilityPost; +export enum CreateProfileWithHandleErrorReasonType { + Failed = 'FAILED', + HandleTaken = 'HANDLE_TAKEN' +} -export type DataAvailabilityTransactionsRequest = { - cursor?: InputMaybe; - limit?: InputMaybe; - profileId?: InputMaybe; +export type CreateProfileWithHandleErrorResult = { + __typename?: 'CreateProfileWithHandleErrorResult'; + reason: CreateProfileWithHandleErrorReasonType; }; -export type DataAvailabilityTransactionsResult = { - __typename?: 'DataAvailabilityTransactionsResult'; - items: Array; - pageInfo: PaginatedResultInfo; +export type CreateProfileWithHandleRequest = { + followModule?: InputMaybe; + handle: Scalars['CreateHandle']; + to: Scalars['EvmAddress']; }; -export type DataAvailabilityVerificationStatusFailure = { - __typename?: 'DataAvailabilityVerificationStatusFailure'; - status?: Maybe; +export type CreateProfileWithHandleResult = CreateProfileWithHandleErrorResult | RelaySuccess; + +export type CreateSetFollowModuleBroadcastItemResult = { + __typename?: 'CreateSetFollowModuleBroadcastItemResult'; + /** The date the broadcast item expiries */ + expiresAt: Scalars['DateTime']; + /** This broadcast item ID */ + id: Scalars['BroadcastId']; + /** The typed data */ + typedData: CreateSetFollowModuleEip712TypedData; }; -export type DataAvailabilityVerificationStatusSuccess = { - __typename?: 'DataAvailabilityVerificationStatusSuccess'; - verified: Scalars['Boolean']; +export type CreateSetFollowModuleEip712TypedData = { + __typename?: 'CreateSetFollowModuleEIP712TypedData'; + /** The typed data domain */ + domain: Eip712TypedDataDomain; + /** The types */ + types: CreateSetFollowModuleEip712TypedDataTypes; + /** The values */ + value: CreateSetFollowModuleEip712TypedDataValue; }; -export type DataAvailabilityVerificationStatusUnion = - | DataAvailabilityVerificationStatusFailure - | DataAvailabilityVerificationStatusSuccess; +export type CreateSetFollowModuleEip712TypedDataTypes = { + __typename?: 'CreateSetFollowModuleEIP712TypedDataTypes'; + SetFollowModule: Array; +}; -/** The reason why a profile cannot decrypt a publication */ -export enum DecryptFailReason { - CanNotDecrypt = 'CAN_NOT_DECRYPT', - CollectNotFinalisedOnChain = 'COLLECT_NOT_FINALISED_ON_CHAIN', - DoesNotFollowProfile = 'DOES_NOT_FOLLOW_PROFILE', - DoesNotOwnNft = 'DOES_NOT_OWN_NFT', - DoesNotOwnProfile = 'DOES_NOT_OWN_PROFILE', - FollowNotFinalisedOnChain = 'FOLLOW_NOT_FINALISED_ON_CHAIN', - HasNotCollectedPublication = 'HAS_NOT_COLLECTED_PUBLICATION', +export type CreateSetFollowModuleEip712TypedDataValue = { + __typename?: 'CreateSetFollowModuleEIP712TypedDataValue'; + deadline: Scalars['UnixTimestamp']; + followModule: Scalars['EvmAddress']; + followModuleInitData: Scalars['BlockchainData']; + nonce: Scalars['Nonce']; + profileId: Scalars['ProfileId']; +}; + +export type CreateUnblockProfilesBroadcastItemResult = { + __typename?: 'CreateUnblockProfilesBroadcastItemResult'; + /** The date the broadcast item expiries */ + expiresAt: Scalars['DateTime']; + /** This broadcast item ID */ + id: Scalars['BroadcastId']; + /** The typed data */ + typedData: CreateUnblockProfilesEip712TypedData; +}; + +export type CreateUnblockProfilesEip712TypedData = { + __typename?: 'CreateUnblockProfilesEIP712TypedData'; + /** The typed data domain */ + domain: Eip712TypedDataDomain; + /** The types */ + types: CreateUnblockProfilesEip712TypedDataTypes; + /** The values */ + value: CreateUnblockProfilesEip712TypedDataValue; +}; + +export type CreateUnblockProfilesEip712TypedDataTypes = { + __typename?: 'CreateUnblockProfilesEIP712TypedDataTypes'; + SetBlockStatus: Array; +}; + +export type CreateUnblockProfilesEip712TypedDataValue = { + __typename?: 'CreateUnblockProfilesEIP712TypedDataValue'; + blockStatus: Array; + byProfileId: Scalars['ProfileId']; + deadline: Scalars['UnixTimestamp']; + idsOfProfilesToSetBlockStatus: Array; + nonce: Scalars['Nonce']; +}; + +export type CreateUnfollowBroadcastItemResult = { + __typename?: 'CreateUnfollowBroadcastItemResult'; + /** The date the broadcast item expiries */ + expiresAt: Scalars['DateTime']; + /** This broadcast item ID */ + id: Scalars['BroadcastId']; + /** The typed data */ + typedData: CreateUnfollowEip712TypedData; +}; + +export type CreateUnfollowEip712TypedData = { + __typename?: 'CreateUnfollowEIP712TypedData'; + /** The typed data domain */ + domain: Eip712TypedDataDomain; + /** The types */ + types: CreateUnfollowEip712TypedDataTypes; + /** The values */ + value: CreateUnfollowEip712TypedDataValue; +}; + +export type CreateUnfollowEip712TypedDataTypes = { + __typename?: 'CreateUnfollowEIP712TypedDataTypes'; + Unfollow: Array; +}; + +export type CreateUnfollowEip712TypedDataValue = { + __typename?: 'CreateUnfollowEIP712TypedDataValue'; + deadline: Scalars['UnixTimestamp']; + idsOfProfilesToUnfollow: Array; + nonce: Scalars['Nonce']; + unfollowerProfileId: Scalars['ProfileId']; +}; + +export enum CustomFiltersType { + Gardeners = 'GARDENERS' +} + +export enum DecryptFailReasonType { + CanNotDecrypt = 'CAN_NOT_DECRYPT', + CollectNotFinalisedOnChain = 'COLLECT_NOT_FINALISED_ON_CHAIN', + DoesNotFollowProfile = 'DOES_NOT_FOLLOW_PROFILE', + DoesNotOwnNft = 'DOES_NOT_OWN_NFT', + DoesNotOwnProfile = 'DOES_NOT_OWN_PROFILE', + FollowNotFinalisedOnChain = 'FOLLOW_NOT_FINALISED_ON_CHAIN', + HasNotCollectedPublication = 'HAS_NOT_COLLECTED_PUBLICATION', MissingEncryptionParams = 'MISSING_ENCRYPTION_PARAMS', + NotLoggedIn = 'NOT_LOGGED_IN', ProfileDoesNotExist = 'PROFILE_DOES_NOT_EXIST', + PublicationIsNotGated = 'PUBLICATION_IS_NOT_GATED', UnauthorizedAddress = 'UNAUTHORIZED_ADDRESS', UnauthorizedBalance = 'UNAUTHORIZED_BALANCE' } export type DefaultProfileRequest = { - ethereumAddress: Scalars['EthereumAddress']; + for: Scalars['EvmAddress']; }; -export type DegreesOfSeparationReferenceModuleParams = { - /** Applied to comments */ +export type DegreesOfSeparationReferenceModuleInput = { commentsRestricted: Scalars['Boolean']; - /** Degrees of separation */ degreesOfSeparation: Scalars['Int']; - /** Applied to mirrors */ mirrorsRestricted: Scalars['Boolean']; + quotesRestricted: Scalars['Boolean']; + /** You can set the degree to follow someone elses graph, if you leave blank it use your profile */ + sourceProfileId?: InputMaybe; }; export type DegreesOfSeparationReferenceModuleSettings = { __typename?: 'DegreesOfSeparationReferenceModuleSettings'; /** Applied to comments */ commentsRestricted: Scalars['Boolean']; - contractAddress: Scalars['ContractAddress']; + contract: NetworkAddress; /** Degrees of separation */ degreesOfSeparation: Scalars['Int']; /** Applied to mirrors */ mirrorsRestricted: Scalars['Boolean']; - /** The reference modules enum */ - type: ReferenceModules; + /** Applied to quotes */ + quotesRestricted: Scalars['Boolean']; + /** Who the degree of separation is applied to */ + sourceProfileId: Scalars['ProfileId']; + type: ReferenceModuleType; }; export type DismissRecommendedProfilesRequest = { - profileIds: Array; -}; - -/** The dispatcher */ -export type Dispatcher = { - __typename?: 'Dispatcher'; - /** The dispatcher address */ - address: Scalars['EthereumAddress']; - /** If the dispatcher can use the relay */ - canUseRelay: Scalars['Boolean']; - /** If the dispatcher transactions will be sponsored by lens aka cover the gas costs */ - sponsor: Scalars['Boolean']; + dismiss: Array; }; -export type DoesFollow = { - /** The follower address remember wallets follow profiles */ - followerAddress: Scalars['EthereumAddress']; - /** The profile id */ - profileId: Scalars['ProfileId']; +export type DoesFollowRequest = { + cursor?: InputMaybe; + followers: Array; + for: Scalars['ProfileId']; + limit?: InputMaybe; }; -export type DoesFollowRequest = { - /** The follower infos */ - followInfos: Array; -}; - -/** The does follow response */ -export type DoesFollowResponse = { - __typename?: 'DoesFollowResponse'; - /** The follower address remember wallets follow profiles */ - followerAddress: Scalars['EthereumAddress']; - /** If the user does follow */ - follows: Scalars['Boolean']; - /** Is finalised on-chain */ - isFinalisedOnChain: Scalars['Boolean']; - /** The profile id */ - profileId: Scalars['ProfileId']; +export type DoesFollowResult = { + __typename?: 'DoesFollowResult'; + followerProfileId: Scalars['ProfileId']; + status: OptimisticStatusResult; }; /** The eip 712 typed data domain */ @@ -1225,7 +1182,7 @@ export type Eip712TypedDataDomain = { /** The name of the typed data domain */ name: Scalars['String']; /** The verifying contract */ - verifyingContract: Scalars['ContractAddress']; + verifyingContract: Scalars['EvmAddress']; /** The version */ version: Scalars['String']; }; @@ -1239,159 +1196,86 @@ export type Eip712TypedDataField = { type: Scalars['String']; }; -export type Erc4626FeeCollectModuleParams = { - /** The collecting cost associated with this publication. 0 for free collect. */ - amount: ModuleFeeAmountParams; - /** The maximum number of collects for this publication. Omit for no limit. */ - collectLimit?: InputMaybe; - /** The end timestamp after which collecting is impossible. Omit for no expiry. */ - endTimestamp?: InputMaybe; - /** True if only followers of publisher may collect the post. */ - followerOnly: Scalars['Boolean']; - /** The address of the recipient who will recieve vault shares after depositing is completed. */ - recipient: Scalars['EthereumAddress']; - /** The referral fee associated with this publication. */ - referralFee?: InputMaybe; - /** The address of the ERC4626 vault to deposit funds to. */ - vault: Scalars['ContractAddress']; +export type EmbedMetadataV3 = { + __typename?: 'EmbedMetadataV3'; + appId?: Maybe; + attachments?: Maybe>; + attributes?: Maybe>; + /** Optional content. Empty if not set. */ + content: Scalars['EncryptableMarkdown']; + contentWarning?: Maybe; + embed: Scalars['EncryptableURI']; + encryptedWith?: Maybe; + hideFromFeed: Scalars['Boolean']; + id: Scalars['String']; + locale: Scalars['Locale']; + marketplace?: Maybe; + rawURI: Scalars['URI']; + tags?: Maybe>; }; -export type Erc4626FeeCollectModuleSettings = { - __typename?: 'ERC4626FeeCollectModuleSettings'; - /** The collect module amount info */ - amount: ModuleFeeAmount; - /** The maximum number of collects for this publication. 0 for no limit. */ - collectLimit?: Maybe; - contractAddress: Scalars['ContractAddress']; - /** The end timestamp after which collecting is impossible. 0 for no expiry. */ - endTimestamp?: Maybe; - /** True if only followers of publisher may collect the post. */ - followerOnly: Scalars['Boolean']; - /** The recipient of the ERC4626 vault shares */ - recipient: Scalars['EthereumAddress']; - /** The referral fee associated with this publication. */ - referralFee: Scalars['Float']; - /** The collect modules enum */ - type: CollectModules; - /** The ERC4626 vault address */ - vault: Scalars['ContractAddress']; +export type EncryptableAudio = { + __typename?: 'EncryptableAudio'; + mimeType?: Maybe; + uri: Scalars['EncryptableURI']; }; -export type ElectedMirror = { - __typename?: 'ElectedMirror'; - mirrorId: Scalars['InternalPublicationId']; - profile: Profile; - timestamp: Scalars['DateTime']; +export type EncryptableAudioSet = { + __typename?: 'EncryptableAudioSet'; + optimized?: Maybe