diff --git a/apps/main-chain/src/handlers/colonies/colonyAdded.ts b/apps/main-chain/src/handlers/colonies/colonyAdded.ts index ce673e559..2dd788b07 100644 --- a/apps/main-chain/src/handlers/colonies/colonyAdded.ts +++ b/apps/main-chain/src/handlers/colonies/colonyAdded.ts @@ -19,6 +19,10 @@ import { getColonyContributorId } from '~utils/contributors'; import { tryFetchGraphqlQuery } from '~utils/graphql'; import { createUniqueColony } from './helpers/createUniqueColony'; import { output } from '@joincolony/utils'; +import rpcProvider from '~provider'; +import networkClient from '~networkClient'; +import { getTransactionSignerAddress } from '~utils/transactions'; +import { getColonyCreationSalt } from './helpers/validateCreationSalt'; export default async (event: ContractEvent): Promise => { const { transactionHash, args, blockNumber } = event; @@ -70,13 +74,22 @@ export default async (event: ContractEvent): Promise => { 0, ContractEventsSignatures.ColonyRoleSet.indexOf('('), ); - const { args: { user: colonyFounderAddress }, } = events.find((event) => event?.name === ColonyRoleSetEventName) ?? { args: { user: '' }, }; + let generatedColonySalt = ''; + + // We don't really want to block colony creation if there's something wrong with salt calculation + try { + generatedColonySalt = + (await getColonyCreationSalt(blockNumber, transactionHash)) || ''; + } catch (error) { + // Most likely there was an error retrieving this transaction + } + try { /* * Create the colony entry in the database @@ -86,7 +99,10 @@ export default async (event: ContractEvent): Promise => { tokenAddress: utils.getAddress(tokenAddress), transactionHash, initiatorAddress: utils.getAddress(colonyFounderAddress), - createdAtBlock: blockNumber, + colonyCreateEvent: { + blockNumber, + creationSalt: generatedColonySalt, + }, }); } catch (error) { console.error(error); diff --git a/apps/main-chain/src/handlers/colonies/helpers/createUniqueColony.ts b/apps/main-chain/src/handlers/colonies/helpers/createUniqueColony.ts index ccd38b396..96e0d681b 100644 --- a/apps/main-chain/src/handlers/colonies/helpers/createUniqueColony.ts +++ b/apps/main-chain/src/handlers/colonies/helpers/createUniqueColony.ts @@ -38,6 +38,7 @@ import { GetTokenFromEverywhereDocument, GetTokenFromEverywhereQuery, GetTokenFromEverywhereQueryVariables, + ColonyCreateEvent, } from '@joincolony/graphql'; import rpcProvider from '~provider'; import { getCachedColonyClient } from '~utils/clients/colony'; @@ -47,13 +48,13 @@ export const createUniqueColony = async ({ tokenAddress, transactionHash, initiatorAddress, - createdAtBlock, + colonyCreateEvent, }: { colonyAddress: string; tokenAddress: string; transactionHash: string; initiatorAddress: string; - createdAtBlock: number; + colonyCreateEvent: ColonyCreateEvent; }): Promise => { /* * Validate Colony and Token addresses @@ -217,7 +218,7 @@ export const createUniqueColony = async ({ chainMetadata: { chainId, }, - createdAtBlock, + colonyCreateEvent, version: version.toNumber(), status: { nativeToken: { diff --git a/apps/main-chain/src/handlers/colonies/helpers/validateCreationSalt.ts b/apps/main-chain/src/handlers/colonies/helpers/validateCreationSalt.ts new file mode 100644 index 000000000..b5aed01f4 --- /dev/null +++ b/apps/main-chain/src/handlers/colonies/helpers/validateCreationSalt.ts @@ -0,0 +1,71 @@ +import { verbose } from '@joincolony/utils'; +import { utils } from 'ethers'; +import rpcProvider from '~provider'; +import networkClient from '~networkClient'; +import { getTransactionSignerAddress } from '~utils/transactions'; + +const ContractCreationEvents = { + Create3ProxyContractCreation: 'Create3ProxyContractCreation(address,bytes32)', +}; + +export const getColonyCreationSalt = async ( + blockNumber: number, + transactionHash: string, +): Promise => { + const create3ProxyLogs = await rpcProvider.getProviderInstance().getLogs({ + fromBlock: blockNumber, + toBlock: blockNumber, + topics: [utils.id(ContractCreationEvents.Create3ProxyContractCreation)], + }); + + if (create3ProxyLogs.length === 0) { + verbose(`Couldn't fetch colony proxy contract creation events`); + return null; + } + + const create3ProxySalt = create3ProxyLogs[0].topics[2]; + + if (!create3ProxySalt) { + verbose( + `The Create3ProxyContractCreation log doesn't have the salt data: ${JSON.stringify(create3ProxyLogs[0], null, 2)}`, + ); + return null; + } + + const transaction = await rpcProvider + .getProviderInstance() + .getTransaction(transactionHash); + + const signerAddress = getTransactionSignerAddress(transaction); + + if (!signerAddress) { + verbose( + `Couldn't find the signer for transaction with txHash: ${transactionHash}`, + ); + return null; + } + + const generatedColonySalt = await networkClient.getColonyCreationSalt({ + blockTag: blockNumber, + from: signerAddress, + }); + + const guardedSalt = utils.keccak256( + utils.defaultAbiCoder.encode( + ['bytes32', 'bytes32'], + [ + utils.hexZeroPad(networkClient.address, 32), + generatedColonySalt, // Actual salt + ], + ), + ); + + if (guardedSalt !== create3ProxySalt) { + verbose( + `The network salt doesn't match the salt used when creating the colony!`, + ); + return null; + } + + return generatedColonySalt; +}; diff --git a/apps/main-chain/src/utils/transactions.ts b/apps/main-chain/src/utils/transactions.ts new file mode 100644 index 000000000..19bdcf3e5 --- /dev/null +++ b/apps/main-chain/src/utils/transactions.ts @@ -0,0 +1,23 @@ +import { utils, Transaction } from 'ethers'; + +const MetatransactionInterface = new utils.Interface([ + 'function executeMetaTransaction(address userAddress, bytes memory payload, bytes32 sigR, bytes32 sigS, uint8 sigV) external payable returns (bytes memory)', +]); + +export const getTransactionSignerAddress = ( + transaction: Transaction, +): string | undefined => { + let signerAddress = transaction.from; + + try { + const metaTx = MetatransactionInterface.parseTransaction({ + data: transaction.data, + value: transaction.value, + }); + signerAddress = metaTx.args[0]; + } catch (error) { + // if it's an error, it just means it's not a metatransaction + } + + return signerAddress; +}; diff --git a/packages/graphql/src/generated.ts b/packages/graphql/src/generated.ts index 1c922b5de..eb8ae7229 100644 --- a/packages/graphql/src/generated.ts +++ b/packages/graphql/src/generated.ts @@ -1,15 +1,9 @@ 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; @@ -285,7 +279,7 @@ export enum ClientType { TokenLockingClient = 'TokenLockingClient', TokenSupplierClient = 'TokenSupplierClient', VotingReputationClient = 'VotingReputationClient', - WhitelistClient = 'WhitelistClient', + WhitelistClient = 'WhitelistClient' } /** Represents a Colony within the Colony Network */ @@ -301,6 +295,8 @@ export type Colony = { chainFundsClaim?: Maybe; /** Metadata related to the chain of the Colony */ chainMetadata: ChainMetadata; + /** Colony creation data */ + colonyCreateEvent?: Maybe; /** * The main member invite object * It is possible to create multiple member invites for a given colony @@ -310,8 +306,6 @@ export type Colony = { /** ID of the main member invite object */ colonyMemberInviteCode?: Maybe; createdAt: Scalars['AWSDateTime']; - /** The block number the colony was created attached */ - createdAtBlock?: Maybe; domains?: Maybe; expenditures?: Maybe; /** Global claim delay for expenditures (in seconds) */ @@ -347,6 +341,7 @@ export type Colony = { version: Scalars['Int']; }; + /** Represents a Colony within the Colony Network */ export type ColonyActionsArgs = { filter?: InputMaybe; @@ -355,6 +350,7 @@ export type ColonyActionsArgs = { sortDirection?: InputMaybe; }; + /** Represents a Colony within the Colony Network */ export type ColonyDomainsArgs = { filter?: InputMaybe; @@ -364,6 +360,7 @@ export type ColonyDomainsArgs = { sortDirection?: InputMaybe; }; + /** Represents a Colony within the Colony Network */ export type ColonyExpendituresArgs = { createdAt?: InputMaybe; @@ -373,6 +370,7 @@ export type ColonyExpendituresArgs = { sortDirection?: InputMaybe; }; + /** Represents a Colony within the Colony Network */ export type ColonyExtensionsArgs = { filter?: InputMaybe; @@ -382,6 +380,7 @@ export type ColonyExtensionsArgs = { sortDirection?: InputMaybe; }; + /** Represents a Colony within the Colony Network */ export type ColonyFundsClaimDataArgs = { createdAt?: InputMaybe; @@ -391,6 +390,7 @@ export type ColonyFundsClaimDataArgs = { sortDirection?: InputMaybe; }; + /** Represents a Colony within the Colony Network */ export type ColonyRolesArgs = { filter?: InputMaybe; @@ -399,6 +399,7 @@ export type ColonyRolesArgs = { sortDirection?: InputMaybe; }; + /** Represents a Colony within the Colony Network */ export type ColonyTokensArgs = { filter?: InputMaybe; @@ -717,7 +718,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 */ @@ -817,6 +818,7 @@ export type ColonyContributor = { user?: Maybe; }; + /** The ColonyContributor model represents a contributor to the Colony. */ export type ColonyContributorReputationArgs = { colonyAddress?: InputMaybe; @@ -826,6 +828,7 @@ export type ColonyContributorReputationArgs = { sortDirection?: InputMaybe; }; + /** The ColonyContributor model represents a contributor to the Colony. */ export type ColonyContributorRolesArgs = { colonyAddress?: InputMaybe; @@ -835,6 +838,19 @@ export type ColonyContributorRolesArgs = { sortDirection?: InputMaybe; }; +export type ColonyCreateEvent = { + __typename?: 'ColonyCreateEvent'; + /** The block number the colony was created at */ + blockNumber: Scalars['Int']; + /** The salt used during creation */ + creationSalt: Scalars['String']; +}; + +export type ColonyCreateEventInput = { + blockNumber: Scalars['Int']; + creationSalt: Scalars['String']; +}; + export type ColonyDecision = { __typename?: 'ColonyDecision'; action?: Maybe; @@ -1127,6 +1143,7 @@ export type ColonyMotion = { voterRewards?: Maybe; }; + /** Represents a Motion within a Colony */ export type ColonyMotionMessagesArgs = { createdAt?: InputMaybe; @@ -1136,6 +1153,7 @@ export type ColonyMotionMessagesArgs = { sortDirection?: InputMaybe; }; + /** Represents a Motion within a Colony */ export type ColonyMotionVoterRewardsArgs = { createdAt?: InputMaybe; @@ -1194,6 +1212,7 @@ export type ColonyMultiSig = { updatedAt: Scalars['AWSDateTime']; }; + /** Represents a MultiSig motion within a Colony */ export type ColonyMultiSigSignaturesArgs = { filter?: InputMaybe; @@ -1304,7 +1323,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 */ @@ -1383,7 +1402,7 @@ export enum ContributorType { Dedicated = 'DEDICATED', General = 'GENERAL', New = 'NEW', - Top = 'TOP', + Top = 'TOP' } export type CreateAnnotationInput = { @@ -1542,8 +1561,8 @@ export type CreateColonyInput = { balances?: InputMaybe; chainFundsClaim?: InputMaybe; chainMetadata: ChainMetadataInput; + colonyCreateEvent?: InputMaybe; colonyMemberInviteCode?: InputMaybe; - createdAtBlock?: InputMaybe; expendituresGlobalClaimDelay?: InputMaybe; id?: InputMaybe; lastUpdatedContributorsWithReputation?: InputMaybe; @@ -2280,7 +2299,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 */ @@ -2391,6 +2410,7 @@ export type Expenditure = { userStakeId?: Maybe; }; + export type ExpenditureActionsArgs = { filter?: InputMaybe; limit?: InputMaybe; @@ -2398,6 +2418,7 @@ export type ExpenditureActionsArgs = { sortDirection?: InputMaybe; }; + export type ExpenditureMotionsArgs = { filter?: InputMaybe; limit?: InputMaybe; @@ -2513,12 +2534,12 @@ 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 { @@ -2532,7 +2553,7 @@ export enum ExtendedSupportedCurrencies { Jpy = 'JPY', Krw = 'KRW', Usd = 'USD', - Usdc = 'USDC', + Usdc = 'USDC' } export type ExtensionInstallationsCount = { @@ -2586,7 +2607,7 @@ export enum ExternalLinks { Telegram = 'Telegram', Twitter = 'Twitter', Whitepaper = 'Whitepaper', - Youtube = 'Youtube', + Youtube = 'Youtube' } export type FailedTransaction = { @@ -2601,7 +2622,7 @@ export enum FilteringMethod { /** Apply an intersection filter */ Intersection = 'INTERSECTION', /** Apply a union filter */ - Union = 'UNION', + Union = 'UNION' } export type FunctionParam = { @@ -2749,7 +2770,7 @@ export enum KycStatus { NotStarted = 'NOT_STARTED', Pending = 'PENDING', Rejected = 'REJECTED', - UnderReview = 'UNDER_REVIEW', + UnderReview = 'UNDER_REVIEW' } /** @@ -2819,7 +2840,7 @@ export enum ModelAttributeTypes { Number = 'number', NumberSet = 'numberSet', String = 'string', - StringSet = 'stringSet', + StringSet = 'stringSet' } export type ModelBooleanInput = { @@ -2983,7 +3004,6 @@ export type ModelColonyActionTypeInput = { export type ModelColonyConditionInput = { and?: InputMaybe>>; colonyMemberInviteCode?: InputMaybe; - createdAtBlock?: InputMaybe; expendituresGlobalClaimDelay?: InputMaybe; lastUpdatedContributorsWithReputation?: InputMaybe; name?: InputMaybe; @@ -3110,7 +3130,6 @@ export type ModelColonyExtensionFilterInput = { export type ModelColonyFilterInput = { and?: InputMaybe>>; colonyMemberInviteCode?: InputMaybe; - createdAtBlock?: InputMaybe; expendituresGlobalClaimDelay?: InputMaybe; id?: InputMaybe; lastUpdatedContributorsWithReputation?: InputMaybe; @@ -3493,14 +3512,10 @@ export type ModelContributorTypeInput = { }; export type ModelCurrentNetworkInverseFeeConditionInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; inverseFee?: InputMaybe; not?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelCurrentNetworkInverseFeeConnection = { @@ -3690,15 +3705,11 @@ export type ModelExpenditureTypeInput = { }; export type ModelExtensionInstallationsCountConditionInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; multiSigPermissions?: InputMaybe; not?: InputMaybe; oneTxPayment?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; reputationWeighted?: InputMaybe; stagedExpenditure?: InputMaybe; stakedExpenditure?: InputMaybe; @@ -3712,16 +3723,12 @@ export type ModelExtensionInstallationsCountConnection = { }; export type ModelExtensionInstallationsCountFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; id?: InputMaybe; multiSigPermissions?: InputMaybe; not?: InputMaybe; oneTxPayment?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; reputationWeighted?: InputMaybe; stagedExpenditure?: InputMaybe; stakedExpenditure?: InputMaybe; @@ -4033,14 +4040,10 @@ export type ModelProxyColonyFilterInput = { }; export type ModelReputationMiningCycleMetadataConditionInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; lastCompletedAt?: InputMaybe; not?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelReputationMiningCycleMetadataConnection = { @@ -4050,15 +4053,11 @@ export type ModelReputationMiningCycleMetadataConnection = { }; export type ModelReputationMiningCycleMetadataFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; id?: InputMaybe; lastCompletedAt?: InputMaybe; not?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelSafeTransactionConditionInput = { @@ -4132,7 +4131,7 @@ export type ModelSizeInput = { export enum ModelSortDirection { Asc = 'ASC', - Desc = 'DESC', + Desc = 'DESC' } export type ModelSplitPaymentDistributionTypeInput = { @@ -4179,15 +4178,11 @@ export type ModelStreamingPaymentFilterInput = { }; export type ModelStreamingPaymentMetadataConditionInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; endCondition?: InputMaybe; limitAmount?: InputMaybe; not?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelStreamingPaymentMetadataConnection = { @@ -4246,16 +4241,12 @@ export type ModelSubscriptionBooleanInput = { }; export type ModelSubscriptionCacheTotalBalanceFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; colonyAddress?: InputMaybe; date?: InputMaybe; domainId?: InputMaybe; id?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; timeframePeriod?: InputMaybe; timeframeType?: InputMaybe; totalUSDC?: InputMaybe; @@ -4302,20 +4293,14 @@ export type ModelSubscriptionColonyActionFilterInput = { }; export type ModelSubscriptionColonyActionMetadataFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; customTitle?: InputMaybe; id?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelSubscriptionColonyContributorFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; colonyAddress?: InputMaybe; colonyReputationPercentage?: InputMaybe; contributorAddress?: InputMaybe; @@ -4324,34 +4309,26 @@ export type ModelSubscriptionColonyContributorFilterInput = { id?: InputMaybe; isVerified?: InputMaybe; isWatching?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; type?: InputMaybe; }; export type ModelSubscriptionColonyDecisionFilterInput = { actionId?: InputMaybe; - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; colonyAddress?: InputMaybe; createdAt?: InputMaybe; description?: InputMaybe; id?: InputMaybe; motionDomainId?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; showInDecisionsList?: InputMaybe; title?: InputMaybe; walletAddress?: InputMaybe; }; export type ModelSubscriptionColonyExtensionFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; colonyId?: InputMaybe; hash?: InputMaybe; id?: InputMaybe; @@ -4360,16 +4337,13 @@ export type ModelSubscriptionColonyExtensionFilterInput = { isDeleted?: InputMaybe; isDeprecated?: InputMaybe; isInitialized?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; version?: InputMaybe; }; export type ModelSubscriptionColonyFilterInput = { and?: InputMaybe>>; colonyMemberInviteCode?: InputMaybe; - createdAtBlock?: InputMaybe; expendituresGlobalClaimDelay?: InputMaybe; id?: InputMaybe; lastUpdatedContributorsWithReputation?: InputMaybe; @@ -4384,32 +4358,24 @@ export type ModelSubscriptionColonyFilterInput = { export type ModelSubscriptionColonyFundsClaimFilterInput = { amount?: InputMaybe; - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; colonyFundsClaimsId?: InputMaybe; createdAt?: InputMaybe; createdAtBlock?: InputMaybe; id?: InputMaybe; isClaimed?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelSubscriptionColonyHistoricRoleFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; blockNumber?: InputMaybe; colonyId?: InputMaybe; createdAt?: InputMaybe; domainId?: InputMaybe; id?: InputMaybe; isMultiSig?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; role_0?: InputMaybe; role_1?: InputMaybe; role_2?: InputMaybe; @@ -4421,28 +4387,20 @@ export type ModelSubscriptionColonyHistoricRoleFilterInput = { }; export type ModelSubscriptionColonyMemberInviteFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; colonyId?: InputMaybe; id?: InputMaybe; invitesRemaining?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelSubscriptionColonyMetadataFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; avatar?: InputMaybe; description?: InputMaybe; displayName?: InputMaybe; id?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; thumbnail?: InputMaybe; }; @@ -4469,9 +4427,7 @@ export type ModelSubscriptionColonyMotionFilterInput = { }; export type ModelSubscriptionColonyMultiSigFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; colonyAddress?: InputMaybe; createdAt?: InputMaybe; executedAt?: InputMaybe; @@ -4484,9 +4440,7 @@ export type ModelSubscriptionColonyMultiSigFilterInput = { multiSigDomainId?: InputMaybe; nativeMultiSigDomainId?: InputMaybe; nativeMultiSigId?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; rejectedAt?: InputMaybe; rejectedBy?: InputMaybe; requiredPermissions?: InputMaybe; @@ -4520,9 +4474,7 @@ export type ModelSubscriptionColonyTokensFilterInput = { export type ModelSubscriptionContractEventFilterInput = { agent?: InputMaybe; - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; encodedArguments?: InputMaybe; id?: InputMaybe; name?: InputMaybe; @@ -4532,40 +4484,28 @@ export type ModelSubscriptionContractEventFilterInput = { }; export type ModelSubscriptionContributorReputationFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; colonyAddress?: InputMaybe; contributorAddress?: InputMaybe; domainId?: InputMaybe; id?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; reputationPercentage?: InputMaybe; reputationRaw?: InputMaybe; }; export type ModelSubscriptionCurrentNetworkInverseFeeFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; id?: InputMaybe; inverseFee?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelSubscriptionCurrentVersionFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; id?: InputMaybe; key?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; version?: InputMaybe; }; @@ -4583,16 +4523,12 @@ export type ModelSubscriptionDomainFilterInput = { }; export type ModelSubscriptionDomainMetadataFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; color?: InputMaybe; description?: InputMaybe; id?: InputMaybe; name?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelSubscriptionExpenditureFilterInput = { @@ -4617,29 +4553,21 @@ export type ModelSubscriptionExpenditureFilterInput = { }; export type ModelSubscriptionExpenditureMetadataFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; distributionType?: InputMaybe; expectedNumberOfPayouts?: InputMaybe; expectedNumberOfTokens?: InputMaybe; fundFromDomainNativeId?: InputMaybe; id?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelSubscriptionExtensionInstallationsCountFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; id?: InputMaybe; multiSigPermissions?: InputMaybe; oneTxPayment?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; reputationWeighted?: InputMaybe; stagedExpenditure?: InputMaybe; stakedExpenditure?: InputMaybe; @@ -4674,9 +4602,7 @@ export type ModelSubscriptionIdInput = { }; export type ModelSubscriptionIngestorStatsFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; chainId?: InputMaybe; id?: InputMaybe; or?: InputMaybe>>; @@ -4696,23 +4622,17 @@ export type ModelSubscriptionIntInput = { }; export type ModelSubscriptionLiquidationAddressFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; chainId?: InputMaybe; id?: InputMaybe; liquidationAddress?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; userAddress?: InputMaybe; }; export type ModelSubscriptionMotionMessageFilterInput = { amount?: InputMaybe; - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; createdAt?: InputMaybe; initiatorAddress?: InputMaybe; messageKey?: InputMaybe; @@ -4723,16 +4643,12 @@ export type ModelSubscriptionMotionMessageFilterInput = { }; export type ModelSubscriptionMultiSigUserSignatureFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; colonyAddress?: InputMaybe; createdAt?: InputMaybe; id?: InputMaybe; multiSigId?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; role?: InputMaybe; userAddress?: InputMaybe; vote?: InputMaybe; @@ -4740,28 +4656,20 @@ export type ModelSubscriptionMultiSigUserSignatureFilterInput = { export type ModelSubscriptionNotificationsDataFilterInput = { adminNotificationsDisabled?: InputMaybe; - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; magicbellUserId?: InputMaybe; mentionNotificationsDisabled?: InputMaybe; mutedColonyAddresses?: InputMaybe; notificationsDisabled?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; paymentNotificationsDisabled?: InputMaybe; userAddress?: InputMaybe; }; export type ModelSubscriptionPrivateBetaInviteCodeFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; id?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; shareableInvites?: InputMaybe; userId?: InputMaybe; }; @@ -4793,28 +4701,20 @@ export type ModelSubscriptionProxyColonyFilterInput = { }; export type ModelSubscriptionReputationMiningCycleMetadataFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; id?: InputMaybe; lastCompletedAt?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelSubscriptionSafeTransactionDataFilterInput = { abi?: InputMaybe; amount?: InputMaybe; - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; contractFunction?: InputMaybe; data?: InputMaybe; id?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; rawAmount?: InputMaybe; tokenAddress?: InputMaybe; transactionHash?: InputMaybe; @@ -4822,42 +4722,30 @@ export type ModelSubscriptionSafeTransactionDataFilterInput = { }; export type ModelSubscriptionSafeTransactionFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; id?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelSubscriptionStreamingPaymentFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; createdAt?: InputMaybe; endTime?: InputMaybe; id?: InputMaybe; interval?: InputMaybe; nativeDomainId?: InputMaybe; nativeId?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; recipientAddress?: InputMaybe; startTime?: InputMaybe; }; export type ModelSubscriptionStreamingPaymentMetadataFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; endCondition?: InputMaybe; id?: InputMaybe; limitAmount?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; }; export type ModelSubscriptionStringInput = { @@ -4876,13 +4764,9 @@ export type ModelSubscriptionStringInput = { }; export type ModelSubscriptionTokenExchangeRateFilterInput = { - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; date?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; tokenId?: InputMaybe; }; @@ -4961,16 +4845,12 @@ export type ModelSubscriptionUserTokensFilterInput = { export type ModelSubscriptionVoterRewardsHistoryFilterInput = { amount?: InputMaybe; - and?: InputMaybe< - Array> - >; + and?: InputMaybe>>; colonyAddress?: InputMaybe; createdAt?: InputMaybe; id?: InputMaybe; motionId?: InputMaybe; - or?: InputMaybe< - Array> - >; + or?: InputMaybe>>; userAddress?: InputMaybe; }; @@ -5414,7 +5294,7 @@ export type MultiSigUserSignature = { export enum MultiSigVote { Approve = 'Approve', None = 'None', - Reject = 'Reject', + Reject = 'Reject' } /** Root mutation type */ @@ -5575,856 +5455,1000 @@ 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 MutationCreateCacheTotalBalanceArgs = { condition?: InputMaybe; input: CreateCacheTotalBalanceInput; }; + /** 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 MutationCreateNotificationsDataArgs = { condition?: InputMaybe; input: CreateNotificationsDataInput; }; + /** 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 MutationCreateProxyColonyArgs = { condition?: InputMaybe; input: CreateProxyColonyInput; }; + /** 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 MutationCreateTokenExchangeRateArgs = { condition?: InputMaybe; input: CreateTokenExchangeRateInput; }; + /** 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 MutationCreateUserNotificationsDataArgs = { input: CreateUserNotificationsDataInput; }; + /** 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 MutationDeleteCacheTotalBalanceArgs = { condition?: InputMaybe; input: DeleteCacheTotalBalanceInput; }; + /** 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 MutationDeleteNotificationsDataArgs = { condition?: InputMaybe; input: DeleteNotificationsDataInput; }; + /** 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 MutationDeleteProxyColonyArgs = { condition?: InputMaybe; input: DeleteProxyColonyInput; }; + /** 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 MutationDeleteTokenExchangeRateArgs = { condition?: InputMaybe; input: DeleteTokenExchangeRateInput; }; + /** 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 = { condition?: InputMaybe; input: UpdateAnnotationInput; }; + /** Root mutation type */ export type MutationUpdateCacheTotalBalanceArgs = { condition?: InputMaybe; input: UpdateCacheTotalBalanceInput; }; + /** 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 MutationUpdateNotificationsDataArgs = { condition?: InputMaybe; input: UpdateNotificationsDataInput; }; + /** 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 MutationUpdateProxyColonyArgs = { condition?: InputMaybe; input: UpdateProxyColonyInput; }; + /** 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 MutationUpdateTokenExchangeRateArgs = { condition?: InputMaybe; input: UpdateTokenExchangeRateInput; }; + /** 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; @@ -6512,7 +6536,7 @@ export enum Network { /** Ethereum Goerli test network */ Goerli = 'GOERLI', /** Ethereum Mainnet */ - Mainnet = 'MAINNET', + Mainnet = 'MAINNET' } /** Type of notifications that can be sent */ @@ -6543,7 +6567,7 @@ export enum NotificationType { MultisigActionRejected = 'MULTISIG_ACTION_REJECTED', NewColonyVersion = 'NEW_COLONY_VERSION', NewExtensionVersion = 'NEW_EXTENSION_VERSION', - PermissionsAction = 'PERMISSIONS_ACTION', + PermissionsAction = 'PERMISSIONS_ACTION' } /** Holds the notifications data for the user, such as their unique Magicbell user id, and their notifications preferences. */ @@ -6867,11 +6891,13 @@ export type Query = { tokenExhangeRateByTokenId?: Maybe; }; + /** Root query type */ export type QueryBridgeGetUserLiquidationAddressArgs = { userAddress: Scalars['String']; }; + /** Root query type */ export type QueryCacheTotalBalanceByColonyAddressArgs = { colonyAddress: Scalars['ID']; @@ -6882,6 +6908,7 @@ export type QueryCacheTotalBalanceByColonyAddressArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetActionByExpenditureIdArgs = { expenditureId: Scalars['ID']; @@ -6891,6 +6918,7 @@ export type QueryGetActionByExpenditureIdArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetActionsByColonyArgs = { colonyId: Scalars['ID']; @@ -6901,16 +6929,19 @@ export type QueryGetActionsByColonyArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetAnnotationArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetCacheTotalBalanceArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetColoniesByNativeTokenIdArgs = { filter?: InputMaybe; @@ -6920,16 +6951,19 @@ 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; @@ -6939,6 +6973,7 @@ export type QueryGetColonyActionByMotionIdArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetColonyActionByMultiSigIdArgs = { filter?: InputMaybe; @@ -6948,11 +6983,13 @@ export type QueryGetColonyActionByMultiSigIdArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetColonyActionMetadataArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetColonyByAddressArgs = { filter?: InputMaybe; @@ -6962,6 +6999,7 @@ export type QueryGetColonyByAddressArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetColonyByNameArgs = { filter?: InputMaybe; @@ -6971,6 +7009,7 @@ export type QueryGetColonyByNameArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetColonyByTypeArgs = { filter?: InputMaybe; @@ -6980,16 +7019,19 @@ 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']; @@ -6999,6 +7041,7 @@ export type QueryGetColonyDecisionByActionIdArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetColonyDecisionByColonyAddressArgs = { colonyAddress: Scalars['String']; @@ -7009,21 +7052,25 @@ 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; @@ -7034,46 +7081,55 @@ 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; @@ -7084,6 +7140,7 @@ export type QueryGetContributorsByAddressArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetContributorsByColonyArgs = { colonyAddress: Scalars['ID']; @@ -7094,16 +7151,19 @@ 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; @@ -7113,16 +7173,19 @@ export type QueryGetCurrentVersionByKeyArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetDomainArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetDomainBalanceArgs = { input: DomainBalanceArguments; }; + /** Root query type */ export type QueryGetDomainByNativeSkillIdArgs = { filter?: InputMaybe; @@ -7133,11 +7196,13 @@ export type QueryGetDomainByNativeSkillIdArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetDomainMetadataArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetDomainsByColonyArgs = { colonyId: Scalars['ID']; @@ -7148,16 +7213,19 @@ export type QueryGetDomainsByColonyArgs = { sortDirection?: InputMaybe; }; + /** 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']; @@ -7168,6 +7236,7 @@ export type QueryGetExpendituresByColonyArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetExpendituresByNativeFundingPotIdAndColonyArgs = { colonyId?: InputMaybe; @@ -7178,6 +7247,7 @@ export type QueryGetExpendituresByNativeFundingPotIdAndColonyArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetExtensionByColonyAndHashArgs = { colonyId: Scalars['ID']; @@ -7188,11 +7258,13 @@ export type QueryGetExtensionByColonyAndHashArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetExtensionInstallationsCountArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetExtensionsByHashArgs = { filter?: InputMaybe; @@ -7202,6 +7274,7 @@ export type QueryGetExtensionsByHashArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetFundsClaimsByColonyArgs = { colonyFundsClaimsId: Scalars['ID']; @@ -7212,11 +7285,13 @@ export type QueryGetFundsClaimsByColonyArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetIngestorStatsArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetIngestorStatsByChainIdArgs = { chainId: Scalars['String']; @@ -7226,11 +7301,13 @@ export type QueryGetIngestorStatsByChainIdArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetLiquidationAddressArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetLiquidationAddressesByUserAddressArgs = { filter?: InputMaybe; @@ -7240,6 +7317,7 @@ export type QueryGetLiquidationAddressesByUserAddressArgs = { userAddress: Scalars['ID']; }; + /** Root query type */ export type QueryGetMotionByExpenditureIdArgs = { expenditureId: Scalars['ID']; @@ -7249,6 +7327,7 @@ export type QueryGetMotionByExpenditureIdArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetMotionByTransactionHashArgs = { filter?: InputMaybe; @@ -7258,11 +7337,13 @@ export type QueryGetMotionByTransactionHashArgs = { transactionHash: Scalars['ID']; }; + /** Root query type */ export type QueryGetMotionMessageArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetMotionMessageByMotionIdArgs = { createdAt?: InputMaybe; @@ -7273,16 +7354,19 @@ 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; @@ -7293,6 +7377,7 @@ export type QueryGetMotionVoterRewardsArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetMultiSigByColonyAddressArgs = { colonyAddress: Scalars['ID']; @@ -7302,6 +7387,7 @@ export type QueryGetMultiSigByColonyAddressArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetMultiSigByTransactionHashArgs = { filter?: InputMaybe; @@ -7311,11 +7397,13 @@ export type QueryGetMultiSigByTransactionHashArgs = { transactionHash: Scalars['ID']; }; + /** Root query type */ export type QueryGetMultiSigUserSignatureArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetMultiSigUserSignatureByMultiSigIdArgs = { filter?: InputMaybe; @@ -7325,21 +7413,25 @@ export type QueryGetMultiSigUserSignatureByMultiSigIdArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetNotificationsDataArgs = { userAddress: Scalars['ID']; }; + /** 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']; @@ -7349,6 +7441,7 @@ export type QueryGetProfileByEmailArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetProfileByUsernameArgs = { displayName: Scalars['String']; @@ -7358,6 +7451,7 @@ export type QueryGetProfileByUsernameArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetProxyColoniesByColonyAddressArgs = { colonyAddress: Scalars['ID']; @@ -7367,16 +7461,19 @@ export type QueryGetProxyColoniesByColonyAddressArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetProxyColonyArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetReputationMiningCycleMetadataArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetRoleByColonyArgs = { colonyAddress: Scalars['ID']; @@ -7387,6 +7484,7 @@ export type QueryGetRoleByColonyArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetRoleByDomainAndColonyArgs = { colonyAddress?: InputMaybe; @@ -7397,6 +7495,7 @@ export type QueryGetRoleByDomainAndColonyArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetRoleByTargetAddressAndColonyArgs = { colonyAddress?: InputMaybe; @@ -7407,36 +7506,43 @@ 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; @@ -7446,16 +7552,19 @@ export type QueryGetTokenByAddressArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetTokenExchangeRateArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetTokenFromEverywhereArgs = { input?: InputMaybe; }; + /** Root query type */ export type QueryGetTokensByTypeArgs = { filter?: InputMaybe; @@ -7465,11 +7574,13 @@ export type QueryGetTokensByTypeArgs = { type: TokenType; }; + /** Root query type */ export type QueryGetTransactionArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetTransactionsByUserArgs = { createdAt?: InputMaybe; @@ -7480,6 +7591,7 @@ export type QueryGetTransactionsByUserArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetTransactionsByUserAndGroupArgs = { filter?: InputMaybe; @@ -7490,11 +7602,13 @@ export type QueryGetTransactionsByUserAndGroupArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetUserArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetUserByAddressArgs = { filter?: InputMaybe; @@ -7504,6 +7618,7 @@ export type QueryGetUserByAddressArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetUserByBridgeCustomerIdArgs = { bridgeCustomerId: Scalars['String']; @@ -7513,6 +7628,7 @@ export type QueryGetUserByBridgeCustomerIdArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetUserByLiquidationAddressArgs = { filter?: InputMaybe; @@ -7522,11 +7638,13 @@ export type QueryGetUserByLiquidationAddressArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetUserReputationArgs = { input?: InputMaybe; }; + /** Root query type */ export type QueryGetUserReputationInColonyArgs = { colonyAddress?: InputMaybe; @@ -7537,11 +7655,13 @@ export type QueryGetUserReputationInColonyArgs = { sortDirection?: InputMaybe; }; + /** Root query type */ export type QueryGetUserStakeArgs = { id: Scalars['ID']; }; + /** Root query type */ export type QueryGetUserStakesArgs = { createdAt?: InputMaybe; @@ -7552,16 +7672,19 @@ 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; @@ -7572,16 +7695,19 @@ 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; @@ -7589,6 +7715,7 @@ export type QueryListAnnotationsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListCacheTotalBalancesArgs = { filter?: InputMaybe; @@ -7596,6 +7723,7 @@ export type QueryListCacheTotalBalancesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColoniesArgs = { filter?: InputMaybe; @@ -7603,6 +7731,7 @@ export type QueryListColoniesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyActionMetadataArgs = { filter?: InputMaybe; @@ -7610,6 +7739,7 @@ export type QueryListColonyActionMetadataArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyActionsArgs = { filter?: InputMaybe; @@ -7617,6 +7747,7 @@ export type QueryListColonyActionsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyContributorsArgs = { filter?: InputMaybe; @@ -7624,6 +7755,7 @@ export type QueryListColonyContributorsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyDecisionsArgs = { filter?: InputMaybe; @@ -7631,6 +7763,7 @@ export type QueryListColonyDecisionsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyExtensionsArgs = { filter?: InputMaybe; @@ -7638,6 +7771,7 @@ export type QueryListColonyExtensionsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyFundsClaimsArgs = { filter?: InputMaybe; @@ -7645,6 +7779,7 @@ export type QueryListColonyFundsClaimsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyHistoricRolesArgs = { filter?: InputMaybe; @@ -7652,6 +7787,7 @@ export type QueryListColonyHistoricRolesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyMemberInvitesArgs = { filter?: InputMaybe; @@ -7659,6 +7795,7 @@ export type QueryListColonyMemberInvitesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyMetadataArgs = { filter?: InputMaybe; @@ -7666,6 +7803,7 @@ export type QueryListColonyMetadataArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyMotionsArgs = { filter?: InputMaybe; @@ -7673,6 +7811,7 @@ export type QueryListColonyMotionsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyMultiSigsArgs = { filter?: InputMaybe; @@ -7680,6 +7819,7 @@ export type QueryListColonyMultiSigsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyRolesArgs = { filter?: InputMaybe; @@ -7687,6 +7827,7 @@ export type QueryListColonyRolesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListColonyTokensArgs = { filter?: InputMaybe; @@ -7694,6 +7835,7 @@ export type QueryListColonyTokensArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListContractEventsArgs = { filter?: InputMaybe; @@ -7701,6 +7843,7 @@ export type QueryListContractEventsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListContributorReputationsArgs = { filter?: InputMaybe; @@ -7708,6 +7851,7 @@ export type QueryListContributorReputationsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListCurrentNetworkInverseFeesArgs = { filter?: InputMaybe; @@ -7715,6 +7859,7 @@ export type QueryListCurrentNetworkInverseFeesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListCurrentVersionsArgs = { filter?: InputMaybe; @@ -7722,6 +7867,7 @@ export type QueryListCurrentVersionsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListDomainMetadataArgs = { filter?: InputMaybe; @@ -7729,6 +7875,7 @@ export type QueryListDomainMetadataArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListDomainsArgs = { filter?: InputMaybe; @@ -7736,6 +7883,7 @@ export type QueryListDomainsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListExpenditureMetadataArgs = { filter?: InputMaybe; @@ -7743,6 +7891,7 @@ export type QueryListExpenditureMetadataArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListExpendituresArgs = { filter?: InputMaybe; @@ -7750,6 +7899,7 @@ export type QueryListExpendituresArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListExtensionInstallationsCountsArgs = { filter?: InputMaybe; @@ -7757,6 +7907,7 @@ export type QueryListExtensionInstallationsCountsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListIngestorStatsArgs = { filter?: InputMaybe; @@ -7764,6 +7915,7 @@ export type QueryListIngestorStatsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListLiquidationAddressesArgs = { filter?: InputMaybe; @@ -7771,6 +7923,7 @@ export type QueryListLiquidationAddressesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListMotionMessagesArgs = { filter?: InputMaybe; @@ -7778,6 +7931,7 @@ export type QueryListMotionMessagesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListMultiSigUserSignaturesArgs = { filter?: InputMaybe; @@ -7785,6 +7939,7 @@ export type QueryListMultiSigUserSignaturesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListNotificationsDataArgs = { filter?: InputMaybe; @@ -7794,6 +7949,7 @@ export type QueryListNotificationsDataArgs = { userAddress?: InputMaybe; }; + /** Root query type */ export type QueryListPrivateBetaInviteCodesArgs = { filter?: InputMaybe; @@ -7801,6 +7957,7 @@ export type QueryListPrivateBetaInviteCodesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListProfilesArgs = { filter?: InputMaybe; @@ -7808,6 +7965,7 @@ export type QueryListProfilesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListProxyColoniesArgs = { filter?: InputMaybe; @@ -7815,6 +7973,7 @@ export type QueryListProxyColoniesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListReputationMiningCycleMetadataArgs = { filter?: InputMaybe; @@ -7822,6 +7981,7 @@ export type QueryListReputationMiningCycleMetadataArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListSafeTransactionDataArgs = { filter?: InputMaybe; @@ -7829,6 +7989,7 @@ export type QueryListSafeTransactionDataArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListSafeTransactionsArgs = { filter?: InputMaybe; @@ -7836,6 +7997,7 @@ export type QueryListSafeTransactionsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListStreamingPaymentMetadataArgs = { filter?: InputMaybe; @@ -7843,6 +8005,7 @@ export type QueryListStreamingPaymentMetadataArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListStreamingPaymentsArgs = { filter?: InputMaybe; @@ -7850,6 +8013,7 @@ export type QueryListStreamingPaymentsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListTokenExchangeRatesArgs = { filter?: InputMaybe; @@ -7857,6 +8021,7 @@ export type QueryListTokenExchangeRatesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListTokensArgs = { filter?: InputMaybe; @@ -7864,6 +8029,7 @@ export type QueryListTokensArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListTransactionsArgs = { filter?: InputMaybe; @@ -7871,6 +8037,7 @@ export type QueryListTransactionsArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListUserStakesArgs = { filter?: InputMaybe; @@ -7878,6 +8045,7 @@ export type QueryListUserStakesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListUserTokensArgs = { filter?: InputMaybe; @@ -7885,6 +8053,7 @@ export type QueryListUserTokensArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListUsersArgs = { filter?: InputMaybe; @@ -7892,6 +8061,7 @@ export type QueryListUsersArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QueryListVoterRewardsHistoriesArgs = { filter?: InputMaybe; @@ -7899,11 +8069,10 @@ export type QueryListVoterRewardsHistoriesArgs = { nextToken?: InputMaybe; }; + /** Root query type */ export type QuerySearchColonyActionsArgs = { - aggregates?: InputMaybe< - Array> - >; + aggregates?: InputMaybe>>; filter?: InputMaybe; from?: InputMaybe; limit?: InputMaybe; @@ -7911,11 +8080,10 @@ export type QuerySearchColonyActionsArgs = { sort?: InputMaybe>>; }; + /** Root query type */ export type QuerySearchColonyContributorsArgs = { - aggregates?: InputMaybe< - Array> - >; + aggregates?: InputMaybe>>; filter?: InputMaybe; from?: InputMaybe; limit?: InputMaybe; @@ -7923,6 +8091,7 @@ export type QuerySearchColonyContributorsArgs = { sort?: InputMaybe>>; }; + /** Root query type */ export type QueryTokenExhangeRateByTokenIdArgs = { date?: InputMaybe; @@ -7966,6 +8135,7 @@ export type SafeTransaction = { updatedAt: Scalars['AWSDateTime']; }; + export type SafeTransactionTransactionsArgs = { filter?: InputMaybe; id?: InputMaybe; @@ -7999,7 +8169,7 @@ export enum SafeTransactionType { ContractInteraction = 'CONTRACT_INTERACTION', RawTransaction = 'RAW_TRANSACTION', TransferFunds = 'TRANSFER_FUNDS', - TransferNft = 'TRANSFER_NFT', + TransferNft = 'TRANSFER_NFT' } export type SearchableAggregateBucketResult = { @@ -8013,9 +8183,7 @@ export type SearchableAggregateBucketResultItem = { key: Scalars['String']; }; -export type SearchableAggregateGenericResult = - | SearchableAggregateBucketResult - | SearchableAggregateScalarResult; +export type SearchableAggregateGenericResult = SearchableAggregateBucketResult | SearchableAggregateScalarResult; export type SearchableAggregateResult = { __typename?: 'SearchableAggregateResult'; @@ -8033,7 +8201,7 @@ export enum SearchableAggregateType { Max = 'max', Min = 'min', Sum = 'sum', - Terms = 'terms', + Terms = 'terms' } export type SearchableBooleanFilterInput = { @@ -8076,7 +8244,7 @@ export enum SearchableColonyActionAggregateField { ToPotId = 'toPotId', TokenAddress = 'tokenAddress', Type = 'type', - UpdatedAt = 'updatedAt', + UpdatedAt = 'updatedAt' } export type SearchableColonyActionAggregationInput = { @@ -8173,7 +8341,7 @@ export enum SearchableColonyActionSortableFields { ToDomainId = 'toDomainId', ToPotId = 'toPotId', TokenAddress = 'tokenAddress', - UpdatedAt = 'updatedAt', + UpdatedAt = 'updatedAt' } export enum SearchableColonyContributorAggregateField { @@ -8187,7 +8355,7 @@ export enum SearchableColonyContributorAggregateField { IsVerified = 'isVerified', IsWatching = 'isWatching', Type = 'type', - UpdatedAt = 'updatedAt', + UpdatedAt = 'updatedAt' } export type SearchableColonyContributorAggregationInput = { @@ -8236,7 +8404,7 @@ export enum SearchableColonyContributorSortableFields { Id = 'id', IsVerified = 'isVerified', IsWatching = 'isWatching', - UpdatedAt = 'updatedAt', + UpdatedAt = 'updatedAt' } export type SearchableFloatFilterInput = { @@ -8278,7 +8446,7 @@ export type SearchableIntFilterInput = { export enum SearchableSortDirection { Asc = 'asc', - Desc = 'desc', + Desc = 'desc' } export type SearchableStringFilterInput = { @@ -8331,13 +8499,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 = { @@ -8388,7 +8556,7 @@ export type StreamingPayment = { export enum StreamingPaymentEndCondition { FixedTime = 'FIXED_TIME', LimitReached = 'LIMIT_REACHED', - WhenCancelled = 'WHEN_CANCELLED', + WhenCancelled = 'WHEN_CANCELLED' } export type StreamingPaymentMetadata = { @@ -8539,542 +8707,677 @@ export type Subscription = { onUpdateVoterRewardsHistory?: Maybe; }; + export type SubscriptionOnCreateAnnotationArgs = { filter?: InputMaybe; }; + export type SubscriptionOnCreateCacheTotalBalanceArgs = { 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 SubscriptionOnCreateNotificationsDataArgs = { filter?: InputMaybe; }; + export type SubscriptionOnCreatePrivateBetaInviteCodeArgs = { filter?: InputMaybe; }; + export type SubscriptionOnCreateProfileArgs = { filter?: InputMaybe; }; + export type SubscriptionOnCreateProxyColonyArgs = { 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 SubscriptionOnCreateTokenExchangeRateArgs = { 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 SubscriptionOnDeleteCacheTotalBalanceArgs = { 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 SubscriptionOnDeleteNotificationsDataArgs = { filter?: InputMaybe; }; + export type SubscriptionOnDeletePrivateBetaInviteCodeArgs = { filter?: InputMaybe; }; + export type SubscriptionOnDeleteProfileArgs = { filter?: InputMaybe; }; + export type SubscriptionOnDeleteProxyColonyArgs = { 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 SubscriptionOnDeleteTokenExchangeRateArgs = { 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 SubscriptionOnUpdateCacheTotalBalanceArgs = { 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 SubscriptionOnUpdateNotificationsDataArgs = { filter?: InputMaybe; }; + export type SubscriptionOnUpdatePrivateBetaInviteCodeArgs = { filter?: InputMaybe; }; + export type SubscriptionOnUpdateProfileArgs = { filter?: InputMaybe; }; + export type SubscriptionOnUpdateProxyColonyArgs = { 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 SubscriptionOnUpdateTokenExchangeRateArgs = { 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; }; @@ -9090,7 +9393,7 @@ export enum SupportedCurrencies { Inr = 'INR', Jpy = 'JPY', Krw = 'KRW', - Usd = 'USD', + Usd = 'USD' } /** Return type for domain balance for a timeframe item */ @@ -9107,7 +9410,7 @@ export enum TimeframeType { Daily = 'DAILY', Monthly = 'MONTHLY', Total = 'TOTAL', - Weekly = 'WEEKLY', + Weekly = 'WEEKLY' } /** Represents an ERC20-compatible token that is used by Colonies and users */ @@ -9138,6 +9441,7 @@ export type Token = { validated?: Maybe; }; + /** Represents an ERC20-compatible token that is used by Colonies and users */ export type TokenColoniesArgs = { filter?: InputMaybe; @@ -9146,6 +9450,7 @@ export type TokenColoniesArgs = { sortDirection?: InputMaybe; }; + /** Represents an ERC20-compatible token that is used by Colonies and users */ export type TokenUsersArgs = { filter?: InputMaybe; @@ -9202,7 +9507,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 */ @@ -9279,7 +9584,7 @@ export enum TransactionErrors { EventData = 'EVENT_DATA', Receipt = 'RECEIPT', Send = 'SEND', - Unsuccessful = 'UNSUCCESSFUL', + Unsuccessful = 'UNSUCCESSFUL' } export type TransactionGroup = { @@ -9310,7 +9615,7 @@ export enum TransactionStatus { Failed = 'FAILED', Pending = 'PENDING', Ready = 'READY', - Succeeded = 'SUCCEEDED', + Succeeded = 'SUCCEEDED' } export type UpdateAnnotationInput = { @@ -9447,8 +9752,8 @@ export type UpdateColonyInput = { balances?: InputMaybe; chainFundsClaim?: InputMaybe; chainMetadata?: InputMaybe; + colonyCreateEvent?: InputMaybe; colonyMemberInviteCode?: InputMaybe; - createdAtBlock?: InputMaybe; expendituresGlobalClaimDelay?: InputMaybe; id: Scalars['ID']; lastUpdatedContributorsWithReputation?: InputMaybe; @@ -9896,6 +10201,7 @@ export type User = { userPrivateBetaInviteCodeId?: Maybe; }; + /** Represents a User within the Colony Network */ export type UserLiquidationAddressesArgs = { filter?: InputMaybe; @@ -9904,6 +10210,7 @@ export type UserLiquidationAddressesArgs = { sortDirection?: InputMaybe; }; + /** Represents a User within the Colony Network */ export type UserRolesArgs = { colonyAddress?: InputMaybe; @@ -9913,6 +10220,7 @@ export type UserRolesArgs = { sortDirection?: InputMaybe; }; + /** Represents a User within the Colony Network */ export type UserTokensArgs = { filter?: InputMaybe; @@ -9921,6 +10229,7 @@ export type UserTokensArgs = { sortDirection?: InputMaybe; }; + /** Represents a User within the Colony Network */ export type UserTransactionHistoryArgs = { createdAt?: InputMaybe; @@ -9968,7 +10277,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 = { @@ -10086,993 +10395,412 @@ export type VotingReputationParamsInput = { voterRewardFraction: Scalars['String']; }; -export type MultiChainInfoFragment = { - __typename?: 'MultiChainInfo'; - targetChainId: number; - completed: boolean; - wormholeInfo?: { - __typename?: 'ActionWormholeInfo'; - emitterChainId?: number | null; - emitterAddress: string; - sequence: string; - } | null; -}; +export type MultiChainInfoFragment = { __typename?: 'MultiChainInfo', targetChainId: number, completed: boolean, wormholeInfo?: { __typename?: 'ActionWormholeInfo', emitterChainId?: number | null, emitterAddress: string, sequence: string } | null }; -export type ActionMetadataInfoFragment = { - __typename?: 'ColonyAction'; - id: string; - colonyDecisionId?: string | null; - amount?: string | null; - networkFee?: string | null; - type: ColonyActionType; - showInActionsList: boolean; - colonyId: string; - initiatorAddress: string; - recipientAddress?: string | null; - members?: Array | null; - 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; - payments?: Array<{ __typename?: 'Payment'; recipientAddress: string }> | null; - multiChainInfo?: { - __typename?: 'MultiChainInfo'; - targetChainId: number; - completed: boolean; - wormholeInfo?: { - __typename?: 'ActionWormholeInfo'; - emitterChainId?: number | null; - emitterAddress: string; - sequence: string; - } | null; - } | null; -}; - -export type ColonyFragment = { - __typename?: 'Colony'; - colonyAddress: string; - nativeToken: { __typename?: 'Token'; symbol: string; 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 ColonyWithRootRolesFragment = { - __typename?: 'Colony'; - id: string; - roles?: { - __typename?: 'ModelColonyRoleConnection'; - items: Array<{ - __typename?: 'ColonyRole'; - id: string; - targetUser?: { - __typename?: 'User'; - id: string; - profile?: { - __typename?: 'Profile'; - displayName?: string | null; - id: string; - } | null; - notificationsData?: { - __typename?: 'NotificationsData'; - magicbellUserId: string; - notificationsDisabled: boolean; - mutedColonyAddresses: Array; - paymentNotificationsDisabled: boolean; - mentionNotificationsDisabled: boolean; - adminNotificationsDisabled: boolean; - } | null; - } | null; - } | null>; - } | null; -}; - -export type ExpenditureBalanceFragment = { - __typename?: 'ExpenditureBalance'; - tokenAddress: string; - amount: string; -}; +export type ActionMetadataInfoFragment = { __typename?: 'ColonyAction', id: string, colonyDecisionId?: string | null, amount?: string | null, networkFee?: string | null, type: ColonyActionType, showInActionsList: boolean, colonyId: string, initiatorAddress: string, recipientAddress?: string | null, members?: Array | null, 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, payments?: Array<{ __typename?: 'Payment', recipientAddress: string }> | null, multiChainInfo?: { __typename?: 'MultiChainInfo', targetChainId: number, completed: boolean, wormholeInfo?: { __typename?: 'ActionWormholeInfo', emitterChainId?: number | null, emitterAddress: string, sequence: string } | null } | null }; -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; - actions?: { - __typename?: 'ModelColonyActionConnection'; - items: Array<{ - __typename?: 'ColonyAction'; - type: ColonyActionType; - id: string; - } | null>; - } | 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 ColonyFragment = { __typename?: 'Colony', colonyAddress: string, nativeToken: { __typename?: 'Token', symbol: string, 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 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; - expenditureId?: string | null; - 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 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 StakerRewardFragment = { - __typename?: 'StakerRewards'; - address: string; - isClaimed: boolean; - rewards: { __typename?: 'MotionStakeValues'; yay: string; nay: string }; -}; +export type ColonyWithRootRolesFragment = { __typename?: 'Colony', id: string, roles?: { __typename?: 'ModelColonyRoleConnection', items: Array<{ __typename?: 'ColonyRole', id: string, targetUser?: { __typename?: 'User', id: string, profile?: { __typename?: 'Profile', displayName?: string | null, id: string } | null, notificationsData?: { __typename?: 'NotificationsData', magicbellUserId: string, notificationsDisabled: boolean, mutedColonyAddresses: Array, paymentNotificationsDisabled: boolean, mentionNotificationsDisabled: boolean, adminNotificationsDisabled: boolean } | null } | null } | null> } | null }; -export type MotionStakesFragment = { - __typename?: 'MotionStakes'; - raw: { __typename?: 'MotionStakeValues'; nay: string; yay: string }; - percentage: { __typename?: 'MotionStakeValues'; nay: string; yay: string }; -}; +export type ExpenditureBalanceFragment = { __typename?: 'ExpenditureBalance', tokenAddress: string, amount: 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 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, actions?: { __typename?: 'ModelColonyActionConnection', items: Array<{ __typename?: 'ColonyAction', type: ColonyActionType, id: 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 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 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; - action?: { __typename?: 'ColonyAction'; type: ColonyActionType } | null; -}; - -export type ProxyColonyFragment = { - __typename?: 'ProxyColony'; - id: string; - colonyAddress: string; - chainId: string; - isActive: boolean; -}; +export type ExtensionFragment = { __typename?: 'ColonyExtension', id: string, hash: string, colonyId: string, isInitialized: boolean, version: number }; -export type TokenFragment = { - __typename?: 'Token'; - symbol: string; - tokenAddress: 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, expenditureId?: string | null, 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 NotificationUserFragment = { - __typename?: 'ColonyContributor'; - user?: { - __typename?: 'User'; - notificationsData?: { - __typename?: 'NotificationsData'; - magicbellUserId: string; - notificationsDisabled: boolean; - mutedColonyAddresses: Array; - paymentNotificationsDisabled: boolean; - mentionNotificationsDisabled: boolean; - adminNotificationsDisabled: boolean; - } | null; - } | null; -}; - -export type NotificationsDataFragment = { - __typename?: 'NotificationsData'; - magicbellUserId: string; - notificationsDisabled: boolean; - mutedColonyAddresses: Array; - paymentNotificationsDisabled: boolean; - mentionNotificationsDisabled: boolean; - adminNotificationsDisabled: boolean; -}; +export type VoterRecordFragment = { __typename?: 'VoterRecord', address: string, voteCount: string, vote?: number | null }; -export type CreateColonyActionMutationVariables = Exact<{ - input: CreateColonyActionInput; -}>; +export type StakerRewardFragment = { __typename?: 'StakerRewards', address: string, isClaimed: boolean, rewards: { __typename?: 'MotionStakeValues', yay: string, nay: string } }; -export type CreateColonyActionMutation = { - __typename?: 'Mutation'; - createColonyAction?: { __typename?: 'ColonyAction'; id: string } | null; -}; +export type MotionStakesFragment = { __typename?: 'MotionStakes', raw: { __typename?: 'MotionStakeValues', nay: string, yay: string }, percentage: { __typename?: 'MotionStakeValues', nay: string, yay: string } }; -export type UpdateColonyActionMutationVariables = Exact<{ - input: UpdateColonyActionInput; -}>; +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 UpdateColonyActionMutation = { - __typename?: 'Mutation'; - updateColonyAction?: { __typename?: 'ColonyAction'; id: string } | 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 UpdateColonyMutationVariables = Exact<{ +export type MultiSigUserSignatureFragment = { __typename?: 'MultiSigUserSignature', id: string, multiSigId: string, role: number, colonyAddress: string, userAddress: string, vote: MultiSigVote, createdAt: 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, action?: { __typename?: 'ColonyAction', type: ColonyActionType } | null }; + +export type ProxyColonyFragment = { __typename?: 'ProxyColony', id: string, colonyAddress: string, chainId: string, isActive: boolean }; + +export type TokenFragment = { __typename?: 'Token', symbol: string, tokenAddress: string }; + +export type NotificationUserFragment = { __typename?: 'ColonyContributor', user?: { __typename?: 'User', notificationsData?: { __typename?: 'NotificationsData', magicbellUserId: string, notificationsDisabled: boolean, mutedColonyAddresses: Array, paymentNotificationsDisabled: boolean, mentionNotificationsDisabled: boolean, adminNotificationsDisabled: boolean } | null } | null }; + +export type NotificationsDataFragment = { __typename?: 'NotificationsData', magicbellUserId: string, notificationsDisabled: boolean, mutedColonyAddresses: Array, paymentNotificationsDisabled: boolean, mentionNotificationsDisabled: boolean, adminNotificationsDisabled: boolean }; + +export type CreateColonyActionMutationVariables = Exact<{ + input: CreateColonyActionInput; +}>; + + +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 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 CreateProxyColonyMutationVariables = Exact<{ input: CreateProxyColonyInput; }>; -export type CreateProxyColonyMutation = { - __typename?: 'Mutation'; - createProxyColony?: { __typename?: 'ProxyColony'; id: string } | null; -}; + +export type CreateProxyColonyMutation = { __typename?: 'Mutation', createProxyColony?: { __typename?: 'ProxyColony', 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<{ chainId: Scalars['String']; 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<{ id: Scalars['ID']; @@ -11080,282 +10808,72 @@ 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 GetActionInfoQueryVariables = Exact<{ transactionHash: Scalars['ID']; }>; -export type GetActionInfoQuery = { - __typename?: 'Query'; - getColonyAction?: { - __typename?: 'ColonyAction'; - id: string; - colonyDecisionId?: string | null; - amount?: string | null; - networkFee?: string | null; - type: ColonyActionType; - showInActionsList: boolean; - colonyId: string; - initiatorAddress: string; - recipientAddress?: string | null; - members?: Array | null; - 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; - payments?: Array<{ - __typename?: 'Payment'; - recipientAddress: string; - }> | null; - multiChainInfo?: { - __typename?: 'MultiChainInfo'; - targetChainId: number; - completed: boolean; - wormholeInfo?: { - __typename?: 'ActionWormholeInfo'; - emitterChainId?: number | null; - emitterAddress: string; - sequence: string; - } | null; - } | null; - } | null; -}; + +export type GetActionInfoQuery = { __typename?: 'Query', getColonyAction?: { __typename?: 'ColonyAction', id: string, colonyDecisionId?: string | null, amount?: string | null, networkFee?: string | null, type: ColonyActionType, showInActionsList: boolean, colonyId: string, initiatorAddress: string, recipientAddress?: string | null, members?: Array | null, 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, payments?: Array<{ __typename?: 'Payment', recipientAddress: string }> | null, multiChainInfo?: { __typename?: 'MultiChainInfo', targetChainId: number, completed: boolean, wormholeInfo?: { __typename?: 'ActionWormholeInfo', emitterChainId?: number | null, emitterAddress: string, sequence: string } | null } | null } | 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'; symbol: string; 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', symbol: string, 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']; @@ -11363,98 +10881,29 @@ 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 ListColoniesWithRootPermissionHoldersQueryVariables = Exact<{ nextToken?: InputMaybe; }>; -export type ListColoniesWithRootPermissionHoldersQuery = { - __typename?: 'Query'; - listColonies?: { - __typename?: 'ModelColonyConnection'; - nextToken?: string | null; - items: Array<{ - __typename?: 'Colony'; - id: string; - roles?: { - __typename?: 'ModelColonyRoleConnection'; - items: Array<{ - __typename?: 'ColonyRole'; - id: string; - targetUser?: { - __typename?: 'User'; - id: string; - profile?: { - __typename?: 'Profile'; - displayName?: string | null; - id: string; - } | null; - notificationsData?: { - __typename?: 'NotificationsData'; - magicbellUserId: string; - notificationsDisabled: boolean; - mutedColonyAddresses: Array; - paymentNotificationsDisabled: boolean; - mentionNotificationsDisabled: boolean; - adminNotificationsDisabled: boolean; - } | null; - } | null; - } | null>; - } | null; - } | null>; - } | null; -}; + +export type ListColoniesWithRootPermissionHoldersQuery = { __typename?: 'Query', listColonies?: { __typename?: 'ModelColonyConnection', nextToken?: string | null, items: Array<{ __typename?: 'Colony', id: string, roles?: { __typename?: 'ModelColonyRoleConnection', items: Array<{ __typename?: 'ColonyRole', id: string, targetUser?: { __typename?: 'User', id: string, profile?: { __typename?: 'Profile', displayName?: string | null, id: string } | null, notificationsData?: { __typename?: 'NotificationsData', magicbellUserId: string, notificationsDisabled: boolean, mutedColonyAddresses: Array, paymentNotificationsDisabled: boolean, mentionNotificationsDisabled: boolean, adminNotificationsDisabled: boolean } | null } | null } | null> } | null } | 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 GetColonyContributorsNotificationDataQueryVariables = Exact<{ colonyAddress: Scalars['ID']; @@ -11463,375 +10912,117 @@ export type GetColonyContributorsNotificationDataQueryVariables = Exact<{ nextToken?: InputMaybe; }>; -export type GetColonyContributorsNotificationDataQuery = { - __typename?: 'Query'; - getContributorsByColony?: { - __typename?: 'ModelColonyContributorConnection'; - nextToken?: string | null; - items: Array<{ - __typename?: 'ColonyContributor'; - user?: { - __typename?: 'User'; - notificationsData?: { - __typename?: 'NotificationsData'; - magicbellUserId: string; - notificationsDisabled: boolean; - mutedColonyAddresses: Array; - paymentNotificationsDisabled: boolean; - mentionNotificationsDisabled: boolean; - adminNotificationsDisabled: boolean; - } | null; - } | null; - } | null>; - } | null; -}; + +export type GetColonyContributorsNotificationDataQuery = { __typename?: 'Query', getContributorsByColony?: { __typename?: 'ModelColonyContributorConnection', nextToken?: string | null, items: Array<{ __typename?: 'ColonyContributor', user?: { __typename?: 'User', notificationsData?: { __typename?: 'NotificationsData', magicbellUserId: string, notificationsDisabled: boolean, mutedColonyAddresses: Array, paymentNotificationsDisabled: boolean, mentionNotificationsDisabled: boolean, adminNotificationsDisabled: boolean } | null } | null } | null> } | 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; - actions?: { - __typename?: 'ModelColonyActionConnection'; - items: Array<{ - __typename?: 'ColonyAction'; - type: ColonyActionType; - id: string; - } | null>; - } | 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, actions?: { __typename?: 'ModelColonyActionConnection', items: Array<{ __typename?: 'ColonyAction', type: ColonyActionType, id: string } | null> } | 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; - actions?: { - __typename?: 'ModelColonyActionConnection'; - items: Array<{ - __typename?: 'ColonyAction'; - type: ColonyActionType; - id: string; - } | null>; - } | 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, actions?: { __typename?: 'ModelColonyActionConnection', items: Array<{ __typename?: 'ColonyAction', type: ColonyActionType, id: string } | null> } | 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']; @@ -11839,349 +11030,55 @@ export type GetColonyUnclaimedFundsQueryVariables = Exact<{ upToBlock?: InputMaybe; }>; -export type GetColonyUnclaimedFundsQuery = { - __typename?: 'Query'; - listColonyFundsClaims?: { - __typename?: 'ModelColonyFundsClaimConnection'; - items: Array<{ - __typename?: 'ColonyFundsClaim'; - id: string; - amount: string; - token: { __typename?: 'Token'; symbol: string; tokenAddress: string }; - } | null>; - } | null; -}; + +export type GetColonyUnclaimedFundsQuery = { __typename?: 'Query', listColonyFundsClaims?: { __typename?: 'ModelColonyFundsClaimConnection', items: Array<{ __typename?: 'ColonyFundsClaim', id: string, amount: string, token: { __typename?: 'Token', symbol: string, tokenAddress: string } } | null> } | null }; export type GetColonyUnclaimedFundQueryVariables = Exact<{ claimId: Scalars['ID']; }>; -export type GetColonyUnclaimedFundQuery = { - __typename?: 'Query'; - getColonyFundsClaim?: { __typename?: 'ColonyFundsClaim'; id: string } | null; -}; -export type GetCurrentNetworkInverseFeeQueryVariables = Exact<{ - [key: string]: never; -}>; +export type GetColonyUnclaimedFundQuery = { __typename?: 'Query', getColonyFundsClaim?: { __typename?: 'ColonyFundsClaim', id: string } | null }; -export type GetCurrentNetworkInverseFeeQuery = { - __typename?: 'Query'; - listCurrentNetworkInverseFees?: { - __typename?: 'ModelCurrentNetworkInverseFeeConnection'; - items: Array<{ - __typename?: 'CurrentNetworkInverseFee'; - id: string; - inverseFee: string; - } | null>; - } | null; -}; +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 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; - showInActionsList: boolean; - colonyId: string; - initiatorAddress: string; - recipientAddress?: string | null; - members?: Array | null; - 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; - payments?: Array<{ - __typename?: 'Payment'; - recipientAddress: string; - }> | null; - multiChainInfo?: { - __typename?: 'MultiChainInfo'; - targetChainId: number; - completed: boolean; - wormholeInfo?: { - __typename?: 'ActionWormholeInfo'; - emitterChainId?: number | null; - emitterAddress: string; - sequence: string; - } | 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, showInActionsList: boolean, colonyId: string, initiatorAddress: string, recipientAddress?: string | null, members?: Array | null, 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, payments?: Array<{ __typename?: 'Payment', recipientAddress: string }> | null, multiChainInfo?: { __typename?: 'MultiChainInfo', targetChainId: number, completed: boolean, wormholeInfo?: { __typename?: 'ActionWormholeInfo', emitterChainId?: number | null, emitterAddress: string, sequence: string } | 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; - expenditureId?: string | null; - 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, expenditureId?: string | null, 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; - showInActionsList: boolean; - colonyId: string; - initiatorAddress: string; - recipientAddress?: string | null; - members?: Array | null; - 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; - payments?: Array<{ - __typename?: 'Payment'; - recipientAddress: string; - }> | null; - multiChainInfo?: { - __typename?: 'MultiChainInfo'; - targetChainId: number; - completed: boolean; - wormholeInfo?: { - __typename?: 'ActionWormholeInfo'; - emitterChainId?: number | null; - emitterAddress: string; - sequence: string; - } | 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, showInActionsList: boolean, colonyId: string, initiatorAddress: string, recipientAddress?: string | null, members?: Array | null, 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, payments?: Array<{ __typename?: 'Payment', recipientAddress: string }> | null, multiChainInfo?: { __typename?: 'MultiChainInfo', targetChainId: number, completed: boolean, wormholeInfo?: { __typename?: 'ActionWormholeInfo', emitterChainId?: number | null, emitterAddress: string, sequence: string } | 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; - action?: { __typename?: 'ColonyAction'; type: ColonyActionType } | 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, action?: { __typename?: 'ColonyAction', type: ColonyActionType } | null } | null }; export type GetUserMultiSigSignatureQueryVariables = Exact<{ multiSigId: Scalars['ID']; @@ -12190,1474 +11087,1306 @@ 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<{ chainId: Scalars['String']; }>; -export type GetStatsQuery = { - __typename?: 'Query'; - getIngestorStatsByChainId?: { - __typename?: 'ModelIngestorStatsConnection'; - items: Array<{ - __typename?: 'IngestorStats'; - id: string; - value: string; - } | null>; - } | null; -}; + +export type GetStatsQuery = { __typename?: 'Query', getIngestorStatsByChainId?: { __typename?: 'ModelIngestorStatsConnection', items: Array<{ __typename?: 'IngestorStats', id: string, value: string } | null> } | 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 type GetNotificationUsersQueryVariables = Exact<{ filter?: InputMaybe; limit?: InputMaybe; }>; -export type GetNotificationUsersQuery = { - __typename?: 'Query'; - listUsers?: { - __typename?: 'ModelUserConnection'; - items: Array<{ - __typename?: 'User'; - notificationsData?: { - __typename?: 'NotificationsData'; - magicbellUserId: string; - notificationsDisabled: boolean; - mutedColonyAddresses: Array; - paymentNotificationsDisabled: boolean; - mentionNotificationsDisabled: boolean; - adminNotificationsDisabled: boolean; - } | null; - } | null>; - } | null; -}; + +export type GetNotificationUsersQuery = { __typename?: 'Query', listUsers?: { __typename?: 'ModelUserConnection', items: Array<{ __typename?: 'User', notificationsData?: { __typename?: 'NotificationsData', magicbellUserId: string, notificationsDisabled: boolean, mutedColonyAddresses: Array, paymentNotificationsDisabled: boolean, mentionNotificationsDisabled: boolean, adminNotificationsDisabled: boolean } | null } | null> } | null }; export const DomainMetadata = gql` - fragment DomainMetadata on DomainMetadata { - name - color - description - changelog { - transactionHash - oldName - newName - oldColor - newColor - oldDescription - newDescription - } + 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 + fragment ColonyMetadata on ColonyMetadata { + id + displayName + avatar + thumbnail + description + externalLinks { + name + link + } + objective { + title description - externalLinks { - name - link - } - objective { - title - description - progress - } - changelog { - transactionHash - oldDisplayName - newDisplayName - hasAvatarChanged - hasDescriptionChanged - haveExternalLinksChanged - hasObjectiveChanged - } + progress } -`; + changelog { + transactionHash + oldDisplayName + newDisplayName + hasAvatarChanged + hasDescriptionChanged + haveExternalLinksChanged + hasObjectiveChanged + } +} + `; export const MultiChainInfo = gql` - fragment MultiChainInfo on MultiChainInfo { - targetChainId - completed - wormholeInfo { - emitterChainId - emitterAddress - sequence - } + fragment MultiChainInfo on MultiChainInfo { + targetChainId + completed + wormholeInfo { + emitterChainId + emitterAddress + sequence } -`; +} + `; export const ActionMetadataInfo = gql` - fragment ActionMetadataInfo on ColonyAction { - id - pendingDomainMetadata { - ...DomainMetadata - } - pendingColonyMetadata { - ...ColonyMetadata - } - colonyDecisionId - amount - networkFee - type - showInActionsList - colonyId - initiatorAddress + fragment ActionMetadataInfo on ColonyAction { + id + pendingDomainMetadata { + ...DomainMetadata + } + pendingColonyMetadata { + ...ColonyMetadata + } + colonyDecisionId + amount + networkFee + type + showInActionsList + colonyId + initiatorAddress + recipientAddress + payments { recipientAddress - payments { - recipientAddress - } - members - multiChainInfo { - ...MultiChainInfo - } } - ${DomainMetadata} - ${ColonyMetadata} - ${MultiChainInfo} -`; -export const Token = gql` - fragment Token on Token { - tokenAddress: id - symbol + members + multiChainInfo { + ...MultiChainInfo } -`; +} + ${DomainMetadata} +${ColonyMetadata} +${MultiChainInfo}`; +export const Token = gql` + fragment Token on Token { + tokenAddress: id + symbol +} + `; export const Colony = gql` - fragment Colony on Colony { - colonyAddress: id - nativeToken { - ...Token - } - tokens { - items { - id - tokenAddress: tokenID - } + fragment Colony on Colony { + colonyAddress: id + nativeToken { + ...Token + } + tokens { + items { + id + tokenAddress: tokenID } - motionsWithUnclaimedStakes { - motionId - unclaimedRewards { - address - rewards { - yay - nay - } - isClaimed + } + motionsWithUnclaimedStakes { + motionId + unclaimedRewards { + address + rewards { + yay + nay } + isClaimed } - domains(limit: 1000, nextToken: $nextToken) { - items { - id - nativeSkillId - } - nextToken + } + domains(limit: 1000, nextToken: $nextToken) { + items { + id + nativeSkillId } + nextToken } - ${Token} -`; +} + ${Token}`; export const NotificationsData = gql` - fragment NotificationsData on NotificationsData { - magicbellUserId - notificationsDisabled - mutedColonyAddresses - paymentNotificationsDisabled - mentionNotificationsDisabled - adminNotificationsDisabled - } -`; + fragment NotificationsData on NotificationsData { + magicbellUserId + notificationsDisabled + mutedColonyAddresses + paymentNotificationsDisabled + mentionNotificationsDisabled + adminNotificationsDisabled +} + `; export const ColonyWithRootRoles = gql` - fragment ColonyWithRootRoles on Colony { - id - roles(filter: { role_1: { eq: true } }, limit: 1000) { - items { + fragment ColonyWithRootRoles on Colony { + id + roles(filter: {role_1: {eq: true}}, limit: 1000) { + items { + id + targetUser { id - targetUser { + profile { + displayName id - profile { - displayName - id - } - notificationsData { - ...NotificationsData - } + } + notificationsData { + ...NotificationsData } } } } - ${NotificationsData} -`; +} + ${NotificationsData}`; export const ExpenditureSlot = gql` - fragment ExpenditureSlot on ExpenditureSlot { - id - recipientAddress - claimDelay - payoutModifier - payouts { - tokenAddress - amount - isClaimed - networkFee - } - } -`; -export const ExpenditureBalance = gql` - fragment ExpenditureBalance on ExpenditureBalance { + fragment ExpenditureSlot on ExpenditureSlot { + id + recipientAddress + claimDelay + payoutModifier + payouts { 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 - } - } - } - balances { - ...ExpenditureBalance - } - status - ownerAddress - userStakeId - createdAt - firstEditTransactionHash - type - actions { - items { + fragment Expenditure on Expenditure { + id + slots { + ...ExpenditureSlot + } + motions { + items { + transactionHash + action { type - id } } } - ${ExpenditureSlot} - ${ExpenditureBalance} -`; -export const Extension = gql` - fragment Extension on ColonyExtension { - id - hash - colonyId - isInitialized - version + balances { + ...ExpenditureBalance + } + status + ownerAddress + userStakeId + createdAt + firstEditTransactionHash + type + actions { + items { + type + id + } } -`; +} + ${ExpenditureSlot} +${ExpenditureBalance}`; +export const Extension = gql` + fragment Extension on ColonyExtension { + id + hash + colonyId + isInitialized + version +} + `; export const MotionStakes = gql` - fragment MotionStakes on MotionStakes { + fragment MotionStakes on MotionStakes { + raw { + nay + yay + } + percentage { + nay + yay + } +} + `; +export const UserMotionStakes = gql` + fragment UserMotionStakes on UserMotionStakes { + address + stakes { raw { - nay yay + nay } percentage { - nay yay + nay } } -`; -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 - } - isClaimed + fragment StakerReward on StakerRewards { + address + rewards { + yay + nay } -`; + isClaimed +} + `; export const VoterRecord = gql` - fragment VoterRecord on VoterRecord { - address - voteCount - vote - } -`; + fragment VoterRecord on VoterRecord { + address + voteCount + vote +} + `; export const ColonyMotion = gql` - fragment ColonyMotion on ColonyMotion { - id - nativeMotionId - motionStakes { - ...MotionStakes - } - requiredStake - remainingStakes - usersStakes { - ...UserMotionStakes - } - userMinStake - nativeMotionDomainId - stakerRewards { - ...StakerReward - } - isFinalized - createdBy - voterRecord { - ...VoterRecord - } - revealedVotes { - raw { - yay - nay - } - percentage { - yay - nay - } + fragment ColonyMotion on ColonyMotion { + id + nativeMotionId + motionStakes { + ...MotionStakes + } + requiredStake + remainingStakes + usersStakes { + ...UserMotionStakes + } + userMinStake + nativeMotionDomainId + stakerRewards { + ...StakerReward + } + isFinalized + createdBy + voterRecord { + ...VoterRecord + } + revealedVotes { + raw { + yay + nay } - repSubmitted - skillRep - hasObjection - motionDomainId - nativeMotionDomainId - motionStateHistory { - hasVoted - hasPassed - hasFailed - hasFailedNotFinalizable - inRevealPhase - yaySideFullyStakedAt - naySideFullyStakedAt - allVotesSubmittedAt - allVotesRevealedAt - endedAt - finalizedAt + percentage { + yay + nay } - isDecision - transactionHash - expenditureId } - ${MotionStakes} - ${UserMotionStakes} - ${StakerReward} - ${VoterRecord} -`; + repSubmitted + skillRep + hasObjection + motionDomainId + nativeMotionDomainId + motionStateHistory { + hasVoted + hasPassed + hasFailed + hasFailedNotFinalizable + inRevealPhase + yaySideFullyStakedAt + naySideFullyStakedAt + allVotesSubmittedAt + allVotesRevealedAt + endedAt + finalizedAt + } + isDecision + transactionHash + expenditureId +} + ${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 - } - } - executedAt - executedBy - rejectedAt - rejectedBy - createdAt - action { - type + fragment ColonyMultiSig on ColonyMultiSig { + id + colonyAddress + nativeMultiSigId + multiSigDomainId + nativeMultiSigDomainId + requiredPermissions + transactionHash + isExecuted + isRejected + isDecision + hasActionCompleted + signatures { + items { + ...MultiSigUserSignature } } - ${MultiSigUserSignature} -`; -export const ProxyColony = gql` - fragment ProxyColony on ProxyColony { - id - colonyAddress - chainId - isActive + executedAt + executedBy + rejectedAt + rejectedBy + createdAt + action { + type } -`; +} + ${MultiSigUserSignature}`; +export const ProxyColony = gql` + fragment ProxyColony on ProxyColony { + id + colonyAddress + chainId + isActive +} + `; export const NotificationUser = gql` - fragment NotificationUser on ColonyContributor { - user { - notificationsData { - ...NotificationsData - } + fragment NotificationUser on ColonyContributor { + user { + notificationsData { + ...NotificationsData } } - ${NotificationsData} -`; +} + ${NotificationsData}`; 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 CreateProxyColonyDocument = gql` - mutation CreateProxyColony($input: CreateProxyColonyInput!) { - createProxyColony(input: $input) { - id - } + mutation CreateProxyColony($input: CreateProxyColonyInput!) { + createProxyColony(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($chainId: String!, $value: String!) { - createIngestorStats(input: { chainId: $chainId, value: $value }) { - id - } + mutation CreateStats($chainId: String!, $value: String!) { + createIngestorStats(input: {chainId: $chainId, value: $value}) { + id } -`; +} + `; export const UpdateStatsDocument = gql` - mutation UpdateStats($id: ID!, $chainId: String!, $value: String!) { - updateIngestorStats(input: { id: $id, chainId: $chainId, value: $value }) { - id - } + mutation UpdateStats($id: ID!, $chainId: String!, $value: String!) { + updateIngestorStats(input: {id: $id, chainId: $chainId, 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 GetActionInfoDocument = gql` - query GetActionInfo($transactionHash: ID!) { - getColonyAction(id: $transactionHash) { - ...ActionMetadataInfo - } + query GetActionInfo($transactionHash: ID!) { + getColonyAction(id: $transactionHash) { + ...ActionMetadataInfo } - ${ActionMetadataInfo} -`; +} + ${ActionMetadataInfo}`; 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 + } + getColonyByAddress(id: $id) { + items { + id + name } - getColonyByType(type: METACOLONY) { - 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 + query GetColonyByNativeTokenId($nativeTokenId: ID!, $limit: Int, $nextToken: String) { + getColoniesByNativeTokenId( + nativeTokenId: $nativeTokenId + limit: $limit + nextToken: $nextToken ) { - getColoniesByNativeTokenId( - nativeTokenId: $nativeTokenId - limit: $limit - nextToken: $nextToken - ) { - items { - id - status { - nativeToken { - unlocked - unlockable - mintable - } - recovery + items { + id + status { + nativeToken { + unlocked + unlockable + mintable } + 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 ListColoniesWithRootPermissionHoldersDocument = gql` - query ListColoniesWithRootPermissionHolders($nextToken: String) { - listColonies(limit: 1000, nextToken: $nextToken) { - nextToken - items { - ...ColonyWithRootRoles - } + query ListColoniesWithRootPermissionHolders($nextToken: String) { + listColonies(limit: 1000, nextToken: $nextToken) { + nextToken + items { + ...ColonyWithRootRoles } } - ${ColonyWithRootRoles} -`; +} + ${ColonyWithRootRoles}`; export const GetColonyContributorDocument = gql` - query GetColonyContributor($id: ID!) { - getColonyContributor(id: $id) { - id - isVerified - } + query GetColonyContributor($id: ID!) { + getColonyContributor(id: $id) { + id + isVerified } -`; +} + `; export const GetColonyContributorsNotificationDataDocument = gql` - query GetColonyContributorsNotificationData( - $colonyAddress: ID! - $sortDirection: ModelSortDirection = ASC - $limit: Int = 100 - $nextToken: String + query GetColonyContributorsNotificationData($colonyAddress: ID!, $sortDirection: ModelSortDirection = ASC, $limit: Int = 100, $nextToken: String) { + getContributorsByColony( + colonyAddress: $colonyAddress + sortDirection: $sortDirection + limit: $limit + nextToken: $nextToken ) { - getContributorsByColony( - colonyAddress: $colonyAddress - sortDirection: $sortDirection - limit: $limit - nextToken: $nextToken - ) { - items { - user { - notificationsData { - ...NotificationsData - } + items { + user { + notificationsData { + ...NotificationsData } } - nextToken } + nextToken } - ${NotificationsData} -`; +} + ${NotificationsData}`; 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! + query GetExpenditureByNativeFundingPotIdAndColony($nativeFundingPotId: Int!, $colonyAddress: ID!) { + getExpendituresByNativeFundingPotIdAndColony( + nativeFundingPotId: $nativeFundingPotId + colonyId: {eq: $colonyAddress} ) { - getExpendituresByNativeFundingPotIdAndColony( - nativeFundingPotId: $nativeFundingPotId - colonyId: { eq: $colonyAddress } - ) { - items { - ...Expenditure - } + 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! + query GetColonyExtensionByHashAndColony($colonyAddress: ID!, $extensionHash: String!) { + getExtensionByColonyAndHash( + colonyId: $colonyAddress + hash: {eq: $extensionHash} + filter: {isDeleted: {eq: false}} ) { - getExtensionByColonyAndHash( - colonyId: $colonyAddress - hash: { eq: $extensionHash } - filter: { isDeleted: { eq: false } } - ) { - items { - id - } + 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 + query GetColonyUnclaimedFunds($colonyAddress: ID!, $tokenAddress: ID!, $upToBlock: Int = 1) { + listColonyFundsClaims( + filter: {colonyFundsClaimsId: {eq: $colonyAddress}, colonyFundsClaimTokenId: {eq: $tokenAddress}, createdAtBlock: {le: $upToBlock}, isClaimed: {ne: true}} ) { - listColonyFundsClaims( - filter: { - colonyFundsClaimsId: { eq: $colonyAddress } - colonyFundsClaimTokenId: { eq: $tokenAddress } - createdAtBlock: { le: $upToBlock } - isClaimed: { ne: true } - } - ) { - items { - id - token { - ...Token - } - amount + items { + id + token { + ...Token } + amount } } - ${Token} -`; +} + ${Token}`; 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! + query GetUserMultiSigSignature($multiSigId: ID!, $userAddress: ID!, $vote: MultiSigVote!, $role: Int!) { + getMultiSigUserSignatureByMultiSigId( + filter: {userAddress: {eq: $userAddress}, vote: {eq: $vote}, role: {eq: $role}} + multiSigId: $multiSigId ) { - getMultiSigUserSignatureByMultiSigId( - filter: { - userAddress: { eq: $userAddress } - vote: { eq: $vote } - role: { eq: $role } - } - multiSigId: $multiSigId - ) { - items { - ...MultiSigUserSignature - } + 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) { + 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 { id - latestBlock role_0 role_1 role_2 @@ -13666,82 +12395,64 @@ export const GetColonyRoleDocument = 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($chainId: String!) { - getIngestorStatsByChainId(chainId: $chainId) { - items { - id - value - } + query GetStats($chainId: String!) { + getIngestorStatsByChainId(chainId: $chainId) { + items { + id + value } } -`; +} + `; export const GetTokenFromEverywhereDocument = gql` - query GetTokenFromEverywhere($input: TokenFromEverywhereArguments!) { - getTokenFromEverywhere(input: $input) { - items { - id - } + query GetTokenFromEverywhere($input: TokenFromEverywhereArguments!) { + getTokenFromEverywhere(input: $input) { + items { + id } } -`; +} + `; export const GetNotificationUsersDocument = gql` - query GetNotificationUsers($filter: ModelUserFilterInput, $limit: Int) { - listUsers(filter: $filter, limit: $limit) { - items { - notificationsData { - ...NotificationsData - } + query GetNotificationUsers($filter: ModelUserFilterInput, $limit: Int) { + listUsers(filter: $filter, limit: $limit) { + items { + notificationsData { + ...NotificationsData } } } - ${NotificationsData} -`; +} + ${NotificationsData}`; \ No newline at end of file