diff --git a/src/graphql/generated.ts b/src/graphql/generated.ts index 5e2dd0bc..b6777673 100644 --- a/src/graphql/generated.ts +++ b/src/graphql/generated.ts @@ -1,9 +1,15 @@ import gql from 'graphql-tag'; export type Maybe = T | null; export type InputMaybe = Maybe; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +export type Exact = { + [K in keyof T]: T[K]; +}; +export type MakeOptional = Omit & { + [SubKey in K]?: Maybe; +}; +export type MakeMaybe = Omit & { + [SubKey in K]: Maybe; +}; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: string; @@ -90,7 +96,7 @@ export type BridgeDrain = { createdAt: Scalars['String']; currency: Scalars['String']; id: Scalars['String']; - receipt: BridgeDrainReceipt; + receipt?: Maybe; state: Scalars['String']; }; @@ -232,7 +238,7 @@ export enum ClientType { TokenLockingClient = 'TokenLockingClient', TokenSupplierClient = 'TokenSupplierClient', VotingReputationClient = 'VotingReputationClient', - WhitelistClient = 'WhitelistClient' + WhitelistClient = 'WhitelistClient', } /** Represents a Colony within the Colony Network */ @@ -292,7 +298,6 @@ export type Colony = { version: Scalars['Int']; }; - /** Represents a Colony within the Colony Network */ export type ColonyActionsArgs = { filter?: InputMaybe; @@ -301,7 +306,6 @@ export type ColonyActionsArgs = { sortDirection?: InputMaybe; }; - /** Represents a Colony within the Colony Network */ export type ColonyDomainsArgs = { filter?: InputMaybe; @@ -311,7 +315,6 @@ export type ColonyDomainsArgs = { sortDirection?: InputMaybe; }; - /** Represents a Colony within the Colony Network */ export type ColonyExpendituresArgs = { createdAt?: InputMaybe; @@ -321,7 +324,6 @@ export type ColonyExpendituresArgs = { sortDirection?: InputMaybe; }; - /** Represents a Colony within the Colony Network */ export type ColonyExtensionsArgs = { filter?: InputMaybe; @@ -331,7 +333,6 @@ export type ColonyExtensionsArgs = { sortDirection?: InputMaybe; }; - /** Represents a Colony within the Colony Network */ export type ColonyFundsClaimsArgs = { filter?: InputMaybe; @@ -340,7 +341,6 @@ export type ColonyFundsClaimsArgs = { sortDirection?: InputMaybe; }; - /** Represents a Colony within the Colony Network */ export type ColonyRolesArgs = { filter?: InputMaybe; @@ -349,7 +349,6 @@ export type ColonyRolesArgs = { sortDirection?: InputMaybe; }; - /** Represents a Colony within the Colony Network */ export type ColonyTokensArgs = { filter?: InputMaybe; @@ -664,7 +663,7 @@ export enum ColonyActionType { /** An action related to upgrading a Colony's version via multiSig */ VersionUpgradeMultisig = 'VERSION_UPGRADE_MULTISIG', /** An action unrelated to the currently viewed Colony */ - WrongColony = 'WRONG_COLONY' + WrongColony = 'WRONG_COLONY', } /** Represents a Colony balance for a specific domain and token */ @@ -764,7 +763,6 @@ export type ColonyContributor = { user?: Maybe; }; - /** The ColonyContributor model represents a contributor to the Colony. */ export type ColonyContributorReputationArgs = { colonyAddress?: InputMaybe; @@ -774,7 +772,6 @@ export type ColonyContributorReputationArgs = { sortDirection?: InputMaybe; }; - /** The ColonyContributor model represents a contributor to the Colony. */ export type ColonyContributorRolesArgs = { colonyAddress?: InputMaybe; @@ -1075,7 +1072,6 @@ export type ColonyMotion = { voterRewards?: Maybe; }; - /** Represents a Motion within a Colony */ export type ColonyMotionMessagesArgs = { createdAt?: InputMaybe; @@ -1085,7 +1081,6 @@ export type ColonyMotionMessagesArgs = { sortDirection?: InputMaybe; }; - /** Represents a Motion within a Colony */ export type ColonyMotionVoterRewardsArgs = { createdAt?: InputMaybe; @@ -1144,7 +1139,6 @@ export type ColonyMultiSig = { updatedAt: Scalars['AWSDateTime']; }; - /** Represents a MultiSig motion within a Colony */ export type ColonyMultiSigSignaturesArgs = { filter?: InputMaybe; @@ -1255,7 +1249,7 @@ export enum ColonyType { /** A regular Colony */ Colony = 'COLONY', /** The MetaColony, which governs the entire Colony Network */ - Metacolony = 'METACOLONY' + Metacolony = 'METACOLONY', } /** Unclaimed staking rewards for a motion */ @@ -1334,7 +1328,7 @@ export enum ContributorType { Dedicated = 'DEDICATED', General = 'GENERAL', New = 'NEW', - Top = 'TOP' + Top = 'TOP', } export type CreateAnnotationInput = { @@ -1648,6 +1642,8 @@ export type CreateExpenditureInput = { nativeId: Scalars['Int']; ownerAddress: Scalars['ID']; slots: Array; + stagedExpenditureAddress?: InputMaybe; + stakedExpenditureAddress?: InputMaybe; status: ExpenditureStatus; type: ExpenditureType; userStakeId?: InputMaybe; @@ -1655,6 +1651,8 @@ export type CreateExpenditureInput = { export type CreateExpenditureMetadataInput = { distributionType?: InputMaybe; + expectedNumberOfPayouts?: InputMaybe; + expectedNumberOfTokens?: InputMaybe; fundFromDomainNativeId: Scalars['Int']; id?: InputMaybe; stages?: InputMaybe>; @@ -2120,7 +2118,7 @@ export enum DomainColor { /** The default domain color for the root domain. Only used by the root by default and cannot be selected by the user. */ Root = 'ROOT', /** A yellow color */ - Yellow = 'YELLOW' + Yellow = 'YELLOW', } /** Input type for specifying a Domain */ @@ -2215,6 +2213,10 @@ export type Expenditure = { ownerAddress: Scalars['ID']; /** Array containing expenditure slots */ slots: Array; + /** Address of StagedExpenditure extension which set the expenditure as staged, if applicable */ + stagedExpenditureAddress?: Maybe; + /** Address of StakedExpenditure extension which created the expenditure, if applicable */ + stakedExpenditureAddress?: Maybe; /** Status of the expenditure */ status: ExpenditureStatus; type: ExpenditureType; @@ -2225,7 +2227,6 @@ export type Expenditure = { userStakeId?: Maybe; }; - export type ExpenditureActionsArgs = { filter?: InputMaybe; limit?: InputMaybe; @@ -2233,7 +2234,6 @@ export type ExpenditureActionsArgs = { sortDirection?: InputMaybe; }; - export type ExpenditureMotionsArgs = { filter?: InputMaybe; limit?: InputMaybe; @@ -2273,6 +2273,8 @@ export type ExpenditureMetadata = { * Will be null for other payment types */ distributionType?: Maybe; + expectedNumberOfPayouts?: Maybe; + expectedNumberOfTokens?: Maybe; fundFromDomainNativeId: Scalars['Int']; id: Scalars['ID']; stages?: Maybe>; @@ -2347,16 +2349,16 @@ export enum ExpenditureStatus { Cancelled = 'CANCELLED', Draft = 'DRAFT', Finalized = 'FINALIZED', - Locked = 'LOCKED' + Locked = 'LOCKED', } export enum ExpenditureType { PaymentBuilder = 'PAYMENT_BUILDER', - Staged = 'STAGED' + Staged = 'STAGED', } export enum ExtendedSupportedCurrencies { - Usdc = 'USDC' + Usdc = 'USDC', } export type ExtensionInstallationsCount = { @@ -2410,14 +2412,22 @@ export enum ExternalLinks { Telegram = 'Telegram', Twitter = 'Twitter', Whitepaper = 'Whitepaper', - Youtube = 'Youtube' + Youtube = 'Youtube', } +export type FailedTransaction = { + __typename?: 'FailedTransaction'; + /** Transaction id */ + id: Scalars['ID']; + /** The current status of the transaction */ + status: TransactionStatus; +}; + export enum FilteringMethod { /** Apply an intersection filter */ Intersection = 'INTERSECTION', /** Apply a union filter */ - Union = 'UNION' + Union = 'UNION', } export type FunctionParam = { @@ -2547,13 +2557,23 @@ export type IngestorStats = { value: Scalars['String']; }; +export type InitializeUserInput = { + /** The user's wallet address */ + userAddress: Scalars['ID']; +}; + +export type InitializeUserReturn = { + __typename?: 'InitializeUserReturn'; + failedTransactions: Array; +}; + export enum KycStatus { Approved = 'APPROVED', Incomplete = 'INCOMPLETE', NotStarted = 'NOT_STARTED', Pending = 'PENDING', Rejected = 'REJECTED', - UnderReview = 'UNDER_REVIEW' + UnderReview = 'UNDER_REVIEW', } /** @@ -2611,7 +2631,7 @@ export enum ModelAttributeTypes { Number = 'number', NumberSet = 'numberSet', String = 'string', - StringSet = 'stringSet' + StringSet = 'stringSet', } export type ModelBooleanInput = { @@ -3248,10 +3268,14 @@ export type ModelContributorTypeInput = { }; export type ModelCurrentNetworkInverseFeeConditionInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; inverseFee?: InputMaybe; not?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelCurrentNetworkInverseFeeConnection = { @@ -3367,6 +3391,8 @@ export type ModelExpenditureConditionInput = { not?: InputMaybe; or?: InputMaybe>>; ownerAddress?: InputMaybe; + stagedExpenditureAddress?: InputMaybe; + stakedExpenditureAddress?: InputMaybe; status?: InputMaybe; type?: InputMaybe; userStakeId?: InputMaybe; @@ -3392,6 +3418,8 @@ export type ModelExpenditureFilterInput = { not?: InputMaybe; or?: InputMaybe>>; ownerAddress?: InputMaybe; + stagedExpenditureAddress?: InputMaybe; + stakedExpenditureAddress?: InputMaybe; status?: InputMaybe; type?: InputMaybe; userStakeId?: InputMaybe; @@ -3400,6 +3428,8 @@ export type ModelExpenditureFilterInput = { export type ModelExpenditureMetadataConditionInput = { and?: InputMaybe>>; distributionType?: InputMaybe; + expectedNumberOfPayouts?: InputMaybe; + expectedNumberOfTokens?: InputMaybe; fundFromDomainNativeId?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; @@ -3414,6 +3444,8 @@ export type ModelExpenditureMetadataConnection = { export type ModelExpenditureMetadataFilterInput = { and?: InputMaybe>>; distributionType?: InputMaybe; + expectedNumberOfPayouts?: InputMaybe; + expectedNumberOfTokens?: InputMaybe; fundFromDomainNativeId?: InputMaybe; id?: InputMaybe; not?: InputMaybe; @@ -3431,11 +3463,15 @@ export type ModelExpenditureTypeInput = { }; export type ModelExtensionInstallationsCountConditionInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; multiSigPermissions?: InputMaybe; not?: InputMaybe; oneTxPayment?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; reputationWeighted?: InputMaybe; stagedExpenditure?: InputMaybe; stakedExpenditure?: InputMaybe; @@ -3449,12 +3485,16 @@ export type ModelExtensionInstallationsCountConnection = { }; export type ModelExtensionInstallationsCountFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; id?: InputMaybe; multiSigPermissions?: InputMaybe; not?: InputMaybe; oneTxPayment?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; reputationWeighted?: InputMaybe; stagedExpenditure?: InputMaybe; stakedExpenditure?: InputMaybe; @@ -3708,10 +3748,14 @@ export type ModelProfileFilterInput = { }; export type ModelReputationMiningCycleMetadataConditionInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; lastCompletedAt?: InputMaybe; not?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelReputationMiningCycleMetadataConnection = { @@ -3721,11 +3765,15 @@ export type ModelReputationMiningCycleMetadataConnection = { }; export type ModelReputationMiningCycleMetadataFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; id?: InputMaybe; lastCompletedAt?: InputMaybe; not?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelSafeTransactionConditionInput = { @@ -3799,7 +3847,7 @@ export type ModelSizeInput = { export enum ModelSortDirection { Asc = 'ASC', - Desc = 'DESC' + Desc = 'DESC', } export type ModelSplitPaymentDistributionTypeInput = { @@ -3846,11 +3894,15 @@ export type ModelStreamingPaymentFilterInput = { }; export type ModelStreamingPaymentMetadataConditionInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; endCondition?: InputMaybe; limitAmount?: InputMaybe; not?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelStreamingPaymentMetadataConnection = { @@ -3947,14 +3999,20 @@ export type ModelSubscriptionColonyActionFilterInput = { }; export type ModelSubscriptionColonyActionMetadataFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; customTitle?: InputMaybe; id?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelSubscriptionColonyContributorFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; colonyAddress?: InputMaybe; colonyReputationPercentage?: InputMaybe; contributorAddress?: InputMaybe; @@ -3963,26 +4021,34 @@ export type ModelSubscriptionColonyContributorFilterInput = { id?: InputMaybe; isVerified?: InputMaybe; isWatching?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; type?: InputMaybe; }; export type ModelSubscriptionColonyDecisionFilterInput = { actionId?: InputMaybe; - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; colonyAddress?: InputMaybe; createdAt?: InputMaybe; description?: InputMaybe; id?: InputMaybe; motionDomainId?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; showInDecisionsList?: InputMaybe; title?: InputMaybe; walletAddress?: InputMaybe; }; export type ModelSubscriptionColonyExtensionFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; colonyId?: InputMaybe; hash?: InputMaybe; id?: InputMaybe; @@ -3991,7 +4057,9 @@ export type ModelSubscriptionColonyExtensionFilterInput = { isDeleted?: InputMaybe; isDeprecated?: InputMaybe; isInitialized?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; version?: InputMaybe; }; @@ -4012,23 +4080,31 @@ export type ModelSubscriptionColonyFilterInput = { export type ModelSubscriptionColonyFundsClaimFilterInput = { amount?: InputMaybe; - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; createdAt?: InputMaybe; createdAtBlock?: InputMaybe; id?: InputMaybe; isClaimed?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelSubscriptionColonyHistoricRoleFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; blockNumber?: InputMaybe; colonyId?: InputMaybe; createdAt?: InputMaybe; domainId?: InputMaybe; id?: InputMaybe; isMultiSig?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; role_0?: InputMaybe; role_1?: InputMaybe; role_2?: InputMaybe; @@ -4040,20 +4116,28 @@ export type ModelSubscriptionColonyHistoricRoleFilterInput = { }; export type ModelSubscriptionColonyMemberInviteFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; colonyId?: InputMaybe; id?: InputMaybe; invitesRemaining?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelSubscriptionColonyMetadataFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; avatar?: InputMaybe; description?: InputMaybe; displayName?: InputMaybe; id?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; thumbnail?: InputMaybe; }; @@ -4080,7 +4164,9 @@ export type ModelSubscriptionColonyMotionFilterInput = { }; export type ModelSubscriptionColonyMultiSigFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; colonyAddress?: InputMaybe; createdAt?: InputMaybe; executedAt?: InputMaybe; @@ -4093,7 +4179,9 @@ export type ModelSubscriptionColonyMultiSigFilterInput = { multiSigDomainId?: InputMaybe; nativeMultiSigDomainId?: InputMaybe; nativeMultiSigId?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; rejectedAt?: InputMaybe; rejectedBy?: InputMaybe; requiredPermissions?: InputMaybe; @@ -4127,7 +4215,9 @@ export type ModelSubscriptionColonyTokensFilterInput = { export type ModelSubscriptionContractEventFilterInput = { agent?: InputMaybe; - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; encodedArguments?: InputMaybe; id?: InputMaybe; name?: InputMaybe; @@ -4137,28 +4227,40 @@ export type ModelSubscriptionContractEventFilterInput = { }; export type ModelSubscriptionContributorReputationFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; colonyAddress?: InputMaybe; contributorAddress?: InputMaybe; domainId?: InputMaybe; id?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; reputationPercentage?: InputMaybe; reputationRaw?: InputMaybe; }; export type ModelSubscriptionCurrentNetworkInverseFeeFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; id?: InputMaybe; inverseFee?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelSubscriptionCurrentVersionFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; id?: InputMaybe; key?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; version?: InputMaybe; }; @@ -4176,12 +4278,16 @@ export type ModelSubscriptionDomainFilterInput = { }; export type ModelSubscriptionDomainMetadataFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; color?: InputMaybe; description?: InputMaybe; id?: InputMaybe; name?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelSubscriptionExpenditureFilterInput = { @@ -4197,25 +4303,37 @@ export type ModelSubscriptionExpenditureFilterInput = { nativeId?: InputMaybe; or?: InputMaybe>>; ownerAddress?: InputMaybe; + stagedExpenditureAddress?: InputMaybe; + stakedExpenditureAddress?: InputMaybe; status?: InputMaybe; type?: InputMaybe; userStakeId?: InputMaybe; }; export type ModelSubscriptionExpenditureMetadataFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; distributionType?: InputMaybe; + expectedNumberOfPayouts?: InputMaybe; + expectedNumberOfTokens?: InputMaybe; fundFromDomainNativeId?: InputMaybe; id?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelSubscriptionExtensionInstallationsCountFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; id?: InputMaybe; multiSigPermissions?: InputMaybe; oneTxPayment?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; reputationWeighted?: InputMaybe; stagedExpenditure?: InputMaybe; stakedExpenditure?: InputMaybe; @@ -4250,7 +4368,9 @@ export type ModelSubscriptionIdInput = { }; export type ModelSubscriptionIngestorStatsFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; id?: InputMaybe; or?: InputMaybe>>; value?: InputMaybe; @@ -4269,17 +4389,23 @@ export type ModelSubscriptionIntInput = { }; export type ModelSubscriptionLiquidationAddressFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; chainId?: InputMaybe; id?: InputMaybe; liquidationAddress?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; userAddress?: InputMaybe; }; export type ModelSubscriptionMotionMessageFilterInput = { amount?: InputMaybe; - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; createdAt?: InputMaybe; initiatorAddress?: InputMaybe; messageKey?: InputMaybe; @@ -4290,21 +4416,29 @@ export type ModelSubscriptionMotionMessageFilterInput = { }; export type ModelSubscriptionMultiSigUserSignatureFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; colonyAddress?: InputMaybe; createdAt?: InputMaybe; id?: InputMaybe; multiSigId?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; role?: InputMaybe; userAddress?: InputMaybe; vote?: InputMaybe; }; export type ModelSubscriptionPrivateBetaInviteCodeFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; id?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; shareableInvites?: InputMaybe; userId?: InputMaybe; }; @@ -4327,20 +4461,28 @@ export type ModelSubscriptionProfileFilterInput = { }; export type ModelSubscriptionReputationMiningCycleMetadataFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; id?: InputMaybe; lastCompletedAt?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelSubscriptionSafeTransactionDataFilterInput = { abi?: InputMaybe; amount?: InputMaybe; - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; contractFunction?: InputMaybe; data?: InputMaybe; id?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; rawAmount?: InputMaybe; tokenAddress?: InputMaybe; transactionHash?: InputMaybe; @@ -4348,30 +4490,42 @@ export type ModelSubscriptionSafeTransactionDataFilterInput = { }; export type ModelSubscriptionSafeTransactionFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; id?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelSubscriptionStreamingPaymentFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; createdAt?: InputMaybe; endTime?: InputMaybe; id?: InputMaybe; interval?: InputMaybe; nativeDomainId?: InputMaybe; nativeId?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; recipientAddress?: InputMaybe; startTime?: InputMaybe; }; export type ModelSubscriptionStreamingPaymentMetadataFilterInput = { - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; endCondition?: InputMaybe; id?: InputMaybe; limitAmount?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; }; export type ModelSubscriptionStringInput = { @@ -4464,12 +4618,16 @@ export type ModelSubscriptionUserTokensFilterInput = { export type ModelSubscriptionVoterRewardsHistoryFilterInput = { amount?: InputMaybe; - and?: InputMaybe>>; + and?: InputMaybe< + Array> + >; colonyAddress?: InputMaybe; createdAt?: InputMaybe; id?: InputMaybe; motionId?: InputMaybe; - or?: InputMaybe>>; + or?: InputMaybe< + Array> + >; userAddress?: InputMaybe; }; @@ -4873,13 +5031,15 @@ export type MultiSigUserSignature = { export enum MultiSigVote { Approve = 'Approve', None = 'None', - Reject = 'Reject' + Reject = 'Reject', } /** Root mutation type */ export type Mutation = { __typename?: 'Mutation'; + /** Create a Bridge XYZ Bank Account */ bridgeCreateBankAccount?: Maybe; + /** Update a Bridge XYZ Bank Account */ bridgeUpdateBankAccount?: Maybe; /** Post to the Bridge XYZ API */ bridgeXYZMutation?: Maybe; @@ -4969,6 +5129,8 @@ export type Mutation = { deleteUserStake?: Maybe; deleteUserTokens?: Maybe; deleteVoterRewardsHistory?: Maybe; + /** Initialize user (for now only cancels pending transactions) */ + initializeUser: InitializeUserReturn; updateAnnotation?: Maybe; updateColony?: Maybe; updateColonyAction?: Maybe; @@ -5016,610 +5178,527 @@ export type Mutation = { validateUserInvite?: Maybe; }; - /** Root mutation type */ export type MutationBridgeCreateBankAccountArgs = { input: BridgeCreateBankAccountInput; }; - /** Root mutation type */ export type MutationBridgeUpdateBankAccountArgs = { input: BridgeUpdateBankAccountInput; }; - /** Root mutation type */ export type MutationBridgeXyzMutationArgs = { input: BridgeXyzMutationInput; }; - /** Root mutation type */ export type MutationCreateAnnotationArgs = { condition?: InputMaybe; input: CreateAnnotationInput; }; - /** Root mutation type */ export type MutationCreateColonyArgs = { condition?: InputMaybe; input: CreateColonyInput; }; - /** Root mutation type */ export type MutationCreateColonyActionArgs = { condition?: InputMaybe; input: CreateColonyActionInput; }; - /** Root mutation type */ export type MutationCreateColonyActionMetadataArgs = { condition?: InputMaybe; input: CreateColonyActionMetadataInput; }; - /** Root mutation type */ export type MutationCreateColonyContributorArgs = { condition?: InputMaybe; input: CreateColonyContributorInput; }; - /** Root mutation type */ export type MutationCreateColonyDecisionArgs = { condition?: InputMaybe; input: CreateColonyDecisionInput; }; - /** Root mutation type */ export type MutationCreateColonyEtherealMetadataArgs = { input: CreateColonyEtherealMetadataInput; }; - /** Root mutation type */ export type MutationCreateColonyExtensionArgs = { condition?: InputMaybe; input: CreateColonyExtensionInput; }; - /** Root mutation type */ export type MutationCreateColonyFundsClaimArgs = { condition?: InputMaybe; input: CreateColonyFundsClaimInput; }; - /** Root mutation type */ export type MutationCreateColonyHistoricRoleArgs = { condition?: InputMaybe; input: CreateColonyHistoricRoleInput; }; - /** Root mutation type */ export type MutationCreateColonyMemberInviteArgs = { condition?: InputMaybe; input: CreateColonyMemberInviteInput; }; - /** Root mutation type */ export type MutationCreateColonyMetadataArgs = { condition?: InputMaybe; input: CreateColonyMetadataInput; }; - /** Root mutation type */ export type MutationCreateColonyMotionArgs = { condition?: InputMaybe; input: CreateColonyMotionInput; }; - /** Root mutation type */ export type MutationCreateColonyMultiSigArgs = { condition?: InputMaybe; input: CreateColonyMultiSigInput; }; - /** Root mutation type */ export type MutationCreateColonyRoleArgs = { condition?: InputMaybe; input: CreateColonyRoleInput; }; - /** Root mutation type */ export type MutationCreateColonyTokensArgs = { condition?: InputMaybe; input: CreateColonyTokensInput; }; - /** Root mutation type */ export type MutationCreateContractEventArgs = { condition?: InputMaybe; input: CreateContractEventInput; }; - /** Root mutation type */ export type MutationCreateContributorReputationArgs = { condition?: InputMaybe; input: CreateContributorReputationInput; }; - /** Root mutation type */ export type MutationCreateCurrentNetworkInverseFeeArgs = { condition?: InputMaybe; input: CreateCurrentNetworkInverseFeeInput; }; - /** Root mutation type */ export type MutationCreateCurrentVersionArgs = { condition?: InputMaybe; input: CreateCurrentVersionInput; }; - /** Root mutation type */ export type MutationCreateDomainArgs = { condition?: InputMaybe; input: CreateDomainInput; }; - /** Root mutation type */ export type MutationCreateDomainMetadataArgs = { condition?: InputMaybe; input: CreateDomainMetadataInput; }; - /** Root mutation type */ export type MutationCreateExpenditureArgs = { condition?: InputMaybe; input: CreateExpenditureInput; }; - /** Root mutation type */ export type MutationCreateExpenditureMetadataArgs = { condition?: InputMaybe; input: CreateExpenditureMetadataInput; }; - /** Root mutation type */ export type MutationCreateExtensionInstallationsCountArgs = { condition?: InputMaybe; input: CreateExtensionInstallationsCountInput; }; - /** Root mutation type */ export type MutationCreateIngestorStatsArgs = { condition?: InputMaybe; input: CreateIngestorStatsInput; }; - /** Root mutation type */ export type MutationCreateLiquidationAddressArgs = { condition?: InputMaybe; input: CreateLiquidationAddressInput; }; - /** Root mutation type */ export type MutationCreateMotionMessageArgs = { condition?: InputMaybe; input: CreateMotionMessageInput; }; - /** Root mutation type */ export type MutationCreateMultiSigUserSignatureArgs = { condition?: InputMaybe; input: CreateMultiSigUserSignatureInput; }; - /** Root mutation type */ export type MutationCreatePrivateBetaInviteCodeArgs = { condition?: InputMaybe; input: CreatePrivateBetaInviteCodeInput; }; - /** Root mutation type */ export type MutationCreateProfileArgs = { condition?: InputMaybe; input: CreateProfileInput; }; - /** Root mutation type */ export type MutationCreateReputationMiningCycleMetadataArgs = { condition?: InputMaybe; input: CreateReputationMiningCycleMetadataInput; }; - /** Root mutation type */ export type MutationCreateSafeTransactionArgs = { condition?: InputMaybe; input: CreateSafeTransactionInput; }; - /** Root mutation type */ export type MutationCreateSafeTransactionDataArgs = { condition?: InputMaybe; input: CreateSafeTransactionDataInput; }; - /** Root mutation type */ export type MutationCreateStreamingPaymentArgs = { condition?: InputMaybe; input: CreateStreamingPaymentInput; }; - /** Root mutation type */ export type MutationCreateStreamingPaymentMetadataArgs = { condition?: InputMaybe; input: CreateStreamingPaymentMetadataInput; }; - /** Root mutation type */ export type MutationCreateTokenArgs = { condition?: InputMaybe; input: CreateTokenInput; }; - /** Root mutation type */ export type MutationCreateTransactionArgs = { condition?: InputMaybe; input: CreateTransactionInput; }; - /** Root mutation type */ export type MutationCreateUniqueUserArgs = { input?: InputMaybe; }; - /** Root mutation type */ export type MutationCreateUserArgs = { condition?: InputMaybe; input: CreateUserInput; }; - /** Root mutation type */ export type MutationCreateUserStakeArgs = { condition?: InputMaybe; input: CreateUserStakeInput; }; - /** Root mutation type */ export type MutationCreateUserTokensArgs = { condition?: InputMaybe; input: CreateUserTokensInput; }; - /** Root mutation type */ export type MutationCreateVoterRewardsHistoryArgs = { condition?: InputMaybe; input: CreateVoterRewardsHistoryInput; }; - /** Root mutation type */ export type MutationDeleteAnnotationArgs = { condition?: InputMaybe; input: DeleteAnnotationInput; }; - /** Root mutation type */ export type MutationDeleteColonyArgs = { condition?: InputMaybe; input: DeleteColonyInput; }; - /** Root mutation type */ export type MutationDeleteColonyActionArgs = { condition?: InputMaybe; input: DeleteColonyActionInput; }; - /** Root mutation type */ export type MutationDeleteColonyActionMetadataArgs = { condition?: InputMaybe; input: DeleteColonyActionMetadataInput; }; - /** Root mutation type */ export type MutationDeleteColonyContributorArgs = { condition?: InputMaybe; input: DeleteColonyContributorInput; }; - /** Root mutation type */ export type MutationDeleteColonyDecisionArgs = { condition?: InputMaybe; input: DeleteColonyDecisionInput; }; - /** Root mutation type */ export type MutationDeleteColonyExtensionArgs = { condition?: InputMaybe; input: DeleteColonyExtensionInput; }; - /** Root mutation type */ export type MutationDeleteColonyFundsClaimArgs = { condition?: InputMaybe; input: DeleteColonyFundsClaimInput; }; - /** Root mutation type */ export type MutationDeleteColonyHistoricRoleArgs = { condition?: InputMaybe; input: DeleteColonyHistoricRoleInput; }; - /** Root mutation type */ export type MutationDeleteColonyMemberInviteArgs = { condition?: InputMaybe; input: DeleteColonyMemberInviteInput; }; - /** Root mutation type */ export type MutationDeleteColonyMetadataArgs = { condition?: InputMaybe; input: DeleteColonyMetadataInput; }; - /** Root mutation type */ export type MutationDeleteColonyMotionArgs = { condition?: InputMaybe; input: DeleteColonyMotionInput; }; - /** Root mutation type */ export type MutationDeleteColonyMultiSigArgs = { condition?: InputMaybe; input: DeleteColonyMultiSigInput; }; - /** Root mutation type */ export type MutationDeleteColonyRoleArgs = { condition?: InputMaybe; input: DeleteColonyRoleInput; }; - /** Root mutation type */ export type MutationDeleteColonyTokensArgs = { condition?: InputMaybe; input: DeleteColonyTokensInput; }; - /** Root mutation type */ export type MutationDeleteContractEventArgs = { condition?: InputMaybe; input: DeleteContractEventInput; }; - /** Root mutation type */ export type MutationDeleteContributorReputationArgs = { condition?: InputMaybe; input: DeleteContributorReputationInput; }; - /** Root mutation type */ export type MutationDeleteCurrentNetworkInverseFeeArgs = { condition?: InputMaybe; input: DeleteCurrentNetworkInverseFeeInput; }; - /** Root mutation type */ export type MutationDeleteCurrentVersionArgs = { condition?: InputMaybe; input: DeleteCurrentVersionInput; }; - /** Root mutation type */ export type MutationDeleteDomainArgs = { condition?: InputMaybe; input: DeleteDomainInput; }; - /** Root mutation type */ export type MutationDeleteDomainMetadataArgs = { condition?: InputMaybe; input: DeleteDomainMetadataInput; }; - /** Root mutation type */ export type MutationDeleteExpenditureArgs = { condition?: InputMaybe; input: DeleteExpenditureInput; }; - /** Root mutation type */ export type MutationDeleteExpenditureMetadataArgs = { condition?: InputMaybe; input: DeleteExpenditureMetadataInput; }; - /** Root mutation type */ export type MutationDeleteExtensionInstallationsCountArgs = { condition?: InputMaybe; input: DeleteExtensionInstallationsCountInput; }; - /** Root mutation type */ export type MutationDeleteIngestorStatsArgs = { condition?: InputMaybe; input: DeleteIngestorStatsInput; }; - /** Root mutation type */ export type MutationDeleteLiquidationAddressArgs = { condition?: InputMaybe; input: DeleteLiquidationAddressInput; }; - /** Root mutation type */ export type MutationDeleteMotionMessageArgs = { condition?: InputMaybe; input: DeleteMotionMessageInput; }; - /** Root mutation type */ export type MutationDeleteMultiSigUserSignatureArgs = { condition?: InputMaybe; input: DeleteMultiSigUserSignatureInput; }; - /** Root mutation type */ export type MutationDeletePrivateBetaInviteCodeArgs = { condition?: InputMaybe; input: DeletePrivateBetaInviteCodeInput; }; - /** Root mutation type */ export type MutationDeleteProfileArgs = { condition?: InputMaybe; input: DeleteProfileInput; }; - /** Root mutation type */ export type MutationDeleteReputationMiningCycleMetadataArgs = { condition?: InputMaybe; input: DeleteReputationMiningCycleMetadataInput; }; - /** Root mutation type */ export type MutationDeleteSafeTransactionArgs = { condition?: InputMaybe; input: DeleteSafeTransactionInput; }; - /** Root mutation type */ export type MutationDeleteSafeTransactionDataArgs = { condition?: InputMaybe; input: DeleteSafeTransactionDataInput; }; - /** Root mutation type */ export type MutationDeleteStreamingPaymentArgs = { condition?: InputMaybe; input: DeleteStreamingPaymentInput; }; - /** Root mutation type */ export type MutationDeleteStreamingPaymentMetadataArgs = { condition?: InputMaybe; input: DeleteStreamingPaymentMetadataInput; }; - /** Root mutation type */ export type MutationDeleteTokenArgs = { condition?: InputMaybe; input: DeleteTokenInput; }; - /** Root mutation type */ export type MutationDeleteTransactionArgs = { condition?: InputMaybe; input: DeleteTransactionInput; }; - /** Root mutation type */ export type MutationDeleteUserArgs = { condition?: InputMaybe; input: DeleteUserInput; }; - /** Root mutation type */ export type MutationDeleteUserStakeArgs = { condition?: InputMaybe; input: DeleteUserStakeInput; }; - /** Root mutation type */ export type MutationDeleteUserTokensArgs = { condition?: InputMaybe; input: DeleteUserTokensInput; }; - /** Root mutation type */ export type MutationDeleteVoterRewardsHistoryArgs = { condition?: InputMaybe; input: DeleteVoterRewardsHistoryInput; }; +/** Root mutation type */ +export type MutationInitializeUserArgs = { + input: InitializeUserInput; +}; /** Root mutation type */ export type MutationUpdateAnnotationArgs = { @@ -5627,293 +5706,251 @@ export type MutationUpdateAnnotationArgs = { input: UpdateAnnotationInput; }; - /** Root mutation type */ export type MutationUpdateColonyArgs = { condition?: InputMaybe; input: UpdateColonyInput; }; - /** Root mutation type */ export type MutationUpdateColonyActionArgs = { condition?: InputMaybe; input: UpdateColonyActionInput; }; - /** Root mutation type */ export type MutationUpdateColonyActionMetadataArgs = { condition?: InputMaybe; input: UpdateColonyActionMetadataInput; }; - /** Root mutation type */ export type MutationUpdateColonyContributorArgs = { condition?: InputMaybe; input: UpdateColonyContributorInput; }; - /** Root mutation type */ export type MutationUpdateColonyDecisionArgs = { condition?: InputMaybe; input: UpdateColonyDecisionInput; }; - /** Root mutation type */ export type MutationUpdateColonyExtensionArgs = { condition?: InputMaybe; input: UpdateColonyExtensionInput; }; - /** Root mutation type */ export type MutationUpdateColonyFundsClaimArgs = { condition?: InputMaybe; input: UpdateColonyFundsClaimInput; }; - /** Root mutation type */ export type MutationUpdateColonyHistoricRoleArgs = { condition?: InputMaybe; input: UpdateColonyHistoricRoleInput; }; - /** Root mutation type */ export type MutationUpdateColonyMemberInviteArgs = { condition?: InputMaybe; input: UpdateColonyMemberInviteInput; }; - /** Root mutation type */ export type MutationUpdateColonyMetadataArgs = { condition?: InputMaybe; input: UpdateColonyMetadataInput; }; - /** Root mutation type */ export type MutationUpdateColonyMotionArgs = { condition?: InputMaybe; input: UpdateColonyMotionInput; }; - /** Root mutation type */ export type MutationUpdateColonyMultiSigArgs = { condition?: InputMaybe; input: UpdateColonyMultiSigInput; }; - /** Root mutation type */ export type MutationUpdateColonyRoleArgs = { condition?: InputMaybe; input: UpdateColonyRoleInput; }; - /** Root mutation type */ export type MutationUpdateColonyTokensArgs = { condition?: InputMaybe; input: UpdateColonyTokensInput; }; - /** Root mutation type */ export type MutationUpdateContractEventArgs = { condition?: InputMaybe; input: UpdateContractEventInput; }; - /** Root mutation type */ export type MutationUpdateContributorReputationArgs = { condition?: InputMaybe; input: UpdateContributorReputationInput; }; - /** Root mutation type */ export type MutationUpdateContributorsWithReputationArgs = { input: UpdateContributorsWithReputationInput; }; - /** Root mutation type */ export type MutationUpdateCurrentNetworkInverseFeeArgs = { condition?: InputMaybe; input: UpdateCurrentNetworkInverseFeeInput; }; - /** Root mutation type */ export type MutationUpdateCurrentVersionArgs = { condition?: InputMaybe; input: UpdateCurrentVersionInput; }; - /** Root mutation type */ export type MutationUpdateDomainArgs = { condition?: InputMaybe; input: UpdateDomainInput; }; - /** Root mutation type */ export type MutationUpdateDomainMetadataArgs = { condition?: InputMaybe; input: UpdateDomainMetadataInput; }; - /** Root mutation type */ export type MutationUpdateExpenditureArgs = { condition?: InputMaybe; input: UpdateExpenditureInput; }; - /** Root mutation type */ export type MutationUpdateExpenditureMetadataArgs = { condition?: InputMaybe; input: UpdateExpenditureMetadataInput; }; - /** Root mutation type */ export type MutationUpdateExtensionInstallationsCountArgs = { condition?: InputMaybe; input: UpdateExtensionInstallationsCountInput; }; - /** Root mutation type */ export type MutationUpdateIngestorStatsArgs = { condition?: InputMaybe; input: UpdateIngestorStatsInput; }; - /** Root mutation type */ export type MutationUpdateLiquidationAddressArgs = { condition?: InputMaybe; input: UpdateLiquidationAddressInput; }; - /** Root mutation type */ export type MutationUpdateMotionMessageArgs = { condition?: InputMaybe; input: UpdateMotionMessageInput; }; - /** Root mutation type */ export type MutationUpdateMultiSigUserSignatureArgs = { condition?: InputMaybe; input: UpdateMultiSigUserSignatureInput; }; - /** Root mutation type */ export type MutationUpdatePrivateBetaInviteCodeArgs = { condition?: InputMaybe; input: UpdatePrivateBetaInviteCodeInput; }; - /** Root mutation type */ export type MutationUpdateProfileArgs = { condition?: InputMaybe; input: UpdateProfileInput; }; - /** Root mutation type */ export type MutationUpdateReputationMiningCycleMetadataArgs = { condition?: InputMaybe; input: UpdateReputationMiningCycleMetadataInput; }; - /** Root mutation type */ export type MutationUpdateSafeTransactionArgs = { condition?: InputMaybe; input: UpdateSafeTransactionInput; }; - /** Root mutation type */ export type MutationUpdateSafeTransactionDataArgs = { condition?: InputMaybe; input: UpdateSafeTransactionDataInput; }; - /** Root mutation type */ export type MutationUpdateStreamingPaymentArgs = { condition?: InputMaybe; input: UpdateStreamingPaymentInput; }; - /** Root mutation type */ export type MutationUpdateStreamingPaymentMetadataArgs = { condition?: InputMaybe; input: UpdateStreamingPaymentMetadataInput; }; - /** Root mutation type */ export type MutationUpdateTokenArgs = { condition?: InputMaybe; input: UpdateTokenInput; }; - /** Root mutation type */ export type MutationUpdateTransactionArgs = { condition?: InputMaybe; input: UpdateTransactionInput; }; - /** Root mutation type */ export type MutationUpdateUserArgs = { condition?: InputMaybe; input: UpdateUserInput; }; - /** Root mutation type */ export type MutationUpdateUserStakeArgs = { condition?: InputMaybe; input: UpdateUserStakeInput; }; - /** Root mutation type */ export type MutationUpdateUserTokensArgs = { condition?: InputMaybe; input: UpdateUserTokensInput; }; - /** Root mutation type */ export type MutationUpdateVoterRewardsHistoryArgs = { condition?: InputMaybe; input: UpdateVoterRewardsHistoryInput; }; - /** Root mutation type */ export type MutationValidateUserInviteArgs = { input: ValidateUserInviteInput; @@ -6001,7 +6038,7 @@ export enum Network { /** Ethereum Goerli test network */ Goerli = 'GOERLI', /** Ethereum Mainnet */ - Mainnet = 'MAINNET' + Mainnet = 'MAINNET', } export type Payment = { @@ -6208,7 +6245,6 @@ export type Query = { getTransaction?: Maybe; getTransactionsByUser?: Maybe; getTransactionsByUserAndGroup?: Maybe; - getTransactionsByUserAndStatus?: Maybe; getUser?: Maybe; getUserByAddress?: Maybe; getUserByBridgeCustomerId?: Maybe; @@ -6270,13 +6306,11 @@ export type Query = { searchColonyContributors?: Maybe; }; - /** Root query type */ export type QueryBridgeGetUserLiquidationAddressArgs = { userAddress: Scalars['String']; }; - /** Root query type */ export type QueryGetActionByExpenditureIdArgs = { expenditureId: Scalars['ID']; @@ -6286,7 +6320,6 @@ export type QueryGetActionByExpenditureIdArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetActionsByColonyArgs = { colonyId: Scalars['ID']; @@ -6297,13 +6330,11 @@ export type QueryGetActionsByColonyArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetAnnotationArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColoniesByNativeTokenIdArgs = { filter?: InputMaybe; @@ -6313,19 +6344,16 @@ export type QueryGetColoniesByNativeTokenIdArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetColonyArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyActionArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyActionByMotionIdArgs = { filter?: InputMaybe; @@ -6335,7 +6363,6 @@ export type QueryGetColonyActionByMotionIdArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetColonyActionByMultiSigIdArgs = { filter?: InputMaybe; @@ -6345,13 +6372,11 @@ export type QueryGetColonyActionByMultiSigIdArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetColonyActionMetadataArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyByAddressArgs = { filter?: InputMaybe; @@ -6361,7 +6386,6 @@ export type QueryGetColonyByAddressArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetColonyByNameArgs = { filter?: InputMaybe; @@ -6371,7 +6395,6 @@ export type QueryGetColonyByNameArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetColonyByTypeArgs = { filter?: InputMaybe; @@ -6381,19 +6404,16 @@ export type QueryGetColonyByTypeArgs = { type: ColonyType; }; - /** Root query type */ export type QueryGetColonyContributorArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyDecisionArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyDecisionByActionIdArgs = { actionId: Scalars['ID']; @@ -6403,7 +6423,6 @@ export type QueryGetColonyDecisionByActionIdArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetColonyDecisionByColonyAddressArgs = { colonyAddress: Scalars['String']; @@ -6414,25 +6433,21 @@ export type QueryGetColonyDecisionByColonyAddressArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetColonyExtensionArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyFundsClaimArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyHistoricRoleArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyHistoricRoleByDateArgs = { createdAt?: InputMaybe; @@ -6443,55 +6458,46 @@ export type QueryGetColonyHistoricRoleByDateArgs = { type: Scalars['String']; }; - /** Root query type */ export type QueryGetColonyMemberInviteArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyMetadataArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyMotionArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyMultiSigArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyRoleArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetColonyTokensArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetContractEventArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetContributorReputationArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetContributorsByAddressArgs = { colonyReputationPercentage?: InputMaybe; @@ -6502,7 +6508,6 @@ export type QueryGetContributorsByAddressArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetContributorsByColonyArgs = { colonyAddress: Scalars['ID']; @@ -6513,19 +6518,16 @@ export type QueryGetContributorsByColonyArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetCurrentNetworkInverseFeeArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetCurrentVersionArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetCurrentVersionByKeyArgs = { filter?: InputMaybe; @@ -6535,13 +6537,11 @@ export type QueryGetCurrentVersionByKeyArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetDomainArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetDomainByNativeSkillIdArgs = { filter?: InputMaybe; @@ -6552,25 +6552,21 @@ export type QueryGetDomainByNativeSkillIdArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetDomainMetadataArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetExpenditureArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetExpenditureMetadataArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetExpendituresByColonyArgs = { colonyId: Scalars['ID']; @@ -6581,7 +6577,6 @@ export type QueryGetExpendituresByColonyArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetExpendituresByNativeFundingPotIdAndColonyArgs = { colonyId?: InputMaybe; @@ -6592,7 +6587,6 @@ export type QueryGetExpendituresByNativeFundingPotIdAndColonyArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetExtensionByColonyAndHashArgs = { colonyId: Scalars['ID']; @@ -6603,13 +6597,11 @@ export type QueryGetExtensionByColonyAndHashArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetExtensionInstallationsCountArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetExtensionsByHashArgs = { filter?: InputMaybe; @@ -6619,19 +6611,16 @@ export type QueryGetExtensionsByHashArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetIngestorStatsArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetLiquidationAddressArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetLiquidationAddressesByUserAddressArgs = { filter?: InputMaybe; @@ -6641,7 +6630,6 @@ export type QueryGetLiquidationAddressesByUserAddressArgs = { userAddress: Scalars['ID']; }; - /** Root query type */ export type QueryGetMotionByExpenditureIdArgs = { expenditureId: Scalars['ID']; @@ -6651,7 +6639,6 @@ export type QueryGetMotionByExpenditureIdArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetMotionByTransactionHashArgs = { filter?: InputMaybe; @@ -6661,13 +6648,11 @@ export type QueryGetMotionByTransactionHashArgs = { transactionHash: Scalars['ID']; }; - /** Root query type */ export type QueryGetMotionMessageArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetMotionMessageByMotionIdArgs = { createdAt?: InputMaybe; @@ -6678,19 +6663,16 @@ export type QueryGetMotionMessageByMotionIdArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetMotionStateArgs = { input?: InputMaybe; }; - /** Root query type */ export type QueryGetMotionTimeoutPeriodsArgs = { input?: InputMaybe; }; - /** Root query type */ export type QueryGetMotionVoterRewardsArgs = { createdAt?: InputMaybe; @@ -6701,7 +6683,6 @@ export type QueryGetMotionVoterRewardsArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetMultiSigByColonyAddressArgs = { colonyAddress: Scalars['ID']; @@ -6711,7 +6692,6 @@ export type QueryGetMultiSigByColonyAddressArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetMultiSigByTransactionHashArgs = { filter?: InputMaybe; @@ -6721,13 +6701,11 @@ export type QueryGetMultiSigByTransactionHashArgs = { transactionHash: Scalars['ID']; }; - /** Root query type */ export type QueryGetMultiSigUserSignatureArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetMultiSigUserSignatureByMultiSigIdArgs = { filter?: InputMaybe; @@ -6737,19 +6715,16 @@ export type QueryGetMultiSigUserSignatureByMultiSigIdArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetPrivateBetaInviteCodeArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetProfileArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetProfileByEmailArgs = { email: Scalars['AWSEmail']; @@ -6759,7 +6734,6 @@ export type QueryGetProfileByEmailArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetProfileByUsernameArgs = { displayName: Scalars['String']; @@ -6769,13 +6743,11 @@ export type QueryGetProfileByUsernameArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetReputationMiningCycleMetadataArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetRoleByColonyArgs = { colonyAddress: Scalars['ID']; @@ -6786,7 +6758,6 @@ export type QueryGetRoleByColonyArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetRoleByDomainAndColonyArgs = { colonyAddress?: InputMaybe; @@ -6797,7 +6768,6 @@ export type QueryGetRoleByDomainAndColonyArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetRoleByTargetAddressAndColonyArgs = { colonyAddress?: InputMaybe; @@ -6808,43 +6778,36 @@ export type QueryGetRoleByTargetAddressAndColonyArgs = { targetAddress: Scalars['ID']; }; - /** Root query type */ export type QueryGetSafeTransactionArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetSafeTransactionDataArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetSafeTransactionStatusArgs = { input?: InputMaybe; }; - /** Root query type */ export type QueryGetStreamingPaymentArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetStreamingPaymentMetadataArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetTokenArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetTokenByAddressArgs = { filter?: InputMaybe; @@ -6854,13 +6817,11 @@ export type QueryGetTokenByAddressArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetTokenFromEverywhereArgs = { input?: InputMaybe; }; - /** Root query type */ export type QueryGetTokensByTypeArgs = { filter?: InputMaybe; @@ -6870,13 +6831,11 @@ export type QueryGetTokensByTypeArgs = { type: TokenType; }; - /** Root query type */ export type QueryGetTransactionArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetTransactionsByUserArgs = { createdAt?: InputMaybe; @@ -6887,7 +6846,6 @@ export type QueryGetTransactionsByUserArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetTransactionsByUserAndGroupArgs = { filter?: InputMaybe; @@ -6898,24 +6856,11 @@ export type QueryGetTransactionsByUserAndGroupArgs = { sortDirection?: InputMaybe; }; - -/** Root query type */ -export type QueryGetTransactionsByUserAndStatusArgs = { - filter?: InputMaybe; - from?: InputMaybe; - limit?: InputMaybe; - nextToken?: InputMaybe; - sortDirection?: InputMaybe; - status: TransactionStatus; -}; - - /** Root query type */ export type QueryGetUserArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetUserByAddressArgs = { filter?: InputMaybe; @@ -6925,7 +6870,6 @@ export type QueryGetUserByAddressArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetUserByBridgeCustomerIdArgs = { bridgeCustomerId: Scalars['String']; @@ -6935,7 +6879,6 @@ export type QueryGetUserByBridgeCustomerIdArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetUserByLiquidationAddressArgs = { filter?: InputMaybe; @@ -6945,13 +6888,11 @@ export type QueryGetUserByLiquidationAddressArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetUserReputationArgs = { input?: InputMaybe; }; - /** Root query type */ export type QueryGetUserReputationInColonyArgs = { colonyAddress?: InputMaybe; @@ -6962,13 +6903,11 @@ export type QueryGetUserReputationInColonyArgs = { sortDirection?: InputMaybe; }; - /** Root query type */ export type QueryGetUserStakeArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetUserStakesArgs = { createdAt?: InputMaybe; @@ -6979,19 +6918,16 @@ export type QueryGetUserStakesArgs = { userAddress: Scalars['ID']; }; - /** Root query type */ export type QueryGetUserTokenBalanceArgs = { input?: InputMaybe; }; - /** Root query type */ export type QueryGetUserTokensArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryGetUserVoterRewardsArgs = { createdAt?: InputMaybe; @@ -7002,19 +6938,16 @@ export type QueryGetUserVoterRewardsArgs = { userAddress: Scalars['ID']; }; - /** Root query type */ export type QueryGetVoterRewardsArgs = { input?: InputMaybe; }; - /** Root query type */ export type QueryGetVoterRewardsHistoryArgs = { id: Scalars['ID']; }; - /** Root query type */ export type QueryListAnnotationsArgs = { filter?: InputMaybe; @@ -7022,7 +6955,6 @@ export type QueryListAnnotationsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColoniesArgs = { filter?: InputMaybe; @@ -7030,7 +6962,6 @@ export type QueryListColoniesArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyActionMetadataArgs = { filter?: InputMaybe; @@ -7038,7 +6969,6 @@ export type QueryListColonyActionMetadataArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyActionsArgs = { filter?: InputMaybe; @@ -7046,7 +6976,6 @@ export type QueryListColonyActionsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyContributorsArgs = { filter?: InputMaybe; @@ -7054,7 +6983,6 @@ export type QueryListColonyContributorsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyDecisionsArgs = { filter?: InputMaybe; @@ -7062,7 +6990,6 @@ export type QueryListColonyDecisionsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyExtensionsArgs = { filter?: InputMaybe; @@ -7070,7 +6997,6 @@ export type QueryListColonyExtensionsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyFundsClaimsArgs = { filter?: InputMaybe; @@ -7078,7 +7004,6 @@ export type QueryListColonyFundsClaimsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyHistoricRolesArgs = { filter?: InputMaybe; @@ -7086,7 +7011,6 @@ export type QueryListColonyHistoricRolesArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyMemberInvitesArgs = { filter?: InputMaybe; @@ -7094,7 +7018,6 @@ export type QueryListColonyMemberInvitesArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyMetadataArgs = { filter?: InputMaybe; @@ -7102,7 +7025,6 @@ export type QueryListColonyMetadataArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyMotionsArgs = { filter?: InputMaybe; @@ -7110,7 +7032,6 @@ export type QueryListColonyMotionsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyMultiSigsArgs = { filter?: InputMaybe; @@ -7118,7 +7039,6 @@ export type QueryListColonyMultiSigsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyRolesArgs = { filter?: InputMaybe; @@ -7126,7 +7046,6 @@ export type QueryListColonyRolesArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListColonyTokensArgs = { filter?: InputMaybe; @@ -7134,7 +7053,6 @@ export type QueryListColonyTokensArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListContractEventsArgs = { filter?: InputMaybe; @@ -7142,7 +7060,6 @@ export type QueryListContractEventsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListContributorReputationsArgs = { filter?: InputMaybe; @@ -7150,7 +7067,6 @@ export type QueryListContributorReputationsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListCurrentNetworkInverseFeesArgs = { filter?: InputMaybe; @@ -7158,7 +7074,6 @@ export type QueryListCurrentNetworkInverseFeesArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListCurrentVersionsArgs = { filter?: InputMaybe; @@ -7166,7 +7081,6 @@ export type QueryListCurrentVersionsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListDomainMetadataArgs = { filter?: InputMaybe; @@ -7174,7 +7088,6 @@ export type QueryListDomainMetadataArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListDomainsArgs = { filter?: InputMaybe; @@ -7182,7 +7095,6 @@ export type QueryListDomainsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListExpenditureMetadataArgs = { filter?: InputMaybe; @@ -7190,7 +7102,6 @@ export type QueryListExpenditureMetadataArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListExpendituresArgs = { filter?: InputMaybe; @@ -7198,7 +7109,6 @@ export type QueryListExpendituresArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListExtensionInstallationsCountsArgs = { filter?: InputMaybe; @@ -7206,7 +7116,6 @@ export type QueryListExtensionInstallationsCountsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListIngestorStatsArgs = { filter?: InputMaybe; @@ -7214,7 +7123,6 @@ export type QueryListIngestorStatsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListLiquidationAddressesArgs = { filter?: InputMaybe; @@ -7222,7 +7130,6 @@ export type QueryListLiquidationAddressesArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListMotionMessagesArgs = { filter?: InputMaybe; @@ -7230,7 +7137,6 @@ export type QueryListMotionMessagesArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListMultiSigUserSignaturesArgs = { filter?: InputMaybe; @@ -7238,7 +7144,6 @@ export type QueryListMultiSigUserSignaturesArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListPrivateBetaInviteCodesArgs = { filter?: InputMaybe; @@ -7246,7 +7151,6 @@ export type QueryListPrivateBetaInviteCodesArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListProfilesArgs = { filter?: InputMaybe; @@ -7254,7 +7158,6 @@ export type QueryListProfilesArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListReputationMiningCycleMetadataArgs = { filter?: InputMaybe; @@ -7262,7 +7165,6 @@ export type QueryListReputationMiningCycleMetadataArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListSafeTransactionDataArgs = { filter?: InputMaybe; @@ -7270,7 +7172,6 @@ export type QueryListSafeTransactionDataArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListSafeTransactionsArgs = { filter?: InputMaybe; @@ -7278,7 +7179,6 @@ export type QueryListSafeTransactionsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListStreamingPaymentMetadataArgs = { filter?: InputMaybe; @@ -7286,7 +7186,6 @@ export type QueryListStreamingPaymentMetadataArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListStreamingPaymentsArgs = { filter?: InputMaybe; @@ -7294,7 +7193,6 @@ export type QueryListStreamingPaymentsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListTokensArgs = { filter?: InputMaybe; @@ -7302,7 +7200,6 @@ export type QueryListTokensArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListTransactionsArgs = { filter?: InputMaybe; @@ -7310,7 +7207,6 @@ export type QueryListTransactionsArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListUserStakesArgs = { filter?: InputMaybe; @@ -7318,7 +7214,6 @@ export type QueryListUserStakesArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListUserTokensArgs = { filter?: InputMaybe; @@ -7326,7 +7221,6 @@ export type QueryListUserTokensArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListUsersArgs = { filter?: InputMaybe; @@ -7334,7 +7228,6 @@ export type QueryListUsersArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QueryListVoterRewardsHistoriesArgs = { filter?: InputMaybe; @@ -7342,10 +7235,11 @@ export type QueryListVoterRewardsHistoriesArgs = { nextToken?: InputMaybe; }; - /** Root query type */ export type QuerySearchColonyActionsArgs = { - aggregates?: InputMaybe>>; + aggregates?: InputMaybe< + Array> + >; filter?: InputMaybe; from?: InputMaybe; limit?: InputMaybe; @@ -7353,10 +7247,11 @@ export type QuerySearchColonyActionsArgs = { sort?: InputMaybe>>; }; - /** Root query type */ export type QuerySearchColonyContributorsArgs = { - aggregates?: InputMaybe>>; + aggregates?: InputMaybe< + Array> + >; filter?: InputMaybe; from?: InputMaybe; limit?: InputMaybe; @@ -7397,7 +7292,6 @@ export type SafeTransaction = { updatedAt: Scalars['AWSDateTime']; }; - export type SafeTransactionTransactionsArgs = { filter?: InputMaybe; id?: InputMaybe; @@ -7431,7 +7325,7 @@ export enum SafeTransactionType { ContractInteraction = 'CONTRACT_INTERACTION', RawTransaction = 'RAW_TRANSACTION', TransferFunds = 'TRANSFER_FUNDS', - TransferNft = 'TRANSFER_NFT' + TransferNft = 'TRANSFER_NFT', } export type SearchableAggregateBucketResult = { @@ -7445,7 +7339,9 @@ export type SearchableAggregateBucketResultItem = { key: Scalars['String']; }; -export type SearchableAggregateGenericResult = SearchableAggregateBucketResult | SearchableAggregateScalarResult; +export type SearchableAggregateGenericResult = + | SearchableAggregateBucketResult + | SearchableAggregateScalarResult; export type SearchableAggregateResult = { __typename?: 'SearchableAggregateResult'; @@ -7463,7 +7359,7 @@ export enum SearchableAggregateType { Max = 'max', Min = 'min', Sum = 'sum', - Terms = 'terms' + Terms = 'terms', } export type SearchableBooleanFilterInput = { @@ -7506,7 +7402,7 @@ export enum SearchableColonyActionAggregateField { ToPotId = 'toPotId', TokenAddress = 'tokenAddress', Type = 'type', - UpdatedAt = 'updatedAt' + UpdatedAt = 'updatedAt', } export type SearchableColonyActionAggregationInput = { @@ -7603,7 +7499,7 @@ export enum SearchableColonyActionSortableFields { ToDomainId = 'toDomainId', ToPotId = 'toPotId', TokenAddress = 'tokenAddress', - UpdatedAt = 'updatedAt' + UpdatedAt = 'updatedAt', } export enum SearchableColonyContributorAggregateField { @@ -7617,7 +7513,7 @@ export enum SearchableColonyContributorAggregateField { IsVerified = 'isVerified', IsWatching = 'isWatching', Type = 'type', - UpdatedAt = 'updatedAt' + UpdatedAt = 'updatedAt', } export type SearchableColonyContributorAggregationInput = { @@ -7666,7 +7562,7 @@ export enum SearchableColonyContributorSortableFields { Id = 'id', IsVerified = 'isVerified', IsWatching = 'isWatching', - UpdatedAt = 'updatedAt' + UpdatedAt = 'updatedAt', } export type SearchableFloatFilterInput = { @@ -7708,7 +7604,7 @@ export type SearchableIntFilterInput = { export enum SearchableSortDirection { Asc = 'asc', - Desc = 'desc' + Desc = 'desc', } export type SearchableStringFilterInput = { @@ -7761,13 +7657,13 @@ export enum SortingMethod { /** Sort members by lowest reputation */ ByLowestRep = 'BY_LOWEST_REP', /** Sort members by having more permissions */ - ByMorePermissions = 'BY_MORE_PERMISSIONS' + ByMorePermissions = 'BY_MORE_PERMISSIONS', } export enum SplitPaymentDistributionType { Equal = 'EQUAL', Reputation = 'REPUTATION', - Unequal = 'UNEQUAL' + Unequal = 'UNEQUAL', } export type StakedExpenditureParams = { @@ -7818,7 +7714,7 @@ export type StreamingPayment = { export enum StreamingPaymentEndCondition { FixedTime = 'FIXED_TIME', LimitReached = 'LIMIT_REACHED', - WhenCancelled = 'WHEN_CANCELLED' + WhenCancelled = 'WHEN_CANCELLED', } export type StreamingPaymentMetadata = { @@ -7957,617 +7853,494 @@ export type Subscription = { onUpdateVoterRewardsHistory?: Maybe; }; - export type SubscriptionOnCreateAnnotationArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyActionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyActionMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyContributorArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyDecisionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyExtensionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyFundsClaimArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyHistoricRoleArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyMemberInviteArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyMotionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyMultiSigArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyRoleArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateColonyTokensArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateContractEventArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateContributorReputationArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateCurrentNetworkInverseFeeArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateCurrentVersionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateDomainArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateDomainMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateExpenditureArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateExpenditureMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateExtensionInstallationsCountArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateIngestorStatsArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateLiquidationAddressArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateMotionMessageArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateMultiSigUserSignatureArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreatePrivateBetaInviteCodeArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateProfileArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateReputationMiningCycleMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateSafeTransactionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateSafeTransactionDataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateStreamingPaymentArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateStreamingPaymentMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateTokenArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateTransactionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateUserArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateUserStakeArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateUserTokensArgs = { filter?: InputMaybe; }; - export type SubscriptionOnCreateVoterRewardsHistoryArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteAnnotationArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyActionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyActionMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyContributorArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyDecisionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyExtensionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyFundsClaimArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyHistoricRoleArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyMemberInviteArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyMotionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyMultiSigArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyRoleArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteColonyTokensArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteContractEventArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteContributorReputationArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteCurrentNetworkInverseFeeArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteCurrentVersionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteDomainArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteDomainMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteExpenditureArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteExpenditureMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteExtensionInstallationsCountArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteIngestorStatsArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteLiquidationAddressArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteMotionMessageArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteMultiSigUserSignatureArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeletePrivateBetaInviteCodeArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteProfileArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteReputationMiningCycleMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteSafeTransactionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteSafeTransactionDataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteStreamingPaymentArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteStreamingPaymentMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteTokenArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteTransactionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteUserArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteUserStakeArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteUserTokensArgs = { filter?: InputMaybe; }; - export type SubscriptionOnDeleteVoterRewardsHistoryArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateAnnotationArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyActionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyActionMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyContributorArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyDecisionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyExtensionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyFundsClaimArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyHistoricRoleArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyMemberInviteArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyMotionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyMultiSigArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyRoleArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateColonyTokensArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateContractEventArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateContributorReputationArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateCurrentNetworkInverseFeeArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateCurrentVersionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateDomainArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateDomainMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateExpenditureArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateExpenditureMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateExtensionInstallationsCountArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateIngestorStatsArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateLiquidationAddressArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateMotionMessageArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateMultiSigUserSignatureArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdatePrivateBetaInviteCodeArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateProfileArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateReputationMiningCycleMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateSafeTransactionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateSafeTransactionDataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateStreamingPaymentArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateStreamingPaymentMetadataArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateTokenArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateTransactionArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateUserArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateUserStakeArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateUserTokensArgs = { filter?: InputMaybe; }; - export type SubscriptionOnUpdateVoterRewardsHistoryArgs = { filter?: InputMaybe; }; @@ -8583,7 +8356,7 @@ export enum SupportedCurrencies { Inr = 'INR', Jpy = 'JPY', Krw = 'KRW', - Usd = 'USD' + Usd = 'USD', } /** Represents an ERC20-compatible token that is used by Colonies and users */ @@ -8614,7 +8387,6 @@ export type Token = { validated?: Maybe; }; - /** Represents an ERC20-compatible token that is used by Colonies and users */ export type TokenColoniesArgs = { filter?: InputMaybe; @@ -8623,7 +8395,6 @@ export type TokenColoniesArgs = { sortDirection?: InputMaybe; }; - /** Represents an ERC20-compatible token that is used by Colonies and users */ export type TokenUsersArgs = { filter?: InputMaybe; @@ -8666,7 +8437,7 @@ export enum TokenType { /** A (ERC20-compatible) token that was deployed with Colony. It has a few more features, like minting through the Colony itself */ Colony = 'COLONY', /** An ERC20-compatible token */ - Erc20 = 'ERC20' + Erc20 = 'ERC20', } /** Represents a transaction made in a colony by a user */ @@ -8743,7 +8514,7 @@ export enum TransactionErrors { EventData = 'EVENT_DATA', Receipt = 'RECEIPT', Send = 'SEND', - Unsuccessful = 'UNSUCCESSFUL' + Unsuccessful = 'UNSUCCESSFUL', } export type TransactionGroup = { @@ -8774,7 +8545,7 @@ export enum TransactionStatus { Failed = 'FAILED', Pending = 'PENDING', Ready = 'READY', - Succeeded = 'SUCCEEDED' + Succeeded = 'SUCCEEDED', } export type UpdateAnnotationInput = { @@ -9071,6 +8842,8 @@ export type UpdateExpenditureInput = { nativeId?: InputMaybe; ownerAddress?: InputMaybe; slots?: InputMaybe>; + stagedExpenditureAddress?: InputMaybe; + stakedExpenditureAddress?: InputMaybe; status?: InputMaybe; type?: InputMaybe; userStakeId?: InputMaybe; @@ -9078,6 +8851,8 @@ export type UpdateExpenditureInput = { export type UpdateExpenditureMetadataInput = { distributionType?: InputMaybe; + expectedNumberOfPayouts?: InputMaybe; + expectedNumberOfTokens?: InputMaybe; fundFromDomainNativeId?: InputMaybe; id: Scalars['ID']; stages?: InputMaybe>; @@ -9314,7 +9089,6 @@ export type User = { userPrivateBetaInviteCodeId?: Maybe; }; - /** Represents a User within the Colony Network */ export type UserLiquidationAddressesArgs = { filter?: InputMaybe; @@ -9323,7 +9097,6 @@ export type UserLiquidationAddressesArgs = { sortDirection?: InputMaybe; }; - /** Represents a User within the Colony Network */ export type UserRolesArgs = { colonyAddress?: InputMaybe; @@ -9333,7 +9106,6 @@ export type UserRolesArgs = { sortDirection?: InputMaybe; }; - /** Represents a User within the Colony Network */ export type UserTokensArgs = { filter?: InputMaybe; @@ -9342,7 +9114,6 @@ export type UserTokensArgs = { sortDirection?: InputMaybe; }; - /** Represents a User within the Colony Network */ export type UserTransactionHistoryArgs = { createdAt?: InputMaybe; @@ -9390,7 +9161,7 @@ export type UserStake = { /** Type of stake a user can make */ export enum UserStakeType { Motion = 'MOTION', - StakedExpenditure = 'STAKED_EXPENDITURE' + StakedExpenditure = 'STAKED_EXPENDITURE', } export type UserTokens = { @@ -9508,458 +9279,1076 @@ export type VotingReputationParamsInput = { voterRewardFraction: Scalars['String']; }; -export type ActionMetadataInfoFragment = { __typename?: 'ColonyAction', id: string, colonyDecisionId?: string | null, amount?: string | null, networkFee?: string | null, type: ColonyActionType, pendingDomainMetadata?: { __typename?: 'DomainMetadata', name: string, color: DomainColor, description?: string | null, changelog?: Array<{ __typename?: 'DomainMetadataChangelog', transactionHash: string, oldName: string, newName: string, oldColor: DomainColor, newColor: DomainColor, oldDescription?: string | null, newDescription?: string | null }> | null } | null, pendingColonyMetadata?: { __typename?: 'ColonyMetadata', id: string, displayName: string, avatar?: string | null, thumbnail?: string | null, description?: string | null, externalLinks?: Array<{ __typename?: 'ExternalLink', name: ExternalLinks, link: string }> | null, objective?: { __typename?: 'ColonyObjective', title: string, description: string, progress: number } | null, changelog?: Array<{ __typename?: 'ColonyMetadataChangelog', transactionHash: string, oldDisplayName: string, newDisplayName: string, hasAvatarChanged: boolean, hasDescriptionChanged?: boolean | null, haveExternalLinksChanged?: boolean | null, hasObjectiveChanged?: boolean | null }> | null } | null }; - -export type ColonyFragment = { __typename?: 'Colony', colonyAddress: string, nativeToken: { __typename?: 'Token', tokenAddress: string }, tokens?: { __typename?: 'ModelColonyTokensConnection', items: Array<{ __typename?: 'ColonyTokens', id: string, tokenAddress: string } | null> } | null, motionsWithUnclaimedStakes?: Array<{ __typename?: 'ColonyUnclaimedStake', motionId: string, unclaimedRewards: Array<{ __typename?: 'StakerRewards', address: string, isClaimed: boolean, rewards: { __typename?: 'MotionStakeValues', yay: string, nay: string } }> }> | null, domains?: { __typename?: 'ModelDomainConnection', nextToken?: string | null, items: Array<{ __typename?: 'Domain', id: string, nativeSkillId: string } | null> } | null }; - -export type ColonyMetadataFragment = { __typename?: 'ColonyMetadata', id: string, displayName: string, avatar?: string | null, thumbnail?: string | null, description?: string | null, externalLinks?: Array<{ __typename?: 'ExternalLink', name: ExternalLinks, link: string }> | null, objective?: { __typename?: 'ColonyObjective', title: string, description: string, progress: number } | null, changelog?: Array<{ __typename?: 'ColonyMetadataChangelog', transactionHash: string, oldDisplayName: string, newDisplayName: string, hasAvatarChanged: boolean, hasDescriptionChanged?: boolean | null, haveExternalLinksChanged?: boolean | null, hasObjectiveChanged?: boolean | null }> | null }; - -export type ExpenditureBalanceFragment = { __typename?: 'ExpenditureBalance', tokenAddress: string, amount: string }; - -export type ExpenditureFragment = { __typename?: 'Expenditure', id: string, status: ExpenditureStatus, ownerAddress: string, userStakeId?: string | null, createdAt: string, firstEditTransactionHash?: string | null, type: ExpenditureType, slots: Array<{ __typename?: 'ExpenditureSlot', id: number, recipientAddress?: string | null, claimDelay?: string | null, payoutModifier?: number | null, payouts?: Array<{ __typename?: 'ExpenditurePayout', tokenAddress: string, amount: string, isClaimed: boolean, networkFee?: string | null }> | null }>, motions?: { __typename?: 'ModelColonyMotionConnection', items: Array<{ __typename?: 'ColonyMotion', transactionHash: string, action?: { __typename?: 'ColonyAction', type: ColonyActionType } | null } | null> } | null, balances?: Array<{ __typename?: 'ExpenditureBalance', tokenAddress: string, amount: string }> | null }; - -export type ExpenditureSlotFragment = { __typename?: 'ExpenditureSlot', id: number, recipientAddress?: string | null, claimDelay?: string | null, payoutModifier?: number | null, payouts?: Array<{ __typename?: 'ExpenditurePayout', tokenAddress: string, amount: string, isClaimed: boolean, networkFee?: string | null }> | null }; - -export type ExtensionFragment = { __typename?: 'ColonyExtension', id: string, hash: string, colonyId: string, isInitialized: boolean, version: number }; - -export type ColonyMotionFragment = { __typename?: 'ColonyMotion', id: string, nativeMotionId: string, requiredStake: string, remainingStakes: Array, userMinStake: string, nativeMotionDomainId: string, isFinalized: boolean, createdBy: string, repSubmitted: string, skillRep: string, hasObjection: boolean, motionDomainId: string, isDecision: boolean, transactionHash: string, motionStakes: { __typename?: 'MotionStakes', raw: { __typename?: 'MotionStakeValues', nay: string, yay: string }, percentage: { __typename?: 'MotionStakeValues', nay: string, yay: string } }, usersStakes: Array<{ __typename?: 'UserMotionStakes', address: string, stakes: { __typename?: 'MotionStakes', raw: { __typename?: 'MotionStakeValues', yay: string, nay: string }, percentage: { __typename?: 'MotionStakeValues', yay: string, nay: string } } }>, stakerRewards: Array<{ __typename?: 'StakerRewards', address: string, isClaimed: boolean, rewards: { __typename?: 'MotionStakeValues', yay: string, nay: string } }>, voterRecord: Array<{ __typename?: 'VoterRecord', address: string, voteCount: string, vote?: number | null }>, revealedVotes: { __typename?: 'MotionStakes', raw: { __typename?: 'MotionStakeValues', yay: string, nay: string }, percentage: { __typename?: 'MotionStakeValues', yay: string, nay: string } }, motionStateHistory: { __typename?: 'MotionStateHistory', hasVoted: boolean, hasPassed: boolean, hasFailed: boolean, hasFailedNotFinalizable: boolean, inRevealPhase: boolean, yaySideFullyStakedAt?: string | null, naySideFullyStakedAt?: string | null, allVotesSubmittedAt?: string | null, allVotesRevealedAt?: string | null, endedAt?: string | null, finalizedAt?: string | null } }; - -export type VoterRecordFragment = { __typename?: 'VoterRecord', address: string, voteCount: string, vote?: number | null }; +export type ActionMetadataInfoFragment = { + __typename?: 'ColonyAction'; + id: string; + colonyDecisionId?: string | null; + amount?: string | null; + networkFee?: string | null; + type: ColonyActionType; + pendingDomainMetadata?: { + __typename?: 'DomainMetadata'; + name: string; + color: DomainColor; + description?: string | null; + changelog?: Array<{ + __typename?: 'DomainMetadataChangelog'; + transactionHash: string; + oldName: string; + newName: string; + oldColor: DomainColor; + newColor: DomainColor; + oldDescription?: string | null; + newDescription?: string | null; + }> | null; + } | null; + pendingColonyMetadata?: { + __typename?: 'ColonyMetadata'; + id: string; + displayName: string; + avatar?: string | null; + thumbnail?: string | null; + description?: string | null; + externalLinks?: Array<{ + __typename?: 'ExternalLink'; + name: ExternalLinks; + link: string; + }> | null; + objective?: { + __typename?: 'ColonyObjective'; + title: string; + description: string; + progress: number; + } | null; + changelog?: Array<{ + __typename?: 'ColonyMetadataChangelog'; + transactionHash: string; + oldDisplayName: string; + newDisplayName: string; + hasAvatarChanged: boolean; + hasDescriptionChanged?: boolean | null; + haveExternalLinksChanged?: boolean | null; + hasObjectiveChanged?: boolean | null; + }> | null; + } | null; +}; + +export type ColonyFragment = { + __typename?: 'Colony'; + colonyAddress: string; + nativeToken: { __typename?: 'Token'; tokenAddress: string }; + tokens?: { + __typename?: 'ModelColonyTokensConnection'; + items: Array<{ + __typename?: 'ColonyTokens'; + id: string; + tokenAddress: string; + } | null>; + } | null; + motionsWithUnclaimedStakes?: Array<{ + __typename?: 'ColonyUnclaimedStake'; + motionId: string; + unclaimedRewards: Array<{ + __typename?: 'StakerRewards'; + address: string; + isClaimed: boolean; + rewards: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; + }>; + }> | null; + domains?: { + __typename?: 'ModelDomainConnection'; + nextToken?: string | null; + items: Array<{ + __typename?: 'Domain'; + id: string; + nativeSkillId: string; + } | null>; + } | null; +}; + +export type ColonyMetadataFragment = { + __typename?: 'ColonyMetadata'; + id: string; + displayName: string; + avatar?: string | null; + thumbnail?: string | null; + description?: string | null; + externalLinks?: Array<{ + __typename?: 'ExternalLink'; + name: ExternalLinks; + link: string; + }> | null; + objective?: { + __typename?: 'ColonyObjective'; + title: string; + description: string; + progress: number; + } | null; + changelog?: Array<{ + __typename?: 'ColonyMetadataChangelog'; + transactionHash: string; + oldDisplayName: string; + newDisplayName: string; + hasAvatarChanged: boolean; + hasDescriptionChanged?: boolean | null; + haveExternalLinksChanged?: boolean | null; + hasObjectiveChanged?: boolean | null; + }> | null; +}; + +export type ExpenditureBalanceFragment = { + __typename?: 'ExpenditureBalance'; + tokenAddress: string; + amount: string; +}; -export type StakerRewardFragment = { __typename?: 'StakerRewards', address: string, isClaimed: boolean, rewards: { __typename?: 'MotionStakeValues', yay: string, nay: string } }; +export type ExpenditureFragment = { + __typename?: 'Expenditure'; + id: string; + status: ExpenditureStatus; + ownerAddress: string; + userStakeId?: string | null; + createdAt: string; + firstEditTransactionHash?: string | null; + type: ExpenditureType; + slots: Array<{ + __typename?: 'ExpenditureSlot'; + id: number; + recipientAddress?: string | null; + claimDelay?: string | null; + payoutModifier?: number | null; + payouts?: Array<{ + __typename?: 'ExpenditurePayout'; + tokenAddress: string; + amount: string; + isClaimed: boolean; + networkFee?: string | null; + }> | null; + }>; + motions?: { + __typename?: 'ModelColonyMotionConnection'; + items: Array<{ + __typename?: 'ColonyMotion'; + transactionHash: string; + action?: { __typename?: 'ColonyAction'; type: ColonyActionType } | null; + } | null>; + } | null; + balances?: Array<{ + __typename?: 'ExpenditureBalance'; + tokenAddress: string; + amount: string; + }> | null; +}; + +export type ExpenditureSlotFragment = { + __typename?: 'ExpenditureSlot'; + id: number; + recipientAddress?: string | null; + claimDelay?: string | null; + payoutModifier?: number | null; + payouts?: Array<{ + __typename?: 'ExpenditurePayout'; + tokenAddress: string; + amount: string; + isClaimed: boolean; + networkFee?: string | null; + }> | null; +}; + +export type ExtensionFragment = { + __typename?: 'ColonyExtension'; + id: string; + hash: string; + colonyId: string; + isInitialized: boolean; + version: number; +}; -export type MotionStakesFragment = { __typename?: 'MotionStakes', raw: { __typename?: 'MotionStakeValues', nay: string, yay: string }, percentage: { __typename?: 'MotionStakeValues', nay: string, yay: string } }; +export type ColonyMotionFragment = { + __typename?: 'ColonyMotion'; + id: string; + nativeMotionId: string; + requiredStake: string; + remainingStakes: Array; + userMinStake: string; + nativeMotionDomainId: string; + isFinalized: boolean; + createdBy: string; + repSubmitted: string; + skillRep: string; + hasObjection: boolean; + motionDomainId: string; + isDecision: boolean; + transactionHash: string; + motionStakes: { + __typename?: 'MotionStakes'; + raw: { __typename?: 'MotionStakeValues'; nay: string; yay: string }; + percentage: { __typename?: 'MotionStakeValues'; nay: string; yay: string }; + }; + usersStakes: Array<{ + __typename?: 'UserMotionStakes'; + address: string; + stakes: { + __typename?: 'MotionStakes'; + raw: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; + percentage: { + __typename?: 'MotionStakeValues'; + yay: string; + nay: string; + }; + }; + }>; + stakerRewards: Array<{ + __typename?: 'StakerRewards'; + address: string; + isClaimed: boolean; + rewards: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; + }>; + voterRecord: Array<{ + __typename?: 'VoterRecord'; + address: string; + voteCount: string; + vote?: number | null; + }>; + revealedVotes: { + __typename?: 'MotionStakes'; + raw: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; + percentage: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; + }; + motionStateHistory: { + __typename?: 'MotionStateHistory'; + hasVoted: boolean; + hasPassed: boolean; + hasFailed: boolean; + hasFailedNotFinalizable: boolean; + inRevealPhase: boolean; + yaySideFullyStakedAt?: string | null; + naySideFullyStakedAt?: string | null; + allVotesSubmittedAt?: string | null; + allVotesRevealedAt?: string | null; + endedAt?: string | null; + finalizedAt?: string | null; + }; +}; + +export type VoterRecordFragment = { + __typename?: 'VoterRecord'; + address: string; + voteCount: string; + vote?: number | null; +}; -export type UserMotionStakesFragment = { __typename?: 'UserMotionStakes', address: string, stakes: { __typename?: 'MotionStakes', raw: { __typename?: 'MotionStakeValues', yay: string, nay: string }, percentage: { __typename?: 'MotionStakeValues', yay: string, nay: string } } }; +export type StakerRewardFragment = { + __typename?: 'StakerRewards'; + address: string; + isClaimed: boolean; + rewards: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; +}; -export type DomainMetadataFragment = { __typename?: 'DomainMetadata', name: string, color: DomainColor, description?: string | null, changelog?: Array<{ __typename?: 'DomainMetadataChangelog', transactionHash: string, oldName: string, newName: string, oldColor: DomainColor, newColor: DomainColor, oldDescription?: string | null, newDescription?: string | null }> | null }; +export type MotionStakesFragment = { + __typename?: 'MotionStakes'; + raw: { __typename?: 'MotionStakeValues'; nay: string; yay: string }; + percentage: { __typename?: 'MotionStakeValues'; nay: string; yay: string }; +}; -export type MultiSigUserSignatureFragment = { __typename?: 'MultiSigUserSignature', id: string, multiSigId: string, role: number, colonyAddress: string, userAddress: string, vote: MultiSigVote, createdAt: string }; +export type UserMotionStakesFragment = { + __typename?: 'UserMotionStakes'; + address: string; + stakes: { + __typename?: 'MotionStakes'; + raw: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; + percentage: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; + }; +}; -export type ColonyMultiSigFragment = { __typename?: 'ColonyMultiSig', id: string, colonyAddress: string, nativeMultiSigId: string, multiSigDomainId: string, nativeMultiSigDomainId: string, requiredPermissions: number, transactionHash: string, isExecuted: boolean, isRejected: boolean, isDecision: boolean, hasActionCompleted: boolean, executedAt?: string | null, executedBy?: string | null, rejectedAt?: string | null, rejectedBy?: string | null, createdAt: string, signatures?: { __typename?: 'ModelMultiSigUserSignatureConnection', items: Array<{ __typename?: 'MultiSigUserSignature', id: string, multiSigId: string, role: number, colonyAddress: string, userAddress: string, vote: MultiSigVote, createdAt: string } | null> } | null }; +export type DomainMetadataFragment = { + __typename?: 'DomainMetadata'; + name: string; + color: DomainColor; + description?: string | null; + changelog?: Array<{ + __typename?: 'DomainMetadataChangelog'; + transactionHash: string; + oldName: string; + newName: string; + oldColor: DomainColor; + newColor: DomainColor; + oldDescription?: string | null; + newDescription?: string | null; + }> | null; +}; + +export type MultiSigUserSignatureFragment = { + __typename?: 'MultiSigUserSignature'; + id: string; + multiSigId: string; + role: number; + colonyAddress: string; + userAddress: string; + vote: MultiSigVote; + createdAt: string; +}; -export type TokenFragment = { __typename?: 'Token', tokenAddress: string }; +export type ColonyMultiSigFragment = { + __typename?: 'ColonyMultiSig'; + id: string; + colonyAddress: string; + nativeMultiSigId: string; + multiSigDomainId: string; + nativeMultiSigDomainId: string; + requiredPermissions: number; + transactionHash: string; + isExecuted: boolean; + isRejected: boolean; + isDecision: boolean; + hasActionCompleted: boolean; + executedAt?: string | null; + executedBy?: string | null; + rejectedAt?: string | null; + rejectedBy?: string | null; + createdAt: string; + signatures?: { + __typename?: 'ModelMultiSigUserSignatureConnection'; + items: Array<{ + __typename?: 'MultiSigUserSignature'; + id: string; + multiSigId: string; + role: number; + colonyAddress: string; + userAddress: string; + vote: MultiSigVote; + createdAt: string; + } | null>; + } | null; +}; + +export type TokenFragment = { __typename?: 'Token'; tokenAddress: string }; export type CreateColonyActionMutationVariables = Exact<{ input: CreateColonyActionInput; }>; - -export type CreateColonyActionMutation = { __typename?: 'Mutation', createColonyAction?: { __typename?: 'ColonyAction', id: string } | null }; +export type CreateColonyActionMutation = { + __typename?: 'Mutation'; + createColonyAction?: { __typename?: 'ColonyAction'; id: string } | null; +}; export type UpdateColonyActionMutationVariables = Exact<{ input: UpdateColonyActionInput; }>; - -export type UpdateColonyActionMutation = { __typename?: 'Mutation', updateColonyAction?: { __typename?: 'ColonyAction', id: string } | null }; +export type UpdateColonyActionMutation = { + __typename?: 'Mutation'; + updateColonyAction?: { __typename?: 'ColonyAction'; id: string } | null; +}; export type UpdateColonyMutationVariables = Exact<{ input: UpdateColonyInput; }>; - -export type UpdateColonyMutation = { __typename?: 'Mutation', updateColony?: { __typename?: 'Colony', id: string } | null }; +export type UpdateColonyMutation = { + __typename?: 'Mutation'; + updateColony?: { __typename?: 'Colony'; id: string } | null; +}; export type UpdateColonyMetadataMutationVariables = Exact<{ input: UpdateColonyMetadataInput; }>; - -export type UpdateColonyMetadataMutation = { __typename?: 'Mutation', updateColonyMetadata?: { __typename?: 'ColonyMetadata', id: string } | null }; +export type UpdateColonyMetadataMutation = { + __typename?: 'Mutation'; + updateColonyMetadata?: { __typename?: 'ColonyMetadata'; id: string } | null; +}; export type CreateColonyMutationVariables = Exact<{ input: CreateColonyInput; condition?: InputMaybe; }>; - -export type CreateColonyMutation = { __typename?: 'Mutation', createColony?: { __typename?: 'Colony', id: string } | null }; +export type CreateColonyMutation = { + __typename?: 'Mutation'; + createColony?: { __typename?: 'Colony'; id: string } | null; +}; export type CreateColonyMetadataMutationVariables = Exact<{ input: CreateColonyMetadataInput; }>; - -export type CreateColonyMetadataMutation = { __typename?: 'Mutation', createColonyMetadata?: { __typename?: 'ColonyMetadata', id: string } | null }; +export type CreateColonyMetadataMutation = { + __typename?: 'Mutation'; + createColonyMetadata?: { __typename?: 'ColonyMetadata'; id: string } | null; +}; export type DeleteColonyMetadataMutationVariables = Exact<{ input: DeleteColonyMetadataInput; }>; - -export type DeleteColonyMetadataMutation = { __typename?: 'Mutation', deleteColonyMetadata?: { __typename?: 'ColonyMetadata', id: string } | null }; +export type DeleteColonyMetadataMutation = { + __typename?: 'Mutation'; + deleteColonyMetadata?: { __typename?: 'ColonyMetadata'; id: string } | null; +}; export type CreateColonyMemberInviteMutationVariables = Exact<{ input: CreateColonyMemberInviteInput; condition?: InputMaybe; }>; - -export type CreateColonyMemberInviteMutation = { __typename?: 'Mutation', createColonyMemberInvite?: { __typename?: 'ColonyMemberInvite', id: string } | null }; +export type CreateColonyMemberInviteMutation = { + __typename?: 'Mutation'; + createColonyMemberInvite?: { + __typename?: 'ColonyMemberInvite'; + id: string; + } | null; +}; export type CreateColonyTokensMutationVariables = Exact<{ input: CreateColonyTokensInput; }>; - -export type CreateColonyTokensMutation = { __typename?: 'Mutation', createColonyTokens?: { __typename?: 'ColonyTokens', id: string } | null }; +export type CreateColonyTokensMutation = { + __typename?: 'Mutation'; + createColonyTokens?: { __typename?: 'ColonyTokens'; id: string } | null; +}; export type CreateColonyContributorMutationVariables = Exact<{ input: CreateColonyContributorInput; }>; - -export type CreateColonyContributorMutation = { __typename?: 'Mutation', createColonyContributor?: { __typename?: 'ColonyContributor', id: string } | null }; +export type CreateColonyContributorMutation = { + __typename?: 'Mutation'; + createColonyContributor?: { + __typename?: 'ColonyContributor'; + id: string; + } | null; +}; export type UpdateColonyContributorMutationVariables = Exact<{ input: UpdateColonyContributorInput; }>; - -export type UpdateColonyContributorMutation = { __typename?: 'Mutation', updateColonyContributor?: { __typename?: 'ColonyContributor', id: string } | null }; +export type UpdateColonyContributorMutation = { + __typename?: 'Mutation'; + updateColonyContributor?: { + __typename?: 'ColonyContributor'; + id: string; + } | null; +}; export type DeleteColonyContributorMutationVariables = Exact<{ input: DeleteColonyContributorInput; }>; - -export type DeleteColonyContributorMutation = { __typename?: 'Mutation', deleteColonyContributor?: { __typename?: 'ColonyContributor', id: string } | null }; +export type DeleteColonyContributorMutation = { + __typename?: 'Mutation'; + deleteColonyContributor?: { + __typename?: 'ColonyContributor'; + id: string; + } | null; +}; export type CreateCurrentVersionMutationVariables = Exact<{ input: CreateCurrentVersionInput; }>; - -export type CreateCurrentVersionMutation = { __typename?: 'Mutation', createCurrentVersion?: { __typename?: 'CurrentVersion', id: string } | null }; +export type CreateCurrentVersionMutation = { + __typename?: 'Mutation'; + createCurrentVersion?: { __typename?: 'CurrentVersion'; id: string } | null; +}; export type UpdateCurrentVersionMutationVariables = Exact<{ input: UpdateCurrentVersionInput; }>; - -export type UpdateCurrentVersionMutation = { __typename?: 'Mutation', updateCurrentVersion?: { __typename?: 'CurrentVersion', id: string } | null }; +export type UpdateCurrentVersionMutation = { + __typename?: 'Mutation'; + updateCurrentVersion?: { __typename?: 'CurrentVersion'; id: string } | null; +}; export type UpdateColonyDecisionMutationVariables = Exact<{ id: Scalars['ID']; showInDecisionsList: Scalars['Boolean']; }>; - -export type UpdateColonyDecisionMutation = { __typename?: 'Mutation', updateColonyDecision?: { __typename?: 'ColonyDecision', id: string } | null }; +export type UpdateColonyDecisionMutation = { + __typename?: 'Mutation'; + updateColonyDecision?: { __typename?: 'ColonyDecision'; id: string } | null; +}; export type CreateDomainMutationVariables = Exact<{ input: CreateDomainInput; }>; - -export type CreateDomainMutation = { __typename?: 'Mutation', createDomain?: { __typename?: 'Domain', id: string } | null }; +export type CreateDomainMutation = { + __typename?: 'Mutation'; + createDomain?: { __typename?: 'Domain'; id: string } | null; +}; export type CreateDomainMetadataMutationVariables = Exact<{ input: CreateDomainMetadataInput; }>; - -export type CreateDomainMetadataMutation = { __typename?: 'Mutation', createDomainMetadata?: { __typename?: 'DomainMetadata', id: string } | null }; +export type CreateDomainMetadataMutation = { + __typename?: 'Mutation'; + createDomainMetadata?: { __typename?: 'DomainMetadata'; id: string } | null; +}; export type UpdateDomainMetadataMutationVariables = Exact<{ input: UpdateDomainMetadataInput; }>; - -export type UpdateDomainMetadataMutation = { __typename?: 'Mutation', updateDomainMetadata?: { __typename?: 'DomainMetadata', id: string } | null }; +export type UpdateDomainMetadataMutation = { + __typename?: 'Mutation'; + updateDomainMetadata?: { __typename?: 'DomainMetadata'; id: string } | null; +}; export type CreateContractEventMutationVariables = Exact<{ input: CreateContractEventInput; condition?: InputMaybe; }>; - -export type CreateContractEventMutation = { __typename?: 'Mutation', createContractEvent?: { __typename?: 'ContractEvent', id: string } | null }; +export type CreateContractEventMutation = { + __typename?: 'Mutation'; + createContractEvent?: { __typename?: 'ContractEvent'; id: string } | null; +}; export type CreateExpenditureMutationVariables = Exact<{ input: CreateExpenditureInput; }>; - -export type CreateExpenditureMutation = { __typename?: 'Mutation', createExpenditure?: { __typename?: 'Expenditure', id: string } | null }; +export type CreateExpenditureMutation = { + __typename?: 'Mutation'; + createExpenditure?: { __typename?: 'Expenditure'; id: string } | null; +}; export type UpdateExpenditureMutationVariables = Exact<{ input: UpdateExpenditureInput; }>; - -export type UpdateExpenditureMutation = { __typename?: 'Mutation', updateExpenditure?: { __typename?: 'Expenditure', id: string, ownerAddress: string } | null }; +export type UpdateExpenditureMutation = { + __typename?: 'Mutation'; + updateExpenditure?: { + __typename?: 'Expenditure'; + id: string; + ownerAddress: string; + } | null; +}; export type UpdateExpenditureMetadataMutationVariables = Exact<{ input: UpdateExpenditureMetadataInput; }>; - -export type UpdateExpenditureMetadataMutation = { __typename?: 'Mutation', updateExpenditureMetadata?: { __typename?: 'ExpenditureMetadata', id: string } | null }; +export type UpdateExpenditureMetadataMutation = { + __typename?: 'Mutation'; + updateExpenditureMetadata?: { + __typename?: 'ExpenditureMetadata'; + id: string; + } | null; +}; export type CreateStreamingPaymentMutationVariables = Exact<{ input: CreateStreamingPaymentInput; }>; - -export type CreateStreamingPaymentMutation = { __typename?: 'Mutation', createStreamingPayment?: { __typename?: 'StreamingPayment', id: string } | null }; +export type CreateStreamingPaymentMutation = { + __typename?: 'Mutation'; + createStreamingPayment?: { + __typename?: 'StreamingPayment'; + id: string; + } | null; +}; export type UpdateStreamingPaymentMutationVariables = Exact<{ input: UpdateStreamingPaymentInput; }>; - -export type UpdateStreamingPaymentMutation = { __typename?: 'Mutation', updateStreamingPayment?: { __typename?: 'StreamingPayment', id: string } | null }; +export type UpdateStreamingPaymentMutation = { + __typename?: 'Mutation'; + updateStreamingPayment?: { + __typename?: 'StreamingPayment'; + id: string; + } | null; +}; export type CreateColonyExtensionMutationVariables = Exact<{ input: CreateColonyExtensionInput; }>; - -export type CreateColonyExtensionMutation = { __typename?: 'Mutation', createColonyExtension?: { __typename?: 'ColonyExtension', id: string } | null }; +export type CreateColonyExtensionMutation = { + __typename?: 'Mutation'; + createColonyExtension?: { __typename?: 'ColonyExtension'; id: string } | null; +}; export type UpdateColonyExtensionByAddressMutationVariables = Exact<{ input: UpdateColonyExtensionInput; }>; - -export type UpdateColonyExtensionByAddressMutation = { __typename?: 'Mutation', updateColonyExtension?: { __typename?: 'ColonyExtension', id: string, extensionHash: string, colonyAddress: string } | null }; +export type UpdateColonyExtensionByAddressMutation = { + __typename?: 'Mutation'; + updateColonyExtension?: { + __typename?: 'ColonyExtension'; + id: string; + extensionHash: string; + colonyAddress: string; + } | null; +}; export type CreateExtensionInstallationsCountMutationVariables = Exact<{ input: CreateExtensionInstallationsCountInput; }>; - -export type CreateExtensionInstallationsCountMutation = { __typename?: 'Mutation', createExtensionInstallationsCount?: { __typename?: 'ExtensionInstallationsCount', id: string } | null }; +export type CreateExtensionInstallationsCountMutation = { + __typename?: 'Mutation'; + createExtensionInstallationsCount?: { + __typename?: 'ExtensionInstallationsCount'; + id: string; + } | null; +}; export type UpdateExtensionInstallationsCountMutationVariables = Exact<{ input: UpdateExtensionInstallationsCountInput; }>; - -export type UpdateExtensionInstallationsCountMutation = { __typename?: 'Mutation', updateExtensionInstallationsCount?: { __typename?: 'ExtensionInstallationsCount', id: string } | null }; +export type UpdateExtensionInstallationsCountMutation = { + __typename?: 'Mutation'; + updateExtensionInstallationsCount?: { + __typename?: 'ExtensionInstallationsCount'; + id: string; + } | null; +}; export type CreateColonyFundsClaimMutationVariables = Exact<{ input: CreateColonyFundsClaimInput; condition?: InputMaybe; }>; - -export type CreateColonyFundsClaimMutation = { __typename?: 'Mutation', createColonyFundsClaim?: { __typename?: 'ColonyFundsClaim', id: string } | null }; +export type CreateColonyFundsClaimMutation = { + __typename?: 'Mutation'; + createColonyFundsClaim?: { + __typename?: 'ColonyFundsClaim'; + id: string; + } | null; +}; export type UpdateColonyFundsClaimMutationVariables = Exact<{ input: UpdateColonyFundsClaimInput; condition?: InputMaybe; }>; - -export type UpdateColonyFundsClaimMutation = { __typename?: 'Mutation', updateColonyFundsClaim?: { __typename?: 'ColonyFundsClaim', id: string } | null }; +export type UpdateColonyFundsClaimMutation = { + __typename?: 'Mutation'; + updateColonyFundsClaim?: { + __typename?: 'ColonyFundsClaim'; + id: string; + } | null; +}; export type DeleteColonyFundsClaimMutationVariables = Exact<{ input: DeleteColonyFundsClaimInput; condition?: InputMaybe; }>; - -export type DeleteColonyFundsClaimMutation = { __typename?: 'Mutation', deleteColonyFundsClaim?: { __typename?: 'ColonyFundsClaim', id: string } | null }; +export type DeleteColonyFundsClaimMutation = { + __typename?: 'Mutation'; + deleteColonyFundsClaim?: { + __typename?: 'ColonyFundsClaim'; + id: string; + } | null; +}; export type CreateCurrentNetworkInverseFeeMutationVariables = Exact<{ input: CreateCurrentNetworkInverseFeeInput; }>; - -export type CreateCurrentNetworkInverseFeeMutation = { __typename?: 'Mutation', createCurrentNetworkInverseFee?: { __typename?: 'CurrentNetworkInverseFee', id: string } | null }; +export type CreateCurrentNetworkInverseFeeMutation = { + __typename?: 'Mutation'; + createCurrentNetworkInverseFee?: { + __typename?: 'CurrentNetworkInverseFee'; + id: string; + } | null; +}; export type UpdateCurrentNetworkInverseFeeMutationVariables = Exact<{ input: UpdateCurrentNetworkInverseFeeInput; }>; - -export type UpdateCurrentNetworkInverseFeeMutation = { __typename?: 'Mutation', updateCurrentNetworkInverseFee?: { __typename?: 'CurrentNetworkInverseFee', id: string } | null }; +export type UpdateCurrentNetworkInverseFeeMutation = { + __typename?: 'Mutation'; + updateCurrentNetworkInverseFee?: { + __typename?: 'CurrentNetworkInverseFee'; + id: string; + } | null; +}; export type CreateColonyMotionMutationVariables = Exact<{ input: CreateColonyMotionInput; }>; - -export type CreateColonyMotionMutation = { __typename?: 'Mutation', createColonyMotion?: { __typename?: 'ColonyMotion', id: string } | null }; +export type CreateColonyMotionMutation = { + __typename?: 'Mutation'; + createColonyMotion?: { __typename?: 'ColonyMotion'; id: string } | null; +}; export type UpdateColonyMotionMutationVariables = Exact<{ input: UpdateColonyMotionInput; }>; - -export type UpdateColonyMotionMutation = { __typename?: 'Mutation', updateColonyMotion?: { __typename?: 'ColonyMotion', id: string } | null }; +export type UpdateColonyMotionMutation = { + __typename?: 'Mutation'; + updateColonyMotion?: { __typename?: 'ColonyMotion'; id: string } | null; +}; export type CreateMotionMessageMutationVariables = Exact<{ input: CreateMotionMessageInput; }>; - -export type CreateMotionMessageMutation = { __typename?: 'Mutation', createMotionMessage?: { __typename?: 'MotionMessage', id: string } | null }; +export type CreateMotionMessageMutation = { + __typename?: 'Mutation'; + createMotionMessage?: { __typename?: 'MotionMessage'; id: string } | null; +}; export type CreateUserVoterRewardMutationVariables = Exact<{ input: CreateVoterRewardsHistoryInput; }>; - -export type CreateUserVoterRewardMutation = { __typename?: 'Mutation', createVoterRewardsHistory?: { __typename?: 'VoterRewardsHistory', id: string } | null }; +export type CreateUserVoterRewardMutation = { + __typename?: 'Mutation'; + createVoterRewardsHistory?: { + __typename?: 'VoterRewardsHistory'; + id: string; + } | null; +}; export type CreateColonyMultiSigMutationVariables = Exact<{ input: CreateColonyMultiSigInput; }>; - -export type CreateColonyMultiSigMutation = { __typename?: 'Mutation', createColonyMultiSig?: { __typename?: 'ColonyMultiSig', id: string } | null }; +export type CreateColonyMultiSigMutation = { + __typename?: 'Mutation'; + createColonyMultiSig?: { __typename?: 'ColonyMultiSig'; id: string } | null; +}; export type UpdateColonyMultiSigMutationVariables = Exact<{ input: UpdateColonyMultiSigInput; }>; - -export type UpdateColonyMultiSigMutation = { __typename?: 'Mutation', updateColonyMultiSig?: { __typename?: 'ColonyMultiSig', id: string } | null }; +export type UpdateColonyMultiSigMutation = { + __typename?: 'Mutation'; + updateColonyMultiSig?: { __typename?: 'ColonyMultiSig'; id: string } | null; +}; export type CreateMultiSigVoteMutationVariables = Exact<{ input: CreateMultiSigUserSignatureInput; }>; - -export type CreateMultiSigVoteMutation = { __typename?: 'Mutation', createMultiSigUserSignature?: { __typename?: 'MultiSigUserSignature', id: string } | null }; +export type CreateMultiSigVoteMutation = { + __typename?: 'Mutation'; + createMultiSigUserSignature?: { + __typename?: 'MultiSigUserSignature'; + id: string; + } | null; +}; export type RemoveMultiSigVoteMutationVariables = Exact<{ id: Scalars['ID']; }>; - -export type RemoveMultiSigVoteMutation = { __typename?: 'Mutation', deleteMultiSigUserSignature?: { __typename?: 'MultiSigUserSignature', id: string } | null }; +export type RemoveMultiSigVoteMutation = { + __typename?: 'Mutation'; + deleteMultiSigUserSignature?: { + __typename?: 'MultiSigUserSignature'; + id: string; + } | null; +}; export type RemoveMultiSigRoleMutationVariables = Exact<{ id: Scalars['ID']; }>; - -export type RemoveMultiSigRoleMutation = { __typename?: 'Mutation', deleteColonyRole?: { __typename?: 'ColonyRole', id: string } | null }; +export type RemoveMultiSigRoleMutation = { + __typename?: 'Mutation'; + deleteColonyRole?: { __typename?: 'ColonyRole'; id: string } | null; +}; export type CreateColonyRoleMutationVariables = Exact<{ input: CreateColonyRoleInput; }>; - -export type CreateColonyRoleMutation = { __typename?: 'Mutation', createColonyRole?: { __typename?: 'ColonyRole', id: string } | null }; +export type CreateColonyRoleMutation = { + __typename?: 'Mutation'; + createColonyRole?: { __typename?: 'ColonyRole'; id: string } | null; +}; export type UpdateColonyRoleMutationVariables = Exact<{ input: UpdateColonyRoleInput; }>; - -export type UpdateColonyRoleMutation = { __typename?: 'Mutation', updateColonyRole?: { __typename?: 'ColonyRole', id: string } | null }; +export type UpdateColonyRoleMutation = { + __typename?: 'Mutation'; + updateColonyRole?: { __typename?: 'ColonyRole'; id: string } | null; +}; export type CreateColonyHistoricRoleMutationVariables = Exact<{ input: CreateColonyHistoricRoleInput; }>; - -export type CreateColonyHistoricRoleMutation = { __typename?: 'Mutation', createColonyHistoricRole?: { __typename?: 'ColonyHistoricRole', id: string } | null }; +export type CreateColonyHistoricRoleMutation = { + __typename?: 'Mutation'; + createColonyHistoricRole?: { + __typename?: 'ColonyHistoricRole'; + id: string; + } | null; +}; export type UpdateReputationMiningCycleMetadataMutationVariables = Exact<{ input: UpdateReputationMiningCycleMetadataInput; }>; - -export type UpdateReputationMiningCycleMetadataMutation = { __typename?: 'Mutation', updateReputationMiningCycleMetadata?: { __typename?: 'ReputationMiningCycleMetadata', id: string } | null }; +export type UpdateReputationMiningCycleMetadataMutation = { + __typename?: 'Mutation'; + updateReputationMiningCycleMetadata?: { + __typename?: 'ReputationMiningCycleMetadata'; + id: string; + } | null; +}; export type CreateReputationMiningCycleMetadataMutationVariables = Exact<{ input: CreateReputationMiningCycleMetadataInput; }>; - -export type CreateReputationMiningCycleMetadataMutation = { __typename?: 'Mutation', createReputationMiningCycleMetadata?: { __typename?: 'ReputationMiningCycleMetadata', id: string } | null }; +export type CreateReputationMiningCycleMetadataMutation = { + __typename?: 'Mutation'; + createReputationMiningCycleMetadata?: { + __typename?: 'ReputationMiningCycleMetadata'; + id: string; + } | null; +}; export type CreateUserStakeMutationVariables = Exact<{ input: CreateUserStakeInput; }>; - -export type CreateUserStakeMutation = { __typename?: 'Mutation', createUserStake?: { __typename?: 'UserStake', id: string } | null }; +export type CreateUserStakeMutation = { + __typename?: 'Mutation'; + createUserStake?: { __typename?: 'UserStake'; id: string } | null; +}; export type UpdateUserStakeMutationVariables = Exact<{ input: UpdateUserStakeInput; }>; - -export type UpdateUserStakeMutation = { __typename?: 'Mutation', updateUserStake?: { __typename?: 'UserStake', id: string } | null }; +export type UpdateUserStakeMutation = { + __typename?: 'Mutation'; + updateUserStake?: { __typename?: 'UserStake'; id: string } | null; +}; export type CreateStatsMutationVariables = Exact<{ value: Scalars['String']; }>; - -export type CreateStatsMutation = { __typename?: 'Mutation', createIngestorStats?: { __typename?: 'IngestorStats', id: string } | null }; +export type CreateStatsMutation = { + __typename?: 'Mutation'; + createIngestorStats?: { __typename?: 'IngestorStats'; id: string } | null; +}; export type UpdateStatsMutationVariables = Exact<{ value: Scalars['String']; }>; - -export type UpdateStatsMutation = { __typename?: 'Mutation', updateIngestorStats?: { __typename?: 'IngestorStats', id: string } | null }; +export type UpdateStatsMutation = { + __typename?: 'Mutation'; + updateIngestorStats?: { __typename?: 'IngestorStats'; id: string } | null; +}; export type DeleteColonyTokensMutationVariables = Exact<{ input: DeleteColonyTokensInput; }>; - -export type DeleteColonyTokensMutation = { __typename?: 'Mutation', deleteColonyTokens?: { __typename?: 'ColonyTokens', id: string } | null }; +export type DeleteColonyTokensMutation = { + __typename?: 'Mutation'; + deleteColonyTokens?: { __typename?: 'ColonyTokens'; id: string } | null; +}; export type GetColonyActionQueryVariables = Exact<{ transactionHash: Scalars['ID']; }>; - -export type GetColonyActionQuery = { __typename?: 'Query', getColonyAction?: { __typename?: 'ColonyAction', id: string } | null }; +export type GetColonyActionQuery = { + __typename?: 'Query'; + getColonyAction?: { __typename?: 'ColonyAction'; id: string } | null; +}; export type GetMotionIdFromActionQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetMotionIdFromActionQuery = { __typename?: 'Query', getColonyAction?: { __typename?: 'ColonyAction', motionData?: { __typename?: 'ColonyMotion', id: string } | null } | null }; +export type GetMotionIdFromActionQuery = { + __typename?: 'Query'; + getColonyAction?: { + __typename?: 'ColonyAction'; + motionData?: { __typename?: 'ColonyMotion'; id: string } | null; + } | null; +}; export type GetActionIdFromAnnotationQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetActionIdFromAnnotationQuery = { __typename?: 'Query', getAnnotation?: { __typename?: 'Annotation', actionId: string } | null }; +export type GetActionIdFromAnnotationQuery = { + __typename?: 'Query'; + getAnnotation?: { __typename?: 'Annotation'; actionId: string } | null; +}; export type GetActionByIdQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetActionByIdQuery = { __typename?: 'Query', getColonyAction?: { __typename?: 'ColonyAction', id: string, type: ColonyActionType, expenditureSlotChanges?: { __typename?: 'ExpenditureSlotChanges', oldSlots: Array<{ __typename?: 'ExpenditureSlot', id: number, recipientAddress?: string | null, claimDelay?: string | null, payoutModifier?: number | null, payouts?: Array<{ __typename?: 'ExpenditurePayout', tokenAddress: string, amount: string, isClaimed: boolean, networkFee?: string | null }> | null }>, newSlots: Array<{ __typename?: 'ExpenditureSlot', id: number, recipientAddress?: string | null, claimDelay?: string | null, payoutModifier?: number | null, payouts?: Array<{ __typename?: 'ExpenditurePayout', tokenAddress: string, amount: string, isClaimed: boolean, networkFee?: string | null }> | null }> } | null } | null }; +export type GetActionByIdQuery = { + __typename?: 'Query'; + getColonyAction?: { + __typename?: 'ColonyAction'; + id: string; + type: ColonyActionType; + expenditureSlotChanges?: { + __typename?: 'ExpenditureSlotChanges'; + oldSlots: Array<{ + __typename?: 'ExpenditureSlot'; + id: number; + recipientAddress?: string | null; + claimDelay?: string | null; + payoutModifier?: number | null; + payouts?: Array<{ + __typename?: 'ExpenditurePayout'; + tokenAddress: string; + amount: string; + isClaimed: boolean; + networkFee?: string | null; + }> | null; + }>; + newSlots: Array<{ + __typename?: 'ExpenditureSlot'; + id: number; + recipientAddress?: string | null; + claimDelay?: string | null; + payoutModifier?: number | null; + payouts?: Array<{ + __typename?: 'ExpenditurePayout'; + tokenAddress: string; + amount: string; + isClaimed: boolean; + networkFee?: string | null; + }> | null; + }>; + } | null; + } | null; +}; export type GetColonyMetadataQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetColonyMetadataQuery = { __typename?: 'Query', getColonyMetadata?: { __typename?: 'ColonyMetadata', id: string, displayName: string, avatar?: string | null, thumbnail?: string | null, description?: string | null, etherealData?: { __typename?: 'ColonyMetadataEtherealData', colonyAvatar?: string | null, colonyDisplayName: string, colonyName: string, colonyThumbnail?: string | null, initiatorAddress: string, tokenAvatar?: string | null, tokenThumbnail?: string | null } | null, externalLinks?: Array<{ __typename?: 'ExternalLink', name: ExternalLinks, link: string }> | null, objective?: { __typename?: 'ColonyObjective', title: string, description: string, progress: number } | null, changelog?: Array<{ __typename?: 'ColonyMetadataChangelog', transactionHash: string, oldDisplayName: string, newDisplayName: string, hasAvatarChanged: boolean, hasDescriptionChanged?: boolean | null, haveExternalLinksChanged?: boolean | null, hasObjectiveChanged?: boolean | null }> | null } | null }; +export type GetColonyMetadataQuery = { + __typename?: 'Query'; + getColonyMetadata?: { + __typename?: 'ColonyMetadata'; + id: string; + displayName: string; + avatar?: string | null; + thumbnail?: string | null; + description?: string | null; + etherealData?: { + __typename?: 'ColonyMetadataEtherealData'; + colonyAvatar?: string | null; + colonyDisplayName: string; + colonyName: string; + colonyThumbnail?: string | null; + initiatorAddress: string; + tokenAvatar?: string | null; + tokenThumbnail?: string | null; + } | null; + externalLinks?: Array<{ + __typename?: 'ExternalLink'; + name: ExternalLinks; + link: string; + }> | null; + objective?: { + __typename?: 'ColonyObjective'; + title: string; + description: string; + progress: number; + } | null; + changelog?: Array<{ + __typename?: 'ColonyMetadataChangelog'; + transactionHash: string; + oldDisplayName: string; + newDisplayName: string; + hasAvatarChanged: boolean; + hasDescriptionChanged?: boolean | null; + haveExternalLinksChanged?: boolean | null; + hasObjectiveChanged?: boolean | null; + }> | null; + } | null; +}; export type GetColonyQueryVariables = Exact<{ id: Scalars['ID']; nextToken?: InputMaybe; }>; - -export type GetColonyQuery = { __typename?: 'Query', getColony?: { __typename?: 'Colony', colonyAddress: string, nativeToken: { __typename?: 'Token', tokenAddress: string }, tokens?: { __typename?: 'ModelColonyTokensConnection', items: Array<{ __typename?: 'ColonyTokens', id: string, tokenAddress: string } | null> } | null, motionsWithUnclaimedStakes?: Array<{ __typename?: 'ColonyUnclaimedStake', motionId: string, unclaimedRewards: Array<{ __typename?: 'StakerRewards', address: string, isClaimed: boolean, rewards: { __typename?: 'MotionStakeValues', yay: string, nay: string } }> }> | null, domains?: { __typename?: 'ModelDomainConnection', nextToken?: string | null, items: Array<{ __typename?: 'Domain', id: string, nativeSkillId: string } | null> } | null } | null, getColonyByAddress?: { __typename?: 'ModelColonyConnection', items: Array<{ __typename?: 'Colony', id: string, name: string } | null> } | null, getColonyByType?: { __typename?: 'ModelColonyConnection', items: Array<{ __typename?: 'Colony', id: string, name: string } | null> } | null }; +export type GetColonyQuery = { + __typename?: 'Query'; + getColony?: { + __typename?: 'Colony'; + colonyAddress: string; + nativeToken: { __typename?: 'Token'; tokenAddress: string }; + tokens?: { + __typename?: 'ModelColonyTokensConnection'; + items: Array<{ + __typename?: 'ColonyTokens'; + id: string; + tokenAddress: string; + } | null>; + } | null; + motionsWithUnclaimedStakes?: Array<{ + __typename?: 'ColonyUnclaimedStake'; + motionId: string; + unclaimedRewards: Array<{ + __typename?: 'StakerRewards'; + address: string; + isClaimed: boolean; + rewards: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; + }>; + }> | null; + domains?: { + __typename?: 'ModelDomainConnection'; + nextToken?: string | null; + items: Array<{ + __typename?: 'Domain'; + id: string; + nativeSkillId: string; + } | null>; + } | null; + } | null; + getColonyByAddress?: { + __typename?: 'ModelColonyConnection'; + items: Array<{ __typename?: 'Colony'; id: string; name: string } | null>; + } | null; + getColonyByType?: { + __typename?: 'ModelColonyConnection'; + items: Array<{ __typename?: 'Colony'; id: string; name: string } | null>; + } | null; +}; export type GetColonyByNameQueryVariables = Exact<{ name: Scalars['String']; }>; - -export type GetColonyByNameQuery = { __typename?: 'Query', getColonyByName?: { __typename?: 'ModelColonyConnection', items: Array<{ __typename?: 'Colony', id: string, name: string } | null> } | null }; +export type GetColonyByNameQuery = { + __typename?: 'Query'; + getColonyByName?: { + __typename?: 'ModelColonyConnection'; + items: Array<{ __typename?: 'Colony'; id: string; name: string } | null>; + } | null; +}; export type GetColonyByNativeTokenIdQueryVariables = Exact<{ nativeTokenId: Scalars['ID']; @@ -9967,131 +10356,388 @@ export type GetColonyByNativeTokenIdQueryVariables = Exact<{ nextToken?: InputMaybe; }>; - -export type GetColonyByNativeTokenIdQuery = { __typename?: 'Query', getColoniesByNativeTokenId?: { __typename?: 'ModelColonyConnection', nextToken?: string | null, items: Array<{ __typename?: 'Colony', id: string, status?: { __typename?: 'ColonyStatus', recovery?: boolean | null, nativeToken?: { __typename?: 'NativeTokenStatus', unlocked?: boolean | null, unlockable?: boolean | null, mintable?: boolean | null } | null } | null } | null> } | null }; +export type GetColonyByNativeTokenIdQuery = { + __typename?: 'Query'; + getColoniesByNativeTokenId?: { + __typename?: 'ModelColonyConnection'; + nextToken?: string | null; + items: Array<{ + __typename?: 'Colony'; + id: string; + status?: { + __typename?: 'ColonyStatus'; + recovery?: boolean | null; + nativeToken?: { + __typename?: 'NativeTokenStatus'; + unlocked?: boolean | null; + unlockable?: boolean | null; + mintable?: boolean | null; + } | null; + } | null; + } | null>; + } | null; +}; export type ListColoniesQueryVariables = Exact<{ nextToken?: InputMaybe; }>; - -export type ListColoniesQuery = { __typename?: 'Query', listColonies?: { __typename?: 'ModelColonyConnection', nextToken?: string | null, items: Array<{ __typename?: 'Colony', id: string, nativeTokenId: string } | null> } | null }; +export type ListColoniesQuery = { + __typename?: 'Query'; + listColonies?: { + __typename?: 'ModelColonyConnection'; + nextToken?: string | null; + items: Array<{ + __typename?: 'Colony'; + id: string; + nativeTokenId: string; + } | null>; + } | null; +}; export type GetColonyContributorQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetColonyContributorQuery = { __typename?: 'Query', getColonyContributor?: { __typename?: 'ColonyContributor', id: string, isVerified: boolean } | null }; +export type GetColonyContributorQuery = { + __typename?: 'Query'; + getColonyContributor?: { + __typename?: 'ColonyContributor'; + id: string; + isVerified: boolean; + } | null; +}; export type GetCurrentVersionQueryVariables = Exact<{ key: Scalars['String']; }>; - -export type GetCurrentVersionQuery = { __typename?: 'Query', getCurrentVersionByKey?: { __typename?: 'ModelCurrentVersionConnection', items: Array<{ __typename?: 'CurrentVersion', id: string, version: number } | null> } | null }; +export type GetCurrentVersionQuery = { + __typename?: 'Query'; + getCurrentVersionByKey?: { + __typename?: 'ModelCurrentVersionConnection'; + items: Array<{ + __typename?: 'CurrentVersion'; + id: string; + version: number; + } | null>; + } | null; +}; export type GetColonyDecisionByActionIdQueryVariables = Exact<{ actionId: Scalars['ID']; }>; - -export type GetColonyDecisionByActionIdQuery = { __typename?: 'Query', getColonyDecisionByActionId?: { __typename?: 'ModelColonyDecisionConnection', items: Array<{ __typename?: 'ColonyDecision', id: string } | null> } | null }; +export type GetColonyDecisionByActionIdQuery = { + __typename?: 'Query'; + getColonyDecisionByActionId?: { + __typename?: 'ModelColonyDecisionConnection'; + items: Array<{ __typename?: 'ColonyDecision'; id: string } | null>; + } | null; +}; export type GetDomainMetadataQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetDomainMetadataQuery = { __typename?: 'Query', getDomainMetadata?: { __typename?: 'DomainMetadata', color: DomainColor, description?: string | null, id: string, name: string, changelog?: Array<{ __typename?: 'DomainMetadataChangelog', newColor: DomainColor, newDescription?: string | null, newName: string, oldColor: DomainColor, oldDescription?: string | null, oldName: string, transactionHash: string }> | null } | null }; +export type GetDomainMetadataQuery = { + __typename?: 'Query'; + getDomainMetadata?: { + __typename?: 'DomainMetadata'; + color: DomainColor; + description?: string | null; + id: string; + name: string; + changelog?: Array<{ + __typename?: 'DomainMetadataChangelog'; + newColor: DomainColor; + newDescription?: string | null; + newName: string; + oldColor: DomainColor; + oldDescription?: string | null; + oldName: string; + transactionHash: string; + }> | null; + } | null; +}; export type GetDomainByNativeSkillIdQueryVariables = Exact<{ nativeSkillId: Scalars['String']; colonyAddress: Scalars['ID']; }>; - -export type GetDomainByNativeSkillIdQuery = { __typename?: 'Query', getDomainByNativeSkillId?: { __typename?: 'ModelDomainConnection', items: Array<{ __typename?: 'Domain', id: string, nativeSkillId: string, nativeId: number } | null> } | null }; +export type GetDomainByNativeSkillIdQuery = { + __typename?: 'Query'; + getDomainByNativeSkillId?: { + __typename?: 'ModelDomainConnection'; + items: Array<{ + __typename?: 'Domain'; + id: string; + nativeSkillId: string; + nativeId: number; + } | null>; + } | null; +}; export type GetDomainsByExtensionAddressQueryVariables = Exact<{ extensionAddress: Scalars['ID']; }>; - -export type GetDomainsByExtensionAddressQuery = { __typename?: 'Query', listColonyExtensions?: { __typename?: 'ModelColonyExtensionConnection', items: Array<{ __typename?: 'ColonyExtension', colony: { __typename?: 'Colony', id: string, domains?: { __typename?: 'ModelDomainConnection', items: Array<{ __typename?: 'Domain', nativeSkillId: string, nativeId: number } | null> } | null } } | null> } | null }; +export type GetDomainsByExtensionAddressQuery = { + __typename?: 'Query'; + listColonyExtensions?: { + __typename?: 'ModelColonyExtensionConnection'; + items: Array<{ + __typename?: 'ColonyExtension'; + colony: { + __typename?: 'Colony'; + id: string; + domains?: { + __typename?: 'ModelDomainConnection'; + items: Array<{ + __typename?: 'Domain'; + nativeSkillId: string; + nativeId: number; + } | null>; + } | null; + }; + } | null>; + } | null; +}; export type GetContractEventQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetContractEventQuery = { __typename?: 'Query', getContractEvent?: { __typename?: 'ContractEvent', id: string } | null }; +export type GetContractEventQuery = { + __typename?: 'Query'; + getContractEvent?: { __typename?: 'ContractEvent'; id: string } | null; +}; export type GetExpenditureQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetExpenditureQuery = { __typename?: 'Query', getExpenditure?: { __typename?: 'Expenditure', id: string, status: ExpenditureStatus, ownerAddress: string, userStakeId?: string | null, createdAt: string, firstEditTransactionHash?: string | null, type: ExpenditureType, slots: Array<{ __typename?: 'ExpenditureSlot', id: number, recipientAddress?: string | null, claimDelay?: string | null, payoutModifier?: number | null, payouts?: Array<{ __typename?: 'ExpenditurePayout', tokenAddress: string, amount: string, isClaimed: boolean, networkFee?: string | null }> | null }>, motions?: { __typename?: 'ModelColonyMotionConnection', items: Array<{ __typename?: 'ColonyMotion', transactionHash: string, action?: { __typename?: 'ColonyAction', type: ColonyActionType } | null } | null> } | null, balances?: Array<{ __typename?: 'ExpenditureBalance', tokenAddress: string, amount: string }> | null } | null }; +export type GetExpenditureQuery = { + __typename?: 'Query'; + getExpenditure?: { + __typename?: 'Expenditure'; + id: string; + status: ExpenditureStatus; + ownerAddress: string; + userStakeId?: string | null; + createdAt: string; + firstEditTransactionHash?: string | null; + type: ExpenditureType; + slots: Array<{ + __typename?: 'ExpenditureSlot'; + id: number; + recipientAddress?: string | null; + claimDelay?: string | null; + payoutModifier?: number | null; + payouts?: Array<{ + __typename?: 'ExpenditurePayout'; + tokenAddress: string; + amount: string; + isClaimed: boolean; + networkFee?: string | null; + }> | null; + }>; + motions?: { + __typename?: 'ModelColonyMotionConnection'; + items: Array<{ + __typename?: 'ColonyMotion'; + transactionHash: string; + action?: { __typename?: 'ColonyAction'; type: ColonyActionType } | null; + } | null>; + } | null; + balances?: Array<{ + __typename?: 'ExpenditureBalance'; + tokenAddress: string; + amount: string; + }> | null; + } | null; +}; export type GetExpenditureByNativeFundingPotIdAndColonyQueryVariables = Exact<{ nativeFundingPotId: Scalars['Int']; colonyAddress: Scalars['ID']; }>; - -export type GetExpenditureByNativeFundingPotIdAndColonyQuery = { __typename?: 'Query', getExpendituresByNativeFundingPotIdAndColony?: { __typename?: 'ModelExpenditureConnection', items: Array<{ __typename?: 'Expenditure', id: string, status: ExpenditureStatus, ownerAddress: string, userStakeId?: string | null, createdAt: string, firstEditTransactionHash?: string | null, type: ExpenditureType, slots: Array<{ __typename?: 'ExpenditureSlot', id: number, recipientAddress?: string | null, claimDelay?: string | null, payoutModifier?: number | null, payouts?: Array<{ __typename?: 'ExpenditurePayout', tokenAddress: string, amount: string, isClaimed: boolean, networkFee?: string | null }> | null }>, motions?: { __typename?: 'ModelColonyMotionConnection', items: Array<{ __typename?: 'ColonyMotion', transactionHash: string, action?: { __typename?: 'ColonyAction', type: ColonyActionType } | null } | null> } | null, balances?: Array<{ __typename?: 'ExpenditureBalance', tokenAddress: string, amount: string }> | null } | null> } | null }; +export type GetExpenditureByNativeFundingPotIdAndColonyQuery = { + __typename?: 'Query'; + getExpendituresByNativeFundingPotIdAndColony?: { + __typename?: 'ModelExpenditureConnection'; + items: Array<{ + __typename?: 'Expenditure'; + id: string; + status: ExpenditureStatus; + ownerAddress: string; + userStakeId?: string | null; + createdAt: string; + firstEditTransactionHash?: string | null; + type: ExpenditureType; + slots: Array<{ + __typename?: 'ExpenditureSlot'; + id: number; + recipientAddress?: string | null; + claimDelay?: string | null; + payoutModifier?: number | null; + payouts?: Array<{ + __typename?: 'ExpenditurePayout'; + tokenAddress: string; + amount: string; + isClaimed: boolean; + networkFee?: string | null; + }> | null; + }>; + motions?: { + __typename?: 'ModelColonyMotionConnection'; + items: Array<{ + __typename?: 'ColonyMotion'; + transactionHash: string; + action?: { + __typename?: 'ColonyAction'; + type: ColonyActionType; + } | null; + } | null>; + } | null; + balances?: Array<{ + __typename?: 'ExpenditureBalance'; + tokenAddress: string; + amount: string; + }> | null; + } | null>; + } | null; +}; export type GetStreamingPaymentQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetStreamingPaymentQuery = { __typename?: 'Query', getStreamingPayment?: { __typename?: 'StreamingPayment', id: string, payouts?: Array<{ __typename?: 'ExpenditurePayout', amount: string, tokenAddress: string, isClaimed: boolean }> | null } | null }; +export type GetStreamingPaymentQuery = { + __typename?: 'Query'; + getStreamingPayment?: { + __typename?: 'StreamingPayment'; + id: string; + payouts?: Array<{ + __typename?: 'ExpenditurePayout'; + amount: string; + tokenAddress: string; + isClaimed: boolean; + }> | null; + } | null; +}; export type GetColonyExtensionQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetColonyExtensionQuery = { __typename?: 'Query', getColonyExtension?: { __typename?: 'ColonyExtension', id: string, hash: string, colonyId: string, isInitialized: boolean, version: number } | null }; +export type GetColonyExtensionQuery = { + __typename?: 'Query'; + getColonyExtension?: { + __typename?: 'ColonyExtension'; + id: string; + hash: string; + colonyId: string; + isInitialized: boolean; + version: number; + } | null; +}; export type GetColonyExtensionsByColonyAddressQueryVariables = Exact<{ colonyAddress: Scalars['ID']; }>; - -export type GetColonyExtensionsByColonyAddressQuery = { __typename?: 'Query', getExtensionByColonyAndHash?: { __typename?: 'ModelColonyExtensionConnection', items: Array<{ __typename?: 'ColonyExtension', id: string, hash: string, colonyId: string, isInitialized: boolean, version: number } | null> } | null }; +export type GetColonyExtensionsByColonyAddressQuery = { + __typename?: 'Query'; + getExtensionByColonyAndHash?: { + __typename?: 'ModelColonyExtensionConnection'; + items: Array<{ + __typename?: 'ColonyExtension'; + id: string; + hash: string; + colonyId: string; + isInitialized: boolean; + version: number; + } | null>; + } | null; +}; export type ListExtensionsQueryVariables = Exact<{ hash: Scalars['String']; nextToken?: InputMaybe; }>; - -export type ListExtensionsQuery = { __typename?: 'Query', getExtensionsByHash?: { __typename?: 'ModelColonyExtensionConnection', nextToken?: string | null, items: Array<{ __typename?: 'ColonyExtension', id: string, hash: string, colonyId: string, isInitialized: boolean, version: number } | null> } | null }; +export type ListExtensionsQuery = { + __typename?: 'Query'; + getExtensionsByHash?: { + __typename?: 'ModelColonyExtensionConnection'; + nextToken?: string | null; + items: Array<{ + __typename?: 'ColonyExtension'; + id: string; + hash: string; + colonyId: string; + isInitialized: boolean; + version: number; + } | null>; + } | null; +}; export type GetColonyExtensionByHashAndColonyQueryVariables = Exact<{ colonyAddress: Scalars['ID']; extensionHash: Scalars['String']; }>; - -export type GetColonyExtensionByHashAndColonyQuery = { __typename?: 'Query', getExtensionByColonyAndHash?: { __typename?: 'ModelColonyExtensionConnection', items: Array<{ __typename?: 'ColonyExtension', id: string } | null> } | null }; +export type GetColonyExtensionByHashAndColonyQuery = { + __typename?: 'Query'; + getExtensionByColonyAndHash?: { + __typename?: 'ModelColonyExtensionConnection'; + items: Array<{ __typename?: 'ColonyExtension'; id: string } | null>; + } | null; +}; export type GetExtensionInstallationsCountQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetExtensionInstallationsCountQuery = { __typename?: 'Query', getExtensionInstallationsCount?: { __typename?: 'ExtensionInstallationsCount', oneTxPayment: number, stakedExpenditure: number, stagedExpenditure: number, streamingPayments: number, reputationWeighted: number, multiSigPermissions: number } | null }; +export type GetExtensionInstallationsCountQuery = { + __typename?: 'Query'; + getExtensionInstallationsCount?: { + __typename?: 'ExtensionInstallationsCount'; + oneTxPayment: number; + stakedExpenditure: number; + stagedExpenditure: number; + streamingPayments: number; + reputationWeighted: number; + multiSigPermissions: number; + } | null; +}; export type GetColonyExtensionByAddressQueryVariables = Exact<{ extensionAddress: Scalars['ID']; }>; - -export type GetColonyExtensionByAddressQuery = { __typename?: 'Query', getColonyExtension?: { __typename?: 'ColonyExtension', colonyId: string, params?: { __typename?: 'ExtensionParams', multiSig?: { __typename?: 'MultiSigParams', colonyThreshold: number, domainThresholds?: Array<{ __typename?: 'MultiSigDomainConfig', domainId: string, domainThreshold: number } | null> | null } | null } | null } | null }; +export type GetColonyExtensionByAddressQuery = { + __typename?: 'Query'; + getColonyExtension?: { + __typename?: 'ColonyExtension'; + colonyId: string; + params?: { + __typename?: 'ExtensionParams'; + multiSig?: { + __typename?: 'MultiSigParams'; + colonyThreshold: number; + domainThresholds?: Array<{ + __typename?: 'MultiSigDomainConfig'; + domainId: string; + domainThreshold: number; + } | null> | null; + } | null; + } | null; + } | null; +}; export type GetColonyUnclaimedFundsQueryVariables = Exact<{ colonyAddress: Scalars['ID']; @@ -10099,55 +10745,302 @@ export type GetColonyUnclaimedFundsQueryVariables = Exact<{ upToBlock?: InputMaybe; }>; - -export type GetColonyUnclaimedFundsQuery = { __typename?: 'Query', listColonyFundsClaims?: { __typename?: 'ModelColonyFundsClaimConnection', items: Array<{ __typename?: 'ColonyFundsClaim', id: string } | null> } | null }; +export type GetColonyUnclaimedFundsQuery = { + __typename?: 'Query'; + listColonyFundsClaims?: { + __typename?: 'ModelColonyFundsClaimConnection'; + items: Array<{ __typename?: 'ColonyFundsClaim'; id: string } | null>; + } | null; +}; export type GetColonyUnclaimedFundQueryVariables = Exact<{ claimId: Scalars['ID']; }>; +export type GetColonyUnclaimedFundQuery = { + __typename?: 'Query'; + getColonyFundsClaim?: { __typename?: 'ColonyFundsClaim'; id: string } | null; +}; -export type GetColonyUnclaimedFundQuery = { __typename?: 'Query', getColonyFundsClaim?: { __typename?: 'ColonyFundsClaim', id: string } | null }; - -export type GetCurrentNetworkInverseFeeQueryVariables = Exact<{ [key: string]: never; }>; - +export type GetCurrentNetworkInverseFeeQueryVariables = Exact<{ + [key: string]: never; +}>; -export type GetCurrentNetworkInverseFeeQuery = { __typename?: 'Query', listCurrentNetworkInverseFees?: { __typename?: 'ModelCurrentNetworkInverseFeeConnection', items: Array<{ __typename?: 'CurrentNetworkInverseFee', id: string, inverseFee: string } | null> } | null }; +export type GetCurrentNetworkInverseFeeQuery = { + __typename?: 'Query'; + listCurrentNetworkInverseFees?: { + __typename?: 'ModelCurrentNetworkInverseFeeConnection'; + items: Array<{ + __typename?: 'CurrentNetworkInverseFee'; + id: string; + inverseFee: string; + } | null>; + } | null; +}; export type GetColonyActionByMotionIdQueryVariables = Exact<{ motionId: Scalars['ID']; }>; - -export type GetColonyActionByMotionIdQuery = { __typename?: 'Query', getColonyActionByMotionId?: { __typename?: 'ModelColonyActionConnection', items: Array<{ __typename?: 'ColonyAction', id: string, colonyDecisionId?: string | null, amount?: string | null, networkFee?: string | null, type: ColonyActionType, pendingDomainMetadata?: { __typename?: 'DomainMetadata', name: string, color: DomainColor, description?: string | null, changelog?: Array<{ __typename?: 'DomainMetadataChangelog', transactionHash: string, oldName: string, newName: string, oldColor: DomainColor, newColor: DomainColor, oldDescription?: string | null, newDescription?: string | null }> | null } | null, pendingColonyMetadata?: { __typename?: 'ColonyMetadata', id: string, displayName: string, avatar?: string | null, thumbnail?: string | null, description?: string | null, externalLinks?: Array<{ __typename?: 'ExternalLink', name: ExternalLinks, link: string }> | null, objective?: { __typename?: 'ColonyObjective', title: string, description: string, progress: number } | null, changelog?: Array<{ __typename?: 'ColonyMetadataChangelog', transactionHash: string, oldDisplayName: string, newDisplayName: string, hasAvatarChanged: boolean, hasDescriptionChanged?: boolean | null, haveExternalLinksChanged?: boolean | null, hasObjectiveChanged?: boolean | null }> | null } | null } | null> } | null }; +export type GetColonyActionByMotionIdQuery = { + __typename?: 'Query'; + getColonyActionByMotionId?: { + __typename?: 'ModelColonyActionConnection'; + items: Array<{ + __typename?: 'ColonyAction'; + id: string; + colonyDecisionId?: string | null; + amount?: string | null; + networkFee?: string | null; + type: ColonyActionType; + pendingDomainMetadata?: { + __typename?: 'DomainMetadata'; + name: string; + color: DomainColor; + description?: string | null; + changelog?: Array<{ + __typename?: 'DomainMetadataChangelog'; + transactionHash: string; + oldName: string; + newName: string; + oldColor: DomainColor; + newColor: DomainColor; + oldDescription?: string | null; + newDescription?: string | null; + }> | null; + } | null; + pendingColonyMetadata?: { + __typename?: 'ColonyMetadata'; + id: string; + displayName: string; + avatar?: string | null; + thumbnail?: string | null; + description?: string | null; + externalLinks?: Array<{ + __typename?: 'ExternalLink'; + name: ExternalLinks; + link: string; + }> | null; + objective?: { + __typename?: 'ColonyObjective'; + title: string; + description: string; + progress: number; + } | null; + changelog?: Array<{ + __typename?: 'ColonyMetadataChangelog'; + transactionHash: string; + oldDisplayName: string; + newDisplayName: string; + hasAvatarChanged: boolean; + hasDescriptionChanged?: boolean | null; + haveExternalLinksChanged?: boolean | null; + hasObjectiveChanged?: boolean | null; + }> | null; + } | null; + } | null>; + } | null; +}; export type GetColonyMotionQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetColonyMotionQuery = { __typename?: 'Query', getColonyMotion?: { __typename?: 'ColonyMotion', id: string, nativeMotionId: string, requiredStake: string, remainingStakes: Array, userMinStake: string, nativeMotionDomainId: string, isFinalized: boolean, createdBy: string, repSubmitted: string, skillRep: string, hasObjection: boolean, motionDomainId: string, isDecision: boolean, transactionHash: string, motionStakes: { __typename?: 'MotionStakes', raw: { __typename?: 'MotionStakeValues', nay: string, yay: string }, percentage: { __typename?: 'MotionStakeValues', nay: string, yay: string } }, usersStakes: Array<{ __typename?: 'UserMotionStakes', address: string, stakes: { __typename?: 'MotionStakes', raw: { __typename?: 'MotionStakeValues', yay: string, nay: string }, percentage: { __typename?: 'MotionStakeValues', yay: string, nay: string } } }>, stakerRewards: Array<{ __typename?: 'StakerRewards', address: string, isClaimed: boolean, rewards: { __typename?: 'MotionStakeValues', yay: string, nay: string } }>, voterRecord: Array<{ __typename?: 'VoterRecord', address: string, voteCount: string, vote?: number | null }>, revealedVotes: { __typename?: 'MotionStakes', raw: { __typename?: 'MotionStakeValues', yay: string, nay: string }, percentage: { __typename?: 'MotionStakeValues', yay: string, nay: string } }, motionStateHistory: { __typename?: 'MotionStateHistory', hasVoted: boolean, hasPassed: boolean, hasFailed: boolean, hasFailedNotFinalizable: boolean, inRevealPhase: boolean, yaySideFullyStakedAt?: string | null, naySideFullyStakedAt?: string | null, allVotesSubmittedAt?: string | null, allVotesRevealedAt?: string | null, endedAt?: string | null, finalizedAt?: string | null } } | null }; +export type GetColonyMotionQuery = { + __typename?: 'Query'; + getColonyMotion?: { + __typename?: 'ColonyMotion'; + id: string; + nativeMotionId: string; + requiredStake: string; + remainingStakes: Array; + userMinStake: string; + nativeMotionDomainId: string; + isFinalized: boolean; + createdBy: string; + repSubmitted: string; + skillRep: string; + hasObjection: boolean; + motionDomainId: string; + isDecision: boolean; + transactionHash: string; + motionStakes: { + __typename?: 'MotionStakes'; + raw: { __typename?: 'MotionStakeValues'; nay: string; yay: string }; + percentage: { + __typename?: 'MotionStakeValues'; + nay: string; + yay: string; + }; + }; + usersStakes: Array<{ + __typename?: 'UserMotionStakes'; + address: string; + stakes: { + __typename?: 'MotionStakes'; + raw: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; + percentage: { + __typename?: 'MotionStakeValues'; + yay: string; + nay: string; + }; + }; + }>; + stakerRewards: Array<{ + __typename?: 'StakerRewards'; + address: string; + isClaimed: boolean; + rewards: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; + }>; + voterRecord: Array<{ + __typename?: 'VoterRecord'; + address: string; + voteCount: string; + vote?: number | null; + }>; + revealedVotes: { + __typename?: 'MotionStakes'; + raw: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; + percentage: { + __typename?: 'MotionStakeValues'; + yay: string; + nay: string; + }; + }; + motionStateHistory: { + __typename?: 'MotionStateHistory'; + hasVoted: boolean; + hasPassed: boolean; + hasFailed: boolean; + hasFailedNotFinalizable: boolean; + inRevealPhase: boolean; + yaySideFullyStakedAt?: string | null; + naySideFullyStakedAt?: string | null; + allVotesSubmittedAt?: string | null; + allVotesRevealedAt?: string | null; + endedAt?: string | null; + finalizedAt?: string | null; + }; + } | null; +}; export type GetVoterRewardsQueryVariables = Exact<{ input: GetVoterRewardsInput; }>; - -export type GetVoterRewardsQuery = { __typename?: 'Query', getVoterRewards?: { __typename?: 'VoterRewardsReturn', min: string, max: string, reward: string } | null }; +export type GetVoterRewardsQuery = { + __typename?: 'Query'; + getVoterRewards?: { + __typename?: 'VoterRewardsReturn'; + min: string; + max: string; + reward: string; + } | null; +}; export type GetColonyActionByMultiSigIdQueryVariables = Exact<{ multiSigId: Scalars['ID']; }>; - -export type GetColonyActionByMultiSigIdQuery = { __typename?: 'Query', getColonyActionByMultiSigId?: { __typename?: 'ModelColonyActionConnection', items: Array<{ __typename?: 'ColonyAction', id: string, colonyDecisionId?: string | null, amount?: string | null, networkFee?: string | null, type: ColonyActionType, pendingDomainMetadata?: { __typename?: 'DomainMetadata', name: string, color: DomainColor, description?: string | null, changelog?: Array<{ __typename?: 'DomainMetadataChangelog', transactionHash: string, oldName: string, newName: string, oldColor: DomainColor, newColor: DomainColor, oldDescription?: string | null, newDescription?: string | null }> | null } | null, pendingColonyMetadata?: { __typename?: 'ColonyMetadata', id: string, displayName: string, avatar?: string | null, thumbnail?: string | null, description?: string | null, externalLinks?: Array<{ __typename?: 'ExternalLink', name: ExternalLinks, link: string }> | null, objective?: { __typename?: 'ColonyObjective', title: string, description: string, progress: number } | null, changelog?: Array<{ __typename?: 'ColonyMetadataChangelog', transactionHash: string, oldDisplayName: string, newDisplayName: string, hasAvatarChanged: boolean, hasDescriptionChanged?: boolean | null, haveExternalLinksChanged?: boolean | null, hasObjectiveChanged?: boolean | null }> | null } | null } | null> } | null }; +export type GetColonyActionByMultiSigIdQuery = { + __typename?: 'Query'; + getColonyActionByMultiSigId?: { + __typename?: 'ModelColonyActionConnection'; + items: Array<{ + __typename?: 'ColonyAction'; + id: string; + colonyDecisionId?: string | null; + amount?: string | null; + networkFee?: string | null; + type: ColonyActionType; + pendingDomainMetadata?: { + __typename?: 'DomainMetadata'; + name: string; + color: DomainColor; + description?: string | null; + changelog?: Array<{ + __typename?: 'DomainMetadataChangelog'; + transactionHash: string; + oldName: string; + newName: string; + oldColor: DomainColor; + newColor: DomainColor; + oldDescription?: string | null; + newDescription?: string | null; + }> | null; + } | null; + pendingColonyMetadata?: { + __typename?: 'ColonyMetadata'; + id: string; + displayName: string; + avatar?: string | null; + thumbnail?: string | null; + description?: string | null; + externalLinks?: Array<{ + __typename?: 'ExternalLink'; + name: ExternalLinks; + link: string; + }> | null; + objective?: { + __typename?: 'ColonyObjective'; + title: string; + description: string; + progress: number; + } | null; + changelog?: Array<{ + __typename?: 'ColonyMetadataChangelog'; + transactionHash: string; + oldDisplayName: string; + newDisplayName: string; + hasAvatarChanged: boolean; + hasDescriptionChanged?: boolean | null; + haveExternalLinksChanged?: boolean | null; + hasObjectiveChanged?: boolean | null; + }> | null; + } | null; + } | null>; + } | null; +}; export type GetColonyMultiSigQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetColonyMultiSigQuery = { __typename?: 'Query', getColonyMultiSig?: { __typename?: 'ColonyMultiSig', id: string, colonyAddress: string, nativeMultiSigId: string, multiSigDomainId: string, nativeMultiSigDomainId: string, requiredPermissions: number, transactionHash: string, isExecuted: boolean, isRejected: boolean, isDecision: boolean, hasActionCompleted: boolean, executedAt?: string | null, executedBy?: string | null, rejectedAt?: string | null, rejectedBy?: string | null, createdAt: string, signatures?: { __typename?: 'ModelMultiSigUserSignatureConnection', items: Array<{ __typename?: 'MultiSigUserSignature', id: string, multiSigId: string, role: number, colonyAddress: string, userAddress: string, vote: MultiSigVote, createdAt: string } | null> } | null } | null }; +export type GetColonyMultiSigQuery = { + __typename?: 'Query'; + getColonyMultiSig?: { + __typename?: 'ColonyMultiSig'; + id: string; + colonyAddress: string; + nativeMultiSigId: string; + multiSigDomainId: string; + nativeMultiSigDomainId: string; + requiredPermissions: number; + transactionHash: string; + isExecuted: boolean; + isRejected: boolean; + isDecision: boolean; + hasActionCompleted: boolean; + executedAt?: string | null; + executedBy?: string | null; + rejectedAt?: string | null; + rejectedBy?: string | null; + createdAt: string; + signatures?: { + __typename?: 'ModelMultiSigUserSignatureConnection'; + items: Array<{ + __typename?: 'MultiSigUserSignature'; + id: string; + multiSigId: string; + role: number; + colonyAddress: string; + userAddress: string; + vote: MultiSigVote; + createdAt: string; + } | null>; + } | null; + } | null; +}; export type GetUserMultiSigSignatureQueryVariables = Exact<{ multiSigId: Scalars['ID']; @@ -10156,1168 +11049,1302 @@ export type GetUserMultiSigSignatureQueryVariables = Exact<{ role: Scalars['Int']; }>; - -export type GetUserMultiSigSignatureQuery = { __typename?: 'Query', getMultiSigUserSignatureByMultiSigId?: { __typename?: 'ModelMultiSigUserSignatureConnection', items: Array<{ __typename?: 'MultiSigUserSignature', id: string, multiSigId: string, role: number, colonyAddress: string, userAddress: string, vote: MultiSigVote, createdAt: string } | null> } | null }; +export type GetUserMultiSigSignatureQuery = { + __typename?: 'Query'; + getMultiSigUserSignatureByMultiSigId?: { + __typename?: 'ModelMultiSigUserSignatureConnection'; + items: Array<{ + __typename?: 'MultiSigUserSignature'; + id: string; + multiSigId: string; + role: number; + colonyAddress: string; + userAddress: string; + vote: MultiSigVote; + createdAt: string; + } | null>; + } | null; +}; export type GetAllMultiSigRolesQueryVariables = Exact<{ colonyAddress: Scalars['ID']; }>; - -export type GetAllMultiSigRolesQuery = { __typename?: 'Query', getRoleByColony?: { __typename?: 'ModelColonyRoleConnection', items: Array<{ __typename?: 'ColonyRole', id: string } | null> } | null }; +export type GetAllMultiSigRolesQuery = { + __typename?: 'Query'; + getRoleByColony?: { + __typename?: 'ModelColonyRoleConnection'; + items: Array<{ __typename?: 'ColonyRole'; id: string } | null>; + } | null; +}; export type GetActiveColonyMultisigsQueryVariables = Exact<{ colonyAddress: Scalars['ID']; }>; - -export type GetActiveColonyMultisigsQuery = { __typename?: 'Query', getMultiSigByColonyAddress?: { __typename?: 'ModelColonyMultiSigConnection', items: Array<{ __typename?: 'ColonyMultiSig', id: string } | null> } | null }; +export type GetActiveColonyMultisigsQuery = { + __typename?: 'Query'; + getMultiSigByColonyAddress?: { + __typename?: 'ModelColonyMultiSigConnection'; + items: Array<{ __typename?: 'ColonyMultiSig'; id: string } | null>; + } | null; +}; export type GetColonyRoleQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetColonyRoleQuery = { __typename?: 'Query', getColonyRole?: { __typename?: 'ColonyRole', id: string, latestBlock: number, role_0?: boolean | null, role_1?: boolean | null, role_2?: boolean | null, role_3?: boolean | null, role_5?: boolean | null, role_6?: boolean | null } | null }; +export type GetColonyRoleQuery = { + __typename?: 'Query'; + getColonyRole?: { + __typename?: 'ColonyRole'; + id: string; + latestBlock: number; + role_0?: boolean | null; + role_1?: boolean | null; + role_2?: boolean | null; + role_3?: boolean | null; + role_5?: boolean | null; + role_6?: boolean | null; + } | null; +}; export type GetAllColonyRolesQueryVariables = Exact<{ targetAddress: Scalars['ID']; colonyAddress: Scalars['ID']; }>; - -export type GetAllColonyRolesQuery = { __typename?: 'Query', getRoleByTargetAddressAndColony?: { __typename?: 'ModelColonyRoleConnection', items: Array<{ __typename?: 'ColonyRole', id: string, role_0?: boolean | null, role_1?: boolean | null, role_2?: boolean | null, role_3?: boolean | null, role_5?: boolean | null, role_6?: boolean | null } | null> } | null }; +export type GetAllColonyRolesQuery = { + __typename?: 'Query'; + getRoleByTargetAddressAndColony?: { + __typename?: 'ModelColonyRoleConnection'; + items: Array<{ + __typename?: 'ColonyRole'; + id: string; + role_0?: boolean | null; + role_1?: boolean | null; + role_2?: boolean | null; + role_3?: boolean | null; + role_5?: boolean | null; + role_6?: boolean | null; + } | null>; + } | null; +}; export type GetColonyHistoricRoleQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetColonyHistoricRoleQuery = { __typename?: 'Query', getColonyHistoricRole?: { __typename?: 'ColonyHistoricRole', id: string } | null }; +export type GetColonyHistoricRoleQuery = { + __typename?: 'Query'; + getColonyHistoricRole?: { + __typename?: 'ColonyHistoricRole'; + id: string; + } | null; +}; export type GetReputationMiningCycleMetadataQueryVariables = Exact<{ id: Scalars['ID']; }>; - -export type GetReputationMiningCycleMetadataQuery = { __typename?: 'Query', getReputationMiningCycleMetadata?: { __typename?: 'ReputationMiningCycleMetadata', id: string } | null }; +export type GetReputationMiningCycleMetadataQuery = { + __typename?: 'Query'; + getReputationMiningCycleMetadata?: { + __typename?: 'ReputationMiningCycleMetadata'; + id: string; + } | null; +}; export type GetSafeTransactionByTransactionHashQueryVariables = Exact<{ transactionHash: Scalars['ID']; }>; - -export type GetSafeTransactionByTransactionHashQuery = { __typename?: 'Query', getSafeTransaction?: { __typename?: 'SafeTransaction', id: string } | null }; +export type GetSafeTransactionByTransactionHashQuery = { + __typename?: 'Query'; + getSafeTransaction?: { __typename?: 'SafeTransaction'; id: string } | null; +}; export type GetUserStakeQueryVariables = Exact<{ id: Scalars['ID']; }>; +export type GetUserStakeQuery = { + __typename?: 'Query'; + getUserStake?: { + __typename?: 'UserStake'; + id: string; + amount: string; + } | null; +}; -export type GetUserStakeQuery = { __typename?: 'Query', getUserStake?: { __typename?: 'UserStake', id: string, amount: string } | null }; - -export type GetStatsQueryVariables = Exact<{ [key: string]: never; }>; - +export type GetStatsQueryVariables = Exact<{ [key: string]: never }>; -export type GetStatsQuery = { __typename?: 'Query', getIngestorStats?: { __typename?: 'IngestorStats', value: string } | null }; +export type GetStatsQuery = { + __typename?: 'Query'; + getIngestorStats?: { __typename?: 'IngestorStats'; value: string } | null; +}; export type GetTokenFromEverywhereQueryVariables = Exact<{ input: TokenFromEverywhereArguments; }>; - -export type GetTokenFromEverywhereQuery = { __typename?: 'Query', getTokenFromEverywhere?: { __typename?: 'TokenFromEverywhereReturn', items?: Array<{ __typename?: 'Token', id: string } | null> | null } | null }; +export type GetTokenFromEverywhereQuery = { + __typename?: 'Query'; + getTokenFromEverywhere?: { + __typename?: 'TokenFromEverywhereReturn'; + items?: Array<{ __typename?: 'Token'; id: string } | null> | null; + } | null; +}; export const DomainMetadata = gql` - fragment DomainMetadata on DomainMetadata { - name - color - description - changelog { - transactionHash - oldName - newName - oldColor - newColor - oldDescription - newDescription - } -} - `; -export const ColonyMetadata = gql` - fragment ColonyMetadata on ColonyMetadata { - id - displayName - avatar - thumbnail - description - externalLinks { + fragment DomainMetadata on DomainMetadata { name - link - } - objective { - title + color description - progress - } - changelog { - transactionHash - oldDisplayName - newDisplayName - hasAvatarChanged - hasDescriptionChanged - haveExternalLinksChanged - hasObjectiveChanged - } -} - `; -export const ActionMetadataInfo = gql` - fragment ActionMetadataInfo on ColonyAction { - id - pendingDomainMetadata { - ...DomainMetadata + changelog { + transactionHash + oldName + newName + oldColor + newColor + oldDescription + newDescription + } + } +`; +export const ColonyMetadata = gql` + fragment ColonyMetadata on ColonyMetadata { + id + displayName + avatar + thumbnail + description + externalLinks { + name + link + } + objective { + title + description + progress + } + changelog { + transactionHash + oldDisplayName + newDisplayName + hasAvatarChanged + hasDescriptionChanged + haveExternalLinksChanged + hasObjectiveChanged + } } - pendingColonyMetadata { - ...ColonyMetadata +`; +export const ActionMetadataInfo = gql` + fragment ActionMetadataInfo on ColonyAction { + id + pendingDomainMetadata { + ...DomainMetadata + } + pendingColonyMetadata { + ...ColonyMetadata + } + colonyDecisionId + amount + networkFee + type } - colonyDecisionId - amount - networkFee - type -} - ${DomainMetadata} -${ColonyMetadata}`; + ${DomainMetadata} + ${ColonyMetadata} +`; export const Token = gql` - fragment Token on Token { - tokenAddress: id -} - `; -export const Colony = gql` - fragment Colony on Colony { - colonyAddress: id - nativeToken { - ...Token + fragment Token on Token { + tokenAddress: id } - tokens { - items { - id - tokenAddress: tokenID +`; +export const Colony = gql` + fragment Colony on Colony { + colonyAddress: id + nativeToken { + ...Token } - } - motionsWithUnclaimedStakes { - motionId - unclaimedRewards { - address - rewards { - yay - nay + tokens { + items { + id + tokenAddress: tokenID } - isClaimed } - } - domains(limit: 1000, nextToken: $nextToken) { - items { - id - nativeSkillId + motionsWithUnclaimedStakes { + motionId + unclaimedRewards { + address + rewards { + yay + nay + } + isClaimed + } + } + domains(limit: 1000, nextToken: $nextToken) { + items { + id + nativeSkillId + } + nextToken } - nextToken } -} - ${Token}`; + ${Token} +`; export const ExpenditureSlot = gql` - fragment ExpenditureSlot on ExpenditureSlot { - id - recipientAddress - claimDelay - payoutModifier - payouts { + fragment ExpenditureSlot on ExpenditureSlot { + id + recipientAddress + claimDelay + payoutModifier + payouts { + tokenAddress + amount + isClaimed + networkFee + } + } +`; +export const ExpenditureBalance = gql` + fragment ExpenditureBalance on ExpenditureBalance { tokenAddress amount - isClaimed - networkFee } -} - `; -export const ExpenditureBalance = gql` - fragment ExpenditureBalance on ExpenditureBalance { - tokenAddress - amount -} - `; +`; export const Expenditure = gql` - fragment Expenditure on Expenditure { - id - slots { - ...ExpenditureSlot - } - motions { - items { - transactionHash - action { - type + fragment Expenditure on Expenditure { + id + slots { + ...ExpenditureSlot + } + motions { + items { + transactionHash + action { + type + } } } + balances { + ...ExpenditureBalance + } + status + ownerAddress + userStakeId + createdAt + firstEditTransactionHash + type } - balances { - ...ExpenditureBalance - } - status - ownerAddress - userStakeId - createdAt - firstEditTransactionHash - type -} - ${ExpenditureSlot} -${ExpenditureBalance}`; + ${ExpenditureSlot} + ${ExpenditureBalance} +`; export const Extension = gql` - fragment Extension on ColonyExtension { - id - hash - colonyId - isInitialized - version -} - `; -export const MotionStakes = gql` - fragment MotionStakes on MotionStakes { - raw { - nay - yay - } - percentage { - nay - yay + fragment Extension on ColonyExtension { + id + hash + colonyId + isInitialized + version } -} - `; -export const UserMotionStakes = gql` - fragment UserMotionStakes on UserMotionStakes { - address - stakes { +`; +export const MotionStakes = gql` + fragment MotionStakes on MotionStakes { raw { - yay nay + yay } percentage { - yay nay + yay } } -} - `; +`; +export const UserMotionStakes = gql` + fragment UserMotionStakes on UserMotionStakes { + address + stakes { + raw { + yay + nay + } + percentage { + yay + nay + } + } + } +`; export const StakerReward = gql` - fragment StakerReward on StakerRewards { - address - rewards { - yay - nay + fragment StakerReward on StakerRewards { + address + rewards { + yay + nay + } + isClaimed } - isClaimed -} - `; +`; export const VoterRecord = gql` - fragment VoterRecord on VoterRecord { - address - voteCount - vote -} - `; -export const ColonyMotion = gql` - fragment ColonyMotion on ColonyMotion { - id - nativeMotionId - motionStakes { - ...MotionStakes - } - requiredStake - remainingStakes - usersStakes { - ...UserMotionStakes + fragment VoterRecord on VoterRecord { + address + voteCount + vote } - userMinStake - nativeMotionDomainId - stakerRewards { - ...StakerReward - } - isFinalized - createdBy - voterRecord { - ...VoterRecord - } - revealedVotes { - raw { - yay - nay +`; +export const ColonyMotion = gql` + fragment ColonyMotion on ColonyMotion { + id + nativeMotionId + motionStakes { + ...MotionStakes } - percentage { - yay - nay + requiredStake + remainingStakes + usersStakes { + ...UserMotionStakes } + userMinStake + nativeMotionDomainId + stakerRewards { + ...StakerReward + } + isFinalized + createdBy + voterRecord { + ...VoterRecord + } + revealedVotes { + raw { + yay + nay + } + percentage { + yay + nay + } + } + repSubmitted + skillRep + hasObjection + motionDomainId + nativeMotionDomainId + motionStateHistory { + hasVoted + hasPassed + hasFailed + hasFailedNotFinalizable + inRevealPhase + yaySideFullyStakedAt + naySideFullyStakedAt + allVotesSubmittedAt + allVotesRevealedAt + endedAt + finalizedAt + } + isDecision + transactionHash } - repSubmitted - skillRep - hasObjection - motionDomainId - nativeMotionDomainId - motionStateHistory { - hasVoted - hasPassed - hasFailed - hasFailedNotFinalizable - inRevealPhase - yaySideFullyStakedAt - naySideFullyStakedAt - allVotesSubmittedAt - allVotesRevealedAt - endedAt - finalizedAt - } - isDecision - transactionHash -} - ${MotionStakes} -${UserMotionStakes} -${StakerReward} -${VoterRecord}`; + ${MotionStakes} + ${UserMotionStakes} + ${StakerReward} + ${VoterRecord} +`; export const MultiSigUserSignature = gql` - fragment MultiSigUserSignature on MultiSigUserSignature { - id - multiSigId - role - colonyAddress - userAddress - vote - createdAt -} - `; + fragment MultiSigUserSignature on MultiSigUserSignature { + id + multiSigId + role + colonyAddress + userAddress + vote + createdAt + } +`; export const ColonyMultiSig = gql` - fragment ColonyMultiSig on ColonyMultiSig { - id - colonyAddress - nativeMultiSigId - multiSigDomainId - nativeMultiSigDomainId - requiredPermissions - transactionHash - isExecuted - isRejected - isDecision - hasActionCompleted - signatures { - items { - ...MultiSigUserSignature + fragment ColonyMultiSig on ColonyMultiSig { + id + colonyAddress + nativeMultiSigId + multiSigDomainId + nativeMultiSigDomainId + requiredPermissions + transactionHash + isExecuted + isRejected + isDecision + hasActionCompleted + signatures { + items { + ...MultiSigUserSignature + } } + executedAt + executedBy + rejectedAt + rejectedBy + createdAt } - executedAt - executedBy - rejectedAt - rejectedBy - createdAt -} - ${MultiSigUserSignature}`; + ${MultiSigUserSignature} +`; export const CreateColonyActionDocument = gql` - mutation CreateColonyAction($input: CreateColonyActionInput!) { - createColonyAction(input: $input) { - id + mutation CreateColonyAction($input: CreateColonyActionInput!) { + createColonyAction(input: $input) { + id + } } -} - `; +`; export const UpdateColonyActionDocument = gql` - mutation UpdateColonyAction($input: UpdateColonyActionInput!) { - updateColonyAction(input: $input) { - id + mutation UpdateColonyAction($input: UpdateColonyActionInput!) { + updateColonyAction(input: $input) { + id + } } -} - `; +`; export const UpdateColonyDocument = gql` - mutation UpdateColony($input: UpdateColonyInput!) { - updateColony(input: $input) { - id + mutation UpdateColony($input: UpdateColonyInput!) { + updateColony(input: $input) { + id + } } -} - `; +`; export const UpdateColonyMetadataDocument = gql` - mutation UpdateColonyMetadata($input: UpdateColonyMetadataInput!) { - updateColonyMetadata(input: $input) { - id + mutation UpdateColonyMetadata($input: UpdateColonyMetadataInput!) { + updateColonyMetadata(input: $input) { + id + } } -} - `; +`; export const CreateColonyDocument = gql` - mutation CreateColony($input: CreateColonyInput!, $condition: ModelColonyConditionInput) { - createColony(input: $input, condition: $condition) { - id + mutation CreateColony( + $input: CreateColonyInput! + $condition: ModelColonyConditionInput + ) { + createColony(input: $input, condition: $condition) { + id + } } -} - `; +`; export const CreateColonyMetadataDocument = gql` - mutation CreateColonyMetadata($input: CreateColonyMetadataInput!) { - createColonyMetadata(input: $input) { - id + mutation CreateColonyMetadata($input: CreateColonyMetadataInput!) { + createColonyMetadata(input: $input) { + id + } } -} - `; +`; export const DeleteColonyMetadataDocument = gql` - mutation DeleteColonyMetadata($input: DeleteColonyMetadataInput!) { - deleteColonyMetadata(input: $input) { - id + mutation DeleteColonyMetadata($input: DeleteColonyMetadataInput!) { + deleteColonyMetadata(input: $input) { + id + } } -} - `; +`; export const CreateColonyMemberInviteDocument = gql` - mutation CreateColonyMemberInvite($input: CreateColonyMemberInviteInput!, $condition: ModelColonyMemberInviteConditionInput) { - createColonyMemberInvite(input: $input, condition: $condition) { - id + mutation CreateColonyMemberInvite( + $input: CreateColonyMemberInviteInput! + $condition: ModelColonyMemberInviteConditionInput + ) { + createColonyMemberInvite(input: $input, condition: $condition) { + id + } } -} - `; +`; export const CreateColonyTokensDocument = gql` - mutation CreateColonyTokens($input: CreateColonyTokensInput!) { - createColonyTokens(input: $input) { - id + mutation CreateColonyTokens($input: CreateColonyTokensInput!) { + createColonyTokens(input: $input) { + id + } } -} - `; +`; export const CreateColonyContributorDocument = gql` - mutation CreateColonyContributor($input: CreateColonyContributorInput!) { - createColonyContributor(input: $input) { - id + mutation CreateColonyContributor($input: CreateColonyContributorInput!) { + createColonyContributor(input: $input) { + id + } } -} - `; +`; export const UpdateColonyContributorDocument = gql` - mutation UpdateColonyContributor($input: UpdateColonyContributorInput!) { - updateColonyContributor(input: $input) { - id + mutation UpdateColonyContributor($input: UpdateColonyContributorInput!) { + updateColonyContributor(input: $input) { + id + } } -} - `; +`; export const DeleteColonyContributorDocument = gql` - mutation DeleteColonyContributor($input: DeleteColonyContributorInput!) { - deleteColonyContributor(input: $input) { - id + mutation DeleteColonyContributor($input: DeleteColonyContributorInput!) { + deleteColonyContributor(input: $input) { + id + } } -} - `; +`; export const CreateCurrentVersionDocument = gql` - mutation CreateCurrentVersion($input: CreateCurrentVersionInput!) { - createCurrentVersion(input: $input) { - id + mutation CreateCurrentVersion($input: CreateCurrentVersionInput!) { + createCurrentVersion(input: $input) { + id + } } -} - `; +`; export const UpdateCurrentVersionDocument = gql` - mutation UpdateCurrentVersion($input: UpdateCurrentVersionInput!) { - updateCurrentVersion(input: $input) { - id + mutation UpdateCurrentVersion($input: UpdateCurrentVersionInput!) { + updateCurrentVersion(input: $input) { + id + } } -} - `; +`; export const UpdateColonyDecisionDocument = gql` - mutation UpdateColonyDecision($id: ID!, $showInDecisionsList: Boolean!) { - updateColonyDecision( - input: {id: $id, showInDecisionsList: $showInDecisionsList} - ) { - id + mutation UpdateColonyDecision($id: ID!, $showInDecisionsList: Boolean!) { + updateColonyDecision( + input: { id: $id, showInDecisionsList: $showInDecisionsList } + ) { + id + } } -} - `; +`; export const CreateDomainDocument = gql` - mutation CreateDomain($input: CreateDomainInput!) { - createDomain(input: $input) { - id + mutation CreateDomain($input: CreateDomainInput!) { + createDomain(input: $input) { + id + } } -} - `; +`; export const CreateDomainMetadataDocument = gql` - mutation CreateDomainMetadata($input: CreateDomainMetadataInput!) { - createDomainMetadata(input: $input) { - id + mutation CreateDomainMetadata($input: CreateDomainMetadataInput!) { + createDomainMetadata(input: $input) { + id + } } -} - `; +`; export const UpdateDomainMetadataDocument = gql` - mutation UpdateDomainMetadata($input: UpdateDomainMetadataInput!) { - updateDomainMetadata(input: $input) { - id + mutation UpdateDomainMetadata($input: UpdateDomainMetadataInput!) { + updateDomainMetadata(input: $input) { + id + } } -} - `; +`; export const CreateContractEventDocument = gql` - mutation CreateContractEvent($input: CreateContractEventInput!, $condition: ModelContractEventConditionInput) { - createContractEvent(input: $input, condition: $condition) { - id + mutation CreateContractEvent( + $input: CreateContractEventInput! + $condition: ModelContractEventConditionInput + ) { + createContractEvent(input: $input, condition: $condition) { + id + } } -} - `; +`; export const CreateExpenditureDocument = gql` - mutation CreateExpenditure($input: CreateExpenditureInput!) { - createExpenditure(input: $input) { - id + mutation CreateExpenditure($input: CreateExpenditureInput!) { + createExpenditure(input: $input) { + id + } } -} - `; +`; export const UpdateExpenditureDocument = gql` - mutation UpdateExpenditure($input: UpdateExpenditureInput!) { - updateExpenditure(input: $input) { - id - ownerAddress + mutation UpdateExpenditure($input: UpdateExpenditureInput!) { + updateExpenditure(input: $input) { + id + ownerAddress + } } -} - `; +`; export const UpdateExpenditureMetadataDocument = gql` - mutation UpdateExpenditureMetadata($input: UpdateExpenditureMetadataInput!) { - updateExpenditureMetadata(input: $input) { - id + mutation UpdateExpenditureMetadata($input: UpdateExpenditureMetadataInput!) { + updateExpenditureMetadata(input: $input) { + id + } } -} - `; +`; export const CreateStreamingPaymentDocument = gql` - mutation CreateStreamingPayment($input: CreateStreamingPaymentInput!) { - createStreamingPayment(input: $input) { - id + mutation CreateStreamingPayment($input: CreateStreamingPaymentInput!) { + createStreamingPayment(input: $input) { + id + } } -} - `; +`; export const UpdateStreamingPaymentDocument = gql` - mutation UpdateStreamingPayment($input: UpdateStreamingPaymentInput!) { - updateStreamingPayment(input: $input) { - id + mutation UpdateStreamingPayment($input: UpdateStreamingPaymentInput!) { + updateStreamingPayment(input: $input) { + id + } } -} - `; +`; export const CreateColonyExtensionDocument = gql` - mutation CreateColonyExtension($input: CreateColonyExtensionInput!) { - createColonyExtension(input: $input) { - id + mutation CreateColonyExtension($input: CreateColonyExtensionInput!) { + createColonyExtension(input: $input) { + id + } } -} - `; +`; export const UpdateColonyExtensionByAddressDocument = gql` - mutation UpdateColonyExtensionByAddress($input: UpdateColonyExtensionInput!) { - updateColonyExtension(input: $input) { - id - extensionHash: hash - colonyAddress: colonyId + mutation UpdateColonyExtensionByAddress($input: UpdateColonyExtensionInput!) { + updateColonyExtension(input: $input) { + id + extensionHash: hash + colonyAddress: colonyId + } } -} - `; +`; export const CreateExtensionInstallationsCountDocument = gql` - mutation CreateExtensionInstallationsCount($input: CreateExtensionInstallationsCountInput!) { - createExtensionInstallationsCount(input: $input) { - id + mutation CreateExtensionInstallationsCount( + $input: CreateExtensionInstallationsCountInput! + ) { + createExtensionInstallationsCount(input: $input) { + id + } } -} - `; +`; export const UpdateExtensionInstallationsCountDocument = gql` - mutation UpdateExtensionInstallationsCount($input: UpdateExtensionInstallationsCountInput!) { - updateExtensionInstallationsCount(input: $input) { - id + mutation UpdateExtensionInstallationsCount( + $input: UpdateExtensionInstallationsCountInput! + ) { + updateExtensionInstallationsCount(input: $input) { + id + } } -} - `; +`; export const CreateColonyFundsClaimDocument = gql` - mutation CreateColonyFundsClaim($input: CreateColonyFundsClaimInput!, $condition: ModelColonyFundsClaimConditionInput) { - createColonyFundsClaim(input: $input, condition: $condition) { - id + mutation CreateColonyFundsClaim( + $input: CreateColonyFundsClaimInput! + $condition: ModelColonyFundsClaimConditionInput + ) { + createColonyFundsClaim(input: $input, condition: $condition) { + id + } } -} - `; +`; export const UpdateColonyFundsClaimDocument = gql` - mutation UpdateColonyFundsClaim($input: UpdateColonyFundsClaimInput!, $condition: ModelColonyFundsClaimConditionInput) { - updateColonyFundsClaim(input: $input, condition: $condition) { - id + mutation UpdateColonyFundsClaim( + $input: UpdateColonyFundsClaimInput! + $condition: ModelColonyFundsClaimConditionInput + ) { + updateColonyFundsClaim(input: $input, condition: $condition) { + id + } } -} - `; +`; export const DeleteColonyFundsClaimDocument = gql` - mutation DeleteColonyFundsClaim($input: DeleteColonyFundsClaimInput!, $condition: ModelColonyFundsClaimConditionInput) { - deleteColonyFundsClaim(input: $input, condition: $condition) { - id + mutation DeleteColonyFundsClaim( + $input: DeleteColonyFundsClaimInput! + $condition: ModelColonyFundsClaimConditionInput + ) { + deleteColonyFundsClaim(input: $input, condition: $condition) { + id + } } -} - `; +`; export const CreateCurrentNetworkInverseFeeDocument = gql` - mutation CreateCurrentNetworkInverseFee($input: CreateCurrentNetworkInverseFeeInput!) { - createCurrentNetworkInverseFee(input: $input) { - id + mutation CreateCurrentNetworkInverseFee( + $input: CreateCurrentNetworkInverseFeeInput! + ) { + createCurrentNetworkInverseFee(input: $input) { + id + } } -} - `; +`; export const UpdateCurrentNetworkInverseFeeDocument = gql` - mutation UpdateCurrentNetworkInverseFee($input: UpdateCurrentNetworkInverseFeeInput!) { - updateCurrentNetworkInverseFee(input: $input) { - id + mutation UpdateCurrentNetworkInverseFee( + $input: UpdateCurrentNetworkInverseFeeInput! + ) { + updateCurrentNetworkInverseFee(input: $input) { + id + } } -} - `; +`; export const CreateColonyMotionDocument = gql` - mutation CreateColonyMotion($input: CreateColonyMotionInput!) { - createColonyMotion(input: $input) { - id + mutation CreateColonyMotion($input: CreateColonyMotionInput!) { + createColonyMotion(input: $input) { + id + } } -} - `; +`; export const UpdateColonyMotionDocument = gql` - mutation UpdateColonyMotion($input: UpdateColonyMotionInput!) { - updateColonyMotion(input: $input) { - id + mutation UpdateColonyMotion($input: UpdateColonyMotionInput!) { + updateColonyMotion(input: $input) { + id + } } -} - `; +`; export const CreateMotionMessageDocument = gql` - mutation CreateMotionMessage($input: CreateMotionMessageInput!) { - createMotionMessage(input: $input) { - id + mutation CreateMotionMessage($input: CreateMotionMessageInput!) { + createMotionMessage(input: $input) { + id + } } -} - `; +`; export const CreateUserVoterRewardDocument = gql` - mutation CreateUserVoterReward($input: CreateVoterRewardsHistoryInput!) { - createVoterRewardsHistory(input: $input) { - id + mutation CreateUserVoterReward($input: CreateVoterRewardsHistoryInput!) { + createVoterRewardsHistory(input: $input) { + id + } } -} - `; +`; export const CreateColonyMultiSigDocument = gql` - mutation CreateColonyMultiSig($input: CreateColonyMultiSigInput!) { - createColonyMultiSig(input: $input) { - id + mutation CreateColonyMultiSig($input: CreateColonyMultiSigInput!) { + createColonyMultiSig(input: $input) { + id + } } -} - `; +`; export const UpdateColonyMultiSigDocument = gql` - mutation UpdateColonyMultiSig($input: UpdateColonyMultiSigInput!) { - updateColonyMultiSig(input: $input) { - id + mutation UpdateColonyMultiSig($input: UpdateColonyMultiSigInput!) { + updateColonyMultiSig(input: $input) { + id + } } -} - `; +`; export const CreateMultiSigVoteDocument = gql` - mutation CreateMultiSigVote($input: CreateMultiSigUserSignatureInput!) { - createMultiSigUserSignature(input: $input) { - id + mutation CreateMultiSigVote($input: CreateMultiSigUserSignatureInput!) { + createMultiSigUserSignature(input: $input) { + id + } } -} - `; +`; export const RemoveMultiSigVoteDocument = gql` - mutation RemoveMultiSigVote($id: ID!) { - deleteMultiSigUserSignature(input: {id: $id}) { - id + mutation RemoveMultiSigVote($id: ID!) { + deleteMultiSigUserSignature(input: { id: $id }) { + id + } } -} - `; +`; export const RemoveMultiSigRoleDocument = gql` - mutation RemoveMultiSigRole($id: ID!) { - deleteColonyRole(input: {id: $id}) { - id + mutation RemoveMultiSigRole($id: ID!) { + deleteColonyRole(input: { id: $id }) { + id + } } -} - `; +`; export const CreateColonyRoleDocument = gql` - mutation CreateColonyRole($input: CreateColonyRoleInput!) { - createColonyRole(input: $input) { - id + mutation CreateColonyRole($input: CreateColonyRoleInput!) { + createColonyRole(input: $input) { + id + } } -} - `; +`; export const UpdateColonyRoleDocument = gql` - mutation UpdateColonyRole($input: UpdateColonyRoleInput!) { - updateColonyRole(input: $input) { - id + mutation UpdateColonyRole($input: UpdateColonyRoleInput!) { + updateColonyRole(input: $input) { + id + } } -} - `; +`; export const CreateColonyHistoricRoleDocument = gql` - mutation CreateColonyHistoricRole($input: CreateColonyHistoricRoleInput!) { - createColonyHistoricRole(input: $input) { - id + mutation CreateColonyHistoricRole($input: CreateColonyHistoricRoleInput!) { + createColonyHistoricRole(input: $input) { + id + } } -} - `; +`; export const UpdateReputationMiningCycleMetadataDocument = gql` - mutation UpdateReputationMiningCycleMetadata($input: UpdateReputationMiningCycleMetadataInput!) { - updateReputationMiningCycleMetadata(input: $input) { - id + mutation UpdateReputationMiningCycleMetadata( + $input: UpdateReputationMiningCycleMetadataInput! + ) { + updateReputationMiningCycleMetadata(input: $input) { + id + } } -} - `; +`; export const CreateReputationMiningCycleMetadataDocument = gql` - mutation CreateReputationMiningCycleMetadata($input: CreateReputationMiningCycleMetadataInput!) { - createReputationMiningCycleMetadata(input: $input) { - id + mutation CreateReputationMiningCycleMetadata( + $input: CreateReputationMiningCycleMetadataInput! + ) { + createReputationMiningCycleMetadata(input: $input) { + id + } } -} - `; +`; export const CreateUserStakeDocument = gql` - mutation CreateUserStake($input: CreateUserStakeInput!) { - createUserStake(input: $input) { - id + mutation CreateUserStake($input: CreateUserStakeInput!) { + createUserStake(input: $input) { + id + } } -} - `; +`; export const UpdateUserStakeDocument = gql` - mutation UpdateUserStake($input: UpdateUserStakeInput!) { - updateUserStake(input: $input) { - id + mutation UpdateUserStake($input: UpdateUserStakeInput!) { + updateUserStake(input: $input) { + id + } } -} - `; +`; export const CreateStatsDocument = gql` - mutation CreateStats($value: String!) { - createIngestorStats(input: {id: "STATS", value: $value}) { - id + mutation CreateStats($value: String!) { + createIngestorStats(input: { id: "STATS", value: $value }) { + id + } } -} - `; +`; export const UpdateStatsDocument = gql` - mutation UpdateStats($value: String!) { - updateIngestorStats(input: {id: "STATS", value: $value}) { - id + mutation UpdateStats($value: String!) { + updateIngestorStats(input: { id: "STATS", value: $value }) { + id + } } -} - `; +`; export const DeleteColonyTokensDocument = gql` - mutation DeleteColonyTokens($input: DeleteColonyTokensInput!) { - deleteColonyTokens(input: $input) { - id + mutation DeleteColonyTokens($input: DeleteColonyTokensInput!) { + deleteColonyTokens(input: $input) { + id + } } -} - `; +`; export const GetColonyActionDocument = gql` - query GetColonyAction($transactionHash: ID!) { - getColonyAction(id: $transactionHash) { - id + query GetColonyAction($transactionHash: ID!) { + getColonyAction(id: $transactionHash) { + id + } } -} - `; +`; export const GetMotionIdFromActionDocument = gql` - query GetMotionIdFromAction($id: ID!) { - getColonyAction(id: $id) { - motionData { - id + query GetMotionIdFromAction($id: ID!) { + getColonyAction(id: $id) { + motionData { + id + } } } -} - `; +`; export const GetActionIdFromAnnotationDocument = gql` - query GetActionIdFromAnnotation($id: ID!) { - getAnnotation(id: $id) { - actionId + query GetActionIdFromAnnotation($id: ID!) { + getAnnotation(id: $id) { + actionId + } } -} - `; +`; export const GetActionByIdDocument = gql` - query GetActionById($id: ID!) { - getColonyAction(id: $id) { - id - type - expenditureSlotChanges { - oldSlots { - ...ExpenditureSlot - } - newSlots { - ...ExpenditureSlot + query GetActionById($id: ID!) { + getColonyAction(id: $id) { + id + type + expenditureSlotChanges { + oldSlots { + ...ExpenditureSlot + } + newSlots { + ...ExpenditureSlot + } } } } -} - ${ExpenditureSlot}`; + ${ExpenditureSlot} +`; export const GetColonyMetadataDocument = gql` - query GetColonyMetadata($id: ID!) { - getColonyMetadata(id: $id) { - ...ColonyMetadata - etherealData { - colonyAvatar - colonyDisplayName - colonyName - colonyThumbnail - initiatorAddress - tokenAvatar - tokenThumbnail + query GetColonyMetadata($id: ID!) { + getColonyMetadata(id: $id) { + ...ColonyMetadata + etherealData { + colonyAvatar + colonyDisplayName + colonyName + colonyThumbnail + initiatorAddress + tokenAvatar + tokenThumbnail + } } } -} - ${ColonyMetadata}`; + ${ColonyMetadata} +`; export const GetColonyDocument = gql` - query GetColony($id: ID!, $nextToken: String) { - getColony(id: $id) { - ...Colony - } - getColonyByAddress(id: $id) { - items { - id - name + query GetColony($id: ID!, $nextToken: String) { + getColony(id: $id) { + ...Colony } - } - getColonyByType(type: METACOLONY) { - items { - id - name + getColonyByAddress(id: $id) { + items { + id + name + } + } + getColonyByType(type: METACOLONY) { + items { + id + name + } } } -} - ${Colony}`; + ${Colony} +`; export const GetColonyByNameDocument = gql` - query GetColonyByName($name: String!) { - getColonyByName(name: $name) { - items { - id - name + query GetColonyByName($name: String!) { + getColonyByName(name: $name) { + items { + id + name + } } } -} - `; +`; export const GetColonyByNativeTokenIdDocument = gql` - query GetColonyByNativeTokenId($nativeTokenId: ID!, $limit: Int, $nextToken: String) { - getColoniesByNativeTokenId( - nativeTokenId: $nativeTokenId - limit: $limit - nextToken: $nextToken + query GetColonyByNativeTokenId( + $nativeTokenId: ID! + $limit: Int + $nextToken: String ) { - items { - id - status { - nativeToken { - unlocked - unlockable - mintable + getColoniesByNativeTokenId( + nativeTokenId: $nativeTokenId + limit: $limit + nextToken: $nextToken + ) { + items { + id + status { + nativeToken { + unlocked + unlockable + mintable + } + recovery } - recovery } + nextToken } - nextToken } -} - `; +`; export const ListColoniesDocument = gql` - query ListColonies($nextToken: String) { - listColonies(limit: 1000, nextToken: $nextToken) { - nextToken - items { - id - nativeTokenId + query ListColonies($nextToken: String) { + listColonies(limit: 1000, nextToken: $nextToken) { + nextToken + items { + id + nativeTokenId + } } } -} - `; +`; export const GetColonyContributorDocument = gql` - query GetColonyContributor($id: ID!) { - getColonyContributor(id: $id) { - id - isVerified + query GetColonyContributor($id: ID!) { + getColonyContributor(id: $id) { + id + isVerified + } } -} - `; +`; export const GetCurrentVersionDocument = gql` - query GetCurrentVersion($key: String!) { - getCurrentVersionByKey(key: $key) { - items { - id - version + query GetCurrentVersion($key: String!) { + getCurrentVersionByKey(key: $key) { + items { + id + version + } } } -} - `; +`; export const GetColonyDecisionByActionIdDocument = gql` - query GetColonyDecisionByActionId($actionId: ID!) { - getColonyDecisionByActionId(actionId: $actionId) { - items { - id + query GetColonyDecisionByActionId($actionId: ID!) { + getColonyDecisionByActionId(actionId: $actionId) { + items { + id + } } } -} - `; +`; export const GetDomainMetadataDocument = gql` - query GetDomainMetadata($id: ID!) { - getDomainMetadata(id: $id) { - color - description - id - name - changelog { - newColor - newDescription - newName - oldColor - oldDescription - oldName - transactionHash + query GetDomainMetadata($id: ID!) { + getDomainMetadata(id: $id) { + color + description + id + name + changelog { + newColor + newDescription + newName + oldColor + oldDescription + oldName + transactionHash + } } } -} - `; +`; export const GetDomainByNativeSkillIdDocument = gql` - query GetDomainByNativeSkillId($nativeSkillId: String!, $colonyAddress: ID!) { - getDomainByNativeSkillId( - nativeSkillId: $nativeSkillId - filter: {colonyId: {eq: $colonyAddress}} - ) { - items { - id - nativeSkillId - nativeId + query GetDomainByNativeSkillId($nativeSkillId: String!, $colonyAddress: ID!) { + getDomainByNativeSkillId( + nativeSkillId: $nativeSkillId + filter: { colonyId: { eq: $colonyAddress } } + ) { + items { + id + nativeSkillId + nativeId + } } } -} - `; +`; export const GetDomainsByExtensionAddressDocument = gql` - query GetDomainsByExtensionAddress($extensionAddress: ID!) { - listColonyExtensions(filter: {id: {eq: $extensionAddress}}) { - items { - colony { - domains { - items { - nativeSkillId - nativeId + query GetDomainsByExtensionAddress($extensionAddress: ID!) { + listColonyExtensions(filter: { id: { eq: $extensionAddress } }) { + items { + colony { + domains { + items { + nativeSkillId + nativeId + } } + id } - id } } } -} - `; +`; export const GetContractEventDocument = gql` - query GetContractEvent($id: ID!) { - getContractEvent(id: $id) { - id + query GetContractEvent($id: ID!) { + getContractEvent(id: $id) { + id + } } -} - `; +`; export const GetExpenditureDocument = gql` - query GetExpenditure($id: ID!) { - getExpenditure(id: $id) { - ...Expenditure + query GetExpenditure($id: ID!) { + getExpenditure(id: $id) { + ...Expenditure + } } -} - ${Expenditure}`; + ${Expenditure} +`; export const GetExpenditureByNativeFundingPotIdAndColonyDocument = gql` - query GetExpenditureByNativeFundingPotIdAndColony($nativeFundingPotId: Int!, $colonyAddress: ID!) { - getExpendituresByNativeFundingPotIdAndColony( - nativeFundingPotId: $nativeFundingPotId - colonyId: {eq: $colonyAddress} + query GetExpenditureByNativeFundingPotIdAndColony( + $nativeFundingPotId: Int! + $colonyAddress: ID! ) { - items { - ...Expenditure + getExpendituresByNativeFundingPotIdAndColony( + nativeFundingPotId: $nativeFundingPotId + colonyId: { eq: $colonyAddress } + ) { + items { + ...Expenditure + } } } -} - ${Expenditure}`; + ${Expenditure} +`; export const GetStreamingPaymentDocument = gql` - query GetStreamingPayment($id: ID!) { - getStreamingPayment(id: $id) { - id - payouts { - amount - tokenAddress - isClaimed + query GetStreamingPayment($id: ID!) { + getStreamingPayment(id: $id) { + id + payouts { + amount + tokenAddress + isClaimed + } } } -} - `; +`; export const GetColonyExtensionDocument = gql` - query GetColonyExtension($id: ID!) { - getColonyExtension(id: $id) { - ...Extension + query GetColonyExtension($id: ID!) { + getColonyExtension(id: $id) { + ...Extension + } } -} - ${Extension}`; + ${Extension} +`; export const GetColonyExtensionsByColonyAddressDocument = gql` - query GetColonyExtensionsByColonyAddress($colonyAddress: ID!) { - getExtensionByColonyAndHash(colonyId: $colonyAddress) { - items { - ...Extension + query GetColonyExtensionsByColonyAddress($colonyAddress: ID!) { + getExtensionByColonyAndHash(colonyId: $colonyAddress) { + items { + ...Extension + } } } -} - ${Extension}`; + ${Extension} +`; export const ListExtensionsDocument = gql` - query ListExtensions($hash: String!, $nextToken: String) { - getExtensionsByHash( - hash: $hash - limit: 1000 - nextToken: $nextToken - filter: {isDeleted: {eq: false}} - ) { - nextToken - items { - ...Extension + query ListExtensions($hash: String!, $nextToken: String) { + getExtensionsByHash( + hash: $hash + limit: 1000 + nextToken: $nextToken + filter: { isDeleted: { eq: false } } + ) { + nextToken + items { + ...Extension + } } } -} - ${Extension}`; + ${Extension} +`; export const GetColonyExtensionByHashAndColonyDocument = gql` - query GetColonyExtensionByHashAndColony($colonyAddress: ID!, $extensionHash: String!) { - getExtensionByColonyAndHash( - colonyId: $colonyAddress - hash: {eq: $extensionHash} - filter: {isDeleted: {eq: false}} + query GetColonyExtensionByHashAndColony( + $colonyAddress: ID! + $extensionHash: String! ) { - items { - id + getExtensionByColonyAndHash( + colonyId: $colonyAddress + hash: { eq: $extensionHash } + filter: { isDeleted: { eq: false } } + ) { + items { + id + } } } -} - `; +`; export const GetExtensionInstallationsCountDocument = gql` - query GetExtensionInstallationsCount($id: ID!) { - getExtensionInstallationsCount(id: $id) { - oneTxPayment - stakedExpenditure - stagedExpenditure - streamingPayments - reputationWeighted - multiSigPermissions + query GetExtensionInstallationsCount($id: ID!) { + getExtensionInstallationsCount(id: $id) { + oneTxPayment + stakedExpenditure + stagedExpenditure + streamingPayments + reputationWeighted + multiSigPermissions + } } -} - `; +`; export const GetColonyExtensionByAddressDocument = gql` - query GetColonyExtensionByAddress($extensionAddress: ID!) { - getColonyExtension(id: $extensionAddress) { - params { - multiSig { - colonyThreshold - domainThresholds { - domainId - domainThreshold + query GetColonyExtensionByAddress($extensionAddress: ID!) { + getColonyExtension(id: $extensionAddress) { + params { + multiSig { + colonyThreshold + domainThresholds { + domainId + domainThreshold + } } } + colonyId } - colonyId } -} - `; +`; export const GetColonyUnclaimedFundsDocument = gql` - query GetColonyUnclaimedFunds($colonyAddress: ID!, $tokenAddress: ID!, $upToBlock: Int = 1) { - listColonyFundsClaims( - filter: {colonyFundsClaimsId: {eq: $colonyAddress}, colonyFundsClaimTokenId: {eq: $tokenAddress}, createdAtBlock: {le: $upToBlock}, isClaimed: {ne: true}} + query GetColonyUnclaimedFunds( + $colonyAddress: ID! + $tokenAddress: ID! + $upToBlock: Int = 1 ) { - items { - id + listColonyFundsClaims( + filter: { + colonyFundsClaimsId: { eq: $colonyAddress } + colonyFundsClaimTokenId: { eq: $tokenAddress } + createdAtBlock: { le: $upToBlock } + isClaimed: { ne: true } + } + ) { + items { + id + } } } -} - `; +`; export const GetColonyUnclaimedFundDocument = gql` - query GetColonyUnclaimedFund($claimId: ID!) { - getColonyFundsClaim(id: $claimId) { - id + query GetColonyUnclaimedFund($claimId: ID!) { + getColonyFundsClaim(id: $claimId) { + id + } } -} - `; +`; export const GetCurrentNetworkInverseFeeDocument = gql` - query GetCurrentNetworkInverseFee { - listCurrentNetworkInverseFees(limit: 1) { - items { - id - inverseFee + query GetCurrentNetworkInverseFee { + listCurrentNetworkInverseFees(limit: 1) { + items { + id + inverseFee + } } } -} - `; +`; export const GetColonyActionByMotionIdDocument = gql` - query GetColonyActionByMotionId($motionId: ID!) { - getColonyActionByMotionId(motionId: $motionId) { - items { - ...ActionMetadataInfo + query GetColonyActionByMotionId($motionId: ID!) { + getColonyActionByMotionId(motionId: $motionId) { + items { + ...ActionMetadataInfo + } } } -} - ${ActionMetadataInfo}`; + ${ActionMetadataInfo} +`; export const GetColonyMotionDocument = gql` - query GetColonyMotion($id: ID!) { - getColonyMotion(id: $id) { - ...ColonyMotion + query GetColonyMotion($id: ID!) { + getColonyMotion(id: $id) { + ...ColonyMotion + } } -} - ${ColonyMotion}`; + ${ColonyMotion} +`; export const GetVoterRewardsDocument = gql` - query GetVoterRewards($input: GetVoterRewardsInput!) { - getVoterRewards(input: $input) { - min - max - reward + query GetVoterRewards($input: GetVoterRewardsInput!) { + getVoterRewards(input: $input) { + min + max + reward + } } -} - `; +`; export const GetColonyActionByMultiSigIdDocument = gql` - query GetColonyActionByMultiSigId($multiSigId: ID!) { - getColonyActionByMultiSigId(multiSigId: $multiSigId) { - items { - ...ActionMetadataInfo + query GetColonyActionByMultiSigId($multiSigId: ID!) { + getColonyActionByMultiSigId(multiSigId: $multiSigId) { + items { + ...ActionMetadataInfo + } } } -} - ${ActionMetadataInfo}`; + ${ActionMetadataInfo} +`; export const GetColonyMultiSigDocument = gql` - query GetColonyMultiSig($id: ID!) { - getColonyMultiSig(id: $id) { - ...ColonyMultiSig + query GetColonyMultiSig($id: ID!) { + getColonyMultiSig(id: $id) { + ...ColonyMultiSig + } } -} - ${ColonyMultiSig}`; + ${ColonyMultiSig} +`; export const GetUserMultiSigSignatureDocument = gql` - query GetUserMultiSigSignature($multiSigId: ID!, $userAddress: ID!, $vote: MultiSigVote!, $role: Int!) { - getMultiSigUserSignatureByMultiSigId( - filter: {userAddress: {eq: $userAddress}, vote: {eq: $vote}, role: {eq: $role}} - multiSigId: $multiSigId + query GetUserMultiSigSignature( + $multiSigId: ID! + $userAddress: ID! + $vote: MultiSigVote! + $role: Int! ) { - items { - ...MultiSigUserSignature + getMultiSigUserSignatureByMultiSigId( + filter: { + userAddress: { eq: $userAddress } + vote: { eq: $vote } + role: { eq: $role } + } + multiSigId: $multiSigId + ) { + items { + ...MultiSigUserSignature + } } } -} - ${MultiSigUserSignature}`; + ${MultiSigUserSignature} +`; export const GetAllMultiSigRolesDocument = gql` - query GetAllMultiSigRoles($colonyAddress: ID!) { - getRoleByColony( - colonyAddress: $colonyAddress - limit: 9999 - filter: {isMultiSig: {eq: true}} - ) { - items { - id + query GetAllMultiSigRoles($colonyAddress: ID!) { + getRoleByColony( + colonyAddress: $colonyAddress + limit: 9999 + filter: { isMultiSig: { eq: true } } + ) { + items { + id + } } } -} - `; +`; export const GetActiveColonyMultisigsDocument = gql` - query GetActiveColonyMultisigs($colonyAddress: ID!) { - getMultiSigByColonyAddress( - colonyAddress: $colonyAddress - filter: {isExecuted: {eq: false}, isRejected: {eq: false}} - limit: 9999 - ) { - items { - id + query GetActiveColonyMultisigs($colonyAddress: ID!) { + getMultiSigByColonyAddress( + colonyAddress: $colonyAddress + filter: { isExecuted: { eq: false }, isRejected: { eq: false } } + limit: 9999 + ) { + items { + id + } } } -} - `; +`; export const GetColonyRoleDocument = gql` - query GetColonyRole($id: ID!) { - getColonyRole(id: $id) { - id - latestBlock - role_0 - role_1 - role_2 - role_3 - role_5 - role_6 - } -} - `; -export const GetAllColonyRolesDocument = gql` - query GetAllColonyRoles($targetAddress: ID!, $colonyAddress: ID!) { - getRoleByTargetAddressAndColony( - targetAddress: $targetAddress - colonyAddress: {eq: $colonyAddress} - ) { - items { + query GetColonyRole($id: ID!) { + getColonyRole(id: $id) { id + latestBlock role_0 role_1 role_2 @@ -11326,50 +12353,67 @@ export const GetAllColonyRolesDocument = gql` role_6 } } -} - `; +`; +export const GetAllColonyRolesDocument = gql` + query GetAllColonyRoles($targetAddress: ID!, $colonyAddress: ID!) { + getRoleByTargetAddressAndColony( + targetAddress: $targetAddress + colonyAddress: { eq: $colonyAddress } + ) { + items { + id + role_0 + role_1 + role_2 + role_3 + role_5 + role_6 + } + } + } +`; export const GetColonyHistoricRoleDocument = gql` - query GetColonyHistoricRole($id: ID!) { - getColonyHistoricRole(id: $id) { - id + query GetColonyHistoricRole($id: ID!) { + getColonyHistoricRole(id: $id) { + id + } } -} - `; +`; export const GetReputationMiningCycleMetadataDocument = gql` - query GetReputationMiningCycleMetadata($id: ID!) { - getReputationMiningCycleMetadata(id: $id) { - id + query GetReputationMiningCycleMetadata($id: ID!) { + getReputationMiningCycleMetadata(id: $id) { + id + } } -} - `; +`; export const GetSafeTransactionByTransactionHashDocument = gql` - query GetSafeTransactionByTransactionHash($transactionHash: ID!) { - getSafeTransaction(id: $transactionHash) { - id + query GetSafeTransactionByTransactionHash($transactionHash: ID!) { + getSafeTransaction(id: $transactionHash) { + id + } } -} - `; +`; export const GetUserStakeDocument = gql` - query GetUserStake($id: ID!) { - getUserStake(id: $id) { - id - amount + query GetUserStake($id: ID!) { + getUserStake(id: $id) { + id + amount + } } -} - `; +`; export const GetStatsDocument = gql` - query GetStats { - getIngestorStats(id: "STATS") { - value + query GetStats { + getIngestorStats(id: "STATS") { + value + } } -} - `; +`; export const GetTokenFromEverywhereDocument = gql` - query GetTokenFromEverywhere($input: TokenFromEverywhereArguments!) { - getTokenFromEverywhere(input: $input) { - items { - id + query GetTokenFromEverywhere($input: TokenFromEverywhereArguments!) { + getTokenFromEverywhere(input: $input) { + items { + id + } } } -} - `; \ No newline at end of file +`; diff --git a/src/handlers/expenditures/expenditureMadeStaged.ts b/src/handlers/expenditures/expenditureMadeStaged.ts index 179d77a7..4d0e8f4e 100644 --- a/src/handlers/expenditures/expenditureMadeStaged.ts +++ b/src/handlers/expenditures/expenditureMadeStaged.ts @@ -29,6 +29,7 @@ export const handleExpenditureMadeStaged: EventHandler = async ( input: { id: getExpenditureDatabaseId(colonyAddress, convertedExpenditureId), type: ExpenditureType.Staged, + stagedExpenditureAddress: event.contractAddress, }, }, ); diff --git a/src/handlers/expenditures/expenditureMadeViaStake.ts b/src/handlers/expenditures/expenditureMadeViaStake.ts index a8a56835..9cacedd2 100644 --- a/src/handlers/expenditures/expenditureMadeViaStake.ts +++ b/src/handlers/expenditures/expenditureMadeViaStake.ts @@ -21,7 +21,7 @@ export const handleExpenditureMadeViaStake: EventHandler = async ( event, listener, ) => { - const { transactionHash } = event; + const { transactionHash, contractAddress } = event; const { expenditureId, stake, creator } = event.args; const convertedExpenditureId = toNumber(expenditureId); const { colonyAddress } = listener as ExtensionEventListener; @@ -52,6 +52,7 @@ export const handleExpenditureMadeViaStake: EventHandler = async ( id: databaseId, isStaked: true, userStakeId: stakeDatabaseId, + stakedExpenditureAddress: contractAddress, }, }, );